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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5110e7dcb11d6a211544dbca488947c8c99a01c1 | 1,565 | cpp | C++ | Algorithms/Easy/155.min-stack.cpp | jtcheng/leetcode | db58973894757789d060301b589735b5985fe102 | [
"MIT"
] | null | null | null | Algorithms/Easy/155.min-stack.cpp | jtcheng/leetcode | db58973894757789d060301b589735b5985fe102 | [
"MIT"
] | null | null | null | Algorithms/Easy/155.min-stack.cpp | jtcheng/leetcode | db58973894757789d060301b589735b5985fe102 | [
"MIT"
] | null | null | null | /*
* @lc app=leetcode id=155 lang=cpp
*
* [155] Min Stack
*
* https://leetcode.com/problems/min-stack/description/
*
* algorithms
* Easy (35.38%)
* Total Accepted: 269.9K
* Total Submissions: 756.8K
* Testcase Example: '["MinStack","push","push","push","getMin","pop","top","getMin"]\n[[],[-2],[0],[-3],[]... | 16.648936 | 119 | 0.557827 | jtcheng |
5114d062bfce4d6dea07ef750a0be0c1db15feeb | 27,066 | cpp | C++ | Engine/Plugins/Experimental/ControlRig/Source/ControlRig/Private/Rigs/HierarchicalRig.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | 1 | 2022-01-29T18:36:12.000Z | 2022-01-29T18:36:12.000Z | Engine/Plugins/Experimental/ControlRig/Source/ControlRig/Private/Rigs/HierarchicalRig.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | Engine/Plugins/Experimental/ControlRig/Source/ControlRig/Private/Rigs/HierarchicalRig.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#include "HierarchicalRig.h"
#include "Engine/SkeletalMesh.h"
#include "AnimationRuntime.h"
#include "AnimationCoreLibrary.h"
#include "Components/StaticMeshComponent.h"
#include "Components/SkeletalMeshComponent.h"
#define LOCTEXT_NAMESPACE "HierarchicalRi... | 29.292208 | 276 | 0.764649 | windystrife |
51150480081cae85b33c08a4b31f2dc9e9fcc218 | 25,801 | cpp | C++ | lib/vdf/LayeredGrid.cpp | yyr/vapor | cdebac81212ffa3f811064bbd7625ffa9089782e | [
"BSD-3-Clause"
] | null | null | null | lib/vdf/LayeredGrid.cpp | yyr/vapor | cdebac81212ffa3f811064bbd7625ffa9089782e | [
"BSD-3-Clause"
] | null | null | null | lib/vdf/LayeredGrid.cpp | yyr/vapor | cdebac81212ffa3f811064bbd7625ffa9089782e | [
"BSD-3-Clause"
] | null | null | null | #include <iostream>
#include <cassert>
#include <cmath>
#include <cfloat>
#include "vapor/LayeredGrid.h"
using namespace std;
using namespace VAPoR;
LayeredGrid::LayeredGrid(
const size_t bs[3],
const size_t min[3],
const size_t max[3],
const double extents[6],
const bool periodic[3],
float ** blks,
float ** c... | 23.476797 | 82 | 0.586218 | yyr |
5119450791c9c70e8f3501fa1f5c6ae74244ed2a | 738 | hpp | C++ | src/gui/hud/gui_ability.hpp | louiz/batajelo | 4d8edce8da9d3b17dbad68eb4881d7f6fee2f76e | [
"BSL-1.0",
"BSD-2-Clause",
"Zlib",
"MIT"
] | 7 | 2015-01-28T09:17:08.000Z | 2020-04-21T13:51:16.000Z | src/gui/hud/gui_ability.hpp | louiz/batajelo | 4d8edce8da9d3b17dbad68eb4881d7f6fee2f76e | [
"BSL-1.0",
"BSD-2-Clause",
"Zlib",
"MIT"
] | null | null | null | src/gui/hud/gui_ability.hpp | louiz/batajelo | 4d8edce8da9d3b17dbad68eb4881d7f6fee2f76e | [
"BSL-1.0",
"BSD-2-Clause",
"Zlib",
"MIT"
] | 1 | 2020-07-11T09:20:25.000Z | 2020-07-11T09:20:25.000Z | #ifndef GUI_ABILITY_HPP_INCLUDED
#define GUI_ABILITY_HPP_INCLUDED
/**
* Contains all the information about an ability, for the GUI part. For
* example the icone to use, the activate callback (it can execute the
* ability directly, or change the LeftClick structure, which only involves
* the GUI)
*/
#include <gui... | 23.806452 | 75 | 0.738482 | louiz |
511c4044a743e00aa56c998735284dfc1fd86f47 | 243 | hpp | C++ | include/mutex.hpp | oskarirauta/podman-ubus | fb12bea03ce172d517fd1543249c45bba17b2a45 | [
"MIT"
] | null | null | null | include/mutex.hpp | oskarirauta/podman-ubus | fb12bea03ce172d517fd1543249c45bba17b2a45 | [
"MIT"
] | null | null | null | include/mutex.hpp | oskarirauta/podman-ubus | fb12bea03ce172d517fd1543249c45bba17b2a45 | [
"MIT"
] | 1 | 2022-01-08T07:03:58.000Z | 2022-01-08T07:03:58.000Z | #pragma once
#include <mutex>
#include <thread>
typedef void (*die_handler_func)(int);
struct MutexStore {
public:
std::mutex podman, podman_sched, podman_sock;
MutexStore(die_handler_func die_handler);
};
extern MutexStore mutex;
| 13.5 | 47 | 0.748971 | oskarirauta |
511d7daa914d64fcc4ae8455aad714116a838029 | 246 | cpp | C++ | src/010 - Summation of primes.cpp | montyanderson/euler | ba07a13c8afaa61edf35987f2a4db34c89b5ad39 | [
"MIT"
] | 1 | 2016-03-16T17:08:54.000Z | 2016-03-16T17:08:54.000Z | src/010 - Summation of primes.cpp | montyanderson/euler | ba07a13c8afaa61edf35987f2a4db34c89b5ad39 | [
"MIT"
] | null | null | null | src/010 - Summation of primes.cpp | montyanderson/euler | ba07a13c8afaa61edf35987f2a4db34c89b5ad39 | [
"MIT"
] | null | null | null | #include <iostream>
#include <cmath>
#include "isPrime.hpp"
using namespace std;
int main() {
long int sum = 0;
for(int i = 2; i < 2000000; i++) {
if(isPrime(i) == true)
sum += i;
}
cout << sum << endl;
}
| 13.666667 | 38 | 0.50813 | montyanderson |
511f0d72292001e39395584e8374e6362a1995f3 | 3,520 | cpp | C++ | orca/gporca/libnaucrates/src/operators/CDXLScalarBitmapIndexProbe.cpp | vitessedata/gpdb.4.3.99.x | 9462aad5df1bf120a2a87456b1f9574712227da4 | [
"PostgreSQL",
"Apache-2.0"
] | 3 | 2017-12-10T16:41:21.000Z | 2020-07-08T12:59:12.000Z | orca/gporca/libnaucrates/src/operators/CDXLScalarBitmapIndexProbe.cpp | vitessedata/gpdb.4.3.99.x | 9462aad5df1bf120a2a87456b1f9574712227da4 | [
"PostgreSQL",
"Apache-2.0"
] | null | null | null | orca/gporca/libnaucrates/src/operators/CDXLScalarBitmapIndexProbe.cpp | vitessedata/gpdb.4.3.99.x | 9462aad5df1bf120a2a87456b1f9574712227da4 | [
"PostgreSQL",
"Apache-2.0"
] | 4 | 2017-12-10T16:41:35.000Z | 2020-11-28T12:20:30.000Z | //---------------------------------------------------------------------------
// Greenplum Database
// Copyright (C) 2014 Pivotal, Inc.
//
// @filename:
// CDXLScalarBitmapIndexProbe.cpp
//
// @doc:
// Class for representing DXL bitmap index probe operators
//
// @owner:
//
//
// @test:
//
//
//--------------------... | 25.507246 | 86 | 0.549432 | vitessedata |
511f68ab4c70fb1c6b2d997d70d5029a71166217 | 1,651 | cpp | C++ | native/libs/ui/HdrCapabilities.cpp | Keneral/aframeworks | af1d0010bfb88751837fb1afc355705bd8a9ad8b | [
"Unlicense"
] | null | null | null | native/libs/ui/HdrCapabilities.cpp | Keneral/aframeworks | af1d0010bfb88751837fb1afc355705bd8a9ad8b | [
"Unlicense"
] | null | null | null | native/libs/ui/HdrCapabilities.cpp | Keneral/aframeworks | af1d0010bfb88751837fb1afc355705bd8a9ad8b | [
"Unlicense"
] | null | null | null | /*
* Copyright 2016 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... | 27.516667 | 75 | 0.6808 | Keneral |
512308bd3bfb58307a904a5d872518cf11ac8f01 | 578 | cpp | C++ | codeforces/contests/round/655-div2/c.cpp | tysm/cpsols | 262212646203e516d1706edf962290de93762611 | [
"MIT"
] | 4 | 2020-10-05T19:24:10.000Z | 2021-07-15T00:45:43.000Z | codeforces/contests/round/655-div2/c.cpp | tysm/cpsols | 262212646203e516d1706edf962290de93762611 | [
"MIT"
] | null | null | null | codeforces/contests/round/655-div2/c.cpp | tysm/cpsols | 262212646203e516d1706edf962290de93762611 | [
"MIT"
] | null | null | null | #include <cpplib/stdinc.hpp>
int32_t main(){
desync();
int t;
cin >> t;
while(t--){
int n;
cin >> n;
vi arr(n);
int acc = 0, flag = 0;
for(int i=1; i<=n; ++i){
cin >> arr[i-1];
if(arr[i-1] == i)
flag = 0;
else i... | 19.266667 | 32 | 0.316609 | tysm |
5124d128b166defd1236b752cab620cdaef99725 | 2,969 | cpp | C++ | source/core/owt_base/internal/InternalClient.cpp | yfdandy/owt-server | 93b1721865907c6af94be4fdef8f191e59f345d2 | [
"Apache-2.0"
] | 890 | 2019-03-08T08:04:10.000Z | 2022-03-30T03:07:44.000Z | source/core/owt_base/internal/InternalClient.cpp | yfdandy/owt-server | 93b1721865907c6af94be4fdef8f191e59f345d2 | [
"Apache-2.0"
] | 583 | 2019-03-11T10:27:42.000Z | 2022-03-29T01:41:28.000Z | source/core/owt_base/internal/InternalClient.cpp | yfdandy/owt-server | 93b1721865907c6af94be4fdef8f191e59f345d2 | [
"Apache-2.0"
] | 385 | 2019-03-08T07:50:13.000Z | 2022-03-29T06:36:28.000Z | // Copyright (C) <2021> Intel Corporation
//
// SPDX-License-Identifier: Apache-2.0
#include "InternalClient.h"
#include "RawTransport.h"
namespace owt_base {
DEFINE_LOGGER(InternalClient, "owt.InternalClient");
InternalClient::InternalClient(
const std::string& streamId,
const std::string& protocol,
Li... | 25.376068 | 87 | 0.624453 | yfdandy |
5124fde61ab0ba9fb3cfaae95f0314ebb8feedfb | 10,699 | cpp | C++ | src/jet/volume_particle_emitter2.cpp | PavelBlend/fluid-engine-dev | 45b4bdbdb4c6d8c0beebc682180469198203b0ef | [
"MIT"
] | 1,355 | 2016-05-08T07:29:22.000Z | 2022-03-30T13:59:35.000Z | src/jet/volume_particle_emitter2.cpp | Taiyuan-Zhang/fluid-engine-dev | 45b4bdbdb4c6d8c0beebc682180469198203b0ef | [
"MIT"
] | 208 | 2016-05-25T19:47:27.000Z | 2022-01-17T04:18:29.000Z | src/jet/volume_particle_emitter2.cpp | Taiyuan-Zhang/fluid-engine-dev | 45b4bdbdb4c6d8c0beebc682180469198203b0ef | [
"MIT"
] | 218 | 2016-08-23T16:51:10.000Z | 2022-03-31T03:55:48.000Z | // Copyright (c) 2019 Doyub Kim
//
// I am making my contributions/submissions to this project solely in my
// personal capacity and am not conveying any rights to any intellectual
// property of any third parties.
#include <pch.h>
#include <jet/matrix2x2.h>
#include <jet/point_hash_grid_searcher2.h>
#include <jet/sa... | 31.937313 | 80 | 0.689036 | PavelBlend |
51271f737361182dec58f957ae2fe45c22770f4f | 188 | cpp | C++ | depends/work/build/i686-w64-mingw32/qt/5.9.7-f2560c1efa6/qtbase/tests/manual/qtabbar/tabbarform.cpp | GrinCash/Grinc-core | 1377979453ba84082f70f9c128be38e57b65a909 | [
"MIT"
] | null | null | null | depends/work/build/i686-w64-mingw32/qt/5.9.7-f2560c1efa6/qtbase/tests/manual/qtabbar/tabbarform.cpp | GrinCash/Grinc-core | 1377979453ba84082f70f9c128be38e57b65a909 | [
"MIT"
] | null | null | null | depends/work/build/i686-w64-mingw32/qt/5.9.7-f2560c1efa6/qtbase/tests/manual/qtabbar/tabbarform.cpp | GrinCash/Grinc-core | 1377979453ba84082f70f9c128be38e57b65a909 | [
"MIT"
] | null | null | null | #include "tabbarform.h"
TabBarForm::TabBarForm(QWidget *parent) :
QWidget(parent),
ui(new Ui::TabBarForm)
{
ui->setupUi(this);
}
TabBarForm::~TabBarForm()
{
delete ui;
}
| 13.428571 | 41 | 0.648936 | GrinCash |
5127aea9d1bba2efd60678830c1013b6cfbe718f | 8,199 | hpp | C++ | include/GlobalNamespace/ShowHideAnimationController.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | include/GlobalNamespace/ShowHideAnimationController.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | include/GlobalNamespace/ShowHideAnimationController.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "beatsaber-hook/shared/utils/typedefs.h"
#include "beatsaber-hook/shared/utils/byref.hpp"
// Including type: UnityEngine.MonoBehaviour
#... | 47.393064 | 248 | 0.731919 | RedBrumbler |
512eb0cb8c6ad7662d5123ae67ecd2e42d58b987 | 1,525 | cpp | C++ | src/cpp/MagmaWndTest/main.cpp | bhrnjica/MagmaSharp | 60d3ae4baa03a9db7cc9683f4a44ce864d742f26 | [
"MIT"
] | 2 | 2020-08-02T02:11:27.000Z | 2020-08-30T16:15:50.000Z | src/cpp/MagmaWndTest/main.cpp | bhrnjica/MagmaSharp | 60d3ae4baa03a9db7cc9683f4a44ce864d742f26 | [
"MIT"
] | null | null | null | src/cpp/MagmaWndTest/main.cpp | bhrnjica/MagmaSharp | 60d3ae4baa03a9db7cc9683f4a44ce864d742f26 | [
"MIT"
] | null | null | null | #include <iostream>
// includes, system
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <math.h>
#include "HelperTest.h"
#include "MagmaDevice.h"
#include "mbmagma.h"
using namespace MagmaBinding;
#include "GSVTests.h"
#include "SVDTests.h"
#include "LSSTests.h"
#include "EIGENTests.h"
#include "M... | 17.329545 | 31 | 0.756721 | bhrnjica |
512eea02b2150f4c75cdc9bc70f54ea5376c2147 | 5,252 | cpp | C++ | src/TicTacToeGame.cpp | That-Cool-Coder/sfml-tictactoe | af43fd32b70acd8e73b54a2feb074df93c36bc6d | [
"MIT"
] | null | null | null | src/TicTacToeGame.cpp | That-Cool-Coder/sfml-tictactoe | af43fd32b70acd8e73b54a2feb074df93c36bc6d | [
"MIT"
] | null | null | null | src/TicTacToeGame.cpp | That-Cool-Coder/sfml-tictactoe | af43fd32b70acd8e73b54a2feb074df93c36bc6d | [
"MIT"
] | null | null | null | #include "TicTacToeGame.hpp"
void TicTacToeGame::setup()
{
createBoard();
createText();
m_board.clear();
m_crntPlayer = CellValue::Cross; // todo: set this randomly
}
void TicTacToeGame::createText()
{
m_textEntities.clear();
m_headingText = std::make_shared<sf::Text>();
m_headingText... | 29.177778 | 89 | 0.609863 | That-Cool-Coder |
51318153f254555c64f9201de6ecb0142f915259 | 7,122 | cpp | C++ | DearPyGui/src/core/AppItems/mvAppItemState.cpp | htnminh/DearPyGui | bfbcb297f287295fae9766b21a53a99fbb0fe756 | [
"MIT"
] | null | null | null | DearPyGui/src/core/AppItems/mvAppItemState.cpp | htnminh/DearPyGui | bfbcb297f287295fae9766b21a53a99fbb0fe756 | [
"MIT"
] | 1 | 2021-08-16T02:39:32.000Z | 2021-08-16T02:39:32.000Z | DearPyGui/src/core/AppItems/mvAppItemState.cpp | Jah-On/DearPyGui | 0e4f5d05555f950670e01bb2a647fb8b0b9a106f | [
"MIT"
] | null | null | null | #include "mvAppItemState.h"
#include <imgui.h>
#include "mvAppItem.h"
#include "mvApp.h"
#include "mvPyObject.h"
namespace Marvel {
void mvAppItemState::reset()
{
_hovered = false;
_active = false;
_focused = false;
_leftclicked = false;
_rightclicked = false;
_... | 36.901554 | 172 | 0.659927 | htnminh |
5133bba43106ad19491cc409206c5b9064cfd136 | 5,366 | cpp | C++ | src/pi-src/util.cpp | 31337H4X0R/crab-tracker | c822a40010d172ba797b5de8c340931d0feea6e4 | [
"MIT"
] | 1 | 2019-07-31T01:32:17.000Z | 2019-07-31T01:32:17.000Z | src/pi-src/util.cpp | 31337H4X0R/crab-tracker | c822a40010d172ba797b5de8c340931d0feea6e4 | [
"MIT"
] | 47 | 2017-11-04T02:04:42.000Z | 2018-06-16T01:00:48.000Z | src/pi-src/util.cpp | 31337H4X0R/crab-tracker | c822a40010d172ba797b5de8c340931d0feea6e4 | [
"MIT"
] | 2 | 2018-06-10T21:58:49.000Z | 2019-06-18T17:21:03.000Z | /******************************************************************************
Helper methods, including configuration management.
Author: Noah Strong
Project: Crab Tracker
Created: 2018-02-19
******************************************************************************/
#include <stdint.h>
#include <stdio.h>
#inc... | 32.131737 | 80 | 0.549758 | 31337H4X0R |
51350ef7d52628847601f5a0ec6fa701d333df3a | 324 | hpp | C++ | include/log.hpp | langenhagen/barn-bookmark-manager | e7db7dba34e92c74ad445d088b57559dbba26f63 | [
"MIT"
] | null | null | null | include/log.hpp | langenhagen/barn-bookmark-manager | e7db7dba34e92c74ad445d088b57559dbba26f63 | [
"MIT"
] | null | null | null | include/log.hpp | langenhagen/barn-bookmark-manager | e7db7dba34e92c74ad445d088b57559dbba26f63 | [
"MIT"
] | null | null | null | /* Common logging functionality.
author: andreasl
*/
#pragma once
#include <ostream>
namespace barn {
namespace bbm {
/* Severity levels for logging.*/
enum Severity {
INFO,
WARN,
ERROR
};
/* Write a log message to console.*/
std::ostream& log(const Severity level);
} // namespace bbm
} // namespace b... | 13.5 | 40 | 0.675926 | langenhagen |
5135b5e0813ed68e19a88286b59accf0a2449e62 | 45,832 | cpp | C++ | NFIQ2/NFIQ2/NFIQ2Algorithm/src/wsq/util.cpp | mahizhvannan/PYNFIQ2 | 56eac2d780c9b5becd0ca600ffa6198d3a0115a7 | [
"MIT"
] | null | null | null | NFIQ2/NFIQ2/NFIQ2Algorithm/src/wsq/util.cpp | mahizhvannan/PYNFIQ2 | 56eac2d780c9b5becd0ca600ffa6198d3a0115a7 | [
"MIT"
] | null | null | null | NFIQ2/NFIQ2/NFIQ2Algorithm/src/wsq/util.cpp | mahizhvannan/PYNFIQ2 | 56eac2d780c9b5becd0ca600ffa6198d3a0115a7 | [
"MIT"
] | 1 | 2022-02-14T03:16:05.000Z | 2022-02-14T03:16:05.000Z | /*******************************************************************************
License:
This software and/or related materials was developed at the National Institute
of Standards and Technology (NIST) by employees of the Federal Government
in the course of their official duties. Pursuant to title 17 Section 105
of... | 30.595461 | 82 | 0.448202 | mahizhvannan |
51388507df9298375b670a75a0448f730e9b882a | 1,291 | hh | C++ | skysim/onnc-cimHW/lib/hardware/WordLineDriver.hh | ONNC/ONNC-CIM | dd15eae6b22b39dcd2bff179e14ad0eda40e4338 | [
"BSD-3-Clause"
] | 2 | 2021-07-05T02:26:11.000Z | 2022-01-11T10:37:20.000Z | skysim/onnc-cimHW/lib/hardware/WordLineDriver.hh | ONNC/ONNC-CIM | dd15eae6b22b39dcd2bff179e14ad0eda40e4338 | [
"BSD-3-Clause"
] | null | null | null | skysim/onnc-cimHW/lib/hardware/WordLineDriver.hh | ONNC/ONNC-CIM | dd15eae6b22b39dcd2bff179e14ad0eda40e4338 | [
"BSD-3-Clause"
] | 1 | 2022-01-11T10:39:01.000Z | 2022-01-11T10:39:01.000Z | //===- WordLineDriver.hh --------------------------------------------------===//
//
// The CIM Hardware Simulator Project
//
// See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
#pragma once
#include "types.hh"
#include "CrossBarArray.... | 33.102564 | 110 | 0.522076 | ONNC |
513a337994e1ff22130cb373421048bb31ed1ac5 | 7,518 | cpp | C++ | code_reading/oceanbase-master/src/sql/engine/px/exchange/ob_px_repart_transmit.cpp | wangcy6/weekly_read | 3a8837ee9cd957787ee1785e4066dd623e02e13a | [
"Apache-2.0"
] | null | null | null | code_reading/oceanbase-master/src/sql/engine/px/exchange/ob_px_repart_transmit.cpp | wangcy6/weekly_read | 3a8837ee9cd957787ee1785e4066dd623e02e13a | [
"Apache-2.0"
] | null | null | null | code_reading/oceanbase-master/src/sql/engine/px/exchange/ob_px_repart_transmit.cpp | wangcy6/weekly_read | 3a8837ee9cd957787ee1785e4066dd623e02e13a | [
"Apache-2.0"
] | 1 | 2020-10-18T12:59:31.000Z | 2020-10-18T12:59:31.000Z | /**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BAS... | 37.402985 | 119 | 0.686885 | wangcy6 |
513cc6e6a1fe14e275e9e87c97c261a4e2b9c562 | 15,216 | cpp | C++ | code/3rdParty/ogdf/src/ogdf/cluster/MaximumCPlanarSubgraph.cpp | turbanoff/qvge | 53508adadb4ca566c011b2b41d432030a5fa5fac | [
"MIT"
] | 3 | 2021-09-14T08:11:37.000Z | 2022-03-04T15:42:07.000Z | code/3rdParty/ogdf/src/ogdf/cluster/MaximumCPlanarSubgraph.cpp | turbanoff/qvge | 53508adadb4ca566c011b2b41d432030a5fa5fac | [
"MIT"
] | 2 | 2021-12-04T17:09:53.000Z | 2021-12-16T08:57:25.000Z | code/3rdParty/ogdf/src/ogdf/cluster/MaximumCPlanarSubgraph.cpp | turbanoff/qvge | 53508adadb4ca566c011b2b41d432030a5fa5fac | [
"MIT"
] | 2 | 2021-06-22T08:21:54.000Z | 2021-07-07T06:57:22.000Z | /** \file
* \brief Implementation of class MaximumCPlanarSubgraph
*
* \author Karsten Klein
*
* \par License:
* This file is part of the Open Graph Drawing Framework (OGDF).
*
* \par
* Copyright (C)<br>
* See README.md in the OGDF root directory for details.
*
* \par
* This program is free software; you ca... | 28.282528 | 133 | 0.642547 | turbanoff |
513da54bf06620d5fd47c5a679cbfdfeab902860 | 47,571 | cc | C++ | gui/schedule_list.cc | chris-nada/simutrans-extended | 71c0c4f78cb3170b1fa1c68d8baafa9a7269ef6f | [
"Artistic-1.0"
] | 38 | 2017-07-26T14:48:12.000Z | 2022-03-24T23:48:55.000Z | gui/schedule_list.cc | chris-nada/simutrans-extended | 71c0c4f78cb3170b1fa1c68d8baafa9a7269ef6f | [
"Artistic-1.0"
] | 74 | 2017-03-15T21:07:34.000Z | 2022-03-18T07:53:11.000Z | gui/schedule_list.cc | chris-nada/simutrans-extended | 71c0c4f78cb3170b1fa1c68d8baafa9a7269ef6f | [
"Artistic-1.0"
] | 43 | 2017-03-10T15:27:28.000Z | 2022-03-05T10:55:38.000Z | /*
* This file is part of the Simutrans-Extended project under the Artistic License.
* (see LICENSE.txt)
*/
#include <stdio.h>
#include <algorithm>
#include "messagebox.h"
#include "schedule_list.h"
#include "line_management_gui.h"
#include "components/gui_convoiinfo.h"
#include "components/gui_divider.h"
#include... | 35.580404 | 223 | 0.734817 | chris-nada |
514096aea2ce9eddf1faef3485127c8c1036afd6 | 10,698 | cc | C++ | chrome/browser/android/explore_sites/explore_sites_fetcher.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 | chrome/browser/android/explore_sites/explore_sites_fetcher.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 86 | 2015-10-21T13:02:42.000Z | 2022-03-14T07:50:50.000Z | chrome/browser/android/explore_sites/explore_sites_fetcher.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 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/android/explore_sites/explore_sites_fetcher.h"
#include <string>
#include <utility>
#include "base/bind.h"
#include "base/loggi... | 39.043796 | 80 | 0.697046 | zealoussnow |
51416c8e10df51850d6fb404a2ba6e0e0dff40c8 | 395 | cpp | C++ | engine/generators/settlements/sector/source/SectorFeature.cpp | sidav/shadow-of-the-wyrm | 747afdeebed885b1a4f7ab42f04f9f756afd3e52 | [
"MIT"
] | 60 | 2019-08-21T04:08:41.000Z | 2022-03-10T13:48:04.000Z | engine/generators/settlements/sector/source/SectorFeature.cpp | cleancoindev/shadow-of-the-wyrm | 51b23e98285ecb8336324bfd41ebf00f67b30389 | [
"MIT"
] | 3 | 2021-03-18T15:11:14.000Z | 2021-10-20T12:13:07.000Z | engine/generators/settlements/sector/source/SectorFeature.cpp | cleancoindev/shadow-of-the-wyrm | 51b23e98285ecb8336324bfd41ebf00f67b30389 | [
"MIT"
] | 8 | 2019-11-16T06:29:05.000Z | 2022-01-23T17:33:43.000Z | #include "SectorFeature.hpp"
#include "CoordUtils.hpp"
using namespace std;
bool SectorFeature::generate(MapPtr map, const Coordinate& start_coord, const Coordinate& end_coord)
{
bool generated = false;
if (map && CoordUtils::is_in_range(map->size(), start_coord, end_coord))
{
generated = genera... | 21.944444 | 101 | 0.703797 | sidav |
5143ffaee250fada2155680e07a710901a7e2add | 9,281 | cpp | C++ | interpreter/lexer.cpp | kmc-jp/icfpc-2020 | 5bff55fe16bc2fc79e74601c6cb18ee1466beaf8 | [
"MIT"
] | null | null | null | interpreter/lexer.cpp | kmc-jp/icfpc-2020 | 5bff55fe16bc2fc79e74601c6cb18ee1466beaf8 | [
"MIT"
] | null | null | null | interpreter/lexer.cpp | kmc-jp/icfpc-2020 | 5bff55fe16bc2fc79e74601c6cb18ee1466beaf8 | [
"MIT"
] | null | null | null | #include "lexer.hpp"
void skip_spaces(std::string const& in, int& pos) {
while(pos < (int)in.size() && in[pos] == ' ') ++pos;
}
void skip_spaces(std::vector<std::string> const& in, int& x) {
while(x < (int)in[0].size()) {
bool all_space = true;
for(int y = 0; y < (int)in.size(); ++y) ... | 38.35124 | 113 | 0.504579 | kmc-jp |
51462164b90de054864b36b9771f835aacfdc382 | 196 | hpp | C++ | src/fwd/sln.hpp | PiotrOstrow/eoserv | 73253dcc711368a94942b0cfab86f3d42b88b999 | [
"Zlib"
] | 21 | 2020-01-22T10:42:26.000Z | 2022-02-15T19:45:43.000Z | src/fwd/sln.hpp | eoserv/mainclone-eoserv | e18e87f169140b6c0da80b9d866f672e8f6dced5 | [
"Zlib"
] | 12 | 2019-12-10T21:47:57.000Z | 2020-11-06T06:01:52.000Z | src/fwd/sln.hpp | eoserv/mainclone-eoserv | e18e87f169140b6c0da80b9d866f672e8f6dced5 | [
"Zlib"
] | 11 | 2020-04-01T21:46:07.000Z | 2022-03-07T10:50:43.000Z |
/* $Id$
* EOSERV is released under the zlib license.
* See LICENSE.txt for more info.
*/
#ifndef FWD_SLN_HPP_INCLUDED
#define FWD_SLN_HPP_INCLUDED
class SLN;
#endif // FWD_SLN_HPP_INCLUDED
| 15.076923 | 45 | 0.744898 | PiotrOstrow |
5146f18a203e00e16d60dc73391b8ce36cadcdd8 | 3,606 | cpp | C++ | Project/zoolib/ValPred/Expr_Bool_ValPred.cpp | ElectricMagic/zoolib_cxx | cb3ccfde931b3989cd420fa093153204a7899805 | [
"MIT"
] | 13 | 2015-01-28T21:05:09.000Z | 2021-11-03T22:21:11.000Z | Project/zoolib/ValPred/Expr_Bool_ValPred.cpp | ElectricMagic/zoolib_cxx | cb3ccfde931b3989cd420fa093153204a7899805 | [
"MIT"
] | null | null | null | Project/zoolib/ValPred/Expr_Bool_ValPred.cpp | ElectricMagic/zoolib_cxx | cb3ccfde931b3989cd420fa093153204a7899805 | [
"MIT"
] | 4 | 2018-11-16T08:33:33.000Z | 2021-12-11T19:40:46.000Z | // Copyright (c) 2011 Andrew Green. MIT License. http://www.zoolib.org
#include "zoolib/ValPred/Expr_Bool_ValPred.h"
namespace ZooLib {
// =================================================================================================
#pragma mark - Expr_Bool_ValPred
Expr_Bool_ValPred::Expr_Bool_ValPred(const Val... | 29.801653 | 100 | 0.691625 | ElectricMagic |
514786e45bfa78af864d4f97ff08ceae21f9fbcd | 2,542 | cpp | C++ | lightOJ/loj1123.cpp | partho222/programming | 98a87b6a04f39c343125cf5f0dd85e0f1c37d56c | [
"BSD-2-Clause"
] | null | null | null | lightOJ/loj1123.cpp | partho222/programming | 98a87b6a04f39c343125cf5f0dd85e0f1c37d56c | [
"BSD-2-Clause"
] | null | null | null | lightOJ/loj1123.cpp | partho222/programming | 98a87b6a04f39c343125cf5f0dd85e0f1c37d56c | [
"BSD-2-Clause"
] | null | null | null | /* Tariq ahmed khan - Daffodil */
#include <bits/stdc++.h>
#define _ ios_base::sync_with_stdio(0);cin.tie(0); // I/O optimization
#define pi 2*acos(0.0)
#define scan(x) scanf("%d",&x)
#define sf scanf
#define pf printf
#define pb push_back
#define memoclr(n,x) memset(n,x,sizeof(n) )
#define INF 1 << 30
typedef lo... | 23.537037 | 120 | 0.434304 | partho222 |
5147b6b5966663e3288f8cec47347c937a866519 | 954 | cpp | C++ | The_Eye/src/Biquad_Filter.cpp | michprev/drone | 51c659cdd4e1d50446a563bb11e800defda9a298 | [
"MIT"
] | 2 | 2017-06-03T01:07:16.000Z | 2017-07-14T17:49:16.000Z | The_Eye/src/Biquad_Filter.cpp | michprev/drone | 51c659cdd4e1d50446a563bb11e800defda9a298 | [
"MIT"
] | 5 | 2017-04-24T20:29:04.000Z | 2017-06-26T17:40:53.000Z | The_Eye/src/Biquad_Filter.cpp | michprev/drone | 51c659cdd4e1d50446a563bb11e800defda9a298 | [
"MIT"
] | null | null | null | /*
* Biquad_Filter.cpp
*
* Created on: 24. 6. 2017
* Author: michp
*/
#include <Biquad_Filter.h>
namespace flyhero {
Biquad_Filter::Biquad_Filter(Filter_Type type, float sample_frequency, float cut_frequency) {
double K = std::tan(this->PI * cut_frequency / sample_frequency);
double Q = 1.0... | 20.73913 | 94 | 0.524109 | michprev |
514ca2cb3acec8c2b0b53fb1c22ade80fbb6b6f6 | 17,331 | hpp | C++ | GetOrientation/Vector2.hpp | LiangJy123/GetOrientation | b7ced089676847b986b5c16718ec847bbb3fd223 | [
"MIT"
] | 71 | 2020-05-28T07:19:39.000Z | 2022-02-14T02:48:01.000Z | GetOrientation/Vector2.hpp | LiangJy123/GetOrientation | b7ced089676847b986b5c16718ec847bbb3fd223 | [
"MIT"
] | 4 | 2021-02-20T13:49:53.000Z | 2022-03-24T16:39:08.000Z | GetOrientation/Vector2.hpp | LiangJy123/GetOrientation | b7ced089676847b986b5c16718ec847bbb3fd223 | [
"MIT"
] | 9 | 2017-11-22T01:25:32.000Z | 2021-12-25T11:28:34.000Z | /**
* ============================================================================
* MIT License
*
* Copyright (c) 2016 Eric Phillips
*
* 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 So... | 30.620141 | 80 | 0.63724 | LiangJy123 |
514e28037e08f2ff0ce001d3ef6a78cef42b8e14 | 6,419 | cpp | C++ | glasscore/tests/picklist_unittest.cpp | jpatton-USGS/neic-glass3 | 52ab2eabd5d5d97c9d74f44c462aec7e88e51899 | [
"CC0-1.0"
] | 9 | 2019-02-18T09:08:43.000Z | 2021-08-25T13:59:15.000Z | glasscore/tests/picklist_unittest.cpp | jpatton-USGS/neic-glass3 | 52ab2eabd5d5d97c9d74f44c462aec7e88e51899 | [
"CC0-1.0"
] | 65 | 2017-12-06T16:01:11.000Z | 2021-06-10T15:24:23.000Z | glasscore/tests/picklist_unittest.cpp | jpatton-USGS/neic-glass3 | 52ab2eabd5d5d97c9d74f44c462aec7e88e51899 | [
"CC0-1.0"
] | 7 | 2017-12-04T20:21:28.000Z | 2021-12-01T15:59:40.000Z | #include <gtest/gtest.h>
#include <memory>
#include <string>
#include <logger.h>
#include "Pick.h"
#include "PickList.h"
#include "Site.h"
#include "SiteList.h"
#define SITEJSON "{\"Type\":\"StationInfo\",\"Elevation\":2326.000000,\"Latitude\":45.822170,\"Longitude\":-112.451000,\"Site\":{\"Station\":\"LRM\",\"Chann... | 51.766129 | 299 | 0.664901 | jpatton-USGS |
515051bf441f183564bcfd34c6049dff2b78431e | 17,177 | cpp | C++ | Development/External/wxWindows_2.4.0/contrib/samples/ogl/studio/doc.cpp | addstone/unrealengine3 | 4579d360dfd52b12493292120b27bb430f978fc8 | [
"FSFAP"
] | 37 | 2020-05-22T18:18:47.000Z | 2022-03-19T06:51:54.000Z | Development/External/wxWindows_2.4.0/contrib/samples/ogl/studio/doc.cpp | AdanosGotoman/unrealengine3 | 4579d360dfd52b12493292120b27bb430f978fc8 | [
"FSFAP"
] | null | null | null | Development/External/wxWindows_2.4.0/contrib/samples/ogl/studio/doc.cpp | AdanosGotoman/unrealengine3 | 4579d360dfd52b12493292120b27bb430f978fc8 | [
"FSFAP"
] | 27 | 2020-05-17T01:03:30.000Z | 2022-03-06T19:10:14.000Z | /////////////////////////////////////////////////////////////////////////////
// Name: doc.cpp
// Purpose: Implements document functionality
// Author: Julian Smart
// Modified by:
// Created: 12/07/98
// RCS-ID: $Id: doc.cpp,v 1.2 2001/10/30 13:28:45 GT Exp $
// Copyright: (c) Julian Smart
/... | 28.676127 | 108 | 0.611224 | addstone |
51525ce67259d341ba2805b5e45f1d6092f43b46 | 35,486 | cpp | C++ | source/bundles/index/IndexTaskService.cpp | izenecloud/sf1r-lite | 8de9aa83c38c9cd05a80b216579552e89609f136 | [
"Apache-2.0"
] | 77 | 2015-02-12T20:59:20.000Z | 2022-03-05T18:40:49.000Z | source/bundles/index/IndexTaskService.cpp | fytzzh/sf1r-lite | 8de9aa83c38c9cd05a80b216579552e89609f136 | [
"Apache-2.0"
] | 1 | 2017-04-28T08:55:47.000Z | 2017-07-10T10:10:53.000Z | source/bundles/index/IndexTaskService.cpp | fytzzh/sf1r-lite | 8de9aa83c38c9cd05a80b216579552e89609f136 | [
"Apache-2.0"
] | 33 | 2015-01-05T03:03:05.000Z | 2022-02-06T04:22:46.000Z | #include "IndexTaskService.h"
#include <common/JobScheduler.h>
#include <aggregator-manager/IndexWorker.h>
#include <node-manager/NodeManagerBase.h>
#include <node-manager/MasterManagerBase.h>
#include <node-manager/sharding/ScdSharder.h>
#include <node-manager/sharding/ScdDispatcher.h>
#include <node-manager/... | 37.158115 | 154 | 0.620526 | izenecloud |
515437bc433e9c841957d5e61e63a18afde2dd41 | 2,903 | cc | C++ | framework/memory/memory_manager.cc | ans-hub/gdm_framework | 4218bb658d542df2c0568c4d3aac813cd1f18e1b | [
"MIT"
] | 1 | 2020-12-30T23:50:01.000Z | 2020-12-30T23:50:01.000Z | framework/memory/memory_manager.cc | ans-hub/gdm_framework | 4218bb658d542df2c0568c4d3aac813cd1f18e1b | [
"MIT"
] | null | null | null | framework/memory/memory_manager.cc | ans-hub/gdm_framework | 4218bb658d542df2c0568c4d3aac813cd1f18e1b | [
"MIT"
] | null | null | null | // *************************************************************
// File: memory_manager.cc
// Author: Novoselov Anton @ 2018
// URL: https://github.com/ans-hub/gdm_framework
// *************************************************************
#include "memory_manager.h"
#include <memory/memory_tracker.h>
#includ... | 27.647619 | 106 | 0.704099 | ans-hub |
5154c545d113704b907231f66fae21a48063d0ce | 6,134 | cpp | C++ | benchmarks/src/cuda/parboil/benchmarks/mri-gridding/src/opencl_base/sort.cpp | abca3210/gpgpu-sim_simulations | bf7eaf6e49bf357e0cc2ecfe7e0ff446d88e2691 | [
"BSD-2-Clause"
] | 28 | 2017-09-06T21:12:53.000Z | 2022-02-16T01:01:55.000Z | benchmarks/src/cuda/parboil/benchmarks/mri-gridding/src/opencl_base/sort.cpp | abca3210/gpgpu-sim_simulations | bf7eaf6e49bf357e0cc2ecfe7e0ff446d88e2691 | [
"BSD-2-Clause"
] | 1 | 2019-10-02T13:56:24.000Z | 2019-10-02T13:56:24.000Z | benchmarks/src/cuda/parboil/benchmarks/mri-gridding/src/opencl_base/sort.cpp | abca3210/gpgpu-sim_simulations | bf7eaf6e49bf357e0cc2ecfe7e0ff446d88e2691 | [
"BSD-2-Clause"
] | 34 | 2017-12-14T01:06:58.000Z | 2022-02-14T09:40:35.000Z | /***************************************************************************
*
* (C) Copyright 2010 The Board of Trustees of the
* University of Illinois
* All Rights Reserved
*
***************************************************************************/
... | 40.622517 | 244 | 0.66971 | abca3210 |
51557d33621fe7cfed967ce3a7394e8251002639 | 3,118 | hpp | C++ | KFPlugin/KFDeployServer/KFDeployServerModule.hpp | 282951387/KFrame | 5d6e953f7cc312321c36632715259394ca67144c | [
"Apache-2.0"
] | 1 | 2021-04-26T09:31:32.000Z | 2021-04-26T09:31:32.000Z | KFPlugin/KFDeployServer/KFDeployServerModule.hpp | 282951387/KFrame | 5d6e953f7cc312321c36632715259394ca67144c | [
"Apache-2.0"
] | null | null | null | KFPlugin/KFDeployServer/KFDeployServerModule.hpp | 282951387/KFrame | 5d6e953f7cc312321c36632715259394ca67144c | [
"Apache-2.0"
] | null | null | null | #ifndef __KF_DEPLOY_SERVER_MODULE_H__
#define __KF_DEPLOY_SERVER_MODULE_H__
/************************************************************************
// @Module : 部署Server
// @Author : __凌_痕__
// @QQ : 7969936
// @Mail : lori227@qq.com
// @Date : 2018-7-... | 23.801527 | 78 | 0.570558 | 282951387 |
5156bd17cb03baca910c1161afe5ffce9114d280 | 17,113 | cpp | C++ | src/ply_io.cpp | janzill/displaz | c23b2e8202ffb6831fe6fb63b91a590b01a541aa | [
"BSD-3-Clause"
] | null | null | null | src/ply_io.cpp | janzill/displaz | c23b2e8202ffb6831fe6fb63b91a590b01a541aa | [
"BSD-3-Clause"
] | null | null | null | src/ply_io.cpp | janzill/displaz | c23b2e8202ffb6831fe6fb63b91a590b01a541aa | [
"BSD-3-Clause"
] | 1 | 2021-03-05T09:33:21.000Z | 2021-03-05T09:33:21.000Z | // Copyright 2015, Christopher J. Foster and the other displaz contributors.
// Use of this code is governed by the BSD-style license found in LICENSE.txt
#include "ply_io.h"
#include <cstdint>
#include "QtLogger.h"
//------------------------------------------------------------------------------
// Utilities for in... | 38.028889 | 145 | 0.566412 | janzill |
51583b19e10bf60abece9d5844384f0ea560fc86 | 21,230 | cxx | C++ | PWGLF/NUCLEX/Exotica/LambdaNN/AliAnalysisTaskLNNntuple.cxx | maroozm/AliPhysics | 22ec256928cfdf8f800e05bfc1a6e124d90b6eaf | [
"BSD-3-Clause"
] | 114 | 2017-03-03T09:12:23.000Z | 2022-03-03T20:29:42.000Z | PWGLF/NUCLEX/Exotica/LambdaNN/AliAnalysisTaskLNNntuple.cxx | maroozm/AliPhysics | 22ec256928cfdf8f800e05bfc1a6e124d90b6eaf | [
"BSD-3-Clause"
] | 19,637 | 2017-01-16T12:34:41.000Z | 2022-03-31T22:02:40.000Z | PWGLF/NUCLEX/Exotica/LambdaNN/AliAnalysisTaskLNNntuple.cxx | maroozm/AliPhysics | 22ec256928cfdf8f800e05bfc1a6e124d90b6eaf | [
"BSD-3-Clause"
] | 1,021 | 2016-07-14T22:41:16.000Z | 2022-03-31T05:15:51.000Z | /**************************************************************************
* Contributors are not mentioned at all. *
* *
* Permission to use, copy, modify and distribute this software and its *
* documentation... | 34.746318 | 314 | 0.652803 | maroozm |
51584e7bcb46e295884dd77708cf1067703d0f21 | 1,081 | cpp | C++ | A2OJ/B/025.Vasya and Wrestling.cpp | XitizVerma/Data-Structures-and-Algorithms-Advanced | 610225eeb7e0b4ade229ec86355901ad1ca38784 | [
"MIT"
] | null | null | null | A2OJ/B/025.Vasya and Wrestling.cpp | XitizVerma/Data-Structures-and-Algorithms-Advanced | 610225eeb7e0b4ade229ec86355901ad1ca38784 | [
"MIT"
] | null | null | null | A2OJ/B/025.Vasya and Wrestling.cpp | XitizVerma/Data-Structures-and-Algorithms-Advanced | 610225eeb7e0b4ade229ec86355901ad1ca38784 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#define ll long long
#define fast ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL)
using namespace std;
set<ll> usinversal;
ll ans = 0;
ll aa = 0;
int main()
{
fast;
ll n;
cin >> n;
ll sum1 = 0, sum2= 0;
vector<ll> a1, a2;
bool l;
while (n--)
... | 16.630769 | 76 | 0.345976 | XitizVerma |
5158ad2fd453e38221b065d2a78afeee2118edde | 8,081 | cpp | C++ | tests/ktx/src/KtxTests.cpp | Darlingnotin/Antisocial_VR | f1debafb784ed5a63a40fe9b80790fbaccfedfce | [
"Apache-2.0"
] | 272 | 2021-01-07T03:06:08.000Z | 2022-03-25T03:54:07.000Z | tests/ktx/src/KtxTests.cpp | Darlingnotin/Antisocial_VR | f1debafb784ed5a63a40fe9b80790fbaccfedfce | [
"Apache-2.0"
] | 1,021 | 2020-12-12T02:33:32.000Z | 2022-03-31T23:36:37.000Z | tests/ktx/src/KtxTests.cpp | Darlingnotin/Antisocial_VR | f1debafb784ed5a63a40fe9b80790fbaccfedfce | [
"Apache-2.0"
] | 77 | 2020-12-15T06:59:34.000Z | 2022-03-23T22:18:04.000Z | //
// Created by Bradley Austin Davis on 2016/07/01
// Copyright 2014 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
#include "KtxTests.h"
#include <mutex>
#include <QtTest/QtTest>
#include <... | 40.60804 | 123 | 0.64497 | Darlingnotin |
5158e6cfeebf75aa4a17e480bfc14a894b96f420 | 118 | cpp | C++ | project567/src/component468/cpp/lib8.cpp | gradle/perf-native-large | af00fd258fbe9c7d274f386e46847fe12062cc71 | [
"Apache-2.0"
] | 2 | 2016-11-23T17:25:24.000Z | 2016-11-23T17:25:27.000Z | project567/src/component468/cpp/lib8.cpp | gradle/perf-native-large | af00fd258fbe9c7d274f386e46847fe12062cc71 | [
"Apache-2.0"
] | 15 | 2016-09-15T03:19:32.000Z | 2016-09-17T09:15:32.000Z | project567/src/component468/cpp/lib8.cpp | gradle/perf-native-large | af00fd258fbe9c7d274f386e46847fe12062cc71 | [
"Apache-2.0"
] | 2 | 2019-11-09T16:26:55.000Z | 2021-01-13T10:51:09.000Z | #include <stdio.h>
#include <component468/lib1.h>
int component468_8 () {
printf("Hello world!\n");
return 0;
}
| 13.111111 | 30 | 0.661017 | gradle |
515af9a070aa948b0cf524f3d3db3453891690c6 | 2,795 | cpp | C++ | libraries/networking/src/HMACAuth.cpp | Darlingnotin/Antisocial_VR | f1debafb784ed5a63a40fe9b80790fbaccfedfce | [
"Apache-2.0"
] | 272 | 2021-01-07T03:06:08.000Z | 2022-03-25T03:54:07.000Z | libraries/networking/src/HMACAuth.cpp | Darlingnotin/Antisocial_VR | f1debafb784ed5a63a40fe9b80790fbaccfedfce | [
"Apache-2.0"
] | 1,021 | 2020-12-12T02:33:32.000Z | 2022-03-31T23:36:37.000Z | libraries/networking/src/HMACAuth.cpp | Darlingnotin/Antisocial_VR | f1debafb784ed5a63a40fe9b80790fbaccfedfce | [
"Apache-2.0"
] | 77 | 2020-12-15T06:59:34.000Z | 2022-03-23T22:18:04.000Z | //
// HMACAuth.cpp
// libraries/networking/src
//
// Created by Simon Walton on 3/19/2018.
// Copyright 2018 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
#include "HMACAuth.h"
#include <ope... | 23.686441 | 99 | 0.667621 | Darlingnotin |
515bdedef961afeb3573601aa52e151ec83104d1 | 706 | cpp | C++ | server/Common/Packets/GCStallError.cpp | viticm/web-pap | 7c9b1f49d9ba8d8e40f8fddae829c2e414ccfeca | [
"BSD-3-Clause"
] | 3 | 2018-06-19T21:37:38.000Z | 2021-07-31T21:51:40.000Z | server/Common/Packets/GCStallError.cpp | viticm/web-pap | 7c9b1f49d9ba8d8e40f8fddae829c2e414ccfeca | [
"BSD-3-Clause"
] | null | null | null | server/Common/Packets/GCStallError.cpp | viticm/web-pap | 7c9b1f49d9ba8d8e40f8fddae829c2e414ccfeca | [
"BSD-3-Clause"
] | 13 | 2015-01-30T17:45:06.000Z | 2022-01-06T02:29:34.000Z | #include "stdafx.h"
// GCStallError.cpp
//
/////////////////////////////////////////////////////
#include "GCStallError.h"
BOOL GCStallError::Read( SocketInputStream& iStream )
{
__ENTER_FUNCTION
iStream.Read( (CHAR*)(&m_ID), sizeof(BYTE));
return TRUE ;
__LEAVE_FUNCTION
return FALSE ;
}... | 16.045455 | 62 | 0.610482 | viticm |
515c0f991d826f7014190d628854a375aba1a70d | 1,624 | cpp | C++ | audio_editor_core/audio_editor_core/paste_board/ae_pasteboard_types.cpp | objective-audio/audio_editor | 649f74cdca3d7db3d618922a345ea158a0c03a1d | [
"MIT"
] | null | null | null | audio_editor_core/audio_editor_core/paste_board/ae_pasteboard_types.cpp | objective-audio/audio_editor | 649f74cdca3d7db3d618922a345ea158a0c03a1d | [
"MIT"
] | null | null | null | audio_editor_core/audio_editor_core/paste_board/ae_pasteboard_types.cpp | objective-audio/audio_editor | 649f74cdca3d7db3d618922a345ea158a0c03a1d | [
"MIT"
] | null | null | null | //
// ae_pasteboard_types.cpp
//
#include "ae_pasteboard_types.h"
#include <audio_editor_core/ae_pasteboard_constants.h>
#include <audio_editor_core/ae_pasteboard_utils.h>
using namespace yas;
using namespace yas::ae;
using namespace yas::ae::pasteboard_constants;
std::string pasting_file_module::data() const {
... | 38.666667 | 117 | 0.692118 | objective-audio |
515fdcb124524d54694735ebf2de3286716ca302 | 920 | cpp | C++ | Actor/Characters/Enemy/E4/State/StateRoot_EnemyE4.cpp | Bornsoul/Revenger_JoyContinue | 599716970ca87a493bf3a959b36de0b330b318f1 | [
"MIT"
] | null | null | null | Actor/Characters/Enemy/E4/State/StateRoot_EnemyE4.cpp | Bornsoul/Revenger_JoyContinue | 599716970ca87a493bf3a959b36de0b330b318f1 | [
"MIT"
] | null | null | null | Actor/Characters/Enemy/E4/State/StateRoot_EnemyE4.cpp | Bornsoul/Revenger_JoyContinue | 599716970ca87a493bf3a959b36de0b330b318f1 | [
"MIT"
] | null | null | null | // Fill out your copyright notice in the Description page of Project Settings.
#include "StateRoot_EnemyE4.h"
#include "StateMng_EnemyE4.h"
UStateRoot_EnemyE4::UStateRoot_EnemyE4()
{
}
UStateRoot_EnemyE4::~UStateRoot_EnemyE4()
{
}
void UStateRoot_EnemyE4::Init(class UStateMng_GC* pMng)
{
Super::Init(pMng);
m_pS... | 16.727273 | 78 | 0.755435 | Bornsoul |
51637f2c62188dae57e1f0a21870117260bcf1c9 | 813 | hpp | C++ | WorldLoader/Include/WorldDataTags.hpp | jordanlittlefair/Foundation | ab737b933ea5bbe2be76133ed78c8e882f072fd0 | [
"BSL-1.0"
] | null | null | null | WorldLoader/Include/WorldDataTags.hpp | jordanlittlefair/Foundation | ab737b933ea5bbe2be76133ed78c8e882f072fd0 | [
"BSL-1.0"
] | null | null | null | WorldLoader/Include/WorldDataTags.hpp | jordanlittlefair/Foundation | ab737b933ea5bbe2be76133ed78c8e882f072fd0 | [
"BSL-1.0"
] | null | null | null | #pragma once
#ifndef _WORLDLOADER_WORLDDATATAGS_HPP_
#define _WORLDLOADER_WORLDDATATAGS_HPP_
/*
Define the tags which make up the entities in an xml world file.
*/
#define WORLD_TAG "World"
#define ASSETS_TAG "Assets"
#define ENTITIES_TAG "Entities"
#define ENTITY_TAG "Entity"
#define NAME_TAG "Na... | 15.339623 | 66 | 0.597786 | jordanlittlefair |
5164f4efc116badb10d2b6ddc9de96185a4dd22c | 966 | cpp | C++ | lab5ex6.cpp | nuriyevanar0/cpp-first-sem-labs | 6811b4339b9781f01d21ab0224a3ddf4ecf6a7a7 | [
"MIT"
] | null | null | null | lab5ex6.cpp | nuriyevanar0/cpp-first-sem-labs | 6811b4339b9781f01d21ab0224a3ddf4ecf6a7a7 | [
"MIT"
] | null | null | null | lab5ex6.cpp | nuriyevanar0/cpp-first-sem-labs | 6811b4339b9781f01d21ab0224a3ddf4ecf6a7a7 | [
"MIT"
] | null | null | null | #include <iostream>
#include <stdlib.h>
#include <time.h>
using namespace std;
/*
Laboratory 5 Ex 6
Write a program to generate two-dimentional array with random numbers and find maximum element in the whole array.
Print array and maximum element.
*/
int main() {
srand (time(NULL));
int array1[3][... | 19.714286 | 116 | 0.546584 | nuriyevanar0 |
51654a8f49d8be92abdbac129a1f8b07f8e8422a | 22,383 | cpp | C++ | external/modeling/tri_integrator.cpp | raphaelsulzer/mesh-tools | 73150bec58813e2b9b750205807002a1c3f18884 | [
"MIT"
] | 1 | 2022-02-24T03:39:05.000Z | 2022-02-24T03:39:05.000Z | external/modeling/tri_integrator.cpp | raphaelsulzer/mesh-tools | 73150bec58813e2b9b750205807002a1c3f18884 | [
"MIT"
] | 1 | 2022-02-24T06:59:59.000Z | 2022-03-04T01:25:09.000Z | external/modeling/tri_integrator.cpp | raphaelsulzer/mesh-tools | 73150bec58813e2b9b750205807002a1c3f18884 | [
"MIT"
] | null | null | null | /*
Copyright (c) 2010, Matt Berger
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 conditions and the following di... | 35.698565 | 141 | 0.705669 | raphaelsulzer |
5165566847d1911f4bc07185ae61e0d32f02d691 | 5,813 | cc | C++ | vm/message_loop_epoll.cc | Outcue/primordialsoup | 056dd858b011c2f3bc71b9f15240061d1d0760ad | [
"Apache-2.0"
] | 35 | 2016-05-20T03:59:10.000Z | 2022-02-21T09:59:14.000Z | vm/message_loop_epoll.cc | Outcue/primordialsoup | 056dd858b011c2f3bc71b9f15240061d1d0760ad | [
"Apache-2.0"
] | 7 | 2020-11-22T04:53:24.000Z | 2021-04-18T02:14:09.000Z | vm/message_loop_epoll.cc | Outcue/primordialsoup | 056dd858b011c2f3bc71b9f15240061d1d0760ad | [
"Apache-2.0"
] | 4 | 2017-02-15T04:26:37.000Z | 2020-11-21T02:29:23.000Z | // Copyright (c) 2018, the Newspeak project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
#include "vm/globals.h" // NOLINT
#if defined(OS_ANDROID) || defined(OS_LINUX)
#include "vm/messag... | 25.384279 | 80 | 0.62429 | Outcue |
5169c78622a0ad2debdf3bee0f2f1700c8106601 | 1,232 | cpp | C++ | Round-Robin/Frame.cpp | MichelDequick/mbed-round-robin | dbdcf88ac30be2e64c2de286b99f3bebe8f3a2e1 | [
"Apache-2.0"
] | null | null | null | Round-Robin/Frame.cpp | MichelDequick/mbed-round-robin | dbdcf88ac30be2e64c2de286b99f3bebe8f3a2e1 | [
"Apache-2.0"
] | null | null | null | Round-Robin/Frame.cpp | MichelDequick/mbed-round-robin | dbdcf88ac30be2e64c2de286b99f3bebe8f3a2e1 | [
"Apache-2.0"
] | null | null | null | #include "Frame.h"
#include "mbed.h"
Frame::Frame(char * data)
{
this->data = data;
memset(id, 0x00, 32);
}
Frame::~Frame(void)
{
}
void Frame::decode(void)
{
len = data[2];
idd = data[3];
tmp = (data[4] << 8) + data[5];;
pwm = data[6];
tun = data[7];
for(int i = 8; i < (strlen(data... | 16.648649 | 49 | 0.474026 | MichelDequick |
51722affefe3e10e1e4ff6656bfad18534cffa69 | 18,567 | cxx | C++ | Modules/Registration/Common/test/itkLandmarkBasedTransformInitializerTest.cxx | lassoan/ITK | 4634cb0490934f055065230e3db64df8f546b72a | [
"Apache-2.0"
] | 2 | 2019-09-15T10:17:06.000Z | 2019-09-15T10:19:06.000Z | Modules/Registration/Common/test/itkLandmarkBasedTransformInitializerTest.cxx | lassoan/ITK | 4634cb0490934f055065230e3db64df8f546b72a | [
"Apache-2.0"
] | null | null | null | Modules/Registration/Common/test/itkLandmarkBasedTransformInitializerTest.cxx | lassoan/ITK | 4634cb0490934f055065230e3db64df8f546b72a | [
"Apache-2.0"
] | 1 | 2021-09-23T08:33:37.000Z | 2021-09-23T08:33:37.000Z | /*=========================================================================
*
* Copyright Insight Software Consortium
*
* 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
*
* h... | 38.440994 | 119 | 0.694458 | lassoan |
5174d524b9373318061ff23bb5bc8dc555f6ea5e | 217 | cpp | C++ | chapter-4/4.8.cpp | zero4drift/Cpp-Primer-5th-Exercises | d3d0f0d228e8c2c5a3b3fe1fd03ce34e0894e93f | [
"MIT"
] | null | null | null | chapter-4/4.8.cpp | zero4drift/Cpp-Primer-5th-Exercises | d3d0f0d228e8c2c5a3b3fe1fd03ce34e0894e93f | [
"MIT"
] | null | null | null | chapter-4/4.8.cpp | zero4drift/Cpp-Primer-5th-Exercises | d3d0f0d228e8c2c5a3b3fe1fd03ce34e0894e93f | [
"MIT"
] | null | null | null | // && operator: if the left operand is flase, there is no need to compute the right operand
// || operator: if the left operand is true, there is no need to compute the right operand
// == operator: there is no order
| 54.25 | 91 | 0.723502 | zero4drift |
5176f73ee52bf7a3246e4672abf3bd45bbd3d757 | 1,560 | cpp | C++ | cpp/beginner_contest_147/d.cpp | kitoko552/atcoder | a1e18b6d855baefb90ae6df010bcf1ffa8ff5562 | [
"MIT"
] | 1 | 2020-03-31T05:53:38.000Z | 2020-03-31T05:53:38.000Z | cpp/beginner_contest_147/d.cpp | kitoko552/atcoder | a1e18b6d855baefb90ae6df010bcf1ffa8ff5562 | [
"MIT"
] | null | null | null | cpp/beginner_contest_147/d.cpp | kitoko552/atcoder | a1e18b6d855baefb90ae6df010bcf1ffa8ff5562 | [
"MIT"
] | null | null | null | #include<iostream>
#include<algorithm>
#include<cmath>
#include<vector>
#include<map>
#include<queue>
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define rep1(i, n) for (int i = 1; i < (n); ++i)
using namespace std;
using ll = long long;
using P = pair<int, int>;
const int INF = 1001001001;
const int mod = 1000000... | 18.795181 | 48 | 0.527564 | kitoko552 |
517854476b5e9fdff130edbcaef0775d56a1532c | 232 | cpp | C++ | project/CrafterraTest/CrafterraTest/Source.cpp | AsPJT/CrafterraProterozoic | d0531d2052b1bb5c10b6763f74034e6e3c678d1f | [
"CC0-1.0"
] | null | null | null | project/CrafterraTest/CrafterraTest/Source.cpp | AsPJT/CrafterraProterozoic | d0531d2052b1bb5c10b6763f74034e6e3c678d1f | [
"CC0-1.0"
] | null | null | null | project/CrafterraTest/CrafterraTest/Source.cpp | AsPJT/CrafterraProterozoic | d0531d2052b1bb5c10b6763f74034e6e3c678d1f | [
"CC0-1.0"
] | null | null | null | #ifdef _OPENMP
#include <omp.h>
#endif
#ifdef _WIN32
#include <DxLib.h>
#ifndef __DXLIB
#define __DXLIB
#endif
#ifndef __WINDOWS__
#define __WINDOWS__
#endif
#else
#include <Siv3D.hpp>
#endif
#include <Sample/UseAsLib2/Sample1.hpp>
| 14.5 | 39 | 0.767241 | AsPJT |
5178b2e86f3dbef7adc5c9095dc278415c475dac | 5,554 | cpp | C++ | unittest/util.cpp | Jamaika1/charls | 2abc1561925031b10f68666421315b2f3c63bbab | [
"BSD-3-Clause"
] | null | null | null | unittest/util.cpp | Jamaika1/charls | 2abc1561925031b10f68666421315b2f3c63bbab | [
"BSD-3-Clause"
] | null | null | null | unittest/util.cpp | Jamaika1/charls | 2abc1561925031b10f68666421315b2f3c63bbab | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) Team CharLS.
// SPDX-License-Identifier: BSD-3-Clause
#include "pch.h"
#include "util.h"
#include <charls/charls.h>
#include "../src/jpeg_stream_writer.h"
#include "../test/portable_anymap_file.h"
using Microsoft::VisualStudio::CppUnitTestFramework::Assert;
using std::ifstream;
using std::vector;... | 29.700535 | 140 | 0.684732 | Jamaika1 |
5178f25f4875cdbef934fb4fc3337045663a5abb | 26,635 | cpp | C++ | OgreMain/src/OgreProfiler.cpp | FreeNightKnight/ogre-next | f2d1a31887a87c492b4225e063325c48693fec19 | [
"MIT"
] | null | null | null | OgreMain/src/OgreProfiler.cpp | FreeNightKnight/ogre-next | f2d1a31887a87c492b4225e063325c48693fec19 | [
"MIT"
] | null | null | null | OgreMain/src/OgreProfiler.cpp | FreeNightKnight/ogre-next | f2d1a31887a87c492b4225e063325c48693fec19 | [
"MIT"
] | null | null | null | /*
-----------------------------------------------------------------------------
This source file is part of OGRE-Next
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org/
Copyright (c) 2000-2014 Torus Knot Software Ltd
Permission is hereby granted, free of charge, to any pe... | 39.635417 | 105 | 0.516689 | FreeNightKnight |
517cc35908300e49e7a1922fd1f8cb5a1ea1188e | 10,792 | cpp | C++ | Code/trunk/cpp/Research/ArnoldiResearch.cpp | jlconlin/PhDThesis | 8e704613721a800ce1c59576e94f40fa6f7cd986 | [
"MIT"
] | null | null | null | Code/trunk/cpp/Research/ArnoldiResearch.cpp | jlconlin/PhDThesis | 8e704613721a800ce1c59576e94f40fa6f7cd986 | [
"MIT"
] | null | null | null | Code/trunk/cpp/Research/ArnoldiResearch.cpp | jlconlin/PhDThesis | 8e704613721a800ce1c59576e94f40fa6f7cd986 | [
"MIT"
] | null | null | null | /*ArnoldiResearch.cpp
This code is used to run Arnoldi's method.
*/
#include <iostream>
#include <string>
#include <complex>
#include "LinearSpaceSource.h"
#include "ArnoldiMC.h"
#include "ArnoldiArgs.hpp"
#include "RandomLib/Random.hpp"
#include "gnuFile.h"
#include "gnuplot_i.hpp"
#include "CartesianMesh1D.hh"
#... | 33.725 | 88 | 0.599796 | jlconlin |
51829af04373ec22127a695a60160a8edfa14157 | 1,099 | cpp | C++ | 1-CLRS-Solution/C15-Dynamic-Programming/Problem/code/15.4.cpp | ftxj/2th-SummerHO | 422e04478d5904eb3bb75417793a4981ba108e19 | [
"MIT"
] | null | null | null | 1-CLRS-Solution/C15-Dynamic-Programming/Problem/code/15.4.cpp | ftxj/2th-SummerHO | 422e04478d5904eb3bb75417793a4981ba108e19 | [
"MIT"
] | null | null | null | 1-CLRS-Solution/C15-Dynamic-Programming/Problem/code/15.4.cpp | ftxj/2th-SummerHO | 422e04478d5904eb3bb75417793a4981ba108e19 | [
"MIT"
] | 1 | 2018-03-29T12:00:15.000Z | 2018-03-29T12:00:15.000Z | #include <iostream>
#include <climits>
#include <cmath>
using namespace std;
int main(){
const int N = 7;
int dp[N];
int M = 30;
int cost[N][N];
int G[N];
for(int i = 0; i < N; ++i){
cin >> G[i];
}
int temp;
for(int i = 0; i < N; ++i){
for(int j = i; j < N; ++j){
... | 22.895833 | 55 | 0.312102 | ftxj |
51832e86e703cbf77a4dd68e0f0cac291664c7e7 | 743 | cc | C++ | third_party/blink/renderer/core/events/visual_viewport_scroll_event.cc | zipated/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | third_party/blink/renderer/core/events/visual_viewport_scroll_event.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | third_party/blink/renderer/core/events/visual_viewport_scroll_event.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "third_party/blink/renderer/core/events/visual_viewport_scroll_event.h"
#include "third_party/blink/renderer/core/frame/use_counter.h"
namespac... | 33.772727 | 80 | 0.776581 | zipated |
51835c5df2de4879756205d30600687a501c29c4 | 3,573 | cpp | C++ | src/couchdb/couchview.cpp | jpnurmi/qtcouchdb | 44fdb67d04b86ea715f8ede66b510488d5232493 | [
"MIT"
] | 2 | 2020-12-12T03:15:03.000Z | 2022-01-03T11:11:58.000Z | src/couchdb/couchview.cpp | CELLINKAB/qtcouchdb | 44fdb67d04b86ea715f8ede66b510488d5232493 | [
"MIT"
] | 3 | 2020-11-28T10:53:10.000Z | 2020-11-28T14:00:29.000Z | src/couchdb/couchview.cpp | jpnurmi/qtcouchdb | 44fdb67d04b86ea715f8ede66b510488d5232493 | [
"MIT"
] | 2 | 2021-02-13T14:38:58.000Z | 2022-02-21T15:42:26.000Z | #include "couchview.h"
#include "couchclient.h"
#include "couchdatabase.h"
#include "couchdesigndocument.h"
#include "couchrequest.h"
#include "couchresponse.h"
class CouchViewPrivate
{
Q_DECLARE_PUBLIC(CouchView)
public:
CouchResponse *response(CouchResponse *response)
{
Q_Q(CouchView);
... | 23.662252 | 106 | 0.671425 | jpnurmi |
3d601d61551912a675c10715d1120966d560daf2 | 506 | cpp | C++ | Falling-into-deeps/src/graphics/VertexBuffer.cpp | RustyGuard/Falling_into_deeps | 81021f7ebeba65a6c367850462636309365e7e4a | [
"Apache-2.0"
] | null | null | null | Falling-into-deeps/src/graphics/VertexBuffer.cpp | RustyGuard/Falling_into_deeps | 81021f7ebeba65a6c367850462636309365e7e4a | [
"Apache-2.0"
] | null | null | null | Falling-into-deeps/src/graphics/VertexBuffer.cpp | RustyGuard/Falling_into_deeps | 81021f7ebeba65a6c367850462636309365e7e4a | [
"Apache-2.0"
] | null | null | null | #include "gearpch.h"
#include "VertexBuffer.h"
#include <glad/glad.h>
VertexBuffer::VertexBuffer(const void* data, unsigned int size) {
glGenBuffers(1, &m_RendererId);
glBindBuffer(GL_ARRAY_BUFFER, m_RendererId);
glBufferData(GL_ARRAY_BUFFER, size, data, GL_STATIC_DRAW);
}
VertexBuffer::~VertexBuffer() {
glDelet... | 23 | 65 | 0.764822 | RustyGuard |
3d6281a5138f78af7693962c66fcbb42f37071d5 | 297 | cpp | C++ | hello1.cpp | ash1247/CodeBlocksLinux | 30c974e7abd580b2c524bea6de9da94033e8cd9e | [
"MIT"
] | null | null | null | hello1.cpp | ash1247/CodeBlocksLinux | 30c974e7abd580b2c524bea6de9da94033e8cd9e | [
"MIT"
] | null | null | null | hello1.cpp | ash1247/CodeBlocksLinux | 30c974e7abd580b2c524bea6de9da94033e8cd9e | [
"MIT"
] | null | null | null | /*Copyright of Ashikul Hosen */
#include <iostream>
#include <vector>
int main(int argc, char *argv[]) {
std::cout << "abada\n";
std::vector<int> vi;
vi.push_back(10);
vi.push_back();
for (auto it = vi.begin(); it != vi.end(); ++it) {
std::cout << *it << "\n";
}
return 0;
}
| 17.470588 | 52 | 0.558923 | ash1247 |
3d63920e8ebec4d927f266bca5edd25f5959259d | 4,517 | cpp | C++ | Engine/Source/Developer/DirectoryWatcher/Private/Windows/DirectoryWatcherWindows.cpp | PopCap/GameIdea | 201e1df50b2bc99afc079ce326aa0a44b178a391 | [
"BSD-2-Clause"
] | null | null | null | Engine/Source/Developer/DirectoryWatcher/Private/Windows/DirectoryWatcherWindows.cpp | PopCap/GameIdea | 201e1df50b2bc99afc079ce326aa0a44b178a391 | [
"BSD-2-Clause"
] | 2 | 2015-06-21T17:38:11.000Z | 2015-06-22T20:54:42.000Z | Engine/Source/Developer/DirectoryWatcher/Private/Windows/DirectoryWatcherWindows.cpp | PopCap/GameIdea | 201e1df50b2bc99afc079ce326aa0a44b178a391 | [
"BSD-2-Clause"
] | null | null | null | // Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#include "DirectoryWatcherPrivatePCH.h"
FDirectoryWatcherWindows::FDirectoryWatcherWindows()
{
NumRequests = 0;
}
FDirectoryWatcherWindows::~FDirectoryWatcherWindows()
{
if ( RequestMap.Num() != 0 )
{
// Delete any remaining requests here. These reque... | 28.408805 | 174 | 0.737658 | PopCap |
3d64d90533ab2e164f2812e961ffb9692921214e | 38,971 | cpp | C++ | enduser/speech/sapi/sapi/a_recoei.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | enduser/speech/sapi/sapi/a_recoei.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | enduser/speech/sapi/sapi/a_recoei.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | /*******************************************************************************
* a_recoei.cpp *
*-------------*
* Description:
* This module is the main implementation file for the CSpeechRecoEventInterests
* automation methods.
*------------------------------------------------------------------------... | 30.710008 | 95 | 0.481332 | npocmaka |
3d66f3f41199ebd53bd7f3919cfb09d249fc20b6 | 11,096 | cc | C++ | ui/ozone/platform/scenic/scenic_surface_factory.cc | blueboxd/chromium-legacy | 07223bc94bd97499909c9ed3c3f5769d718fe2e0 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 76 | 2020-09-02T03:05:41.000Z | 2022-03-30T04:40:55.000Z | ui/ozone/platform/scenic/scenic_surface_factory.cc | blueboxd/chromium-legacy | 07223bc94bd97499909c9ed3c3f5769d718fe2e0 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 45 | 2020-09-02T03:21:37.000Z | 2022-03-31T22:19:45.000Z | ui/ozone/platform/scenic/scenic_surface_factory.cc | blueboxd/chromium-legacy | 07223bc94bd97499909c9ed3c3f5769d718fe2e0 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 8 | 2020-07-22T18:49:18.000Z | 2022-02-08T10:27:16.000Z | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/ozone/platform/scenic/scenic_surface_factory.h"
#include <lib/sys/cpp/component_context.h>
#include <lib/zx/event.h>
#include <memory>
#inc... | 34.246914 | 80 | 0.727379 | blueboxd |
3d693dac6cbf4bafac99f7da2535618067b5fb6a | 1,553 | cc | C++ | src/libraptor/Utility.cc | RabbitNick/rfc5053 | e7a8e94be467a1e5d9fa18f55d6bf4dd84757dec | [
"MIT"
] | 28 | 2015-04-11T10:20:25.000Z | 2021-04-28T15:48:36.000Z | src/libraptor/Utility.cc | RabbitNick/rfc5053 | e7a8e94be467a1e5d9fa18f55d6bf4dd84757dec | [
"MIT"
] | 1 | 2016-11-25T06:10:13.000Z | 2016-11-25T06:10:13.000Z | src/libraptor/Utility.cc | RabbitNick/rfc5053 | e7a8e94be467a1e5d9fa18f55d6bf4dd84757dec | [
"MIT"
] | 18 | 2015-04-10T08:25:48.000Z | 2022-01-25T11:22:31.000Z |
#include "Utility.h"
Utility::Utility(void)
{
}
Utility::~Utility(void)
{
}
bool Utility::checking_prime_integer(uint32_t v)
{
for (int i = 2; i < v; i++)
{
if (v % i == 0)
{
return 0;
}
}
return 1;
}
uint32_t Utility::find_smallest_prime_integer(uint32_t v)
{
bool r = 0;
uint32_t prime =... | 16.521277 | 120 | 0.631037 | RabbitNick |
3d6c20b45a546f37ae10e83a2456432c8c3ded8d | 7,016 | cpp | C++ | src/chatroomwindow.cpp | Alpha-Incorporated/Chatter-Box | 96937353a75c2dcb8e89e99fb3d317211ff7e85c | [
"MIT"
] | 2 | 2019-02-27T12:02:16.000Z | 2019-02-27T15:29:49.000Z | src/chatroomwindow.cpp | Alien-Inc/Chatter-Box | 96937353a75c2dcb8e89e99fb3d317211ff7e85c | [
"MIT"
] | 2 | 2020-11-19T08:39:52.000Z | 2020-11-19T08:50:19.000Z | src/chatroomwindow.cpp | Alpha-Incorporated/Chatter-Box | 96937353a75c2dcb8e89e99fb3d317211ff7e85c | [
"MIT"
] | 1 | 2020-02-21T04:26:13.000Z | 2020-02-21T04:26:13.000Z | #include "chatroomwindow.h"
using namespace chat_room;
ChatRoomWindow::ChatRoomWindow() : QMainWindow(nullptr), initialized(false)
{
// Set up Window
this->setGeometry(150, 150, 640, 480);
setWindowTitle(tr("Chat"));
setMinimumSize(640, 480);
// Menu Bar
exit_chat_action = new... | 28.064 | 112 | 0.638683 | Alpha-Incorporated |
3d70329e7cbc40ded3bdfda45592de5854d0ae37 | 677 | cpp | C++ | Camp_0-2563/1007-AwitCat34.cpp | MasterIceZ/POSN_BUU | 56e176fb843d7ddcee0cf4acf2bb141576c260cf | [
"MIT"
] | null | null | null | Camp_0-2563/1007-AwitCat34.cpp | MasterIceZ/POSN_BUU | 56e176fb843d7ddcee0cf4acf2bb141576c260cf | [
"MIT"
] | null | null | null | Camp_0-2563/1007-AwitCat34.cpp | MasterIceZ/POSN_BUU | 56e176fb843d7ddcee0cf4acf2bb141576c260cf | [
"MIT"
] | null | null | null | /*
* TASK : AwitCat34
* AUTHOR : Hydrolyzed~
* LANG : C
* SCHOOL : RYW
* */
#include<stdio.h>
#include<string.h>
char a[510];
char *ptr;
int main (){
int i,q,ch,ch2,len;
gets(a);
sscanf(a,"%d",&q);
while(q--)
{
gets(a);
if(a[strlen(a)-1]=='\r')
a[strlen(a)-1]='\0';
ptr = strto... | 14.104167 | 36 | 0.423929 | MasterIceZ |
3d708f463d383f4177d06c7c5839f517b028fc96 | 23,280 | cc | C++ | third_party/blink/renderer/core/html/html_iframe_element.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | third_party/blink/renderer/core/html/html_iframe_element.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | third_party/blink/renderer/core/html/html_iframe_element.cc | mghgroup/Glide-Browser | 6a4c1eaa6632ec55014fee87781c6bbbb92a2af5 | [
"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) 1999 Lars Knoll (knoll@kde.org)
* (C) 1999 Antti Koivisto (koivisto@kde.org)
* (C) 2000 Simon Hausmann (hausmann@kde.org)
* (C) 2001 Dirk Mueller (mueller@kde.org)
* Copyright (C) 2004, 2006, 2008, 2009 Apple Inc. All rights reserved.
* Copyright (C) 2009 Ericsson ... | 42.173913 | 85 | 0.708591 | mghgroup |
3d723a663ce7d5148bc1a2e3f308422cc832ea65 | 286 | cpp | C++ | src/cliente/modelos/PuntuacionJugadores.cpp | humbertodias/Final-Fight | f5f8983dce599cc68548797d6d992cb34b44c3b2 | [
"MIT"
] | null | null | null | src/cliente/modelos/PuntuacionJugadores.cpp | humbertodias/Final-Fight | f5f8983dce599cc68548797d6d992cb34b44c3b2 | [
"MIT"
] | null | null | null | src/cliente/modelos/PuntuacionJugadores.cpp | humbertodias/Final-Fight | f5f8983dce599cc68548797d6d992cb34b44c3b2 | [
"MIT"
] | null | null | null | //
// Created by sebas on 7/11/19.
//
#include "PuntuacionJugadores.h"
void
PuntuacionJugadores::setPuntuacion (string jugador, int puntuacion)
{
puntuaciones[jugador] = puntuacion;
}
unordered_map < string, int >
PuntuacionJugadores::getPuntuaciones ()
{
return puntuaciones;
}
| 15.888889 | 67 | 0.744755 | humbertodias |
3d7273bdb42f812dbdfd16ed655854dffcbbc0f0 | 2,768 | cpp | C++ | Interface/mainwindow.cpp | EduFreit4s/MEOWN | cd4c6e56a66c251ff485103a10308c5a2e34347c | [
"MIT"
] | null | null | null | Interface/mainwindow.cpp | EduFreit4s/MEOWN | cd4c6e56a66c251ff485103a10308c5a2e34347c | [
"MIT"
] | null | null | null | Interface/mainwindow.cpp | EduFreit4s/MEOWN | cd4c6e56a66c251ff485103a10308c5a2e34347c | [
"MIT"
] | 2 | 2020-01-25T12:19:57.000Z | 2020-09-29T23:54:19.000Z | #include "mainwindow.h"
#include "ui_mainwindow.h"
#include <QDebug>
MainWindow::MainWindow(QWidget *parent)
: QMainWindow(parent)
, ui(new Ui::MainWindow)
{
ui->setupUi(this);
for(auto& item : QSerialPortInfo::availablePorts()){
ui->box_serial->addItem(item.portName());
}
... | 24.714286 | 71 | 0.61091 | EduFreit4s |
3d73ddf3050c562588f8e6fa6b3e018b6ae3d663 | 494 | hpp | C++ | DesignPattern/Creator/Factory/FactoryBuilder.hpp | ludaye123/DesignPatterns | aec36ca2c7475640f6e34153a9a6678a953124a7 | [
"MIT"
] | null | null | null | DesignPattern/Creator/Factory/FactoryBuilder.hpp | ludaye123/DesignPatterns | aec36ca2c7475640f6e34153a9a6678a953124a7 | [
"MIT"
] | null | null | null | DesignPattern/Creator/Factory/FactoryBuilder.hpp | ludaye123/DesignPatterns | aec36ca2c7475640f6e34153a9a6678a953124a7 | [
"MIT"
] | null | null | null | //
// FactoryBuilder.hpp
// DesignPatterns
//
// Created by Shen Lu on 2018/8/18.
// Copyright © 2018 Shen Lu. All rights reserved.
//
#ifndef FactoryBuilder_hpp
#define FactoryBuilder_hpp
#include <memory>
namespace ls {
typedef enum FactoryType {
Factory1 = 0,
Factory2 = 1
}FactoryType;... | 18.296296 | 72 | 0.663968 | ludaye123 |
3d74c2e8973c303968c154b02ea4a55a0df334c6 | 160 | cpp | C++ | network_viruses/randomFactory.cpp | uncerso/code-graveyard | df875fd070022faf84374e260bd77663760b1e4c | [
"Apache-2.0"
] | 1 | 2017-10-24T21:43:43.000Z | 2017-10-24T21:43:43.000Z | network_viruses/randomFactory.cpp | uncerso/code-graveyard | df875fd070022faf84374e260bd77663760b1e4c | [
"Apache-2.0"
] | 3 | 2017-12-02T08:15:29.000Z | 2018-06-05T19:35:56.000Z | network_viruses/randomFactory.cpp | uncerso/code-graveyard | df875fd070022faf84374e260bd77663760b1e4c | [
"Apache-2.0"
] | null | null | null | #include "randomFactory.hpp"
RandomFactory::RandomFactory()
: gen_((std::random_device())())
{}
unsigned int RandomFactory::operator()() {
return gen_();
}
| 16 | 42 | 0.69375 | uncerso |
3d74fd41ee998d04b737d0e3cc6ccb61e8cdff43 | 4,051 | cpp | C++ | CSL/Sources/Window.cpp | eriser/CSL | 6f4646369f0c90ea90e2c113374044818ab37ded | [
"BSD-4-Clause-UC"
] | 32 | 2020-04-17T22:48:53.000Z | 2021-06-15T13:13:28.000Z | CSL/Sources/Window.cpp | eriser/CSL | 6f4646369f0c90ea90e2c113374044818ab37ded | [
"BSD-4-Clause-UC"
] | null | null | null | CSL/Sources/Window.cpp | eriser/CSL | 6f4646369f0c90ea90e2c113374044818ab37ded | [
"BSD-4-Clause-UC"
] | 2 | 2020-06-05T15:51:31.000Z | 2021-08-31T15:09:26.000Z | //
// Window.cpp -- implementation of the various function window classes
// See the copyright notice and acknowledgment of authors in the file COPYRIGHT
//
#include "Window.h"
#include <math.h>
using namespace csl;
Window::Window() : UnitGenerator(), mGain(1) {
this->setSize(CGestalt::blockSize());
}
// Gain is ... | 30.458647 | 97 | 0.690941 | eriser |
3d75245a1fb3653d48c6e36de37d8fb2b6c951b8 | 14,691 | cpp | C++ | mlir/lib/Dialect/LLVMIR/IR/LLVMTypes.cpp | glyons-intel/llvm | 780bdd6047d53acceb5cc8e419314026fbe007ba | [
"Apache-2.0"
] | null | null | null | mlir/lib/Dialect/LLVMIR/IR/LLVMTypes.cpp | glyons-intel/llvm | 780bdd6047d53acceb5cc8e419314026fbe007ba | [
"Apache-2.0"
] | null | null | null | mlir/lib/Dialect/LLVMIR/IR/LLVMTypes.cpp | glyons-intel/llvm | 780bdd6047d53acceb5cc8e419314026fbe007ba | [
"Apache-2.0"
] | null | null | null | //===- LLVMTypes.cpp - MLIR LLVM Dialect types ----------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | 38.458115 | 80 | 0.593629 | glyons-intel |
3d7781676043ed75de57252e1516f6e469f00aba | 30,115 | cpp | C++ | android/android_9/hardware/google/av/codec2/vndk/util/C2InterfaceHelper.cpp | yakuizhao/intel-vaapi-driver | b2bb0383352694941826543a171b557efac2219b | [
"MIT"
] | null | null | null | android/android_9/hardware/google/av/codec2/vndk/util/C2InterfaceHelper.cpp | yakuizhao/intel-vaapi-driver | b2bb0383352694941826543a171b557efac2219b | [
"MIT"
] | null | null | null | android/android_9/hardware/google/av/codec2/vndk/util/C2InterfaceHelper.cpp | yakuizhao/intel-vaapi-driver | b2bb0383352694941826543a171b557efac2219b | [
"MIT"
] | null | null | null | /*
* Copyright (C) 2018 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 app... | 36.370773 | 102 | 0.609397 | yakuizhao |
3d7b5860f741021f8c568dc4c3ff16817ddff922 | 349 | cpp | C++ | TAO/orbsvcs/tests/Bug_2287_Regression/Hello.cpp | cflowe/ACE | 5ff60b41adbe1772372d1a43bcc1f2726ff8f810 | [
"DOC"
] | 36 | 2015-01-10T07:27:33.000Z | 2022-03-07T03:32:08.000Z | TAO/orbsvcs/tests/Bug_2287_Regression/Hello.cpp | cflowe/ACE | 5ff60b41adbe1772372d1a43bcc1f2726ff8f810 | [
"DOC"
] | 2 | 2018-08-13T07:30:51.000Z | 2019-02-25T03:04:31.000Z | TAO/orbsvcs/tests/Bug_2287_Regression/Hello.cpp | cflowe/ACE | 5ff60b41adbe1772372d1a43bcc1f2726ff8f810 | [
"DOC"
] | 38 | 2015-01-08T14:12:06.000Z | 2022-01-19T08:33:00.000Z | //
// $Id: Hello.cpp 91672 2010-09-08 18:44:58Z johnnyw $
//
#include "Hello.h"
Hello::Hello (CORBA::ORB_ptr orb, Test::Hello_ptr, CORBA::ULong)
: orb_ (CORBA::ORB::_duplicate (orb))
{
}
void
Hello::shutdown (void)
{
this->orb_->shutdown (0);
}
void
Hello::ping (void)
{
return;
}
void
Hello::throw_location_... | 11.633333 | 64 | 0.644699 | cflowe |
3d7c3af74d836e566f95a05cb69cb62848074c79 | 5,123 | hpp | C++ | include/strf/detail/printers_tuple.hpp | eyalroz/strf | 94cd5aef40530269da0727178017cb4a8992c5dc | [
"BSL-1.0"
] | null | null | null | include/strf/detail/printers_tuple.hpp | eyalroz/strf | 94cd5aef40530269da0727178017cb4a8992c5dc | [
"BSL-1.0"
] | 18 | 2019-12-13T15:52:26.000Z | 2020-01-17T14:51:33.000Z | include/strf/detail/printers_tuple.hpp | eyalroz/strf | 94cd5aef40530269da0727178017cb4a8992c5dc | [
"BSL-1.0"
] | 1 | 2021-12-23T05:53:22.000Z | 2021-12-23T05:53:22.000Z | #ifndef STRF_DETAIL_PRINTERS_TUPLE_HPP
#define STRF_DETAIL_PRINTERS_TUPLE_HPP
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#include <strf/detail/facets/encoding.hpp>
namespace strf {
namespace detail {
... | 26.407216 | 89 | 0.632637 | eyalroz |
3d7e6be2b25dd13c2ccffb7ca01d3f4fe17584d1 | 13,225 | cc | C++ | DeepestScatter_Train/CppProtocols/DisneyDescriptor.pb.cc | marsermd/DeepestScatter | eeb490b5e6afd7f05049c8aca90a5c2e6f253726 | [
"MIT"
] | 13 | 2018-09-02T05:39:28.000Z | 2021-08-17T13:15:14.000Z | DeepestScatter_Train/CppProtocols/DisneyDescriptor.pb.cc | marsermd/DeepestScatter | eeb490b5e6afd7f05049c8aca90a5c2e6f253726 | [
"MIT"
] | 18 | 2020-01-28T22:39:23.000Z | 2022-03-11T23:33:13.000Z | DeepestScatter_Train/CppProtocols/DisneyDescriptor.pb.cc | marsermd/DeepestScatter | eeb490b5e6afd7f05049c8aca90a5c2e6f253726 | [
"MIT"
] | 3 | 2019-12-07T01:20:07.000Z | 2021-03-17T02:10:36.000Z | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: DisneyDescriptor.proto
#include "DisneyDescriptor.pb.h"
#include <algorithm>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/port.h>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/wire_format_lite... | 37.571023 | 168 | 0.74828 | marsermd |
3d806e9c34580c43acc589461acae24f252ae99b | 1,175 | cpp | C++ | MonoNative.Tests/mscorlib/System/Reflection/mscorlib_System_Reflection_AssemblyVersionAttribute_Fixture.cpp | brunolauze/MonoNative | 959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66 | [
"BSD-2-Clause"
] | 7 | 2015-03-10T03:36:16.000Z | 2021-11-05T01:16:58.000Z | MonoNative.Tests/mscorlib/System/Reflection/mscorlib_System_Reflection_AssemblyVersionAttribute_Fixture.cpp | brunolauze/MonoNative | 959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66 | [
"BSD-2-Clause"
] | 1 | 2020-06-23T10:02:33.000Z | 2020-06-24T02:05:47.000Z | MonoNative.Tests/mscorlib/System/Reflection/mscorlib_System_Reflection_AssemblyVersionAttribute_Fixture.cpp | brunolauze/MonoNative | 959fb52c2c1ffe87476ab0d6e4fcce0ad9ce1e66 | [
"BSD-2-Clause"
] | null | null | null | // Mono Native Fixture
// Assembly: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
// Namespace: System.Reflection
// Name: AssemblyVersionAttribute
// C++ Typed Name: mscorlib::System::Reflection::AssemblyVersionAttribute
#include <gtest/gtest.h>
#include <mscorlib/System/Reflection/msco... | 20.614035 | 91 | 0.728511 | brunolauze |
3d8472edd22f2fd255f7b698bea9a011461a382b | 31,155 | cpp | C++ | src/aadcBase/src/jury/AADC_JuryModule_ConnectionLib/cJuryModule.cpp | AppliedAutonomyOffenburg/AADC_2015_A2O | 19a2ac67d743ad23e5a259ca70aed6b3d1f2e3ac | [
"BSD-4-Clause"
] | 1 | 2018-09-09T21:39:29.000Z | 2018-09-09T21:39:29.000Z | src/aadcBase/src/jury/AADC_JuryModule_ConnectionLib/cJuryModule.cpp | TeamAutonomousCarOffenburg/A2O_2015 | 19a2ac67d743ad23e5a259ca70aed6b3d1f2e3ac | [
"BSD-4-Clause"
] | null | null | null | src/aadcBase/src/jury/AADC_JuryModule_ConnectionLib/cJuryModule.cpp | TeamAutonomousCarOffenburg/A2O_2015 | 19a2ac67d743ad23e5a259ca70aed6b3d1f2e3ac | [
"BSD-4-Clause"
] | 1 | 2016-04-05T06:34:08.000Z | 2016-04-05T06:34:08.000Z | /**
Copyright (c)
Audi Autonomous Driving Cup. 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 conditions and the ... | 33.717532 | 728 | 0.670647 | AppliedAutonomyOffenburg |
3d8599d2291dacb9bfa9e9c275ac75234d2e7408 | 1,118 | cpp | C++ | Laboratorio/PL- Aeropuerto/GamonalSanchezVictor/Box.cpp | lauram15a/Estructuras_de_datos | 5e31dd097c3fe3cfa36a49d6d0282687cc8e8d08 | [
"MIT"
] | null | null | null | Laboratorio/PL- Aeropuerto/GamonalSanchezVictor/Box.cpp | lauram15a/Estructuras_de_datos | 5e31dd097c3fe3cfa36a49d6d0282687cc8e8d08 | [
"MIT"
] | null | null | null | Laboratorio/PL- Aeropuerto/GamonalSanchezVictor/Box.cpp | lauram15a/Estructuras_de_datos | 5e31dd097c3fe3cfa36a49d6d0282687cc8e8d08 | [
"MIT"
] | null | null | null | #include "Box.hpp"
Box::Box()
{
lleno = false;
}
Box::~Box()
{
}
void Box::meter(Pasajero p, int tiempo)
{
pasajero_box = p;
lleno = true;
pasajero_box.setTiempo_espera(tiempo - pasajero_box.getHora_llegada() + 1); // una vez el pasajero entra al Box, defino el tiempo que ha estado esperando (en la l... | 19.614035 | 171 | 0.57424 | lauram15a |
3d88f8c3a6d012d27b7d6e9b89c371ffe73f546c | 400 | cpp | C++ | udacity-program_c_plusplus_programming_v1.0/demo/format.cpp | linksdl/futuretec-project-self_driving_cars_projects | 38e8f14543132ec86a8bada8d708eefaef23fee8 | [
"MIT"
] | null | null | null | udacity-program_c_plusplus_programming_v1.0/demo/format.cpp | linksdl/futuretec-project-self_driving_cars_projects | 38e8f14543132ec86a8bada8d708eefaef23fee8 | [
"MIT"
] | null | null | null | udacity-program_c_plusplus_programming_v1.0/demo/format.cpp | linksdl/futuretec-project-self_driving_cars_projects | 38e8f14543132ec86a8bada8d708eefaef23fee8 | [
"MIT"
] | null | null | null |
#include <iostream>
#include <iomanip>
int main()
{
std::cout<<"\n\nThe text without any formating\n";
std::cout<<"Ints"<<"Floats"<<"Doubles"<< "\n";
std::cout<<"\nThe text with setw(15)\n";
std::cout<<"Ints"<<std::setw(15)<<"Floats"<<std::setw(15)<<"Doubles"<< "\n";
std::cout<<"\n\nThe text with ... | 26.666667 | 80 | 0.5625 | linksdl |
3d8fcdaa9c8b2037dc2f6b6786a2fbd513e3ca83 | 1,498 | cpp | C++ | Plugins/org.blueberry.ui.qt/src/berrySaveablesLifecycleEvent.cpp | liu3xing3long/MITK-2016.11 | 385c506f9792414f40337e106e13d5fd61aa3ccc | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | Plugins/org.blueberry.ui.qt/src/berrySaveablesLifecycleEvent.cpp | liu3xing3long/MITK-2016.11 | 385c506f9792414f40337e106e13d5fd61aa3ccc | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | Plugins/org.blueberry.ui.qt/src/berrySaveablesLifecycleEvent.cpp | liu3xing3long/MITK-2016.11 | 385c506f9792414f40337e106e13d5fd61aa3ccc | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | /*===================================================================
BlueBerry Platform
Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics.
All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without
even the implied warranty of MERCHANTABILITY o... | 22.358209 | 76 | 0.670895 | liu3xing3long |
3d90af6b88da4f912f82181ea2dfc9b2beae930e | 2,570 | cc | C++ | companyreg/src/model/GetInitFlowResult.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 89 | 2018-02-02T03:54:39.000Z | 2021-12-13T01:32:55.000Z | companyreg/src/model/GetInitFlowResult.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 89 | 2018-03-14T07:44:54.000Z | 2021-11-26T07:43:25.000Z | companyreg/src/model/GetInitFlowResult.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 69 | 2018-01-22T09:45:52.000Z | 2022-03-28T07:58:38.000Z | /*
* Copyright 2009-2017 Alibaba Cloud 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... | 33.376623 | 84 | 0.7607 | aliyun |
3d90fe884817d34fa8aa0135cae4ff27dcc57bbf | 1,336 | cpp | C++ | Lezioni/07/35_4.cpp | FoxySeta/unibo-00819-programmazione | e8b54bf38c9f7885b05eabff9bced7c212aeb97e | [
"MIT"
] | 3 | 2021-11-02T16:06:46.000Z | 2022-02-15T11:24:15.000Z | Lezioni/07/35_4.cpp | FoxySeta/unibo-00819-programmazione | e8b54bf38c9f7885b05eabff9bced7c212aeb97e | [
"MIT"
] | 1 | 2020-09-25T17:54:52.000Z | 2020-09-25T22:15:42.000Z | Lezioni/07/35_4.cpp | FoxySeta/unibo-00819-programmazione | e8b54bf38c9f7885b05eabff9bced7c212aeb97e | [
"MIT"
] | null | null | null | /*
Università di Bologna
Corso di laurea in Informatica
00819 - Programmazione
Stefano Volpe #969766
20/10/2020
35_4.cpp
"Array", d. 35, es. 4
*/
#include <iostream>
using namespace std;
void parola(const char str[], int n, char dest[]);
int main()
{
const char s[]{ "Alma Mater Stu... | 19.647059 | 55 | 0.459581 | FoxySeta |
3d92232cf2b40986147c65925e92d61538179f86 | 391 | cpp | C++ | components/source/Sphere.cpp | matheusvxf/Lighting-and-Shaders | c555cbae2a4c882a0d13d1b5e4daa5c39c020c32 | [
"MIT"
] | 1 | 2016-07-21T08:52:49.000Z | 2016-07-21T08:52:49.000Z | components/source/Sphere.cpp | matheusvxf/Lighting-and-Shaders | c555cbae2a4c882a0d13d1b5e4daa5c39c020c32 | [
"MIT"
] | null | null | null | components/source/Sphere.cpp | matheusvxf/Lighting-and-Shaders | c555cbae2a4c882a0d13d1b5e4daa5c39c020c32 | [
"MIT"
] | null | null | null | #include "Sphere.h"
#include "GLee.h"
Sphere::Sphere() : Sphere(1.0) {}
Sphere::Sphere(double radius)
{
this->radius = radius;
this->slices = 64;
this->stacks = 64;
this->set_bouding_box(Vector3(radius, 0, 0), Vector3(0, radius, 0), Vector3(0, 0, radius));
}
Sphere::~Sphere()
{
}
void Sphere::rende... | 17 | 95 | 0.631714 | matheusvxf |
3d96664ff2e87811b18d09ff4e6afb64e84d651e | 1,671 | hh | C++ | src/bugengine/scheduler/api/bugengine/scheduler/task/kerneltask.hh | bugengine/BugEngine | 1b3831d494ee06b0bd74a8227c939dd774b91226 | [
"BSD-3-Clause"
] | 4 | 2015-05-13T16:28:36.000Z | 2017-05-24T15:34:14.000Z | src/bugengine/scheduler/api/bugengine/scheduler/task/kerneltask.hh | bugengine/BugEngine | 1b3831d494ee06b0bd74a8227c939dd774b91226 | [
"BSD-3-Clause"
] | null | null | null | src/bugengine/scheduler/api/bugengine/scheduler/task/kerneltask.hh | bugengine/BugEngine | 1b3831d494ee06b0bd74a8227c939dd774b91226 | [
"BSD-3-Clause"
] | 1 | 2017-03-21T08:28:07.000Z | 2017-03-21T08:28:07.000Z | /* BugEngine <bugengine.devel@gmail.com>
see LICENSE for detail */
#ifndef BE_SCHEDULER_TASK_KERNELTASK_HH_
#define BE_SCHEDULER_TASK_KERNELTASK_HH_
/**************************************************************************************************/
#include <bugengine/scheduler/stdafx.h>
#include <bugengine/schedu... | 34.8125 | 100 | 0.597247 | bugengine |
3d967d74a56a02f98bf1629c747b63e56e076687 | 25,002 | cpp | C++ | src/io.cpp | ericgjackson/slumbot2017 | f0ddb6af63e9f7e25ffa7ef01337d47299a6520d | [
"MIT"
] | 15 | 2017-11-01T16:11:46.000Z | 2020-08-18T14:20:12.000Z | src/io.cpp | ericgjackson/slumbot2017 | f0ddb6af63e9f7e25ffa7ef01337d47299a6520d | [
"MIT"
] | 11 | 2020-02-16T12:45:33.000Z | 2022-02-10T07:20:47.000Z | src/io.cpp | ericgjackson/slumbot2017 | f0ddb6af63e9f7e25ffa7ef01337d47299a6520d | [
"MIT"
] | 7 | 2017-11-01T18:32:31.000Z | 2021-01-11T17:55:59.000Z | #include <dirent.h>
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <string>
#include <vector>
#include "io.h"
// Note that stat() is very slow. We've replaced the call to stat() with
// a call to open().
bool FileEx... | 24.297376 | 79 | 0.62191 | ericgjackson |
3d999d5f0d448760b952954f732fe32a95e06901 | 3,021 | hpp | C++ | Nacro/SDK/FN_Results_PlayerScoreRow_parameters.hpp | Milxnor/Nacro | eebabf662bbce6d5af41820ea0342d3567a0aecc | [
"BSD-2-Clause"
] | 11 | 2021-08-08T23:25:10.000Z | 2022-02-19T23:07:22.000Z | Nacro/SDK/FN_Results_PlayerScoreRow_parameters.hpp | Milxnor/Nacro | eebabf662bbce6d5af41820ea0342d3567a0aecc | [
"BSD-2-Clause"
] | 1 | 2022-01-01T22:51:59.000Z | 2022-01-08T16:14:15.000Z | Nacro/SDK/FN_Results_PlayerScoreRow_parameters.hpp | Milxnor/Nacro | eebabf662bbce6d5af41820ea0342d3567a0aecc | [
"BSD-2-Clause"
] | 8 | 2021-08-09T13:51:54.000Z | 2022-01-26T20:33:37.000Z | #pragma once
// Fortnite (1.8) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "../SDK.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Parameters
//---------------------------------------------------------------------------
// Function Results_Playe... | 41.958333 | 152 | 0.572327 | Milxnor |
3d9a34a2b9f721db162195c2eea5ade04f3d56c0 | 36,728 | hpp | C++ | Motorola/MCore IDA IDP/5.0/IDA/Inc/loader.hpp | erithion/old_junk | b2dcaa23320824f8b2c17571f27826869ccd0d4b | [
"MIT"
] | 1 | 2021-06-26T17:08:24.000Z | 2021-06-26T17:08:24.000Z | Motorola/MCore IDA IDP/5.0/IDA/Inc/loader.hpp | erithion/old_junk | b2dcaa23320824f8b2c17571f27826869ccd0d4b | [
"MIT"
] | null | null | null | Motorola/MCore IDA IDP/5.0/IDA/Inc/loader.hpp | erithion/old_junk | b2dcaa23320824f8b2c17571f27826869ccd0d4b | [
"MIT"
] | null | null | null | /*
* Interactive disassembler (IDA).
* Copyright (c) 1990-97 by Ilfak Guilfanov.
* ALL RIGHTS RESERVED.
* E-mail: ig@estar.msk.su
* FIDO: 2:5020/209
*
*/
#ifndef _LOADER_HPP
#define _LOADER_HPP
#pragma pack(push, 1) ... | 40.183807 | 113 | 0.577135 | erithion |
3da1c05933f3c5acf281a50e6a045e021950367e | 6,523 | cpp | C++ | source/Neuron.cpp | It4innovations/PESOM | e6e82b9eb65d89a1a4c8fc624da3f125cc3ecb1e | [
"BSD-3-Clause"
] | null | null | null | source/Neuron.cpp | It4innovations/PESOM | e6e82b9eb65d89a1a4c8fc624da3f125cc3ecb1e | [
"BSD-3-Clause"
] | null | null | null | source/Neuron.cpp | It4innovations/PESOM | e6e82b9eb65d89a1a4c8fc624da3f125cc3ecb1e | [
"BSD-3-Clause"
] | null | null | null | #include "Neuron.h"
#include <stdlib.h>
#include <time.h>
#include <math.h>
Neuron::Neuron(int x, int y, int pocetVstupu, int seedNeuron,int poziceVNeuronovesiti, double Mink)
{
srand(seedNeuron);
LIMITITERACE = 50;
ZERO= 0.0000000001;
vahy=new double[pocetVstupu];
nonZeroVahy = new int[pocet... | 24.430712 | 112 | 0.479074 | It4innovations |
3da1ed6ca101bd811623e8f9480527f1509ef6c6 | 3,777 | cpp | C++ | src/Library/Geometry/TriangleMeshLoaderBezier.cpp | aravindkrishnaswamy/rise | 297d0339a7f7acd1418e322a30a21f44c7dbbb1d | [
"BSD-2-Clause"
] | 1 | 2018-12-20T19:31:02.000Z | 2018-12-20T19:31:02.000Z | src/Library/Geometry/TriangleMeshLoaderBezier.cpp | aravindkrishnaswamy/rise | 297d0339a7f7acd1418e322a30a21f44c7dbbb1d | [
"BSD-2-Clause"
] | null | null | null | src/Library/Geometry/TriangleMeshLoaderBezier.cpp | aravindkrishnaswamy/rise | 297d0339a7f7acd1418e322a30a21f44c7dbbb1d | [
"BSD-2-Clause"
] | null | null | null | //////////////////////////////////////////////////////////////////////
//
// TriangleMeshLoaderBezier.cpp - Implementation of the bezier mesh
// loader
//
// Author: Aravind Krishnaswamy
// Date of Birth: August 7, 2002
// Tabs: 4
// Comments:
//
// License Information: Please see the attached LICENSE.TXT file
/... | 27.977778 | 144 | 0.684141 | aravindkrishnaswamy |
3da66e690e2ea299c2e5817726855ce0f508c9de | 5,011 | cpp | C++ | tests/src/core/testqgssettings.cpp | dyna-mis/Hilabeling | cb7d5d4be29624a20c8a367162dbc6fd779b2b52 | [
"MIT"
] | null | null | null | tests/src/core/testqgssettings.cpp | dyna-mis/Hilabeling | cb7d5d4be29624a20c8a367162dbc6fd779b2b52 | [
"MIT"
] | null | null | null | tests/src/core/testqgssettings.cpp | dyna-mis/Hilabeling | cb7d5d4be29624a20c8a367162dbc6fd779b2b52 | [
"MIT"
] | 1 | 2021-12-25T08:40:30.000Z | 2021-12-25T08:40:30.000Z | /***************************************************************************
testqgssettings.cpp
--------------------------------------
Date : 17.02.2018
Copyright : (C) 2018 by Denis Rouzaud
Email : denis.rouzaud@gmail.com
*******************************... | 52.197917 | 168 | 0.688086 | dyna-mis |
3daa5b67d974d6136ba7b6af85504733dc91a5f2 | 7,166 | cpp | C++ | applications/mne_scan/plugins/natus/natusproducer.cpp | Andrey1994/mne-cpp | 6264b1107b9447b7db64309f73f09e848fd198c4 | [
"BSD-3-Clause"
] | 2 | 2021-11-16T19:38:12.000Z | 2021-11-18T20:52:08.000Z | applications/mne_scan/plugins/natus/natusproducer.cpp | Andrey1994/mne-cpp | 6264b1107b9447b7db64309f73f09e848fd198c4 | [
"BSD-3-Clause"
] | null | null | null | applications/mne_scan/plugins/natus/natusproducer.cpp | Andrey1994/mne-cpp | 6264b1107b9447b7db64309f73f09e848fd198c4 | [
"BSD-3-Clause"
] | 1 | 2021-11-16T19:39:01.000Z | 2021-11-16T19:39:01.000Z | //=============================================================================================================
/**
* @file natusproducer.cpp
* @author Gabriel B Motta <gabrielbenmotta@gmail.com>;
* Lorenz Esch <lesch@mgh.harvard.edu>
* @version dev
* @date June, 2018
*
* @section LICENSE
... | 42.152941 | 208 | 0.503768 | Andrey1994 |
3dac70154b3cf3642d5b6cde7005fdae00c73bbc | 24,055 | cpp | C++ | glib-adv/aest.cpp | ksemer/snap | 0084126c30ad49a4437bc8ea30be78484f8c58d7 | [
"BSD-3-Clause"
] | 1,805 | 2015-01-06T20:01:35.000Z | 2022-03-29T16:12:51.000Z | glib-adv/aest.cpp | lizhaoqing/snap | 907c34aac6bcddc7c2f8efb64be76e87dd7e4ea5 | [
"BSD-3-Clause"
] | 168 | 2015-01-07T22:57:29.000Z | 2022-03-15T01:20:24.000Z | glib-adv/aest.cpp | lizhaoqing/snap | 907c34aac6bcddc7c2f8efb64be76e87dd7e4ea5 | [
"BSD-3-Clause"
] | 768 | 2015-01-09T02:28:45.000Z | 2022-03-30T00:53:46.000Z | /////////////////////////////////////////////////
// Attribute-Estimator
PAttrEst TAttrEst::Load(TSIn& SIn){
TStr TypeNm(SIn);
if (TypeNm==TTypeNm<TAttrEstRnd>()){return new TAttrEstRnd(SIn);}
else if (TypeNm==TTypeNm<TAttrEstIGain>()){return new TAttrEstIGain(SIn);}
else if (TypeNm==TTypeNm<TAttrEstIGain... | 41.331615 | 105 | 0.665849 | ksemer |
3dac85c8bafbc7d9a7802659675a8a65a627d769 | 743 | hh | C++ | gem5/src/mem/ruby/network/booksim2/rptrafficmanager.hh | jyhuang91/flyover | 952a0fffee952c9f88b93017b6bba65a84d562cb | [
"MIT"
] | 3 | 2020-11-01T08:23:10.000Z | 2021-12-21T02:53:36.000Z | gem5/src/mem/ruby/network/booksim2/rptrafficmanager.hh | jyhuang91/flyover | 952a0fffee952c9f88b93017b6bba65a84d562cb | [
"MIT"
] | null | null | null | gem5/src/mem/ruby/network/booksim2/rptrafficmanager.hh | jyhuang91/flyover | 952a0fffee952c9f88b93017b6bba65a84d562cb | [
"MIT"
] | 1 | 2020-12-07T00:57:30.000Z | 2020-12-07T00:57:30.000Z | /*
* rptrafficmanager.hh
* - A traffic manager for Router Parking
*
* Author: Jiayi Huang
*/
#ifndef _RPTRAFFICMANAGER_HPP_
#define _RPTRAFFICMANAGER_HPP_
#include <cassert>
#include "mem/ruby/network/booksim2/trafficmanager.hh"
class RPTrafficManager : public TrafficManager {
private:
vector<vector<int> >... | 19.051282 | 83 | 0.713324 | jyhuang91 |
3dadd9169507170884588ae2e6e56af05806cd41 | 3,213 | cpp | C++ | problems/kickstart/2021/E/palindromic-crossword/code.cpp | brunodccarvalho/competitive | 4177c439174fbe749293b9da3445ce7303bd23c2 | [
"MIT"
] | 7 | 2020-10-15T22:37:10.000Z | 2022-02-26T17:23:49.000Z | problems/kickstart/2021/E/palindromic-crossword/code.cpp | brunodccarvalho/competitive | 4177c439174fbe749293b9da3445ce7303bd23c2 | [
"MIT"
] | null | null | null | problems/kickstart/2021/E/palindromic-crossword/code.cpp | brunodccarvalho/competitive | 4177c439174fbe749293b9da3445ce7303bd23c2 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#ifdef LOCAL
#include "code/formatting.hpp"
#else
#define debug(...) (void)0
#endif
using namespace std;
static_assert(sizeof(int) == 4 && sizeof(long) == 8);
struct disjoint_set {
int N, S;
vector<int> next, size;
explicit disjoint_set(int N = 0) : N(N), S(N), next(N), size(N, 1... | 23.452555 | 72 | 0.347028 | brunodccarvalho |
3dafc103374acfba34a3fafd4afc8355c902b015 | 24 | cpp | C++ | src/StockOrder.cpp | JanEbbing/StockAnalyzer | 81e76bb71c7958d969533b8a730eb77792836730 | [
"MIT"
] | null | null | null | src/StockOrder.cpp | JanEbbing/StockAnalyzer | 81e76bb71c7958d969533b8a730eb77792836730 | [
"MIT"
] | null | null | null | src/StockOrder.cpp | JanEbbing/StockAnalyzer | 81e76bb71c7958d969533b8a730eb77792836730 | [
"MIT"
] | null | null | null | #include "StockOrder.h"
| 12 | 23 | 0.75 | JanEbbing |