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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a9f9f7f843fcbc42803d6ec66652c56f0ac6f405 | 2,986 | cpp | C++ | src/gl_engine/mesh/Cube.cpp | russkev/opengl | 73417d1697d1964cfa001efc8e54eb90da95ed6e | [
"MIT"
] | 5 | 2020-03-26T11:55:55.000Z | 2021-07-30T04:14:21.000Z | src/gl_engine/mesh/Cube.cpp | russkev/opengl | 73417d1697d1964cfa001efc8e54eb90da95ed6e | [
"MIT"
] | 3 | 2020-12-05T06:02:07.000Z | 2021-06-02T03:42:34.000Z | src/gl_engine/mesh/Cube.cpp | russkev/opengl | 73417d1697d1964cfa001efc8e54eb90da95ed6e | [
"MIT"
] | null | null | null | #include "pch.h"
#include "Cube.h"
#include "Vertex.h"
namespace glen
{
// // ----- MAIN ----- // //
Mesh Cube::create_cube()
{
return create_cube(1.0f, true);
}
Mesh Cube::create_cube(const float width, const bool is_default)
{
float half_width = is_default ? 1.0f : width / 2.0f;
Mesh newCube;
Mesh ... | 26.660714 | 116 | 0.645345 | russkev |
a9fa7114f5f45ab15f9589d93bf21bd1c796c0c2 | 1,312 | cpp | C++ | aws-cpp-sdk-rum/source/model/CwLog.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2022-02-10T08:06:54.000Z | 2022-02-10T08:06:54.000Z | aws-cpp-sdk-rum/source/model/CwLog.cpp | perfectrecall/aws-sdk-cpp | fb8cbebf2fd62720b65aeff841ad2950e73d8ebd | [
"Apache-2.0"
] | 1 | 2021-10-14T16:57:00.000Z | 2021-10-18T10:47:24.000Z | aws-cpp-sdk-rum/source/model/CwLog.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-11-09T11:58:03.000Z | 2021-11-09T11:58:03.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/rum/model/CwLog.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace Aws
{
namespace CloudWatc... | 17.038961 | 69 | 0.71189 | perfectrecall |
a9fbdf13854aa3568ad229c8f89f5f40c8b76faf | 4,010 | hpp | C++ | third-party/gecode/gecode/int/branch/val.hpp | PetterS/easy-IP | d57607333b9844a32723db5e1d748b9eeb4fb2a2 | [
"BSD-2-Clause"
] | 12 | 2015-12-04T05:59:12.000Z | 2020-08-01T00:33:30.000Z | third-party/gecode/gecode/int/branch/val.hpp | PetterS/easy-IP | d57607333b9844a32723db5e1d748b9eeb4fb2a2 | [
"BSD-2-Clause"
] | 1 | 2020-10-04T19:41:26.000Z | 2020-10-04T19:41:26.000Z | third-party/gecode/gecode/int/branch/val.hpp | PetterS/easy-IP | d57607333b9844a32723db5e1d748b9eeb4fb2a2 | [
"BSD-2-Clause"
] | 6 | 2016-04-10T20:31:03.000Z | 2020-10-04T06:13:27.000Z | /* -*- mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- */
/*
* Main authors:
* Christian Schulte <schulte@gecode.org>
*
* Copyright:
* Christian Schulte, 2012
*
* Last modified:
* $Date: 2013-06-23 18:58:11 +0200 (sö, 23 jun 2013) $ by $Author: schulte $
* $Revision: 13729 $
*
* T... | 26.381579 | 81 | 0.714464 | PetterS |
a9fead9c26abc93cea21bb343f1a4dcadae253c6 | 6,905 | hh | C++ | src/include/simeng/Instruction.hh | viper12590/SimEng | e9fc4d24a8823e553e042c60801aa0a0e3f077ca | [
"Apache-2.0"
] | null | null | null | src/include/simeng/Instruction.hh | viper12590/SimEng | e9fc4d24a8823e553e042c60801aa0a0e3f077ca | [
"Apache-2.0"
] | null | null | null | src/include/simeng/Instruction.hh | viper12590/SimEng | e9fc4d24a8823e553e042c60801aa0a0e3f077ca | [
"Apache-2.0"
] | null | null | null | #pragma once
#include <vector>
#include "simeng/MemoryInterface.hh"
#include "simeng/RegisterFileSet.hh"
#include "simeng/RegisterValue.hh"
#include "simeng/span.hh"
using InstructionException = short;
namespace simeng {
/** A branch result prediction for an instruction. */
struct BranchPrediction {
/** Whether ... | 31.386364 | 79 | 0.711803 | viper12590 |
a9ff12f577b76e8e2532ae5cb4598d6c80e511b8 | 916 | cpp | C++ | src/gui/RealityUI/qtDesignerPlugins/ReBandTextureEditorPlugin.cpp | danielbui78/reality | 7ecd01b71f28e581becfe5093fab3ddcd6d9b2c1 | [
"BSD-3-Clause"
] | 2 | 2021-12-25T17:24:03.000Z | 2022-03-14T05:07:51.000Z | src/gui/RealityUI/qtDesignerPlugins/ReBandTextureEditorPlugin.cpp | danielbui78/reality | 7ecd01b71f28e581becfe5093fab3ddcd6d9b2c1 | [
"BSD-3-Clause"
] | null | null | null | src/gui/RealityUI/qtDesignerPlugins/ReBandTextureEditorPlugin.cpp | danielbui78/reality | 7ecd01b71f28e581becfe5093fab3ddcd6d9b2c1 | [
"BSD-3-Clause"
] | 2 | 2021-12-10T05:33:04.000Z | 2021-12-10T16:38:54.000Z | /**
* Qt Designer plugin.
*/
#include <QtPlugin>
#include "../ReBandTextureEditor.h"
#include "ReBandTextureEditorPlugin.h"
ReBandTextureEditorPlugin::ReBandTextureEditorPlugin(QObject* parent) : QObject(parent) {}
QString ReBandTextureEditorPlugin::name() const { return "ReBandTextureEditor"; }
QString Re... | 41.636364 | 95 | 0.753275 | danielbui78 |
e7024cb4383ac67965b02c31bee80e74a252b898 | 1,566 | cpp | C++ | Practice/2018/2018.8.24/CF125E.cpp | SYCstudio/OI | 6e9bfc17dbd4b43467af9b19aa2aed41e28972fa | [
"MIT"
] | 4 | 2017-10-31T14:25:18.000Z | 2018-06-10T16:10:17.000Z | Practice/2018/2018.8.24/CF125E.cpp | SYCstudio/OI | 6e9bfc17dbd4b43467af9b19aa2aed41e28972fa | [
"MIT"
] | null | null | null | Practice/2018/2018.8.24/CF125E.cpp | SYCstudio/OI | 6e9bfc17dbd4b43467af9b19aa2aed41e28972fa | [
"MIT"
] | null | null | null | #include<iostream>
#include<cstdio>
#include<cstdlib>
#include<cstring>
#include<algorithm>
using namespace std;
#define ll long long
#define mem(Arr,x) memset(Arr,x,sizeof(Arr))
const int maxN=5010;
const int maxM=101000;
const int inf=2147483647;
class Edge
{
public:
int u,v,w,opt,id;
};
int n,m,K;
Edge E[maxM];... | 17.595506 | 49 | 0.533206 | SYCstudio |
e7034d435bf9f6173dfd7dc610dcfaed5d223064 | 5,971 | cpp | C++ | CodeXL/Components/GpuDebugging/AMDTOpenCLServer/src/csMemoryObjectReader.cpp | jeongjoonyoo/CodeXL | ea6d623d0530aa3a862ef0bf60ad2923a2f8f8a5 | [
"MIT"
] | 1,025 | 2016-04-19T21:36:08.000Z | 2020-04-26T05:12:53.000Z | CodeXL/Components/GpuDebugging/AMDTOpenCLServer/src/csMemoryObjectReader.cpp | jeongjoonyoo/CodeXL | ea6d623d0530aa3a862ef0bf60ad2923a2f8f8a5 | [
"MIT"
] | 244 | 2016-04-20T02:05:43.000Z | 2020-04-29T17:40:49.000Z | CodeXL/Components/GpuDebugging/AMDTOpenCLServer/src/csMemoryObjectReader.cpp | jeongjoonyoo/CodeXL | ea6d623d0530aa3a862ef0bf60ad2923a2f8f8a5 | [
"MIT"
] | 161 | 2016-04-20T03:23:53.000Z | 2020-04-14T01:46:55.000Z | //==================================================================================
// Copyright (c) 2016 , Advanced Micro Devices, Inc. All rights reserved.
//
/// \author AMD Developer Tools Team
/// \file csMemoryObjectReader.cpp
///
//===============================================================================... | 42.956835 | 221 | 0.57595 | jeongjoonyoo |
e704f172c737d318b95b35f2e45a420ff85c289d | 3,216 | cpp | C++ | tcaplusdb/src/v20190823/model/ServerMachineInfo.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | 43 | 2019-08-14T08:14:12.000Z | 2022-03-30T12:35:09.000Z | tcaplusdb/src/v20190823/model/ServerMachineInfo.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | 12 | 2019-07-15T10:44:59.000Z | 2021-11-02T12:35:00.000Z | tcaplusdb/src/v20190823/model/ServerMachineInfo.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | 28 | 2019-07-12T09:06:22.000Z | 2022-03-30T08:04:18.000Z | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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
... | 28.714286 | 147 | 0.711443 | suluner |
e705aa59f6455b11e82a1fcd707b3571a3d2025a | 52,201 | cpp | C++ | scipy/optimize/_highs/src/simplex/HighsSimplexAnalysis.cpp | Ennosigaeon/scipy | 2d872f7cf2098031b9be863ec25e366a550b229c | [
"BSD-3-Clause"
] | 3 | 2021-12-15T10:06:16.000Z | 2022-02-08T19:55:58.000Z | scipy/optimize/_highs/src/simplex/HighsSimplexAnalysis.cpp | Ennosigaeon/scipy | 2d872f7cf2098031b9be863ec25e366a550b229c | [
"BSD-3-Clause"
] | 44 | 2019-06-27T15:56:14.000Z | 2022-03-15T22:21:10.000Z | scipy/optimize/_highs/src/simplex/HighsSimplexAnalysis.cpp | Ennosigaeon/scipy | 2d872f7cf2098031b9be863ec25e366a550b229c | [
"BSD-3-Clause"
] | 4 | 2020-06-13T10:32:25.000Z | 2021-12-03T15:48:16.000Z | /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* */
/* This file is part of the HiGHS linear optimization suite */
/* */
/* Written an... | 42.647876 | 80 | 0.688358 | Ennosigaeon |
e70a50eb5052450210d868af25091fb9f527d5eb | 1,410 | cpp | C++ | server/homeserver/home/DeviceUtils.cpp | williamkoehler/home-server | ce99af73ea2e53fea3939fe0c4442433e65ac670 | [
"MIT"
] | 1 | 2021-07-05T21:11:59.000Z | 2021-07-05T21:11:59.000Z | server/homeserver/home/DeviceUtils.cpp | williamkoehler/home-server | ce99af73ea2e53fea3939fe0c4442433e65ac670 | [
"MIT"
] | null | null | null | server/homeserver/home/DeviceUtils.cpp | williamkoehler/home-server | ce99af73ea2e53fea3939fe0c4442433e65ac670 | [
"MIT"
] | null | null | null | #include "Device.hpp"
#include "Home.hpp"
namespace server
{
//! Timer
Device::Timer::Timer(Ref<Device> device, home::TimerCallback<home::Device>* callback)
: device(device), timer(*Home::GetInstance()->GetService()), callback(callback)
{
}
Device::Timer::~Timer()
{
}
void Device::Timer::TimerCallback(const... | 24.310345 | 130 | 0.685106 | williamkoehler |
e70b21ab88fc6062aa6e86fe704ee55178ba29de | 2,066 | hpp | C++ | water/types/tests/link.hpp | watercpp/water | 7a9a292a2513529cf5dabac1bc7a755055dac9b5 | [
"MIT"
] | 5 | 2017-04-18T18:18:50.000Z | 2018-08-03T09:13:26.000Z | water/types/tests/link.hpp | watercpp/water | 7a9a292a2513529cf5dabac1bc7a755055dac9b5 | [
"MIT"
] | null | null | null | water/types/tests/link.hpp | watercpp/water | 7a9a292a2513529cf5dabac1bc7a755055dac9b5 | [
"MIT"
] | null | null | null | // Copyright 2017 Johan Paulsson
// This file is part of the Water C++ Library. It is licensed under the MIT License.
// See the license.txt file in this distribution or https://watercpp.com/license.txt
//\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_
#ifndef WATER_TYPES_TESTS_LINK_... | 36.892857 | 115 | 0.590513 | watercpp |
e70c09a1da627c007e0665b7483ff29f7d953efb | 7,674 | cpp | C++ | cisco-ios-xe/ydk/models/cisco_ios_xe/Cisco_IOS_XE_poe_oper.cpp | CiscoDevNet/ydk-cpp | ef7d75970f2ef1154100e0f7b0a2ee823609b481 | [
"ECL-2.0",
"Apache-2.0"
] | 17 | 2016-12-02T05:45:49.000Z | 2022-02-10T19:32:54.000Z | cisco-ios-xe/ydk/models/cisco_ios_xe/Cisco_IOS_XE_poe_oper.cpp | CiscoDevNet/ydk-cpp | ef7d75970f2ef1154100e0f7b0a2ee823609b481 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2017-03-27T15:22:38.000Z | 2019-11-05T08:30:16.000Z | cisco-ios-xe/ydk/models/cisco_ios_xe/Cisco_IOS_XE_poe_oper.cpp | CiscoDevNet/ydk-cpp | ef7d75970f2ef1154100e0f7b0a2ee823609b481 | [
"ECL-2.0",
"Apache-2.0"
] | 11 | 2016-12-02T05:45:52.000Z | 2019-11-07T08:28:17.000Z |
#include <sstream>
#include <iostream>
#include <ydk/entity_util.hpp>
#include "bundle_info.hpp"
#include "generated_entity_lookup.hpp"
#include "Cisco_IOS_XE_poe_oper.hpp"
using namespace ydk;
namespace cisco_ios_xe {
namespace Cisco_IOS_XE_poe_oper {
PoeOperData::PoeOperData()
:
poe_port(this, {"intf_name... | 27.905455 | 166 | 0.694553 | CiscoDevNet |
e70d0258066a2afdc4b617efbb9e432ddf0caf6e | 8,886 | cpp | C++ | ngraph/test/backend/cum_sum.in.cpp | artyomtugaryov/openvino | f2c2636bb52ff6a6c6d2b4dba89fad666a66c96f | [
"Apache-2.0"
] | null | null | null | ngraph/test/backend/cum_sum.in.cpp | artyomtugaryov/openvino | f2c2636bb52ff6a6c6d2b4dba89fad666a66c96f | [
"Apache-2.0"
] | null | null | null | ngraph/test/backend/cum_sum.in.cpp | artyomtugaryov/openvino | f2c2636bb52ff6a6c6d2b4dba89fad666a66c96f | [
"Apache-2.0"
] | null | null | null | //*****************************************************************************
// Copyright 2017-2020 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://w... | 42.113744 | 99 | 0.57765 | artyomtugaryov |
e70f25b3d81e2fe22aff074de79b3771aa004cac | 808 | cpp | C++ | netflix.cpp | deepanshu1422/450Questions | 614a6bcb66f3202a62c375c0c0a63365e1021110 | [
"Apache-2.0"
] | null | null | null | netflix.cpp | deepanshu1422/450Questions | 614a6bcb66f3202a62c375c0c0a63365e1021110 | [
"Apache-2.0"
] | null | null | null | netflix.cpp | deepanshu1422/450Questions | 614a6bcb66f3202a62c375c0c0a63365e1021110 | [
"Apache-2.0"
] | null | null | null | #include<iostream>
using namespace std;
void breakinto(string s)
{ int space=0;
int counter=0;
for(int i=0;i<s.size()-1;i++)
{
if(s.at(i)==' ')
{
space=i;
}
counter++;
if(counter%140>0)
{
if(s[i]!=' ')
{
... | 25.25 | 386 | 0.565594 | deepanshu1422 |
e70f8ff0f89b260b63c6c4d313b9c5ef36ca6509 | 3,668 | cpp | C++ | Modules/ThirdParty/OssimPlugins/src/ossim/RadarSat/CommonRecord/CompensationDataRecord.cpp | xcorail/OTB | 092a93654c3b5d009e420f450fe9b675f737cdca | [
"Apache-2.0"
] | null | null | null | Modules/ThirdParty/OssimPlugins/src/ossim/RadarSat/CommonRecord/CompensationDataRecord.cpp | xcorail/OTB | 092a93654c3b5d009e420f450fe9b675f737cdca | [
"Apache-2.0"
] | null | null | null | Modules/ThirdParty/OssimPlugins/src/ossim/RadarSat/CommonRecord/CompensationDataRecord.cpp | xcorail/OTB | 092a93654c3b5d009e420f450fe9b675f737cdca | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2005-2017 by Centre National d'Etudes Spatiales (CNES)
*
* This file is licensed under MIT license:
*
* 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 restric... | 22.782609 | 92 | 0.690567 | xcorail |
e71069da049c846a9d1b53fc14b2f3fe638f1a4f | 519 | cpp | C++ | pismeni/2016-april/4b.cpp | Dunsteer/paralelni-sistemi | 776193d457457c438cd5ba7ef17a54969450477c | [
"MIT"
] | 1 | 2021-08-22T17:14:49.000Z | 2021-08-22T17:14:49.000Z | pismeni/2016-april/4b.cpp | Dunsteer/paralelni-sistemi | 776193d457457c438cd5ba7ef17a54969450477c | [
"MIT"
] | null | null | null | pismeni/2016-april/4b.cpp | Dunsteer/paralelni-sistemi | 776193d457457c438cd5ba7ef17a54969450477c | [
"MIT"
] | 1 | 2021-08-31T19:34:46.000Z | 2021-08-31T19:34:46.000Z | #include <omp.h>
#include <stdio.h>
#include <stdlib.h>
#define N 6
int main()
{
int m = 4;
int a[N];
int j;
a[0] = m;
int c = m;
#pragma omp parallel for reduction(+:m)
for (j = 0; j < N; j++)
{
a[j] = c + ((j - 1) * j) / 2;
m += j;
printf("Running\n");
}
... | 16.21875 | 45 | 0.400771 | Dunsteer |
e710f10d3def65703d22659465097c9f659cc254 | 268 | cpp | C++ | old/AtCoder/abc099/C.cpp | not522/Competitive-Programming | be4a7d25caf5acbb70783b12899474a56c34dedb | [
"Unlicense"
] | 7 | 2018-04-14T14:55:51.000Z | 2022-01-31T10:49:49.000Z | old/AtCoder/abc099/C.cpp | not522/Competitive-Programming | be4a7d25caf5acbb70783b12899474a56c34dedb | [
"Unlicense"
] | 5 | 2018-04-14T14:28:49.000Z | 2019-05-11T02:22:10.000Z | old/AtCoder/abc099/C.cpp | not522/Competitive-Programming | be4a7d25caf5acbb70783b12899474a56c34dedb | [
"Unlicense"
] | null | null | null | #include "vector.hpp"
int main() {
int n;
cin >> n;
vector<int> dp(n + 1);
iota(dp, 0);
for (int i = 0; i < n; ++i) {
for (int k : {6, 9}) {
for (int j = k; i + j <= n; j *= k) chmin(dp[i + j], dp[i] + 1);
}
}
cout << dp.back() << endl;
}
| 17.866667 | 70 | 0.414179 | not522 |
e712756781999469607a95047870411336ad9228 | 2,727 | cpp | C++ | ProceduralMesh/MyActor.cpp | devilmhzx/UE4-Cpp-Tutorials | 2cbf9d44dd4fa1c4eb68530f692065fc2c36b55d | [
"MIT"
] | 531 | 2016-10-19T14:04:55.000Z | 2022-03-28T06:34:25.000Z | ProceduralMesh/MyActor.cpp | devilmhzx/UE4-Cpp-Tutorials | 2cbf9d44dd4fa1c4eb68530f692065fc2c36b55d | [
"MIT"
] | null | null | null | ProceduralMesh/MyActor.cpp | devilmhzx/UE4-Cpp-Tutorials | 2cbf9d44dd4fa1c4eb68530f692065fc2c36b55d | [
"MIT"
] | 172 | 2016-10-18T14:53:11.000Z | 2022-03-22T10:39:44.000Z | // Fill out your copyright notice in the Description page of Project Settings.
#include "MyActor.h"
// Sets default values
AMyActor::AMyActor()
{
// Set this actor to call Tick() every frame. You can turn this off to improve performance if you don't need it.
PrimaryActorTick.bCanEverTick = true;
CustomMesh = C... | 26.475728 | 154 | 0.693803 | devilmhzx |
e7138c408ce12200d760e7ea3899348b7ce6dbd8 | 974 | cpp | C++ | src/Cpl/Itc/OpenSync.cpp | johnttaylor/foxtail | 86e4e1d19d5e8f9c1d1064cf0939f4bf62615400 | [
"BSD-3-Clause"
] | null | null | null | src/Cpl/Itc/OpenSync.cpp | johnttaylor/foxtail | 86e4e1d19d5e8f9c1d1064cf0939f4bf62615400 | [
"BSD-3-Clause"
] | null | null | null | src/Cpl/Itc/OpenSync.cpp | johnttaylor/foxtail | 86e4e1d19d5e8f9c1d1064cf0939f4bf62615400 | [
"BSD-3-Clause"
] | null | null | null | /*-----------------------------------------------------------------------------
* This file is part of the Colony.Core Project. The Colony.Core Project is an
* open source project with a BSD type of licensing agreement. See the license
* agreement (license.txt) in the top/ directory or on the Internet at
* http://int... | 27.828571 | 79 | 0.557495 | johnttaylor |
e713952134a02313c3046472b135e0275d6ab776 | 4,053 | cpp | C++ | Connections/MSPBSL_ConnectionFRAMFamily.cpp | KirillSmirnov/trik-mspbsl-library | ee5e5bfe7aa00a8421a4d8203c82adb5445ecbe0 | [
"BSD-3-Clause"
] | 1 | 2015-11-29T18:33:02.000Z | 2015-11-29T18:33:02.000Z | Connections/MSPBSL_ConnectionFRAMFamily.cpp | KirillSmirnov/trik-mspbsl-library | ee5e5bfe7aa00a8421a4d8203c82adb5445ecbe0 | [
"BSD-3-Clause"
] | null | null | null | Connections/MSPBSL_ConnectionFRAMFamily.cpp | KirillSmirnov/trik-mspbsl-library | ee5e5bfe7aa00a8421a4d8203c82adb5445ecbe0 | [
"BSD-3-Clause"
] | 1 | 2015-11-29T18:33:13.000Z | 2015-11-29T18:33:13.000Z | /*
* MSPBSL_ConnectionFRAMFamily
*
* A subclass to add FRAM specific connection functions
*
* Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
*
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following condition... | 39.349515 | 120 | 0.64224 | KirillSmirnov |
e715b9f40aea2d6f5274f66a1977e0506ec75303 | 2,172 | cpp | C++ | VS2005/DigiLEDv2.0/DesignApp/EthernetPort.cpp | cuongquay/led-matrix-display | 6dd0e3be9ee23862610dab7b0d40970c6900e5e4 | [
"Apache-2.0"
] | null | null | null | VS2005/DigiLEDv2.0/DesignApp/EthernetPort.cpp | cuongquay/led-matrix-display | 6dd0e3be9ee23862610dab7b0d40970c6900e5e4 | [
"Apache-2.0"
] | null | null | null | VS2005/DigiLEDv2.0/DesignApp/EthernetPort.cpp | cuongquay/led-matrix-display | 6dd0e3be9ee23862610dab7b0d40970c6900e5e4 | [
"Apache-2.0"
] | 1 | 2020-06-13T08:34:26.000Z | 2020-06-13T08:34:26.000Z | // EthernetPort.cpp : implementation file
//
#include "stdafx.h"
#include "DigiLED.h"
#include "EthernetPort.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CEthernetPort
... | 26.814815 | 129 | 0.587017 | cuongquay |
e717ff1bd66d114549203ec21913841dc9788449 | 317 | cpp | C++ | src/gui/timeline/items/audioitem/audioresizer.cpp | vrushank-agrawal/video_editor_BX23 | 3a458114f499e0ba3d1c61afde2b9d30bc76459b | [
"Apache-2.0"
] | null | null | null | src/gui/timeline/items/audioitem/audioresizer.cpp | vrushank-agrawal/video_editor_BX23 | 3a458114f499e0ba3d1c61afde2b9d30bc76459b | [
"Apache-2.0"
] | null | null | null | src/gui/timeline/items/audioitem/audioresizer.cpp | vrushank-agrawal/video_editor_BX23 | 3a458114f499e0ba3d1c61afde2b9d30bc76459b | [
"Apache-2.0"
] | null | null | null | //
// Created by nhatv on 7 Dec 2021.
//
#include <QGraphicsItem>
#include "audioresizer.h"
void AudioItemResizer::operator()(QGraphicsItem *item, const QRectF &rect) {
AudioItem *audioItem = dynamic_cast<AudioItem*>(item);
if (audioItem) {
emit audioItem->resized(audioItem, rect.width());
}
} | 22.642857 | 76 | 0.681388 | vrushank-agrawal |
e7194a93396469de665e89f31dff41caaf4acb9e | 3,285 | cxx | C++ | Testing/Code/Adapter/TestImageToVtk.cxx | Piyusha23/IAFEMesh | e91b34c9eaa9c8ecc4ebb5d16f4c13f330d75c9f | [
"BSD-4-Clause-UC"
] | null | null | null | Testing/Code/Adapter/TestImageToVtk.cxx | Piyusha23/IAFEMesh | e91b34c9eaa9c8ecc4ebb5d16f4c13f330d75c9f | [
"BSD-4-Clause-UC"
] | null | null | null | Testing/Code/Adapter/TestImageToVtk.cxx | Piyusha23/IAFEMesh | e91b34c9eaa9c8ecc4ebb5d16f4c13f330d75c9f | [
"BSD-4-Clause-UC"
] | null | null | null | /*=========================================================================
*
* Program: IaFeMesh
* Module: $RCSfile: TestImageToVtk.cxx,v $
* Language: C++
* Date: $Date: 2012/12/07 19:08:59 $
* Version: $Revision: 1.1.1.1 $
*
* Copyright (c) Nicole Grosland. All rights reserved.
*
*... | 24.699248 | 77 | 0.567123 | Piyusha23 |
e71a80ed3166f9665841a0b43c1c65ee2919c8e1 | 2,304 | cpp | C++ | dlgSine.cpp | RDamman/SpeakerWorkshop | 87a38d04197a07a9a7878b3f60d5e0706782163c | [
"OML"
] | 12 | 2019-06-07T10:06:41.000Z | 2021-03-22T22:13:59.000Z | dlgSine.cpp | RDamman/SpeakerWorkshop | 87a38d04197a07a9a7878b3f60d5e0706782163c | [
"OML"
] | 1 | 2019-05-09T07:38:12.000Z | 2019-07-10T04:20:55.000Z | dlgSine.cpp | RDamman/SpeakerWorkshop | 87a38d04197a07a9a7878b3f60d5e0706782163c | [
"OML"
] | 3 | 2020-09-08T08:27:33.000Z | 2021-05-13T09:25:43.000Z | // dlgsine.cpp : implementation file
//
#include "stdafx.h"
#include "audtest.h"
#include "zFormEdt.h"
#include "dlgsine.h"
#ifdef _DEBUG
#undef THIS_FILE
static char BASED_CODE THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CDlgSine property page
IM... | 22.153846 | 77 | 0.684462 | RDamman |
e7223fbe5999705582cc48031e4be3ffac9a09ac | 1,834 | cc | C++ | tensorflow/contrib/persona/kernels/agd-format/fastq_chunker.cc | epfl-vlsc/persona-system | 2aad40d908ae63239f5d546a56264922a55b99fc | [
"Apache-2.0"
] | 6 | 2017-08-07T14:05:41.000Z | 2020-02-28T03:57:56.000Z | tensorflow/contrib/persona/kernels/agd-format/fastq_chunker.cc | epfl-vlsc/persona-system | 2aad40d908ae63239f5d546a56264922a55b99fc | [
"Apache-2.0"
] | null | null | null | tensorflow/contrib/persona/kernels/agd-format/fastq_chunker.cc | epfl-vlsc/persona-system | 2aad40d908ae63239f5d546a56264922a55b99fc | [
"Apache-2.0"
] | null | null | null | #include "fastq_chunker.h"
namespace tensorflow {
using namespace std;
// note: copies the shared ptr and any custom deleter (which we'll use)
FastqChunker::FastqChunker(shared_ptr<FastqResource::FileResource> &data, const size_t chunk_size) :
data_(data), chunk_size_(chunk_size) {
auto *file_data = dat... | 29.111111 | 106 | 0.650491 | epfl-vlsc |
e7233b1f3f597976f7a05aa974c24e2cdc0102c9 | 1,819 | cpp | C++ | examples/controller/src/LogWindowGUI.cpp | RichardTea/RDMnet | fb48866be0396beb7875ba515ad966f19aa46350 | [
"Apache-2.0"
] | null | null | null | examples/controller/src/LogWindowGUI.cpp | RichardTea/RDMnet | fb48866be0396beb7875ba515ad966f19aa46350 | [
"Apache-2.0"
] | null | null | null | examples/controller/src/LogWindowGUI.cpp | RichardTea/RDMnet | fb48866be0396beb7875ba515ad966f19aa46350 | [
"Apache-2.0"
] | null | null | null | /******************************************************************************
* Copyright 2019 ETC Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/l... | 31.362069 | 119 | 0.641561 | RichardTea |
e7243d030658f9cc9b1e9f66f18f3c6bb920e37b | 109 | cpp | C++ | modules/features/src/local_estimator.cpp | byiii/clone_v4r_j | 628359c7ba19389004618defd6a8d8ab5af35967 | [
"MIT"
] | null | null | null | modules/features/src/local_estimator.cpp | byiii/clone_v4r_j | 628359c7ba19389004618defd6a8d8ab5af35967 | [
"MIT"
] | null | null | null | modules/features/src/local_estimator.cpp | byiii/clone_v4r_j | 628359c7ba19389004618defd6a8d8ab5af35967 | [
"MIT"
] | null | null | null | #include <v4r/features/local_estimator.h>
template class V4R_EXPORTS v4r::LocalEstimator<pcl::PointXYZ>;
| 27.25 | 63 | 0.788991 | byiii |
e7260fdb6792992dc5ddb223f1032f469c155c23 | 15,580 | cxx | C++ | src/extern/dcmtk-3.5.4/dcmpstat/libsrc/dvpsspl.cxx | OpenXIP/xip-libraries | 9f0fef66038b20ff0c81c089d7dd0038e3126e40 | [
"Apache-2.0"
] | 2 | 2020-05-21T07:06:07.000Z | 2021-06-28T02:14:34.000Z | src/extern/dcmtk-3.5.4/dcmpstat/libsrc/dvpsspl.cxx | OpenXIP/xip-libraries | 9f0fef66038b20ff0c81c089d7dd0038e3126e40 | [
"Apache-2.0"
] | null | null | null | src/extern/dcmtk-3.5.4/dcmpstat/libsrc/dvpsspl.cxx | OpenXIP/xip-libraries | 9f0fef66038b20ff0c81c089d7dd0038e3126e40 | [
"Apache-2.0"
] | 6 | 2016-03-21T19:53:18.000Z | 2021-06-08T18:06:03.000Z | /*
*
* Copyright (C) 1998-2005, OFFIS
*
* This software and supporting documentation were developed by
*
* Kuratorium OFFIS e.V.
* Healthcare Information and Communication Systems
* Escherweg 2
* D-26121 Oldenburg, Germany
*
* THIS SOFTWARE IS MADE AVAILABLE, AS IS, AND OFFIS MAKES NO WARRA... | 32.869198 | 166 | 0.670924 | OpenXIP |
e729445ee0c175f4bb6c3f16b971109baa550fcc | 464 | cpp | C++ | Jubin/week1/boj-10818.cpp | lee20h/ALPS_2020_Summer_Study | 3656d5c6ab44f7f43c1f8c691e75352495c76adc | [
"Apache-2.0"
] | 1 | 2020-08-02T14:30:03.000Z | 2020-08-02T14:30:03.000Z | Jubin/week1/boj-10818.cpp | alps-jbnu/ALPS_2020_Summer_Study | 3656d5c6ab44f7f43c1f8c691e75352495c76adc | [
"Apache-2.0"
] | null | null | null | Jubin/week1/boj-10818.cpp | alps-jbnu/ALPS_2020_Summer_Study | 3656d5c6ab44f7f43c1f8c691e75352495c76adc | [
"Apache-2.0"
] | 2 | 2020-07-09T14:53:29.000Z | 2020-07-17T10:39:00.000Z | #include <stack>
#include <iostream>
using namespace std;
int main()
{
ios::sync_with_stdio(false);
cin.tie(NULL);
stack<int> nums;
stack<int> mins;
stack<int> maxs;
int N;
cin >> N;
while (N--)
{
int x;
cin >> x;
nums.push(x);
if (mins.empty() || x < mins.top())
{
... | 12.888889 | 42 | 0.484914 | lee20h |
e72a949288cd328f3d49ae73cb19126ecc1c38c3 | 1,125 | hpp | C++ | include/systems/DebugSystem.hpp | zanshi/transcension3d | 304374e83d709d73358d225567676ad7048509e6 | [
"MIT"
] | 7 | 2015-05-30T13:56:34.000Z | 2017-11-04T17:58:26.000Z | include/systems/DebugSystem.hpp | zanshi/transcension3d | 304374e83d709d73358d225567676ad7048509e6 | [
"MIT"
] | null | null | null | include/systems/DebugSystem.hpp | zanshi/transcension3d | 304374e83d709d73358d225567676ad7048509e6 | [
"MIT"
] | null | null | null | //
// Created by Benjamin Wiberg on 2015-04-10.
//
#pragma once
#include <entityx/entityx.h>
#include "glm/glm.hpp"
#include "events/RenderEvent.hpp"
#include "events/MovementEvent.hpp"
#include "events/ViewChangedEvent.hpp"
namespace ex = entityx;
namespace sw {
class DebugSystem : public ex::System<DebugS... | 24.456522 | 90 | 0.689778 | zanshi |
e72b0765a34962ae1510529cc48700131d8d6242 | 7,934 | hpp | C++ | mdal/frmts/mdal_dynamic_driver.hpp | jmkerloch/MDAL | e3d9dc666fe84e0f71384c9e6c1cbabd9115fffc | [
"MIT"
] | 112 | 2018-04-10T09:15:35.000Z | 2022-03-23T17:03:23.000Z | mdal/frmts/mdal_dynamic_driver.hpp | jmkerloch/MDAL | e3d9dc666fe84e0f71384c9e6c1cbabd9115fffc | [
"MIT"
] | 277 | 2018-04-10T11:40:53.000Z | 2022-03-13T06:23:15.000Z | mdal/frmts/mdal_dynamic_driver.hpp | jmkerloch/MDAL | e3d9dc666fe84e0f71384c9e6c1cbabd9115fffc | [
"MIT"
] | 43 | 2018-04-26T00:03:22.000Z | 2022-03-25T06:36:17.000Z | /*
MDAL - Mesh Data Abstraction Library (MIT License)
Copyright (C) 2020 Vincent Cloarec (vcloarec at gmail dot com)
*/
#ifndef MDAL_DYNAMIC_DRIVER_H
#define MDAL_DYNAMIC_DRIVER_H
#include "mdal_driver.hpp"
#include "mdal_utils.hpp"
#include "mdal.h"
#include <functional>
#include <set>
namespace MDAL
{
class ... | 33.905983 | 97 | 0.610915 | jmkerloch |
e72c4376ea5170a5dc58600287b5af8292cf0707 | 5,009 | cpp | C++ | filament/src/FrameInfo.cpp | tpsiaki/filament | 772af1e8971e65bbff314cf696a9f32da79e3485 | [
"Apache-2.0"
] | 2 | 2021-06-19T18:13:18.000Z | 2021-11-14T17:43:40.000Z | filament/src/FrameInfo.cpp | tpsiaki/filament | 772af1e8971e65bbff314cf696a9f32da79e3485 | [
"Apache-2.0"
] | null | null | null | filament/src/FrameInfo.cpp | tpsiaki/filament | 772af1e8971e65bbff314cf696a9f32da79e3485 | [
"Apache-2.0"
] | 1 | 2019-09-25T21:39:30.000Z | 2019-09-25T21:39:30.000Z | /*
* Copyright (C) 2016 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... | 28.953757 | 101 | 0.61669 | tpsiaki |
e72e7d8601c49093cccac4bbed004ae47262a07d | 1,511 | cpp | C++ | aws-cpp-sdk-devicefarm/source/model/RecurringCharge.cpp | lintonv/aws-sdk-cpp | 15e19c265ffce19d2046b18aa1b7307fc5377e58 | [
"Apache-2.0"
] | 1 | 2022-02-10T08:06:54.000Z | 2022-02-10T08:06:54.000Z | aws-cpp-sdk-devicefarm/source/model/RecurringCharge.cpp | lintonv/aws-sdk-cpp | 15e19c265ffce19d2046b18aa1b7307fc5377e58 | [
"Apache-2.0"
] | 1 | 2022-01-03T23:59:37.000Z | 2022-01-03T23:59:37.000Z | aws-cpp-sdk-devicefarm/source/model/RecurringCharge.cpp | ravindra-wagh/aws-sdk-cpp | 7d5ff01b3c3b872f31ca98fb4ce868cd01e97696 | [
"Apache-2.0"
] | 1 | 2021-12-30T04:25:33.000Z | 2021-12-30T04:25:33.000Z | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/devicefarm/model/RecurringCharge.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace Aws
{
na... | 19.881579 | 119 | 0.740569 | lintonv |
e7326c7a6d7b807bbb7f5dd2f80fdd97576664b3 | 2,123 | cpp | C++ | utils/pcPerformance/rti/simpleDelay/server/thrift/SimpleDelay_server.skeleton.cpp | romain-gimenez/RPC | 8a02d1189d9baeaadb3c3e3d692c2ab77c9d8d3c | [
"Apache-2.0"
] | 39 | 2015-10-21T21:57:22.000Z | 2022-02-28T09:26:26.000Z | utils/pcPerformance/rti/simpleDelay/server/thrift/SimpleDelay_server.skeleton.cpp | romain-gimenez/RPC | 8a02d1189d9baeaadb3c3e3d692c2ab77c9d8d3c | [
"Apache-2.0"
] | 14 | 2015-08-10T23:49:39.000Z | 2021-11-23T01:35:45.000Z | utils/pcPerformance/rti/simpleDelay/server/thrift/SimpleDelay_server.skeleton.cpp | romain-gimenez/RPC | 8a02d1189d9baeaadb3c3e3d692c2ab77c9d8d3c | [
"Apache-2.0"
] | 28 | 2015-08-10T23:40:44.000Z | 2021-11-29T15:18:34.000Z | // This autogenerated skeleton file illustrates how to build a server.
// You should copy it to another filename to avoid overwriting it.
#include "SimpleDelay.h"
#include <netinet/in.h>
#include <thrift/protocol/TBinaryProtocol.h>
#include <thrift/server/TThreadPoolServer.h>
#include <thrift/transport/TServerSocket.h... | 33.698413 | 105 | 0.759303 | romain-gimenez |
e73309104094daf9e308f1ce9fd27ca9c322f3d7 | 704 | hpp | C++ | Libraries/Macaronlib/include/Macaronlib/ABI/Signals.hpp | Plunkerusr/podsOS | b68e2ebdaa4eb99366dea6cc5509ba0c92c3601a | [
"MIT"
] | 21 | 2021-08-22T19:06:54.000Z | 2022-03-31T12:44:30.000Z | Libraries/Macaronlib/include/Macaronlib/ABI/Signals.hpp | Plunkerusr/podsOS | b68e2ebdaa4eb99366dea6cc5509ba0c92c3601a | [
"MIT"
] | 1 | 2021-09-01T22:55:59.000Z | 2021-09-08T20:52:09.000Z | Libraries/Macaronlib/include/Macaronlib/ABI/Signals.hpp | Plunkerusr/podsOS | b68e2ebdaa4eb99366dea6cc5509ba0c92c3601a | [
"MIT"
] | null | null | null | #pragma once
#define SIGINVAL 0
#define SIGHUP 1
#define SIGINT 2
#define SIGQUIT 3
#define SIGILL 4
#define SIGTRAP 5
#define SIGABRT 6
#define SIGBUS 7
#define SIGFPE 8
#define SIGKILL 9
#define SIGUSR1 10
#define SIGSEGV 11
#define SIGUSR2 12
#define SIGPIPE 13
#define SIGALRM 14
#define SIGTERM 15
#define SIGSTKFL... | 17.6 | 21 | 0.784091 | Plunkerusr |
e733a3bd9e622dc8bdf27512b9264c62710d8c31 | 3,342 | cpp | C++ | src/+cv/private/ExposureCompensator_.cpp | 1123852253/mexopencv | 17db690133299f561924a45e9092673a4df66c5b | [
"BSD-3-Clause"
] | 571 | 2015-01-04T06:23:19.000Z | 2022-03-31T07:37:19.000Z | src/+cv/private/ExposureCompensator_.cpp | 1123852253/mexopencv | 17db690133299f561924a45e9092673a4df66c5b | [
"BSD-3-Clause"
] | 362 | 2015-01-06T14:20:46.000Z | 2022-01-20T08:10:46.000Z | src/+cv/private/ExposureCompensator_.cpp | 1123852253/mexopencv | 17db690133299f561924a45e9092673a4df66c5b | [
"BSD-3-Clause"
] | 300 | 2015-01-20T03:21:27.000Z | 2022-03-31T07:36:37.000Z | /**
* @file ExposureCompensator_.cpp
* @brief mex interface for cv::detail::ExposureCompensator
* @ingroup stitching
* @author Amro
* @date 2016
*/
#include "mexopencv.hpp"
#include "mexopencv_stitching.hpp"
#include "opencv2/stitching.hpp"
#include <typeinfo>
using namespace std;
using namespace cv;
using namesp... | 32.134615 | 89 | 0.587672 | 1123852253 |
e733c9ee77c621437afdbe5a4aa3be5902f3e1d4 | 18,686 | cpp | C++ | src/Toolbar.cpp | petterh/textedit | df59502fa5309834b2d2452af609ba6fb1dc97c2 | [
"MIT"
] | 6 | 2018-04-08T06:30:27.000Z | 2021-12-19T12:52:28.000Z | src/Toolbar.cpp | petterh/textedit | df59502fa5309834b2d2452af609ba6fb1dc97c2 | [
"MIT"
] | 32 | 2017-11-03T09:39:48.000Z | 2021-12-23T18:27:20.000Z | src/Toolbar.cpp | petterh/textedit | df59502fa5309834b2d2452af609ba6fb1dc97c2 | [
"MIT"
] | 1 | 2021-09-13T08:38:56.000Z | 2021-09-13T08:38:56.000Z | /*
* $Header: /Book/Toolbar.cpp 25 16.07.04 10:42 Oslph312 $
*
* The toolbar automatically uses large icons when the user's
* selected menu font gets above a suitable treshold. This treshold
* is controlled by MenuFont::isLarge.
*/
#include "precomp.h"
#include "String.h"
#include "Exception.h"
#include "Edit... | 30.937086 | 100 | 0.618003 | petterh |
e733d4f7bcc46e65fc6724b63c772675e9a34df7 | 4,152 | cxx | C++ | libs/gtxm/src/gtAppShellXm.h.cxx | kit-transue/software-emancipation-discover | bec6f4ef404d72f361d91de954eae9a3bd669ce3 | [
"BSD-2-Clause"
] | 2 | 2015-11-24T03:31:12.000Z | 2015-11-24T16:01:57.000Z | libs/gtxm/src/gtAppShellXm.h.cxx | radtek/software-emancipation-discover | bec6f4ef404d72f361d91de954eae9a3bd669ce3 | [
"BSD-2-Clause"
] | null | null | null | libs/gtxm/src/gtAppShellXm.h.cxx | radtek/software-emancipation-discover | bec6f4ef404d72f361d91de954eae9a3bd669ce3 | [
"BSD-2-Clause"
] | 1 | 2019-05-19T02:26:08.000Z | 2019-05-19T02:26:08.000Z | /*************************************************************************
* Copyright (c) 2015, Synopsys, Inc. *
* All rights reserved. *
* *
* Redistribution and... | 29.446809 | 76 | 0.591281 | kit-transue |
e7341b14d0a5d906432ed8f7a93af66faecb3dc6 | 6,063 | cpp | C++ | pwiz/analysis/peakdetect/PeakExtractorTest.cpp | edyp-lab/pwiz-mzdb | d13ce17f4061596c7e3daf9cf5671167b5996831 | [
"Apache-2.0"
] | 11 | 2015-01-08T08:33:44.000Z | 2019-07-12T06:14:54.000Z | pwiz/analysis/peakdetect/PeakExtractorTest.cpp | shze/pwizard-deb | 4822829196e915525029a808470f02d24b8b8043 | [
"Apache-2.0"
] | 61 | 2015-05-27T11:20:11.000Z | 2019-12-20T15:06:21.000Z | pwiz/analysis/peakdetect/PeakExtractorTest.cpp | shze/pwizard-deb | 4822829196e915525029a808470f02d24b8b8043 | [
"Apache-2.0"
] | 4 | 2016-02-03T09:41:16.000Z | 2021-08-01T18:42:36.000Z | //
// $Id: PeakExtractorTest.cpp 4129 2012-11-20 00:05:37Z chambm $
//
//
// Original author: Darren Kessner <darren@proteowizard.org>
//
// Copyright 2009 Center for Applied Molecular Medicine
// University of Southern California, Los Angeles, CA
//
// Licensed under the Apache License, Version 2.0 (the "License");
... | 26.709251 | 88 | 0.555995 | edyp-lab |
e737bacd8c6470f39a8318e7f801c4e5ea1caa0a | 16,241 | hpp | C++ | extlibs/SSVUtilsJson/extlibs/SSVUtils/include/SSVUtils/HandleVector/HandleVector.hpp | questor/git-ws | 4c6db1dd6586be21baf74d97e3caf1006a239aec | [
"AFL-3.0"
] | null | null | null | extlibs/SSVUtilsJson/extlibs/SSVUtils/include/SSVUtils/HandleVector/HandleVector.hpp | questor/git-ws | 4c6db1dd6586be21baf74d97e3caf1006a239aec | [
"AFL-3.0"
] | null | null | null | extlibs/SSVUtilsJson/extlibs/SSVUtils/include/SSVUtils/HandleVector/HandleVector.hpp | questor/git-ws | 4c6db1dd6586be21baf74d97e3caf1006a239aec | [
"AFL-3.0"
] | null | null | null | // Copyright (c) 2013-2014 Vittorio Romeo
// License: Academic Free License ("AFL") v. 3.0
// AFL License page: http://opensource.org/licenses/AFL-3.0
#ifndef SSVU_HANDLEVECTOR
#define SSVU_HANDLEVECTOR
#include "SSVUtils/Core/Core.hpp"
#include "SSVUtils/Range/Range.hpp"
#include "SSVUtils/GrowableArray/GrowableArra... | 41.750643 | 147 | 0.708885 | questor |
e73f5921f9ed95131a18b68a314e15381b08f625 | 755 | cpp | C++ | LeetCode/876. Middle of the Linked List/solution.cpp | nik3212/hackerrank-challenges | 676cf748a437117016607ae17c15211269bf2f92 | [
"MIT"
] | 1 | 2018-11-14T14:14:20.000Z | 2018-11-14T14:14:20.000Z | LeetCode/876. Middle of the Linked List/solution.cpp | nik3212/challenges | b127bc66ffa27bfdef87ac402dc080f933dad893 | [
"MIT"
] | null | null | null | LeetCode/876. Middle of the Linked List/solution.cpp | nik3212/challenges | b127bc66ffa27bfdef87ac402dc080f933dad893 | [
"MIT"
] | null | null | null | /*
876. Middle of the Linked List
Given the head of a singly linked list, return the middle node of the linked list.
If there are two middle nodes, return the second middle node.
*/
/**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode() : val(0), nex... | 22.205882 | 82 | 0.584106 | nik3212 |
e73f98e1becd1884a07cf2af18dc8631dd65cc11 | 1,945 | hpp | C++ | src/utils/gfileio.hpp | SkyTemple/ppmdu | 9731ea103affd66f2e8c1202c9acb2ebfd4c9924 | [
"CC0-1.0"
] | 37 | 2015-10-30T21:56:26.000Z | 2021-11-30T15:33:26.000Z | src/utils/gfileio.hpp | SkyTemple/ppmdu | 9731ea103affd66f2e8c1202c9acb2ebfd4c9924 | [
"CC0-1.0"
] | 27 | 2015-01-06T05:45:55.000Z | 2020-01-29T21:40:22.000Z | src/utils/gfileio.hpp | SkyTemple/ppmdu | 9731ea103affd66f2e8c1202c9acb2ebfd4c9924 | [
"CC0-1.0"
] | 8 | 2016-02-07T23:31:03.000Z | 2020-07-12T08:51:41.000Z | #ifndef G_FILE_IO_HPP
#define G_FILE_IO_HPP
/*
gfileio.hpp
2014/12/21
psycommando@gmail.com
Description: A few utilities to encapsulate writing stuff to files.
*/
#include <vector>
#include <string>
#include <cstdint>
#include <locale>
//#include <iostream>
namespace utils{ namespace io
{
/************************... | 38.9 | 109 | 0.517224 | SkyTemple |
e73fdae7c668ebabe136d3a531cdf588e5991280 | 6,510 | cpp | C++ | Source/Game/MayaScape/baseobject.cpp | ajaybhaga/MonkeyMaya_com_mobile | 51f1005edcf810511f4b294c67ab7671317d9216 | [
"MIT"
] | null | null | null | Source/Game/MayaScape/baseobject.cpp | ajaybhaga/MonkeyMaya_com_mobile | 51f1005edcf810511f4b294c67ab7671317d9216 | [
"MIT"
] | null | null | null | Source/Game/MayaScape/baseobject.cpp | ajaybhaga/MonkeyMaya_com_mobile | 51f1005edcf810511f4b294c67ab7671317d9216 | [
"MIT"
] | null | null | null | /*
*/
#include "baseobject.h"
//#include "droid.h"
//#include "projectile.h"
//#include "structure.h"
//#include "feature.h"
//#include "intdisplay.h"
#include "map.h"
using namespace Urho3D;
/// Returns the given angle, wrapped to the range [-180°; 180°) = [-32768; 32767].
static inline int32_t angleDelta(int32_t a... | 31.148325 | 166 | 0.694777 | ajaybhaga |
8d44ce46a7a7fa91e0b1a4883810718ac4c5a8b9 | 8,915 | hpp | C++ | src/core/solver.hpp | thomasfoetisch/tfel | c67acabaf4acf4a93edb55a9f415c87fe6b56e89 | [
"BSD-3-Clause"
] | 1 | 2019-07-09T09:31:09.000Z | 2019-07-09T09:31:09.000Z | src/core/solver.hpp | thomashilke/tfel | c67acabaf4acf4a93edb55a9f415c87fe6b56e89 | [
"BSD-3-Clause"
] | null | null | null | src/core/solver.hpp | thomashilke/tfel | c67acabaf4acf4a93edb55a9f415c87fe6b56e89 | [
"BSD-3-Clause"
] | null | null | null | #ifndef SOLVER_H
#define SOLVER_H
#include <map>
#include <string>
#include <memory>
#include <iostream>
#include <iomanip>
#include <vector>
#include <spikes/array.hpp>
#include <lapacke.h>
#include <petscksp.h>
#include <petsc/private/kspimpl.h>
#include <petscdmshell.h>
#include "meta.hpp"
#include "dictionary.h... | 27.179878 | 109 | 0.581716 | thomasfoetisch |
8d45013cfd2c507254705d6887b484cd16748f0c | 6,394 | cpp | C++ | src/render/Pipeline/Texture2D.cpp | AluminiumRat/mtt | 3052f8ad0ffabead05a1033e1d714a61e77d0aa8 | [
"MIT"
] | null | null | null | src/render/Pipeline/Texture2D.cpp | AluminiumRat/mtt | 3052f8ad0ffabead05a1033e1d714a61e77d0aa8 | [
"MIT"
] | null | null | null | src/render/Pipeline/Texture2D.cpp | AluminiumRat/mtt | 3052f8ad0ffabead05a1033e1d714a61e77d0aa8 | [
"MIT"
] | null | null | null | #include <stdexcept>
#include <mtt/render/Pipeline/Texture2D.h>
#include <mtt/render/LogicalDevice.h>
#include <mtt/render/PlainBuffer.h>
#include <mtt/utilities/Abort.h>
using namespace mtt;
Texture2D::Texture2D(LogicalDevice& device) noexcept :
AbstractTexture(TEXTURE_2D, device),
_dataFormat(VK_FORMAT_R8G8B8... | 35.921348 | 95 | 0.514545 | AluminiumRat |
8d486df3bf2342d2543d9f85cd70e32330238dc5 | 4,647 | hpp | C++ | src/elona/enchantment.hpp | ElonaFoobar/ElonaFoobar | 35864685dcca96c4c9ad683c4f5b3537e86bc06f | [
"MIT"
] | 84 | 2018-03-03T02:44:32.000Z | 2019-07-14T16:16:24.000Z | src/elona/enchantment.hpp | ki-foobar/ElonaFoobar | d251cf5bd8c21789db3b56b1c9b1302ce69b2c2e | [
"MIT"
] | 685 | 2018-02-27T04:31:17.000Z | 2019-07-12T13:43:00.000Z | src/elona/enchantment.hpp | ki-foobar/ElonaFoobar | d251cf5bd8c21789db3b56b1c9b1302ce69b2c2e | [
"MIT"
] | 23 | 2019-07-26T08:52:38.000Z | 2021-11-09T09:21:58.000Z | #pragma once
#include <string>
#include <vector>
#include "../util/range.hpp"
#include "enums.hpp"
#include "eobject/forward.hpp"
#include "optional.hpp"
#include "serialization/concepts.hpp"
namespace elona
{
struct Character;
struct Item;
struct Enchantment
{
int id = 0;
int power = 0;
bool op... | 17.736641 | 78 | 0.581235 | ElonaFoobar |
8d4881e8ba305521e514c2b440d4d9d8a61523b7 | 1,544 | cpp | C++ | project/librets/src/RetsExceptionContext.cpp | SMG-Digital/libRETS | cdf8d74c446c7f0ca4dc35ac64220b356f69d73f | [
"ICU"
] | 98 | 2015-01-21T02:13:25.000Z | 2021-11-20T01:41:13.000Z | project/librets/src/RetsExceptionContext.cpp | SMG-Digital/libRETS | cdf8d74c446c7f0ca4dc35ac64220b356f69d73f | [
"ICU"
] | 68 | 2015-01-28T15:37:23.000Z | 2022-03-24T23:02:14.000Z | project/librets/src/RetsExceptionContext.cpp | SMG-Digital/libRETS | cdf8d74c446c7f0ca4dc35ac64220b356f69d73f | [
"ICU"
] | 69 | 2015-02-27T14:49:47.000Z | 2022-02-10T17:51:13.000Z | /*
* Copyright (C) 2005 National Association of REALTORS(R)
*
* All rights reserved.
*
* 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 limitat... | 27.087719 | 69 | 0.722798 | SMG-Digital |
8d4adae6f338d909989704e58826c1cf14bed604 | 961 | cpp | C++ | Plugins/Wwise/Source/AkAudio/Private/AkAuxBus.cpp | BeatItOtaku/Eclair3 | a6129725918b63612fb4477d80305c930962974c | [
"MIT"
] | null | null | null | Plugins/Wwise/Source/AkAudio/Private/AkAuxBus.cpp | BeatItOtaku/Eclair3 | a6129725918b63612fb4477d80305c930962974c | [
"MIT"
] | 1 | 2019-08-18T15:57:03.000Z | 2019-08-18T15:57:03.000Z | Plugins/Wwise/Source/AkAudio/Private/AkAuxBus.cpp | BeatItOtaku/Eclair3 | a6129725918b63612fb4477d80305c930962974c | [
"MIT"
] | null | null | null | // Copyright (c) 2006-2012 Audiokinetic Inc. / All Rights Reserved
/*=============================================================================
AkReverbVolume.cpp:
=============================================================================*/
#include "AkAuxBus.h"
#include "AkAudioDevice.h"
#include "AkAudioClas... | 25.289474 | 86 | 0.478668 | BeatItOtaku |
8d4b6a97fd16279d753c84264d4a418ea8ee9ce1 | 483 | cpp | C++ | src/events/MyEndBaroCalCmd.cpp | LinuxDroneLab/MyDrone | 33b8e9f15cebf79da0141e4d8aa5f4d57da73b3e | [
"Apache-2.0"
] | 2 | 2021-05-31T09:46:39.000Z | 2022-02-17T12:33:43.000Z | src/events/MyEndBaroCalCmd.cpp | LinuxDroneLab/MyLinuxDrone | 33b8e9f15cebf79da0141e4d8aa5f4d57da73b3e | [
"Apache-2.0"
] | 17 | 2018-09-03T05:41:37.000Z | 2018-11-15T07:48:20.000Z | src/events/MyEndBaroCalCmd.cpp | LinuxDroneLab/MyLinuxDrone | 33b8e9f15cebf79da0141e4d8aa5f4d57da73b3e | [
"Apache-2.0"
] | null | null | null | /*
* MyEndBaroCalCmd.cpp
*
* Created on: 17 dic 2015
* Author: andrea
*/
#include <commons/MyPriority.h>
#include <events/MyEndBaroCalCmd.h>
MyEndBaroCalCmd::MyEndBaroCalCmd(boost::uuids::uuid origin, boost::uuids::uuid destination) : MyCmd(origin, destination) {
this->setPriority(MyPriority::END_BARO_CAL... | 23 | 122 | 0.747412 | LinuxDroneLab |
8d4bedf1528008024ed841b677393df56cc9fed4 | 547 | cpp | C++ | src/im_colorutil.cpp | hleuwer/im | 178a9614868487689529b56d9cb3daedd98fc593 | [
"MIT"
] | 2 | 2022-03-04T13:33:48.000Z | 2022-03-04T13:33:49.000Z | src/im_colorutil.cpp | hleuwer/im | 178a9614868487689529b56d9cb3daedd98fc593 | [
"MIT"
] | null | null | null | src/im_colorutil.cpp | hleuwer/im | 178a9614868487689529b56d9cb3daedd98fc593 | [
"MIT"
] | null | null | null | /** \file
* \brief Color Utilities
*
* See Copyright Notice in im_lib.h
*/
#include <stdlib.h>
#include <memory.h>
#include <string.h>
#include "im.h"
#include "im_util.h"
long imColorEncode(unsigned char Red, unsigned char Green, unsigned char Blue)
{
return (((long)Red) << 16) | (((long)Green) << 8) | ((long... | 20.259259 | 93 | 0.648995 | hleuwer |
8d4c1695a3b9d5d473b044fdb1171a5c20fca83e | 1,792 | cpp | C++ | 4 - Roteadores/Roteadores.cpp | HomeniqueM/Atividades-LPA | 1bc2f429d4d6afd807095be877145fbedf282329 | [
"MIT"
] | null | null | null | 4 - Roteadores/Roteadores.cpp | HomeniqueM/Atividades-LPA | 1bc2f429d4d6afd807095be877145fbedf282329 | [
"MIT"
] | null | null | null | 4 - Roteadores/Roteadores.cpp | HomeniqueM/Atividades-LPA | 1bc2f429d4d6afd807095be877145fbedf282329 | [
"MIT"
] | null | null | null |
#include <algorithm>
#include <iostream>
#include <vector>
using namespace std;
#define par pair<int, int>
class Rede
{
private:
vector<pair<int, par>> Rd; // Rede
vector<pair<int, par>> mst; // mst
int *parent;
int V; // Numero de Vertice
public:
Rede(int V);
void AddRoteadorComCusto(int u, int v, in... | 15.316239 | 57 | 0.580915 | HomeniqueM |
8d4cc09f6f9f31f08b5fe555eac52e05a458d094 | 2,096 | cpp | C++ | src/TestSwitching.cpp | paulherman/cvm | af85bc6ccdd2e5db66f2ce7e1e6a8fde2051ad83 | [
"MIT"
] | null | null | null | src/TestSwitching.cpp | paulherman/cvm | af85bc6ccdd2e5db66f2ce7e1e6a8fde2051ad83 | [
"MIT"
] | null | null | null | src/TestSwitching.cpp | paulherman/cvm | af85bc6ccdd2e5db66f2ce7e1e6a8fde2051ad83 | [
"MIT"
] | null | null | null | #include <fstream>
#include <cds/init.h>
#include <iostream>
#include <ctime>
#include "Program.h"
int main(int argc, char **argv) {
cds::Initialize();
std::vector<Instr> instructions = {
Instr(Opcode::Spawn, (int64_t)1),
Instr(Opcode::Spawn, (int64_t)1),
Instr(Opcode::Spawn, (int64_t)1),
Instr(Op... | 30.823529 | 75 | 0.640267 | paulherman |
8d4dbf36fab096ca470076d951e1b9d7a290fa41 | 261 | cpp | C++ | Day 2/ishita30.cpp.cpp | ChetasShree/MarchCode | 80ee6206c0e4481b4421a83c7b7b7fc977450009 | [
"MIT"
] | 9 | 2021-03-02T12:16:24.000Z | 2021-03-26T11:06:08.000Z | Day 2/ishita30.cpp.cpp | ChetasShree/MarchCode | 80ee6206c0e4481b4421a83c7b7b7fc977450009 | [
"MIT"
] | 65 | 2021-03-02T04:57:47.000Z | 2021-04-02T19:31:30.000Z | Day 2/ishita30.cpp.cpp | ChetasShree/MarchCode | 80ee6206c0e4481b4421a83c7b7b7fc977450009 | [
"MIT"
] | 94 | 2021-03-02T04:42:28.000Z | 2021-06-28T10:38:20.000Z | #include <iostream>
using namespace std;
int main()
{
int n;
cin>>n;
if((n%5==0) && (n%11==0))
{
cout<<"Number is divisible by both 5 and 11";
}
else
{
cout<<"Number is not divisible by both 5 and 11";
}
}
| 13.736842 | 57 | 0.494253 | ChetasShree |
8d4e3d593a512bd68dabb0f37f046c52ed1a6a28 | 1,162 | cpp | C++ | QInt/QInt/StringFunction.cpp | vominhtrieu/QInt | 4f6cedf17c55f16e9d032150b8dd72f21d5aca1b | [
"MIT"
] | null | null | null | QInt/QInt/StringFunction.cpp | vominhtrieu/QInt | 4f6cedf17c55f16e9d032150b8dd72f21d5aca1b | [
"MIT"
] | null | null | null | QInt/QInt/StringFunction.cpp | vominhtrieu/QInt | 4f6cedf17c55f16e9d032150b8dd72f21d5aca1b | [
"MIT"
] | null | null | null | #pragma once
#include "StringFunction.h"
string divideBy2(string num)
{
if (num == "1" || num == "0")
return "0";
string result;
char remainder = 0, temp;
int i = 0;
if (num[0] == '1')
{
remainder = 1;
i++;
}
for (; i < num.length(); i++)
{
temp = remainder * 10 + num[i] - '0';
result.push_back(t... | 18.15625 | 67 | 0.567986 | vominhtrieu |
8d4f758ada27559f95e9138e254a9c8188f44c18 | 2,859 | hh | C++ | gecode/int/exec.hh | Dekker1/gecode | bbefcea214fec798a0f5acc442581984555acd21 | [
"MIT-feh"
] | null | null | null | gecode/int/exec.hh | Dekker1/gecode | bbefcea214fec798a0f5acc442581984555acd21 | [
"MIT-feh"
] | null | null | null | gecode/int/exec.hh | Dekker1/gecode | bbefcea214fec798a0f5acc442581984555acd21 | [
"MIT-feh"
] | null | null | null | /* -*- mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- */
/*
* Main authors:
* Christian Schulte <schulte@gecode.org>
*
* Copyright:
* Christian Schulte, 2009
*
* This file is part of Gecode, the generic constraint
* development environment:
* http://www.gecode.org
*
* Permission is ... | 32.123596 | 74 | 0.687303 | Dekker1 |
8d512917c9c041c5c4429a8ca9dee0f74a78df04 | 2,032 | cpp | C++ | Singly Linked List/Reverse_in_groups_Recursive.cpp | susantabiswas/placementPrep | 22a7574206ddc63eba89517f7b68a3d2f4d467f5 | [
"MIT"
] | 19 | 2018-12-02T05:59:44.000Z | 2021-07-24T14:11:54.000Z | Singly Linked List/Reverse_in_groups_Recursive.cpp | susantabiswas/placementPrep | 22a7574206ddc63eba89517f7b68a3d2f4d467f5 | [
"MIT"
] | null | null | null | Singly Linked List/Reverse_in_groups_Recursive.cpp | susantabiswas/placementPrep | 22a7574206ddc63eba89517f7b68a3d2f4d467f5 | [
"MIT"
] | 13 | 2019-04-25T16:20:00.000Z | 2021-09-06T19:50:04.000Z | //Reverses the Linked List in Groups of K nodes using Recursion
/*Example:
Inputs: 1->2->3->4->5->6->7->8->NULL and k = 3
Output: 3->2->1->6->5->4->8->7->NULL.
*/
#include<iostream>
using namespace std;
struct Node
{
int data;
Node *next;
};
class List
{
public:
Node *head; //head for the list
List() { ... | 15.278195 | 88 | 0.605807 | susantabiswas |
8d51e9b469a7241ff261125c63a5e3ebbd073321 | 3,640 | cpp | C++ | depends/work/build/i686-w64-mingw32/qt/5.9.7-f2560c1efa6/qtbase/src/3rdparty/angle/src/libANGLE/VertexArray.cpp | GrinCash/Grinc-core | 1377979453ba84082f70f9c128be38e57b65a909 | [
"MIT"
] | 27 | 2016-04-27T01:02:03.000Z | 2021-12-13T08:53:19.000Z | depends/work/build/i686-w64-mingw32/qt/5.9.7-f2560c1efa6/qtbase/src/3rdparty/angle/src/libANGLE/VertexArray.cpp | GrinCash/Grinc-core | 1377979453ba84082f70f9c128be38e57b65a909 | [
"MIT"
] | 2 | 2017-03-09T09:00:50.000Z | 2017-09-21T15:48:20.000Z | depends/work/build/i686-w64-mingw32/qt/5.9.7-f2560c1efa6/qtbase/src/3rdparty/angle/src/libANGLE/VertexArray.cpp | GrinCash/Grinc-core | 1377979453ba84082f70f9c128be38e57b65a909 | [
"MIT"
] | 17 | 2016-04-27T02:06:39.000Z | 2019-12-18T08:07:00.000Z | //
// Copyright (c) 2013 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// Implementation of the state class for mananging GLES 3 Vertex Array Objects.
//
#include "libANGLE/VertexArray.h"
#include "libANGLE/Buf... | 25.815603 | 108 | 0.697527 | GrinCash |
8d53bbd063f665ee8d07ea383e64344170c548a5 | 831 | cpp | C++ | kinectTest/src/Integratorf.cpp | HellicarAndLewis/RememberingTheFuture | 783b007fd3c2e4fd02edd523c1f0d83f085f949d | [
"MIT"
] | null | null | null | kinectTest/src/Integratorf.cpp | HellicarAndLewis/RememberingTheFuture | 783b007fd3c2e4fd02edd523c1f0d83f085f949d | [
"MIT"
] | null | null | null | kinectTest/src/Integratorf.cpp | HellicarAndLewis/RememberingTheFuture | 783b007fd3c2e4fd02edd523c1f0d83f085f949d | [
"MIT"
] | null | null | null | #include "Integratorf.h"
Integratorf::Integratorf(void)
{
mass = 1;
force = 0;
vel = 0;
damping = DAMPING;
attraction = ATTRACTION;
}
Integratorf::Integratorf(float _val) {
val = _val;
mass = 1;
force = 0;
vel = 0;
damping = DAMPING;
attraction = ATTRACTION;
}
Integratorf::Integratorf(float _val, float _... | 14.084746 | 73 | 0.648616 | HellicarAndLewis |
8d53f8856b0eb55e51ea0c6ff7d2bbe3004c1978 | 16,642 | hxx | C++ | rutil/dns/DnsStub.hxx | dulton/reSipServer | ac4241df81c1e3eef2e678271ffef4dda1fc6747 | [
"Apache-2.0"
] | 1 | 2019-04-15T14:10:58.000Z | 2019-04-15T14:10:58.000Z | rutil/dns/DnsStub.hxx | dulton/reSipServer | ac4241df81c1e3eef2e678271ffef4dda1fc6747 | [
"Apache-2.0"
] | null | null | null | rutil/dns/DnsStub.hxx | dulton/reSipServer | ac4241df81c1e3eef2e678271ffef4dda1fc6747 | [
"Apache-2.0"
] | 2 | 2019-10-31T09:11:09.000Z | 2021-09-17T01:00:49.000Z | #ifndef RESIP_DNS_STUB_HXX
#define RESIP_DNS_STUB_HXX
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <vector>
#include <list>
#include <map>
#include <set>
#include "rutil/FdPoll.hxx"
#include "rutil/Fifo.hxx"
#include "rutil/GenericIPAddress.hxx"
#include "rutil/SelectInterruptor.hxx"
#include "rutil/Soc... | 32.759843 | 157 | 0.589352 | dulton |
8d576813dcaa4712ff6bb3eb8b08699f7574afbe | 2,703 | cpp | C++ | src/vkg/base/resource/texture_mipmap.cpp | wumo/vkg | 3318a4730fd5d9e069717745b419ba5f1aeb095a | [
"MIT"
] | 5 | 2020-09-05T07:18:57.000Z | 2021-02-02T03:05:22.000Z | src/vkg/base/resource/texture_mipmap.cpp | wumo/vkg | 3318a4730fd5d9e069717745b419ba5f1aeb095a | [
"MIT"
] | 1 | 2020-07-22T02:19:33.000Z | 2020-07-22T02:19:33.000Z | src/vkg/base/resource/texture_mipmap.cpp | wumo/vkg | 3318a4730fd5d9e069717745b419ba5f1aeb095a | [
"MIT"
] | null | null | null | #include "texture_mipmap.hpp"
#include "vkg/util/syntactic_sugar.hpp"
#include "texture_layout.hpp"
namespace vkg::image {
auto generateMipmap(uint32_t queueIdx, Texture &texture) -> void {
auto &device = texture.device();
auto formatProp = device.physicalDevice().getFormatProperties(texture.format());
errorIf(
... | 46.603448 | 85 | 0.675546 | wumo |
8d5792bcc05a81bf6a050f8f74649b3556182adb | 1,692 | cpp | C++ | SPOJ/SPOJ/EPALIN.cpp | aqfaridi/Competitve-Programming-Codes | d055de2f42d3d6bc36e03e67804a1dd6b212241f | [
"MIT"
] | null | null | null | SPOJ/SPOJ/EPALIN.cpp | aqfaridi/Competitve-Programming-Codes | d055de2f42d3d6bc36e03e67804a1dd6b212241f | [
"MIT"
] | null | null | null | SPOJ/SPOJ/EPALIN.cpp | aqfaridi/Competitve-Programming-Codes | d055de2f42d3d6bc36e03e67804a1dd6b212241f | [
"MIT"
] | null | null | null | #include <iostream>
#include <cstdio>
#include <cstring>
#include <cmath>
#include <cstdlib>
#include <climits>
#include <cassert>
#include <iomanip>
#include <vector>
#include <utility>
#include <map>
#include <set>
#include <list>
#include <stack>
#include <queue>
#include <deque>
#include <bitset>
#include <complex>... | 18 | 52 | 0.459811 | aqfaridi |
8d5acadbb783f3d5029c4a66a9171429822d0034 | 2,991 | cpp | C++ | src/Core/p2/iTRC.cpp | stravant/bfbbdecomp | 2126be355a6bb8171b850f829c1f2731c8b5de08 | [
"OLDAP-2.7"
] | 1 | 2021-01-05T11:28:55.000Z | 2021-01-05T11:28:55.000Z | src/Core/p2/iTRC.cpp | sonich2401/bfbbdecomp | 5f58b62505f8929a72ccf2aa118a1539eb3a5bd6 | [
"OLDAP-2.7"
] | null | null | null | src/Core/p2/iTRC.cpp | sonich2401/bfbbdecomp | 5f58b62505f8929a72ccf2aa118a1539eb3a5bd6 | [
"OLDAP-2.7"
] | 1 | 2022-03-30T15:15:08.000Z | 2022-03-30T15:15:08.000Z | #include "iTRC.h"
#include <types.h>
// func_80180038
#pragma GLOBAL_ASM("asm/Core/p2/iTRC.s", "Init__7ROMFontFv")
// func_80180094
#pragma GLOBAL_ASM("asm/Core/p2/iTRC.s", "InitDisplay__7ROMFontFP16_GXRenderModeObj")
// func_80180214
#pragma GLOBAL_ASM("asm/Core/p2/iTRC.s", "InitGX__7ROMFontFv")
// func_80180338
... | 29.038835 | 87 | 0.774992 | stravant |
8d5f3b795caeead72f0bb7fc0d90ea991ce01ec8 | 973 | cpp | C++ | cvc4-mc/cvc4-1.4/test/system/boilerplate.cpp | mistryrakesh/SMTApproxMC | 7c97e10c46c66e52c4e8972259610953c3357695 | [
"MIT"
] | null | null | null | cvc4-mc/cvc4-1.4/test/system/boilerplate.cpp | mistryrakesh/SMTApproxMC | 7c97e10c46c66e52c4e8972259610953c3357695 | [
"MIT"
] | null | null | null | cvc4-mc/cvc4-1.4/test/system/boilerplate.cpp | mistryrakesh/SMTApproxMC | 7c97e10c46c66e52c4e8972259610953c3357695 | [
"MIT"
] | null | null | null | /********************* */
/*! \file boilerplate.cpp
** \verbatim
** Original author: Morgan Deters
** Major contributors: none
** Minor contributors (to current version): Tim King
** This file is part of the CVC4 project.
** Copyright (c) 2009-2014 New York ... | 26.297297 | 80 | 0.643371 | mistryrakesh |
8d5f7afd3bbf95377e4773221c0812679cce2186 | 1,973 | cpp | C++ | src/getvideo_main.cpp | hyche/bmcweb | ebc692c9d14b59ffea43f6a83d3fc1467fe09aff | [
"Apache-2.0"
] | null | null | null | src/getvideo_main.cpp | hyche/bmcweb | ebc692c9d14b59ffea43f6a83d3fc1467fe09aff | [
"Apache-2.0"
] | null | null | null | src/getvideo_main.cpp | hyche/bmcweb | ebc692c9d14b59ffea43f6a83d3fc1467fe09aff | [
"Apache-2.0"
] | null | null | null | #include <fcntl.h>
#include <unistd.h>
#include <chrono>
#include <cstdio>
#include <cstdlib>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <thread>
#include <vector>
//#define BUILD_CIMG
#ifdef BUILD_CIMG
#define cimg_display 0
#include <CImg.h>
#endif
#include <ast_jpeg_decoder.hpp>
#include <... | 24.974684 | 72 | 0.523061 | hyche |
8d619a4ec671230363838c0e6311f5d538ab9217 | 381 | cpp | C++ | 11.13.8.cpp | cubhe/C_Primer_Plus | 7edc4b4f5c1afad60797f8f1ea11fb47f6fcdf77 | [
"MIT"
] | null | null | null | 11.13.8.cpp | cubhe/C_Primer_Plus | 7edc4b4f5c1afad60797f8f1ea11fb47f6fcdf77 | [
"MIT"
] | null | null | null | 11.13.8.cpp | cubhe/C_Primer_Plus | 7edc4b4f5c1afad60797f8f1ea11fb47f6fcdf77 | [
"MIT"
] | null | null | null | #include<stdio.h>
#include<stdlib.h>
#include<string.h>
#define MAX 40
void revers(char * one);
int main(){
char one[MAX];
gets(one);
revers(one);
puts(one);
system("pause");
return 0;
}
void revers(char * one){
char temp;
int j = strlen(one);
for (size_t i = 0; i < j/2; i++)
{
temp = one... | 16.565217 | 34 | 0.545932 | cubhe |
8d62343482744e642fc44bcc082584c7dcf2c75c | 2,463 | cpp | C++ | RFW/system/src/rfw/instance_ref.cpp | MeirBon/rendering-fw | dff775c816d19cd9e11eac2c2a2b3c608216ad4c | [
"Apache-2.0"
] | 77 | 2020-01-03T18:32:47.000Z | 2021-08-08T01:06:52.000Z | RFW/system/src/rfw/instance_ref.cpp | meirbon/rendering-fw | dff775c816d19cd9e11eac2c2a2b3c608216ad4c | [
"Apache-2.0"
] | 1 | 2020-01-09T01:59:27.000Z | 2020-01-09T08:47:28.000Z | RFW/system/src/rfw/instance_ref.cpp | MeirBon/rendering-fw | dff775c816d19cd9e11eac2c2a2b3c608216ad4c | [
"Apache-2.0"
] | 2 | 2021-04-15T00:02:38.000Z | 2021-08-08T01:06:47.000Z | #include "instance_ref.h"
#include "system.h"
namespace rfw
{
instance_ref::instance_ref(size_t index, geometry_ref reference, rfw::system &sys)
{
m_Members = std::make_shared<Members>(reference);
m_Members->index = index;
m_Members->geomReference = reference;
m_Members->rSystem = &sys;
assert(m_Members->rSyste... | 35.185714 | 102 | 0.727162 | MeirBon |
8d678641bc9dc290bcaf9078bcb26142ffedfc67 | 2,706 | cpp | C++ | c++/en/dropbox/class_president/class_president/class_president.cpp | aimldl/coding | 70ddbfaa454ab92fd072ee8dc614ecc330b34a70 | [
"MIT"
] | null | null | null | c++/en/dropbox/class_president/class_president/class_president.cpp | aimldl/coding | 70ddbfaa454ab92fd072ee8dc614ecc330b34a70 | [
"MIT"
] | null | null | null | c++/en/dropbox/class_president/class_president/class_president.cpp | aimldl/coding | 70ddbfaa454ab92fd072ee8dc614ecc330b34a70 | [
"MIT"
] | null | null | null | // class_president.cpp
#include "pch.h"
#include <iostream>
#include <fstream>
#define DEBUG 1
//#define DEBUG 0
void
show1darray(int* arr, int N);
void
show2darray(int** arr, int N, int Y);
//any_match(int** row1, int** row2, int column_size)
bool
any_match(int* row1, int* row2, int column_size)
{
... | 17.571429 | 71 | 0.546563 | aimldl |
8d6a4fc48fc412bc7fe78d8ae17cd33bdacbd121 | 4,189 | cpp | C++ | src/QtlMovie/QtlMovieCcExtractorProcess.cpp | qtlmovie/qtlmovie | 082ad5ea6522a02d5ac0d86f23cdd6152edff613 | [
"BSD-2-Clause"
] | 8 | 2016-08-09T14:05:58.000Z | 2020-09-05T14:43:36.000Z | src/QtlMovie/QtlMovieCcExtractorProcess.cpp | qtlmovie/qtlmovie | 082ad5ea6522a02d5ac0d86f23cdd6152edff613 | [
"BSD-2-Clause"
] | 15 | 2016-08-09T14:11:21.000Z | 2022-01-15T23:39:07.000Z | src/QtlMovie/QtlMovieCcExtractorProcess.cpp | qtlmovie/qtlmovie | 082ad5ea6522a02d5ac0d86f23cdd6152edff613 | [
"BSD-2-Clause"
] | 1 | 2017-08-26T22:08:58.000Z | 2017-08-26T22:08:58.000Z | //----------------------------------------------------------------------------
//
// Copyright (c) 2013-2017, Thierry Lelegard
// 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. Redistri... | 43.635417 | 161 | 0.553831 | qtlmovie |
8d6dc3c2c21cbf5d10e0e4bce57f0800c22a2e8c | 1,001 | cc | C++ | content/public/common/renderer_preferences.cc | 1065672644894730302/Chromium | 239dd49e906be4909e293d8991e998c9816eaa35 | [
"BSD-3-Clause"
] | 1 | 2019-04-23T15:57:04.000Z | 2019-04-23T15:57:04.000Z | content/public/common/renderer_preferences.cc | 1065672644894730302/Chromium | 239dd49e906be4909e293d8991e998c9816eaa35 | [
"BSD-3-Clause"
] | null | null | null | content/public/common/renderer_preferences.cc | 1065672644894730302/Chromium | 239dd49e906be4909e293d8991e998c9816eaa35 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2012 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 "content/public/common/renderer_preferences.h"
namespace content {
RendererPreferences::RendererPreferences()
: can_accept_load_drops(t... | 32.290323 | 73 | 0.743257 | 1065672644894730302 |
8d6e02625ddcd2c504d92e1e38fab3df5d667728 | 194 | cpp | C++ | WarbandLib/rgl_functions.cpp | Swyter/wse | 3ad901f1a463139b320c30ea08bdc343358ea6b6 | [
"WTFPL"
] | null | null | null | WarbandLib/rgl_functions.cpp | Swyter/wse | 3ad901f1a463139b320c30ea08bdc343358ea6b6 | [
"WTFPL"
] | null | null | null | WarbandLib/rgl_functions.cpp | Swyter/wse | 3ad901f1a463139b320c30ea08bdc343358ea6b6 | [
"WTFPL"
] | null | null | null | #include "rgl_functions.h"
#include "rgl_addresses.h"
using namespace rgl;
CheckIntersection_func functions::check_intersection = (CheckIntersection_func)addresses::CheckIntersection;
| 24.25 | 109 | 0.804124 | Swyter |
8d712ffab02975e739efb021eba9e24470948991 | 19,712 | cpp | C++ | tcss/src/v20201101/model/DescribeAssetSummaryResponse.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | null | null | null | tcss/src/v20201101/model/DescribeAssetSummaryResponse.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | null | null | null | tcss/src/v20201101/model/DescribeAssetSummaryResponse.cpp | suluner/tencentcloud-sdk-cpp | a56c73cc3f488c4d1e10755704107bb15c5e000d | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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
... | 30.896552 | 137 | 0.683391 | suluner |
8d74aff2f92c14364cde3642214e623a0d313d44 | 1,300 | cpp | C++ | tests/allegro_flare/allegro_color_attribute_datatype_test.cpp | MarkOates/allegro_flare | b454cb85eb5e43d19c23c0c6fd2dc11b96666ce7 | [
"MIT"
] | 25 | 2015-03-30T02:02:43.000Z | 2019-03-04T22:29:12.000Z | tests/allegro_flare/allegro_color_attribute_datatype_test.cpp | MarkOates/allegro_flare | b454cb85eb5e43d19c23c0c6fd2dc11b96666ce7 | [
"MIT"
] | 122 | 2015-04-01T08:15:26.000Z | 2019-10-16T20:31:22.000Z | tests/allegro_flare/allegro_color_attribute_datatype_test.cpp | MarkOates/allegro_flare | b454cb85eb5e43d19c23c0c6fd2dc11b96666ce7 | [
"MIT"
] | 4 | 2016-09-02T12:14:09.000Z | 2018-11-23T20:38:49.000Z |
#define BOOST_TEST_DYN_LINK
#define BOOST_TEST_MODULE AllegroColorAttributeDatatypeTestModule
#include <boost/test/unit_test.hpp>
#include <allegro_flare/attributes.h>
#include <allegro_flare/allegro_color_attribute_datatype.h>
using namespace allegro_flare;
BOOST_AUTO_TEST_CASE(allegro_color_custom_attribu... | 26.530612 | 119 | 0.797692 | MarkOates |
8d75ba28eb5e18b431b41f9605de3cfb2f9048c9 | 512 | cpp | C++ | CoreTest/src/FileVersionTest.cpp | ProtocolONE/cord.core | f8d16d095d3234144a1a6b46b5ed042363c4f549 | [
"Apache-2.0"
] | 1 | 2019-08-07T06:16:12.000Z | 2019-08-07T06:16:12.000Z | CoreTest/src/FileVersionTest.cpp | ProtocolONE/cord.core | f8d16d095d3234144a1a6b46b5ed042363c4f549 | [
"Apache-2.0"
] | null | null | null | CoreTest/src/FileVersionTest.cpp | ProtocolONE/cord.core | f8d16d095d3234144a1a6b46b5ed042363c4f549 | [
"Apache-2.0"
] | null | null | null | #include <Core/System/FileInfo.h>
#include <QtCore/QCoreApplication>
#include <gtest/gtest.h>
TEST(FileVersionTest, getSelfVersion)
{
QString selfExePath = QCoreApplication::applicationFilePath();
QString selfVersion = P1::Core::System::FileInfo::version(selfExePath);
ASSERT_EQ("1.2.3.4", selfVersion);
int h... | 26.947368 | 73 | 0.736328 | ProtocolONE |
8d7a20d11e39bb5f0d7f05f46b91c2d8fcd358ce | 461 | cpp | C++ | Leetcode/Practice/Remove All Adjacent Duplicates In String.cpp | coderanant/Competitive-Programming | 45076af7894251080ac616c9581fbf2dc49604af | [
"MIT"
] | 4 | 2019-06-04T11:03:38.000Z | 2020-06-19T23:37:32.000Z | Leetcode/Practice/Remove All Adjacent Duplicates In String.cpp | coderanant/Competitive-Programming | 45076af7894251080ac616c9581fbf2dc49604af | [
"MIT"
] | null | null | null | Leetcode/Practice/Remove All Adjacent Duplicates In String.cpp | coderanant/Competitive-Programming | 45076af7894251080ac616c9581fbf2dc49604af | [
"MIT"
] | null | null | null | class Solution {
public:
string removeDuplicates(string S) {
stack<char> st;
for(int i = 0; i < S.size(); i++)
{
if(!st.empty() and S[i] == st.top())
st.pop();
else
st.push(S[i]);
}
string ans;
while(!st.empty())... | 21.952381 | 48 | 0.37744 | coderanant |
8d7eae302f24679c43b7ad2a78ce5727d36e918b | 1,549 | cpp | C++ | libs/geometry/test/core/assert.cpp | lijgame/boost | ec2214a19cdddd1048058321a8105dd0231dac47 | [
"BSL-1.0"
] | 1 | 2018-12-15T19:57:24.000Z | 2018-12-15T19:57:24.000Z | thirdparty-cpp/boost_1_62_0/libs/geometry/test/core/assert.cpp | nxplatform/nx-mobile | 0dc174c893f2667377cb2ef7e5ffeb212fa8b3e5 | [
"Apache-2.0"
] | null | null | null | thirdparty-cpp/boost_1_62_0/libs/geometry/test/core/assert.cpp | nxplatform/nx-mobile | 0dc174c893f2667377cb2ef7e5ffeb212fa8b3e5 | [
"Apache-2.0"
] | 1 | 2019-03-08T11:06:22.000Z | 2019-03-08T11:06:22.000Z | // Boost.Geometry (aka GGL, Generic Geometry Library)
// Unit Test
// Copyright (c) 2015 Oracle and/or its affiliates.
// Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
// Use, modification and distribution is subject to the Boost Software License,
// Version 1.0. (See accompanying file ... | 24.203125 | 123 | 0.684958 | lijgame |
8d7f0170121e4b41be8607dcb9582e84d180b36b | 727 | cpp | C++ | nowcoder/317-B.cpp | PIPIKAI/ACM | b8e4416a29c0619946c9b73b0fe5699b6e96e782 | [
"MIT"
] | null | null | null | nowcoder/317-B.cpp | PIPIKAI/ACM | b8e4416a29c0619946c9b73b0fe5699b6e96e782 | [
"MIT"
] | null | null | null | nowcoder/317-B.cpp | PIPIKAI/ACM | b8e4416a29c0619946c9b73b0fe5699b6e96e782 | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
typedef long long ll;
#define inf 1e9+7
#define ffr(i,a,b) for(int i=a;i<b;i++)
#define mem(a,b) memset( a,b,sizeof a)
ll n,m;
ll cnt[5]={0};
ll ans=0;
int main()
{
std::ios::sync_with_stdio(false);
cin>>n;
ans=0;
for(int i=1;i<=n;i++)
{
int t;
... | 17.731707 | 41 | 0.420908 | PIPIKAI |
8d7f8a2f8db589fc2841af0f779ad31f464278d1 | 2,139 | cc | C++ | src/cc/frontends/b/loader.cc | gtataranni/bcc | b090f5f9eee62796829184ec862e3378a3b7e425 | [
"Apache-2.0"
] | 58 | 2015-08-28T08:46:35.000Z | 2022-02-27T14:31:55.000Z | src/cc/frontends/b/loader.cc | gtataranni/bcc | b090f5f9eee62796829184ec862e3378a3b7e425 | [
"Apache-2.0"
] | 13 | 2018-02-09T22:24:29.000Z | 2018-06-18T22:33:29.000Z | src/cc/frontends/b/loader.cc | gtataranni/bcc | b090f5f9eee62796829184ec862e3378a3b7e425 | [
"Apache-2.0"
] | 12 | 2017-02-28T02:50:31.000Z | 2021-07-26T17:54:07.000Z | /*
* Copyright (c) 2015 PLUMgrid, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | 28.905405 | 113 | 0.668537 | gtataranni |
8d8249b079ed5fa1f8c0d564565bd9a347fadca6 | 2,072 | cpp | C++ | src/Structure/SurfaceMesh/Edge.cpp | allen-cell-animated/medyan | 0b5ef64fb338c3961673361e5632980617937ee6 | [
"BSD-4-Clause-UC"
] | null | null | null | src/Structure/SurfaceMesh/Edge.cpp | allen-cell-animated/medyan | 0b5ef64fb338c3961673361e5632980617937ee6 | [
"BSD-4-Clause-UC"
] | null | null | null | src/Structure/SurfaceMesh/Edge.cpp | allen-cell-animated/medyan | 0b5ef64fb338c3961673361e5632980617937ee6 | [
"BSD-4-Clause-UC"
] | null | null | null | #include "Structure/SurfaceMesh/Edge.hpp"
#include "Core/Globals.hpp"
#include "Compartment.h"
#include "GController.h"
#include "MathFunctions.h"
#include "Structure/SurfaceMesh/Membrane.hpp"
Edge::Edge(Membrane* parent, size_t topoIndex):
Trackable(),
parent_(parent), topoIndex_{topoIndex} {
// Set... | 27.626667 | 97 | 0.646236 | allen-cell-animated |
8d8298dc771bd8dcdaff98e3bb3cef5344dbbc0f | 18,541 | cpp | C++ | rotors_simulator/rotors_gazebo_plugins/src/gazebo_odometry_plugin.cpp | adarshrs/Drone-Simulator-for-ROS-Kinetic | a44eef1bcaacc55539325bba663f0c8abfd7c75b | [
"MIT"
] | 10 | 2018-04-25T10:48:20.000Z | 2020-03-26T13:01:57.000Z | rotors_simulator/rotors_gazebo_plugins/src/gazebo_odometry_plugin.cpp | adarshrs/Drone-Simulator-for-ROS-Kinetic | a44eef1bcaacc55539325bba663f0c8abfd7c75b | [
"MIT"
] | null | null | null | rotors_simulator/rotors_gazebo_plugins/src/gazebo_odometry_plugin.cpp | adarshrs/Drone-Simulator-for-ROS-Kinetic | a44eef1bcaacc55539325bba663f0c8abfd7c75b | [
"MIT"
] | 3 | 2018-11-15T14:30:06.000Z | 2019-11-18T01:17:07.000Z | /*
* Copyright 2015 Fadri Furrer, ASL, ETH Zurich, Switzerland
* Copyright 2015 Michael Burri, ASL, ETH Zurich, Switzerland
* Copyright 2015 Mina Kamel, ASL, ETH Zurich, Switzerland
* Copyright 2015 Janosch Nikolic, ASL, ETH Zurich, Switzerland
* Copyright 2015 Markus Achtelik, ASL, ETH Zurich, Switzerland
*
* L... | 50.520436 | 133 | 0.738525 | adarshrs |
8d849044cd39003554701fb3573a19c4f600e949 | 2,609 | cpp | C++ | ux/uxsysvipc.cpp | bachue/AUPv2 | 97ea014fc6619f6355174bbd1ee68a9a1ae19a0d | [
"Unlicense"
] | null | null | null | ux/uxsysvipc.cpp | bachue/AUPv2 | 97ea014fc6619f6355174bbd1ee68a9a1ae19a0d | [
"Unlicense"
] | null | null | null | ux/uxsysvipc.cpp | bachue/AUPv2 | 97ea014fc6619f6355174bbd1ee68a9a1ae19a0d | [
"Unlicense"
] | null | null | null | /*
Copyright 2003 by Marc J. Rochkind. All rights reserved.
May be copied only for purposes and under conditions described
on the Web page www.basepath.com/aup/copyright.htm.
The Example Files are provided "as is," without any warranty;
without even the implied warranty of merchantability or fitness
for a partic... | 18.503546 | 75 | 0.656573 | bachue |
8d89fe13e6f506e446486b79f31bddc496df98c1 | 1,014 | cpp | C++ | leetcode/HappyNumber.cpp | openluopworld/basic_algorithms | 752de0c6b4899e657514f0228d6793b561a004de | [
"MIT"
] | 1 | 2015-08-19T01:12:45.000Z | 2015-08-19T01:12:45.000Z | leetcode/HappyNumber.cpp | openluopworld/Algorithms | 752de0c6b4899e657514f0228d6793b561a004de | [
"MIT"
] | null | null | null | leetcode/HappyNumber.cpp | openluopworld/Algorithms | 752de0c6b4899e657514f0228d6793b561a004de | [
"MIT"
] | null | null | null |
/*
* Problem: Happy Number
*
* Write an algorithm to determine if a number is "happy".
* A happy number is a number defined by the following process: Starting with any positive integer,
* replace the number by the sum of the squares of its digits,
* and repeat the process until the number equals 1 (where it w... | 26.684211 | 100 | 0.628205 | openluopworld |
8d8e0c867286fe8efe713bc790bb8ec0869f5c5d | 1,067 | cpp | C++ | examples/00_helloworld/00_helloworld_qt.cpp | igor-krechetov/hsmcpp | 5b0fcddacc43ad54a474c16767fa593ac0919393 | [
"MIT"
] | 10 | 2021-03-17T17:26:50.000Z | 2022-03-30T17:33:23.000Z | examples/00_helloworld/00_helloworld_qt.cpp | igor-krechetov/hsmcpp | 5b0fcddacc43ad54a474c16767fa593ac0919393 | [
"MIT"
] | 1 | 2022-03-30T16:29:01.000Z | 2022-03-30T16:29:01.000Z | examples/00_helloworld/00_helloworld_qt.cpp | igor-krechetov/hsmcpp | 5b0fcddacc43ad54a474c16767fa593ac0919393 | [
"MIT"
] | null | null | null | #include <chrono>
#include <thread>
#include <hsmcpp/hsm.hpp>
#include <hsmcpp/HsmEventDispatcherQt.hpp>
#include <QCoreApplication>
using namespace std::chrono_literals;
using namespace hsmcpp;
enum class States
{
OFF,
ON
};
enum class Events
{
SWITCH
};
int main(int argc, char** argv)
{
QCoreAppli... | 22.229167 | 70 | 0.665417 | igor-krechetov |
8d916e89ea106d60c42e8471d3cecaf3d4fa72e3 | 3,110 | cc | C++ | src/flutter/shell/platform/linux_embedded/surface/context_egl_stream.cc | TomohideMorimoto/flutter-embedded-linux | e7b1e98e646e88aa52dc1abe9f14444c2b070a39 | [
"BSD-3-Clause"
] | null | null | null | src/flutter/shell/platform/linux_embedded/surface/context_egl_stream.cc | TomohideMorimoto/flutter-embedded-linux | e7b1e98e646e88aa52dc1abe9f14444c2b070a39 | [
"BSD-3-Clause"
] | null | null | null | src/flutter/shell/platform/linux_embedded/surface/context_egl_stream.cc | TomohideMorimoto/flutter-embedded-linux | e7b1e98e646e88aa52dc1abe9f14444c2b070a39 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2021 Sony Corporation. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "flutter/shell/platform/linux_embedded/surface/context_egl_stream.h"
#include "flutter/shell/platform/linux_embedded/logger.h"
#include "flutter/she... | 35.340909 | 85 | 0.719614 | TomohideMorimoto |
8d9180f382e94f88ce5876158cfe39df780aa8d1 | 1,324 | cpp | C++ | origin/sequence/algorithm.test/unique.cpp | hiraditya/origin | f417d0688f9cdc7041a8375a66070b8e04c620ca | [
"MIT"
] | 2 | 2015-09-02T07:12:01.000Z | 2017-07-07T02:47:14.000Z | origin/sequence/algorithm.test/unique.cpp | hiraditya/origin | f417d0688f9cdc7041a8375a66070b8e04c620ca | [
"MIT"
] | 3 | 2015-05-04T06:32:43.000Z | 2015-08-30T00:36:02.000Z | origin/sequence/algorithm.test/unique.cpp | hiraditya/origin | f417d0688f9cdc7041a8375a66070b8e04c620ca | [
"MIT"
] | null | null | null | // Copyright (c) 2008-2010 Kent State University
// Copyright (c) 2011-2012 Texas A&M University
//
// This file is distributed under the MIT License. See the accompanying file
// LICENSE.txt or http://www.opensource.org/licenses/mit-license.php for terms
// and conditions.
#include <cassert>
#include <iostream>
#incl... | 23.22807 | 78 | 0.629154 | hiraditya |
8d92060bd9adab1f684310568b65baf7a549791c | 885 | cpp | C++ | modules/complex-number/test/test_Elanskiy_Alexandr_complex_number.cpp | BalovaElena/devtools-course-practice | f8d5774dbb78ec50200c45fd17665ed40fc8c4c5 | [
"CC-BY-4.0"
] | null | null | null | modules/complex-number/test/test_Elanskiy_Alexandr_complex_number.cpp | BalovaElena/devtools-course-practice | f8d5774dbb78ec50200c45fd17665ed40fc8c4c5 | [
"CC-BY-4.0"
] | null | null | null | modules/complex-number/test/test_Elanskiy_Alexandr_complex_number.cpp | BalovaElena/devtools-course-practice | f8d5774dbb78ec50200c45fd17665ed40fc8c4c5 | [
"CC-BY-4.0"
] | null | null | null | // Copyright 2022 Elanskiy Alexandr
#include <gtest/gtest.h>
#include "include/complex_number.h"
TEST(Elanskiy_Alexandr_ComplexNumberTest, Create) {
ASSERT_NO_THROW(ComplexNumber z(5.2, 1.7));
}
TEST(Elanskiy_Alexandr_ComplexNumberTest, Subtraction) {
double re1 = 5.0;
double im1 = 1.0;
double re2 = ... | 22.692308 | 56 | 0.666667 | BalovaElena |
8d95c94770b12b1c7c07e8c957fd95ed5b3942d0 | 6,303 | hpp | C++ | src/xsi_shm.hpp | lcTls/levin | 7c3768ba96c752fe30b721fcc3af0f7202d5b6b3 | [
"Apache-2.0"
] | 1 | 2019-08-31T03:16:19.000Z | 2019-08-31T03:16:19.000Z | src/xsi_shm.hpp | msdgwzhy6/levin | 082a21d29ac19acbd16c5874367e77a424b7d255 | [
"Apache-2.0"
] | null | null | null | src/xsi_shm.hpp | msdgwzhy6/levin | 082a21d29ac19acbd16c5874367e77a424b7d255 | [
"Apache-2.0"
] | null | null | null | #ifndef LEVIN_XSI_SHM_H
#define LEVIN_XSI_SHM_H
#include <fstream>
#include <boost/interprocess/xsi_shared_memory.hpp>
#include <boost/interprocess/mapped_region.hpp>
#include <boost/algorithm/string.hpp>
#include "shared_utils.h"
namespace levin {
namespace bip = boost::interprocess;
const size_t MAX_MEM_SIZE = 60... | 34.07027 | 116 | 0.555291 | lcTls |
8d964f7efa18d3fac270bd72c4a14e418a555c02 | 2,731 | cpp | C++ | BinaryFiles.cpp | TheoRussell/Game-Engine | 7cbb39012908c5bc9065fab9ccc6685b96bbc26e | [
"MIT"
] | null | null | null | BinaryFiles.cpp | TheoRussell/Game-Engine | 7cbb39012908c5bc9065fab9ccc6685b96bbc26e | [
"MIT"
] | null | null | null | BinaryFiles.cpp | TheoRussell/Game-Engine | 7cbb39012908c5bc9065fab9ccc6685b96bbc26e | [
"MIT"
] | null | null | null | #include "BinaryFiles.h"
BinaryFiles::BinaryFiles()
{
}
BinaryFiles::~BinaryFiles()
{
}
std::string BinaryFiles::getString(std::ifstream &s) {
unsigned int size = 0;
//It reads the size of the string message to create the buffer.
s.read(reinterpret_cast<char *>(&size), sizeof(size));
char *bu... | 26.009524 | 106 | 0.659832 | TheoRussell |
8d987778860d2c31cabcd8f59c8758c9ccbfe1fe | 1,330 | cc | C++ | ui/events/ozone/evdev/event_converter_evdev.cc | rzr/chromium-crosswalk | d391344809adf7b4f39764ac0e15c378169b805f | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2019-11-28T10:46:52.000Z | 2019-11-28T10:46:52.000Z | ui/events/ozone/evdev/event_converter_evdev.cc | rzr/chromium-crosswalk | d391344809adf7b4f39764ac0e15c378169b805f | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | ui/events/ozone/evdev/event_converter_evdev.cc | rzr/chromium-crosswalk | d391344809adf7b4f39764ac0e15c378169b805f | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2015-03-27T11:15:39.000Z | 2016-08-17T14:19:56.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 "ui/events/ozone/evdev/event_converter_evdev.h"
#include "base/files/file_path.h"
#include "base/logging.h"
#include "base/message_loop/message_... | 25.576923 | 76 | 0.678947 | rzr |
8d996e4a4a3d0737ef250290a0861d1738c88a3f | 4,971 | cpp | C++ | Vulkan/jni/bor.vulkan.structs.VkQueueFamilyProperties.cpp | AlessandroBorges/Bor_Vulkan | 3847e6f44ce7f14dfc1e671a6cc51eb4788e4e4b | [
"MIT"
] | 14 | 2016-02-29T12:30:05.000Z | 2020-09-17T11:30:50.000Z | Vulkan/jni/bor.vulkan.structs.VkQueueFamilyProperties.cpp | AlessandroBorges/Bor_Vulkan | 3847e6f44ce7f14dfc1e671a6cc51eb4788e4e4b | [
"MIT"
] | 2 | 2016-09-13T18:02:55.000Z | 2019-11-03T01:54:20.000Z | Vulkan/jni/bor.vulkan.structs.VkQueueFamilyProperties.cpp | AlessandroBorges/Bor_Vulkan | 3847e6f44ce7f14dfc1e671a6cc51eb4788e4e4b | [
"MIT"
] | 5 | 2017-09-19T03:09:06.000Z | 2021-11-23T20:20:52.000Z | #include <bor.vulkan.structs.VkQueueFamilyProperties.h>
//@line:41
#include <BorVulkan.hpp>
JNIEXPORT void JNICALL Java_bor_vulkan_structs_VkQueueFamilyProperties_setQueueFlags0(JNIEnv* env, jclass clazz, jobject obj_ptr, jint _queueFlags) {
unsigned char* ptr = (unsigned char*)(obj_ptr?env->GetDirectBufferA... | 36.284672 | 190 | 0.796218 | AlessandroBorges |
8d9f3da48e80e445a6b336d31ff2c84ecb9c6f5d | 2,497 | cpp | C++ | 3rdparty/OculusSDKv1_8/Samples/OculusRoomTiny_Advanced/ORT (Protected Content)/main.cpp | PlusToolkit/OvrvisionPro | ed64cade144ce47d17423369476fb43ea69b124d | [
"MIT"
] | 1 | 2017-10-27T14:01:39.000Z | 2017-10-27T14:01:39.000Z | OculusSDK/Samples/OculusRoomTiny_Advanced/ORT (Protected Content)/main.cpp | Ybalrid/AnnwvynDeps | 3309b126e6e501df5bd7f617cf3c47941b0754e5 | [
"CECILL-B"
] | null | null | null | OculusSDK/Samples/OculusRoomTiny_Advanced/ORT (Protected Content)/main.cpp | Ybalrid/AnnwvynDeps | 3309b126e6e501df5bd7f617cf3c47941b0754e5 | [
"CECILL-B"
] | null | null | null | /************************************************************************************
Filename : Win32_RoomTiny_Main.cpp
Content : First-person view test application for Oculus Rift
Created : 3rd June 2016
Authors : Tom Heath
Copyright : Copyright 2012 Oculus, Inc. All Rights reserved.
Licen... | 37.833333 | 100 | 0.640368 | PlusToolkit |
8da0c6fc947e003b3d1c888b04b6c13caeb73a5a | 4,455 | cpp | C++ | src/src/dial.cpp | mohistH/nanogui_from_dalerank | ae4b5e04b2d8e2e85ab63b737fd13f8882243526 | [
"MIT"
] | 2 | 2021-01-05T08:50:59.000Z | 2021-08-17T09:09:55.000Z | src/src/dial.cpp | mohistH/nanogui_from_dalerank | ae4b5e04b2d8e2e85ab63b737fd13f8882243526 | [
"MIT"
] | null | null | null | src/src/dial.cpp | mohistH/nanogui_from_dalerank | ae4b5e04b2d8e2e85ab63b737fd13f8882243526 | [
"MIT"
] | 1 | 2021-08-17T09:09:57.000Z | 2021-08-17T09:09:57.000Z | /*
nanogui/dial.cpp -- Fractional dial widget with mouse control
NanoGUI was developed by Wenzel Jakob <wenzel.jakob@epfl.ch>.
The widget drawing code is based on the NanoVG demo application
by Mikko Mononen.
All rights reserved. Use of this source code is governed by a
BSD-style license that ... | 29.7 | 112 | 0.61459 | mohistH |
8da1236b715d2db4e5a8c5a262f13c6abecb5a7c | 996 | cpp | C++ | niuke_HW/chapter4_HW/HW4-2.cpp | drt4243566/leetcode_learn | ef51f215079556895eec2252d84965cd1c3a7bf4 | [
"MIT"
] | null | null | null | niuke_HW/chapter4_HW/HW4-2.cpp | drt4243566/leetcode_learn | ef51f215079556895eec2252d84965cd1c3a7bf4 | [
"MIT"
] | null | null | null | niuke_HW/chapter4_HW/HW4-2.cpp | drt4243566/leetcode_learn | ef51f215079556895eec2252d84965cd1c3a7bf4 | [
"MIT"
] | null | null | null | #include <unordered_map>
#include <iostream>
#include <vector>
using namespace std;
class Solution
{
public:
vector<int> twoSum(vector<int> &numbers, int target)
{
// write code here
int n = numbers.size();
vector<int> res;
unordered_map<int, int> mp; // key值代表numbers数组中的元素,val... | 22.133333 | 78 | 0.46988 | drt4243566 |
8da6d5395509535e2b20e43df832e5800fc54823 | 6,875 | cc | C++ | Geometry/DTGeometryBuilder/src/DTGeometryBuilderFromCondDB.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | Geometry/DTGeometryBuilder/src/DTGeometryBuilderFromCondDB.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | Geometry/DTGeometryBuilder/src/DTGeometryBuilderFromCondDB.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | /******* \class DTGeometryBuilderFromCondDB *******
*
* Description:
*
* detailed description
*
* \author : Stefano Lacaprara - INFN LNL <stefano.lacaprara@pd.infn.it>
*
* Modification:
*
*********************************/
/* This Class Header */
#include "Geometry/DTGeometryBuilder/src/DTGeometryBuilderF... | 39.285714 | 120 | 0.603782 | ckamtsikis |
8da90f2fc16acb3d8c68d11b3bb6c33508a5535e | 1,415 | cpp | C++ | zappy/gfx_d/src/free.cpp | fflorens/portofolio42 | 4368c33460129beaebea0c983a133f717bc9fe13 | [
"MIT"
] | null | null | null | zappy/gfx_d/src/free.cpp | fflorens/portofolio42 | 4368c33460129beaebea0c983a133f717bc9fe13 | [
"MIT"
] | null | null | null | zappy/gfx_d/src/free.cpp | fflorens/portofolio42 | 4368c33460129beaebea0c983a133f717bc9fe13 | [
"MIT"
] | null | null | null | // ************************************************************************** //
// //
// ::: :::::::: //
// free.cpp :+: :+: :+: ... | 44.21875 | 80 | 0.313074 | fflorens |
8daac20470625805ed77e78ab916206bf6a992ef | 2,602 | cpp | C++ | src/GHAndroid/GHOvrGoTextureLoader.cpp | GoldenHammerSoftware/GH | 757213f479c0fc80ed1a0f59972bf3e9d92b7526 | [
"MIT"
] | null | null | null | src/GHAndroid/GHOvrGoTextureLoader.cpp | GoldenHammerSoftware/GH | 757213f479c0fc80ed1a0f59972bf3e9d92b7526 | [
"MIT"
] | null | null | null | src/GHAndroid/GHOvrGoTextureLoader.cpp | GoldenHammerSoftware/GH | 757213f479c0fc80ed1a0f59972bf3e9d92b7526 | [
"MIT"
] | null | null | null | // Copyright Golden Hammer Software
#include "GHOvrGoTextureLoader.h"
#include "GHTextureFormat.h"
#include "GHRenderProperties.h"
#include "GHUtils/GHPropertyContainer.h"
#include "GHTextureDataFactoryASTC.h"
#include "GHGLESTexture.h"
#include "GHTextureData.h"
//Todo: make GHOvrGoTextureLoader::loadMemory replace ... | 41.301587 | 139 | 0.79093 | GoldenHammerSoftware |
8dab25cce56947eaf5283ed7e37bd007d5fac664 | 2,250 | hpp | C++ | src/Time/StepChoosers/Increase.hpp | trami18/spectre | 6b1f6497bf2e26d1474bfadf143b3321942c40b4 | [
"MIT"
] | 2 | 2021-04-11T04:07:42.000Z | 2021-04-11T05:07:54.000Z | src/Time/StepChoosers/Increase.hpp | trami18/spectre | 6b1f6497bf2e26d1474bfadf143b3321942c40b4 | [
"MIT"
] | null | null | null | src/Time/StepChoosers/Increase.hpp | trami18/spectre | 6b1f6497bf2e26d1474bfadf143b3321942c40b4 | [
"MIT"
] | null | null | null | // Distributed under the MIT License.
// See LICENSE.txt for details.
#pragma once
#include <cmath>
#include <limits>
#include <pup.h>
#include <utility>
#include "Options/Options.hpp"
#include "Parallel/CharmPupable.hpp"
#include "Time/StepChoosers/StepChooser.hpp" // IWYU pragma: keep
#include "Time/Time.hpp"
#in... | 28.481013 | 80 | 0.738222 | trami18 |
8dab492cb9c1f662ad7ec67a37fb357e99409726 | 4,069 | cpp | C++ | src/dis7/Association.cpp | AlphaPixel/open-dis-cpp | 90634cade32ac98e2108be8799bd2ec949c4337e | [
"BSD-2-Clause"
] | 42 | 2017-02-22T07:23:06.000Z | 2022-03-07T12:34:11.000Z | src/dis7/Association.cpp | AlphaPixel/open-dis-cpp | 90634cade32ac98e2108be8799bd2ec949c4337e | [
"BSD-2-Clause"
] | 62 | 2017-07-14T11:06:55.000Z | 2022-01-22T02:32:45.000Z | src/dis7/Association.cpp | AlphaPixel/open-dis-cpp | 90634cade32ac98e2108be8799bd2ec949c4337e | [
"BSD-2-Clause"
] | 51 | 2017-08-10T16:44:32.000Z | 2021-12-16T09:57:42.000Z | #include <dis7/Association.h>
using namespace DIS;
Association::Association():
_associationType(0),
_padding4(0),
_associatedEntityID(),
_associatedLocation()
{
}
Association::~Association()
{
}
unsigned char Association::getAssociationType() const
{
return _associationType;
}
void Association:... | 29.485507 | 95 | 0.751536 | AlphaPixel |
8dab5785e991741d4a27f39ad626e5837af24418 | 13,513 | cpp | C++ | bins/broker/web/WebAdminRequestHandler.cpp | asvgit/broker | 766b66015b842be4d1106ff6c6145ad489c03c59 | [
"Apache-2.0"
] | 10 | 2019-10-31T14:36:01.000Z | 2022-02-25T13:47:23.000Z | bins/broker/web/WebAdminRequestHandler.cpp | asvgit/broker | 766b66015b842be4d1106ff6c6145ad489c03c59 | [
"Apache-2.0"
] | 6 | 2019-11-07T14:55:50.000Z | 2021-03-03T09:31:35.000Z | bins/broker/web/WebAdminRequestHandler.cpp | asvgit/broker | 766b66015b842be4d1106ff6c6145ad489c03c59 | [
"Apache-2.0"
] | 3 | 2019-11-07T14:23:33.000Z | 2020-11-05T18:35:16.000Z | /*
* Copyright 2014-present IVK JSC. 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 by appl... | 37.74581 | 145 | 0.617775 | asvgit |
8dab6f44180f19306f4cc458753982673279b4a8 | 2,927 | hpp | C++ | src/hotspot/os/windows/os_windows.inline.hpp | 1690296356/jdk | eaf668d1510c28d51e26c397b582b66ebdf7e263 | [
"Apache-2.0"
] | 1 | 2020-12-26T04:52:15.000Z | 2020-12-26T04:52:15.000Z | src/hotspot/os/windows/os_windows.inline.hpp | 1690296356/jdk | eaf668d1510c28d51e26c397b582b66ebdf7e263 | [
"Apache-2.0"
] | 1 | 2020-12-26T04:57:19.000Z | 2020-12-26T04:57:19.000Z | src/hotspot/os/windows/os_windows.inline.hpp | 1690296356/jdk | eaf668d1510c28d51e26c397b582b66ebdf7e263 | [
"Apache-2.0"
] | 1 | 2021-12-06T01:13:18.000Z | 2021-12-06T01:13:18.000Z | /*
* Copyright (c) 1997, 2021, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free ... | 30.175258 | 79 | 0.743082 | 1690296356 |
8dabf0105cb9ff5a991c82a164d08e74c8c5fb2b | 692 | cpp | C++ | Source/HacknSlash/Pickups/ShieldPickup.cpp | Andrew199617/HacknSlash | 60fb4eb857223769db835f138734c7857b2e654f | [
"MIT"
] | null | null | null | Source/HacknSlash/Pickups/ShieldPickup.cpp | Andrew199617/HacknSlash | 60fb4eb857223769db835f138734c7857b2e654f | [
"MIT"
] | null | null | null | Source/HacknSlash/Pickups/ShieldPickup.cpp | Andrew199617/HacknSlash | 60fb4eb857223769db835f138734c7857b2e654f | [
"MIT"
] | null | null | null | // Fill out your copyright notice in the Description page of Project Settings.
#include "HacknSlash.h"
#include "ShieldPickup.h"
#include "HacknSlashCharacter.h"
AShieldPickup::AShieldPickup() : ABasePickup()
{
}
void AShieldPickup::OnPickup(AActor* OtherActor)
{
if (OtherActor->GetName() == playerCharacter->GetNa... | 17.74359 | 78 | 0.735549 | Andrew199617 |