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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c9af57acaf292d9e5dded59e15a94507fd51e092 | 3,568 | hpp | C++ | include/cass/iterator.hpp | API92/cassaforte | 27eb8fdd822c0fc5d7b078228b698cb2e0804e01 | [
"BSD-2-Clause"
] | null | null | null | include/cass/iterator.hpp | API92/cassaforte | 27eb8fdd822c0fc5d7b078228b698cb2e0804e01 | [
"BSD-2-Clause"
] | null | null | null | include/cass/iterator.hpp | API92/cassaforte | 27eb8fdd822c0fc5d7b078228b698cb2e0804e01 | [
"BSD-2-Clause"
] | null | null | null | /*
* Copyright (C) Andrey Pikas
*/
#pragma once
#include "delete_defaults.hpp"
#include "forward.hpp"
#include "impexp.hpp"
typedef struct CassIterator_ CassIterator;
namespace cass {
class CASSA_IMPEXP iterator : delete_defaults {
public:
static iterator * ptr(::CassIterator *p);
::CassIterator * backe... | 27.446154 | 70 | 0.716928 | API92 |
c9b002ebb15e6cceb3fd782e4180efc6daaa7c44 | 1,524 | cc | C++ | RAVL2/Core/System/testSTL.cc | isuhao/ravl2 | 317e0ae1cb51e320b877c3bad6a362447b5e52ec | [
"BSD-Source-Code"
] | null | null | null | RAVL2/Core/System/testSTL.cc | isuhao/ravl2 | 317e0ae1cb51e320b877c3bad6a362447b5e52ec | [
"BSD-Source-Code"
] | null | null | null | RAVL2/Core/System/testSTL.cc | isuhao/ravl2 | 317e0ae1cb51e320b877c3bad6a362447b5e52ec | [
"BSD-Source-Code"
] | null | null | null | // This file is part of RAVL, Recognition And Vision Library
// Copyright (C) 2001, University of Surrey
// This code may be redistributed under the terms of the GNU Lesser
// General Public License (LGPL). See the lgpl.licence file for details or
// see http://www.gnu.org/copyleft/lesser.html
// file-header-ends-here
... | 24.580645 | 74 | 0.646325 | isuhao |
c9b7684f537f975682598e17fb8da142a6258f88 | 3,553 | hpp | C++ | SPD/Schrage/Alternatywna implementacja kopca/kopiec.hpp | AzethMeron/SPD | d24f68b01101ed0589071fbc7dc030fb1c4d7efb | [
"Unlicense"
] | null | null | null | SPD/Schrage/Alternatywna implementacja kopca/kopiec.hpp | AzethMeron/SPD | d24f68b01101ed0589071fbc7dc030fb1c4d7efb | [
"Unlicense"
] | null | null | null | SPD/Schrage/Alternatywna implementacja kopca/kopiec.hpp | AzethMeron/SPD | d24f68b01101ed0589071fbc7dc030fb1c4d7efb | [
"Unlicense"
] | null | null | null | #ifndef KOPIEC_HPP
#define KOPIEC_HPP
#include <vector>
#include <algorithm>
#include <functional>
#include "Stack.hpp"
using namespace std;
// You need to pass function in constructor that will be used to compare values
// bool Comp(const TYPE& l, const TYPE& r)
// Return TRUE if LEFT is bigger than RIGHT to get a... | 33.205607 | 175 | 0.663665 | AzethMeron |
c9b88fe70f45e6dc9b57308f7b5af86e859cda19 | 1,669 | cpp | C++ | libs/geometry/doc/src/examples/algorithms/assign_2d_point.cpp | Ron2014/boost_1_48_0 | 19673f69677ffcba7c7bd6e08ec07ee3962f161c | [
"BSL-1.0"
] | null | null | null | libs/geometry/doc/src/examples/algorithms/assign_2d_point.cpp | Ron2014/boost_1_48_0 | 19673f69677ffcba7c7bd6e08ec07ee3962f161c | [
"BSL-1.0"
] | null | null | null | libs/geometry/doc/src/examples/algorithms/assign_2d_point.cpp | Ron2014/boost_1_48_0 | 19673f69677ffcba7c7bd6e08ec07ee3962f161c | [
"BSL-1.0"
] | null | null | null | // Boost.Geometry (aka GGL, Generic Geometry Library)
// QuickBook Example
// Copyright (c) 2011 Barend Gehrels, Amsterdam, the Netherlands.
// Use, modification and distribution is subject to the Boost Software License,
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/... | 26.492063 | 138 | 0.672259 | Ron2014 |
c9ba4f04b02308970fd6d08c048c104fbcd54faa | 5,627 | hxx | C++ | main/svtools/source/uno/wizard/wizardshell.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 679 | 2015-01-06T06:34:58.000Z | 2022-03-30T01:06:03.000Z | main/svtools/source/uno/wizard/wizardshell.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 102 | 2017-11-07T08:51:31.000Z | 2022-03-17T12:13:49.000Z | main/svtools/source/uno/wizard/wizardshell.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 331 | 2015-01-06T11:40:55.000Z | 2022-03-14T04:07:51.000Z | /**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to y... | 40.482014 | 120 | 0.54896 | Grosskopf |
c9bac0dfcabc1430d6ca3e5a4f613c339bdb21de | 4,402 | hpp | C++ | include/IteratorRecognition/Exchange/JSONTransfer.hpp | robcasloz/IteratorRecognition | fa1a1e67c36cde3639ac40528228ae85e54e3b13 | [
"MIT"
] | null | null | null | include/IteratorRecognition/Exchange/JSONTransfer.hpp | robcasloz/IteratorRecognition | fa1a1e67c36cde3639ac40528228ae85e54e3b13 | [
"MIT"
] | 6 | 2019-05-29T21:11:03.000Z | 2021-07-01T10:47:02.000Z | include/IteratorRecognition/Exchange/JSONTransfer.hpp | robcasloz/IteratorRecognition | fa1a1e67c36cde3639ac40528228ae85e54e3b13 | [
"MIT"
] | 1 | 2019-05-13T11:55:39.000Z | 2019-05-13T11:55:39.000Z | //
//
//
#pragma once
#include "IteratorRecognition/Config.hpp"
#include "IteratorRecognition/Support/Utils/Extras.hpp"
#include "IteratorRecognition/Support/Utils/DebugInfo.hpp"
#include "IteratorRecognition/Support/CondensationGraph.hpp"
#include "IteratorRecognition/Analysis/GraphUpdater.hpp"
#include "Iterat... | 25.593023 | 78 | 0.714448 | robcasloz |
c9bdd965321b0549b6b969d1466940b5a5fc7718 | 10,516 | cpp | C++ | WOF2/src/WOF/match/Match_Script.cpp | jadnohra/World-Of-Football | fc4c9dd23e0b2d8381ae8f62b1c387af7f28fcfc | [
"MIT"
] | 3 | 2018-12-02T14:09:22.000Z | 2021-11-22T07:14:05.000Z | WOF2/src/WOF/match/Match_Script.cpp | jadnohra/World-Of-Football | fc4c9dd23e0b2d8381ae8f62b1c387af7f28fcfc | [
"MIT"
] | 1 | 2018-12-03T22:54:38.000Z | 2018-12-03T22:54:38.000Z | WOF2/src/WOF/match/Match_Script.cpp | jadnohra/World-Of-Football | fc4c9dd23e0b2d8381ae8f62b1c387af7f28fcfc | [
"MIT"
] | 2 | 2020-09-22T21:04:14.000Z | 2021-05-24T09:43:28.000Z | #include "Match.h"
#include "inc/Entities.h"
DECLARE_INSTANCE_TYPE_NAME(WOF::match::Match, CMatch);
namespace WOF { namespace match {
const TCHAR* Match::ScriptClassName = L"CMatch";
void Match::declareInVM(SquirrelVM& target) {
SqPlus::SQClassDef<Match>(ScriptClassName).
enumInt(Scene_Up, L"Scene... | 28.042667 | 227 | 0.715766 | jadnohra |
c9bdf38f640c35fba71055c1b023061cfc1190b5 | 2,117 | cc | C++ | nipXray/src/NXHit.cc | maxwell-herrmann/geant4-simple-examples | 0052d40fdc05baef05b4a6873c03d0d54885ad40 | [
"BSD-2-Clause"
] | 9 | 2015-04-27T11:54:19.000Z | 2022-01-30T23:42:00.000Z | nipXray/src/NXHit.cc | maxwell-herrmann/geant4-simple-examples | 0052d40fdc05baef05b4a6873c03d0d54885ad40 | [
"BSD-2-Clause"
] | null | null | null | nipXray/src/NXHit.cc | maxwell-herrmann/geant4-simple-examples | 0052d40fdc05baef05b4a6873c03d0d54885ad40 | [
"BSD-2-Clause"
] | 3 | 2019-12-18T21:11:57.000Z | 2020-05-28T17:30:03.000Z | //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#include "NXHit.hh"
#include "G4UnitsTable.hh"
#include "G4VVisManager.hh"
#include "G4Circle.hh"
#include "G4Colour.hh"
#include "G4VisAttributes.hh"
G4All... | 27.141026 | 80 | 0.58479 | maxwell-herrmann |
c9bdf5d0a28d21aa4c108a76ad77f4635673acb2 | 52,974 | cc | C++ | src/meshes/hermite_element_quad_mesh.template.cc | pkeuchel/oomph-lib | 37c1c61425d6b9ea1c2ddceef63a68a228af6fa4 | [
"RSA-MD"
] | 4 | 2020-11-16T12:25:09.000Z | 2021-06-29T08:53:25.000Z | src/meshes/hermite_element_quad_mesh.template.cc | pkeuchel/oomph-lib | 37c1c61425d6b9ea1c2ddceef63a68a228af6fa4 | [
"RSA-MD"
] | 2 | 2020-05-05T22:41:37.000Z | 2020-05-10T14:14:17.000Z | src/meshes/hermite_element_quad_mesh.template.cc | pkeuchel/oomph-lib | 37c1c61425d6b9ea1c2ddceef63a68a228af6fa4 | [
"RSA-MD"
] | 3 | 2021-01-31T14:09:20.000Z | 2021-06-07T07:20:51.000Z | // LIC// ====================================================================
// LIC// This file forms part of oomph-lib, the object-oriented,
// LIC// multi-physics finite-element library, available
// LIC// at http://www.oomph-lib.org.
// LIC//
// LIC// Copyright (C) 2006-2021 Matthias Heil and Andrew Hazel
// LIC//
... | 34.088803 | 81 | 0.563069 | pkeuchel |
c9c01d9391098e84726256cf59347d89fb4ed591 | 1,132 | cpp | C++ | Crypt.cpp | wolframtheta/cell | 71c14c391c00b2a125621a5134b5440a48c39d98 | [
"MIT"
] | null | null | null | Crypt.cpp | wolframtheta/cell | 71c14c391c00b2a125621a5134b5440a48c39d98 | [
"MIT"
] | null | null | null | Crypt.cpp | wolframtheta/cell | 71c14c391c00b2a125621a5134b5440a48c39d98 | [
"MIT"
] | null | null | null | #include "utils.hpp"
#include "ListCells.hpp"
#include "Crypt.hpp"
Crypt::Crypt(){
this->rate = -1;
}
Crypt::Crypt(Cell cellCrypt) {
this->cell = cellCrypt;
this->rate = 0.0;
this->listCells = ListCells();
this->meanIntensity = 0.0;
this->meanRawIntensity = 0.0;
}
double Crypt::getMeanIntensity() {
retu... | 18.258065 | 118 | 0.675795 | wolframtheta |
c9c088467e31b7ec78805e207ac1147fffc14eb5 | 8,042 | cc | C++ | GraphLib/graphviz/graphviz.cc | intact-software-systems/cpp-software-patterns | e463fc7eeba4946b365b5f0b2eecf3da0f4c895b | [
"MIT"
] | 1 | 2020-09-03T07:23:11.000Z | 2020-09-03T07:23:11.000Z | GraphLib/graphviz/graphviz.cc | intact-software-systems/cpp-software-patterns | e463fc7eeba4946b365b5f0b2eecf3da0f4c895b | [
"MIT"
] | null | null | null | GraphLib/graphviz/graphviz.cc | intact-software-systems/cpp-software-patterns | e463fc7eeba4946b365b5f0b2eecf3da0f4c895b | [
"MIT"
] | null | null | null | /***************************************************************************
graphviz.h - description
-------------------
begin : Thu Nov 25 2005
copyright : (C) 2005 by Knut-Helge Vik
email : knuthelv@ifi.uio.... | 31.050193 | 125 | 0.531957 | intact-software-systems |
c9c4d5fa82d61f0418e3b3411dec22be8bf588fe | 1,066 | hpp | C++ | library/ATF/_personal_automine_uninstall_circle_zoclInfo.hpp | lemkova/Yorozuya | f445d800078d9aba5de28f122cedfa03f26a38e4 | [
"MIT"
] | 29 | 2017-07-01T23:08:31.000Z | 2022-02-19T10:22:45.000Z | library/ATF/_personal_automine_uninstall_circle_zoclInfo.hpp | kotopes/Yorozuya | 605c97d3a627a8f6545cc09f2a1b0a8afdedd33a | [
"MIT"
] | 90 | 2017-10-18T21:24:51.000Z | 2019-06-06T02:30:33.000Z | library/ATF/_personal_automine_uninstall_circle_zoclInfo.hpp | kotopes/Yorozuya | 605c97d3a627a8f6545cc09f2a1b0a8afdedd33a | [
"MIT"
] | 44 | 2017-12-19T08:02:59.000Z | 2022-02-24T23:15:01.000Z | // This file auto generated by plugin for ida pro. Generated code only for x64. Please, dont change manually
#pragma once
#include <common/common.h>
#include <_personal_automine_uninstall_circle_zocl.hpp>
START_ATF_NAMESPACE
namespace Info
{
using _personal_automine_uninstall_circle_zoclctor... | 59.222222 | 266 | 0.839587 | lemkova |
c9c7160376a9a4ec133969578a1479b55cb57477 | 6,076 | cpp | C++ | collection/cp/bcw_codebook-master/Contest/ASC35/pE.cpp | daemonslayer/Notebook | a9880be9bd86955afd6b8f7352822bc18673eda3 | [
"Apache-2.0"
] | 1 | 2019-03-24T13:12:01.000Z | 2019-03-24T13:12:01.000Z | collection/cp/bcw_codebook-master/Contest/ASC35/pE.cpp | daemonslayer/Notebook | a9880be9bd86955afd6b8f7352822bc18673eda3 | [
"Apache-2.0"
] | null | null | null | collection/cp/bcw_codebook-master/Contest/ASC35/pE.cpp | daemonslayer/Notebook | a9880be9bd86955afd6b8f7352822bc18673eda3 | [
"Apache-2.0"
] | null | null | null | #include<bits/stdc++.h>
#include<unistd.h>
using namespace std;
#define FZ(n) memset((n),0,sizeof(n))
#define FMO(n) memset((n),-1,sizeof(n))
#define F first
#define S second
#define PB push_back
#define ALL(x) begin(x),end(x)
#define SZ(x) ((int)(x).size())
#define IOS ios_base::sync_with_stdio(0); cin.tie(0)
#ifdef O... | 21.170732 | 73 | 0.453588 | daemonslayer |
c9c9e62749f9f582f2ed451c25f411f88b6c5f96 | 12,936 | cpp | C++ | android/android_9/frameworks/av/media/mtp/tests/MtpFfsHandle_test.cpp | yakuizhao/intel-vaapi-driver | b2bb0383352694941826543a171b557efac2219b | [
"MIT"
] | null | null | null | android/android_9/frameworks/av/media/mtp/tests/MtpFfsHandle_test.cpp | yakuizhao/intel-vaapi-driver | b2bb0383352694941826543a171b557efac2219b | [
"MIT"
] | null | null | null | android/android_9/frameworks/av/media/mtp/tests/MtpFfsHandle_test.cpp | yakuizhao/intel-vaapi-driver | b2bb0383352694941826543a171b557efac2219b | [
"MIT"
] | 2 | 2021-07-08T07:42:11.000Z | 2021-07-09T21:56:10.000Z | /*
* Copyright 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 applica... | 33.254499 | 95 | 0.666976 | yakuizhao |
c9cf419ddd7f079c3362c7d339281faab65c63b3 | 745 | inl | C++ | src/ServiceLocator.inl | HumpaLumpa007/LowPolyEngine | 800cfa84f6113424a2643a4a99fe214195e45cd5 | [
"MIT"
] | 6 | 2017-11-20T15:10:17.000Z | 2018-03-07T14:59:25.000Z | src/ServiceLocator.inl | ClemensGerstung/LowPolyEngine | 800cfa84f6113424a2643a4a99fe214195e45cd5 | [
"MIT"
] | null | null | null | src/ServiceLocator.inl | ClemensGerstung/LowPolyEngine | 800cfa84f6113424a2643a4a99fe214195e45cd5 | [
"MIT"
] | 1 | 2021-03-03T12:09:42.000Z | 2021-03-03T12:09:42.000Z | #pragma once
template <typename TService>
std::weak_ptr<TService> lpe::Locator<TService>::Get() const
{
return service;
}
//template <typename TService, typename TNullService>
//template <typename>
//void src::Locator<TService, TNullService>::Provide(TService* service)
//{
// if (service == nullptr)
// {
// th... | 21.285714 | 71 | 0.673826 | HumpaLumpa007 |
c9d2a8e4d445d19f18c2b94e84370e933d1293fb | 1,070 | cc | C++ | vendor/chromium/base/process/process_handle_fuchsia.cc | thorium-cfx/fivem | 587eb7c12066a2ebf8631bde7bb39ee2df1b5a0c | [
"MIT"
] | 5,411 | 2017-04-14T08:57:56.000Z | 2022-03-30T19:35:15.000Z | vendor/chromium/base/process/process_handle_fuchsia.cc | big-rip/fivem-1 | c08af22110802e77816dfdde29df1662f8dea563 | [
"MIT"
] | 802 | 2017-04-21T14:18:36.000Z | 2022-03-31T21:20:48.000Z | vendor/chromium/base/process/process_handle_fuchsia.cc | big-rip/fivem-1 | c08af22110802e77816dfdde29df1662f8dea563 | [
"MIT"
] | 2,011 | 2017-04-14T09:44:15.000Z | 2022-03-31T15:40:39.000Z | // Copyright 2017 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 "base/process/process_handle.h"
#include <zircon/process.h>
#include <zircon/status.h>
#include <zircon/syscalls.h>
#include "base/logging.h"
... | 28.157895 | 80 | 0.706542 | thorium-cfx |
c9d2d6f7e2aae925899a9b18fde73b32451fed98 | 2,123 | cpp | C++ | GpuMiner/XDagCore/XTaskWrapper.cpp | swordlet/DaggerAOCLminer | f4fa5b5aec4942863c234463d3aeb244c472eae4 | [
"MIT"
] | 5 | 2019-03-08T11:26:35.000Z | 2022-01-15T12:53:57.000Z | GpuMiner/XDagCore/XTaskWrapper.cpp | swordlet/DaggerAOCLminer | f4fa5b5aec4942863c234463d3aeb244c472eae4 | [
"MIT"
] | null | null | null | GpuMiner/XDagCore/XTaskWrapper.cpp | swordlet/DaggerAOCLminer | f4fa5b5aec4942863c234463d3aeb244c472eae4 | [
"MIT"
] | 6 | 2019-03-07T08:46:33.000Z | 2022-02-15T17:38:18.000Z | // Task data
// Author: Evgeniy Sukhomlinov
// 2018
// Licensed under GNU General Public License, Version 3. See the LICENSE file.
#include "XTaskWrapper.h"
#include "Core/Log.h"
#include "Utils/Utils.h"
#include "Utils/Random.h"
#include "Hash/sha256_mod.h"
#define bytereverse(x) ( ((x) << 24) | (((x) <... | 31.220588 | 110 | 0.651908 | swordlet |
c9d636119049f8425a753a8b30ea887a9659b8b2 | 18,057 | cpp | C++ | src/asm/RegisterFixes.cpp | doe300/VC4C | f69ba1f7114be0e97de421301c788176daafef29 | [
"MIT"
] | 111 | 2017-11-02T14:46:45.000Z | 2022-03-15T21:32:59.000Z | src/asm/RegisterFixes.cpp | doe300/VC4C | f69ba1f7114be0e97de421301c788176daafef29 | [
"MIT"
] | 139 | 2017-10-09T07:39:01.000Z | 2021-11-20T15:31:27.000Z | src/asm/RegisterFixes.cpp | doe300/VC4C | f69ba1f7114be0e97de421301c788176daafef29 | [
"MIT"
] | 33 | 2017-10-10T10:19:58.000Z | 2022-02-27T15:59:50.000Z | /*
* Author: doe300
*
* See the file "LICENSE" for the full license governing this code.
*/
#include "RegisterFixes.h"
#include "../Method.h"
#include "../analysis/ControlFlowGraph.h"
#include "../analysis/LivenessAnalysis.h"
#include "../intermediate/VectorHelper.h"
#include "../intermediate/operators.h"
#includ... | 47.393701 | 120 | 0.619261 | doe300 |
c9d7910cae2c3669ed1a66f50a8e7a8d9979636a | 3,266 | cc | C++ | syzygy/reorder/dead_code_finder.cc | dandv/syzygy | 2444520c8e6e0b45b2f45b680d878d60b9636f45 | [
"Apache-2.0"
] | 1 | 2019-04-03T13:56:37.000Z | 2019-04-03T13:56:37.000Z | syzygy/reorder/dead_code_finder.cc | pombreda/syzygy | 7bac6936c0c28872bfabc10a1108e0157ff65d4a | [
"Apache-2.0"
] | 1 | 2015-03-19T18:20:25.000Z | 2015-03-19T18:20:25.000Z | syzygy/reorder/dead_code_finder.cc | sebmarchand/syzygy | 6c6db0e70e8161f1fec171138a825f6412e7778a | [
"Apache-2.0"
] | 1 | 2020-10-10T16:09:45.000Z | 2020-10-10T16:09:45.000Z | // Copyright 2011 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable... | 38.880952 | 79 | 0.650031 | dandv |
c9d983f1ac0e5afdc7de86f2ec2f35749dcded16 | 96,717 | cpp | C++ | build/linux-build/Sources/src/nape/constraint/LineJoint.cpp | HedgehogFog/TimeOfDeath | b78abacf940e1a88c8b987d99764ebb6876c5dc6 | [
"MIT"
] | null | null | null | build/linux-build/Sources/src/nape/constraint/LineJoint.cpp | HedgehogFog/TimeOfDeath | b78abacf940e1a88c8b987d99764ebb6876c5dc6 | [
"MIT"
] | null | null | null | build/linux-build/Sources/src/nape/constraint/LineJoint.cpp | HedgehogFog/TimeOfDeath | b78abacf940e1a88c8b987d99764ebb6876c5dc6 | [
"MIT"
] | null | null | null | // Generated by Haxe 4.0.0-preview.5
#include <hxcpp.h>
#ifndef INCLUDED_nape_constraint_Constraint
#include <hxinc/nape/constraint/Constraint.h>
#endif
#ifndef INCLUDED_nape_constraint_LineJoint
#include <hxinc/nape/constraint/LineJoint.h>
#endif
#ifndef INCLUDED_nape_geom_MatMN
#include <hxinc/nape/geom/MatMN.h>
#en... | 41.349722 | 241 | 0.570169 | HedgehogFog |
c9da4e6c9d8f47afc84586e0ca5c231ffe408c3a | 5,409 | cc | C++ | src/ufo/profile/ProfileStandardLevels.cc | NOAA-EMC/ufo | 3bf1407731b79eab16ceff64129552577d9cfcd0 | [
"Apache-2.0"
] | null | null | null | src/ufo/profile/ProfileStandardLevels.cc | NOAA-EMC/ufo | 3bf1407731b79eab16ceff64129552577d9cfcd0 | [
"Apache-2.0"
] | 10 | 2020-12-10T22:57:51.000Z | 2020-12-17T15:57:04.000Z | src/ufo/profile/ProfileStandardLevels.cc | NOAA-EMC/ufo | 3bf1407731b79eab16ceff64129552577d9cfcd0 | [
"Apache-2.0"
] | 3 | 2020-12-10T18:38:22.000Z | 2020-12-11T01:36:37.000Z | /*
* (C) Crown copyright 2020, Met Office
*
* This software is licensed under the terms of the Apache Licence Version 2.0
* which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
*/
#include "ufo/profile/ProfileStandardLevels.h"
namespace ufo {
ProfileStandardLevels::ProfileStandardLevels
(cons... | 38.913669 | 96 | 0.60159 | NOAA-EMC |
c9e0859e598a2be5cb4d3bef0e9a451794c877ba | 1,321 | cpp | C++ | src/intro_tf2/src/intro_tf2_broadcaster.cpp | davidmball/ros_examples | c5ee7a4de5a61c4ffc0e0c36f3a62728220be3e8 | [
"BSD-3-Clause"
] | 1 | 2017-09-26T07:15:19.000Z | 2017-09-26T07:15:19.000Z | src/intro_tf2/src/intro_tf2_broadcaster.cpp | davidmball/ros_examples | c5ee7a4de5a61c4ffc0e0c36f3a62728220be3e8 | [
"BSD-3-Clause"
] | 5 | 2017-07-01T22:43:09.000Z | 2017-10-02T22:18:22.000Z | src/intro_tf2/src/intro_tf2_broadcaster.cpp | davidmball/ros_examples | c5ee7a4de5a61c4ffc0e0c36f3a62728220be3e8 | [
"BSD-3-Clause"
] | null | null | null | #include <ros/ros.h>
#include <tf2/LinearMath/Quaternion.h>
#include <tf2_ros/transform_broadcaster.h>
#include <geometry_msgs/TransformStamped.h>
class BroadcasterNode
{
public:
BroadcasterNode()
: tf2_br_() {}
void broadcast_robot_pose(double x, double y, double theta)
{
geometry_msgs::TransformStampe... | 24.018182 | 61 | 0.696442 | davidmball |
c9e0d00a9b69f145b2e0c116fc58f3d65ed095de | 3,689 | hpp | C++ | Nacro/SDK/FN_SK_M_Med_Soldier_04_Skeleton_AnimBP_classes.hpp | Milxnor/Nacro | eebabf662bbce6d5af41820ea0342d3567a0aecc | [
"BSD-2-Clause"
] | 11 | 2021-08-08T23:25:10.000Z | 2022-02-19T23:07:22.000Z | Nacro/SDK/FN_SK_M_Med_Soldier_04_Skeleton_AnimBP_classes.hpp | Milxnor/Nacro | eebabf662bbce6d5af41820ea0342d3567a0aecc | [
"BSD-2-Clause"
] | 1 | 2022-01-01T22:51:59.000Z | 2022-01-08T16:14:15.000Z | Nacro/SDK/FN_SK_M_Med_Soldier_04_Skeleton_AnimBP_classes.hpp | Milxnor/Nacro | eebabf662bbce6d5af41820ea0342d3567a0aecc | [
"BSD-2-Clause"
] | 8 | 2021-08-09T13:51:54.000Z | 2022-01-26T20:33:37.000Z | #pragma once
// Fortnite (1.8) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
//Classes
//---------------------------------------------------------------------------
// AnimBlueprintGeneratedClass SK_M_Med_Soldier_04_... | 63.603448 | 208 | 0.765248 | Milxnor |
c9e2c611339fe864413fe23d431748bb1a288b1e | 57 | hpp | C++ | src/underlying_enum_types.hpp | bernardosulzbach/cpp-experiments | 66170fa03451f92ed3d6143c53a83d248766b760 | [
"BSD-3-Clause"
] | null | null | null | src/underlying_enum_types.hpp | bernardosulzbach/cpp-experiments | 66170fa03451f92ed3d6143c53a83d248766b760 | [
"BSD-3-Clause"
] | null | null | null | src/underlying_enum_types.hpp | bernardosulzbach/cpp-experiments | 66170fa03451f92ed3d6143c53a83d248766b760 | [
"BSD-3-Clause"
] | null | null | null | namespace Experiments {
void testUnderlyingEnumTypes();
} | 19 | 31 | 0.824561 | bernardosulzbach |
518649b440b1e8601cf694034eac0f4402f378d9 | 3,996 | cpp | C++ | experimenting_music.cpp | harasstheworld/network-programming | f99a8ca2e5f5aa88268ec6ac07290262e84d8b15 | [
"MIT"
] | 1 | 2022-03-25T05:41:46.000Z | 2022-03-25T05:41:46.000Z | experimenting_music.cpp | harasstheworld/network-programming | f99a8ca2e5f5aa88268ec6ac07290262e84d8b15 | [
"MIT"
] | null | null | null | experimenting_music.cpp | harasstheworld/network-programming | f99a8ca2e5f5aa88268ec6ac07290262e84d8b15 | [
"MIT"
] | null | null | null | //This program works under the OSS library
#include <sys/ioctl.h> //for ioctl()
#include <math.h> //sin(), floor()
#include <stdio.h> //perror
#include <fcntl.h> //open, O_WRONLY
#include <linux/soundcard.h> //SOUND_PCM*
#include <iostream>
#include <stdlib.h>
using namespace std;
#define LENGTH 1 //number of seconds
#... | 28.340426 | 66 | 0.565065 | harasstheworld |
51870a2f12b4852111ca8ae3f50067e51cd9929f | 697 | cpp | C++ | Source/Core/Matrix/Vector3.cpp | X1aoyueyue/KVS | ad47d62bef4fdd9ddd3412a26ee6557b63f0543b | [
"BSD-3-Clause"
] | 42 | 2015-07-24T23:05:07.000Z | 2022-03-16T01:31:04.000Z | Source/Core/Matrix/Vector3.cpp | X1aoyueyue/KVS | ad47d62bef4fdd9ddd3412a26ee6557b63f0543b | [
"BSD-3-Clause"
] | 4 | 2015-03-17T05:42:49.000Z | 2020-08-09T15:21:45.000Z | Source/Core/Matrix/Vector3.cpp | X1aoyueyue/KVS | ad47d62bef4fdd9ddd3412a26ee6557b63f0543b | [
"BSD-3-Clause"
] | 29 | 2015-01-03T05:56:32.000Z | 2021-10-05T15:28:33.000Z | /****************************************************************************/
/**
* @file Vector3.cpp
* @author Naohisa Sakamoto
*/
/****************************************************************************/
#include "Vector3.h"
#include <kvs/Type>
namespace kvs
{
// Template instantiation.
template class... | 25.814815 | 78 | 0.571019 | X1aoyueyue |
51879fcf4cf60cc6b4fea4cf89a1dee530ea24ed | 3,063 | cpp | C++ | mp2-lab5-list/ConsoleMain.cpp | alexChurkin/mp2-lab5-list | e3cfdabcdc9cf12989f82565f9e13d0b02c95ecf | [
"Apache-2.0"
] | null | null | null | mp2-lab5-list/ConsoleMain.cpp | alexChurkin/mp2-lab5-list | e3cfdabcdc9cf12989f82565f9e13d0b02c95ecf | [
"Apache-2.0"
] | null | null | null | mp2-lab5-list/ConsoleMain.cpp | alexChurkin/mp2-lab5-list | e3cfdabcdc9cf12989f82565f9e13d0b02c95ecf | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include "TPolynom.h"
using namespace std;
void LaunchTListDemo()
{
cout << "TList demo\n";
cout << "===================\n";
TList<int> l;
l.InsFirst(3);
l.InsFirst(2);
l.InsFirst(1);
cout << l << "\n";
l.InsLast(4);
cout << l << '\n';
l.Reset();
l.InsCurr(0);
cout << l << '\n';
... | 17.403409 | 44 | 0.481554 | alexChurkin |
5188a4493230303fb7592bb4eff82c44186d7c5d | 36,804 | cc | C++ | CalibTracker/SiStripLorentzAngle/plugins/SiStripCalibLorentzAngle.cc | bisnupriyasahu/cmssw | 6cf37ca459246525be0e8a6f5172c6123637d259 | [
"Apache-2.0"
] | 3 | 2018-08-24T19:10:26.000Z | 2019-02-19T11:45:32.000Z | CalibTracker/SiStripLorentzAngle/plugins/SiStripCalibLorentzAngle.cc | bisnupriyasahu/cmssw | 6cf37ca459246525be0e8a6f5172c6123637d259 | [
"Apache-2.0"
] | 3 | 2018-08-23T13:40:24.000Z | 2019-12-05T21:16:03.000Z | CalibTracker/SiStripLorentzAngle/plugins/SiStripCalibLorentzAngle.cc | bisnupriyasahu/cmssw | 6cf37ca459246525be0e8a6f5172c6123637d259 | [
"Apache-2.0"
] | 5 | 2018-08-21T16:37:52.000Z | 2020-01-09T13:33:17.000Z | #include <memory>
#include <string>
#include <iostream>
#include <fstream>
#include "CondCore/DBOutputService/interface/PoolDBOutputService.h"
#include "CalibTracker/SiStripLorentzAngle/interface/SiStripCalibLorentzAngle.h"
#include "FWCore/Framework/interface/ESHandle.h"
#include "Geometry/TrackerGeometryBuilder/inter... | 42.995327 | 210 | 0.688376 | bisnupriyasahu |
5188bffa5620cb9c9521eaba5ee56c4526a74f7c | 39,638 | cpp | C++ | src/mmlib/forcefields/nonbonded.cpp | JonnyWideFoot/pd.arcus | a6197a5a2a18c0e3f752e15aa982d1e44d052730 | [
"BSD-4-Clause-UC"
] | null | null | null | src/mmlib/forcefields/nonbonded.cpp | JonnyWideFoot/pd.arcus | a6197a5a2a18c0e3f752e15aa982d1e44d052730 | [
"BSD-4-Clause-UC"
] | null | null | null | src/mmlib/forcefields/nonbonded.cpp | JonnyWideFoot/pd.arcus | a6197a5a2a18c0e3f752e15aa982d1e44d052730 | [
"BSD-4-Clause-UC"
] | null | null | null | #include "global.h"
#include "forcefields/nonbonded.h" // provides base class
#include "workspace/workspace.h"
#include "workspace/neighbourlist.h"
#include "workspace/space.h"
#include "traits.h"
#include "exception.h"
#include "funcgen.h"
namespace Physics
{
/// \details calculates both vacuum electrostatics as... | 32.069579 | 165 | 0.642969 | JonnyWideFoot |
518940db55e3f8d50991d492c919d4788c784703 | 2,186 | hpp | C++ | modules/core/linalg/include/nt2/linalg/functions/gallery/frank.hpp | pbrunet/nt2 | 2aeca0f6a315725b335efd5d9dc95d72e10a7fb7 | [
"BSL-1.0"
] | null | null | null | modules/core/linalg/include/nt2/linalg/functions/gallery/frank.hpp | pbrunet/nt2 | 2aeca0f6a315725b335efd5d9dc95d72e10a7fb7 | [
"BSL-1.0"
] | null | null | null | modules/core/linalg/include/nt2/linalg/functions/gallery/frank.hpp | pbrunet/nt2 | 2aeca0f6a315725b335efd5d9dc95d72e10a7fb7 | [
"BSL-1.0"
] | null | null | null | //==============================================================================
// Copyright 2003 - 2012 LASMEA UMR 6602 CNRS/Univ. Clermont II
// Copyright 2009 - 2012 LRI UMR 8623 CNRS/Univ Paris Sud XI
//
// Distributed under the Boost Software License, Version 1.0.
// ... | 39.745455 | 86 | 0.548033 | pbrunet |
518958fd446c4f34d0736d90e32e6f3cf68a2a65 | 5,515 | cpp | C++ | src/Runtime/RtMemRef.cpp | gperrotta/onnx-mlir | 75930ffbcf14cfbaccd8417c47c3598f56342926 | [
"Apache-2.0"
] | null | null | null | src/Runtime/RtMemRef.cpp | gperrotta/onnx-mlir | 75930ffbcf14cfbaccd8417c47c3598f56342926 | [
"Apache-2.0"
] | null | null | null | src/Runtime/RtMemRef.cpp | gperrotta/onnx-mlir | 75930ffbcf14cfbaccd8417c47c3598f56342926 | [
"Apache-2.0"
] | null | null | null | //===----------- RtMemRef.cpp - Dynamic MemRef Implementation ------------===//
//
// Copyright 2019-2020 The IBM Research Authors.
//
// =============================================================================
//
// This file contains implementations of Dynamic MemRef data structures and
// helper functions.
//
/... | 32.063953 | 80 | 0.682684 | gperrotta |
51932d9be7ec94d4790ed9eeb406972a1f6acc2e | 462 | hpp | C++ | src/modules/socket/server/allocator.hpp | saurabh-dua/openperf | 43fb850725a0afc563a5d75c3395d3de46c3129a | [
"Apache-2.0"
] | null | null | null | src/modules/socket/server/allocator.hpp | saurabh-dua/openperf | 43fb850725a0afc563a5d75c3395d3de46c3129a | [
"Apache-2.0"
] | null | null | null | src/modules/socket/server/allocator.hpp | saurabh-dua/openperf | 43fb850725a0afc563a5d75c3395d3de46c3129a | [
"Apache-2.0"
] | null | null | null | #ifndef _OP_SOCKET_SERVER_ALLOCATOR_HPP_
#define _OP_SOCKET_SERVER_ALLOCATOR_HPP_
#include "memory/std_allocator.hpp"
#include "memory/allocator/free_list.hpp"
namespace openperf {
namespace socket {
namespace server {
typedef openperf::memory::std_allocator<uint8_t,
openperf:... | 23.1 | 79 | 0.729437 | saurabh-dua |
5196b437b54d2d77be1f81d5f74bf370d5cabb38 | 7,547 | cxx | C++ | osprey/be/cg/cg_swp_allocator_test.cxx | sharugupta/OpenUH | daddd76858a53035f5d713f648d13373c22506e8 | [
"BSD-2-Clause"
] | null | null | null | osprey/be/cg/cg_swp_allocator_test.cxx | sharugupta/OpenUH | daddd76858a53035f5d713f648d13373c22506e8 | [
"BSD-2-Clause"
] | null | null | null | osprey/be/cg/cg_swp_allocator_test.cxx | sharugupta/OpenUH | daddd76858a53035f5d713f648d13373c22506e8 | [
"BSD-2-Clause"
] | null | null | null | /*
Copyright (C) 2000, 2001 Silicon Graphics, Inc. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it
under the terms of version 2 of the GNU General Public License as
published by the Free Software Foundation.
This program is distributed in the hope that it would... | 29.365759 | 88 | 0.619054 | sharugupta |
519b9b08b03e4191c5ccd8beffeee258cecd83ca | 5,338 | hxx | C++ | OCC/inc/XSControl_TransferWriter.hxx | cy15196/FastCAE | 0870752ec2e590f3ea6479e909ebf6c345ac2523 | [
"BSD-3-Clause"
] | 117 | 2020-03-07T12:07:05.000Z | 2022-03-27T07:35:22.000Z | opencascade/XSControl_TransferWriter.hxx | CadQuery/cpp-py-bindgen | 66e7376d3a27444393fc99acbdbef40bbc7031ae | [
"Apache-2.0"
] | 33 | 2019-11-13T18:09:51.000Z | 2021-11-26T17:24:12.000Z | opencascade/XSControl_TransferWriter.hxx | CadQuery/cpp-py-bindgen | 66e7376d3a27444393fc99acbdbef40bbc7031ae | [
"Apache-2.0"
] | 76 | 2020-03-16T01:47:46.000Z | 2022-03-21T16:37:07.000Z | // Created on: 1996-03-13
// Created by: Christian CAILLET
// Copyright (c) 1996-1999 Matra Datavision
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the ... | 39.540741 | 156 | 0.769389 | cy15196 |
519c6b3abe3e2cd2428dde8de641453fe9b49c0d | 11,793 | cpp | C++ | qactionmanager/keyconfigdialog.cpp | SAT1226/XManga | d69f4c31838ffa99efde0bd10f5ca1c5f818eb80 | [
"MIT"
] | 1 | 2022-03-19T11:52:44.000Z | 2022-03-19T11:52:44.000Z | qactionmanager/keyconfigdialog.cpp | SAT1226/XManga | d69f4c31838ffa99efde0bd10f5ca1c5f818eb80 | [
"MIT"
] | null | null | null | qactionmanager/keyconfigdialog.cpp | SAT1226/XManga | d69f4c31838ffa99efde0bd10f5ca1c5f818eb80 | [
"MIT"
] | null | null | null | #include <QtWidgets>
#include "keyconfigdialog.h"
#include "shortcutbutton.h"
#include "ui_keyconfigdialog.h"
static int translateModifiers(Qt::KeyboardModifiers state,
const QString &text)
{
int result = 0;
// The shift modifier only counts when it is not used to type... | 36.968652 | 171 | 0.642669 | SAT1226 |
519e37fdd00caac8fbb8d7195eab57ac88157733 | 483 | cpp | C++ | src/main.cpp | biomotion/eos-2020-final | c19b81250a13ac41dcb0ebbda345dd3c7223fdb2 | [
"MIT"
] | null | null | null | src/main.cpp | biomotion/eos-2020-final | c19b81250a13ac41dcb0ebbda345dd3c7223fdb2 | [
"MIT"
] | null | null | null | src/main.cpp | biomotion/eos-2020-final | c19b81250a13ac41dcb0ebbda345dd3c7223fdb2 | [
"MIT"
] | 1 | 2021-08-02T04:48:58.000Z | 2021-08-02T04:48:58.000Z | #include <stdlib.h>
#include <unistd.h>
#include <sys/ipc.h>
#include <sys/shm.h>
#include <sys/types.h>
#include <signal.h>
#include <iostream>
#include "game.h"
using namespace std;
void intHandler(int);
int main(int argc, char *argv[])
{
// play
struct sigaction sa;
memset(&sa, 0, sizeof(sa));
sa.sa_han... | 15.09375 | 32 | 0.674948 | biomotion |
51aaf6f4b44684083721281ac37c12423528dac2 | 2,313 | cpp | C++ | mdec/movie/main.cpp | ggrtk/ps1-tests | 072a2f2dc2cc2ce5e63414147917969231808485 | [
"MIT"
] | 34 | 2019-09-22T15:52:29.000Z | 2022-01-16T16:14:15.000Z | mdec/movie/main.cpp | ggrtk/ps1-tests | 072a2f2dc2cc2ce5e63414147917969231808485 | [
"MIT"
] | 3 | 2020-03-28T15:12:56.000Z | 2021-02-08T09:25:29.000Z | mdec/movie/main.cpp | ggrtk/ps1-tests | 072a2f2dc2cc2ce5e63414147917969231808485 | [
"MIT"
] | 8 | 2020-03-20T13:15:33.000Z | 2022-01-15T03:43:58.000Z | #include <common.h>
#include <stdio.h>
#include <stdlib.h>
#include <malloc.h>
#include <io.h>
#include <dma.hpp>
#include <mdec.h>
#include <gpu.h>
#include "bad_apple.h"
#define SCR_W 256
#define SCR_H 240
uint32_t* buffer = nullptr;
void decodeAndDisplayFrame(uint8_t* frame, size_t frameLen, uint16_t frameWidth, ... | 27.211765 | 106 | 0.65067 | ggrtk |
51ac58e8bc26d1385945ed843dbeaf9e39217efe | 1,502 | cpp | C++ | src/main.cpp | jroivas/lisp-alike | c87e99f6bf9ebbb3ec37a53f51e2dad1e31e0213 | [
"MIT"
] | null | null | null | src/main.cpp | jroivas/lisp-alike | c87e99f6bf9ebbb3ec37a53f51e2dad1e31e0213 | [
"MIT"
] | null | null | null | src/main.cpp | jroivas/lisp-alike | c87e99f6bf9ebbb3ec37a53f51e2dad1e31e0213 | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
#include <sstream>
#include <unistd.h>
#include "tokenize.hh"
#include "parse.hh"
#include "symbols.hh"
#include "builtin.hh"
#include "eval.hh"
#include "env.hh"
#ifdef HAVE_READLINE
#include <readline/readline.h>
#include <readline/history.h>
#include <readline/tilde.h>
static ... | 21.15493 | 63 | 0.573901 | jroivas |
51af94beb1e087dcb0b900d302eb72ce51bf86af | 5,198 | cc | C++ | src/bexclfit_fcts.cc | hanswenzel/bfit | 70da497b81bf983ca3e2c9dad3858a4209e279cf | [
"BSD-4-Clause-UC"
] | null | null | null | src/bexclfit_fcts.cc | hanswenzel/bfit | 70da497b81bf983ca3e2c9dad3858a4209e279cf | [
"BSD-4-Clause-UC"
] | null | null | null | src/bexclfit_fcts.cc | hanswenzel/bfit | 70da497b81bf983ca3e2c9dad3858a4209e279cf | [
"BSD-4-Clause-UC"
] | null | null | null | #include <iostream>
#include "bexclfit_fcts.h"
#include "TMath.h"
#include "global.h"
extern int offset,combine_flg;
//extern Double_t sbmasswin,masswin;
void testfun()
{
printf("offset = %d\n",offset);
printf("combine_flg = %d\n",combine_flg);
}
Double_t signalmassdis(Double_t x, Double_t sig, Double_t *parms)
... | 35.60274 | 244 | 0.534052 | hanswenzel |
51b0bc5023b24223395db4d64ca1adbbb8738c5a | 1,256 | cpp | C++ | 7_shortcutkey_diff_by_beyondcompare_in_qtcreator/main.cpp | ZYV037/QT_Example | 916e343894346389f796f42a63d4162bb8429555 | [
"WTFPL"
] | 4 | 2018-12-26T11:10:21.000Z | 2021-02-05T10:31:30.000Z | 7_shortcutkey_diff_by_beyondcompare_in_qtcreator/main.cpp | ZYV037/QT_Example | 916e343894346389f796f42a63d4162bb8429555 | [
"WTFPL"
] | null | null | null | 7_shortcutkey_diff_by_beyondcompare_in_qtcreator/main.cpp | ZYV037/QT_Example | 916e343894346389f796f42a63d4162bb8429555 | [
"WTFPL"
] | 2 | 2021-02-05T10:31:37.000Z | 2021-04-04T17:25:07.000Z | #include <stdio.h>
#include<stdlib.h>
#include <string>
#include <iostream>
#include <QProcess>
#pragma comment( linker, “/subsystem:windows /entry:mainCRTStartup” )
//"C:\Program Files\TortoiseSVN\bin\svn_wrapper.exe" diff System/WMPS/DIS/UI/DisEventVariationUI/DisEventVariationUI.cpp
//C:\WtgeoProducts: "C:\Progra... | 24.153846 | 120 | 0.55414 | ZYV037 |
51b28c7a4ec3d325b98b22d50a9c84f2f6f40bd0 | 110 | cpp | C++ | src/main.cpp | payano/mMesh | 151ab475ad6ea66a608566098755dbad39eca058 | [
"MIT"
] | null | null | null | src/main.cpp | payano/mMesh | 151ab475ad6ea66a608566098755dbad39eca058 | [
"MIT"
] | 37 | 2020-03-02T18:31:57.000Z | 2020-05-20T07:18:14.000Z | src/main.cpp | payano/mMesh | 151ab475ad6ea66a608566098755dbad39eca058 | [
"MIT"
] | 2 | 2020-03-10T17:35:27.000Z | 2020-04-24T10:51:47.000Z | #ifdef UNIX
#include "Mesh.h"
#include <stdio.h>
int main(void)
{
printf("MAIN MAIN\n");
return 0;
}
#endif
| 11 | 23 | 0.654545 | payano |
51b35810327fc15d7f57918e4b6bdd9de50304fb | 6,598 | cpp | C++ | servern/boinclib/msg_log.cpp | tomasbrod/tbboinc | c125cc355b2dc9a1e536b5e5ded028d4e7f4613a | [
"MIT"
] | null | null | null | servern/boinclib/msg_log.cpp | tomasbrod/tbboinc | c125cc355b2dc9a1e536b5e5ded028d4e7f4613a | [
"MIT"
] | 4 | 2020-09-07T15:54:45.000Z | 2020-09-27T16:47:16.000Z | servern/boinclib/msg_log.cpp | tomasbrod/tbboinc | c125cc355b2dc9a1e536b5e5ded028d4e7f4613a | [
"MIT"
] | null | null | null | // This file is part of BOINC.
// http://boinc.berkeley.edu
// Copyright (C) 2008 University of California
//
// BOINC is free software; you can redistribute it and/or modify it
// under the terms of the GNU Lesser General Public License
// as published by the Free Software Foundation,
// either version 3 of the Licens... | 30.831776 | 99 | 0.677326 | tomasbrod |
51b55f65bd4124e39e33605dd344e9af94d97f00 | 56,356 | cpp | C++ | dbms/src/Interpreters/InterpreterSelectQuery.cpp | pingcap/tiflash | 580821ad8351b6a944ea413eb2603b6f4295f3e4 | [
"Apache-2.0"
] | 85 | 2022-03-25T09:03:16.000Z | 2022-03-25T09:45:03.000Z | dbms/src/Interpreters/InterpreterSelectQuery.cpp | pingcap/tiflash | 580821ad8351b6a944ea413eb2603b6f4295f3e4 | [
"Apache-2.0"
] | 7 | 2022-03-25T08:59:10.000Z | 2022-03-25T09:40:13.000Z | dbms/src/Interpreters/InterpreterSelectQuery.cpp | pingcap/tiflash | 580821ad8351b6a944ea413eb2603b6f4295f3e4 | [
"Apache-2.0"
] | 11 | 2022-03-25T09:15:36.000Z | 2022-03-25T09:45:07.000Z | // Copyright 2022 PingCAP, Ltd.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to i... | 40.778582 | 449 | 0.670452 | pingcap |
51b8a7338093cc50265f302911d9b11b6fca5810 | 207 | cpp | C++ | VerifEye/main.cpp | sanket26jadhav/VerifEye | 493f9ef0872b20ad482fcec0fa60306457ec44c7 | [
"Apache-2.0"
] | 4 | 2018-04-07T11:04:51.000Z | 2018-12-27T15:34:14.000Z | VerifEye/main.cpp | sanket26jadhav/VerifEye | 493f9ef0872b20ad482fcec0fa60306457ec44c7 | [
"Apache-2.0"
] | null | null | null | VerifEye/main.cpp | sanket26jadhav/VerifEye | 493f9ef0872b20ad482fcec0fa60306457ec44c7 | [
"Apache-2.0"
] | 3 | 2018-04-07T06:44:15.000Z | 2018-10-27T08:15:49.000Z | #include "VerifEye.h"
#include <direct.h>
#include <QtWidgets/QApplication>
int main(int argc, char *argv[])
{
_mkdir("./data-db");
QApplication a(argc, argv);
VerifEye w;
w.show();
return a.exec();
}
| 15.923077 | 33 | 0.666667 | sanket26jadhav |
51b90dfb14d924ecafc66fe11b4134cdcfc78a8a | 903 | hpp | C++ | gearoenix/glc3/pipeline/gx-glc3-pip-skybox-cube-resource-set.hpp | Hossein-Noroozpour/gearoenix | c8fa8b8946c03c013dad568d6d7a97d81097c051 | [
"BSD-Source-Code"
] | 35 | 2018-01-07T02:34:38.000Z | 2022-02-09T05:19:03.000Z | gearoenix/glc3/pipeline/gx-glc3-pip-skybox-cube-resource-set.hpp | Hossein-Noroozpour/gearoenix | c8fa8b8946c03c013dad568d6d7a97d81097c051 | [
"BSD-Source-Code"
] | 111 | 2017-09-20T09:12:36.000Z | 2020-12-27T12:52:03.000Z | gearoenix/glc3/pipeline/gx-glc3-pip-skybox-cube-resource-set.hpp | Hossein-Noroozpour/gearoenix | c8fa8b8946c03c013dad568d6d7a97d81097c051 | [
"BSD-Source-Code"
] | 5 | 2020-02-11T11:17:37.000Z | 2021-01-08T17:55:43.000Z | #ifndef GEAROENIX_GLC3_PIPELINE_SKYBOX_CUBE_RESOURCE_SET_HPP
#define GEAROENIX_GLC3_PIPELINE_SKYBOX_CUBE_RESOURCE_SET_HPP
#include "../../core/gx-cr-build-configuration.hpp"
#ifdef GX_USE_OPENGL_CLASS_3
#include "../../core/sync/gx-cr-sync-end-caller.hpp"
#include "../../gl/gx-gl-types.hpp"
#include "../../render/pipel... | 33.444444 | 122 | 0.781838 | Hossein-Noroozpour |
51b95da646c64f4066b8b497711aab313801eafb | 363 | hpp | C++ | src/Traits.hpp | spraetor/amdis2 | 53c45c81a65752a8fafbb54f9ae6724a86639dcd | [
"MIT"
] | 2 | 2018-07-04T16:44:04.000Z | 2021-01-03T07:26:27.000Z | src/Traits.hpp | spraetor/amdis2 | 53c45c81a65752a8fafbb54f9ae6724a86639dcd | [
"MIT"
] | null | null | null | src/Traits.hpp | spraetor/amdis2 | 53c45c81a65752a8fafbb54f9ae6724a86639dcd | [
"MIT"
] | null | null | null | #pragma once
// #include <iostream>
#include "AMDiS_fwd.hpp"
#include "FixVec.hpp"
#include "MatrixVector.hpp"
#include "traits/basic.hpp"
#include "traits/category.hpp"
#include "traits/meta_basic.hpp"
#include "traits/num_cols.hpp"
#include "traits/num_rows.hpp"
#include "traits/size.hpp"
#include "traits/tag.hpp"
... | 21.352941 | 41 | 0.746556 | spraetor |
51c10b57cbc80539fcf325f830bc4670dd13c73f | 435 | cpp | C++ | Torre.cpp | JasonDeras/P3Lab9_JasonDeras9 | 4bd160482644d398476ecbecca77113a540aace5 | [
"MIT"
] | null | null | null | Torre.cpp | JasonDeras/P3Lab9_JasonDeras9 | 4bd160482644d398476ecbecca77113a540aace5 | [
"MIT"
] | null | null | null | Torre.cpp | JasonDeras/P3Lab9_JasonDeras9 | 4bd160482644d398476ecbecca77113a540aace5 | [
"MIT"
] | null | null | null | #include<iostream>
#include<string>
#include "Pieza.cpp"
#ifndef TORRE_CPP
#define TORRE_CPP
using namespace std;
class Torre:public Pieza{
protected:
public:
Torre():Pieza("Torre"){
}//Fin del constructor simple
bool Validar_Movimiento(int x, int y){
bool valido = false;
if( (*this).getY(... | 14.5 | 69 | 0.622989 | JasonDeras |
51c42aa213540dfc3d0625f1768fc1d7c78d45e2 | 1,362 | cpp | C++ | c/arr_of_ptrs_to_funcs.cpp | bheckel/code | 98309e8aa145901e49460546643c911eaaff54e6 | [
"Apache-2.0"
] | 1 | 2019-08-11T00:39:34.000Z | 2019-08-11T00:39:34.000Z | c/arr_of_ptrs_to_funcs.cpp | bheckel/code | 98309e8aa145901e49460546643c911eaaff54e6 | [
"Apache-2.0"
] | null | null | null | c/arr_of_ptrs_to_funcs.cpp | bheckel/code | 98309e8aa145901e49460546643c911eaaff54e6 | [
"Apache-2.0"
] | 1 | 2020-07-28T05:58:47.000Z | 2020-07-28T05:58:47.000Z | //////////////////////////////////////////////////////////////////////////////
// Name: arr_of_ptrs_to_funcs.cpp
//
// Summary: Using an array of pointers to functions.
//
// Creates some dummy functions using a preprocessor macro, then
// creates an array of pointers to those funct... | 31.674419 | 78 | 0.490455 | bheckel |
51c58ff0cb05e1a6ccc41dd496e0e79b871e4ed7 | 817 | cpp | C++ | src/shapes/cubic_asymmetric_vertex.cpp | kariem2k/rive-cpp | f58c3b3d48ea03947a76971bce17e7f567cf0de0 | [
"MIT"
] | 139 | 2020-08-17T20:10:24.000Z | 2022-03-28T12:22:44.000Z | src/shapes/cubic_asymmetric_vertex.cpp | kariem2k/rive-cpp | f58c3b3d48ea03947a76971bce17e7f567cf0de0 | [
"MIT"
] | 89 | 2020-08-28T16:41:01.000Z | 2022-03-28T19:10:49.000Z | src/shapes/cubic_asymmetric_vertex.cpp | kariem2k/rive-cpp | f58c3b3d48ea03947a76971bce17e7f567cf0de0 | [
"MIT"
] | 19 | 2020-10-19T00:54:40.000Z | 2022-02-28T05:34:17.000Z | #include "rive/shapes/cubic_asymmetric_vertex.hpp"
#include "rive/math/vec2d.hpp"
#include <cmath>
using namespace rive;
void CubicAsymmetricVertex::computeIn()
{
Vec2D::add(m_InPoint,
Vec2D(x(), y()),
Vec2D(cos(rotation()) * -inDistance(),
sin(rotation()) * -inDistance()));... | 21.5 | 52 | 0.651163 | kariem2k |
51c8c220b398d34ebd3241f1f7d76fd3ba01ce5c | 449 | cpp | C++ | MC/MC/app/app.cpp | yunwei37/mc | 03fa8aaffaff1f518a5dc07500e05f6beb5ce16d | [
"MIT"
] | 1 | 2021-11-18T04:55:29.000Z | 2021-11-18T04:55:29.000Z | MC/MC/app/app.cpp | yunwei37/mc | 03fa8aaffaff1f518a5dc07500e05f6beb5ce16d | [
"MIT"
] | null | null | null | MC/MC/app/app.cpp | yunwei37/mc | 03fa8aaffaff1f518a5dc07500e05f6beb5ce16d | [
"MIT"
] | 3 | 2020-07-30T08:57:59.000Z | 2022-03-17T04:27:34.000Z | #include "app.h"
App::App()
{
if ((window = ViewModel::createViewModel()) == NULL) {
exit(-1);
}
glfwSetFramebufferSizeCallback(window, &ViewModel::framebuffer_size_callback);
glfwSetCursorPosCallback(window, &ViewModel::mouse_move_callback);
glfwSetScrollCallback(window, &ViewModel::scroll_callback);
glfwSetM... | 19.521739 | 79 | 0.737194 | yunwei37 |
51c93424fa96d9fa33a4d095bd18aed41d89f8fc | 1,295 | cpp | C++ | src/paint/insets.cpp | tralf-strues/simple-gui-library | cf72b11d0d245d1a1fefbae10e4aa7fb9e763bff | [
"MIT"
] | null | null | null | src/paint/insets.cpp | tralf-strues/simple-gui-library | cf72b11d0d245d1a1fefbae10e4aa7fb9e763bff | [
"MIT"
] | null | null | null | src/paint/insets.cpp | tralf-strues/simple-gui-library | cf72b11d0d245d1a1fefbae10e4aa7fb9e763bff | [
"MIT"
] | null | null | null | /**
* @author Nikita Mochalov (github.com/tralf-strues)
* @file insets.cpp
* @date 2021-11-06
*
* @copyright Copyright (c) 2021
*/
#include "paint/insets.h"
namespace Sgl
{
const Insets Insets::EMPTY = Insets{0, 0, 0, 0};
Insets::Insets(int32_t top, int32_t right, int32_t bottom, int32_t left)
... | 21.949153 | 76 | 0.573745 | tralf-strues |
51c938dfefd58fca698bbb36b0f5270cf09aa717 | 383 | cpp | C++ | common/os/file.cpp | JustSlavic/gl2 | 1b4752d3273a1e401c970e18ae7151bba004a4ec | [
"MIT"
] | null | null | null | common/os/file.cpp | JustSlavic/gl2 | 1b4752d3273a1e401c970e18ae7151bba004a4ec | [
"MIT"
] | 2 | 2021-05-29T20:34:50.000Z | 2021-05-29T20:39:25.000Z | common/os/file.cpp | JustSlavic/gl2 | 1b4752d3273a1e401c970e18ae7151bba004a4ec | [
"MIT"
] | null | null | null | #include "file.hpp"
namespace os {
#ifdef PLATFORM_LINUX
#include "linux/file.cpp"
#endif
#ifdef PLATFORM_WINDOWS
#include "windows/file.cpp"
#endif
#ifdef PLATFORM_APPLE
#error "Path for APPLE is not implemented!"
// #include "apple/path.cpp"
#endif
template <>
i32 file::writer::write (i32 value) {
ASSERT(descr... | 13.678571 | 43 | 0.710183 | JustSlavic |
51ca8f9c528915e8dba94ce7213f68b8828ac494 | 1,373 | cpp | C++ | interviews/ClevestInterview/tester/tester/main.cpp | Kiandr/dataStructure | 5cf8bd07df1c115cac9fcc69ae359500a72ad986 | [
"Apache-2.0"
] | null | null | null | interviews/ClevestInterview/tester/tester/main.cpp | Kiandr/dataStructure | 5cf8bd07df1c115cac9fcc69ae359500a72ad986 | [
"Apache-2.0"
] | null | null | null | interviews/ClevestInterview/tester/tester/main.cpp | Kiandr/dataStructure | 5cf8bd07df1c115cac9fcc69ae359500a72ad986 | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include <fstream>
#include <vector>
#include<algorithm>
#include <iostream>
#include <string>
// Solution: Q1
long MeterReader(char *array) {
long visitedHouses = 1;
long x = 0;
long y = 0;
std::pair<long, long> coordinate;
std::vector<std::pair<long, long> > myList;
char *prt = array;
s... | 17.831169 | 75 | 0.608886 | Kiandr |
51ce6e0d46e3a89ff529abb7b3055475b78c418e | 481 | cpp | C++ | src/false_object.cpp | scwfri/natalie | 11e874607a8ac7b934e57c4c7e5790623afaee7a | [
"MIT"
] | 7 | 2022-03-08T08:47:54.000Z | 2022-03-29T15:08:36.000Z | src/false_object.cpp | scwfri/natalie | 11e874607a8ac7b934e57c4c7e5790623afaee7a | [
"MIT"
] | 12 | 2022-03-10T13:04:42.000Z | 2022-03-24T01:40:23.000Z | src/false_object.cpp | scwfri/natalie | 11e874607a8ac7b934e57c4c7e5790623afaee7a | [
"MIT"
] | 5 | 2022-03-13T17:46:16.000Z | 2022-03-31T07:28:26.000Z | #include "natalie.hpp"
namespace Natalie {
bool FalseObject::and_method(Env *env, Value other) {
return false;
}
bool FalseObject::or_method(Env *env, Value other) {
return other->is_truthy();
}
Value FalseObject::to_s(Env *env) {
if (!s_string)
s_string = new StringObject { "false" };
retur... | 18.5 | 53 | 0.671518 | scwfri |
51d3ab020bd2bae1f12b66cac0da5383c813d5d7 | 2,895 | hpp | C++ | 3rdparty/libprocess/3rdparty/stout/include/stout/flags/loader.hpp | dharmeshkakadia/mesos | d418c17b89856a9e9d43ece0a7c656f2489a922a | [
"Apache-2.0"
] | 1 | 2015-11-06T09:33:10.000Z | 2015-11-06T09:33:10.000Z | 3rdparty/libprocess/3rdparty/stout/include/stout/flags/loader.hpp | dharmeshkakadia/mesos | d418c17b89856a9e9d43ece0a7c656f2489a922a | [
"Apache-2.0"
] | 1 | 2015-12-21T23:47:34.000Z | 2015-12-21T23:47:47.000Z | 3rdparty/libprocess/3rdparty/stout/include/stout/flags/loader.hpp | dharmeshkakadia/mesos | d418c17b89856a9e9d43ece0a7c656f2489a922a | [
"Apache-2.0"
] | null | null | null | /**
* 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 to in writing, software
* distributed... | 23.536585 | 75 | 0.607254 | dharmeshkakadia |
51d3db77a72eae41df3542aea74eb67c686d78a0 | 6,671 | cpp | C++ | omnn/math/Variable.cpp | leannejdong/openmind | 69af704c420ffa89100ecd3709ad9ff39ee4da05 | [
"BSD-3-Clause"
] | 1 | 2020-06-25T06:47:44.000Z | 2020-06-25T06:47:44.000Z | omnn/math/Variable.cpp | leannejdong/openmind | 69af704c420ffa89100ecd3709ad9ff39ee4da05 | [
"BSD-3-Clause"
] | null | null | null | omnn/math/Variable.cpp | leannejdong/openmind | 69af704c420ffa89100ecd3709ad9ff39ee4da05 | [
"BSD-3-Clause"
] | null | null | null | //
// Created by Сергей Кривонос on 25.09.17.
//
#include "Variable.h"
#include "Exponentiation.h"
#include "Integer.h"
#include "Modulo.h"
#include "Product.h"
#include "Sum.h"
#include "VarHost.h"
namespace omnn{
namespace math {
Variable::Variable()
: varSetHost(&VarHost::Global<>(), [](auto){})
, varI... | 24.891791 | 174 | 0.485235 | leannejdong |
51d599938510d83224a340bd109409d3271930ce | 12,216 | cpp | C++ | src/dicom/DICOMBrowser.cpp | RWTHmediTEC/CarnaDICOM | b767cc5f7484b85d24b7557d5d86efebad57b2ef | [
"BSD-3-Clause"
] | null | null | null | src/dicom/DICOMBrowser.cpp | RWTHmediTEC/CarnaDICOM | b767cc5f7484b85d24b7557d5d86efebad57b2ef | [
"BSD-3-Clause"
] | 1 | 2015-07-25T13:26:42.000Z | 2015-07-25T13:26:42.000Z | src/dicom/DICOMBrowser.cpp | RWTHmediTEC/CarnaDICOM | b767cc5f7484b85d24b7557d5d86efebad57b2ef | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (C) 2010 - 2015 Leonid Kostrykin
*
* Chair of Medical Engineering (mediTEC)
* RWTH Aachen University
* Pauwelsstr. 20
* 52074 Aachen
* Germany
*
*/
#include <Carna/dicom/CarnaDICOM.h>
#if !CARNAQT_DISABLED
#include <Carna/dicom/DICOMBrowser.h>
#include <Carna/dicom/DICOMBrowserDetails.h>... | 32.75067 | 134 | 0.597168 | RWTHmediTEC |
51e152025e8a55b81457a4fd504e9317802e134f | 498 | cpp | C++ | uhk/CF3.1.cpp | Hyyyyyyyyyy/acm | d7101755b2c2868d51bb056f094e024d0333b56f | [
"MIT"
] | null | null | null | uhk/CF3.1.cpp | Hyyyyyyyyyy/acm | d7101755b2c2868d51bb056f094e024d0333b56f | [
"MIT"
] | null | null | null | uhk/CF3.1.cpp | Hyyyyyyyyyy/acm | d7101755b2c2868d51bb056f094e024d0333b56f | [
"MIT"
] | null | null | null | #include <cstdio>
#include <cstring>
#include <cmath>
#include <algorithm>
using namespace std;
int bx, by, ex, ey, X, Y;
int main()
{
int i, j, k, u, n, m, a, b, c, d;
while (scanf("%d %d %d %d", &bx, &by, &ex, &ey) != EOF)
{
scanf("%d %d", &X, &Y);
if (abs(bx - ex) % X != 0 || abs(by - ey) % Y != 0)
{
pri... | 19.153846 | 56 | 0.487952 | Hyyyyyyyyyy |
51e44bc7aadacc1bf880a5918a0445670103cc49 | 64,352 | cpp | C++ | deployed/Il2CppOutputProject/Source/il2cppOutput/Bulk_UnityEngine.StandardEvents_0.cpp | PaulDixon/HelloWorld | f73f1eb2f972b3bc03420727e3c383ff63041af9 | [
"MIT"
] | null | null | null | deployed/Il2CppOutputProject/Source/il2cppOutput/Bulk_UnityEngine.StandardEvents_0.cpp | PaulDixon/HelloWorld | f73f1eb2f972b3bc03420727e3c383ff63041af9 | [
"MIT"
] | null | null | null | deployed/Il2CppOutputProject/Source/il2cppOutput/Bulk_UnityEngine.StandardEvents_0.cpp | PaulDixon/HelloWorld | f73f1eb2f972b3bc03420727e3c383ff63041af9 | [
"MIT"
] | null | null | null | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include <stdint.h>
#include "il2cpp-class-internals.h"
#include "codegen/il2cpp-codegen.h"
#include "il... | 39.167377 | 309 | 0.805445 | PaulDixon |
51e61c57b7bfbcdfaea86939ab4f66a62ac79872 | 714 | hpp | C++ | source/quantum-script-extension-xml--export.hpp | g-stefan/quantum-script-extension-xml | b8184dcdeeb820447578fc7cc5e2efc3301148a2 | [
"MIT",
"Unlicense"
] | null | null | null | source/quantum-script-extension-xml--export.hpp | g-stefan/quantum-script-extension-xml | b8184dcdeeb820447578fc7cc5e2efc3301148a2 | [
"MIT",
"Unlicense"
] | null | null | null | source/quantum-script-extension-xml--export.hpp | g-stefan/quantum-script-extension-xml | b8184dcdeeb820447578fc7cc5e2efc3301148a2 | [
"MIT",
"Unlicense"
] | null | null | null | //
// Quantum Script Extension XML
//
// Copyright (c) 2020-2021 Grigore Stefan <g_stefan@yahoo.com>
// Created by Grigore Stefan <g_stefan@yahoo.com>
//
// MIT License (MIT) <http://opensource.org/licenses/MIT>
//
#ifndef QUANTUM_SCRIPT_EXTENSION_XML__EXPORT_HPP
#define QUANTUM_SCRIPT_EXTENSION_XML__EXPORT_... | 24.62069 | 70 | 0.761905 | g-stefan |
51e6260b89be41930cab597106f0898fbed3c605 | 13,422 | cpp | C++ | MOS_6502_Emulator/Processor.cpp | yu830425/MOS-6502-Simulator | b08495e1225b65df51ba2ad561f27b048a506c31 | [
"MIT"
] | null | null | null | MOS_6502_Emulator/Processor.cpp | yu830425/MOS-6502-Simulator | b08495e1225b65df51ba2ad561f27b048a506c31 | [
"MIT"
] | null | null | null | MOS_6502_Emulator/Processor.cpp | yu830425/MOS-6502-Simulator | b08495e1225b65df51ba2ad561f27b048a506c31 | [
"MIT"
] | null | null | null | #include "Processor.h"
#include <iostream>
Processor::Processor()
{
m_stack = make_shared<Stack>();
m_processingUnit = make_shared<ProcessingUnit>();
m_processingUnit->setStackController(m_stack);
m_commandTable = createCommandMap();
m_commandMap = std::unordered_map<string, any>{
{"LDA", std::function<void(... | 35.321053 | 103 | 0.64886 | yu830425 |
51e72748504e4c3436128bf341d152c17a7ea10e | 2,755 | cpp | C++ | paradigms/greedy/134_gas-station.cpp | b1tank/leetcode | 0b71eb7a4f52291ff072b1280d6b76e68f7adfee | [
"MIT"
] | null | null | null | paradigms/greedy/134_gas-station.cpp | b1tank/leetcode | 0b71eb7a4f52291ff072b1280d6b76e68f7adfee | [
"MIT"
] | null | null | null | paradigms/greedy/134_gas-station.cpp | b1tank/leetcode | 0b71eb7a4f52291ff072b1280d6b76e68f7adfee | [
"MIT"
] | null | null | null | // Author: b1tank
// Email: b1tank@outlook.com
//=================================
/*
134_gas-station LeetCode
Solution:
- one pass: return the index after the index where the lowest possible tank is reached (total gas >= total cost)
- better draw graph to show the trend to understand the algori... | 29.308511 | 117 | 0.476225 | b1tank |
51ea15502305cb5ec3b07b5b3cd9e3353652fc0f | 2,406 | hpp | C++ | legion/engine/core/ecs/filters/filter_info.hpp | Legion-Engine/Legion-Engine | a2b898e1cc763b82953c6990dde0b379491a30d0 | [
"MIT"
] | 258 | 2020-10-22T07:09:57.000Z | 2021-09-09T05:47:09.000Z | legion/engine/core/ecs/filters/filter_info.hpp | LeonBrands/Legion-Engine | 40aa1f4a8c59eb0824de1cdda8e17d8dba7bed7c | [
"MIT"
] | 51 | 2020-11-17T13:02:10.000Z | 2021-09-07T18:19:39.000Z | legion/engine/core/ecs/filters/filter_info.hpp | Rythe-Interactive/Rythe-Engine.rythe-legacy | c119c494524b069a73100b12dc3d8b898347830d | [
"MIT"
] | 13 | 2020-12-08T08:06:48.000Z | 2021-09-09T05:47:19.000Z | #pragma once
#include <array>
#include <unordered_set>
#include <functional>
#include <core/common/hash.hpp>
/**
* @file filter_info.hpp
*/
namespace legion::core::ecs
{
/**@struct filter_info_base
* @brief Common base class of all filter_info variants.
*/
struct filter_info_base
{
/*... | 31.657895 | 123 | 0.657107 | Legion-Engine |
51edc2f253669ad6caa3ee9c29458c91e32d7b16 | 7,889 | cpp | C++ | src/lib/utilities.cpp | bloomen/libunittest | b168539c70e5ac8a3c67d295e368d07f3c1854fb | [
"MIT"
] | 2 | 2020-11-05T12:38:35.000Z | 2021-03-19T06:02:03.000Z | src/lib/utilities.cpp | bloomen/libunittest | b168539c70e5ac8a3c67d295e368d07f3c1854fb | [
"MIT"
] | null | null | null | src/lib/utilities.cpp | bloomen/libunittest | b168539c70e5ac8a3c67d295e368d07f3c1854fb | [
"MIT"
] | null | null | null | #include "libunittest/utilities.hpp"
#include <thread>
#include <iostream>
#include <mutex>
#include <cstdlib>
#ifdef _MSC_VER
#include <windows.h>
#include <iomanip>
#else
#include "config.hpp"
#endif
#if HAVE_GCC_ABI_DEMANGLE==1
#include <cxxabi.h>
#endif
namespace unittest {
namespace core {
#if defined(_MSC_VER) ... | 25.285256 | 121 | 0.610724 | bloomen |
51ef02ea8aecd9d9cd738cd6892119e1c6ed9b6a | 17,497 | hpp | C++ | src/random/dice.hpp | dubkois/Tools | 9f0efdbd37597b9a78b36e9324d236cf2b006526 | [
"MIT"
] | null | null | null | src/random/dice.hpp | dubkois/Tools | 9f0efdbd37597b9a78b36e9324d236cf2b006526 | [
"MIT"
] | null | null | null | src/random/dice.hpp | dubkois/Tools | 9f0efdbd37597b9a78b36e9324d236cf2b006526 | [
"MIT"
] | null | null | null | #ifndef KGD_UTILS_DICE_HPP
#define KGD_UTILS_DICE_HPP
/******************************************************************************//**
* \file
* \brief Contains the logic for random number generation.
*
* Provides aliases for commonly used types as well as the main class Dice.
*/
#include <random>
#include <c... | 33.138258 | 113 | 0.643482 | dubkois |
51ef7de9fa709713a2d3867f94be08202fd61df3 | 5,948 | cpp | C++ | Plugins/CaptionMod/SourceSDK/vstdlib/KeyValuesSystem.cpp | anchurcn/MetaHookSv | 8408f57d5abb2109285ed9f7897e3a0776e51c87 | [
"MIT"
] | 31 | 2021-01-20T08:12:48.000Z | 2022-03-29T16:47:50.000Z | Plugins/CaptionMod/SourceSDK/vstdlib/KeyValuesSystem.cpp | anchurcn/MetaHookSv | 8408f57d5abb2109285ed9f7897e3a0776e51c87 | [
"MIT"
] | 118 | 2021-02-04T17:57:48.000Z | 2022-03-31T13:03:21.000Z | Plugins/CaptionMod/SourceSDK/vstdlib/KeyValuesSystem.cpp | anchurcn/MetaHookSv | 8408f57d5abb2109285ed9f7897e3a0776e51c87 | [
"MIT"
] | 13 | 2021-01-21T01:43:19.000Z | 2022-03-15T04:51:19.000Z | #include <interface.h>
#include <vstdlib/IKeyValuesSystem.h>
#include <tier1/KeyValues.h>
#include <tier1/mempool.h>
#include <tier1/utlsymbol.h>
#include <tier0/threadtools.h>
#include <tier1/memstack.h>
#include <vgui/ILocalize.h>
#include <tier0/memdbgon.h>
using namespace vgui;
#if 0
#ifdef NO_SBH
#define KE... | 20.797203 | 206 | 0.733524 | anchurcn |
51efbb8c8b48f317d727dad4a7ab1065b7afad6c | 1,638 | cpp | C++ | SpatialGDK/Source/SpatialGDK/Private/EngineClasses/SpatialNetBitWriter.cpp | cyberbibby/UnrealGDK | 9502a1ba11d21b3cb64978ba7ea178c63371cdd0 | [
"MIT"
] | 1 | 2020-07-15T12:43:02.000Z | 2020-07-15T12:43:02.000Z | SpatialGDK/Source/SpatialGDK/Private/EngineClasses/SpatialNetBitWriter.cpp | cyberbibby/UnrealGDK | 9502a1ba11d21b3cb64978ba7ea178c63371cdd0 | [
"MIT"
] | null | null | null | SpatialGDK/Source/SpatialGDK/Private/EngineClasses/SpatialNetBitWriter.cpp | cyberbibby/UnrealGDK | 9502a1ba11d21b3cb64978ba7ea178c63371cdd0 | [
"MIT"
] | null | null | null | // Copyright (c) Improbable Worlds Ltd, All Rights Reserved
#include "EngineClasses/SpatialNetBitWriter.h"
#include "UObject/WeakObjectPtr.h"
#include "EngineClasses/SpatialNetDriver.h"
#include "EngineClasses/SpatialPackageMapClient.h"
#include "Schema/UnrealObjectRef.h"
#include "SpatialConstants.h"
#include "Util... | 26 | 112 | 0.783272 | cyberbibby |
51f4bef7bdaedb5ae4930af5ac27f4dcede67c77 | 24,093 | cpp | C++ | vlc_linux/vlc-3.0.16/modules/gui/qt/dialogs/extensions.cpp | Brook1711/biubiu_Qt6 | 5c4d22a1d1beef63bc6c7738dce6c477c4642803 | [
"MIT"
] | null | null | null | vlc_linux/vlc-3.0.16/modules/gui/qt/dialogs/extensions.cpp | Brook1711/biubiu_Qt6 | 5c4d22a1d1beef63bc6c7738dce6c477c4642803 | [
"MIT"
] | null | null | null | vlc_linux/vlc-3.0.16/modules/gui/qt/dialogs/extensions.cpp | Brook1711/biubiu_Qt6 | 5c4d22a1d1beef63bc6c7738dce6c477c4642803 | [
"MIT"
] | null | null | null | /*****************************************************************************
* extensions.cpp: Extensions manager for Qt: dialogs manager
****************************************************************************
* Copyright (C) 2009-2010 VideoLAN and authors
* $Id: 7b8a732e6c08add04e5692469cf9cc141357bd31 $
*... | 34.917391 | 90 | 0.583613 | Brook1711 |
51f60f4d28b37309b7d4d0eb515edb9dea2e292a | 7,504 | hpp | C++ | include/Zenject/ZenjectStateMachineBehaviourAutoInjecter.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | include/Zenject/ZenjectStateMachineBehaviourAutoInjecter.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | include/Zenject/ZenjectStateMachineBehaviourAutoInjecter.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "beatsaber-hook/shared/utils/typedefs.h"
#include "beatsaber-hook/shared/utils/byref.hpp"
// Including type: UnityEngine.MonoBehaviour
#... | 52.111111 | 221 | 0.74467 | RedBrumbler |
51f7162278c47e1094dcfb6735dad229399bb294 | 3,732 | cpp | C++ | Code/Tools/ProjectManager/tests/UtilsTests.cpp | aaarsene/o3de | 37e3b0226958974defd14dd6d808e8557dcd7345 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-09-13T00:01:12.000Z | 2021-09-13T00:01:12.000Z | Code/Tools/ProjectManager/tests/UtilsTests.cpp | aaarsene/o3de | 37e3b0226958974defd14dd6d808e8557dcd7345 | [
"Apache-2.0",
"MIT"
] | null | null | null | Code/Tools/ProjectManager/tests/UtilsTests.cpp | aaarsene/o3de | 37e3b0226958974defd14dd6d808e8557dcd7345 | [
"Apache-2.0",
"MIT"
] | 1 | 2021-07-20T11:07:25.000Z | 2021-07-20T11:07:25.000Z | /*
* Copyright (c) Contributors to the Open 3D Engine Project. For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#include <AzCore/UnitTest/TestTypes.h>
#include <Application.h>
#include <ProjectUtils.h>
#include <... | 32.172414 | 158 | 0.582529 | aaarsene |
51f8c620dea4e3b50e830e6d7a085944487df96f | 2,990 | cpp | C++ | elfz/program_header.cpp | cristivlas/zerobugs | 5f080c8645b123d7887fd8a64f60e8d226e3b1d5 | [
"BSL-1.0"
] | 2 | 2018-03-19T23:27:47.000Z | 2018-06-24T16:15:19.000Z | elfz/program_header.cpp | cristivlas/zerobugs | 5f080c8645b123d7887fd8a64f60e8d226e3b1d5 | [
"BSL-1.0"
] | null | null | null | elfz/program_header.cpp | cristivlas/zerobugs | 5f080c8645b123d7887fd8a64f60e8d226e3b1d5 | [
"BSL-1.0"
] | 1 | 2021-11-28T05:39:05.000Z | 2021-11-28T05:39:05.000Z | //
// $Id$
//
// -------------------------------------------------------------------------
// This file is part of ZeroBugs, Copyright (c) 2010 Cristian L. Vlasceanu
//
// 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.... | 17.48538 | 76 | 0.582943 | cristivlas |
51fa446c6ceb10537b11092cd9baae2c077487ab | 25,583 | cpp | C++ | Crypto/C-Code/ECC/eccl.cpp | dbmcclain/Lisp-Actors | f293326c52bf658fc613237cbb4f740f1ae3b0c1 | [
"Unlicense"
] | 43 | 2020-10-29T18:05:40.000Z | 2022-03-29T03:47:01.000Z | Crypto/C-Code/ECC/eccl.cpp | dbmcclain/Lisp-Actors | f293326c52bf658fc613237cbb4f740f1ae3b0c1 | [
"Unlicense"
] | 1 | 2021-12-31T01:36:49.000Z | 2021-12-31T15:21:54.000Z | Crypto/C-Code/ECC/eccl.cpp | dbmcclain/Lisp-Actors | f293326c52bf658fc613237cbb4f740f1ae3b0c1 | [
"Unlicense"
] | 6 | 2020-11-07T07:31:27.000Z | 2022-01-09T18:48:19.000Z | // ecc.cpp -- NIST B571 ECC over F_2^571
// DMcClain/Acudora 11/11
// ---------------------------------------------
#include "ecc.h"
// ------------------------------------------------------------
static const int lmask = sizeof(ulong)-1;
// ------------------------------------------------------------
s... | 21.643824 | 176 | 0.562092 | dbmcclain |
51fe2949a1429598277911cc559036e011c75ab8 | 699 | cpp | C++ | tests/com.oracle.truffle.llvm.tests.sulongcpp/cpp/test011.cpp | pointhi/sulong | 5446c54d360f486f9e97590af5f466cf1f5cd1f7 | [
"BSD-3-Clause"
] | 1 | 2021-01-20T08:07:04.000Z | 2021-01-20T08:07:04.000Z | tests/com.oracle.truffle.llvm.tests.sulongcpp/cpp/test011.cpp | pointhi/sulong | 5446c54d360f486f9e97590af5f466cf1f5cd1f7 | [
"BSD-3-Clause"
] | null | null | null | tests/com.oracle.truffle.llvm.tests.sulongcpp/cpp/test011.cpp | pointhi/sulong | 5446c54d360f486f9e97590af5f466cf1f5cd1f7 | [
"BSD-3-Clause"
] | 1 | 2018-11-06T21:38:57.000Z | 2018-11-06T21:38:57.000Z |
#include <stdio.h>
class Base {
public:
virtual int foo() {
return 13;
}
};
class A : public Base {
public:
int foo() {
return 11;
}
int tar() {
return 77;
}
};
class B : public Base {
public:
int foo() {
return 15;
}
int bar() {
return 99;
}
};
int foo(int a) {
if (a == 0... | 12.709091 | 34 | 0.509299 | pointhi |
a4036081cd6c02d2ad4c99f6385f457cef1a1cac | 3,274 | hpp | C++ | samples/deeplearning/gxm/include/ConvImpl.hpp | abhisek-kundu/libxsmm | 6c8ca987e77e32253ad347a1357ce2687c448ada | [
"BSD-3-Clause"
] | 651 | 2015-03-14T23:18:44.000Z | 2022-01-19T14:08:28.000Z | samples/deeplearning/gxm/include/ConvImpl.hpp | abhisek-kundu/libxsmm | 6c8ca987e77e32253ad347a1357ce2687c448ada | [
"BSD-3-Clause"
] | 362 | 2015-01-26T16:20:28.000Z | 2022-01-26T06:19:23.000Z | samples/deeplearning/gxm/include/ConvImpl.hpp | abhisek-kundu/libxsmm | 6c8ca987e77e32253ad347a1357ce2687c448ada | [
"BSD-3-Clause"
] | 169 | 2015-09-28T17:06:28.000Z | 2021-12-18T16:02:49.000Z | /******************************************************************************
* Copyright (c) Intel Corporation - All rights reserved. *
* This file is part of the LIBXSMM library. *
* *
... | 32.098039 | 139 | 0.587355 | abhisek-kundu |
a40435e1b02ee5d61695a217d6ee57829275ce70 | 7,020 | cpp | C++ | CommonLib/cxBaseCommThread_thread.cpp | chrishoen/Dev_NP_TTA_NewCProc | 95a0d59e6079e6f42a11cfe5da5ec41221f67227 | [
"MIT"
] | null | null | null | CommonLib/cxBaseCommThread_thread.cpp | chrishoen/Dev_NP_TTA_NewCProc | 95a0d59e6079e6f42a11cfe5da5ec41221f67227 | [
"MIT"
] | null | null | null | CommonLib/cxBaseCommThread_thread.cpp | chrishoen/Dev_NP_TTA_NewCProc | 95a0d59e6079e6f42a11cfe5da5ec41221f67227 | [
"MIT"
] | null | null | null | /*==============================================================================
Detestion:
==============================================================================*/
//******************************************************************************
//***************************************************************... | 34.411765 | 116 | 0.475499 | chrishoen |
a40731ba094803facf6e37ac33ef5c04f5776fcc | 19,877 | cpp | C++ | src/base/function/ObjectManagedFunction.cpp | IncompleteWorlds/GMAT_2020 | 624de54d00f43831a4d46b46703e069d5c8c92ff | [
"Apache-2.0"
] | null | null | null | src/base/function/ObjectManagedFunction.cpp | IncompleteWorlds/GMAT_2020 | 624de54d00f43831a4d46b46703e069d5c8c92ff | [
"Apache-2.0"
] | null | null | null | src/base/function/ObjectManagedFunction.cpp | IncompleteWorlds/GMAT_2020 | 624de54d00f43831a4d46b46703e069d5c8c92ff | [
"Apache-2.0"
] | null | null | null | //$Id$
//------------------------------------------------------------------------------
// ObjectManagedFunction
//------------------------------------------------------------------------------
// GMAT: General Mission Analysis Tool
//
// Copyright (c) 2002 - 2020 United States Government as... | 35.943942 | 106 | 0.509383 | IncompleteWorlds |
a407e9485fa2e6beb466fb6d2bfa3e3cdbe42ef5 | 15,699 | cpp | C++ | source/App/vvencapp/vvencapp.cpp | Jamaika1/vvenc | 77af89362d3cfad6098cbacb9407cf6958fdfb03 | [
"BSD-3-Clause"
] | null | null | null | source/App/vvencapp/vvencapp.cpp | Jamaika1/vvenc | 77af89362d3cfad6098cbacb9407cf6958fdfb03 | [
"BSD-3-Clause"
] | null | null | null | source/App/vvencapp/vvencapp.cpp | Jamaika1/vvenc | 77af89362d3cfad6098cbacb9407cf6958fdfb03 | [
"BSD-3-Clause"
] | null | null | null | /* -----------------------------------------------------------------------------
The copyright in this software is being made available under the BSD
License, included below. No patent rights, trademark rights and/or
other Intellectual Property Rights other than the copyrights concerning
the Software are granted unde... | 37.557416 | 208 | 0.633289 | Jamaika1 |
a4112ccdd7b540b87efcad658abfece69fc896ef | 8,746 | cpp | C++ | avs/vis_avs/r_multiplier.cpp | semiessessi/vis_avs | e99a3803e9de9032e0e6759963b2c2798f3443ef | [
"BSD-3-Clause"
] | 18 | 2020-07-30T11:55:23.000Z | 2022-02-25T02:39:15.000Z | avs/vis_avs/r_multiplier.cpp | semiessessi/vis_avs | e99a3803e9de9032e0e6759963b2c2798f3443ef | [
"BSD-3-Clause"
] | 34 | 2021-01-13T02:02:12.000Z | 2022-03-23T12:09:55.000Z | avs/vis_avs/r_multiplier.cpp | semiessessi/vis_avs | e99a3803e9de9032e0e6759963b2c2798f3443ef | [
"BSD-3-Clause"
] | 3 | 2021-03-18T12:53:58.000Z | 2021-10-02T20:24:41.000Z | /*
LICENSE
-------
Copyright 2005 Nullsoft, Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice,
this list of conditio... | 20.627358 | 102 | 0.570089 | semiessessi |
a4119f4812509d12b78f711dcc2f5ad1c2e82575 | 10,107 | hh | C++ | trex/utils/SharedVar.hh | miatauro/trex2-agent | d896f8335f3194237a8bba49949e86f5488feddb | [
"BSD-3-Clause"
] | null | null | null | trex/utils/SharedVar.hh | miatauro/trex2-agent | d896f8335f3194237a8bba49949e86f5488feddb | [
"BSD-3-Clause"
] | null | null | null | trex/utils/SharedVar.hh | miatauro/trex2-agent | d896f8335f3194237a8bba49949e86f5488feddb | [
"BSD-3-Clause"
] | null | null | null | /* -*- C++ -*- */
/** @file "SharedVar.hh"
* @brief utilities for multi-thread shared variable
*
* This header declare classes and utilities to easily
* share a variable between multiple threads.
*
* @author Frederic Py <fpy@mbari.org>
* @ingroup utils
*/
/*******************************************************... | 32.498392 | 84 | 0.598793 | miatauro |
a414043fb3a5a0513723c8bb5f357577414d4000 | 1,279 | cpp | C++ | easy/nimble/main.cpp | exbibyte/hr | 100514dfc2a1c9b5366c12ec0a75e889132a620e | [
"MIT"
] | null | null | null | easy/nimble/main.cpp | exbibyte/hr | 100514dfc2a1c9b5366c12ec0a75e889132a620e | [
"MIT"
] | null | null | null | easy/nimble/main.cpp | exbibyte/hr | 100514dfc2a1c9b5366c12ec0a75e889132a620e | [
"MIT"
] | null | null | null | #include <iostream>
#include <algorithm>
#include <string>
#include <unordered_set>
#include <unordered_map>
#include <vector>
#include <map>
std::vector<std::pair<int,int>> moves(int x, int y ){
std::vector<std::pair<int,int>> v = { {x-2,y+1},{x-2,y-1},{x+1,y-2},{x-1,y-2} };
auto it_end = std::remove_if( v.begin(... | 21.677966 | 82 | 0.577795 | exbibyte |
a415d87375ae54df280b10cc84c3a54e0627b4db | 64 | hpp | C++ | src/boost_mpl_aux__preprocessed_msvc60_greater_equal.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 10 | 2018-03-17T00:58:42.000Z | 2021-07-06T02:48:49.000Z | src/boost_mpl_aux__preprocessed_msvc60_greater_equal.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 2 | 2021-03-26T15:17:35.000Z | 2021-05-20T23:55:08.000Z | src/boost_mpl_aux__preprocessed_msvc60_greater_equal.hpp | miathedev/BoostForArduino | 919621dcd0c157094bed4df752b583ba6ea6409e | [
"BSL-1.0"
] | 4 | 2019-05-28T21:06:37.000Z | 2021-07-06T03:06:52.000Z | #include <boost/mpl/aux_/preprocessed/msvc60/greater_equal.hpp>
| 32 | 63 | 0.828125 | miathedev |
a417330acf645dc86bbc4a6be5d8b97a9a2b8612 | 2,132 | cpp | C++ | JsonParsing/Source/JsonParsing/JsonParser.cpp | devilmhzx/UE4-Cpp-Tutorials | 2cbf9d44dd4fa1c4eb68530f692065fc2c36b55d | [
"MIT"
] | 531 | 2016-10-19T14:04:55.000Z | 2022-03-28T06:34:25.000Z | JsonParsing/Source/JsonParsing/JsonParser.cpp | devilmhzx/UE4-Cpp-Tutorials | 2cbf9d44dd4fa1c4eb68530f692065fc2c36b55d | [
"MIT"
] | null | null | null | JsonParsing/Source/JsonParsing/JsonParser.cpp | devilmhzx/UE4-Cpp-Tutorials | 2cbf9d44dd4fa1c4eb68530f692065fc2c36b55d | [
"MIT"
] | 172 | 2016-10-18T14:53:11.000Z | 2022-03-22T10:39:44.000Z | // Fill out your copyright notice in the Description page of Project Settings.
#include "JsonParser.h"
#include "JsonUtilities.h"
// Sets default values
AJsonParser::AJsonParser()
{
// Set this actor to call Tick() every frame. You can turn this off to improve performance if you don't need it.
PrimaryActorTick.bC... | 31.352941 | 115 | 0.735929 | devilmhzx |
a417cc08b00e9e4d6b81a70df83aba4b4b8c5b1d | 306 | hpp | C++ | tests/bitset/bitset_mini.hpp | olegpublicprofile/stdfwd | 19671bcc8e53bd4c008f07656eaf25a22495e093 | [
"MIT"
] | 11 | 2021-03-15T07:06:21.000Z | 2021-09-27T13:54:25.000Z | tests/bitset/bitset_mini.hpp | olegpublicprofile/stdfwd | 19671bcc8e53bd4c008f07656eaf25a22495e093 | [
"MIT"
] | null | null | null | tests/bitset/bitset_mini.hpp | olegpublicprofile/stdfwd | 19671bcc8e53bd4c008f07656eaf25a22495e093 | [
"MIT"
] | 1 | 2021-06-24T10:46:46.000Z | 2021-06-24T10:46:46.000Z | #pragma once
//------------------------------------------------------------------------------
namespace bitset_tests {
//------------------------------------------------------------------------------
void run_mini();
//------------------------------------------------------------------------------
}
| 21.857143 | 80 | 0.140523 | olegpublicprofile |
a41beafd92f415421898e9ec4cc8cac46cf3ff3d | 2,429 | cc | C++ | tizen/mobile/sensor/sensor_provider.cc | jakegeno/crosswalk | 325ab480b5ec203b53815f072e42006dd00009ec | [
"BSD-3-Clause"
] | 3 | 2015-07-07T13:48:43.000Z | 2019-09-18T04:37:41.000Z | tizen/mobile/sensor/sensor_provider.cc | DonnaWuDongxia/crosswalk | 2eff18f2a2c30f2fc2a95de8d714d464b465a0e4 | [
"BSD-3-Clause"
] | 1 | 2022-01-20T10:49:19.000Z | 2022-01-20T12:56:47.000Z | tizen/mobile/sensor/sensor_provider.cc | DonnaWuDongxia/crosswalk | 2eff18f2a2c30f2fc2a95de8d714d464b465a0e4 | [
"BSD-3-Clause"
] | 8 | 2015-06-02T21:13:45.000Z | 2022-01-20T10:36:43.000Z | // Copyright (c) 2013 Intel Corporation. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "xwalk/tizen/mobile/sensor/sensor_provider.h"
#include "base/logging.h"
#include "xwalk/tizen/mobile/sensor/tizen_platform_sensor.h"
namespace... | 29.26506 | 73 | 0.672705 | jakegeno |
a428f0bfc572b69f9ed52b90ccc296608d64ca08 | 4,656 | cpp | C++ | src/slib/network/mac_address.cpp | inogroup/SLib | 6c053c8f47f04240b8444eac5f316effdee2eb01 | [
"MIT"
] | 2 | 2021-07-29T18:29:25.000Z | 2021-09-07T08:51:14.000Z | src/slib/network/mac_address.cpp | inogroup/SLib | 6c053c8f47f04240b8444eac5f316effdee2eb01 | [
"MIT"
] | 1 | 2021-07-29T18:22:35.000Z | 2021-07-29T18:59:41.000Z | src/slib/network/mac_address.cpp | inogroup/SLib | 6c053c8f47f04240b8444eac5f316effdee2eb01 | [
"MIT"
] | 3 | 2021-07-29T17:08:12.000Z | 2021-12-14T06:21:41.000Z | /*
* Copyright (c) 2008-2021 SLIBIO <https://github.com/SLIBIO>
*
* 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
* ... | 22.712195 | 110 | 0.55756 | inogroup |
a429b28c9c8bcd72bcf2f4fe31d909beb30482f5 | 2,517 | cpp | C++ | libnd4j/include/ops/declarable/helpers/impl/where.cpp | phong-phuong/deeplearning4j | d21e8839578d328f46f4b5ca38307a78528c34f5 | [
"Apache-2.0"
] | null | null | null | libnd4j/include/ops/declarable/helpers/impl/where.cpp | phong-phuong/deeplearning4j | d21e8839578d328f46f4b5ca38307a78528c34f5 | [
"Apache-2.0"
] | null | null | null | libnd4j/include/ops/declarable/helpers/impl/where.cpp | phong-phuong/deeplearning4j | d21e8839578d328f46f4b5ca38307a78528c34f5 | [
"Apache-2.0"
] | null | null | null | /* ******************************************************************************
*
*
* This program and the accompanying materials are made available under the
* terms of the Apache License, Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0.
*
* See the NOTICE file distributed wit... | 38.723077 | 151 | 0.556218 | phong-phuong |
a42bd6f41ba82266e29026831b75628aaa4fae92 | 2,343 | cpp | C++ | B2G/gecko/gfx/layers/opengl/TexturePoolOGL.cpp | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | 3 | 2015-08-31T15:24:31.000Z | 2020-04-24T20:31:29.000Z | B2G/gecko/gfx/layers/opengl/TexturePoolOGL.cpp | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | null | null | null | B2G/gecko/gfx/layers/opengl/TexturePoolOGL.cpp | wilebeast/FireFox-OS | 43067f28711d78c429a1d6d58c77130f6899135f | [
"Apache-2.0"
] | 3 | 2015-07-29T07:17:15.000Z | 2020-11-04T06:55:37.000Z | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "TexturePoolOGL.h"
#include "GLContext.h"
#include "nsDeque.h"
#include "mozilla/Monitor.h"
#define TEXT... | 20.198276 | 76 | 0.672215 | wilebeast |
a4306f32eddf3ca9b17b2f479249da07a51ead8f | 5,431 | cpp | C++ | common/mptStringParse.cpp | ford442/openmpt | 614c44fe665b0e1cce15092ecf0d069cbb3e1fe7 | [
"BSD-3-Clause"
] | 335 | 2017-02-25T16:39:27.000Z | 2022-03-29T17:45:42.000Z | common/mptStringParse.cpp | ford442/openmpt | 614c44fe665b0e1cce15092ecf0d069cbb3e1fe7 | [
"BSD-3-Clause"
] | 7 | 2018-02-05T18:22:38.000Z | 2022-02-15T19:35:24.000Z | common/mptStringParse.cpp | ford442/openmpt | 614c44fe665b0e1cce15092ecf0d069cbb3e1fe7 | [
"BSD-3-Clause"
] | 69 | 2017-04-10T00:48:09.000Z | 2022-03-20T10:24:45.000Z | /*
* mptStringParse.cpp
* ------------------
* Purpose: Convert strings to other types.
* Notes : (currently none)
* Authors: OpenMPT Devs
* The OpenMPT source code is released under the BSD license. Read LICENSE for more details.
*/
#include "stdafx.h"
#include "mptStringParse.h"
#include "mpt/parse/parse.h... | 54.858586 | 153 | 0.783097 | ford442 |
a431cf3bc2de93a61f30ca7162436681d69c84f8 | 416 | cpp | C++ | src/pieces/Piece.cpp | patryk-kacperski/chess-engine | d636bf3cab9f5d8b72523ce8f2be493b6666c660 | [
"MIT"
] | null | null | null | src/pieces/Piece.cpp | patryk-kacperski/chess-engine | d636bf3cab9f5d8b72523ce8f2be493b6666c660 | [
"MIT"
] | null | null | null | src/pieces/Piece.cpp | patryk-kacperski/chess-engine | d636bf3cab9f5d8b72523ce8f2be493b6666c660 | [
"MIT"
] | 1 | 2019-04-05T20:26:27.000Z | 2019-04-05T20:26:27.000Z | //
// Created by Patryk Kacperski on 09/07/2018.
//
#include "Piece.h"
namespace pkchessengine {
MoveResult Piece::validate(Move move) {
return MoveResult::kValid;
}
Piece::Piece(Side side, PieceType type)
{ }
Side Piece::getSide() {
return info.side;
}
PieceType Piece:... | 15.407407 | 45 | 0.59375 | patryk-kacperski |
a433087d089b7a0cca96c38ac6ffc97ad328b5f3 | 3,932 | cc | C++ | sw/device/silicon_creator/lib/drivers/ast_unittest.cc | msfschaffner/opentitan-bak | de4cb1bb9e7b707a3ca2a6882d83af7ed2aa1ab8 | [
"Apache-2.0"
] | null | null | null | sw/device/silicon_creator/lib/drivers/ast_unittest.cc | msfschaffner/opentitan-bak | de4cb1bb9e7b707a3ca2a6882d83af7ed2aa1ab8 | [
"Apache-2.0"
] | 2 | 2021-11-01T15:02:37.000Z | 2022-01-17T14:34:36.000Z | sw/device/silicon_creator/lib/drivers/ast_unittest.cc | msfschaffner/opentitan-bak | de4cb1bb9e7b707a3ca2a6882d83af7ed2aa1ab8 | [
"Apache-2.0"
] | null | null | null | // Copyright lowRISC contributors.
// Licensed under the Apache License, Version 2.0, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0
#include "sw/device/silicon_creator/lib/drivers/ast.h"
#include <array>
#include "gtest/gtest.h"
#include "sw/device/lib/arch/device.h"
#include "sw/device/lib/base/mu... | 28.911765 | 80 | 0.753306 | msfschaffner |
bf9a838e65ef8b5bb31cf4d8b4342cc210a88ab3 | 914 | cc | C++ | plugins/meta-protobuf-v4/test/io.cc | TeravoxelTwoPhotonTomography/tilebase | 61f2e6b979d214afab8dd60d6f55afc3e4697e24 | [
"BSD-3-Clause"
] | null | null | null | plugins/meta-protobuf-v4/test/io.cc | TeravoxelTwoPhotonTomography/tilebase | 61f2e6b979d214afab8dd60d6f55afc3e4697e24 | [
"BSD-3-Clause"
] | null | null | null | plugins/meta-protobuf-v4/test/io.cc | TeravoxelTwoPhotonTomography/tilebase | 61f2e6b979d214afab8dd60d6f55afc3e4697e24 | [
"BSD-3-Clause"
] | null | null | null | // solves a std::tuple problem in vs2012
#define GTEST_HAS_TR1_TUPLE 0
#define GTEST_USE_OWN_TR1_TUPLE 1
#include <gtest/gtest.h>
#include "tilebase.h"
#include "plugins/meta-protobuf-v4/config.h"
struct FetchProtobufV4: public testing::Test
{
void SetUp()
{ ndioAddPluginPath(ND_ROOT_DIR"/bin/plugins");
}
}... | 25.388889 | 96 | 0.756018 | TeravoxelTwoPhotonTomography |
bf9aca021d9566d860a6dbad176073dd0ae0a500 | 8,213 | hpp | C++ | __drivers/gv_renderer_d3d9/gv_render_target_mgr_d3d.hpp | dragonsn/gv_game_engine | dca6c1fb1f8d96e9a244f157a63f8a69da084b0f | [
"MIT"
] | 2 | 2018-12-03T13:17:31.000Z | 2020-04-08T07:00:02.000Z | __drivers/gv_renderer_d3d9/gv_render_target_mgr_d3d.hpp | dragonsn/gv_game_engine | dca6c1fb1f8d96e9a244f157a63f8a69da084b0f | [
"MIT"
] | null | null | null | __drivers/gv_renderer_d3d9/gv_render_target_mgr_d3d.hpp | dragonsn/gv_game_engine | dca6c1fb1f8d96e9a244f157a63f8a69da084b0f | [
"MIT"
] | null | null | null | namespace gv
{
struct gv_renderable_tex_d3d_info
{
gv_renderable_tex_d3d_info()
{
}
gv_renderable_tex_d3d_info(const gv_renderable_tex_d3d_info& info)
{
(*this) = info;
}
~gv_renderable_tex_d3d_info()
{
}
gv_renderable_tex_d3d_info&
operator=(const gv_renderable_tex_d3d_info& info)
{
texture = info.tex... | 28.32069 | 94 | 0.725435 | dragonsn |
bf9b4ded67484ad53149e829b54698bcfcbcfc3f | 1,122 | cpp | C++ | OIandACM/OJ/LeetCode/first/medium-406-根据身高重建队列.cpp | ASC8384/MyCodeSnippets | aa74afa85672601bd25bf625590f26ac909b2042 | [
"CC0-1.0"
] | 8 | 2019-08-09T14:28:13.000Z | 2021-02-23T03:22:15.000Z | OIandACM/OJ/LeetCode/first/medium-406-根据身高重建队列.cpp | ASC8384/MyCodeSnippets | aa74afa85672601bd25bf625590f26ac909b2042 | [
"CC0-1.0"
] | null | null | null | OIandACM/OJ/LeetCode/first/medium-406-根据身高重建队列.cpp | ASC8384/MyCodeSnippets | aa74afa85672601bd25bf625590f26ac909b2042 | [
"CC0-1.0"
] | 4 | 2019-08-16T12:00:41.000Z | 2019-11-29T12:01:17.000Z | /*
* @lc app=leetcode.cn id=406 lang=cpp
*
* [406] 根据身高重建队列
*
* https://leetcode-cn.com/problems/queue-reconstruction-by-height/description/
*
* algorithms
* Medium (64.22%)
* Likes: 290
* Dislikes: 0
* Total Accepted: 24.5K
* Total Submissions: 38.1K
* Testcase Example: '[[7,0],[4,4],[7,1],[5,0],[6... | 19.344828 | 79 | 0.561497 | ASC8384 |
bf9bed6c3562413a9f578e2ce8d0efd59540ca5b | 1,132 | cpp | C++ | CHEFPRMS.cpp | Khush-Ramdev/codechef-solution | ecf57442efde8fbb03b55efdf761d7b1e0d04e80 | [
"MIT"
] | 5 | 2018-10-04T09:49:19.000Z | 2019-06-12T05:32:24.000Z | CHEFPRMS.cpp | Khush-Ramdev/codechef-solution | ecf57442efde8fbb03b55efdf761d7b1e0d04e80 | [
"MIT"
] | 5 | 2018-10-04T09:54:55.000Z | 2020-10-15T20:31:46.000Z | CHEFPRMS.cpp | Khush-Ramdev/codechef-solution | ecf57442efde8fbb03b55efdf761d7b1e0d04e80 | [
"MIT"
] | 38 | 2018-10-04T09:48:17.000Z | 2020-12-10T08:52:47.000Z | #include<bits/stdc++.h>
using namespace std;
typedef long long ll;
bool prime[202];
void isprime(ll n)
{ memset(prime,true,sizeof(prime));
prime[0]=false;
prime[1]=false;
for(ll i=2;i*i<=n;i++)
{
if(prime[i]==true)
{
for(ll p=i*2;p<=n;p+=i)
prime[p]=false;
... | 14.512821 | 48 | 0.382509 | Khush-Ramdev |
bf9f980348503b6b26163a33c586bcbcd399f62e | 652 | hpp | C++ | irohad/main/iroha_status.hpp | Insafin/iroha | 5e3c3252b2a62fa887274bdf25547dc264c10c26 | [
"Apache-2.0"
] | null | null | null | irohad/main/iroha_status.hpp | Insafin/iroha | 5e3c3252b2a62fa887274bdf25547dc264c10c26 | [
"Apache-2.0"
] | null | null | null | irohad/main/iroha_status.hpp | Insafin/iroha | 5e3c3252b2a62fa887274bdf25547dc264c10c26 | [
"Apache-2.0"
] | 1 | 2022-03-11T10:28:21.000Z | 2022-03-11T10:28:21.000Z | /**
* Copyright Soramitsu Co., Ltd. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef IROHA_STATUS_HPP
#define IROHA_STATUS_HPP
#include <rapidjson/stringbuffer.h>
#include <cstdint>
#include <optional>
#include <string>
#include "consensus/round.hpp"
namespace iroha {
struct IrohaStatus {... | 19.757576 | 53 | 0.726994 | Insafin |
bfa04fb4013ddfe07f30f237c48d1cdd8a59cea7 | 1,508 | hpp | C++ | src/LibCraft/coreEngine/include/HP.hpp | leodlplq/IMACraft | 5fec1729238e7e428bd39543dfd1fad521e16047 | [
"MIT"
] | 1 | 2021-11-24T16:49:48.000Z | 2021-11-24T16:49:48.000Z | src/LibCraft/coreEngine/include/HP.hpp | leodlplq/IMACraft | 5fec1729238e7e428bd39543dfd1fad521e16047 | [
"MIT"
] | null | null | null | src/LibCraft/coreEngine/include/HP.hpp | leodlplq/IMACraft | 5fec1729238e7e428bd39543dfd1fad521e16047 | [
"MIT"
] | null | null | null | //
// Created by Adam on 13/12/2021.
//
#pragma once
#include <iostream>
#include "vector"
#include "LibCraft/renderEngine/include/Vertex.hpp"
#include "LibCraft/renderEngine/include/Cube.hpp"
#include "LibCraft/renderEngine/include/vbo.hpp"
#include "LibCraft/renderEngine/include/vao.hpp"
#include "LibCraft/renderEng... | 28.45283 | 94 | 0.615385 | leodlplq |
bfa225823a119b760369311b30ffbc2824170b88 | 4,957 | cpp | C++ | GameRulesModules/GameRulesObjectiveVictoryConditionsIndividualScore.cpp | IvarJonsson/Project-Unknown | 4675b41bbb5e90135c7bf3aded2c2e262b50f351 | [
"BSL-1.0"
] | null | null | null | GameRulesModules/GameRulesObjectiveVictoryConditionsIndividualScore.cpp | IvarJonsson/Project-Unknown | 4675b41bbb5e90135c7bf3aded2c2e262b50f351 | [
"BSL-1.0"
] | null | null | null | GameRulesModules/GameRulesObjectiveVictoryConditionsIndividualScore.cpp | IvarJonsson/Project-Unknown | 4675b41bbb5e90135c7bf3aded2c2e262b50f351 | [
"BSL-1.0"
] | null | null | null | // Copyright 2001-2016 Crytek GmbH / Crytek Group. All rights reserved.
#include "StdAfx.h"
#include "Game.h"
#include "IGameRulesPlayerStatsModule.h"
#include "GameRulesObjectiveVictoryConditionsIndividualScore.h"
#include "GameRules.h"
#include "IGameRulesStateModule.h"
#include "IGameRulesObjectivesModule.h"
#inclu... | 28.819767 | 247 | 0.731693 | IvarJonsson |
bfa837544c3033c23982fe16154f5f0dad9deb12 | 625 | cpp | C++ | Lydsy/P1588 [HNOI2002]营业额统计/data.cpp | Wycers/Codelib | 86d83787aa577b8f2d66b5410e73102411c45e46 | [
"MIT"
] | 22 | 2018-08-07T06:55:10.000Z | 2021-06-12T02:12:19.000Z | Lydsy/P1588 [HNOI2002]营业额统计/data.cpp | Wycers/Codelib | 86d83787aa577b8f2d66b5410e73102411c45e46 | [
"MIT"
] | 28 | 2020-03-04T23:47:22.000Z | 2022-02-26T18:50:00.000Z | Lydsy/P1588 [HNOI2002]营业额统计/data.cpp | Wycers/Codelib | 86d83787aa577b8f2d66b5410e73102411c45e46 | [
"MIT"
] | 4 | 2019-11-09T15:41:26.000Z | 2021-10-10T08:56:57.000Z | #include <iostream>
#include <cstdio>
#include <algorithm>
#include <cstring>
#include <queue>
#define Clr(x, t) memset(x,t,sizeof(x))
typedef long long ll;
using namespace std;
const int N = 1e5 + 10;
const int Inf = 0x3f3f3f3f;
int read()
{
int x = 0,f = 1;char ch = getchar();
while (ch < '0' || '9' < ch) {i... | 17.857143 | 73 | 0.5232 | Wycers |
bfb4d6b6441adb106243b211ec8c6190c2ddf51e | 657 | cpp | C++ | fhq-server/src/utils/utils_static_analizing_text.cpp | MobyFS/fhq-server | aa2d8891b0c958ce74ae2a8bf2635c3683b368e0 | [
"MIT"
] | null | null | null | fhq-server/src/utils/utils_static_analizing_text.cpp | MobyFS/fhq-server | aa2d8891b0c958ce74ae2a8bf2635c3683b368e0 | [
"MIT"
] | null | null | null | fhq-server/src/utils/utils_static_analizing_text.cpp | MobyFS/fhq-server | aa2d8891b0c958ce74ae2a8bf2635c3683b368e0 | [
"MIT"
] | null | null | null | #include <utils/utils_static_analizing_text.h>
// #include <core/fallen.h>
#include <wsjcpp_core.h>
double UtilsStaticAnalizingText::calcWeightOfOneChar(int strLen) {
return 100.0/static_cast<double>(strLen);
}
std::map<char, double> UtilsStaticAnalizingText::calc(const std::string &text) {
std::map<char, doubl... | 27.375 | 80 | 0.645358 | MobyFS |
bfb4e21289f3158c867588c70d0e27e5810d8e6a | 302 | cpp | C++ | src/main.cpp | MoeidHeidari/PANN | 62bd308c08185107e8803be5ab8f09ab0f7225bb | [
"Apache-2.0"
] | 2 | 2021-01-31T23:44:54.000Z | 2021-03-15T07:27:30.000Z | src/main.cpp | MoeidHeidari/PANN | 62bd308c08185107e8803be5ab8f09ab0f7225bb | [
"Apache-2.0"
] | null | null | null | src/main.cpp | MoeidHeidari/PANN | 62bd308c08185107e8803be5ab8f09ab0f7225bb | [
"Apache-2.0"
] | null | null | null |
#include <iostream>
#include <Foundation/Types/Types.hpp>
#include <Foundation/Strings/String.hpp>
using namespace PANN::TYPES;
int main(int, char**)
{
PANN_UInt8 x='B';
PANNString str;
str.print_a_string();
std::cout << "\nHello, world!"<<x<<std::endl;
return 0;
}
| 15.1 | 49 | 0.629139 | MoeidHeidari |