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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ee1ecca359fa54dde1bee94d93f2c071771ad0c4 | 22,690 | cpp | C++ | src/strpp.cpp | cjheath/strpp | 5de24ecdfbbb8aeb70a4144f50c5e7a13eb5711f | [
"MIT"
] | 4 | 2022-01-12T08:41:19.000Z | 2022-03-08T15:36:05.000Z | src/strpp.cpp | cjheath/strpp | 5de24ecdfbbb8aeb70a4144f50c5e7a13eb5711f | [
"MIT"
] | null | null | null | src/strpp.cpp | cjheath/strpp | 5de24ecdfbbb8aeb70a4144f50c5e7a13eb5711f | [
"MIT"
] | null | null | null | /*
* Unicode Strings
*
* String Value library:
* - By-value semantics with mutation
* - Thread-safe content sharing and garbage collection using atomic reference counting
* - Substring support using "slices" (substrings using shared content)
* - Unicode support using UTF-8
* - Character indexing, not byte offse... | 23.709509 | 110 | 0.652975 | cjheath |
ee21efbdea5cdfb86caa639599d978d1ace03122 | 23,457 | cpp | C++ | src/SoyH264.cpp | SoylentGraham/ofxSoylent | 69ed35ba58e51f381c6ddccbdbd7148da32507a2 | [
"MIT"
] | 16 | 2016-03-04T02:44:11.000Z | 2021-08-08T18:48:37.000Z | src/SoyH264.cpp | SoylentGraham/ofxSoylent | 69ed35ba58e51f381c6ddccbdbd7148da32507a2 | [
"MIT"
] | 2 | 2015-11-19T11:28:43.000Z | 2020-05-05T09:25:50.000Z | src/SoyH264.cpp | SoylentGraham/ofxSoylent | 69ed35ba58e51f381c6ddccbdbd7148da32507a2 | [
"MIT"
] | 4 | 2017-01-06T06:09:34.000Z | 2019-06-25T17:12:29.000Z | #include "SoyH264.h"
size_t H264::GetNaluLengthSize(SoyMediaFormat::Type Format)
{
switch ( Format )
{
case SoyMediaFormat::H264_8: return 1;
case SoyMediaFormat::H264_16: return 2;
case SoyMediaFormat::H264_32: return 4;
case SoyMediaFormat::H264_ES:
case SoyMediaFormat::H264_SPS_ES:
case SoyMedia... | 24.613851 | 180 | 0.689432 | SoylentGraham |
ee21f0cae9e347454c2aa5d8b983bdcf05f4ed7e | 3,403 | hpp | C++ | native/Vendor/vmmlib/matrix_functors.hpp | aholkner/bacon | edf3810dcb211942d392a8637945871399b0650d | [
"MIT"
] | 37 | 2015-01-29T17:42:11.000Z | 2021-12-14T22:11:33.000Z | include/vmmlib/matrix_functors.hpp | rballester/vmmlib | f27d907a0eb81ffaef5bf177796b642f10e96ed3 | [
"BSD-3-Clause"
] | 3 | 2015-08-13T17:38:05.000Z | 2020-09-25T17:21:31.000Z | include/vmmlib/matrix_functors.hpp | rballester/vmmlib | f27d907a0eb81ffaef5bf177796b642f10e96ed3 | [
"BSD-3-Clause"
] | 7 | 2015-02-12T17:54:35.000Z | 2022-01-31T14:50:09.000Z | #ifndef __VMML__MATRIX_FUNCTORS__HPP__
#define __VMML__MATRIX_FUNCTORS__HPP__
#include <vmmlib/enable_if.hpp>
#include <cstddef>
#include <functional>
namespace vmml
{
template< typename T >
struct set_to_zero_functor
{
inline void operator()( T& matrix_ ) const
{
matrix_ = static_cast< typename T::... | 26.379845 | 99 | 0.550984 | aholkner |
ee247eda72fe11875ef120074658af1025ff76d0 | 430 | cpp | C++ | screenbot/Version.cpp | daemon/monkeybot | 50bf65674daefa12bfc002771243360bb1d07481 | [
"Unlicense"
] | null | null | null | screenbot/Version.cpp | daemon/monkeybot | 50bf65674daefa12bfc002771243360bb1d07481 | [
"Unlicense"
] | null | null | null | screenbot/Version.cpp | daemon/monkeybot | 50bf65674daefa12bfc002771243360bb1d07481 | [
"Unlicense"
] | null | null | null | #include "Version.h"
#include <sstream>
namespace {
const int Major = 4;
const int Minor = 2;
const int Revision = 2;
} // ns
int Version::GetMajor() {
return Major;
}
int Version::GetMinor() {
return Minor;
}
int Version::GetRevision() {
return Revision;
}
std::string Version::GetString() {
std... | 13.870968 | 66 | 0.604651 | daemon |
ee2558736f67f98320f4a67ae05e011c302fc1ea | 7,724 | cpp | C++ | src/repast_hpc/GridComponents.cpp | etri/dtsim | 927c8e05c08c74ed376ec233ff677cd35b29e6f0 | [
"BSD-3-Clause"
] | null | null | null | src/repast_hpc/GridComponents.cpp | etri/dtsim | 927c8e05c08c74ed376ec233ff677cd35b29e6f0 | [
"BSD-3-Clause"
] | null | null | null | src/repast_hpc/GridComponents.cpp | etri/dtsim | 927c8e05c08c74ed376ec233ff677cd35b29e6f0 | [
"BSD-3-Clause"
] | null | null | null | /*
* Repast for High Performance Computing (Repast HPC)
*
* Copyright (c) 2010 Argonne National Laboratory
* All rights reserved.
*
* Redistribution and use in source and binary forms, with
* or without modification, are permitted provided that the following
* conditions are met:
*
* Redistrib... | 39.814433 | 142 | 0.684878 | etri |
ee270da9bd3331a6f82ae623113725a2f3c02b10 | 4,359 | cpp | C++ | src/interpolation.cpp | NChechulin/spline-interpolation | 34333b885c435d5dfd1ab892a9cc8a79e016c448 | [
"MIT"
] | 1 | 2021-04-26T14:15:20.000Z | 2021-04-26T14:15:20.000Z | src/interpolation.cpp | NChechulin/spline-interpolation | 34333b885c435d5dfd1ab892a9cc8a79e016c448 | [
"MIT"
] | null | null | null | src/interpolation.cpp | NChechulin/spline-interpolation | 34333b885c435d5dfd1ab892a9cc8a79e016c448 | [
"MIT"
] | null | null | null | #include "interpolation.h"
#include <QTextStream>
#include <cmath>
#include <fstream>
#include <vector>
#include "polynomial.h"
const double EPS = 1e-6;
Interpolation Interpolation::FromFile(QString path) {
Interpolation result;
QFile file(path);
if (!file.open(QIODevice::ReadOnly)) {
throw std::runtime_er... | 28.677632 | 83 | 0.561367 | NChechulin |
ee28152ca589510f65d2def7dd44083bfdc1b6d9 | 6,022 | hpp | C++ | file/Json.hpp | CltKitakami/MyLib | d2dc4fb06ea5c3379a1818b49b0ecf13f8cd2b36 | [
"MIT"
] | null | null | null | file/Json.hpp | CltKitakami/MyLib | d2dc4fb06ea5c3379a1818b49b0ecf13f8cd2b36 | [
"MIT"
] | null | null | null | file/Json.hpp | CltKitakami/MyLib | d2dc4fb06ea5c3379a1818b49b0ecf13f8cd2b36 | [
"MIT"
] | null | null | null | #ifndef _JSON_HPP_
#define _JSON_HPP_
#include <string>
#include <vector>
#include <list>
#include <map>
#include "common/Exception.hpp"
class JsonArray;
class JsonArrayAst;
class JsonObject;
class JsonObjectAst;
class JsonValue
{
public:
typedef enum Type
{
NULL_VALUE,
STRING,
NUMBER,
OBJECT,
ARRAY,
... | 23.615686 | 93 | 0.688808 | CltKitakami |
ee292895582131c9ff656d470b7f901ba9b47436 | 7,004 | cc | C++ | components/data_reduction_proxy/core/browser/data_reduction_proxy_settings_test_utils.cc | hefen1/chromium | 52f0b6830e000ca7c5e9aa19488af85be792cc88 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | components/data_reduction_proxy/core/browser/data_reduction_proxy_settings_test_utils.cc | hefen1/chromium | 52f0b6830e000ca7c5e9aa19488af85be792cc88 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | components/data_reduction_proxy/core/browser/data_reduction_proxy_settings_test_utils.cc | hefen1/chromium | 52f0b6830e000ca7c5e9aa19488af85be792cc88 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2020-04-04T13:34:56.000Z | 2020-11-04T07:17:52.000Z | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/data_reduction_proxy/core/browser/data_reduction_proxy_settings_test_utils.h"
#include "base/bind.h"
#include "base/command_line.h"
... | 42.192771 | 102 | 0.740148 | hefen1 |
0c52afb65946ecefbb56205bb4925d7ef3b1745b | 7,371 | cpp | C++ | interpreter/assert.cpp | istvan-vonfedak/TuringMachines | 8a8b5f40349974d43a4b608b105162a984316746 | [
"MIT"
] | 1 | 2019-03-13T14:03:30.000Z | 2019-03-13T14:03:30.000Z | interpreter/assert.cpp | istvan-vonfedak/TuringMachines | 8a8b5f40349974d43a4b608b105162a984316746 | [
"MIT"
] | null | null | null | interpreter/assert.cpp | istvan-vonfedak/TuringMachines | 8a8b5f40349974d43a4b608b105162a984316746 | [
"MIT"
] | null | null | null | #include "assert.hpp"
// assert arguments
void assertArguments(const int & argc, char * argv[])
{ if( argc < 3 || argc > 4 || ( argc == 4 && strncmp("-f", argv[2], 2) != 0) )
{ fprintf(stderr, MAG "Usage" RST ": %s ", argv[0]);
fprintf(stderr, CYN "<TM-file-name> <input-string>\n" RST);
fprintf(stderr, MAG ... | 41.644068 | 82 | 0.609144 | istvan-vonfedak |
0c5387e3cc3b310ac61a54a682a74767df2ea966 | 4,385 | hpp | C++ | Tools/RegistersGenerator/GD32VF103/timer6registers.hpp | snorkysnark/CortexLib | 0db035332ebdfbebf21ca36e5e04b78a5a908a49 | [
"MIT"
] | 22 | 2019-09-07T22:38:01.000Z | 2022-01-31T21:35:55.000Z | Tools/RegistersGenerator/GD32VF103/timer6registers.hpp | snorkysnark/CortexLib | 0db035332ebdfbebf21ca36e5e04b78a5a908a49 | [
"MIT"
] | null | null | null | Tools/RegistersGenerator/GD32VF103/timer6registers.hpp | snorkysnark/CortexLib | 0db035332ebdfbebf21ca36e5e04b78a5a908a49 | [
"MIT"
] | 9 | 2019-09-22T11:26:24.000Z | 2022-03-21T10:53:15.000Z | /*******************************************************************************
* Filename : timer6registers.hpp
*
* Details : Basic-timers. This header file is auto-generated for GD32VF103
* device.
*
*
*******************************************************************************/
#if !d... | 37.801724 | 107 | 0.692132 | snorkysnark |
0c55e9e51ffaac383d022c1369ed85c421e1fac6 | 1,049 | cpp | C++ | C++/InfoArena/Arhiva probleme/Proc2/proc2.cpp | Nicu-Ducal/Competitive-Programming | c84126a4cb701b0764664db490b7e594495c8592 | [
"MIT"
] | null | null | null | C++/InfoArena/Arhiva probleme/Proc2/proc2.cpp | Nicu-Ducal/Competitive-Programming | c84126a4cb701b0764664db490b7e594495c8592 | [
"MIT"
] | null | null | null | C++/InfoArena/Arhiva probleme/Proc2/proc2.cpp | Nicu-Ducal/Competitive-Programming | c84126a4cb701b0764664db490b7e594495c8592 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#define debug(x) cerr << #x << " = " << x << "\n"
#define all(x) (x).begin(),(x).end()
#define len length()
#define sz size()
#define pb push_back
#define fi first
#define se second
#define pii pair<int,int>
#define pll pair<ll,ll>
using ull = unsigned long long;
using ll = long long;
using na... | 23.840909 | 56 | 0.540515 | Nicu-Ducal |
0c59ba46535808e6bd217c32f0bb21881cff3fe2 | 1,397 | cpp | C++ | 28. Codechef Problems/CodeChef/CCSTART2/CodeChef_Is Both Or Not_Solved.cpp | Ujjawalgupta42/Hacktoberfest2021-DSA | eccd9352055085973e3d6a1feb10dd193905584b | [
"MIT"
] | 225 | 2021-10-01T03:09:01.000Z | 2022-03-11T11:32:49.000Z | 28. Codechef Problems/CodeChef/CCSTART2/CodeChef_Is Both Or Not_Solved.cpp | Ujjawalgupta42/Hacktoberfest2021-DSA | eccd9352055085973e3d6a1feb10dd193905584b | [
"MIT"
] | 252 | 2021-10-01T03:45:20.000Z | 2021-12-07T18:32:46.000Z | 28. Codechef Problems/CodeChef/CCSTART2/CodeChef_Is Both Or Not_Solved.cpp | Ujjawalgupta42/Hacktoberfest2021-DSA | eccd9352055085973e3d6a1feb10dd193905584b | [
"MIT"
] | 911 | 2021-10-01T02:55:19.000Z | 2022-02-06T09:08:37.000Z | /* -------------------------------------------------------------------------- */
/* Is Both Or Not Problem Code: ISBOTH */
/* -------------------------------------------------------------------------- */
/**You're given a number N. If N is divisible by 5 or 11 but not both th... | 24.086207 | 105 | 0.448103 | Ujjawalgupta42 |
0c5e0e1cdf9b55d1890f9b0dd80b2c34c550d4e7 | 4,139 | cpp | C++ | src-qt5/gui_client/NewConnectionWizard.cpp | yamajun/sysadm-ui-qt | e472d2ead74b3ea1774ae53ba486becc2fd0ba8c | [
"BSD-2-Clause"
] | null | null | null | src-qt5/gui_client/NewConnectionWizard.cpp | yamajun/sysadm-ui-qt | e472d2ead74b3ea1774ae53ba486becc2fd0ba8c | [
"BSD-2-Clause"
] | null | null | null | src-qt5/gui_client/NewConnectionWizard.cpp | yamajun/sysadm-ui-qt | e472d2ead74b3ea1774ae53ba486becc2fd0ba8c | [
"BSD-2-Clause"
] | null | null | null | //===========================================
// PC-BSD source code
// Copyright (c) 2016, PC-BSD Software/iXsystems
// Available under the 3-clause BSD license
// See the LICENSE file for full details
//===========================================
#include "NewConnectionWizard.h"
#include "ui_NewConnectionWizard.h"... | 38.682243 | 127 | 0.695095 | yamajun |
0c5e3aa49b9a7c1215e16b15156836dbc2b0291e | 2,547 | tpp | C++ | util/vecs.tpp | Mogami95/GMiner | d80c0fbad2f860d8cf1585440b57a2637993fb42 | [
"Apache-2.0"
] | 64 | 2018-05-15T01:57:55.000Z | 2021-12-14T01:49:18.000Z | util/vecs.tpp | Mogami95/GMiner | d80c0fbad2f860d8cf1585440b57a2637993fb42 | [
"Apache-2.0"
] | 3 | 2019-11-28T12:10:09.000Z | 2021-11-03T15:16:06.000Z | util/vecs.tpp | Mogami95/GMiner | d80c0fbad2f860d8cf1585440b57a2637993fb42 | [
"Apache-2.0"
] | 24 | 2018-05-15T01:57:22.000Z | 2021-11-24T14:09:14.000Z | //Copyright 2018 Husky Data Lab, CUHK
//Authors: Hongzhi Chen, Miao Liu
template <class KeyT, class MessageT>
MsgPair<KeyT, MessageT>::MsgPair()
{
}
template <class KeyT, class MessageT>
MsgPair<KeyT, MessageT>::MsgPair(KeyT v1, MessageT v2)
{
key = v1;
msg = v2;
}
template <class KeyT, class MessageT>
inline boo... | 21.403361 | 90 | 0.638398 | Mogami95 |
0c5f4788784a52924e4bb52b314a86844da55221 | 4,448 | cpp | C++ | src/trashboy3k.cpp | nlang/tb3k | 6e19b47147081f2a68443e5b29861faee67dbe09 | [
"MIT"
] | null | null | null | src/trashboy3k.cpp | nlang/tb3k | 6e19b47147081f2a68443e5b29861faee67dbe09 | [
"MIT"
] | null | null | null | src/trashboy3k.cpp | nlang/tb3k | 6e19b47147081f2a68443e5b29861faee67dbe09 | [
"MIT"
] | null | null | null | #include "trashboy3k.h"
#define FLASH_LED_PIN 10
#define SPEAKER_PIN 9
#define OLED_DISPLAY_TYPE &SH1106_128x64
#define OLED_I2C_ADDRESS 0x3C // I2C address of OLED display
#define EEPROM_DATE_AREA_START 512
#define MAX_NUMBER_OF_DATES_IN_MEMORY 10
#define ACK_TRASHOUT_DATE_INTERRUPT_PIN 3
#define ACK_TRASHOUT_DATE_IN... | 26.634731 | 115 | 0.682554 | nlang |
0c5f7371a6b527095e8d56194ab87a6669ddf256 | 9,057 | cpp | C++ | examples/qmag/qmag.cpp | sandsmark/qt1 | e62eef42291be80065a7f824530aa42b79917a8d | [
"Xnet",
"X11"
] | 18 | 2018-02-16T16:57:26.000Z | 2022-02-10T21:23:47.000Z | examples/qmag/qmag.cpp | sandsmark/qt1 | e62eef42291be80065a7f824530aa42b79917a8d | [
"Xnet",
"X11"
] | 2 | 2018-08-12T12:46:38.000Z | 2020-06-19T16:30:06.000Z | examples/qmag/qmag.cpp | sandsmark/qt1 | e62eef42291be80065a7f824530aa42b79917a8d | [
"Xnet",
"X11"
] | 7 | 2018-06-22T01:17:58.000Z | 2021-09-02T21:05:28.000Z | /****************************************************************************
** $Id: qmag.cpp,v 2.16 1998/06/16 11:39:34 warwick Exp $
**
** Copyright (C) 1992-1998 Troll Tech AS. All rights reserved.
**
** This file is part of an example program for Qt. This example
** program may be used, distributed and modified ... | 24.813699 | 78 | 0.581208 | sandsmark |
0c62eea35cd74d38e66ae17fb6b3666ce849f624 | 8,085 | cpp | C++ | component/oai-smf/src/api-server/impl/IndividualSMContextApiImpl.cpp | kukkalli/oai-cn5g-fed | 15634fac935ac8671b61654bdf75bf8af07d3c3a | [
"Apache-2.0"
] | null | null | null | component/oai-smf/src/api-server/impl/IndividualSMContextApiImpl.cpp | kukkalli/oai-cn5g-fed | 15634fac935ac8671b61654bdf75bf8af07d3c3a | [
"Apache-2.0"
] | null | null | null | component/oai-smf/src/api-server/impl/IndividualSMContextApiImpl.cpp | kukkalli/oai-cn5g-fed | 15634fac935ac8671b61654bdf75bf8af07d3c3a | [
"Apache-2.0"
] | null | null | null | /**
* Nsmf_PDUSession
* SMF PDU Session Service. © 2019, 3GPP Organizational Partners (ARIB, ATIS,
* CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
*
* The version of the OpenAPI document: 1.1.0.alpha-1
*
*
* NOTE: This class is auto generated by OpenAPI Generator
* (https://openapi-generator.tech). https:... | 41.891192 | 81 | 0.739518 | kukkalli |
0c643b724e962346eda2ddbfabbcf7c987c5aec9 | 3,713 | cpp | C++ | tools/viewer/SkottieSlide2.cpp | ndsol/subskia | 9a8f6e5ffc6676281a4389aa1503ba6c4352eaca | [
"BSD-3-Clause"
] | null | null | null | tools/viewer/SkottieSlide2.cpp | ndsol/subskia | 9a8f6e5ffc6676281a4389aa1503ba6c4352eaca | [
"BSD-3-Clause"
] | null | null | null | tools/viewer/SkottieSlide2.cpp | ndsol/subskia | 9a8f6e5ffc6676281a4389aa1503ba6c4352eaca | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright 2017 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "SkottieSlide.h"
#include "SkAnimTimer.h"
#include "SkCanvas.h"
#include "Skottie.h"
#include "SkOSFile.h"
#include "SkOSPath.h"
#include "SkStream.h"
const int CEL... | 28.782946 | 95 | 0.603016 | ndsol |
0c6fb5886a7222b6db6ecbe337185e41a4950e77 | 1,888 | cxx | C++ | src/Cxx/Filtering/PerlinNoise.cxx | cvandijck/VTKExamples | b6bb89414522afc1467be8a1f0089a37d0c16883 | [
"Apache-2.0"
] | 309 | 2017-05-21T09:07:19.000Z | 2022-03-15T09:18:55.000Z | src/Cxx/Filtering/PerlinNoise.cxx | yijianmingliu/VTKExamples | dc8aac47c4384f9a2de9facbdd1ab3249f62ec99 | [
"Apache-2.0"
] | 379 | 2017-05-21T09:06:43.000Z | 2021-03-29T20:30:50.000Z | src/Cxx/Filtering/PerlinNoise.cxx | yijianmingliu/VTKExamples | dc8aac47c4384f9a2de9facbdd1ab3249f62ec99 | [
"Apache-2.0"
] | 170 | 2017-05-17T14:47:41.000Z | 2022-03-31T13:16:26.000Z | #include <vtkSmartPointer.h>
#include <vtkPolyDataMapper.h>
#include <vtkActor.h>
#include <vtkRenderWindow.h>
#include <vtkRenderer.h>
#include <vtkRenderWindowInteractor.h>
#include <vtkSampleFunction.h>
#include <vtkContourFilter.h>
#include <vtkProperty.h>
#include <vtkCamera.h>
#include <vtkPerlinNoise.h>
int m... | 29.968254 | 64 | 0.748411 | cvandijck |
0c72971cf74ae06ab55dafa05f85171b92cd722e | 8,924 | hpp | C++ | include/real_time_tools/threadsafe/threadsafe_object.hpp | KodlabPenn/real_time_tools | 26e07968ebc51933d8a2a6a8c69ae9dcc289238a | [
"BSD-3-Clause"
] | 4 | 2020-06-07T08:14:09.000Z | 2020-10-19T14:30:02.000Z | include/real_time_tools/threadsafe/threadsafe_object.hpp | KodlabPenn/real_time_tools | 26e07968ebc51933d8a2a6a8c69ae9dcc289238a | [
"BSD-3-Clause"
] | 21 | 2019-09-17T12:05:20.000Z | 2021-07-27T13:45:16.000Z | include/real_time_tools/threadsafe/threadsafe_object.hpp | KodlabPenn/real_time_tools | 26e07968ebc51933d8a2a6a8c69ae9dcc289238a | [
"BSD-3-Clause"
] | 5 | 2019-07-25T22:00:42.000Z | 2021-11-04T18:05:45.000Z | /**
* @file threadsafe_object.hpp
* @author Manuel Wuthrich (manuel.wuthrich@gmail.com)
* @author Maximilien Naveau (maximilien.naveau@gmail.com)
* @brief This file declares templated container for data buffering
* @version 0.1
* @date 2018-11-27
*
* @copyright Copyright (c) 2018
*
*/
#pragma once
#include ... | 23.860963 | 80 | 0.609592 | KodlabPenn |
0c72c41efc704ecbb5da2011ba78e56b0d3e8276 | 472 | hpp | C++ | include/src/DataBase/SuffixSignature.hpp | zeta1999/METL-recursed | 495aaa610eb7a98fa720429ebccf9bb98abc3e55 | [
"Apache-2.0"
] | 10 | 2018-09-09T04:13:12.000Z | 2021-04-20T06:23:11.000Z | include/src/DataBase/SuffixSignature.hpp | zeta1999/METL-recursed | 495aaa610eb7a98fa720429ebccf9bb98abc3e55 | [
"Apache-2.0"
] | 3 | 2018-10-04T01:56:47.000Z | 2020-07-01T15:20:26.000Z | include/src/DataBase/SuffixSignature.hpp | zeta1999/METL-recursed | 495aaa610eb7a98fa720429ebccf9bb98abc3e55 | [
"Apache-2.0"
] | 3 | 2018-09-28T16:04:46.000Z | 2020-01-12T10:55:57.000Z |
#pragma once
#include <string>
#include <vector>
#include <cassert>
#include "src/TypeErasure/TypeEnum.hpp"
#include "src/DataBase/SuffixID.hpp"
#include "src/DataBase/OperationSignature.hpp"
namespace metl
{
namespace internal
{
using SuffixSignature = OperationSignature<SuffixLabel>;
inline SuffixSignatu... | 17.481481 | 94 | 0.733051 | zeta1999 |
0c7a8f4f1325ceba8954140e4dcbd97ad570d2da | 28,994 | cpp | C++ | Source/main.cpp | rajatarora21/ComputerGraphics | 314288d3c7ed4cf1593327bd1ec03b2c5c6306da | [
"MIT"
] | null | null | null | Source/main.cpp | rajatarora21/ComputerGraphics | 314288d3c7ed4cf1593327bd1ec03b2c5c6306da | [
"MIT"
] | null | null | null | Source/main.cpp | rajatarora21/ComputerGraphics | 314288d3c7ed4cf1593327bd1ec03b2c5c6306da | [
"MIT"
] | null | null | null | //
// Yuvraj Singh Athwal(40075586), Rajat Arora(40078146), Zhen Long(27117507), Yiyang Zhou(40046467)
//PA 3
//Lab1, COMP371- https://moodle.concordia.ca/moodle/mod/resource/view.php?id=2306198
//importing required files.
#include "grids.h"
#include "shaderloader.h"
#include "cube.h"
#include "coord.h"
#i... | 34.110588 | 198 | 0.671518 | rajatarora21 |
0c7c8b823c53868261dc861515c7f334ab885366 | 206 | hpp | C++ | include/xnn/layers/pooling.hpp | ktnyt/xdfa | 962ef8f99150556272ff87c7b37494fd87f5fe79 | [
"MIT"
] | null | null | null | include/xnn/layers/pooling.hpp | ktnyt/xdfa | 962ef8f99150556272ff87c7b37494fd87f5fe79 | [
"MIT"
] | null | null | null | include/xnn/layers/pooling.hpp | ktnyt/xdfa | 962ef8f99150556272ff87c7b37494fd87f5fe79 | [
"MIT"
] | null | null | null | #ifndef __XNN_LAYERS_POOLING_HPP__
#define __XNN_LAYERS_POOLING_HPP__
#include "xnn/layers/pooling/average_pooling.hpp"
#include "xnn/layers/pooling/max_pooling.hpp"
#endif // __XNN_LAYERS_POOLING_HPP__
| 25.75 | 49 | 0.839806 | ktnyt |
0c7dba69a42bc938712778de215e1a6ad3cc6de6 | 821 | cpp | C++ | challenge Pattern/Assignment/Assignment4/prob2.1.cpp | sgpritam/DSAlgo | 3e0e6b19d4f8978b2fc3be48195705a285dbdce8 | [
"MIT"
] | 1 | 2020-03-06T21:05:14.000Z | 2020-03-06T21:05:14.000Z | challenge Pattern/Assignment/Assignment4/prob2.1.cpp | sgpritam/DSAlgo | 3e0e6b19d4f8978b2fc3be48195705a285dbdce8 | [
"MIT"
] | 2 | 2020-03-09T05:08:14.000Z | 2020-03-09T05:14:09.000Z | challenge Pattern/Assignment/Assignment4/prob2.1.cpp | sgpritam/DSAlgo | 3e0e6b19d4f8978b2fc3be48195705a285dbdce8 | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int main() {
int n;
cin>>n;
for(int i=1;i<=n/2+1;i++)
{
for(int space=1;space<=n/2-i+1;space++)
{
cout<<" ";
}
for(int j=1;j<=2*i-1;j++)
{
if(j==1 || j==2*i-1)
{
cout<<"*"... | 17.104167 | 47 | 0.267966 | sgpritam |
0c80b87aeabd01d4c58e903d40cad75d47abcb17 | 1,190 | hpp | C++ | src/tools/Opcode.hpp | stfnwong/smips | f305d24e16632b0a4907607386fc9d98f3d389b5 | [
"MIT"
] | null | null | null | src/tools/Opcode.hpp | stfnwong/smips | f305d24e16632b0a4907607386fc9d98f3d389b5 | [
"MIT"
] | null | null | null | src/tools/Opcode.hpp | stfnwong/smips | f305d24e16632b0a4907607386fc9d98f3d389b5 | [
"MIT"
] | null | null | null | /*
* OPCODE
* Opcodes for SMIPS
*
* Stefan Wong 2019
*/
#ifndef __OPCODE_HPP
#define __OPCODE_HPP
#include <cstdint>
#include <string>
#include <vector>
/*
* Opcode
* Represents a single Opcode from the MIPS aseembly language.
* FOr use with Lexer object.
*/
struct Opcode
{
uint32_t instr;
std::... | 18.030303 | 62 | 0.597479 | stfnwong |
0c876c1c227c760ff856b96adf9a78cd92613320 | 132 | cpp | C++ | examples/ittapi/boo.cpp | varphone/hunter | 14a6b9a132d78ed0828497c7e8d9b42951209243 | [
"BSD-2-Clause"
] | 440 | 2019-08-25T13:07:04.000Z | 2022-03-30T21:57:15.000Z | examples/ittapi/boo.cpp | varphone/hunter | 14a6b9a132d78ed0828497c7e8d9b42951209243 | [
"BSD-2-Clause"
] | 401 | 2019-08-29T08:56:55.000Z | 2022-03-30T12:39:34.000Z | examples/ittapi/boo.cpp | varphone/hunter | 14a6b9a132d78ed0828497c7e8d9b42951209243 | [
"BSD-2-Clause"
] | 162 | 2019-09-02T13:31:36.000Z | 2022-03-30T09:16:54.000Z | #include <ittnotify.h>
int main() {
// pause data collection:
__itt_pause();
// Start data collection
__itt_resume();
}
| 13.2 | 27 | 0.643939 | varphone |
0c8ad14cd0bd5be4b5b0c002eef26b650bbb6e93 | 10,560 | cpp | C++ | eden/fs/win/mount/EdenDispatcher.cpp | jmswen/eden | 5e0b051703fa946cc77fc43004435ae6b20599a1 | [
"BSD-3-Clause"
] | null | null | null | eden/fs/win/mount/EdenDispatcher.cpp | jmswen/eden | 5e0b051703fa946cc77fc43004435ae6b20599a1 | [
"BSD-3-Clause"
] | null | null | null | eden/fs/win/mount/EdenDispatcher.cpp | jmswen/eden | 5e0b051703fa946cc77fc43004435ae6b20599a1 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2016-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
#inc... | 29.662921 | 80 | 0.665246 | jmswen |
0c8b5808bcb5b95335ee6beb8f70aa6f8caa3acb | 713 | cpp | C++ | src/ast/InterfaceMethodDeclaration.cpp | skylang/sky | 518add25e6a101ca2701b3c6bea977b0e76b340e | [
"MIT"
] | 3 | 2020-07-17T05:10:56.000Z | 2020-08-02T22:13:50.000Z | src/ast/InterfaceMethodDeclaration.cpp | skylang/sky | 518add25e6a101ca2701b3c6bea977b0e76b340e | [
"MIT"
] | null | null | null | src/ast/InterfaceMethodDeclaration.cpp | skylang/sky | 518add25e6a101ca2701b3c6bea977b0e76b340e | [
"MIT"
] | null | null | null | // Copyright (c) 2018 Stephan Unverwerth
// This code is licensed under MIT license (See LICENSE for details)
#include "InterfaceMethodDeclaration.h"
#include "Parameter.h"
#include "Expression.h"
#include <sstream>
namespace Sky {
std::string InterfaceMethodDeclaration::getDescription() {
std::stringstr... | 29.708333 | 81 | 0.57784 | skylang |
0c8c08ffb1431cbb77df53ba81390bcefaa2d632 | 81,236 | cpp | C++ | third-party/casadi/casadi/interfaces/blocksqp/blocksqp.cpp | dbdxnuliba/mit-biomimetics_Cheetah | f3b0c0f6a3835d33b7f2f345f00640b3fc256388 | [
"MIT"
] | 8 | 2020-02-18T09:07:48.000Z | 2021-12-25T05:40:02.000Z | third-party/casadi/casadi/interfaces/blocksqp/blocksqp.cpp | geekfeiw/Cheetah-Software | f3b0c0f6a3835d33b7f2f345f00640b3fc256388 | [
"MIT"
] | null | null | null | third-party/casadi/casadi/interfaces/blocksqp/blocksqp.cpp | geekfeiw/Cheetah-Software | f3b0c0f6a3835d33b7f2f345f00640b3fc256388 | [
"MIT"
] | 13 | 2019-08-25T12:32:06.000Z | 2022-03-31T02:38:12.000Z | /*
* This file is part of CasADi.
*
* CasADi -- A symbolic framework for dynamic optimization.
* Copyright (C) 2010-2014 Joel Andersson, Joris Gillis, Moritz Diehl,
* K.U. Leuven. All rights reserved.
* Copyright (C) 2011-2014 Greg Horn
*
* CasADi is free software; you ... | 32.40367 | 100 | 0.575324 | dbdxnuliba |
0c8c8eaf30b5af04651fec2711ebf9a438a9ecbf | 2,301 | cc | C++ | RAVL2/Math/Optimisation/OptimiseQuadraticCurve.cc | isuhao/ravl2 | 317e0ae1cb51e320b877c3bad6a362447b5e52ec | [
"BSD-Source-Code"
] | null | null | null | RAVL2/Math/Optimisation/OptimiseQuadraticCurve.cc | isuhao/ravl2 | 317e0ae1cb51e320b877c3bad6a362447b5e52ec | [
"BSD-Source-Code"
] | null | null | null | RAVL2/Math/Optimisation/OptimiseQuadraticCurve.cc | isuhao/ravl2 | 317e0ae1cb51e320b877c3bad6a362447b5e52ec | [
"BSD-Source-Code"
] | null | null | null | // This file is part of RAVL, Recognition And Vision Library
// Copyright (C) 2002, 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... | 35.953125 | 79 | 0.735332 | isuhao |
0c8f110b2ec9cb0c87b74374ef7c4cc0a105e7e7 | 2,393 | cpp | C++ | cpp/Classes/models/User.cpp | cfoust/quat | da5b644400327c5c0ab7d1a28755e4c1cb5a57c6 | [
"MIT"
] | 1 | 2021-05-31T00:47:07.000Z | 2021-05-31T00:47:07.000Z | cpp/Classes/models/User.cpp | cfoust/quat | da5b644400327c5c0ab7d1a28755e4c1cb5a57c6 | [
"MIT"
] | null | null | null | cpp/Classes/models/User.cpp | cfoust/quat | da5b644400327c5c0ab7d1a28755e4c1cb5a57c6 | [
"MIT"
] | 1 | 2019-12-25T02:10:32.000Z | 2019-12-25T02:10:32.000Z | #include "User.h"
#include <cmath>
#include <algorithm>
namespace QUAT {
using namespace cocos2d;
User::User() {
// Initialize the basic variables
this->puzzlesPlayed = 0;
this->timePlayed = 0;
this->lastShownAd = 0;
this->showAd = false;
this->paid = true;
this->playingEndless = true;
// Load the dic... | 20.991228 | 71 | 0.696197 | cfoust |
0c95bbd929b0ba29c2527274d0de1f7f60b78716 | 3,634 | cpp | C++ | src/SonicWorlds.cpp | luksamuk/CWorlds | f1a7e7aa72ad91c4e00f12eba47e329fa22cd128 | [
"CC-BY-4.0"
] | 3 | 2016-09-02T16:13:43.000Z | 2017-08-14T21:35:14.000Z | src/SonicWorlds.cpp | luksamuk/CWorlds | f1a7e7aa72ad91c4e00f12eba47e329fa22cd128 | [
"CC-BY-4.0"
] | null | null | null | src/SonicWorlds.cpp | luksamuk/CWorlds | f1a7e7aa72ad91c4e00f12eba47e329fa22cd128 | [
"CC-BY-4.0"
] | null | null | null | // SonicWorlds.cpp
// Main code file
#include "SonicWorlds.hpp"
// class SW_Window
SDL_Window* SW_Window::m_window;
SDL_GLContext SW_Window::m_glcontext,
SW_Window::m_loadcontext;
void SW_Window::init(string name, bool vsync)
{
int winsize_x = 800,
winsize_y = 600;
// Create a window
m_windo... | 23 | 75 | 0.704183 | luksamuk |
0c962a18f8cfd517e942eea403312fa83f246c86 | 6,162 | cpp | C++ | QSynthesis/Frontend/Tabs/Tuning/Editor/Modules/FindReplaceDialog.cpp | SineStriker/QSynthesis-Old | 7b96f2d1292a4a57de6e1c50d4df2a57bfe2bc5d | [
"MIT"
] | 3 | 2021-12-08T05:30:52.000Z | 2021-12-18T10:46:49.000Z | QSynthesis/Frontend/Tabs/Tuning/Editor/Modules/FindReplaceDialog.cpp | QSynthesis/QSynthesis-Old | 7b96f2d1292a4a57de6e1c50d4df2a57bfe2bc5d | [
"MIT"
] | null | null | null | QSynthesis/Frontend/Tabs/Tuning/Editor/Modules/FindReplaceDialog.cpp | QSynthesis/QSynthesis-Old | 7b96f2d1292a4a57de6e1c50d4df2a57bfe2bc5d | [
"MIT"
] | null | null | null | #include "FindReplaceDialog.h"
FindReplaceDialog::FindReplaceDialog(QWidget *parent) : TransparentContainer(parent) {
m_current = 0;
m_total = 0;
mainLayout = new QGridLayout(this);
mainLayout->setVerticalSpacing(10);
findEdit = new FixedLineEdit();
replaceEdit = new FixedLineEdit();
fin... | 29.066038 | 100 | 0.708536 | SineStriker |
0c9be8bf8c8c8e849788107a267df066f7ee8212 | 228 | hpp | C++ | dynamic/wrappers/cell_based/FarhadifarForce2.cppwg.hpp | jmsgrogan/PyChaste | 48a9863d2c941c71e47ecb72e917b477ba5c1413 | [
"FTL"
] | 6 | 2017-02-04T16:10:53.000Z | 2021-07-01T08:03:16.000Z | dynamic/wrappers/cell_based/FarhadifarForce2.cppwg.hpp | jmsgrogan/PyChaste | 48a9863d2c941c71e47ecb72e917b477ba5c1413 | [
"FTL"
] | 6 | 2017-06-22T08:50:41.000Z | 2019-12-15T20:17:29.000Z | dynamic/wrappers/cell_based/FarhadifarForce2.cppwg.hpp | jmsgrogan/PyChaste | 48a9863d2c941c71e47ecb72e917b477ba5c1413 | [
"FTL"
] | 3 | 2017-05-15T21:33:58.000Z | 2019-10-27T21:43:07.000Z | #ifndef FarhadifarForce2_hpp__pyplusplus_wrapper
#define FarhadifarForce2_hpp__pyplusplus_wrapper
namespace py = pybind11;
void register_FarhadifarForce2_class(py::module &m);
#endif // FarhadifarForce2_hpp__pyplusplus_wrapper
| 32.571429 | 52 | 0.877193 | jmsgrogan |
0c9d816519d3dad3e6ab7306958464af0aa9d817 | 3,077 | cpp | C++ | Mysql/storage/ndb/nodejs/Adapter/impl/ndb/src/BlobHandler.cpp | clockzhong/WrapLAMP | fa7ad07da3f1759e74966a554befa47bbbbb8dd5 | [
"Apache-2.0"
] | 1 | 2015-12-24T16:44:50.000Z | 2015-12-24T16:44:50.000Z | Mysql/storage/ndb/nodejs/Adapter/impl/ndb/src/BlobHandler.cpp | clockzhong/WrapLAMP | fa7ad07da3f1759e74966a554befa47bbbbb8dd5 | [
"Apache-2.0"
] | 1 | 2015-12-24T18:23:56.000Z | 2015-12-24T18:24:26.000Z | Mysql/storage/ndb/nodejs/Adapter/impl/ndb/src/BlobHandler.cpp | clockzhong/WrapLAMP | fa7ad07da3f1759e74966a554befa47bbbbb8dd5 | [
"Apache-2.0"
] | null | null | null | /*
Copyright (c) 2014, 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
as published by the Free Software Foundation; version 2 of
the License.
This program is distributed in the hope t... | 26.299145 | 79 | 0.697433 | clockzhong |
0ca1581c71904194f6785936011967773f81bb97 | 1,737 | cpp | C++ | source/ggeometry/gcoordinate.cpp | birderyu/CSystem | c7c9034b7eb660c0dcd17d51002f4d83080b88b4 | [
"Apache-2.0"
] | 2 | 2016-07-30T04:55:39.000Z | 2016-08-02T08:18:46.000Z | source/ggeometry/gcoordinate.cpp | birderyu/gsystem | c7c9034b7eb660c0dcd17d51002f4d83080b88b4 | [
"Apache-2.0"
] | null | null | null | source/ggeometry/gcoordinate.cpp | birderyu/gsystem | c7c9034b7eb660c0dcd17d51002f4d83080b88b4 | [
"Apache-2.0"
] | null | null | null | #include "gcoordinate.h"
#include "GCore/gnew.h"
#ifdef G_GEOMETRY_HAS_Z
# define G_COORDINATE_X m_tCoord[0]
# define G_COORDINATE_Y m_tCoord[1]
# define G_COORDINATE_Z m_tCoord[2]
#else // !G_GEOMETRY_HAS_Z
greal _G_COORDINATE_z_ = 0;
# define G_COORDINATE_X m_tCoord[0]
# define G_COORDINATE_Y m_tCoord[1]
# define G_... | 17.029412 | 71 | 0.750144 | birderyu |
0ca33a5c22fda1855e6df955b3d2d0cb74e40ef6 | 391 | cpp | C++ | plugin/assimp/library_main.cpp | nomadsinteractive/ark | 52f84c6dbd5ca6bdd07d450b3911be1ffd995922 | [
"Apache-2.0"
] | 5 | 2018-03-28T09:14:55.000Z | 2018-04-02T11:54:33.000Z | plugin/assimp/library_main.cpp | nomadsinteractive/ark | 52f84c6dbd5ca6bdd07d450b3911be1ffd995922 | [
"Apache-2.0"
] | null | null | null | plugin/assimp/library_main.cpp | nomadsinteractive/ark | 52f84c6dbd5ca6bdd07d450b3911be1ffd995922 | [
"Apache-2.0"
] | null | null | null | #include "core/base/plugin.h"
#include "core/ark.h"
#include "core/base/api.h"
#include "core/base/plugin_manager.h"
#include "core/types/shared_ptr.h"
#include "generated/assimp_plugin.h"
using namespace ark;
using namespace ark::plugin::assimp;
extern "C" ARK_API Plugin* __ark_assimp_initialize__(Ark&);
Plugin* ... | 20.578947 | 59 | 0.754476 | nomadsinteractive |
0ca4ec4451f28d72b617dcdc80bf599cc05d596f | 331 | cpp | C++ | ProgrammingInLua/chapters27_capi/demo3/main.cpp | MDGSF/LuaPractice | 69e788d7c28f6a07a381a53c6d294829348aa4ec | [
"MIT"
] | null | null | null | ProgrammingInLua/chapters27_capi/demo3/main.cpp | MDGSF/LuaPractice | 69e788d7c28f6a07a381a53c6d294829348aa4ec | [
"MIT"
] | null | null | null | ProgrammingInLua/chapters27_capi/demo3/main.cpp | MDGSF/LuaPractice | 69e788d7c28f6a07a381a53c6d294829348aa4ec | [
"MIT"
] | null | null | null | #include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "lua.hpp"
int foo(lua_State *L) { return 0; }
int secure_foo(lua_State *L) {
lua_pushcfunction(L, foo);
return (lua_pcall(L, 0, 0, 0) == 0);
}
int main() {
lua_State *L = luaL_newstate(); // opens Lua
lua_close(L);
r... | 15.761905 | 47 | 0.634441 | MDGSF |
0ca65de3b6d4fe81148de61559e9529bc329a18f | 10,630 | cpp | C++ | PosixTimespec_test/PosixTimespec_test.cpp | leighgarbs/toolbox | fd9ceada534916fa8987cfcb5220cece2188b304 | [
"MIT"
] | null | null | null | PosixTimespec_test/PosixTimespec_test.cpp | leighgarbs/toolbox | fd9ceada534916fa8987cfcb5220cece2188b304 | [
"MIT"
] | null | null | null | PosixTimespec_test/PosixTimespec_test.cpp | leighgarbs/toolbox | fd9ceada534916fa8987cfcb5220cece2188b304 | [
"MIT"
] | null | null | null | #include <iostream>
#include <time.h>
#include <vector>
#include "PosixTimespec_test.hpp"
#include "PosixTimespec.hpp"
#include "Test.hpp"
#include "TestCases.hpp"
#include "TestMacros.hpp"
TEST_PROGRAM_MAIN(PosixTimespec_test);
//==============================================================================
void P... | 32.31003 | 80 | 0.522201 | leighgarbs |
0ca8efe7daa5a13ef26181e08cd52b5a23f304fb | 10,393 | cpp | C++ | Source/IO/NCCheckpoint.cpp | etpalmer63/ERF | 88a3969ae93aae5b9d1416217df9051da476114e | [
"BSD-3-Clause-LBNL"
] | null | null | null | Source/IO/NCCheckpoint.cpp | etpalmer63/ERF | 88a3969ae93aae5b9d1416217df9051da476114e | [
"BSD-3-Clause-LBNL"
] | null | null | null | Source/IO/NCCheckpoint.cpp | etpalmer63/ERF | 88a3969ae93aae5b9d1416217df9051da476114e | [
"BSD-3-Clause-LBNL"
] | null | null | null | #include <ERF.H>
#include <NCInterface.H>
#include <AMReX_PlotFileUtil.H>
using namespace amrex;
void
ERF::WriteNCCheckpointFile () const
{
// checkpoint file name, e.g., chk00010
const std::string& checkpointname = amrex::Concatenate(check_file,istep[0],5);
amrex::Print() << "Writing NetCDF checkpoint "... | 43.852321 | 101 | 0.620995 | etpalmer63 |
0ca9e8d598056fbe8c5fe6853b7646c56cc9445d | 1,034 | cpp | C++ | Source/NdiMediaEditor/Private/Factories/NdiMediaFinderFactoryNew.cpp | Twentystudios/NdiMedia | 4cc842c11940fbd2062cb940cce1e49ff5bea453 | [
"BSD-3-Clause"
] | 101 | 2016-08-05T10:33:42.000Z | 2022-03-11T13:10:28.000Z | Source/NdiMediaEditor/Private/Factories/NdiMediaFinderFactoryNew.cpp | Twentystudios/NdiMedia | 4cc842c11940fbd2062cb940cce1e49ff5bea453 | [
"BSD-3-Clause"
] | 35 | 2016-10-03T14:35:25.000Z | 2021-03-25T05:18:34.000Z | Source/NdiMediaEditor/Private/Factories/NdiMediaFinderFactoryNew.cpp | Twentystudios/NdiMedia | 4cc842c11940fbd2062cb940cce1e49ff5bea453 | [
"BSD-3-Clause"
] | 34 | 2016-08-19T15:34:55.000Z | 2021-12-08T14:42:33.000Z | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#include "NdiMediaFinderFactoryNew.h"
#include "AssetTypeCategories.h"
#include "NdiMediaFinder.h"
/* UNdiMediaFinderFactoryNew structors
*****************************************************************************/
UNdiMediaFinderFactoryNew::UNdiMedia... | 25.85 | 164 | 0.678917 | Twentystudios |
0cab53c9531ac6a58961228d5057b37aeb9ad755 | 3,499 | cpp | C++ | src/ThirdParty/Box2D/Lua/Collision/Shapes/PolygonShape.cpp | andoma/rainbow | ed1e70033217450457e52b90276e41a746d5086a | [
"MIT"
] | null | null | null | src/ThirdParty/Box2D/Lua/Collision/Shapes/PolygonShape.cpp | andoma/rainbow | ed1e70033217450457e52b90276e41a746d5086a | [
"MIT"
] | null | null | null | src/ThirdParty/Box2D/Lua/Collision/Shapes/PolygonShape.cpp | andoma/rainbow | ed1e70033217450457e52b90276e41a746d5086a | [
"MIT"
] | 1 | 2018-09-20T19:34:36.000Z | 2018-09-20T19:34:36.000Z | // Copyright (c) 2010-present Bifrost Entertainment AS and Tommy Nguyen
// Distributed under the MIT License.
// (See accompanying file LICENSE or copy at http://opensource.org/licenses/MIT)
#include "ThirdParty/Box2D/Lua/Collision/Shapes/PolygonShape.h"
#include <memory>
#include <Box2D/Collision/Shapes/b2PolygonSh... | 30.163793 | 80 | 0.52415 | andoma |
0cacfb880c05969b886658d21854f8329e526d1f | 6,263 | hpp | C++ | stock_dbf_reader/stock_reader/mysql.hpp | smartdata-x/MarketSys | b4f999fb80b8f2357b75694c2ca94d46190a55f7 | [
"Apache-2.0"
] | null | null | null | stock_dbf_reader/stock_reader/mysql.hpp | smartdata-x/MarketSys | b4f999fb80b8f2357b75694c2ca94d46190a55f7 | [
"Apache-2.0"
] | null | null | null | stock_dbf_reader/stock_reader/mysql.hpp | smartdata-x/MarketSys | b4f999fb80b8f2357b75694c2ca94d46190a55f7 | [
"Apache-2.0"
] | 3 | 2016-10-25T01:56:17.000Z | 2019-06-24T04:45:06.000Z | #ifndef MYSQL_HPP_
#define MYSQL_HPP_
#include <cassert>
#include <cstdint>
#include <cstring>
#include <mysql.h>
#include <string>
#include <tuple>
#include <typeinfo>
#include <utility>
#include <vector>
#include "inpub_binder.hpp"
#include "mysql_exception.hpp"
#include "mysql_prepared_statement.hpp"
#include "ou... | 29.82381 | 82 | 0.724254 | smartdata-x |
0caf3556f4e8aeb0bd63da5b06a2f2ffe22fd226 | 7,087 | cpp | C++ | groups/bsl/bslstl/bslstl_iosfwd.t.cpp | seanbaxter/bde-1 | 149176ebc2ae49c3b563895a7332fe638a760782 | [
"Apache-2.0"
] | 1 | 2022-01-23T11:31:12.000Z | 2022-01-23T11:31:12.000Z | groups/bsl/bslstl/bslstl_iosfwd.t.cpp | seanbaxter/bde-1 | 149176ebc2ae49c3b563895a7332fe638a760782 | [
"Apache-2.0"
] | 2 | 2020-11-05T15:20:55.000Z | 2021-01-05T19:38:43.000Z | groups/bsl/bslstl/bslstl_iosfwd.t.cpp | seanbaxter/bde-1 | 149176ebc2ae49c3b563895a7332fe638a760782 | [
"Apache-2.0"
] | 2 | 2020-01-16T17:58:12.000Z | 2020-08-11T20:59:30.000Z | // bslstl_iosfwd.t.cpp -*-C++-*-
#include <bslstl_iosfwd.h>
#include <bsls_bsltestutil.h>
#include <stdio.h>
#include <stdlib.h>
//=============================================================================
// TEST PLAN
//-----------------... | 40.497143 | 79 | 0.466488 | seanbaxter |
0caf9398d1c7d6488eb8bcf273e9469f33ce18a1 | 2,082 | cc | C++ | src/ctl3d.cc | snmsts/xyzzy | 3291c7898d17f90b1a50c3de1aeb5f9a446d9061 | [
"RSA-MD"
] | 90 | 2015-01-13T13:36:13.000Z | 2022-03-25T12:22:19.000Z | src/ctl3d.cc | wanabe/xyzzy | a43581d9a2033d5c43d99cccfecc8e90aa3915e1 | [
"RSA-MD"
] | 6 | 2015-09-07T17:03:43.000Z | 2019-08-13T12:35:48.000Z | src/ctl3d.cc | wanabe/xyzzy | a43581d9a2033d5c43d99cccfecc8e90aa3915e1 | [
"RSA-MD"
] | 38 | 2015-02-21T13:42:59.000Z | 2022-03-25T12:25:15.000Z | #include "stdafx.h"
#include "sysdep.h"
#include "ctl3d.h"
#include "vfs.h"
static Ctl3d ctl3d;
Ctl3dState Ctl3d::state;
Ctl3d::~Ctl3d ()
{
if (state.registered && state.Unregister)
(*state.Unregister)(state.hinst);
if (state.hlib)
FreeLibrary (state.hlib);
}
void
Ctl3d::enable (HINSTANCE h)
{
if (sys... | 24.785714 | 61 | 0.627281 | snmsts |
0cb0513f28bd47fae2000ccd5f98171296258825 | 13,736 | cpp | C++ | src/elektronika/about.cpp | aestesis/elektronika | 870f72ca7f64942f8316b3cd8f733f43c7d2d117 | [
"Apache-2.0"
] | 14 | 2016-05-09T01:14:03.000Z | 2021-10-12T21:41:02.000Z | src/elektronika/about.cpp | aestesis/elektronika | 870f72ca7f64942f8316b3cd8f733f43c7d2d117 | [
"Apache-2.0"
] | null | null | null | src/elektronika/about.cpp | aestesis/elektronika | 870f72ca7f64942f8316b3cd8f733f43c7d2d117 | [
"Apache-2.0"
] | 6 | 2015-08-19T01:28:54.000Z | 2020-10-25T05:17:08.000Z | /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// ABOUT.CPP (c) YoY'00 WEB: www.aestesis.org
//
//////////... | 30.056893 | 174 | 0.39684 | aestesis |
0cb1fc67cfbbe61ad46e1197e2c8480758321140 | 11,631 | hpp | C++ | src/xsimd_fallback/xsimd_fallback_batch_impl.hpp | thexdesk/HiQsimulator | 0050444a7694de8c287d717d55870d12ff14c5e0 | [
"Apache-2.0"
] | 98 | 2019-07-08T01:41:51.000Z | 2022-03-11T14:51:01.000Z | src/xsimd_fallback/xsimd_fallback_batch_impl.hpp | thexdesk/HiQsimulator | 0050444a7694de8c287d717d55870d12ff14c5e0 | [
"Apache-2.0"
] | 36 | 2019-07-12T01:45:36.000Z | 2021-10-20T02:37:32.000Z | src/xsimd_fallback/xsimd_fallback_batch_impl.hpp | thexdesk/HiQsimulator | 0050444a7694de8c287d717d55870d12ff14c5e0 | [
"Apache-2.0"
] | 40 | 2019-07-10T20:20:29.000Z | 2022-03-11T14:51:20.000Z | // Copyright 2019 <Huawei Technologies Co., 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 ... | 29.004988 | 81 | 0.580861 | thexdesk |
0cb2df04b700296df273dae8ab674ba28ea8bd3d | 8,791 | cpp | C++ | SystemInfo.cpp | knela96/Game-Engine | 06659d933c4447bd8d6c8536af292825ce4c2ab1 | [
"Unlicense"
] | 1 | 2019-11-16T22:01:56.000Z | 2019-11-16T22:01:56.000Z | SystemInfo.cpp | knela96/Game-Engine | 06659d933c4447bd8d6c8536af292825ce4c2ab1 | [
"Unlicense"
] | null | null | null | SystemInfo.cpp | knela96/Game-Engine | 06659d933c4447bd8d6c8536af292825ce4c2ab1 | [
"Unlicense"
] | null | null | null | #include"SystemInfo.h"
namespace Engine {
static sMStats MemoryStats_MMRG;
void RecalculateMemStatisticsFromMMGR() {
MemoryStats_MMRG = m_getMemoryStatistics();
}
SystemInfo::SystemInfo() {
mSoftware_Info.DetectSystemProperties();
mHardware_MemoryInfo.DetectSystemProperties();
mHardware_GPUInfo.DetectSy... | 27.216718 | 220 | 0.730747 | knela96 |
0cb450c25568097ae662d51a102af867ce5a9270 | 902 | cpp | C++ | BkZOOLib/bkzoo/util/StringUtil.cpp | yoichibeer/BkZOO | 3ec97b6d34d0815063ca9d829e452771327101ff | [
"MIT"
] | null | null | null | BkZOOLib/bkzoo/util/StringUtil.cpp | yoichibeer/BkZOO | 3ec97b6d34d0815063ca9d829e452771327101ff | [
"MIT"
] | null | null | null | BkZOOLib/bkzoo/util/StringUtil.cpp | yoichibeer/BkZOO | 3ec97b6d34d0815063ca9d829e452771327101ff | [
"MIT"
] | null | null | null | /*
* BkZOO!
*
* Copyright 2011-2017 yoichibeer.
* Released under the MIT license.
*/
#include "StringUtil.h"
#include <sstream>
#include <ctime>
using namespace bkzoo;
namespace bkzoo
{
namespace util
{
std::string stringFromTime()
{
const time_t now = time(nullptr);
... | 22.55 | 97 | 0.486696 | yoichibeer |
0cb9b423042546198ac82f0c23a68e8773e7a9cb | 134 | cpp | C++ | WYMIANA - Zamiana miejsc/WYMIANA - Zamiana miejsc/main.cpp | wdsking/PolskiSpoj | aaa1128b0499f4e4e46405ff3ef2beec0127d0c0 | [
"MIT"
] | null | null | null | WYMIANA - Zamiana miejsc/WYMIANA - Zamiana miejsc/main.cpp | wdsking/PolskiSpoj | aaa1128b0499f4e4e46405ff3ef2beec0127d0c0 | [
"MIT"
] | null | null | null | WYMIANA - Zamiana miejsc/WYMIANA - Zamiana miejsc/main.cpp | wdsking/PolskiSpoj | aaa1128b0499f4e4e46405ff3ef2beec0127d0c0 | [
"MIT"
] | 2 | 2019-04-16T20:05:44.000Z | 2020-11-15T11:44:30.000Z | #include<stdio.h>
int main()
{
int x, y;
scanf("%d %d", &x, &y);
x += y;
y = x - y;
x -= y;
printf("%d %d", x, y);
return 0;
} | 11.166667 | 24 | 0.432836 | wdsking |
0cbbf656e6d6e3b7e62906f2259f976844885010 | 1,356 | cpp | C++ | include/MenuItemSDUpdater.cpp | beNative/M5Stack-Concepts | dfebc3d633bc4519021b15371e69c4a76e5cef65 | [
"Apache-2.0"
] | null | null | null | include/MenuItemSDUpdater.cpp | beNative/M5Stack-Concepts | dfebc3d633bc4519021b15371e69c4a76e5cef65 | [
"Apache-2.0"
] | null | null | null | include/MenuItemSDUpdater.cpp | beNative/M5Stack-Concepts | dfebc3d633bc4519021b15371e69c4a76e5cef65 | [
"Apache-2.0"
] | 1 | 2021-02-28T08:45:20.000Z | 2021-02-28T08:45:20.000Z | #include "MenuItemSDUpdater.h"
#include <M5StackUpdater.h> // https://github.com/tobozo/M5Stack-SD-Updater/
#include <SD.h>
#undef min
#include <algorithm>
static SDUpdater sdUpdater;
void MenuItemSDUpdater::onEnter() {
if (!name.length()) {
// SDのルートフォルダから *.bin ファイルを探す。
deleteItems();
SD.begin();
... | 23.789474 | 78 | 0.601032 | beNative |
0cbcba69300f9ba57f4ccd06e03054f74079fc93 | 11,275 | hpp | C++ | libformula/Headers/formula/Scanner.hpp | purefunsolutions/ember-plus | d022732f2533ad697238c6b5210d7fc3eb231bfc | [
"BSL-1.0"
] | 78 | 2015-07-31T14:46:38.000Z | 2022-03-28T09:28:28.000Z | libformula/Headers/formula/Scanner.hpp | purefunsolutions/ember-plus | d022732f2533ad697238c6b5210d7fc3eb231bfc | [
"BSL-1.0"
] | 81 | 2015-08-03T07:58:19.000Z | 2022-02-28T16:21:19.000Z | libformula/Headers/formula/Scanner.hpp | purefunsolutions/ember-plus | d022732f2533ad697238c6b5210d7fc3eb231bfc | [
"BSL-1.0"
] | 49 | 2015-08-03T12:53:10.000Z | 2022-03-17T17:25:49.000Z | /*
Copyright (C) 2012-2016 Lawo GmbH (http://www.lawo.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)
*/
#ifndef __LIBFORMULA_SCANNER_HPP
#define __LIBFORMULA_SCANNER_HPP
#include <string>
#include <cst... | 37.70903 | 129 | 0.555565 | purefunsolutions |
0cc02d13df35f66d9d939b792fd277139ee47d59 | 2,432 | hpp | C++ | liblogextract/include/logextract/log_data_source.hpp | Parrot-Developers/logger | 250b8e83f2c93434d6f613f1000a6ae9891aa567 | [
"BSD-3-Clause"
] | null | null | null | liblogextract/include/logextract/log_data_source.hpp | Parrot-Developers/logger | 250b8e83f2c93434d6f613f1000a6ae9891aa567 | [
"BSD-3-Clause"
] | null | null | null | liblogextract/include/logextract/log_data_source.hpp | Parrot-Developers/logger | 250b8e83f2c93434d6f613f1000a6ae9891aa567 | [
"BSD-3-Clause"
] | 1 | 2021-03-31T10:04:52.000Z | 2021-03-31T10:04:52.000Z | /**
* Copyright (c) 2019-2020 Parrot Drones SAS
*
* 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 conditions and the fo... | 38 | 80 | 0.757401 | Parrot-Developers |
0cc1da7e2deb9cfc343c619d6ff1ea29c40318e2 | 10,464 | tcc | C++ | include/dart/packet/object.tcc | Cfretz244/libdart | 987b01aa1f11455ac6aaf89f8e60825e92e6ec25 | [
"Apache-2.0"
] | 85 | 2019-05-09T19:12:25.000Z | 2021-02-07T16:31:55.000Z | include/dart/packet/object.tcc | Cfretz244/libdart | 987b01aa1f11455ac6aaf89f8e60825e92e6ec25 | [
"Apache-2.0"
] | 10 | 2019-05-09T22:37:27.000Z | 2020-03-29T03:25:16.000Z | include/dart/packet/object.tcc | Cfretz244/libdart | 987b01aa1f11455ac6aaf89f8e60825e92e6ec25 | [
"Apache-2.0"
] | 10 | 2019-05-11T08:05:10.000Z | 2020-06-11T11:05:17.000Z | #ifndef DART_PACKET_OBJECT_H
#define DART_PACKET_OBJECT_H
/*----- Project Includes -----*/
#include "../common.h"
/*----- Function Implementations -----*/
namespace dart {
template <template <class> class RefCount>
template <class... Args, class EnableIf>
basic_packet<RefCount> basic_packet<RefCount>::make_o... | 38.189781 | 111 | 0.702886 | Cfretz244 |
0cc99871da16315c53c42ece580d46aeba1c5a43 | 19,647 | cpp | C++ | src/mongo/db/exec/sbe/stages/column_scan.cpp | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | src/mongo/db/exec/sbe/stages/column_scan.cpp | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | src/mongo/db/exec/sbe/stages/column_scan.cpp | benety/mongo | 203430ac9559f82ca01e3cbb3b0e09149fec0835 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright (C) 2022-present MongoDB, Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the Server Side Public License, version 1,
* as published by MongoDB, Inc.
*
* This program is distributed in the hope that it will be useful,
* but W... | 36.586592 | 100 | 0.629816 | benety |
0ccb2bb341daf353139cbb8ce66bf5eaec872959 | 4,648 | cc | C++ | tutorials/examples/simple_receiver_main.cc | isabella232/aistreams | 209f4385425405676a581a749bb915e257dbc1c1 | [
"Apache-2.0"
] | 6 | 2020-09-22T18:07:15.000Z | 2021-10-21T01:34:04.000Z | tutorials/examples/simple_receiver_main.cc | isabella232/aistreams | 209f4385425405676a581a749bb915e257dbc1c1 | [
"Apache-2.0"
] | 2 | 2020-11-10T13:17:39.000Z | 2022-03-30T11:22:14.000Z | tutorials/examples/simple_receiver_main.cc | isabella232/aistreams | 209f4385425405676a581a749bb915e257dbc1c1 | [
"Apache-2.0"
] | 3 | 2020-09-26T08:40:35.000Z | 2021-10-21T01:33:56.000Z | // Copyright 2020 Google LLC
//
// 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 ... | 35.753846 | 80 | 0.70654 | isabella232 |
0cce115e7afb2e0f655c679e6a034ad18d19933f | 4,093 | cpp | C++ | Old/mp3streamer_Plugin/cmpegaudiostreamdecoder.cpp | Harteex/Tuniac | dac98a68c1b801b7fc82874aad16cc8adcabb606 | [
"BSD-3-Clause"
] | 3 | 2022-01-05T08:47:51.000Z | 2022-01-06T12:42:18.000Z | Old/mp3streamer_Plugin/cmpegaudiostreamdecoder.cpp | Harteex/Tuniac | dac98a68c1b801b7fc82874aad16cc8adcabb606 | [
"BSD-3-Clause"
] | null | null | null | Old/mp3streamer_Plugin/cmpegaudiostreamdecoder.cpp | Harteex/Tuniac | dac98a68c1b801b7fc82874aad16cc8adcabb606 | [
"BSD-3-Clause"
] | 1 | 2022-01-06T16:12:58.000Z | 2022-01-06T16:12:58.000Z | /*
* CMpegAudioDecoder.cpp
* audioenginetest
*
* Created by Tony Million on 24/11/2009.
* Copyright 2009 Tony Million. All rights reserved.
*
*/
#include "generaldefs.h"
#include "cmpegaudiostreamdecoder.h"
#include "stdlib.h"
#include "stdio.h"
#include "mpegdecoder.h"
#define FRAMES_FLAG 0x0001
#de... | 21.542105 | 114 | 0.632299 | Harteex |
0cd1bb50d7747313c56f287327c917aa84ebcdfc | 4,660 | cpp | C++ | Programs/ResourceEditor1/Classes/Beast/Private/BeastModule.cpp | typicalMoves/dava.engine | 31625a6ae5f66c372089cbc436ed850102366154 | [
"BSD-3-Clause"
] | 4 | 2021-04-22T05:41:59.000Z | 2021-12-07T20:16:20.000Z | Programs/ResourceEditor1/Classes/Beast/Private/BeastModule.cpp | typicalMoves/dava.engine | 31625a6ae5f66c372089cbc436ed850102366154 | [
"BSD-3-Clause"
] | null | null | null | Programs/ResourceEditor1/Classes/Beast/Private/BeastModule.cpp | typicalMoves/dava.engine | 31625a6ae5f66c372089cbc436ed850102366154 | [
"BSD-3-Clause"
] | 1 | 2021-10-01T05:17:23.000Z | 2021-10-01T05:17:23.000Z | #include "Classes/Beast/BeastModule.h"
#if defined(__DAVAENGINE_BEAST__)
#include "Classes/Beast/Private/BeastDialog.h"
#include "Classes/Beast/Private/BeastRunner.h"
#include "Classes/Application/REGlobal.h"
#include "Classes/Application/RESettings.h"
#include "Classes/SceneManager/SceneData.h"
#include "Classes/Q... | 32.137931 | 222 | 0.696137 | typicalMoves |
7b4c0900cccfce3a5c05032ae73783bab8cfe010 | 240 | hpp | C++ | CPP_US/src/Engine/Engine.hpp | Basher207/Unity-style-Cpp-engine | 812b0be2c61aea828cfd8c6d6f06f2cf6e889661 | [
"MIT"
] | null | null | null | CPP_US/src/Engine/Engine.hpp | Basher207/Unity-style-Cpp-engine | 812b0be2c61aea828cfd8c6d6f06f2cf6e889661 | [
"MIT"
] | null | null | null | CPP_US/src/Engine/Engine.hpp | Basher207/Unity-style-Cpp-engine | 812b0be2c61aea828cfd8c6d6f06f2cf6e889661 | [
"MIT"
] | null | null | null | #pragma once
//Adds all the relevant headers.
#include "GameObject.hpp"
#include "Camera.hpp"
#include "Input.hpp"
#include "Math.hpp"
#include "MeshRenderer.hpp"
#include "MonoBehaviour.hpp"
#include "Runner.hpp"
#include "Transform.hpp"
| 20 | 32 | 0.75 | Basher207 |
7b4fbc1d7cf44867c7ecb57322ef41a610e79ec8 | 18,027 | cpp | C++ | src/ED/LineSegment.cpp | yuki-inaho/stag | 89c5c648acae90375fb8ffc4bf9453f1b15cc835 | [
"MIT"
] | 125 | 2017-08-11T06:50:32.000Z | 2022-03-31T13:50:17.000Z | src/ED/LineSegment.cpp | yuki-inaho/stag | 89c5c648acae90375fb8ffc4bf9453f1b15cc835 | [
"MIT"
] | 22 | 2017-07-21T12:37:11.000Z | 2022-03-23T22:42:52.000Z | src/ED/LineSegment.cpp | yuki-inaho/stag | 89c5c648acae90375fb8ffc4bf9453f1b15cc835 | [
"MIT"
] | 26 | 2017-11-13T02:04:57.000Z | 2022-03-31T10:47:04.000Z | #include <stdio.h>
#include <math.h>
#include "LineSegment.h"
///------------------------------------------------------------------
/// Rounds a double number to its closest integer part.
/// E.g., 4.24-->4, 4.78-->5
///
int Round(double d){
return (int)(d+0.5);
} //end-Round
///------------------------... | 26.510294 | 130 | 0.485993 | yuki-inaho |
7b500580fc59dff7526e2bdc0f4b0f8fa7975e67 | 303 | cpp | C++ | libs/locale/build/has_iconv.cpp | cpp-pm/boost | 38c6c8c07f2fcc42d573b10807fef27ec14930f8 | [
"BSL-1.0"
] | 11,356 | 2017-12-08T19:42:32.000Z | 2022-03-31T16:55:25.000Z | libs/locale/build/has_iconv.cpp | cpp-pm/boost | 38c6c8c07f2fcc42d573b10807fef27ec14930f8 | [
"BSL-1.0"
] | 2,402 | 2017-12-08T22:31:01.000Z | 2022-03-28T19:25:52.000Z | libs/locale/build/has_iconv.cpp | cpp-pm/boost | 38c6c8c07f2fcc42d573b10807fef27ec14930f8 | [
"BSL-1.0"
] | 1,343 | 2017-12-08T19:47:19.000Z | 2022-03-26T11:31:36.000Z | //
// Copyright (c) 2009-2011 Artyom Beilis (Tonkikh)
//
// 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 <iconv.h>
int main()
{
iconv_t d = iconv_open(0,0);
(void)(d);
}
| 20.2 | 67 | 0.660066 | cpp-pm |
7b566c39ea793d84e61c4e64a5c1ecf09c071694 | 15,522 | cpp | C++ | bingo/bingo-core-c/src/ringo_core_c.cpp | f1nzer/Indigo | 59efbd0be0b42f449f706c3a3c8d094e483e5ef4 | [
"Apache-2.0"
] | null | null | null | bingo/bingo-core-c/src/ringo_core_c.cpp | f1nzer/Indigo | 59efbd0be0b42f449f706c3a3c8d094e483e5ef4 | [
"Apache-2.0"
] | null | null | null | bingo/bingo-core-c/src/ringo_core_c.cpp | f1nzer/Indigo | 59efbd0be0b42f449f706c3a3c8d094e483e5ef4 | [
"Apache-2.0"
] | null | null | null | /****************************************************************************
* Copyright (C) from 2009 to Present EPAM Systems.
*
* This file is part of Indigo toolkit.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*... | 31.044 | 148 | 0.591097 | f1nzer |
7b56a1a4f3b734e5ba6b1f56cf4886b0f9e95854 | 2,773 | cpp | C++ | Source/SnowClient.cpp | zcharli/snow-olsr | 3617044d3ad1a0541b346669bce76702f71f4d0c | [
"MIT"
] | 3 | 2018-08-08T22:31:52.000Z | 2019-12-17T14:02:59.000Z | Source/SnowClient.cpp | zcharli/snow-olsr | 3617044d3ad1a0541b346669bce76702f71f4d0c | [
"MIT"
] | null | null | null | Source/SnowClient.cpp | zcharli/snow-olsr | 3617044d3ad1a0541b346669bce76702f71f4d0c | [
"MIT"
] | null | null | null | #include "Headers/SnowClient.h"
#include "Headers/NetworkTrafficManager.h"
/* Testing headers */
#include "Headers/HelloMessage.h"
using namespace std;
SnowClient::SnowClient() {
//mSocketPtr = make_shared<WLAN>(INTERFACE_NAME);
}
SnowClient::~SnowClient() {}
int SnowClient::start() {
shared_ptr<NetworkTra... | 37.986301 | 116 | 0.60476 | zcharli |
7b5a37d255cdd1fa127a2330b641b04937616e7e | 6,515 | cc | C++ | src/output/L2_Error_Calculator.cc | pgmaginot/DARK_ARTS | f04b0a30dcac911ef06fe0916921020826f5c42b | [
"MIT"
] | null | null | null | src/output/L2_Error_Calculator.cc | pgmaginot/DARK_ARTS | f04b0a30dcac911ef06fe0916921020826f5c42b | [
"MIT"
] | null | null | null | src/output/L2_Error_Calculator.cc | pgmaginot/DARK_ARTS | f04b0a30dcac911ef06fe0916921020826f5c42b | [
"MIT"
] | null | null | null | /** @file L2_Error_Calculator.cc
* @author pmaginot
* @brief A class that numerically approximates the L2 spatial errors of Temperature, Intensity, and Angle Integrated Intensity for MMS problems
*/
#include "L2_Error_Calculator.h"
// ##########################################################... | 36.396648 | 154 | 0.692556 | pgmaginot |
7b5cd1b1a1c5697011a60b990b9e544ec320d4db | 1,080 | cpp | C++ | src/benchmarks/ShowHash.cpp | perara-public/map_benchmark | 8efe2a5eab97449971733d71e2047c26537c6123 | [
"MIT"
] | 110 | 2019-02-19T05:20:55.000Z | 2022-03-21T10:14:18.000Z | src/benchmarks/ShowHash.cpp | perara-public/map_benchmark | 8efe2a5eab97449971733d71e2047c26537c6123 | [
"MIT"
] | 10 | 2019-02-27T09:41:39.000Z | 2021-04-15T06:35:56.000Z | src/benchmarks/ShowHash.cpp | perara-public/map_benchmark | 8efe2a5eab97449971733d71e2047c26537c6123 | [
"MIT"
] | 17 | 2019-02-26T12:12:43.000Z | 2022-01-27T07:03:59.000Z | #include "Hash.h"
#include "bench.h"
#include "hex.h"
#include <bitset>
template <typename T>
void showHash(T val) {
auto sh = std::hash<T>{}(val);
auto mh = Hash<T>{}(val);
std::cerr << hex(val) << " -> " << hex(sh) << " " << hex(mh) << " " << std::bitset<sizeof(size_t) * 8>(mh) << std::endl;
}
template... | 26.341463 | 124 | 0.498148 | perara-public |
7b5dfd74467b7861e4667f8720b7e389065afea4 | 1,351 | cpp | C++ | src/IO/Device/ControlBoard/CM730.cpp | NaokiTakahashi12/OpenHumanoidController | ce8da0cabc8bbeec86f16a36b9ba5e6a16c4a67d | [
"MIT"
] | 1 | 2019-09-23T06:21:47.000Z | 2019-09-23T06:21:47.000Z | src/IO/Device/ControlBoard/CM730.cpp | NaokiTakahashi12/hc-early | ce8da0cabc8bbeec86f16a36b9ba5e6a16c4a67d | [
"MIT"
] | 12 | 2019-07-30T00:17:09.000Z | 2019-12-09T23:00:43.000Z | src/IO/Device/ControlBoard/CM730.cpp | NaokiTakahashi12/OpenHumanoidController | ce8da0cabc8bbeec86f16a36b9ba5e6a16c4a67d | [
"MIT"
] | null | null | null |
/**
*
* @file CM730.cpp
* @author Naoki Takahashi
*
**/
#include "CM730.hpp"
#include "CM730ControlTable.hpp"
namespace IO {
namespace Device {
namespace ControlBoard {
CM730::CM730(RobotStatus::InformationPtr &robot_status_information_ptr) : SerialControlBoard(robot_status_information_ptr) {
id... | 25.018519 | 153 | 0.715766 | NaokiTakahashi12 |
7b5faea800d72e0705163223c5391249b42e51d7 | 1,030 | cpp | C++ | src/ipc/mq_receiver.cpp | kreopt/dcm | d9eae08b5ff716d5eb3d97684aeddd9492d342b0 | [
"MIT"
] | null | null | null | src/ipc/mq_receiver.cpp | kreopt/dcm | d9eae08b5ff716d5eb3d97684aeddd9492d342b0 | [
"MIT"
] | null | null | null | src/ipc/mq_receiver.cpp | kreopt/dcm | d9eae08b5ff716d5eb3d97684aeddd9492d342b0 | [
"MIT"
] | null | null | null | #include "mq_receiver.hpp"
#include <boost/interprocess/ipc/message_queue.hpp>
#include <thread>
#include "core/message.hpp"
namespace bip = boost::interprocess;
dcm::ipc::mq::receiver::receiver(const std::string &_mbox) : mbox_(_mbox) {
bip::message_queue::remove(_mbox.c_str());
mq_ = std::make_shared<bip::... | 30.294118 | 112 | 0.645631 | kreopt |
7b6183048a03ea269bef1c4c6fb76adc6a32665a | 7,386 | cc | C++ | ns-allinone-2.35/ns-2.35/emulate/ping_responder.cc | nitishk017/ns2project | f037b796ff10300ffe0422580be5855c37d0b140 | [
"MIT"
] | 1 | 2020-05-29T13:04:42.000Z | 2020-05-29T13:04:42.000Z | ns-allinone-2.35/ns-2.35/emulate/ping_responder.cc | nitishk017/ns2project | f037b796ff10300ffe0422580be5855c37d0b140 | [
"MIT"
] | 1 | 2019-01-20T17:35:23.000Z | 2019-01-22T21:41:38.000Z | ns-allinone-2.35/ns-2.35/emulate/ping_responder.cc | nitishk017/ns2project | f037b796ff10300ffe0422580be5855c37d0b140 | [
"MIT"
] | 1 | 2021-09-29T16:06:57.000Z | 2021-09-29T16:06:57.000Z | /*
* Copyright (c) 1998 Regents of the University of California.
* 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 copyrig... | 29.782258 | 105 | 0.668291 | nitishk017 |
7b6439915c6da769852a49cef838cf5dfcea643c | 671 | cpp | C++ | source-code/UserDefinedTypes/TableStats/stats_main.cpp | gjbex/Scientific-C- | d7aeb88743ffa2a43b1df1569a9200b2447f401c | [
"CC-BY-4.0"
] | 115 | 2015-03-23T13:34:42.000Z | 2022-03-21T00:27:21.000Z | source-code/UserDefinedTypes/TableStats/stats_main.cpp | gjbex/Scientific-C- | d7aeb88743ffa2a43b1df1569a9200b2447f401c | [
"CC-BY-4.0"
] | 56 | 2015-02-25T15:04:26.000Z | 2022-01-03T07:42:48.000Z | source-code/UserDefinedTypes/TableStats/stats_main.cpp | gjbex/Scientific-C- | d7aeb88743ffa2a43b1df1569a9200b2447f401c | [
"CC-BY-4.0"
] | 59 | 2015-11-26T11:44:51.000Z | 2022-03-21T00:27:22.000Z | #include <iostream>
#include "stats.h"
int main() {
double value;
Stats stats;
while (std::cin >> value) {
stats.add(value);
}
try {
std::cout << "mean: " << stats.mean() << std::endl;
std::cout << "stddev: " << stats.stddev() << std::endl;
std::cout << "min: " << s... | 27.958333 | 63 | 0.470939 | gjbex |
7b64e395000258c1f463ca0822ff1866a6897001 | 1,543 | hpp | C++ | src/GUI.hpp | kririae/Fluid-Visualization | fc3d6deceb2428479a4ec58d5dbe44dcfc1a204e | [
"MIT"
] | 2 | 2022-01-22T09:44:10.000Z | 2022-01-22T09:45:02.000Z | src/GUI.hpp | kririae/Fluid-Visualization | fc3d6deceb2428479a4ec58d5dbe44dcfc1a204e | [
"MIT"
] | null | null | null | src/GUI.hpp | kririae/Fluid-Visualization | fc3d6deceb2428479a4ec58d5dbe44dcfc1a204e | [
"MIT"
] | null | null | null | //
// Created by kr2 on 12/24/21.
//
#ifndef FLUIDVISUALIZATION_SRC_GUI_HPP
#define FLUIDVISUALIZATION_SRC_GUI_HPP
#include "Particle.hpp"
#include "Shader.hpp"
#include "PBuffer.hpp"
#include <functional>
#include <memory>
typedef unsigned int uint;
struct GLFWwindow;
class Solver;
class OrbitCamera;
class GUI {
... | 20.851351 | 64 | 0.714193 | kririae |
7b66efcfc3e73148dc12bd31e7b6f173dcb25565 | 2,044 | cpp | C++ | lib/year2020/src/Day06Puzzle.cpp | MarkRDavison/AdventOfCode | 640ae6de76709367be8dfeb86b9f1f7d21908946 | [
"MIT"
] | null | null | null | lib/year2020/src/Day06Puzzle.cpp | MarkRDavison/AdventOfCode | 640ae6de76709367be8dfeb86b9f1f7d21908946 | [
"MIT"
] | null | null | null | lib/year2020/src/Day06Puzzle.cpp | MarkRDavison/AdventOfCode | 640ae6de76709367be8dfeb86b9f1f7d21908946 | [
"MIT"
] | null | null | null | #include <2020/Day06Puzzle.hpp>
#include <zeno-engine/Utility/StringExtensions.hpp>
#include <sstream>
#include <fstream>
#include <iostream>
namespace TwentyTwenty {
Day06Puzzle::Day06Puzzle() :
core::PuzzleBase("Custom Customs", 2020, 6) {
}
void Day06Puzzle::initialise(const core::InitialisationInfo& _initi... | 21.291667 | 133 | 0.651174 | MarkRDavison |
7b682cb7d26f3b1663ee009f32fa184373b8c59b | 1,284 | cpp | C++ | 2-Data_Structures_and_Libraries/2.3-Non_Linear_Data_Structures_with_Built-in_Libraries/2-C++_STL_set_(Java_TreeSet)/vitorvgc/00978.cpp | IFCE-CP/CP3-solutions | 1abcabd9a06968184a55d3b0414637019014694c | [
"MIT"
] | 1 | 2017-11-16T10:56:17.000Z | 2017-11-16T10:56:17.000Z | 2-Data_Structures_and_Libraries/2.3-Non_Linear_Data_Structures_with_Built-in_Libraries/2-C++_STL_set_(Java_TreeSet)/vitorvgc/00978.cpp | IFCE-CP/CP3-solutions | 1abcabd9a06968184a55d3b0414637019014694c | [
"MIT"
] | null | null | null | 2-Data_Structures_and_Libraries/2.3-Non_Linear_Data_Structures_with_Built-in_Libraries/2-C++_STL_set_(Java_TreeSet)/vitorvgc/00978.cpp | IFCE-CP/CP3-solutions | 1abcabd9a06968184a55d3b0414637019014694c | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
void print(priority_queue<int> pq) {
for(; !pq.empty(); pq.pop())
printf("%d\n", pq.top());
}
int main() {
int t;
for(scanf("%d", &t); t--; ) {
int b, sg, sb;
priority_queue<int> pqg, pqb;
scanf("%d %d %d", &b, &sg, &sb);
... | 24.692308 | 65 | 0.374611 | IFCE-CP |
7b68f7a35a39189548e2159af99658ae33d1ae8a | 14,338 | hpp | C++ | include/gtest_mpi/gtest_mpi_internal.hpp | teonnik/gtest_mpi | 9664675870b36d1be6af682e3d99e63dfb6a3ad7 | [
"BSD-3-Clause"
] | 4 | 2019-05-31T09:35:09.000Z | 2021-08-08T03:59:49.000Z | include/gtest_mpi/gtest_mpi_internal.hpp | teonnik/gtest_mpi | 9664675870b36d1be6af682e3d99e63dfb6a3ad7 | [
"BSD-3-Clause"
] | 1 | 2019-06-20T12:31:27.000Z | 2019-06-20T12:31:27.000Z | include/gtest_mpi/gtest_mpi_internal.hpp | teonnik/gtest_mpi | 9664675870b36d1be6af682e3d99e63dfb6a3ad7 | [
"BSD-3-Clause"
] | 2 | 2019-05-31T09:35:14.000Z | 2019-06-14T14:16:43.000Z | // This project contains source code from the Googletest framework
// obtained from https://github.com/google/googletest with the following
// terms:
//
// Copyright 2005, Google Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided... | 35.934837 | 99 | 0.683917 | teonnik |
7b6932c63e3cfd74c36943631fae9d1aa5f72988 | 330 | cpp | C++ | pointer_example_4.cpp | pervincaliskan/SampleCExamples | c8cfd0076e4fdcfecdd4a1e97c482a506f6cca02 | [
"MIT"
] | 2 | 2019-12-22T18:52:34.000Z | 2021-10-18T18:35:22.000Z | pointer_example_4.cpp | pervincaliskan/SampleCExamples | c8cfd0076e4fdcfecdd4a1e97c482a506f6cca02 | [
"MIT"
] | 1 | 2022-01-18T17:21:26.000Z | 2022-01-18T17:21:26.000Z | pointer_example_4.cpp | pervincaliskan/SampleCExamples | c8cfd0076e4fdcfecdd4a1e97c482a506f6cca02 | [
"MIT"
] | null | null | null | #include<stdio.h>
int main(){
int x = 6;
int *xptr = &x;;
xptr = &x; // xptr gostergesine x adli bellek hucresinin adresi atandi
printf("x'in onceki degeri: %d\n", x);
x = *xptr + 1; // xptr gostergesinin gosterdigi bellek hucresindeki deger 1 artirildi
printf("x'in sonraki degeri: %d\n", x);
re... | 17.368421 | 87 | 0.633333 | pervincaliskan |
7b6e7a36c9a59bb7e06980dbed33fca6e4402e9b | 5,391 | cpp | C++ | CodeXL/Components/GpuDebugging/AMDTProcessDebugger/src/pdRemoteProcessDebuggerEventsListenerThread.cpp | jeongjoonyoo/CodeXL | ea6d623d0530aa3a862ef0bf60ad2923a2f8f8a5 | [
"MIT"
] | 1,025 | 2016-04-19T21:36:08.000Z | 2020-04-26T05:12:53.000Z | CodeXL/Components/GpuDebugging/AMDTProcessDebugger/src/pdRemoteProcessDebuggerEventsListenerThread.cpp | jeongjoonyoo/CodeXL | ea6d623d0530aa3a862ef0bf60ad2923a2f8f8a5 | [
"MIT"
] | 244 | 2016-04-20T02:05:43.000Z | 2020-04-29T17:40:49.000Z | CodeXL/Components/GpuDebugging/AMDTProcessDebugger/src/pdRemoteProcessDebuggerEventsListenerThread.cpp | jeongjoonyoo/CodeXL | ea6d623d0530aa3a862ef0bf60ad2923a2f8f8a5 | [
"MIT"
] | 161 | 2016-04-20T03:23:53.000Z | 2020-04-14T01:46:55.000Z | //==================================================================================
// Copyright (c) 2016 , Advanced Micro Devices, Inc. All rights reserved.
//
/// \author AMD Developer Tools Team
/// \file pdRemoteProcessDebuggerEventsListenerThread.cpp
///
//========================================================... | 36.924658 | 111 | 0.549063 | jeongjoonyoo |
7b6fd00fc4e231f30de15845796fba40b79f97b5 | 776 | hpp | C++ | src/home_screen.hpp | tomfleet/M5PaperUI | cad8ccbbdf2273865eb9cbec70f41f87eca3fadd | [
"Apache-2.0"
] | 24 | 2021-02-25T21:17:22.000Z | 2022-03-01T19:01:13.000Z | src/home_screen.hpp | sthagen/M5PaperUI | 05025433054d4e59ce8ec01eecbe44ac074b08ec | [
"Apache-2.0"
] | null | null | null | src/home_screen.hpp | sthagen/M5PaperUI | 05025433054d4e59ce8ec01eecbe44ac074b08ec | [
"Apache-2.0"
] | 10 | 2021-02-27T21:26:46.000Z | 2022-03-13T12:59:40.000Z | #pragma once
#include <memory>
#include "widgetlib.hpp"
class HomeScreen : public Frame {
public:
using ptr_t = std::shared_ptr<HomeScreen>;
HomeScreen(int16_t x, int16_t y, int16_t w, int16_t h);
static ptr_t Create(int16_t x, int16_t y, int16_t w, int16_t h) {
return std::make_shared<HomeScreen>(x, y, w... | 25.866667 | 72 | 0.710052 | tomfleet |
7b700b53e635d656f15d42b7debe701c25e636ab | 4,975 | cpp | C++ | FS_Utils.cpp | Lynnvon/UnrealUtils | 2fe3b00ad8e0518a47a7f6415ebabe381923b74d | [
"MIT"
] | 1 | 2020-05-19T08:40:40.000Z | 2020-05-19T08:40:40.000Z | FS_Utils.cpp | Lynnvon/UnrealUtils | 2fe3b00ad8e0518a47a7f6415ebabe381923b74d | [
"MIT"
] | null | null | null | FS_Utils.cpp | Lynnvon/UnrealUtils | 2fe3b00ad8e0518a47a7f6415ebabe381923b74d | [
"MIT"
] | 1 | 2020-05-19T08:40:44.000Z | 2020-05-19T08:40:44.000Z | // Copyright Shinban.Inc
/*!
* file FS_Utils.cpp
*
* author Hailiang Feng
* date 2019/09/06 12:09
*
*
*/
#include "FS_Utils.h"
#include "Kismet/KismetMathLibrary.h"
#include "FlightSim.h"
#include "Engine/Texture2D.h"
//~~~ Image Wrapper ~~~
#include "ImageUtils.h"
#include "IImageWrapper.h"
#include "IImageW... | 25.911458 | 144 | 0.728643 | Lynnvon |
7b700c00727d150f04e51eb299d09928f2e68b71 | 2,185 | cc | C++ | ecs/src/model/DescribeBandwidthLimitationResult.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 89 | 2018-02-02T03:54:39.000Z | 2021-12-13T01:32:55.000Z | ecs/src/model/DescribeBandwidthLimitationResult.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 89 | 2018-03-14T07:44:54.000Z | 2021-11-26T07:43:25.000Z | ecs/src/model/DescribeBandwidthLimitationResult.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 69 | 2018-01-22T09:45:52.000Z | 2022-03-28T07:58:38.000Z | /*
* Copyright 2009-2017 Alibaba Cloud 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... | 34.140625 | 113 | 0.778032 | aliyun |
7b72a3fcfc5eb6d9f1efd70ac1028c7117a6d729 | 1,994 | cpp | C++ | src/gmail/drafts/DraftsDraftResource.cpp | Vadimatorik/googleQt | 814ad6f695bb8e88d6a773e69fb8c188febaab00 | [
"MIT"
] | 24 | 2016-12-03T09:12:43.000Z | 2022-03-29T19:51:48.000Z | src/gmail/drafts/DraftsDraftResource.cpp | Vadimatorik/googleQt | 814ad6f695bb8e88d6a773e69fb8c188febaab00 | [
"MIT"
] | 4 | 2016-12-03T09:14:42.000Z | 2022-03-29T22:02:21.000Z | src/gmail/drafts/DraftsDraftResource.cpp | Vadimatorik/googleQt | 814ad6f695bb8e88d6a773e69fb8c188febaab00 | [
"MIT"
] | 7 | 2018-01-01T09:14:10.000Z | 2022-03-29T21:50:11.000Z | /**********************************************************
DO NOT EDIT
This file was generated from stone specification "drafts"
Part of "Ardi - the organizer" project.
osoft4ardi@gmail.com
www.prokarpaty.net
***********************************************************/
#include "gmail/drafts/DraftsDraftResource.... | 25.564103 | 99 | 0.674524 | Vadimatorik |
7b743bec1c240137fcf927b0b1bb703d3dd22fc7 | 3,320 | cpp | C++ | main.cpp | SirJonthe/VoxelRayTrace | 1c38a522e9734fcbac1ceb9c85c475a6c4709103 | [
"Zlib"
] | 26 | 2015-03-25T21:31:01.000Z | 2021-11-09T11:40:45.000Z | main.cpp | SirJonthe/VoxelRayTrace | 1c38a522e9734fcbac1ceb9c85c475a6c4709103 | [
"Zlib"
] | 1 | 2018-11-23T03:52:38.000Z | 2018-11-24T10:39:05.000Z | main.cpp | SirJonthe/VoxelRayTrace | 1c38a522e9734fcbac1ceb9c85c475a6c4709103 | [
"Zlib"
] | null | null | null | #include <iostream>
//#include <omp.h>
#include "PlatformSDL.h"
#include "Camera.h"
#include "Renderer.h"
#include "RobotModel.h"
#include "Math3d.h"
// Rudimentary OpenMP support is commented out
// see main(...) and Renderer::Render(...)
// see included header files in main.cpp and Renderer.cpp
int ma... | 23.055556 | 116 | 0.544578 | SirJonthe |
7b79b4b70bf0f69e576097119703a7b5d8632ca7 | 2,274 | cpp | C++ | common/src/filters/out_buf.cpp | ane-community/botan-crypto-ane | 71056f5f0d5fd706e6d42e2f7ec0f7f55d86fb74 | [
"MIT"
] | 1 | 2018-03-09T20:21:47.000Z | 2018-03-09T20:21:47.000Z | common/src/filters/out_buf.cpp | ane-community/botan-crypto-ane | 71056f5f0d5fd706e6d42e2f7ec0f7f55d86fb74 | [
"MIT"
] | null | null | null | common/src/filters/out_buf.cpp | ane-community/botan-crypto-ane | 71056f5f0d5fd706e6d42e2f7ec0f7f55d86fb74 | [
"MIT"
] | 1 | 2020-03-05T23:42:00.000Z | 2020-03-05T23:42:00.000Z | /*
* Pipe Output Buffer
* (C) 1999-2007,2011 Jack Lloyd
*
* Distributed under the terms of the Botan license
*/
#include <botan/internal/out_buf.h>
#include <botan/secqueue.h>
#include <botan/internal/assert.h>
namespace Botan {
/*
* Read data from a message
*/
size_t Output_Buffers::read(byte output[], size_t lengt... | 18.639344 | 60 | 0.596746 | ane-community |
7b7c1d1d50cd6094dd5bbff7146f6066a85d1f89 | 19,483 | cc | C++ | engine/gamma/index/gpu/gamma_index_ivfpq_gpu.cc | qbzenker/vearch | 34bcd53cf90d6bedc0582602b8282b65d21eaa9e | [
"Apache-2.0"
] | 1 | 2020-03-25T10:30:55.000Z | 2020-03-25T10:30:55.000Z | engine/gamma/index/gpu/gamma_index_ivfpq_gpu.cc | qbzenker/vearch | 34bcd53cf90d6bedc0582602b8282b65d21eaa9e | [
"Apache-2.0"
] | null | null | null | engine/gamma/index/gpu/gamma_index_ivfpq_gpu.cc | qbzenker/vearch | 34bcd53cf90d6bedc0582602b8282b65d21eaa9e | [
"Apache-2.0"
] | null | null | null | /**
* Copyright 2019 The Gamma Authors.
*
* This source code is licensed under the Apache License, Version 2.0 license
* found in the LICENSE file in the root directory of this source tree.
*/
#include "gamma_index_ivfpq_gpu.h"
#include <faiss/IndexFlat.h>
#include <faiss/gpu/GpuAutoTune.h>
#include <faiss/gpu/G... | 28.525622 | 80 | 0.591387 | qbzenker |
7b7de5ad6f9eff279a109584388401537b3f78ba | 2,701 | cpp | C++ | src/English/edt/en_PronounLinkerUtils.cpp | BBN-E/serif | 1e2662d82fb1c377ec3c79355a5a9b0644606cb4 | [
"Apache-2.0"
] | 1 | 2022-03-24T19:57:00.000Z | 2022-03-24T19:57:00.000Z | src/English/edt/en_PronounLinkerUtils.cpp | BBN-E/serif | 1e2662d82fb1c377ec3c79355a5a9b0644606cb4 | [
"Apache-2.0"
] | null | null | null | src/English/edt/en_PronounLinkerUtils.cpp | BBN-E/serif | 1e2662d82fb1c377ec3c79355a5a9b0644606cb4 | [
"Apache-2.0"
] | null | null | null | // Copyright 2008 by BBN Technologies Corp.
// All Rights Reserved.
#include "Generic/common/leak_detection.h"
#include "English/edt/en_PronounLinkerUtils.h"
#include "Generic/common/WordConstants.h"
#include "Generic/common/SymbolConstants.h"
#include "English/parse/en_STags.h"
#ifdef _WIN32
#define swpri... | 33.345679 | 110 | 0.707886 | BBN-E |
7b7f57bcdba784ba0df008ae1a3e72f043fb74df | 7,210 | cpp | C++ | jack/example-clients/server_control.cpp | KimJeongYeon/jack2_android | 4a8787be4306558cb52e5379466c0ed4cc67e788 | [
"BSD-3-Clause-No-Nuclear-Warranty"
] | 47 | 2015-01-04T21:47:07.000Z | 2022-03-23T16:27:16.000Z | vendor/samsung/external/jack/example-clients/server_control.cpp | cesarmo759/android_kernel_samsung_msm8916 | f19717ef6c984b64a75ea600a735dc937b127c25 | [
"Apache-2.0"
] | 3 | 2015-02-04T21:40:11.000Z | 2019-09-16T19:53:51.000Z | jack/example-clients/server_control.cpp | KimJeongYeon/jack2_android | 4a8787be4306558cb52e5379466c0ed4cc67e788 | [
"BSD-3-Clause-No-Nuclear-Warranty"
] | 7 | 2015-05-17T08:22:52.000Z | 2021-08-07T22:36:17.000Z | /*
Copyright (C) 2008 Grame
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed ... | 29.428571 | 114 | 0.639528 | KimJeongYeon |
7b8c29d6976b119fe36a5f69a133ccaaf05316aa | 5,980 | cpp | C++ | MMOCoreORB/src/server/zone/managers/creature/SpawnAreaMap.cpp | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 18 | 2017-02-09T15:36:05.000Z | 2021-12-21T04:22:15.000Z | MMOCoreORB/src/server/zone/managers/creature/SpawnAreaMap.cpp | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 61 | 2016-12-30T21:51:10.000Z | 2021-12-10T20:25:56.000Z | MMOCoreORB/src/server/zone/managers/creature/SpawnAreaMap.cpp | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 71 | 2017-01-01T05:34:38.000Z | 2022-03-29T01:04:00.000Z | /*
* SpawnAreaMap.cpp
*
* Created on: 12/08/2011
* Author: TheAnswer
*/
#include "SpawnAreaMap.h"
#include "server/zone/Zone.h"
#include "server/zone/managers/object/ObjectManager.h"
#include "server/zone/objects/area/areashapes/CircularAreaShape.h"
#include "server/zone/objects/area/areashapes/RectangularA... | 25.232068 | 176 | 0.675585 | V-Fib |
7b8c880f4a418924a4dfd7ec11eed0f77cca3bef | 3,660 | cc | C++ | net/third_party/quic/http/decoder/payload_decoders/quic_http_continuation_payload_decoder_test.cc | zipated/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | net/third_party/quic/http/decoder/payload_decoders/quic_http_continuation_payload_decoder_test.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | net/third_party/quic/http/decoder/payload_decoders/quic_http_continuation_payload_decoder_test.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.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 "net/third_party/quic/http/decoder/payload_decoders/quic_http_continuation_payload_decoder.h"
#include <stddef.h>
#include <cstdint>
#include <... | 37.346939 | 104 | 0.743716 | zipated |
7b9222e701e5eff56c25510359badcff6e8cdca4 | 14,100 | cpp | C++ | src/image_stone/example/002/dlg_effect_lib.cpp | suxinde2009/ImageStone | d9e6ce00379ba0c78278fa4bacc07c8f0f547feb | [
"MIT"
] | null | null | null | src/image_stone/example/002/dlg_effect_lib.cpp | suxinde2009/ImageStone | d9e6ce00379ba0c78278fa4bacc07c8f0f547feb | [
"MIT"
] | null | null | null | src/image_stone/example/002/dlg_effect_lib.cpp | suxinde2009/ImageStone | d9e6ce00379ba0c78278fa4bacc07c8f0f547feb | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "002.h"
#include "dlg_effect_lib.h"
//-------------------------------------------------------------------------------------
void DlgEffectLib::CEffectThumb::SetImage (HBITMAP hBmp)
{
BITMAP bm = {0} ;
if (GetObject (hBmp, sizeof(bm), &bm))
{
m_img.Attach (Cr... | 36.061381 | 119 | 0.542837 | suxinde2009 |
7b92ac9a784990e32aedf5204d0c56ce6a168b4c | 2,961 | cc | C++ | FWCore/Utilities/test/test_catch2_EDGetToken.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | FWCore/Utilities/test/test_catch2_EDGetToken.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | FWCore/Utilities/test/test_catch2_EDGetToken.cc | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | #include <functional>
#include "FWCore/Utilities/interface/EDGetToken.h"
#include "catch.hpp"
namespace edm {
class TestEDGetToken {
public:
template <typename... Args>
static edm::EDGetToken makeToken(Args&&... iArgs) {
return edm::EDGetToken(std::forward<Args>(iArgs)...);
}
template <typen... | 30.525773 | 86 | 0.63053 | ckamtsikis |
7b92b68a537bf7fc0530c0f58ed4eead3c953bc6 | 3,896 | cpp | C++ | imove_peopleextractor/src/ImageProcessing/PeopleExtractor.cpp | fbredius/IMOVE | 912b4d0696e88acfc0ce7bc556eecf8fc423c4d3 | [
"MIT"
] | 3 | 2018-04-24T10:04:37.000Z | 2018-05-11T08:27:03.000Z | imove_peopleextractor/src/ImageProcessing/PeopleExtractor.cpp | fbredius/IMOVE | 912b4d0696e88acfc0ce7bc556eecf8fc423c4d3 | [
"MIT"
] | null | null | null | imove_peopleextractor/src/ImageProcessing/PeopleExtractor.cpp | fbredius/IMOVE | 912b4d0696e88acfc0ce7bc556eecf8fc423c4d3 | [
"MIT"
] | 3 | 2018-05-16T08:44:19.000Z | 2020-12-04T16:04:32.000Z | #include "PeopleExtractor.h"
// PeopleExtractor::PeopleExtractor(const cv::Size& frame_size, float pixels_per_meter, float resolution_resize_height, const Boundary& boundary) {
PeopleExtractor::PeopleExtractor(CameraConfiguration* camConfig) {
// Get values from camera configuration
frame_size = camConfig->getReso... | 37.825243 | 147 | 0.728183 | fbredius |
7b95b03de13cffd104142153fac9c6592d5b6e33 | 3,426 | cpp | C++ | android/sample/jni/SonicGenerator.cpp | UzayAnil/sonic-2 | fb28489ce5fd499bf42d35d316d080225b202b01 | [
"MIT"
] | 124 | 2015-03-12T08:39:35.000Z | 2021-11-08T10:10:31.000Z | android/sample/jni/SonicGenerator.cpp | UzayAnil/sonic-2 | fb28489ce5fd499bf42d35d316d080225b202b01 | [
"MIT"
] | 7 | 2015-06-11T07:13:22.000Z | 2018-02-27T01:13:25.000Z | android/sample/jni/SonicGenerator.cpp | UzayAnil/sonic-2 | fb28489ce5fd499bf42d35d316d080225b202b01 | [
"MIT"
] | 57 | 2015-03-05T12:55:58.000Z | 2021-06-20T11:03:48.000Z | //
// SonicGenerator.cpp
//
//
// Created by linyehui on 2014-04-10.
// Copyright (c) 2014年 linyehui. All rights reserved.
//
#include <jni.h>
#include "com_duowan_sonic_SonicGenerator.h"
#include "freq_util/bb_header.h"
#include "queue/queue.h"
#include "generator_helper/generator_helper.h"
#include "pcm_render/pc... | 27.629032 | 97 | 0.670753 | UzayAnil |
7b98c1ad62eaa5bf9f48933390e25e1ed4819bae | 166 | cpp | C++ | doric-Qt/example/doric/engine/DoricNativeRequire.cpp | Xcoder1011/Doric | ad1a409ef5edb9de8f3e1544748a9fa8015760c8 | [
"Apache-2.0"
] | 116 | 2019-12-30T11:34:47.000Z | 2022-03-31T05:32:58.000Z | doric-Qt/example/doric/engine/DoricNativeRequire.cpp | Xcoder1011/Doric | ad1a409ef5edb9de8f3e1544748a9fa8015760c8 | [
"Apache-2.0"
] | 9 | 2020-04-26T02:04:27.000Z | 2022-01-26T07:31:01.000Z | doric-Qt/example/doric/engine/DoricNativeRequire.cpp | Xcoder1011/Doric | ad1a409ef5edb9de8f3e1544748a9fa8015760c8 | [
"Apache-2.0"
] | 18 | 2020-01-24T15:42:03.000Z | 2021-12-28T08:17:36.000Z | #include "DoricNativeRequire.h"
#include <QDebug>
Q_INVOKABLE void DoricNativeRequire::function(QString name) {
qDebug() << "nativeRequire: " << name.toUtf8();
}
| 20.75 | 61 | 0.722892 | Xcoder1011 |
7b9a3720b498e04ab54ebadc197a08c67a67d944 | 1,118 | cpp | C++ | src/reader.cpp | data-bridge/build | 1bd37f7061d9bd5caf0c1bd9c5cbbd85c7a45486 | [
"BSD-2-Clause",
"Apache-2.0"
] | null | null | null | src/reader.cpp | data-bridge/build | 1bd37f7061d9bd5caf0c1bd9c5cbbd85c7a45486 | [
"BSD-2-Clause",
"Apache-2.0"
] | null | null | null | src/reader.cpp | data-bridge/build | 1bd37f7061d9bd5caf0c1bd9c5cbbd85c7a45486 | [
"BSD-2-Clause",
"Apache-2.0"
] | null | null | null | /*
Part of BridgeData.
Copyright (C) 2016-17 by Soren Hein.
See LICENSE and README.
*/
#include <iostream>
#if defined(_WIN32) && defined(__MINGW32__)
#include "mingw.thread.h"
#else
#include <thread>
#endif
#include "args.h"
#include "Files.h"
#include "AllStats.h"
#include "dispatch.h"
using name... | 18.327869 | 76 | 0.67263 | data-bridge |
7b9a86bd24183a25c29a0cf65f3bf35ffddebcaf | 5,403 | cc | C++ | cc/base/scoped_ptr_vector_unittest.cc | kjthegod/chromium | cf940f7f418436b77e15b1ea23e6fa100ca1c91a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5 | 2015-04-30T00:13:21.000Z | 2019-07-10T02:17:24.000Z | cc/base/scoped_ptr_vector_unittest.cc | kjthegod/chromium | cf940f7f418436b77e15b1ea23e6fa100ca1c91a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | cc/base/scoped_ptr_vector_unittest.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 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 <set>
#include "cc/base/scoped_ptr_vector.h"
#include "testing/gmock/include/gmock/gmock.h"
namespace cc {
namespace {
class Data {
public:
... | 29.205405 | 80 | 0.643902 | kjthegod |
7b9e10ab1ad581b173f46315189e82526dcb0bdb | 10,190 | cpp | C++ | tests/src/json_stream_reader_tests.cpp | Cebtenzzre/jsoncons | 2301edbad93265a4f64c74609bc944cd279eb2a7 | [
"BSL-1.0"
] | null | null | null | tests/src/json_stream_reader_tests.cpp | Cebtenzzre/jsoncons | 2301edbad93265a4f64c74609bc944cd279eb2a7 | [
"BSL-1.0"
] | null | null | null | tests/src/json_stream_reader_tests.cpp | Cebtenzzre/jsoncons | 2301edbad93265a4f64c74609bc944cd279eb2a7 | [
"BSL-1.0"
] | null | null | null | // Copyright 2018 Daniel Parker
// Distributed under Boost license
#include <catch/catch.hpp>
#include <jsoncons/json.hpp>
#include <jsoncons/json_serializer.hpp>
#include <jsoncons/json_stream_reader.hpp>
#include <sstream>
#include <vector>
#include <utility>
#include <ctime>
using namespace jsoncons;
TEST_CASE("j... | 30.972644 | 88 | 0.644259 | Cebtenzzre |
7ba26f7b9490f926b4f5ecd09ba3b14caf49ec07 | 2,457 | cpp | C++ | sumo/src/netimport/vissim/tempstructs/NIVissimVehicleType.cpp | iltempe/osmosi | c0f54ecdbb7c7b5602d587768617d0dc50f1d75d | [
"MIT"
] | null | null | null | sumo/src/netimport/vissim/tempstructs/NIVissimVehicleType.cpp | iltempe/osmosi | c0f54ecdbb7c7b5602d587768617d0dc50f1d75d | [
"MIT"
] | null | null | null | sumo/src/netimport/vissim/tempstructs/NIVissimVehicleType.cpp | iltempe/osmosi | c0f54ecdbb7c7b5602d587768617d0dc50f1d75d | [
"MIT"
] | 2 | 2017-12-14T16:41:59.000Z | 2020-10-16T17:51:27.000Z | /****************************************************************************/
/// @file NIVissimVehicleType.cpp
/// @author Daniel Krajzewicz
/// @date Sept 2002
/// @version $Id$
///
// -------------------
/****************************************************************************/
// SUMO, Simulation of Urb... | 27.3 | 93 | 0.501425 | iltempe |
7ba2da4ac00956231e3ccac5506bdc31a1cce4f8 | 4,939 | cc | C++ | src/sdk/test/batch_muation_test.cc | cuisonghui/tera | 99a3f16de13dd454a64d64e938fcfeb030674d5f | [
"Apache-2.0",
"BSD-3-Clause"
] | 2,003 | 2015-07-13T08:36:45.000Z | 2022-03-26T02:10:07.000Z | src/sdk/test/batch_muation_test.cc | a1e2w3/tera | dbcd28af792d879d961bf9fc7eb60de81b437646 | [
"Apache-2.0",
"BSD-3-Clause"
] | 981 | 2015-07-14T00:03:24.000Z | 2021-05-10T09:50:01.000Z | src/sdk/test/batch_muation_test.cc | a1e2w3/tera | dbcd28af792d879d961bf9fc7eb60de81b437646 | [
"Apache-2.0",
"BSD-3-Clause"
] | 461 | 2015-07-14T02:53:35.000Z | 2022-03-10T10:31:49.000Z | // Copyright (c) 2015-2018, Baidu.com, Inc. All Rights Reserved
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// Author: baorenyi@baidu.com
#include <atomic>
#include <iostream>
#include <string>
#include <thread>
#include <memory>
#include "gflags/gflags.h... | 33.828767 | 96 | 0.678072 | cuisonghui |
7babe23056c9b996729ed10b7e0de941c3ebd3f5 | 3,523 | cpp | C++ | lib/ipv4addr.cpp | reroman/libreroarp | f269fda1260ff42f688258c95504ded318c5a3a8 | [
"BSD-3-Clause"
] | null | null | null | lib/ipv4addr.cpp | reroman/libreroarp | f269fda1260ff42f688258c95504ded318c5a3a8 | [
"BSD-3-Clause"
] | null | null | null | lib/ipv4addr.cpp | reroman/libreroarp | f269fda1260ff42f688258c95504ded318c5a3a8 | [
"BSD-3-Clause"
] | null | null | null | #include <reroman/ipv4addr.hpp>
#include <stdexcept>
#include <system_error>
#include <cerrno>
#include <cstring>
#include <unistd.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <net/if.h>
using namespace std;
using namespace reroman;
IPv4Addr::IPv4Addr( uint32_t addr ) noexcept
:... | 20.017045 | 66 | 0.665626 | reroman |
7bb426a4d497cca67c92563cdb64d1d6218a3c3a | 1,337 | cpp | C++ | SPH_transform/SPH_test.cpp | tostathaina/farsight | 7e9d6d15688735f34f7ca272e4e715acd11473ff | [
"Apache-2.0"
] | 8 | 2016-07-22T11:24:19.000Z | 2021-04-10T04:22:31.000Z | SPH_transform/SPH_test.cpp | YanXuHappygela/Farsight | 1711b2a1458c7e035edd21fe0019a1f7d23fcafa | [
"Apache-2.0"
] | null | null | null | SPH_transform/SPH_test.cpp | YanXuHappygela/Farsight | 1711b2a1458c7e035edd21fe0019a1f7d23fcafa | [
"Apache-2.0"
] | 7 | 2016-07-21T07:39:17.000Z | 2020-01-29T02:03:27.000Z | #include "Spherical_Harmonic_transform.h"
#include <fstream>
#include <stdio.h>
std::vector<std::vector<double> > ReadFile(const char *filename);
int main(int argc, char * argv [])
{
std::vector<std::vector<double> > data;
std::cout<<argv [1]<<std::endl;
const char* filename = "949.txt";
data = ReadFile("207.tx... | 17.592105 | 65 | 0.614809 | tostathaina |
7bb4842f206386551cbb595198813881c22b5ce2 | 599 | hpp | C++ | Source/Ilum/Geometry/Mesh/Process/Parameterization.hpp | Chaf-Libraries/Ilum | 83d0b7d4f2ba6cc3ba586f5442a09d55b69aedf8 | [
"MIT"
] | 11 | 2022-01-09T05:32:56.000Z | 2022-03-28T06:35:16.000Z | Source/Ilum/Geometry/Mesh/Process/Parameterization.hpp | Chaf-Libraries/Ilum | 83d0b7d4f2ba6cc3ba586f5442a09d55b69aedf8 | [
"MIT"
] | null | null | null | Source/Ilum/Geometry/Mesh/Process/Parameterization.hpp | Chaf-Libraries/Ilum | 83d0b7d4f2ba6cc3ba586f5442a09d55b69aedf8 | [
"MIT"
] | 1 | 2021-11-20T15:39:03.000Z | 2021-11-20T15:39:03.000Z | #pragma once
#include "IMeshProcess.hpp"
namespace Ilum::geometry
{
class Parameterization : public IMeshProcess
{
public:
enum class TutteWeightType
{
Uniform,
Cotangent,
ShapePreserving
};
static std::pair<std::vector<Vertex>, std::vector<uint32_t>> MinimumSurface(const std::vector<Vertex> &in_vertices... | 28.52381 | 194 | 0.752922 | Chaf-Libraries |
7bb8ee6ab7343c12d49cce4f1ddd761d109e8fab | 687 | hpp | C++ | test/mock/core/runtime/core_factory_mock.hpp | igor-egorov/kagome | b2a77061791aa7c1eea174246ddc02ef5be1b605 | [
"Apache-2.0"
] | null | null | null | test/mock/core/runtime/core_factory_mock.hpp | igor-egorov/kagome | b2a77061791aa7c1eea174246ddc02ef5be1b605 | [
"Apache-2.0"
] | null | null | null | test/mock/core/runtime/core_factory_mock.hpp | igor-egorov/kagome | b2a77061791aa7c1eea174246ddc02ef5be1b605 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright Soramitsu Co., Ltd. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef KAGOME_CORE_FACTORY_MOCK_HPP
#define KAGOME_CORE_FACTORY_MOCK_HPP
#include "runtime/binaryen/core_factory.hpp"
#include <gmock/gmock.h>
namespace kagome::runtime::binaryen {
class CoreFactoryMock : public... | 23.689655 | 75 | 0.72198 | igor-egorov |