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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f3e737cc9bc0f6d564ee2c941e7418b1b4721eb5 | 11,781 | cpp | C++ | SDK/BP_Component_Tutorial2019_functions.cpp | alxalx14/Sea-Of-Thieves-SDK | f56a0340eb33726c98fc53eb0678fa2d59aa8294 | [
"MIT"
] | 3 | 2021-03-27T08:30:37.000Z | 2021-04-18T19:32:53.000Z | SDK/BP_Component_Tutorial2019_functions.cpp | alxalx14/Sea-Of-Thieves-SDK | f56a0340eb33726c98fc53eb0678fa2d59aa8294 | [
"MIT"
] | null | null | null | SDK/BP_Component_Tutorial2019_functions.cpp | alxalx14/Sea-Of-Thieves-SDK | f56a0340eb33726c98fc53eb0678fa2d59aa8294 | [
"MIT"
] | 1 | 2021-06-01T03:05:50.000Z | 2021-06-01T03:05:50.000Z | // Name: SeaOfThieves, Version: 2.0.23
#include "../pch.h"
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Functions
//--------------------------------------------... | 35.48494 | 163 | 0.803837 | alxalx14 |
f3e8402b4b8c5a223e1965dabfa934344fbcbc72 | 152 | hpp | C++ | RubetekIOS-CPP.framework/Versions/A/Headers/libnet/svl/ext/gui.hpp | yklishevich/RubetekIOS-CPP-releases | 7dfbbb45b8de7dbb6fa995ff5dcbca4ec06c2bdb | [
"MIT"
] | null | null | null | RubetekIOS-CPP.framework/Versions/A/Headers/libnet/svl/ext/gui.hpp | yklishevich/RubetekIOS-CPP-releases | 7dfbbb45b8de7dbb6fa995ff5dcbca4ec06c2bdb | [
"MIT"
] | null | null | null | RubetekIOS-CPP.framework/Versions/A/Headers/libnet/svl/ext/gui.hpp | yklishevich/RubetekIOS-CPP-releases | 7dfbbb45b8de7dbb6fa995ff5dcbca4ec06c2bdb | [
"MIT"
] | null | null | null | #ifndef SVL_EXT_GUI_HPP
#define SVL_EXT_GUI_HPP
#include <svl/ext/phase_diagram.hpp>
#include <svl/ext/phase_diagram3d.hpp>
#endif // SVL_EXT_GUI_HPP
| 19 | 38 | 0.802632 | yklishevich |
f3e8ffec313c08389b7d7496bb7b9922e406f5ae | 1,897 | cpp | C++ | eventHandle.cpp | EnoshWang/ADFServer | bcffbbad45d4b5ca149e81eee2d4c0bd3c8a4a09 | [
"MIT"
] | null | null | null | eventHandle.cpp | EnoshWang/ADFServer | bcffbbad45d4b5ca149e81eee2d4c0bd3c8a4a09 | [
"MIT"
] | null | null | null | eventHandle.cpp | EnoshWang/ADFServer | bcffbbad45d4b5ca149e81eee2d4c0bd3c8a4a09 | [
"MIT"
] | null | null | null | /*
* @Author: enosh.wang
* @Date: 2021-06-27 16:08:39
* @Last Modified by: enosh.wang
* @Last Modified time: 2021-06-27 16:12:01
*/
#ifdef __linux__
#include "eventHandle.hpp"
#include "reactor.hpp"
#define MAX_BUF_LEN 1024
void EventHandle::handAccept(int fd, int events, void *arg) noexcept
{... | 22.05814 | 79 | 0.549815 | EnoshWang |
f3e97ab4f6ad16d85559f5a1845cb48706595930 | 7,132 | cpp | C++ | src/FootstepPlan.cpp | dbdxnuliba/lipm_walking_controller | c249b1f54e8f3e14fc6d8a26f46fd881b9c0b1c1 | [
"BSD-2-Clause"
] | null | null | null | src/FootstepPlan.cpp | dbdxnuliba/lipm_walking_controller | c249b1f54e8f3e14fc6d8a26f46fd881b9c0b1c1 | [
"BSD-2-Clause"
] | null | null | null | src/FootstepPlan.cpp | dbdxnuliba/lipm_walking_controller | c249b1f54e8f3e14fc6d8a26f46fd881b9c0b1c1 | [
"BSD-2-Clause"
] | 1 | 2019-12-16T14:02:30.000Z | 2019-12-16T14:02:30.000Z | /*
* Copyright (c) 2018-2019, CNRS-UM LIRMM
* 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 list of con... | 34.288462 | 105 | 0.706113 | dbdxnuliba |
f3e987d30c87bd2cbed36407e9fa8ddbad9ef382 | 5,786 | cpp | C++ | mediasoup-client/src/main/jni/producer_jni.cpp | ethand91/mediasoup-client-android | 9e95fbf90de3037f625cf56ac0fe3605644187d3 | [
"MIT"
] | 1 | 2020-09-21T02:42:47.000Z | 2020-09-21T02:42:47.000Z | mediasoup-client/src/main/jni/producer_jni.cpp | ethand91/mediasoup-client-android | 9e95fbf90de3037f625cf56ac0fe3605644187d3 | [
"MIT"
] | null | null | null | mediasoup-client/src/main/jni/producer_jni.cpp | ethand91/mediasoup-client-android | 9e95fbf90de3037f625cf56ac0fe3605644187d3 | [
"MIT"
] | null | null | null | #define MSC_CLASS "producer_jni"
#include <jni.h>
#include "producer_jni.h"
#include "Logger.hpp"
#include "sdk/android/jni/producer_jni.h"
namespace mediasoupclient {
ProducerListenerJNI::ProducerListenerJNI(JNIEnv *env, const JavaRef<jobject> &j_listener_)
: j_listener_(env, j_listener_) {
MSC_TRACE();... | 26.663594 | 98 | 0.671967 | ethand91 |
f3ed374258dce9b09fd51eae1a724f1a7dcdad7d | 2,945 | cpp | C++ | pmem_leak/normal.cpp | wc222/pmdk-examples | 64aadc3a70471c469ac8e214eb1e04ff47cf18ff | [
"BSD-3-Clause"
] | 1 | 2019-10-31T08:25:52.000Z | 2019-10-31T08:25:52.000Z | pmem_leak/normal.cpp | WSCWDA/pmdk-examples | c3d079e52cd18b0e14836ef42bad9a995336bf90 | [
"BSD-3-Clause"
] | 1 | 2021-02-24T05:26:44.000Z | 2021-02-24T05:26:44.000Z | pmem_leak/normal.cpp | isabella232/pmdk-examples | be7a5a18ba7bb8931e512f6d552eadf820fa2235 | [
"BSD-3-Clause"
] | null | null | null | /*
Copyright (c) 2018-2019, Intel Corporation
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 list of conditions and the following disc... | 31.666667 | 78 | 0.702207 | wc222 |
f3ef260da0aecfc9b12b30e98f9e2687560e6461 | 857 | cpp | C++ | Problemas Resolvidos/Code Forces/cforces1236C.cpp | medeiroslucas/lo-and-behold-pp | d2be16f9b108b501fd9fccf173e741c93350cee4 | [
"MIT"
] | 2 | 2019-09-09T00:34:40.000Z | 2019-09-09T17:35:19.000Z | lucas/codeforces/1236/cforces1236C.cpp | medeiroslucas/lo-and-behold-pp | d2be16f9b108b501fd9fccf173e741c93350cee4 | [
"MIT"
] | null | null | null | lucas/codeforces/1236/cforces1236C.cpp | medeiroslucas/lo-and-behold-pp | d2be16f9b108b501fd9fccf173e741c93350cee4 | [
"MIT"
] | null | null | null | /*
* author: lucas_medeiros - github.com/medeiroslucas
* team: Lo and Behold ++
* created: 17-10-2019 11:58:55
* contest: 1236
* problem: C
* solved: True
*/
#include <bits/stdc++.h>
#define DEBUG false
#define coutd if(DEBUG) cout
#define debugf if(DEBUG) printf
#define ff first
#define ss second
#define ... | 14.525424 | 53 | 0.586931 | medeiroslucas |
f3efb435e25a1d46b7dd48d33d6b8a6a965e5f48 | 24,366 | cpp | C++ | src/server/scripts/Outland/GruulsLair/boss_high_king_maulgar.cpp | Arkania/ArkCORE | 2484554a7b54be0b652f9dc3c5a8beba79df9fbf | [
"OpenSSL"
] | 42 | 2015-01-05T10:00:07.000Z | 2022-02-18T14:51:33.000Z | src/server/scripts/Outland/GruulsLair/boss_high_king_maulgar.cpp | superllout/WOW | 3d0eeb940cccf8ab7854259172c6d75a85ee4f7d | [
"OpenSSL"
] | null | null | null | src/server/scripts/Outland/GruulsLair/boss_high_king_maulgar.cpp | superllout/WOW | 3d0eeb940cccf8ab7854259172c6d75a85ee4f7d | [
"OpenSSL"
] | 31 | 2015-01-09T02:04:29.000Z | 2021-09-01T13:20:20.000Z | /*
* Copyright (C) 2005 - 2013 MaNGOS <http://www.getmangos.com/>
*
* Copyright (C) 2008 - 2013 Trinity <http://www.trinitycore.org/>
*
* Copyright (C) 2006 - 2013 ScriptDev2 <http://www.scriptdev2.com/>
*
* Copyright (C) 2010 - 2013 ProjectSkyfire <http://www.projectskyfire.org/>
*
* Copyright (C) 2011 - 2013... | 30.419476 | 115 | 0.537388 | Arkania |
f3f0e64285ed75254eb1fc8077b454b871140bc2 | 4,573 | cxx | C++ | Devices/igtlioTransformDevice.cxx | adamrankin/OpenIGTLinkIO | 9d0b1010be7b92947dbd461dc5298c320dfc00e4 | [
"Apache-2.0"
] | 7 | 2016-02-02T19:03:33.000Z | 2021-07-31T19:12:03.000Z | Devices/igtlioTransformDevice.cxx | adamrankin/OpenIGTLinkIO | 9d0b1010be7b92947dbd461dc5298c320dfc00e4 | [
"Apache-2.0"
] | 61 | 2016-02-01T21:47:49.000Z | 2022-03-15T16:12:31.000Z | Devices/igtlioTransformDevice.cxx | adamrankin/OpenIGTLinkIO | 9d0b1010be7b92947dbd461dc5298c320dfc00e4 | [
"Apache-2.0"
] | 20 | 2016-02-01T22:24:52.000Z | 2021-07-31T19:12:04.000Z | /*==========================================================================
Portions (c) Copyright 2008-2009 Brigham and Women's Hospital (BWH) All Rights Reserved.
See Doc/copyright/copyright.txt
or http://www.slicer.org/copyright/copyright.txt for details.
Program: 3D Slicer
Module: $HeadURL: http:... | 30.898649 | 111 | 0.561338 | adamrankin |
f3f348951a06879d0cf5d453d960ecef63766e9d | 3,528 | cpp | C++ | bindings/c/src/SFML/Audio/SoundRecorder.cpp | yoyonel/sflm2-custom | 1ebeabe7cfe6605590b341f7b415b24bed1f50d1 | [
"Zlib"
] | null | null | null | bindings/c/src/SFML/Audio/SoundRecorder.cpp | yoyonel/sflm2-custom | 1ebeabe7cfe6605590b341f7b415b24bed1f50d1 | [
"Zlib"
] | null | null | null | bindings/c/src/SFML/Audio/SoundRecorder.cpp | yoyonel/sflm2-custom | 1ebeabe7cfe6605590b341f7b415b24bed1f50d1 | [
"Zlib"
] | null | null | null | ////////////////////////////////////////////////////////////
//
// SFML - Simple and Fast Multimedia Library
// Copyright (C) 2007-2009 Laurent Gomila (laurent.gom@gmail.com)
//
// This software is provided 'as-is', without any express or implied warranty.
// In no event will the authors be held liable for any da... | 38.769231 | 102 | 0.502268 | yoyonel |
f3f36f403063127d626f7a8c031a9e6a989b8174 | 1,519 | cpp | C++ | Character/StrongEnemy.cpp | Ricecrackie/Fantasy-Battle | 058dc323101d405e222e9c8f135500044ce6e180 | [
"Apache-2.0"
] | null | null | null | Character/StrongEnemy.cpp | Ricecrackie/Fantasy-Battle | 058dc323101d405e222e9c8f135500044ce6e180 | [
"Apache-2.0"
] | null | null | null | Character/StrongEnemy.cpp | Ricecrackie/Fantasy-Battle | 058dc323101d405e222e9c8f135500044ce6e180 | [
"Apache-2.0"
] | null | null | null | #include "StrongEnemy.h"
#include "../Skill/Regular_attack.h"
#include "../Skill/Defence.h"
#include "../Skill/Strengthen.h"
#include "../Skill/Sharp_attack.h"
// call constructor to create a StrongEnemy Object using default values
StrongEnemy::StrongEnemy() : Enemy(StrongEnemyHPmax, StrongEnemyHPmax,
StrongEnemyMPmax... | 42.194444 | 106 | 0.756419 | Ricecrackie |
f3f43c8d75325f413976eea977bbc7a8206dc7da | 2,467 | cc | C++ | opensearch/src/model/ListAppGroupErrorsRequest.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 89 | 2018-02-02T03:54:39.000Z | 2021-12-13T01:32:55.000Z | opensearch/src/model/ListAppGroupErrorsRequest.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 89 | 2018-03-14T07:44:54.000Z | 2021-11-26T07:43:25.000Z | opensearch/src/model/ListAppGroupErrorsRequest.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 69 | 2018-01-22T09:45:52.000Z | 2022-03-28T07:58:38.000Z | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | 25.43299 | 89 | 0.759627 | aliyun |
f3f62a68395a7ed93ce510f09f33f69c8b9a91b1 | 512 | cpp | C++ | tutorials/cplusplus.com#1.0#1/compounddatatypes/datastructures/pointers_to_structures/source3.cpp | officialrafsan/CppDroid | 5fb2cc7750fea53b1ea6ff47b5094da6e95e9224 | [
"MIT"
] | null | null | null | tutorials/cplusplus.com#1.0#1/compounddatatypes/datastructures/pointers_to_structures/source3.cpp | officialrafsan/CppDroid | 5fb2cc7750fea53b1ea6ff47b5094da6e95e9224 | [
"MIT"
] | null | null | null | tutorials/cplusplus.com#1.0#1/compounddatatypes/datastructures/pointers_to_structures/source3.cpp | officialrafsan/CppDroid | 5fb2cc7750fea53b1ea6ff47b5094da6e95e9224 | [
"MIT"
] | null | null | null | // pointers to structures
#include <iostream>
#include <string>
#include <sstream>
using namespace std;
struct movies_t {
string title;
int year;
};
int main ()
{
string mystr;
movies_t amovie;
movies_t * pmovie;
pmovie = &amovie;
cout << "Enter title: ";
getline (cin, pmovie->title);
cout << "Ent... | 16.516129 | 40 | 0.617188 | officialrafsan |
f3f642385fc8483881e9771772314d888b30d767 | 8,476 | cc | C++ | QedisCore/QSet.cc | Myicefrog/Qedis | 692f0584dad8f5d80c55ec19b217f0777156f719 | [
"MIT"
] | 1 | 2019-12-26T07:03:34.000Z | 2019-12-26T07:03:34.000Z | QedisCore/QSet.cc | Myicefrog/Qedis | 692f0584dad8f5d80c55ec19b217f0777156f719 | [
"MIT"
] | null | null | null | QedisCore/QSet.cc | Myicefrog/Qedis | 692f0584dad8f5d80c55ec19b217f0777156f719 | [
"MIT"
] | null | null | null | #include "QSet.h"
#include "QStore.h"
#include "QClient.h"
#include <cassert>
namespace qedis
{
QObject QObject::CreateSet()
{
QObject set(QType_set);
set.Reset(new QSet);
return set;
}
#define GET_SET(setname) \
QObject* value; \
QError err = QSTORE.GetValueByType(setname, value, QType_set); ... | 22.246719 | 89 | 0.575743 | Myicefrog |
f3f6a0a8e890f73d2752b6ef4b869276bf746e64 | 4,238 | cpp | C++ | tests/ColorFilterTest.cpp | quanganh2627/bytm-x64-L-w05-2015_external_chromium_org_third_party_skia | 90b3f9b82dbad266f960601d2120082bb841fb97 | [
"BSD-3-Clause"
] | 111 | 2015-01-13T22:01:50.000Z | 2021-06-10T15:32:48.000Z | tests/ColorFilterTest.cpp | quanganh2627/bytm-x64-L-w05-2015_external_chromium_org_third_party_skia | 90b3f9b82dbad266f960601d2120082bb841fb97 | [
"BSD-3-Clause"
] | 129 | 2015-01-14T16:07:02.000Z | 2020-03-11T19:44:42.000Z | tests/ColorFilterTest.cpp | quanganh2627/bytm-x64-L-w05-2015_external_chromium_org_third_party_skia | 90b3f9b82dbad266f960601d2120082bb841fb97 | [
"BSD-3-Clause"
] | 64 | 2015-01-14T16:45:39.000Z | 2021-09-08T11:16:05.000Z | /*
* Copyright 2011 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "SkColor.h"
#include "SkColorFilter.h"
#include "SkColorPriv.h"
#include "SkLumaColorFilter.h"
#include "SkReadBuffer.h"
#include "SkWriteBuffer.h"
#include "SkRandom... | 33.109375 | 92 | 0.582114 | quanganh2627 |
f3f96f32cd209944edc06b397746fcdabc5a7ef7 | 619 | cpp | C++ | Online Judges/UVA/371/2091309_AC_205ms_0kB.cpp | moni-roy/COPC | f5918304815413c18574ef4af2e23a604bd9f704 | [
"MIT"
] | 4 | 2017-02-20T17:41:14.000Z | 2019-07-15T14:15:34.000Z | Online Judges/UVA/371/2091309_AC_205ms_0kB.cpp | moni-roy/COPC | f5918304815413c18574ef4af2e23a604bd9f704 | [
"MIT"
] | null | null | null | Online Judges/UVA/371/2091309_AC_205ms_0kB.cpp | moni-roy/COPC | f5918304815413c18574ef4af2e23a604bd9f704 | [
"MIT"
] | null | null | null | #include <iostream>
#include <algorithm>
#include <cstdio>
#include <cmath>
#define LL long long
using namespace std;
int main()
{
LL fst,snd,a,b,cop;
while(cin>>a>>b)
{
if(a+b==0) break;
fst=min(a,b);
snd=max(a,b);
LL reslt=0,num=fst;
if(fst==1)
{
reslt=3;
//num=fst;
}
for(LL i=fst;i<=snd;i... | 14.068182 | 107 | 0.55412 | moni-roy |
f3fa7f8d47a53c67d4706542830440f48707b0fc | 971 | hpp | C++ | docs/template_plugin/src/template_async_infer_request.hpp | JOCh1958/openvino | 070201feeec5550b7cf8ec5a0ffd72dc879750be | [
"Apache-2.0"
] | 1 | 2021-04-06T03:32:12.000Z | 2021-04-06T03:32:12.000Z | docs/template_plugin/src/template_async_infer_request.hpp | JOCh1958/openvino | 070201feeec5550b7cf8ec5a0ffd72dc879750be | [
"Apache-2.0"
] | 28 | 2021-09-24T09:29:02.000Z | 2022-03-28T13:20:46.000Z | docs/template_plugin/src/template_async_infer_request.hpp | JOCh1958/openvino | 070201feeec5550b7cf8ec5a0ffd72dc879750be | [
"Apache-2.0"
] | 1 | 2020-08-30T11:48:03.000Z | 2020-08-30T11:48:03.000Z | // Copyright (C) 2018-2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#pragma once
#include <cpp_interfaces/impl/ie_infer_async_request_thread_safe_default.hpp>
#include "template_infer_request.hpp"
namespace TemplatePlugin {
// ! [async_infer_request:header]
class TemplateAsyncInferRequest : publ... | 32.366667 | 94 | 0.715757 | JOCh1958 |
f3fcf5da364b4c84111901aa038c841a0649c138 | 4,248 | hpp | C++ | libs/core/serialization/include/hpx/serialization/tuple.hpp | sithhell/hpx | fa6e4df704bf5f81ddc0f4e09716bd11ff8724c8 | [
"BSL-1.0"
] | null | null | null | libs/core/serialization/include/hpx/serialization/tuple.hpp | sithhell/hpx | fa6e4df704bf5f81ddc0f4e09716bd11ff8724c8 | [
"BSL-1.0"
] | null | null | null | libs/core/serialization/include/hpx/serialization/tuple.hpp | sithhell/hpx | fa6e4df704bf5f81ddc0f4e09716bd11ff8724c8 | [
"BSL-1.0"
] | null | null | null | // Copyright (c) 2011-2013 Thomas Heller
// Copyright (c) 2011-2013 Hartmut Kaiser
// Copyright (c) 2013-2015 Agustin Berge
// Copyright (c) 2019 Mikael Simberg
//
// SPDX-License-Identifier: BSL-1.0
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or c... | 34.536585 | 80 | 0.631591 | sithhell |
f3fe1d0407f8d47d0a3e52e2e2872fb6488f5149 | 498 | cpp | C++ | LeetCode/#1027.cpp | ksdkamesh99/Code-Monker | 0105d50185796539d4c2328892c9c117cb62ba55 | [
"MIT"
] | 3 | 2020-06-29T15:37:26.000Z | 2020-12-02T09:14:13.000Z | LeetCode/#1027.cpp | ksdkamesh99/Code-Monker | 0105d50185796539d4c2328892c9c117cb62ba55 | [
"MIT"
] | null | null | null | LeetCode/#1027.cpp | ksdkamesh99/Code-Monker | 0105d50185796539d4c2328892c9c117cb62ba55 | [
"MIT"
] | 1 | 2021-02-23T23:31:54.000Z | 2021-02-23T23:31:54.000Z | class Solution {
public:
bool uniqueOccurrences(vector<int>& arr) {
vector<int>v(2001);
for(int i=0;i<arr.size();i++){
v[1000+arr[i]]++;
}
int count=0;
for(int i=0;i<v.size();i++){
if(v[i]!=0){
count++;
}
}
c... | 21.652174 | 46 | 0.37751 | ksdkamesh99 |
f3fe39a020d1a4605d07b584c7d8465d448b4a36 | 5,897 | hpp | C++ | Training/AITrainerScriptCPP/BaseAi.hpp | Gegel85/SokuAI | 07db987f81b6e5f55b9137bd68543d6b469cd62b | [
"MIT"
] | 3 | 2021-04-01T14:05:12.000Z | 2021-10-01T13:53:29.000Z | Training/AITrainerScriptCPP/BaseAi.hpp | Gegel85/SokuAI | 07db987f81b6e5f55b9137bd68543d6b469cd62b | [
"MIT"
] | null | null | null | Training/AITrainerScriptCPP/BaseAi.hpp | Gegel85/SokuAI | 07db987f81b6e5f55b9137bd68543d6b469cd62b | [
"MIT"
] | 1 | 2021-10-31T12:34:59.000Z | 2021-10-31T12:34:59.000Z | //
// Created by PinkySmile on 21/05/2021.
//
#ifndef SOKUAI_BASEAI_HPP
#define SOKUAI_BASEAI_HPP
#include <map>
#include <vector>
#include "Packet.hpp"
#include "GameInstance.hpp"
namespace Trainer
{
class BaseAI {
private:
std::vector<Input> _bufferedInput;
protected:
SokuLib::Character _character;
unsi... | 64.802198 | 211 | 0.569103 | Gegel85 |
f3ff70b0706eacfe66292dd99a274b50ef0a48fc | 9,157 | cpp | C++ | src/sys/posix/posix_fs_directory.cpp | sagpant/cascadb | cc2a118f2548fd7221e8dba42774edea8af080f7 | [
"BSD-3-Clause"
] | 166 | 2015-01-26T15:21:26.000Z | 2022-03-25T03:22:27.000Z | src/sys/posix/posix_fs_directory.cpp | BohuTANG/cascadb | 28d61545074b8b064ec123f3e565cc47cbcda2a3 | [
"BSD-3-Clause"
] | 1 | 2015-05-01T23:52:46.000Z | 2015-05-01T23:52:46.000Z | src/sys/posix/posix_fs_directory.cpp | BohuTANG/cascadb | 28d61545074b8b064ec123f3e565cc47cbcda2a3 | [
"BSD-3-Clause"
] | 44 | 2015-01-26T15:21:28.000Z | 2021-05-29T14:18:35.000Z | // Copyright (c) 2013 The CascaDB 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 <stdio.h>
#include <string.h>
#include <strings.h>
#include <sys/types.h>
#includ... | 24.748649 | 92 | 0.526373 | sagpant |
6d0102336eda88378dbcb0e4d8452f213d6a579d | 239 | cpp | C++ | WinLib/WinTest/AccelTable.cpp | BartoszMilewski/CodeCoop | 7d29f53ccf65b0d29ea7d6781a74507b52c08d0d | [
"MIT"
] | 67 | 2018-03-02T10:50:02.000Z | 2022-03-23T18:20:29.000Z | WinLib/WinTest/AccelTable.cpp | BartoszMilewski/CodeCoop | 7d29f53ccf65b0d29ea7d6781a74507b52c08d0d | [
"MIT"
] | null | null | null | WinLib/WinTest/AccelTable.cpp | BartoszMilewski/CodeCoop | 7d29f53ccf65b0d29ea7d6781a74507b52c08d0d | [
"MIT"
] | 9 | 2018-03-01T16:38:28.000Z | 2021-03-02T16:17:09.000Z | //----------------------------
// (c) Reliable Software, 2004
//----------------------------
#include "precompiled.h"
#include "AccelTable.h"
#include <Win/Keyboard.h>
namespace Accel
{
const Accel::Item Keys [] =
{
{ 0, 0, 0 }
};
} | 15.933333 | 30 | 0.468619 | BartoszMilewski |
6d03211e6106e170972ac9f1bc24d0a39504c4f0 | 961 | cc | C++ | src/find_the_distance_value_between_two_arrays/find_the_distance_value_between_two_arrays.cc | cuprumz/LeetCode | 5c57b0ab45e691e8d7750f531b29a25a19472d23 | [
"MIT"
] | null | null | null | src/find_the_distance_value_between_two_arrays/find_the_distance_value_between_two_arrays.cc | cuprumz/LeetCode | 5c57b0ab45e691e8d7750f531b29a25a19472d23 | [
"MIT"
] | null | null | null | src/find_the_distance_value_between_two_arrays/find_the_distance_value_between_two_arrays.cc | cuprumz/LeetCode | 5c57b0ab45e691e8d7750f531b29a25a19472d23 | [
"MIT"
] | null | null | null | #include <iostream>
#include <algorithm>
#include <vector>
using namespace std;
class Solution {
public:
int findTheDistanceValue(vector<int> &arr1, vector<int> &arr2, int d);
};
int main(int argc, char **argv) {
Solution s;
vector<int> arr1 = {4, 5, 8},
arr2 = {10, 9, 1, 8};
int d = 2;
... | 23.439024 | 101 | 0.552549 | cuprumz |
6d03c83c39a77193b5e1697c2d220eec19833cd4 | 785 | hpp | C++ | include/ReversingSpace/GameFileSystem.hpp | awstanley/cpp-gamefilesystem | fc06cf5f2b4f873846677f45fa5480a69cdd91df | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 1 | 2021-07-12T19:25:29.000Z | 2021-07-12T19:25:29.000Z | include/ReversingSpace/GameFileSystem.hpp | awstanley/cpp-gamefilesystem | fc06cf5f2b4f873846677f45fa5480a69cdd91df | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 6 | 2017-10-16T19:30:25.000Z | 2018-10-06T23:55:19.000Z | include/ReversingSpace/GameFileSystem.hpp | awstanley/cpp-gamefilesystem | fc06cf5f2b4f873846677f45fa5480a69cdd91df | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 3 | 2017-10-14T10:21:44.000Z | 2021-07-12T19:25:39.000Z | /*
* Copyright 2017-2018 ReversingSpace. See the COPYRIGHT file at the
* top-level directory of this distribution and in the repository:
* https://github.com/ReversingSpace/cpp-gamefilesystem
*
* Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
* http://www.apache.org/licenses/LICENSE-2.0> or the... | 37.380952 | 68 | 0.784713 | awstanley |
6d069d2ab7cae05a38b678fe17508190feedbb0f | 1,547 | cpp | C++ | src/kriti/math/ViewGenerator.cpp | etherealvisage/kriti | 6397c4d20331d9f5ce07460df08bbac9653ffa8b | [
"BSD-3-Clause"
] | 2 | 2015-10-05T19:33:19.000Z | 2015-12-08T08:39:17.000Z | src/kriti/math/ViewGenerator.cpp | etherealvisage/kriti | 6397c4d20331d9f5ce07460df08bbac9653ffa8b | [
"BSD-3-Clause"
] | 1 | 2017-04-30T16:26:08.000Z | 2017-05-01T03:00:42.000Z | src/kriti/math/ViewGenerator.cpp | etherealvisage/kriti | 6397c4d20331d9f5ce07460df08bbac9653ffa8b | [
"BSD-3-Clause"
] | null | null | null | #include <cmath>
#include "ViewGenerator.h"
namespace Kriti {
namespace Math {
Matrix ViewGenerator::frustum(double left, double right, double top,
double bottom, double near, double far) {
Matrix result;
result(3,3) = 0.0;
result(0,0) = (2 * near) / (right - left);
result(1,1) = (2 * near)... | 24.555556 | 74 | 0.605042 | etherealvisage |
6d083492eed7f32610e37185a5a87476298f3bf3 | 3,793 | cpp | C++ | tests/src/reductions/hadd.cpp | GerHobbelt/MIPP | bb5c7c4f2930942de48a99e2dcda1e7bbb585426 | [
"MIT"
] | null | null | null | tests/src/reductions/hadd.cpp | GerHobbelt/MIPP | bb5c7c4f2930942de48a99e2dcda1e7bbb585426 | [
"MIT"
] | null | null | null | tests/src/reductions/hadd.cpp | GerHobbelt/MIPP | bb5c7c4f2930942de48a99e2dcda1e7bbb585426 | [
"MIT"
] | null | null | null | #include <exception>
#include <algorithm>
#include <numeric>
#include <random>
#include <cmath>
#include <mipp.h>
#include <catch.hpp>
template <typename T>
void test_reg_hadd_int()
{
constexpr int N = mipp::N<T>();
T inputs1[N];
std::mt19937 g;
std::uniform_int_distribution<T> dis((T)-10, (T)10);
for (auto j = ... | 23.855346 | 76 | 0.621672 | GerHobbelt |
6d087d777103d02f3bf5a3e500027586d2e7d162 | 20,344 | cc | C++ | libc/winsup/cygwin/libc/rcmd.cc | The0x539/wasp | 5f83aab7bf0c0915b1d3491034d35b091c7aebdf | [
"MIT"
] | 4 | 2022-02-03T19:01:27.000Z | 2022-03-29T18:59:56.000Z | libc/winsup/cygwin/libc/rcmd.cc | The0x539/wasp | 5f83aab7bf0c0915b1d3491034d35b091c7aebdf | [
"MIT"
] | 1 | 2022-01-28T19:16:53.000Z | 2022-02-02T21:38:17.000Z | libc/winsup/cygwin/libc/rcmd.cc | The0x539/wasp | 5f83aab7bf0c0915b1d3491034d35b091c7aebdf | [
"MIT"
] | 1 | 2022-03-08T03:05:43.000Z | 2022-03-08T03:05:43.000Z | /*
* Copyright (c) 1983, 1993, 1994
* The Regents of the University of California. 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... | 26.284238 | 86 | 0.636404 | The0x539 |
6d0af11afe99d24b7d373ae9f90677111a7004a4 | 2,554 | hpp | C++ | benchmark/graph.hpp | mikerainey/taskparts | 27d4bdda15a5c370c25df6ce8be1233362107cc8 | [
"MIT"
] | null | null | null | benchmark/graph.hpp | mikerainey/taskparts | 27d4bdda15a5c370c25df6ce8be1233362107cc8 | [
"MIT"
] | null | null | null | benchmark/graph.hpp | mikerainey/taskparts | 27d4bdda15a5c370c25df6ce8be1233362107cc8 | [
"MIT"
] | null | null | null | #pragma once
#include "common.hpp"
#include <common/graph.h>
#include <common/IO.h>
#include <common/graphIO.h>
#include <common/sequenceIO.h>
#include <testData/graphData/alternatingGraph.h>
#include <testData/graphData/rMat.h>
#include <benchmarks/breadthFirstSearch/bench/BFS.h>
using namespace std;
using namespace... | 35.971831 | 102 | 0.722396 | mikerainey |
6d0b8412da7c93f9c10836aa99f9736e894e4cef | 8,512 | cc | C++ | src/MainActivity.cc | ilariom/wildcat | 814f054e0cf3ef0def1f6481005ffd3f0ac42d1b | [
"MIT"
] | 11 | 2018-11-07T08:54:21.000Z | 2022-02-20T22:40:47.000Z | src/MainActivity.cc | ilariom/wildcat | 814f054e0cf3ef0def1f6481005ffd3f0ac42d1b | [
"MIT"
] | null | null | null | src/MainActivity.cc | ilariom/wildcat | 814f054e0cf3ef0def1f6481005ffd3f0ac42d1b | [
"MIT"
] | 1 | 2020-07-24T09:18:48.000Z | 2020-07-24T09:18:48.000Z | #include "MainActivity.h"
#include <s2x/basics.h>
#include <globals/Scene.h>
#include <globals/SceneGraph.h>
#include <ecs/Entity.h>
#include <components/Node.h>
#include <components/Sprite.h>
#include <components/Transform.h>
#include <components/Script.h>
#include <components/KeyboardEventReceiver.h>
#include <system... | 23.513812 | 108 | 0.549695 | ilariom |
6d0bd7ffc12c222a787490b1fafba9d3352f0a6b | 1,334 | cpp | C++ | MyGame/Main.cpp | codeart1st/EDEN3D | b39b0fbf3220320b58843990155ffd8173d8f4ef | [
"MIT"
] | null | null | null | MyGame/Main.cpp | codeart1st/EDEN3D | b39b0fbf3220320b58843990155ffd8173d8f4ef | [
"MIT"
] | null | null | null | MyGame/Main.cpp | codeart1st/EDEN3D | b39b0fbf3220320b58843990155ffd8173d8f4ef | [
"MIT"
] | null | null | null | #include <GameApplication.hpp>
#include <PerspectiveCamera.hpp>
#include <DefaultRenderer.hpp>
#include <WavefrontLoader.hpp>
#include <MouseControls.hpp>
#include <thread>
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd) {
EDEN3D::GameApplication game(hInstance, L"fa... | 25.653846 | 120 | 0.7009 | codeart1st |
6d0f942f1d9db9f5e28142ff03f80d1385d1190f | 53,130 | cpp | C++ | src/js/vm/UnboxedObject.cpp | fengjixuchui/blazefox | d5c732ac7305a79fe20704c2d134c130f14eca83 | [
"MIT"
] | 149 | 2018-12-23T09:08:00.000Z | 2022-02-02T09:18:38.000Z | src/js/vm/UnboxedObject.cpp | fengjixuchui/blazefox | d5c732ac7305a79fe20704c2d134c130f14eca83 | [
"MIT"
] | null | null | null | src/js/vm/UnboxedObject.cpp | fengjixuchui/blazefox | d5c732ac7305a79fe20704c2d134c130f14eca83 | [
"MIT"
] | 56 | 2018-12-23T18:11:40.000Z | 2021-11-30T13:18:17.000Z | /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
* vim: set ts=8 sts=4 et sw=4 tw=99:
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
... | 33.992322 | 107 | 0.623508 | fengjixuchui |
6d1096572ef5132a1eec1708356383e6a16be776 | 26,362 | cc | C++ | Mozc-for-iOS/src/session/session_handler.cc | spanfish/JapaneseKeyboard | 84fa7ef799d145fb9897b6e86bc7bc50610ccb2b | [
"Apache-2.0"
] | 33 | 2015-01-21T09:50:21.000Z | 2022-02-12T15:18:25.000Z | src/session/session_handler.cc | kishikawakatsumi/Mozc-for-iOS | 45b0856ed8a22d5fa6b4471548389cbde4abcf10 | [
"Apache-2.0"
] | 1 | 2015-05-12T06:26:54.000Z | 2017-11-01T14:43:35.000Z | Mozc-for-iOS/src/session/session_handler.cc | spanfish/JapaneseKeyboard | 84fa7ef799d145fb9897b6e86bc7bc50610ccb2b | [
"Apache-2.0"
] | 8 | 2015-06-08T15:57:25.000Z | 2019-05-15T08:52:58.000Z | // Copyright 2010-2014, Google Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of condit... | 32.82939 | 80 | 0.700592 | spanfish |
6d11ec583e000373a68b73b63781bca01eb134f1 | 1,503 | cpp | C++ | hr/easy/string_reduction.cpp | gnom1gnom/cpp-algorithms | e460c0d1720acf0e0548452dfba05651e4868120 | [
"Unlicense"
] | null | null | null | hr/easy/string_reduction.cpp | gnom1gnom/cpp-algorithms | e460c0d1720acf0e0548452dfba05651e4868120 | [
"Unlicense"
] | null | null | null | hr/easy/string_reduction.cpp | gnom1gnom/cpp-algorithms | e460c0d1720acf0e0548452dfba05651e4868120 | [
"Unlicense"
] | null | null | null | /*
Given a string, reduce it in such a way that all of its substrings are distinct. To do so, you may delete any characters at any index. What is the minimum number of deletions needed?Note: A substring is a contiguous group of 1 or more characters within a string.
Example
s = "abab"
Substrings in s are { 'a', 'b', ... | 25.913793 | 262 | 0.666001 | gnom1gnom |
6d1412712ebf3371cbee9e00fb7df2b32c7d2842 | 8,193 | cxx | C++ | main/vcl/unx/generic/plugadapt/salplug.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 679 | 2015-01-06T06:34:58.000Z | 2022-03-30T01:06:03.000Z | main/vcl/unx/generic/plugadapt/salplug.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 102 | 2017-11-07T08:51:31.000Z | 2022-03-17T12:13:49.000Z | main/vcl/unx/generic/plugadapt/salplug.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... | 27.401338 | 104 | 0.60393 | Grosskopf |
6d142c5defcb7d503a5d8fd567226f98b301d4bb | 688 | hpp | C++ | inst/include/VectorCopyCallback.hpp | nsaripalli/instrumentr | 4bd52d1c454dd1c188e12f687db6a574536b75ae | [
"MIT"
] | 4 | 2020-06-11T14:58:55.000Z | 2021-10-18T20:19:15.000Z | inst/include/VectorCopyCallback.hpp | nsaripalli/instrumentr | 4bd52d1c454dd1c188e12f687db6a574536b75ae | [
"MIT"
] | 42 | 2020-06-29T18:13:52.000Z | 2020-09-29T09:55:12.000Z | inst/include/VectorCopyCallback.hpp | nsaripalli/instrumentr | 4bd52d1c454dd1c188e12f687db6a574536b75ae | [
"MIT"
] | 1 | 2021-02-18T13:26:05.000Z | 2021-02-18T13:26:05.000Z | #ifndef INSTRUMENTR_VECTOR_COPY_CALLBACK_HPP
#define INSTRUMENTR_VECTOR_COPY_CALLBACK_HPP
#include "Callback.hpp"
namespace instrumentr {
class VectorCopyCallback: public Callback {
public:
VectorCopyCallback(void* function, bool is_r_callback)
: Callback(Type::VectorCopy, function, is_r_callback) {
... | 21.5 | 76 | 0.751453 | nsaripalli |
6d164bdb1a6a26f77f1282aca92f54fd343c10af | 64 | cpp | C++ | camera.cpp | alexandreLamarre/GraphicsEngine3D | 573f822f0fd54fff2c6b29664f0e3c5f961b7a29 | [
"MIT"
] | null | null | null | camera.cpp | alexandreLamarre/GraphicsEngine3D | 573f822f0fd54fff2c6b29664f0e3c5f961b7a29 | [
"MIT"
] | null | null | null | camera.cpp | alexandreLamarre/GraphicsEngine3D | 573f822f0fd54fff2c6b29664f0e3c5f961b7a29 | [
"MIT"
] | null | null | null | #include "camera.h"
//Implementations details of Camera class
| 12.8 | 41 | 0.765625 | alexandreLamarre |
6d1b649a073bbae366441c25eb39767fb3e2f9f6 | 1,015 | cpp | C++ | Memory_Management_Algorithms/Best_fit.cpp | Siddhartha-Dhar/Operating_System_Programs | 5bbfa8f82e270bef1e0511e82b3678de6b42d713 | [
"MIT"
] | 1 | 2021-07-21T07:04:08.000Z | 2021-07-21T07:04:08.000Z | Memory_Management_Algorithms/Best_fit.cpp | Siddhartha-Dhar/Operating_System_Programs | 5bbfa8f82e270bef1e0511e82b3678de6b42d713 | [
"MIT"
] | 1 | 2021-08-07T12:46:32.000Z | 2021-08-15T13:19:33.000Z | Memory_Management_Algorithms/Best_fit.cpp | Siddhartha-Dhar/Operating_System_Programs | 5bbfa8f82e270bef1e0511e82b3678de6b42d713 | [
"MIT"
] | 1 | 2021-08-07T13:05:33.000Z | 2021-08-07T13:05:33.000Z | #include<iostream>
#include"Query.cpp"
#include<cstdlib>
using namespace std;
//................................................Input Array
void inut_arr(int n, int *A, string s){
for(int i=0; i<n; i++){
cout << "\n" << s;
cin >> A[i];
getchar();
}
return;
}
//......... | 24.756098 | 64 | 0.442365 | Siddhartha-Dhar |
6d21006bcd059737b862ea83dfce239d93f3e761 | 26,920 | cpp | C++ | src/bin2llvmir/optimizations/param_return/param_return.cpp | mehrdad-shokri/retdec | a82f16e97b163afe789876e0a819489c5b9b358e | [
"MIT",
"Zlib",
"BSD-3-Clause"
] | 4,816 | 2017-12-12T18:07:09.000Z | 2019-04-17T02:01:04.000Z | src/bin2llvmir/optimizations/param_return/param_return.cpp | mehrdad-shokri/retdec | a82f16e97b163afe789876e0a819489c5b9b358e | [
"MIT",
"Zlib",
"BSD-3-Clause"
] | 514 | 2017-12-12T18:22:52.000Z | 2019-04-16T16:07:11.000Z | src/bin2llvmir/optimizations/param_return/param_return.cpp | mehrdad-shokri/retdec | a82f16e97b163afe789876e0a819489c5b9b358e | [
"MIT",
"Zlib",
"BSD-3-Clause"
] | 579 | 2017-12-12T18:38:02.000Z | 2019-04-11T13:32:53.000Z | /**
* @file src/bin2llvmir/optimizations/param_return/param_return.cpp
* @brief Detect functions' parameters and returns.
* @copyright (c) 2019 Avast Software, licensed under the MIT license
*/
#include <cassert>
#include <iomanip>
#include <limits>
#include <llvm/IR/CFG.h>
#include <llvm/IR/Constants.h>
#include <ll... | 22.602855 | 106 | 0.634695 | mehrdad-shokri |
6d22021288a99674246cd819e33aace0150e3182 | 1,324 | cpp | C++ | C or C++/rock_lever.cpp | amitShindeGit/Miscellaneous-Programs | 11aa892628f44b51a8723d5f282d64f867b01be2 | [
"MIT"
] | 3 | 2020-11-01T05:48:04.000Z | 2021-04-25T05:33:47.000Z | C or C++/rock_lever.cpp | amitShindeGit/Miscellaneous-Programs | 11aa892628f44b51a8723d5f282d64f867b01be2 | [
"MIT"
] | null | null | null | C or C++/rock_lever.cpp | amitShindeGit/Miscellaneous-Programs | 11aa892628f44b51a8723d5f282d64f867b01be2 | [
"MIT"
] | 3 | 2020-10-31T05:29:55.000Z | 2021-06-19T09:33:53.000Z | #include <bits/stdc++.h>
#define lli long long int
#define ull unsigned long long
#define MX 100000
using std::cin;
using std::cout;
using std::cerr;
using std::floor;
using std::ceil;
using std::vector;
using std::ios_base;
using std::unordered_map;
using std::map;
using std::endl;
using std::stack;
using std::queue... | 15.951807 | 47 | 0.539275 | amitShindeGit |
6d2525c07aa7bfcd5c277a2547fbbaa952e666d4 | 5,859 | cpp | C++ | vpc/src/v2/model/SecurityGroup.cpp | yangzhaofeng/huaweicloud-sdk-cpp-v3 | 4f3caac5ba9a9b75b4e5fd61683d1c4d57ec1c23 | [
"Apache-2.0"
] | 5 | 2021-03-03T08:23:43.000Z | 2022-02-16T02:16:39.000Z | vpc/src/v2/model/SecurityGroup.cpp | yangzhaofeng/huaweicloud-sdk-cpp-v3 | 4f3caac5ba9a9b75b4e5fd61683d1c4d57ec1c23 | [
"Apache-2.0"
] | null | null | null | vpc/src/v2/model/SecurityGroup.cpp | yangzhaofeng/huaweicloud-sdk-cpp-v3 | 4f3caac5ba9a9b75b4e5fd61683d1c4d57ec1c23 | [
"Apache-2.0"
] | 7 | 2021-02-26T13:53:35.000Z | 2022-03-18T02:36:43.000Z |
#include "huaweicloud/vpc/v2/model/SecurityGroup.h"
namespace HuaweiCloud {
namespace Sdk {
namespace Vpc {
namespace V2 {
namespace Model {
SecurityGroup::SecurityGroup()
{
name_ = "";
nameIsSet_ = false;
description_ = "";
descriptionIsSet_ = false;
id_ = "";
idIsSet_ = false;
vpcId... | 22.886719 | 114 | 0.659669 | yangzhaofeng |
6d26c8fc1fc99738bc73b07105a53d111b13b756 | 7,266 | cpp | C++ | Test.cpp | EylonNaamat/SS_b_Ex2_b | a5c00142f74b734d5deff4fa11eec0afb6885241 | [
"MIT"
] | null | null | null | Test.cpp | EylonNaamat/SS_b_Ex2_b | a5c00142f74b734d5deff4fa11eec0afb6885241 | [
"MIT"
] | null | null | null | Test.cpp | EylonNaamat/SS_b_Ex2_b | a5c00142f74b734d5deff4fa11eec0afb6885241 | [
"MIT"
] | null | null | null | // #include "doctest.h"
// #include "Notebook.hpp"
// #include "Direction.hpp"
// #include <string>
// using namespace std;
// TEST_CASE("Good input"){
// ariel::Notebook book;
// book.write(3, 5, 5, ariel::Direction::Horizontal, "my name is eylon");
// CHECK(book.read(3, 5, 5, ariel::Direction::Horizont... | 49.428571 | 97 | 0.64561 | EylonNaamat |
6d272867cecbf019f6866a501ee198f710c21e31 | 12,082 | cpp | C++ | src/modules/mpd/mpd.cpp | mazunki/Waybar | 2301788a810b64be9361b15fbd8f510002c74cc4 | [
"MIT"
] | null | null | null | src/modules/mpd/mpd.cpp | mazunki/Waybar | 2301788a810b64be9361b15fbd8f510002c74cc4 | [
"MIT"
] | null | null | null | src/modules/mpd/mpd.cpp | mazunki/Waybar | 2301788a810b64be9361b15fbd8f510002c74cc4 | [
"MIT"
] | null | null | null | #include "modules/mpd/mpd.hpp"
#include <fmt/chrono.h>
#include <spdlog/spdlog.h>
#include <glibmm/ustring.h>
#include "modules/mpd/state.hpp"
#if defined(MPD_NOINLINE)
namespace waybar::modules {
#include "modules/mpd/state.inl.hpp"
} // namespace waybar::modules
#endif
waybar::modules::MPD::MPD(const std::string& ... | 36.282282 | 118 | 0.602218 | mazunki |
6d2a3daaea0cbdf5a139f2bbf8619593245f5b49 | 847 | hpp | C++ | experimental/Pomdog.Experimental/Rendering/RenderCommandProcessor.hpp | ValtoForks/pomdog | 73798ae5f4a4c3b9b1e1e96239187c4b842c93b2 | [
"MIT"
] | null | null | null | experimental/Pomdog.Experimental/Rendering/RenderCommandProcessor.hpp | ValtoForks/pomdog | 73798ae5f4a4c3b9b1e1e96239187c4b842c93b2 | [
"MIT"
] | null | null | null | experimental/Pomdog.Experimental/Rendering/RenderCommandProcessor.hpp | ValtoForks/pomdog | 73798ae5f4a4c3b9b1e1e96239187c4b842c93b2 | [
"MIT"
] | null | null | null | // Copyright (c) 2013-2018 mogemimi. Distributed under the MIT license.
#pragma once
#include "Pomdog.Experimental/Rendering/RenderCommand.hpp"
#include "Pomdog/Graphics/detail/ForwardDeclarations.hpp"
#include "Pomdog/Math/Matrix4x4.hpp"
#include <typeindex>
namespace Pomdog {
class RenderCommandProcessor {
public... | 24.911765 | 71 | 0.720189 | ValtoForks |
6d2b9dc35608b0e45fc4895389ecb89864d9bf1a | 1,365 | cpp | C++ | protocol/message.cpp | Skycoder42/Udp-Forward-Server | 54028bf8b46658dc1915956e80791abd67477715 | [
"BSD-3-Clause"
] | 1 | 2022-03-24T15:45:26.000Z | 2022-03-24T15:45:26.000Z | protocol/message.cpp | Skycoder42/Udp-Forward-Server | 54028bf8b46658dc1915956e80791abd67477715 | [
"BSD-3-Clause"
] | null | null | null | protocol/message.cpp | Skycoder42/Udp-Forward-Server | 54028bf8b46658dc1915956e80791abd67477715 | [
"BSD-3-Clause"
] | null | null | null | #include "message.h"
#include "message_p.h"
#include <qiodevicesource.h>
#include <qiodevicesink.h>
using namespace CryptoPP;
using namespace CryptoQQ;
using namespace UdpFwdProto;
using namespace UdpFwdProto::__internal;
SecByteBlockSink::SecByteBlockSink(SecByteBlock &sbb) :
_sbb{sbb}
{}
size_t SecByteBlockSink::P... | 23.947368 | 95 | 0.750183 | Skycoder42 |
6d2da2ff2e845b520516b038e9dd2c2c4dcedb7e | 23,627 | cpp | C++ | src/modules/processes/contrib/gviehoever/GradientDomain/GradientsHdrCompositionInterface.cpp | kkretzschmar/PCL | 6354627260482afcb278a3f3a2bf30c26210d4fa | [
"JasPer-2.0"
] | null | null | null | src/modules/processes/contrib/gviehoever/GradientDomain/GradientsHdrCompositionInterface.cpp | kkretzschmar/PCL | 6354627260482afcb278a3f3a2bf30c26210d4fa | [
"JasPer-2.0"
] | null | null | null | src/modules/processes/contrib/gviehoever/GradientDomain/GradientsHdrCompositionInterface.cpp | kkretzschmar/PCL | 6354627260482afcb278a3f3a2bf30c26210d4fa | [
"JasPer-2.0"
] | null | null | null | // ____ ______ __
// / __ \ / ____// /
// / /_/ // / / /
// / ____// /___ / /___ PixInsight Class Library
// /_/ \____//_____/ PCL 02.01.11.0938
// ----------------------------------------------------------------------------
// Standard GradientDomain Process Module Version 00.06.04.0240
// -----... | 40.666093 | 160 | 0.708765 | kkretzschmar |
6d2dbe84b240919c443ab4dcde1d08af178e025d | 1,944 | cc | C++ | CondTools/CTPPS/plugins/WritePPSAssociationCuts.cc | malbouis/cmssw | 16173a30d3f0c9ecc5419c474bb4d272c58b65c8 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | CondTools/CTPPS/plugins/WritePPSAssociationCuts.cc | malbouis/cmssw | 16173a30d3f0c9ecc5419c474bb4d272c58b65c8 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | CondTools/CTPPS/plugins/WritePPSAssociationCuts.cc | malbouis/cmssw | 16173a30d3f0c9ecc5419c474bb4d272c58b65c8 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | /****************************************************************************
* Author:
* Grzegorz Sroka
****************************************************************************/
#include "FWCore/Framework/interface/Frameworkfwd.h"
#include "FWCore/Framework/interface/one/EDAnalyzer.h"
#include "FWCore/Framework... | 37.384615 | 107 | 0.718621 | malbouis |
6d321401c45902c7cddbd63dd6d210750b70edba | 9,369 | cpp | C++ | media/audio_capture_sample.cpp | openharmony-gitee-mirror/applications_sample_camera | 1f1189f53652f5588a95ba54ce60bf5a19a3dfe3 | [
"Apache-2.0"
] | null | null | null | media/audio_capture_sample.cpp | openharmony-gitee-mirror/applications_sample_camera | 1f1189f53652f5588a95ba54ce60bf5a19a3dfe3 | [
"Apache-2.0"
] | null | null | null | media/audio_capture_sample.cpp | openharmony-gitee-mirror/applications_sample_camera | 1f1189f53652f5588a95ba54ce60bf5a19a3dfe3 | [
"Apache-2.0"
] | 1 | 2021-09-13T11:12:46.000Z | 2021-09-13T11:12:46.000Z | /*
* Copyright (c) 2020-2021 Huawei Device 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... | 29.742857 | 102 | 0.580532 | openharmony-gitee-mirror |
6d35050ec88a2f695294c9421d6faa5217142410 | 18 | cpp | C++ | Mint/src/mtpch.cpp | orenccl/MintGameEngine | 45f4aa0e926f798448b53680ca5b31a83abf2522 | [
"Apache-2.0"
] | null | null | null | Mint/src/mtpch.cpp | orenccl/MintGameEngine | 45f4aa0e926f798448b53680ca5b31a83abf2522 | [
"Apache-2.0"
] | 3 | 2019-11-04T03:30:11.000Z | 2019-11-04T16:13:46.000Z | Mint/src/mtpch.cpp | orenccl/Mint | 45f4aa0e926f798448b53680ca5b31a83abf2522 | [
"Apache-2.0"
] | null | null | null | #include "mtpch.h" | 18 | 18 | 0.722222 | orenccl |
6d359c9a6da7850c38829154d0d40dc056b72fcd | 6,634 | cpp | C++ | tests/src/MConstantSumWots_test.cpp | lucasperin/WOTS | 88f09cf070839595190a3a495c4af8b0b8358172 | [
"MIT"
] | null | null | null | tests/src/MConstantSumWots_test.cpp | lucasperin/WOTS | 88f09cf070839595190a3a495c4af8b0b8358172 | [
"MIT"
] | null | null | null | tests/src/MConstantSumWots_test.cpp | lucasperin/WOTS | 88f09cf070839595190a3a495c4af8b0b8358172 | [
"MIT"
] | null | null | null | #include "gtest/gtest.h"
#include "wots/MConstantSumWots.h"
#include "wots/MCachedConstantSumWots.h"
#include "primitives/OpenSSLSha256.h"
#include "primitives/OpenSSLSha512.h"
#include <iostream>
//using MWOTS256_4 = ConstantSumWots<OpenSSLSha256,4>;
//using MWOTS512_4 = ConstantSumWots<OpenSSLSha512,4>;
//using MWO... | 23.863309 | 84 | 0.732439 | lucasperin |
6d37910e5638aca73e1133de3350b3cc1ee3465f | 432 | hpp | C++ | RubetekIOS-CPP.framework/Versions/A/Headers/libnet/msw/file/format.hpp | yklishevich/RubetekIOS-CPP-releases | 7dfbbb45b8de7dbb6fa995ff5dcbca4ec06c2bdb | [
"MIT"
] | null | null | null | RubetekIOS-CPP.framework/Versions/A/Headers/libnet/msw/file/format.hpp | yklishevich/RubetekIOS-CPP-releases | 7dfbbb45b8de7dbb6fa995ff5dcbca4ec06c2bdb | [
"MIT"
] | null | null | null | RubetekIOS-CPP.framework/Versions/A/Headers/libnet/msw/file/format.hpp | yklishevich/RubetekIOS-CPP-releases | 7dfbbb45b8de7dbb6fa995ff5dcbca4ec06c2bdb | [
"MIT"
] | null | null | null | #pragma once
#include <string>
namespace msw {
namespace file {
enum class format
{
bin
, ips
, pcap
, pcapng
};
inline std::string format_to_string(format fmt)
{
if (fmt == format::ips ) return "ips" ;
else if (fmt == format::pcap ... | 16.615385 | 58 | 0.493056 | yklishevich |
6d386bc9b54f55ed9941f19ea5ef9527a88f3764 | 3,593 | cpp | C++ | src/ai/neural/neuralnet.cpp | FuSoftware/QOsuBut | cf89ee66a23efcddf94b6e38b7c708059e026995 | [
"MIT"
] | null | null | null | src/ai/neural/neuralnet.cpp | FuSoftware/QOsuBut | cf89ee66a23efcddf94b6e38b7c708059e026995 | [
"MIT"
] | null | null | null | src/ai/neural/neuralnet.cpp | FuSoftware/QOsuBut | cf89ee66a23efcddf94b6e38b7c708059e026995 | [
"MIT"
] | null | null | null | #include "neuralnet.h"
NeuralNet::NeuralNet(std::vector<int> topology)
{
this->init(topology);
}
void NeuralNet::init(std::vector<int> topology)
{
this->topology = topology;
this->node_count = 0;
this->weight_count = 0;
//Nodes initialization
this->nodes.clear();
this->weights.clear();
... | 23.331169 | 118 | 0.555525 | FuSoftware |
6d386df1b04093b679f131490360fd6f415cbfa2 | 4,806 | cpp | C++ | MaterialLib/MPL/Properties/AverageMolarMass.cpp | ufz/ogs | 97d0249e0c578c3055730f4e9d994b9970885098 | [
"BSD-3-Clause"
] | 111 | 2015-03-20T22:54:17.000Z | 2022-03-30T04:37:21.000Z | MaterialLib/MPL/Properties/AverageMolarMass.cpp | ufz/ogs | 97d0249e0c578c3055730f4e9d994b9970885098 | [
"BSD-3-Clause"
] | 3,015 | 2015-01-05T21:55:16.000Z | 2021-02-15T01:09:17.000Z | MaterialLib/MPL/Properties/AverageMolarMass.cpp | ufz/ogs | 97d0249e0c578c3055730f4e9d994b9970885098 | [
"BSD-3-Clause"
] | 250 | 2015-02-10T15:43:57.000Z | 2022-03-30T04:37:20.000Z | /**
* \file
* \author Norbert Grunwald
* \date Jul 07 2020
*
* \copyright
* Copyright (c) 2012-2021, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/project/lic... | 33.84507 | 80 | 0.646275 | ufz |
6d3bab3f2317b9780d88f4f4d1cbdc0340a950e2 | 5,442 | cc | C++ | src/GaIA/pkgs/ifstatus/ifstatus/Graph.cc | uninth/UNItools | c8b1fbfd5d3753b5b14fa19033e39737dedefc00 | [
"BSD-3-Clause"
] | null | null | null | src/GaIA/pkgs/ifstatus/ifstatus/Graph.cc | uninth/UNItools | c8b1fbfd5d3753b5b14fa19033e39737dedefc00 | [
"BSD-3-Clause"
] | null | null | null | src/GaIA/pkgs/ifstatus/ifstatus/Graph.cc | uninth/UNItools | c8b1fbfd5d3753b5b14fa19033e39737dedefc00 | [
"BSD-3-Clause"
] | 1 | 2021-06-08T15:59:26.000Z | 2021-06-08T15:59:26.000Z | /** \file Graph.cc
* \author Gabriel Montenegro <gmontenegro@users.sourceforge.net>
* \date 09-23-04
* \brief Graph class implementation
*
* Class implementation
*/
/*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published b... | 25.914286 | 96 | 0.650129 | uninth |
6d3e3e04457f3ddd0f7978af9ad850f68fb8c470 | 3,243 | cc | C++ | t/logical_expressions_simple/src/generator/rule/terminal_rule.cc | coppit/yagg | 8fd076d817f28ed6739e6ba0cd246e37e96fc00c | [
"FSFAP"
] | 4 | 2016-07-22T03:28:21.000Z | 2020-08-20T23:38:36.000Z | t/logical_expressions_simple/src/generator/rule/terminal_rule.cc | coppit/yagg | 8fd076d817f28ed6739e6ba0cd246e37e96fc00c | [
"FSFAP"
] | null | null | null | t/logical_expressions_simple/src/generator/rule/terminal_rule.cc | coppit/yagg | 8fd076d817f28ed6739e6ba0cd246e37e96fc00c | [
"FSFAP"
] | null | null | null | #include "generator/rule/terminal_rule.h"
#include <cassert>
#ifdef SHORT_RULE_TRACE
#include <iostream>
#include "generator/utility/utility.h"
using namespace Utility;
#endif // SHORT_RULE_TRACE
using namespace std;
Terminal_Rule::Terminal_Rule()
{
m_string_count = 0;
m_terminals.push_back(this);
}
// ------... | 23.671533 | 98 | 0.570768 | coppit |
6d3f81dc443d1f2457db3666892bdd24743d246f | 8,313 | hpp | C++ | libs/dmlf/include/dmlf/colearn/muddle_learner_networker_impl.hpp | vhavrylov-ncube/ledger | 1e216c304aea344e8ef88e1954658ff665f4f4ac | [
"Apache-2.0"
] | 1 | 2019-09-30T12:22:46.000Z | 2019-09-30T12:22:46.000Z | libs/dmlf/include/dmlf/colearn/muddle_learner_networker_impl.hpp | EVSmithFetchAI/ledger | c1f904a23a8c431a86b6610bb528f38f2e2c3ad5 | [
"Apache-2.0"
] | null | null | null | libs/dmlf/include/dmlf/colearn/muddle_learner_networker_impl.hpp | EVSmithFetchAI/ledger | c1f904a23a8c431a86b6610bb528f38f2e2c3ad5 | [
"Apache-2.0"
] | 1 | 2021-05-04T11:37:20.000Z | 2021-05-04T11:37:20.000Z | #pragma once
//------------------------------------------------------------------------------
//
// Copyright 2018-2020 Fetch.AI Limited
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the Licen... | 39.028169 | 98 | 0.63527 | vhavrylov-ncube |
6d417c215f5630de542e49b9711d5fc258e0b32a | 197 | hpp | C++ | objdatatypes.hpp | phkeese/objimport | 59fc3bb8287874b8b93d6c5ffc123f5fb10e8aa3 | [
"MIT"
] | null | null | null | objdatatypes.hpp | phkeese/objimport | 59fc3bb8287874b8b93d6c5ffc123f5fb10e8aa3 | [
"MIT"
] | null | null | null | objdatatypes.hpp | phkeese/objimport | 59fc3bb8287874b8b93d6c5ffc123f5fb10e8aa3 | [
"MIT"
] | null | null | null | #pragma once
/**
* Datatype Definitions used by both the OBJ and MTL format
*/
namespace objimport {
struct Vector3 {
float x, y, z;
};
using index = unsigned int;
} // namespace objimport
| 12.3125 | 59 | 0.685279 | phkeese |
6d41a50b4965d9d935aa6fa841c656c9265d61ec | 2,016 | cpp | C++ | sources/modules/helperOC/ValFuncs/rotateData.cpp | mdoshi96/beacls | 860426ed1336d9539dea195987efcdd8a8276a1c | [
"BSD-2-Clause",
"BSD-2-Clause-FreeBSD"
] | 30 | 2017-12-17T22:57:50.000Z | 2022-01-30T17:06:34.000Z | sources/modules/helperOC/ValFuncs/rotateData.cpp | codingblazes/beacls | 6c1d685ee00e3b39d8100c4a170a850682679abc | [
"BSD-2-Clause",
"BSD-2-Clause-FreeBSD"
] | 2 | 2017-03-24T06:18:16.000Z | 2017-04-04T16:16:06.000Z | sources/modules/helperOC/ValFuncs/rotateData.cpp | codingblazes/beacls | 6c1d685ee00e3b39d8100c4a170a850682679abc | [
"BSD-2-Clause",
"BSD-2-Clause-FreeBSD"
] | 8 | 2018-07-06T01:47:21.000Z | 2021-07-23T15:50:34.000Z | #include <helperOC/helperOC_type.hpp>
#include <helperOC/ValFuncs/rotateData.hpp>
#include <helperOC/ValFuncs/eval_u.hpp>
#include <levelset/Grids/HJI_Grid.hpp>
#include <vector>
#include <iostream>
#include <algorithm>
bool helperOC::rotateData(
beacls::FloatVec& dataOut,
const levelset::HJI_Grid* g,
const beacls:... | 38.037736 | 145 | 0.686012 | mdoshi96 |
6d43b6f2613163a2bf25f0bbff73584fcfd6f96c | 88,441 | cpp | C++ | src/core/tools/vargen/utils/assembler.cpp | Schaudge/octopus | d0cc5d0840aefdfefae5af8595e3330620106054 | [
"MIT"
] | 278 | 2016-10-03T16:30:49.000Z | 2022-03-25T05:59:32.000Z | src/core/tools/vargen/utils/assembler.cpp | Schaudge/octopus | d0cc5d0840aefdfefae5af8595e3330620106054 | [
"MIT"
] | 229 | 2016-10-13T14:07:35.000Z | 2022-03-19T18:59:58.000Z | src/core/tools/vargen/utils/assembler.cpp | Schaudge/octopus | d0cc5d0840aefdfefae5af8595e3330620106054 | [
"MIT"
] | 37 | 2016-10-28T22:47:54.000Z | 2022-03-20T07:28:43.000Z | // Copyright (c) 2015-2021 Daniel Cooke
// Use of this source code is governed by the MIT license that can be found in the LICENSE file.
#include "assembler.hpp"
#include <iterator>
#include <algorithm>
#include <array>
#include <cmath>
#include <numeric>
#include <limits>
#include <cassert>
#include <iostream>
#inc... | 39.324589 | 138 | 0.600954 | Schaudge |
6d44e96700a7f0444704bd6eef5380e1b426b2cf | 604 | cpp | C++ | src/main/driver/cpp/adiIMUJNI.cpp | juchong/adi_frc_imu | 1558fdecb5b3f1fb721a01832dcfbf15a69c4161 | [
"MIT"
] | 1 | 2021-02-05T05:44:39.000Z | 2021-02-05T05:44:39.000Z | src/main/driver/cpp/adiIMUJNI.cpp | juchong/adi_frc_imu | 1558fdecb5b3f1fb721a01832dcfbf15a69c4161 | [
"MIT"
] | null | null | null | src/main/driver/cpp/adiIMUJNI.cpp | juchong/adi_frc_imu | 1558fdecb5b3f1fb721a01832dcfbf15a69c4161 | [
"MIT"
] | null | null | null | #include "jni.h"
#include "com_analogdevices_jni_adiIMUJNI.h"
JNIEXPORT jint JNICALL JNI_OnLoad(JavaVM* vm, void* reserved) {
// Check to ensure the JNI version is valid
JNIEnv* env;
if (vm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6) != JNI_OK)
return JNI_ERR;
// In here is also ... | 26.26087 | 78 | 0.72351 | juchong |
6d47aa5057d2788d2549fcf98748fef0ff03e7b0 | 595 | hpp | C++ | src/Evolution/Systems/NewtonianEuler/Sources/NoSource.hpp | macedo22/spectre | 97b2b7ae356cf86830258cb5f689f1191fdb6ddd | [
"MIT"
] | 2 | 2021-04-11T04:07:42.000Z | 2021-04-11T05:07:54.000Z | src/Evolution/Systems/NewtonianEuler/Sources/NoSource.hpp | macedo22/spectre | 97b2b7ae356cf86830258cb5f689f1191fdb6ddd | [
"MIT"
] | 4 | 2018-06-04T20:26:40.000Z | 2018-07-27T14:54:55.000Z | src/Evolution/Systems/NewtonianEuler/Sources/NoSource.hpp | macedo22/spectre | 97b2b7ae356cf86830258cb5f689f1191fdb6ddd | [
"MIT"
] | 1 | 2019-01-03T21:47:04.000Z | 2019-01-03T21:47:04.000Z | // Distributed under the MIT License.
// See LICENSE.txt for details.
#pragma once
#include "Utilities/TMPL.hpp"
/// \cond
namespace PUP {
class er;
} // namespace PUP
/// \endcond
namespace NewtonianEuler {
namespace Sources {
/*!
* \brief Used to mark that the initial data do not require source
* terms in the... | 20.517241 | 66 | 0.694118 | macedo22 |
6d47da4f8881a41c3345d4108f5037603516e42a | 697 | cpp | C++ | leetcode/557.cpp | lizheng3401/ALG | 55d1da810c627b3a23652423c35ef6baa7bfad41 | [
"MIT"
] | null | null | null | leetcode/557.cpp | lizheng3401/ALG | 55d1da810c627b3a23652423c35ef6baa7bfad41 | [
"MIT"
] | null | null | null | leetcode/557.cpp | lizheng3401/ALG | 55d1da810c627b3a23652423c35ef6baa7bfad41 | [
"MIT"
] | null | null | null | #include <string>
#include <algorithm>
#include <iostream>
string reverseWords(string s) {
string S, temp;
for(int i = 0; i < s.size(); ++i)
{
if(s[i] == ' ' || i == s.size() - 1)
{
if(i != s.size() - 1)
{
reverse(temp.begin(), temp.end());
... | 20.5 | 56 | 0.377331 | lizheng3401 |
6d497686c8e02117b1568cd0959d563bbcca6921 | 4,671 | cpp | C++ | pythonTexture.cpp | indigames/pyxie | 4536730c73ca4fcd16b676ab5f707e6fabfdb46c | [
"MIT"
] | 1 | 2019-09-19T01:41:54.000Z | 2019-09-19T01:41:54.000Z | pythonTexture.cpp | indigames/pyxie | 4536730c73ca4fcd16b676ab5f707e6fabfdb46c | [
"MIT"
] | 1 | 2019-09-02T04:31:13.000Z | 2019-09-02T04:31:13.000Z | pythonTexture.cpp | indigames/pyxiepython | 4536730c73ca4fcd16b676ab5f707e6fabfdb46c | [
"MIT"
] | null | null | null | #include "pyxie.h"
#include "pythonResource.h"
#include "pyxieResourceCreator.h"
#include "Backyard.h"
#include "pyVectorMath.h"
#include "pythonTexture_doc_en.h"
#include "numpy/ndarrayobject.h"
namespace pyxie
{
PyObject *texture_new(PyTypeObject *type, PyObject *args, PyObject *kw) {
static char* k... | 32.664336 | 102 | 0.49347 | indigames |
6d49f7b5bcd462bde57e362a57672d9f0683f151 | 1,748 | hpp | C++ | source/bounded/string_view.hpp | davidstone/bounded-integer | d4f9a88a12174ca8382af60b00c5affd19aa8632 | [
"BSL-1.0"
] | 44 | 2020-10-03T21:37:52.000Z | 2022-03-26T10:08:46.000Z | source/bounded/string_view.hpp | davidstone/bounded-integer | d4f9a88a12174ca8382af60b00c5affd19aa8632 | [
"BSL-1.0"
] | 1 | 2021-01-01T23:22:39.000Z | 2021-01-01T23:22:39.000Z | source/bounded/string_view.hpp | davidstone/bounded-integer | d4f9a88a12174ca8382af60b00c5affd19aa8632 | [
"BSL-1.0"
] | null | null | null | // Copyright David Stone 2017.
// 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 <bounded/detail/comparison.hpp>
#include "../test_assert.hpp"
namespace bounded_test {
// Add in some asserts and manual... | 24.619718 | 84 | 0.689359 | davidstone |
6d4b1d5bde216d4f953728feb9acd59a7d10fa89 | 378 | hpp | C++ | src/motorcycle.hpp | TralahM/ParkingLotSystem | 0add5d8581505a086f1eee4074dac1c377fd07fd | [
"MIT"
] | null | null | null | src/motorcycle.hpp | TralahM/ParkingLotSystem | 0add5d8581505a086f1eee4074dac1c377fd07fd | [
"MIT"
] | null | null | null | src/motorcycle.hpp | TralahM/ParkingLotSystem | 0add5d8581505a086f1eee4074dac1c377fd07fd | [
"MIT"
] | null | null | null | #ifndef __MOTORCYCLE
#define __MOTORCYCLE
#include "vehicle.hpp"
/*! \class Motorcycle : public Vehicle
* \brief Brief class description
*
* Detailed description
*/
class Motorcycle : public Vehicle
{
public:
Motorcycle(const std::string& plate, Color color):Vehicle{plate,color}{}
~Motorcycle(){}
protec... | 18.9 | 76 | 0.706349 | TralahM |
6d4c10e41dea9747d048487c426d0f3976b904ae | 1,647 | cpp | C++ | src/syntax/AST/Equals.cpp | pougetat/decacompiler | 3181c87fce7c28d742f372300daabeb9f9f8d3c6 | [
"MIT"
] | null | null | null | src/syntax/AST/Equals.cpp | pougetat/decacompiler | 3181c87fce7c28d742f372300daabeb9f9f8d3c6 | [
"MIT"
] | null | null | null | src/syntax/AST/Equals.cpp | pougetat/decacompiler | 3181c87fce7c28d742f372300daabeb9f9f8d3c6 | [
"MIT"
] | null | null | null | #include "Equals.h"
Equals::Equals(AbstractExpr * e1, AbstractExpr * e2)
{
m_left_operand = e1;
m_right_operand = e2;
}
AbstractExpr * Equals::Clone()
{
return new Equals(
m_left_operand->Clone(),
m_right_operand->Clone()
);
}
void Equals::Display(string tab)
{
cout << tab << ">"... | 27.915254 | 77 | 0.592593 | pougetat |
6d4d162d11686fb958bece3cb012243925b451a1 | 1,046 | cpp | C++ | parkgates.cpp | whit1206/Themepark-Animation | 2167b698e3b86273d6c2ec03cb1ed0d70e4f01d0 | [
"Unlicense"
] | null | null | null | parkgates.cpp | whit1206/Themepark-Animation | 2167b698e3b86273d6c2ec03cb1ed0d70e4f01d0 | [
"Unlicense"
] | null | null | null | parkgates.cpp | whit1206/Themepark-Animation | 2167b698e3b86273d6c2ec03cb1ed0d70e4f01d0 | [
"Unlicense"
] | null | null | null | #include "parkgates.h"
#include "eventscheduler.h"
#include "globals.h"
ParkGates::ParkGates() {
visitorCount = 0;
}
void ParkGates::open() {
// create a kick-off event
generateNewEvent(1);
// go!
scheduler->run();
}
void ParkGates::paint(GP142Display& display) const {
display.write(-2... | 18.350877 | 73 | 0.664436 | whit1206 |
6d4e12c87f63b183609d7d4f1d7941e2f2058567 | 1,129 | cpp | C++ | examples/pxScene2d/external/libnode-v10.15.3/deps/v8/third_party/antlr4/runtime/Cpp/runtime/src/atn/LexerMoreAction.cpp | madanagopaltcomcast/pxCore | c4a3a40a190521c8b6383d126c87612eca5b3c42 | [
"Apache-2.0"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | examples/pxScene2d/external/libnode-v10.15.3/deps/v8/third_party/antlr4/runtime/Cpp/runtime/src/atn/LexerMoreAction.cpp | madanagopaltcomcast/pxCore | c4a3a40a190521c8b6383d126c87612eca5b3c42 | [
"Apache-2.0"
] | 1,432 | 2017-06-21T04:08:48.000Z | 2020-08-25T16:21:15.000Z | examples/pxScene2d/external/libnode-v10.15.3/deps/v8/third_party/antlr4/runtime/Cpp/runtime/src/atn/LexerMoreAction.cpp | madanagopaltcomcast/pxCore | c4a3a40a190521c8b6383d126c87612eca5b3c42 | [
"Apache-2.0"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | /* Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root.
*/
#include "Lexer.h"
#include "misc/MurmurHash.h"
#include "atn/LexerMoreAction.h"
using namespace antlr4;
using namespace... | 27.536585 | 72 | 0.746678 | madanagopaltcomcast |
6d4f87e32ba23587f8382c9a055ae4af79ea382b | 4,403 | cpp | C++ | igl/isolines.cpp | aviadtzemah/animation2 | 9a3f980fbe27672fe71f8f61f73b5713f2af5089 | [
"Apache-2.0"
] | 2,392 | 2016-12-17T14:14:12.000Z | 2022-03-30T19:40:40.000Z | igl/isolines.cpp | aviadtzemah/animation2 | 9a3f980fbe27672fe71f8f61f73b5713f2af5089 | [
"Apache-2.0"
] | 106 | 2018-04-19T17:47:31.000Z | 2022-03-01T19:44:11.000Z | igl/isolines.cpp | aviadtzemah/animation2 | 9a3f980fbe27672fe71f8f61f73b5713f2af5089 | [
"Apache-2.0"
] | 184 | 2017-11-15T09:55:37.000Z | 2022-02-21T16:30:46.000Z | // This file is part of libigl, a simple c++ geometry processing library.
//
// Copyright (C) 2017 Oded Stein <oded.stein@columbia.edu>
//
// This Source Code Form is subject to the terms of the Mozilla Public License
// v. 2.0. If a copy of the MPL was not distributed with this file, You can
// obtain one at http://mo... | 37.632479 | 579 | 0.53509 | aviadtzemah |
6d4fb23ff4fdea206d4effd547e8f27dc2d5bb16 | 1,131 | hpp | C++ | ODFAEG/extlibs/headers/MySQL/conncpp/compat/Array.hpp | Mechap/ODFAEG | ad4bf026ee7055aaf168c5a8e3dc57baaaf42e40 | [
"Zlib"
] | null | null | null | ODFAEG/extlibs/headers/MySQL/conncpp/compat/Array.hpp | Mechap/ODFAEG | ad4bf026ee7055aaf168c5a8e3dc57baaaf42e40 | [
"Zlib"
] | 1 | 2020-02-14T14:19:44.000Z | 2020-12-04T17:39:17.000Z | ODFAEG/extlibs/headers/MySQL/conncpp/compat/Array.hpp | Mechap/ODFAEG | ad4bf026ee7055aaf168c5a8e3dc57baaaf42e40 | [
"Zlib"
] | 2 | 2021-05-23T13:45:28.000Z | 2021-07-24T13:36:13.000Z | /*
*
* MariaDB C++ Connector
*
* Copyright (c) 2020 MariaDB Ab.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any l... | 29.763158 | 105 | 0.721485 | Mechap |
6d4fcca6ae7254b98ab1e7db63f9ddf6aa8f7077 | 7,268 | hpp | C++ | include/System/Resources/ManifestBasedResourceGroveler.hpp | RedBrumbler/virtuoso-codegen | e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3 | [
"Unlicense"
] | null | null | null | include/System/Resources/ManifestBasedResourceGroveler.hpp | RedBrumbler/virtuoso-codegen | e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3 | [
"Unlicense"
] | null | null | null | include/System/Resources/ManifestBasedResourceGroveler.hpp | RedBrumbler/virtuoso-codegen | e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "beatsaber-hook/shared/utils/typedefs.h"
#include "beatsaber-hook/shared/utils/byref.hpp"
// Including type: System.Resources.IResourceGroveler
... | 60.566667 | 289 | 0.780545 | RedBrumbler |
6d504cce8af2f9b1d71156ebebbb2898eeaedca5 | 1,835 | cpp | C++ | 3D Engine/Inspector.cpp | ofaura/Resonance-Engine | 129b94d38f32b3b34a9dd95c5ee5a2adf064da92 | [
"MIT"
] | null | null | null | 3D Engine/Inspector.cpp | ofaura/Resonance-Engine | 129b94d38f32b3b34a9dd95c5ee5a2adf064da92 | [
"MIT"
] | null | null | null | 3D Engine/Inspector.cpp | ofaura/Resonance-Engine | 129b94d38f32b3b34a9dd95c5ee5a2adf064da92 | [
"MIT"
] | null | null | null | #include "Inspector.h"
#include "Application.h"
#include "ModuleWindow.h"
#include "ModuleSceneIntro.h"
#include "GameObject.h"
#include "mmgr/mmgr.h"
Inspector::Inspector(bool is_visible) : EditorElement(is_visible) {}
Inspector::~Inspector() {}
void Inspector::Start()
{
}
void Inspector::Draw()
{
if (!active) r... | 21.588235 | 112 | 0.633787 | ofaura |
6d5218c045ba2eb49984a3a28abdbe905c3186ac | 7,498 | cpp | C++ | EvtGen1_06_00/src/EvtGenModels/EvtBtoXsgammaFermiUtil.cpp | klendathu2k/StarGenerator | 7dd407c41d4eea059ca96ded80d30bda0bc014a4 | [
"MIT"
] | 2 | 2018-12-24T19:37:00.000Z | 2022-02-28T06:57:20.000Z | EvtGen1_06_00/src/EvtGenModels/EvtBtoXsgammaFermiUtil.cpp | klendathu2k/StarGenerator | 7dd407c41d4eea059ca96ded80d30bda0bc014a4 | [
"MIT"
] | null | null | null | EvtGen1_06_00/src/EvtGenModels/EvtBtoXsgammaFermiUtil.cpp | klendathu2k/StarGenerator | 7dd407c41d4eea059ca96ded80d30bda0bc014a4 | [
"MIT"
] | null | null | null | //--------------------------------------------------------------------------
//
//
// Copyright Information: See EvtGen/COPYRIGHT
//
// Environment:
// This software is part of the EvtGen package developed jointly
// for the BaBar and CLEO collaborations. If you use all or part
// of it, please give an ... | 35.535545 | 261 | 0.631368 | klendathu2k |
6d54c71d34946995a8fbea183c16c5dce5e636e1 | 6,202 | cpp | C++ | android/library/maply/src/main/cpp/BaseInfo_jni.cpp | freebird-airlines/WhirlyGlobe | 3e1dd7cf27654558caeb1c5a2c8616bc1a3dbbb4 | [
"Apache-2.0"
] | 2 | 2019-05-16T18:52:21.000Z | 2020-10-10T14:08:53.000Z | android/library/maply/src/main/cpp/BaseInfo_jni.cpp | freebird-airlines/WhirlyGlobe | 3e1dd7cf27654558caeb1c5a2c8616bc1a3dbbb4 | [
"Apache-2.0"
] | null | null | null | android/library/maply/src/main/cpp/BaseInfo_jni.cpp | freebird-airlines/WhirlyGlobe | 3e1dd7cf27654558caeb1c5a2c8616bc1a3dbbb4 | [
"Apache-2.0"
] | 1 | 2020-10-22T12:09:24.000Z | 2020-10-22T12:09:24.000Z | /*
* BaseInfo_jni.cpp
* WhirlyGlobeLib
*
* Created by Steve Gifford on 11/16/15.
* Copyright 2011-2016 mousebird consulting
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* ... | 26.965217 | 103 | 0.651564 | freebird-airlines |
6d55501b878b9aa80b959894a85e547e515f3a7c | 2,970 | cc | C++ | Geometry/MTDCommonData/plugins/dd4hep/DDMTDLinear.cc | SWuchterl/cmssw | 769b4a7ef81796579af7d626da6039dfa0347b8e | [
"Apache-2.0"
] | 6 | 2017-09-08T14:12:56.000Z | 2022-03-09T23:57:01.000Z | Geometry/MTDCommonData/plugins/dd4hep/DDMTDLinear.cc | SWuchterl/cmssw | 769b4a7ef81796579af7d626da6039dfa0347b8e | [
"Apache-2.0"
] | 545 | 2017-09-19T17:10:19.000Z | 2022-03-07T16:55:27.000Z | Geometry/MTDCommonData/plugins/dd4hep/DDMTDLinear.cc | SWuchterl/cmssw | 769b4a7ef81796579af7d626da6039dfa0347b8e | [
"Apache-2.0"
] | 14 | 2017-10-04T09:47:21.000Z | 2019-10-23T18:04:45.000Z | #include "DD4hep/DetFactoryHelper.h"
#include "DataFormats/Math/interface/CMSUnits.h"
#include "DetectorDescription/DDCMS/interface/DDPlugins.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include <Math/Cartesian3D.h>
#include <Math/DisplacementVector3D.h>
#include "DataFormats/Math/interface/GeantUnits.... | 43.043478 | 121 | 0.646465 | SWuchterl |
6d55e3ecd2b8389a72d456558eb91aed9b00c4ff | 4,021 | cc | C++ | chrome/browser/browser_url_handler.cc | Gitman1989/chromium | 2b1cceae1075ef012fb225deec8b4c8bbe4bc897 | [
"BSD-3-Clause"
] | 2 | 2017-09-02T19:08:28.000Z | 2021-11-15T15:15:14.000Z | chrome/browser/browser_url_handler.cc | Gitman1989/chromium | 2b1cceae1075ef012fb225deec8b4c8bbe4bc897 | [
"BSD-3-Clause"
] | null | null | null | chrome/browser/browser_url_handler.cc | Gitman1989/chromium | 2b1cceae1075ef012fb225deec8b4c8bbe4bc897 | [
"BSD-3-Clause"
] | 1 | 2020-04-13T05:45:10.000Z | 2020-04-13T05:45:10.000Z | // Copyright (c) 2006-2008 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 "chrome/browser/browser_url_handler.h"
#include "base/string_util.h"
#include "chrome/browser/browser_about_handler.h"
#include "chrome... | 32.427419 | 79 | 0.692614 | Gitman1989 |
6d56961d84a3db32a3779437e2bc90ed51fafb72 | 3,421 | cc | C++ | test/core/client_channel/parse_address_test.cc | wangzihust/gRPC | 123547c9625c56fdf5cb4ddd1df55ae0c785fa60 | [
"Apache-2.0"
] | null | null | null | test/core/client_channel/parse_address_test.cc | wangzihust/gRPC | 123547c9625c56fdf5cb4ddd1df55ae0c785fa60 | [
"Apache-2.0"
] | null | null | null | test/core/client_channel/parse_address_test.cc | wangzihust/gRPC | 123547c9625c56fdf5cb4ddd1df55ae0c785fa60 | [
"Apache-2.0"
] | 1 | 2018-03-01T07:37:08.000Z | 2018-03-01T07:37:08.000Z | /*
*
* Copyright 2017 gRPC authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | 33.213592 | 80 | 0.708272 | wangzihust |
6d57b3dc4241fabb43dfdf5208af568abaf75118 | 21,273 | cc | C++ | drivers/bluetooth/lib/sm/bearer.cc | PowerOlive/garnet | 16b5b38b765195699f41ccb6684cc58dd3512793 | [
"BSD-3-Clause"
] | null | null | null | drivers/bluetooth/lib/sm/bearer.cc | PowerOlive/garnet | 16b5b38b765195699f41ccb6684cc58dd3512793 | [
"BSD-3-Clause"
] | null | null | null | drivers/bluetooth/lib/sm/bearer.cc | PowerOlive/garnet | 16b5b38b765195699f41ccb6684cc58dd3512793 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2018 The Fuchsia 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 "bearer.h"
#include <lib/async/default.h>
#include <zircon/status.h>
#include "garnet/drivers/bluetooth/lib/common/log.h"
#include "garnet/drive... | 30.920058 | 86 | 0.68091 | PowerOlive |
6d59614896811ac4a384486d26af542a04ac1c0a | 2,783 | cpp | C++ | src/system/boot/platform/bios_ia32/menu.cpp | deep-1/haiku | b273e9733d25babe5e6702dc1e24f3dff1ffd6dc | [
"MIT"
] | 4 | 2016-03-29T21:45:21.000Z | 2016-12-20T00:50:38.000Z | src/system/boot/platform/bios_ia32/menu.cpp | jessicah/haiku | c337460525c39e870d31221d205a299d9cd79c6a | [
"MIT"
] | null | null | null | src/system/boot/platform/bios_ia32/menu.cpp | jessicah/haiku | c337460525c39e870d31221d205a299d9cd79c6a | [
"MIT"
] | 1 | 2020-05-08T04:02:02.000Z | 2020-05-08T04:02:02.000Z | /*
* Copyright 2004-2010, Axel Dörfler, axeld@pinc-software.de.
* Copyright 2011, Rene Gollent, rene@gollent.com.
* Distributed under the terms of the MIT License.
*/
#include "smp.h"
#include "video.h"
#include <boot/menu.h>
#include <boot/platform/generic/text_menu.h>
#include <safemode.h>
static void
warm_r... | 22.626016 | 70 | 0.65972 | deep-1 |
6d5b19b2a06d2429dd24afa94e72406dfd2a53d4 | 25,106 | cpp | C++ | tesseract_motion_planners/test/simple_planner_lvs_interpolation.cpp | marip8/tesseract_planning | 62d37d888376cd1277ebaf6dcf5e76cc7ad59318 | [
"Apache-2.0",
"BSD-2-Clause"
] | 1 | 2022-02-28T13:22:28.000Z | 2022-02-28T13:22:28.000Z | tesseract/tesseract_planning/tesseract_motion_planners/test/simple_planner_lvs_interpolation.cpp | johnwason/tesseract | 186a34f77af4bbc2a9d6e571e5345f9209f26872 | [
"BSD-2-Clause",
"Apache-2.0"
] | 12 | 2019-06-04T19:04:12.000Z | 2020-09-11T14:33:25.000Z | tesseract/tesseract_planning/tesseract_motion_planners/test/simple_planner_lvs_interpolation.cpp | Levi-Armstrong/tesseract-1 | 33bccff4204c4682eaff57e2827b586f182ae5fe | [
"Apache-2.0",
"BSD-2-Clause"
] | 4 | 2018-07-25T15:16:52.000Z | 2019-10-02T16:43:52.000Z | /**
* @file simple_planner_fixed_size_interpolation.cpp
* @brief
*
* @author Matthew Powelson
* @date July 23, 2020
* @version TODO
* @bug No known bugs
*
* @copyright Copyright (c) 2020, Southwest Research Institute
*
* @par License
* Software License Agreement (Apache License)
* @par
* Licensed under th... | 45.236036 | 120 | 0.764319 | marip8 |
6d5c798ad9895ef1d38b81ea9517683a84a6ee8e | 16,771 | hpp | C++ | include/Awl/boost/detail/ob_compressed_pair.hpp | Yalir/Awl | 92ef5996d8933bf92ceb37357d8cd2b169cb788e | [
"BSL-1.0"
] | 4 | 2016-07-01T02:33:28.000Z | 2020-03-03T17:52:54.000Z | include/Awl/boost/detail/ob_compressed_pair.hpp | Yalir/Awl | 92ef5996d8933bf92ceb37357d8cd2b169cb788e | [
"BSL-1.0"
] | null | null | null | include/Awl/boost/detail/ob_compressed_pair.hpp | Yalir/Awl | 92ef5996d8933bf92ceb37357d8cd2b169cb788e | [
"BSL-1.0"
] | null | null | null | // (C) Copyright Steve Cleary, Beman Dawes, Howard Hinnant & John Maddock 2000.
// Use, modification and distribution are subject to 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).
//
// See http://www.boost.org/libs/utility fo... | 32.819961 | 116 | 0.667104 | Yalir |
6d5c9f457f133d4a7cf9d86ae3664d367242da4b | 2,704 | cpp | C++ | Sources/Overload/OvGame/src/OvGame/Core/Game.cpp | zoloypzuo/Overload | c7ecdaae28ff28448ebc227c84d0e0ff17feff5d | [
"MIT"
] | 1 | 2021-11-14T08:43:17.000Z | 2021-11-14T08:43:17.000Z | Sources/Overload/OvGame/src/OvGame/Core/Game.cpp | zoloypzuo/Overload | c7ecdaae28ff28448ebc227c84d0e0ff17feff5d | [
"MIT"
] | null | null | null | Sources/Overload/OvGame/src/OvGame/Core/Game.cpp | zoloypzuo/Overload | c7ecdaae28ff28448ebc227c84d0e0ff17feff5d | [
"MIT"
] | null | null | null | /**
* @project: Overload
* @author: Overload Tech.
* @licence: MIT
*/
#include "OvGame/Core/Game.h"
#include <OvDebug/Logger.h>
#include <OvUI/Widgets/Texts/Text.h>
#include <OvAnalytics/Profiling/ProfilerSpy.h>
OvGame::Core::Game::Game(Context & p_context) :
m_context(p_context),
m_gameRenderer(p_context),
m_fp... | 22.533333 | 152 | 0.737426 | zoloypzuo |
6d5ce775736d3b41f9f6012a1d3c63da8cc43597 | 1,128 | cpp | C++ | pgm10_21.cpp | neharkarvishal/Data-Structures-and-Algorithms-with-Object-Oriented-Design-Patterns-in-C- | c9a29d2dd43ad8561e828c25f98de6a8c8f2317a | [
"Unlicense"
] | 1 | 2021-07-13T03:58:36.000Z | 2021-07-13T03:58:36.000Z | pgm10_21.cpp | neharkarvishal/Data-Structures-and-Algorithms-with-Object-Oriented-Design-Patterns-in-C- | c9a29d2dd43ad8561e828c25f98de6a8c8f2317a | [
"Unlicense"
] | null | null | null | pgm10_21.cpp | neharkarvishal/Data-Structures-and-Algorithms-with-Object-Oriented-Design-Patterns-in-C- | c9a29d2dd43ad8561e828c25f98de6a8c8f2317a | [
"Unlicense"
] | null | null | null | //
// This file contains the C++ code from Program 10.21 of
// "Data Structures and Algorithms
// with Object-Oriented Design Patterns in C++"
// by Bruno R. Preiss.
//
// Copyright (c) 1998 by Bruno R. Preiss, P.Eng. All rights reserved.
//
// http://www.pads.uwaterloo.ca/Bruno.Preiss/books/opus4/program... | 28.923077 | 80 | 0.616135 | neharkarvishal |
6d5e10ef93400fecc185c69be60fb1409209c3fd | 4,591 | cpp | C++ | dev/test/stream_io_helpers/main.cpp | ngrodzitski/json_dto-0.1 | ef6ff3632ced9bb2196534f5b7548362cbeb1933 | [
"BSD-3-Clause"
] | 7 | 2017-04-05T09:23:32.000Z | 2017-11-19T08:49:35.000Z | dev/test/stream_io_helpers/main.cpp | ngrodzitski/json_dto-0.1 | ef6ff3632ced9bb2196534f5b7548362cbeb1933 | [
"BSD-3-Clause"
] | 4 | 2017-07-22T13:15:32.000Z | 2017-09-11T10:30:41.000Z | dev/test/stream_io_helpers/main.cpp | ngrodzitski/json_dto-0.1 | ef6ff3632ced9bb2196534f5b7548362cbeb1933 | [
"BSD-3-Clause"
] | 3 | 2017-04-05T09:22:33.000Z | 2017-11-19T08:49:37.000Z | #define CATCH_CONFIG_MAIN
#include <catch/catch.hpp>
#include <iostream>
#include <sstream>
#include <rapidjson/document.h>
#include <json_dto/pub.hpp>
#include <test/helper.hpp>
using namespace json_dto;
struct supported_types_t
{
supported_types_t() {}
supported_types_t(
bool val_bool,
std::int16_t val_in... | 19.129167 | 83 | 0.587454 | ngrodzitski |
6d5f1237188c8425fe499d9931856717d689785f | 448 | cc | C++ | sync/test/vivaldi_single_client_bookmarks_sync_test.cc | careylam/vivaldi | bff2a435c35fe2cb3327d8d4a76430d4be5f666e | [
"BSD-3-Clause"
] | null | null | null | sync/test/vivaldi_single_client_bookmarks_sync_test.cc | careylam/vivaldi | bff2a435c35fe2cb3327d8d4a76430d4be5f666e | [
"BSD-3-Clause"
] | null | null | null | sync/test/vivaldi_single_client_bookmarks_sync_test.cc | careylam/vivaldi | bff2a435c35fe2cb3327d8d4a76430d4be5f666e | [
"BSD-3-Clause"
] | 1 | 2020-05-12T23:54:41.000Z | 2020-05-12T23:54:41.000Z | // Copyright (c) 2015-2017 Vivaldi Technologies AS. All rights reserved
#include "sync/test/vivaldi_profile_sync_service_harness.h"
#include "sync/test/vivaldi_sync_test.h"
// Substitute these class and test names with Vivaldi ones
#define SingleClientBookmarksSyncTest VivaldiSingleClientBookmarksSyncTest
#define Syn... | 40.727273 | 104 | 0.839286 | careylam |
6d6245691536c3dc93b986d7738d56d5fe2a2feb | 6,066 | cc | C++ | datafile.cc | t123yh/mcufont-encoder | dafb516ffbca043600bdc6d3aeb689e6c49b8986 | [
"MIT"
] | 2 | 2020-09-08T15:39:08.000Z | 2020-09-09T01:27:28.000Z | datafile.cc | t123yh/mcufont-encoder | dafb516ffbca043600bdc6d3aeb689e6c49b8986 | [
"MIT"
] | null | null | null | datafile.cc | t123yh/mcufont-encoder | dafb516ffbca043600bdc6d3aeb689e6c49b8986 | [
"MIT"
] | null | null | null | #include "datafile.hh"
#include <sstream>
#include <algorithm>
#include <cctype>
#include <stdexcept>
#include "ccfixes.hh"
#define DATAFILE_FORMAT_VERSION 1
namespace mcufont {
DataFile::DataFile(const std::vector<dictentry_t> &dictionary,
const std::vector<glyphentry_t> &glyphs,
... | 25.923077 | 102 | 0.511045 | t123yh |
6d6590c1f8fa236149ada09bc7fbad031b0c344f | 1,761 | hpp | C++ | Quiz4/figure.hpp | deror1869107/yypoop | f3605961787610bf08f8a9ea2afb905d1af3c5c0 | [
"MIT"
] | null | null | null | Quiz4/figure.hpp | deror1869107/yypoop | f3605961787610bf08f8a9ea2afb905d1af3c5c0 | [
"MIT"
] | null | null | null | Quiz4/figure.hpp | deror1869107/yypoop | f3605961787610bf08f8a9ea2afb905d1af3c5c0 | [
"MIT"
] | null | null | null | #include <string>
#include <iostream>
using namespace std;
namespace figure{
//You can add member function in this class
class BasePoint{
public:
BasePoint(int px, int py):x(px),y(py){}
virtual ~BasePoint(){}
void settype(string s){
type = s;
}
... | 25.897059 | 86 | 0.454287 | deror1869107 |
6d65988a20dd79946ad963f6cc172e44ac2ab85d | 5,717 | cc | C++ | chrome/browser/media/wv_test_license_server_config.cc | google-ar/chromium | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 777 | 2017-08-29T15:15:32.000Z | 2022-03-21T05:29:41.000Z | chrome/browser/media/wv_test_license_server_config.cc | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 66 | 2017-08-30T18:31:18.000Z | 2021-08-02T10:59:35.000Z | chrome/browser/media/wv_test_license_server_config.cc | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 123 | 2017-08-30T01:19:34.000Z | 2022-03-17T22:55:31.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.
#include "chrome/browser/media/wv_test_license_server_config.h"
#include "base/command_line.h"
#include "base/environment.h"
#include "base/files/file_ut... | 36.183544 | 79 | 0.731852 | google-ar |
6d665fe66e2e9576b3ec710c575ad4aec6f363a7 | 2,190 | cpp | C++ | src/LoboFEM/LoboDynamic/LoboDynamicSolver/LoboOptimizationSolver/Dense/NewtonDense.cpp | lrquad/LoboFEM2 | 4ac80bd7b6e347d5b1650f5241f7b7b53c9716f5 | [
"MIT"
] | 5 | 2020-05-09T12:33:08.000Z | 2021-12-17T08:07:29.000Z | src/LoboFEM/LoboDynamic/LoboDynamicSolver/LoboOptimizationSolver/Dense/NewtonDense.cpp | FYTalon/LoboFEM2 | 4ac80bd7b6e347d5b1650f5241f7b7b53c9716f5 | [
"MIT"
] | null | null | null | src/LoboFEM/LoboDynamic/LoboDynamicSolver/LoboOptimizationSolver/Dense/NewtonDense.cpp | FYTalon/LoboFEM2 | 4ac80bd7b6e347d5b1650f5241f7b7b53c9716f5 | [
"MIT"
] | 2 | 2021-02-11T10:00:37.000Z | 2021-04-18T02:08:11.000Z | #include "NewtonDense.h"
#include "LoboDynamic/LoboDynamic.h"
#include <fstream>
#include <iostream>
Lobo::NewtonDense::NewtonDense(DynamicModel *model_, int maxiter, double tol) : LoboOptimizationSolver(model_, maxiter, tol)
{
q.resize(r);
q.setZero();
}
Lobo::NewtonDense::~NewtonDense()
{
}
void Lobo::... | 26.071429 | 124 | 0.618721 | lrquad |
6d67e0363661e1d539e79d0f973a30d700353c89 | 2,135 | cpp | C++ | src/c++/methods/ModfileInstanceMethods.cpp | TestingTravis/modioSDK | b15c4442a8acdb4bf690a846232399eaf9fe18f6 | [
"MIT"
] | null | null | null | src/c++/methods/ModfileInstanceMethods.cpp | TestingTravis/modioSDK | b15c4442a8acdb4bf690a846232399eaf9fe18f6 | [
"MIT"
] | null | null | null | src/c++/methods/ModfileInstanceMethods.cpp | TestingTravis/modioSDK | b15c4442a8acdb4bf690a846232399eaf9fe18f6 | [
"MIT"
] | null | null | null | #include "c++/ModIOInstance.h"
namespace modio
{
void Instance::getModfile(u32 mod_id, u32 modfile_id, const std::function<void(const modio::Response &response, const modio::Modfile &modfile)> &callback)
{
const struct GetModfileCall *get_modfile_call = new GetModfileCall{callback};
get_modfile_calls[this->current... | 42.7 | 194 | 0.783607 | TestingTravis |
6d703a16058c13eeb861f2707d3a823dad578cf9 | 3,098 | hpp | C++ | src/tests/functional/shared_test_classes/include/shared_test_classes/base/ov_subgraph.hpp | pfinashx/openvino | 1d417e888b508415510fb0a92e4a9264cf8bdef7 | [
"Apache-2.0"
] | 1 | 2022-02-26T17:33:44.000Z | 2022-02-26T17:33:44.000Z | src/tests/functional/shared_test_classes/include/shared_test_classes/base/ov_subgraph.hpp | pfinashx/openvino | 1d417e888b508415510fb0a92e4a9264cf8bdef7 | [
"Apache-2.0"
] | 17 | 2021-11-25T10:22:17.000Z | 2022-03-28T13:19:31.000Z | src/tests/functional/shared_test_classes/include/shared_test_classes/base/ov_subgraph.hpp | AlexRogalskiy/openvino | ac2e639ff8f9a607c3c682a4c4e165c238eb817f | [
"Apache-2.0"
] | 1 | 2020-12-13T22:16:54.000Z | 2020-12-13T22:16:54.000Z | // Copyright (C) 2018-2022 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#pragma once
#include "openvino/core/model.hpp"
#include "common_test_utils/test_common.hpp"
#include "functional_test_utils/ov_plugin_cache.hpp"
#include "functional_test_utils/layer_test_utils/summary.hpp"
namespace ov {
namesp... | 34.043956 | 133 | 0.699484 | pfinashx |
6d704b1040852473351adb33515a52ba58481a7f | 1,625 | hpp | C++ | Framework/[C++ Core]/[[Tools]]/UISegment.hpp | nraptis/Metal_OpenGL_MobileGameEngine | cc36682676a9797df8b3a7ee235b99be3ae2f666 | [
"MIT"
] | 3 | 2019-10-10T19:25:42.000Z | 2019-12-17T10:51:23.000Z | Framework/[C++ Core]/[[Tools]]/UISegment.hpp | nraptis/Metal_OpenGL_MobileGameEngine | cc36682676a9797df8b3a7ee235b99be3ae2f666 | [
"MIT"
] | null | null | null | Framework/[C++ Core]/[[Tools]]/UISegment.hpp | nraptis/Metal_OpenGL_MobileGameEngine | cc36682676a9797df8b3a7ee235b99be3ae2f666 | [
"MIT"
] | 1 | 2021-11-16T15:29:40.000Z | 2021-11-16T15:29:40.000Z | //
// UISegment.hpp
// DigMMMac
//
// Created by Raptis, Nicholas on 7/4/18.
// Copyright © 2018 Darkswarm LLC. All rights reserved.
//
#ifndef UISegment_hpp
#define UISegment_hpp
#include "ToolMenuSectionRow.hpp"
#include "UISegmentButton.hpp"
class UISegment : public ToolMenuSectionRow {
public:
UISeg... | 38.690476 | 383 | 0.521231 | nraptis |
6d7189c225fbad52339e579835965c13a10a89dc | 4,881 | cpp | C++ | HelloCocos/cocos2d/cocos/editor-support/cocostudio/WidgetReader/ArmatureNodeReader/ArmatureNodeReader.cpp | l-le/git-centos | 8479f0342d3d48df1ee7d0db4eafa96a0d151f43 | [
"MIT"
] | 34 | 2017-08-16T13:58:24.000Z | 2022-03-31T11:50:25.000Z | HelloCocos/cocos2d/cocos/editor-support/cocostudio/WidgetReader/ArmatureNodeReader/ArmatureNodeReader.cpp | l-le/git-centos | 8479f0342d3d48df1ee7d0db4eafa96a0d151f43 | [
"MIT"
] | null | null | null | HelloCocos/cocos2d/cocos/editor-support/cocostudio/WidgetReader/ArmatureNodeReader/ArmatureNodeReader.cpp | l-le/git-centos | 8479f0342d3d48df1ee7d0db4eafa96a0d151f43 | [
"MIT"
] | 17 | 2017-08-18T07:42:44.000Z | 2022-01-02T02:43:06.000Z | #include "tinyxml2/tinyxml2.h"
#include "flatbuffers/flatbuffers.h"
#include "cocostudio/WidgetReader/NodeReader/NodeReader.h"
#include "cocostudio/CSParseBinary_generated.h"
#include "CSArmatureNode_generated.h"
#include "cocostudio/WidgetReader/ArmatureNodeReader/ArmatureNodeReader.h"
#include "cocostudio/CCArmature.... | 25.689474 | 102 | 0.686949 | l-le |
6d71bafb84372bfc6627297c7930573a2f711fbc | 2,670 | cpp | C++ | p4/CheckerRunner.cpp | sabrina-enriquez/ECS36c | e0b9f8128a086973c7c98e900ed2ceee7ce40a65 | [
"MIT"
] | null | null | null | p4/CheckerRunner.cpp | sabrina-enriquez/ECS36c | e0b9f8128a086973c7c98e900ed2ceee7ce40a65 | [
"MIT"
] | null | null | null | p4/CheckerRunner.cpp | sabrina-enriquez/ECS36c | e0b9f8128a086973c7c98e900ed2ceee7ce40a65 | [
"MIT"
] | null | null | null |
#include <fstream>
#include <cstring>
#include <cstdlib>
#include <iostream>
#include "CheckerRunner.h"
#include "checker.h"
#include "CPUTimer.h"
using namespace std;
MatchingWords* readTesterFile(const char *filename, int *numWords)
{
char line[1000], *ptr;
ifstream inf(filename);
inf >> *numWords;
Matchin... | 27.244898 | 75 | 0.597753 | sabrina-enriquez |
6d71bd48ffadd52eb0761454f9b6a0a9e2bc660b | 1,391 | cpp | C++ | lib/bigssMath/bigssKinematicsUtils.cpp | gaocong13/Orthopedic-Robot-Navigation | bf36f7de116c1c99b86c9ba50f111c3796336af0 | [
"MIT"
] | 13 | 2021-11-16T08:17:39.000Z | 2022-02-11T11:08:55.000Z | lib/bigssMath/bigssKinematicsUtils.cpp | gaocong13/Orthopedic-Robot-Navigation | bf36f7de116c1c99b86c9ba50f111c3796336af0 | [
"MIT"
] | null | null | null | lib/bigssMath/bigssKinematicsUtils.cpp | gaocong13/Orthopedic-Robot-Navigation | bf36f7de116c1c99b86c9ba50f111c3796336af0 | [
"MIT"
] | 1 | 2021-11-16T08:17:42.000Z | 2021-11-16T08:17:42.000Z |
#include "bigssKinematicsUtils.h"
vctMatrix4x4 FrameInverse(const vctMatrix4x4& f)
{
vctMatrix4x4 f_inv = vctMatrix4x4::Eye();
vctDynamicConstMatrixRef<double> R(f, 0, 0, 3, 3);
vctDynamicMatrixRef<double> R_T(f_inv, 0, 0, 3, 3);
R_T = R.Transpose();
vctDynamicConstMatrixRef<double> trans(f, 0, 3, ... | 23.183333 | 95 | 0.64486 | gaocong13 |
6d7441e1dc2584b849f2a329b5d78eee5efaff4f | 3,904 | cpp | C++ | 517-13-C.cpp | AndrewWayne/OI_Learning | 0fe8580066704c8d120a131f6186fd7985924dd4 | [
"MIT"
] | null | null | null | 517-13-C.cpp | AndrewWayne/OI_Learning | 0fe8580066704c8d120a131f6186fd7985924dd4 | [
"MIT"
] | null | null | null | 517-13-C.cpp | AndrewWayne/OI_Learning | 0fe8580066704c8d120a131f6186fd7985924dd4 | [
"MIT"
] | null | null | null | /*
* Author: xiaohei_AWM
* Date:11.1
* Motto: Face to the weakness, expect for the strength.
*/
#include<cstdio>
#include<cstring>
#include<algorithm>
#include<iostream>
#include<cstdlib>
#include<ctime>
#include<utility>
#include<functional>
#include<map>
#include<cmath>
#include<vector>
#include<assert.h>
#include... | 25.025641 | 81 | 0.460553 | AndrewWayne |
6d77333a5cae742c0f3d929a6a83814bf44e0d3c | 713 | cpp | C++ | GeeksForGeeks/Practice/KeyPair.cpp | Ashwanigupta9125/code-DS-ALGO | 49f6cf7d0c682da669db23619aef3f80697b352b | [
"MIT"
] | 36 | 2019-12-27T08:23:08.000Z | 2022-01-24T20:35:47.000Z | GeeksForGeeks/Practice/KeyPair.cpp | Ashwanigupta9125/code-DS-ALGO | 49f6cf7d0c682da669db23619aef3f80697b352b | [
"MIT"
] | 10 | 2019-11-13T02:55:18.000Z | 2021-10-13T23:28:09.000Z | GeeksForGeeks/Practice/KeyPair.cpp | Ashwanigupta9125/code-DS-ALGO | 49f6cf7d0c682da669db23619aef3f80697b352b | [
"MIT"
] | 53 | 2020-08-15T11:08:40.000Z | 2021-10-09T15:51:38.000Z | #include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
int main() {
int test;
cin >> test;
while(test){
int n, x;
cin >> n >> x;
vector<int> temp(n);
for(int i = 0; i < n; i++){
cin >> temp[i];
}
sort(temp.begin(), temp.end());
... | 14.26 | 37 | 0.352034 | Ashwanigupta9125 |
6d7a5d7ca8fb3a98fc62d1b31e80fe8379e22aea | 2,624 | hxx | C++ | src/weapon/plasma_burst.hxx | AltSysrq/Abendstern | 106e1ad2457f7bfd90080eecf49a33f6079f8e1e | [
"BSD-3-Clause"
] | null | null | null | src/weapon/plasma_burst.hxx | AltSysrq/Abendstern | 106e1ad2457f7bfd90080eecf49a33f6079f8e1e | [
"BSD-3-Clause"
] | null | null | null | src/weapon/plasma_burst.hxx | AltSysrq/Abendstern | 106e1ad2457f7bfd90080eecf49a33f6079f8e1e | [
"BSD-3-Clause"
] | 1 | 2022-01-29T11:54:41.000Z | 2022-01-29T11:54:41.000Z | /**
* @file
* @author Jason Lingle
* @brief Contains the PlasmaBurst weapon
*/
#ifndef PLASMA_BURST_HXX_
#define PLASMA_BURST_HXX_
#include <vector>
#include "src/sim/game_object.hxx"
#include "src/sim/objdl.hxx"
#include "explode_listener.hxx"
class Ship;
#define PLASMA_BURST_RADIUS 0.005f ///< Radius of Plas... | 27.914894 | 87 | 0.728277 | AltSysrq |
6d7a7281785338e4e117a613d7e16f2e6693e57c | 2,127 | cpp | C++ | src/MEL/Communications/MelNet.cpp | mahilab/MEL | b877b2ed9cd265b1ee3c1cc623a339ec1dc73185 | [
"Zlib"
] | 6 | 2018-09-14T05:07:03.000Z | 2021-09-30T17:15:11.000Z | src/MEL/Communications/MelNet.cpp | mahilab/MEL | b877b2ed9cd265b1ee3c1cc623a339ec1dc73185 | [
"Zlib"
] | null | null | null | src/MEL/Communications/MelNet.cpp | mahilab/MEL | b877b2ed9cd265b1ee3c1cc623a339ec1dc73185 | [
"Zlib"
] | 3 | 2018-09-20T00:58:31.000Z | 2022-02-09T06:02:56.000Z | #include <MEL/Communications/MelNet.hpp>
#include <MEL/Core/Console.hpp>
namespace mel {
//==============================================================================
// CLASS DEFINITIONS
//==============================================================================
MelNet::MelNet(unsigned short local_port, uns... | 26.924051 | 80 | 0.606488 | mahilab |
6d7bfad2726fda0f4a1ab12a9de040482ab5a17c | 2,292 | cpp | C++ | src/gpu/GrCustomStage.cpp | gw280/skia | 25fb2434460e7bf541d334ffaa421acb497b9a33 | [
"BSD-3-Clause"
] | null | null | null | src/gpu/GrCustomStage.cpp | gw280/skia | 25fb2434460e7bf541d334ffaa421acb497b9a33 | [
"BSD-3-Clause"
] | null | null | null | src/gpu/GrCustomStage.cpp | gw280/skia | 25fb2434460e7bf541d334ffaa421acb497b9a33 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright 2012 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "GrContext.h"
#include "GrCustomStage.h"
#include "GrMemoryPool.h"
#include "SkString.h"
#include "SkTLS.h"
SK_DEFINE_INST_COUNT(GrCustomStage)
#if SK_ALLOW_STATIC_... | 23.875 | 85 | 0.679319 | gw280 |
6d7c083d95397910ceb0f10e4e0938a20472ddb4 | 4,982 | cc | C++ | examples/BasisConstruction.cc | edoars/latticetester | 980179abe2da78b8a13d2b912d2215b97509c528 | [
"Apache-2.0"
] | null | null | null | examples/BasisConstruction.cc | edoars/latticetester | 980179abe2da78b8a13d2b912d2215b97509c528 | [
"Apache-2.0"
] | 2 | 2018-07-27T15:41:06.000Z | 2019-06-05T17:41:14.000Z | examples/BasisConstruction.cc | edoars/latticetester | 980179abe2da78b8a13d2b912d2215b97509c528 | [
"Apache-2.0"
] | 1 | 2021-03-24T01:11:53.000Z | 2021-03-24T01:11:53.000Z | /**
* This example showcases the usage of the BasisConstruction module. This reads
* matrices from files and builds a basis and a dual for an `IntLatticeBasis`
* object. The files this is set to use are in the `bench.zip` archive. To
* execute the program, the archive should be unziped and the `bench` folder
* sho... | 35.841727 | 100 | 0.639101 | edoars |