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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8d515517290f7dbc2cf1c2905846821f47b690d6 | 1,061 | cpp | C++ | Source/Rendering/RNRenderer.cpp | uberpixel/Rayne | 94f601561aedfc3200e67ff9522f64fbc5ca4d8c | [
"MIT"
] | 13 | 2020-08-08T11:57:05.000Z | 2022-03-10T17:29:19.000Z | Source/Rendering/RNRenderer.cpp | uberpixel/Rayne | 94f601561aedfc3200e67ff9522f64fbc5ca4d8c | [
"MIT"
] | 1 | 2022-03-10T17:35:28.000Z | 2022-03-10T18:21:57.000Z | Source/Rendering/RNRenderer.cpp | uberpixel/Rayne | 94f601561aedfc3200e67ff9522f64fbc5ca4d8c | [
"MIT"
] | 3 | 2020-08-08T14:22:34.000Z | 2021-05-15T21:12:17.000Z | //
// RNRenderer.cpp
// Rayne
//
// Copyright 2015 by Überpixel. All rights reserved.
// Unauthorized use is punishable by torture, mutilation, and vivisection.
//
#include "RNRenderer.h"
#include "../Base/RNSettings.h"
namespace RN
{
RNDefineMeta(Renderer, Object)
RNExceptionImp(ShaderCompilation)
static Re... | 20.018868 | 96 | 0.7295 | [
"object"
] |
8d520cf8dbed63d6cddb4e1a68beee5ad1df0104 | 13,000 | cpp | C++ | src/engine/utils/src/navigation/navmesh_generator.cpp | moonantonio/halley | c4dfc476ab58539ebb503a5fcdb929413674254d | [
"Apache-2.0"
] | null | null | null | src/engine/utils/src/navigation/navmesh_generator.cpp | moonantonio/halley | c4dfc476ab58539ebb503a5fcdb929413674254d | [
"Apache-2.0"
] | null | null | null | src/engine/utils/src/navigation/navmesh_generator.cpp | moonantonio/halley | c4dfc476ab58539ebb503a5fcdb929413674254d | [
"Apache-2.0"
] | null | null | null | #include "halley/navigation/navmesh_generator.h"
#include "halley/navigation/navmesh_set.h"
using namespace Halley;
NavmeshSet NavmeshGenerator::generate(const NavmeshBounds& bounds, gsl::span<const Polygon> rawObstacles, gsl::span<const Polygon> regions, int subWorld, float agentSize)
{
auto obstacles = preProcessOb... | 27.484144 | 187 | 0.646538 | [
"vector"
] |
8d59525e938179e95cb2863a80094b19d231dad6 | 5,809 | inl | C++ | Gems/Gestures/Code/Include/Gestures/GestureRecognizerSwipe.inl | cypherdotXd/o3de | bb90c4ddfe2d495e9c00ebf1e2650c6d603a5676 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-07-17T23:46:31.000Z | 2021-07-17T23:46:31.000Z | Gems/Gestures/Code/Include/Gestures/GestureRecognizerSwipe.inl | cypherdotXd/o3de | bb90c4ddfe2d495e9c00ebf1e2650c6d603a5676 | [
"Apache-2.0",
"MIT"
] | null | null | null | Gems/Gestures/Code/Include/Gestures/GestureRecognizerSwipe.inl | cypherdotXd/o3de | bb90c4ddfe2d495e9c00ebf1e2650c6d603a5676 | [
"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 <AzCore/Serialization/SerializeContext.h>
#include <AzCore/Serialization/EditContext.h>
#... | 34.372781 | 189 | 0.56619 | [
"3d"
] |
8d66b23ed92d94c27f5ea11905925d048abf6587 | 1,659 | cpp | C++ | EDU/segment_tree/step 3/Nested_Segments.cpp | cfuser/codeforces | 7f6d56ad8879bc8707b84b6f7e4d40511eab3914 | [
"MIT"
] | 10 | 2020-12-08T10:43:35.000Z | 2021-12-24T02:50:36.000Z | EDU/segment_tree/step 3/Nested_Segments.cpp | cfuser/codeforces | 7f6d56ad8879bc8707b84b6f7e4d40511eab3914 | [
"MIT"
] | null | null | null | EDU/segment_tree/step 3/Nested_Segments.cpp | cfuser/codeforces | 7f6d56ad8879bc8707b84b6f7e4d40511eab3914 | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
struct segtree
{
int size;
vector<long long> sums;
void init(int n)
{
size = 1;
while (size < n) size *= 2;
sums.assign(2 * size, 0LL);
}
void build(vector<int> &a, int x, int lx, int rx)
{
if (rx - lx == 1)
{
if (lx < (int)a.size()) sums[x] = a[lx];
r... | 19.75 | 60 | 0.482821 | [
"vector"
] |
8d6814cfb884451fcb5d02e44f361c76d584287f | 2,248 | cpp | C++ | Source/Runtime/Private/Components/ComFixedJoint.cpp | redchew-fork/BlueshiftEngine | fbc374cbc391e1147c744649f405a66a27c35d89 | [
"Apache-2.0"
] | 410 | 2017-03-03T08:56:54.000Z | 2022-03-29T07:18:46.000Z | Source/Runtime/Private/Components/ComFixedJoint.cpp | redchew-fork/BlueshiftEngine | fbc374cbc391e1147c744649f405a66a27c35d89 | [
"Apache-2.0"
] | 31 | 2017-03-05T11:37:44.000Z | 2021-09-15T21:28:34.000Z | Source/Runtime/Private/Components/ComFixedJoint.cpp | redchew-fork/BlueshiftEngine | fbc374cbc391e1147c744649f405a66a27c35d89 | [
"Apache-2.0"
] | 48 | 2017-03-18T05:28:21.000Z | 2022-03-05T12:27:17.000Z | // Copyright(c) 2017 POLYGONTEK
//
// 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 i... | 29.194805 | 143 | 0.727758 | [
"render"
] |
8d6a2d35e3c6767973989cc4c16b430d18af2d73 | 5,778 | hpp | C++ | src/terark/thread/instance_tls.hpp | rockeet/terark-zip | 3235373d04b7cf5d584259111b3a057c45cc1708 | [
"BSD-3-Clause"
] | 44 | 2020-12-21T05:14:38.000Z | 2022-03-15T11:27:32.000Z | src/terark/thread/instance_tls.hpp | rockeet/terark-zip | 3235373d04b7cf5d584259111b3a057c45cc1708 | [
"BSD-3-Clause"
] | 2 | 2020-12-28T10:42:03.000Z | 2021-05-21T07:22:47.000Z | src/terark/thread/instance_tls.hpp | rockeet/terark-zip | 3235373d04b7cf5d584259111b3a057c45cc1708 | [
"BSD-3-Clause"
] | 21 | 2020-12-22T09:40:16.000Z | 2021-12-07T18:16:00.000Z | #pragma once
#include <new>
#include <memory>
#include <mutex>
#include <assert.h>
#include <stdint.h>
#include <stdlib.h>
#include <boost/noncopyable.hpp>
#include <terark/valvec.hpp>
#include <terark/util/throw.hpp>
namespace terark {
template<class T>
T* tls_born(size_t n) {
T* p = (T*)malloc(sizeof(T) * n);
... | 29.783505 | 77 | 0.571651 | [
"object"
] |
8d6d42159a547dfea3203e376599a97cd722f851 | 3,198 | cpp | C++ | App/DatumCS.cpp | haisenzhao/CarpentryCompiler | c9714310b7ce7523a25becd397265bfaa3ab7ea3 | [
"FSFAP"
] | 21 | 2019-12-06T09:57:10.000Z | 2021-09-22T12:58:09.000Z | App/DatumCS.cpp | haisenzhao/CarpentryCompiler | c9714310b7ce7523a25becd397265bfaa3ab7ea3 | [
"FSFAP"
] | null | null | null | App/DatumCS.cpp | haisenzhao/CarpentryCompiler | c9714310b7ce7523a25becd397265bfaa3ab7ea3 | [
"FSFAP"
] | 5 | 2020-11-18T00:09:30.000Z | 2021-01-13T04:40:47.000Z | /***************************************************************************
* Copyright (c) 2015 Stefan Tröger <stefantroeger@gmx.net> *
* *
* This file is part of the FreeCAD CAx development system. *
* ... | 35.142857 | 105 | 0.540963 | [
"shape"
] |
8d6de686af4902c0b11d55ba4d6bcdf37c495773 | 12,544 | cc | C++ | src/util/misc.cc | ognis/jargon | 3cd9917f5ffb3a7185467b6294656e666f04d05b | [
"Apache-2.0"
] | null | null | null | src/util/misc.cc | ognis/jargon | 3cd9917f5ffb3a7185467b6294656e666f04d05b | [
"Apache-2.0"
] | null | null | null | src/util/misc.cc | ognis/jargon | 3cd9917f5ffb3a7185467b6294656e666f04d05b | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2014- Shingo OKAWA
*/
#include <assert.h>
#include <cctype>
#include <limits.h>
#include <map>
#include <iostream>
#include "dirent.h"
#include "misc.h"
#if defined(JARGON_HAVE_SYS_TIME_H)
# include <sys/time.h>
#elif defined(JARGON_HAVE_TIME_H)
# include <time.h>
#endif
#ifdef JARGON_HAVE_SYS_... | 22.480287 | 90 | 0.616869 | [
"vector"
] |
8d713e31640ad00d810a78b0e003672dd3a31af7 | 23,789 | cc | C++ | proto/encpb/auc_impr_encs.pb.cc | qf6101/algorithm-components | f7307e4bd9697ee473d5763e0a61df7891b699f6 | [
"Apache-2.0"
] | 2 | 2019-11-27T11:43:45.000Z | 2020-11-09T09:21:23.000Z | proto/encpb/auc_impr_encs.pb.cc | qf6101/algorithm-components | f7307e4bd9697ee473d5763e0a61df7891b699f6 | [
"Apache-2.0"
] | null | null | null | proto/encpb/auc_impr_encs.pb.cc | qf6101/algorithm-components | f7307e4bd9697ee473d5763e0a61df7891b699f6 | [
"Apache-2.0"
] | 2 | 2019-12-16T18:54:17.000Z | 2020-02-24T07:52:24.000Z | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: encpb/auc_impr_encs.proto
#include "encpb/auc_impr_encs.pb.h"
#include <algorithm>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/port.h>
#include <google/protobuf/stubs/once.h>
#include <google/protobuf/io/coded_stream... | 38.001597 | 168 | 0.702215 | [
"object"
] |
8d71b26ddb211cfc2bbebc46473fc5ef71ffb6be | 1,373 | cxx | C++ | smtk/model/Chain.cxx | jcfr/SMTK | 0069ea37f8f71a440b8f10a157b84a56ca004551 | [
"BSD-3-Clause-Clear"
] | 40 | 2015-02-21T19:55:54.000Z | 2022-01-06T13:13:05.000Z | smtk/model/Chain.cxx | jcfr/SMTK | 0069ea37f8f71a440b8f10a157b84a56ca004551 | [
"BSD-3-Clause-Clear"
] | 127 | 2015-01-15T20:55:45.000Z | 2021-08-19T17:34:15.000Z | smtk/model/Chain.cxx | jcfr/SMTK | 0069ea37f8f71a440b8f10a157b84a56ca004551 | [
"BSD-3-Clause-Clear"
] | 27 | 2015-03-04T14:17:51.000Z | 2021-12-23T01:05:42.000Z | //=========================================================================
// Copyright (c) Kitware, Inc.
// All rights reserved.
// See LICENSE.txt for details.
//
// This software is distributed WITHOUT ANY WARRANTY; without even
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURPOSE... | 24.963636 | 83 | 0.638747 | [
"model"
] |
8d740c21e1c137812fceee2c50fcfca23fc9d8b9 | 14,829 | cpp | C++ | src/clientmanager.cpp | The-Compiler/herbstluftwm | a4f13aa299a760841ee204ddb180944bad6ceb2d | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | src/clientmanager.cpp | The-Compiler/herbstluftwm | a4f13aa299a760841ee204ddb180944bad6ceb2d | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | src/clientmanager.cpp | The-Compiler/herbstluftwm | a4f13aa299a760841ee204ddb180944bad6ceb2d | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | #include "clientmanager.h"
#include <X11/Xlib.h>
#include <algorithm>
#include <string>
#include "attribute.h"
#include "client.h"
#include "completion.h"
#include "decoration.h"
#include "ewmh.h"
#include "globals.h"
#include "ipc-protocol.h"
#include "monitor.h"
#include "monitormanager.h"
#include "mousemanager.h"... | 30.575258 | 118 | 0.620406 | [
"vector"
] |
8d74d9a674b7cc21d0a2ae687eef89eb02a0db2d | 35,515 | cpp | C++ | B2G/gecko/extensions/gio/nsGIOProtocolHandler.cpp | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | 3 | 2015-08-31T15:24:31.000Z | 2020-04-24T20:31:29.000Z | B2G/gecko/extensions/gio/nsGIOProtocolHandler.cpp | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | null | null | null | B2G/gecko/extensions/gio/nsGIOProtocolHandler.cpp | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | 3 | 2015-07-29T07:17:15.000Z | 2020-11-04T06:55:37.000Z | /* vim:set ts=2 sw=2 et cindent: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/*
* This code is based on original Mozilla gnome-vfs extension. It implement... | 31.568889 | 108 | 0.633225 | [
"object"
] |
8d77318d9d3b7c64b978c1f6ab08ba1c8c2f4e17 | 8,798 | hpp | C++ | include/MasterServer/ClientKeyExchangeRequest.hpp | marksteward/BeatSaber-Quest-Codegen | a76f063f71cef207a9f048ad7613835f554911a7 | [
"Unlicense"
] | null | null | null | include/MasterServer/ClientKeyExchangeRequest.hpp | marksteward/BeatSaber-Quest-Codegen | a76f063f71cef207a9f048ad7613835f554911a7 | [
"Unlicense"
] | null | null | null | include/MasterServer/ClientKeyExchangeRequest.hpp | marksteward/BeatSaber-Quest-Codegen | a76f063f71cef207a9f048ad7613835f554911a7 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
#include "extern/beatsaber-hook/shared/utils/byref.hpp"
// Including type: BaseMasterServ... | 59.85034 | 223 | 0.765288 | [
"object",
"vector"
] |
8d77c65f82e84fa759c47638097aa68275601a33 | 41,496 | cpp | C++ | src/eval.cpp | Mespyr/bop | f1ca7a0e242f437905a1258ea1c7243b232f8825 | [
"MIT"
] | 3 | 2021-03-23T13:30:44.000Z | 2021-03-26T06:41:36.000Z | src/eval.cpp | Mespyr/bop | f1ca7a0e242f437905a1258ea1c7243b232f8825 | [
"MIT"
] | null | null | null | src/eval.cpp | Mespyr/bop | f1ca7a0e242f437905a1258ea1c7243b232f8825 | [
"MIT"
] | null | null | null | #include "../include/eval.h"
Node AST_Handler::next()
{
ptr++;
if (ptr >= (int) ast.nodes.size())
{
eof = true;
}
return ast.nodes.at(ptr-1);
}
object Null()
{
return make_object(BOP_NUMBER, "0");
}
// formatting strings
std::string Function_format_string(std::vector<object> objs) ... | 36.62489 | 140 | 0.426234 | [
"object",
"vector"
] |
8d7910d0ea195d3c543e631f102bec292a87e842 | 6,986 | cpp | C++ | arangod/VocBase/Validators.cpp | Mu-L/arangodb | a6bd3ccd6f622fab2a288d2e3a06ab8e338d3ec1 | [
"BSL-1.0",
"Apache-2.0"
] | null | null | null | arangod/VocBase/Validators.cpp | Mu-L/arangodb | a6bd3ccd6f622fab2a288d2e3a06ab8e338d3ec1 | [
"BSL-1.0",
"Apache-2.0"
] | null | null | null | arangod/VocBase/Validators.cpp | Mu-L/arangodb | a6bd3ccd6f622fab2a288d2e3a06ab8e338d3ec1 | [
"BSL-1.0",
"Apache-2.0"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
/// DISCLAIMER
///
/// Copyright 2014-2021 ArangoDB GmbH, Cologne, Germany
/// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except... | 34.756219 | 80 | 0.651589 | [
"object"
] |
8d7d4c736889aa75ec7621d755fbbd5a5745c778 | 7,970 | hpp | C++ | include/wila/wrappers.hpp | csiro-hydroinformatics/wila | f203dad0e10185a171480a684bc58b57e34fed12 | [
"MIT"
] | 1 | 2017-06-19T01:54:36.000Z | 2017-06-19T01:54:36.000Z | include/wila/wrappers.hpp | jmp75/wila | f203dad0e10185a171480a684bc58b57e34fed12 | [
"MIT"
] | 6 | 2017-06-02T04:38:02.000Z | 2018-12-12T05:45:58.000Z | include/wila/wrappers.hpp | csiro-hydroinformatics/wila | f203dad0e10185a171480a684bc58b57e34fed12 | [
"MIT"
] | 4 | 2015-09-21T01:11:33.000Z | 2018-05-25T03:39:57.000Z | #pragma once
#include <string>
#include <vector>
#include <atomic>
#include <map>
#include <random>
#include <functional>
#include "core.hpp"
namespace mhcpp
{
namespace types
{
using std::string;
template<typename Type, typename BaseType>
static Type* As(BaseType* ptr)
{
return dynamic_cast<Type*>(ptr)... | 25.876623 | 116 | 0.669762 | [
"object",
"vector"
] |
8d7f7f8e1fe480eb8373ed5dcf170e9fc75c2aba | 964 | cpp | C++ | Leetcode - Top Interview Questions/(leetcode)SpiralMatrix.cpp | kothariji/Competitive-Programming | c49f8b0135c8e9dd284ce8ab583e85ba3d809b8c | [
"MIT"
] | 1 | 2020-08-27T06:59:52.000Z | 2020-08-27T06:59:52.000Z | Leetcode - Top Interview Questions/(leetcode)SpiralMatrix.cpp | kothariji/Competitive-Programming | c49f8b0135c8e9dd284ce8ab583e85ba3d809b8c | [
"MIT"
] | null | null | null | Leetcode - Top Interview Questions/(leetcode)SpiralMatrix.cpp | kothariji/Competitive-Programming | c49f8b0135c8e9dd284ce8ab583e85ba3d809b8c | [
"MIT"
] | null | null | null | class Solution {
public:
vector<int> spiralOrder(vector<vector<int>>& matrix) {
vector<int> ans;
int c=0,i,j,n=matrix.size(),m=matrix[0].size(),p=0;
while(p<n*m)
{
for(i=c;i<m-c-1;i++)
if(matrix[c][i]!=101)
ans.push_back(matrix[c][i]),matri... | 30.125 | 73 | 0.421162 | [
"vector"
] |
8d80a3f8d2899595b7683727ce4b1a6d84dcaf27 | 25,992 | cpp | C++ | hphp/runtime/ext/hash/hash_ripemd.cpp | OrochiProject/hhvm-verifier | 4bba454dce32d5bceb12d4ca8c9f1fa5df2024c5 | [
"PHP-3.01",
"Zend-2.0"
] | 3 | 2015-04-21T12:15:53.000Z | 2016-12-25T09:15:44.000Z | hphp/runtime/ext/hash/hash_ripemd.cpp | OrochiProject/hhvm-verifier | 4bba454dce32d5bceb12d4ca8c9f1fa5df2024c5 | [
"PHP-3.01",
"Zend-2.0"
] | 1 | 2017-04-10T11:50:15.000Z | 2017-04-10T11:50:15.000Z | hphp/runtime/ext/hash/hash_ripemd.cpp | OrochiProject/hhvm-verifier | 4bba454dce32d5bceb12d4ca8c9f1fa5df2024c5 | [
"PHP-3.01",
"Zend-2.0"
] | 1 | 2015-06-16T05:47:12.000Z | 2015-06-16T05:47:12.000Z | /*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010-2014 Facebook, Inc. (http://www.facebook.com) |
| Copyrigh... | 33.494845 | 132 | 0.541128 | [
"transform"
] |
8d86020f6a3f6fcc370ec3fa0c1d5b060642123a | 27,951 | cpp | C++ | src/video_core/shader/control_flow.cpp | maierfelix/bnsh-decoder | e02ccef69780831b38fe5b31710855d9ca6a5977 | [
"MIT"
] | 4 | 2020-11-11T05:36:24.000Z | 2021-12-25T05:22:09.000Z | src/video_core/shader/control_flow.cpp | maierfelix/bnsh-decoder | e02ccef69780831b38fe5b31710855d9ca6a5977 | [
"MIT"
] | 1 | 2021-01-24T00:22:38.000Z | 2021-01-24T00:22:38.000Z | src/video_core/shader/control_flow.cpp | maierfelix/bnsh-decoder | e02ccef69780831b38fe5b31710855d9ca6a5977 | [
"MIT"
] | 3 | 2021-02-24T12:01:13.000Z | 2021-12-14T01:37:53.000Z | // Copyright 2019 yuzu Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include <list>
#include <map>
#include <set>
#include <stack>
#include <unordered_map>
#include <vector>
#include "common/assert.h"
#include "common/common_types.h"
#include "video_core/sha... | 37.317757 | 99 | 0.595972 | [
"vector"
] |
8d8cde9b62d3e577c975d97255a41f7e417a575c | 18,916 | cpp | C++ | lanelet2_python/python_api/routing.cpp | icolwell-as/Lanelet2 | 0e2e222352936cd70a9fab5256684a97c3091996 | [
"BSD-3-Clause"
] | null | null | null | lanelet2_python/python_api/routing.cpp | icolwell-as/Lanelet2 | 0e2e222352936cd70a9fab5256684a97c3091996 | [
"BSD-3-Clause"
] | null | null | null | lanelet2_python/python_api/routing.cpp | icolwell-as/Lanelet2 | 0e2e222352936cd70a9fab5256684a97c3091996 | [
"BSD-3-Clause"
] | null | null | null | #include <lanelet2_routing/Route.h>
#include <lanelet2_routing/RoutingGraph.h>
#include <boost/python.hpp>
#include "internal/converter.h"
using namespace boost::python;
using namespace lanelet;
Optional<std::shared_ptr<lanelet::routing::Route>> getRouteWrapper(const lanelet::routing::RoutingGraph& self,
... | 67.316726 | 120 | 0.661715 | [
"object"
] |
8d90d7fa61f62041436a958db85f262e1c10cce4 | 1,556 | cpp | C++ | atcoder/abc102/D/main.cpp | xirc/cp-algorithm | 89c67cff2f00459c5bb020ab44bff5ae419a1728 | [
"Apache-2.0"
] | 8 | 2020-12-23T07:54:53.000Z | 2021-11-23T02:46:35.000Z | atcoder/abc102/D/main.cpp | xirc/cp-algorithm | 89c67cff2f00459c5bb020ab44bff5ae419a1728 | [
"Apache-2.0"
] | 1 | 2020-11-07T13:22:29.000Z | 2020-12-20T12:54:00.000Z | atcoder/abc102/D/main.cpp | xirc/cp-algorithm | 89c67cff2f00459c5bb020ab44bff5ae419a1728 | [
"Apache-2.0"
] | 1 | 2021-01-16T03:40:10.000Z | 2021-01-16T03:40:10.000Z | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
int N;
vector<ll> A;
ll solve() {
assert(N >= 4);
vector<ll> B;
B.assign(N, 0);
B[0] = A[0];
for (int i = 1; i < N; ++i) {
B[i] = B[i-1] + A[i];
}
vector<int> L(N, -1), R(N, -1);
L[1] = 0;
for (int i = ... | 21.027027 | 72 | 0.337404 | [
"vector"
] |
8d95dd769c1830f78e9e87f8e6d3dbdd327bcc83 | 534 | cpp | C++ | leetcode/115. Distinct Subsequences/s3.cpp | joycse06/LeetCode-1 | ad105bd8c5de4a659c2bbe6b19f400b926c82d93 | [
"Fair"
] | 1 | 2021-02-11T01:23:10.000Z | 2021-02-11T01:23:10.000Z | leetcode/115. Distinct Subsequences/s3.cpp | aerlokesh494/LeetCode | 0f2cbb28d5a9825b51a8d3b3a0ae0c30d7ff155f | [
"Fair"
] | 1 | 2021-08-08T18:44:24.000Z | 2021-08-08T18:44:24.000Z | leetcode/115. Distinct Subsequences/s3.cpp | aerlokesh494/LeetCode | 0f2cbb28d5a9825b51a8d3b3a0ae0c30d7ff155f | [
"Fair"
] | 1 | 2021-03-25T17:11:14.000Z | 2021-03-25T17:11:14.000Z | // OJ: https://leetcode.com/problems/distinct-subsequences
// Author: github.com/lzl124631x
// Time: O(ST)
// Space: O(T)
class Solution {
typedef long long LL;
public:
int numDistinct(string s, string t) {
int M = s.size(), N = t.size();
vector<LL> dp(N + 1);
for (int i = M; i >= 0; --i... | 28.105263 | 58 | 0.440075 | [
"vector"
] |
8d98b2328891ca3e79aa627e81efe7ea42dae687 | 8,518 | cc | C++ | src/Generator.cc | maruinen/FullereneViewer | da1554af2de21e90bfa0380a5b635f8bab8e2d8c | [
"Apache-2.0"
] | null | null | null | src/Generator.cc | maruinen/FullereneViewer | da1554af2de21e90bfa0380a5b635f8bab8e2d8c | [
"Apache-2.0"
] | null | null | null | src/Generator.cc | maruinen/FullereneViewer | da1554af2de21e90bfa0380a5b635f8bab8e2d8c | [
"Apache-2.0"
] | null | null | null | /*
* Project: FullereneViewer
* Version: 1.0
* Copyright: (C) 2011-14 Dr.Sc.KAWAMOTO,Takuji (Ext)
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <sys/time.h>
#if defined(__FreeBSD__) || defined(__MACH__) || defined(__linux__)
#include <sys/resource.h>
#endif
#include ... | 26.290123 | 85 | 0.634539 | [
"object"
] |
8d9ecbed039c26e15fdf034f6062fddd70b75e13 | 4,887 | cpp | C++ | CodeForces/Solutions/1062E.cpp | Shefin-CSE16/Competitive-Programming | 7c792081ae1d4b7060893165de34ffe7b9b7caed | [
"MIT"
] | 5 | 2020-10-03T17:15:26.000Z | 2022-03-29T21:39:22.000Z | CodeForces/Solutions/1062E.cpp | Shefin-CSE16/Competitive-Programming | 7c792081ae1d4b7060893165de34ffe7b9b7caed | [
"MIT"
] | null | null | null | CodeForces/Solutions/1062E.cpp | Shefin-CSE16/Competitive-Programming | 7c792081ae1d4b7060893165de34ffe7b9b7caed | [
"MIT"
] | 1 | 2021-03-01T12:56:50.000Z | 2021-03-01T12:56:50.000Z | #include <bits/stdc++.h>
using namespace std;
#define ll int
#define pll pair <ll, ll>
#define kom first
#define boro second
#define ln(node) (node << 1)
#define rn(node) ( (node << 1) | 1)
#define inf 1000000000
vector <ll> g[100009];
ll start[100009], stop[100009], TM = 0, id = 0;
ll ara[400009], nodeOf[100009], in... | 24.807107 | 77 | 0.499693 | [
"vector"
] |
8d9f9f8d00bfc8fa653d1f3ede266f7bce28dbbd | 3,054 | hpp | C++ | include/codegen/include/GlobalNamespace/OVRInput_OVRControllerRTouch.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 1 | 2021-11-12T09:29:31.000Z | 2021-11-12T09:29:31.000Z | include/codegen/include/GlobalNamespace/OVRInput_OVRControllerRTouch.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | null | null | null | include/codegen/include/GlobalNamespace/OVRInput_OVRControllerRTouch.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 2 | 2021-10-03T02:14:20.000Z | 2021-11-12T09:29:36.000Z | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
#pragma pack(push, 8)
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
// Including type: OVRInput
#include "GlobalNamespace/OVRInput.hpp"
// Inc... | 44.26087 | 108 | 0.731172 | [
"object"
] |
8da42432caa9973f0d5e05d52b9d922551532945 | 15,190 | cpp | C++ | src/Pegasus/FQL/tests/clitest/main.cpp | natronkeltner/openpegasus | e64f383c1ed37826041fc63e83b4e65fc1c679ae | [
"ICU",
"Unlicense",
"OpenSSL",
"MIT"
] | 1 | 2021-11-12T21:28:50.000Z | 2021-11-12T21:28:50.000Z | src/Pegasus/FQL/tests/clitest/main.cpp | natronkeltner/openpegasus | e64f383c1ed37826041fc63e83b4e65fc1c679ae | [
"ICU",
"Unlicense",
"OpenSSL",
"MIT"
] | 39 | 2021-01-18T19:28:41.000Z | 2022-03-27T20:55:36.000Z | src/Pegasus/FQL/tests/clitest/main.cpp | natronkeltner/openpegasus | e64f383c1ed37826041fc63e83b4e65fc1c679ae | [
"ICU",
"Unlicense",
"OpenSSL",
"MIT"
] | 4 | 2021-07-09T12:52:33.000Z | 2021-12-21T15:05:59.000Z | //%LICENSE////////////////////////////////////////////////////////////////
//
// Licensed to The Open Group (TOG) under one or more contributor license
// agreements. Refer to the OpenPegasusNOTICE.txt file distributed with
// this work for additional information regarding copyright ownership.
// Each contributor lice... | 29.552529 | 79 | 0.596313 | [
"object"
] |
8dacea78394a7afa2166594b8b020b678e94bf25 | 3,704 | cpp | C++ | ngraph/test/onnx/onnx_import_exceptions.cpp | Andruxin52rus/openvino | d824e371fe7dffb90e6d3d58e4e34adecfce4606 | [
"Apache-2.0"
] | 1 | 2022-01-19T15:36:45.000Z | 2022-01-19T15:36:45.000Z | ngraph/test/onnx/onnx_import_exceptions.cpp | Andruxin52rus/openvino | d824e371fe7dffb90e6d3d58e4e34adecfce4606 | [
"Apache-2.0"
] | 22 | 2021-02-03T12:41:51.000Z | 2022-02-21T13:04:48.000Z | ngraph/test/onnx/onnx_import_exceptions.cpp | mmakridi/openvino | 769bb7709597c14debdaa356dd60c5a78bdfa97e | [
"Apache-2.0"
] | 1 | 2021-07-28T17:30:46.000Z | 2021-07-28T17:30:46.000Z | //*****************************************************************************
// Copyright 2017-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://w... | 35.615385 | 98 | 0.641469 | [
"shape",
"model"
] |
8dae3f438642d23db9fce6aa58a0231d3c08183e | 32,492 | hpp | C++ | include/System/Collections/Concurrent/ConcurrentQueue_1.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | include/System/Collections/Concurrent/ConcurrentQueue_1.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | include/System/Collections/Concurrent/ConcurrentQueue_1.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
// Including type: System.Collections.ICollection
#include "System/Collections/ICollectio... | 71.254386 | 913 | 0.705835 | [
"object",
"vector"
] |
8dae8ccad90865d11400d984ec99eb1ca5ee0fea | 17,827 | cpp | C++ | Engine/source/math/util/frustum.cpp | fr1tz/alux3d | 249a3b51751ce3184d52879b481f83eabe89e7e3 | [
"MIT"
] | null | null | null | Engine/source/math/util/frustum.cpp | fr1tz/alux3d | 249a3b51751ce3184d52879b481f83eabe89e7e3 | [
"MIT"
] | null | null | null | Engine/source/math/util/frustum.cpp | fr1tz/alux3d | 249a3b51751ce3184d52879b481f83eabe89e7e3 | [
"MIT"
] | 1 | 2018-10-26T03:18:22.000Z | 2018-10-26T03:18:22.000Z | // Copyright information can be found in the file named COPYING
// located in the root directory of this distribution.
#include "platform/platform.h"
#include "math/util/frustum.h"
#include "math/mMathFn.h"
#include "math/mathUtils.h"
#include "math/mSphere.h"
#include "platform/profiler.h"
//TODO: For OBB/frustum ... | 37.530526 | 121 | 0.52471 | [
"transform"
] |
8db4f5f6c4a699e57e8b08eb7ff548bd8ca60c44 | 3,099 | cpp | C++ | benchmarks/linear_algebra/cg/compute_residual.cpp | akmaru/tiramisu | 8ca4173547b6d12cff10575ef0dc48cf93f7f414 | [
"MIT"
] | 23 | 2017-05-03T13:06:34.000Z | 2018-06-07T07:12:43.000Z | benchmarks/linear_algebra/cg/compute_residual.cpp | akmaru/tiramisu | 8ca4173547b6d12cff10575ef0dc48cf93f7f414 | [
"MIT"
] | 2 | 2017-04-25T08:59:09.000Z | 2017-05-11T16:41:55.000Z | benchmarks/linear_algebra/cg/compute_residual.cpp | akmaru/tiramisu | 8ca4173547b6d12cff10575ef0dc48cf93f7f414 | [
"MIT"
] | 13 | 2017-07-03T15:24:53.000Z | 2022-03-05T14:57:10.000Z |
//@HEADER
// ************************************************************************
//
// HPCCG: Simple Conjugate Gradient Benchmark Code
// Copyright (2006) Sandia Corporation
//
// Under terms of Contract DE-AC04-94AL85000, there is a non-exclusive
// license for use of this work by... | 37.792683 | 81 | 0.656018 | [
"vector"
] |
8db8707e94f2e2da71d6167b74a3e8c4203d41b4 | 2,060 | hpp | C++ | ngraph/core/include/ngraph/op/util/fused_op.hpp | ethz-asl/openvino | b4ad7a1755b4799f92ef042bacc719ec3c0c1cbd | [
"Apache-2.0"
] | 1 | 2020-07-07T10:13:00.000Z | 2020-07-07T10:13:00.000Z | ngraph/core/include/ngraph/op/util/fused_op.hpp | ethz-asl/openvino | b4ad7a1755b4799f92ef042bacc719ec3c0c1cbd | [
"Apache-2.0"
] | 105 | 2020-06-04T00:23:29.000Z | 2022-02-21T13:04:33.000Z | ngraph/core/include/ngraph/op/util/fused_op.hpp | v-Golubev/openvino | 26936d1fbb025c503ee43fe74593ee9d7862ab15 | [
"Apache-2.0"
] | 3 | 2021-04-25T06:52:41.000Z | 2021-05-07T02:01:44.000Z | // Copyright (C) 2018-2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#pragma once
#include "ngraph/op/op.hpp"
namespace ngraph
{
namespace op
{
namespace util
{
/// \brief Abstract base class for fused ops, i.e ops that can be broken down into core
//... | 37.454545 | 99 | 0.56699 | [
"shape"
] |
8dc06c8fe84207745bb6a1c9baa9322114a616d8 | 30,397 | hpp | C++ | include/public/coherence/net/cache/CachingMap.hpp | chpatel3/coherence-cpp-extend-client | 4ea5267eae32064dff1e73339aa3fbc9347ef0f6 | [
"UPL-1.0",
"Apache-2.0"
] | 6 | 2020-07-01T21:38:30.000Z | 2021-11-03T01:35:11.000Z | include/public/coherence/net/cache/CachingMap.hpp | chpatel3/coherence-cpp-extend-client | 4ea5267eae32064dff1e73339aa3fbc9347ef0f6 | [
"UPL-1.0",
"Apache-2.0"
] | 1 | 2020-07-24T17:29:22.000Z | 2020-07-24T18:29:04.000Z | include/public/coherence/net/cache/CachingMap.hpp | chpatel3/coherence-cpp-extend-client | 4ea5267eae32064dff1e73339aa3fbc9347ef0f6 | [
"UPL-1.0",
"Apache-2.0"
] | 6 | 2020-07-10T18:40:58.000Z | 2022-02-18T01:23:40.000Z | /*
* Copyright (c) 2000, 2020, Oracle and/or its affiliates.
*
* Licensed under the Universal Permissive License v 1.0 as shown at
* http://oss.oracle.com/licenses/upl.
*/
#ifndef COH_CACHING_MAP_HPP
#define COH_CACHING_MAP_HPP
#include "coherence/lang.ns"
#include "coherence/internal/net/NamedCacheDeactivationL... | 33.403297 | 94 | 0.564003 | [
"object"
] |
8dc2d25836fffcc3a362a7bf46e1574b16c99aef | 61,718 | cpp | C++ | src/nn/wasm/src/bind/src/binding.cpp | akineeic/webml-polyfill | a58f9f5340ca87eca4cda18db019f42752317f9e | [
"Apache-2.0"
] | 162 | 2018-03-30T00:57:00.000Z | 2022-01-28T08:04:55.000Z | src/nn/wasm/src/bind/src/binding.cpp | akineeic/webml-polyfill | a58f9f5340ca87eca4cda18db019f42752317f9e | [
"Apache-2.0"
] | 1,347 | 2018-03-29T02:24:39.000Z | 2021-09-16T07:44:59.000Z | src/nn/wasm/src/bind/src/binding.cpp | ibelem/webml-polyfill | aaf1ba4f5357eaf6e89bf9990f5bdfb543cd2bc2 | [
"Apache-2.0"
] | 71 | 2018-04-02T05:40:28.000Z | 2022-03-14T04:19:05.000Z | #include <emscripten/bind.h>
#include <emscripten/val.h>
#include "external/tensorflow/tensorflow/lite/kernels/cpu_backend_context.h"
#include "external/tensorflow/tensorflow/lite/kernels/internal/types.h"
#include "external/tensorflow/tensorflow/lite/kernels/internal/optimized/cpu_check.h"
#include "external/tensorfl... | 54.329225 | 118 | 0.578713 | [
"vector",
"model"
] |
44f252a99f912587018a83c400f915da72efb130 | 6,281 | cpp | C++ | Ethereal/Private/Characters/Enemy/Standard/UndeadWarrior.cpp | SoveranceStudios/EtherealLegends | 4d03aba462cc3a51988e2776e182cea05f0e4376 | [
"Apache-2.0"
] | 216 | 2016-08-28T18:22:06.000Z | 2022-03-22T09:08:15.000Z | Ethereal/Private/Characters/Enemy/Standard/UndeadWarrior.cpp | SoveranceStudios/EtherealLegends | 4d03aba462cc3a51988e2776e182cea05f0e4376 | [
"Apache-2.0"
] | 1 | 2017-08-10T06:14:32.000Z | 2017-08-12T00:16:27.000Z | Ethereal/Private/Characters/Enemy/Standard/UndeadWarrior.cpp | SoveranceStudios/EtherealLegends | 4d03aba462cc3a51988e2776e182cea05f0e4376 | [
"Apache-2.0"
] | 49 | 2016-08-28T18:22:31.000Z | 2022-02-23T16:22:37.000Z | // © 2014 - 2017 Soverance Studios
// http://www.soverance.com
// 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... | 34.894444 | 148 | 0.728706 | [
"mesh",
"object"
] |
44f2fc51bf13d68e3a9bb3b1f9d6fe3c04307561 | 23,327 | cpp | C++ | af/src/v20200226/model/FinanceAntiFraudFilter.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | 43 | 2019-08-14T08:14:12.000Z | 2022-03-30T12:35:09.000Z | af/src/v20200226/model/FinanceAntiFraudFilter.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | 12 | 2019-07-15T10:44:59.000Z | 2021-11-02T12:35:00.000Z | af/src/v20200226/model/FinanceAntiFraudFilter.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | 28 | 2019-07-12T09:06:22.000Z | 2022-03-30T08:04:18.000Z | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | 28.727833 | 156 | 0.681571 | [
"model"
] |
44f9ebced0f52a40e3e3f7f5b5f71d29af55d303 | 4,389 | cpp | C++ | libs/full/checkpoint/tests/unit/checkpoint_component.cpp | sudo-panda/hpx | 1527f3ba8055f795f701ddf89368f4a24199f79e | [
"BSL-1.0"
] | 1 | 2021-02-03T09:17:55.000Z | 2021-02-03T09:17:55.000Z | libs/full/checkpoint/tests/unit/checkpoint_component.cpp | sudo-panda/hpx | 1527f3ba8055f795f701ddf89368f4a24199f79e | [
"BSL-1.0"
] | null | null | null | libs/full/checkpoint/tests/unit/checkpoint_component.cpp | sudo-panda/hpx | 1527f3ba8055f795f701ddf89368f4a24199f79e | [
"BSL-1.0"
] | null | null | null | // Copyright (c) 2018 Adrian Serio
//
// SPDX-License-Identifier: BSL-1.0
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
// This example tests the interoperability of save_checkpoint and
// restore_checkpoint wit... | 26.125 | 79 | 0.649123 | [
"vector"
] |
44fbd3d8ba3ca91fc13e542fa4ceb0c006e9bab1 | 4,364 | cpp | C++ | iOS/G3MApp/G3MApp/G3M3DSymbologyDemoScene.cpp | RMMJR/g3m | 990467dc8e2bf584f8b512bdf06ecf4def625185 | [
"BSD-2-Clause"
] | 1 | 2016-08-23T10:29:44.000Z | 2016-08-23T10:29:44.000Z | iOS/G3MApp/G3MApp/G3M3DSymbologyDemoScene.cpp | RMMJR/g3m | 990467dc8e2bf584f8b512bdf06ecf4def625185 | [
"BSD-2-Clause"
] | null | null | null | iOS/G3MApp/G3MApp/G3M3DSymbologyDemoScene.cpp | RMMJR/g3m | 990467dc8e2bf584f8b512bdf06ecf4def625185 | [
"BSD-2-Clause"
] | null | null | null | //
// G3M3DSymbologyDemoScene.cpp
// G3MApp
//
// Created by Diego Gomez Deck on 11/18/13.
// Copyright (c) 2013 Igo Software SL. All rights reserved.
//
#include "G3M3DSymbologyDemoScene.hpp"
#include <G3MiOSSDK/Sector.hpp>
#include <G3MiOSSDK/MapBoxLayer.hpp>
#include <G3MiOSSDK/LayerSet.hpp>
#include <G3MiOSSD... | 37.299145 | 124 | 0.605866 | [
"geometry",
"vector",
"model"
] |
78024a0d49d1b8c5476dc60f63fd574b4877d81d | 4,644 | cpp | C++ | arangod/Aql/Collection.cpp | mikestaub/arangodb | 1bdf414de29b31bcaf80769a095933f66f8256ce | [
"ICU",
"BSL-1.0",
"Zlib",
"Apache-2.0"
] | null | null | null | arangod/Aql/Collection.cpp | mikestaub/arangodb | 1bdf414de29b31bcaf80769a095933f66f8256ce | [
"ICU",
"BSL-1.0",
"Zlib",
"Apache-2.0"
] | null | null | null | arangod/Aql/Collection.cpp | mikestaub/arangodb | 1bdf414de29b31bcaf80769a095933f66f8256ce | [
"ICU",
"BSL-1.0",
"Zlib",
"Apache-2.0"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
/// DISCLAIMER
///
/// Copyright 2014-2016 ArangoDB GmbH, Cologne, Germany
/// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except... | 32.027586 | 80 | 0.649871 | [
"vector"
] |
7802a0132c5f14a1af36ac4c5057e4bae5942bc8 | 40,318 | cpp | C++ | test/unit/math/fwd/mat/fun/dot_product_test.cpp | jrmie/math | 2850ec262181075a5843968e805dc9ad1654e069 | [
"BSD-3-Clause"
] | 1 | 2019-09-06T15:53:17.000Z | 2019-09-06T15:53:17.000Z | test/unit/math/fwd/mat/fun/dot_product_test.cpp | jrmie/math | 2850ec262181075a5843968e805dc9ad1654e069 | [
"BSD-3-Clause"
] | 8 | 2019-01-17T18:51:16.000Z | 2019-01-17T18:51:39.000Z | test/unit/math/fwd/mat/fun/dot_product_test.cpp | jrmie/math | 2850ec262181075a5843968e805dc9ad1654e069 | [
"BSD-3-Clause"
] | null | null | null | #include <stan/math/fwd/mat.hpp>
#include <gtest/gtest.h>
#include <vector>
TEST(AgradFwdMatrixDotProduct, vector_vector_fd) {
using stan::math::vector_d;
using stan::math::vector_fd;
vector_d vd_1(3), vd_2(3);
vector_fd vv_1(3), vv_2(3);
vd_1 << 1, 3, -5;
vv_1 << 1, 3, -5;
vv_1(0).d_ = 1.0;
vv_1(1).... | 31.79653 | 78 | 0.655935 | [
"vector"
] |
7803064fe0b7cde5def1b11cad24e4f0bcdd12a7 | 26,525 | cpp | C++ | src/magic.cpp | Celissa/Legacy-Base | 027553da16342c4e31cebf5eaad6925fbaa5d5a5 | [
"CC-BY-3.0"
] | 1 | 2018-09-16T03:17:50.000Z | 2018-09-16T03:17:50.000Z | src/magic.cpp | Celissa/Legacy-Base | 027553da16342c4e31cebf5eaad6925fbaa5d5a5 | [
"CC-BY-3.0"
] | null | null | null | src/magic.cpp | Celissa/Legacy-Base | 027553da16342c4e31cebf5eaad6925fbaa5d5a5 | [
"CC-BY-3.0"
] | null | null | null | #include "system.h"
const char* stype_name [] = { "offensive", "peaceful", "self_only",
"object", "room", "continent", "peaceful_other", "weapon", "drink_container",
"mob_only", "annoying", "corpse", "recall", "weapon_armor", "replicate",
"astral", "non_combat_healing", "cross_continent", "universal",
"annoy... | 25.928641 | 165 | 0.577644 | [
"object",
"3d"
] |
7804da3c96626fb19e1b57471848475a36901093 | 4,274 | cc | C++ | src/webkit/compositor_bindings/web_layer_impl_fixed_bounds.cc | jxjnjjn/chromium | 435c1d02fd1b99001dc9e1e831632c894523580d | [
"Apache-2.0"
] | 9 | 2018-09-21T05:36:12.000Z | 2021-11-15T15:14:36.000Z | src/webkit/compositor_bindings/web_layer_impl_fixed_bounds.cc | jxjnjjn/chromium | 435c1d02fd1b99001dc9e1e831632c894523580d | [
"Apache-2.0"
] | null | null | null | src/webkit/compositor_bindings/web_layer_impl_fixed_bounds.cc | jxjnjjn/chromium | 435c1d02fd1b99001dc9e1e831632c894523580d | [
"Apache-2.0"
] | 3 | 2018-11-28T14:54:13.000Z | 2020-07-02T07:36:07.000Z | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "webkit/compositor_bindings/web_layer_impl_fixed_bounds.h"
#include "cc/layers/layer.h"
#include "third_party/WebKit/Source/Platform/chromium/pu... | 33.131783 | 80 | 0.766495 | [
"transform"
] |
78072bafab9fd4f537470b717c8165ed52cc73cb | 9,989 | cpp | C++ | jni/libjetbeep-jni/MFCApiProvider.cpp | jetbeep/libjetbeep-usb | 4fc083dfec9873f435a460f8e3f43c582620d290 | [
"MIT"
] | 5 | 2019-11-29T04:43:32.000Z | 2020-06-12T13:59:44.000Z | jni/libjetbeep-jni/MFCApiProvider.cpp | jetbeep/libjetbeep-usb | 4fc083dfec9873f435a460f8e3f43c582620d290 | [
"MIT"
] | null | null | null | jni/libjetbeep-jni/MFCApiProvider.cpp | jetbeep/libjetbeep-usb | 4fc083dfec9873f435a460f8e3f43c582620d290 | [
"MIT"
] | null | null | null | #include "../../lib/libjetbeep.hpp"
#include "./include/com_jetbeep_nfc_mifare_classic_MFCApiProvider.h"
#include "jni-utils.hpp"
#include <future>
using namespace std;
using namespace JetBeep;
using namespace JetBeep::NFC;
using namespace JetBeep::NFC::MifareClassic;
class MFCApiProviderJni {
public:
static Logger... | 43.811404 | 167 | 0.680949 | [
"object"
] |
780852c57b29a0e04a4c190289938b68a619f011 | 1,913 | cxx | C++ | Plugins/PrismPlugins/Server/vtkSMPrismDoubleRangeDomain.cxx | matthb2/ParaView-beforekitwareswtichedtogit | e47e57d6ce88444d9e6af9ab29f9db8c23d24cef | [
"BSD-3-Clause"
] | 1 | 2021-07-31T19:38:03.000Z | 2021-07-31T19:38:03.000Z | Plugins/PrismPlugins/Server/vtkSMPrismDoubleRangeDomain.cxx | matthb2/ParaView-beforekitwareswtichedtogit | e47e57d6ce88444d9e6af9ab29f9db8c23d24cef | [
"BSD-3-Clause"
] | null | null | null | Plugins/PrismPlugins/Server/vtkSMPrismDoubleRangeDomain.cxx | matthb2/ParaView-beforekitwareswtichedtogit | e47e57d6ce88444d9e6af9ab29f9db8c23d24cef | [
"BSD-3-Clause"
] | 2 | 2019-01-22T19:51:40.000Z | 2021-07-31T19:38:05.000Z | #include "vtkSMPrismDoubleRangeDomain.h"
#include "vtkSMDoubleVectorProperty.h"
#include "vtkObjectFactory.h"
#include <vtkstd/vector>
vtkStandardNewMacro(vtkSMPrismDoubleRangeDomain);
vtkCxxRevisionMacro(vtkSMPrismDoubleRangeDomain, "$Revision$");
struct vtkSMPrismDoubleRangeDomainInternals
{
double Min;
... | 26.943662 | 86 | 0.549922 | [
"vector"
] |
7808ef4a98531cc2bffbae6aee4c1c311c4d7866 | 17,797 | cpp | C++ | src/Application/SceneWidgetComponents/EC_WidgetCanvas.cpp | Adminotech/tundra | 8270097dbf79c3ec1935cf66c7979eeef9c24c0e | [
"Apache-2.0"
] | null | null | null | src/Application/SceneWidgetComponents/EC_WidgetCanvas.cpp | Adminotech/tundra | 8270097dbf79c3ec1935cf66c7979eeef9c24c0e | [
"Apache-2.0"
] | null | null | null | src/Application/SceneWidgetComponents/EC_WidgetCanvas.cpp | Adminotech/tundra | 8270097dbf79c3ec1935cf66c7979eeef9c24c0e | [
"Apache-2.0"
] | null | null | null | // For conditions of distribution and use, see copyright notice in LICENSE
#include "Math/MathNamespace.h"
#include "DebugOperatorNew.h"
#include "EC_WidgetCanvas.h"
#include "Framework.h"
#include "IRenderer.h"
#include "Entity.h"
#include "LoggingFunctions.h"
#include "OgreMaterialUtils.h"
#include "EC_Mesh.h"
#i... | 30.474315 | 214 | 0.622464 | [
"render"
] |
780db85a5be789043e92ad50ae1dea982d84fe7c | 5,233 | hpp | C++ | 3party/boost/boost/geometry/extensions/gis/projections/impl/pj_ellps.hpp | bowlofstew/omim | 8045157c95244aa8f862d47324df42a19b87e335 | [
"Apache-2.0"
] | 2 | 2015-01-02T14:24:56.000Z | 2015-01-02T14:25:17.000Z | 3party/boost/boost/geometry/extensions/gis/projections/impl/pj_ellps.hpp | bowlofstew/omim | 8045157c95244aa8f862d47324df42a19b87e335 | [
"Apache-2.0"
] | 2 | 2019-01-13T23:45:51.000Z | 2019-02-03T08:13:26.000Z | 3party/boost/boost/geometry/extensions/gis/projections/impl/pj_ellps.hpp | bowlofstew/omim | 8045157c95244aa8f862d47324df42a19b87e335 | [
"Apache-2.0"
] | 2 | 2018-04-04T10:55:01.000Z | 2020-04-23T18:52:06.000Z | // Boost.Geometry (aka GGL, Generic Geometry Library)
// This file is manually converted from PROJ4
// Copyright (c) 2008-2012 Barend Gehrels, Amsterdam, the Netherlands.
// Use, modification and distribution is subject to the Boost Software License,
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
/... | 55.670213 | 92 | 0.616855 | [
"geometry"
] |
78112ef07e006ac1d3b54f086670a2afbced4e08 | 7,115 | cpp | C++ | wxWidgets-3.1.0/src/osx/uiaction_osx.cpp | screwjack/nemesis | 8c2587d2aa60f8da6cf49e5f4f5740bf2666c6fd | [
"BSD-2-Clause"
] | 2 | 2016-10-15T05:12:16.000Z | 2016-11-06T16:19:53.000Z | wxWidgets-3.1.0/src/osx/uiaction_osx.cpp | screwjack/nemesis | 8c2587d2aa60f8da6cf49e5f4f5740bf2666c6fd | [
"BSD-2-Clause"
] | 14 | 2016-09-21T21:24:46.000Z | 2016-11-15T07:54:21.000Z | wxWidgets-3.1.0/src/osx/uiaction_osx.cpp | screwjack/nemesis | 8c2587d2aa60f8da6cf49e5f4f5740bf2666c6fd | [
"BSD-2-Clause"
] | null | null | null | /////////////////////////////////////////////////////////////////////////////
// Name: src/osx/uiaction_osx.cpp
// Purpose: wxUIActionSimulator implementation
// Author: Kevin Ollivier, Steven Lamerton, Vadim Zeitlin
// Modified by:
// Created: 2010-03-06
// Copyright: (c) Kevin Ollivier
// ... | 27.053232 | 123 | 0.637948 | [
"object"
] |
781b3a3fe4f18a9c40a271d9d4c903a5e4aa4dbb | 3,037 | cpp | C++ | third_party/WebKit/Source/core/paint/PaintInfoTest.cpp | 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 | third_party/WebKit/Source/core/paint/PaintInfoTest.cpp | Wzzzx/chromium-crosswalk | 768dde8efa71169f1c1113ca6ef322f1e8c9e7de | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | third_party/WebKit/Source/core/paint/PaintInfoTest.cpp | Wzzzx/chromium-crosswalk | 768dde8efa71169f1c1113ca6ef322f1e8c9e7de | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 6 | 2020-09-23T08:56:12.000Z | 2021-11-18T03:40:49.000Z | // Copyright 2014 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 "core/paint/PaintInfo.h"
#include "platform/graphics/paint/PaintController.h"
#include "testing/gtest/include/gtest/gtest.h"
#include <memory>
... | 38.935897 | 137 | 0.76918 | [
"transform"
] |
781c7ed68d6566a305c954fc2cb061ec91a3589a | 1,944 | cpp | C++ | solved-lightOj/1082.cpp | Maruf-Tuhin/Online_Judge | cf9b2a522e8b1a9623d3996a632caad7fd67f751 | [
"MIT"
] | 1 | 2020-07-02T00:08:02.000Z | 2020-07-02T00:08:02.000Z | solved-lightOj/1082.cpp | the-redback/competitive-programming | cf9b2a522e8b1a9623d3996a632caad7fd67f751 | [
"MIT"
] | null | null | null | solved-lightOj/1082.cpp | the-redback/competitive-programming | cf9b2a522e8b1a9623d3996a632caad7fd67f751 | [
"MIT"
] | null | null | null | /**
* @author : Maruf Tuhin
* @School : CUET CSE 11
* @Topcoder : the_redback
* @CodeForces : the_redback
* @UVA : the_redback
* @link : http://www.fb.com/maruf.2hin
*/
#include<cstdio>
#include<cstring>
#include<cstdlib>
#include<cctype>
#include<cmath>
#include<iostream... | 19.836735 | 61 | 0.564815 | [
"vector"
] |
781e6c2d240b3375baa9616b82ef5f4c2bb6b9c7 | 3,030 | cxx | C++ | Modules/Core/Transform/test/itkAzimuthElevationToCartesianTransformTest.cxx | CapeDrew/DCMTK-ITK | 440bf8ed100445396912cfd0aa72f36d4cdefe0c | [
"Apache-2.0"
] | 2 | 2015-06-19T07:18:36.000Z | 2019-04-18T07:28:23.000Z | Modules/Core/Transform/test/itkAzimuthElevationToCartesianTransformTest.cxx | 151706061/ITK | 6c073453ff8bdae9b1392dd17f168fca231823e8 | [
"Apache-2.0"
] | null | null | null | Modules/Core/Transform/test/itkAzimuthElevationToCartesianTransformTest.cxx | 151706061/ITK | 6c073453ff8bdae9b1392dd17f168fca231823e8 | [
"Apache-2.0"
] | 2 | 2017-05-02T07:18:49.000Z | 2020-04-30T01:37:35.000Z | /*=========================================================================
*
* Copyright Insight Software Consortium
*
* 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
*
* h... | 33.666667 | 98 | 0.665677 | [
"transform"
] |
7829ab1b7b0cf5f4e46ecf3e806e8f6170562c85 | 3,025 | cc | C++ | source/neuropod/tests/test_factories.cc | qiyanz/neuropod | 13c2bc794b168583588b68269026ec4ed76163ed | [
"Apache-2.0"
] | 887 | 2020-06-08T16:10:28.000Z | 2022-03-27T21:55:43.000Z | source/neuropod/tests/test_factories.cc | qiyanz/neuropod | 13c2bc794b168583588b68269026ec4ed76163ed | [
"Apache-2.0"
] | 150 | 2020-06-09T10:43:15.000Z | 2022-03-30T02:48:39.000Z | source/neuropod/tests/test_factories.cc | qiyanz/neuropod | 13c2bc794b168583588b68269026ec4ed76163ed | [
"Apache-2.0"
] | 70 | 2020-06-08T18:43:12.000Z | 2022-03-18T20:37:51.000Z | /* Copyright (c) 2020 UATC, LLC
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
d... | 30.867347 | 94 | 0.666116 | [
"vector"
] |
782ee0a792c57f4df6354d2dd5382751844ede68 | 18,321 | cc | C++ | chrome/test/accessibility/accessibility_util.cc | bluebellzhy/chromium | 008c4fef2676506869a0404239da31e83fd6ccc7 | [
"BSD-3-Clause"
] | 1 | 2016-05-08T15:35:17.000Z | 2016-05-08T15:35:17.000Z | chrome/test/accessibility/accessibility_util.cc | bluebellzhy/chromium | 008c4fef2676506869a0404239da31e83fd6ccc7 | [
"BSD-3-Clause"
] | null | null | null | chrome/test/accessibility/accessibility_util.cc | bluebellzhy/chromium | 008c4fef2676506869a0404239da31e83fd6ccc7 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2006-2008 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/test/accessibility/accessibility_util.h"
#include "base/win_util.h"
#include "chrome/common/win_util.h"
#include "chrome/common... | 29.034865 | 79 | 0.656078 | [
"object"
] |
782fac540cd216476e0addce6f6dc1201844b32e | 3,667 | cpp | C++ | game/StartScene.cpp | kaplaars/CppHerexamen | 604bcb841238cca29604224f77fd5afae4e96f80 | [
"MIT"
] | null | null | null | game/StartScene.cpp | kaplaars/CppHerexamen | 604bcb841238cca29604224f77fd5afae4e96f80 | [
"MIT"
] | null | null | null | game/StartScene.cpp | kaplaars/CppHerexamen | 604bcb841238cca29604224f77fd5afae4e96f80 | [
"MIT"
] | null | null | null | #include <libgba-sprite-engine/sprites/sprite_builder.h>
#include <libgba-sprite-engine/background/text_stream.h>
#include <libgba-sprite-engine/gba/tonc_memdef.h>
#include <libgba-sprite-engine/gba_engine.h>
#include "StartScene.h"
#include "MiniGame1.h"
#include "MiniGame2.h"
#include "MiniGame3.h"
#include "Collor... | 34.92381 | 232 | 0.6054 | [
"vector"
] |
783228583018d6899ccf59e4e8b7bcad9cd0b924 | 4,022 | cpp | C++ | 3rdparty/aws-sdk-cpp-master/aws-cpp-sdk-es/source/model/ElasticsearchClusterConfig.cpp | prateek-s/mesos | 4b81147797e4d9a45e0b2f5e5634d4a214dbc4e8 | [
"Apache-2.0"
] | 2 | 2019-02-08T21:29:57.000Z | 2021-07-27T06:59:19.000Z | 3rdparty/aws-sdk-cpp-master/aws-cpp-sdk-es/source/model/ElasticsearchClusterConfig.cpp | prateek-s/mesos | 4b81147797e4d9a45e0b2f5e5634d4a214dbc4e8 | [
"Apache-2.0"
] | null | null | null | 3rdparty/aws-sdk-cpp-master/aws-cpp-sdk-es/source/model/ElasticsearchClusterConfig.cpp | prateek-s/mesos | 4b81147797e4d9a45e0b2f5e5634d4a214dbc4e8 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file... | 26.993289 | 137 | 0.77822 | [
"model"
] |
7832a72bd8c7aabf31cbc6d3f74d7e118ef89330 | 803 | cpp | C++ | systems/plants/massMatrixmex.cpp | jacob-izr/drake | d8f0f1f231ecba83ed53b1a1c2f9f43da50396b9 | [
"BSD-3-Clause"
] | null | null | null | systems/plants/massMatrixmex.cpp | jacob-izr/drake | d8f0f1f231ecba83ed53b1a1c2f9f43da50396b9 | [
"BSD-3-Clause"
] | null | null | null | systems/plants/massMatrixmex.cpp | jacob-izr/drake | d8f0f1f231ecba83ed53b1a1c2f9f43da50396b9 | [
"BSD-3-Clause"
] | 1 | 2021-09-29T19:37:28.000Z | 2021-09-29T19:37:28.000Z | #include <mex.h>
#include <iostream>
#include "drakeUtil.h"
#include "RigidBodyManipulator.h"
using namespace Eigen;
using namespace std;
void mexFunction(int nlhs, mxArray *plhs[],int nrhs, const mxArray *prhs[]) {
string usage = "Usage [M, dM] = massMatrixmex(model_ptr)";
if (nrhs != 1) {
mexErrMsgIdAndTx... | 25.903226 | 88 | 0.709838 | [
"model"
] |
78406467a6f4ded90dfa2d45fd2b6d6ad411d21d | 2,003 | hpp | C++ | src/Controller/Yokai.hpp | charlieSewell/ICT397-Game-Engine | 64d44edfcf397ea0a1133680f908f74ea8bafb22 | [
"MIT"
] | 1 | 2021-04-11T04:57:06.000Z | 2021-04-11T04:57:06.000Z | src/Controller/Yokai.hpp | charlieSewell/ICT397-Game-Engine | 64d44edfcf397ea0a1133680f908f74ea8bafb22 | [
"MIT"
] | null | null | null | src/Controller/Yokai.hpp | charlieSewell/ICT397-Game-Engine | 64d44edfcf397ea0a1133680f908f74ea8bafb22 | [
"MIT"
] | null | null | null | #pragma once
#include "Controller/TerrainManager.hpp"
#include "View/Renderer/Renderer.hpp"
#include "View/Window.hpp"
#include "Model/SplashScreen.hpp"
//workaround to allow vector of layer pointers
class Layer;
/**
* @class Yokai
* @brief A class which ties together all game engine components
*/
class Yokai
{
... | 21.537634 | 99 | 0.588617 | [
"vector",
"model"
] |
784239e314630316f77ec8049558b1b462e8ca74 | 9,190 | cpp | C++ | src/archutils/Darwin/JoystickDevice.cpp | SharpnelXu/etterna | 8775f74ac9c353320128609d4b4150672e9a6d04 | [
"MIT"
] | 1 | 2022-02-22T01:24:02.000Z | 2022-02-22T01:24:02.000Z | src/archutils/Darwin/JoystickDevice.cpp | john-marinelli/etterna | 8775f74ac9c353320128609d4b4150672e9a6d04 | [
"MIT"
] | 1 | 2019-05-04T02:30:57.000Z | 2019-05-04T02:30:57.000Z | src/archutils/Darwin/JoystickDevice.cpp | john-marinelli/etterna | 8775f74ac9c353320128609d4b4150672e9a6d04 | [
"MIT"
] | 3 | 2019-05-02T01:50:23.000Z | 2020-05-25T01:08:36.000Z | #include "Etterna/Globals/global.h"
#include "JoystickDevice.h"
#include "Etterna/Models/Misc/Foreach.h"
#include "Core/Services/Locator.hpp"
using __gnu_cxx::hash_map;
Joystick::Joystick()
: id(InputDevice_Invalid)
, x_axis(0)
, y_axis(0)
, z_axis(0)
, x_rot(0)
, y_rot(0)
, z_rot(0)
, hat(0)
, x_mi... | 25.814607 | 83 | 0.641458 | [
"vector"
] |
78431470a5900bb381c75e9607b5f19697f5f246 | 17,214 | hpp | C++ | src/graphlab/core.hpp | iivek/graphlab-cmu-mirror | 028321757ea979e6a0859687e37933be375153eb | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2018-08-01T06:32:58.000Z | 2018-08-01T06:32:58.000Z | src/graphlab/core.hpp | iivek/graphlab-cmu-mirror | 028321757ea979e6a0859687e37933be375153eb | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | src/graphlab/core.hpp | iivek/graphlab-cmu-mirror | 028321757ea979e6a0859687e37933be375153eb | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | /**
* Copyright (c) 2009 Carnegie Mellon University.
* 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... | 31.760148 | 84 | 0.636691 | [
"object",
"vector",
"model"
] |
784866f6580f40704d3411717a47f3d48f9ad73c | 5,484 | hpp | C++ | src/StringTemplate.hpp | sam-roth/autobind | df230f43335f2636fe32b370c359650391ed1ee1 | [
"BSD-3-Clause"
] | 1 | 2017-05-20T19:38:28.000Z | 2017-05-20T19:38:28.000Z | src/StringTemplate.hpp | sam-roth/autobind | df230f43335f2636fe32b370c359650391ed1ee1 | [
"BSD-3-Clause"
] | null | null | null | src/StringTemplate.hpp | sam-roth/autobind | df230f43335f2636fe32b370c359650391ed1ee1 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2014, Samuel A. Roth. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can
// be found in the COPYING file.
#pragma once
#include <string>
#include <ostream>
#include <sstream>
#include <unordered_map>
#include <memory>
#include <vector>
#include <typeinfo>
#i... | 21.255814 | 108 | 0.670314 | [
"object",
"vector"
] |
785044cd9fbe14e24432601b878c4ce2ad4ebbc8 | 4,301 | cpp | C++ | src/PriceCalculator/PriceCalculatorCross.cpp | SABCEMM/SABCEMM | a87ea83b57a8a7d16591abe30e56db459e710a0e | [
"BSD-3-Clause"
] | 17 | 2018-01-08T13:38:28.000Z | 2022-01-21T05:39:26.000Z | src/PriceCalculator/PriceCalculatorCross.cpp | SABCEMM/SABCEMM | a87ea83b57a8a7d16591abe30e56db459e710a0e | [
"BSD-3-Clause"
] | null | null | null | src/PriceCalculator/PriceCalculatorCross.cpp | SABCEMM/SABCEMM | a87ea83b57a8a7d16591abe30e56db459e710a0e | [
"BSD-3-Clause"
] | 1 | 2018-01-08T13:39:00.000Z | 2018-01-08T13:39:00.000Z | /* Copyright 2017 - BSD-3-Clause
*
* Copyright Holder (alphabetical):
*
* Beikirch, Maximilian
* Cramer, Simon
* Frank, Martin
* Otte, Philipp
* Pabich, Emma
* Trimborn, Torsten
*
*
* Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
* followin... | 39.1 | 205 | 0.755871 | [
"object"
] |
78511273b65aa75e2668613dc71e9820f07ba1d1 | 20,174 | cpp | C++ | Engine/source/sfx/sfxSound.cpp | fr1tz/terminal-overload | 85f0689a40022e5eb7e54dcb6ddfb5ddd82a0a60 | [
"CC-BY-4.0"
] | 46 | 2015-01-05T17:34:43.000Z | 2022-01-04T04:03:09.000Z | Engine/source/sfx/sfxSound.cpp | fr1tz/terminal-overload | 85f0689a40022e5eb7e54dcb6ddfb5ddd82a0a60 | [
"CC-BY-4.0"
] | 10 | 2015-01-20T23:14:46.000Z | 2019-04-05T22:04:15.000Z | Engine/source/sfx/sfxSound.cpp | fr1tz/terminal-overload | 85f0689a40022e5eb7e54dcb6ddfb5ddd82a0a60 | [
"CC-BY-4.0"
] | 9 | 2015-08-08T18:46:06.000Z | 2021-02-01T13:53:20.000Z | // Copyright information can be found in the file named COPYING
// located in the root directory of this distribution.
#include "sfx/sfxSound.h"
#include "sfx/sfxDevice.h"
#include "sfx/sfxVoice.h"
#include "sfx/sfxSystem.h"
#include "sfx/sfxBuffer.h"
#include "sfx/sfxStream.h"
#include "sfx/sfxDescription.h"
#include... | 29.237681 | 116 | 0.55403 | [
"object",
"transform",
"3d"
] |
78538dc7df0985310943aeb67e8a9f766c253946 | 136,068 | hpp | C++ | externals/kokkos/core/src/Kokkos_CopyViews.hpp | meng630/GMD_E3SM_SCM | 990f84598b79f9b4763c3a825a7d25f4e0f5a565 | [
"FTL",
"zlib-acknowledgement",
"RSA-MD"
] | null | null | null | externals/kokkos/core/src/Kokkos_CopyViews.hpp | meng630/GMD_E3SM_SCM | 990f84598b79f9b4763c3a825a7d25f4e0f5a565 | [
"FTL",
"zlib-acknowledgement",
"RSA-MD"
] | null | null | null | externals/kokkos/core/src/Kokkos_CopyViews.hpp | meng630/GMD_E3SM_SCM | 990f84598b79f9b4763c3a825a7d25f4e0f5a565 | [
"FTL",
"zlib-acknowledgement",
"RSA-MD"
] | null | null | null | /*
//@HEADER
// ************************************************************************
//
// Kokkos v. 3.0
// Copyright (2020) National Technology & Engineering
// Solutions of Sandia, LLC (NTESS).
//
// Under the terms of Contract DE-NA0003525 with NTESS,
// the U.S. Govern... | 41.725851 | 80 | 0.583451 | [
"shape",
"3d"
] |
7854597880246f4275fa30071141acd76f0f6d46 | 3,333 | hpp | C++ | src/server/ServerModules.hpp | sbu-fsl/DataSeries | 8436462519eb22fc653387885b5f0339fb419061 | [
"BSD-2-Clause"
] | 6 | 2015-02-27T19:15:11.000Z | 2018-10-25T14:22:31.000Z | src/server/ServerModules.hpp | yoursunny/DataSeries | b5b9db8e40a79a3e546a59cd72a80be89412d7b2 | [
"BSD-2-Clause"
] | 7 | 2015-08-17T15:18:50.000Z | 2017-08-16T00:16:19.000Z | src/server/ServerModules.hpp | sbu-fsl/DataSeries | 8436462519eb22fc653387885b5f0339fb419061 | [
"BSD-2-Clause"
] | 8 | 2015-07-13T23:02:28.000Z | 2020-09-28T19:06:26.000Z | #ifndef DATASERIES_SERVERMODULES_HPP
#define DATASERIES_SERVERMODULES_HPP
#include <DataSeries/DataSeriesModule.hpp>
#include "ThrowError.hpp"
#include "OutputSeriesModule.hpp"
#include "RenameCopier.hpp"
#include "gen-cpp/DataSeriesServer.h"
// TODO: consider re-doing a lot of the other modules in this form, most o... | 42.189873 | 95 | 0.684968 | [
"vector"
] |
78558c3d15d35ec8cf86ad2ab463de67d4803d9b | 2,690 | cc | C++ | hoomd/filter/export_filters.cc | jglaser/hoomd-blue | c21ae2b48314dcb7ac03fc1b23baf70879cc6709 | [
"BSD-3-Clause"
] | null | null | null | hoomd/filter/export_filters.cc | jglaser/hoomd-blue | c21ae2b48314dcb7ac03fc1b23baf70879cc6709 | [
"BSD-3-Clause"
] | null | null | null | hoomd/filter/export_filters.cc | jglaser/hoomd-blue | c21ae2b48314dcb7ac03fc1b23baf70879cc6709 | [
"BSD-3-Clause"
] | null | null | null | #include "export_filters.h"
#include "ParticleFilter.h"
#include "ParticleFilterAll.h"
#include "ParticleFilterNull.h"
#include "ParticleFilterIntersection.h"
#include "ParticleFilterSetDifference.h"
#include "ParticleFilterTags.h"
#include "ParticleFilterType.h"
#include "ParticleFilterUnion.h"
#include "ParticleFilte... | 42.698413 | 81 | 0.62342 | [
"object"
] |
7856c899e3df986cb9fe87f6eb2f3a2c72d242b6 | 26,110 | cpp | C++ | cynosdb/src/v20190107/model/CreateClustersRequest.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | 43 | 2019-08-14T08:14:12.000Z | 2022-03-30T12:35:09.000Z | cynosdb/src/v20190107/model/CreateClustersRequest.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | 12 | 2019-07-15T10:44:59.000Z | 2021-11-02T12:35:00.000Z | cynosdb/src/v20190107/model/CreateClustersRequest.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | 28 | 2019-07-12T09:06:22.000Z | 2022-03-30T08:04:18.000Z | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | 25.009579 | 104 | 0.712294 | [
"vector",
"model"
] |
785a4c868e827d17b323efcbea9acaca1fb8e5c9 | 79,797 | cpp | C++ | src/gausskernel/cbb/utils/aes/cipherfn.cpp | wotchin/openGauss-server | ebd92e92b0cfd76b121d98e4c57a22d334573159 | [
"MulanPSL-1.0"
] | 1 | 2020-06-30T15:00:50.000Z | 2020-06-30T15:00:50.000Z | src/gausskernel/cbb/utils/aes/cipherfn.cpp | wotchin/openGauss-server | ebd92e92b0cfd76b121d98e4c57a22d334573159 | [
"MulanPSL-1.0"
] | null | null | null | src/gausskernel/cbb/utils/aes/cipherfn.cpp | wotchin/openGauss-server | ebd92e92b0cfd76b121d98e4c57a22d334573159 | [
"MulanPSL-1.0"
] | null | null | null | /*
* Copyright (c) 2020 Huawei Technologies Co.,Ltd.
*
* openGauss is licensed under Mulan PSL v2.
* You can use this software according to the terms and conditions of the Mulan PSL v2.
* You may obtain a copy of Mulan PSL v2 at:
*
* http://license.coscl.org.cn/MulanPSL2
*
* THIS SOFTWARE IS PROVIDED ... | 36.139946 | 120 | 0.613908 | [
"vector"
] |
785aed9792fdd48fd233d3f89b56e96f7c49170e | 4,313 | cxx | C++ | Modules/Core/Mesh/test/itkInteriorExteriorMeshFilterTest.cxx | eile/ITK | 2f09e6e2f9e0a4a7269ac83c597f97b04f915dc1 | [
"Apache-2.0"
] | 4 | 2015-05-22T03:47:43.000Z | 2016-06-16T20:57:21.000Z | Modules/Core/Mesh/test/itkInteriorExteriorMeshFilterTest.cxx | GEHC-Surgery/ITK | f5df62749e56c9036e5888cfed904032ba5fdfb7 | [
"Apache-2.0"
] | 1 | 2019-03-18T14:19:49.000Z | 2020-01-11T13:54:33.000Z | Modules/Core/Mesh/test/itkInteriorExteriorMeshFilterTest.cxx | GEHC-Surgery/ITK | f5df62749e56c9036e5888cfed904032ba5fdfb7 | [
"Apache-2.0"
] | 9 | 2016-06-23T16:03:12.000Z | 2022-03-31T09:25:08.000Z | /*=========================================================================
*
* Copyright Insight Software Consortium
*
* 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
*
* h... | 29.951389 | 77 | 0.600046 | [
"mesh",
"3d"
] |
785ba6a8b8ce6f0fd9c4aa26ed227bab50303d56 | 2,112 | cpp | C++ | ver1/answers/lp-10-12.cpp | aafulei/cppp5e | f8d254073866e3025c3a08b919d9bbe3965b6918 | [
"MIT"
] | null | null | null | ver1/answers/lp-10-12.cpp | aafulei/cppp5e | f8d254073866e3025c3a08b919d9bbe3965b6918 | [
"MIT"
] | null | null | null | ver1/answers/lp-10-12.cpp | aafulei/cppp5e | f8d254073866e3025c3a08b919d9bbe3965b6918 | [
"MIT"
] | null | null | null | // 18/01/23 = Mon
// 18/02/21 = Wed: rewrite
// Exercise 10.12: Write a function named compareIsbn that compares the isbn() members of two Sales_data objects. Use that function to sort a vector that holds Sales_data objects.
// Class definition copied from lp-08-06.cpp
// To run, enter "a <data\records" in command p... | 21.55102 | 179 | 0.694602 | [
"vector"
] |
785df1d981875c6392dfb814cde42ce47de7b501 | 308 | cpp | C++ | SoA/PdaRenderStage.cpp | Revan1985/SoACode-Public | c3ddd69355b534d5e70e2e6d0c489b4e93ab1ffe | [
"MIT"
] | 267 | 2018-06-03T23:05:05.000Z | 2022-03-17T00:28:40.000Z | SoA/PdaRenderStage.cpp | davidkestering/SoACode-Public | c3ddd69355b534d5e70e2e6d0c489b4e93ab1ffe | [
"MIT"
] | 16 | 2018-06-05T18:59:11.000Z | 2021-09-28T05:05:16.000Z | SoA/PdaRenderStage.cpp | davidkestering/SoACode-Public | c3ddd69355b534d5e70e2e6d0c489b4e93ab1ffe | [
"MIT"
] | 113 | 2018-06-03T23:56:13.000Z | 2022-03-21T00:07:16.000Z | #include "stdafx.h"
#include "PdaRenderStage.h"
#include "PDA.h"
PdaRenderStage::PdaRenderStage() {
// Empty
}
void PdaRenderStage::hook(const PDA* pda) {
_pda = pda;
}
void PdaRenderStage::render(const Camera* camera VORB_MAYBE_UNUSED) {
if (_pda->isOpen()) {
_pda->draw();
}
}
| 15.4 | 69 | 0.642857 | [
"render"
] |
785f88ff911af5431b3f077b4a18184a5a2c36cf | 1,089 | cpp | C++ | leetcode/304.range-sum-query-2-d-immutable.cpp | vkashkumar/Competitive-Programming | c457e745208c0ca3e45b1ffce254a21504533f51 | [
"MIT"
] | 2 | 2019-01-30T12:45:18.000Z | 2021-05-06T19:02:51.000Z | leetcode/304.range-sum-query-2-d-immutable.cpp | vkashkumar/Competitive-Programming | c457e745208c0ca3e45b1ffce254a21504533f51 | [
"MIT"
] | null | null | null | leetcode/304.range-sum-query-2-d-immutable.cpp | vkashkumar/Competitive-Programming | c457e745208c0ca3e45b1ffce254a21504533f51 | [
"MIT"
] | 3 | 2020-10-02T15:42:04.000Z | 2022-03-27T15:14:16.000Z | /*
* @lc app=leetcode id=304 lang=cpp
*
* [304] Range Sum Query 2D - Immutable
*/
// @lc code=start
class NumMatrix {
public:
vector<vector<int>> v;
int n,m;
NumMatrix(vector<vector<int>>& matrix) {
v = matrix;
n = matrix.size();
if(n>=1)
m = matrix[0].size();
fo... | 25.325581 | 152 | 0.455464 | [
"object",
"vector"
] |
786839e1075e6a17c5acca961d8e04afa8bf22fb | 626 | cpp | C++ | CodeForces/Codeforces Global Round 19/A_Sorting Parts .cpp | ajidow/Answers_of_OJ | 70e0c02d9367c3a154b83a277edbf158f32484a3 | [
"MIT"
] | null | null | null | CodeForces/Codeforces Global Round 19/A_Sorting Parts .cpp | ajidow/Answers_of_OJ | 70e0c02d9367c3a154b83a277edbf158f32484a3 | [
"MIT"
] | null | null | null | CodeForces/Codeforces Global Round 19/A_Sorting Parts .cpp | ajidow/Answers_of_OJ | 70e0c02d9367c3a154b83a277edbf158f32484a3 | [
"MIT"
] | null | null | null | #include <iostream>
#include <algorithm>
#include <vector>
using namespace std;
int t;
int main(int argc, char const *argv[])
{
ios::sync_with_stdio(false);
cin.tie(0);
cout.tie(0);
cin >> t;
while (t--)
{
int n;
cin >> n;
vector<int> a;
vector<int> b;
... | 16.473684 | 38 | 0.413738 | [
"vector"
] |
786e045f1b97920c3413bc4ebc0a2aff26519754 | 36,736 | cpp | C++ | src/appcontext.cpp | sanderfoobar/wowlet | ee3713b16b4883a95cb94a07f2f44ab3fc384083 | [
"BSD-3-Clause"
] | 1 | 2021-09-24T18:20:16.000Z | 2021-09-24T18:20:16.000Z | src/appcontext.cpp | sanderfoobar/wowlet | ee3713b16b4883a95cb94a07f2f44ab3fc384083 | [
"BSD-3-Clause"
] | null | null | null | src/appcontext.cpp | sanderfoobar/wowlet | ee3713b16b4883a95cb94a07f2f44ab3fc384083 | [
"BSD-3-Clause"
] | null | null | null | // SPDX-License-Identifier: BSD-3-Clause
// Copyright (c) 2020-2021, The Monero Project.
#include <QDir>
#include <QMessageBox>
#include "appcontext.h"
#include "globals.h"
#include "config-wowlet.h"
// libwalletqt
#include "libwalletqt/TransactionHistory.h"
#include "libwalletqt/Subaddress.h"
#include "libwalletqt/... | 35.666019 | 181 | 0.651377 | [
"model"
] |
787167e796c488d8576c8bc7a2c0f35e9a38c33c | 1,247 | cc | C++ | test/lib/function_def_lister_test.cc | losalamos/CoARCT | 9fa4a96aa338bfdf78fed1cd1370942967562602 | [
"BSD-3-Clause"
] | 108 | 2017-02-09T17:56:35.000Z | 2022-02-14T12:35:45.000Z | test/lib/function_def_lister_test.cc | losalamos/CoARCT | 9fa4a96aa338bfdf78fed1cd1370942967562602 | [
"BSD-3-Clause"
] | 3 | 2017-10-11T22:41:41.000Z | 2020-04-06T13:18:42.000Z | test/lib/function_def_lister_test.cc | losalamos/CoARCT | 9fa4a96aa338bfdf78fed1cd1370942967562602 | [
"BSD-3-Clause"
] | 15 | 2017-02-15T22:55:32.000Z | 2022-01-25T12:00:39.000Z | // global_matchers_test.cc
// Jan 06, 2017
// (c) Copyright 2017 LANSLLC, all rights reserved
#include "function_definition_lister.h"
#include "gtest/gtest.h"
#include "prep_code.h"
#include <tuple>
using namespace corct;
using namespace clang;
using namespace clang::ast_matchers;
/** \brief Run a test case,
\tpara... | 22.267857 | 59 | 0.653569 | [
"object"
] |
7876542b4a35de5f71ab9eb921e55f9953c9c0d5 | 24,431 | hpp | C++ | boost/boost/property_map/parallel/distributed_property_map.hpp | tonystone/geofeatures | 25aca530a9140b3f259e9ee0833c93522e83a697 | [
"BSL-1.0",
"Apache-2.0"
] | 24 | 2015-08-25T05:35:37.000Z | 2020-10-24T14:21:59.000Z | boost/boost/property_map/parallel/distributed_property_map.hpp | tonystone/geofeatures | 25aca530a9140b3f259e9ee0833c93522e83a697 | [
"BSL-1.0",
"Apache-2.0"
] | 97 | 2015-08-25T16:11:16.000Z | 2019-03-17T00:54:32.000Z | boost/boost/property_map/parallel/distributed_property_map.hpp | tonystone/geofeatures | 25aca530a9140b3f259e9ee0833c93522e83a697 | [
"BSL-1.0",
"Apache-2.0"
] | 9 | 2015-08-26T03:11:38.000Z | 2018-03-21T07:16:29.000Z | // Copyright (C) 2004-2008 The Trustees of Indiana University.
// Use, modification and distribution is 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)
// Authors: Douglas Gregor
// Nick Edmonds
// A... | 35.20317 | 118 | 0.707912 | [
"object",
"vector",
"model"
] |
7878c8495ca5088f0612212e5bc0be5f7f11bbe0 | 1,199 | cpp | C++ | tests/test_tbb.cpp | danielepanozzo/polyfem | 34a7719c2a3874b7ecc865c28d8b3d9bbdf7d0ba | [
"MIT"
] | 228 | 2018-11-23T19:32:42.000Z | 2022-03-25T10:30:51.000Z | tests/test_tbb.cpp | danielepanozzo/polyfem | 34a7719c2a3874b7ecc865c28d8b3d9bbdf7d0ba | [
"MIT"
] | 14 | 2019-03-11T22:44:14.000Z | 2022-03-16T14:50:35.000Z | tests/test_tbb.cpp | danielepanozzo/polyfem | 34a7719c2a3874b7ecc865c28d8b3d9bbdf7d0ba | [
"MIT"
] | 45 | 2018-12-31T02:04:57.000Z | 2022-03-08T02:42:01.000Z | ////////////////////////////////////////////////////////////////////////////////
#ifdef POLYFEM_WITH_TBB
#include <catch.hpp>
#include <iostream>
#include <tbb/blocked_range.h>
#include <tbb/parallel_for.h>
#include <tbb/enumerable_thread_specific.h>
////////////////////////////////////////////////////////////////////... | 29.243902 | 95 | 0.559633 | [
"vector"
] |
787942ac47481e1b5db85b7b9f754eac223e75db | 5,004 | hpp | C++ | framework/code/material/material.hpp | MikeCurrington/adreno-gpu-vulkan-code-sample-framework | 2807e6204f5fcbbe9ff9bcc783e4cc2d66ca79cb | [
"BSD-3-Clause"
] | null | null | null | framework/code/material/material.hpp | MikeCurrington/adreno-gpu-vulkan-code-sample-framework | 2807e6204f5fcbbe9ff9bcc783e4cc2d66ca79cb | [
"BSD-3-Clause"
] | null | null | null | framework/code/material/material.hpp | MikeCurrington/adreno-gpu-vulkan-code-sample-framework | 2807e6204f5fcbbe9ff9bcc783e4cc2d66ca79cb | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2021, Qualcomm Innovation Center, Inc. All rights reserved.
// SPDX-License-Identifier: BSD-3-Clause
#pragma once
#include <map>
#include <vector>
#include <string>
#include <memory>
#define VK_ENABLE_BETA_EXTENSIONS
#include <vulkan/vulkan.h>
#include "descriptorSetLayout.hpp"
// Forward declaration... | 43.513043 | 329 | 0.740608 | [
"mesh",
"render",
"object",
"vector",
"model"
] |
787c0f744aadcc454aa726dc478ebf0a56c1d220 | 2,338 | cpp | C++ | solved/0-b/a-question-of-time/time.cpp | abuasifkhan/pc-code | 77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90 | [
"Unlicense"
] | 13 | 2015-09-30T19:18:04.000Z | 2021-06-26T21:11:30.000Z | solved/0-b/a-question-of-time/time.cpp | sbmaruf/pc-code | 77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90 | [
"Unlicense"
] | null | null | null | solved/0-b/a-question-of-time/time.cpp | sbmaruf/pc-code | 77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90 | [
"Unlicense"
] | 13 | 2015-01-04T09:49:54.000Z | 2021-06-03T13:18:44.000Z | #include <algorithm>
#include <cstdio>
#include <string>
#include <vector>
using namespace std;
#define cFor(t,v,c) for(t::const_iterator v=c.begin(); v != c.end(); ++v)
#define MAXT 500
int gcd(int a, int b) { for (int c = a%b; c; a=b,b=c,c=a%b); return b; }
// Fraction
struct Fraction {
int p, q;
Fracti... | 22.921569 | 74 | 0.49059 | [
"vector"
] |
787dcff22d67e251c4505859378a15db2ac93a1e | 12,026 | cpp | C++ | dev/Code/Framework/AzCore/AzCore/Debug/AssetTracking.cpp | brianherrera/lumberyard | f85344403c1c2e77ec8c75deb2c116e97b713217 | [
"AML"
] | 1,738 | 2017-09-21T10:59:12.000Z | 2022-03-31T21:05:46.000Z | dev/Code/Framework/AzCore/AzCore/Debug/AssetTracking.cpp | ArchitectureStudios/lumberyard | f85344403c1c2e77ec8c75deb2c116e97b713217 | [
"AML"
] | 427 | 2017-09-29T22:54:36.000Z | 2022-02-15T19:26:50.000Z | dev/Code/Framework/AzCore/AzCore/Debug/AssetTracking.cpp | ArchitectureStudios/lumberyard | f85344403c1c2e77ec8c75deb2c116e97b713217 | [
"AML"
] | 671 | 2017-09-21T08:04:01.000Z | 2022-03-29T14:30:07.000Z | /*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use of this software is governed by the License,
* or, if provided, by the license below or t... | 35.266862 | 221 | 0.562947 | [
"vector"
] |
7881a94f353df7c9e2b502095f9eec1f3cfb3ef2 | 4,743 | cc | C++ | lib/native/writer.cc | NickNaso/orientjs-native | 55d0ea6f60e151c96bfe9d8b4c2ceae7b1d1a13d | [
"Apache-2.0"
] | null | null | null | lib/native/writer.cc | NickNaso/orientjs-native | 55d0ea6f60e151c96bfe9d8b4c2ceae7b1d1a13d | [
"Apache-2.0"
] | null | null | null | lib/native/writer.cc | NickNaso/orientjs-native | 55d0ea6f60e151c96bfe9d8b4c2ceae7b1d1a13d | [
"Apache-2.0"
] | null | null | null | #include "writer.h"
#include <math.h>
#include <iostream>
void writeMap(v8::Local<v8::Object> toWrite, Orient::RecordWriter & writer);
void writeArray(v8::Local<v8::Array> toWrite, Orient::RecordWriter & writer);
void writeValue(v8::Local<v8::Value> value, Orient::RecordWriter & writer);
// not supported in node 0.x
/... | 35.133333 | 103 | 0.670251 | [
"object"
] |
78825ea28191c79846bbde9e6c6a4bc643b5feec | 4,234 | cpp | C++ | src/parser/transform/expression/transform_expression.cpp | GuinsooLab/guinsoodb | f200538868738ae460f62fb89211deec946cefff | [
"MIT"
] | 1 | 2021-04-22T05:41:54.000Z | 2021-04-22T05:41:54.000Z | src/parser/transform/expression/transform_expression.cpp | GuinsooLab/guinsoodb | f200538868738ae460f62fb89211deec946cefff | [
"MIT"
] | null | null | null | src/parser/transform/expression/transform_expression.cpp | GuinsooLab/guinsoodb | f200538868738ae460f62fb89211deec946cefff | [
"MIT"
] | 1 | 2021-12-12T10:24:57.000Z | 2021-12-12T10:24:57.000Z | #include "guinsoodb/common/exception.hpp"
#include "guinsoodb/parser/expression/default_expression.hpp"
#include "guinsoodb/parser/transformer.hpp"
namespace guinsoodb {
unique_ptr<ParsedExpression> Transformer::TransformResTarget(guinsoodb_libpgquery::PGResTarget *root) {
if (!root) {
return nullptr;
}
auto exp... | 41.106796 | 109 | 0.791923 | [
"vector"
] |
7882eba101b14504e23b34eaaf09d43bca7d6d1d | 2,804 | cpp | C++ | Parte2/mainParte2.cpp | epicLevi/Grafosaurio | 33e897c117b93748c70f1734a47eef22ee736f77 | [
"MIT"
] | null | null | null | Parte2/mainParte2.cpp | epicLevi/Grafosaurio | 33e897c117b93748c70f1734a47eef22ee736f77 | [
"MIT"
] | null | null | null | Parte2/mainParte2.cpp | epicLevi/Grafosaurio | 33e897c117b93748c70f1734a47eef22ee736f77 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#include <vector>
#include <queue>
#include <limits.h>
#include <cstdio>
#include "GRAPH.h"
using namespace std;
GRAPH_ADJ_LIST AdjLgraph;
int main(){
int i_op;
int N;
printf("Select an opotion\n");
printf("1.- Read from file\n");
printf("2.- Ingress values manually\n"... | 33.783133 | 157 | 0.514622 | [
"vector"
] |
7886bfabb8ff6b0c4bb4f7f4e11ef819103f2286 | 7,890 | hpp | C++ | orca_base/include/orca_base/base_node.hpp | tsaoyu/orca2 | 101513efe9168d0d122158b8c26968595ddf28d4 | [
"BSD-3-Clause"
] | null | null | null | orca_base/include/orca_base/base_node.hpp | tsaoyu/orca2 | 101513efe9168d0d122158b8c26968595ddf28d4 | [
"BSD-3-Clause"
] | null | null | null | orca_base/include/orca_base/base_node.hpp | tsaoyu/orca2 | 101513efe9168d0d122158b8c26968595ddf28d4 | [
"BSD-3-Clause"
] | null | null | null | #ifndef ORCA_BASE_BASE_NODE_HPP
#define ORCA_BASE_BASE_NODE_HPP
#include "fiducial_vlam_msgs/msg/map.hpp"
#include "sensor_msgs/msg/imu.hpp"
#include "sensor_msgs/msg/joy.hpp"
#include "visualization_msgs/msg/marker_array.hpp"
#include "orca_msgs/msg/barometer.hpp"
#include "orca_msgs/msg/battery.hpp"
#include "orca_... | 37.932692 | 117 | 0.648416 | [
"transform"
] |
78887f127598bbd0f33b8c65b195654d6ce73251 | 33,682 | cpp | C++ | graphics/applications/view-points.cpp | jackiecx/snark | 492c1b6f26b9e3e8ea6fc66ad1a8c7f997f90ec6 | [
"BSD-3-Clause"
] | 1 | 2019-06-14T15:21:24.000Z | 2019-06-14T15:21:24.000Z | graphics/applications/view-points.cpp | jackiecx/snark | 492c1b6f26b9e3e8ea6fc66ad1a8c7f997f90ec6 | [
"BSD-3-Clause"
] | null | null | null | graphics/applications/view-points.cpp | jackiecx/snark | 492c1b6f26b9e3e8ea6fc66ad1a8c7f997f90ec6 | [
"BSD-3-Clause"
] | null | null | null | // This file is part of snark, a generic and flexible library for robotics research
// Copyright (c) 2011 The University of Sydney
// 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. R... | 63.074906 | 304 | 0.531946 | [
"cad",
"render",
"shape",
"vector",
"model",
"3d"
] |
7888b7a36b859061e9f1927942e5228a416e8409 | 40,958 | cpp | C++ | test/gpu/lif_unit_test.cpp | denniskb/bsim | bfe02148fc2fee7efff68b16173c626c515a49bb | [
"MIT"
] | null | null | null | test/gpu/lif_unit_test.cpp | denniskb/bsim | bfe02148fc2fee7efff68b16173c626c515a49bb | [
"MIT"
] | null | null | null | test/gpu/lif_unit_test.cpp | denniskb/bsim | bfe02148fc2fee7efff68b16173c626c515a49bb | [
"MIT"
] | null | null | null | /*
Copyright Kristjan Kongas 2020
Boost Software License - Version 1.0 - August 17th, 2003
Permission is hereby granted, free of charge, to any person or organization
obtaining a copy of the software and accompanying documentation covered by
this license (the "Software") to use, reproduce, display... | 29.048227 | 154 | 0.62359 | [
"object",
"vector",
"model",
"transform"
] |
788942b8036d67a304b434c4f9b86fdbe4847076 | 4,764 | cpp | C++ | Library/Standard/Primitives/PathNodeEnumerator.cpp | dwhobrey/MindCausalModellingLibrary | 797d716e785d2dcd5c373ab385c20d3a74bbfcb0 | [
"BSD-3-Clause"
] | null | null | null | Library/Standard/Primitives/PathNodeEnumerator.cpp | dwhobrey/MindCausalModellingLibrary | 797d716e785d2dcd5c373ab385c20d3a74bbfcb0 | [
"BSD-3-Clause"
] | null | null | null | Library/Standard/Primitives/PathNodeEnumerator.cpp | dwhobrey/MindCausalModellingLibrary | 797d716e785d2dcd5c373ab385c20d3a74bbfcb0 | [
"BSD-3-Clause"
] | null | null | null | #include "PlatoIncludes.h"
#include "Strings.h"
#include "ClassTypeInfo.h"
#include "Debug.h"
#include "Identifier.h"
#include "IdentifierRegex.h"
#include "PropertyModes.h"
#include "PropertyScopes.h"
#include "Property.h"
#include "ConfigurePhases.h"
#include "Container.h"
#include "Arguments.h"
#include "PropertyEnu... | 39.7 | 146 | 0.556255 | [
"object"
] |
7889d56807edd1980631ab7a7a249d262eda35f8 | 2,982 | cpp | C++ | Gems/Atom/RHI/DX12/Code/Source/RHI/FrameGraphExecuteGroup.cpp | cypherdotXd/o3de | bb90c4ddfe2d495e9c00ebf1e2650c6d603a5676 | [
"Apache-2.0",
"MIT"
] | 11 | 2021-07-08T09:58:26.000Z | 2022-03-17T17:59:26.000Z | Gems/Atom/RHI/DX12/Code/Source/RHI/FrameGraphExecuteGroup.cpp | RoddieKieley/o3de | e804fd2a4241b039a42d9fa54eaae17dc94a7a92 | [
"Apache-2.0",
"MIT"
] | 29 | 2021-07-06T19:33:52.000Z | 2022-03-22T10:27:49.000Z | Gems/Atom/RHI/DX12/Code/Source/RHI/FrameGraphExecuteGroup.cpp | RoddieKieley/o3de | e804fd2a4241b039a42d9fa54eaae17dc94a7a92 | [
"Apache-2.0",
"MIT"
] | 4 | 2021-07-06T19:24:43.000Z | 2022-03-31T12:42:27.000Z | /*
* Copyright (c) Contributors to the Open 3D Engine Project.
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#include <RHI/FrameGraphExecuteGroup.h>
#include <RHI/SwapChain.h>
namespace AZ
{
namespace DX... | 36.365854 | 117 | 0.612676 | [
"3d"
] |
788b37a76b1eb796ccf670993a145701e1f1b2a0 | 13,646 | hpp | C++ | Vimba_5.0/VimbaCPP/Include/Feature.hpp | dylansnow/vimba_pose_detection | 2aeac00cb678f8a7f490f52be3fe5f87573703db | [
"MIT",
"Unlicense"
] | null | null | null | Vimba_5.0/VimbaCPP/Include/Feature.hpp | dylansnow/vimba_pose_detection | 2aeac00cb678f8a7f490f52be3fe5f87573703db | [
"MIT",
"Unlicense"
] | 10 | 2019-05-01T22:33:18.000Z | 2019-08-15T19:52:15.000Z | FINIS-Console/include/VimbaCPP/Include/Feature.hpp | FINISinstrument/FINIS-Console | 1ae597a40421dc7e22191b852c92c94e96523458 | [
"MIT"
] | null | null | null | /*=============================================================================
Copyright (C) 2012 Allied Vision Technologies. All Rights Reserved.
Redistribution of this file, in original or modified form, without
prior written consent of Allied Vision Technologies is prohibited.
-----------------------------... | 24.992674 | 93 | 0.46717 | [
"vector"
] |
788c5f0f4ad51bead446a528deae97456213bbd7 | 1,966 | cpp | C++ | pass-gen[56]/src/pass.cpp | kondanta/programming-challenges | 4fcb7b7fc3a664a79745e6b09a0f58f11402a2a5 | [
"MIT"
] | 1 | 2018-06-22T11:58:26.000Z | 2018-06-22T11:58:26.000Z | pass-gen[56]/src/pass.cpp | kondanta/programming-challenges | 4fcb7b7fc3a664a79745e6b09a0f58f11402a2a5 | [
"MIT"
] | null | null | null | pass-gen[56]/src/pass.cpp | kondanta/programming-challenges | 4fcb7b7fc3a664a79745e6b09a0f58f11402a2a5 | [
"MIT"
] | null | null | null | #include "pass.hpp"
#include <vector>
#include <cstdlib>
#include <ctime>
void PassGen::SetDigit(int flag) {
digit = flag;
}
void PassGen::SetSymbol(int flag) {
symbols = flag;
}
int PassGen::GetDigit() {
return digit;
}
int PassGen::GetSymbol(){
return symbols;
}
void PassGen::HelpMenu(std::string argumen... | 23.686747 | 69 | 0.525941 | [
"vector"
] |
78980015f0f2cfce10af781122ead415a7cd877e | 19,629 | tcc | C++ | src/camlsnark_c/libsnark-caml/libsnark/gadgetlib1/gadgets/verifiers/r1cs_se_ppzksnark_verifier_gadget.tcc | gtank/snarky | fad2a6d32ce8d5314c6daafa699f80985b865719 | [
"MIT"
] | 2 | 2019-06-27T13:36:19.000Z | 2019-06-27T15:12:54.000Z | src/camlsnark_c/libsnark-caml/libsnark/gadgetlib1/gadgets/verifiers/r1cs_se_ppzksnark_verifier_gadget.tcc | gtank/snarky | fad2a6d32ce8d5314c6daafa699f80985b865719 | [
"MIT"
] | null | null | null | src/camlsnark_c/libsnark-caml/libsnark/gadgetlib1/gadgets/verifiers/r1cs_se_ppzksnark_verifier_gadget.tcc | gtank/snarky | fad2a6d32ce8d5314c6daafa699f80985b865719 | [
"MIT"
] | null | null | null | /** @file
*****************************************************************************
Implementation of interfaces for the the R1CS ppzkSNARK verifier gadget.
See r1cs_se_ppzksnark_verifier_gadget.hpp .
*****************************************************************************
* @author This file is pa... | 41.237395 | 213 | 0.642417 | [
"vector"
] |
789a6d619cb3a137cc470a7cf9104f0dc849be5b | 11,542 | cpp | C++ | httpserver/onion_processing.cpp | ilie1988/italo-storage-server | 2560fe7cbdf7fe34b1158bd97280603fd5cfa498 | [
"MIT"
] | null | null | null | httpserver/onion_processing.cpp | ilie1988/italo-storage-server | 2560fe7cbdf7fe34b1158bd97280603fd5cfa498 | [
"MIT"
] | null | null | null | httpserver/onion_processing.cpp | ilie1988/italo-storage-server | 2560fe7cbdf7fe34b1158bd97280603fd5cfa498 | [
"MIT"
] | null | null | null | #include "channel_encryption.hpp"
#include "italo_logger.h"
#include "request_handler.h"
#include "service_node.h"
#include "utils.hpp"
/// This is only included because of `parse_combined_payload`,
/// in the future it will be moved
#include "http_connection.h"
#include <charconv>
#include <variant>
using nlohmann:... | 33.071633 | 81 | 0.587073 | [
"vector"
] |
789c315a34d981e74fbaf7f3d15d12e55c2c850f | 2,292 | cc | C++ | services/ui/ws/event_targeter.cc | zipated/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | services/ui/ws/event_targeter.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | services/ui/ws/event_targeter.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.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 "services/ui/ws/event_targeter.h"
#include "base/command_line.h"
#include "base/metrics/user_metrics.h"
#include "base/task_scheduler/post_task.... | 38.847458 | 80 | 0.722077 | [
"geometry"
] |
789f3dde7a8070d065bece5dfd72e74278f65bce | 5,810 | cpp | C++ | argos3/src/plugins/robots/generic/simulator/radios_default_actuator.cpp | yiftachn/krembot_sim_fork | d3d1b050f9fff4c96bded298eadde5a9ca4dab6b | [
"MIT"
] | null | null | null | argos3/src/plugins/robots/generic/simulator/radios_default_actuator.cpp | yiftachn/krembot_sim_fork | d3d1b050f9fff4c96bded298eadde5a9ca4dab6b | [
"MIT"
] | 1 | 2021-02-28T23:45:32.000Z | 2021-02-28T23:45:32.000Z | argos3/src/plugins/robots/generic/simulator/radios_default_actuator.cpp | yiftachn/krembot_sim_fork | d3d1b050f9fff4c96bded298eadde5a9ca4dab6b | [
"MIT"
] | 7 | 2021-02-26T16:41:06.000Z | 2022-01-19T21:36:31.000Z | /**
* @file <argos3/plugins/robots/generic/simulator/radios_default_actuator.cpp>
*
* @author Michael Allwright - <allsey87@gmail.com>
*/
#include "radios_default_actuator.h"
#include <argos3/plugins/simulator/media/radio_medium.h>
#include <argos3/plugins/simulator/entities/radio_equipped_entity.h>
namespace arg... | 38.223684 | 103 | 0.492599 | [
"vector"
] |
a194a2ba3889385febac108b17502c3bf1663058 | 7,060 | cpp | C++ | main.cpp | friedrich12/dokucoin | c3177719303ddd346fd64375ce029203099b4765 | [
"MIT"
] | null | null | null | main.cpp | friedrich12/dokucoin | c3177719303ddd346fd64375ce029203099b4765 | [
"MIT"
] | null | null | null | main.cpp | friedrich12/dokucoin | c3177719303ddd346fd64375ce029203099b4765 | [
"MIT"
] | null | null | null | // author: tko
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
#include <memory>
#include <stdexcept>
#include "hash.cpp"
#include "Block.cpp"
#include "common.cpp"
#include "BlockChain.cpp"
#include "requests.cpp"
#include "json.h"
using json = nlohmann::json;
using namespace std;
#inclu... | 34.607843 | 144 | 0.55 | [
"vector"
] |
a196b5d223cd64f3a58c83931a426154353a547c | 8,934 | cpp | C++ | dev/Code/Tools/SceneAPI/FbxSceneBuilder/FbxImporter.cpp | stickyparticles/lumberyard | dc523dd780f3cd1874251181b7cf6848b8db9959 | [
"AML"
] | 2 | 2018-03-29T10:56:36.000Z | 2020-12-12T15:28:14.000Z | dev/Code/Tools/SceneAPI/FbxSceneBuilder/FbxImporter.cpp | JulianoCristian/Lumberyard-3 | dc523dd780f3cd1874251181b7cf6848b8db9959 | [
"AML"
] | null | null | null | dev/Code/Tools/SceneAPI/FbxSceneBuilder/FbxImporter.cpp | JulianoCristian/Lumberyard-3 | dc523dd780f3cd1874251181b7cf6848b8db9959 | [
"AML"
] | 3 | 2019-05-13T09:41:33.000Z | 2021-04-09T12:12:38.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... | 46.051546 | 131 | 0.542646 | [
"transform"
] |
a1a36b926142442ad10b0f35e33a356b306d406c | 934 | cpp | C++ | twoPointers/maxContinousSeriesOf1.cpp | archit-1997/InterviewB | 6f5655ce0c9c8dd1b2433588f47da5aa7f5860d7 | [
"MIT"
] | 1 | 2021-01-27T16:37:38.000Z | 2021-01-27T16:37:38.000Z | twoPointers/maxContinousSeriesOf1.cpp | archit-1997/InterviewBit | 6f5655ce0c9c8dd1b2433588f47da5aa7f5860d7 | [
"MIT"
] | null | null | null | twoPointers/maxContinousSeriesOf1.cpp | archit-1997/InterviewBit | 6f5655ce0c9c8dd1b2433588f47da5aa7f5860d7 | [
"MIT"
] | null | null | null |
vector<int> Solution::maxone(vector<int> &v, int b) {
int n = v.size();
vector<int> zero;
int index = -1;
int l = 0, r = 0, count = 0;
int left = 0, right = 0;
vector<int> ans;
int len = INT_MIN;
while (l <= r && r < n) {
while (r < n) {
if (v[r] == 0) {
zero.push_back(r);
cou... | 21.72093 | 72 | 0.486081 | [
"vector"
] |
a1a4384e6b2d5c4d423bd3e885daae7bcda28f23 | 2,501 | cpp | C++ | src/main/bitbucket/PullRequestFormatter.cpp | TNG/mustard-cli | aa8db4e923271546b46a1f9a71778b3bed1efe3a | [
"Apache-2.0"
] | 7 | 2019-04-12T07:13:32.000Z | 2021-09-22T20:53:44.000Z | src/main/bitbucket/PullRequestFormatter.cpp | TNG/mustard-cli | aa8db4e923271546b46a1f9a71778b3bed1efe3a | [
"Apache-2.0"
] | 2 | 2020-07-21T05:01:13.000Z | 2020-08-14T15:38:17.000Z | src/main/bitbucket/PullRequestFormatter.cpp | TNG/mustard-cli | aa8db4e923271546b46a1f9a71778b3bed1efe3a | [
"Apache-2.0"
] | 1 | 2020-07-21T05:03:09.000Z | 2020-07-21T05:03:09.000Z | #include <sstream>
#include "PullRequestFormatter.h"
#include "../system/TextTable.h"
string PullRequestFormatter::format ( const PullRequest &pullRequest )
{
stringstream ss;
ss << pullRequest.fromBranch << " → " << pullRequest.toBranch << " *** "
<< formatBold << pullRequest.title << formatNormal << "... | 33.346667 | 147 | 0.594562 | [
"vector"
] |
a1ad67b852a1500732a386723eef8dd89cf2e001 | 8,597 | cpp | C++ | 4-FinalProduct/src/FinalProduct.cpp | acharroux/Photon-Particle-Workshop | 820c25eb290a141f9473d63d9914d683cf078f95 | [
"MIT"
] | 2 | 2021-03-09T17:29:56.000Z | 2021-08-17T23:09:03.000Z | 4-FinalProduct/src/FinalProduct.cpp | acharroux/Photon-Particle-Workshop | 820c25eb290a141f9473d63d9914d683cf078f95 | [
"MIT"
] | null | null | null | 4-FinalProduct/src/FinalProduct.cpp | acharroux/Photon-Particle-Workshop | 820c25eb290a141f9473d63d9914d683cf078f95 | [
"MIT"
] | null | null | null | /*
* Project ShowStatus
* Description: Manage a sonar and a display panel. Final product
* Author: Alain Charroux
* Date: 24/04/2019
*/
#include "application.h"
#include "Adafruit_SSD1306/Adafruit_SSD1306.h"
#include "HC_SR04.h"
#include "SoftwareState.h"
#include "WifiPanel.h"
#include "SoftwarePanel.h"
/****... | 32.812977 | 107 | 0.644527 | [
"object"
] |
a1ae98ff195f52a4638f9531b8b6df6f4cdc9762 | 1,141 | cpp | C++ | #0842.split-array-into-fibonacci-sequence.cpp | hosomi/LeetCode | aba8fae8e37102b33dba8fd4adf1f018c395a4db | [
"MIT"
] | null | null | null | #0842.split-array-into-fibonacci-sequence.cpp | hosomi/LeetCode | aba8fae8e37102b33dba8fd4adf1f018c395a4db | [
"MIT"
] | null | null | null | #0842.split-array-into-fibonacci-sequence.cpp | hosomi/LeetCode | aba8fae8e37102b33dba8fd4adf1f018c395a4db | [
"MIT"
] | null | null | null | class Solution {
public:
vector<int> splitIntoFibonacci(string num) {
vector<int> v;
isSplitIntoFibonacci(v, num, num.length(), 0, 0, 0);
return v;
}
private:
bool isSplitIntoFibonacci(
vector<int> &v,
string num,
int length,
int index,
long ... | 21.528302 | 79 | 0.373357 | [
"vector"
] |
a1afcbf06a389b402b2c7ab1116bcbba1cb38955 | 8,233 | cc | C++ | src/sst/elements/merlin/test/simple_patterns/shift.cc | jleidel/sst-elements | ad60d81078a9a1dca0ffc04411858491953c6a73 | [
"BSD-3-Clause"
] | null | null | null | src/sst/elements/merlin/test/simple_patterns/shift.cc | jleidel/sst-elements | ad60d81078a9a1dca0ffc04411858491953c6a73 | [
"BSD-3-Clause"
] | null | null | null | src/sst/elements/merlin/test/simple_patterns/shift.cc | jleidel/sst-elements | ad60d81078a9a1dca0ffc04411858491953c6a73 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2009-2019 NTESS. Under the terms
// of Contract DE-NA0003525 with NTESS, the U.S.
// Government retains certain rights in this software.
//
// Copyright (c) 2009-2019, NTESS
// All rights reserved.
//
// Portions are copyright of other developers:
// See the file CONTRIBUTORS.TXT in the top level directo... | 28.003401 | 133 | 0.587149 | [
"object"
] |
a1b38dd66188f4a9d42aeebfbdca5804c37e8174 | 19,698 | cpp | C++ | camera/CameraParameters.cpp | rINanDO/android_device_samsung_hero-common | 9980739e339d00dcaa1c6f75b79dba8cac1492fb | [
"Apache-2.0"
] | 19 | 2017-05-04T18:28:03.000Z | 2020-05-29T12:04:31.000Z | camera/CameraParameters.cpp | rINanDO/android_device_samsung_hero-common | 9980739e339d00dcaa1c6f75b79dba8cac1492fb | [
"Apache-2.0"
] | 1 | 2018-01-18T13:48:02.000Z | 2018-01-18T13:48:02.000Z | camera/CameraParameters.cpp | rINanDO/android_device_samsung_hero-common | 9980739e339d00dcaa1c6f75b79dba8cac1492fb | [
"Apache-2.0"
] | 46 | 2017-05-01T20:54:26.000Z | 2019-09-13T12:12:44.000Z | /*
**
** Copyright 2008, The Android Open Source Project
**
** 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 appl... | 36.276243 | 105 | 0.705808 | [
"vector"
] |
a1b7dd583947db8d57911f9efe364623ecb540e3 | 14,910 | cpp | C++ | libextra/source/ExtraMath.cpp | PRImA-Research-Lab/prima-image-lib | 9072672cf1f42caf35e8c69d6b09ee6217fb24a6 | [
"Apache-2.0"
] | 4 | 2017-10-04T06:23:11.000Z | 2019-05-09T14:39:12.000Z | libextra/source/ExtraMath.cpp | PRImA-Research-Lab/prima-image-lib | 9072672cf1f42caf35e8c69d6b09ee6217fb24a6 | [
"Apache-2.0"
] | null | null | null | libextra/source/ExtraMath.cpp | PRImA-Research-Lab/prima-image-lib | 9072672cf1f42caf35e8c69d6b09ee6217fb24a6 | [
"Apache-2.0"
] | 2 | 2018-10-11T02:01:42.000Z | 2019-02-09T21:30:59.000Z | #include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <algorithm>
#include "ExtraMath.h"
namespace PRImA
{
/*
* Class CExtraMath
*
* Helper class with static functions for mathematical problems.
*/
/*
* Calculates the angle between two points
*/
double CExtraMath::AngleTwoPoints(int X1, int Y1, in... | 23.480315 | 144 | 0.606908 | [
"geometry"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.