hexsha stringlengths 40 40 | size int64 7 1.05M | ext stringclasses 13
values | lang stringclasses 1
value | max_stars_repo_path stringlengths 4 269 | max_stars_repo_name stringlengths 5 108 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 9 | max_stars_count int64 1 191k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 4 269 | max_issues_repo_name stringlengths 5 116 | max_issues_repo_head_hexsha stringlengths 40 40 | max_issues_repo_licenses listlengths 1 9 | max_issues_count int64 1 67k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 4 269 | max_forks_repo_name stringlengths 5 116 | max_forks_repo_head_hexsha stringlengths 40 40 | max_forks_repo_licenses listlengths 1 9 | max_forks_count int64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 7 1.05M | avg_line_length float64 1.21 330k | max_line_length int64 6 990k | alphanum_fraction float64 0.01 0.99 | author_id stringlengths 2 40 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1cf4de7d0607d40a8af627f859f668dddcd71d44 | 13,332 | cpp | C++ | WebKit/Source/WebCore/html/shadow/SliderThumbElement.cpp | JavaScriptTesting/LJS | 9818dbdb421036569fff93124ac2385d45d01c3a | [
"Apache-2.0"
] | 1 | 2019-06-18T06:52:54.000Z | 2019-06-18T06:52:54.000Z | WebKit/Source/WebCore/html/shadow/SliderThumbElement.cpp | JavaScriptTesting/LJS | 9818dbdb421036569fff93124ac2385d45d01c3a | [
"Apache-2.0"
] | null | null | null | WebKit/Source/WebCore/html/shadow/SliderThumbElement.cpp | JavaScriptTesting/LJS | 9818dbdb421036569fff93124ac2385d45d01c3a | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
* Copyright (C) 2010 Google 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:
*
* * Redistributions of sour... | 34.272494 | 126 | 0.704845 | JavaScriptTesting |
1cf7a1559aae83b8a8fd1054dd02842bf6d4b59e | 16,956 | cpp | C++ | jni/events/basesynthevent.cpp | scottmccain/MWEngine | e8aa3e37a7c9d0cc3198081d12e3342fe227af3c | [
"MIT"
] | null | null | null | jni/events/basesynthevent.cpp | scottmccain/MWEngine | e8aa3e37a7c9d0cc3198081d12e3342fe227af3c | [
"MIT"
] | null | null | null | jni/events/basesynthevent.cpp | scottmccain/MWEngine | e8aa3e37a7c9d0cc3198081d12e3342fe227af3c | [
"MIT"
] | null | null | null | /**
* The MIT License (MIT)
*
* Copyright (c) 2013-2014 Igor Zinken - http://www.igorski.nl
*
* 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.297143 | 121 | 0.630573 | scottmccain |
1cf9552c81aebe439df5d6232a43a2b649d91b46 | 286 | cpp | C++ | events/DisconnectPlayerEvent.cpp | deb0ch/R-Type | 8bb37cd5ec318efb97119afb87d4996f6bb7644e | [
"WTFPL"
] | 5 | 2016-03-15T20:14:10.000Z | 2020-10-30T23:56:24.000Z | events/DisconnectPlayerEvent.cpp | deb0ch/R-Type | 8bb37cd5ec318efb97119afb87d4996f6bb7644e | [
"WTFPL"
] | 3 | 2018-12-19T19:12:44.000Z | 2020-04-02T13:07:00.000Z | events/DisconnectPlayerEvent.cpp | deb0ch/R-Type | 8bb37cd5ec318efb97119afb87d4996f6bb7644e | [
"WTFPL"
] | 2 | 2016-04-11T19:29:28.000Z | 2021-11-26T20:53:22.000Z | #include "DisconnectPlayerEvent.hh"
DisconnectPlayerEvent::DisconnectPlayerEvent(unsigned int hash) : AEvent("DisconnectPlayerEvent"), _hash(hash)
{}
DisconnectPlayerEvent::~DisconnectPlayerEvent()
{}
unsigned int DisconnectPlayerEvent::getRemoteId() const
{
return this->_hash;
}
| 22 | 110 | 0.797203 | deb0ch |
7f2e9d5841d3e43121f5aa0cadb8d9ff159623bb | 788 | cpp | C++ | src/Server/Ph0enix-Server/Agent.cpp | SKGP/EDR | da4cb02afe164d38014a3616e7cff8e71ce56965 | [
"MIT"
] | 6 | 2021-05-23T13:26:23.000Z | 2021-07-27T08:11:29.000Z | src/Server/Ph0enix-Server/Agent.cpp | SKGP/EDR | da4cb02afe164d38014a3616e7cff8e71ce56965 | [
"MIT"
] | null | null | null | src/Server/Ph0enix-Server/Agent.cpp | SKGP/EDR | da4cb02afe164d38014a3616e7cff8e71ce56965 | [
"MIT"
] | 1 | 2021-05-29T06:22:34.000Z | 2021-05-29T06:22:34.000Z | #include "Agent.h"
Agent::Agent()
{
}
Agent::~Agent()
{
}
std::string Agent::getIp()
{
return this->ip;
}
std::string Agent::getMac()
{
return this->mac;
}
std::string Agent::getHostName()
{
return this->hostName;
}
int Agent::getReputation()
{
return this->reputation;
}
SOCKET Agent::getsocket()
{
return t... | 11.257143 | 45 | 0.668782 | SKGP |
7f37d226759fb210eac85a515d9f71aaa5253726 | 971 | cpp | C++ | CodeInterviews-SwordOffer/Offer41-Median-of-Dataflow/solution1.cpp | loyio/leetcode | 366393c29a434a621592ef6674a45795a3086184 | [
"CC0-1.0"
] | null | null | null | CodeInterviews-SwordOffer/Offer41-Median-of-Dataflow/solution1.cpp | loyio/leetcode | 366393c29a434a621592ef6674a45795a3086184 | [
"CC0-1.0"
] | null | null | null | CodeInterviews-SwordOffer/Offer41-Median-of-Dataflow/solution1.cpp | loyio/leetcode | 366393c29a434a621592ef6674a45795a3086184 | [
"CC0-1.0"
] | 2 | 2022-01-25T05:31:31.000Z | 2022-02-26T07:22:23.000Z | class MedianFinder {
public:
priority_queue<int, vector<int>, less<int>> maxHeap;
priority_queue<int, vector<int>, greater<int>> minHeap;
/** initialize your data structure here. */
MedianFinder() {
}
void addNum(int num) {
if(maxHeap.size() == minHeap.size()){
minHeap.... | 24.897436 | 68 | 0.530381 | loyio |
7f3bbb1b1b870b6214b4494887e9b7170561a50c | 833 | hpp | C++ | genfile/include/genfile/SNPPositionInRangeTest.hpp | gavinband/bingwa | d52e166b3bb6bc32cd32ba63bf8a4a147275eca1 | [
"BSL-1.0"
] | 3 | 2021-04-21T05:42:24.000Z | 2022-01-26T14:59:43.000Z | genfile/include/genfile/SNPPositionInRangeTest.hpp | gavinband/bingwa | d52e166b3bb6bc32cd32ba63bf8a4a147275eca1 | [
"BSL-1.0"
] | 2 | 2020-04-09T16:11:04.000Z | 2020-11-10T11:18:56.000Z | genfile/include/genfile/SNPPositionInRangeTest.hpp | gavinband/qctool | 8d8adb45151c91f953fe4a9af00498073b1132ba | [
"BSL-1.0"
] | null | null | null |
// Copyright Gavin Band 2008 - 2012.
// 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 SNPPOSITIONINRANGETEST_HPP
#define SNPPOSITIONINRANGETEST_HPP
#include <set>
#include <string>
... | 28.724138 | 70 | 0.757503 | gavinband |
7f3e0af4fd178c06656c65fe128efe2248347a09 | 2,303 | hh | C++ | gazebo/rendering/LensFlare.hh | traversaro/gazebo | 6fd426b3949c4ca73fa126cde68f5cc4a59522eb | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2021-09-04T07:42:58.000Z | 2021-10-01T07:00:46.000Z | gazebo/rendering/LensFlare.hh | traversaro/gazebo | 6fd426b3949c4ca73fa126cde68f5cc4a59522eb | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2020-06-04T10:26:04.000Z | 2020-06-04T10:26:04.000Z | gazebo/rendering/LensFlare.hh | traversaro/gazebo | 6fd426b3949c4ca73fa126cde68f5cc4a59522eb | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2019-11-10T07:19:09.000Z | 2019-11-21T19:11:11.000Z | /*
* Copyright (C) 2017 Open Source Robotics Foundation
*
* 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 appl... | 30.302632 | 80 | 0.689101 | traversaro |
7f4409bb279d27d75306c5fd42d79a9bbf3143eb | 1,894 | cpp | C++ | src/allocation_wrapper.cpp | falcon-computing/bwa-flow | e710e7d06e4e1f2d69490e408a73af04a11b79de | [
"Apache-2.0"
] | null | null | null | src/allocation_wrapper.cpp | falcon-computing/bwa-flow | e710e7d06e4e1f2d69490e408a73af04a11b79de | [
"Apache-2.0"
] | null | null | null | src/allocation_wrapper.cpp | falcon-computing/bwa-flow | e710e7d06e4e1f2d69490e408a73af04a11b79de | [
"Apache-2.0"
] | null | null | null | #include <stdlib.h> /* Avoid breaking the usual definitions */
#include <stdio.h>
#include <string.h>
#include <stdexcept>
#include <errno.h>
#include <glog/logging.h>
#include "allocation_wrapper.h"
#ifdef calloc
# undef calloc
#endif
void *calloc_wrapper(size_t nmemb, size_t size, const char *file, unsigned int l... | 25.945205 | 104 | 0.653643 | falcon-computing |
7f4a041a282e53a4b2bf70ace30f418d40c181ab | 1,521 | cc | C++ | src/q_251_300/q0283.cc | vNaonLu/daily-leetcode | 2830c2cd413d950abe7c6d9b833c771f784443b0 | [
"MIT"
] | 2 | 2021-09-28T18:41:03.000Z | 2021-09-28T18:42:57.000Z | src/q_251_300/q0283.cc | vNaonLu/Daily_LeetCode | 30024b561611d390931cef1b22afd6a5060cf586 | [
"MIT"
] | 16 | 2021-09-26T11:44:20.000Z | 2021-11-28T06:44:02.000Z | src/q_251_300/q0283.cc | vNaonLu/daily-leetcode | 2830c2cd413d950abe7c6d9b833c771f784443b0 | [
"MIT"
] | 1 | 2021-11-22T09:11:36.000Z | 2021-11-22T09:11:36.000Z | #include <gtest/gtest.h>
#include <iostream>
#include <vector>
using namespace std;
/**
* This file is generated by leetcode_add.py v1.0
*
* 283.
* Move Zeroes
*
* ––––––––––––––––––––––––––––– Description –––––––––––––––––––––––––––––
*
* Given an integer array ‘nums’ , move all ‘0’ 's to the end of i... | 23.4 | 75 | 0.543064 | vNaonLu |
7f4f0c4c4540f7d0e805f59e01bccc6884ead5b3 | 1,911 | cpp | C++ | Logger.cpp | ufix-performance/ufix | 220f00bfced2c9dd31e51d2f6d7ce9d7d3edf0bb | [
"Apache-2.0"
] | null | null | null | Logger.cpp | ufix-performance/ufix | 220f00bfced2c9dd31e51d2f6d7ce9d7d3edf0bb | [
"Apache-2.0"
] | null | null | null | Logger.cpp | ufix-performance/ufix | 220f00bfced2c9dd31e51d2f6d7ce9d7d3edf0bb | [
"Apache-2.0"
] | null | null | null | #include <execinfo.h>
#include "Logger.h"
#include "utils.h"
#include "constants.h"
namespace ufix {
Logger::Logger() {
reset();
}
void Logger::reset() {
log_file = NULL;
}
void Logger::set_log_file(FILE * file) {
if (log_file == NULL) {
log_file = file;
}
}
void Logger:... | 22.75 | 81 | 0.577185 | ufix-performance |
7f53e434568b0723e58ecb4111a2a05c383f41be | 2,902 | cpp | C++ | loader.cpp | fuadsaud/objviewer | 56d1e427319ac706d80adb6b1675986839b4ccb6 | [
"MIT"
] | 1 | 2017-03-09T21:46:37.000Z | 2017-03-09T21:46:37.000Z | loader.cpp | fuadsaud/objviewer | 56d1e427319ac706d80adb6b1675986839b4ccb6 | [
"MIT"
] | null | null | null | loader.cpp | fuadsaud/objviewer | 56d1e427319ac706d80adb6b1675986839b4ccb6 | [
"MIT"
] | null | null | null | #include "loader.h"
obj::loader::loader(std::string p) {
path = p.c_str();
}
void obj::loader::load(obj::mesh * m) {
std::ifstream in(path.c_str());
obj::group * g = new obj::group();
m->push_group(g);
obj::vertex * v;
obj::vertex2 * t;
obj::face * face;
std::vector<std::string> f;
... | 28.732673 | 69 | 0.334941 | fuadsaud |
7f540df80152a6685c264bbf2d069c73c6e025d3 | 5,830 | cpp | C++ | src/Ihm/colorline.cpp | grea09/dirige | cffd6f1b2d993d7e49b54c6da59ae03b1346c01b | [
"MIT"
] | 1 | 2015-12-26T08:20:50.000Z | 2015-12-26T08:20:50.000Z | src/Ihm/colorline.cpp | grea09/dirige | cffd6f1b2d993d7e49b54c6da59ae03b1346c01b | [
"MIT"
] | null | null | null | src/Ihm/colorline.cpp | grea09/dirige | cffd6f1b2d993d7e49b54c6da59ae03b1346c01b | [
"MIT"
] | null | null | null | /****************************************************************************
**
** Copyright 2010 Antoine GRÉA <grea09@gmail.com>
**
** $QT_BEGIN_LICENSE:LGPL$
** 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
** ... | 21.355311 | 111 | 0.66295 | grea09 |
7f54503df223b72945a5ec38fb4c399f5d40dc5c | 45,452 | cpp | C++ | src/game/g_script.cpp | jumptohistory/jaymod | 92d0a0334ac27da94b12280b0b42b615b8813c23 | [
"Apache-2.0"
] | 25 | 2016-05-27T11:53:58.000Z | 2021-10-17T00:13:41.000Z | src/game/g_script.cpp | jumptohistory/jaymod | 92d0a0334ac27da94b12280b0b42b615b8813c23 | [
"Apache-2.0"
] | 1 | 2016-07-09T05:25:03.000Z | 2016-07-09T05:25:03.000Z | src/game/g_script.cpp | jumptohistory/jaymod | 92d0a0334ac27da94b12280b0b42b615b8813c23 | [
"Apache-2.0"
] | 16 | 2016-05-28T23:06:50.000Z | 2022-01-26T13:47:12.000Z | //===========================================================================
//
// Name: g_script.c
// Function: Wolfenstein Entity Scripting
// Programmer: Ridah
// Tab Size: 4 (real tabs)
//===========================================================================
#include <bgame/impl.h>
#include <omnibot/et/... | 33.543911 | 272 | 0.691037 | jumptohistory |
7f55ee3e5aaeda93228401f6811366967ffaffd7 | 3,100 | cc | C++ | source/driver.cc | chinmaygarde/epoxy | 17cddb751e25c75b54da66932d2d64722cffc8b8 | [
"MIT"
] | 4 | 2020-07-09T04:58:14.000Z | 2021-09-11T03:56:22.000Z | source/driver.cc | chinmaygarde/epoxy | 17cddb751e25c75b54da66932d2d64722cffc8b8 | [
"MIT"
] | null | null | null | source/driver.cc | chinmaygarde/epoxy | 17cddb751e25c75b54da66932d2d64722cffc8b8 | [
"MIT"
] | null | null | null | // This source file is part of Epoxy licensed under the MIT License.
// See LICENSE.md file for details.
#include "driver.h"
#include "file.h"
#include "scanner.h"
#include <algorithm>
#include <iostream>
#include <sstream>
#include <string>
namespace epoxy {
Driver::Driver(std::string advisory_file_name)
: ad... | 26.271186 | 78 | 0.653548 | chinmaygarde |
7f586f305b5d2239aa813c14cf9ae04586a1a575 | 642 | cpp | C++ | tests/uit/setup/InterProcAddress.cpp | perryk12/conduit | 3ea055312598353afd465536c8e04cdec1111c8c | [
"MIT"
] | null | null | null | tests/uit/setup/InterProcAddress.cpp | perryk12/conduit | 3ea055312598353afd465536c8e04cdec1111c8c | [
"MIT"
] | 1 | 2020-10-22T20:41:05.000Z | 2020-10-22T20:41:05.000Z | tests/uit/setup/InterProcAddress.cpp | perryk12/conduit | 3ea055312598353afd465536c8e04cdec1111c8c | [
"MIT"
] | null | null | null | #include <set>
#define CATCH_CONFIG_MAIN
#define CATCH_CONFIG_DEFAULT_REPORTER "multiprocess"
#include "Catch/single_include/catch2/catch.hpp"
#include "uitsl/debug/MultiprocessReporter.hpp"
#include "uitsl/mpi/MpiGuard.hpp"
#include "uit/setup/InterProcAddress.hpp"
const uitsl::MpiGuard guard;
TEST_CASE("Test Int... | 24.692308 | 68 | 0.744548 | perryk12 |
7f5b31585be667553afca635d75d39fdc2c980ee | 2,581 | cc | C++ | cdrs/src/model/PaginateProjectRequest.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 89 | 2018-02-02T03:54:39.000Z | 2021-12-13T01:32:55.000Z | cdrs/src/model/PaginateProjectRequest.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 89 | 2018-03-14T07:44:54.000Z | 2021-11-26T07:43:25.000Z | cdrs/src/model/PaginateProjectRequest.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 69 | 2018-01-22T09:45:52.000Z | 2022-03-28T07:58:38.000Z | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | 24.121495 | 75 | 0.748935 | aliyun |
7f5e9068af284cba93236e3803fe9c4ec8371fe6 | 8,691 | cpp | C++ | Source/MIVIBridge/Private/MIVICharacterBase.cpp | DrowningDragons/MIVIBridge | 07fe752958b370d649d42ddf9f50cdcf089a31ad | [
"MIT"
] | 1 | 2021-12-30T13:14:06.000Z | 2021-12-30T13:14:06.000Z | Source/MIVIBridge/Private/MIVICharacterBase.cpp | DrowningDragons/MIVIBridge | 07fe752958b370d649d42ddf9f50cdcf089a31ad | [
"MIT"
] | null | null | null | Source/MIVIBridge/Private/MIVICharacterBase.cpp | DrowningDragons/MIVIBridge | 07fe752958b370d649d42ddf9f50cdcf089a31ad | [
"MIT"
] | 1 | 2022-01-04T01:11:04.000Z | 2022-01-04T01:11:04.000Z | // Copyright (c) 2019-2021 Drowning Dragons Limited. All Rights Reserved.
#include "MIVICharacterBase.h"
#include "Net/UnrealNetwork.h"
#include "GameFramework/CharacterMovementComponent.h"
#include "Pawn/VIPawnVaultComponent.h"
#include "VIMotionWarpingComponent.h"
#include "Components/CapsuleComponent.h"
#include "... | 28.035484 | 191 | 0.741457 | DrowningDragons |
7f67a6f21326776d182f36bc7f4f77e9a121e7c7 | 417 | cpp | C++ | src/Data/TSWXResultsDT.cpp | pavanad/language-tools | e431f547161583b17046aa2952bd0bd435842155 | [
"MIT"
] | 3 | 2018-08-16T20:15:42.000Z | 2021-06-13T06:47:06.000Z | src/Data/TSWXResultsDT.cpp | pavanad/language-tools | e431f547161583b17046aa2952bd0bd435842155 | [
"MIT"
] | null | null | null | src/Data/TSWXResultsDT.cpp | pavanad/language-tools | e431f547161583b17046aa2952bd0bd435842155 | [
"MIT"
] | 2 | 2018-07-24T19:13:29.000Z | 2019-04-06T17:36:18.000Z | //---------------------------------------------------------------------------
#pragma hdrstop
#include "TSWXResultsDT.h"
#pragma package(smart_init)
//---------------------------------------------------------------------------
void TSWXResultsDT::SetData(int files, int nodes,
std::vector< std::vect... | 24.529412 | 78 | 0.419664 | pavanad |
7f6e4c8cff0c521e2d3a2ae6da9d2c139c8f39e2 | 694 | cpp | C++ | src/jobSystem/private/jobystem/job.cpp | PierreEVEN/HeadlessEngine | 95ffef8a7a71c5bb6e806a96c39e88cfc24311a9 | [
"MIT"
] | 2 | 2021-07-12T08:58:49.000Z | 2021-09-04T10:31:04.000Z | src/jobSystem/private/jobystem/job.cpp | PierreEVEN/TestFlightSimulator | 95ffef8a7a71c5bb6e806a96c39e88cfc24311a9 | [
"MIT"
] | 1 | 2021-10-11T13:09:32.000Z | 2021-10-11T13:09:32.000Z | src/jobSystem/private/jobystem/job.cpp | PierreEVEN/HeadlessEngine | 95ffef8a7a71c5bb6e806a96c39e88cfc24311a9 | [
"MIT"
] | null | null | null |
#include "jobSystem/job.h"
#include <memory>
namespace job_system {
int64_t stat_awaiting_jobs = 0;
int64_t stat_total_job = 0;
std::shared_ptr<IJobTask> IJobTask::find_current_parent_task()
{
if (Worker* worker = Worker::get())
{
return worker->get_current_task();
}
return nullptr;
}
int64_t I... | 14.765957 | 63 | 0.714697 | PierreEVEN |
7f6e5b03489a33cdc086f784b03c8ca232778bd7 | 650 | hpp | C++ | libs/core/include/fcppt/math/matrix/row_type_fwd.hpp | pmiddend/fcppt | 9f437acbb10258e6df6982a550213a05815eb2be | [
"BSL-1.0"
] | null | null | null | libs/core/include/fcppt/math/matrix/row_type_fwd.hpp | pmiddend/fcppt | 9f437acbb10258e6df6982a550213a05815eb2be | [
"BSL-1.0"
] | null | null | null | libs/core/include/fcppt/math/matrix/row_type_fwd.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_MATH_MATRIX_ROW_TYPE_FWD_HPP_INCLUDED
#define FCPPT_MATH_MATRIX_ROW_TYPE_FWD_HPP_INC... | 15.116279 | 61 | 0.730769 | pmiddend |
7f775ab97dd4795f51ff1b3337b80a6491ae4f92 | 1,857 | hpp | C++ | Document.hpp | chrisoldwood/XML | 78913e7b9fbc1fbfec3779652d034ebd150668bc | [
"MIT"
] | 1 | 2020-09-11T13:21:05.000Z | 2020-09-11T13:21:05.000Z | Document.hpp | chrisoldwood/XML | 78913e7b9fbc1fbfec3779652d034ebd150668bc | [
"MIT"
] | null | null | null | Document.hpp | chrisoldwood/XML | 78913e7b9fbc1fbfec3779652d034ebd150668bc | [
"MIT"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
//! \file Document.hpp
//! \brief The Document class declaration.
//! \author Chris Oldwood
// Check for previous inclusion
#ifndef XML_DOCUMENT_HPP
#define XML_DOCUMENT_HPP
#if _MSC_VER > 1000
#pragma once
#endif
#include "Node.hpp"... | 19.967742 | 80 | 0.558966 | chrisoldwood |
7f797dcf0d1a76d2e63ebbe386faf815b89f7b12 | 7,040 | hpp | C++ | include/UnityEngine/Timeline/ControlPlayableAsset_-GetControlableScripts-d__39.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | include/UnityEngine/Timeline/ControlPlayableAsset_-GetControlableScripts-d__39.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | include/UnityEngine/Timeline/ControlPlayableAsset_-GetControlableScripts-d__39.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
// Including type: UnityEngine.Timeline.ControlPlayableAsset
#include "UnityEngine/Timeline/Cont... | 54.573643 | 489 | 0.742898 | darknight1050 |
7f7de4f5b9fb796b3548a3e2ce282d8e0d96279e | 1,944 | cpp | C++ | src/human.cpp | Groogy/derelict | 5ca82ae5a5a553e292e388706a27b53840cf3afa | [
"Zlib"
] | null | null | null | src/human.cpp | Groogy/derelict | 5ca82ae5a5a553e292e388706a27b53840cf3afa | [
"Zlib"
] | null | null | null | src/human.cpp | Groogy/derelict | 5ca82ae5a5a553e292e388706a27b53840cf3afa | [
"Zlib"
] | null | null | null | #include "human.hpp"
#include "tile.hpp"
#include "terrain.hpp"
#include "earth.hpp"
#include "tilemap.hpp"
#include "settler.hpp"
constexpr int TicksPerSettlement = 40;
Human::Human(sf::Vector2i settlement)
{
mySettlements.push_back(settlement);
nTimeToGrowth = TicksPerSettlement;
}
void Human::update(Earth& eart... | 21.6 | 76 | 0.705761 | Groogy |
7f7e56d5a52cb4499f999a3994d5b85b07734b44 | 3,453 | cpp | C++ | code archive/joi/2019-sp-day3 pC.cpp | brianbbsu/program | c4505f2b8c0b91010e157db914a63c49638516bc | [
"MIT"
] | 4 | 2018-04-08T08:07:58.000Z | 2021-06-07T14:55:24.000Z | code archive/joi/2019-sp-day3 pC.cpp | brianbbsu/program | c4505f2b8c0b91010e157db914a63c49638516bc | [
"MIT"
] | null | null | null | code archive/joi/2019-sp-day3 pC.cpp | brianbbsu/program | c4505f2b8c0b91010e157db914a63c49638516bc | [
"MIT"
] | 1 | 2018-10-29T12:37:25.000Z | 2018-10-29T12:37:25.000Z | //{
#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef double lf;
typedef pair<ll,ll> ii;
#define REP(i,n) for(ll i=0;i<n;i++)
#define REP1(i,n) for(ll i=1;i<=n;i++)
#define FILL(i,n) memset(i,n,sizeof i)
#define X first
#define Y second
#define SZ(_a) (int)_a.size()
#define ALL(_a) _a.begin(),_... | 25.768657 | 129 | 0.504489 | brianbbsu |
7f856f4c3a4036ac8066fbfdb77d87c861bcaa8f | 7,964 | cpp | C++ | compiler/src/ast/stmt/ast_flow_codegen.cpp | TuplexLanguage/tuplex | fc436c78224522663e40e09d36f83570fd76ba2d | [
"Apache-2.0"
] | 15 | 2017-08-15T20:46:44.000Z | 2021-12-15T02:51:13.000Z | compiler/src/ast/stmt/ast_flow_codegen.cpp | TuplexLanguage/tuplex | fc436c78224522663e40e09d36f83570fd76ba2d | [
"Apache-2.0"
] | null | null | null | compiler/src/ast/stmt/ast_flow_codegen.cpp | TuplexLanguage/tuplex | fc436c78224522663e40e09d36f83570fd76ba2d | [
"Apache-2.0"
] | 1 | 2017-09-28T14:48:15.000Z | 2017-09-28T14:48:15.000Z | #include "ast_flow.hpp"
#include "ast/expr/ast_ref.hpp"
#include "llvm_generator.hpp"
#include "parsercontext.hpp"
using namespace llvm;
Value* TxCondClauseNode::code_gen_cond( LlvmGenerationContext& context, GenScope* scope ) const {
return this->condExpr->code_gen_expr( context, scope );
}
Value* TxIsClauseN... | 44 | 125 | 0.669513 | TuplexLanguage |
7f8d846f514f4a917304cc8aed37c5fb0b9a7180 | 21,379 | hpp | C++ | Lib/Chip/CM0/NXP/LPC800_v0.3/SWM.hpp | cjsmeele/Kvasir | c8d2acd8313ae52d78259ee2d409b963925f77d7 | [
"Apache-2.0"
] | 376 | 2015-07-17T01:41:20.000Z | 2022-03-26T04:02:49.000Z | Lib/Chip/CM0/NXP/LPC800_v0.3/SWM.hpp | cjsmeele/Kvasir | c8d2acd8313ae52d78259ee2d409b963925f77d7 | [
"Apache-2.0"
] | 59 | 2015-07-03T21:30:13.000Z | 2021-03-05T11:30:08.000Z | Lib/Chip/CM0/NXP/LPC800_v0.3/SWM.hpp | cjsmeele/Kvasir | c8d2acd8313ae52d78259ee2d409b963925f77d7 | [
"Apache-2.0"
] | 53 | 2015-07-14T12:17:06.000Z | 2021-06-04T07:28:40.000Z | #pragma once
#include <Register/Utility.hpp>
namespace Kvasir {
//Switch matrix (SWM)
namespace SwmPinassign0{ ///<Pin assign register 0. Assign movable functions U0_TXD, U0_RXD, U0_RTS, U0_CTS
using Addr = Register::Address<0x4000c000,0x00000000,0x00000000,unsigned>;
///U0_TXD function assignme... | 106.895 | 364 | 0.730249 | cjsmeele |
7f8e15d29a1ba83e5bd1bdf02af3b85368fb2b89 | 16,297 | cc | C++ | nugen/EventGeneratorBase/test/EventGeneratorTest_module.cc | nusense/nugen | ee4fefda7f2aa5e5ca8ee9c741f07bd3dbef2ed7 | [
"Apache-2.0"
] | null | null | null | nugen/EventGeneratorBase/test/EventGeneratorTest_module.cc | nusense/nugen | ee4fefda7f2aa5e5ca8ee9c741f07bd3dbef2ed7 | [
"Apache-2.0"
] | null | null | null | nugen/EventGeneratorBase/test/EventGeneratorTest_module.cc | nusense/nugen | ee4fefda7f2aa5e5ca8ee9c741f07bd3dbef2ed7 | [
"Apache-2.0"
] | null | null | null | ////////////////////////////////////////////////////////////////////////
//
// brebel@fnal.gov
//
////////////////////////////////////////////////////////////////////////
#ifndef EVGEN_TEST_H
#define EVGEN_TEST_H
#include <cstdlib>
#include <string>
#include <sstream>
#include <vector>
#include <map>
#include <unistd.... | 32.080709 | 114 | 0.63932 | nusense |
7f92e43c34d995bd5d9fc6cbd8abf11bf6e52483 | 605 | hpp | C++ | framework/pipeline/StandardLine.hpp | FeiGeChuanShu/TengineFactory | 89524b8edc3fb6d00f60f12ebfcfdea985639e03 | [
"Apache-2.0"
] | 1 | 2021-09-30T05:44:57.000Z | 2021-09-30T05:44:57.000Z | framework/pipeline/StandardLine.hpp | FeiGeChuanShu/TengineFactory | 89524b8edc3fb6d00f60f12ebfcfdea985639e03 | [
"Apache-2.0"
] | null | null | null | framework/pipeline/StandardLine.hpp | FeiGeChuanShu/TengineFactory | 89524b8edc3fb6d00f60f12ebfcfdea985639e03 | [
"Apache-2.0"
] | null | null | null | #ifndef STANDARDLINE_HPP
#define STANDARDLINE_HPP
#include <iostream>
#include "LineBase.hpp"
#include "Dataset.hpp"
#include "ImageDispose.hpp"
#include <memory>
namespace TFactory {
class StandardLine : public LineBase
{
private:
Anchor anchor;
public:
StandardLine();
void onCreate();
void onPreProc... | 20.862069 | 103 | 0.700826 | FeiGeChuanShu |
7f93fb42d8ce71aee849da1cf06307bd605998e5 | 42,312 | cc | C++ | chrome/android/features/cablev2_authenticator/native/cablev2_authenticator_android.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/android/features/cablev2_authenticator/native/cablev2_authenticator_android.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/android/features/cablev2_authenticator/native/cablev2_authenticator_android.cc | sarang-apps/darshan_browser | 173649bb8a7c656dc60784d19e7bb73e07c20daa | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/android/jni_array.h"
#include "base/android/jni_string.h"
#include "base/base64url.h"
#include "base/memory/singleton.h"
#include "base/num... | 37.610667 | 127 | 0.632917 | sarang-apps |
7f944db347c15c981a63e0a15a596c8313f8c51b | 14,703 | cpp | C++ | rcff/src/RCF/ProxyEndpointService.cpp | DayBreakZhang/CXKJ_Code | c7caab736313f029324f1c95714f5a94b2589076 | [
"Apache-2.0"
] | null | null | null | rcff/src/RCF/ProxyEndpointService.cpp | DayBreakZhang/CXKJ_Code | c7caab736313f029324f1c95714f5a94b2589076 | [
"Apache-2.0"
] | null | null | null | rcff/src/RCF/ProxyEndpointService.cpp | DayBreakZhang/CXKJ_Code | c7caab736313f029324f1c95714f5a94b2589076 | [
"Apache-2.0"
] | null | null | null |
//******************************************************************************
// RCF - Remote Call Framework
//
// Copyright (c) 2005 - 2019, Delta V Software. All rights reserved.
// http://www.deltavsoft.com
//
// RCF is distributed under dual licenses - closed source or GPL.
// Consult your particular license fo... | 32.172867 | 129 | 0.551384 | DayBreakZhang |
7f951de3a0212335bbfa9fd50ca013c91ad3dc04 | 309 | hpp | C++ | visr_bear/src/sh_rotation.hpp | ebu/bear | 0e4c4f33dfaea9b7c64991515177eb2099887a5a | [
"Apache-2.0"
] | 14 | 2022-02-01T16:28:53.000Z | 2022-02-11T11:24:59.000Z | visr_bear/src/sh_rotation.hpp | ebu/bear | 0e4c4f33dfaea9b7c64991515177eb2099887a5a | [
"Apache-2.0"
] | 1 | 2022-03-03T06:49:47.000Z | 2022-03-15T13:10:43.000Z | visr_bear/src/sh_rotation.hpp | ebu/bear | 0e4c4f33dfaea9b7c64991515177eb2099887a5a | [
"Apache-2.0"
] | null | null | null | #pragma once
#include <Eigen/Core>
#include <Eigen/Geometry>
#include <vector>
namespace bear {
void quaternion_to_sh_rotation_matrix(const Eigen::Quaterniond &q,
int order,
Eigen::Ref<Eigen::MatrixXd> sh_mat);
} // namespace bear
| 28.090909 | 74 | 0.576052 | ebu |
7f9788e5cb772ba1fec0b090ca6bbe9dbc5eaa65 | 2,276 | cpp | C++ | homework/Petriaikin/05/main.cpp | mtrempoltsev/msu_cpp_autumn_2017 | 0e87491dc117670b99d2ca2f7e1c5efbc425ae1c | [
"MIT"
] | 10 | 2017-09-21T15:17:33.000Z | 2021-01-11T13:11:55.000Z | homework/Petriaikin/05/main.cpp | mtrempoltsev/msu_cpp_autumn_2017 | 0e87491dc117670b99d2ca2f7e1c5efbc425ae1c | [
"MIT"
] | null | null | null | homework/Petriaikin/05/main.cpp | mtrempoltsev/msu_cpp_autumn_2017 | 0e87491dc117670b99d2ca2f7e1c5efbc425ae1c | [
"MIT"
] | 22 | 2017-09-21T15:45:08.000Z | 2019-02-21T19:15:25.000Z | #include "Matrix.h"
#include "Matrix.hpp"
#include <time.h>
//========================================================================
#define ERROR_CODE 1
#define COUNT_TESTS 10
#define MAX_DIM 100
#define MAX_RAND 10000
#define COUNT_IN_SUM 10
#define RANDOM_T ((T) (rand()%MAX_RAND))
//=========================... | 19.964912 | 74 | 0.580404 | mtrempoltsev |
7f99c07d03ffe2b654eb52a9992b601116452f86 | 2,258 | cpp | C++ | source/engine/gui/GeometryBufferGUI.cpp | compix/Monte-Carlo-Raytracer | f27842c40dd380aee78f1579873341ad6cfe0834 | [
"MIT"
] | 3 | 2018-09-23T03:12:36.000Z | 2021-12-01T08:30:43.000Z | source/engine/gui/GeometryBufferGUI.cpp | compix/Monte-Carlo-Raytracer | f27842c40dd380aee78f1579873341ad6cfe0834 | [
"MIT"
] | null | null | null | source/engine/gui/GeometryBufferGUI.cpp | compix/Monte-Carlo-Raytracer | f27842c40dd380aee78f1579873341ad6cfe0834 | [
"MIT"
] | 1 | 2018-09-19T01:49:24.000Z | 2018-09-19T01:49:24.000Z | #include "GeometryBufferGUI.h"
#include "GUI.h"
#include "../globals.h"
#include <GL/glew.h>
#include "../rendering/architecture/RenderPipeline.h"
GeometryBufferGUI::GeometryBufferGUI()
{
window.open = false;
window.minSize = ImVec2(250, 250);
}
void GeometryBufferGUI::update()
{
if (window.open)
{
window.begin... | 28.225 | 112 | 0.721878 | compix |
7f9d899b0d084cbeeab5dad71ea423b86ff3edea | 22,460 | cpp | C++ | arch/drisc/ICache.cpp | svp-dev/mgsim | 0abd708f3c48723fc233f6c53f3e638129d070fa | [
"MIT"
] | 7 | 2016-03-01T13:16:59.000Z | 2021-08-20T07:41:43.000Z | arch/drisc/ICache.cpp | svp-dev/mgsim | 0abd708f3c48723fc233f6c53f3e638129d070fa | [
"MIT"
] | null | null | null | arch/drisc/ICache.cpp | svp-dev/mgsim | 0abd708f3c48723fc233f6c53f3e638129d070fa | [
"MIT"
] | 5 | 2015-04-20T14:29:38.000Z | 2018-12-29T11:09:17.000Z | #include "ICache.h"
#include "DRISC.h"
#include <sim/log2.h>
#include <sim/config.h>
#include <sim/sampling.h>
#include <cassert>
#include <cstring>
#include <iomanip>
#include <iostream>
using namespace std;
namespace Simulator
{
namespace drisc
{
ICache::ICache(const std::string& name, DRISC& parent, Clock& clock)... | 32.17765 | 127 | 0.503963 | svp-dev |
7f9f551fd176d35ea850812106284c034b597292 | 15,145 | cpp | C++ | Y-Engine/Renderer & Math/YEMath/YObb.cpp | Yosbi/YEngine | e9a992919b646f8672c16285b776638ac86f96fa | [
"MIT"
] | null | null | null | Y-Engine/Renderer & Math/YEMath/YObb.cpp | Yosbi/YEngine | e9a992919b646f8672c16285b776638ac86f96fa | [
"MIT"
] | null | null | null | Y-Engine/Renderer & Math/YEMath/YObb.cpp | Yosbi/YEngine | e9a992919b646f8672c16285b776638ac86f96fa | [
"MIT"
] | null | null | null | //-------------------------------------------------------------------------------
// YObb.cpp
// Yosbi Alves
// yosbito@gmail.com
// Copyright (c) 2011
//-----------------------------------------------------------------------
// Desc: In this file is the definition of the clases, and methods
// YObb class
//--... | 30.720081 | 82 | 0.4414 | Yosbi |
7fa06c3c42dd1c3a82cf9f5d36b1fbd07dfa8eaa | 2,704 | hxx | C++ | main/chart2/source/controller/inc/ItemPropertyMap.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 679 | 2015-01-06T06:34:58.000Z | 2022-03-30T01:06:03.000Z | main/chart2/source/controller/inc/ItemPropertyMap.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 102 | 2017-11-07T08:51:31.000Z | 2022-03-17T12:13:49.000Z | main/chart2/source/controller/inc/ItemPropertyMap.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 331 | 2015-01-06T11:40:55.000Z | 2022-03-14T04:07:51.000Z | /**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to y... | 31.08046 | 153 | 0.679734 | Grosskopf |
7fa0d4420a4f16abe70e04c2980e94259d3fe6c6 | 6,566 | cpp | C++ | src/PIDController.cpp | rahulsalvi/PIDController | 75a8f3735dda752d57c0fba8a12556914f2e5aa8 | [
"MIT"
] | null | null | null | src/PIDController.cpp | rahulsalvi/PIDController | 75a8f3735dda752d57c0fba8a12556914f2e5aa8 | [
"MIT"
] | null | null | null | src/PIDController.cpp | rahulsalvi/PIDController | 75a8f3735dda752d57c0fba8a12556914f2e5aa8 | [
"MIT"
] | null | null | null | /*
The MIT License (MIT)
Copyright (c) 2016 Rahul Salvi
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, p... | 22.719723 | 103 | 0.634328 | rahulsalvi |
7fa52836ad4eefa17105ab0320c3f7d03ea5f7c9 | 32,386 | cpp | C++ | pyoptsparse/pyNOMAD/source/nomad_src/Evaluator.cpp | robfalck/pyoptsparse | c99f4bfe8961492d0a1879f9ecff7a2fbb3c8c1d | [
"CNRI-Python"
] | 26 | 2020-08-25T16:16:21.000Z | 2022-03-10T08:23:57.000Z | pyoptsparse/pyNOMAD/source/nomad_src/Evaluator.cpp | robfalck/pyoptsparse | c99f4bfe8961492d0a1879f9ecff7a2fbb3c8c1d | [
"CNRI-Python"
] | 90 | 2020-08-24T23:02:47.000Z | 2022-03-29T13:48:15.000Z | pyoptsparse/pyNOMAD/source/nomad_src/Evaluator.cpp | robfalck/pyoptsparse | c99f4bfe8961492d0a1879f9ecff7a2fbb3c8c1d | [
"CNRI-Python"
] | 25 | 2020-08-24T19:28:24.000Z | 2022-01-27T21:17:37.000Z | /*-------------------------------------------------------------------------------------*/
/* NOMAD - Nonlinear Optimization by Mesh Adaptive Direct search - version 3.7.1 */
/* */
/* Copyright (C) 2001-2015 Mark Abramson ... | 39.019277 | 193 | 0.377694 | robfalck |
7fa7d589086f017978ace85e09100b88d6502400 | 11,821 | cxx | C++ | admin/netui/common/src/lmobj/lmoenum/lmoefile.cxx | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | admin/netui/common/src/lmobj/lmoenum/lmoefile.cxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | admin/netui/common/src/lmobj/lmoenum/lmoefile.cxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | /**********************************************************************/
/** Microsoft LAN Manager **/
/** Copyright(c) Microsoft Corp., 1990, 1991 **/
/**********************************************************************/
/*
lmoefile.cxx
... | 31.606952 | 85 | 0.458083 | npocmaka |
7fa83bb617e528da05444fc8fffa76d25fafa057 | 2,521 | hpp | C++ | game_files/game_engine/game_engine.hpp | sakumo7/zpr | 7b9cdbec1ff8d8179a96bb6e1e88f54ee84d138e | [
"MIT"
] | null | null | null | game_files/game_engine/game_engine.hpp | sakumo7/zpr | 7b9cdbec1ff8d8179a96bb6e1e88f54ee84d138e | [
"MIT"
] | null | null | null | game_files/game_engine/game_engine.hpp | sakumo7/zpr | 7b9cdbec1ff8d8179a96bb6e1e88f54ee84d138e | [
"MIT"
] | null | null | null | #ifndef GAME_ENGINE_HPP
#define GAME_ENGINE_HPP
#include "../typedefs.hpp"
#include "../tcp/tcp.hpp"
#include "../game_state/game_state.hpp"
#include <string>
#include <boost/regex.hpp>
#include <iostream>
#include <memory>
#include <vector>
#include <thread>
#include <queue>
/**
* \class GameEngine
*
* Definicja ... | 25.989691 | 105 | 0.689409 | sakumo7 |
7fa9e7dbdab74bafeba3d270798ff3c6c1477ea1 | 6,212 | cc | C++ | src/pfs_core/pfs_trace.cc | qiuyuhang/PolarDB-FileSystem | a18067ef9294c2f509decd80b2b9231c9f950e21 | [
"Apache-2.0"
] | 35 | 2021-11-08T03:24:50.000Z | 2022-03-24T12:39:12.000Z | src/pfs_core/pfs_trace.cc | qiuyuhang/PolarDB-FileSystem | a18067ef9294c2f509decd80b2b9231c9f950e21 | [
"Apache-2.0"
] | 2 | 2021-11-30T02:29:53.000Z | 2022-03-17T06:57:53.000Z | src/pfs_core/pfs_trace.cc | qiuyuhang/PolarDB-FileSystem | a18067ef9294c2f509decd80b2b9231c9f950e21 | [
"Apache-2.0"
] | 18 | 2021-11-08T08:43:06.000Z | 2022-02-28T09:38:09.000Z | /*
* Copyright (c) 2017-2021, Alibaba Group Holding Limited
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 22.754579 | 81 | 0.678042 | qiuyuhang |
7faca1396aa5321b9fa33aea232d82d5593a73c0 | 1,258 | cpp | C++ | UVaOnlineJudge/Problem_Set_Volumes_(100...1999)/Volume4(400-499)/495/code.cpp | luiscbr92/algorithmic-challenges | bc35729e54e4284e9ade1aa61b51a1c2d72aa62c | [
"MIT"
] | 3 | 2015-10-21T18:56:43.000Z | 2017-06-06T10:44:22.000Z | UVaOnlineJudge/Problem_Set_Volumes_(100...1999)/Volume4(400-499)/495/code.cpp | luiscbr92/algorithmic-challenges | bc35729e54e4284e9ade1aa61b51a1c2d72aa62c | [
"MIT"
] | null | null | null | UVaOnlineJudge/Problem_Set_Volumes_(100...1999)/Volume4(400-499)/495/code.cpp | luiscbr92/algorithmic-challenges | bc35729e54e4284e9ade1aa61b51a1c2d72aa62c | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
#include <vector>
using namespace std;
string sum(string a, string b){
string result = "";
int carry_over = 0;
int index_a = a.size() -1;
int index_b = b.size() -1;
int a_digit, b_digit, amount;
while(index_a > -1 || index_b > -1 || carry_over != 0){
... | 22.070175 | 101 | 0.558029 | luiscbr92 |
7facbde9579211d221d0cdc34e7d6e5ffb7bad3e | 657 | cpp | C++ | Quicksort.cpp | amitsat27/hacktoberfest2021-1 | 8b11a7f64cab279cda0e13f55853f260b1f24987 | [
"CC0-1.0"
] | null | null | null | Quicksort.cpp | amitsat27/hacktoberfest2021-1 | 8b11a7f64cab279cda0e13f55853f260b1f24987 | [
"CC0-1.0"
] | null | null | null | Quicksort.cpp | amitsat27/hacktoberfest2021-1 | 8b11a7f64cab279cda0e13f55853f260b1f24987 | [
"CC0-1.0"
] | null | null | null | //QUICK SORT
#include<bits/stdc++.h>
using namespace std;
int partition(int arr[], int l,int r){
int pivot=arr[r];
int i=l-1;
for(int j=l;j<r;j++){
if(arr[j]<pivot){
i++;swap(arr[i],arr[j]);
}
}
swap(arr[i+1],arr[r]);
return i+1;
}
void quicksort(int arr[]... | 16.846154 | 43 | 0.47032 | amitsat27 |
7faf0bfb64bf4e2f2422a99384185fd5e742d635 | 8,071 | hpp | C++ | src/buffer_cache/blob.hpp | zadcha/rethinkdb | bb4f5cc28242dc1e29e9a46a8a931ec54420070c | [
"Apache-2.0"
] | 21,684 | 2015-01-01T03:42:20.000Z | 2022-03-30T13:32:44.000Z | src/buffer_cache/blob.hpp | RethonkDB/rethonkdb | 8c9c1ddc71b1b891fdb8aad7ca5891fc036b80ee | [
"Apache-2.0"
] | 4,067 | 2015-01-01T00:04:51.000Z | 2022-03-30T13:42:56.000Z | src/buffer_cache/blob.hpp | RethonkDB/rethonkdb | 8c9c1ddc71b1b891fdb8aad7ca5891fc036b80ee | [
"Apache-2.0"
] | 1,901 | 2015-01-01T21:05:59.000Z | 2022-03-21T08:14:25.000Z | // Copyright 2010-2014 RethinkDB, all rights reserved.
#ifndef BUFFER_CACHE_BLOB_HPP_
#define BUFFER_CACHE_BLOB_HPP_
#include <stdint.h>
#include <stddef.h>
#include <string>
#include <vector>
#include <utility>
#include "buffer_cache/types.hpp"
#include "concurrency/access.hpp"
#include "containers/buffer_group.hpp... | 35.244541 | 140 | 0.692355 | zadcha |
7fb0d676f768bd4ac6ea7241c2a910be474f5a4a | 12,144 | cpp | C++ | subsetting_strategies.cpp | mikemag/Mastermind | d32a4bbe62600a3dc257b6b692df64f2afbc8575 | [
"MIT"
] | null | null | null | subsetting_strategies.cpp | mikemag/Mastermind | d32a4bbe62600a3dc257b6b692df64f2afbc8575 | [
"MIT"
] | null | null | null | subsetting_strategies.cpp | mikemag/Mastermind | d32a4bbe62600a3dc257b6b692df64f2afbc8575 | [
"MIT"
] | null | null | null | // Copyright (c) Michael M. Magruder (https://github.com/mikemag)
//
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.
#include "utils.hpp"
using namespace std;
// -----------------------------------------------------------------------------... | 40.888889 | 119 | 0.637846 | mikemag |
7fb1723734a07230a8438cc56927811004354647 | 677 | hpp | C++ | modules/sdk-core/include/Tanker/DbModels/ProvisionalUserKeys.hpp | TankerHQ/sdk-native | 5d9eb7c2048fdefae230590a3110e583f08c2c49 | [
"Apache-2.0"
] | 19 | 2018-12-05T12:18:02.000Z | 2021-07-13T07:33:22.000Z | modules/sdk-core/include/Tanker/DbModels/ProvisionalUserKeys.hpp | TankerHQ/sdk-native | 5d9eb7c2048fdefae230590a3110e583f08c2c49 | [
"Apache-2.0"
] | 3 | 2020-03-16T15:52:06.000Z | 2020-08-01T11:14:30.000Z | modules/sdk-core/include/Tanker/DbModels/ProvisionalUserKeys.hpp | TankerHQ/sdk-native | 5d9eb7c2048fdefae230590a3110e583f08c2c49 | [
"Apache-2.0"
] | 3 | 2020-01-07T09:55:32.000Z | 2020-08-01T01:29:28.000Z | #pragma once
#include <sqlpp11/ppgen.h>
#include <sqlpp11/sqlpp11.h>
#include <Tanker/DataStore/Connection.hpp>
namespace Tanker
{
namespace DbModels
{
// clang-format off
SQLPP_DECLARE_TABLE(
(provisional_user_keys)
,
(app_pub_sig_key , blob , SQLPP_PRIMARY_KEY)
(tanker_pub_sig_key , blob , SQLPP_PRI... | 21.83871 | 76 | 0.701625 | TankerHQ |
7fb6379cb36d3266964954e61cbe62c202000f8b | 3,889 | hpp | C++ | sol/state.hpp | a1ien/sol2 | 358c34e5e978524d7c0dbf3f69987f57dfb30da6 | [
"MIT"
] | null | null | null | sol/state.hpp | a1ien/sol2 | 358c34e5e978524d7c0dbf3f69987f57dfb30da6 | [
"MIT"
] | null | null | null | sol/state.hpp | a1ien/sol2 | 358c34e5e978524d7c0dbf3f69987f57dfb30da6 | [
"MIT"
] | null | null | null | // sol2
// The MIT License (MIT)
// Copyright (c) 2013-2017 Rapptz, ThePhD and contributors
// 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 limit... | 36.009259 | 122 | 0.732322 | a1ien |
7fbadb2439d8fa21192433febe174d13f810249a | 7,562 | cpp | C++ | RenderDrivers/GL/src/GLMaterial.cpp | katoun/kg_engine | fdcc6ec01b191d07cedf7a8d6c274166e25401a8 | [
"Unlicense"
] | 2 | 2015-04-21T05:36:12.000Z | 2017-04-16T19:31:26.000Z | RenderDrivers/GL/src/GLMaterial.cpp | katoun/kg_engine | fdcc6ec01b191d07cedf7a8d6c274166e25401a8 | [
"Unlicense"
] | null | null | null | RenderDrivers/GL/src/GLMaterial.cpp | katoun/kg_engine | fdcc6ec01b191d07cedf7a8d6c274166e25401a8 | [
"Unlicense"
] | null | null | null | /*
-----------------------------------------------------------------------------
KG game engine (http://katoun.github.com/kg_engine) is made available under the MIT License.
Copyright (c) 2006-2013 Catalin Alexandru Nastase
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software ... | 28.535849 | 134 | 0.720709 | katoun |
7fc764fc3925bb75b0599800665eb75bbb34afe0 | 3,374 | cpp | C++ | Source/Driver/API/SQLSetEnvAttr.cpp | yichenghuang/bigobject-odbc | c6d947ea3d18d79684adfbac1c492282a075d48d | [
"MIT"
] | null | null | null | Source/Driver/API/SQLSetEnvAttr.cpp | yichenghuang/bigobject-odbc | c6d947ea3d18d79684adfbac1c492282a075d48d | [
"MIT"
] | null | null | null | Source/Driver/API/SQLSetEnvAttr.cpp | yichenghuang/bigobject-odbc | c6d947ea3d18d79684adfbac1c492282a075d48d | [
"MIT"
] | null | null | null | /*
* ----------------------------------------------------------------------------
* Copyright (c) 2014-2015 BigObject Inc.
* All Rights Reserved.
*
* Use of, copying, modifications to, and distribution of this software
* and its documentation without BigObject's written permission can
* result in the violation o... | 30.125 | 79 | 0.681387 | yichenghuang |
7fca7b67177c2caceae05b66056875ec0885b75e | 2,148 | hxx | C++ | Legolas/Algorithm/ATLASDenseMatrixVectorProduct.hxx | LaurentPlagne/Legolas | fdf533528baf7ab5fcb1db15d95d2387b3e3723c | [
"MIT"
] | null | null | null | Legolas/Algorithm/ATLASDenseMatrixVectorProduct.hxx | LaurentPlagne/Legolas | fdf533528baf7ab5fcb1db15d95d2387b3e3723c | [
"MIT"
] | null | null | null | Legolas/Algorithm/ATLASDenseMatrixVectorProduct.hxx | LaurentPlagne/Legolas | fdf533528baf7ab5fcb1db15d95d2387b3e3723c | [
"MIT"
] | 1 | 2021-02-11T14:43:25.000Z | 2021-02-11T14:43:25.000Z | /**
* project DESCARTES
*
* @file ATLASDenseMatrixVectorProduct.hxx
*
* @author Laurent PLAGNE
* @date june 2004 - january 2005
*
* @par Modifications
* - author date object
*
* (c) Copyright EDF R&D - CEA 2001-2005
*/
#ifndef __LEGOLAS_ATLASDENSEMATRIXVECTORPRODUCT_HXX__
#define __LEGOLAS_ATLASD... | 20.653846 | 89 | 0.684823 | LaurentPlagne |
7fcc2a0db0e38216a3a5ccef9bf3ea085aa562e7 | 620 | cpp | C++ | ACM-ICPC/16288.cpp | KimBoWoon/ACM-ICPC | 146c36999488af9234d73f7b4b0c10d78486604f | [
"MIT"
] | null | null | null | ACM-ICPC/16288.cpp | KimBoWoon/ACM-ICPC | 146c36999488af9234d73f7b4b0c10d78486604f | [
"MIT"
] | null | null | null | ACM-ICPC/16288.cpp | KimBoWoon/ACM-ICPC | 146c36999488af9234d73f7b4b0c10d78486604f | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
int person[101];
stack<int> s[101];
int main() {
int n, k;
scanf("%d %d", &n, &k);
for(int i = 0; i < n; i++) {
scanf("%d", &person[i]);
}
reverse(person, person + n);
for(int i = 0; i < 100; i++) {
s[i].push(101)... | 15.5 | 33 | 0.375806 | KimBoWoon |
7fd092f85796b17743f720381aa2db2a0903e82e | 2,569 | cpp | C++ | src/TableIndexer.cpp | NDelt/Mini-Search-Engine | c7c64a7d365e5112e0a6eb320d3ff3e399bd9e18 | [
"Apache-2.0"
] | null | null | null | src/TableIndexer.cpp | NDelt/Mini-Search-Engine | c7c64a7d365e5112e0a6eb320d3ff3e399bd9e18 | [
"Apache-2.0"
] | null | null | null | src/TableIndexer.cpp | NDelt/Mini-Search-Engine | c7c64a7d365e5112e0a6eb320d3ff3e399bd9e18 | [
"Apache-2.0"
] | 1 | 2019-04-11T03:02:05.000Z | 2019-04-11T03:02:05.000Z | #include "TableIndexer.hpp"
/**
* 역색인 테이블 생성기
* 1) CSV 파싱
* 2) 'BASIC QUALIFICATIONS' 컬럼에 대해 토큰 단위로 문자열 파싱
* 3) 문자열 파싱 후 반환되는 vector를 순회하며 (토큰, ID) 형식으로 해시 테이블에 데이터 추가
*/
void TableIndexer::createIndex(const std::string& filePath, HashMap& hashMap) {
clock_t start, end, loopStart, loopEnd;
double result;... | 32.1125 | 124 | 0.474114 | NDelt |
7fd2d7d17449a143010ed5bcd33add9faa85b1bf | 11,537 | cpp | C++ | IccProfLib/IccPcc.cpp | petervwyatt/DemoIccMAX | f07a85a87269a7c0c4507012ea9f547edca723e6 | [
"RSA-MD"
] | 56 | 2016-02-24T20:43:57.000Z | 2021-02-06T04:31:34.000Z | IccProfLib/IccPcc.cpp | petervwyatt/DemoIccMAX | f07a85a87269a7c0c4507012ea9f547edca723e6 | [
"RSA-MD"
] | 24 | 2016-02-01T16:50:58.000Z | 2021-01-17T03:51:00.000Z | IccProfLib/IccPcc.cpp | petervwyatt/DemoIccMAX | f07a85a87269a7c0c4507012ea9f547edca723e6 | [
"RSA-MD"
] | 25 | 2016-02-02T15:26:09.000Z | 2020-10-05T07:21:19.000Z | /** @file
File: IccPcc.cpp
Contains: Implementation of the IIccProfileConnectionConditions interface class.
Version: V1
Copyright: (c) see ICC Software License
*/
/*
* The ICC Software License, Version 0.2
*
*
* Copyright (c) 2003-2012 The International Color Consortium. All rights
... | 28.699005 | 146 | 0.698362 | petervwyatt |
7fdb134ff556dbd9460f427e710f9f343d187332 | 15,933 | cpp | C++ | tests/pub/StackPackBufferTests.cpp | redradist/Transport_Buffers | 142133ec55465cc08d04c28cb6efbae4cbb620b7 | [
"MIT"
] | 4 | 2019-11-14T02:38:59.000Z | 2021-07-24T19:58:10.000Z | tests/pub/StackPackBufferTests.cpp | redradist/Transport_Buffers | 142133ec55465cc08d04c28cb6efbae4cbb620b7 | [
"MIT"
] | null | null | null | tests/pub/StackPackBufferTests.cpp | redradist/Transport_Buffers | 142133ec55465cc08d04c28cb6efbae4cbb620b7 | [
"MIT"
] | 1 | 2020-01-08T19:43:54.000Z | 2020-01-08T19:43:54.000Z | //
// Created by redra on 29.04.17.
//
#include <gtest/gtest.h>
#include "pub/StackPackBuffer.hpp"
#include "pub/UnpackBuffer.hpp"
using buffers::StackPackBuffer;
using buffers::UnpackBuffer;
struct StackPackBufferIntTest : testing::Test
{
StackPackBuffer<12> * buffer;
virtual void SetUp() {
buffer = new Sta... | 31.866 | 74 | 0.677587 | redradist |
7fdd5d831876ce18a9f26304ee3a4bdbeb045d6e | 2,623 | cpp | C++ | mathClasses & Doc/src/Point.cpp | udit01/qGL | 81aa4cdc7a271099c9ba8bee53e6aeba33c2901c | [
"MIT"
] | 1 | 2020-07-27T13:11:34.000Z | 2020-07-27T13:11:34.000Z | src/Point.cpp | udit01/3d_cad | 91a22db07171ba149db52ef9820f80912d729f95 | [
"MIT"
] | null | null | null | src/Point.cpp | udit01/3d_cad | 91a22db07171ba149db52ef9820f80912d729f95 | [
"MIT"
] | null | null | null | /************************
* Point class
* Different point operations in 3d space.
* Contains Vector operations
*************************/
#include <bool>
#include <float>
#include <string>
#include "DirectionCosines.hpp"
#include "Graph.hpp"
#include "Line.hpp"
#include "Model3d.hpp"
#include "Orthographic... | 21.677686 | 118 | 0.647732 | udit01 |
8f0cd47089fedf5da8af0975426f96a51877abfa | 1,368 | hpp | C++ | include/fcppt/cast/bad_dynamic.hpp | vinzenz/fcppt | 3f8cc5babdee178a9bbd06ca3ce7ad405d19aa6a | [
"BSL-1.0"
] | null | null | null | include/fcppt/cast/bad_dynamic.hpp | vinzenz/fcppt | 3f8cc5babdee178a9bbd06ca3ce7ad405d19aa6a | [
"BSL-1.0"
] | null | null | null | include/fcppt/cast/bad_dynamic.hpp | vinzenz/fcppt | 3f8cc5babdee178a9bbd06ca3ce7ad405d19aa6a | [
"BSL-1.0"
] | null | null | null | // Copyright Carl Philipp Reh 2009 - 2016.
// 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_CAST_BAD_DYNAMIC_HPP_INCLUDED
#define FCPPT_CAST_BAD_DYNAMIC_HPP_INCLUDED
#include ... | 19.267606 | 79 | 0.739035 | vinzenz |
8f16dcdf4469a82484e7ebb4932249d97c61901a | 1,860 | hpp | C++ | src/base/include/scripts/behaviour_script.hpp | N4G170/generic | 29c8be184b1420b811e2a3db087f9bd6b76ed8bf | [
"MIT"
] | null | null | null | src/base/include/scripts/behaviour_script.hpp | N4G170/generic | 29c8be184b1420b811e2a3db087f9bd6b76ed8bf | [
"MIT"
] | null | null | null | src/base/include/scripts/behaviour_script.hpp | N4G170/generic | 29c8be184b1420b811e2a3db087f9bd6b76ed8bf | [
"MIT"
] | null | null | null | #ifndef BEHAVIOUR_SCRIPT_HPP
#define BEHAVIOUR_SCRIPT_HPP
#include "script.hpp"
class BehaviourScript : public Script
{
public:
//<f> Constructors & operator=
/** brief Default constructor */
BehaviourScript() : Script{}, m_input_event{} {}
/** brief Default destructor */
v... | 29.52381 | 134 | 0.568817 | N4G170 |
8f1820ee1e7f321c33bc7a0da2708585b1656a87 | 693 | hpp | C++ | include/Core/Mathf.hpp | Ursanon/RayTracing | 8cc51b9b7845ccd2ef99704d7cfebc301f36b315 | [
"MIT"
] | 2 | 2020-01-06T14:31:16.000Z | 2020-01-07T08:15:51.000Z | include/Core/Mathf.hpp | Ursanon/RayTracing | 8cc51b9b7845ccd2ef99704d7cfebc301f36b315 | [
"MIT"
] | null | null | null | include/Core/Mathf.hpp | Ursanon/RayTracing | 8cc51b9b7845ccd2ef99704d7cfebc301f36b315 | [
"MIT"
] | null | null | null | #ifndef MATHF_HPP_
#define MATHF_HPP_
#include "Core/Vector3.hpp"
namespace rt
{
namespace mathf
{
static constexpr float PI = 3.14159265358979f;
float clamp(const float& value, const float& min, const float& max);
float clamp01(const float& value);
float lerp(const float& a, const float& b, const... | 21.65625 | 78 | 0.678211 | Ursanon |
8f1cd44c1eb759fa35bf34a340e431fe4dc1a4fb | 14,367 | cpp | C++ | matlab/panoContext_code/Toolbox/SketchTokens-master/toolbox/channels/private/gradientMex.cpp | imamik/LayoutNet | f68eb214e793b9786f2582f9244bac4f8f98a816 | [
"MIT"
] | 380 | 2018-02-23T02:58:35.000Z | 2022-03-21T06:34:33.000Z | matlab/panoContext_code/Toolbox/SketchTokens-master/toolbox/channels/private/gradientMex.cpp | imamik/LayoutNet | f68eb214e793b9786f2582f9244bac4f8f98a816 | [
"MIT"
] | 36 | 2018-04-11T03:49:42.000Z | 2021-01-21T01:25:47.000Z | matlab/panoContext_code/Toolbox/SketchTokens-master/toolbox/channels/private/gradientMex.cpp | imamik/LayoutNet | f68eb214e793b9786f2582f9244bac4f8f98a816 | [
"MIT"
] | 94 | 2018-02-25T05:23:51.000Z | 2022-02-11T02:00:47.000Z | /*******************************************************************************
* Piotr's Image&Video Toolbox Version 3.00
* Copyright 2012 Piotr Dollar & Ron Appel. [pdollar-at-caltech.edu]
* Please email me if you find bugs, or have suggestions or questions!
* Licensed under the Simplified BSD License [see... | 45.46519 | 81 | 0.545347 | imamik |
8f1ced35b5d81a6a885bbc87b442a79de40f711e | 838 | cc | C++ | chrome/browser/extensions/extension_get_views_apitest.cc | SlimKatLegacy/android_external_chromium | bc611cda58cc18d0dbaa8a7aee05eb3c0742e573 | [
"BSD-3-Clause"
] | 2 | 2017-09-02T19:08:28.000Z | 2021-11-15T15:15:14.000Z | chrome/browser/extensions/extension_get_views_apitest.cc | SlimKatLegacy/android_external_chromium | bc611cda58cc18d0dbaa8a7aee05eb3c0742e573 | [
"BSD-3-Clause"
] | 2 | 2017-07-25T09:37:22.000Z | 2017-08-04T07:18:56.000Z | chrome/browser/extensions/extension_get_views_apitest.cc | SlimKatLegacy/android_external_chromium | bc611cda58cc18d0dbaa8a7aee05eb3c0742e573 | [
"BSD-3-Clause"
] | 2 | 2020-01-12T00:55:53.000Z | 2020-11-04T06:36:41.000Z | // Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/command_line.h"
#include "chrome/browser/extensions/extension_apitest.h"
#include "chrome/common/chrome_switches.h"
#if defined(TOOLKI... | 34.916667 | 79 | 0.78401 | SlimKatLegacy |
8f1e4115eb5239c7700383c1296f7c3df9e55f66 | 1,543 | cpp | C++ | Framework/Common/Scene.cpp | lishaojiang/GameEngineFromScratch | 7769d3916a9ffabcfdaddeba276fdf964d8a86ee | [
"MIT"
] | 1,217 | 2017-08-18T02:41:11.000Z | 2022-03-30T01:48:46.000Z | Framework/Common/Scene.cpp | lishaojiang/GameEngineFromScratch | 7769d3916a9ffabcfdaddeba276fdf964d8a86ee | [
"MIT"
] | 16 | 2017-09-05T15:04:37.000Z | 2021-09-09T13:59:38.000Z | Framework/Common/Scene.cpp | lishaojiang/GameEngineFromScratch | 7769d3916a9ffabcfdaddeba276fdf964d8a86ee | [
"MIT"
] | 285 | 2017-08-18T04:53:55.000Z | 2022-03-30T00:02:15.000Z | #include "Scene.hpp"
using namespace My;
using namespace std;
shared_ptr<SceneObjectCamera> Scene::GetCamera(const std::string& key) const {
auto i = Cameras.find(key);
if (i == Cameras.end()) {
return nullptr;
}
return i->second;
}
shared_ptr<SceneObjectLight> Scene::GetLight(const std::str... | 25.295082 | 79 | 0.642255 | lishaojiang |
8f2004b70aacac7b0de29fd137144e6d818aada1 | 1,086 | cc | C++ | gpu/ipc/service/gpu_memory_tracking.cc | google-ar/chromium | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | gpu/ipc/service/gpu_memory_tracking.cc | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | gpu/ipc/service/gpu_memory_tracking.cc | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "gpu/ipc/service/gpu_memory_tracking.h"
#include "gpu/ipc/service/gpu_memory_manager.h"
namespace gpu {
GpuMemoryTrackingGroup::GpuMemoryT... | 28.578947 | 77 | 0.730203 | google-ar |
8f21f0fcc56d16472b85a71bf04761558672f9d6 | 1,365 | cpp | C++ | snap/eclipse-workspace/CMPE320_prototype1/src/CookBook.cpp | ETSnider/PantryPal | 8239c37701497195878ec07db37ccca61b23d2bb | [
"MIT"
] | null | null | null | snap/eclipse-workspace/CMPE320_prototype1/src/CookBook.cpp | ETSnider/PantryPal | 8239c37701497195878ec07db37ccca61b23d2bb | [
"MIT"
] | null | null | null | snap/eclipse-workspace/CMPE320_prototype1/src/CookBook.cpp | ETSnider/PantryPal | 8239c37701497195878ec07db37ccca61b23d2bb | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
#include "curl/curl.h"
#include "CookBook.h"
using namespace std;
size_t CookBook::jsonStore(char *data, size_t size, size_t nmemb, std::string *buffer_in) {
if (buffer_in != NULL)
{
// Append the data to the buffer
buffer_in->append(data, siz... | 30.333333 | 135 | 0.627839 | ETSnider |
8f2681bacb7b8b1a14831f640dd17f67c4523c3b | 3,224 | cpp | C++ | src/vkfw_core/gfx/vk/rt/TopLevelAccelerationStructure.cpp | dasmysh/VulkanFramework_Lib | baeaeb3158d23187f2ffa5044e32d8a5145284aa | [
"MIT"
] | null | null | null | src/vkfw_core/gfx/vk/rt/TopLevelAccelerationStructure.cpp | dasmysh/VulkanFramework_Lib | baeaeb3158d23187f2ffa5044e32d8a5145284aa | [
"MIT"
] | null | null | null | src/vkfw_core/gfx/vk/rt/TopLevelAccelerationStructure.cpp | dasmysh/VulkanFramework_Lib | baeaeb3158d23187f2ffa5044e32d8a5145284aa | [
"MIT"
] | null | null | null | /**
* @file TopLevelAccelerationStructure.cpp
* @author Sebastian Maisch <sebastian.maisch@googlemail.com>
* @date 2020.11.22
*
* @brief Implementation of the top level acceleration structure.
*/
#include "gfx/vk/rt/TopLevelAccelerationStructure.h"
namespace vkfw_core::gfx::rt {
TopLevelAccelerationSt... | 42.986667 | 117 | 0.674007 | dasmysh |
8f28b3303d2326c37d05846fc0b98bef81410ee8 | 5,480 | cc | C++ | IDE/TVHelpWindow.cc | paule32/forth2asm | b1208581cd94017f8207b4b3bff28f0bce81ff7e | [
"MIT"
] | null | null | null | IDE/TVHelpWindow.cc | paule32/forth2asm | b1208581cd94017f8207b4b3bff28f0bce81ff7e | [
"MIT"
] | 1 | 2019-12-09T00:20:36.000Z | 2019-12-09T00:20:36.000Z | IDE/TVHelpWindow.cc | paule32/forth2asm | b1208581cd94017f8207b4b3bff28f0bce81ff7e | [
"MIT"
] | 1 | 2019-11-30T15:10:31.000Z | 2019-11-30T15:10:31.000Z | // --------------------------------------------------------------------------------
// MIT License
//
// Copyright (c) 2019 Jens Kallup
//
// 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 w... | 25.253456 | 83 | 0.593978 | paule32 |
8f2db0876d17a72f47a07f75f108b783d3d869d1 | 1,792 | hpp | C++ | include/node.hpp | Kazz47/cs445 | eb991eda50e395a2f10ea943eabe7f74b30f38f7 | [
"MIT"
] | null | null | null | include/node.hpp | Kazz47/cs445 | eb991eda50e395a2f10ea943eabe7f74b30f38f7 | [
"MIT"
] | null | null | null | include/node.hpp | Kazz47/cs445 | eb991eda50e395a2f10ea943eabe7f74b30f38f7 | [
"MIT"
] | null | null | null | #ifndef NODE_H
#define NODE_H
#include <cstddef>
#include <iostream>
#include <vector>
#include "stream.hpp"
#include <glog/logging.h>
enum class Topology {RING, GRID, CUBE, SIZE};
class Node {
private:
size_t x;
size_t y;
size_t z;
size_t iteration;
size_t num_packets_t... | 27.569231 | 136 | 0.643415 | Kazz47 |
8f2deded733a34983b8dd130499b2a5b23a713d0 | 3,136 | cpp | C++ | source/graphics/texture.cpp | TheCandianVendingMachine/TacticalShooter | 3ef34a0cb7be3db75e31e19b3ed3e3ff3804f67f | [
"MIT"
] | null | null | null | source/graphics/texture.cpp | TheCandianVendingMachine/TacticalShooter | 3ef34a0cb7be3db75e31e19b3ed3e3ff3804f67f | [
"MIT"
] | null | null | null | source/graphics/texture.cpp | TheCandianVendingMachine/TacticalShooter | 3ef34a0cb7be3db75e31e19b3ed3e3ff3804f67f | [
"MIT"
] | null | null | null | #include "texture.hpp"
#include <stb_image.h>
#include <glad/glad.h>
#include <utility>
void texture::loadFromMemoryInternal(unsigned char *pixels, bool useSRGB)
{
glGenTextures(1, &m_id);
glBindTexture(GL_TEXTURE_2D, m_id);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_REPEAT);
... | 29.866667 | 117 | 0.539222 | TheCandianVendingMachine |
8f30bbcccb1590e21c60c0666869d0ea9baa0d33 | 19,940 | cpp | C++ | lib/AFE-APIs/AFE-API-MQTT-Standard.cpp | lukasz-pekala/AFE-Firmware | 59e10dd2f9665ba816c22905e63eaa60ec8fda09 | [
"MIT"
] | null | null | null | lib/AFE-APIs/AFE-API-MQTT-Standard.cpp | lukasz-pekala/AFE-Firmware | 59e10dd2f9665ba816c22905e63eaa60ec8fda09 | [
"MIT"
] | null | null | null | lib/AFE-APIs/AFE-API-MQTT-Standard.cpp | lukasz-pekala/AFE-Firmware | 59e10dd2f9665ba816c22905e63eaa60ec8fda09 | [
"MIT"
] | null | null | null |
/* AFE Firmware for smart home devices, Website: https://afe.smartnydom.pl/ */
#include "AFE-API-MQTT-Standard.h"
#ifndef AFE_CONFIG_API_DOMOTICZ_ENABLED
AFEAPIMQTTStandard::AFEAPIMQTTStandard() : AFEAPI(){};
#ifdef AFE_CONFIG_HARDWARE_LED
void AFEAPIMQTTStandard::begin(AFEDataAccess *Data, AFEDevice *Device,
... | 30.489297 | 80 | 0.683751 | lukasz-pekala |
8f32b6f0fa3f7058f2ba2296338d8bab8e45641f | 1,000 | cpp | C++ | 0155_Min Stack.cpp | RickTseng/Cpp_LeetCode | 6a710b8abc268eba767bc17d91d046b90a7e34a9 | [
"MIT"
] | 1 | 2021-09-13T00:58:59.000Z | 2021-09-13T00:58:59.000Z | 0155_Min Stack.cpp | RickTseng/Cpp_LeetCode | 6a710b8abc268eba767bc17d91d046b90a7e34a9 | [
"MIT"
] | null | null | null | 0155_Min Stack.cpp | RickTseng/Cpp_LeetCode | 6a710b8abc268eba767bc17d91d046b90a7e34a9 | [
"MIT"
] | null | null | null | #include <vector>
#include <stdio.h>
#include <stdlib.h>
#include <string>
#include <map>
#include <algorithm>
#include <stack>
using namespace std;
class MinStack {
public:
stack<pair<int,int>> rec;
MinStack() {
}
void push(int val) {
if(rec.empty()||rec.top().second>=val){
... | 19.607843 | 84 | 0.54 | RickTseng |
8f366a1d514f1fc6c8f8f1d16e6c6e2e56c1e447 | 1,177 | cpp | C++ | codeforces/gym/PSUT Coding Marathon 2019/g.cpp | tysm/cpsols | 262212646203e516d1706edf962290de93762611 | [
"MIT"
] | 4 | 2020-10-05T19:24:10.000Z | 2021-07-15T00:45:43.000Z | codeforces/gym/PSUT Coding Marathon 2019/g.cpp | tysm/cpsols | 262212646203e516d1706edf962290de93762611 | [
"MIT"
] | null | null | null | codeforces/gym/PSUT Coding Marathon 2019/g.cpp | tysm/cpsols | 262212646203e516d1706edf962290de93762611 | [
"MIT"
] | null | null | null | #include <cpplib/stdinc.hpp>
int32_t main(){
desync();
int n, b;
cin >> n >> b;
set<int> st;
for(int i=0; i<b; ++i)
st.insert(i);
vi arr(n);
int rep = 0;
map<int, int> cnt;
for(int &i:arr){
cin >> i;
st.erase(i);
cnt[i]++;
if(cnt[i] == 2)
... | 18.107692 | 38 | 0.373832 | tysm |
8f3a4296444341957903dddfbc0933a8848de5a0 | 35 | hpp | C++ | src/boost_static_assert.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 10 | 2018-03-17T00:58:42.000Z | 2021-07-06T02:48:49.000Z | src/boost_static_assert.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 2 | 2021-03-26T15:17:35.000Z | 2021-05-20T23:55:08.000Z | src/boost_static_assert.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 4 | 2019-05-28T21:06:37.000Z | 2021-07-06T03:06:52.000Z | #include <boost/static_assert.hpp>
| 17.5 | 34 | 0.8 | miathedev |
8f3e6dd6d5ccfa4d82830d586b958c994817d712 | 1,539 | cpp | C++ | cpsapi/core/cpsapiContainer.cpp | copasi/copasi-api | 3e09ad8b33f602981471104b553ebaf14e9ae4b1 | [
"Artistic-2.0"
] | 1 | 2021-04-08T12:39:39.000Z | 2021-04-08T12:39:39.000Z | cpsapi/core/cpsapiContainer.cpp | copasi/copasi-api | 3e09ad8b33f602981471104b553ebaf14e9ae4b1 | [
"Artistic-2.0"
] | 1 | 2021-05-17T15:33:13.000Z | 2021-08-30T21:26:04.000Z | cpsapi/core/cpsapiContainer.cpp | copasi/copasi-api | 3e09ad8b33f602981471104b553ebaf14e9ae4b1 | [
"Artistic-2.0"
] | 1 | 2021-08-13T09:47:49.000Z | 2021-08-13T09:47:49.000Z | // BEGIN: Copyright
// Copyright (C) 2021 by Pedro Mendes, Rector and Visitors of the
// University of Virginia, University of Heidelberg, and University
// of Connecticut School of Medicine.
// All rights reserved
// END: Copyright
// BEGIN: License
// Licensed under the Artistic License 2.0 (the "License");
... | 25.229508 | 104 | 0.721897 | copasi |
8f40a6e2659a5f1ab86b44133b9e11fb73f31649 | 1,776 | cpp | C++ | test/type_traits/add_rvalue_reference_test.cpp | nekko1119/nek | be43faf5c541fa067ab1e1bcb7a43ebcfefe34e7 | [
"BSD-3-Clause"
] | null | null | null | test/type_traits/add_rvalue_reference_test.cpp | nekko1119/nek | be43faf5c541fa067ab1e1bcb7a43ebcfefe34e7 | [
"BSD-3-Clause"
] | null | null | null | test/type_traits/add_rvalue_reference_test.cpp | nekko1119/nek | be43faf5c541fa067ab1e1bcb7a43ebcfefe34e7 | [
"BSD-3-Clause"
] | null | null | null | #include <nek/type_traits/add_rvalue_reference.hpp>
#include <gtest/gtest.h>
#include "static_assert.hpp"
TEST(add_rvalue_reference_test, normal)
{
// non-spec, lref, rref
STATIC_ASSERT_EQ(nek::add_rvalue_reference<int>::type, int&&);
STATIC_ASSERT_EQ(nek::add_rvalue_reference<int&>::type, int&);
STAT... | 48 | 98 | 0.736486 | nekko1119 |
8f427b7b609e5b6bb7713da937170ccd47daf325 | 721 | cpp | C++ | Algorithms/04-MST/MST/main.cpp | Dinlon5566/CS-learning | e83920b761f487af3ca37811497e795ec01077c7 | [
"MIT"
] | null | null | null | Algorithms/04-MST/MST/main.cpp | Dinlon5566/CS-learning | e83920b761f487af3ca37811497e795ec01077c7 | [
"MIT"
] | null | null | null | Algorithms/04-MST/MST/main.cpp | Dinlon5566/CS-learning | e83920b761f487af3ca37811497e795ec01077c7 | [
"MIT"
] | null | null | null | #include <iostream>
#include "bits/stdc++.h"
using namespace std;
struct edge{
int x,y;
int cost;
};
int cmp(edge e1,edge e2){
return e1.cost<e2.cost;
}
int findCost(vector<int>& graph,int n){
if(graph[n]==n)
return n;
return 0;
}
int main()
{
int m,n;
cin>>m>>n;//m=edge count,n... | 15.340426 | 41 | 0.51595 | Dinlon5566 |
8f4682ce749e72ae89d9a6d4a8dfea693fb3b0e7 | 979 | cpp | C++ | myApps/mylibs/Range.cpp | room7364/EVcalculator | 958bd1dd3453ab07939c2783b154181ed2ccdbf7 | [
"Zlib",
"0BSD"
] | null | null | null | myApps/mylibs/Range.cpp | room7364/EVcalculator | 958bd1dd3453ab07939c2783b154181ed2ccdbf7 | [
"Zlib",
"0BSD"
] | null | null | null | myApps/mylibs/Range.cpp | room7364/EVcalculator | 958bd1dd3453ab07939c2783b154181ed2ccdbf7 | [
"Zlib",
"0BSD"
] | null | null | null | #include "../mylibs/HodlemCalc.h"
namespace hc {
void Range::gethands(std::string& require) {
omp::CardRange range(require);
comblist combs = range.combinations();
for (int i = 0; i < combs.size(); i++) {
std::string comb = combtostring(combs[i]);
addhand(comb, 0.0)... | 33.758621 | 94 | 0.52809 | room7364 |
8f4a16efa26cfe6874a74b655b2eb0e4287d16a0 | 12,022 | cpp | C++ | Nebula-Storm/src/EditorLayer.cpp | GalacticKittenSS/Nebula | 1620a1dab815d6721b1ae1e3e390ae16313309da | [
"Apache-2.0"
] | 3 | 2021-11-21T21:05:44.000Z | 2021-12-27T20:44:08.000Z | Nebula-Storm/src/EditorLayer.cpp | GalacticKittenSS/Nebula | 1620a1dab815d6721b1ae1e3e390ae16313309da | [
"Apache-2.0"
] | null | null | null | Nebula-Storm/src/EditorLayer.cpp | GalacticKittenSS/Nebula | 1620a1dab815d6721b1ae1e3e390ae16313309da | [
"Apache-2.0"
] | null | null | null | #include "EditorLayer.h"
namespace Nebula {
extern const std::filesystem::path s_AssetPath = "assets";
EditorLayer::EditorLayer() : Layer("Editor") { }
void EditorLayer::Attach() {
NB_PROFILE_FUNCTION();
m_PlayIcon = Texture2D::Create("Resources/Icons/PlayButton.png");
m_StopIcon = Texture2D::Create("Resou... | 31.553806 | 162 | 0.708451 | GalacticKittenSS |
8f4afcf80ff9c86669cef010ede171adf81acf63 | 48,325 | hpp | C++ | test/unittests/lib/validator/validate_Instr_Control_unittest.hpp | yuhao-kuo/WasmVM | b4dcd4f752f07ba4180dc275d47764c363776301 | [
"BSD-3-Clause"
] | 125 | 2018-10-22T19:00:25.000Z | 2022-03-14T06:33:25.000Z | test/unittests/lib/validator/validate_Instr_Control_unittest.hpp | yuhao-kuo/WasmVM | b4dcd4f752f07ba4180dc275d47764c363776301 | [
"BSD-3-Clause"
] | 80 | 2018-10-18T06:35:07.000Z | 2020-04-20T02:40:22.000Z | test/unittests/lib/validator/validate_Instr_Control_unittest.hpp | yuhao-kuo/WasmVM | b4dcd4f752f07ba4180dc275d47764c363776301 | [
"BSD-3-Clause"
] | 27 | 2018-11-04T12:05:35.000Z | 2021-09-06T05:11:50.000Z | #include <skypat/skypat.h>
#define _Bool bool
extern "C" {
#include <stdint.h>
#include <stdlib.h>
#include <dataTypes/Value.h>
#include <dataTypes/vector_p.h>
#include <dataTypes/stack_p.h>
#include <dataTypes/FuncType.h>
#include <structures/instrs/Control.h>
#include <structures/WasmFunc.h>
#include <structures/Was... | 31.750986 | 77 | 0.691278 | yuhao-kuo |
8f4cfc93e5f38c6b768bad606f7860ce54e1022f | 3,311 | cpp | C++ | src/GVis/RenderTextureTarget.cpp | matthew-reid/Graphtane | 3148039993da185cfb328f89b96c9e5a5b384197 | [
"MIT"
] | 38 | 2015-01-01T05:55:38.000Z | 2022-03-12T23:19:50.000Z | src/GVis/RenderTextureTarget.cpp | matthew-reid/Graphtane | 3148039993da185cfb328f89b96c9e5a5b384197 | [
"MIT"
] | 1 | 2019-07-29T21:48:40.000Z | 2020-01-13T12:08:08.000Z | src/GVis/RenderTextureTarget.cpp | matthew-reid/Graphtane | 3148039993da185cfb328f89b96c9e5a5b384197 | [
"MIT"
] | 8 | 2016-04-22T06:41:47.000Z | 2021-11-23T23:44:22.000Z | // Copyright (c) 2013-2014 Matthew Paul Reid
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, p... | 33.11 | 149 | 0.783449 | matthew-reid |
8f4e48f45b497e56814cc89ad136bb0f25aa47ce | 383 | cpp | C++ | python/extensions/pybind_isce3/cuda/matchtemplate/matchtemplate.cpp | isce3-testing/isce3-circleci-poc | ec1dfb6019bcdc7afb7beee7be0fa0ce3f3b87b3 | [
"Apache-2.0"
] | 64 | 2019-08-06T19:22:22.000Z | 2022-03-20T17:11:46.000Z | python/extensions/pybind_isce3/cuda/matchtemplate/matchtemplate.cpp | isce-framework/isce3 | 59cdd2c659a4879367db5537604b0ca93d26b372 | [
"Apache-2.0"
] | 8 | 2020-09-01T22:46:53.000Z | 2021-11-04T00:05:28.000Z | python/extensions/pybind_isce3/cuda/matchtemplate/matchtemplate.cpp | isce-framework/isce3 | 59cdd2c659a4879367db5537604b0ca93d26b372 | [
"Apache-2.0"
] | 29 | 2019-08-05T21:40:55.000Z | 2022-03-23T00:17:03.000Z | #include "matchtemplate.h"
#include <isce3/cuda/matchtemplate/pycuampcor/cuAmpcorController.h>
#include <isce3/cuda/matchtemplate/pycuampcor/cuAmpcorParameter.h>
#include "pycuampcor.h"
namespace py = pybind11;
void addsubmodule_cuda_matchtemplate(py::module& m)
{
py::module m_matchtemplate = m.def_submodule("m... | 23.9375 | 67 | 0.791123 | isce3-testing |
8f4e9848506820c86aaf976a1fd9f58a01caa48d | 9,447 | cc | C++ | src/scripting-v8.cc | h0x91b/redis | 76b25a2546ed457265df32bee905006eafbad0e5 | [
"BSD-3-Clause"
] | null | null | null | src/scripting-v8.cc | h0x91b/redis | 76b25a2546ed457265df32bee905006eafbad0e5 | [
"BSD-3-Clause"
] | null | null | null | src/scripting-v8.cc | h0x91b/redis | 76b25a2546ed457265df32bee905006eafbad0e5 | [
"BSD-3-Clause"
] | null | null | null | #include "scripting-v8.h"
extern "C" {
#include "server.h"
#include "cluster.h"
}
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "libplatform/libplatform.h"
#include "v8.h"
#include "../deps/hiredis/hiredis.h"
using namespace v8;
v8::Platform* platform;
sds wrapped_script;
Isolate* isol... | 33.264085 | 160 | 0.614057 | h0x91b |
8f5043e17e6c193b0aa74680cf975a43c80b2b56 | 89,815 | hpp | C++ | Blocks/Game/Assets/bh22.hpp | salindersidhu/Blocks | b36c916717873cf43e61afb4e978d65025953a33 | [
"MIT"
] | 5 | 2018-06-16T06:54:59.000Z | 2021-12-23T15:24:42.000Z | Blocks/Game/Assets/bh22.hpp | salindersidhu/Blocks | b36c916717873cf43e61afb4e978d65025953a33 | [
"MIT"
] | 1 | 2016-01-15T08:04:18.000Z | 2016-01-15T08:04:18.000Z | Blocks/Game/Assets/bh22.hpp | SalinderSidhu/Blocks | b36c916717873cf43e61afb4e978d65025953a33 | [
"MIT"
] | null | null | null | #ifndef BH22_HPP
#define BH22_HPP
static const unsigned char bh22[] = {
0x89, 0x50, 0x4E, 0x47, 0x0D, 0x0A, 0x1A, 0x0A, 0x00, 0x00, 0x00, 0x0D, 0x49, 0x48, 0x44, 0x52, 0x00, 0x00, 0x00, 0x83, 0x00, 0x00, 0x00, 0x39, 0x08, 0x06, 0x00, 0x00, 0x00, 0x15, 0xCC, 0x98, 0x75, 0x00, 0x00, 0x00, 0x09, 0x70, 0x48, 0x59,
0x73... | 238.236074 | 241 | 0.661226 | salindersidhu |
8f50dd5c91a9bcfa653793e41df592033a3136b4 | 3,418 | cpp | C++ | middleware/transaction/source/manager/admin/server.cpp | tompis/casual | d838716c7052a906af8a19e945a496acdc7899a2 | [
"MIT"
] | null | null | null | middleware/transaction/source/manager/admin/server.cpp | tompis/casual | d838716c7052a906af8a19e945a496acdc7899a2 | [
"MIT"
] | null | null | null | middleware/transaction/source/manager/admin/server.cpp | tompis/casual | d838716c7052a906af8a19e945a496acdc7899a2 | [
"MIT"
] | null | null | null |
#include "transaction/manager/admin/server.h"
#include "transaction/manager/admin/transform.h"
#include "transaction/manager/state.h"
#include "transaction/manager/manager.h"
#include "transaction/manager/action.h"
//
// xatmi
//
#include <xatmi.h>
//
// sf
//
#include "sf/server.h"
#include "sf/service/interface.... | 25.132353 | 107 | 0.507022 | tompis |
8f554b17373363848ba03cadd47a7a4c9663306a | 111 | cpp | C++ | source/ashes/renderer/GlRenderer/Core/GlIcdObject.cpp | DragonJoker/Ashes | a6ed950b3fd8fb9626c60b4291fbd52ea75ac66e | [
"MIT"
] | 227 | 2018-09-17T16:03:35.000Z | 2022-03-19T02:02:45.000Z | source/ashes/renderer/GlRenderer/Core/GlIcdObject.cpp | DragonJoker/RendererLib | 0f8ad8edec1b0929ebd10247d3dd0a9ee8f8c91a | [
"MIT"
] | 39 | 2018-02-06T22:22:24.000Z | 2018-08-29T07:11:06.000Z | source/ashes/renderer/GlRenderer/Core/GlIcdObject.cpp | DragonJoker/Ashes | a6ed950b3fd8fb9626c60b4291fbd52ea75ac66e | [
"MIT"
] | 8 | 2019-05-04T10:33:32.000Z | 2021-04-05T13:19:27.000Z | /**
*\author
* Sylvain Doremus
*/
#include "renderer/GlRenderer/Core/GlIcdObject.hpp"
namespace ashes::gl
{
}
| 11.1 | 51 | 0.711712 | DragonJoker |
8f59878b1ce6baf080508c86eafba9366174ba30 | 480 | cc | C++ | libs/render/src/render/light.cc | madeso/euphoria | 59b72d148a90ae7a19e197e91216d4d42f194fd5 | [
"MIT"
] | 24 | 2015-07-27T14:32:18.000Z | 2021-11-15T12:11:31.000Z | libs/render/src/render/light.cc | madeso/euphoria | 59b72d148a90ae7a19e197e91216d4d42f194fd5 | [
"MIT"
] | 27 | 2021-07-09T21:18:40.000Z | 2021-07-14T13:39:56.000Z | libs/render/src/render/light.cc | madeso/euphoria | 59b72d148a90ae7a19e197e91216d4d42f194fd5 | [
"MIT"
] | null | null | null | #include "render/light.h"
namespace euphoria::render
{
Light::Light()
: light_type(Type::directional)
, position(core::Vec3f::zero())
, direction(core::Vec3f {-0.2f, -1.0f, -0.3f}.get_normalized())
, ambient(0.3f)
, diffuse(core::NamedColor::white)
, specular(core::N... | 26.666667 | 71 | 0.602083 | madeso |
8f5a120f2d8abb9e0329b3b1401a8c971b138b82 | 3,282 | hpp | C++ | src/matching.hpp | HE-Xinyu/algorithms | 009b8a9786192001dab0ce48bf8088a5ff62556e | [
"MIT"
] | 1 | 2020-06-11T11:44:40.000Z | 2020-06-11T11:44:40.000Z | src/matching.hpp | HE-Xinyu/algorithms | 009b8a9786192001dab0ce48bf8088a5ff62556e | [
"MIT"
] | null | null | null | src/matching.hpp | HE-Xinyu/algorithms | 009b8a9786192001dab0ce48bf8088a5ff62556e | [
"MIT"
] | 1 | 2021-01-28T12:30:08.000Z | 2021-01-28T12:30:08.000Z | #include <vector>
#include <unordered_set>
#include "max_flow.hpp"
#pragma once
using std::vector;
using std::pair;
using std::unordered_set;
class MaximumBipartiteMatching {
public:
using Edges = vector<pair<int, int>>;
/*
* elements are edges (u, v) in E.
*
* It does not need to be (x, y). (... | 29.303571 | 114 | 0.462523 | HE-Xinyu |
8f5c17999d992a1091bb3bf968c1a82f0831db3a | 2,496 | cpp | C++ | AdamAttack/src/utilities.cpp | TheAdamProject/adams | 697cf865725229335c860fe034d02637dbb5deb3 | [
"MIT"
] | 15 | 2021-02-23T19:47:15.000Z | 2022-02-17T17:23:13.000Z | AdamAttack/src/utilities.cpp | TheAdamProject/adams | 697cf865725229335c860fe034d02637dbb5deb3 | [
"MIT"
] | 1 | 2021-12-13T07:15:13.000Z | 2021-12-22T14:38:42.000Z | AdamAttack/src/utilities.cpp | TheAdamProject/adams | 697cf865725229335c860fe034d02637dbb5deb3 | [
"MIT"
] | 2 | 2022-02-15T07:05:30.000Z | 2022-02-17T17:29:59.000Z | #include "utilities.h"
void *Malloc(size_t sz, const char *name) {
void *ptr;
ptr = malloc(sz);
if (!ptr) {
fprintf(stderr, "Cannot allocate %zu bytes for %s\n\n", sz, name);
exit(EXIT_FAILURE);
}
return ptr;
}
void *Calloc(size_t nmemb, size_t size, const char *name){
void *... | 21.704348 | 90 | 0.564904 | TheAdamProject |
8f5c58159743f519ace8de6ffb0ca41a2e208252 | 1,781 | hpp | C++ | include/boost/url/pct_encoding_types.hpp | TankerHQ/url | 336917aca8d09b950b85c2cabdd46375aa0f0fb7 | [
"BSL-1.0"
] | null | null | null | include/boost/url/pct_encoding_types.hpp | TankerHQ/url | 336917aca8d09b950b85c2cabdd46375aa0f0fb7 | [
"BSL-1.0"
] | null | null | null | include/boost/url/pct_encoding_types.hpp | TankerHQ/url | 336917aca8d09b950b85c2cabdd46375aa0f0fb7 | [
"BSL-1.0"
] | null | null | null | //
// Copyright (c) 2019 Vinnie Falco (vinnie.falco@gmail.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)
//
// Official repository: https://github.com/CPPAllinace/url
//
#ifndef BOOST_URL_PCT_ENCODING_TYPE... | 23.746667 | 84 | 0.628299 | TankerHQ |
8f5f645cbce8703c935996d09cac977a10b10cff | 1,914 | cpp | C++ | open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafInstallRequestDoc/CFullPackageElemDoc.cpp | mrehman29/open-vm-tools | 03f35e3209b3a73cf8e43a74ac764f22526723a0 | [
"X11"
] | 2 | 2020-07-23T06:01:37.000Z | 2021-02-25T06:48:42.000Z | open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafInstallRequestDoc/CFullPackageElemDoc.cpp | mrehman29/open-vm-tools | 03f35e3209b3a73cf8e43a74ac764f22526723a0 | [
"X11"
] | null | null | null | open-vm-tools/common-agent/Cpp/Framework/Framework/src/Doc/DocDoc/CafInstallRequestDoc/CFullPackageElemDoc.cpp | mrehman29/open-vm-tools | 03f35e3209b3a73cf8e43a74ac764f22526723a0 | [
"X11"
] | 1 | 2020-11-11T12:54:06.000Z | 2020-11-11T12:54:06.000Z | /*
* Author: bwilliams
* Created: April 6, 2012
*
* Copyright (C) 2012-2016 VMware, Inc. All rights reserved. -- VMware Confidential
*
*
*/
#include "stdafx.h"
#include "Doc/CafInstallRequestDoc/CPackageDefnDoc.h"
#include "Doc/CafInstallRequestDoc/CFullPackageElemDoc.h"
using namespace Caf;
/// A simple... | 24.227848 | 85 | 0.775862 | mrehman29 |
8f62d015c9138d0884ff8618ad7cea3445a664d8 | 31,826 | cxx | C++ | ds/adsi/nw312/getobj.cxx | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | ds/adsi/nw312/getobj.cxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | ds/adsi/nw312/getobj.cxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | //---------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1992 - 1995
//
// File: getobj.cxx
//
// Contents: NetWare 3.12 GetObject functionality
//
// History:
//--------------------------------------------------------... | 22.781675 | 81 | 0.472821 | npocmaka |
8f64237be4d822ab784aca49bd0ad286d2fc30af | 15,434 | cpp | C++ | export/windows/obj/src/flixel/math/FlxAngle.cpp | seanbashaw/frozenlight | 47c540d30d63e946ea2dc787b4bb602cc9347d21 | [
"MIT"
] | null | null | null | export/windows/obj/src/flixel/math/FlxAngle.cpp | seanbashaw/frozenlight | 47c540d30d63e946ea2dc787b4bb602cc9347d21 | [
"MIT"
] | null | null | null | export/windows/obj/src/flixel/math/FlxAngle.cpp | seanbashaw/frozenlight | 47c540d30d63e946ea2dc787b4bb602cc9347d21 | [
"MIT"
] | null | null | null | // Generated by Haxe 3.4.7
#include <hxcpp.h>
#ifndef INCLUDED_95f339a1d026d52c
#define INCLUDED_95f339a1d026d52c
#include "hxMath.h"
#endif
#ifndef INCLUDED_flixel_FlxBasic
#include <flixel/FlxBasic.h>
#endif
#ifndef INCLUDED_flixel_FlxCamera
#include <flixel/FlxCamera.h>
#endif
#ifndef INCLUDED_flixel_FlxG
#include ... | 39.676093 | 207 | 0.69308 | seanbashaw |
8f64e6acaed3a75bc7a334766c5da38bca1de0e5 | 13,476 | hpp | C++ | ThirdParty-mod/java2cpp/android/widget/MultiAutoCompleteTextView.hpp | kakashidinho/HQEngine | 8125b290afa7c62db6cc6eac14e964d8138c7fd0 | [
"MIT"
] | 1 | 2019-04-03T01:53:28.000Z | 2019-04-03T01:53:28.000Z | ThirdParty-mod/java2cpp/android/widget/MultiAutoCompleteTextView.hpp | kakashidinho/HQEngine | 8125b290afa7c62db6cc6eac14e964d8138c7fd0 | [
"MIT"
] | null | null | null | ThirdParty-mod/java2cpp/android/widget/MultiAutoCompleteTextView.hpp | kakashidinho/HQEngine | 8125b290afa7c62db6cc6eac14e964d8138c7fd0 | [
"MIT"
] | null | null | null | /*================================================================================
code generated by: java2cpp
author: Zoran Angelov, mailto://baldzar@gmail.com
class: android.widget.MultiAutoCompleteTextView
================================================================================*/
#ifndef J2CPP... | 39.28863 | 181 | 0.768106 | kakashidinho |
8f6506492f65a0d960c9332ff1e24fc1798bb6f0 | 14,524 | cpp | C++ | src/Kernel/Champs/Champ_Gen_de_Champs_Gen.cpp | cea-trust-platform/trust-code | c4f42d8f8602a8cc5e0ead0e29dbf0be8ac52f72 | [
"BSD-3-Clause"
] | 12 | 2021-06-30T18:50:38.000Z | 2022-03-23T09:03:16.000Z | src/Kernel/Champs/Champ_Gen_de_Champs_Gen.cpp | pledac/trust-code | 46ab5c5da3f674185f53423090f526a38ecdbad1 | [
"BSD-3-Clause"
] | null | null | null | src/Kernel/Champs/Champ_Gen_de_Champs_Gen.cpp | pledac/trust-code | 46ab5c5da3f674185f53423090f526a38ecdbad1 | [
"BSD-3-Clause"
] | 2 | 2021-10-04T09:19:39.000Z | 2021-12-15T14:21:04.000Z | /****************************************************************************
* Copyright (c) 2015 - 2016, CEA
* 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 mus... | 30.070393 | 260 | 0.672542 | cea-trust-platform |
8f69113c165724b1a4315ce911c755ebb5908fb5 | 1,963 | hxx | C++ | live555/test/h264_subsession.hxx | triminalt/snippets | ced19012a55b0cc8e5fcd33fe3fc4947cb399366 | [
"MIT"
] | 1 | 2017-01-29T16:14:23.000Z | 2017-01-29T16:14:23.000Z | live555/test/h264_subsession.hxx | triminalt/snippets | ced19012a55b0cc8e5fcd33fe3fc4947cb399366 | [
"MIT"
] | null | null | null | live555/test/h264_subsession.hxx | triminalt/snippets | ced19012a55b0cc8e5fcd33fe3fc4947cb399366 | [
"MIT"
] | null | null | null | //
// @author trimnalt AT gmail DOT com
// @version initial
// @date 2018-07-03
//
#ifndef H264_SUBSESSION_HXX
#define H264_SUBSESSION_HXX
#include <string>
#include <memory>
#include <OnDemandServerMediaSubsession.hh>
#include <H264VideoStreamFramer.hh>
#include <H264VideoRTPSink.hh>
#include "./h264_pump.hxx"
#in... | 29.742424 | 80 | 0.501274 | triminalt |
8f6bfca0bd584b9aaa57a47a29558d3c88f3fc98 | 2,411 | hh | C++ | RAVL2/Core/Base/FuncStream.hh | isuhao/ravl2 | 317e0ae1cb51e320b877c3bad6a362447b5e52ec | [
"BSD-Source-Code"
] | null | null | null | RAVL2/Core/Base/FuncStream.hh | isuhao/ravl2 | 317e0ae1cb51e320b877c3bad6a362447b5e52ec | [
"BSD-Source-Code"
] | null | null | null | RAVL2/Core/Base/FuncStream.hh | isuhao/ravl2 | 317e0ae1cb51e320b877c3bad6a362447b5e52ec | [
"BSD-Source-Code"
] | null | null | null | // This file is part of RAVL, Recognition And Vision Library
// Copyright (C) 2008, OmniPerception Ltd.
// This code may be redistributed under the terms of the GNU Lesser
// General Public License (LGPL). See the lgpl.licence file for details or
// see http://www.gnu.org/copyleft/lesser.html
// file-header-ends-here
... | 23.182692 | 94 | 0.663625 | isuhao |
8f6e259e1c954e447098a4f6fdcc4f7c36370c45 | 54,502 | hpp | C++ | Source/Tools/alive_api/AOTlvs.hpp | THEONLYDarkShadow/alive_reversing | 680d87088023f2d5f2a40c42d6543809281374fb | [
"MIT"
] | 1 | 2021-04-11T23:44:43.000Z | 2021-04-11T23:44:43.000Z | Source/Tools/alive_api/AOTlvs.hpp | THEONLYDarkShadow/alive_reversing | 680d87088023f2d5f2a40c42d6543809281374fb | [
"MIT"
] | null | null | null | Source/Tools/alive_api/AOTlvs.hpp | THEONLYDarkShadow/alive_reversing | 680d87088023f2d5f2a40c42d6543809281374fb | [
"MIT"
] | null | null | null | #pragma once
#include "TlvObjectBase.hpp"
#include "../AliveLibAO/HoistRocksEffect.hpp"
#include "../AliveLibAO/Abe.hpp"
#include "../AliveLibAO/Door.hpp"
#include "../AliveLibAO/Switch.hpp"
#include "../AliveLibAO/DoorLight.hpp"
#include "../AliveLibAO/ElectricWall.hpp"
#include "../AliveLibAO/Well.hpp"
#include "../... | 36.701684 | 229 | 0.604253 | THEONLYDarkShadow |
8f6fb4b6e359b997373d444156b358a826b4c91e | 2,458 | cpp | C++ | code/library/Graphics/Sprite.cpp | jpike/noah_ark | 491ab775f69457e20a930c0dd8049609dee9c677 | [
"Unlicense"
] | null | null | null | code/library/Graphics/Sprite.cpp | jpike/noah_ark | 491ab775f69457e20a930c0dd8049609dee9c677 | [
"Unlicense"
] | 61 | 2015-04-11T21:26:12.000Z | 2021-10-02T13:34:43.000Z | code/library/Graphics/Sprite.cpp | jpike/noah_ark | 491ab775f69457e20a930c0dd8049609dee9c677 | [
"Unlicense"
] | null | null | null | #include "Graphics/Sprite.h"
namespace GRAPHICS
{
/// Creates an invisible sprite based on the provided texture information.
/// @param[in] texture_id - The ID of the texture containing graphics for the sprite.
/// @param[in] texture_sub_rectangle - The sub-rectangle of the texture
/// defining which... | 39.645161 | 90 | 0.685924 | jpike |
8f76125695a45a68e86f37957b4ab31a9db03fa4 | 979 | cpp | C++ | modules/complex-number/test/test_Andrich_Maria_complex_number.cpp | BalovaElena/devtools-course-practice | f8d5774dbb78ec50200c45fd17665ed40fc8c4c5 | [
"CC-BY-4.0"
] | null | null | null | modules/complex-number/test/test_Andrich_Maria_complex_number.cpp | BalovaElena/devtools-course-practice | f8d5774dbb78ec50200c45fd17665ed40fc8c4c5 | [
"CC-BY-4.0"
] | null | null | null | modules/complex-number/test/test_Andrich_Maria_complex_number.cpp | BalovaElena/devtools-course-practice | f8d5774dbb78ec50200c45fd17665ed40fc8c4c5 | [
"CC-BY-4.0"
] | null | null | null | // Copyright 2022 Andrich Maria
#include <gtest/gtest.h>
#include "include/complex_number.h"
TEST(Andrich_Maria_ComplexNumberTest, addition) {
double re = 0.0;
double im = 0.0;
ComplexNumber num(re, im);
EXPECT_EQ(re, num.getRe());
EXPECT_EQ(im, num.getIm());
}
TEST(Andrich_Maria_ComplexNumberTest, Sum)... | 17.8 | 55 | 0.657814 | BalovaElena |
8f783a02f48c7425995d2792d93dedc443a46bc7 | 3,860 | cxx | C++ | main/svtools/source/contnr/tooltiplbox.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 679 | 2015-01-06T06:34:58.000Z | 2022-03-30T01:06:03.000Z | main/svtools/source/contnr/tooltiplbox.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 102 | 2017-11-07T08:51:31.000Z | 2022-03-17T12:13:49.000Z | main/svtools/source/contnr/tooltiplbox.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 331 | 2015-01-06T11:40:55.000Z | 2022-03-14T04:07:51.000Z | /**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to y... | 32.991453 | 91 | 0.573834 | Grosskopf |
8f788e2be14f32174830c4b227eab817df0b9861 | 4,577 | cpp | C++ | disc-fe/src/Panzer_GlobalEvaluationDataContainer.cpp | hillyuan/Panzer | 13ece3ea4c145c4d7b6339e3ad6332a501932ea8 | [
"BSD-3-Clause"
] | 1 | 2022-03-22T03:49:50.000Z | 2022-03-22T03:49:50.000Z | disc-fe/src/Panzer_GlobalEvaluationDataContainer.cpp | hillyuan/Panzer | 13ece3ea4c145c4d7b6339e3ad6332a501932ea8 | [
"BSD-3-Clause"
] | null | null | null | disc-fe/src/Panzer_GlobalEvaluationDataContainer.cpp | hillyuan/Panzer | 13ece3ea4c145c4d7b6339e3ad6332a501932ea8 | [
"BSD-3-Clause"
] | null | null | null | // @HEADER
// ***********************************************************************
//
// Panzer: A partial differential equation assembly
// engine for strongly coupled complex multiphysics systems
// Copyright (2011) Sandia Corporation
//
// Under the terms of Contract DE-AC04-94AL85... | 36.91129 | 152 | 0.678829 | hillyuan |
8f7b44104365e4e421935f84bf8c342c827d1a1f | 702 | cpp | C++ | .Codeforces/Codeforces Round #571 (Div. 2)/C. Vus the Cossack and Strings/C. Vus the Cossack and Strings/C. Vus the Cossack and Strings.cpp | sxweetlollipop2912/MaCode | 661d77a2096e4d772fda2b6a7f80c84113b2cde9 | [
"MIT"
] | null | null | null | .Codeforces/Codeforces Round #571 (Div. 2)/C. Vus the Cossack and Strings/C. Vus the Cossack and Strings/C. Vus the Cossack and Strings.cpp | sxweetlollipop2912/MaCode | 661d77a2096e4d772fda2b6a7f80c84113b2cde9 | [
"MIT"
] | null | null | null | .Codeforces/Codeforces Round #571 (Div. 2)/C. Vus the Cossack and Strings/C. Vus the Cossack and Strings/C. Vus the Cossack and Strings.cpp | sxweetlollipop2912/MaCode | 661d77a2096e4d772fda2b6a7f80c84113b2cde9 | [
"MIT"
] | null | null | null | #include "pch.h"
#include <iostream>
#include <algorithm>
#include <string>
#define maxN 1000001
typedef long maxn;
typedef std::string str;
maxn na, nb, da[maxN], res;
str a, b;
bool even;
void Prepare() {
std::cin >> a >> b;
na = a.size(); nb = b.size();
for (maxn i = 1; i < na; i++) {
da[i] = da[i - 1] + ... | 14.625 | 47 | 0.519943 | sxweetlollipop2912 |