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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a39af4e716ccffa5926250b8b89c5aff06e4948f | 27,416 | cc | C++ | storage/browser/blob/blob_builder_from_stream.cc | chromium/chromium | df46e572c3449a4b108d6e02fbe4f6d24cf98381 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | storage/browser/blob/blob_builder_from_stream.cc | chromium/chromium | df46e572c3449a4b108d6e02fbe4f6d24cf98381 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 86 | 2015-10-21T13:02:42.000Z | 2022-03-14T07:50:50.000Z | storage/browser/blob/blob_builder_from_stream.cc | chromium/chromium | df46e572c3449a4b108d6e02fbe4f6d24cf98381 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | // Copyright 2018 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 "storage/browser/blob/blob_builder_from_stream.h"
#include "base/bind.h"
#include "base/containers/span.h"
#include "base/guid.h"
#include "base... | 38.451613 | 80 | 0.676758 | [
"vector"
] |
a39b1da32b63bceede3dbee20a9d6380172ca3e2 | 310 | cpp | C++ | src/transforms/timestring.cpp | David-Jackson/SensESP | 903bad80472dafca9ce461865d681cae8e37964d | [
"Apache-2.0"
] | 86 | 2019-06-15T13:30:18.000Z | 2022-03-27T15:45:54.000Z | src/transforms/timestring.cpp | David-Jackson/SensESP | 903bad80472dafca9ce461865d681cae8e37964d | [
"Apache-2.0"
] | 369 | 2019-05-27T21:09:39.000Z | 2022-03-23T14:59:21.000Z | src/transforms/timestring.cpp | David-Jackson/SensESP | 903bad80472dafca9ce461865d681cae8e37964d | [
"Apache-2.0"
] | 83 | 2019-05-27T21:06:10.000Z | 2022-03-10T21:13:16.000Z |
#include "timestring.h"
TimeString::TimeString(String config_path)
: Transform<time_t, String>(config_path) {}
void TimeString::set_input(time_t input, uint8_t inputChannel) {
char buf[sizeof "2011-10-08T07:07:09Z"];
strftime(buf, sizeof buf, "%FT%TZ", gmtime(&input));
this->emit(String(buf));
}
| 25.833333 | 64 | 0.712903 | [
"transform"
] |
a39f580c1ff8a17cd4edaf79f73e4ec5f19666c5 | 7,887 | cpp | C++ | ros/src/computing/planning/mission/packages/lane_planner/nodes/lane_navi/lane_navi.cpp | sibojia/Autoware | 95a370c0c0afd1cfee20870c4be48456c962eb40 | [
"BSD-3-Clause"
] | 7 | 2016-11-24T06:48:50.000Z | 2022-02-18T20:41:47.000Z | ros/src/computing/planning/mission/packages/lane_planner/nodes/lane_navi/lane_navi.cpp | sibojia/Autoware | 95a370c0c0afd1cfee20870c4be48456c962eb40 | [
"BSD-3-Clause"
] | 1 | 2017-12-06T11:35:14.000Z | 2017-12-06T11:35:14.000Z | ros/src/computing/planning/mission/packages/lane_planner/nodes/lane_navi/lane_navi.cpp | sibojia/Autoware | 95a370c0c0afd1cfee20870c4be48456c962eb40 | [
"BSD-3-Clause"
] | 5 | 2016-12-19T16:09:09.000Z | 2019-11-05T04:53:54.000Z | /*
* Copyright (c) 2015, Nagoya University
* 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 ... | 31.051181 | 107 | 0.718397 | [
"vector"
] |
a39fc690dab3bf5412d12742148c8d84558fb4cc | 24,606 | cpp | C++ | src/governance.cpp | CryptoMonzt0r/NeoDash | 79a105a31c28890be56916c3a058f90cb0506740 | [
"MIT"
] | 2 | 2018-01-22T02:59:08.000Z | 2018-02-11T19:29:25.000Z | src/governance.cpp | CryptoMonzt0r/NeoDash | 79a105a31c28890be56916c3a058f90cb0506740 | [
"MIT"
] | 12 | 2018-01-18T23:28:27.000Z | 2018-04-05T13:32:48.000Z | src/governance.cpp | CryptoMonzt0r/NeoDash | 79a105a31c28890be56916c3a058f90cb0506740 | [
"MIT"
] | 3 | 2018-01-22T02:57:39.000Z | 2020-03-12T11:26:42.000Z | // Copyright (c) 2014-2016 The Neodash Core developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "core_io.h"
#include "main.h"
#include "init.h"
#include "flat-database.h"
#include "governance.h"
#include "go... | 32.333771 | 170 | 0.645656 | [
"object",
"vector"
] |
a3a6c0a29f921d387205cc28edf415e210a8f054 | 1,154 | cpp | C++ | leetcode/cpp/094.cpp | xpharry/leetcode_and_lintcode_battle | a06d966ad45bdbed6dda51cf0b480592fc4000d6 | [
"MIT"
] | null | null | null | leetcode/cpp/094.cpp | xpharry/leetcode_and_lintcode_battle | a06d966ad45bdbed6dda51cf0b480592fc4000d6 | [
"MIT"
] | null | null | null | leetcode/cpp/094.cpp | xpharry/leetcode_and_lintcode_battle | a06d966ad45bdbed6dda51cf0b480592fc4000d6 | [
"MIT"
] | 2 | 2020-09-29T21:59:43.000Z | 2021-06-22T13:24:04.000Z | /*
* Binary Tree, Recursion
*
*
*/
class Solution {
public:
vector<int> inorderTraversal(TreeNode* root) {
vector<int> sol;
inorder(root, sol);
return sol;
}
void inorder(TreeNode* root, vector<int>& sol) {
if(!root) return;
inorder(root->left, sol);
... | 20.245614 | 59 | 0.55026 | [
"vector"
] |
a3aa8d74ca1549b6fc56263a1686152b1a87a496 | 34,537 | cpp | C++ | DataProxy/src/DatabaseConnectionManager.cpp | aol/DataProxyLibrary | b1a16e6abadcf3e1cd07448086e2375511a337e6 | [
"BSD-3-Clause"
] | null | null | null | DataProxy/src/DatabaseConnectionManager.cpp | aol/DataProxyLibrary | b1a16e6abadcf3e1cd07448086e2375511a337e6 | [
"BSD-3-Clause"
] | null | null | null | DataProxy/src/DatabaseConnectionManager.cpp | aol/DataProxyLibrary | b1a16e6abadcf3e1cd07448086e2375511a337e6 | [
"BSD-3-Clause"
] | null | null | null | //
// FILE NAME: $HeadURL: svn+ssh://svn.cm.aol.com/advertising/adlearn/gen1/trunk/lib/cpp/DataProxy/private/DatabaseConnectionManager.cpp $
//
// REVISION: $Revision: 305781 $
//
// COPYRIGHT: (c) 2007 Advertising.com All Rights Reserved.
//
// LAST UPDATED: $Date: 2014-11-05 14:02:19 -0500 (Wed, 0... | 41.610843 | 190 | 0.7311 | [
"vector"
] |
a3ab619da3147820096cb49f30e63899696d1272 | 7,573 | cpp | C++ | src/gdal_field_defn.cpp | fulcrumapp/node-gdal | 5c894cc6fda3f2c08fbe95fe2efc5e03d9bf6e46 | [
"Apache-2.0"
] | null | null | null | src/gdal_field_defn.cpp | fulcrumapp/node-gdal | 5c894cc6fda3f2c08fbe95fe2efc5e03d9bf6e46 | [
"Apache-2.0"
] | null | null | null | src/gdal_field_defn.cpp | fulcrumapp/node-gdal | 5c894cc6fda3f2c08fbe95fe2efc5e03d9bf6e46 | [
"Apache-2.0"
] | 1 | 2019-07-14T16:41:59.000Z | 2019-07-14T16:41:59.000Z |
#include "gdal_common.hpp"
#include "gdal_field_defn.hpp"
#include "utils/field_types.hpp"
namespace node_gdal {
Nan::Persistent<FunctionTemplate> FieldDefn::constructor;
void FieldDefn::Initialize(Local<Object> target)
{
Nan::HandleScope scope;
Local<FunctionTemplate> lcons = Nan::New<FunctionTemplate>(FieldDef... | 24.587662 | 110 | 0.694309 | [
"object"
] |
a3ac9a37e5ee066ac4ce19579eb6c40968e382b9 | 5,282 | cpp | C++ | GDP2019_20/main.cpp | RichyRich515/OpenGL | 6b2e21d6b78b5e04d3403440f7cf95dc739d58cf | [
"MIT"
] | null | null | null | GDP2019_20/main.cpp | RichyRich515/OpenGL | 6b2e21d6b78b5e04d3403440f7cf95dc739d58cf | [
"MIT"
] | null | null | null | GDP2019_20/main.cpp | RichyRich515/OpenGL | 6b2e21d6b78b5e04d3403440f7cf95dc739d58cf | [
"MIT"
] | null | null | null | // Main.cpp
// Entrypoint for program
// 2019-09-04
#include <glad/glad.h>
#include <GLFW/glfw3.h>
#include <stdlib.h>
#include <stdio.h>
#include <iostream>
#include <vector>
#include <glm/glm.hpp>
#include <glm/vec3.hpp> // glm::vec3
#include <glm/vec4.hpp> // glm::vec4
#include <glm/mat4x4.hpp> // glm::mat4
#inc... | 25.765854 | 110 | 0.693677 | [
"vector"
] |
a3aebfae0220b74b7dd416de867f617ec0bc91e2 | 7,108 | cpp | C++ | 03_Tutorial/T06_XMGraphics/G11_AniTranslate/Source/main.cpp | mcodegeeks/OpenKODE-Framework | d4382d781da7f488a0e7667362a89e8e389468dd | [
"MIT"
] | 2 | 2017-08-03T07:15:00.000Z | 2018-06-18T10:32:53.000Z | 03_Tutorial/T06_XMGraphics/G11_AniTranslate/Source/main.cpp | mcodegeeks/OpenKODE-Framework | d4382d781da7f488a0e7667362a89e8e389468dd | [
"MIT"
] | null | null | null | 03_Tutorial/T06_XMGraphics/G11_AniTranslate/Source/main.cpp | mcodegeeks/OpenKODE-Framework | d4382d781da7f488a0e7667362a89e8e389468dd | [
"MIT"
] | 2 | 2019-03-04T22:57:42.000Z | 2020-03-06T01:32:26.000Z | /*
*
* File main.cpp
* Description XMGraphics : Translate animation demo
* Version 0.20.0801, 2011-08-01
* Author Y.H Mun
*
* --------------------------------------------------------------------------
*
* Copyright (C) 2010-2011 XMSoft. All rights... | 20.723032 | 99 | 0.606922 | [
"render"
] |
a3b0bcf036afb16b3ee92ffef1546427ec13a38b | 11,369 | cc | C++ | apps/shell_window_geometry_cache.cc | nagineni/chromium-crosswalk | 5725642f1c67d0f97e8613ec1c3e8107ab53fdf8 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 4 | 2017-04-05T01:51:34.000Z | 2018-02-15T03:11:54.000Z | apps/shell_window_geometry_cache.cc | nagineni/chromium-crosswalk | 5725642f1c67d0f97e8613ec1c3e8107ab53fdf8 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2021-12-13T19:44:12.000Z | 2021-12-13T19:44:12.000Z | apps/shell_window_geometry_cache.cc | nagineni/chromium-crosswalk | 5725642f1c67d0f97e8613ec1c3e8107ab53fdf8 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 4 | 2017-04-05T01:52:03.000Z | 2022-02-13T17:58:45.000Z | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "apps/shell_window_geometry_cache.h"
#include "base/bind.h"
#include "base/stl_util.h"
#include "base/strings/string_number_conversions.h"
#... | 35.528125 | 88 | 0.704723 | [
"geometry"
] |
a3c1fd7448ed922c587b5f159f1e0455eb75eac2 | 1,681 | cpp | C++ | CHAPTER 4/C4DRILL.cpp | lrpinnto/stroustrup-exercises | a471a0d7b49b51b7c26e005ff9e66f3f6db199dd | [
"MIT"
] | null | null | null | CHAPTER 4/C4DRILL.cpp | lrpinnto/stroustrup-exercises | a471a0d7b49b51b7c26e005ff9e66f3f6db199dd | [
"MIT"
] | null | null | null | CHAPTER 4/C4DRILL.cpp | lrpinnto/stroustrup-exercises | a471a0d7b49b51b7c26e005ff9e66f3f6db199dd | [
"MIT"
] | null | null | null | #include "../stroustrup/std_lib_facilities.h"
//CHAPTER 4 DRILL
char unit_conversion(string a) //unit converter
{
if (a=="cm")
{
return 'c';
}
else if (a=="m")
{
return 'm';
}
else if (a=="in")
{
return 'i';
}
else if (a=="ft")
{
return... | 16.81 | 87 | 0.416419 | [
"vector"
] |
a3c2d7aa9e9d09576f5ea5624369838aec88a1f9 | 19,215 | cpp | C++ | dbms/src/Server/StorageConfigParser.cpp | solotzg/tiflash | 66f45c76692e941bc845c01349ea89de0f2cc210 | [
"Apache-2.0"
] | 4 | 2022-03-25T21:34:15.000Z | 2022-03-25T21:35:12.000Z | dbms/src/Server/StorageConfigParser.cpp | solotzg/tiflash | 66f45c76692e941bc845c01349ea89de0f2cc210 | [
"Apache-2.0"
] | null | null | null | dbms/src/Server/StorageConfigParser.cpp | solotzg/tiflash | 66f45c76692e941bc845c01349ea89de0f2cc210 | [
"Apache-2.0"
] | 8 | 2022-03-25T10:20:08.000Z | 2022-03-31T10:17:25.000Z | // Copyright 2022 PingCAP, Ltd.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to i... | 37.750491 | 198 | 0.656154 | [
"vector"
] |
a3c4d666300679be1575133d55f4d6a32a3465cc | 11,569 | cpp | C++ | ModuleUserInterface.cpp | rogerta97/TryHard_Engine | 6dc6725264a2a1d86530aa3d8f00f260f8509883 | [
"MIT"
] | null | null | null | ModuleUserInterface.cpp | rogerta97/TryHard_Engine | 6dc6725264a2a1d86530aa3d8f00f260f8509883 | [
"MIT"
] | null | null | null | ModuleUserInterface.cpp | rogerta97/TryHard_Engine | 6dc6725264a2a1d86530aa3d8f00f260f8509883 | [
"MIT"
] | null | null | null | #include "ModuleUserInterface.h"
#include "UI_Image.h"
#include "ModuleInput.h"
#include "GameObject.h"
#include "ComponentRectTransform.h"
#include "ModuleImGui.h"
#include "UI_GamePanel.h"
#include "ComponentCamera.h"
#include "SDL\include\SDL_events.h"
#include "ComponentMesh.h"
#include "ComponentTransform.h"
#incl... | 23.466531 | 221 | 0.707494 | [
"vector",
"transform"
] |
a3cae32aa28db68fad4ddc12c52a95644cfe42a4 | 11,233 | hpp | C++ | include/mypp/mypp.hpp | oschonrock/qa | f17c16a76ba5fc1ec11561d9e1be70c77380bda7 | [
"BSD-3-Clause"
] | null | null | null | include/mypp/mypp.hpp | oschonrock/qa | f17c16a76ba5fc1ec11561d9e1be70c77380bda7 | [
"BSD-3-Clause"
] | null | null | null | include/mypp/mypp.hpp | oschonrock/qa | f17c16a76ba5fc1ec11561d9e1be70c77380bda7 | [
"BSD-3-Clause"
] | null | null | null | #pragma once
#include "date/date.h"
#include "fmt/core.h"
#include "mysql.h"
#include "os/str.hpp"
#include "os/tmp.hpp"
#include <cstddef>
#include <cstring>
#include <sstream>
#include <stdexcept>
#include <string>
#include <type_traits>
#include <unordered_set>
#include <vector>
namespace mypp {
class mysql;
clas... | 32.55942 | 100 | 0.640523 | [
"render",
"vector"
] |
a3cb4100584a40494ac1c4f4bf0b9315cba8f1e8 | 12,319 | cc | C++ | cfg/CFG.cc | franco-cacere/sorbet | 27b1f8a789ef8e54233db7852e02ae4932a3f0c0 | [
"Apache-2.0"
] | 1 | 2020-12-21T11:22:16.000Z | 2020-12-21T11:22:16.000Z | cfg/CFG.cc | franco-cacere/sorbet | 27b1f8a789ef8e54233db7852e02ae4932a3f0c0 | [
"Apache-2.0"
] | 5 | 2021-06-28T20:36:33.000Z | 2022-02-27T11:09:55.000Z | cfg/CFG.cc | franco-cacere/sorbet | 27b1f8a789ef8e54233db7852e02ae4932a3f0c0 | [
"Apache-2.0"
] | null | null | null | #include "cfg/CFG.h"
#include "absl/strings/escaping.h"
#include "absl/strings/str_split.h"
#include "common/Timer.h"
#include "common/UIntSetForEach.h"
#include "common/formatting.h"
#include "common/sort.h"
// helps debugging
template class std::unique_ptr<sorbet::cfg::CFG>;
template class std::unique_ptr<sorbet::cf... | 39.73871 | 120 | 0.57594 | [
"shape",
"vector"
] |
a3cb6028ed90ddfe44058bbd93273a28c62686f2 | 11,520 | cpp | C++ | src/CGameGraphics.cpp | Blokatt/fiTD | b909981103fddab32867f3860b01c3c79d8dc3ea | [
"MIT"
] | 3 | 2019-03-20T12:52:49.000Z | 2020-03-22T20:19:06.000Z | src/CGameGraphics.cpp | Blokatt/fiTD | b909981103fddab32867f3860b01c3c79d8dc3ea | [
"MIT"
] | 1 | 2019-03-20T10:23:33.000Z | 2019-03-20T12:04:26.000Z | src/CGameGraphics.cpp | Blokatt/fiTD | b909981103fddab32867f3860b01c3c79d8dc3ea | [
"MIT"
] | null | null | null | #include "CGameGraphics.h"
#include "CGfx.h"
#include <ncurses.h>
#include <iomanip>
#include <deque>
#include <sstream>
static const int SPEED_BASE = 30;
static const int SIDEBAR_WIDTH = 18;
static const int BOTTOM_BAR_HEIGHT = 10;
static const int MAX_LINE_LENGTH = 256;
WINDOW* CGameGraphics::winMainField;
WINDOW*... | 40.706714 | 136 | 0.576649 | [
"render"
] |
a3cd415646c0d52162d36e3a2b49b51f094129eb | 4,503 | cpp | C++ | vcc/src/android_asset_istream.cpp | sjfricke/vulkan-cpp-library | 82314d765013ce96e23186594259eebaf3127072 | [
"Apache-2.0"
] | 276 | 2016-04-04T20:47:47.000Z | 2022-02-01T21:48:42.000Z | vcc/src/android_asset_istream.cpp | sjfricke/vulkan-cpp-library | 82314d765013ce96e23186594259eebaf3127072 | [
"Apache-2.0"
] | 2 | 2017-03-23T20:33:23.000Z | 2017-05-17T21:03:16.000Z | vcc/src/android_asset_istream.cpp | sjfricke/vulkan-cpp-library | 82314d765013ce96e23186594259eebaf3127072 | [
"Apache-2.0"
] | 42 | 2016-04-07T21:00:53.000Z | 2021-09-05T09:17:03.000Z | /*
* Copyright 2016 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 law or... | 27.126506 | 75 | 0.678437 | [
"vector"
] |
a3cfb765bbb049f6f6ede2515144f7adf7d81388 | 10,138 | cpp | C++ | Tudat/Mathematics/Statistics/UnitTests/unitTestSimpleLinearRegression.cpp | JPelamatti/ThesisTUDAT | b94ce35fb7c8fa44ae83238e296a979dfa3adfe8 | [
"BSD-3-Clause"
] | null | null | null | Tudat/Mathematics/Statistics/UnitTests/unitTestSimpleLinearRegression.cpp | JPelamatti/ThesisTUDAT | b94ce35fb7c8fa44ae83238e296a979dfa3adfe8 | [
"BSD-3-Clause"
] | null | null | null | Tudat/Mathematics/Statistics/UnitTests/unitTestSimpleLinearRegression.cpp | JPelamatti/ThesisTUDAT | b94ce35fb7c8fa44ae83238e296a979dfa3adfe8 | [
"BSD-3-Clause"
] | 1 | 2019-05-30T03:42:22.000Z | 2019-05-30T03:42:22.000Z | /* Copyright (c) 2010-2015, Delft University of Technology
* 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 ... | 43.887446 | 100 | 0.686526 | [
"object"
] |
a3d057652132d15db4fdb366080461b5bbb4f7f3 | 1,560 | cpp | C++ | simulation/halsim_gazebo/src/main/native/cpp/main.cpp | shueja-personal/allwpilib | 4b2f6be29e21986703d9c3ddcd2fe07121b2ff6b | [
"BSD-3-Clause"
] | 707 | 2016-05-11T16:54:13.000Z | 2022-03-30T13:03:15.000Z | simulation/halsim_gazebo/src/main/native/cpp/main.cpp | shueja-personal/allwpilib | 4b2f6be29e21986703d9c3ddcd2fe07121b2ff6b | [
"BSD-3-Clause"
] | 2,308 | 2016-05-12T00:17:17.000Z | 2022-03-30T20:08:10.000Z | simulation/halsim_gazebo/src/main/native/cpp/main.cpp | shueja-personal/allwpilib | 4b2f6be29e21986703d9c3ddcd2fe07121b2ff6b | [
"BSD-3-Clause"
] | 539 | 2016-05-11T20:33:26.000Z | 2022-03-28T20:20:25.000Z | // Copyright (c) FIRST and other WPILib contributors.
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#include <fmt/core.h>
#include <hal/Ports.h>
#include "GazeboAnalogIn.h"
#include "GazeboDIO.h"
#include "GazeboEncoder... | 30.588235 | 76 | 0.685897 | [
"object"
] |
a3d10286777fe013c64a2f162115dabbd4c83139 | 5,135 | cc | C++ | chrome/browser/sharing/sms/sms_remote_fetcher_ui_controller.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 | chrome/browser/sharing/sms/sms_remote_fetcher_ui_controller.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 | chrome/browser/sharing/sms/sms_remote_fetcher_ui_controller.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 2021 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/sharing/sms/sms_remote_fetcher_ui_controller.h"
#include <utility>
#include "base/callback.h"
#include "base/strings/utf_string... | 37.757353 | 80 | 0.763778 | [
"vector"
] |
a3d474126819da5051373726695b226ce883ca48 | 9,287 | hpp | C++ | include/simo/geom/detail/multilinestring.hpp | pavelsimo/Shapes | befdee7ec19dcc2d129b508f768b869976c09c09 | [
"MIT"
] | 5 | 2019-02-18T12:26:11.000Z | 2019-06-20T16:20:20.000Z | include/simo/geom/detail/multilinestring.hpp | pavelsimo/Shapes | befdee7ec19dcc2d129b508f768b869976c09c09 | [
"MIT"
] | 31 | 2019-01-18T23:16:03.000Z | 2019-06-10T22:09:10.000Z | include/simo/geom/detail/multilinestring.hpp | pavelsimo/Shapes | befdee7ec19dcc2d129b508f768b869976c09c09 | [
"MIT"
] | 1 | 2022-02-23T01:46:28.000Z | 2022-02-23T01:46:28.000Z | #pragma once
#include <ciso646>
#include <vector>
#include <set>
#include <sstream>
#include <iterator>
#include <iomanip>
#include <simo/geom/detail/geometry.hpp>
#include <simo/geom/detail/bounds.hpp>
namespace simo
{
namespace shapes
{
template <typename T, typename AllocatorType = std::allocator<T>>
class basic_... | 27.722388 | 135 | 0.500915 | [
"geometry",
"vector"
] |
a3d95d57d25558777500381d8addd039bd19b44d | 5,927 | cxx | C++ | Qt/ApplicationComponents/pqGlyphScaleFactorPropertyWidget.cxx | biddisco/ParaView | 4d6c93f0456e44b74bf4d188a3a6c0d4eb0d8eec | [
"Apache-2.0"
] | null | null | null | Qt/ApplicationComponents/pqGlyphScaleFactorPropertyWidget.cxx | biddisco/ParaView | 4d6c93f0456e44b74bf4d188a3a6c0d4eb0d8eec | [
"Apache-2.0"
] | null | null | null | Qt/ApplicationComponents/pqGlyphScaleFactorPropertyWidget.cxx | biddisco/ParaView | 4d6c93f0456e44b74bf4d188a3a6c0d4eb0d8eec | [
"Apache-2.0"
] | null | null | null | /*=========================================================================
Program: ParaView
Module: pqGlyphScaleFactorPropertyWidget.cxx
Copyright (c) 2005,2006 Sandia Corporation, Kitware Inc.
All rights reserved.
ParaView is a free software; you can redistribute it and/or modify it
under the t... | 34.063218 | 87 | 0.656656 | [
"vector"
] |
a3dbdb8f99f56ca4277defca25fdcd02810cad2d | 11,240 | cpp | C++ | test/gl/bucket.test.cpp | sonakur/mapbox-gl-native | 0fa5944f39854f42c86ce478da8869a8d4e3f1fe | [
"BSL-1.0",
"Apache-2.0"
] | null | null | null | test/gl/bucket.test.cpp | sonakur/mapbox-gl-native | 0fa5944f39854f42c86ce478da8869a8d4e3f1fe | [
"BSL-1.0",
"Apache-2.0"
] | null | null | null | test/gl/bucket.test.cpp | sonakur/mapbox-gl-native | 0fa5944f39854f42c86ce478da8869a8d4e3f1fe | [
"BSL-1.0",
"Apache-2.0"
] | null | null | null | #include <mbgl/test/util.hpp>
#include <mbgl/test/stub_geometry_tile_feature.hpp>
#include <mbgl/gfx/backend_scope.hpp>
#include <mbgl/renderer/buckets/circle_bucket.hpp>
#include <mbgl/renderer/buckets/fill_bucket.hpp>
#include <mbgl/renderer/buckets/line_bucket.hpp>
#include <mbgl/renderer/buckets/raster_bucket.hpp>... | 36.141479 | 160 | 0.626335 | [
"vector"
] |
a3e092c22d95d96237d5dd999c64174a8b7b4d8b | 1,721 | cc | C++ | Engine/Functions/random.cc | TrevorShelton/cplot | 8bf40e94519cc4fd69b2e0677d3a3dcf8695245a | [
"MIT"
] | 32 | 2017-11-27T03:04:44.000Z | 2022-01-21T17:03:40.000Z | Engine/Functions/random.cc | TrevorShelton/cplot | 8bf40e94519cc4fd69b2e0677d3a3dcf8695245a | [
"MIT"
] | 30 | 2017-11-10T09:47:16.000Z | 2018-11-21T22:36:47.000Z | Engine/Functions/random.cc | TrevorShelton/cplot | 8bf40e94519cc4fd69b2e0677d3a3dcf8695245a | [
"MIT"
] | 20 | 2018-01-05T17:15:11.000Z | 2021-07-30T14:11:01.000Z | #include "../cnum.h"
#include "../../Graphs/Geometry/Vector.h"
#if 1
#include <random>
#include <cassert>
static std::mt19937 seed_rng; // TODO: lock this
static thread_local std::mt19937 rng(seed_rng());
static std::uniform_real_distribution<> udist(-1.0, 1.0);
#define URND (udist(rng))
#else
#include <cstdlib>
s... | 16.708738 | 114 | 0.603138 | [
"geometry",
"vector"
] |
a3e14012f0adebd0a74c29e3e34a82a36deee118 | 2,109 | hpp | C++ | windowsbuild/MSVC2017/mfem/4.0/include/mfem/mesh/wedge.hpp | Tech-XCorp/visit-deps | 23e2bd534bf9c332d6b7d32310495f1f65b1b936 | [
"BSD-3-Clause"
] | null | null | null | windowsbuild/MSVC2017/mfem/4.0/include/mfem/mesh/wedge.hpp | Tech-XCorp/visit-deps | 23e2bd534bf9c332d6b7d32310495f1f65b1b936 | [
"BSD-3-Clause"
] | null | null | null | windowsbuild/MSVC2017/mfem/4.0/include/mfem/mesh/wedge.hpp | Tech-XCorp/visit-deps | 23e2bd534bf9c332d6b7d32310495f1f65b1b936 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2010, Lawrence Livermore National Security, LLC. Produced at
// the Lawrence Livermore National Laboratory. LLNL-CODE-443211. All Rights
// reserved. See file COPYRIGHT for details.
//
// This file is part of the MFEM library. For more information and source code
// availability see http://mfem.org.
//... | 27.38961 | 78 | 0.702703 | [
"mesh",
"geometry"
] |
9caed7d95da2c60265c46fc18e542096d6baaca5 | 9,185 | cpp | C++ | GameEngine/CoreEngine/CoreEngine/src/BoundingSphere.cpp | mettaursp/SuddenlyGames | e2ff1c2771d4ca54824650e4f1a33a527536ca61 | [
"Apache-2.0"
] | 1 | 2021-01-17T13:05:20.000Z | 2021-01-17T13:05:20.000Z | GameEngine/CoreEngine/CoreEngine/src/BoundingSphere.cpp | suddenly-games/SuddenlyGames | e2ff1c2771d4ca54824650e4f1a33a527536ca61 | [
"Apache-2.0"
] | null | null | null | GameEngine/CoreEngine/CoreEngine/src/BoundingSphere.cpp | suddenly-games/SuddenlyGames | e2ff1c2771d4ca54824650e4f1a33a527536ca61 | [
"Apache-2.0"
] | null | null | null | #include "BoundingSphere.h"
#include <algorithm>
#include <numeric>
#include "PCA.h"
#include "MeshLoader.h"
#include "ModelAsset.h"
BoundingSphere BoundingSphere::ComputeCentroid(const std::shared_ptr<Engine::ModelAsset>& model)
{
int meshID = model->GetMeshID();
return ComputeCentroid(MeshLoader::GetMeshData(mes... | 23.13602 | 151 | 0.659227 | [
"model"
] |
9cb1dbf263ce6456fccc9796aed5f85a6dc93de0 | 3,870 | cpp | C++ | source/FAST/Algorithms/MeshToSegmentation/Tests.cpp | andreped/FAST | 361819190ea0ae5a2f068e7bd808a1c70af5a171 | [
"BSD-2-Clause"
] | null | null | null | source/FAST/Algorithms/MeshToSegmentation/Tests.cpp | andreped/FAST | 361819190ea0ae5a2f068e7bd808a1c70af5a171 | [
"BSD-2-Clause"
] | null | null | null | source/FAST/Algorithms/MeshToSegmentation/Tests.cpp | andreped/FAST | 361819190ea0ae5a2f068e7bd808a1c70af5a171 | [
"BSD-2-Clause"
] | null | null | null | #include "MeshToSegmentation.hpp"
#include "FAST/Testing.hpp"
#include "FAST/Importers/MetaImageImporter.hpp"
#include "FAST/Data/Mesh.hpp"
#include "FAST/Visualization/ImageRenderer/ImageRenderer.hpp"
#include "FAST/Visualization/SegmentationRenderer/SegmentationRenderer.hpp"
#include "FAST/Visualization/SliceRenderer... | 37.211538 | 90 | 0.662016 | [
"mesh",
"vector",
"3d"
] |
9cb3c43f531895bd99df1890ee64ea407f5d6379 | 100,361 | cpp | C++ | Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/widget/NumberPicker.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | 7 | 2017-07-13T10:34:54.000Z | 2021-04-16T05:40:35.000Z | Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/widget/NumberPicker.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | null | null | null | Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/widget/NumberPicker.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | 9 | 2017-07-13T12:33:20.000Z | 2021-06-19T02:46:48.000Z | //=========================================================================
// Copyright (C) 2012 The Elastos Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// ... | 35.715658 | 161 | 0.626827 | [
"object"
] |
9cb43c45f19d3512ff1e8d5595e9debe397a842c | 3,090 | cpp | C++ | tutorial-2-mixedprocessing/jni/VideoRenderer.cpp | forestsen/CVGLBasedSimpleAndroidAR | a0efb11759d61de28dd441649298f5d13ce9f7cd | [
"MIT"
] | 6 | 2020-05-09T03:23:31.000Z | 2021-02-26T13:49:11.000Z | tutorial-2-mixedprocessing/jni/VideoRenderer.cpp | forestsen/CVGLBasedSimpleAndroidAR | a0efb11759d61de28dd441649298f5d13ce9f7cd | [
"MIT"
] | null | null | null | tutorial-2-mixedprocessing/jni/VideoRenderer.cpp | forestsen/CVGLBasedSimpleAndroidAR | a0efb11759d61de28dd441649298f5d13ce9f7cd | [
"MIT"
] | 2 | 2020-08-28T20:24:51.000Z | 2021-02-26T13:49:12.000Z | #include <GLES/gl.h>
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>
#include "Texture.hpp"
#include "Shader.hpp"
#include "VideoRenderer.hpp"
#define LOG_TAG "VideoRenderer"
#define LOGI(...) __android_log_print(ANDROID_LOG_INFO, LOG_TAG, __VA_ARGS__)
#define LOGE(...)... | 32.87234 | 143 | 0.714887 | [
"render",
"model"
] |
9cb45cfd07e18329fd98906ed4d442caffd65a43 | 269,302 | cpp | C++ | media_driver/agnostic/common/os/mos_utilities.cpp | xhaihao/media-driver | fc044798bd07a21aacfdd6deeb5a9cb77ff34a54 | [
"Intel",
"BSD-3-Clause",
"MIT"
] | null | null | null | media_driver/agnostic/common/os/mos_utilities.cpp | xhaihao/media-driver | fc044798bd07a21aacfdd6deeb5a9cb77ff34a54 | [
"Intel",
"BSD-3-Clause",
"MIT"
] | null | null | null | media_driver/agnostic/common/os/mos_utilities.cpp | xhaihao/media-driver | fc044798bd07a21aacfdd6deeb5a9cb77ff34a54 | [
"Intel",
"BSD-3-Clause",
"MIT"
] | 1 | 2021-06-10T09:27:22.000Z | 2021-06-10T09:27:22.000Z | /*
* Copyright (c) 2009-2021, Intel Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, p... | 38.995366 | 169 | 0.684406 | [
"render",
"object",
"vector",
"model",
"transform"
] |
9cb8c149fac41b54c40107d9263d029a6abe1417 | 24,137 | cc | C++ | chrome/browser/translate/translate_manager.cc | anirudhSK/chromium | a8f23c87e656ab9ba49de9ccccbc53f614cdcb41 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/translate/translate_manager.cc | anirudhSK/chromium | a8f23c87e656ab9ba49de9ccccbc53f614cdcb41 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/translate/translate_manager.cc | anirudhSK/chromium | a8f23c87e656ab9ba49de9ccccbc53f614cdcb41 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2015-04-17T13:19:09.000Z | 2021-10-21T12:55:15.000Z | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/translate/translate_manager.h"
#include "base/bind.h"
#include "base/command_line.h"
#include "base/metrics/field_trial.h"
#... | 40.910169 | 80 | 0.712309 | [
"vector"
] |
9cb927bf30edec8db0b52cd87ad18e5994c6d9cd | 40,551 | cpp | C++ | Userland/Libraries/LibTLS/TLSv12.cpp | sidkapoor97/serenity | 325febf4e534fde96c01abad4a69deb6fdc832e5 | [
"BSD-2-Clause"
] | 1 | 2021-06-11T13:40:55.000Z | 2021-06-11T13:40:55.000Z | Userland/Libraries/LibTLS/TLSv12.cpp | sidkapoor97/serenity | 325febf4e534fde96c01abad4a69deb6fdc832e5 | [
"BSD-2-Clause"
] | null | null | null | Userland/Libraries/LibTLS/TLSv12.cpp | sidkapoor97/serenity | 325febf4e534fde96c01abad4a69deb6fdc832e5 | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright (c) 2020, Ali Mohammad Pur <mpfard@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <AK/Debug.h>
#include <AK/Endian.h>
#include <LibCore/ConfigFile.h>
#include <LibCore/DateTime.h>
#include <LibCore/File.h>
#include <LibCore/FileStream.h>
#include <LibCore/Timer.h>
#include <Li... | 44.173203 | 204 | 0.535055 | [
"object",
"vector"
] |
9cb9c799f15e6ddbdae20f77c876a3e343ffa122 | 4,760 | cpp | C++ | oink/src/rr.cpp | trolando/oink-experiments | a58937b78fd0857a26b8ec0e985552e672405862 | [
"Apache-2.0"
] | 1 | 2019-03-04T14:24:17.000Z | 2019-03-04T14:24:17.000Z | oink/src/rr.cpp | trolando/oink-experiments | a58937b78fd0857a26b8ec0e985552e672405862 | [
"Apache-2.0"
] | null | null | null | oink/src/rr.cpp | trolando/oink-experiments | a58937b78fd0857a26b8ec0e985552e672405862 | [
"Apache-2.0"
] | null | null | null | #include <algorithm>
#include <iostream>
#include <sstream>
#include <vector>
#include <queue>
#include <cassert>
#include "rr.hpp"
namespace pg {
RRSolver::RRSolver(Oink *oink, Game *game, std::ostream &lgr) : PPSolver(oink, game, lgr)
{
}
/**
* RR: only reset the region if what remains of the region can escape o... | 32.60274 | 91 | 0.519748 | [
"vector"
] |
9cbbff3dd9ff3d6c1edfe65361fd573a824b2da1 | 23,319 | cpp | C++ | src/backends/cl/workloads/ClLstmFloatWorkload.cpp | sahilbandar/armnn | 249950645b7bc0593582182097c7e2f1d6d97442 | [
"MIT"
] | 1 | 2022-02-10T11:06:30.000Z | 2022-02-10T11:06:30.000Z | src/backends/cl/workloads/ClLstmFloatWorkload.cpp | sahilbandar/armnn | 249950645b7bc0593582182097c7e2f1d6d97442 | [
"MIT"
] | null | null | null | src/backends/cl/workloads/ClLstmFloatWorkload.cpp | sahilbandar/armnn | 249950645b7bc0593582182097c7e2f1d6d97442 | [
"MIT"
] | null | null | null | //
// Copyright © 2017 Arm Ltd. All rights reserved.
// SPDX-License-Identifier: MIT
//
#include "ClLstmFloatWorkload.hpp"
#include <cl/ClTensorHandle.hpp>
#include <backendsCommon/TensorHandle.hpp>
#include <cl/ClLayerSupport.hpp>
#include <aclCommon/ArmComputeTensorUtils.hpp>
#include <armnn/utility/NumericCast.hpp... | 51.82 | 119 | 0.70256 | [
"object"
] |
9cbc6fdae36d4bac24af6e7ad0ab6bbffd9dfbe2 | 28,548 | cpp | C++ | src/implements/objects_impl.cpp | philip1337/samp-plugin-streamer | 54b08afd5e73bd5f68f67f9cf8cc78189bf6ef8a | [
"Apache-2.0"
] | 2 | 2017-07-23T23:27:03.000Z | 2017-07-24T06:18:13.000Z | src/implements/objects_impl.cpp | Sphinxila/samp-plugin-streamer | 54b08afd5e73bd5f68f67f9cf8cc78189bf6ef8a | [
"Apache-2.0"
] | null | null | null | src/implements/objects_impl.cpp | Sphinxila/samp-plugin-streamer | 54b08afd5e73bd5f68f67f9cf8cc78189bf6ef8a | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2017 Incognito (Edited by ProMetheus)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | 45.170886 | 448 | 0.684111 | [
"geometry",
"object"
] |
9cbd2eb53c74a1f228c2c03b0df25979d0c49fad | 7,858 | cpp | C++ | src/server/main.cpp | ondra-novak/loginserver | d59a87f04f9c1543e206e0e78a23d8f1fe2cc2ae | [
"MIT"
] | 1 | 2018-04-05T13:15:01.000Z | 2018-04-05T13:15:01.000Z | src/server/main.cpp | ondra-novak/loginserver | d59a87f04f9c1543e206e0e78a23d8f1fe2cc2ae | [
"MIT"
] | null | null | null | src/server/main.cpp | ondra-novak/loginserver | d59a87f04f9c1543e206e0e78a23d8f1fe2cc2ae | [
"MIT"
] | null | null | null | /*
* main.cpp
*
* Created on: 11. 7. 2017
* Author: ondra
*/
#include <thread>
#include <couchit/changes.h>
#include <imtjson/rpc.h>
#include <rpc/rpcServer.h>
#include <shared/stdLogFile.h>
#include <simpleServer/address.h>
#include <simpleServer/http_server.h>
#include <simpleServer/abstractService.h>
#i... | 25.185897 | 140 | 0.706159 | [
"object"
] |
9cc339db94c913675a1093566455771937fc9b8e | 131,136 | cpp | C++ | mysql-server/storage/ndb/test/ndbapi/testBasic.cpp | silenc3502/MYSQL-Arch-Doc-Summary | fcc6bb65f72a385b9f56debc9b2c00cee5914bae | [
"MIT"
] | null | null | null | mysql-server/storage/ndb/test/ndbapi/testBasic.cpp | silenc3502/MYSQL-Arch-Doc-Summary | fcc6bb65f72a385b9f56debc9b2c00cee5914bae | [
"MIT"
] | null | null | null | mysql-server/storage/ndb/test/ndbapi/testBasic.cpp | silenc3502/MYSQL-Arch-Doc-Summary | fcc6bb65f72a385b9f56debc9b2c00cee5914bae | [
"MIT"
] | null | null | null | /*
Copyright (c) 2003, 2020 Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License, version 2.0,
as published by the Free Software Foundation.
This program is also distributed with cert... | 28.062487 | 141 | 0.630551 | [
"object",
"vector"
] |
9cc61c09f05a38fdfe96bcbee0105256f1ed2600 | 7,022 | hpp | C++ | include/seqan3/alphabet/composite/detail.hpp | qPCR4vir/seqan3 | 67ebf427dc1d49fb55e684acc108ed75d224f5d4 | [
"CC-BY-4.0",
"CC0-1.0"
] | null | null | null | include/seqan3/alphabet/composite/detail.hpp | qPCR4vir/seqan3 | 67ebf427dc1d49fb55e684acc108ed75d224f5d4 | [
"CC-BY-4.0",
"CC0-1.0"
] | null | null | null | include/seqan3/alphabet/composite/detail.hpp | qPCR4vir/seqan3 | 67ebf427dc1d49fb55e684acc108ed75d224f5d4 | [
"CC-BY-4.0",
"CC0-1.0"
] | null | null | null | // -----------------------------------------------------------------------------------------------------
// Copyright (c) 2006-2020, Knut Reinert & Freie Universität Berlin
// Copyright (c) 2016-2020, Knut Reinert & MPI für molekulare Genetik
// This file may be used, modified and/or redistributed under the terms of th... | 32.509259 | 118 | 0.63771 | [
"model"
] |
9cc6b6e36d1a50001f5cfd48114249e16faf3903 | 7,009 | hpp | C++ | spike/models/mineral/MineralStore.hpp | davidson16807/libtectonics | aa0ae2b8a4a1d2a9a346bbdeb334be876ad75646 | [
"CC-BY-4.0"
] | 7 | 2020-06-09T19:56:55.000Z | 2021-02-17T01:53:30.000Z | spike/models/mineral/MineralStore.hpp | davidson16807/tectonics.cpp | c40278dba14260c598764467c7abf23b190e676b | [
"CC-BY-4.0"
] | null | null | null | spike/models/mineral/MineralStore.hpp | davidson16807/tectonics.cpp | c40278dba14260c598764467c7abf23b190e676b | [
"CC-BY-4.0"
] | null | null | null | #pragma once
// C libraries
#include <cstdint>
// std libraries
#include <algorithm>
#include <array>
// in-house libraries
#include <units/si.hpp>
#include "Mineral.hpp"
namespace mineral
{
namespace
{
const float epsilon(1e-4f);
enum struct Phases
{
supercritical,
gas,
liquid,
solid
};
}
... | 44.360759 | 157 | 0.711086 | [
"object",
"solid"
] |
9ccb6b9856185c1cebe64b37c4a33da5e853f0ae | 7,364 | hpp | C++ | include/db/sqldb_pgsql_extension.hpp | TinkerLuoxs/sqlconnection | 50f05c13d1392f5b42b545e52346581681e6c29b | [
"Apache-2.0"
] | 1 | 2017-11-09T09:39:22.000Z | 2017-11-09T09:39:22.000Z | include/db/sqldb_pgsql_extension.hpp | TinkerLuoxs/sqlconnection | 50f05c13d1392f5b42b545e52346581681e6c29b | [
"Apache-2.0"
] | null | null | null | include/db/sqldb_pgsql_extension.hpp | TinkerLuoxs/sqlconnection | 50f05c13d1392f5b42b545e52346581681e6c29b | [
"Apache-2.0"
] | null | null | null | //
// Created by Luoxs on 2017-03-16
//
#pragma once
namespace sql
{
/// support for composites, arrays and composite arrays
/// serialization.hpp required to include.
namespace db_pgsql_extension
{
class composite
{
public:
class decoder;
class encoder;
... | 27.580524 | 88 | 0.332564 | [
"vector"
] |
9ccc6d7c5bea260d7f2833f0ac56265d76234de5 | 1,301 | cpp | C++ | ch5_strategies_decoration_and_statistics/StatsMain1.cpp | WongYatChun/Design_Patterns_and_Derivatives_Pricing | 4aa8fa6794f70b086e66c1a8752a596b448cd8d8 | [
"MIT"
] | null | null | null | ch5_strategies_decoration_and_statistics/StatsMain1.cpp | WongYatChun/Design_Patterns_and_Derivatives_Pricing | 4aa8fa6794f70b086e66c1a8752a596b448cd8d8 | [
"MIT"
] | null | null | null | ch5_strategies_decoration_and_statistics/StatsMain1.cpp | WongYatChun/Design_Patterns_and_Derivatives_Pricing | 4aa8fa6794f70b086e66c1a8752a596b448cd8d8 | [
"MIT"
] | null | null | null | /*
Uses source files
MCStatistics.cpp
Parameters.cpp
PayOff3.cpp
PayOffBridge.cpp
Random1.cpp
SimleMC7.cpp
Vanilla3.cpp
*/
#include "SimpleMC7.h"
#include "Vanilla3.h"
#include "MCStatistics.h"
#include <iostream>
using namespace std;
int main(){
double Expiry;
double Strike;
... | 20.015385 | 82 | 0.605688 | [
"vector"
] |
9ccd5bc610e8a33f44e7a4012b2d49367757a396 | 2,690 | cpp | C++ | external_codes/boost_multi/multi/examples/lu_fact.cpp | djstaros/qmcpack | 280f67e638bae280448b47fa618f05b848c530d2 | [
"NCSA"
] | null | null | null | external_codes/boost_multi/multi/examples/lu_fact.cpp | djstaros/qmcpack | 280f67e638bae280448b47fa618f05b848c530d2 | [
"NCSA"
] | 11 | 2020-05-09T20:57:21.000Z | 2020-06-10T00:00:17.000Z | external_codes/boost_multi/multi/examples/lu_fact.cpp | djstaros/qmcpack | 280f67e638bae280448b47fa618f05b848c530d2 | [
"NCSA"
] | null | null | null | #ifdef COMPILATION// -*-indent-tabs-mode:t;c-basic-offset:4;tab-width:4;-*-
$CXX $0 -o $0x -lboost_timer `pkg-config --libs tbb` &&$0x&&rm $0x;exit
#endif
// © Alfredo A. Correa 2018-2020
#include "../../multi/array.hpp"
#include<numeric> // iota
#include<algorithm> // transform
#include<execution>
namespace multi =... | 26.9 | 159 | 0.547955 | [
"vector",
"transform"
] |
9cd18acdcf15ee0eb8301f11de557727277f6e2c | 29,656 | cpp | C++ | nvvk/appbase_vk.cpp | theHamsta/nvpro_core | 46d28f10aac7f951256ed759cf47fc44615a4f81 | [
"Apache-2.0"
] | null | null | null | nvvk/appbase_vk.cpp | theHamsta/nvpro_core | 46d28f10aac7f951256ed759cf47fc44615a4f81 | [
"Apache-2.0"
] | null | null | null | nvvk/appbase_vk.cpp | theHamsta/nvpro_core | 46d28f10aac7f951256ed759cf47fc44615a4f81 | [
"Apache-2.0"
] | 1 | 2021-07-25T19:30:40.000Z | 2021-07-25T19:30:40.000Z | /*
* Copyright (c) 2021, NVIDIA CORPORATION. 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 requi... | 38.315245 | 148 | 0.684786 | [
"render",
"vector"
] |
9cd56003b6d0b963aadd06b08c1442c29bb12a34 | 697 | cpp | C++ | trunk/day36/solution.cpp | itsjacob/90pp | eca71e624d28d216feb06d615e587fc6792c36b6 | [
"MIT"
] | null | null | null | trunk/day36/solution.cpp | itsjacob/90pp | eca71e624d28d216feb06d615e587fc6792c36b6 | [
"MIT"
] | null | null | null | trunk/day36/solution.cpp | itsjacob/90pp | eca71e624d28d216feb06d615e587fc6792c36b6 | [
"MIT"
] | null | null | null | #define sortArray_ countingSort
class Solution
{
public:
vector<int> sortArray(vector<int> &nums) { return sortArray_(nums); }
private:
std::vector<int> countingSort(std::vector<int> &nums)
{
std::vector<int> res;
int constexpr MIN_VAL{ -50000 };
int constexpr MAX_VAL{ 50000 };
std::vector<int> c... | 24.892857 | 71 | 0.601148 | [
"vector"
] |
9cda6c1980ae57a2047ac12e4e9c583d7ff22dac | 335 | cpp | C++ | Binary Trees/14_diagonal_traversal.cpp | ritikrajdev/450DSA | a9efa8c8be781fd7b101407ac807a83b8a0929f4 | [
"MIT"
] | null | null | null | Binary Trees/14_diagonal_traversal.cpp | ritikrajdev/450DSA | a9efa8c8be781fd7b101407ac807a83b8a0929f4 | [
"MIT"
] | null | null | null | Binary Trees/14_diagonal_traversal.cpp | ritikrajdev/450DSA | a9efa8c8be781fd7b101407ac807a83b8a0929f4 | [
"MIT"
] | null | null | null | vector<int> diagonal(Node *root)
{
vector<int> v;
queue <Node*> q;
q.push(root);
while (q.size()) {
Node* itr = q.front();
while (itr) {
v.push_back(itr->data);
if (itr->left) q.push(itr->left);
itr = itr->right;
}
q.pop();
}
... | 18.611111 | 45 | 0.432836 | [
"vector"
] |
9cdbec8d0cffe30593b464d7925864bb0d999a6c | 977 | cc | C++ | test/runtime.cc | mberaha/bayesmix | 4448f0e9f69ac71f3aacc11a239e3114790c1aaa | [
"BSD-3-Clause"
] | 17 | 2020-10-13T16:45:06.000Z | 2022-03-22T13:50:42.000Z | test/runtime.cc | mberaha/bayesmix | 4448f0e9f69ac71f3aacc11a239e3114790c1aaa | [
"BSD-3-Clause"
] | 90 | 2020-10-26T09:49:37.000Z | 2022-03-29T07:23:38.000Z | test/runtime.cc | mberaha/bayesmix | 4448f0e9f69ac71f3aacc11a239e3114790c1aaa | [
"BSD-3-Clause"
] | 15 | 2020-11-17T06:52:40.000Z | 2022-02-15T12:08:47.000Z | // Checks that all the combinations of Algorithms, Mixings and Hierarchies
// can be combined into a sampleable model.
#include <gtest/gtest.h>
#include "src/includes.h"
TEST(can_build, allmodels) {
auto &factory_algo = AlgorithmFactory::Instance();
auto &factory_hier = HierarchyFactory::Instance();
auto &fact... | 34.892857 | 74 | 0.700102 | [
"model"
] |
9cdff111d76abe3bddd5cf2b2216bd59e4ecf260 | 11,168 | cpp | C++ | Source/SVWidgetsLib/FilterParameterWidgets/ShapeTypeSelectionWidget.cpp | mmarineBlueQuartz/SIMPL | 834f9009944efe69d94b5b77a641d96db3e9543b | [
"NRL"
] | null | null | null | Source/SVWidgetsLib/FilterParameterWidgets/ShapeTypeSelectionWidget.cpp | mmarineBlueQuartz/SIMPL | 834f9009944efe69d94b5b77a641d96db3e9543b | [
"NRL"
] | 2 | 2019-02-23T20:46:12.000Z | 2019-07-11T15:34:13.000Z | Source/SVWidgetsLib/FilterParameterWidgets/ShapeTypeSelectionWidget.cpp | mmarineBlueQuartz/SIMPL | 834f9009944efe69d94b5b77a641d96db3e9543b | [
"NRL"
] | null | null | null | /* ============================================================================
* Copyright (c) 2009-2016 BlueQuartz Software, LLC
*
* 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 ... | 36.37785 | 152 | 0.619807 | [
"object",
"shape"
] |
9ce59cd6deadd5ffe9805cbba97f6a7c454ed130 | 3,150 | hpp | C++ | dfd/include/network/Message.hpp | dfdchain/dfd_project | 77a5cf59e6882575b9948d93cefbb556d857fd32 | [
"MIT"
] | 2 | 2020-09-02T02:10:06.000Z | 2020-09-19T03:16:32.000Z | dfd/include/network/Message.hpp | dfdchain/dfd_project | 77a5cf59e6882575b9948d93cefbb556d857fd32 | [
"MIT"
] | 2 | 2020-08-31T09:49:10.000Z | 2020-09-05T05:09:53.000Z | dfd/include/network/Message.hpp | dfdchain/dfd_project | 77a5cf59e6882575b9948d93cefbb556d857fd32 | [
"MIT"
] | 1 | 2020-11-19T03:36:27.000Z | 2020-11-19T03:36:27.000Z | #pragma once
#include <fc/array.hpp>
#include <fc/io/varint.hpp>
#include <fc/network/ip.hpp>
#include <fc/io/raw.hpp>
#include <fc/crypto/ripemd160.hpp>
#include <fc/reflect/variant.hpp>
namespace dfdcore {
namespace network {
/**
* Defines an 8 byte header that is always present because the mi... | 32.474227 | 104 | 0.489524 | [
"vector"
] |
9ce9f297154bbfa75fde78b03f1629dbd461f0ae | 1,628 | cpp | C++ | Puzzles/Easy/RockPaperScisorsLizardSpock.cpp | Naheuldark/Codingame | 1ded71fad8386f3dda74f9b57ff1c056146206c3 | [
"MIT"
] | null | null | null | Puzzles/Easy/RockPaperScisorsLizardSpock.cpp | Naheuldark/Codingame | 1ded71fad8386f3dda74f9b57ff1c056146206c3 | [
"MIT"
] | null | null | null | Puzzles/Easy/RockPaperScisorsLizardSpock.cpp | Naheuldark/Codingame | 1ded71fad8386f3dda74f9b57ff1c056146206c3 | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
#include <vector>
#include <algorithm>
using namespace std;
struct Player {
int id;
std::string sign;
std::vector<int> adv;
Player(int id, std::string sign) : id(id), sign(sign) {}
};
Player battle(Player& p1, Player& p2) {
p1.adv.emplace_back(p2.id);
p2... | 25.046154 | 71 | 0.517199 | [
"vector"
] |
9cecd7c4408376f9cbc1d9704f136fc25a955edd | 3,384 | cpp | C++ | cdb/src/v20170320/model/SlaveInfo.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | 43 | 2019-08-14T08:14:12.000Z | 2022-03-30T12:35:09.000Z | cdb/src/v20170320/model/SlaveInfo.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | 12 | 2019-07-15T10:44:59.000Z | 2021-11-02T12:35:00.000Z | cdb/src/v20170320/model/SlaveInfo.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | 28 | 2019-07-12T09:06:22.000Z | 2022-03-30T08:04:18.000Z | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | 26.4375 | 126 | 0.672577 | [
"object",
"model"
] |
9cf21e9c8c8f00ea4d8f8ea02b575f37472a2a4d | 33,519 | cpp | C++ | launchers/win32/LauncherDlg.cpp | makitsune/hifi | 55238200f1302aeb58ddb0c420f4e40e1a53c296 | [
"Apache-2.0"
] | null | null | null | launchers/win32/LauncherDlg.cpp | makitsune/hifi | 55238200f1302aeb58ddb0c420f4e40e1a53c296 | [
"Apache-2.0"
] | null | null | null | launchers/win32/LauncherDlg.cpp | makitsune/hifi | 55238200f1302aeb58ddb0c420f4e40e1a53c296 | [
"Apache-2.0"
] | null | null | null | //
// LauncherDlg.cpp
//
// Created by Luis Cuenca on 6/5/2019.
// Copyright 2019 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
#include "stdafx.h"
#include <regex>
#include "LauncherApp.h"
#i... | 39.387779 | 191 | 0.651422 | [
"vector"
] |
14016fea14c5cdec3995228b806ecf883672397a | 597 | cpp | C++ | inference-engine/tests/ngraph_helpers/ngraph_functions/src/tile.cpp | Andruxin52rus/openvino | d824e371fe7dffb90e6d3d58e4e34adecfce4606 | [
"Apache-2.0"
] | 1 | 2022-01-19T15:36:45.000Z | 2022-01-19T15:36:45.000Z | inference-engine/tests/ngraph_helpers/ngraph_functions/src/tile.cpp | Andruxin52rus/openvino | d824e371fe7dffb90e6d3d58e4e34adecfce4606 | [
"Apache-2.0"
] | 30 | 2020-11-13T11:44:07.000Z | 2022-02-21T13:03:16.000Z | inference-engine/tests/ngraph_helpers/ngraph_functions/src/tile.cpp | mmakridi/openvino | 769bb7709597c14debdaa356dd60c5a78bdfa97e | [
"Apache-2.0"
] | 1 | 2020-12-18T15:47:45.000Z | 2020-12-18T15:47:45.000Z | // Copyright (C) 2020 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include "ngraph_functions/builders.hpp"
namespace ngraph {
namespace builder {
std::shared_ptr<ngraph::Node> makeTile(const ngraph::Output<Node>& in,
const std::vector<int64_t>& repeats) {
au... | 31.421053 | 134 | 0.676717 | [
"vector"
] |
140697b4e325d03f7287750eed5c7ca0de295dcf | 9,110 | cpp | C++ | Polyhedron.cpp | darkedge/GT1 | b9b569909c4d505f16400e8b744fba714077c952 | [
"MIT"
] | 1 | 2020-11-08T21:08:04.000Z | 2020-11-08T21:08:04.000Z | Polyhedron.cpp | darkedge/GT1 | b9b569909c4d505f16400e8b744fba714077c952 | [
"MIT"
] | null | null | null | Polyhedron.cpp | darkedge/GT1 | b9b569909c4d505f16400e8b744fba714077c952 | [
"MIT"
] | null | null | null | #include "Polyhedron.h"
#include "Transform.h"
#include <GL/glew.h>
using namespace GT1;
/************************************************************************/
/* Class Edge */
/************************************************************************/
bool... | 25.376045 | 105 | 0.564764 | [
"render",
"vector",
"transform"
] |
1406a32c54d014fbea088c23fb9a3b56ea8a7e83 | 1,360 | cpp | C++ | LeetCode/ThousandOne/0804-unique_morse_code.cpp | Ginkgo-Biloba/Cpp-Repo1-VS | 231c68a055e6bf69a3f7c224e7c0182b67ce5b67 | [
"Apache-2.0"
] | null | null | null | LeetCode/ThousandOne/0804-unique_morse_code.cpp | Ginkgo-Biloba/Cpp-Repo1-VS | 231c68a055e6bf69a3f7c224e7c0182b67ce5b67 | [
"Apache-2.0"
] | null | null | null | LeetCode/ThousandOne/0804-unique_morse_code.cpp | Ginkgo-Biloba/Cpp-Repo1-VS | 231c68a055e6bf69a3f7c224e7c0182b67ce5b67 | [
"Apache-2.0"
] | null | null | null | #include "leetcode.hpp"
/* 804. 唯一摩尔斯密码词
国际摩尔斯密码定义一种标准编码方式,将每个字母对应于一个由一系列点和短线组成的字符串。
比如: "a" 对应 ".-", "b" 对应 "-...", "c" 对应 "-.-.", 等等。
为了方便,所有26个英文字母对应摩尔斯密码表如下:
[".-","-...","-.-.","-..",".","..-.","--.","....","..",".---","-.-",".-..","--","-.","---",".--.","--.-",".-.","...","-","..-","...-",".--","-..-","-.--"... | 21.25 | 161 | 0.425 | [
"vector"
] |
1408d59ad7892bcc8a78ec3ba29571e39e0ff602 | 50,085 | cpp | C++ | engine/physics/src/physics/physics_3d.cpp | hapass/defold | fd3602f27a2596a2ad62bf9a70ae9d7acda24ad8 | [
"Apache-2.0"
] | null | null | null | engine/physics/src/physics/physics_3d.cpp | hapass/defold | fd3602f27a2596a2ad62bf9a70ae9d7acda24ad8 | [
"Apache-2.0"
] | null | null | null | engine/physics/src/physics/physics_3d.cpp | hapass/defold | fd3602f27a2596a2ad62bf9a70ae9d7acda24ad8 | [
"Apache-2.0"
] | null | null | null | // Copyright 2020 The Defold Foundation
// Licensed under the Defold License version 1.0 (the "License"); you may not use
// this file except in compliance with the License.
//
// You may obtain a copy of the License, together with FAQs at
// https://www.defold.com/license
//
// Unless required by applicable law or agr... | 42.230185 | 274 | 0.61164 | [
"object",
"shape",
"transform",
"3d"
] |
140b52211be3f00e944c93542d41678444e58cd8 | 5,306 | cpp | C++ | HelperFunctions/getVkValidationFeatureEnableEXTCollection.cpp | dkaip/jvulkan-natives-Linux-x86_64 | ea7932f74e828953c712feea11e0b01751f9dc9b | [
"Apache-2.0"
] | null | null | null | HelperFunctions/getVkValidationFeatureEnableEXTCollection.cpp | dkaip/jvulkan-natives-Linux-x86_64 | ea7932f74e828953c712feea11e0b01751f9dc9b | [
"Apache-2.0"
] | null | null | null | HelperFunctions/getVkValidationFeatureEnableEXTCollection.cpp | dkaip/jvulkan-natives-Linux-x86_64 | ea7932f74e828953c712feea11e0b01751f9dc9b | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2019-2020 Douglas Kaip
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | 36.342466 | 184 | 0.626272 | [
"object",
"vector"
] |
140ff7c0d2e71f17ee42dea85e77bfb24e6e485f | 5,114 | cc | C++ | mindspore/ccsrc/plugin/device/cpu/kernel/mkldnn/softmax_cross_entropy_with_logits_cpu_kernel.cc | httpsgithu/mindspore | c29d6bb764e233b427319cb89ba79e420f1e2c64 | [
"Apache-2.0"
] | 1 | 2022-02-23T09:13:43.000Z | 2022-02-23T09:13:43.000Z | mindspore/ccsrc/plugin/device/cpu/kernel/mkldnn/softmax_cross_entropy_with_logits_cpu_kernel.cc | 949144093/mindspore | c29d6bb764e233b427319cb89ba79e420f1e2c64 | [
"Apache-2.0"
] | null | null | null | mindspore/ccsrc/plugin/device/cpu/kernel/mkldnn/softmax_cross_entropy_with_logits_cpu_kernel.cc | 949144093/mindspore | c29d6bb764e233b427319cb89ba79e420f1e2c64 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright 2020-2022 Huawei Technologies Co., Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicabl... | 46.490909 | 119 | 0.722135 | [
"shape",
"vector"
] |
1411ca28f174edd517222bd41e81e76a0fe52f63 | 65,146 | cc | C++ | v8_7_5/src/torque/torque-parser.cc | wenfeifei/miniblink49 | 2ed562ff70130485148d94b0e5f4c343da0c2ba4 | [
"Apache-2.0"
] | 5,964 | 2016-09-27T03:46:29.000Z | 2022-03-31T16:25:27.000Z | v8_7_5/src/torque/torque-parser.cc | w4454962/miniblink49 | b294b6eacb3333659bf7b94d670d96edeeba14c0 | [
"Apache-2.0"
] | 459 | 2016-09-29T00:51:38.000Z | 2022-03-07T14:37:46.000Z | v8_7_5/src/torque/torque-parser.cc | w4454962/miniblink49 | b294b6eacb3333659bf7b94d670d96edeeba14c0 | [
"Apache-2.0"
] | 1,006 | 2016-09-27T05:17:27.000Z | 2022-03-30T02:46:51.000Z | // Copyright 2018 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <cctype>
#include "src/torque/earley-parser.h"
#include "src/torque/torque-parser.h"
#include "src/torque/utils.h"
namespace v8 {
namespace i... | 38.8236 | 80 | 0.693396 | [
"object",
"vector"
] |
14160046c15f9ceae6723bfd3357b147c2d17605 | 5,872 | cpp | C++ | source/BeEngine/TextRenderer.cpp | Guillemsc/2D | e92801d5cd8c5e51953cbb54c58f775dace5d40d | [
"MIT"
] | 6 | 2019-04-13T02:54:17.000Z | 2021-05-31T12:22:26.000Z | source/BeEngine/TextRenderer.cpp | Guillemsc/2D | e92801d5cd8c5e51953cbb54c58f775dace5d40d | [
"MIT"
] | null | null | null | source/BeEngine/TextRenderer.cpp | Guillemsc/2D | e92801d5cd8c5e51953cbb54c58f775dace5d40d | [
"MIT"
] | 1 | 2022-01-27T13:49:00.000Z | 2022-01-27T13:49:00.000Z | #include "TextRenderer.h"
#include "ComponentText.h"
#include "App.h"
#include "ModuleShader.h"
#include "GameObject.h"
#include "ComponentTransfrom.h"
#include "ModuleSceneRenderer.h"
#include "ModuleText.h"
#include "TextRenderer.h"
#include "StaticTextRendererItem.h"
TextRenderer::TextRenderer()
{
}
TextRenderer::... | 26.45045 | 119 | 0.690906 | [
"render",
"vector",
"model",
"transform"
] |
1418e366dae7564a72f519cbd17d04affa0fad15 | 9,732 | cc | C++ | modules/rt/src/rt_handler.cc | Emmeral/motis | f5fca133aa703bb00a411f68ceefa023337aef06 | [
"MIT"
] | 2 | 2020-08-11T19:41:58.000Z | 2021-12-10T16:05:52.000Z | modules/rt/src/rt_handler.cc | igorbraun/motis | ab07dc9ebe9220c23626091c0b4080ee772ca081 | [
"MIT"
] | null | null | null | modules/rt/src/rt_handler.cc | igorbraun/motis | ab07dc9ebe9220c23626091c0b4080ee772ca081 | [
"MIT"
] | null | null | null | #include "motis/rt/rt_handler.h"
#include "utl/to_vec.h"
#include "utl/pipes.h"
#include "utl/verify.h"
#include "motis/core/common/logging.h"
#include "motis/core/common/raii.h"
#include "motis/core/conv/trip_conv.h"
#include "motis/module/context/get_schedule.h"
#include "motis/module/context/motis_publish.h"
#i... | 30.700315 | 80 | 0.601521 | [
"vector",
"transform"
] |
14193e84360933addfe1a8cc232df3bb67d9daca | 11,734 | cpp | C++ | Plugins/Effect/Effect.cpp | Mefi100/unified | b12a6cc27f291ff779d5ce1226c180ba3f3db800 | [
"MIT"
] | 3 | 2019-02-23T12:51:55.000Z | 2020-10-20T03:24:21.000Z | Plugins/Effect/Effect.cpp | Mefi100/unified | b12a6cc27f291ff779d5ce1226c180ba3f3db800 | [
"MIT"
] | 1 | 2019-11-02T22:02:02.000Z | 2019-11-02T22:02:02.000Z | Plugins/Effect/Effect.cpp | Mefi100/unified | b12a6cc27f291ff779d5ce1226c180ba3f3db800 | [
"MIT"
] | 1 | 2018-12-07T03:06:37.000Z | 2018-12-07T03:06:37.000Z | #include "nwnx.hpp"
#include "API/Constants.hpp"
#include "API/Globals.hpp"
#include "API/CExoString.hpp"
#include "API/CGameEffect.hpp"
#include "API/Functions.hpp"
#include "API/CVirtualMachine.hpp"
#include "API/CNWSObject.hpp"
#include "API/CAppManager.hpp"
#include "API/CServerExoApp.hpp"
#include <string>
usin... | 35.131737 | 120 | 0.648457 | [
"object"
] |
141a0cb9c7ea2538f430b708603b3a1a73a7f98f | 4,024 | cpp | C++ | src/2012-04-18_Combinations.cpp | weizhenwei/leetcode | 51386f7f2651ce0562b6f1a49eea7dddc5e02d2e | [
"BSD-3-Clause"
] | 3 | 2015-02-12T01:11:37.000Z | 2015-11-08T08:00:24.000Z | src/2012-04-18_Combinations.cpp | weizhenwei/leetcode | 51386f7f2651ce0562b6f1a49eea7dddc5e02d2e | [
"BSD-3-Clause"
] | null | null | null | src/2012-04-18_Combinations.cpp | weizhenwei/leetcode | 51386f7f2651ce0562b6f1a49eea7dddc5e02d2e | [
"BSD-3-Clause"
] | null | null | null | /*
*
* Copyright (c) 2014, weizhenwei
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice, this
* list of condi... | 30.029851 | 81 | 0.580268 | [
"vector"
] |
141a28956af56cc6d0d4ca544a266eb27aee925d | 3,020 | cpp | C++ | examples/advancedLighting/advancedLighting.cpp | Reiex/SplayLibrary | 94b68f371ea4c662c84dfe2dd0a6d1625b60fb04 | [
"MIT"
] | 1 | 2021-12-14T21:36:39.000Z | 2021-12-14T21:36:39.000Z | examples/advancedLighting/advancedLighting.cpp | Reiex/SplayLibrary | 94b68f371ea4c662c84dfe2dd0a6d1625b60fb04 | [
"MIT"
] | null | null | null | examples/advancedLighting/advancedLighting.cpp | Reiex/SplayLibrary | 94b68f371ea4c662c84dfe2dd0a6d1625b60fb04 | [
"MIT"
] | null | null | null | #include "../main.hpp"
int advancedLightingMain()
{
spl::Window window({ 1000, 600 }, "SPL Example");
spl::Context* context = window.getContext();
spl::ContextManager::setCurrentContext(context);
context->setIsDepthTestEnabled(true);
spl::Framebuffer framebuffer;
framebuffer.createNewTextureAttachment... | 34.712644 | 162 | 0.680132 | [
"mesh",
"model"
] |
141c8c19ce3cc253b19f4422d2bb9b744d033171 | 24,371 | cpp | C++ | TestCpp/Classes/NodeTest/NodeTest.cpp | GhostSoar/Cocos2dWindows | 654a018004e358f875bedeb7c9acd6824c0734f8 | [
"MIT"
] | 1 | 2017-01-04T07:05:37.000Z | 2017-01-04T07:05:37.000Z | TestCpp/Classes/NodeTest/NodeTest.cpp | GhostSoar/Cocos2dWindows | 654a018004e358f875bedeb7c9acd6824c0734f8 | [
"MIT"
] | null | null | null | TestCpp/Classes/NodeTest/NodeTest.cpp | GhostSoar/Cocos2dWindows | 654a018004e358f875bedeb7c9acd6824c0734f8 | [
"MIT"
] | null | null | null | #include "pch.h"
#include "NodeTest.h"
#include "../testResource.h"
enum
{
kTagSprite1 = 1,
kTagSprite2 = 2,
kTagSprite3 = 3,
kTagSlider,
};
CCLayer* nextCocosNodeAction();
CCLayer* backCocosNodeAction();
CCLayer* restartCocosNodeAction();
//---------------------------------------------------------... | 27.631519 | 175 | 0.585655 | [
"object",
"transform"
] |
141c8d9bdbde7f9fd74bb2964effc399c160e06f | 5,547 | cxx | C++ | Filters/ParallelDIY2/Testing/Cxx/TestRedistributeDataSetFilter.cxx | fluentgcc/VTK | dcbfc0df70212ef9f01cbc2a68387b2d44dce808 | [
"BSD-3-Clause"
] | null | null | null | Filters/ParallelDIY2/Testing/Cxx/TestRedistributeDataSetFilter.cxx | fluentgcc/VTK | dcbfc0df70212ef9f01cbc2a68387b2d44dce808 | [
"BSD-3-Clause"
] | null | null | null | Filters/ParallelDIY2/Testing/Cxx/TestRedistributeDataSetFilter.cxx | fluentgcc/VTK | dcbfc0df70212ef9f01cbc2a68387b2d44dce808 | [
"BSD-3-Clause"
] | null | null | null | /*=========================================================================
Program: Visualization Toolkit
Module: TestRedistributeDataSetFilter.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
Thi... | 28.592784 | 118 | 0.704705 | [
"render"
] |
141e2200adc9a3501717032c2652fc1dc7d5cab4 | 2,559 | cpp | C++ | RequiemEngine/src/Graphics/GraphicsRenderPipeline.cpp | A-RAVEN/Crimson | a170beb9bf43ba135468f9593f38cf0a21865afe | [
"MIT"
] | 2 | 2020-10-19T15:59:27.000Z | 2020-10-19T15:59:37.000Z | RequiemEngine/src/Graphics/GraphicsRenderPipeline.cpp | A-RAVEN/Crimson | a170beb9bf43ba135468f9593f38cf0a21865afe | [
"MIT"
] | null | null | null | RequiemEngine/src/Graphics/GraphicsRenderPipeline.cpp | A-RAVEN/Crimson | a170beb9bf43ba135468f9593f38cf0a21865afe | [
"MIT"
] | null | null | null | #include <headers/Graphics/GraphicsRenderPipeline.h>
using namespace Crimson;
GraphicsContext::GraphicsContext(PGPUDevice device) : m_Device(device)
{
}
Ptr64 GraphicsContext::CreateResizableRenderTarget(uint32_t format, bool can_sample, bool can_blit)
{
std::vector<Crimson::EImageUsage> usages;
Crimson::EFormat efo... | 28.752809 | 136 | 0.781946 | [
"vector"
] |
141fd75d42aa2e242fcb93552beac63897d22862 | 905 | cpp | C++ | tests/test-type_traits.cpp | jin1xiao3long2/libmozart | 78ba2e0d2cb7fbf8b721b94d05c9f2845c6b0281 | [
"Apache-2.0"
] | 2 | 2021-03-01T06:41:30.000Z | 2021-03-01T07:28:15.000Z | tests/test-type_traits.cpp | jin1xiao3long2/libmozart | 78ba2e0d2cb7fbf8b721b94d05c9f2845c6b0281 | [
"Apache-2.0"
] | null | null | null | tests/test-type_traits.cpp | jin1xiao3long2/libmozart | 78ba2e0d2cb7fbf8b721b94d05c9f2845c6b0281 | [
"Apache-2.0"
] | 1 | 2021-04-22T16:48:25.000Z | 2021-04-22T16:48:25.000Z | /**
* Mozart++ Template Library
* Licensed under Apache 2.0
* Copyright (C) 2020-2021 Chengdu Covariant Technologies Co., LTD.
* Website: https://covariant.cn/
* Github: https://github.com/chengdu-zhirui/
*/
#include <mozart++/core>
#include <cstdio>
#include <vector>
#include <list>
#include <deque>
#include ... | 33.518519 | 84 | 0.690608 | [
"vector"
] |
142153e5d5145cc2bc9534de4b85855eb00adcef | 6,222 | hpp | C++ | third_party/include/mvscxx/oglplus/dsa/buffer_map.hpp | Simmesimme/swift2d | 147a862208dee56f972361b5325009e020124137 | [
"MIT"
] | null | null | null | third_party/include/mvscxx/oglplus/dsa/buffer_map.hpp | Simmesimme/swift2d | 147a862208dee56f972361b5325009e020124137 | [
"MIT"
] | null | null | null | third_party/include/mvscxx/oglplus/dsa/buffer_map.hpp | Simmesimme/swift2d | 147a862208dee56f972361b5325009e020124137 | [
"MIT"
] | null | null | null | /**
* @file oglplus/dsa/buffer_map.hpp
* @brief BufferMap wrappers with direct state access
*
* @author Matus Chochlik
*
* Copyright 2010-2014 Matus Chochlik. Distributed under the Boost
* Software License, Version 1.0. (See accompanying file
* LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.t... | 20.671096 | 78 | 0.69415 | [
"object"
] |
1423bd6fcdc250f9b29da73f3262a4768d0e9dfb | 46,873 | cc | C++ | src/numbers/conversions.cc | levijskal/v8 | b5979eaa5b5c09a6b8ba15a22997cb36da21a258 | [
"BSD-3-Clause"
] | 37 | 2015-02-04T22:02:40.000Z | 2021-07-29T03:47:29.000Z | src/numbers/conversions.cc | levijskal/v8 | b5979eaa5b5c09a6b8ba15a22997cb36da21a258 | [
"BSD-3-Clause"
] | 54 | 2020-06-23T17:34:04.000Z | 2022-03-31T02:04:06.000Z | src/numbers/conversions.cc | levijskal/v8 | b5979eaa5b5c09a6b8ba15a22997cb36da21a258 | [
"BSD-3-Clause"
] | 19 | 2015-04-13T15:23:46.000Z | 2021-05-12T10:47:06.000Z | // Copyright 2011 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/numbers/conversions.h"
#include <limits.h>
#include <stdarg.h>
#include <cmath>
#include "src/common/assert-scope.h"
#include "src/hand... | 32.755416 | 80 | 0.632283 | [
"vector"
] |
142ce23f4a7483e0df6deb250d5b12574fb8d6c4 | 3,215 | cpp | C++ | trainings/2015-08-06-Shanghai-2004/J.cpp | HcPlu/acm-icpc | ab1f1d58bf2b4bf6677a2e4282fd3dadb3effbf8 | [
"MIT"
] | 9 | 2017-10-07T13:35:45.000Z | 2021-06-07T17:36:55.000Z | trainings/2015-08-06-Shanghai-2004/J.cpp | zhijian-liu/acm-icpc | ab1f1d58bf2b4bf6677a2e4282fd3dadb3effbf8 | [
"MIT"
] | null | null | null | trainings/2015-08-06-Shanghai-2004/J.cpp | zhijian-liu/acm-icpc | ab1f1d58bf2b4bf6677a2e4282fd3dadb3effbf8 | [
"MIT"
] | 3 | 2018-04-24T05:27:21.000Z | 2019-04-25T06:06:00.000Z | #include <cstdio>
#include <cstdlib>
#include <iostream>
#include <sstream>
#include <vector>
using namespace std;
namespace mf {
const int N = 1500, M = 1010000;
struct EdgeList {
int size;
int last[N];
int succ[M], other[M], flow[M];
void clear(int n) {
size = ... | 22.801418 | 72 | 0.376361 | [
"vector"
] |
28a2c8ace6903dbaba3968b5ab35f00fc3761d0b | 910 | hpp | C++ | catkin_ws/src/localization/include/localization/fake_scan.hpp | wpi-arn-spring-2019/Turtlebot-3-Navigation | c02dbe75de2d4f2fc31d6c2f4873d56f0927a286 | [
"BSD-3-Clause"
] | null | null | null | catkin_ws/src/localization/include/localization/fake_scan.hpp | wpi-arn-spring-2019/Turtlebot-3-Navigation | c02dbe75de2d4f2fc31d6c2f4873d56f0927a286 | [
"BSD-3-Clause"
] | null | null | null | catkin_ws/src/localization/include/localization/fake_scan.hpp | wpi-arn-spring-2019/Turtlebot-3-Navigation | c02dbe75de2d4f2fc31d6c2f4873d56f0927a286 | [
"BSD-3-Clause"
] | 2 | 2019-07-06T04:04:09.000Z | 2019-12-17T01:46:34.000Z | #pragma once
#include <ros/ros.h>
#include <geometry_msgs/PoseWithCovarianceStamped.h>
#include <nav_msgs/OccupancyGrid.h>
#include <sensor_msgs/LaserScan.h>
#include <tf/tf.h>
#include <tf/transform_broadcaster.h>
#include <point.hpp>
namespace Turtlebot
{
class FakeScan
{
public:
FakeScan(const nav_msgs::Occupa... | 26 | 113 | 0.749451 | [
"vector"
] |
28a7b820af7803ebd548dec86e5e2d0344bf6e49 | 1,720 | cpp | C++ | src/fontTexture.cpp | goibon/Achluophobia | 6b8b8627dd98dddd76e586a1fa86b98c24938861 | [
"MIT"
] | null | null | null | src/fontTexture.cpp | goibon/Achluophobia | 6b8b8627dd98dddd76e586a1fa86b98c24938861 | [
"MIT"
] | null | null | null | src/fontTexture.cpp | goibon/Achluophobia | 6b8b8627dd98dddd76e586a1fa86b98c24938861 | [
"MIT"
] | null | null | null | #include "fontTexture.hpp"
#include <SDL_ttf.h>
FontTexture::FontTexture(int width, int height, TTF_Font* font) : Texture(width, height)
{
mFont = font;
}
void FontTexture::createTextureFromSurface(SDL_Renderer* renderer, SDL_Surface* surface)
{
//Create texture from surface pixels
mTexture = SDL_CreateTextureF... | 24.571429 | 120 | 0.709302 | [
"render"
] |
28a87ae2b112f3a3269bb67294d478e3eab2023f | 8,809 | hpp | C++ | src/batched/KokkosBatched_Vector_SIMD_Math.hpp | dialecticDolt/kokkos-kernels | 00189c0be23a70979aeaa162f0abd4c0e4d1c479 | [
"BSD-3-Clause"
] | 156 | 2017-03-01T23:38:10.000Z | 2022-03-27T21:28:03.000Z | src/batched/KokkosBatched_Vector_SIMD_Math.hpp | dialecticDolt/kokkos-kernels | 00189c0be23a70979aeaa162f0abd4c0e4d1c479 | [
"BSD-3-Clause"
] | 1,257 | 2017-03-03T15:25:16.000Z | 2022-03-31T19:46:09.000Z | src/batched/KokkosBatched_Vector_SIMD_Math.hpp | dialecticDolt/kokkos-kernels | 00189c0be23a70979aeaa162f0abd4c0e4d1c479 | [
"BSD-3-Clause"
] | 76 | 2017-03-01T17:03:59.000Z | 2022-03-03T21:04:41.000Z | #ifndef __KOKKOSBATCHED_VECTOR_SIMD_MATH_HPP__
#define __KOKKOSBATCHED_VECTOR_SIMD_MATH_HPP__
/// \author Kyungjoo Kim (kyukim@sandia.gov)
#include "Kokkos_Complex.hpp"
namespace KokkosBatched {
//#define KOKKOSKERNELS_SIMD_MATH_RETURN_TYPE typename std::enable_if<std::is_same<Kokkos::Impl::ActiveExecutionMemoryS... | 24.606145 | 177 | 0.701782 | [
"vector"
] |
28a9c195cd187ac3970dca77fe8fb32620eacffe | 3,385 | cpp | C++ | Userland/Libraries/LibC/termcap.cpp | shubhdev/serenity | 9321d9d83d366ad4cf686c856063ff9ac97c18a4 | [
"BSD-2-Clause"
] | 4 | 2021-02-23T05:35:25.000Z | 2021-06-08T06:11:06.000Z | Userland/Libraries/LibC/termcap.cpp | shubhdev/serenity | 9321d9d83d366ad4cf686c856063ff9ac97c18a4 | [
"BSD-2-Clause"
] | 4 | 2021-04-27T20:44:44.000Z | 2021-06-30T18:07:10.000Z | Userland/Libraries/LibC/termcap.cpp | shubhdev/serenity | 9321d9d83d366ad4cf686c856063ff9ac97c18a4 | [
"BSD-2-Clause"
] | 1 | 2021-06-05T16:58:05.000Z | 2021-06-05T16:58:05.000Z | /*
* Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <AK/Debug.h>
#include <AK/HashMap.h>
#include <AK/String.h>
#include <AK/Vector.h>
#include <assert.h>
#include <string.h>
#include <termcap.h>
extern "C" {
char PC;
char* UP;
char* BC;
int t... | 25.074074 | 97 | 0.560118 | [
"vector"
] |
28aae6712ff77798ddb7e8d78e0e81577ba280a4 | 6,816 | cxx | C++ | Testing/Code/BasicFilters/itkBloxCoreAtomTest.cxx | kiranhs/ITKv4FEM-Kiran | 0e4ab3b61b5fc4c736f04a73dd19e41390f20152 | [
"BSD-3-Clause"
] | 1 | 2018-04-15T13:32:43.000Z | 2018-04-15T13:32:43.000Z | Testing/Code/BasicFilters/itkBloxCoreAtomTest.cxx | kiranhs/ITKv4FEM-Kiran | 0e4ab3b61b5fc4c736f04a73dd19e41390f20152 | [
"BSD-3-Clause"
] | null | null | null | Testing/Code/BasicFilters/itkBloxCoreAtomTest.cxx | kiranhs/ITKv4FEM-Kiran | 0e4ab3b61b5fc4c736f04a73dd19e41390f20152 | [
"BSD-3-Clause"
] | null | null | null | /*=========================================================================
Program: Insight Segmentation & Registration Toolkit
Module: itkBloxCoreAtomTest.cxx
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) Insight Software Consortium. All rights reserved.
See ITKCopyright.tx... | 33.087379 | 103 | 0.702171 | [
"object"
] |
28ab49bb1c284592df2a04585e2347560f0e14ff | 254 | cc | C++ | Part-II/Ch11/11.3.2/11.22.cc | RingZEROtlf/Cpp-Primer | bde40534eeca733350825c41f268415fdccb1cc3 | [
"MIT"
] | 1 | 2021-09-23T13:13:12.000Z | 2021-09-23T13:13:12.000Z | Part-II/Ch11/11.3.2/11.22.cc | RingZEROtlf/Cpp-Primer | bde40534eeca733350825c41f268415fdccb1cc3 | [
"MIT"
] | null | null | null | Part-II/Ch11/11.3.2/11.22.cc | RingZEROtlf/Cpp-Primer | bde40534eeca733350825c41f268415fdccb1cc3 | [
"MIT"
] | null | null | null | #include <map>
#include <string>
#include <vector>
#include <utility>
using namespace std;
int main()
{
map<string, vector<int>> mmap;
pair<string, vector<int>> argument;
pair<map<string, vector<int>>::iterator, bool> result;
return 0;
} | 19.538462 | 58 | 0.669291 | [
"vector"
] |
28ab616a9d3eb27387984d88db051776603e0054 | 24,323 | cpp | C++ | Extensions/VIW/VSTI/VSTInstrument.cpp | bach5000/XRS | 8b9169f8d52a441ddca87415963ea2fcfced1884 | [
"MIT"
] | null | null | null | Extensions/VIW/VSTI/VSTInstrument.cpp | bach5000/XRS | 8b9169f8d52a441ddca87415963ea2fcfced1884 | [
"MIT"
] | null | null | null | Extensions/VIW/VSTI/VSTInstrument.cpp | bach5000/XRS | 8b9169f8d52a441ddca87415963ea2fcfced1884 | [
"MIT"
] | null | null | null | /*
VSTInstrument.cpp
by Georges-Edouard Berenger
© 2000, Steinberg Soft- und Hard GmbH, All Rights Reserved.
*/
#ifndef _VSTINSTRUMENT_H_
#include "VSTInstrument.h"
#endif
/*#ifndef _VSTSOUND_H_
#include "VSTSound.h"
#endif*/
/*#ifndef _VSTSOUND_CONFIGURE_H_
#include "VSTSoundConfigure.h"
#endif*/
#include "L... | 28.086605 | 167 | 0.619496 | [
"object"
] |
28abd6b1f726dc3c734a657b2988e7692b11d088 | 56,380 | cpp | C++ | src/core/environ/win32/WindowFormUnit.cpp | weimingtom/krkrz110_fork | dda1177f75428e030853c0de237076986818fa65 | [
"BSD-3-Clause"
] | 1 | 2019-05-16T09:30:11.000Z | 2019-05-16T09:30:11.000Z | src/core/environ/win32/WindowFormUnit.cpp | weimingtom/krkrz110_fork | dda1177f75428e030853c0de237076986818fa65 | [
"BSD-3-Clause"
] | null | null | null | src/core/environ/win32/WindowFormUnit.cpp | weimingtom/krkrz110_fork | dda1177f75428e030853c0de237076986818fa65 | [
"BSD-3-Clause"
] | null | null | null |
#include "tjsCommHead.h"
#define DIRECTDRAW_VERSION 0x0300
#include <ddraw.h>
#include <dbt.h> // for WM_DEVICECHANGE
#include <algorithm>
#include "WindowFormUnit.h"
#include "WindowImpl.h"
#include "EventIntf.h"
#include "ComplexRect.h"
#include "LayerBitmapIntf.h"
#include "tjsArray.h"
#include "StorageIntf.h"
... | 29.425887 | 164 | 0.690032 | [
"object",
"vector"
] |
28ac577a4184a13dfda4dc7a40861a3bf3a26c26 | 5,705 | cpp | C++ | Examples/ExampleCreateProfileTypes/CreateAll.cpp | scaredyfish/MPCDI | 1ddbc9abf99d39d4464afa2005934c325443cf28 | [
"BSD-3-Clause"
] | 3 | 2021-03-09T01:57:37.000Z | 2021-05-07T08:40:41.000Z | Examples/ExampleCreateProfileTypes/CreateAll.cpp | scaredyfish/MPCDI | 1ddbc9abf99d39d4464afa2005934c325443cf28 | [
"BSD-3-Clause"
] | 1 | 2021-06-01T07:52:36.000Z | 2021-06-03T00:54:49.000Z | Examples/ExampleCreateProfileTypes/CreateAll.cpp | scaredyfish/MPCDI | 1ddbc9abf99d39d4464afa2005934c325443cf28 | [
"BSD-3-Clause"
] | 4 | 2020-06-22T14:14:15.000Z | 2021-11-11T14:34:42.000Z | /* =========================================================================
Program: MPCDI Library
Language: C++
Date: $Date: 2012-02-08 11:39:41 -0500 (Wed, 08 Feb 2012) $
Version: $Revision: 18341 $
Copyright (c) 2013 Scalable Display Technologies, Inc.
All Rights Reserved.
The MPCDI Librar... | 35.216049 | 85 | 0.601753 | [
"3d"
] |
28af2ff76ecb37d2d49b28b27cbac81af9076dc6 | 20,750 | cpp | C++ | src/mnemonics/electrum-words.cpp | cryptoseyed/ryo-currency | 362ed1b70c82c06a27131aeb1f9ec456df29b8e5 | [
"BSD-3-Clause"
] | null | null | null | src/mnemonics/electrum-words.cpp | cryptoseyed/ryo-currency | 362ed1b70c82c06a27131aeb1f9ec456df29b8e5 | [
"BSD-3-Clause"
] | null | null | null | src/mnemonics/electrum-words.cpp | cryptoseyed/ryo-currency | 362ed1b70c82c06a27131aeb1f9ec456df29b8e5 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2018, Ryo Currency Project
// Portions copyright (c) 2014-2018, The Monero Project
//
// Portions of this file are available under BSD-3 license. Please see ORIGINAL-LICENSE for details
// All rights reserved.
//
// Authors and copyright holders give permission for following:
//
// 1. Redistribution an... | 35.229202 | 143 | 0.686458 | [
"vector"
] |
28afa79536abc467e4f1caf77d6373e22a0f81dc | 3,761 | cc | C++ | prob01/recursion.cc | crimsonGnome/121-Lab-07 | 6c6e7f89c9b399169729559331fc10e5cc0c2b60 | [
"MIT"
] | null | null | null | prob01/recursion.cc | crimsonGnome/121-Lab-07 | 6c6e7f89c9b399169729559331fc10e5cc0c2b60 | [
"MIT"
] | null | null | null | prob01/recursion.cc | crimsonGnome/121-Lab-07 | 6c6e7f89c9b399169729559331fc10e5cc0c2b60 | [
"MIT"
] | null | null | null | // Name: Joseph Eggers
// CWID: 885939488
// Email: joseph.eggers@scu.fullerton.edu
#include "recursion.h"
#include <iostream>
#include <string>
#include <vector>
using std::cout, std::endl, std::map, std::string, std::vector;
// In recursion it's normal to have a helper function call the recursive
// function, pas... | 32.145299 | 80 | 0.648764 | [
"vector"
] |
28afe0ec68e0e5a2209a63be92ff9dbea6ccdf92 | 7,304 | cpp | C++ | src/line.cpp | sathyanarayanrao/gimli | 96eda5a99ba642a75801bd359b6ae746c2955d0b | [
"Apache-2.0"
] | null | null | null | src/line.cpp | sathyanarayanrao/gimli | 96eda5a99ba642a75801bd359b6ae746c2955d0b | [
"Apache-2.0"
] | null | null | null | src/line.cpp | sathyanarayanrao/gimli | 96eda5a99ba642a75801bd359b6ae746c2955d0b | [
"Apache-2.0"
] | null | null | null | /******************************************************************************
* Copyright (C) 2008-2018 by the GIMLi development team *
* Carsten Rücker carsten@resistivity.net *
* *
... | 29.216 | 122 | 0.484803 | [
"3d"
] |
28b0e74fe1df2fcb03a75b5a92bf41849fcacb23 | 10,656 | cpp | C++ | src/bitmap.cpp | kanait/MeshToSS | 815a99a4e9e73f8410f32498882f5e2b51d7ce03 | [
"MIT"
] | null | null | null | src/bitmap.cpp | kanait/MeshToSS | 815a99a4e9e73f8410f32498882f5e2b51d7ce03 | [
"MIT"
] | null | null | null | src/bitmap.cpp | kanait/MeshToSS | 815a99a4e9e73f8410f32498882f5e2b51d7ce03 | [
"MIT"
] | 1 | 2021-03-16T12:43:21.000Z | 2021-03-16T12:43:21.000Z | //
// Bitmap.cpp
//
// Copyright (c) 2000 IPA and Keio University SFC Research Institution
//
// This software is released under the MIT License.
// http://opensource.org/licenses/mit-license.php
//
#include "StdAfx.h"
//#include "MainFrm.h"
#include "gl\gl.h"
#include "../optmesh/smd.h"
#include "screen.h"
#includ... | 25.492823 | 78 | 0.624906 | [
"object"
] |
28b52692da06bef4daea723bed48ec8300f8c1ce | 17,866 | cpp | C++ | Libraries/LibGUI/GAbstractColumnView.cpp | gla3dr/serenity | 4d6968f95dc15b81e7a2138283c7fc133e00ed71 | [
"BSD-2-Clause"
] | null | null | null | Libraries/LibGUI/GAbstractColumnView.cpp | gla3dr/serenity | 4d6968f95dc15b81e7a2138283c7fc133e00ed71 | [
"BSD-2-Clause"
] | null | null | null | Libraries/LibGUI/GAbstractColumnView.cpp | gla3dr/serenity | 4d6968f95dc15b81e7a2138283c7fc133e00ed71 | [
"BSD-2-Clause"
] | null | null | null | #include <AK/StringBuilder.h>
#include <LibGUI/GAbstractColumnView.h>
#include <LibGUI/GAction.h>
#include <LibGUI/GMenu.h>
#include <LibGUI/GPainter.h>
#include <LibGUI/GScrollBar.h>
static const int minimum_column_width = 2;
GAbstractColumnView::GAbstractColumnView(GWidget* parent)
: GAbstractView(parent)
{
... | 33.965779 | 162 | 0.623531 | [
"model"
] |
28b676193a2311503061a39c86c0ae52469d6ae9 | 5,043 | hpp | C++ | third_party/knightking/test_node2vec.hpp | madsys-dev/flashmob | 1ac0542ef10e2ee31f2c7d587b8c8d3376e98c80 | [
"MIT"
] | 10 | 2021-09-26T05:14:45.000Z | 2022-02-28T20:32:15.000Z | third_party/knightking/test_node2vec.hpp | flashmobwalk/flashmob | 1ac0542ef10e2ee31f2c7d587b8c8d3376e98c80 | [
"MIT"
] | null | null | null | third_party/knightking/test_node2vec.hpp | flashmobwalk/flashmob | 1ac0542ef10e2ee31f2c7d587b8c8d3376e98c80 | [
"MIT"
] | 2 | 2022-01-19T08:02:14.000Z | 2022-02-18T01:42:28.000Z | /**
* Code in this file are adapted from:
* https://github.com/KnightKingWalk/KnightKing/blob/master/src/tests/test_node2vec.cpp
*
*/
/*
* The MIT License (MIT)
*
* Copyright (c) 2019 Ke Yang, Tsinghua University
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this sof... | 33.845638 | 158 | 0.60004 | [
"vector"
] |
28b966117155026e06b8fa4369e5d8e2841b9d12 | 3,334 | cpp | C++ | Json/JsonNode.cpp | DeanoBurrito/Amendieres | fc391087944f54ba62a08af3996f070e3bed5924 | [
"BSL-1.0"
] | 1 | 2021-07-16T12:14:49.000Z | 2021-07-16T12:14:49.000Z | Json/JsonNode.cpp | DeanoBurrito/Amendieres | fc391087944f54ba62a08af3996f070e3bed5924 | [
"BSL-1.0"
] | 4 | 2021-07-08T01:43:19.000Z | 2021-07-21T16:35:42.000Z | Json/JsonNode.cpp | DeanoBurrito/Amendieres | fc391087944f54ba62a08af3996f070e3bed5924 | [
"BSL-1.0"
] | null | null | null | #include "JsonNode.h"
namespace Amendieres
{
int IndexFromPath(const std::string& path)
{
try
{
int index = std::atoi(path.c_str());
return index;
}
catch ( ... )
{
return -1;
}
return -1;
}
bool JsonNode::... | 25.257576 | 78 | 0.517097 | [
"object",
"vector"
] |
28bb54d76206ecf8b2f267671561d14fcfe9d01c | 1,111 | cpp | C++ | data/count_min_sketch.cpp | vasiliykarasev/dungeon | 0ea62593ec68ddb0069ef5d79356a1245d4364d5 | [
"MIT"
] | null | null | null | data/count_min_sketch.cpp | vasiliykarasev/dungeon | 0ea62593ec68ddb0069ef5d79356a1245d4364d5 | [
"MIT"
] | null | null | null | data/count_min_sketch.cpp | vasiliykarasev/dungeon | 0ea62593ec68ddb0069ef5d79356a1245d4364d5 | [
"MIT"
] | null | null | null | #include "data/count_min_sketch.h"
#include <glog/logging.h>
namespace dungeon {
CountMinSketch::CountMinSketch(size_t num_hash_functions, size_t table_size)
: num_hash_functions_(num_hash_functions), table_size_(table_size) {
CHECK_GT(num_hash_functions_, 0);
CHECK_GT(table_size_, 0);
counts_ = std::vecto... | 28.487179 | 76 | 0.69847 | [
"vector"
] |
28bed57067c8dd072c4521a3dc60ac658bd49754 | 6,787 | hpp | C++ | core/blockchain/impl/block_tree_impl.hpp | iceseer/kagome | a405921659cc19e9fdb851e5f13f1e607fdf8af4 | [
"Apache-2.0"
] | null | null | null | core/blockchain/impl/block_tree_impl.hpp | iceseer/kagome | a405921659cc19e9fdb851e5f13f1e607fdf8af4 | [
"Apache-2.0"
] | null | null | null | core/blockchain/impl/block_tree_impl.hpp | iceseer/kagome | a405921659cc19e9fdb851e5f13f1e607fdf8af4 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright Soramitsu Co., Ltd. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef KAGOME_BLOCK_TREE_IMPL_HPP
#define KAGOME_BLOCK_TREE_IMPL_HPP
#include "blockchain/block_tree.hpp"
#include <boost/optional.hpp>
#include <functional>
#include <memory>
#include <queue>
#include <unordered_se... | 33.269608 | 80 | 0.692353 | [
"vector"
] |
28c132db3de3a47b3bd52b3cdee4d67bc1f7289b | 2,268 | cpp | C++ | source/Core/Castor3D/Shader/Ubos/HdrConfigUbo.cpp | Mu-L/Castor3D | 7b9c6e7be6f7373ad60c0811d136c0004e50e76b | [
"MIT"
] | null | null | null | source/Core/Castor3D/Shader/Ubos/HdrConfigUbo.cpp | Mu-L/Castor3D | 7b9c6e7be6f7373ad60c0811d136c0004e50e76b | [
"MIT"
] | null | null | null | source/Core/Castor3D/Shader/Ubos/HdrConfigUbo.cpp | Mu-L/Castor3D | 7b9c6e7be6f7373ad60c0811d136c0004e50e76b | [
"MIT"
] | null | null | null | #include "Castor3D/Shader/Ubos/HdrConfigUbo.hpp"
#include "Castor3D/Engine.hpp"
#include "Castor3D/Buffer/UniformBufferPools.hpp"
#include "Castor3D/Render/RenderSystem.hpp"
#include "Castor3D/Render/ToneMapping/HdrConfig.hpp"
#include <ShaderWriter/Source.hpp>
namespace castor3d
{
//*******************************... | 28.35 | 97 | 0.622134 | [
"render"
] |
28c48ab7cfd754a881aa1316e1eeb150fa025820 | 10,577 | hpp | C++ | src/ivorium_graphics/Rendering/FlatShader.hpp | ivorne/ivorium | 1d876b6dcabe29b3110d3058f997e59c40cd6a2b | [
"Apache-2.0"
] | 3 | 2021-02-26T02:59:09.000Z | 2022-02-08T16:44:21.000Z | src/ivorium_graphics/Rendering/FlatShader.hpp | ivorne/ivorium | 1d876b6dcabe29b3110d3058f997e59c40cd6a2b | [
"Apache-2.0"
] | null | null | null | src/ivorium_graphics/Rendering/FlatShader.hpp | ivorne/ivorium | 1d876b6dcabe29b3110d3058f997e59c40cd6a2b | [
"Apache-2.0"
] | null | null | null | #pragma once
#include "Shader.hpp"
#include "Texture.hpp"
#include "CameraState.hpp"
#include "GlSystem.hpp"
#include "../OpenGL/GlMesh.hpp"
#include "../OpenGL/RenderTarget.hpp"
#include <ivorium_systems/ivorium_systems.hpp>
#include <ivorium_core/ivorium_core.hpp>
namespace iv
{
class FlatShader_Subprovider
{
publ... | 33.577778 | 366 | 0.560178 | [
"mesh",
"render",
"model",
"transform",
"3d"
] |
28c7e0f127aca6f728aa7fe16aae8c338c12558c | 89,824 | cxx | C++ | PWGDQ/dielectron/core/AliAnalysisTaskTagAndProbe.cxx | ilyafokin/AliPhysics | 7a0021a9d7ad4f0a9e52e0a13f9d3ca3b74c63d4 | [
"BSD-3-Clause"
] | null | null | null | PWGDQ/dielectron/core/AliAnalysisTaskTagAndProbe.cxx | ilyafokin/AliPhysics | 7a0021a9d7ad4f0a9e52e0a13f9d3ca3b74c63d4 | [
"BSD-3-Clause"
] | null | null | null | PWGDQ/dielectron/core/AliAnalysisTaskTagAndProbe.cxx | ilyafokin/AliPhysics | 7a0021a9d7ad4f0a9e52e0a13f9d3ca3b74c63d4 | [
"BSD-3-Clause"
] | 1 | 2022-01-24T11:11:09.000Z | 2022-01-24T11:11:09.000Z | #include "TChain.h"
#include "TTree.h"
#include "TObjArray.h"
#include "TClonesArray.h"
#include "TF1.h"
#include "TH1.h"
#include "TH2.h"
#include "TH3.h"
#include "TLorentzVector.h"
#include "TParticle.h"
#include "THnSparse.h"
#include "THashList.h"
#include "TMath.h"
#include "AliAnalysisManager.h"
#include "AliAn... | 42.329877 | 232 | 0.676245 | [
"object",
"vector"
] |
28c9791b05fd00acd8f35b46fe40002825ba2bc1 | 6,580 | cc | C++ | third_party/webrtc/src/chromium/src/gin/object_template_builder.cc | bopopescu/webrtc-streaming-node | 727a441204344ff596401b0253caac372b714d91 | [
"MIT"
] | 8 | 2016-02-08T11:59:31.000Z | 2020-05-31T15:19:54.000Z | third_party/webrtc/src/chromium/src/gin/object_template_builder.cc | bopopescu/webrtc-streaming-node | 727a441204344ff596401b0253caac372b714d91 | [
"MIT"
] | 1 | 2021-05-05T11:11:31.000Z | 2021-05-05T11:11:31.000Z | third_party/webrtc/src/chromium/src/gin/object_template_builder.cc | bopopescu/webrtc-streaming-node | 727a441204344ff596401b0253caac372b714d91 | [
"MIT"
] | 7 | 2016-02-09T09:28:14.000Z | 2020-07-25T19:03:36.000Z | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "gin/object_template_builder.h"
#include "gin/interceptor.h"
#include "gin/per_isolate_data.h"
#include "gin/public/wrapper_info.h"
namespace g... | 35 | 80 | 0.672796 | [
"object"
] |
28ce6b72692560d3e2f075d6a744786f4403fb82 | 1,179 | cpp | C++ | LeetCodeCPP/_1140. Stone Game II/main.cpp | 18600130137/leetcode | fd2dc72c0b85da50269732f0fcf91326c4787d3a | [
"Apache-2.0"
] | 1 | 2019-03-29T03:33:56.000Z | 2019-03-29T03:33:56.000Z | LeetCodeCPP/_1140. Stone Game II/main.cpp | 18600130137/leetcode | fd2dc72c0b85da50269732f0fcf91326c4787d3a | [
"Apache-2.0"
] | null | null | null | LeetCodeCPP/_1140. Stone Game II/main.cpp | 18600130137/leetcode | fd2dc72c0b85da50269732f0fcf91326c4787d3a | [
"Apache-2.0"
] | null | null | null | //
// main.cpp
// _1140. Stone Game II
//
// Created by admin on 2019/7/29.
// Copyright © 2019年 liu. All rights reserved.
//
#include <iostream>
#include <vector>
using namespace std;
class Solution {
private:
int helper(vector<int>& sum,int index,int M,vector<vector<int>> &rem,int m){
if(index>=m) ... | 23.117647 | 81 | 0.529262 | [
"vector"
] |
28d0c5b8996ea40f6f8932e7df9df017e37317d3 | 11,020 | cpp | C++ | src/plugins/intel_cpu/src/nodes/mkldnn_broadcast_node.cpp | pfinashx/openvino | 1d417e888b508415510fb0a92e4a9264cf8bdef7 | [
"Apache-2.0"
] | 1 | 2022-02-26T17:33:44.000Z | 2022-02-26T17:33:44.000Z | src/plugins/intel_cpu/src/nodes/mkldnn_broadcast_node.cpp | pfinashx/openvino | 1d417e888b508415510fb0a92e4a9264cf8bdef7 | [
"Apache-2.0"
] | 18 | 2022-01-21T08:42:58.000Z | 2022-03-28T13:21:31.000Z | src/plugins/intel_cpu/src/nodes/mkldnn_broadcast_node.cpp | AlexRogalskiy/openvino | ac2e639ff8f9a607c3c682a4c4e165c238eb817f | [
"Apache-2.0"
] | 1 | 2020-12-13T22:16:54.000Z | 2020-12-13T22:16:54.000Z | // Copyright (C) 2018-2022 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include <cmath>
#include <vector>
#include <string>
#include <mkldnn_types.h>
#include "ie_parallel.hpp"
#include "utils/bfloat16.hpp"
#include <mkldnn_selective_build.h>
#include "mkldnn_broadcast_node.h"
#include <nodes/common/bl... | 41.584906 | 140 | 0.644283 | [
"shape",
"vector"
] |
28d4e62a1fa6535a0d41769e2172438ab4863b11 | 748 | hpp | C++ | source/backend/hiai/execution/NPUInt8ToFloat.hpp | JujuDel/MNN | 8a82f5c5a7ae37192784c2dbd6dfc8ca8833565a | [
"Apache-2.0"
] | 6,958 | 2019-05-06T02:38:02.000Z | 2022-03-31T18:08:48.000Z | source/backend/hiai/execution/NPUInt8ToFloat.hpp | JujuDel/MNN | 8a82f5c5a7ae37192784c2dbd6dfc8ca8833565a | [
"Apache-2.0"
] | 1,775 | 2019-05-06T04:40:19.000Z | 2022-03-30T15:39:24.000Z | source/backend/hiai/execution/NPUInt8ToFloat.hpp | JujuDel/MNN | 8a82f5c5a7ae37192784c2dbd6dfc8ca8833565a | [
"Apache-2.0"
] | 1,511 | 2019-05-06T02:38:05.000Z | 2022-03-31T16:59:39.000Z | //
// NPUInt8ToFloat.hpp
// MNN
//
// Created by MNN on 2019/09/11.
// Copyright © 2018, Alibaba Group Holding Limited
//
#ifndef MNN_NPUINT8TOFLOAT_HPP
#define MNN_NPUINT8TOFLOAT_HPP
#include "NPUCommonExecution.hpp"
#include "NPUBackend.hpp"
namespace MNN {
class NPUInt8ToFloat : public NPUCommonExecution {
pu... | 24.129032 | 120 | 0.71123 | [
"vector"
] |
28d6e2bc083189f7086909cb0035c5662ce1ceee | 63,048 | cpp | C++ | Code/Framework/AzToolsFramework/AzToolsFramework/Entity/EditorEntityHelpers.cpp | CStudios15/o3de | 9dc85000a3ec1a6c6633d718f5c455ab11a46818 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-11-11T18:02:46.000Z | 2021-11-11T18:02:46.000Z | Code/Framework/AzToolsFramework/AzToolsFramework/Entity/EditorEntityHelpers.cpp | CStudios15/o3de | 9dc85000a3ec1a6c6633d718f5c455ab11a46818 | [
"Apache-2.0",
"MIT"
] | null | null | null | Code/Framework/AzToolsFramework/AzToolsFramework/Entity/EditorEntityHelpers.cpp | CStudios15/o3de | 9dc85000a3ec1a6c6633d718f5c455ab11a46818 | [
"Apache-2.0",
"MIT"
] | null | null | null | /*
* Copyright (c) Contributors to the Open 3D Engine Project.
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#include "EditorEntityHelpers.h"
#include <AzCore/Component/ComponentApplicationBus.h>
#include <... | 42.628803 | 193 | 0.639338 | [
"vector",
"transform",
"3d"
] |
28dfd62b82b9c4794eca6225ea54a93a962c96c7 | 4,805 | cpp | C++ | MiniJVM/vm/vm_heap.cpp | lanrobin/minijvm | d6056012494656669a6665c981e6b23d8d121df8 | [
"MIT"
] | null | null | null | MiniJVM/vm/vm_heap.cpp | lanrobin/minijvm | d6056012494656669a6665c981e6b23d8d121df8 | [
"MIT"
] | null | null | null | MiniJVM/vm/vm_heap.cpp | lanrobin/minijvm | d6056012494656669a6665c981e6b23d8d121df8 | [
"MIT"
] | null | null | null | #include "base_type.h"
#include "vm_heap.h"
#include "vm_class.h"
#include "string_utils.h"
#include "vm.h"
ArrayVMHeapObject::ArrayVMHeapObject(weak_ptr<VMClass> typeClz, size_t size) :ReferenceVMHeapObject(typeClz), maxsize(size) {
elements.reserve(size);
auto thisClzName = typeClz.lock()->getClassSignature();
as... | 33.368056 | 125 | 0.76129 | [
"object"
] |
28e30e7df7d381e1c7f32e2abbe8e8ec77f05082 | 5,868 | cc | C++ | src/ops/broadcast_to_op.cc | llehtahw/jittor | d83389117fd026a0881dd713e658ce5ae2a75bcb | [
"Apache-2.0"
] | 5 | 2020-08-09T02:27:58.000Z | 2021-01-13T16:04:32.000Z | src/ops/broadcast_to_op.cc | llehtahw/jittor | d83389117fd026a0881dd713e658ce5ae2a75bcb | [
"Apache-2.0"
] | null | null | null | src/ops/broadcast_to_op.cc | llehtahw/jittor | d83389117fd026a0881dd713e658ce5ae2a75bcb | [
"Apache-2.0"
] | 1 | 2020-06-23T16:25:42.000Z | 2020-06-23T16:25:42.000Z | // ***************************************************************
// Copyright (c) 2020 Jittor. Authors: Dun Liang <randonlang@gmail.com>. All Rights Reserved.
// This file is subject to the terms and conditions defined in
// file 'LICENSE.txt', which is part of this source code package.
// ***************************... | 33.919075 | 106 | 0.53698 | [
"shape"
] |
28eccc62e1392ee0e36407d542450003baa8a99b | 815 | cpp | C++ | OJ/acm.hdu.edu.cn/2018Multi-UniversityTrainingContest7/J.cpp | webturing/CPlusPlus | 6b9c671b0c9a7c0d24d937610bf54e9aec9a5a1f | [
"AFL-2.0"
] | 14 | 2018-06-21T14:41:26.000Z | 2021-12-19T14:43:51.000Z | OJ/acm.hdu.edu.cn/2018Multi-UniversityTrainingContest7/J.cpp | webturing/CPlusPlus | 6b9c671b0c9a7c0d24d937610bf54e9aec9a5a1f | [
"AFL-2.0"
] | null | null | null | OJ/acm.hdu.edu.cn/2018Multi-UniversityTrainingContest7/J.cpp | webturing/CPlusPlus | 6b9c671b0c9a7c0d24d937610bf54e9aec9a5a1f | [
"AFL-2.0"
] | 2 | 2020-04-20T11:16:53.000Z | 2021-01-02T15:58:35.000Z | #include <bits/stdc++.h>
using namespace std;
#define rep(i, a, b) for (int i = (a); i <= (b); i++)
#define per(i, a, b) for (int i = (a); i >= (b); i--)
typedef long long LL;
const int MOD = 1e9 + 7;
#define LOCAL
int main() {
#ifdef LOCAL
ifstream cin("J.in");
assert(cin);
ofstream cout("J.out");
LL start = c... | 23.285714 | 74 | 0.484663 | [
"vector"
] |
28edef586067c8646f5fc3e7b297984def0dce4b | 13,152 | cpp | C++ | examples/Demos/MultiBody/TestJointTorqueSetup.cpp | ousttrue/bullet3 | 8ad206dd144b94767718cd71cf21f0d37ea89268 | [
"Zlib"
] | null | null | null | examples/Demos/MultiBody/TestJointTorqueSetup.cpp | ousttrue/bullet3 | 8ad206dd144b94767718cd71cf21f0d37ea89268 | [
"Zlib"
] | null | null | null | examples/Demos/MultiBody/TestJointTorqueSetup.cpp | ousttrue/bullet3 | 8ad206dd144b94767718cd71cf21f0d37ea89268 | [
"Zlib"
] | null | null | null | //test addJointTorque
#include "TestJointTorqueSetup.h"
#include "BulletDynamics/Featherstone/btMultiBodyLinkCollider.h"
#include "BulletDynamics/Featherstone/btMultiBodyJointFeedback.h"
#include <CommonMultiBodyBase.h>
#include "../Utils/b3ResourcePath.h"
#include "CommonCameraInterface.h"
static btScalar radius(0.... | 33.636829 | 177 | 0.686512 | [
"object",
"shape"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.