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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8a8952a551dfb9ad624e5e2246991539738e0ecc | 2,604 | cxx | C++ | AD/ADrec/AliADQAParam.cxx | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | null | null | null | AD/ADrec/AliADQAParam.cxx | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 2 | 2016-11-25T08:40:56.000Z | 2019-10-11T12:29:29.000Z | AD/ADrec/AliADQAParam.cxx | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | null | null | null | /**************************************************************************
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* *
* Author: The ALICE Off-line Project. *
* Contributors ... | 30.635294 | 79 | 0.637097 | AllaMaevskaya |
8a8dd6a8b02b263970793cae231b74e58765da15 | 5,547 | cpp | C++ | Plugin/Source/AudioFeatureExtractor.cpp | eupston/Deepbox | cdb0ba9a3de3a81672a9fc3610e60da9773d9ddd | [
"MIT"
] | 4 | 2020-06-02T01:15:52.000Z | 2022-01-09T22:50:30.000Z | Plugin/Source/AudioFeatureExtractor.cpp | eupston/Deepbox | cdb0ba9a3de3a81672a9fc3610e60da9773d9ddd | [
"MIT"
] | 7 | 2020-01-28T23:13:02.000Z | 2022-02-10T00:31:03.000Z | Plugin/Source/AudioFeatureExtractor.cpp | eupston/Deepbox | cdb0ba9a3de3a81672a9fc3610e60da9773d9ddd | [
"MIT"
] | 2 | 2020-05-04T14:10:49.000Z | 2020-06-02T01:17:10.000Z | //
// AudioFeatureExtractor.cpp
// DrumPad
//
// Created by eugene upston on 8/17/19.
//
#include "AudioFeatureExtractor.hpp"
AudioFeatureExtractor::AudioFeatureExtractor(int frame_size, int hop_size, int sample_rate)
{
essentia::init();
AlgorithmFactory& factory = standard::AlgorithmFactory::instance();
... | 31.697143 | 111 | 0.647197 | eupston |
8a8fa5d0fc42b3a992a444ac8dcb44420a2cd8ac | 20,359 | cpp | C++ | language-extensions/python/test/src/PythonExecuteTests.cpp | rabryst/sql-server-language-extensions | a6a25890d1c3e449537eaaafab706c6c1e8b51cb | [
"MIT"
] | 82 | 2019-05-24T00:36:57.000Z | 2022-02-21T23:51:46.000Z | language-extensions/python/test/src/PythonExecuteTests.cpp | rabryst/sql-server-language-extensions | a6a25890d1c3e449537eaaafab706c6c1e8b51cb | [
"MIT"
] | 20 | 2019-07-05T06:12:28.000Z | 2022-03-31T20:48:30.000Z | language-extensions/python/test/src/PythonExecuteTests.cpp | rabryst/sql-server-language-extensions | a6a25890d1c3e449537eaaafab706c6c1e8b51cb | [
"MIT"
] | 35 | 2019-05-24T01:44:07.000Z | 2022-02-28T13:29:44.000Z | //*************************************************************************************************
// Copyright (C) Microsoft Corporation.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// https://www.boost.org/LICENSE_1_0.txt)
//
// @File: Pyt... | 33.37541 | 109 | 0.707599 | rabryst |
8a901568d5c97eeaf88f65673ea22adde7cd071a | 33,700 | hxx | C++ | drivers/storage/wmiprov/inc/vs_debug.hxx | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | drivers/storage/wmiprov/inc/vs_debug.hxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | drivers/storage/wmiprov/inc/vs_debug.hxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | /*++
Copyright (c) 1999 Microsoft Corporation
Module Name:
vs_debug.hxx
Abstract:
Various defines for general usage
Author:
Adi Oltean [aoltean] 07/09/1999
Revision History:
Name Date Comments
aoltean 07/09/1999 Created
aoltean 08/11/1999 A... | 34.213198 | 119 | 0.584214 | npocmaka |
8a90ed4298270d1b4f2c9bb389450478c301a050 | 407 | cpp | C++ | codes/21fall/hw02/素数和.cpp | OneForward/TACpp | 4dab30b9ac174cf1a73166ae60385377c6ad18ab | [
"MIT"
] | 7 | 2020-09-17T04:48:18.000Z | 2021-11-17T08:57:25.000Z | codes/21fall/hw02/素数和.cpp | OneForward/TACpp | 4dab30b9ac174cf1a73166ae60385377c6ad18ab | [
"MIT"
] | 1 | 2021-11-01T11:55:52.000Z | 2021-11-01T12:39:58.000Z | codes/21fall/hw02/素数和.cpp | OneForward/TACpp | 4dab30b9ac174cf1a73166ae60385377c6ad18ab | [
"MIT"
] | 8 | 2020-09-18T01:10:12.000Z | 2021-05-15T12:57:23.000Z | #include <iostream>
using namespace std;
int main()
{
int n, k;
cin >> n >> k;
int sum = 0;
for(int x = n; k and x >= 2; x--) {
bool isprime = true;
for(int i = 2; i * i <= x; i++)
if(x % i == 0) { isprime = false; break; }
if (isprime) {
k--; s... | 18.5 | 54 | 0.375921 | OneForward |
8a945dfae0f130f1327ae1476642b45a88b5c71a | 597 | hpp | C++ | include/epiworld/location-bones.hpp | gvegayon/world-epi | 197d8cc0e8fb86c06ec1ac2df6316e89d4857218 | [
"MIT"
] | null | null | null | include/epiworld/location-bones.hpp | gvegayon/world-epi | 197d8cc0e8fb86c06ec1ac2df6316e89d4857218 | [
"MIT"
] | null | null | null | include/epiworld/location-bones.hpp | gvegayon/world-epi | 197d8cc0e8fb86c06ec1ac2df6316e89d4857218 | [
"MIT"
] | null | null | null | #ifndef EPIWORLD_LOCATION_BONES_HPP
#define EPIWORLD_LOCATION_BONES_HPP
template<typename TSeq>
class Person;
template<typename TSeq>
class Location {
private:
int capacity;
std::string location_name;
int id;
std::vector< Person<TSeq> * >;
/**
* @brief Spatial location parameters
... | 15.710526 | 41 | 0.633166 | gvegayon |
8a9956eff87be835e571772d340ff7e33734c2a5 | 2,684 | cpp | C++ | jni/FPSCounter.cpp | vladiant/Android-Camera-Native-Processor | 77ed523ee2ead146cab6c2fd963d0a2982d3804f | [
"Apache-2.0"
] | 1 | 2015-08-24T01:18:54.000Z | 2015-08-24T01:18:54.000Z | jni/FPSCounter.cpp | vladiant/Android-Camera-Native-Processor | 77ed523ee2ead146cab6c2fd963d0a2982d3804f | [
"Apache-2.0"
] | null | null | null | jni/FPSCounter.cpp | vladiant/Android-Camera-Native-Processor | 77ed523ee2ead146cab6c2fd963d0a2982d3804f | [
"Apache-2.0"
] | null | null | null | #include "FPSCounter.h"
#include <time.h>
//#define DEBUG 1
#define FPSCOUNTER_LOG_TAG "QCCommon:FPSCounter"
#ifdef DEBUG
#include <android/log.h>
#define DPRINTF(...) \
__android_log_print(ANDROID_LOG_DEBUG, FPSCOUNTER_LOG_TAG, __VA_ARGS__)
#else
#define DPRINTF(...) // noop \
#endif
#define IPRINT... | 27.387755 | 81 | 0.488823 | vladiant |
8a9aa8c94318b73d946dbf800a0ef68190903bbb | 927 | cpp | C++ | cf/ac/1454C.cpp | vitorgt/problem-solving | 11fa59de808f7a113c08454b4aca68b01410892e | [
"MIT"
] | null | null | null | cf/ac/1454C.cpp | vitorgt/problem-solving | 11fa59de808f7a113c08454b4aca68b01410892e | [
"MIT"
] | null | null | null | cf/ac/1454C.cpp | vitorgt/problem-solving | 11fa59de808f7a113c08454b4aca68b01410892e | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
const int INF = 0x3f3f3f3f;
int main(int argc, const char **argv) {
std::ios::sync_with_stdio(false), cin.tie(NULL), cout.tie(NULL);
int t = 0, n = 0, a = 0, a_prev = 0, first = 0;
unordered_map<int, int> breaks;
cin >> t;
while (t--) {
break... | 21.55814 | 68 | 0.443366 | vitorgt |
8a9b291b2f30699d3bcdcdaa174f261c14649e18 | 9,635 | cpp | C++ | source/xml/XmlParser.cpp | fmidev/smartmet-plugin-wcs | 60aee4d3ef9d2bba5de44b4a871f669fc1b47d08 | [
"MIT"
] | null | null | null | source/xml/XmlParser.cpp | fmidev/smartmet-plugin-wcs | 60aee4d3ef9d2bba5de44b4a871f669fc1b47d08 | [
"MIT"
] | 8 | 2017-04-07T13:14:46.000Z | 2018-04-25T08:04:22.000Z | source/xml/XmlParser.cpp | fmidev/smartmet-plugin-wcs | 60aee4d3ef9d2bba5de44b4a871f669fc1b47d08 | [
"MIT"
] | 1 | 2017-06-03T19:07:22.000Z | 2017-06-03T19:07:22.000Z | #include "xml/XmlParser.h"
#include "xml/XmlUtils.h"
#include <boost/archive/text_iarchive.hpp>
#include <boost/archive/text_oarchive.hpp>
#include <boost/filesystem.hpp>
#include <boost/serialization/map.hpp>
#include <curl/curl.h>
#include <macgyver/TypeName.h>
#include <xercesc/framework/LocalFileInputSource.hpp>
#i... | 30.782748 | 99 | 0.677426 | fmidev |
8a9dba15b91951c2a56486d36a5d2695ef2f2944 | 244 | cpp | C++ | fillingdiamonds.cpp | AaryamanBhardwaj/Codeforces-Solutions | d33c75bfa493b16a3c1dfc67e52b578a40872199 | [
"MIT"
] | 1 | 2021-04-29T20:06:55.000Z | 2021-04-29T20:06:55.000Z | fillingdiamonds.cpp | AaryamanBhardwaj/Competitive-Programming-Solutions | d33c75bfa493b16a3c1dfc67e52b578a40872199 | [
"MIT"
] | null | null | null | fillingdiamonds.cpp | AaryamanBhardwaj/Competitive-Programming-Solutions | d33c75bfa493b16a3c1dfc67e52b578a40872199 | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
int main()
{
ios_base::sync_with_stdio;
cin.tie(NULL);
cout.tie(NULL);
int t,n;
cin>>t;
for(int i=0;i<t;i++)
{
cin>>n;
cout<<n<<endl;
}
} | 16.266667 | 31 | 0.479508 | AaryamanBhardwaj |
8a9fd895102be4df8c040ea685638f258ca9db5c | 9,535 | cc | C++ | pdf/fading_controls.cc | kjthegod/chromium | cf940f7f418436b77e15b1ea23e6fa100ca1c91a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2020-01-25T10:18:18.000Z | 2021-01-23T15:29:56.000Z | pdf/fading_controls.cc | kjthegod/chromium | cf940f7f418436b77e15b1ea23e6fa100ca1c91a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2018-02-10T21:00:08.000Z | 2018-03-20T05:09:50.000Z | pdf/fading_controls.cc | kjthegod/chromium | cf940f7f418436b77e15b1ea23e6fa100ca1c91a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2015-03-27T11:15:39.000Z | 2016-08-17T14:19:56.000Z | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "pdf/fading_controls.h"
#include "base/logging.h"
#include "base/stl_util.h"
#include "pdf/draw_utils.h"
#include "pdf/resource_consts.h"
#i... | 30.078864 | 78 | 0.684636 | kjthegod |
8aa27cdb4afdade9c5a921ddd8fcc678afff5575 | 8,236 | cpp | C++ | src/Services/RenderService/DecoderRenderImageLoader.cpp | irov/Mengine | b76e9f8037325dd826d4f2f17893ac2b236edad8 | [
"MIT"
] | 39 | 2016-04-21T03:25:26.000Z | 2022-01-19T14:16:38.000Z | src/Services/RenderService/DecoderRenderImageLoader.cpp | irov/Mengine | b76e9f8037325dd826d4f2f17893ac2b236edad8 | [
"MIT"
] | 23 | 2016-06-28T13:03:17.000Z | 2022-02-02T10:11:54.000Z | src/Services/RenderService/DecoderRenderImageLoader.cpp | irov/Mengine | b76e9f8037325dd826d4f2f17893ac2b236edad8 | [
"MIT"
] | 14 | 2016-06-22T20:45:37.000Z | 2021-07-05T12:25:19.000Z | #include "DecoderRenderImageLoader.h"
#include "Interface/PrefetcherServiceInterface.h"
#include "Interface/CodecServiceInterface.h"
#include "Interface/MemoryServiceInterface.h"
#include "Kernel/Logger.h"
#include "Kernel/DocumentHelper.h"
#include "Kernel/FileStreamHelper.h"
#include "Kernel/Assertion.h"
#include "... | 35.65368 | 184 | 0.559131 | irov |
8aa7eecdf7aa3e3c789ce373d12c8ee96817582e | 6,468 | cpp | C++ | Solution/RTS Group Movement/RTS Group Movement/CritterSheep.cpp | Sandruski/RTS-Group-Movement | d0a5985b2e9780963784a67d8a97ce09d1b38f34 | [
"MIT"
] | 18 | 2018-11-28T03:14:22.000Z | 2022-01-26T05:37:01.000Z | Solution/RTS Group Movement/RTS Group Movement/CritterSheep.cpp | Sandruski/RTS-Group-Movement | d0a5985b2e9780963784a67d8a97ce09d1b38f34 | [
"MIT"
] | null | null | null | Solution/RTS Group Movement/RTS Group Movement/CritterSheep.cpp | Sandruski/RTS-Group-Movement | d0a5985b2e9780963784a67d8a97ce09d1b38f34 | [
"MIT"
] | 5 | 2018-04-07T11:02:12.000Z | 2021-03-18T08:46:46.000Z | #include "Defs.h"
#include "p2Log.h"
#include "CritterSheep.h"
#include "j1App.h"
#include "j1Render.h"
#include "j1Collision.h"
#include "j1Particles.h"
#include "j1Map.h"
#include "j1Pathfinding.h"
#include "j1EntityFactory.h"
#include "j1Movement.h"
#include "j1PathManager.h"
#include "Goal.h"
#include "j1Scene.h... | 22.615385 | 238 | 0.685838 | Sandruski |
8aa9442dbe4ad7567dfaa52eeea232c5bd38278f | 8,741 | cpp | C++ | lib/api/CorrelationVector.cpp | lulululululu/cpp_client_telemetry | 211acc586225d3f030fbf8bee016c4ab48e1c96a | [
"Apache-2.0"
] | 1 | 2021-04-27T12:54:48.000Z | 2021-04-27T12:54:48.000Z | lib/api/CorrelationVector.cpp | lulululululu/cpp_client_telemetry | 211acc586225d3f030fbf8bee016c4ab48e1c96a | [
"Apache-2.0"
] | 1 | 2021-03-03T11:37:10.000Z | 2021-03-03T11:37:10.000Z | lib/api/CorrelationVector.cpp | isabella232/cpp_client_telemetry | 46a7d65089799c216207ae4758980158affced47 | [
"Apache-2.0"
] | null | null | null | //
// Copyright (c) 2015-2020 Microsoft Corporation and Contributors.
// SPDX-License-Identifier: Apache-2.0
//
#include "CorrelationVector.hpp"
#include "utils/StringUtils.hpp" // for SplitString and AreAllCharactersWhitelisted
#include <vector>
#include <random>
#include <limits>
using std::string;
using std::mutex... | 26.812883 | 123 | 0.534493 | lulululululu |
8aac52f4140b0956ea099c9c6df0d59fb4333113 | 7,572 | hpp | C++ | include/MAS.hpp | arqueffe/cmapf-solver | 30f38f72ae278bdc6ca5cc6efc8cd53dbf13f119 | [
"MIT"
] | null | null | null | include/MAS.hpp | arqueffe/cmapf-solver | 30f38f72ae278bdc6ca5cc6efc8cd53dbf13f119 | [
"MIT"
] | 1 | 2021-07-29T15:13:42.000Z | 2021-07-29T15:13:42.000Z | include/MAS.hpp | arqueffe/cmapf-solver | 30f38f72ae278bdc6ca5cc6efc8cd53dbf13f119 | [
"MIT"
] | null | null | null | /* Copyright (c) 2021 Arthur Queffelec
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, ... | 37.86 | 120 | 0.612388 | arqueffe |
8aad8ca5d1849658a70c74ae1cc57250cc6efad7 | 3,350 | cpp | C++ | test/unit/testEkf.cpp | tmcg0/bioslam | d59f07733cb3a9a1de8e6dea4b1fb745d706da09 | [
"MIT"
] | 6 | 2021-01-26T19:31:46.000Z | 2022-03-10T15:33:49.000Z | test/unit/testEkf.cpp | tmcg0/bioslam | d59f07733cb3a9a1de8e6dea4b1fb745d706da09 | [
"MIT"
] | 8 | 2021-01-26T16:12:22.000Z | 2021-08-12T18:39:36.000Z | test/unit/testEkf.cpp | tmcg0/bioslam | d59f07733cb3a9a1de8e6dea4b1fb745d706da09 | [
"MIT"
] | 1 | 2021-05-02T18:47:42.000Z | 2021-05-02T18:47:42.000Z | // -------------------------------------------------------------------- //
// (c) Copyright 2021 Massachusetts Institute of Technology //
// Author: Tim McGrath //
// All rights reserved. See LICENSE file for license information. //
// -----------------... | 53.174603 | 207 | 0.61791 | tmcg0 |
8aae41844ee5e21fe31f4a1c2e2131d05b24499d | 4,686 | cpp | C++ | shaders/src/sib_color_hls_adjust.cpp | caron/sitoa | 52a0a4b35f51bccb6223a8206d04b40edc80071c | [
"Apache-2.0"
] | 34 | 2018-02-01T16:13:48.000Z | 2021-07-16T07:37:47.000Z | shaders/src/sib_color_hls_adjust.cpp | 625002974/sitoa | 46b7de8e3cf2e2c4cbc6bc391f11181cbac1a589 | [
"Apache-2.0"
] | 72 | 2018-02-16T17:30:41.000Z | 2021-11-22T11:41:45.000Z | shaders/src/sib_color_hls_adjust.cpp | 625002974/sitoa | 46b7de8e3cf2e2c4cbc6bc391f11181cbac1a589 | [
"Apache-2.0"
] | 15 | 2018-02-15T15:36:58.000Z | 2021-04-14T03:54:25.000Z | /************************************************************************************************************************************
Copyright 2017 Autodesk, 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 ... | 28.748466 | 134 | 0.611182 | caron |
8ab2382789f1721c8ec390d4be91264673489863 | 2,231 | cpp | C++ | src/Graph/Graph.cpp | Fra98/graph-coloring | c7773cf092687f73f0469bb5bc57af4506e4ce1b | [
"MIT"
] | null | null | null | src/Graph/Graph.cpp | Fra98/graph-coloring | c7773cf092687f73f0469bb5bc57af4506e4ce1b | [
"MIT"
] | null | null | null | src/Graph/Graph.cpp | Fra98/graph-coloring | c7773cf092687f73f0469bb5bc57af4506e4ce1b | [
"MIT"
] | null | null | null | #include "Graph.h"
Graph::Graph(int V, int E) : V(V), E(E) {
_vertices.reserve(V);
for(int i=0; i<V; i++)
_vertices.emplace_back(Vertex{i});
}
unsigned int Graph::getV() const {
return V;
}
unsigned int Graph::getE() const {
return E;
}
std::vector<Vertex> &Graph::getVertices(){
return _... | 20.46789 | 60 | 0.544151 | Fra98 |
8ab23b0cdc6b4efac8499f43265a76b33cf15f04 | 4,638 | cpp | C++ | SGPLibraryCode/modules/sgp_core/common/sgp_Colour.cpp | phoenixzz/VoronoiMapGen | 5afd852f8bb0212baba9d849178eb135f62df903 | [
"MIT"
] | 11 | 2017-03-03T03:31:15.000Z | 2019-03-01T17:09:12.000Z | SGPLibraryCode/modules/sgp_core/common/sgp_Colour.cpp | phoenixzz/VoronoiMapGen | 5afd852f8bb0212baba9d849178eb135f62df903 | [
"MIT"
] | null | null | null | SGPLibraryCode/modules/sgp_core/common/sgp_Colour.cpp | phoenixzz/VoronoiMapGen | 5afd852f8bb0212baba9d849178eb135f62df903 | [
"MIT"
] | 2 | 2017-03-03T03:31:17.000Z | 2021-05-27T21:50:43.000Z | namespace ColourHelpers
{
static uint8 floatToUInt8 (const float n) noexcept
{
return n <= 0.0f ? 0 : (n >= 1.0f ? 255 : (uint8) (n * 255.0f));
}
}
Colour BLACKCOLOR(0,0,0);
Colour WHITECOLOR(255,255,255);
Colour REDCOLOR(255,0,0);
Colour GREENCOLOR(0,255,0);
Colour BLUECOLOR(0,0,255);
//=========... | 28.109091 | 138 | 0.614489 | phoenixzz |
8ab4082a9063f74963159b25e5eb8dd16bab086c | 21,375 | hpp | C++ | Nostra Utils/src/header/nostrautils/core/StdIncludes.hpp | Lehks/NostraUtils | ef1b2d492a1358775752a2a7621c714d86bf96b2 | [
"MIT"
] | 10 | 2018-01-07T01:00:11.000Z | 2021-09-16T14:08:45.000Z | NostraUtils/Nostra Utils/src/header/nostrautils/core/StdIncludes.hpp | Lehks/NostraEngine | 0d610dcd97ba482fd8f183795140c38728c3a6b3 | [
"MIT"
] | 107 | 2018-04-06T10:15:47.000Z | 2018-09-28T07:13:46.000Z | NostraUtils/Nostra Utils/src/header/nostrautils/core/StdIncludes.hpp | Lehks/NostraEngine | 0d610dcd97ba482fd8f183795140c38728c3a6b3 | [
"MIT"
] | null | null | null | #ifndef NOU_CORE_STD_INCLUDES_HPP
#define NOU_CORE_STD_INCLUDES_HPP
#include <cstddef>
#include <cstdint>
#include <type_traits>
#if __has_include("Config.hpp")
#include "Config.hpp"
#endif
/**
\file core/StdIncludes.hpp
\author Lukas Reichmann
\version 1.0.1
\since 1.0.0
\brief A file that should be included i... | 25.753012 | 110 | 0.744281 | Lehks |
8abc3b2e3c04cf48acc8604ab6b46f44a727dab2 | 4,138 | cpp | C++ | source/og-core/math/ConvexHull.cpp | OpenWebGlobe/Application-SDK | b819ca8ccb44b70815f6c5332cfb041ea23dab61 | [
"MIT"
] | 4 | 2015-12-20T01:38:05.000Z | 2019-07-02T11:01:29.000Z | source/og-core/math/ConvexHull.cpp | OpenWebGlobe/Application-SDK | b819ca8ccb44b70815f6c5332cfb041ea23dab61 | [
"MIT"
] | null | null | null | source/og-core/math/ConvexHull.cpp | OpenWebGlobe/Application-SDK | b819ca8ccb44b70815f6c5332cfb041ea23dab61 | [
"MIT"
] | 6 | 2015-01-20T09:18:39.000Z | 2021-02-06T08:19:30.000Z | /*******************************************************************************
Project : foundation
Purpose : compute convex hull using graham scan.
Creation Date : 16.1.2009
Author : Martin Christen
Copyright : This source code file is copyright (c) FHNW 2009
**********************************... | 25.078788 | 107 | 0.483084 | OpenWebGlobe |
8ac793e44e8e8d4225e2a0c34ac3e03107361623 | 3,563 | cc | C++ | src/common_audio/vad/main/test/unit_test/unit_test.cc | freedesktop-unofficial-mirror/pulseaudio__webrtc-audio-processing | 9413986e79cf01958ee6dfb95a89de0d71a44221 | [
"BSD-3-Clause"
] | 3 | 2015-08-31T15:24:31.000Z | 2020-04-24T20:31:29.000Z | src/common_audio/vad/main/test/unit_test/unit_test.cc | freedesktop-unofficial-mirror/pulseaudio__webrtc-audio-processing | 9413986e79cf01958ee6dfb95a89de0d71a44221 | [
"BSD-3-Clause"
] | null | null | null | src/common_audio/vad/main/test/unit_test/unit_test.cc | freedesktop-unofficial-mirror/pulseaudio__webrtc-audio-processing | 9413986e79cf01958ee6dfb95a89de0d71a44221 | [
"BSD-3-Clause"
] | 5 | 2015-10-30T17:35:19.000Z | 2021-06-04T01:39:27.000Z | /*
* Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | 28.733871 | 94 | 0.615212 | freedesktop-unofficial-mirror |
8ac9405fe0d63a0013f2279d0aa7667fec81f3d8 | 13,292 | cpp | C++ | DBProCompiler/DBPCompiler/StructTable.cpp | domydev/Dark-Basic-Pro | 237fd8d859782cb27b9d5994f3c34bc5372b6c04 | [
"MIT"
] | 231 | 2018-01-28T00:06:56.000Z | 2022-03-31T21:39:56.000Z | DBProCompiler/DBPCompiler/StructTable.cpp | domydev/Dark-Basic-Pro | 237fd8d859782cb27b9d5994f3c34bc5372b6c04 | [
"MIT"
] | 9 | 2016-02-10T10:46:16.000Z | 2017-12-06T17:27:51.000Z | DBProCompiler/DBPCompiler/StructTable.cpp | domydev/Dark-Basic-Pro | 237fd8d859782cb27b9d5994f3c34bc5372b6c04 | [
"MIT"
] | 66 | 2018-01-28T21:54:52.000Z | 2022-02-16T22:50:57.000Z | // StructTable.cpp: implementation of the CStructTable class.
//
//////////////////////////////////////////////////////////////////////
// Common Includes
#define _CRT_SECURE_NO_DEPRECATE
#pragma warning(disable : 4996)
#include "StructTable.h"
// Special access to global pointer to struct table (so can do full scan)... | 24.167273 | 220 | 0.68703 | domydev |
8acc45474017e9ba601ad3c32c234ded9cf26a09 | 3,163 | hpp | C++ | Examples/OpcPlcManager/src/OpcPlcManagerComponent.hpp | Siddu96/CppExamples | 7b890a7e387a6a1504982f610f8a886312d49854 | [
"MIT"
] | 18 | 2019-02-22T14:24:19.000Z | 2022-01-24T12:41:41.000Z | Examples/OpcPlcManager/src/OpcPlcManagerComponent.hpp | Siddu96/CppExamples | 7b890a7e387a6a1504982f610f8a886312d49854 | [
"MIT"
] | 25 | 2019-06-12T12:20:38.000Z | 2022-02-09T07:57:28.000Z | Examples/OpcPlcManager/src/OpcPlcManagerComponent.hpp | Siddu96/CppExamples | 7b890a7e387a6a1504982f610f8a886312d49854 | [
"MIT"
] | 18 | 2019-03-14T08:41:33.000Z | 2022-01-27T01:36:18.000Z | #pragma once
#include "Arp/System/Core/Arp.h"
#include "Arp/System/Acf/ComponentBase.hpp"
#include "Arp/System/Acf/IApplication.hpp"
#include "Arp/Plc/Commons/Meta/MetaComponentBase.hpp"
#include "Arp/System/Commons/Logging.h"
#include "Arp/System/Commons/Threading/WorkerThread.hpp"
#include "Arp/Plc/Domain/Services/I... | 27.99115 | 119 | 0.69902 | Siddu96 |
8ace25887d25917d2cdfb7b38d3adfc887ad773d | 2,611 | cpp | C++ | tsplp/src/LinearVariableComposition.cpp | sebrockm/mtsp-vrp | 28955855d253f51fcb9397a0b22c6774f66f8d55 | [
"MIT"
] | null | null | null | tsplp/src/LinearVariableComposition.cpp | sebrockm/mtsp-vrp | 28955855d253f51fcb9397a0b22c6774f66f8d55 | [
"MIT"
] | null | null | null | tsplp/src/LinearVariableComposition.cpp | sebrockm/mtsp-vrp | 28955855d253f51fcb9397a0b22c6774f66f8d55 | [
"MIT"
] | null | null | null | #include "LinearVariableComposition.hpp"
#include "Variable.hpp"
#include <algorithm>
tsplp::LinearVariableComposition tsplp::operator*(double factor, LinearVariableComposition linearComp)
{
for (auto& coef : linearComp.m_coefficients)
coef *= factor;
linearComp.m_constant *= factor;
return line... | 30.011494 | 127 | 0.695136 | sebrockm |
8acfa0924b6d75af5d6a02806fa3522c2625cab5 | 12,242 | cpp | C++ | src/linereader.cpp | px86/hush | a8837bd99799757395417cf2ec48ebf56107b145 | [
"MIT"
] | null | null | null | src/linereader.cpp | px86/hush | a8837bd99799757395417cf2ec48ebf56107b145 | [
"MIT"
] | 2 | 2022-02-28T05:24:22.000Z | 2022-02-28T06:38:46.000Z | src/linereader.cpp | px86/hush | a8837bd99799757395417cf2ec48ebf56107b145 | [
"MIT"
] | null | null | null | #include <cctype>
#include <fstream>
#include <iostream>
#include <string>
#include <sys/ioctl.h>
#include <unistd.h>
#include "linereader.hpp"
// Word delimeters
const char *delimeters = " \t\n:-_'\"()[]{}";
TermHandle::TermHandle()
{
m_raw_mode_enabled = false;
// Save default termios.
if (tcgetattr(STDIN_F... | 26.440605 | 88 | 0.611746 | px86 |
8ad24bf0de4c4a683c9d6568ba43b091a7658883 | 3,500 | cpp | C++ | tests/operators/glob.cpp | shlyamster/sqlite_orm | a6c07b588a173f93c9a818371dd07c199442791d | [
"BSD-3-Clause"
] | 1 | 2021-12-27T15:23:13.000Z | 2021-12-27T15:23:13.000Z | tests/operators/glob.cpp | shlyamster/sqlite_orm | a6c07b588a173f93c9a818371dd07c199442791d | [
"BSD-3-Clause"
] | null | null | null | tests/operators/glob.cpp | shlyamster/sqlite_orm | a6c07b588a173f93c9a818371dd07c199442791d | [
"BSD-3-Clause"
] | null | null | null | /**
* Obtained from here https://www.tutlane.com/tutorial/sqlite/sqlite-glob-operator
*/
#include <sqlite_orm/sqlite_orm.h>
#include <catch2/catch.hpp>
#include <vector> // std::vector
#include <algorithm> // std::find_if, std::count
using namespace sqlite_orm;
TEST_CASE("Glob") {
struct Employee {
... | 39.325843 | 112 | 0.542 | shlyamster |
e9d732db267539b08f646e55fea4cf543af7a048 | 1,785 | cc | C++ | daemon/cmdline.cc | BenHuddleston/kv_engine | 78123c9aa2c2feb24b7c31eecc862bf2ed6325e4 | [
"MIT",
"BSD-3-Clause"
] | 104 | 2017-05-22T20:41:57.000Z | 2022-03-24T00:18:34.000Z | daemon/cmdline.cc | BenHuddleston/kv_engine | 78123c9aa2c2feb24b7c31eecc862bf2ed6325e4 | [
"MIT",
"BSD-3-Clause"
] | 3 | 2017-11-14T08:12:46.000Z | 2022-03-03T11:14:17.000Z | daemon/cmdline.cc | BenHuddleston/kv_engine | 78123c9aa2c2feb24b7c31eecc862bf2ed6325e4 | [
"MIT",
"BSD-3-Clause"
] | 71 | 2017-05-22T20:41:59.000Z | 2022-03-29T10:34:32.000Z | /*
* Copyright 2021-Present Couchbase, Inc.
*
* Use of this software is governed by the Business Source License included
* in the file licenses/BSL-Couchbase.txt. As of the Change Date specified
* in that file, in accordance with the Business Source License, use of this
* software will be governed by... | 25.869565 | 78 | 0.594398 | BenHuddleston |
e9d89881e76248c58c7aaedebc10be0c0534fc2e | 934 | cpp | C++ | LiberoEngine/src/IComponent.cpp | Kair0z/LiberoEngine2D | 79fb93d7bbb5f5e6b805da6826c64ffa520989c3 | [
"MIT"
] | null | null | null | LiberoEngine/src/IComponent.cpp | Kair0z/LiberoEngine2D | 79fb93d7bbb5f5e6b805da6826c64ffa520989c3 | [
"MIT"
] | null | null | null | LiberoEngine/src/IComponent.cpp | Kair0z/LiberoEngine2D | 79fb93d7bbb5f5e6b805da6826c64ffa520989c3 | [
"MIT"
] | null | null | null | #include "PCH.h"
#include "IComponent.h"
#include "LiberoECS_EntityMaster.h"
namespace Libero
{
const ComponentID IComponent::GetID() const
{
return m_ID;
}
const EntityID IComponent::GetOwner() const
{
return m_Owner;
}
IEntity* IComponent::GetOwnerEntity() const
{
if (!m_pEntityMasterRef) return nullp... | 17.622642 | 65 | 0.687366 | Kair0z |
e9defe1ad3ba9ffbca335060dec63dec5ac82040 | 1,671 | cpp | C++ | demboyz/netmessages/svc_getcvarvalue.cpp | juniorsgithub/demboyz | 73ba4f105e5670ab07334e867a3f57fb1de2ff55 | [
"MIT"
] | 42 | 2015-09-24T01:14:26.000Z | 2021-12-25T14:28:40.000Z | demboyz/netmessages/svc_getcvarvalue.cpp | juniorsgithub/demboyz | 73ba4f105e5670ab07334e867a3f57fb1de2ff55 | [
"MIT"
] | 3 | 2015-10-11T17:51:07.000Z | 2018-07-14T01:04:05.000Z | demboyz/netmessages/svc_getcvarvalue.cpp | juniorsgithub/demboyz | 73ba4f105e5670ab07334e867a3f57fb1de2ff55 | [
"MIT"
] | 12 | 2015-07-16T02:26:34.000Z | 2021-09-13T23:29:36.000Z |
#include "svc_getcvarvalue.h"
#include "base/bitfile.h"
#include "base/jsonfile.h"
namespace NetHandlers
{
bool SVC_GetCvarValue_BitRead_Internal(BitRead& bitbuf, SourceGameContext& context, NetMsg::SVC_GetCvarValue* data)
{
data->cookie = bitbuf.ReadSBitLong(32);
bitbuf.ReadString(data->cvarN... | 35.553191 | 130 | 0.681029 | juniorsgithub |
e9e063d717b44e77c25c9861ddaa856f0258c513 | 768 | cpp | C++ | source/circle.cpp | Vani4ka/programmiersprachen_aufgabenblatt_4 | f1171f2c274f2d503691932a20fd0a31bc2f6ded | [
"MIT"
] | null | null | null | source/circle.cpp | Vani4ka/programmiersprachen_aufgabenblatt_4 | f1171f2c274f2d503691932a20fd0a31bc2f6ded | [
"MIT"
] | null | null | null | source/circle.cpp | Vani4ka/programmiersprachen_aufgabenblatt_4 | f1171f2c274f2d503691932a20fd0a31bc2f6ded | [
"MIT"
] | null | null | null | #include <iostream>
#include "circle.hpp"
#include <math.h>
#include <cmath>
Circle::Circle(Vec2 const& c, float r):
center_{c},
radius_{r},
color_{{0.0}}
{}
Circle::Circle(Vec2 const& c, float r, Color const& col):
center_{c},
radius_{r},
color_{col}
{}
Vec2 Circle::getCenter() const {
return center_;
}
float Cir... | 17.066667 | 57 | 0.66276 | Vani4ka |
e9e254b9a80e5608f03e319cceb11e38dedd2cdb | 7,869 | hpp | C++ | src/include/libmath/CVector2.hpp | pedrospeixoto/sweet | 224248181e92615467c94b4e163596017811b5eb | [
"MIT"
] | null | null | null | src/include/libmath/CVector2.hpp | pedrospeixoto/sweet | 224248181e92615467c94b4e163596017811b5eb | [
"MIT"
] | null | null | null | src/include/libmath/CVector2.hpp | pedrospeixoto/sweet | 224248181e92615467c94b4e163596017811b5eb | [
"MIT"
] | 1 | 2019-03-27T01:17:59.000Z | 2019-03-27T01:17:59.000Z | /*
* Copyright 2010 Martin Schreiber
*
* 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 agree... | 26.674576 | 118 | 0.617868 | pedrospeixoto |
e9e4e388634e975ce798ef203d17f703330834ee | 2,061 | hpp | C++ | include/wui/theme/theme_impl.hpp | ud84/wui | 354260df9882c3e582c2a337a4bbb8be6e030e13 | [
"BSL-1.0"
] | 1 | 2021-12-18T16:38:30.000Z | 2021-12-18T16:38:30.000Z | include/wui/theme/theme_impl.hpp | ud84/wui | 354260df9882c3e582c2a337a4bbb8be6e030e13 | [
"BSL-1.0"
] | null | null | null | include/wui/theme/theme_impl.hpp | ud84/wui | 354260df9882c3e582c2a337a4bbb8be6e030e13 | [
"BSL-1.0"
] | null | null | null | //
// Copyright (c) 2021-2022 Anton Golovkov (udattsk at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
// Official repository: https://github.com/ud84/wui
//
#pragma once
#include <wui/theme... | 31.707692 | 106 | 0.716157 | ud84 |
e9e5000faa8a69367e000cbb2c571573836a9eda | 1,179 | cpp | C++ | 30.substring-with-concatenation-of-all-words.161398902.ac.cpp | blossom2017/Leetcode | 8bcfc2d5eeb344a1489b0d84a9a81a9f5d61281b | [
"Apache-2.0"
] | null | null | null | 30.substring-with-concatenation-of-all-words.161398902.ac.cpp | blossom2017/Leetcode | 8bcfc2d5eeb344a1489b0d84a9a81a9f5d61281b | [
"Apache-2.0"
] | null | null | null | 30.substring-with-concatenation-of-all-words.161398902.ac.cpp | blossom2017/Leetcode | 8bcfc2d5eeb344a1489b0d84a9a81a9f5d61281b | [
"Apache-2.0"
] | null | null | null | class Solution {
public:
vector<int> findSubstring(string s, vector<string>& words) {
vector<int> ans;
if(s.length()==0||words.size()==0)return ans;
int len = words[0].length();
unordered_map<string,int>mp;
for(int i=0;i<words.size();i++)mp[words[i]]++;
... | 24.5625 | 64 | 0.336726 | blossom2017 |
e9e62f7c86944755dd76b27b8f9776653deb0b4c | 4,630 | cpp | C++ | SharedMemory_ut.cpp | jfern2011/SharedMemory | 4b481b437159b6832c3095b49a182088e801cb74 | [
"MIT"
] | null | null | null | SharedMemory_ut.cpp | jfern2011/SharedMemory | 4b481b437159b6832c3095b49a182088e801cb74 | [
"MIT"
] | null | null | null | SharedMemory_ut.cpp | jfern2011/SharedMemory | 4b481b437159b6832c3095b49a182088e801cb74 | [
"MIT"
] | null | null | null | #include <csignal>
#include <cstdlib>
#include <iostream>
#include <utility>
#include <vector>
#include "util.h"
#include "SharedMemory.h"
bool sigint_raised = false;
void sig_hander(int num)
{
std::printf("caught signal [%d]. exiting...\n", num);
std::fflush(stdout);
sigint_raised = true;
}
namespace SharedMe... | 17.471698 | 58 | 0.534125 | jfern2011 |
e9e702d3b43f911b547cbb1a5951222ae323cc31 | 645 | cpp | C++ | 1400/50/1459a.cpp | actium/cf | d7be128c3a9adb014a231a399f1c5f19e1ab2a38 | [
"Unlicense"
] | 1 | 2020-07-03T15:55:52.000Z | 2020-07-03T15:55:52.000Z | 1400/50/1459a.cpp | actium/cf | d7be128c3a9adb014a231a399f1c5f19e1ab2a38 | [
"Unlicense"
] | null | null | null | 1400/50/1459a.cpp | actium/cf | d7be128c3a9adb014a231a399f1c5f19e1ab2a38 | [
"Unlicense"
] | 3 | 2020-10-01T14:55:28.000Z | 2021-07-11T11:33:58.000Z | #include <iostream>
#include <string>
void answer(size_t v)
{
constexpr const char* s[3] = { "EQUAL", "BLUE", "RED" };
std::cout << s[v] << '\n';
}
void solve(const std::string& r, const std::string& b)
{
const size_t n = r.length();
unsigned kr = 0, kb = 0;
for (size_t i = 0; i < n; ++i) {
... | 14.333333 | 60 | 0.458915 | actium |
e9e73ca68e2ef65353fe7064e6924ac6922d4f7f | 308 | cpp | C++ | PacManController/src/keyboard/IKBCommandManager.cpp | BeardedPlatypus/PacMan | 319e9776582cf9118b38c72d31855fb4c598e986 | [
"MIT"
] | 5 | 2019-12-23T22:45:46.000Z | 2021-11-11T06:27:12.000Z | PacManController/src/keyboard/IKBCommandManager.cpp | BeardedPlatypus/PacMan | 319e9776582cf9118b38c72d31855fb4c598e986 | [
"MIT"
] | null | null | null | PacManController/src/keyboard/IKBCommandManager.cpp | BeardedPlatypus/PacMan | 319e9776582cf9118b38c72d31855fb4c598e986 | [
"MIT"
] | 1 | 2021-11-11T06:27:14.000Z | 2021-11-11T06:27:14.000Z | #include "stdafx.h"
#include "keyboard/IKBCommandManager.h"
#include "keyboard/KBCommandManager.h"
namespace pacman {
namespace controller {
namespace keyboard {
std::unique_ptr<IKeyboardCommandManager> IKeyboardCommandManager::Construct() {
return std::make_unique<KeyboardCommandManager>();
}
}
}
}
| 17.111111 | 79 | 0.779221 | BeardedPlatypus |
e9e9385a5a8431fa61ce9b7951c11f58af218a45 | 22,672 | cpp | C++ | nfc/src/DOOM/neo/renderer/RenderWorld_defs.cpp | 1337programming/leviathan | ca9a31b45c25fd23f361d67136ae5ac6b98d2628 | [
"Apache-2.0"
] | null | null | null | nfc/src/DOOM/neo/renderer/RenderWorld_defs.cpp | 1337programming/leviathan | ca9a31b45c25fd23f361d67136ae5ac6b98d2628 | [
"Apache-2.0"
] | null | null | null | nfc/src/DOOM/neo/renderer/RenderWorld_defs.cpp | 1337programming/leviathan | ca9a31b45c25fd23f361d67136ae5ac6b98d2628 | [
"Apache-2.0"
] | null | null | null | /*
===========================================================================
Doom 3 BFG Edition GPL Source Code
Copyright (C) 1993-2012 id Software LLC, a ZeniMax Media company.
This file is part of the Doom 3 BFG Edition GPL Source Code ("Doom 3 BFG Edition Source Code").
Doom 3 BFG Edition Source Code is free... | 32.067893 | 366 | 0.663065 | 1337programming |
e9edde5b50c9f3d89fa09922086f558dba2df378 | 645 | cpp | C++ | atcoder/abc089_c.cpp | Doarakko/competitive-programming | 5ae78c501664af08a3f16c81dbd54c68310adec8 | [
"MIT"
] | 1 | 2017-07-11T16:47:29.000Z | 2017-07-11T16:47:29.000Z | atcoder/abc089_c.cpp | Doarakko/Competitive-Programming | 10642a4bd7266c828dd2fc6e311284e86bdf2968 | [
"MIT"
] | 1 | 2021-02-07T09:10:26.000Z | 2021-02-07T09:10:26.000Z | atcoder/abc089_c.cpp | Doarakko/Competitive-Programming | 10642a4bd7266c828dd2fc6e311284e86bdf2968 | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int main(int argc, const char * argv[]) {
int N;
cin >> N;
char c;
int a[4] = {0, 0, 0, 0};
for (int i = 0; i < N; i++) {
cin >> c;
if (c == 'P') {
a[0] = 1;
}else if (c == 'W'){
a[1] = 1;
}else if (c ==... | 19.545455 | 41 | 0.316279 | Doarakko |
e9ef30d7bda6a42370f3d1d7ad244e0675ef01ec | 129 | cpp | C++ | lib/3d/blanks/SetBndValues.cpp | dcseal/finess | 766e583ae9e84480640c7c3b3c157bf40ab87fe4 | [
"BSD-3-Clause"
] | null | null | null | lib/3d/blanks/SetBndValues.cpp | dcseal/finess | 766e583ae9e84480640c7c3b3c157bf40ab87fe4 | [
"BSD-3-Clause"
] | null | null | null | lib/3d/blanks/SetBndValues.cpp | dcseal/finess | 766e583ae9e84480640c7c3b3c157bf40ab87fe4 | [
"BSD-3-Clause"
] | null | null | null | #include "tensors.h"
// Periodic boundary conditions
void SetBndValues(const dTensor2& node, dTensorBC3& aux, dTensorBC3& q)
{}
| 21.5 | 71 | 0.75969 | dcseal |
e9ef881c8e5e58f168fe21988c1c3f1530fcdc88 | 13,862 | cc | C++ | util/ssc_planner/src/ssc_planner/ssc_visualizer.cc | GallopWind/epsilon-learn | 74dc723fbc9797f3bd05bee30f6f9b9acceeec17 | [
"MIT"
] | 186 | 2020-09-22T10:57:57.000Z | 2022-03-30T15:52:15.000Z | util/ssc_planner/src/ssc_planner/ssc_visualizer.cc | Yufei-Wei/EPSILON | 155f1b1c4dae3ae29287d5b0b967d7d6ce230c73 | [
"MIT"
] | 16 | 2020-10-19T02:55:49.000Z | 2022-01-14T08:17:06.000Z | util/ssc_planner/src/ssc_planner/ssc_visualizer.cc | Yufei-Wei/EPSILON | 155f1b1c4dae3ae29287d5b0b967d7d6ce230c73 | [
"MIT"
] | 66 | 2020-09-28T01:51:57.000Z | 2022-03-25T08:39:04.000Z | /**
* @file ssc_visualizer.cc
* @author HKUST Aerial Robotics Group
* @brief implementation for ssc visualizer
* @version 0.1
* @date 2019-02
* @copyright Copyright (c) 2019
*/
#include "ssc_planner/ssc_visualizer.h"
namespace planning {
SscVisualizer::SscVisualizer(ros::NodeHandle nh, int node_id)
: nh_(... | 42.391437 | 80 | 0.65171 | GallopWind |
e9f04c5099fe4f84319edcfc163033dcf4bf189d | 11,669 | cpp | C++ | tests/Move_strategies_test.cpp | mjcaisse/CDT-plusplus | fa11dd19c806a96afbb48e406234e82cae62029a | [
"BSD-3-Clause"
] | null | null | null | tests/Move_strategies_test.cpp | mjcaisse/CDT-plusplus | fa11dd19c806a96afbb48e406234e82cae62029a | [
"BSD-3-Clause"
] | null | null | null | tests/Move_strategies_test.cpp | mjcaisse/CDT-plusplus | fa11dd19c806a96afbb48e406234e82cae62029a | [
"BSD-3-Clause"
] | null | null | null | /// Causal Dynamical Triangulations in C++ using CGAL
///
/// Copyright © 2015-2020 Adam Getchell
///
/// Checks that Metropolis algorithm runs properly.
/// @file Move_strategies_test.cpp
/// @brief Tests for the Metropolis-Hastings algorithm
/// @author Adam Getchell
#include "Move_always.hpp"
//#include "Metropoli... | 41.675 | 80 | 0.607421 | mjcaisse |
e9f07ad42638a0b2200c97f2c529c0caac914fd2 | 2,477 | cpp | C++ | mysql-server/storage/ndb/src/ndbapi/Ndberr.cpp | silenc3502/MYSQL-Arch-Doc-Summary | fcc6bb65f72a385b9f56debc9b2c00cee5914bae | [
"MIT"
] | null | null | null | mysql-server/storage/ndb/src/ndbapi/Ndberr.cpp | silenc3502/MYSQL-Arch-Doc-Summary | fcc6bb65f72a385b9f56debc9b2c00cee5914bae | [
"MIT"
] | null | null | null | mysql-server/storage/ndb/src/ndbapi/Ndberr.cpp | silenc3502/MYSQL-Arch-Doc-Summary | fcc6bb65f72a385b9f56debc9b2c00cee5914bae | [
"MIT"
] | null | null | null | /*
Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License, version 2.0,
as published by the Free Software Foundation.
This program is also distributed with cer... | 22.116071 | 79 | 0.741219 | silenc3502 |
e9f138b66379a299ac02d00c229cfbe3bc482fda | 3,071 | cpp | C++ | unit/src/RemovePlanarityTest.cpp | volkerschmidts/titania | 1ad441a7f9481392e21216a2be86b20b1d090a97 | [
"MIT"
] | null | null | null | unit/src/RemovePlanarityTest.cpp | volkerschmidts/titania | 1ad441a7f9481392e21216a2be86b20b1d090a97 | [
"MIT"
] | 1 | 2022-03-24T03:54:06.000Z | 2022-03-25T15:32:09.000Z | unit/src/RemovePlanarityTest.cpp | volkerschmidts/titania | 1ad441a7f9481392e21216a2be86b20b1d090a97 | [
"MIT"
] | null | null | null | #include "RemovePlanarityTest.hpp"
#include "StanIPC.h"
#include "main.h"
#include <Atom.hpp>
#include <Declarations.hpp>
#include <LinAlg.hpp>
#include <Molecule.hpp>
#include <Output.hpp>
#include <Structure.hpp>
#include <StructureSimulator.hpp>
CPPUNIT_TEST_SUITE_REGISTRATION(RemovePlanarityTest);
RemovePlanari... | 33.747253 | 80 | 0.727125 | volkerschmidts |
e9f23668d6fd9e5a6c18fedf6e58e3679a4da77f | 3,957 | cpp | C++ | src/DynamixelMotor.cpp | sylvaing19/ardyno | 87b00809581f469fe84beefe3d701fef223cd524 | [
"BSD-2-Clause"
] | 5 | 2018-12-09T18:13:03.000Z | 2021-12-16T20:07:51.000Z | src/DynamixelMotor.cpp | sylvaing19/dynamixel_teensy | 87b00809581f469fe84beefe3d701fef223cd524 | [
"BSD-2-Clause"
] | null | null | null | src/DynamixelMotor.cpp | sylvaing19/dynamixel_teensy | 87b00809581f469fe84beefe3d701fef223cd524 | [
"BSD-2-Clause"
] | null | null | null | #include "DynamixelMotor.h"
DynamixelDevice::DynamixelDevice(DynamixelInterface &aInterface, DynamixelID aID):
mInterface(aInterface), mStatusReturnLevel(255), mID(aID)
{
mStatus = DYN_STATUS_OK;
if (mID == BROADCAST_ID)
{
mStatusReturnLevel = 0;
}
}
uint8_t DynamixelDevice::statusReturnLevel()
{
if (mStatusR... | 21.505435 | 93 | 0.760425 | sylvaing19 |
e9f2b90b29c56da8ae57cf0ed91c7ab47f6a8ba1 | 36,069 | hpp | C++ | src/cpp_json/cpp_json__document.hpp | mrange/cppjson | 553795705eeda5e2add18dd3345a4c01a9b4de99 | [
"Apache-2.0"
] | null | null | null | src/cpp_json/cpp_json__document.hpp | mrange/cppjson | 553795705eeda5e2add18dd3345a4c01a9b4de99 | [
"Apache-2.0"
] | null | null | null | src/cpp_json/cpp_json__document.hpp | mrange/cppjson | 553795705eeda5e2add18dd3345a4c01a9b4de99 | [
"Apache-2.0"
] | null | null | null | // ----------------------------------------------------------------------------------------------
// Copyright 2015 Mårten Rånge
//
// 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
//
// ... | 24.420447 | 125 | 0.535723 | mrange |
e9f3df48926e0b921adc4f4b77206fb004842a8c | 4,726 | cpp | C++ | src/desktop/app/ComponentManager.cpp | varunamachi/tanyatu | ce055e0fb0b688054fe19ef39b09a6ca655e2457 | [
"MIT"
] | 1 | 2018-01-07T18:11:04.000Z | 2018-01-07T18:11:04.000Z | src/desktop/app/ComponentManager.cpp | varunamachi/tanyatu | ce055e0fb0b688054fe19ef39b09a6ca655e2457 | [
"MIT"
] | null | null | null | src/desktop/app/ComponentManager.cpp | varunamachi/tanyatu | ce055e0fb0b688054fe19ef39b09a6ca655e2457 | [
"MIT"
] | null | null | null | /*******************************************************************************
* Copyright (c) 2014 Varuna L Amachi. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Softw... | 30.688312 | 80 | 0.655946 | varunamachi |
e9f788748cb58234056260f15c69225482563ced | 29,958 | hpp | C++ | lighter_int.hpp | snake5/lighter | dfaaaeadf00d2a9302f937c9b8138202b4e58ef5 | [
"MIT"
] | 5 | 2015-08-31T15:37:47.000Z | 2020-09-30T11:57:24.000Z | lighter_int.hpp | snake5/lighter | dfaaaeadf00d2a9302f937c9b8138202b4e58ef5 | [
"MIT"
] | null | null | null | lighter_int.hpp | snake5/lighter | dfaaaeadf00d2a9302f937c9b8138202b4e58ef5 | [
"MIT"
] | null | null | null |
#pragma once
#define _USE_MATH_DEFINES
#include <math.h>
#include <string.h>
#include <stdio.h>
#include <float.h>
#include <vector>
#include <string>
#include <algorithm>
#include "lighter.h"
#ifdef _WIN32
# define WIN32_LEAN_AND_MEAN
# undef _WIN32_WINNT
# define _WIN32_WINNT 0x0600
# undef WINVER
# defin... | 28.42315 | 160 | 0.629047 | snake5 |
e9fc439729c3b1ac4817d0477d1e5c14bafa54f7 | 761 | cpp | C++ | hackerrank/problemSolving/caesarCipher.cpp | ravikiranmara/ProgrammingChallenges | dcd0e0b3997f05115fc1fab414818b7d9add54c4 | [
"MIT"
] | null | null | null | hackerrank/problemSolving/caesarCipher.cpp | ravikiranmara/ProgrammingChallenges | dcd0e0b3997f05115fc1fab414818b7d9add54c4 | [
"MIT"
] | null | null | null | hackerrank/problemSolving/caesarCipher.cpp | ravikiranmara/ProgrammingChallenges | dcd0e0b3997f05115fc1fab414818b7d9add54c4 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
// Complete the caesarCipher function below.
string caesarCipher(string s, int k) {
for (int i=0; i<s.size(); i++) {
if (islower(s[i]))
s[i] = 'a' + (k+s[i]-'a')%26;
else if (isupper(s[i]))
s[i] = 'A' + (k+s[i]-'A')%26;
}
... | 17.697674 | 56 | 0.532194 | ravikiranmara |
e9fdb5b02e274f8866dd1289c472aa2e46358793 | 19,976 | cpp | C++ | src/input/InputManager.cpp | MicahMartin/asdf | d430777603a6906b7117e422885c949b539865cf | [
"MIT"
] | null | null | null | src/input/InputManager.cpp | MicahMartin/asdf | d430777603a6906b7117e422885c949b539865cf | [
"MIT"
] | null | null | null | src/input/InputManager.cpp | MicahMartin/asdf | d430777603a6906b7117e422885c949b539865cf | [
"MIT"
] | null | null | null | #include "input/InputManager.h"
#include "input/VirtualController.h"
#include <iostream>
#include <fstream>
#include <sstream>
// input manager is gonna get all input events from SDL for all devices
// keep a map with input keycodes as the key and tuple of player number actual 'button code' as the value
// so lets say... | 36.720588 | 151 | 0.550511 | MicahMartin |
e9ffd7f0dd51dd1290181cd72dcd37c847186388 | 4,617 | cpp | C++ | apps/visualizer.cpp | aquibrash87/RecoridingTool | 1af39f7e6eb5bea2c649157003d7848b1f9cf4d8 | [
"Apache-2.0"
] | null | null | null | apps/visualizer.cpp | aquibrash87/RecoridingTool | 1af39f7e6eb5bea2c649157003d7848b1f9cf4d8 | [
"Apache-2.0"
] | null | null | null | apps/visualizer.cpp | aquibrash87/RecoridingTool | 1af39f7e6eb5bea2c649157003d7848b1f9cf4d8 | [
"Apache-2.0"
] | null | null | null | /****************************************************************
** **
** Copyright(C) 2016 Quanergy Systems. All Rights Reserved. **
** Contact: http://www.quanergy.com **
** ... | 35.790698 | 177 | 0.635911 | aquibrash87 |
1802e73bc9e102d64403cb942ccd1d9490c89b66 | 1,548 | cpp | C++ | io2d/src/device.cpp | cristianadam/N3888_RefImpl | d7975633ad0e66e32c2dea70b0952d48ed777e9b | [
"MIT"
] | 52 | 2016-02-28T23:00:45.000Z | 2021-11-28T06:13:02.000Z | io2d/src/device.cpp | cristianadam/N3888_RefImpl | d7975633ad0e66e32c2dea70b0952d48ed777e9b | [
"MIT"
] | null | null | null | io2d/src/device.cpp | cristianadam/N3888_RefImpl | d7975633ad0e66e32c2dea70b0952d48ed777e9b | [
"MIT"
] | 6 | 2018-01-08T08:21:11.000Z | 2022-03-11T03:18:54.000Z | #include "io2d.h"
#include "xio2dhelpers.h"
#include "xcairoenumhelpers.h"
using namespace std;
using namespace std::experimental::io2d;
device::native_handle_type device::native_handle() const noexcept {
return _Device.get();
}
device::device(device::native_handle_type nh) : _Device() {
_Device = shared_ptr<cairo... | 23.815385 | 84 | 0.739664 | cristianadam |
18070b669def585ee9fa55b3d2a3fc5333c9f3ef | 1,158 | cpp | C++ | Bridge/Cpp/main.cpp | john29917958/Design-Patterns | 86b0139d67769552a9b97d1d436b9915a513871c | [
"MIT"
] | null | null | null | Bridge/Cpp/main.cpp | john29917958/Design-Patterns | 86b0139d67769552a9b97d1d436b9915a513871c | [
"MIT"
] | null | null | null | Bridge/Cpp/main.cpp | john29917958/Design-Patterns | 86b0139d67769552a9b97d1d436b9915a513871c | [
"MIT"
] | null | null | null | #include "character.h"
int main()
{
std::unique_ptr<character> character = std::make_unique<human>(0, "Jack", 100, 100);
character->cast_spell();
character->set_spell(std::make_shared<fire_spell>(30, 100, 20));
character->cast_spell();
character->set_spell(std::make_shared<ice_spell>(30, 50, 20));
character->cas... | 35.090909 | 85 | 0.721071 | john29917958 |
1807818d667d2cbb291b49973ad6412d87550fc6 | 490 | cpp | C++ | Sphere_Online_Judge_soj/Classical/math_is_love.cpp | mushahadur/Competitive-Programming-Problem-Solving-Online-Judge | 66b49ee2564b85d7b42d91a977f3d57d437e43d5 | [
"Apache-2.0"
] | 1 | 2021-08-25T06:49:16.000Z | 2021-08-25T06:49:16.000Z | Sphere_Online_Judge_soj/Classical/math_is_love.cpp | mushahadur/Competitive-Programming-Problem-Solving-Online-Judge | 66b49ee2564b85d7b42d91a977f3d57d437e43d5 | [
"Apache-2.0"
] | null | null | null | Sphere_Online_Judge_soj/Classical/math_is_love.cpp | mushahadur/Competitive-Programming-Problem-Solving-Online-Judge | 66b49ee2564b85d7b42d91a977f3d57d437e43d5 | [
"Apache-2.0"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
int main()
{
int t;
long long int y,sum=0,i,arr[100],arry[1000];
for(i=0; i<10; i++)
{
sum=sum+i;
arr[i]=sum;
arry[sum]=i;
}
cout<<"check : "<<arr[6]<<endl;
cout<<"check 2 : "<<arry[21]<<endl;
cin>>t;
while(t--)
... | 16.333333 | 48 | 0.408163 | mushahadur |
18079d3658ce78314386c430ddb2cf88e2c3866b | 1,234 | inl | C++ | LibImagics/Images/Wm5Lattice.inl | CRIMSONCardiovascularModelling/WildMagic5 | fcf549bfb99a5c4b3d6ffbff18aabdc1a4e9085c | [
"BSL-1.0"
] | 1 | 2021-02-18T10:25:42.000Z | 2021-02-18T10:25:42.000Z | LibImagics/Images/Wm5Lattice.inl | CRIMSONCardiovascularModelling/WildMagic5 | fcf549bfb99a5c4b3d6ffbff18aabdc1a4e9085c | [
"BSL-1.0"
] | null | null | null | LibImagics/Images/Wm5Lattice.inl | CRIMSONCardiovascularModelling/WildMagic5 | fcf549bfb99a5c4b3d6ffbff18aabdc1a4e9085c | [
"BSL-1.0"
] | null | null | null | // Geometric Tools, LLC
// Copyright (c) 1998-2014
// Distributed under the Boost Software License, Version 1.0.
// http://www.boost.org/LICENSE_1_0.txt
// http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
//
// File Version: 5.0.0 (2010/01/01)
//--------------------------------------------------------------... | 30.85 | 78 | 0.388169 | CRIMSONCardiovascularModelling |
18121f2661b46c9ef94060e23bf73aa36410076e | 14,098 | cpp | C++ | src/terminal_renderer/DecorationRenderer.cpp | christianparpart/libterminal | 0e6d75a2042437084c9f9880a5c8b5661a02da07 | [
"Apache-2.0"
] | 4 | 2019-08-14T22:29:57.000Z | 2019-09-19T08:57:15.000Z | src/terminal_renderer/DecorationRenderer.cpp | christianparpart/libterminal | 0e6d75a2042437084c9f9880a5c8b5661a02da07 | [
"Apache-2.0"
] | 69 | 2019-08-17T18:57:16.000Z | 2019-09-22T23:25:49.000Z | src/terminal_renderer/DecorationRenderer.cpp | christianparpart/libterminal | 0e6d75a2042437084c9f9880a5c8b5661a02da07 | [
"Apache-2.0"
] | null | null | null | /**
* This file is part of the "contour" project.
* Copyright (c) 2020 Christian Parpart <christian@parpart.family>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* Unless required by applicable law or agreed to in writin... | 43.782609 | 107 | 0.563839 | christianparpart |
1812243c839f98ba54f28bd5d6e08ccbd812977c | 4,280 | cc | C++ | libfabric/prov/sstmac/src/sstmac_wait.cc | sstsimulator/sst-transports | 6561e1ab001b3ee8ece1b97ee89360258cd4c75c | [
"BSD-3-Clause"
] | null | null | null | libfabric/prov/sstmac/src/sstmac_wait.cc | sstsimulator/sst-transports | 6561e1ab001b3ee8ece1b97ee89360258cd4c75c | [
"BSD-3-Clause"
] | 1 | 2021-08-05T17:24:36.000Z | 2021-08-05T17:24:36.000Z | libfabric/prov/sstmac/src/sstmac_wait.cc | sstsimulator/sst-transports | 6561e1ab001b3ee8ece1b97ee89360258cd4c75c | [
"BSD-3-Clause"
] | 2 | 2021-08-05T17:25:14.000Z | 2021-11-10T02:48:04.000Z | /**
Copyright 2009-2020 National Technology and Engineering Solutions of Sandia,
LLC (NTESS). Under the terms of Contract DE-NA-0003525, the U.S. Government
retains certain rights in this software.
Sandia National Laboratories is a multimission laboratory managed and operated
by National Technology and Engineering... | 31.703704 | 114 | 0.764953 | sstsimulator |
181290adcdcadb00e1457986b03d3982e0cbba0f | 5,759 | hpp | C++ | include/cadence/async/streamsocket.hpp | abbyssoul/libcadence | c9a49d95df608497e9551f7d62169d0c78a48737 | [
"Apache-2.0"
] | 2 | 2020-04-24T15:07:33.000Z | 2020-06-12T07:01:53.000Z | include/cadence/async/streamsocket.hpp | abbyssoul/libcadence | c9a49d95df608497e9551f7d62169d0c78a48737 | [
"Apache-2.0"
] | null | null | null | include/cadence/async/streamsocket.hpp | abbyssoul/libcadence | c9a49d95df608497e9551f7d62169d0c78a48737 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) Ivan Ryabov - All Rights Reserved
*
* Unauthorized copying of this file, via any medium is strictly prohibited.
* Proprietary and confidential.
*
* Written by Ivan Ryabov <abbyssoul@gmail.com>
*/
/*******************************************************************************
* libcadence: Async... | 28.092683 | 119 | 0.650113 | abbyssoul |
181c4ea39274ab564324aa2056b36512a31cec36 | 6,911 | cpp | C++ | addjobdiag.cpp | dayuanyuan1989/RemoteBinder | 6c07896828187bbb890115fa1326f9db4fbd7b68 | [
"MIT"
] | null | null | null | addjobdiag.cpp | dayuanyuan1989/RemoteBinder | 6c07896828187bbb890115fa1326f9db4fbd7b68 | [
"MIT"
] | null | null | null | addjobdiag.cpp | dayuanyuan1989/RemoteBinder | 6c07896828187bbb890115fa1326f9db4fbd7b68 | [
"MIT"
] | null | null | null | #include "addjobdiag.h"
#include "ui_addjobdiag.h"
#include <QSize>
#include <QString>
#include <QStringList>
#include <QTime>
#include <QDate>
#include <QColor>
#include <QFontDatabase>
#include <QDebug>
AddJobDiag::AddJobDiag(QWidget *parent) :
QWidget(parent),
ui(new Ui::AddJobDiag)
{
u... | 30.444934 | 170 | 0.610476 | dayuanyuan1989 |
181c70421b6c0598ec588002242307255ecf1f7f | 12,521 | cc | C++ | modules/perception/obstacle/camera/visualizer/frame_content.cc | fukatani/apollo | 8677d8fd9d74e625c9dfaf184775d9e7cd24c8e2 | [
"Apache-2.0"
] | 1 | 2021-11-27T02:45:38.000Z | 2021-11-27T02:45:38.000Z | modules/perception/obstacle/camera/visualizer/frame_content.cc | LiuGuoJiang/apollo | ca0e14af13c06bc5ff9cc5b3200c06351a07ee1d | [
"Apache-2.0"
] | null | null | null | modules/perception/obstacle/camera/visualizer/frame_content.cc | LiuGuoJiang/apollo | ca0e14af13c06bc5ff9cc5b3200c06351a07ee1d | [
"Apache-2.0"
] | 1 | 2021-03-30T07:50:50.000Z | 2021-03-30T07:50:50.000Z | /******************************************************************************
* Copyright 2017 The Apollo Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
... | 31.698734 | 80 | 0.654101 | fukatani |
181fa7bc68e2ce079f2550f5cb168e0e9e8ceb6f | 1,625 | cpp | C++ | cpgf/src/metadata/irrlicht/meta_irrlicht_S3DVertex.cpp | mousepawmedia/libdeps | b004d58d5b395ceaf9fdc993cfb00e91334a5d36 | [
"BSD-3-Clause"
] | 187 | 2015-01-19T06:05:30.000Z | 2022-03-27T14:28:21.000Z | cpgf/src/metadata/irrlicht/meta_irrlicht_S3DVertex.cpp | mousepawmedia/libdeps | b004d58d5b395ceaf9fdc993cfb00e91334a5d36 | [
"BSD-3-Clause"
] | 37 | 2015-01-16T04:15:11.000Z | 2020-03-31T23:42:55.000Z | cpgf/src/metadata/irrlicht/meta_irrlicht_S3DVertex.cpp | mousepawmedia/libdeps | b004d58d5b395ceaf9fdc993cfb00e91334a5d36 | [
"BSD-3-Clause"
] | 50 | 2015-01-13T13:50:10.000Z | 2022-01-25T17:16:51.000Z | // Auto generated file, don't modify.
#include "irrlicht.h"
#include "S3DVertex.h"
#include "cpgf/metadata/irrlicht/meta_irrlicht_S3DVertex.h"
using namespace cpgf;
namespace meta_irrlicht {
GDefineMetaInfo createMetaClass_Global_s3dvertex()
{
GDefineMetaGlobalDangle _d = GDefineMetaGlobalDangle::dangle();
... | 27.083333 | 186 | 0.729846 | mousepawmedia |
1820eb9ae60047891661d8c8f9e02f9470c2d92a | 1,520 | hpp | C++ | zooTycoon.hpp | bolym/C-ZooGame | 33a66a4e7e3cccc731520471c2641cd8f901ae02 | [
"MIT"
] | null | null | null | zooTycoon.hpp | bolym/C-ZooGame | 33a66a4e7e3cccc731520471c2641cd8f901ae02 | [
"MIT"
] | null | null | null | zooTycoon.hpp | bolym/C-ZooGame | 33a66a4e7e3cccc731520471c2641cd8f901ae02 | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
#include <algorithm>
#include <stdio.h> /* printf, scanf, puts, NULL */
#include <stdlib.h> /* srand, rand */
#include <time.h> /* time */
using namespace std;
class Animal{
protected:
int age;
int price;
int numBabies;
int foodCost;... | 17.882353 | 56 | 0.576974 | bolym |
18218a4cb185430f140c18184eeea8088d3aea79 | 2,013 | cpp | C++ | torch/csrc/distributed/c10d/Ops.cpp | qqaatw/pytorch | 44764f131b040a41a6dcf1304bb635c574bf5a3b | [
"Intel"
] | null | null | null | torch/csrc/distributed/c10d/Ops.cpp | qqaatw/pytorch | 44764f131b040a41a6dcf1304bb635c574bf5a3b | [
"Intel"
] | null | null | null | torch/csrc/distributed/c10d/Ops.cpp | qqaatw/pytorch | 44764f131b040a41a6dcf1304bb635c574bf5a3b | [
"Intel"
] | null | null | null | #include <torch/csrc/distributed/c10d/Ops.hpp>
#include <ATen/core/dispatch/Dispatcher.h>
#include <torch/library.h>
namespace c10d {
namespace {
c10::intrusive_ptr<ProcessGroup::Work> broadcast(
const c10::intrusive_ptr<ProcessGroup>& process_group,
at::TensorList tensors,
int64_t root_rank = 0,
int6... | 32.467742 | 80 | 0.660209 | qqaatw |
18228eca0c71619b74e7395225bdc2da6e71e6d8 | 11,390 | cpp | C++ | src/stringarray.cpp | Sneedd/rush | a07eef74d1757f1995ea4f6ceafb7c328719f08d | [
"MIT"
] | null | null | null | src/stringarray.cpp | Sneedd/rush | a07eef74d1757f1995ea4f6ceafb7c328719f08d | [
"MIT"
] | null | null | null | src/stringarray.cpp | Sneedd/rush | a07eef74d1757f1995ea4f6ceafb7c328719f08d | [
"MIT"
] | null | null | null | /*
* stringarray.cpp - Implementation of StringArray class
*
* This file is part of the rush utility library.
* Licenced unter the terms of Lesser GPL v3.0 (see licence.txt).
* Copyright 2011-2012 - Steffen Ott
*
*/
#include <rush/stringarray.h>
#include <rush/log.h>
#include <rush/buildinexpect.h>
#include... | 25.311111 | 115 | 0.502809 | Sneedd |
182c4afc4644b7470626e4dda738c6446a7e2cd2 | 4,547 | cpp | C++ | C/Lista03.cpp | IzaacBaptista/ads-senac | 2a2fe89a88e2ac5a776302f464695e2537c2cd69 | [
"MIT"
] | 2 | 2021-03-14T13:27:28.000Z | 2021-09-29T19:09:37.000Z | C/Lista03.cpp | IzaacBaptista/ads-senac | 2a2fe89a88e2ac5a776302f464695e2537c2cd69 | [
"MIT"
] | null | null | null | C/Lista03.cpp | IzaacBaptista/ads-senac | 2a2fe89a88e2ac5a776302f464695e2537c2cd69 | [
"MIT"
] | null | null | null | // ************************************************************
//
// Exemplo de Estruturas Encadeadas
//
// ************************************************************
#include <stdio.h>
#include <string.h>
#include <conio.h>
#include <stdlib.h>
// define a estrutura do nodo
typedef struct Temp
{
int info;
... | 22.509901 | 68 | 0.485155 | IzaacBaptista |
1836e4e72fea2754d0112fa86bd8af8e9ab6e35b | 13,095 | hpp | C++ | sources/SceneGraph/spSceneLight.hpp | rontrek/softpixel | 73a13a67e044c93f5c3da9066eedbaf3805d6807 | [
"Zlib"
] | 14 | 2015-08-16T21:05:20.000Z | 2019-08-21T17:22:01.000Z | sources/SceneGraph/spSceneLight.hpp | rontrek/softpixel | 73a13a67e044c93f5c3da9066eedbaf3805d6807 | [
"Zlib"
] | null | null | null | sources/SceneGraph/spSceneLight.hpp | rontrek/softpixel | 73a13a67e044c93f5c3da9066eedbaf3805d6807 | [
"Zlib"
] | 3 | 2016-10-31T06:08:44.000Z | 2019-08-02T16:12:33.000Z | /*
* Light scene node header
*
* This file is part of the "SoftPixel Engine" (Copyright (c) 2008 by Lukas Hermanns)
* See "SoftPixelEngine.hpp" for license information.
*/
#ifndef __SP_SCENE_LIGHT_H__
#define __SP_SCENE_LIGHT_H__
#include "Base/spStandard.hpp"
#include "Base/spDimensionMatrix4.hpp"
#include "S... | 30.524476 | 133 | 0.590302 | rontrek |
183c6be741a29cfb8f63fcca438f17b13b8c0a19 | 5,340 | cpp | C++ | src/chrono_sensor/ChDynamicsManager.cpp | zzhou292/chrono-collision | c2a20e171bb0eb8819636d370887aa32d68547c6 | [
"BSD-3-Clause"
] | 3 | 2019-01-15T07:40:33.000Z | 2019-01-15T09:16:45.000Z | src/chrono_sensor/ChDynamicsManager.cpp | zzhou292/chrono-collision | c2a20e171bb0eb8819636d370887aa32d68547c6 | [
"BSD-3-Clause"
] | 7 | 2021-10-20T04:43:35.000Z | 2021-12-24T08:44:31.000Z | src/chrono_sensor/ChDynamicsManager.cpp | zzhou292/chrono-collision | c2a20e171bb0eb8819636d370887aa32d68547c6 | [
"BSD-3-Clause"
] | 2 | 2021-12-09T05:32:31.000Z | 2021-12-12T17:31:18.000Z | // =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2019 projectchrono.org
// All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file at the top level of t... | 42.047244 | 119 | 0.578464 | zzhou292 |
183e2f5aa8fd7cc021abe41fa99f9a56e5d21454 | 8,822 | cc | C++ | chrome/browser/sync/glue/bookmark_model_worker_unittest.cc | rwatson/chromium-capsicum | b03da8e897f897c6ad2cda03ceda217b760fd528 | [
"BSD-3-Clause"
] | 11 | 2015-03-20T04:08:08.000Z | 2021-11-15T15:51:36.000Z | chrome/browser/sync/glue/bookmark_model_worker_unittest.cc | rwatson/chromium-capsicum | b03da8e897f897c6ad2cda03ceda217b760fd528 | [
"BSD-3-Clause"
] | null | null | null | chrome/browser/sync/glue/bookmark_model_worker_unittest.cc | rwatson/chromium-capsicum | b03da8e897f897c6ad2cda03ceda217b760fd528 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2006-2009 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/thread.h"
#include "chrome/browser/sync/engine/syncapi.h"
#include "chrome/browser/sync/glue/bookmark_model_worker.h"
#include "te... | 39.738739 | 80 | 0.726026 | rwatson |
1842df48aab0e75398e4ea449f3a5329268189d3 | 388 | cpp | C++ | if.cpp | yanfeng1012/CPlusPlusProgramList | 16dae9ece99407e2213b82bf6910202f07a4b6a3 | [
"Apache-2.0"
] | null | null | null | if.cpp | yanfeng1012/CPlusPlusProgramList | 16dae9ece99407e2213b82bf6910202f07a4b6a3 | [
"Apache-2.0"
] | null | null | null | if.cpp | yanfeng1012/CPlusPlusProgramList | 16dae9ece99407e2213b82bf6910202f07a4b6a3 | [
"Apache-2.0"
] | null | null | null | #include <iostream>
using namespace std;
int main() {
char ch;
int spaces, total = 0;
cin.get(ch);
while (ch != '.') {
if (ch == ' ') {
++spaces;
} else {
cout << ++ch;
}
++total;
cin.get(ch);
}
cout << spaces << " spaces, " << t... | 17.636364 | 46 | 0.427835 | yanfeng1012 |
18438247f174c44472273c761c39deea66195cb4 | 538 | cpp | C++ | Splendor/Splendor/Randomizer.cpp | TFphoenix/splendor | 0fcf1fef69e8b85dae542636bf0ea3d682f0f142 | [
"Apache-2.0"
] | null | null | null | Splendor/Splendor/Randomizer.cpp | TFphoenix/splendor | 0fcf1fef69e8b85dae542636bf0ea3d682f0f142 | [
"Apache-2.0"
] | null | null | null | Splendor/Splendor/Randomizer.cpp | TFphoenix/splendor | 0fcf1fef69e8b85dae542636bf0ea3d682f0f142 | [
"Apache-2.0"
] | null | null | null | #include "Randomizer.h"
Randomizer::Randomizer()
{
m_MTwister.seed(randomDevice());
}
uint16_t Randomizer::Generate(uint16_t minim, uint16_t maxim)
{
const std::uniform_int_distribution<uint16_t> dist(minim, maxim);
return dist(m_MTwister);
}
int Randomizer::Generate(int minim, int maxim)
{
const std::uniform_in... | 20.692308 | 66 | 0.763941 | TFphoenix |
18460dd8a23bad1b4e94b484815a94caa2881627 | 5,443 | cc | C++ | bench/add.cc | ajtulloch/XNNPACK | 7e955979fd57fff70b9208b82b3bb13d971b182d | [
"BSD-3-Clause"
] | 1 | 2019-11-26T06:26:29.000Z | 2019-11-26T06:26:29.000Z | bench/add.cc | Maratyszcza/XNNPACK | 791d01da82cecbc259eb396a19822f8f6a8b8219 | [
"BSD-3-Clause"
] | null | null | null | bench/add.cc | Maratyszcza/XNNPACK | 791d01da82cecbc259eb396a19822f8f6a8b8219 | [
"BSD-3-Clause"
] | 1 | 2019-10-10T00:49:20.000Z | 2019-10-10T00:49:20.000Z | // Copyright (c) Facebook, Inc. and its affiliates.
// All rights reserved.
//
// Copyright 2019 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <algorithm>
#include <cmath>
#include <functional>
#include <random... | 31.645349 | 107 | 0.67573 | ajtulloch |
184778e301bbd85ff50db12d846587406413f17e | 207 | cpp | C++ | win64/w_pch.cpp | Fjellstedt/dk30 | b9fea347620fafe2d9994b4be6e20be0b2cee6f2 | [
"MIT"
] | null | null | null | win64/w_pch.cpp | Fjellstedt/dk30 | b9fea347620fafe2d9994b4be6e20be0b2cee6f2 | [
"MIT"
] | null | null | null | win64/w_pch.cpp | Fjellstedt/dk30 | b9fea347620fafe2d9994b4be6e20be0b2cee6f2 | [
"MIT"
] | null | null | null | /* ========================================================================
$Creator: Patrik Fjellstedt $
======================================================================== */
#include "w_pch.h"
| 41.4 | 78 | 0.173913 | Fjellstedt |
1849760999870dc0707935ebcab042f096c822fe | 458 | cc | C++ | test/main_expr.cc | CHChang810716/libsimdpp | 669bbffb9a94660f83c1c2e46af6098a8e993caa | [
"BSL-1.0"
] | 975 | 2015-01-08T08:30:17.000Z | 2022-03-30T02:57:58.000Z | test/main_expr.cc | abique/libsimdpp | a42deb7e3ca75c5ebaca0a334f18f1ab9822db02 | [
"BSL-1.0"
] | 125 | 2015-05-06T09:25:14.000Z | 2022-03-23T01:07:07.000Z | test/main_expr.cc | abique/libsimdpp | a42deb7e3ca75c5ebaca0a334f18f1ab9822db02 | [
"BSL-1.0"
] | 140 | 2015-05-03T18:56:00.000Z | 2022-03-22T07:14:46.000Z | /* Copyright (C) 2014 Povilas Kanapickas <povilas@radix.lt>
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt)
*/
#include "expr/tests.h"
#include <iostream>
#include <cstdlib>
int main()
{
T... | 22.9 | 62 | 0.681223 | CHChang810716 |
184cfe058c3c3d71170ebad1942e2f05f49a85f1 | 20,162 | cpp | C++ | XRADGUI/Sources/GUI/MathFunctionGUI.cpp | Center-of-Diagnostics-and-Telemedicine/xrad | ec2dd3f1dcd164787e2a192cd1f2b78c3217f9ed | [
"BSD-3-Clause"
] | 1 | 2021-04-02T16:47:00.000Z | 2021-04-02T16:47:00.000Z | XRADGUI/Sources/GUI/MathFunctionGUI.cpp | Center-of-Diagnostics-and-Telemedicine/xrad | ec2dd3f1dcd164787e2a192cd1f2b78c3217f9ed | [
"BSD-3-Clause"
] | null | null | null | XRADGUI/Sources/GUI/MathFunctionGUI.cpp | Center-of-Diagnostics-and-Telemedicine/xrad | ec2dd3f1dcd164787e2a192cd1f2b78c3217f9ed | [
"BSD-3-Clause"
] | 3 | 2021-08-30T11:26:23.000Z | 2021-09-23T09:39:56.000Z | /*
Copyright (c) 2021, Moscow Center for Diagnostics & Telemedicine
All rights reserved.
This file is licensed under BSD-3-Clause license. See LICENSE file for details.
*/
#include "pre.h"
#include "MathFunctionGUI.h"
#include "XRADGUI.h"
#include "GraphSet.h"
#include <XRADBasic/Sources/SampleTypes/HLSColorSample... | 30.828746 | 194 | 0.694624 | Center-of-Diagnostics-and-Telemedicine |
184e07ea0495ab0b128ff5034b7c8da951c262d2 | 1,060 | cpp | C++ | YorozuyaGSLib/source/_chat_lock_inform_zoclDetail.cpp | lemkova/Yorozuya | f445d800078d9aba5de28f122cedfa03f26a38e4 | [
"MIT"
] | 29 | 2017-07-01T23:08:31.000Z | 2022-02-19T10:22:45.000Z | YorozuyaGSLib/source/_chat_lock_inform_zoclDetail.cpp | kotopes/Yorozuya | 605c97d3a627a8f6545cc09f2a1b0a8afdedd33a | [
"MIT"
] | 90 | 2017-10-18T21:24:51.000Z | 2019-06-06T02:30:33.000Z | YorozuyaGSLib/source/_chat_lock_inform_zoclDetail.cpp | kotopes/Yorozuya | 605c97d3a627a8f6545cc09f2a1b0a8afdedd33a | [
"MIT"
] | 44 | 2017-12-19T08:02:59.000Z | 2022-02-24T23:15:01.000Z | #include <_chat_lock_inform_zoclDetail.hpp>
#include <common/ATFCore.hpp>
START_ATF_NAMESPACE
namespace Detail
{
Info::_chat_lock_inform_zoclsize2_ptr _chat_lock_inform_zoclsize2_next(nullptr);
Info::_chat_lock_inform_zoclsize2_clbk _chat_lock_inform_zoclsize2_user(nullptr);
i... | 37.857143 | 110 | 0.682075 | lemkova |
184fea8bfef2f72570a06334c56751cda187a273 | 2,949 | cpp | C++ | NAS2D/Xml/XmlMemoryBuffer.cpp | Brett208/nas2d-core | f9506540f32d34f3c60bc83b87b34460d582ae81 | [
"Zlib"
] | null | null | null | NAS2D/Xml/XmlMemoryBuffer.cpp | Brett208/nas2d-core | f9506540f32d34f3c60bc83b87b34460d582ae81 | [
"Zlib"
] | null | null | null | NAS2D/Xml/XmlMemoryBuffer.cpp | Brett208/nas2d-core | f9506540f32d34f3c60bc83b87b34460d582ae81 | [
"Zlib"
] | null | null | null | // ==================================================================================
// = NAS2D
// = Copyright © 2008 - 2020 New Age Software
// ==================================================================================
// = NAS2D is distributed under the terms of the zlib license. You are free to copy,
// = m... | 21.215827 | 95 | 0.597491 | Brett208 |
18510d8907f8dee50b3fec59d629ad531ad02c5a | 8,449 | hpp | C++ | examples/pppbayestree/gpstk/FFTextStream.hpp | shaolinbit/minisam_lib | e2e904d1b6753976de1dee102f0b53e778c0f880 | [
"BSD-3-Clause"
] | 104 | 2019-06-23T14:45:20.000Z | 2022-03-20T12:45:29.000Z | examples/pppbayestree/gpstk/FFTextStream.hpp | shaolinbit/minisam_lib | e2e904d1b6753976de1dee102f0b53e778c0f880 | [
"BSD-3-Clause"
] | 2 | 2019-06-28T08:23:23.000Z | 2019-07-17T02:37:08.000Z | examples/pppbayestree/gpstk/FFTextStream.hpp | shaolinbit/minisam_lib | e2e904d1b6753976de1dee102f0b53e778c0f880 | [
"BSD-3-Clause"
] | 28 | 2019-06-23T14:45:19.000Z | 2022-03-20T12:45:24.000Z | #pragma ident "$Id$"
/**
* @file FFTextStream.hpp
* An FFStream for text files
*/
#ifndef GPSTK_FFTEXTSTREAM_HPP
#define GPSTK_FFTEXTSTREAM_HPP
//============================================================================
//
// This file is part of GPSTk, the GPS Toolkit.
//
// The GPSTk is free software; you ... | 30.835766 | 79 | 0.586578 | shaolinbit |
4c757cadf9f87fcd5866150038316d3a5d1b37db | 159 | cpp | C++ | source/ThreadControl.cpp | Gavin-Lijy/STAR | 4571190968fc134aa4bd0d4d7065490253b1a4c5 | [
"MIT"
] | 1,315 | 2015-01-07T02:03:15.000Z | 2022-03-30T09:48:17.000Z | source/ThreadControl.cpp | Gavin-Lijy/STAR | 4571190968fc134aa4bd0d4d7065490253b1a4c5 | [
"MIT"
] | 1,429 | 2015-01-08T00:09:17.000Z | 2022-03-31T08:12:14.000Z | source/ThreadControl.cpp | Gavin-Lijy/STAR | 4571190968fc134aa4bd0d4d7065490253b1a4c5 | [
"MIT"
] | 495 | 2015-01-23T20:00:45.000Z | 2022-03-31T13:24:50.000Z | #include "ThreadControl.h"
ThreadControl::ThreadControl() {
chunkInN=0;
chunkOutN=0;
// chunkOutBAMposition=new uint [MAX_chunkOutBAMposition];
}; | 22.714286 | 62 | 0.72327 | Gavin-Lijy |
4c762507c5a648221606a37bed8ab1360f98ec9b | 15,886 | cpp | C++ | src/det/scope.cpp | alta-lang/alta-core | 290ebcd94b4b2956fd34f5cd0e516e756d4fc219 | [
"MIT"
] | null | null | null | src/det/scope.cpp | alta-lang/alta-core | 290ebcd94b4b2956fd34f5cd0e516e756d4fc219 | [
"MIT"
] | 6 | 2019-03-04T01:37:27.000Z | 2019-09-07T20:12:36.000Z | src/det/scope.cpp | alta-lang/alta-core | 290ebcd94b4b2956fd34f5cd0e516e756d4fc219 | [
"MIT"
] | null | null | null | #include "../../include/altacore/det/scope.hpp"
#include "../../include/altacore/det/function.hpp"
#include "../../include/altacore/det/module.hpp"
#include "../../include/altacore/det/alias.hpp"
#include "../../include/altacore/det/namespace.hpp"
#include "../../include/altacore/det/variable.hpp"
#include "../../inclu... | 34.534783 | 209 | 0.629422 | alta-lang |
4c7a81b9d3eaa16f1706ee832b9fc83d2f3c63d3 | 709 | cpp | C++ | Dev/asd_cpp/core/IO/StaticFile/asd.AsyncStaticFileFactory.cpp | GCLemon/Altseed | b525740d64001aaed673552eb4ba3e98a321fcdf | [
"FTL"
] | 37 | 2015-07-12T14:21:03.000Z | 2020-10-17T03:08:17.000Z | Dev/asd_cpp/core/IO/StaticFile/asd.AsyncStaticFileFactory.cpp | GCLemon/Altseed | b525740d64001aaed673552eb4ba3e98a321fcdf | [
"FTL"
] | 91 | 2015-06-14T10:47:22.000Z | 2020-06-29T18:05:21.000Z | Dev/asd_cpp/core/IO/StaticFile/asd.AsyncStaticFileFactory.cpp | GCLemon/Altseed | b525740d64001aaed673552eb4ba3e98a321fcdf | [
"FTL"
] | 14 | 2015-07-13T04:15:20.000Z | 2021-09-30T01:34:51.000Z | #include "asd.AsyncStaticFileFactory.h"
#include "../asd.StaticFile_Imp.h"
namespace asd
{
AsyncStaticFileFactory::AsyncStaticFileFactory(File_Imp * file, Synchronizer::Ptr sync)
: file(file)
, sync(sync)
{
}
StaticFile_Imp * AsyncStaticFileFactory::LoadFromBaseFile(
BaseFile::Ptr & baseFile,
const astri... | 26.259259 | 89 | 0.758815 | GCLemon |
4c81875806e2ac936f9db43c67ac6ff124a06eba | 7,709 | cxx | C++ | PWGLF/STRANGENESS/Lifetimes/selectors/MiniV0efficiency.cxx | Tingchenxi/AliPhysics | 16ea676341c0d417efa849673baa54bed717cd54 | [
"BSD-3-Clause"
] | null | null | null | PWGLF/STRANGENESS/Lifetimes/selectors/MiniV0efficiency.cxx | Tingchenxi/AliPhysics | 16ea676341c0d417efa849673baa54bed717cd54 | [
"BSD-3-Clause"
] | null | null | null | PWGLF/STRANGENESS/Lifetimes/selectors/MiniV0efficiency.cxx | Tingchenxi/AliPhysics | 16ea676341c0d417efa849673baa54bed717cd54 | [
"BSD-3-Clause"
] | 1 | 2018-09-22T01:09:25.000Z | 2018-09-22T01:09:25.000Z | #define MiniV0efficiency_cxx
#include <TGraph.h>
#include "MiniV0efficiency.h"
#include <TH2.h>
#include <TAxis.h>
#include <TStyle.h>
#include <TF1.h>
#include <AliPDG.h>
#include "MiniV0.h"
#include "MCparticle.h"
#include "HyperTriton2Body.h"
#include "Riostream.h"
using namespace Lifetimes;
using namespace std;
M... | 35.200913 | 133 | 0.632767 | Tingchenxi |
4c85e55dade9c7d499fe842c2a549f220afc6849 | 13,690 | hpp | C++ | src/inference/include/openvino/runtime/infer_request.hpp | ryanloney/openvino-1 | 4e0a740eb3ee31062ba0df88fcf438564f67edb7 | [
"Apache-2.0"
] | 1 | 2022-03-25T10:35:59.000Z | 2022-03-25T10:35:59.000Z | src/inference/include/openvino/runtime/infer_request.hpp | ryanloney/openvino-1 | 4e0a740eb3ee31062ba0df88fcf438564f67edb7 | [
"Apache-2.0"
] | 2 | 2022-03-28T13:18:55.000Z | 2022-03-28T13:18:57.000Z | src/inference/include/openvino/runtime/infer_request.hpp | ryanloney/openvino-1 | 4e0a740eb3ee31062ba0df88fcf438564f67edb7 | [
"Apache-2.0"
] | null | null | null | // Copyright (C) 2018-2022 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
/**
* @brief A header file that provides InferRequest.
*
* @file openvino/runtime/infer_request.hpp
*/
#pragma once
#include <map>
#include <memory>
#include <string>
#include "openvino/core/node_output.hpp"
#include "openvino... | 38.672316 | 120 | 0.676991 | ryanloney |
4c85f35e4c49fdb180f8827821bb25dcaa73bc6a | 357 | cpp | C++ | src/sim/missile/flight.cpp | Terebinth/freefalcon-central | c28d807183ab447ef6a801068aa3769527d55deb | [
"BSD-2-Clause"
] | 117 | 2015-01-13T14:48:49.000Z | 2022-03-16T01:38:19.000Z | src/sim/missile/flight.cpp | darongE/freefalcon-central | c28d807183ab447ef6a801068aa3769527d55deb | [
"BSD-2-Clause"
] | 4 | 2015-05-01T13:09:53.000Z | 2017-07-22T09:11:06.000Z | src/sim/missile/flight.cpp | darongE/freefalcon-central | c28d807183ab447ef6a801068aa3769527d55deb | [
"BSD-2-Clause"
] | 78 | 2015-01-13T09:27:47.000Z | 2022-03-18T14:39:09.000Z | #include "stdhdr.h"
#include "missile.h"
#include "drawable.h"
void MissileClass::Flight(void)
{
if (inputData->displayType not_eq DisplayHTS and display)
{
display->DisplayExit();
display = NULL;
}
Atmosphere();
FlightControlSystem();
Aerodynamics();
Engine();
Accelero... | 17.85 | 61 | 0.633053 | Terebinth |
4c869658add13503aa2fb39346360ba3bc499304 | 1,329 | cpp | C++ | 20_Sources/IpcAdapter/Core/src/SimplePipelineFrame.cpp | ssproessig/ipc-adapter | 466b9c12aa15561e75742b61b88ce5732eb505af | [
"MIT"
] | 1 | 2019-12-04T08:06:52.000Z | 2019-12-04T08:06:52.000Z | 20_Sources/IpcAdapter/Core/src/SimplePipelineFrame.cpp | ssproessig/ipc-adapter | 466b9c12aa15561e75742b61b88ce5732eb505af | [
"MIT"
] | 16 | 2019-09-06T18:38:21.000Z | 2019-10-20T18:34:38.000Z | 20_Sources/IpcAdapter/Core/src/SimplePipelineFrame.cpp | ssproessig/ipc-adapter | 466b9c12aa15561e75742b61b88ce5732eb505af | [
"MIT"
] | null | null | null | #include "Core/api/SimplePipelineFrame.h"
#include <QByteArray>
#include <QMap>
#include <QString>
#include <QVariant>
using IpcAdapter::Core::IPipelineFrame;
using IpcAdapter::Core::SimplePipelineFrame;
struct SimplePipelineFrame::Data
{
IPipelineFrame::MetaDataMap metaData;
IPipelineFrame::RawData rawD... | 19.835821 | 92 | 0.753198 | ssproessig |
4c86ca90553a4d08102547fef689eff05b0c9280 | 10,225 | hpp | C++ | src/libraries/dynamicMesh/dynamicMesh/polyTopoChange/polyTopoChange/addObject/polyAddFace.hpp | MrAwesomeRocks/caelus-cml | 55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7 | [
"mpich2"
] | null | null | null | src/libraries/dynamicMesh/dynamicMesh/polyTopoChange/polyTopoChange/addObject/polyAddFace.hpp | MrAwesomeRocks/caelus-cml | 55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7 | [
"mpich2"
] | null | null | null | src/libraries/dynamicMesh/dynamicMesh/polyTopoChange/polyTopoChange/addObject/polyAddFace.hpp | MrAwesomeRocks/caelus-cml | 55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7 | [
"mpich2"
] | null | null | null | /*---------------------------------------------------------------------------*\
Copyright (C) 2011 OpenFOAM Foundation
-------------------------------------------------------------------------------
License
This file is part of CAELUS.
CAELUS is free software: you can redistribute it and/or modify it
under... | 28.966006 | 79 | 0.434523 | MrAwesomeRocks |
4c8842c49ecfa8362ef045f676e4899280e94206 | 4,443 | cpp | C++ | src/libtextmode/textmode.cpp | joelpob/ansilove-term | 2842c41bc2429a98d51e02e2d6eb55254afa79bb | [
"BSD-3-Clause"
] | null | null | null | src/libtextmode/textmode.cpp | joelpob/ansilove-term | 2842c41bc2429a98d51e02e2d6eb55254afa79bb | [
"BSD-3-Clause"
] | null | null | null | src/libtextmode/textmode.cpp | joelpob/ansilove-term | 2842c41bc2429a98d51e02e2d6eb55254afa79bb | [
"BSD-3-Clause"
] | null | null | null | #include "textmode.h"
#include "file_formats/ansi.h"
#include "file_formats/ansiedit.h"
#include "file_formats/artworx.h"
#include "file_formats/ascii.h"
#include "file_formats/binary_text.h"
#include "file_formats/ice_draw.h"
#include "file_formats/pc_board.h"
#include "file_formats/tundra_draw.h"
#include "file_forma... | 30.854167 | 80 | 0.635607 | joelpob |
4c889cd5d67439f9e8986c192c2f06c0adc81485 | 26 | cpp | C++ | source/pch/stdafx.cpp | chillpert/renderer | 9c953cef10ebec7a2c8fe5763a2c10105729deab | [
"Zlib"
] | 2 | 2020-11-18T18:20:12.000Z | 2020-12-18T19:24:00.000Z | source/pch/stdafx.cpp | chillpert/rayex | 9c953cef10ebec7a2c8fe5763a2c10105729deab | [
"Zlib"
] | null | null | null | source/pch/stdafx.cpp | chillpert/rayex | 9c953cef10ebec7a2c8fe5763a2c10105729deab | [
"Zlib"
] | null | null | null | #include "pch/stdafx.hpp"
| 13 | 25 | 0.730769 | chillpert |
4c8a8af00e7ffcf623871fa7014b9910b9d993cf | 3,716 | hpp | C++ | src/util/intervalrunner.hpp | kit-algo/TCPSPSuite | 01499b4fb0f28bda72115a699cd762c70d7fff63 | [
"MIT"
] | 3 | 2018-05-02T11:45:57.000Z | 2020-09-14T08:35:43.000Z | src/util/intervalrunner.hpp | kit-algo/TCPSPSuite | 01499b4fb0f28bda72115a699cd762c70d7fff63 | [
"MIT"
] | null | null | null | src/util/intervalrunner.hpp | kit-algo/TCPSPSuite | 01499b4fb0f28bda72115a699cd762c70d7fff63 | [
"MIT"
] | null | null | null | #ifndef INTERVALRUNNER_HPP
#define INTERVALRUNNER_HPP
#include "../datastructures/maybe.hpp"
template<class It1, class It2, class Point, class PointGetter, class EventHandler, class DataGetter, class Data>
void process_intervals(It1 start_a, It1 end_a, It2 start_b, It2 end_b, PointGetter &pg, EventHandler &handler, D... | 28.366412 | 128 | 0.541981 | kit-algo |
4c8b9d079e7f32b39542a62dabd82a51c6b2739e | 5,603 | cpp | C++ | third_party/WebKit/Source/platform/animation/AnimationTranslationUtil.cpp | xzhan96/chromium.src | 1bd0cf3997f947746c0fc5406a2466e7b5f6159e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2021-01-07T18:51:03.000Z | 2021-01-07T18:51:03.000Z | third_party/WebKit/Source/platform/animation/AnimationTranslationUtil.cpp | emilio/chromium.src | 1bd0cf3997f947746c0fc5406a2466e7b5f6159e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | third_party/WebKit/Source/platform/animation/AnimationTranslationUtil.cpp | emilio/chromium.src | 1bd0cf3997f947746c0fc5406a2466e7b5f6159e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (C) 2012 Google 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:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of condition... | 43.1 | 80 | 0.698197 | xzhan96 |
4c8bbaf097e4c8fad91a90bf07dc5236a213b0d7 | 8,009 | hpp | C++ | Source/AllProjects/SecureUtils/CIDCrypto/CIDCrypto_BlockEncrypt.hpp | MarkStega/CIDLib | 82014e064eef51cad998bf2c694ed9c1c8cceac6 | [
"MIT"
] | 216 | 2019-03-09T06:41:28.000Z | 2022-02-25T16:27:19.000Z | Source/AllProjects/SecureUtils/CIDCrypto/CIDCrypto_BlockEncrypt.hpp | MarkStega/CIDLib | 82014e064eef51cad998bf2c694ed9c1c8cceac6 | [
"MIT"
] | 9 | 2020-09-27T08:00:52.000Z | 2021-07-02T14:27:31.000Z | Source/AllProjects/SecureUtils/CIDCrypto/CIDCrypto_BlockEncrypt.hpp | MarkStega/CIDLib | 82014e064eef51cad998bf2c694ed9c1c8cceac6 | [
"MIT"
] | 29 | 2019-03-09T10:12:24.000Z | 2021-03-03T22:25:29.000Z | //
// FILE NAME: CIDCrypto_BlockEncrypt.hpp
//
// AUTHOR: Dean Roddey
//
// CREATED: 10/21/1997
//
// 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://op... | 33.095041 | 78 | 0.443251 | MarkStega |
4c8c3eacfd4266cf60ba08a480bd518f47e422ac | 266 | hpp | C++ | Code/Class_headers/Collision.hpp | EnderRayquaza/DeltaEngine | 1f1c456d221c27e1a6e49095fe2819dca7994f13 | [
"MIT"
] | 2 | 2021-10-16T22:37:03.000Z | 2021-11-08T21:46:27.000Z | Code/Class_headers/Collision.hpp | EnderRayquaza/DeltaEngine | 1f1c456d221c27e1a6e49095fe2819dca7994f13 | [
"MIT"
] | null | null | null | Code/Class_headers/Collision.hpp | EnderRayquaza/DeltaEngine | 1f1c456d221c27e1a6e49095fe2819dca7994f13 | [
"MIT"
] | 2 | 2021-11-13T10:48:38.000Z | 2021-11-13T10:50:14.000Z | #pragma once
#include "../config.hpp"
namespace DeltaEngine
{
enum class moveType
{
Static,
Kinematic,
Dynamic
};
enum class collisionType
{
Nothing,
Decor,
Ground,
ObjectA,
ObjectB
};
typedef std::vector<collisionType> collisionTargets;
}
| 11.083333 | 53 | 0.691729 | EnderRayquaza |
4c8cf098b8628b570079b11ae7da2495560f2084 | 2,336 | cpp | C++ | GenesisX/dsa1Engine/Bullet.cpp | mray2014/GenesisX | 5bede0340c4c44f7217d4ffe1bde7e879aedfe2d | [
"MIT"
] | null | null | null | GenesisX/dsa1Engine/Bullet.cpp | mray2014/GenesisX | 5bede0340c4c44f7217d4ffe1bde7e879aedfe2d | [
"MIT"
] | null | null | null | GenesisX/dsa1Engine/Bullet.cpp | mray2014/GenesisX | 5bede0340c4c44f7217d4ffe1bde7e879aedfe2d | [
"MIT"
] | null | null | null | #include "Bullet.h"
#include "Renderer.h"
Bullet::Bullet()
{
}
Bullet::Bullet(float s, std::string file, Renderer* r)
{
speed = s;
glm::vec3 camPos = ((Renderer*)r)->cam->camCenter;
glm::vec3 foward = ((Renderer*)r)->cam->foward;
glm::vec4 color = glm::vec4(glm::normalize(glm::vec3(Engine::Random(), Engine::Ran... | 29.948718 | 149 | 0.693065 | mray2014 |
4c923e6a432823beda6c4a28a439b548a343fbeb | 514 | hpp | C++ | code/src/mupen64plus-rsp-paraLLEl/debug_jit.hpp | OotinnyoO1/N64Wasm | 1cc12b643e5f4a3ea8f499d21f08723cdf1d6c4b | [
"MIT"
] | 335 | 2021-10-16T14:56:14.000Z | 2022-03-31T15:50:11.000Z | code/src/mupen64plus-rsp-paraLLEl/debug_jit.hpp | OotinnyoO1/N64Wasm | 1cc12b643e5f4a3ea8f499d21f08723cdf1d6c4b | [
"MIT"
] | 10 | 2021-11-09T19:20:34.000Z | 2022-03-14T13:17:47.000Z | code/src/mupen64plus-rsp-paraLLEl/debug_jit.hpp | OotinnyoO1/N64Wasm | 1cc12b643e5f4a3ea8f499d21f08723cdf1d6c4b | [
"MIT"
] | 29 | 2021-10-19T00:38:18.000Z | 2022-03-31T19:03:47.000Z | #ifndef DEBUG_JIT_HPP__
#define DEBUG_JIT_HPP__
#include <memory>
#include <stdint.h>
#include <string>
#include <unordered_map>
namespace JIT
{
using Func = void (*)(void *, void *);
class DebugBlock
{
public:
DebugBlock(const std::unordered_map<std::string, uint64_t> &symbol_table);
~DebugBlock();
bool compile(... | 16.0625 | 75 | 0.715953 | OotinnyoO1 |
4c939bb2b360c229b878d7b926ea07537fea21c6 | 1,751 | hpp | C++ | test_conformance/clcpp/utils_common/scalar_type.hpp | jainvikas8/OpenCL-CTS | b7e7a3eb65d80d6847bd522f66f876fd5f6fe938 | [
"Apache-2.0"
] | 1 | 2019-12-05T03:45:31.000Z | 2019-12-05T03:45:31.000Z | test_conformance/clcpp/utils_common/scalar_type.hpp | jainvikas8/OpenCL-CTS | b7e7a3eb65d80d6847bd522f66f876fd5f6fe938 | [
"Apache-2.0"
] | 3 | 2020-03-25T07:42:27.000Z | 2020-04-02T13:23:42.000Z | test_conformance/clcpp/utils_common/scalar_type.hpp | jainvikas8/OpenCL-CTS | b7e7a3eb65d80d6847bd522f66f876fd5f6fe938 | [
"Apache-2.0"
] | 3 | 2020-10-26T02:53:08.000Z | 2021-02-12T14:59:41.000Z | //
// Copyright (c) 2017 The Khronos Group Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable la... | 26.938462 | 75 | 0.743004 | jainvikas8 |
4c94a5851eaf7f12aba8316d5fa94c19056a780c | 2,074 | cpp | C++ | Gogaman/src/Platform/Vulkan/RenderHardwareInterface/VulkanDescriptorGroupLayout.cpp | FeodorVolguine/Gogaman | fb29d7f7924fecb5a31b04e8187689ecef46d347 | [
"Apache-2.0"
] | null | null | null | Gogaman/src/Platform/Vulkan/RenderHardwareInterface/VulkanDescriptorGroupLayout.cpp | FeodorVolguine/Gogaman | fb29d7f7924fecb5a31b04e8187689ecef46d347 | [
"Apache-2.0"
] | null | null | null | Gogaman/src/Platform/Vulkan/RenderHardwareInterface/VulkanDescriptorGroupLayout.cpp | FeodorVolguine/Gogaman | fb29d7f7924fecb5a31b04e8187689ecef46d347 | [
"Apache-2.0"
] | 1 | 2020-05-02T19:25:44.000Z | 2020-05-02T19:25:44.000Z | #include "pch.h"
#include "VulkanDescriptorGroupLayout.h"
#include "Gogaman/RenderHardwareInterface/Device.h"
namespace Gogaman
{
namespace RHI
{
DescriptorGroupLayout::DescriptorGroupLayout(const uint32_t bindingCount, Binding *bindings, const Shader::StageFlag shaderVisibilityFlags)
: AbstractDescriptorGroup... | 47.136364 | 170 | 0.804243 | FeodorVolguine |
4c95648303f2179b04954a5e1c895d5c1869a44f | 509 | cpp | C++ | Cplus/FriendsOfAppropriateAges.cpp | JumHorn/leetcode | 1447237ae8fc3920b19f60b30c71a84b088cc200 | [
"MIT"
] | 1 | 2018-01-22T12:06:28.000Z | 2018-01-22T12:06:28.000Z | Cplus/FriendsOfAppropriateAges.cpp | JumHorn/leetcode | 1447237ae8fc3920b19f60b30c71a84b088cc200 | [
"MIT"
] | null | null | null | Cplus/FriendsOfAppropriateAges.cpp | JumHorn/leetcode | 1447237ae8fc3920b19f60b30c71a84b088cc200 | [
"MIT"
] | null | null | null | #include <unordered_map>
#include <vector>
using namespace std;
class Solution
{
public:
int numFriendRequests(vector<int> &ages)
{
unordered_map<int, int> count;
for (int &age : ages)
++count[age];
int res = 0;
for (auto &a : count)
{
for (auto &b : count)
{
if (request(a.first, b.first))
... | 17.551724 | 65 | 0.552063 | JumHorn |
4c983eb39f3003249805a1b1ba90e527c274b912 | 10,405 | cpp | C++ | src/cruxhom.cpp | Junology/khover | 1970689d4505ddd0887ec4f44888f91af816eae0 | [
"BSD-2-Clause"
] | 2 | 2021-05-19T06:48:04.000Z | 2021-05-19T06:50:39.000Z | src/cruxhom.cpp | Junology/khover | 1970689d4505ddd0887ec4f44888f91af816eae0 | [
"BSD-2-Clause"
] | null | null | null | src/cruxhom.cpp | Junology/khover | 1970689d4505ddd0887ec4f44888f91af816eae0 | [
"BSD-2-Clause"
] | null | null | null | /*!
* \file cruxhom.hpp
* \author Jun Yoshida
* \copyright (c) 2020 Jun Yoshida.
* The project is released under the 2-clause BSD License.
* \date August, 2020: created
*/
#include <thread>
#include "states.hpp"
#include "khovanov.hpp"
#include "enhancements.hpp"
#include "debug/debug.hpp"
using namespace kho... | 34.916107 | 83 | 0.547525 | Junology |
4c9a87344fbb7166a3209ccf49e0a1471e9dc3ce | 282 | cpp | C++ | problems/baekjoon/p10871.cpp | yejun614/algorithm-solve | ac7aca22e06a8aa39002c9bf6d6d39bbc6148ff9 | [
"MIT"
] | null | null | null | problems/baekjoon/p10871.cpp | yejun614/algorithm-solve | ac7aca22e06a8aa39002c9bf6d6d39bbc6148ff9 | [
"MIT"
] | null | null | null | problems/baekjoon/p10871.cpp | yejun614/algorithm-solve | ac7aca22e06a8aa39002c9bf6d6d39bbc6148ff9 | [
"MIT"
] | null | null | null | /**
* (210929) X보다 작은 수
* https://www.acmicpc.net/problem/10871
*/
#include <cstdio>
int main() {
int N, X;
scanf("%d %d", &N, &X);
int buf;
for (int i=0; i<N; i++) {
scanf("%d",&buf);
if (buf < X)
printf("%d ", buf);
}
printf("\n");
return 0;
}
| 12.26087 | 40 | 0.468085 | yejun614 |
4c9c3e8cc01a154e7ed32f1279c0b721dd58cb7b | 38,428 | cc | C++ | ion/remote/resourcehandler.cc | mdemoret/Snapshot | 987b3d45532f3644d35d858e036542d5691953ce | [
"Apache-2.0"
] | null | null | null | ion/remote/resourcehandler.cc | mdemoret/Snapshot | 987b3d45532f3644d35d858e036542d5691953ce | [
"Apache-2.0"
] | null | null | null | ion/remote/resourcehandler.cc | mdemoret/Snapshot | 987b3d45532f3644d35d858e036542d5691953ce | [
"Apache-2.0"
] | null | null | null | /**
Copyright 2016 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 law or agreed to in... | 38.934144 | 80 | 0.605496 | mdemoret |
4c9d960feb65756eb35282dde7b24bdf61bb3e8b | 9,492 | cpp | C++ | platforms/linux/TTYLib.cpp | ICESat2-SlideRule/sliderule | 90776d7e174e151c5806077001f5f9c21ef81f48 | [
"BSD-3-Clause"
] | 2 | 2021-05-06T19:56:26.000Z | 2021-05-27T16:41:56.000Z | platforms/linux/TTYLib.cpp | ICESat2-SlideRule/sliderule | 90776d7e174e151c5806077001f5f9c21ef81f48 | [
"BSD-3-Clause"
] | 54 | 2021-03-30T18:45:12.000Z | 2022-03-17T20:13:04.000Z | platforms/linux/TTYLib.cpp | ICESat2-SlideRule/sliderule | 90776d7e174e151c5806077001f5f9c21ef81f48 | [
"BSD-3-Clause"
] | 1 | 2021-05-14T16:34:08.000Z | 2021-05-14T16:34:08.000Z | /*
* Copyright (c) 2021, University of Washington
* 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... | 33.659574 | 98 | 0.455225 | ICESat2-SlideRule |