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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0fd3bb0714496ccf1fc91699de6392843198ef6f | 758 | hpp | C++ | example/frame/study/sharedobjectmanager/sharedobjectmanager.hpp | joydit/solidframe | 0539b0a1e77663ac4c701a88f56723d3e3688e8c | [
"BSL-1.0"
] | null | null | null | example/frame/study/sharedobjectmanager/sharedobjectmanager.hpp | joydit/solidframe | 0539b0a1e77663ac4c701a88f56723d3e3688e8c | [
"BSL-1.0"
] | null | null | null | example/frame/study/sharedobjectmanager/sharedobjectmanager.hpp | joydit/solidframe | 0539b0a1e77663ac4c701a88f56723d3e3688e8c | [
"BSL-1.0"
] | null | null | null | #ifndef STUDY_SHAREDOBJECTMANAGER_HPP
#define STUDY_SHAREDOBJECTMANAGER_HPP
#include "utility/common.hpp"
#include <ostream>
struct WorkPoolController;
struct ObjectStub;
class SharedObjectManager{
public:
enum{
RaiseFlag = 1,
EventFlag = 2,
Flag1 = 4,
Flag2 = 8,
Flag3 = 16,
Flag4 = 32
};
SharedObjec... | 17.227273 | 59 | 0.729551 | [
"solid"
] |
0fd62e6a8d46bbc16098c5b8d0719b98a908cefb | 4,073 | cc | C++ | L1Trigger/DTTraco/src/DTTracoCand.cc | Nik-Menendez/L1Trigger | 5336631cc0a517495869279ed7d3a4cac8d4e5e5 | [
"Apache-2.0"
] | 3 | 2018-08-24T19:10:26.000Z | 2019-02-19T11:45:32.000Z | L1Trigger/DTTraco/src/DTTracoCand.cc | Nik-Menendez/L1Trigger | 5336631cc0a517495869279ed7d3a4cac8d4e5e5 | [
"Apache-2.0"
] | 3 | 2018-08-23T13:40:24.000Z | 2019-12-05T21:16:03.000Z | L1Trigger/DTTraco/src/DTTracoCand.cc | Nik-Menendez/L1Trigger | 5336631cc0a517495869279ed7d3a4cac8d4e5e5 | [
"Apache-2.0"
] | 5 | 2018-08-21T16:37:52.000Z | 2020-01-09T13:33:17.000Z | //-------------------------------------------------
//
// Class: DTTracoCand
//
// Description: Implementation of L1MuDTTracoChip
// candidate
//
//
// Author List:
// C. Grandi
// Modifications:
// SV BTIC parameter from config
// SV bti Trig pointer stored insted of trigdata
// 22/VI/04... | 30.856061 | 80 | 0.528849 | [
"geometry"
] |
0fd63eccb0d52c94ff5f764ae21b8705fa40a149 | 6,603 | cc | C++ | shell/platform/windows/keyboard_key_channel_handler_unittests.cc | luoyibu/engine | e535969dbae360446faad3517e5f90ec9164d345 | [
"BSD-3-Clause"
] | 5,823 | 2015-09-20T02:43:18.000Z | 2022-03-31T23:38:55.000Z | shell/platform/windows/keyboard_key_channel_handler_unittests.cc | luoyibu/engine | e535969dbae360446faad3517e5f90ec9164d345 | [
"BSD-3-Clause"
] | 20,081 | 2015-09-19T16:07:59.000Z | 2022-03-31T23:33:26.000Z | shell/platform/windows/keyboard_key_channel_handler_unittests.cc | luoyibu/engine | e535969dbae360446faad3517e5f90ec9164d345 | [
"BSD-3-Clause"
] | 5,383 | 2015-09-24T22:49:53.000Z | 2022-03-31T14:33:51.000Z | // Copyright 2013 The Flutter 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 "flutter/shell/platform/windows/keyboard_key_channel_handler.h"
#include <memory>
#include "flutter/shell/platform/common/json_message_codec.h"
#... | 37.305085 | 80 | 0.693473 | [
"vector"
] |
0fd6643020aea0644bf28a8dd3bf918853ee75e5 | 5,363 | cpp | C++ | tests/unit/serialization/polymorphic/serialization_smart_ptr_polymorphic.cpp | kempj/hpx | ffdbfed5dfa029a0f2e97e7367cb66d12103df67 | [
"BSL-1.0"
] | null | null | null | tests/unit/serialization/polymorphic/serialization_smart_ptr_polymorphic.cpp | kempj/hpx | ffdbfed5dfa029a0f2e97e7367cb66d12103df67 | [
"BSL-1.0"
] | null | null | null | tests/unit/serialization/polymorphic/serialization_smart_ptr_polymorphic.cpp | kempj/hpx | ffdbfed5dfa029a0f2e97e7367cb66d12103df67 | [
"BSL-1.0"
] | null | null | null | // Copyright (c) 2014-2015 Anton Bikineev
//
// 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.txt)
#include <iostream>
#include <hpx/runtime/serialization/serialize.hpp>
#include <hpx/runtime/serialization/base_objec... | 21.114173 | 80 | 0.611971 | [
"vector"
] |
0fd7d06da5caf894d064cb1f8dc2a9afd6e139f3 | 15,009 | cpp | C++ | src/aeTerrainSDF.cpp | johnhues/aether-game-utils | 3b67cc77d232d43ee8c273a1db3c9373374438b2 | [
"MIT"
] | 4 | 2020-08-26T19:41:32.000Z | 2021-05-09T20:54:56.000Z | src/aeTerrainSDF.cpp | johnhues/aether-game-utils | 3b67cc77d232d43ee8c273a1db3c9373374438b2 | [
"MIT"
] | 20 | 2020-07-07T20:06:04.000Z | 2021-02-28T23:09:18.000Z | src/aeTerrainSDF.cpp | johnhues/aether-game-utils | 3b67cc77d232d43ee8c273a1db3c9373374438b2 | [
"MIT"
] | 1 | 2021-11-03T14:55:25.000Z | 2021-11-03T14:55:25.000Z | //------------------------------------------------------------------------------
// aeTerrainSdf.cpp
//------------------------------------------------------------------------------
// Copyright (c) 2020 John Hughes
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software a... | 31.399582 | 139 | 0.550603 | [
"object",
"shape",
"transform",
"solid"
] |
0fe10e35dd1f7749551d24875fd54823babc4aa1 | 1,571 | cpp | C++ | Leetcode/Target Sum/Target Sum.cpp | Sloth-Panda/Data-Structure-and-Algorithms | 00b74ab23cb8dfc3e96cdae80de95e985ad4a110 | [
"MIT"
] | 51 | 2021-01-14T04:05:55.000Z | 2022-01-25T11:25:37.000Z | Leetcode/Target Sum/Target Sum.cpp | Sloth-Panda/Data-Structure-and-Algorithms | 00b74ab23cb8dfc3e96cdae80de95e985ad4a110 | [
"MIT"
] | 638 | 2020-12-27T18:49:53.000Z | 2021-11-21T05:22:52.000Z | Leetcode/Target Sum/Target Sum.cpp | Sloth-Panda/Data-Structure-and-Algorithms | 00b74ab23cb8dfc3e96cdae80de95e985ad4a110 | [
"MIT"
] | 124 | 2021-01-30T06:40:20.000Z | 2021-11-21T15:14:40.000Z | class Solution {
public:
int findTargetSumWays(vector<int>& nums, int S) {
//Finding total sum of array
int arraySum = accumulate(nums.begin(), nums.end(), 0);
//For invalid inputs, we return 0
if (S > arraySum || S < -arraySum || S + arraySum < 0 || (S + arraySum) % 2 == 1) {
r... | 41.342105 | 94 | 0.528326 | [
"vector"
] |
0fe1e37fbc9509b8c8c1c1ff184c1dbefe0f339d | 12,281 | cpp | C++ | src/cdr.cpp | alex952/cdr | e8dce20c2cc635e5ad8bf16a16ec4f7d9a86ac16 | [
"MIT"
] | null | null | null | src/cdr.cpp | alex952/cdr | e8dce20c2cc635e5ad8bf16a16ec4f7d9a86ac16 | [
"MIT"
] | null | null | null | src/cdr.cpp | alex952/cdr | e8dce20c2cc635e5ad8bf16a16ec4f7d9a86ac16 | [
"MIT"
] | null | null | null | /*
* Copyright 2014-2018 Neueda Ltd.
*/
#include "cdr.h"
namespace neueda
{
bool
cdrItem::asString (string& value) const
{
char tmp[256];
switch (mType)
{
case CDR_STRING:
value.assign (mString);
return true;
case CDR_DOUBLE:
snprintf (tmp, sizeof tmp, "%f", mDouble);
... | 20.780034 | 75 | 0.568765 | [
"vector"
] |
0fe3563a77dccac1cd9eaa1b0b8507b0f6a0e52b | 2,849 | cpp | C++ | applications/StructuralMechanicsApplication/tests/cpp_tests/test_solid_shell_thickness_compute_process.cpp | lkusch/Kratos | e8072d8e24ab6f312765185b19d439f01ab7b27b | [
"BSD-4-Clause"
] | 778 | 2017-01-27T16:29:17.000Z | 2022-03-30T03:01:51.000Z | applications/StructuralMechanicsApplication/tests/cpp_tests/test_solid_shell_thickness_compute_process.cpp | lkusch/Kratos | e8072d8e24ab6f312765185b19d439f01ab7b27b | [
"BSD-4-Clause"
] | 6,634 | 2017-01-15T22:56:13.000Z | 2022-03-31T15:03:36.000Z | applications/StructuralMechanicsApplication/tests/cpp_tests/test_solid_shell_thickness_compute_process.cpp | lkusch/Kratos | e8072d8e24ab6f312765185b19d439f01ab7b27b | [
"BSD-4-Clause"
] | 224 | 2017-02-07T14:12:49.000Z | 2022-03-06T23:09:34.000Z | // KRATOS ___| | | |
// \___ \ __| __| | | __| __| | | __| _` | |
// | | | | | ( | | | | ( | |
// _____/ \__|_| \__,_|\___|\__|\__,_|_| \__,_|_| MECHANICS
//
// License: BSD License
// license: structural_mechanics_applic... | 37 | 109 | 0.615655 | [
"vector",
"model",
"solid"
] |
0fe3ad9ea07e53a6c9a9f80fc38a6bf954782958 | 2,947 | cpp | C++ | Sources/Engine/Engine.cpp | dreadris/Acid | 1af276edce8e6481c44d475633bf69266e16ed87 | [
"MIT"
] | null | null | null | Sources/Engine/Engine.cpp | dreadris/Acid | 1af276edce8e6481c44d475633bf69266e16ed87 | [
"MIT"
] | null | null | null | Sources/Engine/Engine.cpp | dreadris/Acid | 1af276edce8e6481c44d475633bf69266e16ed87 | [
"MIT"
] | null | null | null | #include "Engine.hpp"
#include "Audio/Audio.hpp"
#include "Devices/Joysticks.hpp"
#include "Devices/Keyboard.hpp"
#include "Devices/Mouse.hpp"
#include "Devices/Window.hpp"
#include "Files/Files.hpp"
#include "Gizmos/Gizmos.hpp"
#include "Inputs/Input.hpp"
#include "Particles/Particles.hpp"
#include "Graphics/Graphics... | 23.388889 | 128 | 0.680353 | [
"render"
] |
0fe5470d0803cf888055bcd535fed99777cdafb1 | 8,623 | cpp | C++ | core/image/image_blender.cpp | ppiecuch/gd_goost | 93a3a28b8555310c6fbe44c009b905a57046290b | [
"Apache-2.0",
"CC-BY-4.0",
"MIT"
] | 323 | 2020-07-14T09:57:03.000Z | 2022-03-26T07:04:03.000Z | core/image/image_blender.cpp | ppiecuch/gd_goost | 93a3a28b8555310c6fbe44c009b905a57046290b | [
"Apache-2.0",
"CC-BY-4.0",
"MIT"
] | 57 | 2020-08-21T08:20:47.000Z | 2022-03-31T23:46:17.000Z | core/image/image_blender.cpp | ppiecuch/gd_goost | 93a3a28b8555310c6fbe44c009b905a57046290b | [
"Apache-2.0",
"CC-BY-4.0",
"MIT"
] | 18 | 2020-09-07T14:53:24.000Z | 2022-02-19T10:41:22.000Z | #include "image_blender.h"
Color ImageBlender::calculate_factor(const Color &p_src, const Color &p_dst, BlendFactor p_factor) const {
Color color_factor;
switch (p_factor) {
case FACTOR_ZERO: {
color_factor = Color(0, 0, 0, 0);
} break;
case FACTOR_ONE: {
color_factor = Color(1, 1, 1, 1);
} break;
c... | 39.0181 | 180 | 0.731416 | [
"object"
] |
0fe8ca7c7e6e06da3d2ee7c6d367d4813f621dc0 | 34,707 | cpp | C++ | ugene/src/corelibs/U2Formats/src/BedFormat.cpp | iganna/lspec | c75cba3e4fa9a46abeecbf31b5d467827cf4fec0 | [
"MIT"
] | null | null | null | ugene/src/corelibs/U2Formats/src/BedFormat.cpp | iganna/lspec | c75cba3e4fa9a46abeecbf31b5d467827cf4fec0 | [
"MIT"
] | null | null | null | ugene/src/corelibs/U2Formats/src/BedFormat.cpp | iganna/lspec | c75cba3e4fa9a46abeecbf31b5d467827cf4fec0 | [
"MIT"
] | null | null | null | /**
* UGENE - Integrated Bioinformatics Tools.
* Copyright (C) 2008-2012 UniPro <ugene@unipro.ru>
* http://ugene.unipro.ru
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version... | 36.572181 | 153 | 0.590861 | [
"object"
] |
0ff00d3e2c9724525864c880b59f36b7a9013caa | 390 | hpp | C++ | include/guis/gui_tx_warning.hpp | WerWolv98/EdiZon | dc14c3abb05b6ea0d203b7741e1320aa4417c4a6 | [
"MIT"
] | 84 | 2018-09-16T01:12:25.000Z | 2019-01-26T02:42:06.000Z | include/guis/gui_tx_warning.hpp | WerWolv98/EdiZon | dc14c3abb05b6ea0d203b7741e1320aa4417c4a6 | [
"MIT"
] | 13 | 2018-09-15T22:33:09.000Z | 2019-01-04T22:11:21.000Z | include/guis/gui_tx_warning.hpp | WerWolv98/EdiZon | dc14c3abb05b6ea0d203b7741e1320aa4417c4a6 | [
"MIT"
] | 6 | 2018-10-01T05:38:49.000Z | 2019-01-16T08:45:20.000Z | #pragma once
#include "guis/gui.hpp"
#include <vector>
#include <unordered_map>
#include <stdbool.h>
class GuiTXWarning : public Gui {
public:
GuiTXWarning();
~GuiTXWarning();
void update();
void draw();
void onInput(u32 kdown);
void onTouch(touchPosition &touch);
void onGesture(touch... | 19.5 | 87 | 0.692308 | [
"vector"
] |
0ff0b912569e0aabb4495539afe8a346b307ea42 | 10,897 | cc | C++ | ThirdParty/webrtc/src/net/dns/dns_config_service_unittest.cc | JokeJoe8806/licode-windows | 2bfdaf6e87669df2b9960da50c6800bc3621b80b | [
"MIT"
] | 8 | 2018-12-27T14:57:13.000Z | 2021-04-07T07:03:15.000Z | ThirdParty/webrtc/src/net/dns/dns_config_service_unittest.cc | JokeJoe8806/licode-windows | 2bfdaf6e87669df2b9960da50c6800bc3621b80b | [
"MIT"
] | 1 | 2019-03-13T01:35:03.000Z | 2020-10-08T04:13:04.000Z | ThirdParty/webrtc/src/net/dns/dns_config_service_unittest.cc | JokeJoe8806/licode-windows | 2bfdaf6e87669df2b9960da50c6800bc3621b80b | [
"MIT"
] | 9 | 2018-12-28T11:45:12.000Z | 2021-05-11T02:15:31.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 "net/dns/dns_config_service.h"
#include "base/basictypes.h"
#include "base/bind.h"
#include "base/cancelable_callback.h"
#include "base/loca... | 32.05 | 78 | 0.732679 | [
"vector"
] |
0ff390e0ee04abdf75cd409cc5a133a73e52ea67 | 9,151 | cpp | C++ | exa/ScalarField.cpp | owl-project/owlExaBrick | 6ea0af22f5bff1ee0620eadedf2a343ca9dc770e | [
"Apache-2.0"
] | 2 | 2020-10-30T16:53:54.000Z | 2021-04-27T15:50:45.000Z | exa/ScalarField.cpp | owl-project/owlExaBrick | 6ea0af22f5bff1ee0620eadedf2a343ca9dc770e | [
"Apache-2.0"
] | null | null | null | exa/ScalarField.cpp | owl-project/owlExaBrick | 6ea0af22f5bff1ee0620eadedf2a343ca9dc770e | [
"Apache-2.0"
] | null | null | null | // ======================================================================== //
// Copyright 2019-2020 Ingo Wald //
// //
// Licensed under the Apache License, Version 2.0 (the "License"); //
// y... | 39.786957 | 139 | 0.469894 | [
"vector"
] |
0ff4aeeb2fa9f70a1581841b045786c3d1fd44f1 | 3,280 | cc | C++ | components/bookmarks/browser/bookmark_storage.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | components/bookmarks/browser/bookmark_storage.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 86 | 2015-10-21T13:02:42.000Z | 2022-03-14T07:50:50.000Z | components/bookmarks/browser/bookmark_storage.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"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 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/bookmarks/browser/bookmark_storage.h"
#include <stddef.h>
#include <algorithm>
#include <unordered_map>
#include <utility>
#include... | 31.538462 | 80 | 0.735061 | [
"model"
] |
0ffc1ae97a55c1dfd7f7683c0ed5bdd1e7fc27ca | 10,922 | cxx | C++ | Libs/MRML/Widgets/qMRMLVolumeWidget.cxx | forfullstack/slicersources-src | 91bcecf037a27f3fad4c0ab57e8286fc258bb0f5 | [
"Apache-2.0"
] | null | null | null | Libs/MRML/Widgets/qMRMLVolumeWidget.cxx | forfullstack/slicersources-src | 91bcecf037a27f3fad4c0ab57e8286fc258bb0f5 | [
"Apache-2.0"
] | null | null | null | Libs/MRML/Widgets/qMRMLVolumeWidget.cxx | forfullstack/slicersources-src | 91bcecf037a27f3fad4c0ab57e8286fc258bb0f5 | [
"Apache-2.0"
] | null | null | null | /*==============================================================================
Program: 3D Slicer
Copyright (c) Kitware Inc.
See COPYRIGHT.txt
or http://www.slicer.org/copyright/copyright.txt for details.
Unless required by applicable law or agreed to in writing, software
distributed under the License... | 31.116809 | 105 | 0.607581 | [
"object",
"3d"
] |
0ffd0f7a16fff87727fcee16d023d924204fe66c | 15,817 | hpp | C++ | bftengine/src/bcstatetransfer/RangeValidationTree.hpp | evdzhurov/concord-bft | 2e4fdabe0228b51d4d43398158e97d4e36ff974a | [
"Apache-2.0"
] | null | null | null | bftengine/src/bcstatetransfer/RangeValidationTree.hpp | evdzhurov/concord-bft | 2e4fdabe0228b51d4d43398158e97d4e36ff974a | [
"Apache-2.0"
] | null | null | null | bftengine/src/bcstatetransfer/RangeValidationTree.hpp | evdzhurov/concord-bft | 2e4fdabe0228b51d4d43398158e97d4e36ff974a | [
"Apache-2.0"
] | null | null | null | // Concord
//
// Copyright (c) 2022 VMware, Inc. All Rights Reserved.
//
// This product is licensed to you under the Apache 2.0 license (the "License").
// You may not use this product except in compliance with the Apache 2.0
// License.
//
// This product may include a number of subcomponents with separate copyright
... | 42.404826 | 120 | 0.728267 | [
"vector"
] |
61367c2da0ecb0c81ae25b042cf2752d15b86cc2 | 2,044 | cpp | C++ | serialize_test.cpp | DennisZZH/Blockchain_Paxos | d9d8003d7a96c5ad17bc249ea39b50f328740c75 | [
"MIT"
] | null | null | null | serialize_test.cpp | DennisZZH/Blockchain_Paxos | d9d8003d7a96c5ad17bc249ea39b50f328740c75 | [
"MIT"
] | null | null | null | serialize_test.cpp | DennisZZH/Blockchain_Paxos | d9d8003d7a96c5ad17bc249ea39b50f328740c75 | [
"MIT"
] | null | null | null | #include <cstdlib>
#include <iostream>
#include <string>
#include <string.h>
#include <vector>
#include "Blockchain.h"
using namespace std;
std::vector<Transaction> Str_to_txns(std::string all_str)
{
std::vector<Transaction> result;
char copy[all_str.length() + 1];
strcpy(copy, all_str.c_str());
std::... | 23.494253 | 60 | 0.565068 | [
"vector"
] |
6138efb846dd477099dd31031220373e7d5a9acc | 29,525 | cc | C++ | sql/recovery.cc | zipated/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | sql/recovery.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | sql/recovery.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.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 "sql/recovery.h"
#include <stddef.h>
#include "base/files/file_path.h"
#include "base/format_macros.h"
#include "base/logging.h"
#include "base... | 36.860175 | 80 | 0.709162 | [
"vector"
] |
6140511842882368f53b88fcc2c80646d6db5775 | 3,365 | cpp | C++ | tests/unit/NaiveStorageTest.cpp | demmax/UniversalStorage | daa23a65b04e9eb7c205268721c286a59fb725a1 | [
"MIT"
] | null | null | null | tests/unit/NaiveStorageTest.cpp | demmax/UniversalStorage | daa23a65b04e9eb7c205268721c286a59fb725a1 | [
"MIT"
] | null | null | null | tests/unit/NaiveStorageTest.cpp | demmax/UniversalStorage | daa23a65b04e9eb7c205268721c286a59fb725a1 | [
"MIT"
] | null | null | null | //
// Created by maxon on 04.05.18.
//
#include <gtest/gtest.h>
#include <exceptions.h>
#include "NaiveStorage.h"
using namespace UniversalStorage;
TEST(NaiveStorageTest, SimpleSetGetCase)
{
size_t count = 5000;
std::string file_name = "file";
std::string path = "/";
std::vector<uint8_t> vec{1, 2, 3,... | 24.384058 | 80 | 0.586924 | [
"vector"
] |
6140d91f7219da553e3e369e0491743500d9e353 | 2,532 | hpp | C++ | engine/input/macos/InputSystemMacOS.hpp | taida957789/ouzel | a8c1cc74e6151a0f7d7d2c534f8747cba46a36af | [
"Unlicense"
] | 1 | 2021-03-01T13:17:49.000Z | 2021-03-01T13:17:49.000Z | engine/input/macos/InputSystemMacOS.hpp | taida957789/ouzel | a8c1cc74e6151a0f7d7d2c534f8747cba46a36af | [
"Unlicense"
] | null | null | null | engine/input/macos/InputSystemMacOS.hpp | taida957789/ouzel | a8c1cc74e6151a0f7d7d2c534f8747cba46a36af | [
"Unlicense"
] | null | null | null | // Copyright 2015-2020 Elviss Strazdins. All rights reserved.
#ifndef OUZEL_INPUT_INPUTSYSTEMMACOS_HPP
#define OUZEL_INPUT_INPUTSYSTEMMACOS_HPP
#include <memory>
#include <system_error>
#include <unordered_map>
#include <IOKit/hid/IOHIDManager.h>
#if defined(__OBJC__)
# import <AppKit/NSCursor.h>
typedef NSCursor* ... | 30.506024 | 100 | 0.716035 | [
"vector"
] |
6142312d565aeffdbf669509b7d9b71966750a8a | 1,263 | cc | C++ | ppm_output.cc | pdx-cs-se/ancient-raytracer | e7f2f963f01f4e0b642cf9120af21e63baa08e00 | [
"BSD-3-Clause"
] | 2 | 2020-05-11T06:32:33.000Z | 2020-10-14T21:45:13.000Z | ppm_output.cc | pdx-cs-se/ancient-raytracer | e7f2f963f01f4e0b642cf9120af21e63baa08e00 | [
"BSD-3-Clause"
] | 4 | 2020-10-14T22:52:00.000Z | 2020-10-22T02:12:06.000Z | ppm_output.cc | pdx-cs-se/ancient-raytracer | e7f2f963f01f4e0b642cf9120af21e63baa08e00 | [
"BSD-3-Clause"
] | 1 | 2020-10-21T21:16:56.000Z | 2020-10-21T21:16:56.000Z |
// -*- C++ -*-
// PPM (rawbits) frame buffer output class - implementation
// Bart 2/91
extern "C" {
#include <string.h>
#include <stdio.h>
#ifndef __GNUC__
extern void fputc( char, FILE * );
extern void fclose( FILE * );
extern void fprintf( FILE *, const char *, ... );
#endif
}
#ifndef NOOUTLINE
#include "render... | 18.042857 | 60 | 0.581948 | [
"render"
] |
6142729bfe88839a337380954ef19f86cdf1851e | 23,496 | cpp | C++ | Gems/ScriptCanvas/Code/Editor/View/Widgets/UnitTestPanel/UnitTestDockWidget.cpp | cypherdotXd/o3de | bb90c4ddfe2d495e9c00ebf1e2650c6d603a5676 | [
"Apache-2.0",
"MIT"
] | 1 | 2022-03-12T14:13:45.000Z | 2022-03-12T14:13:45.000Z | Gems/ScriptCanvas/Code/Editor/View/Widgets/UnitTestPanel/UnitTestDockWidget.cpp | RoddieKieley/o3de | e804fd2a4241b039a42d9fa54eaae17dc94a7a92 | [
"Apache-2.0",
"MIT"
] | 3 | 2021-09-08T03:41:27.000Z | 2022-03-12T01:01:29.000Z | Gems/ScriptCanvas/Code/Editor/View/Widgets/UnitTestPanel/UnitTestDockWidget.cpp | RoddieKieley/o3de | e804fd2a4241b039a42d9fa54eaae17dc94a7a92 | [
"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 <QCompleter>
#include <QEvent>
#include <QGraphicsScene>
#include <QGraphicsView>
#includ... | 36.598131 | 176 | 0.631427 | [
"vector",
"model",
"3d"
] |
61450b804b09d752e1be5f6d71dd80f3f8bbbd52 | 10,169 | cpp | C++ | CarreGameEngine/CarreGameEngine/src/GameControlEngine.cpp | CordellSmith/ICT397Carre | 5241a01f6443df8296344ae79e34bc1b1ac08441 | [
"MIT"
] | 1 | 2018-03-13T06:16:47.000Z | 2018-03-13T06:16:47.000Z | CarreGameEngine/CarreGameEngine/src/GameControlEngine.cpp | CordellSmith/ICT397Carre | 5241a01f6443df8296344ae79e34bc1b1ac08441 | [
"MIT"
] | 3 | 2018-03-29T15:31:15.000Z | 2018-05-15T05:54:55.000Z | CarreGameEngine/CarreGameEngine/src/GameControlEngine.cpp | CordellSmith/ICT397Carre | 5241a01f6443df8296344ae79e34bc1b1ac08441 | [
"MIT"
] | null | null | null | #include "..\headers\GameControlEngine.h"
#include "GL/glew.h"
int randPositions[20];
int randRotations[20];
const int GameControlEngine::RunEngine()
{
Initialize();
GameLoop();
// NOTE: return 0 automatically calls ~GameControlEngine() which calls Destroy()
// This results in a crash on the second run through... | 31.977987 | 179 | 0.682466 | [
"mesh",
"vector",
"model"
] |
614611f91ef222bf5b648adad15732437e84d70e | 3,359 | hpp | C++ | nheqminer/3rdparty/boost/compute/algorithm/inner_product.hpp | EuroLine/nheqminer | 81c7ef889bb502d16f7d1e7ef020d0592f8af945 | [
"MIT"
] | 886 | 2016-10-20T20:59:59.000Z | 2022-03-12T07:47:52.000Z | ios/Pods/boost-for-react-native/boost/compute/algorithm/inner_product.hpp | c7yrus/alyson-v3 | 5ad95a8f782f5f5d2fd543d44ca6a8b093395965 | [
"Apache-2.0"
] | 369 | 2016-10-21T07:42:54.000Z | 2020-11-19T10:49:29.000Z | ios/Pods/boost-for-react-native/boost/compute/algorithm/inner_product.hpp | c7yrus/alyson-v3 | 5ad95a8f782f5f5d2fd543d44ca6a8b093395965 | [
"Apache-2.0"
] | 534 | 2016-10-20T21:00:00.000Z | 2022-03-29T10:02:27.000Z | //---------------------------------------------------------------------------//
// Copyright (c) 2013 Kyle Lutz <kyle.r.lutz@gmail.com>
//
// 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.txt
//
// See http://boostorg.gi... | 35.734043 | 81 | 0.592438 | [
"vector",
"transform"
] |
61464c9af9c307250025faa98c814eadc6fb8c08 | 18,249 | cc | C++ | atom/browser/native_window_win.cc | cybernetics/atom-shell | 66ab12738931b7ea971f9f109264f1b0cbe2eac8 | [
"MIT"
] | 1 | 2019-04-22T08:48:46.000Z | 2019-04-22T08:48:46.000Z | atom/browser/native_window_win.cc | cybernetics/atom-shell | 66ab12738931b7ea971f9f109264f1b0cbe2eac8 | [
"MIT"
] | null | null | null | atom/browser/native_window_win.cc | cybernetics/atom-shell | 66ab12738931b7ea971f9f109264f1b0cbe2eac8 | [
"MIT"
] | null | null | null | // Copyright (c) 2013 GitHub, Inc. All rights reserved.
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#include "atom/browser/native_window_win.h"
#include <shobjidl.h>
#include <string>
#include <vector>
#include "atom/browser/api/atom_api_menu.h"
#include "atom... | 28.648352 | 79 | 0.701518 | [
"shape",
"vector",
"model"
] |
61490d428712d4bae4867a55f5180bc2b7719aa8 | 4,428 | cc | C++ | components/browsing_data/core/counters/passwords_counter.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | components/browsing_data/core/counters/passwords_counter.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | components/browsing_data/core/counters/passwords_counter.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/browsing_data/core/counters/passwords_counter.h"
#include <algorithm>
#include <memory>
#include <utility>
#include "base/bind.h"
#... | 34.59375 | 80 | 0.728094 | [
"vector"
] |
614af728cf8636a4ca1ddcd2b683cab91327aa13 | 324 | cc | C++ | leetcode/easy/2011.cc | yuriserka/cp02hero | 89dfdf64247c8fd3a8da78aaa31405527a61c603 | [
"MIT"
] | null | null | null | leetcode/easy/2011.cc | yuriserka/cp02hero | 89dfdf64247c8fd3a8da78aaa31405527a61c603 | [
"MIT"
] | null | null | null | leetcode/easy/2011.cc | yuriserka/cp02hero | 89dfdf64247c8fd3a8da78aaa31405527a61c603 | [
"MIT"
] | null | null | null | // https://leetcode.com/problems/final-value-of-variable-after-performing-operations/
#include <bits/stdc++.h>
using namespace std;
class Solution {
public:
int finalValueAfterOperations(vector<string>& operations) {
int x = 0;
for (const auto& op : operations) (op[1] == '+') ? ++x : --x;
return x;
... | 23.142857 | 85 | 0.654321 | [
"vector"
] |
614d1459bbd874e26d63f82d0651b054d4f868d7 | 3,786 | cpp | C++ | leetcode/editor/cn/146-lru-cache.cpp | xutengx/data-structure | cdc2fa24000377357c4f2d6ece83261ff4213d4c | [
"MIT"
] | null | null | null | leetcode/editor/cn/146-lru-cache.cpp | xutengx/data-structure | cdc2fa24000377357c4f2d6ece83261ff4213d4c | [
"MIT"
] | null | null | null | leetcode/editor/cn/146-lru-cache.cpp | xutengx/data-structure | cdc2fa24000377357c4f2d6ece83261ff4213d4c | [
"MIT"
] | null | null | null | //请你设计并实现一个满足 LRU (最近最少使用) 缓存 约束的数据结构。
//
// 实现 LRUCache 类:
//
//
//
//
// LRUCache(int capacity) 以 正整数 作为容量 capacity 初始化 LRU 缓存
// int get(int key) 如果关键字 key 存在于缓存中,则返回关键字的值,否则返回 -1 。
// void put(int key, int value) 如果关键字 key 已经存在,则变更其数据值 value ;如果不存在,则向缓存中插入该组
//key-value 。如果插入操作导致关键字数量超过 capacity ,则应该 逐出 最久未... | 21.634286 | 78 | 0.534073 | [
"object",
"vector"
] |
614eba67c3233c8f520ed9b5ab0cf39e1063207c | 1,157 | cpp | C++ | camera_projection_measurement.cpp | kamnxt/lab-pose-estimation | e48406afea91235c127cd9aa4ccbf8cb375182b5 | [
"BSD-3-Clause"
] | null | null | null | camera_projection_measurement.cpp | kamnxt/lab-pose-estimation | e48406afea91235c127cd9aa4ccbf8cb375182b5 | [
"BSD-3-Clause"
] | 1 | 2022-03-18T07:57:36.000Z | 2022-03-18T07:57:36.000Z | camera_projection_measurement.cpp | kamnxt/lab-pose-estimation | e48406afea91235c127cd9aa4ccbf8cb375182b5 | [
"BSD-3-Clause"
] | 2 | 2022-03-18T07:52:12.000Z | 2022-03-18T08:08:59.000Z | #include "camera_projection_measurement.h"
CameraProjectionMeasurement::CameraProjectionMeasurement(
const Eigen::Vector2d& normalized_plane_point,
const Eigen::Vector3d& world_point)
: world_point_{world_point}
, normalized_plane_point_{normalized_plane_point}
{
}
LinearizedCameraProjectionMeasureme... | 33.057143 | 117 | 0.773552 | [
"object",
"transform"
] |
61516a713a5c882ce55c0596d2c01113c14c7af0 | 982 | cpp | C++ | src/gvertexarrayrender.cpp | wqking/gincu | dd9d83cc75561d873fc396d009436ba07219ff4d | [
"Apache-2.0"
] | 51 | 2017-02-01T14:50:03.000Z | 2022-01-14T11:19:51.000Z | src/gvertexarrayrender.cpp | wqking/gincu | dd9d83cc75561d873fc396d009436ba07219ff4d | [
"Apache-2.0"
] | null | null | null | src/gvertexarrayrender.cpp | wqking/gincu | dd9d83cc75561d873fc396d009436ba07219ff4d | [
"Apache-2.0"
] | 9 | 2018-07-20T07:47:39.000Z | 2020-10-31T16:26:08.000Z | #include "gincu/gvertexarrayrender.h"
#include "gincu/grendercontext.h"
namespace gincu {
GVertexArrayRender::GVertexArrayRender()
: primitive(), vertexArray(), texture()
{
}
GVertexArrayRender::GVertexArrayRender(const GPrimitive primitive, const GVertexArray & vertexArray)
: primitive(primitive), vert... | 27.277778 | 141 | 0.757637 | [
"render"
] |
61541530f409ec7205c8d87830326f95b8df283a | 404 | cpp | C++ | InterviewBit/Extras/AggressiveCows.cpp | CRAZYGEEKS04/competitive-programming-1 | f27b8a718761b7bfeb8ff9e294398ca1a294cb5d | [
"MIT"
] | 2 | 2022-02-08T12:37:41.000Z | 2022-03-09T03:48:56.000Z | InterviewBit/Extras/AggressiveCows.cpp | gauravsingh58/competitive-programming | fa5548f435cdf2aa059e1d6ab733885790c6a592 | [
"MIT"
] | 1 | 2020-10-10T16:14:54.000Z | 2020-10-10T16:14:54.000Z | InterviewBit/Extras/AggressiveCows.cpp | gauravsingh58/competitive-programming | fa5548f435cdf2aa059e1d6ab733885790c6a592 | [
"MIT"
] | 2 | 2021-01-23T14:35:48.000Z | 2021-03-15T05:04:24.000Z |
int Solution::solve(vector<int> &A, int B) {
int n = A.size();
sort(A.begin(), A.end());
int ans = 0, lo = 0, hi = A[n - 1];
while (lo <= hi) {
int mid = lo + (hi - lo) / 2;
int fi = A[0], temp = 1;
for (int i = 1; i < n; i++) {
if (A[i] - fi >= mid) {
temp++;
fi = A[i];
}
}
if (temp < B) {... | 16.16 | 44 | 0.415842 | [
"vector"
] |
6157b6c70d227c0c0b0fc0191fe0c0af79531b1e | 4,526 | cpp | C++ | DSP/HW3/mydisambig.cpp | r07922003/NTU | 4414b656643bc0079c12617190fa2a519d2331f8 | [
"MIT"
] | null | null | null | DSP/HW3/mydisambig.cpp | r07922003/NTU | 4414b656643bc0079c12617190fa2a519d2331f8 | [
"MIT"
] | null | null | null | DSP/HW3/mydisambig.cpp | r07922003/NTU | 4414b656643bc0079c12617190fa2a519d2331f8 | [
"MIT"
] | null | null | null | #include <iostream>
#include <fstream>
#include <sstream>
#include <string>
#include <stdio.h>
#include <vector>
#include "Ngram.h"
using namespace std ;
FILE *open_or_die( const char *filename, const char *ht )
{
FILE *fp = fopen( filename, ht );
if( fp == NULL ){
perror(filename);
exi... | 32.561151 | 206 | 0.402121 | [
"vector"
] |
6158002b08c0c5c74dbaaeeb1d94a1a7388d350a | 11,682 | cpp | C++ | torchrec/inference/src/BatchingQueue.cpp | samiwilf/torchrec | 50ff0973d5d01ec80fe36ba5f1d524c92c799836 | [
"BSD-3-Clause"
] | 1 | 2022-03-07T09:06:11.000Z | 2022-03-07T09:06:11.000Z | torchrec/inference/src/BatchingQueue.cpp | samiwilf/torchrec | 50ff0973d5d01ec80fe36ba5f1d524c92c799836 | [
"BSD-3-Clause"
] | null | null | null | torchrec/inference/src/BatchingQueue.cpp | samiwilf/torchrec | 50ff0973d5d01ec80fe36ba5f1d524c92c799836 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "torchrec/inference/BatchingQueue.h"
#include <chrono>
#include <memory>
#include <option... | 33.282051 | 80 | 0.606317 | [
"vector"
] |
615ced0a0715b75d29dafd1352da84620eabd0c4 | 560 | hh | C++ | include/idf/UsbHagstromKEUSB36FS.hh | greck2908/IDF | 0882cc35d88b96b0aea55e112060779654f040a6 | [
"NASA-1.3"
] | 84 | 2016-06-15T21:26:02.000Z | 2022-03-12T15:09:57.000Z | include/idf/UsbHagstromKEUSB36FS.hh | greck2908/IDF | 0882cc35d88b96b0aea55e112060779654f040a6 | [
"NASA-1.3"
] | 44 | 2016-10-19T17:35:01.000Z | 2022-03-11T17:20:51.000Z | include/idf/UsbHagstromKEUSB36FS.hh | greck2908/IDF | 0882cc35d88b96b0aea55e112060779654f040a6 | [
"NASA-1.3"
] | 46 | 2016-06-25T00:18:52.000Z | 2019-12-19T11:13:15.000Z | /*
PURPOSE:
LIBRARY DEPENDENCIES: (
(idf/UsbHagstromKEUSB36FS.cpp)
)
*/
/**
* @trick_parse{everything}
* @trick_link_dependency{idf/UsbHagstromKEUSB36FS.cpp}
*/
#ifndef USB_HAGSTROM_KEUSB36FS_HH
#define USB_HAGSTROM_KEUSB36FS_HH
#include "idf/UsbDevice.hh"
#include "idf/HagstromKEUSB36.hh"
namespace idf {
/** U... | 15.555556 | 71 | 0.732143 | [
"vector"
] |
616203f5e279ca60aed1d3ad84de40f0ef442f14 | 11,770 | cpp | C++ | libs/bloom_filter/test/counting_bloom_filter-pass.cpp | tetzank/boost-bloom-filters | 7c6717f403c041a092187568908f3661782ddb24 | [
"BSL-1.0"
] | 15 | 2016-10-18T16:05:37.000Z | 2022-01-23T03:01:42.000Z | libs/bloom_filter/test/counting_bloom_filter-pass.cpp | tetzank/boost-bloom-filters | 7c6717f403c041a092187568908f3661782ddb24 | [
"BSL-1.0"
] | null | null | null | libs/bloom_filter/test/counting_bloom_filter-pass.cpp | tetzank/boost-bloom-filters | 7c6717f403c041a092187568908f3661782ddb24 | [
"BSL-1.0"
] | 12 | 2016-04-15T18:17:24.000Z | 2020-04-16T06:29:58.000Z | //////////////////////////////////////////////////////////////////////////////
//
// (C) Copyright Alejandro Cabrera 2011.
// 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.txt)
//
// See http://www.boost.org/libs/bl... | 26.933638 | 78 | 0.715718 | [
"vector"
] |
616b66d6abedfebc5a7d0e0b8b9d4e9a19670f94 | 16,171 | cpp | C++ | tools/clang/lib/SPIRV/AlignmentSizeCalculator.cpp | ppuspu/DirectXShaderCompiler | cf789666578a1f8d56730ab7c4b2ca7d4c216beb | [
"NCSA"
] | 1,095 | 2019-05-07T14:48:04.000Z | 2022-03-30T04:29:58.000Z | tools/clang/lib/SPIRV/AlignmentSizeCalculator.cpp | ppuspu/DirectXShaderCompiler | cf789666578a1f8d56730ab7c4b2ca7d4c216beb | [
"NCSA"
] | 2,214 | 2019-05-06T22:22:53.000Z | 2022-03-31T19:38:50.000Z | tools/clang/lib/SPIRV/AlignmentSizeCalculator.cpp | ppuspu/DirectXShaderCompiler | cf789666578a1f8d56730ab7c4b2ca7d4c216beb | [
"NCSA"
] | 269 | 2019-05-07T11:59:04.000Z | 2022-03-30T08:41:50.000Z | //===--- AlignmentSizeCalculator.cpp -- Alignemnt And Size Calc --*- C++ -*-==//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | 40.126551 | 80 | 0.648383 | [
"vector"
] |
616de389df06c66866fdede7a800631109593708 | 26,594 | cpp | C++ | inetsrv/msmq/src/setup/mqupgrd/creatobj.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | inetsrv/msmq/src/setup/mqupgrd/creatobj.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | inetsrv/msmq/src/setup/mqupgrd/creatobj.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | /*++
Copyright (c) 1999 Microsoft Corporation
Module Name:
creatobj.cpp
Abstract:
Create msmqConfiguration object, first time msmq service boot
after setup.
Author:
Doron Juster (DoronJ) 08-Mar-1999
ilan herbst (ilanh) 27-Aug-2000
--*/
#include "stdh.h"
#include <mq... | 24.761639 | 145 | 0.547605 | [
"object"
] |
616e66ba05ab5efef5881d336346ffc74db37991 | 13,885 | cpp | C++ | src/Editor/CharacterEditor/CCharacterEditor.cpp | Antidote/PrimeWorldEditor | 976796c161447cff63f514007971d128c7d094a2 | [
"MIT"
] | 1 | 2018-12-25T02:09:27.000Z | 2018-12-25T02:09:27.000Z | src/Editor/CharacterEditor/CCharacterEditor.cpp | villadox/PrimeWorldEditor | 9eb3d1d0110e2c28df0c9ebf29b905982a697f2d | [
"MIT"
] | null | null | null | src/Editor/CharacterEditor/CCharacterEditor.cpp | villadox/PrimeWorldEditor | 9eb3d1d0110e2c28df0c9ebf29b905982a697f2d | [
"MIT"
] | 1 | 2020-02-21T15:22:56.000Z | 2020-02-21T15:22:56.000Z | #include "CCharacterEditor.h"
#include "ui_CCharacterEditor.h"
#include "Editor/UICommon.h"
#include <Common/Macros.h>
#include <Common/Math/MathUtil.h>
#include <QFileDialog>
#include <QMessageBox>
#include <QTreeView>
const CVector3f CCharacterEditor::skDefaultOrbitTarget = CVector3f(0,0,1);
const float CCharacterEd... | 30.993304 | 167 | 0.670148 | [
"render"
] |
616fea17c614514e02245a4e007f7e74a7410873 | 4,258 | cpp | C++ | include/enki/enki/robots/s-bot/Sbot.cpp | ou-real/nevil-grandparent | 38324705678afac77d002391da753c6f10ee95e2 | [
"MIT"
] | null | null | null | include/enki/enki/robots/s-bot/Sbot.cpp | ou-real/nevil-grandparent | 38324705678afac77d002391da753c6f10ee95e2 | [
"MIT"
] | null | null | null | include/enki/enki/robots/s-bot/Sbot.cpp | ou-real/nevil-grandparent | 38324705678afac77d002391da753c6f10ee95e2 | [
"MIT"
] | null | null | null | /*
Enki - a fast 2D robot simulator
Copyright (C) 1999-2013 Stephane Magnenat <stephane at magnenat dot net>
Copyright (C) 2004-2005 Markus Waibel <markus dot waibel at epfl dot ch>
Copyright (c) 2004-2005 Antoine Beyeler <abeyeler at ab-ware dot com>
Copyright (C) 2005-2006 Laboratory of Intelligen... | 28.198675 | 78 | 0.699389 | [
"object",
"model"
] |
617334e51ba158194c43df4d6c0fef166ea15d2c | 8,341 | cpp | C++ | Cesium3DTilesSelection/test/TestQuadtreeRasterOverlayTileProvider.cpp | SC-One/cesium-native | a8232ad039db1bb83ad2204c40c6dfb5d8207bb6 | [
"Apache-2.0"
] | 2 | 2021-10-02T17:45:12.000Z | 2021-10-02T17:45:15.000Z | Cesium3DTilesSelection/test/TestQuadtreeRasterOverlayTileProvider.cpp | SC-One/cesium-native | a8232ad039db1bb83ad2204c40c6dfb5d8207bb6 | [
"Apache-2.0"
] | null | null | null | Cesium3DTilesSelection/test/TestQuadtreeRasterOverlayTileProvider.cpp | SC-One/cesium-native | a8232ad039db1bb83ad2204c40c6dfb5d8207bb6 | [
"Apache-2.0"
] | null | null | null | #include "Cesium3DTilesSelection/QuadtreeRasterOverlayTileProvider.h"
#include "Cesium3DTilesSelection/RasterOverlay.h"
#include "CesiumGeospatial/WebMercatorProjection.h"
#include "SimpleAssetAccessor.h"
#include <catch2/catch.hpp>
using namespace Cesium3DTilesSelection;
using namespace CesiumAsync;
using namespace ... | 34.754167 | 80 | 0.666587 | [
"vector",
"3d"
] |
6174025a2eed1e197e5033a50409ddabca173b7a | 7,452 | hpp | C++ | include/popnn/Loss.hpp | giantchen2012/poplibs | 2bc6b6f3d40863c928b935b5da88f40ddd77078e | [
"MIT"
] | 1 | 2021-02-23T05:58:24.000Z | 2021-02-23T05:58:24.000Z | include/popnn/Loss.hpp | giantchen2012/poplibs | 2bc6b6f3d40863c928b935b5da88f40ddd77078e | [
"MIT"
] | null | null | null | include/popnn/Loss.hpp | giantchen2012/poplibs | 2bc6b6f3d40863c928b935b5da88f40ddd77078e | [
"MIT"
] | null | null | null | // Copyright (c) 2016 Graphcore Ltd. All rights reserved.
#ifndef popnn_Loss_hpp
#define popnn_Loss_hpp
namespace popnn {
enum LossType { SUM_SQUARED_LOSS, CROSS_ENTROPY_LOSS };
} // end namespace popnn
#ifndef __POPC__
#include "popops/EncodingConstants.hpp"
#include <poplar/Graph.hpp>
#include <poplar/Program.hp... | 46.867925 | 80 | 0.638755 | [
"shape",
"model"
] |
617892c9c5a01cd0c3668b8a956a1ea78d56254d | 596 | hpp | C++ | mainapp/Classes/Games/ThirtyPuzzle/ThirtyPuzzleProblemBank.hpp | JaagaLabs/GLEXP-Team-KitkitSchool | f94ea3e53bd05fdeb2a9edcc574bc054e575ecc0 | [
"Apache-2.0"
] | 45 | 2019-05-16T20:49:31.000Z | 2021-11-05T21:40:54.000Z | mainapp/Classes/Games/ThirtyPuzzle/ThirtyPuzzleProblemBank.hpp | rdsmarketing/GLEXP-Team-KitkitSchool | 6ed6b76d17fd7560abc35dcdf7cf4a44ce70745e | [
"Apache-2.0"
] | 10 | 2019-05-17T13:38:22.000Z | 2021-07-31T19:38:27.000Z | mainapp/Classes/Games/ThirtyPuzzle/ThirtyPuzzleProblemBank.hpp | rdsmarketing/GLEXP-Team-KitkitSchool | 6ed6b76d17fd7560abc35dcdf7cf4a44ce70745e | [
"Apache-2.0"
] | 29 | 2019-05-16T17:49:26.000Z | 2021-12-30T16:36:24.000Z | //
// ProblemBank.hpp
// KitkitSchool-mobile
//
// Created by JungJaehun on 09/03/2018.
//
#pragma once
#include "ThirtyPuzzleHeader.h"
BEGIN_NS_THIRTYPUZZLE;
struct ThirtyPuzzleLevelStruct {
int level;
int problem;
string columns;
string suggest;
string isRandom;
int problemNumber;
};
cl... | 17.028571 | 56 | 0.70302 | [
"vector"
] |
617b3eb4caa2005cc173c3b4b12dde3e3e356246 | 6,843 | cpp | C++ | Install/CodexDSSetupRunner.RTM/CodexSetupRunner/CodexSetupRunner.cpp | IrakliLomidze/CodexDS15 | fb0dc7a6662068574d5cfe3ec5ce7b3d427ad723 | [
"Unlicense"
] | null | null | null | Install/CodexDSSetupRunner.RTM/CodexSetupRunner/CodexSetupRunner.cpp | IrakliLomidze/CodexDS15 | fb0dc7a6662068574d5cfe3ec5ce7b3d427ad723 | [
"Unlicense"
] | null | null | null | Install/CodexDSSetupRunner.RTM/CodexSetupRunner/CodexSetupRunner.cpp | IrakliLomidze/CodexDS15 | fb0dc7a6662068574d5cfe3ec5ce7b3d427ad723 | [
"Unlicense"
] | null | null | null |
// CodexSetupRunner.cpp : Defines the class behaviors for the application.
//
#include "stdafx.h"
#include "CodexSetupRunner.h"
#include "CodexSetupRunnerDlg.h"
#include "ILC\GeneralRun.h"
#include <VersionHelpers.h>
#include "ILC\detectFX.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CCodexSetupRunnerApp
BEG... | 29.752174 | 224 | 0.723221 | [
"object"
] |
617c486013915d02d4e1dc0eb198d1491be1e59c | 10,038 | cc | C++ | app/libs/hocr2pdf/hocr2pdf/src/codecs/png.cc | OCR-APPS-WEBSITES/textfairy | 4af0b121137782b3c34d27fb5f5a1de30af9403d | [
"Apache-2.0"
] | 3 | 2016-02-29T04:26:36.000Z | 2018-07-12T03:11:24.000Z | app/libs/hocr2pdf/hocr2pdf/src/codecs/png.cc | OCR-APPS-WEBSITES/textfairy | 4af0b121137782b3c34d27fb5f5a1de30af9403d | [
"Apache-2.0"
] | null | null | null | app/libs/hocr2pdf/hocr2pdf/src/codecs/png.cc | OCR-APPS-WEBSITES/textfairy | 4af0b121137782b3c34d27fb5f5a1de30af9403d | [
"Apache-2.0"
] | 3 | 2016-04-29T19:18:25.000Z | 2018-10-13T07:05:05.000Z | /*
* Copyright (C) 2006 - 2009 René Rebe
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2. A copy of the GNU General
* Public License can be found in the file LICENSE.
*
* T... | 32.173077 | 90 | 0.70004 | [
"transform",
"solid"
] |
617f7c1816c13546cc6c55d0db885a31c253089d | 5,218 | hh | C++ | controller/src/map/gui/soccerview.hh | GuttinRibeiro/TCC | fa0fe1f65e651f940ac0b9c2d0cf228c986f32bd | [
"MIT"
] | null | null | null | controller/src/map/gui/soccerview.hh | GuttinRibeiro/TCC | fa0fe1f65e651f940ac0b9c2d0cf228c986f32bd | [
"MIT"
] | null | null | null | controller/src/map/gui/soccerview.hh | GuttinRibeiro/TCC | fa0fe1f65e651f940ac0b9c2d0cf228c986f32bd | [
"MIT"
] | null | null | null | //========================================================================
// This software is free: you can redistribute it and/or modify
// it under the terms of the GNU General Public License Version 3,
// as published by the Free Software Foundation.
//
// This software is distributed in the hope that it will b... | 29.817143 | 173 | 0.721349 | [
"geometry",
"vector"
] |
61822b8e31430e5388c691f39fa86fee342c25ba | 8,142 | cc | C++ | src/init/isolate-allocator.cc | KDr2/v8 | 6048f754931e0971cab58fb0de785482d175175b | [
"BSD-3-Clause"
] | null | null | null | src/init/isolate-allocator.cc | KDr2/v8 | 6048f754931e0971cab58fb0de785482d175175b | [
"BSD-3-Clause"
] | null | null | null | src/init/isolate-allocator.cc | KDr2/v8 | 6048f754931e0971cab58fb0de785482d175175b | [
"BSD-3-Clause"
] | null | null | null | // 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 "src/init/isolate-allocator.h"
#include "src/base/bounded-page-allocator.h"
#include "src/execution/isolate.h"
#include "src/heap/code-range.h... | 37.178082 | 80 | 0.751781 | [
"object"
] |
6187617e05d24801b62a2ba93bf38b81e45654d9 | 254 | cpp | C++ | with_cpp14/matplotlib_basic.cpp | MengqiYe/Test_Cpp_Standards | 3acf52bd4457be007534b2b481f01a3bdfda0813 | [
"MIT"
] | null | null | null | with_cpp14/matplotlib_basic.cpp | MengqiYe/Test_Cpp_Standards | 3acf52bd4457be007534b2b481f01a3bdfda0813 | [
"MIT"
] | null | null | null | with_cpp14/matplotlib_basic.cpp | MengqiYe/Test_Cpp_Standards | 3acf52bd4457be007534b2b481f01a3bdfda0813 | [
"MIT"
] | null | null | null | //
// Created by mqye on 2020/9/29.
//
#include "common.h"
#include "matplotlibcpp.h"
#include <vector>
namespace plt = matplotlibcpp;
int main() {
std::vector<double> y = {1, 3, 2, 4};
plt::plot(y);
plt::savefig("minimal.pdf");
plt::show();
} | 15.875 | 39 | 0.61811 | [
"vector"
] |
618e3fc3897fce8a831f7b43ec668f52a47d4d82 | 42,842 | cc | C++ | extensions/browser/api/management/management_api.cc | Ron423c/chromium | 2edf7b980065b648f8b2a6e52193d83832fe36b7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | extensions/browser/api/management/management_api.cc | Ron423c/chromium | 2edf7b980065b648f8b2a6e52193d83832fe36b7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | extensions/browser/api/management/management_api.cc | Ron423c/chromium | 2edf7b980065b648f8b2a6e52193d83832fe36b7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2021-03-07T14:20:02.000Z | 2021-03-07T14:20:02.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 "extensions/browser/api/management/management_api.h"
#include <memory>
#include <string>
#include <utility>
#include <vector>
#include "bas... | 37.383944 | 80 | 0.724103 | [
"vector"
] |
6192c9599435ec07479d0ede009908f4732b5310 | 49,670 | cpp | C++ | drivers/gles3/rasterizer_canvas_base_gles3.cpp | MichaelBelousov/godot | ad64d5de1170109a53a5d0cfd8101824c2c4d77c | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | null | null | null | drivers/gles3/rasterizer_canvas_base_gles3.cpp | MichaelBelousov/godot | ad64d5de1170109a53a5d0cfd8101824c2c4d77c | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | null | null | null | drivers/gles3/rasterizer_canvas_base_gles3.cpp | MichaelBelousov/godot | ad64d5de1170109a53a5d0cfd8101824c2c4d77c | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | null | null | null | /*************************************************************************/
/* rasterizer_canvas_base_gles3.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... | 37.887109 | 260 | 0.745883 | [
"render",
"transform"
] |
619446a22e66918729fb8af4df0842a94ad6b53e | 26,339 | cpp | C++ | source/gui/widgets/combox.cpp | dudztroyer/nana | dbd8a4a6910aa3b81b77989a2d1866fdb26e4f6f | [
"BSL-1.0"
] | 1 | 2018-10-28T20:01:43.000Z | 2018-10-28T20:01:43.000Z | source/gui/widgets/combox.cpp | sahwar/nana | dbd8a4a6910aa3b81b77989a2d1866fdb26e4f6f | [
"BSL-1.0"
] | null | null | null | source/gui/widgets/combox.cpp | sahwar/nana | dbd8a4a6910aa3b81b77989a2d1866fdb26e4f6f | [
"BSL-1.0"
] | null | null | null | /*
* A Combox Implementation
* Nana C++ Library(http://www.nanapro.org)
* Copyright(C) 2003-2018 Jinhao(cnjinhao@hotmail.com)
*
* 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.txt)
*
* @file: nana/gui/widgets/co... | 24.010027 | 161 | 0.611489 | [
"render",
"vector"
] |
6199b424dc9beb5ff9cbdb14954697a05a88e915 | 14,575 | cpp | C++ | src/FeatureUtils.cpp | alxvth/Spidr | 307dfbec7e30d510275c6cffbf2e853cddf78e15 | [
"MIT"
] | null | null | null | src/FeatureUtils.cpp | alxvth/Spidr | 307dfbec7e30d510275c6cffbf2e853cddf78e15 | [
"MIT"
] | null | null | null | src/FeatureUtils.cpp | alxvth/Spidr | 307dfbec7e30d510275c6cffbf2e853cddf78e15 | [
"MIT"
] | 2 | 2022-02-17T10:18:51.000Z | 2022-02-17T10:39:11.000Z | #include "FeatureUtils.h"
#include <execution> // par_unseq
#include <algorithm> // for_each_n
#include <numeric> // iota
#include <cmath>
#include <stdexcept>
#include <random>
template<typename T>
void NormVector(std::vector<T>& vec, T normVal) {
std::for_each(std::execution::par_unseq, std::begin... | 37.661499 | 174 | 0.685969 | [
"vector"
] |
619c58c366bf046b69b79a07f0794513ff8934d2 | 23,210 | cpp | C++ | src/mbgl/style/layers/circle_layer.cpp | gomapi/gomapi-sdk-ios | e494bf0b31f612b5547e2830c1179ecd8bf350ed | [
"BSL-1.0",
"Apache-2.0"
] | 5 | 2019-12-02T07:13:06.000Z | 2019-12-02T14:34:36.000Z | src/mbgl/style/layers/circle_layer.cpp | gomapi/gomapi-sdk-ios | e494bf0b31f612b5547e2830c1179ecd8bf350ed | [
"BSL-1.0",
"Apache-2.0"
] | null | null | null | src/mbgl/style/layers/circle_layer.cpp | gomapi/gomapi-sdk-ios | e494bf0b31f612b5547e2830c1179ecd8bf350ed | [
"BSL-1.0",
"Apache-2.0"
] | null | null | null | // This file is generated. Edit scripts/generate-style-code.js, then run `make style-code`.
#include <mbgl/style/layers/circle_layer.hpp>
#include <mbgl/style/layers/circle_layer_impl.hpp>
#include <mbgl/style/layer_observer.hpp>
#include <mbgl/style/conversion/color_ramp_property_value.hpp>
#include <mbgl/style/conve... | 34.590164 | 208 | 0.697372 | [
"geometry"
] |
61a1d15ed130e5bf79fefb0898370eeed3d4acae | 3,149 | cpp | C++ | lib/mockturtle/experiments/node_resynthesis.cpp | gian21391/enumeration_tool | 607ca83c5cf8a7da6ea7438afcd158607e005a11 | [
"MIT"
] | 1 | 2019-05-25T17:40:15.000Z | 2019-05-25T17:40:15.000Z | lib/mockturtle/experiments/node_resynthesis.cpp | gian21391/enumeration_tool | 607ca83c5cf8a7da6ea7438afcd158607e005a11 | [
"MIT"
] | 2 | 2021-03-05T21:12:07.000Z | 2021-03-06T18:42:52.000Z | lib/mockturtle/experiments/node_resynthesis.cpp | gian21391/enumeration_tool | 607ca83c5cf8a7da6ea7438afcd158607e005a11 | [
"MIT"
] | 2 | 2021-07-26T14:46:51.000Z | 2021-11-09T11:32:09.000Z | /* mockturtle: C++ logic network library
* Copyright (C) 2018-2019 EPFL
*
* 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... | 37.939759 | 123 | 0.745316 | [
"vector"
] |
61a3f9bcb3753aa29eee32d97b75ccfc1e5a8725 | 32,176 | cpp | C++ | src/utils/yaml/YamlTraits.cpp | normal-coder/polarphp | a06e1f8781b4b75a2ca8cf2c22e0aa62631866fe | [
"PHP-3.01"
] | 1 | 2019-01-28T01:33:49.000Z | 2019-01-28T01:33:49.000Z | src/utils/yaml/YamlTraits.cpp | normal-coder/polarphp | a06e1f8781b4b75a2ca8cf2c22e0aa62631866fe | [
"PHP-3.01"
] | null | null | null | src/utils/yaml/YamlTraits.cpp | normal-coder/polarphp | a06e1f8781b4b75a2ca8cf2c22e0aa62631866fe | [
"PHP-3.01"
] | null | null | null | // This source file is part of the polarphp.org open source project
//
// Copyright (c) 2017 - 2018 polarphp software foundation
// Copyright (c) 2017 - 2018 zzu_softboy <zzu_softboy@163.com>
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://polarphp.org/LICENSE.txt for license info... | 24.731745 | 95 | 0.620307 | [
"vector"
] |
61a6e31aaf236a1ad33e3f1a7d9df4848522aecc | 24,934 | cpp | C++ | Src/Orbiter/Vesselstatus.cpp | jarmonik/orbiter | 527db6209cb0acd4af839682f2d7f05132818fb8 | [
"MIT"
] | 1,040 | 2021-07-27T12:12:06.000Z | 2021-08-02T14:24:49.000Z | Src/Orbiter/Vesselstatus.cpp | jarmonik/orbiter | 527db6209cb0acd4af839682f2d7f05132818fb8 | [
"MIT"
] | 20 | 2021-07-27T12:25:22.000Z | 2021-08-02T12:22:19.000Z | Src/Orbiter/Vesselstatus.cpp | jarmonik/orbiter | 527db6209cb0acd4af839682f2d7f05132818fb8 | [
"MIT"
] | 71 | 2021-07-27T14:19:49.000Z | 2021-08-02T05:51:52.000Z | // Copyright (c) Martin Schweiger
// Licensed under the MIT License
// ==============================================================
// Contains the portion of the Vessel class definition
// concerned with VESSELCLASS interfaces
// ==============================================================
#include "Orbiter.h"
#... | 33.112882 | 147 | 0.577364 | [
"vector"
] |
61abdf02dc00d13017d6f3f4aa8a19cae3d3d277 | 5,980 | cpp | C++ | src/blacklist.cpp | LJP-TW/Ponce | 384eb38fcc698a9f0aa0f2242db36e5457358f56 | [
"BSL-1.0"
] | 1,270 | 2016-09-23T13:43:00.000Z | 2022-03-27T10:00:02.000Z | src/blacklist.cpp | LJP-TW/Ponce | 384eb38fcc698a9f0aa0f2242db36e5457358f56 | [
"BSL-1.0"
] | 87 | 2016-09-23T13:50:17.000Z | 2021-05-16T06:02:36.000Z | src/blacklist.cpp | LJP-TW/Ponce | 384eb38fcc698a9f0aa0f2242db36e5457358f56 | [
"BSL-1.0"
] | 232 | 2016-09-23T15:24:42.000Z | 2022-03-30T13:22:34.000Z | //! \file
/*
** Copyright (c) 2020 - Ponce
** Authors:
** Alberto Garcia Illera agarciaillera@gmail.com
** Francisco Oca francisco.oca.gonzalez@gmail.com
**
** This program is under the terms of the BSD License.
*/
#include <iostream>
#include <fstream>
// Ponce
#include "blac... | 27.181818 | 170 | 0.602341 | [
"vector"
] |
61afb3bd846def87abdfefef14bb3fe131953f68 | 2,269 | cpp | C++ | code/source/projects/App_AmbientInteractions/Scripts/AgentsTalking.cpp | DeRidderJonas/AmbientInteractionsUsingSmartLocations | 2693cef6f84827a92019fb03801a0c112e165876 | [
"MIT"
] | null | null | null | code/source/projects/App_AmbientInteractions/Scripts/AgentsTalking.cpp | DeRidderJonas/AmbientInteractionsUsingSmartLocations | 2693cef6f84827a92019fb03801a0c112e165876 | [
"MIT"
] | null | null | null | code/source/projects/App_AmbientInteractions/Scripts/AgentsTalking.cpp | DeRidderJonas/AmbientInteractionsUsingSmartLocations | 2693cef6f84827a92019fb03801a0c112e165876 | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "AgentsTalking.h"
#include "projects/App_AmbientInteractions/NpcAgent.h"
AgentsTalking::AgentsTalking(size_t min_agents, size_t max_agents, size_t min_agents_dynamic, size_t max_agents_dynamic)
: Script()
{
m_Roles.push_back({ Role::Name::AnyHuman, Role::Flag::LeaveAfterEnd, min_ag... | 26.694118 | 141 | 0.678272 | [
"vector"
] |
61afdf491ed615218fc788900d0b28431927e618 | 1,294 | hpp | C++ | sources/IR/operand.hpp | pavelkryukov/mipt-scheme-compiler | c14fd5fb79324a42cfc0450c196f3ebdfaba4edd | [
"Apache-2.0"
] | null | null | null | sources/IR/operand.hpp | pavelkryukov/mipt-scheme-compiler | c14fd5fb79324a42cfc0450c196f3ebdfaba4edd | [
"Apache-2.0"
] | null | null | null | sources/IR/operand.hpp | pavelkryukov/mipt-scheme-compiler | c14fd5fb79324a42cfc0450c196f3ebdfaba4edd | [
"Apache-2.0"
] | 1 | 2016-01-03T02:49:25.000Z | 2016-01-03T02:49:25.000Z | /**
* @file:operand.hpp
* Interface of operand
* Core component of Operations and Objects
*/
/**
* Copyright (C) 2012 MIPT Scheme Compiler team
*/
#pragma once
namespace ir
{
/**
* @class Operand
* Representation of Operand
*/
class Operand
{
public:
/** Constructor */
Operand();
/** Destruc... | 17.972222 | 61 | 0.602009 | [
"object"
] |
61b18cde0fcf284c807171d46c4e5256646f1632 | 13,549 | cc | C++ | shaka/src/mapping/jsc/js_wrappers.cc | Mousmi122767/shaka-player-embedded | 10d9b5e0ec737c714c7d40c62593b9fae8514a36 | [
"Apache-2.0",
"BSD-3-Clause"
] | 185 | 2018-11-06T06:04:44.000Z | 2022-03-02T22:20:39.000Z | shaka/src/mapping/jsc/js_wrappers.cc | Mousmi122767/shaka-player-embedded | 10d9b5e0ec737c714c7d40c62593b9fae8514a36 | [
"Apache-2.0",
"BSD-3-Clause"
] | 211 | 2018-11-15T22:52:49.000Z | 2022-03-02T18:46:20.000Z | shaka/src/mapping/jsc/js_wrappers.cc | Mousmi122767/shaka-player-embedded | 10d9b5e0ec737c714c7d40c62593b9fae8514a36 | [
"Apache-2.0",
"BSD-3-Clause"
] | 52 | 2018-12-12T11:00:46.000Z | 2022-02-23T17:35:02.000Z | // Copyright 2017 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 31.805164 | 80 | 0.695402 | [
"object",
"vector"
] |
ba0ae0687230da447fd975641b2b940c17622162 | 3,831 | hpp | C++ | libraries/plugins/rc/include/voilk/plugins/rc/rc_objects.hpp | voilknetwork/voilk | 839716ae446d39d7260505b5d6d16f4f122cf1fe | [
"MIT"
] | null | null | null | libraries/plugins/rc/include/voilk/plugins/rc/rc_objects.hpp | voilknetwork/voilk | 839716ae446d39d7260505b5d6d16f4f122cf1fe | [
"MIT"
] | null | null | null | libraries/plugins/rc/include/voilk/plugins/rc/rc_objects.hpp | voilknetwork/voilk | 839716ae446d39d7260505b5d6d16f4f122cf1fe | [
"MIT"
] | 3 | 2020-09-03T11:23:13.000Z | 2021-06-16T07:07:54.000Z | #pragma once
#include <voilk/chain/util/manabar.hpp>
#include <voilk/plugins/rc/rc_utility.hpp>
#include <voilk/plugins/rc/resource_count.hpp>
#include <voilk/chain/voilk_object_types.hpp>
#include <fc/int_array.hpp>
#include <boost/multi_index/composite_key.hpp>
namespace voilk { namespace plugins { namespace rc ... | 31.401639 | 138 | 0.701122 | [
"object"
] |
ba0d4522e49406111442aba8f96433655ad73900 | 3,848 | hpp | C++ | src/external/armadillo/include/armadillo_bits/fn_sum.hpp | shreyasvj25/turicreate | 32e84ca16aef8d04aff3d49ae9984bd49326bffd | [
"BSD-3-Clause"
] | 1 | 2018-12-15T20:03:51.000Z | 2018-12-15T20:03:51.000Z | src/external/armadillo/include/armadillo_bits/fn_sum.hpp | shreyasvj25/turicreate | 32e84ca16aef8d04aff3d49ae9984bd49326bffd | [
"BSD-3-Clause"
] | 3 | 2021-09-08T02:18:00.000Z | 2022-03-12T00:39:44.000Z | src/external/armadillo/include/armadillo_bits/fn_sum.hpp | shreyasvj25/turicreate | 32e84ca16aef8d04aff3d49ae9984bd49326bffd | [
"BSD-3-Clause"
] | 1 | 2019-06-01T18:49:28.000Z | 2019-06-01T18:49:28.000Z | // Copyright 2008-2016 Conrad Sanderson (http://conradsanderson.id.au)
// Copyright 2008-2016 National ICT Australia (NICTA)
//
// 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.... | 18.955665 | 94 | 0.694127 | [
"object"
] |
ba0e8ccebc58556cebc10a9614697d392a1dbbf1 | 6,751 | cpp | C++ | Render/i0rDebugRender/DevMenu.cpp | i0r/i0rTech | c74b327345e6e9e1a08c6b5631e84383431f2661 | [
"BSD-3-Clause"
] | null | null | null | Render/i0rDebugRender/DevMenu.cpp | i0r/i0rTech | c74b327345e6e9e1a08c6b5631e84383431f2661 | [
"BSD-3-Clause"
] | null | null | null | Render/i0rDebugRender/DevMenu.cpp | i0r/i0rTech | c74b327345e6e9e1a08c6b5631e84383431f2661 | [
"BSD-3-Clause"
] | null | null | null | #include "../Common.hpp"
#ifdef FLAG_DEBUG
#include "../i0rPrograms/Text.hpp"
#include "DevMenu.hpp"
DevMenu::DevMenu( const i32 x, const i32 y, std::string name ) {
m_Name = name;
m_PosX = x;
m_PosY = y;
m_ActiveItemIndex = -1;
m_ActiveSubMenuIndex = -1;
m_HasFocus = false;
m_Parent = nullptr;
}
DevMenu::~... | 27.11245 | 135 | 0.646719 | [
"vector"
] |
ba1099c21004e4075c3466eec81cefa614e65f66 | 12,528 | hpp | C++ | openstudiocore/src/analysis/Analysis_Impl.hpp | bobzabcik/OpenStudio | 858321dc0ad8d572de15858d2ae487b029a8d847 | [
"blessing"
] | null | null | null | openstudiocore/src/analysis/Analysis_Impl.hpp | bobzabcik/OpenStudio | 858321dc0ad8d572de15858d2ae487b029a8d847 | [
"blessing"
] | null | null | null | openstudiocore/src/analysis/Analysis_Impl.hpp | bobzabcik/OpenStudio | 858321dc0ad8d572de15858d2ae487b029a8d847 | [
"blessing"
] | null | null | null | /**********************************************************************
* Copyright (c) 2008-2013, Alliance for Sustainable Energy.
* All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by t... | 41.346535 | 155 | 0.669141 | [
"object",
"vector",
"model"
] |
ba10aa1846504f6cd8d32698a84e248e4c11a810 | 4,095 | cpp | C++ | Problems/CtCi6thEd/Chapter-3/sortStack.cpp | pedrotorreao/DSA | 31f9dffbed5275590d5c7b7f6a73fd6dea411564 | [
"MIT"
] | 1 | 2021-07-08T01:02:06.000Z | 2021-07-08T01:02:06.000Z | Problems/CtCi6thEd/Chapter-3/sortStack.cpp | pedrotorreao/DSA | 31f9dffbed5275590d5c7b7f6a73fd6dea411564 | [
"MIT"
] | null | null | null | Problems/CtCi6thEd/Chapter-3/sortStack.cpp | pedrotorreao/DSA | 31f9dffbed5275590d5c7b7f6a73fd6dea411564 | [
"MIT"
] | null | null | null | /*********************************************************************************************/
/* Problem: Sort Stack (CtCi 3.5) ********/
/*********************************************************************************************/
/*
--Problem statement:
Write a program to sort a stack such that the smallest ite... | 21.108247 | 105 | 0.565079 | [
"vector"
] |
ba1202e871a40368d1ff92d0394b879954c1bd97 | 9,033 | cpp | C++ | dashel/dashel-common.cpp | Mobsya/dashel | 3b0c81a08ec5cba8979a9c7c879b35747e06d01f | [
"BSD-3-Clause"
] | 8 | 2015-03-24T11:06:16.000Z | 2021-06-19T14:05:02.000Z | dashel/dashel-common.cpp | Mobsya/dashel | 3b0c81a08ec5cba8979a9c7c879b35747e06d01f | [
"BSD-3-Clause"
] | 25 | 2015-04-02T10:39:30.000Z | 2020-12-07T16:13:05.000Z | dashel/dashel-common.cpp | Mobsya/dashel | 3b0c81a08ec5cba8979a9c7c879b35747e06d01f | [
"BSD-3-Clause"
] | 13 | 2015-08-26T11:38:05.000Z | 2020-12-07T14:59:11.000Z | /*
Dashel
A cross-platform DAta Stream Helper Encapsulation Library
Copyright (C) 2007 -- 2018:
Stephane Magnenat <stephane at magnenat dot net>
(http://stephane.magnenat.net)
Mobots group - Laboratory of Robotics Systems, EPFL, Lausanne
(http://mobots.epfl.ch)
Sebastian Gerlach
Kenzan Technologies
... | 24.680328 | 110 | 0.676077 | [
"vector"
] |
ba143b924b1f9db855303d3dfc18bebc0d1d1880 | 9,006 | cpp | C++ | src/main/vendors/OceanOptics/features/pixel_binning/STSPixelBinningFeature.cpp | KOLANICH/SeaBreeze | 615b6c689d432c2f901a4505ed0abff5ff799e13 | [
"MIT"
] | null | null | null | src/main/vendors/OceanOptics/features/pixel_binning/STSPixelBinningFeature.cpp | KOLANICH/SeaBreeze | 615b6c689d432c2f901a4505ed0abff5ff799e13 | [
"MIT"
] | 1 | 2022-01-10T19:33:53.000Z | 2022-02-02T14:53:07.000Z | src/main/vendors/OceanOptics/features/pixel_binning/STSPixelBinningFeature.cpp | KOLANICH/SeaBreeze | 615b6c689d432c2f901a4505ed0abff5ff799e13 | [
"MIT"
] | null | null | null | /***************************************************/ /**
* @file STSPixelBinningFeatureBase.cpp
* @date October 2015
* @author Ocean Optics, Inc.
*
* LICENSE:
*
* SeaBreeze Copyright (C) 2015, Ocean Optics Inc
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this s... | 35.179688 | 125 | 0.755829 | [
"vector"
] |
ba15ceef4e0859e40218d1625fd149c9e7aadf77 | 518 | hpp | C++ | pom/maths/operation/hash.hpp | e-Sharp/pom_gen_proc | cef7a57620d52631c1e94f71c71e0455f9e1b653 | [
"MIT"
] | null | null | null | pom/maths/operation/hash.hpp | e-Sharp/pom_gen_proc | cef7a57620d52631c1e94f71c71e0455f9e1b653 | [
"MIT"
] | null | null | null | pom/maths/operation/hash.hpp | e-Sharp/pom_gen_proc | cef7a57620d52631c1e94f71c71e0455f9e1b653 | [
"MIT"
] | null | null | null | #pragma once
#include "pom/maths/fract.hpp"
#include "pom/maths/vector/concepts.hpp"
#include "pom/maths/exceptions.hpp"
#include <iostream>
namespace pom {
namespace maths {
template<vector V> constexpr
V hash(V v) {
if(size(v) != 2) throw precondition_violation{
"Vector size was expected to be 2."};
... | 22.521739 | 95 | 0.594595 | [
"vector"
] |
ba19c9d095f3ea004ce2bf6a7b9cf0262078a5c0 | 10,032 | hh | C++ | gazebo/transport/TopicManager.hh | thomas-moulard/gazebo-deb | 456da84cfb7b0bdac53241f6c4e86ffe1becfa7d | [
"ECL-2.0",
"Apache-2.0"
] | 8 | 2015-07-02T08:23:30.000Z | 2020-11-17T19:00:38.000Z | gazebo/transport/TopicManager.hh | thomas-moulard/gazebo-deb | 456da84cfb7b0bdac53241f6c4e86ffe1becfa7d | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | gazebo/transport/TopicManager.hh | thomas-moulard/gazebo-deb | 456da84cfb7b0bdac53241f6c4e86ffe1becfa7d | [
"ECL-2.0",
"Apache-2.0"
] | 10 | 2015-04-22T18:33:15.000Z | 2021-11-16T10:17:45.000Z | /*
* Copyright 2012 Open Source Robotics Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... | 39.968127 | 80 | 0.622807 | [
"object",
"vector"
] |
ba214610980d1fb68dcd5b9c1f4e846f71d3a7af | 2,963 | cpp | C++ | core/fxcrt/fx_stream.cpp | KnIfER/pdfpdf | 2b918c8d05c922287efbc8858f029026cee31442 | [
"BSD-3-Clause"
] | 3 | 2019-01-12T07:06:18.000Z | 2019-10-13T08:07:26.000Z | core/fxcrt/fx_stream.cpp | KnIfER/pdf | 2b918c8d05c922287efbc8858f029026cee31442 | [
"BSD-3-Clause"
] | null | null | null | core/fxcrt/fx_stream.cpp | KnIfER/pdf | 2b918c8d05c922287efbc8858f029026cee31442 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2017 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#include "core/fxcrt/fx_stream.h"
#include <algorithm>
#include <memory>
#inc... | 29.63 | 80 | 0.735403 | [
"vector"
] |
ba23b63eea4d95979f101ed8d1592cd3f5c0cad4 | 33,097 | cpp | C++ | src/tests/unittests/validation/RenderPipelineValidationTests.cpp | softwarecapital/google.dawn | 045a02adc0c6b2d6b406507bc58131644b41dc0c | [
"Apache-2.0"
] | null | null | null | src/tests/unittests/validation/RenderPipelineValidationTests.cpp | softwarecapital/google.dawn | 045a02adc0c6b2d6b406507bc58131644b41dc0c | [
"Apache-2.0"
] | null | null | null | src/tests/unittests/validation/RenderPipelineValidationTests.cpp | softwarecapital/google.dawn | 045a02adc0c6b2d6b406507bc58131644b41dc0c | [
"Apache-2.0"
] | null | null | null | // Copyright 2017 The Dawn Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed t... | 41.683879 | 115 | 0.695229 | [
"render"
] |
ba3089dfb8c9e98f8a5d81c509727842dbe41a6b | 4,656 | cpp | C++ | ISA/tools.cpp | thanhdolong/VUT-FIT-BIT-Projects | 077164a2b1493f9223b25e7fc51bc0e3e90020b2 | [
"MIT"
] | null | null | null | ISA/tools.cpp | thanhdolong/VUT-FIT-BIT-Projects | 077164a2b1493f9223b25e7fc51bc0e3e90020b2 | [
"MIT"
] | null | null | null | ISA/tools.cpp | thanhdolong/VUT-FIT-BIT-Projects | 077164a2b1493f9223b25e7fc51bc0e3e90020b2 | [
"MIT"
] | null | null | null | // ISA Project
// Variant: LDAP server
//
// Author: Do Long Thanh
// <xdolon00@stud.fit.vutbr.cz>
#include <fstream>
#include <sstream>
#include <getopt.h>
#include <regex>
#include "tools.hpp"
#include "ldap.hpp"
/**
* Parses arguments and stores them in the class attributes.
* @param argc number of arguments
*... | 25.866667 | 120 | 0.5625 | [
"object"
] |
ba336a7c6caa181755370b77e1eb9de91e1ec17f | 2,876 | cpp | C++ | aws-cpp-sdk-migrationhubstrategy/source/model/ServerCriteria.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-02-12T08:09:30.000Z | 2022-02-12T08:09:30.000Z | aws-cpp-sdk-migrationhubstrategy/source/model/ServerCriteria.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2021-10-14T16:57:00.000Z | 2021-10-18T10:47:24.000Z | aws-cpp-sdk-migrationhubstrategy/source/model/ServerCriteria.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-12-30T04:25:33.000Z | 2021-12-30T04:25:33.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/migrationhubstrategy/model/ServerCriteria.h>
#include <aws/core/utils/HashingUtils.h>
#include <aws/core/Globals.h>
#include <aws/core/utils/EnumParseOverflowContainer.h>
using namespac... | 31.26087 | 92 | 0.616829 | [
"model"
] |
ba35fe465668f4a3189800bb179e081ac185e40e | 179,219 | cpp | C++ | test/ref_ops_test.cpp | sjw36/AMDMIGraphX | c310bc5cf9b3f8ea44823a386a1b8bd72014bf09 | [
"MIT"
] | null | null | null | test/ref_ops_test.cpp | sjw36/AMDMIGraphX | c310bc5cf9b3f8ea44823a386a1b8bd72014bf09 | [
"MIT"
] | null | null | null | test/ref_ops_test.cpp | sjw36/AMDMIGraphX | c310bc5cf9b3f8ea44823a386a1b8bd72014bf09 | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#include <migraphx/literal.hpp>
#include <migraphx/op/pooling.hpp>
#include <migraphx/op/batch_norm_inference.hpp>
#include <migraphx/instruction.hpp>
#include <migraphx/quantization.hpp>
#include <migraphx/ref/target.hpp>
#include <migraphx/quantization.hpp>
#include <migraphx/ver... | 45.234478 | 100 | 0.56311 | [
"shape",
"vector",
"3d"
] |
ba36d8c6745271004b7f9c18cbba88bd96a7c8fb | 17,298 | cpp | C++ | lib/popops/Gather.cpp | graphcore/poplibs | 3fe5a3ecafe995eddb72675d1b4a7af8a622009e | [
"MIT"
] | 95 | 2020-07-06T17:11:23.000Z | 2022-03-12T14:42:28.000Z | lib/popops/Gather.cpp | graphcore/poplibs | 3fe5a3ecafe995eddb72675d1b4a7af8a622009e | [
"MIT"
] | null | null | null | lib/popops/Gather.cpp | graphcore/poplibs | 3fe5a3ecafe995eddb72675d1b4a7af8a622009e | [
"MIT"
] | 14 | 2020-07-15T12:32:57.000Z | 2022-01-26T14:58:45.000Z | // Copyright (c) 2019 Graphcore Ltd. All rights reserved.
#include "popops/Gather.hpp"
#include "GatherInternal.hpp"
#include "poplibs_support/Tracepoint.hpp"
#include "poplibs_support/logging.hpp"
#include "popops/DynamicSlice.hpp"
#include "popops/ElementWise.hpp"
#include "popops/Pad.hpp"
#include "poputil/Broadcas... | 37.040685 | 80 | 0.672679 | [
"shape",
"vector",
"transform"
] |
ba3769814a3dc185adeef127f4310d8485dde1f0 | 17,019 | cc | C++ | content/renderer/media/webmediaplayer_ms_compositor.cc | Wzzzx/chromium-crosswalk | 768dde8efa71169f1c1113ca6ef322f1e8c9e7de | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2019-01-28T08:09:58.000Z | 2021-11-15T15:32:10.000Z | content/renderer/media/webmediaplayer_ms_compositor.cc | maidiHaitai/haitaibrowser | a232a56bcfb177913a14210e7733e0ea83a6b18d | [
"BSD-3-Clause"
] | null | null | null | content/renderer/media/webmediaplayer_ms_compositor.cc | maidiHaitai/haitaibrowser | a232a56bcfb177913a14210e7733e0ea83a6b18d | [
"BSD-3-Clause"
] | 6 | 2020-09-23T08:56:12.000Z | 2021-11-18T03:40:49.000Z | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/renderer/media/webmediaplayer_ms_compositor.h"
#include <stdint.h>
#include <string>
#include "base/command_line.h"
#include "base/has... | 39.034404 | 80 | 0.712909 | [
"render",
"vector"
] |
ba3a08ee0aecb4aa24da14f54b5f34ec8d721286 | 2,508 | cc | C++ | modules/audio_coding/neteq4/test/RTPtimeshift.cc | aleonliao/webrtc-3.31 | a282cc166883aea82a8149d64e82ca29aa9f27f1 | [
"DOC",
"BSD-3-Clause"
] | 7 | 2015-08-06T01:46:07.000Z | 2020-10-20T09:14:58.000Z | modules/audio_coding/neteq4/test/RTPtimeshift.cc | aleonliao/webrtc-3.31 | a282cc166883aea82a8149d64e82ca29aa9f27f1 | [
"DOC",
"BSD-3-Clause"
] | null | null | null | modules/audio_coding/neteq4/test/RTPtimeshift.cc | aleonliao/webrtc-3.31 | a282cc166883aea82a8149d64e82ca29aa9f27f1 | [
"DOC",
"BSD-3-Clause"
] | 16 | 2015-01-08T01:47:24.000Z | 2022-02-25T06:06:06.000Z | /*
* Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | 25.591837 | 97 | 0.611244 | [
"vector"
] |
ba3ca51dc046efaa77c2a190a5aa607348a44530 | 27,452 | cc | C++ | content/browser/browser_child_process_host_impl.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 | content/browser/browser_child_process_host_impl.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 | content/browser/browser_child_process_host_impl.cc | chromium/chromium | df46e572c3449a4b108d6e02fbe4f6d24cf98381 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/browser/browser_child_process_host_impl.h"
#include <memory>
#include "base/base_switches.h"
#include "base/bind.h"
#include "base... | 35.884967 | 80 | 0.736413 | [
"object"
] |
ba3ea24d4a91e765856d582a505fed55c0fa6590 | 3,961 | cc | C++ | e2e/trt/video_runner.cc | stanford-futuredata/smol | 82e2356755133cd1516dfbbbc782707eca70a34c | [
"Apache-2.0"
] | 1 | 2021-11-29T01:24:03.000Z | 2021-11-29T01:24:03.000Z | e2e/trt/video_runner.cc | stanford-futuredata/smol | 82e2356755133cd1516dfbbbc782707eca70a34c | [
"Apache-2.0"
] | 1 | 2021-11-29T09:29:14.000Z | 2021-12-13T02:31:55.000Z | e2e/trt/video_runner.cc | stanford-futuredata/smol | 82e2356755133cd1516dfbbbc782707eca70a34c | [
"Apache-2.0"
] | 1 | 2021-12-13T06:55:18.000Z | 2021-12-13T06:55:18.000Z | #include <fstream>
#include <string>
#include <vector>
#include <experimental/filesystem>
#include "yaml-cpp/yaml.h"
#include "include/video_data_loader.h"
#include "include/inference_server.h"
#include "include/video_experiment_server.h"
// Expects a validation directory as in pytorch
std::vector<std::string> GetFi... | 36.675926 | 99 | 0.657915 | [
"vector",
"model"
] |
ba41a480e1daf4fb0b9a07b0f3923d3d643aa0b1 | 5,107 | hpp | C++ | include/operon/operators/mutation.hpp | foolnotion/operon | 5faa938b98e0ee40e224eca8793db5f6a9934673 | [
"MIT"
] | 3 | 2019-10-29T09:36:18.000Z | 2020-08-17T08:31:37.000Z | include/operon/operators/mutation.hpp | foolnotion/operon | 5faa938b98e0ee40e224eca8793db5f6a9934673 | [
"MIT"
] | 3 | 2020-04-24T20:02:56.000Z | 2020-10-14T10:07:18.000Z | include/operon/operators/mutation.hpp | foolnotion/operon | 5faa938b98e0ee40e224eca8793db5f6a9934673 | [
"MIT"
] | 3 | 2020-01-29T05:36:03.000Z | 2020-05-31T06:48:52.000Z | // SPDX-License-Identifier: MIT
// SPDX-FileCopyrightText: Copyright 2019-2022 Heal Research
#ifndef OPERON_MUTATION_HPP
#define OPERON_MUTATION_HPP
#include <utility>
#include "operon/core/operator.hpp"
#include "operon/core/pset.hpp"
#include "operon/core/tree.hpp"
namespace Operon {
struct CoefficientInitialize... | 29.69186 | 122 | 0.687684 | [
"vector"
] |
ba464a3050c269927729ce42eda216b4be2b5c6f | 10,476 | cpp | C++ | tests/Unit/Parallel/Test_PhaseChangeMain.cpp | trami18/spectre | 6b1f6497bf2e26d1474bfadf143b3321942c40b4 | [
"MIT"
] | 2 | 2021-04-11T04:07:42.000Z | 2021-04-11T05:07:54.000Z | tests/Unit/Parallel/Test_PhaseChangeMain.cpp | trami18/spectre | 6b1f6497bf2e26d1474bfadf143b3321942c40b4 | [
"MIT"
] | null | null | null | tests/Unit/Parallel/Test_PhaseChangeMain.cpp | trami18/spectre | 6b1f6497bf2e26d1474bfadf143b3321942c40b4 | [
"MIT"
] | null | null | null | // Distributed under the MIT License.
// See LICENSE.txt for details.
#define CATCH_CONFIG_RUNNER
#include "Framework/TestingFramework.hpp"
#include <cstddef>
#include <string>
#include <tuple>
#include "DataStructures/DataBox/DataBox.hpp"
#include "DataStructures/DataBox/Tag.hpp"
#include "Parallel/Actions/SetupDa... | 38.233577 | 80 | 0.697881 | [
"vector"
] |
ba49d0a918449ffb00b5b4f42c5eae8467854f7c | 1,026 | cpp | C++ | platforms/leetcode/0240_longest_word_in_dictionary_through_deleting.cpp | idfumg/algorithms | 06f85c5a1d07a965df44219b5a6bf0d43a129256 | [
"MIT"
] | null | null | null | platforms/leetcode/0240_longest_word_in_dictionary_through_deleting.cpp | idfumg/algorithms | 06f85c5a1d07a965df44219b5a6bf0d43a129256 | [
"MIT"
] | null | null | null | platforms/leetcode/0240_longest_word_in_dictionary_through_deleting.cpp | idfumg/algorithms | 06f85c5a1d07a965df44219b5a6bf0d43a129256 | [
"MIT"
] | null | null | null | #include "../../template.hpp"
using i32 = std::int32_t;
using i64 = std::int64_t;
const i32 inf = 1'000'000'007;
const i32 mod = 1'000'000'007;
const i32 _io_ = ([](){ios_base::sync_with_stdio(0); cin.tie(0);return 0;})();
bool isLcs(string& s, string& t) {
i32 i = 0, j = 0, m = s.size(), n = t.size();
if (m ... | 29.314286 | 124 | 0.52729 | [
"vector"
] |
ba4a157b80926835348998da1018e05e93ca211b | 2,850 | cpp | C++ | src/Stack.cpp | mocklerlab/supersplat | a1f254f2bc95a872dc69877252894cebba637585 | [
"MIT"
] | 1 | 2015-06-25T09:16:35.000Z | 2015-06-25T09:16:35.000Z | src/Stack.cpp | mocklerlab/supersplat | a1f254f2bc95a872dc69877252894cebba637585 | [
"MIT"
] | null | null | null | src/Stack.cpp | mocklerlab/supersplat | a1f254f2bc95a872dc69877252894cebba637585 | [
"MIT"
] | null | null | null | /*
* Stack.cpp
*
* Created on: Apr 22, 2011
* Author: Douglas W Bryant Jr
*/
#include "Stack.h"
Stack::Stack(int argc, char** argv) {
m_dParams = new StackParameters();
if(argc < 9) { Stack::outputUsage(); return; }
else {
char* parameter;
for(int i = 1; i < argc; i++) {
parameter ... | 37.5 | 139 | 0.613333 | [
"vector"
] |
ba4a596c99c74c6422b993f1014aff8e8633a9f0 | 1,463 | hpp | C++ | include/multicontact-api/geometry/ellipsoid.hpp | proyan/multicontact-api | 3ff225a2a114044dda07ee9d933dc060a96cc359 | [
"BSD-2-Clause"
] | 1 | 2020-11-23T11:55:53.000Z | 2020-11-23T11:55:53.000Z | include/multicontact-api/geometry/ellipsoid.hpp | proyan/multicontact-api | 3ff225a2a114044dda07ee9d933dc060a96cc359 | [
"BSD-2-Clause"
] | 14 | 2020-03-13T13:28:23.000Z | 2022-03-25T12:23:27.000Z | include/multicontact-api/geometry/ellipsoid.hpp | proyan/multicontact-api | 3ff225a2a114044dda07ee9d933dc060a96cc359 | [
"BSD-2-Clause"
] | 4 | 2019-08-02T13:52:06.000Z | 2020-11-10T06:53:58.000Z | // Copyright (c) 2015-2018, CNRS
// Authors: Justin Carpentier <jcarpent@laas.fr>
#ifndef __multicontact_api_geometry_ellipsoid_hpp__
#define __multicontact_api_geometry_ellipsoid_hpp__
#include <Eigen/Dense>
#include <iostream>
#include "multicontact-api/geometry/fwd.hpp"
namespace multicontact_api {
namespace geo... | 27.603774 | 90 | 0.701982 | [
"geometry",
"vector"
] |
ba540f73f51e5b4446512962200a742b21992235 | 9,884 | cxx | C++ | Rendering/OpenGL2/vtkOpenGLSkybox.cxx | jpouderoux/VTK | 1af22bcce698e121b6c8064ea724636621d1bf7e | [
"BSD-3-Clause"
] | 1 | 2019-05-31T14:00:53.000Z | 2019-05-31T14:00:53.000Z | Rendering/OpenGL2/vtkOpenGLSkybox.cxx | Pandinosaurus/VTK | ff4d402a67189bb7f6b038fe51f9d4dc44e5c8c4 | [
"BSD-3-Clause"
] | null | null | null | Rendering/OpenGL2/vtkOpenGLSkybox.cxx | Pandinosaurus/VTK | ff4d402a67189bb7f6b038fe51f9d4dc44e5c8c4 | [
"BSD-3-Clause"
] | null | null | null | /*=========================================================================
Program: Visualization Toolkit
Module: vtkOpenGLSkybox.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software ... | 37.581749 | 95 | 0.618575 | [
"render"
] |
ba59addc61cda6abe89c9e1d770335f419ba3dbe | 526 | cpp | C++ | src/solutions/aoc_day.cpp | jtt9340/aoc2021 | 06e0636dd0fbc948d37fe4a6abf8f21557b22353 | [
"MIT"
] | null | null | null | src/solutions/aoc_day.cpp | jtt9340/aoc2021 | 06e0636dd0fbc948d37fe4a6abf8f21557b22353 | [
"MIT"
] | null | null | null | src/solutions/aoc_day.cpp | jtt9340/aoc2021 | 06e0636dd0fbc948d37fe4a6abf8f21557b22353 | [
"MIT"
] | null | null | null | #include <string>
#include <vector>
#include <iostream>
#include "aoc_day.h"
using namespace std;
AocDay::AocDay(int day):m_day(day)
{
}
AocDay::~AocDay()
{
}
string AocDay::part1(string &filename, vector<string> &extra_args)
{
cerr << "*****Part 1 implementation for day " << m_day << " is not defined*****" <<... | 18.137931 | 93 | 0.625475 | [
"vector"
] |
ba5b8e5eaab121ac105be5c7c80445838b6e655e | 11,227 | cpp | C++ | src/Watchdog/Server/Util.cpp | dolik-rce/thewatchdog | 875aa1cb165fe483c28a0c1cb6ae202c0abe54df | [
"BSD-2-Clause"
] | null | null | null | src/Watchdog/Server/Util.cpp | dolik-rce/thewatchdog | 875aa1cb165fe483c28a0c1cb6ae202c0abe54df | [
"BSD-2-Clause"
] | null | null | null | src/Watchdog/Server/Util.cpp | dolik-rce/thewatchdog | 875aa1cb165fe483c28a0c1cb6ae202c0abe54df | [
"BSD-2-Clause"
] | 1 | 2019-06-21T15:35:35.000Z | 2019-06-21T15:35:35.000Z | #include "Server.h"
#include <plugin/pcre/Pcre.h>
void CleanResults(){
SQL * Delete(RESULT)
.Where(STATUS==WD_INPROGRESS && START < GetUtcTime()-int(Ini::max_test_time));
}
void CleanAuth(){
SQL * Delete(AUTH).Where(VALID < GetUtcTime()-600);
}
CommitFilter::CommitFilter(Http& http, bool skipPaging){
//fi... | 26.730952 | 120 | 0.606752 | [
"vector"
] |
ba5d3acaf93dce75c3d875e29fbf4af331676250 | 20,775 | cpp | C++ | CP3/1.4/00139_Telephone_Tangles.cpp | phongvcao/Competitive_Programming_Books | 90734b0ffb21a43932a179d6d698281a6aefd9cb | [
"MIT"
] | null | null | null | CP3/1.4/00139_Telephone_Tangles.cpp | phongvcao/Competitive_Programming_Books | 90734b0ffb21a43932a179d6d698281a6aefd9cb | [
"MIT"
] | null | null | null | CP3/1.4/00139_Telephone_Tangles.cpp | phongvcao/Competitive_Programming_Books | 90734b0ffb21a43932a179d6d698281a6aefd9cb | [
"MIT"
] | null | null | null | //
// Created by Phong Cao.
//
// uncomment to disable assert()
// #define NDEBUG
#include <cassert>
#include <iostream>
#include <cstdio>
#include <iomanip>
#include <ios>
#include <sstream>
#include <fstream>
#include <string>
#include <cmath>
#include <cstdlib>
#include <ctime>
#include <functional>
#include <array... | 32.768139 | 140 | 0.480289 | [
"vector"
] |
ba5d554258408b6e60b6955d0a90363120abd0d0 | 3,506 | hpp | C++ | Nummerical Methods for CSE/PS12/rkintegrator_cus.hpp | valentinjacot/backupETHZ | 36605c4f532eb65efb4a391ed0f17a07102f7d5b | [
"MIT"
] | 1 | 2019-12-25T10:21:30.000Z | 2019-12-25T10:21:30.000Z | Nummerical Methods for CSE/PS12/rkintegrator_cus.hpp | valentinjacot/backupETHZ | 36605c4f532eb65efb4a391ed0f17a07102f7d5b | [
"MIT"
] | null | null | null | Nummerical Methods for CSE/PS12/rkintegrator_cus.hpp | valentinjacot/backupETHZ | 36605c4f532eb65efb4a391ed0f17a07102f7d5b | [
"MIT"
] | null | null | null | #pragma once
#include <vector>
#include <cassert>
#include <iostream>
#include <iomanip>
#include <Eigen/Dense>
//! \file rkintegrator.hpp Solution for Problem 1a, implementing RkIntegrator class
//! \brief Implements a Runge-Kutta explicit solver for a given Butcher tableau for autonomous ODEs
//! \tparam State a... | 38.527473 | 122 | 0.650314 | [
"vector"
] |
ba6068e3cfffc09165ef6844de7454d3a7b3bfa4 | 1,744 | cpp | C++ | Failed/1152B-failed.cpp | fahimfarhan/legendary-coding-odyssey | 55289e05aa04f866201c607bed00c505cd9c4df9 | [
"MIT"
] | 3 | 2019-07-20T07:26:31.000Z | 2020-08-06T09:31:09.000Z | Failed/1152B-failed.cpp | fahimfarhan/legendary-coding-odyssey | 55289e05aa04f866201c607bed00c505cd9c4df9 | [
"MIT"
] | null | null | null | Failed/1152B-failed.cpp | fahimfarhan/legendary-coding-odyssey | 55289e05aa04f866201c607bed00c505cd9c4df9 | [
"MIT"
] | 4 | 2019-06-20T18:43:32.000Z | 2020-10-07T16:45:23.000Z | #include <bits/stdc++.h>
using namespace std;
#define PI 2*acos(0)
#define ll unsigned int
bool myAssert(bool b);
void testDrivenDevelopment();
int start(int argc=0, char const *argv[] = NULL);
// int n,m;
vector<int> *g;
bool *isvisited;
int getNumberOfOnes(const ll& m){
ll n = m;
int mycount = 0;
wh... | 18.553191 | 58 | 0.534977 | [
"vector"
] |
ba611d6e5044938a1a6123f94de09b10cdd18647 | 31,796 | cpp | C++ | Stardust/src/graphics/renderer/Renderer.cpp | LucidSigma/stardust | 7012b46b0e75fa272e0bd39f3a1cc483c29fc10c | [
"MIT"
] | 7 | 2020-10-08T11:40:53.000Z | 2022-03-30T10:40:06.000Z | Stardust/src/graphics/renderer/Renderer.cpp | LucidSigma/stardust | 7012b46b0e75fa272e0bd39f3a1cc483c29fc10c | [
"MIT"
] | 1 | 2020-10-08T11:44:27.000Z | 2020-12-01T08:43:19.000Z | Stardust/src/graphics/renderer/Renderer.cpp | LucidSigma/stardust | 7012b46b0e75fa272e0bd39f3a1cc483c29fc10c | [
"MIT"
] | null | null | null | #include "stardust/graphics/renderer/Renderer.h"
#include <algorithm>
#include <numeric>
#include <utility>
#include "stardust/graphics/renderer/objects/BufferUsage.h"
#include "stardust/graphics/shaders/Shader.h"
#include "stardust/graphics/colour/Colours.h"
namespace stardust
{
Renderer::Renderer(const CreateI... | 35.526257 | 211 | 0.626966 | [
"vector",
"transform"
] |
ba627fedb495e71bb50cdf777081cb74d5bdd7db | 6,028 | cpp | C++ | cppcryptfs/dokan/MountPointManager.cpp | thesmiley1/cppcryptfs | e655b18f59bfaa9cf046208cfd04811fb4f355d7 | [
"MIT"
] | null | null | null | cppcryptfs/dokan/MountPointManager.cpp | thesmiley1/cppcryptfs | e655b18f59bfaa9cf046208cfd04811fb4f355d7 | [
"MIT"
] | null | null | null | cppcryptfs/dokan/MountPointManager.cpp | thesmiley1/cppcryptfs | e655b18f59bfaa9cf046208cfd04811fb4f355d7 | [
"MIT"
] | null | null | null | /*
cppcryptfs : user-mode cryptographic virtual overlay filesystem.
Copyright (C) 2016-2019 Bailey Brown (github.com/bailey27/cppcryptfs)
cppcryptfs is based on the design of gocryptfs (github.com/rfjakob/gocryptfs)
The MIT License (MIT)
Permission is hereby granted, free of charge, to any person obtaining... | 24.704918 | 110 | 0.662575 | [
"vector"
] |
ba63c29a72784565a775d747f9ce6df198eb3f81 | 20,311 | cpp | C++ | src/webots/gui/WbVideoRecorder.cpp | jbnunn/webots | 4f07a74a0631952a7b098e99f0ab92878051e256 | [
"Apache-2.0"
] | null | null | null | src/webots/gui/WbVideoRecorder.cpp | jbnunn/webots | 4f07a74a0631952a7b098e99f0ab92878051e256 | [
"Apache-2.0"
] | null | null | null | src/webots/gui/WbVideoRecorder.cpp | jbnunn/webots | 4f07a74a0631952a7b098e99f0ab92878051e256 | [
"Apache-2.0"
] | 1 | 2020-09-25T02:01:45.000Z | 2020-09-25T02:01:45.000Z | // Copyright 1996-2019 Cyberbotics 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 agr... | 36.140569 | 126 | 0.70351 | [
"3d"
] |
ba64ef807847a8da93df175ee79e9132376fba9e | 718 | cpp | C++ | 1201-1300/1297-Maximum Number of Occurrences of a Substring/1297-Maximum Number of Occurrences of a Substring.cpp | jiadaizhao/LeetCode | 4ddea0a532fe7c5d053ffbd6870174ec99fc2d60 | [
"MIT"
] | 49 | 2018-05-05T02:53:10.000Z | 2022-03-30T12:08:09.000Z | 1201-1300/1297-Maximum Number of Occurrences of a Substring/1297-Maximum Number of Occurrences of a Substring.cpp | jolly-fellow/LeetCode | ab20b3ec137ed05fad1edda1c30db04ab355486f | [
"MIT"
] | 11 | 2017-12-15T22:31:44.000Z | 2020-10-02T12:42:49.000Z | 1201-1300/1297-Maximum Number of Occurrences of a Substring/1297-Maximum Number of Occurrences of a Substring.cpp | jolly-fellow/LeetCode | ab20b3ec137ed05fad1edda1c30db04ab355486f | [
"MIT"
] | 28 | 2017-12-05T10:56:51.000Z | 2022-01-26T18:18:27.000Z | class Solution {
public:
int maxFreq(string s, int maxLetters, int minSize, int maxSize) {
vector<int> table(26);
unordered_map<string, int> count;
int letter = 0, start = 0, maxCount = 0;
for (int i = 0; i < s.size(); ++i) {
if (++table[s[i] - 'a'] == 1) {
... | 28.72 | 76 | 0.410864 | [
"vector"
] |
ba6f6f089a3fae1c2d69847e22f226b661015be5 | 18,765 | cpp | C++ | src/multiview_geometry/sfm_inc.cpp | bo-rc/3dv_tutorial | 23189f66aba5c296f16e9902a88d62c3cc932f20 | [
"Beerware"
] | 791 | 2017-02-08T16:55:24.000Z | 2022-02-11T06:03:05.000Z | src/multiview_geometry/sfm_inc.cpp | bo-rc/3dv_tutorial | 23189f66aba5c296f16e9902a88d62c3cc932f20 | [
"Beerware"
] | 7 | 2017-04-16T17:45:41.000Z | 2021-11-21T16:56:55.000Z | src/multiview_geometry/sfm_inc.cpp | bo-rc/3dv_tutorial | 23189f66aba5c296f16e9902a88d62c3cc932f20 | [
"Beerware"
] | 204 | 2017-02-08T10:22:21.000Z | 2022-01-27T05:06:20.000Z | #include "sfm.hpp"
#include <unordered_set>
cv::Mat getCameraMat(const SFM::Vec9d& camera)
{
const double &f = camera[6], &cx = camera[7], &cy = camera[8];
cv::Mat K = (cv::Mat_<double>(3, 3) << f, 0, cx, 0, f, cy, 0, 0, 1);
return K;
}
cv::Mat getProjectionMat(const SFM::Vec9d& camera)
{
... | 50.308311 | 210 | 0.558753 | [
"geometry",
"vector",
"3d"
] |
ba729ff925c4f49c2940f1f5b25ff1f0a336934b | 6,999 | cpp | C++ | third_party/CppAD/example/atomic_three/dynamic.cpp | eric-heiden/tds-merge | 1e18447b0096efbb6df5d9ad7d69c8b0cc282747 | [
"Apache-2.0"
] | null | null | null | third_party/CppAD/example/atomic_three/dynamic.cpp | eric-heiden/tds-merge | 1e18447b0096efbb6df5d9ad7d69c8b0cc282747 | [
"Apache-2.0"
] | null | null | null | third_party/CppAD/example/atomic_three/dynamic.cpp | eric-heiden/tds-merge | 1e18447b0096efbb6df5d9ad7d69c8b0cc282747 | [
"Apache-2.0"
] | null | null | null | /* --------------------------------------------------------------------------
CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-19 Bradley M. Bell
CppAD is distributed under the terms of the
Eclipse Public License Version 2.0.
This Source Code may also be made available under the following
Secon... | 30.969027 | 79 | 0.540934 | [
"object",
"vector"
] |
ba7a5c97fdb06cca684d157c373ead583416dc63 | 5,417 | cpp | C++ | EZOJ/Contests/1394/B.cpp | sshockwave/Online-Judge-Solutions | 9d0bc7fd68c3d1f661622929c1cb3752601881d3 | [
"MIT"
] | 6 | 2019-09-30T16:11:00.000Z | 2021-11-01T11:42:33.000Z | EZOJ/Contests/1394/B.cpp | sshockwave/Online-Judge-Solutions | 9d0bc7fd68c3d1f661622929c1cb3752601881d3 | [
"MIT"
] | 4 | 2017-11-21T08:17:42.000Z | 2020-07-28T12:09:52.000Z | EZOJ/Contests/1394/B.cpp | sshockwave/Online-Judge-Solutions | 9d0bc7fd68c3d1f661622929c1cb3752601881d3 | [
"MIT"
] | 4 | 2017-07-26T05:54:06.000Z | 2020-09-30T13:35:38.000Z | #include <iostream>
#include <cstdio>
#include <cstring>
#include <cassert>
#include <cctype>
#include <vector>
using namespace std;
typedef long long lint;
#define cout cerr
#define ni (next_num<int>())
template<class T>inline T next_num(){
T i=0;char c;
while(!isdigit(c=getchar())&&c!='-');
bool flag=c=='-';
flag... | 18.488055 | 76 | 0.512461 | [
"vector"
] |
ba7d1602d0f5859fb619e8caf8b6718ecc8b3113 | 461 | hpp | C++ | lockhandler.hpp | gwint/distributed-key-value-store | 4450c1381f993fa4b094583db216e494cd58bc7f | [
"MIT"
] | 5 | 2020-08-01T14:41:19.000Z | 2022-01-16T03:26:33.000Z | lockhandler.hpp | gwint/distributed-key-value-store | 4450c1381f993fa4b094583db216e494cd58bc7f | [
"MIT"
] | 2 | 2021-06-18T00:56:51.000Z | 2021-07-05T15:26:39.000Z | lockhandler.hpp | gwint/distributed-key-value-store | 4450c1381f993fa4b094583db216e494cd58bc7f | [
"MIT"
] | null | null | null | #ifndef LOCK_HANDLER_H
#define LOCK_HANDLER_H
#include <pthread.h>
#include <vector>
#include <algorithm>
#include <initializer_list>
#include "locknames.hpp"
class LockHandler {
private:
std::vector<pthread_mutex_t> mutexes;
public:
LockHandler(int);
void acquireLocks(std::initializ... | 20.043478 | 59 | 0.700651 | [
"vector"
] |
ba7e87fd0b88af28685e5b87123c886777e3ea42 | 4,140 | cpp | C++ | contracts/eosio.distribute/src/eosio.distribute.cpp | EOS-Nation/eosio.contracts | 7ee1ede8e5307f9cd03a22b40e0d985a9c431a2e | [
"MIT"
] | null | null | null | contracts/eosio.distribute/src/eosio.distribute.cpp | EOS-Nation/eosio.contracts | 7ee1ede8e5307f9cd03a22b40e0d985a9c431a2e | [
"MIT"
] | null | null | null | contracts/eosio.distribute/src/eosio.distribute.cpp | EOS-Nation/eosio.contracts | 7ee1ede8e5307f9cd03a22b40e0d985a9c431a2e | [
"MIT"
] | null | null | null | #include <eosio.distribute/eosio.distribute.hpp>
#include <eosio.token/eosio.token.hpp>
namespace eosiodistribute {
using eosio::token;
distribute_contract::distribute_contract( name s, name code, datastream<const char*> ds )
:contract(s,code,ds),
_distrib_singleton(get_self(), get_self().value),
... | 43.578947 | 134 | 0.567874 | [
"vector"
] |
ba812fc9eadb3705a37400e99d4712060d69045d | 500 | cpp | C++ | VGP332/HelloPathfinding/GameState.cpp | CyroPCJr/OmegaEngine | 65fbd6cff54266a9c934e3a875a4493d26758661 | [
"MIT"
] | 1 | 2021-04-23T19:18:12.000Z | 2021-04-23T19:18:12.000Z | VGP332/HelloPathfinding/GameState.cpp | CyroPCJr/OmegaEngine | 65fbd6cff54266a9c934e3a875a4493d26758661 | [
"MIT"
] | null | null | null | VGP332/HelloPathfinding/GameState.cpp | CyroPCJr/OmegaEngine | 65fbd6cff54266a9c934e3a875a4493d26758661 | [
"MIT"
] | 1 | 2021-06-15T10:42:08.000Z | 2021-06-15T10:42:08.000Z | #include "GameState.h"
using namespace PathFinding;
using namespace Omega::Graphics;
void GameState::Initialize()
{
mTileMap.Load();
}
void GameState::Terminate()
{
mTileMap.UnLoad();
}
void GameState::Update(float deltaTime)
{
mTileMap.Update(deltaTime);
}
void GameState::Render()
{
mTil... | 16.129032 | 74 | 0.686 | [
"render"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.