hexsha stringlengths 40 40 | size int64 7 1.05M | ext stringclasses 13
values | lang stringclasses 1
value | max_stars_repo_path stringlengths 4 269 | max_stars_repo_name stringlengths 5 108 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 9 | max_stars_count int64 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 4 269 | max_issues_repo_name stringlengths 5 116 | max_issues_repo_head_hexsha stringlengths 40 40 | max_issues_repo_licenses listlengths 1 9 | max_issues_count int64 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 4 269 | max_forks_repo_name stringlengths 5 116 | max_forks_repo_head_hexsha stringlengths 40 40 | max_forks_repo_licenses listlengths 1 9 | max_forks_count int64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 7 1.05M | avg_line_length float64 1.21 330k | max_line_length int64 6 990k | alphanum_fraction float64 0.01 0.99 | author_id stringlengths 2 40 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a95162bd45b7b0ec0f5efe2a97c1b2974d3e52af | 3,262 | cpp | C++ | training/HDU/5880.cpp | voleking/ICPC | fc2cf408fa2607ad29b01eb00a1a212e6d0860a5 | [
"MIT"
] | 68 | 2017-10-08T04:44:23.000Z | 2019-08-06T20:15:02.000Z | training/HDU/5880.cpp | voleking/ICPC | fc2cf408fa2607ad29b01eb00a1a212e6d0860a5 | [
"MIT"
] | null | null | null | training/HDU/5880.cpp | voleking/ICPC | fc2cf408fa2607ad29b01eb00a1a212e6d0860a5 | [
"MIT"
] | 18 | 2017-05-31T02:52:23.000Z | 2019-07-05T09:18:34.000Z | #include <bits/stdc++.h>
#define IOS std::ios::sync_with_stdio(false); std::cin.tie(nullptr); std::cout.tie(nullptr);
// #define __DEBUG__
#ifdef __DEBUG__
#define DEBUG(...) printf(__VA_ARGS__)
#else
#define DEBUG(...)
#endif
#define filename ""
#define setfile() freopen(filename".in", "r", stdin); freope... | 25.092308 | 92 | 0.400061 | voleking |
a951c3ac39642012c75ac7abf687667c5fbdc250 | 2,475 | cpp | C++ | LibCarla/source/carla/geom/GeoLocation.cpp | simon0628/carla | b49664f94f87291be36805315593571678c8da28 | [
"MIT"
] | null | null | null | LibCarla/source/carla/geom/GeoLocation.cpp | simon0628/carla | b49664f94f87291be36805315593571678c8da28 | [
"MIT"
] | null | null | null | LibCarla/source/carla/geom/GeoLocation.cpp | simon0628/carla | b49664f94f87291be36805315593571678c8da28 | [
"MIT"
] | 1 | 2019-05-28T18:49:44.000Z | 2019-05-28T18:49:44.000Z | // Copyright (c) 2017 Computer Vision Center (CVC) at the Universitat Autonoma
// de Barcelona (UAB).
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
#include "carla/geom/GeoLocation.h"
#include "carla/geom/Location.h"
#include "carla/geom/Math... | 32.142857 | 102 | 0.671111 | simon0628 |
a951e001cfe5b4ebabed0c9303b5a0121317ef1a | 427 | cpp | C++ | src/main.cpp | scotto3394/go-bot | b4f45fc796160c7f1e1c8bb593fc1a6c48bc9365 | [
"MIT"
] | null | null | null | src/main.cpp | scotto3394/go-bot | b4f45fc796160c7f1e1c8bb593fc1a6c48bc9365 | [
"MIT"
] | null | null | null | src/main.cpp | scotto3394/go-bot | b4f45fc796160c7f1e1c8bb593fc1a6c48bc9365 | [
"MIT"
] | null | null | null | #include <iostream>
#include "include/rules.hpp"
#include "include/helper.hpp"
int main(int argc, char **argv)
{
std::ios::sync_with_stdio(false);
Game game(BoardSize::SMALL, atoi(argv[1]));
while (true)
{
size_t c, r;
game.render();
input_play(game, game.get_turn());
i... | 20.333333 | 47 | 0.548009 | scotto3394 |
a953393a7ad63fc028bfb973bbc6cb3acb0d13aa | 6,051 | hpp | C++ | include/cxxdasp/filter/tsvf/tsvf.hpp | h6ah4i/cxxdasp | 44bf437ad688760265ea10d2dc7cb3c57e0e7008 | [
"Apache-2.0"
] | 35 | 2015-01-28T07:49:02.000Z | 2020-10-04T17:38:46.000Z | include/cxxdasp/filter/tsvf/tsvf.hpp | h6ah4i/cxxdasp | 44bf437ad688760265ea10d2dc7cb3c57e0e7008 | [
"Apache-2.0"
] | 1 | 2018-02-16T10:45:19.000Z | 2018-02-21T19:04:57.000Z | include/cxxdasp/filter/tsvf/tsvf.hpp | h6ah4i/cxxdasp | 44bf437ad688760265ea10d2dc7cb3c57e0e7008 | [
"Apache-2.0"
] | 10 | 2015-01-28T07:49:02.000Z | 2022-03-08T00:51:51.000Z | //
// Copyright (C) 2014 Haruki Hasegawa
//
// 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 ap... | 29.955446 | 119 | 0.713932 | h6ah4i |
a95947b628f2cca2c3a5d4eae42bc87f15138940 | 723 | cpp | C++ | C++/21. MergeTwoSortedLists.cpp | nizD/LeetCode-Solutions | 7f4ca37bab795e0d6f9bfd9148a8fe3b62aa5349 | [
"MIT"
] | 263 | 2020-10-05T18:47:29.000Z | 2022-03-31T19:44:46.000Z | C++/21. MergeTwoSortedLists.cpp | nizD/LeetCode-Solutions | 7f4ca37bab795e0d6f9bfd9148a8fe3b62aa5349 | [
"MIT"
] | 1,264 | 2020-10-05T18:13:05.000Z | 2022-03-31T23:16:35.000Z | C++/21. MergeTwoSortedLists.cpp | nizD/LeetCode-Solutions | 7f4ca37bab795e0d6f9bfd9148a8fe3b62aa5349 | [
"MIT"
] | 760 | 2020-10-05T18:22:51.000Z | 2022-03-29T06:06:20.000Z | /*
21. Merge Two Sorted Lists
https://leetcode.com/problems/merge-two-sorted-lists/
Merge two sorted linked lists and return it as a new sorted list. The new list should be made by splicing together the nodes of the first two lists.
*/
/*
Solution:
-> Simple and short recursive code that works by pointer manipu... | 20.657143 | 148 | 0.662517 | nizD |
a95951225ff22873115c9c2b150972321e27f66a | 2,711 | hh | C++ | src/project.hh | LeszekSwirski/ccls | a10d53071ce678a28d9444a6325605d6e22f589f | [
"Apache-2.0"
] | null | null | null | src/project.hh | LeszekSwirski/ccls | a10d53071ce678a28d9444a6325605d6e22f589f | [
"Apache-2.0"
] | null | null | null | src/project.hh | LeszekSwirski/ccls | a10d53071ce678a28d9444a6325605d6e22f589f | [
"Apache-2.0"
] | null | null | null | /* Copyright 2017-2018 ccls 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 to in writing, software... | 33.469136 | 80 | 0.704168 | LeszekSwirski |
a95c4a434df29fdba686b0aa8111a8bf6d41ee6c | 338 | hpp | C++ | falcon/helper/use_difference_type.hpp | jonathanpoelen/falcon | 5b60a39787eedf15b801d83384193a05efd41a89 | [
"MIT"
] | 2 | 2018-02-02T14:19:59.000Z | 2018-05-13T02:48:24.000Z | falcon/helper/use_difference_type.hpp | jonathanpoelen/falcon | 5b60a39787eedf15b801d83384193a05efd41a89 | [
"MIT"
] | null | null | null | falcon/helper/use_difference_type.hpp | jonathanpoelen/falcon | 5b60a39787eedf15b801d83384193a05efd41a89 | [
"MIT"
] | null | null | null | #ifndef FALCON_HELPER_USE_DIFFERENCE_TYPE_HPP
#define FALCON_HELPER_USE_DIFFERENCE_TYPE_HPP
#include <falcon/type_traits/use_def.hpp>
namespace falcon {
namespace _aux {
FALCON_USE_XXX_TRAIT_NAMED_DEF(difference_type, use_difference_type);
}
template <class T>
struct use_difference_type
: _aux::use_difference_type<... | 16.9 | 69 | 0.828402 | jonathanpoelen |
a963135e2d002e028dbe1812a1c09a85853775ac | 1,913 | cc | C++ | leetcode/16-3sum-closest.cc | Stone-Zeng/toys | ca040cb1b1546cdb422940f3785c6b1a5624bc89 | [
"MIT"
] | 6 | 2019-03-11T10:38:02.000Z | 2022-01-07T08:55:58.000Z | leetcode/16-3sum-closest.cc | Stone-Zeng/toys | ca040cb1b1546cdb422940f3785c6b1a5624bc89 | [
"MIT"
] | null | null | null | leetcode/16-3sum-closest.cc | Stone-Zeng/toys | ca040cb1b1546cdb422940f3785c6b1a5624bc89 | [
"MIT"
] | 1 | 2021-03-05T02:03:11.000Z | 2021-03-05T02:03:11.000Z | // 16. 3Sum Closest
// https://leetcode.com/problems/3sum-closest/
#include <algorithm>
#include <climits>
#include <iostream>
#include <numeric>
#include <vector>
#include "leetcode_util.h"
using namespace std;
class Solution {
public:
int threeSumClosest(vector<int> & nums, int target) {
if (nums.size()... | 36.788462 | 294 | 0.467329 | Stone-Zeng |
a968e015a319d86f23e6e06e970916c1b9c060a1 | 495 | hpp | C++ | src/code/Library/RandomSynthesizer.hpp | 1iyiwei/texture | eaa78c00666060ca0a51c69920031b367c265e7d | [
"MIT"
] | 33 | 2017-04-13T18:32:42.000Z | 2021-12-21T07:53:59.000Z | src/code/Library/RandomSynthesizer.hpp | 1iyiwei/texture | eaa78c00666060ca0a51c69920031b367c265e7d | [
"MIT"
] | 1 | 2021-09-24T07:21:03.000Z | 2021-09-29T23:39:41.000Z | src/code/Library/RandomSynthesizer.hpp | 1iyiwei/texture | eaa78c00666060ca0a51c69920031b367c265e7d | [
"MIT"
] | 5 | 2017-04-12T17:46:03.000Z | 2021-03-31T00:50:12.000Z | /*
RandomSynthesizer.hpp
randomly copy from source to target; good for initialization
Li-Yi Wei
August 17, 2014
*/
#ifndef _RANDOM_SYNTHESIZER_HPP
#define _RANDOM_SYNTHESIZER_HPP
#include "Synthesizer.hpp"
class RandomSynthesizer : public Synthesizer
{
public:
RandomSynthesizer(const Texture & source)... | 17.068966 | 81 | 0.751515 | 1iyiwei |
a96b79f4185018511ad52836bd23a6c7b577afcc | 876 | cpp | C++ | src/frontends/tensorflow/src/op/slice.cpp | ryanloney/openvino-1 | 4e0a740eb3ee31062ba0df88fcf438564f67edb7 | [
"Apache-2.0"
] | 1,127 | 2018-10-15T14:36:58.000Z | 2020-04-20T09:29:44.000Z | src/frontends/tensorflow/src/op/slice.cpp | ryanloney/openvino-1 | 4e0a740eb3ee31062ba0df88fcf438564f67edb7 | [
"Apache-2.0"
] | 439 | 2018-10-20T04:40:35.000Z | 2020-04-19T05:56:25.000Z | src/frontends/tensorflow/src/op/slice.cpp | ryanloney/openvino-1 | 4e0a740eb3ee31062ba0df88fcf438564f67edb7 | [
"Apache-2.0"
] | 414 | 2018-10-17T05:53:46.000Z | 2020-04-16T17:29:53.000Z | // Copyright (C) 2018-2022 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include "op_table.hpp"
#include "openvino/opsets/opset8.hpp"
using namespace std;
using namespace ov::opset8;
namespace ov {
namespace frontend {
namespace tensorflow {
namespace op {
OutputVector translate_slice_op(const NodeCo... | 25.028571 | 64 | 0.697489 | ryanloney |
a96d3f67fa71635807792fd2038e9c3b8deb3d28 | 355 | cc | C++ | 01_Basics/Variables3.cc | SEEM87/UdemyCpp | b1fe398c7134c74760341c9620eabca6c64043a9 | [
"MIT"
] | 14 | 2020-12-18T20:00:49.000Z | 2022-02-23T12:44:26.000Z | 01_Basics/Variables3.cc | SEEM87/UdemyCpp | b1fe398c7134c74760341c9620eabca6c64043a9 | [
"MIT"
] | null | null | null | 01_Basics/Variables3.cc | SEEM87/UdemyCpp | b1fe398c7134c74760341c9620eabca6c64043a9 | [
"MIT"
] | 56 | 2020-11-07T20:14:22.000Z | 2022-03-31T12:36:09.000Z | #include <iostream>
int main()
{
// 1 Byte = 8bit
bool my_value0 = true; // false
// 1 Byte = 8bit
char my_value1 = 10;
// 2 Byte = 16bit
short my_value2 = 42;
// 4 Byte = 32bit
int my_value3 = 22;
// 4 Byte = 32bit
float my_value4 = 12.0f;
// 8 Byte = 64bit
double ... | 14.2 | 35 | 0.535211 | SEEM87 |
a96d9b4f9ac6218ac8509ce53b7741a842560504 | 899 | cpp | C++ | DSAA2/TestFastDisjSets.cpp | crosslife/DSAA | 03472db6e61582187192073b6ea4649b6195222b | [
"MIT"
] | 5 | 2017-03-30T23:23:08.000Z | 2020-11-08T00:34:46.000Z | DSAA2/TestFastDisjSets.cpp | crosslife/DSAA | 03472db6e61582187192073b6ea4649b6195222b | [
"MIT"
] | null | null | null | DSAA2/TestFastDisjSets.cpp | crosslife/DSAA | 03472db6e61582187192073b6ea4649b6195222b | [
"MIT"
] | 1 | 2019-04-12T13:17:31.000Z | 2019-04-12T13:17:31.000Z | #include <iostream.h>
#include "DisjSets.h"
// Test main; all finds on same output line should be identical
int main( )
{
int numElements = 128;
int numInSameSet = 16;
DisjSets ds( numElements );
int set1, set2;
for( ... | 27.242424 | 71 | 0.362625 | crosslife |
a96f83fa944ce9f5991efb911079510f47668262 | 6,810 | cpp | C++ | hamlet/utilities.cpp | delta4k/infinitelemurs | f0e09dcfdcf3b3e562775a7f6c8b979fed222038 | [
"Apache-2.0"
] | null | null | null | hamlet/utilities.cpp | delta4k/infinitelemurs | f0e09dcfdcf3b3e562775a7f6c8b979fed222038 | [
"Apache-2.0"
] | null | null | null | hamlet/utilities.cpp | delta4k/infinitelemurs | f0e09dcfdcf3b3e562775a7f6c8b979fed222038 | [
"Apache-2.0"
] | null | null | null |
/*****************************************************************************\
Copyright (c) 2011-2017
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.apach... | 30 | 100 | 0.483847 | delta4k |
a972820ceae78b393e924d578b031d5218c3d373 | 19,771 | cpp | C++ | test/test_style.cpp | fargies/rapidyaml | 6fd373c860b1eef3b190a521acabebc2fd2dcb04 | [
"MIT"
] | null | null | null | test/test_style.cpp | fargies/rapidyaml | 6fd373c860b1eef3b190a521acabebc2fd2dcb04 | [
"MIT"
] | null | null | null | test/test_style.cpp | fargies/rapidyaml | 6fd373c860b1eef3b190a521acabebc2fd2dcb04 | [
"MIT"
] | null | null | null | #ifndef RYML_SINGLE_HEADER
#include "c4/yml/std/std.hpp"
#include "c4/yml/parse.hpp"
#include "c4/yml/emit.hpp"
#include <c4/format.hpp>
#include <c4/yml/detail/checks.hpp>
#include <c4/yml/detail/print.hpp>
#endif
#include "./test_case.hpp"
#include <gtest/gtest.h>
namespace c4 {
namespace yml {
std::string emit2s... | 32.04376 | 91 | 0.530019 | fargies |
a973eeb8b5a9e4755937fe237f6a9d598744d314 | 26,091 | cc | C++ | src/storage/fshost/block-watcher-test.cc | oshunter/fuchsia | 2196fc8c176d01969466b97bba3f31ec55f7767b | [
"BSD-3-Clause"
] | 2 | 2020-08-16T15:32:35.000Z | 2021-11-07T20:09:46.000Z | src/storage/fshost/block-watcher-test.cc | oshunter/fuchsia | 2196fc8c176d01969466b97bba3f31ec55f7767b | [
"BSD-3-Clause"
] | null | null | null | src/storage/fshost/block-watcher-test.cc | oshunter/fuchsia | 2196fc8c176d01969466b97bba3f31ec55f7767b | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2019 The Fuchsia 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 <fuchsia/device/llcpp/fidl.h>
#include <fuchsia/fshost/llcpp/fidl.h>
#include <lib/devmgr-integration-test/fixture.h>
#include <lib/driver-integra... | 33.928479 | 99 | 0.722126 | oshunter |
a974357023fc1fe8281e98082fb732e715eb2cab | 700 | cpp | C++ | source/flow/audio-source-impl.cpp | Breush/lava | 1b1b1f0785300b93b4a9f35fca4490502fea6552 | [
"MIT"
] | 15 | 2018-02-26T08:20:03.000Z | 2022-03-06T03:25:46.000Z | source/flow/audio-source-impl.cpp | Breush/lava | 1b1b1f0785300b93b4a9f35fca4490502fea6552 | [
"MIT"
] | 32 | 2018-02-26T08:26:38.000Z | 2020-09-12T17:09:38.000Z | source/flow/audio-source-impl.cpp | Breush/lava | 1b1b1f0785300b93b4a9f35fca4490502fea6552 | [
"MIT"
] | null | null | null | #include "./audio-source-impl.hpp"
#include "./audio-engine-impl.hpp"
using namespace lava::flow;
AudioSource::Impl::Impl(AudioEngine::Impl& engine)
: m_engine(engine)
{
}
void AudioSource::Impl::playing(bool playing)
{
m_playing = playing;
playing ? restart() : finish();
}
void AudioSource::Impl::loop... | 16.666667 | 59 | 0.648571 | Breush |
a97465d5dcfdac6d6d37e719b5a6e78052a39cd4 | 1,095 | cpp | C++ | src/caps/cap_osc_selection.cpp | stonewell/wxglterm | 27480ed01e2832e98785b517ac17037a71cefe7c | [
"MIT"
] | 12 | 2017-11-23T16:02:41.000Z | 2019-12-29T08:36:36.000Z | src/caps/cap_osc_selection.cpp | stonewell/wxglterm | 27480ed01e2832e98785b517ac17037a71cefe7c | [
"MIT"
] | 9 | 2017-12-04T15:55:51.000Z | 2019-11-01T13:08:21.000Z | src/caps/cap_osc_selection.cpp | stonewell/wxglterm | 27480ed01e2832e98785b517ac17037a71cefe7c | [
"MIT"
] | 5 | 2018-09-02T07:35:13.000Z | 2019-12-29T08:36:37.000Z | #include "term_buffer.h"
#include "term_window.h"
#include "term_network.h"
#include "cap_manager.h"
#include "term_cell.h"
#include "string_utils.h"
#include <string.h>
#include <iostream>
#include <sstream>
#include <iterator>
DEFINE_CAP(osc_selection_request);
void osc_selection_request(term_data_context_s & term... | 24.886364 | 80 | 0.569863 | stonewell |
a9747aa1bf77b04a7d6c15d9fb3132517e1e0429 | 3,699 | cpp | C++ | trunk/knewcode/kc_web_plugins/kc_web_page_data_expr/expr_item_if.cpp | zogyzen/knewcode | bd414a52330cde040ceaf91d1b380c402b2814b4 | [
"Apache-2.0"
] | null | null | null | trunk/knewcode/kc_web_plugins/kc_web_page_data_expr/expr_item_if.cpp | zogyzen/knewcode | bd414a52330cde040ceaf91d1b380c402b2814b4 | [
"Apache-2.0"
] | null | null | null | trunk/knewcode/kc_web_plugins/kc_web_page_data_expr/expr_item_if.cpp | zogyzen/knewcode | bd414a52330cde040ceaf91d1b380c402b2814b4 | [
"Apache-2.0"
] | null | null | null | #include "std.h"
#include "expr_item_if.h"
////////////////////////////////////////////////////////////////////////////////
// TOperandNode类
KC::TOperandNode::TOperandNode(IExprTreeWork& wk, IWebPageData& pd, const TKcSynBaseClass& syn)
: m_work(wk), m_pd(pd), m_pBeginPtr(syn.GetBeginPtr()), m_pEndPtr(syn.GetEndP... | 34.570093 | 185 | 0.575561 | zogyzen |
a975fe3f4c047f3bb873ee5edd28042c6395a2e2 | 1,826 | cpp | C++ | libHCore/src/common/time.cpp | adeliktas/Hayha3 | a505b6e79e6cabd8ef8d899eeb9f7e39251b58b5 | [
"MIT"
] | 15 | 2021-11-22T07:31:22.000Z | 2022-02-22T22:53:51.000Z | libHCore/src/common/time.cpp | adeliktas/Hayha3 | a505b6e79e6cabd8ef8d899eeb9f7e39251b58b5 | [
"MIT"
] | 1 | 2021-11-26T19:27:40.000Z | 2021-11-26T19:27:40.000Z | libHCore/src/common/time.cpp | adeliktas/Hayha3 | a505b6e79e6cabd8ef8d899eeb9f7e39251b58b5 | [
"MIT"
] | 5 | 2021-11-20T18:21:24.000Z | 2021-12-26T12:32:47.000Z |
#include "time.hpp"
timeStamp programStart;
timeStamp getCurrentTimeMicro(){
return time_point_cast<microseconds>(steady_clock::now());
}
timeStamp getTimeInFuture(uint64_t usec){
return time_point_cast<microseconds>(steady_clock::now()) + std::chrono::microseconds(usec);
}
int64_t getTimeDifference(timeS... | 22 | 112 | 0.740416 | adeliktas |
a978d36d9b5f5f5b2846857d1af8b34f96e080a2 | 17,693 | cpp | C++ | core/SensorBase.cpp | STMicroelectronics/st-mems-android-linux-sensors-hal | a12f3d9806b8851d17c331bc07acafae9dcb2d3b | [
"Apache-2.0"
] | 7 | 2021-10-29T20:29:48.000Z | 2022-03-03T01:38:45.000Z | core/SensorBase.cpp | STMicroelectronics/st-mems-android-linux-sensors-hal | a12f3d9806b8851d17c331bc07acafae9dcb2d3b | [
"Apache-2.0"
] | null | null | null | core/SensorBase.cpp | STMicroelectronics/st-mems-android-linux-sensors-hal | a12f3d9806b8851d17c331bc07acafae9dcb2d3b | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2018 The Android Open Source Project
* Copyright (C) 2015-2020 STMicroelectronics
*
* 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/lic... | 24.104905 | 117 | 0.653874 | STMicroelectronics |
a97a4df558a7983d46402fb822cb5faa478a7935 | 4,259 | cc | C++ | src/ui/gl/gl_implementation.cc | jxjnjjn/chromium | 435c1d02fd1b99001dc9e1e831632c894523580d | [
"Apache-2.0"
] | 9 | 2018-09-21T05:36:12.000Z | 2021-11-15T15:14:36.000Z | ui/gl/gl_implementation.cc | devasia1000/chromium | 919a8a666862fb866a6bb7aa7f3ae8c0442b4828 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2015-07-21T08:02:01.000Z | 2015-07-21T08:02:01.000Z | ui/gl/gl_implementation.cc | devasia1000/chromium | 919a8a666862fb866a6bb7aa7f3ae8c0442b4828 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 6 | 2016-11-14T10:13:35.000Z | 2021-01-23T15:29:53.000Z | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/gl/gl_implementation.h"
#include <algorithm>
#include <string>
#include "base/at_exit.h"
#include "base/command_line.h"
#include "base/... | 24.761628 | 79 | 0.733506 | jxjnjjn |
a97e374f74ef7289099d71ff6aceb3ef4c82308f | 17,048 | cpp | C++ | src/intel/compiler/test_fs_cmod_propagation.cpp | antmicro/kvm-aosp-external-mesa3d | 9a3a0c1e30421cd1d66b138ef6a3269ceb6de39f | [
"MIT"
] | 1 | 2022-03-26T08:39:34.000Z | 2022-03-26T08:39:34.000Z | src/intel/compiler/test_fs_cmod_propagation.cpp | antmicro/kvm-aosp-external-mesa3d | 9a3a0c1e30421cd1d66b138ef6a3269ceb6de39f | [
"MIT"
] | null | null | null | src/intel/compiler/test_fs_cmod_propagation.cpp | antmicro/kvm-aosp-external-mesa3d | 9a3a0c1e30421cd1d66b138ef6a3269ceb6de39f | [
"MIT"
] | 2 | 2018-09-19T09:53:12.000Z | 2022-01-27T09:25:20.000Z | /*
* Copyright © 2015 Intel Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, pub... | 30.606822 | 79 | 0.664418 | antmicro |
a97e495e4da2e1d5c7884705e9d5bc03376111b1 | 2,444 | cpp | C++ | Source/Engine/Render/VertexArray.cpp | kukiric/SomeGame | 8c058d82a93bc3f276bbb3ec57a3978ae57de82c | [
"MIT"
] | null | null | null | Source/Engine/Render/VertexArray.cpp | kukiric/SomeGame | 8c058d82a93bc3f276bbb3ec57a3978ae57de82c | [
"MIT"
] | null | null | null | Source/Engine/Render/VertexArray.cpp | kukiric/SomeGame | 8c058d82a93bc3f276bbb3ec57a3978ae57de82c | [
"MIT"
] | null | null | null | #include "VertexArray.h"
#include <Engine/Render/API.h>
using namespace Render;
VertexArray::VertexArray()
: indexArraySize(0)
{
glGenVertexArrays(1, &handle);
glGenBuffers(1, &indexArrayID);
}
VertexArray::~VertexArray()
{
for(auto vbo : buffers) {
deleteBuffer(vbo.id);
}
... | 27.772727 | 107 | 0.661211 | kukiric |
a97edea22c6dbbc4626abc58a3cc4a41ff792ad1 | 7,562 | cpp | C++ | Chapter_20/program.cpp | 9ndres/Ray-Tracing-Gems-II | 5fef3b49375c823431ef06f8c67d1b44b432304a | [
"MIT"
] | 603 | 2021-08-04T11:46:33.000Z | 2022-03-28T12:12:31.000Z | Chapter_20/program.cpp | 9ndres/Ray-Tracing-Gems-II | 5fef3b49375c823431ef06f8c67d1b44b432304a | [
"MIT"
] | null | null | null | Chapter_20/program.cpp | 9ndres/Ray-Tracing-Gems-II | 5fef3b49375c823431ef06f8c67d1b44b432304a | [
"MIT"
] | 45 | 2021-08-04T18:57:37.000Z | 2022-03-11T11:33:49.000Z | #include "program_defs.h"
#define STB_IMAGE_WRITE_IMPLEMENTATION
#include "stb_image_write.h"
#include <stdint.h>
#include <vector>
#include <random>
#ifdef WIN32
#define PCG_LITTLE_ENDIAN 1
#endif
#include "pcg_random.hpp"
// NOTE: Include order is a bit brittle due to some of these appearing exactly as they are in... | 35.336449 | 182 | 0.663052 | 9ndres |
a97ef44ca5a2261976898d1483c693ac1c18ef43 | 7,893 | cpp | C++ | tests/unit/PayCrypter_test.cpp | clockzhong/sdk | 46476bae44ba99afe7eecd0ee29232fd4df2ea2e | [
"BSD-2-Clause"
] | null | null | null | tests/unit/PayCrypter_test.cpp | clockzhong/sdk | 46476bae44ba99afe7eecd0ee29232fd4df2ea2e | [
"BSD-2-Clause"
] | null | null | null | tests/unit/PayCrypter_test.cpp | clockzhong/sdk | 46476bae44ba99afe7eecd0ee29232fd4df2ea2e | [
"BSD-2-Clause"
] | null | null | null | /**
* @file tests/tests.cpp
* @brief Mega SDK main test file
*
* (c) 2013 by Mega Limited, Wellsford, New Zealand
*
* This file is part of the MEGA SDK - Client Access Engine.
*
* Applications using the MEGA API must present a valid application key
* and comply with the the rules set forth in the Terms of Serv... | 40.476923 | 377 | 0.707842 | clockzhong |
a97f33d7b6158b151be24b213ddd9c1df1dde485 | 11,646 | cpp | C++ | examples/albumcalc/albumcalc.cpp | crf8472/libarcstk | b2c29006c7dda6476bf3e7098f51ee30675439fb | [
"MIT"
] | null | null | null | examples/albumcalc/albumcalc.cpp | crf8472/libarcstk | b2c29006c7dda6476bf3e7098f51ee30675439fb | [
"MIT"
] | null | null | null | examples/albumcalc/albumcalc.cpp | crf8472/libarcstk | b2c29006c7dda6476bf3e7098f51ee30675439fb | [
"MIT"
] | null | null | null | //
// Example for calculating AccurateRip checksums from each track of an album,
// represented by a CUESheet and a single losslessly encoded audio file.
//
#include <cstdint> // for uint32_t etc.
#include <cstdio> // for fopen, fclose, FILE
#include <iomanip> // for setw, setfill, hex
#include <iostream> // f... | 37.446945 | 80 | 0.688477 | crf8472 |
a97f7953fca960a16e8196db33b75180168d1990 | 853 | cpp | C++ | c++/nim_game.cpp | SongZhao/leetcode | 4a2b4f554e91f6a2167b336f8a69b80fa9f3f920 | [
"Apache-2.0"
] | null | null | null | c++/nim_game.cpp | SongZhao/leetcode | 4a2b4f554e91f6a2167b336f8a69b80fa9f3f920 | [
"Apache-2.0"
] | null | null | null | c++/nim_game.cpp | SongZhao/leetcode | 4a2b4f554e91f6a2167b336f8a69b80fa9f3f920 | [
"Apache-2.0"
] | null | null | null | /*
You are playing the following Nim Game with your friend: There is a heap of stones on the table,
each time one of you take turns to remove 1 to 3 stones. The one who removes the last stone will be the winner.
You will take the first turn to remove the stones.
Both of you are very clever and have optimal strategie... | 25.848485 | 121 | 0.696366 | SongZhao |
a9848c97452e16123eb2c272fe3c0c09d409d170 | 1,522 | hpp | C++ | codegen.hpp | zsr2531/bfc | 5f6917c1d8e084dd2ba4507c7bca8f73bbc4504e | [
"MIT"
] | 5 | 2020-09-06T10:42:41.000Z | 2021-12-22T09:37:44.000Z | codegen.hpp | zsr2531/bfc | 5f6917c1d8e084dd2ba4507c7bca8f73bbc4504e | [
"MIT"
] | null | null | null | codegen.hpp | zsr2531/bfc | 5f6917c1d8e084dd2ba4507c7bca8f73bbc4504e | [
"MIT"
] | 1 | 2021-08-13T09:40:04.000Z | 2021-08-13T09:40:04.000Z | #include <sstream>
#include <unordered_map>
#include "ast.hpp"
class CodeGen : public Listener {
public:
explicit inline CodeGen() {
builder = {};
indentLevel = 1;
builder << "// Generated by bfc\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\nint main() {\n";
buil... | 40.052632 | 140 | 0.690539 | zsr2531 |
a98bfbfbfd51a0805a97ea88749cfd7a97199d47 | 452 | cpp | C++ | book/cpp_templates/tmplbook/traits/hasmember.cpp | houruixiang/day_day_learning | 208f70a4f0a85dd99191087835903d279452fd54 | [
"MIT"
] | null | null | null | book/cpp_templates/tmplbook/traits/hasmember.cpp | houruixiang/day_day_learning | 208f70a4f0a85dd99191087835903d279452fd54 | [
"MIT"
] | null | null | null | book/cpp_templates/tmplbook/traits/hasmember.cpp | houruixiang/day_day_learning | 208f70a4f0a85dd99191087835903d279452fd54 | [
"MIT"
] | null | null | null | #include "hasmember.hpp"
#include <iostream>
#include <vector>
#include <utility>
DEFINE_HAS_MEMBER(size);
DEFINE_HAS_MEMBER(first);
int main()
{
std::cout << "int::size: "
<< HasMemberT_size<int>::value << '\n';
std::cout << "std::vector<int>::size: "
<< HasMemberT_size<std::vector<int>>... | 23.789474 | 67 | 0.586283 | houruixiang |
a98c9c9038aebe5a7eb8f50ccd34c321abdee0cd | 5,650 | cc | C++ | src/base/file_reader.test.cc | dspeterson/dory | 7261fb5481283fdd69b382c3cddbc9b9bd24366d | [
"Apache-2.0"
] | 82 | 2016-06-11T23:12:40.000Z | 2022-02-21T21:01:36.000Z | src/base/file_reader.test.cc | dspeterson/dory | 7261fb5481283fdd69b382c3cddbc9b9bd24366d | [
"Apache-2.0"
] | 18 | 2016-06-16T22:55:12.000Z | 2020-07-02T10:32:53.000Z | src/base/file_reader.test.cc | dspeterson/dory | 7261fb5481283fdd69b382c3cddbc9b9bd24366d | [
"Apache-2.0"
] | 14 | 2016-06-15T18:34:08.000Z | 2021-09-06T23:16:28.000Z | /* <base/file_reader.test.cc>
----------------------------------------------------------------------------
Copyright 2017 Dave Peterson <dave@dspeterson.com>
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 ... | 26.157407 | 79 | 0.629735 | dspeterson |
a98cd8343f943b0ee828d6eaae7e866c24bf41ce | 6,583 | cpp | C++ | SpatialGDK/Source/SpatialGDKTests/SpatialGDKServices/LocalDeploymentManager/LocalDeploymentManagerTest.cpp | eddyrainy/UnrealGDK | eb86c58d23d55e74b584b91c2d35702ba08448be | [
"MIT"
] | null | null | null | SpatialGDK/Source/SpatialGDKTests/SpatialGDKServices/LocalDeploymentManager/LocalDeploymentManagerTest.cpp | eddyrainy/UnrealGDK | eb86c58d23d55e74b584b91c2d35702ba08448be | [
"MIT"
] | null | null | null | SpatialGDK/Source/SpatialGDKTests/SpatialGDKServices/LocalDeploymentManager/LocalDeploymentManagerTest.cpp | eddyrainy/UnrealGDK | eb86c58d23d55e74b584b91c2d35702ba08448be | [
"MIT"
] | null | null | null | // Copyright (c) Improbable Worlds Ltd, All Rights Reserved
#include "TestDefinitions.h"
#include "LocalDeploymentManager.h"
#include "SpatialCommandUtils.h"
#include "SpatialGDKDefaultLaunchConfigGenerator.h"
#include "SpatialGDKDefaultWorkerJsonGenerator.h"
#include "SpatialGDKEditorSettings.h"
#include "CoreMinim... | 33.586735 | 173 | 0.809965 | eddyrainy |
a98cf28d3d49efba7b7a290d7fd9ff9ec3c64556 | 1,003 | hpp | C++ | buildSystemTests/multi_targets_project/code/StaticTarget3/public/StaticTarget3/StaticTarget3.hpp | iblis-ms/python_cmake_build_system | 9f52f004241c6e8efc4a036d5c58f67a6d40e7ec | [
"MIT"
] | null | null | null | buildSystemTests/multi_targets_project/code/StaticTarget3/public/StaticTarget3/StaticTarget3.hpp | iblis-ms/python_cmake_build_system | 9f52f004241c6e8efc4a036d5c58f67a6d40e7ec | [
"MIT"
] | 6 | 2020-10-11T21:03:24.000Z | 2020-10-12T20:32:13.000Z | buildSystemTests/multi_targets_project/code/StaticTarget3/public/StaticTarget3/StaticTarget3.hpp | iblis-ms/python_cmake_build_system | 9f52f004241c6e8efc4a036d5c58f67a6d40e7ec | [
"MIT"
] | null | null | null | #ifndef STATIC_TARGET_3_HPP_
#define STATIC_TARGET_3_HPP_
#include <iostream>
#include <InterfaceTarget3/InterfaceTarget3.hpp>
#include <InterfaceTarget2/InterfaceTarget2.hpp>
#include <InterfaceTarget4/InterfaceTarget4.hpp>
#include <StaticTarget1/StaticTarget1.hpp>
#include <StaticTarget2/StaticTarget2.hpp>
/**
* ... | 18.924528 | 60 | 0.716849 | iblis-ms |
a98d481499dd8267ddbe4ac416d3996e23c3e622 | 651 | hpp | C++ | homeworks/HW4Source/HW4/header/MountainCar.hpp | anshuman1811/cs687-reinforcementlearning | cf30cc0ab2b0e515cd4b643fc55c60cc5f38a481 | [
"MIT"
] | null | null | null | homeworks/HW4Source/HW4/header/MountainCar.hpp | anshuman1811/cs687-reinforcementlearning | cf30cc0ab2b0e515cd4b643fc55c60cc5f38a481 | [
"MIT"
] | null | null | null | homeworks/HW4Source/HW4/header/MountainCar.hpp | anshuman1811/cs687-reinforcementlearning | cf30cc0ab2b0e515cd4b643fc55c60cc5f38a481 | [
"MIT"
] | null | null | null | #pragma once
#include "stdafx.h"
// MountainCar MDP - see Gridworld.hpp for comments regarding the general structure of these environment/MDP objects
class MountainCar {
public:
MountainCar();
int getStateDim() const;
int getNumActions() const;
double update(const int & action, std::mt19937_64 & genera... | 28.304348 | 117 | 0.703533 | anshuman1811 |
a98f4ab7870560163705313937a8065595ba831f | 2,320 | cc | C++ | RecoPixelVertexing/PixelLowPtUtilities/plugins/modules.cc | PKUfudawei/cmssw | 8fbb5ce74398269c8a32956d7c7943766770c093 | [
"Apache-2.0"
] | 1 | 2021-11-30T16:24:46.000Z | 2021-11-30T16:24:46.000Z | RecoPixelVertexing/PixelLowPtUtilities/plugins/modules.cc | PKUfudawei/cmssw | 8fbb5ce74398269c8a32956d7c7943766770c093 | [
"Apache-2.0"
] | 4 | 2021-11-29T13:57:56.000Z | 2022-03-29T06:28:36.000Z | RecoPixelVertexing/PixelLowPtUtilities/plugins/modules.cc | PKUfudawei/cmssw | 8fbb5ce74398269c8a32956d7c7943766770c093 | [
"Apache-2.0"
] | 1 | 2022-02-27T06:12:26.000Z | 2022-02-27T06:12:26.000Z | #include "FWCore/PluginManager/interface/ModuleDef.h"
#include "FWCore/Framework/interface/MakerMacros.h"
#include "FWCore/Framework/interface/ModuleFactory.h"
#include "FWCore/Framework/interface/ESProducer.h"
// Producers
//#include "PixelTrackProducerWithZPos.h"
//DEFINE_FWK_MODULE(PixelTrackProducerWithZPos);
#in... | 47.346939 | 115 | 0.840948 | PKUfudawei |
81799b89ff3310ff1fe99a362dcb69165582376f | 4,571 | cpp | C++ | emulator/src/devices/machine/atapicdr.cpp | rjw57/tiw-computer | 5ef1c79893165b8622d1114d81cd0cded58910f0 | [
"MIT"
] | 1 | 2022-01-15T21:38:38.000Z | 2022-01-15T21:38:38.000Z | emulator/src/devices/machine/atapicdr.cpp | rjw57/tiw-computer | 5ef1c79893165b8622d1114d81cd0cded58910f0 | [
"MIT"
] | null | null | null | emulator/src/devices/machine/atapicdr.cpp | rjw57/tiw-computer | 5ef1c79893165b8622d1114d81cd0cded58910f0 | [
"MIT"
] | null | null | null | // license:BSD-3-Clause
// copyright-holders:smf
#include "emu.h"
#include "atapicdr.h"
#define SCSI_SENSE_ASC_MEDIUM_NOT_PRESENT 0x3a
#define SCSI_SENSE_ASC_NOT_READY_TO_READY_TRANSITION 0x28
#define T10MMC_GET_EVENT_STATUS_NOTIFICATION 0x4a
// device type definition
DEFINE_DEVICE_TYPE(ATAPI_CDROM, atapi_cdrom... | 30.072368 | 139 | 0.684095 | rjw57 |
817b9e2eb1041abb61704404c4ff63a8bd19e273 | 26,843 | cpp | C++ | src/gui/app/CompareFilesDialog.cpp | IncompleteWorlds/GMAT_2020 | 624de54d00f43831a4d46b46703e069d5c8c92ff | [
"Apache-2.0"
] | null | null | null | src/gui/app/CompareFilesDialog.cpp | IncompleteWorlds/GMAT_2020 | 624de54d00f43831a4d46b46703e069d5c8c92ff | [
"Apache-2.0"
] | null | null | null | src/gui/app/CompareFilesDialog.cpp | IncompleteWorlds/GMAT_2020 | 624de54d00f43831a4d46b46703e069d5c8c92ff | [
"Apache-2.0"
] | null | null | null | //$Id$
//------------------------------------------------------------------------------
// CompareFilesDialog
//------------------------------------------------------------------------------
// GMAT: General Mission Analysis Tool
//
// Copyright (c) 2002 - 2020 United States Government as r... | 37.700843 | 98 | 0.602578 | IncompleteWorlds |
817bbcf3063306c14fb815ca1cabf6526950eb8c | 883 | cpp | C++ | lib/ReadWriteGraph/ReadWriteGraph.cpp | bloodycoder/dg | 4d261fc688013bcc6d35284315b7d0e861f00b4b | [
"MIT"
] | null | null | null | lib/ReadWriteGraph/ReadWriteGraph.cpp | bloodycoder/dg | 4d261fc688013bcc6d35284315b7d0e861f00b4b | [
"MIT"
] | null | null | null | lib/ReadWriteGraph/ReadWriteGraph.cpp | bloodycoder/dg | 4d261fc688013bcc6d35284315b7d0e861f00b4b | [
"MIT"
] | null | null | null | #include <set>
#include <vector>
#include "dg/ReachingDefinitions/ReachingDefinitions.h"
#include "dg/BBlocksBuilder.h"
namespace dg {
namespace dda {
void ReadWriteGraph::buildBBlocks(bool dce) {
assert(getRoot() && "No root node");
DBG(dda, "Building basic blocks");
BBlocksBuilder<RWBBlock> builder;
... | 22.641026 | 68 | 0.638732 | bloodycoder |
817da77491a5d3f35b804d3b71400ef3724f42a3 | 3,957 | cpp | C++ | src/core/features/flappybird.cpp | Metaphysical1/gamesneeze | 59d31ee232bbcc80d29329e0f64ebdde599c37df | [
"MIT"
] | 1,056 | 2020-11-17T11:49:12.000Z | 2022-03-23T12:32:42.000Z | src/core/features/flappybird.cpp | dweee/gamesneeze | 99f574db2617263470280125ec78afa813f27099 | [
"MIT"
] | 102 | 2021-01-15T12:05:18.000Z | 2022-02-26T00:19:58.000Z | src/core/features/flappybird.cpp | dweee/gamesneeze | 99f574db2617263470280125ec78afa813f27099 | [
"MIT"
] | 121 | 2020-11-18T12:08:21.000Z | 2022-03-31T07:14:32.000Z | #include "features.hpp"
#include <SDL2/SDL_scancode.h>
#include <vector>
int score;
ImVec2 cursorPos;
float deltaTime;
bool alive = true;
bool paused = false;
float birdHeight;
class Bird {
public:
void draw(ImDrawList* drawList) {
drawList->AddRectFilled(ImVec2{cursorPos.x+60, cursorPos.y+(400-height)}, ... | 31.91129 | 164 | 0.52464 | Metaphysical1 |
817dabe08950620aba56e912f99b48bcb68eb706 | 4,729 | cpp | C++ | src/chip/16segchip.cpp | berezhko/Atanua | 8c2cf22c8bc77934105c20a44a169bd024be58a9 | [
"Zlib"
] | 76 | 2015-01-04T05:35:22.000Z | 2022-03-09T08:07:21.000Z | src/chip/16segchip.cpp | berezhko/Atanua | 8c2cf22c8bc77934105c20a44a169bd024be58a9 | [
"Zlib"
] | 4 | 2015-03-04T14:16:23.000Z | 2019-08-15T15:40:20.000Z | src/chip/16segchip.cpp | berezhko/Atanua | 8c2cf22c8bc77934105c20a44a169bd024be58a9 | [
"Zlib"
] | 40 | 2015-01-09T14:21:33.000Z | 2022-03-18T10:53:42.000Z | /*
Atanua Real-Time Logic Simulator
Copyright (c) 2008-2014 Jari Komppa
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
in... | 34.518248 | 109 | 0.664411 | berezhko |
817dcad1853d2128a15890b29ec54d9067fdba99 | 2,392 | cpp | C++ | LinearList/LinkedList.cpp | FrostyBonny/DS | 63f951a09a3e67ef89ffc2db4e4780decea2bcef | [
"MIT"
] | 2 | 2019-07-16T08:23:47.000Z | 2021-06-26T13:43:10.000Z | LinearList/LinkedList.cpp | FrostyBonny/DS | 63f951a09a3e67ef89ffc2db4e4780decea2bcef | [
"MIT"
] | null | null | null | LinearList/LinkedList.cpp | FrostyBonny/DS | 63f951a09a3e67ef89ffc2db4e4780decea2bcef | [
"MIT"
] | null | null | null | #include<iostream>
#include<stdlib.h>
using namespace std;
// 单链表的操作
typedef struct LinkNode{
int data;
struct LinkNode *next;
}LinkNode;
// headermake
void creat(LinkNode *L){
LinkNode *node;
for(int i = 0;i < 10;i++){
node = (LinkNode *)malloc(sizeof(LinkNode));
node->data = rand()%13... | 18.4 | 52 | 0.460284 | FrostyBonny |
8180eaa3530bf717aa9c2fc830ff699b322527d2 | 9,594 | cpp | C++ | Day23/main.cpp | baldwinmatt/AoC-2021 | 4a7f18f6364715f6e61127aba175db6fec6e6b13 | [
"Apache-2.0"
] | 4 | 2021-12-06T17:14:00.000Z | 2021-12-10T06:29:35.000Z | Day23/main.cpp | baldwinmatt/AoC-2021 | 4a7f18f6364715f6e61127aba175db6fec6e6b13 | [
"Apache-2.0"
] | null | null | null | Day23/main.cpp | baldwinmatt/AoC-2021 | 4a7f18f6364715f6e61127aba175db6fec6e6b13 | [
"Apache-2.0"
] | null | null | null | #include "aoc21/helpers.h"
#include <array>
#include <algorithm>
#include <list>
#include <map>
#include <set>
#include <vector>
namespace {
constexpr int RoomCount = 4;
constexpr int RoomDepth = 2;
constexpr int HallwaySize = 4 + (RoomCount * 2) - 1;
using Hallway = std::array<char, HallwaySize>;
using Roo... | 23.747525 | 86 | 0.512508 | baldwinmatt |
81812d2db6128c0a250e57b5bbb7d8b3b2d7f689 | 7,181 | cpp | C++ | source/models/bundle.cpp | wilsonfonseca/iota.lib.cpp | c49791b8e4f1499dc652fb84dedb016e5f42cdf4 | [
"MIT"
] | null | null | null | source/models/bundle.cpp | wilsonfonseca/iota.lib.cpp | c49791b8e4f1499dc652fb84dedb016e5f42cdf4 | [
"MIT"
] | null | null | null | source/models/bundle.cpp | wilsonfonseca/iota.lib.cpp | c49791b8e4f1499dc652fb84dedb016e5f42cdf4 | [
"MIT"
] | null | null | null | //
// MIT License
//
// Copyright (c) 2017-2018 Thibault Martinez and Simon Ninon
//
// 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 r... | 29.430328 | 100 | 0.662164 | wilsonfonseca |
81833316b0516dda700810c584acdd92c655d8e3 | 1,180 | cpp | C++ | DeviceCode/Targets/Native/BF537/DeviceCode/various.cpp | valoni/STM32F103 | 75f0cb8be593ca287a08f5992d1f5d3c3bb12bfc | [
"Apache-2.0"
] | 1 | 2020-06-09T02:16:43.000Z | 2020-06-09T02:16:43.000Z | DeviceCode/Targets/Native/BF537/DeviceCode/various.cpp | valoni/STM32F103 | 75f0cb8be593ca287a08f5992d1f5d3c3bb12bfc | [
"Apache-2.0"
] | null | null | null | DeviceCode/Targets/Native/BF537/DeviceCode/various.cpp | valoni/STM32F103 | 75f0cb8be593ca287a08f5992d1f5d3c3bb12bfc | [
"Apache-2.0"
] | 1 | 2015-02-08T20:51:53.000Z | 2015-02-08T20:51:53.000Z | ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Copyright (c) Microsoft Corporation. All rights reserved.
///////////////////////////////////////////////////////... | 36.875 | 221 | 0.339831 | valoni |
8183bdec4e950b8fd338c7b1916d50cd42e108c2 | 771 | cpp | C++ | JPZsumofdigits/JPZsumofdigits.cpp | jpaz26/intro-to-c-programming | 2fbabfd4f2b53135eca67f781b4a925623dac330 | [
"MIT"
] | null | null | null | JPZsumofdigits/JPZsumofdigits.cpp | jpaz26/intro-to-c-programming | 2fbabfd4f2b53135eca67f781b4a925623dac330 | [
"MIT"
] | null | null | null | JPZsumofdigits/JPZsumofdigits.cpp | jpaz26/intro-to-c-programming | 2fbabfd4f2b53135eca67f781b4a925623dac330 | [
"MIT"
] | null | null | null | // JPZsumofdigits.cpp : Defines the entry point for the console application.
// Joshua Paz; a program that takes a whole integer and adds the digits for a sum
#include "stdafx.h"
#include <iostream>
using namespace std;
int main()
{
//variables
int userint = 0;
int intholder = 0;
int sum = 0;
//pr... | 20.837838 | 82 | 0.618677 | jpaz26 |
818414ca0e952068cb5348e6be69c2e002940000 | 10,727 | cpp | C++ | src/openms/source/ANALYSIS/ID/PrecursorPurity.cpp | andreott/OpenMS | 718fa2e8a91280ff65e4cf834a3d825811dce1dc | [
"BSL-1.0",
"Zlib",
"Apache-2.0"
] | 1 | 2021-07-06T09:15:10.000Z | 2021-07-06T09:15:10.000Z | src/openms/source/ANALYSIS/ID/PrecursorPurity.cpp | andreott/OpenMS | 718fa2e8a91280ff65e4cf834a3d825811dce1dc | [
"BSL-1.0",
"Zlib",
"Apache-2.0"
] | 7 | 2018-06-19T14:51:57.000Z | 2022-01-12T14:34:32.000Z | src/openms/source/ANALYSIS/ID/PrecursorPurity.cpp | andreott/OpenMS | 718fa2e8a91280ff65e4cf834a3d825811dce1dc | [
"BSL-1.0",
"Zlib",
"Apache-2.0"
] | null | null | null | // --------------------------------------------------------------------------
// OpenMS -- Open-Source Mass Spectrometry
// --------------------------------------------------------------------------
// Copyright The OpenMS Team -- Eberhard Karls University Tuebingen,
// ETH Zurich, and Freie Universit... | 46.038627 | 271 | 0.641932 | andreott |
818600efdd39bcacd111e4b0651f92f87aa52e56 | 6,211 | hpp | C++ | src/Environment.hpp | avilcheslopez/geopm | 35ad0af3f17f42baa009c97ed45eca24333daf33 | [
"MIT",
"BSD-3-Clause"
] | null | null | null | src/Environment.hpp | avilcheslopez/geopm | 35ad0af3f17f42baa009c97ed45eca24333daf33 | [
"MIT",
"BSD-3-Clause"
] | null | null | null | src/Environment.hpp | avilcheslopez/geopm | 35ad0af3f17f42baa009c97ed45eca24333daf33 | [
"MIT",
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2015 - 2022, Intel Corporation
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef ENVIRONMENT_HPP_INCLUDE
#define ENVIRONMENT_HPP_INCLUDE
#include <string>
#include <vector>
#include <utility>
#include <map>
#include <set>
#include <memory>
namespace geopm
{
/// @brief Environment class en... | 46.699248 | 117 | 0.608115 | avilcheslopez |
81873b4fff537b1b5e4b408d3766b4019bc9717f | 1,290 | hpp | C++ | src/kernel_preprocessor.hpp | vbkaisetsu/CLBlast | 441373c8fd1442cc4c024e59e7778b4811eb210c | [
"Apache-2.0"
] | null | null | null | src/kernel_preprocessor.hpp | vbkaisetsu/CLBlast | 441373c8fd1442cc4c024e59e7778b4811eb210c | [
"Apache-2.0"
] | null | null | null | src/kernel_preprocessor.hpp | vbkaisetsu/CLBlast | 441373c8fd1442cc4c024e59e7778b4811eb210c | [
"Apache-2.0"
] | 1 | 2020-09-09T21:04:21.000Z | 2020-09-09T21:04:21.000Z |
// =================================================================================================
// This file is part of the CLBlast project. The project is licensed under Apache Version 2.0. This
// project loosely follows the Google C++ styleguide and uses a tab-size of two spaces and a max-
// width of 100 char... | 39.090909 | 100 | 0.532558 | vbkaisetsu |
8187da5558734bf61db893fdf3be6507a32b506f | 297 | hh | C++ | src/ChatCommands.hh | clint-david/newserv | 40aa08bd4f391d8d3f6d41d3b539de5bc4c5c679 | [
"MIT"
] | null | null | null | src/ChatCommands.hh | clint-david/newserv | 40aa08bd4f391d8d3f6d41d3b539de5bc4c5c679 | [
"MIT"
] | null | null | null | src/ChatCommands.hh | clint-david/newserv | 40aa08bd4f391d8d3f6d41d3b539de5bc4c5c679 | [
"MIT"
] | null | null | null | #pragma once
#include <stdint.h>
#include <memory>
#include <string>
#include "ServerState.hh"
#include "Lobby.hh"
#include "Client.hh"
void process_chat_command(std::shared_ptr<ServerState> s, std::shared_ptr<Lobby> l,
std::shared_ptr<Client> c, const std::u16string& text);
| 21.214286 | 84 | 0.700337 | clint-david |
8188d665c50246023d35ae91b9c7818a3e4a88af | 29,325 | cpp | C++ | src/appleseed/renderer/kernel/rendering/progressive/progressiveframerenderer.cpp | Aakash1312/appleseed | 0c81cacba6e513ca30a68a038afd67244f0c6b91 | [
"MIT"
] | null | null | null | src/appleseed/renderer/kernel/rendering/progressive/progressiveframerenderer.cpp | Aakash1312/appleseed | 0c81cacba6e513ca30a68a038afd67244f0c6b91 | [
"MIT"
] | null | null | null | src/appleseed/renderer/kernel/rendering/progressive/progressiveframerenderer.cpp | Aakash1312/appleseed | 0c81cacba6e513ca30a68a038afd67244f0c6b91 | [
"MIT"
] | 1 | 2020-10-01T14:42:39.000Z | 2020-10-01T14:42:39.000Z |
//
// This source file is part of appleseed.
// Visit http://appleseedhq.net/ for additional information and resources.
//
// This software is released under the MIT license.
//
// Copyright (c) 2010-2013 Francois Beaune, Jupiter Jazz Limited
// Copyright (c) 2014-2017 Francois Beaune, The appleseedhq Organization
//
... | 36.840452 | 120 | 0.541176 | Aakash1312 |
8188e3941d6519d466adae0e0c84c853f659ccfa | 2,591 | cpp | C++ | pwiz/analysis/eharmony/Matrix.cpp | edyp-lab/pwiz-mzdb | d13ce17f4061596c7e3daf9cf5671167b5996831 | [
"Apache-2.0"
] | 11 | 2015-01-08T08:33:44.000Z | 2019-07-12T06:14:54.000Z | pwiz/analysis/eharmony/Matrix.cpp | shze/pwizard-deb | 4822829196e915525029a808470f02d24b8b8043 | [
"Apache-2.0"
] | 61 | 2015-05-27T11:20:11.000Z | 2019-12-20T15:06:21.000Z | pwiz/analysis/eharmony/Matrix.cpp | shze/pwizard-deb | 4822829196e915525029a808470f02d24b8b8043 | [
"Apache-2.0"
] | 4 | 2016-02-03T09:41:16.000Z | 2021-08-01T18:42:36.000Z | //
// $Id: Matrix.cpp 1539 2009-11-19 20:12:28Z khoff $
//
//
// Original author: Kate Hoff <katherine.hoff@proteowizard.org>
//
// Copyright 2009 Center for Applied Molecular Medicine
// University of Southern California, Los Angeles, CA
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you ma... | 29.443182 | 138 | 0.655345 | edyp-lab |
818900af12ffe2d35a6f05743c05d9d999fc5da8 | 3,816 | cc | C++ | towr/src/base_motion_constraint.cc | eeoozz/towr | 189fd39b156d1ed80894c3d9086da1b8f7426de3 | [
"BSD-3-Clause"
] | 592 | 2018-01-30T10:36:47.000Z | 2022-03-28T16:40:16.000Z | towr/src/base_motion_constraint.cc | eeoozz/towr | 189fd39b156d1ed80894c3d9086da1b8f7426de3 | [
"BSD-3-Clause"
] | 68 | 2018-02-08T06:00:16.000Z | 2022-03-31T08:46:05.000Z | towr/src/base_motion_constraint.cc | eeoozz/towr | 189fd39b156d1ed80894c3d9086da1b8f7426de3 | [
"BSD-3-Clause"
] | 185 | 2018-02-11T03:22:30.000Z | 2022-03-28T12:56:21.000Z | /******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code... | 40.595745 | 94 | 0.697065 | eeoozz |
818b46118366b6beea8b61c9c2605af1b5647166 | 402 | cpp | C++ | Menu Interno Console/Main.cpp | FuckLaw/Menu-Interno-Console | 8fb2fcd63d280b7443a09daba1c9fbcae57b6a22 | [
"MIT"
] | 1 | 2020-04-09T22:11:47.000Z | 2020-04-09T22:11:47.000Z | Menu Interno Console/Main.cpp | FuckLaw/Menu-Interno-Console | 8fb2fcd63d280b7443a09daba1c9fbcae57b6a22 | [
"MIT"
] | null | null | null | Menu Interno Console/Main.cpp | FuckLaw/Menu-Interno-Console | 8fb2fcd63d280b7443a09daba1c9fbcae57b6a22 | [
"MIT"
] | null | null | null | #include <Windows.h>
#include "Includes.h"
#include "Menu.h"
#include "Keyboard.h"
#include "Items.h"
#include "Colors.h"
#include "EnableDebug.h"
#include "Hacks.h"
#include "DrawMenu.h"
BOOL APIENTRY DllMain(HMODULE hmodule, DWORD ui_reason_for_call, LPVOID lpReserved)
{
EnableDebugPrivilege();
if (... | 20.1 | 84 | 0.701493 | FuckLaw |
818d804c6d56ffcedf17622a5ecdfa9502bbdc8f | 4,627 | cpp | C++ | Source/Compiler/SyntaxHandlers/AssignmentExpressionHandler.cpp | spencerparkin/Powder | 2378c1d86c02ccd078e905b06c646777b074b9c0 | [
"MIT"
] | 1 | 2021-06-19T05:53:35.000Z | 2021-06-19T05:53:35.000Z | Source/Compiler/SyntaxHandlers/AssignmentExpressionHandler.cpp | spencerparkin/Powder | 2378c1d86c02ccd078e905b06c646777b074b9c0 | [
"MIT"
] | 6 | 2021-07-29T05:44:03.000Z | 2021-07-29T05:56:58.000Z | Source/Compiler/SyntaxHandlers/AssignmentExpressionHandler.cpp | spencerparkin/Powder | 2378c1d86c02ccd078e905b06c646777b074b9c0 | [
"MIT"
] | null | null | null | #include "AssignmentExpressionHandler.h"
#include "StoreInstruction.h"
#include "MathInstruction.h"
#include "PopInstruction.h"
#include "Assembler.h"
namespace Powder
{
AssignmentExpressionHandler::AssignmentExpressionHandler()
{
}
/*virtual*/ AssignmentExpressionHandler::~AssignmentExpressionHandler()
{
}
/... | 57.8375 | 217 | 0.768749 | spencerparkin |
818e8bc200fae67e4e4aa14fb7e82805adc23ebc | 548 | hpp | C++ | src/reporter/resources/rp_different_type_report_resources.hpp | lpea/cppinclude | dc126c6057d2fe30569e6e86f66d2c8eebb50212 | [
"MIT"
] | 177 | 2020-08-24T19:20:35.000Z | 2022-03-27T01:58:04.000Z | src/reporter/resources/rp_different_type_report_resources.hpp | lpea/cppinclude | dc126c6057d2fe30569e6e86f66d2c8eebb50212 | [
"MIT"
] | 15 | 2020-08-30T17:59:42.000Z | 2022-01-12T11:14:10.000Z | src/reporter/resources/rp_different_type_report_resources.hpp | lpea/cppinclude | dc126c6057d2fe30569e6e86f66d2c8eebb50212 | [
"MIT"
] | 11 | 2020-09-17T23:31:10.000Z | 2022-03-04T13:15:21.000Z | #pragma once
//------------------------------------------------------------------------------
namespace reporter::resources::different_type_report
{
//------------------------------------------------------------------------------
extern const char * const Name;
extern const char * const Header;
extern const char * ... | 26.095238 | 80 | 0.432482 | lpea |
818f5d7c3c20565e970518af1ea7f57a32ec325a | 947 | hpp | C++ | robot2019-ros/initial_pose/include/initialpose_node.hpp | junhuizhou/ROS_Learning | bb3a0c867ba2bd147bbd59176cf1224c09a63914 | [
"MIT"
] | null | null | null | robot2019-ros/initial_pose/include/initialpose_node.hpp | junhuizhou/ROS_Learning | bb3a0c867ba2bd147bbd59176cf1224c09a63914 | [
"MIT"
] | 1 | 2021-05-07T07:30:11.000Z | 2021-05-07T07:30:11.000Z | robot2019-ros/initial_pose/include/initialpose_node.hpp | junhuizhou/ROS_Learning | bb3a0c867ba2bd147bbd59176cf1224c09a63914 | [
"MIT"
] | null | null | null | #ifndef INITIALPOSE_NODE_H
#define INITIALPOSE_NODE_H
#include <initialpose_include.hpp>
#include <initialpose_config.hpp>
#include <initialpose_estimation.hpp>
class initialpose_node {
public:
initialpose_node(std::string node_name);
bool setTransform(std::string laser_topic_name);
bool GetStaticMap();
void ... | 21.522727 | 66 | 0.80359 | junhuizhou |
8190c3ae636d33baee970e4bb21ac030732c29e6 | 33 | cpp | C++ | MagneticPositioning_VC_Pro/MagneticPositioning_Matlab/openglhelper.cpp | Peefy/MagneticPositioningGUI | 1adc91688ba14c0a361ce5a9d7fd939f7d088207 | [
"MIT"
] | 2 | 2018-04-21T04:54:28.000Z | 2020-12-04T05:23:38.000Z | MagneticPositioning_VC_Pro/MagneticPositioning_Matlab/openglhelper.cpp | Peefy/MagneticPositioningGUI | 1adc91688ba14c0a361ce5a9d7fd939f7d088207 | [
"MIT"
] | null | null | null | MagneticPositioning_VC_Pro/MagneticPositioning_Matlab/openglhelper.cpp | Peefy/MagneticPositioningGUI | 1adc91688ba14c0a361ce5a9d7fd939f7d088207 | [
"MIT"
] | 1 | 2020-10-28T07:43:17.000Z | 2020-10-28T07:43:17.000Z |
#include "util/openglhelper.h"
| 8.25 | 30 | 0.727273 | Peefy |
81919146816ee771de4ac0626d14b2315c490460 | 967 | cpp | C++ | Documentation/Examples/Matrices/DenseMatrix/DenseMatrixViewExample_wrap.cpp | grinisrit/tnl-dev | 4403b2dca895e2c32636395d6f1c1210c7afcefd | [
"MIT"
] | null | null | null | Documentation/Examples/Matrices/DenseMatrix/DenseMatrixViewExample_wrap.cpp | grinisrit/tnl-dev | 4403b2dca895e2c32636395d6f1c1210c7afcefd | [
"MIT"
] | null | null | null | Documentation/Examples/Matrices/DenseMatrix/DenseMatrixViewExample_wrap.cpp | grinisrit/tnl-dev | 4403b2dca895e2c32636395d6f1c1210c7afcefd | [
"MIT"
] | null | null | null | #include <iostream>
#include <TNL/Algorithms/ParallelFor.h>
#include <TNL/Matrices/DenseMatrix.h>
#include <TNL/Matrices/MatrixWrapping.h>
#include <TNL/Devices/Host.h>
#include <TNL/Devices/Cuda.h>
template< typename Device >
void wrapMatrixView()
{
const int rows( 3 ), columns( 4 );
TNL::Containers::Vector< do... | 27.628571 | 83 | 0.635988 | grinisrit |
8193ebd46c6978641d2dcd2c91896cdb838f4f33 | 46,314 | cpp | C++ | src/MapleFE/recdetect/rec_detect.cpp | venshine/OpenArkCompiler | 264cd4463834356658154f0d254672ef559f245f | [
"MulanPSL-1.0"
] | 2 | 2019-09-06T07:02:41.000Z | 2019-09-09T12:24:46.000Z | src/MapleFE/recdetect/rec_detect.cpp | venshine/OpenArkCompiler | 264cd4463834356658154f0d254672ef559f245f | [
"MulanPSL-1.0"
] | null | null | null | src/MapleFE/recdetect/rec_detect.cpp | venshine/OpenArkCompiler | 264cd4463834356658154f0d254672ef559f245f | [
"MulanPSL-1.0"
] | null | null | null | /*
* Copyright (C) [2020] Futurewei Technologies, Inc. All rights reverved.
*
* OpenArkFE is licensed under the Mulan PSL v2.
* You can use this software according to the terms and conditions of the Mulan PSL v2.
* You may obtain a copy of Mulan PSL v2 at:
*
* http://license.coscl.org.cn/MulanPSL2
*
* THIS SOFTWARE IS... | 33.415584 | 94 | 0.621324 | venshine |
819474638dc5b1cca9837569cd09459ab6c47db7 | 2,199 | cpp | C++ | src/cpp/wkbreader.cpp | sanak/node-geos-c | 7cd965a72627e6a9034c3e2bdb9f9acc5057f868 | [
"MIT"
] | 19 | 2015-01-25T16:50:48.000Z | 2021-08-17T11:34:34.000Z | src/cpp/wkbreader.cpp | sanak/node-geos-c | 7cd965a72627e6a9034c3e2bdb9f9acc5057f868 | [
"MIT"
] | 8 | 2016-03-23T18:29:47.000Z | 2022-01-04T07:18:26.000Z | src/cpp/wkbreader.cpp | sanak/node-geos | 7cd965a72627e6a9034c3e2bdb9f9acc5057f868 | [
"MIT"
] | 9 | 2015-02-04T03:52:40.000Z | 2020-10-11T07:11:02.000Z | #include "wkbreader.hpp"
#include <sstream>
WKBReader::WKBReader() {
_reader = new geos::io::WKBReader();
}
WKBReader::WKBReader(const geos::geom::GeometryFactory *gf) {
_reader = new geos::io::WKBReader(*gf);
}
WKBReader::~WKBReader() {}
Persistent<Function> WKBReader::constructor;
void WKBReader::Initial... | 31.414286 | 112 | 0.678035 | sanak |
819573b70a5710b3ef86fc2f10db4ffbecb23301 | 1,148 | cpp | C++ | Engine/Plugins/Runtime/SoundUtilities/Source/SoundUtilitiesEditor/Private/SoundUtilitiesEditorModule.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | 1 | 2022-01-29T18:36:12.000Z | 2022-01-29T18:36:12.000Z | Engine/Plugins/Runtime/SoundUtilities/Source/SoundUtilitiesEditor/Private/SoundUtilitiesEditorModule.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | Engine/Plugins/Runtime/SoundUtilities/Source/SoundUtilitiesEditor/Private/SoundUtilitiesEditorModule.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#include "SoundUtilitiesEditorModule.h"
#include "CoreMinimal.h"
#include "Stats/Stats.h"
#include "Modules/ModuleInterface.h"
#include "Modules/ModuleManager.h"
#include "AssetToolsModule.h"
#include "AssetTypeActions_SoundSimple.h"
#include "AssetTypeActio... | 33.764706 | 113 | 0.827526 | windystrife |
819684a2218044976d61e1c21b2892b23c0875a5 | 2,848 | cpp | C++ | algorithms/0100_same_tree/solution.cpp | GambuzX/LeetCode | 8cd60debb906579ccb6936a69aaa3cc13d2dce8d | [
"MIT"
] | null | null | null | algorithms/0100_same_tree/solution.cpp | GambuzX/LeetCode | 8cd60debb906579ccb6936a69aaa3cc13d2dce8d | [
"MIT"
] | null | null | null | algorithms/0100_same_tree/solution.cpp | GambuzX/LeetCode | 8cd60debb906579ccb6936a69aaa3cc13d2dce8d | [
"MIT"
] | null | null | null | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution {
public:
bool isSameTree(TreeNode* p, TreeNode* q) {
stack<TreeNode*> s1;
stack<TreeNode... | 24.135593 | 79 | 0.499298 | GambuzX |
8196c292c22d7abf127a7afbe219296c7696d64f | 18,247 | cpp | C++ | SpatialGDK/Source/SpatialGDK/Private/Utils/SpatialDebugger.cpp | Bowbee/GDKPrebuilt | 420b3fa19fdc36755a43e655c057b5624264407a | [
"MIT"
] | 363 | 2018-07-30T12:57:42.000Z | 2022-03-25T14:30:28.000Z | SpatialGDK/Source/SpatialGDK/Private/Utils/SpatialDebugger.cpp | Bowbee/GDKPrebuilt | 420b3fa19fdc36755a43e655c057b5624264407a | [
"MIT"
] | 1,634 | 2018-07-30T14:30:25.000Z | 2022-03-03T01:55:15.000Z | SpatialGDK/Source/SpatialGDK/Private/Utils/SpatialDebugger.cpp | Bowbee/GDKPrebuilt | 420b3fa19fdc36755a43e655c057b5624264407a | [
"MIT"
] | 153 | 2018-07-31T13:45:02.000Z | 2022-03-03T05:20:24.000Z | // Copyright (c) Improbable Worlds Ltd, All Rights Reserved
#include "Utils/SpatialDebugger.h"
#include "EngineClasses/SpatialNetDriver.h"
#include "Interop/SpatialReceiver.h"
#include "Interop/SpatialSender.h"
#include "Interop/SpatialStaticComponentView.h"
#include "LoadBalancing/GridBasedLBStrategy.h"
#include "Lo... | 34.690114 | 181 | 0.775744 | Bowbee |
8198abf50adc2d6525c9e1e7d0e6dc61507d28e8 | 1,490 | cc | C++ | examples/UniformObjectPoolExample/main.cc | PerttuP/PPUtils | 97971d6e2b662bab9a4966b4c39ac59509c01359 | [
"MIT"
] | null | null | null | examples/UniformObjectPoolExample/main.cc | PerttuP/PPUtils | 97971d6e2b662bab9a4966b4c39ac59509c01359 | [
"MIT"
] | null | null | null | examples/UniformObjectPoolExample/main.cc | PerttuP/PPUtils | 97971d6e2b662bab9a4966b4c39ac59509c01359 | [
"MIT"
] | null | null | null | /*
* This is a simple example program to demonstrate the usage of the
* PPUtils::UniformObjectPool class template.
*
* Author: Perttu Paarlahti perttu.paarlahti@gmail.com
* Created: 29-June-2015
*/
#include <iostream>
#include <functional>
#include "../../source/PPUtils/uniformobjectpool.hh"
class VeryCo... | 22.575758 | 77 | 0.610738 | PerttuP |
819d2321ac2018d65bf373e8e9e768e8b162ca37 | 530 | cxx | C++ | rutil/ParseException.cxx | dulton/reSipServer | ac4241df81c1e3eef2e678271ffef4dda1fc6747 | [
"Apache-2.0"
] | 1 | 2019-04-15T14:10:58.000Z | 2019-04-15T14:10:58.000Z | rutil/ParseException.cxx | dulton/reSipServer | ac4241df81c1e3eef2e678271ffef4dda1fc6747 | [
"Apache-2.0"
] | null | null | null | rutil/ParseException.cxx | dulton/reSipServer | ac4241df81c1e3eef2e678271ffef4dda1fc6747 | [
"Apache-2.0"
] | 2 | 2019-10-31T09:11:09.000Z | 2021-09-17T01:00:49.000Z | #include "rutil/ParseException.hxx"
namespace resip
{
ParseException::ParseException(const Data& msg,
const Data& context,
const Data& file,
const int line)
: resip::BaseException(msg, file, line),
mContext(con... | 17.666667 | 54 | 0.575472 | dulton |
819e1cbc99fc76163756220c8033c8e8415940c7 | 2,183 | hpp | C++ | miopengemm/include/miopengemm/tinytwo.hpp | pruthvistony/MIOpenGEMM | 8f844e134d54244a6138504a4190486d8702e8fd | [
"MIT"
] | 52 | 2017-06-30T06:45:19.000Z | 2021-11-04T01:53:48.000Z | miopengemm/include/miopengemm/tinytwo.hpp | pruthvistony/MIOpenGEMM | 8f844e134d54244a6138504a4190486d8702e8fd | [
"MIT"
] | 31 | 2017-08-01T03:17:25.000Z | 2022-03-22T18:19:41.000Z | miopengemm/include/miopengemm/tinytwo.hpp | pruthvistony/MIOpenGEMM | 8f844e134d54244a6138504a4190486d8702e8fd | [
"MIT"
] | 23 | 2017-07-17T02:09:17.000Z | 2021-11-10T00:38:19.000Z | /*******************************************************************************
* Copyright (C) 2017 Advanced Micro Devices, Inc. All rights reserved.
*******************************************************************************/
#ifndef GUARD_MIOPENGEMM_DEGEMMAPIQQ_HPP
#define GUARD_MIOPENGEMM_DEGEMMAPIQQ_HPP
#i... | 25.682353 | 92 | 0.637655 | pruthvistony |
819ec17303f0d6f29fec611f81d2e4c369592e9f | 1,664 | cpp | C++ | Userland/Libraries/LibGUI/DisplayLink.cpp | AristodamusAdairs/SegueBaseOS | 36e8546009cfea6acd25f111b1cd0ce766271a77 | [
"BSD-2-Clause",
"MIT"
] | 1 | 2021-07-05T13:51:23.000Z | 2021-07-05T13:51:23.000Z | Userland/Libraries/LibGUI/DisplayLink.cpp | AristodamusAdairs/SegueBaseOS | 36e8546009cfea6acd25f111b1cd0ce766271a77 | [
"BSD-2-Clause",
"MIT"
] | 1 | 2021-08-02T21:33:29.000Z | 2021-08-06T21:22:19.000Z | Userland/Libraries/LibGUI/DisplayLink.cpp | AristodamusAdairs/SegueBaseOS | 36e8546009cfea6acd25f111b1cd0ce766271a77 | [
"BSD-2-Clause",
"MIT"
] | null | null | null | /*
* Copyright (c) 2020, Andreas Kling <kling@seguebaseos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <AK/Badge.h>
#include <AK/Function.h>
#include <AK/HashMap.h>
#include <LibGUI/DisplayLink.h>
#include <LibGUI/WindowServerConnection.h>
namespace GUI {
class DisplayLinkCallback : public RefCount... | 22.794521 | 99 | 0.696514 | AristodamusAdairs |
819f8ddb9ade96e04c8ed3540d7fc38ed513bdea | 220 | cxx | C++ | Utilities/planio/realloc.cxx | NIRALUser/AtlasWerks | a074ca208ab41a6ed89c1f0b70004998f7397681 | [
"BSD-3-Clause"
] | 3 | 2016-04-26T05:06:06.000Z | 2020-08-01T09:46:54.000Z | Utilities/planio/realloc.cxx | scalphunters/AtlasWerks | 9d224bf8db628805368fcb7973ac578937b6b595 | [
"BSD-3-Clause"
] | 1 | 2018-11-27T21:53:48.000Z | 2019-05-13T15:21:31.000Z | Utilities/planio/realloc.cxx | scalphunters/AtlasWerks | 9d224bf8db628805368fcb7973ac578937b6b595 | [
"BSD-3-Clause"
] | 2 | 2019-01-24T02:07:17.000Z | 2019-12-11T17:27:42.000Z |
#include <stdio.h>
#include <stdlib.h>
void *
Realloc(void *ptr, int size)
{
if (size == 0) size = sizeof(int);
if (ptr == NULL) ptr = calloc(size,1);
else ptr = realloc(ptr, size);
return(ptr);
}
| 12.222222 | 42 | 0.568182 | NIRALUser |
81a0a0d1f022e000527c7301b1d4c1c2d42b9bd9 | 6,346 | cpp | C++ | src/Programs/Terminal/Terminal.cpp | Kaj9296/Electric_OS | 31e1d9318943e50e2bc095dc2ba32d4ce26e7e8b | [
"MIT"
] | 7 | 2022-02-20T16:34:48.000Z | 2022-02-26T06:14:51.000Z | src/Programs/Terminal/Terminal.cpp | Kaj9296/Electric_OS | 31e1d9318943e50e2bc095dc2ba32d4ce26e7e8b | [
"MIT"
] | null | null | null | src/Programs/Terminal/Terminal.cpp | Kaj9296/Electric_OS | 31e1d9318943e50e2bc095dc2ba32d4ce26e7e8b | [
"MIT"
] | 4 | 2022-02-20T16:25:44.000Z | 2022-03-20T07:49:25.000Z | #include "Terminal.h"
#include "STL/Graphics/Framebuffer.h"
#include "STL/String/String.h"
#include "STL/String/cstr.h"
#include "STL/System/System.h"
#include "Version.h"
#define NEWLINE_OFFSET RAISED_WIDTH * 3
namespace Terminal
{
uint64_t PrevTick = 0;
char Command[64];
STL::String Text;
STL::Po... | 31.73 | 173 | 0.443744 | Kaj9296 |
81a158690d1e2643f6cc70d65bfeeea9bd7f520c | 2,223 | hpp | C++ | src/3rd party/components/ElPack/Code/Source/ElTreeDTPickEdit.hpp | OLR-xray/OLR-3.0 | b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611 | [
"Apache-2.0"
] | 8 | 2016-01-25T20:18:51.000Z | 2019-03-06T07:00:04.000Z | src/3rd party/components/ElPack/Code/Source/ElTreeDTPickEdit.hpp | OLR-xray/OLR-3.0 | b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611 | [
"Apache-2.0"
] | null | null | null | src/3rd party/components/ElPack/Code/Source/ElTreeDTPickEdit.hpp | OLR-xray/OLR-3.0 | b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611 | [
"Apache-2.0"
] | 3 | 2016-02-14T01:20:43.000Z | 2021-02-03T11:19:11.000Z | // Borland C++ Builder
// Copyright (c) 1995, 2002 by Borland Software Corporation
// All rights reserved
// (DO NOT EDIT: machine generated header) 'ElTreeDTPickEdit.pas' rev: 6.00
#ifndef ElTreeDTPickEditHPP
#define ElTreeDTPickEditHPP
#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#inc... | 33.681818 | 94 | 0.695906 | OLR-xray |
81a3842fb532d19187fa8cdb45c554b79470b22d | 8,541 | hpp | C++ | master/core/third/boost/geometry/algorithms/disjoint.hpp | importlib/klib | a59837857689d0e60d3df6d2ebd12c3160efa794 | [
"MIT"
] | 198 | 2015-01-13T05:47:18.000Z | 2022-03-09T04:46:46.000Z | master/core/third/boost/geometry/algorithms/disjoint.hpp | isuhao/klib | a59837857689d0e60d3df6d2ebd12c3160efa794 | [
"MIT"
] | 197 | 2017-07-06T16:53:59.000Z | 2019-05-31T17:57:51.000Z | master/core/third/boost/geometry/algorithms/disjoint.hpp | isuhao/klib | a59837857689d0e60d3df6d2ebd12c3160efa794 | [
"MIT"
] | 139 | 2015-01-15T20:09:31.000Z | 2022-01-31T15:21:16.000Z | // Boost.Geometry (aka GGL, Generic Geometry Library)
// Copyright (c) 2007-2012 Barend Gehrels, Amsterdam, the Netherlands.
// Copyright (c) 2008-2012 Bruno Lalande, Paris, France.
// Copyright (c) 2009-2012 Mateusz Loskot, London, UK.
// Parts of Boost.Geometry are redesigned from Geodan's Geographic Library
... | 28.281457 | 89 | 0.65449 | importlib |
81a46bb917d47aca2ad6d58fe1943d5095915be2 | 12,782 | cpp | C++ | src/test/simple_kv/checker.cpp | imzhenyu/rDSN.dist.service | 741cdfcaabd7312e64d10f3f194de7790b578d01 | [
"MIT"
] | 2 | 2016-12-08T05:56:22.000Z | 2021-12-08T18:41:47.000Z | src/test/simple_kv/checker.cpp | imzhenyu/rDSN.dist.service | 741cdfcaabd7312e64d10f3f194de7790b578d01 | [
"MIT"
] | 15 | 2016-08-09T23:37:11.000Z | 2018-09-21T09:45:28.000Z | src/test/simple_kv/checker.cpp | imzhenyu/rDSN.dist.service | 741cdfcaabd7312e64d10f3f194de7790b578d01 | [
"MIT"
] | 4 | 2016-11-18T08:25:33.000Z | 2021-12-08T18:41:49.000Z | /*
* The MIT License (MIT)
*
* Copyright (c) 2015 Microsoft Corporation
*
* -=- Robust Distributed System Nucleus (rDSN) -=-
*
* 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 witho... | 31.955 | 125 | 0.622751 | imzhenyu |
81a5206236d59672af33811fd865ded83964a51e | 925 | cpp | C++ | Codeforces/B_394.cpp | ahakouz17/Competitive-Programming-Practice | 5f4daaf491ab03bb86387e491ecc5634b7f99433 | [
"MIT"
] | null | null | null | Codeforces/B_394.cpp | ahakouz17/Competitive-Programming-Practice | 5f4daaf491ab03bb86387e491ecc5634b7f99433 | [
"MIT"
] | null | null | null | Codeforces/B_394.cpp | ahakouz17/Competitive-Programming-Practice | 5f4daaf491ab03bb86387e491ecc5634b7f99433 | [
"MIT"
] | null | null | null | // solved: 2014-03-06 21:38:08
// https://codeforces.com/contest/394/problem/B
#include <bits/stdc++.h>
using namespace std;
int main()
{
int p, x, n = 0, rem = 0, last;
vector<int> num;
cin >> p >> x;
for (int i = 1; i <= 9; i++)
{
n = 1;
last = i;
rem = 0;
num.push_... | 23.717949 | 70 | 0.353514 | ahakouz17 |
81a552e0cc23619db8c57f0642d0156b11290d26 | 12,750 | cpp | C++ | src/modules/filesystem/file_stream.cpp | badlee/TideSDK | fe6f6c93c6cab3395121696f48d3b55d43e1eddd | [
"Apache-2.0"
] | 1 | 2021-09-18T10:10:39.000Z | 2021-09-18T10:10:39.000Z | src/modules/filesystem/file_stream.cpp | hexmode/TideSDK | 2c0276de08d7b760b53416bbd8038d79b8474fc5 | [
"Apache-2.0"
] | 1 | 2022-02-08T08:45:29.000Z | 2022-02-08T08:45:29.000Z | src/modules/filesystem/file_stream.cpp | hexmode/TideSDK | 2c0276de08d7b760b53416bbd8038d79b8474fc5 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright (c) 2012 - 2014 TideSDK contributors
* http://www.tidesdk.org
* Includes modified sources under the Apache 2 License
* Copyright (c) 2008 - 2012 Appcelerator Inc
* Refer to LICENSE for details of distribution and use.
**/
#include "file_stream.h"
#include <cstring>
#include <sstream>
#include <s... | 26.452282 | 110 | 0.552627 | badlee |
81a57fbb39618fb478255792c263a7155cfa18ea | 2,439 | cpp | C++ | modules/bindings/src/loggerdevice.cpp | OpenMA/openma | 6f3b55292fd0a862b3444f11d71d0562cfe81ac1 | [
"Unlicense"
] | 41 | 2016-06-28T13:51:39.000Z | 2022-01-20T16:33:00.000Z | modules/bindings/src/loggerdevice.cpp | bmswgnp/openma | 6f3b55292fd0a862b3444f11d71d0562cfe81ac1 | [
"Unlicense"
] | 82 | 2016-04-09T15:19:31.000Z | 2018-11-15T18:56:12.000Z | modules/bindings/src/loggerdevice.cpp | bmswgnp/openma | 6f3b55292fd0a862b3444f11d71d0562cfe81ac1 | [
"Unlicense"
] | 9 | 2016-03-29T14:28:31.000Z | 2020-07-29T07:39:19.000Z | /*
* Open Source Movement Analysis Library
* Copyright (C) 2016, Moveck Solution Inc., all rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must reta... | 34.352113 | 82 | 0.715457 | OpenMA |
81a5df87357c8f940e4c2aacfc8b016b64853a6a | 5,921 | cc | C++ | third_party/blink/renderer/platform/graphics/filters/fe_lighting.cc | Ron423c/chromium | 2edf7b980065b648f8b2a6e52193d83832fe36b7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 575 | 2015-06-18T23:58:20.000Z | 2022-03-23T09:32:39.000Z | third_party/blink/renderer/platform/graphics/filters/fe_lighting.cc | Ron423c/chromium | 2edf7b980065b648f8b2a6e52193d83832fe36b7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 113 | 2015-05-04T09:58:14.000Z | 2022-01-31T19:35:03.000Z | third_party/blink/renderer/platform/graphics/filters/fe_lighting.cc | iridium-browser/iridium-browser | 907e31cf5ce5ad14d832796e3a7c11e496828959 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 52 | 2015-07-14T10:40:50.000Z | 2022-03-15T01:11:49.000Z | /*
* Copyright (C) 2010 University of Szeged
* Copyright (C) 2010 Zoltan Herczeg
* Copyright (C) 2013 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of so... | 47.368 | 86 | 0.703597 | Ron423c |
81a88c5d877373caa948e8f5d4af79e8f1f8b328 | 12,808 | cpp | C++ | media/libeffects/lvm/lib/SpectrumAnalyzer/src/LVPSA_Process.cpp | Dreadwyrm/lhos_frameworks_av | 62c63ccfdf5c79a3ad9be4836f473da9398c671b | [
"Apache-2.0"
] | null | null | null | media/libeffects/lvm/lib/SpectrumAnalyzer/src/LVPSA_Process.cpp | Dreadwyrm/lhos_frameworks_av | 62c63ccfdf5c79a3ad9be4836f473da9398c671b | [
"Apache-2.0"
] | null | null | null | media/libeffects/lvm/lib/SpectrumAnalyzer/src/LVPSA_Process.cpp | Dreadwyrm/lhos_frameworks_av | 62c63ccfdf5c79a3ad9be4836f473da9398c671b | [
"Apache-2.0"
] | 2 | 2021-07-08T07:42:11.000Z | 2021-07-09T21:56:10.000Z | /*
* Copyright (C) 2004-2010 NXP Software
* Copyright (C) 2010 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/... | 49.072797 | 219 | 0.462523 | Dreadwyrm |
81a957f1b1737e8ad6faa7205757a2dab551470d | 2,109 | cpp | C++ | test/src/fetch_request_test.cpp | perchits/libkafka-asio | cbdced006d49a4498955a222915c6514b4ac57a7 | [
"MIT"
] | 77 | 2015-04-07T08:14:14.000Z | 2022-02-14T01:07:05.000Z | test/src/fetch_request_test.cpp | perchits/libkafka-asio | cbdced006d49a4498955a222915c6514b4ac57a7 | [
"MIT"
] | 28 | 2015-04-07T08:57:41.000Z | 2020-04-19T21:25:22.000Z | test/src/fetch_request_test.cpp | perchits/libkafka-asio | cbdced006d49a4498955a222915c6514b4ac57a7 | [
"MIT"
] | 48 | 2015-04-15T05:34:51.000Z | 2022-03-17T11:50:20.000Z | //
// fetch_request_test.cpp
// ----------------------
//
// Copyright (c) 2015 Daniel Joos
//
// Distributed under MIT license. (See file LICENSE)
//
#include <gtest/gtest.h>
#include <libkafka_asio/libkafka_asio.h>
class FetchRequestTest :
public ::testing::Test
{
protected:
virtual void SetUp()
{
ASSERT_... | 30.565217 | 66 | 0.700806 | perchits |
81a99ce7a41dc4391f2f712f9b64fb747b4e3d52 | 18,533 | cc | C++ | third_party/blink/renderer/core/editing/commands/apply_block_element_command.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | third_party/blink/renderer/core/editing/commands/apply_block_element_command.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | third_party/blink/renderer/core/editing/commands/apply_block_element_command.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2021-01-05T23:43:46.000Z | 2021-01-07T23:36:34.000Z | /*
* Copyright (C) 2006, 2008 Apple Inc. All rights reserved.
* Copyright (C) 2010 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retai... | 43.917062 | 89 | 0.732261 | sarang-apps |
81ac79b2f71f976e02888fc20fceb936a204eb47 | 6,368 | cpp | C++ | src/graphics/Color.cpp | bigplayszn/nCine | 43f5fe8e82e9daa21e4d1feea9ca41ed4cce7454 | [
"MIT"
] | 675 | 2019-05-28T19:00:55.000Z | 2022-03-31T16:44:28.000Z | src/graphics/Color.cpp | bigplayszn/nCine | 43f5fe8e82e9daa21e4d1feea9ca41ed4cce7454 | [
"MIT"
] | 13 | 2020-03-29T06:46:32.000Z | 2022-01-29T03:19:30.000Z | src/graphics/Color.cpp | bigplayszn/nCine | 43f5fe8e82e9daa21e4d1feea9ca41ed4cce7454 | [
"MIT"
] | 53 | 2019-06-02T03:04:10.000Z | 2022-03-11T06:17:50.000Z | #include "Color.h"
#include "Colorf.h"
#include <nctl/algorithms.h>
namespace ncine {
///////////////////////////////////////////////////////////
// STATIC DEFINITIONS
///////////////////////////////////////////////////////////
const Color Color::Black(0, 0, 0, 255);
const Color Color::White(255, 255, 255, 255);
con... | 26.205761 | 92 | 0.642588 | bigplayszn |
81b344fc301f62971a7fa3913a9e10952f711638 | 33 | cpp | C++ | Alerter/Alerter.cpp | gr82morozr/iot-common | 3de2e0a9ff4d6cdf71d7f47a7709574e4777d831 | [
"MIT"
] | 1 | 2022-01-22T23:56:51.000Z | 2022-01-22T23:56:51.000Z | Alerter/Alerter.cpp | gr82morozr/iot-common | 3de2e0a9ff4d6cdf71d7f47a7709574e4777d831 | [
"MIT"
] | null | null | null | Alerter/Alerter.cpp | gr82morozr/iot-common | 3de2e0a9ff4d6cdf71d7f47a7709574e4777d831 | [
"MIT"
] | null | null | null | #include <Alerter/Alerter.h>
| 5.5 | 28 | 0.666667 | gr82morozr |
81b61523d4ac1c0b5ede6db155a0c87b938828be | 1,315 | cpp | C++ | leetcode/cpp/qt_palindrome_permutation.cpp | qiaotian/CodeInterview | 294c1ba86d8ace41a121c5ada4ba4c3765ccc17d | [
"WTFPL"
] | 5 | 2016-10-29T09:28:11.000Z | 2019-10-19T23:02:48.000Z | leetcode/cpp/qt_palindrome_permutation.cpp | qiaotian/CodeInterview | 294c1ba86d8ace41a121c5ada4ba4c3765ccc17d | [
"WTFPL"
] | null | null | null | leetcode/cpp/qt_palindrome_permutation.cpp | qiaotian/CodeInterview | 294c1ba86d8ace41a121c5ada4ba4c3765ccc17d | [
"WTFPL"
] | null | null | null | /**
* @Author: Tian Qiao <qiaotian>
* @Date: 2016-07-03T11:17:52+08:00
* @Email: qiaotian@me.com
* @Last modified by: qiaotian
* @Last modified time: 2016-07-03T11:19:50+08:00
* @License: Free License
* @Inc: Google, Uber
* @Easy
*/
Given a string, determine if a permutation of the string could form a palindrome.... | 27.395833 | 133 | 0.626616 | qiaotian |
81b6588b2b602e7ee29cd4b5ae59e945f4cf7586 | 9,991 | cc | C++ | chrome/browser/sync/test/integration/passwords_helper.cc | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/sync/test/integration/passwords_helper.cc | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/sync/test/integration/passwords_helper.cc | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/sync/test/integration/passwords_helper.h"
#include <sstream>
#include <utility>
#include "base/compiler_specific.h"
#includ... | 34.215753 | 81 | 0.730157 | metux |
81ba9781070eba3e35c32695ddcc6d305e99e3a4 | 2,402 | hpp | C++ | include/UnityEngine/Animations/AnimationHumanStream.hpp | RedBrumbler/virtuoso-codegen | e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3 | [
"Unlicense"
] | null | null | null | include/UnityEngine/Animations/AnimationHumanStream.hpp | RedBrumbler/virtuoso-codegen | e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3 | [
"Unlicense"
] | null | null | null | include/UnityEngine/Animations/AnimationHumanStream.hpp | RedBrumbler/virtuoso-codegen | e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "beatsaber-hook/shared/utils/byref.hpp"
// Including type: System.ValueType
#include "System/ValueType.hpp"
// Including type: System.IntPtr
#in... | 41.413793 | 135 | 0.722315 | RedBrumbler |
81bad7f3ace1ba946ccf02caa28e9a3f7265a159 | 4,709 | cpp | C++ | inference_backend/image_inference/async_with_va_api/va_api_wrapper/vaapi_context.cpp | MisterArslan/dlstreamer_gst | ff6d0bc138f372bb988baf368af4a3693b808e16 | [
"MIT"
] | 125 | 2020-09-18T10:50:27.000Z | 2022-02-10T06:20:59.000Z | inference_backend/image_inference/async_with_va_api/va_api_wrapper/vaapi_context.cpp | MisterArslan/dlstreamer_gst | ff6d0bc138f372bb988baf368af4a3693b808e16 | [
"MIT"
] | 155 | 2020-09-10T23:32:29.000Z | 2022-02-05T07:10:26.000Z | inference_backend/image_inference/async_with_va_api/va_api_wrapper/vaapi_context.cpp | MisterArslan/dlstreamer_gst | ff6d0bc138f372bb988baf368af4a3693b808e16 | [
"MIT"
] | 41 | 2020-09-15T08:49:17.000Z | 2022-01-24T10:39:36.000Z | /*******************************************************************************
* Copyright (C) 2019-2021 Intel Corporation
*
* SPDX-License-Identifier: MIT
******************************************************************************/
#include "vaapi_context.h"
#include "inference_backend/logger.h"
#include "u... | 33.635714 | 119 | 0.712678 | MisterArslan |
81baf3ae028b0ebf7d0bc882ffb7ba903141ed6e | 2,594 | cpp | C++ | src/lib/tide/api/environment_binding.cpp | dubcanada/TideSDKLite | f2f3959e8d464c1096bd5e0963149a3589d54a25 | [
"Apache-2.0"
] | 2 | 2015-11-05T01:53:44.000Z | 2015-12-17T06:52:12.000Z | src/lib/tide/api/environment_binding.cpp | aykutb/TideSDK | 267e1cb86dc2dc7bef136a78a6f2177233bad233 | [
"Apache-2.0"
] | null | null | null | src/lib/tide/api/environment_binding.cpp | aykutb/TideSDK | 267e1cb86dc2dc7bef136a78a6f2177233bad233 | [
"Apache-2.0"
] | 1 | 2015-07-12T19:35:36.000Z | 2015-07-12T19:35:36.000Z | /**
* This file has been modified from its orginal sources.
*
* Copyright (c) 2012 Software in the Public Interest Inc (SPI)
* Copyright (c) 2012 David Pratt
*
* 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... | 32.835443 | 84 | 0.660756 | dubcanada |
81bb477134247026f24cc1f3ab678d0eeb1151f4 | 3,508 | cpp | C++ | o3d/collada_edge/cross/collada_edge.cpp | rwatson/chromium-capsicum | b03da8e897f897c6ad2cda03ceda217b760fd528 | [
"BSD-3-Clause"
] | 11 | 2015-03-20T04:08:08.000Z | 2021-11-15T15:51:36.000Z | o3d/collada_edge/cross/collada_edge.cpp | rwatson/chromium-capsicum | b03da8e897f897c6ad2cda03ceda217b760fd528 | [
"BSD-3-Clause"
] | null | null | null | o3d/collada_edge/cross/collada_edge.cpp | rwatson/chromium-capsicum | b03da8e897f897c6ad2cda03ceda217b760fd528 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright 2009, Google Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditio... | 39.863636 | 79 | 0.65992 | rwatson |
81bc6385d9522fc960507eb8b4db75542d010bfd | 3,361 | cpp | C++ | build/linux-build/Sources/src/kha/kore/graphics4/ConstantLocation.cpp | 5Mixer/GGJ20 | a12a14d596ab150e8d96dda5a21defcd176f251f | [
"MIT"
] | null | null | null | build/linux-build/Sources/src/kha/kore/graphics4/ConstantLocation.cpp | 5Mixer/GGJ20 | a12a14d596ab150e8d96dda5a21defcd176f251f | [
"MIT"
] | null | null | null | build/linux-build/Sources/src/kha/kore/graphics4/ConstantLocation.cpp | 5Mixer/GGJ20 | a12a14d596ab150e8d96dda5a21defcd176f251f | [
"MIT"
] | null | null | null | // Generated by Haxe 4.0.5
#include <hxcpp.h>
#ifndef INCLUDED_kha_graphics4_ConstantLocation
#include <hxinc/kha/graphics4/ConstantLocation.h>
#endif
#ifndef INCLUDED_kha_kore_graphics4_ConstantLocation
#include <hxinc/kha/kore/graphics4/ConstantLocation.h>
#endif
HX_DEFINE_STACK_FRAME(_hx_pos_8a98049bf91d5975_10_ne... | 33.61 | 206 | 0.793216 | 5Mixer |
81bcd962a09c7acfef22ec2f48bc02b249a56c44 | 7,086 | cpp | C++ | Tools/WebKitTestRunner/InjectedBundle/gtk/ActivateFontsGtk.cpp | jacadcaps/webkitty | 9aebd2081349f9a7b5d168673c6f676a1450a66d | [
"BSD-2-Clause"
] | 6 | 2021-07-05T16:09:39.000Z | 2022-03-06T22:44:42.000Z | Tools/WebKitTestRunner/InjectedBundle/gtk/ActivateFontsGtk.cpp | jacadcaps/webkitty | 9aebd2081349f9a7b5d168673c6f676a1450a66d | [
"BSD-2-Clause"
] | 7 | 2022-03-15T13:25:39.000Z | 2022-03-15T13:25:44.000Z | Tools/WebKitTestRunner/InjectedBundle/gtk/ActivateFontsGtk.cpp | jacadcaps/webkitty | 9aebd2081349f9a7b5d168673c6f676a1450a66d | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright (C) 2005, 2006 Apple Inc. All rights reserved.
* Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies)
* Copyright (C) 2010 Igalia S.L.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:... | 41.197674 | 128 | 0.715213 | jacadcaps |
81bff200be727f64fe62189180933f80e4d7d903 | 369 | cpp | C++ | Codeforces/Solutions/1333A.cpp | Mohammed-Shoaib/HackerRank-Problems | ccfb9fc2f0d8dff454439d75ce519cf83bad7c3b | [
"MIT"
] | 54 | 2019-05-13T12:13:09.000Z | 2022-02-27T02:59:00.000Z | Codeforces/Solutions/1333A.cpp | Mohammed-Shoaib/HackerRank-Problems | ccfb9fc2f0d8dff454439d75ce519cf83bad7c3b | [
"MIT"
] | 2 | 2020-10-02T07:16:43.000Z | 2020-10-19T04:36:19.000Z | Codeforces/Solutions/1333A.cpp | Mohammed-Shoaib/HackerRank-Problems | ccfb9fc2f0d8dff454439d75ce519cf83bad7c3b | [
"MIT"
] | 20 | 2020-05-26T09:48:13.000Z | 2022-03-18T15:18:27.000Z | // Problem Code: 1333A
#include <iostream>
#include <string>
#include <vector>
using namespace std;
void little_artem(int n, int m) {
vector<string> grid(n, string(m, 'B'));
grid[0][0] = 'W';
for (int i = 0; i < n; i++)
cout << grid[i] << endl;
}
int main() {
int t;
cin >> t;
while (t--) {
int n, m;
cin... | 14.76 | 40 | 0.558266 | Mohammed-Shoaib |
81c094b450ad01b902cec3b24adeddf2af841f88 | 6,046 | cpp | C++ | VC2012Samples/Windows 8 samples/C++/Windows 8 app samples/Hilo C++ sample (Windows 8)/C++/Hilo/ThumbnailGenerator.cpp | alonmm/VCSamples | 6aff0b4902f5027164d593540fcaa6601a0407c3 | [
"MIT"
] | 300 | 2019-05-09T05:32:33.000Z | 2022-03-31T20:23:24.000Z | VC2012Samples/Windows 8 samples/C++/Windows 8 app samples/Hilo C++ sample (Windows 8)/C++/Hilo/ThumbnailGenerator.cpp | JaydenChou/VCSamples | 9e1d4475555b76a17a3568369867f1d7b6cc6126 | [
"MIT"
] | 9 | 2016-09-19T18:44:26.000Z | 2018-10-26T10:20:05.000Z | VC2012Samples/Windows 8 samples/C++/Windows 8 app samples/Hilo C++ sample (Windows 8)/C++/Hilo/ThumbnailGenerator.cpp | JaydenChou/VCSamples | 9e1d4475555b76a17a3568369867f1d7b6cc6126 | [
"MIT"
] | 633 | 2019-05-08T07:34:12.000Z | 2022-03-30T04:38:28.000Z | // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
//
// Copyright (c) Microsoft Corporation. All rights reserved
#include "pch.h"
#include "T... | 32.331551 | 107 | 0.676811 | alonmm |
81c1c41f2a88147dab9a2a82d236621e7cddeb25 | 817 | cpp | C++ | src/Stopwatch.cpp | matheuscscp/metallicar | 6508735a7f3ce526637622834fdb95f6d6297687 | [
"MIT"
] | null | null | null | src/Stopwatch.cpp | matheuscscp/metallicar | 6508735a7f3ce526637622834fdb95f6d6297687 | [
"MIT"
] | null | null | null | src/Stopwatch.cpp | matheuscscp/metallicar | 6508735a7f3ce526637622834fdb95f6d6297687 | [
"MIT"
] | null | null | null | /*
* Stopwatch.cpp
*
* Created on: Jul 14, 2014
* Author: Pimenta
*/
// this
#include "metallicar_time.hpp"
namespace metallicar {
Stopwatch::Stopwatch() :
started(false), paused(false), initialTime(0), pauseTime(0)
{
}
void Stopwatch::start() {
started = true;
paused = false;
... | 15.711538 | 60 | 0.578947 | matheuscscp |
81c2485a415b77dc4cc7cbaf97f96adba66a3f36 | 330 | cpp | C++ | src/ResourceFormatter/ResourceFormatterText.cpp | farlepet/coapserver | 5709add6cc4c1d61db1b719196d6941bdde96878 | [
"MIT"
] | 1 | 2021-07-04T21:52:23.000Z | 2021-07-04T21:52:23.000Z | src/ResourceFormatter/ResourceFormatterText.cpp | farlepet/coapserver | 5709add6cc4c1d61db1b719196d6941bdde96878 | [
"MIT"
] | 12 | 2022-02-26T16:27:58.000Z | 2022-03-26T17:32:22.000Z | src/ResourceFormatter/ResourceFormatterText.cpp | farlepet/coapserver | 5709add6cc4c1d61db1b719196d6941bdde96878 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include "ResourceFormatter/ResourceFormatterText.hpp"
ResourceFormatterText::ResourceFormatterText() {
}
int ResourceFormatterText::decode(const std::vector<uint8_t> &data, std::ostream &out) {
for(size_t i = 0; i < data.size(); i++) {
out << static_cast<char>(data[i]);
}
re... | 20.625 | 88 | 0.672727 | farlepet |
81c5225c29991d1c912b627488024fe772733b79 | 145,529 | cpp | C++ | src/crypto/digest.cpp | nextcashtech/nextcash | f16e9938d55dd42ce9a6d6fcfbf948d0ee6165e7 | [
"MIT"
] | 1 | 2017-11-23T03:00:39.000Z | 2017-11-23T03:00:39.000Z | src/crypto/digest.cpp | arcmist/arcmist | f16e9938d55dd42ce9a6d6fcfbf948d0ee6165e7 | [
"MIT"
] | null | null | null | src/crypto/digest.cpp | arcmist/arcmist | f16e9938d55dd42ce9a6d6fcfbf948d0ee6165e7 | [
"MIT"
] | null | null | null | /**************************************************************************
* Copyright 2017-2018 NextCash, LLC *
* Contributors : *
* Curtis Ellis <curtis@nextcash.tech> *
* Distributed u... | 42.182319 | 331 | 0.508833 | nextcashtech |
81c682b89e3d55da90e268bdaa9d5249951adc4b | 814 | cpp | C++ | Source/DummyTransformationSceneNode.cpp | slater1/Irrlicht.NetCore | 5f1584f9a0b8590eefbfcf361d62ff544fdeba57 | [
"Zlib"
] | 2 | 2020-05-19T04:49:01.000Z | 2020-08-03T08:43:46.000Z | Source/DummyTransformationSceneNode.cpp | slater1/Irrlicht.Net | 42fb8260871b24d30dbc2c968d13e78753b25aca | [
"Zlib"
] | null | null | null | Source/DummyTransformationSceneNode.cpp | slater1/Irrlicht.Net | 42fb8260871b24d30dbc2c968d13e78753b25aca | [
"Zlib"
] | null | null | null | #include "stdafx.h"
#include "DummyTransformationSceneNode.h"
#include "SceneNode.h"
using namespace irr;
using namespace System;
namespace Irrlicht {
namespace Scene {
DummyTransformationSceneNode^ DummyTransformationSceneNode::Wrap(scene::IDummyTransformationSceneNode* ref)
{
if (ref == nullptr)
return... | 24.666667 | 107 | 0.783784 | slater1 |
81c7cc88b0df00e63c1372c1bc59fece5427dd12 | 6,285 | cpp | C++ | wpilibc/src/main/native/cpp/Watchdog.cpp | bvisness/allwpilib | 549af990072a1ed0c1649c34dc6e1a5cc5f01bd1 | [
"BSD-3-Clause"
] | null | null | null | wpilibc/src/main/native/cpp/Watchdog.cpp | bvisness/allwpilib | 549af990072a1ed0c1649c34dc6e1a5cc5f01bd1 | [
"BSD-3-Clause"
] | null | null | null | wpilibc/src/main/native/cpp/Watchdog.cpp | bvisness/allwpilib | 549af990072a1ed0c1649c34dc6e1a5cc5f01bd1 | [
"BSD-3-Clause"
] | null | null | null | /*----------------------------------------------------------------------------*/
/* Copyright (c) 2018-2020 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of... | 27.207792 | 80 | 0.660621 | bvisness |
81c81d437ad7da06a3aa7bd15d319b9d8f9ebdde | 1,356 | cc | C++ | tests/models/pmx/lstm_test.cc | kuroro-tian/ppl.nn | 7b33cd1fd0660540aec483f299b20094425e7138 | [
"Apache-2.0"
] | 1 | 2022-03-27T07:55:37.000Z | 2022-03-27T07:55:37.000Z | tests/models/pmx/lstm_test.cc | kuroro-tian/ppl.nn | 7b33cd1fd0660540aec483f299b20094425e7138 | [
"Apache-2.0"
] | null | null | null | tests/models/pmx/lstm_test.cc | kuroro-tian/ppl.nn | 7b33cd1fd0660540aec483f299b20094425e7138 | [
"Apache-2.0"
] | null | null | null | #include "pmx_utils.h"
#include "ppl/nn/models/pmx/oputils/onnx/lstm.h"
using namespace std;
using namespace ppl::nn::onnx;
using namespace ppl::nn::pmx::onnx;
TEST_F(PmxTest, test_lstm) {
DEFINE_ARG(LSTMParam, lstm);
lstm_param1.activation_alpha = {0.23f};
lstm_param1.activation_beta = {0.33f};
lstm_... | 41.090909 | 94 | 0.730088 | kuroro-tian |
81c9f2f62d91c68a68be1d27924c90c02f4b8021 | 442 | hpp | C++ | src/gdx-cpp/graphics/g3d/loaders/ModelLoader.hpp | aevum/libgdx-cpp | 88603a59af4d915259a841e13ce88f65c359f0df | [
"Apache-2.0"
] | 77 | 2015-01-28T17:21:49.000Z | 2022-02-17T17:59:21.000Z | src/gdx-cpp/graphics/g3d/loaders/ModelLoader.hpp | aevum/libgdx-cpp | 88603a59af4d915259a841e13ce88f65c359f0df | [
"Apache-2.0"
] | 5 | 2015-03-22T23:14:54.000Z | 2020-09-18T13:26:03.000Z | src/gdx-cpp/graphics/g3d/loaders/ModelLoader.hpp | aevum/libgdx-cpp | 88603a59af4d915259a841e13ce88f65c359f0df | [
"Apache-2.0"
] | 24 | 2015-02-12T04:34:37.000Z | 2021-06-19T17:05:23.000Z | /*
* ModelLoader.h
*
* Created on: Jan 23, 2013
* Author: anton
*/
#ifndef MODELLOADER_H_
#define MODELLOADER_H_
#include "gdx-cpp/graphics/g3d/ModelLoaderHints.hpp"
#include "gdx-cpp/graphics/g3d/model/Model.hpp"
#include "gdx-cpp/files/FileHandle.hpp"
namespace gdx {
class ModelLoader
{
public:
virtua... | 17 | 73 | 0.710407 | aevum |
81d13142e82759355bf8bbc6ab9f051c50417089 | 5,100 | cc | C++ | gazebo/gui/plot/VariablePill_TEST.cc | traversaro/gazebo | 6fd426b3949c4ca73fa126cde68f5cc4a59522eb | [
"ECL-2.0",
"Apache-2.0"
] | 887 | 2020-04-18T08:43:06.000Z | 2022-03-31T11:58:50.000Z | gazebo/gui/plot/VariablePill_TEST.cc | traversaro/gazebo | 6fd426b3949c4ca73fa126cde68f5cc4a59522eb | [
"ECL-2.0",
"Apache-2.0"
] | 462 | 2020-04-21T21:59:19.000Z | 2022-03-31T23:23:21.000Z | gazebo/gui/plot/VariablePill_TEST.cc | traversaro/gazebo | 6fd426b3949c4ca73fa126cde68f5cc4a59522eb | [
"ECL-2.0",
"Apache-2.0"
] | 421 | 2020-04-21T09:13:03.000Z | 2022-03-30T02:22:01.000Z | /*
* Copyright (C) 2016 Open Source Robotics Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appl... | 29.651163 | 76 | 0.684902 | traversaro |
81d59017badc7a971abc038128261e7291e7ae71 | 1,234 | cpp | C++ | src/testing/experiment/test_loop_functions.cpp | freedomcondor/argos3-harry | 10cc040af3d5339538cfd801f0317fa8269429a5 | [
"MIT"
] | 1 | 2021-01-15T21:58:34.000Z | 2021-01-15T21:58:34.000Z | src/testing/experiment/test_loop_functions.cpp | freedomcondor/argos3-harry | 10cc040af3d5339538cfd801f0317fa8269429a5 | [
"MIT"
] | 1 | 2021-02-28T23:45:32.000Z | 2021-02-28T23:45:32.000Z | src/testing/experiment/test_loop_functions.cpp | freedomcondor/argos3-harry | 10cc040af3d5339538cfd801f0317fa8269429a5 | [
"MIT"
] | 7 | 2021-02-26T16:41:06.000Z | 2022-01-19T21:36:31.000Z |
/**
* @file <argos3/testing/experiment/test_loop_functions.cpp>
*
* @author Carlo Pinciroli <ilpincy@gmail.com>
*/
#include "test_loop_functions.h"
#include <argos3/plugins/robots/foot-bot/simulator/footbot_entity.h>
#include <argos3/plugins/simulator/entities/led_entity.h>
/**************************************... | 33.351351 | 82 | 0.634522 | freedomcondor |
81d5db984932e341f16deda1effa122be9e22a15 | 2,381 | hpp | C++ | src/lib/rendering/synchronization/Fence.hpp | Lut99/Rasterizer | 453864506db749a93fb82fb17cc5ee88cc4ada01 | [
"MIT"
] | 1 | 2021-08-15T19:20:14.000Z | 2021-08-15T19:20:14.000Z | src/lib/rendering/synchronization/Fence.hpp | Lut99/Rasterizer | 453864506db749a93fb82fb17cc5ee88cc4ada01 | [
"MIT"
] | 17 | 2021-06-05T12:37:04.000Z | 2021-10-01T10:20:09.000Z | src/lib/rendering/synchronization/Fence.hpp | Lut99/Rasterizer | 453864506db749a93fb82fb17cc5ee88cc4ada01 | [
"MIT"
] | null | null | null | /* FENCE.hpp
* by Lut99
*
* Created:
* 28/06/2021, 16:57:12
* Last edited:
* 28/06/2021, 16:57:12
* Auto updated?
* Yes
*
* Description:
* Contains a class that wraps a VkFence object.
**/
#ifndef RENDERING_FENCE_HPP
#define RENDERING_FENCE_HPP
#include <vulkan/vulkan.h>
#include "../gpu/GPU.hpp... | 33.069444 | 152 | 0.622848 | Lut99 |