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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a77aed6a55c2a9108d9f042484d45a15fc588ef1 | 4,100 | hpp | C++ | include/System/LocalDataStoreHolder.hpp | v0idp/virtuoso-codegen | 6f560f04822c67f092d438a3f484249072c1d21d | [
"Unlicense"
] | null | null | null | include/System/LocalDataStoreHolder.hpp | v0idp/virtuoso-codegen | 6f560f04822c67f092d438a3f484249072c1d21d | [
"Unlicense"
] | null | null | null | include/System/LocalDataStoreHolder.hpp | v0idp/virtuoso-codegen | 6f560f04822c67f092d438a3f484249072c1d21d | [
"Unlicense"
] | 1 | 2022-03-30T21:07:35.000Z | 2022-03-30T21:07:35.000Z | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "beatsaber-hook/shared/utils/typedefs.h"
#include "beatsaber-hook/shared/utils/byref.hpp"
#include "beatsaber-hook/shared/utils/il2cpp-utils-met... | 45.054945 | 176 | 0.734634 | v0idp |
a77c5f4c7480608e40356270899a1a92621ec23c | 551 | hpp | C++ | src/models/Light.hpp | sophia-x/RayTracing | 1092971b08ff17e8642e408e2cb0c518d6591e2b | [
"MIT"
] | 1 | 2016-05-05T10:20:45.000Z | 2016-05-05T10:20:45.000Z | src/models/Light.hpp | sophia-x/RayTracing | 1092971b08ff17e8642e408e2cb0c518d6591e2b | [
"MIT"
] | null | null | null | src/models/Light.hpp | sophia-x/RayTracing | 1092971b08ff17e8642e408e2cb0c518d6591e2b | [
"MIT"
] | null | null | null | #ifndef LIGHT
#define LIGHT
#include "Model.hpp"
#include "../common.hpp"
class Scene;
class Light : public Model {
protected:
vec3 __emission_color;
public:
Light(const Material &material, const vec3 &emission_color): Model(material), __emission_color(emission_color) {}
virtual ~Light() {}
virtual vec3 calcSh... | 21.192308 | 114 | 0.747731 | sophia-x |
a77d25dc8b07c1cf89b6dfef88bffdb50530e103 | 11,040 | hh | C++ | addmc/src/dmc.hh | vuphan314/dpo | e24fe63fc3321c0cd6d2179c3300596b91082ab5 | [
"MIT"
] | null | null | null | addmc/src/dmc.hh | vuphan314/dpo | e24fe63fc3321c0cd6d2179c3300596b91082ab5 | [
"MIT"
] | null | null | null | addmc/src/dmc.hh | vuphan314/dpo | e24fe63fc3321c0cd6d2179c3300596b91082ab5 | [
"MIT"
] | null | null | null | #pragma once
/* inclusions =============================================================== */
#include "../libraries/cxxopts/include/cxxopts.hpp"
#include "../libraries/cudd/cplusplus/cuddObj.hh"
#include "../libraries/cudd/cudd/cuddInt.h"
#include "../libraries/sylvan/src/sylvan_gmp.h"
#include "../libraries/sylva... | 35.047619 | 140 | 0.718478 | vuphan314 |
a782891ae07a111034f75f419e3900145700f0e1 | 14,111 | cpp | C++ | stm32/libraries/HardwareTimer/src/HardwareTimer.cpp | BSFrance/BSFrance | db1da987a84a60f568c5a4c79635d596e8ceb88b | [
"MIT"
] | 8 | 2018-02-23T18:48:24.000Z | 2021-02-13T23:57:27.000Z | stm32/libraries/HardwareTimer/src/HardwareTimer.cpp | BSFrance/BSFrance | db1da987a84a60f568c5a4c79635d596e8ceb88b | [
"MIT"
] | 2 | 2018-03-11T07:14:30.000Z | 2019-02-17T20:05:26.000Z | stm32/libraries/HardwareTimer/src/HardwareTimer.cpp | BSFrance/BSFrance | db1da987a84a60f568c5a4c79635d596e8ceb88b | [
"MIT"
] | 4 | 2018-05-01T14:53:34.000Z | 2021-04-06T12:31:05.000Z | /*
Copyright (c) 2017 Daniel Fekete
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dis... | 29.896186 | 139 | 0.651548 | BSFrance |
a78464a51ea39caa21a418362eff6c4b0ea1d679 | 1,257 | cpp | C++ | ScriptHookW3/logger.cpp | Traderain/ScriptHookW3 | f80325557662303ff818b3ea1dd0ba8dcebf8c63 | [
"MIT"
] | 1 | 2021-05-16T19:54:54.000Z | 2021-05-16T19:54:54.000Z | ScriptHookW3/logger.cpp | Traderain/ScriptHookW3 | f80325557662303ff818b3ea1dd0ba8dcebf8c63 | [
"MIT"
] | null | null | null | ScriptHookW3/logger.cpp | Traderain/ScriptHookW3 | f80325557662303ff818b3ea1dd0ba8dcebf8c63 | [
"MIT"
] | null | null | null | #include "logger.h"
shw3::Logger::Logger() {
this->filestream.open("..\\" TARGET_NAME ".log");
}
shw3::Logger::~Logger() {
if (this->filestream.is_open()) {
std::lock_guard<std::mutex> guard(mtx);
filestream.flush();
filestream.close();
}
}
void shw3::Logger::writeLine() {
if (this->filestream.is_open()) {... | 17.458333 | 59 | 0.627685 | Traderain |
a785284b30bcd783f2ca915f7d64b020d99672d4 | 16,340 | cc | C++ | cpp/velox/compute/VeloxPlanConverter.cc | zzcclp/gazelle-jni | e3cafcd24013c8932362a847c75a97f133c99287 | [
"Apache-2.0"
] | null | null | null | cpp/velox/compute/VeloxPlanConverter.cc | zzcclp/gazelle-jni | e3cafcd24013c8932362a847c75a97f133c99287 | [
"Apache-2.0"
] | null | null | null | cpp/velox/compute/VeloxPlanConverter.cc | zzcclp/gazelle-jni | e3cafcd24013c8932362a847c75a97f133c99287 | [
"Apache-2.0"
] | null | null | null | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | 36.801802 | 90 | 0.696328 | zzcclp |
a787817836bd083fba51c3ae70d848f6acb7e666 | 44,491 | cpp | C++ | Lib/WASTPrint/Print.cpp | moneytech/WAVM | 9d3b1f11bcec749ee2f42bae5fc1eaec82996872 | [
"BSD-3-Clause"
] | null | null | null | Lib/WASTPrint/Print.cpp | moneytech/WAVM | 9d3b1f11bcec749ee2f42bae5fc1eaec82996872 | [
"BSD-3-Clause"
] | null | null | null | Lib/WASTPrint/Print.cpp | moneytech/WAVM | 9d3b1f11bcec749ee2f42bae5fc1eaec82996872 | [
"BSD-3-Clause"
] | null | null | null | #include <stdint.h>
#include <algorithm>
#include <memory>
#include <string>
#include <utility>
#include <vector>
#include "WAVM/IR/IR.h"
#include "WAVM/IR/Module.h"
#include "WAVM/IR/Operators.h"
#include "WAVM/IR/Types.h"
#include "WAVM/Inline/Assert.h"
#include "WAVM/Inline/BasicTypes.h"
#include "WAVM/Inline/Errors... | 27.789507 | 100 | 0.670473 | moneytech |
a789353e61ce8b663ac732a36117b06ce4fa1710 | 795 | cpp | C++ | src/call_trace.cpp | PRL-PRG/contractR | 62530527cd7b03a3fe13f3d0674e29ca488975ad | [
"Apache-2.0"
] | 2 | 2021-03-25T03:39:43.000Z | 2021-09-30T12:39:18.000Z | src/call_trace.cpp | PRL-PRG/contractr | 62530527cd7b03a3fe13f3d0674e29ca488975ad | [
"Apache-2.0"
] | 2 | 2020-04-14T21:33:51.000Z | 2020-04-23T19:22:47.000Z | src/call_trace.cpp | PRL-PRG/contractr | 62530527cd7b03a3fe13f3d0674e29ca488975ad | [
"Apache-2.0"
] | null | null | null | #include "call_trace.hpp"
std::string concatenate_call_trace(SEXP call_trace,
const std::string& indentation) {
int size = LENGTH(call_trace);
std::string result = "<" + std::to_string(size) + " frame(s)>";
for (int i = size - 1; i >= 0; --i) {
SEXP call = VECTO... | 29.444444 | 68 | 0.474214 | PRL-PRG |
a7899a4d67348f36205dd9c07420c0466a4856d7 | 6,053 | hpp | C++ | include/occa/kernel.hpp | v-dobrev/occa | 58e47f5ccf0d87f5b91e6851b2d74a9456c46b2c | [
"MIT"
] | null | null | null | include/occa/kernel.hpp | v-dobrev/occa | 58e47f5ccf0d87f5b91e6851b2d74a9456c46b2c | [
"MIT"
] | null | null | null | include/occa/kernel.hpp | v-dobrev/occa | 58e47f5ccf0d87f5b91e6851b2d74a9456c46b2c | [
"MIT"
] | null | null | null | /* The MIT License (MIT)
*
* Copyright (c) 2014-2018 David Medina and Tim Warburton
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation t... | 28.687204 | 88 | 0.641004 | v-dobrev |
a78b01b34fcecf8f3eb8f2d324914fabac8a5c1d | 58,251 | cpp | C++ | CCDFDataModel/CProj4ToCF.cpp | lukas-phaf/adaguc-server | aa5e267d6c5c15463035ff87d353707207374d1b | [
"Apache-2.0"
] | null | null | null | CCDFDataModel/CProj4ToCF.cpp | lukas-phaf/adaguc-server | aa5e267d6c5c15463035ff87d353707207374d1b | [
"Apache-2.0"
] | null | null | null | CCDFDataModel/CProj4ToCF.cpp | lukas-phaf/adaguc-server | aa5e267d6c5c15463035ff87d353707207374d1b | [
"Apache-2.0"
] | null | null | null | /******************************************************************************
*
* Project: Proj4ToCF
* Purpose: Functions to convert proj4 strings to CF projection descriptions and vice versa
* Author: Maarten Plieger, plieger "at" knmi.nl
* Date: 2013-06-01
*
******************************************... | 49.365254 | 200 | 0.683868 | lukas-phaf |
a78b450ec07cc7ce52de39a928ef60d518fc2db5 | 5,070 | cpp | C++ | tests/Core/JPetReader/JPetReaderTest.cpp | BlurredChoise/j-pet-framework | f6728e027fae2b6ac0bdf274141254689894aa08 | [
"Apache-2.0"
] | 10 | 2016-07-04T14:54:14.000Z | 2021-04-11T14:19:29.000Z | tests/Core/JPetReader/JPetReaderTest.cpp | BlurredChoise/j-pet-framework | f6728e027fae2b6ac0bdf274141254689894aa08 | [
"Apache-2.0"
] | 119 | 2016-06-17T20:22:07.000Z | 2022-02-21T08:50:22.000Z | tests/Core/JPetReader/JPetReaderTest.cpp | BlurredChoise/j-pet-framework | f6728e027fae2b6ac0bdf274141254689894aa08 | [
"Apache-2.0"
] | 30 | 2016-06-17T17:56:35.000Z | 2020-12-30T22:20:19.000Z | /**
* @copyright Copyright 2018 The J-PET Framework Authors. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may find a copy of the License in the LICENCE file.
*
* Unless required by applicable la... | 38.120301 | 103 | 0.772781 | BlurredChoise |
a78ca61dac9e8f82d618ae48dad53e42dba146c1 | 1,568 | cpp | C++ | benchmark/rrr_vector/src/generate_rnd_bitvector.cpp | qPCR4vir/sdsl-lite | 3ae7ac30c3837553cf20243cc3df8ee658b9f00f | [
"BSD-3-Clause"
] | 20 | 2017-12-26T16:04:18.000Z | 2022-02-09T03:30:13.000Z | benchmark/rrr_vector/src/generate_rnd_bitvector.cpp | Irallia/sdsl-lite | 9a0d5676fd09fb8b52af214eca2d5809c9a32dbe | [
"BSD-3-Clause"
] | 6 | 2018-11-12T15:14:24.000Z | 2021-04-29T14:07:13.000Z | benchmark/rrr_vector/src/generate_rnd_bitvector.cpp | Irallia/sdsl-lite | 9a0d5676fd09fb8b52af214eca2d5809c9a32dbe | [
"BSD-3-Clause"
] | 4 | 2018-11-12T14:36:34.000Z | 2021-01-26T22:16:32.000Z | #include <iostream>
#include <fstream>
#include <sdsl/int_vector.hpp>
#include <sdsl/util.hpp>
#include <string>
using namespace std;
using namespace sdsl;
int main(int argc, char* argv[])
{
if (argc < 4) {
cout << "Usage: " << argv[0] << " length density file" << endl;
cout << " generates a bit_v... | 32.666667 | 86 | 0.540816 | qPCR4vir |
a78e212b6fb040f2cb26c273eb05fe0de165d1cb | 3,409 | cpp | C++ | IfcPlusPlus/src/ifcpp/IFC4/lib/IfcFireSuppressionTerminalTypeEnum.cpp | AlexVlk/ifcplusplus | 2f8cd5457312282b8d90b261dbf8fb66e1c84057 | [
"MIT"
] | 426 | 2015-04-12T10:00:46.000Z | 2022-03-29T11:03:02.000Z | IfcPlusPlus/src/ifcpp/IFC4/lib/IfcFireSuppressionTerminalTypeEnum.cpp | AlexVlk/ifcplusplus | 2f8cd5457312282b8d90b261dbf8fb66e1c84057 | [
"MIT"
] | 124 | 2015-05-15T05:51:00.000Z | 2022-02-09T15:25:12.000Z | IfcPlusPlus/src/ifcpp/IFC4/lib/IfcFireSuppressionTerminalTypeEnum.cpp | AlexVlk/ifcplusplus | 2f8cd5457312282b8d90b261dbf8fb66e1c84057 | [
"MIT"
] | 214 | 2015-05-06T07:30:37.000Z | 2022-03-26T16:14:04.000Z | /* Code generated by IfcQuery EXPRESS generator, www.ifcquery.com */
#include <sstream>
#include <limits>
#include <map>
#include "ifcpp/reader/ReaderUtil.h"
#include "ifcpp/writer/WriterUtil.h"
#include "ifcpp/model/BasicTypes.h"
#include "ifcpp/model/BuildingException.h"
#include "ifcpp/IFC4/include/IfcFire... | 41.072289 | 185 | 0.748313 | AlexVlk |
a78f0b6453de2bb9b8a28ddaf432d5ad50064c51 | 1,460 | cpp | C++ | src/ray.cpp | core-exe/NonEuclideanRayTracing | 4316fa118af6b29c86c99bd4d863dfba1f089c7c | [
"MIT"
] | 1 | 2021-12-02T06:25:54.000Z | 2021-12-02T06:25:54.000Z | src/ray.cpp | core-exe/NonEuclideanRayTracing | 4316fa118af6b29c86c99bd4d863dfba1f089c7c | [
"MIT"
] | null | null | null | src/ray.cpp | core-exe/NonEuclideanRayTracing | 4316fa118af6b29c86c99bd4d863dfba1f089c7c | [
"MIT"
] | null | null | null | # include <vecmath.h>
# include "ray.hpp"
# include "geometry.hpp"
# include "trajectory.hpp"
# include "utils.hpp"
Ray4::Ray4(Vector4f _r, Vector4f _dr, Geometry4* _geometry, float _importance){
r = _r;
dr = -_dr/_dr[0];
geometry = _geometry;
attached_vectors = vector<VectorOnTrajectory4>();
updat... | 23.934426 | 87 | 0.619863 | core-exe |
04288a543e2204bf551a2f4ef6c2efb1b7ea1f8d | 2,528 | hpp | C++ | src/libmarsvk/include/mvk/Fence.hpp | zmichaels11/mvk | 67ee3dcca1db39c7ad076864b8d5ba006e5d5cda | [
"BSD-3-Clause"
] | null | null | null | src/libmarsvk/include/mvk/Fence.hpp | zmichaels11/mvk | 67ee3dcca1db39c7ad076864b8d5ba006e5d5cda | [
"BSD-3-Clause"
] | null | null | null | src/libmarsvk/include/mvk/Fence.hpp | zmichaels11/mvk | 67ee3dcca1db39c7ad076864b8d5ba006e5d5cda | [
"BSD-3-Clause"
] | null | null | null | #pragma once
#include "volk.h"
#include <memory>
#include <utility>
namespace mvk {
class Device;
class FencePool;
//! A Fence object represents a Device-to-Host queryable synchronization object.
class Fence {
VkFence _handle;
FencePool * _pool;
Fence(const Fence&) = delete;... | 25.28 | 84 | 0.535206 | zmichaels11 |
042a30292858005f8de2be7442c1ced830ff7981 | 20,000 | cpp | C++ | src/core/luaengine.cpp | jjzhang166/MirageRender | a51c3dff7db6eacaf111b868ad498caa8fe5a3d2 | [
"MIT"
] | 166 | 2015-11-28T21:24:03.000Z | 2022-03-17T12:29:47.000Z | src/core/luaengine.cpp | jjzhang166/MirageRender | a51c3dff7db6eacaf111b868ad498caa8fe5a3d2 | [
"MIT"
] | 5 | 2016-09-27T06:18:32.000Z | 2017-05-26T09:31:29.000Z | src/core/luaengine.cpp | jjzhang166/MirageRender | a51c3dff7db6eacaf111b868ad498caa8fe5a3d2 | [
"MIT"
] | 16 | 2016-01-24T07:57:27.000Z | 2021-08-04T03:31:40.000Z | // std includes
#include <iostream>
#include <cstring>
// lib includes
#include <SDL2/SDL.h>
// mirage includes
#include "luaengine.h"
#include "../macros.h"
#include "../shapes/mesh.h"
#include "../shapes/sphere.h"
#include "accelerator.h"
#include "../accelerators/bvh.h"
namespace mirage
{
namespace lua
{
lu... | 30.674847 | 144 | 0.703 | jjzhang166 |
042b23640daf0040ef1b5db6bfc27516d6874579 | 43,518 | cpp | C++ | tutorials/install/turtlesim/include/turtlesim/action/detail/rotate_absolute__type_support.cpp | cclehui/study_ros | ecf7c258b561c4e6d6359471519e318c2ef888ae | [
"MIT"
] | 3 | 2021-08-20T03:25:37.000Z | 2022-03-31T02:47:28.000Z | tutorials/install/turtlesim/include/turtlesim/action/detail/rotate_absolute__type_support.cpp | cclehui/study_ros | ecf7c258b561c4e6d6359471519e318c2ef888ae | [
"MIT"
] | null | null | null | tutorials/install/turtlesim/include/turtlesim/action/detail/rotate_absolute__type_support.cpp | cclehui/study_ros | ecf7c258b561c4e6d6359471519e318c2ef888ae | [
"MIT"
] | null | null | null | // generated from rosidl_typesupport_introspection_cpp/resource/idl__type_support.cpp.em
// with input from turtlesim:action/RotateAbsolute.idl
// generated code does not contain a copyright notice
#include "array"
#include "cstddef"
#include "string"
#include "vector"
#include "rosidl_runtime_c/message_type_support_s... | 36.054681 | 149 | 0.802748 | cclehui |
042cd82b4f655b61e642d7bba4458d8a197c6e94 | 5,822 | cpp | C++ | qrtest/unitTests/pluginsTests/robotsTests/interpretersTests/interpreterCoreTests/interpreterTests/interpreterTest.cpp | ladaegorova18/trik-studio | f8d9ce50301fd93c948ac774e85c0e6bfff820bc | [
"Apache-2.0"
] | 17 | 2019-06-04T06:22:47.000Z | 2022-02-11T18:27:25.000Z | qrtest/unitTests/pluginsTests/robotsTests/interpretersTests/interpreterCoreTests/interpreterTests/interpreterTest.cpp | ladaegorova18/trik-studio | f8d9ce50301fd93c948ac774e85c0e6bfff820bc | [
"Apache-2.0"
] | 1,248 | 2019-02-21T19:32:09.000Z | 2022-03-29T16:50:04.000Z | qrtest/unitTests/pluginsTests/robotsTests/interpretersTests/interpreterCoreTests/interpreterTests/interpreterTest.cpp | khodand/trik-studio | 3d2de6809d38b621433c7ccb1cd98da8868d022d | [
"Apache-2.0"
] | 17 | 2019-02-12T07:58:23.000Z | 2022-03-10T11:39:21.000Z | /* Copyright 2007-2015 QReal Research Group
*
* 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... | 35.5 | 104 | 0.760735 | ladaegorova18 |
042d9e60ae7083916629f04ea5fb7dfbb8d6f4d8 | 5,228 | cpp | C++ | Data/PostgreSQL/src/SessionImpl.cpp | RangelReale/poco | b5d9177abebac49da74722b5f193958dbef1ce94 | [
"BSL-1.0"
] | null | null | null | Data/PostgreSQL/src/SessionImpl.cpp | RangelReale/poco | b5d9177abebac49da74722b5f193958dbef1ce94 | [
"BSL-1.0"
] | null | null | null | Data/PostgreSQL/src/SessionImpl.cpp | RangelReale/poco | b5d9177abebac49da74722b5f193958dbef1ce94 | [
"BSL-1.0"
] | 1 | 2021-07-16T12:16:40.000Z | 2021-07-16T12:16:40.000Z | //
// SessionImpl.cpp
//
// Library: Data/PostgreSQL
// Package: PostgreSQL
// Module: SessionImpl
//
// Copyright (c) 2015, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// SPDX-License-Identifier: BSL-1.0
//
#include "Poco/Data/PostgreSQL/SessionImpl.h"
#include "Poco/Data/PostgreSQL/Postg... | 21.692946 | 133 | 0.739671 | RangelReale |
042e6df85c5d399e918ec819bfad83e4f0dafa1f | 26,500 | hpp | C++ | vendor/krpc-cpp/include/krpc/services/remote_tech.hpp | TroyNeubauer/KRPC-Programming | 8cd1bd0bac38adf794c56273fd1767d75c7526f9 | [
"MIT"
] | null | null | null | vendor/krpc-cpp/include/krpc/services/remote_tech.hpp | TroyNeubauer/KRPC-Programming | 8cd1bd0bac38adf794c56273fd1767d75c7526f9 | [
"MIT"
] | null | null | null | vendor/krpc-cpp/include/krpc/services/remote_tech.hpp | TroyNeubauer/KRPC-Programming | 8cd1bd0bac38adf794c56273fd1767d75c7526f9 | [
"MIT"
] | null | null | null | #pragma once
#include <map>
#include <set>
#include <string>
#include <tuple>
#include <vector>
#include <krpc/decoder.hpp>
#include <krpc/encoder.hpp>
#include <krpc/error.hpp>
#include <krpc/event.hpp>
#include <krpc/object.hpp>
#include <krpc/service.hpp>
#include <krpc/stream.hpp>
namespace krpc {
namespace serv... | 34.960422 | 143 | 0.721849 | TroyNeubauer |
042eaa59ea78b862e60f0118fc9dfaa149558bf9 | 3,001 | cpp | C++ | src/renderer/public.cpp | Youka/SSBRenderer_rework | a42aa7f90819f8dddd2073d5c971f74b36c97380 | [
"Zlib"
] | 7 | 2015-06-21T14:35:16.000Z | 2021-08-30T12:00:52.000Z | src/renderer/public.cpp | Youka/SSBRenderer_rework | a42aa7f90819f8dddd2073d5c971f74b36c97380 | [
"Zlib"
] | 1 | 2017-02-28T14:09:43.000Z | 2017-03-02T06:55:19.000Z | src/renderer/public.cpp | Youka/SSBRenderer_rework | a42aa7f90819f8dddd2073d5c971f74b36c97380 | [
"Zlib"
] | 1 | 2015-12-09T18:22:09.000Z | 2015-12-09T18:22:09.000Z | /*
Project: SSBRenderer
File: public.cpp
Copyright (c) 2015, Christoph "Youka" Spanknebel
This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.
Permission is granted to anyone to use this software... | 36.597561 | 247 | 0.747084 | Youka |
042fc9292357eba2a8ff814bd00d37510666dbe9 | 2,020 | cpp | C++ | src/main/cpp/ccc/2012/a_coin_game.cpp | jo3-l/cp-practice | d1db0c8e9269c8720b31013068dff948b33f57fd | [
"MIT"
] | 5 | 2022-01-05T20:15:47.000Z | 2022-02-15T22:40:44.000Z | src/main/cpp/ccc/2012/a_coin_game.cpp | jo3-l/ccc-java | 7a77f365e52496967e5265ecefb34f3b7db5fae8 | [
"MIT"
] | 3 | 2022-01-06T01:34:42.000Z | 2022-01-20T23:46:53.000Z | src/main/cpp/ccc/2012/a_coin_game.cpp | jo3-l/ccc-java | 7a77f365e52496967e5265ecefb34f3b7db5fae8 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
using Lineup = vector<vector<int>>;
struct LineupHash {
size_t operator()(const Lineup &lineup) const {
size_t lhash = 0;
for (const vector<int> &s : lineup) {
size_t vhash = 0;
for (int v : s) {
size_t vh = hash<int>{}(v);
vhash = vhash * 3... | 21.263158 | 71 | 0.521782 | jo3-l |
04301da79e92df2fd99058d830b1cf65ce9b3bf5 | 5,534 | hpp | C++ | extras/vom/vom/gbp_rule.hpp | amithbraj/vpp | edf1da94dc099c6e2ab1d455ce8652fada3cdb04 | [
"Apache-2.0"
] | 52 | 2016-09-20T15:08:46.000Z | 2020-12-22T23:03:25.000Z | extras/vom/vom/gbp_rule.hpp | fantastic2085/vpp | c599c6f001bc28e1023fb5e74a27db37b1aae847 | [
"Apache-2.0"
] | 63 | 2018-06-11T09:48:35.000Z | 2021-01-05T09:11:03.000Z | extras/vom/vom/gbp_rule.hpp | fantastic2085/vpp | c599c6f001bc28e1023fb5e74a27db37b1aae847 | [
"Apache-2.0"
] | 36 | 2016-07-21T11:20:33.000Z | 2022-01-16T15:55:45.000Z | /*
* Copyright (c) 2018 Cisco and/or its affiliates.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicabl... | 19.55477 | 76 | 0.610589 | amithbraj |
043271b45127ce22ea719af970abaea3f7f69b66 | 2,924 | cpp | C++ | src/joint_state_publisher.cpp | gezp/universal_robot_ign | c441c793db2373ab576233971f153f34b79ac157 | [
"MIT"
] | 20 | 2021-02-26T22:58:23.000Z | 2022-03-18T21:29:51.000Z | src/joint_state_publisher.cpp | gezp/universal_robot_ign | c441c793db2373ab576233971f153f34b79ac157 | [
"MIT"
] | 1 | 2021-07-20T16:05:37.000Z | 2021-07-24T00:30:22.000Z | src/joint_state_publisher.cpp | gezp/universal_robot_ign | c441c793db2373ab576233971f153f34b79ac157 | [
"MIT"
] | 2 | 2021-01-20T16:20:44.000Z | 2022-02-28T08:05:42.000Z | /*******************************************************************************
* Copyright (c) Gezp (https://github.com/gezp), All rights reserved.
*
* This program is free software: you can redistribute it and/or modify it
* under the terms of the MIT License, See the MIT License for more details.
*
* You... | 41.183099 | 114 | 0.658003 | gezp |
04349642b6c7299e71dfa9390ac59a8bfdbcbd6d | 9,190 | cc | C++ | mojo/system/dispatcher_unittest.cc | Acidburn0zzz/chromium-1 | 4c08f442d2588a2c7cfaa117a55bd87d2ac32f9a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | mojo/system/dispatcher_unittest.cc | Acidburn0zzz/chromium-1 | 4c08f442d2588a2c7cfaa117a55bd87d2ac32f9a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | mojo/system/dispatcher_unittest.cc | Acidburn0zzz/chromium-1 | 4c08f442d2588a2c7cfaa117a55bd87d2ac32f9a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2013 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 "mojo/system/dispatcher.h"
#include "base/basictypes.h"
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_vector.h"
#include "ba... | 33.418182 | 79 | 0.653972 | Acidburn0zzz |
0434fe5ca57d2c01e55b04d1e00088d6498409f3 | 1,047 | cpp | C++ | D&D/Laberinto/Jugador.cpp | kiinTheDovah/DnD-Project | 2af354faa7b90795f2f35b8057fa2aeed3da0053 | [
"MIT"
] | 2 | 2019-03-19T16:13:51.000Z | 2019-03-19T16:13:53.000Z | D&D/Laberinto/Jugador.cpp | kiinTheDovah/DnD-Project | 2af354faa7b90795f2f35b8057fa2aeed3da0053 | [
"MIT"
] | 1 | 2018-10-12T17:03:25.000Z | 2018-10-12T17:11:23.000Z | D&D/Laberinto/Jugador.cpp | kiinTheDovah/DnD-Project | 2af354faa7b90795f2f35b8057fa2aeed3da0053 | [
"MIT"
] | null | null | null | /*
Archivo: Jugador.cpp
Autores:
Crhistian García Urbano 1832124
Nicolas Jaramillo Mayor 1840558
Email: nicolas.jaramillo@correounivalle.edu.co
garcia.crhistian@correounivalle.edu.co
Fecha creación: 2018/04/04
Última modificación: 2019/04/22
Versión... | 14.957143 | 55 | 0.667622 | kiinTheDovah |
0436276358613e7740a99981149dbc10ac2d8eb2 | 2,618 | hpp | C++ | contracts/mgp.vstaking/include/mgp.vstaking/staking.hpp | heying602657/MGP-Contracts-1 | 4e139b2cddda5dd285929ee7ad26306bb860146d | [
"MIT"
] | null | null | null | contracts/mgp.vstaking/include/mgp.vstaking/staking.hpp | heying602657/MGP-Contracts-1 | 4e139b2cddda5dd285929ee7ad26306bb860146d | [
"MIT"
] | null | null | null | contracts/mgp.vstaking/include/mgp.vstaking/staking.hpp | heying602657/MGP-Contracts-1 | 4e139b2cddda5dd285929ee7ad26306bb860146d | [
"MIT"
] | null | null | null | #pragma once
#include <eosio/eosio.hpp>
#include <eosio/asset.hpp>
#include <eosio/singleton.hpp>
#include <eosio/transaction.hpp>
#include <eosio/system.hpp>
#include <eosio/crypto.hpp>
#include <eosio/action.hpp>
#include <string>
#include <deque>
#include <optional>
#include <type_traits>
#include "wasm_db.hpp"
#... | 29.41573 | 91 | 0.661192 | heying602657 |
04371bd395af13111e0e84216776a376a3b59dc5 | 8,777 | cpp | C++ | rococo-dst/rrr/rpc/client.cpp | SJTU-IPADS/dst | 897b929a692642cbf295c105d9d6e64090abb673 | [
"Apache-2.0"
] | 9 | 2020-12-17T01:59:13.000Z | 2022-03-30T16:25:08.000Z | rococo-dst/rrr/rpc/client.cpp | SJTU-IPADS/dst | 897b929a692642cbf295c105d9d6e64090abb673 | [
"Apache-2.0"
] | 1 | 2021-07-30T12:06:33.000Z | 2021-07-31T10:16:09.000Z | rococo-dst/rrr/rpc/client.cpp | SJTU-IPADS/dst | 897b929a692642cbf295c105d9d6e64090abb673 | [
"Apache-2.0"
] | 1 | 2021-08-01T13:47:07.000Z | 2021-08-01T13:47:07.000Z | #include <string>
#include <errno.h>
#include <string.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netdb.h>
#include <netinet/tcp.h>
#include "client.hpp"
using namespace std;
namespace rrr {
void Future::wait() {
Pthread_mutex_lock(&ready_m_);
while (!ready_ && !timed_out_) {
Pthrea... | 26.278443 | 114 | 0.558505 | SJTU-IPADS |
043b9f5cd056d1f52e1b7d99b1b483c546797c18 | 17,102 | cpp | C++ | src/notifybypopup.cpp | pasnox/knotifications | ef2871b2a485be5abe393e61c6cd93867420f896 | [
"BSD-3-Clause"
] | null | null | null | src/notifybypopup.cpp | pasnox/knotifications | ef2871b2a485be5abe393e61c6cd93867420f896 | [
"BSD-3-Clause"
] | null | null | null | src/notifybypopup.cpp | pasnox/knotifications | ef2871b2a485be5abe393e61c6cd93867420f896 | [
"BSD-3-Clause"
] | null | null | null | /*
Copyright (C) 2005-2009 by Olivier Goffart <ogoffart at kde.org>
Copyright (C) 2008 by Dmitry Suzdalev <dimsuz@gmail.com>
Copyright (C) 2014 by Martin Klapetek <mklapetek@kde.org>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
... | 36.937365 | 209 | 0.642556 | pasnox |
043e5bfbeaa1250c8a13035aae5bfb83553b78da | 1,110 | cpp | C++ | acmicpc/1219.cpp | juseongkr/BOJ | 8f10a2bf9a7d695455493fbe7423347a8b648416 | [
"Apache-2.0"
] | 7 | 2020-02-03T10:00:19.000Z | 2021-11-16T11:03:57.000Z | acmicpc/1219.cpp | juseongkr/Algorithm-training | 8f10a2bf9a7d695455493fbe7423347a8b648416 | [
"Apache-2.0"
] | 1 | 2021-01-03T06:58:24.000Z | 2021-01-03T06:58:24.000Z | acmicpc/1219.cpp | juseongkr/Algorithm-training | 8f10a2bf9a7d695455493fbe7423347a8b648416 | [
"Apache-2.0"
] | 1 | 2020-01-22T14:34:03.000Z | 2020-01-22T14:34:03.000Z | #include <iostream>
#include <vector>
using namespace std;
#define MAX 101
const int INF = 1e9+7;
vector<pair<int, int>> graph[MAX];
long long cost[MAX], dist[MAX];
bool mat[MAX][MAX];
int main()
{
int n, m, s, e, x, y, z;
cin >> n >> s >> e >> m;
for (int i=0; i<m; ++i) {
cin >> x >> y >> z;
graph[x].push_ba... | 18.5 | 61 | 0.490991 | juseongkr |
04404483294a6334287c677e9431d63524495934 | 1,313 | hpp | C++ | Samples/CBuilder/VCL/Inherited/Unit2.hpp | atkins126/I18N | 4176f8991b4c572ac36d8b2667dc345c185ff26f | [
"MIT"
] | 43 | 2019-11-04T09:35:05.000Z | 2022-02-28T00:01:46.000Z | Samples/CBuilder/VCL/Inherited/Unit2.hpp | atkins126/I18N | 4176f8991b4c572ac36d8b2667dc345c185ff26f | [
"MIT"
] | 47 | 2020-01-16T18:13:31.000Z | 2022-02-15T15:06:25.000Z | Samples/CBuilder/VCL/Inherited/Unit2.hpp | atkins126/I18N | 4176f8991b4c572ac36d8b2667dc345c185ff26f | [
"MIT"
] | 20 | 2019-10-09T03:44:00.000Z | 2022-02-28T00:01:48.000Z | // CodeGear C++Builder
// Copyright (c) 1995, 2021 by Embarcadero Technologies, Inc.
// All rights reserved
// (DO NOT EDIT: machine generated header) 'Unit2.pas' rev: 34.00 (Windows)
#ifndef Unit2HPP
#define Unit2HPP
#pragma delphiheader begin
#pragma option push
#pragma option -w- // All warnings off
#pragma... | 33.666667 | 90 | 0.591775 | atkins126 |
0440b6c297a2c64bb8e3c6ad461b08d47e90c595 | 5,528 | cc | C++ | src/AndroidPreview.cc | carun/RealSenseID | 63d8cee261a8b07a6aa8af49af4ffe461524c424 | [
"Apache-2.0"
] | null | null | null | src/AndroidPreview.cc | carun/RealSenseID | 63d8cee261a8b07a6aa8af49af4ffe461524c424 | [
"Apache-2.0"
] | null | null | null | src/AndroidPreview.cc | carun/RealSenseID | 63d8cee261a8b07a6aa8af49af4ffe461524c424 | [
"Apache-2.0"
] | null | null | null | // License: Apache 2.0. See LICENSE file in root directory.
// Copyright(c) 2020-2021 Intel Corporation. All Rights Reserved.
#include "AndroidPreview.h"
#include "Logger.h"
#include <stdexcept>
#include <android/api-level.h>
#include <unistd.h>
#include <chrono>
#include <thread>
#include <libusb.h>
#include <libuvc.... | 27.502488 | 108 | 0.549204 | carun |
0441017029dbf6ecaaca24280315a83e10ae25d4 | 5,717 | cpp | C++ | gEarth.Pack/oepStyleSheet.cpp | songgod/gEarth | e4ea0fa15a40f08481c7ea7e42e6f4ace8659984 | [
"MIT"
] | 5 | 2021-06-16T06:24:29.000Z | 2022-03-10T03:41:44.000Z | gEarth.Pack/oepStyleSheet.cpp | songgod/gEarth | e4ea0fa15a40f08481c7ea7e42e6f4ace8659984 | [
"MIT"
] | 1 | 2020-10-14T14:20:58.000Z | 2020-10-14T14:20:58.000Z | gEarth.Pack/oepStyleSheet.cpp | songgod/gEarth | e4ea0fa15a40f08481c7ea7e42e6f4ace8659984 | [
"MIT"
] | 2 | 2021-06-16T06:24:32.000Z | 2021-08-02T09:05:42.000Z | #include "stdafx.h"
#include "oepStyleSheet.h"
using namespace gEarthPack;
using namespace osgEarth::Symbology;
oepStyleSheet::oepStyleSheet()
{
bind(new StyleSheet());
}
oepStyleSheet::oepScriptDef::oepScriptDef()
{
bind(new StyleSheet::ScriptDef());
}
String^ oepStyleSheet::oepScriptDef::Name::get()
{
return ... | 25.185022 | 171 | 0.710687 | songgod |
0442b8701484addd1eebe0881a00d8117ee21d37 | 2,563 | hpp | C++ | include/merge.hpp | vreverdy/bit-algorithms | bc12928d46846eb32b3d9e0a006549a947c4803f | [
"BSD-3-Clause"
] | 16 | 2019-06-17T23:56:15.000Z | 2021-07-04T23:35:31.000Z | include/merge.hpp | bkille/bit-algorithms | bc12928d46846eb32b3d9e0a006549a947c4803f | [
"BSD-3-Clause"
] | 3 | 2019-04-28T04:53:31.000Z | 2019-06-01T15:15:11.000Z | include/merge.hpp | bkille/bit-algorithms | bc12928d46846eb32b3d9e0a006549a947c4803f | [
"BSD-3-Clause"
] | 6 | 2019-03-13T19:21:36.000Z | 2020-01-01T12:31:34.000Z | // ================================= MERGE ================================= //
// Project: The Experimental Bit Algorithms Library
// Name: merge.hpp
// Description: bit_iterator overloads for std::merge
// Creator: Vincent Reverdy
// Contributor(s):
// License: BSD 3-Clause License
// ===============================... | 37.691176 | 80 | 0.591104 | vreverdy |
04458537bd4dd0b059e413b4a208cd826ca86b9b | 5,346 | cpp | C++ | recovery/otafault/ota_io.cpp | Keneral/a_bootable | 3fc0db03283108b8f03da39ceb5e11189ef69bbf | [
"Unlicense"
] | 1 | 2017-11-11T19:20:52.000Z | 2017-11-11T19:20:52.000Z | recovery/otafault/ota_io.cpp | Keneral/a_bootable | 3fc0db03283108b8f03da39ceb5e11189ef69bbf | [
"Unlicense"
] | null | null | null | recovery/otafault/ota_io.cpp | Keneral/a_bootable | 3fc0db03283108b8f03da39ceb5e11189ef69bbf | [
"Unlicense"
] | null | null | null | /*
* Copyright (C) 2015 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... | 30.20339 | 77 | 0.626076 | Keneral |
0445c68f4455de904d418ef1781de9586221e1c5 | 3,875 | cpp | C++ | src/libretro/perf.cpp | konsumer/sdlretro | df75c1958fe0e458fa91d4d2e727df93fe1791de | [
"MIT"
] | 14 | 2020-01-11T13:25:10.000Z | 2022-03-18T23:13:56.000Z | src/libretro/perf.cpp | konsumer/sdlretro | df75c1958fe0e458fa91d4d2e727df93fe1791de | [
"MIT"
] | 3 | 2020-03-27T01:00:40.000Z | 2022-03-21T23:33:14.000Z | src/libretro/perf.cpp | konsumer/sdlretro | df75c1958fe0e458fa91d4d2e727df93fe1791de | [
"MIT"
] | 9 | 2020-01-11T13:25:11.000Z | 2022-03-21T23:28:24.000Z | #include "perf.h"
#include "util.h"
#include "libretro.h"
#include <cpuinfo.hpp>
#include <spdlog/spdlog.h>
namespace {
/* Returns current time in microseconds.
* Tries to use the most accurate timer available.
*/
extern "C" retro_time_t retro_perf_get_time_usec() {
return util::get_ticks_usec();
}
/* A simpl... | 32.838983 | 141 | 0.690839 | konsumer |
04470163ff47debf6f7f98a552879cb8aa91ef21 | 4,268 | hpp | C++ | include/matazure/config.hpp | Lexxos/mtensor | feb120923dad3fb4ae3b31dd09931622a63c3d06 | [
"MIT"
] | 1 | 2021-12-14T10:09:27.000Z | 2021-12-14T10:09:27.000Z | include/matazure/config.hpp | Lexxos/mtensor | feb120923dad3fb4ae3b31dd09931622a63c3d06 | [
"MIT"
] | null | null | null | include/matazure/config.hpp | Lexxos/mtensor | feb120923dad3fb4ae3b31dd09931622a63c3d06 | [
"MIT"
] | null | null | null | #pragma once
#include <algorithm>
#include <cassert>
#include <cmath>
#include <cstdlib>
#include <cstring>
#include <functional>
#include <limits>
#include <memory>
#include <stdexcept>
#include <string>
#include <tuple>
#include <type_traits>
// for cuda
#if defined(__CUDACC__) && !defined(MATAZURE_DISABLE_CUDA)
#... | 23.977528 | 96 | 0.727273 | Lexxos |
044afa0eba7549693cae7c488ffa5640351ecc35 | 16,200 | cpp | C++ | Gems/LmbrCentral/Code/Tests/BundlingSystemComponentTests.cpp | Schneidex69/o3de | d9ec159f0e07ff86957e15212232413c4ff4d1dc | [
"Apache-2.0",
"MIT"
] | 1 | 2021-07-19T23:54:05.000Z | 2021-07-19T23:54:05.000Z | Gems/LmbrCentral/Code/Tests/BundlingSystemComponentTests.cpp | Schneidex69/o3de | d9ec159f0e07ff86957e15212232413c4ff4d1dc | [
"Apache-2.0",
"MIT"
] | null | null | null | Gems/LmbrCentral/Code/Tests/BundlingSystemComponentTests.cpp | Schneidex69/o3de | d9ec159f0e07ff86957e15212232413c4ff4d1dc | [
"Apache-2.0",
"MIT"
] | null | null | null | /*
* Copyright (c) Contributors to the Open 3D Engine Project.
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#include "LmbrCentral_precompiled.h"
#include <AzTest/AzTest.h>
#include <AzCore/Component/Compon... | 56.055363 | 194 | 0.734877 | Schneidex69 |
044def072252e1c3ece99e19e44d776108764a0c | 706 | cpp | C++ | src/Actions/Lexicon/LexiconClearAction.cpp | viveret/script-ai | 15f8dc561e55812de034bb729e83ff01bec61743 | [
"BSD-3-Clause"
] | null | null | null | src/Actions/Lexicon/LexiconClearAction.cpp | viveret/script-ai | 15f8dc561e55812de034bb729e83ff01bec61743 | [
"BSD-3-Clause"
] | null | null | null | src/Actions/Lexicon/LexiconClearAction.cpp | viveret/script-ai | 15f8dc561e55812de034bb729e83ff01bec61743 | [
"BSD-3-Clause"
] | null | null | null | #include "../Actions.hpp"
#include "../../Program.hpp"
#include "../../AIModelAdapter.hpp"
#include "../../Data/DAOs.hpp"
#include "../../Data/Commands/Model/LexiconModel.hpp"
#include "../../Data/Commands/Lexicon/LexiconClearCmd.hpp"
#include <iostream>
using namespace ScriptAI;
using namespace Sql;
LexiconClearAct... | 23.533333 | 75 | 0.715297 | viveret |
0450630acf45c86c31963c547ee0cfcca176cf7b | 22,642 | cpp | C++ | src/add-ons/mail_daemon/inbound_protocols/pop3/POP3.cpp | Kirishikesan/haiku | 835565c55830f2dab01e6e332cc7e2d9c015b51e | [
"MIT"
] | 1,338 | 2015-01-03T20:06:56.000Z | 2022-03-26T13:49:54.000Z | src/add-ons/mail_daemon/inbound_protocols/pop3/POP3.cpp | Kirishikesan/haiku | 835565c55830f2dab01e6e332cc7e2d9c015b51e | [
"MIT"
] | 15 | 2015-01-17T22:19:32.000Z | 2021-12-20T12:35:00.000Z | src/add-ons/mail_daemon/inbound_protocols/pop3/POP3.cpp | Kirishikesan/haiku | 835565c55830f2dab01e6e332cc7e2d9c015b51e | [
"MIT"
] | 350 | 2015-01-08T14:15:27.000Z | 2022-03-21T18:14:35.000Z | /*
* Copyright 2007-2016, Haiku, Inc. All rights reserved.
* Copyright 2001-2002 Dr. Zoidberg Enterprises. All rights reserved.
* Copyright 2011, Clemens Zeidler <haiku@clemens-zeidler.de>
*
* Distributed under the terms of the MIT License.
*/
//! POP3Protocol - implementation of the POP3 protocol
#include "P... | 23.909187 | 78 | 0.682758 | Kirishikesan |
0453831f45228f3c8945ca83fcfa519d78cf0473 | 515 | cpp | C++ | windows/image.cpp | LeeDark/libui | 244c837fc510fdbaa4427be6d6a4b48e58aa000f | [
"MIT"
] | null | null | null | windows/image.cpp | LeeDark/libui | 244c837fc510fdbaa4427be6d6a4b48e58aa000f | [
"MIT"
] | null | null | null | windows/image.cpp | LeeDark/libui | 244c837fc510fdbaa4427be6d6a4b48e58aa000f | [
"MIT"
] | null | null | null | #include "uipriv_windows.hpp"
struct uiImage {
double width;
double height;
//GPtrArray *images;
};
uiImage *uiNewImage(double width, double height)
{
uiImage *i;
i = uiNew(uiImage);
i->width = width;
i->height = height;
// i->images = g_ptr_array_new_with_free_func(freeImageRep);
return i;
}
void uiFreeIm... | 15.606061 | 94 | 0.697087 | LeeDark |
04552e615c6777b472a2815807513997771de805 | 20,133 | cpp | C++ | apps/Viewer/src/SceneTreeBrowser.cpp | asuessenbach/pipeline | 2e49968cc3b9948a57f7ee6c4cc3258925c92ab2 | [
"BSD-3-Clause"
] | 217 | 2015-01-06T09:26:53.000Z | 2022-03-23T14:03:18.000Z | apps/Viewer/src/SceneTreeBrowser.cpp | asuessenbach/pipeline | 2e49968cc3b9948a57f7ee6c4cc3258925c92ab2 | [
"BSD-3-Clause"
] | 10 | 2015-01-25T12:42:05.000Z | 2017-11-28T16:10:16.000Z | apps/Viewer/src/SceneTreeBrowser.cpp | asuessenbach/pipeline | 2e49968cc3b9948a57f7ee6c4cc3258925c92ab2 | [
"BSD-3-Clause"
] | 44 | 2015-01-13T01:19:41.000Z | 2022-02-21T21:35:08.000Z | // Copyright (c) 2013-2016, NVIDIA CORPORATION. All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
// * Redistributions of source code must retain the above copyright
// notice, this list of con... | 41.856549 | 227 | 0.682412 | asuessenbach |
045607fc47889be312d241927a0807eee95bde30 | 5,054 | cpp | C++ | 508 - A4-spbspu-labs-2020-904-3/spbspu-labs-2020-904-3-master-yakovlev.alexey/3/A1/main.cpp | NekoSilverFox/CPP | c6797264fceda4a65ac3452acca496e468d1365a | [
"Apache-2.0"
] | 5 | 2020-02-08T20:57:21.000Z | 2021-12-23T06:24:41.000Z | 508 - A4-spbspu-labs-2020-904-3/spbspu-labs-2020-904-3-master-yakovlev.alexey/3/A1/main.cpp | NekoSilverFox/CPP | c6797264fceda4a65ac3452acca496e468d1365a | [
"Apache-2.0"
] | 2 | 2020-03-02T14:44:55.000Z | 2020-11-11T16:25:33.000Z | 508 - A4-spbspu-labs-2020-904-3/spbspu-labs-2020-904-3-master-yakovlev.alexey/3/A1/main.cpp | NekoSilverFox/CPP | c6797264fceda4a65ac3452acca496e468d1365a | [
"Apache-2.0"
] | 4 | 2020-09-27T17:30:03.000Z | 2022-02-16T09:48:23.000Z | #include <iostream>
#include <stdexcept>
#include "base-types.hpp"
#include "shape.hpp"
#include "rectangle.hpp"
#include "circle.hpp"
#include "triangle.hpp"
rectangle_t getBoundingBox(const Shape &sh);
void moveShapeTo(Shape &sh);
void moveShapeBy(Shape &sh);
int main(int, char *[])
{
try {
//============... | 34.148649 | 105 | 0.519391 | NekoSilverFox |
0459f3d1ca9dac139738cfc57cb3bf38a7a2b66a | 316 | cpp | C++ | Language_features/filesystem/ex1.cpp | kant/Always-be-learning | 7c3b3b4f5e8f0dfcb4d8f4b7f7428d5c8ab164c5 | [
"Unlicense"
] | null | null | null | Language_features/filesystem/ex1.cpp | kant/Always-be-learning | 7c3b3b4f5e8f0dfcb4d8f4b7f7428d5c8ab164c5 | [
"Unlicense"
] | null | null | null | Language_features/filesystem/ex1.cpp | kant/Always-be-learning | 7c3b3b4f5e8f0dfcb4d8f4b7f7428d5c8ab164c5 | [
"Unlicense"
] | null | null | null | #include <iostream>
#include <boost/filesystem.hpp>
namespace fs = boost::filesystem;
int main( int argc, char* argv[] )
{
if( argc < 2 ){
std::cout << "Usage: " << argv[0] << " path" << std::endl;
return 1;
}
std::cout << "argv[1] size = " << fs::file_size(argv[1]);
return 0;
}
| 18.588235 | 66 | 0.53481 | kant |
045ac109aa7e0c0f2b07ba9ce07e0f6507988304 | 5,682 | cpp | C++ | build-robot_ui-unknown-Release/moc_win_ctrl.cpp | THUwelcomerobot/robot_touch_ui | b670a5553bebe9006cace9afe6ff63686a240467 | [
"MIT"
] | null | null | null | build-robot_ui-unknown-Release/moc_win_ctrl.cpp | THUwelcomerobot/robot_touch_ui | b670a5553bebe9006cace9afe6ff63686a240467 | [
"MIT"
] | null | null | null | build-robot_ui-unknown-Release/moc_win_ctrl.cpp | THUwelcomerobot/robot_touch_ui | b670a5553bebe9006cace9afe6ff63686a240467 | [
"MIT"
] | null | null | null | /****************************************************************************
** Meta object code from reading C++ file 'win_ctrl.h'
**
** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.6)
**
** WARNING! All changes made in this file will be lost!
************************************************************... | 29.59375 | 90 | 0.599437 | THUwelcomerobot |
045bf2d343d3e7f9512d4cee7ad1b0c0144623f4 | 3,086 | cxx | C++ | panda/src/express/weakReferenceList.cxx | kestred/panda3d | 16bfd3750f726a8831771b81649d18d087917fd5 | [
"PHP-3.01",
"PHP-3.0"
] | 3 | 2018-03-09T12:07:29.000Z | 2021-02-25T06:50:25.000Z | panda/src/express/weakReferenceList.cxx | Sinkay/panda3d | 16bfd3750f726a8831771b81649d18d087917fd5 | [
"PHP-3.01",
"PHP-3.0"
] | null | null | null | panda/src/express/weakReferenceList.cxx | Sinkay/panda3d | 16bfd3750f726a8831771b81649d18d087917fd5 | [
"PHP-3.01",
"PHP-3.0"
] | null | null | null | // Filename: weakReferenceList.cxx
// Created by: drose (27Sep04)
//
////////////////////////////////////////////////////////////////////
//
// PANDA 3D SOFTWARE
// Copyright (c) Carnegie Mellon University. All rights reserved.
//
// All use of this software is subject to the terms of the revised BSD
// license. You... | 36.305882 | 70 | 0.521063 | kestred |
045c6a3d29a48b144fbab8a8768ce0d00aa0f62d | 6,118 | cc | C++ | third_party/protobuf/src/google/protobuf/compiler/cpp/metadata_test.cc | kvzhao/TensorRT-5.1.5 | e47c3ca3247c8e63f0a236d547fc7b1327494e57 | [
"Apache-2.0"
] | 83 | 2019-12-03T08:42:15.000Z | 2022-03-30T13:22:37.000Z | third_party/protobuf/src/google/protobuf/compiler/cpp/metadata_test.cc | kvzhao/TensorRT-5.1.5 | e47c3ca3247c8e63f0a236d547fc7b1327494e57 | [
"Apache-2.0"
] | 8 | 2019-12-11T23:35:08.000Z | 2021-10-06T13:31:32.000Z | third_party/protobuf/src/google/protobuf/compiler/cpp/metadata_test.cc | kvzhao/TensorRT-5.1.5 | e47c3ca3247c8e63f0a236d547fc7b1327494e57 | [
"Apache-2.0"
] | 45 | 2020-05-29T03:22:48.000Z | 2022-03-21T16:19:01.000Z | // Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// ... | 37.533742 | 78 | 0.708565 | kvzhao |
045fa846048ae8ad97c4b6d6e16b9decd6fe8baa | 5,831 | cc | C++ | drivers/bluetooth/lib/l2cap/l2cap.cc | PowerOlive/garnet | 16b5b38b765195699f41ccb6684cc58dd3512793 | [
"BSD-3-Clause"
] | null | null | null | drivers/bluetooth/lib/l2cap/l2cap.cc | PowerOlive/garnet | 16b5b38b765195699f41ccb6684cc58dd3512793 | [
"BSD-3-Clause"
] | null | null | null | drivers/bluetooth/lib/l2cap/l2cap.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 "l2cap.h"
#include "garnet/drivers/bluetooth/lib/common/log.h"
#include "garnet/drivers/bluetooth/lib/common/task_domain.h"
#include "garnet/driv... | 33.901163 | 80 | 0.621506 | PowerOlive |
0465013a6e288944208b91815a24872c7b9cffe5 | 4,850 | cpp | C++ | src/modules/powerrename/lib/MRUListHandler.cpp | tameemzabalawi/PowerToys | 5c6f7b1aea90ecd9ebe5cb8c7ddf82f8113fcb45 | [
"MIT"
] | 4 | 2022-01-10T07:24:48.000Z | 2022-02-07T02:08:03.000Z | src/modules/powerrename/lib/MRUListHandler.cpp | Nakatai-0322/PowerToys | 1f64c1cf837ca958ad14dc3eb7887f36220a1ef9 | [
"MIT"
] | 9 | 2021-05-12T17:12:35.000Z | 2021-10-30T14:57:56.000Z | src/modules/powerrename/lib/MRUListHandler.cpp | Nakatai-0322/PowerToys | 1f64c1cf837ca958ad14dc3eb7887f36220a1ef9 | [
"MIT"
] | 3 | 2020-05-20T04:22:45.000Z | 2021-03-11T00:22:20.000Z | #include "pch.h"
#include "MRUListHandler.h"
#include "Helpers.h"
#include <dll/PowerRenameConstants.h>
#include <common/SettingsAPI/settings_helpers.h>
namespace
{
const wchar_t c_mruList[] = L"MRUList";
const wchar_t c_insertionIdx[] = L"InsertionIdx";
const wchar_t c_maxMRUSize[] = L"MaxMRUSize";
}
MR... | 26.648352 | 112 | 0.537938 | tameemzabalawi |
0465f5e1bfb7fda559842de369d5c90adcc76489 | 465 | hpp | C++ | libraries/include/legendre_root.hpp | JoyM1K1/o3-sigma-model-TRG | 2bbb5db3f5ea523e4dfb8a0b469e303abd9e563b | [
"MIT"
] | null | null | null | libraries/include/legendre_root.hpp | JoyM1K1/o3-sigma-model-TRG | 2bbb5db3f5ea523e4dfb8a0b469e303abd9e563b | [
"MIT"
] | null | null | null | libraries/include/legendre_root.hpp | JoyM1K1/o3-sigma-model-TRG | 2bbb5db3f5ea523e4dfb8a0b469e303abd9e563b | [
"MIT"
] | null | null | null | #ifndef O3_SIGMA_MODEL_LEGENDRE_ROOT_HPP
#define O3_SIGMA_MODEL_LEGENDRE_ROOT_HPP
#include <vector>
namespace math {
namespace solver {
/// Derivative of Legendre polynomial. : P'n(x)
double d_legendre(int n, double x);
/// Newton's method.
double newton(int n, double x);
... | 23.25 | 55 | 0.677419 | JoyM1K1 |
04699ccb01a5850d7def55472b0f155457dd5772 | 17,642 | cpp | C++ | clang/tools/libclang/CIndexHigh.cpp | medismailben/llvm-project | e334a839032fe500c3bba22bf976ab7af13ce1c1 | [
"Apache-2.0"
] | 3,102 | 2015-01-04T02:28:35.000Z | 2022-03-30T12:53:41.000Z | clang/tools/libclang/CIndexHigh.cpp | medismailben/llvm-project | e334a839032fe500c3bba22bf976ab7af13ce1c1 | [
"Apache-2.0"
] | 11,789 | 2015-01-05T04:50:15.000Z | 2022-03-31T23:39:19.000Z | clang/tools/libclang/CIndexHigh.cpp | medismailben/llvm-project | e334a839032fe500c3bba22bf976ab7af13ce1c1 | [
"Apache-2.0"
] | 1,868 | 2015-01-03T04:27:11.000Z | 2022-03-25T13:37:35.000Z | //===- CIndexHigh.cpp - Higher level API functions ------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | 32.975701 | 80 | 0.626573 | medismailben |
046adc2ae1e3e8d66a4713f2ec2fae89fd92e9fb | 1,322 | cpp | C++ | Leetcode/Count Square Submatrices with All Ones/Count Square Submatrices with All Ones.cpp | rahil-1407/Data-Structure-and-Algorithms | ea3eb9849aeb2716ef5812a0b5621a28120b1880 | [
"MIT"
] | 51 | 2021-01-14T04:05:55.000Z | 2022-01-25T11:25:37.000Z | Leetcode/Count Square Submatrices with All Ones/Count Square Submatrices with All Ones.cpp | rahil-1407/Data-Structure-and-Algorithms | ea3eb9849aeb2716ef5812a0b5621a28120b1880 | [
"MIT"
] | 638 | 2020-12-27T18:49:53.000Z | 2021-11-21T05:22:52.000Z | Leetcode/Count Square Submatrices with All Ones/Count Square Submatrices with All Ones.cpp | rahil-1407/Data-Structure-and-Algorithms | ea3eb9849aeb2716ef5812a0b5621a28120b1880 | [
"MIT"
] | 124 | 2021-01-30T06:40:20.000Z | 2021-11-21T15:14:40.000Z | // Time Complexity is O(m*n) which is of the size of 2d matrix given
#include<bits/stdc++.h>
class Solution {
public:
int countSquares(vector<vector<int>>& matrix) {
int count = 0;
int n = matrix.size();
int m = matrix[0].size();
// Here In first Loop I have Tackled the condition for... | 32.243902 | 122 | 0.460666 | rahil-1407 |
046b5865b822ca9554fd3a7637795f57b79f706b | 29,568 | cpp | C++ | src/openloco/windows/toolbar_top.cpp | panjacek/OpenLoco | 0d6dc5e68e27082c0c56ab8334249561dfd7a909 | [
"MIT"
] | null | null | null | src/openloco/windows/toolbar_top.cpp | panjacek/OpenLoco | 0d6dc5e68e27082c0c56ab8334249561dfd7a909 | [
"MIT"
] | null | null | null | src/openloco/windows/toolbar_top.cpp | panjacek/OpenLoco | 0d6dc5e68e27082c0c56ab8334249561dfd7a909 | [
"MIT"
] | null | null | null | #include "../audio/audio.h"
#include "../companymgr.h"
#include "../config.h"
#include "../game_commands.h"
#include "../graphics/colours.h"
#include "../graphics/gfx.h"
#include "../graphics/image_ids.h"
#include "../input.h"
#include "../interop/interop.hpp"
#include "../localisation/string_ids.h"
#include "../object... | 39.582329 | 488 | 0.61641 | panjacek |
046d3311aa767e9e53653ce04fa6a436d9ef6525 | 11,248 | hpp | C++ | src/composable_kernel/composable_kernel/include/tensor_operation/reduction_functions_blockwise.hpp | j4yan/MIOpen | dc38f79bee97e047d866d9c1e25289cba86fab56 | [
"MIT"
] | 745 | 2017-07-01T22:03:25.000Z | 2022-03-26T23:46:27.000Z | src/composable_kernel/composable_kernel/include/tensor_operation/reduction_functions_blockwise.hpp | j4yan/MIOpen | dc38f79bee97e047d866d9c1e25289cba86fab56 | [
"MIT"
] | 1,348 | 2017-07-02T12:37:48.000Z | 2022-03-31T23:45:51.000Z | src/composable_kernel/composable_kernel/include/tensor_operation/reduction_functions_blockwise.hpp | j4yan/MIOpen | dc38f79bee97e047d866d9c1e25289cba86fab56 | [
"MIT"
] | 158 | 2017-07-01T19:37:04.000Z | 2022-03-30T11:57:04.000Z | /*******************************************************************************
*
* MIT License
*
* Copyright (c) 2020 Advanced Micro Devices, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* ... | 41.352941 | 100 | 0.599129 | j4yan |
046de281526da2577729e1c9fd7338839f68a95f | 4,047 | cpp | C++ | caffe/src/caffe/layers/label_specific_add.cpp | gvvynplaine/training_toolbox_caffe | 789ff8ddf6031802e51e45f6ad80c549079dc9df | [
"Apache-2.0"
] | 3 | 2021-07-21T10:39:48.000Z | 2021-09-21T20:49:07.000Z | caffe/src/caffe/layers/label_specific_add.cpp | gvvynplaine/training_toolbox_caffe | 789ff8ddf6031802e51e45f6ad80c549079dc9df | [
"Apache-2.0"
] | null | null | null | caffe/src/caffe/layers/label_specific_add.cpp | gvvynplaine/training_toolbox_caffe | 789ff8ddf6031802e51e45f6ad80c549079dc9df | [
"Apache-2.0"
] | 2 | 2020-12-07T03:16:05.000Z | 2021-03-23T00:57:15.000Z | /*
All modification made by Intel Corporation: © 2016 Intel Corporation
All contributions by the University of California:
Copyright (c) 2014, 2015, The Regents of the University of California (Regents)
All rights reserved.
All other contributions:
Copyright (c) 2014, 2015, the respective contributors
All rights rese... | 34.589744 | 92 | 0.722758 | gvvynplaine |
046e6e1f3f3a63e9acecf404a6c5c6029f6426bb | 1,216 | cpp | C++ | D3D12Backend/APIWrappers/Resources/Textures/Views/RenderTargetView.cpp | bestdark/BoolkaEngine | 35ae68dedb42baacb19908c0aaa047fe7f71f6b2 | [
"MIT"
] | 27 | 2021-02-12T10:13:55.000Z | 2022-03-24T14:44:06.000Z | D3D12Backend/APIWrappers/Resources/Textures/Views/RenderTargetView.cpp | bestdark/BoolkaEngine | 35ae68dedb42baacb19908c0aaa047fe7f71f6b2 | [
"MIT"
] | null | null | null | D3D12Backend/APIWrappers/Resources/Textures/Views/RenderTargetView.cpp | bestdark/BoolkaEngine | 35ae68dedb42baacb19908c0aaa047fe7f71f6b2 | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "RenderTargetView.h"
#include "APIWrappers/Device.h"
#include "APIWrappers/Resources/Textures/Texture2D.h"
namespace Boolka
{
RenderTargetView::RenderTargetView()
: m_CPUDescriptorHandle{}
{
}
RenderTargetView::~RenderTargetView()
{
BLK_ASSERT(m_CPUD... | 25.333333 | 93 | 0.664474 | bestdark |
0471a43bf2848603274296371ead45f47ec2fd16 | 649 | hpp | C++ | src/tools/kdb/set.hpp | 0003088/libelektra-qt-gui-test | f127a7bd4daba1b70e1ea0ce13d8ff650beda5b6 | [
"BSD-3-Clause"
] | null | null | null | src/tools/kdb/set.hpp | 0003088/libelektra-qt-gui-test | f127a7bd4daba1b70e1ea0ce13d8ff650beda5b6 | [
"BSD-3-Clause"
] | null | null | null | src/tools/kdb/set.hpp | 0003088/libelektra-qt-gui-test | f127a7bd4daba1b70e1ea0ce13d8ff650beda5b6 | [
"BSD-3-Clause"
] | null | null | null | #ifndef SET_HPP
#define SET_HPP
#include <command.hpp>
#include <kdb.hpp>
class SetCommand : public Command
{
kdb::KDB kdb;
public:
SetCommand();
~SetCommand();
virtual std::string getShortOptions()
{
return "vN";
}
virtual std::string getSynopsis()
{
return "<name> [<value>]";
}
virtual std::string... | 15.452381 | 75 | 0.670262 | 0003088 |
0472de40aa94a774bde42e0bbb45a00d7f895dd5 | 308 | cpp | C++ | PCK2016/qual/q4.cpp | yuik46/competition_programming_code | 0c47db99ce7fb9bcf6e3b0dbfb8c84d9cfa165fd | [
"MIT"
] | null | null | null | PCK2016/qual/q4.cpp | yuik46/competition_programming_code | 0c47db99ce7fb9bcf6e3b0dbfb8c84d9cfa165fd | [
"MIT"
] | null | null | null | PCK2016/qual/q4.cpp | yuik46/competition_programming_code | 0c47db99ce7fb9bcf6e3b0dbfb8c84d9cfa165fd | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int gcd(int a, int b){
if(a % b == 0){
return b;
}
else{
return gcd(b, a % b);
}
}
int main(){
int w;
int h;
int c;
cin >> w >> h >> c;
int whgcd = gcd(w, h);
cout << (w / whgcd) * (h / whgcd) * c << endl;
}
| 14 | 50 | 0.431818 | yuik46 |
047314440f2a7480aeb1f55845f90d8f53fb8cdd | 13,432 | hh | C++ | include/tchecker/ts/builder.hh | karthik-314/PDTA_Reachability | 86c380ed8558a40ae75d5634d68273902d59399d | [
"MIT"
] | 4 | 2019-04-09T16:28:45.000Z | 2021-09-21T08:25:40.000Z | include/tchecker/ts/builder.hh | karthik-314/PDTA_Reachability | 86c380ed8558a40ae75d5634d68273902d59399d | [
"MIT"
] | 8 | 2019-04-05T12:53:12.000Z | 2019-06-22T05:49:31.000Z | include/tchecker/ts/builder.hh | karthik-314/PDTA_Reachability | 86c380ed8558a40ae75d5634d68273902d59399d | [
"MIT"
] | 3 | 2019-04-01T21:23:51.000Z | 2021-03-03T14:16:18.000Z | /*
* This file is a part of the TChecker project.
*
* See files AUTHORS and LICENSE for copyright details.
*
*/
#ifndef TCHECKER_TS_BUILDER_HH
#define TCHECKER_TS_BUILDER_HH
#include <tuple>
#include <type_traits>
#include "tchecker/basictypes.hh"
#include "tchecker/utils/iterator.hh"
/*!
\file builder.hh
\b... | 36.302703 | 130 | 0.604452 | karthik-314 |
047525dc811a76475cbdfd147f6523cbcefe17e9 | 14,465 | hpp | C++ | src/Switch.System/include/Switch/System/Diagnostics/Stopwatch.hpp | victor-timoshin/Switch | 8e8e687a8bdc4f79d482680da3968e9b3e464b8b | [
"MIT"
] | 4 | 2020-02-11T13:22:58.000Z | 2022-02-24T00:37:43.000Z | src/Switch.System/include/Switch/System/Diagnostics/Stopwatch.hpp | sgf/Switch | 8e8e687a8bdc4f79d482680da3968e9b3e464b8b | [
"MIT"
] | null | null | null | src/Switch.System/include/Switch/System/Diagnostics/Stopwatch.hpp | sgf/Switch | 8e8e687a8bdc4f79d482680da3968e9b3e464b8b | [
"MIT"
] | 2 | 2020-02-01T02:19:01.000Z | 2021-12-30T06:44:00.000Z | /// @file
/// @brief Contains Switch::System::Diagnostics::Stopwatch class.
#pragma once
#include <Switch/Types.hpp>
#include <Switch/System/TimeSpan.hpp>
#include "../../SystemExport.hpp"
/// @brief The Switch namespace contains all fundamental classes to access Hardware, Os, System, and more.
namespace Switch {
/... | 95.164474 | 526 | 0.742689 | victor-timoshin |
047550ae13bde11ae3025c41ea1b480d5f8d041a | 224 | cpp | C++ | src/main.cpp | Alpha-Incorporated/Chatter-Box | 96937353a75c2dcb8e89e99fb3d317211ff7e85c | [
"MIT"
] | 2 | 2020-02-21T04:24:21.000Z | 2020-02-21T04:26:11.000Z | src/main.cpp | Alien-Inc/Chatter-Box | 96937353a75c2dcb8e89e99fb3d317211ff7e85c | [
"MIT"
] | 2 | 2020-11-19T08:39:52.000Z | 2020-11-19T08:50:19.000Z | src/main.cpp | Alpha-Incorporated/Chatter-Box | 96937353a75c2dcb8e89e99fb3d317211ff7e85c | [
"MIT"
] | 1 | 2020-02-21T04:26:13.000Z | 2020-02-21T04:26:13.000Z | #include <QApplication>
#include "gui.h"
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
gui::welcome_dialog = new WelcomeDialog;
gui::welcome_dialog->show();
return a.exec();
}
| 17.230769 | 45 | 0.616071 | Alpha-Incorporated |
0476c180845ed58dc0a5a5faf59df7cea35fa20e | 1,780 | cpp | C++ | src/altimeter.cpp | sawar7577/3d-flight-simulator | 39735226fa4a8ed0c95e63be8c37ae49d156f1ba | [
"MIT"
] | null | null | null | src/altimeter.cpp | sawar7577/3d-flight-simulator | 39735226fa4a8ed0c95e63be8c37ae49d156f1ba | [
"MIT"
] | null | null | null | src/altimeter.cpp | sawar7577/3d-flight-simulator | 39735226fa4a8ed0c95e63be8c37ae49d156f1ba | [
"MIT"
] | null | null | null | #include "main.h"
#include "altimeter.h"
Altimeter::Altimeter(float x, float y, float z) {
this->position = glm::vec3(x, y, z);
this->rotate = glm::mat4(1.0f);
GLfloat vertex_buffer_data[10001];
int j = 0;
// Altimeter
GLfloat *crosshar = Cuboid::CuboidArray(0.5f,0.5f,0.5f,0.5f,40.0f);
for... | 36.326531 | 93 | 0.641011 | sawar7577 |
047a3c395f7a7208df76da3ab7005ae6c3102fe0 | 15,823 | cpp | C++ | QueryEngine/WindowFunctionIR.cpp | sijialouintel/omniscidb | 16c4e035a153cf0a88d04e1891c9f20b22c71963 | [
"Apache-2.0"
] | 2 | 2020-03-04T12:01:10.000Z | 2020-07-24T15:12:55.000Z | QueryEngine/WindowFunctionIR.cpp | sijialouintel/omniscidb | 16c4e035a153cf0a88d04e1891c9f20b22c71963 | [
"Apache-2.0"
] | 31 | 2021-06-22T07:52:23.000Z | 2022-02-08T00:00:09.000Z | QueryEngine/WindowFunctionIR.cpp | vishalbelsare/mapd-core | 16c4e035a153cf0a88d04e1891c9f20b22c71963 | [
"Apache-2.0"
] | 10 | 2021-05-31T08:44:38.000Z | 2022-01-27T08:24:50.000Z | /*
* Copyright 2018 OmniSci, 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 t... | 41.098701 | 90 | 0.681097 | sijialouintel |
047ab81c66b36ba813285eac60e2c745033afcd9 | 1,666 | hpp | C++ | EndGame/Sandbox/SandboxApp.hpp | siddharthgarg4/EndGame | ba608714b3eacb5dc05d0c852db573231c867d8b | [
"MIT"
] | null | null | null | EndGame/Sandbox/SandboxApp.hpp | siddharthgarg4/EndGame | ba608714b3eacb5dc05d0c852db573231c867d8b | [
"MIT"
] | null | null | null | EndGame/Sandbox/SandboxApp.hpp | siddharthgarg4/EndGame | ba608714b3eacb5dc05d0c852db573231c867d8b | [
"MIT"
] | null | null | null | //
// SandboxApp.hpp
// EndGame
//
// Created by Siddharth on 24/05/20.
// Copyright © 2020 Siddharth. All rights reserved.
//
#ifndef SandboxApp_hpp
#define SandboxApp_hpp
#include <glm/glm.hpp>
#include <EndGame/EndGame.h>
//need to include main only once thus user needs to include it
#include <EndGame/Src/Entry... | 32.038462 | 113 | 0.696279 | siddharthgarg4 |
047b8d6a50e3e1a26fe29ae0a8823ccbc3f0eacc | 9,813 | cpp | C++ | dm/DM.cpp | zhaodm/skia_sdl | 8724ae26584df523eb7bb814ffe7aec5f597d187 | [
"BSD-3-Clause"
] | null | null | null | dm/DM.cpp | zhaodm/skia_sdl | 8724ae26584df523eb7bb814ffe7aec5f597d187 | [
"BSD-3-Clause"
] | null | null | null | dm/DM.cpp | zhaodm/skia_sdl | 8724ae26584df523eb7bb814ffe7aec5f597d187 | [
"BSD-3-Clause"
] | null | null | null | // Main binary for DM.
// For a high-level overview, please see dm/README.
#include "CrashHandler.h"
#include "LazyDecodeBitmap.h"
#include "SkCommonFlags.h"
#include "SkForceLinking.h"
#include "SkGraphics.h"
#include "SkOSFile.h"
#include "SkPicture.h"
#include "SkString.h"
#include "SkTaskGroup.h"
#include "Test.h"... | 33.721649 | 99 | 0.610007 | zhaodm |
047bcb0793148ec658598270e5e37c64aa65e729 | 4,018 | hpp | C++ | src/graphlab/util/lock_free_pool.hpp | coreyp1/graphlab | 637be90021c5f83ab7833ca15c48e76039057969 | [
"ECL-2.0",
"Apache-2.0"
] | 333 | 2016-07-29T19:22:07.000Z | 2022-03-30T02:40:34.000Z | src/graphlab/util/lock_free_pool.hpp | HybridGraph/GraphLab-PowerGraph | ba333c1cd82325ab2bfc6dd7ebb871b3fff64a94 | [
"ECL-2.0",
"Apache-2.0"
] | 17 | 2016-09-15T00:31:59.000Z | 2022-02-08T07:51:07.000Z | src/graphlab/util/lock_free_pool.hpp | HybridGraph/GraphLab-PowerGraph | ba333c1cd82325ab2bfc6dd7ebb871b3fff64a94 | [
"ECL-2.0",
"Apache-2.0"
] | 163 | 2016-07-29T19:22:11.000Z | 2022-03-07T07:15:24.000Z | /*
* Copyright (c) 2009 Carnegie Mellon University.
* All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.... | 33.483333 | 86 | 0.628422 | coreyp1 |
047e095a8f6388a2628b8a6fc972562c7d42fbed | 33,072 | cpp | C++ | libgeonlp/lib/GeonlpMAImplSq3.cpp | geonlp-platform/pygeonlp | f91a38ac416b7dbd5ef689742d0ffac48e6d350e | [
"BSD-2-Clause"
] | 7 | 2021-07-21T08:22:00.000Z | 2022-02-18T09:18:31.000Z | libgeonlp/lib/GeonlpMAImplSq3.cpp | geonlp-platform/pygeonlp | f91a38ac416b7dbd5ef689742d0ffac48e6d350e | [
"BSD-2-Clause"
] | 8 | 2021-07-09T01:43:14.000Z | 2021-09-09T05:02:23.000Z | libgeonlp/lib/GeonlpMAImplSq3.cpp | geonlp-platform/pygeonlp | f91a38ac416b7dbd5ef689742d0ffac48e6d350e | [
"BSD-2-Clause"
] | null | null | null | ///
/// @file
/// @brief 地名語抽出API(インタフェース)実装クラスの実装。
/// @author 国立情報学研究所
///
/// Copyright (c)2010, NII
///
#include <iostream>
#include <fstream>
#include <sstream>
#include <list>
#include <boost/lexical_cast.hpp>
#include <boost/regex.hpp>
#include <boost/algorithm/string.hpp>
#include "config.h"
#include "GeonlpMA.... | 33.072 | 155 | 0.60713 | geonlp-platform |
04808d375bef116bf3f4ac000450d091f6953d12 | 3,007 | cpp | C++ | src/Base.cpp | borisblizzard/sakit | 84ce2faabf2ae34908d9a45af4521f62b92a2521 | [
"BSD-3-Clause"
] | null | null | null | src/Base.cpp | borisblizzard/sakit | 84ce2faabf2ae34908d9a45af4521f62b92a2521 | [
"BSD-3-Clause"
] | null | null | null | src/Base.cpp | borisblizzard/sakit | 84ce2faabf2ae34908d9a45af4521f62b92a2521 | [
"BSD-3-Clause"
] | null | null | null | /// @file
/// @version 1.2
///
/// @section LICENSE
///
/// This program is free software; you can redistribute it and/or modify it under
/// the terms of the BSD license: http://opensource.org/licenses/BSD-3-Clause
#include <hltypes/hlog.h>
#include <hltypes/hmutex.h>
#include <hltypes/hstream.h>
#include <hltypes/... | 21.027972 | 108 | 0.650815 | borisblizzard |
048295d6928ad5d08bff4df5ea2c26c36869ae33 | 2,391 | cpp | C++ | compiler-rt/lib/asan/asan_stack.cpp | mkinsner/llvm | 589d48844edb12cd357b3024248b93d64b6760bf | [
"Apache-2.0"
] | 9,724 | 2015-01-01T02:06:30.000Z | 2019-01-17T15:13:51.000Z | compiler-rt/lib/asan/asan_stack.cpp | mkinsner/llvm | 589d48844edb12cd357b3024248b93d64b6760bf | [
"Apache-2.0"
] | 4,273 | 2015-01-01T04:10:11.000Z | 2019-01-17T19:37:37.000Z | compiler-rt/lib/asan/asan_stack.cpp | mkinsner/llvm | 589d48844edb12cd357b3024248b93d64b6760bf | [
"Apache-2.0"
] | 1,519 | 2015-01-01T18:11:12.000Z | 2019-01-17T14:16:02.000Z | //===-- asan_stack.cpp ----------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | 26.566667 | 80 | 0.619406 | mkinsner |
04831ce5f0958d846d42be29cd11770f60bffa8e | 32,724 | cpp | C++ | VCL/Common/dslVCLUtils.cpp | TotteKarlsson/dsl | 3807cbe5f90a3cd495979eafa8cf5485367b634c | [
"BSD-2-Clause"
] | null | null | null | VCL/Common/dslVCLUtils.cpp | TotteKarlsson/dsl | 3807cbe5f90a3cd495979eafa8cf5485367b634c | [
"BSD-2-Clause"
] | null | null | null | VCL/Common/dslVCLUtils.cpp | TotteKarlsson/dsl | 3807cbe5f90a3cd495979eafa8cf5485367b634c | [
"BSD-2-Clause"
] | null | null | null | #pragma hdrstop
#include <sstream>
#include <algorithm>
#include <Registry.hpp>
#include "dslVCLUtils.h"
#include "dslStringUtils.h"
#include "dslLogger.h"
#include "dslApplicationInfo.h"
#include "dslVersion.h"
//#include <atl/atlbase.h>
#pragma package(smart_init)
namespace dsl
{
using namespace std;
string __fast... | 25.665882 | 184 | 0.582203 | TotteKarlsson |
0484162d5f8c7ac8563971f4cf1436e0727e09cd | 3,386 | cc | C++ | src/reader/wgsl/parser_impl_unary_expression_test.cc | dorba/tint | f81c1081ea7d27ea55f373c0bfaf651e491da7e6 | [
"Apache-2.0"
] | null | null | null | src/reader/wgsl/parser_impl_unary_expression_test.cc | dorba/tint | f81c1081ea7d27ea55f373c0bfaf651e491da7e6 | [
"Apache-2.0"
] | null | null | null | src/reader/wgsl/parser_impl_unary_expression_test.cc | dorba/tint | f81c1081ea7d27ea55f373c0bfaf651e491da7e6 | [
"Apache-2.0"
] | null | null | null | // Copyright 2020 The Tint Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed ... | 32.557692 | 75 | 0.693739 | dorba |
0484bf3556be2d086232a5314cfbef41a43e4b44 | 3,224 | cpp | C++ | src/GLWidget.cpp | kbladin/creature_evolution | 39600f0783ddd2f1c8d4e85283bcddbfc8e7435c | [
"MIT"
] | 4 | 2016-09-20T23:29:10.000Z | 2020-12-30T17:33:30.000Z | src/GLWidget.cpp | kbladin/creature_evolution | 39600f0783ddd2f1c8d4e85283bcddbfc8e7435c | [
"MIT"
] | null | null | null | src/GLWidget.cpp | kbladin/creature_evolution | 39600f0783ddd2f1c8d4e85283bcddbfc8e7435c | [
"MIT"
] | 2 | 2015-05-26T11:28:24.000Z | 2019-03-27T16:02:07.000Z | #include "GLWidget.h"
#include "ShaderManager.h"
#include "TextureManager.h"
#include "SettingsManager.h"
#include "Scene.h"
#ifndef GL_MULTISAMPLE
#define GL_MULTISAMPLE 0x809D
#endif
GLWidget::GLWidget(QGLFormat format, QWidget *parent)
: QGLWidget(format, parent)
{
enable_render_ = false;
QTimer *timer = ne... | 27.555556 | 78 | 0.690136 | kbladin |
0486c7d7315361d00a31c96e4a6804dbb9a8ecd5 | 402 | cpp | C++ | C++/watering-plants.cpp | Priyansh2/LeetCode-Solutions | d613da1881ec2416ccbe15f20b8000e36ddf1291 | [
"MIT"
] | 3,269 | 2018-10-12T01:29:40.000Z | 2022-03-31T17:58:41.000Z | C++/watering-plants.cpp | Priyansh2/LeetCode-Solutions | d613da1881ec2416ccbe15f20b8000e36ddf1291 | [
"MIT"
] | 53 | 2018-12-16T22:54:20.000Z | 2022-02-25T08:31:20.000Z | C++/watering-plants.cpp | Priyansh2/LeetCode-Solutions | d613da1881ec2416ccbe15f20b8000e36ddf1291 | [
"MIT"
] | 1,236 | 2018-10-12T02:51:40.000Z | 2022-03-30T13:30:37.000Z | // Time: O(n)
// Space: O(1)
class Solution {
public:
int wateringPlants(vector<int>& plants, int capacity) {
int result = size(plants), can = capacity;
for (int i = 0; i < size(plants); ++i) {
if (can < plants[i]) {
result += 2 * i;
can = capacity;
... | 22.333333 | 59 | 0.442786 | Priyansh2 |
0486c995e6cabfa3d33e009c125ed612c2901c9d | 3,598 | cpp | C++ | linux_e131/src/main.cpp | rodb70/rpidmx512 | 6e7eef3eaba35cc2eb7cdeb5bef906faea9366fd | [
"MIT"
] | null | null | null | linux_e131/src/main.cpp | rodb70/rpidmx512 | 6e7eef3eaba35cc2eb7cdeb5bef906faea9366fd | [
"MIT"
] | null | null | null | linux_e131/src/main.cpp | rodb70/rpidmx512 | 6e7eef3eaba35cc2eb7cdeb5bef906faea9366fd | [
"MIT"
] | null | null | null | /**
* @file main.cpp
*
*/
/* Copyright (C) 2017-2020 by Arjan van Vught mailto:info@raspberrypi-dmx.nl
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including ... | 25.338028 | 115 | 0.728738 | rodb70 |
04878e2c6247f347e7c769f3104ce3cef9140a84 | 9,191 | cpp | C++ | model/mosesdecoder/moses/FF/PhrasePairFeature.cpp | saeedesm/UNMT_AH | cc171bf66933b5c0ad8a0ab87e57f7364312a7df | [
"Apache-2.0"
] | 3 | 2019-12-02T14:53:29.000Z | 2020-08-12T18:01:49.000Z | tools/mosesdecoder-master/moses/FF/PhrasePairFeature.cpp | Pangeamt/nectm | 6b84f048698f2530b9fdbb30695f2e2217c3fbfe | [
"Apache-2.0"
] | 2 | 2020-11-06T14:40:10.000Z | 2020-12-29T19:03:11.000Z | tools/mosesdecoder-master/moses/FF/PhrasePairFeature.cpp | Pangeamt/nectm | 6b84f048698f2530b9fdbb30695f2e2217c3fbfe | [
"Apache-2.0"
] | 2 | 2020-03-26T16:05:11.000Z | 2020-08-06T16:35:39.000Z | #include <boost/algorithm/string.hpp>
#include "PhrasePairFeature.h"
#include "moses/AlignmentInfo.h"
#include "moses/TargetPhrase.h"
#include "moses/Hypothesis.h"
#include "moses/TranslationOption.h"
#include "moses/InputPath.h"
#include "util/string_piece_hash.hh"
#include "util/string_stream.hh"
#include "util/exce... | 34.040741 | 112 | 0.640953 | saeedesm |
0487dee8ffab3a4f76b0e89ede90568f58fd8c81 | 2,793 | cpp | C++ | dbms/src/Parsers/ParserSampleRatio.cpp | TCeason/CH-Learn | 8dd575d500c1ef8d4ba3b853ec07800423b70229 | [
"Apache-2.0"
] | null | null | null | dbms/src/Parsers/ParserSampleRatio.cpp | TCeason/CH-Learn | 8dd575d500c1ef8d4ba3b853ec07800423b70229 | [
"Apache-2.0"
] | null | null | null | dbms/src/Parsers/ParserSampleRatio.cpp | TCeason/CH-Learn | 8dd575d500c1ef8d4ba3b853ec07800423b70229 | [
"Apache-2.0"
] | 1 | 2020-11-09T05:56:14.000Z | 2020-11-09T05:56:14.000Z | #include <common/exp10.h>
#include <Parsers/CommonParsers.h>
#include <Parsers/ParserSampleRatio.h>
#include <Parsers/ASTSampleRatio.h>
#include <IO/ReadHelpers.h>
namespace DB
{
static bool parseDecimal(const char * pos, const char * end, ASTSampleRatio::Rational & res)
{
UInt64 num_before = 0;
UInt64 num... | 23.470588 | 98 | 0.640888 | TCeason |
048b48216eb00187feecf2c7224a7f6e76c22991 | 5,220 | cc | C++ | modules/canbus/vehicle/ge3/protocol/scu_3_303.cc | seeclong/apollo | 99c8afb5ebcae2a3c9359a156a957ff03944b27b | [
"Apache-2.0"
] | 22,688 | 2017-07-04T23:17:19.000Z | 2022-03-31T18:56:48.000Z | modules/canbus/vehicle/ge3/protocol/scu_3_303.cc | Songjiarui3313/apollo | df9113ae656e28e5374db32529d68e59455058a0 | [
"Apache-2.0"
] | 4,804 | 2017-07-04T22:30:12.000Z | 2022-03-31T12:58:21.000Z | modules/canbus/vehicle/ge3/protocol/scu_3_303.cc | Songjiarui3313/apollo | df9113ae656e28e5374db32529d68e59455058a0 | [
"Apache-2.0"
] | 9,985 | 2017-07-04T22:01:17.000Z | 2022-03-31T14:18:16.000Z | /******************************************************************************
* Copyright 2019 The Apollo Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
... | 37.021277 | 79 | 0.635824 | seeclong |
048c6d829f5088afb73dae1d1b967042aff73970 | 3,857 | hpp | C++ | include/etl/crtp/iterable.hpp | BeatWolf/etl | 32e8153b38e0029176ca4fe2395b7fa6babe3189 | [
"MIT"
] | 1 | 2020-02-19T13:13:10.000Z | 2020-02-19T13:13:10.000Z | include/etl/crtp/iterable.hpp | BeatWolf/etl | 32e8153b38e0029176ca4fe2395b7fa6babe3189 | [
"MIT"
] | null | null | null | include/etl/crtp/iterable.hpp | BeatWolf/etl | 32e8153b38e0029176ca4fe2395b7fa6babe3189 | [
"MIT"
] | null | null | null | //=======================================================================
// Copyright (c) 2014-2018 Baptiste Wicht
// Distributed under the terms of the MIT License.
// (See accompanying file LICENSE or copy at
// http://opensource.org/licenses/MIT)
//==================================================================... | 31.614754 | 97 | 0.590096 | BeatWolf |
048e74dd806c873ebf9e6ee8504ff98fe2f9541c | 433 | hpp | C++ | src/render/camera/Camera.hpp | yzx9/NeuronSdfViewer | 454164dfccf80b806aac3cd7cca09e2cb8bd3c2a | [
"MIT"
] | 1 | 2021-12-31T10:29:56.000Z | 2021-12-31T10:29:56.000Z | src/render/camera/Camera.hpp | yzx9/NeuronSdfViewer | 454164dfccf80b806aac3cd7cca09e2cb8bd3c2a | [
"MIT"
] | null | null | null | src/render/camera/Camera.hpp | yzx9/NeuronSdfViewer | 454164dfccf80b806aac3cd7cca09e2cb8bd3c2a | [
"MIT"
] | null | null | null | #pragma once
#include <Eigen/Dense>
#include "../Ray.hpp"
class Camera
{
public:
Camera(float aspect_radio) : Camera({0.0f, 0.0f, 0.0f}, aspect_radio){};
Camera(Eigen::Vector3f position, float aspect_radio) : position(position), aspect_radio(aspect_radio){};
virtual ~Camera(){};
virtual Ray generate... | 20.619048 | 108 | 0.692841 | yzx9 |
048e8111a2c515819b464a532240205bc4684d28 | 3,743 | cc | C++ | source/test/dbms/Float_test.cc | ciscoruiz/wepa | e6d922157543c91b6804f11073424a0a9c6e8f51 | [
"MIT"
] | 2 | 2018-02-03T06:56:29.000Z | 2021-04-20T10:28:32.000Z | source/test/dbms/Float_test.cc | ciscoruiz/wepa | e6d922157543c91b6804f11073424a0a9c6e8f51 | [
"MIT"
] | 8 | 2018-02-18T21:00:07.000Z | 2018-02-20T15:31:24.000Z | source/test/dbms/Float_test.cc | ciscoruiz/wepa | e6d922157543c91b6804f11073424a0a9c6e8f51 | [
"MIT"
] | 1 | 2018-02-09T07:09:26.000Z | 2018-02-09T07:09:26.000Z | // MIT License
//
// Copyright (c) 2018 Francisco Ruiz (francisco.ruiz.rayo@gmail.com)
//
// 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 limitatio... | 28.792308 | 92 | 0.729896 | ciscoruiz |
049041119e8ff2e0ff3a8d0afbff8042c58ef2fa | 3,434 | cpp | C++ | src/PushButton.cpp | SammyEnigma/flat-gui | 9ebabb9dbc2aa4c98fc077a3b2893dd1f42572d2 | [
"MIT"
] | 58 | 2018-02-05T07:49:20.000Z | 2022-02-02T14:47:45.000Z | src/PushButton.cpp | SammyEnigma/flat-gui | 9ebabb9dbc2aa4c98fc077a3b2893dd1f42572d2 | [
"MIT"
] | 3 | 2019-03-19T21:24:03.000Z | 2020-12-26T15:14:09.000Z | src/PushButton.cpp | SammyEnigma/flat-gui | 9ebabb9dbc2aa4c98fc077a3b2893dd1f42572d2 | [
"MIT"
] | 13 | 2018-08-10T14:42:00.000Z | 2022-02-08T20:26:12.000Z | /**
MIT License
Copyright (c) 2020 Michael Scopchanov
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, pub... | 24.884058 | 94 | 0.750728 | SammyEnigma |
04906babc01bb605418840fa8111cc41433701fa | 580 | hpp | C++ | infra/timer/PartitionedTime.hpp | ghsecuritylab/embeddedinfralib | 46ebdfcc495150afb38cc380f22be7c3e3dcbfbc | [
"Unlicense"
] | null | null | null | infra/timer/PartitionedTime.hpp | ghsecuritylab/embeddedinfralib | 46ebdfcc495150afb38cc380f22be7c3e3dcbfbc | [
"Unlicense"
] | null | null | null | infra/timer/PartitionedTime.hpp | ghsecuritylab/embeddedinfralib | 46ebdfcc495150afb38cc380f22be7c3e3dcbfbc | [
"Unlicense"
] | null | null | null | #ifndef INFRA_TIMER_PARTITIONED_TIME_HPP
#define INFRA_TIMER_PARTITIONED_TIME_HPP
#include <cstdint>
#include <time.h>
namespace infra
{
struct PartitionedTime
{
PartitionedTime(time_t unixTime);
uint8_t seconds; // seconds after the minute - [0, 59]
uint8_t minutes; // minutes... | 26.363636 | 62 | 0.631034 | ghsecuritylab |
04909668432a1a8279e808316fda0e641e89d3bd | 2,702 | cpp | C++ | Coin3D/src/hardcopy/PSVectorOutput.cpp | pniaz20/inventor-utils | 2306b758b15bd1a0df3fb9bd250215b7bb7fac3f | [
"MIT"
] | null | null | null | Coin3D/src/hardcopy/PSVectorOutput.cpp | pniaz20/inventor-utils | 2306b758b15bd1a0df3fb9bd250215b7bb7fac3f | [
"MIT"
] | null | null | null | Coin3D/src/hardcopy/PSVectorOutput.cpp | pniaz20/inventor-utils | 2306b758b15bd1a0df3fb9bd250215b7bb7fac3f | [
"MIT"
] | null | null | null | /**************************************************************************\
* Copyright (c) Kongsberg Oil & Gas Technologies AS
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* Red... | 30.359551 | 87 | 0.716506 | pniaz20 |
04909895a6eaab0b4afc0321f1b9cad2d0039bd6 | 2,877 | cpp | C++ | Source/SystemQOR/Posix/math/isnand.cpp | mfaithfull/QOR | 0fa51789344da482e8c2726309265d56e7271971 | [
"BSL-1.0"
] | 9 | 2016-05-27T01:00:39.000Z | 2021-04-01T08:54:46.000Z | Source/SystemQOR/Posix/math/isnand.cpp | mfaithfull/QOR | 0fa51789344da482e8c2726309265d56e7271971 | [
"BSL-1.0"
] | 1 | 2016-03-03T22:54:08.000Z | 2016-03-03T22:54:08.000Z | Source/SystemQOR/Posix/math/isnand.cpp | mfaithfull/QOR | 0fa51789344da482e8c2726309265d56e7271971 | [
"BSL-1.0"
] | 4 | 2016-05-27T01:00:43.000Z | 2018-08-19T08:47:49.000Z | /*
* ====================================================
* Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
*
* Developed at SunPro, a Sun Microsystems, Inc. business.
* Permission to use, copy, modify, and distribute this
* software is freely granted, provided that this notice
* is preserved.... | 22.476563 | 101 | 0.612791 | mfaithfull |
049202855696f1f8193ba58cd33977bfa928a77b | 420 | cpp | C++ | Code/customprocess.cpp | scigeliu/ViaLacteaVisualAnalytics | 2ac79301ceaaab0415ec7105b8267552262c7650 | [
"Apache-2.0"
] | 1 | 2021-12-15T15:15:50.000Z | 2021-12-15T15:15:50.000Z | Code/customprocess.cpp | scigeliu/ViaLacteaVisualAnalytics | 2ac79301ceaaab0415ec7105b8267552262c7650 | [
"Apache-2.0"
] | null | null | null | Code/customprocess.cpp | scigeliu/ViaLacteaVisualAnalytics | 2ac79301ceaaab0415ec7105b8267552262c7650 | [
"Apache-2.0"
] | null | null | null | #include "customprocess.h"
#include <QProcess>
#include <QDebug>
#include <QCoreApplication>
CustomProcess::CustomProcess()
{
QProcess *process = new QProcess();
connect(process, SIGNAL(finished(int, QProcess::ExitStatus)), this, SLOT(onFinished()));
process->start("ls", QStringList());
if (!pr... | 16.8 | 94 | 0.657143 | scigeliu |
049254fbbd301c05e703f078f07419d962caf7ee | 15,847 | cpp | C++ | src/Engine/Core/SYS_Funct.cpp | slajerek/MTEngineSDL | 19b5295d875c197ec03bc20ddacd48c228920365 | [
"MIT"
] | 4 | 2021-12-16T11:22:30.000Z | 2022-01-05T11:20:32.000Z | src/Engine/Core/SYS_Funct.cpp | slajerek/MTEngineSDL | 19b5295d875c197ec03bc20ddacd48c228920365 | [
"MIT"
] | 1 | 2022-01-07T10:41:38.000Z | 2022-01-09T12:04:03.000Z | src/Engine/Core/SYS_Funct.cpp | slajerek/MTEngineSDL | 19b5295d875c197ec03bc20ddacd48c228920365 | [
"MIT"
] | null | null | null | /*
* SYS_Funct.mm
* MobiTracker
*
* Created by Marcin Skoczylas on 10-07-15.
* Copyright 2010 Marcin Skoczylas. All rights reserved.
*
*/
#include "SYS_Funct.h"
#include "SYS_Main.h"
#include "SYS_FileSystem.h"
#include "CSlrString.h"
#if !defined(WIN32) && !defined(ANDROID)
#include <unistd.h>
#include <e... | 20.059494 | 120 | 0.59639 | slajerek |
0493b14a1aa6bc9f14b411cc08348a603717711a | 477 | cpp | C++ | CodeChef/Mahasena.cpp | canis-majoris123/CompetitiveProgramming | be6c208abe6e0bd748c3bb0e715787506d73588d | [
"MIT"
] | null | null | null | CodeChef/Mahasena.cpp | canis-majoris123/CompetitiveProgramming | be6c208abe6e0bd748c3bb0e715787506d73588d | [
"MIT"
] | null | null | null | CodeChef/Mahasena.cpp | canis-majoris123/CompetitiveProgramming | be6c208abe6e0bd748c3bb0e715787506d73588d | [
"MIT"
] | null | null | null | //https://www.codechef.com/problems/AMR15A
#include<bits/stdc++.h>
using namespace std ;
#define akriti long long int
#define sahaj while
int main()
{
ios_base::sync_with_stdio(false) ;
cin.tie(0) ;
akriti testcase{0} , num{0} , odd{0} , even{0} ;
cin >> testcase ;
sahaj(testcase--)
... | 23.85 | 78 | 0.540881 | canis-majoris123 |
0493cf35b6051092886e16fe6386fd9972b31cd0 | 18,233 | cc | C++ | src/connectivity/bluetooth/core/bt-host/gap/low_energy_discovery_manager.cc | EnderNightLord-ChromeBook/zircon-rpi | b09b1eb3aa7a127c65568229fe10edd251869283 | [
"BSD-2-Clause"
] | null | null | null | src/connectivity/bluetooth/core/bt-host/gap/low_energy_discovery_manager.cc | EnderNightLord-ChromeBook/zircon-rpi | b09b1eb3aa7a127c65568229fe10edd251869283 | [
"BSD-2-Clause"
] | null | null | null | src/connectivity/bluetooth/core/bt-host/gap/low_energy_discovery_manager.cc | EnderNightLord-ChromeBook/zircon-rpi | b09b1eb3aa7a127c65568229fe10edd251869283 | [
"BSD-2-Clause"
] | null | null | null | // Copyright 2017 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 "low_energy_discovery_manager.h"
#include <lib/async/default.h>
#include <lib/fit/function.h>
#include <zircon/assert.h>
#include "peer.h"
#incl... | 33.764815 | 99 | 0.689684 | EnderNightLord-ChromeBook |
049589f4419aea55582b4846b08ee3618bdc3b6e | 539 | cpp | C++ | mod.cpp | johnb432/Zeus-Additions | faffc97c0ab939032fd442186376413fa2a5cfc1 | [
"MIT"
] | null | null | null | mod.cpp | johnb432/Zeus-Additions | faffc97c0ab939032fd442186376413fa2a5cfc1 | [
"MIT"
] | 3 | 2021-02-08T18:48:20.000Z | 2021-02-21T21:24:58.000Z | mod.cpp | johnb432/Zeus-Additions | faffc97c0ab939032fd442186376413fa2a5cfc1 | [
"MIT"
] | null | null | null | name = "Zeus Additions";
author = "johnb43";
tooltipOwned = "Zeus Additions";
hideName = 0;
hidePicture = 0;
actionName = "Github";
action = "https://github.com/johnb432/Zeus-Additions";
description = "A small mod that adds Zeus modules, made by johnb43.";
overview = "A small mod that adds Zeus modules, made by johnb43... | 41.461538 | 77 | 0.755102 | johnb432 |
04965e6989c7d90ab56f2f23b7b4d946b9825f02 | 1,713 | cc | C++ | src/ExtensionRegistry.cc | pjaaskel/phsa-runtime | b37cd9bd8085632e89b02861da193bbd0fa25c5b | [
"MIT"
] | 7 | 2016-04-17T20:38:36.000Z | 2017-12-28T17:46:21.000Z | src/ExtensionRegistry.cc | pjaaskel/phsa-runtime | b37cd9bd8085632e89b02861da193bbd0fa25c5b | [
"MIT"
] | 6 | 2016-03-11T15:54:28.000Z | 2016-11-22T13:20:11.000Z | src/ExtensionRegistry.cc | pjaaskel/phsa-runtime | b37cd9bd8085632e89b02861da193bbd0fa25c5b | [
"MIT"
] | 4 | 2016-03-10T14:27:53.000Z | 2020-05-03T22:16:51.000Z | /*
Copyright (c) 2016 General Processor Tech.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to
deal in the Software without restriction, including without limitation the
rights to use, copy, modify, ... | 40.785714 | 80 | 0.737303 | pjaaskel |
0498ce99e33bdd3eeeb69b85d69a5d864c96a424 | 4,483 | cpp | C++ | src/physics/collision/bvh_model.cpp | Q-Minh/soft-body-simulator | f41640945df989d8c91d99e8f2e86d6af90211f6 | [
"BSL-1.0"
] | 5 | 2021-12-17T01:45:48.000Z | 2022-01-29T17:35:49.000Z | src/physics/collision/bvh_model.cpp | Q-Minh/soft-body-simulator | f41640945df989d8c91d99e8f2e86d6af90211f6 | [
"BSL-1.0"
] | null | null | null | src/physics/collision/bvh_model.cpp | Q-Minh/soft-body-simulator | f41640945df989d8c91d99e8f2e86d6af90211f6 | [
"BSL-1.0"
] | null | null | null | #include <cassert>
#include <sbs/common/mesh.h>
#include <sbs/physics/collision/bvh_model.h>
#include <sbs/physics/collision/contact.h>
#include <sbs/physics/collision/sdf_model.h>
#include <vector>
namespace sbs {
namespace physics {
namespace collision {
point_bvh_model_t::point_bvh_model_t() : kd_tree_type(0), sur... | 34.484615 | 106 | 0.58153 | Q-Minh |
049a698934812cf23f16e7e77d1ad15a044b00c2 | 622 | hpp | C++ | android-28/javax/security/auth/login/LoginException.hpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 12 | 2020-03-26T02:38:56.000Z | 2022-03-14T08:17:26.000Z | android-31/javax/security/auth/login/LoginException.hpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 1 | 2021-01-27T06:07:45.000Z | 2021-11-13T19:19:43.000Z | android-29/javax/security/auth/login/LoginException.hpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 3 | 2021-02-02T12:34:55.000Z | 2022-03-08T07:45:57.000Z | #pragma once
#include "../../../../java/security/GeneralSecurityException.hpp"
class JString;
namespace javax::security::auth::login
{
class LoginException : public java::security::GeneralSecurityException
{
public:
// Fields
// QJniObject forward
template<typename ...Ts> explicit LoginException(const ch... | 23.923077 | 188 | 0.712219 | YJBeetle |
049b6be01a4fbb295007c00fc0d5f0cf8134b5bc | 4,938 | cpp | C++ | arangod/MMFiles/MMFilesCompactionFeature.cpp | Deckhandfirststar01/arangodb | a8c079252f9c7127ef6860f5ad46ec38055669ce | [
"BSL-1.0",
"Zlib",
"Apache-2.0"
] | null | null | null | arangod/MMFiles/MMFilesCompactionFeature.cpp | Deckhandfirststar01/arangodb | a8c079252f9c7127ef6860f5ad46ec38055669ce | [
"BSL-1.0",
"Zlib",
"Apache-2.0"
] | null | null | null | arangod/MMFiles/MMFilesCompactionFeature.cpp | Deckhandfirststar01/arangodb | a8c079252f9c7127ef6860f5ad46ec38055669ce | [
"BSL-1.0",
"Zlib",
"Apache-2.0"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
/// DISCLAIMER
///
/// Copyright 2014-2016 ArangoDB GmbH, Cologne, Germany
/// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except... | 40.146341 | 171 | 0.695828 | Deckhandfirststar01 |
049b8ae47b402a1e85399f68172601e4fccb7e11 | 6,231 | cpp | C++ | audio_compression/masking.cpp | dustsigns/lecture-demos | 50d5abb252e7e467e9648b61310ce93b85c6c5f0 | [
"BSD-3-Clause"
] | 14 | 2018-03-26T13:43:58.000Z | 2022-03-03T13:04:36.000Z | audio_compression/masking.cpp | dustsigns/lecture-demos | 50d5abb252e7e467e9648b61310ce93b85c6c5f0 | [
"BSD-3-Clause"
] | null | null | null | audio_compression/masking.cpp | dustsigns/lecture-demos | 50d5abb252e7e467e9648b61310ce93b85c6c5f0 | [
"BSD-3-Clause"
] | 1 | 2019-08-03T23:12:08.000Z | 2019-08-03T23:12:08.000Z | //Illustration of frequency masking
// Andreas Unterweger, 2017-2022
//This code is licensed under the 3-Clause BSD License. See LICENSE file for details.
#include <iostream>
#include <limits>
#include <array>
#include <opencv2/core.hpp>
#include <opencv2/highgui.hpp>
#include "common.hpp"
#include "sinewave.hpp"
#i... | 45.816176 | 342 | 0.690258 | dustsigns |
049e5f828dfac3302190a5b1bd540fe1757e9e99 | 5,566 | cc | C++ | elements/tcp/tcpprocesstxt.cc | leeopop/ClickNF | 5bca7586195d1b24d3a899fa084feafa93f81790 | [
"MIT"
] | 32 | 2017-11-02T12:33:21.000Z | 2022-02-07T22:25:58.000Z | elements/tcp/tcpprocesstxt.cc | leeopop/ClickNF | 5bca7586195d1b24d3a899fa084feafa93f81790 | [
"MIT"
] | 2 | 2019-02-18T08:47:16.000Z | 2019-05-24T14:41:23.000Z | elements/tcp/tcpprocesstxt.cc | leeopop/ClickNF | 5bca7586195d1b24d3a899fa084feafa93f81790 | [
"MIT"
] | 10 | 2018-06-13T11:54:53.000Z | 2020-09-08T06:52:43.000Z | /*
* tcpprocesstxt.{cc,hh} -- Process data in TCP packet
* Rafael Laufer, Massimo Gallo
*
* Copyright (c) 2017 Nokia Bell Labs
*
* 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... | 30.922222 | 148 | 0.699784 | leeopop |
049eedd4d9d62aeb732880e6cbf42ba97765e728 | 1,965 | hpp | C++ | libs/renderer/include/sge/renderer/occlusion_query/object.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | 2 | 2016-01-27T13:18:14.000Z | 2018-05-11T01:11:32.000Z | libs/renderer/include/sge/renderer/occlusion_query/object.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | null | null | null | libs/renderer/include/sge/renderer/occlusion_query/object.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | 3 | 2018-05-11T01:11:34.000Z | 2021-04-24T19:47:45.000Z | // Copyright Carl Philipp Reh 2006 - 2019.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef SGE_RENDERER_OCCLUSION_QUERY_OBJECT_HPP_INCLUDED
#define SGE_RENDERER_OCCLUSION_QUERY_OBJEC... | 28.478261 | 76 | 0.759796 | cpreh |
04a06b3c1d48aa821465a10b4f68da138e373563 | 3,596 | cpp | C++ | src/Transform.cpp | gmryuuko/CG-FPSGame | 816da7cc491cccb062d56863fa8266fda67066f9 | [
"MIT"
] | null | null | null | src/Transform.cpp | gmryuuko/CG-FPSGame | 816da7cc491cccb062d56863fa8266fda67066f9 | [
"MIT"
] | null | null | null | src/Transform.cpp | gmryuuko/CG-FPSGame | 816da7cc491cccb062d56863fa8266fda67066f9 | [
"MIT"
] | null | null | null | #include "Transform.h"
#include <glm/gtx/string_cast.hpp>
using namespace std;
using namespace glm;
Transform::Transform(const Transform& transform) {
this->position = transform.position;
this->rotation = transform.rotation;
this->scale = transform.scale;
SetDirty();
}
Transform::Transform(vec3 position, vec3 ... | 19.650273 | 89 | 0.679088 | gmryuuko |
04a07df482a821a82f2b19ce3cbe2239bbe37d2a | 525 | cpp | C++ | niuke_HW/ds_zuo/7_10_minStrength.cpp | drt4243566/leetcode_learn | ef51f215079556895eec2252d84965cd1c3a7bf4 | [
"MIT"
] | null | null | null | niuke_HW/ds_zuo/7_10_minStrength.cpp | drt4243566/leetcode_learn | ef51f215079556895eec2252d84965cd1c3a7bf4 | [
"MIT"
] | null | null | null | niuke_HW/ds_zuo/7_10_minStrength.cpp | drt4243566/leetcode_learn | ef51f215079556895eec2252d84965cd1c3a7bf4 | [
"MIT"
] | null | null | null | #include <iostream>
#include <queue>
using namespace std;
int main(){
int M;
cin>>M;
priority_queue<int,vector<int>,greater<int>> minHeap;
int n;
for(int i=0;i<M;i++){
cin>>n;
minHeap.push(n);
}
int sum = 0;
int heap1,heap2;
while(minHeap.size()>1){
heap1 = ... | 18.75 | 57 | 0.52381 | drt4243566 |
04a18154b58766a2f939d75309b479aa14fbd49e | 293 | cpp | C++ | cpp/cinexample.cpp | Mysterypancake1/GMod-Fun | d57e69f88691f679fbb3a1fb14eeb44466287cfc | [
"MIT"
] | 24 | 2017-07-20T12:33:15.000Z | 2022-03-09T06:13:13.000Z | cpp/cinexample.cpp | Mysterypancake1/GMod-Fun | d57e69f88691f679fbb3a1fb14eeb44466287cfc | [
"MIT"
] | null | null | null | cpp/cinexample.cpp | Mysterypancake1/GMod-Fun | d57e69f88691f679fbb3a1fb14eeb44466287cfc | [
"MIT"
] | 8 | 2017-12-06T04:13:19.000Z | 2020-05-25T13:01:01.000Z | #include <iostream>
using namespace std;
int main()
{
string firstName, lastName;
cout << "Please type your first and last name: \n";
cin >> firstName >> lastName;
cout << "First name is " << firstName << '\n';
cout << "Last name is " << lastName << '\n';
return 0;
} | 18.3125 | 53 | 0.587031 | Mysterypancake1 |
04a1e222ef9a66d5a04b153c56f03f70ab34f351 | 1,366 | hh | C++ | server/modules/filter/dbfwfilter/test/tempfile.hh | sdrik/MaxScale | c6c318b36dde0a25f22ac3fd59c9d33d774fe37a | [
"BSD-3-Clause"
] | null | null | null | server/modules/filter/dbfwfilter/test/tempfile.hh | sdrik/MaxScale | c6c318b36dde0a25f22ac3fd59c9d33d774fe37a | [
"BSD-3-Clause"
] | null | null | null | server/modules/filter/dbfwfilter/test/tempfile.hh | sdrik/MaxScale | c6c318b36dde0a25f22ac3fd59c9d33d774fe37a | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2018 MariaDB Corporation Ab
*
* Use of this software is governed by the Business Source License included
* in the LICENSE.TXT file and at www.mariadb.com/bsl11.
*
* Change Date: 2026-01-04
*
* On the date above, in accordance with the Business Source License, use
* of this software will be g... | 19.514286 | 75 | 0.597365 | sdrik |