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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5c5ac118797daf1cc64df7b8b0f9c2c3a17b9590 | 9,723 | hpp | C++ | include/libndgpp/net/basic_ipv4_address.hpp | goodfella/libndgpp | 2e3d4b993a04664905c1e257fb2af3a5faab5296 | [
"MIT"
] | null | null | null | include/libndgpp/net/basic_ipv4_address.hpp | goodfella/libndgpp | 2e3d4b993a04664905c1e257fb2af3a5faab5296 | [
"MIT"
] | null | null | null | include/libndgpp/net/basic_ipv4_address.hpp | goodfella/libndgpp | 2e3d4b993a04664905c1e257fb2af3a5faab5296 | [
"MIT"
] | null | null | null | #ifndef LIBNDGPP_NET_BASIC_IPV4_ADDRESS_HPP
#define LIBNDGPP_NET_BASIC_IPV4_ADDRESS_HPP
#include <cstdint>
#include <array>
#include <ostream>
#include <stdexcept>
#include <string>
#include <type_traits>
#include <libndgpp/error.hpp>
#include <libndgpp/net/ipv4_array.hpp>
namespace ndgpp {
namespace net {
temp... | 33.297945 | 145 | 0.62851 | goodfella |
5c5d4896cdef7918d1b9b1b525726cbddbafd513 | 597 | hxx | C++ | code/src/Profile.hxx | Angew/AnyBak | 66146b4b94e18ce7d215f1132752d33e4cddf1ed | [
"MIT"
] | null | null | null | code/src/Profile.hxx | Angew/AnyBak | 66146b4b94e18ce7d215f1132752d33e4cddf1ed | [
"MIT"
] | null | null | null | code/src/Profile.hxx | Angew/AnyBak | 66146b4b94e18ce7d215f1132752d33e4cddf1ed | [
"MIT"
] | null | null | null | #pragma once
#include "RuleSet.hh"
#include "VolumeRegistry.hh"
#include "VolumeSet.hh"
#include <memory>
class Profile
{
public:
const RuleSet& getRuleSet() const { return getRuleSet_impl(); }
RuleSet& getRuleSet() { return getRuleSet_impl(); }
const VolumeRegistry& getVolumeRegistry() const { return getVolum... | 22.961538 | 85 | 0.755444 | Angew |
5c5e6063275e112ec3c117a6c97cc9442bf36d9b | 996 | cpp | C++ | leetcode/1014.cpp | laiyuling424/LeetCode | afb582026b4d9a4082fdb99fc65b437e55d1f64d | [
"Apache-2.0"
] | null | null | null | leetcode/1014.cpp | laiyuling424/LeetCode | afb582026b4d9a4082fdb99fc65b437e55d1f64d | [
"Apache-2.0"
] | null | null | null | leetcode/1014.cpp | laiyuling424/LeetCode | afb582026b4d9a4082fdb99fc65b437e55d1f64d | [
"Apache-2.0"
] | null | null | null | //
// Created by 赖於领 on 2021/9/1.
//
#include <vector>
#include <iostream>
using namespace std;
//最佳观光组合
class Solution {
public:
int maxScoreSightseeingPair(vector<int> &values) {
// if (values.size() == 2) {
// return values[0] + values[1] - 1;
// }
//values[i]+values[j]+i-j... | 21.191489 | 78 | 0.447791 | laiyuling424 |
5c60f0151b28f916dc90688f5b7d0b866658f1ec | 676 | cpp | C++ | demos/multiplatform/delay/source/main.cpp | SarahS16/SJSU-Dev2 | 47f9ddb7d3c3743f839b57f381bf979dd61d49ab | [
"Apache-2.0"
] | 6 | 2020-06-20T23:56:42.000Z | 2021-12-18T08:13:54.000Z | demos/multiplatform/delay/source/main.cpp | SarahS16/SJSU-Dev2 | 47f9ddb7d3c3743f839b57f381bf979dd61d49ab | [
"Apache-2.0"
] | 153 | 2020-06-09T14:49:29.000Z | 2022-01-31T16:39:39.000Z | demos/multiplatform/delay/source/main.cpp | SarahS16/SJSU-Dev2 | 47f9ddb7d3c3743f839b57f381bf979dd61d49ab | [
"Apache-2.0"
] | 10 | 2020-08-02T00:55:38.000Z | 2022-01-24T23:06:51.000Z | #include <cinttypes>
#include <cstdint>
#include "utility/log.hpp"
#include "utility/time/time.hpp"
int main()
{
sjsu::LogInfo("Delay Application Starting...");
sjsu::LogInfo("This demo prints a statement every second using Delay(1s).");
sjsu::LogInfo(
"Notice that the uptime does not increase by 1 secon... | 23.310345 | 79 | 0.633136 | SarahS16 |
5c63ad45055fc5b87ccc0f9aa9c7696d28857b5d | 4,991 | cc | C++ | Source/BladeBase/source/graphics/RenderProperty.cc | OscarGame/blade | 6987708cb011813eb38e5c262c7a83888635f002 | [
"MIT"
] | 146 | 2018-12-03T08:08:17.000Z | 2022-03-21T06:04:06.000Z | Source/BladeBase/source/graphics/RenderProperty.cc | huangx916/blade | 3fa398f4d32215bbc7e292d61e38bb92aad1ee1c | [
"MIT"
] | 1 | 2019-01-18T03:35:49.000Z | 2019-01-18T03:36:08.000Z | Source/BladeBase/source/graphics/RenderProperty.cc | huangx916/blade | 3fa398f4d32215bbc7e292d61e38bb92aad1ee1c | [
"MIT"
] | 31 | 2018-12-03T10:32:43.000Z | 2021-10-04T06:31:44.000Z | /********************************************************************
created: 2011/12/21
filename: RenderProperty.cc
author: Crazii
purpose:
*********************************************************************/
#include <BladePCH.h>
#include <interface/public/graphics/RenderProperty.h>
#include <interface/publ... | 31 | 120 | 0.530154 | OscarGame |
5c65d2b705eadf9e53f5d161593f3221b758eaa0 | 2,763 | cpp | C++ | src/ChunkHandlerSFNC.cpp | Peralex/pxgf | a4ea0ad5d2d2ff3b909782c22ef6488a0ac81662 | [
"Apache-2.0"
] | 1 | 2017-12-20T14:27:01.000Z | 2017-12-20T14:27:01.000Z | src/ChunkHandlerSFNC.cpp | Peralex/pxgf | a4ea0ad5d2d2ff3b909782c22ef6488a0ac81662 | [
"Apache-2.0"
] | null | null | null | src/ChunkHandlerSFNC.cpp | Peralex/pxgf | a4ea0ad5d2d2ff3b909782c22ef6488a0ac81662 | [
"Apache-2.0"
] | null | null | null | // Copyright 2006 Peralex Electronics (Pty) Ltd
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law... | 32.892857 | 167 | 0.734347 | Peralex |
5c683a17d743c3a35d9e5f54c3197d497153624c | 3,505 | cpp | C++ | Source/10.0.18362.0/ucrt/env/get_environment_from_os.cpp | 825126369/UCRT | 8853304fdc2a5c216658d08b6dbbe716aa2a7b1f | [
"MIT"
] | 2 | 2021-01-27T10:19:30.000Z | 2021-02-09T06:24:30.000Z | Source/10.0.18362.0/ucrt/env/get_environment_from_os.cpp | 825126369/UCRT | 8853304fdc2a5c216658d08b6dbbe716aa2a7b1f | [
"MIT"
] | null | null | null | Source/10.0.18362.0/ucrt/env/get_environment_from_os.cpp | 825126369/UCRT | 8853304fdc2a5c216658d08b6dbbe716aa2a7b1f | [
"MIT"
] | 1 | 2021-01-27T10:19:36.000Z | 2021-01-27T10:19:36.000Z | //
// get_environment_from_os.cpp
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// Defines a pair of functions to get the environment strings from the operating
// system. These functions copy the environment strings into a CRT-allocated
// buffer and return a pointer to that buffer. The cal... | 28.729508 | 109 | 0.694722 | 825126369 |
5c6fc2ea2c3eef41dd62d1afbe34ac4cbeea7a44 | 29,192 | cpp | C++ | Source/Core/BuildCommon/CDisneySceneBuildProcessor.cpp | schuttejoe/ShootyEngine | 56a7fab5a479ec93d7f641bb64b8170f3b0d3095 | [
"MIT"
] | 81 | 2018-07-31T17:13:47.000Z | 2022-03-03T09:24:22.000Z | Source/Core/BuildCommon/CDisneySceneBuildProcessor.cpp | schuttejoe/ShootyEngine | 56a7fab5a479ec93d7f641bb64b8170f3b0d3095 | [
"MIT"
] | 2 | 2018-10-15T04:39:43.000Z | 2019-12-05T03:46:50.000Z | Source/Core/BuildCommon/CDisneySceneBuildProcessor.cpp | schuttejoe/ShootyEngine | 56a7fab5a479ec93d7f641bb64b8170f3b0d3095 | [
"MIT"
] | 9 | 2018-10-11T06:32:12.000Z | 2020-10-01T03:46:37.000Z | //=================================================================================================================================
// Joe Schutte
//=================================================================================================================================
#include "BuildCommon/CDisneySceneBuildP... | 43.700599 | 141 | 0.571047 | schuttejoe |
5c7557362a73f40f51615910d3586efe130137ba | 1,477 | cpp | C++ | DSA-450/02Matrix/10commonElements.cpp | vikkastiwari/cpp-coding-questions | 020790e1a3b26c7b24991427004730b3f0785c71 | [
"MIT"
] | null | null | null | DSA-450/02Matrix/10commonElements.cpp | vikkastiwari/cpp-coding-questions | 020790e1a3b26c7b24991427004730b3f0785c71 | [
"MIT"
] | null | null | null | DSA-450/02Matrix/10commonElements.cpp | vikkastiwari/cpp-coding-questions | 020790e1a3b26c7b24991427004730b3f0785c71 | [
"MIT"
] | null | null | null | // question link: https://www.geeksforgeeks.org/common-elements-in-all-rows-of-a-given-matrix/
#include <bits/stdc++.h>
using namespace std;
vector<int> findCommon(vector<vector<int>> &nums)
{
vector<int> common;
unordered_map<int, int> map;
// marking all row 0 elements as present
for (int j = 0; j ... | 25.912281 | 139 | 0.477319 | vikkastiwari |
5c7610d0031114fd6ae16fbd1d44b0c1e1400667 | 622 | cpp | C++ | prob03/main.cpp | CSUF-CPSC120-2019F23-24/labex02-TommyLe3825 | 5d938242e9991e39c7138241e532475ed0705a48 | [
"MIT"
] | null | null | null | prob03/main.cpp | CSUF-CPSC120-2019F23-24/labex02-TommyLe3825 | 5d938242e9991e39c7138241e532475ed0705a48 | [
"MIT"
] | null | null | null | prob03/main.cpp | CSUF-CPSC120-2019F23-24/labex02-TommyLe3825 | 5d938242e9991e39c7138241e532475ed0705a48 | [
"MIT"
] | null | null | null | // Name: Tommy Le
// This program calculates the tax and tip on a restaurant bill.
#include <iostream>
int main()
{
double mealcost,tax,tip,totalbill;
std::cout << "Welcome to the Restaurant Bill Calculator!\n";
//Input Meal Cost
std::cout << "What is the total meal cost? ";
std::cin >> mealcost;
//... | 22.214286 | 64 | 0.599678 | CSUF-CPSC120-2019F23-24 |
f07f84cdd2ba1c1e88458535c89ae66d4374b2e5 | 12,766 | cpp | C++ | Flash/src/flash.cpp | MuellerA/LonganNanoTest | ed71398e63ff318695552b665b42e762b401c61e | [
"MIT"
] | 15 | 2019-12-15T21:57:27.000Z | 2022-02-22T05:28:24.000Z | Flash/src/flash.cpp | MuellerA/LonganNanoTest | ed71398e63ff318695552b665b42e762b401c61e | [
"MIT"
] | null | null | null | Flash/src/flash.cpp | MuellerA/LonganNanoTest | ed71398e63ff318695552b665b42e762b401c61e | [
"MIT"
] | 3 | 2020-07-28T17:19:39.000Z | 2021-10-01T09:01:51.000Z | ////////////////////////////////////////////////////////////////////////////////
// flash.cpp
////////////////////////////////////////////////////////////////////////////////
extern "C"
{
#include "gd32vf103.h"
}
#include "GD32VF103/spi.h"
#include "GD32VF103/gpio.h"
#include "GD32VF103/time.h"
#include "Longan/lc... | 24.933594 | 100 | 0.513943 | MuellerA |
f07fddd0d7e9745b75518d3d5266c40ab673b3d0 | 13,076 | cpp | C++ | chip8/src/cpu/opcodes.cpp | bryan-pakulski/emulators | 599856760529cce7cc31be43d07617983e642dae | [
"MIT"
] | null | null | null | chip8/src/cpu/opcodes.cpp | bryan-pakulski/emulators | 599856760529cce7cc31be43d07617983e642dae | [
"MIT"
] | null | null | null | chip8/src/cpu/opcodes.cpp | bryan-pakulski/emulators | 599856760529cce7cc31be43d07617983e642dae | [
"MIT"
] | null | null | null | #include <iostream>
#include <stdexcept>
#include "../globals.hpp"
#include "opcodes.hpp"
using namespace std;
opcodes::opcodes() {
std::map<unsigned short, int> optable;
}
opcodes::~opcodes() {
}
/**
* Gets function from the hashtable at a given index - If the function has not yet
* been added to the lookup ... | 19.229412 | 106 | 0.601101 | bryan-pakulski |
f0844ff5707784bddf9aff38dcd89c3fded92da1 | 941 | cpp | C++ | Stack/postfixEvaluation.cpp | gaurav147-star/DSA-learning | 52625953e2b1421fdd550004df893b970aac9308 | [
"MIT"
] | 1 | 2022-02-15T12:53:00.000Z | 2022-02-15T12:53:00.000Z | Stack/postfixEvaluation.cpp | gaurav147-star/DSA-learning | 52625953e2b1421fdd550004df893b970aac9308 | [
"MIT"
] | null | null | null | Stack/postfixEvaluation.cpp | gaurav147-star/DSA-learning | 52625953e2b1421fdd550004df893b970aac9308 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
int postfixEvaluation(string s)
{
stack<double> st;
for (int i = 0; i < s.length(); i++)
{
if (s[i] >= '0' && s[i] <= '9')
{
st.push(s[i] - '0');
}
else
{
double op2 = st.top();
st.pop(... | 19.604167 | 51 | 0.336876 | gaurav147-star |
f084a7ccdba1a870071401028679bfbe7618d1f6 | 2,386 | cpp | C++ | phoenix/.test/test-listicons.cpp | vgmtool/vgm2pre | f4f917df35d531512292541234a5c1722b8af96f | [
"MIT"
] | 21 | 2015-04-13T03:07:12.000Z | 2021-11-20T00:27:00.000Z | phoenix/.test/test-listicons.cpp | apollolux/hello-phoenix | 71510b5f329804c525a9576fb0367fe8ab2487cd | [
"MIT"
] | 2 | 2015-10-06T14:59:48.000Z | 2022-01-27T08:57:57.000Z | phoenix/.test/test-listicons.cpp | apollolux/hello-phoenix | 71510b5f329804c525a9576fb0367fe8ab2487cd | [
"MIT"
] | 2 | 2021-11-19T08:36:57.000Z | 2022-03-04T16:03:16.000Z | #include "phoenix.hpp"
using namespace nall;
using namespace phoenix;
struct TestWindow : Window {
TestWindow() {
setGeometry({64, 64, 480, 640});
setTitle("Test Window");
onClose = [&] {
setVisible(false);
};
}
} *testWindow = nullptr;
struct Application : Window {
VerticalLayout layout;... | 23.86 | 108 | 0.604359 | vgmtool |
f08869385b8bd0b0f20dd057ebc8fdbf6b9426c8 | 298 | cpp | C++ | AtCoder/ABC 162/C.cpp | igortakeo/Solutions-CF | d945f0ae21c691120b69db78ff3d240b7dedc0a7 | [
"MIT"
] | 1 | 2020-05-25T15:32:23.000Z | 2020-05-25T15:32:23.000Z | AtCoder/ABC 162/C.cpp | igortakeo/Solutions-CF | d945f0ae21c691120b69db78ff3d240b7dedc0a7 | [
"MIT"
] | null | null | null | AtCoder/ABC 162/C.cpp | igortakeo/Solutions-CF | d945f0ae21c691120b69db78ff3d240b7dedc0a7 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#define ll long long
using namespace std;
int main(){
int k;
ll sum = 0;
cin >> k;
for(int i=1; i<=k; i++){
for(int j=1; j<=k; j++){
int a = __gcd(i, j);
for(int l=1; l<=k; l++){
sum+= __gcd(a, l);
}
}
}
cout << sum << endl;
return 0;
}
| 12.416667 | 27 | 0.47651 | igortakeo |
f08c2d61feb5de0e5929ee721e6e49d47a942450 | 53 | cpp | C++ | source/Allocators/DoubleStackAllocator.cpp | teemid/Capstan | 35e37a41cdc4c471a4570916751e5f391693aef4 | [
"MIT"
] | null | null | null | source/Allocators/DoubleStackAllocator.cpp | teemid/Capstan | 35e37a41cdc4c471a4570916751e5f391693aef4 | [
"MIT"
] | null | null | null | source/Allocators/DoubleStackAllocator.cpp | teemid/Capstan | 35e37a41cdc4c471a4570916751e5f391693aef4 | [
"MIT"
] | null | null | null | #include "Capstan/Allocators/DoubleStackAllocator.h"
| 26.5 | 52 | 0.849057 | teemid |
f0944e557457ef143775a29eda3792bb6760d37e | 23,656 | cpp | C++ | firmware/src/Statemachine/Canopen.cpp | sprenger120/remote_control_device | c375ab12683c10fd2918ea8345bcb06a5d78b978 | [
"MIT"
] | 1 | 2021-01-27T12:23:43.000Z | 2021-01-27T12:23:43.000Z | firmware/src/Statemachine/Canopen.cpp | sprenger120/remote_control_device | c375ab12683c10fd2918ea8345bcb06a5d78b978 | [
"MIT"
] | null | null | null | firmware/src/Statemachine/Canopen.cpp | sprenger120/remote_control_device | c375ab12683c10fd2918ea8345bcb06a5d78b978 | [
"MIT"
] | null | null | null | #include "Canopen.hpp"
#include "ANSIEscapeCodes.hpp"
#include "CanFestivalLocker.hpp"
#include "Logging.hpp"
#include "PeripheralDrivers/CanIO.hpp"
#include "PeripheralDrivers/TerminalIO.hpp"
#include <algorithm>
namespace remote_control_device
{
Canopen *Canopen::_instance = nullptr;
Message Canopen::RTD_StateBoot... | 36.337942 | 113 | 0.625592 | sprenger120 |
f09853d57b96f656cd589da1c25a2f02cc1897ea | 1,524 | hpp | C++ | include/codegen/include/RootMotion/FinalIK/EditorIK.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 1 | 2021-11-12T09:29:31.000Z | 2021-11-12T09:29:31.000Z | include/codegen/include/RootMotion/FinalIK/EditorIK.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | null | null | null | include/codegen/include/RootMotion/FinalIK/EditorIK.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:09:17 PM
// Created by Sc2ad
// =========================================================================
#pragma once
#pragma pack(push, 8)
// Begin includes
// Including type: UnityEngine.MonoBehaviour
#include "UnityEngine/MonoBehaviour.hpp"
#include "utils/il2cp... | 33.866667 | 89 | 0.672572 | Futuremappermydud |
f098e60a5ec2af63aaac74f9d576e9cfb39f56f5 | 11,089 | cc | C++ | parser/pub/tools/tools.cc | smartdata-x/MarketSys | b4f999fb80b8f2357b75694c2ca94d46190a55f7 | [
"Apache-2.0"
] | null | null | null | parser/pub/tools/tools.cc | smartdata-x/MarketSys | b4f999fb80b8f2357b75694c2ca94d46190a55f7 | [
"Apache-2.0"
] | null | null | null | parser/pub/tools/tools.cc | smartdata-x/MarketSys | b4f999fb80b8f2357b75694c2ca94d46190a55f7 | [
"Apache-2.0"
] | 3 | 2016-10-25T01:56:17.000Z | 2019-06-24T04:45:06.000Z | // Copyright (c) 2015-2015 The restful Authors. All rights reserved.
// Created on: 2015/11/24 Author: jiaoyongqing
#include<malloc.h>
#include<stdlib.h>
#include<memory.h>
#include <string>
#include <sstream>
#include <map>
#include <list>
#include <vector>
#include "tools/tools.h"
#include "tea/tea.h"
#include "ne... | 24.533186 | 93 | 0.584994 | smartdata-x |
f09924a80a0e716a64c7699e1ed64931e559b292 | 228 | hpp | C++ | Rimfrost/src/Rimfrost/EventSystem/EventObserver.hpp | Cgunnar/Rimfrost | 924f8bab51e42e6b0790eb46cc1064b6920333cf | [
"MIT"
] | null | null | null | Rimfrost/src/Rimfrost/EventSystem/EventObserver.hpp | Cgunnar/Rimfrost | 924f8bab51e42e6b0790eb46cc1064b6920333cf | [
"MIT"
] | null | null | null | Rimfrost/src/Rimfrost/EventSystem/EventObserver.hpp | Cgunnar/Rimfrost | 924f8bab51e42e6b0790eb46cc1064b6920333cf | [
"MIT"
] | null | null | null | #pragma once
#include "Rimfrost\EventSystem\Event.hpp"
namespace Rimfrost
{
class EventObserver
{
public:
EventObserver() = default;
virtual ~EventObserver() = default;
virtual void onEvent(const Event& e) = 0;
};
}
| 15.2 | 43 | 0.710526 | Cgunnar |
f09a60960c8157f4cce0993e7a96946606567a9c | 129 | cpp | C++ | dependencies/physx-4.1/source/geomutils/src/pcm/GuPCMContactPlaneConvex.cpp | realtehcman/-UnderwaterSceneProject | 72cbd375ef5e175bed8f4e8a4d117f5340f239a4 | [
"MIT"
] | null | null | null | dependencies/physx-4.1/source/geomutils/src/pcm/GuPCMContactPlaneConvex.cpp | realtehcman/-UnderwaterSceneProject | 72cbd375ef5e175bed8f4e8a4d117f5340f239a4 | [
"MIT"
] | null | null | null | dependencies/physx-4.1/source/geomutils/src/pcm/GuPCMContactPlaneConvex.cpp | realtehcman/-UnderwaterSceneProject | 72cbd375ef5e175bed8f4e8a4d117f5340f239a4 | [
"MIT"
] | null | null | null | version https://git-lfs.github.com/spec/v1
oid sha256:943d9f005beb984bd9d29ed487bf6adf30882f9fa79903c6092cbd91ecee3e90
size 6381
| 32.25 | 75 | 0.883721 | realtehcman |
f0a3986dff053570d226301f52321899ed5ba9bd | 8,948 | cpp | C++ | example-ExtendsSprite/src/DocumentRoot.cpp | selflash/ofxSelflash | 087a263b2d4de970edd75ecab2c2a48b7b58e62d | [
"MIT"
] | 19 | 2015-05-14T09:57:38.000Z | 2022-01-10T23:32:28.000Z | example-ExtendsSprite/src/DocumentRoot.cpp | selflash/ofxSelflash | 087a263b2d4de970edd75ecab2c2a48b7b58e62d | [
"MIT"
] | 3 | 2015-08-04T09:07:26.000Z | 2018-01-18T07:14:35.000Z | example-ExtendsSprite/src/DocumentRoot.cpp | selflash/ofxSelflash | 087a263b2d4de970edd75ecab2c2a48b7b58e62d | [
"MIT"
] | 1 | 2015-08-04T09:05:22.000Z | 2015-08-04T09:05:22.000Z | #include "DocumentRoot.h"
//static const double pi = std::acos(-1.0); // お手軽に π を得る。
//==============================================================
// Constructor / Destructor
//==============================================================
//--------------------------------------------------------------
//
//-----... | 34.022814 | 109 | 0.456638 | selflash |
f0a6282ef467cbb597f6376aa9e36c7f9759eb46 | 3,508 | cpp | C++ | src/SQLite.cpp | nianfh/beebox | a2c68847a442f1d4bcb80d9eefb7c0c7682f748a | [
"MIT"
] | 1 | 2018-07-11T03:47:41.000Z | 2018-07-11T03:47:41.000Z | src/SQLite.cpp | nianfh/beebox | a2c68847a442f1d4bcb80d9eefb7c0c7682f748a | [
"MIT"
] | null | null | null | src/SQLite.cpp | nianfh/beebox | a2c68847a442f1d4bcb80d9eefb7c0c7682f748a | [
"MIT"
] | null | null | null |
#include "SQLite.h"
#include <sqlite3/sqlite3.h>
#include <stdio.h>
#include <vector>
namespace beebox
{
CSQLite::CSQLite()
{
m_db = NULL;
}
CSQLite::~CSQLite()
{
close();
}
bool CSQLite::open(string filePath)
{
if (m_db)
{
close();
}
return sqlite3_open_v2(filePath.c_str(), &m_db, ... | 19.381215 | 80 | 0.517104 | nianfh |
f0ae115e5186c11bf9fd48e719659cc0cace4643 | 8,946 | cpp | C++ | Source/Gui3D-master/examples/build/EnvironmentDemo.cpp | shanefarris/CoreGameEngine | 5bef275d1cd4e84aa059f2f4f9e97bfa2414d000 | [
"MIT"
] | 3 | 2019-04-12T15:22:53.000Z | 2022-01-05T02:59:56.000Z | Source/Gui3D-master/examples/build/EnvironmentDemo.cpp | shanefarris/CoreGameEngine | 5bef275d1cd4e84aa059f2f4f9e97bfa2414d000 | [
"MIT"
] | null | null | null | Source/Gui3D-master/examples/build/EnvironmentDemo.cpp | shanefarris/CoreGameEngine | 5bef275d1cd4e84aa059f2f4f9e97bfa2414d000 | [
"MIT"
] | 2 | 2019-04-10T22:46:21.000Z | 2020-05-27T16:21:37.000Z | #include <iostream>
#include <sstream>
#include <vector>
#include <OGRE/Ogre.h>
#include <OIS/OIS.h>
#include "Gui3D.h"
#include "Gui3DPanel.h"
#include "MyEnvironmentDemoPanelColors.h"
typedef struct PanelAndDirection
{
Gui3D::Panel* panel;
Ogre::Vector3 cameraDirection;
int yaw;
} PanelAndDirection;... | 30.848276 | 120 | 0.625755 | shanefarris |
f0ae79a162cee6343a9cc5bdc989da19c7e0c60c | 1,923 | cpp | C++ | scripts/project_euler/euler_problem_37.cpp | cannontwo/cannon | 4be79f3a6200d1a3cd26c28c8f2250dbdf08f267 | [
"MIT"
] | null | null | null | scripts/project_euler/euler_problem_37.cpp | cannontwo/cannon | 4be79f3a6200d1a3cd26c28c8f2250dbdf08f267 | [
"MIT"
] | 46 | 2021-01-12T23:03:52.000Z | 2021-10-01T17:29:01.000Z | scripts/project_euler/euler_problem_37.cpp | cannontwo/cannon | 4be79f3a6200d1a3cd26c28c8f2250dbdf08f267 | [
"MIT"
] | null | null | null | #include <iostream>
#include <cassert>
#include <cmath>
#include <algorithm>
#include <cannon/log/registry.hpp>
#include <cannon/math/primes.hpp>
#include <cannon/math/digits.hpp>
using namespace cannon::log;
using namespace cannon::math;
/*!
* The number 3797 has an interesting property. Being prime itself, it is
... | 22.360465 | 80 | 0.656786 | cannontwo |
f0af743f6522a91956e542645b9de037882c3874 | 1,901 | cpp | C++ | src/main.cpp | vieiraa/ray_tracer | 75665fd5b15f486ad52f3c5b61521fb394d40fe1 | [
"MIT"
] | null | null | null | src/main.cpp | vieiraa/ray_tracer | 75665fd5b15f486ad52f3c5b61521fb394d40fe1 | [
"MIT"
] | null | null | null | src/main.cpp | vieiraa/ray_tracer | 75665fd5b15f486ad52f3c5b61521fb394d40fe1 | [
"MIT"
] | null | null | null | #include <chrono>
#include <glm/geometric.hpp>
#include "camera.h"
#include "orthographic_camera.h"
#include "pinhole_camera.h"
#include "scene.h"
#include "buffer.h"
#include "raytracer.h"
#include "path_tracer.h"
#include "bvh.h"
int main() {
unsigned int width = 256;
unsigned int height = 256;
Pinhole... | 30.174603 | 89 | 0.571804 | vieiraa |
f0af752401c2358f7c738dff258fa6e5bb7e7176 | 2,477 | hpp | C++ | include/clotho/utility/linear_bit_block_iterator.hpp | putnampp/clotho | 6dbfd82ef37b4265381cd78888cd6da8c61c68c2 | [
"ECL-2.0",
"Apache-2.0"
] | 3 | 2015-06-16T21:27:57.000Z | 2022-01-25T23:26:54.000Z | include/clotho/utility/linear_bit_block_iterator.hpp | putnampp/clotho | 6dbfd82ef37b4265381cd78888cd6da8c61c68c2 | [
"ECL-2.0",
"Apache-2.0"
] | 3 | 2015-06-16T21:12:42.000Z | 2015-06-23T12:41:00.000Z | include/clotho/utility/linear_bit_block_iterator.hpp | putnampp/clotho | 6dbfd82ef37b4265381cd78888cd6da8c61c68c2 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | // Copyright 2015 Patrick Putnam
//
// 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 o... | 25.802083 | 146 | 0.634639 | putnampp |
f0b0a5d96d62348b136ca0edc7e881fd7b6cea60 | 7,451 | cpp | C++ | SuperBigNum.cpp | W-YXN/MyNOIPProjects | 0269a8385a6c8d87511236146f374f39dcdd2b82 | [
"Apache-2.0"
] | null | null | null | SuperBigNum.cpp | W-YXN/MyNOIPProjects | 0269a8385a6c8d87511236146f374f39dcdd2b82 | [
"Apache-2.0"
] | null | null | null | SuperBigNum.cpp | W-YXN/MyNOIPProjects | 0269a8385a6c8d87511236146f374f39dcdd2b82 | [
"Apache-2.0"
] | 1 | 2019-01-19T01:05:07.000Z | 2019-01-19T01:05:07.000Z |
#define max(a, b) a > b ? a : b
#define min(a, b) a < b ? a : b
class bign
{
public:
int len, s[MAX_L];
bign();
bign(const char *);
bign(int);
bool sign;
string toStr() const;
friend istream &operator>>(istream &, bign &);
friend ostream &operator<<(ostream &, bign &);
bign operato... | 18.911168 | 67 | 0.476715 | W-YXN |
f0b193b1898fab2aabee86a2b7a9cf98b7551b35 | 14,729 | cpp | C++ | source/smoothmethod.cpp | TianSHH/Picop | 200fffde41eaf3fa5e041eaface306053f291056 | [
"BSD-3-Clause"
] | 1 | 2019-11-22T12:03:44.000Z | 2019-11-22T12:03:44.000Z | source/smoothmethod.cpp | TianSHH/Picop | 200fffde41eaf3fa5e041eaface306053f291056 | [
"BSD-3-Clause"
] | null | null | null | source/smoothmethod.cpp | TianSHH/Picop | 200fffde41eaf3fa5e041eaface306053f291056 | [
"BSD-3-Clause"
] | null | null | null | #include "smoothmethod.h"
SmoothMethod::SmoothMethod()
{
}
SmoothMethod::~SmoothMethod()
{
}
QImage SmoothMethod::averageFiltering(QImage *originImage)
{
bool ok;
int filterRadius = QInputDialog::getInt(nullptr, QObject::tr("均值滤波"), "输入滤波器大小(1~30)", 3, 1, 30, 1, &ok);
if (ok)
{
if (filterRadi... | 34.494145 | 129 | 0.42345 | TianSHH |
f0b19e8ef7819f07395c7199e2a6c9f000b5a0ec | 2,548 | cpp | C++ | gen_desc/kitti_gen.cpp | lilin-hitcrt/RINet | 0e28c26e015c50385816b2cbe6549583486fd486 | [
"MIT"
] | 5 | 2022-03-01T13:56:47.000Z | 2022-03-09T02:57:15.000Z | gen_desc/kitti_gen.cpp | lilin-hitcrt/RINet | 0e28c26e015c50385816b2cbe6549583486fd486 | [
"MIT"
] | null | null | null | gen_desc/kitti_gen.cpp | lilin-hitcrt/RINet | 0e28c26e015c50385816b2cbe6549583486fd486 | [
"MIT"
] | 1 | 2022-03-06T07:59:51.000Z | 2022-03-06T07:59:51.000Z | #include <pcl/point_cloud.h>
#include <pcl/point_types.h>
#include <pcl/visualization/cloud_viewer.h>
#include <opencv2/opencv.hpp>
#include "semanticConf.hpp"
#include "genData.hpp"
int main(int argc,char** argv){
if(argc<4){
std::cout<<"Usage: ./kitti_gen cloud_folder label_folder output_file"<<std::endl... | 36.4 | 89 | 0.494505 | lilin-hitcrt |
f0b9afdee429081c137cbabb2df8b2a312396ec3 | 1,221 | cpp | C++ | BAC_2nd/ch5/UVa12096.cpp | Anyrainel/aoapc-code | e787a01380698fb9236d933462052f97b20e6132 | [
"Apache-2.0"
] | 3 | 2017-08-15T06:00:01.000Z | 2018-12-10T09:05:53.000Z | BAC_2nd/ch5/UVa12096.cpp | Anyrainel/aoapc-related-code | e787a01380698fb9236d933462052f97b20e6132 | [
"Apache-2.0"
] | null | null | null | BAC_2nd/ch5/UVa12096.cpp | Anyrainel/aoapc-related-code | e787a01380698fb9236d933462052f97b20e6132 | [
"Apache-2.0"
] | 2 | 2017-09-16T18:46:27.000Z | 2018-05-22T05:42:03.000Z | // UVa12096 The SetStack Computer
// Rujia Liu
#include<iostream>
#include<string>
#include<set>
#include<map>
#include<stack>
#include<vector>
#include<algorithm>
using namespace std;
#define ALL(x) x.begin(),x.end()
#define INS(x) inserter(x,x.begin())
typedef set<int> Set;
map<Set,int> IDcache; // 把集合映射成ID
vector... | 23.037736 | 70 | 0.527437 | Anyrainel |
f0c266afdbbcaeb1c0628f623cfc342ab307f85c | 5,958 | hh | C++ | Kaskade/fem/diffops/mooneyRivlin.hh | chenzongxiong/streambox | 76f95780d1bf6c02731e39d8ac73937cea352b95 | [
"Unlicense"
] | 3 | 2019-07-03T14:03:31.000Z | 2021-12-19T10:18:49.000Z | Kaskade/fem/diffops/mooneyRivlin.hh | chenzongxiong/streambox | 76f95780d1bf6c02731e39d8ac73937cea352b95 | [
"Unlicense"
] | 6 | 2020-02-17T12:01:30.000Z | 2021-12-09T22:02:33.000Z | Kaskade/fem/diffops/mooneyRivlin.hh | chenzongxiong/streambox | 76f95780d1bf6c02731e39d8ac73937cea352b95 | [
"Unlicense"
] | 2 | 2020-12-03T04:41:18.000Z | 2021-01-11T21:44:42.000Z | #ifndef MOONEY_RIVLIN_HH
#define MOONEY_RIVLIN_HH
#include "linalg/invariants.hh"
#include "utilities/functionTools.hh"
namespace Kaskade
{
template <int dim, class VolumetricPenalty = void, Invariant i = Invariant::Principal, class Direction = void> class MooneyRivlin;
/**
* \param lambda first Lame constant... | 46.546875 | 158 | 0.678583 | chenzongxiong |
f0c422605b8c43b5b392f5f57e418a229c356f8d | 970 | hpp | C++ | include/defines.hpp | Yao-Chung/Sokoban-Agent | 7135a51ee8a912fe8a636ccfeecbcd3551e6720c | [
"BSD-3-Clause"
] | null | null | null | include/defines.hpp | Yao-Chung/Sokoban-Agent | 7135a51ee8a912fe8a636ccfeecbcd3551e6720c | [
"BSD-3-Clause"
] | null | null | null | include/defines.hpp | Yao-Chung/Sokoban-Agent | 7135a51ee8a912fe8a636ccfeecbcd3551e6720c | [
"BSD-3-Clause"
] | null | null | null | #ifndef SOKOBAN_AGENT_DEFINES
#define SOKOBAN_AGENT_DEFINES
#include <vector>
#include <string>
#include <iostream>
enum MoveDirection{
Left = 0,
Right = 1,
Up = 2,
Down = 3,
Unspecified = -1,
};
using Map = std::vector<std::string>;
using Position = std::pair<int, int>;
using Decimal = float;
s... | 34.642857 | 143 | 0.727835 | Yao-Chung |
f0c9ea61afd241f3c72bd16e62d22587e4d0f3d9 | 53,605 | hh | C++ | apps/rosetta/rif_dock_test.hh | willsheffler/rifdock | 291d05112d52318bb07d499ce6da3e0fb9fbf9cf | [
"Apache-2.0"
] | 2 | 2020-01-28T07:59:26.000Z | 2020-09-17T06:32:14.000Z | apps/rosetta/rif_dock_test.hh | willsheffler/rifdock | 291d05112d52318bb07d499ce6da3e0fb9fbf9cf | [
"Apache-2.0"
] | null | null | null | apps/rosetta/rif_dock_test.hh | willsheffler/rifdock | 291d05112d52318bb07d499ce6da3e0fb9fbf9cf | [
"Apache-2.0"
] | null | null | null |
#include <basic/options/option_macros.hh>
#include <basic/options/keys/corrections.OptionKeys.gen.hh>
#include <riflib/scaffold/nineA_util.hh>
#include <vector>
#ifdef GLOBAL_VARIABLES_ARE_BAD
#ifndef INCLUDED_rif_dock_test_hh_1
#define INCLUDED_rif_dock_test_hh_1
OPT_1GRP_KEY( StringVector , rif_dock, s... | 58.648796 | 158 | 0.612406 | willsheffler |
f0cb289aca4dd19d69e868efc9e4137c98d0b056 | 1,771 | cpp | C++ | matlab/panoContext_code/Toolbox/segmentation/segmentGraphMex_edge.cpp | imamik/LayoutNet | f68eb214e793b9786f2582f9244bac4f8f98a816 | [
"MIT"
] | 380 | 2018-02-23T02:58:35.000Z | 2022-03-21T06:34:33.000Z | matlab/panoContext_code/Toolbox/segmentation/segmentGraphMex_edge.cpp | imamik/LayoutNet | f68eb214e793b9786f2582f9244bac4f8f98a816 | [
"MIT"
] | 36 | 2018-04-11T03:49:42.000Z | 2021-01-21T01:25:47.000Z | matlab/panoContext_code/Toolbox/segmentation/segmentGraphMex_edge.cpp | imamik/LayoutNet | f68eb214e793b9786f2582f9244bac4f8f98a816 | [
"MIT"
] | 94 | 2018-02-25T05:23:51.000Z | 2022-02-11T02:00:47.000Z | #include <cstdio>
#include <cstdlib>
#include <image.h>
#include <misc.h>
#include <pnmfile.h>
#include "mex.h"
#include "segment-image.h"
void mexFunction(int nlhs,mxArray* plhs[],int nrhs,const mxArray* prhs[])
{
// check arguments
if (nrhs != 5)
{
mexPrintf("Usage: [seg] = segmentGraphMex_edge(ma... | 29.516667 | 98 | 0.585545 | imamik |
f0cd16803c3887c2e9fc46e5b45ea987f4b0c6b2 | 8,806 | cpp | C++ | src/main.cpp | russellklenk/gwbase | eb4094b4cea29cd24612e88298efbdfbec1d59aa | [
"Unlicense"
] | 3 | 2018-03-24T12:28:05.000Z | 2021-07-29T02:00:16.000Z | src/main.cpp | russellklenk/gwbase | eb4094b4cea29cd24612e88298efbdfbec1d59aa | [
"Unlicense"
] | null | null | null | src/main.cpp | russellklenk/gwbase | eb4094b4cea29cd24612e88298efbdfbec1d59aa | [
"Unlicense"
] | 1 | 2018-05-13T12:59:01.000Z | 2018-05-13T12:59:01.000Z | /*/////////////////////////////////////////////////////////////////////////////
/// @summary Implements the entry point of the application. This handles the
/// setup of our third party libraries and the creation of our main window and
/// rendering context, along with implementing the game loop.
/// @author Russell Kl... | 33.356061 | 94 | 0.650693 | russellklenk |
f0da524a8ee5f41b5b255973c45add652ae74843 | 473 | cc | C++ | src/core/logging_event.cc | pragkent/logbox | 15274be0726cd3f0d71266a0ce4755106c8bdd1f | [
"MIT"
] | 2 | 2015-02-14T04:24:07.000Z | 2015-02-28T11:23:48.000Z | src/core/logging_event.cc | pragkent/logbox | 15274be0726cd3f0d71266a0ce4755106c8bdd1f | [
"MIT"
] | null | null | null | src/core/logging_event.cc | pragkent/logbox | 15274be0726cd3f0d71266a0ce4755106c8bdd1f | [
"MIT"
] | null | null | null | #include "core/logging_event.h"
#include <errno.h>
#include "util/environment.h"
namespace logbox {
LoggingEvent::LoggingEvent(
LogSeverity severity,
const char* file,
int line,
const char* function)
: severity_(severity),
file_fullname_(file),
file_basename_(Environment::GetBasename(... | 20.565217 | 53 | 0.676533 | pragkent |
f0da74da343d1e48921fbefea6fe4b456427bae7 | 1,197 | cpp | C++ | Code/System/Core/Time/Time.cpp | JuanluMorales/KRG | f3a11de469586a4ef0db835af4bc4589e6b70779 | [
"MIT"
] | 419 | 2022-01-27T19:37:43.000Z | 2022-03-31T06:14:22.000Z | Code/System/Core/Time/Time.cpp | jagt/KRG | ba20cd8798997b0450491b0cc04dc817c4a4bc76 | [
"MIT"
] | 2 | 2022-01-28T20:35:33.000Z | 2022-03-13T17:42:52.000Z | Code/System/Core/Time/Time.cpp | jagt/KRG | ba20cd8798997b0450491b0cc04dc817c4a4bc76 | [
"MIT"
] | 20 | 2022-01-27T20:41:02.000Z | 2022-03-26T16:16:57.000Z | #include "Time.h"
#include <chrono>
//-------------------------------------------------------------------------
namespace KRG
{
KRG::Nanoseconds EngineClock::CurrentTime = 0;
//-------------------------------------------------------------------------
Nanoseconds::operator Microseconds() const... | 34.2 | 114 | 0.472013 | JuanluMorales |
f0db14785a36f33ca7d2e246eff7183b9b3bb82d | 215 | cpp | C++ | src/sysGCU/appThread.cpp | projectPiki/pikmin2 | a431d992acde856d092889a515ecca0e07a3ea7c | [
"Unlicense"
] | 33 | 2021-12-08T11:10:59.000Z | 2022-03-26T19:59:37.000Z | src/sysGCU/appThread.cpp | projectPiki/pikmin2 | a431d992acde856d092889a515ecca0e07a3ea7c | [
"Unlicense"
] | 6 | 2021-12-22T17:54:31.000Z | 2022-01-07T21:43:18.000Z | src/sysGCU/appThread.cpp | projectPiki/pikmin2 | a431d992acde856d092889a515ecca0e07a3ea7c | [
"Unlicense"
] | 2 | 2022-01-04T06:00:49.000Z | 2022-01-26T07:27:28.000Z | #include "types.h"
#include "AppThread.h"
/*
* --INFO--
* Address: 80424E18
* Size: 00003C
*/
AppThread::AppThread(u32 stackSize, int msgCount, int priority)
: JKRThread(stackSize, msgCount, priority)
{
}
| 15.357143 | 63 | 0.674419 | projectPiki |
f0ddf37d5a08322fefec7ff12c8b80b255fc02f5 | 370 | cpp | C++ | LeetCode/Problems/Algorithms/#762_PrimeNumberOfSetBitsInBinaryRepresentation_sol1_builtin_popcount_and_unordered_set_O(R-L)_time_O(1)_extra_space_40ms_6.5MB.cpp | Tudor67/Competitive-Programming | ae4dc6ed8bf76451775bf4f740c16394913f3ff1 | [
"MIT"
] | 1 | 2022-01-26T14:50:07.000Z | 2022-01-26T14:50:07.000Z | LeetCode/Problems/Algorithms/#762_PrimeNumberOfSetBitsInBinaryRepresentation_sol1_builtin_popcount_and_unordered_set_O(R-L)_time_O(1)_extra_space_40ms_6.5MB.cpp | Tudor67/Competitive-Programming | ae4dc6ed8bf76451775bf4f740c16394913f3ff1 | [
"MIT"
] | null | null | null | LeetCode/Problems/Algorithms/#762_PrimeNumberOfSetBitsInBinaryRepresentation_sol1_builtin_popcount_and_unordered_set_O(R-L)_time_O(1)_extra_space_40ms_6.5MB.cpp | Tudor67/Competitive-Programming | ae4dc6ed8bf76451775bf4f740c16394913f3ff1 | [
"MIT"
] | null | null | null | class Solution {
public:
int countPrimeSetBits(int L, int R) {
const unordered_set<int> PRIMES = {2,3,5,7,11,13,17,19};
int answer = 0;
for(int num = L; num <= R; ++num){
int setBitsCnt = __builtin_popcount(num);
answer += (PRIMES.find(setBitsCnt) != PRIMES.end... | 30.833333 | 65 | 0.524324 | Tudor67 |
f0e719c6ea86f83338f9e8745890360cae78d634 | 6,370 | cpp | C++ | texture.cpp | CaptainDreamcast/prism | a6b0f5c3e86d7b37d14c9139862775e7768998ce | [
"MIT"
] | 7 | 2018-04-08T15:01:59.000Z | 2022-02-27T12:13:19.000Z | texture.cpp | CaptainDreamcast/prism | a6b0f5c3e86d7b37d14c9139862775e7768998ce | [
"MIT"
] | 1 | 2017-04-23T15:27:37.000Z | 2017-04-24T05:38:18.000Z | texture.cpp | CaptainDreamcast/libtari | a6b0f5c3e86d7b37d14c9139862775e7768998ce | [
"MIT"
] | 1 | 2020-04-24T04:21:00.000Z | 2020-04-24T04:21:00.000Z | #include "prism/texture.h"
#include<algorithm>
#ifdef DREAMCAST
#include <png/png.h>
#else
#include <png.h>
#endif
#include "prism/file.h"
#include "prism/log.h"
#include "prism/system.h"
#include "prism/math.h"
using namespace std;
#define FONT_CHARACTER_AMOUNT 91
static int isFontDataLoaded;
static TextureData ... | 22.75 | 88 | 0.649137 | CaptainDreamcast |
f0e933ed100092fe5cf143ddcb9558b9fc32c21d | 267 | hpp | C++ | pythran/pythonic/include/__builtin__/ReferenceError.hpp | SylvainCorlay/pythran | 908ec070d837baf77d828d01c3e35e2f4bfa2bfa | [
"BSD-3-Clause"
] | 1 | 2018-03-24T00:33:03.000Z | 2018-03-24T00:33:03.000Z | pythran/pythonic/include/__builtin__/ReferenceError.hpp | SylvainCorlay/pythran | 908ec070d837baf77d828d01c3e35e2f4bfa2bfa | [
"BSD-3-Clause"
] | null | null | null | pythran/pythonic/include/__builtin__/ReferenceError.hpp | SylvainCorlay/pythran | 908ec070d837baf77d828d01c3e35e2f4bfa2bfa | [
"BSD-3-Clause"
] | null | null | null | #ifndef PYTHONIC_INCLUDE_BUILTIN_REFERENCEERROR_HPP
#define PYTHONIC_INCLUDE_BUILTIN_REFERENCEERROR_HPP
#include "pythonic/include/types/exceptions.hpp"
PYTHONIC_NS_BEGIN
namespace __builtin__
{
PYTHONIC_EXCEPTION_DECL(ReferenceError)
}
PYTHONIC_NS_END
#endif
| 16.6875 | 51 | 0.868914 | SylvainCorlay |
f0ea469a07225cc24c6b92a7cb30c43024a6108f | 5,692 | cpp | C++ | c++/src/corelib/ncbi_safe_static.cpp | OpenHero/gblastn | a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8 | [
"MIT"
] | 31 | 2016-12-09T04:56:59.000Z | 2021-12-31T17:19:10.000Z | c++/src/corelib/ncbi_safe_static.cpp | OpenHero/gblastn | a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8 | [
"MIT"
] | 6 | 2017-03-10T17:25:13.000Z | 2021-09-22T15:49:49.000Z | c++/src/corelib/ncbi_safe_static.cpp | OpenHero/gblastn | a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8 | [
"MIT"
] | 20 | 2015-01-04T02:15:17.000Z | 2021-12-03T02:31:43.000Z | /* $Id: ncbi_safe_static.cpp 177027 2009-11-24 19:19:28Z grichenk $
* ===========================================================================
*
* PUBLIC DOMAIN NOTICE
* National Center for Biotechnology Information
*
* This software/database is a "United States Gover... | 27.765854 | 78 | 0.655657 | OpenHero |
f0ed6acb33e0b41499306ec4590b306a0280924d | 5,808 | cpp | C++ | libs/geometry/src/matrix.cpp | blagodarin/yttrium | 534289c3082355e5537a03c0b5855b60f0c344ad | [
"Apache-2.0"
] | null | null | null | libs/geometry/src/matrix.cpp | blagodarin/yttrium | 534289c3082355e5537a03c0b5855b60f0c344ad | [
"Apache-2.0"
] | null | null | null | libs/geometry/src/matrix.cpp | blagodarin/yttrium | 534289c3082355e5537a03c0b5855b60f0c344ad | [
"Apache-2.0"
] | null | null | null | // This file is part of the Yttrium toolkit.
// Copyright (C) Sergei Blagodarin.
// SPDX-License-Identifier: Apache-2.0
#include <yttrium/geometry/matrix.h>
#include <yttrium/geometry/euler.h>
#include <yttrium/geometry/size.h>
#include <cmath>
#include <numbers>
namespace Yt
{
Matrix4::Matrix4(const Euler& e) noe... | 34.366864 | 112 | 0.532369 | blagodarin |
f0ef45f838db55c49ad28fb6f393909025c8e1d6 | 7,054 | hpp | C++ | packages/Search/src/details/DTK_DetailsTreeTraversal.hpp | flyingcat007/DTK_Test | ef8e0e791b76f138045354715a8ce23436ea0edf | [
"BSD-3-Clause"
] | null | null | null | packages/Search/src/details/DTK_DetailsTreeTraversal.hpp | flyingcat007/DTK_Test | ef8e0e791b76f138045354715a8ce23436ea0edf | [
"BSD-3-Clause"
] | null | null | null | packages/Search/src/details/DTK_DetailsTreeTraversal.hpp | flyingcat007/DTK_Test | ef8e0e791b76f138045354715a8ce23436ea0edf | [
"BSD-3-Clause"
] | null | null | null | /****************************************************************************
* Copyright (c) 2012-2017 by the DataTransferKit authors *
* All rights reserved. *
* *
* This ... | 31.632287 | 80 | 0.561242 | flyingcat007 |
f0f058c70d3c3c2b34e72acbf78be9b844e025bb | 788 | cpp | C++ | client/include/game/CColDisk.cpp | MayconFelipeA/sampvoiceatt | 3fae8a2cf37dfad2e3925d56aebfbbcd4162b0ff | [
"MIT"
] | 368 | 2015-01-01T21:42:00.000Z | 2022-03-29T06:22:22.000Z | client/include/game/CColDisk.cpp | MayconFelipeA/sampvoiceatt | 3fae8a2cf37dfad2e3925d56aebfbbcd4162b0ff | [
"MIT"
] | 92 | 2019-01-23T23:02:31.000Z | 2022-03-23T19:59:40.000Z | client/include/game/CColDisk.cpp | MayconFelipeA/sampvoiceatt | 3fae8a2cf37dfad2e3925d56aebfbbcd4162b0ff | [
"MIT"
] | 179 | 2015-02-03T23:41:17.000Z | 2022-03-26T08:27:16.000Z | /*
Plugin-SDK (Grand Theft Auto San Andreas) source file
Authors: GTA Community. See more here
https://github.com/DK22Pac/plugin-sdk
Do not delete this comment block. Respect others' work!
*/
#include "CColDisk.h"
// Converted from thiscall void CColDisk::Set(float startRadius,CVector const&start,CVect... | 65.666667 | 209 | 0.769036 | MayconFelipeA |
f0f3e273807c03960248ad61cc8e678f24cf06dc | 78 | hpp | C++ | include/Pulsejet/Pulsejet.hpp | logicomacorp/pulsejet | ec73d19ccb71ff05b2122e258fe4b7b16e55fb53 | [
"MIT"
] | 30 | 2021-06-07T20:25:48.000Z | 2022-03-30T00:52:38.000Z | include/Pulsejet/Pulsejet.hpp | going-digital/pulsejet | 8452a0311645867d64c038cef7fdf751b26717ee | [
"MIT"
] | null | null | null | include/Pulsejet/Pulsejet.hpp | going-digital/pulsejet | 8452a0311645867d64c038cef7fdf751b26717ee | [
"MIT"
] | 1 | 2021-09-21T11:17:45.000Z | 2021-09-21T11:17:45.000Z | #pragma once
#include "Decode.hpp"
#include "Encode.hpp"
#include "Meta.hpp"
| 13 | 21 | 0.717949 | logicomacorp |
e7c8958dc2beaffff8a59eb2d4072ef8b2a3bd22 | 1,114 | cpp | C++ | silk_engine/src/gfx/buffers/index_buffer.cpp | GeorgeAzma/VulkanEngine | 0c2279682f526f428b44eae2a82be6933c74320d | [
"MIT"
] | 1 | 2022-02-11T12:49:49.000Z | 2022-02-11T12:49:49.000Z | silk_engine/src/gfx/buffers/index_buffer.cpp | GeorgeAzma/VulkanEngine | 0c2279682f526f428b44eae2a82be6933c74320d | [
"MIT"
] | null | null | null | silk_engine/src/gfx/buffers/index_buffer.cpp | GeorgeAzma/VulkanEngine | 0c2279682f526f428b44eae2a82be6933c74320d | [
"MIT"
] | null | null | null | #include "index_buffer.h"
#include "staging_buffer.h"
#include "gfx/graphics.h"
#include "gfx/buffers/command_buffer.h"
IndexBuffer::IndexBuffer(const void* data, VkDeviceSize count, IndexType index_type, VmaMemoryUsage memory_usage)
: Buffer(count * indexTypeSize(index_type),
VK_BUFFER_USAGE_TRANSFER_DST_BIT |
V... | 26.52381 | 113 | 0.777379 | GeorgeAzma |
e7cb1b6abec8324c260fbf8ecc7489fc23aa1f9f | 780 | cpp | C++ | Snipets/08_Strings/CharacterCounting.cpp | Gabroide/Learning-C | 63a89b9b6b84e410756e70e346173d475a1802a6 | [
"Apache-2.0"
] | null | null | null | Snipets/08_Strings/CharacterCounting.cpp | Gabroide/Learning-C | 63a89b9b6b84e410756e70e346173d475a1802a6 | [
"Apache-2.0"
] | null | null | null | Snipets/08_Strings/CharacterCounting.cpp | Gabroide/Learning-C | 63a89b9b6b84e410756e70e346173d475a1802a6 | [
"Apache-2.0"
] | null | null | null | // CharacterCounting.cpp
// Programa para contar los caracteres contenidos en un string
#include <iostream>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
int main()
{
char str[100];
int i, j, n, k, o;
i=0;
j=0;
k=0;
o=0;
puts("Introduce una frase");
gets(str);
n=strlen(str);
while(str[i... | 16.595745 | 71 | 0.553846 | Gabroide |
e7d5a48fc6a783714974803c80fcd00436f6473c | 3,002 | cpp | C++ | source/src/gui/qrsystemtray.cpp | Qters/QrChaos | accc5b9efe5469377a09170ecd92e4674d177f9f | [
"MIT"
] | 1 | 2016-10-21T08:14:26.000Z | 2016-10-21T08:14:26.000Z | source/src/gui/qrsystemtray.cpp | Qters/QrChaos | accc5b9efe5469377a09170ecd92e4674d177f9f | [
"MIT"
] | null | null | null | source/src/gui/qrsystemtray.cpp | Qters/QrChaos | accc5b9efe5469377a09170ecd92e4674d177f9f | [
"MIT"
] | null | null | null | #include "gui/qrsystemtray.h"
#include <QtCore/qdebug.h>
#include <QtCore/qmap.h>
#include <QtWidgets/qsystemtrayicon.h>
#include <QtWidgets/qaction.h>
#include <QtWidgets/qmenu.h>
#include <QtWidgets/qapplication.h>
#include "db/qrtblsystemtray.h"
#include "db/qrtblframeconfig.h"
NS_CHAOS_BASE_BEGIN
class QrSyste... | 24.606557 | 104 | 0.675217 | Qters |
e7d68cfba12d0c5cc12915b0739af0e174083928 | 6,140 | cpp | C++ | PG/physics/PhysicsWorld.cpp | mcdreamer/PG | a047615d9eae7f2229a203a262f239106cf7f39c | [
"MIT"
] | 2 | 2018-01-14T17:47:22.000Z | 2021-11-15T10:34:24.000Z | PG/physics/PhysicsWorld.cpp | mcdreamer/PG | a047615d9eae7f2229a203a262f239106cf7f39c | [
"MIT"
] | 23 | 2017-07-31T19:43:00.000Z | 2018-11-11T18:51:28.000Z | PG/physics/PhysicsWorld.cpp | mcdreamer/PG | a047615d9eae7f2229a203a262f239106cf7f39c | [
"MIT"
] | null | null | null | #include "PG/physics/PhysicsWorld.h"
#include "PG/physics/PhysicsBody.h"
#include "PG/app/GameConstants.h"
#include "PG/entities/TilePositionCalculator.h"
#include "PG/core/RectUtils.h"
#include "PG/core/PointUtils.h"
#include "PG/core/SizeUtils.h"
#include "PG/core/MathsUtils.h"
#include <array>
namespace PG {
name... | 29.238095 | 123 | 0.669055 | mcdreamer |
e7d6cb36c09282359e3ab5b7cc06ba1989389fd0 | 1,269 | cxx | C++ | src/sqlite/connection.cxx | slurps-mad-rips/apex | 8d88e6167e460a74e2c42a4d11d7f8e70adb5102 | [
"Apache-2.0"
] | 4 | 2020-12-14T18:07:28.000Z | 2021-04-21T18:10:26.000Z | src/sqlite/connection.cxx | slurps-mad-rips/apex | 8d88e6167e460a74e2c42a4d11d7f8e70adb5102 | [
"Apache-2.0"
] | 11 | 2020-07-21T03:27:10.000Z | 2021-03-22T20:24:44.000Z | src/sqlite/connection.cxx | slurps-mad-rips/apex | 8d88e6167e460a74e2c42a4d11d7f8e70adb5102 | [
"Apache-2.0"
] | 3 | 2020-12-14T17:40:07.000Z | 2022-03-18T15:43:10.000Z | #include <apex/sqlite/connection.hpp>
#include <apex/sqlite/memory.hpp>
#include <apex/sqlite/table.hpp>
#include <apex/sqlite/error.hpp>
#include <apex/core/memory.hpp>
#include <apex/memory/out.hpp>
#include <sqlite3.h>
namespace apex::sqlite {
void default_delete<sqlite3>::operator () (sqlite3* ptr) noexcept {
s... | 34.297297 | 110 | 0.704492 | slurps-mad-rips |
e7dab0aec55c610adbe8dc2f3a51df4ee13a9827 | 17,150 | cpp | C++ | test/tf/t_tf_tree.cpp | Robotics-BUT/Robotic-Template-Library | a93b31f5a8f5b12fbbd5fa134a714ea0f82c1578 | [
"MIT"
] | 8 | 2020-04-22T09:46:14.000Z | 2022-03-17T00:09:38.000Z | test/tf/t_tf_tree.cpp | Robotics-BUT/Robotic-Template-Library | a93b31f5a8f5b12fbbd5fa134a714ea0f82c1578 | [
"MIT"
] | 1 | 2020-08-11T07:24:14.000Z | 2020-10-05T12:47:05.000Z | test/tf/t_tf_tree.cpp | Robotics-BUT/Robotic-Template-Library | a93b31f5a8f5b12fbbd5fa134a714ea0f82c1578 | [
"MIT"
] | null | null | null | // This file is part of the Robotic Template Library (RTL), a C++
// template library for usage in robotic research and applications
// under the MIT licence:
//
// Copyright 2020 Brno University of Technology
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and ass... | 31.181818 | 128 | 0.593703 | Robotics-BUT |
e7dd038a07f541672ecdbee54894256ccb613089 | 2,899 | cpp | C++ | 387/387.cpp | bsamseth/project-euler | 60d70b117960f37411935bc18eab5bb2fca220e2 | [
"MIT"
] | null | null | null | 387/387.cpp | bsamseth/project-euler | 60d70b117960f37411935bc18eab5bb2fca220e2 | [
"MIT"
] | null | null | null | 387/387.cpp | bsamseth/project-euler | 60d70b117960f37411935bc18eab5bb2fca220e2 | [
"MIT"
] | null | null | null | /*
A Harshad or Niven number is a number that is divisible by the sum of its
digits. 201 is a Harshad number because it is divisible by 3 (the sum of its
digits.) When we truncate the last digit from 201, we get 20, which is a
Harshad number. When we truncate the last digit from 20, we get 2, which is
also a Harshad ... | 34.511905 | 79 | 0.709555 | bsamseth |
e7e04f2e48b35efebb79ea7a8852920c557ecd42 | 1,921 | cpp | C++ | Game/src/game/Kamikaze.cpp | franticsoftware/vlad-heavy-strike | a4da4df617e9ccd6ebd9819ad166d892924638ce | [
"MIT"
] | 3 | 2019-10-04T19:44:44.000Z | 2021-07-27T15:59:39.000Z | Game/src/game/Kamikaze.cpp | franticsoftware/vlad-heavy-strike | a4da4df617e9ccd6ebd9819ad166d892924638ce | [
"MIT"
] | 1 | 2019-07-20T05:36:31.000Z | 2019-07-20T22:22:49.000Z | Game/src/game/Kamikaze.cpp | aminere/vlad-heavy-strike | a4da4df617e9ccd6ebd9819ad166d892924638ce | [
"MIT"
] | null | null | null | /*
Amine Rehioui
Created: November 05th 2011
*/
#include "ShootTest.h"
#include "Kamikaze.h"
namespace shoot
{
DEFINE_OBJECT(Kamikaze);
DEFINE_OBJECT(KamikazeSettings);
//! constructor
KamikazeSettings::KamikazeSettings()
: m_fDuration(1.5f)
{
}
//! serializes the entity to/from a PropertyStream
void... | 22.337209 | 108 | 0.71317 | franticsoftware |
e7e43276a194c619ccf2813db3479e093ae732c5 | 7,324 | cpp | C++ | msfs2020/GaugeConnect/GaugeConnect.cpp | brion/simpanel | 5ac172006889cbbf92e2b7f86bab3f709072ff12 | [
"MIT"
] | 1 | 2021-07-21T03:19:55.000Z | 2021-07-21T03:19:55.000Z | msfs2020/GaugeConnect/GaugeConnect.cpp | brion/simpanel | 5ac172006889cbbf92e2b7f86bab3f709072ff12 | [
"MIT"
] | null | null | null | msfs2020/GaugeConnect/GaugeConnect.cpp | brion/simpanel | 5ac172006889cbbf92e2b7f86bab3f709072ff12 | [
"MIT"
] | 1 | 2021-07-21T03:20:01.000Z | 2021-07-21T03:20:01.000Z | // GaugeConnect.cpp
#include <MSFS/MSFS.h>
#include <MSFS/MSFS_WindowsTypes.h>
#include <MSFS/Legacy/gauges.h>
#include <SimConnect.h>
#include <cstring>
#include "GaugeConnect.h"
struct Expression {
bool valid;
double value;
char* expression;
UINT32 expr_len;
Expression(void) : valid(false), ex... | 28.061303 | 164 | 0.685554 | brion |
e7e8f43ab3bc37214f81a307791266a6fffe32ef | 341 | cpp | C++ | UB/Scripting/EntTeleportAction.cpp | Mr-1337/CAGE | e99082676e83cc069ebf0859fcb34e5b96712725 | [
"MIT"
] | null | null | null | UB/Scripting/EntTeleportAction.cpp | Mr-1337/CAGE | e99082676e83cc069ebf0859fcb34e5b96712725 | [
"MIT"
] | null | null | null | UB/Scripting/EntTeleportAction.cpp | Mr-1337/CAGE | e99082676e83cc069ebf0859fcb34e5b96712725 | [
"MIT"
] | 1 | 2019-06-16T19:00:31.000Z | 2019-06-16T19:00:31.000Z | #include "EntTeleportAction.hpp"
namespace ub
{
EntTeleportAction::EntTeleportAction(World* world, glm::vec2 destination) :
ScriptAction(world),
m_destination(destination)
{
}
void EntTeleportAction::Initialize()
{
}
void EntTeleportAction::Update(float dt)
{
m_world->MoveEnt(1, m_destination);
m_... | 15.5 | 77 | 0.727273 | Mr-1337 |
e7eddc82f37df2a9dd86f8058ebcf131a0bf6f69 | 2,142 | hpp | C++ | kernel/lib/elf.hpp | ethan4984/rock | 751b9af1009b622bedf384c1f80970b333c436c3 | [
"BSD-2-Clause"
] | 207 | 2020-05-27T21:57:28.000Z | 2022-02-26T15:17:27.000Z | kernel/lib/elf.hpp | ethan4984/crepOS | 751b9af1009b622bedf384c1f80970b333c436c3 | [
"BSD-2-Clause"
] | 3 | 2020-07-26T18:14:05.000Z | 2020-12-09T05:32:07.000Z | kernel/lib/elf.hpp | ethan4984/rock | 751b9af1009b622bedf384c1f80970b333c436c3 | [
"BSD-2-Clause"
] | 17 | 2020-07-05T19:08:48.000Z | 2021-10-13T12:30:13.000Z | #ifndef ELF_HPP_
#define ELF_HPP_
#include <mm/vmm.hpp>
#include <string.hpp>
#include <fs/fd.hpp>
namespace elf {
constexpr size_t elf_signature = 0x464C457F;
constexpr size_t elf64 = 0x2;
constexpr size_t ei_class = 0x4;
constexpr size_t ei_data = 0x5;
constexpr size_t ei_version = 0x6;
constexpr size_t ei_osabi ... | 21.636364 | 102 | 0.704949 | ethan4984 |
e7f00603063bc356ee35f2dd4e5a891475b981ee | 387 | cpp | C++ | 01_Week_Programming_Basics/FishTank/FishTank.cpp | kostadinmarkov99/SoftUni_Exercises_PB_Jan_2022 | 70e619d7c19b6676f509f2509fe102ecbc7669bc | [
"MIT"
] | null | null | null | 01_Week_Programming_Basics/FishTank/FishTank.cpp | kostadinmarkov99/SoftUni_Exercises_PB_Jan_2022 | 70e619d7c19b6676f509f2509fe102ecbc7669bc | [
"MIT"
] | null | null | null | 01_Week_Programming_Basics/FishTank/FishTank.cpp | kostadinmarkov99/SoftUni_Exercises_PB_Jan_2022 | 70e619d7c19b6676f509f2509fe102ecbc7669bc | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int main()
{
int length, width, height;
double percetage;
cin >> length >> width >> height >> percetage;
double volumeInSM = length * width * height;
double liters = volumeInSM / 1000;
double unusedLiters = liters * percetage / 100.0;
double used... | 19.35 | 53 | 0.648579 | kostadinmarkov99 |
e7f4315c365569ee6ce9a3393bc227c62b6a2fc9 | 9,001 | cpp | C++ | Client/src/UIGuildBankForm.cpp | ruuuubi/corsairs-client | ddbcd293d6ef3f58ff02290c02382cbb7e0939a2 | [
"Apache-2.0"
] | 1 | 2021-06-14T09:34:08.000Z | 2021-06-14T09:34:08.000Z | Client/src/UIGuildBankForm.cpp | ruuuubi/corsairs-client | ddbcd293d6ef3f58ff02290c02382cbb7e0939a2 | [
"Apache-2.0"
] | null | null | null | Client/src/UIGuildBankForm.cpp | ruuuubi/corsairs-client | ddbcd293d6ef3f58ff02290c02382cbb7e0939a2 | [
"Apache-2.0"
] | null | null | null | #include "StdAfx.h"
#include "UIGuildBankForm.h"
#include "uiform.h"
#include "uilabel.h"
#include "uiformmgr.h"
#include "uigoodsgrid.h"
#include "NetProtocol.h"
#include "uiboxform.h"
#include "uiEquipForm.h"
#include "UIGoodsGrid.h"
#include "uiItemCommand.h"
#include "uiform.h"
#include "uiBoatForm.h"
#include "pa... | 31.582456 | 128 | 0.651039 | ruuuubi |
e7f603ac6f13bee4c23a336e65ebf2c1e5f4ece4 | 4,597 | hpp | C++ | ASch/include/ASch_System.hpp | JuhoL/ASch | 757c7edacb1aabce5577acc3df0560548975df49 | [
"MIT"
] | 2 | 2018-08-20T08:56:11.000Z | 2019-07-09T07:27:45.000Z | ASch/include/ASch_System.hpp | JuhoL/ASch | 757c7edacb1aabce5577acc3df0560548975df49 | [
"MIT"
] | null | null | null | ASch/include/ASch_System.hpp | JuhoL/ASch | 757c7edacb1aabce5577acc3df0560548975df49 | [
"MIT"
] | null | null | null | //-----------------------------------------------------------------------------------------------------------------------------
// Copyright (c) 2018 Juho Lepistö
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
// documentation files (the "Software"), ... | 45.068627 | 127 | 0.474005 | JuhoL |
e7f60c2f38799f660ad85b4e9de2bbd6da832a41 | 1,843 | cpp | C++ | src/Ledger.cpp | LAHumphreys/LedgerJRI | 0c015ed328a71d624791bc6fb6c03e65709c7b13 | [
"MIT"
] | null | null | null | src/Ledger.cpp | LAHumphreys/LedgerJRI | 0c015ed328a71d624791bc6fb6c03e65709c7b13 | [
"MIT"
] | null | null | null | src/Ledger.cpp | LAHumphreys/LedgerJRI | 0c015ed328a71d624791bc6fb6c03e65709c7b13 | [
"MIT"
] | null | null | null | #include <Ledger.h>
#include <LedgerSessionData.h>
#include <LedgerSession.h>
#include <LedgerCommands.h>
Ledger::Ledger() {
// libLedger one-time setup?
}
std::unique_ptr<LedgerSession> Ledger::LoadJournal(const std::string& fname) {
std::unique_ptr<LedgerSession> sess;
WithInstance([&] (Ledger& instance... | 29.253968 | 78 | 0.637005 | LAHumphreys |
e7f789f835be45fa51b41edcbf3a38b3802995b0 | 3,746 | cpp | C++ | code/silverlib/game_hooks.cpp | adm244/f4silver | 564ecc80991266ae8b3238f553b76d75506f9fbf | [
"Unlicense"
] | 6 | 2018-11-07T19:31:30.000Z | 2021-07-29T02:58:33.000Z | code/silverlib/game_hooks.cpp | adm244/f4silver | 564ecc80991266ae8b3238f553b76d75506f9fbf | [
"Unlicense"
] | 2 | 2018-06-01T23:27:46.000Z | 2018-09-11T23:35:58.000Z | code/silverlib/game_hooks.cpp | adm244/f4silver | 564ecc80991266ae8b3238f553b76d75506f9fbf | [
"Unlicense"
] | 3 | 2019-12-29T14:45:55.000Z | 2020-05-12T16:34:23.000Z | /*
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
In jurisdictions that recognize copy... | 29.730159 | 78 | 0.70929 | adm244 |
e7feb77a0e6a3e4807d2f203b96c6ff3cb432fb3 | 1,002 | hpp | C++ | coroutine/OverridingList.hpp | bxtx999/pmembench | 9577a15bc7934a681f23b3096f2cd25e09f66874 | [
"MIT",
"Unlicense"
] | 10 | 2021-02-09T21:07:12.000Z | 2022-02-10T17:37:06.000Z | coroutine/OverridingList.hpp | bxtx999/pmembench | 9577a15bc7934a681f23b3096f2cd25e09f66874 | [
"MIT",
"Unlicense"
] | null | null | null | coroutine/OverridingList.hpp | bxtx999/pmembench | 9577a15bc7934a681f23b3096f2cd25e09f66874 | [
"MIT",
"Unlicense"
] | 4 | 2021-04-12T08:13:09.000Z | 2022-01-05T02:54:45.000Z | #pragma once
// -------------------------------------------------------------------------------------
#include <type_traits>
#include <cassert>
// -------------------------------------------------------------------------------------
template<typename Value>
class OverridingList {
public:
OverridingList()
... | 20.875 | 88 | 0.422156 | bxtx999 |
f001aa502b6b916c44ef754284d4953e994763a6 | 2,085 | hh | C++ | Include/Zion/GameMode.hh | ZionMP/Zion | 7266cc5df81644e54c2744fca7f31b24873b31e7 | [
"BSD-2-Clause"
] | 1 | 2021-10-14T05:25:47.000Z | 2021-10-14T05:25:47.000Z | Include/Zion/GameMode.hh | ZionMP/Zion | 7266cc5df81644e54c2744fca7f31b24873b31e7 | [
"BSD-2-Clause"
] | null | null | null | Include/Zion/GameMode.hh | ZionMP/Zion | 7266cc5df81644e54c2744fca7f31b24873b31e7 | [
"BSD-2-Clause"
] | null | null | null | #pragma once
#include "Base.hh"
#include "Player.hh"
#include "Vehicle.hh"
#include "Util.hh"
#include "TextDraw.hh"
#include "Pickup.hh"
namespace Zion {
class GameMode {
public:
virtual void OnPlayerInteriorChange(Player *player, int newInterior, int oldInterior) {}
virtual void O... | 56.351351 | 125 | 0.67482 | ZionMP |
f005369c1ccf2e02974208beb2f1ab22db4f5cfb | 2,025 | hpp | C++ | zen/lexgen/nodes.hpp | ZenLibraries/ZenLibraries | ae189b5080c75412cbd4f33cf6cfb51e15f6ee66 | [
"Apache-2.0"
] | null | null | null | zen/lexgen/nodes.hpp | ZenLibraries/ZenLibraries | ae189b5080c75412cbd4f33cf6cfb51e15f6ee66 | [
"Apache-2.0"
] | 2 | 2020-02-06T17:01:39.000Z | 2020-02-12T17:50:14.000Z | zen/lexgen/nodes.hpp | ZenLibraries/ZenLibraries | ae189b5080c75412cbd4f33cf6cfb51e15f6ee66 | [
"Apache-2.0"
] | null | null | null | #ifndef ZEN_LEXGEN_NODES_HPP
#define ZEN_LEXGEN_NODES_HPP
#include <list>
#include <memory>
#include "zen/string.hpp"
#include "zen/dllist.hpp"
namespace zen {
namespace lexgen {
template<typename T>
using SPtr = std::shared_ptr<T>;
enum class NodeType {
rule,
ref_expr,
char_expr,
... | 15.944882 | 76 | 0.576296 | ZenLibraries |
f00812be6bc41c86a6dcd549186c57d6f57ce8d3 | 2,301 | hpp | C++ | CookieEngine/include/Gameplay/CGPWorker.hpp | qbleuse/Cookie-Engine | 705d19d9e4c79e935e32244759ab63523dfbe6c4 | [
"CC-BY-4.0"
] | null | null | null | CookieEngine/include/Gameplay/CGPWorker.hpp | qbleuse/Cookie-Engine | 705d19d9e4c79e935e32244759ab63523dfbe6c4 | [
"CC-BY-4.0"
] | null | null | null | CookieEngine/include/Gameplay/CGPWorker.hpp | qbleuse/Cookie-Engine | 705d19d9e4c79e935e32244759ab63523dfbe6c4 | [
"CC-BY-4.0"
] | null | null | null | #ifndef _CGP_WORKER_HPP__
#define _CGP_WORKER_HPP__
#include "ComponentTransform.hpp"
#include "Map.hpp"
#include "Gameplay/CGPResource.hpp"
#include "Gameplay/Income.hpp"
#include <vector>
namespace Cookie
{
namespace ECS
{
class Coordinator;
}
namespace Resources
{
class Prefab;
class Map;
}
namespac... | 26.755814 | 105 | 0.633638 | qbleuse |
f00a35b5915426f9c5ddcecaebf999755c2cc7e7 | 192 | cpp | C++ | bytecode/interpreter/src/BytecodeInterpreter/Units/InterpreterCommandMov.cpp | Scorbutics/skalang | c8d1869a2f0c7857ee05ef45bd3aa4e537d39558 | [
"MIT"
] | 3 | 2019-04-08T17:34:19.000Z | 2020-01-03T04:47:06.000Z | bytecode/interpreter/src/BytecodeInterpreter/Units/InterpreterCommandMov.cpp | Scorbutics/skalang | c8d1869a2f0c7857ee05ef45bd3aa4e537d39558 | [
"MIT"
] | 4 | 2020-04-19T22:09:06.000Z | 2020-11-06T15:47:08.000Z | bytecode/interpreter/src/BytecodeInterpreter/Units/InterpreterCommandMov.cpp | Scorbutics/skalang | c8d1869a2f0c7857ee05ef45bd3aa4e537d39558 | [
"MIT"
] | null | null | null | #include "InterpreterCommandMov.h"
SKALANG_BYTECODE_INTERPRETER_COMMAND_DECLARE(MOV)(ExecutionContext& context, const Operand& left, const Operand& right) {
return context.getCell(left);
}
| 32 | 121 | 0.8125 | Scorbutics |
f00dbdb3d7bef7604daa1335487649f287667bd0 | 5,221 | cpp | C++ | libvast/src/system/read_query.cpp | rdettai/vast | 0b3cf41011df5fe8a4e8430fa6a1d6f1c50a18fa | [
"BSD-3-Clause"
] | 249 | 2019-08-26T01:44:45.000Z | 2022-03-26T14:12:32.000Z | libvast/src/system/read_query.cpp | rdettai/vast | 0b3cf41011df5fe8a4e8430fa6a1d6f1c50a18fa | [
"BSD-3-Clause"
] | 586 | 2019-08-06T13:10:36.000Z | 2022-03-31T08:31:00.000Z | libvast/src/system/read_query.cpp | rdettai/vast | 0b3cf41011df5fe8a4e8430fa6a1d6f1c50a18fa | [
"BSD-3-Clause"
] | 37 | 2019-08-16T02:01:14.000Z | 2022-02-21T16:13:59.000Z | // _ _____ __________
// | | / / _ | / __/_ __/ Visibility
// | |/ / __ |_\ \ / / Across
// |___/_/ |_/___/ /_/ Space and Time
//
// SPDX-FileCopyrightText: (c) 2019 The VAST Contributors
// SPDX-License-Identifier: BSD-3-Clause
#include "vast/system/read_query.hpp"
#include "vast/fw... | 35.517007 | 80 | 0.622103 | rdettai |
f00f829e36cab5051a674b7c0f5f57955c333623 | 4,000 | hpp | C++ | include/ashespp/RenderPass/RenderPass.hpp | DragonJoker/Ashes | a6ed950b3fd8fb9626c60b4291fbd52ea75ac66e | [
"MIT"
] | 227 | 2018-09-17T16:03:35.000Z | 2022-03-19T02:02:45.000Z | include/ashespp/RenderPass/RenderPass.hpp | DragonJoker/RendererLib | 0f8ad8edec1b0929ebd10247d3dd0a9ee8f8c91a | [
"MIT"
] | 39 | 2018-02-06T22:22:24.000Z | 2018-08-29T07:11:06.000Z | include/ashespp/RenderPass/RenderPass.hpp | DragonJoker/Ashes | a6ed950b3fd8fb9626c60b4291fbd52ea75ac66e | [
"MIT"
] | 8 | 2019-05-04T10:33:32.000Z | 2021-04-05T13:19:27.000Z | /*
This file belongs to Ashes.
See LICENSE file in root folder.
*/
#ifndef ___AshesPP_RenderPass_HPP___
#define ___AshesPP_RenderPass_HPP___
#pragma once
#include "RenderPassCreateInfo.hpp"
namespace ashes
{
/**
*\brief
* Describes a render pass (which can contain one or more render subpasses).
*/
class RenderPa... | 24.390244 | 76 | 0.70075 | DragonJoker |
f0140c4ac96027b009016a32e66fd6ff5f3e6fc1 | 14,176 | cpp | C++ | Immortal/Platform/D3D12/RenderContext.cpp | QSXW/Immortal | 32adcc8609b318752dd97f1c14dc7368b47d47d1 | [
"Apache-2.0"
] | 6 | 2021-09-15T08:56:28.000Z | 2022-03-29T15:55:02.000Z | Immortal/Platform/D3D12/RenderContext.cpp | DaShi-Git/Immortal | e3345b4ff2a2b9d215c682db2b4530e24cc3b203 | [
"Apache-2.0"
] | null | null | null | Immortal/Platform/D3D12/RenderContext.cpp | DaShi-Git/Immortal | e3345b4ff2a2b9d215c682db2b4530e24cc3b203 | [
"Apache-2.0"
] | 4 | 2021-12-05T17:28:57.000Z | 2022-03-29T15:55:05.000Z | #include "impch.h"
#include "RenderContext.h"
#include "Framework/Utils.h"
#include "Descriptor.h"
namespace Immortal
{
namespace D3D12
{
Device *RenderContext::UnlimitedDevice = nullptr;
DescriptorAllocator RenderContext::shaderVisibleDescriptorAllocator{
DescriptorPool::Type::ShaderResourceView,
Descripto... | 31.572383 | 137 | 0.670076 | QSXW |
f015cd8f7d4f76500819b27551d6ae929fb9f087 | 11,675 | cpp | C++ | models/processor/zesto/ZCOMPS-bpred/bpred-tage.cpp | Basseuph/manifold | 99779998911ed7e8b8ff6adacc7f93080409a5fe | [
"BSD-3-Clause"
] | 8 | 2016-01-22T18:28:48.000Z | 2021-05-07T02:27:21.000Z | models/processor/zesto/ZCOMPS-bpred/bpred-tage.cpp | Basseuph/manifold | 99779998911ed7e8b8ff6adacc7f93080409a5fe | [
"BSD-3-Clause"
] | 3 | 2016-04-15T02:58:58.000Z | 2017-01-19T17:07:34.000Z | models/processor/zesto/ZCOMPS-bpred/bpred-tage.cpp | Basseuph/manifold | 99779998911ed7e8b8ff6adacc7f93080409a5fe | [
"BSD-3-Clause"
] | 10 | 2015-12-11T04:16:55.000Z | 2019-05-25T20:58:13.000Z | /* bpred-tage.cpp: TAgged GEometric-history length predictor [Seznec and Michaud, JILP 2006] */
/*
* __COPYRIGHT__ GT
*/
#define COMPONENT_NAME "tage"
#ifdef BPRED_PARSE_ARGS
if(!strcasecmp(COMPONENT_NAME,type))
{
int num_tables;
int bim_size;
int table_size;
int tag_width;
int first_length;
int last_le... | 23.92418 | 154 | 0.53439 | Basseuph |
f01900af12de7167295f7738f8636d6c75b1ce11 | 8,180 | cc | C++ | src/server/DataBase.cc | ryan-rao/LTFS-Data-Management | 041960282d20aeefb8da20eabf04367a164a5903 | [
"Apache-2.0"
] | 19 | 2018-06-28T03:53:41.000Z | 2022-03-15T16:17:33.000Z | src/server/DataBase.cc | ryan-rao/LTFS-Data-Management | 041960282d20aeefb8da20eabf04367a164a5903 | [
"Apache-2.0"
] | 13 | 2018-04-25T15:40:14.000Z | 2021-01-18T11:03:27.000Z | src/server/DataBase.cc | ryan-rao/LTFS-Data-Management | 041960282d20aeefb8da20eabf04367a164a5903 | [
"Apache-2.0"
] | 8 | 2018-08-08T05:40:31.000Z | 2022-03-22T16:21:06.000Z | /*******************************************************************************
* Copyright 2018 IBM Corp. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* ht... | 22.349727 | 81 | 0.590098 | ryan-rao |
f01e5468ec34fc81f5bfb7f0da1d4d62e9107d7c | 387 | cpp | C++ | leetcode/two-pointer/11.container-with-most-water.cpp | saurabhraj042/dsaPrep | 0973a03bc565a2850003c7e48d99b97ff83b1d01 | [
"MIT"
] | 23 | 2021-10-30T04:11:52.000Z | 2021-11-27T09:16:18.000Z | leetcode/two-pointer/11.container-with-most-water.cpp | Pawanupadhyay10/placement-prep | 0449fa7cbc56e7933e6b090936ab7c15ca5f290f | [
"MIT"
] | null | null | null | leetcode/two-pointer/11.container-with-most-water.cpp | Pawanupadhyay10/placement-prep | 0449fa7cbc56e7933e6b090936ab7c15ca5f290f | [
"MIT"
] | 4 | 2021-10-30T03:26:05.000Z | 2021-11-14T12:15:04.000Z | // saurabhraj042
class Solution {
public:
int maxArea(vector<int>& A) {
int i = 0,j = A.size()-1;
int mx = j * min( A[i],A[j] );
while( i < j )
{
if( (j-i) * min( A[j],A[i] ) > mx)
mx=(j-i)*min(A[j],A[i]);
if( A[i] < A[j])... | 19.35 | 46 | 0.330749 | saurabhraj042 |
f01f9b2b18a3d97fdf502b9b2fde13cba6e1418a | 849 | cpp | C++ | Source/PluginPostEffects_Core1/Exports.cpp | shanefarris/CoreGameEngine | 5bef275d1cd4e84aa059f2f4f9e97bfa2414d000 | [
"MIT"
] | 3 | 2019-04-12T15:22:53.000Z | 2022-01-05T02:59:56.000Z | Source/PluginPostEffects_Core1/Exports.cpp | shanefarris/CoreGameEngine | 5bef275d1cd4e84aa059f2f4f9e97bfa2414d000 | [
"MIT"
] | null | null | null | Source/PluginPostEffects_Core1/Exports.cpp | shanefarris/CoreGameEngine | 5bef275d1cd4e84aa059f2f4f9e97bfa2414d000 | [
"MIT"
] | 2 | 2019-04-10T22:46:21.000Z | 2020-05-27T16:21:37.000Z | #define DLL_EXPORT
#include "Exports.h"
#include "Plugins/IPostEffectFactory.h"
#include "Factories.h"
namespace Core
{
namespace Plugin
{
CPostEffectFactory_Bloom* Bloom = nullptr;
CPostEffectFactory_Hdr* Hdr = nullptr;
CPostEffectFactory_MotionBlur* MotionBlur = nullptr;
CPostEffectFactory_SSAO* Ssao = null... | 19.295455 | 62 | 0.720848 | shanefarris |
f020af42a32e14a0c8a88f5f7986e92a282436ca | 376 | cpp | C++ | moosh/src/msg_handler.cpp | mujido/moove | 380fd0ea2eb2ad59b62a27bb86079ecb8c5b783b | [
"Apache-2.0"
] | null | null | null | moosh/src/msg_handler.cpp | mujido/moove | 380fd0ea2eb2ad59b62a27bb86079ecb8c5b783b | [
"Apache-2.0"
] | null | null | null | moosh/src/msg_handler.cpp | mujido/moove | 380fd0ea2eb2ad59b62a27bb86079ecb8c5b783b | [
"Apache-2.0"
] | null | null | null | #include "msg_handler.hpp"
#include <iostream>
void MessageHandler::error(const std::string& msg, unsigned lineNum)
{
std::cerr << "Error, line " << lineNum + m_lineOffset << ": " << msg << std::endl;
}
void MessageHandler::warning(const std::string& msg, unsigned lineNum)
{
std::cerr << "Warning, line " <<... | 25.066667 | 87 | 0.638298 | mujido |
f0226c78fa7c6e4f85aedf840418a5f8df8a9b15 | 10,309 | cpp | C++ | HaloTAS/TASDLL/tas_hooks.cpp | s3anyboy/HaloTAS | 9584786f19e1475399298fda2d5783d47623cccd | [
"MIT"
] | 6 | 2019-09-10T19:47:04.000Z | 2020-11-26T08:32:36.000Z | HaloTAS/TASDLL/tas_hooks.cpp | s3anyboy/HaloTAS | 9584786f19e1475399298fda2d5783d47623cccd | [
"MIT"
] | 13 | 2018-11-24T09:37:49.000Z | 2021-10-22T02:29:11.000Z | HaloTAS/TASDLL/tas_hooks.cpp | s3anyboy/HaloTAS | 9584786f19e1475399298fda2d5783d47623cccd | [
"MIT"
] | 3 | 2020-07-28T09:19:14.000Z | 2020-09-02T04:48:49.000Z | #include "tas_hooks.h"
#include "tas_logger.h"
#include "tas_input_handler.h"
#include "randomizer.h"
#include "halo_engine.h"
#include "render_d3d9.h"
// Function Defs
typedef HRESULT(__stdcall* GetDeviceState_t)(LPDIRECTINPUTDEVICE*, DWORD, LPVOID*);
typedef HRESULT(__stdcall* GetDeviceData_t)(LPDIRECTINPUTDEVICE*, ... | 30.957958 | 156 | 0.776409 | s3anyboy |
f02732e925b9bd7a3d1071c0ebc55a73fc0c1d0d | 418 | hpp | C++ | pythran/pythonic/include/numpy/isscalar.hpp | xmar/pythran | dbf2e8b70ed1e4d4ac6b5f26ead4add940a72592 | [
"BSD-3-Clause"
] | null | null | null | pythran/pythonic/include/numpy/isscalar.hpp | xmar/pythran | dbf2e8b70ed1e4d4ac6b5f26ead4add940a72592 | [
"BSD-3-Clause"
] | null | null | null | pythran/pythonic/include/numpy/isscalar.hpp | xmar/pythran | dbf2e8b70ed1e4d4ac6b5f26ead4add940a72592 | [
"BSD-3-Clause"
] | null | null | null | #ifndef PYTHONIC_INCLUDE_NUMPY_ISSCALAR_HPP
#define PYTHONIC_INCLUDE_NUMPY_ISSCALAR_HPP
#include "pythonic/include/utils/functor.hpp"
#include "pythonic/include/types/traits.hpp"
#include "pythonic/include/types/str.hpp"
#include <type_traits>
namespace pythonic
{
namespace numpy
{
template <class E>
c... | 17.416667 | 47 | 0.763158 | xmar |
f02e4a207cb97f3d4edb73883357be6961ea0058 | 1,583 | cpp | C++ | src/network/uber-profile-requestor.cpp | ghosalmartin/harbour-uber | b8d906f4050cfea8817aaebe1ade5c3466662109 | [
"MIT"
] | 2 | 2018-03-16T10:31:20.000Z | 2018-10-02T15:50:56.000Z | src/network/uber-profile-requestor.cpp | ghosalmartin/harbour-uber | b8d906f4050cfea8817aaebe1ade5c3466662109 | [
"MIT"
] | null | null | null | src/network/uber-profile-requestor.cpp | ghosalmartin/harbour-uber | b8d906f4050cfea8817aaebe1ade5c3466662109 | [
"MIT"
] | null | null | null | #include "uber-profile-requestor.h"
UberProfileRequestor::UberProfileRequestor(QObject *parent)
: UberRequestor(parent){
connect(this, SIGNAL(profileChanged(Profile*)),
this, SLOT(setProfile(Profile*)));
}
void UberProfileRequestor::fetchProfileFromNetwork(){
makeNetworkCall(
U... | 33.680851 | 76 | 0.602021 | ghosalmartin |
f0345cefb360a8d7f49255d1ecb9b909df56d97e | 244 | hpp | C++ | include/PrimeGenerator.hpp | sigalor/prime-plot | 53bfa9e5f4d89d717d616620045a7c21c7cfe733 | [
"Apache-2.0"
] | 9 | 2018-04-10T09:38:16.000Z | 2021-02-02T22:46:30.000Z | include/PrimeGenerator.hpp | sigalor/prime-plot | 53bfa9e5f4d89d717d616620045a7c21c7cfe733 | [
"Apache-2.0"
] | null | null | null | include/PrimeGenerator.hpp | sigalor/prime-plot | 53bfa9e5f4d89d717d616620045a7c21c7cfe733 | [
"Apache-2.0"
] | 2 | 2018-07-31T04:31:10.000Z | 2019-12-21T22:47:50.000Z | #pragma once
#include <iostream>
#include <vector>
//#include <thread>
namespace PrimeGenerator
{
long integerSqrt(long num);
std::vector<long> findPrimes(long start, std::size_t num, long* lastCurrLimit, long end=-1);
}
| 15.25 | 99 | 0.67623 | sigalor |
f03624c4db456ba229b7c38e968a48cfa94cb403 | 7,796 | cpp | C++ | Beon/src/main.cpp | Riordan-DC/B-on | 174390c08eddcdfbd0ae7441fc440a32641bcf28 | [
"MIT"
] | null | null | null | Beon/src/main.cpp | Riordan-DC/B-on | 174390c08eddcdfbd0ae7441fc440a32641bcf28 | [
"MIT"
] | null | null | null | Beon/src/main.cpp | Riordan-DC/B-on | 174390c08eddcdfbd0ae7441fc440a32641bcf28 | [
"MIT"
] | null | null | null | #include "Beon.hpp"
// Window parameters
int windowWidth = 1980;
int windowHeight = 1080;
static bool running = true;
//Get a handle on our light
//GLuint LightID = glGetUniformLocation(mShader.ID, "LightPosition_worldspace");
// Forward declaration of functions
void cleanup();
// Create window manag... | 34.043668 | 156 | 0.685993 | Riordan-DC |
f036d2b4c7e72d0bc013732246952863da7336c2 | 1,773 | cpp | C++ | roo_material_icons/sharp/18/home.cpp | dejwk/roo_material_icons | f559ce25b6ee2fdf67ed4f8b0bedfce2aaefb885 | [
"MIT"
] | null | null | null | roo_material_icons/sharp/18/home.cpp | dejwk/roo_material_icons | f559ce25b6ee2fdf67ed4f8b0bedfce2aaefb885 | [
"MIT"
] | null | null | null | roo_material_icons/sharp/18/home.cpp | dejwk/roo_material_icons | f559ce25b6ee2fdf67ed4f8b0bedfce2aaefb885 | [
"MIT"
] | null | null | null | #include "home.h"
using namespace roo_display;
// Image file ic_sharp_18_home_sensor_door 18x18, 4-bit Alpha, RLE, 60 bytes.
static const uint8_t ic_sharp_18_home_sensor_door_data[] PROGMEM = {
0x80, 0xC3, 0x00, 0x18, 0x06, 0x30, 0x16, 0x06, 0xFB, 0x06, 0x60, 0x6F, 0xB0, 0x66, 0x06, 0xFB,
0x06, 0x60, 0x6F, 0xB0,... | 53.727273 | 97 | 0.716864 | dejwk |
f0377dc35798653f437c55858a0ab0ae28426d9a | 4,645 | cc | C++ | util/fuchsia/koid_utilities.cc | rbxeyl/crashpad | 95b4e6276836283a91e18382fb258598bd77f8aa | [
"Apache-2.0"
] | 14,668 | 2015-01-01T01:57:10.000Z | 2022-03-31T23:33:32.000Z | util/fuchsia/koid_utilities.cc | rbxeyl/crashpad | 95b4e6276836283a91e18382fb258598bd77f8aa | [
"Apache-2.0"
] | 113 | 2019-12-14T04:28:04.000Z | 2021-09-26T18:40:27.000Z | util/fuchsia/koid_utilities.cc | rbxeyl/crashpad | 95b4e6276836283a91e18382fb258598bd77f8aa | [
"Apache-2.0"
] | 5,941 | 2015-01-02T11:32:21.000Z | 2022-03-31T16:35:46.000Z | // Copyright 2018 The Crashpad Authors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by ... | 32.711268 | 80 | 0.639182 | rbxeyl |
f040c8b9ee2c07b5d508dcc6f6c41cd4e4cd3511 | 8,596 | hpp | C++ | include/codegen/include/Zenject/FactoryFromBinder1Extensions.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 1 | 2021-11-12T09:29:31.000Z | 2021-11-12T09:29:31.000Z | include/codegen/include/Zenject/FactoryFromBinder1Extensions.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | null | null | null | include/codegen/include/Zenject/FactoryFromBinder1Extensions.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:42 PM
// Created by Sc2ad
// =========================================================================
#pragma once
#pragma pack(push, 8)
// Begin includes
#include "utils/typedefs.h"
// Including type: System.Object
#include "System/Object.hpp"
#include "utils/i... | 73.470085 | 347 | 0.79665 | Futuremappermydud |
f04378c7ee5b0e8ee964c93bb89f07a6b122379e | 680 | hpp | C++ | include/jln/mp/functional/if.hpp | jonathanpoelen/jln.mp | e5f05fc4467f14ac0047e3bdc75a04076e689985 | [
"MIT"
] | 9 | 2020-07-04T16:46:13.000Z | 2022-01-09T21:59:31.000Z | include/jln/mp/functional/if.hpp | jonathanpoelen/jln.mp | e5f05fc4467f14ac0047e3bdc75a04076e689985 | [
"MIT"
] | null | null | null | include/jln/mp/functional/if.hpp | jonathanpoelen/jln.mp | e5f05fc4467f14ac0047e3bdc75a04076e689985 | [
"MIT"
] | 1 | 2021-05-23T13:37:40.000Z | 2021-05-23T13:37:40.000Z | #pragma once
#include <jln/mp/utility/conditional.hpp>
#include <jln/mp/utility/always.hpp>
#include <jln/mp/number/number.hpp>
#include <jln/mp/functional/call.hpp>
namespace jln::mp
{
/// \ingroup functional
/// A conditional expression.
/// \treturn \value
template<class Pred, class TC, class FC = always<... | 22.666667 | 72 | 0.636765 | jonathanpoelen |
f043b2b0fde76b34dd159a94d2ffaa47995915cd | 7,135 | cpp | C++ | src/zxing/zxing/oned/rss/expanded/decoders/FieldParser.cpp | favoritas37/qzxing | 6ea2b31e26db9d43db027ba207f5c73dc9d759fc | [
"Apache-2.0"
] | 608 | 2015-02-21T22:31:37.000Z | 2022-03-31T05:05:36.000Z | src/zxing/zxing/oned/rss/expanded/decoders/FieldParser.cpp | favoritas37/qzxing | 6ea2b31e26db9d43db027ba207f5c73dc9d759fc | [
"Apache-2.0"
] | 512 | 2015-01-06T17:59:31.000Z | 2022-03-31T13:21:49.000Z | src/zxing/zxing/oned/rss/expanded/decoders/FieldParser.cpp | favoritas37/qzxing | 6ea2b31e26db9d43db027ba207f5c73dc9d759fc | [
"Apache-2.0"
] | 281 | 2016-09-15T08:42:26.000Z | 2022-03-21T17:55:00.000Z | #include "FieldParser.h"
#include <algorithm>
namespace zxing {
namespace oned {
namespace rss {
static const int VARIABLE_LENGTH = 99999;
struct DigitData {
std::string digit;
int variableLength;
int length;
};
static const DigitData TWO_DIGIT_DATA_LENGTH[] {
// "DIGITS", new Integer(LENGTH)
// ... | 25.758123 | 95 | 0.571829 | favoritas37 |
f045c323aed5df511f3059cb6ecfa62ee27afcee | 1,198 | hh | C++ | GameLogic/Engine/piecefactory.hh | saarioka/Saaripeli | 28145e49b4708e22fb7cb051c1ccddfa4a6a24f9 | [
"MIT"
] | null | null | null | GameLogic/Engine/piecefactory.hh | saarioka/Saaripeli | 28145e49b4708e22fb7cb051c1ccddfa4a6a24f9 | [
"MIT"
] | null | null | null | GameLogic/Engine/piecefactory.hh | saarioka/Saaripeli | 28145e49b4708e22fb7cb051c1ccddfa4a6a24f9 | [
"MIT"
] | null | null | null | #ifndef PIECEFACTORY_HH
#define PIECEFACTORY_HH
#include <QJsonObject>
#include <string>
#include <vector>
/**
* @file
* @brief Singleton class that creates pieces.
*/
namespace Logic {
/**
* @brief Singleton class for creating pieces.
*
* The factory is requested to read JSON file, after which it will reques... | 21.392857 | 133 | 0.673623 | saarioka |
f04c4f700ec089a967ffa9bfa9b5e02c7dfa42ff | 1,413 | hpp | C++ | lib/include/interlinck/Core/Syntax/IWithSimplifiedWidthAndPosition.hpp | henrikfroehling/polyglot | 955fb37c2f54ebbaf933c16bf9e0e4bcca8a4142 | [
"MIT"
] | null | null | null | lib/include/interlinck/Core/Syntax/IWithSimplifiedWidthAndPosition.hpp | henrikfroehling/polyglot | 955fb37c2f54ebbaf933c16bf9e0e4bcca8a4142 | [
"MIT"
] | 50 | 2021-06-30T20:01:50.000Z | 2021-11-28T16:21:26.000Z | lib/include/interlinck/Core/Syntax/IWithSimplifiedWidthAndPosition.hpp | henrikfroehling/polyglot | 955fb37c2f54ebbaf933c16bf9e0e4bcca8a4142 | [
"MIT"
] | null | null | null | #ifndef INTERLINCK_CORE_SYNTAX_IWITHSIMPLIFIEDWIDTHANDPOSITION_H
#define INTERLINCK_CORE_SYNTAX_IWITHSIMPLIFIEDWIDTHANDPOSITION_H
#include "interlinck/interlinck_global.hpp"
#include "interlinck/Core/Text/TextSpan.hpp"
#include "interlinck/Core/Types.hpp"
namespace interlinck::Core::Syntax
{
/**
* @brief Interface ... | 30.06383 | 105 | 0.726115 | henrikfroehling |
f0536743f2f27114eb1aa65d2d52739f363aad92 | 1,111 | cpp | C++ | UVA/11582/17163602_AC_970ms_0kB.cpp | BakaErii/ACM_Collection | d368b15c7f1c84472424d5e61e5ebc667f589025 | [
"WTFPL"
] | null | null | null | UVA/11582/17163602_AC_970ms_0kB.cpp | BakaErii/ACM_Collection | d368b15c7f1c84472424d5e61e5ebc667f589025 | [
"WTFPL"
] | null | null | null | UVA/11582/17163602_AC_970ms_0kB.cpp | BakaErii/ACM_Collection | d368b15c7f1c84472424d5e61e5ebc667f589025 | [
"WTFPL"
] | null | null | null | /**
* @author Moe_Sakiya sakiya@tun.moe
* @date 2018-11-24 14:58:37
*
*/
#include <iostream>
#include <string>
#include <algorithm>
#include <set>
#include <map>
#include <vector>
#include <stack>
#include <queue>
#include <cstdio>
#include <cstring>
#include <cstdlib>
#include <cmath>
using namespace std;
... | 19.155172 | 105 | 0.545455 | BakaErii |
f0573ae4797675834357ceed30a2b0960325ab6e | 1,281 | hpp | C++ | src/memory/Array.hpp | LU15W1R7H/lwirth-lib | f51cfb56b801790c200cea64d226730449d68f53 | [
"MIT"
] | 2 | 2018-04-04T17:26:32.000Z | 2020-06-26T09:22:49.000Z | src/memory/Array.hpp | LU15W1R7H/lwirth-lib | f51cfb56b801790c200cea64d226730449d68f53 | [
"MIT"
] | 1 | 2018-08-27T14:35:45.000Z | 2018-08-27T19:00:12.000Z | src/memory/Array.hpp | LU15W1R7H/lwirth-lib | f51cfb56b801790c200cea64d226730449d68f53 | [
"MIT"
] | null | null | null | #pragma once
#include "../Standard.hpp"
#include <utility>
#include <initializer_list>
namespace lw
{
template<class T, size_t SIZE>
class Array
{
private:
T m_pData[SIZE];
public:
constexpr Array()
: m_pData{}
{
}
constexpr Array(const std::initializer_list<T>& il)
{
static_assert(il.end() ... | 14.233333 | 64 | 0.569087 | LU15W1R7H |
f05afcaf3ed05ba253818a720fa5abcfd082bd35 | 261 | cc | C++ | test/mocks/grpc/mocks.cc | htuch/envoy | f466a86e4bba81c18f5b59f0c56ea36aa663e174 | [
"Apache-2.0"
] | 2 | 2017-07-31T15:03:19.000Z | 2018-02-20T16:18:49.000Z | test/mocks/grpc/mocks.cc | htuch/envoy | f466a86e4bba81c18f5b59f0c56ea36aa663e174 | [
"Apache-2.0"
] | null | null | null | test/mocks/grpc/mocks.cc | htuch/envoy | f466a86e4bba81c18f5b59f0c56ea36aa663e174 | [
"Apache-2.0"
] | null | null | null | #include "mocks.h"
namespace Envoy {
namespace Grpc {
MockRpcChannelCallbacks::MockRpcChannelCallbacks() {}
MockRpcChannelCallbacks::~MockRpcChannelCallbacks() {}
MockRpcChannel::MockRpcChannel() {}
MockRpcChannel::~MockRpcChannel() {}
} // Grpc
} // Envoy
| 18.642857 | 54 | 0.754789 | htuch |
f05e815d93655bacfc70fe1ce478ee32625984dd | 881 | cpp | C++ | src/functions.cpp | cbries/tetrisgl | a40f22140d05c2cf6116946459a99a0477c1569a | [
"MIT"
] | 1 | 2015-02-23T19:06:04.000Z | 2015-02-23T19:06:04.000Z | src/functions.cpp | cbries/tetrisgl | a40f22140d05c2cf6116946459a99a0477c1569a | [
"MIT"
] | null | null | null | src/functions.cpp | cbries/tetrisgl | a40f22140d05c2cf6116946459a99a0477c1569a | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2008 Christian Benjamin Ries
* License: MIT
* Website: https://github.com/cbries/tetrisgl
*/
#include "functions.h"
#include <GL/gl.h>
void Enter2DMode( int startx, int starty, int width, int height ) {
glPushAttrib(GL_ENABLE_BIT);
glDisable(GL_DEPTH_TEST);
glDisable(GL_CULL_FACE);
glDi... | 21.487805 | 92 | 0.702611 | cbries |
f0661040e34c42c182ca269d08eafe3d14b1291c | 1,350 | hpp | C++ | include/onepass/trackable.hpp | inql/OnePass | 6e24d6bd6bcb70fdac4de5e4a155fcea68ea85ef | [
"Unlicense"
] | 4 | 2021-10-20T17:40:33.000Z | 2022-02-14T09:39:46.000Z | include/onepass/trackable.hpp | inql/OnePass | 6e24d6bd6bcb70fdac4de5e4a155fcea68ea85ef | [
"Unlicense"
] | null | null | null | include/onepass/trackable.hpp | inql/OnePass | 6e24d6bd6bcb70fdac4de5e4a155fcea68ea85ef | [
"Unlicense"
] | null | null | null | #ifndef TRACKABLE_HPP
#define TRACKABLE_HPP
namespace onepass
{
namespace core
{
template<class T>
class Trackable
{
private:
unsigned id_;
time_t created_;
time_t accessed_;
friend class boost::serialization::access;
public:
T val_;
Trackable() : id_(0)
... | 19.285714 | 62 | 0.508889 | inql |
f06c0f25f37e1f31691505bc5a0f838dd83c8a8e | 48,489 | cpp | C++ | Temp/il2cppOutput/il2cppOutput/Il2CppCompilerCalculateTypeValues_19Table.cpp | 408794550/871AR | 3f903d01ae05522413f7be7abb286d1944d00bbb | [
"Apache-2.0"
] | 1 | 2018-08-16T10:43:30.000Z | 2018-08-16T10:43:30.000Z | Temp/il2cppOutput/il2cppOutput/Il2CppCompilerCalculateTypeValues_19Table.cpp | 408794550/871AR | 3f903d01ae05522413f7be7abb286d1944d00bbb | [
"Apache-2.0"
] | null | null | null | Temp/il2cppOutput/il2cppOutput/Il2CppCompilerCalculateTypeValues_19Table.cpp | 408794550/871AR | 3f903d01ae05522413f7be7abb286d1944d00bbb | [
"Apache-2.0"
] | null | null | null | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include "class-internals.h"
#include "codegen/il2cpp-codegen.h"
#include "UnityEngine_UI_UnityEngine_UI... | 54.789831 | 211 | 0.855761 | 408794550 |
f06ee92972823d6b60af68a5fc9664e81b799368 | 646 | hpp | C++ | test/split.hpp | ortfero/chineseroom | 6532df6af72f0ab7597e70e00c7f50c45af43c28 | [
"MIT"
] | null | null | null | test/split.hpp | ortfero/chineseroom | 6532df6af72f0ab7597e70e00c7f50c45af43c28 | [
"MIT"
] | null | null | null | test/split.hpp | ortfero/chineseroom | 6532df6af72f0ab7597e70e00c7f50c45af43c28 | [
"MIT"
] | null | null | null | #pragma once
#include <doctest/doctest.h>
#include <chineseroom/split.hpp>
TEST_CASE("splitting string '1,2,,3,'") {
auto const splitted = chineseroom::split(std::string{"1,2,,3,"}, ',');
REQUIRE(splitted.size() == 3);
REQUIRE(splitted[0] == "1");
REQUIRE(splitted[1] == "2");
REQUIRE(splitted[2] == "3");
}... | 23.925926 | 81 | 0.608359 | ortfero |
7eb7a059af5ad373bdf75c3559c30c7b4abc159a | 4,987 | cpp | C++ | source/Dream/Events/Source.cpp | kurocha/dream-events | b2cf5a188d8e3be2a07a5b7d36ed3eebc812cb72 | [
"MIT",
"Unlicense"
] | null | null | null | source/Dream/Events/Source.cpp | kurocha/dream-events | b2cf5a188d8e3be2a07a5b7d36ed3eebc812cb72 | [
"MIT",
"Unlicense"
] | null | null | null | source/Dream/Events/Source.cpp | kurocha/dream-events | b2cf5a188d8e3be2a07a5b7d36ed3eebc812cb72 | [
"MIT",
"Unlicense"
] | null | null | null | //
// Events/Source.cpp
// This file is part of the "Dream" project, and is released under the MIT license.
//
// Created by Samuel Williams on 9/12/08.
// Copyright (c) 2008 Samuel Williams. All rights reserved.
//
//
#include "Source.hpp"
#include "Loop.hpp"
#include <fcntl.h>
#include <iostream>
#include <un... | 22.263393 | 188 | 0.697814 | kurocha |
7ec43bb8d48251e102fd7ca0fb5c2e2e4e91bbc4 | 302 | cpp | C++ | dojo/first/06_coroutine_ts/main.cpp | adrianimboden/cppusergroup-adynchronous-programming | d6fad3ff980be2e7c13ed9e3e05b62e984c9caa4 | [
"MIT"
] | null | null | null | dojo/first/06_coroutine_ts/main.cpp | adrianimboden/cppusergroup-adynchronous-programming | d6fad3ff980be2e7c13ed9e3e05b62e984c9caa4 | [
"MIT"
] | null | null | null | dojo/first/06_coroutine_ts/main.cpp | adrianimboden/cppusergroup-adynchronous-programming | d6fad3ff980be2e7c13ed9e3e05b62e984c9caa4 | [
"MIT"
] | null | null | null | #include "http_client.h"
namespace coroutines_ts {
task<std::vector<std::string>>
request_uris(HttpClient& http_client,
const std::vector<std::string>& uris_to_request) {
(void)http_client;
(void)uris_to_request;
co_return std::vector<std::string>{{"42"}};
}
}
| 23.230769 | 63 | 0.652318 | adrianimboden |
7ec468508f106eac6bf99e10ec8bd756222a6851 | 1,165 | hpp | C++ | src/serial/SerialPlayer.hpp | stu-inc/DataCapture | d2bd01cd431867ec8372687542150391344022d6 | [
"MIT"
] | null | null | null | src/serial/SerialPlayer.hpp | stu-inc/DataCapture | d2bd01cd431867ec8372687542150391344022d6 | [
"MIT"
] | null | null | null | src/serial/SerialPlayer.hpp | stu-inc/DataCapture | d2bd01cd431867ec8372687542150391344022d6 | [
"MIT"
] | null | null | null | #pragma once
#include <QReadWriteLock>
#include <QSharedPointer>
#include <QThread>
#include <QtSerialPort>
class QFile;
class QElapsedTimer;
class SerialPlayer : public QThread {
public:
explicit SerialPlayer(QObject *parent = nullptr);
virtual ~SerialPlayer() override;
void start();
void stop();
void re... | 22.843137 | 52 | 0.771674 | stu-inc |
7ec85697288a121d2e81564097e612303ade086f | 1,049 | cpp | C++ | Ejercicio4Tema11/Ejercicio4Tema11/Rio.cpp | gejors55/Algorithm | 107d6cf4eb8fc7f4d0cebfe9b4e7b2811ac10533 | [
"MIT"
] | null | null | null | Ejercicio4Tema11/Ejercicio4Tema11/Rio.cpp | gejors55/Algorithm | 107d6cf4eb8fc7f4d0cebfe9b4e7b2811ac10533 | [
"MIT"
] | null | null | null | Ejercicio4Tema11/Ejercicio4Tema11/Rio.cpp | gejors55/Algorithm | 107d6cf4eb8fc7f4d0cebfe9b4e7b2811ac10533 | [
"MIT"
] | null | null | null | #include "Rio.h"
Rio::Rio() {}
float Rio::embalsado_pantano(const string& pantano) const {
return buscar_pantano(pantano).vol();
}
float Rio::embalsado_total() const {
DiccionarioHash<string, Pantano>::ConstIterator ipantano = _pantanos.cbegin();
DiccionarioHash<string, Pantano>::ConstIterator ifin ... | 29.971429 | 87 | 0.711153 | gejors55 |
7ece0d313e1768940414c5fe1f211ce55e1716ec | 18,342 | cpp | C++ | ccct.cpp | Taromati2/yaya-shiori | c49e3d4d03f167a8833f2e68810fb46dc33bac90 | [
"BSD-3-Clause"
] | null | null | null | ccct.cpp | Taromati2/yaya-shiori | c49e3d4d03f167a8833f2e68810fb46dc33bac90 | [
"BSD-3-Clause"
] | 2 | 2022-01-12T03:25:46.000Z | 2022-01-12T07:15:38.000Z | ccct.cpp | Taromati2/yaya-shiori | c49e3d4d03f167a8833f2e68810fb46dc33bac90 | [
"BSD-3-Clause"
] | null | null | null | //
// AYA version 5
//
// 文字コード変換クラス Ccct
//
// 変換部分のコードは以下のサイトで公開されているものを利用しております。
// class CUnicodeF
// kamoland
// http://kamoland.com/comp/unicode.html
//
#if defined(WIN32) || defined(_WIN32_WCE)
# include "stdafx.h"
#endif
#include <string.h>
#include <clocale>
#include <string>
#include... | 26.737609 | 104 | 0.522953 | Taromati2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.