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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3e99deb7e1a1c4a1303da44032e58882da6a4509 | 4,993 | cpp | C++ | core/vcf/VCFWriter.cpp | srynobio/graphite | e37aa8803ea15f0473ab368b4bae3e3347451229 | [
"MIT"
] | null | null | null | core/vcf/VCFWriter.cpp | srynobio/graphite | e37aa8803ea15f0473ab368b4bae3e3347451229 | [
"MIT"
] | null | null | null | core/vcf/VCFWriter.cpp | srynobio/graphite | e37aa8803ea15f0473ab368b4bae3e3347451229 | [
"MIT"
] | null | null | null | #include "VCFWriter.h"
#include "core/util/Utility.h"
#include "core/util/Types.h"
#include <algorithm>
namespace graphite
{
VCFWriter::VCFWriter(const std::string& filename, std::vector< graphite::Sample::SharedPtr >& bamSamplePtrs, const std::string& outputDirectory) :
m_bam_sample_ptrs(bamSamplePtrs),
m_black... | 28.050562 | 147 | 0.679551 | srynobio |
3e9a2a011d4e5faf3b4e2d156f665c115ecfdc68 | 4,667 | hpp | C++ | pulsar/modulemanager/ModuleCreationFuncs.hpp | pulsar-chem/BPModule | f8e64e04fdb01947708f098e833600c459c2ff0e | [
"BSD-3-Clause"
] | null | null | null | pulsar/modulemanager/ModuleCreationFuncs.hpp | pulsar-chem/BPModule | f8e64e04fdb01947708f098e833600c459c2ff0e | [
"BSD-3-Clause"
] | null | null | null | pulsar/modulemanager/ModuleCreationFuncs.hpp | pulsar-chem/BPModule | f8e64e04fdb01947708f098e833600c459c2ff0e | [
"BSD-3-Clause"
] | null | null | null | /*! \file
*
* \brief Storage of module creation functions (header)
* \author Benjamin Pritchard (ben@bennyp.org)
*/
#ifndef PULSAR_GUARD_MODULEMANAGER__MODULECREATIONFUNCS_HPP_
#define PULSAR_GUARD_MODULEMANAGER__MODULECREATIONFUNCS_HPP_
#include <functional>
#include <map>
#include "pulsar/types.h"
#include "p... | 31.748299 | 106 | 0.587315 | pulsar-chem |
3e9a80a4bb500e602a2a9703340d1738d101f9da | 23,735 | cpp | C++ | openr/ctrl-server/OpenrCtrlHandler.cpp | butjar/openr | b42d1d2ba30e2e14f6b4e8e592aa88cff16b87c5 | [
"MIT"
] | null | null | null | openr/ctrl-server/OpenrCtrlHandler.cpp | butjar/openr | b42d1d2ba30e2e14f6b4e8e592aa88cff16b87c5 | [
"MIT"
] | null | null | null | openr/ctrl-server/OpenrCtrlHandler.cpp | butjar/openr | b42d1d2ba30e2e14f6b4e8e592aa88cff16b87c5 | [
"MIT"
] | null | null | null | /**
* Copyright (c) 2014-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <openr/ctrl-server/OpenrCtrlHandler.h>
#include <re2/re2.h>
#include <folly/ExceptionString.h>
#include <folly/io/async/SSLCo... | 31.944818 | 80 | 0.693111 | butjar |
3e9e39a205baf4b5faf2fc2283874d3dc7e30256 | 3,598 | cpp | C++ | source/directsound/ResultCodeDS.cpp | HeavenWu/slimdx | e014bb34b89bbf694d01c8f6d6b6dfa3cba58aac | [
"MIT"
] | 85 | 2015-04-06T05:37:10.000Z | 2022-03-22T19:53:03.000Z | source/directsound/ResultCodeDS.cpp | HeavenWu/slimdx | e014bb34b89bbf694d01c8f6d6b6dfa3cba58aac | [
"MIT"
] | 10 | 2016-03-17T11:18:24.000Z | 2021-05-11T09:21:43.000Z | source/directsound/ResultCodeDS.cpp | HeavenWu/slimdx | e014bb34b89bbf694d01c8f6d6b6dfa3cba58aac | [
"MIT"
] | 45 | 2015-09-14T03:54:01.000Z | 2022-03-22T19:53:09.000Z | #include "stdafx.h"
/*
* Copyright (c) 2007-2012 SlimDX Group
*
* 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, ... | 22.209877 | 80 | 0.697332 | HeavenWu |
3ea06032c6b839ed37c92bac252531157a01e331 | 227 | cpp | C++ | AtCoder/arc110/A.cpp | Code-With-Aagam/competitive-programming | 610520cc396fb13a03c606b5fb6739cfd68cc444 | [
"MIT"
] | 2 | 2022-02-08T12:37:41.000Z | 2022-03-09T03:48:56.000Z | AtCoder/arc110/A.cpp | iamsuryakant/competitive-programming | 413000f5bc4a627407e1335c35dcdbee516e8cc1 | [
"MIT"
] | null | null | null | AtCoder/arc110/A.cpp | iamsuryakant/competitive-programming | 413000f5bc4a627407e1335c35dcdbee516e8cc1 | [
"MIT"
] | 2 | 2021-01-23T14:35:48.000Z | 2021-03-15T05:04:24.000Z | #include<bits/stdc++.h>
using namespace std;
#define int long long
signed main() {
int N;
cin >> N;
int ans = 1;
for (int i = 2; i <= N; i++) ans = lcm(ans, i);
cout << ans + 1;
return 0;
} | 17.461538 | 52 | 0.488987 | Code-With-Aagam |
3ea0aada20fa0af2c42f1d81a9414e33a2e15f04 | 4,115 | cpp | C++ | cpp/libs/opendnp3/src/opendnp3/link/SecLinkLayerStates.cpp | SensusDA/opendnp3 | c9aab97279fa7461155fd583d3955853b3ad99a0 | [
"Apache-2.0"
] | null | null | null | cpp/libs/opendnp3/src/opendnp3/link/SecLinkLayerStates.cpp | SensusDA/opendnp3 | c9aab97279fa7461155fd583d3955853b3ad99a0 | [
"Apache-2.0"
] | null | null | null | cpp/libs/opendnp3/src/opendnp3/link/SecLinkLayerStates.cpp | SensusDA/opendnp3 | c9aab97279fa7461155fd583d3955853b3ad99a0 | [
"Apache-2.0"
] | null | null | null | /**
* Licensed to Green Energy Corp (www.greenenergycorp.com) under one or
* more contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright ownership.
* Green Energy Corp licenses this file to you under the Apache License,
* Version 2.0 (the "Li... | 30.036496 | 112 | 0.659538 | SensusDA |
3ea87a0fd7acdfda840408072d0b37830315e238 | 38 | cc | C++ | chapter-09/9.40.cc | hongmi/cpp-primer-4-exercises | 98ddb98b41d457a1caa525d246dfb7453be0c8d2 | [
"MIT"
] | 1 | 2017-04-01T06:57:30.000Z | 2017-04-01T06:57:30.000Z | chapter-09/9.40.cc | hongmi/cpp-primer-4-exercises | 98ddb98b41d457a1caa525d246dfb7453be0c8d2 | [
"MIT"
] | null | null | null | chapter-09/9.40.cc | hongmi/cpp-primer-4-exercises | 98ddb98b41d457a1caa525d246dfb7453be0c8d2 | [
"MIT"
] | null | null | null | q2.substr(0, 13) + q1.substr(18, 15);
| 19 | 37 | 0.605263 | hongmi |
3ea944ff0a8d3b41810e752dc9aff778847630b6 | 1,482 | cpp | C++ | wxdraw/object/Object.cpp | yasuikentarow/graed | 45db4f4291bdca27c32a3b2938ccd1aa7b40d48a | [
"MIT"
] | null | null | null | wxdraw/object/Object.cpp | yasuikentarow/graed | 45db4f4291bdca27c32a3b2938ccd1aa7b40d48a | [
"MIT"
] | null | null | null | wxdraw/object/Object.cpp | yasuikentarow/graed | 45db4f4291bdca27c32a3b2938ccd1aa7b40d48a | [
"MIT"
] | null | null | null | #include <uuid/uuid.h>
#include "wxdraw/object/Object.hpp"
#include "wxdraw/property/Property.hpp"
namespace wxdraw::object {
std::map<std::type_index, std::map<wxString, int>> Object::Serials;
/**
コンストラクタ
@param type 型名
*/
Object::Object(const wxString& type)
: type_(type)
{
}
/**
コピーコンストラクタ
@param src... | 19.5 | 69 | 0.649798 | yasuikentarow |
3eaadd4e70d02bdf4fa75abc46863373b6e19c16 | 8,778 | cpp | C++ | ofxHammingCodeExample/src/main.cpp | 2bbb/ofxHammingCode | 0434eec8db7c4f50206ad0c34f90e9b0c5c7c386 | [
"MIT"
] | 4 | 2015-04-01T08:57:35.000Z | 2021-12-28T15:22:35.000Z | ofxHammingCodeExample/src/main.cpp | 2bbb/ofxHammingCode | 0434eec8db7c4f50206ad0c34f90e9b0c5c7c386 | [
"MIT"
] | 1 | 2017-05-30T10:12:51.000Z | 2017-06-01T15:07:52.000Z | ofxHammingCodeExample/src/main.cpp | 2bbb/ofxHammingCode | 0434eec8db7c4f50206ad0c34f90e9b0c5c7c386 | [
"MIT"
] | 3 | 2020-11-26T00:46:14.000Z | 2021-12-28T15:22:37.000Z | #include "ofMain.h"
#include "ofxHammingCode.h"
class ofApp : public ofBaseApp {
public:
void setup() {
testH74();
std::cout << std::endl;
testH74SECDED();
std::cout << std::endl;
test3126(ofRandom(0, 1 << 25));
std::cout << std::endl;
testH3126SECDED(ofRando... | 35.395161 | 102 | 0.478241 | 2bbb |
3eab688c5ba8ab15b39541e2c0ad87cbefd6c3f3 | 758 | cpp | C++ | misc/SAP Labs Online Contest - 3rd Edition/B.cpp | MaGnsio/CP-Problems | a7f518a20ba470f554b6d54a414b84043bf209c5 | [
"Unlicense"
] | 3 | 2020-11-01T06:31:30.000Z | 2022-02-21T20:37:51.000Z | misc/SAP Labs Online Contest - 3rd Edition/B.cpp | MaGnsio/CP-Problems | a7f518a20ba470f554b6d54a414b84043bf209c5 | [
"Unlicense"
] | null | null | null | misc/SAP Labs Online Contest - 3rd Edition/B.cpp | MaGnsio/CP-Problems | a7f518a20ba470f554b6d54a414b84043bf209c5 | [
"Unlicense"
] | 1 | 2021-05-05T18:56:31.000Z | 2021-05-05T18:56:31.000Z | /**
* author: MaGnsi0
* created: 11.12.2021 19:39:28
**/
#include <bits/stdc++.h>
using namespace std;
int main() {
ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0);
string s;
cin >> s;
vector<int> ones;
for (int i = 0; i < (int)s.size(); ++i) {
if (s[i] == '0' || (i && s[i -... | 21.657143 | 58 | 0.390501 | MaGnsio |
3ead6eb60a456bc5a1322d18a7655b504b963b05 | 5,178 | cpp | C++ | src/editor/log_ui.cpp | OndraVoves/LumixEngine | b7040d7a5b9dc1c6bc78e5e6d9b33b7f585c435f | [
"MIT"
] | null | null | null | src/editor/log_ui.cpp | OndraVoves/LumixEngine | b7040d7a5b9dc1c6bc78e5e6d9b33b7f585c435f | [
"MIT"
] | null | null | null | src/editor/log_ui.cpp | OndraVoves/LumixEngine | b7040d7a5b9dc1c6bc78e5e6d9b33b7f585c435f | [
"MIT"
] | null | null | null | #include "log_ui.h"
#include "editor/platform_interface.h"
#include "engine/log.h"
#include "imgui/imgui.h"
namespace Lumix
{
LogUI::LogUI(IAllocator& allocator)
: m_allocator(allocator)
, m_messages(allocator)
, m_current_tab(Error)
, m_notifications(allocator)
, m_last_uid(1)
, m_guard(false)
, m_is_opened... | 20.795181 | 83 | 0.653534 | OndraVoves |
3eae1d8f730602093de5ae38dac9ece861131e15 | 442 | hxx | C++ | include/WonderRabbitProject/key/detail.include_symbols.hxx | usagi/libWRP-key | 28d3969da339f9df97981552fd5980269f8b96a4 | [
"MIT"
] | 2 | 2017-12-27T18:38:07.000Z | 2021-04-07T11:24:06.000Z | include/WonderRabbitProject/key/detail.include_symbols.hxx | usagi/libWRP-key | 28d3969da339f9df97981552fd5980269f8b96a4 | [
"MIT"
] | null | null | null | include/WonderRabbitProject/key/detail.include_symbols.hxx | usagi/libWRP-key | 28d3969da339f9df97981552fd5980269f8b96a4 | [
"MIT"
] | 1 | 2015-05-16T08:44:42.000Z | 2015-05-16T08:44:42.000Z | #pragma once
#if defined(_WIN64) || defined(_WIN32)
#ifndef NOMINMAX
#define NOMINMAX
#endif
#ifndef WRP_NO_KEY_WRITER
#include <rtccore.h>
#endif
#include <windef.h>
#include <winbase.h>
#include <winuser.h>
#elif defined(__APPLE__)
#include "/System/Library/Frameworks/Carbon.framework/Version... | 24.555556 | 126 | 0.735294 | usagi |
3ebda98f396ff33efaae6cb3465b19c24b226c51 | 2,320 | cpp | C++ | APIO17_rainbow.cpp | puyuliao/APIO | 504570c950d7d824653a466642ed7284453d48eb | [
"MIT"
] | null | null | null | APIO17_rainbow.cpp | puyuliao/APIO | 504570c950d7d824653a466642ed7284453d48eb | [
"MIT"
] | null | null | null | APIO17_rainbow.cpp | puyuliao/APIO | 504570c950d7d824653a466642ed7284453d48eb | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
#include<stdint.h>
using namespace std;
#define IOS {cin.tie(0);ios_base::sync_with_stdio(false);}
#define N 200005
#define lowbit(x) (x&-x)
#include"rainbow.h"
struct dbit{
vector<int> v[N];
int n,m;
void init(int _n,int _m){
n = _n,m = _m;
for(int i=1;i<=n;i++) v[i].clear();... | 26.363636 | 124 | 0.539224 | puyuliao |
3ec3296f39a1dbce3f40bc6034574220bea61a77 | 8,544 | cxx | C++ | Applications/ConvertTransformToRIREFormat/niftkConvertTransformToRIREFormat.cxx | NifTK/NifTK | 2358b333c89ff1bba1c232eecbbcdc8003305dfe | [
"BSD-3-Clause"
] | 13 | 2018-07-28T13:36:38.000Z | 2021-11-01T19:17:39.000Z | Applications/ConvertTransformToRIREFormat/niftkConvertTransformToRIREFormat.cxx | NifTK/NifTK | 2358b333c89ff1bba1c232eecbbcdc8003305dfe | [
"BSD-3-Clause"
] | null | null | null | Applications/ConvertTransformToRIREFormat/niftkConvertTransformToRIREFormat.cxx | NifTK/NifTK | 2358b333c89ff1bba1c232eecbbcdc8003305dfe | [
"BSD-3-Clause"
] | 10 | 2018-08-20T07:06:00.000Z | 2021-07-07T07:55:27.000Z | /*=============================================================================
NifTK: A software platform for medical image computing.
Copyright (c) University College London (UCL). All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY o... | 35.89916 | 180 | 0.584504 | NifTK |
3ec6ac96bf6b8fcce060ab2c8f5c5e4e3ef81afa | 2,670 | hpp | C++ | sdk/packages/laikago/components/LaikagoDriver.hpp | ddr95070/RMIsaac | ee3918f685f0a88563248ddea11d089581077973 | [
"FSFAP"
] | null | null | null | sdk/packages/laikago/components/LaikagoDriver.hpp | ddr95070/RMIsaac | ee3918f685f0a88563248ddea11d089581077973 | [
"FSFAP"
] | null | null | null | sdk/packages/laikago/components/LaikagoDriver.hpp | ddr95070/RMIsaac | ee3918f685f0a88563248ddea11d089581077973 | [
"FSFAP"
] | 1 | 2022-01-28T16:37:51.000Z | 2022-01-28T16:37:51.000Z | /*
Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved.
NVIDIA CORPORATION and its licensors retain all intellectual property
and proprietary rights in and to this software, related documentation
and any modifications thereto. Any use, reproduction, disclosure or
distribution of this software and related docum... | 34.675325 | 93 | 0.768539 | ddr95070 |
3ecb6d7001fba712c1c9caa2cf77e3a71f381c83 | 1,638 | cpp | C++ | src/limitless/pipeline/scene_data.cpp | Tehsapper/graphics-engine | 5b7cd93c750ccce7b254c6bb4a13948b2b4ec975 | [
"MIT"
] | 9 | 2020-07-23T13:00:12.000Z | 2021-01-07T10:44:24.000Z | src/limitless/pipeline/scene_data.cpp | Tehsapper/graphics-engine | 5b7cd93c750ccce7b254c6bb4a13948b2b4ec975 | [
"MIT"
] | 7 | 2020-09-11T18:23:45.000Z | 2020-11-01T19:05:47.000Z | src/limitless/pipeline/scene_data.cpp | Tehsapper/graphics-engine | 5b7cd93c750ccce7b254c6bb4a13948b2b4ec975 | [
"MIT"
] | 3 | 2020-08-24T01:59:48.000Z | 2021-02-18T16:41:27.000Z | #include <limitless/pipeline/scene_data.hpp>
#include <limitless/core/context.hpp>
#include <limitless/core/buffer_builder.hpp>
#include <limitless/camera.hpp>
using namespace Limitless;
namespace {
constexpr auto SCENE_DATA_BUFFER_NAME = "scene_data";
}
SceneDataStorage::SceneDataStorage(Context& ctx) {
Bu... | 38.093023 | 126 | 0.714896 | Tehsapper |
3ece945fc559f14d7602b9ed64737789028e6964 | 2,774 | hpp | C++ | dev/restinio/utils/from_string.hpp | binarytrails/restinio | 3a3d6ed6c2185166e30679ab5cae8a51aea1a2f0 | [
"MIT",
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | dev/restinio/utils/from_string.hpp | binarytrails/restinio | 3a3d6ed6c2185166e30679ab5cae8a51aea1a2f0 | [
"MIT",
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | dev/restinio/utils/from_string.hpp | binarytrails/restinio | 3a3d6ed6c2185166e30679ab5cae8a51aea1a2f0 | [
"MIT",
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | /*
restinio
*/
/*!
Convert strings to numeric types.
*/
#pragma once
#include <cctype>
#include <string>
#include <limits>
#include <stdexcept>
#include <algorithm>
#include <fmt/format.h>
#include <restinio/string_view.hpp>
#include <restinio/exception.hpp>
#include "from_string_details.ipp"
namespace restini... | 19.673759 | 83 | 0.677722 | binarytrails |
3ecf38ab00949781a3c49d2c721b9209255d539b | 39,677 | cpp | C++ | Plugins/AdvancedSessions/AdvancedSessions/Intermediate/Build/Win64/UE4Editor/Inc/AdvancedSessions/AdvancedFriendsGameInstance.gen.cpp | Maskside/DriftGame | a518574f3ba4256da0cc948b9f147b4d3aaa3b5c | [
"MIT"
] | 1 | 2019-08-05T23:14:02.000Z | 2019-08-05T23:14:02.000Z | Plugins/AdvancedSessions/AdvancedSessions/Intermediate/Build/Win64/UE4Editor/Inc/AdvancedSessions/AdvancedFriendsGameInstance.gen.cpp | Maskside/DriftGame | a518574f3ba4256da0cc948b9f147b4d3aaa3b5c | [
"MIT"
] | 12 | 2019-08-05T22:30:45.000Z | 2019-08-07T21:45:39.000Z | EvilCube/Plugins/AdvancedSessions/AdvancedSessions/Intermediate/Build/Win64/UE4Editor/Inc/AdvancedSessions/AdvancedFriendsGameInstance.gen.cpp | 0Bennyman/ProjectLDR | 517ef2cdd1115cd73e74d383d80637b17945c248 | [
"Linux-OpenIB"
] | null | null | null | // Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
/*===========================================================================
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
==============================================================... | 92.058005 | 874 | 0.877587 | Maskside |
a7931c1ff13b09f0846a37116e038ced826b351e | 333 | cpp | C++ | OnlineJudgeUVa/C++/11xxx/11683 - Laser Sculpture/main.cpp | DVRodri8/Competitive-programs | db90c63aea8fa4403ae7ec735c7f7ce73c842be4 | [
"MIT"
] | null | null | null | OnlineJudgeUVa/C++/11xxx/11683 - Laser Sculpture/main.cpp | DVRodri8/Competitive-programs | db90c63aea8fa4403ae7ec735c7f7ce73c842be4 | [
"MIT"
] | null | null | null | OnlineJudgeUVa/C++/11xxx/11683 - Laser Sculpture/main.cpp | DVRodri8/Competitive-programs | db90c63aea8fa4403ae7ec735c7f7ce73c842be4 | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int main(){
int hight, weight, n, next_n, res;
while(cin >> hight >> weight && hight != 0){
cin >> n;
res = hight - n;
for(;weight > 1; weight--){
cin >> next_n;
if(n > next_n) res += n - next_n;
n = next_n;
}
cout << res << endl;
}
... | 16.65 | 46 | 0.510511 | DVRodri8 |
a7948639a90f294fd23bddf2a0c1c604f622769d | 8,957 | hpp | C++ | ReactNativeFrontend/ios/Pods/boost/boost/numeric/ublas/tensor/expression_evaluation.hpp | Harshitha91/Tmdb-react-native-node | e06e3f25a7ee6946ef07a1f524fdf62e48424293 | [
"Apache-2.0"
] | 12,278 | 2015-01-29T17:11:33.000Z | 2022-03-31T21:12:00.000Z | ReactNativeFrontend/ios/Pods/boost/boost/numeric/ublas/tensor/expression_evaluation.hpp | Harshitha91/Tmdb-react-native-node | e06e3f25a7ee6946ef07a1f524fdf62e48424293 | [
"Apache-2.0"
] | 9,469 | 2015-01-30T05:33:07.000Z | 2022-03-31T16:17:21.000Z | ReactNativeFrontend/ios/Pods/boost/boost/numeric/ublas/tensor/expression_evaluation.hpp | Harshitha91/Tmdb-react-native-node | e06e3f25a7ee6946ef07a1f524fdf62e48424293 | [
"Apache-2.0"
] | 892 | 2015-01-29T16:26:19.000Z | 2022-03-20T07:44:30.000Z | //
// Copyright (c) 2018-2019, Cem Bassoy, cem.bassoy@gmail.com
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// The authors gratefully acknowledge the support of
// Fraunhofer IOSB, Ettlingen, Germ... | 30.99308 | 167 | 0.726248 | Harshitha91 |
a794e9c3b2b7b4021dd9bc5360e76d720f00477f | 2,383 | cpp | C++ | src/presentation/enrollevent.cpp | vieiramanoel/TP1-2019-1 | 4d68de98efcb0b77d921b3b0dc4c922a41ac7db3 | [
"MIT"
] | null | null | null | src/presentation/enrollevent.cpp | vieiramanoel/TP1-2019-1 | 4d68de98efcb0b77d921b3b0dc4c922a41ac7db3 | [
"MIT"
] | null | null | null | src/presentation/enrollevent.cpp | vieiramanoel/TP1-2019-1 | 4d68de98efcb0b77d921b3b0dc4c922a41ac7db3 | [
"MIT"
] | null | null | null | #include <presentation/enrollevent.h>
#include "ui_enrollevent.h"
#include <iostream>
#include <sstream>
EnrollEvent::EnrollEvent(QWidget *parent, std::shared_ptr<EventContainer> ec, std::shared_ptr<PresentationsContainer> pc) : QWidget (parent),
ui(new Ui::EnrollEvent)
{
ui->setupUi(this);
events_containe... | 25.623656 | 141 | 0.706253 | vieiramanoel |
a795393e249d531a2d390700d23cda9d267ac487 | 6,807 | cpp | C++ | kernel/runtime/dmzRuntimeContextMessaging.cpp | dmzgroup/dmz | fc2d9ddcb04ed71f4106b8d33539529807b3dea6 | [
"MIT"
] | 2 | 2015-11-05T03:03:43.000Z | 2017-05-15T12:55:39.000Z | kernel/runtime/dmzRuntimeContextMessaging.cpp | dmzgroup/dmz | fc2d9ddcb04ed71f4106b8d33539529807b3dea6 | [
"MIT"
] | null | null | null | kernel/runtime/dmzRuntimeContextMessaging.cpp | dmzgroup/dmz | fc2d9ddcb04ed71f4106b8d33539529807b3dea6 | [
"MIT"
] | null | null | null | #include "dmzRuntimeContextDefinitions.h"
#include "dmzRuntimeContextMessaging.h"
#include "dmzRuntimeMessageContext.h"
dmz::Message
dmz::RuntimeContextDefinitions::create_message (
const String &Name,
const String &ParentName,
RuntimeContext *context,
RuntimeContextMessaging *messagingContext)... | 23.391753 | 87 | 0.595563 | dmzgroup |
a795a6b641042be7518f02828585a77f3defbc63 | 9,206 | cpp | C++ | Text/orientationHandler.cpp | ntclark/Graphic | 86acc119d172bb53c1666432538836b461d8a3f2 | [
"BSD-3-Clause"
] | 12 | 2018-03-15T00:20:55.000Z | 2021-08-11T10:02:15.000Z | Text/orientationHandler.cpp | ntclark/Graphic | 86acc119d172bb53c1666432538836b461d8a3f2 | [
"BSD-3-Clause"
] | null | null | null | Text/orientationHandler.cpp | ntclark/Graphic | 86acc119d172bb53c1666432538836b461d8a3f2 | [
"BSD-3-Clause"
] | 2 | 2019-04-09T17:15:31.000Z | 2020-12-05T19:52:59.000Z | // Copyright 2018 InnoVisioNate Inc. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "text.h"
#include <stdio.h>
#include <commctrl.h>
#include "Graphic_resource.h"
LRESULT CALLBACK Text::orientationHandler(HWND hwnd,UINT msg,WP... | 35.682171 | 151 | 0.623941 | ntclark |
a7962e72628836bbaf732ecc20253b7b84be3e94 | 1,596 | hpp | C++ | include/uvpp/handle.hpp | leoxiaofei/uvpp | e4fd4ccdbd29a456c7c36d95d5e56a0b7c999080 | [
"MIT"
] | 1 | 2022-03-23T08:01:28.000Z | 2022-03-23T08:01:28.000Z | include/uvpp/handle.hpp | leoxiaofei/uvpp | e4fd4ccdbd29a456c7c36d95d5e56a0b7c999080 | [
"MIT"
] | null | null | null | include/uvpp/handle.hpp | leoxiaofei/uvpp | e4fd4ccdbd29a456c7c36d95d5e56a0b7c999080 | [
"MIT"
] | null | null | null | #pragma once
#include "error.hpp"
#include "callback.hpp"
namespace uvpp {
/**
* Wraps a libuv's uv_handle_t, or derived such as uv_stream_t, uv_tcp_t etc.
*
* Resources are released on the close call as mandated by libuv and NOT on the dtor
*/
template<typename HANDLE_O, typename HANDLE_T>
class Handle
... | 17.538462 | 85 | 0.654762 | leoxiaofei |
a79a5e364fc17e882ff36c65673d68b9cc638b54 | 269 | hpp | C++ | include/philchess/uci/cli.hpp | philipplenk/paulchen332 | a0796a1b506854a0a91b14b66fc383c6f120bc9f | [
"BSD-2-Clause"
] | 4 | 2020-12-12T16:55:23.000Z | 2021-12-17T17:19:11.000Z | include/philchess/uci/cli.hpp | philipplenk/paulchen332 | a0796a1b506854a0a91b14b66fc383c6f120bc9f | [
"BSD-2-Clause"
] | 4 | 2020-11-25T11:20:01.000Z | 2022-02-05T09:38:31.000Z | include/philchess/uci/cli.hpp | philipplenk/paulchen332 | a0796a1b506854a0a91b14b66fc383c6f120bc9f | [
"BSD-2-Clause"
] | null | null | null | #ifndef PHILCHESS_UCI_CLI_H
#define PHILCHESS_UCI_CLI_H
namespace philchess {
namespace uci
{
template <typename ENGINE_T, typename IO_T, typename ...ARGS_T>
void run_cli(IO_T io, ARGS_T&&... args);
}} //end namespace philchess:uci
#include "cli_impl.hpp"
#endif
| 19.214286 | 64 | 0.758364 | philipplenk |
a79b730fc6dffc2d26ef865b38379f8532b52a52 | 5,459 | hpp | C++ | src/q/mpmc_flexible_lock_queue.hpp | KjellKod/QMPSC | 1cb20d22a6d6c14e14fad3612bd1532fdffbabde | [
"Unlicense"
] | 1 | 2018-09-21T09:39:15.000Z | 2018-09-21T09:39:15.000Z | src/q/mpmc_flexible_lock_queue.hpp | KjellKod/QMPSC | 1cb20d22a6d6c14e14fad3612bd1532fdffbabde | [
"Unlicense"
] | null | null | null | src/q/mpmc_flexible_lock_queue.hpp | KjellKod/QMPSC | 1cb20d22a6d6c14e14fad3612bd1532fdffbabde | [
"Unlicense"
] | null | null | null | /** ==========================================================================
* Not any company's property but Public-Domain
* Do with source-code as you will. No requirement to keep this
* header if need to use it/change it/ or do whatever with it
*
* Note that there is No guarantee that this code will work
* and I t... | 29.668478 | 98 | 0.621909 | KjellKod |
a79e9cf3d018a84485c909f5306a7f4defd3a08a | 5,019 | cpp | C++ | Samples/LuckyDraw/Source/CViewInit.cpp | tsukoyumi/skylicht-engine | 3b88d9718e87e552152633ef60e3f889869b71de | [
"MIT"
] | 310 | 2019-11-25T04:14:11.000Z | 2022-03-31T23:39:19.000Z | Samples/LuckyDraw/Source/CViewInit.cpp | tsukoyumi/skylicht-engine | 3b88d9718e87e552152633ef60e3f889869b71de | [
"MIT"
] | 79 | 2019-11-17T07:51:02.000Z | 2022-03-22T08:49:41.000Z | Samples/LuckyDraw/Source/CViewInit.cpp | tsukoyumi/skylicht-engine | 3b88d9718e87e552152633ef60e3f889869b71de | [
"MIT"
] | 24 | 2020-05-10T09:37:55.000Z | 2022-03-05T13:19:31.000Z | #include "pch.h"
#include "CViewInit.h"
#include "CViewDemo.h"
#include "CLocalize.h"
#include "ViewManager/CViewManager.h"
#include "Context/CContext.h"
#include "GridPlane/CGridPlane.h"
#include "SkyDome/CSkyDome.h"
CViewInit::CViewInit() :
m_initState(CViewInit::DownloadBundles),
m_getFile(NULL),
m_downloaded(... | 22.40625 | 83 | 0.708109 | tsukoyumi |
a7a9873d1b73ac3d2568f56a5099ef89f68c7288 | 1,548 | cpp | C++ | ewk/unittest/utc_blink_ewk_settings_loads_images_automatically_set_func.cpp | Jabawack/chromium-efl | 6d3a3accc8afba0aa0eff6461eb5c83138172e6e | [
"BSD-3-Clause"
] | null | null | null | ewk/unittest/utc_blink_ewk_settings_loads_images_automatically_set_func.cpp | Jabawack/chromium-efl | 6d3a3accc8afba0aa0eff6461eb5c83138172e6e | [
"BSD-3-Clause"
] | null | null | null | ewk/unittest/utc_blink_ewk_settings_loads_images_automatically_set_func.cpp | Jabawack/chromium-efl | 6d3a3accc8afba0aa0eff6461eb5c83138172e6e | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2014 Samsung Electronics. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "utc_blink_ewk_base.h"
class utc_blink_ewk_settings_load_images_automatically_set : public utc_blink_ewk_base {
};
/**
* @brief Tests if retur... | 28.145455 | 88 | 0.768734 | Jabawack |
a7ae7f1bebd880fe5048a3818db152d226f6478e | 4,735 | cc | C++ | wcd/src/DetectorConstruction.cc | lagoproject/sims | bc34510b803136c770ecd9c789dc7cfade2ccbbd | [
"BSD-3-Clause"
] | null | null | null | wcd/src/DetectorConstruction.cc | lagoproject/sims | bc34510b803136c770ecd9c789dc7cfade2ccbbd | [
"BSD-3-Clause"
] | null | null | null | wcd/src/DetectorConstruction.cc | lagoproject/sims | bc34510b803136c770ecd9c789dc7cfade2ccbbd | [
"BSD-3-Clause"
] | null | null | null |
// Geant4 Libraries
//
#include "G4Material.hh"
#include "G4Element.hh"
#include "G4LogicalBorderSurface.hh"
#include "G4LogicalSkinSurface.hh"
#include "G4OpticalSurface.hh"
#include "G4MultiFunctionalDetector.hh"
#include "G4VPrimitiveScorer.hh"
#include "G4PSEnergyDeposit.hh"
#include "G4VPhysicalVolume.hh"
#incl... | 27.852941 | 113 | 0.745512 | lagoproject |
a7b0240148a4f75a7c44199a0b79e18db1909cd8 | 7,135 | cpp | C++ | test/interconnection/steiner_tree_test.cpp | sheiny/ophidian | 037ae44357e0093d60b379513615b467c1f841cf | [
"Apache-2.0"
] | 40 | 2016-04-22T14:42:42.000Z | 2021-05-25T23:14:23.000Z | test/interconnection/steiner_tree_test.cpp | sheiny/ophidian | 037ae44357e0093d60b379513615b467c1f841cf | [
"Apache-2.0"
] | 64 | 2016-04-28T21:10:47.000Z | 2017-11-07T11:33:17.000Z | test/interconnection/steiner_tree_test.cpp | eclufsc/openeda | 037ae44357e0093d60b379513615b467c1f841cf | [
"Apache-2.0"
] | 25 | 2016-04-18T19:31:48.000Z | 2021-05-05T15:50:41.000Z | #include <catch.hpp>
#include <ophidian/interconnection/SteinerTree.h>
#include <ophidian/geometry/Distance.h>
#include <memory>
#include <algorithm>
using namespace ophidian::interconnection;
using namespace ophidian::geometry;
TEST_CASE("Steiner Tree/empty steiner tree", "[interconnection]")
{
auto tree = Stei... | 44.04321 | 135 | 0.685074 | sheiny |
a7b6a94f6dc93d5b65087423379d3e9f9d28e2bf | 373 | cpp | C++ | package/test_vcpkg/example.cpp | kmhofmann/selene | 11718e1a7de6ff6251c46e4ef429a7cfb1bdb9eb | [
"MIT"
] | 284 | 2017-11-20T08:23:54.000Z | 2022-03-30T12:52:00.000Z | package/conan/test_package/example.cpp | kmhofmann/selene | 11718e1a7de6ff6251c46e4ef429a7cfb1bdb9eb | [
"MIT"
] | 9 | 2018-02-14T08:21:41.000Z | 2021-07-27T19:52:12.000Z | package/test_vcpkg/example.cpp | kmhofmann/selene | 11718e1a7de6ff6251c46e4ef429a7cfb1bdb9eb | [
"MIT"
] | 17 | 2018-03-10T00:01:36.000Z | 2021-06-29T10:44:27.000Z | #include "selene/img/typed/Image.hpp"
#include "selene/img/typed/ImageTypeAliases.hpp"
#include "selene/img_ops/ImageConversions.hpp"
#include <iostream>
int main() {
using namespace sln::literals;
sln::Image_8u3 img0({20_px, 20_px});
const auto img1 = sln::convert_image<sln::PixelFormat::RGB, sln::PixelFormat... | 23.3125 | 89 | 0.710456 | kmhofmann |
a7b832630215f0c09ca62c3291a61f31e1897841 | 626 | cpp | C++ | result.cpp | Chiburu/ncl | 4dcc061efaf623e21af4bb9eda309bd982ec2967 | [
"MIT"
] | null | null | null | result.cpp | Chiburu/ncl | 4dcc061efaf623e21af4bb9eda309bd982ec2967 | [
"MIT"
] | null | null | null | result.cpp | Chiburu/ncl | 4dcc061efaf623e21af4bb9eda309bd982ec2967 | [
"MIT"
] | null | null | null | #include "result.h"
Result::Result(STATUS status)
: status_(status)
, values_()
{}
STATUS Result::status() const
{
return status_;
}
STATUS Result::error() const
{
return ERR(status_);
}
bool Result::hasError() const
{
return error() != NOERROR;
}
bool Result::noError() const
{
... | 14.904762 | 63 | 0.640575 | Chiburu |
a7b9d07fb7f2a3f1a17791b35f7ea88602dd4ff2 | 8,559 | hpp | C++ | cpp-projects/base/geometry/point3.hpp | FlorianLance/toolbox | 87882a14ec86852d90527c81475b451b9f6e12cf | [
"MIT"
] | null | null | null | cpp-projects/base/geometry/point3.hpp | FlorianLance/toolbox | 87882a14ec86852d90527c81475b451b9f6e12cf | [
"MIT"
] | null | null | null | cpp-projects/base/geometry/point3.hpp | FlorianLance/toolbox | 87882a14ec86852d90527c81475b451b9f6e12cf | [
"MIT"
] | 1 | 2021-07-06T14:47:41.000Z | 2021-07-06T14:47:41.000Z |
/*******************************************************************************
** Toolbox-base **
** MIT License **
** Copyright (c) [2018] [Florian Lance] ... | 28.915541 | 86 | 0.577053 | FlorianLance |
a7c1ac8a2cdfb1dc66af9cdb4b14b51fdcd1b638 | 958 | cpp | C++ | src/fsm-editor/nodes/condnode.cpp | AsuMagic/centauri-fsm-editor | 0830969dd0c1548870ab71efa8b36a77fc40dbd4 | [
"MIT"
] | null | null | null | src/fsm-editor/nodes/condnode.cpp | AsuMagic/centauri-fsm-editor | 0830969dd0c1548870ab71efa8b36a77fc40dbd4 | [
"MIT"
] | null | null | null | src/fsm-editor/nodes/condnode.cpp | AsuMagic/centauri-fsm-editor | 0830969dd0c1548870ab71efa8b36a77fc40dbd4 | [
"MIT"
] | null | null | null | #include "condnode.hpp"
#include "../editor.hpp"
#include "../visitors/predvisitor.hpp"
#include "../visitors/noderenderer.hpp"
namespace fsme
{
namespace nodes
{
CondNode::CondNode(FsmEditor& editor, ax::NodeEditor::NodeId id) :
Node(editor, id)
{
resize_pins(m_inputs, 1);
set_output_count(1);
}
void CondNode::... | 18.784314 | 88 | 0.718163 | AsuMagic |
a7c387469c9c704406af01f88dafef2b4b710ac2 | 2,265 | cpp | C++ | OmegaUp/riceHub.cpp | CaDe27/Co-digos | 9eea1dbf6ed06fd115391328c0a2481029c83fc0 | [
"MIT"
] | null | null | null | OmegaUp/riceHub.cpp | CaDe27/Co-digos | 9eea1dbf6ed06fd115391328c0a2481029c83fc0 | [
"MIT"
] | null | null | null | OmegaUp/riceHub.cpp | CaDe27/Co-digos | 9eea1dbf6ed06fd115391328c0a2481029c83fc0 | [
"MIT"
] | null | null | null | //hacemos busqueda binaria sobre la cantidad maxima de camiones
// para probar si puedes hacer que k camiones te mande, solo hay que hacer un reccorido sobre el arreglo
// sobre cada posible k-tupla de campos consecutivos
// debes demostrar que el mejor lugar para tomar una k tupla es entre los dos campos centrales o ... | 31.458333 | 109 | 0.624283 | CaDe27 |
a7c3f6afeca5cf32eda70608ea52da0e13de643f | 16,488 | cpp | C++ | test/unit/alphabet/composite/composite_integration_test.cpp | SGSSGene/seqan3 | ab9ccb94d02c2f27b9b73b134ee2713de91bf722 | [
"CC0-1.0",
"CC-BY-4.0"
] | null | null | null | test/unit/alphabet/composite/composite_integration_test.cpp | SGSSGene/seqan3 | ab9ccb94d02c2f27b9b73b134ee2713de91bf722 | [
"CC0-1.0",
"CC-BY-4.0"
] | null | null | null | test/unit/alphabet/composite/composite_integration_test.cpp | SGSSGene/seqan3 | ab9ccb94d02c2f27b9b73b134ee2713de91bf722 | [
"CC0-1.0",
"CC-BY-4.0"
] | null | null | null | // -----------------------------------------------------------------------------------------------------
// Copyright (c) 2006-2019, Knut Reinert & Freie Universität Berlin
// Copyright (c) 2016-2019, Knut Reinert & MPI für molekulare Genetik
// This file may be used, modified and/or redistributed under the terms of th... | 40.811881 | 129 | 0.576237 | SGSSGene |
a7c433984ede093460d064b29f7f8246ecc5e21d | 623 | cpp | C++ | src/components/animatedtextureddrawable.cpp | wareya/kotareci | 14c87d1364d442456f93cebe73a288f85b79ba74 | [
"Libpng"
] | null | null | null | src/components/animatedtextureddrawable.cpp | wareya/kotareci | 14c87d1364d442456f93cebe73a288f85b79ba74 | [
"Libpng"
] | null | null | null | src/components/animatedtextureddrawable.cpp | wareya/kotareci | 14c87d1364d442456f93cebe73a288f85b79ba74 | [
"Libpng"
] | null | null | null | #include "drawingcomponents.hpp"
namespace Sys
{
AnimatedTexturedDrawable::AnimatedTexturedDrawable(entityid_t myEntity, double argx, double argy, double argxoffset, double argyoffset, int arglength, double argwidth, double argheight)
: TexturedDrawable(myEntity, argx, argy, argxoffset, argyoffset, 1), length(... | 36.647059 | 189 | 0.730337 | wareya |
a7c5f2732105dc69e1c2f5f19f7c6b8b4439f0a1 | 1,404 | cpp | C++ | Implementations/12 - Graphs Hard (4)/12.4 - Tarjan BCC.cpp | Senpat/USACO | 7f65e083e70c10b43224c6e1acbab79af249b942 | [
"MIT"
] | null | null | null | Implementations/12 - Graphs Hard (4)/12.4 - Tarjan BCC.cpp | Senpat/USACO | 7f65e083e70c10b43224c6e1acbab79af249b942 | [
"MIT"
] | null | null | null | Implementations/12 - Graphs Hard (4)/12.4 - Tarjan BCC.cpp | Senpat/USACO | 7f65e083e70c10b43224c6e1acbab79af249b942 | [
"MIT"
] | null | null | null | /**
* Description:
* Source: GeeksForGeeks (corrected)
* Verification: USACO December 2017, Push a Box
* https://pastebin.com/yUWuzTH8
*/
template<int SZ> struct BCC {
int N;
vi adj[SZ];
vector<vpi> fin;
void addEdge(int u, int v) { adj[u].pb(v), adj[v].pb(u); }
int ti = 0, disc[SZ],... | 27.529412 | 97 | 0.39245 | Senpat |
a7c8de8d3bb76bf649204a5b379d39a7f971de2b | 9,479 | hpp | C++ | include/boost/simd/arch/common/simd/function/ldexp.hpp | nickporubsky/boost-simd-clone | b81dfcd9d6524a131ea714f1eebb5bb75adddcc7 | [
"BSL-1.0"
] | 5 | 2018-02-20T11:21:12.000Z | 2019-11-12T13:45:09.000Z | include/boost/simd/arch/common/simd/function/ldexp.hpp | nickporubsky/boost-simd-clone | b81dfcd9d6524a131ea714f1eebb5bb75adddcc7 | [
"BSL-1.0"
] | null | null | null | include/boost/simd/arch/common/simd/function/ldexp.hpp | nickporubsky/boost-simd-clone | b81dfcd9d6524a131ea714f1eebb5bb75adddcc7 | [
"BSL-1.0"
] | 2 | 2017-11-17T15:30:36.000Z | 2018-03-01T02:06:25.000Z | //==================================================================================================
/*!
@file
@copyright 2016 NumScale SAS
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
//===========================... | 34.721612 | 100 | 0.503218 | nickporubsky |
a7c9f82b6f9f33e9e4028f3fcfb0afa2078e1898 | 558 | cpp | C++ | LeetCode/sqrtx.cpp | SusmoySenGupta/online-judge-solutions | 8735a1bc71a05dc46255664c3ec6f47f042bfa6c | [
"MIT"
] | null | null | null | LeetCode/sqrtx.cpp | SusmoySenGupta/online-judge-solutions | 8735a1bc71a05dc46255664c3ec6f47f042bfa6c | [
"MIT"
] | null | null | null | LeetCode/sqrtx.cpp | SusmoySenGupta/online-judge-solutions | 8735a1bc71a05dc46255664c3ec6f47f042bfa6c | [
"MIT"
] | null | null | null | /*
author: Susmoy Sen Gupta
problem link: https://leetcode.com/problems/sqrtx/
Runtime: 0ms
*/
class Solution {
public:
int mySqrt(int x) {
if(x == 0 || x == 1) return x;
int left = 1, right = x;
while(left < right)
{
int mid = left + (right - le... | 21.461538 | 51 | 0.405018 | SusmoySenGupta |
a7cbd9540ad1ff7a2714e40711f3852cbef0bff7 | 3,039 | cpp | C++ | cpp/src/runtime/cifar10.cpp | fragata-ai/arhat | e22e6655ee83140be30b9657e63af1593e3054ed | [
"Apache-2.0"
] | 23 | 2019-11-28T13:52:04.000Z | 2021-12-20T03:00:07.000Z | cpp/src/runtime/cifar10.cpp | fragata-ai/arhat | e22e6655ee83140be30b9657e63af1593e3054ed | [
"Apache-2.0"
] | 1 | 2019-12-05T09:17:39.000Z | 2019-12-05T10:57:30.000Z | cpp/src/runtime/cifar10.cpp | fragata-ai/arhat | e22e6655ee83140be30b9657e63af1593e3054ed | [
"Apache-2.0"
] | 2 | 2019-12-03T00:02:26.000Z | 2019-12-04T17:01:00.000Z | //
// Copyright 2019-2020 FRAGATA COMPUTER SYSTEMS AG
// Copyright 2017-2018 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
//
// http://www.apache.org/licenses/LIC... | 25.115702 | 84 | 0.62718 | fragata-ai |
a7cca33ad4ca6b1c5b649674d112cc20be866805 | 870 | cpp | C++ | src/ui/starred-files-list-model.cpp | Kashif-Nadeem/seafile-client | 999b3d0775d91aa7da51a66326134aabd5009a0e | [
"Apache-2.0"
] | 387 | 2015-01-01T14:20:30.000Z | 2022-03-29T04:30:36.000Z | src/ui/starred-files-list-model.cpp | Kashif-Nadeem/seafile-client | 999b3d0775d91aa7da51a66326134aabd5009a0e | [
"Apache-2.0"
] | 755 | 2015-01-03T17:00:46.000Z | 2022-03-31T07:10:45.000Z | src/ui/starred-files-list-model.cpp | Kashif-Nadeem/seafile-client | 999b3d0775d91aa7da51a66326134aabd5009a0e | [
"Apache-2.0"
] | 310 | 2015-01-09T00:45:56.000Z | 2022-03-18T12:17:51.000Z | #include <QTimer>
#include <QHash>
#include <QDebug>
#include <algorithm> // std::sort
#include "utils/utils.h"
#include "seafile-applet.h"
#include "main-window.h"
#include "rpc/rpc-client.h"
#include "starred-file-item.h"
#include "starred-files-list-model.h"
namespace {
bool compareFileByTimestamp(con... | 20.232558 | 75 | 0.672414 | Kashif-Nadeem |
a7d10b7c07c7d14b192486f8ca487383eeb9ef1b | 604 | cpp | C++ | Timus/1086-2.cpp | s9v/toypuct | 68e65e6da5922af340de72636a9a4f136454c70d | [
"MIT"
] | null | null | null | Timus/1086-2.cpp | s9v/toypuct | 68e65e6da5922af340de72636a9a4f136454c70d | [
"MIT"
] | null | null | null | Timus/1086-2.cpp | s9v/toypuct | 68e65e6da5922af340de72636a9a4f136454c70d | [
"MIT"
] | null | null | null | # include <iostream>
using namespace std;
int prost[16000];
int i,j,k,x,n;
bool flag;
void look(int x)
{
int i;
i=prost[k];
while( k!=x )
{
i=i+2;
flag=true;
for ( int j=1 ; j<=k ; j++ )
{
if( i%prost[j]==0 )
{
flag=false;
break;
}
if( prost[j]*prost[j]>i )
break; // Th... | 9.4375 | 35 | 0.466887 | s9v |
a7d2d6665ccbacaa63493253ffbe66dadf3f8f4a | 17,560 | cc | C++ | RedBlackTree.cc | JanX2/red-black-and-interval-trees | 4b78646b63ac95dfaac5c3756cfd1ebf4d165a32 | [
"BSD-3-Clause"
] | null | null | null | RedBlackTree.cc | JanX2/red-black-and-interval-trees | 4b78646b63ac95dfaac5c3756cfd1ebf4d165a32 | [
"BSD-3-Clause"
] | 1 | 2018-10-30T21:19:23.000Z | 2018-10-30T21:19:23.000Z | RedBlackTree.cc | JanX2/red-black-and-interval-trees | 4b78646b63ac95dfaac5c3756cfd1ebf4d165a32 | [
"BSD-3-Clause"
] | null | null | null | #include "RedBlackTree.h"
#include <stdio.h>
#include <math.h>
// If the symbol CHECK_RB_TREE_ASSUMPTIONS is defined then the
// code does a lot of extra checking to make sure certain assumptions
// are satisfied. This only needs to be done if you suspect bugs are
// present or if you make significant changes and wan... | 28.00638 | 88 | 0.552961 | JanX2 |
a7d315693421da6a9170f0ecca63ab3e87792c54 | 1,488 | cpp | C++ | clang-tools-extra/test/clang-tidy/checkers/llvm-namespace-comment.cpp | DougGregor/llvm-project | 97602a8bd045f087e02348b64ffbdd143a33e10b | [
"Apache-2.0"
] | 1 | 2022-03-28T05:58:03.000Z | 2022-03-28T05:58:03.000Z | clang-tools-extra/test/clang-tidy/checkers/llvm-namespace-comment.cpp | DougGregor/llvm-project | 97602a8bd045f087e02348b64ffbdd143a33e10b | [
"Apache-2.0"
] | null | null | null | clang-tools-extra/test/clang-tidy/checkers/llvm-namespace-comment.cpp | DougGregor/llvm-project | 97602a8bd045f087e02348b64ffbdd143a33e10b | [
"Apache-2.0"
] | null | null | null | // RUN: %check_clang_tidy %s llvm-namespace-comment %t
namespace n1 {
namespace n2 {
void f();
// CHECK-MESSAGES: :[[@LINE+2]]:1: warning: namespace 'n2' not terminated with a closing comment [llvm-namespace-comment]
// CHECK-MESSAGES: :[[@LINE+1]]:2: warning: namespace 'n1' not terminated with a closing comme... | 35.428571 | 145 | 0.693548 | DougGregor |
a7d384bf9c47725b0ffebbfba3faa312be98a32f | 664 | cpp | C++ | CascadedShadowMaps11/WaitDlg.cpp | wjingzhe/CascadedShadowMaps11 | ff6adcccfef9932ebf4c173acc30459f7389176e | [
"MIT"
] | null | null | null | CascadedShadowMaps11/WaitDlg.cpp | wjingzhe/CascadedShadowMaps11 | ff6adcccfef9932ebf4c173acc30459f7389176e | [
"MIT"
] | null | null | null | CascadedShadowMaps11/WaitDlg.cpp | wjingzhe/CascadedShadowMaps11 | ff6adcccfef9932ebf4c173acc30459f7389176e | [
"MIT"
] | 1 | 2020-11-22T09:40:46.000Z | 2020-11-22T09:40:46.000Z | #include "WaitDlg.h"
INT_PTR WaitDialogProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
{
CWaitDlg* pDialog = (CWaitDlg*)GetWindowLongPtr(hwndDlg, GWLP_USERDATA);
switch (uMsg)
{
case WM_INITDIALOG:
return true;
break;
case WM_CLOSE:
pDialog->DestroyDialog();
return TRUE;
break;
}
return... | 17.025641 | 90 | 0.715361 | wjingzhe |
a7d9dd86299cbdcef75a4e208831de4ea440c379 | 844 | cpp | C++ | FtsUtilityAI/Source/FtsUtilityAI/Private/FtsUtilityAiObject.cpp | FreetimeStudio/FtsUtilityAI | cf1f214d685fcc3c24f426881bdad6c8257e36e3 | [
"MIT"
] | 1 | 2021-03-02T02:45:00.000Z | 2021-03-02T02:45:00.000Z | FtsUtilityAI/Source/FtsUtilityAI/Private/FtsUtilityAiObject.cpp | FreetimeStudio/FtsUtilityAI | cf1f214d685fcc3c24f426881bdad6c8257e36e3 | [
"MIT"
] | null | null | null | FtsUtilityAI/Source/FtsUtilityAI/Private/FtsUtilityAiObject.cpp | FreetimeStudio/FtsUtilityAI | cf1f214d685fcc3c24f426881bdad6c8257e36e3 | [
"MIT"
] | null | null | null | // (c) MIT 2020 by FreetimeStudio
#include "FtsUtilityAiObject.h"
UFtsUtilityAiObject::UFtsUtilityAiObject()
: Super()
{
UtilityId = NAME_None;
}
void UFtsUtilityAiObject::SetUtilityId(const FName& NewId)
{
UtilityId = NewId;
}
FName UFtsUtilityAiObject::GetUtilityId() const
{
return UtilityId;
}
... | 16.230769 | 90 | 0.768957 | FreetimeStudio |
a7daa5db671caeb7f4d8cda0d4afeae778645cdf | 1,004 | hpp | C++ | include/cynodelic/mulinum/detail/enable_if.hpp | cynodelic/mulinum | fc7b9e750aadaede2cee8d840e65fa3832787764 | [
"BSL-1.0"
] | null | null | null | include/cynodelic/mulinum/detail/enable_if.hpp | cynodelic/mulinum | fc7b9e750aadaede2cee8d840e65fa3832787764 | [
"BSL-1.0"
] | null | null | null | include/cynodelic/mulinum/detail/enable_if.hpp | cynodelic/mulinum | fc7b9e750aadaede2cee8d840e65fa3832787764 | [
"BSL-1.0"
] | null | null | null | // Copyright (c) 2021 Álvaro Ceballos
// Distributed under the Boost Software License, Version 1.0.
// See accompanying file LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt
/**
* @file enable_if.hpp
*
* @brief Defines the `enable_if` template alias.
*/
#ifndef CYNODELIC_MULINUM_DETAIL_ENABLE_IF_HPP
#defi... | 19.686275 | 80 | 0.72012 | cynodelic |
a7db28f1c395e3cab6ac3f19f675f30df5026599 | 700 | cpp | C++ | comprecttransform.cpp | dibu13/Qt-2D-Painter | 9e8e0416e5e8424d1dfbf91d5c5c3a47e481ae6a | [
"MIT"
] | null | null | null | comprecttransform.cpp | dibu13/Qt-2D-Painter | 9e8e0416e5e8424d1dfbf91d5c5c3a47e481ae6a | [
"MIT"
] | 2 | 2019-02-22T13:42:09.000Z | 2019-04-02T19:09:45.000Z | comprecttransform.cpp | dibu13/Qt-2D-Painter | 9e8e0416e5e8424d1dfbf91d5c5c3a47e481ae6a | [
"MIT"
] | 1 | 2019-10-10T12:19:55.000Z | 2019-10-10T12:19:55.000Z | #include "comprecttransform.h"
#include "gameobject.h"
#include <iostream>
CompRectTransform::CompRectTransform(GameObject* gameobject, float p_x, float p_y, float s_x, float s_y) :
Component (gameobject, RECT_TRANSFORM),
pos_x(p_x),
pos_y(p_y),
scale_x(s_x),
scale_y(s_y)
{
}
void CompRectTransfor... | 20 | 106 | 0.561429 | dibu13 |
a7e313f28cdfb1a7c249e8e69786ffc54ee92f62 | 4,159 | cc | C++ | src/core/sibyl/util/Config.cc | arjun-k-r/Sibyl | ae2edbb09f58e8b1cef79470e8ca9c02c244fdcb | [
"Apache-2.0"
] | 34 | 2017-03-01T05:49:17.000Z | 2022-01-01T15:30:06.000Z | src/core/sibyl/util/Config.cc | arjun-k-r/Sibyl | ae2edbb09f58e8b1cef79470e8ca9c02c244fdcb | [
"Apache-2.0"
] | 1 | 2018-12-19T17:02:52.000Z | 2018-12-19T17:02:52.000Z | src/core/sibyl/util/Config.cc | junosan/Sibyl | ae2edbb09f58e8b1cef79470e8ca9c02c244fdcb | [
"Apache-2.0"
] | 24 | 2017-09-19T01:51:50.000Z | 2022-02-04T19:53:16.000Z | /*
Copyright 2017 Hosang Yoon
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in wri... | 29.496454 | 101 | 0.520077 | arjun-k-r |
a7e494fe7eb6b45ce4255ade3396d6e9f6fa9ef1 | 203 | cpp | C++ | traits/pli.cpp | ywen-cmd/C-Templates | 3960bd4e852ed0d3b4db5203f4d125b4a725dd48 | [
"FSFAP"
] | null | null | null | traits/pli.cpp | ywen-cmd/C-Templates | 3960bd4e852ed0d3b4db5203f4d125b4a725dd48 | [
"FSFAP"
] | null | null | null | traits/pli.cpp | ywen-cmd/C-Templates | 3960bd4e852ed0d3b4db5203f4d125b4a725dd48 | [
"FSFAP"
] | null | null | null | #include<iostream>
typedef int Int;
void g(Int);
template <typename T>
void f(T i){
if(i>0)
g(-i);
}
void g(Int){
f<Int>(42);
}
int main(){
g(1);
return 0;
} | 10.684211 | 22 | 0.472906 | ywen-cmd |
a7e4c781d3ecf6b3e9829eef4c03ef2d86a19cd1 | 6,204 | cpp | C++ | uut/video/uutGraphics.cpp | kolyden/engine | cab1881a8493b591a136a5ce3d502e704fdea7bf | [
"Unlicense"
] | null | null | null | uut/video/uutGraphics.cpp | kolyden/engine | cab1881a8493b591a136a5ce3d502e704fdea7bf | [
"Unlicense"
] | null | null | null | uut/video/uutGraphics.cpp | kolyden/engine | cab1881a8493b591a136a5ce3d502e704fdea7bf | [
"Unlicense"
] | null | null | null | #include "uutGraphics.h"
#include "core/uutContext.h"
#include "uutVideo.h"
#include "uutImage.h"
#include "uutTexture.h"
#include "uutVideoBuffer.h"
#include "uutVertex2.h"
#include "uutVertex3.h"
#include "uutFont.h"
#include "uutFontFace.h"
namespace uut
{
Graphics::Graphics(Context* context)
... | 26.741379 | 115 | 0.660703 | kolyden |
a7e695c28b1ebd82ca035cac1aaef052912d75f2 | 821 | hpp | C++ | test/test_Scatter.hpp | paulfreddy/rccl | 9dfc2c183e0e0fc2ed19a5b2bdd29aa7c177dbc3 | [
"FSFAP"
] | 98 | 2017-12-29T17:34:39.000Z | 2022-03-24T00:48:38.000Z | test/test_Scatter.hpp | paulfreddy/rccl | 9dfc2c183e0e0fc2ed19a5b2bdd29aa7c177dbc3 | [
"FSFAP"
] | 136 | 2018-02-12T08:18:33.000Z | 2022-03-31T21:16:36.000Z | test/test_Scatter.hpp | paulfreddy/rccl | 9dfc2c183e0e0fc2ed19a5b2bdd29aa7c177dbc3 | [
"FSFAP"
] | 56 | 2018-06-06T14:41:21.000Z | 2022-03-08T00:52:33.000Z | /*************************************************************************
* Copyright (c) 2019-2020 Advanced Micro Devices, Inc. All rights reserved.
*
* See LICENSE.txt for license information
************************************************************************/
#ifndef TEST_SCATTER_HPP
#define TEST_SCATTER_H... | 31.576923 | 108 | 0.533496 | paulfreddy |
a7e72087fe5a4f12fa957e35d17290600630507c | 27,055 | cpp | C++ | vendor/android-tools/logd/LogKlog.cpp | dylanh333/android-unmkbootimg | 7c30a58b5bc3d208fbbbbc713717e2aae98df699 | [
"MIT"
] | 3 | 2018-04-01T18:35:29.000Z | 2020-12-18T21:09:53.000Z | vendor/android-tools/logd/LogKlog.cpp | dylanh333/android-unmkbootimg | 7c30a58b5bc3d208fbbbbc713717e2aae98df699 | [
"MIT"
] | 2 | 2017-04-24T12:29:05.000Z | 2017-05-09T12:27:10.000Z | vendor/android-tools/logd/LogKlog.cpp | dylanh333/android-unmkbootimg | 7c30a58b5bc3d208fbbbbc713717e2aae98df699 | [
"MIT"
] | null | null | null | /*
* Copyright (C) 2014 The Android Open Source Project
*
* 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 app... | 32.440048 | 81 | 0.478987 | dylanh333 |
a7e72a61d5549b381ddee10bd292ffd184542df7 | 437 | cpp | C++ | main.cpp | CryFeiFei/KTodo | cee290e69ce050810c23e23b2a24e2849251b7e4 | [
"MIT"
] | 3 | 2019-12-12T02:27:25.000Z | 2021-06-21T02:48:59.000Z | main.cpp | CryFeiFei/KTodo | cee290e69ce050810c23e23b2a24e2849251b7e4 | [
"MIT"
] | null | null | null | main.cpp | CryFeiFei/KTodo | cee290e69ce050810c23e23b2a24e2849251b7e4 | [
"MIT"
] | null | null | null | #include "mainwindow.h"
#include <QApplication>
#include <QWidget>
int main(int argc, char *argv[])
{
// Q_IMPORT_PLUGIN("D:\\QtVersion\\Qt5.13_Build_X64\\Qt5.13_X64\\plugins");
// QCoreApplication::setLibraryPaths()
// QStringList list;
// list << QString("D:\\QtVersion\\Qt5.13_Build_X64\\Qt5.13_X64\\plugins");
// Q... | 21.85 | 75 | 0.709382 | CryFeiFei |
a7e8e4488ae0bf4f49022b5322e3c2c91d660cc5 | 146 | cpp | C++ | GinX/src/GinX/Scene/System.cpp | SvenWalter201/GinX | feb9a4b262815374596fe7fa1d7dadd280879424 | [
"MIT"
] | null | null | null | GinX/src/GinX/Scene/System.cpp | SvenWalter201/GinX | feb9a4b262815374596fe7fa1d7dadd280879424 | [
"MIT"
] | null | null | null | GinX/src/GinX/Scene/System.cpp | SvenWalter201/GinX | feb9a4b262815374596fe7fa1d7dadd280879424 | [
"MIT"
] | null | null | null | #include "gxpch.h"
#include "System.h"
namespace GinX
{
System::System(const char* name, Scene* scene)
: m_Name(name), m_Scene(scene)
{
}
} | 13.272727 | 47 | 0.664384 | SvenWalter201 |
a7e90e714e449bfe2ea48319155c5449015fd2a9 | 1,208 | cpp | C++ | src/coreclr/tests/src/Interop/PInvoke/Generics/GenericsNative.Point3B.cpp | abock/runtime | b3346807be96f6089fc1538946b3611f607389e2 | [
"MIT"
] | 6 | 2020-01-04T14:02:35.000Z | 2020-01-05T15:28:09.000Z | src/coreclr/tests/src/Interop/PInvoke/Generics/GenericsNative.Point3B.cpp | abock/runtime | b3346807be96f6089fc1538946b3611f607389e2 | [
"MIT"
] | 2 | 2020-06-06T09:07:48.000Z | 2020-06-06T09:13:07.000Z | src/coreclr/tests/src/Interop/PInvoke/Generics/GenericsNative.Point3B.cpp | abock/runtime | b3346807be96f6089fc1538946b3611f607389e2 | [
"MIT"
] | 3 | 2021-02-10T16:20:05.000Z | 2021-03-12T07:55:36.000Z | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#include <stdio.h>
#include <stdint.h>
#include <xplatform.h>
#include <platformdefines.h>
struct Point3B
{
boo... | 28.093023 | 105 | 0.740066 | abock |
a7e93e21f1257860f2cf0e26953dafc4857e6049 | 2,378 | cxx | C++ | src/max5487/max5487.cxx | whpenner/upm | 3168c61d8613da62ecc7598517a1decf533d5fe7 | [
"MIT"
] | null | null | null | src/max5487/max5487.cxx | whpenner/upm | 3168c61d8613da62ecc7598517a1decf533d5fe7 | [
"MIT"
] | null | null | null | src/max5487/max5487.cxx | whpenner/upm | 3168c61d8613da62ecc7598517a1decf533d5fe7 | [
"MIT"
] | null | null | null | /*
* Author: Yevgeniy Kiveisha <yevgeniy.kiveisha@intel.com>
* Copyright (c) 2014 Intel Corporation.
*
* 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
* ... | 25.297872 | 73 | 0.664844 | whpenner |
a7eaea2c0ac29e351f4533128da0c9b69586f047 | 248 | cpp | C++ | src/common/db_type.cpp | ybbhwxfj/block-db | 2482ff6631184ecbc6329db97a2c0f8e19a6711f | [
"Apache-2.0"
] | null | null | null | src/common/db_type.cpp | ybbhwxfj/block-db | 2482ff6631184ecbc6329db97a2c0f8e19a6711f | [
"Apache-2.0"
] | null | null | null | src/common/db_type.cpp | ybbhwxfj/block-db | 2482ff6631184ecbc6329db97a2c0f8e19a6711f | [
"Apache-2.0"
] | 1 | 2021-12-28T02:25:34.000Z | 2021-12-28T02:25:34.000Z | #include "common/db_type.h"
db_type global_db_type = DB_S;
template<> enum_strings<db_type>::e2s_t enum_strings<db_type>::enum2str = {
{DB_S, "db-s"},
{DB_SN, "db-sn"},
{DB_D, "db-d"},
{DB_GRO, "db-gro"},
{DB_TK, "db-tk"},
};
| 20.666667 | 75 | 0.596774 | ybbhwxfj |
a7eca038df96b999dcfcb67641fb6cb92ec82dce | 21,591 | cpp | C++ | source/sample/transformer/T2TBatchLoader.cpp | xiaozhang521/NASToolkit | a43294f17253af92004209b9e9ada3388aa96fe4 | [
"Apache-2.0"
] | 2 | 2020-05-08T08:25:47.000Z | 2020-05-18T06:45:58.000Z | source/sample/transformer/T2TBatchLoader.cpp | Daimengli/NiuTensor | 3739e29b789801e82cc904c78740accdfc16b889 | [
"Apache-2.0"
] | null | null | null | source/sample/transformer/T2TBatchLoader.cpp | Daimengli/NiuTensor | 3739e29b789801e82cc904c78740accdfc16b889 | [
"Apache-2.0"
] | 1 | 2020-03-13T03:13:03.000Z | 2020-03-13T03:13:03.000Z | /* NiuTrans.Tensor - an open-source tensor library
* Copyright (C) 2019, Natural Language Processing Lab, Northestern University.
* 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 o... | 31.110951 | 100 | 0.547913 | xiaozhang521 |
a7f0c5f6f7868feb829def0cdb75b5f7572d4d1b | 3,069 | hpp | C++ | Source/Debug.hpp | AhsanSarwar45/OpenGLRenderer | d0905c13df5e0a9a2d4e9336d6fc60a770b5f2a2 | [
"CC0-1.0"
] | 2 | 2022-02-23T16:54:56.000Z | 2022-02-23T18:43:07.000Z | Source/Debug.hpp | AhsanSarwar45/OpenGLRenderer | d0905c13df5e0a9a2d4e9336d6fc60a770b5f2a2 | [
"CC0-1.0"
] | null | null | null | Source/Debug.hpp | AhsanSarwar45/OpenGLRenderer | d0905c13df5e0a9a2d4e9336d6fc60a770b5f2a2 | [
"CC0-1.0"
] | null | null | null | #pragma once
#include <iostream>
#include <stddef.h>
#include <stdio.h>
#define STRINGIZE(arg) STRINGIZE1(arg)
#define STRINGIZE1(arg) STRINGIZE2(arg)
#define STRINGIZE2(arg) #arg
#define CONCATENATE(arg1, arg2) CONCATENATE1(arg1, arg2)
#define CONCATENATE1(arg1, arg2) CONCATENATE2(arg1, arg2)
#define CONCATENATE... | 50.311475 | 139 | 0.608993 | AhsanSarwar45 |
a7f375b97ae9ecc6b8a21599abdfc4e787c4abf6 | 926 | hpp | C++ | sprout/functional/hash/std/complex.hpp | kariya-mitsuru/Sprout | 8274f34db498b02bff12277bac5416ea72e018cd | [
"BSL-1.0"
] | null | null | null | sprout/functional/hash/std/complex.hpp | kariya-mitsuru/Sprout | 8274f34db498b02bff12277bac5416ea72e018cd | [
"BSL-1.0"
] | null | null | null | sprout/functional/hash/std/complex.hpp | kariya-mitsuru/Sprout | 8274f34db498b02bff12277bac5416ea72e018cd | [
"BSL-1.0"
] | null | null | null | /*=============================================================================
Copyright (c) 2011-2017 Bolero MURAKAMI
https://github.com/bolero-MURAKAMI/Sprout
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.tx... | 33.071429 | 80 | 0.616631 | kariya-mitsuru |
a7f3a1b7401ad85d2505b017a0a1e7deb274cabf | 1,804 | cpp | C++ | Win32Sockets/Win32SocketsMain.cpp | kiewic/Projects | a4d3b34c0c552c127cbb0d5e7161352d937725fa | [
"MIT"
] | 7 | 2018-02-26T14:55:16.000Z | 2019-12-03T22:33:26.000Z | Win32Sockets/Win32SocketsMain.cpp | kiewic/Projects | a4d3b34c0c552c127cbb0d5e7161352d937725fa | [
"MIT"
] | 1 | 2019-02-13T13:08:32.000Z | 2019-02-14T09:05:40.000Z | Win32Sockets/Win32SocketsMain.cpp | kiewic/Projects | a4d3b34c0c552c127cbb0d5e7161352d937725fa | [
"MIT"
] | 3 | 2016-01-22T09:47:17.000Z | 2020-04-28T10:23:30.000Z | #include "stdafx.h"
void PrintHelp(wchar_t* fileName);
HRESULT InitializeWinsock();
int DoTcpServer();
int DoTcpClient();
int DoUdpReceive();
int DoUdpSend();
HRESULT DoDns(wchar_t* argument);
int wmain(int argc, wchar_t* argv[])
{
int result = 0;
HRESULT hr = S_OK;
if (FAILED(InitializeWi... | 22.271605 | 95 | 0.523282 | kiewic |
a7f4530cf25d6da6ac5bffa9d022cebcee4487d0 | 19,764 | cpp | C++ | tools/CMFCompiler/src/main.cpp | MayushKumar/Charcoal-Engine | d9494a5f748686a493389ccf141c80b973019d2e | [
"Apache-2.0"
] | 3 | 2020-04-21T07:08:28.000Z | 2022-03-15T17:19:19.000Z | tools/CMFCompiler/src/main.cpp | MayushKumar/Charcoal-Engine | d9494a5f748686a493389ccf141c80b973019d2e | [
"Apache-2.0"
] | 1 | 2020-06-06T13:03:52.000Z | 2020-06-06T13:03:52.000Z | tools/CMFCompiler/src/main.cpp | MayushKumar/Charcoal-Engine | d9494a5f748686a493389ccf141c80b973019d2e | [
"Apache-2.0"
] | 1 | 2020-06-06T10:43:25.000Z | 2020-06-06T10:43:25.000Z | #include <iostream>
#include <string>
#include <fstream>
#include <cstring>
#include <cmath>
#include <glm/glm.hpp>
#include <glm/gtc/matrix_access.hpp>
#include <tiny_obj_loader.h>
#include "defines.h"
#define DEBUG_WITHOUT_INPUT 1
void LoadWavefrontObject(std::string& filePath);
void WriteToFile(CM... | 37.717557 | 153 | 0.701275 | MayushKumar |
a7f57f3934aa458ae2da53ae78ca8b4dfba7b75d | 4,705 | cpp | C++ | SampleMathematics/Delaunay2DInsertRemove/Delaunay2DInsertRemove.cpp | bazhenovc/WildMagic | b1a7cc2140dde23d8d9a4ece52a07bd5ff938239 | [
"BSL-1.0"
] | 48 | 2015-10-07T07:26:14.000Z | 2022-03-18T14:30:07.000Z | SampleMathematics/Delaunay2DInsertRemove/Delaunay2DInsertRemove.cpp | zouxiaohang/WildMagic | b1a7cc2140dde23d8d9a4ece52a07bd5ff938239 | [
"BSL-1.0"
] | null | null | null | SampleMathematics/Delaunay2DInsertRemove/Delaunay2DInsertRemove.cpp | zouxiaohang/WildMagic | b1a7cc2140dde23d8d9a4ece52a07bd5ff938239 | [
"BSL-1.0"
] | 21 | 2015-09-01T03:14:47.000Z | 2022-01-04T04:07:46.000Z | // Geometric Tools, LLC
// Copyright (c) 1998-2012
// Distributed under the Boost Software License, Version 1.0.
// http://www.boost.org/LICENSE_1_0.txt
// http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
//
// File Version: 5.0.0 (2010/01/01)
#include "Delaunay2DInsertRemove.h"
WM5_WINDOW_APPLIC... | 25.570652 | 79 | 0.538789 | bazhenovc |
a7f68294e53a3f81df32ff5229d72597f45951ae | 52 | cpp | C++ | Unreal/CtaCpp/Runtime/Scripts/Core/ReferencePointType.cpp | areilly711/CtaApi | 8c7a80c48f2a6d02fb6680a5d8f62e6ff7da8d4c | [
"MIT"
] | 3 | 2021-06-02T16:44:02.000Z | 2022-01-24T20:20:10.000Z | Unreal/CtaCpp/Runtime/Scripts/Core/ReferencePointType.cpp | areilly711/CtaApi | 8c7a80c48f2a6d02fb6680a5d8f62e6ff7da8d4c | [
"MIT"
] | null | null | null | Unreal/CtaCpp/Runtime/Scripts/Core/ReferencePointType.cpp | areilly711/CtaApi | 8c7a80c48f2a6d02fb6680a5d8f62e6ff7da8d4c | [
"MIT"
] | null | null | null | #include "ReferencePointType.h"
namespace Cta
{
}
| 8.666667 | 32 | 0.730769 | areilly711 |
a7f88f5a7299e642c97140d226ea6960771e1114 | 1,389 | cpp | C++ | project/src/platform/emscripten/System.cpp | delahee/lime | c4bc1ff140fa27c12f580fa3b518721e2a8266f2 | [
"MIT"
] | 1 | 2020-09-16T15:18:39.000Z | 2020-09-16T15:18:39.000Z | openfl_lime/src/platform/emscripten/System.cpp | wannaphong/flappy | bc4630ca9120463c57c1d756c39c60a6dc509940 | [
"MIT"
] | 1 | 2020-11-17T00:58:59.000Z | 2020-11-17T00:58:59.000Z | openfl_lime/src/platform/emscripten/System.cpp | wannaphong/flappy | bc4630ca9120463c57c1d756c39c60a6dc509940 | [
"MIT"
] | null | null | null | #include <string>
#include <cstdlib>
#include <vector>
namespace lime {
std::string CapabilitiesGetLanguage () {
return "en-US";
//char* country = NULL;
//char* language = NULL;
//
//locale_get(&language, &country);
//
//return std::string(language) + "-" + std::string(country);
}
//d... | 15.263736 | 126 | 0.610511 | delahee |
a7fd6b0cf67d95a07042747142e2fd5580a0d5bf | 1,938 | cpp | C++ | tools/viewer/sk_app/Window.cpp | tmpvar/skia.cc | 6e36ba7bf19cc7597837bb0416882ad4d699916b | [
"Apache-2.0"
] | 3 | 2015-08-16T03:44:19.000Z | 2015-08-16T17:31:59.000Z | tools/viewer/sk_app/Window.cpp | tmpvar/skia.cc | 6e36ba7bf19cc7597837bb0416882ad4d699916b | [
"Apache-2.0"
] | null | null | null | tools/viewer/sk_app/Window.cpp | tmpvar/skia.cc | 6e36ba7bf19cc7597837bb0416882ad4d699916b | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2016 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "Window.h"
#include "SkSurface.h"
#include "SkCanvas.h"
#include "VulkanWindowContext.h"
namespace sk_app {
static bool default_char_func(SkUnichar c, uint32_t modifier... | 24.531646 | 92 | 0.666151 | tmpvar |
a7ff0a05754f96bb2438daec68ff75fadce68b15 | 3,069 | cpp | C++ | bin/Cpp/MultiAlign/src/GReader.cpp | enriqueescobar-askida/Kinito.ESTsSuite | 5a63af56d686be8376c93ce038899ef323925f67 | [
"MIT"
] | null | null | null | bin/Cpp/MultiAlign/src/GReader.cpp | enriqueescobar-askida/Kinito.ESTsSuite | 5a63af56d686be8376c93ce038899ef323925f67 | [
"MIT"
] | null | null | null | bin/Cpp/MultiAlign/src/GReader.cpp | enriqueescobar-askida/Kinito.ESTsSuite | 5a63af56d686be8376c93ce038899ef323925f67 | [
"MIT"
] | null | null | null | /***************************************************************************
* Copyright (C) 2007 by Enrique Escobar *
* Enrique.Escobar@genome.ulaval.ca *
* *
* This program is free software; you can redistribute it and/or modify *
* ... | 26.008475 | 82 | 0.52232 | enriqueescobar-askida |
c5003c34d95ac9562b1b9b1a93c5d430f6ea9370 | 553 | cpp | C++ | codeforces/1101A - Minimum Integer.cpp | Dijkstraido-2/online-judge | 31844cd8fbd5038cc5ebc6337d68229cef133a30 | [
"MIT"
] | 1 | 2018-12-25T23:55:19.000Z | 2018-12-25T23:55:19.000Z | codeforces/1101A - Minimum Integer.cpp | Dijkstraido-2/online-judge | 31844cd8fbd5038cc5ebc6337d68229cef133a30 | [
"MIT"
] | null | null | null | codeforces/1101A - Minimum Integer.cpp | Dijkstraido-2/online-judge | 31844cd8fbd5038cc5ebc6337d68229cef133a30 | [
"MIT"
] | null | null | null | //============================================================================
// Problem : 1101A - Minimum Integer
// Category : Math
//============================================================================
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
ios_base::sync_wit... | 26.333333 | 78 | 0.352622 | Dijkstraido-2 |
c5007caf3531b45b001784350636266134b65aff | 725 | cpp | C++ | C++/Katis/RadioCommercials/main.cpp | Gman0064/experiments | 00140128c2dcc1dcc4bb3dd9a01768dc29f54946 | [
"MIT"
] | null | null | null | C++/Katis/RadioCommercials/main.cpp | Gman0064/experiments | 00140128c2dcc1dcc4bb3dd9a01768dc29f54946 | [
"MIT"
] | null | null | null | C++/Katis/RadioCommercials/main.cpp | Gman0064/experiments | 00140128c2dcc1dcc4bb3dd9a01768dc29f54946 | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#include <sstream>
using namespace std;
int main() {
string n_p;
string i;
string np_str;
string i_str;
vector<int> n_p_v;
vector<int> i_v;
getline(cin, n_p);
stringstream n_p_ss(n_p);
while(getline(n_p_ss, np_str, ' ')) {
n_p_v.push_b... | 19.594595 | 68 | 0.590345 | Gman0064 |
c500fcf034ca343a8a0144b6f80e12e1b558bf68 | 128 | cpp | C++ | tensorflow-yolo-ios/dependencies/eigen/failtest/cwiseunaryview_nonconst_ctor_on_const_xpr.cpp | initialz/tensorflow-yolo-face-ios | ba74cf39168d0128e91318e65a1b88ce4d65a167 | [
"MIT"
] | 27 | 2017-06-07T19:07:32.000Z | 2020-10-15T10:09:12.000Z | tensorflow-yolo-ios/dependencies/eigen/failtest/cwiseunaryview_nonconst_ctor_on_const_xpr.cpp | initialz/tensorflow-yolo-face-ios | ba74cf39168d0128e91318e65a1b88ce4d65a167 | [
"MIT"
] | 3 | 2017-08-25T17:39:46.000Z | 2017-11-18T03:40:55.000Z | tensorflow-yolo-ios/dependencies/eigen/failtest/cwiseunaryview_nonconst_ctor_on_const_xpr.cpp | initialz/tensorflow-yolo-face-ios | ba74cf39168d0128e91318e65a1b88ce4d65a167 | [
"MIT"
] | 10 | 2017-06-16T18:04:45.000Z | 2018-07-05T17:33:01.000Z | version https://git-lfs.github.com/spec/v1
oid sha256:9ae677b1c27891a861bde79ee6d32d2708a195daf25fe25d79c571aa38dca581
size 271
| 32 | 75 | 0.882813 | initialz |
c504c7942fb8b4bcdbb14f0bef2edeae85de0d4c | 22,384 | cpp | C++ | flite/lang/indic_lang/indic_lang.cpp | Barath-Kannan/flite | 236f91a9a1e60fd25f1deed6d48022567cd7100f | [
"Apache-2.0"
] | 7 | 2017-12-10T23:02:22.000Z | 2021-08-05T21:12:11.000Z | flite/lang/indic_lang/indic_lang.cpp | Barath-Kannan/flite | 236f91a9a1e60fd25f1deed6d48022567cd7100f | [
"Apache-2.0"
] | null | null | null | flite/lang/indic_lang/indic_lang.cpp | Barath-Kannan/flite | 236f91a9a1e60fd25f1deed6d48022567cd7100f | [
"Apache-2.0"
] | 3 | 2018-10-28T03:47:09.000Z | 2020-06-04T08:54:23.000Z | #include "./indic_lang.hpp"
#include "flite/flite.hpp"
#include "flite/lexicon/lexicon.hpp"
#include "flite/synth/ffeatures.hpp"
#include "flite/synth/voice.hpp"
#include "flite/utils/tokenstream.hpp"
#include "flite/utils/val.hpp"
// clang-format off
/* ./bin/compile_regexes cst_rx_eng_digits_only "^[0-9,]+$" */
st... | 32.02289 | 100 | 0.585061 | Barath-Kannan |
c505ff3deaa0f49949fce60afd539d555478f898 | 391 | cpp | C++ | GraphComponents/charger.cpp | drewyh999/wireless_charging_scheme_simulator | 02213906f1218a59505839a1921da1c4ab8c242f | [
"MIT"
] | null | null | null | GraphComponents/charger.cpp | drewyh999/wireless_charging_scheme_simulator | 02213906f1218a59505839a1921da1c4ab8c242f | [
"MIT"
] | null | null | null | GraphComponents/charger.cpp | drewyh999/wireless_charging_scheme_simulator | 02213906f1218a59505839a1921da1c4ab8c242f | [
"MIT"
] | null | null | null | //
// Created by Dominique Zhu on 2021/3/26.
//
#include "charger.h"
double Charger::rechargeToDestination(Coordinate *destination) {
double distance = this -> getDistance(destination);
if(distance > dth){
return 0;
}
else{
return (tau * Ps)/pow(epsilon + distance,2);
}
}
Charger:... | 20.578947 | 77 | 0.629156 | drewyh999 |
c50928d1c2b83f978005fc5e37ff8872c774ded9 | 3,316 | cpp | C++ | Source/UnrealEnginePython/Private/Slate/UEPyFGeometry.cpp | SIRHAMY/UnrealEnginePython | 038192d7814d1aee182766028640d238204fefa4 | [
"MIT"
] | 2,350 | 2016-08-08T17:00:16.000Z | 2022-03-31T22:37:15.000Z | Source/UnrealEnginePython/Private/Slate/UEPyFGeometry.cpp | SIRHAMY/UnrealEnginePython | 038192d7814d1aee182766028640d238204fefa4 | [
"MIT"
] | 820 | 2016-08-08T16:35:26.000Z | 2022-03-24T05:09:51.000Z | Source/UnrealEnginePython/Private/Slate/UEPyFGeometry.cpp | SIRHAMY/UnrealEnginePython | 038192d7814d1aee182766028640d238204fefa4 | [
"MIT"
] | 658 | 2016-08-10T16:26:24.000Z | 2022-03-30T02:42:22.000Z | #include "UEPyFGeometry.h"
static PyObject *py_ue_fgeometry_get_local_size(ue_PyFGeometry *self, PyObject * args)
{
FVector2D size = self->geometry.GetLocalSize();
return Py_BuildValue("(ff)", size.X, size.Y);
}
static PyObject *py_ue_fgeometry_get_absolute_position(ue_PyFGeometry *self, PyObject * args)
{
#if ENGI... | 34.185567 | 99 | 0.604946 | SIRHAMY |
c509b89363067ee600a158e0ab3e110291033914 | 1,902 | cpp | C++ | BZOJ/3513/code.cpp | sjj118/OI-Code | 964ea6e799d14010f305c7e4aee269d860a781f7 | [
"MIT"
] | null | null | null | BZOJ/3513/code.cpp | sjj118/OI-Code | 964ea6e799d14010f305c7e4aee269d860a781f7 | [
"MIT"
] | null | null | null | BZOJ/3513/code.cpp | sjj118/OI-Code | 964ea6e799d14010f305c7e4aee269d860a781f7 | [
"MIT"
] | null | null | null | #include<iostream>
#include<cstdio>
#include<complex>
#include<cstring>
#define eps 0.1
#define pi 3.1415926
#define maxn 262144
#define LL long long
#define buffersize 20000000
using namespace std;
struct E{
double x,y;
E operator+(const E b){return E{x+b.x,y+b.y};}
E operator-(const E b){return E{x-b.x,y-b.y};}
... | 26.054795 | 115 | 0.54837 | sjj118 |
c50d3308f04c752e15cbc878fbac2d6148e8dce2 | 2,645 | cpp | C++ | GameGUIMP/EditConsole.cpp | openlastchaos/lastchaos-source-client | 3d88594dba7347b1bb45378136605e31f73a8555 | [
"Apache-2.0"
] | 1 | 2022-02-14T15:46:44.000Z | 2022-02-14T15:46:44.000Z | GameGUIMP/EditConsole.cpp | openlastchaos/lastchaos-source-client | 3d88594dba7347b1bb45378136605e31f73a8555 | [
"Apache-2.0"
] | null | null | null | GameGUIMP/EditConsole.cpp | openlastchaos/lastchaos-source-client | 3d88594dba7347b1bb45378136605e31f73a8555 | [
"Apache-2.0"
] | 2 | 2022-01-10T22:17:06.000Z | 2022-01-17T09:34:08.000Z | // EditConsole.cpp : implementation file
//
#include "stdafx.h"
#ifdef _DEBUG
#undef new
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CEditConsole
CEditConsole::CEditConsole()
{
}
CEditConsole::~CE... | 26.45 | 81 | 0.620416 | openlastchaos |
c50d67ed685db594539affadf17637ae4e970dad | 35,434 | cpp | C++ | JuceLibraryCode/modules/juce_gui_extra/code_editor/juce_CodeEditorComponent.cpp | connerlacy/QuNeoDemo | 073a81d7fa7fa462e07c7b33de3e982a03a0055c | [
"Unlicense"
] | 1 | 2019-10-16T08:54:44.000Z | 2019-10-16T08:54:44.000Z | JuceLibraryCode/modules/juce_gui_extra/code_editor/juce_CodeEditorComponent.cpp | connerlacy/quneo_demo_lab | 073a81d7fa7fa462e07c7b33de3e982a03a0055c | [
"Unlicense"
] | null | null | null | JuceLibraryCode/modules/juce_gui_extra/code_editor/juce_CodeEditorComponent.cpp | connerlacy/quneo_demo_lab | 073a81d7fa7fa462e07c7b33de3e982a03a0055c | [
"Unlicense"
] | null | null | null | /*
==============================================================================
This file is part of the JUCE library - "Jules' Utility Class Extensions"
Copyright 2004-11 by Raw Material Software Ltd.
------------------------------------------------------------------------------
JUCE can be r... | 29.801514 | 155 | 0.591748 | connerlacy |
c50f535c2fc4aa6329094dcdc63decccf5c96e4c | 56,567 | cpp | C++ | psx/octoshock/psx/cdc.cpp | Moliman/BizHawk | 7d961d85bdf588072f344f220266002dee8ebc5a | [
"MIT"
] | 29 | 2017-10-25T15:16:23.000Z | 2021-02-23T04:49:18.000Z | psx/octoshock/psx/cdc.cpp | Moliman/BizHawk | 7d961d85bdf588072f344f220266002dee8ebc5a | [
"MIT"
] | 7 | 2019-01-14T14:46:46.000Z | 2019-01-25T20:57:05.000Z | psx/octoshock/psx/cdc.cpp | Moliman/BizHawk | 7d961d85bdf588072f344f220266002dee8ebc5a | [
"MIT"
] | 9 | 2017-10-29T05:28:15.000Z | 2020-03-24T02:11:01.000Z | /* Mednafen - Multi-system Emulator
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distrib... | 22.653985 | 229 | 0.651829 | Moliman |
c51319e855c456ae95b4296da2d7deba8b33a7ad | 18,161 | cpp | C++ | src/hssh/global_topological/utils/local_to_global.cpp | anuranbaka/Vulcan | 56339f77f6cf64b5fda876445a33e72cd15ce028 | [
"MIT"
] | 3 | 2020-03-05T23:56:14.000Z | 2021-02-17T19:06:50.000Z | src/hssh/global_topological/utils/local_to_global.cpp | anuranbaka/Vulcan | 56339f77f6cf64b5fda876445a33e72cd15ce028 | [
"MIT"
] | 1 | 2021-03-07T01:23:47.000Z | 2021-03-07T01:23:47.000Z | src/hssh/global_topological/utils/local_to_global.cpp | anuranbaka/Vulcan | 56339f77f6cf64b5fda876445a33e72cd15ce028 | [
"MIT"
] | 1 | 2021-03-03T07:54:16.000Z | 2021-03-03T07:54:16.000Z | /* Copyright (C) 2010-2019, The Regents of The University of Michigan.
All rights reserved.
This software was developed as part of the The Vulcan project in the Intelligent Robotics Lab
under the direction of Benjamin Kuipers, kuipers@umich.edu. Use of this code is governed by an
MIT-style License that can be foun... | 39.914286 | 120 | 0.64176 | anuranbaka |
78a0ae13fae57b12ff7b64b5f29128a3dca3005e | 6,085 | cpp | C++ | examples/common/opengl/OpenGLShim.osx.cpp | cdave1/difont | 2c38726cc3b7a6e06b920accef4ce752967fa61d | [
"MIT"
] | 3 | 2015-03-09T05:51:02.000Z | 2019-07-29T10:33:32.000Z | examples/common/opengl/OpenGLShim.osx.cpp | cdave1/difont | 2c38726cc3b7a6e06b920accef4ce752967fa61d | [
"MIT"
] | null | null | null | examples/common/opengl/OpenGLShim.osx.cpp | cdave1/difont | 2c38726cc3b7a6e06b920accef4ce752967fa61d | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2015 David Petrie david@davidpetrie.com
*
* This software is provided 'as-is', without any express or implied warranty.
* In no event will the authors be held liable for any damages arising from the
* use of this software. Permission is granted to anyone to use this software for
* any purpose, ... | 32.195767 | 114 | 0.639277 | cdave1 |
78a351edac2d2c3746f058b415b02b8f7b31bf1e | 49,529 | hpp | C++ | libraries/app/include/deip/app/deip_api_objects.hpp | DEIPworld/deip-chain | d3fdcfdde179f700156156ea87522a807ec52532 | [
"MIT"
] | 1 | 2021-08-16T12:44:43.000Z | 2021-08-16T12:44:43.000Z | libraries/app/include/deip/app/deip_api_objects.hpp | DEIPworld/deip-chain | d3fdcfdde179f700156156ea87522a807ec52532 | [
"MIT"
] | null | null | null | libraries/app/include/deip/app/deip_api_objects.hpp | DEIPworld/deip-chain | d3fdcfdde179f700156156ea87522a807ec52532 | [
"MIT"
] | 2 | 2021-08-16T12:44:46.000Z | 2021-12-31T17:09:45.000Z | #pragma once
#include <deip/chain/schema/account_object.hpp>
#include <deip/chain/schema/block_summary_object.hpp>
#include <deip/chain/schema/global_property_object.hpp>
//#include <deip/chain/history_object.hpp>
#include <deip/chain/schema/award_object.hpp>
#include <deip/chain/schema/award_recipient_object.hpp>
#inc... | 28.563437 | 160 | 0.665206 | DEIPworld |
78a43ef410d600cef07daa678b193fc5481f550a | 3,876 | hpp | C++ | CargoVessel.hpp | danilaferents/Vessels | 06d5f3d08d1f059e53946a06240c69bd4b5e9c7f | [
"Apache-2.0"
] | null | null | null | CargoVessel.hpp | danilaferents/Vessels | 06d5f3d08d1f059e53946a06240c69bd4b5e9c7f | [
"Apache-2.0"
] | null | null | null | CargoVessel.hpp | danilaferents/Vessels | 06d5f3d08d1f059e53946a06240c69bd4b5e9c7f | [
"Apache-2.0"
] | null | null | null | #pragma once
#ifndef CargoVessel_hpp
#define CargoVessel_hpp
#include "main.hpp"
#include "Vessels.hpp"
using namespace destination;
namespace cargovessel
{
class CargoVessel : public Vessel
{ // Типы груза
public:
enum CargoType {FOOD, WOOD, GOOD};
private:
... | 36.224299 | 197 | 0.484262 | danilaferents |
78a5687aded5e9bdf992a772baac86266a543c71 | 2,446 | cpp | C++ | bbs/trashcan_test.cpp | ryanm101/wwiv | e8c094ef9485f42e1c053e2803d095af6c87f969 | [
"Apache-2.0"
] | 5 | 2017-01-31T23:12:37.000Z | 2021-06-29T19:51:12.000Z | bbs/trashcan_test.cpp | ryanm101/wwiv | e8c094ef9485f42e1c053e2803d095af6c87f969 | [
"Apache-2.0"
] | null | null | null | bbs/trashcan_test.cpp | ryanm101/wwiv | e8c094ef9485f42e1c053e2803d095af6c87f969 | [
"Apache-2.0"
] | 3 | 2015-07-05T22:42:31.000Z | 2015-07-06T03:33:24.000Z | /**************************************************************************/
/* */
/* WWIV Version 5.x */
/* Copyright (C)2007-2021, WWIV Software Services */
/* ... | 39.451613 | 76 | 0.493459 | ryanm101 |
78a6a2a9628a0070253d04a20897b2c0a782e60b | 2,493 | cpp | C++ | src/qt/controls/progressbarcontrol.cpp | karagog/gutil | 43936af9bc4be1945e4f1a3656e91dfbf42cc35b | [
"Apache-2.0"
] | null | null | null | src/qt/controls/progressbarcontrol.cpp | karagog/gutil | 43936af9bc4be1945e4f1a3656e91dfbf42cc35b | [
"Apache-2.0"
] | 2 | 2015-01-30T21:47:55.000Z | 2015-02-10T00:22:27.000Z | src/qt/controls/progressbarcontrol.cpp | karagog/gutil | 43936af9bc4be1945e4f1a3656e91dfbf42cc35b | [
"Apache-2.0"
] | null | null | null | /*Copyright 2010-2015 George Karagoulis
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, so... | 26.242105 | 89 | 0.671881 | karagog |
78a907e035c0b51c06aa55f402aa8f68dbdc79b5 | 7,093 | cpp | C++ | src/liquid.cpp | Y2Z/liquid | f55fd3c6f8e9cf2f6f024df4499470945b06400f | [
"CC0-1.0"
] | 5 | 2017-02-10T08:37:14.000Z | 2022-03-27T23:52:56.000Z | src/liquid.cpp | Y2Z/Liquid | f55fd3c6f8e9cf2f6f024df4499470945b06400f | [
"CC0-1.0"
] | 87 | 2016-01-22T01:39:59.000Z | 2022-01-04T01:17:30.000Z | src/liquid.cpp | Y2Z/liquid | f55fd3c6f8e9cf2f6f024df4499470945b06400f | [
"CC0-1.0"
] | 1 | 2017-04-20T20:14:00.000Z | 2017-04-20T20:14:00.000Z | #include "lqd.h"
#include "liquid.hpp"
#include <QApplication>
#include <QCoreApplication>
#include <QDateTime>
#include <QDebug>
#include <QProcess>
#include <QSettings>
#include <QTime>
#include <QWebEngineProfile>
#if defined(Q_OS_MAC)
#include <CoreFoundation/CoreFoundation.h>
#include <CoreServices/CoreServices.... | 34.769608 | 147 | 0.653179 | Y2Z |
78a999c33b83020d3d48d14cef7fbbc23f5945ff | 60,975 | cpp | C++ | Models/ModelsDemo.cpp | kakol20/HFG | 055ebd29c12a3830256c8469dc7b1f5de155d810 | [
"MIT"
] | null | null | null | Models/ModelsDemo.cpp | kakol20/HFG | 055ebd29c12a3830256c8469dc7b1f5de155d810 | [
"MIT"
] | null | null | null | Models/ModelsDemo.cpp | kakol20/HFG | 055ebd29c12a3830256c8469dc7b1f5de155d810 | [
"MIT"
] | null | null | null | /*
Beginning DirectX 11 Game Programming
By Allen Sherrod and Wendy Jones
3D Models Demo - Demonstrates loading a model from an .OBJ file.
*/
#include"ModelsDemo.h"
#include<xnamath.h>
#include<stdio.h>
#include"objLoader.h"
//char* TERRAIN_TEXTURE_NAME = "GameObjects/Menu_Stuff/Play.jpg";
char* MENU_TEXTURE_NAME =... | 29.105012 | 153 | 0.679311 | kakol20 |
78aa655e0ad6618c65361a0f2bb57862690880f9 | 26,923 | cpp | C++ | src/game/shared/tf/tf_weapon_grapplinghook.cpp | cstom4994/SourceEngineRebuild | edfd7f8ce8af13e9d23586318350319a2e193c08 | [
"MIT"
] | 6 | 2022-01-23T09:40:33.000Z | 2022-03-20T20:53:25.000Z | src/game/shared/tf/tf_weapon_grapplinghook.cpp | cstom4994/SourceEngineRebuild | edfd7f8ce8af13e9d23586318350319a2e193c08 | [
"MIT"
] | null | null | null | src/game/shared/tf/tf_weapon_grapplinghook.cpp | cstom4994/SourceEngineRebuild | edfd7f8ce8af13e9d23586318350319a2e193c08 | [
"MIT"
] | 1 | 2022-02-06T21:05:23.000Z | 2022-02-06T21:05:23.000Z | //========= Copyright Valve Corporation, All rights reserved. ============//
//
// TF Grappling Hook
//
//=============================================================================
#include "cbase.h"
#include "in_buttons.h"
#include "tf_weapon_grapplinghook.h"
// Client specific.
#ifdef CLIENT_DLL
#include "c_tf_p... | 31.342258 | 182 | 0.652045 | cstom4994 |
78ad13da77add9623166e1403465e0b18366af01 | 2,709 | hpp | C++ | include/algorithms/public/Standardization.hpp | jamesb93/flucoma-core | 3e964dd569f6fff15bd5249a705dc0da8f7b2ad8 | [
"BSD-3-Clause"
] | null | null | null | include/algorithms/public/Standardization.hpp | jamesb93/flucoma-core | 3e964dd569f6fff15bd5249a705dc0da8f7b2ad8 | [
"BSD-3-Clause"
] | null | null | null | include/algorithms/public/Standardization.hpp | jamesb93/flucoma-core | 3e964dd569f6fff15bd5249a705dc0da8f7b2ad8 | [
"BSD-3-Clause"
] | null | null | null | /*
Part of the Fluid Corpus Manipulation Project (http://www.flucoma.org/)
Copyright 2017-2019 University of Huddersfield.
Licensed under the BSD-3 License.
See license.md file in the project root for full license information.
This project has received funding from the European Research Council (ERC)
under the European... | 24.853211 | 76 | 0.657807 | jamesb93 |
78aedd5065fd9df1ab0a5d0b1f0250c098aa5ded | 13,441 | cpp | C++ | nampower/main.cpp | hellokvn/nampower | 5b75ebdbb8430a556211e0a8967338d914055359 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | nampower/main.cpp | hellokvn/nampower | 5b75ebdbb8430a556211e0a8967338d914055359 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | nampower/main.cpp | hellokvn/nampower | 5b75ebdbb8430a556211e0a8967338d914055359 | [
"BSD-2-Clause-FreeBSD"
] | null | null | null | /*
Copyright (c) 2017-2018, namreeb (legal@namreeb.org)
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 retain the above copyright notice, this... | 38.076487 | 130 | 0.699055 | hellokvn |
78aeefb249308d5b46b82e2962ceb1c7d561065d | 723 | cpp | C++ | Resources/TextureLoaderSOIL.cpp | rexapex/OSE-V2-STD-Modules | 2d504e1293e22b4d1eb124656b730980c18b18f4 | [
"Zlib"
] | null | null | null | Resources/TextureLoaderSOIL.cpp | rexapex/OSE-V2-STD-Modules | 2d504e1293e22b4d1eb124656b730980c18b18f4 | [
"Zlib"
] | null | null | null | Resources/TextureLoaderSOIL.cpp | rexapex/OSE-V2-STD-Modules | 2d504e1293e22b4d1eb124656b730980c18b18f4 | [
"Zlib"
] | null | null | null | #include "stdafx.h"
#include "TextureLoaderSOIL.h"
namespace ose::resources
{
TextureLoaderSOIL::TextureLoaderSOIL(const std::string & project_path) : TextureLoader(project_path) {}
TextureLoaderSOIL::~TextureLoaderSOIL() {}
// loads the texture and sets the values of img_data, width and height
// path... | 31.434783 | 118 | 0.733057 | rexapex |
78aeffc51d6ff9d838b0d38adbbe0ef5fb3bc74f | 3,188 | cpp | C++ | more-examples/02-spectrum/src/02-spectrum.cpp | rickkas7/ADCDMAGen3_RK | 64a52a8b485f3bec93ebedd5b1337594cc0443d8 | [
"MIT"
] | 1 | 2019-11-22T06:57:24.000Z | 2019-11-22T06:57:24.000Z | more-examples/02-spectrum/src/02-spectrum.cpp | rickkas7/ADCDMAGen3_RK | 64a52a8b485f3bec93ebedd5b1337594cc0443d8 | [
"MIT"
] | null | null | null | more-examples/02-spectrum/src/02-spectrum.cpp | rickkas7/ADCDMAGen3_RK | 64a52a8b485f3bec93ebedd5b1337594cc0443d8 | [
"MIT"
] | 2 | 2019-12-30T07:19:47.000Z | 2020-09-03T17:59:48.000Z | #include "Particle.h"
#include "ADCDMAGen3_RK.h"
#include "FftComplex.h" // https://www.nayuki.io/page/free-small-fft-in-multiple-languages
#include <cmath> // std::abs
#include "Adafruit_SSD1306_RK.h"
// The Adafruit library defines abs as a macro. Undo that so std::abs works right.
#undef abs
SYSTEM_THREAD(ENA... | 23.791045 | 90 | 0.69793 | rickkas7 |
78b055cb897fa2c35449af16c55f21c5a451e63d | 747 | hpp | C++ | library/ATF/_BSP_MAT_GROUP.hpp | lemkova/Yorozuya | f445d800078d9aba5de28f122cedfa03f26a38e4 | [
"MIT"
] | 29 | 2017-07-01T23:08:31.000Z | 2022-02-19T10:22:45.000Z | library/ATF/_BSP_MAT_GROUP.hpp | kotopes/Yorozuya | 605c97d3a627a8f6545cc09f2a1b0a8afdedd33a | [
"MIT"
] | 90 | 2017-10-18T21:24:51.000Z | 2019-06-06T02:30:33.000Z | library/ATF/_BSP_MAT_GROUP.hpp | kotopes/Yorozuya | 605c97d3a627a8f6545cc09f2a1b0a8afdedd33a | [
"MIT"
] | 44 | 2017-12-19T08:02:59.000Z | 2022-02-24T23:15:01.000Z | // This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually
#pragma once
#include <common/common.h>
START_ATF_NAMESPACE
#pragma pack(push, 2)
struct _BSP_MAT_GROUP
{
unsigned __int16 Type;
unsigned __int16 TriNum;
__int16 MtlId;
... | 24.9 | 108 | 0.637216 | lemkova |
78b58c7afb2eabca7c46a2a2ac8bcb8026cdab5d | 2,656 | cpp | C++ | Circuit5A/src/main.cpp | padlewski/DLP_COMP444 | 7635517b50f2c806856fc748db6f6f6c5bc26d34 | [
"MIT"
] | null | null | null | Circuit5A/src/main.cpp | padlewski/DLP_COMP444 | 7635517b50f2c806856fc748db6f6f6c5bc26d34 | [
"MIT"
] | null | null | null | Circuit5A/src/main.cpp | padlewski/DLP_COMP444 | 7635517b50f2c806856fc748db6f6f6c5bc26d34 | [
"MIT"
] | null | null | null | #include <Arduino.h>
//PIN VARIABLES
//the motor will be controlled by the motor A pins on the motor driver
const int AIN1 = 13; //control pin 1 on the motor driver for the right motor
const int AIN2 = 12; //control pin 2 on the motor driver for the right motor
const int PWMA = 11; //sp... | 39.058824 | 122 | 0.551581 | padlewski |
78b79ac1b055f49968313e4c5f68b596866664c0 | 11,605 | cpp | C++ | Wizard/datainspectiondialog.cpp | johnsonjonaris/CoNECt | ca0e0f5672026fcb78431a6fc29f4ccd69ad0b74 | [
"Apache-2.0"
] | null | null | null | Wizard/datainspectiondialog.cpp | johnsonjonaris/CoNECt | ca0e0f5672026fcb78431a6fc29f4ccd69ad0b74 | [
"Apache-2.0"
] | null | null | null | Wizard/datainspectiondialog.cpp | johnsonjonaris/CoNECt | ca0e0f5672026fcb78431a6fc29f4ccd69ad0b74 | [
"Apache-2.0"
] | null | null | null | #include "datainspectiondialog.h"
DataInspectionDialog::DataInspectionDialog(QWidget *parent) : QDialog(parent)
{
setupUi(this);
CoronalLabel->installEventFilter(this);
SagittalLabel->installEventFilter(this);
AxialLabel->installEventFilter(this);
// connect signals and slots
connect(ImagesBox... | 33.637681 | 100 | 0.609737 | johnsonjonaris |
78b8c3aa494a26f179fcc1be113bbba4655fd5f3 | 17,570 | cpp | C++ | lamg/main/mex/aggregationsweep.cpp | zzhao76/Generalized-Eigensolver | 9dbbc6aff30a7407f04209b56ab926b4080aef10 | [
"BSD-3-Clause"
] | 94 | 2020-02-07T00:18:56.000Z | 2022-03-07T23:46:44.000Z | lamg/main/mex/aggregationsweep.cpp | zzhao76/Generalized-Eigensolver | 9dbbc6aff30a7407f04209b56ab926b4080aef10 | [
"BSD-3-Clause"
] | 14 | 2020-03-09T12:05:41.000Z | 2022-02-10T01:10:28.000Z | lamg/main/mex/aggregationsweep.cpp | zzhao76/Generalized-Eigensolver | 9dbbc6aff30a7407f04209b56ab926b4080aef10 | [
"BSD-3-Clause"
] | 15 | 2020-03-03T14:41:29.000Z | 2021-12-22T01:58:28.000Z | /*=================================================================
* aggregationsweep.c
*
* Sweep over graph nodes and aggregate them.
*
* MATLAB calling syntax:
* [x, x2, stat, aggregateSize, numAggregates] = aggregationSweep
* (bins, x, x2, stat, aggregateSize, numAggregates, C, D, W,
* ratioMax, maxCoarseni... | 40.298165 | 151 | 0.503301 | zzhao76 |
78c0a20cf5f0d3ce4dfce2cd78de6b3c351e7b90 | 1,841 | cpp | C++ | src/FalconEngine/Platform/OpenGL/OpenGLCullState.cpp | Lywx/FalconEngine | c4d1fed789218d1994908b8dbbcd6c01961f9ef2 | [
"MIT"
] | 6 | 2017-04-17T12:34:57.000Z | 2019-10-19T23:29:59.000Z | src/FalconEngine/Platform/OpenGL/OpenGLCullState.cpp | Lywx/FalconEngine | c4d1fed789218d1994908b8dbbcd6c01961f9ef2 | [
"MIT"
] | null | null | null | src/FalconEngine/Platform/OpenGL/OpenGLCullState.cpp | Lywx/FalconEngine | c4d1fed789218d1994908b8dbbcd6c01961f9ef2 | [
"MIT"
] | 2 | 2019-12-30T08:28:04.000Z | 2020-08-05T09:58:53.000Z | #include <FalconEngine/Platform/OpenGL/OpenGLCullState.h>
#if defined(FALCON_ENGINE_API_OPENGL)
#include <FalconEngine/Graphics/Renderer/State/CullState.h>
namespace FalconEngine
{
/************************************************************************/
/* Constructors and Destructor ... | 27.073529 | 74 | 0.500272 | Lywx |
78c308a775ac466de133399636821f3eb191a9a3 | 24,826 | cpp | C++ | src/test_cycles_basic.cpp | geraldc-unm/Comb | 790d054f9722e6752a27a1c2e08c135f9d5b8e75 | [
"MIT"
] | 21 | 2018-10-03T18:15:04.000Z | 2022-02-16T08:07:50.000Z | src/test_cycles_basic.cpp | geraldc-unm/Comb | 790d054f9722e6752a27a1c2e08c135f9d5b8e75 | [
"MIT"
] | 5 | 2019-10-07T23:06:57.000Z | 2021-08-16T16:10:58.000Z | src/test_cycles_basic.cpp | geraldc-unm/Comb | 790d054f9722e6752a27a1c2e08c135f9d5b8e75 | [
"MIT"
] | 6 | 2019-09-13T16:47:33.000Z | 2022-03-03T16:17:32.000Z | //////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2018-2021, Lawrence Livermore National Security, LLC.
//
// Produced at the Lawrence Livermore National Laboratory
//
// LLNL-CODE-758885
//
// All rights reserved.
//
// This file is part of Comb.
//
// For details, see htt... | 35.164306 | 207 | 0.502377 | geraldc-unm |
78c3cc49a436ae04b0224394809a04f6587df9db | 2,920 | cpp | C++ | src/Modules/DevGraphics/Shibboleth_NVENCHelpers.cpp | Connway/Shibboleth | 23dda9a066db8dfaf8c8d56cb1e3d9929b6ced35 | [
"MIT"
] | 1 | 2020-04-06T17:35:47.000Z | 2020-04-06T17:35:47.000Z | src/Modules/DevGraphics/Shibboleth_NVENCHelpers.cpp | Connway/Shibboleth | 23dda9a066db8dfaf8c8d56cb1e3d9929b6ced35 | [
"MIT"
] | null | null | null | src/Modules/DevGraphics/Shibboleth_NVENCHelpers.cpp | Connway/Shibboleth | 23dda9a066db8dfaf8c8d56cb1e3d9929b6ced35 | [
"MIT"
] | null | null | null | /************************************************************************************
Copyright (C) 2021 by Nicholas LaCroix
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, in... | 32.444444 | 171 | 0.737671 | Connway |
78c8c5e43193b4eb6faeca35bb1f67346a185a6d | 13,178 | cpp | C++ | QuoteVerification/QVL/Src/AttestationLibrary/test/UnitTests/TCBInfoVrifierUT.cpp | fqiu1/SGXDataCenterAttestationPrimitives | 19483cca7b924f89ecfdb89e675d34d6a6d4b9dd | [
"BSD-3-Clause"
] | null | null | null | QuoteVerification/QVL/Src/AttestationLibrary/test/UnitTests/TCBInfoVrifierUT.cpp | fqiu1/SGXDataCenterAttestationPrimitives | 19483cca7b924f89ecfdb89e675d34d6a6d4b9dd | [
"BSD-3-Clause"
] | null | null | null | QuoteVerification/QVL/Src/AttestationLibrary/test/UnitTests/TCBInfoVrifierUT.cpp | fqiu1/SGXDataCenterAttestationPrimitives | 19483cca7b924f89ecfdb89e675d34d6a6d4b9dd | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (C) 2011-2020 Intel Corporation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain the above copyright
* notice, this li... | 47.574007 | 120 | 0.77766 | fqiu1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.