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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
eddcc618894b73c0c40a987bcb131ce85fe18443 | 5,940 | hpp | C++ | generator/generator_tests_support/test_feature.hpp | ToshUxanoff/omim | a8acb5821c72bd78847d1c49968b14d15b1e06ee | [
"Apache-2.0"
] | null | null | null | generator/generator_tests_support/test_feature.hpp | ToshUxanoff/omim | a8acb5821c72bd78847d1c49968b14d15b1e06ee | [
"Apache-2.0"
] | null | null | null | generator/generator_tests_support/test_feature.hpp | ToshUxanoff/omim | a8acb5821c72bd78847d1c49968b14d15b1e06ee | [
"Apache-2.0"
] | null | null | null | #pragma once
#include "indexer/feature_decl.hpp"
#include "indexer/feature_meta.hpp"
#include "indexer/mwm_set.hpp"
#include "geometry/point2d.hpp"
#include <cstdint>
#include <map>
#include <string>
#include <utility>
#include <vector>
class FeatureBuilder1;
class FeatureType;
namespace osm
{
class Editor;
}
nam... | 28.285714 | 115 | 0.692256 | [
"geometry",
"vector"
] |
ede7848acf2b7119d1c0e434232c90513df05c86 | 2,374 | cpp | C++ | ddopt/src/problem/bp/bp_orderings.cpp | ctjandra/ddopt-cut | 0ca4358e7c27a8a56fb2640d450356dcda91b7f0 | [
"MIT"
] | 6 | 2018-02-15T03:54:35.000Z | 2022-02-24T03:06:05.000Z | ddopt/src/problem/bp/bp_orderings.cpp | ctjandra/ddopt-cut | 0ca4358e7c27a8a56fb2640d450356dcda91b7f0 | [
"MIT"
] | null | null | null | ddopt/src/problem/bp/bp_orderings.cpp | ctjandra/ddopt-cut | 0ca4358e7c27a8a56fb2640d450356dcda91b7f0 | [
"MIT"
] | 2 | 2021-01-07T02:29:55.000Z | 2021-12-05T13:21:13.000Z | /**
* Orderings for a binary problem
*/
#include "bp_orderings.hpp"
#include "../../core/orderings.hpp"
using namespace boost;
Ordering* get_ordering_by_id_bp(int id, BPInstance* inst, Options& options)
{
// Read ordering type
switch (id) {
case 1:
return new RandomOrdering(inst);
case 2:
return new Cuthi... | 26.377778 | 98 | 0.675232 | [
"vector"
] |
edeacaec9277fbdb76211e1eb4c30fdb287f5728 | 877 | cpp | C++ | Algorithms/04-Sorting/Big_Sorting/main.cpp | christosg88/hackerrank | 21bc44aac842325ad0a48265658f7674984aeff2 | [
"MIT"
] | null | null | null | Algorithms/04-Sorting/Big_Sorting/main.cpp | christosg88/hackerrank | 21bc44aac842325ad0a48265658f7674984aeff2 | [
"MIT"
] | null | null | null | Algorithms/04-Sorting/Big_Sorting/main.cpp | christosg88/hackerrank | 21bc44aac842325ad0a48265658f7674984aeff2 | [
"MIT"
] | null | null | null | #include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <algorithm>
int main() {
std::ofstream fout(getenv("OUTPUT_PATH"));
int length;
std::cin >> length;
std::vector<std::string> str_nums(length);
for (std::string &s : str_nums) {
std::cin >> s;
}
st... | 22.487179 | 100 | 0.489168 | [
"vector"
] |
edef8be19eba81a71309397464a3f58e81ea7079 | 20,053 | cpp | C++ | python/DirectedConformerGeneratorPython.cpp | Dom1L/molassembler | dafc656b1aa846b65b1fd1e06f3740ceedcf22db | [
"BSD-3-Clause"
] | null | null | null | python/DirectedConformerGeneratorPython.cpp | Dom1L/molassembler | dafc656b1aa846b65b1fd1e06f3740ceedcf22db | [
"BSD-3-Clause"
] | null | null | null | python/DirectedConformerGeneratorPython.cpp | Dom1L/molassembler | dafc656b1aa846b65b1fd1e06f3740ceedcf22db | [
"BSD-3-Clause"
] | null | null | null | /*!@file
* @copyright This code is licensed under the 3-clause BSD license.
* Copyright ETH Zurich, Laboratory of Physical Chemistry, Reiher Group.
* See LICENSE.txt for details.
*/
#include "TypeCasters.h"
#include "pybind11/eigen.h"
#include "pybind11/functional.h"
#include "Molassembler/Molecule.h"
#include... | 36.001795 | 209 | 0.712412 | [
"geometry",
"object",
"shape",
"vector"
] |
edf441db2e8f27dfc37090e940d87b11819f1fb8 | 2,643 | hh | C++ | Gurvich-Wirzt/trunk/nachos-unr21a/code/userprog/executable.hh | swirzt/SistemasOoperativos2 | 2db49410837eb18a4b5afcabd229519f61a2e8ab | [
"MIT"
] | null | null | null | Gurvich-Wirzt/trunk/nachos-unr21a/code/userprog/executable.hh | swirzt/SistemasOoperativos2 | 2db49410837eb18a4b5afcabd229519f61a2e8ab | [
"MIT"
] | null | null | null | Gurvich-Wirzt/trunk/nachos-unr21a/code/userprog/executable.hh | swirzt/SistemasOoperativos2 | 2db49410837eb18a4b5afcabd229519f61a2e8ab | [
"MIT"
] | null | null | null | /// In order to run a user program, you must:
///
/// 1. Link with the `-N -T 0` option.
/// 2. Run `coff2noff` to convert the object file to Nachos format (Nachos
/// object code format is essentially just a simpler version of the UNIX
/// executable object code format).
/// 3. Load the NOFF file into the Nachos... | 36.708333 | 77 | 0.704124 | [
"object"
] |
edf66572f2f48c8a57561bfe7e0ff7b704533bfc | 15,619 | cpp | C++ | ias-libnntool/tool.cpp | dark-sunlight/nntool | 7d26e1a2e45399f51760697bec6dd68d36607e5c | [
"Apache-2.0"
] | null | null | null | ias-libnntool/tool.cpp | dark-sunlight/nntool | 7d26e1a2e45399f51760697bec6dd68d36607e5c | [
"Apache-2.0"
] | 8 | 2020-04-13T12:17:35.000Z | 2020-06-20T19:21:30.000Z | ias-libnntool/tool.cpp | dark-sunlight/nntool | 7d26e1a2e45399f51760697bec6dd68d36607e5c | [
"Apache-2.0"
] | 1 | 2020-05-02T14:27:06.000Z | 2020-05-02T14:27:06.000Z | /*!
\file tool.cpp
\author zafaco GmbH <info@zafaco.de>
\date Last update: 2019-11-13
Copyright (C) 2016 - 2019 zafaco GmbH
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License version 3
as published by the Free S... | 22.281027 | 149 | 0.647929 | [
"vector"
] |
edfbd9cda60b845153cd4608b9492c06648d86d3 | 26,972 | cpp | C++ | Code/Engine/Math/PhysicsSystem.cpp | pronaypeddiraju/Engine | 0ca9720a00f51340c6eb6bba07d70972489663e8 | [
"Unlicense"
] | 1 | 2021-01-25T23:53:44.000Z | 2021-01-25T23:53:44.000Z | Code/Engine/Math/PhysicsSystem.cpp | pronaypeddiraju/Engine | 0ca9720a00f51340c6eb6bba07d70972489663e8 | [
"Unlicense"
] | null | null | null | Code/Engine/Math/PhysicsSystem.cpp | pronaypeddiraju/Engine | 0ca9720a00f51340c6eb6bba07d70972489663e8 | [
"Unlicense"
] | 1 | 2021-01-25T23:53:46.000Z | 2021-01-25T23:53:46.000Z | //------------------------------------------------------------------------------------------------------------------------------
#include "Engine/Math/PhysicsSystem.hpp"
#include "Engine/Core/EventSystems.hpp"
#include "Engine/Core/NamedProperties.hpp"
#include "Engine/Math/Collider2D.hpp"
#include "Engine/Math/Collisi... | 38.976879 | 182 | 0.65542 | [
"object",
"vector"
] |
edfef3b5fb169940b2e0cf386fbf6c4924eab9e1 | 126,474 | cc | C++ | chrome/browser/download/download_browsertest.cc | SlimKatLegacy/android_external_chromium_org | ee480ef5039d7c561fc66ccf52169ead186f1bea | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2015-03-04T02:36:53.000Z | 2016-06-25T11:22:17.000Z | chrome/browser/download/download_browsertest.cc | j4ckfrost/android_external_chromium_org | a1a3dad8b08d1fcf6b6b36c267158ed63217c780 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/download/download_browsertest.cc | j4ckfrost/android_external_chromium_org | a1a3dad8b08d1fcf6b6b36c267158ed63217c780 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 4 | 2015-02-09T08:49:30.000Z | 2017-08-26T02:03:34.000Z | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <sstream>
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "base/command_line.h"
#include "base/file_util.h"
#include "base/fi... | 38.8553 | 80 | 0.721176 | [
"object",
"vector"
] |
61007dc3e2243fbd040e609663f0c71817b5599a | 2,673 | cpp | C++ | HelloWorldTest/chapter_10_06/10_6.cpp | choi2649/C-Study | 790f0fd8b8c13f392183d2194348b50ad66aba7c | [
"MIT"
] | null | null | null | HelloWorldTest/chapter_10_06/10_6.cpp | choi2649/C-Study | 790f0fd8b8c13f392183d2194348b50ad66aba7c | [
"MIT"
] | null | null | null | HelloWorldTest/chapter_10_06/10_6.cpp | choi2649/C-Study | 790f0fd8b8c13f392183d2194348b50ad66aba7c | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#include <array>
#include <cassert>
#include <initializer_list>
using namespace std;
class IntArr
{
private:
int m_length = 0;
int *m_data = nullptr;
int beforeLen = 0;
int *beforeData = nullptr;
public:
void ixCheck(const int & ix) {
assert(ix <= m_length);
assert(ix ... | 16.10241 | 59 | 0.568275 | [
"vector"
] |
6105eb5901139f26abe50e5bada2c9f8ed2ad7b4 | 13,526 | cc | C++ | src/ui/bin/root_presenter/presentation.cc | oshunter/fuchsia | 2196fc8c176d01969466b97bba3f31ec55f7767b | [
"BSD-3-Clause"
] | 2 | 2020-08-16T15:32:35.000Z | 2021-11-07T20:09:46.000Z | src/ui/bin/root_presenter/presentation.cc | oshunter/fuchsia | 2196fc8c176d01969466b97bba3f31ec55f7767b | [
"BSD-3-Clause"
] | null | null | null | src/ui/bin/root_presenter/presentation.cc | oshunter/fuchsia | 2196fc8c176d01969466b97bba3f31ec55f7767b | [
"BSD-3-Clause"
] | 1 | 2021-08-15T04:29:11.000Z | 2021-08-15T04:29:11.000Z | // 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 <lib/syslog/cpp/macros.h>
#include <l... | 37.057534 | 100 | 0.713441 | [
"render",
"model"
] |
6107436f558f735dd75c84bbe06f57e5ce47115e | 5,927 | cpp | C++ | Actor/Characters/Enemy/E5/EnemyE5_Missile.cpp | Bornsoul/Revenger_JoyContinue | 599716970ca87a493bf3a959b36de0b330b318f1 | [
"MIT"
] | null | null | null | Actor/Characters/Enemy/E5/EnemyE5_Missile.cpp | Bornsoul/Revenger_JoyContinue | 599716970ca87a493bf3a959b36de0b330b318f1 | [
"MIT"
] | null | null | null | Actor/Characters/Enemy/E5/EnemyE5_Missile.cpp | Bornsoul/Revenger_JoyContinue | 599716970ca87a493bf3a959b36de0b330b318f1 | [
"MIT"
] | null | null | null | // Fill out your copyright notice in the Description page of Project Settings.
#include "EnemyE5_Missile.h"
#include "EnemyE5.h"
#include "Actor/SaveData/Cpt_GameSave.h"
#include "Components/StaticMeshComponent.h"
#include "Components/SphereComponent.h"
#include "Libraries/Components/ParticleMng/Cpt_ParticleMng.h"
#in... | 26.459821 | 214 | 0.734942 | [
"mesh"
] |
6107fafd3ed142849a6b2994bbfc77e8941c9f83 | 3,724 | cpp | C++ | src/NotesLoader.cpp | shockdude/stepmania_gh | f36a23f3a53187849cc97367d33c783a1083992a | [
"MIT"
] | 3 | 2016-04-09T04:13:17.000Z | 2021-06-17T06:06:02.000Z | src/NotesLoader.cpp | shockdude/stepmania_gh | f36a23f3a53187849cc97367d33c783a1083992a | [
"MIT"
] | null | null | null | src/NotesLoader.cpp | shockdude/stepmania_gh | f36a23f3a53187849cc97367d33c783a1083992a | [
"MIT"
] | 3 | 2017-07-25T17:04:51.000Z | 2021-08-30T05:12:15.000Z | #include "global.h"
#include "NotesLoader.h"
#include <array>
#include "NotesLoaderSM.h"
#include "NotesLoaderSMA.h"
#include "NotesLoaderSSC.h"
#include "NotesLoaderDWI.h"
#include "NotesLoaderBMS.h"
#include "NotesLoaderKSF.h"
#include "NotesLoaderChart.h"
#include "NotesLoaderMID.h"
#include "RageUtil.h"
using st... | 30.52459 | 138 | 0.719656 | [
"vector"
] |
6107ff9c71629278522e5171346eed7290f9318c | 4,375 | cpp | C++ | Modules/Spine/Sources/UI/Spine/Private/UISpineComponent.cpp | BlitzModder/dava.engine | 0c7a16e627fc0d12309250d6e5e207333b35361e | [
"BSD-3-Clause"
] | 4 | 2019-11-15T11:30:00.000Z | 2021-12-27T21:16:31.000Z | Modules/Spine/Sources/UI/Spine/Private/UISpineComponent.cpp | TTopox/dava.engine | 0c7a16e627fc0d12309250d6e5e207333b35361e | [
"BSD-3-Clause"
] | null | null | null | Modules/Spine/Sources/UI/Spine/Private/UISpineComponent.cpp | TTopox/dava.engine | 0c7a16e627fc0d12309250d6e5e207333b35361e | [
"BSD-3-Clause"
] | 4 | 2017-04-07T04:32:41.000Z | 2021-12-27T21:55:49.000Z | #include "UI/Spine/UISpineComponent.h"
#include "UI/Spine/UISpineSingleComponent.h"
#include "UI/Spine/UISpineSystem.h"
#include <Engine/Engine.h>
#include <Entity/ComponentManager.h>
#include <Reflection/ReflectionRegistrator.h>
#include <UI/UIControl.h>
#include <UI/UIControlSystem.h>
ENUM_DECLARE(DAVA::UISpineCom... | 27.173913 | 150 | 0.684114 | [
"vector"
] |
6109616ed19c14f6926df5f3aaa803128efd595e | 8,335 | cpp | C++ | tools/freebayes/vcflib/src/vcfannotategenotypes.cpp | benranco/test | 7cf9740108844da30dcc506e733015fd5dd76a05 | [
"MIT"
] | null | null | null | tools/freebayes/vcflib/src/vcfannotategenotypes.cpp | benranco/test | 7cf9740108844da30dcc506e733015fd5dd76a05 | [
"MIT"
] | null | null | null | tools/freebayes/vcflib/src/vcfannotategenotypes.cpp | benranco/test | 7cf9740108844da30dcc506e733015fd5dd76a05 | [
"MIT"
] | 1 | 2020-10-01T10:32:38.000Z | 2020-10-01T10:32:38.000Z | #include "Variant.h"
#include "split.h"
#include <string>
#include <list>
#include <iostream>
using namespace std;
using namespace vcf;
void annotateWithBlankGenotypes(Variant& var, string& annotationTag) {
var.addFormatField(annotationTag);
map<string, map<string, vector<string> > >::iterator s = var.s... | 38.587963 | 139 | 0.572166 | [
"vector"
] |
610ac8df1bb843bfcda3e27c617260eddb4d3ce1 | 4,244 | cpp | C++ | ipz_app.cpp | wistron-corporation/openpower-vpd-parser | 73b589b85ec6194853f1474b76e62623468debdb | [
"Apache-2.0"
] | null | null | null | ipz_app.cpp | wistron-corporation/openpower-vpd-parser | 73b589b85ec6194853f1474b76e62623468debdb | [
"Apache-2.0"
] | null | null | null | ipz_app.cpp | wistron-corporation/openpower-vpd-parser | 73b589b85ec6194853f1474b76e62623468debdb | [
"Apache-2.0"
] | null | null | null | #include "config.h"
#include "defines.hpp"
#include "parser.hpp"
#include "utils.hpp"
#include <CLI/CLI.hpp>
#include <exception>
#include <fstream>
#include <iostream>
#include <iterator>
#include <nlohmann/json.hpp>
using namespace std;
using namespace openpower::vpd;
static void populateInterfaces(const nlohmann... | 29.678322 | 80 | 0.554194 | [
"object",
"vector"
] |
610c698dc1381d34d8d8760f890181541d19e0d3 | 2,476 | hpp | C++ | arbor/include/arbor/simulation.hpp | phoenixdong/arbor | 84284df75d7509b4d0d3ae07307cc9c674894d1c | [
"BSD-3-Clause"
] | null | null | null | arbor/include/arbor/simulation.hpp | phoenixdong/arbor | 84284df75d7509b4d0d3ae07307cc9c674894d1c | [
"BSD-3-Clause"
] | null | null | null | arbor/include/arbor/simulation.hpp | phoenixdong/arbor | 84284df75d7509b4d0d3ae07307cc9c674894d1c | [
"BSD-3-Clause"
] | null | null | null | #pragma once
#include <array>
#include <memory>
#include <unordered_map>
#include <vector>
#include <arbor/export.hpp>
#include <arbor/common_types.hpp>
#include <arbor/context.hpp>
#include <arbor/domain_decomposition.hpp>
#include <arbor/recipe.hpp>
#include <arbor/sampling.hpp>
#include <arbor/schedule.hpp>
#inclu... | 32.155844 | 91 | 0.754443 | [
"vector",
"model"
] |
610ed2ec86fbdedcc12f4936ac98f149b351b99c | 8,272 | cc | C++ | hstree/hstree-disk/src/index.cc | TsinghuaDatabaseGroup/Similarity-Search-and-Join | 0fba32f030ca9e466d1aed9d3c7dcf59ea3e88dc | [
"BSD-2-Clause"
] | 14 | 2018-01-29T06:54:06.000Z | 2021-07-09T18:18:51.000Z | hstree/hstree-disk/src/index.cc | TsinghuaDatabaseGroup/similarity | 0fba32f030ca9e466d1aed9d3c7dcf59ea3e88dc | [
"BSD-2-Clause"
] | null | null | null | hstree/hstree-disk/src/index.cc | TsinghuaDatabaseGroup/similarity | 0fba32f030ca9e466d1aed9d3c7dcf59ea3e88dc | [
"BSD-2-Clause"
] | 11 | 2018-04-11T04:56:40.000Z | 2021-12-17T04:00:22.000Z | /*
* index.cc
*
* Created on: 2014-12-11
* Author: wangjin
*/
#include "index.h"
int maxLevel;
int maxPN;
bool *visited;
bool **curmatchpos;
set<match_entry> **matchinfo;
int **matrix;
int ***partLen;
int ***partPos;
vector<ssIndex> **substrings;
ContentMap *cfilter;
Groupset grps;
int calLevel(int length)... | 29.437722 | 167 | 0.465184 | [
"vector"
] |
6110e5eb5dac0b2da68660104e49ca27669b5135 | 13,729 | cpp | C++ | engine/executor/src/operators/matmul.cpp | alexsu52/neural-compressor | 7607ee46a015ee83a5e79dace8535a439d49cc8c | [
"Apache-2.0"
] | null | null | null | engine/executor/src/operators/matmul.cpp | alexsu52/neural-compressor | 7607ee46a015ee83a5e79dace8535a439d49cc8c | [
"Apache-2.0"
] | null | null | null | engine/executor/src/operators/matmul.cpp | alexsu52/neural-compressor | 7607ee46a015ee83a5e79dace8535a439d49cc8c | [
"Apache-2.0"
] | null | null | null | // Copyright (c) 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.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or... | 36.224274 | 97 | 0.642946 | [
"shape",
"vector"
] |
611a5feb77d50db77c8edcefe0b7b134ba18c002 | 31,003 | cpp | C++ | test/message/unpack.cpp | rfrandse/phosphor-host-ipmid-1 | 152e98cd339f3df58d5832af5779eff541f0adc5 | [
"Apache-2.0"
] | null | null | null | test/message/unpack.cpp | rfrandse/phosphor-host-ipmid-1 | 152e98cd339f3df58d5832af5779eff541f0adc5 | [
"Apache-2.0"
] | null | null | null | test/message/unpack.cpp | rfrandse/phosphor-host-ipmid-1 | 152e98cd339f3df58d5832af5779eff541f0adc5 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright © 2018 Intel Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | 36.134033 | 80 | 0.640132 | [
"vector"
] |
611b2de8cc9b9b18d71d4196b2800062570df680 | 2,156 | cc | C++ | ui/compositor/test/layer_animator_test_controller.cc | Wzzzx/chromium-crosswalk | 768dde8efa71169f1c1113ca6ef322f1e8c9e7de | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2019-01-28T08:09:58.000Z | 2021-11-15T15:32:10.000Z | ui/compositor/test/layer_animator_test_controller.cc | maidiHaitai/haitaibrowser | a232a56bcfb177913a14210e7733e0ea83a6b18d | [
"BSD-3-Clause"
] | null | null | null | ui/compositor/test/layer_animator_test_controller.cc | maidiHaitai/haitaibrowser | a232a56bcfb177913a14210e7733e0ea83a6b18d | [
"BSD-3-Clause"
] | 6 | 2020-09-23T08:56:12.000Z | 2021-11-18T03:40:49.000Z | // Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <stddef.h>
#include "cc/animation/animation.h"
#include "cc/animation/animation_events.h"
#include "ui/compositor/layer_animation_sequence.h... | 33.6875 | 79 | 0.733766 | [
"geometry",
"vector",
"transform"
] |
611ec98a3ebb4f0f495992b49c1ca9f1b8060c91 | 110 | hpp | C++ | src/applications/utilities/mesh/manipulation/checkMesh/printMeshStats.hpp | MrAwesomeRocks/caelus-cml | 55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7 | [
"mpich2"
] | null | null | null | src/applications/utilities/mesh/manipulation/checkMesh/printMeshStats.hpp | MrAwesomeRocks/caelus-cml | 55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7 | [
"mpich2"
] | null | null | null | src/applications/utilities/mesh/manipulation/checkMesh/printMeshStats.hpp | MrAwesomeRocks/caelus-cml | 55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7 | [
"mpich2"
] | null | null | null | namespace CML
{
class polyMesh;
void printMeshStats(const polyMesh& mesh, const bool allTopology);
}
| 15.714286 | 70 | 0.727273 | [
"mesh"
] |
6122b2c892ba7aaf92ad7bae5909075c7a879c90 | 1,375 | cpp | C++ | backend/src/utility/Functional.cpp | tomix86/hpcpm | 9fa8341249deb8c5689d0f3743f9b76d46b2dd69 | [
"MIT"
] | 2 | 2017-09-05T15:49:36.000Z | 2019-08-05T05:04:01.000Z | backend/src/utility/Functional.cpp | tomix86/hpcpm | 9fa8341249deb8c5689d0f3743f9b76d46b2dd69 | [
"MIT"
] | null | null | null | backend/src/utility/Functional.cpp | tomix86/hpcpm | 9fa8341249deb8c5689d0f3743f9b76d46b2dd69 | [
"MIT"
] | null | null | null | #include <algorithm>
#include <boost/tokenizer.hpp>
#include "Exceptions.hpp"
#include "Functional.hpp"
namespace utility {
bool toBool( std::string str ) {
std::transform( str.begin(), str.end(), str.begin(), ::tolower );
if ( str != "true" && str != "false" ) {
throw utility::InvalidArgument( "toBoo... | 25.943396 | 90 | 0.638545 | [
"vector",
"transform"
] |
6129b1d5a004a18d3e858c24bf7605dbf7e7650b | 1,679 | hpp | C++ | include/dish2/config/setup.hpp | mmore500/dishtiny | 9fcb52c4e56c74a4e17f7d577143ed40c158c92e | [
"MIT"
] | 29 | 2019-02-04T02:39:52.000Z | 2022-01-28T10:06:26.000Z | include/dish2/config/setup.hpp | mmore500/dishtiny | 9fcb52c4e56c74a4e17f7d577143ed40c158c92e | [
"MIT"
] | 95 | 2020-02-22T19:48:14.000Z | 2021-09-14T19:17:53.000Z | include/dish2/config/setup.hpp | mmore500/dishtiny | 9fcb52c4e56c74a4e17f7d577143ed40c158c92e | [
"MIT"
] | 6 | 2019-11-19T10:13:09.000Z | 2021-03-25T17:35:32.000Z | #pragma once
#ifndef DISH2_CONFIG_SETUP_HPP_INCLUDE
#define DISH2_CONFIG_SETUP_HPP_INCLUDE
#include <limits>
#include <string>
#include "../../../third-party/conduit/include/uitsl/mpi/comm_utils.hpp"
#include "../../../third-party/conduit/include/uitsl/mpi/mpi_flex_guard.hpp"
#include "../../../third-party/Empirical/... | 26.650794 | 79 | 0.734366 | [
"vector"
] |
612a8725a6bccaf11eb6a8ff42d801eba25b29d9 | 20,719 | cc | C++ | tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_composite_functions.cc | kim-com/tensorflow | 4301e3f34b8da528c58bdafe05cd66c8a55fce9e | [
"Apache-2.0"
] | 1 | 2022-03-20T04:34:49.000Z | 2022-03-20T04:34:49.000Z | tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_composite_functions.cc | kim-com/tensorflow | 4301e3f34b8da528c58bdafe05cd66c8a55fce9e | [
"Apache-2.0"
] | null | null | null | tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_composite_functions.cc | kim-com/tensorflow | 4301e3f34b8da528c58bdafe05cd66c8a55fce9e | [
"Apache-2.0"
] | null | null | null | /* Copyright 2022 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | 39.921002 | 99 | 0.678942 | [
"vector"
] |
612b729f26cca56875e70208b1be3afbd7e9989b | 6,093 | hh | C++ | extra/europa/extensions/Trigonometry.hh | miatauro/trex2-agent | d896f8335f3194237a8bba49949e86f5488feddb | [
"BSD-3-Clause"
] | null | null | null | extra/europa/extensions/Trigonometry.hh | miatauro/trex2-agent | d896f8335f3194237a8bba49949e86f5488feddb | [
"BSD-3-Clause"
] | null | null | null | extra/europa/extensions/Trigonometry.hh | miatauro/trex2-agent | d896f8335f3194237a8bba49949e86f5488feddb | [
"BSD-3-Clause"
] | null | null | null | /*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2012, MBARI.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions... | 38.320755 | 86 | 0.668144 | [
"vector"
] |
9ecf204ae458924d426ff3ea4cc099ea187fb142 | 6,204 | cpp | C++ | hPath.cpp | aaron-loa/sfml_pathfinding | b35d0cbf1b47418874f84a4b05788301adf0ac6e | [
"MIT"
] | null | null | null | hPath.cpp | aaron-loa/sfml_pathfinding | b35d0cbf1b47418874f84a4b05788301adf0ac6e | [
"MIT"
] | null | null | null | hPath.cpp | aaron-loa/sfml_pathfinding | b35d0cbf1b47418874f84a4b05788301adf0ac6e | [
"MIT"
] | null | null | null | #include "hNode.hpp"
#include "hPath.hpp"
#include <set>
#include <stack>
#include <vector>
#include "hGlobals.hpp"
#include <iostream>
#include <queue>
#include "hRender.hpp"
bool Compare_for_a_star::operator()(const Node *rhs, const Node *lhs)
{
return rhs->f <= lhs->f;
}
bool Compare_for_djikstra:... | 29.264151 | 78 | 0.495164 | [
"vector"
] |
9ed2a009416a45045bf2416413a365833d17b39d | 1,975 | hpp | C++ | geoloc/string_table.hpp | loadzero/geoloc | 020cc63660dbf4d32a07dabd5e8da1fcab29659a | [
"BSD-3-Clause"
] | 69 | 2015-03-17T12:35:46.000Z | 2019-12-07T17:19:22.000Z | geoloc/string_table.hpp | loadzero/geoloc | 020cc63660dbf4d32a07dabd5e8da1fcab29659a | [
"BSD-3-Clause"
] | 1 | 2015-03-18T08:59:11.000Z | 2015-08-12T20:33:25.000Z | geoloc/string_table.hpp | loadzero/geoloc | 020cc63660dbf4d32a07dabd5e8da1fcab29659a | [
"BSD-3-Clause"
] | 16 | 2015-03-18T04:19:16.000Z | 2017-08-28T12:24:07.000Z | /*
* Copyright 2015 Jason McSweeney
* Licensed under BSD 3 Clause - see LICENSE
*
* author: Jason McSweeney
* created: 2015-03-11
*
* This class is used for interning strings. It uses a hash map to track the
* string to id mapping. The layout of indices and the char vector makes it
* easier to serialize late... | 21.467391 | 77 | 0.625823 | [
"vector"
] |
9ed2e16bc4401d09d9b6e5ed10d796a71b2be543 | 3,175 | cpp | C++ | UVA/1599.cpp | XenonWZH/involution | 189f6ce2bbfe3a7c5d536bbd769f353e4c06e7c6 | [
"MIT"
] | null | null | null | UVA/1599.cpp | XenonWZH/involution | 189f6ce2bbfe3a7c5d536bbd769f353e4c06e7c6 | [
"MIT"
] | null | null | null | UVA/1599.cpp | XenonWZH/involution | 189f6ce2bbfe3a7c5d536bbd769f353e4c06e7c6 | [
"MIT"
] | null | null | null | #include <algorithm>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <queue>
#include <utility>
#include <vector>
const int MAXN = 100000, INF = 200000;
int n, m;
std::vector< std::pair<int, int> > e[MAXN + 1];
int vis[MAXN + 1], ans;
int col[INF + 1];
void bfsK() {
static std::queue< std::pair... | 28.863636 | 87 | 0.384882 | [
"vector"
] |
9ed7148764b6479af5a17893cf82c64c5a2cb946 | 7,185 | cpp | C++ | Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/MultiLinearManipulator.cpp | BreakerOfThings/o3de | f4c59f868c726470ec910623facd836047d059c3 | [
"Apache-2.0",
"MIT"
] | 1 | 2022-03-28T08:06:58.000Z | 2022-03-28T08:06:58.000Z | Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/MultiLinearManipulator.cpp | BreakerOfThings/o3de | f4c59f868c726470ec910623facd836047d059c3 | [
"Apache-2.0",
"MIT"
] | null | null | null | Code/Framework/AzToolsFramework/AzToolsFramework/Manipulators/MultiLinearManipulator.cpp | BreakerOfThings/o3de | f4c59f868c726470ec910623facd836047d059c3 | [
"Apache-2.0",
"MIT"
] | null | null | null | /*
* Copyright (c) Contributors to the Open 3D Engine Project.
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#include "MultiLinearManipulator.h"
#include <AzCore/Memory/SystemAllocator.h>
#include <AzFramew... | 38.42246 | 130 | 0.691858 | [
"vector",
"transform",
"3d"
] |
9ed9283d15a63e14724f437dc6f84c50e8b06720 | 19,648 | cpp | C++ | dev/Code/Sandbox/Editor/Prefabs/PrefabManager.cpp | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | 8 | 2019-10-07T16:33:47.000Z | 2020-12-07T03:59:58.000Z | dev/Code/Sandbox/Editor/Prefabs/PrefabManager.cpp | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | null | null | null | dev/Code/Sandbox/Editor/Prefabs/PrefabManager.cpp | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | 5 | 2020-08-27T20:44:18.000Z | 2021-08-21T22:54:11.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... | 29.769697 | 267 | 0.549623 | [
"object",
"shape",
"vector"
] |
9edb7de5c67473d920554039a5494fbc4d8e1653 | 3,679 | cpp | C++ | Official Windows Platform Sample/XAML Navigation sample/[C++]-XAML Navigation sample/C++/Scenario1.xaml.cpp | zzgchina888/msdn-code-gallery-microsoft | 21cb9b6bc0da3b234c5854ecac449cb3bd261f29 | [
"MIT"
] | 2 | 2022-01-21T01:40:58.000Z | 2022-01-21T01:41:10.000Z | Official Windows Platform Sample/XAML Navigation sample/[C++]-XAML Navigation sample/C++/Scenario1.xaml.cpp | zzgchina888/msdn-code-gallery-microsoft | 21cb9b6bc0da3b234c5854ecac449cb3bd261f29 | [
"MIT"
] | 1 | 2022-03-15T04:21:41.000Z | 2022-03-15T04:21:41.000Z | Official Windows Platform Sample/XAML Navigation sample/[C++]-XAML Navigation sample/C++/Scenario1.xaml.cpp | zzgchina888/msdn-code-gallery-microsoft | 21cb9b6bc0da3b234c5854ecac449cb3bd261f29 | [
"MIT"
] | null | null | null | //*********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
//
//*********************************************************
//
// Scenario1.xaml.cpp
// Implementation of the Scenario1 class
//
#include "pch.h"
#include "Scenario1.xaml.h"
#include "MainPage.xaml.h"
#i... | 29.198413 | 110 | 0.702908 | [
"object"
] |
9edc877f439bd35177b130308ec7ed9d0d0d0973 | 4,565 | cpp | C++ | src/mdMap.cpp | AngryFrogDev/Dungeon-Brawler | 85a6d19ceed20c02d55956f4c456eed7357aaf76 | [
"MIT"
] | 5 | 2018-03-04T15:16:28.000Z | 2021-04-26T13:57:43.000Z | src/mdMap.cpp | AngryFrogDev/ProjectII | 85a6d19ceed20c02d55956f4c456eed7357aaf76 | [
"MIT"
] | 55 | 2018-03-15T12:37:20.000Z | 2018-06-06T10:55:17.000Z | src/mdMap.cpp | AngryFrogDev/Dungeon-Brawler | 85a6d19ceed20c02d55956f4c456eed7357aaf76 | [
"MIT"
] | null | null | null | #include "DebLog.h"
#include "Application.h"
#include "mdRender.h"
#include "mdTextures.h"
#include "mdMap.h"
#include <math.h>
#include "Brofiler/Brofiler.h"
#include "mdAudio.h"
#include "mdEntities.h"
mdMap::mdMap() : Module(), map_loaded(false) {
name = "map";
}
// Destructor
mdMap::~mdMap()
{}
// Called before... | 26.387283 | 100 | 0.660898 | [
"render"
] |
9edef55a7e9adec4981ff2475c4fad4f7e472af4 | 14,733 | cpp | C++ | source/tests.cpp | MarcusAlmert/programmiersprachen-raytracer | 73f186685c2e91a6de7ba86602cde20b69adf7cd | [
"MIT"
] | 1 | 2020-08-13T08:45:43.000Z | 2020-08-13T08:45:43.000Z | source/tests.cpp | MarcusAlmert/programmiersprachen-raytracer | 73f186685c2e91a6de7ba86602cde20b69adf7cd | [
"MIT"
] | null | null | null | source/tests.cpp | MarcusAlmert/programmiersprachen-raytracer | 73f186685c2e91a6de7ba86602cde20b69adf7cd | [
"MIT"
] | null | null | null | #define CATCH_CONFIG_RUNNER
#include <catch.hpp>
#include <memory>
#include <shapes/triangle.hpp>
#include <iostream>
#include <glm/gtx/intersect.hpp>
#include <glm/glm.hpp>
#include <renderer.hpp>
#include <shapes/plane.hpp>
#include "shapes/shape.hpp"
#include "shapes/sphere.hpp"
#include "shapes/box.hpp"
#include "... | 35.246411 | 130 | 0.590986 | [
"render",
"shape"
] |
9ee19389ab774d5b8ed05bbc751233e6c0c168b4 | 37,238 | cc | C++ | Validation/RecoEgamma/plugins/ElectronMcMiniAODSignalValidator.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 4 | 2020-06-27T23:27:21.000Z | 2020-11-19T09:17:01.000Z | Validation/RecoEgamma/plugins/ElectronMcMiniAODSignalValidator.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 524 | 2018-01-29T15:50:45.000Z | 2021-08-04T14:03:21.000Z | Validation/RecoEgamma/plugins/ElectronMcMiniAODSignalValidator.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 7 | 2018-02-19T11:17:13.000Z | 2020-10-12T21:57:00.000Z | // system include files
//#include <memory>
// user include files
#include "Validation/RecoEgamma/plugins/ElectronMcMiniAODSignalValidator.h"
#include "CLHEP/Units/GlobalPhysicalConstants.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
// user include files
using namespace reco;
using namespace pat;
ty... | 52.745042 | 193 | 0.452683 | [
"vector"
] |
9ee25e1b36fec8e07f29fc0b1d162cbe89758fc8 | 6,471 | cpp | C++ | SudokuSolver/SudokuAlgorithm/Segment.cpp | bvijay74/Puzzles | 05511707a6fa0f5b162c005f7c36c32d5c2d3044 | [
"Apache-2.0"
] | null | null | null | SudokuSolver/SudokuAlgorithm/Segment.cpp | bvijay74/Puzzles | 05511707a6fa0f5b162c005f7c36c32d5c2d3044 | [
"Apache-2.0"
] | null | null | null | SudokuSolver/SudokuAlgorithm/Segment.cpp | bvijay74/Puzzles | 05511707a6fa0f5b162c005f7c36c32d5c2d3044 | [
"Apache-2.0"
] | null | null | null | // Copyright 2018 Vijayakumar Balakrishnan
//
// 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 agr... | 27.189076 | 101 | 0.597898 | [
"vector"
] |
9ee43c5c60b4703f64e7a2575ec15ba59b618052 | 5,887 | cc | C++ | lite/tests/kernels/lrn_compute_test.cc | hcj5206/Paddle-Lite | eed7a506cef5d2ba6a076a34e4f51d3b5f60cddd | [
"Apache-2.0"
] | null | null | null | lite/tests/kernels/lrn_compute_test.cc | hcj5206/Paddle-Lite | eed7a506cef5d2ba6a076a34e4f51d3b5f60cddd | [
"Apache-2.0"
] | null | null | null | lite/tests/kernels/lrn_compute_test.cc | hcj5206/Paddle-Lite | eed7a506cef5d2ba6a076a34e4f51d3b5f60cddd | [
"Apache-2.0"
] | null | null | null | // Copyright (c) 2019 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... | 28.57767 | 75 | 0.553253 | [
"vector"
] |
9ee4f6de5538a990588aa64253413abcea8ec9e6 | 7,939 | cpp | C++ | plugins/mesh/src/RenderMDIMesh.cpp | UniStuttgart-VISUS/implicit-topology | a7e0d5dd7253264e9feb2ae3d4dd44db5321d3e5 | [
"BSD-3-Clause"
] | 2 | 2020-10-16T10:15:37.000Z | 2021-01-21T13:06:00.000Z | plugins/mesh/src/RenderMDIMesh.cpp | UniStuttgart-VISUS/implicit-topology | a7e0d5dd7253264e9feb2ae3d4dd44db5321d3e5 | [
"BSD-3-Clause"
] | null | null | null | plugins/mesh/src/RenderMDIMesh.cpp | UniStuttgart-VISUS/implicit-topology | a7e0d5dd7253264e9feb2ae3d4dd44db5321d3e5 | [
"BSD-3-Clause"
] | 1 | 2021-01-28T01:19:54.000Z | 2021-01-28T01:19:54.000Z | /*
* RenderMDIMesh.cpp
*
* Copyright (C) 2017 by Universitaet Stuttgart (VISUS).
* All rights reserved.
*/
#include <array>
#include <random>
#include "RenderMDIMesh.h"
#include "mmcore/CoreInstance.h"
#include "vislib/graphics/gl/ShaderSource.h"
#include "mesh/MeshCalls.h"
using namespace megamol;
using namespace... | 31.133333 | 148 | 0.737372 | [
"mesh",
"render"
] |
9ee88f86cb119e9d2745c2f8ef02e05d42ddbc8a | 4,397 | cpp | C++ | benchmark_apps/elmerfem/post/src/fttext.cpp | readex-eu/readex-apps | 38493b11806c306f4e8f1b7b2d97764b45fac8e2 | [
"BSD-3-Clause"
] | 2 | 2020-11-25T13:10:11.000Z | 2021-03-15T20:26:35.000Z | elmerfem/post/src/fttext.cpp | jcmcmurry/pipelining | 8fface1a501b5050f58e7b902aacdcdde68e9648 | [
"MIT"
] | null | null | null | elmerfem/post/src/fttext.cpp | jcmcmurry/pipelining | 8fface1a501b5050f58e7b902aacdcdde68e9648 | [
"MIT"
] | 2 | 2021-08-02T23:23:40.000Z | 2022-02-26T12:39:30.000Z | //-----------------------------------------------------------------------------------
// Filename: fttext.cpp
// Description: Provides FTGL text rendering functionality for ElmerPost
// Usage: fttext string [x y]
// ftfont font [size r g b]
// Compilation: export CFLAGS="-DHAVE_FTGL -I/usr/include... | 22.548718 | 90 | 0.603139 | [
"render"
] |
9eeb898bbee180d4899a7509edc945ed3696bd75 | 1,107 | cpp | C++ | generated-sources/cpp-pistache-server/mojang-api/model/SecurityAnswerId.cpp | AsyncMC/Mojang-API-Libs | b01bbd2bce44bfa2b9ed705a128cf4ecda077916 | [
"Apache-2.0"
] | null | null | null | generated-sources/cpp-pistache-server/mojang-api/model/SecurityAnswerId.cpp | AsyncMC/Mojang-API-Libs | b01bbd2bce44bfa2b9ed705a128cf4ecda077916 | [
"Apache-2.0"
] | null | null | null | generated-sources/cpp-pistache-server/mojang-api/model/SecurityAnswerId.cpp | AsyncMC/Mojang-API-Libs | b01bbd2bce44bfa2b9ed705a128cf4ecda077916 | [
"Apache-2.0"
] | null | null | null | /**
* Mojang API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* OpenAPI spec version: 2020-06-05
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class man... | 14.192308 | 108 | 0.688347 | [
"object",
"model"
] |
9ef3108806ecb66c48e79fde389b22e25250333f | 29,524 | cc | C++ | itensor/tensor/algs.cc | HappyFacade/ITensor | fd7c677a4d0cc255129f9a44e93589ce6200fe61 | [
"Apache-2.0"
] | 1 | 2021-12-14T10:09:04.000Z | 2021-12-14T10:09:04.000Z | itensor/tensor/algs.cc | HappyFacade/ITensor | fd7c677a4d0cc255129f9a44e93589ce6200fe61 | [
"Apache-2.0"
] | null | null | null | itensor/tensor/algs.cc | HappyFacade/ITensor | fd7c677a4d0cc255129f9a44e93589ce6200fe61 | [
"Apache-2.0"
] | null | null | null | //
// Copyright 2018 The Simons Foundation, Inc. - All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless re... | 27.905482 | 115 | 0.478052 | [
"vector"
] |
9ef33e1f24d333b39191993d023f4af6573cb4ad | 6,407 | hpp | C++ | src/uml/src_gen/uml/DestroyObjectAction.hpp | MichaelBranz/MDE4CPP | 5b918850a37e9cee54f6c3b92f381b0458451724 | [
"MIT"
] | null | null | null | src/uml/src_gen/uml/DestroyObjectAction.hpp | MichaelBranz/MDE4CPP | 5b918850a37e9cee54f6c3b92f381b0458451724 | [
"MIT"
] | 1 | 2019-03-01T00:54:13.000Z | 2019-03-04T02:15:50.000Z | src/uml/src_gen/uml/DestroyObjectAction.hpp | vallesch/MDE4CPP | 7f8a01dd6642820913b2214d255bef2ea76be309 | [
"MIT"
] | null | null | null | //********************************************************************
//*
//* Warning: This file was generated by ecore4CPP Generator
//*
//********************************************************************
#ifndef UML_DESTROYOBJECTACTION_HPP
#define UML_DESTROYOBJECTACTION_HPP
#include <map>
#include <list>
#... | 22.719858 | 115 | 0.616357 | [
"object"
] |
9ef4135dc19bb6ab5a9900f47d1947757146be5d | 1,683 | cpp | C++ | src/Cubestein3D/Entity.cpp | DioMuller/cubestein3D | 5a358e1662287f72fdb8e3a10a664413f24a462e | [
"MIT"
] | null | null | null | src/Cubestein3D/Entity.cpp | DioMuller/cubestein3D | 5a358e1662287f72fdb8e3a10a664413f24a462e | [
"MIT"
] | null | null | null | src/Cubestein3D/Entity.cpp | DioMuller/cubestein3D | 5a358e1662287f72fdb8e3a10a664413f24a462e | [
"MIT"
] | null | null | null | #include "Entity.h"
#include "GameManager.h"
#include "Log.h"
////////////////////////////////////////
// Constructor / Destructor
////////////////////////////////////////
Entity::Entity()
{
behaviors = std::list<Behavior*>();
position = Vector();
rotation = Vector();
size = Vector(1, 1, 1);
}
Entity::~Entity(... | 16.5 | 83 | 0.548425 | [
"render",
"vector"
] |
9ef6750a82480fd87eef965e6e6a314f133a69db | 40,174 | cc | C++ | modules/tools/visualizer/main_window.cc | zhulianhai/apollo | ab47e53dff2a9fe836ac69fdf783a654a0220802 | [
"Apache-2.0"
] | 7 | 2017-07-07T07:56:13.000Z | 2019-03-06T06:27:00.000Z | modules/tools/visualizer/main_window.cc | zhulianhai/apollo | ab47e53dff2a9fe836ac69fdf783a654a0220802 | [
"Apache-2.0"
] | null | null | null | modules/tools/visualizer/main_window.cc | zhulianhai/apollo | ab47e53dff2a9fe836ac69fdf783a654a0220802 | [
"Apache-2.0"
] | 2 | 2017-07-07T07:56:15.000Z | 2018-08-10T17:13:34.000Z | /******************************************************************************
* Copyright 2018 The Apollo 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
... | 32.47696 | 80 | 0.660651 | [
"object"
] |
9ef93c4a6f7b48bb83a45b3ba1e672fb2e150b52 | 12,079 | cpp | C++ | MT/MT_Tracking/cv/MT_CalibrationDataFile.cpp | leonard-lab/MADTraC | f1830c377a075aa5ddff9342c4851d0715cdd6a4 | [
"MIT"
] | 5 | 2015-07-26T22:54:34.000Z | 2018-08-21T16:15:33.000Z | MT/MT_Tracking/cv/MT_CalibrationDataFile.cpp | leonard-lab/MADTraC | f1830c377a075aa5ddff9342c4851d0715cdd6a4 | [
"MIT"
] | null | null | null | MT/MT_Tracking/cv/MT_CalibrationDataFile.cpp | leonard-lab/MADTraC | f1830c377a075aa5ddff9342c4851d0715cdd6a4 | [
"MIT"
] | 1 | 2021-09-22T08:12:40.000Z | 2021-09-22T08:12:40.000Z | #include "MT_CalibrationDataFile.h"
#include <sstream>
#include <iomanip>
#include <time.h>
#include "MT/MT_Core/support/filesupport.h"
#include "MT/MT_Core/support/mathsupport.h"
static const std::string tag_line_start = "Camera calibration - ";
static const std::string tag_line_middle = " rows w/lengths [";
static... | 30.349246 | 95 | 0.556172 | [
"vector"
] |
9efbf76f02be22a67af37172619c48caa65627ff | 5,840 | cc | C++ | 3rdParty/rocksdb/6.27/utilities/options/options_util.cc | Mu-L/arangodb | a6bd3ccd6f622fab2a288d2e3a06ab8e338d3ec1 | [
"BSL-1.0",
"Apache-2.0"
] | 15 | 2018-12-16T13:11:33.000Z | 2021-12-08T10:38:08.000Z | 3rdParty/rocksdb/6.27/utilities/options/options_util.cc | Mu-L/arangodb | a6bd3ccd6f622fab2a288d2e3a06ab8e338d3ec1 | [
"BSL-1.0",
"Apache-2.0"
] | 26 | 2021-06-08T16:20:23.000Z | 2022-03-30T03:42:21.000Z | 3rdParty/rocksdb/6.27/utilities/options/options_util.cc | Mu-L/arangodb | a6bd3ccd6f622fab2a288d2e3a06ab8e338d3ec1 | [
"BSL-1.0",
"Apache-2.0"
] | 26 | 2018-12-13T05:44:22.000Z | 2021-11-17T21:22:41.000Z | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
#ifndef ROCKSDB_LITE
#include "rocksdb/utilities/options_... | 36.5 | 80 | 0.657705 | [
"vector"
] |
9efd3c4239773035a000d0ef12f25a788215ee28 | 750 | cpp | C++ | CrossPlatform/BottomLevelAccelerationStructure.cpp | simul/Platform | 5825b3ce8540c6996ba6ab59a55581e44c68e7ad | [
"MIT"
] | 5 | 2020-07-20T15:47:46.000Z | 2021-12-23T20:54:22.000Z | CrossPlatform/BottomLevelAccelerationStructure.cpp | simul/Platform | 5825b3ce8540c6996ba6ab59a55581e44c68e7ad | [
"MIT"
] | 1 | 2021-07-12T09:53:30.000Z | 2021-07-12T09:53:30.000Z | CrossPlatform/BottomLevelAccelerationStructure.cpp | simul/Platform | 5825b3ce8540c6996ba6ab59a55581e44c68e7ad | [
"MIT"
] | 3 | 2020-10-01T14:02:28.000Z | 2021-05-27T14:15:35.000Z | #include "BottomLevelAccelerationStructure.h"
using namespace simul;
using namespace crossplatform;
////////////////////////////////////
//BottomLevelAccelerationStructure//
////////////////////////////////////
BottomLevelAccelerationStructure::BottomLevelAccelerationStructure(crossplatform::RenderPlatform* r)
:Bas... | 25.862069 | 108 | 0.749333 | [
"mesh"
] |
9effefedf049ec1f3b0eb54b115a84e8d814ca01 | 2,665 | cpp | C++ | sg/scene/lights/SunSky.cpp | ospray/ospray_studio | 1549ac72c7c561b4aafdea976189bbe95bd32ff2 | [
"Apache-2.0"
] | 52 | 2018-10-09T23:56:32.000Z | 2022-03-25T09:27:40.000Z | sg/scene/lights/SunSky.cpp | ospray/ospray_studio | 1549ac72c7c561b4aafdea976189bbe95bd32ff2 | [
"Apache-2.0"
] | 11 | 2018-11-19T18:51:47.000Z | 2022-03-28T14:03:57.000Z | sg/scene/lights/SunSky.cpp | ospray/ospray_studio | 1549ac72c7c561b4aafdea976189bbe95bd32ff2 | [
"Apache-2.0"
] | 8 | 2019-02-10T00:16:24.000Z | 2022-02-17T19:50:15.000Z | // Copyright 2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
#include "Light.h"
namespace ospray {
namespace sg {
struct OSPSG_INTERFACE SunSky : public Light
{
SunSky();
virtual ~SunSky() override = default;
protected:
void preCommit() override;
};
OSP_REGISTER_SG_NODE_NAME(SunSky, sunSky);
... | 29.611111 | 80 | 0.643902 | [
"vector"
] |
7300feaffa4c2d9c667ed89f3b33e112c29ce40e | 1,246 | cpp | C++ | 1. Array/04. Largest area in histogram.cpp | thekalyan001/DMB1-CP | 7ccf41bac7269bff432260c6078cebdb4e0f1483 | [
"Apache-2.0"
] | null | null | null | 1. Array/04. Largest area in histogram.cpp | thekalyan001/DMB1-CP | 7ccf41bac7269bff432260c6078cebdb4e0f1483 | [
"Apache-2.0"
] | null | null | null | 1. Array/04. Largest area in histogram.cpp | thekalyan001/DMB1-CP | 7ccf41bac7269bff432260c6078cebdb4e0f1483 | [
"Apache-2.0"
] | null | null | null | //https://leetcode.com/problems/largest-rectangle-in-histogram/
vector<int>find_rightmin(vector<int>arr){
int n=arr.size();
vector<int>res(n);
stack<int>st;
for(int i=n-1;i>=0;i--){
while(!st.empty() && arr[st.top()]>=arr[i]){
st.pop();
}... | 30.390244 | 80 | 0.463082 | [
"vector"
] |
73033bba2f5cd6dce30c8fbb62f824ae75811cb2 | 23,924 | cc | C++ | physics/tests/TestNudy0/GeantV/TestNudy0_GV.cc | Geant-RnD/geant | ffff95e23547531f3254ada2857c062a31f33e8f | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2016-10-16T14:37:42.000Z | 2018-04-05T15:49:09.000Z | physics/tests/TestNudy0/GeantV/TestNudy0_GV.cc | Geant-RnD/geant | ffff95e23547531f3254ada2857c062a31f33e8f | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | physics/tests/TestNudy0/GeantV/TestNudy0_GV.cc | Geant-RnD/geant | ffff95e23547531f3254ada2857c062a31f33e8f | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null |
/**
* @brief TestNudy0: simple GeantV-Low energy neutron test using Nudy.
* @author Harphool Kumawat
* @date June 2018
*
* A simple test for Nudy package where low energy neutron (< 20MeV) data
* are processed from the ufor a given particle, target material,
* particle kinetic energy and secondary production... | 43.577413 | 120 | 0.607967 | [
"geometry",
"vector",
"model"
] |
73051044526d033d1bd66c0b0d538ec5cf4813ce | 9,341 | cpp | C++ | Multicomb/Multicomb.cpp | ccdarabundit/chugins | c6f5457f40fc9898f1e9bc8632974981a32a77e6 | [
"MIT"
] | 79 | 2015-01-10T01:26:09.000Z | 2021-10-19T03:04:37.000Z | Multicomb/Multicomb.cpp | ccdarabundit/chugins | c6f5457f40fc9898f1e9bc8632974981a32a77e6 | [
"MIT"
] | 33 | 2015-03-31T02:38:36.000Z | 2021-07-20T19:12:57.000Z | Multicomb/Multicomb.cpp | ccdarabundit/chugins | c6f5457f40fc9898f1e9bc8632974981a32a77e6 | [
"MIT"
] | 41 | 2015-02-21T02:11:17.000Z | 2022-03-21T20:11:22.000Z | //-----------------------------------------------------------------------------
// Entaro ChucK Developer!
// This is a Chugin boilerplate, generated by chuginate!
//-----------------------------------------------------------------------------
// this should align with the correct versions of these ChucK files
#includ... | 27.233236 | 81 | 0.666738 | [
"object"
] |
730ca94fd70afc6550ef33170f9ce35c9b2d470f | 12,095 | hpp | C++ | Function.hpp | hxmhuang/OpenArray_Dev | 863866a6b7accf21fa253567b0e66143c7506cdf | [
"MIT"
] | 3 | 2020-09-08T05:01:56.000Z | 2020-11-23T13:11:25.000Z | Function.hpp | hxmhuang/OpenArray_Dev | 863866a6b7accf21fa253567b0e66143c7506cdf | [
"MIT"
] | null | null | null | Function.hpp | hxmhuang/OpenArray_Dev | 863866a6b7accf21fa253567b0e66143c7506cdf | [
"MIT"
] | 2 | 2019-08-16T08:32:30.000Z | 2020-02-10T08:44:04.000Z | /*
* Function.hpp
* some basic functions in OpenArray
*
=======================================================*/
#ifndef __FUNCTION_HPP__
#define __FUNCTION_HPP__
#include "common.hpp"
#include "Internal.hpp"
#include "ArrayPool.hpp"
#include "utils/utils.hpp"
namespace oa {
namespace funcs {
//create an ... | 30.465995 | 97 | 0.528483 | [
"shape",
"vector"
] |
730d107005e15a3ffe3a894edfa14b2c8080885b | 3,996 | hpp | C++ | bitmatrix/bitmatrix.hpp | xixicat/argmat-clpb | eb76cb42ff7e9e2fd8d82a40778d1ac6343cea58 | [
"MIT"
] | 3 | 2016-01-09T21:48:21.000Z | 2018-12-28T05:52:14.000Z | bitmatrix/bitmatrix.hpp | xixicat/argmat-clpb | eb76cb42ff7e9e2fd8d82a40778d1ac6343cea58 | [
"MIT"
] | null | null | null | bitmatrix/bitmatrix.hpp | xixicat/argmat-clpb | eb76cb42ff7e9e2fd8d82a40778d1ac6343cea58 | [
"MIT"
] | null | null | null | #ifndef BIT_MATRIX_HPP
#define BIT_MATRIX_HPP
#include <assert.h>
#include <string>
#include <stdexcept>
#include <algorithm>
#include <vector>
#include <iostream>
#include <boost/dynamic_bitset/dynamic_bitset.hpp>
#include "config/config.hpp"
#include "bitvector.hpp"
#include <utility>
namespace argumatrix { // a... | 20.8125 | 76 | 0.69995 | [
"vector"
] |
7310f9b33654be21103ec67944894cb29adc63db | 4,162 | hpp | C++ | Tensile/Source/lib/include/Tensile/SingleSolutionLibrary.hpp | cgmb/Tensile | b0055f18fe76bcb1a9e5fd963b6b7f93aae85ee0 | [
"MIT"
] | 116 | 2017-06-29T08:52:55.000Z | 2022-03-25T03:01:43.000Z | Tensile/Source/lib/include/Tensile/SingleSolutionLibrary.hpp | cgmb/Tensile | b0055f18fe76bcb1a9e5fd963b6b7f93aae85ee0 | [
"MIT"
] | 431 | 2017-07-19T16:29:54.000Z | 2022-03-31T19:40:12.000Z | Tensile/Source/lib/include/Tensile/SingleSolutionLibrary.hpp | cgmb/Tensile | b0055f18fe76bcb1a9e5fd963b6b7f93aae85ee0 | [
"MIT"
] | 107 | 2017-10-14T01:38:41.000Z | 2022-03-07T08:49:09.000Z | /*******************************************************************************
*
* MIT License
*
* Copyright 2019-2020 Advanced Micro Devices, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
*... | 33.564516 | 98 | 0.528111 | [
"object"
] |
731656d6446cc50911f127a9847eb45c5fb7cd42 | 5,026 | cpp | C++ | src/maiken/mods.cpp | PhilipDeegan/mkn | 399dd01990e130c4deeb0c2800204836d3875ae9 | [
"BSD-3-Clause"
] | 3 | 2019-02-07T20:50:36.000Z | 2019-08-05T19:22:59.000Z | src/maiken/mods.cpp | mkn/mkn | a05b542497270def02200df6620804b89429259b | [
"BSD-3-Clause"
] | null | null | null | src/maiken/mods.cpp | mkn/mkn | a05b542497270def02200df6620804b89429259b | [
"BSD-3-Clause"
] | null | null | null | /**
Copyright (c) 2017, Philip Deegan.
All rights reserved.
Redistribution and use in source and binary forms, mod or modout
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the followin... | 38.96124 | 100 | 0.616793 | [
"vector"
] |
731a99650833c5dfb32bd0c91c119540ccfcbeed | 2,225 | cpp | C++ | BashuOJ-Code/4030.cpp | magicgh/algorithm-contest-code | c21a90b11f73535c61e6363a4305b74cff24a85b | [
"MIT"
] | null | null | null | BashuOJ-Code/4030.cpp | magicgh/algorithm-contest-code | c21a90b11f73535c61e6363a4305b74cff24a85b | [
"MIT"
] | null | null | null | BashuOJ-Code/4030.cpp | magicgh/algorithm-contest-code | c21a90b11f73535c61e6363a4305b74cff24a85b | [
"MIT"
] | null | null | null | #include<iostream>
#include<cstdio>
#include<cstring>
#include<cmath>
#include<iomanip>
#include<algorithm>
#include<queue>
#include<stack>
#include<vector>
#define ri register int
using namespace std;
const int MAXN=500005;
char a[MAXN],b[MAXN];
int prt[MAXN],ch[MAXN][30],len[MAXN],Max1[MAXN],Max2[MAXN],tong[MAXN],Top... | 21.813725 | 86 | 0.599101 | [
"vector"
] |
731efb02239ea0c9734bcb24c1a32cd806c1dece | 29,978 | tpp | C++ | src/mafCore/mafTree.tpp | tartarini/MAF3 | f9614d36591754544b23e3a670980799254dfd2c | [
"Apache-2.0"
] | 1 | 2021-05-10T19:01:48.000Z | 2021-05-10T19:01:48.000Z | src/mafCore/mafTree.tpp | examyes/MAF3 | f9614d36591754544b23e3a670980799254dfd2c | [
"Apache-2.0"
] | null | null | null | src/mafCore/mafTree.tpp | examyes/MAF3 | f9614d36591754544b23e3a670980799254dfd2c | [
"Apache-2.0"
] | 1 | 2018-02-06T03:51:57.000Z | 2018-02-06T03:51:57.000Z | ////////////////////////////////////////////////////////////////////////////////
// Author: Andy Rushton
// Copyright: (c) Southampton University 1999-2004
// (c) Andy Rushton 2004-2009
// License: BSD License, see ../docs/license.html
////////////////////////////////////////////////... | 32.798687 | 132 | 0.66412 | [
"vector"
] |
7321926332dfa6e61a58352093fd20fe3bb4a2db | 15,729 | cpp | C++ | Engine/Source/Runtime/Engine/Private/VisualLogger/VisualLogger.cpp | PopCap/GameIdea | 201e1df50b2bc99afc079ce326aa0a44b178a391 | [
"BSD-2-Clause"
] | null | null | null | Engine/Source/Runtime/Engine/Private/VisualLogger/VisualLogger.cpp | PopCap/GameIdea | 201e1df50b2bc99afc079ce326aa0a44b178a391 | [
"BSD-2-Clause"
] | 2 | 2015-06-21T17:38:11.000Z | 2015-06-22T20:54:42.000Z | Engine/Source/Runtime/Engine/Private/VisualLogger/VisualLogger.cpp | PopCap/GameIdea | 201e1df50b2bc99afc079ce326aa0a44b178a391 | [
"BSD-2-Clause"
] | null | null | null | // Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#include "EnginePrivate.h"
#include "VisualLogger/VisualLogger.h"
#include "VisualLogger/VisualLoggerBinaryFileDevice.h"
#if WITH_EDITOR
# include "Editor/UnrealEd/Public/EditorComponents.h"
# include "Editor/UnrealEd/Public/EditorReimportHandler.h"
# includ... | 30.07457 | 290 | 0.742132 | [
"object"
] |
73235d5dad111c673a5af0f01bbbed915ee9c7e0 | 18,396 | cpp | C++ | modules/volume/rendering/renderabletimevaryingvolume.cpp | nbartzokas/OpenSpace | 9df1e9b4821fade185b6e0a31b7cce1e67752a44 | [
"MIT"
] | null | null | null | modules/volume/rendering/renderabletimevaryingvolume.cpp | nbartzokas/OpenSpace | 9df1e9b4821fade185b6e0a31b7cce1e67752a44 | [
"MIT"
] | null | null | null | modules/volume/rendering/renderabletimevaryingvolume.cpp | nbartzokas/OpenSpace | 9df1e9b4821fade185b6e0a31b7cce1e67752a44 | [
"MIT"
] | null | null | null | /*****************************************************************************************
* *
* OpenSpace *
* ... | 37.314402 | 90 | 0.614264 | [
"render",
"vector"
] |
7324476c660bf4bd9f7914e7d1b855fbbe959952 | 14,434 | hpp | C++ | Source/AllProjects/CoreTech/CQCIR/CQCIR_DriverBase.hpp | MarkStega/CQC | c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07 | [
"MIT"
] | 51 | 2020-12-26T18:17:16.000Z | 2022-03-15T04:29:35.000Z | Source/AllProjects/CoreTech/CQCIR/CQCIR_DriverBase.hpp | MarkStega/CQC | c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07 | [
"MIT"
] | null | null | null | Source/AllProjects/CoreTech/CQCIR/CQCIR_DriverBase.hpp | MarkStega/CQC | c1d0e01ec2abcaa5b8eb1899b9f0522fecee4b07 | [
"MIT"
] | 4 | 2020-12-28T07:24:39.000Z | 2021-12-29T12:09:37.000Z | //
// FILE NAME: CQCIR_DriverBase.hpp
//
// AUTHOR: Dean Roddey
//
// CREATED: 11/16/2003
//
// COPYRIGHT: Charmed Quark Systems, Ltd @ 2020
//
// This software is copyrighted by 'Charmed Quark Systems, Ltd' and
// the author (Dean Roddey.) It is licensed under the MIT Open Source
// license:
//
// https://openso... | 34.864734 | 79 | 0.474712 | [
"object",
"model"
] |
73248e6cac0c5cffffac941e90d9aa6e6e65b38c | 6,588 | hpp | C++ | stapl_release/stapl/skeletons/functional/scatter.hpp | parasol-ppl/PPL_utils | 92728bb89692fda1705a0dee436592d97922a6cb | [
"BSD-3-Clause"
] | null | null | null | stapl_release/stapl/skeletons/functional/scatter.hpp | parasol-ppl/PPL_utils | 92728bb89692fda1705a0dee436592d97922a6cb | [
"BSD-3-Clause"
] | null | null | null | stapl_release/stapl/skeletons/functional/scatter.hpp | parasol-ppl/PPL_utils | 92728bb89692fda1705a0dee436592d97922a6cb | [
"BSD-3-Clause"
] | null | null | null | /*
// Copyright (c) 2000-2009, Texas Engineering Experiment Station (TEES), a
// component of the Texas A&M University System.
// All rights reserved.
// The information and source code contained herein is the exclusive
// property of TEES and may not be disclosed, examined or reproduced
// in whole or in part withou... | 30.082192 | 74 | 0.601548 | [
"vector"
] |
7329c247854679f3dbc12620e75f0b7c02503a54 | 11,561 | cc | C++ | mace/benchmark/statistics.cc | lee-bin/mace | aca4c5e2a3496cca955d45460eb976fe765d6f14 | [
"Apache-2.0"
] | 1 | 2018-12-20T07:09:05.000Z | 2018-12-20T07:09:05.000Z | mace/benchmark/statistics.cc | 13266828291/mace | 021dbc5b40e3f1be7466eb72e37c11ac391166bf | [
"Apache-2.0"
] | null | null | null | mace/benchmark/statistics.cc | 13266828291/mace | 021dbc5b40e3f1be7466eb72e37c11ac391166bf | [
"Apache-2.0"
] | 1 | 2019-06-26T11:07:29.000Z | 2019-06-26T11:07:29.000Z | // Copyright 2018 Xiaomi, Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicab... | 33.126074 | 80 | 0.619929 | [
"shape",
"vector"
] |
732b765b8845c9001bc3381b9bc61d38accf3396 | 2,761 | hpp | C++ | chipsum/solver/bicg.hpp | ChipSum-Group/ChipSum | 010656f6bcb5d95ece615425172b0d5f83cbc485 | [
"MIT"
] | 1 | 2022-03-30T01:53:08.000Z | 2022-03-30T01:53:08.000Z | chipsum/solver/bicg.hpp | ChipSum-Group/ChipSum | 010656f6bcb5d95ece615425172b0d5f83cbc485 | [
"MIT"
] | 1 | 2022-03-28T02:33:00.000Z | 2022-03-28T02:33:00.000Z | chipsum/solver/bicg.hpp | ChipSum-Group/ChipSum | 010656f6bcb5d95ece615425172b0d5f83cbc485 | [
"MIT"
] | null | null | null | /* * * * * * * * * * * * * * * * * * * * *
* File: bicg.cpp
* Author: Yaojie Yu
* group: CDCS-HPC
* Time: 2022-06-07
* * * * * * * * * * * * * * * * * * * * * */
#include "../../ChipSum.hpp"
#include "../chipsum_macro.h"
namespace ChipSum {
namespace Solver {
CSVector bicg(CSR &A, CSVector &... | 27.61 | 80 | 0.45527 | [
"vector"
] |
732cb99ef2284cfa6474c0d08bc6558d18cc696f | 6,932 | cpp | C++ | src/victim_thermal_detector_node.cpp | kuri-kustar/victim_localization | b5b0b8f2915d9805372a1d8c4809991b6d63c1b5 | [
"BSD-3-Clause"
] | 1 | 2020-03-29T08:00:24.000Z | 2020-03-29T08:00:24.000Z | src/victim_thermal_detector_node.cpp | kuri-kustar/victim_localization | b5b0b8f2915d9805372a1d8c4809991b6d63c1b5 | [
"BSD-3-Clause"
] | null | null | null | src/victim_thermal_detector_node.cpp | kuri-kustar/victim_localization | b5b0b8f2915d9805372a1d8c4809991b6d63c1b5 | [
"BSD-3-Clause"
] | 1 | 2020-03-29T08:00:24.000Z | 2020-03-29T08:00:24.000Z | #include "victim_localization/victim_thermal_detector_node.h"
victim_thermal_detector::victim_thermal_detector(ros::NodeHandle &nh_, ros::NodeHandle &pnh_)
{
ros::param::param<double>("~min_Dist_Between_Blobs", minDistBetweenBlobs_ , 40.0);
ros::param::param<double>("~thermal_min_Area_Victim", minAreaVictim_ , 40.... | 37.47027 | 155 | 0.605597 | [
"vector"
] |
732db274d47ef232142a96c61f25cb8771de83bb | 12,299 | cpp | C++ | mptrack/HTTP.cpp | ford442/openmpt | 614c44fe665b0e1cce15092ecf0d069cbb3e1fe7 | [
"BSD-3-Clause"
] | 335 | 2017-02-25T16:39:27.000Z | 2022-03-29T17:45:42.000Z | mptrack/HTTP.cpp | ford442/openmpt | 614c44fe665b0e1cce15092ecf0d069cbb3e1fe7 | [
"BSD-3-Clause"
] | 7 | 2018-02-05T18:22:38.000Z | 2022-02-15T19:35:24.000Z | mptrack/HTTP.cpp | ford442/openmpt | 614c44fe665b0e1cce15092ecf0d069cbb3e1fe7 | [
"BSD-3-Clause"
] | 69 | 2017-04-10T00:48:09.000Z | 2022-03-20T10:24:45.000Z | /*
* HTTP.cpp
* --------
* Purpose: Simple HTTP client interface.
* Notes : (currently none)
* Authors: OpenMPT Devs
* The OpenMPT source code is released under the BSD license. Read LICENSE for more details.
*/
#include "stdafx.h"
#include "HTTP.h"
#include "mpt/system_error/system_error.hpp"
#include <WinIn... | 23.651923 | 134 | 0.679974 | [
"vector"
] |
732ecb0d38bd439781473b4c7ad6f01f8af8d68a | 924 | cpp | C++ | src/Section1/Combination Lock/combo.cpp | hwchiu/USACO | e82ffa309b6f1b183faf8c10d7760f479f542f6a | [
"Apache-2.0"
] | null | null | null | src/Section1/Combination Lock/combo.cpp | hwchiu/USACO | e82ffa309b6f1b183faf8c10d7760f479f542f6a | [
"Apache-2.0"
] | null | null | null | src/Section1/Combination Lock/combo.cpp | hwchiu/USACO | e82ffa309b6f1b183faf8c10d7760f479f542f6a | [
"Apache-2.0"
] | null | null | null | /*
ID: hwchiu1
PROG: combo
LANG: C++
*/
#include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <set>
using namespace std;
int main() {
ofstream fout ("combo.out");
ifstream fin ("combo.in");
int N;
int farmer[3],master[3];
set<vector<int> >used;
fin >> N;
fin >> farmer[0] >> fa... | 22.536585 | 45 | 0.598485 | [
"vector"
] |
73357f46bb8899613b50922c99d0d9693b156d77 | 11,867 | hpp | C++ | src/Module/CRC/CRC.hpp | codechecker123/aff3ct | 030af3e990027fa803fb2c68f974c9ec0ee79b5d | [
"MIT"
] | null | null | null | src/Module/CRC/CRC.hpp | codechecker123/aff3ct | 030af3e990027fa803fb2c68f974c9ec0ee79b5d | [
"MIT"
] | null | null | null | src/Module/CRC/CRC.hpp | codechecker123/aff3ct | 030af3e990027fa803fb2c68f974c9ec0ee79b5d | [
"MIT"
] | null | null | null | /*!
* \file
* \brief Adds/builds and checks a Cyclic Redundancy Check (CRC) for a set of information bits.
*
* \section LICENSE
* This file is under MIT license (https://opensource.org/licenses/MIT).
*/
#ifndef CRC_HPP_
#define CRC_HPP_
#include <string>
#include <vector>
#include <sstream>
#include "Tools/Exce... | 33.522599 | 116 | 0.60605 | [
"vector"
] |
73391f3651ef20f67ceb31e0d15555c5cebe512f | 1,030 | cpp | C++ | LeetCode/Design Compressed String Iterator/main.cpp | Code-With-Aagam/competitive-programming | 610520cc396fb13a03c606b5fb6739cfd68cc444 | [
"MIT"
] | 2 | 2022-02-08T12:37:41.000Z | 2022-03-09T03:48:56.000Z | LeetCode/Design Compressed String Iterator/main.cpp | ShubhamJagtap2000/competitive-programming-1 | 3a9a2e3dd08f8fa8ab823f295cd020d08d3bff84 | [
"MIT"
] | null | null | null | LeetCode/Design Compressed String Iterator/main.cpp | ShubhamJagtap2000/competitive-programming-1 | 3a9a2e3dd08f8fa8ab823f295cd020d08d3bff84 | [
"MIT"
] | null | null | null | class StringIterator {
public:
StringIterator(string compressedString) {
this->compressedString = compressedString;
this->index = this->count = 0;
this->curr = ' ';
}
char next() {
if (count == 0) {
if (index >= compressedString.size()) {
retur... | 27.105263 | 121 | 0.548544 | [
"object"
] |
733ab75323716c58e082cca5a40baa262f2179ff | 6,371 | cpp | C++ | libs/hana/test/detail/preprocessor.cpp | Manu343726/boost-cmake | 009c3843b49a56880d988ffdca6d909f881edb3d | [
"BSL-1.0"
] | 918 | 2016-12-22T02:53:08.000Z | 2022-03-22T06:21:35.000Z | libs/hana/test/detail/preprocessor.cpp | Manu343726/boost-cmake | 009c3843b49a56880d988ffdca6d909f881edb3d | [
"BSL-1.0"
] | 203 | 2016-12-27T12:09:03.000Z | 2022-03-30T20:46:55.000Z | libs/hana/test/detail/preprocessor.cpp | Manu343726/boost-cmake | 009c3843b49a56880d988ffdca6d909f881edb3d | [
"BSL-1.0"
] | 122 | 2016-12-22T17:38:09.000Z | 2022-02-22T14:25:49.000Z | // Copyright Louis Dionne 2013-2017
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
#include <boost/hana/assert.hpp>
#include <boost/hana/detail/preprocessor.hpp>
#include <string>
#include <vector>
/////////////////////... | 37.698225 | 84 | 0.433527 | [
"vector"
] |
733cbcfcb85a6182ef8a44e31801ab9feaf9496b | 8,180 | hpp | C++ | include/TGUI/Variant.hpp | Kvaz1r/TGUI | 16a1102e4c8c9de4d7cf1bb56cdea93a7a747eb0 | [
"Zlib"
] | null | null | null | include/TGUI/Variant.hpp | Kvaz1r/TGUI | 16a1102e4c8c9de4d7cf1bb56cdea93a7a747eb0 | [
"Zlib"
] | null | null | null | include/TGUI/Variant.hpp | Kvaz1r/TGUI | 16a1102e4c8c9de4d7cf1bb56cdea93a7a747eb0 | [
"Zlib"
] | null | null | null | /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// TGUI - Texus' Graphical User Interface
// Copyright (C) 2012-2020 Bruno Van de Velde (vdv_b@tgui.eu)
//
// This software is provided 'as-is', without any express or implied warranty.
/... | 37.522936 | 129 | 0.389487 | [
"object"
] |
733e0add1350aee7bf150048995a24ca06007a36 | 968 | hpp | C++ | src/geometry/include/geometry/operations.hpp | snailbaron/rooms | 03496c3cd30e2020e1b0f1ad7d96bfba4e000eaa | [
"MIT"
] | null | null | null | src/geometry/include/geometry/operations.hpp | snailbaron/rooms | 03496c3cd30e2020e1b0f1ad7d96bfba4e000eaa | [
"MIT"
] | null | null | null | src/geometry/include/geometry/operations.hpp | snailbaron/rooms | 03496c3cd30e2020e1b0f1ad7d96bfba4e000eaa | [
"MIT"
] | null | null | null | #pragma once
#include "geometry/internals/util.hpp"
#include "geometry/matrix.hpp"
#include "geometry/point.hpp"
#include "geometry/vector.hpp"
namespace geometry {
template <class U, class V,
class = internals::enable_if_have_common_type_t<U, V>>
auto operator-(const Point<U>& lhs, const Point<V>& rhs)
{
r... | 26.888889 | 74 | 0.670455 | [
"geometry",
"vector"
] |
73412cec48377b91005ed0283ae14a2d7b8e256e | 8,732 | cpp | C++ | src/ltevent.cpp | hemantasapkota/lotech | 46598a7c37dfd7cd424e2426564cc32533e1cfd6 | [
"curl"
] | null | null | null | src/ltevent.cpp | hemantasapkota/lotech | 46598a7c37dfd7cd424e2426564cc32533e1cfd6 | [
"curl"
] | null | null | null | src/ltevent.cpp | hemantasapkota/lotech | 46598a7c37dfd7cd424e2426564cc32533e1cfd6 | [
"curl"
] | null | null | null | /* Copyright (C) 2010-2013 Ian MacLarty. See Copyright Notice in lt.h. */
#include "lt.h"
LT_INIT_IMPL(ltevent)
LTEventHandler::LTEventHandler(int filter, LTfloat left, LTfloat bottom, LTfloat right, LTfloat top) {
bb = new LTEventHandlerBB();
bb->left = left;
bb->bottom = bottom;
bb->right = right;
... | 30.746479 | 112 | 0.539968 | [
"object"
] |
73447765043b92b799371dd47c981e0812dd2dfa | 35,845 | cpp | C++ | cell_based/src/population/AbstractCellPopulation.cpp | Mathematics-in-Oncology/ComputationalColonicCrypts | a407ae6c37acc878cd1548590c71bc1f87bc5c06 | [
"Unlicense"
] | 1 | 2021-01-25T12:21:40.000Z | 2021-01-25T12:21:40.000Z | cell_based/src/population/AbstractCellPopulation.cpp | Mathematics-in-Oncology/ComputationalColonicCrypts | a407ae6c37acc878cd1548590c71bc1f87bc5c06 | [
"Unlicense"
] | null | null | null | cell_based/src/population/AbstractCellPopulation.cpp | Mathematics-in-Oncology/ComputationalColonicCrypts | a407ae6c37acc878cd1548590c71bc1f87bc5c06 | [
"Unlicense"
] | 1 | 2021-01-25T12:21:56.000Z | 2021-01-25T12:21:56.000Z | /*
Copyright (c) 2005-2019, University of Oxford.
All rights reserved.
University of Oxford means the Chancellor, Masters and Scholars of the
University of Oxford, having an administrative office at Wellington
Square, Oxford OX1 2JD, UK.
This file is part of Chaste.
Redistribution and use in source and binary forms... | 38.79329 | 180 | 0.725708 | [
"vector",
"model"
] |
73453492bfe65344a5706d6c4ad8122c8239ff52 | 7,681 | cpp | C++ | src/QR-Code-generator/QrSegment.cpp | Aifolin/motif-gui | 96911f334c0cecb907cfb41c0cf3b9029a480039 | [
"BSD-3-Clause"
] | null | null | null | src/QR-Code-generator/QrSegment.cpp | Aifolin/motif-gui | 96911f334c0cecb907cfb41c0cf3b9029a480039 | [
"BSD-3-Clause"
] | null | null | null | src/QR-Code-generator/QrSegment.cpp | Aifolin/motif-gui | 96911f334c0cecb907cfb41c0cf3b9029a480039 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2014-2019, The Motif Project
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are
// permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain the above copyright notice, this list of
//... | 38.024752 | 161 | 0.672438 | [
"vector"
] |
7347f28ff9bacead8593ddbfa42a7f625761ae67 | 8,607 | cpp | C++ | tools/skqp/jni/org_skia_skqp_SkQPRunner.cpp | ndsol/subskia | 9a8f6e5ffc6676281a4389aa1503ba6c4352eaca | [
"BSD-3-Clause"
] | null | null | null | tools/skqp/jni/org_skia_skqp_SkQPRunner.cpp | ndsol/subskia | 9a8f6e5ffc6676281a4389aa1503ba6c4352eaca | [
"BSD-3-Clause"
] | null | null | null | tools/skqp/jni/org_skia_skqp_SkQPRunner.cpp | ndsol/subskia | 9a8f6e5ffc6676281a4389aa1503ba6c4352eaca | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright 2017 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include <mutex>
#include <vector>
#include <jni.h>
#include <android/asset_manager.h>
#include <android/asset_manager_jni.h>
#include "gm_runner.h"
#include "gm_knowledge.h... | 41.57971 | 97 | 0.580109 | [
"object",
"vector"
] |
735783a844d2eabac3b71b0455f8838e543b66a8 | 6,138 | inl | C++ | paddle/pten/core/dense_tensor.inl | ShiningZhang/Paddle | 94ab14a28aef0a1f96975b0ce80f788cf10daacb | [
"Apache-2.0"
] | 1 | 2022-02-20T09:01:02.000Z | 2022-02-20T09:01:02.000Z | paddle/pten/core/dense_tensor.inl | heiziiiii/Paddle | c6950ab2573aece1fa0728aef1446bd8b0b8c1a0 | [
"Apache-2.0"
] | null | null | null | paddle/pten/core/dense_tensor.inl | heiziiiii/Paddle | c6950ab2573aece1fa0728aef1446bd8b0b8c1a0 | [
"Apache-2.0"
] | null | null | null | /* Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or... | 32.47619 | 93 | 0.721733 | [
"vector"
] |
735bfda6d8faf81165f95660c096c5ba19b1a9ab | 19,460 | cpp | C++ | gdal-1.11.0/alg/gdalmediancut.cpp | tilemapjp/gdal_mobile | f2bea3b017bb09c71f72c8e953a808f51e115c90 | [
"MIT"
] | 1 | 2015-07-04T20:09:20.000Z | 2015-07-04T20:09:20.000Z | gdal-1.11.0/alg/gdalmediancut.cpp | tilemapjp/gdal_mobile | f2bea3b017bb09c71f72c8e953a808f51e115c90 | [
"MIT"
] | null | null | null | gdal-1.11.0/alg/gdalmediancut.cpp | tilemapjp/gdal_mobile | f2bea3b017bb09c71f72c8e953a808f51e115c90 | [
"MIT"
] | null | null | null | /******************************************************************************
* $Id: gdalmediancut.cpp 27044 2014-03-16 23:41:27Z rouault $
*
* Project: CIETMap Phase 2
* Purpose: Use median cut algorithm to generate an near-optimal PCT for a
* given RGB image. Implemented as function GDALComputeMe... | 35.641026 | 95 | 0.474974 | [
"object"
] |
735ca4fc9883ca723b8c19cee1ce03d9aaaf3e17 | 470 | cpp | C++ | 107. Binary Tree Level Order Traversal II.cpp | rajeev-ranjan-au6/Leetcode_Cpp | f64cd98ab96ec110f1c21393f418acf7d88473e8 | [
"MIT"
] | 3 | 2020-12-30T00:29:59.000Z | 2021-01-24T22:43:04.000Z | 107.Binary Tree Level Order Traversal II/answer.cpp | ReZeroS/LeetCode | 807ae800437e0b6224bd4672f28007388625437b | [
"MIT"
] | null | null | null | 107.Binary Tree Level Order Traversal II/answer.cpp | ReZeroS/LeetCode | 807ae800437e0b6224bd4672f28007388625437b | [
"MIT"
] | null | null | null | class Solution {
public:
vector<vector<int>> levelOrderBottom(TreeNode* root) {
vector<vector<int>>v;
dfs(root, v, 0);
reverse(v.begin(), v.end());
return v;
}
void dfs(TreeNode* root, vector<vector<int>>& v, int level){
if(!root) return;
if(level == v.si... | 26.111111 | 64 | 0.525532 | [
"vector"
] |
735fbfce4c85c0a2b7747b305e37556cf4ba5c61 | 1,279 | hpp | C++ | Gabor.hpp | miaoever/x-face | ffd86c4de51449fdf46f311ddb23950c58e42854 | [
"FSFAP"
] | null | null | null | Gabor.hpp | miaoever/x-face | ffd86c4de51449fdf46f311ddb23950c58e42854 | [
"FSFAP"
] | null | null | null | Gabor.hpp | miaoever/x-face | ffd86c4de51449fdf46f311ddb23950c58e42854 | [
"FSFAP"
] | null | null | null | //
// Gabor.h
// LGBP
//
// Created by miaoever on 4/23/14.
// Copyright (c) 2014 miaoever. All rights reserved.
//
#ifndef __LGBP__Gabor__
#define __LGBP__Gabor__
#pragma once
#include <opencv2/core/core.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <vector>
using nam... | 31.975 | 91 | 0.691947 | [
"vector"
] |
73607e28e2689ac3eacc13abd7df04842f652fdc | 624 | cpp | C++ | src/ct_common/common/seed_constraint.cpp | xxyzzzq/ct_common | d28dd4362e97dff67fe68c512d6160be285bb05d | [
"MIT"
] | 2 | 2019-03-25T04:13:38.000Z | 2021-06-09T05:59:36.000Z | src/ct_common/common/seed_constraint.cpp | xxyzzzq/ct_common | d28dd4362e97dff67fe68c512d6160be285bb05d | [
"MIT"
] | null | null | null | src/ct_common/common/seed_constraint.cpp | xxyzzzq/ct_common | d28dd4362e97dff67fe68c512d6160be285bb05d | [
"MIT"
] | 1 | 2015-06-15T09:13:22.000Z | 2015-06-15T09:13:22.000Z | // Copyright 2016 ct_common authors. See LICENSE file for details.
#include "ct_common/common/seed_constraint.h"
namespace ct_common {
Seed_Constraint::Seed_Constraint() = default;
Seed_Constraint::Seed_Constraint(const Seed_Constraint& from) = default;
Seed_Constraint& Seed_Constraint::operator=(
const Seed_C... | 27.130435 | 72 | 0.772436 | [
"vector"
] |
7366b67bae647ce1f14427bd78070aaa50a325fc | 17,140 | cpp | C++ | llvm/lib/Transforms/Scaffold/Reverse.cpp | yipenghuang0302/ScaffCC | 4d7bfa034cfaea4e8346396c6198cdd3e271d272 | [
"BSD-2-Clause"
] | 158 | 2016-07-21T10:45:05.000Z | 2022-03-25T00:56:20.000Z | llvm/lib/Transforms/Scaffold/Reverse.cpp | yipenghuang0302/ScaffCC | 4d7bfa034cfaea4e8346396c6198cdd3e271d272 | [
"BSD-2-Clause"
] | 35 | 2016-07-25T01:23:07.000Z | 2021-09-27T16:05:50.000Z | llvm/lib/Transforms/Scaffold/Reverse.cpp | yipenghuang0302/ScaffCC | 4d7bfa034cfaea4e8346396c6198cdd3e271d272 | [
"BSD-2-Clause"
] | 62 | 2016-08-29T17:28:11.000Z | 2021-12-29T17:55:58.000Z | //===------------------------------ Reverse.cpp ---------------------------===//
//
// This file implements the Scaffold Pass of reversing functions. In the
// initial stage of the compiler, we search all of the IR
// code for functions beginning with "_reverse_". For any of these functions,
// we see which function t... | 43.392405 | 80 | 0.495508 | [
"vector"
] |
7367e212975abeb60a1dcd2cf88e0e234101ed97 | 2,033 | cpp | C++ | dynamic_vino_lib/src/models/person_reidentification_model.cpp | ConnorChristie/ros_openvino_toolkit | f319108bb506630d041e6db74ea3025472fbf7e9 | [
"Apache-2.0"
] | null | null | null | dynamic_vino_lib/src/models/person_reidentification_model.cpp | ConnorChristie/ros_openvino_toolkit | f319108bb506630d041e6db74ea3025472fbf7e9 | [
"Apache-2.0"
] | null | null | null | dynamic_vino_lib/src/models/person_reidentification_model.cpp | ConnorChristie/ros_openvino_toolkit | f319108bb506630d041e6db74ea3025472fbf7e9 | [
"Apache-2.0"
] | null | null | null | // Copyright (c) 2018 Intel Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agr... | 39.862745 | 83 | 0.776685 | [
"object"
] |
736b0e75f5869cb4f2cf37b95f494c0bb135f710 | 17,374 | cpp | C++ | Source/EvalDll/CNTKEval.cpp | burhandodhy/CNTK | fcdeef63d0192c7b4b7428b14c1f9750d6c1de2e | [
"MIT"
] | 1 | 2019-04-14T20:17:55.000Z | 2019-04-14T20:17:55.000Z | Source/EvalDll/CNTKEval.cpp | burhandodhy/CNTK | fcdeef63d0192c7b4b7428b14c1f9750d6c1de2e | [
"MIT"
] | null | null | null | Source/EvalDll/CNTKEval.cpp | burhandodhy/CNTK | fcdeef63d0192c7b4b7428b14c1f9750d6c1de2e | [
"MIT"
] | 1 | 2018-12-29T20:52:30.000Z | 2018-12-29T20:52:30.000Z | //
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.md file in the project root for full license information.
//
// CNTKEval.cpp : Defines the exported functions for the CNTK DLL.
//
#define __STDC_FORMAT_MACROS
#include <inttypes.h>
#include <stdio.h>
#include <math.h>
... | 37.687636 | 207 | 0.665535 | [
"object",
"vector",
"model"
] |
736c80f74fe628d97f6435b87b8fbf000e8f1b5d | 18,507 | cpp | C++ | passes/DecoupleCompute/DecoupleCompute.cpp | PrincetonUniversity/GraphAttack | 2bb80fc54d2e83293abe40c506ae745259e1cd14 | [
"BSD-2-Clause"
] | 1 | 2021-09-28T07:00:01.000Z | 2021-09-28T07:00:01.000Z | passes/DecoupleCompute/DecoupleCompute.cpp | PrincetonUniversity/GraphAttack | 2bb80fc54d2e83293abe40c506ae745259e1cd14 | [
"BSD-2-Clause"
] | null | null | null | passes/DecoupleCompute/DecoupleCompute.cpp | PrincetonUniversity/GraphAttack | 2bb80fc54d2e83293abe40c506ae745259e1cd14 | [
"BSD-2-Clause"
] | 1 | 2021-09-28T07:00:08.000Z | 2021-09-28T07:00:08.000Z | #include <list>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
#include <chrono>
#include <thread>
#include <algorithm>
#include "llvm/Pass.h"
#include "llvm/IR/Function.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/IR/LegacyPassManager.h"
#include "llvm/Tr... | 32.298429 | 148 | 0.613011 | [
"vector"
] |
73728906b768dd62848983681728b4824224fc28 | 1,573 | cpp | C++ | src/io/SpectrumCollectionFactory.cpp | johnhalloran321/crux-toolkit | 329390c63a4ec8ab4add22d847732dfa2e7f74ca | [
"Apache-2.0"
] | null | null | null | src/io/SpectrumCollectionFactory.cpp | johnhalloran321/crux-toolkit | 329390c63a4ec8ab4add22d847732dfa2e7f74ca | [
"Apache-2.0"
] | null | null | null | src/io/SpectrumCollectionFactory.cpp | johnhalloran321/crux-toolkit | 329390c63a4ec8ab4add22d847732dfa2e7f74ca | [
"Apache-2.0"
] | null | null | null | /**
* \file SpectrumCollectionFactory.cpp
* AUTHOR: Barbara Frewen
* CREATE DATE: 14 June 2011
* \brief Return a SpectrumCollection object of the appropriate
* derived class.
*/
#include "parameter.h"
#include "SpectrumCollectionFactory.h"
#include "MSToolkitSpectrumCollection.h"
#include "PWIZSpectrumCollection... | 30.25 | 85 | 0.723458 | [
"object"
] |
73754704dfd46728d4e2c6fd3ccf87486bdf7895 | 1,236 | cpp | C++ | src/projects/scripts/compress_bed.cpp | AntonBankevich/DR | 73450ad3b25f90a3c7747aaf17fe60d13d9692d3 | [
"BSD-3-Clause"
] | 3 | 2020-11-14T14:41:55.000Z | 2020-12-12T07:05:51.000Z | src/projects/scripts/compress_bed.cpp | AntonBankevich/DR | 73450ad3b25f90a3c7747aaf17fe60d13d9692d3 | [
"BSD-3-Clause"
] | 1 | 2022-02-01T11:16:31.000Z | 2022-02-01T18:56:55.000Z | src/projects/scripts/compress_bed.cpp | AntonBankevich/DR | 73450ad3b25f90a3c7747aaf17fe60d13d9692d3 | [
"BSD-3-Clause"
] | null | null | null | #include <common/verify.hpp>
#include <sequences/seqio.hpp>
#include <common/cl_parser.hpp>
int main(int argc, char **argv) {
CLParser parser({"dimer-compress=1000000000,1000000000,1", "contigs=", "bed="}, {}, {},"");
parser.parseCL(argc, argv);
StringContig::homopolymer_compressing = true;
StringConti... | 37.454545 | 96 | 0.604369 | [
"vector"
] |
73768bcdc8af31bc2668c44c9c0d81552a991548 | 1,343 | hpp | C++ | include/learn/environment/bullet/BasicBulletEnvironment.hpp | thomas-gale/learn | a83759d13db1087d2c13fcc7bf967f327de538ed | [
"MIT"
] | 1 | 2020-11-13T22:15:29.000Z | 2020-11-13T22:15:29.000Z | include/learn/environment/bullet/BasicBulletEnvironment.hpp | thomas-gale/learn | a83759d13db1087d2c13fcc7bf967f327de538ed | [
"MIT"
] | 1 | 2020-06-22T08:12:46.000Z | 2020-06-22T08:14:02.000Z | include/learn/environment/bullet/BasicBulletEnvironment.hpp | thomas-gale/learn | a83759d13db1087d2c13fcc7bf967f327de538ed | [
"MIT"
] | null | null | null | #ifndef LEARN_ENV_BULLET_BASICBULLETENVIRONMENT_H_
#define LEARN_ENV_BULLET_BASICBULLETENVIRONMENT_H_
#include "learn/environment/gym/Environment.hpp"
#include "learn/environment/gym/Space.hpp"
#include "learn/environment/gym/State.hpp"
namespace learn {
namespace environment {
namespace bullet {
class BasicBulletEn... | 32.756098 | 80 | 0.717051 | [
"render",
"vector"
] |
737773a3c01cf41915c54cea12e50a9a017b4336 | 3,116 | cpp | C++ | main/myexe/src/Camera.cpp | BJPerez/OpenGL-Tuto | 254454ebd8903ca876ef1422116f839e209a0a09 | [
"MIT"
] | null | null | null | main/myexe/src/Camera.cpp | BJPerez/OpenGL-Tuto | 254454ebd8903ca876ef1422116f839e209a0a09 | [
"MIT"
] | null | null | null | main/myexe/src/Camera.cpp | BJPerez/OpenGL-Tuto | 254454ebd8903ca876ef1422116f839e209a0a09 | [
"MIT"
] | null | null | null | #include "../include/Camera.hpp"
Camera::Camera(const glm::vec3 position, const glm::vec3 up, const float yaw, const float pitch)
: m_Position(position)
, m_Front(FRONT_DEFAULT)
, m_WorldUp(up)
, m_Yaw (yaw)
, m_Pitch (pitch)
, m_MovementSpeed(SPEED_DEFAULT)
, m_MouseSensitivity(SENSITIVITY... | 28.327273 | 135 | 0.620988 | [
"vector"
] |
7379d71312ab6ce4871df5af31b0928127675d6d | 26,641 | cpp | C++ | libs/math/test/test_beta_dist.cpp | Ron2014/boost_1_48_0 | 19673f69677ffcba7c7bd6e08ec07ee3962f161c | [
"BSL-1.0"
] | null | null | null | libs/math/test/test_beta_dist.cpp | Ron2014/boost_1_48_0 | 19673f69677ffcba7c7bd6e08ec07ee3962f161c | [
"BSL-1.0"
] | null | null | null | libs/math/test/test_beta_dist.cpp | Ron2014/boost_1_48_0 | 19673f69677ffcba7c7bd6e08ec07ee3962f161c | [
"BSL-1.0"
] | null | null | null | // test_beta_dist.cpp
// Copyright John Maddock 2006.
// Copyright Paul A. Bristow 2007, 2009, 2010.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt
// or copy at http://www.boost.org/LICENSE_1_0.txt)
// Basic sanit... | 45.696398 | 161 | 0.682745 | [
"shape"
] |
737a2930a3820f7f7a496bf573b5e387f75cca15 | 4,174 | hpp | C++ | far/headers.hpp | qlost/FarManager | f6a938157b306ef510bcf02ee404b78e1353e057 | [
"BSD-3-Clause"
] | 1 | 2019-03-09T03:13:22.000Z | 2019-03-09T03:13:22.000Z | far/headers.hpp | qlost/FarManager | f6a938157b306ef510bcf02ee404b78e1353e057 | [
"BSD-3-Clause"
] | null | null | null | far/headers.hpp | qlost/FarManager | f6a938157b306ef510bcf02ee404b78e1353e057 | [
"BSD-3-Clause"
] | null | null | null | #ifndef HEADERS_HPP_9A02D08B_02BB_4240_845F_36ED60ED2647
#define HEADERS_HPP_9A02D08B_02BB_4240_845F_36ED60ED2647
#pragma once
/*
headers.hpp
Стандартные заголовки
*/
/*
Copyright © 1996 Eugene Roshal
Copyright © 2000 Far Group
All rights reserved.
Redistribution and use in source and binary forms, with or without
... | 27.103896 | 118 | 0.749401 | [
"vector"
] |
737a9fda8c25c64ddbf5e59aad8b0957c63d0209 | 28,124 | cc | C++ | chrome/browser/ui/passwords/bubble_controllers/save_update_bubble_controller_unittest.cc | iridium-browser/iridium-browser | 907e31cf5ce5ad14d832796e3a7c11e496828959 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 575 | 2015-06-18T23:58:20.000Z | 2022-03-23T09:32:39.000Z | chrome/browser/ui/passwords/bubble_controllers/save_update_bubble_controller_unittest.cc | iridium-browser/iridium-browser | 907e31cf5ce5ad14d832796e3a7c11e496828959 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 113 | 2015-05-04T09:58:14.000Z | 2022-01-31T19:35:03.000Z | chrome/browser/ui/passwords/bubble_controllers/save_update_bubble_controller_unittest.cc | iridium-browser/iridium-browser | 907e31cf5ce5ad14d832796e3a7c11e496828959 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 52 | 2015-07-14T10:40:50.000Z | 2022-03-15T01:11:49.000Z | // 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 "chrome/browser/ui/passwords/bubble_controllers/save_update_bubble_controller.h"
#include <memory>
#include <string>
#include <utility>
#include... | 42.419306 | 89 | 0.728915 | [
"vector"
] |
7380f875a443234ad7e4fa19ea00db15d2ef3944 | 759 | cpp | C++ | example/constant.cpp | josephwinston/hana | a8586ec1812e14e43dfd6867209412aa1d254e1a | [
"BSL-1.0"
] | null | null | null | example/constant.cpp | josephwinston/hana | a8586ec1812e14e43dfd6867209412aa1d254e1a | [
"BSL-1.0"
] | null | null | null | example/constant.cpp | josephwinston/hana | a8586ec1812e14e43dfd6867209412aa1d254e1a | [
"BSL-1.0"
] | null | null | null | /*
@copyright Louis Dionne 2015
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
#include <boost/hana/assert.hpp>
#include <boost/hana/functor.hpp>
#include <boost/hana/integral_constant.hpp>
#include <boost/hana/tuple.hpp>
us... | 21.083333 | 78 | 0.682477 | [
"transform"
] |
7383f8e045174c804a0f21162211f93e874f27ea | 1,547 | cpp | C++ | src/lib/rendering/2d/fluid.cpp | Fluci/GooBalls | 4b68084303e66af368fd6bbf94aaec0950c9c6e3 | [
"BSD-3-Clause"
] | null | null | null | src/lib/rendering/2d/fluid.cpp | Fluci/GooBalls | 4b68084303e66af368fd6bbf94aaec0950c9c6e3 | [
"BSD-3-Clause"
] | null | null | null | src/lib/rendering/2d/fluid.cpp | Fluci/GooBalls | 4b68084303e66af368fd6bbf94aaec0950c9c6e3 | [
"BSD-3-Clause"
] | null | null | null | #include "fluid.hpp"
namespace GooBalls {
namespace d2 {
namespace Render {
Fluid::Fluid() : m_particles_position(new Coordinates()){
// Empty
}
Fluid::Fluid(std::shared_ptr<Coordinates> ptr, std::shared_ptr<Coordinates> boundary) : m_particles_position(ptr), m_boundary_position(boundary){
// Empty
}
// Fluid... | 21.191781 | 146 | 0.735617 | [
"render"
] |
738879e96e77a04dcabb23e611622a08ff52a13f | 13,178 | cpp | C++ | Gems/EMotionFX/Code/EMotionFX/Tools/EMotionStudio/Plugins/StandardPlugins/Source/Attachments/AttachmentsPlugin.cpp | sandeel31/o3de | db88812d61eef77c6f4451b7f8c7605d6db07412 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-08-08T19:54:51.000Z | 2021-08-08T19:54:51.000Z | Gems/EMotionFX/Code/EMotionFX/Tools/EMotionStudio/Plugins/StandardPlugins/Source/Attachments/AttachmentsPlugin.cpp | sandeel31/o3de | db88812d61eef77c6f4451b7f8c7605d6db07412 | [
"Apache-2.0",
"MIT"
] | 2 | 2022-01-13T04:29:38.000Z | 2022-03-12T01:05:31.000Z | Gems/EMotionFX/Code/EMotionFX/Tools/EMotionStudio/Plugins/StandardPlugins/Source/Attachments/AttachmentsPlugin.cpp | sandeel31/o3de | db88812d61eef77c6f4451b7f8c7605d6db07412 | [
"Apache-2.0",
"MIT"
] | null | null | null | /*
* Copyright (c) Contributors to the Open 3D Engine Project.
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
// include required headers
#include "AttachmentsPlugin.h"
#include <MCore/Source/LogManager.h>
#i... | 45.441379 | 227 | 0.680832 | [
"3d"
] |
738c611d55646043b24f8ce2628efa7739dd8fca | 5,945 | cc | C++ | ash/login/ui/lock_screen.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | ash/login/ui/lock_screen.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | ash/login/ui/lock_screen.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2021-01-05T23:43:46.000Z | 2021-01-07T23:36:34.000Z | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ash/login/ui/lock_screen.h"
#include <algorithm>
#include <memory>
#include <utility>
#include "ash/login/ui/lock_contents_view.h"
#include "a... | 30.177665 | 79 | 0.72582 | [
"vector"
] |
738dce79336bb3d1bab57e559331e9c67a9a62fb | 324 | hpp | C++ | ListAnimals.hpp | wolframtheta/cell | 71c14c391c00b2a125621a5134b5440a48c39d98 | [
"MIT"
] | null | null | null | ListAnimals.hpp | wolframtheta/cell | 71c14c391c00b2a125621a5134b5440a48c39d98 | [
"MIT"
] | null | null | null | ListAnimals.hpp | wolframtheta/cell | 71c14c391c00b2a125621a5134b5440a48c39d98 | [
"MIT"
] | null | null | null | #ifndef LISTANIMALS_HPP
#define LISTANIMALS_HPP
#include "Animal.hpp"
class ListAnimals {
public:
ListAnimals();
void addAnimal(Animal animal);
vector<Animal> getListAnimals();
Animal getAnimalByID(string ID);
Animal getAnimal(int i);
void print();
int size();
vector<Animal> listAnimals;
private:
};
#end... | 12.96 | 33 | 0.737654 | [
"vector"
] |
7390af9c05ab0a59673e91df449913974f24ff72 | 1,037 | cpp | C++ | src/liquid/tags/capture.cpp | kainjow/Jeqyll | 3a234a345087c5d3366b1eda98d3ed92d3888101 | [
"MIT"
] | 4 | 2018-02-01T04:46:37.000Z | 2021-01-13T18:20:38.000Z | src/liquid/tags/capture.cpp | kainjow/Jeqyll | 3a234a345087c5d3366b1eda98d3ed92d3888101 | [
"MIT"
] | null | null | null | src/liquid/tags/capture.cpp | kainjow/Jeqyll | 3a234a345087c5d3366b1eda98d3ed92d3888101 | [
"MIT"
] | 3 | 2017-03-27T19:12:56.000Z | 2021-03-23T04:24:51.000Z | #include "capture.hpp"
#include "parser.hpp"
#include "context.hpp"
#include "template.hpp"
Liquid::CaptureTag::CaptureTag(const Context& context, const StringRef& tagName, const StringRef& markup)
: BlockTag(context, tagName, markup)
{
Parser parser(markup);
to_ = parser.consume(Token::Type::Id);
(voi... | 25.925 | 136 | 0.633558 | [
"render"
] |
739a7e523f4c3b3a175179e384e21fc9026a6d21 | 2,268 | cpp | C++ | src/app/CreateGlobalMatchPairs.cpp | rajvishah/ms-sfm | 0de1553c471c416ce5ca3d19c65abe36d8e17a07 | [
"MIT"
] | null | null | null | src/app/CreateGlobalMatchPairs.cpp | rajvishah/ms-sfm | 0de1553c471c416ce5ca3d19c65abe36d8e17a07 | [
"MIT"
] | null | null | null | src/app/CreateGlobalMatchPairs.cpp | rajvishah/ms-sfm | 0de1553c471c416ce5ca3d19c65abe36d8e17a07 | [
"MIT"
] | null | null | null | #include <iostream>
#include <sstream>
#include <fstream>
#include <string>
#include <math.h>
#include <string>
#include <stdlib.h>
#include <vector>
#include <algorithm>
using namespace std;
int main(int argc, char* argv[]) {
string keyList = argv[1];
string resultPath = argv[2];
string numListsStr = argv[... | 27 | 104 | 0.526896 | [
"vector"
] |
739cc45a4eced5aaaf400991f631332afcc1ef91 | 8,998 | cpp | C++ | src/lib/geogram/voronoi/generic_RVD_polygon.cpp | jdumas/geogram-1 | fd696441132d3d1dcab9ec4a02d12786255e354f | [
"BSD-3-Clause"
] | 348 | 2022-02-23T15:58:43.000Z | 2022-03-31T06:38:32.000Z | src/lib/geogram/voronoi/generic_RVD_polygon.cpp | jdumas/geogram-1 | fd696441132d3d1dcab9ec4a02d12786255e354f | [
"BSD-3-Clause"
] | 4 | 2022-02-28T02:30:40.000Z | 2022-03-11T12:32:32.000Z | src/lib/geogram/voronoi/generic_RVD_polygon.cpp | jdumas/geogram-1 | fd696441132d3d1dcab9ec4a02d12786255e354f | [
"BSD-3-Clause"
] | 22 | 2022-02-23T15:45:06.000Z | 2022-03-25T20:25:29.000Z | /*
* Copyright (c) 2012-2014, Bruno Levy
* 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 c... | 39.991111 | 87 | 0.522338 | [
"mesh"
] |
739ffa54cabe0581a97eb3c532bed406e5e2609b | 3,078 | cpp | C++ | examples/logistic_regression.cpp | Christina-hshi/Boosting-with-Husky | 1744f0c90567a969d3e50d19f27f358f5865d2f6 | [
"Apache-2.0"
] | 1 | 2019-01-23T02:10:10.000Z | 2019-01-23T02:10:10.000Z | examples/logistic_regression.cpp | Christina-hshi/Boosting-with-Husky | 1744f0c90567a969d3e50d19f27f358f5865d2f6 | [
"Apache-2.0"
] | null | null | null | examples/logistic_regression.cpp | Christina-hshi/Boosting-with-Husky | 1744f0c90567a969d3e50d19f27f358f5865d2f6 | [
"Apache-2.0"
] | null | null | null | // Copyright 2016 Husky Team
//
// 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 writi... | 32.4 | 107 | 0.69883 | [
"vector",
"model"
] |
73a01dbdf8a405bc33e15f046b0fb2bc523ec861 | 3,906 | cpp | C++ | src/ui/ui.cpp | Toxe/video-trimmer | 09f00d7a09eeae8a3910a5ec63bfd966b411aef0 | [
"MIT"
] | null | null | null | src/ui/ui.cpp | Toxe/video-trimmer | 09f00d7a09eeae8a3910a5ec63bfd966b411aef0 | [
"MIT"
] | null | null | null | src/ui/ui.cpp | Toxe/video-trimmer | 09f00d7a09eeae8a3910a5ec63bfd966b411aef0 | [
"MIT"
] | null | null | null | #include "ui.h"
#include <fmt/core.h>
#include "colors.h"
#include "event_handler/event_handler.h"
const float left_pane_width = 500.0f;
const float additional_info_pane_height = 400.0f;
const float playback_controls_pane_height = 100.0f;
const float trim_controls_pane_height = 150.0f;
void UI::render()
{
rende... | 28.510949 | 162 | 0.718382 | [
"render"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.