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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f01007c18ea7a7a5e19d354b4ac5cb158829bab5 | 1,725 | hpp | C++ | tau/TauEngine/include/dx/dx10/DX10GraphicsAccelerator.hpp | hyfloac/TauEngine | 1559b2a6e6d1887b8ee02932fe0aa6e5b9d5652c | [
"MIT"
] | 1 | 2020-04-22T04:07:01.000Z | 2020-04-22T04:07:01.000Z | tau/TauEngine/include/dx/dx10/DX10GraphicsAccelerator.hpp | hyfloac/TauEngine | 1559b2a6e6d1887b8ee02932fe0aa6e5b9d5652c | [
"MIT"
] | null | null | null | tau/TauEngine/include/dx/dx10/DX10GraphicsAccelerator.hpp | hyfloac/TauEngine | 1559b2a6e6d1887b8ee02932fe0aa6e5b9d5652c | [
"MIT"
] | null | null | null | #pragma once
#include "system/GraphicsAccelerator.hpp"
#ifdef _WIN32
#include <dxgi.h>
class TAU_DLL DX10GraphicsAccelerator final : public IGraphicsAccelerator
{
DELETE_CM(DX10GraphicsAccelerator);
private:
IDXGIAdapter* _dxgiAdapter;
public:
DX10GraphicsAccelerator(const DynString& vendor,... | 37.5 | 99 | 0.721159 | hyfloac |
f0159206adef374072b208af6ff2aea5c5e6d0df | 652 | cpp | C++ | CS2370/Code/lower_k.cpp | Davidjbennett/DavidBennett.github.io | 09a2652b7ace8741bf23c6432abd58ee790b9f0c | [
"MIT"
] | 3 | 2021-05-18T16:17:29.000Z | 2022-01-20T15:46:59.000Z | CS2370/Code/lower_k.cpp | Davidjbennett/DavidBennett | 09a2652b7ace8741bf23c6432abd58ee790b9f0c | [
"MIT"
] | null | null | null | CS2370/Code/lower_k.cpp | Davidjbennett/DavidBennett | 09a2652b7ace8741bf23c6432abd58ee790b9f0c | [
"MIT"
] | null | null | null | #include <bitset>
#include <iostream>
using namespace std;
int main() {
cout << "Enter an integer to extract from: ";
unsigned int n;
cin >> n;
cout << "n = " << n << " = " << bitset<32>(n) << endl;
cout << "Enter the number of lower bits: ";
unsigned int k;
cin >> k;
unsigned int mas... | 25.076923 | 79 | 0.615031 | Davidjbennett |
f016ad41b6a8146fca7c4e0b999da41d1706fa97 | 1,233 | cpp | C++ | src/ImageView/line_reader.cpp | miere43/imageview | a264fa44ba0140a8171913be763abdddbc531b4a | [
"Unlicense"
] | 1 | 2021-06-24T12:19:41.000Z | 2021-06-24T12:19:41.000Z | src/ImageView/line_reader.cpp | miere43/imageview | a264fa44ba0140a8171913be763abdddbc531b4a | [
"Unlicense"
] | null | null | null | src/ImageView/line_reader.cpp | miere43/imageview | a264fa44ba0140a8171913be763abdddbc531b4a | [
"Unlicense"
] | null | null | null | #include "line_reader.hpp"
#include "error.hpp"
void Line_Reader::set_string_builder(String_Builder* sb)
{
this->line = sb;
}
void Line_Reader::set_source(const char* source, int source_count)
{
this->source = source;
this->source_count = source_count;
this->index = 0;
}
bool Line_Reader::next_line... | 22.017857 | 71 | 0.583942 | miere43 |
f016d7b651a3aa5d2ed2dae17e7be7e5cf138306 | 7,664 | cpp | C++ | common/xpmenu/Draw.cpp | ultimatezen/felix | 5a7ad298ca4dcd5f1def05c60ae3c84519ec54c4 | [
"MIT"
] | null | null | null | common/xpmenu/Draw.cpp | ultimatezen/felix | 5a7ad298ca4dcd5f1def05c60ae3c84519ec54c4 | [
"MIT"
] | null | null | null | common/xpmenu/Draw.cpp | ultimatezen/felix | 5a7ad298ca4dcd5f1def05c60ae3c84519ec54c4 | [
"MIT"
] | null | null | null | ///////////////////////////////////////////////////////////////////////////////
//
// Draw.cpp : implementation file
//
///////////////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "Tools.h"
#include "Draw.h"
///////////////////////////////////////////////////... | 32.892704 | 136 | 0.4375 | ultimatezen |
f018339a65f00e68a0847433e3d5c05c6a368f41 | 6,596 | cpp | C++ | Source/Modules/MMOEngine/Scenario/ScLoginClient_SlaveImpl.cpp | RamilGauss/MMO-Framework | c7c97b019adad940db86d6533861deceafb2ba04 | [
"MIT"
] | 27 | 2015-01-08T08:26:29.000Z | 2019-02-10T03:18:05.000Z | Source/Modules/MMOEngine/Scenario/ScLoginClient_SlaveImpl.cpp | RamilGauss/MMO-Framework | c7c97b019adad940db86d6533861deceafb2ba04 | [
"MIT"
] | 1 | 2017-04-05T02:02:14.000Z | 2017-04-05T02:02:14.000Z | Source/Modules/MMOEngine/Scenario/ScLoginClient_SlaveImpl.cpp | RamilGauss/MMO-Framework | c7c97b019adad940db86d6533861deceafb2ba04 | [
"MIT"
] | 17 | 2015-01-18T02:50:01.000Z | 2019-02-08T21:00:53.000Z | /*
Author: Gudakov Ramil Sergeevich a.k.a. Gauss
Гудаков Рамиль Сергеевич
Contacts: [ramil2085@mail.ru, ramil2085@gmail.com]
See for more information LICENSE.md.
*/
#include "ScLoginClient_SlaveImpl.h"
#include "ContextScLoginClient.h"
#include "SessionManager.h"
#include "Base.h"
#include "Logger.h"
#incl... | 31.864734 | 97 | 0.604457 | RamilGauss |
f01aca7fa6f0bb169b4c16a05a9389286c367568 | 6,249 | cpp | C++ | library/src/blas1/rocblas_rotmg.cpp | rosenrodt/rocBLAS | e24058b09239814bea61b74bd736bcb6659d0915 | [
"MIT"
] | null | null | null | library/src/blas1/rocblas_rotmg.cpp | rosenrodt/rocBLAS | e24058b09239814bea61b74bd736bcb6659d0915 | [
"MIT"
] | 1 | 2019-09-26T01:51:09.000Z | 2019-09-26T18:09:56.000Z | library/src/blas1/rocblas_rotmg.cpp | mahmoodw/rocBLAS | 53b1271e4881ef7473b78e8783e4d55740e9b933 | [
"MIT"
] | null | null | null | /* ************************************************************************
* Copyright 2016-2019 Advanced Micro Devices, Inc.
* ************************************************************************ */
#include "handle.h"
#include "logging.h"
#include "rocblas.h"
#include "utility.h"
namespace
{
template <typ... | 28.148649 | 99 | 0.351416 | rosenrodt |
f01caef8c10633019365f6c229dacf5ad86e311d | 2,139 | cc | C++ | chrome/browser/ui/location_bar/location_bar.cc | google-ar/chromium | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 777 | 2017-08-29T15:15:32.000Z | 2022-03-21T05:29:41.000Z | chrome/browser/ui/location_bar/location_bar.cc | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 66 | 2017-08-30T18:31:18.000Z | 2021-08-02T10:59:35.000Z | chrome/browser/ui/location_bar/location_bar.cc | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 123 | 2017-08-30T01:19:34.000Z | 2022-03-17T22:55:31.000Z | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/location_bar/location_bar.h"
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
#include ... | 37.526316 | 79 | 0.73539 | google-ar |
f021a2c5758d89932548211b571059623e22f2ee | 511 | hpp | C++ | src/event_handler/event_thread.hpp | Morilli/LeagueModel | a364206a9115ffe7eea31bbddf94a646d13552da | [
"MIT"
] | 26 | 2018-12-09T15:35:02.000Z | 2021-05-02T11:36:19.000Z | src/event_handler/event_thread.hpp | Morilli/LeagueModel | a364206a9115ffe7eea31bbddf94a646d13552da | [
"MIT"
] | 19 | 2018-12-09T20:14:36.000Z | 2021-11-10T07:04:52.000Z | src/event_handler/event_thread.hpp | Morilli/LeagueModel | a364206a9115ffe7eea31bbddf94a646d13552da | [
"MIT"
] | 5 | 2018-11-14T10:41:56.000Z | 2022-02-19T22:22:32.000Z | #pragma once
#include <thread>
#define MAX_EVENT_THREAD_EVENT_COUNT 64
class EventHandler;
class Event;
class EventThread
{
private:
enum StateType
{
NoState,
Idle,
Running,
ForceQuit,
ThreadEnded
};
friend class EventHandler;
protected:
EventThread();
~EventThread();
void Detach();
void Join();... | 12.775 | 46 | 0.733855 | Morilli |
f02379d37eb17fe207085ecdc5d30881cf094626 | 3,590 | cpp | C++ | src/teakra.cpp | jroweboy/teakra | ad151388cd24e0b85b3992dfa92d66808f7ae925 | [
"MIT"
] | null | null | null | src/teakra.cpp | jroweboy/teakra | ad151388cd24e0b85b3992dfa92d66808f7ae925 | [
"MIT"
] | null | null | null | src/teakra.cpp | jroweboy/teakra | ad151388cd24e0b85b3992dfa92d66808f7ae925 | [
"MIT"
] | null | null | null | #include <array>
#include <atomic>
#include "ahbm.h"
#include "apbp.h"
#include "btdmp.h"
#include "core_timing.h"
#include "dma.h"
#include "icu.h"
#include "memory_interface.h"
#include "mmio.h"
#include "processor.h"
#include "shared_memory.h"
#include "teakra/teakra.h"
#include "timer.h"
namespace Teakra {
struct... | 29.669421 | 97 | 0.669638 | jroweboy |
f027336f8e93c6025f1ec8c86095fe4ddcf6efc8 | 28,206 | hpp | C++ | Support/Modules/GSRoot/CopyOnWriteArray.hpp | graphisoft-python/TextEngine | 20c2ff53877b20fdfe2cd51ce7abdab1ff676a70 | [
"Apache-2.0"
] | 3 | 2019-07-15T10:54:54.000Z | 2020-01-25T08:24:51.000Z | Support/Modules/GSRoot/CopyOnWriteArray.hpp | graphisoft-python/GSRoot | 008fac2c6bf601ca96e7096705e25b10ba4d3e75 | [
"Apache-2.0"
] | null | null | null | Support/Modules/GSRoot/CopyOnWriteArray.hpp | graphisoft-python/GSRoot | 008fac2c6bf601ca96e7096705e25b10ba4d3e75 | [
"Apache-2.0"
] | 1 | 2020-09-26T03:17:22.000Z | 2020-09-26T03:17:22.000Z |
// *****************************************************************************
//
// Declaration and implementation of CopyOnWriteArray<T> class
//
// Module: GSRoot
// Namespace: GS
// Contact person: SN
//
// *****************************************************************************
#ifndef GS_COPYONWRITEAR... | 28.693795 | 126 | 0.432851 | graphisoft-python |
f02b5ddb7270d9ce2b5d296d808c47dee529bbf8 | 40,026 | cpp | C++ | scripts/DBScripts.cpp | mpforums/RenSharp | 5b3fb8bff2a1772a82a4148bcf3e1265a11aa097 | [
"Apache-2.0"
] | 1 | 2021-10-04T02:34:33.000Z | 2021-10-04T02:34:33.000Z | scripts/DBScripts.cpp | TheUnstoppable/RenSharp | 2a123c6018c18f3fc73501737d600e291ac3afa7 | [
"Apache-2.0"
] | 9 | 2019-07-03T19:19:59.000Z | 2020-03-02T22:00:21.000Z | scripts/DBScripts.cpp | TheUnstoppable/RenSharp | 2a123c6018c18f3fc73501737d600e291ac3afa7 | [
"Apache-2.0"
] | 2 | 2019-08-14T08:37:36.000Z | 2020-09-29T06:44:26.000Z | #include "General.h"
#include "engine_tt.h"
#include "engine_def.h"
#include "VehicleGameObjDef.h"
#include "BeaconGameObjDef.h"
#include "TeamPurchaseSettingsDefClass.h"
#include "PurchaseSettingsDefClass.h"
#include "PowerupGameObj.h"
#include "PowerupGameObjDef.h"
#include "SoldierGameObj.h"
#include "VehicleGameObj... | 30.741935 | 386 | 0.717908 | mpforums |
f02c708484649ea53ac11744c812b003f91e0706 | 12,931 | cpp | C++ | lib/src/gtoplus/serialize.cpp | theodelrieu/prc | 199942ed8365f6e49a7e9667d587d1ae06f14999 | [
"BSL-1.0"
] | 1 | 2022-01-04T22:37:00.000Z | 2022-01-04T22:37:00.000Z | lib/src/gtoplus/serialize.cpp | theodelrieu/prc | 199942ed8365f6e49a7e9667d587d1ae06f14999 | [
"BSL-1.0"
] | null | null | null | lib/src/gtoplus/serialize.cpp | theodelrieu/prc | 199942ed8365f6e49a7e9667d587d1ae06f14999 | [
"BSL-1.0"
] | null | null | null | #include <prc/gtoplus/serialize.hpp>
#include <prc/detail/unicode.hpp>
#include <prc/range_elem.hpp>
#include <cstring>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <map>
#include <optional>
#include <sstream>
namespace prc::gtoplus
{
namespace
{
struct group_name_rgb
{
std::string name;
in... | 30.283372 | 134 | 0.607996 | theodelrieu |
f02d4b30a4d7e005ddb192d575ccb0b02eb80c96 | 29,715 | cpp | C++ | src/types.cpp | Javyre/wf-config | c9603754c650c2121582735c469e9cb9117e309e | [
"MIT"
] | 10 | 2019-02-20T08:52:26.000Z | 2022-03-27T00:23:52.000Z | src/types.cpp | Javyre/wf-config | c9603754c650c2121582735c469e9cb9117e309e | [
"MIT"
] | 43 | 2018-09-05T18:03:58.000Z | 2022-03-31T15:18:46.000Z | src/types.cpp | Javyre/wf-config | c9603754c650c2121582735c469e9cb9117e309e | [
"MIT"
] | 14 | 2019-02-13T12:54:26.000Z | 2021-07-16T21:23:12.000Z | #include <wayfire/config/types.hpp>
#include <vector>
#include <map>
#include <cmath>
#include <algorithm>
#include <libevdev/libevdev.h>
#include <sstream>
/* --------------------------- Primitive types ------------------------------ */
template<>
stdx::optional<bool> wf::option_type::from_string(const std::string& ... | 23.658439 | 84 | 0.592798 | Javyre |
f02fe3f55753057df83f9cc8f78606698f18e0ac | 17,328 | cpp | C++ | src/vscp/common/retired_functionality/vscpmulticast.cpp | nanocortex/vscp | 0b1a51a35a886921179a8112c592547f84c9771a | [
"CC-BY-3.0"
] | null | null | null | src/vscp/common/retired_functionality/vscpmulticast.cpp | nanocortex/vscp | 0b1a51a35a886921179a8112c592547f84c9771a | [
"CC-BY-3.0"
] | null | null | null | src/vscp/common/retired_functionality/vscpmulticast.cpp | nanocortex/vscp | 0b1a51a35a886921179a8112c592547f84c9771a | [
"CC-BY-3.0"
] | null | null | null | // File: vscpmulticast.cpp
//
// Receiving multicast frames (VSCP Works)
//
// This file is part of the VSCP (https://www.vscp.org)
//
// The MIT License (MIT)
//
// Copyright © 2000-2020 Ake Hedman, Grodans Paradis AB
// <info@grodansparadis.com>
//
// Permission is hereby granted, free of charge, to any person obtain... | 35.076923 | 80 | 0.50606 | nanocortex |
f03643c5fc7f95c1ce0bb42863d6abde960b67a5 | 12,693 | cpp | C++ | JimBoy/Debugger.cpp | Tymec/JimBoy | 95a5c6482c4e54c0b4a1bf29ce6fb86fc2f19a41 | [
"MIT"
] | null | null | null | JimBoy/Debugger.cpp | Tymec/JimBoy | 95a5c6482c4e54c0b4a1bf29ce6fb86fc2f19a41 | [
"MIT"
] | null | null | null | JimBoy/Debugger.cpp | Tymec/JimBoy | 95a5c6482c4e54c0b4a1bf29ce6fb86fc2f19a41 | [
"MIT"
] | null | null | null | #include "Debugger.h"
#include "Types.h"
#include "imgui_memory_editor.h"
unsigned WIDTH = 1000;
unsigned HEIGHT = 1000;
Debugger::Debugger(Cpu* cpu, Ppu* ppu, MemoryController* memoryController) {
this->cpu = cpu;
this->ppu = ppu;
this->memoryController = memoryController;
if(SDL_Init(SDL_INIT_EVERYTHING) != 0)... | 28.65237 | 175 | 0.677618 | Tymec |
f037897ee694800b6e2a4c414996314682c32e17 | 1,354 | cpp | C++ | Online-Judges/LeetCode/977.Squares-of-a-Sorted-Array.cpp | shihab4t/Competitive-Programming | e8eec7d4f7d86bfa1c00b7fbbedfd6a1518f19be | [
"Unlicense"
] | 3 | 2021-06-15T01:19:23.000Z | 2022-03-16T18:23:53.000Z | Online-Judges/LeetCode/977.Squares-of-a-Sorted-Array.cpp | shihab4t/Competitive-Programming | e8eec7d4f7d86bfa1c00b7fbbedfd6a1518f19be | [
"Unlicense"
] | null | null | null | Online-Judges/LeetCode/977.Squares-of-a-Sorted-Array.cpp | shihab4t/Competitive-Programming | e8eec7d4f7d86bfa1c00b7fbbedfd6a1518f19be | [
"Unlicense"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
class Solution {
vector<int> a;
void merge(int l, int r, int mid) {
int l_len = mid - l + 1;
int r_len = r - mid;
int l_ara[l_len + 1], r_ara[r_len + 1];
for (int i = 0; i < l_len; i++)
l_ara[i] = a[i + l];
for ... | 20.830769 | 50 | 0.409897 | shihab4t |
f0394df5f58e67b770fa28fc4b739da94b2752d6 | 1,756 | cpp | C++ | Practice/2017/2017.8.17/HDU4289.cpp | SYCstudio/OI | 6e9bfc17dbd4b43467af9b19aa2aed41e28972fa | [
"MIT"
] | 4 | 2017-10-31T14:25:18.000Z | 2018-06-10T16:10:17.000Z | Practice/2017/2017.8.17/HDU4289.cpp | SYCstudio/OI | 6e9bfc17dbd4b43467af9b19aa2aed41e28972fa | [
"MIT"
] | null | null | null | Practice/2017/2017.8.17/HDU4289.cpp | SYCstudio/OI | 6e9bfc17dbd4b43467af9b19aa2aed41e28972fa | [
"MIT"
] | null | null | null | #include<iostream>
#include<cstdio>
#include<cstdlib>
#include<cstring>
#include<algorithm>
using namespace std;
const int maxN=600;
const int maxM=20001*20;
const int inf=2147483647;
class Edge
{
public:
int u,v,flow;
};
int n,m;
int S,T;
int cnt=-1;
int Head[maxN];
int Next[maxM];
Edge E[maxM];
int depth[maxN];
i... | 13.40458 | 44 | 0.530182 | SYCstudio |
f03bd8d993f42592cc5cff9722b46427abb9ea62 | 11,077 | cpp | C++ | Source/Engine/SDLEngine.cpp | gabr1e11/cornerstone | bc696e22af350b867219ef3ac99840b3e8a3f20a | [
"MIT"
] | null | null | null | Source/Engine/SDLEngine.cpp | gabr1e11/cornerstone | bc696e22af350b867219ef3ac99840b3e8a3f20a | [
"MIT"
] | null | null | null | Source/Engine/SDLEngine.cpp | gabr1e11/cornerstone | bc696e22af350b867219ef3ac99840b3e8a3f20a | [
"MIT"
] | null | null | null | //
// SDLEngine.cpp
//
// @author Roberto Cano
//
#include "SDLEngine.hpp"
#include "Framework/Core/GameObject.hpp"
#include <stdexcept>
#include <algorithm>
#define GLM_FORCE_RADIANS
#include <glm/gtc/matrix_transform.hpp>
#include <glew/glew.h>
#include <glm/glm.hpp>
#include <sdl/Sdl.h>
#include <sdl/SDL_image.... | 28.257653 | 187 | 0.737384 | gabr1e11 |
f03e9404d821b0d336e0128af0599b751ac4b67d | 953 | hpp | C++ | drivers/LightDriver.hpp | jpmorris33/syntheyes3 | 36b0312616145e8da44868897f231cbe7702a64f | [
"BSD-3-Clause"
] | 2 | 2022-01-24T23:00:43.000Z | 2022-03-01T01:39:08.000Z | drivers/LightDriver.hpp | jpmorris33/syntheyes3 | 36b0312616145e8da44868897f231cbe7702a64f | [
"BSD-3-Clause"
] | null | null | null | drivers/LightDriver.hpp | jpmorris33/syntheyes3 | 36b0312616145e8da44868897f231cbe7702a64f | [
"BSD-3-Clause"
] | null | null | null | #ifndef __LIGHTDRIVER_HPP__
#define __LIGHTDRIVER_HPP__
#include <stdint.h>
#include "../gpio.hpp"
#define LIGHTMODE_NORMAL 0
#define LIGHTMODE_UNISON 1
#define LIGHTMODE_STOP 2
class LightDriver {
public:
virtual void init(int ledcount, const char *param);
virtual void draw();
void update();
void force(i... | 23.243902 | 71 | 0.749213 | jpmorris33 |
f03ffe50c467b584222e8654ef6121c1798d50b0 | 1,037 | cpp | C++ | MetalTrainer/src/WorkoutThread.cpp | eperiod-software/metal-trainer | 9a9307d15eda4c071357a0259069d2ddd6358d89 | [
"BSD-3-Clause"
] | null | null | null | MetalTrainer/src/WorkoutThread.cpp | eperiod-software/metal-trainer | 9a9307d15eda4c071357a0259069d2ddd6358d89 | [
"BSD-3-Clause"
] | null | null | null | MetalTrainer/src/WorkoutThread.cpp | eperiod-software/metal-trainer | 9a9307d15eda4c071357a0259069d2ddd6358d89 | [
"BSD-3-Clause"
] | null | null | null | /*
* WorkoutThread.cpp
*
* Created on: Jul 9, 2013
* Author: Vaughn Friesen
*/
#include <QThread>
#include <iostream>
#include "WorkoutThread.h"
#include "interval/IntervalManager.h"
using namespace std;
WorkoutThread::WorkoutThread(int workout) {
this->workout = workout;
}
WorkoutThread::~WorkoutThrea... | 22.06383 | 66 | 0.708775 | eperiod-software |
f040ecfafea2ab1eef707c6e878be196c83176f9 | 2,730 | cpp | C++ | src/ui/scene_graph/SGUIControl.cpp | danielroth1/CAE | 7eaa096e45fd32f55bd6de94c30dcf706c6f2093 | [
"MIT"
] | 5 | 2019-04-20T17:48:10.000Z | 2022-01-06T01:39:33.000Z | src/ui/scene_graph/SGUIControl.cpp | danielroth1/CAE | 7eaa096e45fd32f55bd6de94c30dcf706c6f2093 | [
"MIT"
] | null | null | null | src/ui/scene_graph/SGUIControl.cpp | danielroth1/CAE | 7eaa096e45fd32f55bd6de94c30dcf706c6f2093 | [
"MIT"
] | 2 | 2020-08-04T20:21:00.000Z | 2022-03-16T15:01:04.000Z | #include "SGUIControl.h"
#include <ui/UIControl.h>
#include <scene/scene_graph/SGControl.h>
#include <scene/scene_graph/SGCore.h>
#include <scene/model/PolygonRenderModel.h>
#include <scene/model/RenderModel.h>
#include <scene/model/RenderModelVisitor.h>
SGUIControl::SGUIControl()
: mVisualizeFaceNormals(false)... | 25.277778 | 84 | 0.689744 | danielroth1 |
f041b5428199aa5fd18086cf096a526d85b8de59 | 2,684 | hpp | C++ | Hurrican/src/DX8Joystick.hpp | polluks/Hurrican-1 | 3808399d798342abe0f15655c7c3ceb95bc8f095 | [
"MIT"
] | 21 | 2018-04-13T10:45:45.000Z | 2022-03-29T14:53:43.000Z | Hurrican/src/DX8Joystick.hpp | polluks/Hurrican-1 | 3808399d798342abe0f15655c7c3ceb95bc8f095 | [
"MIT"
] | 10 | 2021-06-30T14:29:36.000Z | 2022-01-06T17:03:48.000Z | Hurrican/src/DX8Joystick.hpp | polluks/Hurrican-1 | 3808399d798342abe0f15655c7c3ceb95bc8f095 | [
"MIT"
] | 3 | 2021-10-08T12:35:05.000Z | 2022-03-03T06:03:49.000Z | // Datei : DX8Joystick.h
// --------------------------------------------------------------------------------------
//
// Joystick Klasse
//
// (c) 2002 Jörg M. Winterstein
//
// --------------------------------------------------------------------------------------
#ifndef _DX8JOYSTICK_HPP_
#define _DX8JOYSTICK_HPP_
... | 37.277778 | 104 | 0.419151 | polluks |
f0440fd02aa633860690289c79634eadccb8c151 | 6,026 | cpp | C++ | ledger/environment.cpp | michealbrownm/phantom | a1a41a6f9317c26e621952637c7e331c8dacf79d | [
"Apache-2.0"
] | 27 | 2020-09-24T03:14:13.000Z | 2021-11-29T14:00:36.000Z | ledger/environment.cpp | david2011dzha/phantom | eff76713e03966eb44e20a07806b8d47ec73ad09 | [
"Apache-2.0"
] | null | null | null | ledger/environment.cpp | david2011dzha/phantom | eff76713e03966eb44e20a07806b8d47ec73ad09 | [
"Apache-2.0"
] | 10 | 2020-09-24T14:34:30.000Z | 2021-02-22T06:50:31.000Z | /*
phantom is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
phantom is distributed in the hope that it will be useful,
but WITHOUT ANY ... | 27.022422 | 122 | 0.694656 | michealbrownm |
f047a96fd00fb9d967cd4ca6b208e1a7f20b78e3 | 1,208 | cpp | C++ | sources/systems/transform.cpp | wonderwombatgames/hydrogine | c44c113090a7a3e9357775c69b3e94adb9d6569d | [
"MIT"
] | null | null | null | sources/systems/transform.cpp | wonderwombatgames/hydrogine | c44c113090a7a3e9357775c69b3e94adb9d6569d | [
"MIT"
] | null | null | null | sources/systems/transform.cpp | wonderwombatgames/hydrogine | c44c113090a7a3e9357775c69b3e94adb9d6569d | [
"MIT"
] | null | null | null | /**
*
*/
#include "systems/transform.hpp"
namespace W2E
{
namespace System
{
Transform::Transform()
: SystemsInterface{"Transform"}
, components_{}
{
}
Transform::Transform(const char* name)
: SystemsInterface{name}
, components_{}
{
}
Transform::~Transform() {}
void Transform::insert(Compone... | 21.192982 | 80 | 0.70447 | wonderwombatgames |
f04dc3b81b1621fa408dc81c34f342db99e6091b | 7,504 | cpp | C++ | SummedAreaTable.cpp | xkong/envtools | 682eeac42a7f173e24333ec4e94f87251ce6d579 | [
"MIT"
] | 68 | 2015-01-22T14:26:42.000Z | 2022-02-17T23:39:20.000Z | SummedAreaTable.cpp | xkong/envtools | 682eeac42a7f173e24333ec4e94f87251ce6d579 | [
"MIT"
] | 10 | 2015-03-15T19:34:25.000Z | 2019-01-29T09:46:02.000Z | SummedAreaTable.cpp | xkong/envtools | 682eeac42a7f173e24333ec4e94f87251ce6d579 | [
"MIT"
] | 11 | 2016-06-03T16:20:23.000Z | 2020-07-13T11:29:42.000Z | #include <cassert>
#include "SummedAreaTable"
void SummedAreaTable::createLum(float* rgb, const uint width, const uint height, const uint nc)
{
assert(nc > 2);
_width = width;
_height = height;
const uint imgSize = width * height;
_sat.clear();
_sat.resize(imgSize);
_sat1.clear();
_s... | 28.861538 | 100 | 0.457756 | xkong |
f05441f5e8f1416f9568bf4e879cfae1229eab01 | 5,153 | hpp | C++ | include/lvr2/geometry/BoundingBox.hpp | uos/lvr | 9bb03a30441b027c39db967318877e03725112d5 | [
"BSD-3-Clause"
] | 38 | 2019-06-19T15:10:35.000Z | 2022-02-16T03:08:24.000Z | include/lvr2/geometry/BoundingBox.hpp | uos/lvr | 9bb03a30441b027c39db967318877e03725112d5 | [
"BSD-3-Clause"
] | 9 | 2019-06-19T16:19:51.000Z | 2021-09-17T08:31:25.000Z | include/lvr2/geometry/BoundingBox.hpp | uos/lvr | 9bb03a30441b027c39db967318877e03725112d5 | [
"BSD-3-Clause"
] | 13 | 2019-04-16T11:50:32.000Z | 2020-11-26T07:47:44.000Z | /**
* Copyright (c) 2018, University Osnabrück
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this li... | 28.469613 | 86 | 0.649525 | uos |
f055375f1630247403e5bd89bc4041ddab4bf8e9 | 4,519 | cpp | C++ | uilepra/src/uitouchdrag.cpp | highfestiva/life | b05b592502d72980ab55e13e84330b74a966f377 | [
"BSD-3-Clause"
] | 9 | 2019-09-03T18:33:31.000Z | 2022-02-04T04:00:02.000Z | uilepra/src/uitouchdrag.cpp | highfestiva/life | b05b592502d72980ab55e13e84330b74a966f377 | [
"BSD-3-Clause"
] | null | null | null | uilepra/src/uitouchdrag.cpp | highfestiva/life | b05b592502d72980ab55e13e84330b74a966f377 | [
"BSD-3-Clause"
] | null | null | null |
// Author: Jonas Byström
// Copyright (c) Pixel Doctrine
#include "pch.h"
#include "../include/uitouchdrag.h"
#include "../../lepra/include/thread.h"
#include "../include/uitouchstick.h"
namespace uilepra {
namespace touch {
Drag::Drag(int x, int y, bool is_press, int button_mask):
start_(x, y),
last_(x, y)... | 24.82967 | 145 | 0.704581 | highfestiva |
f05b735b9fe46ff40ef491d8f7af6364ad43db50 | 3,643 | cpp | C++ | src/ofApp.cpp | carlesgutierrez/ofxVjMatics | 8f7d1f3e7ef9a3b9db899f0f8549525303771f90 | [
"MIT"
] | null | null | null | src/ofApp.cpp | carlesgutierrez/ofxVjMatics | 8f7d1f3e7ef9a3b9db899f0f8549525303771f90 | [
"MIT"
] | null | null | null | src/ofApp.cpp | carlesgutierrez/ofxVjMatics | 8f7d1f3e7ef9a3b9db899f0f8549525303771f90 | [
"MIT"
] | null | null | null | #include "ofApp.h"
#include "ofxPublishScreen.h"
ofxPublishScreen::FboPublisher myPublishScreen;
//--------------------------------------------------------------
void ofApp::setup(){
ofSetFrameRate(30);
ofBackground(0, 255, 0);
//Load oll examples
myRandomVideosPlayers.setup();
myParticles.setup();
... | 21.556213 | 106 | 0.534999 | carlesgutierrez |
f05bbb4e23acf2d31bf9fcacecffd1054fbbf995 | 6,216 | hpp | C++ | Source/AllProjects/DataUtils/CIDXML/CIDXML_Attr.hpp | MarkStega/CIDLib | 82014e064eef51cad998bf2c694ed9c1c8cceac6 | [
"MIT"
] | 216 | 2019-03-09T06:41:28.000Z | 2022-02-25T16:27:19.000Z | Source/AllProjects/DataUtils/CIDXML/CIDXML_Attr.hpp | MarkStega/CIDLib | 82014e064eef51cad998bf2c694ed9c1c8cceac6 | [
"MIT"
] | 9 | 2020-09-27T08:00:52.000Z | 2021-07-02T14:27:31.000Z | Source/AllProjects/DataUtils/CIDXML/CIDXML_Attr.hpp | MarkStega/CIDLib | 82014e064eef51cad998bf2c694ed9c1c8cceac6 | [
"MIT"
] | 29 | 2019-03-09T10:12:24.000Z | 2021-03-03T22:25:29.000Z | //
// FILE NAME: CIDXML_Attr.hpp
//
// AUTHOR: Dean Roddey
//
// CREATED: 10/10/1999
//
// COPYRIGHT: Charmed Quark Systems, Ltd @ 2019
//
// This software is copyrighted by 'Charmed Quark Systems, Ltd' and
// the author (Dean Roddey.) It is licensed under the MIT Open Source
// license:
//
// https://opensource.or... | 31.876923 | 78 | 0.444981 | MarkStega |
f05e244f98c53c51c68e72f18a94e33a82bcf6d1 | 4,141 | cpp | C++ | tests/auto/slider/main.cpp | Qt-Widgets/qtmwidgets-mobile | 24b77c25c286215539098ba569eee938882bb9d4 | [
"MIT"
] | 10 | 2015-03-22T07:35:48.000Z | 2022-02-23T15:49:01.000Z | tests/auto/slider/main.cpp | Qt-Widgets/qtmwidgets | 24b77c25c286215539098ba569eee938882bb9d4 | [
"MIT"
] | 9 | 2020-10-22T09:25:52.000Z | 2022-02-14T08:59:13.000Z | tests/auto/slider/main.cpp | Qt-Widgets/qtmwidgets | 24b77c25c286215539098ba569eee938882bb9d4 | [
"MIT"
] | 9 | 2018-01-22T06:47:40.000Z | 2022-01-30T16:50:57.000Z |
/*!
\file
\author Igor Mironchik (igor.mironchik at gmail dot com).
Copyright (c) 2014 Igor Mironchik
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, incl... | 24.796407 | 95 | 0.624245 | Qt-Widgets |
f05edfab1e8a1275eee582e969793b1adac692aa | 53,865 | cpp | C++ | bench/ml2cpp-demo/BaggingRegressor_Pipeline/freidman3/ml2cpp-demo_BaggingRegressor_Pipeline_freidman3.cpp | antoinecarme/ml2cpp | 2b241d44de00eafda620c2b605690276faf5f8fb | [
"BSD-3-Clause"
] | null | null | null | bench/ml2cpp-demo/BaggingRegressor_Pipeline/freidman3/ml2cpp-demo_BaggingRegressor_Pipeline_freidman3.cpp | antoinecarme/ml2cpp | 2b241d44de00eafda620c2b605690276faf5f8fb | [
"BSD-3-Clause"
] | 33 | 2020-09-13T09:55:01.000Z | 2022-01-06T11:53:55.000Z | bench/ml2cpp-demo/BaggingRegressor_Pipeline/freidman3/ml2cpp-demo_BaggingRegressor_Pipeline_freidman3.cpp | antoinecarme/ml2cpp | 2b241d44de00eafda620c2b605690276faf5f8fb | [
"BSD-3-Clause"
] | 1 | 2021-01-26T14:41:58.000Z | 2021-01-26T14:41:58.000Z | // ********************************************************
// This C++ code was automatically generated by ml2cpp (development version).
// Copyright 2020
// https://github.com/antoinecarme/ml2cpp
// Model : BaggingRegressor_Pipeline
// Dataset : freidman3
// This CPP code can be compiled using any C++-17 compiler... | 42.954545 | 1,191 | 0.619605 | antoinecarme |
f063d099473329df2e21224ec23e90fb9ba2c450 | 1,935 | cc | C++ | agp-7.1.0-alpha01/tools/base/profiler/native/perfd/graphics/graphics_cache.cc | jomof/CppBuildCacheWorkInProgress | 9e3475f6d94cb3239f27ed8f8ee81b0abde4ef51 | [
"Apache-2.0"
] | 1 | 2020-10-04T19:30:22.000Z | 2020-10-04T19:30:22.000Z | agp-7.1.0-alpha01/tools/base/profiler/native/perfd/graphics/graphics_cache.cc | jomof/CppBuildCacheWorkInProgress | 9e3475f6d94cb3239f27ed8f8ee81b0abde4ef51 | [
"Apache-2.0"
] | null | null | null | agp-7.1.0-alpha01/tools/base/profiler/native/perfd/graphics/graphics_cache.cc | jomof/CppBuildCacheWorkInProgress | 9e3475f6d94cb3239f27ed8f8ee81b0abde4ef51 | [
"Apache-2.0"
] | 2 | 2020-10-04T19:30:24.000Z | 2020-11-04T05:58:17.000Z | /*
* Copyright (C) 2016 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 35.833333 | 78 | 0.713695 | jomof |
f064973c201d968f29b17ed84a37a24dcb9f6199 | 3,180 | cpp | C++ | velox/dwio/dwrf/common/Encryption.cpp | vancexu/velox | fa076fd9eab6ae4090ed9b9b91c4e7658d4ee1e4 | [
"Apache-2.0"
] | 672 | 2021-09-22T16:45:58.000Z | 2022-03-31T13:42:31.000Z | velox/dwio/dwrf/common/Encryption.cpp | vancexu/velox | fa076fd9eab6ae4090ed9b9b91c4e7658d4ee1e4 | [
"Apache-2.0"
] | 986 | 2021-09-22T17:02:52.000Z | 2022-03-31T23:57:25.000Z | velox/dwio/dwrf/common/Encryption.cpp | vancexu/velox | fa076fd9eab6ae4090ed9b9b91c4e7658d4ee1e4 | [
"Apache-2.0"
] | 178 | 2021-09-22T17:27:47.000Z | 2022-03-31T03:18:37.000Z | /*
* Copyright (c) Facebook, Inc. and 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 applic... | 32.44898 | 76 | 0.707862 | vancexu |
f0674b3ee400e47b4d146bbbd07ba7b3fb746db9 | 14,157 | cpp | C++ | src/Pegasus/Repository/tests/RepositoryMix/RepositoryMix.cpp | natronkeltner/openpegasus | e64f383c1ed37826041fc63e83b4e65fc1c679ae | [
"ICU",
"Unlicense",
"OpenSSL",
"MIT"
] | 1 | 2021-11-12T21:28:50.000Z | 2021-11-12T21:28:50.000Z | src/Pegasus/Repository/tests/RepositoryMix/RepositoryMix.cpp | natronkeltner/openpegasus | e64f383c1ed37826041fc63e83b4e65fc1c679ae | [
"ICU",
"Unlicense",
"OpenSSL",
"MIT"
] | 39 | 2021-01-18T19:28:41.000Z | 2022-03-27T20:55:36.000Z | src/Pegasus/Repository/tests/RepositoryMix/RepositoryMix.cpp | natronkeltner/openpegasus | e64f383c1ed37826041fc63e83b4e65fc1c679ae | [
"ICU",
"Unlicense",
"OpenSSL",
"MIT"
] | 4 | 2021-07-09T12:52:33.000Z | 2021-12-21T15:05:59.000Z | //%LICENSE////////////////////////////////////////////////////////////////
//
// Licensed to The Open Group (TOG) under one or more contributor license
// agreements. Refer to the OpenPegasusNOTICE.txt file distributed with
// this work for additional information regarding copyright ownership.
// Each contributor lice... | 28.089286 | 80 | 0.611288 | natronkeltner |
f069a4a2aebac6813155b13f065cd398c4b9c0b1 | 6,224 | cpp | C++ | widgets/OriSelectableTile.cpp | Qt-Widgets/orion-qt | 2df2b9687f637800bcd2a9f64f4cabafa8773f03 | [
"MIT"
] | null | null | null | widgets/OriSelectableTile.cpp | Qt-Widgets/orion-qt | 2df2b9687f637800bcd2a9f64f4cabafa8773f03 | [
"MIT"
] | null | null | null | widgets/OriSelectableTile.cpp | Qt-Widgets/orion-qt | 2df2b9687f637800bcd2a9f64f4cabafa8773f03 | [
"MIT"
] | 1 | 2022-01-15T08:54:38.000Z | 2022-01-15T08:54:38.000Z | #include "OriSelectableTile.h"
#include "../helpers/OriTools.h"
#include <QDebug>
#include <QVBoxLayout>
#include <QLabel>
#include <QKeyEvent>
namespace Ori {
namespace Widgets {
//------------------------------------------------------------------------------
// IconCheckBox
//-------... | 24.407843 | 102 | 0.607326 | Qt-Widgets |
f06c3df9f58062bc9129e3c3c1e6fda77bb6108c | 266 | hpp | C++ | include/mpp.hpp | tbs1980/mpp | 5a704b48d5ab2386588c71987a7616a276380a99 | [
"MIT"
] | null | null | null | include/mpp.hpp | tbs1980/mpp | 5a704b48d5ab2386588c71987a7616a276380a99 | [
"MIT"
] | null | null | null | include/mpp.hpp | tbs1980/mpp | 5a704b48d5ab2386588c71987a7616a276380a99 | [
"MIT"
] | null | null | null | #ifndef MPP_MPP_HPP
#define MPP_MPP_HPP
#include "mpp/version.hpp"
#include "mpp/config.hpp"
#include "mpp/chains/mcmc_chain.hpp"
#include "mpp/hamiltonian/kinetic_energy_multivar_normal.hpp"
#include "mpp/hamiltonian/classic_hamiltonian.hpp"
#endif //MPP_MPP_HPP
| 24.181818 | 61 | 0.808271 | tbs1980 |
f06c87be1a242eb3e09dc5b0bd2716629c76af18 | 3,550 | cpp | C++ | apiwzem/WzemQEvtList.cpp | mpsitech/wzem-WhizniumSBE-Engine-Monitor | 0d9a204660bfad57f25dbd641fd86713986f32f1 | [
"MIT"
] | null | null | null | apiwzem/WzemQEvtList.cpp | mpsitech/wzem-WhizniumSBE-Engine-Monitor | 0d9a204660bfad57f25dbd641fd86713986f32f1 | [
"MIT"
] | null | null | null | apiwzem/WzemQEvtList.cpp | mpsitech/wzem-WhizniumSBE-Engine-Monitor | 0d9a204660bfad57f25dbd641fd86713986f32f1 | [
"MIT"
] | null | null | null | /**
* \file WzemQEvtList.cpp
* API code for table TblWzemQEvtList (implementation)
* \copyright (C) 2016-2020 MPSI Technologies GmbH
* \author Alexander Wirthmueller (auto-generation)
* \date created: 6 Dec 2020
*/
// IP header --- ABOVE
#include "WzemQEvtList.h"
using namespace std;
using namespace Sbecore;
u... | 26.893939 | 94 | 0.638873 | mpsitech |
f06efdd728a5ec5bea585997bf77a2bfcc579fc3 | 4,472 | cpp | C++ | build/cpp_test/src/massive/munit/async/AsyncTimeoutException.cpp | TomBebb/hxecs | 80620512df7b32d70f1b59facdf8f6349192a166 | [
"BSD-3-Clause"
] | null | null | null | build/cpp_test/src/massive/munit/async/AsyncTimeoutException.cpp | TomBebb/hxecs | 80620512df7b32d70f1b59facdf8f6349192a166 | [
"BSD-3-Clause"
] | null | null | null | build/cpp_test/src/massive/munit/async/AsyncTimeoutException.cpp | TomBebb/hxecs | 80620512df7b32d70f1b59facdf8f6349192a166 | [
"BSD-3-Clause"
] | null | null | null | // Generated by Haxe 3.4.7
#include <hxcpp.h>
#ifndef INCLUDED_massive_haxe_Exception
#include <massive/haxe/Exception.h>
#endif
#ifndef INCLUDED_massive_haxe_util_ReflectUtil
#include <massive/haxe/util/ReflectUtil.h>
#endif
#ifndef INCLUDED_massive_munit_MUnitException
#include <massive/munit/MUnitException.h>
#endi... | 38.222222 | 291 | 0.792039 | TomBebb |
f07126828164706da3c5200aa5f5be8bc01b76ba | 1,219 | cpp | C++ | bellmanFord.cpp | PAlexcom/Algorithms | 02cc55ad9b6975ebd1305a82cd9dbcf4ab4caa4d | [
"MIT"
] | 1 | 2019-03-09T05:51:45.000Z | 2019-03-09T05:51:45.000Z | bellmanFord.cpp | PAlexcom/Algorithms | 02cc55ad9b6975ebd1305a82cd9dbcf4ab4caa4d | [
"MIT"
] | null | null | null | bellmanFord.cpp | PAlexcom/Algorithms | 02cc55ad9b6975ebd1305a82cd9dbcf4ab4caa4d | [
"MIT"
] | 1 | 2020-05-20T19:31:07.000Z | 2020-05-20T19:31:07.000Z | #include <vector>
using namespace std;
void relax(vector<int> &parent, vector<int> &pathCost, vector<vector<int>> &matrix, int a, int b) {
if (pathCost[b] > (pathCost[a] + matrix[a][b])) {
pathCost[b] = pathCost[a] + matrix[a][b];
parent[b] = a;
}
}
pair<vector<int>, vector<int>> bellmanFord(vector<Linke... | 27.704545 | 116 | 0.578343 | PAlexcom |
f07484135f522af8097f57ffcb7c95529a2357ef | 2,336 | cpp | C++ | ftkFeatures/ftkIntrinsicFeatures.cpp | tostathaina/farsight | 7e9d6d15688735f34f7ca272e4e715acd11473ff | [
"Apache-2.0"
] | 8 | 2016-07-22T11:24:19.000Z | 2021-04-10T04:22:31.000Z | ftkFeatures/ftkIntrinsicFeatures.cpp | YanXuHappygela/Farsight | 1711b2a1458c7e035edd21fe0019a1f7d23fcafa | [
"Apache-2.0"
] | null | null | null | ftkFeatures/ftkIntrinsicFeatures.cpp | YanXuHappygela/Farsight | 1711b2a1458c7e035edd21fe0019a1f7d23fcafa | [
"Apache-2.0"
] | 7 | 2016-07-21T07:39:17.000Z | 2020-01-29T02:03:27.000Z | /*=========================================================================
Copyright 2009 Rensselaer Polytechnic Institute
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/lice... | 36.5 | 75 | 0.630137 | tostathaina |
7eb6e9d2647a5ecb9b3c2fc578ec3d64c81209a2 | 554 | cpp | C++ | Motor2D/DynamicLabel.cpp | kistofe/Ramona-Flowers-vs-The-Code | dc87262279583b21fcb7de7231d7e16cfe6d477e | [
"MIT"
] | null | null | null | Motor2D/DynamicLabel.cpp | kistofe/Ramona-Flowers-vs-The-Code | dc87262279583b21fcb7de7231d7e16cfe6d477e | [
"MIT"
] | 7 | 2017-11-13T13:24:15.000Z | 2017-12-10T20:45:08.000Z | Motor2D/DynamicLabel.cpp | kistofe/Basic-Platformer | dc87262279583b21fcb7de7231d7e16cfe6d477e | [
"MIT"
] | null | null | null | #include "j1App.h"
#include "DynamicLabel.h"
#include "j1Fonts.h"
#include "j1Textures.h"
DynamicLabel::DynamicLabel(iPoint pos, j1Module* callback) : Label(pos, callback)
{}
DynamicLabel::~DynamicLabel()
{
}
void DynamicLabel::ChangeContent(const char* new_content)
{
if (text_texture != nullptr)
App->tex->UnLo... | 17.870968 | 81 | 0.709386 | kistofe |
7eba4f91f4f594fbc273bc7d1f8e8ce79b52e930 | 5,628 | cpp | C++ | examples/detectnet/utility.cpp | nFeus/reverse_detectnet | c25db99943763864398d08aa2ab69b8343d85db1 | [
"MIT"
] | null | null | null | examples/detectnet/utility.cpp | nFeus/reverse_detectnet | c25db99943763864398d08aa2ab69b8343d85db1 | [
"MIT"
] | null | null | null | examples/detectnet/utility.cpp | nFeus/reverse_detectnet | c25db99943763864398d08aa2ab69b8343d85db1 | [
"MIT"
] | null | null | null | #include "function.hpp"
std::vector <cv::Point> RoiVtx;
extern int number_frame;
extern int foggy_or_storm_frame;
extern int normal_frame;
std::chrono::system_clock::time_point start;
std::chrono::system_clock::time_point end;
bool reverse_detected = 0;
bool on_timer = 0;
int cnt_sec_tracking = 0;
void stddev_mod... | 31.617978 | 117 | 0.519545 | nFeus |
7eba769cca233e0de7f8a103dd42f2d98f2ac856 | 739 | hpp | C++ | source/include/FlopTexturePuzzle.hpp | jane8384/seven-monkeys | 119cb7312f25d54e88f212a8710a512b893b046d | [
"MIT"
] | 3 | 2017-11-16T01:54:09.000Z | 2018-05-20T15:33:21.000Z | include/FlopTexturePuzzle.hpp | aitorfernandez/seven-monkeys | 8f2440fd5ae7a9e86bb71dba800efe9424f3792e | [
"MIT"
] | null | null | null | include/FlopTexturePuzzle.hpp | aitorfernandez/seven-monkeys | 8f2440fd5ae7a9e86bb71dba800efe9424f3792e | [
"MIT"
] | 3 | 2017-09-18T11:44:41.000Z | 2019-12-25T11:30:26.000Z | //
// FlopTexturePuzzle.hpp
// SevenMonkeys
//
#ifndef FlopTexturePuzzle_hpp
#define FlopTexturePuzzle_hpp
#include "SevenMonkeys.hpp"
#include "Deck.hpp"
#include "FlopEvaluator.hpp"
#include "PuzzleLayer.hpp"
class FlopTexturePuzzle : public PuzzleLayer
{
public:
FlopTexturePuzzle();
virtual ~FlopText... | 15.081633 | 45 | 0.699594 | jane8384 |
7ec12a41a69692ef9d415572ae101b41adbf8280 | 13,036 | cc | C++ | wrappers/8.1.1/vtkDelimitedTextWriterWrap.cc | axkibe/node-vtk | 900ad7b5500f672519da5aa24c99aa5a96466ef3 | [
"BSD-3-Clause"
] | 6 | 2016-02-03T12:48:36.000Z | 2020-09-16T15:07:51.000Z | wrappers/8.1.1/vtkDelimitedTextWriterWrap.cc | axkibe/node-vtk | 900ad7b5500f672519da5aa24c99aa5a96466ef3 | [
"BSD-3-Clause"
] | 4 | 2016-02-13T01:30:43.000Z | 2020-03-30T16:59:32.000Z | wrappers/8.1.1/vtkDelimitedTextWriterWrap.cc | axkibe/node-vtk | 900ad7b5500f672519da5aa24c99aa5a96466ef3 | [
"BSD-3-Clause"
] | null | null | null | /* this file has been autogenerated by vtkNodeJsWrap */
/* editing this might proof futile */
#define VTK_WRAPPING_CXX
#define VTK_STREAMS_FWD_ONLY
#include <nan.h>
#include "vtkWriterWrap.h"
#include "vtkDelimitedTextWriterWrap.h"
#include "vtkObjectBaseWrap.h"
#include "../../plus/plus.h"
using namespace v8;
exte... | 33.684755 | 109 | 0.755216 | axkibe |
7ec6151c2974d47d52e9465df08877ee88f5879f | 3,558 | hpp | C++ | include/if3_pattern_expander.hpp | jdkoftinoff/if3-cpp | 90174667e5be84143b5aa644bef63f9798e851a3 | [
"BSD-2-Clause"
] | null | null | null | include/if3_pattern_expander.hpp | jdkoftinoff/if3-cpp | 90174667e5be84143b5aa644bef63f9798e851a3 | [
"BSD-2-Clause"
] | null | null | null | include/if3_pattern_expander.hpp | jdkoftinoff/if3-cpp | 90174667e5be84143b5aa644bef63f9798e851a3 | [
"BSD-2-Clause"
] | null | null | null | /*
The Internet Filter Version 3 Kernel Version 3
Source Code
Written By Jeff Koftinoff <jeffk@internetfilter.com>
Copyright (c) 1995-2005
By Turner and Sons Productions, Inc.
http://www.internetfilter.com/
ALL RIGHTS RESERVED.
*/
#ifndef IF3_PATTERN_EXPANDER_HPP
#define IF3_PATTERN_EXPANDER_HPP
#include "if3_bu... | 18.726316 | 63 | 0.495222 | jdkoftinoff |
7ec62584c94a09d90f485e85bf04f805f968e887 | 4,776 | cpp | C++ | Widget/MagnifierWidget.cpp | devonchenc/NovaImage | 3d17166f9705ba23b89f1aefd31ac2db97385b1c | [
"MIT"
] | null | null | null | Widget/MagnifierWidget.cpp | devonchenc/NovaImage | 3d17166f9705ba23b89f1aefd31ac2db97385b1c | [
"MIT"
] | null | null | null | Widget/MagnifierWidget.cpp | devonchenc/NovaImage | 3d17166f9705ba23b89f1aefd31ac2db97385b1c | [
"MIT"
] | null | null | null | #include "MagnifierWidget.h"
#include <QApplication>
#include <QDesktopWidget>
#include <QPainter>
#include <QCursor>
#include <QWindow>
#include <QScreen>
#include <QTimer>
#include <QMouseEvent>
const int grabInterval = 50;
const int sizeOfMouseIcon = 20;
MagnifierWidget::MagnifierWidget(QWidget* parent)
: QWi... | 31.215686 | 157 | 0.65557 | devonchenc |
7ec70cbc87ab3664aa68f470b0b5f1d05a620657 | 6,654 | hpp | C++ | detail/utility.hpp | storm-ptr/bark | e4cd481183aba72ec6cf996eff3ac144c88b79b6 | [
"MIT"
] | 3 | 2019-11-05T10:27:35.000Z | 2019-12-02T06:25:53.000Z | detail/utility.hpp | storm-ptr/bark | e4cd481183aba72ec6cf996eff3ac144c88b79b6 | [
"MIT"
] | null | null | null | detail/utility.hpp | storm-ptr/bark | e4cd481183aba72ec6cf996eff3ac144c88b79b6 | [
"MIT"
] | 2 | 2019-12-01T18:01:02.000Z | 2021-04-07T08:34:04.000Z | // Andrew Naplavkov
#ifndef BARK_UTILITY_HPP
#define BARK_UTILITY_HPP
#include <algorithm>
#include <chrono>
#include <condition_variable>
#include <cstddef>
#include <functional>
#include <initializer_list>
#include <iterator>
#include <mutex>
#include <random>
#include <sstream>
#include <stdexcept>
#include <strin... | 24.463235 | 80 | 0.627142 | storm-ptr |
7eca43f0de1cb1001ca82d483f9dc2efd86bf72b | 28,630 | cpp | C++ | src/app/ext/com/ux/ux.cpp | indigoabstract/techno-globe | 1f01b231bece534282344fa660d5f9a8cc07262e | [
"MIT"
] | null | null | null | src/app/ext/com/ux/ux.cpp | indigoabstract/techno-globe | 1f01b231bece534282344fa660d5f9a8cc07262e | [
"MIT"
] | null | null | null | src/app/ext/com/ux/ux.cpp | indigoabstract/techno-globe | 1f01b231bece534282344fa660d5f9a8cc07262e | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "appplex-conf.hpp"
#if defined MOD_UX
#include "ux.hpp"
#include "ux-camera.hpp"
#include "ux-font.hpp"
#include "gfx.hpp"
#include "gfx-tex.hpp"
#include "unit.hpp"
#include "com/unit/transitions.hpp"
#include <algorithm>
using std::string;
using std::vector;
slide_scrolling::scroll_... | 20.989736 | 152 | 0.673175 | indigoabstract |
7ed3ce21721bf726f2d4ce746416c72d1ffb44fd | 1,784 | cpp | C++ | native/ui/ui_slider.cpp | 49View/event_horizon | 9b78c9318e1a785384ab01eb4d90e79f0192c6ad | [
"BSD-3-Clause"
] | null | null | null | native/ui/ui_slider.cpp | 49View/event_horizon | 9b78c9318e1a785384ab01eb4d90e79f0192c6ad | [
"BSD-3-Clause"
] | 7 | 2021-09-02T05:58:24.000Z | 2022-02-27T07:06:43.000Z | native/ui/ui_slider.cpp | 49View/event_horizon | 9b78c9318e1a785384ab01eb4d90e79f0192c6ad | [
"BSD-3-Clause"
] | 2 | 2020-02-06T02:05:15.000Z | 2021-11-25T11:35:14.000Z | #include "ui_slider.h"
void UiSlider::initImpl() {
mIsClickable = true;
mAcceptInputs = true;
mStartValue = 0;
mEndValue = 1;
}
void UiSlider::setValuesRange( const int _vstart, const int _vend, const int _curr ) {
mStartValue = _vstart;
mEndValue = _vend;
mCurrValue = _curr;
}
//TouchResult UiSlider::onTouc... | 27.875 | 128 | 0.670404 | 49View |
7ed96885c6be588b5422c1ea2e46acccdbde89af | 11,884 | cpp | C++ | pkg/Bfdp/source/Lexer/Symbolizer.cpp | dpkristensen/bfdm | 1fdbdb89263b35b5ecd3bd7e24bce700910b38f9 | [
"BSD-3-Clause"
] | 1 | 2018-07-27T17:20:59.000Z | 2018-07-27T17:20:59.000Z | pkg/Bfdp/source/Lexer/Symbolizer.cpp | dpkristensen/bfdm | 1fdbdb89263b35b5ecd3bd7e24bce700910b38f9 | [
"BSD-3-Clause"
] | 10 | 2018-07-28T03:21:05.000Z | 2019-02-21T07:09:36.000Z | pkg/Bfdp/source/Lexer/Symbolizer.cpp | dpkristensen/bfdm | 1fdbdb89263b35b5ecd3bd7e24bce700910b38f9 | [
"BSD-3-Clause"
] | null | null | null | /**
BFDP Lexer Symbolizer Definition
Copyright 2016-2019, Daniel Kristensen, Garmin Ltd, or its subsidiaries.
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 o... | 35.903323 | 121 | 0.507826 | dpkristensen |
7edd4785ac326e0efbc18768ea04fa9c3d3dea86 | 3,087 | hpp | C++ | tests/tdd/generator.hpp | tjahn/mbedcrypto | 23ea27d1d7602e0f2c4e8c8c148b73ca7b4f1425 | [
"MIT"
] | 40 | 2016-04-01T15:20:24.000Z | 2022-03-24T08:38:12.000Z | tests/tdd/generator.hpp | tjahn/mbedcrypto | 23ea27d1d7602e0f2c4e8c8c148b73ca7b4f1425 | [
"MIT"
] | 4 | 2017-12-12T09:04:38.000Z | 2021-01-30T04:19:05.000Z | tests/tdd/generator.hpp | tjahn/mbedcrypto | 23ea27d1d7602e0f2c4e8c8c148b73ca7b4f1425 | [
"MIT"
] | 15 | 2016-07-22T02:46:23.000Z | 2020-12-23T15:57:37.000Z | /** @file generator.hpp
*
* @copyright (C) 2016
* @date 2016.03.06
* @version 1.0.0
* @author amir zamani <azadkuh@live.com>
*
*/
#ifndef TESTS_GENERATOR_HPP
#define TESTS_GENERATOR_HPP
#include "mbedcrypto/types.hpp"
///////////////////////////////////////////////////////////////////////////////
namespace mbe... | 31.5 | 79 | 0.530936 | tjahn |
7ede1883cfc96480d622e9052c04a386389c3f2c | 3,258 | hpp | C++ | inc/Fluke8050A.hpp | farlepet/8050a-display | 0df434816bc371ca80c2757c99ae97aa326d3894 | [
"MIT"
] | 1 | 2020-12-24T03:55:45.000Z | 2020-12-24T03:55:45.000Z | inc/Fluke8050A.hpp | farlepet/8050a-display | 0df434816bc371ca80c2757c99ae97aa326d3894 | [
"MIT"
] | null | null | null | inc/Fluke8050A.hpp | farlepet/8050a-display | 0df434816bc371ca80c2757c99ae97aa326d3894 | [
"MIT"
] | null | null | null | #ifndef FLUKE8050A_HPP
#define FLUKE8080A_HPP
#include <stdint.h>
typedef struct {
uint8_t dp; /*!< Decimal point / relative */
uint8_t hv; /*!< High Voltage */
uint8_t w; /*!< BCD 0 / - */
uint8_t x; /*!< BCD 1 / + */
uint8_t y; /*!< BCD 2 / dB */
uint8_t z; /*!< BCD 3 / 1 ... | 28.330435 | 129 | 0.574893 | farlepet |
7ee526dfe5e47a942486c5054d97c087578fd675 | 2,751 | cpp | C++ | src/snake.cpp | phoemur/oldsnake | 490f1ddb1a9511177f6eae425c48aaa3260212f9 | [
"Unlicense"
] | null | null | null | src/snake.cpp | phoemur/oldsnake | 490f1ddb1a9511177f6eae425c48aaa3260212f9 | [
"Unlicense"
] | null | null | null | src/snake.cpp | phoemur/oldsnake | 490f1ddb1a9511177f6eae425c48aaa3260212f9 | [
"Unlicense"
] | null | null | null | #include "snake.h"
#include "field.h"
#include <cmath>
#include <ncurses.h>
Snake::Snake(Field* f, std::size_t init_size)
: field{f}, size{init_size}, coordinates{}, next_dir{Directions::Right}
{
// Get init position
auto y = field->height() / 2;
auto x = field->width() / 2;
coordinates.emplace_ba... | 24.345133 | 103 | 0.542348 | phoemur |
7ee5d172003adc97d26066b70635b0d7c922db19 | 35,859 | cpp | C++ | source/plugin/PluginVst2x.cpp | jagilley/MrsWatson | dd00b6a3740cce4bf7c10d3342d4742c7d1b4836 | [
"BSD-2-Clause"
] | 404 | 2015-01-02T18:37:30.000Z | 2022-03-31T17:38:39.000Z | source/plugin/PluginVst2x.cpp | jagilley/MrsWatson | dd00b6a3740cce4bf7c10d3342d4742c7d1b4836 | [
"BSD-2-Clause"
] | 101 | 2015-01-12T08:14:13.000Z | 2021-03-16T12:36:19.000Z | source/plugin/PluginVst2x.cpp | jagilley/MrsWatson | dd00b6a3740cce4bf7c10d3342d4742c7d1b4836 | [
"BSD-2-Clause"
] | 96 | 2015-01-06T08:05:12.000Z | 2022-03-08T16:18:49.000Z | //
// PluginVst2x.cpp - MrsWatson
// Copyright (c) 2016 Teragon Audio. 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 notic... | 35.680597 | 80 | 0.698569 | jagilley |
7eea21d243efcfab044d4cf893569701dd9eb485 | 1,046 | cpp | C++ | dp_coin_change.cpp | DeeptanshuM/Algorithms | 48f91e952b71370127db33fa42d642062690f9d9 | [
"MIT"
] | null | null | null | dp_coin_change.cpp | DeeptanshuM/Algorithms | 48f91e952b71370127db33fa42d642062690f9d9 | [
"MIT"
] | null | null | null | dp_coin_change.cpp | DeeptanshuM/Algorithms | 48f91e952b71370127db33fa42d642062690f9d9 | [
"MIT"
] | null | null | null | /*
My dynammic programming approach to the coin change problem.
int amount is the change to be obtained using as few coins as possible given in the coins vector
if it's not possible to get change for amount with the coins given
(for eg, trying to get change for 30 cents with only quarters available)
then -1 must be ret... | 30.764706 | 103 | 0.630019 | DeeptanshuM |
7eebd511517291d25c8dac2c2a1be7a9d118db2b | 2,162 | cpp | C++ | Source/Modules/SampleAndHoldModule.cpp | JanMalitschek/ParkerSynth | ff9e14ff8b806350667ff7236e5065cc66651260 | [
"MIT"
] | 1 | 2020-03-03T23:41:21.000Z | 2020-03-03T23:41:21.000Z | Source/Modules/SampleAndHoldModule.cpp | JanMalitschek/ParkerSynth | ff9e14ff8b806350667ff7236e5065cc66651260 | [
"MIT"
] | null | null | null | Source/Modules/SampleAndHoldModule.cpp | JanMalitschek/ParkerSynth | ff9e14ff8b806350667ff7236e5065cc66651260 | [
"MIT"
] | null | null | null | #include "SampleAndHoldModule.hpp"
#include "..\LookAndFeel\Colors.hpp"
#include "..\NodeGraphEditor.h"
#include "..\NodeGraphProcessor.h"
SampleAndHoldModule::SampleAndHoldModule() : Module(ModuleColorScheme::Grey, "SaH", 2, 1, 0, Point<int>(4, 4), 0) {
inputSocketButtons[0]->button.setTooltip("Signal");
inputSocke... | 26.691358 | 125 | 0.725717 | JanMalitschek |
7ef0fb3eff1f171decae6b8fe4debbc54ff24e76 | 908 | cpp | C++ | ntuj/0309.cpp | dk00/old-stuff | e1184684c85fe9bbd1ceba58b94d4da84c67784e | [
"Unlicense"
] | null | null | null | ntuj/0309.cpp | dk00/old-stuff | e1184684c85fe9bbd1ceba58b94d4da84c67784e | [
"Unlicense"
] | null | null | null | ntuj/0309.cpp | dk00/old-stuff | e1184684c85fe9bbd1ceba58b94d4da84c67784e | [
"Unlicense"
] | null | null | null | #include<cstdio>
const int dx[]={0,0,0,0,1,-1},dy[]={0,1,0,-1,0,0},dz[]={1,0,-1,0,0,0}
,p[3][6]={{0,0,0,0,2,2},{1,2,1,2,1,1},{2,1,2,1,0,0}},
q[3][6]={{1,1,1,1,1,-1},{1,-1,-1,1,1,1},{1,1,-1,-1,-1,1}};
int n;
char map[11][11][11],tmp[11][11][11];
int proc(int x)
{
int i,j,k,l,sum=0,s[3],t[3];
for(i=0;i<n;i++)
{
for... | 19.73913 | 69 | 0.414097 | dk00 |
7ef47b215909eead2a7c407b20c70c6520a74b6e | 3,674 | hpp | C++ | include/bytes_reader.hpp | gwisp2/BytesIO | 6ebf97073648e2ab38f890429faad0a0d1a35732 | [
"Unlicense"
] | 2 | 2021-07-07T04:37:22.000Z | 2021-07-08T17:06:25.000Z | include/bytes_reader.hpp | gwisp2/BytesIO | 6ebf97073648e2ab38f890429faad0a0d1a35732 | [
"Unlicense"
] | null | null | null | include/bytes_reader.hpp | gwisp2/BytesIO | 6ebf97073648e2ab38f890429faad0a0d1a35732 | [
"Unlicense"
] | null | null | null | #pragma once
#include "bytes_io_common.hpp"
#include <assert.h>
#include <boost/endian/conversion.hpp>
#include <cstdint>
#include <cstring>
#include <stdexcept>
#include <type_traits>
namespace BytesIO {
class BytesReaderError : public std::runtime_error {
public:
BytesReaderError(const char *what) : std::runtime... | 27.214815 | 138 | 0.677735 | gwisp2 |
7efa2880554ac0ece50e37588a9c57d5022c2c31 | 1,228 | hpp | C++ | cpp_module_02/ex00/Fixed.hpp | AbderrSfa/cpp_modules | 2465e31853af87f9bf9faba57ac0470b43918607 | [
"Apache-2.0"
] | 1 | 2021-11-05T13:46:36.000Z | 2021-11-05T13:46:36.000Z | cpp_module_02/ex00/Fixed.hpp | AbderrSfa/cpp_modules | 2465e31853af87f9bf9faba57ac0470b43918607 | [
"Apache-2.0"
] | null | null | null | cpp_module_02/ex00/Fixed.hpp | AbderrSfa/cpp_modules | 2465e31853af87f9bf9faba57ac0470b43918607 | [
"Apache-2.0"
] | null | null | null | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Fixed.hpp :+: :+: :+: ... | 36.117647 | 80 | 0.254072 | AbderrSfa |
7efb240527b0eeba7eb8dcfbc45f65e1311f6132 | 120 | cpp | C++ | test/example_greaterthanequals.cpp | patelh63/gtest-demo | 6feca30d05cd3a81c99baccd9f17f2a6a0628a97 | [
"BSD-3-Clause"
] | null | null | null | test/example_greaterthanequals.cpp | patelh63/gtest-demo | 6feca30d05cd3a81c99baccd9f17f2a6a0628a97 | [
"BSD-3-Clause"
] | null | null | null | test/example_greaterthanequals.cpp | patelh63/gtest-demo | 6feca30d05cd3a81c99baccd9f17f2a6a0628a97 | [
"BSD-3-Clause"
] | 1 | 2021-11-20T18:48:23.000Z | 2021-11-20T18:48:23.000Z | #include <gtest/gtest.h>
#include "example.h"
TEST(example, greaterthanequals)
{
ASSERT_TRUE(greaterthanequals());
} | 15 | 35 | 0.741667 | patelh63 |
7efcd78208bb4caf682b8979ca673cb4bf49a2d9 | 7,853 | cpp | C++ | SDK/Galil PlugIn/MachDevImplementation.cpp | mariusl/step2mach | 3ac7ff6c3b29a25f4520e4325e7922f2d34c547a | [
"MIT"
] | 6 | 2019-05-22T03:18:38.000Z | 2022-02-07T20:54:38.000Z | SDK/Galil PlugIn/MachDevImplementation.cpp | mariusl/step2mach | 3ac7ff6c3b29a25f4520e4325e7922f2d34c547a | [
"MIT"
] | 1 | 2019-11-10T05:57:09.000Z | 2020-07-01T05:50:49.000Z | SDK/Galil PlugIn/MachDevImplementation.cpp | mariusl/step2mach | 3ac7ff6c3b29a25f4520e4325e7922f2d34c547a | [
"MIT"
] | 9 | 2019-05-20T06:03:55.000Z | 2022-02-01T10:16:41.000Z | // MachDevImplementation.cpp
// This is the place where the implementor puts his/her code to actually implement the plugin
//
// -----------------------------------------------------------------------------------------------------
// Revision History:
// 7 June 2006 - Separated from MachDevice by JAP
// --------------... | 34.594714 | 128 | 0.632752 | mariusl |
7d02df629091e704ddce2d51ac38ff9da4e948af | 626 | cpp | C++ | games.cpp | ohmyjons/SPOJ-1 | 870ae3b072a3fbc89149b35fe5649a74512a8f60 | [
"Unlicense"
] | 264 | 2015-01-08T10:07:01.000Z | 2022-03-26T04:11:51.000Z | games.cpp | ohmyjons/SPOJ-1 | 870ae3b072a3fbc89149b35fe5649a74512a8f60 | [
"Unlicense"
] | 17 | 2016-04-15T03:38:07.000Z | 2020-10-30T00:33:57.000Z | games.cpp | ohmyjons/SPOJ-1 | 870ae3b072a3fbc89149b35fe5649a74512a8f60 | [
"Unlicense"
] | 127 | 2015-01-08T04:56:44.000Z | 2022-02-25T18:40:37.000Z | // 2014-09-22
#include <iostream>
#include <string>
#include <sstream>
using namespace std;
int gcd(int x, int y) {
if (x == 0) return y;
else return gcd(y%x, x);
}
int main() {
ios::sync_with_stdio(false);
int t; cin >> t;
while (t--) {
string s; cin >> s;
int p = s.find(".");
... | 22.357143 | 51 | 0.453674 | ohmyjons |
7d044f13ccff48af4ba264949deb4cfb96d9acc5 | 677 | cpp | C++ | ch19-Class_&_Objects/19.3_box.cpp | theoryofcpp/CppTheory-Codes | d7ed8732890ab77444a93c7d3c04bcab4e36370b | [
"MIT"
] | null | null | null | ch19-Class_&_Objects/19.3_box.cpp | theoryofcpp/CppTheory-Codes | d7ed8732890ab77444a93c7d3c04bcab4e36370b | [
"MIT"
] | null | null | null | ch19-Class_&_Objects/19.3_box.cpp | theoryofcpp/CppTheory-Codes | d7ed8732890ab77444a93c7d3c04bcab4e36370b | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
class Box {
public:
double length;
double breadth;
double height;
};
int main() {
Box box1;
Box box2;
double volume = 0.0;
// box1 specs
box1.length = 3.0;
box1.breadth = 5.0;
box1.height = 7.0;
// box2 spec... | 19.342857 | 54 | 0.543575 | theoryofcpp |
7d05f4e5aca7e2d1e83dc37c1763321fcb5c5533 | 10,434 | hh | C++ | packages/Alea/mc_solvers/AdjointMcParallelFor.i.hh | GCZhang/Profugus | d4d8fe295a92a257b26b6082224226ca1edbff5d | [
"BSD-2-Clause"
] | 19 | 2015-06-04T09:02:41.000Z | 2021-04-27T19:32:55.000Z | packages/Alea/mc_solvers/AdjointMcParallelFor.i.hh | GCZhang/Profugus | d4d8fe295a92a257b26b6082224226ca1edbff5d | [
"BSD-2-Clause"
] | null | null | null | packages/Alea/mc_solvers/AdjointMcParallelFor.i.hh | GCZhang/Profugus | d4d8fe295a92a257b26b6082224226ca1edbff5d | [
"BSD-2-Clause"
] | 5 | 2016-10-05T20:48:28.000Z | 2021-06-21T12:00:54.000Z | //----------------------------------*-C++-*----------------------------------//
/*!
* \file Alea/mc_solvers/AdjointMcParallelFor.i.hh
* \author Steven Hamilton
* \brief Perform single history of adjoint MC
*/
//---------------------------------------------------------------------------//
#ifndef Alea_mc_solvers... | 32.811321 | 86 | 0.523002 | GCZhang |
7d0a708dc06f52e14cc7348e33c2a0e2c666797f | 1,022 | cpp | C++ | CodeForces/Complete/600-699/617C-WateringFlowers.cpp | Ashwanigupta9125/code-DS-ALGO | 49f6cf7d0c682da669db23619aef3f80697b352b | [
"MIT"
] | 36 | 2019-12-27T08:23:08.000Z | 2022-01-24T20:35:47.000Z | CodeForces/Complete/600-699/617C-WateringFlowers.cpp | Ashwanigupta9125/code-DS-ALGO | 49f6cf7d0c682da669db23619aef3f80697b352b | [
"MIT"
] | 10 | 2019-11-13T02:55:18.000Z | 2021-10-13T23:28:09.000Z | CodeForces/Complete/600-699/617C-WateringFlowers.cpp | Ashwanigupta9125/code-DS-ALGO | 49f6cf7d0c682da669db23619aef3f80697b352b | [
"MIT"
] | 53 | 2020-08-15T11:08:40.000Z | 2021-10-09T15:51:38.000Z | #include <iostream>
#include <vector>
#include <algorithm>
int main(){
std::ios_base::sync_with_stdio(false);
int64_t n, x1, x2, y1, y2; std::cin >> n >> x1 >> y1 >> x2 >> y2;
std::vector<std::pair<int64_t, int64_t> > dist(n);
for(int64_t p = 0; p < n; p++){
int64_t u, v; std::cin >> u >> v;
... | 30.969697 | 133 | 0.506849 | Ashwanigupta9125 |
7d0a7fd3f3301cd8a5d5d45ec5ec6a092ee42df5 | 1,899 | cpp | C++ | ImageProc/processor_skindetect.cpp | fchapoton/NaCl | d3a584c548e7e81cf7734209a5e65a77763156a5 | [
"Apache-2.0"
] | 59 | 2015-01-06T14:16:28.000Z | 2021-07-22T04:31:45.000Z | ImageProc/processor_skindetect.cpp | fchapoton/NaCl | d3a584c548e7e81cf7734209a5e65a77763156a5 | [
"Apache-2.0"
] | 4 | 2016-02-02T07:56:50.000Z | 2016-11-14T23:16:10.000Z | ImageProc/processor_skindetect.cpp | fchapoton/NaCl | d3a584c548e7e81cf7734209a5e65a77763156a5 | [
"Apache-2.0"
] | 29 | 2015-03-10T15:35:55.000Z | 2021-07-22T04:31:46.000Z | #include "singleton_factory.hpp"
#include "opencv2/imgproc/imgproc.hpp"
#include <algorithm>
class SkinDetectProcessor : public Processor {
public:
cv::Mat operator()(cv::Mat);
private:
static void createOutput(cv::Mat&, cv::Mat&);
};
cv::Mat SkinDetectProcessor::operator()(cv::Mat im) {
// SkinDetect s... | 28.772727 | 75 | 0.684044 | fchapoton |
7d0bf456f76d1ec42e12970c0e360766044ee305 | 102 | hpp | C++ | src/data/data.hpp | alexandreLamarre/hpc-fiddle2 | 2dcea73a1f2a71b60c8e9dbb0134cf58652ab5ef | [
"MIT"
] | null | null | null | src/data/data.hpp | alexandreLamarre/hpc-fiddle2 | 2dcea73a1f2a71b60c8e9dbb0134cf58652ab5ef | [
"MIT"
] | null | null | null | src/data/data.hpp | alexandreLamarre/hpc-fiddle2 | 2dcea73a1f2a71b60c8e9dbb0134cf58652ab5ef | [
"MIT"
] | null | null | null | class DATA
{
private:
int x;
public:
DATA(int new_x);
DATA();
int testFunction();
};
| 9.272727 | 23 | 0.558824 | alexandreLamarre |
7d103e521ff8c7706bf0333674aa732e9e74c175 | 1,597 | hpp | C++ | misc/hardware/headers/FunnyOS/Hardware/GFX/VGA.hpp | LetsPlaySomeUbuntu/XitongOS-test-1 | 792d0c76f9aa4bb2b579d47c2c728394a3acf9f9 | [
"MIT"
] | null | null | null | misc/hardware/headers/FunnyOS/Hardware/GFX/VGA.hpp | LetsPlaySomeUbuntu/XitongOS-test-1 | 792d0c76f9aa4bb2b579d47c2c728394a3acf9f9 | [
"MIT"
] | null | null | null | misc/hardware/headers/FunnyOS/Hardware/GFX/VGA.hpp | LetsPlaySomeUbuntu/XitongOS-test-1 | 792d0c76f9aa4bb2b579d47c2c728394a3acf9f9 | [
"MIT"
] | null | null | null | #ifndef FUNNYOS_BOOTLOADER_COMMONS_HEADERS_FUNNYOS_BOOTLOADERCOMMONS_GFX_VGAINTERFACE_HPP
#define FUNNYOS_BOOTLOADER_COMMONS_HEADERS_FUNNYOS_BOOTLOADERCOMMONS_GFX_VGAINTERFACE_HPP
#include <FunnyOS/Misc/TerminalManager/ITerminalInterface.hpp>
namespace FunnyOS::HW {
/**
* Implementation of ITerminalInterfac... | 38.95122 | 105 | 0.76268 | LetsPlaySomeUbuntu |
7d130e68309334799e5a374813cc54f62d68a2f6 | 2,877 | cpp | C++ | applications/LinearSolversApplication/custom_python/add_custom_decompositions_to_python.cpp | lkusch/Kratos | e8072d8e24ab6f312765185b19d439f01ab7b27b | [
"BSD-4-Clause"
] | null | null | null | applications/LinearSolversApplication/custom_python/add_custom_decompositions_to_python.cpp | lkusch/Kratos | e8072d8e24ab6f312765185b19d439f01ab7b27b | [
"BSD-4-Clause"
] | null | null | null | applications/LinearSolversApplication/custom_python/add_custom_decompositions_to_python.cpp | lkusch/Kratos | e8072d8e24ab6f312765185b19d439f01ab7b27b | [
"BSD-4-Clause"
] | null | null | null | // | / |
// ' / __| _` | __| _ \ __|
// . \ | ( | | ( |\__ `
// _|\_\_| \__,_|\__|\___/ ____/
// Multi-Physics
//
// License: BSD License
// Kratos default license: kratos/license.txt
//
// Main authors: Ruben Zorrilla
//
// System i... | 41.695652 | 242 | 0.70212 | lkusch |
7d1472f5352f785b787dd27635ec8d9e26250db0 | 5,081 | cpp | C++ | src/cbga/src/cbga_task.cpp | jfangwpi/decentralized_route_planning | a31cfd1f092e43ff3b7ea2b79c516881babbbb1f | [
"MIT"
] | 6 | 2019-02-07T13:39:38.000Z | 2021-12-23T04:26:30.000Z | src/cbga/src/cbga_task.cpp | jfangwpi/decentralized_route_planning | a31cfd1f092e43ff3b7ea2b79c516881babbbb1f | [
"MIT"
] | null | null | null | src/cbga/src/cbga_task.cpp | jfangwpi/decentralized_route_planning | a31cfd1f092e43ff3b7ea2b79c516881babbbb1f | [
"MIT"
] | 2 | 2021-01-15T08:34:11.000Z | 2021-04-20T13:10:34.000Z | /*
* cbga_task.cpp
*
* Created on: Aug 30, 2018
* Author: jfang
*/
// standard library
#include <stdio.h>
#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <map>
#include "cbga/cbga_task.hpp"
using namespace librav;
// Initialize cbga task
cbga_Task::cbga_Task(int64_t ... | 34.80137 | 176 | 0.617595 | jfangwpi |
7d148641d320c570b1e5a53221756b7cc059922c | 79 | hxx | C++ | ovalsidingControl_nucleo_io/targets/freertos.armv7m.st-stm32f303re-nucleo-dev-board/NODEID.hxx | RobertPHeller/RPi-RRCircuits | 19aff23e20eebdbd028c0407d68eef77cc6ee0ec | [
"CC-BY-4.0"
] | 10 | 2018-09-04T02:12:39.000Z | 2022-03-17T20:29:32.000Z | ovalsidingControl_nucleo_io/targets/freertos.armv7m.st-stm32f303re-nucleo-dev-board/NODEID.hxx | RobertPHeller/RPi-RRCircuits | 19aff23e20eebdbd028c0407d68eef77cc6ee0ec | [
"CC-BY-4.0"
] | null | null | null | ovalsidingControl_nucleo_io/targets/freertos.armv7m.st-stm32f303re-nucleo-dev-board/NODEID.hxx | RobertPHeller/RPi-RRCircuits | 19aff23e20eebdbd028c0407d68eef77cc6ee0ec | [
"CC-BY-4.0"
] | 1 | 2018-12-26T00:32:27.000Z | 2018-12-26T00:32:27.000Z | extern const openlcb::NodeID NODE_ID = 0x050101012291ULL; // 05 01 01 01 22 91
| 39.5 | 78 | 0.759494 | RobertPHeller |
7d17cfa805b2f91dd6c988034df6db6db54ecad1 | 3,043 | cpp | C++ | serveur/Youcef/fuelgauge.cpp | de-souza/car-dashboard | ba3a6658887710a91d2d7095c9f2bb8e5f35b314 | [
"Apache-2.0"
] | 1 | 2020-02-23T04:34:05.000Z | 2020-02-23T04:34:05.000Z | serveur/Youcef/fuelgauge.cpp | de-souza/car-dashboard | ba3a6658887710a91d2d7095c9f2bb8e5f35b314 | [
"Apache-2.0"
] | 1 | 2019-11-12T14:18:19.000Z | 2019-11-12T14:27:52.000Z | serveur/Youcef/fuelgauge.cpp | de-souza/car-dashboard | ba3a6658887710a91d2d7095c9f2bb8e5f35b314 | [
"Apache-2.0"
] | 2 | 2019-11-12T14:15:09.000Z | 2021-04-12T05:10:35.000Z | #include "fuelgauge.h"
#include <QtMath>
#include <QGraphicsTextItem>
#include <QStringList>
FuelGauge::FuelGauge(objet_virtuel *)
{
value=0;
valueMax =100;
}
QRectF FuelGauge::boundingRect() const
{
return QRectF(-600, -400, 1200, 800);
}
void FuelGauge::paint(QPainter *painter, const QStyleOptionGraphicsItem*, ... | 28.439252 | 91 | 0.586592 | de-souza |
7d1a97b08c6e29abb0d14916751d499dfd8d433d | 640 | cpp | C++ | Chapter 2/2.1_myfirst.cpp | Reavolt/Cpp-Primer-Plus | 491876ca0808d55cb688d575ec4688b087387810 | [
"Unlicense"
] | 3 | 2021-10-04T11:59:10.000Z | 2022-01-05T22:26:12.000Z | Chapter 2/2.1_myfirst.cpp | Hitoku/Cpp-Primer-Plus | 491876ca0808d55cb688d575ec4688b087387810 | [
"Unlicense"
] | null | null | null | Chapter 2/2.1_myfirst.cpp | Hitoku/Cpp-Primer-Plus | 491876ca0808d55cb688d575ec4688b087387810 | [
"Unlicense"
] | 3 | 2018-11-22T17:34:42.000Z | 2020-09-19T09:39:19.000Z | //myfirst.срр -- выводит сообщение на экран
//#include "stdafx.h" --- Visual Studio --- precompiled headers
#include <iostream>
using namespace std;
//-------------------------------------------------------------------------------------------------
int main()
{ ... | 33.684211 | 99 | 0.30625 | Reavolt |
7d1cf01c69d4ad22ad17d3304ed164c6d0e093ec | 15,594 | cpp | C++ | source/gameobject/GameObject.cpp | skelleher/HappyGame | 2c7610f420dab4ccf7e636c1c0d8fb6819989853 | [
"BSD-3-Clause"
] | 4 | 2015-06-23T19:23:31.000Z | 2017-01-05T07:08:08.000Z | source/gameobject/GameObject.cpp | skelleher/HappyGame | 2c7610f420dab4ccf7e636c1c0d8fb6819989853 | [
"BSD-3-Clause"
] | null | null | null | source/gameobject/GameObject.cpp | skelleher/HappyGame | 2c7610f420dab4ccf7e636c1c0d8fb6819989853 | [
"BSD-3-Clause"
] | null | null | null | #include "GameObject.hpp"
#include "Util.hpp"
#include "StoryboardManager.hpp"
#include "StateMachine.hpp"
#include "Engine.hpp"
namespace Z
{
// ============================================================================
//
// GameObject Implementation
//
// =================================================... | 21.449794 | 173 | 0.613698 | skelleher |
7d1d43912662d8b3cb8c77c6f4fa52ffcf555527 | 3,451 | cpp | C++ | Library/Sources/Stroika/Foundation/IO/FileSystem/ThroughTmpFileWriter.cpp | SophistSolutions/Stroika | f4e5d84767903a054fba0a6b9c7c4bd1aaefd105 | [
"MIT"
] | 28 | 2015-09-22T21:43:32.000Z | 2022-02-28T01:35:01.000Z | Library/Sources/Stroika/Foundation/IO/FileSystem/ThroughTmpFileWriter.cpp | SophistSolutions/Stroika | f4e5d84767903a054fba0a6b9c7c4bd1aaefd105 | [
"MIT"
] | 98 | 2015-01-22T03:21:27.000Z | 2022-03-02T01:47:00.000Z | Library/Sources/Stroika/Foundation/IO/FileSystem/ThroughTmpFileWriter.cpp | SophistSolutions/Stroika | f4e5d84767903a054fba0a6b9c7c4bd1aaefd105 | [
"MIT"
] | 4 | 2019-02-21T16:45:25.000Z | 2022-02-18T13:40:04.000Z | /*
* Copyright(c) Sophist Solutions, Inc. 1990-2021. All rights reserved
*/
#include "../../StroikaPreComp.h"
#include <cstdio>
#if qPlatform_Windows
#include <windows.h>
#elif qPlatform_POSIX
#include <unistd.h>
#endif
#include "../../Characters/Format.h"
#include "../../Characters/ToString.h"
#include "../../Co... | 35.57732 | 233 | 0.661547 | SophistSolutions |
7d1f000775cbccc94c0dcf70cd7d768fb324ff2c | 4,162 | hpp | C++ | src/mpt/uuid/tests/tests_uuid.hpp | ford442/openmpt | 614c44fe665b0e1cce15092ecf0d069cbb3e1fe7 | [
"BSD-3-Clause"
] | 335 | 2017-02-25T16:39:27.000Z | 2022-03-29T17:45:42.000Z | src/mpt/uuid/tests/tests_uuid.hpp | ford442/openmpt | 614c44fe665b0e1cce15092ecf0d069cbb3e1fe7 | [
"BSD-3-Clause"
] | 7 | 2018-02-05T18:22:38.000Z | 2022-02-15T19:35:24.000Z | src/mpt/uuid/tests/tests_uuid.hpp | ford442/openmpt | 614c44fe665b0e1cce15092ecf0d069cbb3e1fe7 | [
"BSD-3-Clause"
] | 69 | 2017-04-10T00:48:09.000Z | 2022-03-20T10:24:45.000Z | /* SPDX-License-Identifier: BSL-1.0 OR BSD-3-Clause */
#ifndef MPT_BASE_TESTS_UUID_HPP
#define MPT_BASE_TESTS_UUID_HPP
#include "mpt/base/detect.hpp"
#include "mpt/base/namespace.hpp"
#include "mpt/random/default_engines.hpp"
#include "mpt/random/device.hpp"
#include "mpt/string/types.hpp"
#include "mpt/test/test.h... | 40.407767 | 165 | 0.763335 | ford442 |
7d1f960459ef009a467713317fd909660060ad23 | 6,323 | hpp | C++ | src/database/src/Index.hpp | maciejjablonsky/indexed-sequential-file | 50898dbe0c1864dd0a86aed6cac4ed56bf4abd33 | [
"MIT"
] | null | null | null | src/database/src/Index.hpp | maciejjablonsky/indexed-sequential-file | 50898dbe0c1864dd0a86aed6cac4ed56bf4abd33 | [
"MIT"
] | null | null | null | src/database/src/Index.hpp | maciejjablonsky/indexed-sequential-file | 50898dbe0c1864dd0a86aed6cac4ed56bf4abd33 | [
"MIT"
] | null | null | null | #pragma once
#include "Link.hpp"
#include "Memory.hpp"
#include "PageDispositor.hpp"
#include <algorithm>
#include <concepts/comparable.hpp>
#include <map>
#include <string>
#include <tuple>
#include <type_traits>
#include <utility>
#include <vector>
namespace index {
struct IndexHeader {
size_t links;
size_... | 38.554878 | 84 | 0.564922 | maciejjablonsky |
7d22c09eaef73e1615a9168ad52bda1a0d99fbac | 3,403 | cpp | C++ | src/StatsWindow.cpp | whitearsenic/Kdd99-Feature-Extractor-Prebuilt | a6128bdbc81a1fbfd9bdf76586e70c562b59fa3a | [
"MIT"
] | 99 | 2017-03-07T08:56:15.000Z | 2022-03-29T05:29:43.000Z | src/StatsWindow.cpp | cainsmile/kdd99_feature_extractor | f3d40e3f8df78a3ed7ccdbfabb1b763e9e4d87c0 | [
"MIT"
] | 19 | 2017-04-08T08:22:44.000Z | 2021-11-09T03:05:28.000Z | src/StatsWindow.cpp | cainsmile/kdd99_feature_extractor | f3d40e3f8df78a3ed7ccdbfabb1b763e9e4d87c0 | [
"MIT"
] | 46 | 2016-07-07T15:49:49.000Z | 2022-03-15T21:57:28.000Z | #include "StatsWindow.h"
#include "StatsPerHost.h"
#include "StatsPerService.h"
#include "StatsPerServiceWithSrcPort.h"
#include <assert.h>
namespace FeatureExtractor {
template<class TStatsPerHost, class TStatsPerService>
StatsWindow<TStatsPerHost, TStatsPerService>::StatsWindow(FeatureUpdater *feature_updater)
... | 33.362745 | 119 | 0.752571 | whitearsenic |
7d2373fa3dd909978b6b47a871b898721a2fdd2f | 7,850 | cpp | C++ | grasp_generation/graspitmodified_lm/graspit/ui/graspCaptureDlg.cpp | KraftOreo/EBM_Hand | 9ab1722c196b7eb99b4c3ecc85cef6e8b1887053 | [
"MIT"
] | null | null | null | grasp_generation/graspitmodified_lm/graspit/ui/graspCaptureDlg.cpp | KraftOreo/EBM_Hand | 9ab1722c196b7eb99b4c3ecc85cef6e8b1887053 | [
"MIT"
] | null | null | null | grasp_generation/graspitmodified_lm/graspit/ui/graspCaptureDlg.cpp | KraftOreo/EBM_Hand | 9ab1722c196b7eb99b4c3ecc85cef6e8b1887053 | [
"MIT"
] | null | null | null | //######################################################################
//
// GraspIt!
// Copyright (C) 2002-2009 Columbia University in the City of New York.
// All rights reserved.
//
// GraspIt! is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as publi... | 30.544747 | 95 | 0.670955 | KraftOreo |
7d250d55e815e84233ca30041068460805ebf9aa | 2,633 | cpp | C++ | MaterialLib/MPL/Properties/LinearProperty.cpp | OlafKolditz/ogs | e33400e1d9503d33ce80509a3441a873962ad675 | [
"BSD-4-Clause"
] | 1 | 2020-03-24T13:33:52.000Z | 2020-03-24T13:33:52.000Z | MaterialLib/MPL/Properties/LinearProperty.cpp | OlafKolditz/ogs | e33400e1d9503d33ce80509a3441a873962ad675 | [
"BSD-4-Clause"
] | null | null | null | MaterialLib/MPL/Properties/LinearProperty.cpp | OlafKolditz/ogs | e33400e1d9503d33ce80509a3441a873962ad675 | [
"BSD-4-Clause"
] | 1 | 2020-07-15T05:55:55.000Z | 2020-07-15T05:55:55.000Z | /**
* \file
*
* \copyright
* Copyright (c) 2012-2020, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/project/license
*/
#include <numeric>
#include "MaterialLib... | 35.106667 | 80 | 0.612989 | OlafKolditz |
7d2525ef5e6735a00d7300e326023226fec7c289 | 1,795 | cpp | C++ | oli/viii2013puncte/main.cpp | rockoanna/nirvana | 81fadbe66b0a24244feec312c6f7fe5c8effccaa | [
"MIT"
] | null | null | null | oli/viii2013puncte/main.cpp | rockoanna/nirvana | 81fadbe66b0a24244feec312c6f7fe5c8effccaa | [
"MIT"
] | 12 | 2019-09-04T10:38:24.000Z | 2019-12-08T18:09:41.000Z | oli/viii2013puncte/main.cpp | rockoanna/nirvana | 81fadbe66b0a24244feec312c6f7fe5c8effccaa | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
typedef int64_t i64;
typedef int32_t i32;
typedef uint64_t u64;
typedef uint32_t u32;
typedef string st;
typedef stringstream ss;
typedef double db;
typedef vector<i64> vl;
typedef vector<i32> vi;
typedef vector<char> vc;
typedef vector<db> vd;
typedef vector<st> vs;
t... | 18.316327 | 96 | 0.458496 | rockoanna |
7d2574a973d349b7ada6b51a8df73b9c76cf880d | 3,317 | cpp | C++ | Source/Voxel/Private/Octree.cpp | nwiswakarma/Voxel | cd53ef8c85c84c465ad771efefeeb539258c6b02 | [
"MIT"
] | 5 | 2020-05-28T00:29:22.000Z | 2021-04-15T11:14:39.000Z | Source/Voxel/Private/Octree.cpp | nwiswakarma/Voxel | cd53ef8c85c84c465ad771efefeeb539258c6b02 | [
"MIT"
] | null | null | null | Source/Voxel/Private/Octree.cpp | nwiswakarma/Voxel | cd53ef8c85c84c465ad771efefeeb539258c6b02 | [
"MIT"
] | 1 | 2020-05-28T00:32:25.000Z | 2020-05-28T00:32:25.000Z | // Copyright 2017 Phyronnaz
#include "Octree.h"
FOctree::FOctree(FIntVector Position, uint8 Depth, uint64 Id /*= -1*/) : Position(Position), Depth(Depth), Id(Id), bHasChilds(false)
{
// Max for Id
check(Depth <= 19);
}
bool FOctree::operator==(const FOctree& Other) const
{
check((Id == Other.Id) == (Position == O... | 24.93985 | 132 | 0.586675 | nwiswakarma |
7d27607a13e8632c8903d331bd2035453881ea2d | 1,876 | cpp | C++ | plugins/cmd-command/cmd_command.cpp | pozitiffcat/build-disp | 73727e17e2eba8f488a749a6daa412362a426613 | [
"MIT"
] | null | null | null | plugins/cmd-command/cmd_command.cpp | pozitiffcat/build-disp | 73727e17e2eba8f488a749a6daa412362a426613 | [
"MIT"
] | null | null | null | plugins/cmd-command/cmd_command.cpp | pozitiffcat/build-disp | 73727e17e2eba8f488a749a6daa412362a426613 | [
"MIT"
] | null | null | null | #include <boost/process.hpp>
#include "plugins_manager_api.hpp"
class cmd_command : public command
{
public:
cmd_command(boost::asio::io_service &service, const std::string &command)
: _service(service),
_command(command)
{
}
void execute(const boost::filesystem::path &workspace_path... | 30.258065 | 130 | 0.633795 | pozitiffcat |
7d2ab9ea11b4d640d50dd1bcbb313739c87f8650 | 53,944 | cxx | C++ | osprey/ipa/common/ipc_compile.cxx | sharugupta/OpenUH | daddd76858a53035f5d713f648d13373c22506e8 | [
"BSD-2-Clause"
] | null | null | null | osprey/ipa/common/ipc_compile.cxx | sharugupta/OpenUH | daddd76858a53035f5d713f648d13373c22506e8 | [
"BSD-2-Clause"
] | null | null | null | osprey/ipa/common/ipc_compile.cxx | sharugupta/OpenUH | daddd76858a53035f5d713f648d13373c22506e8 | [
"BSD-2-Clause"
] | null | null | null | /*
Copyright 2014 University of Houston. All Rights Reserved.
*/
/*
Copyright UT-Battelle, LLC. All Rights Reserved. 2014
Oak Ridge National Laboratory
*/
/*
* Copyright (C) 2010 Advanced Micro Devices, Inc. All Rights Reserved.
*/
/*
* Copyright 2003, 2004, 2005, 2006 PathScale, Inc. All Rights Reserved... | 32.186158 | 176 | 0.6146 | sharugupta |
7d2b0085f8e752aed06ec9875eaf646db8b653cd | 6,702 | cpp | C++ | FSE/Input.cpp | Alia5/FSE | e53565aa1bbf0235dfcd2c3209d18b64c1fb2df1 | [
"MIT"
] | 17 | 2017-04-02T00:17:47.000Z | 2021-11-23T21:42:48.000Z | FSE/Input.cpp | Alia5/FSE | e53565aa1bbf0235dfcd2c3209d18b64c1fb2df1 | [
"MIT"
] | null | null | null | FSE/Input.cpp | Alia5/FSE | e53565aa1bbf0235dfcd2c3209d18b64c1fb2df1 | [
"MIT"
] | 5 | 2017-08-06T12:47:18.000Z | 2020-08-14T14:16:22.000Z | #include "Input.h"
#include <SFML/Window/Keyboard.hpp>
#include <iostream>
#include <fstream>
#include <codecvt>
#include <imgui.h>
#ifdef _WIN32
#include <Windows.h>
#endif
namespace fse
{
Input::Input()
{
}
Input::~Input()
{
}
void Input::init()
{
KeyMap m =
{
{ L"ShowMenu", sf::Keyboard::Key... | 24.370909 | 90 | 0.633542 | Alia5 |
7d2dac22b74d9f442ae84a5f73042b2226741b58 | 3,457 | cc | C++ | MassRecoCompare/bin/CompareMethods.cc | NTUHEP-Tstar/TstarAnalysis | d3bcdf6f0fd19b9a34bbacb1052143856917bea7 | [
"MIT"
] | null | null | null | MassRecoCompare/bin/CompareMethods.cc | NTUHEP-Tstar/TstarAnalysis | d3bcdf6f0fd19b9a34bbacb1052143856917bea7 | [
"MIT"
] | null | null | null | MassRecoCompare/bin/CompareMethods.cc | NTUHEP-Tstar/TstarAnalysis | d3bcdf6f0fd19b9a34bbacb1052143856917bea7 | [
"MIT"
] | null | null | null | /*******************************************************************************
*
* Filename : CompareMethods
* Description : Make Plots for Comparision of reconstruction methods
* Author : Yi-Mu "Enoch" Chen [ ensc@hep1.phys.ntu.edu.tw ]
*
*******************************************************************... | 34.919192 | 107 | 0.505062 | NTUHEP-Tstar |
7d2e36069972f82849c757cc5fa65fac9363f7dd | 1,283 | cpp | C++ | msvc/libnature_staticreg.cpp | GarethNelson/ares | fb2b2d25f000a3e0aa974ff08a3f0ec8fc89845e | [
"MIT"
] | null | null | null | msvc/libnature_staticreg.cpp | GarethNelson/ares | fb2b2d25f000a3e0aa974ff08a3f0ec8fc89845e | [
"MIT"
] | null | null | null | msvc/libnature_staticreg.cpp | GarethNelson/ares | fb2b2d25f000a3e0aa974ff08a3f0ec8fc89845e | [
"MIT"
] | null | null | null | // This file is automatically generated.
#include "cssysdef.h"
#include "csutil/scf.h"
// Put static linking stuff into own section.
// The idea is that this allows the section to be swapped out but not
// swapped in again b/c something else in it was needed.
#if !defined(CS_DEBUG) && defined(CS_COMPILER_MSVC)
#pragma... | 25.156863 | 69 | 0.708496 | GarethNelson |
7d2e902c1f44233cc81928e73680269179213108 | 1,982 | cpp | C++ | uva/446 - Kibbles 'n' Bits 'n' Bits 'n' Bits.cpp | taufique71/sports-programming | c29a92b5e5424c7de6f94e302fc6783561de9b3d | [
"MIT"
] | null | null | null | uva/446 - Kibbles 'n' Bits 'n' Bits 'n' Bits.cpp | taufique71/sports-programming | c29a92b5e5424c7de6f94e302fc6783561de9b3d | [
"MIT"
] | null | null | null | uva/446 - Kibbles 'n' Bits 'n' Bits 'n' Bits.cpp | taufique71/sports-programming | c29a92b5e5424c7de6f94e302fc6783561de9b3d | [
"MIT"
] | null | null | null | #include <iostream>
#include <cstring>
using namespace std;
char bin[71][5];
int deci[71];
void init()
{
strcpy(bin['0'],"0000");
strcpy(bin['1'],"0001");
strcpy(bin['2'],"0010");
strcpy(bin['3'],"0011");
strcpy(bin['4'],"0100");
strcpy(bin['5'],"0101");
strcpy(bin['6'],"011... | 19.057692 | 97 | 0.431887 | taufique71 |
7d3371311b9488a2f769aa811a8b358a23d9da30 | 7,207 | hpp | C++ | SW4STM32/ssd1306/SSD1306/Inc/SSD1306.hpp | ironiron/ssd1306-stm32HAL | 468d3ae1335cf7f41f3ec703ed3abbfa4bdbb15b | [
"MIT"
] | null | null | null | SW4STM32/ssd1306/SSD1306/Inc/SSD1306.hpp | ironiron/ssd1306-stm32HAL | 468d3ae1335cf7f41f3ec703ed3abbfa4bdbb15b | [
"MIT"
] | null | null | null | SW4STM32/ssd1306/SSD1306/Inc/SSD1306.hpp | ironiron/ssd1306-stm32HAL | 468d3ae1335cf7f41f3ec703ed3abbfa4bdbb15b | [
"MIT"
] | null | null | null | /**
******************************************************************************
* @file SSD1306.hpp
* @author Olivier Van den Eede - ovde.be
* @author Rafał Mazurkiewicz
* @date 13.08.2019
* @brief Library for OLED display
*****************************************************************************... | 30.668085 | 119 | 0.669488 | ironiron |
7d339d23e910bf930726949ec57e468922716a24 | 9,704 | cpp | C++ | lib/AST/ASTContext.cpp | clementval/fc | a5b444963c1b46e4eb34d938d992836d718010f7 | [
"BSD-2-Clause"
] | null | null | null | lib/AST/ASTContext.cpp | clementval/fc | a5b444963c1b46e4eb34d938d992836d718010f7 | [
"BSD-2-Clause"
] | null | null | null | lib/AST/ASTContext.cpp | clementval/fc | a5b444963c1b46e4eb34d938d992836d718010f7 | [
"BSD-2-Clause"
] | null | null | null | // Copyright (c) 2019, Compiler Tree Technologies Pvt Ltd.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain the above copyright notice, this
... | 31.921053 | 81 | 0.662304 | clementval |
7d39cb3dcb628c85a33d22af45d7af4c0ab1af99 | 957 | cpp | C++ | cpp/11reference.cpp | yaswanthsaivendra/CP | 742ba2f89180f79837fb8b32ce43df215f7b7fa1 | [
"MIT"
] | null | null | null | cpp/11reference.cpp | yaswanthsaivendra/CP | 742ba2f89180f79837fb8b32ce43df215f7b7fa1 | [
"MIT"
] | null | null | null | cpp/11reference.cpp | yaswanthsaivendra/CP | 742ba2f89180f79837fb8b32ce43df215f7b7fa1 | [
"MIT"
] | null | null | null | // //Reference variables
// //these can be used to call a single variable with different names.
// //reference is a alias of variable
// //it must be intialised when declared.
// //it cannot be modified to refer other variable.
// #include<iostream>
// using namespace std;
// int main(){
// int x = 45;
// in... | 20.361702 | 115 | 0.547544 | yaswanthsaivendra |
7d3b6b4115bc6628e204f508c4b3f5818833dfb0 | 31,790 | cpp | C++ | src/Pegasus/Client/CIMOperationRequestEncoder.cpp | ncultra/Pegasus-2.5 | 4a0b9a1b37e2eae5c8105fdea631582dc2333f9a | [
"MIT"
] | null | null | null | src/Pegasus/Client/CIMOperationRequestEncoder.cpp | ncultra/Pegasus-2.5 | 4a0b9a1b37e2eae5c8105fdea631582dc2333f9a | [
"MIT"
] | null | null | null | src/Pegasus/Client/CIMOperationRequestEncoder.cpp | ncultra/Pegasus-2.5 | 4a0b9a1b37e2eae5c8105fdea631582dc2333f9a | [
"MIT"
] | 1 | 2022-03-07T22:54:02.000Z | 2022-03-07T22:54:02.000Z | //%2005////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development
// Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems.
// Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.;
// IBM Corp.; EMC Cor... | 35.719101 | 116 | 0.744825 | ncultra |
7d3ecf4e7084f243e00b9e9e2addab111d3b09b0 | 6,019 | cpp | C++ | Saturn/src/Saturn/Vulkan/VulkanDebugMessenger.cpp | BEASTSM96/Sparky-Engine | 234afce5572a1b0240cb8b59d0b25a9259c5572a | [
"MIT"
] | null | null | null | Saturn/src/Saturn/Vulkan/VulkanDebugMessenger.cpp | BEASTSM96/Sparky-Engine | 234afce5572a1b0240cb8b59d0b25a9259c5572a | [
"MIT"
] | 3 | 2020-08-14T17:09:06.000Z | 2020-08-14T17:10:10.000Z | Saturn/src/Saturn/Vulkan/VulkanDebugMessenger.cpp | BEASTSM96/Sparky-Engine | 234afce5572a1b0240cb8b59d0b25a9259c5572a | [
"MIT"
] | null | null | null | /********************************************************************************************
* *
* *
* ... | 53.265487 | 228 | 0.617212 | BEASTSM96 |
7d425c66a4b68910473420e406cb2ffa407d6dca | 935 | cpp | C++ | IP2 - ToDoList/DBConnection.cpp | BesedinAlex/mobile-dev-labs | e393412f40de9bcffc214d2d780d049e52c815bc | [
"MIT"
] | null | null | null | IP2 - ToDoList/DBConnection.cpp | BesedinAlex/mobile-dev-labs | e393412f40de9bcffc214d2d780d049e52c815bc | [
"MIT"
] | null | null | null | IP2 - ToDoList/DBConnection.cpp | BesedinAlex/mobile-dev-labs | e393412f40de9bcffc214d2d780d049e52c815bc | [
"MIT"
] | 1 | 2020-03-11T09:23:39.000Z | 2020-03-11T09:23:39.000Z | //---------------------------------------------------------------------------
#pragma hdrstop
#include "DBConnection.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma classgroup "FMX.Controls.TControl"
#pragma resource "*.dfm"
TDataModuleSQ... | 33.392857 | 78 | 0.42246 | BesedinAlex |
7d4294d05ea3eff45a2cde329cde5da11f600208 | 5,301 | cpp | C++ | testbed/main.cpp | nnnewb/deterministic_physics_2d | 1ad7e42f78b35bfa011280fb982003a3c962f06e | [
"MIT"
] | null | null | null | testbed/main.cpp | nnnewb/deterministic_physics_2d | 1ad7e42f78b35bfa011280fb982003a3c962f06e | [
"MIT"
] | null | null | null | testbed/main.cpp | nnnewb/deterministic_physics_2d | 1ad7e42f78b35bfa011280fb982003a3c962f06e | [
"MIT"
] | 1 | 2021-04-22T09:41:55.000Z | 2021-04-22T09:41:55.000Z | #include "SDL2pp/SDL2pp.hh"
#include "SDL.h"
#include "shapes/polygon.h"
#include "shapes/circle.h"
#include "render_shapes.h"
#include "render_collider.h"
#include "sprite.h"
int main(int argc, char* argv[]) {
SDL2pp::SDL ctx(SDL_INIT_EVERYTHING);
SDL2pp::Window window("TestBed", SDL_WINDOWPOS_CENTERED, SDL_... | 31.182353 | 113 | 0.499906 | nnnewb |
7d481e65c34703fb68f36e222813ad37fc593bb3 | 462 | cpp | C++ | src/Replacement.cpp | lingnand/Helium | d1f8fab6eb5d60e35b3287f6ea35cd1fae71f816 | [
"BSD-3-Clause"
] | 8 | 2021-04-16T02:05:54.000Z | 2022-03-16T13:56:23.000Z | src/Replacement.cpp | lingnand/Helium | d1f8fab6eb5d60e35b3287f6ea35cd1fae71f816 | [
"BSD-3-Clause"
] | null | null | null | src/Replacement.cpp | lingnand/Helium | d1f8fab6eb5d60e35b3287f6ea35cd1fae71f816 | [
"BSD-3-Clause"
] | 2 | 2021-04-17T10:49:58.000Z | 2021-07-21T20:39:52.000Z | /*
*
* Created on: Apr 4, 2015
* Author: lingnan
*/
#include <Replacement.h>
QDebug operator<<(QDebug dbg, const TextSelection &selection)
{
dbg.nospace() << "TextSelection(" << selection.start << "," << selection.end << ")";
return dbg.space();
}
QDebug operator<<(QDebug dbg, const Replacement &rep... | 24.315789 | 103 | 0.625541 | lingnand |
7d4b6922d45f9056306119da8f8c84a397185521 | 3,044 | cpp | C++ | Engine/Source/Runtime/Slate/Private/Framework/Docking/LayoutService.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | 1 | 2022-01-29T18:36:12.000Z | 2022-01-29T18:36:12.000Z | Engine/Source/Runtime/Slate/Private/Framework/Docking/LayoutService.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | Engine/Source/Runtime/Slate/Private/Framework/Docking/LayoutService.cpp | windystrife/UnrealEngine_NVIDIAGameWork | b50e6338a7c5b26374d66306ebc7807541ff815e | [
"MIT"
] | null | null | null | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#include "Framework/Docking/LayoutService.h"
#include "Misc/ConfigCacheIni.h"
const TCHAR* EditorLayoutsSectionName = TEXT("EditorLayouts");
const FString& FLayoutSaveRestore::GetAdditionalLayoutConfigIni()
{
static const FString IniSectionAdditionalCon... | 34.988506 | 155 | 0.772668 | windystrife |
7d4ca9c1801db5e3ca43836a69097d892f41dc28 | 3,973 | cpp | C++ | Lab4/RSA.cpp | Gnomus042/crypto | eaea809886c99234484170376c8c20bf11436807 | [
"MIT"
] | null | null | null | Lab4/RSA.cpp | Gnomus042/crypto | eaea809886c99234484170376c8c20bf11436807 | [
"MIT"
] | null | null | null | Lab4/RSA.cpp | Gnomus042/crypto | eaea809886c99234484170376c8c20bf11436807 | [
"MIT"
] | null | null | null | //
// Created by anast on 11/14/2020.
//
#include <cassert>
#include "RSA.h"
#include "../Lab3/Kupyna.h"
#include "../Lab3/SHA256.h"
const int RSA_SIZE = 1024;
pair<Key, Key> RSA::keygen(int prime_size) {
std::cout << "Generating primes" << std::endl;
BigInt p = get_prime(prime_size);
std::cout << "Prime... | 35.792793 | 112 | 0.559779 | Gnomus042 |
7d4e031826aa4bc29a161baa4599d46e94208ad3 | 926 | cc | C++ | solutions/usaco/dec-2016/bronze/blocks.cc | zwliew/ctci | 871f4fc957be96c6d0749d205549b7b35dc53d9e | [
"MIT"
] | 4 | 2020-11-07T14:38:02.000Z | 2022-01-03T19:02:36.000Z | solutions/usaco/dec-2016/bronze/blocks.cc | zwliew/ctci | 871f4fc957be96c6d0749d205549b7b35dc53d9e | [
"MIT"
] | 1 | 2019-04-17T06:55:14.000Z | 2019-04-17T06:55:14.000Z | solutions/usaco/dec-2016/bronze/blocks.cc | zwliew/ctci | 871f4fc957be96c6d0749d205549b7b35dc53d9e | [
"MIT"
] | null | null | null | /*
ID: zhaowei10
TASK:
LANG: C++14
*/
#include "bits/stdc++.h"
using namespace std;
#ifdef LOCAL
#include "../../_library/cc/debug.h"
#define FILE "test"
#else
#define debug(...) 0
#define FILE "blocks"
#endif
int main() {
cin.tie(nullptr)->sync_with_stdio(false);
if (fopen(FILE ".in", "r")) {
freopen(FILE "... | 17.807692 | 43 | 0.50108 | zwliew |
7d503e73c944bffbffb3a94b31da9a2ec2a3a98a | 6,968 | cpp | C++ | sources/Database.cpp | eubrunomiguel/garuna | e18d54213b561fbc7075eaf2acb131b2084a6434 | [
"MIT"
] | 57 | 2018-05-16T17:04:01.000Z | 2022-03-22T00:18:42.000Z | sources/Database.cpp | eubrunomiguel/garuna | e18d54213b561fbc7075eaf2acb131b2084a6434 | [
"MIT"
] | null | null | null | sources/Database.cpp | eubrunomiguel/garuna | e18d54213b561fbc7075eaf2acb131b2084a6434 | [
"MIT"
] | 17 | 2019-01-25T04:04:59.000Z | 2022-03-13T11:54:08.000Z | //
// Database.cpp
// server
//
// Created by Bruno Macedo Miguel on 3/23/17.
// Copyright © 2017 d2server. All rights reserved.
//
#include "Database.hpp"
uint8_t DatabaseIO::numinstantiated = 0;
bool DatabaseIO::loadPlayer(const uint32_t& databaseid, Player& player)
{
if (players_cache.count(databaseid) ==... | 34.156863 | 278 | 0.575918 | eubrunomiguel |