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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1636eed6a8a6ee6fb15e097dec74f26da3b5d807 | 2,705 | cpp | C++ | aws-cpp-sdk-ecs/source/model/InstanceHealthCheckState.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-02-10T08:06:54.000Z | 2022-02-10T08:06:54.000Z | aws-cpp-sdk-ecs/source/model/InstanceHealthCheckState.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-01-03T23:59:37.000Z | 2022-01-03T23:59:37.000Z | aws-cpp-sdk-ecs/source/model/InstanceHealthCheckState.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-12-30T04:25:33.000Z | 2021-12-30T04:25:33.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/ecs/model/InstanceHealthCheckState.h>
#include <aws/core/utils/HashingUtils.h>
#include <aws/core/Globals.h>
#include <aws/core/utils/EnumParseOverflowContainer.h>
using namespace Aws::... | 31.823529 | 96 | 0.63475 | [
"model"
] |
163d735fe121a640fb95a8de2d52842d2b8a4293 | 4,367 | cpp | C++ | Jit/compiler.cpp | brianherman/cinder | f1ed7bee94bd91e23b7b78038de5eb2fbb732678 | [
"CNRI-Python-GPL-Compatible"
] | null | null | null | Jit/compiler.cpp | brianherman/cinder | f1ed7bee94bd91e23b7b78038de5eb2fbb732678 | [
"CNRI-Python-GPL-Compatible"
] | null | null | null | Jit/compiler.cpp | brianherman/cinder | f1ed7bee94bd91e23b7b78038de5eb2fbb732678 | [
"CNRI-Python-GPL-Compatible"
] | null | null | null | // Copyright (c) Facebook, Inc. and its affiliates. (http://www.facebook.com)
#include "Jit/compiler.h"
#include "Jit/disassembler.h"
#include "Jit/hir/builder.h"
#include "Jit/hir/optimization.h"
#include "Jit/hir/printer.h"
#include "Jit/hir/ssa.h"
#include "Jit/jit_x_options.h"
#include "Jit/log.h"
#include "Pytho... | 27.29375 | 78 | 0.6643 | [
"object"
] |
163dc44c6d18eec30a409426d6c04442a8350b9c | 9,342 | cpp | C++ | src/gui/CTxDetailsDialog.cpp | gasteve/bitcoin | b5e79be9e7612c31403a2231ba03850f495ea9c1 | [
"MIT"
] | 1 | 2017-05-18T17:12:00.000Z | 2017-05-18T17:12:00.000Z | src/gui/CTxDetailsDialog.cpp | gasteve/bitcoin | b5e79be9e7612c31403a2231ba03850f495ea9c1 | [
"MIT"
] | null | null | null | src/gui/CTxDetailsDialog.cpp | gasteve/bitcoin | b5e79be9e7612c31403a2231ba03850f495ea9c1 | [
"MIT"
] | null | null | null | //////////////////////////////////////////////////////////////////////////////
//
// CTxDetailsDialog
//
#include "CTxDetailsDialog.h"
#include "main.h"
#include "script.h"
#include "base58.h"
#include "CCriticalBlock.h"
CTxDetailsDialog::CTxDetailsDialog(wxWindow* parent, CWalletTx wtx) : CTxDetailsDialogBase(paren... | 35.930769 | 404 | 0.422929 | [
"vector"
] |
f38088d2c9d1127516c4d07bb77bb5873ff67b80 | 6,506 | hpp | C++ | source/redx/scripting/iproperty.hpp | clayne/CyberpunkSaveEditor | 2069ea833ced56f549776179c2147b27d32d650c | [
"MIT"
] | 276 | 2020-12-21T11:54:44.000Z | 2022-03-28T16:49:44.000Z | source/redx/scripting/iproperty.hpp | 13397729377/CyberpunkSaveEditor | 2069ea833ced56f549776179c2147b27d32d650c | [
"MIT"
] | 37 | 2020-12-21T18:25:12.000Z | 2022-03-31T23:51:33.000Z | source/redx/scripting/iproperty.hpp | 13397729377/CyberpunkSaveEditor | 2069ea833ced56f549776179c2147b27d32d650c | [
"MIT"
] | 36 | 2020-12-21T12:02:08.000Z | 2022-03-21T10:47:43.000Z | #pragma once
#include <iostream>
#include <string>
#include <memory>
#include <list>
#include <vector>
#include <set>
#include <array>
#include <exception>
#include "redx/core.hpp"
#include "redx/ctypes.hpp"
#include "redx/csav/node.hpp"
#include "redx/csav/serializers.hpp"
#include "CStringPool.hpp"
#i... | 25.119691 | 100 | 0.653397 | [
"object",
"vector"
] |
f38276336ce814c5e1457794d5b20fd20eee6b5b | 9,524 | cpp | C++ | main.cpp | ss840429/SP_Final_Project | afdb22d9b32d89994e0bd02943af93cb660a5930 | [
"MIT"
] | null | null | null | main.cpp | ss840429/SP_Final_Project | afdb22d9b32d89994e0bd02943af93cb660a5930 | [
"MIT"
] | null | null | null | main.cpp | ss840429/SP_Final_Project | afdb22d9b32d89994e0bd02943af93cb660a5930 | [
"MIT"
] | null | null | null | #include <iostream>
#include <cstring>
#include <cstdio>
#include <cstdlib>
#include <fstream>
#include <map>
#include <sstream>
#include <iomanip>
#include <vector>
#include <math.h>
using namespace std ;
#define MAXLINE 500
map<string,string>OPTAB = { {"STL","14"},{"LDB","68"},{"JSUB","48"},{"LDA","00"},{"COMP","28... | 29.949686 | 124 | 0.340823 | [
"object",
"vector"
] |
f386c78b80aafd58e12fcebf2335192dd15235e6 | 2,861 | cpp | C++ | src/pValueLookUp.cpp | xuebingwu/xtools | b9078cb7228f0bc227e6eab917fbafe769f5ffc1 | [
"MIT"
] | null | null | null | src/pValueLookUp.cpp | xuebingwu/xtools | b9078cb7228f0bc227e6eab917fbafe769f5ffc1 | [
"MIT"
] | null | null | null | src/pValueLookUp.cpp | xuebingwu/xtools | b9078cb7228f0bc227e6eab917fbafe769f5ffc1 | [
"MIT"
] | null | null | null | #include <string>
#include <vector>
#include <iostream>
#include <fstream>
#include <stdio.h>
#include <stdlib.h>
#include "utility.h"
using namespace std;
// load the top fraction of a list of ranked values, return the total number of data
// col: start 0
int load_sorted_table(string filename, int col, vector<do... | 20.883212 | 116 | 0.638937 | [
"vector"
] |
f38a1385de238845e490387e55bd59aef1c864bf | 33,850 | cpp | C++ | omnn/math/Integer.cpp | iHateInventNames/openmind | 2587b811e594daf9d9c235cb63eeae2950e93ff0 | [
"BSD-3-Clause"
] | null | null | null | omnn/math/Integer.cpp | iHateInventNames/openmind | 2587b811e594daf9d9c235cb63eeae2950e93ff0 | [
"BSD-3-Clause"
] | 4 | 2016-05-21T08:48:41.000Z | 2017-02-22T19:37:03.000Z | omnn/math/Integer.cpp | iHateInventNames/openmind | 2587b811e594daf9d9c235cb63eeae2950e93ff0 | [
"BSD-3-Clause"
] | null | null | null | //
// Created by Сергей Кривонос on 01.09.17.
//
#include "Integer.h"
#include "i.h"
#include "Infinity.h"
#include "Exponentiation.h"
#include "Fraction.h"
#include "Modulo.h"
#include "PrincipalSurd.h"
#include "Product.h"
#include "Sum.h"
#include <rt/Prime.h>
#include <rt/tasq.h>
#include <algorithm>
#include <c... | 31.665108 | 144 | 0.427829 | [
"vector"
] |
f38e62f3f09ff5bff60058faf136cd6a130fb884 | 1,600 | hxx | C++ | libbutl/base64.hxx | build2/libbutl | 405dfa3e28ab71d4f6b5210faba0e3600070a0f3 | [
"MIT"
] | 6 | 2018-05-31T06:16:37.000Z | 2021-03-19T10:37:11.000Z | libbutl/base64.hxx | build2/libbutl | 405dfa3e28ab71d4f6b5210faba0e3600070a0f3 | [
"MIT"
] | 3 | 2020-06-19T05:08:42.000Z | 2021-09-29T05:23:07.000Z | libbutl/base64.hxx | build2/libbutl | 405dfa3e28ab71d4f6b5210faba0e3600070a0f3 | [
"MIT"
] | 1 | 2020-06-16T14:56:48.000Z | 2020-06-16T14:56:48.000Z | // file : libbutl/base64.hxx -*- C++ -*-
// license : MIT; see accompanying LICENSE file
#pragma once
#include <iosfwd>
#include <string>
#include <vector>
#include <libbutl/export.hxx>
namespace butl
{
// Base64-encode a stream or a buffer. Split the output into 76 char-long
// lines (new line is the 77... | 34.042553 | 77 | 0.72125 | [
"vector"
] |
f39154a539bd0d03b44c6c921ce73c8221984ca8 | 7,753 | cc | C++ | content/public/browser/push_messaging_service.cc | iridium-browser/iridium-browser | 907e31cf5ce5ad14d832796e3a7c11e496828959 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 575 | 2015-06-18T23:58:20.000Z | 2022-03-23T09:32:39.000Z | content/public/browser/push_messaging_service.cc | iridium-browser/iridium-browser | 907e31cf5ce5ad14d832796e3a7c11e496828959 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 113 | 2015-05-04T09:58:14.000Z | 2022-01-31T19:35:03.000Z | content/public/browser/push_messaging_service.cc | iridium-browser/iridium-browser | 907e31cf5ce5ad14d832796e3a7c11e496828959 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 52 | 2015-07-14T10:40:50.000Z | 2022-03-15T01:11:49.000Z | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/public/browser/push_messaging_service.h"
#include "base/bind.h"
#include "base/callback.h"
#include "content/browser/push_messaging/pus... | 38.572139 | 78 | 0.721527 | [
"vector"
] |
f391b6d90d1aa83d6fb4ea3209e215dbcca3fcc5 | 1,553 | cpp | C++ | SMLMLib/StringUtils.cpp | qnano/simflux | 4f149d4e6c997954ac862cc5a7a404855b2a0be9 | [
"MIT"
] | 2 | 2019-12-13T16:24:12.000Z | 2021-03-13T04:02:51.000Z | SMLMLib/StringUtils.cpp | qnano/simflux | 4f149d4e6c997954ac862cc5a7a404855b2a0be9 | [
"MIT"
] | 1 | 2021-01-25T13:32:43.000Z | 2021-01-26T06:03:19.000Z | SMLMLib/StringUtils.cpp | qnano/simflux | 4f149d4e6c997954ac862cc5a7a404855b2a0be9 | [
"MIT"
] | null | null | null | #include "MemLeakDebug.h"
#include "StringUtils.h"
#include <cstdarg>
#include <Windows.h>
#include <mutex>
std::mutex printMutex;
void (*debugPrintCallback)(const char *msg)=0;
DLL_EXPORT std::string SPrintf(const char *fmt, ...) {
va_list ap;
va_start(ap, fmt);
char buf[512];
VSNPRINTF(buf, sizeof(buf), fmt, ... | 19.4125 | 112 | 0.658081 | [
"vector"
] |
f3984bd6ff143bc600d6ef004e014d5adb2c74a3 | 853 | cpp | C++ | pg_answer/986eef90611543ec8ac5964988c4f17d.cpp | Guyutongxue/Introduction_to_Computation | 062f688fe3ffb8e29cfaf139223e4994edbf64d6 | [
"WTFPL"
] | 8 | 2019-10-09T14:33:42.000Z | 2020-12-03T00:49:29.000Z | pg_answer/986eef90611543ec8ac5964988c4f17d.cpp | Guyutongxue/Introduction_to_Computation | 062f688fe3ffb8e29cfaf139223e4994edbf64d6 | [
"WTFPL"
] | null | null | null | pg_answer/986eef90611543ec8ac5964988c4f17d.cpp | Guyutongxue/Introduction_to_Computation | 062f688fe3ffb8e29cfaf139223e4994edbf64d6 | [
"WTFPL"
] | null | null | null | #include <iostream>
#include <string>
#include <vector>
#include <algorithm>
int main() {
int n, m;
std::cin >> n >> m;
std::vector<std::string> dict(n);
for (auto& i : dict) {
std::cin >> i;
}
int len{dict[0].size()};
while (m--) {
std::string dest;
std::cin >> dest... | 25.088235 | 63 | 0.420868 | [
"vector"
] |
f39cd2c918a2b4d660c2ceffddc5967c1af6f08c | 2,517 | cpp | C++ | os/fs/iso9660/iso9660Iterator.cpp | rvedam/es-operating-system | 32d3e4791c28a5623744800f108d029c40c745fc | [
"Apache-2.0"
] | 2 | 2020-11-30T18:38:20.000Z | 2021-06-07T07:44:03.000Z | os/fs/iso9660/iso9660Iterator.cpp | LambdaLord/es-operating-system | 32d3e4791c28a5623744800f108d029c40c745fc | [
"Apache-2.0"
] | 1 | 2019-01-14T03:09:45.000Z | 2019-01-14T03:09:45.000Z | os/fs/iso9660/iso9660Iterator.cpp | LambdaLord/es-operating-system | 32d3e4791c28a5623744800f108d029c40c745fc | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2008, 2009 Google Inc.
* Copyright 2006 Nintendo 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
*
* Unle... | 21.512821 | 110 | 0.651172 | [
"object"
] |
f3a6c9d81d83713f3b88837df7e64a7f20fc3f63 | 3,658 | cpp | C++ | src/armnn/test/ModelAccuracyCheckerTest.cpp | sunshinemyson/armnn | a723ec5d2ac35948efb5dfd0c121a1a89cb977b7 | [
"MIT"
] | 1 | 2019-06-26T23:00:46.000Z | 2019-06-26T23:00:46.000Z | src/armnn/test/ModelAccuracyCheckerTest.cpp | hessed99/armnn | a723ec5d2ac35948efb5dfd0c121a1a89cb977b7 | [
"MIT"
] | null | null | null | src/armnn/test/ModelAccuracyCheckerTest.cpp | hessed99/armnn | a723ec5d2ac35948efb5dfd0c121a1a89cb977b7 | [
"MIT"
] | null | null | null | //
// Copyright © 2017 Arm Ltd. All rights reserved.
// SPDX-License-Identifier: MIT
//
#include "ModelAccuracyChecker.hpp"
#include <boost/algorithm/string.hpp>
#include <boost/test/unit_test.hpp>
#include <iostream>
#include <string>
#include <boost/log/core/core.hpp>
#include <boost/filesystem.hpp>
#include <boost... | 36.949495 | 113 | 0.726353 | [
"vector"
] |
f3ac822f51b77464c2f744a948b80e1d81621ece | 28,673 | cpp | C++ | toonz/sources/tnzbase/tscanner/tscannerepson.cpp | areckx/opentoonz | a86fd8f80a1a07f97a8d230fda44fd1d6a7de576 | [
"BSD-3-Clause"
] | null | null | null | toonz/sources/tnzbase/tscanner/tscannerepson.cpp | areckx/opentoonz | a86fd8f80a1a07f97a8d230fda44fd1d6a7de576 | [
"BSD-3-Clause"
] | null | null | null | toonz/sources/tnzbase/tscanner/tscannerepson.cpp | areckx/opentoonz | a86fd8f80a1a07f97a8d230fda44fd1d6a7de576 | [
"BSD-3-Clause"
] | null | null | null |
#include <errno.h>
#include "texception.h"
#include "tscanner.h"
#include "tscannerepson.h"
#include "tscannerutil.h"
#include "tsystem.h"
#include "tconvert.h"
#include "trop.h"
#include "TScannerIO/TUSBScannerIO.h"
#include <cassert>
#include <memory>
#include <fstream>
#include <sstream>
using namespace TScanne... | 29.109645 | 87 | 0.567224 | [
"vector"
] |
f3b16e2ae28a11eba5f2104000974d12a3eccb1c | 6,332 | hh | C++ | gazebo/physics/ode/ODELink.hh | otamachan/ros-indigo-gazebo7-deb | abc6b40247cdce14d9912096a0ad5135d420ce04 | [
"ECL-2.0",
"Apache-2.0"
] | 5 | 2017-07-14T19:36:51.000Z | 2020-04-01T06:47:59.000Z | gazebo/physics/ode/ODELink.hh | otamachan/ros-indigo-gazebo7-deb | abc6b40247cdce14d9912096a0ad5135d420ce04 | [
"ECL-2.0",
"Apache-2.0"
] | 20 | 2017-07-20T21:04:49.000Z | 2017-10-19T19:32:38.000Z | gazebo/physics/ode/ODELink.hh | otamachan/ros-indigo-gazebo7-deb | abc6b40247cdce14d9912096a0ad5135d420ce04 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2012-2016 Open Source Robotics Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... | 31.502488 | 79 | 0.667562 | [
"model"
] |
f3b3addaaabbfa9da04674961b8c39938b4d4591 | 22,157 | hpp | C++ | include/MasterServer/UserMessageHandler.hpp | sc2ad/BeatSaber-Quest-Codegen | ba8acaae541cfe1161e05fbc3bf87f4bc46bc4ab | [
"Unlicense"
] | 23 | 2020-08-07T04:09:00.000Z | 2022-03-31T22:10:29.000Z | include/MasterServer/UserMessageHandler.hpp | sc2ad/BeatSaber-Quest-Codegen | ba8acaae541cfe1161e05fbc3bf87f4bc46bc4ab | [
"Unlicense"
] | 6 | 2021-09-29T23:47:31.000Z | 2022-03-30T20:49:23.000Z | include/MasterServer/UserMessageHandler.hpp | sc2ad/BeatSaber-Quest-Codegen | ba8acaae541cfe1161e05fbc3bf87f4bc46bc4ab | [
"Unlicense"
] | 17 | 2020-08-20T19:36:52.000Z | 2022-03-30T18:28:24.000Z | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
#include "extern/beatsaber-hook/shared/utils/byref.hpp"
// Including type: MasterServer.B... | 76.403448 | 503 | 0.78183 | [
"vector"
] |
f3b46abc33cd93cb7635d1de6622932dec4ff9f8 | 29,227 | cpp | C++ | src/test/logical_query_plan/jit_aware_lqp_translator_test.cpp | cmfcmf/hyrise | d3465dfc83039876c1800bf245e73874947da114 | [
"MIT"
] | null | null | null | src/test/logical_query_plan/jit_aware_lqp_translator_test.cpp | cmfcmf/hyrise | d3465dfc83039876c1800bf245e73874947da114 | [
"MIT"
] | 17 | 2018-11-28T10:31:31.000Z | 2019-03-06T10:28:12.000Z | src/test/logical_query_plan/jit_aware_lqp_translator_test.cpp | cmfcmf/hyrise | d3465dfc83039876c1800bf245e73874947da114 | [
"MIT"
] | null | null | null | #include <gtest/gtest.h>
#include "base_test.hpp"
#include "expression/expression_functional.hpp"
#include "logical_query_plan/jit_aware_lqp_translator.hpp"
#include "logical_query_plan/predicate_node.hpp"
#include "logical_query_plan/projection_node.hpp"
#include "logical_query_plan/sort_node.hpp"
#include "logical_q... | 50.741319 | 120 | 0.774763 | [
"shape",
"vector"
] |
f3b934d4fa1ba89fddc763af7de6ec9371d222f0 | 14,928 | cc | C++ | third_party/blink/renderer/core/animation/css_border_image_length_box_interpolation_type.cc | iridium-browser/iridium-browser | 907e31cf5ce5ad14d832796e3a7c11e496828959 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 575 | 2015-06-18T23:58:20.000Z | 2022-03-23T09:32:39.000Z | third_party/blink/renderer/core/animation/css_border_image_length_box_interpolation_type.cc | iridium-browser/iridium-browser | 907e31cf5ce5ad14d832796e3a7c11e496828959 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 113 | 2015-05-04T09:58:14.000Z | 2022-01-31T19:35:03.000Z | third_party/blink/renderer/core/animation/css_border_image_length_box_interpolation_type.cc | DamieFC/chromium | 54ce2d3c77723697efd22cfdb02aea38f9dfa25c | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 52 | 2015-07-14T10:40:50.000Z | 2022-03-15T01:11:49.000Z | // Copyright 2016 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 "third_party/blink/renderer/core/animation/css_border_image_length_box_interpolation_type.h"
#include <memory>
#include <utility>
#include "bas... | 35.971084 | 101 | 0.727827 | [
"vector"
] |
f3b9ef50d035d1451c7a5cfadf2e668cfcb0b6b7 | 4,956 | hpp | C++ | include/Bit/Audio/OpenAL/OpenALAudioDevice.hpp | jimmiebergmann/Bit-Engine | 39324a9e7fb5ab4b1cf3738f871470e0a9ef7575 | [
"Zlib"
] | null | null | null | include/Bit/Audio/OpenAL/OpenALAudioDevice.hpp | jimmiebergmann/Bit-Engine | 39324a9e7fb5ab4b1cf3738f871470e0a9ef7575 | [
"Zlib"
] | null | null | null | include/Bit/Audio/OpenAL/OpenALAudioDevice.hpp | jimmiebergmann/Bit-Engine | 39324a9e7fb5ab4b1cf3738f871470e0a9ef7575 | [
"Zlib"
] | null | null | null | // ///////////////////////////////////////////////////////////////////////////
// Copyright (C) 2013 Jimmie Bergmann - jimmiebergmann@gmail.com
//
// This software is provided 'as-is', without any express or
// implied warranty. In no event will the authors be held
// liable for any damages arising from the use of this... | 34.416667 | 78 | 0.424334 | [
"object",
"3d"
] |
f3ba03ff3c49a2772b68ae2848d0154a5f6289b0 | 21,766 | cpp | C++ | libcat/src/cat_gfx_drawablecanvas.cpp | shadow-paw/cat | 975749c9d716687f1bd74c80d474fed6065768de | [
"MIT"
] | 5 | 2017-11-20T09:56:48.000Z | 2019-01-26T14:44:14.000Z | libcat/src/cat_gfx_drawablecanvas.cpp | shadow-paw/osal | 975749c9d716687f1bd74c80d474fed6065768de | [
"MIT"
] | 3 | 2017-12-17T11:23:29.000Z | 2020-07-01T04:14:24.000Z | libcat/src/cat_gfx_drawablecanvas.cpp | shadow-paw/cat | 975749c9d716687f1bd74c80d474fed6065768de | [
"MIT"
] | 3 | 2017-11-18T18:18:19.000Z | 2018-12-27T08:41:45.000Z | #include "cat_gfx_drawablecanvas.h"
#include <stdlib.h>
#include <string>
#include "cat_util_string.h"
using namespace cat;
// ----------------------------------------------------------------------------
DrawableCanvas::DrawableCanvas() {
#if defined(PLATFORM_WIN32) || defined(PLATFORM_WIN64)
m_width = m_height =... | 43.186508 | 150 | 0.628228 | [
"transform"
] |
f3ba33446fbcbcda6aeb317f91631679c98c7069 | 26,983 | cpp | C++ | cpp/depends/igl/headers/igl/opengl/ViewerData.cpp | GitZHCODE/zspace_modules | 2264cb837d2f05184a51b7b453c7e24288e88ee1 | [
"MIT"
] | null | null | null | cpp/depends/igl/headers/igl/opengl/ViewerData.cpp | GitZHCODE/zspace_modules | 2264cb837d2f05184a51b7b453c7e24288e88ee1 | [
"MIT"
] | null | null | null | cpp/depends/igl/headers/igl/opengl/ViewerData.cpp | GitZHCODE/zspace_modules | 2264cb837d2f05184a51b7b453c7e24288e88ee1 | [
"MIT"
] | null | null | null | // This file is part of libigl, a simple c++ geometry processing library.
//
// Copyright (C) 2014 Daniele Panozzo <daniele.panozzo@gmail.com>
//
// This Source Code Form is subject to the terms of the Mozilla Public License
// v. 2.0. If a copy of the MPL was not distributed with this file, You can
// obtain one at ht... | 29.202381 | 134 | 0.627803 | [
"mesh",
"geometry",
"vector"
] |
f3bb861d521c206804d5af94da8cb3eb58649920 | 15,689 | cpp | C++ | project/learn-opengl-2/main.cpp | Riteme/test | b511d6616a25f4ae8c3861e2029789b8ee4dcb8d | [
"BSD-Source-Code"
] | 3 | 2018-08-30T09:43:20.000Z | 2019-12-03T04:53:43.000Z | project/learn-opengl-2/main.cpp | Riteme/test | b511d6616a25f4ae8c3861e2029789b8ee4dcb8d | [
"BSD-Source-Code"
] | null | null | null | project/learn-opengl-2/main.cpp | Riteme/test | b511d6616a25f4ae8c3861e2029789b8ee4dcb8d | [
"BSD-Source-Code"
] | null | null | null | #include <cassert>
#include <chrono>
#include <string>
#include <fstream>
#include <iostream>
#include <GL/glew.h>
#include <SDL2/SDL.h>
// #include <SDL2/SDL_image.h>
#define ILUT_USE_OPENGL
#include <IL/il.h>
#include <IL/ilut.h>
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/typ... | 33.523504 | 83 | 0.581809 | [
"model"
] |
f3bd221bc3c940de970935e177560a3adb3f6839 | 2,663 | cpp | C++ | graphs/hlpp.cpp | prince776/CodeBook | 874fc7f94011ad1d25a55bcd91fecd2a11eb5a9b | [
"CC0-1.0"
] | 17 | 2021-01-25T12:07:17.000Z | 2022-02-26T17:20:31.000Z | graphs/hlpp.cpp | NavneelSinghal/CodeBook | ff60ace9107dd19ef8ba81e175003f567d2a9070 | [
"CC0-1.0"
] | null | null | null | graphs/hlpp.cpp | NavneelSinghal/CodeBook | ff60ace9107dd19ef8ba81e175003f567d2a9070 | [
"CC0-1.0"
] | 4 | 2021-02-28T11:13:44.000Z | 2021-11-20T12:56:20.000Z | template <int MAXN, class T = int>
struct HLPP {
const T INF = numeric_limits<T>::max();
struct edge {
int to, rev;
T f;
};
int s = MAXN - 1, t = MAXN - 2;
vector<edge> adj[MAXN];
vector<int> lst[MAXN], gap[MAXN];
T excess[MAXN];
int highest, height[MAXN], cnt[MAXN], ... | 28.329787 | 76 | 0.425836 | [
"vector"
] |
f3beeb76b92c526bdbccba727a464291aaa09c26 | 513 | cpp | C++ | 08. Hashing/15 More than N-K Occurrences/15a More Than N k Occurences.cpp | VivekYadav105/Data-Structures-and-Algorithms | 7287912da8068c9124e0bb89c93c4d52aa48c51f | [
"MIT"
] | 190 | 2021-02-10T17:01:01.000Z | 2022-03-20T00:21:43.000Z | 08. Hashing/15 More than N-K Occurrences/15a More Than N k Occurences.cpp | VivekYadav105/Data-Structures-and-Algorithms | 7287912da8068c9124e0bb89c93c4d52aa48c51f | [
"MIT"
] | null | null | null | 08. Hashing/15 More than N-K Occurrences/15a More Than N k Occurences.cpp | VivekYadav105/Data-Structures-and-Algorithms | 7287912da8068c9124e0bb89c93c4d52aa48c51f | [
"MIT"
] | 27 | 2021-03-26T11:35:15.000Z | 2022-03-06T07:34:54.000Z | #include<bits/stdc++.h>
using namespace std;
/*
print elements occuring more than
(n/k) times in array
*/
void nkOcc(vector<int> v, int k)//time comp. O(n*logn) ; space comp. O(1)
{
int n = v.size();
sort(v.begin(), v.end());
int i = 1, cnt = 1;
while (i < n)
{
while (i < n and v[i] == v[i - 1])
{
cnt++;... | 13.5 | 73 | 0.489279 | [
"vector"
] |
f3c58e1afdd80d428619b0a61be9a363ee6466d3 | 43,782 | cpp | C++ | net/config/netcfg/tcpipcfg/dlgaddr.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | net/config/netcfg/tcpipcfg/dlgaddr.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | net/config/netcfg/tcpipcfg/dlgaddr.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | //-----------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1997.
//
// File: D L G A D D R . C P P
//
// Contents: CTcpAddrPage implementation
//
// Notes: CTcpAddrPage is the IP Address page
//
// Author: tongl 5... | 30.985138 | 113 | 0.525399 | [
"vector"
] |
f3c669265ded77b88c08c3d102987a4f9d881d4c | 7,641 | hpp | C++ | cppcache/src/statistics/StatArchiveWriter.hpp | rhoughton-pivot/geode-native | ab6fe7d996e5ec23832f90663d03f1d66b9f5fbd | [
"Apache-2.0"
] | 48 | 2017-02-08T22:24:07.000Z | 2022-02-06T02:47:56.000Z | cppcache/src/statistics/StatArchiveWriter.hpp | rhoughton-pivot/geode-native | ab6fe7d996e5ec23832f90663d03f1d66b9f5fbd | [
"Apache-2.0"
] | 388 | 2017-02-13T17:09:45.000Z | 2022-03-29T22:18:39.000Z | cppcache/src/statistics/StatArchiveWriter.hpp | rhoughton-pivot/geode-native | ab6fe7d996e5ec23832f90663d03f1d66b9f5fbd | [
"Apache-2.0"
] | 68 | 2017-02-09T18:43:15.000Z | 2022-03-14T22:59:13.000Z | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | 30.082677 | 78 | 0.729747 | [
"object",
"vector"
] |
f3c712e2365fac72997700b38de29ee96580b163 | 2,708 | cpp | C++ | Agreste-Game-Engine/Agreste-Game-Engine/Cubemap.cpp | Joimar/Agreste-Game-Engine | a8b1f1d0e4e7d3fd7c7e57081158ca7505d8e6c0 | [
"MIT"
] | null | null | null | Agreste-Game-Engine/Agreste-Game-Engine/Cubemap.cpp | Joimar/Agreste-Game-Engine | a8b1f1d0e4e7d3fd7c7e57081158ca7505d8e6c0 | [
"MIT"
] | null | null | null | Agreste-Game-Engine/Agreste-Game-Engine/Cubemap.cpp | Joimar/Agreste-Game-Engine | a8b1f1d0e4e7d3fd7c7e57081158ca7505d8e6c0 | [
"MIT"
] | null | null | null | #include "Cubemap.h"
Cubemap::Cubemap(std::string path):
textureID(0),
shader("skybox.vs", "skybox.fs")
{
std::vector<std::string> faces = getFacePaths(path);
loadCubeMap(faces);
// skybox VAO
glGenVertexArrays(1, &skyboxVAO);
glGenBuffers(1, &skyboxVBO);
glBindVertexArray(skyboxVAO);
glBindBuffer(GL_ARRAY_BU... | 26.038462 | 119 | 0.747046 | [
"vector"
] |
f3cdc003b211e3a11b07caa2c395bf983510e76c | 7,707 | cpp | C++ | hphp/runtime/vm/jit/call-target-profile.cpp | ritikagrawat/hhvm | 4f18db152aeea6c380c877f38fc99778a5511008 | [
"PHP-3.01",
"Zend-2.0"
] | 1 | 2019-11-01T13:46:07.000Z | 2019-11-01T13:46:07.000Z | hphp/runtime/vm/jit/call-target-profile.cpp | ritikagrawat/hhvm | 4f18db152aeea6c380c877f38fc99778a5511008 | [
"PHP-3.01",
"Zend-2.0"
] | 2 | 2020-10-11T22:54:12.000Z | 2021-07-20T22:12:10.000Z | hphp/runtime/vm/jit/call-target-profile.cpp | ritikagrawat/hhvm | 4f18db152aeea6c380c877f38fc99778a5511008 | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | /*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010-present Facebook, Inc. (http://www.facebook.com) |
+---------... | 32.518987 | 79 | 0.557675 | [
"object"
] |
f3cefbf239a18d7b282bc455b41d4af77008bc2e | 1,415 | hpp | C++ | src/libpanacea/attribute_manipulators/reducer.hpp | lanl/PANACEA | 9779bdb6dcc3be41ea7b286ae55a21bb269e0339 | [
"BSD-3-Clause"
] | null | null | null | src/libpanacea/attribute_manipulators/reducer.hpp | lanl/PANACEA | 9779bdb6dcc3be41ea7b286ae55a21bb269e0339 | [
"BSD-3-Clause"
] | null | null | null | src/libpanacea/attribute_manipulators/reducer.hpp | lanl/PANACEA | 9779bdb6dcc3be41ea7b286ae55a21bb269e0339 | [
"BSD-3-Clause"
] | null | null | null | #ifndef PANACEA_PRIVATE_REDUCER_H
#define PANACEA_PRIVATE_REDUCER_H
#pragma once
// Local private PANACEA includes
#include "attributes/covariance.hpp"
#include "attributes/dimensions.hpp"
#include "attributes/reduced_covariance.hpp"
// Standard includes
#include <vector>
namespace panacea {
class Reducer {
private... | 28.877551 | 77 | 0.732862 | [
"vector"
] |
f3d1debd80dc51497309a08ed2b840f7112f2f32 | 1,948 | hpp | C++ | src/realm/object-store/util/generic/scheduler.hpp | aleyooop/realm-core | 9874d5164927ea39273b241a5af14b596a3233e9 | [
"Apache-2.0"
] | null | null | null | src/realm/object-store/util/generic/scheduler.hpp | aleyooop/realm-core | 9874d5164927ea39273b241a5af14b596a3233e9 | [
"Apache-2.0"
] | null | null | null | src/realm/object-store/util/generic/scheduler.hpp | aleyooop/realm-core | 9874d5164927ea39273b241a5af14b596a3233e9 | [
"Apache-2.0"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////
//
// Copyright 2020 Realm Inc.
//
// 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/li... | 31.934426 | 84 | 0.64117 | [
"object"
] |
f3e080dd79ffc7d340ccfe79429d9fbdb9e538d9 | 54,089 | cpp | C++ | Source/V2World/V2World.cpp | Zemurin/EU3ToVic2 | 7df6de2039986ed46683d792ec0c72bbdf6a2f18 | [
"MIT"
] | 2 | 2020-03-29T02:03:42.000Z | 2020-03-29T08:53:57.000Z | Source/V2World/V2World.cpp | klorpa/EU3ToVic2 | 7df6de2039986ed46683d792ec0c72bbdf6a2f18 | [
"MIT"
] | null | null | null | Source/V2World/V2World.cpp | klorpa/EU3ToVic2 | 7df6de2039986ed46683d792ec0c72bbdf6a2f18 | [
"MIT"
] | 3 | 2020-03-28T21:17:58.000Z | 2022-01-11T00:04:25.000Z | /*Copyright (c) 2014 The Paradox Game Converters Project
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, mer... | 32.544525 | 421 | 0.634528 | [
"object",
"vector"
] |
f3e5adeadae3dbe259c7cccc034a495ee19cf581 | 1,003 | cpp | C++ | C++ Version/plane.cpp | hpatel0392/Ray-Tracer | 3c306810130ba7831bb14a89c9755025e3dcafb3 | [
"MIT"
] | null | null | null | C++ Version/plane.cpp | hpatel0392/Ray-Tracer | 3c306810130ba7831bb14a89c9755025e3dcafb3 | [
"MIT"
] | null | null | null | C++ Version/plane.cpp | hpatel0392/Ray-Tracer | 3c306810130ba7831bb14a89c9755025e3dcafb3 | [
"MIT"
] | null | null | null | /*
* plane.cpp
* Author: Harsh Patel
* Date: 11-15-2015
* Plane's method definitions
*/
#include "plane.h"
#include "rt.h"
#include "vector.h"
// checkered plane constructor
Plane::Plane(Vector norm, double dist, bool check, COLOR_T clr1, COLOR_T clr2, double rf) :
normal( norm ),
distance( dist ),
Object(... | 21.804348 | 91 | 0.644068 | [
"object",
"vector"
] |
f3edc43c50435a99b13b31a5aa4648309381dcfd | 34,308 | cpp | C++ | libvast/src/system/node.cpp | rdettai/vast | 0b3cf41011df5fe8a4e8430fa6a1d6f1c50a18fa | [
"BSD-3-Clause"
] | null | null | null | libvast/src/system/node.cpp | rdettai/vast | 0b3cf41011df5fe8a4e8430fa6a1d6f1c50a18fa | [
"BSD-3-Clause"
] | null | null | null | libvast/src/system/node.cpp | rdettai/vast | 0b3cf41011df5fe8a4e8430fa6a1d6f1c50a18fa | [
"BSD-3-Clause"
] | null | null | null | // _ _____ __________
// | | / / _ | / __/_ __/ Visibility
// | |/ / __ |_\ \ / / Across
// |___/_/ |_/___/ /_/ Space and Time
//
// SPDX-FileCopyrightText: (c) 2016 The VAST Contributors
// SPDX-License-Identifier: BSD-3-Clause
#include "vast/system/node.hpp"
#include "vast/fwd.hpp"... | 41.94132 | 80 | 0.632739 | [
"render",
"vector",
"model",
"transform"
] |
f3f3ccd25f5ad08a644d9be36c7aafaf9f79fdf9 | 4,388 | cpp | C++ | luogu/4841/me.cpp | jinzhengyu1212/Clovers | 0efbb0d87b5c035e548103409c67914a1f776752 | [
"MIT"
] | null | null | null | luogu/4841/me.cpp | jinzhengyu1212/Clovers | 0efbb0d87b5c035e548103409c67914a1f776752 | [
"MIT"
] | null | null | null | luogu/4841/me.cpp | jinzhengyu1212/Clovers | 0efbb0d87b5c035e548103409c67914a1f776752 | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
typedef long long ll;
const int N=132000;
const int MOD=1004535809;
inline int read(){
int x=0,f=0; char ch=getchar();
while(ch<'0'||ch>'9') f|=(ch=='-'),ch=getchar();
while(ch>='0'&&ch<='9') x=(x<<1)+(x<<3)+(ch^48),ch=getchar();
return f==0 ? x : -x;
}
inlin... | 29.85034 | 98 | 0.5 | [
"vector"
] |
f3f463bda08dc96673cc93d4e3bfad14f1114a1e | 6,681 | cc | C++ | deviceOnline/src/device_alive.cc | houbin/alarm | 3c0c150ac85a0f1092d26de55ee3af6beac4fc15 | [
"Apache-2.0"
] | null | null | null | deviceOnline/src/device_alive.cc | houbin/alarm | 3c0c150ac85a0f1092d26de55ee3af6beac4fc15 | [
"Apache-2.0"
] | null | null | null | deviceOnline/src/device_alive.cc | houbin/alarm | 3c0c150ac85a0f1092d26de55ee3af6beac4fc15 | [
"Apache-2.0"
] | null | null | null | //============================================================================
// Name : deviceOnline.cpp
// Author : yaocoder
// Version :
// Copyright : Your copyright notice
// Description : Hello World in C, Ansi-style
//============================================================================
... | 29.174672 | 166 | 0.612184 | [
"vector"
] |
f3f6fb54c707bbe0b71d98d9dc752f9e1cc31fa4 | 2,226 | cpp | C++ | mlir/lib/IR/TypeRange.cpp | rarutyun/llvm | 76fa6b3bcade074bdedef740001c4528e1aa08a8 | [
"Apache-2.0"
] | 305 | 2019-09-14T17:16:05.000Z | 2022-03-31T15:05:20.000Z | mlir/lib/IR/TypeRange.cpp | rarutyun/llvm | 76fa6b3bcade074bdedef740001c4528e1aa08a8 | [
"Apache-2.0"
] | 11 | 2019-10-17T21:11:52.000Z | 2022-02-17T20:10:00.000Z | mlir/lib/IR/TypeRange.cpp | rarutyun/llvm | 76fa6b3bcade074bdedef740001c4528e1aa08a8 | [
"Apache-2.0"
] | 24 | 2019-10-03T11:22:11.000Z | 2022-01-25T09:59:30.000Z | //===- TypeRange.cpp ------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | 43.647059 | 80 | 0.615004 | [
"object"
] |
f3fcafbe15127cdbd9a116ab62b78b8ebe8659ae | 29,335 | cpp | C++ | solid/frame/mprpc/test/test_clientfrontback_download.cpp | solidoss/solidframe | 92fa8ce5737b9e88f3df3f549a38e9df79b7bf96 | [
"BSL-1.0"
] | 4 | 2020-12-05T23:33:32.000Z | 2021-10-04T02:59:41.000Z | solid/frame/mprpc/test/test_clientfrontback_download.cpp | solidoss/solidframe | 92fa8ce5737b9e88f3df3f549a38e9df79b7bf96 | [
"BSL-1.0"
] | 1 | 2020-03-22T20:38:05.000Z | 2020-03-22T20:38:05.000Z | solid/frame/mprpc/test/test_clientfrontback_download.cpp | solidoss/solidframe | 92fa8ce5737b9e88f3df3f549a38e9df79b7bf96 | [
"BSL-1.0"
] | 2 | 2021-01-30T09:08:52.000Z | 2021-02-20T03:33:33.000Z | #include "solid/frame/mprpc/mprpcsocketstub_openssl.hpp"
#include "solid/frame/mprpc/mprpccompression_snappy.hpp"
#include "solid/frame/mprpc/mprpcconfiguration.hpp"
#include "solid/frame/mprpc/mprpcprotocol_serialization_v3.hpp"
#include "solid/frame/mprpc/mprpcservice.hpp"
#include "solid/frame/manager.hpp"
#includ... | 36.082411 | 150 | 0.587183 | [
"vector",
"solid"
] |
f3fcd754c7e9034cb59006e9f9bf149820ed7132 | 5,288 | cc | C++ | content/browser/media/media_devices_permission_checker.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | content/browser/media/media_devices_permission_checker.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | content/browser/media/media_devices_permission_checker.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2016 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/browser/media/media_devices_permission_checker.h"
#include <utility>
#include <vector>
#include "base/bind.h"
#include "base/command_l... | 35.72973 | 80 | 0.74792 | [
"vector"
] |
f3ff34e8767c6b0a502d4d9c6bc31a7596ff7cda | 3,672 | cpp | C++ | gamegio-library/src/gamegio/HasNode.cpp | tril0byte/HGamer3D | 7979c67d9b4672a5b2d1a50320a6d47b1a97ff05 | [
"Apache-2.0"
] | 27 | 2015-06-08T16:45:47.000Z | 2022-02-22T14:40:52.000Z | gamegio-library/src/gamegio/HasNode.cpp | tril0byte/HGamer3D | 7979c67d9b4672a5b2d1a50320a6d47b1a97ff05 | [
"Apache-2.0"
] | 18 | 2015-04-20T20:42:02.000Z | 2020-12-11T03:46:17.000Z | gamegio-library/src/gamegio/HasNode.cpp | tril0byte/HGamer3D | 7979c67d9b4672a5b2d1a50320a6d47b1a97ff05 | [
"Apache-2.0"
] | 4 | 2017-06-20T13:24:18.000Z | 2021-10-07T19:18:03.000Z | // C++ part of bindings for graphics
// HGamer3D Library (A project to enable 3D game development in Haskell)
// Copyright 2015 - 2017 Peter Althainz
//
// Distributed under the Apache License, Version 2.0
// (See attached file LICENSE or copy at
// http://www.apache.org/licenses/LICENSE-2.0)
//
// file: gamegio-lib... | 23.538462 | 75 | 0.699074 | [
"3d"
] |
6d0652ad2c98608613323b13663277979f608bc4 | 4,831 | hpp | C++ | remote_core/remote_core/include/TrainingSession.hpp | DaveAMoore/remote_core | a46280a7cee5d52ca08d11ea2de518a7d5e12ca5 | [
"MIT"
] | null | null | null | remote_core/remote_core/include/TrainingSession.hpp | DaveAMoore/remote_core | a46280a7cee5d52ca08d11ea2de518a7d5e12ca5 | [
"MIT"
] | null | null | null | remote_core/remote_core/include/TrainingSession.hpp | DaveAMoore/remote_core | a46280a7cee5d52ca08d11ea2de518a7d5e12ca5 | [
"MIT"
] | null | null | null | //
// TrainingSession.hpp
// remote_core
//
// Created by David Moore on 11/5/18.
// Copyright © 2018 David Moore. All rights reserved.
//
#ifndef TrainingSession_hpp
#define TrainingSession_hpp
#include <iostream>
#include <memory>
#include "Remote.hpp"
#include "Error.hpp"
#define START_TRAINING_SESSION_DIRECT... | 39.598361 | 158 | 0.711033 | [
"vector"
] |
6d0667ce6fcdd07b8b24afbd050aaae7138e85a4 | 20,517 | hpp | C++ | source/apps/encoder/enc_utils.hpp | malaterre/OpenHTJ2K | fbc6f3bc3c902f80d40aa5c3683a136a3194c926 | [
"BSD-3-Clause"
] | null | null | null | source/apps/encoder/enc_utils.hpp | malaterre/OpenHTJ2K | fbc6f3bc3c902f80d40aa5c3683a136a3194c926 | [
"BSD-3-Clause"
] | null | null | null | source/apps/encoder/enc_utils.hpp | malaterre/OpenHTJ2K | fbc6f3bc3c902f80d40aa5c3683a136a3194c926 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2019 - 2021, Osamu Watanabe
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain the above copyright notice, this
// list of ... | 36.6375 | 107 | 0.530097 | [
"vector"
] |
6d0696d8c708d0413fb5f3105bdcbcbb2b9b3f10 | 4,626 | cpp | C++ | dart/collision/ode/detail/OdeMesh.cpp | malasiot/dart-vsim-octomap | d7afcacdcdcf7da688fb61caf1761b1309888ffe | [
"BSD-2-Clause"
] | null | null | null | dart/collision/ode/detail/OdeMesh.cpp | malasiot/dart-vsim-octomap | d7afcacdcdcf7da688fb61caf1761b1309888ffe | [
"BSD-2-Clause"
] | null | null | null | dart/collision/ode/detail/OdeMesh.cpp | malasiot/dart-vsim-octomap | d7afcacdcdcf7da688fb61caf1761b1309888ffe | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright (c) 2011-2017, The DART development contributors
* All rights reserved.
*
* The list of contributors can be found at:
* https://github.com/dartsim/dart/blob/master/LICENSE
*
* This file is provided under the following "BSD-style" License:
* Redistribution and use in source and binary forms, w... | 32.808511 | 80 | 0.646995 | [
"mesh"
] |
6d07ce67e8241b0bae75655325cb7f610797c60d | 29,185 | cpp | C++ | src/Generating/Noise3DGenerator.cpp | fairinternal/cuberite | a8c63a757c73279b854e5ef9622287d1c7d68b85 | [
"Apache-2.0"
] | null | null | null | src/Generating/Noise3DGenerator.cpp | fairinternal/cuberite | a8c63a757c73279b854e5ef9622287d1c7d68b85 | [
"Apache-2.0"
] | null | null | null | src/Generating/Noise3DGenerator.cpp | fairinternal/cuberite | a8c63a757c73279b854e5ef9622287d1c7d68b85 | [
"Apache-2.0"
] | null | null | null |
// Nosie3DGenerator.cpp
// Generates terrain using 3D noise, rather than composing. Is a test.
#include "Globals.h"
#include "Noise3DGenerator.h"
#include "../IniFile.h"
#include "../LinearInterpolation.h"
#include "../LinearUpscale.h"
/*
// Perform an automatic test of upscaling upon program start (use breakpo... | 36.164808 | 223 | 0.663492 | [
"shape",
"3d"
] |
6d0b3b0a54908d373cb6ab819058870361ce7b20 | 14,822 | cpp | C++ | src/OLS.cpp | S-telescope2/URT | 1acf0c11ba96a8dc0ac12823c5571f8256617641 | [
"MIT"
] | 79 | 2017-01-06T21:57:06.000Z | 2022-03-16T16:08:36.000Z | src/OLS.cpp | S-telescope2/URT | 1acf0c11ba96a8dc0ac12823c5571f8256617641 | [
"MIT"
] | 9 | 2016-12-16T09:45:01.000Z | 2022-02-11T06:53:49.000Z | src/OLS.cpp | S-telescope2/URT | 1acf0c11ba96a8dc0ac12823c5571f8256617641 | [
"MIT"
] | 20 | 2017-02-02T12:23:24.000Z | 2022-02-09T17:02:57.000Z | //=================================================================================================
// Copyright (C) 2016 Olivier Mallet - All Rights Reserved
//=================================================================================================
#include "../includ... | 31.806867 | 152 | 0.520712 | [
"vector",
"model"
] |
6d1107c8581240ddadeb5c2b6c970b2aa97f6cd7 | 2,395 | cpp | C++ | llvm/3.4.2/llvm-3.4.2.src/tools/yaml2obj/yaml2obj.cpp | tangyibin/goblin-core | 1940db6e95908c81687b2b22ddd9afbc8db9cdfe | [
"BSD-3-Clause"
] | 36 | 2015-01-13T19:34:04.000Z | 2022-03-07T22:22:15.000Z | llvm/3.4.2/llvm-3.4.2.src/tools/yaml2obj/yaml2obj.cpp | tangyibin/goblin-core | 1940db6e95908c81687b2b22ddd9afbc8db9cdfe | [
"BSD-3-Clause"
] | 7 | 2015-10-20T19:05:01.000Z | 2021-11-13T14:55:47.000Z | llvm/3.4.2/llvm-3.4.2.src/tools/yaml2obj/yaml2obj.cpp | tangyibin/goblin-core | 1940db6e95908c81687b2b22ddd9afbc8db9cdfe | [
"BSD-3-Clause"
] | 18 | 2015-04-23T20:59:52.000Z | 2021-11-18T20:06:39.000Z | //===- yaml2obj - Convert YAML to a binary object file --------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | 33.263889 | 80 | 0.645511 | [
"object"
] |
6d126a68ed5abd6e5ad5fac6d401e2bd689cf7f7 | 2,746 | cpp | C++ | exercises/6.0/src/myworkcell_core/src/myworkcell_node.cpp | JonathanPlasse/industrial_training | 2de2ecbc8d1f7d2b4b724cc6badd003ca2d653d7 | [
"Apache-2.0"
] | 324 | 2015-01-31T07:35:37.000Z | 2022-03-27T09:30:14.000Z | exercises/6.0/src/myworkcell_core/src/myworkcell_node.cpp | AhmedMounir/industrial_training | e6761c7bee65d3802fee6cf7c99e3113d3dc1af2 | [
"Apache-2.0"
] | 226 | 2015-01-20T17:15:56.000Z | 2022-01-19T04:55:23.000Z | exercises/6.0/src/myworkcell_core/src/myworkcell_node.cpp | AhmedMounir/industrial_training | e6761c7bee65d3802fee6cf7c99e3113d3dc1af2 | [
"Apache-2.0"
] | 219 | 2015-03-29T03:05:11.000Z | 2022-03-23T11:12:43.000Z | #include <ros/ros.h>
#include <myworkcell_core/LocalizePart.h>
#include <tf/tf.h>
#include <moveit/move_group_interface/move_group_interface.h>
/**
* @brief The ScanNPlan class is a client of the vision and path plan servers. The ScanNPLan class takes
* these services, computes transforms and published commands to th... | 32.305882 | 134 | 0.726147 | [
"object",
"transform"
] |
6d15b2c6999ef9565e98ae3fcb81ecf78e84e0dc | 7,964 | cpp | C++ | sqsgenerator/core/src/main.cpp | dgehringer/sqsgenerator | 562697166a53f806629e8e1086b381871d9a675e | [
"MIT"
] | 14 | 2019-11-16T10:34:04.000Z | 2022-03-28T09:32:42.000Z | sqsgenerator/core/src/main.cpp | dgehringer/sqsgenerator | 562697166a53f806629e8e1086b381871d9a675e | [
"MIT"
] | 5 | 2019-11-21T05:54:07.000Z | 2022-03-29T07:56:34.000Z | sqsgenerator/core/src/main.cpp | dgehringer/sqsgenerator | 562697166a53f806629e8e1086b381871d9a675e | [
"MIT"
] | 4 | 2020-09-28T14:28:23.000Z | 2021-03-05T14:11:44.000Z | //
// Created by dominik on 21.05.21.
#include "sqs.hpp"
#include <iostream>
#include <thread>
#include <vector>
#include <chrono>
#include "types.hpp"
#include <boost/multi_array.hpp>
#include <boost/log/core.hpp>
#include <boost/log/trivial.hpp>
#include <boost/log/utility/setup.hpp>
namespace logging = boost::log;
... | 44.99435 | 424 | 0.594676 | [
"vector"
] |
6d165650b06b87fcedba8ec68b034196f27146c4 | 7,037 | cpp | C++ | 01_Develop/libXMFFmpeg/Source/libavcodec/acelp_vectors.cpp | mcodegeeks/OpenKODE-Framework | d4382d781da7f488a0e7667362a89e8e389468dd | [
"MIT"
] | 2 | 2017-08-03T07:15:00.000Z | 2018-06-18T10:32:53.000Z | 01_Develop/libXMFFmpeg/Source/libavcodec/acelp_vectors.cpp | mcodegeeks/OpenKODE-Framework | d4382d781da7f488a0e7667362a89e8e389468dd | [
"MIT"
] | null | null | null | 01_Develop/libXMFFmpeg/Source/libavcodec/acelp_vectors.cpp | mcodegeeks/OpenKODE-Framework | d4382d781da7f488a0e7667362a89e8e389468dd | [
"MIT"
] | 2 | 2019-03-04T22:57:42.000Z | 2020-03-06T01:32:26.000Z | /*
* adaptive and fixed codebook vector operations for ACELP-based codecs
*
* Copyright (c) 2008 Vladimir Voroshilov
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Softw... | 26.858779 | 84 | 0.57354 | [
"vector"
] |
6d243f0f3e279423ef1a07869c313f64c6d8f91f | 70,007 | cc | C++ | src/runtime.cc | lanhin/TripletRun | 06f73a6911fae2f9874bed8f9d68bf0d3fd5e973 | [
"MIT"
] | 15 | 2019-03-22T16:07:53.000Z | 2021-07-31T03:22:34.000Z | src/runtime.cc | lanhin/TripletRun | 06f73a6911fae2f9874bed8f9d68bf0d3fd5e973 | [
"MIT"
] | null | null | null | src/runtime.cc | lanhin/TripletRun | 06f73a6911fae2f9874bed8f9d68bf0d3fd5e973 | [
"MIT"
] | 2 | 2018-05-23T08:30:39.000Z | 2020-08-28T11:13:40.000Z | // ==================
// @2017-09 by lanhin
// ACSA, USTC
// lanhin1@gmail.com
// ==================
#include "runtime.h"
#include "constants.h"
#include "json/json.h"
#include "utils.h"
#include <cassert>
#include <iostream>
#include <fstream>
#include <sstream>
#include <unistd.h>
#include <cmath>
namespace triplet... | 31.169635 | 406 | 0.629009 | [
"vector"
] |
6d264ff711b53d8ca60062f8c4ed4b04e65c1f5d | 2,435 | cpp | C++ | src/Game.cpp | SharkDX/Antek | 02a79005dc63643158bb404d913c359fed5db0c1 | [
"Apache-2.0"
] | 1 | 2021-05-13T16:22:34.000Z | 2021-05-13T16:22:34.000Z | src/Game.cpp | guymor4/Antek | 02a79005dc63643158bb404d913c359fed5db0c1 | [
"Apache-2.0"
] | null | null | null | src/Game.cpp | guymor4/Antek | 02a79005dc63643158bb404d913c359fed5db0c1 | [
"Apache-2.0"
] | null | null | null | #include "Game.h"
#include <iostream>
#include <string>
#include <assert.h>
#include <glm/glm.hpp>
#include <glm/ext.hpp>
Antek::Game::Game(GLFWwindow* window)
{
glfwGetWindowSize(window, &_screen_width, &_screen_height);
_is_running = false;
_window = window;
}
Antek::Game::~Game()
{
}
void Antek::Game::LoadR... | 21.173913 | 115 | 0.713758 | [
"render"
] |
6d2bd84977bfbb63910c68b6f831db95d08b24ab | 1,445 | cpp | C++ | data_structures/BIT.cpp | Rodp63/CP | 3fb14cab2cf340a183a77e978029147f59269020 | [
"MIT"
] | null | null | null | data_structures/BIT.cpp | Rodp63/CP | 3fb14cab2cf340a183a77e978029147f59269020 | [
"MIT"
] | null | null | null | data_structures/BIT.cpp | Rodp63/CP | 3fb14cab2cf340a183a77e978029147f59269020 | [
"MIT"
] | null | null | null | #include <iostream>
#include <stdio.h>
#include <vector>
#include <queue>
#include <stack>
#include <algorithm>
#include <set>
#include <map>
#include <deque>
#include <math.h>
#include <string.h>
#include <iomanip>
#include <locale>
using namespace std;
#define FORN(i,m,n) for(int i=m; i<(n); i++)
#defi... | 22.230769 | 72 | 0.530104 | [
"vector"
] |
6d2c6bb6d97d7732ddab49c94110dc828805052f | 16,068 | cpp | C++ | ViAn/GUI/drawingwidget.cpp | NFCSKL/NFC-ViAn | ce04b78b4c9695374d71198f57d4236a5cad1525 | [
"MIT"
] | 1 | 2019-12-08T03:53:03.000Z | 2019-12-08T03:53:03.000Z | ViAn/GUI/drawingwidget.cpp | NFCSKL/NFC-ViAn | ce04b78b4c9695374d71198f57d4236a5cad1525 | [
"MIT"
] | 182 | 2018-02-08T11:03:26.000Z | 2019-06-27T15:27:47.000Z | ViAn/GUI/drawingwidget.cpp | NFCSKL/NFC-ViAn | ce04b78b4c9695374d71198f57d4236a5cad1525 | [
"MIT"
] | null | null | null | #include "drawingwidget.h"
#include "DrawingItems/arrowitem.h"
#include "DrawingItems/circleitem.h"
#include "DrawingItems/frameitem.h"
#include "DrawingItems/lineitem.h"
#include "DrawingItems/penitem.h"
#include "DrawingItems/rectitem.h"
#include "DrawingItems/textitem.h"
#include "Project/videoproject.h"
#include "... | 32.200401 | 104 | 0.628516 | [
"shape",
"vector"
] |
6d2ccdd875710da01044fa63e91588754dd50fe1 | 948 | cpp | C++ | CNN/feature_layer_proxy.cpp | suiyili/projects | 29b4ab0435c8994809113c444b3dea4fff60b75c | [
"MIT"
] | null | null | null | CNN/feature_layer_proxy.cpp | suiyili/projects | 29b4ab0435c8994809113c444b3dea4fff60b75c | [
"MIT"
] | null | null | null | CNN/feature_layer_proxy.cpp | suiyili/projects | 29b4ab0435c8994809113c444b3dea4fff60b75c | [
"MIT"
] | null | null | null | #include "feature_layer_proxy.hpp"
#include "vector_allocator.hpp"
#include <stdexcept>
namespace cnn::layer {
feature_layer_proxy::feature_layer_proxy(neuron_array_i &prev_layer,
const neuron_indices &indices) noexcept
: neurons_(init_neurons(prev_layer, indices)) {}
simp... | 36.461538 | 80 | 0.71308 | [
"vector"
] |
6d2ea3b522b32706d621e6d4126c8c032690ed55 | 1,821 | hh | C++ | montage-tech/src/kware/demux_mp/live555/liveMedia/include/AMRAudioFileSource.hh | kuikuitage/NewCool-UC-3.1.0-priv | 16198d4eae1dd1a1bf4f4ba4b54652688078c018 | [
"Apache-2.0"
] | null | null | null | montage-tech/src/kware/demux_mp/live555/liveMedia/include/AMRAudioFileSource.hh | kuikuitage/NewCool-UC-3.1.0-priv | 16198d4eae1dd1a1bf4f4ba4b54652688078c018 | [
"Apache-2.0"
] | null | null | null | montage-tech/src/kware/demux_mp/live555/liveMedia/include/AMRAudioFileSource.hh | kuikuitage/NewCool-UC-3.1.0-priv | 16198d4eae1dd1a1bf4f4ba4b54652688078c018 | [
"Apache-2.0"
] | 3 | 2016-05-03T05:57:19.000Z | 2021-11-10T21:34:00.000Z | /**********
This library is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the
Free Software Foundation; either version 2.1 of the License, or (at your
option) any later version. (See <http://www.gnu.org/copyleft/lesser.html>.)
This libr... | 28.015385 | 77 | 0.752334 | [
"object"
] |
6d311d34f33791f98a051caf2ffe64edc7680242 | 3,117 | cpp | C++ | Game/Source/Coins.cpp | IsmaUPC/PlataformerGame | 2daadee9ef4261a625cf2edd07dab0d12249a89b | [
"MIT"
] | null | null | null | Game/Source/Coins.cpp | IsmaUPC/PlataformerGame | 2daadee9ef4261a625cf2edd07dab0d12249a89b | [
"MIT"
] | null | null | null | Game/Source/Coins.cpp | IsmaUPC/PlataformerGame | 2daadee9ef4261a625cf2edd07dab0d12249a89b | [
"MIT"
] | 2 | 2020-10-19T11:24:18.000Z | 2020-12-06T17:57:00.000Z | #include "App.h"
#include "Coins.h"
#include "Audio.h"
#include "Player.h"
Coins::Coins(iPoint pos) : Entity()
{
name.Create("coins");
position = pos;
}
Coins::Coins(TypeEntity pTypeEntity, iPoint pPosition, float pVelocity, SDL_Texture* pTexture)
: Entity(pTypeEntity, pPosition, pVelocity, pTexture)
{
name.Cre... | 20.24026 | 144 | 0.686237 | [
"render"
] |
6d3954b61e4065f5f0e169b18480c32b1d8e28bd | 11,244 | hpp | C++ | trunk/win/Source/Includes/Boost/date_time/time_parsing.hpp | dyzmapl/BumpTop | 1329ea41411c7368516b942d19add694af3d602f | [
"Apache-2.0"
] | 460 | 2016-01-13T12:49:34.000Z | 2022-02-20T04:10:40.000Z | external/windows/boost/include/boost/date_time/time_parsing.hpp | foxostro/CheeseTesseract | 737ebbd19cee8f5a196bf39a11ca793c561e56cb | [
"MIT"
] | 24 | 2016-11-07T04:59:49.000Z | 2022-03-14T06:34:12.000Z | external/windows/boost/include/boost/date_time/time_parsing.hpp | foxostro/CheeseTesseract | 737ebbd19cee8f5a196bf39a11ca793c561e56cb | [
"MIT"
] | 148 | 2016-01-17T03:16:43.000Z | 2022-03-17T12:20:36.000Z | #ifndef _DATE_TIME_TIME_PARSING_HPP___
#define _DATE_TIME_TIME_PARSING_HPP___
/* Copyright (c) 2002,2003,2005 CrystalClear Software, Inc.
* Use, modification and distribution is subject to the
* Boost Software License, Version 1.0. (See accompanying
* file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.... | 34.919255 | 143 | 0.595251 | [
"object"
] |
6d3b550405af32dacac3ee3b0fce01fdc06cdca7 | 7,562 | cc | C++ | CondCore/SiStripPlugins/plugins/SiStripLorentzAngle_PayloadInspector.cc | yihui-lai/cmssw | ec61da59bdebc84a58d07d7e6d993b74bb7709ee | [
"Apache-2.0"
] | 2 | 2018-06-01T05:18:55.000Z | 2021-04-08T21:44:06.000Z | CondCore/SiStripPlugins/plugins/SiStripLorentzAngle_PayloadInspector.cc | yihui-lai/cmssw | ec61da59bdebc84a58d07d7e6d993b74bb7709ee | [
"Apache-2.0"
] | 26 | 2018-10-30T12:47:58.000Z | 2022-03-29T08:39:00.000Z | CondCore/SiStripPlugins/plugins/SiStripLorentzAngle_PayloadInspector.cc | p2l1pfp/cmssw | 9bda22bf33ecf18dd19a3af2b3a8cbdb1de556a9 | [
"Apache-2.0"
] | 2 | 2020-03-20T18:46:13.000Z | 2021-03-12T09:23:07.000Z | /*!
\file SiStripLorentzAngle_PayloadInspector
\Payload Inspector Plugin for SiStrip Lorentz angles
\author M. Musich
\version $Revision: 1.0 $
\date $Date: 2017/09/21 10:59:56 $
*/
#include "CondCore/Utilities/interface/PayloadInspectorModule.h"
#include "CondCore/Utilities/interface/PayloadInspector.h"
#in... | 33.312775 | 119 | 0.602751 | [
"geometry",
"vector"
] |
6d3cbf0d269e12a08fa7ade19568cbda6ba357b9 | 19,594 | cpp | C++ | cpp/src/python/libio.cpp | tensorframe/tensorframe | acf82407917224e8c44d6efb7421949bcdd1881a | [
"MIT"
] | null | null | null | cpp/src/python/libio.cpp | tensorframe/tensorframe | acf82407917224e8c44d6efb7421949bcdd1881a | [
"MIT"
] | null | null | null | cpp/src/python/libio.cpp | tensorframe/tensorframe | acf82407917224e8c44d6efb7421949bcdd1881a | [
"MIT"
] | null | null | null | /* Copyright (C) 2018 Anthony Potappel, The Netherlands. All Rights Reserved.
* This work is licensed under the terms of the MIT license (for details, see attached LICENSE file).
*/
#include "libio.h"
#include "tf_types.h"
#include <string>
#include <sstream>
using namespace std;
PyObject* pyobj__gpu_halloc(PyObje... | 32.986532 | 140 | 0.596713 | [
"object"
] |
6d3ee095ee15cd66e2b6a1930baebb6ab3fbe60f | 726 | cpp | C++ | oi/tyvj/P1066/commit1.cpp | Riteme/test | b511d6616a25f4ae8c3861e2029789b8ee4dcb8d | [
"BSD-Source-Code"
] | 3 | 2018-08-30T09:43:20.000Z | 2019-12-03T04:53:43.000Z | oi/tyvj/P1066/commit1.cpp | Riteme/test | b511d6616a25f4ae8c3861e2029789b8ee4dcb8d | [
"BSD-Source-Code"
] | null | null | null | oi/tyvj/P1066/commit1.cpp | Riteme/test | b511d6616a25f4ae8c3861e2029789b8ee4dcb8d | [
"BSD-Source-Code"
] | null | null | null | #include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
typedef unsigned ValueType;
#define loop(n) for(unsigned __loop__=0;__loop__<n;__loop__++)
int main(int argc, char *argv[]) {
ios::sync_with_stdio(false);
int n;
cin>>n;
vector<ValueType> heaps;
he... | 18.15 | 63 | 0.568871 | [
"vector"
] |
6d48a1107d93b5bfd84e313fc13ee9adb22b50aa | 4,593 | cpp | C++ | externals/binaryen/src/passes/LocalCSE.cpp | caokun8008/ckeos | 889093599eb59c90e4cbcff2817f4421302fada1 | [
"MIT"
] | 40 | 2018-05-14T11:05:03.000Z | 2020-10-20T03:03:06.000Z | externals/binaryen/src/passes/LocalCSE.cpp | dimensionofficial/Dimension-E | a39533d4a457ce358185b4d0a5af544e742fc0ab | [
"MIT"
] | 4 | 2018-06-07T02:32:21.000Z | 2019-02-24T13:09:55.000Z | externals/binaryen/src/passes/LocalCSE.cpp | dimensionofficial/Dimension-E | a39533d4a457ce358185b4d0a5af544e742fc0ab | [
"MIT"
] | 40 | 2018-03-06T09:22:02.000Z | 2019-05-15T11:22:50.000Z | /*
* Copyright 2017 WebAssembly Community Group participants
*
* 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... | 29.254777 | 119 | 0.674722 | [
"vector"
] |
6d49e0a67008c72be182cd5bf278400f0d3454d1 | 7,883 | cpp | C++ | tests/0109-auto_create_topics.cpp | 1414945241/librdkafka | 655863482f07fbea15c90404540d3ed98c78e8f2 | [
"BSD-2-Clause-NetBSD",
"Zlib",
"BSD-2-Clause",
"MIT",
"BSD-3-Clause"
] | 6,046 | 2015-01-03T15:07:32.000Z | 2022-03-31T13:22:43.000Z | tests/0109-auto_create_topics.cpp | 1414945241/librdkafka | 655863482f07fbea15c90404540d3ed98c78e8f2 | [
"BSD-2-Clause-NetBSD",
"Zlib",
"BSD-2-Clause",
"MIT",
"BSD-3-Clause"
] | 4,247 | 2015-05-20T15:59:38.000Z | 2022-03-31T23:19:12.000Z | plugins/out_kafka/librdkafka-1.7.0/tests/0109-auto_create_topics.cpp | zhenyami/fluent-bit | 79f04c6c2ac0f3179165db99c6becdfa65d17f0d | [
"Apache-2.0"
] | 3,015 | 2015-01-12T13:52:46.000Z | 2022-03-31T15:09:08.000Z | /*
* librdkafka - Apache Kafka C library
*
* Copyright (c) 2020, Magnus Edenhill
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the abov... | 35.669683 | 79 | 0.646328 | [
"vector"
] |
6d4cd71b30e94151542ea476f7fd6fd7cdaab360 | 22,404 | cpp | C++ | Prenotazione viaggi/main.cpp | Pall1n/Info_scuola | a81587786ebe71e2b8474b8a0cceebd8176a9c21 | [
"MIT"
] | 1 | 2022-01-26T11:21:04.000Z | 2022-01-26T11:21:04.000Z | Prenotazione viaggi/main.cpp | Pall1n/Informatica_scuola | c259626e84d2d142cde45d37b9b7fafa7cb9ff90 | [
"MIT"
] | null | null | null | Prenotazione viaggi/main.cpp | Pall1n/Informatica_scuola | c259626e84d2d142cde45d37b9b7fafa7cb9ff90 | [
"MIT"
] | null | null | null | /* Consegna:
Un'agenzia di viaggi effettua le prenotazioni per i voli della compagnia Rapisardi Airlines, che applica delle tariffe standard per le seguenti destinazioni:
1) Catania-Roma 30€;
2) Catania-Praga 55€;
3) Catania-New York 400€.
Al momento della prenotazione il cliente dovrà indicare il numero di passeggeri ... | 41.032967 | 455 | 0.447733 | [
"vector"
] |
6d50a9088848464308e5601fc6b6fe6ecae5000a | 33,704 | cpp | C++ | gffread.cpp | ryomastumoto/Osara | 6f5ffc8994c397af6015055edad702c3235d3fdb | [
"MIT"
] | null | null | null | gffread.cpp | ryomastumoto/Osara | 6f5ffc8994c397af6015055edad702c3235d3fdb | [
"MIT"
] | null | null | null | gffread.cpp | ryomastumoto/Osara | 6f5ffc8994c397af6015055edad702c3235d3fdb | [
"MIT"
] | null | null | null | #include "GArgs.h"
#include "gff_utils.h"
#include <ctype.h>
#define __STDC_FORMAT_MACROS
#include <inttypes.h>
#define VERSION "0.12.1"
#define USAGE "gffread v" VERSION ". Usage:\n\
gffread <input_gff> [-g <genomic_seqs_fasta> | <dir>][-s <seq_info.fsize>] \n\
[-o <outfile>] [-t <trackname>] [-r [[<strand>]<chr>:]... | 37.869663 | 139 | 0.64028 | [
"object"
] |
6d51bb56f8d75ef6bf4c08a5f5f750291a713d96 | 1,860 | cpp | C++ | codes/mock/26/2.cpp | chessbot108/solved-problems | 0945be829a8ea9f0d5896c89331460d70d076691 | [
"MIT"
] | null | null | null | codes/mock/26/2.cpp | chessbot108/solved-problems | 0945be829a8ea9f0d5896c89331460d70d076691 | [
"MIT"
] | null | null | null | codes/mock/26/2.cpp | chessbot108/solved-problems | 0945be829a8ea9f0d5896c89331460d70d076691 | [
"MIT"
] | null | null | null |
//misaka will carry me to master
#include <iostream>
#include <cstdio>
#include <cstring>
#include <cmath>
#include <utility>
#include <cassert>
#include <algorithm>
#include <vector>
#include <functional>
#include <numeric>
#include <set>
#include <map>
#define ll long long
#define lb long double
#define sz(vec) ((i... | 16.607143 | 67 | 0.514516 | [
"vector"
] |
6d5669fe8a9e99d6a2f17d0e4b3c88473a075479 | 4,169 | hpp | C++ | SU2-Quantum/SU2_CFD/include/interfaces/cfd/CMixingPlaneInterface.hpp | Agony5757/SU2-Quantum | 16e7708371a597511e1242f3a7581e8c4187f5b2 | [
"Apache-2.0"
] | null | null | null | SU2-Quantum/SU2_CFD/include/interfaces/cfd/CMixingPlaneInterface.hpp | Agony5757/SU2-Quantum | 16e7708371a597511e1242f3a7581e8c4187f5b2 | [
"Apache-2.0"
] | null | null | null | SU2-Quantum/SU2_CFD/include/interfaces/cfd/CMixingPlaneInterface.hpp | Agony5757/SU2-Quantum | 16e7708371a597511e1242f3a7581e8c4187f5b2 | [
"Apache-2.0"
] | 1 | 2021-12-03T06:40:08.000Z | 2021-12-03T06:40:08.000Z | /*!
* \file CMixingPlaneInterface.cpp
* \brief Declaration and inlines of the class to transfer average variables
* needed for MixingPlane computation from a generic zone into another one.
* \author S. Vitale
* \version 7.0.6 "Blackbird"
*
* SU2 Project Website: https://su2code.github.io
*
* The SU2 Pro... | 39.704762 | 123 | 0.720796 | [
"mesh",
"geometry"
] |
6d5dbdbfa8cc14af72049563b2c7be0002f06b2a | 2,479 | cpp | C++ | Crypto/Ciphers/Substitution Ciphers/Homophonic Substitution Cipher.cpp | Anmol-Singh-Jaggi/Crypto | 4cdc3a9f43b80adcffc7debda746d6ba0aef0e8b | [
"MIT"
] | null | null | null | Crypto/Ciphers/Substitution Ciphers/Homophonic Substitution Cipher.cpp | Anmol-Singh-Jaggi/Crypto | 4cdc3a9f43b80adcffc7debda746d6ba0aef0e8b | [
"MIT"
] | null | null | null | Crypto/Ciphers/Substitution Ciphers/Homophonic Substitution Cipher.cpp | Anmol-Singh-Jaggi/Crypto | 4cdc3a9f43b80adcffc7debda746d6ba0aef0e8b | [
"MIT"
] | null | null | null | #include<iostream>
#include<map>
#include<utility>
#include<algorithm>
#include<cstdlib>
#include<ctime>
#include<cassert>
#include<set>
using namespace std;
const int alphabet_size = 26; // 'a'-'z'...
const int codomain_size=126-33+1; // ASCII 33-126...
vector<vector<char> > mapping(alphabet_size);
map<char,char> in... | 23.836538 | 88 | 0.553046 | [
"vector"
] |
6d63b1aa378e38f3ef822abbdee96686260d736a | 2,434 | cpp | C++ | rps-cpp/src/main.cpp | Adrien-Luxey/cyclon-rps | 28667b064ce0ef418fad34b54f3e0765e83434dd | [
"Unlicense"
] | null | null | null | rps-cpp/src/main.cpp | Adrien-Luxey/cyclon-rps | 28667b064ce0ef418fad34b54f3e0765e83434dd | [
"Unlicense"
] | null | null | null | rps-cpp/src/main.cpp | Adrien-Luxey/cyclon-rps | 28667b064ce0ef418fad34b54f3e0765e83434dd | [
"Unlicense"
] | null | null | null | #include <iostream>
#include <string>
#include <vector>
#include <thread>
#include <chrono>
#include <csignal>
#include <memory>
#include <cxxopts.hpp>
#include "rps/Descriptor.hpp"
#include "rps/RPS.hpp"
void splitString(const std::string& str, const std::string& delim,
std::vector<std::string> &re... | 29.682927 | 96 | 0.636812 | [
"vector"
] |
6d6530b8b96e05a8668feed884ba8fe3a4ee512c | 11,243 | cpp | C++ | source/opt/cfg.cpp | iburinoc/SPIRV-Tools | 48326d443e434f55eb50a7cfc9acdc968daad5e3 | [
"Apache-2.0"
] | null | null | null | source/opt/cfg.cpp | iburinoc/SPIRV-Tools | 48326d443e434f55eb50a7cfc9acdc968daad5e3 | [
"Apache-2.0"
] | null | null | null | source/opt/cfg.cpp | iburinoc/SPIRV-Tools | 48326d443e434f55eb50a7cfc9acdc968daad5e3 | [
"Apache-2.0"
] | null | null | null | // Copyright (c) 2017 Google Inc.
//
// 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... | 34.80805 | 80 | 0.67482 | [
"vector"
] |
6d6a2e2474e5c07612a4dd7ea72ffb834d52d901 | 4,822 | cc | C++ | RecoBTag/PerformanceDB/plugins/PhysicsPerformanceDBWriterFromFile_WPandPayload_IOV.cc | amecca/cmssw | 4d5c91a05629d9124806e310501fac8c303c84c2 | [
"Apache-2.0"
] | 1 | 2018-08-28T16:51:36.000Z | 2018-08-28T16:51:36.000Z | RecoBTag/PerformanceDB/plugins/PhysicsPerformanceDBWriterFromFile_WPandPayload_IOV.cc | amecca/cmssw | 4d5c91a05629d9124806e310501fac8c303c84c2 | [
"Apache-2.0"
] | 25 | 2016-06-24T20:55:32.000Z | 2022-02-01T19:24:45.000Z | RecoBTag/PerformanceDB/plugins/PhysicsPerformanceDBWriterFromFile_WPandPayload_IOV.cc | amecca/cmssw | 4d5c91a05629d9124806e310501fac8c303c84c2 | [
"Apache-2.0"
] | 8 | 2016-03-25T07:17:43.000Z | 2021-07-08T17:11:21.000Z | #include <memory>
#include <string>
#include <fstream>
#include <iostream>
#include "FWCore/Framework/interface/Frameworkfwd.h"
#include "FWCore/Framework/interface/EDAnalyzer.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/MakerMacros.h"
#include "FWCore/ParameterSet/interface/Par... | 29.224242 | 118 | 0.699917 | [
"object",
"vector"
] |
6d6bdd6100f9c1e22039f9144dd71e31d51546e2 | 2,683 | cpp | C++ | UVa/uva_196_Spreadsheet_memoization.cpp | bishoy-magdy/Competitive-Programming | 689daac9aeb475da3c28aba4a69df394c68a9a34 | [
"MIT"
] | 2 | 2020-04-23T17:47:27.000Z | 2020-04-25T19:40:50.000Z | UVa/uva_196_Spreadsheet_memoization.cpp | bishoy-magdy/Competitive-Programming | 689daac9aeb475da3c28aba4a69df394c68a9a34 | [
"MIT"
] | null | null | null | UVa/uva_196_Spreadsheet_memoization.cpp | bishoy-magdy/Competitive-Programming | 689daac9aeb475da3c28aba4a69df394c68a9a34 | [
"MIT"
] | 1 | 2020-06-14T20:52:39.000Z | 2020-06-14T20:52:39.000Z | #include<bits/stdc++.h>
#include<iostream>
#include<string>
#include<vector>
#include<cmath>
#include<list>
#include <algorithm>
#include<vector>
#include<set>
#include <cctype>
#include <cstring>
#include <cstdio>
#include<queue>
#include<stack>
#include<bitset>
#include<time.h>
#include<fstream>
/********************... | 19.028369 | 89 | 0.456578 | [
"vector"
] |
6d6bddbf312d03e72da012378ad6569e5fe3507f | 21,389 | cc | C++ | third_party/blink/renderer/core/html/html_iframe_element.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 76 | 2020-09-02T03:05:41.000Z | 2022-03-30T04:40:55.000Z | third_party/blink/renderer/core/html/html_iframe_element.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 45 | 2020-09-02T03:21:37.000Z | 2022-03-31T22:19:45.000Z | third_party/blink/renderer/core/html/html_iframe_element.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 8 | 2020-07-22T18:49:18.000Z | 2022-02-08T10:27:16.000Z | /*
* Copyright (C) 1999 Lars Knoll (knoll@kde.org)
* (C) 1999 Antti Koivisto (koivisto@kde.org)
* (C) 2000 Simon Hausmann (hausmann@kde.org)
* (C) 2001 Dirk Mueller (mueller@kde.org)
* Copyright (C) 2004, 2006, 2008, 2009 Apple Inc. All rights reserved.
* Copyright (C) 2009 Ericsson ... | 42.021611 | 93 | 0.712656 | [
"object",
"shape",
"vector"
] |
6d6c99aecf75ce730db8a81f044427b744529294 | 18,203 | cpp | C++ | libretro/retro.cpp | AzureWinter/mrboom-libretro | aebf6c7aea64af6bf75bdadfa357913670f78d66 | [
"MIT"
] | null | null | null | libretro/retro.cpp | AzureWinter/mrboom-libretro | aebf6c7aea64af6bf75bdadfa357913670f78d66 | [
"MIT"
] | null | null | null | libretro/retro.cpp | AzureWinter/mrboom-libretro | aebf6c7aea64af6bf75bdadfa357913670f78d66 | [
"MIT"
] | null | null | null | #include <memalign.h>
#include <vector>
#include "mrboom.h"
#include "common.hpp"
#include "retro.hpp"
#include "MrboomHelper.hpp"
#include "BotTree.hpp"
#include <errno.h>
#include <time/rtime.h>
static uint32_t *frame_buf;
static struct retro_log_callback logging;
retro_log_printf_t log_cb;
static char ... | 25.317107 | 167 | 0.604131 | [
"geometry",
"vector"
] |
6d6f72713901e6ba8852d328afede46faa803d6f | 80,745 | cpp | C++ | src/Test/UnitTests.cpp | maxmcguire/rocket | d7df8a698da25ed0aae125579fd2a58e3f07c48b | [
"MIT"
] | 6 | 2015-10-07T22:43:18.000Z | 2021-12-20T05:48:54.000Z | src/Test/UnitTests.cpp | maxmcguire/rocket | d7df8a698da25ed0aae125579fd2a58e3f07c48b | [
"MIT"
] | null | null | null | src/Test/UnitTests.cpp | maxmcguire/rocket | d7df8a698da25ed0aae125579fd2a58e3f07c48b | [
"MIT"
] | 3 | 2015-06-19T04:58:50.000Z | 2020-01-19T16:19:22.000Z | /*
* RocketVM
* Copyright (c) 2011 Max McGuire
*
* See copyright notice in COPYRIGHT
*/
#include "Test.h"
#include "LuaTest.h"
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
static size_t GetTotalBytes(lua_State* L)
{
return lua_gc(L, LUA_GCCOUNT, 0) * 1024 + lua_gc(L, LUA_GCCOUNTB, 0);
}
TEST(... | 21.434829 | 90 | 0.537086 | [
"object"
] |
6d6fefa26d3d7baa35a2f53c3304d9dba1c16a88 | 6,783 | cpp | C++ | display3droutines.cpp | avanindra/EPVH | 4b114c63cde000dc052f7b2f7dbddaeebdc0ef06 | [
"BSD-3-Clause"
] | 10 | 2015-11-28T16:52:22.000Z | 2021-12-06T06:34:36.000Z | display3droutines.cpp | avanindra/EPVH | 4b114c63cde000dc052f7b2f7dbddaeebdc0ef06 | [
"BSD-3-Clause"
] | 10 | 2015-11-27T02:11:20.000Z | 2020-03-13T20:15:43.000Z | display3droutines.cpp | avanindra/EPVH | 4b114c63cde000dc052f7b2f7dbddaeebdc0ef06 | [
"BSD-3-Clause"
] | 12 | 2015-11-27T10:53:52.000Z | 2022-03-03T07:09:43.000Z | /*
Copyright (c) 2012, avanindra <email>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list... | 30.013274 | 125 | 0.695562 | [
"mesh",
"render",
"vector"
] |
6d706488da130696ee645cbdd212d9060c0731fb | 24,820 | cpp | C++ | test/RpcTest.cpp | yusufketen/casper-cpp-sdk | 5f65ee08e96285b15bb205b4387ecd2424502a2d | [
"Apache-2.0"
] | null | null | null | test/RpcTest.cpp | yusufketen/casper-cpp-sdk | 5f65ee08e96285b15bb205b4387ecd2424502a2d | [
"Apache-2.0"
] | 1 | 2022-03-20T17:56:36.000Z | 2022-03-20T17:56:36.000Z | test/RpcTest.cpp | yusufketen/casper-cpp-sdk | 5f65ee08e96285b15bb205b4387ecd2424502a2d | [
"Apache-2.0"
] | 3 | 2022-01-29T01:47:23.000Z | 2022-03-24T15:20:07.000Z | #define TEST_NO_MAIN 1
#include "RpcTest.hpp"
#include "acutest.h"
namespace Casper {
void test1(void) {
// function body
TEST_ASSERT(true);
}
void test2(void) {
// function body
TEST_ASSERT(false);
}
/**
* @brief Check the "info_get_peers" rpc function. The size of the return
* value should be greater tha... | 32.830688 | 80 | 0.709307 | [
"object",
"vector"
] |
6d775b3a77c1856c87f56db62c533e3f995a24f6 | 9,030 | cpp | C++ | src/Nazara/Audio/Formats/drwavLoader.cpp | jayrulez/NazaraEngine | e0310cd141f3cc11dbe8abfd5bfedf6b61de1a99 | [
"BSD-3-Clause-Clear",
"Apache-2.0",
"MIT"
] | null | null | null | src/Nazara/Audio/Formats/drwavLoader.cpp | jayrulez/NazaraEngine | e0310cd141f3cc11dbe8abfd5bfedf6b61de1a99 | [
"BSD-3-Clause-Clear",
"Apache-2.0",
"MIT"
] | null | null | null | src/Nazara/Audio/Formats/drwavLoader.cpp | jayrulez/NazaraEngine | e0310cd141f3cc11dbe8abfd5bfedf6b61de1a99 | [
"BSD-3-Clause-Clear",
"Apache-2.0",
"MIT"
] | null | null | null | // Copyright (C) 2022 Jérôme "Lynix" Leclercq (lynix680@gmail.com)
// This file is part of the "Nazara Engine - Audio module"
// For conditions of distribution and use, see copyright notice in Config.hpp
#include <Nazara/Audio/Formats/drwavLoader.hpp>
#include <Nazara/Audio/Algorithm.hpp>
#include <Nazara/Audio/Audio.... | 28.043478 | 129 | 0.692802 | [
"vector"
] |
6d7b3c4a6abc958f978a26cd94610313dfe6ffcb | 3,240 | hpp | C++ | core/src/Kokkos_UniqueToken.hpp | ORNL-CEES/kokkos | 70d113838b7dade09218a46c1e8aae44b6dbd321 | [
"BSD-3-Clause"
] | 1 | 2019-10-15T19:26:22.000Z | 2019-10-15T19:26:22.000Z | core/src/Kokkos_UniqueToken.hpp | ORNL-CEES/kokkos | 70d113838b7dade09218a46c1e8aae44b6dbd321 | [
"BSD-3-Clause"
] | 16 | 2019-04-15T20:52:05.000Z | 2020-01-24T05:13:25.000Z | core/src/Kokkos_UniqueToken.hpp | ORNL-CEES/kokkos | 70d113838b7dade09218a46c1e8aae44b6dbd321 | [
"BSD-3-Clause"
] | 1 | 2019-11-25T14:06:26.000Z | 2019-11-25T14:06:26.000Z | /*
//@HEADER
// ************************************************************************
//
// Kokkos v. 2.0
// Copyright (2014) Sandia Corporation
//
// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
// the U.S. Government retains certain rights in this softw... | 36.818182 | 78 | 0.71142 | [
"object"
] |
6d819f3503e313eb965bd53ce6a4ff18fdcbb510 | 1,557 | hpp | C++ | src/main/cpp/pistis/exceptions/StackFrame.hpp | tomault/pistis-exceptions | 2ac2a506a456b7aaa8ba36deab991cb56cd3cbb5 | [
"Apache-2.0"
] | null | null | null | src/main/cpp/pistis/exceptions/StackFrame.hpp | tomault/pistis-exceptions | 2ac2a506a456b7aaa8ba36deab991cb56cd3cbb5 | [
"Apache-2.0"
] | null | null | null | src/main/cpp/pistis/exceptions/StackFrame.hpp | tomault/pistis-exceptions | 2ac2a506a456b7aaa8ba36deab991cb56cd3cbb5 | [
"Apache-2.0"
] | null | null | null | #ifndef __PISTIS__EXCEPTIONS__STACKFRAME_HPP__
#define __PISTIS__EXCEPTIONS__STACKFRAME_HPP__
#include <iostream>
#include <string>
#include <vector>
namespace pistis {
namespace exceptions {
class StackFrame {
public:
StackFrame(const std::string& functionSignature, const void* address,
const std... | 31.77551 | 80 | 0.67052 | [
"vector"
] |
6d844490b93957fc4a67076dd1469be3c6de3b19 | 1,377 | cpp | C++ | kernel/tasks/thread.cpp | leakingmemory/jeokernel | 7c2413921cc2d30eef2b340de4efed66d41afeb1 | [
"MIT"
] | null | null | null | kernel/tasks/thread.cpp | leakingmemory/jeokernel | 7c2413921cc2d30eef2b340de4efed66d41afeb1 | [
"MIT"
] | null | null | null | kernel/tasks/thread.cpp | leakingmemory/jeokernel | 7c2413921cc2d30eef2b340de4efed66d41afeb1 | [
"MIT"
] | null | null | null | //
// Created by sigsegv on 09.05.2021.
//
#include <core/scheduler.h>
#include <core/cpu_mpfp.h>
#include <std/thread.h>
#include "../ApStartup.h"
extern "C" {
void thread_trampoline_start(std::threadimpl::thread_start_context *ctx);
void thread_trampoline(std::threadimpl::thread_start_context *ctx) {
... | 25.036364 | 132 | 0.551198 | [
"vector"
] |
6d86d7f7fd4719e7c3d2984f0739d8adc29eb3f8 | 6,624 | hpp | C++ | opencv2.framework/Versions/A/Headers/xobjdetect.hpp | starbadboy/TotoScanner | c97bcf1f475b8c6da2664b6e2df817860864445a | [
"MIT"
] | 150 | 2015-01-06T10:59:06.000Z | 2017-02-25T15:49:36.000Z | opencv2.framework/Versions/A/Headers/xobjdetect.hpp | starbadboy/TotoScanner | c97bcf1f475b8c6da2664b6e2df817860864445a | [
"MIT"
] | 1 | 2015-05-15T19:41:42.000Z | 2015-05-15T19:41:42.000Z | opencv2.framework/Versions/A/Headers/xobjdetect.hpp | starbadboy/TotoScanner | c97bcf1f475b8c6da2664b6e2df817860864445a | [
"MIT"
] | 46 | 2015-01-03T00:47:14.000Z | 2017-03-10T19:05:34.000Z | /*
By downloading, copying, installing or using the software you agree to this
license. If you do not agree to this license, do not download, install,
copy or use the software.
License Agreement
For Open Source Computer Vision Library
(3-clause BSD Lice... | 29.972851 | 80 | 0.712409 | [
"object",
"vector"
] |
6d8784251a49810a19728d38b2efbe1ea60a669f | 3,401 | cpp | C++ | tests/unit/geometry/patch.cpp | Andlon/crest | f79bf5a68f3eb86f5e3422881678bc6f9011730a | [
"MIT"
] | null | null | null | tests/unit/geometry/patch.cpp | Andlon/crest | f79bf5a68f3eb86f5e3422881678bc6f9011730a | [
"MIT"
] | 5 | 2017-01-24T10:45:27.000Z | 2017-01-27T16:21:37.000Z | tests/unit/geometry/patch.cpp | Andlon/crest | f79bf5a68f3eb86f5e3422881678bc6f9011730a | [
"MIT"
] | null | null | null | #include <gtest/gtest.h>
#include <gmock/gmock.h>
#include <crest/geometry/indexed_mesh.hpp>
#include <crest/geometry/patch.hpp>
using crest::IndexedMesh;
using ::testing::ElementsAreArray;
using ::testing::ElementsAre;
using ::testing::Pointwise;
using ::testing::Eq;
using ::testing::IsEmpty;
typedef IndexedMesh<... | 27.650407 | 109 | 0.478683 | [
"mesh",
"geometry",
"vector"
] |
6d91b7d347451a128e3961bc8750c05a60ff360c | 2,260 | cpp | C++ | test/api/test_results.cpp | rainmaple/duckdb | d3df77ba6740b8b089bddbfef77e2b969245b5cf | [
"MIT"
] | 9 | 2021-09-08T13:13:03.000Z | 2022-03-11T21:18:05.000Z | test/api/test_results.cpp | rainmaple/duckdb | d3df77ba6740b8b089bddbfef77e2b969245b5cf | [
"MIT"
] | 7 | 2020-08-25T22:24:16.000Z | 2020-09-06T00:16:49.000Z | test/api/test_results.cpp | rainmaple/duckdb | d3df77ba6740b8b089bddbfef77e2b969245b5cf | [
"MIT"
] | 1 | 2022-01-18T09:38:19.000Z | 2022-01-18T09:38:19.000Z | #include "catch.hpp"
#include "test_helpers.hpp"
using namespace duckdb;
using namespace std;
TEST_CASE("Test results API", "[api]") {
DuckDB db(nullptr);
Connection con(db);
// result equality
auto result = con.Query("SELECT 42");
auto result2 = con.Query("SELECT 42");
REQUIRE(result->Equals(*result2));
// ... | 27.901235 | 84 | 0.681416 | [
"vector"
] |
6d95db23d075ae615c0289b87c35bbb5f7317d9f | 2,753 | cc | C++ | lmctfy/cli/commands/spec.cc | claytonbrown/lmctfy | 94729318edb06f7d149f67581a07a4c70ed29250 | [
"Apache-2.0"
] | 1,145 | 2015-01-01T22:07:47.000Z | 2022-03-30T19:19:23.000Z | lmctfy/cli/commands/spec.cc | claytonbrown/lmctfy | 94729318edb06f7d149f67581a07a4c70ed29250 | [
"Apache-2.0"
] | 9 | 2015-01-09T08:50:27.000Z | 2020-02-11T09:16:20.000Z | lmctfy/cli/commands/spec.cc | claytonbrown/lmctfy | 94729318edb06f7d149f67581a07a4c70ed29250 | [
"Apache-2.0"
] | 123 | 2015-01-02T12:10:08.000Z | 2021-10-12T02:49:48.000Z | // Copyright 2014 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | 29.923913 | 77 | 0.684344 | [
"vector"
] |
6d978cdc249afbfb2d36ed2316514a6ee70c3a83 | 2,552 | hpp | C++ | include/eve/eve.hpp | clayne/eve | dc268b5db474376e1c53f5a474f5bb42b7c4cb59 | [
"MIT"
] | null | null | null | include/eve/eve.hpp | clayne/eve | dc268b5db474376e1c53f5a474f5bb42b7c4cb59 | [
"MIT"
] | null | null | null | include/eve/eve.hpp | clayne/eve | dc268b5db474376e1c53f5a474f5bb42b7c4cb59 | [
"MIT"
] | null | null | null | //==================================================================================================
/*
EVE - Expressive Vector Engine
Copyright : EVE Contributors & Maintainers
SPDX-License-Identifier: MIT
*/
//==================================================================================================
#pr... | 49.076923 | 100 | 0.258621 | [
"vector"
] |
6dafed7802ae73d35ada531c105aacd5f50e75ed | 3,884 | cpp | C++ | abstractball.cpp | andinsbing/BrickBreaker | cc93db7f4e294419c8884ca3f75bb239bbbf0edd | [
"MIT"
] | null | null | null | abstractball.cpp | andinsbing/BrickBreaker | cc93db7f4e294419c8884ca3f75bb239bbbf0edd | [
"MIT"
] | null | null | null | abstractball.cpp | andinsbing/BrickBreaker | cc93db7f4e294419c8884ca3f75bb239bbbf0edd | [
"MIT"
] | null | null | null | #include "abstractball.h"
#include<QTimer>
#include"gift.h"
#include<QDebug>
AbstractBall::AbstractBall(qreal movingSpeed,QGraphicsItem* parent):
QGraphicsObject(parent),
collidingState(notCollided),
timer(new QTimer(this)),
movingAngle(0,-1),
movingSpeed(movingSpeed)
{
timer->setInterval(movingSpeed);
t... | 22.71345 | 130 | 0.685376 | [
"shape"
] |
6db221dcc550d31728fdaaeb8f11a349889d0139 | 3,691 | cpp | C++ | src/utils.cpp | lu1and10/SkellySim | 6d319f2d1c1c85506d7debedc082747d89995045 | [
"Apache-2.0"
] | null | null | null | src/utils.cpp | lu1and10/SkellySim | 6d319f2d1c1c85506d7debedc082747d89995045 | [
"Apache-2.0"
] | null | null | null | src/utils.cpp | lu1and10/SkellySim | 6d319f2d1c1c85506d7debedc082747d89995045 | [
"Apache-2.0"
] | null | null | null | #include <mpi.h>
#include <skelly_sim.hpp>
#include <utils.hpp>
#include <cnpy.hpp>
// Following the paper Calculation of weights in finite different formulas,
// Bengt Fornberg, SIAM Rev. 40 (3), 685 (1998).
//
// Inputs:
// s = grid points
// M = order of the highest derivative to compute
// n_s = support to ... | 31.818966 | 123 | 0.506909 | [
"shape",
"vector"
] |
6db2d92b8d9ed043f5dedf14ea2c1f7c2fa4bd2b | 908 | cpp | C++ | leetcode/word-search.cpp | bananaappletw/online-judge | aa5606ecce1b29bf071ec682ea152b1ee4417958 | [
"MIT"
] | null | null | null | leetcode/word-search.cpp | bananaappletw/online-judge | aa5606ecce1b29bf071ec682ea152b1ee4417958 | [
"MIT"
] | null | null | null | leetcode/word-search.cpp | bananaappletw/online-judge | aa5606ecce1b29bf071ec682ea152b1ee4417958 | [
"MIT"
] | null | null | null | class Solution {
public:
int m;
int n;
bool solve(vector<vector<char>>& board, string& word,int idx,int i,int j)
{
if(idx==word.length())
return true;
if(i<0||j<0||i>=m||j>=n||word[idx]!=board[i][j])
return false;
board[i][j]='\0';
if(solve(board,w... | 28.375 | 82 | 0.468062 | [
"vector"
] |
6db4f6c3ab08a24367582f8c499f4d23f73a177e | 2,449 | cpp | C++ | src/graph/optimizer/rule/TopNRule.cpp | heyanlong/nebula | 07ccfde198c978b8c86b7091773e3238bfcdf454 | [
"Apache-2.0"
] | 1 | 2021-12-25T07:00:48.000Z | 2021-12-25T07:00:48.000Z | src/graph/optimizer/rule/TopNRule.cpp | heyanlong/nebula | 07ccfde198c978b8c86b7091773e3238bfcdf454 | [
"Apache-2.0"
] | 2 | 2021-11-18T03:14:50.000Z | 2021-11-18T07:38:06.000Z | src/graph/optimizer/rule/TopNRule.cpp | heyanlong/nebula | 07ccfde198c978b8c86b7091773e3238bfcdf454 | [
"Apache-2.0"
] | 3 | 2021-11-08T16:21:16.000Z | 2021-11-10T06:39:48.000Z | /* Copyright (c) 2020 vesoft inc. All rights reserved.
*
* This source code is licensed under Apache 2.0 License.
*/
#include "graph/optimizer/rule/TopNRule.h"
#include "common/expression/BinaryExpression.h"
#include "common/expression/ConstantExpression.h"
#include "common/expression/Expression.h"
#include "commo... | 34.013889 | 92 | 0.708044 | [
"transform"
] |
6dbb00a88a423628a32b4a5480b8f9fed382bbec | 1,278 | cpp | C++ | lightoj.com/GeneratingPalindromes.cpp | facug91/OJ-Solutions | 9aa55be066ce5596e4e64737c28cd3ff84e092fe | [
"Apache-2.0"
] | 6 | 2016-09-10T03:16:34.000Z | 2020-04-07T14:45:32.000Z | lightoj.com/GeneratingPalindromes.cpp | facug91/OJ-Solutions | 9aa55be066ce5596e4e64737c28cd3ff84e092fe | [
"Apache-2.0"
] | null | null | null | lightoj.com/GeneratingPalindromes.cpp | facug91/OJ-Solutions | 9aa55be066ce5596e4e64737c28cd3ff84e092fe | [
"Apache-2.0"
] | 2 | 2018-08-11T20:55:35.000Z | 2020-01-15T23:23:11.000Z | /*
By: facug91
From: http://www.lightoj.com/volume_showproblem.php?problem=1033
Name: Generating Palindromes
Date: 23/05/2016
*/
#include <bits/stdc++.h>
#define endl "\n"
#define EPS 1e-9
#define MP make_pair
#define F first
#define S second
#define DB(x) cerr << " #" << (#x) << ": " << (x)
#define DBL(x) cerr <<... | 23.236364 | 120 | 0.596244 | [
"vector"
] |
6dca5da8b008b5d867681bd6579df24bc1fb6955 | 1,924 | cpp | C++ | examples/ros/src/wheel_vehicle_control/src/wheel_vehicle_control.cpp | tomd-tc/monodrive-client | 95b6f2e02e081dcd2d66cc66dbf68c2f39da8ed6 | [
"MIT"
] | null | null | null | examples/ros/src/wheel_vehicle_control/src/wheel_vehicle_control.cpp | tomd-tc/monodrive-client | 95b6f2e02e081dcd2d66cc66dbf68c2f39da8ed6 | [
"MIT"
] | null | null | null | examples/ros/src/wheel_vehicle_control/src/wheel_vehicle_control.cpp | tomd-tc/monodrive-client | 95b6f2e02e081dcd2d66cc66dbf68c2f39da8ed6 | [
"MIT"
] | 1 | 2021-08-19T16:42:04.000Z | 2021-08-19T16:42:04.000Z | #include <iostream> // std::cout
#include <chrono> // std::chrono
#include <thread> // std::thread
#include <memory>
#include <vector>
#include <future>
//monoDrive Includes
#include "ros/ros.h"
#include "ros/package.h"
#include "monodrive_msgs/VehicleControl.h"
#include <geometry_msgs/Twist.h>
#includ... | 26.722222 | 114 | 0.671518 | [
"vector"
] |
6dca95d8e28942ed9e36d36312228d62b84b7ca3 | 6,696 | cc | C++ | mediapipe/calculators/tensor/tensors_to_classification_calculator.cc | mapleyuan/mediapipe | f15da632dec186f2c1d3c780f47086477e2286a9 | [
"Apache-2.0"
] | 3 | 2020-11-23T18:15:28.000Z | 2020-11-29T15:51:10.000Z | mediapipe/calculators/tensor/tensors_to_classification_calculator.cc | mapleyuan/mediapipe | f15da632dec186f2c1d3c780f47086477e2286a9 | [
"Apache-2.0"
] | 1 | 2021-06-03T03:34:46.000Z | 2021-06-03T03:34:46.000Z | mediapipe/calculators/tensor/tensors_to_classification_calculator.cc | mapleyuan/mediapipe | f15da632dec186f2c1d3c780f47086477e2286a9 | [
"Apache-2.0"
] | 3 | 2021-02-09T21:03:05.000Z | 2021-05-17T03:43:48.000Z | // Copyright 2019 The MediaPipe Authors.
//
// 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... | 33.818182 | 81 | 0.703405 | [
"shape",
"vector"
] |
6dcc3758cb06a0ad6fa07be6a6ed554598531f11 | 33,429 | cpp | C++ | modules/recognition/src/multiview_recognizer.cpp | v4r-tuwien/v4r | ff3fbd6d2b298b83268ba4737868bab258262a40 | [
"BSD-1-Clause",
"BSD-2-Clause"
] | 2 | 2021-02-22T11:36:33.000Z | 2021-07-20T11:31:08.000Z | modules/recognition/src/multiview_recognizer.cpp | v4r-tuwien/v4r | ff3fbd6d2b298b83268ba4737868bab258262a40 | [
"BSD-1-Clause",
"BSD-2-Clause"
] | null | null | null | modules/recognition/src/multiview_recognizer.cpp | v4r-tuwien/v4r | ff3fbd6d2b298b83268ba4737868bab258262a40 | [
"BSD-1-Clause",
"BSD-2-Clause"
] | 3 | 2018-10-19T10:39:23.000Z | 2021-04-07T13:39:03.000Z | #include <glog/logging.h>
#include <v4r/common/graph_geometric_consistency.h>
#include <v4r/common/miscellaneous.h>
#include <v4r/recognition/local_recognition_pipeline.h>
#include <v4r/recognition/multi_pipeline_recognizer.h>
#include <v4r/recognition/multiview_recognizer.h>
#include <omp.h>
#include <pcl/common/time... | 48.944363 | 120 | 0.650633 | [
"object",
"vector",
"model",
"transform"
] |
6dcd82ddd821564a78d4f476861eef38ed4aadd1 | 14,174 | cpp | C++ | toonz/sources/toonz/mergecolumns.cpp | ken-taguma/opentoonz | 01e8e736847773c34cd73a1cfb608ac0170d2135 | [
"BSD-3-Clause"
] | 1 | 2021-08-07T00:16:54.000Z | 2021-08-07T00:16:54.000Z | toonz/sources/toonz/mergecolumns.cpp | LibrePhone/opentoonz | cb95a29db4c47ab1f36a6e85a039c4c9c901f88a | [
"BSD-3-Clause"
] | null | null | null | toonz/sources/toonz/mergecolumns.cpp | LibrePhone/opentoonz | cb95a29db4c47ab1f36a6e85a039c4c9c901f88a | [
"BSD-3-Clause"
] | 1 | 2021-08-07T00:16:58.000Z | 2021-08-07T00:16:58.000Z |
#include "tapp.h"
#include "tpalette.h"
#include "toonz/txsheet.h"
#include "toonz/toonzscene.h"
#include "toonz/levelset.h"
#include "toonz/txshsimplelevel.h"
#include "toonz/txshlevelcolumn.h"
#include "toonz/txshcell.h"
//#include "tw/action.h"
#include "tropcm.h"
#include "ttoonzimage.h"
#include "matchline.h"
#i... | 30.416309 | 89 | 0.584027 | [
"vector"
] |
6dd015173c0ee7dbf43c326a70af829331360212 | 2,946 | cpp | C++ | delegate/src/test/GatherTest.cpp | sahilbandar/armnn | 249950645b7bc0593582182097c7e2f1d6d97442 | [
"MIT"
] | 856 | 2018-03-09T17:26:23.000Z | 2022-03-24T21:31:33.000Z | delegate/src/test/GatherTest.cpp | Elm8116/armnn | e571cde8411803aec545b1070ed677e481f46f3f | [
"MIT"
] | 623 | 2018-03-13T04:40:42.000Z | 2022-03-31T09:45:17.000Z | delegate/src/test/GatherTest.cpp | Elm8116/armnn | e571cde8411803aec545b1070ed677e481f46f3f | [
"MIT"
] | 284 | 2018-03-09T23:05:28.000Z | 2022-03-29T14:42:28.000Z | //
// Copyright © 2020 Arm Ltd and Contributors. All rights reserved.
// SPDX-License-Identifier: MIT
//
#include "GatherTestHelper.hpp"
#include <armnn_delegate.hpp>
#include <flatbuffers/flatbuffers.h>
#include <tensorflow/lite/schema/schema_generated.h>
#include <doctest/doctest.h>
namespace armnnDelegate
{
//... | 25.179487 | 86 | 0.624236 | [
"vector"
] |
6dd41d9a29a84dd9dd234adba946686ea9295ea2 | 2,986 | cpp | C++ | src/dtw.cpp | vadimostanin2/sneeze-detector | 2bac0d08cb4960b7dc16492b8c69ff1459dd9334 | [
"MIT"
] | 11 | 2015-04-18T23:42:44.000Z | 2021-04-03T18:23:44.000Z | src/dtw.cpp | vadimostanin2/sneeze-detector | 2bac0d08cb4960b7dc16492b8c69ff1459dd9334 | [
"MIT"
] | null | null | null | src/dtw.cpp | vadimostanin2/sneeze-detector | 2bac0d08cb4960b7dc16492b8c69ff1459dd9334 | [
"MIT"
] | 3 | 2017-06-02T17:07:08.000Z | 2019-04-18T05:59:48.000Z | #include "dtw.h"
#include <iostream>
using namespace std;
int DTW::min( int x, int y, int z )
{
if( ( x <= y ) && ( x <= z ) ) return x;
if( ( y <= x ) && ( y <= z ) ) return y;
if( ( z <= x ) && ( z <= y ) ) return z;
return 0;
}
double DTW::min( double x, double y, double z )
{
if( ( x <= y ) && ( x <= z ) ) ... | 24.080645 | 134 | 0.539183 | [
"vector"
] |
6dd6fd262e35a192ba85eb3aa16660526d2ebca2 | 2,670 | cc | C++ | paddle/fluid/framework/details/ssa_graph_printer.cc | cjld/Paddle | ed9c19cc95cd4fd387037f1d1493e6a3eff776e7 | [
"Apache-2.0"
] | 1 | 2018-08-03T03:33:52.000Z | 2018-08-03T03:33:52.000Z | paddle/fluid/framework/details/ssa_graph_printer.cc | cjld/Paddle | ed9c19cc95cd4fd387037f1d1493e6a3eff776e7 | [
"Apache-2.0"
] | null | null | null | paddle/fluid/framework/details/ssa_graph_printer.cc | cjld/Paddle | ed9c19cc95cd4fd387037f1d1493e6a3eff776e7 | [
"Apache-2.0"
] | 1 | 2018-07-20T07:13:31.000Z | 2018-07-20T07:13:31.000Z | // Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required... | 31.785714 | 75 | 0.619476 | [
"shape"
] |
6dd9c9090e13cb40b05e4f4b0554bfe5ccdabf10 | 8,552 | cpp | C++ | database/TripleStore.cpp | gpl2021/triad | dfded62dfa0cc0329c99771142923fdf44a4902c | [
"Apache-2.0"
] | 4 | 2018-07-09T07:53:14.000Z | 2019-08-20T17:33:17.000Z | database/TripleStore.cpp | sairamgv/triad-rdf | fba91141362f347ae021ffe0d8da4921826393bd | [
"Apache-2.0"
] | 2 | 2019-05-17T16:48:06.000Z | 2021-07-06T09:27:57.000Z | database/TripleStore.cpp | gpl2021/triad | dfded62dfa0cc0329c99771142923fdf44a4902c | [
"Apache-2.0"
] | 1 | 2019-05-29T07:58:02.000Z | 2019-05-29T07:58:02.000Z | /*
Copyright 2014 Sairam Gurajada
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software... | 34.208 | 169 | 0.664757 | [
"object",
"vector"
] |
6ddcc1994fdf8497ed4de8d129fdf46298e5534a | 2,397 | cpp | C++ | Engine/source/materials/baseMatInstance.cpp | vbillet/Torque3D | ece8823599424ea675e5f79d9bcb44e42cba8cae | [
"MIT"
] | 2,113 | 2015-01-01T11:23:01.000Z | 2022-03-28T04:51:46.000Z | Engine/source/materials/baseMatInstance.cpp | vbillet/Torque3D | ece8823599424ea675e5f79d9bcb44e42cba8cae | [
"MIT"
] | 948 | 2015-01-02T01:50:00.000Z | 2022-02-27T05:56:40.000Z | Engine/source/materials/baseMatInstance.cpp | vbillet/Torque3D | ece8823599424ea675e5f79d9bcb44e42cba8cae | [
"MIT"
] | 944 | 2015-01-01T09:33:53.000Z | 2022-03-15T22:23:03.000Z | //-----------------------------------------------------------------------------
// Copyright (c) 2012 GarageGames, 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 restrictio... | 29.9625 | 82 | 0.652482 | [
"vector"
] |
6de0e3175dacddd33705d78b3a9a94eaf81f8a11 | 709 | cpp | C++ | jni/application/Game_states/Instructions_state.cpp | gdewald/Spacefrog | eae9bd5c91670f7d13442740b5d801286ba41e5e | [
"BSD-2-Clause"
] | null | null | null | jni/application/Game_states/Instructions_state.cpp | gdewald/Spacefrog | eae9bd5c91670f7d13442740b5d801286ba41e5e | [
"BSD-2-Clause"
] | null | null | null | jni/application/Game_states/Instructions_state.cpp | gdewald/Spacefrog | eae9bd5c91670f7d13442740b5d801286ba41e5e | [
"BSD-2-Clause"
] | null | null | null | #include "Instructions_state.h"
using namespace Zeni;
Zeni::String Instructions_state::image_name = "goals";
void Instructions_state::on_key(const SDL_KeyboardEvent &event) {
if (event.state == SDL_PRESSED && event.keysym.sym == SDLK_ESCAPE)
get_Game().pop_state();
else Widget_Gamestate::on_key(event);
}
void I... | 25.321429 | 76 | 0.706629 | [
"render"
] |
6de24e18feb25baf57089c816e76d30f933ad970 | 8,352 | cc | C++ | linux/raspberry_pi/hy_srf05_ultrasonic_ranging_sensor.cc | drichardson/examples | d8b285db4ad1cfd9a92091deab2eb385748f97c8 | [
"Unlicense"
] | 33 | 2015-04-21T20:10:42.000Z | 2021-09-28T05:54:37.000Z | linux/raspberry_pi/hy_srf05_ultrasonic_ranging_sensor.cc | drichardson/examples | d8b285db4ad1cfd9a92091deab2eb385748f97c8 | [
"Unlicense"
] | 1 | 2020-03-15T18:54:19.000Z | 2020-03-15T18:54:19.000Z | linux/raspberry_pi/hy_srf05_ultrasonic_ranging_sensor.cc | drichardson/examples | d8b285db4ad1cfd9a92091deab2eb385748f97c8 | [
"Unlicense"
] | 19 | 2015-01-09T13:39:06.000Z | 2021-09-15T05:39:33.000Z | // Example using HY-SRF05 ultrasonic ranging sensor breakout
// board, which has 5 pins: Vcc (5V), GND, OUT, TRIG, and ECHO.
// OUT is used to put it into a mode that combines TRIG and ECHO
// on a single pin, but is not used in this example.
// TRIG must be held high (low?) long enough to start the output
// pulse. Af... | 37.12 | 99 | 0.613027 | [
"object"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.