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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1642c9fbf7d569e9760f9e78a9124aa1bd2816c7 | 105,166 | cpp | C++ | src/coreclr/src/vm/gdbjit.cpp | patricksadowski/runtime | aa5b2041471d7687dbddb1d275ea8a93943c43bf | [
"MIT"
] | 2 | 2020-03-28T13:38:11.000Z | 2020-12-18T15:00:04.000Z | src/coreclr/src/vm/gdbjit.cpp | patricksadowski/runtime | aa5b2041471d7687dbddb1d275ea8a93943c43bf | [
"MIT"
] | 1 | 2020-04-24T10:03:11.000Z | 2020-04-24T10:03:11.000Z | src/coreclr/src/vm/gdbjit.cpp | patricksadowski/runtime | aa5b2041471d7687dbddb1d275ea8a93943c43bf | [
"MIT"
] | 3 | 2021-02-10T16:20:05.000Z | 2021-03-12T07:55:36.000Z | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
//*****************************************************************************
// File: gdbjit.cpp
//
//
// NotifyG... | 28.461705 | 131 | 0.607582 | patricksadowski |
164339c376cb9c28c3736418ae65755eb33fc2d1 | 3,034 | cc | C++ | src/core/tests/determinant.cc | revorg7/beliefbox | ba974b17fbb46ac98960f31dea66115be470000e | [
"OLDAP-2.3"
] | 4 | 2015-12-02T23:16:44.000Z | 2018-01-07T10:54:36.000Z | src/core/tests/determinant.cc | revorg7/beliefbox | ba974b17fbb46ac98960f31dea66115be470000e | [
"OLDAP-2.3"
] | 2 | 2015-12-02T19:47:57.000Z | 2018-10-14T13:08:40.000Z | src/core/tests/determinant.cc | revorg7/beliefbox | ba974b17fbb46ac98960f31dea66115be470000e | [
"OLDAP-2.3"
] | 4 | 2018-01-14T14:23:18.000Z | 2018-10-29T12:46:41.000Z | /* -*- Mode: c++ -*- */
/* VER: $Id: MathFunctions.h,v 1.2 2006/11/06 15:48:53 cdimitrakakis Exp cdimitrakakis $ */
// copyright (c) 2006 by Christos Dimitrakakis <christos.dimitrakakis@gmail.com>
/***************************************************************************
* ... | 29.456311 | 92 | 0.488794 | revorg7 |
16436957f8231aba3e04fd20fac6f2b0790ae28e | 1,267 | cpp | C++ | foobar2000/helpers/packet_decoder_mp3_common.cpp | jpbattaille/foobar2000 | 9b057e21fee0a185d09d520de9bb7bce27cb264b | [
"Unlicense"
] | 147 | 2017-11-19T22:22:09.000Z | 2019-06-24T11:57:40.000Z | foobar_sdk/foobar2000/helpers/packet_decoder_mp3_common.cpp | izilzty/foo_usbhid_m202md28a | b4d6df8baa290fe2ad33c57ec8acd77dcd82500a | [
"Unlicense"
] | 28 | 2018-05-22T19:57:58.000Z | 2019-06-21T23:31:50.000Z | fb2k/foobar2000/helpers/packet_decoder_mp3_common.cpp | hozuki/foo_input_nemuc | 884fc8d7c1af2ac7eb8235cd5691d156109db94a | [
"MIT"
] | 14 | 2017-11-22T01:53:31.000Z | 2019-04-04T18:45:18.000Z | #include "stdafx.h"
#include "packet_decoder_mp3_common.h"
#include "mp3_utils.h"
unsigned packet_decoder_mp3_common::parseDecoderSetup( const GUID & p_owner,t_size p_param1,const void * p_param2,t_size p_param2size )
{
if (p_owner == owner_MP3) return 3;
else if (p_owner == owner_MP2) return 2;
else if (p... | 28.795455 | 135 | 0.632202 | jpbattaille |
f37d2b1eee108d835a8f06035f13ca1abbaf0d69 | 6,398 | cc | C++ | paddle/fluid/operators/distributed_ops/distributed_lookup_table_op.cc | Sand3r-/Paddle | 1217a521554d63caa1381b8716910d0268dfc22d | [
"Apache-2.0"
] | 2 | 2017-05-15T06:52:18.000Z | 2017-06-13T11:55:11.000Z | paddle/fluid/operators/distributed_ops/distributed_lookup_table_op.cc | Sand3r-/Paddle | 1217a521554d63caa1381b8716910d0268dfc22d | [
"Apache-2.0"
] | null | null | null | paddle/fluid/operators/distributed_ops/distributed_lookup_table_op.cc | Sand3r-/Paddle | 1217a521554d63caa1381b8716910d0268dfc22d | [
"Apache-2.0"
] | 4 | 2020-07-27T13:24:03.000Z | 2020-08-06T08:20:32.000Z | /* Copyright (c) 2016 PaddlePaddle 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... | 37.197674 | 80 | 0.659894 | Sand3r- |
f383c0a84332316ad240b8065e7dcb7684adea08 | 2,860 | cpp | C++ | clang/test/Cilk/opencilk-spawn.cpp | tkf/opencilk-project | 48265098754b785d1b06cb08d8e22477a003efcd | [
"MIT"
] | null | null | null | clang/test/Cilk/opencilk-spawn.cpp | tkf/opencilk-project | 48265098754b785d1b06cb08d8e22477a003efcd | [
"MIT"
] | null | null | null | clang/test/Cilk/opencilk-spawn.cpp | tkf/opencilk-project | 48265098754b785d1b06cb08d8e22477a003efcd | [
"MIT"
] | null | null | null | // RUN: %clang_cc1 -std=c++1z -fexceptions -fcxx-exceptions -fcilkplus -ftapir=none -triple x86_64-unknown-linux-gnu -emit-llvm %s -o - | FileCheck %s
int return_stuff(int i);
int return_spawn_test(int i){
return _Cilk_spawn return_stuff(i); // expected-warning{{no parallelism from a '_Cilk_spawn' in a return state... | 38.648649 | 162 | 0.63986 | tkf |
f3875ca502ce1a8c341c94f9a4a4e0791c319f74 | 3,127 | cpp | C++ | source/skyland/entity/projectile/missile.cpp | evanbowman/skyland | a62827a0dbcab705ba8ddf75cb74e975ceadec39 | [
"MIT"
] | 24 | 2021-07-03T02:27:25.000Z | 2022-03-29T05:21:32.000Z | source/skyland/entity/projectile/missile.cpp | evanbowman/skyland | a62827a0dbcab705ba8ddf75cb74e975ceadec39 | [
"MIT"
] | 3 | 2021-09-24T18:52:49.000Z | 2021-11-13T00:16:47.000Z | source/skyland/entity/projectile/missile.cpp | evanbowman/skyland | a62827a0dbcab705ba8ddf75cb74e975ceadec39 | [
"MIT"
] | 1 | 2021-07-11T08:05:59.000Z | 2021-07-11T08:05:59.000Z | #include "missile.hpp"
#include "skyland/entity/explosion/explosion.hpp"
#include "skyland/room.hpp"
#include "skyland/room_metatable.hpp"
#include "skyland/rooms/forcefield.hpp"
#include "skyland/rooms/missileSilo.hpp"
#include "skyland/skyland.hpp"
namespace skyland {
Missile::Missile(const Vec2<Float>& positio... | 25.842975 | 80 | 0.596098 | evanbowman |
f3876d43438b47cf5a242d7df5c8da3aa37fa4ad | 29,080 | cpp | C++ | Source/API/D3D12/SwapChainD3D12.cpp | KawBuma/Buma3D | 73b1c7a99c979492f072d4ead89f2d357d5e048a | [
"MIT"
] | 5 | 2020-11-25T05:05:13.000Z | 2022-02-09T09:35:21.000Z | Source/API/D3D12/SwapChainD3D12.cpp | KawBuma/Buma3D | 73b1c7a99c979492f072d4ead89f2d357d5e048a | [
"MIT"
] | 5 | 2020-11-11T09:52:59.000Z | 2021-12-15T13:27:37.000Z | Source/API/D3D12/SwapChainD3D12.cpp | KawBuma/Buma3D | 73b1c7a99c979492f072d4ead89f2d357d5e048a | [
"MIT"
] | null | null | null | #include "Buma3DPCH.h"
#include "SwapChainD3D12.h"
namespace buma3d
{
namespace /*anonymous*/
{
DXGI_USAGE GetNativeBufferFlags(SWAP_CHAIN_BUFFER_FLAGS _flags)
{
DXGI_USAGE result = 0;
if (_flags & SWAP_CHAIN_BUFFER_FLAG_SHADER_RESOURCE)
result |= DXGI_USAGE_SHADER_INPUT;
if (_flags & SWAP_CHAI... | 35.856967 | 277 | 0.676135 | KawBuma |
f38a25b2323e428bda5cdaf2c98cb9992ce9c881 | 9,396 | hpp | C++ | libstark-tests/lightCircLib/lightCircGate.hpp | ddsvetlov/libSTARK | 38aeda615864346dc1ff4c290e0d0d12ea324dfb | [
"MIT"
] | 399 | 2018-02-28T17:11:54.000Z | 2022-03-24T07:41:39.000Z | libstark-tests/lightCircLib/lightCircGate.hpp | ddsvetlov/libSTARK | 38aeda615864346dc1ff4c290e0d0d12ea324dfb | [
"MIT"
] | 18 | 2018-03-02T14:53:53.000Z | 2022-02-14T21:30:03.000Z | libstark-tests/lightCircLib/lightCircGate.hpp | ddsvetlov/libSTARK | 38aeda615864346dc1ff4c290e0d0d12ea324dfb | [
"MIT"
] | 90 | 2018-03-01T01:18:44.000Z | 2022-02-23T00:28:50.000Z | #ifndef LIGHT_CIRCUIT_GATES_HPP_
#define LIGHT_CIRCUIT_GATES_HPP_
#include "common/Infrastructure/Infrastructure.hpp"
#include "common/Utils/ErrorHandling.hpp"
#include <algebraLib/FieldElement.hpp>
#include <algebraLib/PolynomialDegree.hpp>
#include "common/langCommon/Sequence.hpp"
#include <vector>
#include <map>
#... | 34.417582 | 165 | 0.64421 | ddsvetlov |
f38a8492276ba557207ae4c80336eaba88c62678 | 33,635 | cpp | C++ | native/dll/DShowCapture-2/Crossbar.cpp | OpenSageTV/sagetv | 3a452dbab2d57990a2b9a5976d17b97d0c00cf79 | [
"Apache-2.0"
] | 3 | 2016-07-01T13:17:12.000Z | 2018-10-30T09:03:00.000Z | native/dll/DShowCapture-2/Crossbar.cpp | OpenSageTV/sagetv | 3a452dbab2d57990a2b9a5976d17b97d0c00cf79 | [
"Apache-2.0"
] | null | null | null | native/dll/DShowCapture-2/Crossbar.cpp | OpenSageTV/sagetv | 3a452dbab2d57990a2b9a5976d17b97d0c00cf79 | [
"Apache-2.0"
] | 2 | 2020-06-20T10:26:08.000Z | 2022-02-21T20:33:34.000Z | /*
* Copyright 2015 The SageTV 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 re... | 33.137931 | 174 | 0.673138 | OpenSageTV |
f38bb5977380800b089c0fbada5e8059f606682e | 1,049 | cpp | C++ | code/leetcode/src/0025.Reverse-Nodes-in-k-Group.cpp | taseikyo/til | 8f703e69a49cbd9854062b102ba307c775d43a56 | [
"MIT"
] | 1 | 2021-09-01T14:39:12.000Z | 2021-09-01T14:39:12.000Z | code/leetcode/src/0025.Reverse-Nodes-in-k-Group.cpp | taseikyo/til | 8f703e69a49cbd9854062b102ba307c775d43a56 | [
"MIT"
] | null | null | null | code/leetcode/src/0025.Reverse-Nodes-in-k-Group.cpp | taseikyo/til | 8f703e69a49cbd9854062b102ba307c775d43a56 | [
"MIT"
] | null | null | null | /**
* @authors Lewis Tian (taseikyo@gmail.com)
* @date 2020-06-20 12:46:25
* @link github.com/taseikyo
*/
/**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode() : val(0), next(nullptr) {}
* ListNode(int x) : val(x), next(nullptr) {}
* ... | 20.98 | 62 | 0.551001 | taseikyo |
f38c23aae6c334dab4632f2c183a401cd169e464 | 106 | cpp | C++ | qt_course/examples/01_trivial/01_hello_console/main.cpp | matus-chochlik/various | 2a9f5eddd964213f7d1e1ce8328e2e0b2a8e998b | [
"MIT"
] | 1 | 2020-10-25T12:28:50.000Z | 2020-10-25T12:28:50.000Z | qt_course/examples/01_trivial/01_hello_console/main.cpp | matus-chochlik/various | 2a9f5eddd964213f7d1e1ce8328e2e0b2a8e998b | [
"MIT"
] | null | null | null | qt_course/examples/01_trivial/01_hello_console/main.cpp | matus-chochlik/various | 2a9f5eddd964213f7d1e1ce8328e2e0b2a8e998b | [
"MIT"
] | null | null | null | #include <QTextStream>
int main(void)
{
QTextStream(stdout) << "Hello, console!" << endl;
return 0;
}
| 13.25 | 50 | 0.650943 | matus-chochlik |
f38c375991b9e958cc50caeee3781df7ce52eda5 | 1,951 | cpp | C++ | microNode/libraries/FRAM/fram.cpp | loranodes/arduino-core | 256eaf15e8a6bef67174fb162c54f1c73854c11c | [
"MIT"
] | null | null | null | microNode/libraries/FRAM/fram.cpp | loranodes/arduino-core | 256eaf15e8a6bef67174fb162c54f1c73854c11c | [
"MIT"
] | null | null | null | microNode/libraries/FRAM/fram.cpp | loranodes/arduino-core | 256eaf15e8a6bef67174fb162c54f1c73854c11c | [
"MIT"
] | null | null | null | #include "Arduino.h"
#include "fram.h"
#include "Wire.h"
void FRAMinit(){
Wire.begin();
}
void FRAMwrite(uint16_t address, uint8_t data){
Wire.beginTransmission(pageAddress(address));
Wire.write(wordAddress(address));
Wire.write(data);
Wire.endTransmission(true);
}
void FRAMwriteblock(uint1... | 20.978495 | 77 | 0.689903 | loranodes |
f38e1b5ecc76db040c7c1718ad0849b193e6d30b | 545 | cpp | C++ | Source/ActorRenderNode.cpp | obeezzy/Nima-Cpp | 12142f3db24760749d7db9301e7971398a342d99 | [
"MIT"
] | 7 | 2019-02-27T20:16:53.000Z | 2020-10-11T12:50:39.000Z | Source/ActorRenderNode.cpp | obeezzy/Nima-Cpp | 12142f3db24760749d7db9301e7971398a342d99 | [
"MIT"
] | 2 | 2019-09-09T17:09:25.000Z | 2020-03-11T08:47:43.000Z | Source/ActorRenderNode.cpp | obeezzy/Nima-Cpp | 12142f3db24760749d7db9301e7971398a342d99 | [
"MIT"
] | 9 | 2018-10-31T03:07:11.000Z | 2021-08-06T08:53:21.000Z | #include "ActorRenderNode.hpp"
#include "Actor.hpp"
using namespace nima;
ActorRenderNode::ActorRenderNode(ComponentType type) :
ActorNode(type),
m_DrawOrder(0)
{
}
void ActorRenderNode::copy(ActorRenderNode* node, Actor* resetActor)
{
Base::copy(node, resetActor);
m_DrawOrder = node->m_DrawOrder;
}
int Actor... | 15.571429 | 68 | 0.724771 | obeezzy |
f38ea185dffc2d98f18b3a6f76d766369afc1af5 | 393 | cpp | C++ | GPM/MathTestProject/src/main.cpp | Hukunaa/GPM_Maths_Library | 7b2515a6a5fec5bfe213e1d503d4607c753e9cf3 | [
"MIT"
] | null | null | null | GPM/MathTestProject/src/main.cpp | Hukunaa/GPM_Maths_Library | 7b2515a6a5fec5bfe213e1d503d4607c753e9cf3 | [
"MIT"
] | null | null | null | GPM/MathTestProject/src/main.cpp | Hukunaa/GPM_Maths_Library | 7b2515a6a5fec5bfe213e1d503d4607c753e9cf3 | [
"MIT"
] | null | null | null | #include <iostream>
#include <GPM/GPM.h>
int main(const int p_argc, char** p_argv)
{
try
{
// Try stuff here
Matrix4F rot = GPM::Matrix4F::LookAt(GPM::Vector3F(0, 0, 0), GPM::Vector3F(0, 0, 3), GPM::Vector3F(0, 1, 0));
std::cout << rot;
}
catch (const std::exception & e)
{
std::cerr << "Exception thrown:... | 20.684211 | 111 | 0.615776 | Hukunaa |
f38ff80ab6fed64a9b95d6412c4a20cd785a495e | 379 | cpp | C++ | code/nastyhacks.cpp | matthewReff/Kattis-Problems | 848628af630c990fb91bde6256a77afad6a3f5f6 | [
"MIT"
] | 8 | 2020-02-21T22:21:01.000Z | 2022-02-16T05:30:54.000Z | code/nastyhacks.cpp | matthewReff/Kattis-Problems | 848628af630c990fb91bde6256a77afad6a3f5f6 | [
"MIT"
] | null | null | null | code/nastyhacks.cpp | matthewReff/Kattis-Problems | 848628af630c990fb91bde6256a77afad6a3f5f6 | [
"MIT"
] | 3 | 2020-08-05T05:42:35.000Z | 2021-08-30T05:39:51.000Z | #include <iostream>
#include <string>
using namespace std;
int main(){
int dataSets = 0;
int rev, exp, adv;
cin >> dataSets;
for (int i = 0; i < dataSets; i++){
cin >> rev >> exp >> adv;
if (rev > (exp - adv)){
cout << "do not advertise\n";
}
else if (rev == (exp - adv)){
cout << "does not matter\n";... | 16.478261 | 36 | 0.540897 | matthewReff |
f3924603c429f148672ae1a81d3a5add96606e9f | 469 | cpp | C++ | @DOC by DIPTA/dipta007_final/Number Theory/sieve_bitwise.cpp | dipta007/Competitive-Programming | 998d47f08984703c5b415b98365ddbc84ad289c4 | [
"MIT"
] | 6 | 2018-10-15T18:45:05.000Z | 2022-03-29T04:30:10.000Z | @DOC by DIPTA/dipta007_final/Number Theory/sieve_bitwise.cpp | dipta007/Competitive-Programming | 998d47f08984703c5b415b98365ddbc84ad289c4 | [
"MIT"
] | null | null | null | @DOC by DIPTA/dipta007_final/Number Theory/sieve_bitwise.cpp | dipta007/Competitive-Programming | 998d47f08984703c5b415b98365ddbc84ad289c4 | [
"MIT"
] | 4 | 2018-01-07T06:20:07.000Z | 2019-08-21T15:45:59.000Z | const int MX = 1e7
int status[(MX/32)+2];
void sieve()
{
int i, j, sqrtN;
sqrtN = int( sqrt( N ) );
for( i = 3; i <= sqrtN; i += 2 )
{
if( bitCheck(status[i>>5],i&31)==0)
{
for( j = i*i; j <= N; j += (i<<1) )
{
status[j>>5] = bitOn(status[j>>5],j &... | 21.318182 | 58 | 0.364606 | dipta007 |
f3941ed6817872126382884d637645ecee3207a7 | 57,751 | cpp | C++ | ros/src/util/packages/kitti_pkg/kitti_player/src/kitti_player.cpp | filiperinaldi/Autoware | 9fae6cc7cb8253586578dbb62a2f075b52849e6e | [
"Apache-2.0"
] | 64 | 2018-11-19T02:34:05.000Z | 2021-12-27T06:19:48.000Z | ros/src/util/packages/kitti_pkg/kitti_player/src/kitti_player.cpp | anhnv3991/autoware | d5b2ed9dc309193c8a2a7c77a2b6c88104c28328 | [
"Apache-2.0"
] | 18 | 2019-04-08T16:09:37.000Z | 2019-06-05T15:24:40.000Z | ros/src/util/packages/kitti_pkg/kitti_player/src/kitti_player.cpp | anhnv3991/autoware | d5b2ed9dc309193c8a2a7c77a2b6c88104c28328 | [
"Apache-2.0"
] | 34 | 2018-11-27T08:57:32.000Z | 2022-02-18T08:06:04.000Z | // redmine usage: This commit refs #388 @2h
// ###############################################################################################
// ###############################################################################################
// ##########################################################################... | 43.259176 | 189 | 0.561531 | filiperinaldi |
f3956e30071100252e640894359d9a4ebf8c1d42 | 1,548 | cpp | C++ | Prog-CalibrateCamera/src/Logger.cpp | BProj-LMN/Studienarbeit | 94cb93654e58f155aa6b56b93230a49f63846e01 | [
"BSD-3-Clause"
] | null | null | null | Prog-CalibrateCamera/src/Logger.cpp | BProj-LMN/Studienarbeit | 94cb93654e58f155aa6b56b93230a49f63846e01 | [
"BSD-3-Clause"
] | null | null | null | Prog-CalibrateCamera/src/Logger.cpp | BProj-LMN/Studienarbeit | 94cb93654e58f155aa6b56b93230a49f63846e01 | [
"BSD-3-Clause"
] | null | null | null | /*
* Logger.cpp
*
* function: Logger Singleton for logging with different log levels to a file
*
* author: Jannik Beyerstedt
*/
#include "Logger.h"
#include <iomanip>
Logger::Logger() {
logfile.open("logfile.txt", std::ios::trunc);
logfile << std::setprecision(3) << std::fixed;
time_start = std::chrono:... | 25.377049 | 115 | 0.646641 | BProj-LMN |
f395941baaf477d25d4a8d532a72c23989a73cf3 | 386 | cpp | C++ | competitive_programming/programming_contests/uri/the_race_of_slugs.cpp | LeandroTk/Algorithms | 569ed68eba3eeff902f8078992099c28ce4d7cd6 | [
"MIT"
] | 205 | 2018-12-01T17:49:49.000Z | 2021-12-22T07:02:27.000Z | competitive_programming/programming_contests/uri/the_race_of_slugs.cpp | LeandroTk/Algorithms | 569ed68eba3eeff902f8078992099c28ce4d7cd6 | [
"MIT"
] | 2 | 2020-01-01T16:34:29.000Z | 2020-04-26T19:11:13.000Z | competitive_programming/programming_contests/uri/the_race_of_slugs.cpp | LeandroTk/Algorithms | 569ed68eba3eeff902f8078992099c28ce4d7cd6 | [
"MIT"
] | 50 | 2018-11-28T20:51:36.000Z | 2021-11-29T04:08:25.000Z | // https://www.urionlinejudge.com.br/judge/en/problems/view/1789
#include <iostream>
using namespace std;
int main() {
int n, x, faster = 0;
while (scanf("%d", &n) != EOF) {
while (n--) {
cin >> x;
if (x > faster) faster = x;
}
if (faster < 10) cout << 1 << endl;
else if (faster < 20) cout << 2 ... | 14.846154 | 64 | 0.546632 | LeandroTk |
f397a52a0959e109d3355165c93f6957ff7a0d20 | 1,421 | cpp | C++ | Maligaro/cpp_lib/test/main.cpp | Leviyu/ForwardTomography | 5d10ccb9e8bf32352fe383633883499b163e0c1f | [
"MIT"
] | 1 | 2018-09-20T19:12:47.000Z | 2018-09-20T19:12:47.000Z | Maligaro/cpp_lib/test/main.cpp | Leviyu/ForwardTomography | 5d10ccb9e8bf32352fe383633883499b163e0c1f | [
"MIT"
] | null | null | null | Maligaro/cpp_lib/test/main.cpp | Leviyu/ForwardTomography | 5d10ccb9e8bf32352fe383633883499b163e0c1f | [
"MIT"
] | null | null | null | //###include "../01_cpp_lib/hongyulib.h"
#include <iostream> // std::cout
#include <algorithm> // std::unique, std::distance
#include <vector> // std::vector
bool myfunction (int i, int j) {
return (i==j);
}
using namespace std;
int main () {
int myints[] = {10,20,20,20,30,30,20,20,10}; /... | 34.658537 | 87 | 0.593948 | Leviyu |
f397f0ecd5d99a66bcfacb16c0cb0c30816c72a0 | 16,716 | cpp | C++ | inference-engine/thirdparty/mkl-dnn/src/cpu/gemm/f32/jit_avx2_kernel_sgemm_kern.cpp | zhoub/dldt | e42c01cf6e1d3aefa55e2c5df91f1054daddc575 | [
"Apache-2.0"
] | 48 | 2020-07-29T18:09:23.000Z | 2021-10-09T01:53:33.000Z | inference-engine/thirdparty/mkl-dnn/src/cpu/gemm/f32/jit_avx2_kernel_sgemm_kern.cpp | zhoub/dldt | e42c01cf6e1d3aefa55e2c5df91f1054daddc575 | [
"Apache-2.0"
] | 9 | 2021-04-02T02:28:07.000Z | 2022-03-26T18:23:59.000Z | Fujitsu/benchmarks/resnet/implementations/implementation_open/mxnet/3rdparty/mkldnn/src/cpu/gemm/f32/jit_avx2_kernel_sgemm_kern.cpp | lablup/training_results_v0.7 | f5bb59aa0f8b18b602763abe47d1d24d0d54b197 | [
"Apache-2.0"
] | 42 | 2020-08-01T06:41:24.000Z | 2022-01-20T10:33:08.000Z | /*******************************************************************************
* Copyright 2019 Intel Corporation
*
* 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.o... | 37.479821 | 80 | 0.465183 | zhoub |
f3987c636add0d194e61c5fcff23adbfcc003687 | 7,577 | hpp | C++ | boost/boost/spirit/home/lex/lexer/support_functions.hpp | randolphwong/mcsema | eb5b376736e7f57ff0a61f7e4e5a436bbb874720 | [
"BSD-3-Clause"
] | 71 | 2015-01-17T00:29:44.000Z | 2021-02-09T02:59:16.000Z | boost/boost/spirit/home/lex/lexer/support_functions.hpp | randolphwong/mcsema | eb5b376736e7f57ff0a61f7e4e5a436bbb874720 | [
"BSD-3-Clause"
] | 6 | 2016-01-11T05:20:05.000Z | 2021-02-06T11:37:24.000Z | boost/boost/spirit/home/lex/lexer/support_functions.hpp | randolphwong/mcsema | eb5b376736e7f57ff0a61f7e4e5a436bbb874720 | [
"BSD-3-Clause"
] | 44 | 2015-03-18T09:20:37.000Z | 2021-12-21T08:09:17.000Z | // Copyright (c) 2001-2011 Hartmut Kaiser
//
// 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(SPIRIT_LEX_SUPPORT_FUNCTIONS_JUN_08_2009_0211PM)
#define SPIRIT_LEX_SUPPORT_FUNCTIONS_JUN_08_2009_0211P... | 36.781553 | 81 | 0.608156 | randolphwong |
f39d65531e34de6e388da58124bcb1d379d34cd6 | 71,494 | cpp | C++ | src/chrono_vehicle/terrain/SCMDeformableTerrain.cpp | Benatti1991/chrono | d927a7fae8ed2f4e6695cacaef28c605fcd9ffaf | [
"BSD-3-Clause"
] | 1 | 2021-01-03T00:54:53.000Z | 2021-01-03T00:54:53.000Z | src/chrono_vehicle/terrain/SCMDeformableTerrain.cpp | Benatti1991/chrono | d927a7fae8ed2f4e6695cacaef28c605fcd9ffaf | [
"BSD-3-Clause"
] | null | null | null | src/chrono_vehicle/terrain/SCMDeformableTerrain.cpp | Benatti1991/chrono | d927a7fae8ed2f4e6695cacaef28c605fcd9ffaf | [
"BSD-3-Clause"
] | null | null | null | // =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2014 projectchrono.org
// All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file at the top level of t... | 43.042745 | 120 | 0.58514 | Benatti1991 |
f39eb71102fb1006d6183b7187098ee51401ba17 | 3,220 | cpp | C++ | test/record/object.cpp | pmiddend/fcppt | 9f437acbb10258e6df6982a550213a05815eb2be | [
"BSL-1.0"
] | null | null | null | test/record/object.cpp | pmiddend/fcppt | 9f437acbb10258e6df6982a550213a05815eb2be | [
"BSL-1.0"
] | null | null | null | test/record/object.cpp | pmiddend/fcppt | 9f437acbb10258e6df6982a550213a05815eb2be | [
"BSL-1.0"
] | null | null | null | // Copyright Carl Philipp Reh 2009 - 2018.
// 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 <fcppt/noncopyable.hpp>
#include <fcppt/record/element.hpp>
#include <fcppt/record/get.hp... | 10.592105 | 61 | 0.581056 | pmiddend |
f39f9901fd56c6a8d1b8a44591374f786561c487 | 5,593 | cc | C++ | src/cc/kfsio/ChunkAccessToken.cc | beol/qfs | 41201cfc1ff6c081324543712d0c02074fa66326 | [
"Apache-2.0"
] | null | null | null | src/cc/kfsio/ChunkAccessToken.cc | beol/qfs | 41201cfc1ff6c081324543712d0c02074fa66326 | [
"Apache-2.0"
] | null | null | null | src/cc/kfsio/ChunkAccessToken.cc | beol/qfs | 41201cfc1ff6c081324543712d0c02074fa66326 | [
"Apache-2.0"
] | null | null | null | //---------------------------------------------------------- -*- Mode: C++ -*-
// $Id$
//
// Created 2013/10/9
// Author: Mike Ovsiannikov
//
// Copyright 2013,2016 Quantcast Corporation. All rights reserved.
//
// This file is part of Kosmos File System (KFS).
//
// Licensed under the Apache License, Version 2.0
// (t... | 24.530702 | 78 | 0.547649 | beol |
f3a3293e03aa843ebe20c80d9b6fd22f697ea6e7 | 4,737 | cpp | C++ | libs/Compensation/Perspiration.cpp | Sensirion/wearable-dev-kit-firmware | 2e503c7360b30d8ecb9597bb310f93e7a655e534 | [
"BSD-3-Clause"
] | 1 | 2019-11-06T15:50:11.000Z | 2019-11-06T15:50:11.000Z | libs/Compensation/Perspiration.cpp | Sensirion/wearable-dev-kit-firmware | 2e503c7360b30d8ecb9597bb310f93e7a655e534 | [
"BSD-3-Clause"
] | null | null | null | libs/Compensation/Perspiration.cpp | Sensirion/wearable-dev-kit-firmware | 2e503c7360b30d8ecb9597bb310f93e7a655e534 | [
"BSD-3-Clause"
] | 2 | 2019-11-06T15:49:31.000Z | 2021-01-28T18:05:33.000Z | /*------------------------------------------------------------------------------
* Copyright 2016 Sensirion AG, Switzerland. All rights reserved.
*
* Software source code and Compensation Algorithms are Sensirion Confidential
* Information and trade secrets. Licensee shall protect confidentiality of
* Software sou... | 47.848485 | 136 | 0.725142 | Sensirion |
f3a37d53defb5dbef57d32c49afcf11d90b318cf | 1,136 | cpp | C++ | src/XML Tree/XML_Node.cpp | VladimirAnaniev/XML-Parser | 118f71831dc5ba96d1f6e57d42560e866d0fe22b | [
"MIT"
] | 1 | 2020-09-20T16:11:58.000Z | 2020-09-20T16:11:58.000Z | src/XML Tree/XML_Node.cpp | VladimirAnaniev/XML-Parser | 118f71831dc5ba96d1f6e57d42560e866d0fe22b | [
"MIT"
] | 2 | 2017-06-03T16:29:01.000Z | 2017-08-30T11:40:29.000Z | src/XML Tree/XML_Node.cpp | VladimirAnaniev/XML-Parser | 118f71831dc5ba96d1f6e57d42560e866d0fe22b | [
"MIT"
] | null | null | null | #include "XML_Node.h"
#include "../Parser/Parser.h"
String XML_Node::getTag() const {
return this->data.tag;
}
void XML_Node::addArgument(Argument arg) {
this->data.arguments.push(arg);
}
List<Argument> &XML_Node::getArguments() {
return this->data.arguments;
}
Argument XML_Node::removeArgument(int ind... | 19.586207 | 68 | 0.65669 | VladimirAnaniev |
f3a3eb8ecb31b16a049e1f6008ff3649d06dfcf7 | 605 | cpp | C++ | src/Win32Intro/TestWindow.cpp | yottaawesome/win32-intro | fa1caa6ea5cdd829d9cda9667a52ec2c624746c0 | [
"MIT"
] | null | null | null | src/Win32Intro/TestWindow.cpp | yottaawesome/win32-intro | fa1caa6ea5cdd829d9cda9667a52ec2c624746c0 | [
"MIT"
] | null | null | null | src/Win32Intro/TestWindow.cpp | yottaawesome/win32-intro | fa1caa6ea5cdd829d9cda9667a52ec2c624746c0 | [
"MIT"
] | 1 | 2021-06-23T18:37:18.000Z | 2021-06-23T18:37:18.000Z | module;
#include <Windows.h>
module main_window;
LRESULT MainWindow::HandleMessage(UINT uMsg, WPARAM wParam, LPARAM lParam)
{
switch (uMsg)
{
case WM_DESTROY:
PostQuitMessage(0);
return 0;
case WM_PAINT:
{
PAINTSTRUCT ps;
... | 21.607143 | 75 | 0.522314 | yottaawesome |
f3a41cdae45cbc6517b3da51420429faa4244481 | 6,266 | cpp | C++ | Tests/UnitTests/ReaderTests/ImageReaderTests.cpp | alexboukhvalova/CNTK | 8835d4f61b393f068a4f019424bbc80c0b4e761a | [
"RSA-MD"
] | 6 | 2019-08-18T05:29:09.000Z | 2021-01-19T09:58:45.000Z | Tests/UnitTests/ReaderTests/ImageReaderTests.cpp | Omar-Belghaouti/CNTK | 422f710242c602b2660a634f2234abf5aaf5b337 | [
"RSA-MD"
] | null | null | null | Tests/UnitTests/ReaderTests/ImageReaderTests.cpp | Omar-Belghaouti/CNTK | 422f710242c602b2660a634f2234abf5aaf5b337 | [
"RSA-MD"
] | 1 | 2019-03-20T21:44:46.000Z | 2019-03-20T21:44:46.000Z | //
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.md file in the project root for full license information.
//
#include "stdafx.h"
#include "Common/ReaderTestHelper.h"
using namespace Microsoft::MSR::CNTK;
namespace Microsoft { namespace MSR { namespace CNTK { namespac... | 27.848889 | 218 | 0.588733 | alexboukhvalova |
f3a535973989e234f0a9c325dd93b3f0475bc68e | 1,953 | cc | C++ | base/allocator/allocator_shim_default_dispatch_to_glibc.cc | google-ar/chromium | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 777 | 2017-08-29T15:15:32.000Z | 2022-03-21T05:29:41.000Z | base/allocator/allocator_shim_default_dispatch_to_glibc.cc | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 66 | 2017-08-30T18:31:18.000Z | 2021-08-02T10:59:35.000Z | base/allocator/allocator_shim_default_dispatch_to_glibc.cc | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 123 | 2017-08-30T01:19:34.000Z | 2022-03-17T22:55:31.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 "base/allocator/allocator_shim.h"
#include <malloc.h>
// This translation unit defines a default dispatch for the allocator shim which
// route... | 31.5 | 80 | 0.730159 | google-ar |
f3a577fcb91417cf1d9a6e4807469ace4b0d48d0 | 5,612 | hpp | C++ | ntt/schoenhage-strassen-radix2.hpp | NachiaVivias/library | 73091ddbb00bc59328509c8f6e662fea2b772994 | [
"CC0-1.0"
] | 69 | 2020-11-06T05:21:42.000Z | 2022-03-29T03:38:35.000Z | ntt/schoenhage-strassen-radix2.hpp | NachiaVivias/library | 73091ddbb00bc59328509c8f6e662fea2b772994 | [
"CC0-1.0"
] | 21 | 2020-07-25T04:47:12.000Z | 2022-02-01T14:39:29.000Z | ntt/schoenhage-strassen-radix2.hpp | NachiaVivias/library | 73091ddbb00bc59328509c8f6e662fea2b772994 | [
"CC0-1.0"
] | 9 | 2020-11-06T11:55:10.000Z | 2022-03-20T04:45:31.000Z | #pragma once
template <typename T>
struct Schoenhage_Strassen_radix2 {
T* buf = nullptr;
void rot(T* dst, T* src, int s, int d) {
assert(0 <= d and d < 2 * s);
bool f = s <= d;
if (s <= d) d -= s;
int i = 0;
if (f) {
for (; i < s - d; i++) dst[i + d] = -src[i];
for (; i < s; i++) d... | 26.347418 | 75 | 0.349252 | NachiaVivias |
f3a59904019cb9973a786d4b279191483a15a5a1 | 312 | cpp | C++ | 2-YellowBelt/week5/Assignment1/DIYInheritance.cpp | mamoudmatook/CPlusPlusInRussian | ef1f92e4880f24fe16fbcbef8dba3a2658d2208e | [
"MIT"
] | null | null | null | 2-YellowBelt/week5/Assignment1/DIYInheritance.cpp | mamoudmatook/CPlusPlusInRussian | ef1f92e4880f24fe16fbcbef8dba3a2658d2208e | [
"MIT"
] | null | null | null | 2-YellowBelt/week5/Assignment1/DIYInheritance.cpp | mamoudmatook/CPlusPlusInRussian | ef1f92e4880f24fe16fbcbef8dba3a2658d2208e | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
class Animal
{
public:
Animal(const string &st) : Name(st)
{}
// ваш код
const string Name;
};
class Dog: public Animal
{
public:
Dog(const string &st): Animal(st) {}
void Bark()
{
cout << Name << " barks: woof!" << endl;
}
}; | 13 | 48 | 0.557692 | mamoudmatook |
f3a6aeb8c01617a070d894a3896803dd3bb90023 | 60 | cpp | C++ | src/disolarm64.cpp | flamencist/Detours | c0c0ef9bff2355f97e0c34ba7360116c741ad22a | [
"MIT"
] | 2,204 | 2019-05-07T02:53:35.000Z | 2022-03-31T21:46:25.000Z | src/disolarm64.cpp | flamencist/Detours | c0c0ef9bff2355f97e0c34ba7360116c741ad22a | [
"MIT"
] | 1,065 | 2021-06-24T16:08:11.000Z | 2022-03-31T23:12:32.000Z | src/disolarm64.cpp | flamencist/Detours | c0c0ef9bff2355f97e0c34ba7360116c741ad22a | [
"MIT"
] | 557 | 2019-05-09T09:15:31.000Z | 2022-03-31T09:33:29.000Z | #define DETOURS_ARM64_OFFLINE_LIBRARY
#include "disasm.cpp"
| 20 | 37 | 0.85 | flamencist |
f3a78d9156fe9bff12def082052809dcd66dcc99 | 1,298 | cpp | C++ | aoj/22/aoj2253.cpp | knuu/competitive-programming | 16bc68fdaedd6f96ae24310d697585ca8836ab6e | [
"MIT"
] | 1 | 2018-11-12T15:18:55.000Z | 2018-11-12T15:18:55.000Z | aoj/22/aoj2253.cpp | knuu/competitive-programming | 16bc68fdaedd6f96ae24310d697585ca8836ab6e | [
"MIT"
] | null | null | null | aoj/22/aoj2253.cpp | knuu/competitive-programming | 16bc68fdaedd6f96ae24310d697585ca8836ab6e | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
typedef pair<int, int> P;
typedef pair<ll, ll> Pll;
typedef vector<int> Vi;
typedef tuple<int, int, int> T;
#define FOR(i,s,x) for(int i=s;i<(int)(x);i++)
#define REP(i,x) FOR(i,0,x)
#define ALL(c) c.begin(), c.end()
#define MP make_pair
#define D... | 20.603175 | 59 | 0.498459 | knuu |
f3a8bb2621f54b42e2e744a1314cb98f8e1c4a20 | 1,304 | hh | C++ | include/MEPED_DetectorMessenger.hh | kbyando/meped-etelescope | cb1805cb8d1662a561fb1b7a405aecbfffac8f2c | [
"Apache-2.0"
] | null | null | null | include/MEPED_DetectorMessenger.hh | kbyando/meped-etelescope | cb1805cb8d1662a561fb1b7a405aecbfffac8f2c | [
"Apache-2.0"
] | null | null | null | include/MEPED_DetectorMessenger.hh | kbyando/meped-etelescope | cb1805cb8d1662a561fb1b7a405aecbfffac8f2c | [
"Apache-2.0"
] | null | null | null | // NOAA POES Monte Carlo Simulation v1.3, 17/09/2008e
// MEPED (Medium Energy Proton and Electron Detector)
// Karl Yando, Professor Robyn Millan
// Dartmouth College, 2008
//
// "MEPED_DetectorMessenger.hh" - (generic)
#ifndef MEPED_DetectorMessenger_h
#define MEPED_DetectorMessenger_h 1
#include "globals.hh"
#inclu... | 27.744681 | 58 | 0.742331 | kbyando |
f3a99d7e42e117c5859ebaaabe12d20ddb502f45 | 4,281 | hpp | C++ | engine/gems/image/conversions.hpp | stereoboy/isaac_sdk_20191213 | 73c863254e626c8d498870189fbfb20be4e10fb3 | [
"FSFAP"
] | 1 | 2020-04-14T13:55:16.000Z | 2020-04-14T13:55:16.000Z | engine/gems/image/conversions.hpp | stereoboy/isaac_sdk_20191213 | 73c863254e626c8d498870189fbfb20be4e10fb3 | [
"FSFAP"
] | 4 | 2020-09-25T22:34:29.000Z | 2022-02-09T23:45:12.000Z | engine/gems/image/conversions.hpp | stereoboy/isaac_sdk_20191213 | 73c863254e626c8d498870189fbfb20be4e10fb3 | [
"FSFAP"
] | 1 | 2020-07-02T11:51:17.000Z | 2020-07-02T11:51:17.000Z | /*
Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved.
NVIDIA CORPORATION and its licensors retain all intellectual property
and proprietary rights in and to this software, related documentation
and any modifications thereto. Any use, reproduction, disclosure or
distribution of this software and related docum... | 42.81 | 98 | 0.772483 | stereoboy |
f3aa41b696f21cba2f2d1a5dfa4b8dd8664c7306 | 36,350 | cpp | C++ | src/SurfaceSource/SurfaceSource.cpp | sellitforcache/ss2dist | 943284bca9ca5ce8ffeb43ef3b6ef2e39d207702 | [
"BSD-3-Clause"
] | null | null | null | src/SurfaceSource/SurfaceSource.cpp | sellitforcache/ss2dist | 943284bca9ca5ce8ffeb43ef3b6ef2e39d207702 | [
"BSD-3-Clause"
] | null | null | null | src/SurfaceSource/SurfaceSource.cpp | sellitforcache/ss2dist | 943284bca9ca5ce8ffeb43ef3b6ef2e39d207702 | [
"BSD-3-Clause"
] | 1 | 2018-09-25T13:50:15.000Z | 2018-09-25T13:50:15.000Z | #include <fstream>
#include <vector>
#include <string>
#include <iostream>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cmath>
#include <vector>
#include <algorithm>
#include <numeric>
#include <iterator>
#include <valarray>
#include <climits>
#include <sstream>
#include <sys/stat.h>
#include <bits... | 36.133201 | 174 | 0.635626 | sellitforcache |
f3ac9ec03734001a5239da0d0e564b5d54538367 | 2,111 | hpp | C++ | simulations/landau/pdi_out.yml.hpp | gyselax/gyselalibxx | 5f9b4b1e20050f87e2a9f05d510bedf0f9a15b34 | [
"MIT"
] | 3 | 2022-02-28T08:47:07.000Z | 2022-03-01T10:29:08.000Z | simulations/landau/pdi_out.yml.hpp | gyselax/gyselalibxx | 5f9b4b1e20050f87e2a9f05d510bedf0f9a15b34 | [
"MIT"
] | null | null | null | simulations/landau/pdi_out.yml.hpp | gyselax/gyselalibxx | 5f9b4b1e20050f87e2a9f05d510bedf0f9a15b34 | [
"MIT"
] | null | null | null | // SPDX-License-Identifier: MIT
constexpr char const* const PDI_CFG = R"PDI_CFG(
metadata:
Nx : int
Nvx : int
iter : int
time_saved : double
nbstep_diag: int
iter_saved : int
MeshX_extents: { type: array, subtype: int64, size: 1 }
MeshX:
type: array
subtype: double
size: [ '$MeshX_extents[0... | 28.917808 | 113 | 0.661772 | gyselax |
f3af0329054a8dc0eb1d0bfc6e412946eb4c21ba | 10,247 | cpp | C++ | torrentR/src/PhaseFit.cpp | konradotto/TS | bf088bd8432b1e3f4b8c8c083650a30d9ef2ae2e | [
"Apache-2.0"
] | 125 | 2015-01-22T05:43:23.000Z | 2022-03-22T17:15:59.000Z | torrentR/src/PhaseFit.cpp | konradotto/TS | bf088bd8432b1e3f4b8c8c083650a30d9ef2ae2e | [
"Apache-2.0"
] | 59 | 2015-02-10T09:13:06.000Z | 2021-11-11T02:32:38.000Z | torrentR/src/PhaseFit.cpp | konradotto/TS | bf088bd8432b1e3f4b8c8c083650a30d9ef2ae2e | [
"Apache-2.0"
] | 98 | 2015-01-17T01:25:10.000Z | 2022-03-18T17:29:42.000Z | /* Copyright (C) 2010 Ion Torrent Systems, Inc. All Rights Reserved */
#include <iostream>
#include <iomanip>
#include "PhaseFit.h"
#include "Stats.h"
PhaseFit::PhaseFit() {
read.resize(0);
signal.resize(0);
residual_raw_vec.resize(0);
residual_weighted_vec.resize(0);
err.resize(0);
flowString... | 29.787791 | 122 | 0.6235 | konradotto |
f3af83afc90d2e5d70380cedd8f4f19e2436f029 | 312 | cpp | C++ | MSVC/14.24.28314/crt/src/vcruntime/exe_main.cpp | 825126369/UCRT | 8853304fdc2a5c216658d08b6dbbe716aa2a7b1f | [
"MIT"
] | 2 | 2021-01-27T10:19:30.000Z | 2021-02-09T06:24:30.000Z | MSVC/14.24.28314/crt/src/vcruntime/exe_main.cpp | 825126369/UCRT | 8853304fdc2a5c216658d08b6dbbe716aa2a7b1f | [
"MIT"
] | null | null | null | MSVC/14.24.28314/crt/src/vcruntime/exe_main.cpp | 825126369/UCRT | 8853304fdc2a5c216658d08b6dbbe716aa2a7b1f | [
"MIT"
] | 1 | 2021-01-27T10:19:36.000Z | 2021-01-27T10:19:36.000Z | //
// exe_wwinmain.cpp
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// The mainCRTStartup() entry point, linked into client executables that
// uses main().
//
#define _SCRT_STARTUP_MAIN
#include "exe_common.inl"
extern "C" int mainCRTStartup()
{
return __scrt_common_main();
}
| 17.333333 | 72 | 0.705128 | 825126369 |
f3b027a869b88350a76d63899a2c1399332b7327 | 10,952 | cpp | C++ | libgtkgraph/annotation.cpp | arthursoprano/welldrift | 57fe6c2f5a5caea18c5e29fb1b17f6f29a59a98e | [
"MIT"
] | 1 | 2019-03-14T21:46:21.000Z | 2019-03-14T21:46:21.000Z | libgtkgraph/annotation.cpp | arthursoprano/welldrift | 57fe6c2f5a5caea18c5e29fb1b17f6f29a59a98e | [
"MIT"
] | null | null | null | libgtkgraph/annotation.cpp | arthursoprano/welldrift | 57fe6c2f5a5caea18c5e29fb1b17f6f29a59a98e | [
"MIT"
] | 2 | 2019-05-14T02:31:52.000Z | 2020-08-04T18:29:06.000Z | #include <stdio.h>
#define _USE_MATH_DEFINES
#include <math.h>
#include "libgtkgraph/gtkgraph.h"
#include "libgtkgraph/gtkgraph_internal.h"
/* Declaration of all local functions */
static GtkGraphAnnotation *gtk_graph_annotation_allocate(void);
/* Externally referenceable functions */
static GtkGraphAnnotation *gtk_... | 39.681159 | 180 | 0.710738 | arthursoprano |
f3b08568106455f684f40669c567e4062eea231e | 427 | cpp | C++ | programming/numerical_algorithms/horner_value.cpp | Kartm/hs-cs-final-exam | 6af11324740d53a68b921582ab6ec1adee7634e6 | [
"MIT"
] | 1 | 2019-01-27T13:34:42.000Z | 2019-01-27T13:34:42.000Z | programming/numerical_algorithms/horner_value.cpp | Kartm/hs-cs-final-exam | 6af11324740d53a68b921582ab6ec1adee7634e6 | [
"MIT"
] | null | null | null | programming/numerical_algorithms/horner_value.cpp | Kartm/hs-cs-final-exam | 6af11324740d53a68b921582ab6ec1adee7634e6 | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#include <cmath>
using namespace std;
int calculate(vector<int> coefficients, int x) {
int result = coefficients[0];
for(int i = 1; i < coefficients.size(); i++) {
result = result * x + coefficients[i];
}
return result;
}
int main() {
//* x*x*x + 2*x ... | 21.35 | 50 | 0.594848 | Kartm |
f3b1ddfb733df2d1cb3c849ea5ef2d8a171ffd61 | 1,885 | hpp | C++ | openstudiocore/src/isomodel/Lighting.hpp | jasondegraw/OpenStudio | 2ab13f6e5e48940929041444e40ad9d36f80f552 | [
"blessing"
] | 1 | 2016-12-29T08:45:03.000Z | 2016-12-29T08:45:03.000Z | openstudiocore/src/isomodel/Lighting.hpp | jasondegraw/OpenStudio | 2ab13f6e5e48940929041444e40ad9d36f80f552 | [
"blessing"
] | null | null | null | openstudiocore/src/isomodel/Lighting.hpp | jasondegraw/OpenStudio | 2ab13f6e5e48940929041444e40ad9d36f80f552 | [
"blessing"
] | null | null | null | /**********************************************************************
* Copyright (c) 2008-2016, 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 the Fre... | 39.270833 | 83 | 0.708753 | jasondegraw |
f3b203cab02e2ef25204d35e14bd9ac6f4cf315b | 261 | hpp | C++ | SystemResource/Source/Container/QuadTree/QuadTreePosition.hpp | BitPaw/BitFireEngine | 2c02a4eae19276bf60ac925e4393966cec605112 | [
"MIT"
] | 5 | 2021-10-19T18:30:43.000Z | 2022-03-19T22:02:02.000Z | SystemResource/Source/Container/QuadTree/QuadTreePosition.hpp | BitPaw/BitFireEngine | 2c02a4eae19276bf60ac925e4393966cec605112 | [
"MIT"
] | 12 | 2022-03-09T13:40:21.000Z | 2022-03-31T12:47:48.000Z | SystemResource/Source/Container/QuadTree/QuadTreePosition.hpp | BitPaw/BitFireEngine | 2c02a4eae19276bf60ac925e4393966cec605112 | [
"MIT"
] | null | null | null | #pragma once
namespace BF
{
template<typename NumberType>
struct QuadTreePosition
{
public:
NumberType X;
NumberType Y;
QuadTreePosition()
{
X = 0;
Y = 0;
}
QuadTreePosition(NumberType x, NumberType y)
{
X = x;
Y = y;
}
};
} | 10.875 | 46 | 0.609195 | BitPaw |
f3b28456787c91d898fe1fe0ff964eb330dd546b | 240 | cpp | C++ | 7-Reverse-Integer.cpp | andy-sheng/leetcode | 1fa070036f31d0bd18a9a11a5c771641f3cd9a03 | [
"MIT"
] | null | null | null | 7-Reverse-Integer.cpp | andy-sheng/leetcode | 1fa070036f31d0bd18a9a11a5c771641f3cd9a03 | [
"MIT"
] | null | null | null | 7-Reverse-Integer.cpp | andy-sheng/leetcode | 1fa070036f31d0bd18a9a11a5c771641f3cd9a03 | [
"MIT"
] | null | null | null | class Solution {
public:
int reverse(int x) {
long int tmp = 0;
while (x != 0) {
tmp = tmp * 10 + x % 10;
x = x / 10;
}
return (tmp > INT_MAX || tmp < INT_MIN) ? 0 : tmp;
}
}; | 21.818182 | 58 | 0.4 | andy-sheng |
f3b86313a2b242622e540a7112921b8a072d7eac | 6,712 | cpp | C++ | kernel/thor/arch/arm/ints.cpp | kITerE/managarm | e6d1229a0bed68cb672a9cad300345a9006d78c1 | [
"MIT"
] | 935 | 2018-05-23T14:56:18.000Z | 2022-03-29T07:27:20.000Z | kernel/thor/arch/arm/ints.cpp | kITerE/managarm | e6d1229a0bed68cb672a9cad300345a9006d78c1 | [
"MIT"
] | 314 | 2018-05-04T15:58:06.000Z | 2022-03-30T16:24:17.000Z | kernel/thor/arch/arm/ints.cpp | kITerE/managarm | e6d1229a0bed68cb672a9cad300345a9006d78c1 | [
"MIT"
] | 65 | 2019-04-21T14:26:51.000Z | 2022-03-12T03:16:41.000Z | #include <thor-internal/arch/cpu.hpp>
#include <thor-internal/arch/ints.hpp>
#include <thor-internal/arch/gic.hpp>
#include <thor-internal/debug.hpp>
#include <thor-internal/thread.hpp>
#include <assert.h>
namespace thor {
extern "C" void *thorExcVectors;
void initializeIrqVectors() {
asm volatile ("msr vbar_el1, %... | 26.425197 | 161 | 0.637217 | kITerE |
f3b93238faf0dd7870d5a703b97ec754824b1ca7 | 8,515 | cc | C++ | content/browser/compositor/reflector_impl.cc | Fusion-Rom/android_external_chromium_org | d8b126911c6ea9753e9f526bee5654419e1d0ebd | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2020-01-25T09:58:49.000Z | 2020-01-25T09:58:49.000Z | content/browser/compositor/reflector_impl.cc | Fusion-Rom/android_external_chromium_org | d8b126911c6ea9753e9f526bee5654419e1d0ebd | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | content/browser/compositor/reflector_impl.cc | Fusion-Rom/android_external_chromium_org | d8b126911c6ea9753e9f526bee5654419e1d0ebd | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2020-11-04T06:34:36.000Z | 2020-11-04T06:34:36.000Z | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/browser/compositor/reflector_impl.h"
#include "base/bind.h"
#include "base/location.h"
#include "content/browser/compositor/browser_com... | 34.613821 | 80 | 0.723899 | Fusion-Rom |
f3bba51408e86ab52e64850002a9730e4b3a3adc | 2,984 | hpp | C++ | copper/hpp/triangle.hpp | CobaltXII/sterling | abef14ec8019aca55e359f78da5711c70be77d35 | [
"MIT"
] | 1 | 2019-03-15T11:55:15.000Z | 2019-03-15T11:55:15.000Z | copper/hpp/triangle.hpp | CobaltXII/copper | abef14ec8019aca55e359f78da5711c70be77d35 | [
"MIT"
] | null | null | null | copper/hpp/triangle.hpp | CobaltXII/copper | abef14ec8019aca55e359f78da5711c70be77d35 | [
"MIT"
] | null | null | null | #pragma once
struct triangle: shape
{
float x0;
float y0;
float z0;
float x1;
float y1;
float z1;
float x2;
float y2;
float z2;
float norm_x;
float norm_y;
float norm_z;
triangle
(
material_type material,
float x0,
float y0,
float z0,
float x1,
float y1,
float z1,
float x2,
flo... | 15.957219 | 52 | 0.632708 | CobaltXII |
f3bf94ef4e82be09f5968720040b6142bcd48cd7 | 11,104 | cpp | C++ | src/tools/codeeditor/docsearchcontroller.cpp | SpartanJ/eepp | 21e8ae53af9bc5eb3fd1043376f2b3a4b3ff5fac | [
"MIT"
] | 37 | 2020-01-20T06:21:24.000Z | 2022-03-21T17:44:50.000Z | src/tools/codeeditor/docsearchcontroller.cpp | SpartanJ/eepp | 21e8ae53af9bc5eb3fd1043376f2b3a4b3ff5fac | [
"MIT"
] | null | null | null | src/tools/codeeditor/docsearchcontroller.cpp | SpartanJ/eepp | 21e8ae53af9bc5eb3fd1043376f2b3a4b3ff5fac | [
"MIT"
] | 9 | 2019-03-22T00:33:07.000Z | 2022-03-01T01:35:59.000Z | #include "docsearchcontroller.hpp"
#include "codeeditor.hpp"
DocSearchController::DocSearchController( UICodeEditorSplitter* editorSplitter, App* app ) :
mEditorSplitter( editorSplitter ), mApp( app ) {}
void DocSearchController::initSearchBar( UISearchBar* searchBar ) {
mSearchBarLayout = searchBar;
mSearchBarLay... | 39.375887 | 96 | 0.706412 | SpartanJ |
f3c3ee553473a1a56d52f298a0d5cdae363bcf10 | 434 | cpp | C++ | level_zero/core/source/gen12lp/adlp/cmdqueue_adlp.cpp | troels/compute-runtime | 3269e719a3ee7bcd97c50ec2cfe78fc8674adec0 | [
"Intel",
"MIT"
] | 778 | 2017-09-29T20:02:43.000Z | 2022-03-31T15:35:28.000Z | level_zero/core/source/gen12lp/adlp/cmdqueue_adlp.cpp | troels/compute-runtime | 3269e719a3ee7bcd97c50ec2cfe78fc8674adec0 | [
"Intel",
"MIT"
] | 478 | 2018-01-26T16:06:45.000Z | 2022-03-30T10:19:10.000Z | level_zero/core/source/gen12lp/adlp/cmdqueue_adlp.cpp | troels/compute-runtime | 3269e719a3ee7bcd97c50ec2cfe78fc8674adec0 | [
"Intel",
"MIT"
] | 215 | 2018-01-30T08:39:32.000Z | 2022-03-29T11:08:51.000Z | /*
* Copyright (C) 2021 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "level_zero/core/source/cmdqueue/cmdqueue_hw.inl"
#include "level_zero/core/source/cmdqueue/cmdqueue_hw_base.inl"
#include "cmdqueue_extended.inl"
namespace L0 {
template struct CommandQueueHw<IGFX_GEN12LP_CORE>;
static Com... | 24.111111 | 87 | 0.790323 | troels |
f3ca6f4d336f0b837cea93e26f59bcefe1e2cf61 | 625 | cpp | C++ | SimpleEngine/Simulation/WorldLogic.cpp | RichardBangs/SimpleEngine | a4acdf11d05e018db5a55994291475df55856c0c | [
"MIT"
] | null | null | null | SimpleEngine/Simulation/WorldLogic.cpp | RichardBangs/SimpleEngine | a4acdf11d05e018db5a55994291475df55856c0c | [
"MIT"
] | null | null | null | SimpleEngine/Simulation/WorldLogic.cpp | RichardBangs/SimpleEngine | a4acdf11d05e018db5a55994291475df55856c0c | [
"MIT"
] | null | null | null | #include "WorldLogic.h"
#include "WorldState.h"
#include "GameState.h"
#include "Events\ObjectDestroyedEvent.h"
namespace Simulation
{
WorldLogic::WorldLogic()
{
}
WorldLogic::~WorldLogic()
{
}
void WorldLogic::Tick(WorldState* thisWorld, GameState* stateLastFrame, std::vector<EventBase*> eventsThisFrame)
... | 17.857143 | 113 | 0.68 | RichardBangs |
f3d050ec97a6e657e2d1e97828d0134d2540e995 | 2,353 | hpp | C++ | grad_computer.hpp | auckland-cosmo/pspectre | c9114411bc9db0c353324c0f7c5ce2977daab452 | [
"BSD-2-Clause"
] | 1 | 2019-03-07T13:17:43.000Z | 2019-03-07T13:17:43.000Z | grad_computer.hpp | auckland-cosmo/pspectre | c9114411bc9db0c353324c0f7c5ce2977daab452 | [
"BSD-2-Clause"
] | 1 | 2019-08-21T01:08:43.000Z | 2019-08-21T01:08:43.000Z | grad_computer.hpp | auckland-cosmo/pspectre | c9114411bc9db0c353324c0f7c5ce2977daab452 | [
"BSD-2-Clause"
] | 4 | 2019-03-07T13:17:46.000Z | 2020-06-05T07:00:50.000Z | /*
* SpectRE - A Spectral Code for Reheating
* Copyright (C) 2009-2010 Hal Finkel, Nathaniel Roth and Richard Easther
*
* 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 ret... | 32.232877 | 85 | 0.740756 | auckland-cosmo |
f3d234bbf34a00d7ee88677f1fee56a2095e917b | 695 | hpp | C++ | src/backend/opencl/solve.hpp | JuliaComputing/arrayfire | 93427f09ff928f97df29c0e358c3fcf6b478bec6 | [
"BSD-3-Clause"
] | 1 | 2018-06-14T23:49:18.000Z | 2018-06-14T23:49:18.000Z | src/backend/opencl/solve.hpp | JuliaComputing/arrayfire | 93427f09ff928f97df29c0e358c3fcf6b478bec6 | [
"BSD-3-Clause"
] | 1 | 2015-07-02T15:53:02.000Z | 2015-07-02T15:53:02.000Z | src/backend/opencl/solve.hpp | JuliaComputing/arrayfire | 93427f09ff928f97df29c0e358c3fcf6b478bec6 | [
"BSD-3-Clause"
] | 1 | 2018-02-26T17:11:03.000Z | 2018-02-26T17:11:03.000Z | /*******************************************************
* Copyright (c) 2014, ArrayFire
* All rights reserved.
*
* This file is distributed under 3-clause BSD license.
* The complete license agreement can be obtained at:
* http://arrayfire.com/licenses/BSD-3-Clause
**********************************************... | 31.590909 | 98 | 0.569784 | JuliaComputing |
f3d6029e8c4952c7d86d54ae1084376d2eb22cc7 | 654 | cc | C++ | zircon/system/ulib/zx/guest.cc | zhangpf/fuchsia-rs | 903568f28ddf45f09157ead36d61b50322c9cf49 | [
"BSD-3-Clause"
] | 49 | 2018-12-20T00:35:06.000Z | 2021-12-30T22:40:05.000Z | zircon/system/ulib/zx/guest.cc | zhangpf/fuchsia-rs | 903568f28ddf45f09157ead36d61b50322c9cf49 | [
"BSD-3-Clause"
] | 5 | 2020-09-06T09:02:06.000Z | 2022-03-02T04:44:22.000Z | zircon/system/ulib/zx/guest.cc | ZVNexus/fuchsia | c5610ad15208208c98693618a79c705af935270c | [
"BSD-3-Clause"
] | 21 | 2019-01-03T11:06:10.000Z | 2021-08-06T00:55:50.000Z | // Copyright 2018 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <lib/zx/guest.h>
#include <zircon/syscalls.h>
#include <lib/zx/vmar.h>
namespace zx {
zx_status_t guest::create(const resource& resource, uint... | 28.434783 | 80 | 0.678899 | zhangpf |
f3d9e15089af8235aca90e3dcc8bc194a1584881 | 9,769 | hpp | C++ | Code/Engine/Renderer/DebugObjectProperties.hpp | pronaypeddiraju/Engine | 0ca9720a00f51340c6eb6bba07d70972489663e8 | [
"Unlicense"
] | 1 | 2021-01-25T23:53:44.000Z | 2021-01-25T23:53:44.000Z | Code/Engine/Renderer/DebugObjectProperties.hpp | pronaypeddiraju/Engine | 0ca9720a00f51340c6eb6bba07d70972489663e8 | [
"Unlicense"
] | null | null | null | Code/Engine/Renderer/DebugObjectProperties.hpp | pronaypeddiraju/Engine | 0ca9720a00f51340c6eb6bba07d70972489663e8 | [
"Unlicense"
] | 1 | 2021-01-25T23:53:46.000Z | 2021-01-25T23:53:46.000Z | //------------------------------------------------------------------------------------------------------------------------------
#pragma once
//Engine Systems
#include "Engine/Commons/EngineCommon.hpp"
#include "Engine/Math/AABB2.hpp"
#include "Engine/Math/AABB3.hpp"
#include "Engine/Math/Capsule3D.hpp"
#include "Engin... | 33.686207 | 142 | 0.518784 | pronaypeddiraju |
f3dab8d3f7a83ef1bf5765005926c1f999cc2168 | 4,657 | cc | C++ | src/server.cc | nim65s/gepetto-viewer-corba | b0b59b43cc0466c310744d11d220e68bfa4f14fc | [
"BSD-3-Clause"
] | 5 | 2019-01-22T03:42:52.000Z | 2021-06-04T18:28:54.000Z | src/server.cc | nim65s/gepetto-viewer-corba | b0b59b43cc0466c310744d11d220e68bfa4f14fc | [
"BSD-3-Clause"
] | 57 | 2018-10-18T10:17:10.000Z | 2022-01-29T09:31:36.000Z | src/server.cc | humanoid-path-planner/gepetto-viewer-corba | b0b59b43cc0466c310744d11d220e68bfa4f14fc | [
"BSD-3-Clause"
] | 16 | 2015-01-08T17:16:47.000Z | 2018-07-06T12:13:03.000Z | // Copyright (C) 2014, 2010 by Mathieu Geisert, LAAS-CNRS.
//
// This file is part of the SceneViewer-corba.
//
// This software is provided "as is" without warranty of any kind,
// either expressed or implied, including but not limited to the
// implied warranties of fitness for a particular purpose.
//
// See the COP... | 29.66242 | 89 | 0.63732 | nim65s |
f3dc80f6d6932e33a11831e6471e86a45d66d3c8 | 3,786 | cc | C++ | hoomd/md/ConstraintSphereGPU.cc | XT-Lee/hoomd-blue | 0188f56f32c4a3efe0e74a3dc27397d6ec3469b0 | [
"BSD-3-Clause"
] | null | null | null | hoomd/md/ConstraintSphereGPU.cc | XT-Lee/hoomd-blue | 0188f56f32c4a3efe0e74a3dc27397d6ec3469b0 | [
"BSD-3-Clause"
] | null | null | null | hoomd/md/ConstraintSphereGPU.cc | XT-Lee/hoomd-blue | 0188f56f32c4a3efe0e74a3dc27397d6ec3469b0 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2009-2021 The Regents of the University of Michigan
// This file is part of the HOOMD-blue project, released under the BSD 3-Clause License.
// Maintainer: joaander
#include "ConstraintSphereGPU.h"
#include "ConstraintSphereGPU.cuh"
namespace py = pybind11;
using namespace std;
/*! \file Constrain... | 38.242424 | 100 | 0.568146 | XT-Lee |
f3dc8bbe8a15638956e6cfeb0799afbcdad66bcb | 1,199 | cpp | C++ | test/common/test_timestamp.cpp | mweisgut/duckdb | 4cff1d7957ce895dd9984a87aa20aef67f5986e6 | [
"MIT"
] | 1 | 2019-08-01T08:21:33.000Z | 2019-08-01T08:21:33.000Z | test/common/test_timestamp.cpp | mweisgut/duckdb | 4cff1d7957ce895dd9984a87aa20aef67f5986e6 | [
"MIT"
] | null | null | null | test/common/test_timestamp.cpp | mweisgut/duckdb | 4cff1d7957ce895dd9984a87aa20aef67f5986e6 | [
"MIT"
] | null | null | null | #include "catch.hpp"
#include "common/types/timestamp.hpp"
#include <vector>
using namespace duckdb;
using namespace std;
static void VerifyTimestamp(date_t date, dtime_t time, int64_t epoch) {
// create the timestamp from the string
timestamp_t stamp = Timestamp::FromString(Date::ToString(date) + " " + Time::ToSt... | 37.46875 | 94 | 0.717264 | mweisgut |
f3dcbbf606ae0721591c03266e840dbe96590b76 | 1,024 | cc | C++ | src/board/position.cc | wotulong/FoolGo | 0d18e78b0812f89eb55a19f67ee280d7dd74bb8e | [
"MIT"
] | null | null | null | src/board/position.cc | wotulong/FoolGo | 0d18e78b0812f89eb55a19f67ee280d7dd74bb8e | [
"MIT"
] | null | null | null | src/board/position.cc | wotulong/FoolGo | 0d18e78b0812f89eb55a19f67ee280d7dd74bb8e | [
"MIT"
] | 1 | 2020-03-23T12:51:41.000Z | 2020-03-23T12:51:41.000Z | #include "position.h"
#include <boost/format.hpp>
namespace foolgo {
namespace board {
using boost::format;
using std::string;
const BoardLen Position::STRAIGHT_ORNTTIONS[4][2] = { { 0, -1 }, { 1, 0 }, { 0,
1 }, { -1, 0 } };
const BoardLen Position::OBLIQUE_ORNTTIONS[4][2] = { { 1, -1 }, { 1, 1 }, { -1,
1 ... | 26.947368 | 79 | 0.642578 | wotulong |
f3dd15e76204984345697029ec31b4d838c80eeb | 13,823 | cpp | C++ | 3rdparty/spirv-tools/test/val/val_function_test.cpp | bencoyote/bgfx | feb453025d7d5ba423b1bbd11a33816a86644023 | [
"BSD-2-Clause"
] | 1 | 2019-07-30T09:37:27.000Z | 2019-07-30T09:37:27.000Z | 3rdparty/spirv-tools/test/val/val_function_test.cpp | Vaiklol/bgfx | 1196825aebc4b4cdf9acc6c632d002d3c91ba095 | [
"BSD-2-Clause"
] | null | null | null | 3rdparty/spirv-tools/test/val/val_function_test.cpp | Vaiklol/bgfx | 1196825aebc4b4cdf9acc6c632d002d3c91ba095 | [
"BSD-2-Clause"
] | 2 | 2020-03-07T17:59:02.000Z | 2021-04-16T17:22:59.000Z | // Copyright (c) 2019 Google LLC.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to... | 32.524706 | 80 | 0.669826 | bencoyote |
f3df7bf456716f6b3bd615f217e86def5818eea8 | 1,455 | hpp | C++ | include/crisp/interpreter/InterpretUserDefinedAST.hpp | pzque/crisp | 4c53db12a0cca5a0c4165b6333e2cdc574daaa4e | [
"Apache-2.0"
] | 3 | 2021-12-31T09:03:46.000Z | 2022-03-29T02:40:30.000Z | include/crisp/interpreter/InterpretUserDefinedAST.hpp | pzque/crisp | 4c53db12a0cca5a0c4165b6333e2cdc574daaa4e | [
"Apache-2.0"
] | null | null | null | include/crisp/interpreter/InterpretUserDefinedAST.hpp | pzque/crisp | 4c53db12a0cca5a0c4165b6333e2cdc574daaa4e | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2019 by Crisp 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 applicable law or agree... | 31.630435 | 77 | 0.720275 | pzque |
f3dfd78c5a2b822873fff33ac7e1c2b1e17312be | 11,055 | hh | C++ | include/maxscale/protocol2.hh | Daniel-Xu/MaxScale | 35d12c0c9b75c4571dbbeb983c740de098661de6 | [
"BSD-3-Clause"
] | null | null | null | include/maxscale/protocol2.hh | Daniel-Xu/MaxScale | 35d12c0c9b75c4571dbbeb983c740de098661de6 | [
"BSD-3-Clause"
] | null | null | null | include/maxscale/protocol2.hh | Daniel-Xu/MaxScale | 35d12c0c9b75c4571dbbeb983c740de098661de6 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2019 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
*
* Change Date: 2025-04-28
*
* On the date above, in accordance with the Business Source License, use
* of this software will be g... | 28.565891 | 106 | 0.66332 | Daniel-Xu |
f3e15d6b4923bd907532dd59b3ffb3cca232094f | 4,325 | cxx | C++ | Modules/IO/Base/src/itkRegularExpressionSeriesFileNames.cxx | CapeDrew/DCMTK-ITK | 440bf8ed100445396912cfd0aa72f36d4cdefe0c | [
"Apache-2.0"
] | 2 | 2015-06-19T07:18:36.000Z | 2019-04-18T07:28:23.000Z | Modules/IO/Base/src/itkRegularExpressionSeriesFileNames.cxx | CapeDrew/DCMTK-ITK | 440bf8ed100445396912cfd0aa72f36d4cdefe0c | [
"Apache-2.0"
] | null | null | null | Modules/IO/Base/src/itkRegularExpressionSeriesFileNames.cxx | CapeDrew/DCMTK-ITK | 440bf8ed100445396912cfd0aa72f36d4cdefe0c | [
"Apache-2.0"
] | 2 | 2017-05-02T07:18:49.000Z | 2020-04-30T01:37:35.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... | 30.457746 | 101 | 0.631445 | CapeDrew |
f3e1a955c90fa3020065005b71c325296758dea0 | 1,822 | hpp | C++ | libs/fnd/cmath/include/bksge/fnd/cmath/detail/sph_neumann_impl.hpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 4 | 2018-06-10T13:35:32.000Z | 2021-06-03T14:27:41.000Z | libs/fnd/cmath/include/bksge/fnd/cmath/detail/sph_neumann_impl.hpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 566 | 2017-01-31T05:36:09.000Z | 2022-02-09T05:04:37.000Z | libs/fnd/cmath/include/bksge/fnd/cmath/detail/sph_neumann_impl.hpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 1 | 2018-07-05T04:40:53.000Z | 2018-07-05T04:40:53.000Z | /**
* @file sph_neumann_impl.hpp
*
* @brief sph_neumann 関数の実装
*
* @author myoukaku
*/
#ifndef BKSGE_FND_CMATH_DETAIL_SPH_NEUMANN_IMPL_HPP
#define BKSGE_FND_CMATH_DETAIL_SPH_NEUMANN_IMPL_HPP
#include <bksge/fnd/cmath/isnan.hpp>
#include <bksge/fnd/cmath/detail/sph_bessel_jn.hpp>
#include <bksge/fnd... | 20.704545 | 94 | 0.716246 | myoukaku |
f3e21b4879890c56ff3ec94dd69083b78b703ad1 | 1,871 | cpp | C++ | library/cpp/blockcodecs/codecs/zstd/zstd.cpp | gwjknvwjn/catboost | a5644bf80e2e37985012fb3bdd285fc6d798c61c | [
"Apache-2.0"
] | 4 | 2020-06-24T06:07:52.000Z | 2021-04-16T22:58:09.000Z | library/cpp/blockcodecs/codecs/zstd/zstd.cpp | gwjknvwjn/catboost | a5644bf80e2e37985012fb3bdd285fc6d798c61c | [
"Apache-2.0"
] | null | null | null | library/cpp/blockcodecs/codecs/zstd/zstd.cpp | gwjknvwjn/catboost | a5644bf80e2e37985012fb3bdd285fc6d798c61c | [
"Apache-2.0"
] | 1 | 2020-10-17T09:28:08.000Z | 2020-10-17T09:28:08.000Z | #include <library/cpp/blockcodecs/core/codecs.h>
#include <library/cpp/blockcodecs/core/common.h>
#include <library/cpp/blockcodecs/core/register.h>
#define ZSTD_STATIC_LINKING_ONLY
#include <contrib/libs/zstd/zstd.h>
using namespace NBlockCodecs;
namespace {
struct TZStd08Codec: public TAddLengthCodec<TZStd08Co... | 31.183333 | 125 | 0.5938 | gwjknvwjn |
f3e5e1b8f97aef49070a35dc7a03dac8f4816e6d | 495 | cpp | C++ | examples/example3.cpp | waqqas/boost_sqlite | 5946f1d91a71e1bbc94da9270caef78d104873af | [
"BSD-3-Clause"
] | 2 | 2021-04-12T05:49:15.000Z | 2021-06-22T06:40:13.000Z | examples/example3.cpp | waqqas/boost_sqlite | 5946f1d91a71e1bbc94da9270caef78d104873af | [
"BSD-3-Clause"
] | null | null | null | examples/example3.cpp | waqqas/boost_sqlite | 5946f1d91a71e1bbc94da9270caef78d104873af | [
"BSD-3-Clause"
] | 1 | 2020-11-09T10:09:07.000Z | 2020-11-09T10:09:07.000Z |
#include "sqliter/sqliter.h"
#include <iostream>
#include <string>
using namespace sqliter::asio;
int main(int argc, char *argv[])
{
boost::asio::io_service io;
sqlite db(io);
if (argc != 2)
{
std::cout << argv[0] << " <sqlite db file>" << std::endl;
return -1;
}
db.open(argv[1... | 15.967742 | 61 | 0.563636 | waqqas |
f3e5f79765d6f4e37736c92540d50aa3125ff412 | 8,944 | cpp | C++ | mdc/src/v20200828/model/CreateInput.cpp | TencentCloud/tencentcloud-sdk-cpp-intl-en | 752c031f5ad2c96868183c5931eae3a42dd5ae6c | [
"Apache-2.0"
] | 1 | 2022-01-27T09:27:34.000Z | 2022-01-27T09:27:34.000Z | mdc/src/v20200828/model/CreateInput.cpp | TencentCloud/tencentcloud-sdk-cpp-intl-en | 752c031f5ad2c96868183c5931eae3a42dd5ae6c | [
"Apache-2.0"
] | null | null | null | mdc/src/v20200828/model/CreateInput.cpp | TencentCloud/tencentcloud-sdk-cpp-intl-en | 752c031f5ad2c96868183c5931eae3a42dd5ae6c | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | 28.758842 | 141 | 0.677549 | TencentCloud |
f3e63b07283666bfe6aacb4e9e2fbb7fd86d626f | 1,025 | cpp | C++ | Pdf/pdfix_sdk_example_cpp-master/src/StandardLicenseDeactivate.cpp | laoola/ProjectCode | 498a66cb9274f6bb7cca0d6e6052304d61740ba2 | [
"Unlicense"
] | 1 | 2021-08-23T05:56:09.000Z | 2021-08-23T05:56:09.000Z | Pdf/pdfix_sdk_example_cpp-master/src/StandardLicenseDeactivate.cpp | laoola/ProjectCode | 498a66cb9274f6bb7cca0d6e6052304d61740ba2 | [
"Unlicense"
] | null | null | null | Pdf/pdfix_sdk_example_cpp-master/src/StandardLicenseDeactivate.cpp | laoola/ProjectCode | 498a66cb9274f6bb7cca0d6e6052304d61740ba2 | [
"Unlicense"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////////////////////////
// StandardLicenseDeactivate.cpp
// Copyright (c) 2019 Pdfix. All Rights Reserved.
////////////////////////////////////////////////////////////////////////////////////////////////////
#include "pdfixsdksamples/Standard... | 26.973684 | 100 | 0.555122 | laoola |
f3ebb1b7c1aa09f9f05830500cf403ac6ccf4b92 | 3,874 | cpp | C++ | C++/test/check_biobase_matches.cpp | JohnReid/biopsy | 1eeb714ba5b53f2ecf776d865d32e2078cbc0338 | [
"MIT"
] | null | null | null | C++/test/check_biobase_matches.cpp | JohnReid/biopsy | 1eeb714ba5b53f2ecf776d865d32e2078cbc0338 | [
"MIT"
] | null | null | null | C++/test/check_biobase_matches.cpp | JohnReid/biopsy | 1eeb714ba5b53f2ecf776d865d32e2078cbc0338 | [
"MIT"
] | null | null | null |
#include "bio_test_data.h"
#include <bio/biobase_match.h>
#include <bio/matrix.h>
#include <bio/score_sequence.h>
USING_BIO_NS;
#include <boost/test/unit_test.hpp>
#include <boost/test/floating_point_comparison.hpp>
#include <boost/io/ios_state.hpp>
#include <boost/progress.hpp>
#include <boost/test/parameterized_t... | 34.900901 | 121 | 0.636035 | JohnReid |
f3ed2cfa2c8d264ea5ee1ea206ca9e13f3b1e6c1 | 1,405 | hpp | C++ | player/playerlib/android/render/MemcopyRender.hpp | zhenfei2016/FFL-v2 | 376c79a0611af580d4767a4bbb05822f1a4fd454 | [
"MIT"
] | null | null | null | player/playerlib/android/render/MemcopyRender.hpp | zhenfei2016/FFL-v2 | 376c79a0611af580d4767a4bbb05822f1a4fd454 | [
"MIT"
] | null | null | null | player/playerlib/android/render/MemcopyRender.hpp | zhenfei2016/FFL-v2 | 376c79a0611af580d4767a4bbb05822f1a4fd454 | [
"MIT"
] | null | null | null | /*
* This file is part of FFL project.
*
* The MIT License (MIT)
* Copyright (C) 2017-2018 zhufeifei All rights reserved.
*
* MemcopyRender.hpp
* Created by zhufeifei(34008081@qq.com) on 2018/06/28
* https://github.com/zhenfei2016/FFL-v2.git
* android ANativewindow数据拷贝显示方式
*
*/
#include "RenderInterface.hpp"... | 33.452381 | 143 | 0.649822 | zhenfei2016 |
f3f04d0fe9e13ec4f724e2c3d44bd42d5425d784 | 804 | cpp | C++ | sa2-battle-network/OnGameState.cpp | michael-fadely/sa2-battle-network | c8391dc5fdc9f1b6fc6c0c5020bbe4baabbb0aff | [
"MIT"
] | 13 | 2019-06-29T19:38:46.000Z | 2022-01-27T07:52:15.000Z | sa2-battle-network/OnGameState.cpp | SonicFreak94/sa2-battle-network | c8391dc5fdc9f1b6fc6c0c5020bbe4baabbb0aff | [
"MIT"
] | 37 | 2015-10-17T08:33:42.000Z | 2018-03-11T03:10:04.000Z | sa2-battle-network/OnGameState.cpp | SonicFreak94/sa2-battle-network | c8391dc5fdc9f1b6fc6c0c5020bbe4baabbb0aff | [
"MIT"
] | 1 | 2021-09-17T06:50:34.000Z | 2021-09-17T06:50:34.000Z | #include "stdafx.h"
#include <SA2ModLoader.h> // for everything
#include "Networking.h" // for MessageID
#include "globals.h"
#include "OnGameState.h"
DataPointer(uint, dword_174B058, 0x174B058);
// Note that the name is misleading. This only happens when the gamestate changes to Ingame.
// TODO: Real OnGameState
... | 22.333333 | 92 | 0.748756 | michael-fadely |
f3f0538d7b85c0c80e81d28f73da3e71517e6530 | 1,472 | cpp | C++ | bftengine/tests/simpleStorage/ObjectsMetadataHandler.cpp | definitelyNotFBI/utt | 1695e3a1f81848e19b042cdc4db9cf1d263c26a9 | [
"Apache-2.0"
] | 340 | 2018-08-27T16:30:45.000Z | 2022-03-28T14:31:44.000Z | bftengine/tests/simpleStorage/ObjectsMetadataHandler.cpp | yuliasherman/concord-bft | 81c5278828c4d05f4822087659decd4a926e85c9 | [
"Apache-2.0"
] | 706 | 2018-09-02T17:50:32.000Z | 2022-03-31T13:03:15.000Z | bftengine/tests/simpleStorage/ObjectsMetadataHandler.cpp | glevkovich/concord-bft | a1b7b57472f5375230428d16c613a760b33233fa | [
"Apache-2.0"
] | 153 | 2018-08-29T05:37:25.000Z | 2022-03-23T14:08:45.000Z | // Concord
//
// Copyright (c) 2018 VMware, Inc. All Rights Reserved.
//
// This product is licensed to you under the Apache 2.0 license (the "License").
// You may not use this product except in compliance with the Apache 2.0
// License.
//
// This product may include a number of subcomponents with separate copyright
... | 30.666667 | 103 | 0.746603 | definitelyNotFBI |
f3f15b4488dabbd980c8a269c993305fe37e475f | 34,525 | hpp | C++ | src/include/sweet/sphere/SphereData_Spectral.hpp | valentinaschueller/sweet | 27e99c7a110c99deeadee70688c186d82b39ac90 | [
"MIT"
] | 6 | 2017-11-20T08:12:46.000Z | 2021-03-11T15:32:36.000Z | src/include/sweet/sphere/SphereData_Spectral.hpp | valentinaschueller/sweet | 27e99c7a110c99deeadee70688c186d82b39ac90 | [
"MIT"
] | 4 | 2018-02-02T21:46:33.000Z | 2022-01-11T11:10:27.000Z | src/include/sweet/sphere/SphereData_Spectral.hpp | valentinaschueller/sweet | 27e99c7a110c99deeadee70688c186d82b39ac90 | [
"MIT"
] | 12 | 2016-03-01T18:33:34.000Z | 2022-02-08T22:20:31.000Z | /*
* SphereData.hpp
*
* Created on: 9 Aug 2016
* Author: Martin Schreiber <schreiberx@gmail.com>
*/
#ifndef SWEET_SPHERE_DATA_SPECTRAL_HPP_
#define SWEET_SPHERE_DATA_SPECTRAL_HPP_
#include <complex>
#include <functional>
#include <array>
#include <cstring>
#include <iostream>
#include <fstream>
#include <i... | 22.894562 | 144 | 0.683852 | valentinaschueller |
f3f1aca35572a63cf1ee1c3582a44a241b834d5a | 478 | cpp | C++ | Algorithm_BaekJoon/1110.cpp | dongdong97/TIL | 22fab3bc5509ac46510071cb6a7ce390fd4df75a | [
"MIT"
] | null | null | null | Algorithm_BaekJoon/1110.cpp | dongdong97/TIL | 22fab3bc5509ac46510071cb6a7ce390fd4df75a | [
"MIT"
] | null | null | null | Algorithm_BaekJoon/1110.cpp | dongdong97/TIL | 22fab3bc5509ac46510071cb6a7ce390fd4df75a | [
"MIT"
] | null | null | null | ////
//// 1110.cpp
//// Algorithm
////
//// Created by 동균 on 2018. 6. 1..
//// Copyright © 2018년 동균. All rights reserved.
////
//
//#include <iostream>
//using namespace std;
//
//int main() {
//
// int number, number2 , tmp1, tmp2, tmp3;
// int cnt =0;
//
// cin >> number;
// number2 = number;
... | 16.482759 | 48 | 0.476987 | dongdong97 |
f3f37f3df5f380d30a4d8d0df2ef82493e3da8e8 | 1,285 | cpp | C++ | packages/nextclade/src/qc/ruleMixedSites.cpp | kibet-gilbert/nextclade | 21ac3c910ccdcbf1804f53273e6609ac20e760dc | [
"MIT"
] | 108 | 2020-09-29T14:06:08.000Z | 2022-03-19T03:07:35.000Z | packages/nextclade/src/qc/ruleMixedSites.cpp | amkram/nextclade | 3703f4013f69407c9b91172997abc2e19b902b91 | [
"MIT"
] | 500 | 2020-09-15T09:45:10.000Z | 2022-03-30T04:28:38.000Z | packages/nextclade/src/qc/ruleMixedSites.cpp | amkram/nextclade | 3703f4013f69407c9b91172997abc2e19b902b91 | [
"MIT"
] | 55 | 2020-10-13T11:40:47.000Z | 2022-02-27T04:35:12.000Z | #include "ruleMixedSites.h"
#include <frozen/set.h>
#include <nextclade/nextclade.h>
#include <algorithm>
#include <optional>
#include <vector>
#include "../utils/mapFind.h"
#include "getQcRuleStatus.h"
namespace Nextclade {
namespace {
constexpr frozen::set<Nucleotide, 6> GOOD_NUCLEOTIDES = {
Nucleotid... | 24.245283 | 93 | 0.635798 | kibet-gilbert |
f3f6941492d8fd5bd7965764ff995ac2282c7fad | 12,739 | cpp | C++ | avs/vis_avs/r_videodelay.cpp | czeskij/vis_avs | 10cbc47adbc128f17505c695535d8cbec243410e | [
"Unlicense"
] | null | null | null | avs/vis_avs/r_videodelay.cpp | czeskij/vis_avs | 10cbc47adbc128f17505c695535d8cbec243410e | [
"Unlicense"
] | null | null | null | avs/vis_avs/r_videodelay.cpp | czeskij/vis_avs | 10cbc47adbc128f17505c695535d8cbec243410e | [
"Unlicense"
] | null | null | null | /*
LICENSE
-------
Copyright 2005 Nullsoft, Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice,
this list of conditio... | 36.606322 | 206 | 0.572886 | czeskij |
f3f87b5cbc7421a4ef6d9b694a77ab668ec6aa8e | 1,858 | hpp | C++ | metrics.hpp | Steve132/librange | 5818a238dc0dc4d657dde8533cf6a7a9befe339e | [
"MIT"
] | null | null | null | metrics.hpp | Steve132/librange | 5818a238dc0dc4d657dde8533cf6a7a9befe339e | [
"MIT"
] | null | null | null | metrics.hpp | Steve132/librange | 5818a238dc0dc4d657dde8533cf6a7a9befe339e | [
"MIT"
] | null | null | null | #ifndef METRICS_HPP
#define METRICS_HPP
static const size_t MAX_NORM=~size_t(0);
template<class FloatType,size_t P>
struct Lnorm_impl
{
static FloatType call(const FloatType* f1,const FloatType* f2,size_t n,const std::vector<bool>& mask)
{
FloatType sm=0.0;
for(size_t di=0;di<n;di++)
{
if(mask.size() == n &... | 22.119048 | 114 | 0.661464 | Steve132 |
f3f97d9dda48b76df6f48b20bf558d7a52b13fd9 | 933 | cpp | C++ | client/public_key.cpp | irl-game/irl | ba507a93371ab172b705c1ede8cd062123fc96f5 | [
"MIT"
] | null | null | null | client/public_key.cpp | irl-game/irl | ba507a93371ab172b705c1ede8cd062123fc96f5 | [
"MIT"
] | 6 | 2020-02-16T21:25:21.000Z | 2020-03-11T07:42:00.000Z | client/public_key.cpp | irl-game/irl | ba507a93371ab172b705c1ede8cd062123fc96f5 | [
"MIT"
] | null | null | null | #include "public_key.hpp"
extern const RsaPublicKey PublicKey = {
0x30, 0x81, 0x89, 0x02, 0x81, 0x81, 0x00, 0xe0, 0x15, 0x69, 0x00, 0x55,
0x3c, 0x6a, 0x56, 0x35, 0x6d, 0x3c, 0x2a, 0x3d, 0xd6, 0xdc, 0x7a, 0xe2,
0x72, 0x3f, 0x87, 0xa3, 0x13, 0x26, 0x86, 0x75, 0x75, 0x79, 0x45, 0xbe,
0xc8, 0xb5, 0x57, 0xaa, 0x4a,... | 54.882353 | 73 | 0.655949 | irl-game |
f3fcec92c6daa5e81dcc7d85623348a157c8bbe2 | 5,269 | cc | C++ | ui/app_list/views/search_box_view.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 | ui/app_list/views/search_box_view.cc | devasia1000/chromium | 919a8a666862fb866a6bb7aa7f3ae8c0442b4828 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | ui/app_list/views/search_box_view.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 "ui/app_list/views/search_box_view.h"
#include <algorithm>
#include "grit/ui_resources.h"
#include "ui/app_list/search_box_model.h"
#includ... | 28.79235 | 80 | 0.728411 | devasia1000 |
f3fd26e46f21b6ecfb8fa6ef072ce98546c474fa | 48,543 | hpp | C++ | runtime.Kokkos.NET/Analyzes/RadialBasisFunctionInterp2D.hpp | trmcnealy/Kokkos.NET | d81aa03d720c7d8a089fdb42da18b240f127758c | [
"MIT"
] | null | null | null | runtime.Kokkos.NET/Analyzes/RadialBasisFunctionInterp2D.hpp | trmcnealy/Kokkos.NET | d81aa03d720c7d8a089fdb42da18b240f127758c | [
"MIT"
] | null | null | null | runtime.Kokkos.NET/Analyzes/RadialBasisFunctionInterp2D.hpp | trmcnealy/Kokkos.NET | d81aa03d720c7d8a089fdb42da18b240f127758c | [
"MIT"
] | null | null | null | #include <cmath>
#include <cstdlib>
#include <ctime>
#include <iomanip>
#include <iostream>
using namespace std;
#include "r8lib/r8lib.hpp"
#pragma once
//void daxpy ( int n, double da, double dx[], int incx, double dy[], int incy );
//double ddot ( int n, double dx[], int incx, double dy[], int incy );
//double dnr... | 24.198903 | 152 | 0.434378 | trmcnealy |
f3fdf26449b98a8d45a36da2f43552cd5a82462c | 16,748 | cpp | C++ | src/tasks/http/server/initialize_client_requests_task.cpp | proconsular/Email-Server | 4cc6974a5e086bc09a4c9e80c6e61b0302579d38 | [
"MIT"
] | null | null | null | src/tasks/http/server/initialize_client_requests_task.cpp | proconsular/Email-Server | 4cc6974a5e086bc09a4c9e80c6e61b0302579d38 | [
"MIT"
] | null | null | null | src/tasks/http/server/initialize_client_requests_task.cpp | proconsular/Email-Server | 4cc6974a5e086bc09a4c9e80c6e61b0302579d38 | [
"MIT"
] | null | null | null | //
// Created by Chris Luttio on 3/27/21.
//
#include "initialize_client_requests_task.h"
#include "load_requested_file_task.h"
#include "general/utils.h"
#include "general/route_resolver.h"
#include "authorize_user_task.h"
#include "jwt-cpp/jwt.h"
#include "general/json.hpp"
#include "objects/mail/email_parser.h"
#i... | 50.294294 | 141 | 0.34428 | proconsular |
f3ff7731859ca5aea0b95a5b4604fb8ce80ecb9b | 3,591 | cpp | C++ | src/pooling.cpp | kyper999/clDNN_neuset | 85148cef898dbf1b314ef742092824c447474f2d | [
"BSL-1.0",
"Intel",
"Apache-2.0"
] | 1 | 2018-06-07T09:21:08.000Z | 2018-06-07T09:21:08.000Z | src/pooling.cpp | kyper999/clDNN_neuset | 85148cef898dbf1b314ef742092824c447474f2d | [
"BSL-1.0",
"Intel",
"Apache-2.0"
] | null | null | null | src/pooling.cpp | kyper999/clDNN_neuset | 85148cef898dbf1b314ef742092824c447474f2d | [
"BSL-1.0",
"Intel",
"Apache-2.0"
] | null | null | null | /*
// Copyright (c) 2016 Intel Corporation
//
// 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... | 42.247059 | 146 | 0.646895 | kyper999 |
6d00895d14c5f6f9a4a3f7953782bd1c93a46107 | 1,806 | cpp | C++ | 10. DP/Q_stair-case.cpp | bhavinvirani/Competitive-Programming-coding-ninjas | 5e50ae7ad3fc969a4970f91f8d895c986353bb71 | [
"MIT"
] | null | null | null | 10. DP/Q_stair-case.cpp | bhavinvirani/Competitive-Programming-coding-ninjas | 5e50ae7ad3fc969a4970f91f8d895c986353bb71 | [
"MIT"
] | null | null | null | 10. DP/Q_stair-case.cpp | bhavinvirani/Competitive-Programming-coding-ninjas | 5e50ae7ad3fc969a4970f91f8d895c986353bb71 | [
"MIT"
] | null | null | null | /* StairCase Problem
Send Feedback
A child is running up a staircase with n steps and can hop either 1 step, 2 steps or 3 steps at a time. Implement a method to count how many possible ways the child can run up to the stairs. You need to return all possible number of ways.
Time complexity of your code should be O(n).
S... | 22.02439 | 238 | 0.555925 | bhavinvirani |
6d00f970a8e31c0262c67ea67b7b2442ae81fd8f | 1,269 | hpp | C++ | Systems/Physics/EllipsoidCollider.hpp | RachelWilSingh/ZeroCore | e9a2f82d395e5c89fb98eceac44ce60d016dbff3 | [
"MIT"
] | 52 | 2018-09-11T17:18:35.000Z | 2022-03-13T15:28:21.000Z | Systems/Physics/EllipsoidCollider.hpp | RachelWilSingh/ZeroCore | e9a2f82d395e5c89fb98eceac44ce60d016dbff3 | [
"MIT"
] | 1,409 | 2018-09-19T18:03:43.000Z | 2021-06-09T08:33:33.000Z | Systems/Physics/EllipsoidCollider.hpp | RachelWilSingh/ZeroCore | e9a2f82d395e5c89fb98eceac44ce60d016dbff3 | [
"MIT"
] | 26 | 2018-09-11T17:16:32.000Z | 2021-11-22T06:21:19.000Z | ///////////////////////////////////////////////////////////////////////////////
///
/// Authors: Joshua Claeys, Joshua Davis
/// Copyright 2010-2017, DigiPen Institute of Technology
///
///////////////////////////////////////////////////////////////////////////////
#pragma once
namespace Zero
{
/// Define... | 28.840909 | 106 | 0.638298 | RachelWilSingh |
6d0282d543b2fffb53690d952166994781812219 | 347 | cpp | C++ | arc/arc038/b/main.cpp | wotsushi/competitive-programming | 17ec8fd5e1c23aee626aee70b1c0da8d7f8b8c86 | [
"MIT"
] | 3 | 2019-06-25T06:17:38.000Z | 2019-07-13T15:18:51.000Z | arc/arc038/b/main.cpp | wotsushi/competitive-programming | 17ec8fd5e1c23aee626aee70b1c0da8d7f8b8c86 | [
"MIT"
] | null | null | null | arc/arc038/b/main.cpp | wotsushi/competitive-programming | 17ec8fd5e1c23aee626aee70b1c0da8d7f8b8c86 | [
"MIT"
] | null | null | null | #include "template.hpp"
int main() {
ll(H, W);
vin(string, S, H);
auto dp = vecv(bool, H + 1, W + 1, true);
rrep(i, H) {
rrep(j, W) {
if (S[i][j] == '#') {
dp[i][j] = true;
} else {
dp[i][j] = not(dp[i + 1][j] and dp[i][j + 1] and dp[i + 1][j + 1]);
}
}
}
yes(dp[0]... | 19.277778 | 75 | 0.397695 | wotsushi |
6d05166714660b022668d3a4249c41cc957e5644 | 6,055 | cpp | C++ | test/ProcessRegionAggregatorTest.cpp | avilcheslopez/geopm | 35ad0af3f17f42baa009c97ed45eca24333daf33 | [
"MIT",
"BSD-3-Clause"
] | null | null | null | test/ProcessRegionAggregatorTest.cpp | avilcheslopez/geopm | 35ad0af3f17f42baa009c97ed45eca24333daf33 | [
"MIT",
"BSD-3-Clause"
] | null | null | null | test/ProcessRegionAggregatorTest.cpp | avilcheslopez/geopm | 35ad0af3f17f42baa009c97ed45eca24333daf33 | [
"MIT",
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2015 - 2022, Intel Corporation
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <memory>
#include "gtest/gtest.h"
#include "gmock/gmock.h"
#include "ProcessRegionAggregator.hpp"
#include "record.hpp"
#include "geopm_test.hpp"
#include "MockApplicationSampler.hpp"
using geopm::ProcessRegionA... | 33.638889 | 94 | 0.631049 | avilcheslopez |
6d07102768ee771dfda1082bb8778c914213efac | 1,701 | cpp | C++ | devel/game/PoweredByWindow.cpp | madeso/hopper | ccf330c8f400678f5f5dceea25c0374ed99be511 | [
"WTFPL"
] | null | null | null | devel/game/PoweredByWindow.cpp | madeso/hopper | ccf330c8f400678f5f5dceea25c0374ed99be511 | [
"WTFPL"
] | null | null | null | devel/game/PoweredByWindow.cpp | madeso/hopper | ccf330c8f400678f5f5dceea25c0374ed99be511 | [
"WTFPL"
] | 2 | 2019-04-26T03:00:59.000Z | 2022-01-04T17:36:28.000Z |
#include "PoweredByWindow.h"
#include "screen.h"
CPoweredByWindow::CPoweredByWindow() {
mGUI = DynaGUI::getInstance();
// mText = mGUI->createWindow( BetaGUI::MAX, BetaGUI::CENTERED );
mWindow = mGUI->createWindow( DWindow::MAX, DWindow::CENTERED );
mWindow->addText( "Powered by :", 175 );
m... | 21.2625 | 82 | 0.600823 | madeso |
6d0718a12956ee63c198b06128b2d6bb453f6a3e | 5,968 | cpp | C++ | src/bgwin.cpp | zeralight/hikvision-liveview | ce9ac88821c27689112c5c03a1096c1d42f0b793 | [
"Apache-2.0"
] | 1 | 2021-05-24T03:55:10.000Z | 2021-05-24T03:55:10.000Z | src/bgwin.cpp | zeralight/hikvision-liveview | ce9ac88821c27689112c5c03a1096c1d42f0b793 | [
"Apache-2.0"
] | null | null | null | src/bgwin.cpp | zeralight/hikvision-liveview | ce9ac88821c27689112c5c03a1096c1d42f0b793 | [
"Apache-2.0"
] | 1 | 2021-10-05T11:30:33.000Z | 2021-10-05T11:30:33.000Z | #include "winheaders.h"
#include <cmath>
#include <functional>
#include <future>
#include <iostream>
#include <queue>
#include <thread>
#include <utility>
#include "HCNetSDK.h"
#include "bgwin.h"
#include "cursors.h"
#include "main.h"
#include "synchronized_ostream.h"
#include "util.h"
#include "s... | 28.830918 | 101 | 0.632875 | zeralight |
6d07c9ca38de896b5121e64fe609f68894bcb4d4 | 2,352 | cpp | C++ | Source/Render.cpp | cschladetsch/VulkanDemo | ea3ebd86f47c2d8f37b9eb790253e0a55284e943 | [
"MIT"
] | null | null | null | Source/Render.cpp | cschladetsch/VulkanDemo | ea3ebd86f47c2d8f37b9eb790253e0a55284e943 | [
"MIT"
] | null | null | null | Source/Render.cpp | cschladetsch/VulkanDemo | ea3ebd86f47c2d8f37b9eb790253e0a55284e943 | [
"MIT"
] | null | null | null | #include "vtb/Render.hpp"
#include "vtb/Device.hpp"
#include "vtb/SwapChain.hpp"
#include "vtb/Semaphore.hpp"
VTB_BEGIN
void Render::Create(
const Device& device,
const SwapChain& swapChain,
const std::vector<VkCommandBuffer>& buffers)
{
device_ = &device;
swapChain_ = &swapChain;
commandBuffe... | 34.588235 | 119 | 0.738946 | cschladetsch |
6d09abf8e4aa4b5966027c71f956344eb12a758d | 4,778 | cpp | C++ | allegro-5.0/examples/ex_audio_props.cpp | fsande/PFC-2012-2013-EMIR-PedroHernandez | 2387a8e97ee399ae453f3f9e43e2dd1cb4c0cd4c | [
"MIT"
] | null | null | null | allegro-5.0/examples/ex_audio_props.cpp | fsande/PFC-2012-2013-EMIR-PedroHernandez | 2387a8e97ee399ae453f3f9e43e2dd1cb4c0cd4c | [
"MIT"
] | null | null | null | allegro-5.0/examples/ex_audio_props.cpp | fsande/PFC-2012-2013-EMIR-PedroHernandez | 2387a8e97ee399ae453f3f9e43e2dd1cb4c0cd4c | [
"MIT"
] | null | null | null | /*
* Example program for the Allegro library, by Peter Wang.
*
* Test audio properties (gain and panning, for now).
*/
#include "allegro5/allegro.h"
#include "allegro5/allegro_image.h"
#include "allegro5/allegro_font.h"
#include "allegro5/allegro_primitives.h"
#include "allegro5/allegro_audio.h"
#include "al... | 23.653465 | 75 | 0.66869 | fsande |
6d09f3888fd57c69b14fae18c602bf3b1c68a260 | 2,698 | hh | C++ | src/windows/kernel/nt/types/registry/HIVE_IMPL.hh | srpape/IntroVirt | fe553221c40b8ef71f06e79c9d54d9e123a06c89 | [
"Apache-2.0"
] | null | null | null | src/windows/kernel/nt/types/registry/HIVE_IMPL.hh | srpape/IntroVirt | fe553221c40b8ef71f06e79c9d54d9e123a06c89 | [
"Apache-2.0"
] | null | null | null | src/windows/kernel/nt/types/registry/HIVE_IMPL.hh | srpape/IntroVirt | fe553221c40b8ef71f06e79c9d54d9e123a06c89 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2021 Assured Information Security, 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 a... | 32.506024 | 84 | 0.752039 | srpape |
6d0e9d9ba5800bc7279128bb9514268c45937e64 | 70 | cpp | C++ | Source/RenderSettings.cpp | historyme/MineCraft-One-Week-Challenge | 7053beef10f841f52879e025026d08e4c26c4b62 | [
"Apache-2.0"
] | 1 | 2020-04-21T18:47:09.000Z | 2020-04-21T18:47:09.000Z | Source/RenderSettings.cpp | UglySwedishFish/MineCraft-One-Week-Challenge | 2d8859a977224c1f3d184ab8f2d50f17e43ce6ba | [
"Apache-2.0"
] | null | null | null | Source/RenderSettings.cpp | UglySwedishFish/MineCraft-One-Week-Challenge | 2d8859a977224c1f3d184ab8f2d50f17e43ce6ba | [
"Apache-2.0"
] | 1 | 2018-09-14T09:01:50.000Z | 2018-09-14T09:01:50.000Z | #include "RenderSettings.h"
RenderSettings g_renderSettings = {0, 0}; | 23.333333 | 41 | 0.771429 | historyme |
6d0f175c01af31d5bfb0c5bea4d8f9ce695de2c7 | 7,129 | cpp | C++ | chocChipChess/search.cpp | GenericCinnamon/chocchipchess | 793ea775b6b96df1157c9e712a420add7d21f89b | [
"MIT"
] | null | null | null | chocChipChess/search.cpp | GenericCinnamon/chocchipchess | 793ea775b6b96df1157c9e712a420add7d21f89b | [
"MIT"
] | null | null | null | chocChipChess/search.cpp | GenericCinnamon/chocchipchess | 793ea775b6b96df1157c9e712a420add7d21f89b | [
"MIT"
] | null | null | null | #include "search.h"
#include <math.h>
Search::Search()
{
}
//function negamax(node, depth, α, β, color)
int Search::negamax(Position& position, int depth, int alpha, int beta)
{
if (stopThinking)
throw exit_search();
// From https://en.wikipedia.org/wiki/Negamax
//alphaOrig : = α
int... | 29.217213 | 120 | 0.605695 | GenericCinnamon |
6d108cff1f392ac70a03f7d89aa3b8edb99e29eb | 1,188 | cpp | C++ | framework/statusobject.cpp | kephale/Physics-Abstraction-Layer | 3d5ef62213143bb9ddc410edef348c94bda70cab | [
"BSD-3-Clause"
] | 6 | 2018-02-27T12:32:05.000Z | 2020-12-21T09:43:38.000Z | framework/statusobject.cpp | 5l1v3r1/Physics-Abstraction-Layer | 3d5ef62213143bb9ddc410edef348c94bda70cab | [
"BSD-3-Clause"
] | null | null | null | framework/statusobject.cpp | 5l1v3r1/Physics-Abstraction-Layer | 3d5ef62213143bb9ddc410edef348c94bda70cab | [
"BSD-3-Clause"
] | 4 | 2015-07-25T16:55:16.000Z | 2020-07-15T05:46:30.000Z | #include "statusobject.h"
//(c) Adrian Boeing 2004, see liscence.txt (BSD liscence)
/*
Abstract:
Status object for message/error passing, without exceptions
Author:
Adrian Boeing
Revision History:
Version 1.1 : 04/08/03
TODO:
-Allow integration of status tracker, or similar, to enable multiple path error r... | 23.294118 | 109 | 0.743266 | kephale |
6d11c34c4c0f95e44b6fd6706510363a865d813d | 4,839 | cpp | C++ | src/aimp_dotnet/SDK/MusicLibrary/DataFilter/AimpDataFilterGroup.cpp | Smartoteka/aimp_dotnet | 544502b8d080c9280ba11917ef0cc3e8dec44234 | [
"Apache-2.0"
] | 52 | 2015-04-14T14:39:30.000Z | 2022-02-07T07:16:05.000Z | src/aimp_dotnet/SDK/MusicLibrary/DataFilter/AimpDataFilterGroup.cpp | Smartoteka/aimp_dotnet | 544502b8d080c9280ba11917ef0cc3e8dec44234 | [
"Apache-2.0"
] | 11 | 2015-04-02T10:45:55.000Z | 2022-02-03T07:21:53.000Z | src/aimp_dotnet/SDK/MusicLibrary/DataFilter/AimpDataFilterGroup.cpp | Smartoteka/aimp_dotnet | 544502b8d080c9280ba11917ef0cc3e8dec44234 | [
"Apache-2.0"
] | 9 | 2015-04-05T18:25:57.000Z | 2022-02-07T07:20:23.000Z | // ----------------------------------------------------
// AIMP DotNet SDK
// Copyright (c) 2014 - 2020 Evgeniy Bogdan
// https://github.com/martin211/aimp_dotnet
// Mail: mail4evgeniy@gmail.com
// ----------------------------------------------------
#include "Stdafx.h"
#include "AimpDataFilterGroup.h"
#include "AimpD... | 32.695946 | 119 | 0.701178 | Smartoteka |
6d1337af03e61ddd1c955499c7c72044c3eb2584 | 13,491 | cpp | C++ | src/pal/tests/palsuite/file_io/MoveFileA/test1/MoveFileA.cpp | mans0954/debian-dotnet-coreclr | 5e42f510f19534800c8271bf83a9bf5e0c730b84 | [
"MIT"
] | 6 | 2017-09-22T06:55:45.000Z | 2021-07-02T07:07:08.000Z | src/pal/tests/palsuite/file_io/MoveFileA/test1/MoveFileA.cpp | mthalman/coreclr | 102bea2e12753af9b723cf5370108b7eea3d74cb | [
"MIT"
] | 2 | 2017-09-23T08:21:05.000Z | 2017-09-27T03:31:06.000Z | src/pal/tests/palsuite/file_io/MoveFileA/test1/MoveFileA.cpp | mthalman/coreclr | 102bea2e12753af9b723cf5370108b7eea3d74cb | [
"MIT"
] | 2 | 2017-06-04T15:47:12.000Z | 2020-03-16T07:01:47.000Z | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
/*=====================================================================
**
** Source: MoveFileA.c
**
** Purpose: Te... | 28.704255 | 135 | 0.559262 | mans0954 |
6d17b72637d5643b6b1ef7724ba53c07b8f67c4e | 9,369 | hpp | C++ | externals/stlsoft-1.9.118/include/inetstl/error/exceptions.hpp | betasheet/diffingo | 285d21b16c118155e5c149b20fcb20a20276f3d7 | [
"MIT"
] | 17 | 2015-03-26T14:10:25.000Z | 2022-02-09T20:55:04.000Z | externals/stlsoft-1.9.118/include/inetstl/error/exceptions.hpp | betasheet/diffingo | 285d21b16c118155e5c149b20fcb20a20276f3d7 | [
"MIT"
] | null | null | null | externals/stlsoft-1.9.118/include/inetstl/error/exceptions.hpp | betasheet/diffingo | 285d21b16c118155e5c149b20fcb20a20276f3d7 | [
"MIT"
] | 3 | 2019-05-05T22:10:56.000Z | 2019-08-22T22:24:23.000Z | /* /////////////////////////////////////////////////////////////////////////
* File: inetstl/error/exceptions.hpp
*
* Purpose: Contains the internet_exception class.
*
* Created: 25th April 2004
* Updated: 10th August 2009
*
* Home: http://stlsoft.org/
*
* Copyright (c) 200... | 31.23 | 83 | 0.62045 | betasheet |
6d1843e5d96480fee0262275e9f376e0f8684137 | 792 | cpp | C++ | snippets/cpp/VS_Snippets_CLR_System/system.Decimal.ConvFrom.SInts/CPP/cfromint16.cpp | BohdanMosiyuk/samples | 59d435ba9e61e0fc19f5176c96b1cdbd53596142 | [
"CC-BY-4.0",
"MIT"
] | 2 | 2020-03-12T19:26:36.000Z | 2022-01-10T21:45:33.000Z | snippets/cpp/VS_Snippets_CLR_System/system.Decimal.ConvFrom.SInts/CPP/cfromint16.cpp | BohdanMosiyuk/samples | 59d435ba9e61e0fc19f5176c96b1cdbd53596142 | [
"CC-BY-4.0",
"MIT"
] | 555 | 2019-09-23T22:22:58.000Z | 2021-07-15T18:51:12.000Z | snippets/cpp/VS_Snippets_CLR_System/system.Decimal.ConvFrom.SInts/CPP/cfromint16.cpp | BohdanMosiyuk/samples | 59d435ba9e61e0fc19f5176c96b1cdbd53596142 | [
"CC-BY-4.0",
"MIT"
] | 3 | 2020-01-29T16:31:15.000Z | 2021-08-24T07:00:15.000Z | //<Snippet3>
using namespace System;
void main()
{
// Define an array of 16-bit integer values.
array<Int16>^ values = { Int16::MinValue, Int16::MaxValue,
0xFFF, 12345, -10000 };
// Convert each value to a Decimal.
for each (Int16 value in values) {
Decimal... | 33 | 64 | 0.526515 | BohdanMosiyuk |
6d18e091c4fb941c97454f0a7a5347699a590586 | 3,434 | cpp | C++ | Source/PanelConfiguration.cpp | solidajenjo/Engine | 409516f15e0f083e79b749b9c9184f2f04184325 | [
"MIT"
] | 10 | 2019-02-25T11:36:23.000Z | 2021-11-03T22:51:30.000Z | Source/PanelConfiguration.cpp | solidajenjo/Engine | 409516f15e0f083e79b749b9c9184f2f04184325 | [
"MIT"
] | 146 | 2019-02-05T13:57:33.000Z | 2019-11-07T16:21:31.000Z | Source/PanelConfiguration.cpp | FractalPuppy/Engine | 409516f15e0f083e79b749b9c9184f2f04184325 | [
"MIT"
] | 3 | 2019-11-17T20:49:12.000Z | 2020-04-19T17:28:28.000Z | #include "PanelConfiguration.h"
#include "Application.h"
#include "ModuleWindow.h"
#include "ModuleRender.h"
#include "ModuleCamera.h"
#include "ModuleInput.h"
#include "ModuleTextures.h"
#include "ModuleScene.h"
#include "ModuleScript.h"
#include "ModuleUI.h"
#include "ModuleAudioManager.h"
#include "imgui.h"
#include... | 21.872611 | 88 | 0.665987 | solidajenjo |
6d1999805e0042b613ef2c70600491b641c28346 | 248 | cpp | C++ | tournaments/phoneCall/phoneCall.cpp | gurfinkel/codeSignal | 114817947ac6311bd53a48f0f0e17c0614bf7911 | [
"MIT"
] | 5 | 2020-02-06T09:51:22.000Z | 2021-03-19T00:18:44.000Z | tournaments/phoneCall/phoneCall.cpp | gurfinkel/codeSignal | 114817947ac6311bd53a48f0f0e17c0614bf7911 | [
"MIT"
] | null | null | null | tournaments/phoneCall/phoneCall.cpp | gurfinkel/codeSignal | 114817947ac6311bd53a48f0f0e17c0614bf7911 | [
"MIT"
] | 3 | 2019-09-27T13:06:21.000Z | 2021-04-20T23:13:17.000Z | int phoneCall(int min1, int min2_10, int min11, int s) {
if (s < min1) {
return 0;
}
for (int i = 2; i <= 10; i++) {
if (s < min1 + min2_10 * (i - 1)) {
return i - 1;
}
}
return 10 + (s - min1 - min2_10 * 9) / min11;
}
| 19.076923 | 56 | 0.471774 | gurfinkel |