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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0fd49e65f71f076c3657a1f89b191f394be91c4c | 4,981 | cpp | C++ | Source/FactorySkyline/Operators/FSConveyorBeltOperator.cpp | RozeDoyanawa/FactorySkyline | 381d983d8c8fcac7fa9ce3c386d52bd68d2248b6 | [
"MIT"
] | 3 | 2021-07-09T06:20:11.000Z | 2022-01-23T09:29:21.000Z | Source/FactorySkyline/Operators/FSConveyorBeltOperator.cpp | The1NdNly/FactorySkyline | e9ee8750ed6417fc8e12328b0adb44a9e3baa739 | [
"MIT"
] | null | null | null | Source/FactorySkyline/Operators/FSConveyorBeltOperator.cpp | The1NdNly/FactorySkyline | e9ee8750ed6417fc8e12328b0adb44a9e3baa739 | [
"MIT"
] | 6 | 2021-07-11T15:10:12.000Z | 2022-02-27T02:16:15.000Z | // ILikeBanas
#include "FSConveyorBeltOperator.h"
#include "Buildables/FGBuildable.h"
#include "Buildables/FGBuildableConveyorBelt.h"
//#include "FGInstancedSplineMesh.h"
#include "FGInstancedSplineMeshComponent.h"
#include "FactorySkyline/FSkyline.h"
AFGHologram* UFSConveyorBeltOperator::HologramCopy(FT... | 42.211864 | 172 | 0.773539 | RozeDoyanawa |
0fd63208c236712add2719a7f4d14c7c1c660fb7 | 592 | hpp | C++ | Utility/VLArray/Entry/a_Body.hpp | p-adic/cpp | 9404a08f26c55a19c53ab0a11edb70f3ed6a8e3c | [
"MIT"
] | 2 | 2020-09-13T07:31:22.000Z | 2022-03-26T08:37:32.000Z | Utility/VLArray/Entry/a_Body.hpp | p-adic/cpp | 9404a08f26c55a19c53ab0a11edb70f3ed6a8e3c | [
"MIT"
] | null | null | null | Utility/VLArray/Entry/a_Body.hpp | p-adic/cpp | 9404a08f26c55a19c53ab0a11edb70f3ed6a8e3c | [
"MIT"
] | null | null | null | // c:/Users/user/Documents/Programming/Utility/VLArray/Entry/a_Body.hpp
#pragma once
#include "a.hpp"
template <typename T> inline EntryOfVLArray<T>::EntryOfVLArray() : m_t() , m_prev( this ) , m_next( this ) {}
template <typename T> template <typename Arg> inline EntryOfVLArray<T>::EntryOfVLArray( const Arg& t... | 59.2 | 217 | 0.692568 | p-adic |
0fd6e07d340533199a882e38a014d19127240ae9 | 16,928 | cpp | C++ | src_legacy/2017/pixelgateway.cpp | gmoehler/ledpoi | d1294b172b7069f62119c310399d80500402d882 | [
"MIT"
] | null | null | null | src_legacy/2017/pixelgateway.cpp | gmoehler/ledpoi | d1294b172b7069f62119c310399d80500402d882 | [
"MIT"
] | 75 | 2017-05-28T23:39:33.000Z | 2019-05-09T06:18:44.000Z | src_legacy/2017/pixelgateway.cpp | gmoehler/ledpoi | d1294b172b7069f62119c310399d80500402d882 | [
"MIT"
] | null | null | null |
#include <Arduino.h>
#include <ws2812.h>
#include <WiFi.h>
#include "WiFiCredentials.h"
#include "ledpoi.h"
#include "PoiActionRunner.h"
#include "PoiTimer.h"
#include "OneButton.h"
enum PoiState { POI_INIT, // 0
POI_IP_CONFIG_OPTION, // 1
POI_IP_CONFIG, // 2
... | 25.190476 | 124 | 0.619861 | gmoehler |
0fdcdc3f8809d90f853ab899ef4f70091d6662d2 | 1,650 | cpp | C++ | library/dht11.cpp | Patatje19/IPASS | 3a4c8ecc74d043f9d7e3284209bb1760adf56e3e | [
"BSL-1.0"
] | null | null | null | library/dht11.cpp | Patatje19/IPASS | 3a4c8ecc74d043f9d7e3284209bb1760adf56e3e | [
"BSL-1.0"
] | null | null | null | library/dht11.cpp | Patatje19/IPASS | 3a4c8ecc74d043f9d7e3284209bb1760adf56e3e | [
"BSL-1.0"
] | null | null | null | #include "dht11.hpp"
/******************************************************************************/
void dht11::wait_us( const int & time ) {
hwlib::wait_us( time );
}
void dht11::wait_ms( const int & time ) {
hwlib::wait_ms( time );
}
/************************************************************************... | 14.732143 | 80 | 0.513333 | Patatje19 |
0fde18e1640c0e06981c0aaa2d3c8acd534799c8 | 27,135 | cpp | C++ | src/files/CFileXML.cpp | RoboticsDesignLab/chai3d | 66927fb9c81a173b988e1fc81cf6bfd57d69dcd7 | [
"BSD-3-Clause"
] | 75 | 2016-12-22T14:53:01.000Z | 2022-03-31T08:04:19.000Z | src/files/CFileXML.cpp | RoboticsDesignLab/chai3d | 66927fb9c81a173b988e1fc81cf6bfd57d69dcd7 | [
"BSD-3-Clause"
] | 6 | 2017-04-03T21:27:16.000Z | 2019-08-28T17:05:23.000Z | src/files/CFileXML.cpp | RoboticsDesignLab/chai3d | 66927fb9c81a173b988e1fc81cf6bfd57d69dcd7 | [
"BSD-3-Clause"
] | 53 | 2017-03-16T16:38:34.000Z | 2022-02-25T14:31:01.000Z | //==============================================================================
/*
Software License Agreement (BSD License)
Copyright (c) 2003-2016, CHAI3D.
(www.chai3d.org)
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are perm... | 28.653643 | 106 | 0.462834 | RoboticsDesignLab |
0fde9557c4e6855f93307aec25137540cf169837 | 3,543 | cpp | C++ | core/storage/trie/impl/persistent_trie_batch_impl.cpp | FlorianFranzen/kagome | 27ee11c78767e72f0ecd2c515c77bebc2ff5758d | [
"Apache-2.0"
] | null | null | null | core/storage/trie/impl/persistent_trie_batch_impl.cpp | FlorianFranzen/kagome | 27ee11c78767e72f0ecd2c515c77bebc2ff5758d | [
"Apache-2.0"
] | null | null | null | core/storage/trie/impl/persistent_trie_batch_impl.cpp | FlorianFranzen/kagome | 27ee11c78767e72f0ecd2c515c77bebc2ff5758d | [
"Apache-2.0"
] | null | null | null | /**
* Copyright Soramitsu Co., Ltd. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
#include "storage/trie/impl/persistent_trie_batch_impl.hpp"
#include "scale/scale.hpp"
#include "storage/trie/impl/topper_trie_batch_impl.hpp"
#include "storage/trie/polkadot_trie/polkadot_trie_cursor.hpp"
#include "s... | 33.11215 | 77 | 0.662997 | FlorianFranzen |
0fe1364b9c7335ff265f45a56f0d3014b80576b3 | 11,438 | cpp | C++ | src/ramen/core/vma.cpp | helixd2s/Ramen | 5b1ebcfdc796b2276b607e71e09c5842d0c52933 | [
"MIT"
] | 4 | 2021-05-13T21:12:09.000Z | 2022-01-26T18:24:30.000Z | src/ramen/core/vma.cpp | helixd2s/Ramen | 5b1ebcfdc796b2276b607e71e09c5842d0c52933 | [
"MIT"
] | null | null | null | src/ramen/core/vma.cpp | helixd2s/Ramen | 5b1ebcfdc796b2276b607e71e09c5842d0c52933 | [
"MIT"
] | null | null | null | #pragma once
//
//
#include <ramen/core/core.hpp>
#include <ramen/core/instance.hpp>
#include <ramen/core/device.hpp>
#include <ramen/core/memoryAllocator.hpp>
#include <ramen/core/memory.hpp>
#include <ramen/core/consumer.hpp>
//
//#define VMA_IMPLEMENTATION
#include <vk_mem_alloc.h>
//
namespace rmc {
/... | 50.610619 | 320 | 0.698811 | helixd2s |
0fe2f89c514b08bccb5aff081cde3d12f09a7797 | 833 | hpp | C++ | libs/core/include/fcppt/metal/set/make.hpp | pmiddend/fcppt | 9f437acbb10258e6df6982a550213a05815eb2be | [
"BSL-1.0"
] | null | null | null | libs/core/include/fcppt/metal/set/make.hpp | pmiddend/fcppt | 9f437acbb10258e6df6982a550213a05815eb2be | [
"BSL-1.0"
] | null | null | null | libs/core/include/fcppt/metal/set/make.hpp | pmiddend/fcppt | 9f437acbb10258e6df6982a550213a05815eb2be | [
"BSL-1.0"
] | null | null | null | // Copyright Carl Philipp Reh 2009 - 2018.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef FCPPT_METAL_SET_MAKE_HPP_INCLUDED
#define FCPPT_METAL_SET_MAKE_HPP_INCLUDED
#include <fcp... | 17.354167 | 61 | 0.713085 | pmiddend |
0fe35f33be4684aa233a03f76cc01a766a96d263 | 722 | hpp | C++ | pythran/pythonic/include/numpy/sort.hpp | artas360/pythran | 66dad52d52be71693043e9a7d7578cfb9cb3d1da | [
"BSD-3-Clause"
] | null | null | null | pythran/pythonic/include/numpy/sort.hpp | artas360/pythran | 66dad52d52be71693043e9a7d7578cfb9cb3d1da | [
"BSD-3-Clause"
] | null | null | null | pythran/pythonic/include/numpy/sort.hpp | artas360/pythran | 66dad52d52be71693043e9a7d7578cfb9cb3d1da | [
"BSD-3-Clause"
] | null | null | null | #ifndef PYTHONIC_INCLUDE_NUMPY_SORT_HPP
#define PYTHONIC_INCLUDE_NUMPY_SORT_HPP
#include <algorithm>
#include "pythonic/utils/proxy.hpp"
#include "pythonic/types/numexpr_to_ndarray.hpp"
#include "pythonic/types/ndarray.hpp"
namespace pythonic
{
namespace numpy
{
template <class T>
bool _comp(T const &i,... | 21.878788 | 80 | 0.696676 | artas360 |
0fe6bbacbd82c8334b4fba0b8a558f66374027fd | 2,851 | cc | C++ | agent/php5/openrasp_ini.cc | rosag49/openrasp | 793bb33721abcb926bead77b32bee608a951268a | [
"Apache-2.0"
] | 1 | 2020-12-18T01:04:20.000Z | 2020-12-18T01:04:20.000Z | agent/php5/openrasp_ini.cc | threedr3am/openrasp | c9febf767174608314793607bcc503c9090f3bac | [
"Apache-2.0"
] | null | null | null | agent/php5/openrasp_ini.cc | threedr3am/openrasp | c9febf767174608314793607bcc503c9090f3bac | [
"Apache-2.0"
] | 1 | 2020-09-28T06:21:03.000Z | 2020-09-28T06:21:03.000Z | /*
* Copyright 2017-2019 Baidu Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | 28.227723 | 102 | 0.668537 | rosag49 |
0fe7686d64c3f0af29b4768d00d71acddbc4595f | 3,869 | cpp | C++ | VC/ResourceManager.cpp | UnknownArkish/MyGraphicsFramework-SZU- | 15bcb916712eabd4586464423af4668bc5704d20 | [
"MIT"
] | 7 | 2019-08-03T18:35:05.000Z | 2022-02-24T11:04:19.000Z | VC/ResourceManager.cpp | UnknownArkish/MyGraphicsFramework-SZU- | 15bcb916712eabd4586464423af4668bc5704d20 | [
"MIT"
] | null | null | null | VC/ResourceManager.cpp | UnknownArkish/MyGraphicsFramework-SZU- | 15bcb916712eabd4586464423af4668bc5704d20 | [
"MIT"
] | 2 | 2019-09-06T04:59:43.000Z | 2020-12-30T12:08:44.000Z | /*******************************************************************
** This code is part of Breakout.
**
** Breakout is free software: you can redistribute it and/or modify
** it under the terms of the CC BY 4.0 license as published by
** Creative Commons, either version 4 of the License, or (at your
** option) any la... | 31.713115 | 133 | 0.65986 | UnknownArkish |
0feb626eee51bf8499ad74c26240428b4391c59f | 6,724 | cc | C++ | rgbReconstruction/rgbReconstruct.cc | TracyHuang/lightfield_SFFT | 9e5742ae597cd80938601b895fc62b9c06edbab9 | [
"MIT"
] | 2 | 2016-12-11T08:21:35.000Z | 2019-03-16T04:07:21.000Z | rgbReconstruction/rgbReconstruct.cc | TracyHuang/lightfield_SFFT | 9e5742ae597cd80938601b895fc62b9c06edbab9 | [
"MIT"
] | null | null | null | rgbReconstruction/rgbReconstruct.cc | TracyHuang/lightfield_SFFT | 9e5742ae597cd80938601b895fc62b9c06edbab9 | [
"MIT"
] | 1 | 2017-04-11T17:14:47.000Z | 2017-04-11T17:14:47.000Z | #include <iostream>
#include <stdio.h>
#include <string>
#include <cstring>
#include <errno.h>
#include <vector>
#include <sys/types.h>
#include <dirent.h>
#include <sys/stat.h>
#include <unistd.h>
#include <sstream>
#include <cv.h>
#include <climits>
#include <highgui.h>
#include "opencv2/core/core_c.h"
#include "open... | 25.56654 | 138 | 0.55235 | TracyHuang |
0fed62a9c8896a5a35b86a140922a1774fdebd2b | 2,827 | cpp | C++ | lib/params/SliceParams.cpp | sgpearse/VAPOR | 12d4ed2e914ff3f6b59989a33a88d7399f45c41b | [
"BSD-3-Clause"
] | 1 | 2021-05-18T20:12:31.000Z | 2021-05-18T20:12:31.000Z | lib/params/SliceParams.cpp | sgpearse/VAPOR | 12d4ed2e914ff3f6b59989a33a88d7399f45c41b | [
"BSD-3-Clause"
] | null | null | null | lib/params/SliceParams.cpp | sgpearse/VAPOR | 12d4ed2e914ff3f6b59989a33a88d7399f45c41b | [
"BSD-3-Clause"
] | null | null | null |
#include <string>
#include <vapor/RenderParams.h>
#include <vapor/SliceParams.h>
using namespace Wasp;
using namespace VAPoR;
#define THREED 3
#define X 0
#define Y 1
#define Z 2
#define XY 0
#define XZ 1
#define YZ 2
#define MIN_DEFAULT_SAMPLERATE 200
const string SliceParams::_sampleRateTag = "SampleRate";
con... | 26.175926 | 157 | 0.719137 | sgpearse |
0fee19d9f96d45bb52f518b34ddc1a3a80ba71e8 | 2,979 | cpp | C++ | src/server/scripts/EasternKingdoms/BlackrockSpire/boss_drakkisath.cpp | forgottenlands/ForgottenCore406 | 5dbbef6b3b0b17c277fde85e40ec9fdab0b51ad1 | [
"OpenSSL"
] | null | null | null | src/server/scripts/EasternKingdoms/BlackrockSpire/boss_drakkisath.cpp | forgottenlands/ForgottenCore406 | 5dbbef6b3b0b17c277fde85e40ec9fdab0b51ad1 | [
"OpenSSL"
] | null | null | null | src/server/scripts/EasternKingdoms/BlackrockSpire/boss_drakkisath.cpp | forgottenlands/ForgottenCore406 | 5dbbef6b3b0b17c277fde85e40ec9fdab0b51ad1 | [
"OpenSSL"
] | null | null | null | /*
* Copyright (C) 2005 - 2012 MaNGOS <http://www.getmangos.com/>
*
* Copyright (C) 2008 - 2012 Trinity <http://www.trinitycore.org/>
*
* Copyright (C) 2006 - 2012 ScriptDev2 <http://www.scriptdev2.com/>
*
* Copyright (C) 2010 - 2012 ProjectSkyfire <http://www.projectskyfire.org/>
*
* Copyright (C) 2011 - 2012... | 26.837838 | 120 | 0.692514 | forgottenlands |
0fee2d8d0fe9158d3ae9fa1e25e1c4fed7579527 | 2,905 | cpp | C++ | DX12VertexBuffer.cpp | TheBearProject/beardirectx | 1fdeaeea37d7669361972f6a59d9a1ddc7c29429 | [
"MIT"
] | null | null | null | DX12VertexBuffer.cpp | TheBearProject/beardirectx | 1fdeaeea37d7669361972f6a59d9a1ddc7c29429 | [
"MIT"
] | null | null | null | DX12VertexBuffer.cpp | TheBearProject/beardirectx | 1fdeaeea37d7669361972f6a59d9a1ddc7c29429 | [
"MIT"
] | null | null | null | #include "DX12PCH.h"
bsize VertexBufferCounter = 0;
DX12VertexBuffer::DX12VertexBuffer() :m_Dynamic(false)
{
VertexBufferView.SizeInBytes = 0;
VertexBufferCounter++;
}
void DX12VertexBuffer::Create(bsize stride, bsize count, bool dynamic, void* data)
{
Clear();
m_Dynamic = dynamic;
{
auto Properties = CD3DX12_... | 33.011364 | 228 | 0.778313 | TheBearProject |
0ff2fd1be1e9c93ae51c8d754e78325447436975 | 30,022 | cpp | C++ | data_reader/stage_0/src/data_reader_stage_0.cpp | shtroizel/matchmaker | 457521bd677f6e06e9f2b6552b1ff661f52788d3 | [
"BSD-3-Clause"
] | null | null | null | data_reader/stage_0/src/data_reader_stage_0.cpp | shtroizel/matchmaker | 457521bd677f6e06e9f2b6552b1ff661f52788d3 | [
"BSD-3-Clause"
] | null | null | null | data_reader/stage_0/src/data_reader_stage_0.cpp | shtroizel/matchmaker | 457521bd677f6e06e9f2b6552b1ff661f52788d3 | [
"BSD-3-Clause"
] | null | null | null | /*
Copyright (c) 2020, Eric Hyer
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following di... | 29.175899 | 106 | 0.4996 | shtroizel |
0ff45fc3c2861ee6bd6ddd916c7e9b0e4c50417f | 347 | cpp | C++ | BAC/exercises/warmup/UVa10300.cpp | Anyrainel/aoapc-code | e787a01380698fb9236d933462052f97b20e6132 | [
"Apache-2.0"
] | 3 | 2017-08-15T06:00:01.000Z | 2018-12-10T09:05:53.000Z | BAC/exercises/warmup/UVa10300.cpp | Anyrainel/aoapc-related-code | e787a01380698fb9236d933462052f97b20e6132 | [
"Apache-2.0"
] | null | null | null | BAC/exercises/warmup/UVa10300.cpp | Anyrainel/aoapc-related-code | e787a01380698fb9236d933462052f97b20e6132 | [
"Apache-2.0"
] | 2 | 2017-09-16T18:46:27.000Z | 2018-05-22T05:42:03.000Z | // UVa10300 Ecological Premium
// Rujia Liu
// 题意:输入n个三元组(a,b,c),计算a*c之和
// 注意事项:观察题目中的数值范围可以发现结果需要用long long保存
#include<iostream>
using namespace std;
int main() {
int T;
cin >> T;
while(T--) {
long long n, a, b, c, sum = 0;
cin >> n;
while(n--) { cin >> a >> b >> c; sum += a * c; }
cout << sum ... | 18.263158 | 52 | 0.544669 | Anyrainel |
0ff515c7aa82fdf70250d722c2e31b6707010cf3 | 1,675 | cpp | C++ | Sorting_algorithms/Insertion_sort.cpp | codewithsatyam/Data_Structures_n_Algorithms_in_CPP- | 59f6d63c7f996aa0693a530dd3cfe32a80d91bf9 | [
"MIT"
] | null | null | null | Sorting_algorithms/Insertion_sort.cpp | codewithsatyam/Data_Structures_n_Algorithms_in_CPP- | 59f6d63c7f996aa0693a530dd3cfe32a80d91bf9 | [
"MIT"
] | null | null | null | Sorting_algorithms/Insertion_sort.cpp | codewithsatyam/Data_Structures_n_Algorithms_in_CPP- | 59f6d63c7f996aa0693a530dd3cfe32a80d91bf9 | [
"MIT"
] | null | null | null | //Program to sort a sequence using insertion sort
#include <iostream>
using namespace std;
void in_sort(int[], int);
//////////////////////////////////////////////////////////////////////////////////////
int main()
{
int arr[50], n;
cout << "*************INSERTION_SORT*************" << endl;
cout << "How ... | 26.171875 | 86 | 0.429254 | codewithsatyam |
0ff7943593e469e420472718be4d923fb14ccc8c | 35,536 | cxx | C++ | extern/FBXSDK/samples/ViewScene/DrawScene.cxx | maxortner01/ansel | cf9930c921ca439968daa29b242a1b532030088a | [
"BSD-2-Clause"
] | 2 | 2019-04-04T07:26:54.000Z | 2019-07-07T20:48:30.000Z | extern/FBXSDK/samples/ViewScene/DrawScene.cxx | maxortner01/ansel | cf9930c921ca439968daa29b242a1b532030088a | [
"BSD-2-Clause"
] | null | null | null | extern/FBXSDK/samples/ViewScene/DrawScene.cxx | maxortner01/ansel | cf9930c921ca439968daa29b242a1b532030088a | [
"BSD-2-Clause"
] | null | null | null | /****************************************************************************************
Copyright (C) 2015 Autodesk, Inc.
All rights reserved.
Use of this software is subject to the terms of the Autodesk license agreement
provided at the time of installation or download, or which otherwise accompanies
... | 37.683987 | 142 | 0.684208 | maxortner01 |
0ff90cb2cfd637013eb559a2847f61f42b00ffc6 | 30,425 | cpp | C++ | src/Microsoft.DotNet.Wpf/src/System.Printing/CPP/src/GDIExporter/FontInfo.cpp | reyqn/wpf | 6858a87af432aae629e28970a14c3560bef4f349 | [
"MIT"
] | 1 | 2020-01-11T12:53:52.000Z | 2020-01-11T12:53:52.000Z | src/Microsoft.DotNet.Wpf/src/System.Printing/CPP/src/GDIExporter/FontInfo.cpp | reyqn/wpf | 6858a87af432aae629e28970a14c3560bef4f349 | [
"MIT"
] | null | null | null | src/Microsoft.DotNet.Wpf/src/System.Printing/CPP/src/GDIExporter/FontInfo.cpp | reyqn/wpf | 6858a87af432aae629e28970a14c3560bef4f349 | [
"MIT"
] | 1 | 2021-05-05T12:05:28.000Z | 2021-05-05T12:05:28.000Z | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
/**************************************************************************
*
*
* Abstract:
*
* ... | 33.215066 | 154 | 0.542679 | reyqn |
0ffa7e47e1591fcb57c40fc1015c4c1f06a52ea9 | 5,474 | hpp | C++ | include/System/Threading/ThreadPoolWorkQueue.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | include/System/Threading/ThreadPoolWorkQueue.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | include/System/Threading/ThreadPoolWorkQueue.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"
#include "extern/beatsaber-hook/shared/utils/il2cpp-utils-methods.hpp"
#include "extern/b... | 55.857143 | 326 | 0.746438 | darknight1050 |
0ffdcd3c8e55dd1186267a285283993dab0bad59 | 8,980 | hpp | C++ | include/multiqueue/multiqueue.hpp | marvinwilliams/multiqueue_experimental | 97d0d6005075166ba445609996ab3c0b9fd79096 | [
"MIT"
] | null | null | null | include/multiqueue/multiqueue.hpp | marvinwilliams/multiqueue_experimental | 97d0d6005075166ba445609996ab3c0b9fd79096 | [
"MIT"
] | null | null | null | include/multiqueue/multiqueue.hpp | marvinwilliams/multiqueue_experimental | 97d0d6005075166ba445609996ab3c0b9fd79096 | [
"MIT"
] | null | null | null | /**
******************************************************************************
* @file: multiqueue.hpp
*
* @author: Marvin Williams
* @date: 2021/03/29 17:19
* @brief:
*******************************************************************************
**/
#pragma once
#ifndef MULTIQUEUE_HPP_INCLUDED
#define MULTIQU... | 34.144487 | 120 | 0.602339 | marvinwilliams |
0ffe0e9e9dbd3f76d12b83299c1553c31af754e3 | 143 | hpp | C++ | storm/Queue.hpp | whoahq/storm | 8a90f867ae1f600e1c82427749bbdaaac107b608 | [
"Unlicense"
] | 2 | 2020-09-07T20:05:50.000Z | 2020-09-17T17:43:47.000Z | storm/Queue.hpp | whoahq/storm | 8a90f867ae1f600e1c82427749bbdaaac107b608 | [
"Unlicense"
] | null | null | null | storm/Queue.hpp | whoahq/storm | 8a90f867ae1f600e1c82427749bbdaaac107b608 | [
"Unlicense"
] | null | null | null | #ifndef STORM_QUEUE_HPP
#define STORM_QUEUE_HPP
#include "storm/queue/TSPriorityQueue.hpp"
#include "storm/queue/TSTimerPriority.hpp"
#endif
| 17.875 | 42 | 0.818182 | whoahq |
0ffe4ef15ab3edbaddaa0642221d438b35dde972 | 1,559 | cpp | C++ | src/Utility.cpp | Gregofi/metrics | a8da292a98b66a36329f1e5c9423ec01d86c07a1 | [
"MIT"
] | null | null | null | src/Utility.cpp | Gregofi/metrics | a8da292a98b66a36329f1e5c9423ec01d86c07a1 | [
"MIT"
] | 1 | 2022-02-05T09:52:40.000Z | 2022-02-05T09:52:40.000Z | src/Utility.cpp | Gregofi/metrics | a8da292a98b66a36329f1e5c9423ec01d86c07a1 | [
"MIT"
] | null | null | null | #include "include/Utility.hpp"
std::string EscapeXML(const std::string &text)
{
std::string result;
for(char c: text)
{
if(c == '&')
result += "&";
else if(c == '<')
result += "<";
else if(c == '>')
result += ">";
else if(c == '"... | 25.557377 | 80 | 0.45542 | Gregofi |
0fff3586bd93df4600a3ed78d96bc87032988b64 | 1,778 | cpp | C++ | falcon/regex_dfa/scan_intervals.cpp | jonathanpoelen/falcon.regex-dfa | cce9603d2a4b9269036c7888c1b8cf706c1548c4 | [
"MIT"
] | null | null | null | falcon/regex_dfa/scan_intervals.cpp | jonathanpoelen/falcon.regex-dfa | cce9603d2a4b9269036c7888c1b8cf706c1548c4 | [
"MIT"
] | null | null | null | falcon/regex_dfa/scan_intervals.cpp | jonathanpoelen/falcon.regex-dfa | cce9603d2a4b9269036c7888c1b8cf706c1548c4 | [
"MIT"
] | null | null | null | #include "scan_intervals.hpp"
#include "reverse_transitions.hpp"
#include "redfa.hpp"
#include <stdexcept>
#include <algorithm>
void falcon::regex_dfa::scan_intervals(
utf8_consumer& consumer, Transitions& ts, unsigned int next_ts, Transition::State state
) {
char_int c = consumer.bumpc();
bool const reverse = ... | 23.090909 | 89 | 0.453318 | jonathanpoelen |
ba01e8caff380677a43f14017bd3b2b3b5dbfd20 | 538 | cpp | C++ | Test/UnitTests/dllmain.cpp | Colorfingers/QuantumGate | e183e02464859f4ca486999182c4c41221f3261a | [
"MIT"
] | 87 | 2018-09-01T05:29:22.000Z | 2022-03-13T17:44:00.000Z | Test/UnitTests/dllmain.cpp | Colorfingers/QuantumGate | e183e02464859f4ca486999182c4c41221f3261a | [
"MIT"
] | 6 | 2019-01-30T14:48:17.000Z | 2022-03-14T21:10:56.000Z | Test/UnitTests/dllmain.cpp | Colorfingers/QuantumGate | e183e02464859f4ca486999182c4c41221f3261a | [
"MIT"
] | 16 | 2018-11-25T23:09:47.000Z | 2022-02-01T22:14:11.000Z | // This file is part of the QuantumGate project. For copyright and
// licensing information refer to the license file(s) in the project root.
#include "pch.h"
BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved) noexcept
{
switch (ul_reason_for_call)
{
case DLL_PROCESS_ATTACH:
Qu... | 22.416667 | 92 | 0.756506 | Colorfingers |
613b500d712809bf61975255cd2b990298250b2b | 1,077 | hpp | C++ | tests/token_equality.hpp | Je06jm/Matrin-Language | 2aa440873f926c7fcd70e331b3619bbef5bdf5d9 | [
"MIT"
] | null | null | null | tests/token_equality.hpp | Je06jm/Matrin-Language | 2aa440873f926c7fcd70e331b3619bbef5bdf5d9 | [
"MIT"
] | null | null | null | tests/token_equality.hpp | Je06jm/Matrin-Language | 2aa440873f926c7fcd70e331b3619bbef5bdf5d9 | [
"MIT"
] | null | null | null | #ifndef MARTIN_TEST_TOKEN_EQUALITY
#define MARTIN_TEST_TOKEN_EQUALITY
#include "testing.hpp"
#include <generators/equality.hpp>
#include "helpers/validatetree.hpp"
#include "helpers/tokennode.hpp"
#include "helpers/parseerror.hpp"
#include "helpers/subtests.hpp"
namespace Martin {
class Test_token_equality : pu... | 29.916667 | 77 | 0.618384 | Je06jm |
6145049908bbb51a6249826d3f307ced63a614ba | 3,093 | hpp | C++ | include/codegen/include/Zenject/MemoryPool_6.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 1 | 2021-11-12T09:29:31.000Z | 2021-11-12T09:29:31.000Z | include/codegen/include/Zenject/MemoryPool_6.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | null | null | null | include/codegen/include/Zenject/MemoryPool_6.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 2 | 2021-10-03T02:14:20.000Z | 2021-11-12T09:29:36.000Z | // Autogenerated from CppHeaderCreator on 7/27/2020 3:10:44 PM
// Created by Sc2ad
// =========================================================================
#pragma once
#pragma pack(push, 8)
// Begin includes
// Including type: Zenject.MemoryPoolBase`1
#include "Zenject/MemoryPoolBase_1.hpp"
// Including type: Zenj... | 59.480769 | 335 | 0.728096 | Futuremappermydud |
6147bbe1c58ebecda601d0fbd3d935d3e2815544 | 338 | cpp | C++ | src/ast/ast_value.cpp | traplol/malang | 3c02f4f483b7580a557841c31a65bf190fd1228f | [
"MIT"
] | 4 | 2017-10-31T14:01:58.000Z | 2019-07-16T04:53:32.000Z | src/ast/ast_value.cpp | traplol/malang | 3c02f4f483b7580a557841c31a65bf190fd1228f | [
"MIT"
] | null | null | null | src/ast/ast_value.cpp | traplol/malang | 3c02f4f483b7580a557841c31a65bf190fd1228f | [
"MIT"
] | 2 | 2018-01-23T12:59:07.000Z | 2019-07-16T04:53:39.000Z | #include "ast_value.hpp"
Type_Info *Ast_Value::get_type()
{
return nullptr;
}
bool Ast_LValue::can_lvalue() const
{
return true;
}
bool Ast_LValue::can_rvalue() const
{
return true;
}
bool Ast_RValue::can_lvalue() const
{
return false;
}
bool Ast_RValue::can_rvalue() const
{
... | 13.52 | 36 | 0.636095 | traplol |
6149af574debad2461d5f05b65117c50f7ec6098 | 3,545 | cpp | C++ | engine/formats/texture/TextureLoad.cpp | KenzieMac130/CitrusToolbox | b679ffbf7c98aebeb4ed1f3a4f46102b96466af8 | [
"Apache-2.0"
] | 8 | 2021-03-29T17:21:08.000Z | 2022-01-31T09:54:56.000Z | engine/formats/texture/TextureLoad.cpp | KenzieMac130/CitrusToolbox | b679ffbf7c98aebeb4ed1f3a4f46102b96466af8 | [
"Apache-2.0"
] | 12 | 2021-02-16T22:28:15.000Z | 2022-01-28T18:12:53.000Z | engine/formats/texture/TextureLoad.cpp | KenzieMac130/CitrusToolbox | b679ffbf7c98aebeb4ed1f3a4f46102b96466af8 | [
"Apache-2.0"
] | 1 | 2021-06-25T00:24:20.000Z | 2021-06-25T00:24:20.000Z | /*
Copyright 2021 MacKenzie Strand
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in... | 31.096491 | 83 | 0.705501 | KenzieMac130 |
6153203947123856a28443e6368df7c3c63eb699 | 1,998 | hpp | C++ | systems/opengl/shaders/ShadowMapShader.hpp | phisko/kengine | c30f98cc8e79cce6574b5f61088b511f29bbe8eb | [
"MIT"
] | 259 | 2018-11-01T05:12:37.000Z | 2022-03-28T11:15:27.000Z | systems/opengl/shaders/ShadowMapShader.hpp | raptoravis/kengine | 619151c20e9db86584faf04937bed3d084e3bc21 | [
"MIT"
] | 2 | 2018-11-30T13:58:44.000Z | 2018-12-17T11:58:42.000Z | systems/opengl/shaders/ShadowMapShader.hpp | raptoravis/kengine | 619151c20e9db86584faf04937bed3d084e3bc21 | [
"MIT"
] | 16 | 2018-12-01T13:38:18.000Z | 2021-12-04T21:31:55.000Z | #pragma once
#include <glm/glm.hpp>
#include "Point.hpp"
#include "opengl/Program.hpp"
#include "DepthCubeSrc.hpp"
namespace kengine {
class Entity;
struct DirLightComponent;
struct SpotLightComponent;
struct PointLightComponent;
}
namespace kengine::Shaders {
class ShadowMapShader : public putils::gl::Program ... | 32.225806 | 130 | 0.742743 | phisko |
6158085c4eea83ed8841d0362254223735dd3f47 | 86,513 | cpp | C++ | Source/HoudiniEngineEditor/Private/HoudiniPDGDetails.cpp | Filoppi/HoudiniEngineForUnreal | 7927f4fe7c6bd92e6d4b0f356f58d7eda20964e6 | [
"BSD-3-Clause"
] | null | null | null | Source/HoudiniEngineEditor/Private/HoudiniPDGDetails.cpp | Filoppi/HoudiniEngineForUnreal | 7927f4fe7c6bd92e6d4b0f356f58d7eda20964e6 | [
"BSD-3-Clause"
] | null | null | null | Source/HoudiniEngineEditor/Private/HoudiniPDGDetails.cpp | Filoppi/HoudiniEngineForUnreal | 7927f4fe7c6bd92e6d4b0f356f58d7eda20964e6 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) <2021> Side Effects Software Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of... | 32.305078 | 287 | 0.699583 | Filoppi |
61592f14d6ce7b37e4c8b06047e5b04e53b5d1d0 | 1,362 | cpp | C++ | 0 - 1 Knapsack Problem - GFG/0-1-knapsack-problem.cpp | champmaniac/LeetCode | 65810e0123e0ceaefb76d0a223436d1525dac0d4 | [
"MIT"
] | 1 | 2022-02-27T09:01:07.000Z | 2022-02-27T09:01:07.000Z | 0 - 1 Knapsack Problem - GFG/0-1-knapsack-problem.cpp | champmaniac/LeetCode | 65810e0123e0ceaefb76d0a223436d1525dac0d4 | [
"MIT"
] | null | null | null | 0 - 1 Knapsack Problem - GFG/0-1-knapsack-problem.cpp | champmaniac/LeetCode | 65810e0123e0ceaefb76d0a223436d1525dac0d4 | [
"MIT"
] | null | null | null | // { Driver Code Starts
#include<bits/stdc++.h>
using namespace std;
// } Driver Code Ends
class Solution
{
public:
//Function to return max value that can be put in knapsack of capacity W.
int knapSack(int W, int wt[], int val[], int n)
{
// Your code here
int dp[n+1][W+1];
fo... | 21.28125 | 77 | 0.415565 | champmaniac |
6159356959861c5fa854bed62fa552d3ec5cdd5e | 408 | cpp | C++ | problem_009.cpp | wurfkeks/project-euler | 782c459546ae0d98ce20ce0bbcde3fed3adaab06 | [
"Unlicense"
] | null | null | null | problem_009.cpp | wurfkeks/project-euler | 782c459546ae0d98ce20ce0bbcde3fed3adaab06 | [
"Unlicense"
] | null | null | null | problem_009.cpp | wurfkeks/project-euler | 782c459546ae0d98ce20ce0bbcde3fed3adaab06 | [
"Unlicense"
] | null | null | null | // Problem 9: Special Pythagorean triplet
#include <iostream>
int main(void) {
int x = 0;
for (int a=1; a<500; ++a) {
for (int b=a; b < 1000; ++b) {
int c = 1000 - a - b;
if (c*c == a*a + b*b) {
std::cout << (a*b*c) << std::endl;
return 0;
... | 18.545455 | 50 | 0.401961 | wurfkeks |
615b54b45d5b6a9f224f5e4114a42be55ac3213c | 874 | cpp | C++ | samples/search-delete.cpp | clusterpoint/cpp-client-api | 605825f0d46678c1ebdabb006bc0c138e4b0b7f3 | [
"MIT"
] | 1 | 2015-09-22T10:32:36.000Z | 2015-09-22T10:32:36.000Z | samples/search-delete.cpp | clusterpoint/cpp-client-api | 605825f0d46678c1ebdabb006bc0c138e4b0b7f3 | [
"MIT"
] | null | null | null | samples/search-delete.cpp | clusterpoint/cpp-client-api | 605825f0d46678c1ebdabb006bc0c138e4b0b7f3 | [
"MIT"
] | null | null | null | #include "cps/CPS_API.hpp"
#include <iostream>
#include <string>
#include <vector>
#include <map>
int main() {
try
{
CPS::Connection *conn = new CPS::Connection("tcp://127.0.0.1:5550", "storage", "user", "password");
// deletes all documents with an "expired" tag that contains a 1... | 27.3125 | 109 | 0.583524 | clusterpoint |
615facdb099b50f2f3a57603f7e1717193118239 | 649 | cpp | C++ | computerVision/NetFrameworks/INeurNetFramework.cpp | MattLigocki/DNNAssist | 97801013ac948c6fdd84fa622888c519eed3bc85 | [
"MIT"
] | null | null | null | computerVision/NetFrameworks/INeurNetFramework.cpp | MattLigocki/DNNAssist | 97801013ac948c6fdd84fa622888c519eed3bc85 | [
"MIT"
] | null | null | null | computerVision/NetFrameworks/INeurNetFramework.cpp | MattLigocki/DNNAssist | 97801013ac948c6fdd84fa622888c519eed3bc85 | [
"MIT"
] | null | null | null | #include "INeurNetFramework.h"
void INeurNetFramework::processImage(QImage image)
{
if(detectionParameters()->usedFramework=="OpenCv"){
processImageByOpenCv(image);
}else if(detectionParameters()->usedFramework=="Darknet"){
processImageByDarknet(image);
}else if(detectionParameters()->usedF... | 27.041667 | 78 | 0.721109 | MattLigocki |
6162f255d2249a1f487c9cd959172c9e655cf68f | 8,849 | hpp | C++ | include/algebra/matrix/matrix_scr.hpp | hyperpower/Nablla | 5a9be9f3b064a235572a1a2c9c5c2c19118697c5 | [
"MIT"
] | null | null | null | include/algebra/matrix/matrix_scr.hpp | hyperpower/Nablla | 5a9be9f3b064a235572a1a2c9c5c2c19118697c5 | [
"MIT"
] | null | null | null | include/algebra/matrix/matrix_scr.hpp | hyperpower/Nablla | 5a9be9f3b064a235572a1a2c9c5c2c19118697c5 | [
"MIT"
] | null | null | null | /************************
// \file MatrixSCR.h
// \brief
//
// \author zhou
// \date 25 avr. 2014
***********************/
#ifndef MATRIXSPARCOMPROW_H_
#define MATRIXSPARCOMPROW_H_
#include "algebra/algebra_define.hpp"
#include "algebra/array/array_list.hpp"
#include "matrix.hpp"
namespace carpio {
tem... | 22.865633 | 74 | 0.539835 | hyperpower |
616628622b73c0a2221cbba1b9d19eaf44138f1f | 921 | hpp | C++ | include/xtensor-fftw/basic_option.hpp | michaelbacci/xtensor-fftw | 0c463ab759d7664a9b25c4382987138151ad74c3 | [
"BSD-3-Clause"
] | 13 | 2019-12-13T08:38:55.000Z | 2021-06-18T09:01:23.000Z | include/xtensor-fftw/basic_option.hpp | michaelbacci/xtensor-fftw | 0c463ab759d7664a9b25c4382987138151ad74c3 | [
"BSD-3-Clause"
] | 13 | 2019-11-07T12:15:38.000Z | 2022-02-23T14:33:00.000Z | include/xtensor-fftw/basic_option.hpp | michaelbacci/xtensor-fftw | 0c463ab759d7664a9b25c4382987138151ad74c3 | [
"BSD-3-Clause"
] | 5 | 2019-11-07T11:57:36.000Z | 2021-05-15T22:38:37.000Z | /*
* xtensor-fftw
* Copyright (c) 2017, Patrick Bos
*
* Distributed under the terms of the BSD 3-Clause License.
*
* The full license is in the file LICENSE, distributed with this software.
*
* basic_option.hpp:
* Include xtensor-fftw functionalities with explicit defined precision types.
*
*/
#ifndef XTENS... | 25.583333 | 113 | 0.787188 | michaelbacci |
61664984721c92412d230192a5f1716f246d08eb | 3,467 | hpp | C++ | src/vector.hpp | fdekruijff/Tesseract-LED-Cube | 70a9ce4d44517714966b2a62e8fb6c4a950f8407 | [
"BSL-1.0"
] | null | null | null | src/vector.hpp | fdekruijff/Tesseract-LED-Cube | 70a9ce4d44517714966b2a62e8fb6c4a950f8407 | [
"BSL-1.0"
] | null | null | null | src/vector.hpp | fdekruijff/Tesseract-LED-Cube | 70a9ce4d44517714966b2a62e8fb6c4a950f8407 | [
"BSL-1.0"
] | null | null | null | /// Copyright Floris de Kruijff 2018.
/// Distributed under the Boost Software License, Version 1.0.
/// (See accompanying file LICENSE.txt or copy at
/// https://www.boost.org/LICENSE.txt)
/// @file
#ifndef VECTOR_HPP
#define VECTOR_HPP
/// @class vector
/// @author Floris de Kruijff... | 27.085938 | 72 | 0.533026 | fdekruijff |
6169b3ea5fd580c864b4dc6ca2f884910d9ad484 | 40,296 | cpp | C++ | Source.cpp | kenjinote/Toot | 19d75b03eed981f6aed8d041b3c6ba6f3f0ef316 | [
"MIT"
] | 19 | 2017-04-19T06:51:59.000Z | 2021-12-15T02:55:44.000Z | Source.cpp | kenjinote/Toot | 19d75b03eed981f6aed8d041b3c6ba6f3f0ef316 | [
"MIT"
] | null | null | null | Source.cpp | kenjinote/Toot | 19d75b03eed981f6aed8d041b3c6ba6f3f0ef316 | [
"MIT"
] | 1 | 2022-03-05T03:57:49.000Z | 2022-03-05T03:57:49.000Z | #pragma comment(linker,"\"/manifestdependency:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
#pragma comment(lib, "wininet")
#pragma comment(lib, "gdiplus")
#pragma comment(lib, "shlwapi")
#pragma comment(lib, "... | 38.450382 | 271 | 0.66818 | kenjinote |
616c1264e2cad514d567e17c12d32c22534a13d7 | 781 | cpp | C++ | advanced/1157 Anniversary (25).cpp | niedong/PAT | dcdde06618154f67d91c01aefe54274b732768d3 | [
"MIT"
] | 1 | 2021-12-19T08:55:14.000Z | 2021-12-19T08:55:14.000Z | advanced/1157 Anniversary (25).cpp | niedong/PAT | dcdde06618154f67d91c01aefe54274b732768d3 | [
"MIT"
] | null | null | null | advanced/1157 Anniversary (25).cpp | niedong/PAT | dcdde06618154f67d91c01aefe54274b732768d3 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
bool comp(const string& lhs, const string& rhs) {
return lhs.substr(6, 8) < rhs.substr(6, 8);
}
int main() {
int n, m, res = 0;
vector<string> v, g;
unordered_map<string, bool> hashmap;
cin >> n;
for (int i = 0; i < n; ++i) {
string s;
... | 19.525 | 49 | 0.435339 | niedong |
616c56f6d7ed788472eb4b259a29ef6a78b191bc | 1,227 | hpp | C++ | MC_functions.hpp | CaryRock/Phys642_Final_Project | fb1e49b84efb0585857bb16379fbc6ac39074c5c | [
"Unlicense"
] | null | null | null | MC_functions.hpp | CaryRock/Phys642_Final_Project | fb1e49b84efb0585857bb16379fbc6ac39074c5c | [
"Unlicense"
] | null | null | null | MC_functions.hpp | CaryRock/Phys642_Final_Project | fb1e49b84efb0585857bb16379fbc6ac39074c5c | [
"Unlicense"
] | null | null | null | #define MC_FUNCTIONS_H
#ifndef COMMON_HEADERS_H
#include "common_headers.hpp"
#endif
namespace br = boost::random;
namespace bu = boost::uuids;
struct Params
{
size_t L;
// size_t Lx;
// size_t Ly;
size_t N;
size_t numSamp;
uint64_t numEqSteps;
// double beta;
double temp;
std::strin... | 27.886364 | 87 | 0.700081 | CaryRock |
6170e8703be71442df62d2072c8408efc4a59921 | 32,064 | cpp | C++ | Source/Model/COM/NMR_COMInterface_ModelPropertyHandler.cpp | PolygonalSun/lib3mf | 66b55847ae76a814da3eb67e1188880ffe149cce | [
"BSD-2-Clause"
] | 2 | 2017-04-18T05:56:37.000Z | 2018-06-27T21:52:03.000Z | Source/Model/COM/NMR_COMInterface_ModelPropertyHandler.cpp | PolygonalSun/lib3mf | 66b55847ae76a814da3eb67e1188880ffe149cce | [
"BSD-2-Clause"
] | null | null | null | Source/Model/COM/NMR_COMInterface_ModelPropertyHandler.cpp | PolygonalSun/lib3mf | 66b55847ae76a814da3eb67e1188880ffe149cce | [
"BSD-2-Clause"
] | null | null | null | /*++
Copyright (C) 2015 netfabb GmbH
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following... | 30.97971 | 162 | 0.70983 | PolygonalSun |
6179ae37de75c21d7022dee345ed5a43f3aa7c81 | 1,111 | hpp | C++ | bst.hpp | rxnew/bst | 0edbf3719db378398a7827a518cc1e9d7b7a7b23 | [
"MIT"
] | null | null | null | bst.hpp | rxnew/bst | 0edbf3719db378398a7827a518cc1e9d7b7a7b23 | [
"MIT"
] | null | null | null | bst.hpp | rxnew/bst | 0edbf3719db378398a7827a518cc1e9d7b7a7b23 | [
"MIT"
] | null | null | null | #pragma once
#include <memory>
#include <iostream>
namespace bst {
template <class T>
class Tree {
public:
Tree();
Tree(std::initializer_list<T> list);
template <template <class...> class Container>
explicit Tree(const Container<T>& vals);
Tree(const Tree& other);
Tree(Tree&&) noexcept = default;
~Tree... | 25.837209 | 57 | 0.661566 | rxnew |
61822a3036886bb00bbec9effe8978e5f61def1e | 19,349 | cpp | C++ | src/txmgr.cpp | affinitydb/kernel | c1b39dd2f8a259b7f46db12787947e091efe86b7 | [
"Apache-2.0",
"CC0-1.0"
] | 19 | 2015-01-08T05:16:16.000Z | 2022-03-18T12:22:33.000Z | src/txmgr.cpp | affinitydb/kernel | c1b39dd2f8a259b7f46db12787947e091efe86b7 | [
"Apache-2.0",
"CC0-1.0"
] | null | null | null | src/txmgr.cpp | affinitydb/kernel | c1b39dd2f8a259b7f46db12787947e091efe86b7 | [
"Apache-2.0",
"CC0-1.0"
] | 2 | 2015-03-12T07:05:09.000Z | 2020-06-18T23:18:00.000Z | /**************************************************************************************
Copyright © 2004-2014 GoPivotal, 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... | 39.812757 | 169 | 0.63626 | affinitydb |
618589217aae6b175e1a6b8922e1fc08bd9c2676 | 1,196 | cpp | C++ | code/cpplearn/dp-factory.cpp | iusyu/c_practic | 7428b8d37df09cb27bc9d66d1e34c81a973b6119 | [
"MIT"
] | null | null | null | code/cpplearn/dp-factory.cpp | iusyu/c_practic | 7428b8d37df09cb27bc9d66d1e34c81a973b6119 | [
"MIT"
] | null | null | null | code/cpplearn/dp-factory.cpp | iusyu/c_practic | 7428b8d37df09cb27bc9d66d1e34c81a973b6119 | [
"MIT"
] | null | null | null | #include<iostream>
#include<string>
#include <memory>
class HtmlRender{
public:
HtmlRender() {}
virtual std::string rendering(){
return "";
}
virtual ~HtmlRender(){
}
};
class MainPageRender:public HtmlRender{
public:
MainPageRender(){}
virtual std::string rendering() override {
return "this is Main Page... | 15.736842 | 67 | 0.70903 | iusyu |
6189ba2be2ae48c556114c67be211de4b3d999af | 451 | cpp | C++ | cli/autobeam.cpp | johnnymac647/humlib | c67954045fb5570915d6a1c75d9a1e36cc9bdf93 | [
"BSD-2-Clause"
] | 19 | 2016-06-18T02:03:56.000Z | 2022-02-23T17:26:32.000Z | cli/autobeam.cpp | johnnymac647/humlib | c67954045fb5570915d6a1c75d9a1e36cc9bdf93 | [
"BSD-2-Clause"
] | 43 | 2017-03-09T07:32:12.000Z | 2022-03-23T20:18:35.000Z | cli/autobeam.cpp | johnnymac647/humlib | c67954045fb5570915d6a1c75d9a1e36cc9bdf93 | [
"BSD-2-Clause"
] | 5 | 2019-11-14T22:24:02.000Z | 2021-09-07T18:27:21.000Z | //
// Programmer: Craig Stuart Sapp <craig@ccrma.stanford.edu>
// Creation Date: Wed Nov 30 20:35:56 PST 2016
// Last Modified: Fri Dec 2 03:44:55 PST 2016
// Filename: autobeam.cpp
// URL: https://github.com/craigsapp/humlib/blob/master/cli/autobeam.cpp
// Syntax: C++11
// vim: ts=3... | 23.736842 | 82 | 0.651885 | johnnymac647 |
618d7fa91ff0e45fca17b1554d3f3a84b2458953 | 679 | cpp | C++ | sprime/sprime.cpp | chenhongqiao/OI-Solutions | 009a3c4b713b62658b835b52e0f61f882b5a6ffe | [
"MIT"
] | 1 | 2020-12-15T20:25:21.000Z | 2020-12-15T20:25:21.000Z | sprime/sprime.cpp | chenhongqiao/OI-Solutions | 009a3c4b713b62658b835b52e0f61f882b5a6ffe | [
"MIT"
] | null | null | null | sprime/sprime.cpp | chenhongqiao/OI-Solutions | 009a3c4b713b62658b835b52e0f61f882b5a6ffe | [
"MIT"
] | null | null | null | #include <iostream>
#include <cmath>
#include <chrono>
using namespace std;
int n;
bool is_prime(long long n)
{
if (n == 1)
{
return false;
}
if (n == 2)
{
return true;
}
for (int i = 2; i <= sqrt(n) + 1; i++)
{
if (n % i == 0)
{
return false;
... | 14.76087 | 42 | 0.396171 | chenhongqiao |
618dcad59a8388f2bcf7ef691a5aec1fcebb18eb | 7,032 | cpp | C++ | openstudiocore/src/model/test/PlantLoop_GTest.cpp | bobzabcik/OpenStudio | 858321dc0ad8d572de15858d2ae487b029a8d847 | [
"blessing"
] | null | null | null | openstudiocore/src/model/test/PlantLoop_GTest.cpp | bobzabcik/OpenStudio | 858321dc0ad8d572de15858d2ae487b029a8d847 | [
"blessing"
] | null | null | null | openstudiocore/src/model/test/PlantLoop_GTest.cpp | bobzabcik/OpenStudio | 858321dc0ad8d572de15858d2ae487b029a8d847 | [
"blessing"
] | null | null | null | /**********************************************************************
* Copyright (c) 2008-2013, Alliance for Sustainable Energy.
* All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by t... | 29.178423 | 151 | 0.713311 | bobzabcik |
6190b65052ee23e0c319f5a0525ba42395867263 | 47,430 | cpp | C++ | src/projection/ossimMapProjection.cpp | eleaver/ossim | 1e648adf31128b5be619b30d54d35ad0a5aa5606 | [
"MIT"
] | null | null | null | src/projection/ossimMapProjection.cpp | eleaver/ossim | 1e648adf31128b5be619b30d54d35ad0a5aa5606 | [
"MIT"
] | null | null | null | src/projection/ossimMapProjection.cpp | eleaver/ossim | 1e648adf31128b5be619b30d54d35ad0a5aa5606 | [
"MIT"
] | null | null | null | //*******************************************************************
//
// License: See top level LICENSE.txt file.
//
// Author: Garrett Potts
//
// Description:
//
// Base class for all map projections.
//
//*******************************************************************
// $Id: ossimMapProjection.cpp 23418 ... | 32.823529 | 134 | 0.643496 | eleaver |
6191e0391e29c5328daecd47f087f142d541cf26 | 2,725 | cpp | C++ | src/ngraph/runtime/plaidml/plaidml_pass_concat_split.cpp | magrawal128/ngraph | ca911487d1eadfe6ec66dbe3da6f05cee3645b24 | [
"Apache-2.0"
] | 1 | 2019-12-27T05:47:23.000Z | 2019-12-27T05:47:23.000Z | src/ngraph/runtime/plaidml/plaidml_pass_concat_split.cpp | biswajitcsecu/ngraph | d6bff37d7968922ef81f3bed63379e849fcf3b45 | [
"Apache-2.0"
] | null | null | null | src/ngraph/runtime/plaidml/plaidml_pass_concat_split.cpp | biswajitcsecu/ngraph | d6bff37d7968922ef81f3bed63379e849fcf3b45 | [
"Apache-2.0"
] | null | null | null | //*****************************************************************************
// Copyright 2017-2019 Intel Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://w... | 34.935897 | 99 | 0.507523 | magrawal128 |
6192705d3a896a7240b7921148ce1a46d505c305 | 36,460 | cpp | C++ | game/state/shared/agent.cpp | Skin36/OpenApoc | ab333c6fe8d0dcfc96f044482a38ef81c10442a5 | [
"MIT"
] | null | null | null | game/state/shared/agent.cpp | Skin36/OpenApoc | ab333c6fe8d0dcfc96f044482a38ef81c10442a5 | [
"MIT"
] | null | null | null | game/state/shared/agent.cpp | Skin36/OpenApoc | ab333c6fe8d0dcfc96f044482a38ef81c10442a5 | [
"MIT"
] | null | null | null | #include "game/state/shared/agent.h"
#include "framework/framework.h"
#include "game/state/battle/ai/aitype.h"
#include "game/state/battle/battleunit.h"
#include "game/state/city/agentmission.h"
#include "game/state/city/base.h"
#include "game/state/city/building.h"
#include "game/state/city/city.h"
#include "game/stat... | 25.98717 | 100 | 0.661574 | Skin36 |
61937fefa9ed7636fa0c3e9635aea96e1226dbc4 | 3,805 | cpp | C++ | ref_app/src/mcal/stm32f446/mcal_gpt.cpp | dustex/real-time-cpp | dedab60eefc6c5db94d53f1e1a890cfba8ae3f76 | [
"BSL-1.0"
] | 1 | 2020-03-19T08:10:23.000Z | 2020-03-19T08:10:23.000Z | ref_app/src/mcal/stm32f446/mcal_gpt.cpp | dustex/real-time-cpp | dedab60eefc6c5db94d53f1e1a890cfba8ae3f76 | [
"BSL-1.0"
] | null | null | null | ref_app/src/mcal/stm32f446/mcal_gpt.cpp | dustex/real-time-cpp | dedab60eefc6c5db94d53f1e1a890cfba8ae3f76 | [
"BSL-1.0"
] | null | null | null | ///////////////////////////////////////////////////////////////////////////////
// Copyright Christopher Kormanyos 2007 - 2015.
// Distributed under the Boost Software License,
// Version 1.0. (See accompanying file LICENSE_1_0.txt
// or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#include <array>
#include <c... | 34.590909 | 122 | 0.639947 | dustex |
61946fd077293e6fe88434b89593f36220e38b21 | 6,632 | cc | C++ | src/09_bundle_adjustment/bundle_adjustment.cc | niebayes/uzh_robot_perception_codes | 6ec429537b45a6389c4f364d19661c8757087035 | [
"MIT"
] | 1 | 2020-09-11T05:22:19.000Z | 2020-09-11T05:22:19.000Z | src/09_bundle_adjustment/bundle_adjustment.cc | niebayes/uzh_robot_perception_codes | 6ec429537b45a6389c4f364d19661c8757087035 | [
"MIT"
] | null | null | null | src/09_bundle_adjustment/bundle_adjustment.cc | niebayes/uzh_robot_perception_codes | 6ec429537b45a6389c4f364d19661c8757087035 | [
"MIT"
] | null | null | null | #include <string>
#include <tuple>
#include "armadillo"
#include "ba.h"
#include "ceres/ceres.h"
#include "google_suite.h"
#include "io.h"
#include "matlab_port.h"
#include "opencv2/opencv.hpp"
#include "pcl/visualization/pcl_plotter.h"
#include "transform.h"
int main(int /*argc*/, char** argv) {
google::InitGoogle... | 42.787097 | 80 | 0.680036 | niebayes |
619aa313631f19a0064a2374ce4265254c46d50a | 35,016 | cpp | C++ | aws-cpp-sdk-lookoutequipment/source/LookoutEquipmentClient.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-02-10T08:06:54.000Z | 2022-02-10T08:06:54.000Z | aws-cpp-sdk-lookoutequipment/source/LookoutEquipmentClient.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-01-03T23:59:37.000Z | 2022-01-03T23:59:37.000Z | aws-cpp-sdk-lookoutequipment/source/LookoutEquipmentClient.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2022-02-28T21:36:42.000Z | 2022-02-28T21:36:42.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/core/utils/Outcome.h>
#include <aws/core/auth/AWSAuthSigner.h>
#include <aws/core/client/CoreErrors.h>
#include <aws/core/client/RetryStrategy.h>
#include <aws/core/http/HttpClient.h>
#i... | 54.120556 | 259 | 0.804889 | perfectrecall |
619e7ff1a82ee7d4aea38fd616220d1998ff658f | 6,001 | cpp | C++ | src/mlapack/Rlanv2.cpp | JaegerP/gmpack | 1396fda32177b1517cb6c176543025c3336c8c21 | [
"BSD-2-Clause"
] | null | null | null | src/mlapack/Rlanv2.cpp | JaegerP/gmpack | 1396fda32177b1517cb6c176543025c3336c8c21 | [
"BSD-2-Clause"
] | null | null | null | src/mlapack/Rlanv2.cpp | JaegerP/gmpack | 1396fda32177b1517cb6c176543025c3336c8c21 | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright (c) 2008-2010
* Nakata, Maho
* All rights reserved.
*
* $Id: Rlanv2.cpp,v 1.5 2010/08/07 04:48:32 nakatamaho Exp $
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributi... | 30.005 | 125 | 0.61873 | JaegerP |
619eb40613bab64dde4318ed75324f67467526a6 | 4,207 | hpp | C++ | Systems/Engine/Area.hpp | jodavis42/ZeroPhysicsTestbed | e84a3f6faf16b7a4242dc049121b5338e80039f8 | [
"MIT"
] | 1 | 2022-03-26T21:08:19.000Z | 2022-03-26T21:08:19.000Z | Systems/Engine/Area.hpp | jodavis42/ZeroPhysicsTestbed | e84a3f6faf16b7a4242dc049121b5338e80039f8 | [
"MIT"
] | null | null | null | Systems/Engine/Area.hpp | jodavis42/ZeroPhysicsTestbed | e84a3f6faf16b7a4242dc049121b5338e80039f8 | [
"MIT"
] | null | null | null | ///////////////////////////////////////////////////////////////////////////////
///
/// \file Area.hpp
///
///
/// Authors: Chris Peters, Ryan Edgemon
/// Copyright 2010-2012, DigiPen Institute of Technology
///
///////////////////////////////////////////////////////////////////////////////
#pragma once
na... | 31.631579 | 117 | 0.672688 | jodavis42 |
61a31dbf3413f91075e1ed69c843ac798dc4a05b | 7,743 | cpp | C++ | dp/third-party/hyperscan/src/nfagraph/ng_literal_decorated.cpp | jtravee/neuvector | a88b9363108fc5c412be3007c3d4fb700d18decc | [
"Apache-2.0"
] | 2,868 | 2017-10-26T02:25:23.000Z | 2022-03-31T23:24:16.000Z | src/nfagraph/ng_literal_decorated.cpp | kuangxiaohong/phytium-hyperscan | ae1932734859906278dba623b77f99bba1010d5c | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 270 | 2017-10-30T19:53:54.000Z | 2022-03-30T22:03:17.000Z | src/nfagraph/ng_literal_decorated.cpp | kuangxiaohong/phytium-hyperscan | ae1932734859906278dba623b77f99bba1010d5c | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 403 | 2017-11-02T01:18:22.000Z | 2022-03-14T08:46:20.000Z | /*
* Copyright (c) 2015-2017, Intel Corporation
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice,
* this list of conditions and the f... | 30.604743 | 79 | 0.593827 | jtravee |
61ae4327ae34850ccf63df9488da790eab8bcf46 | 5,263 | cpp | C++ | src/ramp.cpp | mloy/cppstream | 74c96aeb464703fed765739b27dcfabed696dae5 | [
"MIT"
] | 4 | 2017-08-25T19:34:11.000Z | 2022-02-16T14:35:43.000Z | src/ramp.cpp | mloy/cppstream | 74c96aeb464703fed765739b27dcfabed696dae5 | [
"MIT"
] | 2 | 2016-07-25T17:32:23.000Z | 2021-05-25T14:05:13.000Z | src/ramp.cpp | mloy/cppstream | 74c96aeb464703fed765739b27dcfabed696dae5 | [
"MIT"
] | 6 | 2015-05-18T18:55:05.000Z | 2021-11-18T19:29:08.000Z | // Copyright 2014 Hottinger Baldwin Messtechnik
// Distributed under MIT license
// See file LICENSE provided
#include <iostream>
#include <string>
#include <signal.h>
#include <unordered_map>
#include <cmath>
#include <json/writer.h>
#include <json/value.h>
#include "streamclient/streamclient.h"
#include "streamcli... | 35.322148 | 135 | 0.711001 | mloy |
61aed068b89fa7d92561892522e8eca9f87c90db | 2,804 | cpp | C++ | components/libm8r/Mallocator.cpp | cmarrin/libm8r | 2261a52d74a814541ca1a00c23f68a5695f06f99 | [
"MIT"
] | null | null | null | components/libm8r/Mallocator.cpp | cmarrin/libm8r | 2261a52d74a814541ca1a00c23f68a5695f06f99 | [
"MIT"
] | null | null | null | components/libm8r/Mallocator.cpp | cmarrin/libm8r | 2261a52d74a814541ca1a00c23f68a5695f06f99 | [
"MIT"
] | null | null | null | /*-------------------------------------------------------------------------
This source file is a part of m8rscript
For the latest info, see http:www.marrin.org/
Copyright (c) 2018-2019, Chris Marrin
All rights reserved.
Use of this source code is governed by the MIT license that can be
found in... | 31.155556 | 99 | 0.628388 | cmarrin |
61afee0168a286e2fabed63102035aea17224745 | 2,472 | cpp | C++ | wkkit/wkkit/src/XBuzzer.cpp | 7thTool/XMixly | 61f0c62fc8798fd2eb98ecb412500b55501c0ce9 | [
"Apache-2.0"
] | null | null | null | wkkit/wkkit/src/XBuzzer.cpp | 7thTool/XMixly | 61f0c62fc8798fd2eb98ecb412500b55501c0ce9 | [
"Apache-2.0"
] | null | null | null | wkkit/wkkit/src/XBuzzer.cpp | 7thTool/XMixly | 61f0c62fc8798fd2eb98ecb412500b55501c0ce9 | [
"Apache-2.0"
] | null | null | null | /* XBuzzer.cpp
*
* Copyright (C) 2017-2022 Shanghai Mylecon Electronic Technology Co., Ltd.
*
* 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 you... | 19.3125 | 75 | 0.663835 | 7thTool |
61b04792f624f429602c4b87bd6d58e0a9af13ca | 2,977 | hpp | C++ | include/traversecpp/composite.hpp | de-passage/opengl-stuffs | 54b785ad7818118342b203ae8f5d2e55373a1813 | [
"MIT"
] | null | null | null | include/traversecpp/composite.hpp | de-passage/opengl-stuffs | 54b785ad7818118342b203ae8f5d2e55373a1813 | [
"MIT"
] | null | null | null | include/traversecpp/composite.hpp | de-passage/opengl-stuffs | 54b785ad7818118342b203ae8f5d2e55373a1813 | [
"MIT"
] | null | null | null | #ifndef GUARD_DPSG_COMPOSITE_HPP
#define GUARD_DPSG_COMPOSITE_HPP
#include <type_traits>
#include "./fold.hpp"
#include "./traverse.hpp"
namespace dpsg {
template <class... Args>
struct composite {
constexpr composite() noexcept {}
template <
class... Args2,
std::enable_if_t<
std::conjuncti... | 29.77 | 80 | 0.520994 | de-passage |
61b0a0445bab372d7975f16a01c275c463def660 | 13,204 | cpp | C++ | Vulkan/src/Vulkan/tests/TestGraphicsPipeline.cpp | ilkeraktug/Vulkan | b736ba2e01dc8fdfd1aaf3dec334882f7467263f | [
"MIT"
] | null | null | null | Vulkan/src/Vulkan/tests/TestGraphicsPipeline.cpp | ilkeraktug/Vulkan | b736ba2e01dc8fdfd1aaf3dec334882f7467263f | [
"MIT"
] | null | null | null | Vulkan/src/Vulkan/tests/TestGraphicsPipeline.cpp | ilkeraktug/Vulkan | b736ba2e01dc8fdfd1aaf3dec334882f7467263f | [
"MIT"
] | null | null | null | #include "pch.h"
#include "TestGraphicsPipeline.h"
namespace test
{
TestGraphicsPipeline::TestGraphicsPipeline(VulkanCore* core)
{
Test::Init(core);
glfwSetWindowTitle(static_cast<GLFWwindow*>(Window::GetWindow()), "TestGraphicsPipeline");
float right = m_Core->swapchain.extent.width / 200.0f;
float top = m... | 38.721408 | 158 | 0.77628 | ilkeraktug |
ba07e237bdc1645b33b7729ac0032c2c33ec3b2b | 3,593 | cpp | C++ | projects/elevator/elevator.cpp | ab1aw/stm32f4-bare-metal | 8ba0c6f5d51834c35b1262a2e0a5e5a4858d4391 | [
"MIT"
] | null | null | null | projects/elevator/elevator.cpp | ab1aw/stm32f4-bare-metal | 8ba0c6f5d51834c35b1262a2e0a5e5a4858d4391 | [
"MIT"
] | null | null | null | projects/elevator/elevator.cpp | ab1aw/stm32f4-bare-metal | 8ba0c6f5d51834c35b1262a2e0a5e5a4858d4391 | [
"MIT"
] | 1 | 2020-12-13T14:58:44.000Z | 2020-12-13T14:58:44.000Z | #include <tinyfsm.hpp>
#include "elevator.hpp"
#include "fsmlist.hpp"
#include "uart.h"
class Idle; // forward declaration
// ----------------------------------------------------------------------------
// Transition functions
//
static void CallMaintenance() {
brand.data = (uint8_t *)"*** calling maintenance ***... | 20.531429 | 79 | 0.550515 | ab1aw |
ba0e8299aabb21f8e67fdccc15e8dac41d3fe644 | 9,661 | cc | C++ | src/Hmm/GrammarGenerator.cc | alexanderrichard/squirrel | 12614a9eb429500c8f341654043f33a1b6bd1d31 | [
"AFL-3.0"
] | 63 | 2016-07-08T13:35:27.000Z | 2021-01-13T18:37:13.000Z | src/Hmm/GrammarGenerator.cc | alexanderrichard/squirrel | 12614a9eb429500c8f341654043f33a1b6bd1d31 | [
"AFL-3.0"
] | 4 | 2017-08-04T09:25:10.000Z | 2022-02-24T15:38:52.000Z | src/Hmm/GrammarGenerator.cc | alexanderrichard/squirrel | 12614a9eb429500c8f341654043f33a1b6bd1d31 | [
"AFL-3.0"
] | 30 | 2016-05-11T02:24:46.000Z | 2021-11-12T14:06:20.000Z | /*
* Copyright 2016 Alexander Richard
*
* This file is part of Squirrel.
*
* Licensed under the Academic Free License 3.0 (the "License").
* You may not use this file except in compliance with the License.
* You should have received a copy of the License along with Squirrel.
* If not, see <https://opensource.or... | 29.364742 | 145 | 0.661629 | alexanderrichard |
ba1da601349c51a281e4c132ee1f93cd47ce1b78 | 9,150 | cpp | C++ | extensions/ParticleUniverse/CCPUDynamicAttributeTranslator.cpp | lij0511/pandora | 5988618f29d2f1ba418ef54a02e227903c1e7108 | [
"Apache-2.0"
] | null | null | null | extensions/ParticleUniverse/CCPUDynamicAttributeTranslator.cpp | lij0511/pandora | 5988618f29d2f1ba418ef54a02e227903c1e7108 | [
"Apache-2.0"
] | null | null | null | extensions/ParticleUniverse/CCPUDynamicAttributeTranslator.cpp | lij0511/pandora | 5988618f29d2f1ba418ef54a02e227903c1e7108 | [
"Apache-2.0"
] | null | null | null | /****************************************************************************
Copyright (C) 2013 Henry van Merode. All rights reserved.
Copyright (c) 2015 Chukong Technologies Inc.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associa... | 39.956332 | 119 | 0.510055 | lij0511 |
ba1df1adafc5de0b43c0c9a28dd85d9ee750e267 | 894 | cpp | C++ | Source/OpenTournament/Slate/UR_ColorSpectrum.cpp | HAARP-art/OpenTournament | 1bb188983ba4d013a8ce00bbe1a333f2952814e8 | [
"OML"
] | 97 | 2020-05-24T23:09:26.000Z | 2022-01-22T13:35:58.000Z | Source/OpenTournament/Slate/UR_ColorSpectrum.cpp | HAARP-art/OpenTournament | 1bb188983ba4d013a8ce00bbe1a333f2952814e8 | [
"OML"
] | 165 | 2020-05-26T02:42:54.000Z | 2022-03-29T11:01:11.000Z | Source/OpenTournament/Slate/UR_ColorSpectrum.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 "UR_ColorSpectrum.h"
#include "Widgets/DeclarativeSyntaxSupport.h"
#include "Widgets/Colors/SColorSpectrum.h"
///////////////////... | 42.571429 | 102 | 0.634228 | HAARP-art |
ba1e5eeee7f9103966150d05258b6d23b6aa8206 | 8,553 | cpp | C++ | source/Intro.cpp | TheCyberMonk/scionsofchanneling | 7a4695d9c82faa41564e3bfbde87f7f0845f0f3b | [
"MIT"
] | null | null | null | source/Intro.cpp | TheCyberMonk/scionsofchanneling | 7a4695d9c82faa41564e3bfbde87f7f0845f0f3b | [
"MIT"
] | null | null | null | source/Intro.cpp | TheCyberMonk/scionsofchanneling | 7a4695d9c82faa41564e3bfbde87f7f0845f0f3b | [
"MIT"
] | null | null | null | #include "../include/Being.h"
void Intro()
{
Weapon StarterWeapon;
Being Hadgar("Hadgar", "Commander", "NPC", 10, 80, 15, 25, 8, 15, 100, 500);
Player hero("Farmer John", "Peasant", 15, 0, 0, 0, 0, 5);
Clear(&hero);
Paragraph(&hero, "You have been trekking through an arid desert for days, searching for the rumor... | 57.402685 | 320 | 0.698468 | TheCyberMonk |
ba21becb6ad3a280b98362166f360fc852755dd3 | 4,590 | cpp | C++ | Tools/RemoteProtocolBridge/Source/ProtocolProcessor/ProtocolProcessor_Abstract.cpp | dbaudio-soundscape/Support-Generic-OSC-DiGiCo | 54943f3d797844665644215da70bf7ee3a5bee64 | [
"Xnet",
"RSA-MD",
"X11"
] | null | null | null | Tools/RemoteProtocolBridge/Source/ProtocolProcessor/ProtocolProcessor_Abstract.cpp | dbaudio-soundscape/Support-Generic-OSC-DiGiCo | 54943f3d797844665644215da70bf7ee3a5bee64 | [
"Xnet",
"RSA-MD",
"X11"
] | null | null | null | Tools/RemoteProtocolBridge/Source/ProtocolProcessor/ProtocolProcessor_Abstract.cpp | dbaudio-soundscape/Support-Generic-OSC-DiGiCo | 54943f3d797844665644215da70bf7ee3a5bee64 | [
"Xnet",
"RSA-MD",
"X11"
] | null | null | null | /*
===============================================================================
Copyright (C) 2019 d&b audiotechnik GmbH & Co. KG. All Rights Reserved.
This file is part of RemoteProtocolBridge.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the follo... | 34.772727 | 186 | 0.726797 | dbaudio-soundscape |
ba22b6778ec9e6f7b5c30820a081e0696c16a7c2 | 1,907 | cc | C++ | lib/src/facts/posix/identity_resolver.cc | hkenney/facter | 7856a75a6d5e637f90018ff91111d6e75df608dc | [
"Apache-2.0"
] | null | null | null | lib/src/facts/posix/identity_resolver.cc | hkenney/facter | 7856a75a6d5e637f90018ff91111d6e75df608dc | [
"Apache-2.0"
] | null | null | null | lib/src/facts/posix/identity_resolver.cc | hkenney/facter | 7856a75a6d5e637f90018ff91111d6e75df608dc | [
"Apache-2.0"
] | null | null | null | #include <internal/facts/posix/identity_resolver.hpp>
#include <leatherman/logging/logging.hpp>
#include <sys/types.h>
#include <unistd.h>
#include <pwd.h>
#include <grp.h>
using namespace std;
namespace facter { namespace facts { namespace posix {
identity_resolver::data identity_resolver::collect_data(collecti... | 28.893939 | 80 | 0.563188 | hkenney |
ba23ab00ac0f89bcc80affc5dc61265de02c73ac | 602 | cpp | C++ | Solutions/Count Primes/main.cpp | Crayzero/LeetCodeProgramming | b10ebe22c0de1501722f0f5c934c0c1902a26789 | [
"MIT"
] | 1 | 2015-04-13T10:58:30.000Z | 2015-04-13T10:58:30.000Z | Solutions/Count Primes/main.cpp | Crayzero/LeetCodeProgramming | b10ebe22c0de1501722f0f5c934c0c1902a26789 | [
"MIT"
] | null | null | null | Solutions/Count Primes/main.cpp | Crayzero/LeetCodeProgramming | b10ebe22c0de1501722f0f5c934c0c1902a26789 | [
"MIT"
] | null | null | null | #include <iostream>
#include <unordered_map>
using namespace std;
class Solution {
public:
int countPrimes(int n) {
int *m = new int[n];
for(int i = 0; i < n; i++) m[i] = 0;
int res = 0;
int i = 2;
while(1) {
for(; m[i] == 1 && i < n; i++);
cout<<i<<... | 18.242424 | 44 | 0.390365 | Crayzero |
ba269c4b8589c258115b5b470f432c614a11e178 | 2,749 | cpp | C++ | WeatherData.cpp | eb3nezer/WeatherOrNot | a2653676f59429c6204ea13023d4e9fa6681b1dc | [
"MIT",
"Unlicense"
] | null | null | null | WeatherData.cpp | eb3nezer/WeatherOrNot | a2653676f59429c6204ea13023d4e9fa6681b1dc | [
"MIT",
"Unlicense"
] | null | null | null | WeatherData.cpp | eb3nezer/WeatherOrNot | a2653676f59429c6204ea13023d4e9fa6681b1dc | [
"MIT",
"Unlicense"
] | null | null | null | // Copyright (c) 2014 Ben Kelley.
//
// MIT License http://opensource.org/licenses/MIT
#include "WeatherData.h"
WeatherData::WeatherData() {
int loop;
for(loop = 0; loop < MAX_DATA_FIELDS; loop++) {
key[loop] = -1;
value[loop] = 0;
dataIsSet[loop] = false;
multiplier[loop] = 1;... | 24.544643 | 76 | 0.524918 | eb3nezer |
ba2b522c7c7cb88fb266449d00674235d8241e3e | 1,833 | cpp | C++ | aml.cpp | RusJJ/AndroidModLoader | 981978237f020d571dac752e44ab9d70358f8156 | [
"MIT"
] | 10 | 2021-08-16T04:22:53.000Z | 2022-02-14T01:22:23.000Z | aml.cpp | RusJJ/AndroidModLoader | 981978237f020d571dac752e44ab9d70358f8156 | [
"MIT"
] | null | null | null | aml.cpp | RusJJ/AndroidModLoader | 981978237f020d571dac752e44ab9d70358f8156 | [
"MIT"
] | 4 | 2021-08-20T00:03:16.000Z | 2022-02-04T10:29:53.000Z | #include <include/aml.h>
#include <ARMPatch.h>
#include <include/modslist.h>
extern char g_szAppName[0xFF];
extern char g_szCfgPath[0xFF];
extern char g_szAndroidDataDir[0xFF];
extern const char* g_szDataDir;
const char* AML::GetCurrentGame()
{
return g_szAppName;
}
const char* AML::GetConfigPath()
{
return g... | 19.09375 | 69 | 0.71413 | RusJJ |
ba2c5d62cce6403a906aa3785e4a28cc546fb9d4 | 11,175 | cpp | C++ | src/Hooks/QuickplayHooks.cpp | okibcn/MultiQuestensions | 7c78cad89f88639c8a0ad9a1e124e9beedbe3e9a | [
"MIT"
] | null | null | null | src/Hooks/QuickplayHooks.cpp | okibcn/MultiQuestensions | 7c78cad89f88639c8a0ad9a1e124e9beedbe3e9a | [
"MIT"
] | null | null | null | src/Hooks/QuickplayHooks.cpp | okibcn/MultiQuestensions | 7c78cad89f88639c8a0ad9a1e124e9beedbe3e9a | [
"MIT"
] | 1 | 2022-01-25T12:54:01.000Z | 2022-01-25T12:54:01.000Z | #include "main.hpp"
#include "Hooks/Hooks.hpp"
#include "GlobalFields.hpp"
#include "GlobalNamespace/MasterServerQuickPlaySetupData_QuickPlaySongPacksOverride_PredefinedPack.hpp"
#include "GlobalNamespace/MasterServerQuickPlaySetupData_QuickPlaySongPacksOverride_LocalizedCustomPack.hpp"
#include "GlobalNamespace/Maste... | 63.494318 | 258 | 0.697539 | okibcn |
ba2d367602f25e8aad14e7bb6dee1e23e4b864ae | 1,111 | hpp | C++ | include/nudb/file.hpp | movitto/NuDB | 79c1dcaec8aa54d93979fb56c66ab4d925eda29c | [
"BSL-1.0"
] | 279 | 2016-08-24T18:50:33.000Z | 2022-01-17T22:28:17.000Z | include/nudb/file.hpp | movitto/NuDB | 79c1dcaec8aa54d93979fb56c66ab4d925eda29c | [
"BSL-1.0"
] | 61 | 2016-08-23T23:26:00.000Z | 2019-04-04T22:26:26.000Z | include/nudb/file.hpp | movitto/NuDB | 79c1dcaec8aa54d93979fb56c66ab4d925eda29c | [
"BSL-1.0"
] | 44 | 2016-08-25T19:17:03.000Z | 2021-09-10T08:14:00.000Z | //
// Copyright (c) 2015-2016 Vinnie Falco (vinnie dot falco at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#ifndef NUDB_FILE_HPP
#define NUDB_FILE_HPP
#include <boost/core/ignore_unused.h... | 19.839286 | 79 | 0.693069 | movitto |
ba2ebc46b22d1c7714d09740a4a250f1fb2284a8 | 3,114 | cpp | C++ | source/engine/physics_joint_component.cpp | Lauvak/ray | 906d3991ddd232a7f78f0e51f29aeead008a139a | [
"BSD-3-Clause"
] | 113 | 2015-06-25T06:24:59.000Z | 2021-09-26T02:46:02.000Z | source/engine/physics_joint_component.cpp | Lauvak/ray | 906d3991ddd232a7f78f0e51f29aeead008a139a | [
"BSD-3-Clause"
] | 2 | 2015-05-03T07:22:49.000Z | 2017-12-11T09:17:20.000Z | source/engine/physics_joint_component.cpp | Lauvak/ray | 906d3991ddd232a7f78f0e51f29aeead008a139a | [
"BSD-3-Clause"
] | 17 | 2015-11-10T15:07:15.000Z | 2021-01-19T15:28:16.000Z | // +----------------------------------------------------------------------
// | Project : ray.
// | All rights reserved.
// +----------------------------------------------------------------------
// | Copyright (c) 2013-2017.
// +----------------------------------------------------------------------
// | * Redistributi... | 30.529412 | 81 | 0.678548 | Lauvak |
ba2ecb2eabc008d4751f6e023b7e991c1818bd1d | 32,233 | hpp | C++ | include/geometricks/data_structure/kd_tree.hpp | mitthy/TCC | 4c48eb11cafd50334c5faef93edc5f03bc7fc171 | [
"MIT"
] | null | null | null | include/geometricks/data_structure/kd_tree.hpp | mitthy/TCC | 4c48eb11cafd50334c5faef93edc5f03bc7fc171 | [
"MIT"
] | null | null | null | include/geometricks/data_structure/kd_tree.hpp | mitthy/TCC | 4c48eb11cafd50334c5faef93edc5f03bc7fc171 | [
"MIT"
] | null | null | null | #ifndef GEOMETRICKS_DATA_STRUCTURE_KD_TREE_HPP
#define GEOMETRICKS_DATA_STRUCTURE_KD_TREE_HPP
//C++ stdlib includes
#include <functional>
#include <type_traits>
#include <algorithm>
#include <queue>
#include <vector>
//Project includes
#include "dimensional_traits.hpp"
#include "geometricks/meta/utils.hpp"
#include "... | 52.156958 | 238 | 0.64012 | mitthy |
ba2f84ded1865910eb68a65561049c52615cddf2 | 19,601 | cpp | C++ | src/fios.cpp | trademarks/OpenTTD | fd7fca73cf61a2960e8df8fa221b179d23ae3ef0 | [
"Unlicense"
] | 8 | 2016-10-21T09:01:43.000Z | 2021-05-31T06:32:14.000Z | src/fios.cpp | blackberry/OpenTTD | fd7fca73cf61a2960e8df8fa221b179d23ae3ef0 | [
"Unlicense"
] | null | null | null | src/fios.cpp | blackberry/OpenTTD | fd7fca73cf61a2960e8df8fa221b179d23ae3ef0 | [
"Unlicense"
] | 4 | 2017-05-16T00:15:58.000Z | 2020-08-06T01:46:31.000Z | /* $Id$ */
/*
* This file is part of OpenTTD.
* OpenTTD 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, version 2.
* OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without... | 29.298954 | 185 | 0.69624 | trademarks |
ba2f9f2ba22a0ceff98639813067803c12bb4f6c | 2,142 | cpp | C++ | src/GraphicsPipeline.cpp | skaarj1989/FrameGraph-Example | 7867df8e3146acfffaf41173d5776b6ac265fd50 | [
"MIT"
] | 5 | 2022-03-17T06:02:13.000Z | 2022-03-25T06:06:48.000Z | src/GraphicsPipeline.cpp | skaarj1989/FrameGraph-Example | 7867df8e3146acfffaf41173d5776b6ac265fd50 | [
"MIT"
] | null | null | null | src/GraphicsPipeline.cpp | skaarj1989/FrameGraph-Example | 7867df8e3146acfffaf41173d5776b6ac265fd50 | [
"MIT"
] | 2 | 2022-03-17T06:53:48.000Z | 2022-03-25T05:06:54.000Z | #include "GraphicsPipeline.hpp"
#include "spdlog/spdlog.h"
//
// GraphicsPipeline class:
//
GraphicsPipeline::GraphicsPipeline(GraphicsPipeline &&other) noexcept
: m_program{other.m_program}, m_vertexArray{other.m_vertexArray},
m_depthStencilState{std::move(other.m_depthStencilState)},
m_rasterizerSta... | 27.818182 | 80 | 0.729692 | skaarj1989 |
ba306e63838b3f5e22f98d026a03757494e21d1a | 4,857 | cpp | C++ | src/Evolution/DgSubcell/Reconstruction.cpp | nilsvu/spectre | 1455b9a8d7e92db8ad600c66f54795c29c3052ee | [
"MIT"
] | 1 | 2022-01-11T00:17:33.000Z | 2022-01-11T00:17:33.000Z | src/Evolution/DgSubcell/Reconstruction.cpp | nilsvu/spectre | 1455b9a8d7e92db8ad600c66f54795c29c3052ee | [
"MIT"
] | null | null | null | src/Evolution/DgSubcell/Reconstruction.cpp | nilsvu/spectre | 1455b9a8d7e92db8ad600c66f54795c29c3052ee | [
"MIT"
] | null | null | null | // Distributed under the MIT License.
// See LICENSE.txt for details.
#include "Evolution/DgSubcell/Reconstruction.hpp"
#include <array>
#include <cstddef>
#include <functional>
#include "DataStructures/ApplyMatrices.hpp"
#include "DataStructures/DataVector.hpp"
#include "DataStructures/Matrix.hpp"
#include "Evoluti... | 44.559633 | 80 | 0.663578 | nilsvu |
ba3295fbb35e7a8dba5e617e1c1baf9ab4bf8387 | 419 | cpp | C++ | Engine/Math/Rotation/AxisAngle/AxisAngle.cpp | gregory-vovchok/YEngine | e28552e52588bd90db01dd53e5fc817d0a26d146 | [
"BSD-2-Clause"
] | null | null | null | Engine/Math/Rotation/AxisAngle/AxisAngle.cpp | gregory-vovchok/YEngine | e28552e52588bd90db01dd53e5fc817d0a26d146 | [
"BSD-2-Clause"
] | null | null | null | Engine/Math/Rotation/AxisAngle/AxisAngle.cpp | gregory-vovchok/YEngine | e28552e52588bd90db01dd53e5fc817d0a26d146 | [
"BSD-2-Clause"
] | 1 | 2020-12-04T08:57:03.000Z | 2020-12-04T08:57:03.000Z |
#include "AxisAngle.h"
AxisAngle::AxisAngle(void): angle(0.0f)
{}
AxisAngle::AxisAngle(Vector3 _axis, float _angle): axis(_axis), angle(_angle)
{}
bool AxisAngle::operator == (const AxisAngle& _axisAngle)const
{
if(axis == _axisAngle.axis && angle == _axisAngle.angle)
{
return true;
}
return false;
}
... | 14.448276 | 77 | 0.689737 | gregory-vovchok |
ba3365cd7882759f3e91fcb1a6387fc7a2500054 | 6,614 | cc | C++ | src/core/ext/filters/client_channel/backup_poller.cc | lishengze/grpc | 70fa55155beade94670661f033e91b55f43c9dee | [
"Apache-2.0"
] | 1 | 2021-12-01T03:10:14.000Z | 2021-12-01T03:10:14.000Z | src/core/ext/filters/client_channel/backup_poller.cc | lishengze/grpc | 70fa55155beade94670661f033e91b55f43c9dee | [
"Apache-2.0"
] | null | null | null | src/core/ext/filters/client_channel/backup_poller.cc | lishengze/grpc | 70fa55155beade94670661f033e91b55f43c9dee | [
"Apache-2.0"
] | null | null | null | /*
*
* Copyright 2017 gRPC authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | 35.180851 | 79 | 0.725431 | lishengze |
ba37c13b3ec63bc1c4bd80a740619d8a1850f794 | 29,454 | cpp | C++ | src/umpire/ResourceManager.cpp | degrbg/Umpire | 15f1d3e2f94b97746d63fc3a6a816a197fb9274a | [
"MIT-0",
"MIT"
] | null | null | null | src/umpire/ResourceManager.cpp | degrbg/Umpire | 15f1d3e2f94b97746d63fc3a6a816a197fb9274a | [
"MIT-0",
"MIT"
] | null | null | null | src/umpire/ResourceManager.cpp | degrbg/Umpire | 15f1d3e2f94b97746d63fc3a6a816a197fb9274a | [
"MIT-0",
"MIT"
] | null | null | null | //////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2016-22, Lawrence Livermore National Security, LLC and Umpire
// project contributors. See the COPYRIGHT file for details.
//
// SPDX-License-Identifier: (MIT)
////////////////////////////////////////////////////////////////... | 34.529894 | 120 | 0.637197 | degrbg |
ba3ae8078796072527773316a06b51bcb4a4a4eb | 4,029 | cpp | C++ | source/tests/metacall_load_memory_test/source/metacall_load_memory_test.cpp | 0xAnarz/core | 0c9310d9c9c2074782b3641a639b1e1a931f1afe | [
"Apache-2.0"
] | 928 | 2018-12-26T22:40:59.000Z | 2022-03-31T12:17:43.000Z | source/tests/metacall_load_memory_test/source/metacall_load_memory_test.cpp | akshgpt7/core | 29dda647a2c421ad941ad12bee7111d4fa0940de | [
"Apache-2.0"
] | 132 | 2019-03-01T21:01:17.000Z | 2022-03-17T09:00:42.000Z | source/tests/metacall_load_memory_test/source/metacall_load_memory_test.cpp | akshgpt7/core | 29dda647a2c421ad941ad12bee7111d4fa0940de | [
"Apache-2.0"
] | 112 | 2019-01-15T09:36:11.000Z | 2022-03-12T06:39:01.000Z | /*
* MetaCall Library by Parra Studios
* A library for providing a foreign function interface calls.
*
* Copyright (C) 2016 - 2021 Vicente Eduardo Ferrer Garcia <vic798@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License... | 25.18125 | 93 | 0.66071 | 0xAnarz |
ba3c203c872ed128aef1c0071b53448e40c8700a | 3,308 | hxx | C++ | Modules/Search/max_m_elements.hxx | michael-jeulinl/Hurna-Lib | 624f60454fdab4dadcd33a3910c369f46ad5b4b0 | [
"MIT"
] | 17 | 2018-06-02T13:08:15.000Z | 2022-01-05T15:01:28.000Z | Modules/Search/max_m_elements.hxx | michael-jeulinl/Hurna-Lib | 624f60454fdab4dadcd33a3910c369f46ad5b4b0 | [
"MIT"
] | 2 | 2019-03-29T11:01:47.000Z | 2021-11-21T13:45:52.000Z | Modules/Search/max_m_elements.hxx | michael-jeulinl/Hurna-Lib | 624f60454fdab4dadcd33a3910c369f46ad5b4b0 | [
"MIT"
] | 9 | 2020-04-27T23:31:33.000Z | 2022-01-03T09:02:25.000Z | /*===========================================================================================================
*
* HUC - Hurna Core
*
* Copyright (c) Michael Jeulin-Lagarrigue
*
* Licensed under the MIT License, you may not use this file except in compliance with the License.
* You may obtain a copy of the Lice... | 40.839506 | 109 | 0.635732 | michael-jeulinl |
ba4197f1be408b08539d541a39e6833018fdd6f1 | 546 | cpp | C++ | Assets/oculusintegration/Samples/VoipNetChat/VoIPLoopback.cpp | vrshiftr/CovidVR | 24f17bf567e58af6646688e32c26c8345d70b2bb | [
"MIT"
] | null | null | null | Assets/oculusintegration/Samples/VoipNetChat/VoIPLoopback.cpp | vrshiftr/CovidVR | 24f17bf567e58af6646688e32c26c8345d70b2bb | [
"MIT"
] | null | null | null | Assets/oculusintegration/Samples/VoipNetChat/VoIPLoopback.cpp | vrshiftr/CovidVR | 24f17bf567e58af6646688e32c26c8345d70b2bb | [
"MIT"
] | null | null | null | // OpenAL header files
#include <al.h>
#include <alc.h>
#include <list>
#include <conio.h>
#include "OVR_Platform.h"
#include "State.h"
#include "Audio.h"
Audio oAudio;
int main(int argc, char** argv) {
if (argc < 2) {
fprintf(stderr, "usage: VoIPLoopback.exe <appID>");
exit(1);
}
Audio oAudio;
//... | 17.0625 | 66 | 0.64652 | vrshiftr |
ba4794632b65b2e7df579f667303447f8871f85b | 3,298 | cpp | C++ | modules/imgcodecs/test/test_png.cpp | zhongshenxuexi/opencv | 10ae0c4364ecf1bebf3a80f7a6570142e4da7632 | [
"BSD-3-Clause"
] | 17 | 2016-03-16T08:48:30.000Z | 2022-02-21T12:09:28.000Z | modules/imgcodecs/test/test_png.cpp | nurisis/opencv | 4378b4d03d8415a132b6675883957243f95d75ee | [
"BSD-3-Clause"
] | 5 | 2017-10-15T15:44:47.000Z | 2022-02-17T11:31:32.000Z | modules/imgcodecs/test/test_png.cpp | nurisis/opencv | 4378b4d03d8415a132b6675883957243f95d75ee | [
"BSD-3-Clause"
] | 25 | 2018-09-26T08:51:13.000Z | 2022-02-24T13:43:58.000Z | // This file is part of OpenCV project.
// It is subject to the license terms in the LICENSE file found in the top-level directory
// of this distribution and at http://opencv.org/license.html
#include "test_precomp.hpp"
namespace opencv_test { namespace {
#ifdef HAVE_PNG
TEST(Imgcodecs_Png, write_big)
{
const s... | 33.313131 | 90 | 0.673135 | zhongshenxuexi |
ba482f1d4483d0606ac1e935759d77f2f5361e6b | 735 | cpp | C++ | lovely/controller/src/controller/executor/executor.tests.cpp | tirpidz/lovely | 772a248137be1ce6b2af1147a590554f160af5be | [
"Apache-2.0"
] | 1 | 2021-01-15T16:55:03.000Z | 2021-01-15T16:55:03.000Z | lovely/controller/src/controller/executor/executor.tests.cpp | tirpidz/lovely | 772a248137be1ce6b2af1147a590554f160af5be | [
"Apache-2.0"
] | 24 | 2021-01-11T01:06:10.000Z | 2021-01-18T16:28:59.000Z | lovely/controller/src/controller/executor/executor.tests.cpp | tirpidz/lovely | 772a248137be1ce6b2af1147a590554f160af5be | [
"Apache-2.0"
] | null | null | null | #include <lovely/controller/executor/executor.h>
#include <lovely/controller/updater/updater.h>
#include <lovely/model/model.h>
#include <lovely/model/tests/model/custom_model.h>
#include <catch2/catch.hpp>
using namespace lovely;
TEST_CASE("executor initialize", "[controller]")
{
const int int_ref = 42;
cu... | 21.617647 | 70 | 0.703401 | tirpidz |
ba4adf2027797bf0e4d61f2fd2718a7bf1ebe4ed | 2,131 | hpp | C++ | include/pstore/broker/quit.hpp | paulhuggett/pstore2 | a0c663d10a2e2713fdf39ecdae1f9c1e96041f5c | [
"Apache-2.0"
] | 11 | 2018-02-02T21:24:49.000Z | 2020-12-11T04:06:03.000Z | include/pstore/broker/quit.hpp | SNSystems/pstore | 74e9dd960245d6bfc125af03ed964d8ad660a62d | [
"Apache-2.0"
] | 63 | 2018-02-05T17:24:59.000Z | 2022-03-22T17:26:28.000Z | include/pstore/broker/quit.hpp | paulhuggett/pstore | 067be94d87c87fce524c8d76c6f47c347d8f1853 | [
"Apache-2.0"
] | 5 | 2020-01-13T22:47:11.000Z | 2021-05-14T09:31:15.000Z | //===- include/pstore/broker/quit.hpp ---------------------*- mode: C++ -*-===//
//* _ _ *
//* __ _ _ _(_) |_ *
//* / _` | | | | | __| *
//* | (_| | |_| | | |_ *
//* \__, |\__,_|_|\__| *
//* |_| *
//===----------------------------------------------------------------------===//
//... | 34.934426 | 97 | 0.549038 | paulhuggett |
ba4c71174f9b01c43456008e2038bbd017030b20 | 821 | cpp | C++ | ECS/Project/Project/ECS/Component/Component.cpp | AshwinKumarVijay/ECS-Development | c70bd6a9f681b828ded8e89bc7f4f14649edfb84 | [
"MIT"
] | 2 | 2017-01-30T23:37:42.000Z | 2017-09-08T09:32:37.000Z | ECS/Project/Project/ECS/Component/Component.cpp | AshwinKumarVijay/SceneECS | 2acc115d5e7738ef9bf087c025e5e5a10cac3443 | [
"MIT"
] | null | null | null | ECS/Project/Project/ECS/Component/Component.cpp | AshwinKumarVijay/SceneECS | 2acc115d5e7738ef9bf087c025e5e5a10cac3443 | [
"MIT"
] | null | null | null | #include "Component.h"
// Default Component Constructor
Component::Component(const ComponentType & newComponentTypeSignature, const ComponentTypeRequirement & newComponentTypeRequirementsSignature)
{
componentTypeSignature = newComponentTypeSignature;
componentTypeRequirementsSignature = newComponentTypeRequiremen... | 28.310345 | 141 | 0.830694 | AshwinKumarVijay |
ba4d500bef3d7e02b7c80d4f29b78409d5971b39 | 2,990 | cc | C++ | openGLContext.cc | dfyzy/simpleGL | 55790726559b46be596d16c294940ba629bd838c | [
"MIT"
] | 1 | 2016-10-16T21:19:21.000Z | 2016-10-16T21:19:21.000Z | openGLContext.cc | dfyzy/simpleGL | 55790726559b46be596d16c294940ba629bd838c | [
"MIT"
] | null | null | null | openGLContext.cc | dfyzy/simpleGL | 55790726559b46be596d16c294940ba629bd838c | [
"MIT"
] | null | null | null | #include <windows.h>
#include "openGLContext.h"
#include "log.h"
namespace simpleGL {
OpenGLContext::OpenGLContext() {
println("GLEW:load");
// Set this to true so GLEW knows to use a modern approach to retrieving function pointers and extensions
glewExperimental = GL_TRUE;
// Initialize GLEW to setup the OpenGL... | 26.460177 | 117 | 0.73311 | dfyzy |
ba512dacf2ac24d4c5be3e048e6269f07459fef8 | 402 | cpp | C++ | Source/GUI/Submenus/Online.cpp | HatchesPls/GrandTheftAutoV-Cheat | f06011362a0a8297439b260a670f5091118ef5de | [
"curl",
"MIT"
] | 31 | 2021-07-13T21:24:58.000Z | 2022-03-31T13:04:38.000Z | Source/GUI/Submenus/Online.cpp | HatchesPls/GrandTheftAutoV-Cheat | f06011362a0a8297439b260a670f5091118ef5de | [
"curl",
"MIT"
] | 12 | 2021-07-28T16:53:58.000Z | 2022-03-31T22:51:03.000Z | Source/GUI/Submenus/Online.cpp | HowYouDoinMate/GrandTheftAutoV-Cheat | 1a345749fc676b7bf2c5cd4df63ed6c9b80ff377 | [
"curl",
"MIT"
] | 12 | 2020-08-16T15:57:52.000Z | 2021-06-23T13:08:53.000Z | #include "../Header/Cheat Functions/FiberMain.h"
using namespace Cheat;
void GUI::Submenus::Online()
{
GUI::Title("Online");
GUI::MenuOption("Players", Submenus::PlayerList);
GUI::MenuOption("All Players", Submenus::AllPlayers);
GUI::MenuOption("Protections", Submenus::Protections);
GUI::MenuOption("Recovery", Su... | 33.5 | 63 | 0.743781 | HatchesPls |
ba54939c6302318c34c410d020d4736bb31f63b7 | 10,392 | hpp | C++ | test/rocprim/test_block_reduce.kernels.hpp | pavahora/rocPRIM | 180bf4ea64dc2262d4053c306e8e478a35c3c6e1 | [
"MIT"
] | 83 | 2018-04-17T22:14:24.000Z | 2022-02-25T14:05:18.000Z | test/rocprim/test_block_reduce.kernels.hpp | pavahora/rocPRIM | 180bf4ea64dc2262d4053c306e8e478a35c3c6e1 | [
"MIT"
] | 122 | 2018-05-08T05:34:40.000Z | 2022-03-09T22:35:05.000Z | test/rocprim/test_block_reduce.kernels.hpp | pavahora/rocPRIM | 180bf4ea64dc2262d4053c306e8e478a35c3c6e1 | [
"MIT"
] | 41 | 2018-05-24T19:12:50.000Z | 2021-11-04T16:25:48.000Z | // MIT License
//
// Copyright (c) 2017-2020 Advanced Micro Devices, Inc. All rights reserved.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without lim... | 32.273292 | 147 | 0.640878 | pavahora |
ba55c719bf78a2d034bd927bfcfc478b60c2e157 | 53 | cpp | C++ | libs/ph/libs/math/src/math.cpp | phiwen96/MyLibs | 33b8b4db196040e91eb1c3596634ba73c72a494b | [
"MIT"
] | null | null | null | libs/ph/libs/math/src/math.cpp | phiwen96/MyLibs | 33b8b4db196040e91eb1c3596634ba73c72a494b | [
"MIT"
] | null | null | null | libs/ph/libs/math/src/math.cpp | phiwen96/MyLibs | 33b8b4db196040e91eb1c3596634ba73c72a494b | [
"MIT"
] | null | null | null | #include <ph/math/math.hpp>
namespace ph::math
{
}
| 7.571429 | 27 | 0.660377 | phiwen96 |
ba597694175d6671a7e19b840d418421ce576468 | 3,218 | hpp | C++ | src/factor.hpp | mgbellemare/SkipCTS | ff142fa87bc16b1e2e381cf4f9e4959e754b9028 | [
"Apache-2.0"
] | 48 | 2015-01-27T10:19:27.000Z | 2022-02-02T07:49:56.000Z | src/factor.hpp | GitHubBeinner/SkipCTS | 48af5c74ed43f724c61cdcf2e1a022f48c460ed7 | [
"Apache-2.0"
] | 2 | 2017-02-12T21:42:47.000Z | 2018-02-27T01:44:10.000Z | src/factor.hpp | GitHubBeinner/SkipCTS | 48af5c74ed43f724c61cdcf2e1a022f48c460ed7 | [
"Apache-2.0"
] | 10 | 2016-06-15T07:06:33.000Z | 2020-08-10T12:04:21.000Z | #ifndef __FACTOR_HPP__
#define __FACTOR_HPP__
/******************************
Author: Joel Veness
Date: 2011
******************************/
#include "common.hpp"
// a generic structure for combining compressors for byte oriented data
template <typename T, size_t N>
class Factor : public Co... | 23.489051 | 86 | 0.585768 | mgbellemare |
ba6100fde06249aa43bfcc6992e3430ba02c6454 | 1,082 | cpp | C++ | libs/numeric/linear_algebra/test/vector_test_rolf.cpp | lit-uriy/mtl4-mirror | 37cf7c2847165d3537cbc3400cb5fde6f80e3d8b | [
"MTLL"
] | 24 | 2019-03-26T15:25:45.000Z | 2022-03-26T10:00:45.000Z | libs/numeric/linear_algebra/test/vector_test_rolf.cpp | lit-uriy/mtl4-mirror | 37cf7c2847165d3537cbc3400cb5fde6f80e3d8b | [
"MTLL"
] | 2 | 2020-04-17T12:35:32.000Z | 2021-03-03T15:46:25.000Z | libs/numeric/linear_algebra/test/vector_test_rolf.cpp | lit-uriy/mtl4-mirror | 37cf7c2847165d3537cbc3400cb5fde6f80e3d8b | [
"MTLL"
] | 10 | 2019-12-01T13:40:30.000Z | 2022-01-14T08:39:54.000Z | #include<boost/numeric/ublas/vector.hpp>
#include<boost/numeric/ublas/io.hpp>
// #include "vector_concepts.hpp"
#include <boost/numeric/linear_algebra/vector_concepts.hpp>
typedef double Type;
namespace ublas = boost::numeric::ublas;
typedef ublas::vector<Type> Vector;
namespace math {
concept_map AdditiveAbelian... | 27.74359 | 340 | 0.735675 | lit-uriy |
ba682e4e3c88c10e6bda68d00264237a3bd1d7d8 | 6,651 | cpp | C++ | hlp/dlls/carnet.cpp | Parpaing-1337-Krew/HL-Parpaing-updated | cd93465941fc359fd1e3b2f5e3be9a0cd89cd13a | [
"Unlicense"
] | 2 | 2020-01-08T10:13:18.000Z | 2020-07-14T12:50:08.000Z | hlp/dlls/carnet.cpp | Parpaing-1337-Krew/HL-Parpaing-updated | cd93465941fc359fd1e3b2f5e3be9a0cd89cd13a | [
"Unlicense"
] | null | null | null | hlp/dlls/carnet.cpp | Parpaing-1337-Krew/HL-Parpaing-updated | cd93465941fc359fd1e3b2f5e3be9a0cd89cd13a | [
"Unlicense"
] | null | null | null | #include "extdll.h"
#include "util.h"
#include "cbase.h"
#include "weapons.h"
#include "player.h"
LINK_ENTITY_TO_CLASS( weapon_carnet, CCarnet );
enum carnet_e {
CARNET_IDLE = 0,
CARNET_IDLE2,
CARNET_ATTACK,
CARNET_HOLSTER,
CARNET_DRAW,
};
// --------------------------------------------
// U... | 27.37037 | 194 | 0.574049 | Parpaing-1337-Krew |
ba6b28d9bb741c070d86d00659946b69938084c1 | 53,813 | cpp | C++ | src/liboslcomp/oslcomp.cpp | brechtvl/OpenShadingLanguage | 71c4fb263fcdc88decf2b86d346836f7a2b4d463 | [
"BSD-3-Clause"
] | 1 | 2019-08-08T04:31:36.000Z | 2019-08-08T04:31:36.000Z | src/liboslcomp/oslcomp.cpp | brechtvl/OpenShadingLanguage | 71c4fb263fcdc88decf2b86d346836f7a2b4d463 | [
"BSD-3-Clause"
] | null | null | null | src/liboslcomp/oslcomp.cpp | brechtvl/OpenShadingLanguage | 71c4fb263fcdc88decf2b86d346836f7a2b4d463 | [
"BSD-3-Clause"
] | null | null | null | /*
Copyright (c) 2009-2010 Sony Pictures Imageworks Inc., et al.
All Rights Reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of co... | 35.380013 | 101 | 0.566852 | brechtvl |
ba6c36dbbcf34975ef6d78b779bf32d8dcf7a97e | 578 | hpp | C++ | src/Builtins/Lists/ListsModule.hpp | pawel-jarosz/nastya-lisp | 813a58523b741e00c8c27980fe658b546e9ff38c | [
"MIT"
] | 1 | 2021-03-12T13:39:17.000Z | 2021-03-12T13:39:17.000Z | src/Builtins/Lists/ListsModule.hpp | pawel-jarosz/nastya-lisp | 813a58523b741e00c8c27980fe658b546e9ff38c | [
"MIT"
] | null | null | null | src/Builtins/Lists/ListsModule.hpp | pawel-jarosz/nastya-lisp | 813a58523b741e00c8c27980fe658b546e9ff38c | [
"MIT"
] | null | null | null | //
// Created by caedus on 21.12.2020.
//
#pragma once
#include <string>
#include "Modules/ModuleBuilder.hpp"
#include "Builtins/Lists/ListsEvaluators.hpp"
namespace nastya::builtins::lists {
const std::string MODULE_NAME = "Lang.Lists";
using Builder = modules::ModuleBuilder<HeadEvaluator, TailEvaluator, QuoteEva... | 24.083333 | 85 | 0.754325 | pawel-jarosz |
ba6d2cb4d9b45d4972a3e37d4608c558a464d707 | 593 | cpp | C++ | 785A.cpp | dipubiswas1303/codeforces_solve | ccfa55ca42e8e1504d72fc02f84ea1717f4f1f79 | [
"MIT"
] | null | null | null | 785A.cpp | dipubiswas1303/codeforces_solve | ccfa55ca42e8e1504d72fc02f84ea1717f4f1f79 | [
"MIT"
] | null | null | null | 785A.cpp | dipubiswas1303/codeforces_solve | ccfa55ca42e8e1504d72fc02f84ea1717f4f1f79 | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
/*
NAME : DIPU BISWAS
JUST CSE 2019 - 2020
PROBLEM CODE : 785A
LINK : https://codeforces.com/problemset/problem/785/A
*/
int main()
{
int t, sum = 0;
cin >> t;
while(t--)
{
string a;
cin >> a;
if(a[0] == 'T')
... | 16.472222 | 57 | 0.409781 | dipubiswas1303 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.