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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e960710f7378f48754c078c90573c372f2620647 | 924 | hh | C++ | src/Nuxed/Http/Server/__Private/NextMiddlewareProcessor.hh | tomoki1337/framework | ff06d260c5bf2a78a99b8d17b041de756550f95a | [
"MIT"
] | 1 | 2019-01-25T20:05:55.000Z | 2019-01-25T20:05:55.000Z | src/Nuxed/Http/Server/__Private/NextMiddlewareProcessor.hh | gitter-badger/framework-27 | 368b734f2753b06b7f19f819185091f896838467 | [
"MIT"
] | null | null | null | src/Nuxed/Http/Server/__Private/NextMiddlewareProcessor.hh | gitter-badger/framework-27 | 368b734f2753b06b7f19f819185091f896838467 | [
"MIT"
] | null | null | null | <?hh // strict
namespace Nuxed\Http\Server\__Private;
use type Nuxed\Contract\Http\Message\ResponseInterface;
use type Nuxed\Contract\Http\Message\ServerRequestInterface;
use type Nuxed\Contract\Http\Server\RequestHandlerInterface;
use type Nuxed\Contract\Http\Server\MiddlewareInterface;
use type SplPriorityQueue;
c... | 28 | 66 | 0.75 | tomoki1337 |
e9641a6eaf305100f2dd9618b38a25e3872bfd3d | 13,989 | cpp | C++ | src/Rendu.cpp | Moret84/JdidBack | 344296fc99f3cb5164850d9fa4582676357883aa | [
"MIT"
] | null | null | null | src/Rendu.cpp | Moret84/JdidBack | 344296fc99f3cb5164850d9fa4582676357883aa | [
"MIT"
] | null | null | null | src/Rendu.cpp | Moret84/JdidBack | 344296fc99f3cb5164850d9fa4582676357883aa | [
"MIT"
] | null | null | null | #include "Rendu.hpp"
using namespace irr;
using namespace core;
using namespace video;
using namespace scene;
using namespace std;
using namespace gui;
Rendu::Rendu() : m_partie()
{
//Device avec API = OPENGL, Fenêtre de taille 640 x 480p et 32bits par pixel
m_device = createDevice(EDT_OPENGL, dimension2d<u32>(800,... | 25.715074 | 135 | 0.68704 | Moret84 |
e967df369a1370287ea146a5884a86af97483f3e | 8,214 | cpp | C++ | inetcore/outlookexpress/inetcomm/ess/debug.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | inetcore/outlookexpress/inetcomm/ess/debug.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | inetcore/outlookexpress/inetcomm/ess/debug.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | //+---------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1996 - 1996.
//
// File: debug.cpp
//
// Contents: Debug sub system APIs implementation
//
//
// 03/20/96 kevinr wrote it
// 04/17/96 kevinr added... | 23.138028 | 94 | 0.493426 | npocmaka |
e96957d7604f6b91f2f1403e55a8f6b3dc262022 | 10,293 | hpp | C++ | core/src/cogs/collections/slink.hpp | cogmine/cogs | ef1c369a36a4f811704e0ced0493c3a6f8eca821 | [
"MIT"
] | 5 | 2019-02-08T15:59:14.000Z | 2022-01-22T19:12:33.000Z | core/src/cogs/collections/slink.hpp | cogmine/cogs | ef1c369a36a4f811704e0ced0493c3a6f8eca821 | [
"MIT"
] | 1 | 2019-12-03T03:11:34.000Z | 2019-12-03T03:11:34.000Z | core/src/cogs/collections/slink.hpp | cogmine/cogs | ef1c369a36a4f811704e0ced0493c3a6f8eca821 | [
"MIT"
] | null | null | null | //
// Copyright (C) 2000-2020 - Colen M. Garoutte-Carson <colen at cogmine.com>, Cog Mine LLC
//
// Status: Good
#ifndef COGS_HEADER_COLLECTION_SLINK
#define COGS_HEADER_COLLECTION_SLINK
#include <type_traits>
#include "cogs/mem/ptr.hpp"
namespace cogs {
/// @defgroup CollectionMixIns Collection Mix-In's
/// @... | 28.671309 | 166 | 0.69727 | cogmine |
e96b9ffc9bfccf5fd044d06f47b7ba2dd9f07800 | 1,587 | hpp | C++ | CheckBoxList.hpp | chrisoldwood/WCL | 608a83f9e41f4c1d2a7ac6991abbcf264d5924e0 | [
"MIT"
] | 5 | 2017-10-02T04:10:35.000Z | 2021-07-26T04:45:35.000Z | CheckBoxList.hpp | chrisoldwood/WCL | 608a83f9e41f4c1d2a7ac6991abbcf264d5924e0 | [
"MIT"
] | null | null | null | CheckBoxList.hpp | chrisoldwood/WCL | 608a83f9e41f4c1d2a7ac6991abbcf264d5924e0 | [
"MIT"
] | null | null | null | /******************************************************************************
** (C) Chris Oldwood
**
** MODULE: CHECKBOXLIST.HPP
** COMPONENT: Windows C++ Library.
** DESCRIPTION: The CCheckBoxList class declaration.
**
*******************************************************************************
*/
// Check for... | 21.445946 | 79 | 0.499685 | chrisoldwood |
e96bd7ccbe48938a31e49d9b6304e55f8f1a0773 | 399 | cpp | C++ | 1914.cpp | Valarr/Uri | 807de771b14b0e60d44b23835ad9ee7423c83471 | [
"MIT"
] | null | null | null | 1914.cpp | Valarr/Uri | 807de771b14b0e60d44b23835ad9ee7423c83471 | [
"MIT"
] | null | null | null | 1914.cpp | Valarr/Uri | 807de771b14b0e60d44b23835ad9ee7423c83471 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
int main(){
int a;
scanf("%d",&a);
int b,c;
string k, par, l, impar;
while(a--){
cin >> k >> par >> l >> impar;
scanf("%d %d", &b,&c);
if((b+c)%2==0){
if(par=="PAR"){ cout << k << "\n";}
else{ cout << l << "\n";}
}
else{
if(... | 17.347826 | 43 | 0.401003 | Valarr |
e96ee95be7010cc6916ec20a22735213dd50df5a | 10,433 | cc | C++ | iree/vm/stack_test.cc | rsuderman/iree | fa5faf0a254db3311dafacc70c383a7469376095 | [
"Apache-2.0"
] | 2 | 2021-01-03T04:45:05.000Z | 2021-01-03T04:45:08.000Z | iree/vm/stack_test.cc | rsuderman/iree | fa5faf0a254db3311dafacc70c383a7469376095 | [
"Apache-2.0"
] | null | null | null | iree/vm/stack_test.cc | rsuderman/iree | fa5faf0a254db3311dafacc70c383a7469376095 | [
"Apache-2.0"
] | 1 | 2020-03-06T06:22:26.000Z | 2020-03-06T06:22:26.000Z | // Copyright 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | 39.97318 | 78 | 0.75012 | rsuderman |
e976852fe01b660f90e281aae7d41b1bfa44be63 | 435 | inl | C++ | node_modules/lzz-gyp/lzz-source/smtc_TmplFuncDefn.inl | SuperDizor/dizornator | 9f57dbb3f6af80283b4d977612c95190a3d47900 | [
"ISC"
] | 3 | 2019-09-18T16:44:33.000Z | 2021-03-29T13:45:27.000Z | node_modules/lzz-gyp/lzz-source/smtc_TmplFuncDefn.inl | SuperDizor/dizornator | 9f57dbb3f6af80283b4d977612c95190a3d47900 | [
"ISC"
] | null | null | null | node_modules/lzz-gyp/lzz-source/smtc_TmplFuncDefn.inl | SuperDizor/dizornator | 9f57dbb3f6af80283b4d977612c95190a3d47900 | [
"ISC"
] | 2 | 2019-03-29T01:06:38.000Z | 2019-09-18T16:44:34.000Z | // smtc_TmplFuncDefn.inl
//
#ifdef LZZ_ENABLE_INLINE
#define LZZ_INLINE inline
#else
#define LZZ_INLINE
#endif
namespace smtc
{
LZZ_INLINE TmplFuncDefn::TmplFuncDefn (TmplSpecPtrVector const & tmpl_spec_set, FuncDefnPtr const & func_defn)
: TmplFuncDecl (tmpl_spec_set, func_defn)
{}
}
namespace smtc
{
LZZ_... | 18.913043 | 112 | 0.744828 | SuperDizor |
e976bb3f488e776db80e97ce4b4eca75e15d8607 | 2,641 | cpp | C++ | demos/Tweening.cpp | liavt/MACE | 9a4e83b2b5cb39d9a69b2e699b57c05d9dd94aad | [
"MIT"
] | 9 | 2016-03-01T03:10:50.000Z | 2021-04-15T09:17:14.000Z | demos/Tweening.cpp | liavt/The-Poor-Plebs-Engine | 9a4e83b2b5cb39d9a69b2e699b57c05d9dd94aad | [
"MIT"
] | 10 | 2016-07-09T04:00:27.000Z | 2019-12-09T09:14:49.000Z | demos/Tweening.cpp | liavt/The-Poor-Plebs-Engine | 9a4e83b2b5cb39d9a69b2e699b57c05d9dd94aad | [
"MIT"
] | 3 | 2017-05-24T04:07:40.000Z | 2019-10-11T20:31:25.000Z | /*
Copyright (c) 2016-2019 Liav Turkia
See LICENSE.md for full copyright information
*/
#include <MACE/MACE.h>
using namespace mc;
gfx::Image square;
void create(gfx::WindowModule& win) {
square = gfx::Image(Colors::RED);
square.setX(-0.5f);
square.setY(0.5f);
square.setWidth(0.1f);
square.setHeight(0.1f);
... | 29.344444 | 133 | 0.709958 | liavt |
e97db13c29a28aecb05281afbf709bf303a77a36 | 5,352 | cc | C++ | squid_wrap/squid_win_helpers/auth/ext_AD_Group/AD_group/rfc1738.cc | NPaolini/NPS_OpenSource | 0c7da066b02b57ce282a1903a3901a563d04a28f | [
"Unlicense"
] | null | null | null | squid_wrap/squid_win_helpers/auth/ext_AD_Group/AD_group/rfc1738.cc | NPaolini/NPS_OpenSource | 0c7da066b02b57ce282a1903a3901a563d04a28f | [
"Unlicense"
] | null | null | null | squid_wrap/squid_win_helpers/auth/ext_AD_Group/AD_group/rfc1738.cc | NPaolini/NPS_OpenSource | 0c7da066b02b57ce282a1903a3901a563d04a28f | [
"Unlicense"
] | null | null | null | /*
* Copyright (C) 1996-2018 The Squid Software Foundation and contributors
*
* Squid software is distributed under GPLv2+ license and includes
* contributions from numerous individuals and organizations.
* Please see the COPYING and CONTRIBUTORS files for details.
*/
#define _CRT_SECURE_NO_WARNINGS
//#include "... | 30.237288 | 131 | 0.448617 | NPaolini |
e97f3b8b5f0e037da3dccfaba4bac513eb31f0f4 | 29 | cpp | C++ | DinoLasers/ContactManifold.cpp | QRayarch/DinoLasers | 500f4144fad2a813cd140d6067b41a41f4573e8c | [
"MIT"
] | null | null | null | DinoLasers/ContactManifold.cpp | QRayarch/DinoLasers | 500f4144fad2a813cd140d6067b41a41f4573e8c | [
"MIT"
] | null | null | null | DinoLasers/ContactManifold.cpp | QRayarch/DinoLasers | 500f4144fad2a813cd140d6067b41a41f4573e8c | [
"MIT"
] | null | null | null | #include "ContactManifold.h"
| 14.5 | 28 | 0.793103 | QRayarch |
e97f792fcdfd9dde7882bb657cf63e706c34d5e9 | 15,997 | cpp | C++ | source/MultiLibrary/Window/Windows/Window.cpp | danielga/multilibrary | 3d1177dd3affa875e06015f5e3e42dda525f3336 | [
"BSD-3-Clause"
] | 2 | 2018-06-22T12:43:57.000Z | 2019-05-31T21:56:27.000Z | source/MultiLibrary/Window/Windows/Window.cpp | danielga/multilibrary | 3d1177dd3affa875e06015f5e3e42dda525f3336 | [
"BSD-3-Clause"
] | 1 | 2017-09-09T01:21:31.000Z | 2017-11-12T17:52:56.000Z | source/MultiLibrary/Window/Windows/Window.cpp | danielga/multilibrary | 3d1177dd3affa875e06015f5e3e42dda525f3336 | [
"BSD-3-Clause"
] | 1 | 2022-03-30T18:57:41.000Z | 2022-03-30T18:57:41.000Z | /*************************************************************************
* MultiLibrary - https://danielga.github.io/multilibrary/
* A C++ library that covers multiple low level systems.
*------------------------------------------------------------------------
* Copyright (c) 2014-2022, Daniel Almeida
* All righ... | 22.918338 | 148 | 0.69213 | danielga |
e98115dad0b67cb249eb5edf68b6ed356f982b17 | 1,223 | hpp | C++ | minige/src/math/mat4.hpp | vitaminac/metaphysics | 0f9fda58e3b29a10535d873824a00497e0fc5ac2 | [
"MIT"
] | null | null | null | minige/src/math/mat4.hpp | vitaminac/metaphysics | 0f9fda58e3b29a10535d873824a00497e0fc5ac2 | [
"MIT"
] | null | null | null | minige/src/math/mat4.hpp | vitaminac/metaphysics | 0f9fda58e3b29a10535d873824a00497e0fc5ac2 | [
"MIT"
] | null | null | null | #pragma once
#include "vec3.hpp"
#include "vec4.hpp"
namespace gengine {
namespace math {
/* Column Major 4x4 Matrix */
typedef struct mat4 {
union
{
float elements[4 * 4];
vec4 columns[4];
};
mat4() = default;
SO_API friend mat4 operator*(const mat4& left, const mat4& right);
SO_API f... | 29.119048 | 151 | 0.716271 | vitaminac |
e984acd57e07bbd11e2f3a3f8bfcd4b8762ead7b | 4,770 | cpp | C++ | Uno/GUI/ServerScreen.cpp | Wolchy/Uno | 3ebb485b7e71b801cdd08d2cf97bbbb9579f44b5 | [
"MIT"
] | null | null | null | Uno/GUI/ServerScreen.cpp | Wolchy/Uno | 3ebb485b7e71b801cdd08d2cf97bbbb9579f44b5 | [
"MIT"
] | null | null | null | Uno/GUI/ServerScreen.cpp | Wolchy/Uno | 3ebb485b7e71b801cdd08d2cf97bbbb9579f44b5 | [
"MIT"
] | null | null | null | #include "ServerScreen.h"
ServerScreen::ServerScreen(Mya mya) : Screen::Screen("screenServer")
{
assets = new Assets(mya);
tv_port = new TextView(*assets->font, "Port: ", 5, 5, mya.getRenderer());
et_port = new EditText("9998", *assets->font, mya.getRenderer(), tv_port->tex.w + 5, 5);
btn_host = new Button("Host"... | 29.444444 | 117 | 0.592034 | Wolchy |
e9860e961e26f6900dea4d6d50ad1d4df42b20c0 | 564 | cpp | C++ | src/model/common/comtu.cpp | fanghaocong/GitlHEVCAnalyzer | 1dbf3adca4822b0a55af03c7a7f49c92798c91d6 | [
"Apache-2.0"
] | null | null | null | src/model/common/comtu.cpp | fanghaocong/GitlHEVCAnalyzer | 1dbf3adca4822b0a55af03c7a7f49c92798c91d6 | [
"Apache-2.0"
] | null | null | null | src/model/common/comtu.cpp | fanghaocong/GitlHEVCAnalyzer | 1dbf3adca4822b0a55af03c7a7f49c92798c91d6 | [
"Apache-2.0"
] | null | null | null | #include "comtu.h"
ComTU::ComTU()
{
}
bool ComTU::isValid(int cuLeft, int cuTop, int cuRight, int cuBottom)
{
if ( m_iX < cuLeft || m_iX > cuRight )
{
return false;
}
if ( m_iY < cuTop || m_iY > cuBottom )
{
return false;
}
int tuRight = m_iX + m_iWidth ... | 17.090909 | 70 | 0.5 | fanghaocong |
e9862a8d8d79bf90db88df6722c9342dbab39e70 | 11,842 | hpp | C++ | include/fiction/algorithms/network_transformation/fanout_substitution.hpp | ElderDelp/fiction | f16bf67bbfd94e5a3d5b6b5cd9cbce5275e44ce8 | [
"MIT"
] | null | null | null | include/fiction/algorithms/network_transformation/fanout_substitution.hpp | ElderDelp/fiction | f16bf67bbfd94e5a3d5b6b5cd9cbce5275e44ce8 | [
"MIT"
] | null | null | null | include/fiction/algorithms/network_transformation/fanout_substitution.hpp | ElderDelp/fiction | f16bf67bbfd94e5a3d5b6b5cd9cbce5275e44ce8 | [
"MIT"
] | null | null | null | //
// Created by marcel on 31.05.21.
//
#ifndef FICTION_FANOUT_SUBSTITUTION_HPP
#define FICTION_FANOUT_SUBSTITUTION_HPP
#include "fiction/algorithms/network_transformation/network_conversion.hpp"
#include "fiction/traits.hpp"
#include <mockturtle/algorithms/cleanup.hpp>
#include <mockturtle/traits.hpp>
#include <moc... | 35.561562 | 119 | 0.613748 | ElderDelp |
e98806e16efb7f40814f0608d6d0ee95dbbb26ea | 1,617 | hpp | C++ | Offer_012/Solution.hpp | DreamWaterFound/JZ_Offer | 054fd4bc08d00c94128bce93d30536a918b077bd | [
"WTFPL"
] | null | null | null | Offer_012/Solution.hpp | DreamWaterFound/JZ_Offer | 054fd4bc08d00c94128bce93d30536a918b077bd | [
"WTFPL"
] | null | null | null | Offer_012/Solution.hpp | DreamWaterFound/JZ_Offer | 054fd4bc08d00c94128bce93d30536a918b077bd | [
"WTFPL"
] | null | null | null |
using namespace std;
class Solution {
public:
double Power(double base, int exponent) {
if(exponent==0)
{
//指数不合法
return 1.0;
}
else if(exponent<0) //如果指数为负
{
mbNegative=true;
exponent=-exponent;
}
else
... | 17.202128 | 47 | 0.40569 | DreamWaterFound |
e988506ac6657e8bea19a368918fbb2a90b88158 | 1,400 | hh | C++ | source/format/KBWPointCluster.hh | KUNPL/KEBII | 7feba36bb2ac2812c0dec21f5e3f3a0dcc1c8e39 | [
"MIT"
] | null | null | null | source/format/KBWPointCluster.hh | KUNPL/KEBII | 7feba36bb2ac2812c0dec21f5e3f3a0dcc1c8e39 | [
"MIT"
] | null | null | null | source/format/KBWPointCluster.hh | KUNPL/KEBII | 7feba36bb2ac2812c0dec21f5e3f3a0dcc1c8e39 | [
"MIT"
] | null | null | null | #ifndef KBWPOINTCLUSTER_HH
#define KBWPOINTCLUSTER_HH
#ifdef ACTIVATE_EVE
#include "TEveElement.h"
#include "TEvePointSet.h"
#endif
#include "KBWPoint.hh"
#include <vector>
#include <cmath>
/* Cluster of TWPoint.
* Adding KBWPoint to KBWPointCluster will calculate mean, covariance.
* MeanError(i,j) returns covaria... | 24.561404 | 70 | 0.707143 | KUNPL |
e9890a4a899fe4210cd202c733f2a7fea34326f7 | 2,060 | cpp | C++ | src/feata/util/shared_lib.cpp | master-clown/ofeata | 306cbc3a402551fb62b3925d23a2d4f63f60d525 | [
"MIT"
] | 1 | 2021-08-30T13:51:42.000Z | 2021-08-30T13:51:42.000Z | src/feata/util/shared_lib.cpp | master-clown/ofeata | 306cbc3a402551fb62b3925d23a2d4f63f60d525 | [
"MIT"
] | null | null | null | src/feata/util/shared_lib.cpp | master-clown/ofeata | 306cbc3a402551fb62b3925d23a2d4f63f60d525 | [
"MIT"
] | 1 | 2021-08-30T13:51:35.000Z | 2021-08-30T13:51:35.000Z | #include "util/shared_lib.hpp"
#include "util/filesys.hpp"
#include "defs/arch.hpp"
#if defined(FEATA_SYSTEM_WIN)
#include <Windows.h>
#elif defined(FEATA_SYSTEM_UNIX)
#include <dlfcn.h>
#endif
namespace util
{
SharedLib::SharedLib(const String& file_name,
const boo... | 23.146067 | 82 | 0.581553 | master-clown |
e991b46d1a4e8d9dd727ad89a3fc06d1a7d53e0f | 544 | cpp | C++ | BOJ19941/BOJ19941_src.cpp | wjoh0315/BOJSolutions4 | 1a5910f6dda33c58fdcb806ed0a2806a4f5d764a | [
"MIT"
] | null | null | null | BOJ19941/BOJ19941_src.cpp | wjoh0315/BOJSolutions4 | 1a5910f6dda33c58fdcb806ed0a2806a4f5d764a | [
"MIT"
] | null | null | null | BOJ19941/BOJ19941_src.cpp | wjoh0315/BOJSolutions4 | 1a5910f6dda33c58fdcb806ed0a2806a4f5d764a | [
"MIT"
] | null | null | null | //https://www.acmicpc.net/problem/19941
#include <bits/stdc++.h>
using namespace std;
int main()
{
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int n, k;
cin >> n >> k;
string pos;
cin >> pos;
int j = 0;
int cnt = 0;
for (int i=0; i < n; i++)
{
if (pos[i] == 'H') ... | 17.548387 | 51 | 0.420956 | wjoh0315 |
e99231162c2d584303967d08d9698450e8de3fda | 11,923 | cpp | C++ | dao/reservadao.cpp | stsewd/polideportivo | 420da8135b4529115fb5f5acae901c0b6cbca3f7 | [
"MIT"
] | null | null | null | dao/reservadao.cpp | stsewd/polideportivo | 420da8135b4529115fb5f5acae901c0b6cbca3f7 | [
"MIT"
] | null | null | null | dao/reservadao.cpp | stsewd/polideportivo | 420da8135b4529115fb5f5acae901c0b6cbca3f7 | [
"MIT"
] | null | null | null | #include "reservadao.h"
reservadao::reservadao()
{
dataBase = new ConexionDB("localhost:3306","root","1234","Polideportivo");
//espacioComplementariodao = new EspacioComplementarioDAO();
//espacioDeportivodao = new EspacioComplementarioDAO();
//clientedao = new ClienteDAO();
}
Reserva reservadao::add(... | 45.507634 | 174 | 0.60203 | stsewd |
e993ca58efd042faa8667ada9364d12b35a1e14b | 17,027 | cpp | C++ | Ambit/Source/Ambit/Actors/Spawners/SpawnerBase.cpp | brhook-aws/aws-ambit-scenario-designer-ue4 | 4f1fea7d4ac27a4fad792607a1d6dbf2aa237747 | [
"Apache-2.0"
] | null | null | null | Ambit/Source/Ambit/Actors/Spawners/SpawnerBase.cpp | brhook-aws/aws-ambit-scenario-designer-ue4 | 4f1fea7d4ac27a4fad792607a1d6dbf2aa237747 | [
"Apache-2.0"
] | null | null | null | Ambit/Source/Ambit/Actors/Spawners/SpawnerBase.cpp | brhook-aws/aws-ambit-scenario-designer-ue4 | 4f1fea7d4ac27a4fad792607a1d6dbf2aa237747 | [
"Apache-2.0"
] | null | null | null | // Copyright Amazon.com, Inc. or its affiliates. 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
//... | 41.32767 | 201 | 0.646914 | brhook-aws |
e996ad96f208f01c2890faf6e7faf6925d2b8fa2 | 1,351 | cpp | C++ | cpp/src/test.cpp | cnloni/othello | f80f190e505b6a4dd2b2bd49054651dbea4f00fa | [
"Apache-2.0"
] | 1 | 2021-01-16T03:34:06.000Z | 2021-01-16T03:34:06.000Z | cpp/src/test.cpp | cnloni/othello | f80f190e505b6a4dd2b2bd49054651dbea4f00fa | [
"Apache-2.0"
] | null | null | null | cpp/src/test.cpp | cnloni/othello | f80f190e505b6a4dd2b2bd49054651dbea4f00fa | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include "b16.hpp"
#include "b36.hpp"
#include "board.hpp"
using namespace std;
int execute16(uint64_t bp, uint64_t wp, int turn, int alpha, int beta) {
Board<B16> board;
int result = board.getBestResult(bp, wp, turn, alpha, beta);
cout << board.getFinalBoardString() << endl;
cout << "Initial... | 32.166667 | 79 | 0.640266 | cnloni |
e9a15c19c744761de516e90c7b1462b5aaa9fea7 | 6,116 | cpp | C++ | emulator/src/devices/bus/a2bus/a2applicard.cpp | rjw57/tiw-computer | 5ef1c79893165b8622d1114d81cd0cded58910f0 | [
"MIT"
] | 1 | 2022-01-15T21:38:38.000Z | 2022-01-15T21:38:38.000Z | emulator/src/devices/bus/a2bus/a2applicard.cpp | rjw57/tiw-computer | 5ef1c79893165b8622d1114d81cd0cded58910f0 | [
"MIT"
] | null | null | null | emulator/src/devices/bus/a2bus/a2applicard.cpp | rjw57/tiw-computer | 5ef1c79893165b8622d1114d81cd0cded58910f0 | [
"MIT"
] | null | null | null | // license:BSD-3-Clause
// copyright-holders:R. Belmont
/*********************************************************************
a2applicard.c
Implementation of the PCPI AppliCard Z-80 card
Unlike the SoftCard and clones, this has its own 64k of RAM on board
and the Z80 runs completely independently of... | 22 | 147 | 0.554284 | rjw57 |
e9a1ff9570260abd9e652b8d41c348b4db46b0a4 | 18,729 | cpp | C++ | test/unittest/regextest.cpp | lktrgl/rapidjson | f09bafdd7e5eac006ea1d926a16a5b941ea71d9a | [
"BSD-3-Clause"
] | null | null | null | test/unittest/regextest.cpp | lktrgl/rapidjson | f09bafdd7e5eac006ea1d926a16a5b941ea71d9a | [
"BSD-3-Clause"
] | null | null | null | test/unittest/regextest.cpp | lktrgl/rapidjson | f09bafdd7e5eac006ea1d926a16a5b941ea71d9a | [
"BSD-3-Clause"
] | null | null | null | // Tencent is pleased to support the open source community by making RapidJSON available.
//
// Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved.
//
// Licensed under the MIT License (the "License"); you may not use this file except
// in compliance with the License. You may obta... | 27.182874 | 94 | 0.567729 | lktrgl |
e9a2baf6896da4c6ee2705cc615b91f091062f2f | 295 | hpp | C++ | include/sge/initializers/sdl-image.hpp | smaudet/sdl-game-engine | e49a001541c6e30c0cc0ee6aa04ee6ba2b5f4af7 | [
"MIT"
] | 75 | 2017-07-19T14:00:55.000Z | 2022-01-10T21:50:44.000Z | include/sge/initializers/sdl-image.hpp | smaudet/sdl-game-engine | e49a001541c6e30c0cc0ee6aa04ee6ba2b5f4af7 | [
"MIT"
] | 3 | 2017-04-05T00:57:33.000Z | 2018-11-14T07:48:40.000Z | include/sge/initializers/sdl-image.hpp | smaudet/sdl-game-engine | e49a001541c6e30c0cc0ee6aa04ee6ba2b5f4af7 | [
"MIT"
] | 12 | 2017-09-19T09:51:48.000Z | 2021-12-05T18:11:53.000Z | #ifndef __SGE_SDL_IMAGE_INIT_HPP
#define __SGE_SDL_IMAGE_INIT_HPP
#include <sge/init.hpp>
namespace sge
{
class SDLImageInitializer : public Initializer
{
public:
void do_initialize();
void do_shutdown();
};
}
#endif /* __SGE_SDL_IMAGE_INIT_HPP */
| 17.352941 | 50 | 0.667797 | smaudet |
e9a7332b6220e9db2bf28f1d62a71dbe5f91d530 | 3,711 | hpp | C++ | include/ccbase/platform/bswap.hpp | adityaramesh/ccbase | 595e1416aab3cc8bc976aad9bb3e262c7d11e3b2 | [
"BSD-3-Clause-Clear"
] | 8 | 2015-01-08T05:44:43.000Z | 2021-05-11T15:54:17.000Z | include/ccbase/platform/bswap.hpp | adityaramesh/ccbase | 595e1416aab3cc8bc976aad9bb3e262c7d11e3b2 | [
"BSD-3-Clause-Clear"
] | 1 | 2016-01-31T08:48:53.000Z | 2016-01-31T08:54:28.000Z | include/ccbase/platform/bswap.hpp | adityaramesh/ccbase | 595e1416aab3cc8bc976aad9bb3e262c7d11e3b2 | [
"BSD-3-Clause-Clear"
] | 2 | 2015-03-26T11:08:18.000Z | 2016-01-30T03:28:06.000Z | /*
** File Name: bswap.hpp
** Author: Aditya Ramesh
** Date: 04/14/2014
** Contact: _@adityaramesh.com
*/
#ifndef Z2C1D91E3_6CC1_415A_A95D_65604B557F77
#define Z2C1D91E3_6CC1_415A_A95D_65604B557F77
#include <algorithm>
#include <cstdint>
#include <type_traits>
#include <ccbase/platform/attributes.hpp>
#include <ccbas... | 25.244898 | 55 | 0.665319 | adityaramesh |
e9a9db49b0ab476f52bff58296aa37f1b8e47a89 | 5,313 | hpp | C++ | libs/boost_1_72_0/boost/spirit/home/support/char_encoding/standard_wide.hpp | henrywarhurst/matrix | 317a2a7c35c1c7e3730986668ad2270dc19809ef | [
"BSD-3-Clause"
] | null | null | null | libs/boost_1_72_0/boost/spirit/home/support/char_encoding/standard_wide.hpp | henrywarhurst/matrix | 317a2a7c35c1c7e3730986668ad2270dc19809ef | [
"BSD-3-Clause"
] | null | null | null | libs/boost_1_72_0/boost/spirit/home/support/char_encoding/standard_wide.hpp | henrywarhurst/matrix | 317a2a7c35c1c7e3730986668ad2270dc19809ef | [
"BSD-3-Clause"
] | null | null | null | /*=============================================================================
Copyright (c) 2001-2011 Hartmut Kaiser
Copyright (c) 2001-2011 Joel de Guzman
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... | 28.718919 | 80 | 0.618859 | henrywarhurst |
e9aa21e5e2009af651a29c53ee8d38a52b2363be | 1,322 | cc | C++ | chrome/browser/extensions/api/messaging/native_messaging_policy_handler.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | chrome/browser/extensions/api/messaging/native_messaging_policy_handler.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 113 | 2015-05-04T09:58:14.000Z | 2022-01-31T19:35:03.000Z | chrome/browser/extensions/api/messaging/native_messaging_policy_handler.cc | zealoussnow/chromium | fd8a8914ca0183f0add65ae55f04e287543c7d4a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | // Copyright 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 "chrome/browser/extensions/api/messaging/native_messaging_policy_handler.h"
#include "components/prefs/pref_value_map.h"
#include "chrome/browse... | 34.789474 | 84 | 0.748865 | zealoussnow |
e9ab070a8c1c9ebe1be9d1edee3761064e7865af | 4,454 | cpp | C++ | src/quantum_state.cpp | twesterhout/walking-lanczos | cf7798b345d2219f92577e3dbbefbbc2f329acf0 | [
"BSD-3-Clause-Clear"
] | null | null | null | src/quantum_state.cpp | twesterhout/walking-lanczos | cf7798b345d2219f92577e3dbbefbbc2f329acf0 | [
"BSD-3-Clause-Clear"
] | 1 | 2018-10-18T17:52:06.000Z | 2018-10-29T13:05:22.000Z | src/quantum_state.cpp | twesterhout/walking-lanczos | cf7798b345d2219f92577e3dbbefbbc2f329acf0 | [
"BSD-3-Clause-Clear"
] | null | null | null | // Copyright Tom Westerhout (c) 2018
//
// 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... | 35.919355 | 80 | 0.621688 | twesterhout |
e9acc2eb1780b01d5820b99d173334f3e07e58d2 | 4,731 | cpp | C++ | src/mapmaker/Util.cpp | gshaw/closecombat | 8c0f8a9ee29a109784a465aadda063922543ac72 | [
"Zlib"
] | 5 | 2015-02-03T04:04:20.000Z | 2020-03-19T01:07:47.000Z | src/mapmaker/Util.cpp | gshaw/closecombat | 8c0f8a9ee29a109784a465aadda063922543ac72 | [
"Zlib"
] | null | null | null | src/mapmaker/Util.cpp | gshaw/closecombat | 8c0f8a9ee29a109784a465aadda063922543ac72 | [
"Zlib"
] | null | null | null | #include "StdAfx.h"
#include "Util.h"
bool CC2_IsDataFolderValid(const CString& FolderPath)
{
// return true if FolderPath is a valid folder path to the close combat 2 game folder
bool ok = false;
// look for data\base\elements
CString PathName(FolderPath);
PathName += _T("\\data\\base\\... | 21.120536 | 92 | 0.452124 | gshaw |
e9b24241a88b3cdb0a584f0db991ab04d178e1f2 | 514 | hpp | C++ | src/OutSources/tabix/tabix.hpp | bioinformatics-centre/AsmVar | 5abd91a47feedfbd39b89ec3e2d6d20c02fe5a5e | [
"MIT"
] | 17 | 2015-12-25T10:58:03.000Z | 2021-05-06T01:56:40.000Z | src/OutSources/tabix/tabix.hpp | bioinformatics-centre/AsmVar | 5abd91a47feedfbd39b89ec3e2d6d20c02fe5a5e | [
"MIT"
] | 3 | 2017-07-20T22:12:16.000Z | 2021-04-19T14:37:14.000Z | src/OutSources/tabix/tabix.hpp | bioinformatics-centre/AsmVar | 5abd91a47feedfbd39b89ec3e2d6d20c02fe5a5e | [
"MIT"
] | 3 | 2018-01-26T02:03:04.000Z | 2020-08-07T08:01:20.000Z | #ifndef TABIX_H
#define TABIX_H
#include <string>
#include <stdlib.h>
#include <sys/stat.h>
#include "bgzf.h"
#include "tabix.h"
#include <iostream>
using namespace std;
class Tabix {
tabix_t *t;
ti_iter_t iter;
const ti_conf_t *idxconf;
int tid, beg, end;
string firstline;
public:
string... | 13.526316 | 35 | 0.655642 | bioinformatics-centre |
e9b46aae8acc01efce87618e24f8ef5cd322537d | 7,749 | cpp | C++ | compute/tensor/src/gpu/mali/fp16/matmul_mali_fp16.cpp | ysh329/bolt | 5c70e0ab68599331492f97cca197654ae4131216 | [
"MIT"
] | 1 | 2021-11-30T18:21:09.000Z | 2021-11-30T18:21:09.000Z | compute/tensor/src/gpu/mali/fp16/matmul_mali_fp16.cpp | ysh329/bolt | 5c70e0ab68599331492f97cca197654ae4131216 | [
"MIT"
] | null | null | null | compute/tensor/src/gpu/mali/fp16/matmul_mali_fp16.cpp | ysh329/bolt | 5c70e0ab68599331492f97cca197654ae4131216 | [
"MIT"
] | null | null | null | // Copyright (C) 2019. Huawei Technologies Co., Ltd. All rights reserved.
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),
// to deal in the Software without restriction, including without limitation the rights to use,... | 39.136364 | 149 | 0.642535 | ysh329 |
e9b8592556b593f91d4c5c6db852c2a33f897a95 | 608 | cc | C++ | src/plugin/graphics/3d/src/shader/shader.cc | motor-dev/Motor | 98cb099fe1c2d31e455ed868cc2a25eae51e79f0 | [
"BSD-3-Clause"
] | null | null | null | src/plugin/graphics/3d/src/shader/shader.cc | motor-dev/Motor | 98cb099fe1c2d31e455ed868cc2a25eae51e79f0 | [
"BSD-3-Clause"
] | null | null | null | src/plugin/graphics/3d/src/shader/shader.cc | motor-dev/Motor | 98cb099fe1c2d31e455ed868cc2a25eae51e79f0 | [
"BSD-3-Clause"
] | null | null | null | /* Motor <motor.devel@gmail.com>
see LICENSE for detail */
#include <motor/plugin.graphics.3d/stdafx.h>
#include <motor/plugin.graphics.3d/shader/ishaderbuilder.hh>
#include <motor/plugin.graphics.3d/shader/shader.meta.hh>
#include <motor/plugin.graphics.3d/shader/types.meta.hh>
namespace Motor {
ShaderProgramDes... | 24.32 | 100 | 0.764803 | motor-dev |
e9ba8ae7ee0dc7b184cda9f5193bce46908d91e3 | 4,414 | cpp | C++ | src/guo_hall_thinning.cpp | ericdanz/rgb_line_follower | 89e534301e1c4dd83649b0fa750d5f808caa2df8 | [
"BSD-3-Clause"
] | null | null | null | src/guo_hall_thinning.cpp | ericdanz/rgb_line_follower | 89e534301e1c4dd83649b0fa750d5f808caa2df8 | [
"BSD-3-Clause"
] | null | null | null | src/guo_hall_thinning.cpp | ericdanz/rgb_line_follower | 89e534301e1c4dd83649b0fa750d5f808caa2df8 | [
"BSD-3-Clause"
] | null | null | null | /*
* \guo_hall_thinning.cpp
* \takes a image and converts it to a trajectory for the robot to follow
*
* \author Chris Dunkers, CMU - cmdunkers@cmu.edu
* \date October 31, 2014
*/
#include "rgb_line_follower/guo_hall_thinning.h"
convert_to_line::convert_to_line(){
//the main node handle
ros::NodeHandle nh... | 27.416149 | 93 | 0.600362 | ericdanz |
e9baa7e515d37dfc4be9c540fb0bcf15835f58d1 | 4,224 | cpp | C++ | utilities/analog_random.cpp | jamessynge/arduino | 082ede0532f667b65c711ab2e56e0f7e6fb29f52 | [
"MIT"
] | null | null | null | utilities/analog_random.cpp | jamessynge/arduino | 082ede0532f667b65c711ab2e56e0f7e6fb29f52 | [
"MIT"
] | 1 | 2019-11-15T20:26:00.000Z | 2019-11-15T20:26:00.000Z | utilities/analog_random.cpp | jamessynge/arduino | 082ede0532f667b65c711ab2e56e0f7e6fb29f52 | [
"MIT"
] | 1 | 2019-10-05T13:05:34.000Z | 2019-10-05T13:05:34.000Z | #include "analog_random.h"
#include "Arduino.h"
// The analog pin identifiers A0, etc., don't have values matching the number
// that is in their name (i.e. A0 != 0). So we build up a table mapping from pin
// number (0, 1, ...) to the corresponding pin identifier (A0, A1, ...).
// As of this writing (March, 2019), t... | 28.931507 | 83 | 0.670691 | jamessynge |
e9bb3e6703c393cce61ebb3097f41be8c021c38c | 585 | cpp | C++ | src/main.cpp | philong6297/tetravex-solver | 3d427f00a697c22c2231c57445140c7f1bb76572 | [
"MIT"
] | null | null | null | src/main.cpp | philong6297/tetravex-solver | 3d427f00a697c22c2231c57445140c7f1bb76572 | [
"MIT"
] | null | null | null | src/main.cpp | philong6297/tetravex-solver | 3d427f00a697c22c2231c57445140c7f1bb76572 | [
"MIT"
] | null | null | null | #include <iostream>
#include "engine/game_generator.h"
#include "solver/solver.h"
int main() {
std::ios::sync_with_stdio(false);
// absolute dir = full name of the path
Game game = GameGenerator::ReadFromFile("D:/cpp-projects/tetravex-solver/data/6x6.txt");
// {
// Solver solver;
// std::co... | 23.4 | 91 | 0.62735 | philong6297 |
e9bca392665c427444ae656aca0eecf95dfb1c26 | 379 | cpp | C++ | src/core/core_render.cpp | RichardMarks/allegro-5-project-template | cdeb83a5eecf70d43e89f31ed7f56d87b00745c8 | [
"MIT"
] | null | null | null | src/core/core_render.cpp | RichardMarks/allegro-5-project-template | cdeb83a5eecf70d43e89f31ed7f56d87b00745c8 | [
"MIT"
] | null | null | null | src/core/core_render.cpp | RichardMarks/allegro-5-project-template | cdeb83a5eecf70d43e89f31ed7f56d87b00745c8 | [
"MIT"
] | null | null | null | #include "core.h"
bool core_render() {
// printf("core_render()\n");
if (__CoreGlobals__.Redraw && al_is_event_queue_empty(__CoreGlobals__.Queue)) {
__CoreGlobals__.Redraw = false;
al_set_target_bitmap(__CoreGlobals__.DisplayBuffer);
al_clear_to_color(al_map_rgb(0, 0, 0)); // FIXME: should use a globa... | 25.266667 | 90 | 0.717678 | RichardMarks |
e9bca8c576562c4aca5fcf476011b27c3163db43 | 2,453 | cpp | C++ | tests/satparser_tests.cpp | Ezibenroc/satsolver | 5f58b8f9502090f05cbc2351304a289530b74f63 | [
"MIT"
] | 1 | 2017-11-29T00:46:23.000Z | 2017-11-29T00:46:23.000Z | tests/satparser_tests.cpp | Ezibenroc/satsolver | 5f58b8f9502090f05cbc2351304a289530b74f63 | [
"MIT"
] | null | null | null | tests/satparser_tests.cpp | Ezibenroc/satsolver | 5f58b8f9502090f05cbc2351304a289530b74f63 | [
"MIT"
] | null | null | null | #include <sstream>
#include <iostream>
#include <cppunit/Test.h>
#include <cppunit/TestFixture.h>
#include <cppunit/TestAssert.h>
#include <cppunit/TestSuite.h>
#include <cppunit/TestCaller.h>
#include "parsers/sat.h"
#include "satparser_tests.h"
void SatParserTests::testBasic() {
std::istringstream stream("p cn... | 40.883333 | 99 | 0.674684 | Ezibenroc |
e9be7c556e7b0c101995ed2f889771d2360dcade | 2,471 | cc | C++ | StRoot/StTrsMaker/src/StSimpleMagneticField.cc | xiaohaijin/RHIC-STAR | a305cb0a6ac15c8165bd8f0d074d7075d5e58752 | [
"MIT"
] | 2 | 2018-12-24T19:37:00.000Z | 2022-02-28T06:57:20.000Z | StRoot/StTrsMaker/src/StSimpleMagneticField.cc | xiaohaijin/RHIC-STAR | a305cb0a6ac15c8165bd8f0d074d7075d5e58752 | [
"MIT"
] | null | null | null | StRoot/StTrsMaker/src/StSimpleMagneticField.cc | xiaohaijin/RHIC-STAR | a305cb0a6ac15c8165bd8f0d074d7075d5e58752 | [
"MIT"
] | null | null | null | /***************************************************************************
*
* $Id: StSimpleMagneticField.cc,v 1.5 2012/06/11 15:04:55 fisyak Exp $
*
* Author: Thomas Ullrich, May 1998
***************************************************************************
*
* Description: Class is implemented as a Single... | 29.070588 | 76 | 0.603399 | xiaohaijin |
e9be9d0ab7adf2d26b5fd92d101e2fd841f88d42 | 1,354 | cpp | C++ | Algorithms/Warmup/TimeConversion.cpp | latimercaleb/hacker-rank-results | 2cb5e0eca306835eb7607c157f8ee8ee166d3630 | [
"MIT"
] | null | null | null | Algorithms/Warmup/TimeConversion.cpp | latimercaleb/hacker-rank-results | 2cb5e0eca306835eb7607c157f8ee8ee166d3630 | [
"MIT"
] | null | null | null | Algorithms/Warmup/TimeConversion.cpp | latimercaleb/hacker-rank-results | 2cb5e0eca306835eb7607c157f8ee8ee166d3630 | [
"MIT"
] | null | null | null | // https://www.hackerrank.com/challenges/time-conversion/problem
#include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
#include <sstream>
#include<iomanip>
using namespace std;
int main(){
string time;
cin >> time;
char delim = ':';
stringstream newTime;
new... | 23.344828 | 141 | 0.474151 | latimercaleb |
e9c9c5a72f7134523d50bff6723e2e9bac9f5ab4 | 2,280 | cpp | C++ | hamonize-admin/server/src/VeyonServerProtocol.cpp | bsairline/hamonize | 6632d93b0149ed300d12c4eeb06cfc4fb01fce92 | [
"Apache-2.0"
] | null | null | null | hamonize-admin/server/src/VeyonServerProtocol.cpp | bsairline/hamonize | 6632d93b0149ed300d12c4eeb06cfc4fb01fce92 | [
"Apache-2.0"
] | 1 | 2022-03-25T19:24:44.000Z | 2022-03-25T19:24:44.000Z | hamonize-admin/server/src/VeyonServerProtocol.cpp | gon1942/hamonize | 0456d934569ad664e9f71c6355424426654caabf | [
"Apache-2.0",
"MIT"
] | null | null | null | /*
* VeyonServerProtocol.cpp - implementation of the VeyonServerProtocol class
*
* Copyright (c) 2017-2021 Tobias Junghans <tobydox@veyon.io>
*
* This file is part of Veyon - https://veyon.io
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
... | 34.029851 | 84 | 0.771491 | bsairline |
e9cc92831ba96d53b71b6a3c19769aa3eec198d4 | 1,317 | hpp | C++ | src/osm_node_wrap.hpp | simonpoole/node-osmium | 379bc61c2584e6fb441ee37f37af34aea97213dd | [
"BSL-1.0"
] | 104 | 2015-02-02T19:05:38.000Z | 2021-04-25T19:54:46.000Z | src/osm_node_wrap.hpp | simonpoole/node-osmium | 379bc61c2584e6fb441ee37f37af34aea97213dd | [
"BSL-1.0"
] | 75 | 2015-01-10T02:04:18.000Z | 2021-08-16T07:15:36.000Z | src/osm_node_wrap.hpp | simonpoole/node-osmium | 379bc61c2584e6fb441ee37f37af34aea97213dd | [
"BSL-1.0"
] | 29 | 2015-01-21T19:32:58.000Z | 2022-03-28T16:08:28.000Z | #ifndef OSM_NODE_WRAP_HPP
#define OSM_NODE_WRAP_HPP
#include "include_nan.hpp"
// osmium
#include <osmium/osm/node.hpp>
namespace osmium {
class OSMEntity;
}
// node-osmium
#include "node_osmium.hpp"
#include "osm_entity_wrap.hpp"
#include "osm_object_wrap.hpp"
#include "utils.hpp"
namespace node_osmium {
... | 22.322034 | 83 | 0.645406 | simonpoole |
e9ccc3114f817b50f91137b8ae6c9157045f0c5a | 441 | cpp | C++ | Acrolinx.Sidebar.SDK/COMInstanceMngr.cpp | acrolinx/sidebar-sdk-cpp | c2e640f9f512934162337704be062fc2e16e4ed9 | [
"Apache-2.0"
] | null | null | null | Acrolinx.Sidebar.SDK/COMInstanceMngr.cpp | acrolinx/sidebar-sdk-cpp | c2e640f9f512934162337704be062fc2e16e4ed9 | [
"Apache-2.0"
] | null | null | null | Acrolinx.Sidebar.SDK/COMInstanceMngr.cpp | acrolinx/sidebar-sdk-cpp | c2e640f9f512934162337704be062fc2e16e4ed9 | [
"Apache-2.0"
] | null | null | null | #include "StdAfx.h"
#include "COMInstanceMngr.h"
CCOMInstanceMngr::CCOMInstanceMngr(void)
: m_isInstanceCreated(FALSE)
{
}
CCOMInstanceMngr::~CCOMInstanceMngr(void)
{
}
BOOL CCOMInstanceMngr::Instantiate(void)
{
if(m_isInstanceCreated)
{
ACROASSERT(m_isInstanceCreated == FALSE, "Instance alrea... | 15.206897 | 76 | 0.662132 | acrolinx |
e9cef0ce617b376f774209bba0f60b265ca0cfa1 | 179 | cpp | C++ | cmake/localeconv.cpp | sniperkit/snk.fork.drishti_hunter_test | 106c4924930290928a0e350a9f8b54ea39a8c40d | [
"BSD-3-Clause"
] | 346 | 2017-05-13T05:12:51.000Z | 2022-01-31T08:57:14.000Z | cmake/localeconv.cpp | sniperkit/snk.fork.drishti_hunter_test | 106c4924930290928a0e350a9f8b54ea39a8c40d | [
"BSD-3-Clause"
] | 238 | 2017-05-12T20:22:26.000Z | 2021-06-08T20:54:11.000Z | cmake/localeconv.cpp | sniperkit/snk.fork.drishti_hunter_test | 106c4924930290928a0e350a9f8b54ea39a8c40d | [
"BSD-3-Clause"
] | 84 | 2017-06-30T06:50:56.000Z | 2022-03-24T01:21:54.000Z | /* localeconv example */
#include <locale.h> /* setlocale, LC_MONETARY, struct lconv, localeconv */
int main ()
{
struct lconv * lc;
lc=localeconv();
return 0;
}
| 17.9 | 78 | 0.620112 | sniperkit |
83980baa8d1290fd029bca8e886690c355532cd0 | 974 | cc | C++ | vos/p2/sub/tp_cmd/TpQuitCmd.cc | NASA-AMMOS/VICAR | 4504c1f558855d9c6eaef89f4460217aa4909f8e | [
"BSD-3-Clause"
] | 16 | 2020-10-21T05:56:26.000Z | 2022-03-31T10:02:01.000Z | vos/p2/sub/tp_cmd/TpQuitCmd.cc | NASA-AMMOS/VICAR | 4504c1f558855d9c6eaef89f4460217aa4909f8e | [
"BSD-3-Clause"
] | null | null | null | vos/p2/sub/tp_cmd/TpQuitCmd.cc | NASA-AMMOS/VICAR | 4504c1f558855d9c6eaef89f4460217aa4909f8e | [
"BSD-3-Clause"
] | 2 | 2021-03-09T01:51:08.000Z | 2021-03-23T00:23:24.000Z | /////////////////////////////////////////////////////////////////////////////
// TpQuitCmd.cc: Exit the application if there is no tiepoint file to save.
// Otherwise execute TpCloseCmd and provide it with 'this' pointer so that
// TpCloseCmd object could call us again when it is done with closing project.
////////////... | 31.419355 | 78 | 0.526694 | NASA-AMMOS |
8399c01ccfa2859713571d9b22bf725093207988 | 4,794 | cpp | C++ | src/debugger/breakpoint_break.cpp | sar/netcoredbg | c9b95f74452d3ac58ebe6642f64143fbe225df83 | [
"MIT"
] | 402 | 2017-12-12T13:12:39.000Z | 2022-03-28T01:43:25.000Z | src/debugger/breakpoint_break.cpp | sar/netcoredbg | c9b95f74452d3ac58ebe6642f64143fbe225df83 | [
"MIT"
] | 83 | 2018-01-10T16:23:43.000Z | 2022-03-22T07:25:42.000Z | src/debugger/breakpoint_break.cpp | sar/netcoredbg | c9b95f74452d3ac58ebe6642f64143fbe225df83 | [
"MIT"
] | 66 | 2018-01-10T10:39:59.000Z | 2022-03-27T15:55:10.000Z | // Copyright (c) 2021 Samsung Electronics Co., LTD
// Distributed under the MIT License.
// See the LICENSE file in the project root for more information.
#include "debugger/breakpoint_break.h"
#include "debugger/threads.h"
#include "metadata/modules.h"
#include "utils/torelease.h"
namespace netcoredbg
{
... | 38.047619 | 129 | 0.701293 | sar |
839aa948208c5719d99ba773ed28827aa0875089 | 1,315 | cpp | C++ | src/Core/Models/ShortId.cpp | Fookdies301/GrinPlusPlus | 981a99af0ae04633afbd02666894b5c199e06339 | [
"MIT"
] | 135 | 2018-12-17T15:38:16.000Z | 2022-03-01T05:38:29.000Z | src/Core/Models/ShortId.cpp | Fookdies301/GrinPlusPlus | 981a99af0ae04633afbd02666894b5c199e06339 | [
"MIT"
] | 185 | 2018-12-21T13:56:29.000Z | 2022-03-23T14:41:46.000Z | src/Core/Models/ShortId.cpp | Fookdies301/GrinPlusPlus | 981a99af0ae04633afbd02666894b5c199e06339 | [
"MIT"
] | 49 | 2018-12-23T12:05:51.000Z | 2022-03-26T14:24:49.000Z | #include <Core/Models/ShortId.h>
#include <Crypto/Hasher.h>
ShortId::ShortId(CBigInteger<6>&& id)
: m_id(id)
{
}
ShortId ShortId::Create(const CBigInteger<32>& hash, const CBigInteger<32>& blockHash, const uint64_t nonce)
{
// take the block hash and the nonce and hash them together
Serializer serializer;
serial... | 27.395833 | 108 | 0.756654 | Fookdies301 |
839ab305106ca145ed99a3a1a51b61938e5042db | 356 | cpp | C++ | 800-1000/1626A-Equidistant Letters.cpp | Ozzey/Codeforces | 36626f19382a08f54e66ade28431d7d440664e67 | [
"MIT"
] | 1 | 2022-02-11T16:38:52.000Z | 2022-02-11T16:38:52.000Z | 800-1000/1626A-Equidistant Letters.cpp | Ozzey/Codeforces | 36626f19382a08f54e66ade28431d7d440664e67 | [
"MIT"
] | null | null | null | 800-1000/1626A-Equidistant Letters.cpp | Ozzey/Codeforces | 36626f19382a08f54e66ade28431d7d440664e67 | [
"MIT"
] | null | null | null | // https://codeforces.com/problemset/problem/1626/A
#include <bits/stdc++.h>
using namespace std;
int fn(string str){
sort(str.begin(),str.end());
cout<<str<<endl;
return 0;
}
int main(){
int tc;
string s;
cin >> tc;
int count=0;
while(count<tc) {
cin>>s;
fn(s);
... | 13.185185 | 51 | 0.525281 | Ozzey |
83a17c4201313c1fea5af8dfe92af3133d1a8fd8 | 1,284 | hpp | C++ | include/brynet/net/wrapper/HttpServiceBuilder.hpp | mr-cn/brynet | 93ddf823ccc451b336cc5d78d636c75fd712ae59 | [
"MIT"
] | null | null | null | include/brynet/net/wrapper/HttpServiceBuilder.hpp | mr-cn/brynet | 93ddf823ccc451b336cc5d78d636c75fd712ae59 | [
"MIT"
] | null | null | null | include/brynet/net/wrapper/HttpServiceBuilder.hpp | mr-cn/brynet | 93ddf823ccc451b336cc5d78d636c75fd712ae59 | [
"MIT"
] | null | null | null | #pragma once
#include <brynet/net/http/HttpService.hpp>
#include <brynet/net/wrapper/ServiceBuilder.hpp>
namespace brynet { namespace net { namespace wrapper {
class HttpListenerBuilder : public BaseListenerBuilder<HttpListenerBuilder>
{
public:
HttpListenerBuilder& configureEnterCallback(http::H... | 32.923077 | 96 | 0.620717 | mr-cn |
83a2f83c46cd8f9206c79479e23b3c51629cfd60 | 1,032 | cpp | C++ | delta/dynamics/properties.cpp | KonstantinosKr/vega | 82ed6d98cbfdab8e143b7ccc59730af866d50225 | [
"MIT"
] | 4 | 2016-03-23T09:33:27.000Z | 2022-03-15T10:06:20.000Z | delta/dynamics/properties.cpp | KonstantinosKr/vega | 82ed6d98cbfdab8e143b7ccc59730af866d50225 | [
"MIT"
] | 1 | 2016-11-17T17:14:05.000Z | 2017-05-03T23:38:10.000Z | delta/dynamics/properties.cpp | KonstantinosKr/vega | 82ed6d98cbfdab8e143b7ccc59730af866d50225 | [
"MIT"
] | 1 | 2018-09-24T11:33:04.000Z | 2018-09-24T11:33:04.000Z | /*
* properties.cpp
*
* Created on: 17 Jun 2017
* Author: konstantinos
*/
#include "properties.h"
iREAL delta::dynamics::properties::getKineticRotationalEnergy(
iREAL velocity[3],
iREAL angular[3],
iREAL inertia[9],
iREAL mass)
{
iREAL rotation = 0.5 * inertia[0]*(angular[0]*angular[0... | 26.461538 | 138 | 0.662791 | KonstantinosKr |
83a80d6a3de3738253f89231fa5ed65d803f222c | 1,273 | cpp | C++ | cpp/problem067.cpp | curtislb/ProjectEuler | 7baf8d7b7ac0e8697d4dec03458b473095a45da4 | [
"MIT"
] | null | null | null | cpp/problem067.cpp | curtislb/ProjectEuler | 7baf8d7b7ac0e8697d4dec03458b473095a45da4 | [
"MIT"
] | null | null | null | cpp/problem067.cpp | curtislb/ProjectEuler | 7baf8d7b7ac0e8697d4dec03458b473095a45da4 | [
"MIT"
] | null | null | null | /*
* problem067.cpp
*
* Problem 67: Maximum path sum II
*
* By starting at the top of the triangle below and moving to adjacent numbers
* on the row below, the maximum total from top to bottom is 23.
*
* 3
* 7 4
* 2 4 6
* 8 5 9 3
*
* That is, 3 + 7 + 4 + 9 = 23.
*
* Find the maximu... | 27.085106 | 79 | 0.595444 | curtislb |
83a862224907608ff44f9777f127ed24abdaa333 | 583 | cpp | C++ | project3D/main.cpp | deadglow/AIE-bootstrap-pathfinding | 158ee426f896413d47293f3803a1a7aae687da21 | [
"MIT"
] | 1 | 2022-02-16T20:45:04.000Z | 2022-02-16T20:45:04.000Z | project3D/main.cpp | deadglow/AIE-bootstrap-pathfinding | 158ee426f896413d47293f3803a1a7aae687da21 | [
"MIT"
] | null | null | null | project3D/main.cpp | deadglow/AIE-bootstrap-pathfinding | 158ee426f896413d47293f3803a1a7aae687da21 | [
"MIT"
] | null | null | null | //----------------------------------------------------------------------------
// This is the entry-point for your game.
// Creates and runs the Application3D class which contains the game loop.
//----------------------------------------------------------------------------
#include <crtdbg.h>
#include "Game3D.h"
int m... | 25.347826 | 78 | 0.511149 | deadglow |
83ac69eeeba4b2f8da6447db9ab1b473e848e553 | 605 | cpp | C++ | src/library/BlackBox_Manager.cpp | RoboticsBrno/BlackBox_library | 2047f0102f1aacc780b8a7ba1d20da9dba3f63b4 | [
"MIT"
] | 1 | 2021-06-23T15:34:46.000Z | 2021-06-23T15:34:46.000Z | src/library/BlackBox_Manager.cpp | RoboticsBrno/BlackBox_library | 2047f0102f1aacc780b8a7ba1d20da9dba3f63b4 | [
"MIT"
] | 9 | 2020-03-09T19:50:34.000Z | 2021-07-18T12:06:11.000Z | src/library/BlackBox_Manager.cpp | RoboticsBrno/BlackBox_library | 2047f0102f1aacc780b8a7ba1d20da9dba3f63b4 | [
"MIT"
] | 1 | 2020-03-09T16:10:25.000Z | 2020-03-09T16:10:25.000Z | #include "library/BlackBox_Manager.hpp"
namespace BlackBox {
Manager::Manager()
: m_touchpad{16, 0b1110, 1, 1, 1, 1} { // FIXME: Remove this piece of ductape
}
void Manager::init() {
m_ldc.init();
m_lock.init();
m_power.init();
m_rtc.init();
m_touchpad.init(&m_ldc);
}
LDC& Manager::ldc() {
... | 14.756098 | 81 | 0.621488 | RoboticsBrno |
83ad325f7cecdce7f7aef751aad06e5e892f081e | 1,999 | cpp | C++ | C++_-_opengl_samples/redbook/003_lines.cpp | RussianPenguin/samples | 4300c1423a5f9f5820a6c50a3fa3bd823d005030 | [
"MIT"
] | null | null | null | C++_-_opengl_samples/redbook/003_lines.cpp | RussianPenguin/samples | 4300c1423a5f9f5820a6c50a3fa3bd823d005030 | [
"MIT"
] | null | null | null | C++_-_opengl_samples/redbook/003_lines.cpp | RussianPenguin/samples | 4300c1423a5f9f5820a6c50a3fa3bd823d005030 | [
"MIT"
] | null | null | null | #include <GL/glut.h>
#define drawOneLine(x1,y1,x2,y2) glBegin(GL_LINES);glVertex2f((x1),(y1));glVertex2f((x2),(y2));glEnd();
void init(void){
glClearColor(1.0,1.0,1.0,0.0);
glShadeModel(GL_FLAT);
}
void display(void){
int i;
glClear(GL_COLOR_BUFFER_BIT);
//Черный цвет для всех линий
glColor3f(0.0,0.0,0.0);
g... | 27.013514 | 103 | 0.716858 | RussianPenguin |
83afa5c4e1a850e5b60637ab9a5ca4b88f9e1e75 | 367 | cpp | C++ | src/main/cpp/miscar/Log.cpp | MisCar/libmiscar | b7da8ea84f1183ce4a8c5b51bcb29bea7052f7b2 | [
"BSD-3-Clause"
] | null | null | null | src/main/cpp/miscar/Log.cpp | MisCar/libmiscar | b7da8ea84f1183ce4a8c5b51bcb29bea7052f7b2 | [
"BSD-3-Clause"
] | null | null | null | src/main/cpp/miscar/Log.cpp | MisCar/libmiscar | b7da8ea84f1183ce4a8c5b51bcb29bea7052f7b2 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) MisCar 1574
#include "miscar/Log.h"
#include <networktables/NetworkTableInstance.h>
#include <frc/Errors.h>
void miscar::log::Warning(const std::string& message) {
FRC_ReportError(frc::err::Error, "[MisCar] {}", message);
}
void miscar::log::Error(const std::string& message) {
FRC_ReportError(... | 22.9375 | 62 | 0.697548 | MisCar |
83b0c94bfd73bc3ee43ccde95f849830e4779402 | 1,246 | hpp | C++ | libs/core/include/fcppt/container/map_values_ref.hpp | pmiddend/fcppt | 9f437acbb10258e6df6982a550213a05815eb2be | [
"BSL-1.0"
] | null | null | null | libs/core/include/fcppt/container/map_values_ref.hpp | pmiddend/fcppt | 9f437acbb10258e6df6982a550213a05815eb2be | [
"BSL-1.0"
] | null | null | null | libs/core/include/fcppt/container/map_values_ref.hpp | 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)
#ifndef FCPPT_CONTAINER_MAP_VALUES_REF_HPP_INCLUDED
#define FCPPT_CONTAINER_MAP_VALUES_REF_HPP_INC... | 17.8 | 144 | 0.699037 | pmiddend |
83b2800bbebe3c208ed2a7cba70404718cc10869 | 1,221 | cpp | C++ | Algorithms/Mathematical-Algorithms/Computational-Geometry/triangle_check.cpp | tensorush/Computer-Scientists-Toolkit | f48aadf6387b935ac593f6a5513352c3bf562cb0 | [
"MIT"
] | 9 | 2021-07-11T19:53:36.000Z | 2022-03-28T15:04:38.000Z | Algorithms/Mathematical-Algorithms/Computational-Geometry/triangle_check.cpp | geotrush/Computer-Scientists-Toolkit | f48aadf6387b935ac593f6a5513352c3bf562cb0 | [
"MIT"
] | 1 | 2022-01-18T09:49:36.000Z | 2022-01-18T17:50:12.000Z | Algorithms/Mathematical-Algorithms/Computational-Geometry/triangle_check.cpp | geotrush/Computer-Scientists-Toolkit | f48aadf6387b935ac593f6a5513352c3bf562cb0 | [
"MIT"
] | 2 | 2021-11-15T08:02:25.000Z | 2022-03-21T14:29:15.000Z | /*
Triangle Check
--------------------------
| Segments | Points |
--------------------------
| Time: O(1) | O(1) |
| Space: O(1) | O(1) |
--------------------------
*/
#include <iostream>
struct Point {
int x, y;
};
bool TriangleCheckForSegments(const unsigned& A, const ... | 29.780488 | 106 | 0.555283 | tensorush |
83b5d11d1c083c52929d5110ab7677aa043a2baf | 1,792 | cpp | C++ | Cpp/Codes/Practice/LeetCodeCN/443 String Compression.cpp | QuincyWork/AllCodes | 59fe045608dda924cb993dde957da4daff769438 | [
"MIT"
] | null | null | null | Cpp/Codes/Practice/LeetCodeCN/443 String Compression.cpp | QuincyWork/AllCodes | 59fe045608dda924cb993dde957da4daff769438 | [
"MIT"
] | null | null | null | Cpp/Codes/Practice/LeetCodeCN/443 String Compression.cpp | QuincyWork/AllCodes | 59fe045608dda924cb993dde957da4daff769438 | [
"MIT"
] | 1 | 2019-04-01T10:30:03.000Z | 2019-04-01T10:30:03.000Z | #include<gtest/gtest.h>
using namespace std;
namespace LC443
{
class Solution {
public:
int compress(vector<char>& chars) {
if (chars.empty())
{
return 0;
}
int result = 0;
int output = 0;
int count = 1;
int prev = chars[0];
for (auto i = 1; i < chars.size(); ++i)
{
if (cha... | 17.568627 | 61 | 0.449219 | QuincyWork |
83b6f1b38fb302d7e00efb4714bb7c74ce46d811 | 86,312 | inl | C++ | src/fonts/stb_font_consolas_bold_22_latin_ext.inl | stetre/moonfonts | 5c8010c02ea62edcf42902e09478b0cd14af56ea | [
"MIT"
] | 3 | 2018-03-13T12:51:57.000Z | 2021-10-11T11:32:17.000Z | src/fonts/stb_font_consolas_bold_22_latin_ext.inl | stetre/moonfonts | 5c8010c02ea62edcf42902e09478b0cd14af56ea | [
"MIT"
] | null | null | null | src/fonts/stb_font_consolas_bold_22_latin_ext.inl | stetre/moonfonts | 5c8010c02ea62edcf42902e09478b0cd14af56ea | [
"MIT"
] | null | null | null | // Font generated by stb_font_inl_generator.c (4/1 bpp)
//
// Following instructions show how to use the only included font, whatever it is, in
// a generic way so you can replace it with any other font by changing the include.
// To use multiple fonts, replace STB_SOMEFONT_* below with STB_FONT_consolas_bold_22_la... | 69.382637 | 137 | 0.792207 | stetre |
83b83caebab3394ba74f0376bb93f29a34852ef6 | 2,502 | cpp | C++ | common/WhirlyGlobeLib/src/Lighting.cpp | uCiC-app/WhirlyGlobe-3 | 399fa89a7c00db3f7fed08968e1c3692bba25d7c | [
"Apache-2.0"
] | 11 | 2020-01-03T09:17:59.000Z | 2020-10-12T21:42:42.000Z | common/WhirlyGlobeLib/src/Lighting.cpp | uCiC-app/WhirlyGlobe-3 | 399fa89a7c00db3f7fed08968e1c3692bba25d7c | [
"Apache-2.0"
] | 36 | 2020-01-08T07:52:20.000Z | 2020-11-16T23:49:39.000Z | common/WhirlyGlobeLib/src/Lighting.cpp | uCiC-app/WhirlyGlobe-3 | 399fa89a7c00db3f7fed08968e1c3692bba25d7c | [
"Apache-2.0"
] | 9 | 2020-01-08T06:04:48.000Z | 2021-07-21T13:14:27.000Z | /*
* Lighting.cpp
* WhirlyGlobeLib
*
* Created by jmnavarro
* Copyright 2011-2019 mousebird consulting.
*
* 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... | 28.431818 | 97 | 0.707834 | uCiC-app |
83b856c745f8d82bb95905b7aceb52824c6b3466 | 9,650 | cpp | C++ | adressing/AddressPool.cpp | d-kozak/isa-proj | 73c525914a985d631d593985d8f1bb4291f072f3 | [
"MIT"
] | null | null | null | adressing/AddressPool.cpp | d-kozak/isa-proj | 73c525914a985d631d593985d8f1bb4291f072f3 | [
"MIT"
] | null | null | null | adressing/AddressPool.cpp | d-kozak/isa-proj | 73c525914a985d631d593985d8f1bb4291f072f3 | [
"MIT"
] | null | null | null | //
// see header file for comments.
//
#include "AddressPool.h"
#include "../exceptions/OutOfAddressException.h"
#include "../exceptions/InvalidArgumentException.h"
#include "IpAddress.h"
#include <sstream>
#include <cmath>
#include <ctgmath>
#include <list>
#include <algorithm>
namespace addressing {
AddressPoo... | 34.341637 | 117 | 0.50342 | d-kozak |
83bb48a30e7293b43c03b7a9c745818326a6611f | 1,834 | cpp | C++ | src/util/crash.cpp | Shillaker/faabric | 40da290179c650d9e285475a1992572dfe1c0b10 | [
"Apache-2.0"
] | 1 | 2020-09-01T13:37:54.000Z | 2020-09-01T13:37:54.000Z | src/util/crash.cpp | Shillaker/faabric | 40da290179c650d9e285475a1992572dfe1c0b10 | [
"Apache-2.0"
] | null | null | null | src/util/crash.cpp | Shillaker/faabric | 40da290179c650d9e285475a1992572dfe1c0b10 | [
"Apache-2.0"
] | 1 | 2020-09-13T15:21:16.000Z | 2020-09-13T15:21:16.000Z | #include <faabric/util/crash.h>
#include <faabric/util/logging.h>
#include <array>
#include <execinfo.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <string>
#include <unistd.h>
const std::string_view ABORT_MSG = "Caught stack backtrace:\n";
constexpr int TEST_SIGNAL = 12341234;
// Must be as... | 26.970588 | 79 | 0.621047 | Shillaker |
83bee7b50861ab838211689007ad8ca46649910e | 326 | cpp | C++ | Dumping.cpp | pOri0n/Astrix3 | 49cf86b3af0fd0116b5cc9f64d8ae9886fcbcecf | [
"MIT"
] | 8 | 2017-06-07T09:55:37.000Z | 2019-01-15T18:59:06.000Z | Dumping.cpp | pOri0n/Astrix3 | 49cf86b3af0fd0116b5cc9f64d8ae9886fcbcecf | [
"MIT"
] | null | null | null | Dumping.cpp | pOri0n/Astrix3 | 49cf86b3af0fd0116b5cc9f64d8ae9886fcbcecf | [
"MIT"
] | 2 | 2017-06-08T22:23:08.000Z | 2019-12-25T00:13:05.000Z |
#include "Dumping.h"
#define DUMPIDTOFILE
void Dump::DumpClassIds()
{
#ifdef DUMPIDTOFILE
Utilities::EnableLogFile("ClassID.txt");
#endif
ClientClass* cClass = Interfaces::Client->GetAllClasses();
while (cClass)
{
Utilities::Log("%s = %d,", cClass->m_pNetworkName, cClass->m_ClassID);
cClass = cClass->m_pNext... | 19.176471 | 72 | 0.711656 | pOri0n |
83c0ad87bdb0d12683a67e4df21dbaba578e230b | 6,333 | cpp | C++ | src/platform/vulkan/image.cpp | PedroSFreire/LiftPR.Version | 61e8e135335e3c4def80f345548620db95f1662d | [
"BSD-3-Clause"
] | 30 | 2019-07-24T09:58:22.000Z | 2021-09-03T08:20:22.000Z | src/platform/vulkan/image.cpp | PedroSFreire/LiftPR.Version | 61e8e135335e3c4def80f345548620db95f1662d | [
"BSD-3-Clause"
] | 15 | 2020-06-20T13:20:50.000Z | 2021-04-26T16:05:33.000Z | src/platform/vulkan/image.cpp | PedroSFreire/LiftPR.Version | 61e8e135335e3c4def80f345548620db95f1662d | [
"BSD-3-Clause"
] | 5 | 2020-06-17T08:38:34.000Z | 2021-09-08T22:14:02.000Z |
#include "image.h"
#include "buffer.h"
#include "depth_buffer.h"
#include "device.h"
#include "single_time_commands.h"
#include "vulkan/vulkan.hpp"
namespace vulkan {
Image::Image(const class Device& device, const VkExtent2D extent, const VkFormat format) :
Image(device,
extent,
format,
... | 38.852761 | 120 | 0.707406 | PedroSFreire |
83c53f0a0aa1ffdae9a53137ba88e36a981d8219 | 1,594 | cc | C++ | chrome/browser/signin/signin_manager_android_factory.cc | chromium/chromium | df46e572c3449a4b108d6e02fbe4f6d24cf98381 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | chrome/browser/signin/signin_manager_android_factory.cc | chromium/chromium | df46e572c3449a4b108d6e02fbe4f6d24cf98381 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 86 | 2015-10-21T13:02:42.000Z | 2022-03-14T07:50:50.000Z | chrome/browser/signin/signin_manager_android_factory.cc | chromium/chromium | df46e572c3449a4b108d6e02fbe4f6d24cf98381 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | // Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/signin/signin_manager_android_factory.h"
#include "base/no_destructor.h"
#include "chrome/browser/android/signin/signin_manager_... | 37.069767 | 80 | 0.797992 | chromium |
83cabcb8793c45be6e820790d905f9b5aa7e5339 | 11,520 | cpp | C++ | FlowchartEditor/FlowchartLinkableLineSegment.cpp | pmachapman/Tulip | 54f7bc3e8d5bb452ed8de6e6622e23d5e9be650a | [
"Unlicense"
] | null | null | null | FlowchartEditor/FlowchartLinkableLineSegment.cpp | pmachapman/Tulip | 54f7bc3e8d5bb452ed8de6e6622e23d5e9be650a | [
"Unlicense"
] | 33 | 2018-09-14T21:58:20.000Z | 2022-01-12T21:39:22.000Z | FlowchartEditor/FlowchartLinkableLineSegment.cpp | pmachapman/Tulip | 54f7bc3e8d5bb452ed8de6e6622e23d5e9be650a | [
"Unlicense"
] | null | null | null | /* ==========================================================================
CFlowchartLinkableLineSegment
Author : Johan Rosengren, Abstrakt Mekanik AB
Date : 2004-04-29
Purpose : CFlowchartLinkableLineSegment is a CFlowchartEntity-
derived class, representing a line that can be linked
to other C... | 26.241458 | 107 | 0.59375 | pmachapman |
83cac9e54ed4390788be42e0fc0227378674e68b | 210 | hpp | C++ | source/skyland/opponent/opponent.hpp | evanbowman/skyland | a62827a0dbcab705ba8ddf75cb74e975ceadec39 | [
"MIT"
] | 24 | 2021-07-03T02:27:25.000Z | 2022-03-29T05:21:32.000Z | source/skyland/opponent/opponent.hpp | gbajam21/skyland | 059d9cca67881f04ebb9f51ff2ecac1ca27c93c2 | [
"MIT"
] | 3 | 2021-09-24T18:52:49.000Z | 2021-11-13T00:16:47.000Z | source/skyland/opponent/opponent.hpp | gbajam21/skyland | 059d9cca67881f04ebb9f51ff2ecac1ca27c93c2 | [
"MIT"
] | 1 | 2021-07-11T08:05:59.000Z | 2021-07-11T08:05:59.000Z | #pragma once
#include "skyland/player.hpp"
class Platform;
namespace skyland {
class App;
class Opponent : public Player {
public:
virtual ~Opponent()
{
}
};
} // namespace skyland
| 7 | 32 | 0.628571 | evanbowman |
83cba6e15b084962e05c5549797891c18e752cf0 | 1,075 | hpp | C++ | Hypothesis-checker/argument_handler.hpp | novotnyt94/Hypothesis-checker | 6c539ad748cf8771b9b73943363d6e32232f2df8 | [
"MIT"
] | null | null | null | Hypothesis-checker/argument_handler.hpp | novotnyt94/Hypothesis-checker | 6c539ad748cf8771b9b73943363d6e32232f2df8 | [
"MIT"
] | null | null | null | Hypothesis-checker/argument_handler.hpp | novotnyt94/Hypothesis-checker | 6c539ad748cf8771b9b73943363d6e32232f2df8 | [
"MIT"
] | null | null | null | #ifndef ARGUMENT_HANDLER_
#define ARGUMENT_HANDLER_
#include "errors.hpp"
#include <string>
namespace cube {
/* Parses arguments passed to the program. */
class argument_handler {
public:
/* Parses the arguments. */
static void parse_args(int argc, char ** argv);
//Whether input file was select... | 22.87234 | 62 | 0.717209 | novotnyt94 |
83d1cbe8f1dc8cbdcf2d16d341aa538468ac8594 | 2,045 | cpp | C++ | Game/Source/GDKTestGyms/Private/AsyncPlayerController.cpp | sang-tian/UnrealGDKTestGyms | f68f71c99d35dc2a442845b1bcb84501342d482a | [
"MIT"
] | 9 | 2019-12-06T16:52:16.000Z | 2021-01-04T22:25:46.000Z | Game/Source/GDKTestGyms/Private/AsyncPlayerController.cpp | sang-tian/UnrealGDKTestGyms | f68f71c99d35dc2a442845b1bcb84501342d482a | [
"MIT"
] | 250 | 2019-10-23T13:56:54.000Z | 2021-12-14T17:01:23.000Z | Game/Source/GDKTestGyms/Private/AsyncPlayerController.cpp | sang-tian/UnrealGDKTestGyms | f68f71c99d35dc2a442845b1bcb84501342d482a | [
"MIT"
] | 9 | 2020-01-13T10:54:15.000Z | 2021-12-20T07:28:09.000Z | // Copyright (c) Improbable Worlds Ltd, All Rights Reserved
#include "AsyncPlayerController.h"
#include "EngineUtils.h"
#include "SpatialGDKSettings.h"
#include "AsyncActorSpawner.h"
AAsyncPlayerController::AAsyncPlayerController()
{
}
void AAsyncPlayerController::BeginPlay()
{
Super::BeginPlay();
if (GetWorl... | 27.266667 | 157 | 0.74621 | sang-tian |
83d2cfac3c21be8b58da35c6640d34085576ebff | 503 | cpp | C++ | 2-Structural/11.Flyweight/src/Flyweight/Player.cpp | gfa99/gof_design_patterns | a33ee7f344f8e382bb9fc676b77b22a5a123bca0 | [
"Apache-2.0"
] | 21 | 2017-11-08T11:32:48.000Z | 2021-03-29T08:58:04.000Z | 2-Structural/11.Flyweight/src/Flyweight/Player.cpp | gfa99/gof_design_patterns | a33ee7f344f8e382bb9fc676b77b22a5a123bca0 | [
"Apache-2.0"
] | null | null | null | 2-Structural/11.Flyweight/src/Flyweight/Player.cpp | gfa99/gof_design_patterns | a33ee7f344f8e382bb9fc676b77b22a5a123bca0 | [
"Apache-2.0"
] | 8 | 2017-11-26T13:57:50.000Z | 2021-08-23T06:52:57.000Z | #include <iostream>
#include "Flyweight/Player.h"
namespace GoF {
namespace Flyweight {
Player::Player()
: AbstractItem('$')
{
std::cout << "\nCreating a Player .." << std::endl;
}
void Player::display(const Point & point)
{
std::cout <... | 20.958333 | 67 | 0.465209 | gfa99 |
83d3596a48f906a56f58221491eb23ae1ec96004 | 4,398 | cpp | C++ | keyvi/tests/keyvi/dictionary/fsa/internal/sliding_window_bit_vector_position_tracker_test.cpp | vvucetic/keyvi | e6f02373350fea000aa3d20be9cc1d0ec09441f7 | [
"Apache-2.0"
] | 199 | 2017-12-29T13:36:53.000Z | 2022-03-31T19:38:01.000Z | keyvi/tests/keyvi/dictionary/fsa/internal/sliding_window_bit_vector_position_tracker_test.cpp | vvucetic/keyvi | e6f02373350fea000aa3d20be9cc1d0ec09441f7 | [
"Apache-2.0"
] | 188 | 2017-11-03T18:22:46.000Z | 2022-03-03T17:43:55.000Z | keyvi/tests/keyvi/dictionary/fsa/internal/sliding_window_bit_vector_position_tracker_test.cpp | vvucetic/keyvi | e6f02373350fea000aa3d20be9cc1d0ec09441f7 | [
"Apache-2.0"
] | 35 | 2017-11-02T19:18:34.000Z | 2021-10-05T09:37:22.000Z | //
// keyvi - A key value store.
//
// Copyright 2015 Hendrik Muhs<hendrik.muhs@gmail.com>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2... | 23.772973 | 85 | 0.727603 | vvucetic |
83d426a2dedbd53c070f63dccfeec730a35a04da | 13,623 | cpp | C++ | tms_legacy/tms_ss_ods/ods_person_detection/src/ods_person_detection.cpp | robotpilot/ros_tms | 3d6b6579e89aa9cb216cd3cb6157fabc553c18f1 | [
"BSD-3-Clause"
] | 54 | 2015-01-06T06:58:28.000Z | 2021-05-02T07:49:37.000Z | tms_legacy/tms_ss_ods/ods_person_detection/src/ods_person_detection.cpp | robotpilot/ros_tms | 3d6b6579e89aa9cb216cd3cb6157fabc553c18f1 | [
"BSD-3-Clause"
] | 114 | 2015-01-07T06:42:21.000Z | 2022-02-12T05:54:04.000Z | tms_legacy/tms_ss_ods/ods_person_detection/src/ods_person_detection.cpp | robotpilot/ros_tms | 3d6b6579e89aa9cb216cd3cb6157fabc553c18f1 | [
"BSD-3-Clause"
] | 24 | 2015-03-27T08:35:59.000Z | 2020-06-08T13:05:31.000Z | #include <ods_person_detection/person_detection.h>
//*******************************
//**Y軸フィルター
//*******************************
void passfilter(pcl::PointCloud< pcl::PointXYZRGB >& cloud, pcl::PointCloud< pcl::PointXYZRGB >& cloud_out,
std::vector< int >& index)
{
std::cout << "passfilter" << std:... | 30.544843 | 120 | 0.571974 | robotpilot |
83d586446a6b08c9ac94385954f2288c7dad9c95 | 1,098 | hpp | C++ | console/pong/Player.hpp | piotrek-szczygiel/rpi-tetris | 1120b0ac024ef36f48a4fe67087e3e2c78cf83f8 | [
"MIT"
] | 4 | 2019-10-17T20:26:09.000Z | 2019-11-14T12:01:57.000Z | console/pong/Player.hpp | piotrek-szczygiel/rpi-tetris | 1120b0ac024ef36f48a4fe67087e3e2c78cf83f8 | [
"MIT"
] | null | null | null | console/pong/Player.hpp | piotrek-szczygiel/rpi-tetris | 1120b0ac024ef36f48a4fe67087e3e2c78cf83f8 | [
"MIT"
] | null | null | null | #pragma once
#include <raylib.h>
namespace Pong {
constexpr float PLAYER_HEIGHT { 180.0F };
constexpr float PLAYER_POWER_UP_HEIGHT { 300.0F };
constexpr float PLAYER_POWER_UP_DURATION { 10.0F };
struct PlayerControls {
bool up;
bool down;
};
class Player {
public:
int m_score;
float m_power_up_time... | 19.607143 | 86 | 0.614754 | piotrek-szczygiel |
83d5880633fca24815d45aebe820075d1a91666b | 3,217 | cpp | C++ | src/number_conversion_utils.cpp | william01110111/wmwwStatusline | 658ae739e45694bfad201aa33eb2aceecef10195 | [
"WTFPL"
] | 1 | 2021-11-11T03:43:32.000Z | 2021-11-11T03:43:32.000Z | src/number_conversion_utils.cpp | william01110111/wmwwStatusline | 658ae739e45694bfad201aa33eb2aceecef10195 | [
"WTFPL"
] | null | null | null | src/number_conversion_utils.cpp | william01110111/wmwwStatusline | 658ae739e45694bfad201aa33eb2aceecef10195 | [
"WTFPL"
] | null | null | null | #include "number_conversion_utils.h"
#include <math.h>
using std::min;
using std::max;
// const string fixedWidthSpace = "\xe3\x80\x80"; // Full width space
const string fixedWidthSpace = "\x20"; // ASCII space
// const string fixedWidthSpace = "\x20\x20"; // 2 ASCII spaces
string intToString(int in)
{
string out;
... | 18.703488 | 104 | 0.539633 | william01110111 |
83d8a1e4e797244b84ad7fff3fea86eca617b199 | 339 | hpp | C++ | y2018/filters/mergeFinalWindows.hpp | valkyrierobotics/vision2018 | aa82e936c5481b7cc43a46ff5f6e68702c2166c2 | [
"BSD-2-Clause"
] | 2 | 2016-08-06T06:21:02.000Z | 2017-01-10T05:45:13.000Z | y2018/filters/mergeFinalWindows.hpp | valkyrierobotics/vision2018 | aa82e936c5481b7cc43a46ff5f6e68702c2166c2 | [
"BSD-2-Clause"
] | 1 | 2017-04-15T20:54:59.000Z | 2017-04-15T20:54:59.000Z | y2018/filters/mergeFinalWindows.hpp | valkyrierobotics/vision2018 | aa82e936c5481b7cc43a46ff5f6e68702c2166c2 | [
"BSD-2-Clause"
] | 3 | 2016-07-30T06:19:55.000Z | 2017-02-07T01:55:05.000Z | #ifndef MERGE_FINAL_WINDOWS_HPP
#define MERGE_FINAL_WINDOWS_HPP
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include "mergeFinal.hpp"
void mergeFinalWindows(cv::Mat& img1, cv::Mat& img2, int& weight1, int& weight2, int& apply, bool visible, const bool isStreaming);
#endif // MERGE... | 28.25 | 131 | 0.784661 | valkyrierobotics |
83df05f739587e2a348cdbf36456d819fe161ac0 | 2,132 | cpp | C++ | utilities/seismo-diag/plotter.cpp | sergev/vak-opensource | e1912b83dabdbfab2baee5e7a9a40c3077349381 | [
"Apache-2.0"
] | 34 | 2016-10-29T19:50:34.000Z | 2022-02-12T21:27:43.000Z | utilities/seismo-diag/plotter.cpp | sergev/vak-opensource | e1912b83dabdbfab2baee5e7a9a40c3077349381 | [
"Apache-2.0"
] | null | null | null | utilities/seismo-diag/plotter.cpp | sergev/vak-opensource | e1912b83dabdbfab2baee5e7a9a40c3077349381 | [
"Apache-2.0"
] | 19 | 2017-06-19T23:04:00.000Z | 2021-11-13T15:00:41.000Z | #include <QtGui>
#include "plotter.h"
Plotter::Plotter (QWidget *parent)
: QWidget (parent)
{
setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
}
QSize Plotter::sizeHint() const
{
return QSize (500, 150);
}
void Plotter::paintEvent (QPaintEvent * /*event*/)
{
//printf ("paint event()\n");
QPainter pain... | 22.442105 | 76 | 0.644934 | sergev |
83e148a164441ac3f8147d90b99d9abf2f5de0be | 4,624 | cxx | C++ | Modules/Core/Common/test/otbRGBAPixelConverter.cxx | lfyater/Orfeo | eb3d4d56089065b99641d8ae7338d2ed0358d28a | [
"Apache-2.0"
] | 2 | 2019-02-13T14:48:19.000Z | 2019-12-03T02:54:28.000Z | Modules/Core/Common/test/otbRGBAPixelConverter.cxx | lfyater/Orfeo | eb3d4d56089065b99641d8ae7338d2ed0358d28a | [
"Apache-2.0"
] | 3 | 2015-10-14T10:11:38.000Z | 2015-10-15T08:26:23.000Z | Modules/Core/Common/test/otbRGBAPixelConverter.cxx | CS-SI/OTB | 5926aca233ff8a0fb11af1a342a6f5539cd5e376 | [
"Apache-2.0"
] | 2 | 2015-10-08T12:04:06.000Z | 2018-06-19T08:00:47.000Z | /*
* Copyright (C) 2005-2017 Centre National d'Etudes Spatiales (CNES)
*
* This file is part of Orfeo Toolbox
*
* https://www.orfeo-toolbox.org/
*
* 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 ... | 37.593496 | 105 | 0.658737 | lfyater |
83e1993e11177f33b3e723fc85b2e07e8f7cde9d | 10,381 | cpp | C++ | extern/eltopo/common/tunicate/sos_intersection.cpp | wycivil08/blendocv | f6cce83e1f149fef39afa8043aade9c64378f33e | [
"Unlicense"
] | 30 | 2015-01-29T14:06:05.000Z | 2022-01-10T07:47:29.000Z | extern/eltopo/common/tunicate/sos_intersection.cpp | ttagu99/blendocv | f6cce83e1f149fef39afa8043aade9c64378f33e | [
"Unlicense"
] | 1 | 2017-02-20T20:57:48.000Z | 2018-12-19T23:44:38.000Z | extern/eltopo/common/tunicate/sos_intersection.cpp | ttagu99/blendocv | f6cce83e1f149fef39afa8043aade9c64378f33e | [
"Unlicense"
] | 15 | 2015-04-23T02:38:36.000Z | 2021-03-01T20:09:39.000Z | // Released into the public domain by Robert Bridson, 2009.
#include <cassert>
#include "tunicate.h"
//==============================================================================
// Note: it is assumed all arguments are nonzero (have a sign).
static bool
same_sign(double a, double b)
{
return (a<0 && b<0) || (a... | 41.031621 | 80 | 0.469126 | wycivil08 |
83e4c4f670cddc19f5905c689f507838288a762f | 6,366 | cc | C++ | src/optimizer.cc | RobertBendun/stacky | f61622e35c8bd07533cb198573e355e556cd8057 | [
"BSL-1.0"
] | 3 | 2021-09-14T14:22:00.000Z | 2021-09-29T20:04:40.000Z | src/optimizer.cc | RobertBendun/stacky | f61622e35c8bd07533cb198573e355e556cd8057 | [
"BSL-1.0"
] | 58 | 2021-09-14T22:20:28.000Z | 2021-11-24T17:37:42.000Z | src/optimizer.cc | RobertBendun/stacky | f61622e35c8bd07533cb198573e355e556cd8057 | [
"BSL-1.0"
] | null | null | null | #include "stacky.hh"
#include "utilities.cc"
namespace optimizer
{
auto for_all_functions(Generation_Info &geninfo, auto &&iteration)
{
bool result = callv(iteration, false, geninfo, geninfo.main);
for (auto &[name, word] : geninfo.words)
if (word.kind == Word::Kind::Function)
result |= callv(iteration, ... | 37.447059 | 137 | 0.672636 | RobertBendun |
83e79f66ac0b12fe1bae71bf032824027513d05e | 7,371 | cpp | C++ | src/openms/source/ANALYSIS/MAPMATCHING/TransformationModel.cpp | liangoaix/OpenMS | cccbc5d872320f197091596db275f35b4d0458cd | [
"Zlib",
"Apache-2.0"
] | null | null | null | src/openms/source/ANALYSIS/MAPMATCHING/TransformationModel.cpp | liangoaix/OpenMS | cccbc5d872320f197091596db275f35b4d0458cd | [
"Zlib",
"Apache-2.0"
] | null | null | null | src/openms/source/ANALYSIS/MAPMATCHING/TransformationModel.cpp | liangoaix/OpenMS | cccbc5d872320f197091596db275f35b4d0458cd | [
"Zlib",
"Apache-2.0"
] | null | null | null | // --------------------------------------------------------------------------
// OpenMS -- Open-Source Mass Spectrometry
// --------------------------------------------------------------------------
// Copyright The OpenMS Team -- Eberhard Karls University Tuebingen,
// ETH Zurich, and Freie Universit... | 36.671642 | 154 | 0.625017 | liangoaix |
83e942a3070b9a42cce922527ab8e45882cc245a | 774 | hpp | C++ | libs/fnd/units/include/bksge/fnd/units/luminance.hpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 4 | 2018-06-10T13:35:32.000Z | 2021-06-03T14:27:41.000Z | libs/fnd/units/include/bksge/fnd/units/luminance.hpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 566 | 2017-01-31T05:36:09.000Z | 2022-02-09T05:04:37.000Z | libs/fnd/units/include/bksge/fnd/units/luminance.hpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 1 | 2018-07-05T04:40:53.000Z | 2018-07-05T04:40:53.000Z | /**
* @file luminance.hpp
*
* @brief luminance の定義
*
* @author myoukaku
*/
#ifndef BKSGE_FND_UNITS_LUMINANCE_HPP
#define BKSGE_FND_UNITS_LUMINANCE_HPP
#include <bksge/fnd/units/candela.hpp>
#include <bksge/fnd/units/metre.hpp>
namespace bksge
{
namespace units
{
// カンデラ毎平方メートル(輝度の単位)
te... | 24.1875 | 106 | 0.736434 | myoukaku |
83ea7200763af9ed99e49f10e502767a9429f83e | 562 | tpp | C++ | src/algorithms/rem_factorial.tpp | adienes/remainder-tree | 0aa76214ab6f2a4389ec45a239ea660749989a90 | [
"MIT"
] | null | null | null | src/algorithms/rem_factorial.tpp | adienes/remainder-tree | 0aa76214ab6f2a4389ec45a239ea660749989a90 | [
"MIT"
] | null | null | null | src/algorithms/rem_factorial.tpp | adienes/remainder-tree | 0aa76214ab6f2a4389ec45a239ea660749989a90 | [
"MIT"
] | null | null | null | #include "intermediate_computation.hpp"
#include "utils.hpp"
#include <NTL/ZZ_pX.h>
#include <NTL/matrix.h>
#include "../elements/element.hpp"
template <typename T, typename U>
T calculate_factorial(long n, const U& m, const std::function<std::vector<T> (long, long)>& get_A, const PolyMatrix& formula) {
// retu... | 24.434783 | 127 | 0.690391 | adienes |
83eec4770542a055d63bb60ca0403230a41a7179 | 496 | cpp | C++ | platforms/gfg/0141_minimum_number_deletions_make_sorted_sequence.cpp | idfumg/algorithms | 06f85c5a1d07a965df44219b5a6bf0d43a129256 | [
"MIT"
] | 2 | 2020-09-17T09:04:00.000Z | 2020-11-20T19:43:18.000Z | platforms/gfg/0141_minimum_number_deletions_make_sorted_sequence.cpp | idfumg/algorithms | 06f85c5a1d07a965df44219b5a6bf0d43a129256 | [
"MIT"
] | null | null | null | platforms/gfg/0141_minimum_number_deletions_make_sorted_sequence.cpp | idfumg/algorithms | 06f85c5a1d07a965df44219b5a6bf0d43a129256 | [
"MIT"
] | null | null | null | #include "../../template.hpp"
int tab(vi& arr) {
int n = arr.size(), maxi = 0;
vi dp(n, 1);
for (int i = 1; i < n; ++i) {
for (int j = 0; j < i; ++j) {
dp[i] = max(dp[i], (arr[i] > arr[j]) * dp[j] + 1);
}
maxi = max(maxi, dp[i]);
}
return n - maxi;
}
int main() ... | 23.619048 | 62 | 0.409274 | idfumg |
83ef47cb67d5d2858e9270db4657e948d7c23a43 | 4,676 | cpp | C++ | applications/RANSApplication/tests/cpp/test_incompressible_potential_flow_elements.cpp | Rodrigo-Flo/Kratos | f718cae5d1618e9c0e7ed1da9e95b7a853e62b1b | [
"BSD-4-Clause"
] | null | null | null | applications/RANSApplication/tests/cpp/test_incompressible_potential_flow_elements.cpp | Rodrigo-Flo/Kratos | f718cae5d1618e9c0e7ed1da9e95b7a853e62b1b | [
"BSD-4-Clause"
] | null | null | null | applications/RANSApplication/tests/cpp/test_incompressible_potential_flow_elements.cpp | Rodrigo-Flo/Kratos | f718cae5d1618e9c0e7ed1da9e95b7a853e62b1b | [
"BSD-4-Clause"
] | null | null | null | // | / |
// ' / __| _` | __| _ \ __|
// . \ | ( | | ( |\__ `
// _|\_\_| \__,_|\__|\___/ ____/
// Multi-Physics
//
// License: BSD License
// Kratos default license: kratos/license.txt
//
// Main authors: Suneth Warnakulasuriya
//
// ... | 30.763158 | 108 | 0.705731 | Rodrigo-Flo |
83f0d45d0ba843ab8068a5b4a75942ed18d3f1d4 | 979 | cpp | C++ | lib/IR/Compute/Constant.cpp | LiuLeif/onnc | 3f69e46172a9c33cc04541ff7fd78d5d7b6bdbba | [
"BSD-3-Clause"
] | 450 | 2018-08-03T08:17:03.000Z | 2022-03-17T17:21:06.000Z | lib/IR/Compute/Constant.cpp | LiuLeif/onnc | 3f69e46172a9c33cc04541ff7fd78d5d7b6bdbba | [
"BSD-3-Clause"
] | 104 | 2018-08-13T07:31:50.000Z | 2021-08-24T11:24:40.000Z | lib/IR/Compute/Constant.cpp | LiuLeif/onnc | 3f69e46172a9c33cc04541ff7fd78d5d7b6bdbba | [
"BSD-3-Clause"
] | 100 | 2018-08-12T04:27:39.000Z | 2022-03-11T04:17:42.000Z | //===- Constant.cpp -------------------------------------------------------===//
//
// The ONNC Project
//
// See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
#include <onnc/IR/Compute/Constant.h>
using namespace onnc;
char Co... | 24.475 | 80 | 0.429009 | LiuLeif |
83f1bbda5b6d73285b93073a25e76de4ca321814 | 15,696 | cpp | C++ | examples/laikago_opengl_example.cpp | sgillen/tiny-differentiable-simulator | 142f3b9e9b7e042c9298bc83ebbc08a9df7527af | [
"Apache-2.0"
] | 862 | 2020-05-14T19:22:27.000Z | 2022-03-20T20:23:24.000Z | examples/laikago_opengl_example.cpp | sgillen/tiny-differentiable-simulator | 142f3b9e9b7e042c9298bc83ebbc08a9df7527af | [
"Apache-2.0"
] | 82 | 2020-05-26T11:41:33.000Z | 2022-03-15T16:46:00.000Z | examples/laikago_opengl_example.cpp | sgillen/tiny-differentiable-simulator | 142f3b9e9b7e042c9298bc83ebbc08a9df7527af | [
"Apache-2.0"
] | 93 | 2020-05-15T05:37:59.000Z | 2022-03-03T09:09:50.000Z | // Copyright 2020 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 in ... | 36.417633 | 139 | 0.56696 | sgillen |
83f847fa7fe4024bdecfb4935a3d5009c54a99bd | 2,398 | cpp | C++ | code/source/visual/model.cpp | crafn/clover | 586acdbcdb34c3550858af125e9bb4a6300343fe | [
"MIT"
] | 12 | 2015-01-12T00:19:20.000Z | 2021-08-05T10:47:20.000Z | code/source/visual/model.cpp | crafn/clover | 586acdbcdb34c3550858af125e9bb4a6300343fe | [
"MIT"
] | null | null | null | code/source/visual/model.cpp | crafn/clover | 586acdbcdb34c3550858af125e9bb4a6300343fe | [
"MIT"
] | null | null | null | #include "global/env.hpp"
#include "model.hpp"
#include "resources/cache.hpp"
#include "visual/material.hpp"
#include "visual/mesh.hpp"
namespace clover {
namespace visual {
Model::Model():
material(0),
mesh(0),
INIT_RESOURCE_ATTRIBUTE(nameAttribute, "name", ""),
INIT_RESOURCE_ATTRIBUTE(materialAttribute, "ma... | 26.065217 | 93 | 0.711843 | crafn |
83fbbad58034f4b910dff971d6f581e666fca7c1 | 7,883 | cpp | C++ | code_reading/oceanbase-master/src/observer/virtual_table/ob_tenant_show_tables.cpp | wangcy6/weekly_read | 3a8837ee9cd957787ee1785e4066dd623e02e13a | [
"Apache-2.0"
] | null | null | null | code_reading/oceanbase-master/src/observer/virtual_table/ob_tenant_show_tables.cpp | wangcy6/weekly_read | 3a8837ee9cd957787ee1785e4066dd623e02e13a | [
"Apache-2.0"
] | null | null | null | code_reading/oceanbase-master/src/observer/virtual_table/ob_tenant_show_tables.cpp | wangcy6/weekly_read | 3a8837ee9cd957787ee1785e4066dd623e02e13a | [
"Apache-2.0"
] | 1 | 2020-10-18T12:59:31.000Z | 2020-10-18T12:59:31.000Z | /**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BAS... | 38.453659 | 118 | 0.611189 | wangcy6 |
83fcd2d527818526288762d92bd540fac0a5db71 | 2,116 | cpp | C++ | src/asynclock/asynclock.cpp | Damdoshi/LibLapin | 800e0f17ed8f3c47797c48feea4c280bb0e4bdc9 | [
"BSD-3-Clause"
] | 38 | 2016-07-30T09:35:19.000Z | 2022-03-04T10:13:48.000Z | src/asynclock/asynclock.cpp | Elania-Marvers/LibLapin | 800e0f17ed8f3c47797c48feea4c280bb0e4bdc9 | [
"BSD-3-Clause"
] | 15 | 2017-02-12T19:20:52.000Z | 2021-06-09T09:30:52.000Z | src/asynclock/asynclock.cpp | Elania-Marvers/LibLapin | 800e0f17ed8f3c47797c48feea4c280bb0e4bdc9 | [
"BSD-3-Clause"
] | 12 | 2016-10-06T09:06:59.000Z | 2022-03-04T10:14:00.000Z | // Jason Brillante "Damdoshi"
// Hanged Bunny Studio 2014-2018
//
// Lapin library
#include "lapin_private.h"
static int remove_dead_trap(struct bunny_trap **trap,
t_bunny_call_order order)
{
struct bunny_trap *lst;
struct bunny_trap *nxt;
int cnt;
cnt = 0;
for (lst = *trap; lst != NULL; )
if... | 23.511111 | 73 | 0.628544 | Damdoshi |
86057acac80e6b3404e3ddfc8c6e42b5d1840db2 | 2,608 | cpp | C++ | apps/oskar_convert_geodetic_to_ecef_main.cpp | i4Ds/OSKAR | 70bab06fd63729608420e29dc18512c954126bf0 | [
"BSD-3-Clause"
] | 46 | 2015-12-15T14:24:16.000Z | 2022-01-24T16:54:49.000Z | apps/oskar_convert_geodetic_to_ecef_main.cpp | i4Ds/OSKAR | 70bab06fd63729608420e29dc18512c954126bf0 | [
"BSD-3-Clause"
] | 37 | 2016-08-04T17:53:03.000Z | 2022-03-10T10:22:01.000Z | apps/oskar_convert_geodetic_to_ecef_main.cpp | i4Ds/OSKAR | 70bab06fd63729608420e29dc18512c954126bf0 | [
"BSD-3-Clause"
] | 32 | 2016-05-09T10:30:11.000Z | 2022-01-26T07:55:27.000Z | /*
* Copyright (c) 2015-2021, The OSKAR Developers.
* See the LICENSE file at the top-level directory of this distribution.
*/
#include "convert/oskar_convert_geodetic_spherical_to_ecef.h"
#include "log/oskar_log.h"
#include "math/oskar_cmath.h"
#include "mem/oskar_mem.h"
#include "settings/oskar_option_parser.h"
#... | 36.732394 | 80 | 0.682899 | i4Ds |
860912780dafac7e599e64c1bdc2b78ef10a30f6 | 245 | cpp | C++ | libxmlrip/porting.cpp | gazzyt/xmlrip | 32f25cb0729a91c7c1a7f211b0490b72e4c8b741 | [
"MIT"
] | 1 | 2020-04-19T18:55:06.000Z | 2020-04-19T18:55:06.000Z | libxmlrip/porting.cpp | gazzyt/xmlrip | 32f25cb0729a91c7c1a7f211b0490b72e4c8b741 | [
"MIT"
] | null | null | null | libxmlrip/porting.cpp | gazzyt/xmlrip | 32f25cb0729a91c7c1a7f211b0490b72e4c8b741 | [
"MIT"
] | null | null | null | #include "porting.h"
#ifdef WIN32
#include <stdio.h>
#else
#include <unistd.h>
#endif // WIN32
using namespace std;
int Porting::StdOutFileNo()
{
#ifdef WIN32
return _fileno(stdout);
#else
return STDOUT_FILENO;
#endif // WIN32
}
| 12.25 | 27 | 0.681633 | gazzyt |
86095945974baa5f69a7b38ae4c98482661e19a7 | 3,512 | cxx | C++ | main/ucb/source/ucp/file/filcmd.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 679 | 2015-01-06T06:34:58.000Z | 2022-03-30T01:06:03.000Z | main/ucb/source/ucp/file/filcmd.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 102 | 2017-11-07T08:51:31.000Z | 2022-03-17T12:13:49.000Z | main/ucb/source/ucp/file/filcmd.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 331 | 2015-01-06T11:40:55.000Z | 2022-03-14T04:07:51.000Z | /**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to y... | 25.449275 | 140 | 0.707859 | Grosskopf |
860e1cc06467099493d564854fe7a31e7945a20d | 20,277 | cpp | C++ | src/idocr.cpp | najlepsiwebdesigner/opencv-lab | 397711129c675958c3d612a8213b53b74e909702 | [
"Unlicense"
] | null | null | null | src/idocr.cpp | najlepsiwebdesigner/opencv-lab | 397711129c675958c3d612a8213b53b74e909702 | [
"Unlicense"
] | null | null | null | src/idocr.cpp | najlepsiwebdesigner/opencv-lab | 397711129c675958c3d612a8213b53b74e909702 | [
"Unlicense"
] | null | null | null | #include "idocr.h"
using namespace cv;
using namespace std;
string idOCR::cutoutPath = "";
idOCR::idOCR()
{
tesseract::TessBaseAPI *api = new tesseract::TessBaseAPI();
}
idOCR::~idOCR()
{
}
void idOCR::saveImage(string fileName, const Mat & image){
if (fileName.length() < 1) return;
imwrite(file... | 33.132353 | 218 | 0.532179 | najlepsiwebdesigner |
86137e5b7b498285a0bd2b289263849584c247b2 | 1,545 | hpp | C++ | Source/ImGui DirectX 11 Kiero Hook/cfg.hpp | 1hAck-0/UE4-Cheat-Source-Code | 7686193399158a0daab8ae07332451cc674a33c6 | [
"CC0-1.0"
] | 17 | 2022-01-08T20:26:30.000Z | 2022-03-21T14:09:42.000Z | Source/ImGui DirectX 11 Kiero Hook/cfg.hpp | 1hAck-0/UE4-Cheat-Source-Code | 7686193399158a0daab8ae07332451cc674a33c6 | [
"CC0-1.0"
] | 1 | 2022-01-11T21:53:16.000Z | 2022-02-15T16:33:37.000Z | Source/ImGui DirectX 11 Kiero Hook/cfg.hpp | 1hAck-0/UE4-Cheat-Source-Code | 7686193399158a0daab8ae07332451cc674a33c6 | [
"CC0-1.0"
] | 2 | 2022-01-09T11:12:07.000Z | 2022-01-14T17:27:45.000Z | #include <Windows.h>
struct cfg_Exploits_t
{
bool bInfiniteHealth = false;
bool bInfiniteAmmo = false;
bool bNoSpread = false;
bool bNoClip = false;
USHORT noClipKey = 0;
bool bFlyHack = false;
USHORT flyKey = 0;
bool bSpeedHack = false;
float speed = 3000.f;
bool bSuperJump = false;
float jumpHeight =... | 16.612903 | 62 | 0.697087 | 1hAck-0 |
8613a2b81fe12ed11027efc280867acab4e4a2dd | 51,987 | cpp | C++ | android/android_9/frameworks/ml/nn/runtime/test/TestPartitioningRandom.cpp | yakuizhao/intel-vaapi-driver | b2bb0383352694941826543a171b557efac2219b | [
"MIT"
] | null | null | null | android/android_9/frameworks/ml/nn/runtime/test/TestPartitioningRandom.cpp | yakuizhao/intel-vaapi-driver | b2bb0383352694941826543a171b557efac2219b | [
"MIT"
] | null | null | null | android/android_9/frameworks/ml/nn/runtime/test/TestPartitioningRandom.cpp | yakuizhao/intel-vaapi-driver | b2bb0383352694941826543a171b557efac2219b | [
"MIT"
] | null | null | null | /*
* Copyright (C) 2017 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 43.613255 | 100 | 0.603593 | yakuizhao |
861c0afd7637ac2c073fea8bbd099c9490acb861 | 878 | cc | C++ | stage2/tareeq/control/test/unicycle_driver_test.cc | aboarya/unicyle-kinematics | dfbb1090bf112079d0a1b5c629718999681515bb | [
"MIT"
] | null | null | null | stage2/tareeq/control/test/unicycle_driver_test.cc | aboarya/unicyle-kinematics | dfbb1090bf112079d0a1b5c629718999681515bb | [
"MIT"
] | null | null | null | stage2/tareeq/control/test/unicycle_driver_test.cc | aboarya/unicyle-kinematics | dfbb1090bf112079d0a1b5c629718999681515bb | [
"MIT"
] | null | null | null | #include <string>
#include <unordered_map>
#include <gtest/gtest.h>
#include <gmock/gmock.h>
#include "../unicycle_driver.h"
#include "tareeq/mocks/motor.h"
#include "tareeq/mocks/sensor.h"
#include "tareeq/mocks/state.h"
namespace tareeq {
namespace control {
using namespace tareeq::mocks;
class Un... | 19.086957 | 52 | 0.627563 | aboarya |
86235a2414943f958ca76cb1112d7ecded975981 | 1,677 | cpp | C++ | apps/rrGUI/rrLogFileReader.cpp | gregmedlock/roadrunnerwork | 11f18f78ef3e381bc59c546a8d5e3ed46d8ab596 | [
"Apache-2.0"
] | null | null | null | apps/rrGUI/rrLogFileReader.cpp | gregmedlock/roadrunnerwork | 11f18f78ef3e381bc59c546a8d5e3ed46d8ab596 | [
"Apache-2.0"
] | null | null | null | apps/rrGUI/rrLogFileReader.cpp | gregmedlock/roadrunnerwork | 11f18f78ef3e381bc59c546a8d5e3ed46d8ab596 | [
"Apache-2.0"
] | null | null | null | #ifdef MTK_PCH
#include "mtk_pch.h"
#endif
#pragma hdrstop
#include <Classes.hpp>
#include "rrLogFileReader.h"
#include "rrLogger.h"
#include "MainForm.h"
//---------------------------------------------------------------------------
namespace rr
{
LogFileReader::LogFileReader(const string& file, TMForm* mainFor... | 19.5 | 78 | 0.462731 | gregmedlock |
8629734fcfd04b2f01c228d0e80973ce1f4cf90d | 323 | cpp | C++ | Codeforces/A/Fox And Snake.cpp | AkibHossainOmi/Solving-Online-Judge-Problem | ae2f7685f7a0df3438607498c38de01742fe7240 | [
"MIT"
] | 1 | 2022-01-30T05:20:36.000Z | 2022-01-30T05:20:36.000Z | Codeforces/A/Fox And Snake.cpp | AkibHossainOmi/Solving-Online-Judge-Problem | ae2f7685f7a0df3438607498c38de01742fe7240 | [
"MIT"
] | null | null | null | Codeforces/A/Fox And Snake.cpp | AkibHossainOmi/Solving-Online-Judge-Problem | ae2f7685f7a0df3438607498c38de01742fe7240 | [
"MIT"
] | null | null | null | #include<stdio.h>
int main()
{
int m,n,i,j,r;
scanf("%d %d",&m,&n);
for(i=1;i<=m;i++)
{
for(j=1;j<=n;j++)
{
if(i%2==0&&i%4!=0&&j!=n) printf(".");
else if(i%4==0&&j!=1) printf(".");
else printf("#");
}
printf("\n");
}
... | 19 | 50 | 0.318885 | AkibHossainOmi |
862b99290af45091242ded696c17606cc1c6de99 | 21,710 | cpp | C++ | source/view/qrserverwidget.cpp | c6supper/json_serialize_deserialize_qt | c70e89056900835221309f7c54dcca2e9fefe498 | [
"Apache-2.0"
] | null | null | null | source/view/qrserverwidget.cpp | c6supper/json_serialize_deserialize_qt | c70e89056900835221309f7c54dcca2e9fefe498 | [
"Apache-2.0"
] | null | null | null | source/view/qrserverwidget.cpp | c6supper/json_serialize_deserialize_qt | c70e89056900835221309f7c54dcca2e9fefe498 | [
"Apache-2.0"
] | null | null | null | #include "qrserverwidget.h"
#include "qprofile_debug.h"
#include "qrserverstrtable.h"
#include "qrservermodel.h"
#include "qmodelfactory.h"
#include "qrservermessagebox.h"
#include "qrserverdevicetype.h"
#include "qautocheckevent.h"
#include "qrserverenvironment.h"
#include "qgenericcommand.h"
#include "qgenericstatus.... | 36.734349 | 107 | 0.690327 | c6supper |