hexsha stringlengths 40 40 | size int64 7 1.05M | ext stringclasses 13
values | lang stringclasses 1
value | max_stars_repo_path stringlengths 4 269 | max_stars_repo_name stringlengths 5 108 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 9 | max_stars_count int64 1 191k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 4 269 | max_issues_repo_name stringlengths 5 116 | max_issues_repo_head_hexsha stringlengths 40 40 | max_issues_repo_licenses listlengths 1 9 | max_issues_count int64 1 67k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 4 269 | max_forks_repo_name stringlengths 5 116 | max_forks_repo_head_hexsha stringlengths 40 40 | max_forks_repo_licenses listlengths 1 9 | max_forks_count int64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 7 1.05M | avg_line_length float64 1.21 330k | max_line_length int64 6 990k | alphanum_fraction float64 0.01 0.99 | author_id stringlengths 2 40 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a83c62d90307528d2e63bc0f7262e4de0f07f4ab | 3,017 | hpp | C++ | vm/test/test_nativemethod.hpp | gdoleczek/rubinius | d8b16a76ada3531791260779ee747d11b75aba0e | [
"BSD-3-Clause"
] | 1 | 2018-11-24T17:34:58.000Z | 2018-11-24T17:34:58.000Z | vm/test/test_nativemethod.hpp | gdoleczek/rubinius | d8b16a76ada3531791260779ee747d11b75aba0e | [
"BSD-3-Clause"
] | null | null | null | vm/test/test_nativemethod.hpp | gdoleczek/rubinius | d8b16a76ada3531791260779ee747d11b75aba0e | [
"BSD-3-Clause"
] | null | null | null | #include "vm/test/test.hpp"
#include "builtin/nativemethod.hpp"
#include "vm.hpp"
#include "objectmemory.hpp"
using namespace rubinius;
class TestNativeMethod : public CxxTest::TestSuite, public VMTest {
public:
void setUp() {
create();
}
void tearDown() {
destroy();
}
void test_native_method_... | 28.196262 | 75 | 0.74942 | gdoleczek |
a8410530ee9abe9187aee3687d2f65f533f3c403 | 12,925 | cc | C++ | Cassie_Example/opt_two_step/gen/opt/h_RightToeBottom_cassie.cc | prem-chand/Cassie_CFROST | da4bd51442f86e852cbb630cc91c9a380a10b66d | [
"BSD-3-Clause"
] | null | null | null | Cassie_Example/opt_two_step/gen/opt/h_RightToeBottom_cassie.cc | prem-chand/Cassie_CFROST | da4bd51442f86e852cbb630cc91c9a380a10b66d | [
"BSD-3-Clause"
] | null | null | null | Cassie_Example/opt_two_step/gen/opt/h_RightToeBottom_cassie.cc | prem-chand/Cassie_CFROST | da4bd51442f86e852cbb630cc91c9a380a10b66d | [
"BSD-3-Clause"
] | null | null | null | /*
* Automatically Generated from Mathematica.
* Thu 14 Oct 2021 09:53:09 GMT-04:00
*/
#ifdef MATLAB_MEX_FILE
#include <stdexcept>
#include <cmath>
#include<math.h>
/**
* Copied from Wolfram Mathematica C Definitions file mdefs.hpp
* Changed marcos to inline functions (Eric Cousineau)
*/
inline double Power(doub... | 23.204668 | 321 | 0.646886 | prem-chand |
61b438043916f7d69b5852688703f6b2a6df908a | 1,028 | cpp | C++ | AdvancedAnchor/src/dbg/debugVehicleSpawner.cpp | PsychoDad9999/GTA5-Mods | 38a3aa2ec48cd52cb851f1cda636c53bfbc058ad | [
"MIT"
] | 5 | 2020-09-23T06:03:48.000Z | 2021-04-14T19:37:55.000Z | AdvancedAnchor/src/dbg/debugVehicleSpawner.cpp | PsychoDad9999/GTA5-Mods | 38a3aa2ec48cd52cb851f1cda636c53bfbc058ad | [
"MIT"
] | null | null | null | AdvancedAnchor/src/dbg/debugVehicleSpawner.cpp | PsychoDad9999/GTA5-Mods | 38a3aa2ec48cd52cb851f1cda636c53bfbc058ad | [
"MIT"
] | null | null | null | // ----------------------------------------------------------------------------
#include "debugVehicleSpawner.h"
#include "inc/natives.h"
#include "framework/world/world.h"
// ----------------------------------------------------------------------------
/// <summery>Spawn a vehicle close to ped position</summery>
///... | 34.266667 | 103 | 0.515564 | PsychoDad9999 |
61b46e28c83c45b3bf931b810a62b648cf7a8ff1 | 122 | cc | C++ | src/UserTrackInformation.cc | omar-moreno/simulation-formerly-known-as-slic | 331d0452d05762e2f4554f0ace6fe46922a7333c | [
"BSD-3-Clause-LBNL"
] | null | null | null | src/UserTrackInformation.cc | omar-moreno/simulation-formerly-known-as-slic | 331d0452d05762e2f4554f0ace6fe46922a7333c | [
"BSD-3-Clause-LBNL"
] | null | null | null | src/UserTrackInformation.cc | omar-moreno/simulation-formerly-known-as-slic | 331d0452d05762e2f4554f0ace6fe46922a7333c | [
"BSD-3-Clause-LBNL"
] | null | null | null | #include "UserTrackInformation.hh"
namespace slic {
G4Allocator<UserTrackInformation> UserTrackInformationAllocator;
}
| 15.25 | 64 | 0.836066 | omar-moreno |
61b735891cf0b3c0a307dcaba3c4136870987e51 | 7,231 | cpp | C++ | bin/sinsy.cpp | Erin59/sinsy0.91 | 249bd757c975436824b88aa773ecb4078eb4d696 | [
"Unlicense"
] | 1 | 2018-12-17T08:41:19.000Z | 2018-12-17T08:41:19.000Z | bin/sinsy.cpp | Erin59/sinsy0.91 | 249bd757c975436824b88aa773ecb4078eb4d696 | [
"Unlicense"
] | null | null | null | bin/sinsy.cpp | Erin59/sinsy0.91 | 249bd757c975436824b88aa773ecb4078eb4d696 | [
"Unlicense"
] | 1 | 2019-09-24T05:52:54.000Z | 2019-09-24T05:52:54.000Z | /* ----------------------------------------------------------------- */
/* The HMM-Based Singing Voice Synthesis System "Sinsy" */
/* developed by Sinsy Working Group */
/* http://sinsy.sourceforge.net/ */
/* -----------------------------... | 40.623596 | 113 | 0.482229 | Erin59 |
61b9fca04f748779d5f327c431e2dd9c073c3fa6 | 5,333 | cpp | C++ | Onboard-SDK/osdk-core/advanced-sensing/platform/src/linux_usb_device.cpp | dingpwen/osdk_flycontrol | 583504bd4f9c73c5cb82223af8e5d7742d4f9c9d | [
"Apache-2.0"
] | null | null | null | Onboard-SDK/osdk-core/advanced-sensing/platform/src/linux_usb_device.cpp | dingpwen/osdk_flycontrol | 583504bd4f9c73c5cb82223af8e5d7742d4f9c9d | [
"Apache-2.0"
] | null | null | null | Onboard-SDK/osdk-core/advanced-sensing/platform/src/linux_usb_device.cpp | dingpwen/osdk_flycontrol | 583504bd4f9c73c5cb82223af8e5d7742d4f9c9d | [
"Apache-2.0"
] | null | null | null | /*
* DJI Onboard SDK Advanced Sensing APIs
*
* Copyright (c) 2017-2018 DJI. All rights reserved.
*
* All information contained herein is, and remains, the property of DJI.
* The intellectual and technical concepts contained herein are proprietary
* to DJI and may be covered by U.S. and foreign patents, patents i... | 28.216931 | 97 | 0.67673 | dingpwen |
61bae19f0a8b4bb1b2e0e02ab25f86f4a3e38184 | 2,064 | cpp | C++ | lib/chunk/Chunk.cpp | NetherGamesMC/noiselib | 56fc48ea1367e1d08b228dfa580b513fbec8ca31 | [
"MIT"
] | 14 | 2021-08-16T18:58:30.000Z | 2022-02-13T01:12:31.000Z | lib/chunk/Chunk.cpp | NetherGamesMC/ext-vanillagenerator | 56fc48ea1367e1d08b228dfa580b513fbec8ca31 | [
"MIT"
] | 2 | 2021-06-21T15:10:01.000Z | 2021-07-19T01:48:00.000Z | lib/chunk/Chunk.cpp | NetherGamesMC/ext-vanillagenerator | 56fc48ea1367e1d08b228dfa580b513fbec8ca31 | [
"MIT"
] | 3 | 2021-06-21T02:10:39.000Z | 2021-08-04T01:36:08.000Z | #include "Chunk.h"
#include <lib/MortonHelper.h>
Chunk::Chunk(int64_t chunk, std::array<NormalBlockArrayContainer *, 16> &b, BiomeArray &biomeArray) : biomeArray(biomeArray) {
std::copy(std::begin(b), std::end(b), std::begin(blockLayer));
int64_t x, z;
morton2d_decode(chunk, x, z);
chunkX = static_cast<int_... | 25.170732 | 126 | 0.668605 | NetherGamesMC |
61bce725c5f29cf304b499a34481bfc6f6f00ee5 | 2,897 | cpp | C++ | Source/source/mob_categories/group_task_category.cpp | ElatedEatrs/Pikifen | 1e834d5241fc631f8dfc519c17358051e867164f | [
"MIT"
] | null | null | null | Source/source/mob_categories/group_task_category.cpp | ElatedEatrs/Pikifen | 1e834d5241fc631f8dfc519c17358051e867164f | [
"MIT"
] | null | null | null | Source/source/mob_categories/group_task_category.cpp | ElatedEatrs/Pikifen | 1e834d5241fc631f8dfc519c17358051e867164f | [
"MIT"
] | null | null | null | /*
* Copyright (c) Andre 'Espyo' Silva 2013.
* The following source file belongs to the open-source project Pikifen.
* Please read the included README and LICENSE files for more information.
* Pikmin is copyright (c) Nintendo.
*
* === FILE DESCRIPTION ===
* Group task mob category class.
*/
#include <algorithm... | 28.683168 | 79 | 0.535381 | ElatedEatrs |
61bd50c0e742c5d822814501f08a1cb4041a265e | 897 | hpp | C++ | src/include/duckdb/execution/adaptive_filter.hpp | AldoMyrtaj/duckdb | 3aa4978a2ceab8df25e4b20c388bcd7629de73ed | [
"MIT"
] | 2,816 | 2018-06-26T18:52:52.000Z | 2021-04-06T10:39:15.000Z | src/include/duckdb/execution/adaptive_filter.hpp | AldoMyrtaj/duckdb | 3aa4978a2ceab8df25e4b20c388bcd7629de73ed | [
"MIT"
] | 1,310 | 2021-04-06T16:04:52.000Z | 2022-03-31T13:52:53.000Z | src/include/duckdb/execution/adaptive_filter.hpp | AldoMyrtaj/duckdb | 3aa4978a2ceab8df25e4b20c388bcd7629de73ed | [
"MIT"
] | 270 | 2021-04-09T06:18:28.000Z | 2022-03-31T11:55:37.000Z | //===----------------------------------------------------------------------===//
// DuckDB
//
// duckdb/execution/adaptive_filter.hpp
//
//
//===----------------------------------------------------------------------===//
#pragma once
#include "duckdb/planner/expression/list.hpp"
#include <ran... | 23.605263 | 80 | 0.623188 | AldoMyrtaj |
61c242611d42e1e0189899f58c8888f9b7266e7b | 570 | cpp | C++ | LakiG/sieve_of_eratosthenes.cpp | KaveeshaGallage/Hacktoberfest-2022 | a3e903927ce700f237832008f4b8428c679ace5c | [
"MIT"
] | 40 | 2021-09-25T04:50:35.000Z | 2021-11-08T12:47:52.000Z | LakiG/sieve_of_eratosthenes.cpp | KaveeshaGallage/Hacktoberfest-2022 | a3e903927ce700f237832008f4b8428c679ace5c | [
"MIT"
] | 18 | 2021-09-26T05:50:29.000Z | 2021-10-05T07:03:22.000Z | LakiG/sieve_of_eratosthenes.cpp | KaveeshaGallage/Hacktoberfest-2022 | a3e903927ce700f237832008f4b8428c679ace5c | [
"MIT"
] | 213 | 2021-09-24T06:27:35.000Z | 2021-10-31T17:59:38.000Z | // Sieve Of Eratosthenes
#include<iostream>
#include<bits/stdc++.h>
using namespace std;
void SieveOfEratosthenes(int n)
{
bool prime[n+1];
memset(prime, true, sizeof(prime));
for (int p=2; p*p<=n; p++)
{
if (prime[p] == true)
{
for (int i=p*p; i<=n; i += p)
... | 17.272727 | 42 | 0.478947 | KaveeshaGallage |
61c2fcdd9b7626442b58a0e3c959cb891211540b | 52,501 | cpp | C++ | src/mame/drivers/wpc_dcs.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | 26 | 2015-03-31T06:25:51.000Z | 2021-12-14T09:29:04.000Z | src/mame/drivers/wpc_dcs.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | null | null | null | src/mame/drivers/wpc_dcs.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | 10 | 2015-03-27T05:45:51.000Z | 2022-02-04T06:57:36.000Z | // license:BSD-3-Clause
// copyright-holders:Olivier Galibert, Miodrag Milanovic
/* Williams WPC with DCS sound */
#include "emu.h"
#include "cpu/m6809/m6809.h"
#include "audio/dcs.h"
#include "machine/nvram.h"
#include "video/wpc_dmd.h"
#include "machine/wpc_shift.h"
#include "machine/wpc_lamp.h"
#include "machine/w... | 57.066304 | 176 | 0.777566 | Robbbert |
61c357c086f918afbab2a262618337364efc42a2 | 2,558 | cpp | C++ | MagicCube/Vertices.cpp | twd2/MagicCube | d7201b15424b8d06e124199054a7e315cf2de14c | [
"MIT"
] | 17 | 2015-10-05T09:10:42.000Z | 2021-05-01T10:18:56.000Z | MagicCube/Vertices.cpp | twd2/MagicCube | d7201b15424b8d06e124199054a7e315cf2de14c | [
"MIT"
] | 2 | 2015-10-18T09:55:56.000Z | 2016-12-14T08:00:45.000Z | MagicCube/Vertices.cpp | twd2/MagicCube | d7201b15424b8d06e124199054a7e315cf2de14c | [
"MIT"
] | 2 | 2016-04-09T09:36:43.000Z | 2018-01-19T12:10:28.000Z | #include "stdafx.h"
#include "Vertices.h"
#ifdef USE_GL
const GLfloat axisVertexBufferData[] = {
//x
-1.0f, 0.0f, 0.0f,
1.0f, 0.0f, 0.0f,
0.975f, 0.025f, 0.0f,
1.0f, 0.0f, 0.0f,
0.975f, -0.025f, 0.0f,
1.0f, 0.0f, 0.0f,
//y
0.0f, -1.0f, 0.0f,
0.0f, 1.0f, 0.0f,
0.025f, 0.975f, 0.0f,
0.0f, 1.0f, 0.0f,
-0.02... | 19.829457 | 107 | 0.607897 | twd2 |
61c3c6dc9fde0d997d8ecc3e5fdfefd01b3d72bf | 3,058 | cpp | C++ | Sources_Common/HTTP/CardDAVClient/CCardDAVMultigetReport.cpp | mbert/mulberry-main | 6b7951a3ca56e01a7be67aa12e55bfeafc63950d | [
"ECL-2.0",
"Apache-2.0"
] | 12 | 2015-04-21T16:10:43.000Z | 2021-11-05T13:41:46.000Z | Sources_Common/HTTP/CardDAVClient/CCardDAVMultigetReport.cpp | mbert/mulberry-main | 6b7951a3ca56e01a7be67aa12e55bfeafc63950d | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2015-11-02T13:32:11.000Z | 2019-07-10T21:11:21.000Z | Sources_Common/HTTP/CardDAVClient/CCardDAVMultigetReport.cpp | mbert/mulberry-main | 6b7951a3ca56e01a7be67aa12e55bfeafc63950d | [
"ECL-2.0",
"Apache-2.0"
] | 6 | 2015-01-12T08:49:12.000Z | 2021-03-27T09:11:10.000Z | /*
Copyright (c) 2007 Cyrus Daboo. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless re... | 28.055046 | 119 | 0.717462 | mbert |
61c5d9c23bc509b3b9509404fd3ae9041e1d29a9 | 4,350 | cpp | C++ | Janus/src/Scene/Scene.cpp | Kytha/janus-engine | ca0ce92d38a9bdb52ec76c9ebf782b993791a08d | [
"MIT"
] | null | null | null | Janus/src/Scene/Scene.cpp | Kytha/janus-engine | ca0ce92d38a9bdb52ec76c9ebf782b993791a08d | [
"MIT"
] | null | null | null | Janus/src/Scene/Scene.cpp | Kytha/janus-engine | ca0ce92d38a9bdb52ec76c9ebf782b993791a08d | [
"MIT"
] | null | null | null | #include "jnpch.h"
#include "Core/Core.h"
#include "Core/Input.h"
#include "Scene.h"
#include "Graphics/SceneRenderer.h"
#include <glm/glm.hpp>
#include <glm/gtc/type_ptr.hpp>
#include "Scene/Entity.h"
#include "Graphics/Renderer.h"
namespace Janus
{
Scene::Scene(const std::string &debugName)
: m_DebugName(debugName... | 27.1875 | 113 | 0.721609 | Kytha |
61c72a9b77d05b5d5554274498b447f7a067a2d6 | 4,779 | cpp | C++ | ThirdParty/poco/Foundation/src/ArchiveStrategy.cpp | gregmedlock/roadrunnerwork | 11f18f78ef3e381bc59c546a8d5e3ed46d8ab596 | [
"Apache-2.0"
] | 39 | 2015-01-23T10:01:31.000Z | 2021-06-10T03:01:18.000Z | Windows/PocoFoundation/src/ArchiveStrategy.cpp | luckypen/WiEngine | 7e80641fe15a77a2fc43db90f15dad6aa2c2860a | [
"MIT"
] | 1 | 2015-04-15T08:07:47.000Z | 2015-04-15T08:07:47.000Z | Windows/PocoFoundation/src/ArchiveStrategy.cpp | luckypen/WiEngine | 7e80641fe15a77a2fc43db90f15dad6aa2c2860a | [
"MIT"
] | 20 | 2015-01-20T07:36:10.000Z | 2019-09-15T01:02:19.000Z | //
// ArchiveStrategy.cpp
//
// $Id: //poco/1.4/Foundation/src/ArchiveStrategy.cpp#1 $
//
// Library: Foundation
// Package: Logging
// Module: FileChannel
//
// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// Permission is hereby granted, free of charge, ... | 22.542453 | 96 | 0.67964 | gregmedlock |
61ca05251c7b4567c3bcbb095b2d4d5f710a91a5 | 3,444 | hpp | C++ | cpp/subprojects/common/include/common/binning/threshold_vector.hpp | Waguy02/Boomer-Scripted | b06bb9213d64dca0c05d41701dea12666931618c | [
"MIT"
] | 8 | 2020-06-30T01:06:43.000Z | 2022-03-14T01:58:29.000Z | cpp/subprojects/common/include/common/binning/threshold_vector.hpp | Waguy02/Boomer-Scripted | b06bb9213d64dca0c05d41701dea12666931618c | [
"MIT"
] | 3 | 2020-12-14T11:30:18.000Z | 2022-02-07T06:31:51.000Z | cpp/subprojects/common/include/common/binning/threshold_vector.hpp | Waguy02/Boomer-Scripted | b06bb9213d64dca0c05d41701dea12666931618c | [
"MIT"
] | 4 | 2020-06-24T08:45:00.000Z | 2021-12-23T21:44:51.000Z | /*
* @author Michael Rapp (michael.rapp.ml@gmail.com)
*/
#pragma once
#include "common/data/vector_dense.hpp"
#include "common/input/missing_feature_vector.hpp"
/**
* An one-dimensional vector that stores thresholds that may be used by conditions.
*/
class ThresholdVector final : public MissingFeatureVector {
... | 32.186916 | 120 | 0.589141 | Waguy02 |
61cabc45d6d2c04f3eb69f296aea3dffbe9cd560 | 1,773 | cpp | C++ | velox/exec/Limit.cpp | HuamengJiang/velox-1 | 031066cb33ebc78e0cca3f9638d0eaa238bcbec0 | [
"Apache-2.0"
] | null | null | null | velox/exec/Limit.cpp | HuamengJiang/velox-1 | 031066cb33ebc78e0cca3f9638d0eaa238bcbec0 | [
"Apache-2.0"
] | null | null | null | velox/exec/Limit.cpp | HuamengJiang/velox-1 | 031066cb33ebc78e0cca3f9638d0eaa238bcbec0 | [
"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 applic... | 26.462687 | 75 | 0.661027 | HuamengJiang |
61cc321b549d6a9cfcc4771d20092bd03e9b5cce | 2,326 | cpp | C++ | kuangbin/18/ural1297.cpp | tusikalanse/acm-icpc | 20150f42752b85e286d812e716bb32ae1fa3db70 | [
"MIT"
] | 2 | 2021-06-09T12:27:07.000Z | 2021-06-11T12:02:03.000Z | kuangbin/18/ural1297.cpp | tusikalanse/acm-icpc | 20150f42752b85e286d812e716bb32ae1fa3db70 | [
"MIT"
] | 1 | 2021-09-08T12:00:05.000Z | 2021-09-08T14:52:30.000Z | kuangbin/18/ural1297.cpp | tusikalanse/acm-icpc | 20150f42752b85e286d812e716bb32ae1fa3db70 | [
"MIT"
] | null | null | null | #include <iostream>
#include <algorithm>
#include <cstdio>
#include <cmath>
#include <cstring>
#include <cstdlib>
using namespace std;
const int MAXN = 2010;
int wa[MAXN], wb[MAXN], c[MAXN], r[MAXN], sa[MAXN], *rnk, height[MAXN], RMQ[MAXN][16];
char s[MAXN];
void build_sa(int r[], int sa[], int n, int m) {
int i, j... | 24.229167 | 89 | 0.425623 | tusikalanse |
61cd5227db8cfd123104b2cd2121a7f8e5a9f294 | 1,671 | cpp | C++ | DynamicProgramming/trappingrainwater.cpp | thisisnitish/cp-dsa- | 9ae94930b65f8dc293d088e9148960939b9f6fa4 | [
"MIT"
] | null | null | null | DynamicProgramming/trappingrainwater.cpp | thisisnitish/cp-dsa- | 9ae94930b65f8dc293d088e9148960939b9f6fa4 | [
"MIT"
] | null | null | null | DynamicProgramming/trappingrainwater.cpp | thisisnitish/cp-dsa- | 9ae94930b65f8dc293d088e9148960939b9f6fa4 | [
"MIT"
] | null | null | null | /*
Leetcode Question 42. Trapping Rain Water
https://leetcode.com/problems/trapping-rain-water/
*/
// Solution 1
class Solution
{
public:
// Time: O(N^2), Space: O(N)
int trap(vector<int> &height)
{
int n = height.size();
int trappedWater = 0;
for (int i = 0; i < n; i++)
{
... | 22.28 | 69 | 0.453621 | thisisnitish |
61ce1574b4254dc87fdcef0f115ef029ddb1cd09 | 743 | cpp | C++ | boost_asio/boost_asio_net_program_book/e.g.6.cpp | adlternative/boost-learn | 8efe901dec2b0caa1b6d59b805fd4af121c51e05 | [
"BSD-2-Clause"
] | null | null | null | boost_asio/boost_asio_net_program_book/e.g.6.cpp | adlternative/boost-learn | 8efe901dec2b0caa1b6d59b805fd4af121c51e05 | [
"BSD-2-Clause"
] | null | null | null | boost_asio/boost_asio_net_program_book/e.g.6.cpp | adlternative/boost-learn | 8efe901dec2b0caa1b6d59b805fd4af121c51e05 | [
"BSD-2-Clause"
] | null | null | null | #include <boost/asio.hpp>
#include <boost/bind/placeholders.hpp>
#include <boost/thread.hpp>
#include <iostream>
/* 不可编译 */
using namespace boost::asio;
bool reads = false;
void deadline_handler(const boost::system::error_code &) {
std::cout << (((reads) ? "reads successfully" : "reads failed")) << std::endl;
}
void... | 28.576923 | 80 | 0.703903 | adlternative |
61cf11066eb994db74ad474415ea46e636ef7d7b | 946 | hpp | C++ | math/primitive/2d/ray.hpp | aconstlink/natus | d2123c6e1798bd0771b8a1a05721c68392afc92f | [
"MIT"
] | null | null | null | math/primitive/2d/ray.hpp | aconstlink/natus | d2123c6e1798bd0771b8a1a05721c68392afc92f | [
"MIT"
] | 292 | 2020-03-19T22:38:52.000Z | 2022-03-05T22:49:34.000Z | math/primitive/2d/ray.hpp | aconstlink/natus | d2123c6e1798bd0771b8a1a05721c68392afc92f | [
"MIT"
] | null | null | null | #pragma once
#include "../../vector/vector2.hpp"
namespace natus
{
namespace math
{
namespace m2d
{
template< typename type_t >
class ray
{
typedef natus::math::vector2< type_t > vec2_t ;
typedef vec2_t const& vec2_cref_t ;
... | 23.65 | 87 | 0.455603 | aconstlink |
61d087c177e256f55cc16e00357ce665ee4dd355 | 34,718 | cpp | C++ | src/Generating/HeiGen.cpp | planetx/MCServer | 4e119b522409af682e62ed38f4d22ddd9da40170 | [
"Apache-2.0"
] | null | null | null | src/Generating/HeiGen.cpp | planetx/MCServer | 4e119b522409af682e62ed38f4d22ddd9da40170 | [
"Apache-2.0"
] | null | null | null | src/Generating/HeiGen.cpp | planetx/MCServer | 4e119b522409af682e62ed38f4d22ddd9da40170 | [
"Apache-2.0"
] | null | null | null |
// HeiGen.cpp
// Implements the various terrain height generators
#include "Globals.h"
#include "HeiGen.h"
#include "../LinearUpscale.h"
#include "../IniFile.h"
#include "DistortedHeightmap.h"
#include "EndGen.h"
#include "Noise3DGenerator.h"
/////////////////////////////////////////////////////////////////////... | 40.136416 | 425 | 0.578518 | planetx |
61d6707cc833bbd6dfa8335f8eec7c9411842562 | 1,018 | cpp | C++ | libs/gui/src/gui/widget/preferred_size.cpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | 2 | 2016-01-27T13:18:14.000Z | 2018-05-11T01:11:32.000Z | libs/gui/src/gui/widget/preferred_size.cpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | null | null | null | libs/gui/src/gui/widget/preferred_size.cpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | 3 | 2018-05-11T01:11:34.000Z | 2021-04-24T19:47:45.000Z | // Copyright Carl Philipp Reh 2006 - 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 <sge/gui/widget/base.hpp>
#include <sge/gui/widget/dummy.hpp>
#include <sge/gui/widget/pre... | 39.153846 | 91 | 0.714145 | cpreh |
61d6efa2424a40d3a03b181c4edb7eb5b59d0cd9 | 7,228 | cc | C++ | chromeos/services/device_sync/remote_device_loader_unittest.cc | Ron423c/chromium | 2edf7b980065b648f8b2a6e52193d83832fe36b7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 575 | 2015-06-18T23:58:20.000Z | 2022-03-23T09:32:39.000Z | chromeos/services/device_sync/remote_device_loader_unittest.cc | Ron423c/chromium | 2edf7b980065b648f8b2a6e52193d83832fe36b7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 113 | 2015-05-04T09:58:14.000Z | 2022-01-31T19:35:03.000Z | chromeos/services/device_sync/remote_device_loader_unittest.cc | DamieFC/chromium | 54ce2d3c77723697efd22cfdb02aea38f9dfa25c | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 52 | 2015-07-14T10:40:50.000Z | 2022-03-15T01:11:49.000Z | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chromeos/services/device_sync/remote_device_loader.h"
#include <stddef.h>
#include <memory>
#include <utility>
#include "base/bind.h"
#includ... | 36.877551 | 80 | 0.75332 | Ron423c |
61d76078777127c21cab76c4624cbecf6f39aea3 | 440 | cpp | C++ | example/check/random/sobol_test.cpp | dmilos/math | 977cb171d8d582411cfab73a23ce85a8ccf3b132 | [
"Apache-2.0"
] | 3 | 2020-07-02T12:44:32.000Z | 2021-04-07T20:31:41.000Z | example/check/random/sobol_test.cpp | dmilos/math | 977cb171d8d582411cfab73a23ce85a8ccf3b132 | [
"Apache-2.0"
] | null | null | null | example/check/random/sobol_test.cpp | dmilos/math | 977cb171d8d582411cfab73a23ce85a8ccf3b132 | [
"Apache-2.0"
] | 1 | 2020-09-04T11:01:28.000Z | 2020-09-04T11:01:28.000Z | #include <iostream>
#include <iomanip>
#include "math/math.hpp"
using namespace std;
int main( int argc, char *argv[] )
{
typedef ::math::random::sobol2D< double > sobol_type;
sobol_type s1;
sobol_type s2;
for( int i=0; i< 20; i++ )
{
sobol_type::scalar_type x, y;
s1.next( x, y )... | 16.923077 | 56 | 0.538636 | dmilos |
61d7b7bdb4bcf9a5ac53e947278315414b7a3be6 | 6,954 | hpp | C++ | third-party/gecode/gecode/set/branch/var.hpp | PetterS/easy-IP | d57607333b9844a32723db5e1d748b9eeb4fb2a2 | [
"BSD-2-Clause"
] | 12 | 2015-12-04T05:59:12.000Z | 2020-08-01T00:33:30.000Z | third-party/gecode/gecode/set/branch/var.hpp | PetterS/easy-IP | d57607333b9844a32723db5e1d748b9eeb4fb2a2 | [
"BSD-2-Clause"
] | 1 | 2020-10-04T19:41:26.000Z | 2020-10-04T19:41:26.000Z | third-party/gecode/gecode/set/branch/var.hpp | PetterS/easy-IP | d57607333b9844a32723db5e1d748b9eeb4fb2a2 | [
"BSD-2-Clause"
] | 6 | 2016-04-10T20:31:03.000Z | 2020-10-04T06:13:27.000Z | /* -*- mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- */
/*
* Main authors:
* Christian Schulte <schulte@gecode.org>
*
* Copyright:
* Christian Schulte, 2012
*
* Last modified:
* $Date: 2013-02-19 13:26:08 +0100 (ti, 19 feb 2013) $ by $Author: schulte $
* $Revision: 13313 $
*
* T... | 28.383673 | 81 | 0.728358 | PetterS |
61df7ba7912678ba2777d5b4998a8eb6f291cf2c | 1,065 | cpp | C++ | software/src/soc/common/power.cpp | elke0011/RAPTRS | 6afd76d1eb9d9efa5ebd77196cf568d1f178dd74 | [
"MIT"
] | 4 | 2019-11-15T17:27:46.000Z | 2020-09-28T21:03:15.000Z | software/src/soc/common/power.cpp | elke0011/RAPTRS | 6afd76d1eb9d9efa5ebd77196cf568d1f178dd74 | [
"MIT"
] | 1 | 2020-06-22T19:20:36.000Z | 2020-07-15T03:55:41.000Z | software/src/soc/common/power.cpp | elke0011/RAPTRS | 6afd76d1eb9d9efa5ebd77196cf568d1f178dd74 | [
"MIT"
] | 3 | 2020-06-11T22:32:45.000Z | 2022-03-21T15:18:19.000Z | /*
Copyright (c) 2016 - 2019 Regents of the University of Minnesota and Bolder Flight Systems Inc.
MIT License; See LICENSE.md for complete details
Author: Chris Regan
*/
#include "power.h"
void MinCellVolt::Configure(const rapidjson::Value& Config, std::string SystemName) {
// I/O signals
LoadInput(Config, Syste... | 25.97561 | 95 | 0.711737 | elke0011 |
61df96c924580d4f1c49c829e1ff9128d0a96631 | 6,019 | cc | C++ | table/two_level_iterator.cc | Meggie4/partnercompaction_for_read | 6fdc54910fbb80ddfeefec7dfc83cef5f1e2e77f | [
"BSD-3-Clause"
] | null | null | null | table/two_level_iterator.cc | Meggie4/partnercompaction_for_read | 6fdc54910fbb80ddfeefec7dfc83cef5f1e2e77f | [
"BSD-3-Clause"
] | null | null | null | table/two_level_iterator.cc | Meggie4/partnercompaction_for_read | 6fdc54910fbb80ddfeefec7dfc83cef5f1e2e77f | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2011 The LevelDB Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. See the AUTHORS file for names of contributors.
#include "table/two_level_iterator.h"
#include "leveldb/table.h"
#include "table/block.h"
#include "ta... | 25.396624 | 82 | 0.65775 | Meggie4 |
61e07ec5914381295c69f06e84a4b60e09122af1 | 2,496 | cc | C++ | cyber/message/raw_message_test.cc | zhulianhai/apollo | ab47e53dff2a9fe836ac69fdf783a654a0220802 | [
"Apache-2.0"
] | 7 | 2017-07-07T07:56:13.000Z | 2019-03-06T06:27:00.000Z | cyber/message/raw_message_test.cc | zhulianhai/apollo | ab47e53dff2a9fe836ac69fdf783a654a0220802 | [
"Apache-2.0"
] | null | null | null | cyber/message/raw_message_test.cc | zhulianhai/apollo | ab47e53dff2a9fe836ac69fdf783a654a0220802 | [
"Apache-2.0"
] | 2 | 2017-07-07T07:56:15.000Z | 2018-08-10T17:13:34.000Z | /******************************************************************************
* Copyright 2018 The Apollo Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
... | 30.439024 | 79 | 0.691506 | zhulianhai |
61e8b10dd0a7007bef237495a4588bcdbca02ddc | 10,392 | cpp | C++ | Code/Projects/Eldritch/src/Components/wbcompeldhealth.cpp | kas1e/Eldritch | 032b4ac52f7508c89efa407d6fe60f40c6281fd9 | [
"Zlib"
] | null | null | null | Code/Projects/Eldritch/src/Components/wbcompeldhealth.cpp | kas1e/Eldritch | 032b4ac52f7508c89efa407d6fe60f40c6281fd9 | [
"Zlib"
] | null | null | null | Code/Projects/Eldritch/src/Components/wbcompeldhealth.cpp | kas1e/Eldritch | 032b4ac52f7508c89efa407d6fe60f40c6281fd9 | [
"Zlib"
] | null | null | null | #include "core.h"
#include "wbcompeldhealth.h"
#include "wbeventmanager.h"
#include "configmanager.h"
#include "idatastream.h"
#include "mathcore.h"
#include "eldritchgame.h"
#include "Components/wbcompstatmod.h"
WBCompEldHealth::WBCompEldHealth()
: m_Health(0),
m_MaxHealth(0),
m_InitialHealth(0),
... | 29.355932 | 80 | 0.734122 | kas1e |
61e8fba202823caace7274090b2e11da721dbdf2 | 6,489 | cpp | C++ | src/TrackedObjectDelegate.cpp | Roboy/DarkRoom_rviz | 8f049218bc600d4b179303493a70bfe2389df73c | [
"BSD-3-Clause"
] | 2 | 2017-07-06T15:34:19.000Z | 2020-06-04T00:22:54.000Z | src/TrackedObjectDelegate.cpp | Roboy/DarkRoom_rviz | 8f049218bc600d4b179303493a70bfe2389df73c | [
"BSD-3-Clause"
] | null | null | null | src/TrackedObjectDelegate.cpp | Roboy/DarkRoom_rviz | 8f049218bc600d4b179303493a70bfe2389df73c | [
"BSD-3-Clause"
] | null | null | null | #include "darkroom/TrackedObjectDelegate.hpp"
void populateTableWidget(QTableWidget *tableWidget) {
static const struct {
const char *title;
const char *genre;
const char *artist;
int rating;
} staticData[] = {
{"Mass in B-Minor", "Baroque", "J.S. Bach", 5},... | 32.60804 | 95 | 0.615965 | Roboy |
61ea12f181da703f9a958d0571459a85fc2060df | 24,143 | cpp | C++ | demos/FPL_NBodySimulation/demo4.cpp | f1nalspace/final_game_tech | 33b63dc0664e16682d4298371f3166869c233b0f | [
"MIT"
] | 164 | 2017-08-02T11:23:02.000Z | 2022-03-26T10:03:33.000Z | demos/FPL_NBodySimulation/demo4.cpp | f1nalspace/final_game_tech | 33b63dc0664e16682d4298371f3166869c233b0f | [
"MIT"
] | 131 | 2017-11-13T17:53:49.000Z | 2022-02-18T06:02:51.000Z | demos/FPL_NBodySimulation/demo4.cpp | f1nalspace/final_game_tech | 33b63dc0664e16682d4298371f3166869c233b0f | [
"MIT"
] | 16 | 2017-11-14T08:10:37.000Z | 2022-02-28T01:03:33.000Z | #include "demo4.h"
#ifndef DEMO4_IMPLEMENTATION
#define DEMO4_IMPLEMENTATION
#include <chrono>
#include <algorithm>
#include <thread>
#include <mutex>
#include "render.h"
namespace Demo4 {
#if PARTICLE_VALIDATION
static void ValidateParticles(const ParticleData *particles, const ParticleIndex *cellIndices, const s... | 39.643678 | 183 | 0.730688 | f1nalspace |
61ec34856c9637b7d4e9293a8bbf3ca885e216e3 | 15,587 | cpp | C++ | shift/math/test/vector.cpp | cspanier/shift | 5b3b9be310155fbc57d165d06259b723a5728828 | [
"Apache-2.0"
] | 2 | 2018-11-28T18:14:08.000Z | 2020-08-06T07:44:36.000Z | shift/math/test/vector.cpp | cspanier/shift | 5b3b9be310155fbc57d165d06259b723a5728828 | [
"Apache-2.0"
] | 4 | 2018-11-06T21:01:05.000Z | 2019-02-19T07:52:52.000Z | shift/math/test/vector.cpp | cspanier/shift | 5b3b9be310155fbc57d165d06259b723a5728828 | [
"Apache-2.0"
] | null | null | null | #include <shift/math/vector.hpp>
//#include <shift/math/matrix.hpp>
//#include <shift/core/algorithm.hpp>
#include <shift/core/boost_disable_warnings.hpp>
#include <boost/test/unit_test.hpp>
#include <shift/core/boost_restore_warnings.hpp>
using namespace shift::math;
template <typename T>
using vector5 = vector<5, T... | 31.111776 | 80 | 0.675242 | cspanier |
61ec522c0e7c6d2e64c1a1a6b19461e2a3a1c665 | 3,543 | hpp | C++ | graphics/source/renderer/render_pass.hpp | HrvojeFER/irg-lab | 53f27430d39fa099dd605cfd632e38b55a392699 | [
"MIT"
] | null | null | null | graphics/source/renderer/render_pass.hpp | HrvojeFER/irg-lab | 53f27430d39fa099dd605cfd632e38b55a392699 | [
"MIT"
] | null | null | null | graphics/source/renderer/render_pass.hpp | HrvojeFER/irg-lab | 53f27430d39fa099dd605cfd632e38b55a392699 | [
"MIT"
] | null | null | null | #ifndef IRGLAB_RENDER_PASS_HPP
#define IRGLAB_RENDER_PASS_HPP
#include "../external/pch.hpp"
#include "../environment/device.hpp"
#include "swapchain.hpp"
namespace il
{
struct render_pass
{
explicit render_pass(const device& device, const swapchain& swapchain) :
inner_{ create... | 31.353982 | 85 | 0.47361 | HrvojeFER |
61ec76d1d83d66d067298ce5e631ce9bdc77ae60 | 4,030 | cpp | C++ | src/mbgl/renderer/painter_background.cpp | followtherider/mapbox-gl-native | 62b56b799a7d4fcd1a8f151eed878054b862da5b | [
"BSL-1.0",
"Apache-2.0"
] | null | null | null | src/mbgl/renderer/painter_background.cpp | followtherider/mapbox-gl-native | 62b56b799a7d4fcd1a8f151eed878054b862da5b | [
"BSL-1.0",
"Apache-2.0"
] | null | null | null | src/mbgl/renderer/painter_background.cpp | followtherider/mapbox-gl-native | 62b56b799a7d4fcd1a8f151eed878054b862da5b | [
"BSL-1.0",
"Apache-2.0"
] | null | null | null | #include <mbgl/renderer/painter.hpp>
#include <mbgl/renderer/paint_parameters.hpp>
#include <mbgl/gl/gl.hpp>
#include <mbgl/style/layers/background_layer.hpp>
#include <mbgl/style/layers/background_layer_impl.hpp>
#include <mbgl/shader/shaders.hpp>
#include <mbgl/sprite/sprite_atlas.hpp>
#include <mbgl/util/mat4.hpp>
... | 43.804348 | 124 | 0.701985 | followtherider |
61ecd281e46e5a97614d2a2c6b29d582663768ca | 781 | cpp | C++ | Leetcode Solution/Particular Patterns Question/Sliding Windows pattern/904. Fruit Into Baskets.cpp | bilwa496/Placement-Preparation | bd32ee717f671d95c17f524ed28b0179e0feb044 | [
"MIT"
] | 169 | 2021-05-30T10:02:19.000Z | 2022-03-27T18:09:32.000Z | Leetcode Solution/Particular Patterns Question/Sliding Windows pattern/904. Fruit Into Baskets.cpp | bilwa496/Placement-Preparation | bd32ee717f671d95c17f524ed28b0179e0feb044 | [
"MIT"
] | 1 | 2021-10-02T14:46:26.000Z | 2021-10-02T14:46:26.000Z | Leetcode Solution/Particular Patterns Question/Sliding Windows pattern/904. Fruit Into Baskets.cpp | bilwa496/Placement-Preparation | bd32ee717f671d95c17f524ed28b0179e0feb044 | [
"MIT"
] | 44 | 2021-05-30T19:56:29.000Z | 2022-03-17T14:49:00.000Z |
class Solution {
public:
int totalFruit(vector<int>& t) {
int n=t.size();
int j=0;
int ans=0;
int count=0;
unordered_map<int,int> mp;
for(int i=0;i<t.size();i++)
{
mp[t[i]]++;
... | 23.666667 | 51 | 0.215109 | bilwa496 |
61edebead0047f6b691c4e24ec8d108b257fb0c8 | 817 | cpp | C++ | Source/10.0.18362.0/ucrt/stdio/feoferr.cpp | 825126369/UCRT | 8853304fdc2a5c216658d08b6dbbe716aa2a7b1f | [
"MIT"
] | 2 | 2021-01-27T10:19:30.000Z | 2021-02-09T06:24:30.000Z | Source/10.0.18362.0/ucrt/stdio/feoferr.cpp | 825126369/UCRT | 8853304fdc2a5c216658d08b6dbbe716aa2a7b1f | [
"MIT"
] | null | null | null | Source/10.0.18362.0/ucrt/stdio/feoferr.cpp | 825126369/UCRT | 8853304fdc2a5c216658d08b6dbbe716aa2a7b1f | [
"MIT"
] | 1 | 2021-01-27T10:19:36.000Z | 2021-01-27T10:19:36.000Z | //
// feoferr.cpp
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// Defines feof() and ferror(), which test the end-of-file and error states of a
// stream, respectively.
//
#include <corecrt_internal_stdio.h>
// Tests the stream for the end-of-file condition. Returns nonzero if and only
/... | 27.233333 | 80 | 0.723378 | 825126369 |
61efce025bf18e66c4da44bcd763df45a4044791 | 28,881 | cc | C++ | mindspore/ccsrc/minddata/mindrecord/meta/shard_header.cc | zhz44/mindspore | 6044d34074c8505dd4b02c0a05419cbc32a43f86 | [
"Apache-2.0"
] | 1 | 2022-03-05T02:59:21.000Z | 2022-03-05T02:59:21.000Z | mindspore/ccsrc/minddata/mindrecord/meta/shard_header.cc | zhz44/mindspore | 6044d34074c8505dd4b02c0a05419cbc32a43f86 | [
"Apache-2.0"
] | null | null | null | mindspore/ccsrc/minddata/mindrecord/meta/shard_header.cc | zhz44/mindspore | 6044d34074c8505dd4b02c0a05419cbc32a43f86 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright 2019 Huawei Technologies Co., Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... | 41.917271 | 120 | 0.650739 | zhz44 |
61f44fe6d928e39b026252bcb9ee16e46ffa56dc | 2,376 | cc | C++ | src/base/WCSimStackingAction.cc | chipsneutrino/chips-sim | 19d3f2d75c674c06d2f27b9a344b70ca53e672c5 | [
"MIT"
] | null | null | null | src/base/WCSimStackingAction.cc | chipsneutrino/chips-sim | 19d3f2d75c674c06d2f27b9a344b70ca53e672c5 | [
"MIT"
] | null | null | null | src/base/WCSimStackingAction.cc | chipsneutrino/chips-sim | 19d3f2d75c674c06d2f27b9a344b70ca53e672c5 | [
"MIT"
] | null | null | null | #include "WCSimStackingAction.hh"
#include "WCSimDetectorConstruction.hh"
#include "G4Track.hh"
#include "G4TrackStatus.hh"
#include "G4VProcess.hh"
#include "G4VPhysicalVolume.hh"
#include "Randomize.hh"
#include "G4Navigator.hh"
#include "G4TransportationManager.hh"
#include "G4ParticleDefinition.hh"
#include "G4Par... | 28.626506 | 96 | 0.712963 | chipsneutrino |
61f5742cd088eaea2c5bf10cbd3f09b45feb2ca3 | 3,894 | cpp | C++ | PIXEL2D/Graphics/Window.cpp | Maxchii/PIXEL2D | ac1ce604e4f1b8448f14a4f92c69a2ff6d127f56 | [
"Apache-2.0"
] | 1 | 2015-05-18T15:20:19.000Z | 2015-05-18T15:20:19.000Z | PIXEL2D/Graphics/Window.cpp | Ossadtchii/PIXEL2D | ac1ce604e4f1b8448f14a4f92c69a2ff6d127f56 | [
"Apache-2.0"
] | 5 | 2015-05-18T15:21:28.000Z | 2015-06-28T12:43:52.000Z | PIXEL2D/Graphics/Window.cpp | Maxchii/PIXEL2D | ac1ce604e4f1b8448f14a4f92c69a2ff6d127f56 | [
"Apache-2.0"
] | null | null | null | #include "Window.h"
#include "..//Debugging/Debug.h"
namespace PIXL{ namespace graphics {
int Window::m_height;
int Window::m_width;
Window::Window(const std::string& windowHandle, int width, int height, UInt32 windowFlags /*= 0*/)
: m_windowHandle(windowHandle), m_windowFlags(windowFlags)
{
m_width = width... | 23.317365 | 105 | 0.701079 | Maxchii |
61f7ad52d0054fcabba85cbcf3ced4c65912c211 | 316 | cpp | C++ | books/tech/cpp/std-14/s_meyers-effective_modern_cpp/code/ch_04-smart_ptrs/item_18-use_unique_ptr_for_exclusive_ownership/case_1-base_using_of_unique_ptr/main.cpp | ordinary-developer/education | 1b1f40dacab873b28ee01dfa33a9bd3ec4cfed58 | [
"MIT"
] | null | null | null | books/tech/cpp/std-14/s_meyers-effective_modern_cpp/code/ch_04-smart_ptrs/item_18-use_unique_ptr_for_exclusive_ownership/case_1-base_using_of_unique_ptr/main.cpp | ordinary-developer/education | 1b1f40dacab873b28ee01dfa33a9bd3ec4cfed58 | [
"MIT"
] | null | null | null | books/tech/cpp/std-14/s_meyers-effective_modern_cpp/code/ch_04-smart_ptrs/item_18-use_unique_ptr_for_exclusive_ownership/case_1-base_using_of_unique_ptr/main.cpp | ordinary-developer/education | 1b1f40dacab873b28ee01dfa33a9bd3ec4cfed58 | [
"MIT"
] | null | null | null | #include <memory>
class Investment { };
class Stock : public Investment { };
class Bond : public Investment { };
class RealEstate : public Investment { };
template<typename... Ts>
std::unique_ptr<Investment> makeInvestment(Ts&&... params)
{
return std::make_unique<Stock>();
}
int main() {
return 0;
}
| 15.8 | 58 | 0.670886 | ordinary-developer |
61fad223167c48716cb174bd73e32873916dbe2c | 803 | cpp | C++ | src/system/event_loop.cpp | thknepper/CPPurses | 4f35ba5284bc5ac563214f73f494bd75fd5bf73b | [
"MIT"
] | 1 | 2020-02-22T21:18:11.000Z | 2020-02-22T21:18:11.000Z | src/system/event_loop.cpp | thknepper/CPPurses | 4f35ba5284bc5ac563214f73f494bd75fd5bf73b | [
"MIT"
] | null | null | null | src/system/event_loop.cpp | thknepper/CPPurses | 4f35ba5284bc5ac563214f73f494bd75fd5bf73b | [
"MIT"
] | null | null | null | #include <cppurses/system/event_loop.hpp>
#include <cppurses/system/detail/event_engine.hpp>
#include <cppurses/system/system.hpp>
namespace cppurses {
auto Event_loop::run() -> int
{
if (running_)
return -1;
running_ = true;
auto notify = true;
while (not exit_) {
if (notify)
... | 22.942857 | 69 | 0.625156 | thknepper |
61fb992b7a4185ed766aa4faeeec0127fc7c4495 | 1,954 | cc | C++ | tests/libport/xltdl.cc | jcbaillie/libport | b8192b177ae0ae63979c17ea7685a8617b03e11f | [
"BSD-3-Clause"
] | 3 | 2015-05-29T09:35:32.000Z | 2021-02-23T07:45:01.000Z | tests/libport/xltdl.cc | jcbaillie/libport | b8192b177ae0ae63979c17ea7685a8617b03e11f | [
"BSD-3-Clause"
] | 2 | 2019-01-31T10:23:47.000Z | 2019-01-31T10:35:06.000Z | tests/libport/xltdl.cc | jcbaillie/libport | b8192b177ae0ae63979c17ea7685a8617b03e11f | [
"BSD-3-Clause"
] | 7 | 2015-01-29T20:49:06.000Z | 2019-04-24T04:06:22.000Z | /*
* Copyright (C) 2009-2011, Gostai S.A.S.
*
* This software is provided "as is" without warranty of any kind,
* either expressed or implied, including but not limited to the
* implied warranties of fitness for a particular purpose.
*
* See the LICENSE file for more information.
*/
#include <libport/config.h>... | 26.767123 | 79 | 0.66479 | jcbaillie |
61fc93dd7531c03aef7a64a043afd04eba1c3172 | 10,816 | cpp | C++ | third_party/assimp-5.0.1/test/unit/utValidateDataStructure.cpp | hporro/grafica_cpp | 1427bb6e8926b44be474b906e9f52cca77b3df9d | [
"MIT"
] | 158 | 2016-11-17T19:37:51.000Z | 2022-03-21T19:57:55.000Z | third_party/assimp-5.0.1/test/unit/utValidateDataStructure.cpp | hporro/grafica_cpp | 1427bb6e8926b44be474b906e9f52cca77b3df9d | [
"MIT"
] | 94 | 2016-11-18T09:55:57.000Z | 2021-01-14T08:50:40.000Z | third_party/assimp-5.0.1/test/unit/utValidateDataStructure.cpp | hporro/grafica_cpp | 1427bb6e8926b44be474b906e9f52cca77b3df9d | [
"MIT"
] | 51 | 2017-05-24T10:20:25.000Z | 2022-03-17T15:07:02.000Z | /*
---------------------------------------------------------------------------
Open Asset Import Library (assimp)
---------------------------------------------------------------------------
Copyright (c) 2006-2019, assimp team
All rights reserved.
Redistribution and use of this software in source and binary forms,... | 54.08 | 116 | 0.699982 | hporro |
61fe5f5c9bc1226585c059e0b70c08a311a9cc09 | 4,358 | inl | C++ | tools/decode/pycdc/bytecode_ops.inl | Arab-developers/PSHMode | 82fa0e05b2b2e0a4466c3eb322c6207976a4c77f | [
"MIT"
] | 27 | 2021-12-05T20:56:57.000Z | 2022-03-14T21:51:46.000Z | tools/decode/pycdc/bytecode_ops.inl | Arab-developers/PSHMode | 82fa0e05b2b2e0a4466c3eb322c6207976a4c77f | [
"MIT"
] | 1 | 2021-12-21T13:47:28.000Z | 2021-12-21T13:47:28.000Z | tools/decode/pycdc/bytecode_ops.inl | Arab-developers/PSHMode | 82fa0e05b2b2e0a4466c3eb322c6207976a4c77f | [
"MIT"
] | 5 | 2021-12-14T15:27:07.000Z | 2022-02-05T19:31:52.000Z | /* No parameter word */
OPCODE(STOP_CODE)
OPCODE(POP_TOP)
OPCODE(ROT_TWO)
OPCODE(ROT_THREE)
OPCODE(DUP_TOP)
OPCODE(DUP_TOP_TWO)
OPCODE(UNARY_POSITIVE)
OPCODE(UNARY_NEGATIVE)
OPCODE(UNARY_NOT)
OPCODE(UNARY_CONVERT)
OPCODE(UNARY_CALL)
OPCODE(UNARY_INVERT)
OPCODE(BINARY_POWER)
OPCODE(BINARY_MULTIPLY)
OPCODE(BINARY_DIVIDE)... | 22.121827 | 38 | 0.862781 | Arab-developers |
61ff36983a44a7e0268c7af911b3247335cb05b7 | 3,141 | cpp | C++ | clang/test/Sema/attr-loader-uninitialized.cpp | mkinsner/llvm | 589d48844edb12cd357b3024248b93d64b6760bf | [
"Apache-2.0"
] | 2,338 | 2018-06-19T17:34:51.000Z | 2022-03-31T11:00:37.000Z | clang/test/Sema/attr-loader-uninitialized.cpp | mkinsner/llvm | 589d48844edb12cd357b3024248b93d64b6760bf | [
"Apache-2.0"
] | 3,740 | 2019-01-23T15:36:48.000Z | 2022-03-31T22:01:13.000Z | clang/test/Sema/attr-loader-uninitialized.cpp | mkinsner/llvm | 589d48844edb12cd357b3024248b93d64b6760bf | [
"Apache-2.0"
] | 500 | 2019-01-23T07:49:22.000Z | 2022-03-30T02:59:37.000Z | // RUN: %clang_cc1 %s -verify -fsyntax-only
int good __attribute__((loader_uninitialized));
static int local_ok __attribute__((loader_uninitialized));
int hidden_ok __attribute__((visibility("hidden"))) __attribute__((loader_uninitialized));
const int still_cant_be_const __attribute__((loader_uninitialized));
extern ... | 43.027397 | 143 | 0.788602 | mkinsner |
11008a5e4944792ae446f0454a7a8c93b52d0698 | 915 | hpp | C++ | src/compiler/syntax/grammar/errors.hpp | mbeckem/tiro | b3d729fce46243f25119767c412c6db234c2d938 | [
"MIT"
] | 10 | 2020-01-23T20:41:19.000Z | 2021-12-28T20:24:44.000Z | src/compiler/syntax/grammar/errors.hpp | mbeckem/tiro | b3d729fce46243f25119767c412c6db234c2d938 | [
"MIT"
] | 22 | 2021-03-25T16:22:08.000Z | 2022-03-17T12:50:38.000Z | src/compiler/syntax/grammar/errors.hpp | mbeckem/tiro | b3d729fce46243f25119767c412c6db234c2d938 | [
"MIT"
] | null | null | null | #ifndef TIRO_COMPILER_SYNTAX_GRAMMAR_ERRORS_HPP
#define TIRO_COMPILER_SYNTAX_GRAMMAR_ERRORS_HPP
#include "compiler/syntax/fwd.hpp"
namespace tiro {
extern const TokenSet NESTING_START;
extern const TokenSet NESTING_END;
/// Discard the entire content of a block delimited by { ... } or "".
/// Nested blocks will be ... | 32.678571 | 106 | 0.754098 | mbeckem |
1100a400b314af4bb9223441827d9deb33da4d06 | 4,495 | cpp | C++ | src/protocols/bdx/TransferFacilitator.cpp | lzgrablic02/connectedhomeip | 1581c6d9e22b07a9233392a183f5cacae50378ac | [
"Apache-2.0"
] | 4 | 2020-09-11T04:32:44.000Z | 2022-03-11T09:06:07.000Z | src/protocols/bdx/TransferFacilitator.cpp | kvikrambhat/connectedhomeip | 56f738f0725f6b4a425806293f35f6d51fe8eb52 | [
"Apache-2.0"
] | null | null | null | src/protocols/bdx/TransferFacilitator.cpp | kvikrambhat/connectedhomeip | 56f738f0725f6b4a425806293f35f6d51fe8eb52 | [
"Apache-2.0"
] | null | null | null | /*
*
* Copyright (c) 2021 Project CHIP 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 requir... | 37.773109 | 132 | 0.729032 | lzgrablic02 |
1101986808b09debe5addb9e69e4028b85bf490d | 3,191 | cpp | C++ | src/Communication/Server.cpp | einerfreiheit/RemoteRunnerd | 424a2f78c4cb6afb6c089f5dff885dac50decd27 | [
"MIT"
] | null | null | null | src/Communication/Server.cpp | einerfreiheit/RemoteRunnerd | 424a2f78c4cb6afb6c089f5dff885dac50decd27 | [
"MIT"
] | 4 | 2021-03-29T08:03:18.000Z | 2021-06-20T13:06:38.000Z | src/Communication/Server.cpp | einerfreiheit/RemoteRunnerd | 424a2f78c4cb6afb6c089f5dff885dac50decd27 | [
"MIT"
] | 1 | 2020-06-03T08:44:35.000Z | 2020-06-03T08:44:35.000Z | #include "Configuration.hpp"
#include "Permissions.hpp"
#include "Server.hpp"
#include "Session.hpp"
#include "Endpoint/EndpointFactory.hpp"
#include "Endpoint/IEndpoint.hpp"
#include "Task/RemoteTask.hpp"
#include "Task/TaskRunner.hpp"
#include "Utils/TextProcessing.hpp"
#include "Utils/Utils.hpp"
#include <csignal>... | 28.491071 | 97 | 0.6089 | einerfreiheit |
1104f78b37c525c52c70c4a4a9e2aa677fc61891 | 7,883 | cpp | C++ | src/queries.cpp | jermp/rdf_indexes | 927139cad57c28eb8cbdbea5591e556e19abc8d5 | [
"MIT"
] | 6 | 2019-10-20T02:44:10.000Z | 2021-12-22T11:57:26.000Z | src/queries.cpp | jermp/rdf_indexes | 927139cad57c28eb8cbdbea5591e556e19abc8d5 | [
"MIT"
] | 2 | 2020-03-09T12:05:56.000Z | 2021-06-27T21:48:38.000Z | src/queries.cpp | jermp/rdf_indexes | 927139cad57c28eb8cbdbea5591e556e19abc8d5 | [
"MIT"
] | 2 | 2020-07-21T16:59:42.000Z | 2021-06-27T23:35:20.000Z | #include <iostream>
#include "../external/essentials/include/essentials.hpp"
#include "types.hpp"
#include "util.hpp"
#include "util_types.hpp"
using namespace rdf;
uint32_t num_runs(uint32_t runs, uint32_t n) {
static const uint32_t N = 10000;
uint32_t r = 1;
if (n * runs < N) {
r = N / n;
}... | 34.574561 | 80 | 0.468476 | jermp |
110587fe8570f334b63bc153f3a9d1493623a89b | 2,209 | cpp | C++ | src/backend/gporca/libnaucrates/src/operators/CDXLDatum.cpp | Tylarb/gpdb | 15e1341cfbac7f70d2086a9a1d46149a82765b5e | [
"PostgreSQL",
"Apache-2.0"
] | 1 | 2020-03-27T07:44:24.000Z | 2020-03-27T07:44:24.000Z | src/backend/gporca/libnaucrates/src/operators/CDXLDatum.cpp | Tylarb/gpdb | 15e1341cfbac7f70d2086a9a1d46149a82765b5e | [
"PostgreSQL",
"Apache-2.0"
] | 6 | 2020-06-24T18:56:06.000Z | 2022-02-26T08:53:11.000Z | src/backend/gporca/libnaucrates/src/operators/CDXLDatum.cpp | Tylarb/gpdb | 15e1341cfbac7f70d2086a9a1d46149a82765b5e | [
"PostgreSQL",
"Apache-2.0"
] | 1 | 2021-09-17T15:46:31.000Z | 2021-09-17T15:46:31.000Z | //---------------------------------------------------------------------------
// Greenplum Database
// Copyright (C) 2012 EMC Corp.
//
// @filename:
// CDXLDatum.cpp
//
// @doc:
// Implementation of DXL datum with type information
//
// @owner:
//
//
// @test:
//
//-----------------------------------------------... | 21.038095 | 98 | 0.455862 | Tylarb |
1105a6d8cf76e7922477ee2ddd5bf9204cb8311e | 334 | cc | C++ | Tests/Test.cc | loanselot1/IceSDK | 3d8e554ac6ca56a890b74b5f4cc1901f073e3f64 | [
"MIT"
] | 12 | 2020-10-16T06:23:10.000Z | 2021-10-10T07:33:44.000Z | Tests/Test.cc | loanselot1/IceSDK | 3d8e554ac6ca56a890b74b5f4cc1901f073e3f64 | [
"MIT"
] | 6 | 2020-10-11T16:04:29.000Z | 2021-05-09T11:03:08.000Z | Tests/Test.cc | loanselot1/IceSDK | 3d8e554ac6ca56a890b74b5f4cc1901f073e3f64 | [
"MIT"
] | 5 | 2020-10-10T19:45:20.000Z | 2021-03-02T11:36:19.000Z | // used for unit tests
#include "Utils/Memory.h"
#include "GameBase.h"
static IceSDK::Memory::Ptr<IceSDK::GameBase> g_GameBase;
class TestGame : public IceSDK::GameBase
{
};
IceSDK::Memory::Ptr<IceSDK::GameBase> GetGameBase()
{
if (g_GameBase == nullptr) g_GameBase = std::make_shared<TestGame>();
return ... | 16.7 | 73 | 0.706587 | loanselot1 |
1105be8cbff124728af7ec3394cc04f0aea14a90 | 1,001 | hpp | C++ | source code/TexRect.hpp | JackyC415/OpenGL-2D | b61b6f8049ecfc11aff6b67a744bda325b898daa | [
"BSD-2-Clause"
] | null | null | null | source code/TexRect.hpp | JackyC415/OpenGL-2D | b61b6f8049ecfc11aff6b67a744bda325b898daa | [
"BSD-2-Clause"
] | null | null | null | source code/TexRect.hpp | JackyC415/OpenGL-2D | b61b6f8049ecfc11aff6b67a744bda325b898daa | [
"BSD-2-Clause"
] | null | null | null | //
// TexRect.hpp
// glutapp
//
// Created by Angelo Kyrilov on 4/11/17.
// Copyright © 2017 Angelo Kyrilov. All rights reserved.
//
#ifndef TexRect_hpp
#define TexRect_hpp
#if defined WIN32
#include <freeglut.h>
#elif defined __APPLE__
#include <GLUT/glut.h>
#else
#include <GL/freeglut.h>
#endif
class TexRect {... | 18.886792 | 68 | 0.563437 | JackyC415 |
110856dd3d2c7d8dbf00191d93b74597c3a354c9 | 4,852 | cpp | C++ | 3rd/byzauth/libbpka/messagecachedebug.cpp | ShoufuLuo/csaw | 0d030d5ab93e61b62dff10b27a15c83fcfce3ff3 | [
"Apache-2.0"
] | null | null | null | 3rd/byzauth/libbpka/messagecachedebug.cpp | ShoufuLuo/csaw | 0d030d5ab93e61b62dff10b27a15c83fcfce3ff3 | [
"Apache-2.0"
] | null | null | null | 3rd/byzauth/libbpka/messagecachedebug.cpp | ShoufuLuo/csaw | 0d030d5ab93e61b62dff10b27a15c83fcfce3ff3 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2007, Rutgers, The State University of New Jersey.
* 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
... | 26.659341 | 125 | 0.673743 | ShoufuLuo |
110a9890189d2b7d71ed48bc5d2e3b68b7f82248 | 8,267 | hpp | C++ | eagleeye/engine/nano/dataflow/graph.hpp | nihui/eagleeye | eeb69204b7322e79904a4406b44d61a1a30a5c9a | [
"Apache-2.0"
] | 4 | 2020-06-19T06:46:01.000Z | 2021-05-14T08:10:42.000Z | eagleeye/engine/nano/dataflow/graph.hpp | nihui/eagleeye | eeb69204b7322e79904a4406b44d61a1a30a5c9a | [
"Apache-2.0"
] | null | null | null | eagleeye/engine/nano/dataflow/graph.hpp | nihui/eagleeye | eeb69204b7322e79904a4406b44d61a1a30a5c9a | [
"Apache-2.0"
] | null | null | null | #ifndef _EAGLEEYE_GRAPH_H_
#define _EAGLEEYE_GRAPH_H_
#include "eagleeye/common/EagleeyeMacro.h"
#include "eagleeye/engine/nano/dataflow/edge.hpp"
#include "eagleeye/engine/nano/dataflow/node.hpp"
#include "eagleeye/engine/nano/dataflow/node_impl.hpp"
#include "eagleeye/engine/nano/dataflow/queue.hpp"
#include "eagleey... | 23.755747 | 176 | 0.541067 | nihui |
110df058e0c01eb9aa8d8bb773e5b098d0521c78 | 2,216 | cpp | C++ | particles-simulator/src/Game/StateManager.cpp | bartos97/particles-simulator | dc2fc18fbc047803b3c17d7cc7bf9dbc99b00a2b | [
"WTFPL"
] | null | null | null | particles-simulator/src/Game/StateManager.cpp | bartos97/particles-simulator | dc2fc18fbc047803b3c17d7cc7bf9dbc99b00a2b | [
"WTFPL"
] | null | null | null | particles-simulator/src/Game/StateManager.cpp | bartos97/particles-simulator | dc2fc18fbc047803b3c17d7cc7bf9dbc99b00a2b | [
"WTFPL"
] | null | null | null | #include "pch.h"
#include "StateManager.h"
#include <fstream>
#include <algorithm>
StateManager& StateManager::getInstance()
{
static StateManager instance;
return instance;
}
bool StateManager::loadFromFile(const std::string& filePath)
{
std::ifstream fileStream(filePath, std::ios::in);
if (!fileStr... | 23.326316 | 78 | 0.614621 | bartos97 |
110e1d9bcf7652badcf4fa23a78e2b56a8448a12 | 143 | cpp | C++ | Source/Common/Service/Private/_UnityBuild_Service.cpp | RChehowski/ExcessiveJet | bbb504aa9d56045c6047f50424511459307bd13a | [
"MIT"
] | 2 | 2021-02-17T07:48:02.000Z | 2022-01-09T19:53:54.000Z | Source/Common/Service/Private/_UnityBuild_Service.cpp | RChehowski/ExcessiveJet | bbb504aa9d56045c6047f50424511459307bd13a | [
"MIT"
] | null | null | null | Source/Common/Service/Private/_UnityBuild_Service.cpp | RChehowski/ExcessiveJet | bbb504aa9d56045c6047f50424511459307bd13a | [
"MIT"
] | null | null | null | //
// Created by ASUS on 05/04/2021.
//
#include "Common/Service/Private/LocalVariables.cpp"
#include "Common/Service/Private/ThreadStack.cpp" | 23.833333 | 52 | 0.755245 | RChehowski |
11155a782e859920e824308e53b081bf510634ac | 1,385 | cpp | C++ | codeforces/B - Trouble Sort/Wrong answer on pretest 2.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | 1 | 2022-02-11T16:55:36.000Z | 2022-02-11T16:55:36.000Z | codeforces/B - Trouble Sort/Wrong answer on pretest 2.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | codeforces/B - Trouble Sort/Wrong answer on pretest 2.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | /****************************************************************************************
* @author: * kzvd4729 created: Jun/07/2020 20:55
* solution_verdict: Wrong answer on pretest 2 language: GNU C++14
* run... | 28.854167 | 111 | 0.467148 | kzvd4729 |
1115843179e5bf72d01674ae14c979cfed6a3eba | 3,133 | hpp | C++ | c++/src/objtools/data_loaders/blastdb/local_blastdb_adapter.hpp | OpenHero/gblastn | a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8 | [
"MIT"
] | 31 | 2016-12-09T04:56:59.000Z | 2021-12-31T17:19:10.000Z | c++/src/objtools/data_loaders/blastdb/local_blastdb_adapter.hpp | OpenHero/gblastn | a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8 | [
"MIT"
] | 6 | 2017-03-10T17:25:13.000Z | 2021-09-22T15:49:49.000Z | c++/src/objtools/data_loaders/blastdb/local_blastdb_adapter.hpp | OpenHero/gblastn | a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8 | [
"MIT"
] | 20 | 2015-01-04T02:15:17.000Z | 2021-12-03T02:31:43.000Z | #ifndef OBJTOOLS_DATA_LOADERS_BLASTDB___LOCAL_BLASTDB_ADAPTER__HPP
#define OBJTOOLS_DATA_LOADERS_BLASTDB___LOCAL_BLASTDB_ADAPTER__HPP
/* $Id: local_blastdb_adapter.hpp 368048 2012-07-02 13:25:25Z camacho $
* ===========================================================================
*
* ... | 37.746988 | 79 | 0.67571 | OpenHero |
1116239ad2c07a8a892ca1357b36c80fbb0e33ef | 529 | cpp | C++ | src/BoundsCalculatorForBSPBase.cpp | georgedeath/TAsK | 14c4abb3b3f9918accd59e9987e9403bd8a0470c | [
"MIT"
] | 28 | 2015-03-05T04:12:58.000Z | 2021-12-16T22:24:41.000Z | src/BoundsCalculatorForBSPBase.cpp | joshchea/TAsK | d66d0c7561e30b45308aabcf08f584326779f4ae | [
"MIT"
] | 2 | 2017-02-07T15:37:37.000Z | 2020-06-26T14:06:00.000Z | src/BoundsCalculatorForBSPBase.cpp | joshchea/TAsK | d66d0c7561e30b45308aabcf08f584326779f4ae | [
"MIT"
] | 15 | 2015-07-09T11:53:16.000Z | 2022-02-22T04:01:19.000Z | #include "BoundsCalculatorForBSPBase.h"
BoundsCalculatorForBSPBase::BoundsCalculatorForBSPBase() {
};
BoundsCalculatorForBSPBase::~BoundsCalculatorForBSPBase(){
};
void BoundsCalculatorForBSPBase::updateTimeBounds(int destNodeIndex, int odPairIndex) {
};
TollType BoundsCalculatorForBSPBase::getTollLowerBound(int... | 21.16 | 90 | 0.812854 | georgedeath |
11168d5115c00d706ede9f65643830012db2d57e | 545 | cpp | C++ | src/Lethe/Script/Ast/Types/AstVarDeclList.cpp | killvxk/lethe | c1a9bb45063f5148dc6cf681ce907dcbb468f5e6 | [
"BSL-1.0"
] | null | null | null | src/Lethe/Script/Ast/Types/AstVarDeclList.cpp | killvxk/lethe | c1a9bb45063f5148dc6cf681ce907dcbb468f5e6 | [
"BSL-1.0"
] | null | null | null | src/Lethe/Script/Ast/Types/AstVarDeclList.cpp | killvxk/lethe | c1a9bb45063f5148dc6cf681ce907dcbb468f5e6 | [
"BSL-1.0"
] | 1 | 2020-03-16T21:27:50.000Z | 2020-03-16T21:27:50.000Z | #include "AstVarDeclList.h"
#include "../AstText.h"
#include "../AstSymbol.h"
#include <Lethe/Script/Program/CompiledProgram.h>
namespace lethe
{
LETHE_BUCKET_ALLOC_DEF(AstVarDeclList)
// AstVarDeclList
void AstVarDeclList::LoadIfVarDecl(CompiledProgram &p)
{
if (nodes.GetSize() < 2 || !nodes[1])
return;
// pr... | 19.464286 | 66 | 0.715596 | killvxk |
111b718913e890c11f93d12c25696cfc174db700 | 1,025 | cpp | C++ | src/sys/eventtypestore.cpp | ajdnik/work-schedule | b42613aa62d991649d46defb4722690ffdbe6b7b | [
"MIT"
] | null | null | null | src/sys/eventtypestore.cpp | ajdnik/work-schedule | b42613aa62d991649d46defb4722690ffdbe6b7b | [
"MIT"
] | null | null | null | src/sys/eventtypestore.cpp | ajdnik/work-schedule | b42613aa62d991649d46defb4722690ffdbe6b7b | [
"MIT"
] | null | null | null | #include "eventtypestore.h"
#include <QVariant>
EventTypeStore::EventTypeStore(DatabaseManager *manager, Error *error, QObject *parent)
: Store<EventType>(manager, error, parent)
{
this->addRole("id");
this->addRole("name");
this->add(EventType(1, QObject::tr("Vacation")), 1);
this->add(EventType(... | 29.285714 | 87 | 0.628293 | ajdnik |
111bbaabad015cadda72cecc2b22738403920e76 | 1,533 | cpp | C++ | 1. Implementation of Stack using array.cpp | student-entrepreneur/DATA-STRUCTURE | 83c2306c4e744f9a579102679439ec419fa4ff6f | [
"Apache-2.0"
] | null | null | null | 1. Implementation of Stack using array.cpp | student-entrepreneur/DATA-STRUCTURE | 83c2306c4e744f9a579102679439ec419fa4ff6f | [
"Apache-2.0"
] | null | null | null | 1. Implementation of Stack using array.cpp | student-entrepreneur/DATA-STRUCTURE | 83c2306c4e744f9a579102679439ec419fa4ff6f | [
"Apache-2.0"
] | null | null | null | #include<iostream>
#include<conio.h>
#include<stdlib.h>
int max,i,n,x;
int top=-1;
class stack
{
int s[500];
public:
void push();
void pop();
void display();
void topele();
};
void stack::push()
{
int x;
if(top==(max-1))
std::cout<<"Stack is full";
else
{
std::cout<<"enter data:";
std::cin>>x;
to... | 14.883495 | 71 | 0.529028 | student-entrepreneur |
111bf00473c2d910251ff022a6c6ae939cdab6c5 | 19,098 | cpp | C++ | colcon_ws/src/sbg_ros2/src/message_publisher.cpp | CASE-Lab/MARV-ROS | d06391458ee0dc7cf3fa11e590f9c5d9d647ef55 | [
"MIT"
] | 1 | 2021-09-26T16:01:42.000Z | 2021-09-26T16:01:42.000Z | colcon_ws/src/sbg_ros2/src/message_publisher.cpp | CASE-Lab/MARV-ROS | d06391458ee0dc7cf3fa11e590f9c5d9d647ef55 | [
"MIT"
] | null | null | null | colcon_ws/src/sbg_ros2/src/message_publisher.cpp | CASE-Lab/MARV-ROS | d06391458ee0dc7cf3fa11e590f9c5d9d647ef55 | [
"MIT"
] | null | null | null | #include "message_publisher.h"
using sbg::MessagePublisher;
/*!
* Class to publish all SBG-ROS messages to the corresponding publishers.
*/
//---------------------------------------------------------------------//
//- Constructor -//
//-------------------------... | 28.168142 | 175 | 0.71086 | CASE-Lab |
111c6ae677b7e3cab9b0048ba63d6e58a73c0631 | 3,643 | cxx | C++ | main/jvmfwk/plugins/sunmajor/pluginlib/otherjre.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 679 | 2015-01-06T06:34:58.000Z | 2022-03-30T01:06:03.000Z | main/jvmfwk/plugins/sunmajor/pluginlib/otherjre.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 102 | 2017-11-07T08:51:31.000Z | 2022-03-17T12:13:49.000Z | main/jvmfwk/plugins/sunmajor/pluginlib/otherjre.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 331 | 2015-01-06T11:40:55.000Z | 2022-03-14T04:07:51.000Z | /**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to y... | 28.24031 | 80 | 0.617074 | Grosskopf |
11265e0e76c8c12a640fb76f3e81d09d733beff5 | 7,536 | cpp | C++ | external/activemq-cpp-library-3.4.1/src/main/activemq/commands/ConsumerId.cpp | framos-gemini/giapi-glue-cc | f59e1ce572494b57aad6985f3233f0e51167bb42 | [
"BSD-3-Clause"
] | null | null | null | external/activemq-cpp-library-3.4.1/src/main/activemq/commands/ConsumerId.cpp | framos-gemini/giapi-glue-cc | f59e1ce572494b57aad6985f3233f0e51167bb42 | [
"BSD-3-Clause"
] | 3 | 2017-06-14T15:21:50.000Z | 2020-08-03T19:51:57.000Z | external/activemq-cpp-library-3.4.1/src/main/activemq/commands/ConsumerId.cpp | framos-gemini/giapi-glue-cc | f59e1ce572494b57aad6985f3233f0e51167bb42 | [
"BSD-3-Clause"
] | 3 | 2017-06-13T13:59:36.000Z | 2021-02-09T02:01: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 the Apache License, Version 2.0
* (the "License"); you may ... | 31.663866 | 103 | 0.512208 | framos-gemini |
11298d4d7a09ae7bd4362239b2a5195780d29534 | 13,763 | cc | C++ | ash/assistant/ui/main_stage/animated_container_view.cc | DamieFC/chromium | 54ce2d3c77723697efd22cfdb02aea38f9dfa25c | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2020-10-18T02:33:40.000Z | 2020-10-18T02:33:40.000Z | ash/assistant/ui/main_stage/animated_container_view.cc | DamieFC/chromium | 54ce2d3c77723697efd22cfdb02aea38f9dfa25c | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 3 | 2021-05-17T16:28:52.000Z | 2021-05-21T22:42:22.000Z | ash/assistant/ui/main_stage/animated_container_view.cc | DamieFC/chromium | 54ce2d3c77723697efd22cfdb02aea38f9dfa25c | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ash/assistant/ui/main_stage/animated_container_view.h"
#include <utility>
#include "ash/assistant/model/assistant_interaction_model.h"
#includ... | 36.701333 | 81 | 0.751508 | DamieFC |
112a531aa8cca13a371cdde63122f451b8b67d75 | 2,417 | hpp | C++ | nexxT/src/Logger.hpp | pfrydlewicz/nexxT | 33616dbeee448c59201aa3009d637fe6b8d2b39c | [
"Apache-2.0"
] | 5 | 2020-05-03T10:52:14.000Z | 2022-03-02T10:32:33.000Z | nexxT/src/Logger.hpp | pfrydlewicz/nexxT | 33616dbeee448c59201aa3009d637fe6b8d2b39c | [
"Apache-2.0"
] | 32 | 2020-05-18T15:49:00.000Z | 2022-02-22T20:10:56.000Z | nexxT/src/Logger.hpp | pfrydlewicz/nexxT | 33616dbeee448c59201aa3009d637fe6b8d2b39c | [
"Apache-2.0"
] | 2 | 2020-03-21T15:04:46.000Z | 2021-03-01T15:42:49.000Z | /*
* SPDX-License-Identifier: Apache-2.0
* Copyright (C) 2020 ifm electronic gmbh
*
* THE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND.
*/
/**
\file Logger.hpp
Macros for logging from the C++ world.
*/
#ifndef NEXXT_LOGGER_HPP
#define NEXXT_LOGGER_HPP
#include "Services.hpp"
#include "Nexx... | 27.157303 | 114 | 0.719901 | pfrydlewicz |
112e731e487fd8f0581def8bc6b9893fe61ba2d9 | 4,308 | cpp | C++ | Engine/EditorUI/Panel/InspectorSubpanel/PanelTrail.cpp | mariofv/LittleEngine | 38ecfdf6041a24f304c679ee3b6b589ba2040e48 | [
"MIT"
] | 9 | 2020-04-05T07:44:38.000Z | 2022-01-12T02:07:14.000Z | Engine/EditorUI/Panel/InspectorSubpanel/PanelTrail.cpp | mariofv/LittleEngine | 38ecfdf6041a24f304c679ee3b6b589ba2040e48 | [
"MIT"
] | 105 | 2020-03-13T19:12:23.000Z | 2020-12-02T23:41:15.000Z | Engine/EditorUI/Panel/InspectorSubpanel/PanelTrail.cpp | mariofv/LittleEngine | 38ecfdf6041a24f304c679ee3b6b589ba2040e48 | [
"MIT"
] | 1 | 2021-04-24T16:11:49.000Z | 2021-04-24T16:11:49.000Z | #include "PanelTrail.h"
#include "Component/ComponentTrail.h"
#include "EditorUI/Helper/ImGuiHelper.h"
#include "EditorUI/Panel/PanelPopups.h"
#include "EditorUI/Panel/PopupsPanel/PanelPopupResourceSelector.h"
#include "Module/ModuleActions.h"
#include "Module/ModuleEditor.h"
#include <imgui.h>
#include <imgui_intern... | 33.138462 | 116 | 0.690808 | mariofv |
11305c66f6fdd038f77707c862afa790dc69328d | 513 | cc | C++ | src/FileType.cc | netromdk/dispar | 26e513f9e5e6144d9ecb3ebeb1def29c577431fa | [
"MIT"
] | 20 | 2017-11-10T01:45:54.000Z | 2021-11-08T11:26:33.000Z | src/FileType.cc | netromdk/dispar | 26e513f9e5e6144d9ecb3ebeb1def29c577431fa | [
"MIT"
] | 30 | 2017-11-09T21:13:40.000Z | 2021-11-20T17:26:33.000Z | src/FileType.cc | netromdk/dispar | 26e513f9e5e6144d9ecb3ebeb1def29c577431fa | [
"MIT"
] | 6 | 2017-11-10T02:15:16.000Z | 2022-01-15T08:43:42.000Z | #include "FileType.h"
namespace dispar {
QString fileTypeName(FileType type)
{
switch (type) {
case FileType::OBJECT:
return "Object";
case FileType::EXECUTE:
return "Executable";
case FileType::CORE:
return "Core";
case FileType::PRELOAD:
return "Preloaded Program";
case FileType::DYL... | 14.657143 | 35 | 0.651072 | netromdk |
113069a09eb0e96a1e8096a63938d77c99437678 | 6,755 | cpp | C++ | clangd/AST.cpp | jrose-apple/swift-clang-tools-extra | 1e165857dc4f2cfd77970c42fbc345a474992a39 | [
"Apache-2.0"
] | 16 | 2018-11-28T12:05:20.000Z | 2021-11-08T09:47:46.000Z | clangd/AST.cpp | jrose-apple/swift-clang-tools-extra | 1e165857dc4f2cfd77970c42fbc345a474992a39 | [
"Apache-2.0"
] | 4 | 2018-11-30T19:12:21.000Z | 2019-10-04T17:37:07.000Z | clangd/AST.cpp | dragon-tc-tmp/clang-tools-extra | e16e704b6f7d4185e55942883506c1bb9280cd2d | [
"Apache-2.0"
] | 15 | 2019-02-01T20:10:43.000Z | 2022-03-26T11:52:37.000Z | //===--- AST.cpp - Utility AST functions -----------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | 38.821839 | 80 | 0.68601 | jrose-apple |
1131ff83bca141bc0c0067fe3aa3378543c32b90 | 1,477 | cpp | C++ | ntuj/091125/4547.cpp | dk00/old-stuff | e1184684c85fe9bbd1ceba58b94d4da84c67784e | [
"Unlicense"
] | null | null | null | ntuj/091125/4547.cpp | dk00/old-stuff | e1184684c85fe9bbd1ceba58b94d4da84c67784e | [
"Unlicense"
] | null | null | null | ntuj/091125/4547.cpp | dk00/old-stuff | e1184684c85fe9bbd1ceba58b94d4da84c67784e | [
"Unlicense"
] | null | null | null | #include<cstdio>
#include<cstring>
const int N=20001,L=2010,inf=2000000000;
int n,len[L],c[N],s[2][N];
char p0[N],tmp[L],*p[L];
inline bool eq(char a[],char b[])
{
for(int i=0;b[i];i++)
if(b[i]!='?' && a[i]!=b[i])
return 0;
return 1;
}
inline int sum(int a,int b){return c[a+b-1]-(a?c[a-1]:0)... | 26.375 | 69 | 0.341909 | dk00 |
11335b21a019afcc255e8dfcf4198ddac289c667 | 2,147 | cc | C++ | build/X86/mem/ruby/structures/ReplacementPolicy.py.cc | zhoushuxin/impl_of_HPCA2018 | 594d807fb0c0712bb7766122c4efe3321d012687 | [
"BSD-3-Clause"
] | 5 | 2019-12-12T16:26:09.000Z | 2022-03-17T03:23:33.000Z | build/X86/mem/ruby/structures/ReplacementPolicy.py.cc | zhoushuxin/impl_of_HPCA2018 | 594d807fb0c0712bb7766122c4efe3321d012687 | [
"BSD-3-Clause"
] | null | null | null | build/X86/mem/ruby/structures/ReplacementPolicy.py.cc | zhoushuxin/impl_of_HPCA2018 | 594d807fb0c0712bb7766122c4efe3321d012687 | [
"BSD-3-Clause"
] | null | null | null | #include "sim/init.hh"
namespace {
const uint8_t data_m5_objects_ReplacementPolicy[] = {
120,156,181,146,77,111,211,64,16,134,103,237,56,109,211,32,
168,16,7,46,40,226,100,113,168,185,244,134,42,232,141,3,
80,37,92,154,139,181,94,15,120,131,215,142,188,99,20,247,
90,254,55,204,172,155,182,82,225,200,2... | 46.673913 | 73 | 0.679553 | zhoushuxin |
11353d14912ec27fad029832d4cd2ce4e33fdc49 | 21,964 | cpp | C++ | Source/WebCore/Modules/mediastream/PeerConnectionBackend.cpp | jacadcaps/webkitty | 9aebd2081349f9a7b5d168673c6f676a1450a66d | [
"BSD-2-Clause"
] | 6 | 2021-07-05T16:09:39.000Z | 2022-03-06T22:44:42.000Z | Source/WebCore/Modules/mediastream/PeerConnectionBackend.cpp | jacadcaps/webkitty | 9aebd2081349f9a7b5d168673c6f676a1450a66d | [
"BSD-2-Clause"
] | 7 | 2022-03-15T13:25:39.000Z | 2022-03-15T13:25:44.000Z | Source/WebCore/Modules/mediastream/PeerConnectionBackend.cpp | jacadcaps/webkitty | 9aebd2081349f9a7b5d168673c6f676a1450a66d | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright (C) 2015 Ericsson AB. All rights reserved.
* Copyright (C) 2016-2017 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must re... | 34.31875 | 245 | 0.712074 | jacadcaps |
1136a5ca250611fe03a305d4491b73217a3b4551 | 521 | cpp | C++ | tray/src/core/windows/icon.cpp | dicroce/traypp | ad75b76058296a647327b81e87a61887c3080fdb | [
"MIT"
] | 16 | 2021-04-06T10:34:53.000Z | 2022-02-23T23:23:48.000Z | tray/src/core/windows/icon.cpp | dicroce/traypp | ad75b76058296a647327b81e87a61887c3080fdb | [
"MIT"
] | 4 | 2021-04-15T05:55:57.000Z | 2022-03-23T00:03:27.000Z | tray/src/core/windows/icon.cpp | dicroce/traypp | ad75b76058296a647327b81e87a61887c3080fdb | [
"MIT"
] | 2 | 2021-12-06T15:52:45.000Z | 2022-03-22T19:24:42.000Z | #if defined(_WIN32)
#include <core/icon.hpp>
Tray::Icon::Icon(const std::string &path)
: hIcon(reinterpret_cast<HICON>(
LoadImageA(nullptr, path.c_str(), IMAGE_ICON, 0, 0, LR_LOADFROMFILE | LR_DEFAULTSIZE)))
{
}
Tray::Icon::Icon(HICON icon) : hIcon(icon) {}
Tray::Icon::Icon(const char *path) : I... | 28.944444 | 108 | 0.662188 | dicroce |
1137cb9050c8a5324a9944454e73564830fd947f | 44,488 | cxx | C++ | osprey/be/cg/cg_gcov.cxx | sharugupta/OpenUH | daddd76858a53035f5d713f648d13373c22506e8 | [
"BSD-2-Clause"
] | null | null | null | osprey/be/cg/cg_gcov.cxx | sharugupta/OpenUH | daddd76858a53035f5d713f648d13373c22506e8 | [
"BSD-2-Clause"
] | null | null | null | osprey/be/cg/cg_gcov.cxx | sharugupta/OpenUH | daddd76858a53035f5d713f648d13373c22506e8 | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright (C) 2010 Advanced Micro Devices, Inc. All Rights Reserved.
*/
/*
* Copyright 2003, 2004, 2005, 2006 PathScale, Inc. All Rights Reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as
* published by... | 32.051873 | 157 | 0.643926 | sharugupta |
1138121df23dfd5b47c877a9c29c7a122eb27c78 | 9,554 | cpp | C++ | gen/blink/bindings/core/v8/V8SVGPoint.cpp | gergul/MiniBlink | 7a11c52f141d54d5f8e1a9af31867cd120a2c3c4 | [
"Apache-2.0"
] | 8 | 2019-05-05T16:38:05.000Z | 2021-11-09T11:45:38.000Z | gen/blink/bindings/core/v8/V8SVGPoint.cpp | gergul/MiniBlink | 7a11c52f141d54d5f8e1a9af31867cd120a2c3c4 | [
"Apache-2.0"
] | null | null | null | gen/blink/bindings/core/v8/V8SVGPoint.cpp | gergul/MiniBlink | 7a11c52f141d54d5f8e1a9af31867cd120a2c3c4 | [
"Apache-2.0"
] | 4 | 2018-12-14T07:52:46.000Z | 2021-06-11T18:06:09.000Z | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY!
#include "config.h"
#include "V8SVGPoint.h"
#include "bindings/core/v8/Exce... | 44.64486 | 498 | 0.765648 | gergul |
113b200f2333ff7ab1fed5ffa72a2a678107cb23 | 13,865 | hpp | C++ | include/krowkee/sketch/Promotable.hpp | LLNL/krowkee | 47b02ccfb04fbd9caee986deae3d187b350a0a56 | [
"MIT-0",
"MIT"
] | null | null | null | include/krowkee/sketch/Promotable.hpp | LLNL/krowkee | 47b02ccfb04fbd9caee986deae3d187b350a0a56 | [
"MIT-0",
"MIT"
] | null | null | null | include/krowkee/sketch/Promotable.hpp | LLNL/krowkee | 47b02ccfb04fbd9caee986deae3d187b350a0a56 | [
"MIT-0",
"MIT"
] | 2 | 2021-12-16T04:29:48.000Z | 2021-12-21T00:45:01.000Z | // Copyright 2021-2022 Lawrence Livermore National Security, LLC and other
// krowkee Project Developers. See the top-level COPYRIGHT file for details.
//
// SPDX-License-Identifier: MIT
#ifndef _KROWKEE_SKETCH_PROMOTABLE_HPP
#define _KROWKEE_SKETCH_PROMOTABLE_HPP
#include <krowkee/sketch/Dense.hpp>
#include <krowkee... | 30.879733 | 80 | 0.551388 | LLNL |
113d5adb558d92606bc6c637a25bcbc19a7f655e | 2,432 | cpp | C++ | surfer_girl.cpp | Pumpkrin/surfer_girl | 98af7692fd81b8fc4e11c85af43adc5d0b951874 | [
"MIT"
] | null | null | null | surfer_girl.cpp | Pumpkrin/surfer_girl | 98af7692fd81b8fc4e11c85af43adc5d0b951874 | [
"MIT"
] | null | null | null | surfer_girl.cpp | Pumpkrin/surfer_girl | 98af7692fd81b8fc4e11c85af43adc5d0b951874 | [
"MIT"
] | null | null | null | #include "utilities.hpp"
#include <iostream>
int main( int argc, char* argv[] ) {
std::string input_file, output_file{"output.root"};
if(argc < 3){ std::cerr << "surfer_girl should be called the following way: ./surfer_girl -in input_file.bin [-out output_file.root] \n"; return 1; }
else{
f... | 47.686275 | 314 | 0.537418 | Pumpkrin |
113e4016a60265dba27b4e8e1fe2c4aa82893b4a | 7,706 | cpp | C++ | Userland/Libraries/LibGUI/BoxLayout.cpp | holdengreen/serenity | 0fccada6e9f714f76b2fbe0d189dcf4f26de38d4 | [
"BSD-2-Clause"
] | 1 | 2021-10-05T14:07:23.000Z | 2021-10-05T14:07:23.000Z | Userland/Libraries/LibGUI/BoxLayout.cpp | holdengreen/serenity | 0fccada6e9f714f76b2fbe0d189dcf4f26de38d4 | [
"BSD-2-Clause"
] | null | null | null | Userland/Libraries/LibGUI/BoxLayout.cpp | holdengreen/serenity | 0fccada6e9f714f76b2fbe0d189dcf4f26de38d4 | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <AK/JsonObject.h>
#include <LibGUI/BoxLayout.h>
#include <LibGUI/Widget.h>
#include <LibGfx/Orientation.h>
#include <stdio.h>
REGISTER_WIDGET(GUI, HorizontalBoxLayout)
REGISTER_WIDGET(GUI, Vert... | 34.401786 | 158 | 0.617181 | holdengreen |
113e4356f349715de74c426ca8529f1b3fdbfae2 | 5,286 | ipp | C++ | ecl/hqlcpp/hqlnlp.ipp | oxhead/HPCC-Platform | 62e092695542a9bbea1bb3672f0d1ff572666cfc | [
"Apache-2.0"
] | null | null | null | ecl/hqlcpp/hqlnlp.ipp | oxhead/HPCC-Platform | 62e092695542a9bbea1bb3672f0d1ff572666cfc | [
"Apache-2.0"
] | 1 | 2018-03-01T18:15:12.000Z | 2018-03-01T18:15:12.000Z | ecl/hqlcpp/hqlnlp.ipp | JamesDeFabia/HPCC-Platform | e10caebb70ea7aabbdef762683a78b146ec060bb | [
"Apache-2.0"
] | null | null | null | /*##############################################################################
HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®.
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... | 33.245283 | 153 | 0.687476 | oxhead |
113f43d43969ab16774b09d5392cde68ab36d1a3 | 45,758 | cpp | C++ | core/src/Spirit/IO.cpp | MSallermann/spirit | d3b771bcbf2f1eb4b28d48899091c17a48f12c67 | [
"MIT"
] | 46 | 2020-08-24T22:40:15.000Z | 2022-02-28T06:54:54.000Z | core/src/Spirit/IO.cpp | MSallermann/spirit | d3b771bcbf2f1eb4b28d48899091c17a48f12c67 | [
"MIT"
] | null | null | null | core/src/Spirit/IO.cpp | MSallermann/spirit | d3b771bcbf2f1eb4b28d48899091c17a48f12c67 | [
"MIT"
] | 4 | 2020-09-05T13:24:41.000Z | 2021-11-06T07:46:47.000Z | #include <Spirit/State.h>
#include <Spirit/IO.h>
#include <Spirit/Chain.h>
#include <Spirit/Configurations.h>
#include <data/State.hpp>
#include <data/Spin_System.hpp>
#include <data/Spin_System_Chain.hpp>
#include <io/IO.hpp>
#include <io/Filter_File_Handle.hpp>
#include <io/OVF_File.hpp>
#include <utility/Logging.hp... | 36.489633 | 203 | 0.517199 | MSallermann |
113f60037f9820c2f83d61170ba789b0413b3774 | 9,617 | cpp | C++ | irohad/consensus/yac/impl/yac_gate_impl.cpp | akshatkarani/iroha | 5acef9dd74720c6185360d951e9b11be4ef73260 | [
"Apache-2.0"
] | 1 | 2020-05-15T10:02:38.000Z | 2020-05-15T10:02:38.000Z | irohad/consensus/yac/impl/yac_gate_impl.cpp | akshatkarani/iroha | 5acef9dd74720c6185360d951e9b11be4ef73260 | [
"Apache-2.0"
] | 2 | 2020-02-18T11:25:35.000Z | 2020-02-20T04:09:45.000Z | irohad/consensus/yac/impl/yac_gate_impl.cpp | akshatkarani/iroha | 5acef9dd74720c6185360d951e9b11be4ef73260 | [
"Apache-2.0"
] | 1 | 2020-07-25T11:15:16.000Z | 2020-07-25T11:15:16.000Z | /**
* Copyright Soramitsu Co., Ltd. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
#include "consensus/yac/impl/yac_gate_impl.hpp"
#include <boost/range/adaptor/transformed.hpp>
#include <rxcpp/operators/rx-flat_map.hpp>
#include "common/visitor.hpp"
#include "consensus/yac/cluster_order.hpp"
#inclu... | 41.632035 | 80 | 0.577415 | akshatkarani |
1140924ee363de3318b9f2b566ac9513058e5fd1 | 46,384 | cpp | C++ | tests/Unit/ApparentHorizons/Test_StrahlkorperGr.cpp | kidder/spectre | 97ae95f72320f9f67895d3303824e64de6fd9077 | [
"MIT"
] | 1 | 2021-03-31T05:22:18.000Z | 2021-03-31T05:22:18.000Z | tests/Unit/ApparentHorizons/Test_StrahlkorperGr.cpp | kidder/spectre | 97ae95f72320f9f67895d3303824e64de6fd9077 | [
"MIT"
] | 9 | 2021-09-02T19:53:22.000Z | 2021-11-02T02:41:16.000Z | tests/Unit/ApparentHorizons/Test_StrahlkorperGr.cpp | kidder/spectre | 97ae95f72320f9f67895d3303824e64de6fd9077 | [
"MIT"
] | null | null | null | // Distributed under the MIT License.
// See LICENSE.txt for details.
#include "Framework/TestingFramework.hpp"
#include <algorithm>
#include <array>
#include <cmath>
#include <cstddef>
#include <random>
#include "ApparentHorizons/Strahlkorper.hpp"
#include "ApparentHorizons/StrahlkorperGr.hpp"
#include "ApparentHor... | 44.386603 | 81 | 0.709857 | kidder |
11410e1b98a4b57d80e25385964a1af4a2220a56 | 2,207 | cpp | C++ | samples/snippets/cpp/VS_Snippets_WebNet/HtmlTextWriter_Properties/CPP/htmltextwriter_properties1.cpp | hamarb123/dotnet-api-docs | 6aeb55784944a2f1f5e773b657791cbd73a92dd4 | [
"CC-BY-4.0",
"MIT"
] | 421 | 2018-04-01T01:57:50.000Z | 2022-03-28T15:24:42.000Z | samples/snippets/cpp/VS_Snippets_WebNet/HtmlTextWriter_Properties/CPP/htmltextwriter_properties1.cpp | hamarb123/dotnet-api-docs | 6aeb55784944a2f1f5e773b657791cbd73a92dd4 | [
"CC-BY-4.0",
"MIT"
] | 5,797 | 2018-04-02T21:12:23.000Z | 2022-03-31T23:54:38.000Z | samples/snippets/cpp/VS_Snippets_WebNet/HtmlTextWriter_Properties/CPP/htmltextwriter_properties1.cpp | hamarb123/dotnet-api-docs | 6aeb55784944a2f1f5e773b657791cbd73a92dd4 | [
"CC-BY-4.0",
"MIT"
] | 1,482 | 2018-03-31T11:26:20.000Z | 2022-03-30T22:36:45.000Z | #using <System.dll>
#using <System.Drawing.dll>
#using <System.Web.dll>
using namespace System;
using namespace System::IO;
using namespace System::Web::UI;
using namespace System::Web::UI::WebControls;
public ref class FirstControl: public WebControl
{
private:
// The message property.
String^ myM... | 26.914634 | 135 | 0.598097 | hamarb123 |
1142775d284a7f7bc5f56c16a829232f6b3f267a | 665 | cpp | C++ | src/main.cpp | Dcbaas/DAVID_BAAS-SANTIAGO_QUIROGA-Sudoku-Project | d9db5a5db1cacd86b08fd766dc9c4ea41e0efb7c | [
"MIT"
] | null | null | null | src/main.cpp | Dcbaas/DAVID_BAAS-SANTIAGO_QUIROGA-Sudoku-Project | d9db5a5db1cacd86b08fd766dc9c4ea41e0efb7c | [
"MIT"
] | null | null | null | src/main.cpp | Dcbaas/DAVID_BAAS-SANTIAGO_QUIROGA-Sudoku-Project | d9db5a5db1cacd86b08fd766dc9c4ea41e0efb7c | [
"MIT"
] | null | null | null | #include "sudoku_solver.h"
#include <iostream>
int main(int argc, char** argv){
int board[9][9] = {{ 0, 3, 0, 0, 0, 0, 0, 2, 0 },
{ 0, 9, 0, 0, 0, 0, 0, 8, 5 },
{ 5, 0, 0, 0, 8, 0, 4, 0, 0 },
{ 4, 0, 7, 2, 0, 6, 8, 9, 0 },
{ 0, 1, 0, 8, 0, 9... | 31.666667 | 51 | 0.306767 | Dcbaas |
11437d745b979f374de8be1040638f7cb3af4b89 | 2,409 | cc | C++ | src/SoftMaxLoss.cc | wylqq312715289/N3LDG-plus | 26069aaa877359d6a5838d085187957655027d7e | [
"Apache-2.0"
] | null | null | null | src/SoftMaxLoss.cc | wylqq312715289/N3LDG-plus | 26069aaa877359d6a5838d085187957655027d7e | [
"Apache-2.0"
] | null | null | null | src/SoftMaxLoss.cc | wylqq312715289/N3LDG-plus | 26069aaa877359d6a5838d085187957655027d7e | [
"Apache-2.0"
] | null | null | null | #include "SoftMaxLoss.h"
dtype softMaxLoss(PNode x, const vector<dtype> &answer, Metric &eval,
dtype batchsize) {
int nDim = x->getDim();
int labelsize = answer.size();
if (labelsize != nDim) {
std::cerr << "softmax_loss error: dim size invalid" << std::endl;
return -1.0;
}
NRVec<d... | 24.333333 | 79 | 0.54587 | wylqq312715289 |
1146566402db3f28041a2eaaa861eb708cb2a02d | 10,207 | cc | C++ | src/main/window.cc | sp-nitech/SPTK | d571e4d23be1fa8c15846da3165a10746ef7c421 | [
"Apache-2.0"
] | 91 | 2017-12-25T14:13:17.000Z | 2022-03-15T14:33:23.000Z | src/main/window.cc | sp-nitech/SPTK | d571e4d23be1fa8c15846da3165a10746ef7c421 | [
"Apache-2.0"
] | 4 | 2020-09-28T03:58:29.000Z | 2021-12-14T01:23:13.000Z | src/main/window.cc | sp-nitech/SPTK | d571e4d23be1fa8c15846da3165a10746ef7c421 | [
"Apache-2.0"
] | 16 | 2018-03-12T07:08:09.000Z | 2022-03-22T02:38:13.000Z | // ------------------------------------------------------------------------ //
// Copyright 2021 SPTK Working Group //
// //
// Licensed under the Apache License, Version 2.0 (the "License"); //
// y... | 39.10728 | 168 | 0.548153 | sp-nitech |
114a2e7213cd5ba6f890343424905fea6979c0dc | 12,908 | cpp | C++ | src/jpeg.imageio/jpegoutput.cpp | ndubey/oiio | fb00e178be048c31f478076977d17434c310472c | [
"BSD-3-Clause"
] | 1 | 2016-09-05T01:16:09.000Z | 2016-09-05T01:16:09.000Z | src/jpeg.imageio/jpegoutput.cpp | Alexander-Murashko/oiio | 2cb95cf674e6cb085eb14614c428535ed2b8989b | [
"BSD-3-Clause"
] | null | null | null | src/jpeg.imageio/jpegoutput.cpp | Alexander-Murashko/oiio | 2cb95cf674e6cb085eb14614c428535ed2b8989b | [
"BSD-3-Clause"
] | null | null | null | /*
Copyright 2008 Larry Gritz and the other authors and contributors.
All Rights Reserved.
Based on BSD-licensed software Copyright 2004 NVIDIA Corp.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistribu... | 35.076087 | 84 | 0.633096 | ndubey |
114ae131faaa1cdbe694bda2fd82ad34312029ab | 5,650 | hpp | C++ | openstudiocore/src/model/PeopleDefinition.hpp | jasondegraw/OpenStudio | 2ab13f6e5e48940929041444e40ad9d36f80f552 | [
"blessing"
] | 1 | 2016-12-29T08:45:03.000Z | 2016-12-29T08:45:03.000Z | openstudiocore/src/model/PeopleDefinition.hpp | jasondegraw/OpenStudio | 2ab13f6e5e48940929041444e40ad9d36f80f552 | [
"blessing"
] | null | null | null | openstudiocore/src/model/PeopleDefinition.hpp | jasondegraw/OpenStudio | 2ab13f6e5e48940929041444e40ad9d36f80f552 | [
"blessing"
] | null | null | null | /**********************************************************************
* Copyright (c) 2008-2016, Alliance for Sustainable Energy.
* All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by t... | 31.388889 | 99 | 0.752743 | jasondegraw |
114ae27168d01b04fcd2e2dbff9447045aff7309 | 1,988 | cpp | C++ | test/wiztk/gui/gles2-backend/test-gles2-backend.cpp | wiztk/framework | 179baf8a24406b19d3f4ea28e8405358b21f8446 | [
"Apache-2.0"
] | 37 | 2017-11-22T14:15:33.000Z | 2021-11-25T20:39:39.000Z | test/wiztk/gui/gles2-backend/test-gles2-backend.cpp | wiztk/framework | 179baf8a24406b19d3f4ea28e8405358b21f8446 | [
"Apache-2.0"
] | 3 | 2018-03-01T12:44:22.000Z | 2021-01-04T23:14:41.000Z | test/wiztk/gui/gles2-backend/test-gles2-backend.cpp | wiztk/framework | 179baf8a24406b19d3f4ea28e8405358b21f8446 | [
"Apache-2.0"
] | 10 | 2017-11-25T19:09:11.000Z | 2020-12-02T02:05:47.000Z | /*
* Copyright 2017 - 2018 The WizTK 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 ... | 27.611111 | 103 | 0.716298 | wiztk |
114b2b9b470983d37eb8daf4506344762b03a280 | 6,033 | cc | C++ | chrome/browser/permissions/permission_delegation_browsertest.cc | Ron423c/chromium | 2edf7b980065b648f8b2a6e52193d83832fe36b7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/permissions/permission_delegation_browsertest.cc | Ron423c/chromium | 2edf7b980065b648f8b2a6e52193d83832fe36b7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/permissions/permission_delegation_browsertest.cc | Ron423c/chromium | 2edf7b980065b648f8b2a6e52193d83832fe36b7 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2021-03-07T14:20:02.000Z | 2021-03-07T14:20:02.000Z | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/bind.h"
#include "base/command_line.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/tabs/tab_strip_model.h"
#include ... | 39.953642 | 79 | 0.753025 | Ron423c |
114c81042213b6ff7909f38fcd363c7c426cfb3c | 1,107 | cpp | C++ | Simple++/Time/Tick.cpp | Oriode/Simpleplusplus | 2ba44eeab5078d6dab66bdefdf73617696b8cb2e | [
"Apache-2.0"
] | null | null | null | Simple++/Time/Tick.cpp | Oriode/Simpleplusplus | 2ba44eeab5078d6dab66bdefdf73617696b8cb2e | [
"Apache-2.0"
] | null | null | null | Simple++/Time/Tick.cpp | Oriode/Simpleplusplus | 2ba44eeab5078d6dab66bdefdf73617696b8cb2e | [
"Apache-2.0"
] | null | null | null | #include "Tick.h"
namespace Time {
Time::Tick operator-( const Tick & t1, const Tick & t2 ) {
return Tick( t1.getValue() - t2.getValue() );
}
Tick getClock() {
return Tick( clock() );
}
Tick::Tick() {
}
Tick::Tick( const Tick & tick ) :
c( tick.c ) {
}
Tick::Tick( ClockT tick ) :
c( tick ... | 12.872093 | 59 | 0.550136 | Oriode |
114cb841c10c9ffaf18f367b830bc21586533714 | 6,147 | cpp | C++ | Incursion/Code/Game/Player.cpp | yixuan-wei/Incursion | fa76fd30d1867cd05ffbc165d3577bc45cfde7ba | [
"MIT"
] | null | null | null | Incursion/Code/Game/Player.cpp | yixuan-wei/Incursion | fa76fd30d1867cd05ffbc165d3577bc45cfde7ba | [
"MIT"
] | null | null | null | Incursion/Code/Game/Player.cpp | yixuan-wei/Incursion | fa76fd30d1867cd05ffbc165d3577bc45cfde7ba | [
"MIT"
] | null | null | null | #include "Game/Player.hpp"
#include "Game/GameCommon.hpp"
#include "Game/Map.hpp"
#include "Engine/Input/InputSystem.hpp"
#include "Engine/Input/XboxController.hpp"
#include "Engine/Math/MathUtils.hpp"
#include "Engine/Math/AABB2.hpp"
#include "Engine/Core/Vertex_PCU.hpp"
#include "Engine/Renderer/RenderContext.hpp"
#i... | 32.52381 | 145 | 0.684724 | yixuan-wei |
114e0965901bdcc26728553f33709f1291dd3ed3 | 408 | cpp | C++ | Paddle.cpp | jaguile6/almost-pong | 48dbd1049868bb46df37285a74da1eaaef6f8fd6 | [
"MIT"
] | null | null | null | Paddle.cpp | jaguile6/almost-pong | 48dbd1049868bb46df37285a74da1eaaef6f8fd6 | [
"MIT"
] | null | null | null | Paddle.cpp | jaguile6/almost-pong | 48dbd1049868bb46df37285a74da1eaaef6f8fd6 | [
"MIT"
] | null | null | null | #include "Paddle.h"
#include "Globals.h"
#include <Arduboy2.h>
void Paddle::updatePaddle(){
if(this->y < this->destination){
this->y += vy;
}
if(this->y > this->destination){
this->y -= vy;
}
}
void Paddle::drawPaddle(){
arduboy.drawRect(this->x,this->y, 2, 18, WHITE);
}
void Pad... | 18.545455 | 51 | 0.580882 | jaguile6 |
114fd2894633a44bf01bfd874f0ac5dae77ba224 | 8,395 | hxx | C++ | src/htm.hxx | Caltech-IPAC/libtinyhtm | abc3394f3d37b3729a625989d2fc144f14a7d208 | [
"BSD-3-Clause"
] | 1 | 2019-06-17T21:56:31.000Z | 2019-06-17T21:56:31.000Z | src/htm.hxx | Caltech-IPAC/libtinyhtm | abc3394f3d37b3729a625989d2fc144f14a7d208 | [
"BSD-3-Clause"
] | null | null | null | src/htm.hxx | Caltech-IPAC/libtinyhtm | abc3394f3d37b3729a625989d2fc144f14a7d208 | [
"BSD-3-Clause"
] | null | null | null | #pragma once
#include "tinyhtm/htm.h"
/*
HTM triangles are subdivided into 4 sub-triangles as follows :
v2
*
/ \
/ \
sv1 *-----* sv0
/ \ / \
/ \ / \
v0 *-----*-----* v1
sv2
- vertices are unit magnitude 3-vector... | 32.288462 | 77 | 0.576534 | Caltech-IPAC |
11506b8b97ef98a4e46acb156e4f40c5962a180b | 3,740 | cpp | C++ | src/base/plugin/GuiInterface.cpp | IncompleteWorlds/GMAT_2020 | 624de54d00f43831a4d46b46703e069d5c8c92ff | [
"Apache-2.0"
] | null | null | null | src/base/plugin/GuiInterface.cpp | IncompleteWorlds/GMAT_2020 | 624de54d00f43831a4d46b46703e069d5c8c92ff | [
"Apache-2.0"
] | null | null | null | src/base/plugin/GuiInterface.cpp | IncompleteWorlds/GMAT_2020 | 624de54d00f43831a4d46b46703e069d5c8c92ff | [
"Apache-2.0"
] | null | null | null | //------------------------------------------------------------------------------
// GuiInterfaces
//------------------------------------------------------------------------------
// GMAT: General Mission Analysis Tool
//
// THIS COMPONENT Copyright (c) 2020, Emergent Space Technologies, Inc.
/... | 35.619048 | 81 | 0.48262 | IncompleteWorlds |
1152b9eba5d90524a7597fd5db7683bd1b859ca9 | 960 | cpp | C++ | Dynamic_Programming/minimizing_coins.cpp | DannyAntonelli/CSES-Problem-Set | 599b5efb2d7efb9b7e1bfde3142702dc5d0c3988 | [
"MIT"
] | null | null | null | Dynamic_Programming/minimizing_coins.cpp | DannyAntonelli/CSES-Problem-Set | 599b5efb2d7efb9b7e1bfde3142702dc5d0c3988 | [
"MIT"
] | null | null | null | Dynamic_Programming/minimizing_coins.cpp | DannyAntonelli/CSES-Problem-Set | 599b5efb2d7efb9b7e1bfde3142702dc5d0c3988 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#define FOR(i, a, b) for (int i = (a); i < (b); ++i)
#define RFOR(i, a, b) for (int i = (a); i > (b); --i)
#define ALL(x) x.begin(), x.end()
#define F first
#define S second
#define PB push_back
#define MP make_pair
using namespace std;
using ll = long long;
using ld = long double;
typedef v... | 18.823529 | 53 | 0.464583 | DannyAntonelli |
11545f6273e19ab895feeb080af8ab8445dbf737 | 18,371 | cpp | C++ | XControl/src/xcOleControlContain.cpp | qianxj/XExplorer | 00e326da03ffcaa21115a2345275452607c6bab5 | [
"MIT"
] | null | null | null | XControl/src/xcOleControlContain.cpp | qianxj/XExplorer | 00e326da03ffcaa21115a2345275452607c6bab5 | [
"MIT"
] | null | null | null | XControl/src/xcOleControlContain.cpp | qianxj/XExplorer | 00e326da03ffcaa21115a2345275452607c6bab5 | [
"MIT"
] | null | null | null | #include "StdAfx.h"
#include "..\include\xcOleControlContain.hpp"
namespace Hxsoft{ namespace XFrame
{
xcOleControlContain::xcOleControlContain(void): m_pOleControl(NULL)
{
m_pClientSite = new CComObject<COleClientSite>();
m_pInPlaceSite = new CComObject<COleInPlaceSite>();
m_pInPlaceFrame = new CComObject<... | 26.858187 | 254 | 0.735888 | qianxj |
1156994f878b98e57ba26c0906acd95023bb49a4 | 15,293 | cpp | C++ | src/metadata/domain.cpp | blumf/flamerobin | 3b442c6786d916383f885d81f0303171fd8ce7c2 | [
"MIT"
] | 2 | 2019-05-29T08:32:18.000Z | 2021-02-17T08:19:00.000Z | src/metadata/domain.cpp | blumf/flamerobin | 3b442c6786d916383f885d81f0303171fd8ce7c2 | [
"MIT"
] | null | null | null | src/metadata/domain.cpp | blumf/flamerobin | 3b442c6786d916383f885d81f0303171fd8ce7c2 | [
"MIT"
] | 1 | 2020-06-15T06:49:18.000Z | 2020-06-15T06:49:18.000Z | /*
Copyright (c) 2004-2016 The FlameRobin Development Team
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modi... | 29.752918 | 155 | 0.620088 | blumf |