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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
513aba793626eeea8dc6e75dcd200154136cf255 | 3,537 | cpp | C++ | libcaf_core/test/behavior.cpp | jsiwek/actor-framework | 06cd2836f4671725cb7eaa22b3cc115687520fc1 | [
"BSL-1.0",
"BSD-3-Clause"
] | 4 | 2019-05-03T05:38:15.000Z | 2020-08-25T15:23:19.000Z | libcaf_core/test/behavior.cpp | jsiwek/actor-framework | 06cd2836f4671725cb7eaa22b3cc115687520fc1 | [
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | libcaf_core/test/behavior.cpp | jsiwek/actor-framework | 06cd2836f4671725cb7eaa22b3cc115687520fc1 | [
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | /******************************************************************************
* ____ _ _____ *
* / ___| / \ | ___| C++ *
* | | / _ \ | |_ Actor *
... | 29.722689 | 80 | 0.521628 | jsiwek |
513d59de79a5893945a73508fd8fb1fda78e37b9 | 1,950 | cpp | C++ | test/xsimd_rounding_test.cpp | ukoethe/xsimd | c15e4da30d6777863d994750d4c3a61b32f2de95 | [
"BSD-3-Clause"
] | null | null | null | test/xsimd_rounding_test.cpp | ukoethe/xsimd | c15e4da30d6777863d994750d4c3a61b32f2de95 | [
"BSD-3-Clause"
] | null | null | null | test/xsimd_rounding_test.cpp | ukoethe/xsimd | c15e4da30d6777863d994750d4c3a61b32f2de95 | [
"BSD-3-Clause"
] | 1 | 2020-08-19T01:15:47.000Z | 2020-08-19T01:15:47.000Z | /***************************************************************************
* Copyright (c) 2016, Johan Mabille and Sylvain Corlay *
* *
* Distributed under the terms of the BSD 3-Clause License. *
* ... | 32.5 | 77 | 0.587692 | ukoethe |
5143f30d77729ec426063e1d6828cca0e373c481 | 397 | cpp | C++ | URI/URI 1296 - Medians.cpp | 0xDCA/competitive_programming | 17f27248ee843e424fcad9de3872b768113a7713 | [
"Unlicense"
] | 4 | 2015-08-16T11:11:03.000Z | 2021-11-20T02:12:14.000Z | URI/URI 1296 - Medians.cpp | 0xDCA/competitive_programming | 17f27248ee843e424fcad9de3872b768113a7713 | [
"Unlicense"
] | null | null | null | URI/URI 1296 - Medians.cpp | 0xDCA/competitive_programming | 17f27248ee843e424fcad9de3872b768113a7713 | [
"Unlicense"
] | 4 | 2016-07-28T15:35:14.000Z | 2020-12-29T14:51:50.000Z | #include <iostream>
#include <cmath>
using namespace std;
int main() {
cout.flags(ios::fixed);
cout.precision(3);
double m1, m2, m3;
while(cin >> m1 >> m2 >> m3) {
double s = (m1 + m2 + m3) / 2;
double inner = s * (s - m1) * (s - m2) * (s - m3);
double area = -1;
if (inner > 0)
... | 17.26087 | 56 | 0.473552 | 0xDCA |
514443a70294fc79fca305d6f9ce97307b48c0af | 804 | cpp | C++ | vmware_tray/VMWAddOnsApp.cpp | volo-droid/VMwareAddons | ee267d19341503360e9b55d8b0bbb5793712393a | [
"MIT"
] | 7 | 2018-09-04T01:56:36.000Z | 2021-12-22T21:33:16.000Z | vmware_tray/VMWAddOnsApp.cpp | volo-droid/VMwareAddons | ee267d19341503360e9b55d8b0bbb5793712393a | [
"MIT"
] | 24 | 2015-01-25T15:59:58.000Z | 2021-11-09T20:39:18.000Z | vmware_tray/VMWAddOnsApp.cpp | volo-droid/VMwareAddons | ee267d19341503360e9b55d8b0bbb5793712393a | [
"MIT"
] | 6 | 2015-03-04T17:51:55.000Z | 2021-10-16T21:26:17.000Z | /*
Copyright 2009 Vincent Duvert, vincent.duvert@free.fr
All rights reserved. Distributed under the terms of the MIT License.
*/
#include "VMWAddOnsApp.h"
#include <stdio.h>
#include <Alert.h>
#include <Deskbar.h>
#include <Roster.h>
#include <string.h>
#include "VMWAddOns.h"
#include "VMWAddOnsTray.h"
#define ... | 14.618182 | 69 | 0.711443 | volo-droid |
5144c93120a74bd88c702be148dd2fce44c9beac | 3,036 | cpp | C++ | HoloIntervention/Source/Algorithms/KalmanFilter.cpp | adamrankin/HoloIntervention | 0f2a4dc702729a0a04af5c210884ef4e08e49267 | [
"Apache-2.0"
] | 2 | 2020-06-17T09:55:59.000Z | 2021-04-03T16:18:29.000Z | HoloIntervention/Source/Algorithms/KalmanFilter.cpp | adamrankin/HoloIntervention | 0f2a4dc702729a0a04af5c210884ef4e08e49267 | [
"Apache-2.0"
] | 1 | 2018-09-02T02:39:21.000Z | 2018-09-02T02:39:21.000Z | HoloIntervention/Source/Algorithms/KalmanFilter.cpp | adamrankin/HoloIntervention | 0f2a4dc702729a0a04af5c210884ef4e08e49267 | [
"Apache-2.0"
] | null | null | null | /*====================================================================
Copyright(c) 2018 Adam Rankin
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 limitati... | 36.578313 | 85 | 0.543149 | adamrankin |
514b999ea603597e6f15b9567ca019ad131c8d7e | 3,485 | cpp | C++ | rellic/AST/NestedCondProp.cpp | meme/rellic | 24f2bb7b819010f5c8bcc78d8ae23c979ad57811 | [
"Apache-2.0"
] | null | null | null | rellic/AST/NestedCondProp.cpp | meme/rellic | 24f2bb7b819010f5c8bcc78d8ae23c979ad57811 | [
"Apache-2.0"
] | null | null | null | rellic/AST/NestedCondProp.cpp | meme/rellic | 24f2bb7b819010f5c8bcc78d8ae23c979ad57811 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2018 Trail of Bits, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law o... | 32.877358 | 79 | 0.661406 | meme |
51564d0fb9006f3529a3a09b1e8416b7eefde55e | 2,976 | inl | C++ | GameJam_v3.2/GameEngineBase/externals/Havok/includes/Source/Common/Serialize/Util/hkSerializeUtil.inl | aditgoyal19/Tropical-Go-Kart-Bananas | ed3c0489402f8a559c77b56545bd8ebc79c4c563 | [
"MIT"
] | null | null | null | GameJam_v3.2/GameEngineBase/externals/Havok/includes/Source/Common/Serialize/Util/hkSerializeUtil.inl | aditgoyal19/Tropical-Go-Kart-Bananas | ed3c0489402f8a559c77b56545bd8ebc79c4c563 | [
"MIT"
] | null | null | null | GameJam_v3.2/GameEngineBase/externals/Havok/includes/Source/Common/Serialize/Util/hkSerializeUtil.inl | aditgoyal19/Tropical-Go-Kart-Bananas | ed3c0489402f8a559c77b56545bd8ebc79c4c563 | [
"MIT"
] | null | null | null | /*
*
* Confidential Information of Telekinesys Research Limited (t/a Havok). Not for disclosure or distribution without Havok's
* prior written consent. This software contains code, techniques and know-how which is confidential and proprietary to Havok.
* Product and Trade Secret source code contains trade secrets ... | 27.555556 | 251 | 0.752688 | aditgoyal19 |
515735327c1936253e75e36d3ec0fa85a60084a1 | 873 | cpp | C++ | InterviewBit/Backtracking/Subset.cpp | vatsalag09/CompetitiveProgramming | ce57d9381404377790482f2b8e8b4b7b0a5fdd49 | [
"MIT"
] | null | null | null | InterviewBit/Backtracking/Subset.cpp | vatsalag09/CompetitiveProgramming | ce57d9381404377790482f2b8e8b4b7b0a5fdd49 | [
"MIT"
] | null | null | null | InterviewBit/Backtracking/Subset.cpp | vatsalag09/CompetitiveProgramming | ce57d9381404377790482f2b8e8b4b7b0a5fdd49 | [
"MIT"
] | 3 | 2020-10-06T02:57:41.000Z | 2020-10-20T06:54:04.000Z | int subsetHelper(vector<int> &A, vector<vector<int>> &output, int i){
if(A.size() == i){
vector<int> x;
output.push_back(x);
return 1;
}
int smallOutput = subsetHelper(A, output, i+1);
for(int j = 0; j<smallOutput; j++){
vector<int> smallSubset;
s... | 24.942857 | 70 | 0.520046 | vatsalag09 |
516021458833e6e4d27114e9230d7f5707d6843f | 2,901 | cpp | C++ | cmod/unittests/axi/AxiAddRemoveWRespTop/testbench.cpp | ain2108/matchlib | 0b5d9c4f3f7c4dd3c24ae69810c11b3763d69657 | [
"Apache-2.0"
] | 165 | 2019-03-18T18:00:39.000Z | 2022-03-25T13:24:31.000Z | cmod/unittests/axi/AxiAddRemoveWRespTop/testbench.cpp | changkaiyan/matchlib | 1858eba8a537fbcc9dc7d80fc348dee40df88de6 | [
"Apache-2.0"
] | 5 | 2019-10-09T01:51:09.000Z | 2022-03-22T17:20:30.000Z | cmod/unittests/axi/AxiAddRemoveWRespTop/testbench.cpp | changkaiyan/matchlib | 1858eba8a537fbcc9dc7d80fc348dee40df88de6 | [
"Apache-2.0"
] | 37 | 2019-03-22T21:19:30.000Z | 2022-02-25T03:13:29.000Z | /*
* Copyright (c) 2017-2019, NVIDIA CORPORATION. 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
*
* Unles... | 24.378151 | 75 | 0.65736 | ain2108 |
5160b2a3d3a17489385a7e1be0312344572e0e37 | 1,066 | cpp | C++ | Chapter_04/Source/Chapter_04/UECookbookGameModeBase.cpp | CoolHandNick80/Unreal-Engine-4.x-Scripting-with-C-Cookbook---Second-edition | 4ceb7a6f61cb9e1301def08a4a0aa1759c0659be | [
"MIT"
] | 1 | 2020-10-26T10:11:26.000Z | 2020-10-26T10:11:26.000Z | Chapter_04/Source/Chapter_04/UECookbookGameModeBase.cpp | CoolHandNick80/Unreal-Engine-4.x-Scripting-with-C-Cookbook---Second-edition | 4ceb7a6f61cb9e1301def08a4a0aa1759c0659be | [
"MIT"
] | null | null | null | Chapter_04/Source/Chapter_04/UECookbookGameModeBase.cpp | CoolHandNick80/Unreal-Engine-4.x-Scripting-with-C-Cookbook---Second-edition | 4ceb7a6f61cb9e1301def08a4a0aa1759c0659be | [
"MIT"
] | 1 | 2020-10-26T10:11:36.000Z | 2020-10-26T10:11:36.000Z | // Fill out your copyright notice in the Description page of Project Settings.
#include "UECookbookGameModeBase.h"
#include "MyFirstActor.h" // AMyFirstActor
void AUECookbookGameModeBase::BeginPlay()
{
// Call the parent class version of this function
Super::BeginPlay();
// Displays a red message on the screen fo... | 30.457143 | 98 | 0.717636 | CoolHandNick80 |
51615fa0689457d5d55cd589ae6a3e2045316658 | 2,574 | cpp | C++ | Space Harrier Clone/Engine/Collider.cpp | BrunoAOR/Space-Harrier-Clone | 35465ad2d421f69a75a02855627c8ea726b248c6 | [
"MIT"
] | 12 | 2018-12-07T16:05:02.000Z | 2021-09-06T01:46:50.000Z | Potato Engine/Engine/Collider.cpp | BrunoAOR/Potato-Engine | 7395f7b10c6a7537c7880194c4b61ee001dc8372 | [
"MIT"
] | null | null | null | Potato Engine/Engine/Collider.cpp | BrunoAOR/Potato-Engine | 7395f7b10c6a7537c7880194c4b61ee001dc8372 | [
"MIT"
] | 1 | 2020-06-03T03:37:27.000Z | 2020-06-03T03:37:27.000Z | #include "Collider.h"
#include "GameObject.h"
#include "Transform.h"
#include "Behaviour.h"
#include "ComponentType.h"
#include "CollisionInfo.h"
#include "CollidersManager.h"
Collider::Collider() : offset(0, 0), isStatic(false), isTrigger(false), m_collisionLayer("default"), zIndex(0)
{
m_type = ComponentType::COL... | 20.267717 | 110 | 0.732712 | BrunoAOR |
5162ad762e73112e0f6143d738d20a684a31b420 | 14,723 | cpp | C++ | lib/CodeGen/Analysis.cpp | nettrino/IntFlow | 0400aef5da2c154268d8b020e393c950435395b3 | [
"Unlicense"
] | 16 | 2015-09-08T08:49:11.000Z | 2019-07-20T14:46:20.000Z | lib/CodeGen/Analysis.cpp | nettrino/IntFlow | 0400aef5da2c154268d8b020e393c950435395b3 | [
"Unlicense"
] | 1 | 2019-02-10T08:27:48.000Z | 2019-02-10T08:27:48.000Z | lib/CodeGen/Analysis.cpp | nettrino/IntFlow | 0400aef5da2c154268d8b020e393c950435395b3 | [
"Unlicense"
] | 7 | 2016-05-26T17:31:46.000Z | 2020-11-04T06:39:23.000Z | //===-- Analysis.cpp - CodeGen LLVM IR Analysis Utilities -----------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | 39.684636 | 80 | 0.658765 | nettrino |
5166dd92dbb37164e9abb2c758d19b9fe2d91367 | 3,263 | hpp | C++ | galaxy/src/galaxy/graphics/RenderTexture.hpp | DomRe/galaxy | dbffcbe3ff1ea0f1cb1f23a554b13be0eb681a57 | [
"Apache-2.0"
] | 19 | 2020-02-02T16:36:46.000Z | 2021-12-25T07:02:28.000Z | galaxy/src/galaxy/graphics/RenderTexture.hpp | DomRe/galaxy | dbffcbe3ff1ea0f1cb1f23a554b13be0eb681a57 | [
"Apache-2.0"
] | 103 | 2020-10-13T09:03:42.000Z | 2022-03-26T03:41:50.000Z | galaxy/src/galaxy/graphics/RenderTexture.hpp | DomRe/galaxy | dbffcbe3ff1ea0f1cb1f23a554b13be0eb681a57 | [
"Apache-2.0"
] | 5 | 2020-03-13T06:14:37.000Z | 2021-12-12T02:13:46.000Z | ///
/// RenderTexture.hpp
/// galaxy
///
/// Refer to LICENSE.txt for more details.
///
#ifndef GALAXY_GRAPHICS_RENDERTEXTURE_HPP_
#define GALAXY_GRAPHICS_RENDERTEXTURE_HPP_
#include <glm/gtc/matrix_transform.hpp>
#include "galaxy/graphics/Framebuffer.hpp"
namespace galaxy
{
namespace core
{
class Window;
} //... | 20.267081 | 107 | 0.617223 | DomRe |
516d55a5d7f53c5508a4f7948a1412075a711257 | 6,536 | cpp | C++ | Testing/Base/albaEventBroadcasterTest.cpp | IOR-BIC/ALBA | b574968b05d9a3a2756dd2ac61d015a0d20232a4 | [
"Apache-2.0",
"BSD-3-Clause"
] | 9 | 2018-11-19T10:15:29.000Z | 2021-08-30T11:52:07.000Z | Testing/Base/albaEventBroadcasterTest.cpp | IOR-BIC/ALBA | b574968b05d9a3a2756dd2ac61d015a0d20232a4 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | Testing/Base/albaEventBroadcasterTest.cpp | IOR-BIC/ALBA | b574968b05d9a3a2756dd2ac61d015a0d20232a4 | [
"Apache-2.0",
"BSD-3-Clause"
] | 3 | 2018-06-10T22:56:29.000Z | 2019-12-12T06:22:56.000Z | /*=========================================================================
Program: ALBA (Agile Library for Biomedical Applications)
Module: albaEventBroadcasterTest
Authors: Roberto Mucci
Copyright (c) BIC
All rights reserved. See Copyright.txt or
This software is distributed WITHOUT ANY WARRANTY; without ... | 29.574661 | 84 | 0.53519 | IOR-BIC |
516de200427e4747bd8305af4d686624cf9af241 | 4,591 | cpp | C++ | codevita/dOLD.cpp | unknown1924/my-code-backup | 13e52870c91351d37b89b52787e2e315230a921b | [
"Apache-2.0"
] | null | null | null | codevita/dOLD.cpp | unknown1924/my-code-backup | 13e52870c91351d37b89b52787e2e315230a921b | [
"Apache-2.0"
] | null | null | null | codevita/dOLD.cpp | unknown1924/my-code-backup | 13e52870c91351d37b89b52787e2e315230a921b | [
"Apache-2.0"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
// strings at index 0 is not used, it is to make array
// indexing simple
string one[] = { "", "one ", "two ", "three ", "four ",
"five ", "six ", "seven ", "eight ",
"nine ", "ten ", "eleven ", "twelve ",
"thirteen ", "fourteen ", "fifteen ",
"sixteen ", "... | 34.518797 | 1,190 | 0.578523 | unknown1924 |
51719cf8bad2699e2d4493f26e35bba645b2f008 | 3,022 | hpp | C++ | FGUI/widgets/container.hpp | NulledC0de/fgui | 82f45694d371b72e930dd1d283360a0f50d8ab09 | [
"MIT"
] | null | null | null | FGUI/widgets/container.hpp | NulledC0de/fgui | 82f45694d371b72e930dd1d283360a0f50d8ab09 | [
"MIT"
] | null | null | null | FGUI/widgets/container.hpp | NulledC0de/fgui | 82f45694d371b72e930dd1d283360a0f50d8ab09 | [
"MIT"
] | null | null | null | //
// FGUI - feature rich graphical user interface
//
#ifndef FGUI_CONTAINER_HH
#define FGUI_CONTAINER_HH
// includes
#include <vector>
#include <iomanip>
// library includes
#include "widgets.hpp"
namespace FGUI
{
class CContainer : public FGUI::CWidgets
{
public:
CContainer();
// @brief: handle con... | 29.920792 | 115 | 0.683322 | NulledC0de |
517a5c587462ecf75279b080394f2f2f4aac67a5 | 460 | cpp | C++ | extra/news/src/apk/hgdm/phr-graph/phr-graph-core/token/phr-graph-block-info.cpp | scignscape/PGVM | e24f46cdf657a8bdb990c7883c6bd3d0a0c9cff0 | [
"BSL-1.0"
] | null | null | null | extra/news/src/apk/hgdm/phr-graph/phr-graph-core/token/phr-graph-block-info.cpp | scignscape/PGVM | e24f46cdf657a8bdb990c7883c6bd3d0a0c9cff0 | [
"BSL-1.0"
] | null | null | null | extra/news/src/apk/hgdm/phr-graph/phr-graph-core/token/phr-graph-block-info.cpp | scignscape/PGVM | e24f46cdf657a8bdb990c7883c6bd3d0a0c9cff0 | [
"BSL-1.0"
] | null | null | null |
// Copyright Nathaniel Christen 2019.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#include "phr-graph-block-info.h"
#include <QRegularExpression>
#include <QDebug>
#include "rzns... | 20 | 62 | 0.719565 | scignscape |
517d6b328d02c7bae76efb52fa90a16591b86662 | 4,191 | cpp | C++ | library/L2_HAL/io/parallel_bus/test/parallel_gpio_test.cpp | diarkia124/SJSU-Dev2 | 3385f034690d281c2720e17b0a6bdbe51a65113c | [
"Apache-2.0"
] | 1 | 2019-08-02T04:32:53.000Z | 2019-08-02T04:32:53.000Z | library/L2_HAL/io/parallel_bus/test/parallel_gpio_test.cpp | diarkia124/SJSU-Dev2 | 3385f034690d281c2720e17b0a6bdbe51a65113c | [
"Apache-2.0"
] | null | null | null | library/L2_HAL/io/parallel_bus/test/parallel_gpio_test.cpp | diarkia124/SJSU-Dev2 | 3385f034690d281c2720e17b0a6bdbe51a65113c | [
"Apache-2.0"
] | null | null | null | #include <iterator>
#include "L1_Peripheral/pin.hpp"
#include "L1_Peripheral/gpio.hpp"
#include "L2_HAL/io/parallel_bus/parallel_gpio.hpp"
#include "L4_Testing/testing_frameworks.hpp"
namespace sjsu
{
namespace
{
Mock<sjsu::Gpio> mock_gpio0;
Mock<sjsu::Gpio> mock_gpio1;
Mock<sjsu::Gpio> mock_gpio2;
Mock<sjsu::Gpio> m... | 31.511278 | 80 | 0.703412 | diarkia124 |
517e80a2ce4406cb87103ca7cef3b5dcfbf8cd99 | 3,280 | cpp | C++ | Matrices/search.cpp | krayong/DS---Algo | 5105dab434fa59580b4068e64468a4a37245d763 | [
"Apache-2.0"
] | 2 | 2021-01-30T08:50:12.000Z | 2021-05-30T19:56:53.000Z | Matrices/search.cpp | krayong/Data-Structures-and-Algorithms | 5105dab434fa59580b4068e64468a4a37245d763 | [
"Apache-2.0"
] | null | null | null | Matrices/search.cpp | krayong/Data-Structures-and-Algorithms | 5105dab434fa59580b4068e64468a4a37245d763 | [
"Apache-2.0"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
/*************************************************************************************************************
*
* Link : https://leetcode.com/problems/search-a-2d-matrix/
* Description:
Write an efficient algorithm tha... | 27.79661 | 110 | 0.431707 | krayong |
517edf031eec5040ad8b5f9eeed197254d24db8a | 649 | hpp | C++ | iOS Native App/ProgrammingLanguages/Student.hpp | StarbuckBG/CrossPlatformMobileAppExample | 0b681097084bb566d408b059c299f3b1ea8b1089 | [
"MIT"
] | null | null | null | iOS Native App/ProgrammingLanguages/Student.hpp | StarbuckBG/CrossPlatformMobileAppExample | 0b681097084bb566d408b059c299f3b1ea8b1089 | [
"MIT"
] | null | null | null | iOS Native App/ProgrammingLanguages/Student.hpp | StarbuckBG/CrossPlatformMobileAppExample | 0b681097084bb566d408b059c299f3b1ea8b1089 | [
"MIT"
] | null | null | null | //
// Student.hpp
// ProgrammingLanguages
//
// Created by Martin Kuvandzhiev on 9/11/17.
// Copyright © 2017 Rapid Development Crew. All rights reserved.
//
#ifndef Student_hpp
#define Student_hpp
#include <stdio.h>
#include "Person.hpp"
class Student:public Person{
public:
float averageMark;
int grade;... | 22.37931 | 114 | 0.701079 | StarbuckBG |
51818b85870b5c7d26908c187e81aee54105784a | 2,844 | cpp | C++ | C++/vbHmm_Class.cpp | okamoto-kenji/varBayes-HMM | 77afe3c336c9e1ebeb115ca4f0b2bc25060556bd | [
"MIT"
] | 7 | 2016-03-31T06:59:00.000Z | 2019-11-01T06:35:57.000Z | C++/vbHmm_Class.cpp | okamoto-kenji/varBayes-HMM | 77afe3c336c9e1ebeb115ca4f0b2bc25060556bd | [
"MIT"
] | null | null | null | C++/vbHmm_Class.cpp | okamoto-kenji/varBayes-HMM | 77afe3c336c9e1ebeb115ca4f0b2bc25060556bd | [
"MIT"
] | null | null | null | /*
* vbHmm_Class.cpp
* Common VB-HMM classes.
* Reference:
* Christopher M. Bishop, "Pattern Recognition and Machine Learning", Springer, 2006
*
* Created by OKAMOTO Kenji, SAKO Yasushi and RIKEN
* Copyright 2011-2018
* Cellular Informatics Laboratory, Advance Science Institute, RIKEN, Japan.
* All ... | 19.613793 | 87 | 0.566807 | okamoto-kenji |
3d64687f29d518a5ddd2894cea2f4b8e9ab645f8 | 5,258 | cpp | C++ | src/renderer/Sm.cpp | galek/anki-3d-engine | 2b12968d8f2ca44d2aeb7480a4b8e63f7703ae75 | [
"BSD-3-Clause"
] | 1 | 2016-09-29T06:39:41.000Z | 2016-09-29T06:39:41.000Z | src/renderer/Sm.cpp | galek/anki-3d-engine | 2b12968d8f2ca44d2aeb7480a4b8e63f7703ae75 | [
"BSD-3-Clause"
] | null | null | null | src/renderer/Sm.cpp | galek/anki-3d-engine | 2b12968d8f2ca44d2aeb7480a4b8e63f7703ae75 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (C) 2014, Panagiotis Christopoulos Charitos.
// All rights reserved.
// Code licensed under the BSD License.
// http://www.anki3d.org/LICENSE
#include "anki/renderer/Sm.h"
#include "anki/renderer/Renderer.h"
#include "anki/core/App.h"
#include "anki/core/Counters.h"
#include "anki/scene/SceneGraph.h"
#inc... | 23.061404 | 80 | 0.641689 | galek |
3d650a93e74204900df5de2c605a699c26771cba | 31,098 | cpp | C++ | src/mesh.cpp | FaultyRAM/MuckyFoot-UrbanChaos | 45c9553189f80785a4ea0ec34b960d864782155b | [
"MIT"
] | 5 | 2017-10-02T00:20:06.000Z | 2021-07-09T10:00:18.000Z | src/mesh.cpp | FaultyRAM/MuckyFoot-UrbanChaos | 45c9553189f80785a4ea0ec34b960d864782155b | [
"MIT"
] | null | null | null | src/mesh.cpp | FaultyRAM/MuckyFoot-UrbanChaos | 45c9553189f80785a4ea0ec34b960d864782155b | [
"MIT"
] | null | null | null | //
// Drawing rotating prims.
//
#include <fallen/game.h>
#include <ddengine/aeng.h>
#include <ddengine/matrix.h>
#include <ddengine/mesh.h>
#include <fallen/night.h>
#include <fallen/light.h>
#include <ddengine/poly.h>
#include <fallen/animtmap.h>
#include <fallen/morph.h>
#include <math.h>
#define POLY_FLAG_GOURAD ... | 19.53392 | 99 | 0.551257 | FaultyRAM |
3d681e09a24f34f8693a46095c06a82e7ed4175d | 2,184 | cpp | C++ | tests/nnti/cpp-api/NntiLoggerClassTest.cpp | faodel/faodel | ef2bd8ff335433e695eb561d7ecd44f233e58bf0 | [
"MIT"
] | 2 | 2019-01-25T21:21:07.000Z | 2021-04-29T17:24:00.000Z | tests/nnti/cpp-api/NntiLoggerClassTest.cpp | faodel/faodel | ef2bd8ff335433e695eb561d7ecd44f233e58bf0 | [
"MIT"
] | 8 | 2018-10-09T14:35:30.000Z | 2020-09-30T20:09:42.000Z | tests/nnti/cpp-api/NntiLoggerClassTest.cpp | faodel/faodel | ef2bd8ff335433e695eb561d7ecd44f233e58bf0 | [
"MIT"
] | 2 | 2019-04-23T19:01:36.000Z | 2021-05-11T07:44:55.000Z | // Copyright 2021 National Technology & Engineering Solutions of Sandia, LLC
// (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S.
// Government retains certain rights in this software.
#include "nnti/nnti_pch.hpp"
#include "nnti/nntiConfig.h"
#include <unistd.h>
#include <string.h>
#include <pt... | 42 | 121 | 0.710165 | faodel |
3d68680666f6b1a9587763cbb0897d1638a7611a | 1,843 | cpp | C++ | src/workers/src/workers_router.cpp | maxerMU/db-course | 3927f1cf0ccb2a937d571626dcc42d725a89d3f6 | [
"Apache-2.0"
] | null | null | null | src/workers/src/workers_router.cpp | maxerMU/db-course | 3927f1cf0ccb2a937d571626dcc42d725a89d3f6 | [
"Apache-2.0"
] | null | null | null | src/workers/src/workers_router.cpp | maxerMU/db-course | 3927f1cf0ccb2a937d571626dcc42d725a89d3f6 | [
"Apache-2.0"
] | null | null | null | #include "workers_router.h"
#include <iostream>
std::shared_ptr<BaseCommand> WorkersRouter::route_req(const std::string& target,
const method_t& method) {
RequestParams static_params{target, method};
std::shared_ptr<BaseCommandCreator> creator;
if (static_ro... | 32.910714 | 80 | 0.704286 | maxerMU |
3d6a7a2afbae822131cf1920a6ff51d7e2ecded2 | 9,498 | cc | C++ | test/common/upstream/maglev_lb_test.cc | pandaamanda/envoy | 2bda6297e40605f806c76c75feb60bd1050f7cfe | [
"Apache-2.0"
] | 2 | 2019-12-06T16:53:50.000Z | 2021-04-04T08:40:14.000Z | test/common/upstream/maglev_lb_test.cc | davidben/envoy | a41d55b98de91c316ccc3d638578e7a3933574c0 | [
"Apache-2.0"
] | null | null | null | test/common/upstream/maglev_lb_test.cc | davidben/envoy | a41d55b98de91c316ccc3d638578e7a3933574c0 | [
"Apache-2.0"
] | null | null | null | #include "common/upstream/maglev_lb.h"
#include "test/common/upstream/utility.h"
#include "test/mocks/upstream/mocks.h"
namespace Envoy {
namespace Upstream {
class TestLoadBalancerContext : public LoadBalancerContext {
public:
TestLoadBalancerContext(uint64_t hash_key) : hash_key_(hash_key) {}
// Upstream::Loa... | 40.939655 | 97 | 0.653717 | pandaamanda |
3d6bbcde9a5a229920d2903958d1795a14c55d09 | 471 | hpp | C++ | Jackal/Source/Core/Public/Core/Win32/Win32Config.hpp | CheezBoiger/Jackal | 6c87bf19f6c1cd63f53c815820b32fc71b48bf77 | [
"MIT"
] | null | null | null | Jackal/Source/Core/Public/Core/Win32/Win32Config.hpp | CheezBoiger/Jackal | 6c87bf19f6c1cd63f53c815820b32fc71b48bf77 | [
"MIT"
] | null | null | null | Jackal/Source/Core/Public/Core/Win32/Win32Config.hpp | CheezBoiger/Jackal | 6c87bf19f6c1cd63f53c815820b32fc71b48bf77 | [
"MIT"
] | null | null | null | // Copyright (c) 2017 Jackal Engine, MIT License.
#pragma once
#include "Core/Platform/Platform.hpp"
#include "Core/Platform/JTypes.hpp"
#include "Core/Platform/Api.hpp"
#if (JACKAL_PLATFORM == JACKAL_WINDOWS)
#define WIN32_LEAN_AND_MEAN
#include <Windows.h>
#if defined(WIN32_NETWORKING)
#include <WinSock2.h>
... | 20.478261 | 96 | 0.747346 | CheezBoiger |
3d6be146471a757b85a829f20f2e2078189bcf1a | 8,036 | hpp | C++ | include/codegen/include/GlobalNamespace/MissionResultsViewController.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 1 | 2021-11-12T09:29:31.000Z | 2021-11-12T09:29:31.000Z | include/codegen/include/GlobalNamespace/MissionResultsViewController.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | null | null | null | include/codegen/include/GlobalNamespace/MissionResultsViewController.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 2 | 2021-10-03T02:14:20.000Z | 2021-11-12T09:29:36.000Z | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
#pragma pack(push, 8)
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
// Including type: HMUI.ViewController
#include "HMUI/ViewController.hpp"
... | 44.893855 | 142 | 0.764684 | Futuremappermydud |
3d7714cd56a74dd4d9044eec0c7f8dfc7c7091c1 | 4,403 | cpp | C++ | src/ivorium_core/Instancing/Instance.cpp | ivorne/ivorium | 1d876b6dcabe29b3110d3058f997e59c40cd6a2b | [
"Apache-2.0"
] | 3 | 2021-02-26T02:59:09.000Z | 2022-02-08T16:44:21.000Z | src/ivorium_core/Instancing/Instance.cpp | ivorne/ivorium | 1d876b6dcabe29b3110d3058f997e59c40cd6a2b | [
"Apache-2.0"
] | null | null | null | src/ivorium_core/Instancing/Instance.cpp | ivorne/ivorium | 1d876b6dcabe29b3110d3058f997e59c40cd6a2b | [
"Apache-2.0"
] | null | null | null | #include "Instance.hpp"
#include "instance_ptr.hpp"
#include "DebugInstanceListener.hpp"
#include "SystemContainer.hpp"
#include "../DebugView/TextDebugView.hpp"
namespace iv
{
Instance::Instance( const SystemContainer * sc ) :
sc( sc ),
sc_dup( nullptr ),
os( nullptr ),
_instance_name(),
_paren... | 22.579487 | 163 | 0.584829 | ivorne |
3d79c4a53b089fdb4be562745b52d696e7040c0f | 4,214 | cpp | C++ | lib/nw/util/game_install.cpp | jd28/libnw | 15bcb23cf3ef221296b026ad8ce2909044282f2b | [
"MIT"
] | null | null | null | lib/nw/util/game_install.cpp | jd28/libnw | 15bcb23cf3ef221296b026ad8ce2909044282f2b | [
"MIT"
] | null | null | null | lib/nw/util/game_install.cpp | jd28/libnw | 15bcb23cf3ef221296b026ad8ce2909044282f2b | [
"MIT"
] | null | null | null | #include "game_install.hpp"
#include "../log.hpp"
#include "platform.hpp"
#include <nlohmann/json.hpp>
#include <nowide/cstdlib.hpp>
#include <fstream>
#include <string>
#include <vector>
namespace fs = std::filesystem;
namespace nw {
static std::vector<std::filesystem::path> install_paths
{
#if defined(LIBNW_OS_... | 30.316547 | 121 | 0.599193 | jd28 |
3d7a6a770e303a10e8c53c2b009bd46805abcee2 | 67 | cpp | C++ | DDrawCompat/Dll/Procs.cpp | Patraskon/Discord-Times-fix | 7c9e0696d70af1064104ade59379d41cc40c7d3a | [
"0BSD"
] | 2 | 2019-01-05T15:37:08.000Z | 2020-07-09T07:11:08.000Z | DDrawCompat/Dll/Procs.cpp | Patraskon/Discord-Times-fix | 7c9e0696d70af1064104ade59379d41cc40c7d3a | [
"0BSD"
] | null | null | null | DDrawCompat/Dll/Procs.cpp | Patraskon/Discord-Times-fix | 7c9e0696d70af1064104ade59379d41cc40c7d3a | [
"0BSD"
] | 2 | 2018-04-22T19:27:52.000Z | 2020-10-20T13:02:32.000Z | #include "Dll/Procs.h"
namespace Dll
{
Procs g_origProcs = {};
}
| 9.571429 | 24 | 0.656716 | Patraskon |
3d7ad129cb9994a9c476f531cc5f2dde03836fdf | 1,724 | cpp | C++ | ray-tracing-series/src/camera.cpp | griby/ray-tracing-series | dec4fe8720384ad876165fd6a64b6c8d6617a00f | [
"MIT"
] | null | null | null | ray-tracing-series/src/camera.cpp | griby/ray-tracing-series | dec4fe8720384ad876165fd6a64b6c8d6617a00f | [
"MIT"
] | null | null | null | ray-tracing-series/src/camera.cpp | griby/ray-tracing-series | dec4fe8720384ad876165fd6a64b6c8d6617a00f | [
"MIT"
] | null | null | null | /**
* MIT License
* Copyright (c) 2019 Guillaume Riby <guillaumeriby@gmail.com>
*
* GitHub repository - https://github.com/griby/ray-tracing-series
*
* A ray tracer implementation based on the Ray Tracing in One Weekend Book Series by Peter Shirley - https://raytracing.github.io/
*/
#include "camera.h"
#includ... | 37.478261 | 131 | 0.648492 | griby |
3d7b6c5e7d1cc491aea74eb272f00fe93c240daf | 12,193 | hpp | C++ | src/lm.hpp | HighwayStar/pyMilne | 630fa3715347584980f2a997f7848179bc3847e9 | [
"MIT"
] | 10 | 2020-06-16T08:37:22.000Z | 2020-07-17T23:48:54.000Z | src/lm.hpp | HighwayStar/pyMilne | 630fa3715347584980f2a997f7848179bc3847e9 | [
"MIT"
] | null | null | null | src/lm.hpp | HighwayStar/pyMilne | 630fa3715347584980f2a997f7848179bc3847e9 | [
"MIT"
] | 5 | 2020-09-25T13:27:42.000Z | 2022-01-28T18:57:13.000Z | #ifndef LMHPP
#define LMHPP
/* -------------------------------------------------------
Levenberg Marquardt algorithm
Coded by J. de la Cruz Rodriguez (ISP-SU, 2020)
------------------------------------------------------- */
#include <vector>
#include <iostream>
#include <cmath>
#include <algorithm>
#... | 24.883673 | 313 | 0.523743 | HighwayStar |
3d80f3bcd2dd295bab4e7b0b6401ba69e76f26fc | 1,317 | hpp | C++ | source/hougl/include/hou/gl/gl_functions.hpp | DavideCorradiDev/houzi-game-engine | d704aa9c5b024300578aafe410b7299c4af4fcec | [
"MIT"
] | 2 | 2018-04-12T20:59:20.000Z | 2018-07-26T16:04:07.000Z | source/hougl/include/hou/gl/gl_functions.hpp | DavideCorradiDev/houzi-game-engine | d704aa9c5b024300578aafe410b7299c4af4fcec | [
"MIT"
] | null | null | null | source/hougl/include/hou/gl/gl_functions.hpp | DavideCorradiDev/houzi-game-engine | d704aa9c5b024300578aafe410b7299c4af4fcec | [
"MIT"
] | null | null | null | // Houzi Game Engine
// Copyright (c) 2018 Davide Corradi
// Licensed under the MIT license.
#ifndef HOU_GL_UTILS_HPP
#define HOU_GL_UTILS_HPP
#include "hou/gl/open_gl.hpp"
#include "hou/gl/gl_config.hpp"
#include "hou/mth/rectangle_fwd.hpp"
namespace hou
{
class window;
namespace gl
{
HOU_GL_API const GLubyt... | 25.326923 | 80 | 0.795748 | DavideCorradiDev |
3d858a8915d2f2df2f825c7a2006fe1ebfe3e444 | 2,840 | cpp | C++ | Code/Tools/Libs/GuiFoundation/Widgets/Implementation/CollapsibleGroupBox.cpp | alinoctavian/ezEngine | 0312c8d777c05ac58911f3fa879e4fd7efcfcb66 | [
"MIT"
] | null | null | null | Code/Tools/Libs/GuiFoundation/Widgets/Implementation/CollapsibleGroupBox.cpp | alinoctavian/ezEngine | 0312c8d777c05ac58911f3fa879e4fd7efcfcb66 | [
"MIT"
] | null | null | null | Code/Tools/Libs/GuiFoundation/Widgets/Implementation/CollapsibleGroupBox.cpp | alinoctavian/ezEngine | 0312c8d777c05ac58911f3fa879e4fd7efcfcb66 | [
"MIT"
] | 1 | 2022-03-28T15:57:46.000Z | 2022-03-28T15:57:46.000Z | #include <GuiFoundationPCH.h>
#include <GuiFoundation/UIServices/UIServices.moc.h>
#include <GuiFoundation/Widgets/CollapsibleGroupBox.moc.h>
#include <QMouseEvent>
#include <QPainter>
#include <QScrollArea>
ezQtCollapsibleGroupBox::ezQtCollapsibleGroupBox(QWidget* pParent)
: ezQtGroupBoxBase(pParent, true)
, m_b... | 22.539683 | 73 | 0.71338 | alinoctavian |
3d87471ffced3db2a951c0ffb47f26dfc4819341 | 5,230 | cc | C++ | src/san.cc | morinim/joker | 83fb1faf4d1d691f337102d869a7e488c3dd4b88 | [
"MIT"
] | null | null | null | src/san.cc | morinim/joker | 83fb1faf4d1d691f337102d869a7e488c3dd4b88 | [
"MIT"
] | null | null | null | src/san.cc | morinim/joker | 83fb1faf4d1d691f337102d869a7e488c3dd4b88 | [
"MIT"
] | null | null | null | /*
* San.cc
*/
#include "san.h"
namespace Joker
{
//-----------------------------------------------------------------------------
// Id: restituisce il codice del pezzo che ha come simbolo il carattere s.
//-----------------------------------------------------------------------------
pezzo san::id(char s)
{
pe... | 24.904762 | 79 | 0.437667 | morinim |
3d87ca1346d5604d35e9dfa45acf6f02880bc5ab | 100 | hpp | C++ | C++/Cpp-Templates-Second-Edition/chapters/include/chapters/chapter5.hpp | danpeczek/tech-cookbook | c22f499147524dfd58a253bdb9d4ab89e0004475 | [
"MIT"
] | 1 | 2020-11-06T18:42:05.000Z | 2020-11-06T18:42:05.000Z | C++/Cpp-Templates-Second-Edition/chapters/include/chapters/chapter5.hpp | danpeczek/tech-cookbook | c22f499147524dfd58a253bdb9d4ab89e0004475 | [
"MIT"
] | 45 | 2020-11-03T10:46:52.000Z | 2022-03-14T21:08:21.000Z | C++/Cpp-Templates-Second-Edition/chapters/include/chapters/chapter5.hpp | danpeczek/tech-cookbook | c22f499147524dfd58a253bdb9d4ab89e0004475 | [
"MIT"
] | null | null | null | #ifndef CHAPTER5_HPP
#define CHAPTER5_HPP
namespace chapters {
void runChapter5();
}
#endif | 12.5 | 26 | 0.73 | danpeczek |
3d8e6ddc752d21aedb084a89c619d55005992b31 | 748 | cpp | C++ | examples/example_optionalize_function.cpp | ahhz/raster | 7443e21ee7919085e44b4585f65dca974ed23722 | [
"MIT"
] | 49 | 2018-01-22T05:24:49.000Z | 2022-03-07T09:41:40.000Z | examples/example_optionalize_function.cpp | ahhz/raster | 7443e21ee7919085e44b4585f65dca974ed23722 | [
"MIT"
] | 1 | 2018-01-12T11:20:15.000Z | 2018-01-12T11:20:15.000Z | examples/example_optionalize_function.cpp | ahhz/raster | 7443e21ee7919085e44b4585f65dca974ed23722 | [
"MIT"
] | 11 | 2016-05-11T02:04:50.000Z | 2021-12-22T04:49:29.000Z | //example_optionalize_function.cpp
#include <pronto/raster/io.h>
#include <pronto/raster/nodata_transform.h>
#include <pronto/raster/optional.h>
#include <pronto/raster/plot_raster.h>
#include <pronto/raster/transform_raster_view.h>
namespace pr = pronto::raster;
int square(const int& v)
{
return v * v;
}
int mai... | 20.777778 | 81 | 0.687166 | ahhz |
3d9111addbe3f0277872c4065ecbdda57d4a5b3b | 7,341 | cpp | C++ | race_simulation_run/src/object_reset.cpp | buzzer/tams_simulation | 2fcad62a2bbf8f880a627ee546a8414374cdb9bb | [
"BSD-2-Clause"
] | null | null | null | race_simulation_run/src/object_reset.cpp | buzzer/tams_simulation | 2fcad62a2bbf8f880a627ee546a8414374cdb9bb | [
"BSD-2-Clause"
] | null | null | null | race_simulation_run/src/object_reset.cpp | buzzer/tams_simulation | 2fcad62a2bbf8f880a627ee546a8414374cdb9bb | [
"BSD-2-Clause"
] | null | null | null | /*
* 2014-03-11 Sebastian Rockel (rockel@informatik.uni-hamburg.de)
*/
#include <ros/ros.h>
#include "sim_manipulator.h"
#include <std_msgs/Empty.h>
#include <robot_motion_param/MotionParam.h>
#include <robot_motion_param/GetMotionParam.h>
struct MotionParam
{
float max_vel;
float max_acc;
float max_jerk;
};
... | 31.642241 | 108 | 0.640785 | buzzer |
3d937acc00d1dc66bb93fcc2fec515987221e5ff | 1,554 | cpp | C++ | Source/Base/src/InfoFile.cpp | RamilGauss/MMO-Framework | c7c97b019adad940db86d6533861deceafb2ba04 | [
"MIT"
] | 27 | 2015-01-08T08:26:29.000Z | 2019-02-10T03:18:05.000Z | Source/Base/src/InfoFile.cpp | RamilGauss/MMO-Framework | c7c97b019adad940db86d6533861deceafb2ba04 | [
"MIT"
] | 1 | 2017-04-05T02:02:14.000Z | 2017-04-05T02:02:14.000Z | Source/Base/src/InfoFile.cpp | RamilGauss/MMO-Framework | c7c97b019adad940db86d6533861deceafb2ba04 | [
"MIT"
] | 17 | 2015-01-18T02:50:01.000Z | 2019-02-08T21:00:53.000Z | /*
Author: Gudakov Ramil Sergeevich a.k.a. Gauss
Гудаков Рамиль Сергеевич
Contacts: [ramil2085@mail.ru, ramil2085@gmail.com]
See for more information LICENSE.md.
*/
#include "InfoFile.h"
InfoFile::InfoFile()
{
pFile = NULL;
}
//------------------------------------------------------------------
InfoF... | 22.852941 | 69 | 0.415701 | RamilGauss |
3d94b68240f14e6c787edd66915f3d362d7a1d0e | 1,067 | cpp | C++ | kactl/stress-tests/geometry/ConvexHull.cpp | prince776/CodeBook | 874fc7f94011ad1d25a55bcd91fecd2a11eb5a9b | [
"CC0-1.0"
] | 17 | 2021-01-25T12:07:17.000Z | 2022-02-26T17:20:31.000Z | kactl/stress-tests/geometry/ConvexHull.cpp | NavneelSinghal/CodeBook | ff60ace9107dd19ef8ba81e175003f567d2a9070 | [
"CC0-1.0"
] | null | null | null | kactl/stress-tests/geometry/ConvexHull.cpp | NavneelSinghal/CodeBook | ff60ace9107dd19ef8ba81e175003f567d2a9070 | [
"CC0-1.0"
] | 4 | 2021-02-28T11:13:44.000Z | 2021-11-20T12:56:20.000Z | #include "../utilities/template.h"
#include "../../content/geometry/ConvexHull.h"
#include "../utilities/bench.h"
namespace old {
pair<vi, vi> ulHull(const vector<P>& S) {
vi Q(sz(S)), U, L;
iota(all(Q), 0);
sort(all(Q), [&S](int a, int b){ return S[a] < S[b]; });
for(auto &it: Q) {
#define ADDP(C, cmp) while (sz... | 24.813953 | 62 | 0.52015 | prince776 |
3d96a07db87bff9dbc0bccb7810a883b8c6b5230 | 7,728 | cpp | C++ | Object-Oriented-Programming/Lab6/Object3/Object3.cpp | yehorbk/kpi_programming | c096cd5467c3c165777ba35ab66d953937c5b253 | [
"MIT"
] | 1 | 2020-09-09T11:21:08.000Z | 2020-09-09T11:21:08.000Z | Object-Oriented-Programming/Lab6/Object3/Object3.cpp | yehorbk/kpi_programming | c096cd5467c3c165777ba35ab66d953937c5b253 | [
"MIT"
] | null | null | null | Object-Oriented-Programming/Lab6/Object3/Object3.cpp | yehorbk/kpi_programming | c096cd5467c3c165777ba35ab66d953937c5b253 | [
"MIT"
] | null | null | null | #include "Object3.h"
#include "math.h"
#include <string>
#define MAX_LOADSTRING 100
#define WINDOW_POSX 800
#define WINDOW_POSY 400
#define WINDOW_WIDTH 300
#define WINDOW_HEIGHT 300
// Global Variables
HINSTANCE hInst;
HWND hWnd;
WCHAR szTitle[MAX_LOADSTRING];
WCHAR szWindowClass[MAX_LOADSTRING];
int hWndParent;... | 26.285714 | 100 | 0.555771 | yehorbk |
3d98674a883c7612270b305e26012ad633f7b248 | 15,917 | cpp | C++ | src/theory/quantifiers/first_order_model.cpp | bobot/CVC4 | 63811bc87a07c487c25a566fcabd38cc6d29a61c | [
"BSL-1.0"
] | null | null | null | src/theory/quantifiers/first_order_model.cpp | bobot/CVC4 | 63811bc87a07c487c25a566fcabd38cc6d29a61c | [
"BSL-1.0"
] | null | null | null | src/theory/quantifiers/first_order_model.cpp | bobot/CVC4 | 63811bc87a07c487c25a566fcabd38cc6d29a61c | [
"BSL-1.0"
] | null | null | null | /********************* */
/*! \file first_order_model.cpp
** \verbatim
** Original author: ajreynol
** Major contributors: mdeters
** Minor contributors (to current version): none
** This file is part of the CVC4 prototype.
** Copyright (c) 2009-2012 New Yor... | 34.083512 | 130 | 0.583904 | bobot |
3d9f5c0fe2b13bf1b999db21b1495f614d6a2ffd | 2,099 | cpp | C++ | RTIDPRR/Source/Graphics/Core/Shaders/ShaderParameterTexture.cpp | brunosegiu/RTIDPRR | d7daef7611899db4e23ba6a2b5a91135c57e0871 | [
"MIT"
] | 3 | 2020-12-06T02:22:48.000Z | 2021-06-24T13:52:10.000Z | RTIDPRR/Source/Graphics/Core/Shaders/ShaderParameterTexture.cpp | brunosegiu/RTIDPRR | d7daef7611899db4e23ba6a2b5a91135c57e0871 | [
"MIT"
] | null | null | null | RTIDPRR/Source/Graphics/Core/Shaders/ShaderParameterTexture.cpp | brunosegiu/RTIDPRR | d7daef7611899db4e23ba6a2b5a91135c57e0871 | [
"MIT"
] | 1 | 2021-10-13T10:36:36.000Z | 2021-10-13T10:36:36.000Z | #include "ShaderParameterTexture.h"
#include "../../../Misc/DebugUtils.h"
#include "../Context.h"
using namespace RTIDPRR::Graphics;
ShaderParameterTexture::ShaderParameterTexture(
const SamplerOptions& samplerOptions)
: mTexture(samplerOptions.texture) {
const Device& device = Context::get().getDevice();... | 36.824561 | 80 | 0.704621 | brunosegiu |
3da121ceffac4d9f79b0316a03bdd6195217e739 | 813 | cpp | C++ | examples/http/main.cpp | duckstax/goblin-engineer | e852b9ac4607ecd83d26749bf9acaaad9dba3622 | [
"BSD-3-Clause"
] | 2 | 2020-12-28T10:56:35.000Z | 2021-06-02T18:26:10.000Z | examples/http/main.cpp | cyberduckninja/goblin-engineer | 451ebb5e1ce1cd27198ae13f380aa0458a96cf43 | [
"BSD-3-Clause"
] | 1 | 2021-10-15T08:39:29.000Z | 2021-10-15T08:39:29.000Z | examples/http/main.cpp | duckstax/goblin-engineer | e852b9ac4607ecd83d26749bf9acaaad9dba3622 | [
"BSD-3-Clause"
] | 1 | 2020-12-28T10:49:13.000Z | 2020-12-28T10:49:13.000Z | #include <iostream>
#include <memory>
#include <goblin-engineer/core.hpp>
#include "network_service.hpp"
int main(int /*argc*/, char** /*argv[]*/) {
auto const address = net::ip::make_address("0.0.0.0");
auto const port = static_cast<unsigned short>(9999);
auto const threads = std::max<int>(1, 1);
n... | 27.1 | 122 | 0.619926 | duckstax |
3da385c3ba11a6a8b72412421c605e479929b908 | 611 | cpp | C++ | Basic/1057/Source.cpp | w-ymir/PAT-B | 530e19cf8d0b51e1989a2969e2a7352772e32e85 | [
"MIT"
] | null | null | null | Basic/1057/Source.cpp | w-ymir/PAT-B | 530e19cf8d0b51e1989a2969e2a7352772e32e85 | [
"MIT"
] | null | null | null | Basic/1057/Source.cpp | w-ymir/PAT-B | 530e19cf8d0b51e1989a2969e2a7352772e32e85 | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
using namespace std;
// Count 0s & 1s in binary form of n
pair<int, int> countBits(int n)
{
int zeros = 0, ones = 0;
while (n != 0)
{
if (n % 2 == 0)
++zeros;
else
++ones;
n /= 2;
}
return make_pair(zeros, ones);
}
int main()
{
// Get string.
string str;
getl... | 13.886364 | 52 | 0.548282 | w-ymir |
3da995706b72be950196e54723b3cc4472741d02 | 1,802 | cpp | C++ | integration/test_handshake.cpp | ZmnSCPxj/cldcb | 4375d95cacee2a51fe5c4c1accc9fc616474bd41 | [
"MIT"
] | 9 | 2020-06-02T16:40:40.000Z | 2021-10-03T15:22:40.000Z | integration/test_handshake.cpp | ZmnSCPxj/cldcb | 4375d95cacee2a51fe5c4c1accc9fc616474bd41 | [
"MIT"
] | 2 | 2020-11-06T00:00:24.000Z | 2022-02-14T01:59:08.000Z | integration/test_handshake.cpp | ZmnSCPxj/cldcb | 4375d95cacee2a51fe5c4c1accc9fc616474bd41 | [
"MIT"
] | 2 | 2021-01-02T15:29:50.000Z | 2022-02-23T07:26:00.000Z | #ifdef NDEBUG
#undef NDEBUG
#endif
#include<assert.h>
#include<iostream>
#include<thread>
#include"Daemon/Breaker.hpp"
#include"Daemon/ConnectionHandshaker.hpp"
#include"Ev/Io.hpp"
#include"Ev/start.hpp"
#include"Net/SocketFd.hpp"
#include"Net/make_nonblocking.hpp"
#include"Net/socketpair.hpp"
#include"Noise/Encryptor.... | 22.246914 | 85 | 0.668701 | ZmnSCPxj |
3dab5ac17e3029f41cfe9b077838e16e758bd983 | 11,463 | cpp | C++ | vendor/android-tools/fastboot/usb_windows.cpp | dylanh333/android-unmkbootimg | 7c30a58b5bc3d208fbbbbc713717e2aae98df699 | [
"MIT"
] | 3 | 2018-04-01T18:35:29.000Z | 2020-12-18T21:09:53.000Z | vendor/android-tools/fastboot/usb_windows.cpp | dylanh333/android-unmkbootimg | 7c30a58b5bc3d208fbbbbc713717e2aae98df699 | [
"MIT"
] | 2 | 2017-04-24T12:29:05.000Z | 2017-05-09T12:27:10.000Z | vendor/android-tools/fastboot/usb_windows.cpp | dylanh333/android-unmkbootimg | 7c30a58b5bc3d208fbbbbc713717e2aae98df699 | [
"MIT"
] | null | null | null | /*
* Copyright (C) 2008 The Android Open Source Project
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* * Redistributions of source code must retain the above copyright
* notice, t... | 31.405479 | 94 | 0.623397 | dylanh333 |
3dac40ba78a0cc9dd1803b500645684ec9e68dd2 | 2,712 | cpp | C++ | PortSIPUC/Login/LoginLoadingDlg.cpp | jiaojian8063868/portsip-softphone-windows | df1b6391ff5d074cbc98cb559e52b181ef8e1b17 | [
"BSD-2-Clause"
] | null | null | null | PortSIPUC/Login/LoginLoadingDlg.cpp | jiaojian8063868/portsip-softphone-windows | df1b6391ff5d074cbc98cb559e52b181ef8e1b17 | [
"BSD-2-Clause"
] | null | null | null | PortSIPUC/Login/LoginLoadingDlg.cpp | jiaojian8063868/portsip-softphone-windows | df1b6391ff5d074cbc98cb559e52b181ef8e1b17 | [
"BSD-2-Clause"
] | 2 | 2021-12-31T03:42:48.000Z | 2022-02-20T08:37:41.000Z | #include "StdAfx.h"
#include "LoginLoadingDlg.h"
CLoginLoadingDlg::CLoginLoadingDlg()
{
m_pCanvasLogging = NULL;
}
CLoginLoadingDlg::~CLoginLoadingDlg(void)
{
}
int CLoginLoadingDlg::InitControls()
{
m_pCanvasLogging = (Canvas *)CWLWnd::FromHandle(FindControl(_T("IDC_CANVAS_LOGGING")));
_ASSE... | 21.52381 | 118 | 0.684366 | jiaojian8063868 |
3db4c6d3452b9325050d3935ee62925bf682b9c6 | 4,395 | cpp | C++ | framework/src/loaders/vtkreader.cpp | mariomgck/programacion-c | 0c26b3b516953fe4459bdd5c946617cf9e07ba0c | [
"MIT"
] | null | null | null | framework/src/loaders/vtkreader.cpp | mariomgck/programacion-c | 0c26b3b516953fe4459bdd5c946617cf9e07ba0c | [
"MIT"
] | null | null | null | framework/src/loaders/vtkreader.cpp | mariomgck/programacion-c | 0c26b3b516953fe4459bdd5c946617cf9e07ba0c | [
"MIT"
] | null | null | null | /*
*Copyright 2002
*Center for Biological and Computational Learning at MIT and MIT
*All rights reserved.
*Permission to copy this software, and its documentation only for internal
*research use in your organization is hereby granted, provided that this
*notice is retained thereon and on all copies. A patent prot... | 26.475904 | 77 | 0.626394 | mariomgck |
3dbc9daf36c5995f51fb0441bc30368567a327c5 | 9,644 | cc | C++ | src/Controller.cc | university-of-antarctica/icegammon | c588bb6580549c348091fd7bcb3f58b6ac09a873 | [
"MIT"
] | 1 | 2015-06-17T19:18:28.000Z | 2015-06-17T19:18:28.000Z | src/Controller.cc | university-of-antarctica/icegammon | c588bb6580549c348091fd7bcb3f58b6ac09a873 | [
"MIT"
] | 16 | 2015-05-15T00:54:18.000Z | 2015-05-15T01:13:41.000Z | src/Controller.cc | university-of-antarctica/icegammon | c588bb6580549c348091fd7bcb3f58b6ac09a873 | [
"MIT"
] | null | null | null | #include "../include/Controller.h"
//TODO This class generates turn specific messages, need a method to do that
Controller::Controller(Game* game){
Controller::game = game;
}
void Controller::promptAndPerformRoll(bool test){
//ask activePlayer to roll
queryPlayerForRoll(test);
//actuallyRollTheDice
game->getDice... | 31.009646 | 191 | 0.624119 | university-of-antarctica |
3dbf1896aec24712cca9fd19017569d19af4d6c4 | 1,562 | cpp | C++ | 1209_c.cpp | onexmaster/cp | b78b0f1e586d6977d86c97b32f48fed33f1469af | [
"Apache-2.0",
"MIT"
] | null | null | null | 1209_c.cpp | onexmaster/cp | b78b0f1e586d6977d86c97b32f48fed33f1469af | [
"Apache-2.0",
"MIT"
] | null | null | null | 1209_c.cpp | onexmaster/cp | b78b0f1e586d6977d86c97b32f48fed33f1469af | [
"Apache-2.0",
"MIT"
] | null | null | null | // Created by Tanuj Jain
#include<bits/stdc++.h>
#include<ext/pb_ds/assoc_container.hpp>
#include<ext/pb_ds/tree_policy.hpp>
using namespace std;
using namespace __gnu_pbds;
#define pb push_back
#define mp make_pair
# define M_PI 3.14159265358979323846 /* pi */
#define FIO ios_base::sync_with_stdio(... | 25.606557 | 106 | 0.508963 | onexmaster |
3dbfac1db4ff0dcef4c589e5b093e1ffc8f7ca89 | 456 | hpp | C++ | solid/utility/sharedmutex.hpp | vipalade/solidframe | cff130652127ca9607019b4db508bc67f8bbecff | [
"BSL-1.0"
] | 26 | 2015-08-25T16:07:58.000Z | 2019-07-05T15:21:22.000Z | solid/utility/sharedmutex.hpp | vipalade/solidframe | cff130652127ca9607019b4db508bc67f8bbecff | [
"BSL-1.0"
] | 5 | 2016-10-15T22:55:15.000Z | 2017-09-19T12:41:10.000Z | solid/utility/sharedmutex.hpp | vipalade/solidframe | cff130652127ca9607019b4db508bc67f8bbecff | [
"BSL-1.0"
] | 5 | 2016-09-15T10:34:52.000Z | 2018-10-30T11:46:46.000Z | // solid/utility/sharedmutex.hpp
//
// Copyright (c) 2007, 2008 Valentin Palade (vipalade @ gmail . com)
//
// This file is part of SolidFrame framework.
//
// 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.
//
#pragma... | 24 | 89 | 0.72807 | vipalade |
3dc08d4fc8015da3485b91cb65655e9dd39def2e | 1,144 | hpp | C++ | mod/wrd/src/ast/expr.hpp | kniz/worldlang | 78701ab003c158211d42d129f91259d17febbb22 | [
"MIT"
] | 7 | 2019-03-12T03:04:32.000Z | 2021-12-26T04:33:44.000Z | mod/wrd/src/ast/expr.hpp | kniz/worldlang | 78701ab003c158211d42d129f91259d17febbb22 | [
"MIT"
] | 7 | 2019-02-13T14:01:43.000Z | 2020-11-20T11:09:06.000Z | mod/wrd/src/ast/expr.hpp | kniz/worldlang | 78701ab003c158211d42d129f91259d17febbb22 | [
"MIT"
] | null | null | null | #pragma once
#include "src.hpp"
#include "point.hpp"
struct exprTest;
namespace wrd {
class expr : public node {
public:
class exprType : public wtype {
WRD(ME(exprType, wtype))
public:
using super::asImpli;
str asImpli(const node& from, const type& to) c... | 19.389831 | 74 | 0.500874 | kniz |
3dc27bd1ec8925bbb5cf28b51840ac094630c778 | 3,223 | hpp | C++ | packages/arb-avm-cpp/avm/include/avm/machinestate/machinestate.hpp | sgoldfed/arbitrum | d4dc5a2c596880614d41119a13b90c09922d08de | [
"Apache-2.0"
] | null | null | null | packages/arb-avm-cpp/avm/include/avm/machinestate/machinestate.hpp | sgoldfed/arbitrum | d4dc5a2c596880614d41119a13b90c09922d08de | [
"Apache-2.0"
] | 120 | 2021-02-18T07:19:59.000Z | 2022-03-30T12:08:45.000Z | packages/arb-avm-cpp/avm/include/avm/machinestate/machinestate.hpp | fredlacs/arbitrum | d4dc5a2c596880614d41119a13b90c09922d08de | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2019-2020, Offchain Labs, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 29.568807 | 78 | 0.661185 | sgoldfed |
3dc6407393d08f894bf8324a3cafd5f5c8a12050 | 651 | hpp | C++ | src/CNewTerrainNode.hpp | fr0zi/SCCopter | 1135556bc69cbeeb14a03cf43f2e9e146ab6f88f | [
"MIT"
] | 32 | 2017-01-07T20:37:52.000Z | 2022-02-03T10:39:27.000Z | src/CNewTerrainNode.hpp | fr0zi/SCCopter | 1135556bc69cbeeb14a03cf43f2e9e146ab6f88f | [
"MIT"
] | 2 | 2017-01-08T18:23:02.000Z | 2020-07-18T18:48:15.000Z | src/CNewTerrainNode.hpp | fr0zi/SCCopter | 1135556bc69cbeeb14a03cf43f2e9e146ab6f88f | [
"MIT"
] | 2 | 2017-02-01T03:01:44.000Z | 2019-10-03T01:38:57.000Z | #ifndef CNEWTERRAINNODE_HPP_INCLUDED
#define CNEWTERRAINNODE_HPP_INCLUDED
#include "Includes.hpp"
#include "CMeshNode.hpp"
#include "CWarehouser.hpp"
#include <memory>
class Tile {
public:
Tile();
~Tile();
std::shared_ptr<CMesh> getMesh() { return _mesh; }
private:
std::shared_ptr<CMesh> _mesh;
};... | 18.083333 | 100 | 0.71275 | fr0zi |
3dc90e4e9c27082763f97a01a50dc386053b7fcb | 767 | cpp | C++ | Source/Scripting/bsfScript/Generated/BsScriptSubMesh.generated.cpp | bsf2dev/bsf | b318cd4eb1b0299773d625e6c870b8d503cf539e | [
"MIT"
] | 1,745 | 2018-03-16T02:10:28.000Z | 2022-03-26T17:34:21.000Z | Source/Scripting/bsfScript/Generated/BsScriptSubMesh.generated.cpp | bsf2dev/bsf | b318cd4eb1b0299773d625e6c870b8d503cf539e | [
"MIT"
] | 395 | 2018-03-16T10:18:20.000Z | 2021-08-04T16:52:08.000Z | Source/Scripting/bsfScript/Generated/BsScriptSubMesh.generated.cpp | bsf2dev/bsf | b318cd4eb1b0299773d625e6c870b8d503cf539e | [
"MIT"
] | 267 | 2018-03-17T19:32:54.000Z | 2022-02-17T16:55:50.000Z | //********************************* bs::framework - Copyright 2018-2019 Marko Pintera ************************************//
//*********** Licensed under the MIT license. See LICENSE.md for full terms. This notice is not to be removed. ***********//
#include "BsScriptSubMesh.generated.h"
#include "BsMonoMethod.h"
#incl... | 27.392857 | 124 | 0.654498 | bsf2dev |
3dc9a07b2e18b8ef58d2ac82387e1526e18ab318 | 5,940 | cpp | C++ | GameDev_Platformer/Game/Source/StartMenu.cpp | allenbateman/GameDev_Platformer | d576d72afedd6d80f30eae5e934e79b1fc3b8ccd | [
"MIT"
] | null | null | null | GameDev_Platformer/Game/Source/StartMenu.cpp | allenbateman/GameDev_Platformer | d576d72afedd6d80f30eae5e934e79b1fc3b8ccd | [
"MIT"
] | null | null | null | GameDev_Platformer/Game/Source/StartMenu.cpp | allenbateman/GameDev_Platformer | d576d72afedd6d80f30eae5e934e79b1fc3b8ccd | [
"MIT"
] | 1 | 2022-03-20T11:17:07.000Z | 2022-03-20T11:17:07.000Z | #include "App.h"
#include "Input.h"
#include "Textures.h"
#include "Audio.h"
#include "Render.h"
#include "Window.h"
#include "StartMenu.h"
#include "App.h"
#include "GuiManager.h"
#include "LevelManagement.h"
#include "ModuleFonts.h"
#include "Defs.h"
#include "Log.h"
StartMenu::StartMenu(bool isActive) : Module(isAc... | 31.428571 | 271 | 0.681145 | allenbateman |
3dc9a0945c935765af05adb58ee558d3c7510280 | 17,343 | cpp | C++ | src/g722coder.cpp | sifaserdarozen/GenIt | 72771dda1c558c412a21d33dc2127c354f50800e | [
"BSD-Source-Code"
] | null | null | null | src/g722coder.cpp | sifaserdarozen/GenIt | 72771dda1c558c412a21d33dc2127c354f50800e | [
"BSD-Source-Code"
] | 2 | 2016-05-28T20:17:49.000Z | 2016-05-30T02:40:53.000Z | src/g722coder.cpp | sifaserdarozen/GenIt | 72771dda1c558c412a21d33dc2127c354f50800e | [
"BSD-Source-Code"
] | null | null | null | #include "g722coder.h"
#include <iostream>
#include <cstring> // needed for g++ for std::memcpy
G722DecoderType::G722DecoderType()
{
Reset();
}
G722DecoderType::~G722DecoderType()
{
}
short int G722DecoderType::ConvertLongToShort(long int in_value)
{
if (in_value > 32767)
return 32767;
else if (in_value ... | 24.740371 | 208 | 0.609064 | sifaserdarozen |
3dca292668ee29780811aff746b38fc6151cb416 | 969 | hpp | C++ | code/source/physics/entityobject_def.hpp | crafn/clover | 586acdbcdb34c3550858af125e9bb4a6300343fe | [
"MIT"
] | 12 | 2015-01-12T00:19:20.000Z | 2021-08-05T10:47:20.000Z | code/source/physics/entityobject_def.hpp | crafn/clover | 586acdbcdb34c3550858af125e9bb4a6300343fe | [
"MIT"
] | null | null | null | code/source/physics/entityobject_def.hpp | crafn/clover | 586acdbcdb34c3550858af125e9bb4a6300343fe | [
"MIT"
] | null | null | null | #ifndef CLOVER_PHYSICS_ENTITYOBJECT_DEF_HPP
#define CLOVER_PHYSICS_ENTITYOBJECT_DEF_HPP
#include "build.hpp"
#include "util/objectnodetraits.hpp"
namespace clover {
namespace physics {
class Material;
/// Helper class for EntityDef
struct EntityObjectDef {
struct FixtureDef {
util::Str8 shape;
util::Str8 mater... | 22.022727 | 63 | 0.776058 | crafn |
3dd0b9a4018d3a1af4f1bd7da72e586b80a7ea5a | 3,904 | cpp | C++ | Mini RPG turn - based game/main.cpp | skatecoder/CPP | de2211f260bb3f471867e9ab61374e7c14712277 | [
"MIT"
] | null | null | null | Mini RPG turn - based game/main.cpp | skatecoder/CPP | de2211f260bb3f471867e9ab61374e7c14712277 | [
"MIT"
] | null | null | null | Mini RPG turn - based game/main.cpp | skatecoder/CPP | de2211f260bb3f471867e9ab61374e7c14712277 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#include <windows.h>
#include<mmsystem.h>
#include "RpgGame.h"
using namespace std;
// add AI
// add projectile animation
/*
/ :.
/ \\
,;/, ::
___:c/.( ||
,' _|:)>>>--,-'B)> >>------>
( '---'\--'` _,'||
`--. \ ,-' ;;
| \| //... | 44.363636 | 89 | 0.078381 | skatecoder |
3dd12cfa3ad3aca1f0c72e09b8353be69050f23c | 4,588 | cpp | C++ | examples/CBuilder/Simple/ObjectSpace/ReverseDerivedAttributes/ReverseDeriveExampleClasses_impl.cpp | LenakeTech/BoldForDelphi | 3ef25517d5c92ebccc097c6bc2f2af62fc506c71 | [
"MIT"
] | 121 | 2020-09-22T10:46:20.000Z | 2021-11-17T12:33:35.000Z | examples/CBuilder/Simple/ObjectSpace/ReverseDerivedAttributes/ReverseDeriveExampleClasses_impl.cpp | LenakeTech/BoldForDelphi | 3ef25517d5c92ebccc097c6bc2f2af62fc506c71 | [
"MIT"
] | 8 | 2020-09-23T12:32:23.000Z | 2021-07-28T07:01:26.000Z | examples/CBuilder/Simple/ObjectSpace/ReverseDerivedAttributes/ReverseDeriveExampleClasses_impl.cpp | LenakeTech/BoldForDelphi | 3ef25517d5c92ebccc097c6bc2f2af62fc506c71 | [
"MIT"
] | 42 | 2020-09-22T14:37:20.000Z | 2021-10-04T10:24:12.000Z | //**********************************************************//
// //
// Bold for Delphi Stub File //
// //
// Autogenerated file for method implementations //
// ... | 29.22293 | 110 | 0.624673 | LenakeTech |
3dd6d2d0e4c35a05c49d4fd0ab0c077e425cad3c | 3,985 | cpp | C++ | learncpp/monsters3.cpp | ignaciop/c-varios | c8ef033485efd19a01fbc43658be36473eb1d08d | [
"MIT"
] | null | null | null | learncpp/monsters3.cpp | ignaciop/c-varios | c8ef033485efd19a01fbc43658be36473eb1d08d | [
"MIT"
] | null | null | null | learncpp/monsters3.cpp | ignaciop/c-varios | c8ef033485efd19a01fbc43658be36473eb1d08d | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
#include <cstdlib>
#include <ctime>
int getRandomNumber(int min, int max) {
static const double fraction = 1.0 / (static_cast<double>(RAND_MAX) + 1.0); // static used for efficiency, so we only calculate this value once
// evenly distribute the random number across our range
r... | 22.514124 | 159 | 0.601506 | ignaciop |
3de31142455704191412285c3d7df229730e8efe | 546 | hpp | C++ | Include/Injector/Graphics/Vulkan/VkGpuImageType.hpp | InjectorGames/Inject | 09e74a83c287b81fd8272c10d6bae2b1aa785c0e | [
"BSD-3-Clause"
] | 2 | 2019-12-10T16:26:58.000Z | 2020-04-17T11:47:42.000Z | Include/Injector/Graphics/Vulkan/VkGpuImageType.hpp | InjectorGames/Inject | 09e74a83c287b81fd8272c10d6bae2b1aa785c0e | [
"BSD-3-Clause"
] | 28 | 2020-08-17T12:39:50.000Z | 2020-11-16T20:42:50.000Z | Include/Injector/Graphics/Vulkan/VkGpuImageType.hpp | InjectorGames/InjectorEngine | 09e74a83c287b81fd8272c10d6bae2b1aa785c0e | [
"BSD-3-Clause"
] | null | null | null | #pragma once
#include "Injector/Graphics/GpuImageType.hpp"
#include "Injector/Exception/Exception.hpp"
#include "vulkan/vulkan.hpp"
namespace Injector
{
static vk::ImageType toVkGpuImageType(
GpuImageType type)
{
if(type == GpuImageType::Image1D)
{
return vk::ImageType::e1D;
}
else if(type == GpuImageT... | 17.0625 | 45 | 0.679487 | InjectorGames |
3de72169a84e22201b166b16f87db6b00f1605c7 | 2,885 | cc | C++ | goopdate/google_update_ps.cc | rocious/omaha | 44a58900e58979362ad18de6867d804bee0f1b91 | [
"Apache-2.0"
] | 4 | 2016-05-19T09:22:52.000Z | 2020-10-22T03:45:41.000Z | goopdate/google_update_ps.cc | rocious/omaha | 44a58900e58979362ad18de6867d804bee0f1b91 | [
"Apache-2.0"
] | 1 | 2015-06-15T06:26:34.000Z | 2015-06-15T06:26:34.000Z | goopdate/google_update_ps.cc | rocious/omaha | 44a58900e58979362ad18de6867d804bee0f1b91 | [
"Apache-2.0"
] | 1 | 2015-06-24T19:26:58.000Z | 2015-06-24T19:26:58.000Z | // Copyright 2010 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | 27.47619 | 79 | 0.707452 | rocious |
3de933f222c68e6961970133d45bd85f28856a52 | 2,096 | hpp | C++ | src/http_proxy_server_connection.hpp | huangfeidian/http-proxy | 3413d3cd8f2d2236023f0c2f53b4f1528c2410d3 | [
"MIT"
] | 3 | 2019-05-04T07:37:25.000Z | 2021-11-14T16:23:55.000Z | src/http_proxy_server_connection.hpp | huangfeidian/http-proxy | 3413d3cd8f2d2236023f0c2f53b4f1528c2410d3 | [
"MIT"
] | null | null | null | src/http_proxy_server_connection.hpp | huangfeidian/http-proxy | 3413d3cd8f2d2236023f0c2f53b4f1528c2410d3 | [
"MIT"
] | null | null | null | #pragma once
#include <array>
#include <chrono>
#include <asio.hpp>
using error_code = asio::error_code;
#include "encrypt.hpp"
#include "http_header_parser.hpp"
#include "http_proxy_connection_context.hpp"
#include "http_proxy_connection.hpp"
namespace http_proxy {
class http_proxy_server_connecti... | 43.666667 | 254 | 0.802481 | huangfeidian |
3de9abf43e4e411c68736bbe414ff64ff2d77697 | 6,776 | cpp | C++ | LowestPath/main.cpp | anttijuu/Graphs | 0765b8e5ef4bfb7a885a0df7c70b353466c83801 | [
"MIT"
] | null | null | null | LowestPath/main.cpp | anttijuu/Graphs | 0765b8e5ef4bfb7a885a0df7c70b353466c83801 | [
"MIT"
] | null | null | null | LowestPath/main.cpp | anttijuu/Graphs | 0765b8e5ef4bfb7a885a0df7c70b353466c83801 | [
"MIT"
] | null | null | null | //
// main.cpp
// TrainTravelling
//
// Created by Antti Juustila on 27.11.2020.
//
#include <iostream>
#include <string>
#include <iomanip>
#include <clocale>
#include <fstream>
#include <sstream>
#include "Graph.hpp"
#include "Dijkstra.hpp"
#include "Prim.hpp"
/* C++/STL implementation of the course exercise wo... | 35.851852 | 121 | 0.585301 | anttijuu |
3defee7d9e9c76684cff4259fa6c071eb81634ba | 2,933 | hpp | C++ | src/framework/io/AviExporter.hpp | yslking/GPURayTraversal | cfcc825aef473318fc7eb4975c13fe40cda5c915 | [
"BSD-3-Clause"
] | 39 | 2016-07-19T15:25:16.000Z | 2021-07-15T16:06:15.000Z | src/framework/io/AviExporter.hpp | yslking/GPURayTraversal | cfcc825aef473318fc7eb4975c13fe40cda5c915 | [
"BSD-3-Clause"
] | null | null | null | src/framework/io/AviExporter.hpp | yslking/GPURayTraversal | cfcc825aef473318fc7eb4975c13fe40cda5c915 | [
"BSD-3-Clause"
] | 14 | 2017-12-19T03:14:50.000Z | 2021-06-24T16:53:10.000Z | /*
* Copyright (c) 2009-2011, NVIDIA Corporation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice,... | 40.178082 | 86 | 0.593249 | yslking |
3df104bb41d060eb41535dcaad1e23bc045f6cc4 | 6,087 | hpp | C++ | src/Evolution/Systems/Cce/Actions/InitializeWorldtubeBoundary.hpp | jennifersanchez/spectre | ea090e7096186a05edf5e58a63cd82736d9708bf | [
"MIT"
] | null | null | null | src/Evolution/Systems/Cce/Actions/InitializeWorldtubeBoundary.hpp | jennifersanchez/spectre | ea090e7096186a05edf5e58a63cd82736d9708bf | [
"MIT"
] | null | null | null | src/Evolution/Systems/Cce/Actions/InitializeWorldtubeBoundary.hpp | jennifersanchez/spectre | ea090e7096186a05edf5e58a63cd82736d9708bf | [
"MIT"
] | 1 | 2019-01-03T21:47:04.000Z | 2019-01-03T21:47:04.000Z | // Distributed under the MIT License.
// See LICENSE.txt for details.
#pragma once
#include <cstddef>
#include <tuple>
#include <utility>
#include "DataStructures/DataBox/DataBox.hpp"
#include "DataStructures/VariablesTag.hpp"
#include "Evolution/Systems/Cce/BoundaryData.hpp"
#include "Evolution/Systems/Cce/Interfac... | 39.270968 | 80 | 0.692295 | jennifersanchez |
3df19df718531800fbe7019ca866e5b6bfa3ae28 | 976 | cpp | C++ | android-31/android/print/PrintJobId.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 12 | 2020-03-26T02:38:56.000Z | 2022-03-14T08:17:26.000Z | android-31/android/print/PrintJobId.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 1 | 2021-01-27T06:07:45.000Z | 2021-11-13T19:19:43.000Z | android-29/android/print/PrintJobId.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 3 | 2021-02-02T12:34:55.000Z | 2022-03-08T07:45:57.000Z | #include "../os/Parcel.hpp"
#include "../../JObject.hpp"
#include "./PrintJobId.hpp"
namespace android::print
{
// Fields
JObject PrintJobId::CREATOR()
{
return getStaticObjectField(
"android.print.PrintJobId",
"CREATOR",
"Landroid/os/Parcelable$Creator;"
);
}
// QJniObject forward
PrintJobId::Pri... | 17.428571 | 74 | 0.652664 | YJBeetle |
3dfa1f22437b5fff241a166957fda6becd42fa8a | 1,740 | hpp | C++ | engine/include/Graphics/GraphicsSystem.hpp | Trypio/Aeyon3D | 6e630228fe8f8fe269ab1dfc835a7c7c5d314c2b | [
"MIT"
] | null | null | null | engine/include/Graphics/GraphicsSystem.hpp | Trypio/Aeyon3D | 6e630228fe8f8fe269ab1dfc835a7c7c5d314c2b | [
"MIT"
] | null | null | null | engine/include/Graphics/GraphicsSystem.hpp | Trypio/Aeyon3D | 6e630228fe8f8fe269ab1dfc835a7c7c5d314c2b | [
"MIT"
] | null | null | null | //
//
//
#ifndef AEYON3D_RENDERER_HPP
#define AEYON3D_RENDERER_HPP
#include "ECS/System.hpp"
#include "glad/glad.h"
#include "Graphics/Texture.hpp"
#include "ECS/Entity.hpp"
#include "Resource.hpp"
#include "Graphics/Frustum.hpp"
#include "Time.hpp"
namespace aeyon
{
class Camera;
class Mesh;
class Light;
class ... | 19.772727 | 57 | 0.720115 | Trypio |
3dfc3b5af97ea8deec61959974cf40ef91aee5f0 | 1,124 | cpp | C++ | src/background/Background.cpp | AgaBuu/TankBotFight | 154b176b697b5d88fffb4b0c9c9c2f8dac334afb | [
"MIT"
] | 10 | 2021-08-06T13:07:01.000Z | 2022-02-03T20:28:11.000Z | src/background/Background.cpp | AgaBuu/TankBotFight | 154b176b697b5d88fffb4b0c9c9c2f8dac334afb | [
"MIT"
] | 29 | 2021-08-06T12:47:25.000Z | 2022-03-01T13:35:41.000Z | src/background/Background.cpp | AgaBuu/TankBotFight | 154b176b697b5d88fffb4b0c9c9c2f8dac334afb | [
"MIT"
] | 10 | 2021-08-06T13:07:03.000Z | 2022-02-09T12:26:52.000Z | #include "Background.hpp"
#include <background/BackgroundTextureName.hpp>
#include <background/RoadGenerator.hpp>
#include <optional>
#include <random>
#include <string>
#include "Files.hpp"
#include "Size.hpp"
using namespace std::string_literals;
Background::Background(TextureStore& store) : mTextureStore(store), ... | 30.378378 | 100 | 0.671708 | AgaBuu |
ad021cb20a9f3f974e370a93146f0e3c390da210 | 1,384 | cpp | C++ | src/client/game.cpp | kiroma/open-builder | ca5ef3d5d52aae8862e329adbb4cb945363608fd | [
"MIT"
] | null | null | null | src/client/game.cpp | kiroma/open-builder | ca5ef3d5d52aae8862e329adbb4cb945363608fd | [
"MIT"
] | null | null | null | src/client/game.cpp | kiroma/open-builder | ca5ef3d5d52aae8862e329adbb4cb945363608fd | [
"MIT"
] | null | null | null | #include "game.h"
bool Game::initGame(ClientConfig config)
{
config.serverIp = LOCAL_HOST;
m_serverLauncher =
std::make_unique<ServerLauncher>(ServerConfig{8, 8}, sf::milliseconds(1000));
m_serverLauncher->runAsThread();
return init(config);
}
bool Game::initGame(ClientConfig config, const s... | 19.492958 | 90 | 0.620665 | kiroma |
ad082c4e72e03541ab2a6f2ca6a4102eb5d7f9cf | 574 | cpp | C++ | codeforces/507B.cpp | sgrade/cpptest | 84ade6ec03ea394d4a4489c7559d12b4799c0b62 | [
"MIT"
] | null | null | null | codeforces/507B.cpp | sgrade/cpptest | 84ade6ec03ea394d4a4489c7559d12b4799c0b62 | [
"MIT"
] | null | null | null | codeforces/507B.cpp | sgrade/cpptest | 84ade6ec03ea394d4a4489c7559d12b4799c0b62 | [
"MIT"
] | null | null | null | // B. Amr and Pins
#include <iostream>
#include <algorithm>
#include <math.h>
using namespace std;
int main(){
int r, x1, y1, x2, y2;
cin >> r >> x1 >> y1 >> x2 >> y2;
long long x = abs(x1 - x2), y = abs(y1 - y2);
int ans = 0;
if (x == y && x == 0)
ans = 0;
else
{
/... | 16.4 | 62 | 0.444251 | sgrade |
ad0c552bcd83b40186f8a13b8bcf3f4be13ba170 | 21,114 | cpp | C++ | Samples/CameraStreamCorrelation/cpp/Scenario1_CorrelateStreams.xaml.cpp | dujianxin/Windows-universal-samples | d4e95ff0ac408c5d4d980bb18d53fb2c6556a273 | [
"MIT"
] | 43 | 2015-09-12T17:31:45.000Z | 2022-03-31T17:05:41.000Z | Samples/CameraStreamCorrelation/cpp/Scenario1_CorrelateStreams.xaml.cpp | dujianxin/Windows-universal-samples | d4e95ff0ac408c5d4d980bb18d53fb2c6556a273 | [
"MIT"
] | 4 | 2018-12-14T21:21:27.000Z | 2019-01-07T20:15:17.000Z | Samples/CameraStreamCorrelation/cpp/Scenario1_CorrelateStreams.xaml.cpp | dujianxin/Windows-universal-samples | d4e95ff0ac408c5d4d980bb18d53fb2c6556a273 | [
"MIT"
] | 8 | 2015-12-06T01:39:09.000Z | 2017-11-27T20:25:24.000Z | //*********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the MIT License (MIT).
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
// IMPLIED WARRANTIES OF FITNESS FOR A PA... | 46.201313 | 153 | 0.636829 | dujianxin |
ad0ed8ffcd2bee0e43a100985c7b4ed39d733a1d | 2,735 | cpp | C++ | Arrays/simple queries.cpp | rishabhrana08/Solving-IB-Series | d09a7accf0eb8fa4284398802daff85b9cc8e27f | [
"MIT"
] | 1 | 2020-07-02T09:24:31.000Z | 2020-07-02T09:24:31.000Z | Arrays/simple queries.cpp | rishabhrana08/Solving-IB-Series | d09a7accf0eb8fa4284398802daff85b9cc8e27f | [
"MIT"
] | null | null | null | Arrays/simple queries.cpp | rishabhrana08/Solving-IB-Series | d09a7accf0eb8fa4284398802daff85b9cc8e27f | [
"MIT"
] | null | null | null | #define ll long long int
const int mn = 1e5 + 5;
const ll mod = 1e9 + 7;
ll power(ll a, ll g) {ll ag = 1; while(g){if(g&1) ag = (ag%mod * a%mod)%mod; a = (a%mod * a%mod)%mod; g >>= 1;} return ag;}
ll p[mn];
void pre_compute_product_of_divisors() {
p[0] = 0; p[1] = 1;
if(p[2] != 0) return;
for(ll i = 2; i ... | 29.095745 | 123 | 0.463254 | rishabhrana08 |
ad0f08d1a8dd8e6646e8b777f78113d2ba5bca39 | 1,428 | cc | C++ | envoy/test/server/listener_manager_impl_quic_only_test.cc | bdecoste/upstream-envoy-openssl | f2bd116a9dd1f7da8ba00b6d473607190fdb0b2c | [
"Apache-2.0"
] | null | null | null | envoy/test/server/listener_manager_impl_quic_only_test.cc | bdecoste/upstream-envoy-openssl | f2bd116a9dd1f7da8ba00b6d473607190fdb0b2c | [
"Apache-2.0"
] | null | null | null | envoy/test/server/listener_manager_impl_quic_only_test.cc | bdecoste/upstream-envoy-openssl | f2bd116a9dd1f7da8ba00b6d473607190fdb0b2c | [
"Apache-2.0"
] | null | null | null | #include "test/server/listener_manager_impl_test.h"
#include "test/test_common/threadsafe_singleton_injector.h"
using testing::AtLeast;
namespace Envoy {
namespace Server {
namespace {
class ListenerManagerImplQuicOnlyTest : public ListenerManagerImplTest {
protected:
NiceMock<Api::MockOsSysCalls> os_sys_calls_;
... | 30.382979 | 95 | 0.752101 | bdecoste |
ad1f648fe3d43ed0905d2d96017e257367458adb | 7,141 | cpp | C++ | Processor/EqualizationProcessor.cpp | devonchenc/NovaImage | 3d17166f9705ba23b89f1aefd31ac2db97385b1c | [
"MIT"
] | null | null | null | Processor/EqualizationProcessor.cpp | devonchenc/NovaImage | 3d17166f9705ba23b89f1aefd31ac2db97385b1c | [
"MIT"
] | null | null | null | Processor/EqualizationProcessor.cpp | devonchenc/NovaImage | 3d17166f9705ba23b89f1aefd31ac2db97385b1c | [
"MIT"
] | null | null | null | #include "EqualizationProcessor.h"
#include <QLabel>
#include <QSlider>
#include <QGridLayout>
#include <QGroupBox>
#include <QLineEdit>
#include <QIntValidator>
#include "../Image/GeneralImage.h"
#include "../Image/MonoImage.h"
#include "../Core/GlobalFunc.h"
#include "../Widget/CustomEvent.h"
#include "CLAHE.h"
Eq... | 26.546468 | 121 | 0.561406 | devonchenc |
ad2037822b9019c9b6154e94c6c4bcefd8193cee | 657,523 | cpp | C++ | test/bidi_character_test_070.cpp | eightysquirrels/text | d935545648777786dc196a75346cde8906da846a | [
"BSL-1.0"
] | null | null | null | test/bidi_character_test_070.cpp | eightysquirrels/text | d935545648777786dc196a75346cde8906da846a | [
"BSL-1.0"
] | 1 | 2021-03-05T12:56:59.000Z | 2021-03-05T13:11:53.000Z | test/bidi_character_test_070.cpp | eightysquirrels/text | d935545648777786dc196a75346cde8906da846a | [
"BSL-1.0"
] | 3 | 2019-10-30T18:38:15.000Z | 2021-03-05T12:10:13.000Z | // Warning! This file is autogenerated.
#include <boost/text/bidirectional.hpp>
#include "bidi_tests.hpp"
#include <gtest/gtest.h>
#include <algorithm>
TEST(bidi_character, bidi_character_070_000)
{
{
// line 49001
std::vector<uint32_t> const cps = { 0x0061, 0x0028, 0x2680, 0x0029, 0x0029, 0x2... | 33.006526 | 101 | 0.43635 | eightysquirrels |
ad2381708a06e86d5b13fc6e31b80406e9afaddf | 4,501 | cpp | C++ | sbg/src/libpdb/Condition.cpp | chaconlab/korpm | 5a73b5ab385150b580b2fd3f1b2ad26fa3d55cf3 | [
"MIT"
] | 1 | 2022-01-02T01:48:05.000Z | 2022-01-02T01:48:05.000Z | sbg/src/libpdb/Condition.cpp | chaconlab/korpm | 5a73b5ab385150b580b2fd3f1b2ad26fa3d55cf3 | [
"MIT"
] | 1 | 2021-11-10T10:50:08.000Z | 2021-11-10T10:50:08.000Z | sbg/src/libpdb/Condition.cpp | chaconlab/korpm | 5a73b5ab385150b580b2fd3f1b2ad26fa3d55cf3 | [
"MIT"
] | 1 | 2021-12-03T03:29:39.000Z | 2021-12-03T03:29:39.000Z | /***************************************************************************
Condition.cpp - description
-------------------
begin : Fri Aug 6 2004
copyright : (C) 2004 by Jose Ignacio Garzon
email :
*********... | 18.676349 | 95 | 0.475006 | chaconlab |
ad2c42b3bba83761b3165c652bfdb4aad5ab4955 | 1,387 | cpp | C++ | D3D12Backend/APIWrappers/Resources/Textures/Views/DepthStencilView.cpp | bestdark/BoolkaEngine | 35ae68dedb42baacb19908c0aaa047fe7f71f6b2 | [
"MIT"
] | 27 | 2021-02-12T10:13:55.000Z | 2022-03-24T14:44:06.000Z | D3D12Backend/APIWrappers/Resources/Textures/Views/DepthStencilView.cpp | bestdark/BoolkaEngine | 35ae68dedb42baacb19908c0aaa047fe7f71f6b2 | [
"MIT"
] | null | null | null | D3D12Backend/APIWrappers/Resources/Textures/Views/DepthStencilView.cpp | bestdark/BoolkaEngine | 35ae68dedb42baacb19908c0aaa047fe7f71f6b2 | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "DepthStencilView.h"
#include "APIWrappers/Device.h"
#include "APIWrappers/Resources/Textures/Texture2D.h"
namespace Boolka
{
DepthStencilView::DepthStencilView()
: m_CPUDescriptorHandle{}
{
}
DepthStencilView::~DepthStencilView()
{
BLK_ASSERT(m_CPUD... | 27.196078 | 93 | 0.649603 | bestdark |
ad2e2f2d84e7db0ffc2ffbe3b147a7905d8b7b16 | 1,478 | cpp | C++ | NEATUnitTests/utils_tests.cpp | MrMarkSub2/RDMNest | 271de0acb163fe6a0f1231864b97b901663d1544 | [
"MIT"
] | null | null | null | NEATUnitTests/utils_tests.cpp | MrMarkSub2/RDMNest | 271de0acb163fe6a0f1231864b97b901663d1544 | [
"MIT"
] | 11 | 2018-01-14T03:29:25.000Z | 2018-04-29T05:09:34.000Z | NEATUnitTests/utils_tests.cpp | MrMarkSub2/RDMNest | 271de0acb163fe6a0f1231864b97b901663d1544 | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "CppUnitTest.h"
#include "../NEAT/utils.h"
#include <vector>
using namespace Microsoft::VisualStudio::CppUnitTestFramework;
namespace NEATUnitTests
{
TEST_CLASS(UtilsTests)
{
public:
TEST_METHOD(IsEssentialEqualsTest)
{
Assert::IsTrue(NEAT::IsEssentiallyEqual(3.0, 3.0), L"Basic... | 32.130435 | 87 | 0.67862 | MrMarkSub2 |
ad2e7e20b763c0424de697bded743f039288d943 | 171 | cpp | C++ | Networking_Concepts/Source/Networking_Concepts/HealingCableComponent.cpp | mpro34/UE4_Networking | 7df15382769f382ee37c3ecc2f5f38312749e60d | [
"MIT"
] | null | null | null | Networking_Concepts/Source/Networking_Concepts/HealingCableComponent.cpp | mpro34/UE4_Networking | 7df15382769f382ee37c3ecc2f5f38312749e60d | [
"MIT"
] | null | null | null | Networking_Concepts/Source/Networking_Concepts/HealingCableComponent.cpp | mpro34/UE4_Networking | 7df15382769f382ee37c3ecc2f5f38312749e60d | [
"MIT"
] | null | null | null | // Fill out your copyright notice in the Description page of Project Settings.
#include "HealingCableComponent.h"
UHealingCableComponent::UHealingCableComponent()
{
}
| 17.1 | 78 | 0.795322 | mpro34 |
ad34398146261120bb7471b4c5c208b0b3ea80f3 | 388 | cpp | C++ | src/dependent/implementation.cpp | chilingg/Redopera | a898eb269d5d3eba9ba5b14ef9b4209f615f4547 | [
"MIT"
] | null | null | null | src/dependent/implementation.cpp | chilingg/Redopera | a898eb269d5d3eba9ba5b14ef9b4209f615f4547 | [
"MIT"
] | null | null | null | src/dependent/implementation.cpp | chilingg/Redopera | a898eb269d5d3eba9ba5b14ef9b4209f615f4547 | [
"MIT"
] | null | null | null | #define STB_IMAGE_IMPLEMENTATION
#include <dependent/stb_image.h>
#define STB_TRUETYPE_IMPLEMENTATION
#include <dependent/stb_truetype.h>
//#define MINIMP3_ONLY_SIMD
//#define MINIMP3_NO_SIMD
//#define MINIMP3_NONSTANDARD_BUT_LOGICAL
//#define MINIMP3_FLOAT_OUTPUT
#define MINIMP3_ONLY_MP3
#define MINIMP3_IMPLEMENTATI... | 25.866667 | 41 | 0.840206 | chilingg |
ad37e19253731eca0373174ca0987c60f893a480 | 5,382 | cpp | C++ | Source/AGN/AGN_sources.cpp | Gosenca/axionyx_1.0 | 7e2a723e00e6287717d6d81b23db32bcf6c3521a | [
"BSD-3-Clause-LBNL"
] | 6 | 2021-02-18T09:13:17.000Z | 2022-03-22T21:27:46.000Z | Source/AGN/AGN_sources.cpp | Gosenca/axionyx_1.0 | 7e2a723e00e6287717d6d81b23db32bcf6c3521a | [
"BSD-3-Clause-LBNL"
] | 1 | 2020-10-12T08:54:31.000Z | 2020-10-12T08:54:31.000Z | Source/AGN/AGN_sources.cpp | Gosenca/axionyx_1.0 | 7e2a723e00e6287717d6d81b23db32bcf6c3521a | [
"BSD-3-Clause-LBNL"
] | 3 | 2020-09-04T10:26:25.000Z | 2022-03-14T23:51:51.000Z | #include <Nyx.H>
#include <Nyx_F.H>
using namespace amrex;
#ifdef AGN
void
Nyx::get_old_source (Real old_time,
Real dt,
MultiFab& ext_src)
{
BL_PROFILE("Nyx::get_old_source()");
const Real* dx = geom.CellSize();
const Real* prob_lo = geom.ProbLo();
... | 35.88 | 107 | 0.572464 | Gosenca |
ad3b3d0a976e6cb77fa6b249d402579e962a55f8 | 1,440 | cpp | C++ | AdvancedLevel_C++/1059. Prime Factors (25) .cpp | XXlijiulong/ProgramTrouble | c6353bda1c2584a8f45a2c3b2f64ecf92500fc4f | [
"Apache-2.0"
] | null | null | null | AdvancedLevel_C++/1059. Prime Factors (25) .cpp | XXlijiulong/ProgramTrouble | c6353bda1c2584a8f45a2c3b2f64ecf92500fc4f | [
"Apache-2.0"
] | null | null | null | AdvancedLevel_C++/1059. Prime Factors (25) .cpp | XXlijiulong/ProgramTrouble | c6353bda1c2584a8f45a2c3b2f64ecf92500fc4f | [
"Apache-2.0"
] | null | null | null | 1059. Prime Factors (25)
Given any positive integer N, you are supposed to find all of its prime factors, and write them in the format N = p1^k1 * p2^k2 *…*pm^km.
Input Specification:
Each input file contains one test case which gives a positive integer N in the range of long int.
Output Specification:
Factor N in the ... | 32.727273 | 218 | 0.586111 | XXlijiulong |
ad42ea4f86f161967137b48d5bfa5b5044b00c3e | 1,392 | cpp | C++ | Codes/Trees/SegmentTrees/ISegmentTree.cpp | cjtoribio/Algorithms | 78499613a9b018eb5e489307b14e31e5fe8227e3 | [
"MIT"
] | 18 | 2015-05-24T20:28:46.000Z | 2021-01-27T02:34:43.000Z | Codes/Trees/SegmentTrees/ISegmentTree.cpp | cjtoribio/Algorithms | 78499613a9b018eb5e489307b14e31e5fe8227e3 | [
"MIT"
] | null | null | null | Codes/Trees/SegmentTrees/ISegmentTree.cpp | cjtoribio/Algorithms | 78499613a9b018eb5e489307b14e31e5fe8227e3 | [
"MIT"
] | 4 | 2015-05-24T20:28:32.000Z | 2021-01-30T04:04:55.000Z | template<class T, class U>
struct ISegmentTree {
struct Node {
bool hasCarry = 0;
U carry = U(); T val = T();
Node(){ }
void join(const Node &l, const Node &r){
if(hasCarry)return;
val = l.val + r.val;
}
void update(const U &u){
carry += u;
val += u;
hasCarry = 1;
}
void pushDown(Node &l... | 22.095238 | 76 | 0.466236 | cjtoribio |
ad4318197d71cbc5c1e96f4636c19841936e788d | 2,736 | cpp | C++ | src/net/tcp_server.cpp | paopaol/pp | 474bd17d9ac8ba7224d26b1b80bd23b6da900d0f | [
"MIT"
] | 1 | 2019-09-09T15:11:00.000Z | 2019-09-09T15:11:00.000Z | src/net/tcp_server.cpp | paopaol/pp | 474bd17d9ac8ba7224d26b1b80bd23b6da900d0f | [
"MIT"
] | null | null | null | src/net/tcp_server.cpp | paopaol/pp | 474bd17d9ac8ba7224d26b1b80bd23b6da900d0f | [
"MIT"
] | null | null | null | #include <io/io_event_loop.h>
#include <net/net_tcp_conn.h>
#include <net/net_tcp_server.h>
#ifdef WIN32
#include <windows/net_win_iocp_tcp_accpeter.h>
#endif
namespace pp {
namespace net {
struct tcp_server_accpeter {
};
tcp_server::tcp_server(io::event_loop* loop, const net::addr& addr,
... | 30.741573 | 76 | 0.581506 | paopaol |
ad4b1d760683bd86786786afc4486d312c2ae2e1 | 466 | cpp | C++ | src/lang_config_cutc_parser.cpp | cuttle-system/cuttle-lang | 1b3ba8d81d2300dff1369801da2f712b77dcb6f4 | [
"MIT"
] | null | null | null | src/lang_config_cutc_parser.cpp | cuttle-system/cuttle-lang | 1b3ba8d81d2300dff1369801da2f712b77dcb6f4 | [
"MIT"
] | null | null | null | src/lang_config_cutc_parser.cpp | cuttle-system/cuttle-lang | 1b3ba8d81d2300dff1369801da2f712b77dcb6f4 | [
"MIT"
] | null | null | null | #include "lang_config_cutc_parser.hpp"
#include "lang_parser_base.hpp"
#include "context_methods.hpp"
using namespace cuttle;
void lang::get_config_cutc_parser(context_t &context) {
get_parser_base(context);
add(context, ".", function_t{function_type::infix, 2}, FUNCTION_ID_UNKNOWN);
add(context, "just"... | 31.066667 | 84 | 0.757511 | cuttle-system |
ad4b23fe9529febd86530f4e88de5597c2b2d023 | 618 | cpp | C++ | YorozuyaGSLib/source/_RENAME_POTION_USE_INFO.cpp | lemkova/Yorozuya | f445d800078d9aba5de28f122cedfa03f26a38e4 | [
"MIT"
] | 29 | 2017-07-01T23:08:31.000Z | 2022-02-19T10:22:45.000Z | YorozuyaGSLib/source/_RENAME_POTION_USE_INFO.cpp | kotopes/Yorozuya | 605c97d3a627a8f6545cc09f2a1b0a8afdedd33a | [
"MIT"
] | 90 | 2017-10-18T21:24:51.000Z | 2019-06-06T02:30:33.000Z | YorozuyaGSLib/source/_RENAME_POTION_USE_INFO.cpp | kotopes/Yorozuya | 605c97d3a627a8f6545cc09f2a1b0a8afdedd33a | [
"MIT"
] | 44 | 2017-12-19T08:02:59.000Z | 2022-02-24T23:15:01.000Z | #include <_RENAME_POTION_USE_INFO.hpp>
START_ATF_NAMESPACE
void _RENAME_POTION_USE_INFO::Init()
{
using org_ptr = void (WINAPIV*)(struct _RENAME_POTION_USE_INFO*);
(org_ptr(0x140073dd0L))(this);
};
_RENAME_POTION_USE_INFO::_RENAME_POTION_USE_INFO()
{
using org_ptr = void (W... | 29.428571 | 73 | 0.68932 | lemkova |
ad4c716be8ebcabad6ed4ba31339f2ef25e7e019 | 1,209 | cpp | C++ | src/projects/scripts/count_paf.cpp | AntonBankevich/DR | 73450ad3b25f90a3c7747aaf17fe60d13d9692d3 | [
"BSD-3-Clause"
] | 3 | 2020-11-14T14:41:55.000Z | 2020-12-12T07:05:51.000Z | src/projects/scripts/count_paf.cpp | AntonBankevich/DR | 73450ad3b25f90a3c7747aaf17fe60d13d9692d3 | [
"BSD-3-Clause"
] | 1 | 2022-02-01T11:16:31.000Z | 2022-02-01T18:56:55.000Z | src/projects/scripts/count_paf.cpp | AntonBankevich/DR | 73450ad3b25f90a3c7747aaf17fe60d13d9692d3 | [
"BSD-3-Clause"
] | null | null | null | #include <alignment/aligner.hpp>
#include <sequences/contigs.hpp>
#include <common/cl_parser.hpp>
#include <common/logging.hpp>
#include <sequences/seqio.hpp>
#include <common/omp_utils.hpp>
#include <common/zip_utils.hpp>
#include <vector>
int main(int argc, char **argv) {
CLParser parser({"paf="}, {}, {});
p... | 28.785714 | 74 | 0.556658 | AntonBankevich |
ad568ed4cb8ad58e78da050d35ba67d977ff3af0 | 19,326 | cc | C++ | src/core/regfile.cc | werneazc/mcpat | fcd4d650709423f24bdad8d3cc302001e10e1f7d | [
"Intel"
] | 1 | 2020-05-25T00:34:01.000Z | 2020-05-25T00:34:01.000Z | src/core/regfile.cc | werneazc/mcpat | fcd4d650709423f24bdad8d3cc302001e10e1f7d | [
"Intel"
] | 15 | 2020-05-24T23:33:03.000Z | 2020-06-24T17:54:59.000Z | src/core/regfile.cc | werneazc/mcpat | fcd4d650709423f24bdad8d3cc302001e10e1f7d | [
"Intel"
] | 2 | 2021-01-26T02:02:27.000Z | 2021-03-07T12:24:56.000Z | /*****************************************************************************
* McPAT
* SOFTWARE LICENSE AGREEMENT
* Copyright 2012 Hewlett-Packard Development Company, L.P.
* All Rights Reserved
*
* Redistribution and use in... | 41.921909 | 82 | 0.605143 | werneazc |
ad598c3d6332dd5db0baabdc43efc4d870037c53 | 115,062 | cpp | C++ | src/Parsers/New/ClickHouseLexer.cpp | ontkey/daisy | b5c9b7b1cc496c1fd45cb5678c273b089d899c63 | [
"Apache-2.0"
] | 5 | 2021-05-14T02:46:44.000Z | 2021-11-23T04:58:20.000Z | src/Parsers/New/ClickHouseLexer.cpp | ontkey/daisy | b5c9b7b1cc496c1fd45cb5678c273b089d899c63 | [
"Apache-2.0"
] | 5 | 2021-05-21T06:26:01.000Z | 2021-08-04T04:57:36.000Z | src/Parsers/New/ClickHouseLexer.cpp | ontkey/daisy | b5c9b7b1cc496c1fd45cb5678c273b089d899c63 | [
"Apache-2.0"
] | 8 | 2021-05-12T01:38:18.000Z | 2022-02-10T06:08:41.000Z |
// Generated from ClickHouseLexer.g4 by ANTLR 4.7.2
#include "ClickHouseLexer.h"
using namespace antlr4;
using namespace DB;
ClickHouseLexer::ClickHouseLexer(CharStream *input) : Lexer(input) {
_interpreter = new atn::LexerATNSimulator(this, _atn, _decisionToDFA, _sharedContextCache);
}
ClickHouseLexer::~Clic... | 72.731985 | 120 | 0.610601 | ontkey |
ad5bb37387a72e17fcd73e1a240a1034d264f841 | 2,892 | cpp | C++ | examples/Demo/Source/Main.cpp | christofmuc/Gin | 8bedff1fd4db8452c56e220dcfae17dfae8825ac | [
"BSD-3-Clause"
] | 112 | 2018-01-29T09:36:00.000Z | 2022-03-30T21:27:56.000Z | examples/Demo/Source/Main.cpp | christofmuc/Gin | 8bedff1fd4db8452c56e220dcfae17dfae8825ac | [
"BSD-3-Clause"
] | 19 | 2018-02-09T22:27:50.000Z | 2022-01-31T22:43:53.000Z | examples/Demo/Source/Main.cpp | christofmuc/Gin | 8bedff1fd4db8452c56e220dcfae17dfae8825ac | [
"BSD-3-Clause"
] | 20 | 2018-05-03T03:10:00.000Z | 2022-03-24T12:12:36.000Z | /*
==============================================================================
This file was auto-generated!
It contains the basic startup code for a Juce application.
==============================================================================
*/
#include <JuceHeader.h>
#include "MainComponent.h"
... | 32.863636 | 124 | 0.464039 | christofmuc |
ad5bd2c878b3a05bf33f6d23e6c0b665ffb7b13d | 3,915 | cpp | C++ | hw1/hw1/quicksort_test.cpp | imthegngrbrdmn/cs471 | 664d96be19d6e995b27a7e3b618ead8d3bfe23f1 | [
"MIT"
] | null | null | null | hw1/hw1/quicksort_test.cpp | imthegngrbrdmn/cs471 | 664d96be19d6e995b27a7e3b618ead8d3bfe23f1 | [
"MIT"
] | null | null | null | hw1/hw1/quicksort_test.cpp | imthegngrbrdmn/cs471 | 664d96be19d6e995b27a7e3b618ead8d3bfe23f1 | [
"MIT"
] | null | null | null | /*
quicksort_test.cpp
Millard A. Arnold V
2021/08/28
Test program for CS471 homework 1
*/
//For Doctest
#define DOCTEST_CONFIG_IMPLEMENT
#define DOCTEST_CONFIG_SUPER_FAST_ASSERTS
#include "doctest.h"
//Includes for test program
#include "quicksort.h"
#include <iostream>
#include <string>
#include <algorithm>
//... | 26.632653 | 66 | 0.676117 | imthegngrbrdmn |
ad5cbee5dff2ae4795f505f5de91170e8198b70d | 539 | cpp | C++ | AIC/AIC'20 - Level 2 Training/Week #1.2/K.cpp | MaGnsio/CP-Problems | a7f518a20ba470f554b6d54a414b84043bf209c5 | [
"Unlicense"
] | 3 | 2020-11-01T06:31:30.000Z | 2022-02-21T20:37:51.000Z | AIC/AIC'20 - Level 2 Training/Week #1.2/K.cpp | MaGnsio/CP-Problems | a7f518a20ba470f554b6d54a414b84043bf209c5 | [
"Unlicense"
] | null | null | null | AIC/AIC'20 - Level 2 Training/Week #1.2/K.cpp | MaGnsio/CP-Problems | a7f518a20ba470f554b6d54a414b84043bf209c5 | [
"Unlicense"
] | 1 | 2021-05-05T18:56:31.000Z | 2021-05-05T18:56:31.000Z | //https://vjudge.net/contest/416254#problem/K
#include <bits/stdc++.h>
using namespace std;
#define F first
#define S second
typedef long long ll;
typedef long double ld;
ll mod = 1e9 + 7;
int main ()
{
ios_base::sync_with_stdio (0); cin.tie (0); cout.tie (0);
ll r, d, n, cnt = 0;
cin >> r >> d >> n;
... | 22.458333 | 120 | 0.489796 | MaGnsio |
ad5cf8dfe81517e035d2b58b04dcb446b8349b68 | 25,967 | cc | C++ | example/jsonfindptrs/jsonfindptrs.cc | GoogleDepends/wuffs | 94440cf6ffe84a1a5793f44c336060ddd3efe718 | [
"Apache-2.0"
] | null | null | null | example/jsonfindptrs/jsonfindptrs.cc | GoogleDepends/wuffs | 94440cf6ffe84a1a5793f44c336060ddd3efe718 | [
"Apache-2.0"
] | null | null | null | example/jsonfindptrs/jsonfindptrs.cc | GoogleDepends/wuffs | 94440cf6ffe84a1a5793f44c336060ddd3efe718 | [
"Apache-2.0"
] | null | null | null | // Copyright 2020 The Wuffs Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed... | 32.418227 | 80 | 0.632688 | GoogleDepends |
ad60a3b68c3a5f13171173d0396aeef65bdb74bb | 4,374 | cpp | C++ | export/export_histogram_numeric.cpp | holmes-anonymous-submission/holmes-export | 1429e579a88099b60dd89b0cbd020dc5e47f6895 | [
"MIT"
] | null | null | null | export/export_histogram_numeric.cpp | holmes-anonymous-submission/holmes-export | 1429e579a88099b60dd89b0cbd020dc5e47f6895 | [
"MIT"
] | null | null | null | export/export_histogram_numeric.cpp | holmes-anonymous-submission/holmes-export | 1429e579a88099b60dd89b0cbd020dc5e47f6895 | [
"MIT"
] | null | null | null | #define ARGUMENT_EXPORT
#include "histogram_numeric_check.hpp"
#include "host_ip.hpp"
#include "random_linear_combination.hpp"
int port, party;
const int threads = 32;
// number of entries to go through the range checks
// set this number to be high enough so offline phase batching pattern does not affect too much
i... | 29.958904 | 177 | 0.702103 | holmes-anonymous-submission |
ad61724e9019bf6cb5ecde0aaa250c30a522b694 | 4,014 | cc | C++ | src/vw/Mosaic/CelestiaQuadTreeConfig.cc | tkeemon/visionworkbench | df59fcb31191e1fc4fecfe1901963da1614a52b1 | [
"NASA-1.3"
] | 1 | 2020-06-02T04:06:43.000Z | 2020-06-02T04:06:43.000Z | src/vw/Mosaic/CelestiaQuadTreeConfig.cc | tkeemon/visionworkbench | df59fcb31191e1fc4fecfe1901963da1614a52b1 | [
"NASA-1.3"
] | null | null | null | src/vw/Mosaic/CelestiaQuadTreeConfig.cc | tkeemon/visionworkbench | df59fcb31191e1fc4fecfe1901963da1614a52b1 | [
"NASA-1.3"
] | null | null | null | // __BEGIN_LICENSE__
// Copyright (C) 2006-2010 United States Government as represented by
// the Administrator of the National Aeronautics and Space Administration.
// All Rights Reserved.
// __END_LICENSE__
#include <vw/Mosaic/CelestiaQuadTreeConfig.h>
#include <boost/filesystem/path.hpp>
#include <boost/filesyste... | 34.904348 | 127 | 0.613602 | tkeemon |
ad61dd8fc7cc8a23811df19731dd11a54b75f215 | 718 | hpp | C++ | Axis.Core/log_messages/manager_messages.hpp | renato-yuzup/axis-fem | 2e8d325eb9c8e99285f513b4c1218ef53eb0ab22 | [
"MIT"
] | 2 | 2021-07-23T08:49:54.000Z | 2021-07-29T22:07:30.000Z | Axis.Core/log_messages/manager_messages.hpp | renato-yuzup/axis-fem | 2e8d325eb9c8e99285f513b4c1218ef53eb0ab22 | [
"MIT"
] | null | null | null | Axis.Core/log_messages/manager_messages.hpp | renato-yuzup/axis-fem | 2e8d325eb9c8e99285f513b4c1218ef53eb0ab22 | [
"MIT"
] | null | null | null | #ifndef __MANAGER_MESSAGES_HPP
#define __MANAGER_MESSAGES_HPP
#include "message_base.hpp"
#define AXIS_LOG_MANAGER_POSTREGISTRATION_ERROR _T("The module %1 cannot be registered due to an error. Check for troubleshooting information in the vendor's manual for this product.")
#define AXIS_LOG_MANAGER_REGISTRATI... | 79.777778 | 247 | 0.792479 | renato-yuzup |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.