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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c9c99a94fb9526c728a26c45ceef1f9cd35a5129 | 11,351 | hpp | C++ | include/Mono/Net/Security/MobileTlsContext.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | include/Mono/Net/Security/MobileTlsContext.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | include/Mono/Net/Security/MobileTlsContext.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.IDisposable
#include "System/IDisposable.hpp"
// Including typ... | 57.913265 | 852 | 0.746278 | [
"object"
] |
c9cf1a64b338bba0111d6048ecaec4ec63c7db50 | 4,103 | cpp | C++ | multimedia/directx/dplay/dplay8/common/classfactory.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | multimedia/directx/dplay/dplay8/common/classfactory.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | multimedia/directx/dplay/dplay8/common/classfactory.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | /*==========================================================================
*
* Copyright (C) 2001 Microsoft Corporation. All Rights Reserved.
*
* File: ClassFactory.cpp
* Content: Base ClassFactory implementation
*
*
* History:
* Date By Reason
* ==== == ======
* 07/20/2001 ma... | 25.968354 | 130 | 0.675359 | [
"object"
] |
c9d4ba9a8b1cb302a4eeea837e5d2573cdac7519 | 3,441 | cpp | C++ | Result_Analysis/ProcessBleu.cpp | Prithwiraj12/Bengali-Deep-News-Summarization | 6c638880577f421f0b7849f75963261c24537c95 | [
"MIT"
] | 6 | 2020-11-25T15:29:09.000Z | 2022-01-03T15:30:59.000Z | Result_Analysis/ProcessBleu.cpp | Prithwiraj12/Bengali-Deep-News-Summarization | 6c638880577f421f0b7849f75963261c24537c95 | [
"MIT"
] | null | null | null | Result_Analysis/ProcessBleu.cpp | Prithwiraj12/Bengali-Deep-News-Summarization | 6c638880577f421f0b7849f75963261c24537c95 | [
"MIT"
] | null | null | null | /*input
2
adjasd
asdfjhk kjlashd
*/
/*
author : Avi Mallick
CSE'15 SUST
*/
#include <bits/stdc++.h>
//#include <sstream>
//#include <cstdlib>
//#include <cctype>
//#include <cmath>
//#include <algorithm>
//#include <set>
//#include <queue>
//#include <stack>
//#include <list>
//#include <iostream>
//#inclu... | 23.731034 | 64 | 0.555943 | [
"vector"
] |
518599aa4c2d6c2995ff713dc22b4831a3e33d46 | 9,568 | cpp | C++ | src/third_party/angle/src/tests/gl_tests/ClearTest.cpp | neeker/chromium_extract | 0f9a0206a1876e98cf69e03869983e573138284c | [
"BSD-3-Clause"
] | 27 | 2016-04-27T01:02:03.000Z | 2021-12-13T08:53:19.000Z | src/third_party/angle/src/tests/gl_tests/ClearTest.cpp | neeker/chromium_extract | 0f9a0206a1876e98cf69e03869983e573138284c | [
"BSD-3-Clause"
] | 2 | 2017-03-09T09:00:50.000Z | 2017-09-21T15:48:20.000Z | src/third_party/angle/src/tests/gl_tests/ClearTest.cpp | neeker/chromium_extract | 0f9a0206a1876e98cf69e03869983e573138284c | [
"BSD-3-Clause"
] | 17 | 2016-04-27T02:06:39.000Z | 2019-12-18T08:07:00.000Z | //
// Copyright 2015 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
#include "test_utils/ANGLETest.h"
using namespace angle;
class ClearTestBase : public ANGLETest
{
protected:
ClearTestBase()
{
... | 30.182965 | 125 | 0.685723 | [
"render"
] |
518ac376955523c82b101097c22d8f631ad62f5b | 6,223 | cpp | C++ | modules/line/problem.cpp | adebrecht661/asteroid-spring-sims | 8767d17a0c7229c0603c8b16f6090efeed70614e | [
"MIT"
] | null | null | null | modules/line/problem.cpp | adebrecht661/asteroid-spring-sims | 8767d17a0c7229c0603c8b16f6090efeed70614e | [
"MIT"
] | 1 | 2020-08-05T23:03:36.000Z | 2020-08-05T23:03:36.000Z | modules/line/problem.cpp | adebrecht661/asteroid-spring-sims | 8767d17a0c7229c0603c8b16f6090efeed70614e | [
"MIT"
] | null | null | null | #ifdef __cplusplus
# ifdef __GNUC__
# define restrict __restrict__
# else
# define restrict
# endif
#endif
/**
* resolved mass spring model
* using the leap frog integrator.
*/
#include <cmath>
#include <vector>
#include <string>
#include <iostream>
#include <iomanip>
#include <fstream>
extern "C" {
#include "re... | 27.90583 | 80 | 0.716696 | [
"vector",
"model"
] |
519644127caddd4dd640267b316a900f5fd1d803 | 2,501 | cpp | C++ | codechef/PRIMEDST/Wrong Answer (4).cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | 1 | 2022-02-11T16:55:36.000Z | 2022-02-11T16:55:36.000Z | codechef/PRIMEDST/Wrong Answer (4).cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | codechef/PRIMEDST/Wrong Answer (4).cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | /****************************************************************************************
* @author: kzvd4729 created: 14-09-2018 19:28:51
* solution_verdict: Wrong Answer language: C++14
* run... | 24.048077 | 111 | 0.5002 | [
"vector"
] |
51a0b3fe7ca1b54f1cfe4953ae877b26fa0f9d22 | 6,162 | cpp | C++ | src/trees/Ukkonen.cpp | kcwiakala/algo | b5d393d29c7ca612246c12cefe79bd14432e2e49 | [
"MIT"
] | null | null | null | src/trees/Ukkonen.cpp | kcwiakala/algo | b5d393d29c7ca612246c12cefe79bd14432e2e49 | [
"MIT"
] | null | null | null | src/trees/Ukkonen.cpp | kcwiakala/algo | b5d393d29c7ca612246c12cefe79bd14432e2e49 | [
"MIT"
] | null | null | null | #include <Common.hpp>
#include <bitset>
#include <fstream>
namespace algo {
namespace ukkonen {
// std::ofstream f("output.txt");
struct Result
{
Result(unsigned long start, unsigned char len): startIdx(start), length(len) {}
unsigned long startIdx;
unsigned char length;
bool operator<(unsigned long idx) c... | 25.568465 | 923 | 0.644434 | [
"vector"
] |
51cac0273a3724b6dadf6ec11b25ef169f4c40dc | 2,405 | tpp | C++ | src/utils/graph/Graph.tpp | biromiro/feup-cal-proj | 2f70d0bb866254897271ce9bb339c866cd8cf6b3 | [
"MIT"
] | null | null | null | src/utils/graph/Graph.tpp | biromiro/feup-cal-proj | 2f70d0bb866254897271ce9bb339c866cd8cf6b3 | [
"MIT"
] | null | null | null | src/utils/graph/Graph.tpp | biromiro/feup-cal-proj | 2f70d0bb866254897271ce9bb339c866cd8cf6b3 | [
"MIT"
] | 1 | 2021-05-29T18:03:47.000Z | 2021-05-29T18:03:47.000Z | //
// Created by nrtc on 03/05/2021.
//
#ifndef FEUP_CAL_PROJ_GRAPH_TPP
#define FEUP_CAL_PROJ_GRAPH_TPP
#include "Node.tpp"
#include "Edge.tpp"
#include <vector>
#include <map>
#include <queue>
#include <iostream>
#include <graphLoad/MapData.h>
/* =====================================================================... | 24.793814 | 99 | 0.568399 | [
"vector"
] |
51db0c27d4c1c8711992cbf78aad119c043eabf4 | 995 | cpp | C++ | cradle/tests/imaging/geometry.cpp | dotdecimal/open-cradle | f8b06f8d40b0f17ac8d2bf845a32fcd57bf5ce1d | [
"MIT"
] | null | null | null | cradle/tests/imaging/geometry.cpp | dotdecimal/open-cradle | f8b06f8d40b0f17ac8d2bf845a32fcd57bf5ce1d | [
"MIT"
] | null | null | null | cradle/tests/imaging/geometry.cpp | dotdecimal/open-cradle | f8b06f8d40b0f17ac8d2bf845a32fcd57bf5ce1d | [
"MIT"
] | 4 | 2018-09-28T17:12:54.000Z | 2022-03-20T14:22:29.000Z | #include <cradle/imaging/geometry.hpp>
#include <cradle/imaging/image.hpp>
#define BOOST_TEST_MODULE geometry
#include <cradle/test.hpp>
using namespace cradle;
BOOST_AUTO_TEST_CASE(default_bounding_box_test)
{
unsigned const s = 10;
image<2,cradle::uint8_t,unique> img;
create_image(img, make_vector(s, s... | 29.264706 | 71 | 0.724623 | [
"geometry"
] |
51dc71af8403321f498cd0a821938403fa09fb78 | 5,395 | hpp | C++ | cslibs_math_2d/include/cslibs_math_2d/algorithms/icp.hpp | doge-of-the-day/cslibs_math | bdb0f8ee3b4b004a624ea997f5f386665f692d4d | [
"BSD-3-Clause"
] | null | null | null | cslibs_math_2d/include/cslibs_math_2d/algorithms/icp.hpp | doge-of-the-day/cslibs_math | bdb0f8ee3b4b004a624ea997f5f386665f692d4d | [
"BSD-3-Clause"
] | 4 | 2018-10-18T09:15:06.000Z | 2022-02-20T17:13:05.000Z | cslibs_math_2d/include/cslibs_math_2d/algorithms/icp.hpp | doge-of-the-day/cslibs_math | bdb0f8ee3b4b004a624ea997f5f386665f692d4d | [
"BSD-3-Clause"
] | 3 | 2019-09-23T08:14:04.000Z | 2021-04-07T21:46:14.000Z | #ifndef CSLIBS_MATH_2D_ICP_HPP
#define CSLIBS_MATH_2D_ICP_HPP
#include <cslibs_math_2d/linear/pointcloud.hpp>
namespace cslibs_math_2d {
namespace algorithms {
namespace icp {
template <typename T>
class EIGEN_ALIGN16 Result {
public:
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
enum Termination { Eps, Iteration };
using ... | 29.642857 | 76 | 0.645968 | [
"vector",
"transform"
] |
51e9fb05d843d8467b35bf785915d1a7f5452162 | 1,745 | hpp | C++ | include/rxcpp/fsm/rx-fsm-delegates.hpp | i94matjo/rxcpp-fsm | 4706b3111065c078d55a3fc0089110d0772f3427 | [
"Apache-2.0"
] | 1 | 2020-08-05T04:21:04.000Z | 2020-08-05T04:21:04.000Z | include/rxcpp/fsm/rx-fsm-delegates.hpp | i94matjo/rxcpp-fsm | 4706b3111065c078d55a3fc0089110d0772f3427 | [
"Apache-2.0"
] | null | null | null | include/rxcpp/fsm/rx-fsm-delegates.hpp | i94matjo/rxcpp-fsm | 4706b3111065c078d55a3fc0089110d0772f3427 | [
"Apache-2.0"
] | 1 | 2020-08-05T04:21:09.000Z | 2020-08-05T04:21:09.000Z | /*! \file rx-fsm-delegates.hpp
\copyright Copyright (c) 2019, emJay Software Consulting AB. All rights reserved. Use of this source code is governed by the Apache-2.0 license, that can be found in the LICENSE.md file.
\author Mattias Johansson
*/
#pragma once
#if !defined(RX_FSM_DELEGATES_HPP)
#define ... | 26.044776 | 191 | 0.763897 | [
"vector"
] |
51ed04b6bc2f1407e5f636d2fc8bb79708393aca | 3,139 | hh | C++ | StRoot/StTrsMaker/include/StTrsZeroSuppressedReader.hh | xiaohaijin/RHIC-STAR | a305cb0a6ac15c8165bd8f0d074d7075d5e58752 | [
"MIT"
] | 2 | 2018-12-24T19:37:00.000Z | 2022-02-28T06:57:20.000Z | StRoot/StTrsMaker/include/StTrsZeroSuppressedReader.hh | xiaohaijin/RHIC-STAR | a305cb0a6ac15c8165bd8f0d074d7075d5e58752 | [
"MIT"
] | null | null | null | StRoot/StTrsMaker/include/StTrsZeroSuppressedReader.hh | xiaohaijin/RHIC-STAR | a305cb0a6ac15c8165bd8f0d074d7075d5e58752 | [
"MIT"
] | null | null | null |
/***************************************************************************
*
* $Id: StTrsZeroSuppressedReader.hh,v 1.7 2008/06/20 15:01:04 fisyak Exp $
*
* Authors: bl, mcbs
***************************************************************************
*
* Description: Access to the digital information via the a... | 33.042105 | 147 | 0.631411 | [
"vector"
] |
a40eeab5417f653edd8a455a55538d8345b17968 | 653 | cpp | C++ | zigzag-conversion/zigzag-conversion.cpp | sharmishtha2401/leetcode | 0c7389877afb64b3ff277f075ed9c87b24cb587b | [
"MIT"
] | 1 | 2022-02-14T07:57:07.000Z | 2022-02-14T07:57:07.000Z | zigzag-conversion/zigzag-conversion.cpp | sharmishtha2401/leetcode | 0c7389877afb64b3ff277f075ed9c87b24cb587b | [
"MIT"
] | null | null | null | zigzag-conversion/zigzag-conversion.cpp | sharmishtha2401/leetcode | 0c7389877afb64b3ff277f075ed9c87b24cb587b | [
"MIT"
] | null | null | null | class Solution {
public:
string convert(string s, int numRows) {
if(numRows==1)
return s;
int cur=0;
bool flag=true;
vector<string> rows(numRows);
for(int i=0; i<s.size(); i++)
{
rows[cur]+=s[i];
if(cur==0)
... | 20.40625 | 43 | 0.347626 | [
"vector"
] |
a41a13a892aa07c02e921b70d5ef2e57acf2989a | 20,392 | cc | C++ | src/main/cpp/src/vcf/vcf_adapter.cc | jacmarjorie/GenomicsDB | e4867167a82ef145ffdd7d2208858600f4f67f70 | [
"MIT"
] | null | null | null | src/main/cpp/src/vcf/vcf_adapter.cc | jacmarjorie/GenomicsDB | e4867167a82ef145ffdd7d2208858600f4f67f70 | [
"MIT"
] | null | null | null | src/main/cpp/src/vcf/vcf_adapter.cc | jacmarjorie/GenomicsDB | e4867167a82ef145ffdd7d2208858600f4f67f70 | [
"MIT"
] | null | null | null | /**
* The MIT License (MIT)
* Copyright (c) 2016-2017 Intel Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to... | 42.930526 | 161 | 0.682768 | [
"vector"
] |
a41badce80cb8f6cb392c2f16fcbdd2439e633bb | 4,776 | hpp | C++ | modules/model/include/facekit/model/pca_model.hpp | cecabert/FaceKit | 766a32fc7f65ae5deceeba5628c225631986c4d8 | [
"Apache-2.0"
] | null | null | null | modules/model/include/facekit/model/pca_model.hpp | cecabert/FaceKit | 766a32fc7f65ae5deceeba5628c225631986c4d8 | [
"Apache-2.0"
] | null | null | null | modules/model/include/facekit/model/pca_model.hpp | cecabert/FaceKit | 766a32fc7f65ae5deceeba5628c225631986c4d8 | [
"Apache-2.0"
] | 1 | 2017-11-29T12:03:08.000Z | 2017-11-29T12:03:08.000Z | /**
* @file pca_model.hpp
* @brief Statistical model based on Principle Component Analysis
* @ingroup model
*
* @author Christophe Ecabert
* @date 15/08/2017
* Copyright (c) 2017 Christophe Ecabert. All rights reserved.
*/
#ifndef __FACEKIT_PCA_MODEL__
#define __FACEKIT_PCA_MODEL__
#include <iostre... | 24 | 72 | 0.65557 | [
"mesh",
"geometry",
"object",
"shape",
"model"
] |
a421b77cee77f475f519ce5836fd5ad893df13bb | 15,142 | cpp | C++ | development/C++/samples/server/Console/OpcServer.cpp | Movares/OPC-Classic-SDK | 65e022dd4ccf20bbdacdfc49cac23bd99d773b98 | [
"MIT"
] | 19 | 2021-05-19T11:03:57.000Z | 2022-03-18T06:53:48.000Z | development/C++/samples/server/Console/OpcServer.cpp | Movares/OPC-Classic-SDK | 65e022dd4ccf20bbdacdfc49cac23bd99d773b98 | [
"MIT"
] | 8 | 2021-04-26T10:47:20.000Z | 2022-03-15T11:25:07.000Z | development/C++/samples/server/Console/OpcServer.cpp | Movares/OPC-Classic-SDK | 65e022dd4ccf20bbdacdfc49cac23bd99d773b98 | [
"MIT"
] | 11 | 2021-05-28T06:35:20.000Z | 2022-03-31T14:07:25.000Z | #include "stdafx.h"
#include "OpcServer.h"
#include "ServerCommon.h"
OpcServer* instance = NULL;
#ifdef TBC_OS_WINDOWS
extern HANDLE g_endEvent;
#endif
#ifdef TBC_OS_LINUX
extern PosixEvents g_events;
#endif
tstring COND_NAME_BETWEEN_SINGLE = _T("between [10,50]");
tstring COND_NAME_BETWEEN_MULTIPLE = _T("betwe... | 25.972556 | 98 | 0.743165 | [
"vector"
] |
a42460dbf7ed1561428ac63dae553723586f1e04 | 1,307 | cpp | C++ | Cses dp/Counting_Towers.cpp | Rohit01-pro/All_Program_helper | 86b75ecc4ecb095f11e46e6f80c660e27dd22f27 | [
"MIT"
] | 16 | 2021-10-03T11:15:49.000Z | 2021-10-31T04:40:24.000Z | Cses dp/Counting_Towers.cpp | Rohit01-pro/All_Program_helper | 86b75ecc4ecb095f11e46e6f80c660e27dd22f27 | [
"MIT"
] | 232 | 2021-10-02T14:51:43.000Z | 2021-11-14T08:23:27.000Z | Cses dp/Counting_Towers.cpp | Rohit01-pro/All_Program_helper | 86b75ecc4ecb095f11e46e6f80c660e27dd22f27 | [
"MIT"
] | 166 | 2021-10-02T13:56:34.000Z | 2021-10-31T17:56:34.000Z | /*
|_||_| |_||_| | || | | ||_| |_|| |
|_||_| | || | |_||_| |_||_| |_||_|
*/
#include <bits/stdc++.h>
using namespace std;
#define ll long long int
#define pll pair<ll, ll>
#define vl vector<ll>
#define vpl vector<pair<ll, ll>>
#define mll map<ll, ll>
#define pb push_back
#define f(i, a, b) for (... | 22.152542 | 86 | 0.481255 | [
"vector"
] |
a42813919343f01a8da6e46119a84f68bd21fbba | 2,349 | cpp | C++ | src/shogun/lib/observers/ParameterObserver.cpp | gf712/shogun | ca2afb8f092288455701539aa58952dbf6743378 | [
"BSD-3-Clause"
] | 2,753 | 2015-01-02T11:34:13.000Z | 2022-03-25T07:04:27.000Z | src/shogun/lib/observers/ParameterObserver.cpp | gf712/shogun | ca2afb8f092288455701539aa58952dbf6743378 | [
"BSD-3-Clause"
] | 2,404 | 2015-01-02T19:31:41.000Z | 2022-03-09T10:58:22.000Z | src/shogun/lib/observers/ParameterObserver.cpp | gf712/shogun | ca2afb8f092288455701539aa58952dbf6743378 | [
"BSD-3-Clause"
] | 1,156 | 2015-01-03T01:57:21.000Z | 2022-03-26T01:06:28.000Z | /*
* This software is distributed under BSD 3-clause license (see LICENSE file).
*
* Authors: Giovanni De Toni
*
*/
#include <shogun/lib/RefCount.h>
#include <shogun/lib/observers/ObservedValueTemplated.h>
#include <shogun/lib/observers/ParameterObserver.h>
#include <shogun/util/converters.h>
using namespace sho... | 27.635294 | 78 | 0.720732 | [
"object",
"vector"
] |
a42e6b605bcbb78ba1d97be7fc248b8028914ed4 | 5,126 | cc | C++ | libs/daemon.node/daemon.cc | endtwist/inko | 64bd1881bcdfed048bfebdcf14a640b1c4d0b5b4 | [
"MIT",
"Unlicense"
] | 3 | 2017-07-29T21:05:34.000Z | 2020-08-17T13:00:52.000Z | libs/daemon.node/daemon.cc | endtwist/inko | 64bd1881bcdfed048bfebdcf14a640b1c4d0b5b4 | [
"MIT",
"Unlicense"
] | null | null | null | libs/daemon.node/daemon.cc | endtwist/inko | 64bd1881bcdfed048bfebdcf14a640b1c4d0b5b4 | [
"MIT",
"Unlicense"
] | null | null | null | /*
* Daemon.node
*** A node.JS addon that allows creating Unix/Linux Daemons in pure Javascript.
*** Copyright 2010 (c) <arthur@norgic.com>
* Under MIT License. See LICENSE file.
*/
#include <node/node.h>
#include <v8.h>
#include <unistd.h>
#include <stdlib.h>
#include <sys/stat.h>
#include <fcntl.h>
#define PID_MAXL... | 28.320442 | 92 | 0.69762 | [
"object"
] |
a42e9c990410eaa49b63b4a25a372b9cfcf85bcb | 1,615 | cpp | C++ | questions/refresh/reader.cpp | slaclab/lc2-hdf5-5110 | 3298553da4fc9d2c4a9ae1528f157595a7b06b6a | [
"Apache-2.0"
] | null | null | null | questions/refresh/reader.cpp | slaclab/lc2-hdf5-5110 | 3298553da4fc9d2c4a9ae1528f157595a7b06b6a | [
"Apache-2.0"
] | null | null | null | questions/refresh/reader.cpp | slaclab/lc2-hdf5-5110 | 3298553da4fc9d2c4a9ae1528f157595a7b06b6a | [
"Apache-2.0"
] | null | null | null | #include <cstdio>
#include <cstdlib>
#include <vector>
#include "hdf5.h"
int main(int argc, char *argv[]) {
if (argc != 5) {
fprintf(stderr, "usage: writer N M refresh outputfile\n");
fprintf(stderr, " where N = number of elements\n");
fprintf(stderr, " M = number of datasets\n");
fprintf(std... | 28.839286 | 94 | 0.612384 | [
"vector"
] |
bf9ac821f7ca3d2b87a6cb3095442829192630e1 | 9,272 | cpp | C++ | src/caffe/test/test_lstm_node_layer.cpp | peteanderson80/caffe | eeafa9874b50599aa69d1dae23492c648833606f | [
"Intel",
"BSD-2-Clause"
] | 1 | 2021-03-19T15:59:28.000Z | 2021-03-19T15:59:28.000Z | src/caffe/test/test_lstm_node_layer.cpp | peteanderson80/caffe | eeafa9874b50599aa69d1dae23492c648833606f | [
"Intel",
"BSD-2-Clause"
] | null | null | null | src/caffe/test/test_lstm_node_layer.cpp | peteanderson80/caffe | eeafa9874b50599aa69d1dae23492c648833606f | [
"Intel",
"BSD-2-Clause"
] | 1 | 2020-02-29T00:48:34.000Z | 2020-02-29T00:48:34.000Z | #include <algorithm>
#include <cstring>
#include <vector>
#include "gtest/gtest.h"
#include "caffe/blob.hpp"
#include "caffe/common.hpp"
#include "caffe/filler.hpp"
#include "caffe/layers/lstm_node_layer.hpp"
#include "caffe/test/test_caffe_main.hpp"
#include "caffe/test/test_gradient_check_util.hpp"
#define NUM_CE... | 42.53211 | 114 | 0.770815 | [
"vector"
] |
bfa0d427e337a0b38516b90db6eb4aff1aaba99b | 5,572 | cpp | C++ | toonz/sources/tnztools/levelselection.cpp | wofogen/tahoma2d | ce5a89a7b1027b2c1769accb91184a2ee6442b4d | [
"BSD-3-Clause"
] | 3,710 | 2016-03-26T00:40:48.000Z | 2022-03-31T21:35:12.000Z | toonz/sources/tnztools/levelselection.cpp | wofogen/tahoma2d | ce5a89a7b1027b2c1769accb91184a2ee6442b4d | [
"BSD-3-Clause"
] | 4,246 | 2016-03-26T01:21:45.000Z | 2022-03-31T23:10:47.000Z | toonz/sources/tnztools/levelselection.cpp | wofogen/tahoma2d | ce5a89a7b1027b2c1769accb91184a2ee6442b4d | [
"BSD-3-Clause"
] | 633 | 2016-03-26T00:42:25.000Z | 2022-03-17T02:55:13.000Z |
#include "tools/levelselection.h"
// TnzTools includes
#include "tools/tool.h"
#include "tools/toolhandle.h"
// TnzCore includes
#include "tfilepath.h"
#include "tvectorimage.h"
#include "tstroke.h"
#include "tregion.h"
// Boost includes
#include <boost/iterator/counting_iterator.hpp>
#include <boost/bind.hpp>
//... | 30.615385 | 81 | 0.529971 | [
"vector"
] |
bfa5ab0fe9b23595ab7bcbbf66dad2df737df1a6 | 14,565 | cpp | C++ | Interaction/mafGizmoTranslatePlane.cpp | FusionBox2/MAF2 | b576955f4f6b954467021f12baedfebcaf79a382 | [
"Apache-2.0"
] | 1 | 2021-05-10T19:01:10.000Z | 2021-05-10T19:01:10.000Z | Interaction/mafGizmoTranslatePlane.cpp | gradicosmo/MAF2 | 86ddf1f52a2de4479c09fd3f43dc321ff412af42 | [
"Apache-2.0"
] | null | null | null | Interaction/mafGizmoTranslatePlane.cpp | gradicosmo/MAF2 | 86ddf1f52a2de4479c09fd3f43dc321ff412af42 | [
"Apache-2.0"
] | 3 | 2020-09-24T16:04:53.000Z | 2020-09-24T16:50:30.000Z | /*=========================================================================
Program: MAF2
Module: mafGizmoTranslatePlane
Authors: Stefano Perticoni
Copyright (c) B3C
All rights reserved. See Copyright.txt or
http://www.scsitaly.com/Copyright.htm for details.
This software is distributed WITHOUT ANY WARRANTY;... | 29.603659 | 165 | 0.492963 | [
"transform"
] |
bfaa48ab13b29a71e55c3acf1a9c9dd7236d0485 | 772 | hpp | C++ | include/awssign/detail/hex_encode.hpp | cbodley/awssign | 30b04f7d5c456ae5037a31a29bf4456b699407bb | [
"BSL-1.0"
] | null | null | null | include/awssign/detail/hex_encode.hpp | cbodley/awssign | 30b04f7d5c456ae5037a31a29bf4456b699407bb | [
"BSL-1.0"
] | null | null | null | include/awssign/detail/hex_encode.hpp | cbodley/awssign | 30b04f7d5c456ae5037a31a29bf4456b699407bb | [
"BSL-1.0"
] | null | null | null | #pragma once
#include <cstdio>
#include <numeric>
#include <awssign/detail/write.hpp>
#include <awssign/detail/transform.hpp>
namespace awssign::detail {
// lowercase base16 character encoding
template <typename OutputStream>
void hex_encode(unsigned char c, OutputStream&& out)
{
constexpr auto table = std::string... | 25.733333 | 69 | 0.702073 | [
"transform"
] |
bfab3c9933b689300763a4fc03cc60fa5394b158 | 1,070 | cc | C++ | testing/android/native_test_jni_onload.cc | rafaelw/mojo | d3495a129dcbe679e2d5ac729c85a58acf38f8c4 | [
"BSD-3-Clause"
] | 5 | 2015-04-30T00:13:21.000Z | 2019-07-10T02:17:24.000Z | testing/android/native_test_jni_onload.cc | rafaelw/mojo | d3495a129dcbe679e2d5ac729c85a58acf38f8c4 | [
"BSD-3-Clause"
] | null | null | null | testing/android/native_test_jni_onload.cc | rafaelw/mojo | d3495a129dcbe679e2d5ac729c85a58acf38f8c4 | [
"BSD-3-Clause"
] | 2 | 2020-04-04T13:34:56.000Z | 2020-11-04T07:17:52.000Z | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/android/base_jni_onload.h"
#include "base/android/jni_android.h"
#include "base/android/jni_onload_delegate.h"
#include "testing/android/na... | 26.097561 | 77 | 0.760748 | [
"vector"
] |
bfae24e0c9cf16479561b292539d423135099c39 | 7,099 | cpp | C++ | Classes/AppDelegate.cpp | JoaoBaptMG/InfiniteSpaceExplorer | 841fbf57e8bcab279a7b252dad1f4ef411c5cc47 | [
"MIT"
] | 2 | 2018-11-26T03:47:18.000Z | 2019-01-12T10:07:58.000Z | Classes/AppDelegate.cpp | JoaoBaptMG/InfiniteSpaceExplorer | 841fbf57e8bcab279a7b252dad1f4ef411c5cc47 | [
"MIT"
] | null | null | null | Classes/AppDelegate.cpp | JoaoBaptMG/InfiniteSpaceExplorer | 841fbf57e8bcab279a7b252dad1f4ef411c5cc47 | [
"MIT"
] | 1 | 2019-12-25T01:28:49.000Z | 2019-12-25T01:28:49.000Z | #include "AppDelegate.h"
#include "MultiPurposeScene.h"
#include "Defaults.h"
#include "CustomGLPrograms.h"
#include "BlurFilter.h"
#include "ScoreManager.h"
#include "FacebookManager.h"
#include "SoundManager.h"
#include "AchievementManager.h"
#include "audio/include/SimpleAudioEngine.h"
#if CC_TARGET_PLATFORM == CC_... | 34.970443 | 155 | 0.72151 | [
"object"
] |
bfafca4597e16f8a792e52cb14c178fbd3a215f5 | 5,502 | cpp | C++ | src/metrohash_wrapper.cpp | sormy/node-metrohash | 7f5ba62bc946bf40884d1f9362cd9bca41ed9020 | [
"MIT"
] | null | null | null | src/metrohash_wrapper.cpp | sormy/node-metrohash | 7f5ba62bc946bf40884d1f9362cd9bca41ed9020 | [
"MIT"
] | null | null | null | src/metrohash_wrapper.cpp | sormy/node-metrohash | 7f5ba62bc946bf40884d1f9362cd9bca41ed9020 | [
"MIT"
] | null | null | null | #include <iostream>
#include <nan.h>
#include "metrohash.h"
using namespace v8;
using namespace node;
template <typename HashClass, int DIGEST_SIZE>
class NodeMetroHash : public Nan::ObjectWrap {
static Nan::Persistent<Function> constructor;
HashClass metro;
uint64_t ... | 33.962963 | 116 | 0.601599 | [
"object"
] |
bfb146beeb0eb56408f243277ab13f6f54fbe9e3 | 2,792 | hpp | C++ | include/Discregrid/geometry/mesh_distance.hpp | Q-Minh/Discregrid | a48a4955f9342b2029e3222ea7e3f9ebaff4fc99 | [
"MIT"
] | 7 | 2022-03-14T03:51:28.000Z | 2022-03-29T17:47:44.000Z | include/Discregrid/geometry/mesh_distance.hpp | Q-Minh/Discregrid | a48a4955f9342b2029e3222ea7e3f9ebaff4fc99 | [
"MIT"
] | null | null | null | include/Discregrid/geometry/mesh_distance.hpp | Q-Minh/Discregrid | a48a4955f9342b2029e3222ea7e3f9ebaff4fc99 | [
"MIT"
] | 2 | 2022-03-24T10:55:14.000Z | 2022-03-25T17:08:16.000Z | #pragma once
#include <Discregrid/mesh/triangle_mesh.hpp>
namespace std {
template <> struct hash<Eigen::Vector3d>
{
std::size_t operator()(Eigen::Vector3d const& x) const
{
std::size_t seed = 0;
std::hash<double> hasher;
seed ^= hasher(x[0]) + 0x9e3779b9 + (seed<<6) + (seed>>2);
seed ^= hasher(x[1]... | 24.928571 | 84 | 0.719198 | [
"mesh",
"vector"
] |
bfb62566f9e0f61ab7b536c6d891bd36552e420c | 607 | cc | C++ | coding/array-78-subsets.cc | gavinzjchao/gavinzjchao.github.io | 14f016d290e06d17d52912425b911a124606538b | [
"CC0-1.0"
] | null | null | null | coding/array-78-subsets.cc | gavinzjchao/gavinzjchao.github.io | 14f016d290e06d17d52912425b911a124606538b | [
"CC0-1.0"
] | null | null | null | coding/array-78-subsets.cc | gavinzjchao/gavinzjchao.github.io | 14f016d290e06d17d52912425b911a124606538b | [
"CC0-1.0"
] | null | null | null | vector<vector<int>> subsets(vector<int>& nums) {
vector<vector<int>> res(1, vector<int>());
for (int i = 0; i < nums.size(); i++) {
vector<int> cur;
cur.push_back(nums[i]);
res.push_back(cur);
dfs(nums, i + 1, cur, res);
}
return res;
}
void dfs(vector<int> &nums, int pos, vector<int> &cur, vector<vect... | 18.393939 | 82 | 0.560132 | [
"vector"
] |
bfb6e5f3595d4ff55606214699d7c01a5d4164ec | 12,097 | cc | C++ | gazebo/physics/dart/DARTModel.cc | devrt/gazebo-mirror | 16589c29302bfec51079f62dd247864be54b71d3 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2019-03-04T14:12:55.000Z | 2019-03-04T14:12:55.000Z | gazebo/physics/dart/DARTModel.cc | devrt/gazebo-mirror | 16589c29302bfec51079f62dd247864be54b71d3 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | gazebo/physics/dart/DARTModel.cc | devrt/gazebo-mirror | 16589c29302bfec51079f62dd247864be54b71d3 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2016-04-25T22:05:09.000Z | 2020-03-08T08:45:12.000Z | /*
* Copyright (C) 2014 Open Source Robotics Foundation
*
* 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... | 33.325069 | 80 | 0.631644 | [
"model"
] |
bfc3d11969ac8f08385d8a6287583c7014be5378 | 1,580 | cpp | C++ | src/Tracking.cpp | KTH-HPC/sputniPIC | 78b21d1d0edc2afaea4d282df2ad9eb982b5c3bd | [
"BSD-2-Clause"
] | 1 | 2021-03-19T19:21:58.000Z | 2021-03-19T19:21:58.000Z | src/Tracking.cpp | KTH-HPC/sputniPIC | 78b21d1d0edc2afaea4d282df2ad9eb982b5c3bd | [
"BSD-2-Clause"
] | null | null | null | src/Tracking.cpp | KTH-HPC/sputniPIC | 78b21d1d0edc2afaea4d282df2ad9eb982b5c3bd | [
"BSD-2-Clause"
] | null | null | null | #include "Tracking.h"
void find_and_toggle_track_particles(struct parameters* param,
struct particles* part) {
FPpart center_x = param->Lx / 2.0;
FPpart center_y = param->Ly / 2.0;
FPpart center_z = param->Lz / 2.0;
FPpart min_x = center_x - (param->tracking_Lx /... | 37.619048 | 94 | 0.605696 | [
"vector"
] |
bfc6910628044fa26751eaadc516b39b54ed195d | 5,308 | cpp | C++ | src/nimbro_robotcontrol/hardware/robotcontrol/src/hw/dummyinterface.cpp | hfarazi/humanoid_op_ros_kinetic | 84712bd541d0130b840ad1935d5bfe301814dbe6 | [
"BSD-3-Clause"
] | 45 | 2015-11-04T01:29:12.000Z | 2022-02-11T05:37:42.000Z | src/nimbro_robotcontrol/hardware/robotcontrol/src/hw/dummyinterface.cpp | hfarazi/humanoid_op_ros_kinetic | 84712bd541d0130b840ad1935d5bfe301814dbe6 | [
"BSD-3-Clause"
] | 1 | 2016-08-10T04:00:32.000Z | 2016-08-10T12:59:36.000Z | src/nimbro_robotcontrol/hardware/robotcontrol/src/hw/dummyinterface.cpp | hfarazi/humanoid_op_ros_kinetic | 84712bd541d0130b840ad1935d5bfe301814dbe6 | [
"BSD-3-Clause"
] | 20 | 2016-03-05T14:28:45.000Z | 2021-01-30T00:50:47.000Z | // Dummy hardware interface
// Author: Max Schwarz <max.schwarz@uni-bonn.de>
// Philipp Allgeuer <pallgeuer@ais.uni-bonn.de>
// Includes
#include <robotcontrol/hw/dummyinterface.h>
#include <robotcontrol/model/robotmodel.h>
#include <pluginlib/class_list_macros.h>
#include <boost/make_shared.hpp>
#include <rot... | 30.331429 | 140 | 0.700264 | [
"vector",
"model"
] |
bfcde6c88e0ca7e028fb4f32342414bbc7f0bcf9 | 9,715 | cpp | C++ | src/Demos/interation-parabola/integration.cpp | smokhov/comp477-samples | a1416f1c1e2000e27c375a39363dd94cf3bfa3d0 | [
"Apache-2.0"
] | 5 | 2019-09-18T16:41:23.000Z | 2019-09-23T18:58:44.000Z | src/Demos/interation-parabola/integration.cpp | smokhov/comp477-samples | a1416f1c1e2000e27c375a39363dd94cf3bfa3d0 | [
"Apache-2.0"
] | 2 | 2019-10-09T20:42:28.000Z | 2019-10-14T17:10:57.000Z | src/Demos/interation-parabola/integration.cpp | smokhov/comp477-samples | a1416f1c1e2000e27c375a39363dd94cf3bfa3d0 | [
"Apache-2.0"
] | null | null | null | /* Link with these libraries (omit those unneeded):
* libcugl
* libglut32
* libopengl32
* libglu32
*/
#include <iostream>
#include <iomanip>
#include <sstream>
#include <GL/cugl.h>
#include <GL/glut.h>
#include <windows.h>
using namespace std;
using namespace cugl;
// Current window dimensi... | 25.365535 | 76 | 0.368708 | [
"vector"
] |
bfd219398fea39d67b73667f9ed363b7c763607c | 673 | hpp | C++ | SRS.hpp | iampixelized/Tetris | e6acb3a2e7126a7cb775b7ec4edbd875510d5564 | [
"BSD-2-Clause"
] | 1 | 2019-07-29T05:32:51.000Z | 2019-07-29T05:32:51.000Z | SRS.hpp | iampixelized/Tetris | e6acb3a2e7126a7cb775b7ec4edbd875510d5564 | [
"BSD-2-Clause"
] | null | null | null | SRS.hpp | iampixelized/Tetris | e6acb3a2e7126a7cb775b7ec4edbd875510d5564 | [
"BSD-2-Clause"
] | 1 | 2020-01-07T04:51:54.000Z | 2020-01-07T04:51:54.000Z | #ifndef SRS_HPP
#define SRS_HPP
#include<string>
using std::string;
#include<map>
using std::map;
using std::pair;
#include<vector>
using std::vector;
#include "RotationSystem.hpp"
#include "TetrisPlayField.hpp"
class SRS : public RotationSystem
{
typedef map<int , map<int, vector<sf::Vector2i>>> CheckTable;
pu... | 16.02381 | 62 | 0.731055 | [
"vector"
] |
bfd2fcb9aed98a9b673d8911a898399d8502cb4f | 11,512 | cpp | C++ | gtsam/geometry/Pose3.cpp | ashariati/gtsam-3.2.1 | f880365c259eb7532b9c1d20979ecad2eb04779c | [
"BSD-3-Clause"
] | 8 | 2017-05-10T08:07:42.000Z | 2019-09-26T19:11:18.000Z | gtsam/geometry/Pose3.cpp | ashariati/gtsam-3.2.1 | f880365c259eb7532b9c1d20979ecad2eb04779c | [
"BSD-3-Clause"
] | null | null | null | gtsam/geometry/Pose3.cpp | ashariati/gtsam-3.2.1 | f880365c259eb7532b9c1d20979ecad2eb04779c | [
"BSD-3-Clause"
] | 6 | 2017-02-17T18:55:24.000Z | 2019-09-25T00:28:40.000Z | /* ----------------------------------------------------------------------------
* GTSAM Copyright 2010, Georgia Tech Research Corporation,
* Atlanta, Georgia 30332-0415
* All Rights Reserved
* Authors: Frank Dellaert, et al. (see THANKS for the full author list)
* See LICENSE for the license information
* ---... | 30.780749 | 89 | 0.50443 | [
"geometry",
"vector",
"transform",
"3d"
] |
bfd86fa3990914ca0bc622883a62fc70085e1ffb | 48,734 | cpp | C++ | HBase/3rd/jwsmtp/jwsmtp_mailer.cpp | 15118164372/Humble | 174d29019766d3e12c44c0486cd72b2eedb227f0 | [
"MIT"
] | 1 | 2020-09-01T13:24:37.000Z | 2020-09-01T13:24:37.000Z | HBase/3rd/jwsmtp/jwsmtp_mailer.cpp | 15118164372/Humble | 174d29019766d3e12c44c0486cd72b2eedb227f0 | [
"MIT"
] | null | null | null | HBase/3rd/jwsmtp/jwsmtp_mailer.cpp | 15118164372/Humble | 174d29019766d3e12c44c0486cd72b2eedb227f0 | [
"MIT"
] | null | null | null | // Note that the only valid version of the GPL as far as jwSMTP
// is concerned is v2 of the license (ie v2, not v2.2 or v3.x or whatever),
// unless explicitly otherwise stated.
//
// This file is part of the jwSMTP library.
//
// jwSMTP library is free software; you can redistribute it and/or modify
// it under the... | 34.127451 | 107 | 0.553064 | [
"vector"
] |
bfd95d52d602fa0bd4992cb427a93575e3f320fc | 6,135 | cc | C++ | src/MoveList.cc | starpentagon/realcore | 64dd67d5b05f146f4cde3540d9be76303262e89c | [
"MIT"
] | null | null | null | src/MoveList.cc | starpentagon/realcore | 64dd67d5b05f146f4cde3540d9be76303262e89c | [
"MIT"
] | 10 | 2017-02-22T12:17:49.000Z | 2017-03-10T00:15:31.000Z | src/MoveList.cc | starpentagon/realcore | 64dd67d5b05f146f4cde3540d9be76303262e89c | [
"MIT"
] | null | null | null | #include <array>
#include <iostream>
#include <fstream>
#include "Move.h"
#include "MoveList.h"
using namespace std;
namespace realcore
{
MoveList::MoveList()
{
ReserveInitial(0);
}
MoveList::MoveList(const MoveList &move_list)
{
*this = move_list;
}
MoveList::MoveList(const MovePosition move)
{
*this = mov... | 22.309091 | 120 | 0.695681 | [
"vector"
] |
bfe0a22d69d9bed2c81a5cf51f79bcf9e810af06 | 13,692 | cpp | C++ | src/RcsCore/CompositeTask.cpp | famura/Rcs | 4f8b997d2649a2cd7a1945ea079e07a71ee215fc | [
"BSD-3-Clause"
] | 37 | 2018-03-20T12:28:45.000Z | 2022-02-28T08:39:32.000Z | src/RcsCore/CompositeTask.cpp | famura/Rcs | 4f8b997d2649a2cd7a1945ea079e07a71ee215fc | [
"BSD-3-Clause"
] | 19 | 2018-04-19T08:49:53.000Z | 2021-06-11T09:47:09.000Z | src/RcsCore/CompositeTask.cpp | famura/Rcs | 4f8b997d2649a2cd7a1945ea079e07a71ee215fc | [
"BSD-3-Clause"
] | 15 | 2018-03-28T11:52:39.000Z | 2022-02-04T19:34:01.000Z | /*******************************************************************************
Copyright (c) 2017, Honda Research Institute Europe GmbH
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
1. Redistributions of sour... | 32.216471 | 85 | 0.437628 | [
"vector"
] |
bfe1d0ed82ea4ba37d9a6273d294c8fbc19fcd9c | 741 | cc | C++ | ctci/8.3_magic_index.cc | sservulo/programming-challenges | 65a872c96ab5cda347c0ee6b6742a07d55ba9d33 | [
"Apache-2.0"
] | null | null | null | ctci/8.3_magic_index.cc | sservulo/programming-challenges | 65a872c96ab5cda347c0ee6b6742a07d55ba9d33 | [
"Apache-2.0"
] | null | null | null | ctci/8.3_magic_index.cc | sservulo/programming-challenges | 65a872c96ab5cda347c0ee6b6742a07d55ba9d33 | [
"Apache-2.0"
] | null | null | null | #include<iostream>
#include<vector>
#include<set>
#include<cstdlib>
#include<ctime>
using namespace std;
int getMagicIndex(vector<int> arr, int b, int e){
if(b > e){return -1;}
int middle = (b+e)/2;
if(arr[middle] == middle){return middle;}
if(arr[middle] > middle){return getMagicIndex(arr, b, middle-1);}
re... | 19.5 | 67 | 0.556005 | [
"vector"
] |
bfe2918b058616e99f2b50a7100944f92ca4b652 | 3,621 | cpp | C++ | src/rdm/util/test/DebugPrintTest.cpp | cwj5012/rdm-cppserver | 6eed70cc89e2a09eaac93f0833fd9c3c4a273eb8 | [
"MIT"
] | 1 | 2020-06-11T01:31:26.000Z | 2020-06-11T01:31:26.000Z | src/rdm/util/test/DebugPrintTest.cpp | cwj5012/rdm-cppserver | 6eed70cc89e2a09eaac93f0833fd9c3c4a273eb8 | [
"MIT"
] | null | null | null | src/rdm/util/test/DebugPrintTest.cpp | cwj5012/rdm-cppserver | 6eed70cc89e2a09eaac93f0833fd9c3c4a273eb8 | [
"MIT"
] | null | null | null | #include <catch2/catch.hpp>
#include "../DebugPrint.h"
using namespace rdm;
TEST_CASE("DebugPrint-StringToByteSet") {
std::string s1 = "09AZaz";
std::string s2 = "00110000-00111001-01000001-01011010-01100001-01111010";
REQUIRE(DebugPrint::StringToByteSet(s1) == s2);
}
TEST_CASE("DebugPrint-StringToOctS... | 30.686441 | 77 | 0.625794 | [
"vector"
] |
bfe306ff87213450f04f33f50736fbd9005d123a | 23,666 | cpp | C++ | CsUserInterface/Source/CsUI/Public/Managers/WidgetActor/CsManager_WidgetActor.cpp | closedsum/core | c3cae44a177b9684585043a275130f9c7b67fef0 | [
"Unlicense"
] | 2 | 2019-03-17T10:43:53.000Z | 2021-04-20T21:24:19.000Z | CsUserInterface/Source/CsUI/Public/Managers/WidgetActor/CsManager_WidgetActor.cpp | closedsum/core | c3cae44a177b9684585043a275130f9c7b67fef0 | [
"Unlicense"
] | null | null | null | CsUserInterface/Source/CsUI/Public/Managers/WidgetActor/CsManager_WidgetActor.cpp | closedsum/core | c3cae44a177b9684585043a275130f9c7b67fef0 | [
"Unlicense"
] | null | null | null | // Copyright 2017-2021 Closed Sum Games, LLC. All Rights Reserved.
#include "Managers/WidgetActor/CsManager_WidgetActor.h"
#include "CsUI.h"
// CVars
#include "Managers/WidgetActor/CsCVars_Manager_WidgetActor.h"
// Types
#include "Managers/WidgetActor/CsTypes_WidgetActor.h"
// Library
#include "Data/CsLibrary_DataRoo... | 30.735065 | 262 | 0.788938 | [
"object"
] |
bfe37b033f1be09475c1f038de1696b7ec9ecc99 | 5,932 | cpp | C++ | python/src/def_minimizer.cpp | DerThorsten/opengm3_python | 89c3f147f1c40aa8acd0db0f766b3632d077a274 | [
"MIT"
] | null | null | null | python/src/def_minimizer.cpp | DerThorsten/opengm3_python | 89c3f147f1c40aa8acd0db0f766b3632d077a274 | [
"MIT"
] | null | null | null | python/src/def_minimizer.cpp | DerThorsten/opengm3_python | 89c3f147f1c40aa8acd0db0f766b3632d077a274 | [
"MIT"
] | null | null | null | #include <pybind11/pybind11.h>
#include <pybind11/numpy.h>
#include <pybind11/eval.h>
#include <pybind11/stl.h>
#include <iostream>
#include <numeric>
#include <memory>
#include <xtensor-python/pytensor.hpp>
// our headers
#include "opengm_python/opengm_python.hpp"
#include "opengm_python/opengm_python_config.hpp"
#... | 37.783439 | 123 | 0.629467 | [
"shape",
"model"
] |
bfed321e8816b08460cde98c037d7de248fb2130 | 13,704 | cpp | C++ | QAlg/ArithmeticUnit/ArithmeticUnit.cpp | QianJianhua1/QPanda-2 | a13c7b733031b1d0007dceaf1dae6ad447bb969c | [
"Apache-2.0"
] | 631 | 2019-01-21T01:33:38.000Z | 2022-03-31T07:33:04.000Z | QAlg/ArithmeticUnit/ArithmeticUnit.cpp | QianJianhua1/QPanda-2 | a13c7b733031b1d0007dceaf1dae6ad447bb969c | [
"Apache-2.0"
] | 24 | 2019-02-01T10:12:45.000Z | 2021-12-02T01:49:57.000Z | QAlg/ArithmeticUnit/ArithmeticUnit.cpp | QianJianhua1/QPanda-2 | a13c7b733031b1d0007dceaf1dae6ad447bb969c | [
"Apache-2.0"
] | 80 | 2019-01-21T03:04:20.000Z | 2022-03-29T15:38:45.000Z | #include "QAlg/ArithmeticUnit/ArithmeticUnit.h"
#include "Core/QuantumMachine/OriginQuantumMachine.h"
#include "Core/Utilities/Tools/Utils.h"
QPANDA_BEGIN
QCircuit MAJ(Qubit* a, Qubit* b, Qubit* c)
{
QCircuit circuit;
circuit << CNOT(c, b) << CNOT(c, a) << X(c).control({ a, b });
return circuit;
}
QCir... | 24.691892 | 120 | 0.502919 | [
"vector"
] |
bff3c17e64652c1651a976824b8e8dcbb1f9aa9c | 988 | hpp | C++ | Dijkstra.hpp | qiqvo/Materialized.Dijkstra_alg | 35cb53d6fa42b865365d4bb6ef993cb02bbbb1c5 | [
"MIT"
] | null | null | null | Dijkstra.hpp | qiqvo/Materialized.Dijkstra_alg | 35cb53d6fa42b865365d4bb6ef993cb02bbbb1c5 | [
"MIT"
] | null | null | null | Dijkstra.hpp | qiqvo/Materialized.Dijkstra_alg | 35cb53d6fa42b865365d4bb6ef993cb02bbbb1c5 | [
"MIT"
] | null | null | null | #ifndef _DIJKSTRA_H_
#define _DIJKSTRA_H_
#include "Graph3D.hpp"
#include "Point.hpp"
#include <functional>
#include <unordered_set>
#include <map>
#include <ostream>
class Dijkstra {
// a copy of graph
Graph3D graph;
Point V1;
std::unordered_set<Point, PointHasher> V_end;
bool end_point_found, V1_bad;
usin... | 20.163265 | 69 | 0.711538 | [
"vector"
] |
bffa229e89d4ab09649a35d0b002e944870c612c | 4,999 | cpp | C++ | demo/dialog.cpp | OS2World/LIB-PM-Kronis_Classes | 13acc838a3f8e03a52f2d5e3a38cbe974926eac2 | [
"BSD-3-Clause"
] | null | null | null | demo/dialog.cpp | OS2World/LIB-PM-Kronis_Classes | 13acc838a3f8e03a52f2d5e3a38cbe974926eac2 | [
"BSD-3-Clause"
] | null | null | null | demo/dialog.cpp | OS2World/LIB-PM-Kronis_Classes | 13acc838a3f8e03a52f2d5e3a38cbe974926eac2 | [
"BSD-3-Clause"
] | null | null | null | // Kroni's Classes: Demonstration: Input dialog
// (c) 1997 Wolfgang Kronberg
// file: dialog.cpp
// ************************************************************************* //
// * Demonstration of Kroni's Classes * //
// * ... | 47.160377 | 109 | 0.480296 | [
"object"
] |
bfff3cb3cedc0cbf2e181aa54a93f45c9dd5acd4 | 11,763 | cpp | C++ | clients/cpp-tizen/generated/src/PipelineBranchesitemlatestRun.cpp | cliffano/jenkins-api-clients-generator | 522d02b3a130a29471df5ec1d3d22c822b3d0813 | [
"MIT"
] | 23 | 2017-08-01T12:25:26.000Z | 2022-01-25T03:44:11.000Z | clients/cpp-tizen/generated/src/PipelineBranchesitemlatestRun.cpp | cliffano/jenkins-api-clients-generator | 522d02b3a130a29471df5ec1d3d22c822b3d0813 | [
"MIT"
] | 35 | 2017-06-14T03:28:15.000Z | 2022-02-14T10:25:54.000Z | clients/cpp-tizen/generated/src/PipelineBranchesitemlatestRun.cpp | cliffano/jenkins-api-clients-generator | 522d02b3a130a29471df5ec1d3d22c822b3d0813 | [
"MIT"
] | 11 | 2017-08-31T19:00:20.000Z | 2021-12-19T12:04:12.000Z | #include <map>
#include <cstdlib>
#include <glib-object.h>
#include <json-glib/json-glib.h>
#include "Helpers.h"
#include "PipelineBranchesitemlatestRun.h"
using namespace std;
using namespace Tizen::ArtikCloud;
PipelineBranchesitemlatestRun::PipelineBranchesitemlatestRun()
{
//__init();
}
PipelineBranchesitemlat... | 19.869932 | 91 | 0.684009 | [
"object"
] |
870361337d096e87adb4bea8b5a700e4a49442f1 | 1,433 | hpp | C++ | libobs-for-HQ-Windows/UI/properties-view.moc.hpp | jayliu1989/HQ | 470d9919742412795447c81c3f160278b4418ba7 | [
"MIT"
] | 45 | 2019-01-09T01:50:12.000Z | 2021-08-09T20:51:22.000Z | libobs-for-HQ-Windows/UI/properties-view.moc.hpp | jayliu1989/HQ | 470d9919742412795447c81c3f160278b4418ba7 | [
"MIT"
] | 8 | 2019-01-14T10:30:55.000Z | 2021-06-16T11:38:39.000Z | libobs-for-HQ-Windows/UI/properties-view.moc.hpp | jayliu1989/HQ | 470d9919742412795447c81c3f160278b4418ba7 | [
"MIT"
] | 24 | 2019-02-15T17:24:23.000Z | 2021-09-09T23:45:19.000Z | #pragma once
#include <QComboBox>
#include <QLabel>
#include <QSpinBox>
#include <QStackedWidget>
#include <QWidget>
#include <media-io/frame-rate.h>
#include <vector>
#ifdef _MSC_VER
#pragma warning(disable : 4505)
#endif
static bool operator!=(const media_frames_per_second &a,
const media_frames_per_second &b)... | 22.746032 | 69 | 0.678995 | [
"vector"
] |
8703ec08f865536845c31da0348b0746f6729365 | 4,477 | cpp | C++ | src/core/game.cpp | hailiang194/SekaiEngine | d1560217b328740f5126d60c1fd130a7f1bf0d5c | [
"MIT"
] | 1 | 2022-01-21T03:44:04.000Z | 2022-01-21T03:44:04.000Z | src/core/game.cpp | hailiang194/SekaiEngine | d1560217b328740f5126d60c1fd130a7f1bf0d5c | [
"MIT"
] | null | null | null | src/core/game.cpp | hailiang194/SekaiEngine | d1560217b328740f5126d60c1fd130a7f1bf0d5c | [
"MIT"
] | null | null | null | #include "game.h"
namespace SekaiEngine
{
namespace Core
{
void main_loop()
{
Game::update();
}
int getMonitorWidth()
{
#if defined(PLATFORM_WEB)
return EM_ASM_INT({
return window.innerWidth;
});
#else
... | 23.317708 | 100 | 0.456332 | [
"object"
] |
87087e653b4052bf13016d4ea3c424711c404f47 | 4,471 | hpp | C++ | include/elemental/lapack-like/HermitianEig/Sort.hpp | ahmadia/Elemental-1 | f9a82c76a06728e9e04a4316e41803efbadb5a19 | [
"BSD-3-Clause"
] | null | null | null | include/elemental/lapack-like/HermitianEig/Sort.hpp | ahmadia/Elemental-1 | f9a82c76a06728e9e04a4316e41803efbadb5a19 | [
"BSD-3-Clause"
] | null | null | null | include/elemental/lapack-like/HermitianEig/Sort.hpp | ahmadia/Elemental-1 | f9a82c76a06728e9e04a4316e41803efbadb5a19 | [
"BSD-3-Clause"
] | null | null | null | /*
Copyright (c) 2009-2013, Jack Poulson
All rights reserved.
This file is part of Elemental and is under the BSD 2-Clause License,
which can be found in the LICENSE file in the root directory, or at
http://opensource.org/licenses/BSD-2-Clause
*/
#pragma once
#ifndef LAPACK_HERMITIANEIG_SORT_HPP
#defi... | 26.933735 | 78 | 0.633192 | [
"vector"
] |
870903bab73bd4b8e8fbc240dce6f10b9f793ab3 | 5,170 | cpp | C++ | nifti_user/ocu/src/Displays/Markers/arrow_marker.cpp | talkingrobots/NIFTi_OCU | 017a36cd98f4302ebcd0f024a6c0c517b044bac7 | [
"BSD-3-Clause"
] | 1 | 2019-08-14T09:59:21.000Z | 2019-08-14T09:59:21.000Z | nifti_user/ocu/src/Displays/Markers/arrow_marker.cpp | talkingrobots/NIFTi_OCU | 017a36cd98f4302ebcd0f024a6c0c517b044bac7 | [
"BSD-3-Clause"
] | null | null | null | nifti_user/ocu/src/Displays/Markers/arrow_marker.cpp | talkingrobots/NIFTi_OCU | 017a36cd98f4302ebcd0f024a6c0c517b044bac7 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2009, Willow Garage, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright
* notice, this l... | 37.463768 | 256 | 0.710832 | [
"transform"
] |
870c26940d3a74bcfab591345f1446fb3f54ad3f | 6,010 | cpp | C++ | src/Screens/LoadingScreen.cpp | adamkewley/osmv | 694853382b71e087b22a6d988128b37b15f6f268 | [
"Apache-2.0"
] | 6 | 2021-01-12T15:23:28.000Z | 2021-06-08T16:41:18.000Z | src/Screens/LoadingScreen.cpp | ComputationalBiomechanicsLab/opensim-creator | e5c4b24f5ef3bffe10c84899d0a0c79037020b6d | [
"Apache-2.0"
] | 180 | 2022-01-27T15:25:15.000Z | 2022-03-30T13:41:12.000Z | src/Screens/LoadingScreen.cpp | ComputationalBiomechanicsLab/opensim-creator | e5c4b24f5ef3bffe10c84899d0a0c79037020b6d | [
"Apache-2.0"
] | null | null | null | #include "LoadingScreen.hpp"
#include "src/3D/Gl.hpp"
#include "src/OpenSimBindings/UndoableUiModel.hpp"
#include "src/Screens/ModelEditorScreen.hpp"
#include "src/Screens/SplashScreen.hpp"
#include "src/App.hpp"
#include "src/Assertions.hpp"
#include "src/Log.hpp"
#include <imgui.h>
#include <OpenSim/Simulation/Mode... | 30.507614 | 114 | 0.624293 | [
"model",
"3d"
] |
871459d1d7364012506fd0b7b80eaf06dc42b6ac | 687 | hpp | C++ | src/rltk_main/impl/terminal.hpp | thebracket/rltk2 | 4c736cda5fbbee22127e16fd75bde6f68e381f46 | [
"MIT"
] | 2 | 2018-07-31T09:00:53.000Z | 2019-03-06T13:20:43.000Z | src/rltk_main/impl/terminal.hpp | thebracket/rltk2 | 4c736cda5fbbee22127e16fd75bde6f68e381f46 | [
"MIT"
] | null | null | null | src/rltk_main/impl/terminal.hpp | thebracket/rltk2 | 4c736cda5fbbee22127e16fd75bde6f68e381f46 | [
"MIT"
] | null | null | null | #pragma once
#include "vchar.hpp"
#include <vector>
#include "color.hpp"
namespace rltk
{
class terminal_t
{
public:
terminal_t(const int w, const int h);
void cls();
void cls(const color_t &fg, const color_t &bg);
void print_at(const int x, const int y, const char * text);
void print_at(const int x, cons... | 25.444444 | 100 | 0.71179 | [
"vector"
] |
8714766f7dbb5df708bb97c518a8a4e57a9782b5 | 2,595 | hpp | C++ | i23dSFM/stl/dynamic_bitset.hpp | zyxrrr/GraphSfM | 1af22ec17950ffc8a5c737a6a46f4465c40aa470 | [
"BSD-3-Clause"
] | null | null | null | i23dSFM/stl/dynamic_bitset.hpp | zyxrrr/GraphSfM | 1af22ec17950ffc8a5c737a6a46f4465c40aa470 | [
"BSD-3-Clause"
] | null | null | null | i23dSFM/stl/dynamic_bitset.hpp | zyxrrr/GraphSfM | 1af22ec17950ffc8a5c737a6a46f4465c40aa470 | [
"BSD-3-Clause"
] | 1 | 2019-02-18T09:49:32.000Z | 2019-02-18T09:49:32.000Z |
// Copyright (c) 2015 Pierre MOULON.
// 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/.
// Class derived from the Boost dynamic_bitset<> implementation.
// Distribut... | 29.827586 | 102 | 0.632755 | [
"vector"
] |
8716c64553e1205b0a6db743babc53fd3e5ef682 | 5,478 | cpp | C++ | Random/Old/unitTests.cpp | SuperV1234/Experiments | 572c94d1afb367c241645b479019f6cb3883f98f | [
"AFL-3.0"
] | 12 | 2015-10-10T16:27:28.000Z | 2019-11-28T17:48:32.000Z | Random/Old/unitTests.cpp | vittorioromeo/Experiments | 572c94d1afb367c241645b479019f6cb3883f98f | [
"AFL-3.0"
] | 3 | 2016-11-20T21:17:19.000Z | 2018-05-25T16:52:32.000Z | Random/Old/unitTests.cpp | vittorioromeo/Experiments | 572c94d1afb367c241645b479019f6cb3883f98f | [
"AFL-3.0"
] | 2 | 2016-11-20T21:02:49.000Z | 2020-01-09T18:11:29.000Z | #include <iostream>
#include <set>
#include <utility>
#include <cstddef>
#include <map>
#include <string>
#include <SSVUtils/SSVUtils.hpp>
#define NSUT_IMPL_GET_NAME_TYPE(mName) SSVPP_CAT(NSTestUnique_, mName, __LINE__)
#define NSUT_IMPL_GET_NAME_RUNNER(mName) \
SSVPP_CAT(NSUT_IMPL_GET_NAME_TYPE(mName), runner)
#d... | 31.302857 | 80 | 0.497992 | [
"vector"
] |
26b4e82249c812d9f6bd68031d7b135485cdfb2a | 7,848 | hpp | C++ | include/block/datatypes.hpp | shan-anand/cplusplus | 238af231e747bb948332b67af1c822fe88bbbda4 | [
"MIT"
] | null | null | null | include/block/datatypes.hpp | shan-anand/cplusplus | 238af231e747bb948332b67af1c822fe88bbbda4 | [
"MIT"
] | null | null | null | include/block/datatypes.hpp | shan-anand/cplusplus | 238af231e747bb948332b67af1c822fe88bbbda4 | [
"MIT"
] | null | null | null | /*
LICENSE: BEGIN
===============================================================================
@author Shan Anand
@email anand.gs@gmail.com
@source https://github.com/shan-anand
@file datatype.hpp
@brief Definition of block datatypes for serializing/deserializing them.
===============================================... | 30.068966 | 100 | 0.683359 | [
"vector"
] |
26b71b6008c501e7a7f64cf79fea71ba47d07fbd | 714 | cpp | C++ | c++/2 - Data Structures/Centroid Decomposition.cpp | JoseManuelSalazar/notebook | 5376cf98ef11f74a4afb2c16ad74c2bc1090ef6a | [
"MIT"
] | null | null | null | c++/2 - Data Structures/Centroid Decomposition.cpp | JoseManuelSalazar/notebook | 5376cf98ef11f74a4afb2c16ad74c2bc1090ef6a | [
"MIT"
] | null | null | null | c++/2 - Data Structures/Centroid Decomposition.cpp | JoseManuelSalazar/notebook | 5376cf98ef11f74a4afb2c16ad74c2bc1090ef6a | [
"MIT"
] | null | null | null | const int MX = 1e5+5;
vector<int> g[MX];
int par[MX], dep[MX], sz[MX];
int pre(int u, int p) {
sz[u] = 1;
for (auto &v : g[u])
if (!dep[v] && v != p)
sz[u] += pre(v, u);
return sz[u];
}
int centroid(int u, int p, int k) {
for (auto &v : g[u])
if (!dep[v] && v != p && sz[... | 21.636364 | 44 | 0.420168 | [
"vector"
] |
26ba6d252241d59b7d499ea7c0c44faed0b79020 | 20,393 | cc | C++ | src/xpaf_parser.cc | sgarcavi/google-xpaf | 036b52956bc4d52dcff404478ba73fa6a2d0fe47 | [
"Apache-2.0"
] | 153 | 2015-01-25T11:17:19.000Z | 2022-03-07T07:26:31.000Z | src/xpaf_parser.cc | sgarcavi/google-xpaf | 036b52956bc4d52dcff404478ba73fa6a2d0fe47 | [
"Apache-2.0"
] | 1 | 2021-07-12T12:35:49.000Z | 2021-07-12T12:35:49.000Z | src/xpaf_parser.cc | sgarcavi/google-xpaf | 036b52956bc4d52dcff404478ba73fa6a2d0fe47 | [
"Apache-2.0"
] | 64 | 2015-11-16T13:12:32.000Z | 2022-01-20T10:57:52.000Z | // Copyright 2011 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | 36.157801 | 80 | 0.638405 | [
"object",
"vector"
] |
26bbe48112755db3ffaf46eedd7e705314f427fe | 8,618 | cpp | C++ | src/WatchdogDialog.cpp | mbouyer/watchdog_pi | 265cedf5eb8c49a7ed0db6735754ec07ee79d733 | [
"CC-BY-3.0"
] | 7 | 2015-11-20T14:33:46.000Z | 2022-01-03T01:36:29.000Z | src/WatchdogDialog.cpp | mbouyer/watchdog_pi | 265cedf5eb8c49a7ed0db6735754ec07ee79d733 | [
"CC-BY-3.0"
] | 43 | 2015-01-11T22:21:04.000Z | 2022-01-17T20:14:46.000Z | src/WatchdogDialog.cpp | mbouyer/watchdog_pi | 265cedf5eb8c49a7ed0db6735754ec07ee79d733 | [
"CC-BY-3.0"
] | 21 | 2015-01-10T17:24:20.000Z | 2022-01-02T11:58:59.000Z | /******************************************************************************
*
* Project: OpenCPN
* Purpose: watchdog Plugin
* Author: Sean D'Epagnier
*
***************************************************************************
* Copyright (C) 2018 by Sean D'Epagnier *
... | 30.34507 | 121 | 0.53922 | [
"vector"
] |
26be24997f51d015223c74c25e787e5638fe9eba | 347 | cc | C++ | sources/binding/alienfx.cc | BazzaCipher/node-alienfx | c8dc747122a7f2bc4ca21b9d1ee380eea27fb9c2 | [
"MIT"
] | null | null | null | sources/binding/alienfx.cc | BazzaCipher/node-alienfx | c8dc747122a7f2bc4ca21b9d1ee380eea27fb9c2 | [
"MIT"
] | null | null | null | sources/binding/alienfx.cc | BazzaCipher/node-alienfx | c8dc747122a7f2bc4ca21b9d1ee380eea27fb9c2 | [
"MIT"
] | null | null | null | #include <node.h>
#include "sync/alienfxSync.h"
#include "async/alienfxAsync.h"
#include "objects/alienfxObjects.h"
using namespace v8;
void Init(Local<Object> exports, Local<Object> module) {
InitAsyncBindings(exports, module);
InitSyncBindings(exports, module);
InitObjectBindings(exports, module);
}
... | 20.411765 | 56 | 0.74928 | [
"object"
] |
26c0e07c302ee122f7388e23a1276f521b02f533 | 13,242 | hpp | C++ | src/mpt/mersenne_twister.hpp | elishafer/mpt | e0997259fbd1431bab4b5ffb6f0d2f00fa380660 | [
"BSD-3-Clause"
] | 54 | 2018-09-28T17:28:02.000Z | 2022-01-25T20:30:32.000Z | src/mpt/mersenne_twister.hpp | elishafer/mpt | e0997259fbd1431bab4b5ffb6f0d2f00fa380660 | [
"BSD-3-Clause"
] | 2 | 2019-11-21T20:16:26.000Z | 2020-03-27T12:55:31.000Z | src/mpt/mersenne_twister.hpp | elishafer/mpt | e0997259fbd1431bab4b5ffb6f0d2f00fa380660 | [
"BSD-3-Clause"
] | 27 | 2019-05-15T00:18:46.000Z | 2021-07-30T00:41:37.000Z | // Software License Agreement (BSD-3-Clause)
//
// Copyright 2018 The University of North Carolina at Chapel Hill
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//
// 1. Redistributions of source code must retain... | 39.410714 | 126 | 0.569778 | [
"object"
] |
26d2098c96061ef918b92ce79ed37c54a5247e2d | 2,439 | cc | C++ | sky/compositor/surface_holder.cc | viettrungluu-cr/mojo | 950de5bc66e00aeb1f7bdf2987f253986c0a7614 | [
"BSD-3-Clause"
] | 5 | 2019-05-24T01:25:34.000Z | 2020-04-06T05:07:01.000Z | sky/compositor/surface_holder.cc | viettrungluu-cr/mojo | 950de5bc66e00aeb1f7bdf2987f253986c0a7614 | [
"BSD-3-Clause"
] | null | null | null | sky/compositor/surface_holder.cc | viettrungluu-cr/mojo | 950de5bc66e00aeb1f7bdf2987f253986c0a7614 | [
"BSD-3-Clause"
] | 5 | 2016-12-23T04:21:10.000Z | 2020-06-18T13:52:33.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 "sky/compositor/surface_holder.h"
#include "base/bind.h"
#include "base/message_loop/message_loop.h"
#include "mojo/converters/geometry/geometry... | 31.269231 | 79 | 0.719147 | [
"geometry"
] |
26d91841d6c7964eb4ccfbb171e552d56634f519 | 24,009 | cpp | C++ | src/chainparams.cpp | SumExchange/sumcoin | 59b8e657027b0df9b0da44e5d48c1877621f65ba | [
"MIT"
] | null | null | null | src/chainparams.cpp | SumExchange/sumcoin | 59b8e657027b0df9b0da44e5d48c1877621f65ba | [
"MIT"
] | null | null | null | src/chainparams.cpp | SumExchange/sumcoin | 59b8e657027b0df9b0da44e5d48c1877621f65ba | [
"MIT"
] | null | null | null | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2016 Sumtoshi
// Copyright (c) 2009-2019 The Bitcoin Core developers
// Copyright (c) 2016-2020 The Sumcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.... | 53.591518 | 211 | 0.734808 | [
"vector"
] |
26d98ec5199b1f59238f52d927ec97655c7f66ca | 14,566 | cpp | C++ | src/execution/compiler/operator/aggregate_util.cpp | algebra2k/terrier | 8b6f4b0b0c30dc94411f197e610f634ce0ab5b0b | [
"MIT"
] | 1 | 2020-05-27T03:54:36.000Z | 2020-05-27T03:54:36.000Z | src/execution/compiler/operator/aggregate_util.cpp | algebra2k/terrier | 8b6f4b0b0c30dc94411f197e610f634ce0ab5b0b | [
"MIT"
] | 7 | 2020-04-06T19:31:12.000Z | 2020-05-12T23:05:09.000Z | src/execution/compiler/operator/aggregate_util.cpp | algebra2k/terrier | 8b6f4b0b0c30dc94411f197e610f634ce0ab5b0b | [
"MIT"
] | 1 | 2021-06-27T03:12:31.000Z | 2021-06-27T03:12:31.000Z | #include "execution/compiler/operator/aggregate_util.h"
#include <utility>
#include <vector>
#include "execution/compiler/function_builder.h"
#include "execution/compiler/translator_factory.h"
namespace terrier::execution::compiler {
AggregateHelper::AggregateHelper(CodeGen *codegen, const planner::AggregatePlanNode ... | 45.949527 | 120 | 0.690581 | [
"vector"
] |
26dc010ce01d7edad68f9f473befc463a00b0654 | 12,659 | cpp | C++ | turtlebot2/kobuki_base/kobuki_ros/kobuki_safety_controller/src/safety_controller.cpp | RoboticsLabURJC/2021-tfg-carlos-caminero | e23991616cb971b9a0bd95b653789c54f571a930 | [
"Apache-2.0"
] | null | null | null | turtlebot2/kobuki_base/kobuki_ros/kobuki_safety_controller/src/safety_controller.cpp | RoboticsLabURJC/2021-tfg-carlos-caminero | e23991616cb971b9a0bd95b653789c54f571a930 | [
"Apache-2.0"
] | null | null | null | turtlebot2/kobuki_base/kobuki_ros/kobuki_safety_controller/src/safety_controller.cpp | RoboticsLabURJC/2021-tfg-carlos-caminero | e23991616cb971b9a0bd95b653789c54f571a930 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2012, Yujin Robot.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of ... | 36.065527 | 210 | 0.704479 | [
"vector"
] |
26dc0c6e9a40889b6203b0b22a4280c56bbf1093 | 9,046 | hxx | C++ | lib/multicut_cython/include/andres/graph/cut-vertices.hxx | PJunhyuk/exercise-pose-guide | a2793ede6b150e5ae20185e14f8b4ad3a08f4196 | [
"Apache-2.0"
] | 161 | 2018-02-22T15:15:47.000Z | 2022-02-10T16:40:06.000Z | Chapter04/lib/multicut_cython/include/andres/graph/cut-vertices.hxx | mayurmorin/Computer-Vision-Projects-with-OpenCV-and-Python-3 | bf9041d2804fd76d6a59a8b6f2feb8d50f80c9d3 | [
"MIT"
] | 15 | 2018-03-01T23:18:00.000Z | 2021-05-15T06:23:15.000Z | Chapter04/lib/multicut_cython/include/andres/graph/cut-vertices.hxx | mayurmorin/Computer-Vision-Projects-with-OpenCV-and-Python-3 | bf9041d2804fd76d6a59a8b6f2feb8d50f80c9d3 | [
"MIT"
] | 41 | 2018-03-01T13:03:54.000Z | 2022-02-17T14:32:22.000Z | #pragma once
#ifndef ANDRES_GRAPH_CUT_VERTICES_HXX
#define ANDRES_GRAPH_CUT_VERTICES_HXX
#include <stack>
#include <vector>
#include "subgraph.hxx"
namespace andres {
namespace graph {
template<class GRAPH>
struct CutVerticesBuffers
{
typedef GRAPH GraphType;
CutVerticesBuffers(const GraphType&);
std::... | 29.854785 | 139 | 0.673447 | [
"object",
"vector"
] |
26ddd3525015d62c6a72b1463004f239a836bcdf | 13,521 | cpp | C++ | admin/pchealth/core/mpc_common/logging.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | admin/pchealth/core/mpc_common/logging.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | admin/pchealth/core/mpc_common/logging.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | /******************************************************************************
Copyright (c) 1999 Microsoft Corporation
Module Name:
Logging.cpp
Abstract:
This file contains the implementation of a set of logging classes.
Revision History:
Davide Massarenti (Dmassare) 05/27/99
cr... | 22.648241 | 173 | 0.532061 | [
"object"
] |
26ee429c0da88739eef51de33aa67793bccc64eb | 28,514 | cxx | C++ | model_server/driver_aset/src/dialog.h.cxx | kit-transue/software-emancipation-discover | bec6f4ef404d72f361d91de954eae9a3bd669ce3 | [
"BSD-2-Clause"
] | 2 | 2015-11-24T03:31:12.000Z | 2015-11-24T16:01:57.000Z | model_server/driver_aset/src/dialog.h.cxx | radtek/software-emancipation-discover | bec6f4ef404d72f361d91de954eae9a3bd669ce3 | [
"BSD-2-Clause"
] | null | null | null | model_server/driver_aset/src/dialog.h.cxx | radtek/software-emancipation-discover | bec6f4ef404d72f361d91de954eae9a3bd669ce3 | [
"BSD-2-Clause"
] | 1 | 2019-05-19T02:26:08.000Z | 2019-05-19T02:26:08.000Z | /*************************************************************************
* Copyright (c) 2015, Synopsys, Inc. *
* All rights reserved. *
* *
* Redistribution and... | 25.189046 | 136 | 0.591709 | [
"object"
] |
26f8ffdb0665ec5937dd6cf7fa8e501889e0e5b0 | 3,058 | cc | C++ | tests/res/api.cc | juliusnehring/arcana-samples | b5d71c114f353b278323b96450b1bfcd947336b7 | [
"MIT"
] | null | null | null | tests/res/api.cc | juliusnehring/arcana-samples | b5d71c114f353b278323b96450b1bfcd947336b7 | [
"MIT"
] | null | null | null | tests/res/api.cc | juliusnehring/arcana-samples | b5d71c114f353b278323b96450b1bfcd947336b7 | [
"MIT"
] | 1 | 2020-01-22T18:04:53.000Z | 2020-01-22T18:04:53.000Z | #include <nexus/test.hh>
#include <clean-core/invoke.hh>
#include <type_traits>
#include <resource-system/define.hh>
#include <resource-system/handle.hh>
namespace
{
// debug
namespace pv
{
template <class F>
void interactive(F&&)
{
}
int grid() { return 0; }
template <class... Args>
void view(Args const&...)
{
}
}
... | 26.136752 | 98 | 0.559843 | [
"mesh",
"object"
] |
26faf857d932e98f01fd45d15e40c87c30a953f3 | 8,030 | cpp | C++ | ace/tao/tao_idl/be/be_predefined_type.cpp | tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective | 1b0172cdb78757fd17898503aaf6ce03d940ef28 | [
"Apache-1.1"
] | 46 | 2015-12-04T17:12:58.000Z | 2022-03-11T04:30:49.000Z | ace/tao/tao_idl/be/be_predefined_type.cpp | tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective | 1b0172cdb78757fd17898503aaf6ce03d940ef28 | [
"Apache-1.1"
] | null | null | null | ace/tao/tao_idl/be/be_predefined_type.cpp | tharindusathis/sourcecodes-of-CodeReadingTheOpenSourcePerspective | 1b0172cdb78757fd17898503aaf6ce03d940ef28 | [
"Apache-1.1"
] | 23 | 2016-10-24T09:18:14.000Z | 2022-02-25T02:11:35.000Z | // be_predefined_type.cpp,v 1.31 2001/05/24 14:53:21 parsons Exp
// ============================================================================
//
// = LIBRARY
// TAO IDL
//
// = FILENAME
// be_predefined_type.cpp
//
// = DESCRIPTION
// Extension of class AST_PredefinedType that provides additiona... | 27.128378 | 99 | 0.514819 | [
"object"
] |
26ff975dc744af7ec64b89e6b2c35275fe2e3b00 | 4,127 | cc | C++ | Modules/IO/src/GIPLImageWriter.cc | lisurui6/MIRTK | 5a06041102d7205b5aac147ff768df6e9415bd03 | [
"Apache-2.0"
] | 146 | 2016-01-15T15:02:02.000Z | 2022-03-24T01:43:30.000Z | Modules/IO/src/GIPLImageWriter.cc | aria-rui/MIRTK | 877917b1b3ec9e602f7395dbbb1270e4334fc311 | [
"Apache-2.0"
] | 196 | 2016-01-15T16:45:58.000Z | 2022-03-24T01:06:53.000Z | Modules/IO/src/GIPLImageWriter.cc | aria-rui/MIRTK | 877917b1b3ec9e602f7395dbbb1270e4334fc311 | [
"Apache-2.0"
] | 72 | 2016-01-15T15:04:32.000Z | 2022-03-25T11:05:16.000Z | /*
* Medical Image Registration ToolKit (MIRTK)
*
* Copyright 2008-2015 Imperial College London
* Copyright 2008-2015 Daniel Rueckert, Julia Schnabel
*
* 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 ... | 28.267123 | 95 | 0.646959 | [
"object"
] |
f800390aed21398977ad9f67c293172dcd1bd01a | 10,898 | cpp | C++ | core/utils/bmp.cpp | konstantin-fedorov/PROWOGENE | 6aebbdea88015bd186ed16cc0b6d2a845bcf7fed | [
"MIT"
] | 3 | 2020-02-22T18:34:17.000Z | 2021-05-06T07:40:14.000Z | core/utils/bmp.cpp | konstantin-fedorov/PROWOGENE | 6aebbdea88015bd186ed16cc0b6d2a845bcf7fed | [
"MIT"
] | null | null | null | core/utils/bmp.cpp | konstantin-fedorov/PROWOGENE | 6aebbdea88015bd186ed16cc0b6d2a845bcf7fed | [
"MIT"
] | null | null | null | #include "bmp.h"
#include <string.h>
#include <fstream>
namespace prowogene {
namespace utils {
using std::ifstream;
using std::ofstream;
using std::string;
using std::vector;
using prowogene::utils::Array2D;
using prowogene::utils::Image;
using prowogene::utils::RgbaPixel;
template <typename Type... | 33.024242 | 109 | 0.546063 | [
"vector"
] |
f809b1217df5d3b6064e24c2e8f54af1c32014f2 | 42,931 | cpp | C++ | src/core/ReflMngr.cpp | zerger/UDRefl | 1a2f67a3d94f191d6eafd520359428ac3d579ab2 | [
"MIT"
] | null | null | null | src/core/ReflMngr.cpp | zerger/UDRefl | 1a2f67a3d94f191d6eafd520359428ac3d579ab2 | [
"MIT"
] | null | null | null | src/core/ReflMngr.cpp | zerger/UDRefl | 1a2f67a3d94f191d6eafd520359428ac3d579ab2 | [
"MIT"
] | null | null | null | #include <UDRefl/ReflMngr.h>
#include <set>
using namespace Ubpa;
using namespace Ubpa::UDRefl;
namespace Ubpa::UDRefl::details {
static bool IsStaticInvokable(const TypeInfo& typeinfo, StrID methodID, Span<const TypeID> argTypeIDs) {
auto mtarget = typeinfo.methodinfos.find(methodID);
size_t num = typeinfo.met... | 27.60836 | 122 | 0.711211 | [
"object",
"vector"
] |
f80d5fde514c752d976a3850b11b611bfb2a9d79 | 13,594 | cpp | C++ | objs__ai_joe.cpp | poikilos/golgotha | d3184dea6b061f853423e0666dba23218042e5ba | [
"CC0-1.0"
] | 5 | 2015-12-09T20:37:49.000Z | 2021-08-10T08:06:29.000Z | objs__ai_joe.cpp | poikilos/golgotha | d3184dea6b061f853423e0666dba23218042e5ba | [
"CC0-1.0"
] | 13 | 2021-09-20T16:25:30.000Z | 2022-03-17T04:59:40.000Z | objs__ai_joe.cpp | poikilos/golgotha | d3184dea6b061f853423e0666dba23218042e5ba | [
"CC0-1.0"
] | 5 | 2016-01-04T22:54:22.000Z | 2021-09-20T16:09:03.000Z |
/**********************************************************************
Golgotha Forever - A portable, free 3D strategy and FPS game.
Copyright (C) 1999 Golgotha Forever Developers
Sources contained in this distribution were derived from
Crack Dot Com's public release of Golgotha which can be
... | 20.534743 | 94 | 0.554068 | [
"3d"
] |
f811a5abf84af683b4f158f04539b58351327910 | 28,612 | hpp | C++ | include/Core/CastorUtils/Math/TransformationMatrix.hpp | Mu-L/Castor3D | 7b9c6e7be6f7373ad60c0811d136c0004e50e76b | [
"MIT"
] | 245 | 2015-10-29T14:31:45.000Z | 2022-03-31T13:04:45.000Z | include/Core/CastorUtils/Math/TransformationMatrix.hpp | Mu-L/Castor3D | 7b9c6e7be6f7373ad60c0811d136c0004e50e76b | [
"MIT"
] | 64 | 2016-03-11T19:45:05.000Z | 2022-03-31T23:58:33.000Z | include/Core/CastorUtils/Math/TransformationMatrix.hpp | Mu-L/Castor3D | 7b9c6e7be6f7373ad60c0811d136c0004e50e76b | [
"MIT"
] | 11 | 2018-05-24T09:07:43.000Z | 2022-03-21T21:05:20.000Z | /*
See LICENSE file in root folder
*/
#ifndef ___CASTOR_TRANSFORMATION_MATRIX_H___
#define ___CASTOR_TRANSFORMATION_MATRIX_H___
#include "CastorUtils/Math/SquareMatrix.hpp"
namespace castor
{
/**
\author Sylvain DOREMUS
\version 0.6.1.0
\date 19/10/2011
\~english
\brief Matrix basic operations
\remark Hold... | 39.410468 | 118 | 0.690934 | [
"transform"
] |
f81223b50e1aa2922942b1fb8c3501b43e4230b5 | 2,541 | hh | C++ | include/mcnla/core/matrix/dense/dense_vector_iterator.hh | emfomy/mcnla | 9f9717f4d6449bbd467c186651856d6212035667 | [
"MIT"
] | null | null | null | include/mcnla/core/matrix/dense/dense_vector_iterator.hh | emfomy/mcnla | 9f9717f4d6449bbd467c186651856d6212035667 | [
"MIT"
] | null | null | null | include/mcnla/core/matrix/dense/dense_vector_iterator.hh | emfomy/mcnla | 9f9717f4d6449bbd467c186651856d6212035667 | [
"MIT"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// @file include/mcnla/core/matrix/dense/dense_vector_iterator.hh
/// @brief The definition of dense vector iterator class.
///
/// @author Mu Yang <<emfomy@gmail.com>>
///
#ifndef MC... | 31.7625 | 128 | 0.590319 | [
"vector"
] |
f81ce6708ba1c8a076613d20eadc121c5632cdad | 2,426 | cpp | C++ | shared/vkFramework/QuadRenderer.cpp | adoug/3D-Graphics-Rendering-Cookbook | dabffed670b8be5a619f0f62b10e0cc8ccdd5a36 | [
"MIT"
] | 399 | 2021-06-03T02:42:20.000Z | 2022-03-27T23:23:15.000Z | shared/vkFramework/QuadRenderer.cpp | adoug/3D-Graphics-Rendering-Cookbook | dabffed670b8be5a619f0f62b10e0cc8ccdd5a36 | [
"MIT"
] | 7 | 2021-07-13T02:36:01.000Z | 2022-03-26T03:46:37.000Z | shared/vkFramework/QuadRenderer.cpp | adoug/3D-Graphics-Rendering-Cookbook | dabffed670b8be5a619f0f62b10e0cc8ccdd5a36 | [
"MIT"
] | 53 | 2021-06-02T20:02:24.000Z | 2022-03-29T15:36:30.000Z | #include "shared/vkFramework/QuadRenderer.h"
static constexpr int MAX_QUADS = 256;
void QuadRenderer::quad(float x1, float y1, float x2, float y2, int texIdx)
{
VertexData v1 { { x1, y1, 0 }, { 0, 0 }, texIdx };
VertexData v2 { { x2, y1, 0 }, { 1, 0 }, texIdx };
VertexData v3 { { x2, y2, 0 }, { 1, 1 }, texIdx };
... | 36.208955 | 140 | 0.740725 | [
"vector"
] |
f81f2fe813e3f1c97b53a0219a1253852a63b852 | 2,970 | hpp | C++ | backend/fs/FileFS.hpp | mpsonntag/nix | 3e2b874973355f51fcfbaee31eeeb5d9eccab943 | [
"BSD-3-Clause"
] | 53 | 2015-02-10T01:04:34.000Z | 2021-04-24T14:26:04.000Z | backend/fs/FileFS.hpp | mpsonntag/nix | 3e2b874973355f51fcfbaee31eeeb5d9eccab943 | [
"BSD-3-Clause"
] | 262 | 2015-01-09T13:24:21.000Z | 2021-07-02T13:45:31.000Z | backend/fs/FileFS.hpp | mpsonntag/nix | 3e2b874973355f51fcfbaee31eeeb5d9eccab943 | [
"BSD-3-Clause"
] | 34 | 2015-03-27T16:41:14.000Z | 2020-03-27T06:47:59.000Z | // Copyright (c) 2013 - 2015, German Neuroinformatics Node (G-Node)
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted under the terms of the BSD License. See
// LICENSE file in the root of the Project.
#ifndef NIX_FILE_FS_HPP
#define NIX_... | 19.539474 | 130 | 0.639731 | [
"vector"
] |
f8209ea280f2452b2afaba9cd1fbdf38d24f71fc | 3,288 | cc | C++ | src/main.cc | JazzType/probable-telegram | 28589e63cd69ad8b3c1bc36b7864048ecc0c0d1e | [
"MIT"
] | null | null | null | src/main.cc | JazzType/probable-telegram | 28589e63cd69ad8b3c1bc36b7864048ecc0c0d1e | [
"MIT"
] | 2 | 2020-07-24T09:16:13.000Z | 2020-07-28T08:28:11.000Z | src/main.cc | JazzType/probable-telegram | 28589e63cd69ad8b3c1bc36b7864048ecc0c0d1e | [
"MIT"
] | null | null | null | #include <bits/c++config.h>
#include <boost/filesystem.hpp>
#include <boost/filesystem/operations.hpp>
#include <boost/program_options.hpp>
#include <boost/program_options/options_description.hpp>
#include <boost/program_options/parsers.hpp>
#include <boost/program_options/value_semantic.hpp>
#include <boost/program_op... | 33.212121 | 92 | 0.694951 | [
"vector"
] |
f821a3e73f492ac798998ea6007ad69569fb73b6 | 3,702 | cc | C++ | newweb/webserver/webserver.cc | cauthu/shadow-browser-plugin | e1eb930b1bdf71cb3cdcbb1d70467e6e6203c298 | [
"BSD-3-Clause"
] | null | null | null | newweb/webserver/webserver.cc | cauthu/shadow-browser-plugin | e1eb930b1bdf71cb3cdcbb1d70467e6e6203c298 | [
"BSD-3-Clause"
] | null | null | null | newweb/webserver/webserver.cc | cauthu/shadow-browser-plugin | e1eb930b1bdf71cb3cdcbb1d70467e6e6203c298 | [
"BSD-3-Clause"
] | null | null | null |
#include <string>
#include <vector>
#include <set>
#include <boost/lexical_cast.hpp>
#include "../utility/tcp_server.hpp"
#include "../utility/common.hpp"
#include "../utility/easylogging++.h"
#include "webserver.hpp"
#include "handler.hpp"
using std::vector;
using std::string;
using std::set;
using std::pair;
us... | 24.845638 | 94 | 0.622907 | [
"vector"
] |
f822f2b1460a0a4a9b14fcdff2a93e363395a7b2 | 14,234 | cc | C++ | src/modular/bin/sessionmgr/element_manager_impl_unittest.cc | wwjiang007/fuchsia-1 | 0db66b52b5bcd3e27c8b8c2163925309e8522f94 | [
"BSD-2-Clause"
] | 210 | 2019-02-05T12:45:09.000Z | 2022-03-28T07:59:06.000Z | src/modular/bin/sessionmgr/element_manager_impl_unittest.cc | wwjiang007/fuchsia-1 | 0db66b52b5bcd3e27c8b8c2163925309e8522f94 | [
"BSD-2-Clause"
] | 56 | 2021-06-03T03:16:25.000Z | 2022-03-20T01:07:44.000Z | src/modular/bin/sessionmgr/element_manager_impl_unittest.cc | wwjiang007/fuchsia-1 | 0db66b52b5bcd3e27c8b8c2163925309e8522f94 | [
"BSD-2-Clause"
] | 73 | 2019-03-06T18:55:23.000Z | 2022-03-26T12:04:51.000Z | // Copyright 2020 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/modular/bin/sessionmgr/element_manager_impl.h"
#include <fuchsia/element/cpp/fidl.h>
#include <lib/fidl/cpp/optional.h>
#include <memory>
... | 41.498542 | 100 | 0.684066 | [
"vector"
] |
f82884beb6e819f24c63d301d3742c8f3d540e00 | 1,251 | cpp | C++ | Stacks & Queues/16mergeIntervals.cpp | Coderangshu/450DSA | fff6cee65f75e5a0bb61d5fd8d000317a7736ca3 | [
"MIT"
] | 1 | 2021-01-18T14:51:20.000Z | 2021-01-18T14:51:20.000Z | Stacks & Queues/16mergeIntervals.cpp | Coderangshu/450DSA | fff6cee65f75e5a0bb61d5fd8d000317a7736ca3 | [
"MIT"
] | null | null | null | Stacks & Queues/16mergeIntervals.cpp | Coderangshu/450DSA | fff6cee65f75e5a0bb61d5fd8d000317a7736ca3 | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
void insertBottom(stack<pair<int,int>> &s, pair<int,int> e){
if(s.empty()) s.push(e);
else{
auto f = s.top();
s.pop();
insertBottom(s,e);
s.push(f);
}
}
void reverseStack(stack<pair<int,int>> &s){
if(!s.empty()){
auto e = s.top();
s.pop();
reverseStack(s)... | 21.568966 | 84 | 0.627498 | [
"vector"
] |
f8296cf25e01f8e2e176ffb73e7446f39e5d88da | 7,948 | cc | C++ | src_cpu/linkpred.cc | talnish/iiswc21_rwalk | b3b995b9b4ed3363c268acd050a6c10b87a40dfc | [
"BSD-3-Clause"
] | 1 | 2021-11-18T11:01:52.000Z | 2021-11-18T11:01:52.000Z | src_cpu/linkpred.cc | talnish/iiswc21_rwalk | b3b995b9b4ed3363c268acd050a6c10b87a40dfc | [
"BSD-3-Clause"
] | null | null | null | src_cpu/linkpred.cc | talnish/iiswc21_rwalk | b3b995b9b4ed3363c268acd050a6c10b87a40dfc | [
"BSD-3-Clause"
] | null | null | null | #include <iostream>
#include <vector>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <pthread.h>
#include <map>
#include <fstream>
#include <experimental/algorithm>
#include <torch/torch.h>
#include "benchmark.h"
#include "builder.h"
#include "command_line.h"
// #include "graph.h... | 35.641256 | 89 | 0.682436 | [
"vector",
"model"
] |
f82dfe7e3e49637b6857cb523aece6c4f7c7fd7b | 4,597 | cpp | C++ | benchmarks/geneva/GBrokerSanityChecks/GBrokerSanityChecks.cpp | denisbertini/geneva | eff76fc489001512022d1a20c5561623d73efc32 | [
"Apache-2.0",
"BSD-3-Clause"
] | 4 | 2020-05-20T07:23:19.000Z | 2021-09-12T23:12:21.000Z | benchmarks/geneva/GBrokerSanityChecks/GBrokerSanityChecks.cpp | denisbertini/geneva | eff76fc489001512022d1a20c5561623d73efc32 | [
"Apache-2.0",
"BSD-3-Clause"
] | 10 | 2020-05-05T13:24:08.000Z | 2021-07-27T13:23:17.000Z | benchmarks/geneva/GBrokerSanityChecks/GBrokerSanityChecks.cpp | denisbertini/geneva | eff76fc489001512022d1a20c5561623d73efc32 | [
"Apache-2.0",
"BSD-3-Clause"
] | 7 | 2020-04-09T10:33:11.000Z | 2021-09-08T12:24:55.000Z | /**
* @file GParallelisationOverhead.cpp
*/
/********************************************************************************
*
* This file is part of the Geneva library collection. The following license
* applies to this file:
*
* ------------------------------------------------------------------------------
... | 37.680328 | 113 | 0.597999 | [
"object"
] |
f832097765262471a23d633de4894fa40c8db96e | 13,986 | hpp | C++ | extras/safmex/CXX_API/safmex.hpp | rapolasd/Spatial_Audio_Framework | 24ed0f45918b2893d2c64e3388b5f5405736da3b | [
"Intel",
"ISC"
] | 310 | 2018-05-16T19:20:06.000Z | 2022-03-30T08:52:26.000Z | extras/safmex/CXX_API/safmex.hpp | rapolasd/Spatial_Audio_Framework | 24ed0f45918b2893d2c64e3388b5f5405736da3b | [
"Intel",
"ISC"
] | 20 | 2019-03-21T10:37:45.000Z | 2022-03-10T20:39:45.000Z | extras/safmex/CXX_API/safmex.hpp | rapolasd/Spatial_Audio_Framework | 24ed0f45918b2893d2c64e3388b5f5405736da3b | [
"Intel",
"ISC"
] | 55 | 2018-05-18T08:59:30.000Z | 2022-03-22T18:59:33.000Z | /*
* Copyright 2020 Leo McCormack
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS... | 50.309353 | 291 | 0.55863 | [
"vector"
] |
f836e37c585074cd315f1fa79fcbf5127cda0d75 | 2,453 | hpp | C++ | solver_lqr/include/solver_lqr/SolverLqrSetting.hpp | ferdinand-wood/kino_dynamic_opt | ba6bef170819c55d1d26e40af835a744d1ae663f | [
"BSD-3-Clause"
] | 1 | 2020-09-28T14:01:21.000Z | 2020-09-28T14:01:21.000Z | solver_lqr/include/solver_lqr/SolverLqrSetting.hpp | ferdinand-wood/kino_dynamic_opt | ba6bef170819c55d1d26e40af835a744d1ae663f | [
"BSD-3-Clause"
] | null | null | null | solver_lqr/include/solver_lqr/SolverLqrSetting.hpp | ferdinand-wood/kino_dynamic_opt | ba6bef170819c55d1d26e40af835a744d1ae663f | [
"BSD-3-Clause"
] | null | null | null | /**
* @file SolverLqrSetting.hpp
* @author Brahayam Ponton (brahayam.ponton@tuebingen.mpg.de)
* @license License BSD-3-Clause
* @copyright Copyright (c) 2019, New York University and Max Planck Gesellschaft.
* @date 2019-10-07
*/
#pragma once
#include <string>
#include <limits>
#include <yaml_cpp_catkin/yaml_ei... | 36.073529 | 105 | 0.743172 | [
"vector"
] |
f8473ce7ee39c979477397b2badf8ade3eb6c3dd | 3,825 | hpp | C++ | src/header.hpp | JacobFV/JOSS | f7fa6869764e13387b6ceca862a68cfac64d9047 | [
"MIT"
] | null | null | null | src/header.hpp | JacobFV/JOSS | f7fa6869764e13387b6ceca862a68cfac64d9047 | [
"MIT"
] | null | null | null | src/header.hpp | JacobFV/JOSS | f7fa6869764e13387b6ceca862a68cfac64d9047 | [
"MIT"
] | null | null | null | #ifndef HEADER
#define HEADER
#include <vector>
#include <string>
#include <iostream>
#include <regex>
#include <exception>
#include <csignal>
#include <fstream>
#include <iostream>
#include <memory>
// copied from assignment1 template
#include <unistd.h>
#include <dirent.h>
#include <string.h>
#include <time.h>
cl... | 31.61157 | 115 | 0.513987 | [
"vector"
] |
f84883637ab9c20519446d9763ca9b08abd9b530 | 12,259 | cpp | C++ | src/reporter/test/suits/rp_test_unresolved_reporter_tests.cpp | lpea/cppinclude | dc126c6057d2fe30569e6e86f66d2c8eebb50212 | [
"MIT"
] | 177 | 2020-08-24T19:20:35.000Z | 2022-03-27T01:58:04.000Z | src/reporter/test/suits/rp_test_unresolved_reporter_tests.cpp | lpea/cppinclude | dc126c6057d2fe30569e6e86f66d2c8eebb50212 | [
"MIT"
] | 15 | 2020-08-30T17:59:42.000Z | 2022-01-12T11:14:10.000Z | src/reporter/test/suits/rp_test_unresolved_reporter_tests.cpp | lpea/cppinclude | dc126c6057d2fe30569e6e86f66d2c8eebb50212 | [
"MIT"
] | 11 | 2020-09-17T23:31:10.000Z | 2022-03-04T13:15:21.000Z | #include "reporter/test/fixture/rp_test_reporter_fixture.hpp"
#include <boost/test/unit_test.hpp>
/*------------------------------------------------------------------------------
TEST PLAN:
1 : Model doesn't have unresolved includes
2 : Several includes
3. Relative paths
4. Limits
4.1 Max files
4.2 Max details
4... | 30.046569 | 80 | 0.605759 | [
"model"
] |
f848a00d865422762603bb40c67294a227c4cc47 | 24,682 | cpp | C++ | sources/SBFramework/SBScene/SBSceneDAEConstructor.cpp | podgorskiy/ProceduralSky | 386d091be8e8f4d7b5a838506c5b481779e56e42 | [
"MIT"
] | 3 | 2016-11-04T16:16:24.000Z | 2019-04-14T07:24:00.000Z | sources/SBFramework/SBScene/SBSceneDAEConstructor.cpp | podgorskiy/ProceduralSky | 386d091be8e8f4d7b5a838506c5b481779e56e42 | [
"MIT"
] | null | null | null | sources/SBFramework/SBScene/SBSceneDAEConstructor.cpp | podgorskiy/ProceduralSky | 386d091be8e8f4d7b5a838506c5b481779e56e42 | [
"MIT"
] | null | null | null | #include "SBSceneDAEConstructor.h"
#include "SBMeshBufferConstructor.h"
#include "SBCommon.h"
#include "SBNode.h"
#include "SBMesh.h"
#include <glm/gtx/rotate_vector.hpp>
#include <fstream>
#include <algorithm>
#include <functional>
#include "SBTimer/SBScopeTinyProfiler.h"
using namespace SB;
class Tokenizer
{
pu... | 25.237219 | 168 | 0.648084 | [
"mesh",
"geometry",
"vector",
"transform"
] |
f849618e155bbf5dd6aa7f25d5bbb97adaf7ab1b | 2,990 | cc | C++ | unit_tests/tests/base/Architectures/Architectures_test.cc | Wlgen/force-riscv | 9f09b86c5a21ca00f8e5ade8e5186d65bc3e26f8 | [
"Apache-2.0"
] | 111 | 2020-06-12T22:31:30.000Z | 2022-03-19T03:45:20.000Z | unit_tests/tests/base/Architectures/Architectures_test.cc | Wlgen/force-riscv | 9f09b86c5a21ca00f8e5ade8e5186d65bc3e26f8 | [
"Apache-2.0"
] | 34 | 2020-06-12T20:23:40.000Z | 2022-03-15T20:04:31.000Z | unit_tests/tests/base/Architectures/Architectures_test.cc | Wlgen/force-riscv | 9f09b86c5a21ca00f8e5ade8e5186d65bc3e26f8 | [
"Apache-2.0"
] | 32 | 2020-06-12T19:15:26.000Z | 2022-02-20T11:38:31.000Z | //
// Copyright (C) [2020] Futurewei Technologies, Inc.
//
// FORCE-RISCV is 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
//
// THIS SOFTW... | 27.431193 | 98 | 0.679933 | [
"vector"
] |
f849b924b5b1ce6c8dca362a886b3322c03aeac1 | 21,622 | cpp | C++ | GirlFront1/mainwindow.cpp | ltly98/QtGirlFront | 467b99211e0e2003a644cc833338c1fb1f682fb0 | [
"MIT"
] | null | null | null | GirlFront1/mainwindow.cpp | ltly98/QtGirlFront | 467b99211e0e2003a644cc833338c1fb1f682fb0 | [
"MIT"
] | null | null | null | GirlFront1/mainwindow.cpp | ltly98/QtGirlFront | 467b99211e0e2003a644cc833338c1fb1f682fb0 | [
"MIT"
] | null | null | null | #include "mainwindow.h"
#include "ui_mainwindow.h"
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
ui->setupUi(this);
ui->label->setText(QString::fromLocal8Bit("登录状态:未登录"));
ui->textEdit->setTextColor(Qt::green);//设置初始字体颜色
ui->menuMenu->setTitle(QStrin... | 35.100649 | 117 | 0.690315 | [
"model"
] |
f851dcfc82cfb20d2a901352db7ccec8f50d22af | 33,249 | cpp | C++ | test/index/testing_index_util.cpp | phisiart/peloton | c2becb9d6f2e2c8f48696a371b0d7c0ff79d56fc | [
"Apache-2.0"
] | 1 | 2017-04-17T15:19:36.000Z | 2017-04-17T15:19:36.000Z | test/index/testing_index_util.cpp | phisiart/peloton | c2becb9d6f2e2c8f48696a371b0d7c0ff79d56fc | [
"Apache-2.0"
] | 5 | 2017-04-23T17:16:14.000Z | 2017-04-25T03:14:16.000Z | test/index/testing_index_util.cpp | phisiart/peloton-p3 | c2becb9d6f2e2c8f48696a371b0d7c0ff79d56fc | [
"Apache-2.0"
] | null | null | null | //===----------------------------------------------------------------------===//
//
// Peloton
//
// index_tests_util.cpp
//
// Identification: test/index/index_tests_util.cpp
//
// Copyright (c) 2015-17, Carnegie Mellon University Database Group
//
//===-----------------------------------------... | 39.535077 | 89 | 0.68781 | [
"object",
"vector"
] |
f8546a734309765f4c3726624f4e743c65a69632 | 15,835 | cpp | C++ | src/Main.cpp | Sapientier/Despliegue-3D | b3cbb7ed9a8b79220d3812334b5ebea7a8dfcc8f | [
"MIT"
] | null | null | null | src/Main.cpp | Sapientier/Despliegue-3D | b3cbb7ed9a8b79220d3812334b5ebea7a8dfcc8f | [
"MIT"
] | null | null | null | src/Main.cpp | Sapientier/Despliegue-3D | b3cbb7ed9a8b79220d3812334b5ebea7a8dfcc8f | [
"MIT"
] | null | null | null | // Brian Torres
#include "Main.h"
#include "Model.h"
using std::vector;
//<-----------------VARIABLES Y ESTRUCTURAS--------------------->
int gWidth, gHeight;
vector <CModel> models;
//Variables globales a usar en AntTweakBar
float color_ambiental[] = { 0.5f, 0.4f, 0.4f, 0.0 };
float color_difuso[] = { 1.0f, 0.5f,... | 36.402299 | 152 | 0.693906 | [
"vector",
"model",
"3d"
] |
f856a4b86703f028fc4390b81933fd27da4f9977 | 4,256 | cpp | C++ | android-31/android/provider/ContactsContract_CommonDataKinds_Organization.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 12 | 2020-03-26T02:38:56.000Z | 2022-03-14T08:17:26.000Z | android-31/android/provider/ContactsContract_CommonDataKinds_Organization.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 1 | 2021-01-27T06:07:45.000Z | 2021-11-13T19:19:43.000Z | android-29/android/provider/ContactsContract_CommonDataKinds_Organization.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 3 | 2021-02-02T12:34:55.000Z | 2022-03-08T07:45:57.000Z | #include "../content/res/Resources.hpp"
#include "../../JString.hpp"
#include "../../JString.hpp"
#include "./ContactsContract_CommonDataKinds_Organization.hpp"
namespace android::provider
{
// Fields
JString ContactsContract_CommonDataKinds_Organization::COMPANY()
{
return getStaticObjectField(
"android.provi... | 28.756757 | 132 | 0.779605 | [
"object"
] |
f85fa0d14765c6efcd0c64eb8cbf988f1c1f559d | 2,276 | hpp | C++ | Model/Linear/Array.hpp | SAarronB/Vector | 225342800beff75e19513bbb6d68a0dcd3eab1e2 | [
"MIT"
] | null | null | null | Model/Linear/Array.hpp | SAarronB/Vector | 225342800beff75e19513bbb6d68a0dcd3eab1e2 | [
"MIT"
] | null | null | null | Model/Linear/Array.hpp | SAarronB/Vector | 225342800beff75e19513bbb6d68a0dcd3eab1e2 | [
"MIT"
] | null | null | null | //
// Array.hpp
// Vector
//
// Created by Bonilla, Sean on 1/30/19.
// Copyright © 2019 CTEC. All rights reserved.
//
#ifndef Array_hpp
#define Array_hpp
#include <assert.h>
#include "iostream"
using namespace std;
template <class Type>
class Array {
private:
Type * internalArray;
int size;
public:
... | 21.67619 | 72 | 0.609402 | [
"vector"
] |
f862896391f7075e0b123186f823687892a86ffa | 1,957 | cpp | C++ | leetcode/container-with-most-water/solution.cpp | kpagacz/spoj | 8bff809c6c5227a6e85e9b12f808dd921f24e587 | [
"MIT"
] | 1 | 2021-12-06T16:01:55.000Z | 2021-12-06T16:01:55.000Z | leetcode/container-with-most-water/solution.cpp | kpagacz/comp-programming | 15482d762ede4d3b7f8ff45a193f6e6bcd85672a | [
"MIT"
] | null | null | null | leetcode/container-with-most-water/solution.cpp | kpagacz/comp-programming | 15482d762ede4d3b7f8ff45a193f6e6bcd85672a | [
"MIT"
] | null | null | null | // link to the problem: https://leetcode.com/problems/container-with-most-water/
#include <algorithm>
#include <array>
#include <cassert>
#include <iostream>
#include <iterator>
#include <numeric>
#include <queue>
#include <set>
#include <sstream>
#include <stdexcept>
#include <string>
#include <vector>
class Solution... | 36.240741 | 120 | 0.575881 | [
"vector"
] |
d37b8ac25657b2b3abcb771e92bc8ec9810b6bda | 342,588 | cpp | C++ | B2G/gecko/dom/base/nsGlobalWindow.cpp | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | 3 | 2015-08-31T15:24:31.000Z | 2020-04-24T20:31:29.000Z | B2G/gecko/dom/base/nsGlobalWindow.cpp | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | null | null | null | B2G/gecko/dom/base/nsGlobalWindow.cpp | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | 3 | 2015-07-29T07:17:15.000Z | 2020-11-04T06:55:37.000Z | /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set sw=2 ts=2 et tw=78: */
/* 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/. */
... | 30.349752 | 132 | 0.67655 | [
"object"
] |
d37d3873c7c3ba26cb502b6083cdb74597262bc0 | 826 | cpp | C++ | 0972-Deliver The Message/0972-Deliver The Message.cpp | akekho/LintCode | 2d31f1ec092d89e70d5059c7fb2df2ee03da5981 | [
"MIT"
] | 77 | 2017-12-30T13:33:37.000Z | 2022-01-16T23:47:08.000Z | 0901-1000/0972-Deliver The Message/0972-Deliver The Message.cpp | jxhangithub/LintCode-1 | a8aecc65c47a944e9debad1971a7bc6b8776e48b | [
"MIT"
] | 1 | 2018-05-14T14:15:40.000Z | 2018-05-14T14:15:40.000Z | 0901-1000/0972-Deliver The Message/0972-Deliver The Message.cpp | jxhangithub/LintCode-1 | a8aecc65c47a944e9debad1971a7bc6b8776e48b | [
"MIT"
] | 39 | 2017-12-07T14:36:25.000Z | 2022-03-10T23:05:37.000Z | class Solution {
public:
/**
* @param t: the time of each employee to pass a meeage
* @param subordinate: the subordinate of each employee
* @return: the time of the last staff recieve the message
*/
int deliverMessage(vector<int> &t, vector<vector<int>> &subordinate) {
// Write your... | 29.5 | 74 | 0.472155 | [
"vector"
] |
d37e2fc16c13588dead977ea973429f2404498c7 | 4,311 | cpp | C++ | src/icc/os/platforms/windows/TimerImpl.cpp | redradist/Inter-Component-Communication | 6c10bc4bb88400ed9d712781362941dee1a127c2 | [
"MIT"
] | 6 | 2017-07-07T12:44:44.000Z | 2021-07-24T19:58:35.000Z | src/icc/os/platforms/windows/TimerImpl.cpp | redradist/Inter-Component-Communication | 6c10bc4bb88400ed9d712781362941dee1a127c2 | [
"MIT"
] | 1 | 2019-06-30T11:43:44.000Z | 2019-06-30T11:43:44.000Z | src/icc/os/platforms/windows/TimerImpl.cpp | redradist/Inter-Component-Communication | 6c10bc4bb88400ed9d712781362941dee1a127c2 | [
"MIT"
] | 1 | 2018-05-28T09:33:49.000Z | 2018-05-28T09:33:49.000Z | //
// Created by redra on 01.06.19.
//
#include <iostream>
#include <inttypes.h>
#include <vector>
#include <icc/os/EventLoop.hpp>
#include "Common.hpp"
#include "TimerImpl.hpp"
namespace icc {
namespace os {
Timer::TimerImpl::TimerImpl(const Handle & timerObject)
: timer_queue_handle_{timerObject} {
}
Timer::T... | 26.776398 | 95 | 0.678033 | [
"vector"
] |
d385a4e4f8b3f54990ee84b872f824a946cdc2e6 | 13,520 | cpp | C++ | src/firstCompleteSlamTest.cpp | Zarbokk/simulation_bluerov | 578af3feaf2d7d875d1fe297ecf6f8f61d112d9c | [
"Apache-2.0"
] | null | null | null | src/firstCompleteSlamTest.cpp | Zarbokk/simulation_bluerov | 578af3feaf2d7d875d1fe297ecf6f8f61d112d9c | [
"Apache-2.0"
] | null | null | null | src/firstCompleteSlamTest.cpp | Zarbokk/simulation_bluerov | 578af3feaf2d7d875d1fe297ecf6f8f61d112d9c | [
"Apache-2.0"
] | null | null | null |
#include <scanRegistrationClass.h>
#include <ros/ros.h>
#include "sensor_msgs/PointCloud2.h"
#include "nav_msgs/Path.h"
#include "geometry_msgs/PoseStamped.h"
#include <pcl_conversions/pcl_conversions.h>
#include <visualization_msgs/Marker.h>
#include <visualization_msgs/MarkerArray.h>
#include <graphSlamSaveStructure... | 47.438596 | 154 | 0.647411 | [
"vector"
] |
d3930e337fb58c9797ceb5962c843e502076ddae | 1,861 | cpp | C++ | editor/src/drawers/TransformDrawer.cpp | jsandham/PhysicsEngine | 51115ee9a59f3bc6e0895113c67563cfd4a1ef3c | [
"MIT"
] | 2 | 2018-12-19T01:52:39.000Z | 2022-03-29T16:04:15.000Z | editor/src/drawers/TransformDrawer.cpp | jsandham/PhysicsEngine | 51115ee9a59f3bc6e0895113c67563cfd4a1ef3c | [
"MIT"
] | null | null | null | editor/src/drawers/TransformDrawer.cpp | jsandham/PhysicsEngine | 51115ee9a59f3bc6e0895113c67563cfd4a1ef3c | [
"MIT"
] | null | null | null | #include "../../include/drawers/TransformDrawer.h"
#include <math.h>
#include "../../include/EditorClipboard.h"
#include "components/Transform.h"
#include "imgui.h"
using namespace PhysicsEditor;
TransformDrawer::TransformDrawer()
{
}
TransformDrawer::~TransformDrawer()
{
}
void TransformDrawer::render(Clipboar... | 28.630769 | 103 | 0.585169 | [
"render",
"transform"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.