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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e9569ca77a3ceba3a9a685aa565e0c926826f099 | 10,821 | cpp | C++ | src/Scene.cpp | carlosemv/cobra | 13bf3ad45ce25cf449e389970c6873c67f4430fd | [
"MIT"
] | 1 | 2019-03-18T12:35:24.000Z | 2019-03-18T12:35:24.000Z | src/Scene.cpp | carlosemv/cobra | 13bf3ad45ce25cf449e389970c6873c67f4430fd | [
"MIT"
] | null | null | null | src/Scene.cpp | carlosemv/cobra | 13bf3ad45ce25cf449e389970c6873c67f4430fd | [
"MIT"
] | null | null | null | #include "Scene.h"
Scene::Scene(std::string config_file)
{
YAML::Node config = YAML::LoadFile(config_file);
height = config["height"].as<int>();
width = config["width"].as<int>();
load_collections(config);
if (config["background"])
bg_color = get_color(config["background"]);
else
bg_color = Scene::DEFAULT_... | 22.219713 | 81 | 0.580168 | [
"object",
"vector"
] |
e95c6291192a286966e5287ab72c93da3b1ed85e | 1,422 | cpp | C++ | code/piglatin.cpp | matthewReff/Kattis-Problems | 848628af630c990fb91bde6256a77afad6a3f5f6 | [
"MIT"
] | 8 | 2020-02-21T22:21:01.000Z | 2022-02-16T05:30:54.000Z | code/piglatin.cpp | matthewReff/Kattis-Problems | 848628af630c990fb91bde6256a77afad6a3f5f6 | [
"MIT"
] | null | null | null | code/piglatin.cpp | matthewReff/Kattis-Problems | 848628af630c990fb91bde6256a77afad6a3f5f6 | [
"MIT"
] | 3 | 2020-08-05T05:42:35.000Z | 2021-08-30T05:39:51.000Z | #define _USE_MATH_DEFINES
#include <iostream>
#include <stdio.h>
#include <cmath>
#include <iomanip>
#include <vector>
#include <string>
#include <algorithm>
#include <unordered_set>
#include <ctype.h>
#include <queue>
#include <map>
#include <set>
#include <unordered_set>
typedef long long ll;
typedef unsigned long l... | 17.13253 | 78 | 0.526723 | [
"vector"
] |
e9616eaf2d2d0a9733d1ee9763ede54d70f95854 | 22,359 | cpp | C++ | io/geometry/geo_reader_ply.cpp | ppearson/ImaginePartial | 9871b052f2edeb023e2845578ad69c25c5baf7d2 | [
"Apache-2.0"
] | 1 | 2018-07-10T13:36:38.000Z | 2018-07-10T13:36:38.000Z | io/geometry/geo_reader_ply.cpp | ppearson/ImaginePartial | 9871b052f2edeb023e2845578ad69c25c5baf7d2 | [
"Apache-2.0"
] | null | null | null | io/geometry/geo_reader_ply.cpp | ppearson/ImaginePartial | 9871b052f2edeb023e2845578ad69c25c5baf7d2 | [
"Apache-2.0"
] | null | null | null | /*
Imagine
Copyright 2011-2019 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... | 27.879052 | 142 | 0.63764 | [
"mesh",
"geometry",
"vector"
] |
e974ece96493756c8c28d01a516b61a09a810294 | 13,977 | cpp | C++ | source/cpfs_winfsp/main.cpp | clayne/CyberpunkSaveEditor | 2069ea833ced56f549776179c2147b27d32d650c | [
"MIT"
] | 276 | 2020-12-21T11:54:44.000Z | 2022-03-28T16:49:44.000Z | source/cpfs_winfsp/main.cpp | 13397729377/CyberpunkSaveEditor | 2069ea833ced56f549776179c2147b27d32d650c | [
"MIT"
] | 37 | 2020-12-21T18:25:12.000Z | 2022-03-31T23:51:33.000Z | source/cpfs_winfsp/main.cpp | 13397729377/CyberpunkSaveEditor | 2069ea833ced56f549776179c2147b27d32d650c | [
"MIT"
] | 36 | 2020-12-21T12:02:08.000Z | 2022-03-21T10:47:43.000Z | #define WIN32_NO_STATUS
#define NOMINMAX
#include <windows.h>
#include <shellapi.h>
#include <commctrl.h>
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
#pragma com... | 26.775862 | 195 | 0.623524 | [
"vector"
] |
e97d8dcb24cb898b91b6407a97746360569a5e7c | 16,203 | cxx | C++ | codes/Controller/InteractorStyles/InteractorStylePolygonDraw.cxx | wuzhuobin/Vessel_Project | eab73b02067f4542f5e9be50cc72de44d64fc322 | [
"Apache-2.0"
] | 3 | 2017-06-03T03:17:39.000Z | 2021-01-17T05:51:31.000Z | codes/Controller/InteractorStyles/InteractorStylePolygonDraw.cxx | wuzhuobin/Vessel_Project | eab73b02067f4542f5e9be50cc72de44d64fc322 | [
"Apache-2.0"
] | 4 | 2017-04-19T13:59:30.000Z | 2017-05-11T02:52:49.000Z | codes/Controller/InteractorStyles/InteractorStylePolygonDraw.cxx | wuzhuobin/Vessel_Project | eab73b02067f4542f5e9be50cc72de44d64fc322 | [
"Apache-2.0"
] | 1 | 2018-05-02T06:58:31.000Z | 2018-05-02T06:58:31.000Z | /*
Author: Wong, Matthew Lun
Date: 16th, June 2016
Occupation: Chinese University of Hong Kong,
Department of Imaging and Inteventional Radiology,
Junior Research Assistant
Author: Lok, Ka Hei Jason
Date: 16th, June 2016
Occupation: Chinese University of Hong Kong,
Department of Imaging and Inteventional ... | 32.212724 | 127 | 0.686786 | [
"render"
] |
e97e514de8aee817042405fb628b4d012d782822 | 19,952 | cpp | C++ | tests/src/distance_2d.cpp | viennagrid/viennagrid-dev | 6e47c8d098a0b691d6b9988f2444cd11d440f4c2 | [
"MIT"
] | 7 | 2015-09-13T03:50:58.000Z | 2019-06-27T14:24:49.000Z | tests/src/distance_2d.cpp | viennagrid/viennagrid-dev | 6e47c8d098a0b691d6b9988f2444cd11d440f4c2 | [
"MIT"
] | null | null | null | tests/src/distance_2d.cpp | viennagrid/viennagrid-dev | 6e47c8d098a0b691d6b9988f2444cd11d440f4c2 | [
"MIT"
] | 5 | 2015-07-03T07:14:15.000Z | 2021-05-20T00:51:58.000Z | /* =======================================================================
Copyright (c) 2011-2014, Institute for Microelectronics,
Institute for Analysis and Scientific Computing,
TU Wien.
-----------------
Vie... | 31.371069 | 173 | 0.604751 | [
"mesh"
] |
e98e29b77e9908c8912581c85b4157026bf59ecd | 1,661 | cpp | C++ | CPlusPlusFundamentals/Exarsise-Strings-Stream-LTC/02.NumeralSystem/main.cpp | bozhikovstanislav/Cpp-SoftUni | 6562d15b9e3a550b11566630a1bc1ec65670bff7 | [
"MIT"
] | null | null | null | CPlusPlusFundamentals/Exarsise-Strings-Stream-LTC/02.NumeralSystem/main.cpp | bozhikovstanislav/Cpp-SoftUni | 6562d15b9e3a550b11566630a1bc1ec65670bff7 | [
"MIT"
] | null | null | null | CPlusPlusFundamentals/Exarsise-Strings-Stream-LTC/02.NumeralSystem/main.cpp | bozhikovstanislav/Cpp-SoftUni | 6562d15b9e3a550b11566630a1bc1ec65670bff7 | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
#include <vector>
std::string intToSystemNumber(const std::string baseInput,
const int number) {
//abcdefghij
//300
std::string answer;
std::string numberStr = std::to_string(number);
answer.resize(numberStr.size());
for ( siz... | 23.394366 | 61 | 0.602649 | [
"vector"
] |
e9950b52984de360cf745667c26d7b54bc765c6d | 2,883 | cc | C++ | mindspore/ccsrc/backend/kernel_compiler/cpu/unique_cpu_kernel.cc | dongkcs/mindspore | cd7df6dbf463ff3128e9181e9d0c779cecb81320 | [
"Apache-2.0"
] | 2 | 2020-11-23T13:46:37.000Z | 2020-12-20T02:02:38.000Z | mindspore/ccsrc/backend/kernel_compiler/cpu/unique_cpu_kernel.cc | dongkcs/mindspore | cd7df6dbf463ff3128e9181e9d0c779cecb81320 | [
"Apache-2.0"
] | 1 | 2020-12-29T06:46:38.000Z | 2020-12-29T06:46:38.000Z | mindspore/ccsrc/backend/kernel_compiler/cpu/unique_cpu_kernel.cc | dongkcs/mindspore | cd7df6dbf463ff3128e9181e9d0c779cecb81320 | [
"Apache-2.0"
] | 1 | 2021-05-12T06:30:29.000Z | 2021-05-12T06:30:29.000Z | /**
* Copyright 2020 Huawei Technologies Co., Ltd
*
* 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... | 36.493671 | 115 | 0.690253 | [
"vector"
] |
e997613d554d07310917498f755ca56d7c0ade2f | 33,888 | cc | C++ | src/main.cc | Kronuz/Xapiand | a71570859dcfc9f48090d845053f359b07f4f78c | [
"MIT"
] | 370 | 2016-03-14T12:19:08.000Z | 2022-03-25T02:07:29.000Z | src/main.cc | YosefMac/Xapiand-1 | a71570859dcfc9f48090d845053f359b07f4f78c | [
"MIT"
] | 34 | 2015-11-30T19:06:40.000Z | 2022-02-26T03:46:58.000Z | src/main.cc | YosefMac/Xapiand-1 | a71570859dcfc9f48090d845053f359b07f4f78c | [
"MIT"
] | 31 | 2015-02-13T22:27:34.000Z | 2022-03-25T02:07:34.000Z | /*
* Copyright (c) 2015-2019 Dubalu LLC
*
* 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, pub... | 33.652433 | 215 | 0.640522 | [
"vector"
] |
e999ceefd60608053e4041a637122c4537dc60ea | 1,714 | cpp | C++ | aizu-online-judge/DSL/1_A.cpp | zaurus-yusya/atcoder | 5fc345b3da50222fa1366d1ce52ae58799488cef | [
"MIT"
] | 3 | 2020-05-27T16:27:12.000Z | 2021-01-27T12:47:12.000Z | aizu-online-judge/DSL/1_A.cpp | zaurus-yusya/Competitive-Programming | c72e13a11f76f463510bd4a476b86631d9d1b13a | [
"MIT"
] | null | null | null | aizu-online-judge/DSL/1_A.cpp | zaurus-yusya/Competitive-Programming | c72e13a11f76f463510bd4a476b86631d9d1b13a | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
typedef long long ll;
typedef long double ld;
#define rep(i,n) for(ll i=0;i<(n);i++)
#define repr(i,n) for(ll i=(n-1);i>=0;i--)
#define all(x) x.begin(),x.end()
#define br cout << "\n";
using namespace std;
const int INF = 1e9;
const int MOD = 1e9+7;
using Graph = vector<vector<ll>>;
template<c... | 20.902439 | 95 | 0.456243 | [
"vector"
] |
e99baa5a478930de761c89bf148e4112acf82114 | 7,252 | cpp | C++ | Official Windows Platform Sample/Windows 8.1 Store app samples/[C++]-Windows 8.1 Store app samples/DirectWrite inline object sample/C++/DWriteInlineObject.cpp | zzgchina888/msdn-code-gallery-microsoft | 21cb9b6bc0da3b234c5854ecac449cb3bd261f29 | [
"MIT"
] | 2 | 2022-01-21T01:40:58.000Z | 2022-01-21T01:41:10.000Z | Official Windows Platform Sample/Windows 8.1 Store app samples/[C++]-Windows 8.1 Store app samples/DirectWrite inline object sample/C++/DWriteInlineObject.cpp | zzgchina888/msdn-code-gallery-microsoft | 21cb9b6bc0da3b234c5854ecac449cb3bd261f29 | [
"MIT"
] | 1 | 2022-03-15T04:21:41.000Z | 2022-03-15T04:21:41.000Z | Official Windows Platform Sample/Windows 8.1 Store app samples/[C++]-Windows 8.1 Store app samples/DirectWrite inline object sample/C++/DWriteInlineObject.cpp | zzgchina888/msdn-code-gallery-microsoft | 21cb9b6bc0da3b234c5854ecac449cb3bd261f29 | [
"MIT"
] | null | null | null | //// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
//// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
//// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
//// PARTICULAR PURPOSE.
////
//// Copyright (c) Microsoft Corporation. All rights reserved
#include "pch.h... | 28.217899 | 131 | 0.692085 | [
"render",
"object"
] |
e9a32af681dc4459910e8532c442aff3e7b89b07 | 14,761 | cpp | C++ | src/SOURCE/parallelTFSF.cpp | Seideman-Group/chiML | 9ace5dccdbc6c173e8383f6a31ff421b4fefffdf | [
"MIT"
] | 1 | 2019-04-27T05:25:27.000Z | 2019-04-27T05:25:27.000Z | src/SOURCE/parallelTFSF.cpp | Seideman-Group/chiML | 9ace5dccdbc6c173e8383f6a31ff421b4fefffdf | [
"MIT"
] | null | null | null | src/SOURCE/parallelTFSF.cpp | Seideman-Group/chiML | 9ace5dccdbc6c173e8383f6a31ff421b4fefffdf | [
"MIT"
] | 2 | 2019-04-03T10:08:21.000Z | 2019-09-30T22:40:28.000Z | /** @file SOURCE/parallelTFSF.cpp
* @brief Class creates a TFSF surface to introduce an incident pulse
*
* A class used to introduce a plane wave from a TFSF surface centered at loc in a box the size of sz
*
* @author Thomas A. Purcell (tpurcell90)
* @bug No known bugs
*/
#include <SOURCE/parallelTFSF.hpp>
... | 54.468635 | 575 | 0.637287 | [
"vector",
"transform"
] |
e9a44851472ff3d9b4777362fdfe751a97588454 | 4,383 | cpp | C++ | src/engine/e_language.cpp | gerich-home/zteeworlds | 73ad5e6d34d5639c67c93298f21dcd523b06bf73 | [
"Zlib"
] | 2 | 2017-09-30T22:06:07.000Z | 2021-07-20T23:50:33.000Z | src/engine/e_language.cpp | gerich-home/zteeworlds | 73ad5e6d34d5639c67c93298f21dcd523b06bf73 | [
"Zlib"
] | null | null | null | src/engine/e_language.cpp | gerich-home/zteeworlds | 73ad5e6d34d5639c67c93298f21dcd523b06bf73 | [
"Zlib"
] | 1 | 2017-09-30T22:06:14.000Z | 2017-09-30T22:06:14.000Z | #include "e_language.h"
#include <stdlib.h>
#include <stdio.h>
#include <base/system.h>
#include <string.h>
#include "e_linereader.h"
#include "e_engine.h"
#include <vector>
void format_replace(char * text)
{
int i = 0;
int j = 0;
int len = str_length(text);
while (i < len)
{
if (text[i] == '\... | 20.291667 | 96 | 0.522473 | [
"vector"
] |
e9b0bfef8dfbee6661967df8b58ae7ede54f5e03 | 8,483 | cpp | C++ | legacy/src/allegro_flare/platform/win/midi_win.cpp | MarkOates/allegro_flare | b454cb85eb5e43d19c23c0c6fd2dc11b96666ce7 | [
"MIT"
] | 25 | 2015-03-30T02:02:43.000Z | 2019-03-04T22:29:12.000Z | legacy/src/allegro_flare/platform/win/midi_win.cpp | MarkOates/allegro_flare | b454cb85eb5e43d19c23c0c6fd2dc11b96666ce7 | [
"MIT"
] | 122 | 2015-04-01T08:15:26.000Z | 2019-10-16T20:31:22.000Z | legacy/src/allegro_flare/platform/win/midi_win.cpp | MarkOates/allegro_flare | b454cb85eb5e43d19c23c0c6fd2dc11b96666ce7 | [
"MIT"
] | 4 | 2016-09-02T12:14:09.000Z | 2018-11-23T20:38:49.000Z |
#include <allegro_flare/midi_win.h>
#include <mmsystem.h> /* multimedia functions (such as MIDI) for Windows */
#include <windows.h> /* required before including mmsystem.h */
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
static bool midi_initialized = false;
std::vector<MI... | 25.097633 | 120 | 0.664623 | [
"vector"
] |
e9bae3616165c945adb96a2020b125a58eb5e571 | 26,699 | cc | C++ | examples/peerconnection/mediasoup_client/peer_connection_client.cc | chensongpoixs/cwebrtc | 3cc02facc428e9ff21650ff6ffb92370c26dd91e | [
"BSD-3-Clause"
] | null | null | null | examples/peerconnection/mediasoup_client/peer_connection_client.cc | chensongpoixs/cwebrtc | 3cc02facc428e9ff21650ff6ffb92370c26dd91e | [
"BSD-3-Clause"
] | null | null | null | examples/peerconnection/mediasoup_client/peer_connection_client.cc | chensongpoixs/cwebrtc | 3cc02facc428e9ff21650ff6ffb92370c26dd91e | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright 2012 The WebRTC Project Authors. All rights reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing... | 31.300117 | 168 | 0.607251 | [
"vector"
] |
e9c13458a085e2767f07f91ae443253fe6d974a1 | 2,621 | cpp | C++ | service/simulator/src/common/request_model.cpp | jonghenhan/iotivity | 7dfc2bc6a5c0506cf88bc23e88e38fe1b795da31 | [
"Apache-2.0"
] | 301 | 2015-01-20T16:11:32.000Z | 2021-11-25T04:29:36.000Z | service/simulator/src/common/request_model.cpp | jonghenhan/iotivity | 7dfc2bc6a5c0506cf88bc23e88e38fe1b795da31 | [
"Apache-2.0"
] | 21 | 2019-10-02T08:31:36.000Z | 2021-12-09T21:46:49.000Z | service/simulator/src/common/request_model.cpp | jonghenhan/iotivity | 7dfc2bc6a5c0506cf88bc23e88e38fe1b795da31 | [
"Apache-2.0"
] | 233 | 2015-01-26T03:41:59.000Z | 2022-03-18T23:54:04.000Z | /******************************************************************
*
* Copyright 2015 Samsung Electronics 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
*
... | 24.961905 | 96 | 0.657764 | [
"vector"
] |
e9c3820beef95c70750d1e4e4fd1fe536486a107 | 2,850 | cc | C++ | ui/gfx/geometry/size_unittest.cc | chromium/chromium | df46e572c3449a4b108d6e02fbe4f6d24cf98381 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | ui/gfx/geometry/size_unittest.cc | chromium/chromium | df46e572c3449a4b108d6e02fbe4f6d24cf98381 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 86 | 2015-10-21T13:02:42.000Z | 2022-03-14T07:50:50.000Z | ui/gfx/geometry/size_unittest.cc | chromium/chromium | df46e572c3449a4b108d6e02fbe4f6d24cf98381 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/gfx/geometry/size.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace gfx {
TEST(SizeTest, SetToMinMax) {
Size a;
a = Siz... | 22.8 | 73 | 0.639649 | [
"geometry"
] |
e9cea9f8b5d09feb91d9e8e7df2b9d564aed21c5 | 7,437 | cpp | C++ | src/microservice.cpp | afairon/markov-cpp-playground | cec0e3e27046a8da9b1e51ea93e1caf801dbafda | [
"MIT"
] | null | null | null | src/microservice.cpp | afairon/markov-cpp-playground | cec0e3e27046a8da9b1e51ea93e1caf801dbafda | [
"MIT"
] | null | null | null | src/microservice.cpp | afairon/markov-cpp-playground | cec0e3e27046a8da9b1e51ea93e1caf801dbafda | [
"MIT"
] | null | null | null | #include <iostream>
#include <cpprest/filestream.h>
#include "microservice_controller.hpp"
#include "version.hpp"
#include "utils.hpp"
using namespace web;
using namespace http;
// opHandlers init REST method
void MicroserviceController::opHandlers() {
_listener.support(methods::GET, std::bind(&MicroserviceContro... | 35.927536 | 127 | 0.606293 | [
"object",
"model"
] |
839c136ab53aa3bbd54c3932dc70389101845e9c | 3,447 | cpp | C++ | test/devices/test_GPS.cpp | perryrob/oxcart | 5c29535be2b813c7caebcfec31a8f934b0c88228 | [
"BSD-4-Clause"
] | 1 | 2017-03-20T20:13:16.000Z | 2017-03-20T20:13:16.000Z | test/devices/test_GPS.cpp | perryrob/oxcart | 5c29535be2b813c7caebcfec31a8f934b0c88228 | [
"BSD-4-Clause"
] | null | null | null | test/devices/test_GPS.cpp | perryrob/oxcart | 5c29535be2b813c7caebcfec31a8f934b0c88228 | [
"BSD-4-Clause"
] | null | null | null | /********************************************************************************
Copyright (c) 2017 Bob Perry / asw204k_AT_yahoo.com
All rights reserved.
Please see license in the project root directory fro more details
*/
#include "oxGPSDbus.h"
#include "devices/GPS.h"
#include <iostream>
#include <cassert>
usin... | 31.916667 | 81 | 0.615318 | [
"3d"
] |
839d108e8262a105c90352ebdd672388ffd600ad | 548 | hpp | C++ | src/emulator/gpu/GPUTypes.hpp | m4tx/nsfgbe | 7e19319a50c0e8554ff1df2857bc8debb15e9183 | [
"MIT"
] | null | null | null | src/emulator/gpu/GPUTypes.hpp | m4tx/nsfgbe | 7e19319a50c0e8554ff1df2857bc8debb15e9183 | [
"MIT"
] | null | null | null | src/emulator/gpu/GPUTypes.hpp | m4tx/nsfgbe | 7e19319a50c0e8554ff1df2857bc8debb15e9183 | [
"MIT"
] | null | null | null | #ifndef GAMEBOY_EMULATOR_GPUTYPES_H
#define GAMEBOY_EMULATOR_GPUTYPES_H
#include <Types.hpp>
namespace nsfgbe {
enum class GPUModeId : Byte {
HBLANK = 0,
VBLANK = 1,
OAM_SEARCH = 2,
PIXEL_TRANSFER = 3,
};
enum class PixelSource : Byte {
/** Background/window pixel (using background palette) */
... | 16.117647 | 61 | 0.660584 | [
"object"
] |
839f7b11ca5b131349beb52b62ee87b350ec6e0b | 5,260 | cpp | C++ | src/parse_cmdline.cpp | kaikrueger/ec2-api | c53b7adcc83ae0c1ba758abe10ac8d4c41e05d69 | [
"BSD-4-Clause"
] | 1 | 2015-08-08T05:37:03.000Z | 2015-08-08T05:37:03.000Z | src/parse_cmdline.cpp | kaikrueger/ec2-api | c53b7adcc83ae0c1ba758abe10ac8d4c41e05d69 | [
"BSD-4-Clause"
] | null | null | null | src/parse_cmdline.cpp | kaikrueger/ec2-api | c53b7adcc83ae0c1ba758abe10ac8d4c41e05d69 | [
"BSD-4-Clause"
] | null | null | null | /*
* @file parse_cmdline.cpp
* @date 2011-10-17
*
* Created by Kai Krueger <kai.krueger@itwm.fraunhofer.de>
*
* Copyright (c) 2011 Fraunhofer ITWM
* All rights reserved.
*
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following co... | 35.066667 | 127 | 0.664639 | [
"vector"
] |
83a0f36b72695786d45a381fa2ea8cc4d1ab525b | 30,116 | cc | C++ | lib/spot-2.8.1/spot/twaalgos/remfin.cc | AlessandroCaste/SynkrisisJupyter | a9c2b21ec1ae7ac0c05ef5deebc63a369274650f | [
"Unlicense"
] | null | null | null | lib/spot-2.8.1/spot/twaalgos/remfin.cc | AlessandroCaste/SynkrisisJupyter | a9c2b21ec1ae7ac0c05ef5deebc63a369274650f | [
"Unlicense"
] | null | null | null | lib/spot-2.8.1/spot/twaalgos/remfin.cc | AlessandroCaste/SynkrisisJupyter | a9c2b21ec1ae7ac0c05ef5deebc63a369274650f | [
"Unlicense"
] | null | null | null | // -*- coding: utf-8 -*-
// Copyright (C) 2015-2018 Laboratoire de Recherche et Développement
// de l'Epita (LRDE).
//
// This file is part of Spot, a model checking library.
//
// Spot is free software; you can redistribute it and/or modify it
// under the terms of the GNU General Public License as published by
// the... | 34.896871 | 79 | 0.50352 | [
"vector",
"model"
] |
83aceadf6ce0c21f54289b8f35c481d1bcc809c6 | 4,606 | cpp | C++ | zynq/hls/mmult_fixed/mmult_fixed.cpp | swappad/cs5222-lab-fpga-mlp | 46fb9cb798460474c16f2f60a89a0807307fb971 | [
"MIT"
] | 1 | 2022-03-08T08:38:36.000Z | 2022-03-08T08:38:36.000Z | zynq/hls/mmult_fixed/mmult_fixed.cpp | swappad/cs5222-lab-fpga-mlp | 46fb9cb798460474c16f2f60a89a0807307fb971 | [
"MIT"
] | null | null | null | zynq/hls/mmult_fixed/mmult_fixed.cpp | swappad/cs5222-lab-fpga-mlp | 46fb9cb798460474c16f2f60a89a0807307fb971 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
#include "mmult.h"
// --------------------------------------------------------------------
// function to be accelerated in HW wrapped with AXI4-Stream interface
void mmult_hw (AXI_VAL in_stream[IS_SIZE], AXI_VAL out_stream[OS_SIZE])
{
#pragma HLS INTERFACE s_axilite port=retur... | 29.33758 | 72 | 0.599436 | [
"vector"
] |
83b099c984c45c755499affd4afcbfa374755975 | 32,946 | cpp | C++ | lib/src/BoxTools/NodeAMRIO.cpp | boywert/chombo | e06f9f5d23125c7759be33430f57a5beb1112f8d | [
"BSD-3-Clause-LBNL"
] | 4 | 2019-09-05T01:15:10.000Z | 2021-08-06T13:26:21.000Z | lib/src/BoxTools/NodeAMRIO.cpp | boywert/chombo | e06f9f5d23125c7759be33430f57a5beb1112f8d | [
"BSD-3-Clause-LBNL"
] | null | null | null | lib/src/BoxTools/NodeAMRIO.cpp | boywert/chombo | e06f9f5d23125c7759be33430f57a5beb1112f8d | [
"BSD-3-Clause-LBNL"
] | 2 | 2018-12-02T14:02:34.000Z | 2020-12-07T14:22:17.000Z | #ifdef CH_LANG_CC
/*
* _______ __
* / ___/ / ___ __ _ / / ___
* / /__/ _ \/ _ \/ V \/ _ \/ _ \
* \___/_//_/\___/_/_/_/_.__/\___/
* Please refer to Copyright.txt, in Chombo's root directory.
*/
#endif
// NodeAMRIO.cpp
// petermc, 4 March 2003
// adapted from AMRIO by DTGraves, ... | 32.946 | 91 | 0.578462 | [
"vector"
] |
83b15e64bf6290b12f0fc54ab91548525e1d7b7e | 2,776 | hh | C++ | CCured/program-dependence-graph/include/FunctionWrapper.hh | Lightninghkm/DataGuard | 4ac1370f7607cec5fc81c3b57f5a62fb1d40f463 | [
"Apache-2.0"
] | 9 | 2022-02-25T01:48:43.000Z | 2022-03-20T04:48:44.000Z | CCured/program-dependence-graph/include/FunctionWrapper.hh | Lightninghkm/DataGuard | 4ac1370f7607cec5fc81c3b57f5a62fb1d40f463 | [
"Apache-2.0"
] | 1 | 2022-03-19T08:48:07.000Z | 2022-03-21T00:51:51.000Z | CCured/program-dependence-graph/include/FunctionWrapper.hh | Lightninghkm/DataGuard | 4ac1370f7607cec5fc81c3b57f5a62fb1d40f463 | [
"Apache-2.0"
] | null | null | null | #ifndef FUNCTIONWRAPPER_H_
#define FUNCTIONWRAPPER_H_
#include "LLVMEssentials.hh"
#include "Tree.hh"
#include "PDGUtils.hh"
namespace pdg
{
class FunctionWrapper
{
public:
FunctionWrapper(llvm::Function *func)
{
_func = func;
for (auto arg_iter = _func->arg_begin(); arg_iter != _func->arg_en... | 42.707692 | 102 | 0.701009 | [
"vector"
] |
83b1c3e7e61cef8e03e7195cfefe2c78f1349a17 | 1,865 | cpp | C++ | CrashCourse/CrashCourse/Bullet.cpp | CapySloth/crash-course | f2f7649e1c1d86b459fc4fc0d3b922f4bdf6aaa3 | [
"MIT"
] | null | null | null | CrashCourse/CrashCourse/Bullet.cpp | CapySloth/crash-course | f2f7649e1c1d86b459fc4fc0d3b922f4bdf6aaa3 | [
"MIT"
] | null | null | null | CrashCourse/CrashCourse/Bullet.cpp | CapySloth/crash-course | f2f7649e1c1d86b459fc4fc0d3b922f4bdf6aaa3 | [
"MIT"
] | null | null | null | #include <cmath>
#include <iostream>
#include "Bullet.h"
#include "Utils.h"
#include "Entity.h"
const int Bullet::msDefaultWidth = 5;
const int Bullet::msDefaultHeight = 5;
const sf::Vector2f mVelocity = { 2, 2 };
const sf::Color Bullet::msDefaultColor = { 255, 255, 255, 255 };// white
int i = 0;
Bullet::Bullet()
... | 19.840426 | 72 | 0.662735 | [
"object",
"vector"
] |
83b34ad9b86dafbd2c05ff45c9011d4e4d414bfe | 5,129 | hpp | C++ | src/vulkan/scene.hpp | shacklettbp/csknowviz | 8c4e1b9f8bc15818ab47e0a6252c168bd9fc25c7 | [
"MIT"
] | null | null | null | src/vulkan/scene.hpp | shacklettbp/csknowviz | 8c4e1b9f8bc15818ab47e0a6252c168bd9fc25c7 | [
"MIT"
] | null | null | null | src/vulkan/scene.hpp | shacklettbp/csknowviz | 8c4e1b9f8bc15818ab47e0a6252c168bd9fc25c7 | [
"MIT"
] | null | null | null | #pragma once
#include <rlpbr/config.hpp>
#include <rlpbr_core/scene.hpp>
#include <filesystem>
#include <list>
#include <mutex>
#include <optional>
#include <string_view>
#include <unordered_map>
#include "descriptors.hpp"
#include "utils.hpp"
#include "core.hpp"
#include "memory.hpp"
#include "shader.hpp"
// Forwa... | 25.645 | 73 | 0.664457 | [
"vector"
] |
83c2ac835b983e31997d6f7633351c39b6b1d020 | 11,689 | cpp | C++ | src/rpc/interest.cpp | PlatopiaCore/platopia | b0598f4ac9c8b36cfffe9b4a304b8394e03409ca | [
"MIT"
] | 14 | 2018-05-17T04:27:59.000Z | 2019-06-12T02:48:29.000Z | src/rpc/interest.cpp | PlatopiaCore/platopia | b0598f4ac9c8b36cfffe9b4a304b8394e03409ca | [
"MIT"
] | null | null | null | src/rpc/interest.cpp | PlatopiaCore/platopia | b0598f4ac9c8b36cfffe9b4a304b8394e03409ca | [
"MIT"
] | 5 | 2018-05-21T03:57:20.000Z | 2018-12-13T06:12:35.000Z | /*
* interest.cpp
*/
#include "base58.h"
#include "chain.h"
#include "coins.h"
#include "config.h"
#include "consensus/validation.h"
#include "core_io.h"
#include "dstencode.h"
#include "init.h"
#include "keystore.h"
#include "merkleblock.h"
#include "net.h"
#include "policy/policy.h"
#include "primitives/transaction... | 41.303887 | 120 | 0.564719 | [
"object",
"vector"
] |
83c3eab0dfa1195d5d8ddb7f6ba57d77a829e27d | 8,153 | cpp | C++ | 2nd semester/1st module/Task 5.cpp | a37h/MIPT-OOP-C-course-tasks | 6aeb915f11ba2a3a5a14eef87e703dd430eee76f | [
"MIT"
] | 1 | 2019-10-22T17:28:48.000Z | 2019-10-22T17:28:48.000Z | 2nd semester/1st module/Task 5.cpp | a37h/MIPT-OOP-C-course-tasks | 6aeb915f11ba2a3a5a14eef87e703dd430eee76f | [
"MIT"
] | null | null | null | 2nd semester/1st module/Task 5.cpp | a37h/MIPT-OOP-C-course-tasks | 6aeb915f11ba2a3a5a14eef87e703dd430eee76f | [
"MIT"
] | 1 | 2021-12-29T19:58:03.000Z | 2021-12-29T19:58:03.000Z | // ФИВТ | ООП на C++ | 2 семестр, 1 модуль, задача D
// https://contest.yandex.ru/contest/3970/problems/D/
// ............Зал круглых столов............
// Единственный способ попасть в Зал Круглых Столов – пройти через Колонный Коридор.
// Стены Коридора изображаются на карте прямыми линиями, которые параллельны о... | 28.506993 | 167 | 0.636575 | [
"vector"
] |
83cbecf3c3b4d0947fc460ed65f7c7202c5f57e8 | 1,773 | cpp | C++ | Engine/src/graphics/Window.cpp | DaanSander/Polygon-Engine | cdbf42b070c75f37d1e52caa788546f83156d80d | [
"MIT"
] | null | null | null | Engine/src/graphics/Window.cpp | DaanSander/Polygon-Engine | cdbf42b070c75f37d1e52caa788546f83156d80d | [
"MIT"
] | null | null | null | Engine/src/graphics/Window.cpp | DaanSander/Polygon-Engine | cdbf42b070c75f37d1e52caa788546f83156d80d | [
"MIT"
] | null | null | null | #include "Window.h"
namespace engine { namespace graphics {
extern "C" __declspec(dllexport) unsigned int NvOptimusEnablement = 0x1;
Window::Window(unsigned int width, unsigned int height, char* name) {
this->width = width;
this->height = height;
this->name = name;
if (!glfwInit()) {
printf("Could not ... | 21.888889 | 74 | 0.72194 | [
"render",
"vector"
] |
83d21bce4b9560f77d00e732ab6e2169efbf4e37 | 3,663 | hpp | C++ | src/Simulation.hpp | ericwolter/position-based-fluids | 30e92ead037b397573a0b7fb9fbac3770093793a | [
"MIT"
] | 2 | 2018-01-03T01:26:54.000Z | 2022-01-01T08:43:04.000Z | src/Simulation.hpp | ericwolter/position-based-fluids | 30e92ead037b397573a0b7fb9fbac3770093793a | [
"MIT"
] | null | null | null | src/Simulation.hpp | ericwolter/position-based-fluids | 30e92ead037b397573a0b7fb9fbac3770093793a | [
"MIT"
] | null | null | null | #ifndef __SIMULATION_HPP
#define __SIMULATION_HPP
#include <vector>
#include <map>
#include <string>
#include <iostream>
#include <cmath>
#include <stdexcept>
#include <assert.h>
#include <algorithm>
#include "hesp.hpp"
#include "Parameters.hpp"
#include "Particle.hpp"
#include "OCLPerfMon.h"
#include "OCL_Logger.h"
... | 23.785714 | 106 | 0.693967 | [
"vector"
] |
83d25cb04fcdee6a99d83f3c9f6d9edd0a5c31d7 | 4,737 | cpp | C++ | Sources/Internal/Systems/RenderSystem.cpp | nameless323/KiotoEngine | 3db271540b4cacdfbca697acfa029dd8caf72761 | [
"MIT"
] | 4 | 2019-04-26T15:48:10.000Z | 2020-06-02T02:15:07.000Z | Sources/Internal/Systems/RenderSystem.cpp | nameless323/KiotoEngine | 3db271540b4cacdfbca697acfa029dd8caf72761 | [
"MIT"
] | 2 | 2017-08-11T10:49:55.000Z | 2020-04-04T13:20:22.000Z | Sources/Internal/Systems/RenderSystem.cpp | nameless323/KiotoEngine | 3db271540b4cacdfbca697acfa029dd8caf72761 | [
"MIT"
] | 1 | 2021-02-07T08:28:04.000Z | 2021-02-07T08:28:04.000Z | #include "stdafx.h"
#include "Systems/RenderSystem.h"
#include "AssetsSystem/AssetsSystem.h"
#include "Component/LightComponent.h"
#include "Component/RenderComponent.h"
#include "Core/ECS/Entity.h"
#include "Render/Geometry/Mesh.h"
#include "Render/Material.h"
#include "Render/Shader.h"
#include "Render/RenderObject... | 29.240741 | 124 | 0.708887 | [
"mesh",
"geometry",
"render"
] |
83d5fd2a135e34114e95dfe4d7d21f6b1f724e64 | 2,121 | inl | C++ | src/cunumeric/matrix/potrf_template.inl | bryevdv/cunumeric | 7965ceb96d3252371c22cf32d38ac91c4db77a38 | [
"Apache-2.0"
] | null | null | null | src/cunumeric/matrix/potrf_template.inl | bryevdv/cunumeric | 7965ceb96d3252371c22cf32d38ac91c4db77a38 | [
"Apache-2.0"
] | null | null | null | src/cunumeric/matrix/potrf_template.inl | bryevdv/cunumeric | 7965ceb96d3252371c22cf32d38ac91c4db77a38 | [
"Apache-2.0"
] | null | null | null | /* Copyright 2021-2022 NVIDIA Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | 27.545455 | 90 | 0.712871 | [
"shape"
] |
83d6edc53585b0bab4cbda01207ab2312bd1a003 | 24,158 | cpp | C++ | Core/Utilities/QProgInfo/Visualization/DrawLatex.cpp | shenzhi-git/QPanda-2 | 62daccc913cfd5984c0b2ac27b7ef0574c921c29 | [
"Apache-2.0"
] | null | null | null | Core/Utilities/QProgInfo/Visualization/DrawLatex.cpp | shenzhi-git/QPanda-2 | 62daccc913cfd5984c0b2ac27b7ef0574c921c29 | [
"Apache-2.0"
] | null | null | null | Core/Utilities/QProgInfo/Visualization/DrawLatex.cpp | shenzhi-git/QPanda-2 | 62daccc913cfd5984c0b2ac27b7ef0574c921c29 | [
"Apache-2.0"
] | null | null | null | #include "Core/Utilities/QProgInfo/Visualization/DrawLatex.h"
#include "Core/QuantumCircuit/QGate.h"
#include "Core/QuantumCircuit/QGlobalVariable.h"
#include "Core/QuantumCircuit/QuantumMeasure.h"
#include <sstream>
#include <memory>
#include <fstream>
namespace // namespace LATEX TOOL
{
const std::string LATEX_... | 33.977496 | 172 | 0.58817 | [
"vector"
] |
83d75bfee1f4abe17e68cb8ffcb486b03173dc6c | 5,674 | cpp | C++ | src/DataStructures/Model/Animator.cpp | MajorArkwolf/ICT398-Project-Red | 953f047507356aafdea856ff28f49de5b97b66cc | [
"MIT"
] | 2 | 2021-04-18T09:49:36.000Z | 2021-06-08T03:19:18.000Z | src/DataStructures/Model/Animator.cpp | MajorArkwolf/ICT398-Project-Red | 953f047507356aafdea856ff28f49de5b97b66cc | [
"MIT"
] | null | null | null | src/DataStructures/Model/Animator.cpp | MajorArkwolf/ICT398-Project-Red | 953f047507356aafdea856ff28f49de5b97b66cc | [
"MIT"
] | 1 | 2022-03-14T06:06:07.000Z | 2022-03-14T06:06:07.000Z | #include "Animator.hpp"
#include "Engine/Engine.hpp"
void model::Animator::BoneTransform(double TimeInSeconds) {
transforms_.resize(100);
animation_time_ += TimeInSeconds;
if (animated_model_ != nullptr) {
if (loaded_animation_ != nullptr) {
if (animated_model_->is_animated_) {
... | 43.312977 | 118 | 0.673246 | [
"model",
"transform"
] |
83d86a554fc0897f289a3bbe26af780f7d29cfa9 | 872 | cpp | C++ | atcoder/abc011/C/main.cpp | xirc/cp-algorithm | 89c67cff2f00459c5bb020ab44bff5ae419a1728 | [
"Apache-2.0"
] | 8 | 2020-12-23T07:54:53.000Z | 2021-11-23T02:46:35.000Z | atcoder/abc011/C/main.cpp | xirc/cp-algorithm | 89c67cff2f00459c5bb020ab44bff5ae419a1728 | [
"Apache-2.0"
] | 1 | 2020-11-07T13:22:29.000Z | 2020-12-20T12:54:00.000Z | atcoder/abc011/C/main.cpp | xirc/cp-algorithm | 89c67cff2f00459c5bb020ab44bff5ae419a1728 | [
"Apache-2.0"
] | 1 | 2021-01-16T03:40:10.000Z | 2021-01-16T03:40:10.000Z | #include <bits/stdc++.h>
using namespace std;
using ll = int64_t;
int N;
vector<int> G(3);
bool solve() {
if (find(G.begin(), G.end(), N) != G.end()) return false;
int c = 0;
while (N > 0) {
int PN = N;
for (int x = 3; x > 0; --x) {
if (N - x < 0) continue;
bool pa... | 20.27907 | 61 | 0.369266 | [
"vector"
] |
83d9cea83b92a9f4140cb7dd5bf4bf86c20d5340 | 1,122 | cpp | C++ | FakeReal/Source/Engine/Graphic/Node/Model/Bone.cpp | UGEL4/FakeReal | 4ffc39fc500629fd537f688c56d5acdfc34d0b30 | [
"Apache-2.0"
] | null | null | null | FakeReal/Source/Engine/Graphic/Node/Model/Bone.cpp | UGEL4/FakeReal | 4ffc39fc500629fd537f688c56d5acdfc34d0b30 | [
"Apache-2.0"
] | null | null | null | FakeReal/Source/Engine/Graphic/Node/Model/Bone.cpp | UGEL4/FakeReal | 4ffc39fc500629fd537f688c56d5acdfc34d0b30 | [
"Apache-2.0"
] | null | null | null | #include "Bone.h"
#include "../../Stream/Property.h"
namespace FakeReal {
IMPLEMENT_RTTI(Bone, Node);
IMPLEMENT_INITIAL_BEGIN(Bone)
IMPLEMENT_INITIAL_END;
BEGIN_ADD_PROPERTY(Bone, Node)
REGISTER_PROPERTY(mInvBindPos, "InvBindPos", Property::F_SAVE_LOAD_CLONE)
REGISTER_PROPERTY(mIndex, "Bone Index", Property::F_S... | 19.016949 | 74 | 0.688948 | [
"vector"
] |
83d9dbfdb0945ce46429b17b146ed57b7d8a377b | 12,836 | cc | C++ | content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc | Fusion-Rom/android_external_chromium_org | d8b126911c6ea9753e9f526bee5654419e1d0ebd | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2019-02-03T05:32:07.000Z | 2019-02-03T05:32:07.000Z | content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc | Fusion-Rom/android_external_chromium_org | d8b126911c6ea9753e9f526bee5654419e1d0ebd | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc | Fusion-Rom/android_external_chromium_org | d8b126911c6ea9753e9f526bee5654419e1d0ebd | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2020-11-04T06:34:36.000Z | 2020-11-04T06:34:36.000Z | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h"
#include "third_party/khronos/GLES2/gl2.h"
#ifndef GL_GLEXT_PROTOTYPE... | 31.693827 | 80 | 0.735587 | [
"object",
"vector"
] |
83da0e907f8f8b3d4644962643ce74a267b24ceb | 3,077 | cpp | C++ | Mistix_The_Right_One/BarricadeManager.cpp | Subve/Mistix | 72615ec36b387ae905ffd630b384fc7859b4e2d9 | [
"MIT"
] | null | null | null | Mistix_The_Right_One/BarricadeManager.cpp | Subve/Mistix | 72615ec36b387ae905ffd630b384fc7859b4e2d9 | [
"MIT"
] | null | null | null | Mistix_The_Right_One/BarricadeManager.cpp | Subve/Mistix | 72615ec36b387ae905ffd630b384fc7859b4e2d9 | [
"MIT"
] | null | null | null | #include "BarricadeManager.h"
BarricadeManager::BarricadeManager()
{
}
BarricadeManager::~BarricadeManager()
{
}
void BarricadeManager::SpawnBarricades(std::vector<std::unique_ptr<Barricade>>& barykady,int &barricade_startamount)
{
int amount_barricades = 0;
while(amount_barricades<barricade_startamount)
{
... | 25.641667 | 151 | 0.682808 | [
"vector"
] |
83deefd7aa7526022ffda34f03b99cb0b8decb71 | 2,293 | cpp | C++ | kernel/devices/pci/VirtioQueue.cpp | DeanoBurrito/northport | 6da490b02bfe7d0a12a25316db879ecc249be1c7 | [
"MIT"
] | 19 | 2021-12-10T12:48:44.000Z | 2022-03-30T09:17:14.000Z | kernel/devices/pci/VirtioQueue.cpp | DeanoBurrito/northport | 6da490b02bfe7d0a12a25316db879ecc249be1c7 | [
"MIT"
] | 24 | 2021-11-30T10:00:05.000Z | 2022-03-29T10:19:21.000Z | kernel/devices/pci/VirtioQueue.cpp | DeanoBurrito/northport | 6da490b02bfe7d0a12a25316db879ecc249be1c7 | [
"MIT"
] | 2 | 2021-11-24T00:52:10.000Z | 2021-12-27T23:47:32.000Z | #include <devices/pci/VirtioQueue.h>
#include <memory/PhysicalMemory.h>
namespace Kernel::Devices::Pci
{
sl::Vector<VirtioQueue> VirtioQueue::FindQueues(VirtioPciCommonConfig* config)
{
volatile VirtioPciCommonConfig* cfg = config;
sl::Vector<VirtioQueue> queues;
for (size_t i = 0; i <... | 30.986486 | 110 | 0.597034 | [
"vector"
] |
83df34bfd60fc2178c720ce34badaf0134cc2f1f | 4,731 | cpp | C++ | oanda_v20/test/src/oanda_exception_test.cpp | CodeRancher/offcenter_oanda | c7817299b2c7199508307b2379179923e3f60fdc | [
"Apache-2.0"
] | null | null | null | oanda_v20/test/src/oanda_exception_test.cpp | CodeRancher/offcenter_oanda | c7817299b2c7199508307b2379179923e3f60fdc | [
"Apache-2.0"
] | null | null | null | oanda_v20/test/src/oanda_exception_test.cpp | CodeRancher/offcenter_oanda | c7817299b2c7199508307b2379179923e3f60fdc | [
"Apache-2.0"
] | null | null | null | /**
* Copyright 2020 Scott Brauer
*
* 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 t... | 37.547619 | 161 | 0.730501 | [
"vector"
] |
83e3358924f951208fece963b26a89dbdc469dbe | 14,042 | cpp | C++ | Framework/Common/GraphicsManager.cpp | ucchen/GameEngineFromScratch | e8d3abd71149682097a69b0fbab2f2029aee7952 | [
"MIT"
] | 1 | 2020-05-25T11:34:54.000Z | 2020-05-25T11:34:54.000Z | Framework/Common/GraphicsManager.cpp | SaeruHikari/GameEngineFromScratch | 940564362b5da9c2873d267cb54107a2ce8e8c4c | [
"MIT"
] | null | null | null | Framework/Common/GraphicsManager.cpp | SaeruHikari/GameEngineFromScratch | 940564362b5da9c2873d267cb54107a2ce8e8c4c | [
"MIT"
] | null | null | null | #include <iostream>
#include <cstring>
#include "GraphicsManager.hpp"
#include "SceneManager.hpp"
#include "IApplication.hpp"
#include "IPhysicsManager.hpp"
#include "ForwardGeometryPass.hpp"
#include "ShadowMapPass.hpp"
#include "BRDFIntegrator.hpp"
using namespace My;
using namespace std;
int GraphicsManager::Initi... | 34.16545 | 125 | 0.609457 | [
"geometry",
"object",
"transform"
] |
83eda78cd3ec6f136fd0963b24e9b228eda0d83f | 61,599 | cpp | C++ | project/test/basic_parser/exception.cpp | daishe/commander | 0a23abcbe406e234a4242e0d508bb89d72b28e25 | [
"BSL-1.0"
] | null | null | null | project/test/basic_parser/exception.cpp | daishe/commander | 0a23abcbe406e234a4242e0d508bb89d72b28e25 | [
"BSL-1.0"
] | null | null | null | project/test/basic_parser/exception.cpp | daishe/commander | 0a23abcbe406e234a4242e0d508bb89d72b28e25 | [
"BSL-1.0"
] | null | null | null | // Copyright Marek Dalewski 2017
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE.md or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#include <commander/parser.hpp>
#include <boost/test/unit_test.hpp>
#include "helpers.hpp"
#include <... | 42.658587 | 115 | 0.453092 | [
"vector"
] |
83f77bfb9f61bc03d94054cfae86957fd112c3d1 | 3,716 | hpp | C++ | dfg/iter/CustomAccessIterator.hpp | tc3t/dfglib | 7157973e952234a010da8e9fbd551a912c146368 | [
"MIT",
"BSL-1.0",
"BSD-3-Clause"
] | 1 | 2017-08-01T04:42:29.000Z | 2017-08-01T04:42:29.000Z | dfg/iter/CustomAccessIterator.hpp | tc3t/dfglib | 7157973e952234a010da8e9fbd551a912c146368 | [
"MIT",
"BSL-1.0",
"BSD-3-Clause"
] | 128 | 2018-04-06T23:01:51.000Z | 2022-03-31T20:19:38.000Z | dfg/iter/CustomAccessIterator.hpp | tc3t/dfglib | 7157973e952234a010da8e9fbd551a912c146368 | [
"MIT",
"BSL-1.0",
"BSD-3-Clause"
] | 3 | 2018-03-21T01:11:05.000Z | 2021-04-05T19:20:31.000Z | #pragma once
#include "../dfgDefs.hpp"
#include <iterator>
#include <tuple>
DFG_ROOT_NS_BEGIN{ DFG_SUB_NS(iter) {
// Iterator that provides custom access for existing iterator, for example iterator of int elements in std::vector<std::pair<int, double>>
template <class MainIterator_T, class Access_T>
class CustomAcce... | 27.525926 | 138 | 0.670883 | [
"vector"
] |
83f8d67b0b4c4d83175a0a775cf919113ca22e3b | 2,730 | cpp | C++ | C++/Paradigm/3. Reduce.cpp | Alfonsxh/GeekbangNotes | 3949b26f10d73c2040399b32c18caac06f5823f1 | [
"Apache-2.0"
] | null | null | null | C++/Paradigm/3. Reduce.cpp | Alfonsxh/GeekbangNotes | 3949b26f10d73c2040399b32c18caac06f5823f1 | [
"Apache-2.0"
] | null | null | null | C++/Paradigm/3. Reduce.cpp | Alfonsxh/GeekbangNotes | 3949b26f10d73c2040399b32c18caac06f5823f1 | [
"Apache-2.0"
] | null | null | null | //
// Created by xiaohui on 19-1-24.
//
#include <iostream>
#include <string>
#include <vector>
using namespace std;
/// 模板函数只遍历可迭代对象
/// \tparam Iter 迭代器类型
/// \tparam T 原始类型
/// \tparam Op 操作函数返回类型
/// \param start 迭代开始处
/// \param end 迭代结束处
/// \param init 结果初始化值
/// \param op 操作函数
/// \return
template<class Iter... | 29.673913 | 120 | 0.579487 | [
"vector"
] |
860940bec1ee0024bf8573b167a174f6b9b12717 | 2,299 | cpp | C++ | source/net/Net.cpp | wnewbery/cpphttp | adfc148716bc65aff29e881d1872c9dea6fc6af9 | [
"MIT"
] | 19 | 2017-03-28T02:17:42.000Z | 2021-02-12T03:26:58.000Z | source/net/Net.cpp | wnewbery/cpphttp | adfc148716bc65aff29e881d1872c9dea6fc6af9 | [
"MIT"
] | 3 | 2016-07-14T10:15:06.000Z | 2016-11-22T21:04:01.000Z | source/net/Net.cpp | wnewbery/cpphttp | adfc148716bc65aff29e881d1872c9dea6fc6af9 | [
"MIT"
] | 9 | 2017-10-19T07:15:42.000Z | 2019-09-17T07:08:25.000Z | #include "net/Net.hpp"
#include "net/Os.hpp"
#include "String.hpp"
#include <cassert>
#ifdef HTTP_USE_OPENSSL
#include "net/OpenSsl.hpp"
#endif
#ifdef _WIN32
#include "net/Schannel.hpp"
namespace http
{
namespace detail
{
SecurityFunctionTableW *sspi;
}
void init_net()
{
WSADATA ... | 22.105769 | 104 | 0.588082 | [
"vector"
] |
860fd3a02c2792311a4cd8aec1aa131fd88b435d | 2,202 | cpp | C++ | test/test_rewind.cpp | stfc-aeg/odin-data | 6c6353a11e0b813fc9db866ba610649dbbec95da | [
"Apache-2.0"
] | 7 | 2018-06-12T15:48:52.000Z | 2021-06-01T03:50:42.000Z | test/test_rewind.cpp | stfc-aeg/odin-data | 6c6353a11e0b813fc9db866ba610649dbbec95da | [
"Apache-2.0"
] | 211 | 2017-05-18T13:38:02.000Z | 2022-03-03T11:05:47.000Z | test/test_rewind.cpp | dls-controls/odin-data | ddbfb90d361d0b397fcfd30df4a749faaa8c84d6 | [
"Apache-2.0"
] | 8 | 2017-05-15T08:05:05.000Z | 2022-03-13T18:31:41.000Z | #include <iostream>
#include <vector>
#include <hdf5.h>
#include <hdf5_hl.h>
int main(int argc, char *argv[]) {
hsize_t CHUNK_NX = 704;
hsize_t CHUNK_NY = 1484;
size_t buf_size = CHUNK_NX * CHUNK_NY * sizeof(int16_t);
int16_t data_buf[CHUNK_NY][CHUNK_NX];
int16_t one_buf[CHUNK_NY][CHUNK_NX];
uint32_t filte... | 33.876923 | 94 | 0.683015 | [
"vector"
] |
861760f7560fb45f00bffff0b5c5954b40d89517 | 16,359 | cpp | C++ | src/physics/characters.cpp | wareya/kotareci | 14c87d1364d442456f93cebe73a288f85b79ba74 | [
"Libpng"
] | null | null | null | src/physics/characters.cpp | wareya/kotareci | 14c87d1364d442456f93cebe73a288f85b79ba74 | [
"Libpng"
] | null | null | null | src/physics/characters.cpp | wareya/kotareci | 14c87d1364d442456f93cebe73a288f85b79ba74 | [
"Libpng"
] | null | null | null | #include "subroutines.hpp"
#include "../input.hpp"
#include "../components/player.hpp"
#include "../blib/bmath.hpp"
#include <vector>
#ifdef CLIENT
#include "../samples.hpp"
#endif
static const float basegravity = 720;
static const float max_gravity = 2000;
static const float maxspeed = 300;
stat... | 47.417391 | 187 | 0.420625 | [
"vector",
"model",
"transform"
] |
8622a71b233d145c261e6091e6e0d2cfa770408e | 34,389 | cpp | C++ | KeePass.1.39.a/KeePassLibCpp/Details/PwFileImpl.cpp | rrvt/KeePassLastPass | 217b627d906cf0af21ac69643a2d2e24e88f934b | [
"MIT"
] | null | null | null | KeePass.1.39.a/KeePassLibCpp/Details/PwFileImpl.cpp | rrvt/KeePassLastPass | 217b627d906cf0af21ac69643a2d2e24e88f934b | [
"MIT"
] | null | null | null | KeePass.1.39.a/KeePassLibCpp/Details/PwFileImpl.cpp | rrvt/KeePassLastPass | 217b627d906cf0af21ac69643a2d2e24e88f934b | [
"MIT"
] | null | null | null | /*
KeePass Password Safe - The Open-Source Password Manager
Copyright (C) 2003-2021 Dominik Reichl <dominik.reichl@t-online.de>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either versio... | 33.130058 | 117 | 0.70825 | [
"vector"
] |
8623f649de3b0e6daaccc10187f36b3f31b51a7c | 2,196 | cc | C++ | ppapi/proxy/plugin_resource_tracker_unittest.cc | kjthegod/chromium | cf940f7f418436b77e15b1ea23e6fa100ca1c91a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 231 | 2015-01-08T09:04:44.000Z | 2021-12-30T03:03:10.000Z | ppapi/proxy/plugin_resource_tracker_unittest.cc | j4ckfrost/android_external_chromium_org | a1a3dad8b08d1fcf6b6b36c267158ed63217c780 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2021-12-13T19:44:12.000Z | 2021-12-13T19:44:12.000Z | ppapi/proxy/plugin_resource_tracker_unittest.cc | j4ckfrost/android_external_chromium_org | a1a3dad8b08d1fcf6b6b36c267158ed63217c780 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 268 | 2015-01-21T05:53:28.000Z | 2022-03-25T22:09:01.000Z | // Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/memory/scoped_ptr.h"
#include "base/process/process.h"
#include "ppapi/proxy/mock_resource.h"
#include "ppapi/proxy/plugin_dispatcher.h... | 30.5 | 78 | 0.772769 | [
"object"
] |
86247a66af12cfc209e56d990b66269a4e7c8a0a | 36,687 | cpp | C++ | 3.PointMassEuler/PointMass_Euler/MathLib.cpp | Cabrra/Physics-Projects | 8fb3ec73b58ab1a2055e47b780bd298ef2c14bbb | [
"MIT"
] | 1 | 2021-12-10T07:34:04.000Z | 2021-12-10T07:34:04.000Z | 3.PointMassEuler/PointMass_Euler/MathLib.cpp | Cabrra/Physics-Projects | 8fb3ec73b58ab1a2055e47b780bd298ef2c14bbb | [
"MIT"
] | null | null | null | 3.PointMassEuler/PointMass_Euler/MathLib.cpp | Cabrra/Physics-Projects | 8fb3ec73b58ab1a2055e47b780bd298ef2c14bbb | [
"MIT"
] | null | null | null |
#include"MathLib.h"
/********************************************************************************************************************
Author : Richard Bahin
Function: Vector3D()
Input : none
Output ... | 44.415254 | 213 | 0.281898 | [
"vector"
] |
8626cc608fe0230091aae40a2e888d5928fd22d9 | 925 | cpp | C++ | continguousSubArrayOfEqualNumberOf0&1.cpp | anishmo99/CPP | a9e7f8e8a7a2cca7fe8ab2f6f4d1dff8e6cc2c49 | [
"MIT"
] | 2 | 2020-08-09T02:09:50.000Z | 2020-08-09T07:07:47.000Z | continguousSubArrayOfEqualNumberOf0&1.cpp | anishmo99/CPP | a9e7f8e8a7a2cca7fe8ab2f6f4d1dff8e6cc2c49 | [
"MIT"
] | null | null | null | continguousSubArrayOfEqualNumberOf0&1.cpp | anishmo99/CPP | a9e7f8e8a7a2cca7fe8ab2f6f4d1dff8e6cc2c49 | [
"MIT"
] | 4 | 2020-05-25T10:24:14.000Z | 2021-05-03T07:52:35.000Z | class Solution {
public:
int findMaxLength(vector<int>& nums) {
map<int,int>m;
int max_len=0,count=0;
for(int i=0;i<nums.size();i++)
{
count=count+(nums.at(i)==1?1:-1);
if(count==0)
{
max_len=max(max_len,i+1);
}
... | 21.511628 | 48 | 0.414054 | [
"vector"
] |
86270dc661f4f7bfdef7c282084a420e4e617fd3 | 1,782 | cpp | C++ | Basic Programs/CPP/BinaryTreeLifting.cpp | PrajaktaSathe/HacktoberFest2020 | e84fc7a513afe3dd75c7c28db1866d7f5e6a8147 | [
"MIT"
] | null | null | null | Basic Programs/CPP/BinaryTreeLifting.cpp | PrajaktaSathe/HacktoberFest2020 | e84fc7a513afe3dd75c7c28db1866d7f5e6a8147 | [
"MIT"
] | null | null | null | Basic Programs/CPP/BinaryTreeLifting.cpp | PrajaktaSathe/HacktoberFest2020 | e84fc7a513afe3dd75c7c28db1866d7f5e6a8147 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
#define LG 20
#define MAX_N 100005
int N, M, Q;
vector < pair < int , long long >> adj[MAX_N];
int dep[MAX_N], anc[LG][MAX_N];
long long dist[MAX_N], dist0[MAX_N], dist1[MAX_N];
void dfs(int u, int p)
{
anc[0][u] = p;
for (int i = 1; i < LG; i++)
anc[i][u... | 21.214286 | 60 | 0.427048 | [
"vector"
] |
862b32b533f76a7165db2dc00890be2528e5939e | 2,876 | cpp | C++ | samples/core/shared_ptr/Object.cpp | aphenriques/integral | 157b1e07905a88f7786d8823bde19a3546502912 | [
"MIT"
] | 40 | 2015-01-18T19:03:12.000Z | 2022-03-06T19:16:16.000Z | samples/core/shared_ptr/Object.cpp | aphenriques/integral | 157b1e07905a88f7786d8823bde19a3546502912 | [
"MIT"
] | 7 | 2019-06-25T20:53:27.000Z | 2021-01-16T14:14:52.000Z | samples/core/shared_ptr/Object.cpp | aphenriques/integral | 157b1e07905a88f7786d8823bde19a3546502912 | [
"MIT"
] | 7 | 2015-05-13T12:31:15.000Z | 2019-07-23T20:22:50.000Z | //
// Object.cpp
// integral
//
// MIT License
//
// Copyright (c) 2014, 2015, 2016, 2017, 2020 André Pereira Henriques (aphenriques (at) outlook (dot) com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to de... | 42.925373 | 151 | 0.675591 | [
"object"
] |
86314142129f088c607f8099af95aedf606398d0 | 13,835 | cpp | C++ | snpbridge.cpp | glennhickey/snpMerge | 2de237eb74f4baa83105e6becd109a8d76c83177 | [
"MIT"
] | 1 | 2020-04-19T10:47:50.000Z | 2020-04-19T10:47:50.000Z | snpbridge.cpp | glennhickey/snpMerge | 2de237eb74f4baa83105e6becd109a8d76c83177 | [
"MIT"
] | null | null | null | snpbridge.cpp | glennhickey/snpMerge | 2de237eb74f4baa83105e6becd109a8d76c83177 | [
"MIT"
] | null | null | null | /*
* Copyright (C) 2015 by Glenn Hickey (hickey@soe.ucsc.edu)
*
* Released under the MIT license, see LICENSE.cactus
*/
#include "snpbridge.h"
using namespace vcflib;
using namespace vg;
using namespace std;
SNPBridge::SNPBridge() : _vg(NULL)
{
}
SNPBridge::~SNPBridge()
{
}
void SNPBridge::processGraph(VG* vg,... | 27.781124 | 102 | 0.546151 | [
"vector"
] |
864cb6cca166ac122c2347d6e6f89ceea9570765 | 6,484 | hpp | C++ | engine/SparseLib/include/jit_domain/jit_spmm_default.hpp | intel/neural-compressor | 16a4a12045fcb468da4d33769aff2c1a5e2ba6ba | [
"Apache-2.0"
] | 172 | 2021-09-14T18:34:17.000Z | 2022-03-30T06:49:53.000Z | engine/SparseLib/include/jit_domain/jit_spmm_default.hpp | intel/neural-compressor | 16a4a12045fcb468da4d33769aff2c1a5e2ba6ba | [
"Apache-2.0"
] | 40 | 2021-09-14T02:26:12.000Z | 2022-03-29T08:34:04.000Z | engine/SparseLib/include/jit_domain/jit_spmm_default.hpp | intel/neural-compressor | 16a4a12045fcb468da4d33769aff2c1a5e2ba6ba | [
"Apache-2.0"
] | 33 | 2021-09-15T07:27:25.000Z | 2022-03-25T08:30:57.000Z | // Copyright (c) 2021 Intel Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or... | 48.38806 | 120 | 0.677822 | [
"shape",
"vector"
] |
86557dd365c22a96aa6faf6ffb1d7364e09853c9 | 705 | hxx | C++ | src/utility/DetectorStop.hxx | TWLord/DUNEPrismTools | bde52eb1331ac10ba81cdf1bf63488707bfe5496 | [
"MIT"
] | null | null | null | src/utility/DetectorStop.hxx | TWLord/DUNEPrismTools | bde52eb1331ac10ba81cdf1bf63488707bfe5496 | [
"MIT"
] | null | null | null | src/utility/DetectorStop.hxx | TWLord/DUNEPrismTools | bde52eb1331ac10ba81cdf1bf63488707bfe5496 | [
"MIT"
] | 3 | 2018-01-09T20:57:33.000Z | 2019-11-24T03:48:28.000Z | #ifndef DP_DETECTORSTOP_HXX_SEEN
#define DP_DETECTORSTOP_HXX_SEEN
#include "TXMLEngine.h"
#include <string>
#include <vector>
namespace {
static std::string const rptagname = "RunPlan";
static std::string const dstagname = "Detector";
static std::string const sstagname = "Stops";
static std::string const stagname = ... | 22.03125 | 62 | 0.757447 | [
"vector"
] |
865c0bead16610964758ff7ac7e36c376b461427 | 21,435 | cxx | C++ | ITSMFT/ITS/ITSUpgradeRec/AliITSUVertexer.cxx | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 1 | 2017-04-27T17:28:15.000Z | 2017-04-27T17:28:15.000Z | ITSMFT/ITS/ITSUpgradeRec/AliITSUVertexer.cxx | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 3 | 2017-07-13T10:54:50.000Z | 2018-04-17T19:04:16.000Z | ITSMFT/ITS/ITSUpgradeRec/AliITSUVertexer.cxx | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 5 | 2017-03-29T12:21:12.000Z | 2018-01-15T15:52:24.000Z | #include <Riostream.h>
#include <TBranch.h>
#include <TClonesArray.h>
#include <TMath.h>
#include <TString.h>
#include <TTree.h>
#include "AliESDVertex.h"
#include "AliITSUClusterLines.h"
#include "AliITSUClusterPix.h"
#include "AliITSUVertexer.h"
#include "AliLog.h"
#include "AliStrLine.h"
#include "AliVertexerTracks.... | 34.241214 | 191 | 0.616422 | [
"vector"
] |
8670f81fdede82be35c8f684fb9a00182915ab80 | 1,655 | cpp | C++ | nas.cpp | danmastalerz/asd-playground | 30fe094dce52bc432bc4ba2fd485b101818fc09b | [
"MIT"
] | null | null | null | nas.cpp | danmastalerz/asd-playground | 30fe094dce52bc432bc4ba2fd485b101818fc09b | [
"MIT"
] | null | null | null | nas.cpp | danmastalerz/asd-playground | 30fe094dce52bc432bc4ba2fd485b101818fc09b | [
"MIT"
] | null | null | null | /*
idea taka, że dla każdej wartości mamy zbiór pozycji na których ta wartość występuje
potem dla każdej wartości szukamy najdłuższego spójnego podciągu rosnącego o 1 w tym zbiorze
i bierzemy maksa z tego
ale to nie przechodziło pamięciowo xD
więc zamiast map<int, set<int>> jest map<int, vector<int>> a potem usuwa... | 23.985507 | 96 | 0.503927 | [
"vector"
] |
8671dec872326902dcf27a20d4d3782ae3364110 | 5,235 | cpp | C++ | src/SystemVector.cpp | spraetor/amdis2 | 53c45c81a65752a8fafbb54f9ae6724a86639dcd | [
"MIT"
] | 2 | 2018-07-04T16:44:04.000Z | 2021-01-03T07:26:27.000Z | src/SystemVector.cpp | spraetor/amdis2 | 53c45c81a65752a8fafbb54f9ae6724a86639dcd | [
"MIT"
] | null | null | null | src/SystemVector.cpp | spraetor/amdis2 | 53c45c81a65752a8fafbb54f9ae6724a86639dcd | [
"MIT"
] | null | null | null | #include "SystemVector.hpp"
#include "DOFVector.hpp"
#include "DOFVectorOperations.hpp"
#include "MatrixVector.hpp"
namespace AMDiS
{
SystemVector::SystemVector(std::string name_,
std::vector<FiniteElemSpace const*> feSpace_,
int size,
... | 24.348837 | 89 | 0.594842 | [
"vector"
] |
8672668ab9357d86219a3d04c3378634c2ff8b75 | 6,931 | cpp | C++ | Applications/Scale/scale.cpp | MariaHammer/opensim-core_HaeufleMuscle | 96257e9449d9ac430bbb54e56cd13aaebeee1242 | [
"Apache-2.0"
] | 532 | 2015-03-13T18:51:10.000Z | 2022-03-27T08:08:29.000Z | Applications/Scale/scale.cpp | MariaHammer/opensim-core_HaeufleMuscle | 96257e9449d9ac430bbb54e56cd13aaebeee1242 | [
"Apache-2.0"
] | 2,701 | 2015-01-03T21:33:34.000Z | 2022-03-30T07:13:41.000Z | Applications/Scale/scale.cpp | MariaHammer/opensim-core_HaeufleMuscle | 96257e9449d9ac430bbb54e56cd13aaebeee1242 | [
"Apache-2.0"
] | 271 | 2015-02-16T23:25:29.000Z | 2022-03-30T20:12:17.000Z | /* -------------------------------------------------------------------------- *
* OpenSim: scale.cpp *
* -------------------------------------------------------------------------- *
* The OpenSim API is a toolkit for musculoskeletal modeling and simulation. *
... | 41.011834 | 109 | 0.515221 | [
"object",
"model"
] |
86867745dff84637f1fc32219ad053aceea2e414 | 1,301 | cpp | C++ | 2017.8.4/c.cpp | 1980744819/ACM-code | a697242bc963e682e552e655e3d78527e044e854 | [
"Apache-2.0"
] | null | null | null | 2017.8.4/c.cpp | 1980744819/ACM-code | a697242bc963e682e552e655e3d78527e044e854 | [
"Apache-2.0"
] | null | null | null | 2017.8.4/c.cpp | 1980744819/ACM-code | a697242bc963e682e552e655e3d78527e044e854 | [
"Apache-2.0"
] | null | null | null | #include<cstdio>
#include<string>
#include<cstring>
#include<cstdlib>
#include<cmath>
#include<iostream>
#include<algorithm>
#include<vector>
#include<queue>
#include<map>
#include<set>
#include<stack>
#define ll long long
#define read(a) scanf("%d",&a);
const int maxn=20;
const int inf=99999999;
int c[maxn][maxn];
int... | 17.346667 | 41 | 0.566487 | [
"vector"
] |
8686906b25cfc4f08cfe9910cb1ca259cb4918f9 | 928 | cpp | C++ | Tree/105_ConstructBinaryTreefromPreorderandInorderTraversal.cpp | trierbo/OJCode | 327f78b12d3461f64c42375d611b6b65e71f4f78 | [
"MIT"
] | null | null | null | Tree/105_ConstructBinaryTreefromPreorderandInorderTraversal.cpp | trierbo/OJCode | 327f78b12d3461f64c42375d611b6b65e71f4f78 | [
"MIT"
] | null | null | null | Tree/105_ConstructBinaryTreefromPreorderandInorderTraversal.cpp | trierbo/OJCode | 327f78b12d3461f64c42375d611b6b65e71f4f78 | [
"MIT"
] | null | null | null | #include <cstddef>
#include <vector>
#include <algorithm>
using namespace std;
struct TreeNode {
int val;
TreeNode *left;
TreeNode *right;
TreeNode(int x) : val(x), left(NULL), right(NULL) {}
};
class Solution {
public:
TreeNode* buildTree(vector<int>& preorder, vector<int>& inorder) {
ret... | 32 | 111 | 0.649784 | [
"vector"
] |
868a8838be2a1f2175b4afdf726d24fb7b2cc12d | 2,185 | hpp | C++ | libcaf_core/caf/ipv4_endpoint.hpp | seewpx/actor-framework | 65ecf35317b81d7a211848d59e734f43483fe410 | [
"BSD-3-Clause"
] | 2,517 | 2015-01-04T22:19:43.000Z | 2022-03-31T12:20:48.000Z | libcaf_core/caf/ipv4_endpoint.hpp | seewpx/actor-framework | 65ecf35317b81d7a211848d59e734f43483fe410 | [
"BSD-3-Clause"
] | 894 | 2015-01-07T14:21:21.000Z | 2022-03-30T06:37:18.000Z | libcaf_core/caf/ipv4_endpoint.hpp | seewpx/actor-framework | 65ecf35317b81d7a211848d59e734f43483fe410 | [
"BSD-3-Clause"
] | 570 | 2015-01-21T18:59:33.000Z | 2022-03-31T19:00:02.000Z | // This file is part of CAF, the C++ Actor Framework. See the file LICENSE in
// the main distribution directory for license terms and copyright or visit
// https://github.com/actor-framework/actor-framework/blob/master/LICENSE.
#pragma once
#include <cstdint>
#include <functional>
#include "caf/detail/comparable.hp... | 26.011905 | 80 | 0.652632 | [
"object"
] |
868ccb484c2e53e89f6a09a4fd455c8da7f81fcb | 1,197 | hpp | C++ | include/bvh.hpp | DestinationStellar/TrivalRayTracing | 881cc654685fae27b90195fd9b917e0ed7d1b4a2 | [
"MIT"
] | null | null | null | include/bvh.hpp | DestinationStellar/TrivalRayTracing | 881cc654685fae27b90195fd9b917e0ed7d1b4a2 | [
"MIT"
] | null | null | null | include/bvh.hpp | DestinationStellar/TrivalRayTracing | 881cc654685fae27b90195fd9b917e0ed7d1b4a2 | [
"MIT"
] | null | null | null | #ifndef BVHH
#define BVHH
#include "object3d.hpp"
#include "group.hpp"
#include <algorithm>
#include <memory>
using std::shared_ptr;
class BVHnode : public Object3D {
public:
BVHnode();
BVHnode(const Group& list, double time0, double time1)
: BVHnode(list.getObjects(), 0, list.ge... | 24.428571 | 95 | 0.671679 | [
"vector"
] |
868d39ab3965bda725bfc50267f7c1707d6e93a3 | 43,406 | cpp | C++ | tf2_src/game/client/tf/tf_hud_weaponselection.cpp | d3fc0n6/TeamFortress2 | 1b81dded673d49adebf4d0958e52236ecc28a956 | [
"MIT"
] | 4 | 2021-10-03T05:16:55.000Z | 2021-12-28T16:49:27.000Z | tf2_src/game/client/tf/tf_hud_weaponselection.cpp | Counter2828/TeamFortress2 | 1b81dded673d49adebf4d0958e52236ecc28a956 | [
"MIT"
] | null | null | null | tf2_src/game/client/tf/tf_hud_weaponselection.cpp | Counter2828/TeamFortress2 | 1b81dded673d49adebf4d0958e52236ecc28a956 | [
"MIT"
] | 3 | 2022-02-02T18:09:58.000Z | 2022-03-06T18:54:39.000Z | //========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//=============================================================================
#include "cbase.h"
#include "weapon_selection.h"
#include "iclientmode.h"
#include "history_resource.h"
#include "hud_macros.h"
#include <KeyV... | 28.975968 | 187 | 0.62542 | [
"model"
] |
8697bb5dd1304899fa83e3ca429088dda9110b2e | 7,251 | cc | C++ | src/idt/targets/typescript_cpp_v8/core/compiler_environment.cc | aabtop/reify | ddc7ce0250ecba78755eaa4793ad8135e4009131 | [
"MIT"
] | 6 | 2020-05-19T21:35:10.000Z | 2021-06-22T15:49:04.000Z | src/idt/targets/typescript_cpp_v8/core/compiler_environment.cc | aabtop/reify | ddc7ce0250ecba78755eaa4793ad8135e4009131 | [
"MIT"
] | 26 | 2020-05-24T20:56:39.000Z | 2021-09-04T04:46:30.000Z | src/idt/targets/typescript_cpp_v8/core/compiler_environment.cc | aabtop/reify | ddc7ce0250ecba78755eaa4793ad8135e4009131 | [
"MIT"
] | null | null | null | #include <fmt/format.h>
#include <fstream>
#include <iostream>
#include <string_view>
#include "compiled_module_impl.h"
#include "project.h"
#include "public_include/reify/typescript_cpp_v8/typescript_cpp_v8.h"
#include "typescript_compiler.h"
namespace reify {
namespace typescript_cpp_v8 {
class CompilerEnvironmen... | 35.028986 | 80 | 0.701834 | [
"object",
"vector"
] |
869eb23fa4e381d9d01f4b53969adbc5470bebe3 | 4,196 | cc | C++ | chrome/browser/sync/notifier/base/async_dns_lookup.cc | rwatson/chromium-capsicum | b03da8e897f897c6ad2cda03ceda217b760fd528 | [
"BSD-3-Clause"
] | 11 | 2015-03-20T04:08:08.000Z | 2021-11-15T15:51:36.000Z | chrome/browser/sync/notifier/base/async_dns_lookup.cc | rwatson/chromium-capsicum | b03da8e897f897c6ad2cda03ceda217b760fd528 | [
"BSD-3-Clause"
] | null | null | null | chrome/browser/sync/notifier/base/async_dns_lookup.cc | rwatson/chromium-capsicum | b03da8e897f897c6ad2cda03ceda217b760fd528 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2009 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/sync/notifier/base/async_dns_lookup.h"
#include "build/build_config.h"
#if defined(OS_POSIX)
#include <arpa/inet.h>
#includ... | 30.852941 | 79 | 0.647521 | [
"vector"
] |
86a7b343606a7bcbeff867a87d66a57fd609db20 | 1,690 | cpp | C++ | games/chess/gameManager.cpp | stewythe1st/sir-checkmatesalot | 136f25aba36420fbf4c51b365c012d4f4f1dc7f9 | [
"MIT"
] | null | null | null | games/chess/gameManager.cpp | stewythe1st/sir-checkmatesalot | 136f25aba36420fbf4c51b365c012d4f4f1dc7f9 | [
"MIT"
] | null | null | null | games/chess/gameManager.cpp | stewythe1st/sir-checkmatesalot | 136f25aba36420fbf4c51b365c012d4f4f1dc7f9 | [
"MIT"
] | null | null | null | // $This is a class that manages the Chess Game and it's GameObjects. Competitors should never have to care about this class's existance.
#include "gameManager.h"
#include "ai.h"
// The Game Objects
#include "gameObject.h"
#include "move.h"
#include "piece.h"
#include "player.h"
Chess::GameManager::GameManager() :
... | 24.492754 | 137 | 0.648521 | [
"object"
] |
86a99e97dd53100b786c7118ad112d26dd83dcff | 17,341 | tcc | C++ | src/concurrent-utils/concurrent-queue.tcc | max-plutonium/concurrent-utils | bec4956b767581878acc98f2904dcfa9654084ec | [
"X11"
] | null | null | null | src/concurrent-utils/concurrent-queue.tcc | max-plutonium/concurrent-utils | bec4956b767581878acc98f2904dcfa9654084ec | [
"X11"
] | null | null | null | src/concurrent-utils/concurrent-queue.tcc | max-plutonium/concurrent-utils | bec4956b767581878acc98f2904dcfa9654084ec | [
"X11"
] | null | null | null | /*
* Copyright (C) 2014-2015 Max Plutonium <plutonium.max@gmail.com>
*
* 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 u... | 30.422807 | 88 | 0.635949 | [
"object"
] |
86b633275dbdf3466af4f007787bae05e9b0e826 | 4,629 | cpp | C++ | android/app/src/cpp/src/crypto/rx/RxQueue.cpp | chadananda/PocketMiner | 0f16b86853859c9b481ddbd20fc454c9692faa1a | [
"MIT"
] | 28 | 2021-05-11T03:28:57.000Z | 2022-03-09T14:34:57.000Z | android/app/src/cpp/src/crypto/rx/RxQueue.cpp | chadananda/PocketMiner | 0f16b86853859c9b481ddbd20fc454c9692faa1a | [
"MIT"
] | 10 | 2021-05-16T19:50:31.000Z | 2022-01-30T03:56:45.000Z | android/app/src/cpp/src/crypto/rx/RxQueue.cpp | chadananda/PocketMiner | 0f16b86853859c9b481ddbd20fc454c9692faa1a | [
"MIT"
] | 12 | 2021-07-19T22:14:58.000Z | 2022-02-08T02:24:05.000Z | /* XMRig
* Copyright (c) 2018 Lee Clagett <https://github.com/vtnerd>
* Copyright (c) 2018-2019 tevador <tevador@gmail.com>
* Copyright (c) 2018-2021 SChernykh <https://github.com/SChernykh>
* Copyright (c) 2016-2021 XMRig <https://github.com/xmrig>, <support@xmrig.com>
*
* This program is free... | 25.295082 | 172 | 0.632966 | [
"vector"
] |
86c1df8349b1da96de05e9fae61dcf580f629763 | 9,470 | cpp | C++ | c++/1.cpp | Crazyokd/leetcode-solution | 3aed88651fec391a02aba490ce72454c6f9e5409 | [
"MIT"
] | 1 | 2022-02-26T04:56:00.000Z | 2022-02-26T04:56:00.000Z | c++/1.cpp | Crazyokd/leetcode-solution | 3aed88651fec391a02aba490ce72454c6f9e5409 | [
"MIT"
] | null | null | null | c++/1.cpp | Crazyokd/leetcode-solution | 3aed88651fec391a02aba490ce72454c6f9e5409 | [
"MIT"
] | null | null | null | #include<iostream>
#include<vector>
#include<map>
#include<algorithm>
#include<cstring>
#include<regex>
using namespace std;
struct ListNode {
int val;
ListNode *next;
ListNode() : val(0), next(nullptr) {}
ListNode(int x) : val(x), next(nullptr) {}
ListNode(int x, ListNode *next) : val(x), next(ne... | 29.318885 | 118 | 0.420063 | [
"vector"
] |
86c690305d553a57d439665f9811253fd34fce9a | 953 | cpp | C++ | cpp/src/exercise/e0100/e0017.cpp | ajz34/LeetCodeLearn | 70ff8a3c17199a100819b356735cd9b13ff166a7 | [
"MIT"
] | null | null | null | cpp/src/exercise/e0100/e0017.cpp | ajz34/LeetCodeLearn | 70ff8a3c17199a100819b356735cd9b13ff166a7 | [
"MIT"
] | null | null | null | cpp/src/exercise/e0100/e0017.cpp | ajz34/LeetCodeLearn | 70ff8a3c17199a100819b356735cd9b13ff166a7 | [
"MIT"
] | null | null | null | #include "extern.h"
class Solution {
vector<string> LETTER { "", "", "abc", "def", "ghi", "jkl", "mno", "pqrs", "tuv", "wxyz" };
public:
vector<string> letterInter(string& digits, const vector<string>& strs) {
if (digits.empty()) return strs;
vector<string> result {};
int digit = digit... | 32.862069 | 95 | 0.565582 | [
"vector"
] |
86c6a0b77fc2c2454822611b659eb441fef03637 | 8,757 | cpp | C++ | src/syntax/parser_expr.cpp | ionlang/ionlang | 839a5fc3aa0b575dc43e61c6e833e90e00dc922d | [
"Unlicense"
] | 13 | 2020-08-20T15:01:10.000Z | 2021-11-25T05:53:01.000Z | src/syntax/parser_expr.cpp | ionlang/ion | 839a5fc3aa0b575dc43e61c6e833e90e00dc922d | [
"Unlicense"
] | 3 | 2020-08-10T18:55:52.000Z | 2021-10-11T06:33:07.000Z | src/syntax/parser_expr.cpp | ionlang/ion | 839a5fc3aa0b575dc43e61c6e833e90e00dc922d | [
"Unlicense"
] | 2 | 2019-06-30T14:58:47.000Z | 2019-09-24T20:01:57.000Z | #include <ionlang/const/grammar.h>
#include <ionlang/lexical/classifier.h>
#include <ionlang/syntax/parser.h>
namespace ionlang {
AstPtrResult<Expression<>> Parser::parseExpression(const std::shared_ptr<Block>& parent) {
AstPtrResult<Expression<>> primaryExpression = this->parsePrimaryExpr(parent);
... | 36.037037 | 140 | 0.638689 | [
"vector"
] |
f86a42e5ce238447338d2a124c66fcc84f46a5a5 | 5,654 | cpp | C++ | src/mapper.cpp | ympek/floodsar | 54d284d031e35b3e4c8bcf738f142ff12700b46c | [
"MIT"
] | null | null | null | src/mapper.cpp | ympek/floodsar | 54d284d031e35b3e4c8bcf738f142ff12700b46c | [
"MIT"
] | null | null | null | src/mapper.cpp | ympek/floodsar | 54d284d031e35b3e4c8bcf738f142ff12700b46c | [
"MIT"
] | null | null | null | #include <iostream>
#include <fstream>
#include <sstream>
#include <filesystem>
#include <cmath>
#include "gdal_priv.h"
#include "cpl_conv.h" // for CPLMalloc()
#include "ogrsf_frmts.h"
#include <sys/types.h>
#include <sys/wait.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <thread>
#include "XYPair.hpp"
#include... | 37.197368 | 1,203 | 0.655996 | [
"vector"
] |
f86dbf516c5a4f82b0bfc37370e8291ee8fea644 | 1,166 | cpp | C++ | Data Structure/Matrix/Print A Given Matrix in Spiral Form/SolutionByTanmay.cpp | Mdanish777/Programmers-Community | b5ca9582fc1cd4337baa7077ff62130a1052583f | [
"MIT"
] | 261 | 2019-09-30T19:47:29.000Z | 2022-03-29T18:20:07.000Z | Data Structure/Matrix/Print A Given Matrix in Spiral Form/SolutionByTanmay.cpp | Mdanish777/Programmers-Community | b5ca9582fc1cd4337baa7077ff62130a1052583f | [
"MIT"
] | 647 | 2019-10-01T16:51:29.000Z | 2021-12-16T20:39:44.000Z | Data Structure/Matrix/Print A Given Matrix in Spiral Form/SolutionByTanmay.cpp | Mdanish777/Programmers-Community | b5ca9582fc1cd4337baa7077ff62130a1052583f | [
"MIT"
] | 383 | 2019-09-30T19:32:07.000Z | 2022-03-24T16:18:26.000Z | #include <iostream>
#include <vector>
using namespace std;
void printSpriral(vector<vector<int>>& matrix)
{
int top = 0, right = matrix[0].size() - 1, bottom = matrix.size() - 1, left = 0;
while (top <= bottom && left <= right) {
for (int i = left; i <= right; i++) {
cout << matrix[top][i] ... | 22.423077 | 84 | 0.399657 | [
"vector"
] |
f873a7562e3042b0256373ef734afb37c23b67a9 | 4,034 | cc | C++ | mayz-src/AmisModel.cc | mynlp/enju | d984a630b30b95de16f3b715277e95dc6fbe15b4 | [
"Apache-2.0"
] | 48 | 2016-10-11T06:07:02.000Z | 2022-03-02T16:26:25.000Z | mayz-src/AmisModel.cc | mynlp/enju | d984a630b30b95de16f3b715277e95dc6fbe15b4 | [
"Apache-2.0"
] | 7 | 2017-02-13T09:14:34.000Z | 2019-01-18T06:06:29.000Z | mayz-src/AmisModel.cc | mynlp/enju | d984a630b30b95de16f3b715277e95dc6fbe15b4 | [
"Apache-2.0"
] | 18 | 2016-11-13T23:14:28.000Z | 2022-01-12T15:21:44.000Z | /**********************************************************************
*
* Copyright (c) 2005, Tsujii Laboratory, The University of Tokyo.
* All rights reserved.
*
* @file AmisModel.cc
* @version Time-stamp: <2006-06-03 19:27:52 yusuke>
* Classes for handling ME models
*
*********************************... | 32.532258 | 90 | 0.571145 | [
"vector",
"model"
] |
f881275fa0215f06f8d3c64e6c3cc9f43d3a1a87 | 9,123 | cpp | C++ | source/backend/colour/colutils.cpp | acekiller/povray | ae6837fb8625bb9ca00830f8871c90c87dd21b75 | [
"Zlib"
] | 1 | 2015-06-21T05:27:57.000Z | 2015-06-21T05:27:57.000Z | source/backend/colour/colutils.cpp | binji/povray | ae6837fb8625bb9ca00830f8871c90c87dd21b75 | [
"Zlib"
] | null | null | null | source/backend/colour/colutils.cpp | binji/povray | ae6837fb8625bb9ca00830f8871c90c87dd21b75 | [
"Zlib"
] | null | null | null | /*******************************************************************************
* colutils.cpp
*
* This module implements the utility functions for colors.
*
* from Persistence of Vision Ray Tracer ('POV-Ray') version 3.7.
* Copyright 1991-2003 Persistence of Vision Team
* Copyright 2003-2009 Persistence of Vis... | 38.821277 | 83 | 0.644744 | [
"vector"
] |
f886d648178c56aeab0f0ca9556c2a60a4703126 | 572 | cpp | C++ | src/carl/converter/CoCoAAdaptor.cpp | smtrat/carl-windows | 22b3a7677477cdbed9adc7619479ce82a0304666 | [
"MIT"
] | 29 | 2015-05-19T12:17:16.000Z | 2021-03-05T17:53:00.000Z | src/carl/converter/CoCoAAdaptor.cpp | smtrat/carl-windows | 22b3a7677477cdbed9adc7619479ce82a0304666 | [
"MIT"
] | 36 | 2016-10-26T12:47:11.000Z | 2021-03-03T15:19:38.000Z | src/carl/converter/CoCoAAdaptor.cpp | smtrat/carl-windows | 22b3a7677477cdbed9adc7619479ce82a0304666 | [
"MIT"
] | 16 | 2015-05-27T07:35:19.000Z | 2021-03-05T17:53:08.000Z | #include "CoCoAAdaptor.h"
#ifdef USE_COCOA
#include <CoCoA/library.H>
namespace carl {
namespace cocoawrapper {
CoCoA::RingElem gcd(const CoCoA::RingElem& p, const CoCoA::RingElem& q) {
return CoCoA::gcd(p, q);
}
CoCoA::factorization<CoCoA::RingElem> factor(const CoCoA::RingElem& p) {
return CoCoA::factor(p);
}
s... | 21.185185 | 83 | 0.725524 | [
"vector"
] |
f888af3fcf8c6c2a06ca2115ca092fd4f0e4e966 | 396 | cpp | C++ | leetcode/11_Container With Most Water.cpp | wllvcxz/leetcode | 82358a0946084ba935ca1870b5e3f7c29c03fac3 | [
"MIT"
] | null | null | null | leetcode/11_Container With Most Water.cpp | wllvcxz/leetcode | 82358a0946084ba935ca1870b5e3f7c29c03fac3 | [
"MIT"
] | null | null | null | leetcode/11_Container With Most Water.cpp | wllvcxz/leetcode | 82358a0946084ba935ca1870b5e3f7c29c03fac3 | [
"MIT"
] | null | null | null | #include <vector>
using namespace std;
class Solution {
public:
int maxArea(vector<int>& height) {
int l = 0;
int r = height.size()-1;
int maxv = 0;
while(l<r){
maxv = max(maxv, (r-l)*min(height[l], height[r]));
if(height[l]<height[r])
l++;
... | 19.8 | 62 | 0.431818 | [
"vector"
] |
f889e534ce4365b6aba2122aff6567241e3f896b | 1,072 | cpp | C++ | dataStructure.cpp | rgoettemoeller/Inceptive-Event-Filtering | f8f80f5dd72e438d3fdefd570b54706ca18d67a7 | [
"BSD-4-Clause-UC"
] | 1 | 2021-04-07T14:07:36.000Z | 2021-04-07T14:07:36.000Z | dataStructure.cpp | rgoettemoeller/Inceptive-Event-Filtering | f8f80f5dd72e438d3fdefd570b54706ca18d67a7 | [
"BSD-4-Clause-UC"
] | null | null | null | dataStructure.cpp | rgoettemoeller/Inceptive-Event-Filtering | f8f80f5dd72e438d3fdefd570b54706ca18d67a7 | [
"BSD-4-Clause-UC"
] | null | null | null | #include "dataStructure.h"
#include "inputCameraData_generated.h"
using namespace std;
using namespace Camera::Data;
//imports the data into a sorted array of structs
void fillTimeArray(values *ValuesElement, unsigned long long timeValue, short p)
{
for(int i = 0; i < sizeof(ValuesElement->t); i++)
{
... | 36.965517 | 170 | 0.663246 | [
"vector"
] |
f88effd2bbb589f0c6146264c8c1267ee21c2ea7 | 99,157 | cc | C++ | src/clang_indexer.cc | ioperations/cquery | 0b99257bb8f5f19d979b6c0cf916758beca1bcd9 | [
"MIT"
] | null | null | null | src/clang_indexer.cc | ioperations/cquery | 0b99257bb8f5f19d979b6c0cf916758beca1bcd9 | [
"MIT"
] | null | null | null | src/clang_indexer.cc | ioperations/cquery | 0b99257bb8f5f19d979b6c0cf916758beca1bcd9 | [
"MIT"
] | null | null | null | #include <algorithm>
#include <cassert>
#include <chrono>
#include <climits>
#include <iostream>
#include <loguru.hpp>
#include "clang_cursor.h"
#include "clang_utils.h"
#include "indexer.h"
#include "platform.h"
#include "serializer.h"
#include "timer.h"
#include "type_printer.h"
// TODO: See if we can use clang_ind... | 40.521864 | 133 | 0.583428 | [
"vector"
] |
f89039dda63490c7d8078fcea75fcbd22215ad44 | 9,179 | cpp | C++ | src/StorageFolding.cpp | trgardos/Halide | 3d895bcf7c9b6632dda6445c218ed2361b698584 | [
"MIT"
] | null | null | null | src/StorageFolding.cpp | trgardos/Halide | 3d895bcf7c9b6632dda6445c218ed2361b698584 | [
"MIT"
] | null | null | null | src/StorageFolding.cpp | trgardos/Halide | 3d895bcf7c9b6632dda6445c218ed2361b698584 | [
"MIT"
] | 1 | 2021-02-18T14:18:09.000Z | 2021-02-18T14:18:09.000Z | #include "StorageFolding.h"
#include "IROperator.h"
#include "IRMutator.h"
#include "Simplify.h"
#include "Bounds.h"
#include "IRPrinter.h"
#include "Substitute.h"
#include "Debug.h"
#include "Monotonic.h"
#include "ExprUsesVar.h"
namespace Halide {
namespace Internal {
using std::string;
using std::vector;
using std... | 32.434629 | 102 | 0.513346 | [
"vector"
] |
f8967b2a256ea2bd18816dd37f038a864bf58ef1 | 1,741 | cpp | C++ | 0001-0100/79-word-search/main.cpp | janreggie/leetcode | c59718e127b598c4de7d07c9c93064eb12b2e5c9 | [
"MIT",
"Unlicense"
] | null | null | null | 0001-0100/79-word-search/main.cpp | janreggie/leetcode | c59718e127b598c4de7d07c9c93064eb12b2e5c9 | [
"MIT",
"Unlicense"
] | null | null | null | 0001-0100/79-word-search/main.cpp | janreggie/leetcode | c59718e127b598c4de7d07c9c93064eb12b2e5c9 | [
"MIT",
"Unlicense"
] | null | null | null | #include <fstream>
#include <iostream>
#include <set>
#include <string>
#include <utility>
#include <vector>
class Solution
{
size_t _width, _height;
std::vector<std::vector<char>> _board;
std::string _word;
public:
bool exist(const std::vector<std::vector<char>>& board, const std::string& word)
{
_height = bo... | 19.561798 | 81 | 0.552556 | [
"vector"
] |
f89710adbe742717e1b07994359d52511326b8ea | 3,939 | cpp | C++ | LibMathematics/CurvesSurfacesVolumes/Wm5BSplineFitBasis.cpp | bazhenovc/WildMagic | b1a7cc2140dde23d8d9a4ece52a07bd5ff938239 | [
"BSL-1.0"
] | 48 | 2015-10-07T07:26:14.000Z | 2022-03-18T14:30:07.000Z | LibMathematics/CurvesSurfacesVolumes/Wm5BSplineFitBasis.cpp | zouxiaohang/WildMagic | b1a7cc2140dde23d8d9a4ece52a07bd5ff938239 | [
"BSL-1.0"
] | null | null | null | LibMathematics/CurvesSurfacesVolumes/Wm5BSplineFitBasis.cpp | zouxiaohang/WildMagic | b1a7cc2140dde23d8d9a4ece52a07bd5ff938239 | [
"BSL-1.0"
] | 21 | 2015-09-01T03:14:47.000Z | 2022-01-04T04:07:46.000Z | // Geometric Tools, LLC
// Copyright (c) 1998-2012
// Distributed under the Boost Software License, Version 1.0.
// http://www.boost.org/LICENSE_1_0.txt
// http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
//
// File Version: 5.0.1 (2010/10/01)
#include "Wm5MathematicsPCH.h"
#include "Wm5BSplineFitB... | 27.93617 | 79 | 0.503173 | [
"object"
] |
f89e47854d27361fc393c35b3a5188a2213290f9 | 1,006 | cc | C++ | examples/load_model/main.cc | Liuweiming/tensorflow_c | 2bb512ba20bafc21e1d6a9940b93cde8f4080ab5 | [
"MIT"
] | 1 | 2021-03-02T06:29:23.000Z | 2021-03-02T06:29:23.000Z | examples/load_model/main.cc | Liuweiming/tensorflow_c | 2bb512ba20bafc21e1d6a9940b93cde8f4080ab5 | [
"MIT"
] | null | null | null | examples/load_model/main.cc | Liuweiming/tensorflow_c | 2bb512ba20bafc21e1d6a9940b93cde8f4080ab5 | [
"MIT"
] | null | null | null | //
// Created by sergio on 16/05/19.
//
#include <iomanip>
#include <numeric>
#include "model.h"
#include "tensor.h"
using namespace tf_cpp;
int main() {
Model model("load_model.pb");
std::cout << "operations: -----------" << std::endl;
for (auto &op : model.get_operations()) {
std::cout... | 25.794872 | 68 | 0.540755 | [
"vector",
"model"
] |
f8a6f26c821fccb1b8850d02ae221834e55dcf06 | 5,551 | cpp | C++ | sources/obj/train.cpp | marcin-sucharski/Train3D | 7b271eb15e5479e596307047469ea5582ab062c2 | [
"MIT"
] | 2 | 2017-02-07T21:28:37.000Z | 2019-07-09T10:55:57.000Z | sources/obj/train.cpp | marcin-sucharski/Train3D | 7b271eb15e5479e596307047469ea5582ab062c2 | [
"MIT"
] | null | null | null | sources/obj/train.cpp | marcin-sucharski/Train3D | 7b271eb15e5479e596307047469ea5582ab062c2 | [
"MIT"
] | null | null | null | #include "train.h"
#include "../res/vertex-format.h"
#include "../res/mesh-generator.h"
#include <glm/gtx/vector_angle.hpp>
using namespace glm;
namespace train {
namespace obj {
const float Train::initialVelocity = 7.f;
const float Train::minimalVelocity = 2.f;
const float Train::plankLen... | 40.224638 | 117 | 0.554134 | [
"mesh",
"model"
] |
f8a70b6ad16d8d58bd79c355ecec18415ebff8a2 | 1,840 | cpp | C++ | src/ZeroDim.cpp | iit-DLSLab/locomotion-viewer | 854985b65204ecb4727e702227f896efe9a4c3e2 | [
"Apache-2.0"
] | 6 | 2020-04-06T10:09:14.000Z | 2022-01-07T02:05:06.000Z | src/ZeroDim.cpp | iit-DLSLab/locomotion-viewer | 854985b65204ecb4727e702227f896efe9a4c3e2 | [
"Apache-2.0"
] | null | null | null | src/ZeroDim.cpp | iit-DLSLab/locomotion-viewer | 854985b65204ecb4727e702227f896efe9a4c3e2 | [
"Apache-2.0"
] | 2 | 2018-12-24T12:17:26.000Z | 2021-03-01T23:21:10.000Z | //
// Created by Romeo Orsolino on 06/04/2020.
//
#include <locomotion_viewer/ZeroDim.h>
namespace locomotion_viewer {
ZeroDim::ZeroDim(std::string base_frame,
std::string marker_topic,
ros::NodeHandle nh) : RvizVisualTools(base_frame, marker_topic, nh) {}
ZeroDim::~Zer... | 31.724138 | 89 | 0.474457 | [
"vector"
] |
f8a97a4f8941fb5d19f6b9ae17dbe0bcbf2ca794 | 33,147 | cpp | C++ | build/cpp_test/src/massive/munit/client/PrintClientBase.cpp | TomBebb/hxecs | 80620512df7b32d70f1b59facdf8f6349192a166 | [
"BSD-3-Clause"
] | null | null | null | build/cpp_test/src/massive/munit/client/PrintClientBase.cpp | TomBebb/hxecs | 80620512df7b32d70f1b59facdf8f6349192a166 | [
"BSD-3-Clause"
] | null | null | null | build/cpp_test/src/massive/munit/client/PrintClientBase.cpp | TomBebb/hxecs | 80620512df7b32d70f1b59facdf8f6349192a166 | [
"BSD-3-Clause"
] | null | null | null | // Generated by Haxe 3.4.7
#include <hxcpp.h>
#ifndef INCLUDED_Lambda
#include <Lambda.h>
#endif
#ifndef INCLUDED_List
#include <List.h>
#endif
#ifndef INCLUDED_Std
#include <Std.h>
#endif
#ifndef INCLUDED_StringBuf
#include <StringBuf.h>
#endif
#ifndef INCLUDED_StringTools
#include <StringTools.h>
#endif
#ifndef INCL... | 44.078457 | 282 | 0.667904 | [
"object",
"3d"
] |
f8aa799938499ca5153fe8f49d4cce6f63accaf9 | 3,153 | cc | C++ | topcoder/tco2017/CheeseSlicing.cc | metaflow/contests | 5e9ffcb72c3e7da54b5e0818b1afa59f5778ffa2 | [
"MIT"
] | 1 | 2019-05-12T23:41:00.000Z | 2019-05-12T23:41:00.000Z | topcoder/tco2017/CheeseSlicing.cc | metaflow/contests | 5e9ffcb72c3e7da54b5e0818b1afa59f5778ffa2 | [
"MIT"
] | null | null | null | topcoder/tco2017/CheeseSlicing.cc | metaflow/contests | 5e9ffcb72c3e7da54b5e0818b1afa59f5778ffa2 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
using vi = vector<int>; using vvi = vector<vi>;
using ii = pair<int,int>; using vii = vector<ii>;
using l = long long; using vl = vector<l>; using vvl = vector<vl>;
using ll = pair<l,l>; using vll = vector<ll>; using vvll = vector<vll>;
using lu = unsigned long long;
usin... | 36.662791 | 308 | 0.567713 | [
"vector"
] |
f8ac06d7ef9d89805642b997862c937cf988aa59 | 21,239 | cpp | C++ | src/MainWindow.cpp | skytranlong/AxpFileManager | 3bc1643d528bf61440468e8a0b38791f35cf39c9 | [
"WTFPL"
] | null | null | null | src/MainWindow.cpp | skytranlong/AxpFileManager | 3bc1643d528bf61440468e8a0b38791f35cf39c9 | [
"WTFPL"
] | null | null | null | src/MainWindow.cpp | skytranlong/AxpFileManager | 3bc1643d528bf61440468e8a0b38791f35cf39c9 | [
"WTFPL"
] | 2 | 2021-11-10T07:18:29.000Z | 2022-01-06T07:45:54.000Z | #include "MainWindow.hpp"
#include "ui_MainWindow.h"
#include <QDirModel>
#include <QDesktopServices>
#include <QFileDialog>
#include <QFileIconProvider>
#include <QProcess>
#include <QLocale>
#include <QMutex>
#include <QMessageBox>
#include <QThread>
#include <QTimer>
#include <QDirIterator>
#include <... | 29.830056 | 132 | 0.637177 | [
"model"
] |
f8ad0f3e84d162a58de7a7f9ea35862563357c79 | 2,739 | hpp | C++ | spectral/basis/spectral_elem_collection.hpp | simonpp/2dRidgeletBTE | 5d08cbb5c57fc276c7a528f128615d23c37ef6a0 | [
"BSD-3-Clause"
] | 1 | 2019-11-08T03:15:56.000Z | 2019-11-08T03:15:56.000Z | spectral/basis/spectral_elem_collection.hpp | simonpp/2dRidgeletBTE | 5d08cbb5c57fc276c7a528f128615d23c37ef6a0 | [
"BSD-3-Clause"
] | null | null | null | spectral/basis/spectral_elem_collection.hpp | simonpp/2dRidgeletBTE | 5d08cbb5c57fc276c7a528f128615d23c37ef6a0 | [
"BSD-3-Clause"
] | 1 | 2019-11-08T03:15:56.000Z | 2019-11-08T03:15:56.000Z | #pragma once
#include <boost/fusion/algorithm/iteration/for_each.hpp>
#include <boost/fusion/container/map.hpp>
#include <boost/fusion/container/map/map_fwd.hpp>
#include <boost/fusion/include/at_key.hpp>
#include <boost/fusion/include/for_each.hpp>
#include <boost/fusion/include/map.hpp>
#include <boost/fusion/includ... | 25.361111 | 95 | 0.616283 | [
"vector"
] |
f8ae4306cd15877a1a1472cc6870cff571fa7bb9 | 11,671 | cpp | C++ | src/external/oculus/SampleCommon/Src/Render/DebugLines.cpp | korejan/OpenXR-SDK-Source | 5d07a936f0348a709d777d922eb4579acf6dcf36 | [
"MIT",
"Unlicense",
"Apache-2.0",
"BSD-3-Clause"
] | 2 | 2020-09-02T21:59:29.000Z | 2021-08-03T09:27:10.000Z | thirdparty/oculus_mobile_sdk/SampleCommon/Src/Render/DebugLines.cpp | Crogarox/godot_openxr | 780fbbbc27d2a2a9560ad5fd3415338ac1885b03 | [
"MIT"
] | 4 | 2021-02-10T04:51:31.000Z | 2022-03-02T01:11:09.000Z | src/external/oculus/SampleCommon/Src/Render/DebugLines.cpp | korejan/ALVR-OpenXR-Engine | 9bdd6f73d881e46835dfc9af892e9a4184242764 | [
"MIT",
"Apache-2.0",
"BSD-3-Clause",
"Unlicense"
] | 1 | 2021-10-25T00:50:24.000Z | 2021-10-25T00:50:24.000Z | /************************************************************************************
Filename : DebugLines.cpp
Content : Class that manages and renders debug lines.
Created : April 22, 2014
Authors : Jonathan E. Wright
Copyright : Copyright (c) Facebook Technologies, LLC and its affiliates... | 30.713158 | 100 | 0.601405 | [
"render",
"vector",
"transform"
] |
f8b2ae205ba4a5c97b94c3dfe55a8ac2981739a7 | 20,976 | cpp | C++ | src/nebedit/nebedit.cpp | ptitSeb/freespace2 | 500ee249f7033aac9b389436b1737a404277259c | [
"Linux-OpenIB"
] | 1 | 2020-07-14T07:29:18.000Z | 2020-07-14T07:29:18.000Z | src/nebedit/nebedit.cpp | ptitSeb/freespace2 | 500ee249f7033aac9b389436b1737a404277259c | [
"Linux-OpenIB"
] | 2 | 2019-01-01T22:35:56.000Z | 2022-03-14T07:34:00.000Z | src/nebedit/nebedit.cpp | ptitSeb/freespace2 | 500ee249f7033aac9b389436b1737a404277259c | [
"Linux-OpenIB"
] | 2 | 2021-03-07T11:40:42.000Z | 2021-12-26T21:40:39.000Z | /*
* Copyright (C) Volition, Inc. 1999. All rights reserved.
*
* All source code herein is the property of Volition, Inc. You may not sell
* or otherwise commercially exploit the source or things you created based on
* the source.
*/
/*
* $Logfile: /Freespace2/code/nebedit/NebEdit.cpp $
* $Revision: 110 $
*... | 21.338759 | 92 | 0.611079 | [
"vector",
"model",
"3d"
] |
f8b9cd4660ae5d1f1bd26ddca62f3f171b3aed7f | 16,344 | cpp | C++ | src/Geometry3D.cpp | omi-lab/tp_math_utils | bbcdec7a680fb2fd029006ad456efb5e81d840c3 | [
"MIT"
] | null | null | null | src/Geometry3D.cpp | omi-lab/tp_math_utils | bbcdec7a680fb2fd029006ad456efb5e81d840c3 | [
"MIT"
] | null | null | null | src/Geometry3D.cpp | omi-lab/tp_math_utils | bbcdec7a680fb2fd029006ad456efb5e81d840c3 | [
"MIT"
] | 3 | 2018-08-30T10:01:10.000Z | 2020-10-07T10:56:26.000Z | #include "tp_math_utils/Geometry3D.h"
#include "tp_math_utils/Intersection.h"
#include "tp_math_utils/Plane.h"
#include "tp_math_utils/Ray.h"
#include "tp_math_utils/JSONUtils.h"
#include "tp_utils/DebugUtils.h"
#include "nanoflann.hpp"
#include "glm/gtx/norm.hpp"
#include "glm/gtx/normal.hpp"
#include <array>
nam... | 28.130809 | 137 | 0.5558 | [
"mesh",
"geometry",
"vector",
"transform"
] |
f8c75a325de97392978bfc703e886e44d8a6c91b | 4,101 | hpp | C++ | psrdada_cpp/dada_write_client.hpp | ewanbarr/psrdada_cpp | 67e61eb3f45600113f1107a9251467ca530e35c7 | [
"MIT"
] | 2 | 2019-04-01T09:00:06.000Z | 2019-08-21T14:15:49.000Z | psrdada_cpp/dada_write_client.hpp | ewanbarr/psrdada_cpp | 67e61eb3f45600113f1107a9251467ca530e35c7 | [
"MIT"
] | 1 | 2018-11-29T12:34:14.000Z | 2018-12-03T19:32:45.000Z | psrdada_cpp/dada_write_client.hpp | ewanbarr/psrdada_cpp | 67e61eb3f45600113f1107a9251467ca530e35c7 | [
"MIT"
] | 2 | 2019-03-05T12:09:18.000Z | 2019-07-05T11:50:16.000Z | #ifndef PSRDADA_CPP_DADA_WRITE_CLIENT_HPP
#define PSRDADA_CPP_DADA_WRITE_CLIENT_HPP
#include "psrdada_cpp/dada_client_base.hpp"
#include "psrdada_cpp/raw_bytes.hpp"
#include "psrdada_cpp/common.hpp"
namespace psrdada_cpp {
/**
* @brief Class that provides means for writing to
* a DADA ... | 30.377778 | 82 | 0.512558 | [
"object"
] |
f8d804e25637996a25bcbb861320f552089c0b51 | 48,189 | cc | C++ | contrib/Delphes-3.1.2/external/fastjet/Selector.cc | aaronvincent/gambit_aaron | a38bd6fc10d781e71f2adafd401c76e1e3476b05 | [
"Unlicense"
] | null | null | null | contrib/Delphes-3.1.2/external/fastjet/Selector.cc | aaronvincent/gambit_aaron | a38bd6fc10d781e71f2adafd401c76e1e3476b05 | [
"Unlicense"
] | null | null | null | contrib/Delphes-3.1.2/external/fastjet/Selector.cc | aaronvincent/gambit_aaron | a38bd6fc10d781e71f2adafd401c76e1e3476b05 | [
"Unlicense"
] | null | null | null | //STARTHEADER
// $Id: Selector.cc 1332 2013-11-20 20:52:59Z pavel $
//
// Copyright (c) 2005-2011, Matteo Cacciari, Gavin P. Salam and Gregory Soyez
//
//----------------------------------------------------------------------
// This file is part of FastJet.
//
// FastJet is free software; you can redistribute it and/o... | 33.302695 | 139 | 0.652265 | [
"object",
"vector"
] |
f8e2687b8ecea6599dadcfa9d4175de438e14615 | 6,305 | cpp | C++ | src/ir/daphneir/DaphneDistributableOpInterface.cpp | daphne-eu/daphne | 64d4040132cf4059efaf184c4e363dbb921c87d6 | [
"Apache-2.0"
] | 10 | 2022-03-31T21:49:35.000Z | 2022-03-31T23:37:06.000Z | src/ir/daphneir/DaphneDistributableOpInterface.cpp | daphne-eu/daphne | 64d4040132cf4059efaf184c4e363dbb921c87d6 | [
"Apache-2.0"
] | 3 | 2022-03-31T22:10:10.000Z | 2022-03-31T22:46:30.000Z | src/ir/daphneir/DaphneDistributableOpInterface.cpp | daphne-eu/daphne | 64d4040132cf4059efaf184c4e363dbb921c87d6 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2021 The DAPHNE Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | 36.445087 | 108 | 0.658525 | [
"object",
"shape",
"vector"
] |
25cd1b000e4017e323a024f79e8f50483b06c0a7 | 1,292 | hh | C++ | TEvtGen/EvtGen/EvtGenModels/EvtGenericDalitz.hh | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 52 | 2016-12-11T13:04:01.000Z | 2022-03-11T11:49:35.000Z | TEvtGen/EvtGen/EvtGenModels/EvtGenericDalitz.hh | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 1,388 | 2016-11-01T10:27:36.000Z | 2022-03-30T15:26:09.000Z | TEvtGen/EvtGen/EvtGenModels/EvtGenericDalitz.hh | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 275 | 2016-06-21T20:24:05.000Z | 2022-03-31T13:06:19.000Z | //--------------------------------------------------------------------------
//
// Environment:
// This software is part of the EvtGen package developed jointly
// for the BaBar and CLEO collaborations. If you use all or part
// of it, please give an appropriate acknowledgement.
//
// Copyright Informat... | 23.071429 | 76 | 0.622291 | [
"vector",
"model"
] |
25db2e6382d1e1fc46923d01e3d43b049f5f853d | 1,094 | cpp | C++ | src/nodes/GeoIntersectsNode.cpp | niniemann/sempr | 2f3b04c031d70b9675ad441f97728a8fb839abed | [
"BSD-3-Clause"
] | 8 | 2018-03-28T19:45:47.000Z | 2022-03-23T16:53:24.000Z | src/nodes/GeoIntersectsNode.cpp | niniemann/sempr | 2f3b04c031d70b9675ad441f97728a8fb839abed | [
"BSD-3-Clause"
] | 58 | 2018-01-31T11:10:04.000Z | 2021-08-13T11:48:31.000Z | src/nodes/GeoIntersectsNode.cpp | niniemann/sempr | 2f3b04c031d70b9675ad441f97728a8fb839abed | [
"BSD-3-Clause"
] | 1 | 2018-07-04T12:30:06.000Z | 2018-07-04T12:30:06.000Z | #include "nodes/GeoIntersectsNode.hpp"
#include <rete-core/TupleWME.hpp>
namespace sempr {
GeoIntersectsNode::GeoIntersectsNode(
rete::PersistentInterpretation<GeosGeometryInterface::Ptr> geo1,
rete::PersistentInterpretation<GeosGeometryInterface::Ptr> geo2)
:
rete::Builtin("geo:intersects"),
... | 24.863636 | 69 | 0.664534 | [
"geometry"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.