hexsha stringlengths 40 40 | size int64 7 1.05M | ext stringclasses 13
values | lang stringclasses 1
value | max_stars_repo_path stringlengths 4 269 | max_stars_repo_name stringlengths 5 109 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 9 | max_stars_count int64 1 191k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 4 269 | max_issues_repo_name stringlengths 5 116 | max_issues_repo_head_hexsha stringlengths 40 40 | max_issues_repo_licenses listlengths 1 9 | max_issues_count int64 1 48.5k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 4 269 | max_forks_repo_name stringlengths 5 116 | max_forks_repo_head_hexsha stringlengths 40 40 | max_forks_repo_licenses listlengths 1 9 | max_forks_count int64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 7 1.05M | avg_line_length float64 1.21 330k | max_line_length int64 6 990k | alphanum_fraction float64 0.01 0.99 | author_id stringlengths 2 40 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a75ec2a97804b4ce42cf41c1ff57a6147687152c | 1,142 | cpp | C++ | Homework/03/task_3.cpp | Ignatoff/FMI-DSA-2018 | 24d2a3f5127a0d9c97ae165daad3b8601593b1ca | [
"MIT"
] | 1 | 2018-11-26T19:17:21.000Z | 2018-11-26T19:17:21.000Z | Homework/03/task_3.cpp | Ignatoff/FMI-DSA-2018 | 24d2a3f5127a0d9c97ae165daad3b8601593b1ca | [
"MIT"
] | null | null | null | Homework/03/task_3.cpp | Ignatoff/FMI-DSA-2018 | 24d2a3f5127a0d9c97ae165daad3b8601593b1ca | [
"MIT"
] | 1 | 2019-03-17T17:16:12.000Z | 2019-03-17T17:16:12.000Z | #include <iostream>
const int MAXN = 100001;
int n, k;
long long arr[MAXN];
bool check(long long ans)
{
long long usedBlows = ans;
for (size_t i = 0; i < n; i++)
{
long long diff = arr[i] - ans;
if (diff > 0)
{
long long neededBlows = diff / (k - 1);
if (dif... | 20.035088 | 58 | 0.443958 | Ignatoff |
a75f3c63c5b8c1f914ebbd767d708001d0effbfb | 718 | hpp | C++ | include/blackhole/formatter.hpp | JakariaBlaine/blackhole | e340329c6e2e3166858d8466656ad12300b686bd | [
"MIT"
] | 193 | 2015-01-05T08:48:05.000Z | 2022-01-31T22:04:01.000Z | include/blackhole/formatter.hpp | JakariaBlaine/blackhole | e340329c6e2e3166858d8466656ad12300b686bd | [
"MIT"
] | 135 | 2015-01-13T13:02:49.000Z | 2022-01-12T15:06:48.000Z | include/blackhole/formatter.hpp | JakariaBlaine/blackhole | e340329c6e2e3166858d8466656ad12300b686bd | [
"MIT"
] | 40 | 2015-01-21T16:37:30.000Z | 2022-01-25T15:54:04.000Z | #pragma once
namespace blackhole {
inline namespace v1 {
class record_t;
class writer_t;
/// Represents an interface that every formatter must implement.
///
/// Formatters are responsible for formatting the input logging record using the specified writer.
class formatter_t {
public:
formatter_t() = default;
... | 25.642857 | 98 | 0.727019 | JakariaBlaine |
a7654e6b4165c66b565fd7eeb97b0c540bb05a64 | 2,285 | hpp | C++ | src/mlpack/core/data/load_arff.hpp | shubham1206agra/mlpack | 2c656fcba850134f3f5d1dd1a6a1a15743aa7661 | [
"BSD-3-Clause-Clear",
"BSD-3-Clause"
] | null | null | null | src/mlpack/core/data/load_arff.hpp | shubham1206agra/mlpack | 2c656fcba850134f3f5d1dd1a6a1a15743aa7661 | [
"BSD-3-Clause-Clear",
"BSD-3-Clause"
] | null | null | null | src/mlpack/core/data/load_arff.hpp | shubham1206agra/mlpack | 2c656fcba850134f3f5d1dd1a6a1a15743aa7661 | [
"BSD-3-Clause-Clear",
"BSD-3-Clause"
] | null | null | null | /**
* @file core/data/load_arff.hpp
* @author Ryan Curtin
*
* Load an ARFF dataset.
*
* mlpack is free software; you may redistribute it and/or modify it under the
* terms of the 3-clause BSD license. You should have received a copy of the
* 3-clause BSD license along with mlpack. If not, see
* http://www.op... | 35.703125 | 80 | 0.742232 | shubham1206agra |
a76e4c326be1cdbaaba675e06b78a454a62cda9a | 1,162 | cpp | C++ | Codeforces/160A.cpp | DT3264/ProgrammingContestsSolutions | a297f2da654c2ca2815b9aa375c2b4ca0052269d | [
"MIT"
] | null | null | null | Codeforces/160A.cpp | DT3264/ProgrammingContestsSolutions | a297f2da654c2ca2815b9aa375c2b4ca0052269d | [
"MIT"
] | null | null | null | Codeforces/160A.cpp | DT3264/ProgrammingContestsSolutions | a297f2da654c2ca2815b9aa375c2b4ca0052269d | [
"MIT"
] | null | null | null | #include<stdio.h>
int arr[100];
int part(int arr[], int left, int right, int piv){
while(left<=right){
while(arr[left]<piv){
left++;
}
while(arr[right]>piv){
right--;
}
if(left<=right){
int temp=arr[left];
arr[left]=arr[right];... | 19.694915 | 50 | 0.436317 | DT3264 |
a76fc4ad2af54b3aa80a99b1e0fa4e22ef6239a2 | 5,736 | cpp | C++ | BasiliskII/src/Windows/router/udp.cpp | jvernet/macemu | c616a0dae0f451fc15016765c896175fae3f46cf | [
"Intel",
"X11"
] | 940 | 2015-01-04T12:20:10.000Z | 2022-03-29T12:35:27.000Z | BasiliskII/src/Windows/router/udp.cpp | Seanpm2001-virtual-machines/macemu | c616a0dae0f451fc15016765c896175fae3f46cf | [
"Intel",
"X11"
] | 163 | 2015-02-10T09:08:10.000Z | 2022-03-13T05:48:10.000Z | BasiliskII/src/Windows/router/udp.cpp | Seanpm2001-virtual-machines/macemu | c616a0dae0f451fc15016765c896175fae3f46cf | [
"Intel",
"X11"
] | 188 | 2015-01-07T19:46:11.000Z | 2022-03-26T19:06:00.000Z | /*
* udp.cpp - ip router
*
* Basilisk II (C) 1997-2008 Christian Bauer
*
* Windows platform specific code copyright (C) Lauri Pesonen
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Softwar... | 27.710145 | 111 | 0.629707 | jvernet |
a7723d0dfd956b5ee13c5cc381229db6ac9a6003 | 7,445 | cc | C++ | example/http/reply.cc | lilialexlee/kit | 94492e04832749fcdfb7f9fb8a778bb949d5e7d6 | [
"MIT"
] | 1 | 2015-09-22T15:33:30.000Z | 2015-09-22T15:33:30.000Z | example/http/reply.cc | lilialexlee/kit | 94492e04832749fcdfb7f9fb8a778bb949d5e7d6 | [
"MIT"
] | null | null | null | example/http/reply.cc | lilialexlee/kit | 94492e04832749fcdfb7f9fb8a778bb949d5e7d6 | [
"MIT"
] | null | null | null | /*
* reply.cc
*
*/
#include "example/http/reply.h"
#include <sstream>
namespace http {
Reply::Reply()
: status_(),
headers_(),
content_() {
}
Reply::~Reply() {
}
namespace {
static const std::string kOkContent = "";
static const std::string kCreatedContent = "<html>"
... | 33.088889 | 81 | 0.666353 | lilialexlee |
a7737d63dee10bc2687b07e41b2a3cdbe75f5f0f | 1,449 | hpp | C++ | PS2b/src/CelestialBody.hpp | 1ssepehr/UML-Comp-IV | b6ae1f9acbb12948ac4da17daa21dfbc353d6ac5 | [
"MIT"
] | null | null | null | PS2b/src/CelestialBody.hpp | 1ssepehr/UML-Comp-IV | b6ae1f9acbb12948ac4da17daa21dfbc353d6ac5 | [
"MIT"
] | null | null | null | PS2b/src/CelestialBody.hpp | 1ssepehr/UML-Comp-IV | b6ae1f9acbb12948ac4da17daa21dfbc353d6ac5 | [
"MIT"
] | null | null | null | // (C) Copyright Seyedsepehr Madani, 2021.
// Distributed under MIT license, available at
// https://opensource.org/licenses/MIT.
#ifndef PS2B_SRC_CELESTIALBODY_HPP_
#define PS2B_SRC_CELESTIALBODY_HPP_ 1
#include <iostream>
#include <stdexcept>
#include <string>
#include <SFML/Graphics.hpp>
#include <SFM... | 28.98 | 89 | 0.6853 | 1ssepehr |
a77412b46948a37282940d663b0ff44c3f6d3ff7 | 9,535 | cc | C++ | src/main.cc | couetilj/OpenPano | f2f9c02cbb82ffed5fceed172a9c458eee5aace3 | [
"MIT"
] | 1,318 | 2017-02-22T15:59:36.000Z | 2022-03-31T07:18:41.000Z | src/main.cc | couetilj/OpenPano | f2f9c02cbb82ffed5fceed172a9c458eee5aace3 | [
"MIT"
] | 91 | 2017-02-14T11:53:46.000Z | 2022-02-02T21:02:55.000Z | src/main.cc | couetilj/OpenPano | f2f9c02cbb82ffed5fceed172a9c458eee5aace3 | [
"MIT"
] | 439 | 2017-02-15T04:53:39.000Z | 2022-03-24T02:16:50.000Z | // File: main.cc
// Date: Wed Jun 17 20:29:58 2015 +0800
// Author: Yuxin Wu
#define _USE_MATH_DEFINES
#include <cmath>
#include "feature/extrema.hh"
#include "feature/matcher.hh"
#include "feature/orientation.hh"
#include "lib/mat.h"
#include "lib/config.hh"
#include "lib/geometry.hh"
#include "lib/imgproc.hh"
#incl... | 26.634078 | 95 | 0.669324 | couetilj |
a77778e26d27915561c2da2e9eb3194c38dade69 | 9,974 | cpp | C++ | 014_mirror_plane_fb/main.cpp | capnramses/gfx_expmts | f32f6f50a832383f24eccc43918069e51e6382b5 | [
"Apache-2.0"
] | 46 | 2019-10-23T01:44:21.000Z | 2021-06-28T07:48:57.000Z | 014_mirror_plane_fb/main.cpp | capnramses/gfx_expmts | f32f6f50a832383f24eccc43918069e51e6382b5 | [
"Apache-2.0"
] | null | null | null | 014_mirror_plane_fb/main.cpp | capnramses/gfx_expmts | f32f6f50a832383f24eccc43918069e51e6382b5 | [
"Apache-2.0"
] | 2 | 2020-06-01T02:12:41.000Z | 2021-04-13T16:53:47.000Z | /******************************************************************************\
| OpenGL 4 Example Code. |
| Accompanies written series "Anton's OpenGL 4 Tutorials" |
| Email: anton at antongerdelan dot net ... | 35.749104 | 91 | 0.707941 | capnramses |
a779d6b1197f511f6387dd2004753de9d8971b39 | 5,729 | cpp | C++ | source/MaterialXRender/TinyObjLoader.cpp | mjyip-lucasfilm/MaterialX | 19b0bd84c4537539350c1c065cc68fb400567f05 | [
"BSD-3-Clause"
] | null | null | null | source/MaterialXRender/TinyObjLoader.cpp | mjyip-lucasfilm/MaterialX | 19b0bd84c4537539350c1c065cc68fb400567f05 | [
"BSD-3-Clause"
] | null | null | null | source/MaterialXRender/TinyObjLoader.cpp | mjyip-lucasfilm/MaterialX | 19b0bd84c4537539350c1c065cc68fb400567f05 | [
"BSD-3-Clause"
] | null | null | null | //
// TM & (c) 2017 Lucasfilm Entertainment Company Ltd. and Lucasfilm Ltd.
// All rights reserved. See LICENSE.txt for license.
//
#include <MaterialXRender/TinyObjLoader.h>
#include <MaterialXCore/Util.h>
#if defined(__GNUC__) && !defined(__clang__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignore... | 31.651934 | 135 | 0.612149 | mjyip-lucasfilm |
a77a5dffee4dc9215b1a738b3cfdee76b21af1d8 | 7,516 | hpp | C++ | include/eglplus/context.hpp | Extrunder/oglplus | c7c8266a1571d0b4c8b02d9c8ca6a7b6a6f51791 | [
"BSL-1.0"
] | 459 | 2016-03-16T04:11:37.000Z | 2022-03-31T08:05:21.000Z | include/eglplus/context.hpp | Extrunder/oglplus | c7c8266a1571d0b4c8b02d9c8ca6a7b6a6f51791 | [
"BSL-1.0"
] | 2 | 2016-08-08T18:26:27.000Z | 2017-05-08T23:42:22.000Z | include/eglplus/context.hpp | Extrunder/oglplus | c7c8266a1571d0b4c8b02d9c8ca6a7b6a6f51791 | [
"BSL-1.0"
] | 47 | 2016-05-31T15:55:52.000Z | 2022-03-28T14:49:40.000Z | /**
* @file eglplus/context.hpp
* @brief Declares and implements wrapper for EGLContext
*
* @author Matus Chochlik
*
* Copyright 2012-2015 Matus Chochlik. 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)
... | 20.368564 | 74 | 0.719931 | Extrunder |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
04a238c3449a39e4e251d6f4dc7f4821c7dc39fd | 4,806 | cpp | C++ | src/server/SoundManager.cpp | paps/Open-Trading | b62f85f391be9975a161713f87aeff0cae0a1e37 | [
"BSD-2-Clause"
] | 23 | 2015-07-24T15:45:36.000Z | 2021-11-23T15:35:33.000Z | src/server/SoundManager.cpp | paps/Open-Trading | b62f85f391be9975a161713f87aeff0cae0a1e37 | [
"BSD-2-Clause"
] | null | null | null | src/server/SoundManager.cpp | paps/Open-Trading | b62f85f391be9975a161713f87aeff0cae0a1e37 | [
"BSD-2-Clause"
] | 21 | 2015-07-12T16:42:01.000Z | 2020-08-23T22:56:50.000Z | // The Open Trading Project - open-trading.org
//
// Copyright (c) 2011 Martin Tapia - martin.tapia@open-trading.org
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributio... | 36.687023 | 150 | 0.648148 | paps |
04a2a3da1808cb6f8ee140dbb3a5c3407b6e0537 | 890 | cpp | C++ | Intuit/minimum_swaps.cpp | pilipi-puu-puu/6companies30Days | 9dd3e60f06a6e09483f64b79ccf918a6dd725239 | [
"MIT"
] | 3 | 2022-01-09T13:16:32.000Z | 2022-01-25T15:23:44.000Z | Intuit/minimum_swaps.cpp | pilipi-puu-puu/6companies30Days | 9dd3e60f06a6e09483f64b79ccf918a6dd725239 | [
"MIT"
] | null | null | null | Intuit/minimum_swaps.cpp | pilipi-puu-puu/6companies30Days | 9dd3e60f06a6e09483f64b79ccf918a6dd725239 | [
"MIT"
] | 1 | 2022-01-08T09:47:13.000Z | 2022-01-08T09:47:13.000Z | #include<bits/stdc++.h>
using namespace std;
typedef long long ll;
class Solution
{
public:
int minSwaps(vector<vector<int>> &grid)
{
int n = grid.size();
vector<int> countArr;
for (int i = 0; i < n; i++)
{
int count = 0;
for (int j = n - 1; j >= 0; j--)
{
... | 17.115385 | 44 | 0.379775 | pilipi-puu-puu |
04aae9cb9223518f20b06a82289166f7055cf7dd | 12,898 | cpp | C++ | firmware/Vscode_PlatformIO_Proj/Hex_Link_Nano/src/ASW/Motion_Detect.cpp | Ualker/HEX-LINK | 93ef659c047a7e8556d0c49123d6455db8dba929 | [
"MulanPSL-1.0"
] | 181 | 2021-07-01T06:22:16.000Z | 2022-03-30T05:07:23.000Z | firmware/Vscode_PlatformIO_Proj/Hex_Link_Nano/src/ASW/Motion_Detect.cpp | Ualker/HEX-LINK | 93ef659c047a7e8556d0c49123d6455db8dba929 | [
"MulanPSL-1.0"
] | 1 | 2021-07-15T06:24:40.000Z | 2021-07-27T17:50:28.000Z | firmware/Vscode_PlatformIO_Proj/Hex_Link_Nano/src/ASW/Motion_Detect.cpp | Ualker/HEX-LINK | 93ef659c047a7e8556d0c49123d6455db8dba929 | [
"MulanPSL-1.0"
] | 25 | 2021-07-03T06:29:54.000Z | 2022-02-04T11:43:38.000Z | #include "Universal_Headers.h"
#include "IMU.h"
#include "COM.h"
#include "ISR.h"
#include "Motion_Detect.h"
bool Action_Found = false;
uint8_t Silent_Count = SILENT_VALVE;
#define LEFT_VALVE_ACX 131
#define RIGHT_VALVE_ACX 124
#define JUMP_VALVE_ACZ 130
const Ellipse_Para_Type Ctrl_Ellipse = {185,130,25,35,15... | 33.853018 | 162 | 0.667235 | Ualker |
04b4fb535ee129f1cbd5d245819f113e1911ac00 | 4,889 | cpp | C++ | src/game/cm_effect.cpp | crmaykish/project-rogue | bd1a4a7ed984baddc2844f180257475a09e75ce4 | [
"MIT"
] | null | null | null | src/game/cm_effect.cpp | crmaykish/project-rogue | bd1a4a7ed984baddc2844f180257475a09e75ce4 | [
"MIT"
] | null | null | null | src/game/cm_effect.cpp | crmaykish/project-rogue | bd1a4a7ed984baddc2844f180257475a09e75ce4 | [
"MIT"
] | null | null | null | #include <set>
#include <algorithm>
#include "cm_effect.h"
#include "cm_logger.h"
#include "cm_actor.h"
#include "cm_game_world.h"
namespace cm
{
static uint32_t EffectID = 0;
// Effect Map
void EffectMap::Add(EffectTrigger trigger, std::shared_ptr<Effect> effect)
{
Log("Adding effect", LOG_I... | 28.260116 | 111 | 0.506443 | crmaykish |
04b6061f2734efd847eca9b3e596dfa359c9bd43 | 1,569 | cpp | C++ | examples/Client.cpp | kadirlua/Socket | da6954f3abc2c4b161eb5c84bf9f76150b7b7101 | [
"MIT"
] | null | null | null | examples/Client.cpp | kadirlua/Socket | da6954f3abc2c4b161eb5c84bf9f76150b7b7101 | [
"MIT"
] | null | null | null | examples/Client.cpp | kadirlua/Socket | da6954f3abc2c4b161eb5c84bf9f76150b7b7101 | [
"MIT"
] | null | null | null | #include "Client.h"
#include "network/SocketOption.h"
namespace sdk {
namespace application {
using namespace network;
static inline bool callbackInterrupt(void* userdata_ptr)
{
Client* client = reinterpret_cast<Client*>(userdata_ptr);
return client->isInterrupted();
}
Client::Clien... | 25.721311 | 147 | 0.668579 | kadirlua |
04b60e729572c84a08377baab66beb5f7ec11ae5 | 3,904 | cpp | C++ | csr_bench/csr_CComp/main.cpp | sampollard/graphBIG | 6d0c1b125ae7e5ec26e04a27f7c327600d6b1036 | [
"BSD-3-Clause"
] | 61 | 2015-02-13T02:14:21.000Z | 2022-01-10T08:49:57.000Z | csr_bench/csr_CComp/main.cpp | sampollard/graphBIG | 6d0c1b125ae7e5ec26e04a27f7c327600d6b1036 | [
"BSD-3-Clause"
] | 9 | 2016-02-09T14:58:47.000Z | 2022-01-11T11:00:10.000Z | csr_bench/csr_CComp/main.cpp | sampollard/graphBIG | 6d0c1b125ae7e5ec26e04a27f7c327600d6b1036 | [
"BSD-3-Clause"
] | 31 | 2015-07-10T01:17:01.000Z | 2021-10-04T17:34:32.000Z | //====== Graph Benchmark Suites ======//
//
#include <vector>
#include <string>
#include <fstream>
#include "common.h"
#include "def.h"
#include "openG.h"
using namespace std;
extern unsigned seq_CC(
uint64_t * vertexlist,
uint64_t * edgelist, uint16_t * vproplist,
uint16_t * labellist,
... | 23.377246 | 81 | 0.511527 | sampollard |
04b8ca321f906a13d2c667d264973eead6237aa4 | 1,376 | hpp | C++ | include/UnityEngine/UI/ILayoutSelfController.hpp | RedBrumbler/virtuoso-codegen | e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3 | [
"Unlicense"
] | null | null | null | include/UnityEngine/UI/ILayoutSelfController.hpp | RedBrumbler/virtuoso-codegen | e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3 | [
"Unlicense"
] | null | null | null | include/UnityEngine/UI/ILayoutSelfController.hpp | RedBrumbler/virtuoso-codegen | e83f6f0f9b47bec4b6dd976b21edc1d46bf3cfe3 | [
"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/byref.hpp"
// Including type: UnityEngine.UI.ILayoutController
#include "UnityEngine/UI/ILayoutController.hpp"
// C... | 40.470588 | 109 | 0.726744 | RedBrumbler |
04bd60679870025a6e61baa63f4606041a5147c9 | 33,331 | cpp | C++ | src/core/inputgate.cpp | MohamedHmini/win-vind | a33eba108a57481311bfd28ccb267dc54b62627f | [
"MIT"
] | null | null | null | src/core/inputgate.cpp | MohamedHmini/win-vind | a33eba108a57481311bfd28ccb267dc54b62627f | [
"MIT"
] | null | null | null | src/core/inputgate.cpp | MohamedHmini/win-vind | a33eba108a57481311bfd28ccb267dc54b62627f | [
"MIT"
] | null | null | null | #include "inputgate.hpp"
#include "bind/bindedfunc.hpp"
#include "bind/bindinglist.hpp"
#include "bind/saferepeat.hpp"
#include "errlogger.hpp"
#include "keycodedef.hpp"
#include "keylgrbase.hpp"
#include "keylog.hpp"
#include "lgrparsermgr.hpp"
#include "maptable.hpp"
#include "mode.hpp"
#include "ntypelogger.hpp"
#i... | 34.938155 | 144 | 0.492334 | MohamedHmini |
04be42cc3c0ece84d93aa58354db03fbdd8da485 | 1,482 | cpp | C++ | ReferenceTests_v3/src/tests/Catch_Testset02/UT_Tests03.cpp | dmkozh/TestAdapter_Catch2 | 6584596594f11bf477fddebfd1211483ca091ee3 | [
"MIT"
] | null | null | null | ReferenceTests_v3/src/tests/Catch_Testset02/UT_Tests03.cpp | dmkozh/TestAdapter_Catch2 | 6584596594f11bf477fddebfd1211483ca091ee3 | [
"MIT"
] | null | null | null | ReferenceTests_v3/src/tests/Catch_Testset02/UT_Tests03.cpp | dmkozh/TestAdapter_Catch2 | 6584596594f11bf477fddebfd1211483ca091ee3 | [
"MIT"
] | null | null | null | /** Basic Info **
Copyright: 2018 Johnny Hendriks
Author : Johnny Hendriks
Year : 2018
Project: VSTestAdapter for Catch2
Licence: MIT
Notes: None
** Basic Info **/
/************
* Includes *
************/
// Catch2
#include <catch2/catch_test_macros.hpp>
/**************
* Start code *
**************/
nam... | 17.435294 | 88 | 0.539136 | dmkozh |
04bfe4e4d9ac62a654b62a9ac7a4196215da0065 | 764 | cpp | C++ | TopEarners.cpp | MISabic/Uber | 1232d18bf2ffcd8d8de82c744a2736adee0497bf | [
"MIT"
] | null | null | null | TopEarners.cpp | MISabic/Uber | 1232d18bf2ffcd8d8de82c744a2736adee0497bf | [
"MIT"
] | null | null | null | TopEarners.cpp | MISabic/Uber | 1232d18bf2ffcd8d8de82c744a2736adee0497bf | [
"MIT"
] | null | null | null | #ifndef TOP_EARNERS_CPP
#define TOP_EARNERS_CPP
#include "TopEarners.h"
template<class ItemType>
TopEarners<ItemType>::TopEarners( ) {
ReadData( );
}
template<class ItemType>
void TopEarners<ItemType>::ReadData( ) {
ifstream inFile( "MonthlyEarners.txt" );
string name;
double totalIncome;
while... | 18.190476 | 52 | 0.624346 | MISabic |
04c20cc64811bcc56954399b9198089788e342cd | 317 | cpp | C++ | source/fps.cpp | vitodtagliente/vdtplatform | 8b38a84fc2a582ea04743dcf19b70b2f3416c744 | [
"MIT"
] | null | null | null | source/fps.cpp | vitodtagliente/vdtplatform | 8b38a84fc2a582ea04743dcf19b70b2f3416c744 | [
"MIT"
] | null | null | null | source/fps.cpp | vitodtagliente/vdtplatform | 8b38a84fc2a582ea04743dcf19b70b2f3416c744 | [
"MIT"
] | null | null | null | #include <vdtplatform/fps.h>
namespace platform
{
FPS::FPS()
: m_frames()
, m_time()
, m_fps()
{
}
void FPS::update(const double deltaTime)
{
++m_frames;
m_time += deltaTime;
if (m_time >= 1.0)
{
m_fps = static_cast<unsigned int>(m_frames / m_time);
m_frames = 0;
m_time = 0.0;
}
}
} | 13.208333 | 56 | 0.59306 | vitodtagliente |
04c301b08149627ba558bd91bf386dd222190455 | 298 | hpp | C++ | packets/PKT_S2C_HighlightHUDElement.hpp | HoDANG/OGLeague2 | 21efea8ea480972a6d686c4adefea03d57da5e9d | [
"MIT"
] | 1 | 2022-03-27T10:21:41.000Z | 2022-03-27T10:21:41.000Z | packets/PKT_S2C_HighlightHUDElement.hpp | HoDANG/OGLeague2 | 21efea8ea480972a6d686c4adefea03d57da5e9d | [
"MIT"
] | null | null | null | packets/PKT_S2C_HighlightHUDElement.hpp | HoDANG/OGLeague2 | 21efea8ea480972a6d686c4adefea03d57da5e9d | [
"MIT"
] | 3 | 2019-07-20T03:59:10.000Z | 2022-03-27T10:20:09.000Z | #ifndef HPP_164_PKT_S2C_HighlightHUDElement_HPP
#define HPP_164_PKT_S2C_HighlightHUDElement_HPP
#include "base.hpp"
#pragma pack(push, 1)
struct PKT_S2C_HighlightHUDElement_s : DefaultPacket<PKT_S2C_HighlightHUDElement>
{
char elementType;
char elementNumber;
};
#pragma pack(pop)
#endif
| 21.285714 | 81 | 0.818792 | HoDANG |
04c3f6e8ab421fcb474ca63624ddf4977e741d24 | 5,107 | cpp | C++ | RVAF-GUI/teechart/horizlineseries.cpp | YangQun1/RVAF-GUI | f187e2325fc8fdbac84a63515b7dd67c09e2fc72 | [
"BSD-2-Clause"
] | 4 | 2018-03-31T10:45:19.000Z | 2021-10-09T02:57:13.000Z | RVAF-GUI/teechart/horizlineseries.cpp | P-Chao/RVAF-GUI | 3bbeed7d2ffa400f754f095e7c08400f701813d4 | [
"BSD-2-Clause"
] | 1 | 2018-04-22T05:12:36.000Z | 2018-04-22T05:12:36.000Z | RVAF-GUI/teechart/horizlineseries.cpp | YangQun1/RVAF-GUI | f187e2325fc8fdbac84a63515b7dd67c09e2fc72 | [
"BSD-2-Clause"
] | 5 | 2018-01-13T15:57:14.000Z | 2019-11-12T03:23:18.000Z | // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
// NOTE: Do not modify the contents of this file. If this class is regenerated by
// Microsoft Visual C++, your modifications will be overwritten.
#include "stdafx.h"
#include "horizlineseries.h"
// Dispatch interfaces refer... | 23.753488 | 83 | 0.706285 | YangQun1 |
04c3f6f3f6b8cc44aa3709be1b911408e4c8c75b | 12,159 | cpp | C++ | libs/geometry/test/algorithms/distance.cpp | ballisticwhisper/boost | f72119ab640b564c4b983bd457457046b52af9ee | [
"BSL-1.0"
] | 2 | 2015-01-02T14:24:56.000Z | 2015-01-02T14:25:17.000Z | libs/geometry/test/algorithms/distance.cpp | ballisticwhisper/boost | f72119ab640b564c4b983bd457457046b52af9ee | [
"BSL-1.0"
] | 2 | 2019-01-13T23:45:51.000Z | 2019-02-03T08:13:26.000Z | libs/geometry/test/algorithms/distance.cpp | ballisticwhisper/boost | f72119ab640b564c4b983bd457457046b52af9ee | [
"BSL-1.0"
] | 1 | 2016-05-29T13:41:15.000Z | 2016-05-29T13:41:15.000Z | // Boost.Geometry (aka GGL, Generic Geometry Library)
// Unit Test
// Copyright (c) 2007-2012 Barend Gehrels, Amsterdam, the Netherlands.
// Copyright (c) 2008-2012 Bruno Lalande, Paris, France.
// Copyright (c) 2009-2012 Mateusz Loskot, London, UK.
// Parts of Boost.Geometry are redesigned from Geodan's Geographic L... | 35.761765 | 130 | 0.646188 | ballisticwhisper |
04c4a1e668c92d6d04fedc86ecec1fb61227f8bc | 4,707 | hpp | C++ | source/backend/cpu/BinaryUtils.hpp | WillTao-RD/MNN | 48575121859093bab8468d6992596962063b7aff | [
"Apache-2.0"
] | 2 | 2020-12-15T13:56:31.000Z | 2022-01-26T03:20:28.000Z | source/backend/cpu/BinaryUtils.hpp | qaz734913414/MNN | a5d5769789054a76c6e4dce2ef97d1f45b0e7e2d | [
"Apache-2.0"
] | null | null | null | source/backend/cpu/BinaryUtils.hpp | qaz734913414/MNN | a5d5769789054a76c6e4dce2ef97d1f45b0e7e2d | [
"Apache-2.0"
] | 1 | 2021-11-24T06:26:27.000Z | 2021-11-24T06:26:27.000Z | #include <math.h>
#include <algorithm>
template <typename _Arg1, typename _Arg2, typename _ErrorCode>
struct BinaryMax : std::binary_function<_Arg1, _Arg2, _ErrorCode> {
_ErrorCode operator()(const _Arg1& x, const _Arg2& y) const {
return std::max(x, y);
}
};
template <typename _Arg1, typename _Arg2, ... | 35.931298 | 81 | 0.685575 | WillTao-RD |
04c66380d944ef3c3e85dce8af8ba6fe6bfff5e0 | 1,410 | hpp | C++ | cpp_module00/ex01/Phonebook.class.hpp | lesorres/CPP_Modules | 9e7bba58320c92b39c0c81b630e9899f5b4d838a | [
"MIT"
] | null | null | null | cpp_module00/ex01/Phonebook.class.hpp | lesorres/CPP_Modules | 9e7bba58320c92b39c0c81b630e9899f5b4d838a | [
"MIT"
] | null | null | null | cpp_module00/ex01/Phonebook.class.hpp | lesorres/CPP_Modules | 9e7bba58320c92b39c0c81b630e9899f5b4d838a | [
"MIT"
] | null | null | null | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Phonebook.class.hpp :+: :+: :+: ... | 33.571429 | 80 | 0.346809 | lesorres |
04ce514f7ca498b40cc050ad3ee2c30111d0f544 | 8,590 | cpp | C++ | simulator/GroupTuringTape.cpp | bcookOh1/TuringMachineSimulator | af413a8d5b6e188625d7e575b1944b9be3d816a5 | [
"BSL-1.0"
] | null | null | null | simulator/GroupTuringTape.cpp | bcookOh1/TuringMachineSimulator | af413a8d5b6e188625d7e575b1944b9be3d816a5 | [
"BSL-1.0"
] | null | null | null | simulator/GroupTuringTape.cpp | bcookOh1/TuringMachineSimulator | af413a8d5b6e188625d7e575b1944b9be3d816a5 | [
"BSL-1.0"
] | null | null | null | // file: GroupTuringTape.cpp
// Class: CS5800
// Project: Turing Machine Simulator
// Author: Bennett Cook
// Date: 4/08/2018
// Description: implementation the FLTK group control for the
// Turing Machine visual simulator
//
#include "GroupTuringTape.h"
#include <iostream>
#include <iomanip>
#include <boost\lexical... | 26.269113 | 78 | 0.635157 | bcookOh1 |
04cf21f546db2b88952083816ed1567c3082b624 | 1,352 | cpp | C++ | Engine/Src/SFEngine/Application/IOS/IOSApp.cpp | blue3k/StormForge | 1557e699a673ae9adcc8f987868139f601ec0887 | [
"Apache-2.0"
] | 1 | 2020-06-20T07:35:25.000Z | 2020-06-20T07:35:25.000Z | Engine/Src/SFEngine/Application/IOS/IOSApp.cpp | blue3k/StormForge | 1557e699a673ae9adcc8f987868139f601ec0887 | [
"Apache-2.0"
] | null | null | null | Engine/Src/SFEngine/Application/IOS/IOSApp.cpp | blue3k/StormForge | 1557e699a673ae9adcc8f987868139f601ec0887 | [
"Apache-2.0"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
//
// CopyRight (c) 2017 Kyungkun Ko
//
// Author : KyungKun Ko
//
// Description : Basic IOS application
//
//
////////////////////////////////////////////////////////////////////////////////
#include "SFEnginePCH.h"
#... | 19.042254 | 81 | 0.610947 | blue3k |
04d159efcd1ee9d4c9e160b72a83fee2ffb1109f | 3,598 | cpp | C++ | Tests/Source/UnorderedMapTests.cpp | seeduvax/LuaBridge | c0dcc9de066e797e4e171b5a215e0621b4f05f87 | [
"X11",
"MIT"
] | 7 | 2020-10-16T11:34:27.000Z | 2022-03-12T17:53:15.000Z | Tests/Source/UnorderedMapTests.cpp | seeduvax/LuaBridge | c0dcc9de066e797e4e171b5a215e0621b4f05f87 | [
"X11",
"MIT"
] | 1 | 2020-10-06T17:52:17.000Z | 2020-10-06T17:52:17.000Z | Tests/Source/UnorderedMapTests.cpp | seeduvax/LuaBridge | c0dcc9de066e797e4e171b5a215e0621b4f05f87 | [
"X11",
"MIT"
] | 6 | 2021-05-06T15:09:52.000Z | 2022-03-12T17:57:14.000Z | // https://github.com/vinniefalco/LuaBridge
//
// Copyright 2019, Dmitry Tarakanov
// SPDX-License-Identifier: MIT
#include "TestBase.h"
#include "LuaBridge/UnorderedMap.h"
#include <unordered_map>
struct UnorderedMapTests : TestBase
{
};
namespace {
struct Data
{
/* explicit */ Data(int i) : i(i) {}
int i;... | 22.07362 | 100 | 0.619511 | seeduvax |
04d376050083642a6f25eb2b6d3bcc5a63abc4b0 | 19,850 | cpp | C++ | source/games/exhumed/src/lighting.cpp | DosFreak/Raze | 389f760d45748da28ba758f12be1be2a9ba9b4b2 | [
"RSA-MD"
] | null | null | null | source/games/exhumed/src/lighting.cpp | DosFreak/Raze | 389f760d45748da28ba758f12be1be2a9ba9b4b2 | [
"RSA-MD"
] | null | null | null | source/games/exhumed/src/lighting.cpp | DosFreak/Raze | 389f760d45748da28ba758f12be1be2a9ba9b4b2 | [
"RSA-MD"
] | null | null | null | //-------------------------------------------------------------------------
/*
Copyright (C) 2010-2019 EDuke32 developers and contributors
Copyright (C) 2019 sirlemonhead, Nuke.YKT
This file is part of PCExhumed.
PCExhumed is free software; you can redistribute it and/or
modify it under the terms of the GNU General Pub... | 23.886883 | 101 | 0.469521 | DosFreak |
04d56e553db29acc82a1c5268364981f0b0a08aa | 2,645 | cpp | C++ | cilk_max.cpp | gonidelis/openCilk_algorithms | c8e7a12a545f9011c66dd00440899a763a8719e3 | [
"MIT"
] | null | null | null | cilk_max.cpp | gonidelis/openCilk_algorithms | c8e7a12a545f9011c66dd00440899a763a8719e3 | [
"MIT"
] | null | null | null | cilk_max.cpp | gonidelis/openCilk_algorithms | c8e7a12a545f9011c66dd00440899a763a8719e3 | [
"MIT"
] | null | null | null | #include <cilk/cilk.h>
#include "opencilk_reducer.hpp"
#include <cilk/reducer_max.h>
#include <iostream>
#include <chrono>
#include <fstream>
#include <vector>
#include <random>
#include <exception>
#define N 1'000'000
int test_count = 100;
unsigned int seed = std::random_device{}();
std::mt19937 gen(seed);
int m... | 21.16 | 96 | 0.565974 | gonidelis |
3e2357eb5172c04336e7432bb42269bcc1602596 | 835 | cc | C++ | src/game/Strategic/LoadSaveStrategicMapElement.cc | oldlaptop/ja2-stracciatella | a29e729dfec564c3ef7f7990ed7d5cd6c2e1c2a8 | [
"BSD-Source-Code"
] | null | null | null | src/game/Strategic/LoadSaveStrategicMapElement.cc | oldlaptop/ja2-stracciatella | a29e729dfec564c3ef7f7990ed7d5cd6c2e1c2a8 | [
"BSD-Source-Code"
] | null | null | null | src/game/Strategic/LoadSaveStrategicMapElement.cc | oldlaptop/ja2-stracciatella | a29e729dfec564c3ef7f7990ed7d5cd6c2e1c2a8 | [
"BSD-Source-Code"
] | null | null | null | #include "Debug.h"
#include "FileMan.h"
#include "LoadSaveStrategicMapElement.h"
#include "LoadSaveData.h"
void ExtractStrategicMapElementFromFile(HWFILE const f, StrategicMapElement& e)
{
BYTE data[41];
FileRead(f, data, sizeof(data));
BYTE const* d = data;
EXTR_SKIP(d, 16)
EXTR_I8( d, e.bNameId)
EXTR_BOOL(d... | 21.410256 | 84 | 0.720958 | oldlaptop |
3e23ea0bfa377348820266a3686d3453eca8633a | 28,405 | cpp | C++ | src/common/umlReflection/src_gen/umlReflectionExec/LiteralRealObject.cpp | MDE4CPP/MDE4CPP | 9db9352dd3b1ae26a5f640e614ed3925499b93f1 | [
"MIT"
] | 12 | 2017-02-17T10:33:51.000Z | 2022-03-01T02:48:10.000Z | src/common/umlReflection/src_gen/umlReflectionExec/LiteralRealObject.cpp | ndongmo/MDE4CPP | 9db9352dd3b1ae26a5f640e614ed3925499b93f1 | [
"MIT"
] | 28 | 2017-10-17T20:23:52.000Z | 2021-03-04T16:07:13.000Z | src/common/umlReflection/src_gen/umlReflectionExec/LiteralRealObject.cpp | ndongmo/MDE4CPP | 9db9352dd3b1ae26a5f640e614ed3925499b93f1 | [
"MIT"
] | 22 | 2017-03-24T19:03:58.000Z | 2022-03-31T12:10:07.000Z | #include "umlReflectionExec/LiteralRealObject.hpp"
//General Includes
#include "abstractDataTypes/SubsetUnion.hpp"
#include "uml/LiteralReal.hpp"
#include "umlReflection/UMLPackage.hpp"
#include "fUML/Semantics/Loci/Locus.hpp"
#include "uml/Class.hpp"
//Includes From Composite Structures
/*Not done for metamodel objec... | 42.907855 | 216 | 0.757965 | MDE4CPP |
3e2804219cfd6c4d2c0f60099c2a7ec743ddb30b | 1,580 | hpp | C++ | C-PhotoDeal_framework/numberPhoto.hpp | numberwolf/iOSDealFace | 5a109690d143ac125a4b679a8ea6ef28a9f147e3 | [
"Apache-2.0"
] | 8 | 2016-03-12T08:39:56.000Z | 2021-07-12T01:48:20.000Z | C-PhotoDeal_framework/numberPhoto.hpp | numberwolf/iOSDealFace | 5a109690d143ac125a4b679a8ea6ef28a9f147e3 | [
"Apache-2.0"
] | null | null | null | C-PhotoDeal_framework/numberPhoto.hpp | numberwolf/iOSDealFace | 5a109690d143ac125a4b679a8ea6ef28a9f147e3 | [
"Apache-2.0"
] | 2 | 2016-03-15T09:48:38.000Z | 2017-02-04T23:53:32.000Z | //
// numberPhoto.hpp
// cameraDeal
//
// Created by numberwolf on 16/2/22.
// Copyright © 2016年 numberwolf. All rights reserved.
// hahah
/**************************************************************************
* Email:porschegt23@foxmail.com || numberwolf11@gmail.com
* Github:https://github.com/numberwolf
... | 29.259259 | 131 | 0.63481 | numberwolf |
3e2ae2f0a7b0567fdfa05bbf2d84493f718b538d | 113 | cpp | C++ | contest/yukicoder/285.cpp | not522/Competitive-Programming | be4a7d25caf5acbb70783b12899474a56c34dedb | [
"Unlicense"
] | 7 | 2018-04-14T14:55:51.000Z | 2022-01-31T10:49:49.000Z | contest/yukicoder/285.cpp | not522/Competitive-Programming | be4a7d25caf5acbb70783b12899474a56c34dedb | [
"Unlicense"
] | 5 | 2018-04-14T14:28:49.000Z | 2019-05-11T02:22:10.000Z | contest/yukicoder/285.cpp | not522/Competitive-Programming | be4a7d25caf5acbb70783b12899474a56c34dedb | [
"Unlicense"
] | null | null | null | #include "template.hpp"
int main() {
long double d(in);
cout << std::setprecision(2) << d * 1.08 << endl;
}
| 16.142857 | 51 | 0.584071 | not522 |
3e2c571ac38f4fd2af741d4d06a75eacb2950ac7 | 13,134 | cpp | C++ | test/MeLikeyCode-QtGameEngine-2a3d47c/testProject/main.cpp | JamesMBallard/qmake-unity | cf5006a83e7fb1bbd173a9506771693a673d387f | [
"MIT"
] | 16 | 2019-05-23T08:10:39.000Z | 2021-12-21T11:20:37.000Z | test/MeLikeyCode-QtGameEngine-2a3d47c/testProject/main.cpp | JamesMBallard/qmake-unity | cf5006a83e7fb1bbd173a9506771693a673d387f | [
"MIT"
] | null | null | null | test/MeLikeyCode-QtGameEngine-2a3d47c/testProject/main.cpp | JamesMBallard/qmake-unity | cf5006a83e7fb1bbd173a9506771693a673d387f | [
"MIT"
] | 2 | 2019-05-23T18:37:43.000Z | 2021-08-24T21:29:40.000Z | #include <QApplication>
#include "qge/Entity.h"
#include "qge/Map.h"
#include "qge/MapGrid.h"
#include "qge/Sound.h"
#include "qge/Game.h"
#include "qge/SpriteSheet.h"
#include "qge/AngledSprite.h"
#include "qge/ECMouseFacer.h"
#include "qge/ECKeyboardMoverPerspective.h"
#include "qge/ECCameraFollower.h"
#include "qge... | 39.920973 | 165 | 0.696361 | JamesMBallard |
3e2cfd1cf7f3f69c2d19a39ab1ffdeb4464b5bff | 4,692 | hpp | C++ | src/Enzo/enzo_EnzoSolverHg.hpp | ThomasBolden/cello-mod | 68431de28a3575c95bb40c47fce7a352c6b92145 | [
"MIT",
"BSD-3-Clause"
] | null | null | null | src/Enzo/enzo_EnzoSolverHg.hpp | ThomasBolden/cello-mod | 68431de28a3575c95bb40c47fce7a352c6b92145 | [
"MIT",
"BSD-3-Clause"
] | null | null | null | src/Enzo/enzo_EnzoSolverHg.hpp | ThomasBolden/cello-mod | 68431de28a3575c95bb40c47fce7a352c6b92145 | [
"MIT",
"BSD-3-Clause"
] | null | null | null | // See LICENSE_CELLO file for license and copyright information
/// @file enzo_EnzoSolverHg.hpp
/// @author James Bordner (jobordner@ucsd.edu)
/// @date 2015-06-02
/// @brief [\ref Enzo] Declaration of EnzoSolverHg
///
/// Multigrid for solving a linear system on the root-level grid only
#ifndef ENZO_EN... | 21.823256 | 74 | 0.647272 | ThomasBolden |
3e328cfb83c3d0552fe6846a55521736fd260753 | 15,525 | cpp | C++ | src/o2requestor.cpp | someretical/o2 | 9784ebb9d287d959e4b7f856f39cdfc6ae256b59 | [
"BSD-2-Clause"
] | null | null | null | src/o2requestor.cpp | someretical/o2 | 9784ebb9d287d959e4b7f856f39cdfc6ae256b59 | [
"BSD-2-Clause"
] | null | null | null | src/o2requestor.cpp | someretical/o2 | 9784ebb9d287d959e4b7f856f39cdfc6ae256b59 | [
"BSD-2-Clause"
] | null | null | null | #include <cassert>
#include <QBuffer>
#include <QDebug>
#include <QTimer>
#if QT_VERSION >= 0x050000
#include <QUrlQuery>
#endif
#include "o0globals.h"
#include "o2.h"
#include "o2requestor.h"
O2Requestor::O2Requestor(QNetworkAccessManager *manager, O2 *authenticator, QObject *parent)
: QObject(parent), reply_(N... | 38.333333 | 151 | 0.703704 | someretical |
3e3709714ceb4e5dd903c0333ddae2a0f756ed05 | 448 | hpp | C++ | src/Printer.hpp | amoulis/Chessy | 7a31a79ee15eef25037ba316918c6a6f603caf6c | [
"Unlicense"
] | null | null | null | src/Printer.hpp | amoulis/Chessy | 7a31a79ee15eef25037ba316918c6a6f603caf6c | [
"Unlicense"
] | null | null | null | src/Printer.hpp | amoulis/Chessy | 7a31a79ee15eef25037ba316918c6a6f603caf6c | [
"Unlicense"
] | null | null | null | /***************************************************************************
Printer.hpp
Prints data on screen (board display with the pieces)
***************************************************************************/
#ifndef PRINTER_HPP
#define PRINTER_HPP
namespace printer{
class
Printer {
public:
Printer();
... | 18.666667 | 76 | 0.482143 | amoulis |
3e39e755701a12634d8cc52fb7a45973baaa1767 | 3,608 | cc | C++ | ThirdParty/webrtc/src/net/proxy/proxy_resolver_error_observer_mojo_unittest.cc | JokeJoe8806/licode-windows | 2bfdaf6e87669df2b9960da50c6800bc3621b80b | [
"MIT"
] | 8 | 2018-12-27T14:57:13.000Z | 2021-04-07T07:03:15.000Z | ThirdParty/webrtc/src/net/proxy/proxy_resolver_error_observer_mojo_unittest.cc | JokeJoe8806/licode-windows | 2bfdaf6e87669df2b9960da50c6800bc3621b80b | [
"MIT"
] | 1 | 2019-03-13T01:35:03.000Z | 2020-10-08T04:13:04.000Z | ThirdParty/webrtc/src/net/proxy/proxy_resolver_error_observer_mojo_unittest.cc | JokeJoe8806/licode-windows | 2bfdaf6e87669df2b9960da50c6800bc3621b80b | [
"MIT"
] | 9 | 2018-12-28T11:45:12.000Z | 2021-05-11T02:15:31.000Z | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/proxy/proxy_resolver_error_observer_mojo.h"
#include <utility>
#include <vector>
#include "base/bind.h"
#include "base/location.h"
#includ... | 34.037736 | 80 | 0.747506 | JokeJoe8806 |
3e3af43e9f9b213887a4a9b476a565c78d7ff490 | 71,993 | cpp | C++ | lathraea-rhodopaea/src/front-end/eventManagerMenu.cpp | SSIvanov19/lathraea-rhodopaea | d38510e69a15d0868ba4385574f41bd9dc666a0f | [
"MIT"
] | 9 | 2022-02-15T21:17:45.000Z | 2022-02-22T05:16:06.000Z | lathraea-rhodopaea/src/front-end/eventManagerMenu.cpp | SSIvanov19/lathraea-rhodopaea | d38510e69a15d0868ba4385574f41bd9dc666a0f | [
"MIT"
] | 7 | 2022-02-15T23:51:44.000Z | 2022-02-16T05:17:52.000Z | lathraea-rhodopaea/src/front-end/eventManagerMenu.cpp | SSIvanov19/lathraea-rhodopaea | d38510e69a15d0868ba4385574f41bd9dc666a0f | [
"MIT"
] | null | null | null | /*! @file eventManagerMenu.cpp
* @brief A source file for the event menu handaling system.
*/
#include <front-end/output.h>
#include <front-end/graphics.h>
#include <front-end/enumerations.h>
#include <front-end/helperFunctions.h>
#include <front-end/eventManagerMenu.h>
void addOtherEvent(EventManager* e... | 25.448215 | 102 | 0.567097 | SSIvanov19 |
3e3b20ff37cdd09ff1267c3222b779b0d8da52e1 | 133,608 | cpp | C++ | src/bgame/bg_misc.cpp | jumptohistory/jaymod | 92d0a0334ac27da94b12280b0b42b615b8813c23 | [
"Apache-2.0"
] | 25 | 2016-05-27T11:53:58.000Z | 2021-10-17T00:13:41.000Z | src/bgame/bg_misc.cpp | jumptohistory/jaymod | 92d0a0334ac27da94b12280b0b42b615b8813c23 | [
"Apache-2.0"
] | 1 | 2016-07-09T05:25:03.000Z | 2016-07-09T05:25:03.000Z | src/bgame/bg_misc.cpp | jumptohistory/jaymod | 92d0a0334ac27da94b12280b0b42b615b8813c23 | [
"Apache-2.0"
] | 16 | 2016-05-28T23:06:50.000Z | 2022-01-26T13:47:12.000Z | /*
* name: bg_misc.c
*
* desc: both games misc functions, all completely stateless
*
*/
#include <bgame/impl.h>
///////////////////////////////////////////////////////////////////////////////
#ifdef CGAMEDLL
extern vmCvar_t cg_gameType;
#define gametypeCvar cg_gameType
#elif GAMEDLL
extern vmCvar_t g_develop... | 24.121322 | 235 | 0.60807 | jumptohistory |
3e3bf20cc9a5f0a8537791823182aee5be3bc681 | 18,624 | cpp | C++ | WorkScript/Function/FunctionFragment.cpp | jingjiajie/WorkScript | 6b80932fcdbae0e915c37bac19d262025234074b | [
"MIT"
] | 3 | 2018-07-23T10:59:00.000Z | 2019-04-05T04:57:19.000Z | WorkScript/Function/FunctionFragment.cpp | jingjiajie/WorkScript | 6b80932fcdbae0e915c37bac19d262025234074b | [
"MIT"
] | null | null | null | WorkScript/Function/FunctionFragment.cpp | jingjiajie/WorkScript | 6b80932fcdbae0e915c37bac19d262025234074b | [
"MIT"
] | 1 | 2019-06-28T05:57:47.000Z | 2019-06-28T05:57:47.000Z | #include "Variable.h"
#include "FunctionFragment.h"
#include "InstantialContext.h"
#include "ParameterDecl.h"
#include "Locales.h"
#include "Exception.h"
#include "Function.h"
#include "MultiValue.h"
#include "GeneralSymbolInfo.h"
using namespace WorkScript;
using namespace std;
FunctionFragment::FunctionFragment(con... | 42.520548 | 189 | 0.633054 | jingjiajie |
3e3c2a0b7a6dcf223c185ff02f697577bf409e94 | 23,974 | cpp | C++ | devices/K32L2A41A/mcuxpresso/startup_k32l2a41a.cpp | mmahadevan108/mcux-sdk | a242602a02fee2945287d446801217904a26fc7e | [
"Apache-2.0"
] | 175 | 2021-01-19T17:11:01.000Z | 2022-03-31T06:04:43.000Z | devices/K32L2A41A/mcuxpresso/startup_k32l2a41a.cpp | tannewt/mcux-sdk | 1f15787b0abb7886f24434297cd293cf16ad04ab | [
"Apache-2.0"
] | 69 | 2021-01-27T08:18:51.000Z | 2022-03-29T12:16:57.000Z | devices/K32L2A41A/mcuxpresso/startup_k32l2a41a.cpp | tannewt/mcux-sdk | 1f15787b0abb7886f24434297cd293cf16ad04ab | [
"Apache-2.0"
] | 72 | 2021-01-19T14:34:20.000Z | 2022-03-21T09:02:18.000Z | //*****************************************************************************
// K32L2A41A startup code for use with MCUXpresso IDE
//
// Version : 160420
//*****************************************************************************
//
// Copyright 2016-2020 NXP
// All rights reserved.
//
// SPDX-License-Identifier... | 35.78209 | 107 | 0.63986 | mmahadevan108 |
3e3edb1e7e2343c734c4bd70d0f2a930a6a755a0 | 1,706 | hpp | C++ | include/mizuiro/image/detail/subview_pitch.hpp | cpreh/mizuiro | 5ab15bde4e72e3a4978c034b8ff5700352932485 | [
"BSL-1.0"
] | 1 | 2015-08-22T04:19:39.000Z | 2015-08-22T04:19:39.000Z | include/mizuiro/image/detail/subview_pitch.hpp | freundlich/mizuiro | 5ab15bde4e72e3a4978c034b8ff5700352932485 | [
"BSL-1.0"
] | null | null | null | include/mizuiro/image/detail/subview_pitch.hpp | freundlich/mizuiro | 5ab15bde4e72e3a4978c034b8ff5700352932485 | [
"BSL-1.0"
] | null | null | null | // Copyright Carl Philipp Reh 2009 - 2016.
// 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 MIZUIRO_IMAGE_DETAIL_SUBVIEW_PITCH_HPP_INCLUDED
#define MIZUIRO_IMAGE_DETAIL_SUBVIEW_PITCH_... | 32.807692 | 99 | 0.680539 | cpreh |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.