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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
46e31f5ef6009a1e381cb73a26bc2c125f756ba1 | 2,171 | hpp | C++ | VMDK.hpp | zigmundmatasko/makevhdx | 554123b2c75c0116203457e6f6144d1de22e8269 | [
"MIT"
] | 1 | 2020-04-15T16:39:19.000Z | 2020-04-15T16:39:19.000Z | VMDK.hpp | zigmundmatasko/makevhdx | 554123b2c75c0116203457e6f6144d1de22e8269 | [
"MIT"
] | null | null | null | VMDK.hpp | zigmundmatasko/makevhdx | 554123b2c75c0116203457e6f6144d1de22e8269 | [
"MIT"
] | null | null | null | #pragma once
#include "Image.hpp"
#include "RAW.hpp"
#include <PathCch.h>
#include <ctime>
struct VMDK : RAW
{
protected:
HANDLE image_file_desc;
WCHAR flat_file_name[MAX_PATH];
UINT32 sector_size;
public:
VMDK() = default;
VMDK(_In_z_ PCWSTR file_name) : RAW(file_name) {
// create new FLAT f... | 23.095745 | 117 | 0.646707 | [
"geometry"
] |
46e447095f8cf5ee5d5c994776a30e5af182572e | 4,869 | hpp | C++ | hydra/vulkan/buffer.hpp | tim42/hydra | dfffd50a2863695742c0c6122a505824db8be7c3 | [
"MIT"
] | 2 | 2016-09-15T22:29:46.000Z | 2017-11-30T11:16:12.000Z | hydra/vulkan/buffer.hpp | tim42/hydra | dfffd50a2863695742c0c6122a505824db8be7c3 | [
"MIT"
] | null | null | null | hydra/vulkan/buffer.hpp | tim42/hydra | dfffd50a2863695742c0c6122a505824db8be7c3 | [
"MIT"
] | null | null | null | //
// file : buffer.hpp
// in : file:///home/tim/projects/hydra/hydra/vulkan/buffer.hpp
//
// created by : Timothée Feuillet
// date: Fri Aug 26 2016 23:02:00 GMT+0200 (CEST)
//
//
// Copyright (c) 2016 Timothée Feuillet
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this softw... | 36.886364 | 151 | 0.651263 | [
"object",
"vector"
] |
46e7a9d0a09b4da4a2b519918598bc890e350446 | 1,259 | cpp | C++ | aws-cpp-sdk-devicefarm/source/model/UpdateUploadRequest.cpp | Neusoft-Technology-Solutions/aws-sdk-cpp | 88c041828b0dbee18a297c3cfe98c5ecd0706d0b | [
"Apache-2.0"
] | 1 | 2022-02-10T08:06:54.000Z | 2022-02-10T08:06:54.000Z | aws-cpp-sdk-devicefarm/source/model/UpdateUploadRequest.cpp | Neusoft-Technology-Solutions/aws-sdk-cpp | 88c041828b0dbee18a297c3cfe98c5ecd0706d0b | [
"Apache-2.0"
] | 1 | 2021-10-14T16:57:00.000Z | 2021-10-18T10:47:24.000Z | aws-cpp-sdk-devicefarm/source/model/UpdateUploadRequest.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-11-09T11:58:03.000Z | 2021-11-09T11:58:03.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/devicefarm/model/UpdateUploadRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::DeviceFarm::Model;
using namespace Aws::Utils::Json;
usi... | 19.075758 | 97 | 0.73471 | [
"model"
] |
46f90a9181fc2764d71fdd48fb18edff96a146d7 | 4,345 | cpp | C++ | mainapp/Classes/Common/Controls/TraceField/Utils/TraceFieldDepot.cpp | JaagaLabs/GLEXP-Team-KitkitSchool | f94ea3e53bd05fdeb2a9edcc574bc054e575ecc0 | [
"Apache-2.0"
] | 45 | 2019-05-16T20:49:31.000Z | 2021-11-05T21:40:54.000Z | mainapp/Classes/Common/Controls/TraceField/Utils/TraceFieldDepot.cpp | rdsmarketing/GLEXP-Team-KitkitSchool | 6ed6b76d17fd7560abc35dcdf7cf4a44ce70745e | [
"Apache-2.0"
] | 123 | 2019-05-28T14:03:04.000Z | 2019-07-12T04:23:26.000Z | pehlaschool/Classes/Common/Controls/TraceField/Utils/TraceFieldDepot.cpp | maqsoftware/Pehla-School-Hindi | 61aeae0f1d91952b44eaeaff5d2f6ec1d5aa3c43 | [
"Apache-2.0"
] | 29 | 2019-05-16T17:49:26.000Z | 2021-12-30T16:36:24.000Z | //
// TraceFieldDepot.cpp on Jun 17, 2016
// TodoSchool
//
// Copyright (c) 2016 Enuma, Inc. All rights reserved.
// See LICENSE.md for more details.
//
#include "TraceFieldDepot.h"
#include "Utils/JsonUtils.h"
#include "Utils/StringUtils.h"
BEGIN_NS_TRACEFIELD
string TraceFieldDepot::assetPrefix() const {
... | 32.916667 | 172 | 0.618182 | [
"vector"
] |
46fed304ecba22efa61cb06b35790da8d55f0579 | 337 | cpp | C++ | contest/array.cpp | alchemz/hackerrank | 6f9b5a67c0d50e9c3b682ba234bea0d3d71b9f38 | [
"MIT"
] | 3 | 2016-03-15T20:42:38.000Z | 2017-01-30T07:27:33.000Z | contest/array.cpp | alchemz/hackerrank | 6f9b5a67c0d50e9c3b682ba234bea0d3d71b9f38 | [
"MIT"
] | null | null | null | contest/array.cpp | alchemz/hackerrank | 6f9b5a67c0d50e9c3b682ba234bea0d3d71b9f38 | [
"MIT"
] | null | null | null | #include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
using namespace std;
int main(){
int size;
int num;
cin>>size;
int arr[size];
for(int i=0; i<size; i++){
cin>>num;
arr[i]=num;
}
for(int j=size-1; j>=0; j--){
cout<<arr[j]<<" ";
}
... | 12.481481 | 31 | 0.534125 | [
"vector"
] |
20013c35604daa546837b0d2e60d54a213bf8df2 | 1,931 | cpp | C++ | aws-cpp-sdk-appstream/source/model/UpdateDirectoryConfigRequest.cpp | Neusoft-Technology-Solutions/aws-sdk-cpp | 88c041828b0dbee18a297c3cfe98c5ecd0706d0b | [
"Apache-2.0"
] | 1 | 2022-02-12T08:09:30.000Z | 2022-02-12T08:09:30.000Z | aws-cpp-sdk-appstream/source/model/UpdateDirectoryConfigRequest.cpp | Neusoft-Technology-Solutions/aws-sdk-cpp | 88c041828b0dbee18a297c3cfe98c5ecd0706d0b | [
"Apache-2.0"
] | 1 | 2022-01-03T23:59:37.000Z | 2022-01-03T23:59:37.000Z | aws-cpp-sdk-appstream/source/model/UpdateDirectoryConfigRequest.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-12-30T04:25:33.000Z | 2021-12-30T04:25:33.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/appstream/model/UpdateDirectoryConfigRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::AppStream::Model;
using namespace Aws::Utils::Js... | 30.650794 | 209 | 0.815122 | [
"model"
] |
200bdd0feb95e1ce395489cdea7226ddd56cb994 | 14,400 | cpp | C++ | test/crypto/testcrypto.cpp | resosafe/boxbackup | c56291558de634f3fe6675aeb381ba99f68b78cb | [
"BSD-3-Clause"
] | 133 | 2015-02-22T23:56:53.000Z | 2022-03-13T19:24:21.000Z | test/crypto/testcrypto.cpp | resosafe/boxbackup | c56291558de634f3fe6675aeb381ba99f68b78cb | [
"BSD-3-Clause"
] | 93 | 2015-08-31T15:35:07.000Z | 2021-04-27T21:41:13.000Z | test/crypto/testcrypto.cpp | resosafe/boxbackup | c56291558de634f3fe6675aeb381ba99f68b78cb | [
"BSD-3-Clause"
] | 19 | 2015-08-31T14:13:34.000Z | 2021-12-12T15:20:17.000Z | // --------------------------------------------------------------------------
//
// File
// Name: testcrypto.cpp
// Purpose: test lib/crypto
// Created: 1/12/03
//
// --------------------------------------------------------------------------
#include "Box.h"
#include <string.h>
#include <openssl/rand.h>
#inclu... | 37.305699 | 156 | 0.726042 | [
"transform"
] |
200d2aa3e9c6fea4725083c301f039ecc3d6a4e5 | 2,310 | cpp | C++ | BOJ_solve/8161.cpp | biyotte/Code_of_gunwookim | b8b679ea56b8684ec44a7911211edee1fb558a96 | [
"MIT"
] | 4 | 2021-01-27T11:51:30.000Z | 2021-01-30T17:02:55.000Z | BOJ_solve/8161.cpp | biyotte/Code_of_gunwookim | b8b679ea56b8684ec44a7911211edee1fb558a96 | [
"MIT"
] | null | null | null | BOJ_solve/8161.cpp | biyotte/Code_of_gunwookim | b8b679ea56b8684ec44a7911211edee1fb558a96 | [
"MIT"
] | 5 | 2021-01-27T11:46:12.000Z | 2021-05-06T05:37:47.000Z | #include <bits/stdc++.h>
#define x first
#define y second
#define pb push_back
#define all(v) v.begin(),v.end()
#pragma gcc optimize("O3")
#pragma gcc optimize("Ofast")
#pragma gcc optimize("unroll-loops")
using namespace std;
const int INF = 1e9;
const int TMX = 1 << 18;
const long long llINF = 3e18+10;
const long lo... | 24.574468 | 70 | 0.48658 | [
"vector"
] |
2017c7ce09be9069e7335e6ab2e22aad70b72958 | 14,992 | hpp | C++ | core/src/impl/Morpheus_MatrixMarket_Impl.hpp | morpheus-org/morpheus | 8f12b7b75fb7c7c02a4d5d41c64791bacc2f54c6 | [
"Apache-2.0"
] | 1 | 2021-12-18T01:18:49.000Z | 2021-12-18T01:18:49.000Z | core/src/impl/Morpheus_MatrixMarket_Impl.hpp | morpheus-org/morpheus | 8f12b7b75fb7c7c02a4d5d41c64791bacc2f54c6 | [
"Apache-2.0"
] | 5 | 2021-10-05T15:12:02.000Z | 2022-01-21T23:26:41.000Z | core/src/impl/Morpheus_MatrixMarket_Impl.hpp | morpheus-org/morpheus | 8f12b7b75fb7c7c02a4d5d41c64791bacc2f54c6 | [
"Apache-2.0"
] | null | null | null | /**
* Morpheus_MatrixMarket_Impl.hpp
*
* EPCC, The University of Edinburgh
*
* (c) 2021 - 2022 The University of Edinburgh
*
* Contributing Authors:
* Christodoulos Stylianou (c.stylianou@ed.ac.uk)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compl... | 33.765766 | 80 | 0.653282 | [
"vector"
] |
2022fdc04090da32c29225c92ab2ad7b0694e798 | 11,435 | cpp | C++ | vue/monde.cpp | mourad1081/LaRevancheDesIndustriels | e70e4fc961fe9bbc6035d71da996e85952b3edfe | [
"FTL"
] | null | null | null | vue/monde.cpp | mourad1081/LaRevancheDesIndustriels | e70e4fc961fe9bbc6035d71da996e85952b3edfe | [
"FTL"
] | null | null | null | vue/monde.cpp | mourad1081/LaRevancheDesIndustriels | e70e4fc961fe9bbc6035d71da996e85952b3edfe | [
"FTL"
] | null | null | null | #include "monde.h"
Monde::Monde(int largeurFenetre, int hauteurFenetre) throw(ExceptionGame)
: _niveauActuel(1)
{
_largeurFenetre = largeurFenetre;
_hauteurFenetre = hauteurFenetre;
_horiScroll = 0;
_vertiScroll = 0;
_niveau = new Niveau(_niveauActuel);
_nbrTuilesEnColonneMonde = _niveau->g... | 34.546828 | 105 | 0.561871 | [
"vector"
] |
202726cdd131b29ec4e6417d13671115fe9cfd7d | 1,898 | cpp | C++ | src/TimerThing.cpp | tetious/LarkyPrint | c3165778f244ddf1f58b0401c772ea2d3f8e4631 | [
"MIT"
] | null | null | null | src/TimerThing.cpp | tetious/LarkyPrint | c3165778f244ddf1f58b0401c772ea2d3f8e4631 | [
"MIT"
] | null | null | null | src/TimerThing.cpp | tetious/LarkyPrint | c3165778f244ddf1f58b0401c772ea2d3f8e4631 | [
"MIT"
] | null | null | null | #include <algorithm>
#include <functional>
#include <utility>
#include "Thing.h"
#include "TimerThing.h"
#include "Arduino.h"
using namespace std;
unsigned int TimerThing::setTimeout(const unsigned long _millis, function<void()> lambda) {
timeouts.push_back({_millis, move(lambda)});
return timeouts.size();
}
... | 26 | 91 | 0.60432 | [
"vector"
] |
202bbd645f7515677fda07f86192e13c90b060c1 | 16,075 | cpp | C++ | src/xrEngine/xr_efflensflare.cpp | clayne/xray-16 | 32ebf81a252c7179e2824b2874f911a91e822ad1 | [
"OML",
"Linux-OpenIB"
] | 2 | 2015-02-23T10:43:02.000Z | 2015-06-11T14:45:08.000Z | src/xrEngine/xr_efflensflare.cpp | clayne/xray-16 | 32ebf81a252c7179e2824b2874f911a91e822ad1 | [
"OML",
"Linux-OpenIB"
] | 17 | 2022-01-25T08:58:23.000Z | 2022-03-28T17:18:28.000Z | src/xrEngine/xr_efflensflare.cpp | clayne/xray-16 | 32ebf81a252c7179e2824b2874f911a91e822ad1 | [
"OML",
"Linux-OpenIB"
] | 1 | 2015-06-05T20:04:00.000Z | 2015-06-05T20:04:00.000Z | #include "stdafx.h"
#pragma hdrstop
#include "xr_efflensflare.h"
#include "IGame_Persistent.h"
#include "Environment.h"
// Instead of SkeletonCustom:
#include "xrCore/Animation/Bone.hpp"
#include "Include/xrRender/Kinematics.h"
#include "xrCDB/Intersect.hpp"
#include "Common/object_broker.h"
#ifdef _EDITOR
#include... | 28.35097 | 120 | 0.607527 | [
"render",
"transform"
] |
45ca2d1f635304a923b3a34becffdd7c1eef6e12 | 61,316 | cp | C++ | Text/Mod/Rulers.cp | romiras/Blackbox-fw-playground | 6de94dc65513e657a9b86c1772e2c07742b608a8 | [
"BSD-2-Clause"
] | 1 | 2018-03-15T00:25:25.000Z | 2018-03-15T00:25:25.000Z | Text/Mod/Rulers.cps | Spirit-of-Oberon/LightBox | 8a45ed11dcc02ae97e86f264dcee3e07c910ff9d | [
"BSD-2-Clause"
] | null | null | null | Text/Mod/Rulers.cps | Spirit-of-Oberon/LightBox | 8a45ed11dcc02ae97e86f264dcee3e07c910ff9d | [
"BSD-2-Clause"
] | 1 | 2018-03-14T17:53:27.000Z | 2018-03-14T17:53:27.000Z | MODULE TextRulers;
(**
project = "BlackBox"
organization = "www.oberon.ch"
contributors = "Oberon microsystems"
version = "System/Rsrc/About"
copyright = "System/Rsrc/About"
license = "Docu/BB-License"
changes = ""
issues = ""
**)
(* re-check alien attribut... | 36.650329 | 116 | 0.515265 | [
"model"
] |
45cf7ec3eb1c2bc605627639741ddf2ceb17a3df | 1,988 | cc | C++ | code/render/physics/havok/havokutil.cc | gscept/nebula-trifid | e7c0a0acb05eedad9ed37a72c1bdf2d658511b42 | [
"BSD-2-Clause"
] | 67 | 2015-03-30T19:56:16.000Z | 2022-03-11T13:52:17.000Z | code/render/physics/havok/havokutil.cc | gscept/nebula-trifid | e7c0a0acb05eedad9ed37a72c1bdf2d658511b42 | [
"BSD-2-Clause"
] | 5 | 2015-04-15T17:17:33.000Z | 2016-02-11T00:40:17.000Z | code/render/physics/havok/havokutil.cc | gscept/nebula-trifid | e7c0a0acb05eedad9ed37a72c1bdf2d658511b42 | [
"BSD-2-Clause"
] | 34 | 2015-03-30T15:08:00.000Z | 2021-09-23T05:55:10.000Z | //------------------------------------------------------------------------------
// havokutil.cc
// (C) 2013-2014 Individual contributors, see AUTHORS file
//------------------------------------------------------------------------------
#include "stdneb.h"
#include "havokutil.h"
#include "..\physicsobject.h"
#include... | 28.811594 | 152 | 0.574447 | [
"object"
] |
45d374d803ce6b98c64d2fcf4c81bf84f3527eb7 | 591 | cpp | C++ | tests/auto_reset_unittest.cpp | tongzhipeng/KBase | c6a4ce7592dfcf8e000045f3ef03a9badf023ccf | [
"MIT"
] | 20 | 2016-05-16T07:02:09.000Z | 2021-06-07T10:21:24.000Z | tests/auto_reset_unittest.cpp | tongzhipeng/KBase | c6a4ce7592dfcf8e000045f3ef03a9badf023ccf | [
"MIT"
] | 1 | 2020-07-09T02:00:36.000Z | 2020-07-11T03:46:52.000Z | tests/auto_reset_unittest.cpp | tongzhipeng/KBase | c6a4ce7592dfcf8e000045f3ef03a9badf023ccf | [
"MIT"
] | 13 | 2016-03-09T09:52:17.000Z | 2021-09-09T14:50:13.000Z | /*
@ 0xCCCCCCCC
*/
#include <vector>
#include "catch2/catch.hpp"
#include "kbase/auto_reset.h"
namespace kbase {
TEST_CASE("Restoring variable's original value", "[AutoReset]")
{
std::vector<std::string> value {"hello", "world", "kc"};
SECTION("reset to original value once going out of scope")
{
... | 17.909091 | 63 | 0.566836 | [
"vector"
] |
45d5436aeb632ad89e22531eaecda84031dc494c | 3,064 | hpp | C++ | include/private/coherence/native/windows/WindowsTime.hpp | chpatel3/coherence-cpp-extend-client | 4ea5267eae32064dff1e73339aa3fbc9347ef0f6 | [
"UPL-1.0",
"Apache-2.0"
] | 6 | 2020-07-01T21:38:30.000Z | 2021-11-03T01:35:11.000Z | include/private/coherence/native/windows/WindowsTime.hpp | chpatel3/coherence-cpp-extend-client | 4ea5267eae32064dff1e73339aa3fbc9347ef0f6 | [
"UPL-1.0",
"Apache-2.0"
] | 1 | 2020-07-24T17:29:22.000Z | 2020-07-24T18:29:04.000Z | include/private/coherence/native/windows/WindowsTime.hpp | chpatel3/coherence-cpp-extend-client | 4ea5267eae32064dff1e73339aa3fbc9347ef0f6 | [
"UPL-1.0",
"Apache-2.0"
] | 6 | 2020-07-10T18:40:58.000Z | 2022-02-18T01:23:40.000Z | /*
* Copyright (c) 2000, 2020, Oracle and/or its affiliates.
*
* Licensed under the Universal Permissive License v 1.0 as shown at
* http://oss.oracle.com/licenses/upl.
*/
#ifndef COH_WINDOWS_TIME_HPP
#define COH_WINDOWS_TIME_HPP
#include "coherence/lang/compatibility.hpp"
#include "private/coherence/native/Nati... | 25.747899 | 77 | 0.58094 | [
"object"
] |
45d801e2528b28d1b83942f46e9f0a217c1a718b | 12,922 | hpp | C++ | Common/Interpreter/String.hpp | tedi21/SisypheReview | f7c05bad1ccc036f45870535149d9685e1120c2c | [
"Unlicense"
] | null | null | null | Common/Interpreter/String.hpp | tedi21/SisypheReview | f7c05bad1ccc036f45870535149d9685e1120c2c | [
"Unlicense"
] | null | null | null | Common/Interpreter/String.hpp | tedi21/SisypheReview | f7c05bad1ccc036f45870535149d9685e1120c2c | [
"Unlicense"
] | null | null | null | #ifndef _STRING_HPP_
#define _STRING_HPP_
#include <boost/shared_ptr.hpp>
#include <boost/algorithm/string.hpp>
#include <functional>
#include <string>
#include "config.hpp"
#include "Macros.hpp"
#include "Base.hpp"
#include "Indexable.hpp"
using namespace boost;
using namespace log4cpp;
NAMESPACE_BEGIN(interp)
... | 59.004566 | 260 | 0.673735 | [
"vector"
] |
45d9a5b9f5fa845e4353fb983042ed5ba637e6b1 | 2,585 | hpp | C++ | Held-Karp-algorithm/Held-Karp-algorithm/TSP/Base/TSP.hpp | mikymaione/Held-Karp-algorithm | 1ae926dfa5aaee72652875d7bd5bc6fdce19f64b | [
"MIT"
] | 1 | 2020-03-20T09:49:33.000Z | 2020-03-20T09:49:33.000Z | Held-Karp-algorithm/Held-Karp-algorithm/TSP/Base/TSP.hpp | mikymaione/Held-Karp-algorithm | 1ae926dfa5aaee72652875d7bd5bc6fdce19f64b | [
"MIT"
] | null | null | null | Held-Karp-algorithm/Held-Karp-algorithm/TSP/Base/TSP.hpp | mikymaione/Held-Karp-algorithm | 1ae926dfa5aaee72652875d7bd5bc6fdce19f64b | [
"MIT"
] | null | null | null | /*
MIT License
Copyright (c) 2020: Michele Maione
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish,... | 40.390625 | 559 | 0.755126 | [
"vector"
] |
45dd781206837e119c11c709a00dd4dc19b8f017 | 3,268 | cpp | C++ | indel_analysis/indelmap/indelmap.cpp | kaskamal/SelfTarget | c0bff0f11f4e69bafd80a1fa4d36b0f9689b9af7 | [
"MIT"
] | 20 | 2018-08-27T01:27:02.000Z | 2022-03-07T07:12:56.000Z | indel_analysis/indelmap/indelmap.cpp | kaskamal/SelfTarget | c0bff0f11f4e69bafd80a1fa4d36b0f9689b9af7 | [
"MIT"
] | 6 | 2019-01-18T19:54:52.000Z | 2021-03-19T23:56:28.000Z | indel_analysis/indelmap/indelmap.cpp | kaskamal/SelfTarget | c0bff0f11f4e69bafd80a1fa4d36b0f9689b9af7 | [
"MIT"
] | 14 | 2018-10-12T21:31:31.000Z | 2021-11-08T08:32:40.000Z | /*#########################################################################
# Read Mapper for self-target maps
# - Bespoke aligner allowing for crispr edits but otherwise only small (1-2bp)
# insertions/deletions and mutations.
#########################################################################*/
int main(int... | 33.690722 | 187 | 0.632497 | [
"vector"
] |
45dfb85c7a910012828479a932952ff681c78479 | 20,074 | cpp | C++ | src/ukf.cpp | ikcGitHub/CarND-Term2-P2-Unscented-Kalman-Filter-Project | 0507132e7b56319fc5400e0659fae1244d087d9a | [
"MIT"
] | null | null | null | src/ukf.cpp | ikcGitHub/CarND-Term2-P2-Unscented-Kalman-Filter-Project | 0507132e7b56319fc5400e0659fae1244d087d9a | [
"MIT"
] | null | null | null | src/ukf.cpp | ikcGitHub/CarND-Term2-P2-Unscented-Kalman-Filter-Project | 0507132e7b56319fc5400e0659fae1244d087d9a | [
"MIT"
] | 1 | 2020-03-31T15:22:51.000Z | 2020-03-31T15:22:51.000Z | #include "ukf.h"
#include "Eigen/Dense"
#include <iostream>
using namespace std;
using Eigen::MatrixXd;
using Eigen::VectorXd;
using std::vector;
/**
* Initializes Unscented Kalman filter
* This is scaffolding, do not modify
*/
UKF::UKF() {
//cout << "UKF() started." << endl;
// if this is false, laser measur... | 28.233474 | 95 | 0.561921 | [
"object",
"vector",
"model",
"transform"
] |
45eb318704cb389276449f108f23ac0c519817db | 10,841 | cpp | C++ | src/devices/cpu/mb86235/mb86235.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | 26 | 2015-03-31T06:25:51.000Z | 2021-12-14T09:29:04.000Z | src/devices/cpu/mb86235/mb86235.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | null | null | null | src/devices/cpu/mb86235/mb86235.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | 10 | 2015-03-27T05:45:51.000Z | 2022-02-04T06:57:36.000Z | // license:BSD-3-Clause
// copyright-holders:Angelo Salese, ElSemi, Ville Linde
/********************************************************************************
*
* MB86235 "TGPx4" (c) Fujitsu
*
* Written by Angelo Salese & ElSemi
*
* TODO:
* - rewrite ALU integer/floating point functions, use templates etc;
*... | 35.661184 | 126 | 0.687206 | [
"model"
] |
340201ed96bac05b719557ffacc1a5bdc3c7c6b1 | 2,181 | cpp | C++ | Vector01.cpp | wedusk101/CPP | 0221e272b7d71569967c685e3f99bbeb7930f823 | [
"MIT"
] | 1 | 2020-07-20T04:35:41.000Z | 2020-07-20T04:35:41.000Z | Vector01.cpp | wedusk101/CPP | 0221e272b7d71569967c685e3f99bbeb7930f823 | [
"MIT"
] | null | null | null | Vector01.cpp | wedusk101/CPP | 0221e272b7d71569967c685e3f99bbeb7930f823 | [
"MIT"
] | 2 | 2017-05-22T00:13:03.000Z | 2020-07-20T04:34:50.000Z | //Vector01.cpp
#include <iostream>
#include "Vector.h"
using namespace std;
int main()
{
double x = 0.0, y = 0.0, z = 0.0;
int choice = 0, flag = 0;
Vector v1, v2;
cout<<"This program implements a class Vector with the following basic operations."<<endl;
do
{
cout<<"1. Create a vector."<<endl;
cout<... | 26.597561 | 92 | 0.528198 | [
"vector"
] |
3408f3d87c64825a5722dad9f028df87aea0ac1a | 3,776 | cpp | C++ | src/rendering/projector.cpp | brspnnggrt/engine | 2fa2a10bca5245c248642c9d43c50756d24b7f38 | [
"MIT"
] | null | null | null | src/rendering/projector.cpp | brspnnggrt/engine | 2fa2a10bca5245c248642c9d43c50756d24b7f38 | [
"MIT"
] | null | null | null | src/rendering/projector.cpp | brspnnggrt/engine | 2fa2a10bca5245c248642c9d43c50756d24b7f38 | [
"MIT"
] | 1 | 2021-07-29T03:07:35.000Z | 2021-07-29T03:07:35.000Z | #include "projector.h"
#include <math.h>
namespace Engene
{
namespace Rendering
{
Projector::Projector(float scaling, Math::Vec3 translation, Math::Vec3 viewUpVector) : scaling(scaling), translation(translation), viewUpVector(viewUpVector)
{
}
Math::Mat4 Projector::CreateTranslationMatrix(float x, float y, float z)... | 30.208 | 170 | 0.521186 | [
"object",
"vector",
"3d"
] |
3423f8cc21c70a8bb8e8a1342f304e042e14ecaf | 1,037 | cpp | C++ | acwing/1501.cpp | zyzisyz/OJ | 55221a55515231182b6bd133edbdb55501a565fc | [
"Apache-2.0"
] | null | null | null | acwing/1501.cpp | zyzisyz/OJ | 55221a55515231182b6bd133edbdb55501a565fc | [
"Apache-2.0"
] | null | null | null | acwing/1501.cpp | zyzisyz/OJ | 55221a55515231182b6bd133edbdb55501a565fc | [
"Apache-2.0"
] | 2 | 2020-01-01T13:49:08.000Z | 2021-03-06T06:54:26.000Z | #include<iostream>
#include<string>
#include<algorithm>
#include<vector>
using namespace std;
long n, k;
vector<int> add(vector<int> num){
int n = num.size();
vector<int> re = num;
vector<int> res;
reverse(re.begin(), re.end());
int carry = 0;
for(int i=0; i<n; i++){
int tmp = carry+num[i]+re[i];
carry =... | 14.205479 | 33 | 0.580521 | [
"vector"
] |
342997ec6ccb26ba95138384b6e36f1ddabad68b | 4,934 | hpp | C++ | include/codegen/include/UnityEngine/ProBuilder/MeshOperations/MeshValidation_--c.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 1 | 2021-11-12T09:29:31.000Z | 2021-11-12T09:29:31.000Z | include/codegen/include/UnityEngine/ProBuilder/MeshOperations/MeshValidation_--c.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | null | null | null | include/codegen/include/UnityEngine/ProBuilder/MeshOperations/MeshValidation_--c.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 2 | 2021-10-03T02:14:20.000Z | 2021-11-12T09:29:36.000Z | // Autogenerated from CppHeaderCreator on 7/27/2020 3:10:22 PM
// Created by Sc2ad
// =========================================================================
#pragma once
#pragma pack(push, 8)
// Begin includes
#include "utils/typedefs.h"
// Including type: System.Object
#include "System/Object.hpp"
// Including type... | 63.25641 | 149 | 0.758816 | [
"object"
] |
3433975ba4af81c7b3ffe3a02de4da9e2a5daca0 | 5,114 | hpp | C++ | include/elemental/blas-like/level3/TwoSidedTrmm.hpp | ahmadia/Elemental-1 | f9a82c76a06728e9e04a4316e41803efbadb5a19 | [
"BSD-3-Clause"
] | null | null | null | include/elemental/blas-like/level3/TwoSidedTrmm.hpp | ahmadia/Elemental-1 | f9a82c76a06728e9e04a4316e41803efbadb5a19 | [
"BSD-3-Clause"
] | null | null | null | include/elemental/blas-like/level3/TwoSidedTrmm.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 BLAS_TWOSIDEDTRMM_HPP
#define BLAS... | 27.643243 | 77 | 0.559445 | [
"vector"
] |
343923f5dcfe2bea5acec15b7c69c164ac64a7c2 | 4,181 | hpp | C++ | segmatch/include/segmatch/segmenters/smoothness_constraints_segmenter.hpp | Oofs/segmap | 98f1fddc15b863c781b78f59c65487be5e0dc497 | [
"BSD-3-Clause"
] | 771 | 2018-04-21T06:47:18.000Z | 2022-03-30T11:49:32.000Z | segmatch/include/segmatch/segmenters/smoothness_constraints_segmenter.hpp | Oofs/segmap | 98f1fddc15b863c781b78f59c65487be5e0dc497 | [
"BSD-3-Clause"
] | 111 | 2018-04-22T10:11:50.000Z | 2022-03-21T02:16:12.000Z | segmatch/include/segmatch/segmenters/smoothness_constraints_segmenter.hpp | Oofs/segmap | 98f1fddc15b863c781b78f59c65487be5e0dc497 | [
"BSD-3-Clause"
] | 287 | 2018-04-21T06:43:23.000Z | 2022-03-24T17:45:05.000Z | #ifndef SEGMATCH_SMOOTHNESS_CONSTRAINTS_SEGMENTER_HPP_
#define SEGMATCH_SMOOTHNESS_CONSTRAINTS_SEGMENTER_HPP_
#include <string>
#include "segmatch/parameters.hpp"
#include "segmatch/common.hpp"
#include "segmatch/segmented_cloud.hpp"
#include "segmatch/segmenters/segmenter.hpp"
namespace segmatch {
// Forward decla... | 48.616279 | 99 | 0.758192 | [
"object",
"vector"
] |
34392d1f81248dcf6029ba61334f6b9a5bc75bf3 | 1,139 | cpp | C++ | hackerrank/practice/data_structures/advanced/cube_summation__isp_tree.cpp | Loks-/competitions | 3bb231ba9dd62447048832f45b09141454a51926 | [
"MIT"
] | 4 | 2018-06-05T14:15:52.000Z | 2022-02-08T05:14:23.000Z | hackerrank/practice/data_structures/advanced/cube_summation__isp_tree.cpp | Loks-/competitions | 3bb231ba9dd62447048832f45b09141454a51926 | [
"MIT"
] | null | null | null | hackerrank/practice/data_structures/advanced/cube_summation__isp_tree.cpp | Loks-/competitions | 3bb231ba9dd62447048832f45b09141454a51926 | [
"MIT"
] | 1 | 2018-10-21T11:01:35.000Z | 2018-10-21T11:01:35.000Z | // https://www.hackerrank.com/challenges/cube-summation
#include "common/geometry/d3/base.h"
#include "common/geometry/d3/point_io.h"
#include "common/geometry/d3/vector.h"
#include "common/geometry/kdtree/d3/isp_tree.h"
#include "common/geometry/kdtree/info/sum.h"
#include "common/stl/base.h"
#include <string>
usin... | 27.119048 | 72 | 0.597015 | [
"geometry",
"vector"
] |
3443d4f34af328b60c484997f16bf3060f4cd20c | 7,136 | cpp | C++ | IHMCPerception/third-party/kindr/test/rotations/eigen/LocalAngularVelocityTest.cpp | wxmerkt/ihmc-open-robotics-software | 2c47c9a9bd999e7811038e99c3888683f9973a2a | [
"Apache-2.0"
] | 170 | 2016-02-01T18:58:50.000Z | 2022-03-17T05:28:01.000Z | IHMCPerception/third-party/kindr/test/rotations/eigen/LocalAngularVelocityTest.cpp | wxmerkt/ihmc-open-robotics-software | 2c47c9a9bd999e7811038e99c3888683f9973a2a | [
"Apache-2.0"
] | 162 | 2016-01-29T17:04:29.000Z | 2022-02-10T16:25:37.000Z | IHMCPerception/third-party/kindr/test/rotations/eigen/LocalAngularVelocityTest.cpp | wxmerkt/ihmc-open-robotics-software | 2c47c9a9bd999e7811038e99c3888683f9973a2a | [
"Apache-2.0"
] | 83 | 2016-01-28T22:49:01.000Z | 2022-03-28T03:11:24.000Z | /* Copyright (c) 2013, Christian Gehring, Hannes Sommer, Paul Furgale, Remo Diethelm
* 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 abo... | 37.957447 | 104 | 0.759249 | [
"vector"
] |
34447efc7e455929ff01a39517f4a19d1ce93fde | 17,386 | cpp | C++ | frameworks-ext/base/core/jni/android_bluetooth_HeadsetBase.cpp | touxiong88/92_mediatek | 5e96a7bb778fd9d9b335825584664e0c8b5ff2c7 | [
"Apache-2.0"
] | 1 | 2022-01-07T01:53:19.000Z | 2022-01-07T01:53:19.000Z | frameworks-ext/base/core/jni/android_bluetooth_HeadsetBase.cpp | touxiong88/92_mediatek | 5e96a7bb778fd9d9b335825584664e0c8b5ff2c7 | [
"Apache-2.0"
] | null | null | null | frameworks-ext/base/core/jni/android_bluetooth_HeadsetBase.cpp | touxiong88/92_mediatek | 5e96a7bb778fd9d9b335825584664e0c8b5ff2c7 | [
"Apache-2.0"
] | 1 | 2020-02-28T02:48:42.000Z | 2020-02-28T02:48:42.000Z | /*
** Copyright 2006, The Android Open Source Project
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
** http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applica... | 30.609155 | 86 | 0.561199 | [
"object"
] |
451764003bf270991eaf7919b571e3d405437384 | 2,397 | cpp | C++ | src/TrainTractionCalculation.cpp | Yaohui1996/Yaohui-Master-Thesis | e76f92990c2ce641f3394e7dad789543421878bd | [
"MIT"
] | null | null | null | src/TrainTractionCalculation.cpp | Yaohui1996/Yaohui-Master-Thesis | e76f92990c2ce641f3394e7dad789543421878bd | [
"MIT"
] | null | null | null | src/TrainTractionCalculation.cpp | Yaohui1996/Yaohui-Master-Thesis | e76f92990c2ce641f3394e7dad789543421878bd | [
"MIT"
] | null | null | null | #include <algorithm>
#include <cmath>
#include <fstream>
#include <iostream>
#include <limits>
#include <string>
#include <vector>
#include "TractionCalculator.hpp"
using namespace std;
using namespace yaohui;
int main() {
TractionCalculator traction_calculator;
// traction_calculator.calculate_power_time_data_... | 26.054348 | 74 | 0.610763 | [
"vector"
] |
4518b28713c9d3b933bcbe44a43728e054cc492a | 23,927 | cpp | C++ | external/openglcts/modules/glesext/texture_cube_map_array/esextcTextureCubeMapArraySubImage3D.cpp | iabernikhin/VK-GL-CTS | a3338eb2ded98b5befda64f9325db0d219095a00 | [
"Apache-2.0"
] | 354 | 2017-01-24T17:12:38.000Z | 2022-03-30T07:40:19.000Z | external/openglcts/modules/glesext/texture_cube_map_array/esextcTextureCubeMapArraySubImage3D.cpp | iabernikhin/VK-GL-CTS | a3338eb2ded98b5befda64f9325db0d219095a00 | [
"Apache-2.0"
] | 275 | 2017-01-24T20:10:36.000Z | 2022-03-24T16:24:50.000Z | external/openglcts/modules/glesext/texture_cube_map_array/esextcTextureCubeMapArraySubImage3D.cpp | iabernikhin/VK-GL-CTS | a3338eb2ded98b5befda64f9325db0d219095a00 | [
"Apache-2.0"
] | 190 | 2017-01-24T18:02:04.000Z | 2022-03-27T13:11:23.000Z | /*-------------------------------------------------------------------------
* OpenGL Conformance Test Suite
* -----------------------------
*
* Copyright (c) 2014-2016 The Khronos Group Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with ... | 39.54876 | 129 | 0.71413 | [
"object"
] |
452183244844cc3042fcbca30137cd68d37b9995 | 16,677 | cpp | C++ | utils/threads/thread_pool.cpp | ppearson/ImaginePartial | 9871b052f2edeb023e2845578ad69c25c5baf7d2 | [
"Apache-2.0"
] | 1 | 2018-07-10T13:36:38.000Z | 2018-07-10T13:36:38.000Z | utils/threads/thread_pool.cpp | ppearson/ImaginePartial | 9871b052f2edeb023e2845578ad69c25c5baf7d2 | [
"Apache-2.0"
] | null | null | null | utils/threads/thread_pool.cpp | ppearson/ImaginePartial | 9871b052f2edeb023e2845578ad69c25c5baf7d2 | [
"Apache-2.0"
] | null | null | null | /*
Imagine
Copyright 2011-2012 Peter Pearson.
Licensed under the Apache License, Version 2.0 (the "License");
You may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in wr... | 20.288321 | 150 | 0.697308 | [
"vector"
] |
4527123f70457d95b41e13a497b4b9af0da2344d | 3,393 | cpp | C++ | ruby/audio/oss.cpp | mp-lee/higan | c38a771f2272c3ee10fcb99f031e982989c08c60 | [
"Intel",
"ISC"
] | 38 | 2018-04-05T05:00:05.000Z | 2022-02-06T00:02:02.000Z | ruby/audio/oss.cpp | mp-lee/higan | c38a771f2272c3ee10fcb99f031e982989c08c60 | [
"Intel",
"ISC"
] | 1 | 2018-04-29T19:45:14.000Z | 2018-04-29T19:45:14.000Z | ruby/audio/oss.cpp | libretro-mirrors/higan | 8617711ea2c201a33442266945dc7ed186e9d695 | [
"Intel",
"ISC"
] | 8 | 2018-04-16T22:37:46.000Z | 2021-02-10T07:37:03.000Z | #include <unistd.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <sys/soundcard.h>
//OSSv4 features: define fallbacks for OSSv3 (where these ioctls are ignored)
#ifndef SNDCTL_DSP_COOKEDMODE
#define SNDCTL_DSP_COOKEDMODE _IOW('P', 30, int)
#endif
#ifndef SNDCTL_DSP_POLICY
#define SNDCTL_DSP_POLICY _IOW('P'... | 24.948529 | 99 | 0.636899 | [
"vector"
] |
4527dc438f0c3ce79fe2bb3871303aa8024f57e5 | 14,380 | cpp | C++ | OrbitGl/ThreadTrack.cpp | MagicPoncho/orbit | c92d2f64ad3caeef0e41ee04719d84217820b9f8 | [
"BSD-2-Clause"
] | null | null | null | OrbitGl/ThreadTrack.cpp | MagicPoncho/orbit | c92d2f64ad3caeef0e41ee04719d84217820b9f8 | [
"BSD-2-Clause"
] | null | null | null | OrbitGl/ThreadTrack.cpp | MagicPoncho/orbit | c92d2f64ad3caeef0e41ee04719d84217820b9f8 | [
"BSD-2-Clause"
] | null | null | null | #include "ThreadTrack.h"
#include <limits>
#include "Capture.h"
#include "EventTrack.h"
#include "GlCanvas.h"
#include "OrbitUnreal.h"
#include "Systrace.h"
#include "TimeGraph.h"
#include "absl/flags/flag.h"
#include "absl/strings/str_format.h"
// TODO: Remove this flag once we have a way to toggle the display retu... | 37.842105 | 80 | 0.554868 | [
"vector"
] |
453a4ab86d96165d1df660b5370067aea7dbe103 | 590 | cpp | C++ | diff/multi_array.cpp | IgorHersht/proxygen_ih | 616a8eb899196d2a130e14c0fabcae1944e34b7d | [
"MIT"
] | 7 | 2017-11-10T05:18:30.000Z | 2021-04-29T15:38:25.000Z | diff/multi_array.cpp | IgorHersht/proxygen_ih | 616a8eb899196d2a130e14c0fabcae1944e34b7d | [
"MIT"
] | null | null | null | diff/multi_array.cpp | IgorHersht/proxygen_ih | 616a8eb899196d2a130e14c0fabcae1944e34b7d | [
"MIT"
] | null | null | null |
#include <future>
#include <thread>
#include <mutex>
#include <condition_variable>
#include <chrono>
#include <random>
#include <iostream>
#include <exception>
#include<iostream>
#include<vector>
#include<map>
#include<set>
#include<list>
#include<vector>
#include<queue>
#include<algorithm>
#include "... | 18.4375 | 51 | 0.649153 | [
"vector"
] |
453ec6379a578b504d428a2bbcb28f348dbac050 | 6,784 | cpp | C++ | src/tools/SxRhoRep.cpp | ashtonmv/sphinx_vdw | 5896fee0d92c06e883b72725cb859d732b8b801f | [
"Apache-2.0"
] | 1 | 2020-02-29T03:26:32.000Z | 2020-02-29T03:26:32.000Z | src/tools/SxRhoRep.cpp | ashtonmv/sphinx_vdw | 5896fee0d92c06e883b72725cb859d732b8b801f | [
"Apache-2.0"
] | null | null | null | src/tools/SxRhoRep.cpp | ashtonmv/sphinx_vdw | 5896fee0d92c06e883b72725cb859d732b8b801f | [
"Apache-2.0"
] | null | null | null | // ---------------------------------------------------------------------------
//
// The ab-initio based multiscale library
//
// S / P H I / n X
//
// Copyright: Max-Planck-Institute for Iron Research
// 40237 Duesseldorf, Germany
//
// Contact: https://sxlib.mpie.d... | 33.092683 | 85 | 0.497642 | [
"mesh",
"vector"
] |
454069d4ba562dac65f1d9fde242bac0bf96ecce | 8,752 | cpp | C++ | Engine/Systems/FileSystem.cpp | GCourtney27/Retina-Engine | 5358b9c499f4163a209024dc303c3efe6c520c01 | [
"MIT"
] | null | null | null | Engine/Systems/FileSystem.cpp | GCourtney27/Retina-Engine | 5358b9c499f4163a209024dc303c3efe6c520c01 | [
"MIT"
] | null | null | null | Engine/Systems/FileSystem.cpp | GCourtney27/Retina-Engine | 5358b9c499f4163a209024dc303c3efe6c520c01 | [
"MIT"
] | null | null | null | #include "FileSystem.h"
#include "..\\Graphics\\AdapterReader.h"
#include "..\\Graphics\Shaders.h"
#include "..\Editor\Editor.h"
#include "..\Graphics\Graphics.h"
#include "..\\Components\MeshRenderComponent.h"
#include "..\\Components\\EditorSelectionComponent.h"
#include "..\Components\LuaScriptComponent.h"
#include... | 30.708772 | 166 | 0.675503 | [
"mesh",
"render",
"object",
"model",
"transform"
] |
4543a528b5555d518e07d60bba2bc4a416b5edab | 1,901 | cc | C++ | src/object/primitive/sphere.cc | QRWells/Cherry | 4f771dd12297810ee44f165e7c397b97f71f4519 | [
"MIT"
] | null | null | null | src/object/primitive/sphere.cc | QRWells/Cherry | 4f771dd12297810ee44f165e7c397b97f71f4519 | [
"MIT"
] | null | null | null | src/object/primitive/sphere.cc | QRWells/Cherry | 4f771dd12297810ee44f165e7c397b97f71f4519 | [
"MIT"
] | null | null | null | // Copyright (c) 2021 QRWells. All rights reserved.
// Licensed under the MIT license.
// See LICENSE file in the project root for full license information.
//
// This file is part of Project Cherry.
// File Name : sphere.cpp
// Author : QRWells
// Created at : 2021/08/26 18:46
// Description :
#include "objec... | 32.775862 | 79 | 0.676486 | [
"object"
] |
45465207d235563b13d35d112872f96303d77198 | 1,547 | cpp | C++ | src/shell/token_count.cpp | stanford-cs242/lean | 7bd861261f4a37326dcf8d7a17f1f1f330e4548c | [
"Apache-2.0"
] | null | null | null | src/shell/token_count.cpp | stanford-cs242/lean | 7bd861261f4a37326dcf8d7a17f1f1f330e4548c | [
"Apache-2.0"
] | null | null | null | src/shell/token_count.cpp | stanford-cs242/lean | 7bd861261f4a37326dcf8d7a17f1f1f330e4548c | [
"Apache-2.0"
] | 3 | 2021-11-22T12:13:18.000Z | 2022-02-21T06:26:40.000Z | #include <fstream>
#include <iostream>
#include "frontends/lean/scanner.h"
#include "kernel/environment.h"
#include "library/io_state.h"
#include "init/init.h"
#include "kernel/standard_kernel.h"
#include "frontends/lean/token_table.h"
#include "frontends/lean/parser_config.h"
int main(int argc, char** argv) {
if (a... | 28.127273 | 88 | 0.525533 | [
"vector"
] |
4546e2e5fecc17321e8126485022b4ac30876747 | 3,177 | cc | C++ | lite/demo/cxx/train_demo/cplus_train/data_reader.cc | wanglei91/Paddle-Lite | 8b2479f4cdd6970be507203d791bede5a453c09d | [
"Apache-2.0"
] | 1,799 | 2019-08-19T03:29:38.000Z | 2022-03-31T14:30:50.000Z | lite/demo/cxx/train_demo/cplus_train/data_reader.cc | wanglei91/Paddle-Lite | 8b2479f4cdd6970be507203d791bede5a453c09d | [
"Apache-2.0"
] | 3,767 | 2019-08-19T03:36:04.000Z | 2022-03-31T14:37:26.000Z | lite/demo/cxx/train_demo/cplus_train/data_reader.cc | wanglei91/Paddle-Lite | 8b2479f4cdd6970be507203d791bede5a453c09d | [
"Apache-2.0"
] | 798 | 2019-08-19T02:28:23.000Z | 2022-03-31T08:31:54.000Z | // Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required... | 28.881818 | 75 | 0.62921 | [
"vector"
] |
45490464296ca08d8bc7847b265b9ca6ffb62618 | 2,390 | cpp | C++ | base/Image.cpp | rsburke4/Raymarcher | ae9edd033122d2e0c28946ee6bfb165d18ad67ef | [
"MIT"
] | null | null | null | base/Image.cpp | rsburke4/Raymarcher | ae9edd033122d2e0c28946ee6bfb165d18ad67ef | [
"MIT"
] | null | null | null | base/Image.cpp | rsburke4/Raymarcher | ae9edd033122d2e0c28946ee6bfb165d18ad67ef | [
"MIT"
] | null | null | null | #include "Image.h"
#include <iostream>
using namespace std;
using namespace lux;
const float Image::interpolatedValue( float x, float y, int c ) const
{
int ix, iy, iix, iiy;
float wx, wy, wwx, wwy;
interpolationCoefficients( x, y, wx, wwx, wy, wwy, ix, iix, iy, iiy );
float v = value( ix, iy, c ) * wx ... | 23.203883 | 113 | 0.488285 | [
"vector"
] |
454b1ddc37dc85369215401941e5f63c4fd6ae2d | 570 | hpp | C++ | Framework/Geometries/Polyhedron.hpp | kiorisyshen/newbieGameEngine | d1e68fbd75884fdf0f171212396d8bc5fec8ad9e | [
"MIT"
] | 3 | 2019-06-07T15:29:45.000Z | 2019-11-11T01:26:12.000Z | Framework/Geometries/Polyhedron.hpp | kiorisyshen/newbieGameEngine | d1e68fbd75884fdf0f171212396d8bc5fec8ad9e | [
"MIT"
] | null | null | null | Framework/Geometries/Polyhedron.hpp | kiorisyshen/newbieGameEngine | d1e68fbd75884fdf0f171212396d8bc5fec8ad9e | [
"MIT"
] | null | null | null | #pragma once
#include "Geometry.hpp"
namespace newbieGE {
struct Polyhedron : public Geometry {
FaceSet Faces;
Polyhedron()
: Geometry(GeometryType::kPolyhydron) {
}
// GetAabb returns the axis aligned bounding box in the coordinate frame of the given transform trans.
void GetAabb(const M... | 27.142857 | 106 | 0.685965 | [
"geometry",
"transform"
] |
454c39a787ea0fb8919524c5155eb83fb67754f8 | 8,121 | cpp | C++ | 03_Tutorial/T02_XMCocos2D/Source/Test/TestNetwork.cpp | mcodegeeks/OpenKODE-Framework | d4382d781da7f488a0e7667362a89e8e389468dd | [
"MIT"
] | 2 | 2017-08-03T07:15:00.000Z | 2018-06-18T10:32:53.000Z | 03_Tutorial/T02_XMCocos2D/Source/Test/TestNetwork.cpp | mcodegeeks/OpenKODE-Framework | d4382d781da7f488a0e7667362a89e8e389468dd | [
"MIT"
] | null | null | null | 03_Tutorial/T02_XMCocos2D/Source/Test/TestNetwork.cpp | mcodegeeks/OpenKODE-Framework | d4382d781da7f488a0e7667362a89e8e389468dd | [
"MIT"
] | 2 | 2019-03-04T22:57:42.000Z | 2020-03-06T01:32:26.000Z | /* --------------------------------------------------------------------------
*
* File TestNetwork.cpp
* Author Young-Hwan Mun
*
* --------------------------------------------------------------------------
*
* Copyright (c) 2010-2013 cocos2d-x.org
*
* http://www.c... | 35.77533 | 127 | 0.62677 | [
"vector"
] |
4566e84e78be32e51abbb2f8f9296f0ad23b0b67 | 7,047 | cpp | C++ | src/PredFinder/db/PlayerDB.cpp | BBN-E/serif | 1e2662d82fb1c377ec3c79355a5a9b0644606cb4 | [
"Apache-2.0"
] | 1 | 2022-03-24T19:57:00.000Z | 2022-03-24T19:57:00.000Z | src/PredFinder/db/PlayerDB.cpp | BBN-E/serif | 1e2662d82fb1c377ec3c79355a5a9b0644606cb4 | [
"Apache-2.0"
] | null | null | null | src/PredFinder/db/PlayerDB.cpp | BBN-E/serif | 1e2662d82fb1c377ec3c79355a5a9b0644606cb4 | [
"Apache-2.0"
] | null | null | null | /**
* Functionality for reading NFL world knowledge.
*
* @file PlayerDB.cpp
* @author nward@bbn.com
* @date 2010.08.17
**/
#include "Generic/common/leak_detection.h"
#include "Generic/common/SessionLogger.h"
#include "Generic/sqlite/SqliteDB.h"
#include "PlayerDB.h"
#include "boost/foreach.hpp"
#inclu... | 40.268571 | 188 | 0.702143 | [
"vector"
] |
456c3033f2b6eba0f4f02905ef9bf1aa915736f9 | 17,519 | cpp | C++ | gdal/gcore/gdalrasterblock.cpp | flippmoke/gdal | 5b74f8a539c66b841e80a339854507ebe7cc1b8c | [
"MIT"
] | 2 | 2015-07-24T16:16:34.000Z | 2015-07-24T16:16:37.000Z | gdal/gcore/gdalrasterblock.cpp | flippmoke/gdal | 5b74f8a539c66b841e80a339854507ebe7cc1b8c | [
"MIT"
] | null | null | null | gdal/gcore/gdalrasterblock.cpp | flippmoke/gdal | 5b74f8a539c66b841e80a339854507ebe7cc1b8c | [
"MIT"
] | null | null | null | /******************************************************************************
* $Id$
*
* Project: GDAL Core
* Purpose: Implementation of GDALRasterBlock class and related global
* raster block cache management.
* Author: Frank Warmerdam, warmerdam@pobox.com
*
***********************************... | 30.362218 | 86 | 0.503853 | [
"object"
] |
456cdb91748da7b24fe782da508cf26a2a85c20e | 8,109 | inl | C++ | source/gts/include/gts/containers/VectorImpl_STL.inl | jeffhammond/GTS-GamesTaskScheduler | 70a3031268968c4bdec3189cfdd3795b22cadf4e | [
"MIT"
] | 1 | 2020-11-11T13:10:08.000Z | 2020-11-11T13:10:08.000Z | source/gts/include/gts/containers/VectorImpl_STL.inl | JulianoCristian/GTS-GamesTaskScheduler | 269aaced42b111c32b1c15bd748ae2058a3dc10a | [
"MIT"
] | null | null | null | source/gts/include/gts/containers/VectorImpl_STL.inl | JulianoCristian/GTS-GamesTaskScheduler | 269aaced42b111c32b1c15bd748ae2058a3dc10a | [
"MIT"
] | null | null | null | /*******************************************************************************
* Copyright 2019 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 restrict... | 32.963415 | 86 | 0.45357 | [
"vector"
] |
4574c3d58a3a29950303d438c1e6d2c8e03c5359 | 28,216 | cpp | C++ | examples/basic/skeletalanimation.cpp | ChristophLGDV/Vulkan | 390023982000b0d58031383779faf83d94be13dd | [
"MIT"
] | 1 | 2017-08-17T15:28:24.000Z | 2017-08-17T15:28:24.000Z | examples/basic/skeletalanimation.cpp | ChristophLGDV/Vulkan | 390023982000b0d58031383779faf83d94be13dd | [
"MIT"
] | null | null | null | examples/basic/skeletalanimation.cpp | ChristophLGDV/Vulkan | 390023982000b0d58031383779faf83d94be13dd | [
"MIT"
] | null | null | null | /*
* Vulkan Example - Skeletal animation
*
* Copyright (C) 2016 by Sascha Willems - www.saschawillems.de
*
* This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT)
*/
#include "vulkanExampleBase.h"
#include <glm/gtc/type_ptr.hpp>
// Vertex layout used in this example
struct Vertex {
... | 39.352859 | 159 | 0.649702 | [
"mesh",
"render",
"vector",
"model",
"transform"
] |
4574f59636ae6441f83bb1ed23fe566c6ee3101b | 1,498 | cpp | C++ | libcore/luni/src/main/native/java_lang_invoke_MethodHandle.cpp | lulululbj/android_9.0.0_r45 | 64cc84d6683a4eb373c22ac50aaad0d349d45fcd | [
"Apache-2.0"
] | 41 | 2019-09-06T01:37:29.000Z | 2022-02-21T01:03:03.000Z | libcore/luni/src/main/native/java_lang_invoke_MethodHandle.cpp | lulululbj/android_9.0.0_r45 | 64cc84d6683a4eb373c22ac50aaad0d349d45fcd | [
"Apache-2.0"
] | null | null | null | libcore/luni/src/main/native/java_lang_invoke_MethodHandle.cpp | lulululbj/android_9.0.0_r45 | 64cc84d6683a4eb373c22ac50aaad0d349d45fcd | [
"Apache-2.0"
] | 15 | 2019-09-06T09:36:41.000Z | 2022-03-08T06:47:21.000Z | /*
* Copyright (C) 2016 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 39.421053 | 94 | 0.751001 | [
"object"
] |
457905af260d8b5ae433730ee736d46176d369ba | 1,200 | cpp | C++ | maximun_unsorted_sorted.cpp | the-artemis/ads | 2f93616e52f113befceaed29d8ad9892d44ce290 | [
"MIT"
] | null | null | null | maximun_unsorted_sorted.cpp | the-artemis/ads | 2f93616e52f113befceaed29d8ad9892d44ce290 | [
"MIT"
] | null | null | null | maximun_unsorted_sorted.cpp | the-artemis/ads | 2f93616e52f113befceaed29d8ad9892d44ce290 | [
"MIT"
] | 2 | 2021-10-06T13:34:01.000Z | 2021-10-06T13:45:40.000Z | #include<iostream>
#include <bits/stdc++.h>
#include<math.h>
using namespace std;
// Question 581 LeetCode
vector<int> solve(vector<int> &arr)
{
int l = arr.size();
int i=0;
int j =l-1;
int min_ = INT32_MAX;
int max_ = INT32_MIN;
for(;i<l-1;++i)
{
if(arr[i]>arr... | 15.584416 | 37 | 0.345 | [
"vector"
] |
457c86370c2ca5eebb08681c8990b32487bc8868 | 5,517 | hpp | C++ | Crisp/ShadingLanguage/Expressions.hpp | FallenShard/Crisp | d4cf22c0f9af73a6c4ba2b7d67696f1a188fd423 | [
"MIT"
] | 6 | 2017-09-14T03:26:49.000Z | 2021-09-18T05:40:59.000Z | Crisp/ShadingLanguage/Expressions.hpp | FallenShard/Crisp | d4cf22c0f9af73a6c4ba2b7d67696f1a188fd423 | [
"MIT"
] | null | null | null | Crisp/ShadingLanguage/Expressions.hpp | FallenShard/Crisp | d4cf22c0f9af73a6c4ba2b7d67696f1a188fd423 | [
"MIT"
] | null | null | null | #pragma once
#include "Visitor.hpp"
#include "Token.hpp"
#include <memory>
#include <vector>
namespace crisp::sl
{
struct Expression
{
virtual ~Expression() {}
template <typename T>
inline T* as()
{
return static_cast<T*>(this);
}
virtual void acc... | 24.303965 | 125 | 0.578938 | [
"vector"
] |
458bec407bb5e326fbe4711710e80fe7a5fe0231 | 1,066 | cpp | C++ | backup/2/interviewbit/c++/sorted-array-to-balanced-bst.cpp | yangyanzhan/code-camp | 4272564e916fc230a4a488f92ae32c07d355dee0 | [
"Apache-2.0"
] | 21 | 2019-11-16T19:08:35.000Z | 2021-11-12T12:26:01.000Z | backup/2/interviewbit/c++/sorted-array-to-balanced-bst.cpp | yangyanzhan/code-camp | 4272564e916fc230a4a488f92ae32c07d355dee0 | [
"Apache-2.0"
] | 1 | 2022-02-04T16:02:53.000Z | 2022-02-04T16:02:53.000Z | backup/2/interviewbit/c++/sorted-array-to-balanced-bst.cpp | yangyanzhan/code-camp | 4272564e916fc230a4a488f92ae32c07d355dee0 | [
"Apache-2.0"
] | 4 | 2020-05-15T19:39:41.000Z | 2021-10-30T06:40:31.000Z | // Hi, I'm Yanzhan. For more algothmic problems, visit my Youtube Channel (Yanzhan Yang's Youtube Channel) : https://www.youtube.com/channel/UCDkz-__gl3frqLexukpG0DA?view_as=subscriber or my Twitter Account (Yanzhan Yang's Twitter) : https://twitter.com/YangYanzhan or my GitHub HomePage (Yanzhan Yang's GitHub HomePage)... | 48.454545 | 345 | 0.69606 | [
"vector"
] |
458fa59757d419df86a1f0190676892c504b5e27 | 1,057 | hpp | C++ | Shared/Database/OpenTransactions.hpp | perandersson/everstore-server | 6d5372a4bb9fa20f39870f7aa3875f6228cb3fd8 | [
"Apache-2.0"
] | 2 | 2016-10-31T03:28:48.000Z | 2016-11-10T09:22:14.000Z | Shared/Database/OpenTransactions.hpp | perandersson/everstore-server | 6d5372a4bb9fa20f39870f7aa3875f6228cb3fd8 | [
"Apache-2.0"
] | 8 | 2015-11-07T15:10:59.000Z | 2019-04-07T09:16:05.000Z | Shared/Database/OpenTransactions.hpp | perandersson/everstore-server | 6d5372a4bb9fa20f39870f7aa3875f6228cb3fd8 | [
"Apache-2.0"
] | null | null | null | //
// Copyright (c) 2019 West Coast Code AB. All rights reserved.
//
#ifndef EVERSTORE_OPENTRANSACTIONS_HPP
#define EVERSTORE_OPENTRANSACTIONS_HPP
#include "Transaction.h"
/**
* Type that helps us keeping track of all opened transactions
*/
class OpenTransactions
{
public:
OpenTransactions() = default;
~OpenTra... | 19.574074 | 72 | 0.723746 | [
"vector"
] |
4595dea4ed06923584df15f27c34fa08611651a5 | 3,879 | cc | C++ | mojo/public/cpp/bindings/tests/test_helpers_unittest.cc | zipated/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | mojo/public/cpp/bindings/tests/test_helpers_unittest.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | mojo/public/cpp/bindings/tests/test_helpers_unittest.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/macros.h"
#include "base/test/scoped_task_environment.h"
#include "mojo/public/cpp/bindings/binding.h"
#include "mojo/public/cpp/system/mes... | 30.069767 | 80 | 0.731374 | [
"vector"
] |
4599f78d1b558184d649f74e510f6563a90c11c4 | 3,008 | cxx | C++ | src/TreeTools/Printer.cxx | JeneLitsch/GameDataNotation | c20ffdb633d90c5760bb96334a8a06cd3d665552 | [
"MIT"
] | null | null | null | src/TreeTools/Printer.cxx | JeneLitsch/GameDataNotation | c20ffdb633d90c5760bb96334a8a06cd3d665552 | [
"MIT"
] | null | null | null | src/TreeTools/Printer.cxx | JeneLitsch/GameDataNotation | c20ffdb633d90c5760bb96334a8a06cd3d665552 | [
"MIT"
] | null | null | null | #include "Printer.hxx"
#include <iostream>
#include "Object.hxx"
#include "Array.hxx"
#include "StringTools.hxx"
namespace GDN {
Printer::Printer(bool pretty){
this->pretty = pretty;
}
void Printer::visitValue(Value & val){
//add int to str
if(auto content = val.getInt()){
if(content->format == Valu... | 17.904762 | 83 | 0.601064 | [
"object"
] |
45a148bc80ef630eb948f32144a8e5d947947f13 | 2,619 | cpp | C++ | plugins/community/repos/TheXOR/src/mplex.cpp | guillaume-plantevin/VeeSeeVSTRack | 76fafc8e721613669d6f5ae82a0f58ce923a91e1 | [
"Zlib",
"BSD-3-Clause"
] | 233 | 2018-07-02T16:49:36.000Z | 2022-02-27T21:45:39.000Z | plugins/community/repos/TheXOR/src/mplex.cpp | guillaume-plantevin/VeeSeeVSTRack | 76fafc8e721613669d6f5ae82a0f58ce923a91e1 | [
"Zlib",
"BSD-3-Clause"
] | 24 | 2018-07-09T11:32:15.000Z | 2022-01-07T01:45:43.000Z | plugins/community/repos/TheXOR/src/mplex.cpp | guillaume-plantevin/VeeSeeVSTRack | 76fafc8e721613669d6f5ae82a0f58ce923a91e1 | [
"Zlib",
"BSD-3-Clause"
] | 24 | 2018-07-14T21:55:30.000Z | 2021-05-04T04:20:34.000Z | #include "common.hpp"
#include "mplex.hpp"
namespace rack_plugin_TheXOR {
void Mplex::on_loaded()
{
load();
}
void Mplex::load()
{
set_output(0);
}
void Mplex::set_output(int n)
{
cur_sel = n;
for(int k = 0; k < NUM_MPLEX_INPUTS; k++)
{
lights[LED_1 + k].value = k == cur_sel ? LVL_ON : LVL_OFF;
}
}
void Mp... | 30.811765 | 132 | 0.693394 | [
"model"
] |
45aaa23ec93734de59848f316f4432316fa4b9cf | 11,822 | cpp | C++ | src/afk/Afk.cpp | christocs/ICT397 | 5ff6e4ed8757effad19b88fdb91f36504208f942 | [
"ISC"
] | null | null | null | src/afk/Afk.cpp | christocs/ICT397 | 5ff6e4ed8757effad19b88fdb91f36504208f942 | [
"ISC"
] | null | null | null | src/afk/Afk.cpp | christocs/ICT397 | 5ff6e4ed8757effad19b88fdb91f36504208f942 | [
"ISC"
] | null | null | null | #include "afk/Afk.hpp"
#include <memory>
#include <string>
#include <utility>
#include <GLFW/glfw3.h>
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtx/string_cast.hpp>
#include "afk/asset/AssetFactory.hpp"
#include "afk/component/AgentComponent.hpp"
#include "afk/component/AnimCompone... | 44.611321 | 140 | 0.64879 | [
"mesh",
"render",
"object",
"shape",
"vector",
"model",
"transform"
] |
45b3f02bc6f0e626a4ad62c238f42a7b219d0462 | 3,445 | hpp | C++ | include/dish2/services/CollectiveHarvestingService.hpp | mmore500/dishtiny | 9fcb52c4e56c74a4e17f7d577143ed40c158c92e | [
"MIT"
] | 29 | 2019-02-04T02:39:52.000Z | 2022-01-28T10:06:26.000Z | include/dish2/services/CollectiveHarvestingService.hpp | mmore500/dishtiny | 9fcb52c4e56c74a4e17f7d577143ed40c158c92e | [
"MIT"
] | 95 | 2020-02-22T19:48:14.000Z | 2021-09-14T19:17:53.000Z | include/dish2/services/CollectiveHarvestingService.hpp | mmore500/dishtiny | 9fcb52c4e56c74a4e17f7d577143ed40c158c92e | [
"MIT"
] | 6 | 2019-11-19T10:13:09.000Z | 2021-03-25T17:35:32.000Z | #pragma once
#ifndef DISH2_SERVICES_COLLECTIVEHARVESTINGSERVICE_HPP_INCLUDE
#define DISH2_SERVICES_COLLECTIVEHARVESTINGSERVICE_HPP_INCLUDE
#include <algorithm>
#include <cmath>
#include <set>
#include <utility>
#include "../../../third-party/conduit/include/uitsl/math/shift_mod.hpp"
#include "../cell/cardinal_iterat... | 31.036036 | 79 | 0.701887 | [
"transform"
] |
45be52e2fa2fd0111edc5758fed8e01ce8d601ee | 6,974 | cpp | C++ | src/geode/mesh/core/surface_edges.cpp | Geode-solutions/OpenGeode | e47621989e6fc152f529d4e1e7e3b9ef9e7d6ccc | [
"MIT"
] | 64 | 2019-08-02T14:31:01.000Z | 2022-03-30T07:46:50.000Z | src/geode/mesh/core/surface_edges.cpp | Geode-solutions/OpenGeode | e47621989e6fc152f529d4e1e7e3b9ef9e7d6ccc | [
"MIT"
] | 395 | 2019-08-02T17:15:10.000Z | 2022-03-31T15:10:27.000Z | src/geode/mesh/core/surface_edges.cpp | Geode-solutions/OpenGeode | e47621989e6fc152f529d4e1e7e3b9ef9e7d6ccc | [
"MIT"
] | 8 | 2019-08-19T21:32:15.000Z | 2022-03-06T18:41:10.000Z | /*
* Copyright (c) 2019 - 2021 Geode-solutions
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modif... | 33.052133 | 81 | 0.627473 | [
"mesh",
"geometry",
"object",
"vector"
] |
45c467d9bd358917711511a74ea57e9950132ec6 | 5,252 | cpp | C++ | Il2Native.Logic/NativeImplementations/System.Private.CoreLib/System/Array.cpp | Vinay1705/cs2cpp | d07d3206fb57edb959df8536562909a4d516e359 | [
"MIT"
] | 192 | 2016-03-23T04:33:24.000Z | 2022-03-28T14:41:06.000Z | Il2Native.Logic/NativeImplementations/System.Private.CoreLib/System/Array.cpp | Vinay1705/cs2cpp | d07d3206fb57edb959df8536562909a4d516e359 | [
"MIT"
] | 9 | 2017-03-08T14:45:16.000Z | 2021-09-06T09:28:47.000Z | Il2Native.Logic/NativeImplementations/System.Private.CoreLib/System/Array.cpp | Vinay1705/cs2cpp | d07d3206fb57edb959df8536562909a4d516e359 | [
"MIT"
] | 56 | 2016-03-22T20:37:08.000Z | 2022-03-28T12:20:47.000Z | #include "System.Private.CoreLib.h"
namespace CoreLib { namespace System {
namespace _ = ::CoreLib::System;
// Method : System.Array.InternalCreate(void*, int, int*, int*)
_::Array* Array::InternalCreate(void* elementType, int32_t rank, int32_t* pLengths, int32_t* pLowerBounds)
{
throw 3221274... | 26.39196 | 149 | 0.651371 | [
"object"
] |
68fc556bfc05b70d5a1e7c9b19408b55a509948a | 4,623 | cpp | C++ | fdf-cpp/Photos/All/PhotosInfoAlgorithm.cpp | valgarn/fraud-detection-framework | 52ce63a41af42de541354f32a3fb4bae773f2f86 | [
"Apache-2.0"
] | null | null | null | fdf-cpp/Photos/All/PhotosInfoAlgorithm.cpp | valgarn/fraud-detection-framework | 52ce63a41af42de541354f32a3fb4bae773f2f86 | [
"Apache-2.0"
] | null | null | null | fdf-cpp/Photos/All/PhotosInfoAlgorithm.cpp | valgarn/fraud-detection-framework | 52ce63a41af42de541354f32a3fb4bae773f2f86 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2021 The Fraud Detection Framework Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*... | 34.759398 | 143 | 0.619079 | [
"vector"
] |
68fcb26dc7a8eec7e6b5e41509170bb3b9d7f5ea | 322 | hpp | C++ | include/NasNas/core/graphics/Renderable.hpp | Madour/NasNas | c6072d3d34116eca4ebff41899e14141d3009c03 | [
"Zlib"
] | 148 | 2020-04-08T13:45:34.000Z | 2022-01-29T13:52:10.000Z | include/NasNas/core/graphics/Renderable.hpp | Madour/NasNas | c6072d3d34116eca4ebff41899e14141d3009c03 | [
"Zlib"
] | 5 | 2020-09-15T12:34:31.000Z | 2022-02-14T20:59:12.000Z | include/NasNas/core/graphics/Renderable.hpp | Madour/NasNas | c6072d3d34116eca4ebff41899e14141d3009c03 | [
"Zlib"
] | 3 | 2020-10-03T22:35:20.000Z | 2020-10-05T04:55:45.000Z | // Created by Modar Nasser on 21/04/2021.
#pragma once
#include <vector>
namespace ns {
class App;
class Renderable {
friend App;
protected:
Renderable();
virtual ~Renderable();
virtual void render() = 0;
private:
static std::vector<Renderable*> list;
};
}... | 15.333333 | 45 | 0.57764 | [
"render",
"vector"
] |
68ff2c1dc1ad0861862397eee3dd581471735754 | 5,782 | cpp | C++ | Cube/cube_source/src/clientextras.cpp | joseppi/Wwise | 2da5fb892e3f8bf7b836f05e27118186f39d79de | [
"MIT"
] | null | null | null | Cube/cube_source/src/clientextras.cpp | joseppi/Wwise | 2da5fb892e3f8bf7b836f05e27118186f39d79de | [
"MIT"
] | null | null | null | Cube/cube_source/src/clientextras.cpp | joseppi/Wwise | 2da5fb892e3f8bf7b836f05e27118186f39d79de | [
"MIT"
] | null | null | null | // clientextras.cpp: stuff that didn't fit in client.cpp or clientgame.cpp :)
#include "cube.h"
// render players & monsters
// very messy ad-hoc handling of animation frames, should be made more configurable
// D D D D' D D D D' A A' P P' I I' R, R' E L J J'
int ... | 29.804124 | 155 | 0.598236 | [
"render",
"vector",
"model"
] |
68ffe90aa40241bb292df3a8a003a289e671a316 | 1,878 | cpp | C++ | Chapter_3_Problem_Solving_Paradigms/Dynamic_Programming/kattis_watersheds.cpp | BrandonTang89/CP4_Code | 5114471f439978dd11f6f2cbf6af20ca654593da | [
"MIT"
] | 2 | 2021-12-29T04:12:59.000Z | 2022-03-30T09:32:19.000Z | Chapter_3_Problem_Solving_Paradigms/Dynamic_Programming/kattis_watersheds.cpp | BrandonTang89/CP4_Code | 5114471f439978dd11f6f2cbf6af20ca654593da | [
"MIT"
] | null | null | null | Chapter_3_Problem_Solving_Paradigms/Dynamic_Programming/kattis_watersheds.cpp | BrandonTang89/CP4_Code | 5114471f439978dd11f6f2cbf6af20ca654593da | [
"MIT"
] | 1 | 2022-03-01T06:12:46.000Z | 2022-03-01T06:12:46.000Z | /**Kattis - watersheds
* Relatively easy dp, the state is the position and the transition is to set the value of the pos to
* the value of the pos where the water flows to if the pos is not a sink or to the next value if the pos
* is a sink.
*
* Time: O(hw), Space: O(hw)
*/
#pragma GCC optimize("Ofast")
#pragma ... | 28.454545 | 105 | 0.503195 | [
"vector"
] |
ec0163206c5f5a0558f512d06bd472339ea86935 | 1,587 | cpp | C++ | Libraries/YukariProcessing/TaskAppendTransformedClouds.cpp | DanNixon/Yukari | da3e599477302c241b438ca44d6711fdd68b6ef8 | [
"MIT"
] | null | null | null | Libraries/YukariProcessing/TaskAppendTransformedClouds.cpp | DanNixon/Yukari | da3e599477302c241b438ca44d6711fdd68b6ef8 | [
"MIT"
] | null | null | null | Libraries/YukariProcessing/TaskAppendTransformedClouds.cpp | DanNixon/Yukari | da3e599477302c241b438ca44d6711fdd68b6ef8 | [
"MIT"
] | 3 | 2020-04-04T12:58:43.000Z | 2020-06-01T21:47:22.000Z | /** @file */
#include "TaskAppendTransformedClouds.h"
#include <pcl/common/transforms.h>
#include <pcl/io/pcd_io.h>
using namespace Yukari::Common;
namespace Yukari
{
namespace Processing
{
TaskAppendTransformedClouds::TaskAppendTransformedClouds(const boost::filesystem::path &path)
: IFrameProcessingTask(p... | 23.686567 | 95 | 0.659735 | [
"transform"
] |
ec0b731c84a6dccce9d5d3d71db95c5392621cbd | 3,227 | hpp | C++ | src/core/platform.hpp | RonRahaman/nekRS | ffc02bca33ece6ba3330c4ee24565b1c6b5f7242 | [
"BSD-3-Clause"
] | 1 | 2022-03-02T17:58:31.000Z | 2022-03-02T17:58:31.000Z | src/core/platform.hpp | neams-th-coe/nekRS | 5d2c8ab3d14b3fb16db35682336a1f96000698bb | [
"BSD-3-Clause"
] | null | null | null | src/core/platform.hpp | neams-th-coe/nekRS | 5d2c8ab3d14b3fb16db35682336a1f96000698bb | [
"BSD-3-Clause"
] | 1 | 2019-09-10T20:12:48.000Z | 2019-09-10T20:12:48.000Z | #ifndef platform_hpp_
#define platform_hpp_
#include <occa.hpp>
#include <vector>
#include <mpi.h>
#include "nrssys.hpp"
#include "timer.hpp"
class setupAide;
class linAlg_t;
class deviceVector_t{
public:
// allow implicit conversion between this and the underlying occa::memory object
operator occa::memory&(){ retur... | 33.614583 | 128 | 0.690425 | [
"object",
"vector"
] |
ec0dff2bde8d116e711042b106689f4fc6ecdb25 | 797 | cpp | C++ | 0680-Split String/0680-Split String.cpp | nmdis1999/LintCode-1 | 316fa395c9a6de9bfac1d9c9cf58acb5ffb384a6 | [
"MIT"
] | 77 | 2017-12-30T13:33:37.000Z | 2022-01-16T23:47:08.000Z | 0601-0700/0680-Split String/0680-Split String.cpp | jxhangithub/LintCode-1 | a8aecc65c47a944e9debad1971a7bc6b8776e48b | [
"MIT"
] | 1 | 2018-05-14T14:15:40.000Z | 2018-05-14T14:15:40.000Z | 0601-0700/0680-Split String/0680-Split String.cpp | jxhangithub/LintCode-1 | a8aecc65c47a944e9debad1971a7bc6b8776e48b | [
"MIT"
] | 39 | 2017-12-07T14:36:25.000Z | 2022-03-10T23:05:37.000Z | class Solution {
public:
/*
* @param : a string to be split
* @return: all possible split string array
*/
vector<vector<string>> splitString(string& s) {
// write your code here
vector<vector<string>> result;
vector<string> path;
dfs(s, 0, path, result);
re... | 26.566667 | 90 | 0.498118 | [
"vector"
] |
ec2950e05f41f805348cfa69d6bbfcffb41e6110 | 799 | cpp | C++ | src/hdlAst/hdlStmIf.cpp | the-moog/hdlConvertor | 5c8f5c6bf2bdceddf0c8cf6b5213d1b56b358f00 | [
"MIT"
] | 184 | 2016-08-12T14:26:52.000Z | 2022-03-24T21:42:17.000Z | src/hdlAst/hdlStmIf.cpp | hdl4fpga/hdlConvertor | 291991042135bf688ee2864cf7fb37d8e8a057db | [
"MIT"
] | 142 | 2016-08-10T03:12:03.000Z | 2022-03-30T17:35:06.000Z | src/hdlAst/hdlStmIf.cpp | hdl4fpga/hdlConvertor | 291991042135bf688ee2864cf7fb37d8e8a057db | [
"MIT"
] | 50 | 2016-08-06T10:38:29.000Z | 2022-03-30T11:03:42.000Z | #include <hdlConvertor/hdlAst/hdlStmIf.h>
namespace hdlConvertor {
namespace hdlAst {
HdlStmIf::HdlStmIf(std::unique_ptr<iHdlExprItem> _cond,
std::unique_ptr<iHdlObj> _ifTrue) :
iHdlStatement(), cond(move(_cond)), ifTrue(move(_ifTrue)) {
}
HdlStmIf::HdlStmIf(std::unique_ptr<iHdlExprItem> _cond,
std::unique_ptr... | 25.774194 | 69 | 0.727159 | [
"vector"
] |
ec2c97d6cb3fe0b27a3f0dd4ff87710d059ae097 | 2,940 | hxx | C++ | include/sk/config/detail/propagate.hxx | sikol/sk-config | ada0c72ac5703763b1f1d9aadc2cc3850bf11acc | [
"BSL-1.0"
] | null | null | null | include/sk/config/detail/propagate.hxx | sikol/sk-config | ada0c72ac5703763b1f1d9aadc2cc3850bf11acc | [
"BSL-1.0"
] | null | null | null | include/sk/config/detail/propagate.hxx | sikol/sk-config | ada0c72ac5703763b1f1d9aadc2cc3850bf11acc | [
"BSL-1.0"
] | null | null | null | /*
* Copyright (c) 2019, 2020, 2021 SiKol Ltd.
*
* Boost Software License - Version 1.0 - August 17th, 2003
*
* Permission is hereby granted, free of charge, to any person or organization
* obtaining a copy of the software and accompanying documentation covered by
* this license (the "Software") to use, reproduc... | 37.692308 | 78 | 0.685374 | [
"object"
] |
ec2d41bfbabecb7166af479d2132a6f4d75cc424 | 15,115 | cpp | C++ | lib/Parser.cpp | tetsuo-cpp/descartes | 0bec7a0e3075fc5d2e1190938b289e306555d7da | [
"MIT"
] | 2 | 2021-03-07T15:09:20.000Z | 2021-03-17T08:16:17.000Z | lib/Parser.cpp | tetsuo-cpp/descartes | 0bec7a0e3075fc5d2e1190938b289e306555d7da | [
"MIT"
] | 51 | 2021-03-17T08:01:14.000Z | 2021-08-07T22:51:58.000Z | lib/Parser.cpp | tetsuo-cpp/descartes | 0bec7a0e3075fc5d2e1190938b289e306555d7da | [
"MIT"
] | null | null | null | #include "Parser.h"
#include <Ast.h>
#include <cassert>
namespace descartes {
Parser::Parser(ILexer &lexer) : lexer(lexer), currentToken(TokenKind::Eof) {
readToken();
}
Block Parser::parse() {
Block programBlock = parseBlock();
expectToken(TokenKind::Period);
return programBlock;
}
SymbolTable &Parser::g... | 32.366167 | 80 | 0.678928 | [
"vector"
] |
ec2d8888a7f546347814ed2212277eb5d29c2acb | 7,867 | cpp | C++ | third_party/WebKit/Source/core/svg/SVGImageElement.cpp | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | third_party/WebKit/Source/core/svg/SVGImageElement.cpp | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | third_party/WebKit/Source/core/svg/SVGImageElement.cpp | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (C) 2004, 2005, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org>
* Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Rob Buis <buis@kde.org>
* Copyright (C) 2006 Alexander Kellett <lypanov@kde.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the... | 38.753695 | 80 | 0.684886 | [
"object"
] |
ec2e86eea27b67fc11369fb0c4132d7a3331f333 | 520 | cpp | C++ | C++/horses.cpp | saurabhcommand/Hello-world | 647bad9da901a52d455f05ecc37c6823c22dc77e | [
"MIT"
] | 1,428 | 2018-10-03T15:15:17.000Z | 2019-03-31T18:38:36.000Z | C++/horses.cpp | saurabhcommand/Hello-world | 647bad9da901a52d455f05ecc37c6823c22dc77e | [
"MIT"
] | 1,162 | 2018-10-03T15:05:49.000Z | 2018-10-18T14:17:52.000Z | C++/horses.cpp | saurabhcommand/Hello-world | 647bad9da901a52d455f05ecc37c6823c22dc77e | [
"MIT"
] | 3,909 | 2018-10-03T15:07:19.000Z | 2019-03-31T18:39:08.000Z | // Problem https://www.codechef.com/problems/HORSES
#include <bits/stdc++.h>
using namespace std;
int main(){
int t;
cin >> t;
while(t--){
int n;
cin >> n;
vector<int>v;
for(int i=0;i<n;i++){
int x;cin >> x;
v.push_back(x);
}
... | 16.25 | 51 | 0.407692 | [
"vector"
] |
ec3497ca4db0b305a251518df06eb0ce8a7600cb | 1,868 | cpp | C++ | typical90/069-ColorfulBlocks2/colorful-block2.cpp | keitaronaruse/AtCoderTraining | 9fb8f0d492be678a788080c96b06c33992cb6db2 | [
"MIT"
] | null | null | null | typical90/069-ColorfulBlocks2/colorful-block2.cpp | keitaronaruse/AtCoderTraining | 9fb8f0d492be678a788080c96b06c33992cb6db2 | [
"MIT"
] | null | null | null | typical90/069-ColorfulBlocks2/colorful-block2.cpp | keitaronaruse/AtCoderTraining | 9fb8f0d492be678a788080c96b06c33992cb6db2 | [
"MIT"
] | null | null | null | /*
069 - Colorful Blocks 2(★3)
https://atcoder.jp/contests/typical90/tasks/typical90_bq
Author: Keitaro Naruse
Date: 2021-12-21, 2022-01-02
MIT License
*/
// # Solution
// - Answer = K * (K-1) * (K-2)^{N-2}
// - (K-2)^n, represent n as bit and make a table
#include <iostream>
#i... | 23.64557 | 75 | 0.455032 | [
"vector"
] |
ec349a74d2bbe606a5205946cd6d44fd348e1a56 | 2,666 | hpp | C++ | lib/prometheus/BasicPrometheusCounter.hpp | carnegie-technologies/pravala-toolkit | 77dac4a910dc0692b7515a8e3b77d34eb2888256 | [
"Apache-2.0"
] | null | null | null | lib/prometheus/BasicPrometheusCounter.hpp | carnegie-technologies/pravala-toolkit | 77dac4a910dc0692b7515a8e3b77d34eb2888256 | [
"Apache-2.0"
] | null | null | null | lib/prometheus/BasicPrometheusCounter.hpp | carnegie-technologies/pravala-toolkit | 77dac4a910dc0692b7515a8e3b77d34eb2888256 | [
"Apache-2.0"
] | 2 | 2020-02-07T00:16:51.000Z | 2020-02-11T15:10:45.000Z | /*
* Copyright 2019 Carnegie Technologies
*
* 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 l... | 37.027778 | 119 | 0.668042 | [
"object"
] |
ec399f1f74bb79d2664d79a5e7dabfe5d2c1a168 | 1,130 | cpp | C++ | 472. Concatenated Words/solution.cpp | zlsun/leetcode | 438d0020a701d7aa6a82eee0e46e5b11305abfda | [
"MIT"
] | null | null | null | 472. Concatenated Words/solution.cpp | zlsun/leetcode | 438d0020a701d7aa6a82eee0e46e5b11305abfda | [
"MIT"
] | null | null | null | 472. Concatenated Words/solution.cpp | zlsun/leetcode | 438d0020a701d7aa6a82eee0e46e5b11305abfda | [
"MIT"
] | null | null | null | /** 472. Concatenated Words
Given a list of words (without duplicates), please write a program that returns all concatenated words in the given list of words.
A concatenated word is defined as a string that is comprised entirely of at least two shorter words in the given array.
Example:
Input: ["cat","cats","catsdogc... | 30.540541 | 206 | 0.725664 | [
"vector"
] |
ec41769074d7bc4cef73c21daa10fb56b301a50f | 4,360 | cpp | C++ | app/components/backend/gl/factories/ProgramObjectFactory.cpp | filipwasil/rearwing-glviewer | 3d0289398367b6dc330eae18042497b8da2e77da | [
"MIT"
] | null | null | null | app/components/backend/gl/factories/ProgramObjectFactory.cpp | filipwasil/rearwing-glviewer | 3d0289398367b6dc330eae18042497b8da2e77da | [
"MIT"
] | null | null | null | app/components/backend/gl/factories/ProgramObjectFactory.cpp | filipwasil/rearwing-glviewer | 3d0289398367b6dc330eae18042497b8da2e77da | [
"MIT"
] | null | null | null | #include "ProgramObjectFactory.hpp"
#include <Config.hpp>
#include <Exception.hpp>
#include <glad/glad.h>
#include <array>
#include <fstream>
#include <iostream>
#include <string>
#include <vector>
namespace
{
static constexpr int VALID_NUMBER_OF_SUPPORTED_BINARY_FORMATS {1};
}
namespace rwc {
void ProgramObje... | 32.058824 | 141 | 0.696789 | [
"vector"
] |
ec4d131337d3d9aa1a13277b9946016e18a0bc00 | 2,342 | cpp | C++ | src/old_src/NBD.cpp | doliinychenko/iSS | 9391b8830e385c0f5f1600a1cfd1ad355ea582c5 | [
"MIT"
] | 4 | 2018-11-29T14:34:55.000Z | 2020-11-25T14:44:32.000Z | src/old_src/NBD.cpp | doliinychenko/iSS | 9391b8830e385c0f5f1600a1cfd1ad355ea582c5 | [
"MIT"
] | 1 | 2020-04-05T01:17:31.000Z | 2020-04-05T01:17:31.000Z | src/old_src/NBD.cpp | doliinychenko/iSS | 9391b8830e385c0f5f1600a1cfd1ad355ea582c5 | [
"MIT"
] | 6 | 2018-04-06T17:08:35.000Z | 2020-10-19T19:10:38.000Z | // Ver. 1.4.3
// Use rand(p,r) to sample.
// Can use rand() if p and r are the same as last one (~4 times faster).
// p: success probability; r: number of failure
#include <stdlib.h>
#include <iostream>
#include <vector>
#include <cmath>
#include "arsenal.h"
#include "NBD.h"
#define ZERO 1e-15
using namespace std;
... | 26.314607 | 79 | 0.520922 | [
"vector"
] |
ec4f5d7b6ed999c9c526ff719e22e6eaaf2ebe8c | 18,984 | cxx | C++ | main/desktop/source/app/dispatchwatcher.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 679 | 2015-01-06T06:34:58.000Z | 2022-03-30T01:06:03.000Z | main/desktop/source/app/dispatchwatcher.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 102 | 2017-11-07T08:51:31.000Z | 2022-03-17T12:13:49.000Z | main/desktop/source/app/dispatchwatcher.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 331 | 2015-01-06T11:40:55.000Z | 2022-03-14T04:07:51.000Z | /**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to y... | 37.150685 | 228 | 0.642962 | [
"vector"
] |
ec50c07d4fa2ec544ff891eadc0ca855c0a5ef47 | 3,026 | cpp | C++ | common/code/Reordering/Reorder.cpp | SoundMetrics/aris-integration-sdk | ccde2130f4067ea0e38db2e286962d9f7bfcc573 | [
"MIT"
] | 6 | 2017-11-29T20:49:21.000Z | 2021-11-03T01:38:52.000Z | common/code/Reordering/Reorder.cpp | SoundMetrics/aris-integration-sdk | ccde2130f4067ea0e38db2e286962d9f7bfcc573 | [
"MIT"
] | 69 | 2017-04-10T23:48:00.000Z | 2020-08-12T12:53:26.000Z | common/code/Reordering/Reorder.cpp | SoundMetrics/aris-integration-sdk | ccde2130f4067ea0e38db2e286962d9f7bfcc573 | [
"MIT"
] | 2 | 2019-05-01T16:45:39.000Z | 2020-10-08T12:56:27.000Z | // Copyright (c) 2010-2017 Sound Metrics Corp. All rights reserverd.
//
//
#include "Reorder.h"
#include <assert.h>
#include <cstdint>
#include <cstring>
#include <vector>
namespace Aris {
uint32_t PingModeToPingsPerFrame(uint32_t pingMode) {
if (pingMode == 1) {
return 3;
} else if (pingMode == 3) ... | 31.852632 | 97 | 0.61302 | [
"vector"
] |
ec678faedc674c1a3fd7fe9b926ef6ffa25e7bb0 | 896 | cpp | C++ | BinarySearch.cpp | DPS0340/CPP_DataStructure_Algorithm | eb72f92b0087d0ef73465e18590673069624dd39 | [
"MIT"
] | null | null | null | BinarySearch.cpp | DPS0340/CPP_DataStructure_Algorithm | eb72f92b0087d0ef73465e18590673069624dd39 | [
"MIT"
] | null | null | null | BinarySearch.cpp | DPS0340/CPP_DataStructure_Algorithm | eb72f92b0087d0ef73465e18590673069624dd39 | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
using namespace std;
// arr은 오름차순 정렬되어있고, 같은 값을 가진 원소가 없다고 가정
// n이 존재하지 않는 경우는 없다고 가정
int bs(vector<int> arr, int n) {
// 시간 복잡도 테스트용 카운터
int count = 0;
const int length = arr.size();
int delta = length / 4;
int index = length / 2;
while(arr[index] != n... | 20.363636 | 50 | 0.450893 | [
"vector"
] |
ec67ee836cd54834cb3cc8bd30af279d9e46918b | 14,300 | cc | C++ | components/translate/core/browser/translate_ui_delegate.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | components/translate/core/browser/translate_ui_delegate.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | components/translate/core/browser/translate_ui_delegate.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2021-01-05T23:43:46.000Z | 2021-01-07T23:36:34.000Z | // Copyright 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 "components/translate/core/browser/translate_ui_delegate.h"
#include <algorithm>
#include "base/i18n/string_compare.h"
#include "base/metrics/h... | 37.142857 | 80 | 0.732378 | [
"object",
"vector"
] |
3f3c3e82ad913918c0bc9ed9a505f5d121e50c10 | 16,443 | cpp | C++ | libs/ofxLineaDeTiempo/src/Controller/TrackGroupController.cpp | roymacdonald/ofxLineaDeTiempo | 1a080c7d5533dc9b0e587bd1557506fe288f05e8 | [
"MIT"
] | 31 | 2020-04-29T06:11:54.000Z | 2021-11-10T19:14:09.000Z | libs/ofxLineaDeTiempo/src/Controller/TrackGroupController.cpp | roymacdonald/ofxLineaDeTiempo | 1a080c7d5533dc9b0e587bd1557506fe288f05e8 | [
"MIT"
] | 11 | 2020-07-27T17:12:05.000Z | 2021-12-01T16:33:18.000Z | libs/ofxLineaDeTiempo/src/Controller/TrackGroupController.cpp | roymacdonald/ofxLineaDeTiempo | 1a080c7d5533dc9b0e587bd1557506fe288f05e8 | [
"MIT"
] | null | null | null | //
// TrackGroupController.cpp
// tracksAndTimeTest
//
// Created by Roy Macdonald on 3/14/20.
//
//
#include "LineaDeTiempo/Controller/TrackGroupController.h"
#include "LineaDeTiempo/View/TrackGroupView.h"
#include "LineaDeTiempo/Utils/CollectionHelper.h"
//
namespace ofx {
namespace LineaDeTiempo {
TrackGroupCon... | 40.700495 | 184 | 0.631819 | [
"vector"
] |
3f44df5a32a83bdcca65a5611223eeca37282640 | 138 | cpp | C++ | Transform.cpp | OragonEfreet/he_qt_basic_view | c35c8ded7e01f7745ed3af6d27d75f6f5538bb7e | [
"Apache-2.0"
] | null | null | null | Transform.cpp | OragonEfreet/he_qt_basic_view | c35c8ded7e01f7745ed3af6d27d75f6f5538bb7e | [
"Apache-2.0"
] | 1 | 2022-03-24T10:23:40.000Z | 2022-03-24T10:23:40.000Z | Transform.cpp | OragonEfreet/he_qt_basic_view | c35c8ded7e01f7745ed3af6d27d75f6f5538bb7e | [
"Apache-2.0"
] | 1 | 2022-01-21T08:17:39.000Z | 2022-01-21T08:17:39.000Z | #include "Transform.h"
Qt3DCore::QTransform *createTransform( EntityArray const &path ) {
Q_UNUSED(path)
return nullptr;
} | 19.714286 | 67 | 0.688406 | [
"transform"
] |
3f4c7177b72dcd4ffa692368604a380dd6adab3c | 11,482 | hpp | C++ | mjolnir/forcefield/global/ExcludedVolumePotential.hpp | ToruNiina/Mjolnir | 44435dd3afc12f5c8ea27a66d7ab282df3e588ff | [
"MIT"
] | 12 | 2017-02-01T08:28:38.000Z | 2018-08-25T15:47:51.000Z | mjolnir/forcefield/global/ExcludedVolumePotential.hpp | Mjolnir-MD/Mjolnir | 043df4080720837042c6b67a5495ecae198bc2b3 | [
"MIT"
] | 60 | 2019-01-14T08:11:33.000Z | 2021-07-29T08:26:36.000Z | mjolnir/forcefield/global/ExcludedVolumePotential.hpp | Mjolnir-MD/Mjolnir | 043df4080720837042c6b67a5495ecae198bc2b3 | [
"MIT"
] | 8 | 2019-01-13T11:03:31.000Z | 2021-08-01T11:38:00.000Z | #ifndef MJOLNIR_POTENTIAL_GLOBAL_EXCLUDED_VOLUME_POTENTIAL_HPP
#define MJOLNIR_POTENTIAL_GLOBAL_EXCLUDED_VOLUME_POTENTIAL_HPP
#include <mjolnir/forcefield/global/ParameterList.hpp>
#include <mjolnir/core/ExclusionList.hpp>
#include <mjolnir/core/System.hpp>
#include <mjolnir/math/math.hpp>
#include <algorithm>
#include... | 38.401338 | 101 | 0.663038 | [
"vector",
"model"
] |
3f503ab8d5a32dde2dd5ee7d895f776d3695fd7d | 19,632 | cpp | C++ | Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterWithIdentifier.cpp | jacadcaps/webkitty | 9aebd2081349f9a7b5d168673c6f676a1450a66d | [
"BSD-2-Clause"
] | 6 | 2021-07-05T16:09:39.000Z | 2022-03-06T22:44:42.000Z | Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterWithIdentifier.cpp | jacadcaps/webkitty | 9aebd2081349f9a7b5d168673c6f676a1450a66d | [
"BSD-2-Clause"
] | 7 | 2022-03-15T13:25:39.000Z | 2022-03-15T13:25:44.000Z | Source/WebCore/bindings/scripts/test/JS/JSTestIndexedSetterWithIdentifier.cpp | jacadcaps/webkitty | 9aebd2081349f9a7b5d168673c6f676a1450a66d | [
"BSD-2-Clause"
] | null | null | null | /*
This file is part of the WebKit open source project.
This file has been generated by generate-bindings.pl. DO NOT MODIFY!
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation... | 49.701266 | 297 | 0.787133 | [
"object"
] |
3f635062744cd4f6d8572b4ff6b1ba80f4eff738 | 6,424 | cpp | C++ | test/test-MorphingMesh.cpp | vadosnaprimer/desktop-m3g | fa04787e8609cd0f4e63defc7f2c669c8cc78d1f | [
"MIT"
] | 2 | 2019-05-14T08:14:15.000Z | 2021-01-19T13:28:38.000Z | test/test-MorphingMesh.cpp | vadosnaprimer/desktop-m3g | fa04787e8609cd0f4e63defc7f2c669c8cc78d1f | [
"MIT"
] | null | null | null | test/test-MorphingMesh.cpp | vadosnaprimer/desktop-m3g | fa04787e8609cd0f4e63defc7f2c669c8cc78d1f | [
"MIT"
] | null | null | null | #include <unittest++/UnitTest++.h>
#include <iostream>
#include "m3g/MorphingMesh.hpp"
#include "m3g/VertexArray.hpp"
#include "m3g/VertexBuffer.hpp"
#include "m3g/TriangleStripArray.hpp"
#include "m3g/Appearance.hpp"
#include "m3g/Group.hpp"
using namespace std;
using namespace m3g;
TEST (MorphingMesh_default_value)
... | 31.80198 | 98 | 0.605075 | [
"mesh"
] |
3f6d21d6db30aa3204937fba3c58c5935e0d6a39 | 4,828 | cpp | C++ | src/main.cpp | edmBernard/rename-cpp | 833e835ea60bc329beab9feffcfa6aa1090f2582 | [
"Apache-2.0"
] | 1 | 2021-02-06T15:54:34.000Z | 2021-02-06T15:54:34.000Z | src/main.cpp | edmBernard/rename-cpp | 833e835ea60bc329beab9feffcfa6aa1090f2582 | [
"Apache-2.0"
] | null | null | null | src/main.cpp | edmBernard/rename-cpp | 833e835ea60bc329beab9feffcfa6aa1090f2582 | [
"Apache-2.0"
] | null | null | null | // Tool to rename files based on Regex
#include <filesystem>
#include <regex>
#include <string>
#include <vector>
#include <cxxopts.hpp>
#include <fmt/color.h>
#include <fmt/core.h>
#include <spdlog/cfg/env.h>
#include <spdlog/spdlog.h>
namespace fs = std::filesystem;
int main(int argc, char **argv) {
try {
s... | 34 | 132 | 0.592792 | [
"vector"
] |
3f714fefbb152b2176763d936568dda76b79d50f | 8,956 | cpp | C++ | extract_maximum_clique/src/calculate_km.cpp | SotaTsuji/extraction_maximum_clique | e9a00f15fdccd5a36f6a9bcdf618e5f01fefded1 | [
"MIT"
] | 1 | 2021-09-22T08:18:49.000Z | 2021-09-22T08:18:49.000Z | extract_maximum_clique/src/calculate_km.cpp | SotaTsuji/extract_maximum_clique | e9a00f15fdccd5a36f6a9bcdf618e5f01fefded1 | [
"MIT"
] | null | null | null | extract_maximum_clique/src/calculate_km.cpp | SotaTsuji/extract_maximum_clique | e9a00f15fdccd5a36f6a9bcdf618e5f01fefded1 | [
"MIT"
] | null | null | null | // Copyright (c) 2021 Sota Tsuji
// This software is released under the MIT License.
// http://opensource.org/licenses/mit-license.php
#include "../include/calculate_km.hpp"
#include <numeric>
#include "../include/graph.hpp"
namespace extraction_of_maximum_clique {
Polynomial operator-(Polynomial pol) {
... | 27.641975 | 81 | 0.484145 | [
"vector"
] |
3f762a11c27112e1ac779247a5f498bb77d043fe | 20,065 | cpp | C++ | vstgui/tests/unittest/lib/cviewcontainer_test.cpp | etheory/vstgui | df5d1836440e743600397d33e1612d4605ea0b37 | [
"BSD-3-Clause"
] | 608 | 2015-12-18T10:21:27.000Z | 2022-03-29T01:00:52.000Z | vstgui/tests/unittest/lib/cviewcontainer_test.cpp | etheory/vstgui | df5d1836440e743600397d33e1612d4605ea0b37 | [
"BSD-3-Clause"
] | 111 | 2016-01-27T09:07:33.000Z | 2022-02-28T06:47:32.000Z | vstgui/tests/unittest/lib/cviewcontainer_test.cpp | etheory/vstgui | df5d1836440e743600397d33e1612d4605ea0b37 | [
"BSD-3-Clause"
] | 123 | 2015-12-18T08:30:36.000Z | 2022-03-05T17:26:38.000Z | // This file is part of VSTGUI. It is subject to the license terms
// in the LICENSE file found in the top-level directory of this
// distribution and at http://github.com/steinbergmedia/vstgui/LICENSE
#include "../../../lib/cframe.h"
#include "../../../lib/iviewlistener.h"
#include "../../../lib/ccolor.h"
#include "... | 31.253894 | 97 | 0.721854 | [
"vector"
] |
3f7fb9f3c8e276d726b5b4daf47a93d82979307e | 1,960 | cpp | C++ | problemsets/UVA/10480.cpp | juarezpaulino/coderemite | a4649d3f3a89d234457032d14a6646b3af339ac1 | [
"Apache-2.0"
] | null | null | null | problemsets/UVA/10480.cpp | juarezpaulino/coderemite | a4649d3f3a89d234457032d14a6646b3af339ac1 | [
"Apache-2.0"
] | null | null | null | problemsets/UVA/10480.cpp | juarezpaulino/coderemite | a4649d3f3a89d234457032d14a6646b3af339ac1 | [
"Apache-2.0"
] | null | null | null | /**
*
* Author: Juarez Paulino(coderemite)
* Email: juarez.paulino@gmail.com
*
*/
#include <cstdio>
#include <algorithm>
#include <vector>
#include <queue>
#include <map>
using namespace std;
const int MAXV = 55;
int N, M;
int cap[MAXV][MAXV];
int adj[MAXV][MAXV], deg[MAXV];
int prev[MAXV];
int dinic(int N, i... | 27.605634 | 102 | 0.391327 | [
"vector"
] |
3f80736f2b2cb6301ce10968dba0b3ccb0022038 | 4,930 | cpp | C++ | src/tcp_client_mgr_thread.cpp | winer632/wacc | 08a304120cce40137b84ba6c200cccb414af41e0 | [
"MIT"
] | null | null | null | src/tcp_client_mgr_thread.cpp | winer632/wacc | 08a304120cce40137b84ba6c200cccb414af41e0 | [
"MIT"
] | null | null | null | src/tcp_client_mgr_thread.cpp | winer632/wacc | 08a304120cce40137b84ba6c200cccb414af41e0 | [
"MIT"
] | null | null | null | /*
* =====================================================================================
*
* Filename: tcp_client_mgr_thread.cpp
*
* Description:
*
* Version: 1.0
* Created: 2015/3/12 13:06:12
* Revision: none
* Compiler: gcc
*
* Author: wangxx
* Organ... | 28.830409 | 126 | 0.604665 | [
"vector"
] |
3f8ca7cb223105dec7d6904f7bbe4102eb827063 | 17,177 | cpp | C++ | PopcornTime_Desktop-src/gui/ChromeCast.cpp | officialrafsan/POPCORNtime | b5bc452b10d7b46c2f4978e37d7fd2e9c0f75782 | [
"MIT"
] | null | null | null | PopcornTime_Desktop-src/gui/ChromeCast.cpp | officialrafsan/POPCORNtime | b5bc452b10d7b46c2f4978e37d7fd2e9c0f75782 | [
"MIT"
] | null | null | null | PopcornTime_Desktop-src/gui/ChromeCast.cpp | officialrafsan/POPCORNtime | b5bc452b10d7b46c2f4978e37d7fd2e9c0f75782 | [
"MIT"
] | null | null | null | #include "ChromeCast.h"
#include "NjsProcess.h"
#include "GlyphButton.h"
#include <QDebug>
#include <QPushButton>
#include <QMovie>
#include <QFrame>
#include <QBoxLayout>
#include <QLabel>
#include <QJsonDocument>
#include <QJsonObject>
#include <QJsonArray>
#include <QWidget>
#include <QNetworkProxy>
#include <Q... | 33.879684 | 235 | 0.633522 | [
"geometry",
"object",
"solid"
] |
3f923de4544131765a512c2648ac120d252f86d5 | 1,245 | hpp | C++ | include/Delivery.hpp | victoragcosta/ConcurrentProgramming-FastFoodKitchen | 3d01bc1343cebab93b73ce144f2fa279e5a110f6 | [
"MIT"
] | null | null | null | include/Delivery.hpp | victoragcosta/ConcurrentProgramming-FastFoodKitchen | 3d01bc1343cebab93b73ce144f2fa279e5a110f6 | [
"MIT"
] | 14 | 2021-04-29T13:39:36.000Z | 2021-05-11T00:06:09.000Z | include/Delivery.hpp | victoragcosta/ConcurrentProgramming-FastFoodKitchen | 3d01bc1343cebab93b73ce144f2fa279e5a110f6 | [
"MIT"
] | null | null | null | #ifndef DELIVERY_HPP_
#define DELIVERY_HPP_
#include <vector>
#include <pthread.h>
namespace Delivery
{
extern const int assemblingTime;
extern pthread_cond_t waitForOrderDelivered;
// Initializes Customer threads preparing for the simulation and set some parameters.
// Returns a vector with all threads cre... | 24.9 | 87 | 0.723695 | [
"vector"
] |
3f927c2ab29d9f274442799d204a3d7df0ac86a4 | 18,924 | cpp | C++ | archsim/src/abi/memory/system/txln/FunctionGenSystemMemoryTranslationModel.cpp | Linestro/Gensim_Y | 031b74234a92622cf2d2d2ebc2d5ba03ca28ecf8 | [
"MIT"
] | 10 | 2020-07-14T22:09:30.000Z | 2022-01-11T09:57:52.000Z | archsim/src/abi/memory/system/txln/FunctionGenSystemMemoryTranslationModel.cpp | Linestro/Gensim_Y | 031b74234a92622cf2d2d2ebc2d5ba03ca28ecf8 | [
"MIT"
] | 6 | 2020-07-09T12:01:57.000Z | 2021-04-27T10:23:58.000Z | archsim/src/abi/memory/system/txln/FunctionGenSystemMemoryTranslationModel.cpp | Linestro/Gensim_Y | 031b74234a92622cf2d2d2ebc2d5ba03ca28ecf8 | [
"MIT"
] | 10 | 2020-07-29T17:05:26.000Z | 2021-12-04T14:57:15.000Z | /* This file is Copyright University of Edinburgh 2018. For license details, see LICENSE. */
/*
* FunctionGenSystemMemoryTranslationModel.cpp
*
* Created on: 9 Sep 2014
* Author: harry
*/
#include "abi/memory/MemoryEventHandlerTranslator.h"
#include "abi/memory/system/FunctionBasedSystemMemoryModel.h"
#inc... | 38.307692 | 315 | 0.765536 | [
"model"
] |
3f9449e5c233256a5fbff4c6e346c7bcb28bb9ee | 20,501 | cpp | C++ | SpaceDSL/source/SpMission.cpp | XiaoGongWei/SpaceDSL | 340a297c417b6eaac6ba92f528a1451bd4283ad7 | [
"MIT"
] | 3 | 2019-01-02T15:36:44.000Z | 2019-01-06T05:45:20.000Z | SpaceDSL/source/SpMission.cpp | XiaoGongWei/SpaceDSL | 340a297c417b6eaac6ba92f528a1451bd4283ad7 | [
"MIT"
] | null | null | null | SpaceDSL/source/SpMission.cpp | XiaoGongWei/SpaceDSL | 340a297c417b6eaac6ba92f528a1451bd4283ad7 | [
"MIT"
] | 1 | 2020-05-23T07:12:19.000Z | 2020-05-23T07:12:19.000Z | /************************************************************************
* Copyright (C) 2018 Niu ZhiYong
*
* 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 wi... | 38.608286 | 121 | 0.545925 | [
"vector"
] |
3f9ca20935c3b6ce5ca7f957e7249801aec7df3b | 2,194 | hpp | C++ | code/szen/inc/szen/Game/Components/ParticleComponent.hpp | Sonaza/scyori | a894a9c7bd45a68ea1b6ff14877cdbe47ddd39cf | [
"BSD-3-Clause"
] | null | null | null | code/szen/inc/szen/Game/Components/ParticleComponent.hpp | Sonaza/scyori | a894a9c7bd45a68ea1b6ff14877cdbe47ddd39cf | [
"BSD-3-Clause"
] | null | null | null | code/szen/inc/szen/Game/Components/ParticleComponent.hpp | Sonaza/scyori | a894a9c7bd45a68ea1b6ff14877cdbe47ddd39cf | [
"BSD-3-Clause"
] | null | null | null | #ifndef SZEN_PARTICLECOMPONENT_HPP
#define SZEN_PARTICLECOMPONENT_HPP
#include <string>
#include <vector>
#include <memory>
#include <SFML/Graphics.hpp>
#include <szen/Game/Component.hpp>
#include <Thor/Animation.hpp>
#include <Thor/Particles.hpp>
#include <Thor/Math.hpp>
#include <Thor/Graphics.hpp>
namespace sz... | 20.12844 | 77 | 0.730173 | [
"vector"
] |
3fa4c77317aeb17ad75d4cda3de32e58912898c5 | 1,894 | hpp | C++ | include/scp/Scene.hpp | scp-studios/scp-game-framework | 17ffb68a50d834e490d387028f05add9f5391ea5 | [
"MIT"
] | 1 | 2022-01-31T22:20:01.000Z | 2022-01-31T22:20:01.000Z | include/scp/Scene.hpp | scp-studios/scp-game-framework | 17ffb68a50d834e490d387028f05add9f5391ea5 | [
"MIT"
] | null | null | null | include/scp/Scene.hpp | scp-studios/scp-game-framework | 17ffb68a50d834e490d387028f05add9f5391ea5 | [
"MIT"
] | null | null | null | #ifndef E1807A30_2BAB_4F2B_812D_33D2F4822F2F
#define E1807A30_2BAB_4F2B_812D_33D2F4822F2F
// Note: This not supposed to represent a Scene class that you would see in a
// game engine. It is supposed to be simply a container for a state in the
// game and to handle stuff like events and stuff.
#include <scp/core-pch.... | 29.138462 | 77 | 0.613516 | [
"render"
] |
3fa94c4b69b4f5797c1c2dcf348f0a6759c96b11 | 8,095 | cpp | C++ | src/proclib.cpp | mentebinaria/maProc | 75f7877b21ed01df5541cc83ccdc2f03739fda0f | [
"BSD-2-Clause"
] | 10 | 2022-03-07T20:46:44.000Z | 2022-03-22T22:29:55.000Z | src/proclib.cpp | mentebinaria/maProc | 75f7877b21ed01df5541cc83ccdc2f03739fda0f | [
"BSD-2-Clause"
] | 1 | 2022-03-22T15:16:54.000Z | 2022-03-25T23:09:28.000Z | src/proclib.cpp | mentebinaria/maProc | 75f7877b21ed01df5541cc83ccdc2f03739fda0f | [
"BSD-2-Clause"
] | 2 | 2022-03-07T20:46:57.000Z | 2022-03-08T01:26:00.000Z | #include "include/proclib.hpp"
#include "include/filedescriptor.hpp"
#include <unordered_map>
#include <string.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <limits.h>
/**
* @brief routine to analyze memory,
* with the appropriate p_types char, int, int16, int64,'st... | 24.984568 | 179 | 0.529216 | [
"object",
"vector"
] |
3fac7745aaaa5fadba35dd279a574aeac3f76ccc | 2,139 | cpp | C++ | datasets/github_cpp_10/1/85.cpp | yijunyu/demo-fast | 11c0c84081a3181494b9c469bda42a313c457ad2 | [
"BSD-2-Clause"
] | 1 | 2019-05-03T19:27:45.000Z | 2019-05-03T19:27:45.000Z | datasets/github_cpp_10/1/85.cpp | yijunyu/demo-vscode-fast | 11c0c84081a3181494b9c469bda42a313c457ad2 | [
"BSD-2-Clause"
] | null | null | null | datasets/github_cpp_10/1/85.cpp | yijunyu/demo-vscode-fast | 11c0c84081a3181494b9c469bda42a313c457ad2 | [
"BSD-2-Clause"
] | null | null | null | /*
* BFS Algorithm.
* Breadth-first search (BFS) is an algorithm for traversing or searching tree or graph data structures.
* It starts at the tree root (or some arbitrary node of a graph, sometimes referred to as a 'search key')
* and explores the neighbor nodes first, before moving to the next level neighbors.
* BFS... | 25.771084 | 105 | 0.640019 | [
"vector"
] |
3fad9bc865e9cd491d767fac1866de94f7a877b5 | 6,617 | cpp | C++ | src/sMQTTClient.cpp | terrorsl/sMQTTBroker | 643d6328c16c7fcc4a9f3958749fb98dcad94527 | [
"MIT"
] | 10 | 2021-10-10T23:25:47.000Z | 2022-03-16T15:55:39.000Z | src/sMQTTClient.cpp | terrorsl/sMQTTBroker | 643d6328c16c7fcc4a9f3958749fb98dcad94527 | [
"MIT"
] | 17 | 2021-10-09T13:40:26.000Z | 2022-03-16T10:35:49.000Z | src/sMQTTClient.cpp | terrorsl/sMQTTBroker | 643d6328c16c7fcc4a9f3958749fb98dcad94527 | [
"MIT"
] | null | null | null | #include<sMQTTBroker.h>
sMQTTClient::sMQTTClient(sMQTTBroker *parent, TCPClient &client):mqtt_connected(false), _parent(parent)
{
_client = client;
keepAlive = 25;
updateLiveStatus();
};
sMQTTClient::~sMQTTClient()
{
//SMQTT_LOGD("free _client");
//delete _client;
};
void sMQTTClient::update()
{
while (_client.a... | 22.896194 | 103 | 0.637902 | [
"vector"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.