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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
cacd3ca5294a1eac1712614a021b6ae74d5de9df | 3,362 | cpp | C++ | src/webpagehandler.cpp | lbussy/bootstrap | 502e16fe4e4d5430f890126e69a174ac288cdc32 | [
"MIT"
] | null | null | null | src/webpagehandler.cpp | lbussy/bootstrap | 502e16fe4e4d5430f890126e69a174ac288cdc32 | [
"MIT"
] | null | null | null | src/webpagehandler.cpp | lbussy/bootstrap | 502e16fe4e4d5430f890126e69a174ac288cdc32 | [
"MIT"
] | null | null | null | /* Copyright (C) 2019-2020 Lee C. Bussy (@LBussy)
This file is part of Lee Bussy's Bootstrap (bootstrap).
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 li... | 32.960784 | 106 | 0.686794 | lbussy |
cacd85485fb5586aa4d9a6e632809a98e9daa43e | 714 | cpp | C++ | labtasks/lab6/main.cpp | asharbinkhalil/DATASTRUCTURES | 884acdc3b4f87e2ea883344fcebe7a6ea9b41b7e | [
"MIT"
] | null | null | null | labtasks/lab6/main.cpp | asharbinkhalil/DATASTRUCTURES | 884acdc3b4f87e2ea883344fcebe7a6ea9b41b7e | [
"MIT"
] | null | null | null | labtasks/lab6/main.cpp | asharbinkhalil/DATASTRUCTURES | 884acdc3b4f87e2ea883344fcebe7a6ea9b41b7e | [
"MIT"
] | null | null | null |
#include"doubly circular.cpp"
#include <iostream>
using namespace std;
int main()
{
doublylinkedlist obj;
for (int i = 1; i <=10; i++)
obj.add_to_end(i);
cout << "INITIAL LIST IS\n\n";
obj.display();
cout << "\nIS soterd: " << obj.Issorted(obj.head) << "\n";
cout << "\nmiddle element is :"<<obj.re... | 22.3125 | 68 | 0.603641 | asharbinkhalil |
cacfbe0bb45cd121f8882c925bae03b2d43df478 | 4,546 | inl | C++ | SM_Test.inl | xzrunner/sm | e31351c4fcd4470efa4dbec5bb6ee02c21ae42f8 | [
"MIT"
] | null | null | null | SM_Test.inl | xzrunner/sm | e31351c4fcd4470efa4dbec5bb6ee02c21ae42f8 | [
"MIT"
] | null | null | null | SM_Test.inl | xzrunner/sm | e31351c4fcd4470efa4dbec5bb6ee02c21ae42f8 | [
"MIT"
] | null | null | null | #ifndef _SPATIAL_MATH_TEST_INL_
#define _SPATIAL_MATH_TEST_INL_
//#include "SM_Calc.h"
#include "sm_const.h"
#include <float.h>
#include <algorithm>
namespace sm
{
inline
bool is_between(float bound0, float bound1, float test)
{
if (bound0 < bound1) {
return test < bound1 + FLT_EPSILON && test > bound0 - FLT_EP... | 24.05291 | 106 | 0.624945 | xzrunner |
cad38c0546f3b67129a5ecd1164f651f254dba8c | 7,368 | cpp | C++ | Engine/PipelineCompiler/glsl/Ray.cpp | azhirnov/GraphicsGenFramework-modular | 348be601f1991f102defa0c99250529f5e44c4d3 | [
"BSD-2-Clause"
] | 12 | 2017-12-23T14:24:57.000Z | 2020-10-02T19:52:12.000Z | Engine/PipelineCompiler/glsl/Ray.cpp | azhirnov/ModularGraphicsFramework | 348be601f1991f102defa0c99250529f5e44c4d3 | [
"BSD-2-Clause"
] | null | null | null | Engine/PipelineCompiler/glsl/Ray.cpp | azhirnov/ModularGraphicsFramework | 348be601f1991f102defa0c99250529f5e44c4d3 | [
"BSD-2-Clause"
] | null | null | null | // This is generated file, don't change anything!
#include "glsl_source_vfs.h"
namespace glsl_vfs
{
extern void VFS_Math3D_Ray (OUT String &src)
{
src << R"#(/*
3D Ray
license: free
*/
#include <Math/Quaternion.glsl>
#include <Math3D/Line3.glsl>
#include <Math/Math.glsl>
#include <Math/Utils.glsl>
struct Ra... | 26.408602 | 133 | 0.552389 | azhirnov |
cad4f12e8bdfa96d187c14abd05833c0c6918917 | 14,187 | cpp | C++ | unittests/VMRuntime/HeapSnapshotTest.cpp | mganandraj/hermes | cb54b87f9dd4c6de26196a35e21f5af88383cc65 | [
"MIT"
] | null | null | null | unittests/VMRuntime/HeapSnapshotTest.cpp | mganandraj/hermes | cb54b87f9dd4c6de26196a35e21f5af88383cc65 | [
"MIT"
] | null | null | null | unittests/VMRuntime/HeapSnapshotTest.cpp | mganandraj/hermes | cb54b87f9dd4c6de26196a35e21f5af88383cc65 | [
"MIT"
] | null | null | null | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "hermes/VM/HeapSnapshot.h"
#include "TestHelpers.h"
#include "gtest/gtest.h"
#include "hermes/Parser/JSONParser.h"
#includ... | 32.097285 | 80 | 0.659266 | mganandraj |
cad7cf147f5e6187c088499b1a4cdacbffae7f1c | 5,702 | hpp | C++ | lib/inquisitive/shl.hpp | fcharlie/FileViewer | 56861b3d3a62ea16becea965bc3bc0198f28e26a | [
"MIT"
] | 3 | 2019-03-19T09:24:09.000Z | 2021-05-17T11:21:24.000Z | lib/inquisitive/shl.hpp | fcharlie/FileViewer | 56861b3d3a62ea16becea965bc3bc0198f28e26a | [
"MIT"
] | null | null | null | lib/inquisitive/shl.hpp | fcharlie/FileViewer | 56861b3d3a62ea16becea965bc3bc0198f28e26a | [
"MIT"
] | 1 | 2019-11-20T05:11:30.000Z | 2019-11-20T05:11:30.000Z | ////////////////
#ifndef INQUISITIVE_SHELLLINK_HPP
#define INQUISITIVE_SHELLLINK_HPP
#include <cstdint>
namespace shl {
// Shell link flags
// Thanks:
// https://github.com/reactos/reactos/blob/bfcbda227f99c1b59e8ed71f5e0f59f793d496a1/sdk/include/reactos/undocshell.h#L800
enum : uint32_t {
SldfNone = 0x00000000,
H... | 32.033708 | 121 | 0.757804 | fcharlie |
cad9ac4979bb4ea96e2ea2f65d09442ce3691cfd | 20,724 | cpp | C++ | FaceDemo_DXUT/Source/Model.cpp | GameTechDev/FaceTracking | 56223359cb00a66b6dcd882dadd6e6f6a47da9ea | [
"Apache-2.0"
] | 39 | 2017-04-11T10:01:59.000Z | 2022-01-12T15:13:45.000Z | FaceDemo_DXUT/Source/Model.cpp | shengguo78/FaceMe | 7f87583312545f16557624d3c99b2521e95d9670 | [
"Apache-2.0"
] | 2 | 2017-03-21T22:13:20.000Z | 2021-04-19T16:38:03.000Z | FaceDemo_DXUT/Source/Model.cpp | shengguo78/FaceMe | 7f87583312545f16557624d3c99b2521e95d9670 | [
"Apache-2.0"
] | 16 | 2017-03-16T12:20:50.000Z | 2020-03-21T04:13:55.000Z | /////////////////////////////////////////////////////////////////////////////////////////////
// Copyright 2017 Intel Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
/... | 26.26616 | 556 | 0.69089 | GameTechDev |
cada2279889b6ae2ac463c2fcb7a475c316b8842 | 10,960 | cpp | C++ | platforms/posix/cpSerial_I.cpp | asc135/CodePort | 306d40d0a6d5ccb249b22249f2b3702ac09c021b | [
"BSD-3-Clause"
] | null | null | null | platforms/posix/cpSerial_I.cpp | asc135/CodePort | 306d40d0a6d5ccb249b22249f2b3702ac09c021b | [
"BSD-3-Clause"
] | null | null | null | platforms/posix/cpSerial_I.cpp | asc135/CodePort | 306d40d0a6d5ccb249b22249f2b3702ac09c021b | [
"BSD-3-Clause"
] | null | null | null | // ----------------------------------------------------------------------------
// CodePort++
//
// A Portable Operating System Abstraction Library
// Copyright 2011 Amardeep S. Chana. All rights reserved.
// Use of this software is bound by the terms of the Modified BSD License.
//
// Module Name: cpSerial_I.... | 20.485981 | 99 | 0.534672 | asc135 |
cada34855b5e48b60a5a1eca02b6cc5a2856d40a | 13,716 | hpp | C++ | monitor/power_off_action.hpp | ibm-openbmc/phosphor-fan-presence | a899aa0cbdb7904d177fc5bb85aa605e4ff13747 | [
"Apache-2.0"
] | null | null | null | monitor/power_off_action.hpp | ibm-openbmc/phosphor-fan-presence | a899aa0cbdb7904d177fc5bb85aa605e4ff13747 | [
"Apache-2.0"
] | null | null | null | monitor/power_off_action.hpp | ibm-openbmc/phosphor-fan-presence | a899aa0cbdb7904d177fc5bb85aa605e4ff13747 | [
"Apache-2.0"
] | 1 | 2019-09-27T15:20:57.000Z | 2019-09-27T15:20:57.000Z | #pragma once
#include "logging.hpp"
#include "power_interface.hpp"
#include "sdbusplus.hpp"
#include <fmt/format.h>
#include <sdeventplus/clock.hpp>
#include <sdeventplus/event.hpp>
#include <sdeventplus/utility/timer.hpp>
#include <chrono>
namespace phosphor::fan::monitor
{
/**
* @class PowerOffAction
*
* Thi... | 28.754717 | 80 | 0.587562 | ibm-openbmc |
cadc4e62da08b60e41eeb86ad6c94ee324c7f09f | 962 | cpp | C++ | Codeforces/#700#div2/B/B.cpp | Tudor67/Competitive-Programming | ae4dc6ed8bf76451775bf4f740c16394913f3ff1 | [
"MIT"
] | 1 | 2022-01-26T14:50:07.000Z | 2022-01-26T14:50:07.000Z | Codeforces/#700#div2/B/B.cpp | Tudor67/Competitive-Programming | ae4dc6ed8bf76451775bf4f740c16394913f3ff1 | [
"MIT"
] | null | null | null | Codeforces/#700#div2/B/B.cpp | Tudor67/Competitive-Programming | ae4dc6ed8bf76451775bf4f740c16394913f3ff1 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
void solve(istream& cin, ostream& cout){
long long A, B, N;
cin >> A >> B >> N;
vector<long long> a(N);
for(int i = 0; i < N; ++i){
cin >> a[i];
}
vector<long long> b(N);
for(int i = 0; i < N; ++i){
cin >> b[i];
}
B +=... | 18.5 | 50 | 0.430353 | Tudor67 |
cae61631fc2e1d96734d249f161a08201968ef17 | 935 | hpp | C++ | SSSP/ESSENS/Core/Basic_SetOps/Level0/permute_elements.hpp | DynamicSSSP/sc18 | 3070cd5ad7107a3985a7a386ddf99b7f018c178a | [
"MIT"
] | 4 | 2018-12-19T08:40:39.000Z | 2021-02-22T17:31:41.000Z | SSSP/ESSENS/Core/Basic_SetOps/Level0/permute_elements.hpp | DynamicSSSP/HIPC18 | 3070cd5ad7107a3985a7a386ddf99b7f018c178a | [
"MIT"
] | null | null | null | SSSP/ESSENS/Core/Basic_SetOps/Level0/permute_elements.hpp | DynamicSSSP/HIPC18 | 3070cd5ad7107a3985a7a386ddf99b7f018c178a | [
"MIT"
] | null | null | null | #ifndef PERMUTE_ELEMENTS_HPP
#define PERMUTE_ELEMENTS_HPP
#include "structure_defs.hpp"
using namespace std;
/****** Permute a Vector of Integers *******/
int factorial(int i)
{
int fact=1;
while(1)
{ fact=fact*i;
i=i-1;
if(i==0) {break;}
}
return fact;
}
//Assume ... | 15.847458 | 52 | 0.531551 | DynamicSSSP |
cae73d2d702da93c54498b519e260b40ca4e21c0 | 1,593 | cpp | C++ | Arduino/OtaFabMechanum/src/functionsApi/watchSensorTest.cpp | sibafb/osoyoo_mechanum_wheel_robot | 5ea1cde6b4164aef19adca5ce733b5dc257b9254 | [
"Apache-2.0"
] | null | null | null | Arduino/OtaFabMechanum/src/functionsApi/watchSensorTest.cpp | sibafb/osoyoo_mechanum_wheel_robot | 5ea1cde6b4164aef19adca5ce733b5dc257b9254 | [
"Apache-2.0"
] | null | null | null | Arduino/OtaFabMechanum/src/functionsApi/watchSensorTest.cpp | sibafb/osoyoo_mechanum_wheel_robot | 5ea1cde6b4164aef19adca5ce733b5dc257b9254 | [
"Apache-2.0"
] | null | null | null | /**
* @file watchSensorTest.cpp
* @brief
* 周囲検知のデバッグモジュール
* @date 2020/12/24 まずcでファイル分割をかく
*/
#include <Arduino.h>
#include "./../lib/debugPrint.h"
#include "./../lib/pinAssignment.h"
#include "./../hardWareDriver/ultraSonicSensor.h"
#include "./../hardWareDriver/servoDriver.h"
#include "functionsApi.... | 23.086957 | 67 | 0.617075 | sibafb |
cae9e917d3e512f0a74bdefecf361d57657832cc | 1,053 | cc | C++ | core/median_map_filter.cc | Arpan-2109/caroline | 23aba9ac9a35697c02358aeb88ed121d3d97a99c | [
"MIT"
] | 1 | 2017-07-27T15:08:19.000Z | 2017-07-27T15:08:19.000Z | core/median_map_filter.cc | Arpan-2109/caroline | 23aba9ac9a35697c02358aeb88ed121d3d97a99c | [
"MIT"
] | null | null | null | core/median_map_filter.cc | Arpan-2109/caroline | 23aba9ac9a35697c02358aeb88ed121d3d97a99c | [
"MIT"
] | 1 | 2020-10-01T08:46:10.000Z | 2020-10-01T08:46:10.000Z | // Copyright (c) 2014 The Caroline authors. All rights reserved.
// Use of this source file is governed by a MIT license that can be found in the
// LICENSE file.
/// @author Sirotkin Dmitry <dmitriy.v.sirotkin@gmail.com
#include <vector>
#include "core/median_map_filter.h"
#include "core/depth_map.h"
namespace core ... | 27 | 80 | 0.623932 | Arpan-2109 |
caebe5497d52e7ba9072c422fe2303d21edd0b75 | 2,045 | cpp | C++ | Weasel/src/Weasel/Platform/OpenGL/OpenGLVertexArray.cpp | MissNalgas/Minesweeper | 4e7671547f6805cd02ca9be06116c3f0e99788db | [
"Unlicense"
] | null | null | null | Weasel/src/Weasel/Platform/OpenGL/OpenGLVertexArray.cpp | MissNalgas/Minesweeper | 4e7671547f6805cd02ca9be06116c3f0e99788db | [
"Unlicense"
] | null | null | null | Weasel/src/Weasel/Platform/OpenGL/OpenGLVertexArray.cpp | MissNalgas/Minesweeper | 4e7671547f6805cd02ca9be06116c3f0e99788db | [
"Unlicense"
] | null | null | null | #include "wspch.h"
#include "OpenGLVertexArray.h"
#include <glad/glad.h>
namespace Weasel {
static GLenum ShaderDataTypeToOpenGLBaseType(ShaderDataType type)
{
switch (type)
{
case Weasel::ShaderDataType::Float: return GL_FLOAT;
case Weasel::ShaderDataType::Float2: return GL_FLOAT;
case Weasel::ShaderDat... | 25.886076 | 197 | 0.754034 | MissNalgas |
caee70d781803e3d17623c2efb3639df1aa57019 | 4,333 | cpp | C++ | Source/Pathfinder/PathfinderCharacter.cpp | bernhardrieder/A-Star-Pathfinder-UE4 | d4ec8c7bf6ed2345de2f3bdac84dd6e93d28f476 | [
"Unlicense"
] | null | null | null | Source/Pathfinder/PathfinderCharacter.cpp | bernhardrieder/A-Star-Pathfinder-UE4 | d4ec8c7bf6ed2345de2f3bdac84dd6e93d28f476 | [
"Unlicense"
] | null | null | null | Source/Pathfinder/PathfinderCharacter.cpp | bernhardrieder/A-Star-Pathfinder-UE4 | d4ec8c7bf6ed2345de2f3bdac84dd6e93d28f476 | [
"Unlicense"
] | null | null | null | // Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.
#include "Pathfinder.h"
#include "PathfinderCharacter.h"
#include "Runtime/CoreUObject/Public/UObject/ConstructorHelpers.h"
#include "Runtime/Engine/Classes/Components/DecalComponent.h"
#include "Kismet/HeadMountedDisplayFunctionLibrary.h"
#include "Hexagon.... | 36.411765 | 149 | 0.794138 | bernhardrieder |
caeec9baab4e33c02cb959ca888225199bfdd92d | 1,171 | cpp | C++ | Blue-Flame-Engine/Core/BF/Platform/API/DirectX/DXShader.cpp | FantasyVII/Blue-Flame-Engine | b0e44ccffdd41539fa9075e5d6a2b3c1cc811d96 | [
"MIT"
] | 2 | 2020-10-12T13:40:05.000Z | 2021-09-17T08:37:03.000Z | Blue-Flame-Engine/Core/BF/Platform/API/DirectX/DXShader.cpp | 21423236/Blue-Flame-Engine | cf26fbdb94d1338f04e57ba88f0bbfc8b77c969b | [
"MIT"
] | null | null | null | Blue-Flame-Engine/Core/BF/Platform/API/DirectX/DXShader.cpp | 21423236/Blue-Flame-Engine | cf26fbdb94d1338f04e57ba88f0bbfc8b77c969b | [
"MIT"
] | null | null | null | #include "DXShader.h"
#include "BF/IO/FileLoader.h"
#include "BF/Engine.h"
#include "DXError.h"
namespace BF
{
namespace Platform
{
namespace API
{
namespace DirectX
{
using namespace std;
using namespace BF::IO;
DXShader::DXShader() :
VS(nullptr), PS(nullptr), VSData(nullptr), PSData(nul... | 23.897959 | 105 | 0.64731 | FantasyVII |
caf28994b14a4698800d3b90916897859e7b4d4c | 454 | cpp | C++ | opencl/source/gen11/gpgpu_walker_gen11.cpp | troels/compute-runtime | 3269e719a3ee7bcd97c50ec2cfe78fc8674adec0 | [
"Intel",
"MIT"
] | 778 | 2017-09-29T20:02:43.000Z | 2022-03-31T15:35:28.000Z | opencl/source/gen11/gpgpu_walker_gen11.cpp | troels/compute-runtime | 3269e719a3ee7bcd97c50ec2cfe78fc8674adec0 | [
"Intel",
"MIT"
] | 478 | 2018-01-26T16:06:45.000Z | 2022-03-30T10:19:10.000Z | opencl/source/gen11/gpgpu_walker_gen11.cpp | troels/compute-runtime | 3269e719a3ee7bcd97c50ec2cfe78fc8674adec0 | [
"Intel",
"MIT"
] | 215 | 2018-01-30T08:39:32.000Z | 2022-03-29T11:08:51.000Z | /*
* Copyright (C) 2019-2021 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "shared/source/gen11/hw_info.h"
#include "opencl/source/command_queue/gpgpu_walker_bdw_and_later.inl"
#include "opencl/source/command_queue/hardware_interface_bdw_and_later.inl"
namespace NEO {
template class Hardware... | 20.636364 | 75 | 0.790749 | troels |
caf35afbf6559b10cddaf79f442732a0019207b5 | 908 | cpp | C++ | src/bloom.cpp | salonmor/blog | 1c51d1c6143d3688c30dda907df55dd6ba955a55 | [
"0BSD"
] | 94 | 2019-02-17T09:25:28.000Z | 2022-03-31T03:25:14.000Z | src/bloom.cpp | salonmor/blog | 1c51d1c6143d3688c30dda907df55dd6ba955a55 | [
"0BSD"
] | 5 | 2020-09-05T09:38:59.000Z | 2021-11-29T15:38:57.000Z | src/bloom.cpp | salonmor/blog | 1c51d1c6143d3688c30dda907df55dd6ba955a55 | [
"0BSD"
] | 29 | 2019-02-17T09:25:36.000Z | 2022-03-17T08:53:38.000Z | #include <iostream>
#include <ios>
#include <string>
#include "bloom.hpp"
using namespace std;
int main()
{
auto set1 = {"Martin", "Vorbrodt", "C++", "Blog"};
auto set2 = {"Not", "In", "The", "Set"};
bloom_filter<string, 5> bloom(128);
for(auto s : set1) bloom.add(s);
std::boolalpha(cout);
cout << "bloom_filt... | 31.310345 | 96 | 0.589207 | salonmor |
caf35bd099d4c8f7ad313018d743fb2b76dada35 | 601,426 | cpp | C++ | qikkDB_test/DispatcherTests.cpp | veselyja/qikkdb-community | 680f62632ba85e468beee672624b80a61ed40f55 | [
"Apache-2.0"
] | 15 | 2020-06-30T13:43:42.000Z | 2022-02-02T12:52:33.000Z | qikkDB_test/DispatcherTests.cpp | veselyja/qikkdb-community | 680f62632ba85e468beee672624b80a61ed40f55 | [
"Apache-2.0"
] | 1 | 2020-11-28T22:29:35.000Z | 2020-12-22T10:28:25.000Z | qikkDB_test/DispatcherTests.cpp | qikkDB/qikkdb | 4ee657c7d2bfccd460d2f0d2c84a0bbe72d9a80a | [
"Apache-2.0"
] | 1 | 2020-06-30T12:41:37.000Z | 2020-06-30T12:41:37.000Z | #include <cmath>
#include <functional>
#include <iostream>
#include <fstream>
#include <gtest/gtest.h>
#include "../qikkDB/DatabaseGenerator.h"
#include "../qikkDB/ColumnBase.h"
#include "../qikkDB/BlockBase.h"
#include "../qikkDB/PointFactory.h"
#include "../qikkDB/ComplexPolygonFactory.h"
#include "../qikkDB/Databas... | 37.47436 | 164 | 0.567701 | veselyja |
caf84f1ea36850ff8756ba02aea824c4d16905d1 | 1,420 | hpp | C++ | doc/quickbook/oalplus/quickref/buffer.hpp | Extrunder/oglplus | c7c8266a1571d0b4c8b02d9c8ca6a7b6a6f51791 | [
"BSL-1.0"
] | null | null | null | doc/quickbook/oalplus/quickref/buffer.hpp | Extrunder/oglplus | c7c8266a1571d0b4c8b02d9c8ca6a7b6a6f51791 | [
"BSL-1.0"
] | null | null | null | doc/quickbook/oalplus/quickref/buffer.hpp | Extrunder/oglplus | c7c8266a1571d0b4c8b02d9c8ca6a7b6a6f51791 | [
"BSL-1.0"
] | null | null | null | /*
* Copyright 2014-2015 Matus Chochlik. 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)
*/
//[oalplus_buffer_common_1
template <>
class __ObjectOps<__tag_DirectState, __tag_Buffer>
: public __BufferName
{
p... | 24.067797 | 74 | 0.722535 | Extrunder |
caffeabd0600cf0fd0d24d17dcc4b37ab9dd7c32 | 1,202 | hpp | C++ | NWNXLib/API/Globals.hpp | Qowyn/unified | 149d0b7670a9d156e64555fe0bd7715423db4c2a | [
"MIT"
] | null | null | null | NWNXLib/API/Globals.hpp | Qowyn/unified | 149d0b7670a9d156e64555fe0bd7715423db4c2a | [
"MIT"
] | null | null | null | NWNXLib/API/Globals.hpp | Qowyn/unified | 149d0b7670a9d156e64555fe0bd7715423db4c2a | [
"MIT"
] | null | null | null | #pragma once
#include <cstdint>
#include "API/Version.hpp"
namespace NWNXLib {
namespace API {
#ifdef _WIN32
static_assert(false, "Windows is not suported.");
#endif
struct CExoBase;
struct CExoResMan;
struct CVirtualMachine;
struct CScriptCompiler;
struct CAppManager;
struct CTlkTable;
struct CNWRules;
struct... | 26.130435 | 81 | 0.772879 | Qowyn |
1b01f82b0f9d45e6339d2c7494871c60f07491ac | 2,716 | cpp | C++ | old-sybil/XApp1/D2DInputContrtol.cpp | sugarontop/UWPFRM | ab93099b7e15c525f782cfaa225faaf4bd239686 | [
"MIT"
] | null | null | null | old-sybil/XApp1/D2DInputContrtol.cpp | sugarontop/UWPFRM | ab93099b7e15c525f782cfaa225faaf4bd239686 | [
"MIT"
] | null | null | null | old-sybil/XApp1/D2DInputContrtol.cpp | sugarontop/UWPFRM | ab93099b7e15c525f782cfaa225faaf4bd239686 | [
"MIT"
] | null | null | null | #include "pch.h"
#include "D2DUniversalControlBase.h"
#include "D2DInputControl.h"
using namespace V4;
using namespace V4_XAPP1;
void D2DInputTextbox::Create(D2DControls* pacontrol, const FRectFBoxModel& rc, int stat, std::vector<InputRow>& rows, Init& init)
{
InnerCreateWindow(pacontrol,rc,stat, L"noname", -1);
... | 17.986755 | 129 | 0.654271 | sugarontop |
1b0214f710df47cf6b30b5d6fb051460c1944082 | 6,225 | cpp | C++ | libfairygui/Classes/GProgressBar.cpp | cui-shinan0812/FairyGUI-cocos2dx | dbb7a5e45b8a34791c80be882a2e9607acd96e5e | [
"MIT"
] | null | null | null | libfairygui/Classes/GProgressBar.cpp | cui-shinan0812/FairyGUI-cocos2dx | dbb7a5e45b8a34791c80be882a2e9607acd96e5e | [
"MIT"
] | null | null | null | libfairygui/Classes/GProgressBar.cpp | cui-shinan0812/FairyGUI-cocos2dx | dbb7a5e45b8a34791c80be882a2e9607acd96e5e | [
"MIT"
] | null | null | null | #include "GProgressBar.h"
#include "PackageItem.h"
#include "utils/ByteBuffer.h"
#include "tween/GTween.h"
NS_FGUI_BEGIN
USING_NS_CC;
GProgressBar::GProgressBar() :
_max(100),
_value(0),
_titleType(ProgressTitleType::PERCENT),
_titleObject(nullptr),
_barObjectH(nullptr),
_barObje... | 28.424658 | 122 | 0.56996 | cui-shinan0812 |
1b03916b03c3ce4bdc6592f6d01c13fca3a94902 | 7,944 | cpp | C++ | doc/CSBwin-src/Code13ea4.cpp | Tehel/dmjs | 641e83246012ce8fdc24fafed7315e6d474f4d16 | [
"MIT"
] | 1 | 2017-07-27T23:46:11.000Z | 2017-07-27T23:46:11.000Z | doc/CSBwin-src/Code13ea4.cpp | Tehel/dmjs | 641e83246012ce8fdc24fafed7315e6d474f4d16 | [
"MIT"
] | null | null | null | doc/CSBwin-src/Code13ea4.cpp | Tehel/dmjs | 641e83246012ce8fdc24fafed7315e6d474f4d16 | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "UI.h"
#include <stdio.h>
//#include "Objects.h"
#include "Dispatch.h"
#include "CSB.h"
#include "Data.h"
bool IsPlayFileOpen(void);
bool PlayFile_Play(MouseQueueEnt *MQ);
void RecordFile_Record(MouseQueueEnt *MQ);
// TAG013ea4
RESTARTABLE _ReIncarnate(CHARDESC *pChar)
{ //void
... | 24.145897 | 87 | 0.408736 | Tehel |
1b05b3433b46db9b649ec3bb4bba8f6721587a9a | 645 | cpp | C++ | TeaFiles/header/sections/ContentSectionFormatter.cpp | fced42/TeaFiles.Cpp | 6702a2056d025da9d18d0112ba294ac47269e861 | [
"MIT"
] | 47 | 2015-01-01T14:37:36.000Z | 2021-04-25T07:38:07.000Z | TeaFiles/header/sections/ContentSectionFormatter.cpp | fced42/TeaFiles.Cpp | 6702a2056d025da9d18d0112ba294ac47269e861 | [
"MIT"
] | 6 | 2016-01-11T05:20:05.000Z | 2021-02-06T11:37:24.000Z | TeaFiles/header/sections/ContentSectionFormatter.cpp | fced42/TeaFiles.Cpp | 6702a2056d025da9d18d0112ba294ac47269e861 | [
"MIT"
] | 17 | 2015-01-05T15:10:43.000Z | 2021-06-22T04:59:16.000Z | #include "ContentSectionFormatter.h"
#include "../ReadContext.h"
#include "../WriteContext.h"
#include "../../file/FormattedReader.h"
#include "../../file/FormattedWriter.h"
#include "../../description/ItemDescriptionInternals.h"
#include "../../description/TeaFileDescription.h"
namespace teatime {
void ContentSecti... | 23.888889 | 55 | 0.686822 | fced42 |
db4c6c61222bddfc531f8380f28b2f443119892a | 3,650 | cpp | C++ | Codechef/Cook/nov12_2.cpp | TiwariAnil/Algorithmic_Puzzles | 13a6b2ed8e8fd0176b9b58c073b2e9847e7ba774 | [
"MIT"
] | null | null | null | Codechef/Cook/nov12_2.cpp | TiwariAnil/Algorithmic_Puzzles | 13a6b2ed8e8fd0176b9b58c073b2e9847e7ba774 | [
"MIT"
] | null | null | null | Codechef/Cook/nov12_2.cpp | TiwariAnil/Algorithmic_Puzzles | 13a6b2ed8e8fd0176b9b58c073b2e9847e7ba774 | [
"MIT"
] | null | null | null | //Data Structure includes
#include<vector>
#include<stack>
#include<set>
#include<map>
#include<queue>
#include<deque>
#include<string>
//Other Includes
#include<iostream>
#include<algorithm>
#include<cstring>
#include<cassert>
#include<cstdlib>
#include<cstdio>
#include<cmath>
//some common functionn
#define maX(a,b) ... | 19.836957 | 66 | 0.419726 | TiwariAnil |
db4f2fc92ae221fce2e7fd34a768a9a55e8134ce | 663 | hh | C++ | include/ten/task/rendez.hh | toffaletti/libten | 00c6dcc91c8d769c74ed9063277b1120c9084427 | [
"Apache-2.0"
] | 23 | 2015-02-28T12:51:54.000Z | 2021-07-21T10:34:20.000Z | include/ten/task/rendez.hh | toffaletti/libten | 00c6dcc91c8d769c74ed9063277b1120c9084427 | [
"Apache-2.0"
] | 1 | 2015-04-26T05:44:18.000Z | 2015-04-26T05:44:18.000Z | include/ten/task/rendez.hh | toffaletti/libten | 00c6dcc91c8d769c74ed9063277b1120c9084427 | [
"Apache-2.0"
] | 8 | 2015-05-04T08:04:11.000Z | 2020-09-07T11:30:56.000Z | #ifndef LIBTEN_TASK_RENDEZ_HH
#define LIBTEN_TASK_RENDEZ_HH
#include "ten/task/qutex.hh"
namespace ten {
//! task aware condition rendezvous point
class rendez {
private:
std::mutex _m;
std::deque<ptr<task::impl>> _waiting;
public:
rendez() {}
rendez(const rendez &) = delete;
rendez &operator =(c... | 18.416667 | 61 | 0.631976 | toffaletti |
db5222a0ebfcfb4b8e0711e54a025d153a9ed701 | 1,024 | cpp | C++ | BasicTools/BasicToolsMain.cpp | daniel-anavaino/tinkercell | 7896a7f809a0373ab3c848d25e3691d10a648437 | [
"BSD-3-Clause"
] | 1 | 2021-01-07T13:12:51.000Z | 2021-01-07T13:12:51.000Z | BasicTools/BasicToolsMain.cpp | whipplelabs/tinkercell | 8528c46c2ea04bbb93d9f3a84156c67d8fbaa589 | [
"BSD-3-Clause"
] | 7 | 2020-04-12T22:25:46.000Z | 2020-04-13T07:50:40.000Z | BasicTools/BasicToolsMain.cpp | daniel-anavaino/tinkercell | 7896a7f809a0373ab3c848d25e3691d10a648437 | [
"BSD-3-Clause"
] | 2 | 2020-04-12T21:57:01.000Z | 2020-04-12T21:59:29.000Z | /****************************************************************************
Copyright (c) 2008 Deepak Chandran
Contact: Deepak Chandran (dchandran1@gmail.com)
See COPYRIGHT.TXT
Function that loads dll into main window
****************************************************************************/
#include "... | 35.310345 | 78 | 0.646484 | daniel-anavaino |
db55e0193f93b6748d2231af7d76463093d8a5c9 | 4,715 | inl | C++ | c++/Ail/ComString.inl | aamshukov/miscellaneous | 6fc0d2cb98daff70d14f87b2dfc4e58e61d2df60 | [
"MIT"
] | null | null | null | c++/Ail/ComString.inl | aamshukov/miscellaneous | 6fc0d2cb98daff70d14f87b2dfc4e58e61d2df60 | [
"MIT"
] | null | null | null | c++/Ail/ComString.inl | aamshukov/miscellaneous | 6fc0d2cb98daff70d14f87b2dfc4e58e61d2df60 | [
"MIT"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////////////
//......................................................................................
// This is a part of AI Library [Arthur's Interfaces Library]. .
// 1998-2001 Arthur Amshukov ... | 19.564315 | 88 | 0.502439 | aamshukov |
db593c520c989c27d2ec2cbd4ddc81099fa6aba0 | 2,843 | cpp | C++ | android-30/android/widget/GridLayout_LayoutParams.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 12 | 2020-03-26T02:38:56.000Z | 2022-03-14T08:17:26.000Z | android-30/android/widget/GridLayout_LayoutParams.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 1 | 2021-01-27T06:07:45.000Z | 2021-11-13T19:19:43.000Z | android-29/android/widget/GridLayout_LayoutParams.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 3 | 2021-02-02T12:34:55.000Z | 2022-03-08T07:45:57.000Z | #include "../content/Context.hpp"
#include "../content/res/TypedArray.hpp"
#include "../view/ViewGroup_LayoutParams.hpp"
#include "../view/ViewGroup_MarginLayoutParams.hpp"
#include "./GridLayout_Spec.hpp"
#include "../../JObject.hpp"
#include "./GridLayout_LayoutParams.hpp"
namespace android::widget
{
// Fields
and... | 29.926316 | 127 | 0.744636 | YJBeetle |
db5e6868fb6e3a7e465cb9417a7fbc4cfd3abbd0 | 2,259 | cpp | C++ | labs/6/Practice_03 - The big 4/Solutions/Marta'sProject/MartenitsaGenerator.cpp | triffon/oop-2019-20 | db199631d59ddefdcc0c8eb3d689de0095618f92 | [
"MIT"
] | 19 | 2020-02-21T16:46:50.000Z | 2022-01-26T19:59:49.000Z | labs/6/Practice_03 - The big 4/Solutions/Marta'sProject/MartenitsaGenerator.cpp | triffon/oop-2019-20 | db199631d59ddefdcc0c8eb3d689de0095618f92 | [
"MIT"
] | 1 | 2020-03-14T08:09:45.000Z | 2020-03-14T08:09:45.000Z | labs/6/Practice_03 - The big 4/Solutions/Marta'sProject/MartenitsaGenerator.cpp | triffon/oop-2019-20 | db199631d59ddefdcc0c8eb3d689de0095618f92 | [
"MIT"
] | 11 | 2020-02-23T12:29:58.000Z | 2021-04-11T08:30:12.000Z | //
// Created by yasen on 3/8/20.
//
#include <time.h>
#include <stdlib.h>
#include "MartenitsaGenerator.h"
const size_t countNames = 8;
const char* names[countNames] = {"Yasen", "Gosho", "Victor", "Niki", "Gabi", "Victoria", "Tedi", "Andi"};
const size_t countWishes = 5;
const char* wishes[countWishes] = {"Zdrave",... | 29.723684 | 109 | 0.655157 | triffon |
db5e784623c086f1a1d751192a36a422f297bed4 | 869 | cpp | C++ | cpp/0200-0299/206. Reverse Linked List/solution.cpp | RapDoodle/LeetCode-Solutions | 6f14b7621bc6db12303be7f85508f3a5b2c2c30a | [
"MIT"
] | null | null | null | cpp/0200-0299/206. Reverse Linked List/solution.cpp | RapDoodle/LeetCode-Solutions | 6f14b7621bc6db12303be7f85508f3a5b2c2c30a | [
"MIT"
] | null | null | null | cpp/0200-0299/206. Reverse Linked List/solution.cpp | RapDoodle/LeetCode-Solutions | 6f14b7621bc6db12303be7f85508f3a5b2c2c30a | [
"MIT"
] | null | null | null | /**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode() : val(0), next(nullptr) {}
* ListNode(int x) : val(x), next(nullptr) {}
* ListNode(int x, ListNode *next) : val(x), next(next) {}
* };
*/
class Solution {
public:
ListNode* reverseList... | 27.15625 | 62 | 0.484465 | RapDoodle |
db68041d6e994c3c66b299fa5ef76e9ace82150c | 3,627 | cpp | C++ | dev/test/so_5/environment/stop_guards/parallel_remove_50k/main.cpp | ZaMaZaN4iK/sobjectizer | afe9fc4d9fac6157860ec4459ac7a129223be87c | [
"BSD-3-Clause"
] | 272 | 2019-05-16T11:45:54.000Z | 2022-03-28T09:32:14.000Z | dev/test/so_5/environment/stop_guards/parallel_remove_50k/main.cpp | ZaMaZaN4iK/sobjectizer | afe9fc4d9fac6157860ec4459ac7a129223be87c | [
"BSD-3-Clause"
] | 40 | 2019-10-29T18:19:18.000Z | 2022-03-30T09:02:49.000Z | dev/test/so_5/environment/stop_guards/parallel_remove_50k/main.cpp | ZaMaZaN4iK/sobjectizer | afe9fc4d9fac6157860ec4459ac7a129223be87c | [
"BSD-3-Clause"
] | 29 | 2019-05-16T12:05:32.000Z | 2022-03-19T12:28:33.000Z | /*
* A test for parallel remove of 5K stop_guards.
*
* NOTE: count of agents is reduced to 5K because it takes
* to much time inside virtual machines.
*/
#include <so_5/all.hpp>
#include <test/3rd_party/various_helpers/time_limited_execution.hpp>
#include <test/3rd_party/various_helpers/ensure.hpp>
#include <te... | 20.844828 | 72 | 0.682658 | ZaMaZaN4iK |
db6f03e9ba812e5765e04eeb77e91d0ff7fa5c7f | 8,899 | cc | C++ | aku/PhnReader.cc | phsmit/AaltoASR | 33cb58b288cc01bcdff0d6709a296d0dfcc7f74a | [
"BSD-3-Clause"
] | 78 | 2015-01-07T14:33:47.000Z | 2022-03-15T09:01:30.000Z | aku/PhnReader.cc | phsmit/AaltoASR | 33cb58b288cc01bcdff0d6709a296d0dfcc7f74a | [
"BSD-3-Clause"
] | 4 | 2015-05-19T13:00:34.000Z | 2016-07-26T12:29:32.000Z | aku/PhnReader.cc | phsmit/AaltoASR | 33cb58b288cc01bcdff0d6709a296d0dfcc7f74a | [
"BSD-3-Clause"
] | 32 | 2015-01-16T08:16:24.000Z | 2021-04-02T21:26:22.000Z | #include <ctype.h>
#include <vector>
#include <string>
#include <errno.h>
#include <string.h>
#include <sstream>
#include <cstdlib>
#include <assert.h>
#include "PhnReader.hh"
#include "str.hh"
namespace aku {
PhnReader::Phn::Phn()
: start(0), end(0)
{
}
PhnReader::PhnReader(HmmSet *model)
: m_file(NULL), m_mo... | 22.136816 | 91 | 0.581189 | phsmit |
db6fe3e7f621bdbed417d65e1bfb824d40d5cdb3 | 2,027 | cpp | C++ | YorozuyaGSLib/source/__respond_checkDetail.cpp | lemkova/Yorozuya | f445d800078d9aba5de28f122cedfa03f26a38e4 | [
"MIT"
] | 29 | 2017-07-01T23:08:31.000Z | 2022-02-19T10:22:45.000Z | YorozuyaGSLib/source/__respond_checkDetail.cpp | kotopes/Yorozuya | 605c97d3a627a8f6545cc09f2a1b0a8afdedd33a | [
"MIT"
] | 90 | 2017-10-18T21:24:51.000Z | 2019-06-06T02:30:33.000Z | YorozuyaGSLib/source/__respond_checkDetail.cpp | kotopes/Yorozuya | 605c97d3a627a8f6545cc09f2a1b0a8afdedd33a | [
"MIT"
] | 44 | 2017-12-19T08:02:59.000Z | 2022-02-24T23:15:01.000Z | #include <__respond_checkDetail.hpp>
#include <common/ATFCore.hpp>
START_ATF_NAMESPACE
namespace Detail
{
Info::__respond_checkctor___respond_check2_ptr __respond_checkctor___respond_check2_next(nullptr);
Info::__respond_checkctor___respond_check2_clbk __respond_checkctor___respond_ch... | 44.065217 | 113 | 0.696596 | lemkova |
db71e1a9090351940a94603b210a7731ca9206aa | 2,511 | cpp | C++ | src/index_buffer.cpp | Arnyxa/Pepper | 1da7b68badff9fcd04724cdac0c3434c5c0b5448 | [
"MIT"
] | 1 | 2021-11-28T00:40:51.000Z | 2021-11-28T00:40:51.000Z | src/index_buffer.cpp | Arnyxa/Pepper | 1da7b68badff9fcd04724cdac0c3434c5c0b5448 | [
"MIT"
] | null | null | null | src/index_buffer.cpp | Arnyxa/Pepper | 1da7b68badff9fcd04724cdac0c3434c5c0b5448 | [
"MIT"
] | 1 | 2021-12-08T21:44:01.000Z | 2021-12-08T21:44:01.000Z | #include "index_buffer.hpp"
namespace ppr
{
index_buffer::index_buffer(const vk::Device& a_device)
: m_device(a_device)
, m_buffer(a_device)
, m_indices({0, 1, 2, 2, 3, 0})
{}
void index_buffer::create(const vk::PhysicalDevice& a_physical_device,
const... | 38.630769 | 104 | 0.503783 | Arnyxa |
db75794d0cbfb91de8c5672a4b4dd5460cac6d32 | 879 | cpp | C++ | Alpha/src/Alpha/Renderer/Texture.cpp | TygoB-B5/AlphaEngine | f197ce8a9bd66b17bc9170cb3b0a9bbd3918991e | [
"Apache-2.0"
] | null | null | null | Alpha/src/Alpha/Renderer/Texture.cpp | TygoB-B5/AlphaEngine | f197ce8a9bd66b17bc9170cb3b0a9bbd3918991e | [
"Apache-2.0"
] | null | null | null | Alpha/src/Alpha/Renderer/Texture.cpp | TygoB-B5/AlphaEngine | f197ce8a9bd66b17bc9170cb3b0a9bbd3918991e | [
"Apache-2.0"
] | null | null | null | #include "appch.h"
#include "Texture.h"
#include "Renderer.h"
#include "Alpha/Platform/OpenGL/OpenGLTexture2D.h"
namespace Alpha
{
Ref<Texture2D> Texture2D::Create(const std::string& filepath)
{
switch (Renderer::GetAPI())
{
case RendererAPI::API::None: AP_CORE_ASSERT(false, "RenderAPI: \"None\" is not support... | 28.354839 | 108 | 0.730375 | TygoB-B5 |
db760f38d4973a1ba947d5ec530da9be1e8b5d4f | 1,317 | hpp | C++ | libs/PhiCore/include/phi/type_traits/underlying_type.hpp | AMS21/Phi | d62d7235dc5307dd18607ade0f95432ae3a73dfd | [
"MIT"
] | 3 | 2020-12-21T13:47:35.000Z | 2022-03-16T23:53:21.000Z | libs/PhiCore/include/phi/type_traits/underlying_type.hpp | AMS21/Phi | d62d7235dc5307dd18607ade0f95432ae3a73dfd | [
"MIT"
] | 53 | 2020-08-07T07:46:57.000Z | 2022-02-12T11:07:08.000Z | libs/PhiCore/include/phi/type_traits/underlying_type.hpp | AMS21/Phi | d62d7235dc5307dd18607ade0f95432ae3a73dfd | [
"MIT"
] | 1 | 2020-08-19T15:50:02.000Z | 2020-08-19T15:50:02.000Z | #ifndef INCG_PHI_CORE_TYPE_TRAITS_UNDERLYING_TYPE_HPP
#define INCG_PHI_CORE_TYPE_TRAITS_UNDERLYING_TYPE_HPP
#include "phi/phi_config.hpp"
#if PHI_HAS_EXTENSION_PRAGMA_ONCE()
# pragma once
#endif
#include "phi/compiler_support/intrinsics/underlying_type.hpp"
#include "phi/type_traits/false_t.hpp"
#include "phi/typ... | 23.517857 | 98 | 0.77221 | AMS21 |
db77a349faf98742cd8e99278a578fe25e3e908e | 2,898 | tpp | C++ | STEM4U/src.tpp/Finantial_en-us.tpp | XOULID/Anboto | 2743b066f23bf2db9cc062d3adedfd044bc69ec1 | [
"Apache-2.0"
] | 8 | 2021-02-28T12:07:43.000Z | 2021-11-14T19:40:45.000Z | STEM4U/src.tpp/Finantial_en-us.tpp | XOULID/Anboto | 2743b066f23bf2db9cc062d3adedfd044bc69ec1 | [
"Apache-2.0"
] | 8 | 2021-03-20T10:46:58.000Z | 2022-01-27T19:50:32.000Z | STEM4U/src.tpp/Finantial_en-us.tpp | XOULID/Anboto | 2743b066f23bf2db9cc062d3adedfd044bc69ec1 | [
"Apache-2.0"
] | 1 | 2021-08-20T09:15:18.000Z | 2021-08-20T09:15:18.000Z | topic "Finantial functions";
[H6;0 $$1,0#05600065144404261032431302351956:begin]
[i448;a25;kKO9;2 $$2,0#37138531426314131252341829483370:codeitem]
[l288;2 $$3,0#27521748481378242620020725143825:desc]
[0 $$4,0#96390100711032703541132217272105:end]
[i448;a25;kKO9; $$5,0#37138531426314131252341829483380:structitem]
[ $$0,... | 51.75 | 119 | 0.657695 | XOULID |
db7df66895646f2e3ae4cf663adf93d907f2da17 | 2,353 | hpp | C++ | src/Enki/Signals/Connection.hpp | Zephilinox/Enki | 5f405fec9ae0f3c3344a99fbee590d76ed4dbe55 | [
"MIT"
] | 2 | 2021-01-20T11:31:44.000Z | 2022-01-11T01:38:01.000Z | src/Enki/Signals/Connection.hpp | Zephilinox/Enki | 5f405fec9ae0f3c3344a99fbee590d76ed4dbe55 | [
"MIT"
] | null | null | null | src/Enki/Signals/Connection.hpp | Zephilinox/Enki | 5f405fec9ae0f3c3344a99fbee590d76ed4dbe55 | [
"MIT"
] | null | null | null | #pragma once
//STD
#include <functional>
#include <memory>
namespace enki
{
template <typename... Args>
class Signal;
class Disconnector;
/*
Connection is returned by signal.connect()
you use it to control disconnecting your function from the signal
*/
class Connection
{
public:
Connection() noexcept = default;
C... | 26.438202 | 95 | 0.746706 | Zephilinox |
db89d4f0f8239dfd0efc249a800784cbfd936185 | 8,715 | cpp | C++ | src/etp/ClientSessionLaunchers.cpp | F2I-Consulting/fetpapi | fcb0d911bb7b49aabef8383ec916808cdb53b6b1 | [
"Apache-2.0"
] | 1 | 2021-04-20T06:56:43.000Z | 2021-04-20T06:56:43.000Z | src/etp/ClientSessionLaunchers.cpp | F2I-Consulting/fetpapi | fcb0d911bb7b49aabef8383ec916808cdb53b6b1 | [
"Apache-2.0"
] | null | null | null | src/etp/ClientSessionLaunchers.cpp | F2I-Consulting/fetpapi | fcb0d911bb7b49aabef8383ec916808cdb53b6b1 | [
"Apache-2.0"
] | 1 | 2021-04-20T08:17:14.000Z | 2021-04-20T08:17:14.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 you under ... | 43.358209 | 208 | 0.771199 | F2I-Consulting |
db8b626c8af92f1c61f97b46710390ea26815ac2 | 1,411 | cpp | C++ | number_theory/primes_and_factorization/prime_factors_seive.cpp | Zim95/cpp_proj | b73781be17e818fc778320a7498dc4d021b92ffa | [
"MIT"
] | 2 | 2019-04-22T11:04:59.000Z | 2021-03-01T18:32:25.000Z | number_theory/primes_and_factorization/prime_factors_seive.cpp | Zim95/cpp_proj | b73781be17e818fc778320a7498dc4d021b92ffa | [
"MIT"
] | null | null | null | number_theory/primes_and_factorization/prime_factors_seive.cpp | Zim95/cpp_proj | b73781be17e818fc778320a7498dc4d021b92ffa | [
"MIT"
] | 1 | 2019-04-18T14:04:38.000Z | 2019-04-18T14:04:38.000Z | /*
Getting prime factors by using sieve of eratosthenes.
-----------------------------------------------------
1. Calculate primes vector by using sieve method.
2. Divide by all primes less than the square root of n.
Computing seive = O(NloglogN)
Getting prime_factors = O(logN)
Total time c... | 23.131148 | 59 | 0.496102 | Zim95 |
db8b6b7e8decd23f9920569d99336604c87b033e | 1,127 | hpp | C++ | include/freedom/exponential_bucketizer.hpp | strikles/poker-mcts | 6bd1443a7b497cf64fafd4b25e8d3bb64219e18c | [
"MIT"
] | 9 | 2019-08-22T06:25:12.000Z | 2021-02-17T16:27:27.000Z | include/freedom/exponential_bucketizer.hpp | strikles/poker-mcts | 6bd1443a7b497cf64fafd4b25e8d3bb64219e18c | [
"MIT"
] | null | null | null | include/freedom/exponential_bucketizer.hpp | strikles/poker-mcts | 6bd1443a7b497cf64fafd4b25e8d3bb64219e18c | [
"MIT"
] | 4 | 2019-09-04T14:20:05.000Z | 2022-02-09T06:32:14.000Z | #ifndef EXPONENTIAL_BUCKETIZER_H
#define EXPONENTIAL_BUCKETIZER_H
#include "bucket_collection.hpp"
namespace freedom {
// ----------------------------------------------------------------------
/// @brief maps hands according to a exponential distribution
// ---------------------------------------------------------... | 36.354839 | 77 | 0.496007 | strikles |
db8beebb82ec78f325016432f4541ab150d793b8 | 526 | cpp | C++ | FPSGame/src/Entity.cpp | brizzbrett/ObjectiveBasedFPS | d29eb3885a4399f0e20556b0571a1bb7a55c3476 | [
"MIT"
] | null | null | null | FPSGame/src/Entity.cpp | brizzbrett/ObjectiveBasedFPS | d29eb3885a4399f0e20556b0571a1bb7a55c3476 | [
"MIT"
] | null | null | null | FPSGame/src/Entity.cpp | brizzbrett/ObjectiveBasedFPS | d29eb3885a4399f0e20556b0571a1bb7a55c3476 | [
"MIT"
] | null | null | null | #include "Entity.hpp"
Entity::Entity(Model* m, glm::vec3 pos, int t) :
model(m), position(pos), type(t)
{
modelMatrix = glm::translate(glm::mat4(1.0f), this->position);
}
Entity::~Entity()
{
}
void Entity::Update()
{
//slog("Updating Entities...");
modelMatrix = glm::translate(glm::mat4(1.0f), this->position);
}... | 19.481481 | 67 | 0.665399 | brizzbrett |
db930a33ca0d0471bd172283b18af4a3423f95f1 | 587 | cpp | C++ | euler2.cpp | akkiind4/Codechef | 83821c0b6056e3d631ad1d3273b41727074537bb | [
"MIT"
] | null | null | null | euler2.cpp | akkiind4/Codechef | 83821c0b6056e3d631ad1d3273b41727074537bb | [
"MIT"
] | null | null | null | euler2.cpp | akkiind4/Codechef | 83821c0b6056e3d631ad1d3273b41727074537bb | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
#define fo(i,a,b) for(int i=a;i<b;i++)
#define enter(a,n) fo(i,0,n)cin>>a[i]
#define nl cout<<'/n'
#define spc cout<<" "
int main()
{
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int t;
cin>... | 13.97619 | 40 | 0.502555 | akkiind4 |
db94220f8a54cb6681983126c6862c88ee14009b | 120 | cpp | C++ | CppUnitTest/Source/CppUnitTest/MyFunctionalTestActor.cpp | sharpwind612/UnrealCookbook | e55d2814f30c990d676e103996a592f2e6c05fcc | [
"MIT"
] | null | null | null | CppUnitTest/Source/CppUnitTest/MyFunctionalTestActor.cpp | sharpwind612/UnrealCookbook | e55d2814f30c990d676e103996a592f2e6c05fcc | [
"MIT"
] | null | null | null | CppUnitTest/Source/CppUnitTest/MyFunctionalTestActor.cpp | sharpwind612/UnrealCookbook | e55d2814f30c990d676e103996a592f2e6c05fcc | [
"MIT"
] | null | null | null | // Fill out your copyright notice in the Description page of Project Settings.
#include "MyFunctionalTestActor.h"
| 24 | 79 | 0.766667 | sharpwind612 |
db99adbd43f0bfcb4468dac1722935685702f902 | 6,057 | cpp | C++ | src/widgets/source/ui/SequenceTableWidget.cpp | ahmedskhalil/SmartPeak | 3e0b137f2fec119d8c11e5450c80156576c36f3e | [
"MIT"
] | 13 | 2020-12-09T14:40:15.000Z | 2022-01-14T17:56:57.000Z | src/widgets/source/ui/SequenceTableWidget.cpp | ahmedskhalil/SmartPeak | 3e0b137f2fec119d8c11e5450c80156576c36f3e | [
"MIT"
] | 106 | 2020-12-02T20:50:58.000Z | 2022-03-26T10:45:57.000Z | src/widgets/source/ui/SequenceTableWidget.cpp | ahmedskhalil/SmartPeak | 3e0b137f2fec119d8c11e5450c80156576c36f3e | [
"MIT"
] | 8 | 2020-12-03T10:54:42.000Z | 2022-01-17T11:21:06.000Z | // --------------------------------------------------------------------------
// SmartPeak -- Fast and Accurate CE-, GC- and LC-MS(/MS) Data Processing
// --------------------------------------------------------------------------
// Copyright The SmartPeak Team -- Novo Nordisk Foundation
// Center for Biosustainabili... | 39.848684 | 134 | 0.647515 | ahmedskhalil |
db99ff39baf58a8b31c0258871341eec5d8c4b07 | 7,066 | cc | C++ | DEM/Src/nebula2/src/gfx2/nd3d9server_main.cc | moltenguy1/deusexmachina | 134f4ca4087fff791ec30562cb250ccd50b69ee1 | [
"MIT"
] | 2 | 2017-04-30T20:24:29.000Z | 2019-02-12T08:36:26.000Z | DEM/Src/nebula2/src/gfx2/nd3d9server_main.cc | moltenguy1/deusexmachina | 134f4ca4087fff791ec30562cb250ccd50b69ee1 | [
"MIT"
] | null | null | null | DEM/Src/nebula2/src/gfx2/nd3d9server_main.cc | moltenguy1/deusexmachina | 134f4ca4087fff791ec30562cb250ccd50b69ee1 | [
"MIT"
] | null | null | null | //------------------------------------------------------------------------------
// nd3d9server_main.cc
// (C) 2003 RadonLabs GmbH
//------------------------------------------------------------------------------
#include "gfx2/nd3d9server.h"
#include <Data/DataServer.h>
#include "gfx2/nd3d9texture.h"
#include ... | 28.723577 | 107 | 0.596235 | moltenguy1 |
db9c228d47929ec5a347bc18df963fdc5ac24abe | 16,291 | cpp | C++ | app/entities/Structure.cpp | isonil/survival | ecb59af9fcbb35b9c28fd4fe29a4628f046165c8 | [
"MIT"
] | 1 | 2017-05-12T10:12:41.000Z | 2017-05-12T10:12:41.000Z | app/entities/Structure.cpp | isonil/Survival | ecb59af9fcbb35b9c28fd4fe29a4628f046165c8 | [
"MIT"
] | null | null | null | app/entities/Structure.cpp | isonil/Survival | ecb59af9fcbb35b9c28fd4fe29a4628f046165c8 | [
"MIT"
] | 1 | 2019-01-09T04:05:36.000Z | 2019-01-09T04:05:36.000Z | #include "Structure.hpp"
#include "engine/app3D/sceneNodes/Model.hpp"
#include "engine/app3D/physics/RigidBody.hpp"
#include "engine/app3D/managers/SceneManager.hpp"
#include "engine/app3D/managers/PhysicsManager.hpp"
#include "engine/app3D/Device.hpp"
#include "engine/GUI/GUIManager.hpp"
#include "engine/GUI/IGUIRend... | 31.208812 | 206 | 0.714505 | isonil |
db9cfe7c2f51b1515718f9a510f6383a2d51a00c | 4,187 | hpp | C++ | Framework/[Droid]/OpenGLEngine.hpp | nraptis/Metal_OpenGL_MobileGameEngine | cc36682676a9797df8b3a7ee235b99be3ae2f666 | [
"MIT"
] | 3 | 2019-10-10T19:25:42.000Z | 2019-12-17T10:51:23.000Z | Framework/[Droid]/OpenGLEngine.hpp | nraptis/Metal_OpenGL_MobileGameEngine | cc36682676a9797df8b3a7ee235b99be3ae2f666 | [
"MIT"
] | null | null | null | Framework/[Droid]/OpenGLEngine.hpp | nraptis/Metal_OpenGL_MobileGameEngine | cc36682676a9797df8b3a7ee235b99be3ae2f666 | [
"MIT"
] | 1 | 2021-11-16T15:29:40.000Z | 2021-11-16T15:29:40.000Z | //
// OpenGLEngine.hpp
// Crazy Darts 2 iOS
//
// Created by Nicholas Raptis on 3/8/19.
// Copyright © 2019 Froggy Studios. All rights reserved.
//
#ifndef OpenGLEngine_hpp
#define OpenGLEngine_hpp
#include "ShaderProgram.hpp"
#include "ShaderProgramSprite.hpp"
#include "ShaderProgramSpriteWhite.hpp"
#include "Sh... | 38.063636 | 105 | 0.557679 | nraptis |
db9d4051c8ae61bf3816985b2d71e4430d7b8888 | 925 | cpp | C++ | examples/linkedlist-sort.cpp | davidwed/sqlrelay_rudiments | 6ccffdfc5fa29f8c0226f3edc2aa888aa1008347 | [
"BSD-2-Clause-NetBSD"
] | null | null | null | examples/linkedlist-sort.cpp | davidwed/sqlrelay_rudiments | 6ccffdfc5fa29f8c0226f3edc2aa888aa1008347 | [
"BSD-2-Clause-NetBSD"
] | null | null | null | examples/linkedlist-sort.cpp | davidwed/sqlrelay_rudiments | 6ccffdfc5fa29f8c0226f3edc2aa888aa1008347 | [
"BSD-2-Clause-NetBSD"
] | null | null | null | #include <rudiments/linkedlist.h>
#include <rudiments/randomnumber.h>
#include <rudiments/stdio.h>
int main(int argc, const char **argv) {
linkedlist<uint32_t> llis;
linkedlist<uint32_t> llhs;
// generate random numbers and append them to the lists
randomnumber rr;
rr.setSeed(randomnumber::getSeed());
stdoutp... | 22.02381 | 56 | 0.697297 | davidwed |
dba4982185a28dbd6c3be7bd967163092eb29808 | 7,067 | cpp | C++ | src/common/swldap/search.cpp | arpa2/steamworks | 149d1bf7d44c27791564fd8a3ccb1a9b2f5a4692 | [
"OML",
"BSD-2-Clause"
] | null | null | null | src/common/swldap/search.cpp | arpa2/steamworks | 149d1bf7d44c27791564fd8a3ccb1a9b2f5a4692 | [
"OML",
"BSD-2-Clause"
] | 7 | 2018-01-05T12:29:09.000Z | 2019-02-19T12:18:16.000Z | src/common/swldap/search.cpp | arpa2/steamworks | 149d1bf7d44c27791564fd8a3ccb1a9b2f5a4692 | [
"OML",
"BSD-2-Clause"
] | null | null | null | /*
Copyright (c) 2014, 2015 InternetWide.org and the ARPA2.net project
All rights reserved. See file LICENSE for exact terms (2-clause BSD license).
Adriaan de Groot <groot@kde.org>
*/
#include "search.h"
#include "private.h"
#include "picojson.h"
/**
* Internals of a search. A search holds a base dn for the searc... | 20.076705 | 107 | 0.642989 | arpa2 |
dba53fe9a518204c2bcefacaf529bcd342c65a10 | 9,400 | cpp | C++ | src/repetition.cpp | isourou/gdstk | 3b436230dba1e2f86f3863693d3d80ecd5eaf40d | [
"BSL-1.0"
] | null | null | null | src/repetition.cpp | isourou/gdstk | 3b436230dba1e2f86f3863693d3d80ecd5eaf40d | [
"BSL-1.0"
] | null | null | null | src/repetition.cpp | isourou/gdstk | 3b436230dba1e2f86f3863693d3d80ecd5eaf40d | [
"BSL-1.0"
] | 1 | 2021-02-18T09:33:58.000Z | 2021-02-18T09:33:58.000Z | /*
Copyright 2020 Lucas Heitzmann Gabrielli.
This file is part of gdstk, distributed under the terms of the
Boost Software License - Version 1.0. See the accompanying
LICENSE file or <http://www.boost.org/LICENSE_1_0.txt>
*/
#define _USE_MATH_DEFINES
#include "repetition.h"
#include <cstdint>
#include <cstdio>
#in... | 33.935018 | 97 | 0.449149 | isourou |
dba79ba5f407e65ee15a846f1d23a58879adc897 | 3,811 | cpp | C++ | src/audio_file_decoder.cpp | jomael/AudioMixer | cfdd19b0d56418f9bf37164429a248f075a0751a | [
"MIT"
] | 151 | 2018-06-05T14:06:42.000Z | 2022-03-29T09:56:35.000Z | src/audio_file_decoder.cpp | JchKrnt/AudioMixer | b2327fb2b1c5c215e199d95812e7a5dc17d106b7 | [
"MIT"
] | 7 | 2019-05-16T11:39:28.000Z | 2021-11-22T02:45:16.000Z | src/audio_file_decoder.cpp | JchKrnt/AudioMixer | b2327fb2b1c5c215e199d95812e7a5dc17d106b7 | [
"MIT"
] | 51 | 2018-06-06T02:29:15.000Z | 2022-01-29T02:41:28.000Z | //
// Created by Piasy on 08/11/2017.
//
#include <algorithm>
#include <rtc_base/checks.h>
#include <modules/audio_mixer/audio_mixer_impl.h>
#include "audio_file_decoder.h"
namespace audio_mixer {
AudioFileDecoder::AudioFileDecoder(const std::string& filepath) : packet_consumed_(true) {
frame_.reset(av_frame_a... | 32.29661 | 100 | 0.649961 | jomael |
dba89882741639ec24ae5cf5712e88a7bce1b9d8 | 195 | cpp | C++ | src/Common/Constants.cpp | HorphGerbInc/gametest | 8c91a0823bcc84a0a75f8a70aed6040a92d28027 | [
"MIT"
] | null | null | null | src/Common/Constants.cpp | HorphGerbInc/gametest | 8c91a0823bcc84a0a75f8a70aed6040a92d28027 | [
"MIT"
] | null | null | null | src/Common/Constants.cpp | HorphGerbInc/gametest | 8c91a0823bcc84a0a75f8a70aed6040a92d28027 | [
"MIT"
] | null | null | null |
#include <Common/Constants.hpp>
namespace jerobins {
namespace common {
// Game engine version.
const Version version(0, 1, 0);
} // namespace common
} // namespace jerobins | 21.666667 | 36 | 0.65641 | HorphGerbInc |
dbafa205602cf9a271fa8153f234ad62f35541d7 | 1,703 | cpp | C++ | testsuite/select_in_t.cpp | RaftLib/RaftLib | d7a5520b8c239e9c78ca4a7fdb4fed845c6dda74 | [
"Apache-2.0"
] | 759 | 2016-05-23T22:40:00.000Z | 2022-03-25T09:05:41.000Z | testsuite/select_in_t.cpp | RaftLib/RaftLib | d7a5520b8c239e9c78ca4a7fdb4fed845c6dda74 | [
"Apache-2.0"
] | 111 | 2016-05-24T02:30:14.000Z | 2021-08-16T15:11:53.000Z | testsuite/select_in_t.cpp | RaftLib/RaftLib | d7a5520b8c239e9c78ca4a7fdb4fed845c6dda74 | [
"Apache-2.0"
] | 116 | 2016-05-31T08:03:05.000Z | 2022-03-01T00:54:31.000Z | /**
* @author: Jonathan Beard
* @version: Mon Mar 2 14:00:14 2015
*
* Copyright 2015 Jonathan Beard
*
* 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/l... | 22.116883 | 75 | 0.576042 | RaftLib |
dbb271dd5a0d86c3584e41145880662547439854 | 488 | hpp | C++ | regAlloc.hpp | InbarGera/236360_Compilation_03 | 16e966da0db31de525647c4995528997b3e58da6 | [
"Unlicense"
] | null | null | null | regAlloc.hpp | InbarGera/236360_Compilation_03 | 16e966da0db31de525647c4995528997b3e58da6 | [
"Unlicense"
] | null | null | null | regAlloc.hpp | InbarGera/236360_Compilation_03 | 16e966da0db31de525647c4995528997b3e58da6 | [
"Unlicense"
] | null | null | null | #ifndef COMPILATION_03_REGALLOC_HPP
#define COMPILATION_03_REGALLOC_HPP
#include <cassert>
#include <vector>
#include "utills.hpp"
class regClass{
int myIndex;
public:
regClass() : myIndex(-1) {};
regClass(int i);
std::string toString();
bool isFree();
int index();
};
regClas... | 20.333333 | 45 | 0.694672 | InbarGera |
dbb4b39c07c0fa015c129f294316d47042ffbaed | 1,420 | cpp | C++ | Configuration.cpp | jscrane/Twilight-ESP | a00a8f631432b7a6f837bbfb321f1e20e64b9b37 | [
"Apache-2.0"
] | 1 | 2019-11-24T00:37:00.000Z | 2019-11-24T00:37:00.000Z | Configuration.cpp | jscrane/Twilight-ESP | a00a8f631432b7a6f837bbfb321f1e20e64b9b37 | [
"Apache-2.0"
] | 13 | 2018-02-16T09:32:31.000Z | 2020-01-24T14:54:30.000Z | Configuration.cpp | jscrane/Twilight-ESP | a00a8f631432b7a6f837bbfb321f1e20e64b9b37 | [
"Apache-2.0"
] | null | null | null | #include <LittleFS.h>
#include <ArduinoJson.h>
#include "Configuration.h"
bool Configuration::read_file(const char *filename) {
File f = LittleFS.open(filename, "r");
if (!f) {
Serial.println("failed to open config file");
return false;
}
DynamicJsonDocument doc(JSON_OBJECT_SIZE(19) + 600);
auto error = dese... | 31.555556 | 75 | 0.664085 | jscrane |
dbb7f21f378880ca0e48e3b583530c1337f578df | 567 | cpp | C++ | leetcode/medium/238. Product of Array Except Self.cpp | Jeongseo21/Algorithm-1 | 1bce4f3d2328c3b3e24b9d7772fca43090a285e1 | [
"MIT"
] | 7 | 2019-08-05T14:49:41.000Z | 2022-03-13T07:10:51.000Z | leetcode/medium/238. Product of Array Except Self.cpp | Jeongseo21/Algorithm-1 | 1bce4f3d2328c3b3e24b9d7772fca43090a285e1 | [
"MIT"
] | null | null | null | leetcode/medium/238. Product of Array Except Self.cpp | Jeongseo21/Algorithm-1 | 1bce4f3d2328c3b3e24b9d7772fca43090a285e1 | [
"MIT"
] | 4 | 2021-01-04T03:45:22.000Z | 2021-10-06T06:11:00.000Z | /**
* problem : https://leetcode.com/problems/product-of-array-except-self/
* time complexity : O(N)
* algorithm : subsum
*/
class Solution {
public:
vector<int> productExceptSelf(vector<int>& nums) {
int n = nums.size();
vector<int> ans(n, 1);
for(int i=1;i<n;i++) ans[i] = ans[i-1] * n... | 31.5 | 98 | 0.54321 | Jeongseo21 |
dbbf0d4aea108f517ad94670350a01d4060ee336 | 29,591 | cpp | C++ | mainwindow.cpp | hackingotter/LC3-Simulator | dbb58929922149b29c0f0cf630d46261ed7cb01f | [
"MIT"
] | null | null | null | mainwindow.cpp | hackingotter/LC3-Simulator | dbb58929922149b29c0f0cf630d46261ed7cb01f | [
"MIT"
] | null | null | null | mainwindow.cpp | hackingotter/LC3-Simulator | dbb58929922149b29c0f0cf630d46261ed7cb01f | [
"MIT"
] | 1 | 2018-09-22T23:01:40.000Z | 2018-09-22T23:01:40.000Z | #include "QScreen"
#include "UndoStackMasker.h"
#include <QInputDialog>
#include "mainwindow.h"
#include "ui_mainwindow.h"
#include <QStandardItemModel>
#include <QDebug>
#include <QScrollArea>
#include "BetterScrollbar.h"
#include "RegisterModel.h"
//#include "Simulator.h"
#include "QProgressDialog"
#inclu... | 31.214135 | 130 | 0.65378 | hackingotter |
dbc2ea04d835a1508fb1665cde595fedb3ba41e3 | 1,134 | cpp | C++ | _site/Competitive Programming/Hackerearth/House in Cities.cpp | anujkyadav07/anuj-k-yadav.github.io | ac5cccc8cdada000ba559538cd84921437b3c5e6 | [
"MIT"
] | 1 | 2019-06-10T04:39:49.000Z | 2019-06-10T04:39:49.000Z | _site/Competitive Programming/Hackerearth/House in Cities.cpp | anujkyadav07/anuj-k-yadav.github.io | ac5cccc8cdada000ba559538cd84921437b3c5e6 | [
"MIT"
] | 2 | 2021-09-27T23:34:07.000Z | 2022-02-26T05:54:27.000Z | _site/Competitive Programming/Hackerearth/House in Cities.cpp | anujkyadav07/anuj-k-yadav.github.io | ac5cccc8cdada000ba559538cd84921437b3c5e6 | [
"MIT"
] | 3 | 2019-06-23T14:15:08.000Z | 2019-07-09T20:40:58.000Z | #include <bits/stdc++.h>
using namespace std;
int getmid(int s, int e){
return (s + (e-s)/2);
}
int RSQ(int* st, int s, int e, int qs, int qe, int pos){
if(qs<=s && qe>=e){
return st[pos];
}
if(qe < s || e < qs){
return 0;
}
int mid = getmid(s,e);
return RSQ(st,s,mid,qs,qe,2*pos+1) + RSQ(st,mid+1,e,qs,qe,2... | 18.9 | 89 | 0.558201 | anujkyadav07 |
dbc59b65ed624319e3be2b94fe99d2b97f7aced9 | 23,656 | cc | C++ | src/fcst/source/equations/sorption_source_terms.cc | OpenFcst/OpenFcst0.2 | 770a0d9b145cd39c3a065b653a53b5082dc5d85c | [
"MIT"
] | 16 | 2015-05-08T18:19:39.000Z | 2021-05-21T17:22:47.000Z | src/fcst/source/equations/sorption_source_terms.cc | OpenFcst/OpenFcst0.2 | 770a0d9b145cd39c3a065b653a53b5082dc5d85c | [
"MIT"
] | 3 | 2016-09-05T10:17:36.000Z | 2016-12-11T18:23:06.000Z | src/fcst/source/equations/sorption_source_terms.cc | OpenFcst/OpenFcst0.2 | 770a0d9b145cd39c3a065b653a53b5082dc5d85c | [
"MIT"
] | 1 | 2021-04-15T16:45:47.000Z | 2021-04-15T16:45:47.000Z | //---------------------------------------------------------------------------
//
// FCST: Fuel Cell Simulation Toolbox
//
// Copyright (C) 2013 by Energy Systems Design Laboratory, University of Alberta
//
// This software is distributed under the MIT License.
// For more information, see the README file in... | 50.225053 | 211 | 0.536608 | OpenFcst |
3a774b9eb866cd8ced42668e5d81ff0f0d4e7ac0 | 14,826 | cpp | C++ | src/Editor/WorldEditor/CPoiMapSidebar.cpp | liakman/PrimeWorldEditor | 483184719701fbc59ad66212afcade9488956186 | [
"MIT"
] | 32 | 2018-12-17T20:22:32.000Z | 2019-06-14T06:48:25.000Z | src/Editor/WorldEditor/CPoiMapSidebar.cpp | liakman/PrimeWorldEditor | 483184719701fbc59ad66212afcade9488956186 | [
"MIT"
] | 10 | 2019-11-25T04:54:05.000Z | 2022-02-12T20:20:56.000Z | src/Editor/WorldEditor/CPoiMapSidebar.cpp | liakman/PrimeWorldEditor | 483184719701fbc59ad66212afcade9488956186 | [
"MIT"
] | 10 | 2019-11-22T09:16:00.000Z | 2021-11-21T22:55:54.000Z | #include "CPoiMapSidebar.h"
#include "ui_CPoiMapSidebar.h"
#include "CWorldEditor.h"
#include "Editor/UICommon.h"
#include <Core/Resource/Cooker/CPoiToWorldCooker.h>
#include <Core/Resource/Scan/CScan.h>
#include <Core/Resource/Script/CGameTemplate.h>
#include <Core/Resource/Script/NGameList.h>
#include <Core/ScriptEx... | 32.728477 | 122 | 0.673007 | liakman |
3a842e2371c397c34681883af18f96006659c5a6 | 543 | hpp | C++ | src/src/CharacterEncoding.hpp | rolfwr/HuffmanCompression | c8d8501b076bcb193ce1df48ec86f7dfa4fa8331 | [
"MIT"
] | null | null | null | src/src/CharacterEncoding.hpp | rolfwr/HuffmanCompression | c8d8501b076bcb193ce1df48ec86f7dfa4fa8331 | [
"MIT"
] | null | null | null | src/src/CharacterEncoding.hpp | rolfwr/HuffmanCompression | c8d8501b076bcb193ce1df48ec86f7dfa4fa8331 | [
"MIT"
] | null | null | null | #pragma once
#define START_SIZE 2
#include <stdlib.h>
/*
================================
Represents the encoding of a character
================================
*/
class CharacterEncoding
{
public:
CharacterEncoding();
CharacterEncoding( CharacterEncoding const& original );
~CharacterEncoding();
unsigned char... | 17.516129 | 56 | 0.598527 | rolfwr |
3a8bf4db4e423319eaeba5502c9c0922e962090f | 4,444 | cpp | C++ | client/include/game/CLoadingScreen.cpp | MayconFelipeA/sampvoiceatt | 3fae8a2cf37dfad2e3925d56aebfbbcd4162b0ff | [
"MIT"
] | 97 | 2019-01-13T20:19:19.000Z | 2022-02-27T18:47:11.000Z | client/include/game/CLoadingScreen.cpp | MayconFelipeA/sampvoiceatt | 3fae8a2cf37dfad2e3925d56aebfbbcd4162b0ff | [
"MIT"
] | 92 | 2019-01-23T23:02:31.000Z | 2022-03-23T19:59:40.000Z | client/include/game/CLoadingScreen.cpp | MayconFelipeA/sampvoiceatt | 3fae8a2cf37dfad2e3925d56aebfbbcd4162b0ff | [
"MIT"
] | 69 | 2019-01-13T22:01:40.000Z | 2022-03-09T00:55:49.000Z | /*
Plugin-SDK (Grand Theft Auto San Andreas) header file
Authors: GTA Community. See more here
https://github.com/DK22Pac/plugin-sdk
Do not delete this comment block. Respect others' work!
*/
#include "CLoadingScreen.h"
int &CLoadingScreen::m_currDisplayedSplash = *(int*)0x8D093C;
int &CLoadingScreen:... | 37.344538 | 107 | 0.764626 | MayconFelipeA |
3a9968e98377ed63aba1317272b2df7a8aae9437 | 2,105 | cpp | C++ | src/progress.cpp | GhostatSpirit/hdrview | 61596f8ba45554db23ae1b214354ab40da065638 | [
"MIT"
] | 94 | 2021-04-23T03:31:15.000Z | 2022-03-29T08:20:26.000Z | src/progress.cpp | GhostatSpirit/hdrview | 61596f8ba45554db23ae1b214354ab40da065638 | [
"MIT"
] | 64 | 2021-05-05T21:51:15.000Z | 2022-02-08T17:06:52.000Z | src/progress.cpp | GhostatSpirit/hdrview | 61596f8ba45554db23ae1b214354ab40da065638 | [
"MIT"
] | 3 | 2021-07-06T04:58:27.000Z | 2022-02-08T16:53:48.000Z | //
// Copyright (C) Wojciech Jarosz <wjarosz@gmail.com>. All rights reserved.
// Use of this source code is governed by a BSD-style license that can
// be found in the LICENSE.txt file.
//
#include "progress.h"
#include <iostream>
AtomicProgress::AtomicProgress(bool createState, float totalPercentage) :
m_num_ste... | 28.835616 | 102 | 0.733017 | GhostatSpirit |
3a9d77468facd95e0c2e361bb9162b0f8aa37ac6 | 4,192 | cpp | C++ | avogadro/rendering/cartoongeometry.cpp | serk12/avogadrolibs | f2dd0fda7e0d2ca4a0586354ea253cc05242f022 | [
"BSD-3-Clause"
] | 244 | 2015-09-09T15:08:54.000Z | 2022-03-30T17:44:21.000Z | avogadro/rendering/cartoongeometry.cpp | serk12/avogadrolibs | f2dd0fda7e0d2ca4a0586354ea253cc05242f022 | [
"BSD-3-Clause"
] | 670 | 2015-05-08T18:59:38.000Z | 2022-03-29T19:47:08.000Z | avogadro/rendering/cartoongeometry.cpp | serk12/avogadrolibs | f2dd0fda7e0d2ca4a0586354ea253cc05242f022 | [
"BSD-3-Clause"
] | 129 | 2015-01-28T01:18:36.000Z | 2022-03-17T08:50:25.000Z | /******************************************************************************
This source file is part of the Avogadro project.
This source code is released under the 3-Clause BSD License, (see "LICENSE").
******************************************************************************/
#include "cartoongeometry.h... | 30.158273 | 80 | 0.588025 | serk12 |
3aa24ae95ff01a62b413d389b29fbfef381cd7bf | 352 | hpp | C++ | Shared/Support/NonCopyable.hpp | bradhowes/SimplyPhaser | ca2fdd26f48dc6fb0a627e05955c81b23a9fe386 | [
"MIT"
] | 1 | 2021-07-30T17:08:04.000Z | 2021-07-30T17:08:04.000Z | Shared/Support/NonCopyable.hpp | bradhowes/SimplyPhaser | ca2fdd26f48dc6fb0a627e05955c81b23a9fe386 | [
"MIT"
] | null | null | null | Shared/Support/NonCopyable.hpp | bradhowes/SimplyPhaser | ca2fdd26f48dc6fb0a627e05955c81b23a9fe386 | [
"MIT"
] | 1 | 2022-02-24T23:19:54.000Z | 2022-02-24T23:19:54.000Z | // Copyright © 2021 Brad Howes. All rights reserved.
#pragma once
/**
Simple class for prohibiting derived classes from being copied.
*/
class NonCopyable
{
protected:
constexpr NonCopyable() = default;
~NonCopyable() = default;
private:
NonCopyable(const NonCopyable&) = delete;
NonCopyable& operator =(c... | 19.555556 | 64 | 0.721591 | bradhowes |
3aa2649eece3b21afbe532afc2dc88360c6c848c | 1,915 | cpp | C++ | PETCS/Intermediate/ccc03s5.cpp | dl4us/Competitive-Programming-1 | d42fab3bd68168adbe4b5f594f19ee5dfcd1389b | [
"MIT"
] | null | null | null | PETCS/Intermediate/ccc03s5.cpp | dl4us/Competitive-Programming-1 | d42fab3bd68168adbe4b5f594f19ee5dfcd1389b | [
"MIT"
] | null | null | null | PETCS/Intermediate/ccc03s5.cpp | dl4us/Competitive-Programming-1 | d42fab3bd68168adbe4b5f594f19ee5dfcd1389b | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
const int MAX = 1e4 + 5;
struct Edge {
int a, b, w;
};
int C, R, D, ans = 0x3f3f3f3f, par[MAX], dist[MAX];
vector<pair<int, int>> adj[MAX]; vector<Edge> edges;
bool cmp(Edge a, Edge b) {
return a.w > b.w;
}
int Find(int x) {
if(par[x] == x) {
return x;
... | 25.197368 | 98 | 0.432376 | dl4us |
3aa7054058e82e8f7a51b20a6fbf290cf3fc5c25 | 10,348 | cpp | C++ | openstudiocore/src/energyplus/ForwardTranslator/ForwardTranslateAirLoopHVACOutdoorAirSystem.cpp | OpenStudioThailand/OpenStudio | 4e2173955e687ef1b934904acc10939ac0bed52f | [
"MIT"
] | 1 | 2017-10-13T09:23:04.000Z | 2017-10-13T09:23:04.000Z | openstudiocore/src/energyplus/ForwardTranslator/ForwardTranslateAirLoopHVACOutdoorAirSystem.cpp | OpenStudioThailand/OpenStudio | 4e2173955e687ef1b934904acc10939ac0bed52f | [
"MIT"
] | null | null | null | openstudiocore/src/energyplus/ForwardTranslator/ForwardTranslateAirLoopHVACOutdoorAirSystem.cpp | OpenStudioThailand/OpenStudio | 4e2173955e687ef1b934904acc10939ac0bed52f | [
"MIT"
] | 1 | 2022-03-20T13:19:42.000Z | 2022-03-20T13:19:42.000Z | /***********************************************************************************************************************
* OpenStudio(R), Copyright (c) 2008-2017, Alliance for Sustainable Energy, LLC. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are perm... | 42.937759 | 136 | 0.730769 | OpenStudioThailand |
3aa77e58a324d200e3ba41f8aaf7f90bae4bcfba | 1,497 | cpp | C++ | Practice/2018/2018.1.19/SNM227.cpp | SYCstudio/OI | 6e9bfc17dbd4b43467af9b19aa2aed41e28972fa | [
"MIT"
] | 4 | 2017-10-31T14:25:18.000Z | 2018-06-10T16:10:17.000Z | Practice/2018/2018.1.19/SNM227.cpp | SYCstudio/OI | 6e9bfc17dbd4b43467af9b19aa2aed41e28972fa | [
"MIT"
] | null | null | null | Practice/2018/2018.1.19/SNM227.cpp | SYCstudio/OI | 6e9bfc17dbd4b43467af9b19aa2aed41e28972fa | [
"MIT"
] | null | null | null | #include<iostream>
#include<cstdio>
#include<cstdlib>
#include<cstring>
#include<algorithm>
using namespace std;
#define ll long long
#define mem(Arr,x) memset(Arr,x,sizeof(Arr))
const int maxN=100010;
const int maxM=maxN*4;
const int inf=2147483647;
int n,m;
int S1[maxN],S2[maxN];
int edgecnt=-1,Head[maxN],Next[max... | 19.96 | 86 | 0.565798 | SYCstudio |
3aaa007490ecfdf79022365d626a57bd3a2b4ebf | 1,011 | hpp | C++ | include/nanikanizer/dropout_layer.hpp | planaria/nanikanizer | b1da7a434c04f78c01538572c39db373c73bfe9d | [
"BSD-3-Clause"
] | 12 | 2016-01-22T14:27:39.000Z | 2022-01-20T12:05:51.000Z | include/nanikanizer/dropout_layer.hpp | planaria/nanikanizer | b1da7a434c04f78c01538572c39db373c73bfe9d | [
"BSD-3-Clause"
] | null | null | null | include/nanikanizer/dropout_layer.hpp | planaria/nanikanizer | b1da7a434c04f78c01538572c39db373c73bfe9d | [
"BSD-3-Clause"
] | 3 | 2016-08-29T07:14:11.000Z | 2020-01-29T08:43:33.000Z | #pragma once
#include "layer_base.hpp"
namespace nnk
{
template <class T>
class dropout_layer : public layer_base
{
public:
typedef T scalar_type;
typedef std::valarray<scalar_type> tensor_type;
explicit dropout_layer(scalar_type ratio = 0.5)
: ratio_(ratio)
{
}
virtual void save(binary_writer& ... | 14.652174 | 75 | 0.667656 | planaria |
3aaa3ca7f69686b1d86dadb07a0e1f88ebc88ca2 | 850 | cpp | C++ | init/init_turtle_test.cpp | btwooton/logo | fb55611a7e42606da7fe0fdc4a501741e1d29552 | [
"MIT"
] | 2 | 2019-04-09T03:50:37.000Z | 2019-11-17T12:37:44.000Z | init/init_turtle_test.cpp | btwooton/logo | fb55611a7e42606da7fe0fdc4a501741e1d29552 | [
"MIT"
] | 1 | 2019-04-23T21:54:36.000Z | 2019-04-23T21:54:36.000Z | init/init_turtle_test.cpp | btwooton/logo | fb55611a7e42606da7fe0fdc4a501741e1d29552 | [
"MIT"
] | 1 | 2019-04-09T03:54:20.000Z | 2019-04-09T03:54:20.000Z | #include <cassert>
#include <cstdio>
#include "init_turtle.hpp"
#define ASSERT(condition) if(!(condition)) { \
printf("Assertion failed at line %d in file %s\n", __LINE__, __FILE__); \
assert(false); }
#define SUCCESS() printf("Test %s has passed\n", __func__);
void test_init_turtle() {
// Given: You hav... | 25 | 77 | 0.649412 | btwooton |
3aafa4d006d074f4d1c11e117031b7b1405ad662 | 1,395 | cpp | C++ | examples/SendDataInChunks.cpp | UlloLabs/liblsl | a74e5288a797309f155abbbbc8e3f60e178496e6 | [
"MIT"
] | 2 | 2021-11-19T00:57:20.000Z | 2021-12-13T23:24:51.000Z | examples/SendDataInChunks.cpp | staticfloat/liblsl | ccdc76f80622690768707035436c8d833bb3dfd2 | [
"MIT"
] | null | null | null | examples/SendDataInChunks.cpp | staticfloat/liblsl | ccdc76f80622690768707035436c8d833bb3dfd2 | [
"MIT"
] | 1 | 2021-12-19T23:31:13.000Z | 2021-12-19T23:31:13.000Z | #include <cmath>
#include <iostream>
#include <lsl_cpp.h>
#include <thread>
// define a packed sample struct (here: a 16 bit stereo sample).
#pragma pack(1)
struct stereo_sample {
int16_t l, r;
};
int main(int argc, char **argv) {
std::string name{argc > 1 ? argv[1] : "MyAudioStream"}, type{argc > 2 ? argv[2] : "A... | 31 | 92 | 0.649462 | UlloLabs |
3ab03d1a155f1d68a1484744f99ce8d8f51822b2 | 1,082 | cpp | C++ | src/medGui/toolboxes/medBrowserJobsToolBox.cpp | papadop/medInria-public | fd8bec14c97bb95bf4d58a60741ef3b7c159f757 | [
"BSD-4-Clause"
] | null | null | null | src/medGui/toolboxes/medBrowserJobsToolBox.cpp | papadop/medInria-public | fd8bec14c97bb95bf4d58a60741ef3b7c159f757 | [
"BSD-4-Clause"
] | null | null | null | src/medGui/toolboxes/medBrowserJobsToolBox.cpp | papadop/medInria-public | fd8bec14c97bb95bf4d58a60741ef3b7c159f757 | [
"BSD-4-Clause"
] | null | null | null | /*=========================================================================
medInria
Copyright (c) INRIA 2013. All rights reserved.
See LICENSE.txt for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
====... | 22.541667 | 119 | 0.627542 | papadop |
3ab28d4c7bccd18706f32fcc8b23d32a318a242e | 3,523 | cpp | C++ | Evo/EvolutionCore/individual.cpp | pk1954/Solutions | b224522283f82cb7d73b8005e35e0c045edc2fc0 | [
"MIT"
] | null | null | null | Evo/EvolutionCore/individual.cpp | pk1954/Solutions | b224522283f82cb7d73b8005e35e0c045edc2fc0 | [
"MIT"
] | null | null | null | Evo/EvolutionCore/individual.cpp | pk1954/Solutions | b224522283f82cb7d73b8005e35e0c045edc2fc0 | [
"MIT"
] | null | null | null | // individual.cpp :
//
#include "stdafx.h"
#include "assert.h"
#include "debug.h"
#include "random.h"
#include "config.h"
#include "strategy.h"
#include "individual.h"
static DefectAlways StratD;
static CooperateAlways StratC;
static Tit4Tat StratT;
static EmptyStrategy StratNull;
ENERGY_UNITS Individu... | 29.358333 | 122 | 0.683225 | pk1954 |
3ab2f5bb46c6e7ea5535f69b65798f4158478c40 | 6,069 | cc | C++ | windows/agora_rtc_channel_plugin.cc | outlier-collective/Agora-Flutter-SDK | 1b44bcdb534a8acac94daaf1347608b515c9a962 | [
"MIT"
] | 364 | 2019-02-11T11:57:58.000Z | 2020-12-19T08:40:51.000Z | windows/agora_rtc_channel_plugin.cc | outlier-collective/Agora-Flutter-SDK | 1b44bcdb534a8acac94daaf1347608b515c9a962 | [
"MIT"
] | 186 | 2019-02-22T08:20:55.000Z | 2020-12-18T11:39:02.000Z | windows/agora_rtc_channel_plugin.cc | outlier-collective/Agora-Flutter-SDK | 1b44bcdb534a8acac94daaf1347608b515c9a962 | [
"MIT"
] | 101 | 2019-02-12T05:08:34.000Z | 2020-12-16T19:05:53.000Z | #include "include/agora_rtc_engine/agora_rtc_channel_plugin.h"
#include "include/agora_rtc_engine/call_api_method_call_handler.h"
// This must be included before many other Windows headers.
#include <windows.h>
#include <flutter/event_channel.h>
#include <flutter/event_stream_handler_functions.h>
#include <flutter/me... | 36.781818 | 94 | 0.658099 | outlier-collective |
3ab444cc910181a925875a133e48be2251edcd12 | 1,098 | cpp | C++ | test/pre_reserch/plag_original_codes/08_076_plag.cpp | xryuseix/SA-Plag | 167f7a2b2fa81ff00fd5263772a74c2c5c61941d | [
"MIT"
] | 13 | 2021-01-20T19:53:16.000Z | 2021-11-14T16:30:32.000Z | test/training_data/plag_original_codes/08_076_plag.cpp | xryuseix/SA-Plag | 167f7a2b2fa81ff00fd5263772a74c2c5c61941d | [
"MIT"
] | null | null | null | test/training_data/plag_original_codes/08_076_plag.cpp | xryuseix/SA-Plag | 167f7a2b2fa81ff00fd5263772a74c2c5c61941d | [
"MIT"
] | null | null | null | // 引用元 : https://atcoder.jp/contests/abc077/submissions/5997212
// 得点 : 300
// コード長 : 920
// 実行時間 : 148
#include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
using ll = long long;
int main() {
int n;
cin >> n;
vector<ll> a(n);
vector<ll> b(n);
vecto... | 20.333333 | 67 | 0.448087 | xryuseix |
3ab6c39cf34a600a32d8818938696c34d11dfcaf | 1,122 | hpp | C++ | data-structure/dynamic-union-find.hpp | NachiaVivias/library | 73091ddbb00bc59328509c8f6e662fea2b772994 | [
"CC0-1.0"
] | 69 | 2020-11-06T05:21:42.000Z | 2022-03-29T03:38:35.000Z | data-structure/dynamic-union-find.hpp | NachiaVivias/library | 73091ddbb00bc59328509c8f6e662fea2b772994 | [
"CC0-1.0"
] | 21 | 2020-07-25T04:47:12.000Z | 2022-02-01T14:39:29.000Z | data-structure/dynamic-union-find.hpp | NachiaVivias/library | 73091ddbb00bc59328509c8f6e662fea2b772994 | [
"CC0-1.0"
] | 9 | 2020-11-06T11:55:10.000Z | 2022-03-20T04:45:31.000Z | #pragma once
#include "../hashmap/hashmap.hpp"
struct DynamicUnionFind {
HashMap<int, int> m;
DynamicUnionFind() = default;
int data(int k) {
auto it = m.find(k);
return it == m.end() ? m[k] = -1 : it->second;
}
int find(int k) {
int n = data(k);
return n < 0 ? k : m[k] = find(n);
}
in... | 22 | 62 | 0.540998 | NachiaVivias |
3ab6e000d5f10b3a66c12bcd0543b8913b8e46a6 | 6,054 | cpp | C++ | pgadmin/pgscript/objects/pgsNumber.cpp | cjayho/pgadmin3 | df5f0b83175b4fb495bfcb4d4ce175def486c9df | [
"PostgreSQL"
] | 111 | 2015-01-02T15:39:46.000Z | 2022-01-08T05:08:20.000Z | pgadmin/pgscript/objects/pgsNumber.cpp | cjayho/pgadmin3 | df5f0b83175b4fb495bfcb4d4ce175def486c9df | [
"PostgreSQL"
] | 13 | 2015-07-08T20:26:20.000Z | 2019-06-17T12:45:35.000Z | pgadmin/pgscript/objects/pgsNumber.cpp | cjayho/pgadmin3 | df5f0b83175b4fb495bfcb4d4ce175def486c9df | [
"PostgreSQL"
] | 96 | 2015-03-11T14:06:44.000Z | 2022-02-07T10:04:45.000Z | //////////////////////////////////////////////////////////////////////////
//
// pgScript - PostgreSQL Tools
//
// Copyright (C) 2002 - 2016, The pgAdmin Development Team
// This software is released under the PostgreSQL Licence
//
//////////////////////////////////////////////////////////////////////////
#include "p... | 21.094077 | 79 | 0.624381 | cjayho |
3abc742e2dc4d2957a0858c20671fa3c02e871c3 | 1,577 | hpp | C++ | include/eagine/valid_if/lt_size_ge0.hpp | matus-chochlik/eagine-core | 5bc2d6b9b053deb3ce6f44f0956dfccd75db4649 | [
"BSL-1.0"
] | 1 | 2022-01-25T10:31:51.000Z | 2022-01-25T10:31:51.000Z | include/eagine/valid_if/lt_size_ge0.hpp | matus-chochlik/eagine-core | 5bc2d6b9b053deb3ce6f44f0956dfccd75db4649 | [
"BSL-1.0"
] | null | null | null | include/eagine/valid_if/lt_size_ge0.hpp | matus-chochlik/eagine-core | 5bc2d6b9b053deb3ce6f44f0956dfccd75db4649 | [
"BSL-1.0"
] | null | null | null | /// @file
///
/// Copyright Matus Chochlik.
/// 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 EAGINE_VALID_IF_LT_SIZE_GE0_HPP
#define EAGINE_VALID_IF_LT_SIZE_GE0_HPP
#include "in_class.hpp"
namespa... | 29.754717 | 87 | 0.630311 | matus-chochlik |
3abe75da0427aec2079f71bdd10276f43d9c79ee | 1,128 | cpp | C++ | test/matcher.cpp | OneBit74/ezpz | 16c899275feef45bc535fb2fa60fd0a1f563882f | [
"MIT"
] | null | null | null | test/matcher.cpp | OneBit74/ezpz | 16c899275feef45bc535fb2fa60fd0a1f563882f | [
"MIT"
] | null | null | null | test/matcher.cpp | OneBit74/ezpz | 16c899275feef45bc535fb2fa60fd0a1f563882f | [
"MIT"
] | null | null | null | #include "ezpz/ezpz.hpp"
#include <gtest/gtest.h>
using namespace ezpz;
TEST(matcher,accept_if){
std::vector<int> range = {1,2,3,4,5,6};
forward_range_context<std::vector<int>> ctx(std::move(range));
auto even = accept_if([](int val){return (val+1)%2;});
auto odd = accept_if([](int val){return val%2;});
EXPECT_... | 23.020408 | 64 | 0.675532 | OneBit74 |
3ac335005474a4a7df5303effb8c8bb4cb5578c1 | 6,565 | cpp | C++ | src/multiple_shooting_ocp.cpp | sotarokatayama/nmpcsolver | 7ee1710d4c8d2f4bceea70d5a2560d12eec29c8f | [
"MIT"
] | 65 | 2019-09-17T07:00:14.000Z | 2022-03-30T07:09:14.000Z | src/multiple_shooting_ocp.cpp | sotarokatayama/nmpcsolver | 7ee1710d4c8d2f4bceea70d5a2560d12eec29c8f | [
"MIT"
] | 12 | 2018-12-19T19:20:43.000Z | 2019-08-27T20:16:45.000Z | src/multiple_shooting_ocp.cpp | sotarokatayama/nmpcsolver | 7ee1710d4c8d2f4bceea70d5a2560d12eec29c8f | [
"MIT"
] | 15 | 2019-09-16T16:07:58.000Z | 2022-03-13T10:39:41.000Z | #include "multiple_shooting_ocp.hpp"
namespace cgmres {
MultipleShootingOCP::MultipleShootingOCP(const double T_f, const double alpha,
const int N)
: OptimalControlProblem(),
horizon_(T_f, alpha),
dim_solution_(N*(model_.dim_control_input()+model_.dim_constraints(... | 39.311377 | 81 | 0.68393 | sotarokatayama |
3ad029635fa26e7b7ad6bad6a6a58b62421b4b62 | 6,447 | cc | C++ | DEM/Src/nebula2/src/scene/nblendshapenode_main.cc | moltenguy1/deusexmachina | 134f4ca4087fff791ec30562cb250ccd50b69ee1 | [
"MIT"
] | 2 | 2017-04-30T20:24:29.000Z | 2019-02-12T08:36:26.000Z | DEM/Src/nebula2/src/scene/nblendshapenode_main.cc | moltenguy1/deusexmachina | 134f4ca4087fff791ec30562cb250ccd50b69ee1 | [
"MIT"
] | null | null | null | DEM/Src/nebula2/src/scene/nblendshapenode_main.cc | moltenguy1/deusexmachina | 134f4ca4087fff791ec30562cb250ccd50b69ee1 | [
"MIT"
] | null | null | null | //------------------------------------------------------------------------------
// nblendshapenode_main.cc
// (C) 2004 RadonLabs GmbH
//------------------------------------------------------------------------------
#include "scene/nblendshapenode.h"
#include "gfx2/nmesh2.h"
#include "scene/nanimator.h"
nNeb... | 30.554502 | 94 | 0.520707 | moltenguy1 |
3ad24fa8d3d2be9928be4210296fa640e61714bd | 3,618 | hpp | C++ | NetIO.hpp | kzoacn/QOT | b6db9c957bc81139301ded0e661ebc6d2a7cbe01 | [
"MIT"
] | null | null | null | NetIO.hpp | kzoacn/QOT | b6db9c957bc81139301ded0e661ebc6d2a7cbe01 | [
"MIT"
] | null | null | null | NetIO.hpp | kzoacn/QOT | b6db9c957bc81139301ded0e661ebc6d2a7cbe01 | [
"MIT"
] | null | null | null | #ifndef RECORD_IO_CHANNEL
#define RECORD_IO_CHANNEL
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <string>
#include <vector>
using std::string;
using std::vector;
#include <unistd.h>
#include <arpa/inet.h>
#include <sys/types.h>
#include <netinet/tcp.h>
#include <netinet/in... | 21.795181 | 86 | 0.634052 | kzoacn |
3ad87838128552530acb61fdbb77d5ba7c2b2700 | 3,236 | hpp | C++ | include/unifex/just_error.hpp | Chlorie/libunifex | 9869196338016939265964b82c7244915de6a12f | [
"Apache-2.0"
] | 1 | 2021-11-23T11:30:39.000Z | 2021-11-23T11:30:39.000Z | include/unifex/just_error.hpp | Chlorie/libunifex | 9869196338016939265964b82c7244915de6a12f | [
"Apache-2.0"
] | null | null | null | include/unifex/just_error.hpp | Chlorie/libunifex | 9869196338016939265964b82c7244915de6a12f | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* 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 applicab... | 29.688073 | 84 | 0.729604 | Chlorie |
3ad88da2e652ea769cdd9b55fe7a62bffc14ca7d | 14,079 | cpp | C++ | Source/SIMPLib/CoreFilters/ReplaceValueInArray.cpp | mmarineBlueQuartz/SIMPL | 834f9009944efe69d94b5b77a641d96db3e9543b | [
"NRL"
] | null | null | null | Source/SIMPLib/CoreFilters/ReplaceValueInArray.cpp | mmarineBlueQuartz/SIMPL | 834f9009944efe69d94b5b77a641d96db3e9543b | [
"NRL"
] | 2 | 2019-02-23T20:46:12.000Z | 2019-07-11T15:34:13.000Z | Source/SIMPLib/CoreFilters/ReplaceValueInArray.cpp | mmarineBlueQuartz/SIMPL | 834f9009944efe69d94b5b77a641d96db3e9543b | [
"NRL"
] | null | null | null | /* ============================================================================
* Copyright (c) 2009-2016 BlueQuartz Software, LLC
*
* 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 ... | 40.690751 | 188 | 0.55977 | mmarineBlueQuartz |
3ad9737debe98bccda421d69e986f4ede67e9272 | 412 | cpp | C++ | test/main.cpp | TimQuelch/soa | 6a3a18f845e1f8c6e361b328ceae15c7df336d1e | [
"MIT"
] | null | null | null | test/main.cpp | TimQuelch/soa | 6a3a18f845e1f8c6e361b328ceae15c7df336d1e | [
"MIT"
] | null | null | null | test/main.cpp | TimQuelch/soa | 6a3a18f845e1f8c6e361b328ceae15c7df336d1e | [
"MIT"
] | null | null | null | #include <iostream>
#include "soa.h"
int main() {
auto s = soa::soa<int, double, float>{};
s.push_back({1, 1.2, 2.3f});
s.push_back({5, 6, 7});
//const auto s2 = s;
//auto a = s[0];
//auto b = s2[1];
//std::cout << std::get<0>(a) << std::get<1>(a) << std::get<2>(a) << std::endl;
//std... | 22.888889 | 83 | 0.478155 | TimQuelch |
3add21d670744939cdf7fe878fbf69e4dce0894a | 3,532 | cpp | C++ | src/cpSerDesFactory.cpp | asc135/CodePort | 306d40d0a6d5ccb249b22249f2b3702ac09c021b | [
"BSD-3-Clause"
] | null | null | null | src/cpSerDesFactory.cpp | asc135/CodePort | 306d40d0a6d5ccb249b22249f2b3702ac09c021b | [
"BSD-3-Clause"
] | null | null | null | src/cpSerDesFactory.cpp | asc135/CodePort | 306d40d0a6d5ccb249b22249f2b3702ac09c021b | [
"BSD-3-Clause"
] | null | null | null | // ----------------------------------------------------------------------------
// CodePort++
//
// A Portable Operating System Abstraction Library
// Copyright 2010 Amardeep S. Chana. All rights reserved.
// Use of this software is bound by the terms of the Modified BSD License.
//
// Module Name: cpSerDesFac... | 21.802469 | 92 | 0.538788 | asc135 |
3adf46bda23f337e464782559a505d968e0df2c3 | 406 | cpp | C++ | basics/cli.cpp | iarjunphp/CPP-Learning | 4946f861cb3f57da2b0beba07a206fafe261aaf4 | [
"MIT"
] | 77 | 2019-10-28T05:38:51.000Z | 2022-03-15T01:53:48.000Z | basics/cli.cpp | iarjunphp/CPP-Learning | 4946f861cb3f57da2b0beba07a206fafe261aaf4 | [
"MIT"
] | 3 | 2019-12-26T15:39:55.000Z | 2020-10-29T14:55:50.000Z | basics/cli.cpp | iarjunphp/CPP-Learning | 4946f861cb3f57da2b0beba07a206fafe261aaf4 | [
"MIT"
] | 24 | 2020-01-08T04:12:52.000Z | 2022-03-12T22:26:07.000Z | #include <iostream>
using namespace std;
// argc(ARGument Count) i indicates how many parameters are passed
//argv(ARGument Vector) indicates array of character pointers listing all the arguments
int main(int argc, char** argv)
{
cout << "You have entered " << argc
<< " arguments:" << "\n";
... | 27.066667 | 87 | 0.598522 | iarjunphp |
3ae0b5d80e5ea4425ddccff702595162ea2819d6 | 5,203 | hpp | C++ | Siv3D/include/Siv3D/BlendState.hpp | tas9n/OpenSiv3D | c561cba1d88eb9cd9606ba983fcc1120192d5615 | [
"MIT"
] | 2 | 2021-11-22T00:52:48.000Z | 2021-12-24T09:33:55.000Z | Siv3D/include/Siv3D/BlendState.hpp | tas9n/OpenSiv3D | c561cba1d88eb9cd9606ba983fcc1120192d5615 | [
"MIT"
] | 32 | 2021-10-09T10:04:11.000Z | 2022-02-25T06:10:13.000Z | Siv3D/include/Siv3D/BlendState.hpp | tas9n/OpenSiv3D | c561cba1d88eb9cd9606ba983fcc1120192d5615 | [
"MIT"
] | 1 | 2021-12-31T05:08:00.000Z | 2021-12-31T05:08:00.000Z | //-----------------------------------------------
//
// This file is part of the Siv3D Engine.
//
// Copyright (c) 2008-2022 Ryo Suzuki
// Copyright (c) 2016-2022 OpenSiv3D Project
//
// Licensed under the MIT License.
//
//-----------------------------------------------
# pragma once
# if __has_include(<bit>)
# inc... | 22.52381 | 122 | 0.650586 | tas9n |
3ae28e8f0b9a1372061209a0b9e1329f6d92b89f | 3,031 | cc | C++ | unittests/message/list_parts_result_unittest.cc | allisrc/aliyun-oss-cpp-sdk | e2e166ff031552a93baacc105098c67ee4bf448a | [
"Apache-2.0"
] | null | null | null | unittests/message/list_parts_result_unittest.cc | allisrc/aliyun-oss-cpp-sdk | e2e166ff031552a93baacc105098c67ee4bf448a | [
"Apache-2.0"
] | null | null | null | unittests/message/list_parts_result_unittest.cc | allisrc/aliyun-oss-cpp-sdk | e2e166ff031552a93baacc105098c67ee4bf448a | [
"Apache-2.0"
] | null | null | null | /*
* 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 you under the Apache License, Version 2.0 (the
* "License"); you ... | 34.83908 | 80 | 0.702408 | allisrc |
3ae3c66b0f17da64d41dd09192f54485cda146ee | 1,996 | cpp | C++ | demo/src/components/playerweapon.cpp | Winded/ceppengine | 52a9c1723dc45aba4d85d50e4c919ec8016c8d94 | [
"MIT"
] | 2 | 2017-11-13T11:29:03.000Z | 2017-11-13T12:09:12.000Z | demo/src/components/playerweapon.cpp | Winded/ceppengine | 52a9c1723dc45aba4d85d50e4c919ec8016c8d94 | [
"MIT"
] | null | null | null | demo/src/components/playerweapon.cpp | Winded/ceppengine | 52a9c1723dc45aba4d85d50e4c919ec8016c8d94 | [
"MIT"
] | null | null | null | #include "playerweapon.h"
#include <iostream>
#include <ceppengine/gameobject.h>
#include <ceppengine/engine.h>
#include "projectile.h"
#include "delayeddestruction.h"
using namespace cepp;
PlayerWeapon::PlayerWeapon() : mShooting(false), mShootKey(' ')
{
}
std::string PlayerWeapon::typeName() const
{
return "P... | 28.112676 | 123 | 0.683367 | Winded |
3ae65a8d7cd718c00db5fd461963a5919cded111 | 12,418 | cpp | C++ | Eudora71/Eudora/PgDocumentFrame.cpp | dusong7/eudora-win | 850a6619e6b0d5abc770bca8eb5f3b9001b7ccd2 | [
"BSD-3-Clause-Clear"
] | 10 | 2018-05-23T10:43:48.000Z | 2021-12-02T17:59:48.000Z | Eudora71/Eudora/PgDocumentFrame.cpp | dusong7/eudora-win | 850a6619e6b0d5abc770bca8eb5f3b9001b7ccd2 | [
"BSD-3-Clause-Clear"
] | 1 | 2019-03-19T03:56:36.000Z | 2021-05-26T18:36:03.000Z | Eudora71/Eudora/PgDocumentFrame.cpp | evilneuro/eudora-win | 850a6619e6b0d5abc770bca8eb5f3b9001b7ccd2 | [
"BSD-3-Clause-Clear"
] | 11 | 2018-05-23T10:43:53.000Z | 2021-12-27T15:42:58.000Z | // PgDocumentFrame.cpp : implementation file
//
// Copyright (c) 1997-2001 by QUALCOMM, Incorporated
/* Copyright (c) 2016, Computer History Museum
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted (subject to
the limitations in the disclaimer bel... | 28.416476 | 129 | 0.741263 | dusong7 |
3ae669a429c9317bf7aaf012f1978155587393f9 | 2,885 | cpp | C++ | TwoDimensionalArrays/Exercise.Var.3.cpp | melnychenkohub/Elementary | 80947a62466b54b1e78ece7811384960adbf31a0 | [
"Unlicense"
] | null | null | null | TwoDimensionalArrays/Exercise.Var.3.cpp | melnychenkohub/Elementary | 80947a62466b54b1e78ece7811384960adbf31a0 | [
"Unlicense"
] | null | null | null | TwoDimensionalArrays/Exercise.Var.3.cpp | melnychenkohub/Elementary | 80947a62466b54b1e78ece7811384960adbf31a0 | [
"Unlicense"
] | null | null | null | #include <iostream>
using std::cout;
#include "DynamicCreateArray.h"
#include "FillArray.h"
#include "PrintArray.h"
#include "DynamicDeleteArray.h"
void Var3(void)
{
cout << "\nExercise. Variant 3 start.";
int row = 0, column = 0;
int **arr = DynamicCrteIntArr(row, column);
FillArr(arr, row, column);
const bool ... | 28.284314 | 165 | 0.578856 | melnychenkohub |
3aea9af5ec3bb7cd0546bbb889bc7e06189ccd99 | 123 | cpp | C++ | docs/mfc/reference/codesnippet/CPP/ctreectrl-class_8.cpp | jmittert/cpp-docs | cea5a8ee2b4764b2bac4afe5d386362ffd64e55a | [
"CC-BY-4.0",
"MIT"
] | 14 | 2018-01-28T18:10:55.000Z | 2021-11-16T13:21:18.000Z | docs/mfc/reference/codesnippet/CPP/ctreectrl-class_8.cpp | jmittert/cpp-docs | cea5a8ee2b4764b2bac4afe5d386362ffd64e55a | [
"CC-BY-4.0",
"MIT"
] | null | null | null | docs/mfc/reference/codesnippet/CPP/ctreectrl-class_8.cpp | jmittert/cpp-docs | cea5a8ee2b4764b2bac4afe5d386362ffd64e55a | [
"CC-BY-4.0",
"MIT"
] | 2 | 2018-10-10T07:37:30.000Z | 2019-06-21T15:18:07.000Z | // Delete all of the items from the tree control.
m_TreeCtrl.DeleteAllItems();
ASSERT(m_TreeCtrl.GetCount() == 0); | 41 | 52 | 0.699187 | jmittert |
3aec70c3f1f15b7b64b06a9b1241b1cfc4d54569 | 1,355 | cpp | C++ | include/hydro/system/HSetter.cpp | hydraate/hydro | 42037a8278dcfdca68fb5cceaf6988da861f0eff | [
"Apache-2.0"
] | null | null | null | include/hydro/system/HSetter.cpp | hydraate/hydro | 42037a8278dcfdca68fb5cceaf6988da861f0eff | [
"Apache-2.0"
] | null | null | null | include/hydro/system/HSetter.cpp | hydraate/hydro | 42037a8278dcfdca68fb5cceaf6988da861f0eff | [
"Apache-2.0"
] | null | null | null | //
// __ __ __
// / / / /__ __ ____/ /_____ ____
// / /_/ // / / // __ // ___// __ \
// / __ // /_/ // /_/ // / / /_/ /
// /_/ /_/ \__, / \__,_//_/ \____/
// /____/
//
// ... | 26.568627 | 231 | 0.487823 | hydraate |
3af0ee64eb0299c498ea63f459f12f19327bf61a | 222 | hpp | C++ | include/Game/notification.hpp | Lucrecious/DungeonGame | 9e427c4eba18cdc0aa93a6e28e505a8ecb1357e5 | [
"MIT"
] | null | null | null | include/Game/notification.hpp | Lucrecious/DungeonGame | 9e427c4eba18cdc0aa93a6e28e505a8ecb1357e5 | [
"MIT"
] | null | null | null | include/Game/notification.hpp | Lucrecious/DungeonGame | 9e427c4eba18cdc0aa93a6e28e505a8ecb1357e5 | [
"MIT"
] | null | null | null | #ifndef NOTIFICATION_H
#define NOTIFICATION_H
#include <Game/turn.hpp>
#include <Global/kind.hpp>
class Notification {
public:
virtual Turn getInput() const = 0;
virtual void notify(Vector, Kind) const = 0;
};
#endif
| 15.857143 | 45 | 0.738739 | Lucrecious |
3af46d95e7b17d1be3192e5d54cc88cb3a440ea1 | 8,637 | cc | C++ | xls/passes/dfe_pass_test.cc | RobSpringer/xls | a5521c7ecbd1a071828760cf429d74810f248681 | [
"Apache-2.0"
] | null | null | null | xls/passes/dfe_pass_test.cc | RobSpringer/xls | a5521c7ecbd1a071828760cf429d74810f248681 | [
"Apache-2.0"
] | null | null | null | xls/passes/dfe_pass_test.cc | RobSpringer/xls | a5521c7ecbd1a071828760cf429d74810f248681 | [
"Apache-2.0"
] | null | null | null | // Copyright 2020 The XLS Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed t... | 36.138075 | 80 | 0.687739 | RobSpringer |
3af6836350ca35b4fa05f2778ab19d4c86900e94 | 3,436 | cpp | C++ | Runtime/Weapon/CWeapon.cpp | Jcw87/urde | fb9ea9092ad00facfe957ece282a86c194e9cbda | [
"MIT"
] | null | null | null | Runtime/Weapon/CWeapon.cpp | Jcw87/urde | fb9ea9092ad00facfe957ece282a86c194e9cbda | [
"MIT"
] | null | null | null | Runtime/Weapon/CWeapon.cpp | Jcw87/urde | fb9ea9092ad00facfe957ece282a86c194e9cbda | [
"MIT"
] | null | null | null | #include "Runtime/Weapon/CWeapon.hpp"
#include "Runtime/CStateManager.hpp"
#include "Runtime/World/CActorParameters.hpp"
#include "Runtime/World/CScriptWater.hpp"
#include "TCastTo.hpp" // Generated file, do not modify include path
namespace metaforce {
CWeapon::CWeapon(TUniqueId uid, TAreaId aid, bool active, TUni... | 33.686275 | 118 | 0.688882 | Jcw87 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.