hexsha stringlengths 40 40 | size int64 7 1.05M | ext stringclasses 13
values | lang stringclasses 1
value | max_stars_repo_path stringlengths 4 269 | max_stars_repo_name stringlengths 5 109 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 9 | max_stars_count int64 1 191k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 4 269 | max_issues_repo_name stringlengths 5 116 | max_issues_repo_head_hexsha stringlengths 40 40 | max_issues_repo_licenses listlengths 1 9 | max_issues_count int64 1 48.5k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 4 269 | max_forks_repo_name stringlengths 5 116 | max_forks_repo_head_hexsha stringlengths 40 40 | max_forks_repo_licenses listlengths 1 9 | max_forks_count int64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 7 1.05M | avg_line_length float64 1.21 330k | max_line_length int64 6 990k | alphanum_fraction float64 0.01 0.99 | author_id stringlengths 2 40 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
82fc7cf3155ac30eb2a42e2d690d5be36b76e689 | 1,816 | cpp | C++ | trainings/2015-11-03-Changsha-2013/I.cpp | HcPlu/acm-icpc | ab1f1d58bf2b4bf6677a2e4282fd3dadb3effbf8 | [
"MIT"
] | 9 | 2017-10-07T13:35:45.000Z | 2021-06-07T17:36:55.000Z | trainings/2015-11-03-Changsha-2013/I.cpp | zhijian-liu/acm-icpc | ab1f1d58bf2b4bf6677a2e4282fd3dadb3effbf8 | [
"MIT"
] | null | null | null | trainings/2015-11-03-Changsha-2013/I.cpp | zhijian-liu/acm-icpc | ab1f1d58bf2b4bf6677a2e4282fd3dadb3effbf8 | [
"MIT"
] | 3 | 2018-04-24T05:27:21.000Z | 2019-04-25T06:06:00.000Z | #include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cmath>
#include <iostream>
using namespace std;
const int N = 100005;
int n, X, Y, tot = 0;
int value[N], S[N], P[N], F[N];
int start[N];
pair<int, int> f[N][2];
struct Node {
int x, y, next;
} road[N << 1];
void build(int x, int y) {
tot++;... | 20.873563 | 80 | 0.467511 | HcPlu |
82fccde8b90c432f1a32fadf9a0ec364c7aeb791 | 8,385 | cpp | C++ | src/gl9_scene/player.cpp | andsulavik/ppgso | 44385aa9d8ee5f9a2951dfeb5e7c3e605377c68b | [
"MIT"
] | null | null | null | src/gl9_scene/player.cpp | andsulavik/ppgso | 44385aa9d8ee5f9a2951dfeb5e7c3e605377c68b | [
"MIT"
] | null | null | null | src/gl9_scene/player.cpp | andsulavik/ppgso | 44385aa9d8ee5f9a2951dfeb5e7c3e605377c68b | [
"MIT"
] | null | null | null | #include "player.h"
#include "scene.h"
#include "road.h"
#include "Pipe.h"
#include "Monster.h"
#include "shadow.h"
#include <shaders/diffuse_vert_glsl.h>
#include <shaders/diffuse_frag_glsl.h>
// shared resources
std::unique_ptr<ppgso::Mesh> Player::mesh;
std::unique_ptr<ppgso::Texture> Player::texture;
... | 35.231092 | 339 | 0.545021 | andsulavik |
82fd78c9bf8f1f535b4665f06a6c897b2ea7553f | 2,646 | cpp | C++ | ogsr_engine/xrCore/cpuid.cpp | WarezzK/OGSE-WarezzKCZ-Engine | 9d5a594edd7d8f2edf5e1d831f380bc817400e17 | [
"Apache-2.0"
] | 3 | 2019-09-10T13:37:08.000Z | 2021-05-18T14:53:29.000Z | ogsr_engine/xrCore/cpuid.cpp | Rikoshet-234/rebirth_engine | 7ad4e8a711434e8346b7c97b3a82447695418344 | [
"Apache-2.0"
] | null | null | null | ogsr_engine/xrCore/cpuid.cpp | Rikoshet-234/rebirth_engine | 7ad4e8a711434e8346b7c97b3a82447695418344 | [
"Apache-2.0"
] | 2 | 2020-06-26T11:50:59.000Z | 2020-12-30T11:07:31.000Z | #include "stdafx.h"
#include "cpuid.h"
#include <intrin.h>
decltype(auto) countSetBits(ULONG_PTR bitMask) {
DWORD LSHIFT = sizeof(ULONG_PTR) * 8 - 1;
DWORD bitSetCount = 0;
auto bitTest = static_cast<ULONG_PTR>(1) << LSHIFT;
DWORD i;
for (i = 0; i <= LSHIFT; ++i) {
bitSetCount += ((bitMask & bitTest) ? 1 : 0);... | 25.442308 | 86 | 0.685563 | WarezzK |
82ffd34e6213c3599aab61f248440f88097cc972 | 252 | cpp | C++ | src/examples/04_module/01_while/main.cpp | acc-cosc-1337-fall-2020/acc-cosc-1337-fall-2020-Grecia1813 | f356c1ed8f6e75b9e9d6164747a5c199bead8c95 | [
"MIT"
] | null | null | null | src/examples/04_module/01_while/main.cpp | acc-cosc-1337-fall-2020/acc-cosc-1337-fall-2020-Grecia1813 | f356c1ed8f6e75b9e9d6164747a5c199bead8c95 | [
"MIT"
] | null | null | null | src/examples/04_module/01_while/main.cpp | acc-cosc-1337-fall-2020/acc-cosc-1337-fall-2020-Grecia1813 | f356c1ed8f6e75b9e9d6164747a5c199bead8c95 | [
"MIT"
] | null | null | null | #include "while.h"
#include<iostream>
using std::cout; using std::cin;
int main()
{
char choice = 'y';
while (choice == 'y' || choice == 'Y')
{
cout << "Enter y to continue, any other char to exit: ";
cin >> choice;
}
return 0;
} | 14 | 60 | 0.563492 | acc-cosc-1337-fall-2020 |
d2016de542aef1d6c665c2f8b9aa17391c792f1a | 12,458 | hpp | C++ | ares/component/processor/sh2/sh7604/sh7604.hpp | CasualPokePlayer/ares | 58690cd5fc7bb6566c22935c5b80504a158cca29 | [
"BSD-3-Clause"
] | 153 | 2020-07-25T17:55:29.000Z | 2021-10-01T23:45:01.000Z | ares/component/processor/sh2/sh7604/sh7604.hpp | CasualPokePlayer/ares | 58690cd5fc7bb6566c22935c5b80504a158cca29 | [
"BSD-3-Clause"
] | 176 | 2020-07-25T19:11:23.000Z | 2021-10-04T17:11:32.000Z | ares/component/processor/sh2/sh7604/sh7604.hpp | CasualPokePlayer/ares | 58690cd5fc7bb6566c22935c5b80504a158cca29 | [
"BSD-3-Clause"
] | 44 | 2020-07-25T08:51:55.000Z | 2021-09-25T16:09:01.000Z | #pragma once
//Hitachi SH7604
//struct SH2 {
enum : u32 { Byte, Word, Long };
struct Area { enum : u32 {
Cached = 0,
Uncached = 1,
Purge = 2,
Address = 3,
Data = 6,
IO = 7,
};};
//bus.cpp
auto readByte(u32 address) -> u32;
auto readWord(u32 address) -> u32;
auto... | 32.025707 | 70 | 0.581153 | CasualPokePlayer |
d203bf517b9b61576aa40c7c8c7f8827b60d7bb8 | 12,034 | cpp | C++ | MEX/src/cpp/vision/features/low_level/self_similarity.cpp | umariqb/3D_Pose_Estimation_CVPR2016 | 83f6bf36aa68366ea8fa078eea6d91427e28503b | [
"BSD-3-Clause"
] | 47 | 2016-07-25T00:48:59.000Z | 2021-02-17T09:19:03.000Z | MEX/src/cpp/vision/features/low_level/self_similarity.cpp | umariqb/3D_Pose_Estimation_CVPR2016 | 83f6bf36aa68366ea8fa078eea6d91427e28503b | [
"BSD-3-Clause"
] | 5 | 2016-09-17T19:40:46.000Z | 2018-11-07T06:49:02.000Z | MEX/src/cpp/vision/features/low_level/self_similarity.cpp | iqbalu/3D_Pose_Estimation_CVPR2016 | 83f6bf36aa68366ea8fa078eea6d91427e28503b | [
"BSD-3-Clause"
] | 35 | 2016-07-21T09:13:15.000Z | 2019-05-13T14:11:37.000Z | /*
* self_similarity.cpp
*
* Created on: Jan 25, 2012
* Author: lbossard
*/
#include "self_similarity.hpp"
#include <boost/math/constants/constants.hpp>
#include <boost/foreach.hpp>
namespace vision
{
namespace features
{
SelfSimilarityExtractor::SelfSimilarityExtractor(
bool color_ssd,
u... | 32.524324 | 135 | 0.575453 | umariqb |
d2083f4db1d876becc56a5bad6bee2ad78e4305a | 1,491 | hpp | C++ | include/tinycoro/Algorithms.hpp | asmei1/tinycoro | 5b6d3dc9412c8c9e369f652707894a586a8bd9a8 | [
"MIT"
] | 7 | 2020-12-21T02:16:33.000Z | 2022-03-18T23:57:05.000Z | include/tinycoro/Algorithms.hpp | asmei1/tinycoro | 5b6d3dc9412c8c9e369f652707894a586a8bd9a8 | [
"MIT"
] | null | null | null | include/tinycoro/Algorithms.hpp | asmei1/tinycoro | 5b6d3dc9412c8c9e369f652707894a586a8bd9a8 | [
"MIT"
] | null | null | null | //
// Created by Asmei on 11/25/2020.
//
#ifndef TINYCORO_ALGORITHMS_HPP
#define TINYCORO_ALGORITHMS_HPP
#include "FireAndForget.hpp"
#include "Generator.hpp"
namespace tinycoro
{
/*
* Create endless stream, yielding objects from begin (inclusive).
*/
template <std::incrementable T>
tinycoro::Gen... | 21.926471 | 81 | 0.564051 | asmei1 |
d20de518295a56f0fefa5c15bd74d41f867164d3 | 1,282 | cpp | C++ | test/echd/jsonrpc/eth_client.cpp | adlerjohn/ech-cpp-dev | 60584994266b1c83e997e831238d14f5bd015e5a | [
"Apache-2.0"
] | 2 | 2020-06-01T00:30:12.000Z | 2020-06-05T18:41:48.000Z | test/echd/jsonrpc/eth_client.cpp | adlerjohn/ech-cpp-dev | 60584994266b1c83e997e831238d14f5bd015e5a | [
"Apache-2.0"
] | null | null | null | test/echd/jsonrpc/eth_client.cpp | adlerjohn/ech-cpp-dev | 60584994266b1c83e997e831238d14f5bd015e5a | [
"Apache-2.0"
] | 1 | 2020-06-05T18:33:28.000Z | 2020-06-05T18:33:28.000Z | #include "catch2/catch.hpp"
// Project includes
#include "echd/jsonrpc/eth_client.hpp"
using namespace ech;
using Catch::Matchers::Equals;
TEST_CASE("eth jsonrpc client leading zeroes empty", "[daemon][jsonrpc]")
{
const auto s = eth::JsonHelper::removeLeadingZeroes(std::string(""));
REQUIRE(std::string_view("0")... | 26.163265 | 83 | 0.697348 | adlerjohn |
d20f99fe44a1a5a905bd94ecf7da6d4ec4d8bbbf | 403 | cpp | C++ | BASIC c++/templetes/overloading_template_function.cpp | jattramesh/Learning_git | 5191ecc6c0c11b69b9786f2a8bdd3db7228987d6 | [
"MIT"
] | null | null | null | BASIC c++/templetes/overloading_template_function.cpp | jattramesh/Learning_git | 5191ecc6c0c11b69b9786f2a8bdd3db7228987d6 | [
"MIT"
] | null | null | null | BASIC c++/templetes/overloading_template_function.cpp | jattramesh/Learning_git | 5191ecc6c0c11b69b9786f2a8bdd3db7228987d6 | [
"MIT"
] | null | null | null | //
// Created by rahul on 17/8/19.
//
#include <iostream>
#include <string>
using namespace std;
template <class T>
void display(T x)
{
cout<<"template display" << x<< '\n';
}
void display(int x)
{
cout<<"explicit display"<<x<<'\n';
}
void ccode(char ch)
{
int code;
code=ch;
cout<<code<<endl;
}
int ... | 13.896552 | 41 | 0.575682 | jattramesh |
d210dfdab9fff4b7cffd630368c58ae205af467c | 39,299 | cpp | C++ | samsung/hardware/exynos4/hal/libhwcomposer/SecHWCUtils.cpp | DrDoubt/android_device_samsung_universal9810-common-1 | 5a937d2994044c041c3c19192d7744200a036cc8 | [
"Apache-2.0"
] | null | null | null | samsung/hardware/exynos4/hal/libhwcomposer/SecHWCUtils.cpp | DrDoubt/android_device_samsung_universal9810-common-1 | 5a937d2994044c041c3c19192d7744200a036cc8 | [
"Apache-2.0"
] | null | null | null | samsung/hardware/exynos4/hal/libhwcomposer/SecHWCUtils.cpp | DrDoubt/android_device_samsung_universal9810-common-1 | 5a937d2994044c041c3c19192d7744200a036cc8 | [
"Apache-2.0"
] | 2 | 2021-07-04T19:41:36.000Z | 2021-07-29T12:59:47.000Z | /*
* Copyright (C) 2010 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... | 30.702344 | 113 | 0.600906 | DrDoubt |
d21f36e288f9158449eec0a8719f3bb6bfe590ec | 337 | cpp | C++ | Core/radio/RadioHardware.cpp | ji3gab/ExtIO_sddc | ff82dddc75ee9a1af3d5ca0d882a81b5ee78410d | [
"MIT"
] | 24 | 2018-01-24T22:05:14.000Z | 2022-03-28T00:46:09.000Z | Core/radio/RadioHardware.cpp | ji3gab/ExtIO_sddc | ff82dddc75ee9a1af3d5ca0d882a81b5ee78410d | [
"MIT"
] | 106 | 2020-11-09T01:25:33.000Z | 2022-03-15T08:32:26.000Z | Core/radio/RadioHardware.cpp | ji3gab/ExtIO_sddc | ff82dddc75ee9a1af3d5ca0d882a81b5ee78410d | [
"MIT"
] | 18 | 2020-10-09T20:15:53.000Z | 2022-03-27T07:29:20.000Z | #include "RadioHandler.h"
bool RadioHardware::FX3SetGPIO(uint32_t mask)
{
gpios |= mask;
return Fx3->Control(GPIOFX3, gpios);
}
bool RadioHardware::FX3UnsetGPIO(uint32_t mask)
{
gpios &= ~mask;
return Fx3->Control(GPIOFX3, gpios);
}
RadioHardware::~RadioHardware()
{
if (Fx3) {
FX3SetGPI... | 15.318182 | 47 | 0.652819 | ji3gab |
d22068426ebeea0934b49c935dde4027ca611721 | 1,144 | cpp | C++ | Emissions/Set_Link_List.cpp | kravitz/transims4 | ea0848bf3dc71440d54724bb3ecba3947b982215 | [
"NASA-1.3"
] | 2 | 2018-04-27T11:07:02.000Z | 2020-04-24T06:53:21.000Z | Emissions/Set_Link_List.cpp | idkravitz/transims4 | ea0848bf3dc71440d54724bb3ecba3947b982215 | [
"NASA-1.3"
] | null | null | null | Emissions/Set_Link_List.cpp | idkravitz/transims4 | ea0848bf3dc71440d54724bb3ecba3947b982215 | [
"NASA-1.3"
] | null | null | null | //*********************************************************
// Set_Link_List.cpp - process the link equivalence data
//*********************************************************
#include "Emissions.hpp"
//---------------------------------------------------------
// Set_Link_List
//-------------------------------------... | 20.8 | 66 | 0.447552 | kravitz |
d221f39e2027e747d0dd2236eeee8d3c71a3e497 | 483 | hpp | C++ | src/crypto/Bip32.hpp | nopdotcom/opentxs | 140428ba8f1bd4c09654ebf0a1c1725f396efa8b | [
"MIT"
] | null | null | null | src/crypto/Bip32.hpp | nopdotcom/opentxs | 140428ba8f1bd4c09654ebf0a1c1725f396efa8b | [
"MIT"
] | null | null | null | src/crypto/Bip32.hpp | nopdotcom/opentxs | 140428ba8f1bd4c09654ebf0a1c1725f396efa8b | [
"MIT"
] | null | null | null | // Copyright (c) 2018 The Open-Transactions developers
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
#pragma once
#include "Internal.hpp"
#include "opentxs/crypt... | 26.833333 | 70 | 0.73913 | nopdotcom |
d2267f043aec24676ea34be8e9b74b96faefc809 | 1,849 | cc | C++ | SampleMgr/test/samplegrp_test.cc | NTUHEP-Tstar/ManagerUtils | 2536174671e537f210c330fe739f4cf0615e735e | [
"MIT"
] | null | null | null | SampleMgr/test/samplegrp_test.cc | NTUHEP-Tstar/ManagerUtils | 2536174671e537f210c330fe739f4cf0615e735e | [
"MIT"
] | null | null | null | SampleMgr/test/samplegrp_test.cc | NTUHEP-Tstar/ManagerUtils | 2536174671e537f210c330fe739f4cf0615e735e | [
"MIT"
] | null | null | null | /*******************************************************************************
*
* Filename : samplegrp_test.cc
* Description : Unit testing for Sample group class
* Author : Yi-Mu "Enoch" Chen [ ensc@hep1.phys.ntu.edu.tw ]
*
****************************************************************************... | 29.349206 | 80 | 0.581395 | NTUHEP-Tstar |
d22896ef2b14f1c790d7a201fd476e336b53d5a5 | 14,888 | cpp | C++ | src/Source.cpp | fencl/Crs | 902f6f293bcf33ff71ca6cfc306d8b833d1e0e63 | [
"MIT"
] | null | null | null | src/Source.cpp | fencl/Crs | 902f6f293bcf33ff71ca6cfc306d8b833d1e0e63 | [
"MIT"
] | null | null | null | src/Source.cpp | fencl/Crs | 902f6f293bcf33ff71ca6cfc306d8b833d1e0e63 | [
"MIT"
] | null | null | null | #include "Source.hpp"
#include <iostream>
#include <fstream>
#include <ctype.h>
#include <algorithm>
#include <string>
#include <string_view>
#include "CompileContext.hpp"
#include "Error.hpp"
#include "ConstantManager.hpp"
#include "Compiler.hpp"
#include "Ast.hpp"
#include "Statement.hpp"
#ifdef WINDOWS
#include <wi... | 24.12966 | 123 | 0.592558 | fencl |
d22e959e01a66ccdc2bd90337a1e1e811f83ffaf | 2,119 | hpp | C++ | src/3rd party/boost/boost/numeric/interval/compare/set.hpp | OLR-xray/OLR-3.0 | b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611 | [
"Apache-2.0"
] | 8 | 2016-01-25T20:18:51.000Z | 2019-03-06T07:00:04.000Z | src/3rd party/boost/boost/numeric/interval/compare/set.hpp | OLR-xray/OLR-3.0 | b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611 | [
"Apache-2.0"
] | null | null | null | src/3rd party/boost/boost/numeric/interval/compare/set.hpp | OLR-xray/OLR-3.0 | b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611 | [
"Apache-2.0"
] | 3 | 2016-02-14T01:20:43.000Z | 2021-02-03T11:19:11.000Z | /* Boost interval/compare/set.hpp template implementation file
*
* Copyright Guillaume Melquiond 2002-2003
* Permission to use, copy, modify, sell, and distribute this software
* is hereby granted without fee provided that the above copyright notice
* appears in all copies and that both that copyright notice and t... | 29.84507 | 81 | 0.754129 | OLR-xray |
d2339c2a2e67c474fcc62c9003793232129366b0 | 355 | cpp | C++ | ejercicio2/main.cpp | matbentancur/pav | df556249e342863286ad1c991a5613bd63e09902 | [
"MIT"
] | null | null | null | ejercicio2/main.cpp | matbentancur/pav | df556249e342863286ad1c991a5613bd63e09902 | [
"MIT"
] | 1 | 2018-04-05T15:06:04.000Z | 2018-04-15T21:46:44.000Z | ejercicio2/main.cpp | matbentancur/pav | df556249e342863286ad1c991a5613bd63e09902 | [
"MIT"
] | null | null | null | #include <iostream>
#include "A.h"
#include "B.h"
#include "C.h"
using namespace std;
int main(){
ClassA msg_a;
msg_a = ClassA();
ClassB msg_b;
msg_b = ClassB();
ClassC msg_c;
msg_c = ClassC();
cout<<msg_a.getA()<<endl;
cout<<msg_b.getB()<<endl;
cout<<msg_c.... | 14.2 | 30 | 0.535211 | matbentancur |
d2398630f54d13522c03b861d8d20976fa9aebdb | 5,937 | hpp | C++ | RegNRecon/jly_sorting.hpp | MrJia1997/RenderKinect | 6cc6d6a56ce6a925920e155db5aa6f5239c563e8 | [
"MIT"
] | null | null | null | RegNRecon/jly_sorting.hpp | MrJia1997/RenderKinect | 6cc6d6a56ce6a925920e155db5aa6f5239c563e8 | [
"MIT"
] | null | null | null | RegNRecon/jly_sorting.hpp | MrJia1997/RenderKinect | 6cc6d6a56ce6a925920e155db5aa6f5239c563e8 | [
"MIT"
] | null | null | null | /********************************************************************
Sorting/Selection functions for the Go-ICP Algorithm
Last modified: Jan 27, 2015
"Go-ICP: Solving 3D Registration Efficiently and Globally Optimally"
Jiaolong Yang, Hongdong Li, Yunde Jia
International Conference on Computer Vision (ICCV), 2013
Cop... | 18.787975 | 95 | 0.593397 | MrJia1997 |
d23e8ce8d08e98652ed7d04b5bdfdd9855ff24b6 | 407 | hpp | C++ | include/CompareVersionNumbers.hpp | yanzhe-chen/LeetCode | d82f0b9721ea613ab216c78e7286671d0e9e4187 | [
"MIT"
] | 43 | 2015-10-10T12:59:52.000Z | 2018-07-11T18:07:00.000Z | include/CompareVersionNumbers.hpp | yanzhe-chen/LeetCode | d82f0b9721ea613ab216c78e7286671d0e9e4187 | [
"MIT"
] | null | null | null | include/CompareVersionNumbers.hpp | yanzhe-chen/LeetCode | d82f0b9721ea613ab216c78e7286671d0e9e4187 | [
"MIT"
] | 11 | 2015-10-10T14:41:11.000Z | 2018-07-28T06:03:16.000Z | #ifndef COMPARE_VERSION_NUMBERS_HPP_
#define COMPARE_VERSION_NUMBERS_HPP_
#include <string>
#include <vector>
using namespace std;
class CompareVersionNumbers {
public:
int compareVersion(string version1, string version2);
private:
int compareDigitsString(string num1, string num2);
void tokenize(const ... | 20.35 | 67 | 0.786241 | yanzhe-chen |
d240095031c8d3e133801299163fc595b6244045 | 1,090 | cpp | C++ | tests/char_set/test_single.cpp | FrancoisChabot/abulafia | 4aeefd8d388d68994f9d73bb0f586517737a5174 | [
"BSL-1.0"
] | 42 | 2017-09-21T16:51:12.000Z | 2020-03-12T09:44:32.000Z | tests/char_set/test_single.cpp | FrancoisChabot/abulafia | 4aeefd8d388d68994f9d73bb0f586517737a5174 | [
"BSL-1.0"
] | 32 | 2017-09-21T06:31:08.000Z | 2017-10-20T00:52:58.000Z | tests/char_set/test_single.cpp | FrancoisChabot/abulafia | 4aeefd8d388d68994f9d73bb0f586517737a5174 | [
"BSL-1.0"
] | 3 | 2018-10-30T11:29:18.000Z | 2019-07-18T08:19:51.000Z | // Copyright 2017 Francois Chabot
// (francois.chabot.dev@gmail.com)
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#include "abulafia/abulafia.h"
#include "gtest/gtest.h"
using namespace abu;
static_assert(c... | 31.142857 | 80 | 0.704587 | FrancoisChabot |
d240ed2bde9c335bdd5f4a52c127bd3a9fa677eb | 4,246 | hpp | C++ | include/shz/math/frustum.hpp | TraxNet/ShadingZenCpp | 46860da3249900259941bf64f4a46347500b65fb | [
"MIT"
] | 3 | 2015-04-30T15:41:51.000Z | 2018-12-28T05:47:18.000Z | include/shz/math/frustum.hpp | TraxNet/ShadingZenCpp | 46860da3249900259941bf64f4a46347500b65fb | [
"MIT"
] | null | null | null | include/shz/math/frustum.hpp | TraxNet/ShadingZenCpp | 46860da3249900259941bf64f4a46347500b65fb | [
"MIT"
] | null | null | null | #ifndef __SHZ_MATH_FRUSTUM__
#define __SHZ_MATH_FRUSTUM__
#include <array>
#include <shz/math/matrix.hpp>
#include <shz/math/plane.hpp>
namespace shz{ namespace math{
template <typename T> struct frustum {
static const size_t num_planes = 6;
frustum(){}
frustum(const shz::math::matrix<T, 4, 4>& clip){
gen... | 20.512077 | 68 | 0.537447 | TraxNet |
d240f6b09f2be76740fce5c84508a4a01ed2a6e3 | 664 | hpp | C++ | higan/sfc/coprocessor/coprocessor.hpp | mp-lee/higan | c38a771f2272c3ee10fcb99f031e982989c08c60 | [
"Intel",
"ISC"
] | null | null | null | higan/sfc/coprocessor/coprocessor.hpp | mp-lee/higan | c38a771f2272c3ee10fcb99f031e982989c08c60 | [
"Intel",
"ISC"
] | null | null | null | higan/sfc/coprocessor/coprocessor.hpp | mp-lee/higan | c38a771f2272c3ee10fcb99f031e982989c08c60 | [
"Intel",
"ISC"
] | null | null | null | #include <sfc/coprocessor/icd2/icd2.hpp>
#include <sfc/coprocessor/mcc/mcc.hpp>
#include <sfc/coprocessor/nss/nss.hpp>
#include <sfc/coprocessor/event/event.hpp>
#include <sfc/coprocessor/sa1/sa1.hpp>
#include <sfc/coprocessor/superfx/superfx.hpp>
#include <sfc/coprocessor/armdsp/armdsp.hpp>
#include <sfc/coprocessor... | 31.619048 | 52 | 0.789157 | mp-lee |
d2440f26f0465d0ebef1db5e21cbdd7ce5349b8a | 2,725 | cpp | C++ | trainer/MemoryManager.cpp | thefinalstarman/DolphinTrainer | f3d615f35b21986cc2078028311306207fe00801 | [
"MIT"
] | 1 | 2017-11-19T17:02:34.000Z | 2017-11-19T17:02:34.000Z | trainer/MemoryManager.cpp | thefinalstarman/DolphinTrainer | f3d615f35b21986cc2078028311306207fe00801 | [
"MIT"
] | null | null | null | trainer/MemoryManager.cpp | thefinalstarman/DolphinTrainer | f3d615f35b21986cc2078028311306207fe00801 | [
"MIT"
] | null | null | null | /*
* MemoryManager.cpp
*
* Created on: Jan 24, 2018
* Author: Jordan Richards
*/
#include <trainer/MemoryManager.h>
#include <algorithm>
#include <vector>
#include <exception>
#include <functional>
namespace xtrainer{
Page::Page(PageInfo&& p, int expiration): expirationTime(expiration){
size = p.size();
add... | 24.772727 | 98 | 0.659817 | thefinalstarman |
d2447e0884454edf39881ca6dfc42381c63e3d72 | 16,498 | cpp | C++ | src/main.cpp | Faaux/DingoEngine | 05c8ae59816befaaa203e8d5310c4e17da89bb7b | [
"MIT"
] | null | null | null | src/main.cpp | Faaux/DingoEngine | 05c8ae59816befaaa203e8d5310c4e17da89bb7b | [
"MIT"
] | null | null | null | src/main.cpp | Faaux/DingoEngine | 05c8ae59816befaaa203e8d5310c4e17da89bb7b | [
"MIT"
] | null | null | null | /**
* @file main.cpp
* @author Faaux (github.com/Faaux)
* @date 11 February 2018
*/
#include "main.h"
#include <ImGuizmo.h>
#include <SDL.h>
#include "components/SceneComponent.h"
#include "components/StaticMeshComponent.h"
#include "engine/Messaging.h"
#include "engine/Types.h"
#include "engine/WorldEd... | 35.403433 | 100 | 0.582798 | Faaux |
d244ca6df6310dae68ec5d4d358bbb96b796fe5e | 7,257 | hxx | C++ | src/mirrage/asset/include/mirrage/asset/asset_manager.hxx | lowkey42/mirrage | 2527537989a548062d0bbca8370d063fc6b81a18 | [
"MIT"
] | 14 | 2017-10-26T08:45:54.000Z | 2021-04-06T11:44:17.000Z | src/mirrage/asset/include/mirrage/asset/asset_manager.hxx | lowkey42/mirrage | 2527537989a548062d0bbca8370d063fc6b81a18 | [
"MIT"
] | 17 | 2017-10-09T20:11:58.000Z | 2018-11-08T22:05:14.000Z | src/mirrage/asset/include/mirrage/asset/asset_manager.hxx | lowkey42/mirrage | 2527537989a548062d0bbca8370d063fc6b81a18 | [
"MIT"
] | 1 | 2018-09-26T23:10:06.000Z | 2018-09-26T23:10:06.000Z | #pragma once
#ifndef MIRRAGE_ASSETMANAGER_INCLUDED
#include "asset_manager.hpp"
#endif
#ifndef __clang_analyzer__
#include <async++.h>
#endif
namespace mirrage::asset {
template <class R>
auto Ptr<R>::get_blocking() const -> const R&
{
if(_cached_result)
return *_cached_result;
return *(_cached_result = ... | 27.384906 | 103 | 0.668596 | lowkey42 |
d24aa6ef3cc44a99bd9fb72d93286b63ff625193 | 2,605 | cpp | C++ | Part F Finite Difference Methods/Exercise F Finite Difference Methods/Level9/Level9Code/Level9Code/UtilitiesDJD/ExcelDriver/TestEuropeanOptionPriceCurve.cpp | bondxue/Option-Pricing-Model | 5f22df0ff31e90fd536eb216c5af19c697fb87b2 | [
"MIT"
] | null | null | null | Part F Finite Difference Methods/Exercise F Finite Difference Methods/Level9/Level9Code/Level9Code/UtilitiesDJD/ExcelDriver/TestEuropeanOptionPriceCurve.cpp | bondxue/Option-Pricing-Model | 5f22df0ff31e90fd536eb216c5af19c697fb87b2 | [
"MIT"
] | null | null | null | Part F Finite Difference Methods/Exercise F Finite Difference Methods/Level9/Level9Code/Level9Code/UtilitiesDJD/ExcelDriver/TestEuropeanOptionPriceCurve.cpp | bondxue/Option-Pricing-Model | 5f22df0ff31e90fd536eb216c5af19c697fb87b2 | [
"MIT"
] | null | null | null | //TestEuropeanOptionPriceCurve.cpp
//purpose: source file to display European Put and Call option prices on one Excel sheet
//author: bondxue
//version: 1.0 21/01/2017
#include <iostream>
#include <cmath>
#include <list>
#include <string>
#include <iostream>
#include "EuropeanOption.hpp"
#include "Mesher.hpp"
#include... | 28.626374 | 121 | 0.667946 | bondxue |
d24d90941574c88a92f21570307214a2bf5acb18 | 4,903 | cpp | C++ | path.cpp | Ocisra/file_manager | cfb88aac368a789c1330b5d9fc8c3d0703b60c2b | [
"MIT"
] | null | null | null | path.cpp | Ocisra/file_manager | cfb88aac368a789c1330b5d9fc8c3d0703b60c2b | [
"MIT"
] | null | null | null | path.cpp | Ocisra/file_manager | cfb88aac368a789c1330b5d9fc8c3d0703b60c2b | [
"MIT"
] | null | null | null | #include "path.hpp"
#include "config.hpp"
#include "miller.hpp"
#include <filesystem>
#include <set>
#include <ncurses.h>
#include "libft-detect.hpp"
/**
* Populate the content of a directory
*
* @param content: content to populate
* @param path: path tracked by the content
*/
static void populateContent(Con... | 24.034314 | 95 | 0.587599 | Ocisra |
d25542995768c153bea9ec40493608959bf66467 | 11,764 | hpp | C++ | SDK/ARKSurvivalEvolved_PrimalItem_Spawner_HoverSail_Parent_classes.hpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 10 | 2020-02-17T19:08:46.000Z | 2021-07-31T11:07:19.000Z | SDK/ARKSurvivalEvolved_PrimalItem_Spawner_HoverSail_Parent_classes.hpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 9 | 2020-02-17T18:15:41.000Z | 2021-06-06T19:17:34.000Z | SDK/ARKSurvivalEvolved_PrimalItem_Spawner_HoverSail_Parent_classes.hpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 3 | 2020-07-22T17:42:07.000Z | 2021-06-19T17:16:13.000Z | #pragma once
// ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_PrimalItem_Spawner_HoverSail_Parent_structs.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Classes
//-------------------------------------... | 116.475248 | 231 | 0.562734 | 2bite |
d259620e891f8515d136f8a63fab93fdf75ca5c7 | 902 | cpp | C++ | NativeLibrary/WriteStream.cpp | Const-me/ComLightInterop | 3968aee5e1b61c71cb70245c93a1b05f00df2cb8 | [
"MIT"
] | 22 | 2019-08-27T13:59:26.000Z | 2022-02-18T07:40:36.000Z | NativeLibrary/WriteStream.cpp | Const-me/ComLightInterop | 3968aee5e1b61c71cb70245c93a1b05f00df2cb8 | [
"MIT"
] | 2 | 2021-04-14T13:07:48.000Z | 2021-10-16T16:32:20.000Z | NativeLibrary/WriteStream.cpp | Const-me/ComLightInterop | 3968aee5e1b61c71cb70245c93a1b05f00df2cb8 | [
"MIT"
] | 2 | 2019-10-10T00:14:08.000Z | 2022-02-03T03:42:36.000Z | #include "stdafx.h"
#include "WriteStream.h"
HRESULT WriteStream::write( const void* lpBuffer, int nNumberOfBytesToWrite )
{
if( nullptr == m_file )
return OLE_E_BLANK;
if( nNumberOfBytesToWrite < 0 )
return E_INVALIDARG;
const size_t cb = (size_t)nNumberOfBytesToWrite;
const size_t written = fwrite( lpBuffer,... | 22.55 | 77 | 0.694013 | Const-me |
d25c22d9c0902ad11ab22ba6494471bb44d17a26 | 1,077 | cpp | C++ | src/quiz/quiz01a.cpp | msu-csc232-fa20/lectures | 194a93cef456e29099c99147fbb1f645df07fc69 | [
"MIT"
] | null | null | null | src/quiz/quiz01a.cpp | msu-csc232-fa20/lectures | 194a93cef456e29099c99147fbb1f645df07fc69 | [
"MIT"
] | null | null | null | src/quiz/quiz01a.cpp | msu-csc232-fa20/lectures | 194a93cef456e29099c99147fbb1f645df07fc69 | [
"MIT"
] | null | null | null | /**
* CSC232 - Data Structures
* Missouri State University, Fall 2020
*
* Quiz 1
*
* @author Jim Daehn <jdaehn@missouristate.edu>
* @file quiz01.cpp
*/
#include <cstdlib>
#include <iostream>
#define FALSE 0
#define TRUE 1
#define USE_CODE_ON_QUIZ TRUE
#define USE_ANSWER FALSE
int main()
{
// These we... | 18.568966 | 61 | 0.581244 | msu-csc232-fa20 |
d25f7144b9c0a7df5bf6730782097d00adeb27ee | 779 | cpp | C++ | TabGraph/src/Common.cpp | Gpinchon/TabGraph | 29eae2d9982b6ce3e4ff43c707c87c2f57ab39bb | [
"Apache-2.0"
] | 1 | 2020-08-28T09:35:18.000Z | 2020-08-28T09:35:18.000Z | TabGraph/src/Common.cpp | Gpinchon/TabGraph | 29eae2d9982b6ce3e4ff43c707c87c2f57ab39bb | [
"Apache-2.0"
] | null | null | null | TabGraph/src/Common.cpp | Gpinchon/TabGraph | 29eae2d9982b6ce3e4ff43c707c87c2f57ab39bb | [
"Apache-2.0"
] | 1 | 2020-10-08T11:21:13.000Z | 2020-10-08T11:21:13.000Z | /*
* @Author: gpinchon
* @Date: 2020-08-27 18:48:19
* @Last Modified by: gpinchon
* @Last Modified time: 2021-01-11 08:42:39
*/
#include "Common.hpp"
#include <glm/vec3.hpp>
static glm::vec3 s_up(0, 1, 0);
static glm::vec3 s_forward(0, 0, -1);
static glm::vec3 s_right(1, 0, 0);
static glm::vec3 s_gravity(0, -9.81... | 14.425926 | 42 | 0.634146 | Gpinchon |
d921e987a4979cd17b7dbbe1bed47efc0f2d1827 | 9,434 | cc | C++ | src/Scanner.cc | avartak/KAZM | 4b08bf47bf5412f435eb7b129f4aa6eeddb31a42 | [
"MIT"
] | null | null | null | src/Scanner.cc | avartak/KAZM | 4b08bf47bf5412f435eb7b129f4aa6eeddb31a42 | [
"MIT"
] | null | null | null | src/Scanner.cc | avartak/KAZM | 4b08bf47bf5412f435eb7b129f4aa6eeddb31a42 | [
"MIT"
] | null | null | null | // src/Scanner.cc generated by reflex 2.1.5 from src/lexer.l
#define REFLEX_VERSION "2.1.5"
////////////////////////////////////////////////////////////////////////////////
// //
// OPTIONS USED ... | 36.42471 | 1,015 | 0.321391 | avartak |
d928f48d649ebe372fe54378d0f88e54c952de03 | 576 | cpp | C++ | ABC/ABC247/A/abc247-a.cpp | keitaronaruse/AtCoderTraining | 9fb8f0d492be678a788080c96b06c33992cb6db2 | [
"MIT"
] | null | null | null | ABC/ABC247/A/abc247-a.cpp | keitaronaruse/AtCoderTraining | 9fb8f0d492be678a788080c96b06c33992cb6db2 | [
"MIT"
] | null | null | null | ABC/ABC247/A/abc247-a.cpp | keitaronaruse/AtCoderTraining | 9fb8f0d492be678a788080c96b06c33992cb6db2 | [
"MIT"
] | null | null | null | /**
* @file abc247-a.cpp
* @brief ABC247 Problem A - Move Right
* @author Keitaro Naruse
* @date 2022-04-10
* @copyright MIT License
* @details https://atcoder.jp/contests/abc247/tasks/abc247_a
*/
// # Solution
#include <iostream>
#include <string>
int main()
{
// Read | S | = [ 1, 10^6 ]
std::string S;
... | 17.454545 | 60 | 0.508681 | keitaronaruse |
d92a44e01d39b0743eb29ac2627ba0403bbe3358 | 1,155 | cpp | C++ | NPSVisor/tools/svMaker/source/pObject/svmHistory.cpp | NPaolini/NPS_OpenSource | 0c7da066b02b57ce282a1903a3901a563d04a28f | [
"Unlicense"
] | null | null | null | NPSVisor/tools/svMaker/source/pObject/svmHistory.cpp | NPaolini/NPS_OpenSource | 0c7da066b02b57ce282a1903a3901a563d04a28f | [
"Unlicense"
] | null | null | null | NPSVisor/tools/svMaker/source/pObject/svmHistory.cpp | NPaolini/NPS_OpenSource | 0c7da066b02b57ce282a1903a3901a563d04a28f | [
"Unlicense"
] | null | null | null | //-------------------- svmHistory.cpp --------------------------
//-----------------------------------------------------------
#include "precHeader.h"
//-----------------------------------------------------------
#include "svmHistory.h"
#include "svmObject.h"
//----------------------------------------------------------... | 35 | 84 | 0.401732 | NPaolini |
d92ca35877a6024fce9849069d63a77850dcb12c | 11,476 | cpp | C++ | Arch(C&C++)/eb189527d6ecb920cd6dc02651c9af01/DevconCmd.cpp | bhbk/3as8kpsf | 7da56a0f125c59104bc80950792c1c904b2a12f1 | [
"Apache-2.0"
] | 1 | 2019-01-12T15:30:46.000Z | 2019-01-12T15:30:46.000Z | Arch(C&C++)/eb189527d6ecb920cd6dc02651c9af01/DevconCmd.cpp | bhbk/3as8kpsf | 7da56a0f125c59104bc80950792c1c904b2a12f1 | [
"Apache-2.0"
] | null | null | null | Arch(C&C++)/eb189527d6ecb920cd6dc02651c9af01/DevconCmd.cpp | bhbk/3as8kpsf | 7da56a0f125c59104bc80950792c1c904b2a12f1 | [
"Apache-2.0"
] | null | null | null | #include "Devcon.h"
#include "DevconDump.h"
#include "DevconDumpMsg.h"
#include "DevconCmd.h"
int CmdClassDeviceList(LPCTSTR BaseName, LPCTSTR Machine, int argc, TCHAR* argv[], LPTSTR* rslts[])
/*++
Routine Description:
LISTCLASS <name>....
lists all devices for each specified class
there can be more than o... | 28.834171 | 133 | 0.629313 | bhbk |
d92ef2f2876440f6b057ff0051e235de10df37d9 | 6,724 | cpp | C++ | src/renderer.cpp | baines/engine | d26339c780e4c9accec0ed7a60d2c3bcc33171d3 | [
"WTFPL"
] | 4 | 2015-03-04T19:22:55.000Z | 2020-01-06T02:31:48.000Z | src/renderer.cpp | baines/engine | d26339c780e4c9accec0ed7a60d2c3bcc33171d3 | [
"WTFPL"
] | null | null | null | src/renderer.cpp | baines/engine | d26339c780e4c9accec0ed7a60d2c3bcc33171d3 | [
"WTFPL"
] | null | null | null | #include "renderer.h"
#include "engine.h"
#include "enums.h"
#include "config.h"
#include "cli.h"
#include "texture.h"
#include "sampler.h"
#include <math.h>
#include <climits>
#define GLM_FORCE_RADIANS
#include <glm/gtc/matrix_transform.hpp>
Renderer::Renderer(Engine& e, const char* name)
: renderables ()
, rend... | 26.896 | 96 | 0.654819 | baines |
d9377566991fcc98197f718a02819e663ee27093 | 855 | cpp | C++ | src/main/native/cpp/Util.cpp | KyleQ1/Characterization-Robot-2020 | f28bb07fab05587e7462937ce3e0f9fe40a5f014 | [
"BSD-3-Clause"
] | null | null | null | src/main/native/cpp/Util.cpp | KyleQ1/Characterization-Robot-2020 | f28bb07fab05587e7462937ce3e0f9fe40a5f014 | [
"BSD-3-Clause"
] | null | null | null | src/main/native/cpp/Util.cpp | KyleQ1/Characterization-Robot-2020 | f28bb07fab05587e7462937ce3e0f9fe40a5f014 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) FIRST and other WPILib contributors.
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#include "sysid/Util.h"
#include <sstream>
#include <string>
#include <vector>
#include <imgui.h>
void sysid::CreateT... | 23.108108 | 74 | 0.676023 | KyleQ1 |
d937915bb1a35782e9a8914bb04dc600518feb56 | 6,423 | cpp | C++ | reference/matrix/hybrid_kernels.cpp | JakubTrzcskni/ginkgo | 8a9988b9c3f8c4ff59fae30050575311f230065e | [
"BSD-3-Clause"
] | null | null | null | reference/matrix/hybrid_kernels.cpp | JakubTrzcskni/ginkgo | 8a9988b9c3f8c4ff59fae30050575311f230065e | [
"BSD-3-Clause"
] | null | null | null | reference/matrix/hybrid_kernels.cpp | JakubTrzcskni/ginkgo | 8a9988b9c3f8c4ff59fae30050575311f230065e | [
"BSD-3-Clause"
] | null | null | null | /*******************************<GINKGO LICENSE>******************************
Copyright (c) 2017-2022, the Ginkgo authors
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source co... | 38.005917 | 78 | 0.656391 | JakubTrzcskni |
d9399880189f27bd5e1d4eb31ece04c6f4fd198e | 1,820 | cc | C++ | src/q_1301_1350/q1309.cc | vNaonLu/daily-leetcode | 2830c2cd413d950abe7c6d9b833c771f784443b0 | [
"MIT"
] | null | null | null | src/q_1301_1350/q1309.cc | vNaonLu/daily-leetcode | 2830c2cd413d950abe7c6d9b833c771f784443b0 | [
"MIT"
] | 2 | 2021-12-15T10:51:15.000Z | 2022-01-26T17:03:16.000Z | src/q_1301_1350/q1309.cc | vNaonLu/daily-leetcode | 2830c2cd413d950abe7c6d9b833c771f784443b0 | [
"MIT"
] | null | null | null | #include <gtest/gtest.h>
#include <iostream>
#include <string>
using namespace std;
/**
* This file is generated by leetcode_add.py
*
* 1309.
* Decrypt String from Alphabet to Integer Mapping
*
* ––––––––––––––––––––––––––––– Description –––––––––––––––––––––––––––––
*
* You are given a string ‘s’ for... | 25.277778 | 75 | 0.535165 | vNaonLu |
d93f27f778a565a45c114b985a25a601b82867f6 | 3,865 | hpp | C++ | SDK/ARKSurvivalEvolved_DinoTamedInventoryComponent_Beetle_parameters.hpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 10 | 2020-02-17T19:08:46.000Z | 2021-07-31T11:07:19.000Z | SDK/ARKSurvivalEvolved_DinoTamedInventoryComponent_Beetle_parameters.hpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 9 | 2020-02-17T18:15:41.000Z | 2021-06-06T19:17:34.000Z | SDK/ARKSurvivalEvolved_DinoTamedInventoryComponent_Beetle_parameters.hpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 3 | 2020-07-22T17:42:07.000Z | 2021-06-19T17:16:13.000Z | #pragma once
// ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_DinoTamedInventoryComponent_Beetle_classes.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Parameters
//-----------------------------------... | 42.944444 | 161 | 0.686158 | 2bite |
d93fdb9f6e0fdeebf1f4d05913e9536ebe9b383c | 1,055 | hpp | C++ | src/boost/atomic/detail/wait_caps_dragonfly_umtx.hpp | 107-systems/107-Arduino-BoostUnits | fc3677ae79c1e75c99b3aa7813eb6ec83124b944 | [
"MIT"
] | null | null | null | src/boost/atomic/detail/wait_caps_dragonfly_umtx.hpp | 107-systems/107-Arduino-BoostUnits | fc3677ae79c1e75c99b3aa7813eb6ec83124b944 | [
"MIT"
] | 1 | 2021-08-30T18:02:49.000Z | 2021-08-30T18:02:49.000Z | src/boost/atomic/detail/wait_caps_dragonfly_umtx.hpp | 107-systems/107-Arduino-BoostUnits | fc3677ae79c1e75c99b3aa7813eb6ec83124b944 | [
"MIT"
] | null | null | null | /*
* 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)
*
* Copyright (c) 2020 Andrey Semashev
*/
/*!
* \file atomic/detail/wait_caps_dragonfly_umtx.hpp
*
* This header defines waiting/notifying operations cap... | 34.032258 | 146 | 0.824645 | 107-systems |
d9409cbbe2b6fa384db0888d8d6ee9a87ab578d0 | 42,365 | cpp | C++ | framework/hpp_api_vulkan_sample.cpp | jwinarske/Vulkan-Samples | 11a0eeffa223e3c049780fd783900da0bfe50431 | [
"Apache-2.0"
] | 20 | 2020-03-25T17:57:32.000Z | 2022-03-12T08:16:10.000Z | framework/hpp_api_vulkan_sample.cpp | JasonWinston/Vulkan-Samples | fe3fd6435e5f209b00d72a85004f189d01debee4 | [
"Apache-2.0"
] | 1 | 2020-02-18T07:08:52.000Z | 2020-02-18T07:08:52.000Z | framework/hpp_api_vulkan_sample.cpp | JasonWinston/Vulkan-Samples | fe3fd6435e5f209b00d72a85004f189d01debee4 | [
"Apache-2.0"
] | 1 | 2020-04-12T16:23:18.000Z | 2020-04-12T16:23:18.000Z | /* Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved.
*
* SPDX-License-Identifier: Apache-2.0
*
* 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/lic... | 38.063792 | 164 | 0.734167 | jwinarske |
d94b5d651e1fc92e91e4fa3aa375144b3e673f8c | 1,674 | hpp | C++ | common/rendersystem.hpp | Mikko-Finell/bullet | 0aa08008c58d4c6fb2c4e12322a8925257cecc1c | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 1 | 2020-08-12T22:52:22.000Z | 2020-08-12T22:52:22.000Z | common/rendersystem.hpp | Mikko-Finell/bullet | 0aa08008c58d4c6fb2c4e12322a8925257cecc1c | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 3 | 2019-06-19T19:15:26.000Z | 2019-06-19T19:15:27.000Z | common/rendersystem.hpp | Mikko-Finell/bullet | 0aa08008c58d4c6fb2c4e12322a8925257cecc1c | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | #ifndef rendersystem_hpp
#define rendersystem_hpp
#include "sprite.hpp"
#include "stl.hpp"
#include "sfml.hpp"
/**
* RenderSystem
* Base class for rendering gameobjects.
*/
class RenderSystem {
protected:
std::unordered_set<SpriteImpl *> sprites;
sf::Texture & texture;
std::vector<sf::Vertex> vs;
publ... | 24.26087 | 77 | 0.685185 | Mikko-Finell |
d94c9ecc0a9d01b3e1c7f66f9a48abe0555e2c87 | 685 | cpp | C++ | ParallelEngine/animation.cpp | Archiving/ParallelEngine | 53f287d6e71bcf323cfdad763c6b6818795ada7c | [
"MIT"
] | 4 | 2019-07-29T14:35:17.000Z | 2019-08-06T04:35:18.000Z | ParallelEngine/animation.cpp | Archiving/ParallelEngine | 53f287d6e71bcf323cfdad763c6b6818795ada7c | [
"MIT"
] | 6 | 2019-07-28T22:34:54.000Z | 2019-08-29T07:18:04.000Z | ParallelEngine/animation.cpp | Archiving/ParallelEngine | 53f287d6e71bcf323cfdad763c6b6818795ada7c | [
"MIT"
] | null | null | null | #include "animation.h"
#include <iostream>
Animation::Animation(ALLEGRO_BITMAP * img, int frameWidth, int frameHeight, int frameDelay, int maxFrames, int x, int y) :
image(img), width(frameWidth), height(frameHeight), delay(frameDelay), numFrames(maxFrames) {
currentFrame = 0;
frameCount = 0;
this->x = x;
this-... | 24.464286 | 123 | 0.681752 | Archiving |
d9539fbedcadbb7e5d6485aa4a514acb0adcf5f2 | 5,674 | cpp | C++ | sort/src/tracker.cpp | AsakusaRinne/tensorrt_yolov5_tracker | b9a3a6fc94710e8291d6a614ed2b04cbc4c56599 | [
"MIT"
] | 22 | 2021-03-03T10:16:37.000Z | 2022-01-05T14:47:38.000Z | sort/src/tracker.cpp | AsakusaRinne/tensorrt_yolov5_tracker | b9a3a6fc94710e8291d6a614ed2b04cbc4c56599 | [
"MIT"
] | 3 | 2021-05-27T01:52:16.000Z | 2021-07-13T08:49:30.000Z | sort/src/tracker.cpp | AsakusaRinne/tensorrt_yolov5_tracker | b9a3a6fc94710e8291d6a614ed2b04cbc4c56599 | [
"MIT"
] | 5 | 2021-03-23T07:13:05.000Z | 2022-02-18T09:10:17.000Z | #include "tracker.h"
Tracker::Tracker() {
id_ = 0;
}
float Tracker::CalculateIou(const cv::Rect& det, const Track& track) {
auto trk = track.GetStateAsBbox();
// get min/max points
auto xx1 = std::max(det.tl().x, trk.tl().x);
auto yy1 = std::max(det.tl().y, trk.tl().y);
auto xx2 = std::min(de... | 31.348066 | 85 | 0.527846 | AsakusaRinne |
d9561e5b654f0f2d887ec447b96bb9c62e313b7e | 5,729 | cpp | C++ | pybindings/pyhdbscan.cpp | wangyiqiu/hdbscan | 0f21522a4d34db040dd0cd6c6506ad39ed6f2a9e | [
"MIT"
] | 7 | 2021-03-29T05:54:11.000Z | 2021-12-28T04:13:10.000Z | pybindings/pyhdbscan.cpp | wangyiqiu/hdbscan | 0f21522a4d34db040dd0cd6c6506ad39ed6f2a9e | [
"MIT"
] | 1 | 2021-09-16T05:38:33.000Z | 2021-09-16T22:18:26.000Z | pybindings/pyhdbscan.cpp | wangyiqiu/hdbscan | 0f21522a4d34db040dd0cd6c6506ad39ed6f2a9e | [
"MIT"
] | 3 | 2021-07-13T23:42:47.000Z | 2021-12-05T12:55:20.000Z | #include "hdbscan/hdbscan.h"
#include "hdbscan/point.h"
#include "hdbscan/edge.h"
#include <string>
#include <limits>
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
#include <pybind11/numpy.h>
namespace py = pybind11;
using namespace parlay;
template<class T, class Seq>
py::array_t<T> wrapArray2d(Seq& resu... | 40.062937 | 117 | 0.579857 | wangyiqiu |
d9569c3daae5ab2508857810be13e24070662b22 | 6,383 | hpp | C++ | libraries/fc/include/fc/container/flat.hpp | theenemys/oasischain_inter | db968d4d0bd1a487f4edb4cb673fda481d24a06c | [
"MIT"
] | 37 | 2018-06-14T07:17:36.000Z | 2022-02-18T18:03:42.000Z | libraries/fc/include/fc/container/flat.hpp | theenemys/oasischain_inter | db968d4d0bd1a487f4edb4cb673fda481d24a06c | [
"MIT"
] | 36 | 2018-07-14T16:18:20.000Z | 2021-12-24T01:45:26.000Z | libraries/fc/include/fc/container/flat.hpp | theenemys/oasischain_inter | db968d4d0bd1a487f4edb4cb673fda481d24a06c | [
"MIT"
] | 131 | 2017-05-31T02:15:02.000Z | 2022-03-23T12:19:35.000Z | #pragma once
#include <fc/container/flat_fwd.hpp>
#include <fc/container/container_detail.hpp>
#include <boost/container/flat_map.hpp>
#include <boost/container/flat_set.hpp>
#include <fc/crypto/hex.hpp>
namespace fc {
namespace raw {
template<typename Stream, typename T, typename A>
void pack( Strea... | 34.13369 | 120 | 0.574025 | theenemys |
d95d2faee17dced9b66de9809813caec1c08cbc9 | 2,348 | hh | C++ | include/matrix.hh | KPO-2020-2021/zad3-Szymon-Sobczak | 57a6409da5bd2971b71f93f4118d2e8c52b0f83d | [
"Unlicense"
] | null | null | null | include/matrix.hh | KPO-2020-2021/zad3-Szymon-Sobczak | 57a6409da5bd2971b71f93f4118d2e8c52b0f83d | [
"Unlicense"
] | null | null | null | include/matrix.hh | KPO-2020-2021/zad3-Szymon-Sobczak | 57a6409da5bd2971b71f93f4118d2e8c52b0f83d | [
"Unlicense"
] | null | null | null | #pragma once
#include "size.hh"
#include "vector.hh"
#include <iostream>
#include <cstdlib>
#include <cmath>
/*************************************************************************************
| Klasa modelujaca w programie pojecie macierzy. |
| Klasa posiada prywatne pole "val... | 55.904762 | 140 | 0.611584 | KPO-2020-2021 |
d960c6dd1f2255bbe3434f92e1c3c1893370a74c | 153 | hpp | C++ | src/source/util/bytestream.hpp | mvpwizard/DLA | 5ead2574e61e619ca3a93f1e771e3988fc144928 | [
"MIT"
] | 1 | 2019-03-24T12:07:46.000Z | 2019-03-24T12:07:46.000Z | src/source/util/bytestream.hpp | nepitdev/DLA | 5ead2574e61e619ca3a93f1e771e3988fc144928 | [
"MIT"
] | 10 | 2019-03-06T20:27:39.000Z | 2019-11-27T08:28:12.000Z | src/source/util/bytestream.hpp | openepit/DLA | 5ead2574e61e619ca3a93f1e771e3988fc144928 | [
"MIT"
] | null | null | null | #pragma once
#include <vector>
#include <cinttypes>
namespace dla
{
class bytestream
{
public:
virtual uint8_t next() = 0;
};
} | 11.769231 | 35 | 0.594771 | mvpwizard |
d960e1141f07857795002d6608cc9b2bfdcf3aa4 | 18,824 | cpp | C++ | Sample001/src/main.cpp | Monsho/D3D12Samples | 4624fd64b57c12fee1085ecfba1f770f802a236c | [
"MIT"
] | 32 | 2017-10-11T00:23:17.000Z | 2022-01-02T14:08:56.000Z | Sample001/src/main.cpp | Monsho/D3D12Samples | 4624fd64b57c12fee1085ecfba1f770f802a236c | [
"MIT"
] | null | null | null | Sample001/src/main.cpp | Monsho/D3D12Samples | 4624fd64b57c12fee1085ecfba1f770f802a236c | [
"MIT"
] | 6 | 2019-01-18T13:16:01.000Z | 2021-09-07T09:43:20.000Z | #include <sl12/device.h>
#include <sl12/swapchain.h>
#include <sl12/command_queue.h>
#include <sl12/command_list.h>
#include <sl12/descriptor_heap.h>
#include <sl12/descriptor.h>
#include <sl12/texture.h>
#include <sl12/texture_view.h>
#include <sl12/sampler.h>
#include <sl12/fence.h>
#include <sl12/buffer.h>
#include... | 29.184496 | 197 | 0.740703 | Monsho |
d9632bf50b6a41f647f6954a10d20645a2a9c57c | 18,384 | hpp | C++ | src/sim-driver/SimCallbacks.hpp | LoganBarnes/SimulationDriver | 25b68b653afa81f3b55681513d3dd99fd36f6a5e | [
"MIT"
] | null | null | null | src/sim-driver/SimCallbacks.hpp | LoganBarnes/SimulationDriver | 25b68b653afa81f3b55681513d3dd99fd36f6a5e | [
"MIT"
] | 1 | 2018-02-24T11:47:26.000Z | 2018-02-24T11:47:26.000Z | src/sim-driver/SimCallbacks.hpp | LoganBarnes/SimulationDriver | 25b68b653afa81f3b55681513d3dd99fd36f6a5e | [
"MIT"
] | null | null | null | #pragma once
#include <sim-driver/CallbackWrapper.hpp>
#include <sim-driver/SimData.hpp>
#include <memory>
#define GLFW_INCLUDE_NONE
#include <GLFW/glfw3.h>
namespace sim {
template <size_t N>
struct priority_tag : public priority_tag<N - 1>
{
};
template <>
struct priority_tag<0>
{
};
template <typename C = Empt... | 36.260355 | 120 | 0.631364 | LoganBarnes |
d96cf49e6730cb56c4d72e6b5a8efcb85d7a8ad9 | 6,513 | cpp | C++ | OPERA-LG/src/GapCorrecter.cpp | lorenzgerber/OPERA-MS | bd1fb94f73a1bb7cefe3d9ad438bc3c53c069f9f | [
"MIT"
] | 81 | 2018-03-22T15:01:08.000Z | 2022-01-17T17:52:31.000Z | OPERA-LG/src/GapCorrecter.cpp | lorenzgerber/OPERA-MS | bd1fb94f73a1bb7cefe3d9ad438bc3c53c069f9f | [
"MIT"
] | 68 | 2017-09-14T08:17:53.000Z | 2022-03-09T18:56:12.000Z | OPERA-LG/src/GapCorrecter.cpp | lorenzgerber/OPERA-MS | bd1fb94f73a1bb7cefe3d9ad438bc3c53c069f9f | [
"MIT"
] | 21 | 2017-09-14T06:15:18.000Z | 2021-09-30T03:19:22.000Z | #include "GapCorrecter.h"
GapCorrecter::GapCorrecter(void){
m_gapList = new vector<Gap*>;
}
GapCorrecter::GapCorrecter( int max, int min, int contigLength, int mean, int std, int readLength, vector<double> *pos ){
m_gapList = new vector<Gap*>();
m_contigLength = 0;
m_contigLength = contigLength;
m_maxGapSize = m... | 24.393258 | 121 | 0.647014 | lorenzgerber |
d96dd08a6b14a3eaf66076413dcb98ef5c003663 | 2,716 | cpp | C++ | Cpp_Data_Structures_And_Algorithms/HashTableOpenAddressing.cpp | AnthonyDas/Cpp_Data_Structures_And_Algorithms | 4ba834803dde0285ee2695b7ef97afbcdcf0484a | [
"MIT"
] | null | null | null | Cpp_Data_Structures_And_Algorithms/HashTableOpenAddressing.cpp | AnthonyDas/Cpp_Data_Structures_And_Algorithms | 4ba834803dde0285ee2695b7ef97afbcdcf0484a | [
"MIT"
] | null | null | null | Cpp_Data_Structures_And_Algorithms/HashTableOpenAddressing.cpp | AnthonyDas/Cpp_Data_Structures_And_Algorithms | 4ba834803dde0285ee2695b7ef97afbcdcf0484a | [
"MIT"
] | null | null | null | #include <string>
#include <iostream>
#include "HashTableOpenAddressing.h"
HashTableOpenAddressing::HashTableOpenAddressing() {
// Initialize current size as 0
currentSize = 0;
// Initialize table
arr = new HashElement *[TABLE_SIZE];
for (int i = 0; i < TABLE_SIZE; ++i)
arr[i] = nullptr;
// Specify deleted n... | 24.468468 | 95 | 0.672312 | AnthonyDas |
d96eb2f9ec5a7d60f38c0f83da3303802db86ac1 | 1,710 | cpp | C++ | Source.cpp | UFFFF/TicTacToe | 7ba20567f9d71c07f2a67a9e5d55aa1521ccd0fb | [
"CC0-1.0"
] | null | null | null | Source.cpp | UFFFF/TicTacToe | 7ba20567f9d71c07f2a67a9e5d55aa1521ccd0fb | [
"CC0-1.0"
] | null | null | null | Source.cpp | UFFFF/TicTacToe | 7ba20567f9d71c07f2a67a9e5d55aa1521ccd0fb | [
"CC0-1.0"
] | null | null | null | #include <iostream>
#include <SFML/Graphics.hpp>
#include "Visual.h"
#include "Field.h"
int main() {
bool game_over = false;
int a = 0;
WinCon w;
Field f;
sf::RenderWindow window(sf::VideoMode(620, 620), "TicTacToe");
while (window.isOpen())
{
sf::Event event;
... | 34.897959 | 78 | 0.415205 | UFFFF |
d96f5dbe62d74dea33ddf962164768b362ec2e26 | 440 | hpp | C++ | src/visum/events/repeats/Weekdays.hpp | Mokon/visum | 53f602fcf22eadd60f446d04a26b4a6e7217c052 | [
"RSA-MD"
] | null | null | null | src/visum/events/repeats/Weekdays.hpp | Mokon/visum | 53f602fcf22eadd60f446d04a26b4a6e7217c052 | [
"RSA-MD"
] | null | null | null | src/visum/events/repeats/Weekdays.hpp | Mokon/visum | 53f602fcf22eadd60f446d04a26b4a6e7217c052 | [
"RSA-MD"
] | null | null | null | /* Copyright (C) 2013-2016 David 'Mokon' Bond, All Rights Reserved */
#pragma once
enum Weekdays
: uint8_t
{
Sunday = 0x01,
Monday = 0x02,
Tuesday = 0x04,
Wednesday = 0x08,
Thursday = 0x10,
Friday = 0x20,
Saturday = 0x40,
};
inline Weekdays operator|(Weekdays a, Weekdays b)
{... | 20 | 69 | 0.588636 | Mokon |
d97165b8ba5d737885033466a61556bf7b114470 | 2,800 | cpp | C++ | src/scene.cpp | teamprova/ProvaEngine-CPP | 0ba9b4b0d73a5a261194d5333e5a572c40c0c21f | [
"Unlicense"
] | null | null | null | src/scene.cpp | teamprova/ProvaEngine-CPP | 0ba9b4b0d73a5a261194d5333e5a572c40c0c21f | [
"Unlicense"
] | null | null | null | src/scene.cpp | teamprova/ProvaEngine-CPP | 0ba9b4b0d73a5a261194d5333e5a572c40c0c21f | [
"Unlicense"
] | null | null | null | #include <SDL.h>
#include <math.h>
#include <map>
#include "scene.hpp"
#include "entity.hpp"
#include "screen.hpp"
#include "collider2d.hpp"
#include "vector2.hpp"
#include "vector4.hpp"
#include "rect.hpp"
using namespace Prova;
void Scene::EnableDebug()
{
_debug = true;
}
void Scene::DisableDebug()
{
_debug = ... | 18.421053 | 70 | 0.666786 | teamprova |
d9745592d0b182ef1da12e586ee31f913dac15a4 | 2,160 | cpp | C++ | source/gtpBullet/gtCollisionShapeImpl.cpp | lineCode/gost.engine | 5f69216b97fc638663b6a38bee3cacfea2abf7ba | [
"MIT"
] | null | null | null | source/gtpBullet/gtCollisionShapeImpl.cpp | lineCode/gost.engine | 5f69216b97fc638663b6a38bee3cacfea2abf7ba | [
"MIT"
] | null | null | null | source/gtpBullet/gtCollisionShapeImpl.cpp | lineCode/gost.engine | 5f69216b97fc638663b6a38bee3cacfea2abf7ba | [
"MIT"
] | 2 | 2020-01-22T08:45:44.000Z | 2020-02-15T20:08:41.000Z | #include "common.h"
gtCollisionShapeImpl::gtCollisionShapeImpl(gtPhysicsBullet * ps):
m_ps( ps ),
m_shape( nullptr ),
m_shapeBase( nullptr )
{}
gtCollisionShapeImpl::~gtCollisionShapeImpl(){
if( m_shape ){
m_ps->_removeShape( m_shape );
}
}
bool gtCollisionShapeImpl::initBox( const v3f& size ){
m_shape = new... | 31.764706 | 126 | 0.753704 | lineCode |
d976167f2d2eb026e00b5a036c28b9a3a44a8230 | 3,894 | cpp | C++ | fboss/agent/hw/benchmarks/HwTxSlowPathBenchmark.cpp | bkoray/fboss | 31ba4fab15b61ee36b7a117a80c7d55bb4dc70c0 | [
"BSD-3-Clause"
] | null | null | null | fboss/agent/hw/benchmarks/HwTxSlowPathBenchmark.cpp | bkoray/fboss | 31ba4fab15b61ee36b7a117a80c7d55bb4dc70c0 | [
"BSD-3-Clause"
] | null | null | null | fboss/agent/hw/benchmarks/HwTxSlowPathBenchmark.cpp | bkoray/fboss | 31ba4fab15b61ee36b7a117a80c7d55bb4dc70c0 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2004-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
#in... | 34.460177 | 80 | 0.678223 | bkoray |
d97784a53ebaad89cdbcc8c73ea7f1034b620173 | 483 | cpp | C++ | src/Files/main.cpp | bbkane/Sandbox | 848030da315045888fd8542ddee49b929fa2e64a | [
"Unlicense"
] | null | null | null | src/Files/main.cpp | bbkane/Sandbox | 848030da315045888fd8542ddee49b929fa2e64a | [
"Unlicense"
] | null | null | null | src/Files/main.cpp | bbkane/Sandbox | 848030da315045888fd8542ddee49b929fa2e64a | [
"Unlicense"
] | null | null | null | #include <fstream>
#include <iostream>
#include <stdio.h> /* defines FILENAME_MAX */
#ifdef _WIN32
#include <direct.h>
#define GetCurrentDir _getcwd
#else
#include <unistd.h>
#define GetCurrentDir getcwd
#endif
int main()
{
char cCurrentPath[FILENAME_MAX];
if (!GetCurrentDir(cCurrentPath, sizeof(cCurrentPath)))
{... | 20.125 | 73 | 0.722567 | bbkane |
d979215a6c8f2f05746a09d0f4d5f6a81360e3db | 25,932 | cpp | C++ | src/Regard3DFeatures.cpp | RichardQZeng/Regard3D | 2822275259e9ca140b77b89c1edeccf72bc45f07 | [
"MIT"
] | 213 | 2015-06-14T03:29:16.000Z | 2022-03-25T17:42:43.000Z | src/Regard3DFeatures.cpp | RichardQZeng/Regard3D | 2822275259e9ca140b77b89c1edeccf72bc45f07 | [
"MIT"
] | 45 | 2015-10-25T16:59:24.000Z | 2022-02-08T22:44:52.000Z | src/Regard3DFeatures.cpp | RichardQZeng/Regard3D | 2822275259e9ca140b77b89c1edeccf72bc45f07 | [
"MIT"
] | 49 | 2015-07-02T05:28:15.000Z | 2022-01-23T06:37:31.000Z | /**
* Copyright (C) 2015 Roman Hiestand
*
* 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, publi... | 30.048667 | 138 | 0.691771 | RichardQZeng |
d9805e6f15e837c1ebb5c6b571337cb7cdbce9a8 | 7,562 | cpp | C++ | src/server_main/engine/scripting/character_script.cpp | snowmeltarcade/projectfarm | 6a35330f63bff06465c4ee1a0fbc5277c0d22982 | [
"MIT"
] | null | null | null | src/server_main/engine/scripting/character_script.cpp | snowmeltarcade/projectfarm | 6a35330f63bff06465c4ee1a0fbc5277c0d22982 | [
"MIT"
] | 7 | 2021-05-30T21:52:39.000Z | 2021-06-25T22:35:28.000Z | src/server_main/engine/scripting/character_script.cpp | snowmeltarcade/projectfarm | 6a35330f63bff06465c4ee1a0fbc5277c0d22982 | [
"MIT"
] | null | null | null | #include "character_script.h"
#include "character_script_object.h"
#include "engine/entities/character.h"
#include "engine/world/world.h"
#include "api/logging/logging.h"
namespace projectfarm::engine::scripting
{
std::vector<std::pair<shared::scripting::FunctionTypes, bool>> CharacterScript::GetFunctions() const ... | 36.887805 | 125 | 0.626686 | snowmeltarcade |
d99150de49d2059391a435d301295a0d27fea848 | 6,834 | hpp | C++ | src/asio_cares/include/asio_cares/channel.hpp | RobertLeahy/ASIO-C-ARES | f62150d4c5467396ac79fade11c6885cd5fe942c | [
"Unlicense"
] | 5 | 2019-03-30T17:42:31.000Z | 2021-07-02T18:48:05.000Z | src/asio_cares/include/asio_cares/channel.hpp | RobertLeahy/ASIO-C-ARES | f62150d4c5467396ac79fade11c6885cd5fe942c | [
"Unlicense"
] | null | null | null | src/asio_cares/include/asio_cares/channel.hpp | RobertLeahy/ASIO-C-ARES | f62150d4c5467396ac79fade11c6885cd5fe942c | [
"Unlicense"
] | 3 | 2019-01-30T03:43:58.000Z | 2020-03-04T04:01:55.000Z | /**
* \file
*/
#pragma once
#include <ares.h>
#include <boost/asio/deadline_timer.hpp>
#include <boost/asio/io_service.hpp>
#include <boost/asio/strand.hpp>
#include <boost/asio/ip/tcp.hpp>
#include <boost/asio/ip/udp.hpp>
#include <boost/system/error_code.hpp>
#include <mpark/variant.hpp>
#include <utility>
#inclu... | 31.348624 | 131 | 0.68803 | RobertLeahy |
d996397acbfa59e9d565c769b6c8f268a3d6b245 | 17,758 | cpp | C++ | lib/hip_surgery/xregPAOVolAfterRepo.cpp | rg2/xreg | c06440d7995f8a441420e311bb7b6524452843d3 | [
"MIT"
] | 30 | 2020-09-29T18:36:13.000Z | 2022-03-28T09:25:13.000Z | lib/hip_surgery/xregPAOVolAfterRepo.cpp | gaocong13/Orthopedic-Robot-Navigation | bf36f7de116c1c99b86c9ba50f111c3796336af0 | [
"MIT"
] | 3 | 2020-10-09T01:21:27.000Z | 2020-12-10T15:39:44.000Z | lib/hip_surgery/xregPAOVolAfterRepo.cpp | rg2/xreg | c06440d7995f8a441420e311bb7b6524452843d3 | [
"MIT"
] | 8 | 2021-05-25T05:14:48.000Z | 2022-02-26T12:29:50.000Z | /*
* MIT License
*
* Copyright (c) 2020 Robert Grupp
*
* 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, mod... | 33.192523 | 115 | 0.661843 | rg2 |
d2664dc46a98979d200eefbe15b199bf717c247d | 36,291 | hpp | C++ | src/axom/mint/execution/internal/for_all_faces.hpp | bmhan12/axom | fbee125aec6357340f35b6fd5d0d4a62a3c80733 | [
"BSD-3-Clause"
] | null | null | null | src/axom/mint/execution/internal/for_all_faces.hpp | bmhan12/axom | fbee125aec6357340f35b6fd5d0d4a62a3c80733 | [
"BSD-3-Clause"
] | null | null | null | src/axom/mint/execution/internal/for_all_faces.hpp | bmhan12/axom | fbee125aec6357340f35b6fd5d0d4a62a3c80733 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2017-2021, Lawrence Livermore National Security, LLC and
// other Axom Project Developers. See the top-level LICENSE file for details.
//
// SPDX-License-Identifier: (BSD-3-Clause)
#ifndef MINT_FOR_ALL_FACES_HPP_
#define MINT_FOR_ALL_FACES_HPP_
// Axom core includes
#include "axom/config.hpp... | 34.333964 | 86 | 0.525034 | bmhan12 |
d266b8077013c9ffe750c9f6e334bf630be5fae3 | 4,056 | cpp | C++ | src/Seasons.cpp | powerof3/SeasonsOfSkyrim | 6a35bf36e6c1d808eea6a77a485eb267e0b36236 | [
"MIT"
] | 6 | 2022-01-25T04:15:38.000Z | 2022-03-04T13:02:30.000Z | src/Seasons.cpp | alandtse/SeasonsOfSkyrim | b26893a9bfb82bdcf655d0cbd6551d43e195f651 | [
"MIT"
] | null | null | null | src/Seasons.cpp | alandtse/SeasonsOfSkyrim | b26893a9bfb82bdcf655d0cbd6551d43e195f651 | [
"MIT"
] | 4 | 2022-01-25T04:15:42.000Z | 2022-03-14T02:53:59.000Z | #include "Seasons.h"
void Season::LoadSettings(CSimpleIniA& a_ini, bool a_writeComment)
{
const auto& [seasonType, suffix] = ID;
logger::info("{}", seasonType);
INI::get_value(a_ini, validWorldspaces, seasonType.c_str(), "Worldspaces", a_writeComment ? ";Valid worldspaces." : ";");
INI::get_value(a_ini, swapAct... | 31.44186 | 238 | 0.709073 | powerof3 |
d26a2c70c3317556e82aa4db4c2d9767e6e90a97 | 1,300 | hpp | C++ | src/accel/bvh.hpp | jkrueger/phosphorus_mk2 | f26330fc2d013ca875d68de78ea9f92f344ddf4e | [
"MIT"
] | 2 | 2019-12-12T04:59:41.000Z | 2020-09-15T12:57:35.000Z | src/accel/bvh.hpp | jkrueger/phosphorus_mk2 | f26330fc2d013ca875d68de78ea9f92f344ddf4e | [
"MIT"
] | 1 | 2020-09-15T12:58:42.000Z | 2020-09-15T12:58:42.000Z | src/accel/bvh.hpp | jkrueger/phosphorus_mk2 | f26330fc2d013ca875d68de78ea9f92f344ddf4e | [
"MIT"
] | null | null | null | #pragma once
#include "../triangle.hpp"
#include "bvh/node.hpp"
#include "bvh/builder.hpp"
#include "math/simd.hpp"
namespace accel {
namespace triangle {
template<int N> struct moeller_trumbore_t;
}
/* this models a regular bounding volume hierarchy, but with n-wide
* nodes, which allows to do multipl... | 25.490196 | 80 | 0.685385 | jkrueger |
d26a321fcfeac98248db1d9c69c4a84976c46354 | 6,814 | hpp | C++ | sources/SceneGraph/Collision/spCollisionConfigTypes.hpp | rontrek/softpixel | 73a13a67e044c93f5c3da9066eedbaf3805d6807 | [
"Zlib"
] | 14 | 2015-08-16T21:05:20.000Z | 2019-08-21T17:22:01.000Z | sources/SceneGraph/Collision/spCollisionConfigTypes.hpp | rontrek/softpixel | 73a13a67e044c93f5c3da9066eedbaf3805d6807 | [
"Zlib"
] | null | null | null | sources/SceneGraph/Collision/spCollisionConfigTypes.hpp | rontrek/softpixel | 73a13a67e044c93f5c3da9066eedbaf3805d6807 | [
"Zlib"
] | 3 | 2016-10-31T06:08:44.000Z | 2019-08-02T16:12:33.000Z | /*
* Collision configuration types header
*
* This file is part of the "SoftPixel Engine" (Copyright (c) 2008 by Lukas Hermanns)
* See "SoftPixelEngine.hpp" for license information.
*/
#ifndef __SP_COLLISION_CONFIG_TYPES_H__
#define __SP_COLLISION_CONFIG_TYPES_H__
#include "Base/spStandard.hpp"
#include "Base/... | 30.150442 | 174 | 0.612709 | rontrek |
d270709304d1c91565917bfd4d0c1c804bb31c9d | 2,565 | hpp | C++ | modules/core/include/facekit/core/utils/proto.hpp | cecabert/FaceKit | 766a32fc7f65ae5deceeba5628c225631986c4d8 | [
"Apache-2.0"
] | null | null | null | modules/core/include/facekit/core/utils/proto.hpp | cecabert/FaceKit | 766a32fc7f65ae5deceeba5628c225631986c4d8 | [
"Apache-2.0"
] | null | null | null | modules/core/include/facekit/core/utils/proto.hpp | cecabert/FaceKit | 766a32fc7f65ae5deceeba5628c225631986c4d8 | [
"Apache-2.0"
] | 1 | 2017-11-29T12:03:08.000Z | 2017-11-29T12:03:08.000Z | /**
* @file proto.hpp
* @brief Utility function for dealing with protocol buffer object
* @ingroup core
*
* @author Christophe Ecabert
* @date 01.03.18
* Copyright © 2018 Christophe Ecabert. All rights reserved.
*/
#ifndef __FACEKIT_PROTO__
#define __FACEKIT_PROTO__
#include <string>
#include "face... | 32.468354 | 78 | 0.634308 | cecabert |
d27350e83f6abfe6deec2e7ab9dbdec631d6aea1 | 3,442 | hpp | C++ | Recorder/src/WaitEventThread.hpp | vividos/OldStuff | dbfcce086d1101b576d99d25ef051efbd8dd117c | [
"BSD-2-Clause"
] | 1 | 2015-03-26T02:35:13.000Z | 2015-03-26T02:35:13.000Z | Recorder/src/WaitEventThread.hpp | vividos/OldStuff | dbfcce086d1101b576d99d25ef051efbd8dd117c | [
"BSD-2-Clause"
] | null | null | null | Recorder/src/WaitEventThread.hpp | vividos/OldStuff | dbfcce086d1101b576d99d25ef051efbd8dd117c | [
"BSD-2-Clause"
] | null | null | null | //
// Recorder - a GPS logger app for Windows Mobile
// Copyright (C) 2006-2019 Michael Fink
//
/// \file WaitEventThread.hpp WaitEvent() thread
//
#pragma once
#include "WorkerThread.hpp"
#include <boost/bind.hpp>
/// \brief class that implements a worker thread that waits on a serial port for read/write events
/// ... | 27.536 | 98 | 0.663277 | vividos |
d27d1696d8ed42ec726e940b9cf9f5dfc88a00fb | 7,762 | cc | C++ | src/corbaExample/src/cpp/RemoteFileServerSK.cc | jahlborn/rmiio | 58c05f29e6dbc44c0f18c9a2247aff113d487c71 | [
"Apache-2.0"
] | 7 | 2016-04-05T15:58:01.000Z | 2020-10-30T18:38:05.000Z | src/corbaExample/src/cpp/RemoteFileServerSK.cc | jahlborn/rmiio | 58c05f29e6dbc44c0f18c9a2247aff113d487c71 | [
"Apache-2.0"
] | 2 | 2016-07-04T01:32:56.000Z | 2020-12-11T02:54:56.000Z | src/corbaExample/src/cpp/RemoteFileServerSK.cc | jahlborn/rmiio | 58c05f29e6dbc44c0f18c9a2247aff113d487c71 | [
"Apache-2.0"
] | 6 | 2016-04-05T15:58:16.000Z | 2020-04-27T21:45:47.000Z | // This file is generated by omniidl (C++ backend)- omniORB_4_1. Do not edit.
#include "RemoteFileServer.hh"
#include <omniORB4/IOP_S.h>
#include <omniORB4/IOP_C.h>
#include <omniORB4/callDescriptor.h>
#include <omniORB4/callHandle.h>
#include <omniORB4/objTracker.h>
OMNI_USING_NAMESPACE(omni)
static const char* _0... | 27.820789 | 159 | 0.741304 | jahlborn |
d2817fdc1cecd6818bc37383ccb537ab035c409e | 32,675 | cpp | C++ | Classes/HelloWorldScene.cpp | otakuidoru/Reflection | 05d55655a75813c7d4f0f5dee4d69a2c05476396 | [
"MIT"
] | null | null | null | Classes/HelloWorldScene.cpp | otakuidoru/Reflection | 05d55655a75813c7d4f0f5dee4d69a2c05476396 | [
"MIT"
] | null | null | null | Classes/HelloWorldScene.cpp | otakuidoru/Reflection | 05d55655a75813c7d4f0f5dee4d69a2c05476396 | [
"MIT"
] | null | null | null | /****************************************************************************
Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal... | 35.867179 | 353 | 0.673298 | otakuidoru |
d28713ecd5b2df494c956cf82d037b165648833a | 545 | hpp | C++ | hoibase/include/hoibase/helper/library.hpp | openhoi/openhoi | 5705ea8456ac526645f943b78b37bb993d44320c | [
"BSD-2-Clause",
"MIT"
] | 2 | 2022-02-11T17:28:38.000Z | 2022-03-17T00:57:40.000Z | hoibase/include/hoibase/helper/library.hpp | openhoi/openhoi | 5705ea8456ac526645f943b78b37bb993d44320c | [
"BSD-2-Clause",
"MIT"
] | 1 | 2019-03-07T09:51:18.000Z | 2019-03-07T09:51:18.000Z | hoibase/include/hoibase/helper/library.hpp | openhoi/openhoi | 5705ea8456ac526645f943b78b37bb993d44320c | [
"BSD-2-Clause",
"MIT"
] | 6 | 2019-10-03T13:26:53.000Z | 2022-03-20T14:33:22.000Z | // Copyright 2018-2019 the openhoi authors. See COPYING.md for legal info.
#pragma once
#if defined(_MSC_VER)
// Microsoft Visual Studio
# define OPENHOI_LIB_EXPORT __declspec(dllexport)
# define OPENHOI_LIB_IMPORT __declspec(dllimport)
#elif defined(__GNUC__)
// GCC
# define OPENHOI_LIB_EXPORT __attribute__((vi... | 30.277778 | 74 | 0.783486 | openhoi |
d2877dd17038f63f0aee5411151cf78462356faf | 2,048 | cpp | C++ | test/lexer.cpp | sethitow/stc | 28894bda001f00828613941d1a6da7cc3720dd52 | [
"MIT"
] | null | null | null | test/lexer.cpp | sethitow/stc | 28894bda001f00828613941d1a6da7cc3720dd52 | [
"MIT"
] | 3 | 2021-07-24T23:06:37.000Z | 2021-08-21T03:24:58.000Z | test/lexer.cpp | sethitow/stc | 28894bda001f00828613941d1a6da7cc3720dd52 | [
"MIT"
] | null | null | null | #include "gtest/gtest.h"
#include "../src/lexer.hpp"
#include "../src/token.hpp"
TEST(Lexer, Function)
{
std::string input = "FUNCTION F_Sample : INT"
" VAR_INPUT"
" x : INT;"
" y : INT;"
" END_VAR"
... | 30.117647 | 94 | 0.487793 | sethitow |
d28dff0987dbb8ae6edb9bcb56c0f3199a19a8da | 1,606 | cpp | C++ | ext/stub/javax/swing/JComponent_ReadObjectCallback-stub.cpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | ext/stub/javax/swing/JComponent_ReadObjectCallback-stub.cpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | ext/stub/javax/swing/JComponent_ReadObjectCallback-stub.cpp | pebble2015/cpoi | 6dcc0c5e13e3e722b4ef9fd0baffbf62bf71ead6 | [
"Apache-2.0"
] | null | null | null | // Generated from /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre/lib/rt.jar
#include <javax/swing/JComponent_ReadObjectCallback.hpp>
#include <javax/swing/JComponent.hpp>
extern void unimplemented_(const char16_t* name);
javax::swing::JComponent_ReadObjectCallback::JComponent_ReadObjectCallback(... | 34.913043 | 137 | 0.750311 | pebble2015 |
d2904c04e891f05dddd6b2eaf3574eaa05531979 | 1,178 | cpp | C++ | TEST_C++/Test_env/src/robot-config.cpp | Asik007/1526B-VEX-code | 69dc0187001b70793afa7a395be563daf303d163 | [
"MIT"
] | 1 | 2021-11-02T20:27:41.000Z | 2021-11-02T20:27:41.000Z | TEST_C++/Test_env/src/robot-config.cpp | Asik007/1526B-VEX-code | 69dc0187001b70793afa7a395be563daf303d163 | [
"MIT"
] | null | null | null | TEST_C++/Test_env/src/robot-config.cpp | Asik007/1526B-VEX-code | 69dc0187001b70793afa7a395be563daf303d163 | [
"MIT"
] | 1 | 2021-09-05T19:06:36.000Z | 2021-09-05T19:06:36.000Z | #include "vex.h"
using namespace vex;
using signature = vision::signature;
using code = vision::code;
// A global instance of brain used for printing to the V5 Brain screen
brain Brain;
// VEXcode device constructors
encoder EncoderA = encoder(Brain.ThreeWirePort.A);
encoder EncoderB = encoder(Brain.ThreeWirePort.C... | 33.657143 | 125 | 0.774194 | Asik007 |
d2909926506b3d7751e7378311fa03c544095476 | 700 | cpp | C++ | CPP-BasicToAdvanced/CPP-BasicToAdvanced/Math.cpp | JCharlieDev/CPP-Intro | 3d4888d413a09ae3579ef9079eaf1982a10c0d05 | [
"MIT"
] | null | null | null | CPP-BasicToAdvanced/CPP-BasicToAdvanced/Math.cpp | JCharlieDev/CPP-Intro | 3d4888d413a09ae3579ef9079eaf1982a10c0d05 | [
"MIT"
] | null | null | null | CPP-BasicToAdvanced/CPP-BasicToAdvanced/Math.cpp | JCharlieDev/CPP-Intro | 3d4888d413a09ae3579ef9079eaf1982a10c0d05 | [
"MIT"
] | null | null | null | // #define INTEGER int
// Stuff about how the compiler works and how to read the output files in the properties menu of the project.
// How to set up the optimization and how it affects the code
// How header files work and use them to generate and replace code.
#include <iostream>
#include "Log.h"
//// Optimized ve... | 21.212121 | 109 | 0.69 | JCharlieDev |
d293c5755c27c9cb0da3e2df7cf15417ee7552a0 | 724 | hpp | C++ | src/mirrage/graphic/src/ktx_parser.hpp | lowkey42/mirrage | 2527537989a548062d0bbca8370d063fc6b81a18 | [
"MIT"
] | 14 | 2017-10-26T08:45:54.000Z | 2021-04-06T11:44:17.000Z | src/mirrage/graphic/src/ktx_parser.hpp | lowkey42/mirrage | 2527537989a548062d0bbca8370d063fc6b81a18 | [
"MIT"
] | 17 | 2017-10-09T20:11:58.000Z | 2018-11-08T22:05:14.000Z | src/mirrage/graphic/src/ktx_parser.hpp | lowkey42/mirrage | 2527537989a548062d0bbca8370d063fc6b81a18 | [
"MIT"
] | 1 | 2018-09-26T23:10:06.000Z | 2018-09-26T23:10:06.000Z | #pragma once
#include <mirrage/asset/stream.hpp>
#include <mirrage/graphic/vk_wrapper.hpp>
#include <mirrage/utils/maybe.hpp>
#include <vulkan/vulkan.hpp>
namespace mirrage::graphic {
// https://www.khronos.org/opengles/sdk/tools/KTX/file_format_spec/
struct Ktx_header {
std::uint32_t width;
std::uint32_t he... | 24.965517 | 99 | 0.723757 | lowkey42 |
d295da490be9ad3d3473fe46d9ca69bd4f30687d | 21,046 | cpp | C++ | src/cmd/kits/row.cpp | caetanosauer/fineline-zero | 74490df94728e513c2dd41f3edb8200698548b78 | [
"Spencer-94"
] | 12 | 2018-12-14T08:57:05.000Z | 2021-12-14T17:37:44.000Z | src/cmd/kits/row.cpp | caetanosauer/fineline-zero | 74490df94728e513c2dd41f3edb8200698548b78 | [
"Spencer-94"
] | null | null | null | src/cmd/kits/row.cpp | caetanosauer/fineline-zero | 74490df94728e513c2dd41f3edb8200698548b78 | [
"Spencer-94"
] | 2 | 2019-08-04T21:39:12.000Z | 2019-11-09T03:18:48.000Z | /* -*- mode:C++; c-basic-offset:4 -*-
Shore-kits -- Benchmark implementations for Shore-MT
Copyright (c) 2007-2009
Data Intensive Applications and Systems Labaratory (DIAS)
Ecole Polytechnique Federale de Lausanne
All Rights Reserved.
Permi... | 29.311978 | 89 | 0.518483 | caetanosauer |
d297aeafc8dcbdcc08449980c5e500b23432f323 | 5,171 | cpp | C++ | platform/mbedtls/network.cpp | jflynn129/aws-iot-device-sdk-mbed-c | 3248e6ea5467aaa2fc5f66ee6baca9f50095daa8 | [
"Apache-2.0"
] | null | null | null | platform/mbedtls/network.cpp | jflynn129/aws-iot-device-sdk-mbed-c | 3248e6ea5467aaa2fc5f66ee6baca9f50095daa8 | [
"Apache-2.0"
] | null | null | null | platform/mbedtls/network.cpp | jflynn129/aws-iot-device-sdk-mbed-c | 3248e6ea5467aaa2fc5f66ee6baca9f50095daa8 | [
"Apache-2.0"
] | null | null | null | /*
* TCP/IP or UDP/IP networking functions
*
* This version of net_sockets.c is setup to use ARM easy-connect for network connectivity
*
*
* 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 Lice... | 23.188341 | 98 | 0.662928 | jflynn129 |
d29f5e0ba91821cf5241b47ddb346d3a89d8fe18 | 477 | cpp | C++ | src/RE/Scaleform/GAtomic/GAtomic.cpp | thallada/CommonLibSSE | b092c699c3ccd1af6d58d05f677f2977ec054cfe | [
"MIT"
] | 1 | 2021-08-30T20:33:43.000Z | 2021-08-30T20:33:43.000Z | src/RE/Scaleform/GAtomic/GAtomic.cpp | thallada/CommonLibSSE | b092c699c3ccd1af6d58d05f677f2977ec054cfe | [
"MIT"
] | null | null | null | src/RE/Scaleform/GAtomic/GAtomic.cpp | thallada/CommonLibSSE | b092c699c3ccd1af6d58d05f677f2977ec054cfe | [
"MIT"
] | 1 | 2020-10-08T02:48:33.000Z | 2020-10-08T02:48:33.000Z | #include "RE/Scaleform/GAtomic/GAtomic.h"
namespace RE
{
GLock::Locker::Locker(GLock* a_lock)
{
lock = a_lock;
lock->Lock();
}
GLock::Locker::~Locker()
{
lock->Unlock();
}
GLock::GLock(std::uint32_t a_spinCount)
{
::InitializeCriticalSectionAndSpinCount(&cs, a_spinCount);
}
GLock::~GLock()
{
... | 11.357143 | 60 | 0.637317 | thallada |
d2a1120223d31252ef287252028181cb58f0bdf7 | 533 | cc | C++ | CMC040/smg/lbr_get_record.cc | khandy21yo/aplus | 3b4024a2a8315f5dcc78479a24100efa3c4a6504 | [
"MIT"
] | 1 | 2018-10-17T08:53:17.000Z | 2018-10-17T08:53:17.000Z | CMC040/smg/lbr_get_record.cc | khandy21yo/aplus | 3b4024a2a8315f5dcc78479a24100efa3c4a6504 | [
"MIT"
] | null | null | null | CMC040/smg/lbr_get_record.cc | khandy21yo/aplus | 3b4024a2a8315f5dcc78479a24100efa3c4a6504 | [
"MIT"
] | null | null | null | //! \file
//! \brief Get Record
//!
#include <string>
#include "smg/lbr.h"
//!
//! \brief Get Record
//!
long lbr$get_record(
lbr_index_cdd &lr_index,
std::string &text)
{
//
// Nothing left
//
if (lr_index.datum.size() == 0)
{
text = "";
return 0;
}
//
// Pull off one line of text
//
int pos = lr_i... | 12.690476 | 39 | 0.581614 | khandy21yo |
d2b1af3211a02523576f5d63fe617aea84a3a3fb | 1,786 | hpp | C++ | CfgLoadouts.hpp | TheeProTag/Atropia_Free | 0988c6addaf7cd2334e0d8d553d61ed50dd6faa5 | [
"Unlicense"
] | null | null | null | CfgLoadouts.hpp | TheeProTag/Atropia_Free | 0988c6addaf7cd2334e0d8d553d61ed50dd6faa5 | [
"Unlicense"
] | null | null | null | CfgLoadouts.hpp | TheeProTag/Atropia_Free | 0988c6addaf7cd2334e0d8d553d61ed50dd6faa5 | [
"Unlicense"
] | null | null | null | class CfgLoadouts {
//Use POTATO to run gear assignment
usePotato = 1;
//Fast, Easy Settings to change loadouts without touching the arrays. For TVT Balancing.
//Allow Zoomed Optics (1 is true, 0 is false) <Anything like a HAMR (4x) optic won't be added, "red dot" would be fine>
allowMagnifiedOptics = 0;
... | 44.65 | 121 | 0.68869 | TheeProTag |
d2b2eb6cf3915ec8d95adbc664266f87372bc5c2 | 367 | cpp | C++ | docs/atl-mfc-shared/codesnippet/CPP/cstringt-class_39.cpp | bobbrow/cpp-docs | 769b186399141c4ea93400863a7d8463987bf667 | [
"CC-BY-4.0",
"MIT"
] | 965 | 2017-06-25T23:57:11.000Z | 2022-03-31T14:17:32.000Z | docs/atl-mfc-shared/codesnippet/CPP/cstringt-class_39.cpp | bobbrow/cpp-docs | 769b186399141c4ea93400863a7d8463987bf667 | [
"CC-BY-4.0",
"MIT"
] | 3,272 | 2017-06-24T00:26:34.000Z | 2022-03-31T22:14:07.000Z | docs/atl-mfc-shared/codesnippet/CPP/cstringt-class_39.cpp | bobbrow/cpp-docs | 769b186399141c4ea93400863a7d8463987bf667 | [
"CC-BY-4.0",
"MIT"
] | 951 | 2017-06-25T12:36:14.000Z | 2022-03-26T22:49:06.000Z | // typedef CStringT<TCHAR, StrTraitATL<TCHAR, ChTraitsCRT<TCHAR>>> CAtlString;
CAtlString str(_T("%First Second#Third"));
CAtlString resToken;
int curPos = 0;
resToken= str.Tokenize(_T("% #"),curPos);
while (resToken != _T(""))
{
_tprintf_s(_T("Resulting token: %s\n"), resToken);
resTo... | 33.363636 | 81 | 0.615804 | bobbrow |
d2b61e4b76cb18e954f0173aade99523bd7bbcde | 320 | cpp | C++ | src/widgets/fonteditor.cpp | Eggbertx/QtSphere-IDE | 7ae7ed840fcef7a79fb47a6903afb95ca23838ca | [
"BSD-2-Clause"
] | 12 | 2017-05-04T16:58:07.000Z | 2021-06-09T03:08:29.000Z | src/widgets/fonteditor.cpp | Eggbertx/QtSphere-IDE | 7ae7ed840fcef7a79fb47a6903afb95ca23838ca | [
"BSD-2-Clause"
] | 1 | 2017-06-19T03:30:22.000Z | 2018-04-09T21:35:00.000Z | src/widgets/fonteditor.cpp | Eggbertx/QtSphere-IDE | 7ae7ed840fcef7a79fb47a6903afb95ca23838ca | [
"BSD-2-Clause"
] | 1 | 2018-09-04T00:27:54.000Z | 2018-09-04T00:27:54.000Z | #include "fonteditor.h"
#include "ui_fonteditor.h"
// This doesn't do anything yet, and with the direction
// I'm planning on taking QSI, it might be removed.
FontEditor::FontEditor(QWidget *parent): QWidget(parent), ui(new Ui::FontEditor) {
ui->setupUi(this);
}
FontEditor::~FontEditor() {
delete ui;
}
| 24.615385 | 83 | 0.69375 | Eggbertx |
d2bf610f8676af660ad0a6574d700801e15affce | 3,078 | cpp | C++ | src/plugins/sb2/tabunhidelistview.cpp | MellonQ/leechcraft | 71cbb238d2dade56b3865278a6a8e6a58c217fc5 | [
"BSL-1.0"
] | 1 | 2017-01-12T07:05:45.000Z | 2017-01-12T07:05:45.000Z | src/plugins/sb2/tabunhidelistview.cpp | MellonQ/leechcraft | 71cbb238d2dade56b3865278a6a8e6a58c217fc5 | [
"BSL-1.0"
] | null | null | null | src/plugins/sb2/tabunhidelistview.cpp | MellonQ/leechcraft | 71cbb238d2dade56b3865278a6a8e6a58c217fc5 | [
"BSL-1.0"
] | null | null | null | /**********************************************************************
* LeechCraft - modular cross-platform feature rich internet client.
* Copyright (C) 2006-2014 Georg Rudoy
*
* Boost Software License - Version 1.0 - August 17th, 2003
*
* Permission is hereby granted, free of charge, to any person or organiz... | 35.790698 | 93 | 0.690058 | MellonQ |
d2c158a5d6b3e21981c3908c958902651f26de91 | 2,146 | hpp | C++ | decompiler/exe.hpp | WastedMeerkat/gm81decompiler | 80040ac74f95af03b4b6649b0f5be11a7d13700b | [
"MIT"
] | 40 | 2017-07-31T22:20:49.000Z | 2022-01-28T14:57:44.000Z | decompiler/exe.hpp | nkrapivin/gm81decompiler | bae1f8c3f52ed80c50319555c96752d087520821 | [
"MIT"
] | null | null | null | decompiler/exe.hpp | nkrapivin/gm81decompiler | bae1f8c3f52ed80c50319555c96752d087520821 | [
"MIT"
] | 15 | 2015-12-29T16:36:28.000Z | 2021-12-19T09:04:54.000Z | /*
* exe.hpp
* GM EXE Abstraction
*/
#ifndef __EXE_HPP
#define __EXE_HPP
#include <iostream>
#include <string>
#include "gmk.hpp"
#define SWAP_TABLE_SIZE 256
// Icon headers
#pragma pack(push, 1)
typedef struct {
unsigned char bWidth; // Width, in pixels, of the image
unsigned char ... | 26.493827 | 84 | 0.66123 | WastedMeerkat |
d2c20f256d5fd0bec41871a5c726c73f480ca8b6 | 2,802 | cpp | C++ | mfcc/Feature/mathtool.cpp | wengsht/cuda-mfcc-gmm | 83587058e3b023060de15f05d848d730add2fe65 | [
"MIT",
"Unlicense"
] | 9 | 2015-07-07T11:56:20.000Z | 2021-02-11T01:31:02.000Z | mfcc/Feature/mathtool.cpp | wengsht/cuda-mfcc-gmm | 83587058e3b023060de15f05d848d730add2fe65 | [
"MIT",
"Unlicense"
] | 1 | 2015-07-25T14:04:00.000Z | 2015-07-25T14:04:00.000Z | mfcc/Feature/mathtool.cpp | wengsht/cuda-mfcc-gmm | 83587058e3b023060de15f05d848d730add2fe65 | [
"MIT",
"Unlicense"
] | 5 | 2015-04-23T12:30:48.000Z | 2019-02-11T06:53:43.000Z | //
// mathtool.cpp
// SpeechRecongnitionSystem
//
// Created by Admin on 9/11/14.
// Copyright (c) 2014 Admin. All rights reserved.
//
#include "mathtool.h"
#include <assert.h>
#include <iostream>
#include "math.h"
#include "Feature.h"
using namespace std;
const int MAXN = 1000;
// fft(a, n, 1) -- dft
// fft(a, ... | 22.780488 | 95 | 0.457173 | wengsht |
d2c49949e6e8fcbcc67831349a64f1862e838466 | 13,978 | cpp | C++ | examples/platforms/utils/settings.cpp | mostafanfs/openthread | 28c049f2ce0b664abf2f85562cfd9b79b4680389 | [
"BSD-3-Clause"
] | null | null | null | examples/platforms/utils/settings.cpp | mostafanfs/openthread | 28c049f2ce0b664abf2f85562cfd9b79b4680389 | [
"BSD-3-Clause"
] | null | null | null | examples/platforms/utils/settings.cpp | mostafanfs/openthread | 28c049f2ce0b664abf2f85562cfd9b79b4680389 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2016, The OpenThread Authors.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this ... | 30.453159 | 124 | 0.645443 | mostafanfs |
d2c6555ef3950ab04bf037f26f7c58a15c32538f | 1,014 | cpp | C++ | Source/OpenTournament/OpenTournament.cpp | HAARP-art/OpenTournament | 1bb188983ba4d013a8ce00bbe1a333f2952814e8 | [
"OML"
] | 97 | 2020-05-24T23:09:26.000Z | 2022-01-22T13:35:58.000Z | Source/OpenTournament/OpenTournament.cpp | HAARP-art/OpenTournament | 1bb188983ba4d013a8ce00bbe1a333f2952814e8 | [
"OML"
] | 165 | 2020-05-26T02:42:54.000Z | 2022-03-29T11:01:11.000Z | Source/OpenTournament/OpenTournament.cpp | HAARP-art/OpenTournament | 1bb188983ba4d013a8ce00bbe1a333f2952814e8 | [
"OML"
] | 78 | 2020-05-24T23:10:29.000Z | 2022-03-14T13:54:09.000Z | // Copyright (c) 2019-2020 Open Tournament Project, All Rights Reserved.
/////////////////////////////////////////////////////////////////////////////////////////////////
#include "OpenTournament.h"
#include "Modules/ModuleManager.h"
////////////////////////////////////////////////////////////////////////////... | 34.965517 | 98 | 0.466469 | HAARP-art |
d2c83b39d7219d090d32fd1079c275a0d301ff43 | 357 | hh | C++ | c++/gtest_tryout/corba_proxy.hh | jdmichaud/snippets | 1af85cf25156231165838b309860586f62bf43e2 | [
"Apache-2.0"
] | null | null | null | c++/gtest_tryout/corba_proxy.hh | jdmichaud/snippets | 1af85cf25156231165838b309860586f62bf43e2 | [
"Apache-2.0"
] | null | null | null | c++/gtest_tryout/corba_proxy.hh | jdmichaud/snippets | 1af85cf25156231165838b309860586f62bf43e2 | [
"Apache-2.0"
] | null | null | null | #ifndef __CORBA_PROXY__
#define __CORBA_PROXY__
#include <iostream>
class CorbaProxy {
public:
CorbaProxy() {}
virtual ~CorbaProxy() {}
virtual void corba_call_1(unsigned int i) {
std::cout << "corba_call_1 " << i << std::endl;
}
virtual void corba_call_2() {
std::cout << "corba_call_2" << std::end... | 17.85 | 51 | 0.661064 | jdmichaud |
d2cbdf2f76ae487e03495662b7b82b3948c23860 | 1,949 | hh | C++ | extern/polymesh/src/polymesh/attributes/fast_clear_attribute.hh | rovedit/Fort-Candle | 445fb94852df56c279c71b95c820500e7fb33cf7 | [
"MIT"
] | null | null | null | extern/polymesh/src/polymesh/attributes/fast_clear_attribute.hh | rovedit/Fort-Candle | 445fb94852df56c279c71b95c820500e7fb33cf7 | [
"MIT"
] | null | null | null | extern/polymesh/src/polymesh/attributes/fast_clear_attribute.hh | rovedit/Fort-Candle | 445fb94852df56c279c71b95c820500e7fb33cf7 | [
"MIT"
] | null | null | null | #pragma once
#include <polymesh/attributes.hh>
#include <polymesh/primitives.hh>
namespace polymesh
{
template <class T, class tag, class gen_t = int>
struct fast_clear_attribute;
template <class T, class gen_t = int, class mesh_ptr, class tag, class iterator>
fast_clear_attribute<T, tag, gen_t> make_fast_clear_attr... | 27.842857 | 141 | 0.654182 | rovedit |
d2cc8c0bca403ffbe14591ae09841c606490bdb7 | 2,298 | cpp | C++ | src/application.qt.objectview/ObjectViewPlugin.cpp | toeb/sine | 96bcde571218f89a2b0b3cc51c19ad2b7be89c13 | [
"MIT"
] | null | null | null | src/application.qt.objectview/ObjectViewPlugin.cpp | toeb/sine | 96bcde571218f89a2b0b3cc51c19ad2b7be89c13 | [
"MIT"
] | null | null | null | src/application.qt.objectview/ObjectViewPlugin.cpp | toeb/sine | 96bcde571218f89a2b0b3cc51c19ad2b7be89c13 | [
"MIT"
] | null | null | null | #include "ObjectViewPlugin.h"
#include <application.qt/PluginContainer.h>
#include "ui_objectview.h"
#include <application.qt/DataBinding.h>
#include <core.utilities.h>
using namespace std;
using namespace nspace;
void ObjectViewPlugin::objectDoubleClicked(QListWidgetItem * qobject){
auto data= qobject->d... | 32.828571 | 124 | 0.707572 | toeb |
d2cff4f2cf7446839d32cb58f32ea78ce3b379d0 | 5,749 | cpp | C++ | PolarisEngine/src/Rendering/Camera.cpp | Delunado/PolarisEngine | 9de5cb1a3c576f4908dae7b0122f6dd1dab0f7f1 | [
"Apache-2.0"
] | 2 | 2021-01-12T21:24:24.000Z | 2021-02-19T15:06:23.000Z | PolarisEngine/src/Rendering/Camera.cpp | Delunado/PolarisEngine | 9de5cb1a3c576f4908dae7b0122f6dd1dab0f7f1 | [
"Apache-2.0"
] | 2 | 2021-03-10T19:16:38.000Z | 2021-12-01T22:47:13.000Z | PolarisEngine/src/Rendering/Camera.cpp | Delunado/PolarisEngine | 9de5cb1a3c576f4908dae7b0122f6dd1dab0f7f1 | [
"Apache-2.0"
] | null | null | null | #include <GL/glew.h>
#include <iostream>
#include <glm/glm.hpp>
#include <glm/ext.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include "Camera.h"
namespace Render {
Camera::Camera(glm::vec3 position, glm::vec3 lookAtPoint, GLfloat aspectRel) : position(position),
lookAtPoint(lookAtPoint), aspectRel(as... | 21.214022 | 162 | 0.69299 | Delunado |
d2d1b51c836e4bc7fac9141910f2eb66fcc9d4d9 | 733 | cpp | C++ | class/inheritance.cpp | learnMachining/cplus2test | 8cc0048627724bb967f27d5cd9860dbb5804a7d9 | [
"Apache-2.0"
] | null | null | null | class/inheritance.cpp | learnMachining/cplus2test | 8cc0048627724bb967f27d5cd9860dbb5804a7d9 | [
"Apache-2.0"
] | null | null | null | class/inheritance.cpp | learnMachining/cplus2test | 8cc0048627724bb967f27d5cd9860dbb5804a7d9 | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include <time.h>
using namespace std;
class B0
{
public:
B0(int n)
{
nV = n;
cout<<"constructing B0"<<endl;
}
int nV;
void fun()
{
cout<<"member of B0 "<<nV<<endl;
}
};
class B1:virtual public B0
{
public:
B1(int a):B0(a)
{
cout<<"constru... | 11.822581 | 40 | 0.491132 | learnMachining |
d2d85d784771d7da94b3474e8be152c7dbed7b53 | 3,063 | cpp | C++ | project-code/PictureDecoder/Slice/Slice.cpp | Bho007/MPEG-2-TS-Decoder | 6021af80f9a79b241da1db158b87ed3fe53f8e61 | [
"MIT"
] | null | null | null | project-code/PictureDecoder/Slice/Slice.cpp | Bho007/MPEG-2-TS-Decoder | 6021af80f9a79b241da1db158b87ed3fe53f8e61 | [
"MIT"
] | null | null | null | project-code/PictureDecoder/Slice/Slice.cpp | Bho007/MPEG-2-TS-Decoder | 6021af80f9a79b241da1db158b87ed3fe53f8e61 | [
"MIT"
] | null | null | null | //
// Created by elnsa on 2019-12-29.
//
#include "Slice.h"
Slice::Slice(Slice::initializerStruct init) {
stream_id = init.stream_id;
packet_type = ESPacket::start_code::slice;
slice_vertical_position_extension = init.slice_vertical_position_extension;
quantiser_scale_code = init.quantiser_scale_code;... | 33.293478 | 127 | 0.677114 | Bho007 |
d2d9c93538a0b3c819e97e696dfa2d7d54d06e05 | 3,307 | cpp | C++ | src/betomnita/gameplay/Vehicle.cpp | bilbosz/Betomnita | 23c4679a591bc64c40193fe0e661f35eec85f1b7 | [
"MIT"
] | null | null | null | src/betomnita/gameplay/Vehicle.cpp | bilbosz/Betomnita | 23c4679a591bc64c40193fe0e661f35eec85f1b7 | [
"MIT"
] | 1 | 2018-04-14T08:12:58.000Z | 2018-04-14T08:12:58.000Z | src/betomnita/gameplay/Vehicle.cpp | bilbosz/Betomnita | 23c4679a591bc64c40193fe0e661f35eec85f1b7 | [
"MIT"
] | null | null | null | #include "betomnita/gameplay/Vehicle.hpp"
#include "betomnita/gameplay/GamePlayLogic.hpp"
#include "betomnita/gameplay/Projectile.hpp"
#include "betomnita/gameplay/ProjectilePrototype.hpp"
#include "betomnita/gameplay/PrototypeDict.hpp"
#include "betomnita/gameplay/World.hpp"
#include "game/utils/Utils.hpp"
namespace... | 36.340659 | 154 | 0.580284 | bilbosz |
d2dcd4c2633801db322269d367ba024fb961ad47 | 384 | cpp | C++ | string_array/string_array/main.cpp | silentShadow/C-plus-plus | fb0108beb83f69d0c207f75dc29fae8c1657121c | [
"MIT"
] | null | null | null | string_array/string_array/main.cpp | silentShadow/C-plus-plus | fb0108beb83f69d0c207f75dc29fae8c1657121c | [
"MIT"
] | null | null | null | string_array/string_array/main.cpp | silentShadow/C-plus-plus | fb0108beb83f69d0c207f75dc29fae8c1657121c | [
"MIT"
] | null | null | null | //
// main.cpp
// string_array
//
// Created by Jonathan Reiter on 6/3/16.
// Copyright © 2016 Jonathan Reiter. All rights reserved.
//
#include <iostream>
#include <string>
using namespace std;
int main() {
string members[] = {"Jonny", "Paul", "Ben", "Ringo"};
for (int i = 0; i < 4; i++) {
... | 15.36 | 58 | 0.541667 | silentShadow |
d2df115b253d364d5896a77c6d1692ca58081a1d | 8,957 | cpp | C++ | track_odometry/test/src/test_track_odometry.cpp | fangzheng81/neonavigation | 1251ac6dfcb7fa102a21925863ff930a3fc03111 | [
"BSD-3-Clause"
] | 1 | 2019-09-26T01:13:02.000Z | 2019-09-26T01:13:02.000Z | track_odometry/test/src/test_track_odometry.cpp | DiaS-77/neonavigation | 486e0b34d0c5601e3a8517c71ba329535e641b6b | [
"BSD-3-Clause"
] | null | null | null | track_odometry/test/src/test_track_odometry.cpp | DiaS-77/neonavigation | 486e0b34d0c5601e3a8517c71ba329535e641b6b | [
"BSD-3-Clause"
] | 2 | 2019-10-05T12:27:54.000Z | 2020-07-23T10:42:47.000Z | /*
* Copyright (c) 2018-2019, the neonavigation authors
* 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
* not... | 30.057047 | 97 | 0.67824 | fangzheng81 |
d2e326ff3d07283e34d6306577e70363005bcd0e | 122 | cpp | C++ | code/engine.vc2008/xrManagedEngineLib/CallbackTypes.cpp | Rikoshet-234/xray-oxygen | eaac3fa4780639152684f3251b8b4452abb8e439 | [
"Apache-2.0"
] | 7 | 2018-03-27T12:36:07.000Z | 2020-06-26T11:31:52.000Z | code/engine.vc2008/xrManagedEngineLib/CallbackTypes.cpp | Rikoshet-234/xray-oxygen | eaac3fa4780639152684f3251b8b4452abb8e439 | [
"Apache-2.0"
] | 2 | 2018-05-26T23:17:14.000Z | 2019-04-14T18:33:27.000Z | code/engine.vc2008/xrManagedEngineLib/CallbackTypes.cpp | Rikoshet-234/xray-oxygen | eaac3fa4780639152684f3251b8b4452abb8e439 | [
"Apache-2.0"
] | 3 | 2020-10-12T18:04:42.000Z | 2020-10-12T18:04:59.000Z | #include "stdafx.h"
#include "FunctionInvoker.h"
FunctionInvoker<unsigned int> Shedule_Update_Invoker("shedule_update");
| 24.4 | 71 | 0.811475 | Rikoshet-234 |
5e4865e4ce97666c6f0b4d7ad91dd0e387932c87 | 3,077 | cpp | C++ | src/cosmoscout/main.cpp | bernstein/cosmoscout-vr | 4243384a0f96853dc12fc8e9d5862c9c37f7cadf | [
"MIT"
] | null | null | null | src/cosmoscout/main.cpp | bernstein/cosmoscout-vr | 4243384a0f96853dc12fc8e9d5862c9c37f7cadf | [
"MIT"
] | null | null | null | src/cosmoscout/main.cpp | bernstein/cosmoscout-vr | 4243384a0f96853dc12fc8e9d5862c9c37f7cadf | [
"MIT"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////////////////////////
// This file is part of CosmoScout VR //
// and may be used under the terms of the MIT license. See the LICENSE file for details. //
// ... | 33.086022 | 100 | 0.542411 | bernstein |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.