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 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 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 float64 1 77k ⌀ | 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 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 7 1.05M | avg_line_length float64 1.21 653k | max_line_length int64 6 990k | alphanum_fraction float64 0.01 1 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
33ce96f7ea3a91e7332c3a780488ff4a06c1f3e0 | 14,174 | cpp | C++ | src/cfdcore_schnorrsig.cpp | ko-matsu/cfd-core | ad07f210cfefe7838a6eaf4ce0e13a27c0d6167e | [
"MIT"
] | 5 | 2019-10-12T11:05:26.000Z | 2020-05-10T19:09:19.000Z | src/cfdcore_schnorrsig.cpp | ko-matsu/cfd-core | ad07f210cfefe7838a6eaf4ce0e13a27c0d6167e | [
"MIT"
] | 128 | 2019-10-02T06:33:49.000Z | 2022-03-20T02:14:35.000Z | src/cfdcore_schnorrsig.cpp | p2pderivatives/cfd-core | 399750cb1fa320f3b203092290ebb9f3ed4fe742 | [
"MIT"
] | 4 | 2019-10-22T07:59:43.000Z | 2020-05-29T11:06:00.000Z | // Copyright 2020 CryptoGarage
#include "cfdcore/cfdcore_schnorrsig.h"
#include <cstring>
#include <string>
#include <vector>
#include "cfdcore/cfdcore_exception.h"
#include "cfdcore/cfdcore_util.h"
#include "secp256k1.h" // NOLINT
#include "secp256k1_schnorrsig.h" // NOLINT
#include "secp256k1_util.h" ... | 32.287016 | 82 | 0.688655 |
33ced71548adf7d6e95c4db8b69f9cf6d7011bd6 | 525 | hpp | C++ | util/slave_commun.hpp | Mogami95/GMiner | d80c0fbad2f860d8cf1585440b57a2637993fb42 | [
"Apache-2.0"
] | 64 | 2018-05-15T01:57:55.000Z | 2021-12-14T01:49:18.000Z | util/slave_commun.hpp | Mogami95/GMiner | d80c0fbad2f860d8cf1585440b57a2637993fb42 | [
"Apache-2.0"
] | 3 | 2019-11-28T12:10:09.000Z | 2021-11-03T15:16:06.000Z | util/slave_commun.hpp | Mogami95/GMiner | d80c0fbad2f860d8cf1585440b57a2637993fb42 | [
"Apache-2.0"
] | 24 | 2018-05-15T01:57:22.000Z | 2021-11-24T14:09:14.000Z | //Copyright 2018 Husky Data Lab, CUHK
//Authors: Hongzhi Chen, Miao Liu
#ifndef SLAVE_COMMUN_HPP_
#define SLAVE_COMMUN_HPP_
#include <mpi.h>
#include "util/communication.hpp"
#include "util/global.hpp"
int slave_all_sum(int my_copy)
{
int tmp = my_copy;
if( _my_rank != SLAVE_LEADER)
{
send_data(my_copy, SLAV... | 15.909091 | 59 | 0.697143 |
33cfd798a247b5ef564239c78e25a50ba2174e58 | 3,467 | hpp | C++ | lib/cpalgo/tree/lca/lca_binary_lifting.hpp | xirc/cp-algorithm | 89c67cff2f00459c5bb020ab44bff5ae419a1728 | [
"Apache-2.0"
] | 8 | 2020-12-23T07:54:53.000Z | 2021-11-23T02:46:35.000Z | lib/cpalgo/tree/lca/lca_binary_lifting.hpp | xirc/cp-algorithm | 89c67cff2f00459c5bb020ab44bff5ae419a1728 | [
"Apache-2.0"
] | 1 | 2020-11-07T13:22:29.000Z | 2020-12-20T12:54:00.000Z | lib/cpalgo/tree/lca/lca_binary_lifting.hpp | xirc/cp-algorithm | 89c67cff2f00459c5bb020ab44bff5ae419a1728 | [
"Apache-2.0"
] | 1 | 2021-01-16T03:40:10.000Z | 2021-01-16T03:40:10.000Z | #pragma once
#include <algorithm>
#include <cmath>
#include <stdexcept>
#include <vector>
// LCA: Lowest Common Ancestor
// using Binary Lifting
//
// Space: O(V log V + E)
//
// NOTE:
// - undirected
// - non-loop
// - non-multi-edge
// - it can NOT handle a forest
//
// Verified:
// - https://onlinejudge.u-... | 26.875969 | 100 | 0.498702 |
33d1c15aaf2a9396d0fa7b733f610f0a65d2d72a | 1,352 | cpp | C++ | server/src/config/config_wrapper.cpp | WarKaa/SE_Abstract_Communication_Layer_Over_TCP_IP | 167c856ac357b60e24c381067898bc685ec62a26 | [
"Apache-2.0"
] | null | null | null | server/src/config/config_wrapper.cpp | WarKaa/SE_Abstract_Communication_Layer_Over_TCP_IP | 167c856ac357b60e24c381067898bc685ec62a26 | [
"Apache-2.0"
] | null | null | null | server/src/config/config_wrapper.cpp | WarKaa/SE_Abstract_Communication_Layer_Over_TCP_IP | 167c856ac357b60e24c381067898bc685ec62a26 | [
"Apache-2.0"
] | null | null | null | /*********************************************************************************
Copyright 2017 GlobalPlatform, Inc.
Licensed under the GlobalPlatform/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://gi... | 32.190476 | 128 | 0.66716 |
33d2536a885aef96ca0793a12d3dd44ab30976ff | 743 | hpp | C++ | include/freedom/decision_node.hpp | strikles/poker-mcts | 6bd1443a7b497cf64fafd4b25e8d3bb64219e18c | [
"MIT"
] | 9 | 2019-08-22T06:25:12.000Z | 2021-02-17T16:27:27.000Z | include/freedom/decision_node.hpp | strikles/poker-mcts | 6bd1443a7b497cf64fafd4b25e8d3bb64219e18c | [
"MIT"
] | null | null | null | include/freedom/decision_node.hpp | strikles/poker-mcts | 6bd1443a7b497cf64fafd4b25e8d3bb64219e18c | [
"MIT"
] | 4 | 2019-09-04T14:20:05.000Z | 2022-02-09T06:32:14.000Z | #ifndef DECISION_NODE_H
#define DECISION_NODE_H
#include "fconfig.hpp"
#include "fcontext.hpp"
#include <mcts/inner_node.hpp>
namespace freedom {
using mcts::INode;
using mcts::InnerNode;
// ----------------------------------------------------------------------
/// @brief Uses a selectionStrategy for nodes in whi... | 24.766667 | 78 | 0.584118 |
33d61240fcc8b6a651227bf986c3bf4a0adc8cd1 | 2,134 | cpp | C++ | IndexBinary.cpp | yuhonghong66/faiss | 21475fb2f34f63f232facdb1f4342f3356dd408c | [
"BSD-3-Clause"
] | 51 | 2018-12-21T14:20:55.000Z | 2022-03-08T17:33:28.000Z | IndexBinary.cpp | yuhonghong66/faiss | 21475fb2f34f63f232facdb1f4342f3356dd408c | [
"BSD-3-Clause"
] | 1 | 2019-06-24T05:40:47.000Z | 2019-06-24T05:40:47.000Z | IndexBinary.cpp | yuhonghong66/faiss | 21475fb2f34f63f232facdb1f4342f3356dd408c | [
"BSD-3-Clause"
] | 3 | 2020-04-02T02:42:02.000Z | 2021-07-16T09:43:28.000Z | /**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD+Patents license found in the
* LICENSE file in the root directory of this source tree.
*/
// -*- c++ -*-
#include "IndexBinary.h"
#include "FaissAssert.h"
#include <cstring>
namespace faiss {... | 27.012658 | 77 | 0.625117 |
33d72117ec4bcba4be1c8057e873f602103626df | 3,394 | cc | C++ | src/ppl/nn/models/onnx/model_parser.cc | kuroro-tian/ppl.nn | 7b33cd1fd0660540aec483f299b20094425e7138 | [
"Apache-2.0"
] | 1 | 2022-03-27T07:55:37.000Z | 2022-03-27T07:55:37.000Z | src/ppl/nn/models/onnx/model_parser.cc | kuroro-tian/ppl.nn | 7b33cd1fd0660540aec483f299b20094425e7138 | [
"Apache-2.0"
] | null | null | null | src/ppl/nn/models/onnx/model_parser.cc | kuroro-tian/ppl.nn | 7b33cd1fd0660540aec483f299b20094425e7138 | [
"Apache-2.0"
] | null | null | null | // Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may... | 34.989691 | 111 | 0.671184 |
33d748f9b86e78a130ad0e36f51307ddda600b33 | 1,001,202 | cpp | C++ | cisco-ios-xr/ydk/models/cisco_ios_xr/fragmented/Cisco_IOS_XR_mpls_te_oper_40.cpp | CiscoDevNet/ydk-cpp | ef7d75970f2ef1154100e0f7b0a2ee823609b481 | [
"ECL-2.0",
"Apache-2.0"
] | 17 | 2016-12-02T05:45:49.000Z | 2022-02-10T19:32:54.000Z | cisco-ios-xr/ydk/models/cisco_ios_xr/fragmented/Cisco_IOS_XR_mpls_te_oper_40.cpp | CiscoDevNet/ydk-cpp | ef7d75970f2ef1154100e0f7b0a2ee823609b481 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2017-03-27T15:22:38.000Z | 2019-11-05T08:30:16.000Z | cisco-ios-xr/ydk/models/cisco_ios_xr/fragmented/Cisco_IOS_XR_mpls_te_oper_40.cpp | CiscoDevNet/ydk-cpp | ef7d75970f2ef1154100e0f7b0a2ee823609b481 | [
"ECL-2.0",
"Apache-2.0"
] | 11 | 2016-12-02T05:45:52.000Z | 2019-11-07T08:28:17.000Z |
#include <sstream>
#include <iostream>
#include <ydk/entity_util.hpp>
#include "bundle_info.hpp"
#include "generated_entity_lookup.hpp"
#include "Cisco_IOS_XR_mpls_te_oper_40.hpp"
#include "Cisco_IOS_XR_mpls_te_oper_41.hpp"
using namespace ydk;
namespace cisco_ios_xr {
namespace Cisco_IOS_XR_mpls_te_oper {
MplsTeSt... | 44.482051 | 2,605 | 0.739013 |
33d7db421d47e5b9a09cd1e3ee4fd25153ca24e5 | 2,092 | cpp | C++ | src/main.cpp | codingwithjulio/sdl2-create-window | 418e3258eda05f63a07c5dc42732adddf6bb3793 | [
"MIT"
] | null | null | null | src/main.cpp | codingwithjulio/sdl2-create-window | 418e3258eda05f63a07c5dc42732adddf6bb3793 | [
"MIT"
] | null | null | null | src/main.cpp | codingwithjulio/sdl2-create-window | 418e3258eda05f63a07c5dc42732adddf6bb3793 | [
"MIT"
] | null | null | null | #include <iostream>
#include <SDL2/SDL.h>
// Graphics
const int WINDOW_WIDTH = 512;
const int WINDOW_HEIGHT = 284;
SDL_Window* g_main_window;
SDL_Renderer* g_main_renderer;
// Colors
namespace Colors {
const SDL_Color GREEN = { 0, 255, 0, SDL_ALPHA_OPAQUE };
const SDL_Color BLACK = { 0, 0, 0, SDL_ALPHA_OPAQUE };
... | 20.712871 | 103 | 0.650096 |
33d8dcd655bf8d4f972500b2a104006dcf45bea2 | 1,192 | cpp | C++ | code/src/problem4_type_conversion/main.cpp | dsba2020-z/workshops5-6 | 5466ef1241208ca93df18c81deb4fbc69957ee7f | [
"BSD-3-Clause"
] | null | null | null | code/src/problem4_type_conversion/main.cpp | dsba2020-z/workshops5-6 | 5466ef1241208ca93df18c81deb4fbc69957ee7f | [
"BSD-3-Clause"
] | null | null | null | code/src/problem4_type_conversion/main.cpp | dsba2020-z/workshops5-6 | 5466ef1241208ca93df18c81deb4fbc69957ee7f | [
"BSD-3-Clause"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
/// \file
/// \brief Main module for Problem 4: Type conversion.
/// \author Georgii Zhulikov
/// \version 0.1.0
/// \date 25.01.2021
/// This code is for educational purposes of the course "Introduction
/// ... | 30.564103 | 81 | 0.564597 |
33d901d6b3fcb9b6d88016296bf938b984042f24 | 32,457 | cc | C++ | src/snapshot/deserializer.cc | clarnx/v8 | 9fca4ae8096463a5c55bfae60d4208db7c575bd5 | [
"BSD-3-Clause"
] | 1 | 2020-05-24T12:27:29.000Z | 2020-05-24T12:27:29.000Z | src/snapshot/deserializer.cc | clarnx/v8 | 9fca4ae8096463a5c55bfae60d4208db7c575bd5 | [
"BSD-3-Clause"
] | null | null | null | src/snapshot/deserializer.cc | clarnx/v8 | 9fca4ae8096463a5c55bfae60d4208db7c575bd5 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2016 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/snapshot/deserializer.h"
#include "src/codegen/assembler-inl.h"
#include "src/execution/isolate.h"
#include "src/heap/heap-inl.h"
#includ... | 37.961404 | 80 | 0.684598 |
33d94174eb4f9595b832cb6cce4d90d307c9a89b | 17,148 | cpp | C++ | 3rdParty/V8/v5.7.492.77/third_party/icu/source/common/normalizer2.cpp | sita1999/arangodb | 6a4f462fa209010cd064f99e63d85ce1d432c500 | [
"Apache-2.0"
] | 2 | 2019-12-07T11:29:58.000Z | 2021-06-26T12:48:10.000Z | 3rdParty/V8/v5.7.492.77/third_party/icu/source/common/normalizer2.cpp | lipper/arangodb | 66ea1fd4946668192e3f0d1060f0844f324ad7b8 | [
"Apache-2.0"
] | null | null | null | 3rdParty/V8/v5.7.492.77/third_party/icu/source/common/normalizer2.cpp | lipper/arangodb | 66ea1fd4946668192e3f0d1060f0844f324ad7b8 | [
"Apache-2.0"
] | 1 | 2021-07-12T06:29:34.000Z | 2021-07-12T06:29:34.000Z | // Copyright (C) 2016 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html
/*
*******************************************************************************
*
* Copyright (C) 2009-2016, International Business Machines
* Corporation and others. All Rights Reserved.
... | 32.662857 | 105 | 0.6385 |
33d9548a71208d39a75f79b2e025e17810e33255 | 932 | cpp | C++ | src/ArduinoComponents/Components/TactileButton.cpp | gilmaimon/ArduinoComponents | f676639e1f6eb56ba3752f9ed6749b37eba4b5d6 | [
"MIT"
] | 17 | 2018-10-06T16:10:21.000Z | 2021-07-08T16:16:21.000Z | src/ArduinoComponents/Components/TactileButton.cpp | aelmendorf/ArduinoComponents | f676639e1f6eb56ba3752f9ed6749b37eba4b5d6 | [
"MIT"
] | 10 | 2018-10-06T18:58:50.000Z | 2020-08-30T19:57:53.000Z | src/ArduinoComponents/Components/TactileButton.cpp | aelmendorf/ArduinoComponents | f676639e1f6eb56ba3752f9ed6749b37eba4b5d6 | [
"MIT"
] | 1 | 2021-04-07T04:39:40.000Z | 2021-04-07T04:39:40.000Z | #include "TactileButton.h"
namespace components {
TactileButton::TactileButton(Ref<Component> parent, DigitalInput input, TriggerOn trigger) : Component(parent), _input(input), _pressed(false), _on_press([](){}), _on_release([](){}), _trigger(trigger) {}
TactileButton::TactileButton(Ref<Component> parent, PinNumber ... | 34.518519 | 205 | 0.718884 |
33d9eb33c495b6161cf5069c41f26c0530fec958 | 6,248 | cc | C++ | ui/views/layout/flex_layout_view.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 | ui/views/layout/flex_layout_view.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 | ui/views/layout/flex_layout_view.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 2020 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/views/layout/flex_layout_view.h"
#include <memory>
#include "ui/views/layout/flex_layout_types.h"
#include "ui/views/layout/layout_types.h"... | 35.702857 | 80 | 0.793214 |
33d9f85d13e0f54d4fe7cdcd1f481d7cb4783d0f | 6,721 | cpp | C++ | strategies/src/moving_averages_crossing/moving_average_crossing.cpp | Rapprise/b2s-trader | ac8a3c2221d15c4df8df63842d20dafd6801e535 | [
"BSD-2-Clause"
] | 21 | 2020-06-07T20:34:47.000Z | 2021-08-10T20:19:59.000Z | strategies/src/moving_averages_crossing/moving_average_crossing.cpp | Rapprise/b2s-trader | ac8a3c2221d15c4df8df63842d20dafd6801e535 | [
"BSD-2-Clause"
] | null | null | null | strategies/src/moving_averages_crossing/moving_average_crossing.cpp | Rapprise/b2s-trader | ac8a3c2221d15c4df8df63842d20dafd6801e535 | [
"BSD-2-Clause"
] | 4 | 2020-07-13T10:19:44.000Z | 2022-03-11T12:15:43.000Z | /*
* Copyright (c) 2020, Rapprise.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this
* list of condition... | 39.769231 | 99 | 0.767743 |
33dabeba49d27b05f1ba25ee914e1af5babc18b6 | 11,616 | hpp | C++ | external/include/boost/proto/domain.hpp | sbrown-uhd/hazelcast-cpp-client | ce57a508092fa42b9b4b371ae6c2782a21c75515 | [
"Apache-2.0"
] | 12,278 | 2015-01-29T17:11:33.000Z | 2022-03-31T21:12:00.000Z | external/include/boost/proto/domain.hpp | sbrown-uhd/hazelcast-cpp-client | ce57a508092fa42b9b4b371ae6c2782a21c75515 | [
"Apache-2.0"
] | 9,469 | 2015-01-30T05:33:07.000Z | 2022-03-31T16:17:21.000Z | external/include/boost/proto/domain.hpp | sbrown-uhd/hazelcast-cpp-client | ce57a508092fa42b9b4b371ae6c2782a21c75515 | [
"Apache-2.0"
] | 1,343 | 2017-12-08T19:47:19.000Z | 2022-03-26T11:31:36.000Z | ///////////////////////////////////////////////////////////////////////////////
/// \file domain.hpp
/// Contains definition of domain\<\> class template and helpers for
/// defining domains with a generator and a grammar for controlling
/// operator overloading.
//
// Copyright 2008 Eric Niebler. Distributed under th... | 34.366864 | 105 | 0.557335 |
33db9d4339f77cde9c993273ea1742252a6cadaa | 2,851 | hxx | C++ | main/xmlsecurity/source/xmlsec/nss/ciphercontext.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 679 | 2015-01-06T06:34:58.000Z | 2022-03-30T01:06:03.000Z | main/xmlsecurity/source/xmlsec/nss/ciphercontext.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 102 | 2017-11-07T08:51:31.000Z | 2022-03-17T12:13:49.000Z | main/xmlsecurity/source/xmlsec/nss/ciphercontext.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 331 | 2015-01-06T11:40:55.000Z | 2022-03-14T04:07:51.000Z | /**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to y... | 33.151163 | 305 | 0.667485 |
33dbf0b9e562abcc61549f27d0043b137680e850 | 4,961 | cpp | C++ | media/libmedia/AudioParameter.cpp | rubis-lab/NANS_framework_av | fc0e7dfab044f96b33c641d7ddf60d5a8f1ac46e | [
"Apache-2.0"
] | null | null | null | media/libmedia/AudioParameter.cpp | rubis-lab/NANS_framework_av | fc0e7dfab044f96b33c641d7ddf60d5a8f1ac46e | [
"Apache-2.0"
] | null | null | null | media/libmedia/AudioParameter.cpp | rubis-lab/NANS_framework_av | fc0e7dfab044f96b33c641d7ddf60d5a8f1ac46e | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2006-2011 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/LICENSE-2.0
*
* Unless required b... | 26.961957 | 90 | 0.617819 |
33de8fcb757034f62b7db30f9731b11c57fe5bf1 | 4,208 | cpp | C++ | compile/libbcc/lib/Renderscript/RSIsThreadablePass.cpp | Keneral/aframeworks | af1d0010bfb88751837fb1afc355705bd8a9ad8b | [
"Unlicense"
] | null | null | null | compile/libbcc/lib/Renderscript/RSIsThreadablePass.cpp | Keneral/aframeworks | af1d0010bfb88751837fb1afc355705bd8a9ad8b | [
"Unlicense"
] | null | null | null | compile/libbcc/lib/Renderscript/RSIsThreadablePass.cpp | Keneral/aframeworks | af1d0010bfb88751837fb1afc355705bd8a9ad8b | [
"Unlicense"
] | null | null | null | /*
* Copyright 2015, 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/LICENSE-2.0
*
* Unless required by applica... | 30.941176 | 79 | 0.726949 |
33dea591772d1b2c41ef7468c9f59744cbd25b4e | 1,318 | hpp | C++ | Engine/Engine.hpp | Patryk404/Tetris-sfml | 9bfc01726e7996184c4499addbb1eed02c735a12 | [
"MIT"
] | null | null | null | Engine/Engine.hpp | Patryk404/Tetris-sfml | 9bfc01726e7996184c4499addbb1eed02c735a12 | [
"MIT"
] | null | null | null | Engine/Engine.hpp | Patryk404/Tetris-sfml | 9bfc01726e7996184c4499addbb1eed02c735a12 | [
"MIT"
] | null | null | null | #include <SFML/Graphics.hpp>
#include <SFML/Audio.hpp>
#include <iostream>
#include <time.h>
#pragma once
#include "../Blocks/Block.hpp"
#include "../Map/Map.hpp"
class Engine {
public:
Engine();
void move();
void rotation();
void tick(Block block[]);
void check_lines();
... | 24.867925 | 67 | 0.456753 |
33e030a5735e8e0a59ea50d1306e22d76f02af62 | 9,170 | cpp | C++ | scene/gui/box_container.cpp | kingoftheconnors/godot | e93af13959e2840e6fed58fb79ec4f7b9fdfec6a | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | 1 | 2021-06-04T14:29:54.000Z | 2021-06-04T14:29:54.000Z | scene/gui/box_container.cpp | kingoftheconnors/godot | e93af13959e2840e6fed58fb79ec4f7b9fdfec6a | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | 6 | 2020-10-05T20:00:21.000Z | 2021-07-10T19:07:27.000Z | scene/gui/box_container.cpp | kingoftheconnors/godot | e93af13959e2840e6fed58fb79ec4f7b9fdfec6a | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | 2 | 2020-12-28T13:10:08.000Z | 2021-12-31T20:53:18.000Z | /*************************************************************************/
/* box_container.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... | 28.042813 | 129 | 0.618757 |
33e032149ed7311b5dacd2ff8a98c2cb05844afb | 1,585 | cpp | C++ | Source/AMC/Source/AMC/Private/Empty_AMC_Character.cpp | edcolmar/AdvancedMovementComponent | f5f43d733dc3c7bd9d7a1ee048f9d6b8b6fedef0 | [
"MIT"
] | 76 | 2018-08-04T00:02:06.000Z | 2022-03-28T10:05:10.000Z | Source/AMC/Source/AMC/Private/Empty_AMC_Character.cpp | edcolmar/AdvancedMovementComponent | f5f43d733dc3c7bd9d7a1ee048f9d6b8b6fedef0 | [
"MIT"
] | 4 | 2019-10-25T01:09:27.000Z | 2021-03-14T06:19:50.000Z | Source/AMC/Source/AMC/Private/Empty_AMC_Character.cpp | edcolmar/AdvancedMovementComponent | f5f43d733dc3c7bd9d7a1ee048f9d6b8b6fedef0 | [
"MIT"
] | 26 | 2018-09-18T15:57:29.000Z | 2021-11-21T20:09:40.000Z | // Fill out your copyright notice in the Description page of Project Settings.
#include "Empty_AMC_Character.h"
#include "AMC_MovementComponent.h"
// Sets default values
AEmpty_AMC_Character::AEmpty_AMC_Character(const FObjectInitializer& ObjectInitializer)
: Super(ObjectInitializer.SetDefaultSubobjectClass<UAMC_Mov... | 22.642857 | 120 | 0.790536 |
33e1acfa7698aa8249c191f3e7dc3853b7d523a7 | 8,635 | hpp | C++ | include/dca/phys/dca_step/cluster_solver/ctint/structs/interaction_vertices.hpp | NunoEdgarGFlowHub/DCA | 51d0085084c9c3eb628893b78596eacfaf2d3ace | [
"BSD-3-Clause"
] | 2 | 2019-12-18T17:13:00.000Z | 2021-07-30T01:45:30.000Z | include/dca/phys/dca_step/cluster_solver/ctint/structs/interaction_vertices.hpp | cosdis/DCA | 3cfd2a4f4bb876fb69f9c22e7ad06332fb5ebbe5 | [
"BSD-3-Clause"
] | 1 | 2021-08-18T07:33:39.000Z | 2021-08-18T07:33:39.000Z | include/dca/phys/dca_step/cluster_solver/ctint/structs/interaction_vertices.hpp | cosdis/DCA | 3cfd2a4f4bb876fb69f9c22e7ad06332fb5ebbe5 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (C) 2018 ETH Zurich
// Copyright (C) 2018 UT-Battelle, LLC
// All rights reserved.
// See LICENSE.txt for terms of usage./
// See CITATION.md for citation guidelines, if DCA++ is used for scientific publications.
//
// Authors: Giovanni Balduzzi (gbalduzz@itp.phys.ethz.ch)
//
// This class represent all po... | 39.072398 | 106 | 0.652693 |
33e3f4bfa8178f6ca4828664f24947e7ae3471f8 | 5,460 | cpp | C++ | sp/src/game/client/view_scene.cpp | tingtom/Fodder | 3250572dbc56547709f564ba68e451b21660cdb4 | [
"Unlicense"
] | 12 | 2016-09-24T02:47:18.000Z | 2020-12-29T16:16:52.000Z | sp/src/game/client/view_scene.cpp | tingtom/Fodder | 3250572dbc56547709f564ba68e451b21660cdb4 | [
"Unlicense"
] | 31 | 2016-11-27T14:38:02.000Z | 2020-06-03T11:11:29.000Z | sp/src/game/client/view_scene.cpp | tingtom/Fodder | 3250572dbc56547709f564ba68e451b21660cdb4 | [
"Unlicense"
] | 6 | 2015-02-20T06:11:13.000Z | 2018-11-15T08:22:01.000Z | //========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: Responsible for drawing the scene
//
//===========================================================================//
#include "cbase.h"
#include "materialsystem/imaterialsystem.h"
#include "materialsystem/imaterialvar.h... | 35 | 157 | 0.61337 |
33e545f539c638f2cb465f4dc3b0e170baba2fb6 | 1,745 | cpp | C++ | samples/CoreAPI_PointSpriteTest/PointSpriteTestApp.cpp | odayibasi/swengine | ef07b7c9125d01596837a423a9f3dcbced1f5aa7 | [
"Zlib",
"MIT"
] | 3 | 2021-03-01T20:41:13.000Z | 2021-07-10T13:45:47.000Z | samples/CoreAPI_PointSpriteTest/PointSpriteTestApp.cpp | odayibasi/swengine | ef07b7c9125d01596837a423a9f3dcbced1f5aa7 | [
"Zlib",
"MIT"
] | null | null | null | samples/CoreAPI_PointSpriteTest/PointSpriteTestApp.cpp | odayibasi/swengine | ef07b7c9125d01596837a423a9f3dcbced1f5aa7 | [
"Zlib",
"MIT"
] | null | null | null | //SWEngine
#include "../../include/SWEngine.h"
#pragma comment (lib,"../../lib/SWUtil.lib")
#pragma comment (lib,"../../lib/SWTypes.lib")
#pragma comment (lib,"../../lib/SWCore.lib")
#pragma comment (lib,"../../lib/SWEngine.lib")
swApplication pointSpriteApp;
int pointSpriteID=-1;
swPoint pointS[3];... | 25.661765 | 93 | 0.598281 |
33e679a0092df6b9234ed6c8c7998b3f46b7c54b | 72,215 | cpp | C++ | benchmarks/Stencil/2PE/tapa_result/cpp/compute.cpp | Blaok/AutoBridge | e296a6d5ffe96ddf7ee35bd239ce1cd4a41f3670 | [
"MIT"
] | 76 | 2020-12-30T05:47:35.000Z | 2022-02-21T20:05:20.000Z | benchmarks/Stencil/2PE/tapa_result/cpp/compute.cpp | Blaok/AutoBridge | e296a6d5ffe96ddf7ee35bd239ce1cd4a41f3670 | [
"MIT"
] | 16 | 2021-01-08T23:49:08.000Z | 2022-03-28T22:08:31.000Z | benchmarks/Stencil/2PE/tapa_result/cpp/compute.cpp | Blaok/AutoBridge | e296a6d5ffe96ddf7ee35bd239ce1cd4a41f3670 | [
"MIT"
] | 15 | 2021-03-02T05:56:58.000Z | 2021-12-23T01:28:25.000Z | #include<float.h>
#include<math.h>
#include<stdbool.h>
#include<stddef.h>
#include<stdint.h>
#include<stdio.h>
#include<string.h>
#include "ap_int.h"
#include "tlp.h"
#define BURST_WIDTH 512
#define UNROLL_FACTOR 64
#define TILE_SIZE_DIM_0 8000
#ifndef BURST_WIDTH
#define BURST_WIDTH 512
#endif//BURST_WIDTH
#if UNROL... | 54.87462 | 108 | 0.685481 |
33e6c449f6b19c517cbc22da4bff066717cefd83 | 3,867 | cc | C++ | arcane/src/arcane/mesh/DoFFamilyPolicyMng.cc | JeromeDuboisPro/framework | d88925495e3787fdaf640c29728dcac385160188 | [
"Apache-2.0"
] | null | null | null | arcane/src/arcane/mesh/DoFFamilyPolicyMng.cc | JeromeDuboisPro/framework | d88925495e3787fdaf640c29728dcac385160188 | [
"Apache-2.0"
] | null | null | null | arcane/src/arcane/mesh/DoFFamilyPolicyMng.cc | JeromeDuboisPro/framework | d88925495e3787fdaf640c29728dcac385160188 | [
"Apache-2.0"
] | null | null | null | // -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
//-----------------------------------------------------------------------------
// Copyright 2000-2021 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
// See the top-level COPYRIGHT file for details.
// SPDX-License-Identifier: Apache-2... | 40.705263 | 85 | 0.44091 |
33e735490ceb6525b2f6f4ea3f1718224fa87bf5 | 46,010 | cc | C++ | src/yb/docdb/docdb.cc | icaas/yugabyte-db | fdfb3a5f53892efa69e25729af6e078293f02c0b | [
"Apache-2.0",
"CC0-1.0"
] | null | null | null | src/yb/docdb/docdb.cc | icaas/yugabyte-db | fdfb3a5f53892efa69e25729af6e078293f02c0b | [
"Apache-2.0",
"CC0-1.0"
] | 3 | 2021-03-26T00:29:52.000Z | 2022-02-16T01:14:42.000Z | src/yb/docdb/docdb.cc | icaas/yugabyte-db | fdfb3a5f53892efa69e25729af6e078293f02c0b | [
"Apache-2.0",
"CC0-1.0"
] | null | null | null | // Copyright (c) YugaByte, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
// in compliance with the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writ... | 39.324786 | 100 | 0.683482 |
33e7b3fef67d51960183dd80a06465bf4843e744 | 69,509 | cpp | C++ | libgpopt/src/engine/CEngine.cpp | ppmht/gporca | 7131e3e134e6e608f7e9fef9152a8b5d71e6a59e | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2019-03-05T10:08:56.000Z | 2019-03-05T10:08:56.000Z | libgpopt/src/engine/CEngine.cpp | ppmht/gporca | 7131e3e134e6e608f7e9fef9152a8b5d71e6a59e | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | libgpopt/src/engine/CEngine.cpp | ppmht/gporca | 7131e3e134e6e608f7e9fef9152a8b5d71e6a59e | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | //---------------------------------------------------------------------------
// Greenplum Database
// Copyright (C) 2009 - 2011 EMC Corp.
//
// @filename:
// CEngine.cpp
//
// @doc:
// Implementation of optimization engine
//---------------------------------------------------------------------------
#include "gpos/b... | 27.046304 | 139 | 0.622725 |
33e826c1feda4be83503d0b7ed8f4efa13cc959e | 12,342 | cc | C++ | android_webview/browser/net/android_stream_reader_url_request_job_unittest.cc | devasia1000/chromium | 919a8a666862fb866a6bb7aa7f3ae8c0442b4828 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2019-02-03T05:19:48.000Z | 2021-11-15T15:07:21.000Z | android_webview/browser/net/android_stream_reader_url_request_job_unittest.cc | devasia1000/chromium | 919a8a666862fb866a6bb7aa7f3ae8c0442b4828 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | android_webview/browser/net/android_stream_reader_url_request_job_unittest.cc | devasia1000/chromium | 919a8a666862fb866a6bb7aa7f3ae8c0442b4828 | [
"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 "android_webview/browser/input_stream.h"
#include "android_webview/browser/net/android_stream_reader_url_request_job.h"
#include "android_web... | 34.47486 | 80 | 0.719737 |
33e9b53681b1e0f060293406dca6010ade2c5509 | 1,310 | hpp | C++ | ZeroMQ-testing/ZeroMQ-req/TestMessage.hpp | James-Chapman/zeromq-snippets | d09248f7f82d63b5c769dda765b85ebfb76ff01c | [
"BSD-2-Clause"
] | null | null | null | ZeroMQ-testing/ZeroMQ-req/TestMessage.hpp | James-Chapman/zeromq-snippets | d09248f7f82d63b5c769dda765b85ebfb76ff01c | [
"BSD-2-Clause"
] | null | null | null | ZeroMQ-testing/ZeroMQ-req/TestMessage.hpp | James-Chapman/zeromq-snippets | d09248f7f82d63b5c769dda765b85ebfb76ff01c | [
"BSD-2-Clause"
] | null | null | null | #ifndef _TESTMESSAGE_H_
#define _TESTMESSAGE_H_
#include <iostream>
#include <sstream>
#include <cstdint>
#include <vector>
/**
* Struct representing the data to send down the wire
*/
struct TestMessage
{
uint32_t m_MessageSize;
uint16_t m_p1Size;
uint16_t m_p2Size;
std::string m_p1;
std::string m... | 21.129032 | 52 | 0.466412 |
33eafe4ed68ddad78c0bc1d941abf87b50f88a78 | 10,597 | cpp | C++ | src/misc/object_tracker.cpp | 3togo/Anvil | c54059b0972c3261a516d9b6960b45e54ceaea15 | [
"MIT"
] | 589 | 2016-05-18T02:39:39.000Z | 2020-05-01T18:27:16.000Z | src/misc/object_tracker.cpp | 3togo/Anvil | c54059b0972c3261a516d9b6960b45e54ceaea15 | [
"MIT"
] | 120 | 2016-06-15T15:18:22.000Z | 2020-05-01T02:26:31.000Z | src/misc/object_tracker.cpp | 3togo/Anvil | c54059b0972c3261a516d9b6960b45e54ceaea15 | [
"MIT"
] | 88 | 2016-06-02T19:27:03.000Z | 2020-04-19T06:27:45.000Z | //
// Copyright (c) 2017-2018 Advanced Micro Devices, Inc. All rights reserved.
//
// 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 rig... | 44.71308 | 128 | 0.606964 |
33ed40bb55e7845acd4c00ac251507ba899ec019 | 13,974 | cpp | C++ | EchoCanceller.cpp | kebbbnnn/libtgvoip | 8d8522a5e89f8bb44119d4d35f94a3f18d61f115 | [
"Unlicense"
] | null | null | null | EchoCanceller.cpp | kebbbnnn/libtgvoip | 8d8522a5e89f8bb44119d4d35f94a3f18d61f115 | [
"Unlicense"
] | null | null | null | EchoCanceller.cpp | kebbbnnn/libtgvoip | 8d8522a5e89f8bb44119d4d35f94a3f18d61f115 | [
"Unlicense"
] | 1 | 2021-05-03T17:24:04.000Z | 2021-05-03T17:24:04.000Z | //
// libtgvoip is free and unencumbered public domain software.
// For more information, see http://unlicense.org or the UNLICENSE file
// you should have received with this source code distribution.
//
#include "EchoCanceller.h"
#include "audio/AudioOutput.h"
#include "audio/AudioInput.h"
#include "logging.h"
#inclu... | 30.312364 | 206 | 0.714684 |
33ee39f036d47eeca1f02a556144d2ea0632affc | 62,240 | cpp | C++ | cbits/coin/CglTwomir.cpp | amosr/limp-cbc | 3d6b9c580c529c0a7151aa7c758305bdf626f0af | [
"MIT"
] | 8 | 2015-05-11T04:18:49.000Z | 2020-02-16T00:14:35.000Z | cbits/coin/CglTwomir.cpp | amosr/limp-cbc | 3d6b9c580c529c0a7151aa7c758305bdf626f0af | [
"MIT"
] | 9 | 2015-06-06T22:02:28.000Z | 2020-02-01T22:03:59.000Z | cbits/coin/CglTwomir.cpp | amosr/limp-cbc | 3d6b9c580c529c0a7151aa7c758305bdf626f0af | [
"MIT"
] | 4 | 2015-05-20T22:04:53.000Z | 2020-01-29T21:46:25.000Z | // $Id: CglTwomir.cpp 1132 2013-04-25 18:57:12Z stefan $
// Copyright (C) 2002, International Business Machines
// Corporation and others. All Rights Reserved.
// This code is licensed under the terms of the Eclipse Public License (EPL).
#include <cstdlib>
#include <cstdio>
#include <cmath>
#include <cfloat>
#include... | 28.881671 | 105 | 0.607471 |
33eeba4d7e695d65454f362e0a2ff59e9aaa22a1 | 25,908 | cc | C++ | src/node_child_process_win32.cc | gobbler/node | 200d963e6776ec55b4f763a9fc9696cbde5ee8ad | [
"MIT"
] | 1 | 2022-01-25T02:51:24.000Z | 2022-01-25T02:51:24.000Z | src/node_child_process_win32.cc | taf2/node | b7f92ccf2f7e7e96b006c5a25e0e53c46d9fe99c | [
"MIT"
] | null | null | null | src/node_child_process_win32.cc | taf2/node | b7f92ccf2f7e7e96b006c5a25e0e53c46d9fe99c | [
"MIT"
] | null | null | null | // Copyright Joyent, Inc. and other Node contributors.
//
// 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, modi... | 29.012318 | 80 | 0.652617 |
33ef5d49ba2446e65f25fead5f1cc3e93da72c15 | 5,989 | cc | C++ | plugins/experimental/rate_limit/txn_limiter.cc | rob05c/trafficserver | b2004604e00bc7216856ea5e79082b4e53118a76 | [
"Apache-2.0"
] | null | null | null | plugins/experimental/rate_limit/txn_limiter.cc | rob05c/trafficserver | b2004604e00bc7216856ea5e79082b4e53118a76 | [
"Apache-2.0"
] | null | null | null | plugins/experimental/rate_limit/txn_limiter.cc | rob05c/trafficserver | b2004604e00bc7216856ea5e79082b4e53118a76 | [
"Apache-2.0"
] | null | null | null | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | 36.078313 | 111 | 0.667223 |
33f0d6a9434a5f4585b17d460d2d86cf3750fb83 | 70,564 | cpp | C++ | test/float/mm-lin.cpp | SaGagnon/gecode-5.5.0-cbs | e871b320a9b2031423bb0fa452b1a5c09641a041 | [
"MIT-feh"
] | 1 | 2020-06-26T11:10:55.000Z | 2020-06-26T11:10:55.000Z | test/float/mm-lin.cpp | SaGagnon/gecode-5.5.0-cbs | e871b320a9b2031423bb0fa452b1a5c09641a041 | [
"MIT-feh"
] | null | null | null | test/float/mm-lin.cpp | SaGagnon/gecode-5.5.0-cbs | e871b320a9b2031423bb0fa452b1a5c09641a041 | [
"MIT-feh"
] | 1 | 2020-06-26T11:10:57.000Z | 2020-06-26T11:10:57.000Z | /* -*- mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- */
/*
* Main authors:
* Christian Schulte <schulte@gecode.org>
*
* Copyright:
* Christian Schulte, 2008, 2012
*
* Last modified:
* $Date: 2016-04-19 17:19:45 +0200 (Tue, 19 Apr 2016) $ by $Author: schulte $
* $Revision: 14967 $
... | 37.022036 | 93 | 0.47931 |
33f0ea2f87ab3ec36f7a8e8c8ad355428d287a2f | 5,179 | cc | C++ | mindspore/lite/src/runtime/kernel/arm/fp16/pad_fp16.cc | mindspore-ai/mindspore | a9fbb25530a2874166ff0045ddcdfc73207bf5eb | [
"Apache-2.0"
] | 3,200 | 2020-02-17T12:45:41.000Z | 2022-03-31T20:21:16.000Z | mindspore/lite/src/runtime/kernel/arm/fp16/pad_fp16.cc | mindspore-ai/mindspore | a9fbb25530a2874166ff0045ddcdfc73207bf5eb | [
"Apache-2.0"
] | 176 | 2020-02-12T02:52:11.000Z | 2022-03-28T22:15:55.000Z | mindspore/lite/src/runtime/kernel/arm/fp16/pad_fp16.cc | mindspore-ai/mindspore | a9fbb25530a2874166ff0045ddcdfc73207bf5eb | [
"Apache-2.0"
] | 621 | 2020-03-09T01:31:41.000Z | 2022-03-30T03:43:19.000Z | /**
* Copyright 2020 Huawei Technologies Co., Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... | 37.258993 | 117 | 0.666924 |
33f1d1866090d7b523881c4a92cd5f1820dbc088 | 6,635 | cpp | C++ | src/images/image.cpp | AKholetsky/blah | fb21ec869d476e525d728e61f2ba689ee02322e5 | [
"MIT"
] | null | null | null | src/images/image.cpp | AKholetsky/blah | fb21ec869d476e525d728e61f2ba689ee02322e5 | [
"MIT"
] | null | null | null | src/images/image.cpp | AKholetsky/blah | fb21ec869d476e525d728e61f2ba689ee02322e5 | [
"MIT"
] | null | null | null | #include <blah/images/image.h>
#include <blah/streams/stream.h>
#include <blah/streams/filestream.h>
#include <blah/core/log.h>
using namespace Blah;
#define STB_IMAGE_IMPLEMENTATION
#define STBI_ONLY_JPEG
#define STBI_ONLY_PNG
#define STBI_ONLY_BMP
#include "../third_party/stb_image.h"
#define STB_IMAGE_WRITE_IMPLE... | 21.970199 | 98 | 0.674755 |
33f216c181bf52fddc6e7c38d14e1a66455a1665 | 8,705 | cpp | C++ | ledger-core-tezos/src/tezos/database/TezosLikeTransactionDatabaseHelper.cpp | phaazon/lib-ledger-core | 726009203f9b298e70b65c679ca92e99705dfc8c | [
"MIT"
] | null | null | null | ledger-core-tezos/src/tezos/database/TezosLikeTransactionDatabaseHelper.cpp | phaazon/lib-ledger-core | 726009203f9b298e70b65c679ca92e99705dfc8c | [
"MIT"
] | null | null | null | ledger-core-tezos/src/tezos/database/TezosLikeTransactionDatabaseHelper.cpp | phaazon/lib-ledger-core | 726009203f9b298e70b65c679ca92e99705dfc8c | [
"MIT"
] | null | null | null | /*
*
* TezosLikeTransactionDatabaseHelper
*
* Created by El Khalil Bellakrid on 27/04/2019.
*
* The MIT License (MIT)
*
* Copyright (c) 2019 Ledger
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
... | 48.904494 | 227 | 0.559563 |
33f23f3d40443fbd72898e8d55c44ce335e7b6d1 | 18,792 | cpp | C++ | playscene.cpp | Liu-Steve/Reversi | 1c5fc7c9eb4a3a40bfb2554a778fdb026f0dfd3f | [
"MIT"
] | null | null | null | playscene.cpp | Liu-Steve/Reversi | 1c5fc7c9eb4a3a40bfb2554a778fdb026f0dfd3f | [
"MIT"
] | null | null | null | playscene.cpp | Liu-Steve/Reversi | 1c5fc7c9eb4a3a40bfb2554a778fdb026f0dfd3f | [
"MIT"
] | null | null | null | #include "playscene.h"
#include <QDebug>
#include <QMenuBar>
#include <QTimer>
#include "mypushbutton.h"
#include <QPainter>
#include <QLabel>
#include <QFont>
#include <QString>
#include "chess.h"
#include "computer.h"
#include <QPair>
#include <QSound>
void PlayScene::setChess(int x, int y, QString statue)
{
if(... | 24.693824 | 93 | 0.356162 |
33f318206761e0974f2143add8de7c12bcdc3a36 | 457 | hpp | C++ | core/Light.hpp | jmppmj/3dgameengine_jillplatts | 64f472322423aa4d2c8be5366f36d78dde9f568b | [
"MIT"
] | null | null | null | core/Light.hpp | jmppmj/3dgameengine_jillplatts | 64f472322423aa4d2c8be5366f36d78dde9f568b | [
"MIT"
] | null | null | null | core/Light.hpp | jmppmj/3dgameengine_jillplatts | 64f472322423aa4d2c8be5366f36d78dde9f568b | [
"MIT"
] | null | null | null | #pragma once
#include "ModelData.hpp"
class Light
{
private:
glm::vec3 pos = glm::vec3(0, 0, 0);
glm::vec3 color = glm::vec3(1, 1, 1);
bool isPointLight = true;
public:
Light(glm::vec3 pos, glm::vec3 color, bool isPointLight);
void Light::setPos(glm::vec3 pos2);
bool Light::getIsPointLight();
void Light::se... | 18.28 | 58 | 0.68709 |
33f3319ba7dee8950a9dd95f73ffc956570be68b | 612 | cc | C++ | kattis/alicedigital.cc | Ashindustry007/competitive-programming | 2eabd3975c029d235abb7854569593d334acae2f | [
"WTFPL"
] | 506 | 2018-08-22T10:30:38.000Z | 2022-03-31T10:01:49.000Z | kattis/alicedigital.cc | Ashindustry007/competitive-programming | 2eabd3975c029d235abb7854569593d334acae2f | [
"WTFPL"
] | 13 | 2019-08-07T18:31:18.000Z | 2020-12-15T21:54:41.000Z | kattis/alicedigital.cc | Ashindustry007/competitive-programming | 2eabd3975c029d235abb7854569593d334acae2f | [
"WTFPL"
] | 234 | 2018-08-06T17:11:41.000Z | 2022-03-26T10:56:42.000Z | // https://open.kattis.com/problems/alicedigital
#include <iostream>
#include <vector>
using namespace std;
typedef vector<int> vi;
int main() {
int t;
cin >> t;
while (t--) {
int n, m;
cin >> n >> m;
vi a(n + 1, 0);
int p = 0;
int q = 0;
int M = 0;
for (int i = 1; i <= n; i++) {
cin >> a[i];
... | 15.692308 | 48 | 0.406863 |
33f56b32135cbdb9f7fec298a823d6a3209ba514 | 106,894 | cpp | C++ | thorlcr/graph/thgraph.cpp | roscoche/HPCC-Platform | 9975e6c5a0996d25ac3c24e3b57dd1389a87f06b | [
"Apache-2.0"
] | null | null | null | thorlcr/graph/thgraph.cpp | roscoche/HPCC-Platform | 9975e6c5a0996d25ac3c24e3b57dd1389a87f06b | [
"Apache-2.0"
] | null | null | null | thorlcr/graph/thgraph.cpp | roscoche/HPCC-Platform | 9975e6c5a0996d25ac3c24e3b57dd1389a87f06b | [
"Apache-2.0"
] | null | null | null | /*##############################################################################
HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®.
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... | 32.951295 | 221 | 0.617172 |
33f61ec978a273caa269dc28db8c99c60ea5b70c | 11,267 | cpp | C++ | src/appleseed/foundation/utility/benchmark/benchmarksuite.cpp | markreidvfx/appleseed | b9805e4d2750fe4c88e2cddc68456dae52679101 | [
"MIT"
] | null | null | null | src/appleseed/foundation/utility/benchmark/benchmarksuite.cpp | markreidvfx/appleseed | b9805e4d2750fe4c88e2cddc68456dae52679101 | [
"MIT"
] | null | null | null | src/appleseed/foundation/utility/benchmark/benchmarksuite.cpp | markreidvfx/appleseed | b9805e4d2750fe4c88e2cddc68456dae52679101 | [
"MIT"
] | null | null | null |
//
// This source file is part of appleseed.
// Visit https://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-2018 Francois Beaune, The appleseedhq Organization
//... | 31.917847 | 106 | 0.617911 |
33f70e8292258e84d95bcfd676d55680a50e3a96 | 157,621 | cpp | C++ | ReactCommon/yoga/yoga/Yoga.cpp | ebgraham/react-native | ebc89bfb788102fbcf3eab070c5603d351620e23 | [
"CC-BY-4.0",
"MIT"
] | 116 | 2019-12-30T11:34:47.000Z | 2022-03-31T05:32:58.000Z | ReactCommon/yoga/yoga/Yoga.cpp | ebgraham/react-native | ebc89bfb788102fbcf3eab070c5603d351620e23 | [
"CC-BY-4.0",
"MIT"
] | 14 | 2021-04-09T18:26:53.000Z | 2022-03-02T02:34:47.000Z | ReactCommon/yoga/yoga/Yoga.cpp | ebgraham/react-native | ebc89bfb788102fbcf3eab070c5603d351620e23 | [
"CC-BY-4.0",
"MIT"
] | 18 | 2020-01-24T15:42:03.000Z | 2021-12-28T08:17:36.000Z | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "Yoga.h"
#include "log.h"
#include <float.h>
#include <string.h>
#include <algorithm>
#include <atomic>
#include <memory>
... | 35.945496 | 80 | 0.672341 |
33f74ccc3b216a435803e2b9423c0caf6b88825e | 56,981 | cpp | C++ | src/ARIA/ariaUtil.cpp | rzsavilla/Robot_PathPlanning | 7ca805b917824ecaf8f12a950b1f77bd76ac5836 | [
"MIT"
] | 1 | 2018-10-13T02:50:25.000Z | 2018-10-13T02:50:25.000Z | src/ARIA/ariaUtil.cpp | rzsavilla/Robot_PathPlanning | 7ca805b917824ecaf8f12a950b1f77bd76ac5836 | [
"MIT"
] | null | null | null | src/ARIA/ariaUtil.cpp | rzsavilla/Robot_PathPlanning | 7ca805b917824ecaf8f12a950b1f77bd76ac5836 | [
"MIT"
] | 1 | 2018-10-13T02:50:26.000Z | 2018-10-13T02:50:26.000Z | /*
MobileRobots Advanced Robotics Interface for Applications (ARIA)
Copyright (C) 2004, 2005 ActivMedia Robotics LLC
Copyright (C) 2006, 2007, 2008, 2009 MobileRobots Inc.
Copyright (C) 2010, 2011 Adept Technology, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms o... | 25.3587 | 134 | 0.647777 |
33f7c9daf4599356166825b3a4a5694d2668467c | 1,679 | cpp | C++ | test/deduce_scalar_mv_test.cpp | boostorg/boost-qvm | 5791440b346232c391ab8d16f559ca5b2d7ae9b3 | [
"BSL-1.0"
] | null | null | null | test/deduce_scalar_mv_test.cpp | boostorg/boost-qvm | 5791440b346232c391ab8d16f559ca5b2d7ae9b3 | [
"BSL-1.0"
] | null | null | null | test/deduce_scalar_mv_test.cpp | boostorg/boost-qvm | 5791440b346232c391ab8d16f559ca5b2d7ae9b3 | [
"BSL-1.0"
] | null | null | null | // Copyright 2008-2022 Emil Dotchevski and Reverge Studios, Inc.
// 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)
#ifdef BOOST_QVM_TEST_SINGLE_HEADER
# include BOOST_QVM_TEST_SINGLE_HEADER
#else
# include <boos... | 22.092105 | 79 | 0.585468 |
33f955f4b7b40f59688a1a7f87cf362aee8d0523 | 468 | cpp | C++ | src/Subpackets/Tag2Sub28.cpp | mugwort-rc/pyOpenPGP | a1d35a93a69ed5bbec768f3c6347742630d71a15 | [
"MIT"
] | null | null | null | src/Subpackets/Tag2Sub28.cpp | mugwort-rc/pyOpenPGP | a1d35a93a69ed5bbec768f3c6347742630d71a15 | [
"MIT"
] | null | null | null | src/Subpackets/Tag2Sub28.cpp | mugwort-rc/pyOpenPGP | a1d35a93a69ed5bbec768f3c6347742630d71a15 | [
"MIT"
] | null | null | null | #include <boost/python.hpp>
#include "OpenPGP/Subpackets/Tag2Sub28.h"
void Tag2Sub28_init()
{
boost::python::class_<Tag2Sub28, boost::python::bases<Tag2Subpacket>>("Tag2Sub28")
.def(boost::python::init<std::string &>())
.def("read", &Tag2Sub28::read)
.def("show", &Tag2Sub28::show)
.def("raw", &Tag2Sub... | 27.529412 | 82 | 0.65812 |
33f9c11b20cdbf2983f795564136aa8d1fdf4bcf | 332 | cc | C++ | PhysicsTools/JetMCAlgos/src/BasePartonSelector.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | PhysicsTools/JetMCAlgos/src/BasePartonSelector.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | PhysicsTools/JetMCAlgos/src/BasePartonSelector.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | #include "PhysicsTools/JetMCAlgos/interface/BasePartonSelector.h"
BasePartonSelector::BasePartonSelector() {}
BasePartonSelector::~BasePartonSelector() {}
void BasePartonSelector::run(const edm::Handle<reco::GenParticleCollection>& particles,
std::unique_ptr<reco::GenParticleRefVector>& ... | 36.888889 | 87 | 0.740964 |
33facceab40746a6a205d13aaa958b7e1675ca04 | 1,047 | cpp | C++ | topic_wise/arrays/CountandSay.cpp | archit-1997/LeetCode | 7c0f74da0836d3b0855f09bae8960f81a384f3f3 | [
"MIT"
] | 1 | 2021-01-27T16:37:36.000Z | 2021-01-27T16:37:36.000Z | topic_wise/arrays/CountandSay.cpp | archit-1997/LeetCode | 7c0f74da0836d3b0855f09bae8960f81a384f3f3 | [
"MIT"
] | null | null | null | topic_wise/arrays/CountandSay.cpp | archit-1997/LeetCode | 7c0f74da0836d3b0855f09bae8960f81a384f3f3 | [
"MIT"
] | null | null | null | /*The count-and-say sequence is the sequence of integers with the first five
terms as following:
1. 1
2. 11
3. 21
4. 1211
5. 111221
1 is read off as "one 1" or 11.
11 is read off as "two 1s" or 21.
21 is read off as "one 2, then one 1" or 1211.
Given an integer n where 1 ≤ n ≤ 30, gene... | 19.754717 | 80 | 0.494747 |
33faec5db7f5f4242cdf3e7e164458fa1e7105c6 | 2,006 | cpp | C++ | src/iq_neuron.cpp | twetto/iq-neuron | dad804c61001ffcaa5578ec9e7531eeec4952188 | [
"MIT"
] | 4 | 2019-10-18T10:01:01.000Z | 2020-07-17T03:43:48.000Z | src/iq_neuron.cpp | twetto/iq-neuron | dad804c61001ffcaa5578ec9e7531eeec4952188 | [
"MIT"
] | 1 | 2019-10-25T08:35:27.000Z | 2019-10-28T05:06:55.000Z | src/iq_neuron.cpp | twetto/iq-neuron | dad804c61001ffcaa5578ec9e7531eeec4952188 | [
"MIT"
] | 3 | 2019-07-29T09:21:11.000Z | 2021-08-28T14:25:13.000Z | /* IQIF neuron object
* Chen-Fu Yeh, 2019/11/09
*/
#include "iq_neuron.h"
using namespace std;
iq_neuron::iq_neuron(int rest, int threshold,
int reset, int a, int b, int noise)
{
x = rest; // initialize with rest potential
t_neuron = 0;
f_min = (a*rest... | 18.236364 | 77 | 0.547856 |
33faf880222e95dd8e9e2bcc92642906a952bb73 | 23,412 | cpp | C++ | src/divvy/app/paths/cursor/ReverseLiquidityForAccount.cpp | coinjet/rippled | 33963ff958596346ba4c3f8236c99aa54e32b826 | [
"BSL-1.0"
] | null | null | null | src/divvy/app/paths/cursor/ReverseLiquidityForAccount.cpp | coinjet/rippled | 33963ff958596346ba4c3f8236c99aa54e32b826 | [
"BSL-1.0"
] | null | null | null | src/divvy/app/paths/cursor/ReverseLiquidityForAccount.cpp | coinjet/rippled | 33963ff958596346ba4c3f8236c99aa54e32b826 | [
"BSL-1.0"
] | null | null | null | //------------------------------------------------------------------------------
/*
This file is part of divvyd: https://github.com/xdv/divvyd
Copyright (c) 2012, 2013 Ripple Labs Inc.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby grant... | 38.570016 | 82 | 0.524475 |
33fbb210810bab91e3e5e5281a19e74822a79a9e | 44,258 | cpp | C++ | src/Widgets/MultiVarTransferFunctionWindow.cpp | FelixBrendel/LineVis | 428cf82328ba3d3ac9435f3df765330149d4a921 | [
"Apache-2.0"
] | null | null | null | src/Widgets/MultiVarTransferFunctionWindow.cpp | FelixBrendel/LineVis | 428cf82328ba3d3ac9435f3df765330149d4a921 | [
"Apache-2.0"
] | null | null | null | src/Widgets/MultiVarTransferFunctionWindow.cpp | FelixBrendel/LineVis | 428cf82328ba3d3ac9435f3df765330149d4a921 | [
"Apache-2.0"
] | null | null | null | /*
* BSD 2-Clause License
*
* Copyright (c) 2020, Christoph Neuhauser
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright ... | 43.390196 | 123 | 0.64908 |
33fdd98733444d7a142b435295150e0b9455e1ca | 2,556 | cpp | C++ | external/TUIO_CPP/oscpack/ip/IpEndpointName.cpp | whitingjp/psmoveapi | b69787358d3044cfe57f52f2d13e4b364afe2159 | [
"BSD-2-Clause"
] | 839 | 2015-01-01T10:47:04.000Z | 2022-03-29T00:16:15.000Z | external/TUIO_CPP/oscpack/ip/IpEndpointName.cpp | psmoveservice/psmoveapi | 683757ca2f5f9af84de9d8b83347873f5beaf562 | [
"BSD-2-Clause"
] | 124 | 2015-01-03T22:46:04.000Z | 2020-12-23T00:33:56.000Z | external/TUIO_CPP/oscpack/ip/IpEndpointName.cpp | psmoveservice/psmoveapi | 683757ca2f5f9af84de9d8b83347873f5beaf562 | [
"BSD-2-Clause"
] | 192 | 2015-01-04T17:49:07.000Z | 2022-03-13T22:42:38.000Z | /*
oscpack -- Open Sound Control packet manipulation library
http://www.audiomulch.com/~rossb/oscpack
Copyright (c) 2004-2005 Ross Bencina <rossb@audiomulch.com>
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files
(the "Softwar... | 31.170732 | 72 | 0.662363 |
33fdf339bf89884ccf4eafbeae7f765a6cd1a109 | 4,925 | cpp | C++ | src/IECore/MemoryIndexedIO.cpp | bradleyhenke/cortex | f8245cc6c9464b1de9e6c6e57068248198e63de0 | [
"BSD-3-Clause"
] | 386 | 2015-01-02T11:10:43.000Z | 2022-03-10T15:12:20.000Z | src/IECore/MemoryIndexedIO.cpp | bradleyhenke/cortex | f8245cc6c9464b1de9e6c6e57068248198e63de0 | [
"BSD-3-Clause"
] | 484 | 2015-01-09T18:28:06.000Z | 2022-03-31T16:02:04.000Z | src/IECore/MemoryIndexedIO.cpp | bradleyhenke/cortex | f8245cc6c9464b1de9e6c6e57068248198e63de0 | [
"BSD-3-Clause"
] | 99 | 2015-01-28T23:18:04.000Z | 2022-03-27T00:59:39.000Z | //////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2008-2013, Image Engine Design 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:
//
// ... | 30.214724 | 151 | 0.657056 |
33fdf948cd6d64179e9d82b680ba30593b58de6f | 2,509 | cpp | C++ | src/cimple/tests/type/main.cpp | LegalizeAdulthood/cimple | 5ec70784f2ee3e455a2258f82b07c0dacccb4093 | [
"MIT"
] | 4 | 2015-12-16T06:43:14.000Z | 2020-01-24T06:05:47.000Z | src/cimple/tests/type/main.cpp | LegalizeAdulthood/cimple | 5ec70784f2ee3e455a2258f82b07c0dacccb4093 | [
"MIT"
] | null | null | null | src/cimple/tests/type/main.cpp | LegalizeAdulthood/cimple | 5ec70784f2ee3e455a2258f82b07c0dacccb4093 | [
"MIT"
] | null | null | null | /*
**==============================================================================
**
** Copyright (c) 2003, 2004, 2005, 2006, Michael Brasher, Karl Schopmeyer
**
** Permission is hereby granted, free of charge, to any person obtaining a
** copy of this software and associated documentation files (the "Software"),
** ... | 32.584416 | 80 | 0.62774 |
33ff6e3d328c652ea717362e770c0dae140c6366 | 1,802 | hpp | C++ | networkit/cpp/embedding/BiasedRandomWalk.hpp | angriman/network | 3a4c5fd32eb2be8d5b34eaee17f8fe4e6e141894 | [
"MIT"
] | 366 | 2019-06-27T18:48:18.000Z | 2022-03-29T08:36:49.000Z | networkit/cpp/embedding/BiasedRandomWalk.hpp | angriman/network | 3a4c5fd32eb2be8d5b34eaee17f8fe4e6e141894 | [
"MIT"
] | 387 | 2019-06-24T11:30:39.000Z | 2022-03-31T10:37:28.000Z | networkit/cpp/embedding/BiasedRandomWalk.hpp | angriman/network | 3a4c5fd32eb2be8d5b34eaee17f8fe4e6e141894 | [
"MIT"
] | 131 | 2019-07-04T15:40:13.000Z | 2022-03-29T12:34:23.000Z | /*
* BiasedRandomWalk.hpp
*
* Created on: 03.07.2020
* Author: Klaus Ahrens <ahrens@informatik.hu-berlin.de>
*
* adapted and reimplemented from node2vec
* part of snap [https://github.com/snap-stanford/snap]
* Copyright (c) 2007-2019, Jure Leskovec (under BSD license)
*
* see [https://arxiv.org/pdf... | 27.30303 | 100 | 0.704772 |
33ff8198ae66cc42da76d1efc0d75657d14fdb16 | 2,098 | cc | C++ | day06/part01/puzzle.cc | ovove/aoc19 | 7b74552cf376a699fe554afcae980d7de6dd18cd | [
"Unlicense"
] | null | null | null | day06/part01/puzzle.cc | ovove/aoc19 | 7b74552cf376a699fe554afcae980d7de6dd18cd | [
"Unlicense"
] | null | null | null | day06/part01/puzzle.cc | ovove/aoc19 | 7b74552cf376a699fe554afcae980d7de6dd18cd | [
"Unlicense"
] | null | null | null |
#include <string>
#include <string_view>
#include <iostream>
#include <regex>
#include <algorithm>
#include <map>
// #include <range/v3/all.hpp>
namespace {
using SatelliteGraph = std::map<std::string, std::vector<std::string>>;
SatelliteGraph map2graph(std::istream& map) {
SatelliteGraph result;
const std... | 23.840909 | 80 | 0.659676 |
d5018e36c13540c04dfcdf308c8537bae3c2e67d | 413 | hpp | C++ | include/httplib/http/response.hpp | andrusha97/httplib | 3f1733ea03c009c22393a99eadc006befd5b4942 | [
"MIT"
] | null | null | null | include/httplib/http/response.hpp | andrusha97/httplib | 3f1733ea03c009c22393a99eadc006befd5b4942 | [
"MIT"
] | null | null | null | include/httplib/http/response.hpp | andrusha97/httplib | 3f1733ea03c009c22393a99eadc006befd5b4942 | [
"MIT"
] | null | null | null | #pragma once
#include <httplib/detail/common.hpp>
#include <httplib/http/headers.hpp>
#include <httplib/http/version.hpp>
#include <string>
HTTPLIB_OPEN_NAMESPACE
struct http_response_t {
unsigned int code = 0;
std::string reason;
http_version_t version;
http_headers_t headers;
};
std::ostream &... | 16.52 | 80 | 0.748184 |
d501a76112ee571565b25b56c1e25347067fbe08 | 19,005 | hpp | C++ | include/tudocomp/compressors/lfs/LFS2Compressor.hpp | 421408/tudocomp | 9634742393995acdde148b0412f083bfdd0fbe9f | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2020-09-22T11:29:02.000Z | 2020-09-22T11:29:02.000Z | include/tudocomp/compressors/lfs/LFS2Compressor.hpp | 421408/tudocomp | 9634742393995acdde148b0412f083bfdd0fbe9f | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | include/tudocomp/compressors/lfs/LFS2Compressor.hpp | 421408/tudocomp | 9634742393995acdde148b0412f083bfdd0fbe9f | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2020-09-29T08:57:13.000Z | 2020-09-29T08:57:13.000Z | #pragma once
#include <tudocomp/config.h>
#ifndef SDSL_FOUND
#pragma message "SDSL required, but not available!"
#else
//std includes:
#include <vector>
#include <tuple>
//general includes:
#include <tudocomp/util.hpp>
#include <tudocomp/ds/IntVector.hpp>
#include <tudocomp/Compressor.hpp>
#include <tudocomp/Error.... | 37.858566 | 176 | 0.473612 |
d503a236dda5d049f000e728698e58023f2ecbac | 7,098 | cxx | C++ | plugins/itk/RegistrationProcess.cxx | readicculus/VIAME | 3e65fa4ec9139f73f8f9f4b3c0f1b18ba6209733 | [
"BSD-3-Clause"
] | null | null | null | plugins/itk/RegistrationProcess.cxx | readicculus/VIAME | 3e65fa4ec9139f73f8f9f4b3c0f1b18ba6209733 | [
"BSD-3-Clause"
] | null | null | null | plugins/itk/RegistrationProcess.cxx | readicculus/VIAME | 3e65fa4ec9139f73f8f9f4b3c0f1b18ba6209733 | [
"BSD-3-Clause"
] | null | null | null | /*ckwg +29
* Copyright 2019 by Kitware, 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... | 33.481132 | 87 | 0.680473 |
d5046672da82a39afaaa79a713ad8494c3e43f72 | 11,486 | cpp | C++ | background-change.cpp | 2vin/background-changing | c5f33ac3d87aaad2c94b9c9c3af146c49ca1f24f | [
"MIT"
] | null | null | null | background-change.cpp | 2vin/background-changing | c5f33ac3d87aaad2c94b9c9c3af146c49ca1f24f | [
"MIT"
] | 1 | 2018-05-27T18:56:25.000Z | 2018-05-27T18:56:25.000Z | background-change.cpp | 2vin/background-changing | c5f33ac3d87aaad2c94b9c9c3af146c49ca1f24f | [
"MIT"
] | 1 | 2018-09-05T11:18:06.000Z | 2018-09-05T11:18:06.000Z | #include "opencv2/opencv.hpp"
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/imgproc/imgproc.hpp"
#include <iostream>
using namespace std;
using namespace cv;
Mat myMask;
Mat myFrame;
Mat origFrame;
int frameCols = 0, frameRows = 0;
Mat refine(Mat frame, Mat mask);
static void help()
{
cout << "\nThis... | 27.544365 | 164 | 0.560334 |
d50497ebfd52764adcdd0be94bd42751cbd3ee60 | 2,420 | cpp | C++ | ar_track_alvar/src/FernPoseEstimator.cpp | dasys-lab/cnc-turtlebots | c3749d3905f85c7955a8da8cb3194f7fbe0ba64b | [
"MIT"
] | 9 | 2018-12-08T14:50:18.000Z | 2021-02-17T13:45:59.000Z | ar_track_alvar/src/FernPoseEstimator.cpp | dasys-lab/cnc-turtlebots | c3749d3905f85c7955a8da8cb3194f7fbe0ba64b | [
"MIT"
] | null | null | null | ar_track_alvar/src/FernPoseEstimator.cpp | dasys-lab/cnc-turtlebots | c3749d3905f85c7955a8da8cb3194f7fbe0ba64b | [
"MIT"
] | 3 | 2019-12-21T02:50:39.000Z | 2022-01-04T02:53:07.000Z | /*
* This file is part of ALVAR, A Library for Virtual and Augmented Reality.
*
* Copyright 2007-2012 VTT Technical Research Centre of Finland
*
* Contact: VTT Augmented Reality Team <alvar.info@vtt.fi>
* <http://www.vtt.fi/multimedia/alvar.html>
*
* ALVAR is free software; you can redistribute it and/... | 28.809524 | 143 | 0.746694 |
d504cc00313bf908d5c69ac2805bd7c2f0928032 | 3,192 | hpp | C++ | include/HaloDataOrganizer.hpp | stu314159/tLBM | 1256c5b12fc315d59e08d704c6cef72200e9f01c | [
"MIT"
] | null | null | null | include/HaloDataOrganizer.hpp | stu314159/tLBM | 1256c5b12fc315d59e08d704c6cef72200e9f01c | [
"MIT"
] | null | null | null | include/HaloDataOrganizer.hpp | stu314159/tLBM | 1256c5b12fc315d59e08d704c6cef72200e9f01c | [
"MIT"
] | null | null | null | /*
* HaloDataOrganizer.hpp
*
* Created on: Jun 13, 2019
* Author: stu
*/
#ifndef INCLUDE_HALODATAORGANIZER_HPP_
#define INCLUDE_HALODATAORGANIZER_HPP_
#include <map>
#include <set>
#include <algorithm>
//#include "TLBM_definitions.h"
#include "HaloDataObject.hpp"
template <class T>
class HaloDataOrganizer... | 18.344828 | 101 | 0.713033 |
d506401b50d2e59407dc797d4fd50dff14a4fccc | 983 | cpp | C++ | aws-cpp-sdk-clouddirectory/source/model/UpgradeAppliedSchemaRequest.cpp | lintonv/aws-sdk-cpp | 15e19c265ffce19d2046b18aa1b7307fc5377e58 | [
"Apache-2.0"
] | 1 | 2022-02-10T08:06:54.000Z | 2022-02-10T08:06:54.000Z | aws-cpp-sdk-clouddirectory/source/model/UpgradeAppliedSchemaRequest.cpp | lintonv/aws-sdk-cpp | 15e19c265ffce19d2046b18aa1b7307fc5377e58 | [
"Apache-2.0"
] | 1 | 2021-10-14T16:57:00.000Z | 2021-10-18T10:47:24.000Z | aws-cpp-sdk-clouddirectory/source/model/UpgradeAppliedSchemaRequest.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-11-09T11:58:03.000Z | 2021-11-09T11:58:03.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/clouddirectory/model/UpgradeAppliedSchemaRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::CloudDirectory::Model;
using namespace Aws::... | 19.27451 | 69 | 0.749746 |
d508323b47303f8811d802f301ad5d8444d62e3f | 6,227 | cpp | C++ | External/FEXCore/Source/Interface/Core/ArchHelpers/Arm64Emitter.cpp | phire/FEX | a721257cdd787bd641875ca8e138809aaad17e0c | [
"MIT"
] | 628 | 2020-03-06T14:01:32.000Z | 2022-03-31T06:35:14.000Z | External/FEXCore/Source/Interface/Core/ArchHelpers/Arm64Emitter.cpp | phire/FEX | a721257cdd787bd641875ca8e138809aaad17e0c | [
"MIT"
] | 576 | 2020-03-06T08:25:12.000Z | 2022-03-30T04:05:29.000Z | External/FEXCore/Source/Interface/Core/ArchHelpers/Arm64Emitter.cpp | phire/FEX | a721257cdd787bd641875ca8e138809aaad17e0c | [
"MIT"
] | 38 | 2020-03-07T06:10:00.000Z | 2022-03-29T09:27:36.000Z | #include "Interface/Core/ArchHelpers/Arm64Emitter.h"
#include <FEXCore/Utils/LogManager.h>
#include <FEXCore/Core/CoreState.h>
#include "aarch64/cpu-aarch64.h"
#include "cpu-features.h"
#include "aarch64/instructions-aarch64.h"
#include "utils-vixl.h"
#include <tuple>
namespace FEXCore::CPU {
#define STATE x28
// ... | 25.838174 | 118 | 0.612012 |
d50a7c441af412f4a480c5d5986a2cba15bf6819 | 12,139 | cpp | C++ | chromium/third_party/WebKit/Source/modules/fetch/BodyStreamBufferTest.cpp | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | null | null | null | chromium/third_party/WebKit/Source/modules/fetch/BodyStreamBufferTest.cpp | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | null | null | null | chromium/third_party/WebKit/Source/modules/fetch/BodyStreamBufferTest.cpp | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | null | null | null | // 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 "modules/fetch/BodyStreamBuffer.h"
#include "core/testing/DummyPageHolder.h"
#include "modules/fetch/DataConsumerHandleTestUtil.h"
#include "pla... | 37.816199 | 195 | 0.743142 |
d50a813b21c4a7125a568638f8d335fae4043844 | 115 | cpp | C++ | imgui_glfw_binding_source.cpp | CheezLang/imgui | 984aa3e5be8d240e19ba6f2395c607320145d32e | [
"MIT"
] | null | null | null | imgui_glfw_binding_source.cpp | CheezLang/imgui | 984aa3e5be8d240e19ba6f2395c607320145d32e | [
"MIT"
] | null | null | null | imgui_glfw_binding_source.cpp | CheezLang/imgui | 984aa3e5be8d240e19ba6f2395c607320145d32e | [
"MIT"
] | null | null | null | #if !defined(DONT_DEFINE_TYPES)
#endif
#include "F:/Programming/CppLibs/imgui/imgui/examples/imgui_impl_glfw.h"
| 16.428571 | 72 | 0.791304 |
d50bb228f8c4f9cb398f2eafa5b7e51afb5899f1 | 12,432 | cc | C++ | third_party/webrtc/src/webrtc/video/video_receive_stream.cc | bopopescu/webrtc-streaming-node | 727a441204344ff596401b0253caac372b714d91 | [
"MIT"
] | 8 | 2016-02-08T11:59:31.000Z | 2020-05-31T15:19:54.000Z | third_party/webrtc/src/webrtc/video/video_receive_stream.cc | bopopescu/webrtc-streaming-node | 727a441204344ff596401b0253caac372b714d91 | [
"MIT"
] | 1 | 2021-05-05T11:11:31.000Z | 2021-05-05T11:11:31.000Z | third_party/webrtc/src/webrtc/video/video_receive_stream.cc | bopopescu/webrtc-streaming-node | 727a441204344ff596401b0253caac372b714d91 | [
"MIT"
] | 7 | 2016-02-09T09:28:14.000Z | 2020-07-25T19:03:36.000Z | /*
* Copyright (c) 2013 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... | 36.890208 | 80 | 0.677687 |
d50bc9912659c9fac76afa8c42977160281ba429 | 1,601 | cpp | C++ | sources/tests/src/licensetestsuite.cpp | rdkcmf/rdkc-rms | 65ab1efcee9e3de46a888c125f591cd48b815601 | [
"Apache-2.0"
] | 3 | 2020-07-30T19:41:00.000Z | 2020-10-28T12:52:37.000Z | sources/tests/src/licensetestsuite.cpp | rdkcmf/rdkc-rms | 65ab1efcee9e3de46a888c125f591cd48b815601 | [
"Apache-2.0"
] | null | null | null | sources/tests/src/licensetestsuite.cpp | rdkcmf/rdkc-rms | 65ab1efcee9e3de46a888c125f591cd48b815601 | [
"Apache-2.0"
] | 2 | 2020-05-11T03:19:00.000Z | 2021-07-07T17:40:47.000Z | /**
##########################################################################
# If not stated otherwise in this file or this component's LICENSE
# file the following copyright and licenses apply:
#
# Copyright 2019 RDK Management
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not... | 32.02 | 87 | 0.663335 |
d50d608dc4b92b0c6251b547d8b1de3d39119f2a | 17,818 | cpp | C++ | Plugin/Source/PluginProcessor.cpp | b00leant/audiogridder | 719ba3b83befa7cb371028c592f4246757dcd31e | [
"MIT"
] | 1 | 2020-05-06T12:52:45.000Z | 2020-05-06T12:52:45.000Z | Plugin/Source/PluginProcessor.cpp | b00leant/audiogridder | 719ba3b83befa7cb371028c592f4246757dcd31e | [
"MIT"
] | null | null | null | Plugin/Source/PluginProcessor.cpp | b00leant/audiogridder | 719ba3b83befa7cb371028c592f4246757dcd31e | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2020 Andreas Pohl
* Licensed under MIT (https://github.com/apohl79/audiogridder/blob/master/COPYING)
*
* Author: Andreas Pohl
*/
#include "PluginProcessor.hpp"
#include <signal.h>
#include "PluginEditor.hpp"
#include "json.hpp"
using json = nlohmann::json;
AudioGridderAudioProcessor::AudioG... | 34.464217 | 120 | 0.599394 |
d50e010cc8fa5e5b5054cc6144666189cf0becd4 | 33,837 | cpp | C++ | ext/nmatrix/storage/dense/dense.cpp | blackwinter-attic/nmatrix | cb2cd26195d544ac03b347e293c071faed6f90a6 | [
"BSD-3-Clause"
] | null | null | null | ext/nmatrix/storage/dense/dense.cpp | blackwinter-attic/nmatrix | cb2cd26195d544ac03b347e293c071faed6f90a6 | [
"BSD-3-Clause"
] | null | null | null | ext/nmatrix/storage/dense/dense.cpp | blackwinter-attic/nmatrix | cb2cd26195d544ac03b347e293c071faed6f90a6 | [
"BSD-3-Clause"
] | null | null | null | /////////////////////////////////////////////////////////////////////
// = NMatrix
//
// A linear algebra library for scientific computation in Ruby.
// NMatrix is part of SciRuby.
//
// NMatrix was originally inspired by and derived from NArray, by
// Masahiro Tanaka: http://narray.rubyforge.org
//
// == Copyright Inf... | 30.621719 | 211 | 0.676922 |
d50f311baa5bcc6fa2ee3552adff91ceb0cc7f31 | 169 | cpp | C++ | Emerald/src/graphics/camera/camera.cpp | jodelahithit/Emerald | 880d0e4ec1ab3a14060502eeb01fc124844b909f | [
"Apache-2.0"
] | null | null | null | Emerald/src/graphics/camera/camera.cpp | jodelahithit/Emerald | 880d0e4ec1ab3a14060502eeb01fc124844b909f | [
"Apache-2.0"
] | null | null | null | Emerald/src/graphics/camera/camera.cpp | jodelahithit/Emerald | 880d0e4ec1ab3a14060502eeb01fc124844b909f | [
"Apache-2.0"
] | null | null | null | #include "stdafx.h"
void Camera::UpdateProjectionMatrix() {
m_projectionMatrix = Matrix4::Perspective(m_FOV, GetApplication()->GetAspect(), m_nearPlane, m_farPlane);
} | 33.8 | 106 | 0.775148 |
d50f6f134ac69f4a429a76ba764f4348996e86cd | 2,060 | cpp | C++ | src/nodes/image_topic_to_image.cpp | janelia-ros/image_topic_to_image_ros | 566075e687fae6fa8429f617886ddfd7845bd65d | [
"BSD-3-Clause"
] | null | null | null | src/nodes/image_topic_to_image.cpp | janelia-ros/image_topic_to_image_ros | 566075e687fae6fa8429f617886ddfd7845bd65d | [
"BSD-3-Clause"
] | null | null | null | src/nodes/image_topic_to_image.cpp | janelia-ros/image_topic_to_image_ros | 566075e687fae6fa8429f617886ddfd7845bd65d | [
"BSD-3-Clause"
] | null | null | null | #include <ros/ros.h>
#include <nodelet/loader.h>
#include <image_topic_to_image/advertisement_checker.h>
int main(int argc, char **argv)
{
ros::init(argc, argv, "image_topic_to_image");
// Check for common user errors
if (ros::names::remap("camera") != "camera")
{
ROS_WARN("Remapping 'camera' has no effec... | 39.615385 | 104 | 0.714078 |
d5110efc74bda7b660dbd089ea2bcdaab3f9b2e7 | 7,842 | hpp | C++ | hpx/runtime/applier/apply_helper.hpp | victor-ludorum/hpx | d1db0def60687a662e4e25a909550f08eaf1a18a | [
"BSL-1.0"
] | null | null | null | hpx/runtime/applier/apply_helper.hpp | victor-ludorum/hpx | d1db0def60687a662e4e25a909550f08eaf1a18a | [
"BSL-1.0"
] | 1 | 2018-04-20T14:17:33.000Z | 2018-04-20T14:17:33.000Z | hpx/runtime/applier/apply_helper.hpp | victor-ludorum/hpx | d1db0def60687a662e4e25a909550f08eaf1a18a | [
"BSL-1.0"
] | null | null | null | // Copyright (c) 2007-2017 Hartmut Kaiser
// Copyright (c) 2011 Bryce Lelbach
//
// 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)
#if !defined(HPX_APPLIER_APPLY_HELPER_JUN_25_2008_0917PM)
#define HPX_APPLIE... | 37.884058 | 81 | 0.586202 |
d5114b098c4fc6702425173f9542b3eca474cb81 | 12,353 | hpp | C++ | openstudiocore/src/model/Blind.hpp | pepsi7959/OpenstudioThai | fb18afb8b983f71dd5eb171e753dac7d9a4b811b | [
"blessing"
] | 1 | 2015-06-28T09:06:24.000Z | 2015-06-28T09:06:24.000Z | openstudiocore/src/model/Blind.hpp | pepsi7959/OpenstudioThai | fb18afb8b983f71dd5eb171e753dac7d9a4b811b | [
"blessing"
] | 11 | 2015-05-05T16:16:33.000Z | 2017-08-10T08:15:50.000Z | openstudiocore/src/model/Blind.hpp | pepsi7959/OpenstudioThai | fb18afb8b983f71dd5eb171e753dac7d9a4b811b | [
"blessing"
] | 1 | 2017-09-23T12:51:13.000Z | 2017-09-23T12:51:13.000Z | /**********************************************************************
* Copyright (c) 2008-2015, 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... | 31.194444 | 117 | 0.80871 |
d5115f1dd807baf6f227a32812c871f3bd83d420 | 28,395 | cpp | C++ | multiview/multiview_cpp/src/testcases/geometry/euclidean_tc.cpp | prcvlabs/multiview | 1a03e14855292967ffb0c0ec7fff855c5abbc9d2 | [
"Apache-2.0"
] | 5 | 2021-09-03T23:12:08.000Z | 2022-03-04T21:43:32.000Z | multiview/multiview_cpp/src/testcases/geometry/euclidean_tc.cpp | prcvlabs/multiview | 1a03e14855292967ffb0c0ec7fff855c5abbc9d2 | [
"Apache-2.0"
] | 3 | 2021-09-08T02:57:46.000Z | 2022-02-26T05:33:02.000Z | multiview/multiview_cpp/src/testcases/geometry/euclidean_tc.cpp | prcvlabs/multiview | 1a03e14855292967ffb0c0ec7fff855c5abbc9d2 | [
"Apache-2.0"
] | 2 | 2021-09-26T03:14:40.000Z | 2022-01-26T06:42:52.000Z |
#include <algorithm>
#include <iterator>
#define CATCH_CONFIG_PREFIX_ALL
#include "perceive/calibration/aruco-cube.hpp"
#include "perceive/contrib/catch.hpp"
#include "perceive/geometry.hpp"
#include "perceive/geometry/projective/binocular-camera.hpp"
namespace perceive
{
static const string c1001_v6 = R"V0G0N(
{
... | 56.451292 | 2,374 | 0.565522 |
d511c7c5d6f4685b83a676dc6a2ae6ea6703ec81 | 7,011 | cc | C++ | gpu/ipc/service/gpu_memory_buffer_factory_dxgi.cc | Yannic/chromium | ab32e8aacb08c9fce0dc4bf09eec456ba46e3710 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | gpu/ipc/service/gpu_memory_buffer_factory_dxgi.cc | Yannic/chromium | ab32e8aacb08c9fce0dc4bf09eec456ba46e3710 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2019-03-13T10:32:53.000Z | 2019-03-13T11:05:30.000Z | gpu/ipc/service/gpu_memory_buffer_factory_dxgi.cc | Yannic/chromium | ab32e8aacb08c9fce0dc4bf09eec456ba46e3710 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2017 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 "gpu/ipc/service/gpu_memory_buffer_factory_dxgi.h"
#include <vector>
#include "base/memory/unsafe_shared_memory_region.h"
#include "base/trace_... | 34.033981 | 103 | 0.72158 |
d514a9e055b489dbe250836cdb055956cc54c5f0 | 6,890 | cpp | C++ | Examples/UI/FileDialogs/Sources/app.cpp | xctan/ClanLib | 1a8d6eb6cab3e93fd5c6be618fb6f7bd1146fc2d | [
"Linux-OpenIB"
] | 248 | 2015-01-08T05:21:40.000Z | 2022-03-20T02:59:16.000Z | Examples/UI/FileDialogs/Sources/app.cpp | xctan/ClanLib | 1a8d6eb6cab3e93fd5c6be618fb6f7bd1146fc2d | [
"Linux-OpenIB"
] | 39 | 2015-01-14T17:37:07.000Z | 2022-03-17T12:59:26.000Z | Examples/UI/FileDialogs/Sources/app.cpp | xctan/ClanLib | 1a8d6eb6cab3e93fd5c6be618fb6f7bd1146fc2d | [
"Linux-OpenIB"
] | 82 | 2015-01-11T13:23:49.000Z | 2022-02-19T03:17:24.000Z | /*
** ClanLib SDK
** Copyright (c) 1997-2020 The ClanLib Team
**
** 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 a... | 33.77451 | 112 | 0.697823 |
d515380d863c775cdc86b6219d718489357a7d02 | 238 | cc | C++ | src/abc158/a.cc | nryotaro/at_c | 8d7d3aecb4e3c768aefdf0ceaeefb269ca9ab34c | [
"MIT"
] | null | null | null | src/abc158/a.cc | nryotaro/at_c | 8d7d3aecb4e3c768aefdf0ceaeefb269ca9ab34c | [
"MIT"
] | null | null | null | src/abc158/a.cc | nryotaro/at_c | 8d7d3aecb4e3c768aefdf0ceaeefb269ca9ab34c | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
string solve(string s) {
if(s == "AAA" || s == "BBB")
return "No";
return "Yes";
}
/*
int main() {
string s;
cin >> s;
cout << solve(s);
}
*/ | 14.875 | 32 | 0.516807 |
d5153aabc5ef5950d4034b68c66f9180d9050f96 | 1,748 | cpp | C++ | Online Judges/URI/2731/main.cpp | AnneLivia/URI-Online | 02ff972be172a62b8abe25030c3676f6c04efd1b | [
"MIT"
] | 64 | 2019-03-17T08:56:28.000Z | 2022-01-14T02:31:21.000Z | Online Judges/URI/2731/main.cpp | AnneLivia/URI-Online | 02ff972be172a62b8abe25030c3676f6c04efd1b | [
"MIT"
] | 1 | 2020-12-24T07:16:30.000Z | 2021-03-23T20:51:05.000Z | Online Judges/URI/2731/main.cpp | AnneLivia/URI-Online | 02ff972be172a62b8abe25030c3676f6c04efd1b | [
"MIT"
] | 19 | 2019-05-25T10:48:16.000Z | 2022-01-07T10:07:46.000Z | #include <iostream>
#include <vector>
#include <queue>
#define INF 10000000
using namespace std;
vector<vector<pair<int, int> > > graph;
void dijkstra(int start) {
vector<int>dist((int)graph.size(), INF);
vector<int>path((int)graph.size(), -1);
priority_queue<pair<int,int>, vector<pair<int,int> >, greater... | 25.333333 | 87 | 0.463959 |
d517a7ae14c50ac5e439a7c29513aa65ab0edf66 | 3,696 | cpp | C++ | 2018/0414_ARC095/F.cpp | kazunetakahashi/atcoder | 16ce65829ccc180260b19316e276c2fcf6606c53 | [
"MIT"
] | 7 | 2019-03-24T14:06:29.000Z | 2020-09-17T21:16:36.000Z | 2018/0414_ARC095/F.cpp | kazunetakahashi/atcoder | 16ce65829ccc180260b19316e276c2fcf6606c53 | [
"MIT"
] | null | null | null | 2018/0414_ARC095/F.cpp | kazunetakahashi/atcoder | 16ce65829ccc180260b19316e276c2fcf6606c53 | [
"MIT"
] | 1 | 2020-07-22T17:27:09.000Z | 2020-07-22T17:27:09.000Z | /**
* File : F.cpp
* Author : Kazune Takahashi
* Created : 2018-4-14 21:58:25
* Powered by Visual Studio Code
*/
#include <iostream>
#include <iomanip> // << fixed << setprecision(xxx)
#include <algorithm> // do { } while ( next_permutation(A, A+xxx) ) ;
#include <vector>
#include <string> // to_string(nnn)... | 19.659574 | 77 | 0.479708 |
d51850c216a43599c3d9a9bf589559d88c4e7c1c | 13,177 | cpp | C++ | extsrc/mesa/src/glsl/link_uniforms.cpp | MauroArgentino/RSXGL | bd206e11894f309680f48740346c17efe49755ba | [
"BSD-2-Clause"
] | 28 | 2015-07-11T17:11:12.000Z | 2022-03-26T04:14:16.000Z | extsrc/mesa/src/glsl/link_uniforms.cpp | MauroArgentino/RSXGL | bd206e11894f309680f48740346c17efe49755ba | [
"BSD-2-Clause"
] | 2 | 2019-05-26T19:02:24.000Z | 2021-05-27T14:15:04.000Z | extsrc/mesa/src/glsl/link_uniforms.cpp | MauroArgentino/RSXGL | bd206e11894f309680f48740346c17efe49755ba | [
"BSD-2-Clause"
] | 9 | 2019-07-04T12:54:29.000Z | 2022-02-09T13:04:38.000Z | /*
* Copyright © 2011 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.431871 | 80 | 0.675951 |
d5187582d079e3d9588b50bbdcdce745ae44c5f0 | 822 | cpp | C++ | Recursion/strings_recursion.cpp | gaurav147-star/DSA-learning | 52625953e2b1421fdd550004df893b970aac9308 | [
"MIT"
] | 1 | 2022-02-15T12:53:00.000Z | 2022-02-15T12:53:00.000Z | Recursion/strings_recursion.cpp | gaurav147-star/DSA-learning | 52625953e2b1421fdd550004df893b970aac9308 | [
"MIT"
] | null | null | null | Recursion/strings_recursion.cpp | gaurav147-star/DSA-learning | 52625953e2b1421fdd550004df893b970aac9308 | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
class strings_recursion
{
public:
int length(char s[]);
void removeX(char s[]);
};
int strings_recursion::length(char s[])
{
if (s[0] == '\0')
{
return 0;
}
int smallStringLength = length(s + 1);
return 1 + smallStringLength;
}
void string... | 14.945455 | 42 | 0.457421 |
d518fb0e32ff30902f083db5a640d07acf40675c | 1,814 | cpp | C++ | Source/Add On - Apple/CCoreGraphics.cpp | StevoGTA/CppToolbox | ff53e4ecf02b283e608afc92769199104ba30bf1 | [
"MIT"
] | 1 | 2019-05-02T23:49:03.000Z | 2019-05-02T23:49:03.000Z | Source/Add On - Apple/CCoreGraphics.cpp | StevoSM/CppToolbox | 11c73e083a4510797d7674e040e096bf5dc7ea2d | [
"MIT"
] | null | null | null | Source/Add On - Apple/CCoreGraphics.cpp | StevoSM/CppToolbox | 11c73e083a4510797d7674e040e096bf5dc7ea2d | [
"MIT"
] | null | null | null | //----------------------------------------------------------------------------------------------------------------------
// CCoreGraphics.cpp ©2020 Stevo Brock All rights reserved.
//----------------------------------------------------------------------------------------------------------------------
#include "CCore... | 43.190476 | 120 | 0.495039 |
d51985e8238b33ea3f6df0d1d4ca49d9e5c9ab31 | 504 | cc | C++ | components/prefs/writeable_pref_store.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/prefs/writeable_pref_store.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | components/prefs/writeable_pref_store.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 2017 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/prefs/writeable_pref_store.h"
void WriteablePrefStore::ReportSubValuesChanged(
const std::string& key,
std::set<std::vector<... | 33.6 | 76 | 0.751984 |
d51a6eb192ee41b0b8ce11d5816fe375a6e1b915 | 106,081 | cpp | C++ | lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp | nettrino/IntFlow | 0400aef5da2c154268d8b020e393c950435395b3 | [
"Unlicense"
] | 16 | 2015-09-08T08:49:11.000Z | 2019-07-20T14:46:20.000Z | lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp | nettrino/IntFlow | 0400aef5da2c154268d8b020e393c950435395b3 | [
"Unlicense"
] | 1 | 2019-02-10T08:27:48.000Z | 2019-02-10T08:27:48.000Z | lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp | nettrino/IntFlow | 0400aef5da2c154268d8b020e393c950435395b3 | [
"Unlicense"
] | 7 | 2016-05-26T17:31:46.000Z | 2020-11-04T06:39:23.000Z | //===------- LegalizeVectorTypes.cpp - Legalization of vector types -------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | 38.971712 | 81 | 0.639172 |
d51a8fe0a2f169cda115e9ac3721afcf1e9d24d5 | 5,873 | cc | C++ | src/run_crown/deref_expression.cc | Clown-FM/CROWN | 7690d59d9459ffa1be7226edd0bede7546412da9 | [
"MIT",
"BSD-3-Clause"
] | 1 | 2019-09-07T09:58:26.000Z | 2019-09-07T09:58:26.000Z | src/run_crown/deref_expression.cc | kunwoo1209/CROWN | 7690d59d9459ffa1be7226edd0bede7546412da9 | [
"MIT",
"BSD-3-Clause"
] | null | null | null | src/run_crown/deref_expression.cc | kunwoo1209/CROWN | 7690d59d9459ffa1be7226edd0bede7546412da9 | [
"MIT",
"BSD-3-Clause"
] | 4 | 2019-09-07T09:53:17.000Z | 2021-09-04T16:11:20.000Z | // This file is part of CROWN, which is distributed under the revised
// BSD license. A copy of this license can be found in the file LICENSE.
//
// This program is distributed in the hope that it will be useful, but
// WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PART... | 32.269231 | 103 | 0.715307 |
d51cb66fc40503d58f07b6731073208bc815fb66 | 3,975 | cpp | C++ | src/AssemblerMinHash.cpp | ekg/shasta | e2fd3c3d79fb4cafe77c62f6af2fef46f7a04b01 | [
"BSD-3-Clause"
] | null | null | null | src/AssemblerMinHash.cpp | ekg/shasta | e2fd3c3d79fb4cafe77c62f6af2fef46f7a04b01 | [
"BSD-3-Clause"
] | null | null | null | src/AssemblerMinHash.cpp | ekg/shasta | e2fd3c3d79fb4cafe77c62f6af2fef46f7a04b01 | [
"BSD-3-Clause"
] | null | null | null | #include "Assembler.hpp"
#include "MinHash.hpp"
using namespace ChanZuckerberg;
using namespace shasta;
// Use the minHash algorithm to find alignment candidates.
// Use as features sequences of m consecutive special k-mers.
void Assembler::findAlignmentCandidatesMinHash(
size_t m, // Numb... | 32.056452 | 103 | 0.693082 |
d51d1caa2d631123f846b1530b8e5e05133e36c2 | 62,133 | cpp | C++ | WDL/win32_curses/eel_edit.cpp | badi91/iPlug2 | e508e85060871cef4ff16c9bc80c503c375e0a14 | [
"Zlib"
] | 1,305 | 2018-07-28T08:48:47.000Z | 2022-03-31T23:06:59.000Z | WDL/win32_curses/eel_edit.cpp | badi91/iPlug2 | e508e85060871cef4ff16c9bc80c503c375e0a14 | [
"Zlib"
] | 582 | 2019-01-01T15:37:55.000Z | 2022-03-30T22:57:16.000Z | WDL/win32_curses/eel_edit.cpp | badi91/iPlug2 | e508e85060871cef4ff16c9bc80c503c375e0a14 | [
"Zlib"
] | 284 | 2018-10-17T22:16:26.000Z | 2022-03-30T15:38:19.000Z | #ifdef _WIN32
#include <windows.h>
#include <windowsx.h>
#else
#include "../swell/swell.h"
#endif
#include <stdlib.h>
#include <string.h>
#ifndef CURSES_INSTANCE
#define CURSES_INSTANCE ((win32CursesCtx *)m_cursesCtx)
#endif
#include "curses.h"
#include "eel_edit.h"
#include "../wdlutf8.h"
#include "../win32_utf8.h"
#i... | 29.657757 | 161 | 0.530362 |
d51daa9e1e70d6408cdfb4d7a4b61f0e565ff340 | 29,952 | cc | C++ | modules/map/hdmap/adapter/xml_parser/lanes_xml_parser.cc | IsaacZhang123/apollo | 174d17df316a0c30fdeb38c87deb9293791e0f5f | [
"Apache-2.0"
] | 2 | 2021-01-19T02:27:59.000Z | 2021-08-18T06:56:32.000Z | modules/map/hdmap/adapter/xml_parser/lanes_xml_parser.cc | IsaacZhang123/apollo | 174d17df316a0c30fdeb38c87deb9293791e0f5f | [
"Apache-2.0"
] | null | null | null | modules/map/hdmap/adapter/xml_parser/lanes_xml_parser.cc | IsaacZhang123/apollo | 174d17df316a0c30fdeb38c87deb9293791e0f5f | [
"Apache-2.0"
] | 1 | 2020-06-22T12:46:39.000Z | 2020-06-22T12:46:39.000Z | /* Copyright 2017 The Apollo Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agree... | 35.0726 | 80 | 0.685831 |
d51ec1720ee2162fa6b160278ebe048b09a56fd0 | 577 | cpp | C++ | test/src/doctest_main.cpp | karnkaul/veg | a6b54484b162a188f7abae8ae27d2c1f04fda16c | [
"MIT"
] | 8 | 2021-07-16T18:07:15.000Z | 2022-01-31T19:17:10.000Z | test/src/doctest_main.cpp | karnkaul/veg | a6b54484b162a188f7abae8ae27d2c1f04fda16c | [
"MIT"
] | 1 | 2022-01-18T23:02:26.000Z | 2022-01-18T23:02:30.000Z | test/src/doctest_main.cpp | karnkaul/veg | a6b54484b162a188f7abae8ae27d2c1f04fda16c | [
"MIT"
] | 2 | 2022-01-18T15:45:18.000Z | 2022-01-26T09:53:19.000Z | #define DOCTEST_CONFIG_IMPLEMENT
#include "doctest.h"
#include <cstdio>
#include <backward.hpp>
namespace veg {
int argc = 0;
char** argv = nullptr;
} // namespace veg
auto main(int argc, char** argv) -> int {
veg::argc = argc;
veg::argv = argv;
char argname[] = "--veg-death-assertion-id";
if (argc >= 3 && //
... | 21.37037 | 51 | 0.616984 |
d52047756e66a3c16b8efa635ce2d1f323bae298 | 2,910 | cpp | C++ | src/stc/scope.cpp | antonvw/wex | c4c41c660c9967623093a1b407af034c59a56be8 | [
"MIT"
] | 3 | 2020-03-01T06:30:30.000Z | 2021-05-01T05:11:48.000Z | src/stc/scope.cpp | antonvw/wex | c4c41c660c9967623093a1b407af034c59a56be8 | [
"MIT"
] | 96 | 2020-01-18T18:25:48.000Z | 2022-03-26T12:26:50.000Z | src/stc/scope.cpp | antonvw/wex | c4c41c660c9967623093a1b407af034c59a56be8 | [
"MIT"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
// Name: scope.cpp
// Purpose: Implementation of class wex::scope
// Author: Anton van Wezenbeek
// Copyright: (c) 2020-2021 Anton van Wezenbeek
////////////////////////////////////////////////////////////////////////////////
#i... | 21.086957 | 80 | 0.576289 |
d520fecc7313fd00060c3bd0391a55885087991f | 6,931 | hpp | C++ | c++/src/objtools/align_format/unit_test/blast_test_util.hpp | OpenHero/gblastn | a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8 | [
"MIT"
] | 31 | 2016-12-09T04:56:59.000Z | 2021-12-31T17:19:10.000Z | c++/src/objtools/align_format/unit_test/blast_test_util.hpp | OpenHero/gblastn | a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8 | [
"MIT"
] | 6 | 2017-03-10T17:25:13.000Z | 2021-09-22T15:49:49.000Z | c++/src/objtools/align_format/unit_test/blast_test_util.hpp | OpenHero/gblastn | a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8 | [
"MIT"
] | 20 | 2015-01-04T02:15:17.000Z | 2021-12-03T02:31:43.000Z | /* $Id: blast_test_util.hpp 354597 2012-02-28 16:45:09Z ucko $
* ===========================================================================
*
* PUBLIC DOMAIN NOTICE
* National Center for Biotechnology Information
*
* This software/database is a "United States Government... | 33.97549 | 86 | 0.665416 |
d5253eaacce066df546bf71ee56094c0c5c69043 | 16,440 | cpp | C++ | attic/p42/SysCore/Keyboard/kybrd.cpp | mooseman/plan_42 | 0b726f06088c6940aa7050b5cef9f93a3cdcc788 | [
"Unlicense"
] | 7 | 2015-02-18T13:45:06.000Z | 2019-01-24T21:49:18.000Z | attic/p42/SysCore/Keyboard/kybrd.cpp | mooseman/plan_42 | 0b726f06088c6940aa7050b5cef9f93a3cdcc788 | [
"Unlicense"
] | null | null | null | attic/p42/SysCore/Keyboard/kybrd.cpp | mooseman/plan_42 | 0b726f06088c6940aa7050b5cef9f93a3cdcc788 | [
"Unlicense"
] | 2 | 2017-04-21T09:38:50.000Z | 2020-05-26T22:13:58.000Z | //****************************************************************************
//**
//** kybrd.cpp
//** -Keyboard driver
//**
//****************************************************************************
//============================================================================
// IMPLEMENTATION HEAD... | 24.212077 | 101 | 0.556873 |
d525f95e42d6522cd7ee92b8811407b917e7369b | 42,083 | cpp | C++ | src/Vendor/gumbo/GumboInterface.cpp | luojilab/CSSParser | 1c507c98a0cdd37227f3b3c71f84a2165445a795 | [
"MIT"
] | 15 | 2018-08-31T06:54:27.000Z | 2022-01-06T07:01:29.000Z | src/Vendor/gumbo/GumboInterface.cpp | getsync/CSSParser | 1c507c98a0cdd37227f3b3c71f84a2165445a795 | [
"MIT"
] | null | null | null | src/Vendor/gumbo/GumboInterface.cpp | getsync/CSSParser | 1c507c98a0cdd37227f3b3c71f84a2165445a795 | [
"MIT"
] | 6 | 2018-08-31T06:54:36.000Z | 2021-10-09T07:10:36.000Z | #include <string>
#include <stdio.h>
#include <list>
#include <set>
#include <algorithm>
#include "GumboInterface.h"
#include "string_buffer.h"
#include "error.h"
#include "StringUtil.h"
#include "UrlUtil.h"
//#include "pcrecpp.h"
namespace future {
static std::set<std::string> init_set(const char** arr,... | 31.977964 | 149 | 0.643348 |
d526727055b3a97048584f86c03f0a79d2af5c06 | 5,116 | cpp | C++ | src/libSBML/src/sbml/validator/constraints/CompartmentOutsideCycles.cpp | copasi/copasi-dependencies | c01dd455c843522375c32c2989aa8675f59bb810 | [
"Unlicense"
] | 5 | 2015-04-16T14:27:38.000Z | 2021-11-30T14:54:39.000Z | src/libSBML/src/sbml/validator/constraints/CompartmentOutsideCycles.cpp | copasi/copasi-dependencies | c01dd455c843522375c32c2989aa8675f59bb810 | [
"Unlicense"
] | 8 | 2017-05-30T16:58:39.000Z | 2022-02-22T16:51:34.000Z | src/libSBML/src/sbml/validator/constraints/CompartmentOutsideCycles.cpp | copasi/copasi-dependencies | c01dd455c843522375c32c2989aa8675f59bb810 | [
"Unlicense"
] | 7 | 2016-05-29T08:12:59.000Z | 2019-05-02T13:39:25.000Z | /**
* @cond doxygenLibsbmlInternal
*
* @file CompartmentOutsideCycles.cpp
* @brief Ensures no cycles exist via a Compartment's 'outside' attribute.
* @author Ben Bornstein
*
* <!--------------------------------------------------------------------------
* This file is part of libSBML. Please visit http:/... | 27.956284 | 80 | 0.654222 |
d5267776d7ddbb314b5aca590f788392546d2329 | 884 | hpp | C++ | Siv3D/include/Siv3D/Physics2D/P2BodyType.hpp | emadurandal/OpenSiv3D | 2c7a77526be7bb8669a223066210337d74bdc9c6 | [
"MIT"
] | 709 | 2016-03-19T07:55:58.000Z | 2022-03-31T08:02:22.000Z | Siv3D/include/Siv3D/Physics2D/P2BodyType.hpp | emadurandal/OpenSiv3D | 2c7a77526be7bb8669a223066210337d74bdc9c6 | [
"MIT"
] | 415 | 2017-05-21T05:05:02.000Z | 2022-03-29T16:08:27.000Z | Siv3D/include/Siv3D/Physics2D/P2BodyType.hpp | emadurandal/OpenSiv3D | 2c7a77526be7bb8669a223066210337d74bdc9c6 | [
"MIT"
] | 123 | 2016-03-19T12:47:08.000Z | 2022-03-25T03:47:51.000Z | //-----------------------------------------------
//
// This file is part of the Siv3D Engine.
//
// Copyright (c) 2008-2021 Ryo Suzuki
// Copyright (c) 2016-2021 OpenSiv3D Project
//
// Licensed under the MIT License.
//
//-----------------------------------------------
# pragma once
# include "../Common.hpp"
names... | 22.666667 | 65 | 0.631222 |
d527fabc2345d9850127221c934ccf808739c9d3 | 860 | cpp | C++ | Raspi backup/final/real_real_final/system_management.cpp | radii-dev/rpi3-self-driving-model-shuttle-bus | f3f050f517b33c09f0552d09fc5094d795226c75 | [
"MIT"
] | null | null | null | Raspi backup/final/real_real_final/system_management.cpp | radii-dev/rpi3-self-driving-model-shuttle-bus | f3f050f517b33c09f0552d09fc5094d795226c75 | [
"MIT"
] | null | null | null | Raspi backup/final/real_real_final/system_management.cpp | radii-dev/rpi3-self-driving-model-shuttle-bus | f3f050f517b33c09f0552d09fc5094d795226c75 | [
"MIT"
] | null | null | null | #include "system_management.h"
std::ofstream fileout("log");
System_resource::System_resource()
{
sysinfo(&memInfo);
totalVirtualMem = memInfo.totalram;
totalVirtualMem += memInfo.totalswap;
totalVirtualMem *= memInfo.mem_unit;
totalPhysMem = memInfo.totalram;
totalPhysMem *= memInfo.mem_unit;
}
uint64_t Syste... | 23.243243 | 56 | 0.790698 |