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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
91b663f57316e5d21f13386e193c34792608dc8f | 29,467 | cpp | C++ | src/SyntaxTree.cpp | gitmodimo/cppgraphqlgen | bee89894653ad12f574f941d27c156354b1d497c | [
"MIT"
] | 52 | 2018-08-12T15:36:12.000Z | 2019-05-04T09:22:34.000Z | src/SyntaxTree.cpp | gitmodimo/cppgraphqlgen | bee89894653ad12f574f941d27c156354b1d497c | [
"MIT"
] | 30 | 2018-09-10T18:05:16.000Z | 2019-05-02T00:43:01.000Z | src/SyntaxTree.cpp | gitmodimo/cppgraphqlgen | bee89894653ad12f574f941d27c156354b1d497c | [
"MIT"
] | 13 | 2018-08-20T03:40:22.000Z | 2019-04-19T08:15:46.000Z | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#include "graphqlservice/GraphQLParse.h"
#include "graphqlservice/internal/Grammar.h"
#include "graphqlservice/internal/SyntaxTree.h"
#include <tao/pegtl/contrib/unescape.hpp>
#include <functional>
#include <iterator>
#i... | 24.972034 | 100 | 0.729562 | gitmodimo |
91b92c801076aba030ae894cf64d8893ade60bd2 | 467 | cpp | C++ | Level2_PointersPassByConstructDestructScopeRes/ConstructnDestruct.cpp | Arunken/DevCPP | 93f4e52284c8a4ce5d00acbe292002692eadfb39 | [
"Apache-2.0"
] | null | null | null | Level2_PointersPassByConstructDestructScopeRes/ConstructnDestruct.cpp | Arunken/DevCPP | 93f4e52284c8a4ce5d00acbe292002692eadfb39 | [
"Apache-2.0"
] | null | null | null | Level2_PointersPassByConstructDestructScopeRes/ConstructnDestruct.cpp | Arunken/DevCPP | 93f4e52284c8a4ce5d00acbe292002692eadfb39 | [
"Apache-2.0"
] | null | null | null | #include<iostream>
using namespace std;
class ConstructnDestruct
{
//public :
//int a,b;
//ConstructnDestruct *addr;
public :
ConstructnDestruct()
{
cout<<"Constructor invoked!!! "<<endl;
}
~ConstructnDestruct()
{
cout<<"Destructor invoked"<<endl;
}
};
//ConstructnDestruct obj1;
main()
{... | 12.972222 | 41 | 0.633833 | Arunken |
91ba50090a5a6c176dc44310a9f402e000cf0fc5 | 2,777 | cpp | C++ | src/AglTextureUbyte.cpp | philiphubbard/Agl | 7ee5c6911d4cf2199f1ebf56f28d01d3e051e789 | [
"MIT"
] | 1 | 2016-04-09T00:41:41.000Z | 2016-04-09T00:41:41.000Z | src/AglTextureUbyte.cpp | philiphubbard/Agl | 7ee5c6911d4cf2199f1ebf56f28d01d3e051e789 | [
"MIT"
] | null | null | null | src/AglTextureUbyte.cpp | philiphubbard/Agl | 7ee5c6911d4cf2199f1ebf56f28d01d3e051e789 | [
"MIT"
] | null | null | null | // Copyright (c) 2013 Philip M. Hubbard
//
// 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, publ... | 30.855556 | 81 | 0.651062 | philiphubbard |
91bb15200a33975b5c004971acaccceed920bcfc | 97,774 | cpp | C++ | src/currency_core/blockchain_storage.cpp | UScrypto/boolberry-opencl | 1369c7a2cb012983a2fac7e78438bd9a7185e867 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | src/currency_core/blockchain_storage.cpp | UScrypto/boolberry-opencl | 1369c7a2cb012983a2fac7e78438bd9a7185e867 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | src/currency_core/blockchain_storage.cpp | UScrypto/boolberry-opencl | 1369c7a2cb012983a2fac7e78438bd9a7185e867 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | // Copyright (c) 2012-2013 The Cryptonote developers
// Copyright (c) 2012-2013 The Boolberry developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <algorithm>
#include <cstdio>
#include <boost/archive/binary_o... | 41.482393 | 297 | 0.663049 | UScrypto |
91beb4ae0b8f9ec855d9a00590a37a36cd0602a0 | 6,099 | cpp | C++ | src/sampling.cpp | Algebraicphylogenetics/Empar | 1c2b4eec4ac0917c65786acf36de4b906d95715c | [
"MIT"
] | null | null | null | src/sampling.cpp | Algebraicphylogenetics/Empar | 1c2b4eec4ac0917c65786acf36de4b906d95715c | [
"MIT"
] | null | null | null | src/sampling.cpp | Algebraicphylogenetics/Empar | 1c2b4eec4ac0917c65786acf36de4b906d95715c | [
"MIT"
] | null | null | null | /*
* sampling.cpp
*
* Created by Ania M. Kedzierska on 11/11/11.
* Copyright 2011 Politecnic University of Catalonia, Center for Genomic Regulation. This is program can be redistributed, modified or else as given by the terms of the GNU General Public License.
*
*/
#include <iostream>
#include <cstdlib>
#in... | 24.493976 | 198 | 0.608296 | Algebraicphylogenetics |
91c0c554e64ab6821ac74d4128dec9d00830a099 | 1,761 | cc | C++ | nlp-automl/src/model/CreateDatasetRecordRequest.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 89 | 2018-02-02T03:54:39.000Z | 2021-12-13T01:32:55.000Z | nlp-automl/src/model/CreateDatasetRecordRequest.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 89 | 2018-03-14T07:44:54.000Z | 2021-11-26T07:43:25.000Z | nlp-automl/src/model/CreateDatasetRecordRequest.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 69 | 2018-01-22T09:45:52.000Z | 2022-03-28T07:58:38.000Z | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | 27.952381 | 84 | 0.767178 | aliyun |
91c4cbd4d21cadea7cd6e77cfe1d4d540c861c9b | 1,181 | cpp | C++ | c++/leetcode/0953-Verifying_an_Alien_Dictionary-E.cpp | levendlee/leetcode | 35e274cb4046f6ec7112cd56babd8fb7d437b844 | [
"Apache-2.0"
] | 1 | 2020-03-02T10:56:22.000Z | 2020-03-02T10:56:22.000Z | c++/leetcode/0953-Verifying_an_Alien_Dictionary-E.cpp | levendlee/leetcode | 35e274cb4046f6ec7112cd56babd8fb7d437b844 | [
"Apache-2.0"
] | null | null | null | c++/leetcode/0953-Verifying_an_Alien_Dictionary-E.cpp | levendlee/leetcode | 35e274cb4046f6ec7112cd56babd8fb7d437b844 | [
"Apache-2.0"
] | null | null | null | // 953 Verifying an Alien Dictionary
// https://leetcode.com/problems/verifying-an-alien-dictionary
// version: 1; create time: 2020-01-14 22:54:25;
class Solution {
public:
bool isAlienSorted(vector<string>& words, string order) {
int order_index[26];
for (int i = 0; i < 26; ++i) {
con... | 31.918919 | 72 | 0.458933 | levendlee |
91c72ac9ce76c638fd476ad637785c2dc856d710 | 9,391 | cpp | C++ | dwarf/SB/Core/x/xMovePoint.cpp | stravant/bfbbdecomp | 2126be355a6bb8171b850f829c1f2731c8b5de08 | [
"OLDAP-2.7"
] | 1 | 2021-01-05T11:28:55.000Z | 2021-01-05T11:28:55.000Z | dwarf/SB/Core/x/xMovePoint.cpp | sonich2401/bfbbdecomp | 5f58b62505f8929a72ccf2aa118a1539eb3a5bd6 | [
"OLDAP-2.7"
] | null | null | null | dwarf/SB/Core/x/xMovePoint.cpp | sonich2401/bfbbdecomp | 5f58b62505f8929a72ccf2aa118a1539eb3a5bd6 | [
"OLDAP-2.7"
] | 1 | 2022-03-30T15:15:08.000Z | 2022-03-30T15:15:08.000Z | typedef struct xLinkAsset;
typedef struct xMovePoint;
typedef struct xMovePointAsset;
typedef struct xEnt;
typedef struct xBaseAsset;
typedef struct xVec3;
typedef struct xEnv;
typedef struct xSerial;
typedef struct xCoef;
typedef struct xSpline3;
typedef struct xCoef3;
typedef struct xScene;
typedef struct xMemPool;
t... | 26.908309 | 91 | 0.728676 | stravant |
91ca9f6c30220237d286d7ad387f085e03f7dc47 | 9,163 | cpp | C++ | Plugins/UnLua/Source/UnLua/Private/Registries/ClassRegistry.cpp | xiejiangzhi/UnLua | 86ad978f939016caed1d11f803bb79bc73dbdfc1 | [
"MIT"
] | 1 | 2022-03-24T02:56:59.000Z | 2022-03-24T02:56:59.000Z | Plugins/UnLua/Source/UnLua/Private/Registries/ClassRegistry.cpp | xiejiangzhi/UnLua | 86ad978f939016caed1d11f803bb79bc73dbdfc1 | [
"MIT"
] | null | null | null | Plugins/UnLua/Source/UnLua/Private/Registries/ClassRegistry.cpp | xiejiangzhi/UnLua | 86ad978f939016caed1d11f803bb79bc73dbdfc1 | [
"MIT"
] | null | null | null | // Tencent is pleased to support the open source community by making UnLua available.
//
// Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
//
// Licensed under the MIT License (the "License");
// you may not use this file except in compliance with the License. You may obtain a copy of th... | 30.141447 | 145 | 0.58889 | xiejiangzhi |
91cadaf1f75cbf8a4c49b75247976a88e84dacc1 | 827 | cpp | C++ | soj/3845.cpp | huangshenno1/project_euler | 8a3c91fd11bcb6a6a830e963b1d5aed3f5ff787d | [
"MIT"
] | null | null | null | soj/3845.cpp | huangshenno1/project_euler | 8a3c91fd11bcb6a6a830e963b1d5aed3f5ff787d | [
"MIT"
] | null | null | null | soj/3845.cpp | huangshenno1/project_euler | 8a3c91fd11bcb6a6a830e963b1d5aed3f5ff787d | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <string.h>
int p[300];
int Parent(int n)
{
if (p[n]==-1)
return n;
return p[n]=Parent(p[n]);
}
void Swap(int &a,int &b)
{
int temp=a;
a=b;
b=temp;
}
int main()
{
int n,m;
int a,b;
int i,count;
while (scanf("%d%d",&n,&m)==2)
{
memset... | 15.903846 | 34 | 0.336155 | huangshenno1 |
91cd45520970a6e49e6d13c3fd9db0d37fbe06a9 | 7,968 | cpp | C++ | libs/ofxCloudPlatform/src/VisionDebug.cpp | SAIC/ofxCloudPlatform | 4a97b38cb9be1faf245b9421789e9b43b5645356 | [
"MIT"
] | 1 | 2017-11-17T01:20:54.000Z | 2017-11-17T01:20:54.000Z | libs/ofxCloudPlatform/src/VisionDebug.cpp | SAIC/ofxCloudPlatform | 4a97b38cb9be1faf245b9421789e9b43b5645356 | [
"MIT"
] | 3 | 2017-09-30T18:30:08.000Z | 2019-11-21T09:14:42.000Z | libs/ofxCloudPlatform/src/VisionDebug.cpp | SAIC/ofxCloudPlatform | 4a97b38cb9be1faf245b9421789e9b43b5645356 | [
"MIT"
] | 1 | 2017-11-06T12:14:43.000Z | 2017-11-06T12:14:43.000Z | //
// Copyright (c) 2016 Christopher Baker <https://christopherbaker.net>
//
// SPDX-License-Identifier: MIT
//
#include "ofx/CloudPlatform/VisionDebug.h"
#include "ofGraphics.h"
namespace ofx {
namespace CloudPlatform {
void VisionDebug::draw(const std::string& label,
float value,
... | 29.511111 | 101 | 0.609438 | SAIC |
91d09f0224cfc20a62bfa40aae3eb3567ed85850 | 8,847 | cxx | C++ | PWG/muondep/AliMuonCompactManuStatus.cxx | maroozm/AliPhysics | 22ec256928cfdf8f800e05bfc1a6e124d90b6eaf | [
"BSD-3-Clause"
] | 114 | 2017-03-03T09:12:23.000Z | 2022-03-03T20:29:42.000Z | PWG/muondep/AliMuonCompactManuStatus.cxx | maroozm/AliPhysics | 22ec256928cfdf8f800e05bfc1a6e124d90b6eaf | [
"BSD-3-Clause"
] | 19,637 | 2017-01-16T12:34:41.000Z | 2022-03-31T22:02:40.000Z | PWG/muondep/AliMuonCompactManuStatus.cxx | maroozm/AliPhysics | 22ec256928cfdf8f800e05bfc1a6e124d90b6eaf | [
"BSD-3-Clause"
] | 1,021 | 2016-07-14T22:41:16.000Z | 2022-03-31T05:15:51.000Z | #include "AliMuonCompactManuStatus.h"
#include "AliAnalysisTriggerScalers.h"
#include "AliCDBManager.h"
#include "AliMUONCDB.h"
#include "AliMUONCalibrationData.h"
#include "AliMUONPadStatusMaker.h"
#include "AliMUONRecoParam.h"
#include "AliMUONRejectList.h"
#include "AliMpCDB.h"
#include "AliMpConstants.h"
#include ... | 31.151408 | 176 | 0.594552 | maroozm |
91d1ad6ada1817bead4703de39514f46188fc341 | 20,599 | cpp | C++ | Systronix_M24C32.cpp | systronix/Systronix_M24C32 | 3d9e2e11fd17d7d54978a6dff50076561b9943dc | [
"MIT"
] | null | null | null | Systronix_M24C32.cpp | systronix/Systronix_M24C32 | 3d9e2e11fd17d7d54978a6dff50076561b9943dc | [
"MIT"
] | null | null | null | Systronix_M24C32.cpp | systronix/Systronix_M24C32 | 3d9e2e11fd17d7d54978a6dff50076561b9943dc | [
"MIT"
] | null | null | null | #include <Arduino.h>
#include <Systronix_M24C32.h>
//---------------------------< D E F A U L T C O N S R U C T O R >------------------------------------------
//
// default constructor assumes lowest base address
//
Systronix_M24C32::Systronix_M24C32 (void)
{
_base = EEP_BASE_MIN;
error.total_error_count = 0; ... | 37.317029 | 157 | 0.633332 | systronix |
91d36b2b3e1678b846e48debdafd83129345c2d7 | 15,648 | cpp | C++ | tests/csimsbw/csimsbw.cpp | nickerso/csim-v2 | c414d194f341cf00b0520ba3de4a2d7a37792768 | [
"Apache-2.0"
] | null | null | null | tests/csimsbw/csimsbw.cpp | nickerso/csim-v2 | c414d194f341cf00b0520ba3de4a2d7a37792768 | [
"Apache-2.0"
] | null | null | null | tests/csimsbw/csimsbw.cpp | nickerso/csim-v2 | c414d194f341cf00b0520ba3de4a2d7a37792768 | [
"Apache-2.0"
] | 1 | 2022-02-04T05:59:23.000Z | 2022-02-04T05:59:23.000Z | #include "gtest/gtest.h"
#include <string>
#include <cmath>
#include "csimsbw.h"
#include "csim/error_codes.h"
// generated with test resource locations
#include "test_resources.h"
#define ABS_TOL 1.0e-7
#define LOOSE_TOL 1.0e-1
#define VERY_LOOSE_TOL 0.5
TEST(SBW, say_hello) {
char* hello;
int length;
... | 35.243243 | 88 | 0.64807 | nickerso |
91d37878541358051b949781050b06f103150bc5 | 2,035 | hpp | C++ | test/unit/module/real/math/log1p/regular/log1p.hpp | orao/eve | a8bdc6a9cab06d905e8749354cde63776ab76846 | [
"MIT"
] | null | null | null | test/unit/module/real/math/log1p/regular/log1p.hpp | orao/eve | a8bdc6a9cab06d905e8749354cde63776ab76846 | [
"MIT"
] | null | null | null | test/unit/module/real/math/log1p/regular/log1p.hpp | orao/eve | a8bdc6a9cab06d905e8749354cde63776ab76846 | [
"MIT"
] | null | null | null | //==================================================================================================
/**
EVE - Expressive Vector Engine
Copyright : EVE Contributors & Maintainers
SPDX-License-Identifier: MIT
**/
//==================================================================================================
#... | 39.134615 | 112 | 0.531695 | orao |
91d3ddf033fc0c541188798026484102568c5723 | 1,241 | hpp | C++ | boost/graph/python/distributed/dinic_max_flow.hpp | erwinvaneijk/bgl-python | 6731d1e0e9681e99f1ad0a876b2adb8139d93027 | [
"BSL-1.0"
] | 18 | 2015-06-19T08:44:21.000Z | 2021-07-23T11:09:05.000Z | boost/graph/python/distributed/dinic_max_flow.hpp | erwinvaneijk/bgl-python | 6731d1e0e9681e99f1ad0a876b2adb8139d93027 | [
"BSL-1.0"
] | null | null | null | boost/graph/python/distributed/dinic_max_flow.hpp | erwinvaneijk/bgl-python | 6731d1e0e9681e99f1ad0a876b2adb8139d93027 | [
"BSL-1.0"
] | 3 | 2015-07-13T07:50:49.000Z | 2020-10-26T15:08:03.000Z | // Copyright 2005 The Trustees of Indiana University.
// Use, modification and distribution is subject to 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)
// Authors: Douglas Gregor
// Andrew Lumsdaine
#include <boost/gra... | 31.820513 | 79 | 0.745367 | erwinvaneijk |
91d9e9e4de5c0d8d813ac48f2bf8192fa77c23b2 | 1,417 | cpp | C++ | mapchannel.cpp | chuanstudyup/TrackReplay | fdce9ee21c0fd9394968616f277cced7f23d7b7e | [
"Apache-2.0"
] | null | null | null | mapchannel.cpp | chuanstudyup/TrackReplay | fdce9ee21c0fd9394968616f277cced7f23d7b7e | [
"Apache-2.0"
] | null | null | null | mapchannel.cpp | chuanstudyup/TrackReplay | fdce9ee21c0fd9394968616f277cced7f23d7b7e | [
"Apache-2.0"
] | null | null | null | #include "mapchannel.h"
MapChannel::MapChannel(QObject *parent) : QObject(parent)
{
}
void MapChannel::getMousePoint(double lng, double lat)
{
emit mousePointChanged(lng,lat);
}
void MapChannel::addPoint(double lng, double lat)
{
emit addPointClicked(lng,lat);
}
void MapChannel::movePoint... | 17.280488 | 70 | 0.673253 | chuanstudyup |
91e12885a97b0b802781587e02307494b2d4d364 | 8,984 | cpp | C++ | contrib/samples/win32/mfc/CanalDiagnostic/MainFrm.cpp | nanocortex/vscp | 0b1a51a35a886921179a8112c592547f84c9771a | [
"CC-BY-3.0"
] | null | null | null | contrib/samples/win32/mfc/CanalDiagnostic/MainFrm.cpp | nanocortex/vscp | 0b1a51a35a886921179a8112c592547f84c9771a | [
"CC-BY-3.0"
] | null | null | null | contrib/samples/win32/mfc/CanalDiagnostic/MainFrm.cpp | nanocortex/vscp | 0b1a51a35a886921179a8112c592547f84c9771a | [
"CC-BY-3.0"
] | null | null | null | // MainFrm.cpp : implementation of the CMainFrame class
//
// This program 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
// 2 of the License, or (at your option) any later version.
// canald... | 28.340694 | 80 | 0.693232 | nanocortex |
91e17bb80960d5c92bc8e5315b1ef9fdc1b2de76 | 247 | cc | C++ | tests/CompileTests/ElsaTestCases/t0165.cc | maurizioabba/rose | 7597292cf14da292bdb9a4ef573001b6c5b9b6c0 | [
"BSD-3-Clause"
] | 488 | 2015-01-09T08:54:48.000Z | 2022-03-30T07:15:46.000Z | tests/CompileTests/ElsaTestCases/t0165.cc | sujankh/rose-matlab | 7435d4fa1941826c784ba97296c0ec55fa7d7c7e | [
"BSD-3-Clause"
] | 174 | 2015-01-28T18:41:32.000Z | 2022-03-31T16:51:05.000Z | tests/CompileTests/ElsaTestCases/t0165.cc | sujankh/rose-matlab | 7435d4fa1941826c784ba97296c0ec55fa7d7c7e | [
"BSD-3-Clause"
] | 146 | 2015-04-27T02:48:34.000Z | 2022-03-04T07:32:53.000Z | // t0165.cc
// specialization of nsCOMPtr
template <class T>
class nsCOMPtr {
// nsCOMPtr === nsCOMPtr<T>
};
// specialization
template <>
class nsCOMPtr<int> {
// nsCOMPtr === nsCOMPtr<int>
nsCOMPtr(nsCOMPtr<int> &blah);
};
| 16.466667 | 32 | 0.62753 | maurizioabba |
91e244ff538141f09e993278a6868a5bb3f05a19 | 3,089 | hpp | C++ | include/nac/pak.hpp | nacitar/old-projects | e5af376f868124b9828196df1f55adb682969f3d | [
"MIT"
] | 1 | 2016-05-04T04:22:42.000Z | 2016-05-04T04:22:42.000Z | include/nac/pak.hpp | nacitar/old-projects | e5af376f868124b9828196df1f55adb682969f3d | [
"MIT"
] | null | null | null | include/nac/pak.hpp | nacitar/old-projects | e5af376f868124b9828196df1f55adb682969f3d | [
"MIT"
] | 6 | 2016-05-04T04:23:02.000Z | 2020-11-30T22:32:43.000Z | #ifndef __PAK_HPP__
#define __PAK_HPP__
#include <nx/type.hpp>
#include <string>
#include <vector>
#include <fstream>
/*
Every PAK file has a header, 16 bytes long
4 Ident (IDPAKHEADER)
4 directory offset
4 directory length
All files in the PAK has a directory entry, consisting of
56 relati... | 24.91129 | 151 | 0.685335 | nacitar |
91e5830dd89a08350dc8a29643b5503b1c61bedd | 2,699 | cpp | C++ | GLdraw/GLScreenshot.cpp | smeng9/KrisLibrary | 4bd1aa4d9a2d5e40954f5d0b8e3e8a9f19c32add | [
"BSD-3-Clause"
] | 57 | 2015-05-07T18:07:11.000Z | 2022-03-18T18:44:39.000Z | GLdraw/GLScreenshot.cpp | smeng9/KrisLibrary | 4bd1aa4d9a2d5e40954f5d0b8e3e8a9f19c32add | [
"BSD-3-Clause"
] | 7 | 2018-12-10T21:46:52.000Z | 2022-01-20T19:49:11.000Z | GLdraw/GLScreenshot.cpp | smeng9/KrisLibrary | 4bd1aa4d9a2d5e40954f5d0b8e3e8a9f19c32add | [
"BSD-3-Clause"
] | 36 | 2015-01-10T18:36:45.000Z | 2022-01-20T19:49:24.000Z | #include <KrisLibrary/Logger.h>
#include "GLScreenshot.h"
#include "GL.h"
#include "GLError.h"
#include <stdio.h>
//#define GDI_AVAILABLE
#if defined _WIN32 && defined GDI_AVAILABLE
#include <ole2.h>
#include <image/gdi.h>
#endif //_WIN32 && GDI_AVAILABLE
#include <image/ppm.h>
#include <memory.h>
void flipRGBImage(u... | 27.824742 | 89 | 0.715821 | smeng9 |
91eb3e744eea84991fb9e428fa2eaa64d4a37026 | 2,114 | cpp | C++ | src/listener.cpp | inani47/beginner_tutorials | 7b5b3ec6ab32b22ad77273087ad4b1d2aa9c5041 | [
"BSD-2-Clause"
] | null | null | null | src/listener.cpp | inani47/beginner_tutorials | 7b5b3ec6ab32b22ad77273087ad4b1d2aa9c5041 | [
"BSD-2-Clause"
] | null | null | null | src/listener.cpp | inani47/beginner_tutorials | 7b5b3ec6ab32b22ad77273087ad4b1d2aa9c5041 | [
"BSD-2-Clause"
] | 1 | 2018-10-27T06:17:24.000Z | 2018-10-27T06:17:24.000Z | /*
* BSD 2-Clause License
*
* Copyright (c) 2017, Pranav Inani
* 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,... | 33.03125 | 81 | 0.733207 | inani47 |
91ebfc21408addb761be14b571a2954e3516c58e | 8,845 | cpp | C++ | src/frm/frmBackup.cpp | dpage/pgadmin3 | 6784e6281831a083fe5a0bbd49eac90e1a6ac547 | [
"Artistic-1.0"
] | 2 | 2021-07-16T21:45:41.000Z | 2021-08-14T15:54:17.000Z | src/frm/frmBackup.cpp | dpage/pgadmin3 | 6784e6281831a083fe5a0bbd49eac90e1a6ac547 | [
"Artistic-1.0"
] | null | null | null | src/frm/frmBackup.cpp | dpage/pgadmin3 | 6784e6281831a083fe5a0bbd49eac90e1a6ac547 | [
"Artistic-1.0"
] | 2 | 2017-11-18T15:00:24.000Z | 2021-08-14T15:54:30.000Z | //////////////////////////////////////////////////////////////////////////
//
// pgAdmin III - PostgreSQL Tools
// RCS-ID: $Id$
// Copyright (C) 2002 - 2010, The pgAdmin Development Team
// This software is released under the Artistic Licence
//
// frmBackup.cpp - Backup database dialogue
//
//////////////////////... | 28.440514 | 128 | 0.59299 | dpage |
91ecc0f918c51550b90273cd61737bfc91e6d7a6 | 519 | cpp | C++ | src/lib/io/mipi_tx.cpp | kinglee1982/FaceRecognitionTerminalDemo | 5e197011a87403d2433f691b8390ec340432b2be | [
"Apache-2.0"
] | 2 | 2020-12-21T13:15:59.000Z | 2021-07-07T08:04:06.000Z | src/lib/io/mipi_tx.cpp | kinglee1982/FaceRecognitionTerminalDemo | 5e197011a87403d2433f691b8390ec340432b2be | [
"Apache-2.0"
] | null | null | null | src/lib/io/mipi_tx.cpp | kinglee1982/FaceRecognitionTerminalDemo | 5e197011a87403d2433f691b8390ec340432b2be | [
"Apache-2.0"
] | 1 | 2022-03-24T01:08:42.000Z | 2022-03-24T01:08:42.000Z | #include "mipi_tx.h"
#include <fcntl.h>
#include <sys/ioctl.h>
#include <unistd.h>
#include "hi_mipi_tx.h"
#include "rp-lcd-mipi-8inch-800x1280.h"
Mipi_Tx::Mipi_Tx() {}
Mipi_Tx *Mipi_Tx::getInstance() {
static Mipi_Tx self;
return &self;
}
bool Mipi_Tx::startMipiTx(VO_INTF_SYNC_E voIntfSync) {
... | 19.961538 | 58 | 0.716763 | kinglee1982 |
91ed58a6dc446a8afb77af133372d237d2d746b1 | 912 | cpp | C++ | Sorting and Searching/array_division.cpp | vjerin/CSES-Problem-Set | 68070812fa1d27e4653f58dcdabed56188a45110 | [
"Apache-2.0"
] | null | null | null | Sorting and Searching/array_division.cpp | vjerin/CSES-Problem-Set | 68070812fa1d27e4653f58dcdabed56188a45110 | [
"Apache-2.0"
] | 10 | 2020-10-02T10:28:22.000Z | 2020-10-09T18:30:56.000Z | Sorting and Searching/array_division.cpp | vjerin/CSES-Problem-Set | 68070812fa1d27e4653f58dcdabed56188a45110 | [
"Apache-2.0"
] | 10 | 2020-10-02T11:16:32.000Z | 2020-10-08T18:31:18.000Z | #include <bits/stdc++.h>
#define int long long
#define MOD 1000000007
using namespace std;
void solve() {
int n, k;
cin >> n >> k;
int x[n];
int sum = 0;
for(int i = 0; i < n; i++) {
cin >> x[i];
sum += x[i];
}
int l = sum / k, h = sum;
int m, ans = l;
while(l ... | 16.581818 | 41 | 0.326754 | vjerin |
91ef65ef4bbd6f4410d4498335a0703839a5517b | 3,829 | inl | C++ | src/core/reflection/include/meta_struct.inl | Caravetta/Engine | 6e2490a68727dc731b466335499f3204490acc5f | [
"MIT"
] | 2 | 2018-05-21T02:12:50.000Z | 2019-04-23T20:56:00.000Z | src/core/reflection/include/meta_struct.inl | Caravetta/Engine | 6e2490a68727dc731b466335499f3204490acc5f | [
"MIT"
] | 12 | 2018-05-30T13:15:25.000Z | 2020-02-02T21:29:42.000Z | src/core/reflection/include/meta_struct.inl | Caravetta/Engine | 6e2490a68727dc731b466335499f3204490acc5f | [
"MIT"
] | 2 | 2018-06-14T19:03:29.000Z | 2018-12-30T07:37:22.000Z | #include "crc32.h"
#include "reflection_system.h"
namespace Engine {
#define GET_FIELD_OFFSET( __struct, __field ) (uint32_t) (uintptr_t) &( ((__struct*)NULL)->*__field)
template<class T>
void Meta_Struct::create( Meta_Struct const*& meta_struct, const char* name, const char* base_name )
{
Meta_Struct* tmp_str... | 30.149606 | 118 | 0.702533 | Caravetta |
91f41160c9460d2c15cc16e05173d23c1ac4c4ec | 1,240 | cpp | C++ | openscenario/openscenario_interpreter/src/syntax/private.cpp | autocore-ai/scenario_simulator_v2 | bb9569043e20649f0e4390e9225b6bb7b4de10b6 | [
"Apache-2.0"
] | null | null | null | openscenario/openscenario_interpreter/src/syntax/private.cpp | autocore-ai/scenario_simulator_v2 | bb9569043e20649f0e4390e9225b6bb7b4de10b6 | [
"Apache-2.0"
] | null | null | null | openscenario/openscenario_interpreter/src/syntax/private.cpp | autocore-ai/scenario_simulator_v2 | bb9569043e20649f0e4390e9225b6bb7b4de10b6 | [
"Apache-2.0"
] | null | null | null | // Copyright 2015-2021 Tier IV, 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 by app... | 32.631579 | 75 | 0.740323 | autocore-ai |
91f8143416a80a857972acd1a1917719b6d7f0bd | 13,256 | cc | C++ | chromium/ui/views/animation/ink_drop_animation_unittest.cc | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | 27 | 2016-04-27T01:02:03.000Z | 2021-12-13T08:53:19.000Z | chromium/ui/views/animation/ink_drop_animation_unittest.cc | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | 2 | 2017-03-09T09:00:50.000Z | 2017-09-21T15:48:20.000Z | chromium/ui/views/animation/ink_drop_animation_unittest.cc | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | 17 | 2016-04-27T02:06:39.000Z | 2019-12-18T08:07:00.000Z | // Copyright 2015 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.
#ifndef UI_VIEWS_ANIMATION_INK_DROP_ANIMATION_UNITTEST_H_
#define UI_VIEWS_ANIMATION_INK_DROP_ANIMATION_UNITTEST_H_
#include "base/macros.h"
#include "ba... | 43.462295 | 80 | 0.759128 | wedataintelligence |
91fba7fbcbec3c3c1017da674cf1f51386ef9ded | 806 | cpp | C++ | Recursion and Backtracking/AllIndicesOfX.cpp | Ankitlenka26/IP2021 | 99322c9c84a8a9c9178a505afbffdcebd312b059 | [
"MIT"
] | null | null | null | Recursion and Backtracking/AllIndicesOfX.cpp | Ankitlenka26/IP2021 | 99322c9c84a8a9c9178a505afbffdcebd312b059 | [
"MIT"
] | null | null | null | Recursion and Backtracking/AllIndicesOfX.cpp | Ankitlenka26/IP2021 | 99322c9c84a8a9c9178a505afbffdcebd312b059 | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
using namespace std;
vector<int> *allIndices(vector<int> arr, int x, int idx, int fsf)
{
if (idx == arr.size())
{
vector<int> *res = new vector<int>(fsf);
return res;
}
if (arr[idx] == x)
{
vector<int> *iarr = allIndices(arr, x, idx + 1... | 17.521739 | 65 | 0.46402 | Ankitlenka26 |
91fd3fe0219c586b1d4a975467d4a9e5a93d7ec9 | 5,625 | cpp | C++ | Src/Files/MXFileMap.cpp | L-Spiro/MhsX | 9cc71fbbac93ba54a01839db129cd9b47a68f29e | [
"BSD-2-Clause"
] | 19 | 2016-09-07T18:22:09.000Z | 2022-03-25T23:05:39.000Z | Src/Files/MXFileMap.cpp | L-Spiro/MhsX | 9cc71fbbac93ba54a01839db129cd9b47a68f29e | [
"BSD-2-Clause"
] | 1 | 2021-09-30T14:24:54.000Z | 2021-11-13T14:58:02.000Z | Src/Files/MXFileMap.cpp | L-Spiro/MhsX | 9cc71fbbac93ba54a01839db129cd9b47a68f29e | [
"BSD-2-Clause"
] | 5 | 2018-04-10T16:52:25.000Z | 2021-05-11T02:40:17.000Z | #include "MXFileMap.h"
#include "../System/MXSystem.h"
#include <algorithm>
// == Macros.
#define MX_MAP_BUF_SIZE static_cast<UINT64>(mx::CSystem::GetSystemInfo().dwAllocationGranularity * 64)
namespace mx {
CFileMap::CFileMap() :
m_hFile( INVALID_HANDLE_VALUE ),
m_hMap( INVALID_HANDLE_VALUE ),
m_pbMapBuff... | 29.605263 | 125 | 0.692622 | L-Spiro |
620288765be66bd87d59f31ce83df1017554225f | 515 | cc | C++ | src/Plugin.cc | corelight/zeek-macho | 85367ecec91eee906a13c244e01fb758db9a762a | [
"BSD-3-Clause"
] | 5 | 2019-12-13T21:09:20.000Z | 2020-04-03T05:47:37.000Z | src/Plugin.cc | corelight/zeek-macho | 85367ecec91eee906a13c244e01fb758db9a762a | [
"BSD-3-Clause"
] | null | null | null | src/Plugin.cc | corelight/zeek-macho | 85367ecec91eee906a13c244e01fb758db9a762a | [
"BSD-3-Clause"
] | 2 | 2019-12-13T21:09:24.000Z | 2020-02-16T13:46:05.000Z |
#include "Plugin.h"
#include "macho.h"
namespace plugin { namespace Zeek_MACHO { Plugin plugin; } }
using namespace plugin::Zeek_MACHO;
plugin::Configuration Plugin::Configure()
{
AddComponent(new ::file_analysis::Component("MACHO", ::file_analysis::MACHO::Instantiate));
plugin::Configuration config;
... | 25.75 | 95 | 0.68932 | corelight |
62048ec0f66798a11c8ae21b2073fe539bef4a1a | 3,216 | cpp | C++ | src/ExtentInsideNode.cpp | whuang022nccu/IndriLab | 24d13dca14c7c447a4acedb45d7d1ef83551f6ac | [
"Apache-2.0"
] | 2 | 2020-02-16T07:46:47.000Z | 2020-11-23T06:50:19.000Z | src/ExtentInsideNode.cpp | whuang022nccu/IndriLab | 24d13dca14c7c447a4acedb45d7d1ef83551f6ac | [
"Apache-2.0"
] | null | null | null | src/ExtentInsideNode.cpp | whuang022nccu/IndriLab | 24d13dca14c7c447a4acedb45d7d1ef83551f6ac | [
"Apache-2.0"
] | null | null | null | /*==========================================================================
* Copyright (c) 2004 University of Massachusetts. All Rights Reserved.
*
* Use of the Lemur Toolkit for Language Modeling and Information Retrieval
* is subject to the terms of the software license set forth in the LICENSE
* file include... | 34.212766 | 140 | 0.666045 | whuang022nccu |
620ca58597396c4be1b5a8cc354ce29c2941f132 | 274 | hpp | C++ | include/server/http/compression_type.hpp | EricWang1hitsz/osrm-backend | ff1af413d6c78f8e454584fe978d5468d984d74a | [
"BSD-2-Clause"
] | 4,526 | 2015-01-01T15:31:00.000Z | 2022-03-31T17:33:49.000Z | include/server/http/compression_type.hpp | wsx9527/osrm-backend | 1e70b645e480946dad313b67f6a7d331baecfe3c | [
"BSD-2-Clause"
] | 4,497 | 2015-01-01T15:29:12.000Z | 2022-03-31T19:19:35.000Z | include/server/http/compression_type.hpp | wsx9527/osrm-backend | 1e70b645e480946dad313b67f6a7d331baecfe3c | [
"BSD-2-Clause"
] | 3,023 | 2015-01-01T18:40:53.000Z | 2022-03-30T13:30:46.000Z | #ifndef COMPRESSION_TYPE_HPP
#define COMPRESSION_TYPE_HPP
namespace osrm
{
namespace server
{
namespace http
{
enum compression_type
{
no_compression,
gzip_rfc1952,
deflate_rfc1951
};
}
} // namespace server
} // namespace osrm
#endif // COMPRESSION_TYPE_HPP
| 12.454545 | 30 | 0.755474 | EricWang1hitsz |
620d975f95ed00e1af3139341fe73dce7c471020 | 1,459 | cc | C++ | src/arc036/b.cc | nryotaro/at_c | 8d7d3aecb4e3c768aefdf0ceaeefb269ca9ab34c | [
"MIT"
] | null | null | null | src/arc036/b.cc | nryotaro/at_c | 8d7d3aecb4e3c768aefdf0ceaeefb269ca9ab34c | [
"MIT"
] | null | null | null | src/arc036/b.cc | nryotaro/at_c | 8d7d3aecb4e3c768aefdf0ceaeefb269ca9ab34c | [
"MIT"
] | null | null | null | #ifdef _debug
#define _GLIBCXX_DEBUG
#endif
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int peek(int start, vector<ll> &h, vector<ll> &down) {
ll m = h[start];
int index = start + 1;
while(index < (int)h.size()) {
if(m > h[index]) {
m = h[index];
inde... | 21.144928 | 75 | 0.42769 | nryotaro |
620f8d9df58ef05e0fa03a8ff474ac4aa81876ca | 499 | cpp | C++ | 007-Reverse-Integer/solution.cpp | johnhany/leetcode | 453a86ac16360e44893262e04f77fd350d1e80f2 | [
"Apache-2.0"
] | 3 | 2019-05-27T06:47:32.000Z | 2020-12-22T05:57:10.000Z | 007-Reverse-Integer/solution.cpp | johnhany/leetcode | 453a86ac16360e44893262e04f77fd350d1e80f2 | [
"Apache-2.0"
] | null | null | null | 007-Reverse-Integer/solution.cpp | johnhany/leetcode | 453a86ac16360e44893262e04f77fd350d1e80f2 | [
"Apache-2.0"
] | 5 | 2020-04-01T10:26:04.000Z | 2022-02-05T18:21:01.000Z | #include "solution.hpp"
#include <limits.h>
static auto x = []() {
// turn off sync
std::ios::sync_with_stdio(false);
// untie in/out streams
cin.tie(NULL);
return 0;
}();
int Solution::reverse(int x) {
int y = 0;
int sign = x > 0 ? 1 : -1;
x *= sign;
int tmp, new_y;
while (x) {
tmp = x... | 16.096774 | 35 | 0.513026 | johnhany |
62105e35a225e3ba313c25872bce921d49d03304 | 5,362 | hh | C++ | jpeg.hh | nurettin/libnuwen | 5b3012d9e75552c372a4d09b218b7af04a928e68 | [
"BSL-1.0"
] | 9 | 2019-09-17T10:33:58.000Z | 2021-07-29T10:03:42.000Z | jpeg.hh | nurettin/libnuwen | 5b3012d9e75552c372a4d09b218b7af04a928e68 | [
"BSL-1.0"
] | null | null | null | jpeg.hh | nurettin/libnuwen | 5b3012d9e75552c372a4d09b218b7af04a928e68 | [
"BSL-1.0"
] | 1 | 2019-10-05T04:31:22.000Z | 2019-10-05T04:31:22.000Z | // Copyright Stephan T. Lavavej, http://nuwen.net .
// Distributed under the Boost Software License, Version 1.0.
// See accompanying file LICENSE_1_0.txt or copy at
// http://boost.org/LICENSE_1_0.txt .
#ifndef PHAM_JPEG_HH
#define PHAM_JPEG_HH
#include "compiler.hh"
#ifdef NUWEN_PLATFORM_MSVC
#pragma once
#end... | 31.727811 | 137 | 0.666729 | nurettin |
62127681cd9acbe8377127c01db5943dc704cf63 | 2,246 | cpp | C++ | applications/physbam/physbam-lib/Public_Library/PhysBAM_Dynamics/Particles/FLUID_PARTICLES.cpp | schinmayee/nimbus | 170cd15e24a7a88243a6ea80aabadc0fc0e6e177 | [
"BSD-3-Clause"
] | 20 | 2017-07-03T19:09:09.000Z | 2021-09-10T02:53:56.000Z | applications/physbam/physbam-lib/Public_Library/PhysBAM_Dynamics/Particles/FLUID_PARTICLES.cpp | schinmayee/nimbus | 170cd15e24a7a88243a6ea80aabadc0fc0e6e177 | [
"BSD-3-Clause"
] | null | null | null | applications/physbam/physbam-lib/Public_Library/PhysBAM_Dynamics/Particles/FLUID_PARTICLES.cpp | schinmayee/nimbus | 170cd15e24a7a88243a6ea80aabadc0fc0e6e177 | [
"BSD-3-Clause"
] | 9 | 2017-09-17T02:05:06.000Z | 2020-01-31T00:12:01.000Z | //#####################################################################
// Copyright 2011, Wen Zheng.
// This file is part of PhysBAM whose distribution is governed by the license contained in the accompanying file PHYSBAM_COPYRIGHT.txt.
//#####################################################################
#include <... | 48.826087 | 145 | 0.610864 | schinmayee |
6215da75e5af5b8ace5786fc03f34f5472061835 | 10,498 | cpp | C++ | examples/tessellation/tessellation.cpp | harskish/Vulkan | 25be6e4fda8b0d16875a55a1a476209305d4a983 | [
"MIT"
] | 318 | 2016-05-30T18:53:13.000Z | 2022-03-23T19:09:57.000Z | examples/tessellation/tessellation.cpp | harskish/Vulkan | 25be6e4fda8b0d16875a55a1a476209305d4a983 | [
"MIT"
] | 47 | 2016-06-04T20:53:27.000Z | 2020-12-21T17:14:21.000Z | examples/tessellation/tessellation.cpp | harskish/Vulkan | 25be6e4fda8b0d16875a55a1a476209305d4a983 | [
"MIT"
] | 35 | 2016-06-08T11:05:02.000Z | 2021-07-26T17:26:36.000Z | /*
* Vulkan Example - Tessellation shader PN triangles
*
* Based on http://alex.vlachos.com/graphics/CurvedPNTriangles.pdf
* Shaders based on http://onrendering.blogspot.de/2011/12/tessellation-on-gpu-curved-pn-triangles.html
*
* Copyright (C) 2016 by Sascha Willems - www.saschawillems.de
*
* This code is licensed unde... | 41.494071 | 153 | 0.672795 | harskish |
621dd17616a19e6c168e308708aae90df1cc581d | 2,342 | cpp | C++ | tests/flvstream_unittest.cpp | plonk/peercast-0.1218 | 30fc2401dc798336429a979fe7aaca8883e63ed9 | [
"PSF-2.0",
"Apache-2.0",
"OpenSSL",
"MIT"
] | 28 | 2017-04-30T13:56:13.000Z | 2022-03-20T06:54:37.000Z | tests/flvstream_unittest.cpp | plonk/peercast-0.1218 | 30fc2401dc798336429a979fe7aaca8883e63ed9 | [
"PSF-2.0",
"Apache-2.0",
"OpenSSL",
"MIT"
] | 72 | 2017-04-25T03:42:58.000Z | 2021-12-04T06:35:28.000Z | tests/flvstream_unittest.cpp | plonk/peercast-0.1218 | 30fc2401dc798336429a979fe7aaca8883e63ed9 | [
"PSF-2.0",
"Apache-2.0",
"OpenSSL",
"MIT"
] | 12 | 2017-04-16T06:25:24.000Z | 2021-07-07T13:28:27.000Z | #include <gtest/gtest.h>
#include "flv.h"
#include "amf0.h"
class FLVStreamFixture : public ::testing::Test {
public:
FLVStreamFixture()
{
}
void SetUp()
{
}
void TearDown()
{
}
~FLVStreamFixture()
{
}
};
TEST_F(FLVStreamFixture, readMetaData_commonCase)
{
std::... | 21.099099 | 100 | 0.60205 | plonk |
62261d6120f78d8884b5feef2b8fd8606c40a360 | 559 | hh | C++ | example/include/core/capture/real_sense/Image.hh | thingthing/smart-agent | f4c41432b1bab3283b00237b0208676acb0a00b1 | [
"MIT"
] | null | null | null | example/include/core/capture/real_sense/Image.hh | thingthing/smart-agent | f4c41432b1bab3283b00237b0208676acb0a00b1 | [
"MIT"
] | null | null | null | example/include/core/capture/real_sense/Image.hh | thingthing/smart-agent | f4c41432b1bab3283b00237b0208676acb0a00b1 | [
"MIT"
] | null | null | null | #ifndef _IMAGE_HH_
#define _IMAGE_HH_
class Image
{
public:
Image(const uint8_t* rgb_image, size_t height, size_t width,
double fx, double fy, double cx, double cy, const float *disto)
: _rgb(rgb_image), _height(height), _width(width),
_fx(fx), _fy(fy), _cx(cx), _cy(cy), _disto(disto) {}
~Image() {}
privat... | 18.633333 | 65 | 0.67263 | thingthing |
622698bb9f169f8bf37060908f246b14927b1b47 | 11,535 | cpp | C++ | iceoryx_utils/test/moduletests/test_cxx_convert.cpp | Karsten1987/iceoryx | e5c23eaf5c351ef0095e43673282867b8d060026 | [
"Apache-2.0"
] | 2 | 2019-11-04T05:02:53.000Z | 2019-11-04T05:19:20.000Z | iceoryx_utils/test/moduletests/test_cxx_convert.cpp | Karsten1987/iceoryx | e5c23eaf5c351ef0095e43673282867b8d060026 | [
"Apache-2.0"
] | null | null | null | iceoryx_utils/test/moduletests/test_cxx_convert.cpp | Karsten1987/iceoryx | e5c23eaf5c351ef0095e43673282867b8d060026 | [
"Apache-2.0"
] | null | null | null | // Copyright (c) 2019 by Robert Bosch GmbH. 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... | 30.196335 | 99 | 0.705678 | Karsten1987 |
6229fd95e90e5a7f6062a97a2c0b9c8e009c4995 | 180 | cc | C++ | src/itensor/mps/localmpo_mps.h.cc | kyungminlee/PiTensor | f206fe5a384b52336e9f406c11dc492ff129791b | [
"MIT"
] | 10 | 2019-01-25T03:21:49.000Z | 2020-01-19T04:42:32.000Z | src/itensor/mps/localmpo_mps.h.cc | kyungminlee/PiTensor | f206fe5a384b52336e9f406c11dc492ff129791b | [
"MIT"
] | null | null | null | src/itensor/mps/localmpo_mps.h.cc | kyungminlee/PiTensor | f206fe5a384b52336e9f406c11dc492ff129791b | [
"MIT"
] | 2 | 2018-04-10T05:11:30.000Z | 2018-09-14T08:16:07.000Z | #include "../../pitensor.h"
#include "itensor/mps/localmpo_mps.h"
namespace py = pybind11;
using namespace itensor;
void pitensor::mps::localmpo_mps(pybind11::module& module) {
}
| 22.5 | 60 | 0.738889 | kyungminlee |
622c4465d2aa95da144bc5be4ded2c438d6b31ac | 10,927 | cc | C++ | components/security_state/content/content_utils_unittest.cc | google-ar/chromium | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 777 | 2017-08-29T15:15:32.000Z | 2022-03-21T05:29:41.000Z | components/security_state/content/content_utils_unittest.cc | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 66 | 2017-08-30T18:31:18.000Z | 2021-08-02T10:59:35.000Z | components/security_state/content/content_utils_unittest.cc | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 123 | 2017-08-30T01:19:34.000Z | 2022-03-17T22:55:31.000Z | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/security_state/content/content_utils.h"
#include "base/command_line.h"
#include "base/test/histogram_tester.h"
#include "components/... | 44.238866 | 79 | 0.800037 | google-ar |
622d7f4740081bae21c38f9e4a9304521d17d46b | 6,542 | cpp | C++ | 0-frameworks/hcs/example/hetero_tasks/hetero_tasks.cpp | cjmcv/cuda | 04fcf80bd32a2909a232cfe532e24bbe6932ac10 | [
"Apache-2.0"
] | 34 | 2018-01-06T13:32:00.000Z | 2021-12-22T03:16:01.000Z | 0-frameworks/hcs/example/hetero_tasks/hetero_tasks.cpp | cjmcv/cuda | 04fcf80bd32a2909a232cfe532e24bbe6932ac10 | [
"Apache-2.0"
] | null | null | null | 0-frameworks/hcs/example/hetero_tasks/hetero_tasks.cpp | cjmcv/cuda | 04fcf80bd32a2909a232cfe532e24bbe6932ac10 | [
"Apache-2.0"
] | 4 | 2019-03-11T14:55:13.000Z | 2021-12-22T03:16:03.000Z | //#define HETERO_TASKS
#ifdef HETERO_TASKS
#include <thread>
#include <cuda_runtime.h>
#include "device_launch_parameters.h"
#include "hcs/executor.hpp"
#include "hcs/profiler.hpp"
extern int CallGemmGPU(const int M, const int N,
const int K, const float alpha,
const float... | 28.567686 | 128 | 0.572608 | cjmcv |
622dadbe497fbff44ca9d45118bcd93a6ab74f1b | 21,442 | hpp | C++ | source/RD/Engine/Engine.hpp | RobertDamerius/GroundControlStation | 7f0d896bd56e5ea0ee02d5738c2b497dc2956c2f | [
"MIT"
] | 1 | 2021-12-26T12:48:18.000Z | 2021-12-26T12:48:18.000Z | source/RD/Engine/Engine.hpp | RobertDamerius/GroundControlStation | 7f0d896bd56e5ea0ee02d5738c2b497dc2956c2f | [
"MIT"
] | null | null | null | source/RD/Engine/Engine.hpp | RobertDamerius/GroundControlStation | 7f0d896bd56e5ea0ee02d5738c2b497dc2956c2f | [
"MIT"
] | 1 | 2021-12-26T12:48:25.000Z | 2021-12-26T12:48:25.000Z | /**
* @file Engine.hpp
* @brief The engine header.
* @details Version 20210203.
* The OpenGL headers should be included in the following way:
* #define GLEW_STATIC
* #include <GL/glew.h>
* #ifdef _WIN32
* #define GLFW_EXPOSE_NATIVE_WGL
* #define GLFW_EXPOSE_NATIVE_WIN32
* #endif
*... | 52.425428 | 251 | 0.623962 | RobertDamerius |
622e0dbff83d5e823a76f4fa0834f1b206977408 | 2,207 | hh | C++ | src/include/Token.hh | websurfer5/json-schema-enforcer | 99211a602b1c8177d9f9e67cd7773015f74a4080 | [
"Apache-2.0"
] | null | null | null | src/include/Token.hh | websurfer5/json-schema-enforcer | 99211a602b1c8177d9f9e67cd7773015f74a4080 | [
"Apache-2.0"
] | null | null | null | src/include/Token.hh | websurfer5/json-schema-enforcer | 99211a602b1c8177d9f9e67cd7773015f74a4080 | [
"Apache-2.0"
] | null | null | null | // Token.hh
//
// Copyright 2018 Jeffrey Kintscher <websurfer@surf2c.net>
//
// 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
//... | 32.455882 | 100 | 0.643407 | websurfer5 |
622e51fd945b9b7d4a4d3781848b739be83df8a4 | 728 | cpp | C++ | src/engines/ioda/src/ioda/C/String_c.cpp | NOAA-EMC/ioda | 366ce1aa4572dde7f3f15862a2970f3dd3c82369 | [
"Apache-2.0"
] | 1 | 2021-06-09T16:11:50.000Z | 2021-06-09T16:11:50.000Z | src/engines/ioda/src/ioda/C/String_c.cpp | NOAA-EMC/ioda | 366ce1aa4572dde7f3f15862a2970f3dd3c82369 | [
"Apache-2.0"
] | null | null | null | src/engines/ioda/src/ioda/C/String_c.cpp | NOAA-EMC/ioda | 366ce1aa4572dde7f3f15862a2970f3dd3c82369 | [
"Apache-2.0"
] | 3 | 2021-06-09T16:12:02.000Z | 2021-11-14T09:19:25.000Z | /*
* (C) Copyright 2020-2021 UCAR
*
* This software is licensed under the terms of the Apache Licence Version 2.0
* which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
*/
/*! \addtogroup ioda_string
* @{
* \file String_c.cpp
* \brief @link ioda_string C bindings @endlink. Needed for reads.
*/
... | 20.8 | 78 | 0.651099 | NOAA-EMC |
622ebf7562d5cf93bb2cde67f1a33f516bcb3d0c | 7,017 | hpp | C++ | src/io.hpp | jewettaij/calc_writhe | 018ee05d802b7bf51182a8f7cb70b67194a09aba | [
"MIT"
] | null | null | null | src/io.hpp | jewettaij/calc_writhe | 018ee05d802b7bf51182a8f7cb70b67194a09aba | [
"MIT"
] | 1 | 2021-03-24T20:59:10.000Z | 2021-03-24T20:59:10.000Z | src/io.hpp | jewettaij/calc_writhe | 018ee05d802b7bf51182a8f7cb70b67194a09aba | [
"MIT"
] | null | null | null | /// @file io.hpp
/// @brief A series of (arguably unnecessary) functions that
/// read strings and numbers from a file.
/// @date 2007-4-13
#ifndef _IO_HPP
#define _IO_HPP
#include <iostream>
#include <fstream>
#include <sstream>
#include <cstdlib>
#include <cstring>
using namespace std;
#include "e... | 24.882979 | 77 | 0.601254 | jewettaij |
622f49a80f31a99c173edbdef5a20effd5e494c9 | 695 | cpp | C++ | client/client_main.cpp | aejaz83/asio_server | 6b9bfbb9ca6954694ea08bfca0a9b1f4cf8741b4 | [
"BSL-1.0"
] | null | null | null | client/client_main.cpp | aejaz83/asio_server | 6b9bfbb9ca6954694ea08bfca0a9b1f4cf8741b4 | [
"BSL-1.0"
] | null | null | null | client/client_main.cpp | aejaz83/asio_server | 6b9bfbb9ca6954694ea08bfca0a9b1f4cf8741b4 | [
"BSL-1.0"
] | null | null | null | /*
* Author: Aehjaj Ahmed P
* Date: 1-July-2019
*/
#include <iostream>
#include <boost/asio.hpp>
#include "tcp_client.hpp"
using boost::asio::ip::tcp;
int main(int argc, char* argv[]){
try{
if(argc != 3){
std::cerr << "Usage: tcp_client <host> <port>\n";
return -1;
}
boost::asi... | 23.166667 | 58 | 0.58705 | aejaz83 |
623162bdc12f37fa04c30d884b5be1c9e6d218a7 | 6,540 | cpp | C++ | jni/WiEngine_binding/tmx/com_wiyun_engine_tmx_TMXTileMap.cpp | zchajax/WiEngine | ea2fa297f00aa5367bb5b819d6714ac84a8a8e25 | [
"MIT"
] | 39 | 2015-01-23T10:01:31.000Z | 2021-06-10T03:01:18.000Z | jni/WiEngine_binding/tmx/com_wiyun_engine_tmx_TMXTileMap.cpp | luckypen/WiEngine | 7e80641fe15a77a2fc43db90f15dad6aa2c2860a | [
"MIT"
] | 1 | 2015-04-15T08:07:47.000Z | 2015-04-15T08:07:47.000Z | jni/WiEngine_binding/tmx/com_wiyun_engine_tmx_TMXTileMap.cpp | luckypen/WiEngine | 7e80641fe15a77a2fc43db90f15dad6aa2c2860a | [
"MIT"
] | 20 | 2015-01-20T07:36:10.000Z | 2019-09-15T01:02:19.000Z | #include "com_wiyun_engine_tmx_TMXTileMap.h"
#include "wyTMXTileMap.h"
#include "wyUtils_android.h"
#include "wyLog.h"
extern jfieldID g_fid_BaseObject_mPointer;
JNIEXPORT void JNICALL Java_com_wiyun_engine_tmx_TMXTileMap_nativeInit__I_3Lcom_wiyun_engine_opengl_Texture2D_2
(JNIEnv * env, jobject thiz, jint ... | 40.875 | 131 | 0.761927 | zchajax |
62343debc4ea5eca48577fbaf39775d7dfdd40b5 | 589 | hpp | C++ | Kernel/syscalls.hpp | foragerDev/GevOS | f21c8432dd63ab583d9132422bf313ebf60557e8 | [
"Unlicense"
] | null | null | null | Kernel/syscalls.hpp | foragerDev/GevOS | f21c8432dd63ab583d9132422bf313ebf60557e8 | [
"Unlicense"
] | null | null | null | Kernel/syscalls.hpp | foragerDev/GevOS | f21c8432dd63ab583d9132422bf313ebf60557e8 | [
"Unlicense"
] | null | null | null | #ifndef SYSCALLS_HPP
#define SYSCALLS_HPP
#include "Exec/loader.hpp"
#include "Filesystem/vfs.hpp"
#include "Hardware/Drivers/keyboard.hpp"
#include "Hardware/Drivers/pcspk.hpp"
#include "Hardware/interrupts.hpp"
#include "LibC/stdio.hpp"
#include "LibC/types.hpp"
#include "Mem/mm.hpp"
#include "multitasking.hpp"
#inc... | 22.653846 | 80 | 0.765705 | foragerDev |
6235100d8a62afc4deceb7f0ff0b06a387c102eb | 2,782 | cpp | C++ | src/test/evo_utils_tests.cpp | thelazier/dash | 22a24ab5b7b42d06a78d8fd092c3351bdf5aafdd | [
"MIT"
] | null | null | null | src/test/evo_utils_tests.cpp | thelazier/dash | 22a24ab5b7b42d06a78d8fd092c3351bdf5aafdd | [
"MIT"
] | null | null | null | src/test/evo_utils_tests.cpp | thelazier/dash | 22a24ab5b7b42d06a78d8fd092c3351bdf5aafdd | [
"MIT"
] | null | null | null | // Copyright (c) 2022 The Dash Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <test/util/setup_common.h>
#include <llmq/utils.h>
#include <llmq/params.h>
#include <chainparams.h>
#include <validation... | 54.54902 | 144 | 0.81596 | thelazier |
62361cc16c9ad5370189225d5253bad12c1f6e7f | 12,672 | hpp | C++ | src/cpp_lib/statistics/StatsTracker.hpp | hitbc/panSV | 273b13bf496593325778d926f763bed6d2de5be2 | [
"MIT"
] | null | null | null | src/cpp_lib/statistics/StatsTracker.hpp | hitbc/panSV | 273b13bf496593325778d926f763bed6d2de5be2 | [
"MIT"
] | null | null | null | src/cpp_lib/statistics/StatsTracker.hpp | hitbc/panSV | 273b13bf496593325778d926f763bed6d2de5be2 | [
"MIT"
] | 1 | 2021-09-25T10:35:46.000Z | 2021-09-25T10:35:46.000Z | /*
* StatsTracker.hpp
*
* Created on: 2020年5月1日
* Author: fenghe
*/
#pragma once
#include<iostream>
#include <cstring>
#include <cassert>
#include <functional>
#include <iosfwd>
#include <map>
#include <vector>
extern "C" {
#include "../clib/bam_file.h"
}
/****************PART ONE: Size Distribution*****... | 29.746479 | 141 | 0.716461 | hitbc |
623661ec178cc62d5bcb82821a7df2c701681e03 | 2,113 | hpp | C++ | sandbox/usda/lexy/validate.hpp | fire/tinyusdz | 2a98a12d0c6f34de8d7a219e5f82135e9beb4376 | [
"MIT"
] | 159 | 2020-04-14T15:59:35.000Z | 2022-03-31T14:19:05.000Z | sandbox/usda/lexy/validate.hpp | fire/tinyusdz | 2a98a12d0c6f34de8d7a219e5f82135e9beb4376 | [
"MIT"
] | 16 | 2020-05-21T06:00:40.000Z | 2022-02-26T08:50:33.000Z | sandbox/usda/lexy/validate.hpp | fire/tinyusdz | 2a98a12d0c6f34de8d7a219e5f82135e9beb4376 | [
"MIT"
] | 8 | 2020-07-01T04:13:42.000Z | 2022-01-30T17:50:52.000Z | // Copyright (C) 2020 Jonathan Müller <jonathanmueller.dev@gmail.com>
// This file is subject to the license terms in the LICENSE file
// found in the top-level directory of this distribution.
#ifndef LEXY_VALIDATE_HPP_INCLUDED
#define LEXY_VALIDATE_HPP_INCLUDED
#include <lexy/callback.hpp>
#include <lexy/dsl/base.hp... | 30.185714 | 95 | 0.667771 | fire |
9a8c2ad6d0efc11cc202d34e128a113821525368 | 2,940 | cpp | C++ | Engine/ac/dynobj/cc_agsdynamicobject.cpp | proteanblank/ags | 025640c60dbf77d84d213d3994ebcc6600979476 | [
"Artistic-2.0"
] | null | null | null | Engine/ac/dynobj/cc_agsdynamicobject.cpp | proteanblank/ags | 025640c60dbf77d84d213d3994ebcc6600979476 | [
"Artistic-2.0"
] | null | null | null | Engine/ac/dynobj/cc_agsdynamicobject.cpp | proteanblank/ags | 025640c60dbf77d84d213d3994ebcc6600979476 | [
"Artistic-2.0"
] | null | null | null | //=============================================================================
//
// Adventure Game Studio (AGS)
//
// Copyright (C) 1999-2011 Chris Jones and 2011-20xx others
// The full list of copyright holders can be found in the Copyright.txt
// file, which is part of this source code distribution.
//
// The AGS ... | 31.276596 | 97 | 0.679252 | proteanblank |
9a8c5628500474c3eb9bef147aaf32e1d349a862 | 935 | cpp | C++ | src/macro/macro203.cpp | chennachaos/stabfem | b3d1f44c45e354dc930203bda22efc800c377c6f | [
"MIT"
] | null | null | null | src/macro/macro203.cpp | chennachaos/stabfem | b3d1f44c45e354dc930203bda22efc800c377c6f | [
"MIT"
] | null | null | null | src/macro/macro203.cpp | chennachaos/stabfem | b3d1f44c45e354dc930203bda22efc800c377c6f | [
"MIT"
] | null | null | null | #include "Macro.h"
#include "DomainTree.h"
#include "StandardFEM.h"
extern DomainTree domain;
int macro203(Macro ¯o)
{
if (!macro)
{
macro.name = "erro";
macro.type = "chen";
macro.what = " Compute Error Norm ";
macro.sensitivity[INTER] = true;
macro.sensitivity[BATCH]... | 18.333333 | 101 | 0.517647 | chennachaos |
9a8ced79843ca7f82f63b1cd0046cfb6efaa5937 | 1,105 | hpp | C++ | source/Input/Mapper.hpp | kurocha/input | 619cbe901ebb2cfd9dd97235d30e596edc96aa14 | [
"MIT",
"Unlicense"
] | null | null | null | source/Input/Mapper.hpp | kurocha/input | 619cbe901ebb2cfd9dd97235d30e596edc96aa14 | [
"MIT",
"Unlicense"
] | null | null | null | source/Input/Mapper.hpp | kurocha/input | 619cbe901ebb2cfd9dd97235d30e596edc96aa14 | [
"MIT",
"Unlicense"
] | null | null | null | //
// Mapper.hpp
// This file is part of the "Input" project and released under the MIT License.
//
// Created by Samuel Williams on 23/2/2019.
// Copyright, 2019, by Samuel Williams. All rights reserved.
//
#pragma once
#include <unordered_map>
namespace Input
{
template <typename ActionT>
class Mapper {
pro... | 19.051724 | 80 | 0.630769 | kurocha |
9a8d5e604c6c9b2f1d4a8aecd6d8b8757fa165a7 | 4,853 | cpp | C++ | src/HashGenerator.cpp | kyberdrb/duplicate_finder | 4971830082b0248d2f5b434f1cdb53eb3da39b6d | [
"CC0-1.0"
] | null | null | null | src/HashGenerator.cpp | kyberdrb/duplicate_finder | 4971830082b0248d2f5b434f1cdb53eb3da39b6d | [
"CC0-1.0"
] | null | null | null | src/HashGenerator.cpp | kyberdrb/duplicate_finder | 4971830082b0248d2f5b434f1cdb53eb3da39b6d | [
"CC0-1.0"
] | null | null | null | #include "HashGenerator.h"
#include "openssl/sha.h"
#include <array>
#include <vector>
#include <fstream>
#include <iomanip>
#include <sstream>
// TODO maybe template this, or abstract this into virtual functions, according to the algorithm type - tested on SHA1 with SHA_CTX and with SHA256 with SHA256_CTX
// - ma... | 43.720721 | 437 | 0.712343 | kyberdrb |
9a901d305711cf12167bd8866b489ce1e756f783 | 4,969 | cpp | C++ | tuw_multi_robot_test/src/goal_generator.cpp | JakubHazik/tuw_multi_robot | 9c5c8a2ed87e0bf6f9a573e38b4d5790dfc25aba | [
"BSD-3-Clause"
] | null | null | null | tuw_multi_robot_test/src/goal_generator.cpp | JakubHazik/tuw_multi_robot | 9c5c8a2ed87e0bf6f9a573e38b4d5790dfc25aba | [
"BSD-3-Clause"
] | null | null | null | tuw_multi_robot_test/src/goal_generator.cpp | JakubHazik/tuw_multi_robot | 9c5c8a2ed87e0bf6f9a573e38b4d5790dfc25aba | [
"BSD-3-Clause"
] | null | null | null | #include <ros/ros.h>
#include <iostream>
#include <sstream>
#include <fstream>
#include <string>
#include <cmath>
#include <geometry_msgs/Pose.h>
#include <geometry_msgs/PoseStamped.h>
#include <nav_msgs/Odometry.h>
#include <tf/transform_datatypes.h>
#include <tf/transform_listener.h>
#include <std_msgs/Bool.h>
#inclu... | 29.229412 | 177 | 0.674784 | JakubHazik |
9a93b9f0558350f01e0429a0954ddcd5a9f2caa1 | 1,323 | cpp | C++ | src/wolf3d_shaders/ws_shaders.cpp | Daivuk/wolf3d-shaders | 0f3c0ab82422d068f6440af6649603774f0543b2 | [
"DOC",
"Unlicense"
] | 5 | 2019-09-14T14:08:46.000Z | 2021-04-27T11:21:43.000Z | src/wolf3d_shaders/ws_shaders.cpp | Daivuk/wolf3d-shaders | 0f3c0ab82422d068f6440af6649603774f0543b2 | [
"DOC",
"Unlicense"
] | null | null | null | src/wolf3d_shaders/ws_shaders.cpp | Daivuk/wolf3d-shaders | 0f3c0ab82422d068f6440af6649603774f0543b2 | [
"DOC",
"Unlicense"
] | 1 | 2019-10-19T04:19:46.000Z | 2019-10-19T04:19:46.000Z | #include "ws.h"
static void checkShader(GLuint handle)
{
GLint bResult;
glGetShaderiv(handle, GL_COMPILE_STATUS, &bResult);
if (bResult == GL_FALSE)
{
GLchar infoLog[1024];
glGetShaderInfoLog(handle, 1023, NULL, infoLog);
Quit((char *)(std::string("shader compile faile... | 30.767442 | 103 | 0.664399 | Daivuk |
9a97c9bb78b98356e6c59f1881cc8cbd28877248 | 29,999 | cc | C++ | libs/core/tests/Logging/LogTest.cc | v8App/v8App | 96c5278ae9078d508537f2e801b9ba0272ab1168 | [
"MIT"
] | null | null | null | libs/core/tests/Logging/LogTest.cc | v8App/v8App | 96c5278ae9078d508537f2e801b9ba0272ab1168 | [
"MIT"
] | null | null | null | libs/core/tests/Logging/LogTest.cc | v8App/v8App | 96c5278ae9078d508537f2e801b9ba0272ab1168 | [
"MIT"
] | null | null | null | // Copyright 2020 The v8App Authors. All rights reserved.
// Use of this source code is governed by a MIT license that can be
// found in the LICENSE file.
#include "gtest/gtest.h"
#include "gmock/gmock.h"
#include "Logging/Log.h"
#include "Logging/ILogSink.h"
#include "Logging/LogMacros.h"
#include "TestLogSink.h"
n... | 34.923166 | 160 | 0.555852 | v8App |
9a97eb315751fbcc82f4df4a2637e3039cea497e | 706 | hpp | C++ | srcs/deque/common.hpp | tristiisch/containers_test | 5a4a0c098b69e79fa62348074ca0ccaeda5dde73 | [
"MIT"
] | null | null | null | srcs/deque/common.hpp | tristiisch/containers_test | 5a4a0c098b69e79fa62348074ca0ccaeda5dde73 | [
"MIT"
] | null | null | null | srcs/deque/common.hpp | tristiisch/containers_test | 5a4a0c098b69e79fa62348074ca0ccaeda5dde73 | [
"MIT"
] | null | null | null | #include "../base.hpp"
#if !defined(USING_STD)
# include "deque.hpp"
#else
# include <deque>
#endif /* !defined(STD) */
template <typename T>
void printSize(TESTED_NAMESPACE::deque<T> const &deq, bool print_content = 1)
{
std::cout << "size: " << deq.size() << std::endl;
std::cout << "max_size: " << deq.max_size() <... | 30.695652 | 77 | 0.575071 | tristiisch |
9a9ae4d19d7c9dacabe4dacbf24219d9ea5e3e0b | 907 | cpp | C++ | Plugins/StoryGraphPlugin/Source/StoryGraphPluginEditor/Commands_StoryGraph.cpp | Xian-Yun-Jun/StoryGraph | 36b4a9a24e86e963b1d1d61d4fd5bdfe2eabef9b | [
"MIT"
] | 126 | 2016-12-24T13:58:18.000Z | 2022-03-10T03:20:47.000Z | Plugins/StoryGraphPlugin/Source/StoryGraphPluginEditor/Commands_StoryGraph.cpp | Xian-Yun-Jun/StoryGraph | 36b4a9a24e86e963b1d1d61d4fd5bdfe2eabef9b | [
"MIT"
] | 5 | 2017-01-05T08:23:30.000Z | 2018-01-30T19:38:33.000Z | Plugins/StoryGraphPlugin/Source/StoryGraphPluginEditor/Commands_StoryGraph.cpp | Xian-Yun-Jun/StoryGraph | 36b4a9a24e86e963b1d1d61d4fd5bdfe2eabef9b | [
"MIT"
] | 45 | 2016-12-25T02:21:45.000Z | 2022-02-14T16:06:58.000Z | // Copyright 2016 Dmitriy Pavlov
#include "Commands_StoryGraph.h"
void FCommands_StoryGraph::RegisterCommands()
{
#define LOCTEXT_NAMESPACE "Commands_StoryGraphCommands"
UI_COMMAND(CheckObjects, "Check Objects", "Check Objects", EUserInterfaceActionType::Button, FInputChord());
UI_COMMAND(SaveAsset, "Save Asset"... | 47.736842 | 130 | 0.790518 | Xian-Yun-Jun |
9a9bf1f263300b076fa07a5f58592f044b637a84 | 687 | cpp | C++ | src/Games/TicTacToe/ActGens/DefaultActGen.cpp | ClubieDong/BoardGameAI | 588506278f606fa6bef2864875bf8f78557ef03b | [
"MIT"
] | 2 | 2021-05-26T07:17:24.000Z | 2021-05-26T07:21:16.000Z | src/Games/TicTacToe/ActGens/DefaultActGen.cpp | ClubieDong/ChessAI | 588506278f606fa6bef2864875bf8f78557ef03b | [
"MIT"
] | null | null | null | src/Games/TicTacToe/ActGens/DefaultActGen.cpp | ClubieDong/ChessAI | 588506278f606fa6bef2864875bf8f78557ef03b | [
"MIT"
] | null | null | null | #include "DefaultActGen.hpp"
#include <cassert>
namespace tictactoe
{
bool DefaultActGen::NextAction(const ActGenDataBase *, ActionBase &_act) const
{
// Assert and convert polymorphic types
assert(_act.GetGameType() == GameType::TicTacToe);
auto &act = dynamic_cast<Action &>(_act);
... | 25.444444 | 82 | 0.512373 | ClubieDong |
9a9f4a5d68efc52dedec28e95460c67e41801baa | 1,990 | cpp | C++ | tree_traversal.cpp | ivan18m/cpp-practice | 1e9ae7d55a77f72a297e1ceb69fadf1cc4e7dfc6 | [
"BSD-3-Clause"
] | null | null | null | tree_traversal.cpp | ivan18m/cpp-practice | 1e9ae7d55a77f72a297e1ceb69fadf1cc4e7dfc6 | [
"BSD-3-Clause"
] | null | null | null | tree_traversal.cpp | ivan18m/cpp-practice | 1e9ae7d55a77f72a297e1ceb69fadf1cc4e7dfc6 | [
"BSD-3-Clause"
] | null | null | null | /**
* @file tree_traversal.cpp
* @author Ivan Mercep
* @brief
* This program contains_
* Binary Tree traversal methods: preorder, inorder, postorder.
* Functions to print and swap the binary tree.
* @version 0.1
* @date 2021-09-06
*
* @copyright Copyright (c) 2021
*
*/
#include <iostream>
struct Node
{
... | 17.155172 | 63 | 0.556281 | ivan18m |
9aa555ee9e29a90c226a3125471700e640942b3e | 5,415 | hpp | C++ | include/RootMotion/FinalIK/FullBodyBipedIK.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | include/RootMotion/FinalIK/FullBodyBipedIK.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | include/RootMotion/FinalIK/FullBodyBipedIK.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
// Including type: RootMotion.FinalIK.IK
#include "RootMotion/FinalIK/IK.hpp"
#include "... | 44.752066 | 180 | 0.708218 | darknight1050 |
9aaa45337a7ce537f2c6b688feefc10d63137e47 | 7,836 | cxx | C++ | HLT/TPCLib/HWCFemulator/AliHLTTPCHWCFEmulator.cxx | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 52 | 2016-12-11T13:04:01.000Z | 2022-03-11T11:49:35.000Z | HLT/TPCLib/HWCFemulator/AliHLTTPCHWCFEmulator.cxx | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 1,388 | 2016-11-01T10:27:36.000Z | 2022-03-30T15:26:09.000Z | HLT/TPCLib/HWCFemulator/AliHLTTPCHWCFEmulator.cxx | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 275 | 2016-06-21T20:24:05.000Z | 2022-03-31T13:06:19.000Z | // $Id$
//****************************************************************************
//* This file is property of and copyright by the ALICE HLT Project *
//* ALICE Experiment at CERN, All rights reserved. *
//* ... | 33.20339 | 117 | 0.662711 | AllaMaevskaya |
9ab275d54314d22f77d0f51a27d325d4d8fa4bd0 | 1,145 | cpp | C++ | ToneArmEngine/OpenGLTransparencyPass.cpp | Mertank/ToneArm | 40c62b0de89ac506bea6674e43578bf4e2631f93 | [
"Zlib",
"BSD-2-Clause"
] | null | null | null | ToneArmEngine/OpenGLTransparencyPass.cpp | Mertank/ToneArm | 40c62b0de89ac506bea6674e43578bf4e2631f93 | [
"Zlib",
"BSD-2-Clause"
] | null | null | null | ToneArmEngine/OpenGLTransparencyPass.cpp | Mertank/ToneArm | 40c62b0de89ac506bea6674e43578bf4e2631f93 | [
"Zlib",
"BSD-2-Clause"
] | null | null | null | /*
========================
Copyright (c) 2014 Vinyl Games Studio
OpenGLTransparencyPass
Created by: Karl Merten
Created on: 04/08/2014
========================
*/
#include "OpenGLTransparencyPass.h"
#include "Renderable.h"
#include <GL\glew.h>
namespace vgs {
OpenGLTransparencyPass* OpenGLTransparencyPass::C... | 20.087719 | 93 | 0.710917 | Mertank |
9ab2bfe0ca0c8426bbb87ec3b8e09cf5ca11a1e1 | 2,232 | cpp | C++ | cpp/08/ex01/span.cpp | maxdesalle/libft | 8845656e1f5cc1fec052cf97fc8f5839b2b590a8 | [
"Unlicense"
] | 3 | 2021-01-06T13:50:12.000Z | 2022-02-28T09:16:15.000Z | cpp/08/ex01/span.cpp | maxdesalle/libft | 8845656e1f5cc1fec052cf97fc8f5839b2b590a8 | [
"Unlicense"
] | null | null | null | cpp/08/ex01/span.cpp | maxdesalle/libft | 8845656e1f5cc1fec052cf97fc8f5839b2b590a8 | [
"Unlicense"
] | 1 | 2020-11-23T12:58:18.000Z | 2020-11-23T12:58:18.000Z | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* span.cpp :+: :+: :+: ... | 24.26087 | 86 | 0.396953 | maxdesalle |
9ab314bae0d3a200154af32ea00979a680320027 | 2,140 | cpp | C++ | src/emitter/area.cpp | abroun/psdr-cuda | bbccc01f8bb91f387d495fbfd0a8ba0093f298de | [
"BSD-3-Clause"
] | 80 | 2020-12-07T04:29:34.000Z | 2022-03-31T08:05:37.000Z | src/emitter/area.cpp | abroun/psdr-cuda | bbccc01f8bb91f387d495fbfd0a8ba0093f298de | [
"BSD-3-Clause"
] | 18 | 2021-07-26T06:08:42.000Z | 2022-03-16T20:32:53.000Z | src/emitter/area.cpp | abroun/psdr-cuda | bbccc01f8bb91f387d495fbfd0a8ba0093f298de | [
"BSD-3-Clause"
] | 8 | 2021-06-02T06:52:05.000Z | 2022-02-11T21:03:42.000Z | #include <misc/Exception.h>
#include <psdr/core/frame.h>
#include <psdr/core/intersection.h>
#include <psdr/shape/mesh.h>
#include <psdr/emitter/area.h>
namespace psdr
{
void AreaLight::configure() {
PSDR_ASSERT((m_mesh != nullptr) && m_mesh->m_ready);
PSDR_ASSERT(slices(m_radiance) == 1U);
m_sampling_we... | 29.722222 | 123 | 0.729907 | abroun |
9ab6050d91788b2c220a11836a9567221406df6f | 5,520 | cpp | C++ | src/avalanche/math_ops/MatMul.cpp | kpot/avalanche | 4bfa6f66a5610d3619414e374d77eae2edcb8b20 | [
"MIT"
] | 6 | 2019-02-02T22:35:03.000Z | 2022-02-28T20:15:48.000Z | src/avalanche/math_ops/MatMul.cpp | kpot/avalanche | 4bfa6f66a5610d3619414e374d77eae2edcb8b20 | [
"MIT"
] | null | null | null | src/avalanche/math_ops/MatMul.cpp | kpot/avalanche | 4bfa6f66a5610d3619414e374d77eae2edcb8b20 | [
"MIT"
] | 1 | 2020-08-04T21:32:35.000Z | 2020-08-04T21:32:35.000Z | #include "clblast.h"
#include "avalanche/base_ops_nodes.h"
#include "avalanche/opencl_utils.h"
#include "avalanche/math_ops/messages.h"
#include "avalanche/macroses.h"
#include "avalanche/casting.h"
#include "avalanche/math_ops/MatMul.h"
namespace avalanche {
MatMul::MatMul(const NodeRef &left, const NodeRef &right... | 39.148936 | 88 | 0.605072 | kpot |
9abc64573b83e2dd51fd9bbc4cd10c7dd3a0b0b4 | 78 | cpp | C++ | sem11-mmap-instrumentation/ub.cpp | karmashka/caos_2019-2020 | ecfeb944a6a8d8392ac05e833d0d77cafdd3e88d | [
"MIT"
] | 32 | 2019-10-04T20:02:32.000Z | 2020-07-21T17:18:06.000Z | sem11-mmap-instrumentation/ub.cpp | karmashka/caos_2019-2020 | ecfeb944a6a8d8392ac05e833d0d77cafdd3e88d | [
"MIT"
] | 2 | 2020-04-05T12:52:13.000Z | 2020-05-04T23:42:02.000Z | sem11-mmap-instrumentation/ub.cpp | karmashka/caos_2019-2020 | ecfeb944a6a8d8392ac05e833d0d77cafdd3e88d | [
"MIT"
] | 10 | 2020-09-03T17:25:42.000Z | 2022-02-18T23:36:51.000Z | // %%cpp ub.cpp
int main(int argc, char** argv) {
return -argc << 31;
}
| 11.142857 | 33 | 0.538462 | karmashka |
9abe9a4e62c41a2cf187b1940fe6d37969a3bf51 | 4,709 | cpp | C++ | cpp/pipesquare/pipesquare.cpp | jakvrh1/paralelni-milkshake | 42b8151482b0e831ab1f2f6058cd389193372022 | [
"MIT"
] | null | null | null | cpp/pipesquare/pipesquare.cpp | jakvrh1/paralelni-milkshake | 42b8151482b0e831ab1f2f6058cd389193372022 | [
"MIT"
] | null | null | null | cpp/pipesquare/pipesquare.cpp | jakvrh1/paralelni-milkshake | 42b8151482b0e831ab1f2f6058cd389193372022 | [
"MIT"
] | null | null | null | /**
* Uporaba cevovoda s štirimi stopnjami;
* posamezno stopnjo lahko opravlja več niti
*/
#include <iostream>
#include <random>
#include <pthread.h>
#include <unistd.h>
#include "../input.hpp"
#include "../rle.hpp"
#include "../huffman.hpp"
#include "../output.hpp"
#include "../stream.hpp"
#define REPS 1000
#de... | 27.219653 | 116 | 0.661712 | jakvrh1 |
9ac1b7250246294f2497523086d456027f7f9314 | 19,860 | cpp | C++ | Samples/Win7Samples/netds/wirelessdiagnostics/WlExtHC.cpp | windows-development/Windows-classic-samples | 96f883e4c900948e39660ec14a200a5164a3c7b7 | [
"MIT"
] | 8 | 2017-04-30T17:38:27.000Z | 2021-11-29T00:59:03.000Z | Samples/Win7Samples/netds/wirelessdiagnostics/WlExtHC.cpp | TomeSq/Windows-classic-samples | 96f883e4c900948e39660ec14a200a5164a3c7b7 | [
"MIT"
] | null | null | null | Samples/Win7Samples/netds/wirelessdiagnostics/WlExtHC.cpp | TomeSq/Windows-classic-samples | 96f883e4c900948e39660ec14a200a5164a3c7b7 | [
"MIT"
] | 2 | 2020-08-11T13:21:49.000Z | 2021-09-01T10:41:51.000Z | // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
//
// Copyright (C) 2006 Microsoft Corporation. All Rights Reserved.
//
// Module:... | 23.146853 | 126 | 0.512739 | windows-development |
9acd71e8de724a3ce78857d7a32b50b495be5614 | 858 | cpp | C++ | outbound_place/src/mosaic.cpp | ManuelBeschi/manipulation | 0caddd6dc78dc6d00a39b2e674093d1eafdc7221 | [
"BSD-3-Clause"
] | null | null | null | outbound_place/src/mosaic.cpp | ManuelBeschi/manipulation | 0caddd6dc78dc6d00a39b2e674093d1eafdc7221 | [
"BSD-3-Clause"
] | null | null | null | outbound_place/src/mosaic.cpp | ManuelBeschi/manipulation | 0caddd6dc78dc6d00a39b2e674093d1eafdc7221 | [
"BSD-3-Clause"
] | 1 | 2021-03-12T09:50:37.000Z | 2021-03-12T09:50:37.000Z | #include <ros/ros.h>
#include <outbound_place/outbound_mosaic.h>
#include <moveit_msgs/GetPlanningScene.h>
int main(int argc, char **argv)
{
ros::init(argc, argv, "outbound_mosaic");
ros::NodeHandle nh;
ros::NodeHandle pnh("~");
ros::ServiceClient ps_client=nh.serviceClient<moveit_msgs::GetPlanningScene>("/g... | 22.578947 | 102 | 0.693473 | ManuelBeschi |
9acff9eb651719e76456180855e61aded949fd78 | 33,501 | cpp | C++ | av/media/libstagefright/codecs/avc/enc/src/header.cpp | Keneral/aframeworks | af1d0010bfb88751837fb1afc355705bd8a9ad8b | [
"Unlicense"
] | 10 | 2020-04-17T04:02:36.000Z | 2021-11-23T11:38:42.000Z | av/media/libstagefright/codecs/avc/enc/src/header.cpp | Keneral/aframeworks | af1d0010bfb88751837fb1afc355705bd8a9ad8b | [
"Unlicense"
] | 3 | 2020-02-19T16:53:25.000Z | 2021-04-29T07:28:40.000Z | av/media/libstagefright/codecs/avc/enc/src/header.cpp | Keneral/aframeworks | af1d0010bfb88751837fb1afc355705bd8a9ad8b | [
"Unlicense"
] | 5 | 2019-12-25T04:05:02.000Z | 2022-01-14T16:57:55.000Z | /* ------------------------------------------------------------------
* Copyright (C) 1998-2009 PacketVideo
*
* 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... | 36.493464 | 156 | 0.591624 | Keneral |
9ad1d5d732e096c5ce1dfba081bf6fde98c5a130 | 3,713 | cpp | C++ | src/navigation/camera.cpp | h4k1m0u/first-person-shooter | b1e60d77edb3144daf252f65c28a340aa63e6945 | [
"MIT"
] | null | null | null | src/navigation/camera.cpp | h4k1m0u/first-person-shooter | b1e60d77edb3144daf252f65c28a340aa63e6945 | [
"MIT"
] | null | null | null | src/navigation/camera.cpp | h4k1m0u/first-person-shooter | b1e60d77edb3144daf252f65c28a340aa63e6945 | [
"MIT"
] | null | null | null | #include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/constants.hpp>
#include <algorithm>
#include <iostream>
#include "navigation/camera.hpp"
// not declared as private members as constants cause class's implicit copy-constructor to be deleted (prevents re-assignment)
// movement constants
const float SPEED = 0.... | 35.361905 | 126 | 0.699973 | h4k1m0u |
9ad2e36a016ddc139c298b984b4c0c4d6e1d7c53 | 10,937 | hpp | C++ | external/boost_1_60_0/qsboost/preprocessor/slot/detail/slot3.hpp | wouterboomsma/quickstep | a33447562eca1350c626883f21c68125bd9f776c | [
"MIT"
] | 1 | 2019-06-27T17:54:13.000Z | 2019-06-27T17:54:13.000Z | external/boost_1_60_0/qsboost/preprocessor/slot/detail/slot3.hpp | wouterboomsma/quickstep | a33447562eca1350c626883f21c68125bd9f776c | [
"MIT"
] | null | null | null | external/boost_1_60_0/qsboost/preprocessor/slot/detail/slot3.hpp | wouterboomsma/quickstep | a33447562eca1350c626883f21c68125bd9f776c | [
"MIT"
] | null | null | null | # /* **************************************************************************
# * *
# * (C) Copyright Paul Mensonides 2002.
# * Distributed under the Boost Software License, Version 1.0. (See
# * accompanying file LICENSE_1_0.txt... | 40.809701 | 324 | 0.782481 | wouterboomsma |
9ad3840865e3e2067328758f90a58750f42428df | 45,140 | cpp | C++ | wbs/src/Basic/UtilMath.cpp | RNCan/WeatherBasedSimulationFramework | 19df207d11b1dddf414d78e52bece77f31d45df8 | [
"MIT"
] | 6 | 2017-05-26T21:19:41.000Z | 2021-09-03T14:17:29.000Z | wbs/src/Basic/UtilMath.cpp | RNCan/WeatherBasedSimulationFramework | 19df207d11b1dddf414d78e52bece77f31d45df8 | [
"MIT"
] | 5 | 2016-02-18T12:39:58.000Z | 2016-03-13T12:57:45.000Z | wbs/src/Basic/UtilMath.cpp | RNCan/WeatherBasedSimulationFramework | 19df207d11b1dddf414d78e52bece77f31d45df8 | [
"MIT"
] | 1 | 2019-06-16T02:49:20.000Z | 2019-06-16T02:49:20.000Z | //******************************************************************************
// project: Weather-based simulation framework (WBSF)
// Programmer: Rémi Saint-Amant
//
// It under the terms of the GNU General Public License as published by
// the Free Software Foundation
// It is provided "as is" ... | 27.407407 | 176 | 0.554741 | RNCan |
9ad6a8505f14e03c3def5a20acdd37af0be43ce6 | 2,092 | cpp | C++ | test/TestHelpers/ClangCompileHelper.cpp | ptensschi/CppUMockGen | d11f12297688f99863238b263f241b6e3ac66dfd | [
"BSD-3-Clause"
] | null | null | null | test/TestHelpers/ClangCompileHelper.cpp | ptensschi/CppUMockGen | d11f12297688f99863238b263f241b6e3ac66dfd | [
"BSD-3-Clause"
] | null | null | null | test/TestHelpers/ClangCompileHelper.cpp | ptensschi/CppUMockGen | d11f12297688f99863238b263f241b6e3ac66dfd | [
"BSD-3-Clause"
] | 1 | 2019-01-10T20:36:24.000Z | 2019-01-10T20:36:24.000Z | #include "ClangCompileHelper.hpp"
#include "ClangHelper.hpp"
#include <iostream>
bool ClangCompileHelper::CheckCompilation( const std::string &testedHeader, const std::string &testedSource )
{
#ifdef DISABLE_COMPILATION_CHECK
return true;
#else
CXIndex index = clang_createIndex( 0, 0 );
const char* clangO... | 34.295082 | 121 | 0.5674 | ptensschi |
9ad71a08b9b66a7fd19a1b166b84d41e177fb8f0 | 5,249 | hpp | C++ | uwc_common/uwc_util/include/ZmqHandler.hpp | aditisa1/uwc | 637b3888bb617b4f44c4818d4d62d5c822cd683d | [
"MIT"
] | 4 | 2021-07-16T23:03:56.000Z | 2021-10-21T19:04:12.000Z | uwc_common/uwc_util/include/ZmqHandler.hpp | aditisa1/uwc | 637b3888bb617b4f44c4818d4d62d5c822cd683d | [
"MIT"
] | 24 | 2021-07-23T15:49:18.000Z | 2022-03-30T18:24:51.000Z | uwc_common/uwc_util/include/ZmqHandler.hpp | vanidesai/uwc | 637b3888bb617b4f44c4818d4d62d5c822cd683d | [
"MIT"
] | 7 | 2021-07-22T08:55:52.000Z | 2022-02-07T08:56:40.000Z | /********************************************************************************
* Copyright (c) 2021 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,... | 36.451389 | 119 | 0.714803 | aditisa1 |
9adbde8d8df6929094dbf124677a1d4183c57238 | 3,073 | cpp | C++ | Publications/DPC++/Ch14_common_parallel_patterns/fig_14_18-20_inclusive_scan.cpp | tiwaria1/oneAPI-samples | 18310adf63c7780715f24034acfb0bf01d15521f | [
"MIT"
] | 310 | 2020-07-09T01:00:11.000Z | 2022-03-31T17:52:14.000Z | Publications/DPC++/Ch14_common_parallel_patterns/fig_14_18-20_inclusive_scan.cpp | tiwaria1/oneAPI-samples | 18310adf63c7780715f24034acfb0bf01d15521f | [
"MIT"
] | 438 | 2020-06-30T23:25:19.000Z | 2022-03-31T00:37:13.000Z | Publications/DPC++/Ch14_common_parallel_patterns/fig_14_18-20_inclusive_scan.cpp | junxnone/oneAPI-samples | f414747b5676688d690655c6043b71577027fc19 | [
"MIT"
] | 375 | 2020-06-04T22:58:24.000Z | 2022-03-30T11:04:18.000Z | // Copyright (C) 2020 Intel Corporation
// SPDX-License-Identifier: MIT
#include <CL/sycl.hpp>
#include <algorithm>
#include <cstdio>
#include <cstdlib>
#include <iostream>
#include <numeric>
#include <random>
using namespace sycl;
template <typename T, int dimensions>
using local_accessor =
accessor<T, dimensi... | 27.19469 | 77 | 0.5685 | tiwaria1 |
9adc96be6da2e72d5bbd72bc81c6703360f88afa | 2,076 | cpp | C++ | code/random/functions.cpp | adm244/mwsilver | d88ebb240095f0bd0adfe3cc983fa504d974ba83 | [
"Unlicense"
] | null | null | null | code/random/functions.cpp | adm244/mwsilver | d88ebb240095f0bd0adfe3cc983fa504d974ba83 | [
"Unlicense"
] | null | null | null | code/random/functions.cpp | adm244/mwsilver | d88ebb240095f0bd0adfe3cc983fa504d974ba83 | [
"Unlicense"
] | null | null | null | /*
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
In jurisdictions that recognize copy... | 28.054054 | 71 | 0.753854 | adm244 |
9ae01cf510cfe3101db22d06c44216aaff943420 | 7,302 | cc | C++ | centreon-engine/tests/test_engine.cc | centreon/centreon-collect | e63fc4d888a120d588a93169e7d36b360616bdee | [
"Unlicense"
] | 8 | 2020-07-26T09:12:02.000Z | 2022-03-30T17:24:29.000Z | centreon-engine/tests/test_engine.cc | centreon/centreon-collect | e63fc4d888a120d588a93169e7d36b360616bdee | [
"Unlicense"
] | 47 | 2020-06-18T12:11:37.000Z | 2022-03-16T10:28:56.000Z | centreon-engine/tests/test_engine.cc | centreon/centreon-collect | e63fc4d888a120d588a93169e7d36b360616bdee | [
"Unlicense"
] | 5 | 2020-06-29T14:22:02.000Z | 2022-03-17T10:34:10.000Z | /*
* Copyright 2019 Centreon (https://www.centreon.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.0
*
* Unless required by applica... | 34.937799 | 80 | 0.717338 | centreon |
9ae1a107777ee6b083cecdb1b1d22f709516f306 | 406 | cpp | C++ | admin/snapin/certmgr/snapmgr.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | admin/snapin/certmgr/snapmgr.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | admin/snapin/certmgr/snapmgr.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, 1997-2001.
//
// File: SnapMgr.cpp
//
// Contents: implementation file for Snapin Manager property page
//
//
//-------------------------------------------... | 23.882353 | 79 | 0.376847 | npocmaka |
9aea51745f3235fd439cd911bbe86c13eca10d38 | 12,965 | cpp | C++ | winmisc/shared/plugin.winmisc.cpp | ggcrunchy/solar2d-plugins | c3c9f41659ea64a1b04f992c3ca4b8549aa0dbe1 | [
"MIT"
] | 12 | 2020-05-04T08:49:04.000Z | 2021-12-30T09:35:17.000Z | winmisc/shared/plugin.winmisc.cpp | ggcrunchy/solar2d-plugins | c3c9f41659ea64a1b04f992c3ca4b8549aa0dbe1 | [
"MIT"
] | null | null | null | winmisc/shared/plugin.winmisc.cpp | ggcrunchy/solar2d-plugins | c3c9f41659ea64a1b04f992c3ca4b8549aa0dbe1 | [
"MIT"
] | 3 | 2021-02-19T18:39:02.000Z | 2022-03-09T17:14:57.000Z | /*
* 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,
* distribute, sublicense, and/or sell c... | 30.650118 | 101 | 0.514925 | ggcrunchy |
9aeccd7619f02a5e8ac6121283591e62a7483674 | 4,694 | cpp | C++ | ardupilot/ArduCopter/esc_calibration.cpp | quadrotor-IITKgp/emulate_GPS | 3c888d5b27b81fb17e74d995370f64bdb110fb65 | [
"MIT"
] | 1 | 2021-07-17T11:37:16.000Z | 2021-07-17T11:37:16.000Z | ardupilot/ArduCopter/esc_calibration.cpp | arl-kgp/emulate_GPS | 3c888d5b27b81fb17e74d995370f64bdb110fb65 | [
"MIT"
] | null | null | null | ardupilot/ArduCopter/esc_calibration.cpp | arl-kgp/emulate_GPS | 3c888d5b27b81fb17e74d995370f64bdb110fb65 | [
"MIT"
] | null | null | null | // -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#include "Copter.h"
/*****************************************************************************
* esc_calibration.pde : functions to check and perform ESC calibration
**********************************************************************... | 30.679739 | 99 | 0.618662 | quadrotor-IITKgp |
9af0e6da4690501ad32249fcdf44fc6f93b6266d | 861 | hpp | C++ | src/main/linux_verifier.hpp | NickCao/ebpf-verifier | ccbfd158ca2b4c24b91c235ce21a1fbd192d458e | [
"Apache-2.0",
"MIT"
] | null | null | null | src/main/linux_verifier.hpp | NickCao/ebpf-verifier | ccbfd158ca2b4c24b91c235ce21a1fbd192d458e | [
"Apache-2.0",
"MIT"
] | null | null | null | src/main/linux_verifier.hpp | NickCao/ebpf-verifier | ccbfd158ca2b4c24b91c235ce21a1fbd192d458e | [
"Apache-2.0",
"MIT"
] | null | null | null | // Copyright (c) Prevail Verifier contributors.
// SPDX-License-Identifier: MIT
#pragma once
#include "platform.hpp"
#if __linux__
#include "etl/tuple.h"
#include "etl/vector.h"
#include "asm_syntax.hpp"
#include "spec_type_descriptors.hpp"
#include "linux/gpl/spec_type_descriptors.hpp"
#include "ebpf_vm_isa.hpp"
... | 29.689655 | 158 | 0.779326 | NickCao |
9af2ffea551526586de0251519d1ae9fac9ae037 | 587 | cpp | C++ | String/MaximumOccurence.cpp | sanp9/DSA-Questions | f265075b83f66ec696576be3eaa5517ee387d5cf | [
"MIT"
] | null | null | null | String/MaximumOccurence.cpp | sanp9/DSA-Questions | f265075b83f66ec696576be3eaa5517ee387d5cf | [
"MIT"
] | null | null | null | String/MaximumOccurence.cpp | sanp9/DSA-Questions | f265075b83f66ec696576be3eaa5517ee387d5cf | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
using namespace std;
void maxOccur(string str)
{
int freq[26] = {0};
char ans = 'a';
int maxF = 0;
for (int i = 0; i < str.length(); i++)
{
freq[str[i] - 'a']++;
} // for maintaining the count of occurrences of characters
for (int i = 0; i < 2... | 15.447368 | 63 | 0.46678 | sanp9 |
9af63fd957bf2a9c951afd6267b2a04f4f4752b2 | 8,407 | cpp | C++ | binding-cpp/runtime/src/test/common/EtchHashTableTest.cpp | apache/etch | 5a875755019a7f342a07c8c368a50e3efb6ae68c | [
"ECL-2.0",
"Apache-2.0"
] | 9 | 2015-02-14T15:09:54.000Z | 2021-11-10T15:09:45.000Z | binding-cpp/runtime/src/test/common/EtchHashTableTest.cpp | apache/etch | 5a875755019a7f342a07c8c368a50e3efb6ae68c | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | binding-cpp/runtime/src/test/common/EtchHashTableTest.cpp | apache/etch | 5a875755019a7f342a07c8c368a50e3efb6ae68c | [
"ECL-2.0",
"Apache-2.0"
] | 14 | 2015-04-20T10:35:00.000Z | 2021-11-10T15:09:35.000Z | /* $Id$
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to you under the Apache License, Version
* 2.0 (the "License"); y... | 26.190031 | 165 | 0.689782 | apache |
9af73ce4c787f073abdfd54bc2461d8070e92fe4 | 5,009 | cpp | C++ | Visual Studio 2010/Projects/bjarneStroustrupC++PartIII/bjarneStroustrupC++PartIII/Chapter17Exercise13Def.cpp | Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup- | 6fd64801863e883508f15d16398744405f4f9e34 | [
"Unlicense"
] | 9 | 2018-10-24T15:16:47.000Z | 2021-12-14T13:53:50.000Z | Visual Studio 2010/Projects/bjarneStroustrupC++PartIII/bjarneStroustrupC++PartIII/Chapter17Exercise13Def.cpp | ChrisBKirov/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup- | 6fd64801863e883508f15d16398744405f4f9e34 | [
"Unlicense"
] | null | null | null | Visual Studio 2010/Projects/bjarneStroustrupC++PartIII/bjarneStroustrupC++PartIII/Chapter17Exercise13Def.cpp | ChrisBKirov/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup- | 6fd64801863e883508f15d16398744405f4f9e34 | [
"Unlicense"
] | 7 | 2018-10-29T15:30:37.000Z | 2021-01-18T15:15:09.000Z | /*
TITLE Linked list Chapter17Exercise13.cpp
"Bjarne Stroustrup "C++ Programming: Principles and Practice.""
COMMENT
Objcective: Modify Link to include struct God,
containing members of type string:
name, mythology, vehicle, weapon.
Write: print_all(), add_ordered() functions.
... | 15.555901 | 80 | 0.489918 | Ziezi |
9af9f58090a73a97ed73dde269039e1b91b34a4f | 253 | cpp | C++ | src/rick/RickState.cpp | ZZBGames/games | 8da707b0beb38aa4308dde1ce70ebe38fd82003a | [
"MIT"
] | null | null | null | src/rick/RickState.cpp | ZZBGames/games | 8da707b0beb38aa4308dde1ce70ebe38fd82003a | [
"MIT"
] | null | null | null | src/rick/RickState.cpp | ZZBGames/games | 8da707b0beb38aa4308dde1ce70ebe38fd82003a | [
"MIT"
] | null | null | null | //
// Created by mathbagu on 19/03/16.
//
#include <zzbgames/rick/RickState.hpp>
namespace zzbgames
{
namespace rick
{
RickState::RickState(RickStateStack& stateStack, RickContext& context)
: State(stateStack),
m_context(context)
{
}
}
} | 12.047619 | 70 | 0.699605 | ZZBGames |
9afaa845542f25886c2843e813a355e93dc14bad | 2,637 | hpp | C++ | libsynthpp/src/LSP/MIDI/Messages/BasicMessage.hpp | my04337/libsynthpp | 99584d0e568e6c92a5c298d4fdcde277fe7511f1 | [
"MIT"
] | 1 | 2018-01-31T14:02:32.000Z | 2018-01-31T14:02:32.000Z | libsynthpp/src/LSP/MIDI/Messages/BasicMessage.hpp | my04337/libsynthpp | 99584d0e568e6c92a5c298d4fdcde277fe7511f1 | [
"MIT"
] | 1 | 2018-02-21T02:33:47.000Z | 2018-02-21T02:36:23.000Z | libsynthpp/src/LSP/MIDI/Messages/BasicMessage.hpp | my04337/libsynthpp | 99584d0e568e6c92a5c298d4fdcde277fe7511f1 | [
"MIT"
] | 1 | 2018-02-20T05:30:52.000Z | 2018-02-20T05:30:52.000Z | #pragma once
#include <LSP/Base/Base.hpp>
#include <LSP/MIDI/Message.hpp>
namespace LSP::MIDI::Messages
{
/// ノートオン
class NoteOn
: public ChannelVoiceMessage
{
public:
NoteOn(uint8_t ch, uint8_t noteNo, uint8_t vel)
: mChannel(ch), mNoteNo(noteNo), mVelocity(vel)
{}
uint8_t channel()const noexcept override f... | 19.977273 | 69 | 0.740235 | my04337 |
9afc1a96924b965c5593c598045877e39440a6ed | 511 | cpp | C++ | 2021/day24/tests/TestClass.cpp | alexandru-andronache/adventofcode | ee41d82bae8b705818fda5bd43e9962bb0686fec | [
"Apache-2.0"
] | 3 | 2021-07-01T14:31:06.000Z | 2022-03-29T20:41:21.000Z | 2021/day24/tests/TestClass.cpp | alexandru-andronache/adventofcode | ee41d82bae8b705818fda5bd43e9962bb0686fec | [
"Apache-2.0"
] | null | null | null | 2021/day24/tests/TestClass.cpp | alexandru-andronache/adventofcode | ee41d82bae8b705818fda5bd43e9962bb0686fec | [
"Apache-2.0"
] | null | null | null | #include "TestClass.h"
#include "../test.h"
namespace aoc2021_day24 {
TEST_F(Tests2021Day24, part_1_test) {
ASSERT_EQ(part_1("../2021/day24/input_test.in"), 0);
}
TEST_F(Tests2021Day24, part_1_real_test) {
ASSERT_EQ(part_1("../2021/day24/input.in"), 0);
}
TEST_F(Tests2021Day24, pa... | 25.55 | 60 | 0.632094 | alexandru-andronache |
9aff74edeb68c2441c3d1ca7b99dd3393f623d08 | 2,466 | hpp | C++ | libbio/include/bio/gpu/gpu_TransactionTypes.hpp | biosphere-switch/libbio | 7c892ff1e0f47e4612f3b66fdf043216764dfd1b | [
"MIT"
] | null | null | null | libbio/include/bio/gpu/gpu_TransactionTypes.hpp | biosphere-switch/libbio | 7c892ff1e0f47e4612f3b66fdf043216764dfd1b | [
"MIT"
] | null | null | null | libbio/include/bio/gpu/gpu_TransactionTypes.hpp | biosphere-switch/libbio | 7c892ff1e0f47e4612f3b66fdf043216764dfd1b | [
"MIT"
] | null | null | null |
#pragma once
#include <bio/gpu/gpu_Types.hpp>
namespace bio::gpu {
enum class ConnectionApi : i32 {
EGL = 1,
Cpu = 2,
Media = 3,
Camera = 4,
};
enum class DisconnectMode : u32 {
Api = 0,
AllLocal = 1,
};
struct QueueBufferOutput {
u32 widt... | 20.213115 | 73 | 0.544201 | biosphere-switch |
b104357842a56d514edbcdeada4e43077f9c4043 | 433 | cpp | C++ | logsource.cpp | rdffg/bcaa_importer | f92e0b39673b5c557540154d4567c53a15adadcd | [
"Apache-2.0"
] | null | null | null | logsource.cpp | rdffg/bcaa_importer | f92e0b39673b5c557540154d4567c53a15adadcd | [
"Apache-2.0"
] | 2 | 2019-05-07T22:49:31.000Z | 2021-08-20T20:03:53.000Z | logsource.cpp | rdffg/bcaa_importer | f92e0b39673b5c557540154d4567c53a15adadcd | [
"Apache-2.0"
] | null | null | null | #include "logsource.h"
#include <QCoreApplication>
LogSource::LogSource(QObject *parent) : QObject(parent)
, m_logtext("")
{
}
void LogSource::addLogText(QString text) {
m_logtext += "\n" + text;
QCoreApplication::processEvents();
emit dataChanged();
}
void LogSource::clearLogText() {
... | 16.653846 | 56 | 0.628176 | rdffg |
b1059e99204a486f1fe034c1385e955a5ee6b3ae | 4,015 | cpp | C++ | src/main.cpp | qiujiangkun/GraphicsPractice | de2703c1c2cb924f62a40c46fe5f80fa6a81f072 | [
"MIT"
] | null | null | null | src/main.cpp | qiujiangkun/GraphicsPractice | de2703c1c2cb924f62a40c46fe5f80fa6a81f072 | [
"MIT"
] | null | null | null | src/main.cpp | qiujiangkun/GraphicsPractice | de2703c1c2cb924f62a40c46fe5f80fa6a81f072 | [
"MIT"
] | null | null | null | #include <GL/glew.h>
#include <GLFW/glfw3.h>
#include <iostream>
#include <fstream>
#include "engine/separate_application.h"
#include "engine/MyECS.h"
#include "engine/utils.h"
#include "movement.h"
#include "engine/window_glfw.h"
#include "engine/scene.h"
#include "engine/renderer2d.h"
using namespace Escape;
using na... | 26.589404 | 86 | 0.534496 | qiujiangkun |
b1087963cac05ba26a4d3919f61c568c7f0af261 | 421 | cc | C++ | chrome/browser/ui/views/color_chooser_aura.cc | Scopetta197/chromium | b7bf8e39baadfd9089de2ebdc0c5d982de4a9820 | [
"BSD-3-Clause"
] | 212 | 2015-01-31T11:55:58.000Z | 2022-02-22T06:35:11.000Z | chrome/browser/ui/views/color_chooser_aura.cc | 1065672644894730302/Chromium | 239dd49e906be4909e293d8991e998c9816eaa35 | [
"BSD-3-Clause"
] | 5 | 2015-03-27T14:29:23.000Z | 2019-09-25T13:23:12.000Z | chrome/browser/ui/views/color_chooser_aura.cc | 1065672644894730302/Chromium | 239dd49e906be4909e293d8991e998c9816eaa35 | [
"BSD-3-Clause"
] | 221 | 2015-01-07T06:21:24.000Z | 2022-02-11T02:51:12.000Z | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/public/browser/color_chooser.h"
#include "base/logging.h"
// static
content::ColorChooser* content::ColorChooser::Create(
int ... | 28.066667 | 73 | 0.745843 | Scopetta197 |
623f6880c191cb8b07b9393f313a4d08c17c5afa | 1,876 | hpp | C++ | RL-master/Engine/UE3/PropertyFlags.hpp | jeremwhitten/RL | 15ff898afe82b6a07e076b8a3609c81a0942e6ca | [
"MIT"
] | 230 | 2018-01-26T07:20:25.000Z | 2022-03-26T14:57:00.000Z | Engine/UE3/PropertyFlags.hpp | ChairGraveyard/UnrealEngineSDKGenerator | 0589f640fa61c05316c1708e6c3b9ab3e13eb6aa | [
"MIT"
] | 1 | 2020-10-18T16:30:26.000Z | 2020-10-18T16:30:26.000Z | Engine/UE3/PropertyFlags.hpp | ChairGraveyard/UnrealEngineSDKGenerator | 0589f640fa61c05316c1708e6c3b9ab3e13eb6aa | [
"MIT"
] | 164 | 2018-01-15T09:11:46.000Z | 2022-03-08T11:57:12.000Z | #pragma once
#include <type_traits>
#include <string>
enum class UEPropertyFlags : uint64_t
{
Edit = 0x0000000000000001,
Const = 0x0000000000000002,
Input = 0x0000000000000004,
ExportObject = 0x0000000000000008,
OptionalParm = 0x0000000000000010,
Net = 0x0000000000000020,
EditFixedSize = 0x0000000000000040,
P... | 32.344828 | 189 | 0.816631 | jeremwhitten |
62489fe7a0d3546aec6300f80ec138a763f427b7 | 2,775 | cpp | C++ | performerservice.cpp | audurara/verklegt1 | ca07845b9fc7129cb4c7ea4c3f1bad46899a4bcf | [
"MIT"
] | 1 | 2016-11-28T12:24:02.000Z | 2016-11-28T12:24:02.000Z | performerservice.cpp | audurara/verklegt1 | ca07845b9fc7129cb4c7ea4c3f1bad46899a4bcf | [
"MIT"
] | null | null | null | performerservice.cpp | audurara/verklegt1 | ca07845b9fc7129cb4c7ea4c3f1bad46899a4bcf | [
"MIT"
] | null | null | null | #include "performerservice.h"
#include "dataaccess.h"
#include <algorithm>
#include <iostream>
using namespace std;
struct PerformerComparison { //Struct sem ber saman nöfn
bool operator() (Performer i,Performer j) {
return (i.getName()<j.getName());
}
};
struct CompareYear{ //Fæðingarár borin saman
bo... | 25.458716 | 153 | 0.654054 | audurara |