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 109 | 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 48.5k ⌀ | 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b46d486ba1961e9b0efa39bc2b25efa8b26cf3c8 | 27,018 | cpp | C++ | thorlcr/activities/join/thjoinslave.cpp | miguelvazq/HPCC-Platform | 22ad8e5fcb59626abfd8febecbdfccb1e9fb0aa5 | [
"Apache-2.0"
] | null | null | null | thorlcr/activities/join/thjoinslave.cpp | miguelvazq/HPCC-Platform | 22ad8e5fcb59626abfd8febecbdfccb1e9fb0aa5 | [
"Apache-2.0"
] | null | null | null | thorlcr/activities/join/thjoinslave.cpp | miguelvazq/HPCC-Platform | 22ad8e5fcb59626abfd8febecbdfccb1e9fb0aa5 | [
"Apache-2.0"
] | null | null | null | /*##############################################################################
HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License... | 33.984906 | 285 | 0.624547 | miguelvazq |
b47224875444aef713e05640c3e90b14dbf30588 | 325 | hpp | C++ | Engine/Code/Engine/Renderer/CubeMap.hpp | tonyatpeking/SmuSpecialTopic | b61d44e4efacb3c504847deb4d00234601bca49c | [
"MIT"
] | null | null | null | Engine/Code/Engine/Renderer/CubeMap.hpp | tonyatpeking/SmuSpecialTopic | b61d44e4efacb3c504847deb4d00234601bca49c | [
"MIT"
] | null | null | null | Engine/Code/Engine/Renderer/CubeMap.hpp | tonyatpeking/SmuSpecialTopic | b61d44e4efacb3c504847deb4d00234601bca49c | [
"MIT"
] | null | null | null | #pragma once
#include "Engine/Core/Types.hpp"
#include "Texture.hpp"
#include "Engine/Renderer/RendererEnums.hpp"
class CubeMap : public Texture
{
public:
virtual ~CubeMap();
CubeMap( const String& imageFilePath );
CubeMap( Image* image );
virtual void MakeFromImage( Image* image ) override;
private... | 18.055556 | 56 | 0.710769 | tonyatpeking |
b4749f6cc2b75193a33105d5d5a7e3dc1656f470 | 2,666 | cc | C++ | cc/subtle/test_util.cc | rohansingh/tink | c2338bef4663870d3855fb0236ab0092d976434d | [
"Apache-2.0"
] | 1 | 2022-03-15T03:21:44.000Z | 2022-03-15T03:21:44.000Z | cc/subtle/test_util.cc | frankfanslc/tink | fee9b771017baeaa65f13f82c8a10b3a1119d44d | [
"Apache-2.0"
] | null | null | null | cc/subtle/test_util.cc | frankfanslc/tink | fee9b771017baeaa65f13f82c8a10b3a1119d44d | [
"Apache-2.0"
] | null | null | null | // Copyright 2019 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 32.512195 | 79 | 0.676669 | rohansingh |
b4759c2eff117a654f09c1b7cb029cf17ff7b37f | 390 | cpp | C++ | 01-Recover/LT0704.cpp | odeinjul/Solution_New | 12593def5ae867e8193847184792b7fbe00aeff0 | [
"MIT"
] | null | null | null | 01-Recover/LT0704.cpp | odeinjul/Solution_New | 12593def5ae867e8193847184792b7fbe00aeff0 | [
"MIT"
] | null | null | null | 01-Recover/LT0704.cpp | odeinjul/Solution_New | 12593def5ae867e8193847184792b7fbe00aeff0 | [
"MIT"
] | null | null | null | class Solution {
public:
int search(vector<int>& nums, int target) {
//int help(int l, int r,int p){
int p = 0, l = 0, r = nums.size()-1;
while(l<=r){
p = (l + r) >> 1;
if(nums[p] == target) return p;
if(target < nums[p]) r = p - 1;
... | 27.857143 | 48 | 0.376923 | odeinjul |
b479cff6f95fbced7b68c68cef8c8aca776d843b | 1,870 | hpp | C++ | native/external-libraries/boost/boost/container/detail/allocation_type.hpp | l3dlp-sandbox/airkinect-2-core | 49aecbd3c3fd9584434089dd2d9eef93567036e7 | [
"Apache-2.0"
] | 47 | 2015-01-01T14:37:36.000Z | 2021-04-25T07:38:07.000Z | native/external-libraries/boost/boost/container/detail/allocation_type.hpp | l3dlp-sandbox/airkinect-2-core | 49aecbd3c3fd9584434089dd2d9eef93567036e7 | [
"Apache-2.0"
] | 6 | 2016-01-11T05:20:05.000Z | 2021-02-06T11:37:24.000Z | native/external-libraries/boost/boost/container/detail/allocation_type.hpp | l3dlp-sandbox/airkinect-2-core | 49aecbd3c3fd9584434089dd2d9eef93567036e7 | [
"Apache-2.0"
] | 17 | 2015-01-05T15:10:43.000Z | 2021-06-22T04:59:16.000Z | ///////////////////////////////////////////////////////////////////////////////
//
// (C) Copyright Ion Gaztanaga 2005-2011. Distributed under the Boost
// Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
// See http://www.boost.org/libs/contai... | 34 | 89 | 0.701604 | l3dlp-sandbox |
b47a6639744fa202eb6d99b66be0d4ec6d411571 | 2,560 | cc | C++ | zircon/system/dev/board/nelson/nelson-light.cc | sunshinewithmoonlight/fuchsia-2003 | 02b23026dc7fecbad063210d5d45fa1b17feeb8b | [
"BSD-3-Clause"
] | null | null | null | zircon/system/dev/board/nelson/nelson-light.cc | sunshinewithmoonlight/fuchsia-2003 | 02b23026dc7fecbad063210d5d45fa1b17feeb8b | [
"BSD-3-Clause"
] | null | null | null | zircon/system/dev/board/nelson/nelson-light.cc | sunshinewithmoonlight/fuchsia-2003 | 02b23026dc7fecbad063210d5d45fa1b17feeb8b | [
"BSD-3-Clause"
] | null | null | null | // 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 <ddk/binding.h>
#include <ddk/debug.h>
#include <ddk/device.h>
#include <ddk/metadata.h>
#include <ddk/platform-defs.h>
#include <ddk/protocol/pla... | 28.764045 | 82 | 0.707422 | sunshinewithmoonlight |
b47ec73dfcfed4b4f66bcdc0f0b6e34d7b59d8c9 | 5,692 | cpp | C++ | RayEngine/Source/DX11/DX11RenderTargetView.cpp | Mumsfilibaba/RayEngine | 68496966c1d7b91bc8fbdd305226ece9b9f596b2 | [
"Apache-2.0"
] | null | null | null | RayEngine/Source/DX11/DX11RenderTargetView.cpp | Mumsfilibaba/RayEngine | 68496966c1d7b91bc8fbdd305226ece9b9f596b2 | [
"Apache-2.0"
] | null | null | null | RayEngine/Source/DX11/DX11RenderTargetView.cpp | Mumsfilibaba/RayEngine | 68496966c1d7b91bc8fbdd305226ece9b9f596b2 | [
"Apache-2.0"
] | null | null | null | /*////////////////////////////////////////////////////////////
Copyright 2018 Alexander Dahlin
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
THIS SOF... | 34.49697 | 124 | 0.635453 | Mumsfilibaba |
b47f637825b873d09d6e49e2efdc7ec8a045feb8 | 895 | cpp | C++ | 149.直线上最多的点数/maxPoints.cpp | YichengZhong/Top-Interview-Questions | 124828d321f482a0eaa30012b3706267487bfd24 | [
"MIT"
] | 1 | 2019-10-21T14:40:39.000Z | 2019-10-21T14:40:39.000Z | 149.直线上最多的点数/maxPoints.cpp | YichengZhong/Top-Interview-Questions | 124828d321f482a0eaa30012b3706267487bfd24 | [
"MIT"
] | null | null | null | 149.直线上最多的点数/maxPoints.cpp | YichengZhong/Top-Interview-Questions | 124828d321f482a0eaa30012b3706267487bfd24 | [
"MIT"
] | 1 | 2020-11-04T07:33:34.000Z | 2020-11-04T07:33:34.000Z | class Solution {
public:
int maxPoints(vector<vector<int>>& points) {
int len = points.size();
// 点的数量不够
if(len < 3) {
return len;
}
int maxNum = 2;
// 遍历每两个点
for(int i = 0; i < len; i ++) {
unordered_map<double, int> count;
... | 29.833333 | 63 | 0.363128 | YichengZhong |
b47fb1a6bbe5ba7c273e2cd6eb64d31b13731e28 | 867 | hpp | C++ | ltl2fsm/base/exception/Invalid_Ltl_Syntax.hpp | arafato/ltl2fsm | 58d96c40fe0890c2bcc90593469668e6369c0f1b | [
"MIT"
] | 2 | 2016-11-23T14:31:55.000Z | 2018-05-10T01:11:54.000Z | ltl2fsm/base/exception/Invalid_Ltl_Syntax.hpp | arafato/ltl2fsm | 58d96c40fe0890c2bcc90593469668e6369c0f1b | [
"MIT"
] | null | null | null | ltl2fsm/base/exception/Invalid_Ltl_Syntax.hpp | arafato/ltl2fsm | 58d96c40fe0890c2bcc90593469668e6369c0f1b | [
"MIT"
] | null | null | null | /**
* @file ltl2fsm/base/exception/Invalid_Ltl_Syntax.hpp
*
* $Id$
*
* @author Oliver Arafat
*
* @brief @ref
*
* @note DOCUMENTED
*
* @test
*
* @todo
*/
#ifndef LTL2FSM__BASE__EXCEPTION__INVALID_LTL_SYNTAX__HPP
#define LTL2FSM__BASE__EXCEPTION__INVALID_LTL_SYNTAX__HPP
#include <ltl2fsm/base/exception/... | 16.358491 | 84 | 0.619377 | arafato |
b48107a4215c8871bc333d313b3b53da709e85bf | 582 | cpp | C++ | src/nietacka/ReadBuffer.cpp | PiotrJander/sik-achtung-die-kurve | a44af3b20e5baccd18d388a0a29f412a2c5e5902 | [
"MIT"
] | null | null | null | src/nietacka/ReadBuffer.cpp | PiotrJander/sik-achtung-die-kurve | a44af3b20e5baccd18d388a0a29f412a2c5e5902 | [
"MIT"
] | null | null | null | src/nietacka/ReadBuffer.cpp | PiotrJander/sik-achtung-die-kurve | a44af3b20e5baccd18d388a0a29f412a2c5e5902 | [
"MIT"
] | null | null | null | //
// Created by Piotr Jander on 29/08/2017.
//
#include "ReadBuffer.h"
ReadBuffer::ReadBuffer(int length) : vector(length)
{}
ReadBuffer::ReadBuffer(const DynamicBuffer &dynamic) : vector(dynamic.getBuffer())
{}
std::string ReadBuffer::readString(int length)
{
length = std::min(length, static_cast<const int &>... | 25.304348 | 87 | 0.713058 | PiotrJander |
b481e6cdc7f6bb050bfff4acd0e29f0b70de2c47 | 11,851 | cpp | C++ | Userland/Services/SystemServer/Service.cpp | johanventer/serenity | cb8e4be3b5d9ce2225f4347efdaaf08423405b65 | [
"BSD-2-Clause"
] | null | null | null | Userland/Services/SystemServer/Service.cpp | johanventer/serenity | cb8e4be3b5d9ce2225f4347efdaaf08423405b65 | [
"BSD-2-Clause"
] | null | null | null | Userland/Services/SystemServer/Service.cpp | johanventer/serenity | cb8e4be3b5d9ce2225f4347efdaaf08423405b65 | [
"BSD-2-Clause"
] | 1 | 2021-06-10T00:18:29.000Z | 2021-06-10T00:18:29.000Z | /*
* Copyright (c) 2019-2020, Sergey Bugaev <bugaevc@serenityos.org>
* 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 no... | 31.435013 | 148 | 0.620876 | johanventer |
b48518c39c6bd392692e82d604dd85c816e73673 | 10,226 | cpp | C++ | src/net/tcp/tcp.cpp | pidEins/IncludeOS | b92339164a2ba61f03ca9a940b1e9a0907c08bea | [
"Apache-2.0"
] | 2 | 2017-04-28T17:29:25.000Z | 2017-05-03T07:36:22.000Z | src/net/tcp/tcp.cpp | lefticus/IncludeOS | b92339164a2ba61f03ca9a940b1e9a0907c08bea | [
"Apache-2.0"
] | null | null | null | src/net/tcp/tcp.cpp | lefticus/IncludeOS | b92339164a2ba61f03ca9a940b1e9a0907c08bea | [
"Apache-2.0"
] | 2 | 2017-05-01T18:16:28.000Z | 2019-11-15T19:48:01.000Z | // This file is a part of the IncludeOS unikernel - www.includeos.org
//
// Copyright 2015-2016 Oslo and Akershus University College of Applied Sciences
// and Alfred Bratterud
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// Yo... | 31.659443 | 119 | 0.680618 | pidEins |
b486ea92ff2f4067a50a501654a2aa68ef489993 | 414 | hpp | C++ | LPI/aula18/include/ClientePF.hpp | dayvisonmsilva/LPI | 0e3186e03b0ed438795f513dd968911c6845f5e4 | [
"Apache-2.0"
] | null | null | null | LPI/aula18/include/ClientePF.hpp | dayvisonmsilva/LPI | 0e3186e03b0ed438795f513dd968911c6845f5e4 | [
"Apache-2.0"
] | null | null | null | LPI/aula18/include/ClientePF.hpp | dayvisonmsilva/LPI | 0e3186e03b0ed438795f513dd968911c6845f5e4 | [
"Apache-2.0"
] | null | null | null | #ifndef CLIENTEPF_HPP
#define CLIENTEPF_HPP
#include <string>
#include "Cliente.hpp"
using namespace std;
class ClientePF : public Cliente {
private:
string cpf;
public:
static int quantidadeClientes;
ClientePF(string nome, string cpf);
ClientePF();
~ClientePF();
... | 16.56 | 43 | 0.618357 | dayvisonmsilva |
b488e3d8c8fdb5e7c32ea5afd93f39db30ce72a2 | 190 | hpp | C++ | include/mruby_integration/models/image.hpp | HellRok/Taylor | aa9d901b4db77395a0bde896500016353adcd73b | [
"MIT"
] | 40 | 2021-05-25T04:21:49.000Z | 2022-02-19T05:05:45.000Z | include/mruby_integration/models/image.hpp | HellRok/Taylor | aa9d901b4db77395a0bde896500016353adcd73b | [
"MIT"
] | 4 | 2021-09-17T06:52:35.000Z | 2021-12-29T23:07:18.000Z | include/mruby_integration/models/image.hpp | HellRok/Taylor | aa9d901b4db77395a0bde896500016353adcd73b | [
"MIT"
] | 1 | 2021-12-23T00:59:27.000Z | 2021-12-23T00:59:27.000Z | #pragma once
#include "mruby.h"
#include "raylib.h"
extern RClass *Image_class;
void setup_Image(mrb_state*, mrb_value, Image*, int, int, int, int);
void append_models_Image(mrb_state*);
| 19 | 68 | 0.747368 | HellRok |
b48e0d82157e825eca2231f877300493cc8a02e9 | 29,906 | cpp | C++ | src/cues/TStageMovieCue.cpp | mvfranz/UltraDV | fbe0e8a3ee079d5dcd7e6e5bf99687aa79d351c5 | [
"Unlicense"
] | null | null | null | src/cues/TStageMovieCue.cpp | mvfranz/UltraDV | fbe0e8a3ee079d5dcd7e6e5bf99687aa79d351c5 | [
"Unlicense"
] | null | null | null | src/cues/TStageMovieCue.cpp | mvfranz/UltraDV | fbe0e8a3ee079d5dcd7e6e5bf99687aa79d351c5 | [
"Unlicense"
] | 1 | 2021-08-19T20:20:37.000Z | 2021-08-19T20:20:37.000Z | //---------------------------------------------------------------------
//
// File: TStageMovieCue.cpp
//
// Author: Gene Z. Ragan
//
// Date: 06.12.98
//
// Desc: Visual representation of a movie cue on the stage
//
// Copyright ©1998 mediapede Software
//
//------------------------------------------------------------... | 25.194608 | 138 | 0.575503 | mvfranz |
b491481148198377710caa035ddc62e52bc9e815 | 332 | hpp | C++ | include/cgsw/cgsw.hpp | chikeen/CGSW | 10d159a9daf8ad1af5006602454b7e82c5e561c3 | [
"Apache-2.0"
] | 1 | 2021-04-12T07:12:23.000Z | 2021-04-12T07:12:23.000Z | include/cgsw/cgsw.hpp | chikeen/CGSW | 10d159a9daf8ad1af5006602454b7e82c5e561c3 | [
"Apache-2.0"
] | null | null | null | include/cgsw/cgsw.hpp | chikeen/CGSW | 10d159a9daf8ad1af5006602454b7e82c5e561c3 | [
"Apache-2.0"
] | null | null | null | //
// Created by Chi Keen Tan on 16/12/2020.
//
#pragma once
#include "encryptionparams.hpp"
#include "plaintext.hpp"
#include "publickey.hpp"
#include "secretkey.hpp"
#include "cgsw/utils/utils.hpp"
#include "ciphertext.hpp"
#include "decrypter.hpp"
#include "encrypter.hpp"
#include "evaluator.hpp"
#include "keyge... | 18.444444 | 41 | 0.737952 | chikeen |
b492acdac156ac193a69110ab96edcecbea2f809 | 518 | cpp | C++ | Practice3/Task4.cpp | zuza-rzemieniewska/Cpp_Practices | 96cade6c757185a533ecbb5ffd26dff929df8d9a | [
"MIT"
] | null | null | null | Practice3/Task4.cpp | zuza-rzemieniewska/Cpp_Practices | 96cade6c757185a533ecbb5ffd26dff929df8d9a | [
"MIT"
] | null | null | null | Practice3/Task4.cpp | zuza-rzemieniewska/Cpp_Practices | 96cade6c757185a533ecbb5ffd26dff929df8d9a | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int main(){
float a, b, c;
do{
cout << "Please enter three segments a, b and c greater than 0:" << endl;
cin >> a >> b >> c;
}while(a<=0 || b<=0 || c<=0);
if(a+b>c && a+c>b && c+b>a)
cout << "From length segments: " << a << ", " << ... | 22.521739 | 113 | 0.459459 | zuza-rzemieniewska |
b493bf446fa06487959f5f4b90cec5ac7e9e3ecb | 24,614 | cpp | C++ | gui/duilib/duilib/Control/ScrollBar.cpp | pqgarden/PQBase | fe64dc937c2d86cb6363b2c0a394f0a9d794b116 | [
"MIT"
] | 1,461 | 2019-04-10T09:28:18.000Z | 2022-03-30T01:56:09.000Z | gui/duilib/duilib/Control/ScrollBar.cpp | pqgarden/PQBase | fe64dc937c2d86cb6363b2c0a394f0a9d794b116 | [
"MIT"
] | 331 | 2019-04-11T06:15:44.000Z | 2022-03-28T01:24:07.000Z | gui/duilib/duilib/Control/ScrollBar.cpp | pqgarden/PQBase | fe64dc937c2d86cb6363b2c0a394f0a9d794b116 | [
"MIT"
] | 678 | 2019-04-10T13:27:12.000Z | 2022-03-28T02:03:01.000Z | #include "stdafx.h"
#include "ScrollBar.h"
namespace ui
{
ScrollBar::ScrollBar() :
m_bHorizontal(false),
m_bShowButton1(true),
m_bShowButton2(true),
m_bAutoHide(true),
m_nRange(100),
m_nScrollPos(0),
m_nLineSize(8),
m_nThumbMinLength(30),
m_nLastScrollPos(0),
m_nLastScrollOffset(0),
m_nScrollRepeatDelay(0)... | 27.56327 | 125 | 0.707362 | pqgarden |
b495dbcb3466041d59cb48d10ac4cec5bf1cab0a | 2,700 | cpp | C++ | examples/chat_room/example_service.cpp | LoganBarnes/ltb-gvs | b1178e31c35aece434c7d47af955275fca9bb2a5 | [
"MIT"
] | 1 | 2020-04-04T16:57:25.000Z | 2020-04-04T16:57:25.000Z | examples/chat_room/example_service.cpp | LoganBarnes/ltb-gvs | b1178e31c35aece434c7d47af955275fca9bb2a5 | [
"MIT"
] | null | null | null | examples/chat_room/example_service.cpp | LoganBarnes/ltb-gvs | b1178e31c35aece434c7d47af955275fca9bb2a5 | [
"MIT"
] | null | null | null | // ///////////////////////////////////////////////////////////////////////////////////////
// LTB Geometry Visualization Server
// Copyright (c) 2020 Logan Barnes - All Rights Reserved
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation fil... | 42.1875 | 96 | 0.673704 | LoganBarnes |
b49639dffa01b58fee555c345ad97ab301885327 | 2,887 | cpp | C++ | webkit/WebCore/storage/chromium/QuotaTracker.cpp | s1rcheese/nintendo-3ds-internetbrowser-sourcecode | 3dd05f035e0a5fc9723300623e9b9b359be64e11 | [
"Unlicense"
] | 15 | 2016-01-05T12:43:41.000Z | 2022-03-15T10:34:47.000Z | webkit/WebCore/storage/chromium/QuotaTracker.cpp | s1rcheese/nintendo-3ds-internetbrowser-sourcecode | 3dd05f035e0a5fc9723300623e9b9b359be64e11 | [
"Unlicense"
] | null | null | null | webkit/WebCore/storage/chromium/QuotaTracker.cpp | s1rcheese/nintendo-3ds-internetbrowser-sourcecode | 3dd05f035e0a5fc9723300623e9b9b359be64e11 | [
"Unlicense"
] | 2 | 2020-11-30T18:36:01.000Z | 2021-02-05T23:20:24.000Z | /*
* Copyright (C) 2009 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditio... | 41.242857 | 99 | 0.771043 | s1rcheese |
b4991be7511f8ac143e2847fc043aef9bb1513e0 | 325 | cpp | C++ | src/memory.cpp | nick-valentine/Chip-8-Emulator | fff1e8f262e6ca7c1dde028da3db5e3e0dec0284 | [
"MIT"
] | null | null | null | src/memory.cpp | nick-valentine/Chip-8-Emulator | fff1e8f262e6ca7c1dde028da3db5e3e0dec0284 | [
"MIT"
] | null | null | null | src/memory.cpp | nick-valentine/Chip-8-Emulator | fff1e8f262e6ca7c1dde028da3db5e3e0dec0284 | [
"MIT"
] | null | null | null | #include "memory.hpp"
#include <cstdint>
#include <cstdio>
Memory::Memory(size_t size) : memory(size) {}
void Memory::dump() { dump(0, memory.size()); }
void Memory::dump(size_t low, size_t high) {
for (size_t i = low; i < memory.size() && i < high; i++) {
printf("mem[%#04x]=%#04x\n", (uint8_t)i, memory[i]);
... | 23.214286 | 60 | 0.609231 | nick-valentine |
a330f59d2cfe1b59880fb34a6ce4a16bc73f4b7d | 5,653 | cpp | C++ | SmartHydroponics/BMPFluidCalc.cpp | an0mali/SmartHydroponics | 2c3d862174e6c6f7c00623496c33c98edc343063 | [
"MIT"
] | 1 | 2022-02-16T18:57:55.000Z | 2022-02-16T18:57:55.000Z | SmartHydroponics/BMPFluidCalc.cpp | an0mali/SmartHydroponics | 2c3d862174e6c6f7c00623496c33c98edc343063 | [
"MIT"
] | null | null | null | SmartHydroponics/BMPFluidCalc.cpp | an0mali/SmartHydroponics | 2c3d862174e6c6f7c00623496c33c98edc343063 | [
"MIT"
] | null | null | null | #include "BMPFluidCalc.h"
#include "ProgMemStr.h"
#include "DualBMP.h"
#include "PlantData.h"
#include <Arduino.h>
/*Liquid meter uses the pressure difference between the atmosphere and a water tower to
* [precisely?] measure the amount of liquid remaining, and rate of loss, in a system over time.
* This modul... | 31.581006 | 166 | 0.676632 | an0mali |
a330fa68bbd83754d99d95be498148c52bf6c80b | 25,568 | cpp | C++ | trunk/src/app/srs_app_rtsp.cpp | daimaqiao/srs | f729bb9ac484a7ae452090e2583abb348385d2e9 | [
"MIT"
] | 2 | 2018-12-05T10:33:50.000Z | 2019-08-25T13:31:48.000Z | trunk/src/app/srs_app_rtsp.cpp | darcy-shimmer/srs | 14be74ca5ea8f1341900768984798cfdd12f759b | [
"MIT"
] | 1 | 2019-04-28T00:50:59.000Z | 2019-04-28T00:51:57.000Z | trunk/src/app/srs_app_rtsp.cpp | darcy-shimmer/srs | 14be74ca5ea8f1341900768984798cfdd12f759b | [
"MIT"
] | 2 | 2019-01-22T03:43:14.000Z | 2022-01-21T06:06:32.000Z | /*
The MIT License (MIT)
Copyright (c) 2013-2015 SRS(ossrs)
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merg... | 30.438095 | 138 | 0.601259 | daimaqiao |
a33357029f9bd0a8d3306639cf5eeac92dfabff3 | 499 | cc | C++ | source/common/http/http1/header_formatter.cc | jaricftw/envoy | 766f3fb8dbdafce402631c43c16fda46ed003462 | [
"Apache-2.0"
] | 1 | 2019-11-19T22:27:58.000Z | 2019-11-19T22:27:58.000Z | source/common/http/http1/header_formatter.cc | jaricftw/envoy | 766f3fb8dbdafce402631c43c16fda46ed003462 | [
"Apache-2.0"
] | 1 | 2019-01-04T08:20:24.000Z | 2019-01-04T08:20:24.000Z | source/common/http/http1/header_formatter.cc | jaricftw/envoy | 766f3fb8dbdafce402631c43c16fda46ed003462 | [
"Apache-2.0"
] | 1 | 2019-11-03T03:46:51.000Z | 2019-11-03T03:46:51.000Z | #include "common/http/http1/header_formatter.h"
namespace Envoy {
namespace Http {
namespace Http1 {
std::string ProperCaseHeaderKeyFormatter::format(absl::string_view key) const {
auto copy = std::string(key);
bool should_capitalize = true;
for (char& c : copy) {
if (should_capitalize && isalpha(c)) {
... | 22.681818 | 79 | 0.677355 | jaricftw |
a33395f41dad86694dbc7ef36831fdf8dacb5a12 | 3,074 | cpp | C++ | src/coreclr/src/debug/createdump/threadinfomac.cpp | swaroop-sridhar/runtime | d0efddd932f6fb94c3e9436ab393fc390c7b2da9 | [
"MIT"
] | 11 | 2021-10-21T07:56:23.000Z | 2022-03-31T15:08:10.000Z | src/coreclr/src/debug/createdump/threadinfomac.cpp | swaroop-sridhar/runtime | d0efddd932f6fb94c3e9436ab393fc390c7b2da9 | [
"MIT"
] | 1 | 2021-11-23T11:04:19.000Z | 2021-12-21T06:41:19.000Z | src/coreclr/src/debug/createdump/threadinfomac.cpp | swaroop-sridhar/runtime | d0efddd932f6fb94c3e9436ab393fc390c7b2da9 | [
"MIT"
] | 2 | 2021-05-17T22:12:46.000Z | 2021-05-19T06:21:16.000Z | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#include "createdump.h"
ThreadInfo::ThreadInfo(CrashInfo& crashInfo, pid_t tid, mach_port_t port) :
m_crashInfo(crashInfo),
m_tid(tid),
m_port(port)
{
}
ThreadInfo::~Th... | 32.702128 | 111 | 0.709824 | swaroop-sridhar |
a3367252977c3b0d471760e8ba33c873a4f1d02d | 1,368 | hpp | C++ | sources/vggrab/grabber.hpp | SimonsRoad/seq2map | cc8cd20842b3c6db01f73d2e6ecf543189e56891 | [
"BSD-3-Clause"
] | null | null | null | sources/vggrab/grabber.hpp | SimonsRoad/seq2map | cc8cd20842b3c6db01f73d2e6ecf543189e56891 | [
"BSD-3-Clause"
] | null | null | null | sources/vggrab/grabber.hpp | SimonsRoad/seq2map | cc8cd20842b3c6db01f73d2e6ecf543189e56891 | [
"BSD-3-Clause"
] | 1 | 2018-11-01T13:11:39.000Z | 2018-11-01T13:11:39.000Z | #ifndef GRABBER_HPP
#define GRABBER_HPP
#include "syncbuf.hpp"
class ImageGrabber : public BufferWriter, public Indexed
{
public:
typedef boost::shared_ptr<ImageGrabber> Ptr;
typedef std::vector<Ptr> Ptrs;
ImageGrabber(const SyncBuffer::Ptr& buffer) : BufferWriter(buffer) {}
virtual ~ImageGrabber() {... | 27.36 | 95 | 0.709795 | SimonsRoad |
a337bb4ad63f289cac5d817e7732aebbf63b3abf | 4,057 | cxx | C++ | src/lcd/ssd1308.cxx | Wyliodrin/upm | 5aa09c5fcaafd5d6a05b63c7b7760d30c7acf33f | [
"MIT"
] | 1 | 2015-02-06T19:23:12.000Z | 2015-02-06T19:23:12.000Z | src/lcd/ssd1308.cxx | Wyliodrin/upm | 5aa09c5fcaafd5d6a05b63c7b7760d30c7acf33f | [
"MIT"
] | null | null | null | src/lcd/ssd1308.cxx | Wyliodrin/upm | 5aa09c5fcaafd5d6a05b63c7b7760d30c7acf33f | [
"MIT"
] | null | null | null | /*
* Author: Yevgeniy Kiveisha <yevgeniy.kiveisha@intel.com>
* Copyright (c) 2014 Intel Corporation.
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* ... | 28.978571 | 121 | 0.664284 | Wyliodrin |
a3384c1250b4d752caa1905fc15ad8fa48a4a9b4 | 8,567 | cc | C++ | dcmtk-master2/dcmfg/tests/t_deriv_image.cc | happymanx/Weather_FFI | a7f9bf8f1bda2b50c9d9a875c08fccf58379ad9f | [
"MIT"
] | null | null | null | dcmtk-master2/dcmfg/tests/t_deriv_image.cc | happymanx/Weather_FFI | a7f9bf8f1bda2b50c9d9a875c08fccf58379ad9f | [
"MIT"
] | null | null | null | dcmtk-master2/dcmfg/tests/t_deriv_image.cc | happymanx/Weather_FFI | a7f9bf8f1bda2b50c9d9a875c08fccf58379ad9f | [
"MIT"
] | null | null | null | /*
*
* Copyright (C) 2019-2020, OFFIS e.V.
* All rights reserved. See COPYRIGHT file for details.
*
* This software and supporting documentation were developed by
*
* OFFIS e.V.
* R&D Division Health
* Escherweg 2
* D-26121 Oldenburg, Germany
*
*
* Module: dcmfg
*
* Author: Michael On... | 48.129213 | 119 | 0.646317 | happymanx |
a33da221d284643b9a07f8d6988fd1ee724e6ba4 | 3,031 | hpp | C++ | Day2.hpp | pauwell/Advent-Of-Code-2017 | 0d334f70b1a9b183ff5be9f4317c3bbaec7919ac | [
"MIT"
] | null | null | null | Day2.hpp | pauwell/Advent-Of-Code-2017 | 0d334f70b1a9b183ff5be9f4317c3bbaec7919ac | [
"MIT"
] | null | null | null | Day2.hpp | pauwell/Advent-Of-Code-2017 | 0d334f70b1a9b183ff5be9f4317c3bbaec7919ac | [
"MIT"
] | null | null | null | /**
--- AoC 2017 ---
--- Day 2: Corruption Checksum ---
http://adventofcode.com/2017/day/2
-------------------------------------------------------------------------------------------------------------
Part 1:
The spreadsheet consists of rows of apparently-random numbers. To make sure the recovery process is on... | 30.009901 | 121 | 0.553283 | pauwell |
a33da6d36b55415f64977fedd1e8522918a8c78e | 1,170 | cpp | C++ | GSLAM/plugins/gmap/main.cpp | qistout/GSLAM | 0dc339faffed1c17efa3ddb1da63442b53ec4618 | [
"BSD-2-Clause"
] | 875 | 2016-09-19T01:35:56.000Z | 2022-03-28T09:12:00.000Z | GSLAM/plugins/gmap/main.cpp | bhsphd/GSLAM | a2139d1c52ad70c282bc950b51876a0b0ba019e0 | [
"BSD-2-Clause"
] | 40 | 2017-08-01T02:32:35.000Z | 2021-05-31T13:45:59.000Z | GSLAM/plugins/gmap/main.cpp | bhsphd/GSLAM | a2139d1c52ad70c282bc950b51876a0b0ba019e0 | [
"BSD-2-Clause"
] | 259 | 2016-08-20T14:54:09.000Z | 2022-03-09T06:18:05.000Z | #include "MapHash.h"
using namespace GSLAM;
int run(Svar config){
std::string in =config.arg<std::string>("in","","the map to load");
std::string out=config.arg<std::string>("out","","the map file to save");
std::string map=config.arg<std::string>("map","map","the map topic to publish or subscribe");
... | 29.25 | 97 | 0.604274 | qistout |
a33dc5af8c61c21a8f804a79d17d309f8d76b407 | 1,453 | hpp | C++ | ReactNativeFrontend/ios/Pods/boost/boost/hana/fwd/is_empty.hpp | Harshitha91/Tmdb-react-native-node | e06e3f25a7ee6946ef07a1f524fdf62e48424293 | [
"Apache-2.0"
] | 12,278 | 2015-01-29T17:11:33.000Z | 2022-03-31T21:12:00.000Z | ReactNativeFrontend/ios/Pods/boost/boost/hana/fwd/is_empty.hpp | Harshitha91/Tmdb-react-native-node | e06e3f25a7ee6946ef07a1f524fdf62e48424293 | [
"Apache-2.0"
] | 9,469 | 2015-01-30T05:33:07.000Z | 2022-03-31T16:17:21.000Z | ReactNativeFrontend/ios/Pods/boost/boost/hana/fwd/is_empty.hpp | Harshitha91/Tmdb-react-native-node | e06e3f25a7ee6946ef07a1f524fdf62e48424293 | [
"Apache-2.0"
] | 1,343 | 2017-12-08T19:47:19.000Z | 2022-03-26T11:31:36.000Z | /*!
@file
Forward declares `boost::hana::is_empty`.
@copyright Louis Dionne 2013-2017
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
#ifndef BOOST_HANA_FWD_IS_EMPTY_HPP
#define BOOST_HANA_FWD_IS_EMPTY_HPP
#include <boost/h... | 29.06 | 78 | 0.689608 | Harshitha91 |
a33e38d585cde1ecb634f89cb3c7a20905c1c274 | 2,829 | hpp | C++ | include/codegen/include/GlobalNamespace/NoteBasicCutInfo.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 1 | 2021-11-12T09:29:31.000Z | 2021-11-12T09:29:31.000Z | include/codegen/include/GlobalNamespace/NoteBasicCutInfo.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | null | null | null | include/codegen/include/GlobalNamespace/NoteBasicCutInfo.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 2 | 2021-10-03T02:14:20.000Z | 2021-11-12T09:29:36.000Z | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
#pragma pack(push, 8)
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
// Including type: System.Single
#include "System/Single.hpp"
// Completed... | 47.949153 | 329 | 0.7614 | Futuremappermydud |
a340e33e6ef0760031216727f7fe8f4e3bfc85f4 | 7,775 | cpp | C++ | src/utils.cpp | mightybruno/KShare | c1124354be9c8bb5c1931e37e19391f0b6c4389f | [
"MIT"
] | 16 | 2020-01-22T04:52:46.000Z | 2022-02-22T09:53:39.000Z | src/utils.cpp | mightybruno/KShare | c1124354be9c8bb5c1931e37e19391f0b6c4389f | [
"MIT"
] | 15 | 2020-02-16T01:12:42.000Z | 2021-05-03T21:51:26.000Z | src/utils.cpp | mightybruno/KShare | c1124354be9c8bb5c1931e37e19391f0b6c4389f | [
"MIT"
] | 3 | 2020-04-03T22:20:14.000Z | 2020-09-23T07:58:09.000Z | #include "utils.hpp"
#include <QApplication>
#include <QClipboard>
#include <QPainter>
#include <QPixmap>
#include <QProcess>
#include <QScreen>
#include <logger.hpp>
#include <platformbackend.hpp>
#include <settings.hpp>
QColor utils::invertColor(QColor color) {
return QColor(255 - color.red(), 255 - color.green... | 36.502347 | 132 | 0.580322 | mightybruno |
a340ffc53e4e4c2a4ddbb9622504e595703ae398 | 2,965 | cpp | C++ | examples/Direct3D9Widget/MainWindow.cpp | giladreich/QtDirect3D | 757568d4fc0c754ce445f145bb114ac1281f8b18 | [
"MIT"
] | 90 | 2019-01-16T21:40:27.000Z | 2022-03-31T08:22:51.000Z | examples/Direct3D9Widget/MainWindow.cpp | giladreich/QtDirect3D | 757568d4fc0c754ce445f145bb114ac1281f8b18 | [
"MIT"
] | 7 | 2021-08-20T00:06:12.000Z | 2021-09-28T21:06:12.000Z | examples/Direct3D9Widget/MainWindow.cpp | giladreich/QtDirect3D | 757568d4fc0c754ce445f145bb114ac1281f8b18 | [
"MIT"
] | 17 | 2019-01-16T21:40:32.000Z | 2022-01-17T19:19:07.000Z | /*
*
*/
#include "MainWindow.h"
#include <QStyle>
#include <QDebug>
#include <QTime>
#include <QScreen>
#include <QMessageBox>
#include <QCloseEvent>
#include <QDesktopWidget>
MainWindow::MainWindow(QWidget * parent)
: QMainWindow(parent)
, ui(new Ui::MainWindowClass)
, m_WindowSize(QSize(1280, 800))
... | 28.509615 | 95 | 0.668465 | giladreich |
a341ab073081693f8914f72a51430280b11d143b | 6,105 | cpp | C++ | tools/llvm-pdbdump/PdbYaml.cpp | tlatkdgus1/llvm-code_obfuscate | c4d0641f95704fb9909e2ac09500df1b6bc5d017 | [
"Unlicense"
] | 6 | 2016-07-18T01:52:11.000Z | 2020-11-18T14:07:07.000Z | tools/llvm-pdbdump/PdbYaml.cpp | tlatkdgus1/llvm-code_obfuscate | c4d0641f95704fb9909e2ac09500df1b6bc5d017 | [
"Unlicense"
] | null | null | null | tools/llvm-pdbdump/PdbYaml.cpp | tlatkdgus1/llvm-code_obfuscate | c4d0641f95704fb9909e2ac09500df1b6bc5d017 | [
"Unlicense"
] | null | null | null | //===- PdbYAML.cpp -------------------------------------------- *- C++ --*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | 38.639241 | 80 | 0.658804 | tlatkdgus1 |
a3440031ed80644b873404c9762928ef4b9ac7ec | 29,153 | cpp | C++ | source/ablscript/ablxstd.cpp | mechasource/mechcommander2 | b2c7cecf001cec1f535aa8d29c31bdc30d9aa983 | [
"BSD-2-Clause"
] | 38 | 2015-04-10T13:31:03.000Z | 2021-09-03T22:34:05.000Z | source/ablscript/ablxstd.cpp | mechasource/mechcommander2 | b2c7cecf001cec1f535aa8d29c31bdc30d9aa983 | [
"BSD-2-Clause"
] | 1 | 2020-07-09T09:48:44.000Z | 2020-07-12T12:41:43.000Z | source/ablscript/ablxstd.cpp | mechasource/mechcommander2 | b2c7cecf001cec1f535aa8d29c31bdc30d9aa983 | [
"BSD-2-Clause"
] | 12 | 2015-06-29T08:06:57.000Z | 2021-10-13T13:11:41.000Z | //===========================================================================//
// Copyright (C) Microsoft Corporation. All rights reserved. //
//===========================================================================//
//***************************************************************************
//... | 27.92433 | 115 | 0.556135 | mechasource |
a3453eed730064b30cc16c9bceca3dcd94cb60ec | 8,770 | cpp | C++ | HaloExchangeTests/src/GnuplotLogger.cpp | pspoerri/HaloExchangeBenchmarks | 6e86202aa3e5bf073cbcb38afdbf6db78f4d8c58 | [
"BSD-3-Clause"
] | null | null | null | HaloExchangeTests/src/GnuplotLogger.cpp | pspoerri/HaloExchangeBenchmarks | 6e86202aa3e5bf073cbcb38afdbf6db78f4d8c58 | [
"BSD-3-Clause"
] | null | null | null | HaloExchangeTests/src/GnuplotLogger.cpp | pspoerri/HaloExchangeBenchmarks | 6e86202aa3e5bf073cbcb38afdbf6db78f4d8c58 | [
"BSD-3-Clause"
] | null | null | null | #include <cmath>
#include <climits>
#include <iostream>
#include <sstream>
#include <stdexcept>
#include <stdlib.h>
#include "GnuplotLogger.h"
void GnuplotLogger::Init(int saveDigits, int iSize, int jSize, int kSize, std::string filename, int kmin = 0, int kmax = 0, int numRowPlots = 2,
int numColumnPlots = ... | 29.233333 | 144 | 0.527024 | pspoerri |
a34af58cfb46131ea9c32cf303cc0786dcd034ed | 22,925 | cpp | C++ | Core/Contents/Source/PolyImage.cpp | MattDBell/Polycode | fc66547813a34a2388c9a45ec0b69919ce3253b2 | [
"MIT"
] | 1 | 2020-04-30T23:05:26.000Z | 2020-04-30T23:05:26.000Z | Core/Contents/Source/PolyImage.cpp | MattDBell/Polycode | fc66547813a34a2388c9a45ec0b69919ce3253b2 | [
"MIT"
] | null | null | null | Core/Contents/Source/PolyImage.cpp | MattDBell/Polycode | fc66547813a34a2388c9a45ec0b69919ce3253b2 | [
"MIT"
] | null | null | null | /*
Copyright (C) 2011 by Ivan Safrin
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distri... | 25.700673 | 122 | 0.595594 | MattDBell |
a35433cfb9e84d5dda51a8fdbd1d001686d0fd0f | 5,664 | hpp | C++ | openstudiocore/src/model/RefrigerationGasCoolerAirCooled.hpp | zhouchong90/OpenStudio | f8570cb8297547b5e9cc80fde539240d8f7b9c24 | [
"BSL-1.0",
"blessing"
] | null | null | null | openstudiocore/src/model/RefrigerationGasCoolerAirCooled.hpp | zhouchong90/OpenStudio | f8570cb8297547b5e9cc80fde539240d8f7b9c24 | [
"BSL-1.0",
"blessing"
] | null | null | null | openstudiocore/src/model/RefrigerationGasCoolerAirCooled.hpp | zhouchong90/OpenStudio | f8570cb8297547b5e9cc80fde539240d8f7b9c24 | [
"BSL-1.0",
"blessing"
] | null | null | null | /**********************************************************************
* Copyright (c) 2008-2014, Alliance for Sustainable Energy.
* All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by t... | 29.34715 | 133 | 0.783545 | zhouchong90 |
a3563fb3618b9d5064c892e72d0354b40c6c7858 | 2,932 | hpp | C++ | S3DTiled/include/S3DTiled/Chunk.hpp | tyanmahou/S3DTiled | 4f90ea7e30eed8973ebc92a72a77edfc00ba0f10 | [
"MIT"
] | null | null | null | S3DTiled/include/S3DTiled/Chunk.hpp | tyanmahou/S3DTiled | 4f90ea7e30eed8973ebc92a72a77edfc00ba0f10 | [
"MIT"
] | 1 | 2020-03-22T05:15:36.000Z | 2020-04-03T13:40:59.000Z | S3DTiled/include/S3DTiled/Chunk.hpp | tyanmahou/S3DTiled | 4f90ea7e30eed8973ebc92a72a77edfc00ba0f10 | [
"MIT"
] | 1 | 2020-09-16T06:32:16.000Z | 2020-09-16T06:32:16.000Z | #pragma once
#include <Siv3D/Grid.hpp>
#include <Siv3D/HashTable.hpp>
namespace s3dTiled
{
template<class Type>
class Chunk
{
public:
Chunk() = default;
Chunk(s3d::int32 chunkSizeX, s3d::int32 chunkSizeY) :
Chunk(s3d::Size{ chunkSizeX, chunkSizeY })
{}
Chunk(... | 30.226804 | 106 | 0.501705 | tyanmahou |
a358ffbe7237a8ad21fb5d9a6cf608646731c6d1 | 3,258 | hpp | C++ | include/continuable/detail/operations/async.hpp | Naios/Continue.cpp | ed8310e345b3c930c0810bc27f3e979a479da9b6 | [
"MIT"
] | 2 | 2016-01-04T13:02:36.000Z | 2016-07-18T04:09:14.000Z | include/continuable/detail/operations/async.hpp | Naios/Continue.cpp | ed8310e345b3c930c0810bc27f3e979a479da9b6 | [
"MIT"
] | 1 | 2015-08-13T21:10:11.000Z | 2016-04-01T00:58:10.000Z | include/continuable/detail/operations/async.hpp | Naios/Continue.cpp | ed8310e345b3c930c0810bc27f3e979a479da9b6 | [
"MIT"
] | null | null | null |
/*
/~` _ _ _|_. _ _ |_ | _
\_,(_)| | | || ||_|(_||_)|(/_
https://github.com/Naios/continuable
v4.2.0
Copyright(c) 2015 - 2022 Denis Blank <denis.blank at outlook dot com>
Permission is hereby granted, fr... | 40.222222 | 79 | 0.65531 | Naios |
a35e49269c890582da8e04edcb640752836b1822 | 3,368 | cpp | C++ | 04_FindInPartiallySortedMatrix/FindInPartiallySortedMatrix.cpp | darkkiller123/-offer | a0859f469e5c8caef52d5ff145753ad46eda6aaa | [
"BSD-3-Clause"
] | null | null | null | 04_FindInPartiallySortedMatrix/FindInPartiallySortedMatrix.cpp | darkkiller123/-offer | a0859f469e5c8caef52d5ff145753ad46eda6aaa | [
"BSD-3-Clause"
] | null | null | null | 04_FindInPartiallySortedMatrix/FindInPartiallySortedMatrix.cpp | darkkiller123/-offer | a0859f469e5c8caef52d5ff145753ad46eda6aaa | [
"BSD-3-Clause"
] | null | null | null | /*******************************************************************
Copyright(c) 2016, Harry He
All rights reserved.
Distributed under the BSD license.
(See accompanying file LICENSE.txt at
https://github.com/zhedahht/CodingInterviewChinese2/blob/master/LICENSE.txt)
***************************************************... | 21.589744 | 88 | 0.437648 | darkkiller123 |
a36250d980acdca5e0a3c8a9818433ed00cc5c0a | 759 | hpp | C++ | extlibs/lua/luapp/User.hpp | ToyAuthor/ToyBoxNote | accc792f5ab2fa8911dc1a70ffbfc6dfd02db9a6 | [
"Unlicense"
] | 9 | 2016-05-13T10:58:07.000Z | 2022-03-02T20:35:24.000Z | extlibs/lua/luapp/User.hpp | ToyAuthor/ToyBoxNote | accc792f5ab2fa8911dc1a70ffbfc6dfd02db9a6 | [
"Unlicense"
] | 2 | 2018-09-19T03:32:28.000Z | 2020-03-30T05:39:46.000Z | extlibs/lua/luapp/User.hpp | ToyAuthor/ToyBoxNote | accc792f5ab2fa8911dc1a70ffbfc6dfd02db9a6 | [
"Unlicense"
] | 7 | 2016-05-13T10:58:32.000Z | 2021-05-10T02:11:23.000Z |
#pragma once
#include "luapp/Handle.hpp"
#include "luapp/Register.hpp"
namespace lua{
class User
{
public:
User(){}
~User()
{
_item = NULL; // Just make sure it released before this->_lua.
}
void _set(lua::Handle h,lua::Register::Item i)
{
if ( _lua ) lua::Log<<"warning:why you set handle o... | 14.320755 | 83 | 0.602108 | ToyAuthor |
a363248f55efd0bbd443ac9ee880196450b501c8 | 1,456 | cpp | C++ | FGUI/widgets/image.cpp | Jacckii/fgui | 668d80b00c8c3e7908f5f67dd42260fe04ac01e4 | [
"MIT"
] | null | null | null | FGUI/widgets/image.cpp | Jacckii/fgui | 668d80b00c8c3e7908f5f67dd42260fe04ac01e4 | [
"MIT"
] | null | null | null | FGUI/widgets/image.cpp | Jacckii/fgui | 668d80b00c8c3e7908f5f67dd42260fe04ac01e4 | [
"MIT"
] | null | null | null | //
// FGUI - feature rich graphical user interface
//
// library includes
#include "image.hpp"
namespace FGUI
{
CImage::CImage()
{
m_strTitle = "Image";
m_dmSize = { 100, 100 };
m_ulFont = 0;
m_nType = static_cast<int>(WIDGET_TYPE::IMAGE);
m_nFlags = static_cast<int>(WIDGET_FLAG::DRAWABLE);
m_pImage = n... | 21.731343 | 165 | 0.701236 | Jacckii |
a36387191b68063439acfdd8a7bc5aff1bd41d38 | 11,795 | cpp | C++ | examples/cpp98/SbeOtfDecoder.cpp | qbm/simple-binary-encoding | f85121528f57c6ffa189672eec6084a50189b072 | [
"Apache-2.0"
] | 1 | 2020-12-02T23:00:19.000Z | 2020-12-02T23:00:19.000Z | examples/cpp98/SbeOtfDecoder.cpp | qbm/simple-binary-encoding | f85121528f57c6ffa189672eec6084a50189b072 | [
"Apache-2.0"
] | null | null | null | examples/cpp98/SbeOtfDecoder.cpp | qbm/simple-binary-encoding | f85121528f57c6ffa189672eec6084a50189b072 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2013 Real Logic Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | 30.089286 | 145 | 0.496058 | qbm |
a3644f90541ba6e72d5ab20e6897af175ea4207f | 8,064 | cpp | C++ | libcaf_core/src/actor_pool.cpp | samanbarghi/actor-framework | 9fb82f556760e1004e27fb4d303499b603a3fc19 | [
"BSL-1.0",
"BSD-3-Clause"
] | 2 | 2020-08-25T15:22:08.000Z | 2021-03-05T16:29:24.000Z | libcaf_core/src/actor_pool.cpp | wujsy/actor-framework | 9fb82f556760e1004e27fb4d303499b603a3fc19 | [
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | libcaf_core/src/actor_pool.cpp | wujsy/actor-framework | 9fb82f556760e1004e27fb4d303499b603a3fc19 | [
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | /******************************************************************************
* ____ _ _____ *
* / ___| / \ | ___| C++ *
* | | / _ \ | |_ Actor *
... | 35.06087 | 81 | 0.571925 | samanbarghi |
a3685a3ea983e350dccc5d77b35a49b1ca9913fc | 258 | cpp | C++ | Hearts Of Greed/Project_HeartsOfGreed/UI_Image.cpp | x-mat-studio/HeartsOfGreed | 2582b807627a32d6d73e5940525a1dcd13054636 | [
"MIT"
] | 3 | 2020-03-05T10:58:02.000Z | 2020-05-15T16:16:17.000Z | Hearts Of Greed/Project_HeartsOfGreed/UI_Image.cpp | x-mat-studio/Project-2 | 2582b807627a32d6d73e5940525a1dcd13054636 | [
"MIT"
] | 1 | 2020-06-15T06:42:33.000Z | 2020-06-15T06:42:33.000Z | Hearts Of Greed/Project_HeartsOfGreed/UI_Image.cpp | x-mat-studio/Project-2 | 2582b807627a32d6d73e5940525a1dcd13054636 | [
"MIT"
] | 1 | 2020-05-29T16:06:27.000Z | 2020-05-29T16:06:27.000Z | #include "UI_Image.h"
UI_Image::UI_Image(float x, float y, UI* parent, SDL_Rect rect, SDL_Texture* texture, bool dragable, bool interactable) :
UI({ x, y }, parent, UI_TYPE::IMG, rect, interactable, dragable, texture)
{}
UI_Image::~UI_Image()
{}
| 23.454545 | 121 | 0.686047 | x-mat-studio |
a36903e6a4140a28a483bbb4ecbe1d6b8b1e1e4f | 3,156 | cxx | C++ | examples/testoled.cxx | rpineau/libSSD1306 | bc6da70b886d12936028e4007a21471182dd1dee | [
"MIT"
] | null | null | null | examples/testoled.cxx | rpineau/libSSD1306 | bc6da70b886d12936028e4007a21471182dd1dee | [
"MIT"
] | null | null | null | examples/testoled.cxx | rpineau/libSSD1306 | bc6da70b886d12936028e4007a21471182dd1dee | [
"MIT"
] | null | null | null | //-------------------------------------------------------------------------
//
// The MIT License (MIT)
//
// Copyright (c) 2017 Andrew Duncan
//
// 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 Sof... | 27.684211 | 76 | 0.503802 | rpineau |
a36c61ddf3eeb510653009ef9da7e84fb3323a79 | 3,022 | hpp | C++ | src/stan/lang/generator/write_begin_all_dims_row_maj_loop.hpp | drezap/stan | 9b319ed125e2a7d14d0c9c246d2f462dad668537 | [
"BSD-3-Clause"
] | null | null | null | src/stan/lang/generator/write_begin_all_dims_row_maj_loop.hpp | drezap/stan | 9b319ed125e2a7d14d0c9c246d2f462dad668537 | [
"BSD-3-Clause"
] | null | null | null | src/stan/lang/generator/write_begin_all_dims_row_maj_loop.hpp | drezap/stan | 9b319ed125e2a7d14d0c9c246d2f462dad668537 | [
"BSD-3-Clause"
] | 1 | 2020-07-14T11:36:09.000Z | 2020-07-14T11:36:09.000Z | #ifndef STAN_LANG_GENERATOR_WRITE_BEGIN_ALL_DIMS_ROW_MAJ_LOOP_HPP
#define STAN_LANG_GENERATOR_WRITE_BEGIN_ALL_DIMS_ROW_MAJ_LOOP_HPP
#include <stan/lang/ast.hpp>
#include <stan/lang/generator/constants.hpp>
#include <stan/lang/generator/generate_expression.hpp>
#include <stan/lang/generator/generate_indent.hpp>
#includ... | 34.340909 | 74 | 0.56221 | drezap |
a36de87101135531ea505f8b958a45de015d86d6 | 33,501 | cpp | C++ | engine/source/Steel/Scripting/ScriptingCallsRegister.cpp | filscorporation/Engine | ff306f2c1129dbc7e3c4baed6bf99494747fa0cc | [
"MIT"
] | null | null | null | engine/source/Steel/Scripting/ScriptingCallsRegister.cpp | filscorporation/Engine | ff306f2c1129dbc7e3c4baed6bf99494747fa0cc | [
"MIT"
] | null | null | null | engine/source/Steel/Scripting/ScriptingCallsRegister.cpp | filscorporation/Engine | ff306f2c1129dbc7e3c4baed6bf99494747fa0cc | [
"MIT"
] | null | null | null | #include "ScriptingCallsRegister.h"
#include "ComponentsInternalCalls.h"
#include "EntityInternalCalls.h"
#include "CoreInternalCalls.h"
#include "UIInternalCalls.h"
void ScriptingCallsRegister::RegisterInternalCalls()
{
mono_add_internal_call("Steel.Application::Quit_Internal", (void*)CoreInternalCalls::Applicati... | 109.839344 | 169 | 0.836154 | filscorporation |
a3717c38574302f0900bcf8ac646379da5edd8d9 | 1,458 | inl | C++ | pencil/include/util/geometry/geometry_v_align.inl | awarnke/crystal-facet-uml | 89da1452379c53aef473b4dc28501a6b068d66a9 | [
"Apache-2.0"
] | 1 | 2021-06-06T05:57:21.000Z | 2021-06-06T05:57:21.000Z | pencil/include/util/geometry/geometry_v_align.inl | awarnke/crystal-facet-uml | 89da1452379c53aef473b4dc28501a6b068d66a9 | [
"Apache-2.0"
] | 1 | 2021-08-30T17:42:27.000Z | 2021-08-30T17:42:27.000Z | pencil/include/util/geometry/geometry_v_align.inl | awarnke/crystal-facet-uml | 89da1452379c53aef473b4dc28501a6b068d66a9 | [
"Apache-2.0"
] | null | null | null | /* File: geometry_v_align.inl; Copyright and License: see below */
#include "trace.h"
#include "tslog.h"
static inline double geometry_v_align_get_top ( const geometry_v_align_t *this_, double height, double reference_top, double reference_height )
{
double top;
switch ( *this_ )
{
case GEOMETRY_... | 25.137931 | 143 | 0.64952 | awarnke |
a37309f1979e7924aa427d69d3cb6ec2b1942ca1 | 1,716 | cpp | C++ | Practice/2018/2018.7.22/UVAlive7041.cpp | SYCstudio/OI | 6e9bfc17dbd4b43467af9b19aa2aed41e28972fa | [
"MIT"
] | 4 | 2017-10-31T14:25:18.000Z | 2018-06-10T16:10:17.000Z | Practice/2018/2018.7.22/UVAlive7041.cpp | SYCstudio/OI | 6e9bfc17dbd4b43467af9b19aa2aed41e28972fa | [
"MIT"
] | null | null | null | Practice/2018/2018.7.22/UVAlive7041.cpp | SYCstudio/OI | 6e9bfc17dbd4b43467af9b19aa2aed41e28972fa | [
"MIT"
] | null | null | null | #include<iostream>
#include<cstdio>
#include<cstdlib>
#include<cstring>
#include<algorithm>
using namespace std;
#define ll long long
#define mem(Arr,x) memset(Arr,x,sizeof(Arr))
const int maxN=201000;
const int maxAlpha=26;
const int inf=2147483647;
class Node
{
public:
int son[maxAlpha];
int fail,len,cnt;
void ... | 17.875 | 81 | 0.583333 | SYCstudio |
a374c006818b15b9d458f0220737dad3533a36b4 | 1,391 | cpp | C++ | simulator/mips/mips_driver.cpp | Grigonoid/mipt-mips | c5f0bc9780556e668e8aa6e80094e55ecdece192 | [
"MIT"
] | 1 | 2019-11-13T15:30:56.000Z | 2019-11-13T15:30:56.000Z | simulator/mips/mips_driver.cpp | Grigonoid/mipt-mips | c5f0bc9780556e668e8aa6e80094e55ecdece192 | [
"MIT"
] | 1 | 2019-11-13T15:26:28.000Z | 2019-11-13T15:26:28.000Z | simulator/mips/mips_driver.cpp | Grigonoid/mipt-mips | c5f0bc9780556e668e8aa6e80094e55ecdece192 | [
"MIT"
] | null | null | null | /**
* driver.cpp - exception handler
* @author Pavel Kryukov
* Copyright 2019 MIPT-MIPS
*/
#include "mips.h"
#include "mips_register/mips_register.h"
#include <func_sim/driver/driver.h>
#include <simulator.h>
class DriverMIPS32 : public Driver
{
public:
explicit DriverMIPS32( Simulator* sim) : cpu( sim) { }
... | 33.119048 | 107 | 0.654925 | Grigonoid |
a3755382599f1fb1cc591c95c23b3d9d87c15361 | 5,495 | cpp | C++ | test/test.cpp | Xwilarg/Colodex | 8407888d648f7f512f5402d1c25c1dc582ad48d8 | [
"MIT"
] | 3 | 2021-09-08T03:13:07.000Z | 2021-11-12T12:01:32.000Z | test/test.cpp | Xwilarg/Colodex | 8407888d648f7f512f5402d1c25c1dc582ad48d8 | [
"MIT"
] | null | null | null | test/test.cpp | Xwilarg/Colodex | 8407888d648f7f512f5402d1c25c1dc582ad48d8 | [
"MIT"
] | null | null | null | #define _ITERATOR_DEBUG_LEVEL 0
#include <gtest/gtest.h>
extern "C" {
#include "colodex/channel.h"
#include "colodex/video.h"
#include "colodex/client.h"
}
static char* getToken()
{
#ifdef _WIN32
char *token;
size_t len;
errno_t err = _dupenv_s(&token, &len, "HOLODEX_TOKEN");
if (err || t... | 28.471503 | 147 | 0.672429 | Xwilarg |
a3757aba00f8f15a870f90741b3b1997025187d6 | 223 | cpp | C++ | TouchGFX_Ported_To_ILI9341_STM32F407G/TouchGFX/gui/src/apk2_screen/Apk2Presenter.cpp | trteodor/TouchGFX_Test | cd1abdef7e5a6f161ad35754fd951ea5de076021 | [
"MIT"
] | 1 | 2022-02-25T07:20:23.000Z | 2022-02-25T07:20:23.000Z | TouchGFX_Ported_To_ILI9341_STM32F407G/TouchGFX/gui/src/apk2_screen/Apk2Presenter.cpp | trteodor/TouchGFX_Test | cd1abdef7e5a6f161ad35754fd951ea5de076021 | [
"MIT"
] | null | null | null | TouchGFX_Ported_To_ILI9341_STM32F407G/TouchGFX/gui/src/apk2_screen/Apk2Presenter.cpp | trteodor/TouchGFX_Test | cd1abdef7e5a6f161ad35754fd951ea5de076021 | [
"MIT"
] | 1 | 2021-12-26T22:11:21.000Z | 2021-12-26T22:11:21.000Z | #include <gui/apk2_screen/Apk2View.hpp>
#include <gui/apk2_screen/Apk2Presenter.hpp>
Apk2Presenter::Apk2Presenter(Apk2View& v)
: view(v)
{
}
void Apk2Presenter::activate()
{
}
void Apk2Presenter::deactivate()
{
}
| 11.736842 | 44 | 0.721973 | trteodor |
a37a7db6df4d8de83d88e7e8f4a7569a24e7e233 | 1,986 | hpp | C++ | agency/detail/uninitialized.hpp | nerikhman/agency | 966ac59101f2fc3561a86b11874fbe8de361d0e4 | [
"BSD-3-Clause"
] | 129 | 2016-08-18T23:24:15.000Z | 2022-03-25T12:06:05.000Z | agency/detail/uninitialized.hpp | nerikhman/agency | 966ac59101f2fc3561a86b11874fbe8de361d0e4 | [
"BSD-3-Clause"
] | 86 | 2016-08-19T03:43:33.000Z | 2020-07-20T14:27:41.000Z | agency/detail/uninitialized.hpp | nerikhman/agency | 966ac59101f2fc3561a86b11874fbe8de361d0e4 | [
"BSD-3-Clause"
] | 23 | 2016-08-18T23:52:13.000Z | 2022-02-28T16:28:20.000Z | /*
* Copyright 2008-2013 NVIDIA 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... | 18.560748 | 76 | 0.618328 | nerikhman |
a37c803efb9ef9cecbcf302ee0a509417a1b5b8e | 243 | hpp | C++ | include/core/Types.hpp | diego-gt/calvin-engine | 8823a4262d243c70331a9b07303878edf81b2528 | [
"MIT"
] | null | null | null | include/core/Types.hpp | diego-gt/calvin-engine | 8823a4262d243c70331a9b07303878edf81b2528 | [
"MIT"
] | null | null | null | include/core/Types.hpp | diego-gt/calvin-engine | 8823a4262d243c70331a9b07303878edf81b2528 | [
"MIT"
] | null | null | null | #pragma once
using u8 = unsigned char;
using u16 = unsigned short;
using u32 = unsigned int;
using u64 = unsigned long long;
using i8 = char;
using i16 = short;
using i32 = int;
using i64 = long long;
using f32 = float;
using f64 = double;
| 16.2 | 31 | 0.703704 | diego-gt |
a37cab742e514432948435512f8ed65ff2c55784 | 16,401 | cpp | C++ | examples/benchmark_matops.cpp | lwhZJU/raptor | cc8a68f1998c180dd696cb4c6b5fb18987fa60df | [
"BSD-2-Clause"
] | 1 | 2019-03-28T08:05:11.000Z | 2019-03-28T08:05:11.000Z | examples/benchmark_matops.cpp | lwhZJU/raptor | cc8a68f1998c180dd696cb4c6b5fb18987fa60df | [
"BSD-2-Clause"
] | null | null | null | examples/benchmark_matops.cpp | lwhZJU/raptor | cc8a68f1998c180dd696cb4c6b5fb18987fa60df | [
"BSD-2-Clause"
] | null | null | null | // Copyright (c) 2015-2017, RAPtor Developer Team
// License: Simplified BSD, http://opensource.org/licenses/BSD-2-Clause
#include <mpi.h>
#include <math.h>
#include <stdlib.h>
#include <iostream>
#include <assert.h>
#include "clear_cache.hpp"
#include "core/par_matrix.hpp"
#include "core/par_vector.hpp"
#include "co... | 34.097713 | 105 | 0.526065 | lwhZJU |
a38102ff297a7c358fff783e686f4a1f1575a4f6 | 7,684 | cpp | C++ | experiments/ros packages/io_lib/src/file_io.cpp | Slifer64/novel-DMP-constraints | cad6727a12642130dc64fd93827099e4cb763ec8 | [
"MIT"
] | null | null | null | experiments/ros packages/io_lib/src/file_io.cpp | Slifer64/novel-DMP-constraints | cad6727a12642130dc64fd93827099e4cb763ec8 | [
"MIT"
] | null | null | null | experiments/ros packages/io_lib/src/file_io.cpp | Slifer64/novel-DMP-constraints | cad6727a12642130dc64fd93827099e4cb763ec8 | [
"MIT"
] | null | null | null | #include <io_lib/file_io.h>
namespace as64_
{
namespace io_
{
const char* FileIO::error_msg[] =
{
"EMPTY_HEADER",
"CORRUPTED_HEADER",
"ENTRY DOES NOT EXIST:",
"DUPLICATE_ENTRY",
"TYPE_MISMATCH",
"DIMENSIONS_MISMATCH",
"INVALID_OP_FOR_OPENMODE",
"UNKNOWN_TYPE"
};
const char *FileIO::TypeName[] =
{
... | 27.442857 | 178 | 0.617387 | Slifer64 |
a386f74a4909c814bb5bbc3149d768300080750d | 459 | cpp | C++ | pointer_stuff/playing_pointers.cpp | ramchandra94/datastructures_in_cpp | 28274ff4f0d9736cfe690ef002b90b9ebbfaf2f7 | [
"MIT"
] | null | null | null | pointer_stuff/playing_pointers.cpp | ramchandra94/datastructures_in_cpp | 28274ff4f0d9736cfe690ef002b90b9ebbfaf2f7 | [
"MIT"
] | null | null | null | pointer_stuff/playing_pointers.cpp | ramchandra94/datastructures_in_cpp | 28274ff4f0d9736cfe690ef002b90b9ebbfaf2f7 | [
"MIT"
] | null | null | null | #include<iostream>
using namespace std;
int main(){
int a = 5;
char ch = 'a';
char * p = &ch;
cout << "directly printing character " << ch << endl;
cout << "printing character through pointer " << *p << endl;
cout << "printing the pointer itself " << p << endl;
cout << "printing the 0th index of pointer ... | 17 | 95 | 0.614379 | ramchandra94 |
a388cef4bdc2719128dbdf12f46c083ccd4f4166 | 1,010 | cc | C++ | lib/generic/read_csv.test.cc | itko/scanbox | 9a00c11eafb4cc2faa69bfcc76bdf0d8e295dcf3 | [
"BSD-3-Clause"
] | 1 | 2020-01-09T09:30:23.000Z | 2020-01-09T09:30:23.000Z | lib/generic/read_csv.test.cc | itko/scanbox | 9a00c11eafb4cc2faa69bfcc76bdf0d8e295dcf3 | [
"BSD-3-Clause"
] | 23 | 2018-03-19T20:54:52.000Z | 2018-05-16T12:36:59.000Z | lib/generic/read_csv.test.cc | itko/scanbox | 9a00c11eafb4cc2faa69bfcc76bdf0d8e295dcf3 | [
"BSD-3-Clause"
] | 1 | 2018-03-14T20:00:43.000Z | 2018-03-14T20:00:43.000Z | /// \file
/// Maintainer: Felice Serena
///
///
#include "read_csv.h"
#include <boost/test/unit_test.hpp>
BOOST_AUTO_TEST_CASE( read_csv_all ) {
// Note: make sure to run ./lib/tests to pass this test (from the build directory which in turn is located in the project root)
const std::vector<std::vector<std:... | 33.666667 | 131 | 0.612871 | itko |
a388fe0b1c93d614172e7ac985a7a78e9ef1743d | 509 | cpp | C++ | partition-array-into-three-parts-with-equal-sum/partition-array-into-three-parts-with-equal-sum.cpp | sharmishtha2401/leetcode | 0c7389877afb64b3ff277f075ed9c87b24cb587b | [
"MIT"
] | 1 | 2022-02-14T07:57:07.000Z | 2022-02-14T07:57:07.000Z | partition-array-into-three-parts-with-equal-sum/partition-array-into-three-parts-with-equal-sum.cpp | sharmishtha2401/leetcode | 0c7389877afb64b3ff277f075ed9c87b24cb587b | [
"MIT"
] | null | null | null | partition-array-into-three-parts-with-equal-sum/partition-array-into-three-parts-with-equal-sum.cpp | sharmishtha2401/leetcode | 0c7389877afb64b3ff277f075ed9c87b24cb587b | [
"MIT"
] | null | null | null | class Solution {
public:
bool canThreePartsEqualSum(vector<int>& arr) {
int sum=0;
for(int i=0; i<arr.size(); i++)
{
sum+=arr[i];
}
cout<<sum<<endl;
if(sum%3!=0)
return false;
int s1=0;
int count=0;
for(int i=0; i<arr.si... | 20.36 | 50 | 0.357564 | sharmishtha2401 |
a389ac74a37930657c4914bad515945b2f480012 | 8,297 | hpp | C++ | src/ocl/ref_pooling.hpp | igor-byel/mkl-dnn | b03ea18e2c3a7576052c52e6c9aca7baa66d44af | [
"Apache-2.0"
] | null | null | null | src/ocl/ref_pooling.hpp | igor-byel/mkl-dnn | b03ea18e2c3a7576052c52e6c9aca7baa66d44af | [
"Apache-2.0"
] | null | null | null | src/ocl/ref_pooling.hpp | igor-byel/mkl-dnn | b03ea18e2c3a7576052c52e6c9aca7baa66d44af | [
"Apache-2.0"
] | null | null | null | /*******************************************************************************
* 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... | 39.136792 | 80 | 0.562372 | igor-byel |
a38a0c80b5df96edacb2bd70ff5f78585ad7c214 | 5,845 | cpp | C++ | Code/src/bcg_ver5/Projection.cpp | amihashemi/cs294project | 7d0f67a40f72cd58a86fb7d7fcb3ed40f5ddc1ec | [
"MIT"
] | null | null | null | Code/src/bcg_ver5/Projection.cpp | amihashemi/cs294project | 7d0f67a40f72cd58a86fb7d7fcb3ed40f5ddc1ec | [
"MIT"
] | null | null | null | Code/src/bcg_ver5/Projection.cpp | amihashemi/cs294project | 7d0f67a40f72cd58a86fb7d7fcb3ed40f5ddc1ec | [
"MIT"
] | null | null | null | /*
* Author: Johnny Lee
* SVN Login: itzfx
*/
#include <cstdio>
#include <iostream>
#include <cassert>
#include <cmath>
#include <vector>
#include "DBox.H"
#include "RectMDArray.H"
#include "FFT1D.H"
#include "FFTMD.H"
#include "FieldData.H"
#include "DeltaVelocity.H"
#include "PoissonSolver.H"
#include "Projection... | 32.472222 | 101 | 0.614029 | amihashemi |
a38f9560bc5a3656d3677ec60eb6feabd15de94d | 1,347 | cpp | C++ | codeforces/1536B.cpp | sgrade/cpptest | 84ade6ec03ea394d4a4489c7559d12b4799c0b62 | [
"MIT"
] | null | null | null | codeforces/1536B.cpp | sgrade/cpptest | 84ade6ec03ea394d4a4489c7559d12b4799c0b62 | [
"MIT"
] | null | null | null | codeforces/1536B.cpp | sgrade/cpptest | 84ade6ec03ea394d4a4489c7559d12b4799c0b62 | [
"MIT"
] | null | null | null | // B. Prinzessin der Verurteilung
#include <iostream>
#include <string>
#include <algorithm>
#include <set>
using namespace std;
// With default comparator it will be a, aa, ..., b, ba, ... (size doesn't matter)
// In the below comparator size does matter: it will be a, b, ..., aa, ... ba, ..
struct sComp {
bool... | 21.380952 | 82 | 0.467706 | sgrade |
a3906eca250dd6f5b7a9aaedb0a2799bd4d5e6df | 1,735 | cxx | C++ | contrib/Netxx-0.3.2/tests/io/stream_client.cxx | dulton/reSipServer | ac4241df81c1e3eef2e678271ffef4dda1fc6747 | [
"Apache-2.0"
] | 1 | 2019-04-15T14:10:58.000Z | 2019-04-15T14:10:58.000Z | contrib/Netxx-0.3.2/tests/io/stream_client.cxx | dulton/reSipServer | ac4241df81c1e3eef2e678271ffef4dda1fc6747 | [
"Apache-2.0"
] | null | null | null | contrib/Netxx-0.3.2/tests/io/stream_client.cxx | dulton/reSipServer | ac4241df81c1e3eef2e678271ffef4dda1fc6747 | [
"Apache-2.0"
] | 2 | 2019-10-31T09:11:09.000Z | 2021-09-17T01:00:49.000Z | #include <Netxx/Stream.h>
#include <Netxx/Timeout.h>
#include <iostream>
#include <fstream>
#include <sstream>
#include <stdexcept>
#include <exception>
#include <cstring>
#include <cstdlib>
int main (int argc, char *argv[]) {
if (argc != 4) {
std::cerr << "Usage: " << argv[0] << " address file size\n";
return ... | 25.895522 | 85 | 0.651297 | dulton |
a391152d8435e9b991a4cc554ced8695f18568b3 | 10,698 | cpp | C++ | src/MIT_alice/AUIComboWidget.cpp | midasitdev/aliceui | 3693018021892bcccbc66f29b931d9736db6f9dc | [
"MIT"
] | 10 | 2019-02-21T13:07:06.000Z | 2019-09-21T02:56:37.000Z | src/MIT_alice/AUIComboWidget.cpp | midasitdev/aliceui | 3693018021892bcccbc66f29b931d9736db6f9dc | [
"MIT"
] | 5 | 2019-02-28T03:11:50.000Z | 2019-03-08T00:16:17.000Z | src/MIT_alice/AUIComboWidget.cpp | midasitdev/aliceui | 3693018021892bcccbc66f29b931d9736db6f9dc | [
"MIT"
] | 5 | 2019-02-25T00:53:08.000Z | 2019-07-05T01:50:34.000Z | #include "pch.h"
#include "AUIComboWidget.h"
#include "AUIComboPopupWidget.h"
#include "AUIComboDefaultValue.h"
#include "AUIWidgetManager.h"
#include "AUIComboAdapter.h"
#include "AUIStateDrawable.h"
#include "AUILayerDrawable.h"
#include "AUIShapeDrawable.h"
#include "AUIRectShape.h"
#include "AUITriangleShape.h"
#in... | 31.934328 | 114 | 0.670219 | midasitdev |
a391790aefbe5c1ee66ec31ca8f8e152c4a1c8ee | 51,179 | cc | C++ | Digit_Example/opt_two_step/gen/opt/J_d1y_time_RightStance.cc | prem-chand/Cassie_CFROST | da4bd51442f86e852cbb630cc91c9a380a10b66d | [
"BSD-3-Clause"
] | null | null | null | Digit_Example/opt_two_step/gen/opt/J_d1y_time_RightStance.cc | prem-chand/Cassie_CFROST | da4bd51442f86e852cbb630cc91c9a380a10b66d | [
"BSD-3-Clause"
] | null | null | null | Digit_Example/opt_two_step/gen/opt/J_d1y_time_RightStance.cc | prem-chand/Cassie_CFROST | da4bd51442f86e852cbb630cc91c9a380a10b66d | [
"BSD-3-Clause"
] | null | null | null | /*
* Automatically Generated from Mathematica.
* Fri 5 Nov 2021 16:18:14 GMT-04:00
*/
#ifdef MATLAB_MEX_FILE
#include <stdexcept>
#include <cmath>
#include<math.h>
/**
* Copied from Wolfram Mathematica C Definitions file mdefs.hpp
* Changed marcos to inline functions (Eric Cousineau)
*/
inline double Power(doubl... | 106.845511 | 783 | 0.668341 | prem-chand |
a391a1cc6233aeae94567c880af2bcdf7b321a4d | 4,346 | cpp | C++ | CLR/Libraries/CorLib/corlib_native_System_Text_UTF8Encoding.cpp | valoni/STM32F103 | 75f0cb8be593ca287a08f5992d1f5d3c3bb12bfc | [
"Apache-2.0"
] | 1 | 2020-06-09T02:16:43.000Z | 2020-06-09T02:16:43.000Z | CLR/Libraries/CorLib/corlib_native_System_Text_UTF8Encoding.cpp | valoni/STM32F103 | 75f0cb8be593ca287a08f5992d1f5d3c3bb12bfc | [
"Apache-2.0"
] | null | null | null | CLR/Libraries/CorLib/corlib_native_System_Text_UTF8Encoding.cpp | valoni/STM32F103 | 75f0cb8be593ca287a08f5992d1f5d3c3bb12bfc | [
"Apache-2.0"
] | 1 | 2019-12-03T05:37:43.000Z | 2019-12-03T05:37:43.000Z | ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Copyright (c) Microsoft Corporation. All rights reserved.
///////////////////////////////////////////////////////... | 37.791304 | 201 | 0.628394 | valoni |
a3932c968b99d72b94324deb598927f322d51ef3 | 10,574 | cpp | C++ | plugin/normalizePlugin/normalizePlugin.cpp | kvzhao/TensorRT-5.1.5 | e47c3ca3247c8e63f0a236d547fc7b1327494e57 | [
"Apache-2.0"
] | 1 | 2019-09-09T01:59:51.000Z | 2019-09-09T01:59:51.000Z | plugin/normalizePlugin/normalizePlugin.cpp | kvzhao/TensorRT-5.1.5 | e47c3ca3247c8e63f0a236d547fc7b1327494e57 | [
"Apache-2.0"
] | 1 | 2019-08-12T06:46:14.000Z | 2019-08-12T06:46:14.000Z | plugin/normalizePlugin/normalizePlugin.cpp | kvzhao/TensorRT-5.1.5 | e47c3ca3247c8e63f0a236d547fc7b1327494e57 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2019, NVIDIA CORPORATION. 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 requir... | 31.470238 | 120 | 0.693021 | kvzhao |
a3994edea939d2ced79f5ffa2190ea7cbc6e0933 | 6,105 | cpp | C++ | rocsolver/library/src/auxiliary/rocauxiliary_larft.cpp | eidenyoshida/rocSOLVER | 1240759207b63f8aeba51db259873141c72f9735 | [
"BSD-2-Clause"
] | null | null | null | rocsolver/library/src/auxiliary/rocauxiliary_larft.cpp | eidenyoshida/rocSOLVER | 1240759207b63f8aeba51db259873141c72f9735 | [
"BSD-2-Clause"
] | null | null | null | rocsolver/library/src/auxiliary/rocauxiliary_larft.cpp | eidenyoshida/rocSOLVER | 1240759207b63f8aeba51db259873141c72f9735 | [
"BSD-2-Clause"
] | null | null | null | /* ************************************************************************
* Copyright 2019-2020 Advanced Micro Devices, Inc.
* ************************************************************************ */
#include "rocauxiliary_larft.hpp"
template <typename T>
rocblas_status rocsolver_larft_impl(rocblas_handle hand... | 44.562044 | 107 | 0.413923 | eidenyoshida |
a39971d571f4881019f41309634ee65cd09a7a1f | 4,050 | cpp | C++ | src/DEX/EnumToString.cpp | ahawad/LIEF | 88931ea405d9824faa5749731427533e0c27173e | [
"Apache-2.0"
] | null | null | null | src/DEX/EnumToString.cpp | ahawad/LIEF | 88931ea405d9824faa5749731427533e0c27173e | [
"Apache-2.0"
] | null | null | null | src/DEX/EnumToString.cpp | ahawad/LIEF | 88931ea405d9824faa5749731427533e0c27173e | [
"Apache-2.0"
] | null | null | null | /* Copyright 2017 - 2022 R. Thomas
* Copyright 2017 - 2022 Quarkslab
*
* 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 req... | 36.818182 | 75 | 0.661481 | ahawad |
a399fbdc7932b13a516b2268e4a76fe52b997c49 | 177,609 | cpp | C++ | src/alglib/alglibmisc.cpp | dc1394/Gauss_Legendre | 70c179a27e20ae8cf109035031a5c84ba12a7fc9 | [
"BSD-2-Clause"
] | null | null | null | src/alglib/alglibmisc.cpp | dc1394/Gauss_Legendre | 70c179a27e20ae8cf109035031a5c84ba12a7fc9 | [
"BSD-2-Clause"
] | null | null | null | src/alglib/alglibmisc.cpp | dc1394/Gauss_Legendre | 70c179a27e20ae8cf109035031a5c84ba12a7fc9 | [
"BSD-2-Clause"
] | null | null | null | /*************************************************************************
ALGLIB 3.9.0 (source code generated 2014-12-11)
Copyright (c) Sergey Bochkanov (ALGLIB project).
>>> SOURCE LICENSE >>>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as... | 31.806769 | 236 | 0.56192 | dc1394 |
a39c287b0063e72596163718cbbbfed66a0e5331 | 5,399 | cpp | C++ | src/game/server/player_pickup.cpp | bluedogz162/tf_coop_extended_custom | 0212744ebef4f74c4e0047320d9da7d8571a8ee0 | [
"Unlicense"
] | 4 | 2020-04-24T22:20:34.000Z | 2022-01-10T23:16:53.000Z | src/game/server/player_pickup.cpp | bluedogz162/tf_coop_extended_custom | 0212744ebef4f74c4e0047320d9da7d8571a8ee0 | [
"Unlicense"
] | 1 | 2020-05-01T19:13:25.000Z | 2020-05-02T07:01:45.000Z | src/game/server/player_pickup.cpp | bluedogz162/tf_coop_extended_custom | 0212744ebef4f74c4e0047320d9da7d8571a8ee0 | [
"Unlicense"
] | 3 | 2020-04-24T22:20:36.000Z | 2022-02-21T21:48:05.000Z | //========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//
//=============================================================================//
#include "cbase.h"
#include "player_pickup.h"
// memdbgon must be the last include file in a .cpp file!!!
#include "tier... | 27.687179 | 140 | 0.724949 | bluedogz162 |
a39d62766849e91d7c9bf3c30f60acb1816208c7 | 11,133 | cpp | C++ | ProceduralTerrainGen/Plugins/RuntimeMeshComponent/Intermediate/Build/Win32/UE4/Inc/RuntimeMeshComponent/RuntimeMeshModifierNormals.gen.cpp | RFornalik/ProceduralTerrain | 017b8df6606eef242a399192518dcd9ebd3bbcc9 | [
"MIT"
] | null | null | null | ProceduralTerrainGen/Plugins/RuntimeMeshComponent/Intermediate/Build/Win32/UE4/Inc/RuntimeMeshComponent/RuntimeMeshModifierNormals.gen.cpp | RFornalik/ProceduralTerrain | 017b8df6606eef242a399192518dcd9ebd3bbcc9 | [
"MIT"
] | null | null | null | ProceduralTerrainGen/Plugins/RuntimeMeshComponent/Intermediate/Build/Win32/UE4/Inc/RuntimeMeshComponent/RuntimeMeshModifierNormals.gen.cpp | RFornalik/ProceduralTerrain | 017b8df6606eef242a399192518dcd9ebd3bbcc9 | [
"MIT"
] | null | null | null | // Copyright Epic Games, Inc. All Rights Reserved.
/*===========================================================================
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
========================================================================... | 65.105263 | 870 | 0.849367 | RFornalik |
a3a07102ec9623d69ab1c2e460f30f78d3156db4 | 2,919 | cpp | C++ | lonestar/experimental/meshsingularities/Productions/Point3D/main.cpp | lineagech/Galois | 5c7c0abaf7253cb354e35a3836147a960a37ad5b | [
"BSD-3-Clause"
] | null | null | null | lonestar/experimental/meshsingularities/Productions/Point3D/main.cpp | lineagech/Galois | 5c7c0abaf7253cb354e35a3836147a960a37ad5b | [
"BSD-3-Clause"
] | null | null | null | lonestar/experimental/meshsingularities/Productions/Point3D/main.cpp | lineagech/Galois | 5c7c0abaf7253cb354e35a3836147a960a37ad5b | [
"BSD-3-Clause"
] | null | null | null | /*
* This file belongs to the Galois project, a C++ library for exploiting
* parallelism. The code is being released under the terms of the 3-Clause BSD
* License (a copy is located in LICENSE.txt at the top-level directory).
*
* Copyright (C) 2018, The University of Texas at Austin. All rights reserved.
* UNIVER... | 33.170455 | 79 | 0.689277 | lineagech |
a3a208ca97557248d7a4b53eec435789d8d28700 | 537 | cc | C++ | base/init.cc | xiaoqiyu/CTPTrader | 7423b8cb012e31f16c39b5055792886b39b11251 | [
"Apache-2.0"
] | 142 | 2017-06-14T11:39:55.000Z | 2022-03-20T15:08:39.000Z | base/init.cc | xiaoqiyu/DERIQT | 57c20c40a692a4f877296a39ed91aeab8e4c6d66 | [
"Apache-2.0"
] | 17 | 2015-07-13T02:37:55.000Z | 2017-05-02T07:12:33.000Z | base/init.cc | xiaoqiyu/DERIQT | 57c20c40a692a4f877296a39ed91aeab8e4c6d66 | [
"Apache-2.0"
] | 54 | 2015-04-20T07:27:43.000Z | 2017-04-27T21:17:32.000Z | #include "base/init.h"
#include "absl/debugging/failure_signal_handler.h"
#include "absl/debugging/symbolize.h"
#include "absl/flags/parse.h"
#include "glog/logging.h"
namespace base {
void InitProgram(int argc, char *argv[]) {
// Initialize the symbolizer to get a human-readable stack trace
absl::InitializeSymbo... | 25.571429 | 66 | 0.743017 | xiaoqiyu |
a3a252e51737b84ad789f78ae4001110b4e2d5f6 | 7,781 | hpp | C++ | libraries/chain/include/eosio/chain/exceptions.hpp | camielvanramele/Graduation-Internship | ab0e9b8db65b775459ddb3cb813e8e51b55ad1d1 | [
"MIT"
] | 2 | 2021-08-19T03:03:45.000Z | 2021-08-19T03:04:46.000Z | libraries/chain/include/eosio/chain/exceptions.hpp | ElementhFoundation/blockchain | 5f63038c0e6fc90bc4bc0bc576410087785d8099 | [
"MIT"
] | null | null | null | libraries/chain/include/eosio/chain/exceptions.hpp | ElementhFoundation/blockchain | 5f63038c0e6fc90bc4bc0bc576410087785d8099 | [
"MIT"
] | null | null | null | /**
* @file
* @copyright defined in eos/LICENSE.txt
*/
#pragma once
#include <fc/exception/exception.hpp>
#include <eosio/chain/protocol.hpp>
#include <eosio/utilities/exception_macros.hpp>
namespace eosio { namespace chain {
FC_DECLARE_EXCEPTION( chain_exception, 3000000, "blockchain exception" )
FC_DECL... | 101.051948 | 202 | 0.7589 | camielvanramele |
a3a8b302709dcb5b523a845731f2a60ffaafbc7e | 3,769 | cpp | C++ | test/external_contribution/CopyPipelineHigh6/Pack8to1/Pack8to1_genx.cpp | dmitryryintel/cm-compiler | 1ef7651dc1c33d3e4853f8779d6a720e45e20e19 | [
"Intel",
"MIT"
] | 115 | 2018-02-01T18:56:44.000Z | 2022-03-21T13:23:00.000Z | test/external_contribution/CopyPipelineHigh6/Pack8to1/Pack8to1_genx.cpp | dmitryryintel/cm-compiler | 1ef7651dc1c33d3e4853f8779d6a720e45e20e19 | [
"Intel",
"MIT"
] | 27 | 2018-09-17T17:49:49.000Z | 2021-11-03T04:31:51.000Z | test/external_contribution/CopyPipelineHigh6/Pack8to1/Pack8to1_genx.cpp | dmitryryintel/cm-compiler | 1ef7651dc1c33d3e4853f8779d6a720e45e20e19 | [
"Intel",
"MIT"
] | 55 | 2018-02-01T07:11:49.000Z | 2022-03-04T01:20:23.000Z | /*
* Copyright (c) 2017, Intel Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, ... | 32.773913 | 78 | 0.639958 | dmitryryintel |
a3aa9c1f95ce6f2ab2cc35d15be7bda7ee413957 | 27,578 | cpp | C++ | doc/cppnow-2016/example/mpl_at.cpp | GuiCodron/sml | 2dab1265f87f70a2941af9de8f3f157df9a6a53f | [
"BSL-1.0"
] | 320 | 2020-07-03T18:58:34.000Z | 2022-03-31T05:31:44.000Z | doc/cppnow-2016/example/mpl_at.cpp | GuiCodron/sml | 2dab1265f87f70a2941af9de8f3f157df9a6a53f | [
"BSL-1.0"
] | 106 | 2020-06-30T15:03:00.000Z | 2022-03-31T10:42:38.000Z | doc/cppnow-2016/example/mpl_at.cpp | GuiCodron/sml | 2dab1265f87f70a2941af9de8f3f157df9a6a53f | [
"BSL-1.0"
] | 55 | 2020-07-10T12:32:49.000Z | 2022-03-14T07:12:28.000Z | //
// Copyright (c) 2016-2019 Kris Jusiak (kris at jusiak dot net)
//
// 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)
//
#define BOOST_MPL_LIMIT_MAP_SIZE 128
#include <boost/preprocessor/iterate.hpp>
#include <bo... | 50.416819 | 80 | 0.44822 | GuiCodron |
a3aaba8be3a2eee78d1064444a1ec2498fec650b | 4,632 | cpp | C++ | samples/snippets/cpp/VS_Snippets_Remoting/Httpwebrequest_proxy/CPP/httpwebrequest_proxy.cpp | broken240/dotnet-api-docs | af0894cae0c60a12d53ad7fde36bd5e1203d0897 | [
"CC-BY-4.0",
"MIT"
] | 1 | 2020-07-05T20:15:35.000Z | 2020-07-05T20:15:35.000Z | samples/snippets/cpp/VS_Snippets_Remoting/Httpwebrequest_proxy/CPP/httpwebrequest_proxy.cpp | broken240/dotnet-api-docs | af0894cae0c60a12d53ad7fde36bd5e1203d0897 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | samples/snippets/cpp/VS_Snippets_Remoting/Httpwebrequest_proxy/CPP/httpwebrequest_proxy.cpp | broken240/dotnet-api-docs | af0894cae0c60a12d53ad7fde36bd5e1203d0897 | [
"CC-BY-4.0",
"MIT"
] | null | null | null | /*System::Net::HttpWebRequest::Proxy
This program demonstrates the 'Proxy' property of the 'HttpWebRequest' class.
A 'HttpWebRequest' Object* and a 'Proxy' Object* is created.The Proxy Object is then assigned to
the 'Proxy' Property of the 'HttpWebRequest' Object* and printed onto the console(this is the default
... | 41.72973 | 113 | 0.568005 | broken240 |
a3b1e02b04f4a567d852ad370004c6b66ff29b77 | 12,335 | hpp | C++ | include/MasterServer/DedicatedServerPrepareForConnectionRequest.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | include/MasterServer/DedicatedServerPrepareForConnectionRequest.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | include/MasterServer/DedicatedServerPrepareForConnectionRequest.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: BGNet.Core.Messages.BaseReli... | 58.183962 | 359 | 0.754439 | RedBrumbler |
a3b6bb5e964e1c1366f705ced2a9cf61c92a3ad8 | 3,402 | cpp | C++ | deps/boost_1_63_0/libs/qvm/test/rot_quat_test.cpp | newtondev/drachtio-server | cd18c6c0e1aa05501b068fc373682333bab5640c | [
"MIT"
] | null | null | null | deps/boost_1_63_0/libs/qvm/test/rot_quat_test.cpp | newtondev/drachtio-server | cd18c6c0e1aa05501b068fc373682333bab5640c | [
"MIT"
] | null | null | null | deps/boost_1_63_0/libs/qvm/test/rot_quat_test.cpp | newtondev/drachtio-server | cd18c6c0e1aa05501b068fc373682333bab5640c | [
"MIT"
] | null | null | null | //Copyright (c) 2008-2016 Emil Dotchevski and Reverge Studios, Inc.
//Distributed under the Boost Software License, Version 1.0. (See accompanying
//file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#include <boost/qvm/quat_operations.hpp>
#include <boost/qvm/mat_operations.hpp>
#inc... | 35.4375 | 85 | 0.516461 | newtondev |
a3b7899daa1dc5d90fb8b9ca2a869b93c8444be4 | 1,587 | cpp | C++ | Engine/Core/Utilities.cpp | Alex-Sindledecker/Mitochondrion_Engine | 4185f8633648473c64126e47a60adf02b68aaae5 | [
"MIT"
] | null | null | null | Engine/Core/Utilities.cpp | Alex-Sindledecker/Mitochondrion_Engine | 4185f8633648473c64126e47a60adf02b68aaae5 | [
"MIT"
] | null | null | null | Engine/Core/Utilities.cpp | Alex-Sindledecker/Mitochondrion_Engine | 4185f8633648473c64126e47a60adf02b68aaae5 | [
"MIT"
] | null | null | null | #include "mepch.h"
#include "Utilities.h"
namespace util
{
ThreadPool::ThreadPool(size_t size)
{
start(size);
}
ThreadPool::~ThreadPool()
{
if (!drain)
finish();
}
void ThreadPool::start(size_t size)
{
for (int i = 0; i < size; i++)
{
threads.emplace_back([=] {
//Thread loop
while (tru... | 18.892857 | 86 | 0.616887 | Alex-Sindledecker |
a3b812b57e66c055dba5a057b6ebcc9160a66483 | 155 | cpp | C++ | src/var/Vector.cpp | bander9289/StratifyAPI | 9b45091aa71a4e5718047438ea4044c1fdc814a3 | [
"MIT"
] | 2 | 2016-05-21T03:09:19.000Z | 2016-08-27T03:40:51.000Z | src/var/Vector.cpp | bander9289/StratifyAPI | 9b45091aa71a4e5718047438ea4044c1fdc814a3 | [
"MIT"
] | 75 | 2017-10-08T22:21:19.000Z | 2020-03-30T21:13:20.000Z | src/var/Vector.cpp | StratifyLabs/StratifyLib | 975a5c25a84296fd0dec64fe4dc579cf7027abe6 | [
"MIT"
] | 5 | 2018-03-27T16:44:09.000Z | 2020-07-08T16:45:55.000Z | /*! \file */ // Copyright 2011-2020 Tyler Gilbert and Stratify Labs, Inc; see LICENSE.md for rights.
#include "var/Vector.hpp"
u32 sapi_vector_unused;
| 19.375 | 100 | 0.722581 | bander9289 |
a3c22d61a97af366a588930da800140f0b680760 | 1,582 | hpp | C++ | Differential_Equations/C++/RK/RK_class.hpp | dkaramit/ASAP | afade2737b332e7dbf0ea06eb4f31564a478ee40 | [
"MIT"
] | null | null | null | Differential_Equations/C++/RK/RK_class.hpp | dkaramit/ASAP | afade2737b332e7dbf0ea06eb4f31564a478ee40 | [
"MIT"
] | null | null | null | Differential_Equations/C++/RK/RK_class.hpp | dkaramit/ASAP | afade2737b332e7dbf0ea06eb4f31564a478ee40 | [
"MIT"
] | 1 | 2021-12-15T02:03:01.000Z | 2021-12-15T02:03:01.000Z | #ifndef RK_class
#define RK_class
//This is a general implementation of explicit RK solver of
// a system of differential equations in the interval [0,1].
template<class diffeq, int number_of_eqs, class RK_method> //Note that you can use template to pass the method
class RK
{
/*
This is a class that defines ... | 28.25 | 110 | 0.666245 | dkaramit |
a3c30e8579142714db6f85b58a257ab49fe725be | 3,242 | cpp | C++ | Source/ProceduralDungeon/Private/TriggerDoor.cpp | davchezt/ProceduralDungeon | 12d77598a03de22ea479dc25b6e288d1097dc5b0 | [
"MIT"
] | 1 | 2021-03-14T07:27:56.000Z | 2021-03-14T07:27:56.000Z | Source/ProceduralDungeon/Private/TriggerDoor.cpp | davchezt/ProceduralDungeon | 12d77598a03de22ea479dc25b6e288d1097dc5b0 | [
"MIT"
] | null | null | null | Source/ProceduralDungeon/Private/TriggerDoor.cpp | davchezt/ProceduralDungeon | 12d77598a03de22ea479dc25b6e288d1097dc5b0 | [
"MIT"
] | null | null | null | /*
* MIT License
*
* Copyright (c) 2019-2021 Benoit Pelletier
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, ... | 32.42 | 198 | 0.761258 | davchezt |
a3c822213e41395f88bec6d3bcfa59a4ce4fdd28 | 2,578 | cpp | C++ | Source/FourPlayerCoop/Private/Items/SImpactEffect.cpp | roy-sourish/FourPlayerCoop | 22703b29fa0fb6e6f718bbd68ac50daa97be6bdf | [
"MIT"
] | 1 | 2021-06-29T16:27:43.000Z | 2021-06-29T16:27:43.000Z | Source/FourPlayerCoop/Private/Items/SImpactEffect.cpp | roy-sourish/FourPlayerCoop | 22703b29fa0fb6e6f718bbd68ac50daa97be6bdf | [
"MIT"
] | null | null | null | Source/FourPlayerCoop/Private/Items/SImpactEffect.cpp | roy-sourish/FourPlayerCoop | 22703b29fa0fb6e6f718bbd68ac50daa97be6bdf | [
"MIT"
] | null | null | null | // Fill out your copyright notice in the Description page of Project Settings.
#include "Items/SImpactEffect.h"
#include "Components/DecalComponent.h"
#include "Sound/SoundCue.h"
#include "PhysicalMaterials/PhysicalMaterial.h"
#include "Kismet/GameplayStatics.h"
#include "FourPlayerCoop/FourPlayerCoop.h"
// Sets def... | 26.57732 | 103 | 0.776571 | roy-sourish |
a3cb10fea82cca00de29233dbd276b5ab701bd24 | 4,124 | hpp | C++ | include/dtc/event/select.hpp | tsung-wei-huang/DtCraft | 80cc9e1195adc0026107814243401a1fc47b5be2 | [
"MIT"
] | 69 | 2019-03-16T20:13:26.000Z | 2022-03-24T14:12:19.000Z | include/dtc/event/select.hpp | Tsung-Wei/DtCraft | 80cc9e1195adc0026107814243401a1fc47b5be2 | [
"MIT"
] | 12 | 2017-12-02T05:38:30.000Z | 2019-02-08T11:16:12.000Z | include/dtc/event/select.hpp | Tsung-Wei/DtCraft | 80cc9e1195adc0026107814243401a1fc47b5be2 | [
"MIT"
] | 12 | 2019-04-13T16:27:29.000Z | 2022-01-07T14:42:46.000Z | /******************************************************************************
* *
* Copyright (c) 2016, Tsung-Wei Huang and Martin D. F. Wong, *
* University of Illinois at Urbana-Champaign (UIUC), IL, USA. *
... | 32.472441 | 99 | 0.542919 | tsung-wei-huang |
a3cf6132b3aca45adcbdaf54178666f979296042 | 571 | hpp | C++ | pythran/pythonic/__builtin__/oct.hpp | xmar/pythran | dbf2e8b70ed1e4d4ac6b5f26ead4add940a72592 | [
"BSD-3-Clause"
] | null | null | null | pythran/pythonic/__builtin__/oct.hpp | xmar/pythran | dbf2e8b70ed1e4d4ac6b5f26ead4add940a72592 | [
"BSD-3-Clause"
] | null | null | null | pythran/pythonic/__builtin__/oct.hpp | xmar/pythran | dbf2e8b70ed1e4d4ac6b5f26ead4add940a72592 | [
"BSD-3-Clause"
] | null | null | null | #ifndef PYTHONIC_BUILTIN_OCT_HPP
#define PYTHONIC_BUILTIN_OCT_HPP
#include "pythonic/include/__builtin__/oct.hpp"
#include "pythonic/types/str.hpp"
#include "pythonic/utils/functor.hpp"
#include <sstream>
namespace pythonic
{
namespace __builtin__
{
template <class T>
types::str oct(T const &v)
{
... | 15.861111 | 47 | 0.637478 | xmar |
a3d77419242e7d41e4928e47c4197007175a6deb | 2,265 | cpp | C++ | src/Compiler/Parser/VarDecl.cpp | feral-lang/feral | 1ce8eb72eec7c8a5ac19d3767e907b86387e29e0 | [
"MIT"
] | 131 | 2020-03-19T15:22:37.000Z | 2021-12-19T02:37:01.000Z | src/Compiler/Parser/VarDecl.cpp | Electrux/feral | 1ce8eb72eec7c8a5ac19d3767e907b86387e29e0 | [
"BSD-3-Clause"
] | 14 | 2020-04-06T05:50:15.000Z | 2021-06-26T06:19:04.000Z | src/Compiler/Parser/VarDecl.cpp | Electrux/feral | 1ce8eb72eec7c8a5ac19d3767e907b86387e29e0 | [
"BSD-3-Clause"
] | 20 | 2020-04-06T07:28:30.000Z | 2021-09-05T14:46:25.000Z | /*
MIT License
Copyright (c) 2020 Feral Language repositories
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modi... | 23.842105 | 78 | 0.685651 | feral-lang |
a3e06aab1e0f45b8b2bc4fa5865cd5b100b20139 | 6,465 | cpp | C++ | libprecompiled/SystemConfigPrecompiled.cpp | imtypist/FISCO-BCOS | 30a281d31e83ca666ef203193963a6d32e39e36a | [
"Apache-2.0"
] | null | null | null | libprecompiled/SystemConfigPrecompiled.cpp | imtypist/FISCO-BCOS | 30a281d31e83ca666ef203193963a6d32e39e36a | [
"Apache-2.0"
] | null | null | null | libprecompiled/SystemConfigPrecompiled.cpp | imtypist/FISCO-BCOS | 30a281d31e83ca666ef203193963a6d32e39e36a | [
"Apache-2.0"
] | null | null | null | /*
This file is part of FISCO-BCOS.
FISCO-BCOS is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
FISCO-BCOS is distri... | 36.732955 | 100 | 0.625367 | imtypist |
9cb6364923774cdf38500b7f7e6e6cb4cc93c783 | 79,300 | hpp | C++ | data_compression/L1/include/hw/zstd_fse_decoder.hpp | dycz0fx/Vitis_Libraries | d3fc414b552493657101ddb5245f24528720823d | [
"Apache-2.0"
] | 1 | 2021-09-11T01:05:01.000Z | 2021-09-11T01:05:01.000Z | data_compression/L1/include/hw/zstd_fse_decoder.hpp | maxpark/Vitis_Libraries | 4bd100518d93a8842d1678046ad7457f94eb355c | [
"Apache-2.0"
] | null | null | null | data_compression/L1/include/hw/zstd_fse_decoder.hpp | maxpark/Vitis_Libraries | 4bd100518d93a8842d1678046ad7457f94eb355c | [
"Apache-2.0"
] | null | null | null | /*
* (c) Copyright 2019-2021 Xilinx, Inc. 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 ... | 39.531406 | 120 | 0.569445 | dycz0fx |
9cb65eb648d491adb75ac33b8d882cddd7949473 | 3,041 | hpp | C++ | library/ATF/CTransportShip.hpp | lemkova/Yorozuya | f445d800078d9aba5de28f122cedfa03f26a38e4 | [
"MIT"
] | 29 | 2017-07-01T23:08:31.000Z | 2022-02-19T10:22:45.000Z | library/ATF/CTransportShip.hpp | kotopes/Yorozuya | 605c97d3a627a8f6545cc09f2a1b0a8afdedd33a | [
"MIT"
] | 90 | 2017-10-18T21:24:51.000Z | 2019-06-06T02:30:33.000Z | library/ATF/CTransportShip.hpp | kotopes/Yorozuya | 605c97d3a627a8f6545cc09f2a1b0a8afdedd33a | [
"MIT"
] | 44 | 2017-12-19T08:02:59.000Z | 2022-02-24T23:15:01.000Z | // This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually
#pragma once
#include <common/common.h>
#include <CMapData.hpp>
#include <CMyTimer.hpp>
#include <CNetIndexList.hpp>
START_ATF_NAMESPACE
struct CTransportShip
{
struct __mgr_member
{
... | 36.638554 | 146 | 0.655048 | lemkova |
9cbb5a7a25e4bade21326da0ae97e1af3375f5ca | 3,868 | cpp | C++ | src/FastaTools.cpp | infphilo/tophat | 37540ce3f0c10e0f0bfafa2f29450055fc5da384 | [
"BSL-1.0"
] | 113 | 2015-04-07T13:21:43.000Z | 2021-08-20T01:52:43.000Z | src/FastaTools.cpp | infphilo/tophat | 37540ce3f0c10e0f0bfafa2f29450055fc5da384 | [
"BSL-1.0"
] | 47 | 2015-04-09T09:37:59.000Z | 2018-12-12T11:49:30.000Z | src/FastaTools.cpp | infphilo/tophat | 37540ce3f0c10e0f0bfafa2f29450055fc5da384 | [
"BSL-1.0"
] | 59 | 2015-04-01T13:48:59.000Z | 2021-11-15T09:27:30.000Z | //
// FastaTools.cpp
// TopHat
//
// Created by Harold Pimentel on 10/27/11.
//
#include "FastaTools.h"
FastaReader::FastaReader()
{
isPrimed_ = false;
}
FastaReader::FastaReader(std::string fname)
{
isPrimed_ = false;
init(fname);
}
FastaReader::~FastaReader()
{
ifstream_.close();
}
void FastaR... | 23.442424 | 83 | 0.559979 | infphilo |
9cbcfbf2cd9041af48d09c2d0e6f0e4de2020568 | 5,901 | cpp | C++ | WebKit2-7606.2.104.1.1/WebKit2-7606.2.104.1.1/UIProcess/CredentialManagement/WebCredentialsMessengerProxy.cpp | mlcldh/appleWebKit2 | 39cc42a4710c9319c8da269621844493ab2ccdd6 | [
"MIT"
] | 1 | 2021-05-27T07:29:31.000Z | 2021-05-27T07:29:31.000Z | WebKit2-7606.2.104.1.1/WebKit2-7606.2.104.1.1/UIProcess/CredentialManagement/WebCredentialsMessengerProxy.cpp | mlcldh/appleWebKit2 | 39cc42a4710c9319c8da269621844493ab2ccdd6 | [
"MIT"
] | null | null | null | WebKit2-7606.2.104.1.1/WebKit2-7606.2.104.1.1/UIProcess/CredentialManagement/WebCredentialsMessengerProxy.cpp | mlcldh/appleWebKit2 | 39cc42a4710c9319c8da269621844493ab2ccdd6 | [
"MIT"
] | null | null | null | /*
* Copyright (C) 2018 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions a... | 46.833333 | 220 | 0.771225 | mlcldh |
9cbf1c9f8454bcf6acd4fce4de730c65ddca4ee1 | 942 | cpp | C++ | src/zxing/zxing/oned/rss/expanded/decoders/AI01392xDecoder.cpp | favoritas37/qzxing | 6ea2b31e26db9d43db027ba207f5c73dc9d759fc | [
"Apache-2.0"
] | 483 | 2016-08-26T00:53:51.000Z | 2022-03-30T16:08:49.000Z | src/zxing/zxing/oned/rss/expanded/decoders/AI01392xDecoder.cpp | favoritas37/qzxing | 6ea2b31e26db9d43db027ba207f5c73dc9d759fc | [
"Apache-2.0"
] | 185 | 2016-09-08T08:48:46.000Z | 2022-03-29T11:55:38.000Z | src/zxing/zxing/oned/rss/expanded/decoders/AI01392xDecoder.cpp | favoritas37/qzxing | 6ea2b31e26db9d43db027ba207f5c73dc9d759fc | [
"Apache-2.0"
] | 281 | 2016-09-15T08:42:26.000Z | 2022-03-21T17:55:00.000Z | #include "AI01392xDecoder.h"
#include <zxing/common/StringUtils.h>
namespace zxing {
namespace oned {
namespace rss {
AI01392xDecoder::AI01392xDecoder(QSharedPointer<BitArray> information)
: AI01decoder(information)
{
}
String AI01392xDecoder::parseInformation()
{
if (getInformation()->getSize() < HEADER_SI... | 22.428571 | 107 | 0.708068 | favoritas37 |
9cc1157138bb7d195fc30a3becae144e49dbb01f | 13,194 | cpp | C++ | unittest/frames.cpp | mkatliar/pinocchio | b755b9cf2567eab39de30a68b2a80fac802a4042 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | unittest/frames.cpp | mkatliar/pinocchio | b755b9cf2567eab39de30a68b2a80fac802a4042 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | unittest/frames.cpp | mkatliar/pinocchio | b755b9cf2567eab39de30a68b2a80fac802a4042 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | //
// Copyright (c) 2016-2018 CNRS
//
#include "pinocchio/multibody/model.hpp"
#include "pinocchio/multibody/data.hpp"
#include "pinocchio/algorithm/jacobian.hpp"
#include "pinocchio/algorithm/frames.hpp"
#include "pinocchio/algorithm/rnea.hpp"
#include "pinocchio/spatial/act-on-set.hpp"
#include "pinocc... | 35.184 | 128 | 0.729422 | mkatliar |
9cc199dc596089246d7a3aec04a6b2a86ccb61cf | 8,026 | cpp | C++ | BuffManager/Motor2D/j1BuffManager.cpp | JosepLleal/Research_Buff_Manager | ce2664155bea8cc38567ed1c9d505cd7b717a6a4 | [
"MIT"
] | null | null | null | BuffManager/Motor2D/j1BuffManager.cpp | JosepLleal/Research_Buff_Manager | ce2664155bea8cc38567ed1c9d505cd7b717a6a4 | [
"MIT"
] | null | null | null | BuffManager/Motor2D/j1BuffManager.cpp | JosepLleal/Research_Buff_Manager | ce2664155bea8cc38567ed1c9d505cd7b717a6a4 | [
"MIT"
] | 2 | 2019-03-11T14:47:12.000Z | 2021-03-31T23:16:01.000Z | #include "j1App.h"
#include "j1Player.h"
#include "j1Input.h"
#include "j1Timer.h"
#include "j1BuffManager.h"
#include "p2Log.h"
j1BuffManager::j1BuffManager(): j1Module()
{
name.assign("BuffManager");
}
j1BuffManager::~j1BuffManager()
{
}
bool j1BuffManager::Awake()
{
return true;
}
bool j1BuffManager::St... | 21.928962 | 169 | 0.673187 | JosepLleal |
9cc4004973cc2adf5de2c34cfd08284e676f4b9e | 1,043 | cpp | C++ | sample-source/OPENCVBook/chapter03/3.1.7 RotatedRect/rotatedRect.cpp | doukhee/opencv-study | b7e8a5c916070ebc762c33d7fe307b6fcf88abf4 | [
"MIT"
] | null | null | null | sample-source/OPENCVBook/chapter03/3.1.7 RotatedRect/rotatedRect.cpp | doukhee/opencv-study | b7e8a5c916070ebc762c33d7fe307b6fcf88abf4 | [
"MIT"
] | null | null | null | sample-source/OPENCVBook/chapter03/3.1.7 RotatedRect/rotatedRect.cpp | doukhee/opencv-study | b7e8a5c916070ebc762c33d7fe307b6fcf88abf4 | [
"MIT"
] | null | null | null | #include <opencv2/opencv.hpp>
using namespace std;
using namespace cv;
int main()
{
/* 행렬 선언 */
Mat image(300, 500, CV_8UC1, Scalar(255));
Point2f center(250, 150), pts[4];
Size2f size(300, 100);
/* 회전 사각형 선언 */
/* RotatedRect는 회전된 사각형을 나타내기 위한 클래스 */
/* RotatedRect(cont Point2f& center, c... | 28.189189 | 74 | 0.57047 | doukhee |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.