hexsha stringlengths 40 40 | size int64 7 1.05M | ext stringclasses 13
values | lang stringclasses 1
value | max_stars_repo_path stringlengths 4 269 | max_stars_repo_name stringlengths 5 109 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 9 | max_stars_count int64 1 191k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 4 269 | max_issues_repo_name stringlengths 5 116 | max_issues_repo_head_hexsha stringlengths 40 40 | max_issues_repo_licenses listlengths 1 9 | max_issues_count int64 1 48.5k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 4 269 | max_forks_repo_name stringlengths 5 116 | max_forks_repo_head_hexsha stringlengths 40 40 | max_forks_repo_licenses listlengths 1 9 | max_forks_count int64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 7 1.05M | avg_line_length float64 1.21 330k | max_line_length int64 6 990k | alphanum_fraction float64 0.01 0.99 | author_id stringlengths 2 40 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
10365b22e3bd41148d0f40ca25e38b55cf81651c | 1,517 | hpp | C++ | node_modules/grad-listbuymenu/cfgFunctions.hpp | gruppe-adler/TvT_HoldingPoint.Altis | 685a25e1cab315c877dcc0bbc41cf7d181fdd3f8 | [
"CC-BY-3.0"
] | 1 | 2020-08-31T15:48:28.000Z | 2020-08-31T15:48:28.000Z | node_modules/grad-listbuymenu/cfgFunctions.hpp | AdlerSalbei/TvT_HoldingPoint.Altis | 685a25e1cab315c877dcc0bbc41cf7d181fdd3f8 | [
"CC-BY-3.0"
] | 3 | 2017-01-16T09:25:39.000Z | 2017-02-15T08:35:16.000Z | node_modules/grad-listbuymenu/cfgFunctions.hpp | gruppe-adler/TvT_HoldingPoint.Altis | 685a25e1cab315c877dcc0bbc41cf7d181fdd3f8 | [
"CC-BY-3.0"
] | null | null | null | #ifndef MODULES_DIRECTORY
#define MODULES_DIRECTORY modules
#endif
class GRAD_lbm {
class common {
file = MODULES_DIRECTORY\grad-listBuymenu\functions\common;
class addFunds {};
class addInteraction {};
class checkCargoSpace {};
class getModuleRoot {};
class getP... | 25.711864 | 67 | 0.562294 | gruppe-adler |
10377f4601e1190527cb32fa954e6b643ee279df | 36 | hpp | C++ | lib/include/drivers/adc.hpp | niclasberg/asfw | f836de1c0d6350541e3253863dedab6a3eb81df7 | [
"MIT"
] | null | null | null | lib/include/drivers/adc.hpp | niclasberg/asfw | f836de1c0d6350541e3253863dedab6a3eb81df7 | [
"MIT"
] | null | null | null | lib/include/drivers/adc.hpp | niclasberg/asfw | f836de1c0d6350541e3253863dedab6a3eb81df7 | [
"MIT"
] | null | null | null | #pragma once
#include "adc/make.hpp" | 18 | 23 | 0.75 | niclasberg |
103807b73b45150d29886c8b26abc609000a59bf | 9,356 | cpp | C++ | frameworks/render/modules/osg/dmzRenderModuleIsectOSG.cpp | dmzgroup/dmz | fc2d9ddcb04ed71f4106b8d33539529807b3dea6 | [
"MIT"
] | 2 | 2015-11-05T03:03:43.000Z | 2017-05-15T12:55:39.000Z | frameworks/render/modules/osg/dmzRenderModuleIsectOSG.cpp | dmzgroup/dmz | fc2d9ddcb04ed71f4106b8d33539529807b3dea6 | [
"MIT"
] | null | null | null | frameworks/render/modules/osg/dmzRenderModuleIsectOSG.cpp | dmzgroup/dmz | fc2d9ddcb04ed71f4106b8d33539529807b3dea6 | [
"MIT"
] | null | null | null | #include <dmzRenderConsts.h>
#include "dmzRenderModuleIsectOSG.h"
#include <dmzRenderUtilOSG.h>
#include <dmzRenderObjectDataOSG.h>
#include <dmzRuntimePluginFactoryLinkSymbol.h>
#include <dmzTypesHandleContainer.h>
#include <dmzTypesVector.h>
#include <dmzTypesString.h>
#include <osg/CullFace>
#include <osg/Drawable>... | 25.016043 | 90 | 0.525973 | dmzgroup |
103902cac236f8a988d05f01197ad080a846cfd2 | 1,180 | cpp | C++ | CSE 225L Data Structures and Algorithms/Resources/Codes Previous/Spring-2019-CSE225 1/Lab Final/main(3).cpp | diptu/Teaching | 20655bb2c688ae29566b0a914df4a3e5936a2f61 | [
"MIT"
] | null | null | null | CSE 225L Data Structures and Algorithms/Resources/Codes Previous/Spring-2019-CSE225 1/Lab Final/main(3).cpp | diptu/Teaching | 20655bb2c688ae29566b0a914df4a3e5936a2f61 | [
"MIT"
] | null | null | null | CSE 225L Data Structures and Algorithms/Resources/Codes Previous/Spring-2019-CSE225 1/Lab Final/main(3).cpp | diptu/Teaching | 20655bb2c688ae29566b0a914df4a3e5936a2f61 | [
"MIT"
] | null | null | null | #include <iostream>
#include "binarysearchtree.h"
#include "binarysearchtree.cpp"
using namespace std;
struct Node {
int data;
Node *left, *right;
};
Node* newNode(int key)
{
Node* node = new Node;
node->data = key;
node->left = node->right = nullptr;
return node;
}
void inorder(Node* root)
{
if (root ==... | 12.967033 | 64 | 0.616949 | diptu |
103bba595724b6413cd8334d43d429aa9c5f1a98 | 1,410 | hpp | C++ | libs/dmlf/include/dmlf/collective_learning/client_params.hpp | devjsc/ledger | 5681480faf6e2aeee577f149c17745d6ab4d4ab3 | [
"Apache-2.0"
] | null | null | null | libs/dmlf/include/dmlf/collective_learning/client_params.hpp | devjsc/ledger | 5681480faf6e2aeee577f149c17745d6ab4d4ab3 | [
"Apache-2.0"
] | null | null | null | libs/dmlf/include/dmlf/collective_learning/client_params.hpp | devjsc/ledger | 5681480faf6e2aeee577f149c17745d6ab4d4ab3 | [
"Apache-2.0"
] | null | null | null | #pragma once
//------------------------------------------------------------------------------
//
// Copyright 2018-2019 Fetch.AI Limited
//
// 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 Licen... | 30 | 80 | 0.619858 | devjsc |
103c81feea8781325ba84e138b234bfbcf5721c1 | 598 | cc | C++ | erizoAPI/addon.cc | winlinvip/licode | ee4f012147264c29cc6d8282f2a573b801a2454b | [
"MIT"
] | 1 | 2018-08-21T03:59:44.000Z | 2018-08-21T03:59:44.000Z | erizoAPI/addon.cc | winlinvip/licode | ee4f012147264c29cc6d8282f2a573b801a2454b | [
"MIT"
] | null | null | null | erizoAPI/addon.cc | winlinvip/licode | ee4f012147264c29cc6d8282f2a573b801a2454b | [
"MIT"
] | 1 | 2018-08-21T03:59:47.000Z | 2018-08-21T03:59:47.000Z | #ifndef BUILDING_NODE_EXTENSION
#define BUILDING_NODE_EXTENSION
#endif
#include <nan.h>
#include "WebRtcConnection.h"
#include "OneToManyProcessor.h"
#include "OneToManyTranscoder.h"
#include "SyntheticInput.h"
#include "ExternalInput.h"
#include "ExternalOutput.h"
#include "ThreadPool.h"
#include "IOThreadPool.h"
NAN... | 23.92 | 35 | 0.779264 | winlinvip |
103ca24d6f03bd2def6c7cb404e11020d3be086b | 22,248 | cpp | C++ | ngraph/test/backend/detection_output.in.cpp | MikhailPedus/openvino | 5f9ef0cf26543b3dde80b3b2bfc7e996e7c55d5b | [
"Apache-2.0"
] | null | null | null | ngraph/test/backend/detection_output.in.cpp | MikhailPedus/openvino | 5f9ef0cf26543b3dde80b3b2bfc7e996e7c55d5b | [
"Apache-2.0"
] | 27 | 2020-12-29T14:38:34.000Z | 2022-02-21T13:04:03.000Z | ngraph/test/backend/detection_output.in.cpp | dorloff/openvino | 1c3848a96fdd325b044babe6d5cd26db341cf85b | [
"Apache-2.0"
] | null | null | null | //*****************************************************************************
// Copyright 2020 Intel Corporation
//
// 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.ap... | 25.484536 | 100 | 0.502247 | MikhailPedus |
103cd6311a5b2270ba19ff696c286cc96cffd054 | 19,920 | cpp | C++ | Libraries/RobsJuceModules/rosic/_third_party/angelscript/as_module.cpp | RobinSchmidt/RS-MET-Preliminary | 6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe | [
"FTL"
] | 34 | 2017-04-19T18:26:02.000Z | 2022-02-15T17:47:26.000Z | Libraries/RobsJuceModules/rosic/_third_party/angelscript/as_module.cpp | RobinSchmidt/RS-MET-Preliminary | 6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe | [
"FTL"
] | 307 | 2017-05-04T21:45:01.000Z | 2022-02-03T00:59:01.000Z | Libraries/RobsJuceModules/rosic/_third_party/angelscript/as_module.cpp | RobinSchmidt/RS-MET-Preliminary | 6c01cbaad7cce3daa3293c444dd9e4b74e5ebfbe | [
"FTL"
] | 4 | 2017-09-05T17:04:31.000Z | 2021-12-15T21:24:28.000Z | /*
AngelCode Scripting Library
Copyright (c) 2003-2007 Andreas Jonsson
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any
damages arising from the use of this software.
Permission is granted to anyone to use this software... | 22.035398 | 201 | 0.689809 | RobinSchmidt |
103ff94c3f3d0fd8945df53e14902601760d9e72 | 5,287 | cpp | C++ | options/posix/generic/sys-socket-stubs.cpp | 64/mlibc | 81d17ab95b5b8a0bd7bf67cec8c7f773c6d762da | [
"MIT"
] | 1 | 2021-07-05T04:19:56.000Z | 2021-07-05T04:19:56.000Z | options/posix/generic/sys-socket-stubs.cpp | 64/mlibc | 81d17ab95b5b8a0bd7bf67cec8c7f773c6d762da | [
"MIT"
] | null | null | null | options/posix/generic/sys-socket-stubs.cpp | 64/mlibc | 81d17ab95b5b8a0bd7bf67cec8c7f773c6d762da | [
"MIT"
] | null | null | null |
#include <errno.h>
#include <sys/socket.h>
#include <bits/ensure.h>
#include <mlibc/debug.hpp>
#include <mlibc/posix-sysdeps.hpp>
int accept(int fd, struct sockaddr *__restrict addr_ptr, socklen_t *__restrict addr_length) {
if(addr_ptr || addr_length)
mlibc::infoLogger() << "\e[35mmlibc: accept() does not fill st... | 22.214286 | 106 | 0.680726 | 64 |
104a327f80da397e5fb8c252289e938fc8389797 | 8,166 | cpp | C++ | hardware/test/cpu_instruction_set_test.cpp | vinders/pandora_toolbox | f32e301ebaa2b281a1ffc3d6d0c556091420520a | [
"MIT"
] | 2 | 2020-11-19T03:23:35.000Z | 2021-02-25T03:34:40.000Z | hardware/test/cpu_instruction_set_test.cpp | vinders/pandora_toolbox | f32e301ebaa2b281a1ffc3d6d0c556091420520a | [
"MIT"
] | null | null | null | hardware/test/cpu_instruction_set_test.cpp | vinders/pandora_toolbox | f32e301ebaa2b281a1ffc3d6d0c556091420520a | [
"MIT"
] | null | null | null | /*******************************************************************************
MIT License
Copyright (c) 2021 Romain Vinders
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, ... | 48.035294 | 128 | 0.75447 | vinders |
104b88ded841f8ea686069bd5c9fc4a560c0315a | 1,156 | cpp | C++ | huawei/binarysearch/binarysearch/main.cpp | RainChang/My_ACM_Exercises | 36872bdcb49cbb3eebde4bb9c7d154d057775b72 | [
"Apache-2.0"
] | 1 | 2017-03-16T09:38:48.000Z | 2017-03-16T09:38:48.000Z | huawei/binarysearch/binarysearch/main.cpp | RainChang/My_ACM_Exercises | 36872bdcb49cbb3eebde4bb9c7d154d057775b72 | [
"Apache-2.0"
] | null | null | null | huawei/binarysearch/binarysearch/main.cpp | RainChang/My_ACM_Exercises | 36872bdcb49cbb3eebde4bb9c7d154d057775b72 | [
"Apache-2.0"
] | null | null | null | //
// main.cpp
// binarysearch
//
// Created by Rain on 12/04/2017.
// Copyright © 2017 Rain. All rights reserved.
//
#include <iostream>
#include <vector>
using namespace std;
int getPos(vector<int> A, int n, int val) {
// write code here
vector<int>count(10000,0);
for(int i=0;i<n;i++)... | 20.280702 | 47 | 0.390138 | RainChang |
104c4a39144277fd702a673cd41acae54291cf78 | 426 | cpp | C++ | level1/p02_isPrime/_isPrime.cpp | KenNN99/c2019 | a668b7aa67187c8ef44bdefe5e7813d665084ff3 | [
"MIT"
] | null | null | null | level1/p02_isPrime/_isPrime.cpp | KenNN99/c2019 | a668b7aa67187c8ef44bdefe5e7813d665084ff3 | [
"MIT"
] | null | null | null | level1/p02_isPrime/_isPrime.cpp | KenNN99/c2019 | a668b7aa67187c8ef44bdefe5e7813d665084ff3 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
void NotPrime();
int main()
{
int i;
scanf("%d", &i);
if (i == 1)
{
NotPrime();
}
for (int n = 2; n*n <= i; n++)
{
if (i%n == 0)
{
NotPrime();
return 0;
}
}
printf("This is a Prime.");
system("pause");
return 0;
}
void NotPrime()
{
printf("This is not ... | 11.833333 | 48 | 0.528169 | KenNN99 |
104c691c27d95e1ba124b9aec6463c2cd4d733d0 | 430 | hpp | C++ | NWNXLib/API/Mac/API/Schema.hpp | Qowyn/unified | 149d0b7670a9d156e64555fe0bd7715423db4c2a | [
"MIT"
] | null | null | null | NWNXLib/API/Mac/API/Schema.hpp | Qowyn/unified | 149d0b7670a9d156e64555fe0bd7715423db4c2a | [
"MIT"
] | null | null | null | NWNXLib/API/Mac/API/Schema.hpp | Qowyn/unified | 149d0b7670a9d156e64555fe0bd7715423db4c2a | [
"MIT"
] | null | null | null | #pragma once
#include <cstdint>
#include "Hash.hpp"
namespace NWNXLib {
namespace API {
// Forward class declarations (defined in the source file)
struct Table;
struct Schema
{
int32_t schema_cookie;
int32_t iGeneration;
Hash tblHash;
Hash idxHash;
Hash trigHash;
Hash fkeyHash;
Table* ... | 13.4375 | 58 | 0.686047 | Qowyn |
104dd44c38c2bb09a043d6c92870c7c210012d1f | 29,388 | cpp | C++ | Engine/source/Alux3D/shotgunprojectile.cpp | fr1tz/alux3d | 249a3b51751ce3184d52879b481f83eabe89e7e3 | [
"MIT"
] | null | null | null | Engine/source/Alux3D/shotgunprojectile.cpp | fr1tz/alux3d | 249a3b51751ce3184d52879b481f83eabe89e7e3 | [
"MIT"
] | null | null | null | Engine/source/Alux3D/shotgunprojectile.cpp | fr1tz/alux3d | 249a3b51751ce3184d52879b481f83eabe89e7e3 | [
"MIT"
] | 1 | 2018-10-26T03:18:22.000Z | 2018-10-26T03:18:22.000Z | // Copyright information can be found in the file named COPYING
// located in the root directory of this distribution.
#include "platform/platform.h"
#include "Alux3D/shotgunprojectile.h"
#include "scene/sceneRenderState.h"
#include "scene/sceneManager.h"
#include "lighting/lightInfo.h"
#include "lighting/lightManage... | 23.757478 | 132 | 0.671124 | fr1tz |
10506bb2f6449ce70be8d9cd41f032a088a927da | 1,129 | hpp | C++ | include/dtc/cell/cell.hpp | tsung-wei-huang/DtCraft | 80cc9e1195adc0026107814243401a1fc47b5be2 | [
"MIT"
] | 69 | 2019-03-16T20:13:26.000Z | 2022-03-24T14:12:19.000Z | include/dtc/cell/cell.hpp | Tsung-Wei/DtCraft | 80cc9e1195adc0026107814243401a1fc47b5be2 | [
"MIT"
] | 12 | 2017-12-02T05:38:30.000Z | 2019-02-08T11:16:12.000Z | include/dtc/cell/cell.hpp | Tsung-Wei/DtCraft | 80cc9e1195adc0026107814243401a1fc47b5be2 | [
"MIT"
] | 12 | 2019-04-13T16:27:29.000Z | 2022-01-07T14:42:46.000Z | /******************************************************************************
* *
* Copyright (c) 2018, Tsung-Wei Huang, Chun-Xun Lin, and Martin D. F. Wong, *
* University of Illinois at Urbana-Champaign (UIUC), IL, USA. *
... | 49.086957 | 80 | 0.355182 | tsung-wei-huang |
1054d6d9d8f0cb216d372576bf8147d76d19b906 | 3,646 | cpp | C++ | kernel/node/Directory.cpp | busybox11/skift | 778ae3a0dc5ac29d7de02200c49d3533e47854c5 | [
"MIT"
] | 2 | 2020-07-14T21:16:54.000Z | 2020-10-08T08:40:47.000Z | kernel/node/Directory.cpp | busybox11/skift | 778ae3a0dc5ac29d7de02200c49d3533e47854c5 | [
"MIT"
] | null | null | null | kernel/node/Directory.cpp | busybox11/skift | 778ae3a0dc5ac29d7de02200c49d3533e47854c5 | [
"MIT"
] | null | null | null |
#include <libsystem/Logger.h>
#include <libsystem/Result.h>
#include <libsystem/core/CString.h>
#include "kernel/node/Directory.h"
#include "kernel/node/Handle.h"
static Result directory_open(FsDirectory *node, FsHandle *handle)
{
DirectoryListing *listing = (DirectoryListing *)malloc(sizeof(DirectoryListing) + ... | 24.469799 | 134 | 0.657707 | busybox11 |
10563e7a19863fd6b7c1c62240c38c3222a06c1f | 1,488 | cpp | C++ | src/main_collector.cpp | despargy/KukaImplementation-kinetic | 3a9ab106b117acfc6478fbf3e60e49b7e94b2722 | [
"MIT"
] | 1 | 2021-08-21T12:49:27.000Z | 2021-08-21T12:49:27.000Z | src/main_collector.cpp | despargy/KukaImplementation-kinetic | 3a9ab106b117acfc6478fbf3e60e49b7e94b2722 | [
"MIT"
] | null | null | null | src/main_collector.cpp | despargy/KukaImplementation-kinetic | 3a9ab106b117acfc6478fbf3e60e49b7e94b2722 | [
"MIT"
] | null | null | null | #include <ros/ros.h>
#include <thread>
// #include <autharl_core/controller/gravity_compensation.h>
// #include <autharl_core/robot/robot_sim.h>
#include <autharl_core>
#include <lwr_robot/robot.h>
//
// #include <autharl_core/viz/ros_state_publisher.h>
// #include <autharl_core/robot/ros_model.h>
#include <kuka_imp... | 28.075472 | 104 | 0.719758 | despargy |
10584bac766b71c8bedf792af1ae53c0665fe320 | 612 | cpp | C++ | src/RE/TESContainer.cpp | FruitsBerriesMelons123/CommonLibSSE | 7ae21d11b9e9c86b0596fc1cfa58b6993a568125 | [
"MIT"
] | 1 | 2020-09-25T18:18:09.000Z | 2020-09-25T18:18:09.000Z | src/RE/TESContainer.cpp | FruitsBerriesMelons123/CommonLibSSE | 7ae21d11b9e9c86b0596fc1cfa58b6993a568125 | [
"MIT"
] | null | null | null | src/RE/TESContainer.cpp | FruitsBerriesMelons123/CommonLibSSE | 7ae21d11b9e9c86b0596fc1cfa58b6993a568125 | [
"MIT"
] | 1 | 2020-10-26T19:05:05.000Z | 2020-10-26T19:05:05.000Z | #include "RE/TESContainer.h"
#include "RE/FormTypes.h"
#include "RE/TESForm.h"
namespace RE
{
auto TESContainer::GetContainerObjectAt(UInt32 a_idx) const
-> std::optional<ContainerObject*>
{
if (a_idx < numContainerObjects) {
return std::make_optional(containerObjects[a_idx]);
} else {
return std::null... | 18.545455 | 77 | 0.69281 | FruitsBerriesMelons123 |
105e8a8c8849240134205cbad4b48cc321374235 | 3,738 | cpp | C++ | src/eigensolve.cpp | norlab-ulaval/wmrde | 69e1f20bedd9c145878d44dbe17b3de405696fe3 | [
"BSD-2-Clause"
] | 18 | 2015-05-09T21:53:43.000Z | 2021-12-01T07:52:09.000Z | src/eigensolve.cpp | norlab-ulaval/wmrde | 69e1f20bedd9c145878d44dbe17b3de405696fe3 | [
"BSD-2-Clause"
] | 5 | 2016-05-29T09:02:09.000Z | 2021-05-07T16:36:38.000Z | src/eigensolve.cpp | norlab-ulaval/wmrde | 69e1f20bedd9c145878d44dbe17b3de405696fe3 | [
"BSD-2-Clause"
] | 11 | 2016-07-15T16:46:51.000Z | 2022-03-14T13:11:22.000Z | #include <wmrde/eigensolve.h>
void eigenSolveDynamic( const int nrows, const int ncols, Real* A, Real* b, Real* x ) {
Eigen::Map<MatrixXr> A_(A,nrows,ncols);
Eigen::Map<MatrixXr> b_(b,nrows,1);
Eigen::Map<MatrixXr> x_(x,ncols,1);
if ( nrows == ncols ) {
x_ = A_.llt().solve(b_); //requires positive definite
} el... | 26.892086 | 104 | 0.67603 | norlab-ulaval |
105eae46a93cf2dfed9c56935880b1b46319e7b6 | 827 | cpp | C++ | src/StillDataTask.cpp | stefunkk/openstill | 17cc439fe9dbe7dea02588d77e51652fc1cc50ce | [
"MIT"
] | 1 | 2021-02-13T08:40:50.000Z | 2021-02-13T08:40:50.000Z | src/StillDataTask.cpp | stefunkk/openstill | 17cc439fe9dbe7dea02588d77e51652fc1cc50ce | [
"MIT"
] | null | null | null | src/StillDataTask.cpp | stefunkk/openstill | 17cc439fe9dbe7dea02588d77e51652fc1cc50ce | [
"MIT"
] | null | null | null | #include "StillDataTask.h"
StillDataTaskClass::StillDataTaskClass(StillDataContextClass &context, FileServiceClass &fileService, SensorDataClass &data, SettingsClass &settings) : _settings(settings), _data(data), _fileService(fileService), _context(context)
{
}
void StillDataTaskClass::exec()
{
if (_context.clear... | 33.08 | 230 | 0.729141 | stefunkk |
105fe483961cb78caa1f8d264789e68c31b7447f | 6,327 | cpp | C++ | src/VAC/VectorAnimationComplex/ProperCycle.cpp | CELLINKAB/VPaint | 7f415b54bdaeff8b0bbd11f101d4aa34135a4404 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | src/VAC/VectorAnimationComplex/ProperCycle.cpp | CELLINKAB/VPaint | 7f415b54bdaeff8b0bbd11f101d4aa34135a4404 | [
"ECL-2.0",
"Apache-2.0"
] | 3 | 2022-01-16T22:33:35.000Z | 2022-03-25T07:27:52.000Z | src/VAC/VectorAnimationComplex/ProperCycle.cpp | CELLINKAB/VPaint | 7f415b54bdaeff8b0bbd11f101d4aa34135a4404 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | // Copyright (C) 2012-2019 The VPaint Developers.
// See the COPYRIGHT file at the top-level directory of this distribution
// and at https://github.com/dalboris/vpaint/blob/master/COPYRIGHT
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the ... | 28.245536 | 117 | 0.549708 | CELLINKAB |
106028bea8c96f4985efaf4ab67d71352f11a2f7 | 1,473 | cpp | C++ | SDK/ARKSurvivalEvolved_PlayerPawnTest_Male_functions.cpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 10 | 2020-02-17T19:08:46.000Z | 2021-07-31T11:07:19.000Z | SDK/ARKSurvivalEvolved_PlayerPawnTest_Male_functions.cpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 9 | 2020-02-17T18:15:41.000Z | 2021-06-06T19:17:34.000Z | SDK/ARKSurvivalEvolved_PlayerPawnTest_Male_functions.cpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 3 | 2020-07-22T17:42:07.000Z | 2021-06-19T17:16:13.000Z | // ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_PlayerPawnTest_Male_parameters.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Functions
//--------------------------------------------------------------... | 25.842105 | 140 | 0.700611 | 2bite |
10602be24a2497a4266315d313a235479c764566 | 5,441 | cpp | C++ | l-ten/optimizer.cpp | adeobootpin/light-tensor | dfc2d19495848e773b7367427cf848e4ac30b29d | [
"MIT"
] | null | null | null | l-ten/optimizer.cpp | adeobootpin/light-tensor | dfc2d19495848e773b7367427cf848e4ac30b29d | [
"MIT"
] | null | null | null | l-ten/optimizer.cpp | adeobootpin/light-tensor | dfc2d19495848e773b7367427cf848e4ac30b29d | [
"MIT"
] | null | null | null | #include <cmath>
#include <string.h>
#include "tensor.h"
#include "layers.h"
#include "net.h"
#include "optimizer.h"
#include "error.h"
namespace lten {
void SGDOptimizer::setup_optimizer()
{
int i;
uint64_t numels;
for (i = 0; i < num_params_; i++)
{
numels = network_params_ptr_[i].param_->get_numels();... | 28.78836 | 187 | 0.679287 | adeobootpin |
1060d8c918966a41ece1a66555cd052063418fbf | 46,376 | cpp | C++ | compiler/src/iree/compiler/Codegen/LLVMCPU/KernelDispatch.cpp | mariecwhite/iree | 6031ff4080f5755bcc52826a8d41ae7360106ffd | [
"Apache-2.0"
] | null | null | null | compiler/src/iree/compiler/Codegen/LLVMCPU/KernelDispatch.cpp | mariecwhite/iree | 6031ff4080f5755bcc52826a8d41ae7360106ffd | [
"Apache-2.0"
] | null | null | null | compiler/src/iree/compiler/Codegen/LLVMCPU/KernelDispatch.cpp | mariecwhite/iree | 6031ff4080f5755bcc52826a8d41ae7360106ffd | [
"Apache-2.0"
] | null | null | null | // Copyright 2020 The IREE Authors
//
// Licensed under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#include "iree/compiler/Codegen/LLVMCPU/KernelDispatch.h"
#include <numeric>
#include "iree-dia... | 41.518353 | 80 | 0.697149 | mariecwhite |
1062ce617d1f9a3bdc8442fd27d859de02c7627b | 5,990 | cpp | C++ | src/array_list.cpp | Algorithms-and-Data-Structures-2021/h02_data_structures-DRIbaev004 | 8f61838429414fec507b26db48d2546d31066e94 | [
"MIT"
] | null | null | null | src/array_list.cpp | Algorithms-and-Data-Structures-2021/h02_data_structures-DRIbaev004 | 8f61838429414fec507b26db48d2546d31066e94 | [
"MIT"
] | null | null | null | src/array_list.cpp | Algorithms-and-Data-Structures-2021/h02_data_structures-DRIbaev004 | 8f61838429414fec507b26db48d2546d31066e94 | [
"MIT"
] | null | null | null | #include "array_list.hpp" // подключаем заголовочный файл с объявлениями
#include <algorithm> // copy, fill
#include <cassert> // assert
#include <stdexcept> // out_of_range, invalid_argument
#include "private/internal.hpp" // вспомогательные функции
namespace itis {
ArrayList::ArrayList(int capacity) : capa... | 31.197917 | 106 | 0.676294 | Algorithms-and-Data-Structures-2021 |
10657de129cf0bec27e58132bad7f2a326edd139 | 17,327 | cpp | C++ | third/3rd_qwt/qwt_plot_spectrogram.cpp | alexwang815/QWidgetDemo | 293a8d9c40d686397829c5d415fc531b6956883e | [
"MulanPSL-1.0"
] | 3,095 | 2019-10-11T03:00:33.000Z | 2022-03-31T08:15:13.000Z | third/3rd_qwt/qwt_plot_spectrogram.cpp | alexwang815/QWidgetDemo | 293a8d9c40d686397829c5d415fc531b6956883e | [
"MulanPSL-1.0"
] | 28 | 2019-11-12T07:24:06.000Z | 2022-02-28T02:04:48.000Z | third/3rd_qwt/qwt_plot_spectrogram.cpp | alexwang815/QWidgetDemo | 293a8d9c40d686397829c5d415fc531b6956883e | [
"MulanPSL-1.0"
] | 1,023 | 2019-10-09T12:54:07.000Z | 2022-03-30T04:02:07.000Z | /* -*- mode: C++ ; c-file-style: "stroustrup" -*- *****************************
* Qwt Widget Library
* Copyright (C) 1997 Josef Wilgen
* Copyright (C) 2002 Uwe Rathmann
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the Qwt License, Version 1.0
**************... | 25.593796 | 80 | 0.638656 | alexwang815 |
1065eeaf318f78ed4feed93033341be6eec19c41 | 1,077 | hpp | C++ | libs/core/include/fcppt/math/from_array.hpp | pmiddend/fcppt | 9f437acbb10258e6df6982a550213a05815eb2be | [
"BSL-1.0"
] | null | null | null | libs/core/include/fcppt/math/from_array.hpp | pmiddend/fcppt | 9f437acbb10258e6df6982a550213a05815eb2be | [
"BSL-1.0"
] | null | null | null | libs/core/include/fcppt/math/from_array.hpp | pmiddend/fcppt | 9f437acbb10258e6df6982a550213a05815eb2be | [
"BSL-1.0"
] | null | null | null | // Copyright Carl Philipp Reh 2009 - 2018.
// 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 FCPPT_MATH_FROM_ARRAY_HPP_INCLUDED
#define FCPPT_MATH_FROM_ARRAY_HPP_INCLUDED
#include <f... | 13.987013 | 68 | 0.702878 | pmiddend |
10677ee5952433bf423e50d1f02b932be93f7c50 | 2,067 | cpp | C++ | logdevice/common/configuration/nodes/ServiceDiscoveryConfig.cpp | mickvav/LogDevice | 24a8b6abe4576418eceb72974083aa22d7844705 | [
"BSD-3-Clause"
] | 1 | 2021-05-19T23:01:58.000Z | 2021-05-19T23:01:58.000Z | logdevice/common/configuration/nodes/ServiceDiscoveryConfig.cpp | mickvav/LogDevice | 24a8b6abe4576418eceb72974083aa22d7844705 | [
"BSD-3-Clause"
] | null | null | null | logdevice/common/configuration/nodes/ServiceDiscoveryConfig.cpp | mickvav/LogDevice | 24a8b6abe4576418eceb72974083aa22d7844705 | [
"BSD-3-Clause"
] | null | null | null | /**
* Copyright (c) 2017-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.
*/
#include "ServiceDiscoveryConfig.h"
#include <folly/Range.h>
#include "logdevice/common/debug.h"
#include... | 27.56 | 78 | 0.652637 | mickvav |
1069154212618384b2b5d27c09594afb0fdf6f97 | 32,407 | cpp | C++ | filament/src/Engine.cpp | tombsar/filament | 20dadf06f1399fc03aaa7c8796daaf237f96416d | [
"Apache-2.0"
] | 1 | 2021-06-12T21:17:58.000Z | 2021-06-12T21:17:58.000Z | filament/src/Engine.cpp | tombsar/filament | 20dadf06f1399fc03aaa7c8796daaf237f96416d | [
"Apache-2.0"
] | null | null | null | filament/src/Engine.cpp | tombsar/filament | 20dadf06f1399fc03aaa7c8796daaf237f96416d | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2015 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 31.160577 | 100 | 0.654612 | tombsar |
106df08aa4f507ae607ea7a170e973388c577b8a | 651 | cc | C++ | src/include/XESystem/Entityx/help/Timer.cc | devxkh/FrankE | 72faca02759b54aaec842831f3c7a051e7cf5335 | [
"MIT"
] | 11 | 2017-01-17T15:02:25.000Z | 2020-11-27T16:54:42.000Z | src/include/XESystem/Entityx/help/Timer.cc | devxkh/FrankE | 72faca02759b54aaec842831f3c7a051e7cf5335 | [
"MIT"
] | 9 | 2016-10-23T20:15:38.000Z | 2018-02-06T11:23:17.000Z | src/include/XESystem/Entityx/help/Timer.cc | devxkh/FrankE | 72faca02759b54aaec842831f3c7a051e7cf5335 | [
"MIT"
] | 2 | 2019-08-29T10:23:51.000Z | 2020-04-03T06:08:34.000Z | /*
* Copyright (C) 2013 Antony Woods <antony@teamwoods.org>
* All rights reserved.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution.
*
* Author: Antony Woods <antony@teamwoods.org>
*/
#include "Timer.h"
namespace entityx {
namespace ... | 19.727273 | 90 | 0.680492 | devxkh |
106ffdd4c86ffa7dbfe8caeeb09fa5fa4ef75185 | 3,644 | hpp | C++ | Math/include/Extended/AABB3.hpp | C-And-Cpp-Libraries/handycpp | 85f4e4f93856988e729e1e81512eab99a02b5a5a | [
"Unlicense",
"Apache-2.0",
"BSD-2-Clause",
"MIT"
] | 25 | 2017-12-28T22:09:11.000Z | 2020-04-02T15:49:51.000Z | Math/include/Extended/AABB3.hpp | C-And-Cpp-Libraries/handycpp | 85f4e4f93856988e729e1e81512eab99a02b5a5a | [
"Unlicense",
"Apache-2.0",
"BSD-2-Clause",
"MIT"
] | 1 | 2019-07-30T08:59:00.000Z | 2019-07-30T21:35:50.000Z | Math/include/Extended/AABB3.hpp | C-And-Cpp-Libraries/handycpp | 85f4e4f93856988e729e1e81512eab99a02b5a5a | [
"Unlicense",
"Apache-2.0",
"BSD-2-Clause",
"MIT"
] | 1 | 2021-12-26T14:14:09.000Z | 2021-12-26T14:14:09.000Z |
/// See ../../License.txt for license info.
#pragma once
#include <cmath>
#include <vector>
#include "../Core/Vector3.hpp"
namespace HANDYMATH_NS
{
struct AABB3
{
Vector3 Min;
Vector3 Max;
AABB3();
AABB3(Vector3 const & point);
AABB3(std::vector<Vector3> const & points);
AABB3(Vector3 const & min, Vector3 ... | 25.843972 | 130 | 0.642975 | C-And-Cpp-Libraries |
10719b53b8cce6cf10b9b0a139d37b6637b560a4 | 6,660 | cpp | C++ | examples/Cpp/RealSense.cpp | fangchuan/Open3D | 61f991ba5d9fe3ee1e4e195a607bf48f4695d821 | [
"MIT"
] | null | null | null | examples/Cpp/RealSense.cpp | fangchuan/Open3D | 61f991ba5d9fe3ee1e4e195a607bf48f4695d821 | [
"MIT"
] | null | null | null | examples/Cpp/RealSense.cpp | fangchuan/Open3D | 61f991ba5d9fe3ee1e4e195a607bf48f4695d821 | [
"MIT"
] | null | null | null | // ----------------------------------------------------------------------------
// - Open3D: www.open3d.org -
// ----------------------------------------------------------------------------
// The MIT License (MIT)
//
// Copyright (c) 2018 www.open3d.org
//
// Permissio... | 41.886792 | 80 | 0.572823 | fangchuan |
10727506f5e0bdde87cb655c781abe724f11ae6c | 2,090 | cpp | C++ | clib/RecursiveMutex.cpp | dehilsterlexis/eclide-1 | 0c1685cc7165191b5033d450c59aec479f01010a | [
"Apache-2.0"
] | 8 | 2016-08-29T13:34:18.000Z | 2020-12-04T15:20:36.000Z | clib/RecursiveMutex.cpp | dehilsterlexis/eclide-1 | 0c1685cc7165191b5033d450c59aec479f01010a | [
"Apache-2.0"
] | 221 | 2016-06-20T19:51:48.000Z | 2022-03-29T20:46:46.000Z | clib/RecursiveMutex.cpp | dehilsterlexis/eclide-1 | 0c1685cc7165191b5033d450c59aec479f01010a | [
"Apache-2.0"
] | 13 | 2016-06-24T15:59:31.000Z | 2022-01-01T11:48:20.000Z | #include "StdAfx.h"
#include ".\recursivemutex.h"
#include "atlsync.h"
namespace clib
{
recursive_mutex::recursive_mutex() : m_lockCount(0)
{
}
recursive_mutex::~recursive_mutex()
{
}
LONG recursive_mutex::GetLockCount()
{
return m_lockCount;
}
void recursive_mutex::do_lock()
{
::InterlockedIncrement(&m_lo... | 17.131148 | 74 | 0.669378 | dehilsterlexis |
107329f5ce381018f781bb18961bc0a19004c420 | 7,386 | cpp | C++ | src/ObservableVectorUnitTest.cpp | k2snowman69/threadily-sample-cpp-test | 2edf49d11032ff8efa2dc77ea67cf7092c60b0b8 | [
"MIT"
] | null | null | null | src/ObservableVectorUnitTest.cpp | k2snowman69/threadily-sample-cpp-test | 2edf49d11032ff8efa2dc77ea67cf7092c60b0b8 | [
"MIT"
] | null | null | null | src/ObservableVectorUnitTest.cpp | k2snowman69/threadily-sample-cpp-test | 2edf49d11032ff8efa2dc77ea67cf7092c60b0b8 | [
"MIT"
] | null | null | null | // Main test framework
#include <bandit/bandit.h>
// std includes
#include <iostream>
#include <memory>
// Threadily includes
#include <ReadyEvent.h>
#include <Observable.h>
#include <ThreadManager.h>
#include <ThreadQueueItem.h>
#include <ThreadIds.h>
using namespace snowhouse;
using namespace bandit;
namespace thre... | 34.514019 | 149 | 0.69537 | k2snowman69 |
1076475f1860606c70a4de5c9685e6ccf0440147 | 46,677 | cpp | C++ | ocv/text/ocr_hmm_decoder.cpp | privet56/qRabbifier | 4289016f9ba40658ad444580818292456574ffb5 | [
"Apache-2.0"
] | 16 | 2016-07-04T10:32:22.000Z | 2021-11-10T11:26:45.000Z | ocv/text/ocr_hmm_decoder.cpp | privet56/qRabbifier | 4289016f9ba40658ad444580818292456574ffb5 | [
"Apache-2.0"
] | null | null | null | ocv/text/ocr_hmm_decoder.cpp | privet56/qRabbifier | 4289016f9ba40658ad444580818292456574ffb5 | [
"Apache-2.0"
] | 22 | 2015-10-23T19:36:18.000Z | 2021-02-02T12:20:32.000Z | /*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, instal... | 36.869668 | 182 | 0.546715 | privet56 |
1079356793ededa288a040e9c60eda37a3c91ca1 | 6,989 | cpp | C++ | src/Master/Interface/GridCtrlSource/GridCell.cpp | averkhaturau/Tarificator | 90a976d16ecab8c6a1cd75f4cb6a860dc4c76ce5 | [
"MIT"
] | null | null | null | src/Master/Interface/GridCtrlSource/GridCell.cpp | averkhaturau/Tarificator | 90a976d16ecab8c6a1cd75f4cb6a860dc4c76ce5 | [
"MIT"
] | null | null | null | src/Master/Interface/GridCtrlSource/GridCell.cpp | averkhaturau/Tarificator | 90a976d16ecab8c6a1cd75f4cb6a860dc4c76ce5 | [
"MIT"
] | null | null | null | // GridCell.cpp : implementation file
//
// MFC Grid Control - Main grid cell class
//
// Provides the implementation for the "default" cell type of the
// grid control. Adds in cell editing.
//
// Written by Chris Maunder <cmaunder@mail.com>
// Copyright (c) 1998-2001. All Rights Reserved.
//
// This code ma... | 25.050179 | 95 | 0.586922 | averkhaturau |
107b6ea10ec0c7ffabde63763b40b16f15bb4380 | 12,809 | hpp | C++ | include/GlobalNamespace/TutorialPause.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | include/GlobalNamespace/TutorialPause.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | include/GlobalNamespace/TutorialPause.hpp | RedBrumbler/BeatSaber-Quest-Codegen | 73dda50b5a3e51f10d86b766dcaa24b0c6226e25 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "beatsaber-hook/shared/utils/typedefs.h"
#include "beatsaber-hook/shared/utils/byref.hpp"
// Including type: IGamePause
#include "Global... | 50.231373 | 190 | 0.727145 | RedBrumbler |
107d7ec8a92c6a27de175150a6be5eda68ed18cc | 797 | cpp | C++ | nowcoder/9799B.cpp | freedomDR/coding | 310a68077de93ef445ccd2929e90ba9c22a9b8eb | [
"MIT"
] | null | null | null | nowcoder/9799B.cpp | freedomDR/coding | 310a68077de93ef445ccd2929e90ba9c22a9b8eb | [
"MIT"
] | null | null | null | nowcoder/9799B.cpp | freedomDR/coding | 310a68077de93ef445ccd2929e90ba9c22a9b8eb | [
"MIT"
] | null | null | null | #include<iostream>
#include<vector>
#include<algorithm>
using namespace std;
int main()
{
int n; cin >> n;
vector<vector<int> > arr(n, vector<int>());
for(int i = 0; i < n; i++)
{
int nums = 0; cin >> nums;
for(int j = 0; j < nums; j++)
{
int v; cin >> v; arr[i].push... | 22.771429 | 68 | 0.410289 | freedomDR |
1084b2d9e3d1eb38da6196c82593f51170b5a413 | 1,608 | cpp | C++ | src/poc/ncpp_build_exceptions.cpp | grendello/notcurses | a2cc5f096adb3991f264d96657b45a050fa8df2a | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | src/poc/ncpp_build_exceptions.cpp | grendello/notcurses | a2cc5f096adb3991f264d96657b45a050fa8df2a | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | src/poc/ncpp_build_exceptions.cpp | grendello/notcurses | a2cc5f096adb3991f264d96657b45a050fa8df2a | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | #define NCPP_EXCEPTIONS_PLEASE
//
// This is a **build** test - it does nothing else except ensure that all the C++ wrapper classes are included and that
// the program builds.
//
// Once there are demos which exercise all the C++ classes this "test" can be removed
//
#include <cstdlib>
#include <clocale>
#include <ios... | 22.971429 | 119 | 0.648632 | grendello |
c8066f8a93d79afc2b8617619e8c4a6373223281 | 609 | cpp | C++ | Sistem Bilangan Digital/05_Decimal_to_Hexa.cpp | wardimanxixv/CPP-Basic | 332adde53ebc73bef20080a7cf7f195820394c37 | [
"MIT"
] | null | null | null | Sistem Bilangan Digital/05_Decimal_to_Hexa.cpp | wardimanxixv/CPP-Basic | 332adde53ebc73bef20080a7cf7f195820394c37 | [
"MIT"
] | null | null | null | Sistem Bilangan Digital/05_Decimal_to_Hexa.cpp | wardimanxixv/CPP-Basic | 332adde53ebc73bef20080a7cf7f195820394c37 | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int main()
{
long int decimalNumber, remainder, quotient;
int i = 1, j, temp;
char hexadecimalNumber[100];
cout << "Masukkan Bilangan Decimal : "; cin >> decimalNumber;
quotient = decimalNumber;
while (quotient != 0)
{
temp = quotient % 16;
if (temp < 10)... | 19.03125 | 63 | 0.584565 | wardimanxixv |
c807bd8d0fbb1cc985db83edcbc2d5d1384e1cf9 | 5,697 | hpp | C++ | include/engine/Logger.hpp | Mathieu-Lala/NewDimension | 9200692e79dc1d983f51043f3c195eb1b865a74d | [
"0BSD"
] | 4 | 2019-11-19T23:53:26.000Z | 2019-12-10T11:19:28.000Z | include/engine/Logger.hpp | Mathieu-Lala/NewDimension | 9200692e79dc1d983f51043f3c195eb1b865a74d | [
"0BSD"
] | null | null | null | include/engine/Logger.hpp | Mathieu-Lala/NewDimension | 9200692e79dc1d983f51043f3c195eb1b865a74d | [
"0BSD"
] | null | null | null | /*
** EPITECH PROJECT, 2019
** NewDimension
** File description:
** Logger
*/
#ifndef LOGGER_HPP_
# define LOGGER_HPP_
# include <ostream>
# include <iostream>
# include <array>
# include <ctime>
# include <functional>
# include "config/config.hpp"
namespace nd {
namespace engine {
class Logger {
public:
Logger... | 35.385093 | 111 | 0.610848 | Mathieu-Lala |
c807e185b44fcba37d206a60d9a6e874368e4074 | 16,032 | cpp | C++ | common.cpp | SBcodework/Minesweeper-in-C- | e2ca6364f5afc6faa3ca723a926c64603d0f4ffc | [
"BSD-2-Clause"
] | null | null | null | common.cpp | SBcodework/Minesweeper-in-C- | e2ca6364f5afc6faa3ca723a926c64603d0f4ffc | [
"BSD-2-Clause"
] | 4 | 2019-06-28T18:08:49.000Z | 2019-07-04T03:41:32.000Z | common.cpp | SBcodework/Minesweeper-in-C- | e2ca6364f5afc6faa3ca723a926c64603d0f4ffc | [
"BSD-2-Clause"
] | null | null | null | /**
BSD 2-Clause License
Copyright (c) 2019, SBcodework
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 ... | 31.130097 | 162 | 0.515594 | SBcodework |
c808ab04bf668e3806d4b1e55823bf4a3b80a69c | 1,731 | cpp | C++ | ui/widget/ChangeFrontBackColorWidget.cpp | shinehanx/openphoto | e4466e5e80829385d2aa84813f2d5a8960053845 | [
"Apache-2.0"
] | 5 | 2021-03-11T00:30:25.000Z | 2021-07-28T00:31:20.000Z | ui/widget/ChangeFrontBackColorWidget.cpp | shinehanx/openphoto | e4466e5e80829385d2aa84813f2d5a8960053845 | [
"Apache-2.0"
] | null | null | null | ui/widget/ChangeFrontBackColorWidget.cpp | shinehanx/openphoto | e4466e5e80829385d2aa84813f2d5a8960053845 | [
"Apache-2.0"
] | 1 | 2021-09-14T16:28:26.000Z | 2021-09-14T16:28:26.000Z | #include "ChangeFrontBackColorWidget.h"
#include <QDebug>
#define CHANGEFRONTBACKCOLORWIDGET_MARGIN 3
#define CHANGEFRONTBACKCOLORWIDGET_BTN_W 12
#define CHANGEFRONTBACKCOLORWIDGET_BTN_H 12
ChangeFrontBackColorWidget::ChangeFrontBackColorWidget(QWidget *parent) : QWidget(parent)
{
setAutoFillBackground(true);
}
/... | 36.829787 | 92 | 0.732525 | shinehanx |
c80b8970465cd21883aa8b06d13425182124e32c | 233 | cpp | C++ | test/po/gtest.cpp | JieDing/WasmEdge | b2f17c807ba2b4b6294af9e15113cca04919906e | [
"Apache-2.0"
] | 2,084 | 2021-04-30T11:20:17.000Z | 2022-03-31T21:31:47.000Z | test/po/gtest.cpp | JieDing/WasmEdge | b2f17c807ba2b4b6294af9e15113cca04919906e | [
"Apache-2.0"
] | 990 | 2021-04-29T18:43:51.000Z | 2022-03-31T15:32:51.000Z | test/po/gtest.cpp | JieDing/WasmEdge | b2f17c807ba2b4b6294af9e15113cca04919906e | [
"Apache-2.0"
] | 343 | 2021-05-04T20:27:10.000Z | 2022-03-29T03:31:26.000Z | // SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: 2019-2022 Second State INC
#include "gtest/gtest.h"
GTEST_API_ int main(int argc, char **argv) {
testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
}
| 23.3 | 53 | 0.729614 | JieDing |
c80eb117a88136d8a488b4d0ae220c3ce70ceb17 | 5,486 | cc | C++ | src/Core/Algorithms/Field/Tests/GetFieldBoundaryTests.cc | Haydelj/SCIRun | f7ee04d85349b946224dbff183438663e54b9413 | [
"MIT"
] | 92 | 2015-02-09T22:42:11.000Z | 2022-03-25T09:14:50.000Z | src/Core/Algorithms/Field/Tests/GetFieldBoundaryTests.cc | Haydelj/SCIRun | f7ee04d85349b946224dbff183438663e54b9413 | [
"MIT"
] | 1,618 | 2015-01-05T19:39:13.000Z | 2022-03-27T20:28:45.000Z | src/Core/Algorithms/Field/Tests/GetFieldBoundaryTests.cc | Haydelj/SCIRun | f7ee04d85349b946224dbff183438663e54b9413 | [
"MIT"
] | 64 | 2015-02-20T17:51:23.000Z | 2021-11-19T07:08:08.000Z | /*
For more information, please see: http://software.sci.utah.edu
The MIT License
Copyright (c) 2020 Scientific Computing and Imaging Institute,
University of Utah.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the ... | 34.503145 | 153 | 0.644185 | Haydelj |
c8143f4acce02eb5866bb688628c0da88133b559 | 10,360 | cpp | C++ | src/sim/airframe/atmos.cpp | Terebinth/freefalcon-central | c28d807183ab447ef6a801068aa3769527d55deb | [
"BSD-2-Clause"
] | 117 | 2015-01-13T14:48:49.000Z | 2022-03-16T01:38:19.000Z | src/sim/airframe/atmos.cpp | darongE/freefalcon-central | c28d807183ab447ef6a801068aa3769527d55deb | [
"BSD-2-Clause"
] | 4 | 2015-05-01T13:09:53.000Z | 2017-07-22T09:11:06.000Z | src/sim/airframe/atmos.cpp | darongE/freefalcon-central | c28d807183ab447ef6a801068aa3769527d55deb | [
"BSD-2-Clause"
] | 78 | 2015-01-13T09:27:47.000Z | 2022-03-18T14:39:09.000Z | /******************************************************************************/
/* */
/* Unit Name : atmos.cpp */
/* ... | 35.479452 | 207 | 0.415444 | Terebinth |
c815d1e6895510162db703d82cf0f2cf848efa33 | 3,661 | cpp | C++ | Worms/src/InGame/Entity/World/World.cpp | GearEngine/GearEngine | fa5ed49ca6289a215799a7b84ece1241eb33bd36 | [
"Apache-2.0"
] | 3 | 2020-03-05T06:56:51.000Z | 2020-03-12T09:36:20.000Z | Worms/src/InGame/Entity/World/World.cpp | GearEngine/GearEngine | fa5ed49ca6289a215799a7b84ece1241eb33bd36 | [
"Apache-2.0"
] | 2 | 2020-03-05T15:40:28.000Z | 2020-03-11T16:04:44.000Z | Worms/src/InGame/Entity/World/World.cpp | GearEngine/GearEngine | fa5ed49ca6289a215799a7b84ece1241eb33bd36 | [
"Apache-2.0"
] | null | null | null | #include "wmpch.h"
#include "World.h"
namespace InGame {
float World::s_LimitTurnTime = 0;
int World::s_LimitSuddenDeathTurn = 0;
int World::s_CurrentTurn = 0;
World::World(const InitiateData& initData)
{
s_LimitSuddenDeathTurn = initData.LimitSuddenDeathTurn;
s_LimitTurnTime = initData.LimitTurnTime;
s_C... | 40.677778 | 153 | 0.734772 | GearEngine |
c81825bda8ba08b264adf5b80f6e9a3c5fe6a9d4 | 8,739 | cpp | C++ | src/mfx/pi/nzbl/FilterBank.cpp | mikelange49/pedalevite | a81bd8a6119c5920995ec91b9f70e11e9379580e | [
"WTFPL"
] | null | null | null | src/mfx/pi/nzbl/FilterBank.cpp | mikelange49/pedalevite | a81bd8a6119c5920995ec91b9f70e11e9379580e | [
"WTFPL"
] | null | null | null | src/mfx/pi/nzbl/FilterBank.cpp | mikelange49/pedalevite | a81bd8a6119c5920995ec91b9f70e11e9379580e | [
"WTFPL"
] | null | null | null | /*****************************************************************************
FilterBank.cpp
Author: Laurent de Soras, 2017
--- Legal stuff ---
This program is free software. It comes without any warranty, to
the extent permitted by applicable law. You can redistribute it
and/or modify it under the ... | 26.164671 | 86 | 0.594347 | mikelange49 |
c81a8400836f894b503597b48b8c795fc7afccd0 | 36,032 | cxx | C++ | PWGCF/FEMTOSCOPY/AliFemtoUser/AliFemtoESDTrackCut.cxx | Tingchenxi/AliPhysics | 16ea676341c0d417efa849673baa54bed717cd54 | [
"BSD-3-Clause"
] | null | null | null | PWGCF/FEMTOSCOPY/AliFemtoUser/AliFemtoESDTrackCut.cxx | Tingchenxi/AliPhysics | 16ea676341c0d417efa849673baa54bed717cd54 | [
"BSD-3-Clause"
] | null | null | null | PWGCF/FEMTOSCOPY/AliFemtoUser/AliFemtoESDTrackCut.cxx | Tingchenxi/AliPhysics | 16ea676341c0d417efa849673baa54bed717cd54 | [
"BSD-3-Clause"
] | 1 | 2018-09-22T01:09:25.000Z | 2018-09-22T01:09:25.000Z | /*
***************************************************************************
*
* $Id$
*
*
***************************************************************************
*
*
*
*
***************************************************************************
*
* $Log$
* Revision 1.3 2007/05/22 09:01:42 akisiel
* Add the pos... | 29.437908 | 136 | 0.578264 | Tingchenxi |
c81d408903f8057f36faf3dace43172b0bced3b4 | 1,253 | cpp | C++ | MMOCoreORB/src/server/zone/objects/tangible/sign/SignObjectImplementation.cpp | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 18 | 2017-02-09T15:36:05.000Z | 2021-12-21T04:22:15.000Z | MMOCoreORB/src/server/zone/objects/tangible/sign/SignObjectImplementation.cpp | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 61 | 2016-12-30T21:51:10.000Z | 2021-12-10T20:25:56.000Z | MMOCoreORB/src/server/zone/objects/tangible/sign/SignObjectImplementation.cpp | V-Fib/FlurryClone | 40e0ca7245ec31b3815eb6459329fd9e70f88936 | [
"Zlib",
"OpenSSL"
] | 71 | 2017-01-01T05:34:38.000Z | 2022-03-29T01:04:00.000Z | /*
* SignObjectImplementation.cpp
*
* Created on: Nov 20, 2010
* Author: crush
*/
#include "server/zone/objects/tangible/sign/SignObject.h"
#include "server/zone/objects/creature/CreatureObject.h"
#include "server/zone/objects/player/sui/messagebox/SuiMessageBox.h"
#include "server/zone/objects/building/Bu... | 29.139535 | 97 | 0.782123 | V-Fib |
c81f7ec1089411b0df479216d500b675ca1b6ff4 | 399 | cpp | C++ | docs/parallel/concrt/codesnippet/CPP/best-practices-in-the-parallel-patterns-library_8.cpp | bobbrow/cpp-docs | 769b186399141c4ea93400863a7d8463987bf667 | [
"CC-BY-4.0",
"MIT"
] | 965 | 2017-06-25T23:57:11.000Z | 2022-03-31T14:17:32.000Z | docs/parallel/concrt/codesnippet/CPP/best-practices-in-the-parallel-patterns-library_8.cpp | bobbrow/cpp-docs | 769b186399141c4ea93400863a7d8463987bf667 | [
"CC-BY-4.0",
"MIT"
] | 3,272 | 2017-06-24T00:26:34.000Z | 2022-03-31T22:14:07.000Z | docs/parallel/concrt/codesnippet/CPP/best-practices-in-the-parallel-patterns-library_8.cpp | bobbrow/cpp-docs | 769b186399141c4ea93400863a7d8463987bf667 | [
"CC-BY-4.0",
"MIT"
] | 951 | 2017-06-25T12:36:14.000Z | 2022-03-26T22:49:06.000Z | // Performs the given work function on the data element of the tree and
// on each child.
template<class Function>
void tree::for_all(Function& action)
{
// Perform the action on each child.
parallel_for_each(begin(_children), end(_children), [&](tree& child) {
child.for_all(action);... | 30.692308 | 76 | 0.626566 | bobbrow |
c821041336f42b23b4131c3abccb6bced4e64d39 | 7,363 | cpp | C++ | winston/external/asio/src/examples/cpp11/operations/composed_3.cpp | danie1kr/winston | 18fe865dc59e8315cb1d85c6fa60c4ddeaf83202 | [
"MIT"
] | 172 | 2018-10-31T13:47:10.000Z | 2022-02-21T12:08:20.000Z | winston/external/asio/src/examples/cpp11/operations/composed_3.cpp | danie1kr/winston | 18fe865dc59e8315cb1d85c6fa60c4ddeaf83202 | [
"MIT"
] | 51 | 2018-11-01T12:46:25.000Z | 2021-12-14T15:16:15.000Z | winston/external/asio/src/examples/cpp11/operations/composed_3.cpp | danie1kr/winston | 18fe865dc59e8315cb1d85c6fa60c4ddeaf83202 | [
"MIT"
] | 72 | 2018-10-31T13:50:02.000Z | 2022-03-14T09:10:35.000Z | //
// composed_3.cpp
// ~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2021 Christopher M. Kohlhoff (chris at kohlhoff 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)
//
#include <asio/bind_executor.hpp>
#incl... | 38.150259 | 80 | 0.682602 | danie1kr |
c82275b68ae3cee945f5187d4807aef8b105eea5 | 10,641 | cc | C++ | src/msgpass/GlobalSynchronizeDevThr.cc | cea-hpc/pattern4gpu | bf606708b6a8bad1041369814e8443b7f1dedcef | [
"Apache-2.0"
] | 1 | 2022-03-23T10:33:16.000Z | 2022-03-23T10:33:16.000Z | src/msgpass/GlobalSynchronizeDevThr.cc | cea-hpc/pattern4gpu | bf606708b6a8bad1041369814e8443b7f1dedcef | [
"Apache-2.0"
] | null | null | null | src/msgpass/GlobalSynchronizeDevThr.cc | cea-hpc/pattern4gpu | bf606708b6a8bad1041369814e8443b7f1dedcef | [
"Apache-2.0"
] | null | null | null | #include "msgpass/VarSyncMng.h"
#include "msgpass/PackTransfer.h"
#include <arcane/IParallelMng.h>
#include <arcane/MeshVariableScalarRef.h>
#include <arcane/MeshVariableArrayRef.h>
#include <arcane/VariableBuildInfo.h>
#include <thread>
#include <mpi.h>
/*------------------------------------------------------------... | 36.56701 | 106 | 0.698807 | cea-hpc |
c825e7f6b100bab1168fd79d5f5f1a856dc46b24 | 2,232 | cpp | C++ | OVFP426/Plugins/OVFPPlugin/Source/OVFPPlugin/Private/OVFPPluginStyle.cpp | ACaesuraIsStillMusic/Open-Virtual-Film-Project | f4cfb901da32d8101b7635aa5caed3fc075d6dd7 | [
"Unlicense",
"MIT"
] | 15 | 2020-12-11T17:00:02.000Z | 2022-03-08T04:43:56.000Z | OVFP425/Plugins/OVFPPlugin/Source/OVFPPlugin/Private/OVFPPluginStyle.cpp | ACaesuraIsStillMusic/Open-Virtual-Film-Project | f4cfb901da32d8101b7635aa5caed3fc075d6dd7 | [
"Unlicense",
"MIT"
] | null | null | null | OVFP425/Plugins/OVFPPlugin/Source/OVFPPlugin/Private/OVFPPluginStyle.cpp | ACaesuraIsStillMusic/Open-Virtual-Film-Project | f4cfb901da32d8101b7635aa5caed3fc075d6dd7 | [
"Unlicense",
"MIT"
] | 2 | 2020-12-10T22:54:05.000Z | 2021-07-22T10:25:22.000Z | // Copyright Dan Corrigan 2020 All Rights Reserved.
#include "OVFPPluginStyle.h"
#include "OVFPPlugin.h"
#include "Framework/Application/SlateApplication.h"
#include "Styling/SlateStyleRegistry.h"
#include "Slate/SlateGameResources.h"
#include "Interfaces/IPluginManager.h"
TSharedPtr< FSlateStyleSet > FOVFPPluginStyl... | 31 | 129 | 0.765681 | ACaesuraIsStillMusic |
c826867517354d4f1c4da53834c26f2709b20b43 | 1,615 | cpp | C++ | Sample14_1/app/src/main/cpp/bndev/ThreadTask.cpp | luopan007/Vulkan_Develpment_Samples | 1be40631e3b2d44aae7140f0ef17c5643a86545e | [
"Unlicense"
] | 5 | 2020-11-20T00:06:30.000Z | 2021-12-07T11:39:17.000Z | Sample15_2/app/src/main/cpp/bndev/ThreadTask.cpp | luopan007/Vulkan_Develpment_Samples | 1be40631e3b2d44aae7140f0ef17c5643a86545e | [
"Unlicense"
] | null | null | null | Sample15_2/app/src/main/cpp/bndev/ThreadTask.cpp | luopan007/Vulkan_Develpment_Samples | 1be40631e3b2d44aae7140f0ef17c5643a86545e | [
"Unlicense"
] | 7 | 2021-01-01T10:54:58.000Z | 2022-01-13T02:21:54.000Z | #include "ThreadTask.h"
#include "MyVulkanManager.h"
#include "ShaderQueueSuit_CommonTexLight.h"
void ThreadTask::doTask()
{
MyVulkanManager::init_vulkan_instance();
MyVulkanManager::enumerate_vulkan_phy_devices();
MyVulkanManager::create_vulkan_devices();
MyVulkanManager::create_vulkan_CommandBuffer();... | 37.55814 | 54 | 0.778947 | luopan007 |
c82831f16eef38e0e073485241d80aa03272da99 | 78 | cxx | C++ | Modules/ThirdParty/VNL/src/vxl/core/vnl/Templates/vnl_matrix_fixed+double.2.8-.cxx | rdsouza10/ITK | 07cb23f9866768b5f4ee48ebec8766b6e19efc69 | [
"Apache-2.0"
] | 3 | 2019-11-19T09:47:25.000Z | 2022-02-24T00:32:31.000Z | Modules/ThirdParty/VNL/src/vxl/core/vnl/Templates/vnl_matrix_fixed+double.2.8-.cxx | rdsouza10/ITK | 07cb23f9866768b5f4ee48ebec8766b6e19efc69 | [
"Apache-2.0"
] | 1 | 2019-03-18T14:19:49.000Z | 2020-01-11T13:54:33.000Z | Modules/ThirdParty/VNL/src/vxl/core/vnl/Templates/vnl_matrix_fixed+double.2.8-.cxx | rdsouza10/ITK | 07cb23f9866768b5f4ee48ebec8766b6e19efc69 | [
"Apache-2.0"
] | 1 | 2022-02-24T00:32:36.000Z | 2022-02-24T00:32:36.000Z | #include <vnl/vnl_matrix_fixed.hxx>
VNL_MATRIX_FIXED_INSTANTIATE(double,2,8);
| 26 | 41 | 0.833333 | rdsouza10 |
c829ca837e3e275e946ac03ba0341d1c7314fdec | 919 | cpp | C++ | ch16/ex16.5/main.cpp | regconfi/Cpp-Primer | 6e59f24f4c7f3be4f679b7d29084d9d859a463d9 | [
"CC0-1.0"
] | 46 | 2015-07-07T11:13:12.000Z | 2022-03-27T10:20:54.000Z | ch16/ex16.5/main.cpp | lafener/Cpp-Primer | 8cf1568f2d27622bce2d41493158f58527e5072f | [
"CC0-1.0"
] | 11 | 2015-03-10T12:52:06.000Z | 2015-04-20T12:24:00.000Z | ch16/ex16.5/main.cpp | lafener/Cpp-Primer | 8cf1568f2d27622bce2d41493158f58527e5072f | [
"CC0-1.0"
] | 65 | 2015-07-01T14:15:48.000Z | 2021-04-10T08:44:19.000Z | /***************************************************************************
* @file main.cpp
* @author Alan.W
* @date 02 Feb 2014
* 13 Oct 2014
* @remark This code is for the exercises from C++ Primer 5th Edition
* @note
***************************************************... | 24.184211 | 77 | 0.460283 | regconfi |
c82bd1b45b8f3949576cb1a37c6c04ea1f32bbb7 | 21,098 | cpp | C++ | src/vm/contractimpl.cpp | danmosemsft/coreclr | 04a3d11e4eecec2a4b7dcc81ab1575a57e30e3e2 | [
"MIT"
] | 6 | 2017-09-22T06:55:45.000Z | 2021-07-02T07:07:08.000Z | src/vm/contractimpl.cpp | danmosemsft/coreclr | 04a3d11e4eecec2a4b7dcc81ab1575a57e30e3e2 | [
"MIT"
] | 3 | 2018-01-03T00:57:25.000Z | 2018-10-05T16:17:52.000Z | src/vm/contractimpl.cpp | danmosemsft/coreclr | 04a3d11e4eecec2a4b7dcc81ab1575a57e30e3e2 | [
"MIT"
] | 2 | 2017-06-04T15:47:12.000Z | 2020-03-16T07:01:47.000Z | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
//
// File: contractimpl.cpp
//
// Keeps track of contract implementations, used primarily in stub dispatch.
//
//
... | 29.46648 | 130 | 0.545218 | danmosemsft |
c82c23f20625dffba354f9c06231149dcfc6c66d | 1,236 | cpp | C++ | Bison C Compiler Source/instructions.cpp | kpatel122/Bison-C-Compiler | 42d6ddf6389f0125578ae1a45cecb94496a4e6f1 | [
"MIT"
] | null | null | null | Bison C Compiler Source/instructions.cpp | kpatel122/Bison-C-Compiler | 42d6ddf6389f0125578ae1a45cecb94496a4e6f1 | [
"MIT"
] | null | null | null | Bison C Compiler Source/instructions.cpp | kpatel122/Bison-C-Compiler | 42d6ddf6389f0125578ae1a45cecb94496a4e6f1 | [
"MIT"
] | null | null | null | #include <stdlib.h>
#include <stdio.h>
#include <malloc.h>
#include <string.h>
#include "token.h"
#include "instructions.h"
CInstrTable::CInstrTable()
{
currInstr = 0;
}
CInstrTable::~CInstrTable()
{
}
int CInstrTable::AddInstr(char *name,int token,int numParams)
{
if(strlen(name) >= MAX_INSTR_NAME)
re... | 16.263158 | 67 | 0.66343 | kpatel122 |
c82e52aa23432987d4cbbe6b0d8d793b8d94b1f2 | 388 | cpp | C++ | ModbusReadCoils.cpp | joluxer/modbus-master-cxx | 787ea5994b2a21b7f46fbf6c400b2d93c62b7271 | [
"Zlib"
] | null | null | null | ModbusReadCoils.cpp | joluxer/modbus-master-cxx | 787ea5994b2a21b7f46fbf6c400b2d93c62b7271 | [
"Zlib"
] | null | null | null | ModbusReadCoils.cpp | joluxer/modbus-master-cxx | 787ea5994b2a21b7f46fbf6c400b2d93c62b7271 | [
"Zlib"
] | null | null | null | /*
* ModbusReadCoils.cpp
*
* Created on: 09.02.2016
* Author: lode
*/
#include "ModbusReadCoils.h"
namespace Modbus
{
ReadCoils2Array::ReadCoils2Array(unsigned* array, uint16_t numOfBits, TxnReturnPath* rp)
: ReadBits2Array(FunctionCode, array, numOfBits, rp)
{}
//ReadCoils2Array::~ReadCoils2Array()
//{
... | 16.869565 | 88 | 0.701031 | joluxer |
c830df2e62804911cb559d62bbc6ec3fd8f12ea9 | 1,523 | hpp | C++ | core/runtime/core.hpp | iceseer/kagome | a405921659cc19e9fdb851e5f13f1e607fdf8af4 | [
"Apache-2.0"
] | null | null | null | core/runtime/core.hpp | iceseer/kagome | a405921659cc19e9fdb851e5f13f1e607fdf8af4 | [
"Apache-2.0"
] | null | null | null | core/runtime/core.hpp | iceseer/kagome | a405921659cc19e9fdb851e5f13f1e607fdf8af4 | [
"Apache-2.0"
] | null | null | null | /**
* Copyright Soramitsu Co., Ltd. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef KAGOME_RUNTIME_CORE_HPP
#define KAGOME_RUNTIME_CORE_HPP
#include <outcome/outcome.hpp>
#include <vector>
#include "primitives/authority.hpp"
#include "primitives/block.hpp"
#include "primitives/block_id.hpp"
... | 25.813559 | 78 | 0.682206 | iceseer |
c83288fdd7892d0a685ab3eb3de7a91456d2e06e | 22,923 | cc | C++ | descriptor/reader/vehicle_reader.cc | chris-nada/simutrans-extended | 71c0c4f78cb3170b1fa1c68d8baafa9a7269ef6f | [
"Artistic-1.0"
] | 38 | 2017-07-26T14:48:12.000Z | 2022-03-24T23:48:55.000Z | descriptor/reader/vehicle_reader.cc | chris-nada/simutrans-extended | 71c0c4f78cb3170b1fa1c68d8baafa9a7269ef6f | [
"Artistic-1.0"
] | 74 | 2017-03-15T21:07:34.000Z | 2022-03-18T07:53:11.000Z | descriptor/reader/vehicle_reader.cc | chris-nada/simutrans-extended | 71c0c4f78cb3170b1fa1c68d8baafa9a7269ef6f | [
"Artistic-1.0"
] | 43 | 2017-03-10T15:27:28.000Z | 2022-03-05T10:55:38.000Z | /*
* This file is part of the Simutrans-Extended project under the Artistic License.
* (see LICENSE.txt)
*/
#include <stdio.h>
#include "../../simdebug.h"
#include "../../simconst.h"
#include "../../bauer/vehikelbauer.h"
#include "../sound_desc.h"
#include "../vehicle_desc.h"
#include "../intro_dates.h"
#include "... | 29.886571 | 130 | 0.687781 | chris-nada |
c836c9307d38132c8e2b76b00aca51eb6fd1a0bb | 22 | cpp | C++ | tests/Issue127.cpp | galorojo/cppinsights | 52ecab4ddd8e36fb99893551cf0fb8b5d58589f2 | [
"MIT"
] | 1,853 | 2018-05-13T21:49:17.000Z | 2022-03-30T10:34:45.000Z | tests/Issue127.cpp | tiandaoafei/cppinsights | af78ac299121354101a5e506dafccaac95d27a77 | [
"MIT"
] | 398 | 2018-05-15T14:48:51.000Z | 2022-03-24T12:14:33.000Z | tests/Issue127.cpp | SammyEnigma/cppinsights | c984b8e68139bbcc244c094fd2463eeced8fd997 | [
"MIT"
] | 104 | 2018-05-15T04:00:59.000Z | 2022-03-17T02:04:15.000Z | auto f = [](auto) {};
| 11 | 21 | 0.409091 | galorojo |
c83704ba0ce11494af1fa548d82c86c5c4ebde9b | 473 | cpp | C++ | src/layer.cpp | shugaa/florb | 85d2be7d851f83db8a289fd2018832aec295d526 | [
"MIT"
] | 16 | 2015-03-26T22:44:23.000Z | 2021-05-09T12:31:24.000Z | src/layer.cpp | pekdon/florb | 85d2be7d851f83db8a289fd2018832aec295d526 | [
"MIT"
] | 3 | 2018-09-01T13:03:29.000Z | 2020-11-29T09:37:31.000Z | src/layer.cpp | pekdon/florb | 85d2be7d851f83db8a289fd2018832aec295d526 | [
"MIT"
] | 6 | 2017-02-12T05:46:32.000Z | 2020-08-31T06:48:11.000Z | #include <string>
#include <FL/Fl.H>
#include "layer.hpp"
florb::layer::layer() :
m_name("N/A"),
m_enabled(true)
{
add_instance(this);
};
florb::layer::~layer()
{
del_instance(this);
};
const std::string& florb::layer::name() const
{
return m_name;
};
bool florb::layer::enabled() const
{
ret... | 13.138889 | 48 | 0.617336 | shugaa |
c838b9c3c72a457c98bdcff04fa3c0431c9170ff | 10,361 | cpp | C++ | be/test/storage/persistent_index_test.cpp | zhangboya1/starrocks | ec7b4f622cf4341dbc8776ed5c8cc55552c44f4e | [
"Zlib",
"PSF-2.0",
"Apache-2.0",
"MIT",
"ECL-2.0"
] | null | null | null | be/test/storage/persistent_index_test.cpp | zhangboya1/starrocks | ec7b4f622cf4341dbc8776ed5c8cc55552c44f4e | [
"Zlib",
"PSF-2.0",
"Apache-2.0",
"MIT",
"ECL-2.0"
] | null | null | null | be/test/storage/persistent_index_test.cpp | zhangboya1/starrocks | ec7b4f622cf4341dbc8776ed5c8cc55552c44f4e | [
"Zlib",
"PSF-2.0",
"Apache-2.0",
"MIT",
"ECL-2.0"
] | null | null | null | // This file is licensed under the Elastic License 2.0. Copyright 2021-present, StarRocks Limited.
#include "storage/persistent_index.h"
#include <gtest/gtest.h>
#include "env/env_memory.h"
#include "storage/fs/file_block_manager.h"
#include "storage/fs/fs_util.h"
#include "storage/storage_engine.h"
#include "testut... | 37.136201 | 120 | 0.633144 | zhangboya1 |
c83a0d23657c910d8910539eee91fb66ae803d86 | 528 | cpp | C++ | introduction/file/file.cpp | egorkaGubarev/modeling_2021_egorkaGubarev | cca05950c0455c4a378fd6ca3b399a6d9c277968 | [
"Unlicense"
] | null | null | null | introduction/file/file.cpp | egorkaGubarev/modeling_2021_egorkaGubarev | cca05950c0455c4a378fd6ca3b399a6d9c277968 | [
"Unlicense"
] | null | null | null | introduction/file/file.cpp | egorkaGubarev/modeling_2021_egorkaGubarev | cca05950c0455c4a378fd6ca3b399a6d9c277968 | [
"Unlicense"
] | null | null | null | #include <iostream>
#include <fstream>
#include <string>
typedef unsigned int uint;
void write_file(std::string path, uint number)
{
std::ofstream file;
file.open(path, std::ios::app);
if (file.is_open()){
file << number << ' ';
file.close();
}else{
std::cerr << "File isn't ope... | 18.206897 | 50 | 0.560606 | egorkaGubarev |
c83a88d0419cf2edc1feef83733fdff75625f036 | 13,156 | cpp | C++ | Engine/Core/Source/Molten/Renderer/OpenGL/OpenGLWin32Renderer.cpp | jimmiebergmann/CurseEngine | 74a0502e36327f893c8e4f3e7cbe5b9d38fbe194 | [
"MIT"
] | 2 | 2019-11-11T21:17:14.000Z | 2019-11-11T22:07:26.000Z | Engine/Core/Source/Molten/Renderer/OpenGL/OpenGLWin32Renderer.cpp | jimmiebergmann/CurseEngine | 74a0502e36327f893c8e4f3e7cbe5b9d38fbe194 | [
"MIT"
] | null | null | null | Engine/Core/Source/Molten/Renderer/OpenGL/OpenGLWin32Renderer.cpp | jimmiebergmann/CurseEngine | 74a0502e36327f893c8e4f3e7cbe5b9d38fbe194 | [
"MIT"
] | 1 | 2020-04-05T03:50:57.000Z | 2020-04-05T03:50:57.000Z | /*
* MIT License
*
* Copyright (c) 2021 Jimmie Bergmann
*
* 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, m... | 28.537961 | 187 | 0.617741 | jimmiebergmann |
c83aeaa0239ea2a65bf9cc59b2846a10d9afe78a | 3,919 | cpp | C++ | dev/Tools/Wwise/SDK/samples/Plugins/AkDelay/Sources/AudioEngineFX/AkDelayFX.cpp | chrisinajar/spark | 3c6b30592c00bc38738cc3aaca2144edfc6cc8b2 | [
"AML"
] | 2 | 2020-08-20T03:40:24.000Z | 2021-02-07T20:31:43.000Z | dev/Tools/Wwise/SDK/samples/Plugins/AkDelay/Sources/AudioEngineFX/AkDelayFX.cpp | chrisinajar/spark | 3c6b30592c00bc38738cc3aaca2144edfc6cc8b2 | [
"AML"
] | null | null | null | dev/Tools/Wwise/SDK/samples/Plugins/AkDelay/Sources/AudioEngineFX/AkDelayFX.cpp | chrisinajar/spark | 3c6b30592c00bc38738cc3aaca2144edfc6cc8b2 | [
"AML"
] | 5 | 2020-08-27T20:44:18.000Z | 2021-08-21T22:54:11.000Z | /*******************************************************************************
The content of this file includes portions of the AUDIOKINETIC Wwise Technology
released in source code form as part of the SDK installer package.
Commercial License Usage
Licensees holding valid commercial licenses to the AUDIOKINETIC W... | 32.38843 | 100 | 0.70222 | chrisinajar |
c83b37f18ec5a50cf411341f48e5efc86ab7b2e8 | 298 | cpp | C++ | tcp-plugin-qnx/plugin_lifecycle.cpp | mager-m/ietf-tcp-research-project | d4480d4dbec4f35ea61782c25bbe0a7dd05006bc | [
"MIT"
] | 2 | 2021-08-10T13:55:05.000Z | 2021-10-21T10:14:24.000Z | tcp-plugin-ubuntu/plugin_lifecycle.cpp | mager-m/ietf-tcp-research-project | d4480d4dbec4f35ea61782c25bbe0a7dd05006bc | [
"MIT"
] | null | null | null | tcp-plugin-ubuntu/plugin_lifecycle.cpp | mager-m/ietf-tcp-research-project | d4480d4dbec4f35ea61782c25bbe0a7dd05006bc | [
"MIT"
] | null | null | null | #include <cligen/cligen.h>
#include <clixon/clixon.h>
#include "plugin_lifecycle.h"
int LifecycleManager::plugin_start(clicon_handle h) {
return 0;
}
int LifecycleManager::plugin_exit(clicon_handle h) {
return 0;
}
int LifecycleManager::plugin_daemon(clicon_handle h) {
return 0;
}
| 17.529412 | 54 | 0.738255 | mager-m |
c83c63f95f9a64f606c336de55d9627b161721e2 | 504 | cpp | C++ | codes/moderncpp/nodiscard/nodiscard01/main.cpp | eric2003/ModernCMake | 48fe5ed2f25481a7c93f86af38a692f4563afcaa | [
"MIT"
] | 3 | 2022-01-25T07:33:43.000Z | 2022-03-30T10:25:09.000Z | codes/moderncpp/nodiscard/nodiscard01/main.cpp | eric2003/ModernCMake | 48fe5ed2f25481a7c93f86af38a692f4563afcaa | [
"MIT"
] | null | null | null | codes/moderncpp/nodiscard/nodiscard01/main.cpp | eric2003/ModernCMake | 48fe5ed2f25481a7c93f86af38a692f4563afcaa | [
"MIT"
] | 2 | 2022-01-17T13:39:12.000Z | 2022-03-30T10:25:12.000Z | #include <iostream>
struct [[nodiscard]] error_info { /*...*/ };
error_info enable_missile_safety_mode() { /*...*/ return {}; }
void launch_missiles() { /*...*/ }
void test_missiles()
{
enable_missile_safety_mode(); // compiler may warn on discarding a nodiscard value
launch_missiles();
}
// nodiscard( string-l... | 19.384615 | 85 | 0.621032 | eric2003 |
c83d447f34dfa877f0e0b330ca08fcee7449fca4 | 1,882 | cpp | C++ | unittest/meta/TestNotificationFdbEvent.cpp | vmittal-msft/sonic-sairedis | 6baff35880005aee2854fdcde105c4322c28d04f | [
"Apache-2.0"
] | 50 | 2016-03-23T08:04:44.000Z | 2022-03-25T05:06:16.000Z | unittest/meta/TestNotificationFdbEvent.cpp | vmittal-msft/sonic-sairedis | 6baff35880005aee2854fdcde105c4322c28d04f | [
"Apache-2.0"
] | 589 | 2016-04-01T04:09:09.000Z | 2022-03-31T00:38:10.000Z | unittest/meta/TestNotificationFdbEvent.cpp | vmittal-msft/sonic-sairedis | 6baff35880005aee2854fdcde105c4322c28d04f | [
"Apache-2.0"
] | 234 | 2016-03-28T20:59:21.000Z | 2022-03-23T09:26:22.000Z | #include "NotificationFdbEvent.h"
#include "Meta.h"
#include "MetaTestSaiInterface.h"
#include "sairediscommon.h"
#include "sai_serialize.h"
#include <gtest/gtest.h>
#include <memory>
using namespace sairedis;
using namespace saimeta;
static std::string s =
"[{\"fdb_entry\":\"{\\\"bvid\\\":\\\"oid:0x260000000005be... | 27.275362 | 175 | 0.675345 | vmittal-msft |
c83da0b0eb7e41bcb75a2418ba5e99f647d7d64a | 38,689 | cc | C++ | bench/f32-gemm-e2e.cc | 8thwall/XNNPACK | 6e03011a0fd74ff0b3bba3a874e452543ccbaa86 | [
"BSD-3-Clause"
] | null | null | null | bench/f32-gemm-e2e.cc | 8thwall/XNNPACK | 6e03011a0fd74ff0b3bba3a874e452543ccbaa86 | [
"BSD-3-Clause"
] | null | null | null | bench/f32-gemm-e2e.cc | 8thwall/XNNPACK | 6e03011a0fd74ff0b3bba3a874e452543ccbaa86 | [
"BSD-3-Clause"
] | null | null | null | // 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>
#include <vector>
#include <xnnpack.h>
#include <benchmark/benchmark.h>
#i... | 42.468716 | 118 | 0.758975 | 8thwall |
c84d5d91ddc5761d0aee4e3392dfe62c2d0223a6 | 826 | cpp | C++ | Regression_test/examples/fir/src/fir.cpp | minseongg/dynamatic | 268d97690f128569da46e4f39a99346e93ee9d4e | [
"MIT"
] | 46 | 2019-11-16T13:44:07.000Z | 2022-03-12T14:28:44.000Z | Regression_test/examples/fir/src/fir.cpp | minseongg/dynamatic | 268d97690f128569da46e4f39a99346e93ee9d4e | [
"MIT"
] | 11 | 2020-05-12T17:20:51.000Z | 2022-02-04T10:04:59.000Z | Regression_test/examples/fir/src/fir.cpp | minseongg/dynamatic | 268d97690f128569da46e4f39a99346e93ee9d4e | [
"MIT"
] | 22 | 2020-02-21T21:33:40.000Z | 2022-02-24T06:50:41.000Z | #include "fir.h"
//------------------------------------------------------------------------
// FIR
//------------------------------------------------------------------------
//SEPARATOR_FOR_MAIN
#include <stdlib.h>
#include "fir.h"
#define AMOUNT_OF_TEST 1
int fir (in_int_t d_i[1000], in_int_t idx[1000] ) {
int i;... | 17.574468 | 74 | 0.464891 | minseongg |
c84d7ff01803f6ae49544876486531a3c7ff4f53 | 3,388 | cc | C++ | test/vp9_denoiser_sse2_test.cc | golden1232004/libvpx | 61a8b8673411110823d31ffd9d3e28d5023c5e9f | [
"BSD-3-Clause"
] | 2 | 2020-04-26T02:42:56.000Z | 2021-01-15T00:25:16.000Z | test/vp9_denoiser_sse2_test.cc | golden1232004/libvpx | 61a8b8673411110823d31ffd9d3e28d5023c5e9f | [
"BSD-3-Clause"
] | null | null | null | test/vp9_denoiser_sse2_test.cc | golden1232004/libvpx | 61a8b8673411110823d31ffd9d3e28d5023c5e9f | [
"BSD-3-Clause"
] | 1 | 2017-01-19T10:33:37.000Z | 2017-01-19T10:33:37.000Z | /*
* Copyright (c) 2014 The WebM 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 contributin... | 33.544554 | 75 | 0.682113 | golden1232004 |
c8527afc64c8e8b9649e7a0cc4b36e40fac52203 | 3,244 | cpp | C++ | test/utils.cpp | chtimi59/isxcpp | fc90c1cf23ee519d28801d3912ba9e94665b5521 | [
"MIT"
] | 2 | 2019-04-30T18:32:43.000Z | 2022-03-04T07:12:01.000Z | test/utils.cpp | chtimi59/isxcpp | fc90c1cf23ee519d28801d3912ba9e94665b5521 | [
"MIT"
] | null | null | null | test/utils.cpp | chtimi59/isxcpp | fc90c1cf23ee519d28801d3912ba9e94665b5521 | [
"MIT"
] | null | null | null | #define INSTANCIATE_UTILS
#include "utils.h"
// System Header
#include <stdio.h>
#include <windows.h>
#include <string>
void initUtils()
{
std::string tmp;
TCHAR szModuleName[MAX_PATH];
GetCurrentDirectory(MAX_PATH, szCurPath); // rootdir/test/
GetModuleFileName(NULL, szModuleName, MAX_PATH); // rootdi... | 30.603774 | 81 | 0.609433 | chtimi59 |
c856bac5a77f7b09329edd58f1f713976aeac8dc | 7,714 | cpp | C++ | alvr/vulkan-layer/layer/private_data.cpp | Firepal/ALVR | 834cac75663832638a129a6ba6b2901a7e8dd2ed | [
"MIT"
] | 1,562 | 2020-12-01T15:02:21.000Z | 2022-03-31T13:37:51.000Z | alvr/vulkan-layer/layer/private_data.cpp | Firepal/ALVR | 834cac75663832638a129a6ba6b2901a7e8dd2ed | [
"MIT"
] | 562 | 2020-12-01T20:10:13.000Z | 2022-03-31T22:57:13.000Z | alvr/vulkan-layer/layer/private_data.cpp | Firepal/ALVR | 834cac75663832638a129a6ba6b2901a7e8dd2ed | [
"MIT"
] | 184 | 2020-12-01T15:02:24.000Z | 2022-03-31T06:18:18.000Z | /*
* Copyright (c) 2018-2021 Arm Limited.
*
* SPDX-License-Identifier: MIT
*
* 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
* ri... | 40.814815 | 100 | 0.709619 | Firepal |
c858d5b84f4a9b98a6d232225b1b98321a9060cf | 1,040 | cpp | C++ | graph-source-code/402-E/9925166.cpp | AmrARaouf/algorithm-detection | 59f3028d2298804870b32729415d71eec6116557 | [
"MIT"
] | null | null | null | graph-source-code/402-E/9925166.cpp | AmrARaouf/algorithm-detection | 59f3028d2298804870b32729415d71eec6116557 | [
"MIT"
] | null | null | null | graph-source-code/402-E/9925166.cpp | AmrARaouf/algorithm-detection | 59f3028d2298804870b32729415d71eec6116557 | [
"MIT"
] | null | null | null | //Language: GNU C++
#include <iostream>
#include <queue>
#include <vector>
#include <set>
#include <stack>
#include <string.h>
#include <stdio.h>
#include <algorithm>
#include <stdlib.h>
#define max_nodes_size 100005
#define max_size 100005
#define ll long long int
#define mod 1000000007
#define sl(n) scanf("%lld",... | 12.682927 | 32 | 0.531731 | AmrARaouf |
c85bb28c08356971479658838a517e22bf5cbf98 | 31,037 | cpp | C++ | examples/tudat/satellite_propagation/shapeBasedTrajectoryDesign.cpp | kimonito98/tudat | c28f2a3e78b8492e2e054ad5e0d1f9ad785cd092 | [
"BSD-3-Clause"
] | null | null | null | examples/tudat/satellite_propagation/shapeBasedTrajectoryDesign.cpp | kimonito98/tudat | c28f2a3e78b8492e2e054ad5e0d1f9ad785cd092 | [
"BSD-3-Clause"
] | null | null | null | examples/tudat/satellite_propagation/shapeBasedTrajectoryDesign.cpp | kimonito98/tudat | c28f2a3e78b8492e2e054ad5e0d1f9ad785cd092 | [
"BSD-3-Clause"
] | null | null | null | /* Copyright (c) 2010-2019, Delft University of Technology
* All rigths reserved
*
* This file is part of the Tudat. Redistribution and use in source and
* binary forms, with or without modification, are permitted exclusively
* under the terms of the Modified BSD license. You should have received
*... | 63.470348 | 142 | 0.609949 | kimonito98 |
c85e4ec855416eb93759d2e634f17a74d0db0358 | 9,348 | cpp | C++ | src/vega/dicom/file_meta.cpp | project-eutopia/vega | c7b536c5e949094a908fa8f378729dbffc657f4a | [
"MIT"
] | 18 | 2018-01-23T12:28:13.000Z | 2022-02-13T12:23:21.000Z | src/vega/dicom/file_meta.cpp | project-eutopia/vega | c7b536c5e949094a908fa8f378729dbffc657f4a | [
"MIT"
] | 2 | 2018-11-29T01:51:25.000Z | 2022-03-22T14:14:22.000Z | src/vega/dicom/file_meta.cpp | project-eutopia/vega | c7b536c5e949094a908fa8f378729dbffc657f4a | [
"MIT"
] | 6 | 2019-02-01T09:54:44.000Z | 2022-01-09T22:13:54.000Z | #include "vega/dicom/file_meta.h"
#include "vega/dicom/writer.h"
#include "vega/dicom/data_element.h"
#include "vega/manipulator.h"
#include <cassert>
namespace vega {
namespace dicom {
const Tag FileMeta::FileMetaInformationGroupLength = Tag{0x2, 0x0};
const Tag FileMeta::TransferSyntaxUID = Tag{0x2, 0x10... | 39.277311 | 124 | 0.692127 | project-eutopia |
c85fc4816b086d7a5792ebfbaf8e167c338ccd1c | 2,582 | cpp | C++ | CONTRIB/LLVM/src/lib/Tg/Mips/MCTargetDesc/MipsMCExpr.cpp | Cwc-Test/CpcdosOS2.1 | d52c170be7f11cc50de38ef536d4355743d21706 | [
"Apache-2.0"
] | 30 | 2016-09-06T06:58:43.000Z | 2021-12-23T11:59:38.000Z | CONTRIB/LLVM/src/lib/Tg/Mips/MCTargetDesc/MipsMCExpr.cpp | Cwc-Test/CpcdosOS2.1 | d52c170be7f11cc50de38ef536d4355743d21706 | [
"Apache-2.0"
] | 21 | 2016-08-11T09:43:43.000Z | 2017-01-29T12:52:56.000Z | CONTRIB/LLVM/src/lib/Tg/Mips/MCTargetDesc/MipsMCExpr.cpp | Cwc-Test/CpcdosOS2.1 | d52c170be7f11cc50de38ef536d4355743d21706 | [
"Apache-2.0"
] | 17 | 2016-10-24T06:08:16.000Z | 2022-02-18T17:27:14.000Z | //===-- MipsMCExpr.cpp - Mips specific MC expression classes --------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | 28.373626 | 80 | 0.636716 | Cwc-Test |
c86489c7f75ba795436fbb5f3f7eb8ad84b1d0f9 | 11,186 | cpp | C++ | src/logonserver/Main.cpp | Subv/diamondcore | e11891587736b6308e554f71cb56e8df1a1812ad | [
"OpenSSL"
] | 1 | 2018-01-17T08:11:17.000Z | 2018-01-17T08:11:17.000Z | src/logonserver/Main.cpp | Subv/diamondcore | e11891587736b6308e554f71cb56e8df1a1812ad | [
"OpenSSL"
] | null | null | null | src/logonserver/Main.cpp | Subv/diamondcore | e11891587736b6308e554f71cb56e8df1a1812ad | [
"OpenSSL"
] | null | null | null | /*
* Copyright (C) 2010 DiamondCore <http://diamondcore.eu/>
*
* 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.
*
... | 30.150943 | 168 | 0.576792 | Subv |
c8660f5f73268d82e6872869b178203676ec77f5 | 31,827 | hpp | C++ | library/cgp/containers/matrix_stack/matrix_stack.hpp | drohmer/CGP | 3e7651649320d0bff19394ecd9546e872802c3e7 | [
"MIT"
] | null | null | null | library/cgp/containers/matrix_stack/matrix_stack.hpp | drohmer/CGP | 3e7651649320d0bff19394ecd9546e872802c3e7 | [
"MIT"
] | 2 | 2022-03-03T16:34:03.000Z | 2022-03-20T13:08:56.000Z | library/cgp/containers/matrix_stack/matrix_stack.hpp | drohmer/CGP | 3e7651649320d0bff19394ecd9546e872802c3e7 | [
"MIT"
] | null | null | null | #pragma once
#include "cgp/base/base.hpp"
#include "cgp/containers/buffer_stack/buffer_stack.hpp"
#include "cgp/containers/offset_grid/offset_grid.hpp"
#include <sstream>
#include <iomanip>
/* ************************************************** */
/* Header */
/* *********... | 39.003676 | 259 | 0.555786 | drohmer |
c8673e69b1470516e7cba61fb507fb0b9ab9d0c6 | 11,923 | cc | C++ | dcmdata/libsrc/dcvrfl.cc | henkdemarie/dicom-dimse-native | a2a5042de8c5de04831baf3de7182ea2eb7b78f8 | [
"MIT"
] | 29 | 2020-02-13T17:40:16.000Z | 2022-03-12T14:58:22.000Z | dcmdata/libsrc/dcvrfl.cc | henkdemarie/dicom-dimse-native | a2a5042de8c5de04831baf3de7182ea2eb7b78f8 | [
"MIT"
] | 20 | 2020-03-20T18:06:31.000Z | 2022-02-25T08:38:08.000Z | dcmdata/libsrc/dcvrfl.cc | henkdemarie/dicom-dimse-native | a2a5042de8c5de04831baf3de7182ea2eb7b78f8 | [
"MIT"
] | 9 | 2020-03-20T17:29:55.000Z | 2022-02-14T10:15:33.000Z | /*
*
* Copyright (C) 1994-2019, OFFIS e.V.
* All rights reserved. See COPYRIGHT file for details.
*
* This software and supporting documentation were developed by
*
* OFFIS e.V.
* R&D Division Health
* Escherweg 2
* D-26121 Oldenburg, Germany
*
*
* Module: dcmdata
*
* Author: Gerd Ehl... | 29.8075 | 125 | 0.551875 | henkdemarie |
c8685f738a8597338659385fc01ab15ffc2ee898 | 4,561 | cpp | C++ | Types/DateTime/GpDateTimeOps.cpp | ITBear/GpCore2 | 7ae6d9d93aae55e2b3060077b5bb9d5f07e59ee4 | [
"MIT"
] | null | null | null | Types/DateTime/GpDateTimeOps.cpp | ITBear/GpCore2 | 7ae6d9d93aae55e2b3060077b5bb9d5f07e59ee4 | [
"MIT"
] | 1 | 2020-06-19T18:38:40.000Z | 2020-06-19T18:38:40.000Z | Types/DateTime/GpDateTimeOps.cpp | ITBear/GpCore2 | 7ae6d9d93aae55e2b3060077b5bb9d5f07e59ee4 | [
"MIT"
] | 6 | 2020-06-04T07:32:59.000Z | 2021-05-17T15:41:30.000Z | #include "GpDateTimeOps.hpp"
#if defined(GP_USE_DATE_TIME)
#include <date/date.h> //TODO: remove with c++20
namespace GPlatform {
const microseconds_t GpDateTimeOps::sStartSteadyTS = GpDateTimeOps::SSteadyTS_us();
const GpArray<std::string, GpDateTimeFormat::SCount().As<size_t>()> GpDateTimeOps::sForm... | 27.14881 | 94 | 0.653804 | ITBear |
c86b31acbddd68eea5aa5ebc1869399eeee3936a | 8,337 | cpp | C++ | SpaceShooter/src/Game/IA_Behavior/Behaviors.cpp | tomasmartinsantos/SpaceShooter | 2d930cd9061ca7dbb8f00386cb26ead902f69eff | [
"Apache-2.0"
] | null | null | null | SpaceShooter/src/Game/IA_Behavior/Behaviors.cpp | tomasmartinsantos/SpaceShooter | 2d930cd9061ca7dbb8f00386cb26ead902f69eff | [
"Apache-2.0"
] | null | null | null | SpaceShooter/src/Game/IA_Behavior/Behaviors.cpp | tomasmartinsantos/SpaceShooter | 2d930cd9061ca7dbb8f00386cb26ead902f69eff | [
"Apache-2.0"
] | null | null | null | #include "../World.h"
#include "../../Engine/Math.h"
#include "../Components/CBrain.h"
#include "../Entities/HeadersEntities.h"
#include "../Components/CWeapon.h"
#include "../UI/WLifebar.h"
#include "../Components/CAnimation.h"
#include "../../Engine/Audio/Audiosource.h"
#include "../Scene.h"
#include "Behaviors.h"
/... | 36.565789 | 264 | 0.652993 | tomasmartinsantos |
c86f426648f07506a6a67907139bdbc0b35cc4de | 2,242 | cpp | C++ | add-ons/LoadAddon/effectpal.cpp | return/BeOSSampleCode | ca5a319fecf425a69e944f3c928a85011563a932 | [
"BSD-3-Clause"
] | 5 | 2018-09-09T21:01:57.000Z | 2022-03-27T10:01:27.000Z | add-ons/LoadAddon/effectpal.cpp | return/BeOSSampleCode | ca5a319fecf425a69e944f3c928a85011563a932 | [
"BSD-3-Clause"
] | null | null | null | add-ons/LoadAddon/effectpal.cpp | return/BeOSSampleCode | ca5a319fecf425a69e944f3c928a85011563a932 | [
"BSD-3-Clause"
] | 5 | 2018-04-03T01:45:23.000Z | 2021-05-14T08:23:01.000Z | //****************************************
//effectpal.cpp
//****************************************
/*
Copyright 1999, Be Incorporated. All Rights Reserved.
This file may be used under the terms of the Be Sample Code License.
*/
#include <image.h>
#include "effectpal.h"
#include "effect.h"
#include <Application... | 23.6 | 86 | 0.580285 | return |
c872e430fe26113b027e010d5cedda4416119a14 | 492 | cpp | C++ | src/zxing/zxing/oned/rss/expanded/decoders/AI01320xDecoder.cpp | spompelio/qzxing | cfc728583b867e157bd27e8b7c239c05a081e562 | [
"Apache-2.0"
] | 608 | 2015-02-21T22:31:37.000Z | 2022-03-31T05:05:36.000Z | src/zxing/zxing/oned/rss/expanded/decoders/AI01320xDecoder.cpp | wqsemc/qzxing | f0a78867d697fd271528007c7b4c67e8fce75f90 | [
"Apache-2.0"
] | 512 | 2015-01-06T17:59:31.000Z | 2022-03-31T13:21:49.000Z | src/zxing/zxing/oned/rss/expanded/decoders/AI01320xDecoder.cpp | wqsemc/qzxing | f0a78867d697fd271528007c7b4c67e8fce75f90 | [
"Apache-2.0"
] | 114 | 2015-01-17T14:32:52.000Z | 2022-03-20T13:14:07.000Z | #include "AI01320xDecoder.h"
namespace zxing {
namespace oned {
namespace rss {
AI01320xDecoder::AI01320xDecoder(Ref<BitArray> information)
: AI013x0xDecoder(information)
{
}
void AI01320xDecoder::addWeightCode(String &buf, int weight)
{
if (weight < 10000) {
buf.append("(3202)");
} else {
... | 14.909091 | 60 | 0.636179 | spompelio |
c873c2e80b0db915cdd2a7e51e677fe35ea12e47 | 532 | cpp | C++ | algorithm-challenges/baekjoon-online-judge/challenges/1000/1292.cpp | nbsp1221/algorithm | a227bbc7cf43dbf2cadc8d47052b9a92875dfa77 | [
"MIT"
] | null | null | null | algorithm-challenges/baekjoon-online-judge/challenges/1000/1292.cpp | nbsp1221/algorithm | a227bbc7cf43dbf2cadc8d47052b9a92875dfa77 | [
"MIT"
] | null | null | null | algorithm-challenges/baekjoon-online-judge/challenges/1000/1292.cpp | nbsp1221/algorithm | a227bbc7cf43dbf2cadc8d47052b9a92875dfa77 | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
using namespace std;
int main()
{
ios::sync_with_stdio(false);
cin.tie(NULL);
int a, b;
cin >> a >> b;
vector<int> sequence(1, 1);
int sumRange = 0;
while (sequence.size() < 1000) {
int lastNumber = sequence.back();
for (int i = 0; ... | 17.16129 | 47 | 0.505639 | nbsp1221 |
c875e2ac5342ece0efb934a1c9c3f23ea48e638c | 1,303 | cpp | C++ | Mathematical Algorithms/Statistical Algorithms/Measures of Variation.cpp | praharshjain/Algorithms | ea63a2654453f129076ee7d0041f6af3046e4dfc | [
"MIT"
] | null | null | null | Mathematical Algorithms/Statistical Algorithms/Measures of Variation.cpp | praharshjain/Algorithms | ea63a2654453f129076ee7d0041f6af3046e4dfc | [
"MIT"
] | null | null | null | Mathematical Algorithms/Statistical Algorithms/Measures of Variation.cpp | praharshjain/Algorithms | ea63a2654453f129076ee7d0041f6af3046e4dfc | [
"MIT"
] | 2 | 2020-11-28T05:59:16.000Z | 2021-03-26T14:10:58.000Z | #include <bits/stdc++.h>
using namespace std;
//function to calculate range for given set of numeric data
template <typename T>
double range(T arr[], int start, int end)
{
double max = arr[start], min = arr[start];
for (int i = start; i < end; i++)
{
if (arr[i] > max)
max = arr[i];
... | 31.02381 | 107 | 0.589409 | praharshjain |
c87be2746ba9c7e42f8dbd9b3a6818b5d9d6fca1 | 847 | hpp | C++ | include/RED4ext/Scripting/Natives/Generated/quest/TimeDilation_Player.hpp | jackhumbert/RED4ext.SDK | 2c55eccb83beabbbe02abae7945af8efce638fca | [
"MIT"
] | 42 | 2020-12-25T08:33:00.000Z | 2022-03-22T14:47:07.000Z | include/RED4ext/Scripting/Natives/Generated/quest/TimeDilation_Player.hpp | jackhumbert/RED4ext.SDK | 2c55eccb83beabbbe02abae7945af8efce638fca | [
"MIT"
] | 38 | 2020-12-28T22:36:06.000Z | 2022-02-16T11:25:47.000Z | include/RED4ext/Scripting/Natives/Generated/quest/TimeDilation_Player.hpp | jackhumbert/RED4ext.SDK | 2c55eccb83beabbbe02abae7945af8efce638fca | [
"MIT"
] | 20 | 2020-12-28T22:17:38.000Z | 2022-03-22T17:19:01.000Z | #pragma once
// This file is generated from the Game's Reflection data
#include <cstdint>
#include <RED4ext/Common.hpp>
#include <RED4ext/Handle.hpp>
#include <RED4ext/Scripting/Natives/Generated/quest/ETimeDilationOverride.hpp>
#include <RED4ext/Scripting/Natives/Generated/quest/TimeDilation_NodeTypeParam.hpp>
name... | 30.25 | 83 | 0.780401 | jackhumbert |
c87c33e1e2775720bd69091add608f6e4ec6ce87 | 17,342 | cpp | C++ | src/mt/token_type.cpp | nfagan/mtype | a745271d366df64e1b4692cc90f0685ea4084ba6 | [
"MIT"
] | null | null | null | src/mt/token_type.cpp | nfagan/mtype | a745271d366df64e1b4692cc90f0685ea4084ba6 | [
"MIT"
] | null | null | null | src/mt/token_type.cpp | nfagan/mtype | a745271d366df64e1b4692cc90f0685ea4084ba6 | [
"MIT"
] | null | null | null | #include "token_type.hpp"
#include <string>
#include <unordered_map>
#include <cassert>
#include <cstring>
namespace mt {
TokenType from_symbol(std::string_view s) {
static std::unordered_map<std::string, TokenType> symbol_map{
{"(", TokenType::left_parens},
{")", TokenType::right_parens},
{"[", TokenTy... | 30.16 | 110 | 0.661227 | nfagan |
c87cb139a11bc2d79c7fc9a779c71f2cebb692e3 | 385 | hpp | C++ | lib/ArduinoJson_ID64/src/ArduinoJson/Deserialization/NestingLimit.hpp | wwmoo7/IRbaby-firmware | 7de0304c2c708a7094324bce1560ac39fcdb8e84 | [
"MIT"
] | 38 | 2020-04-09T03:17:16.000Z | 2022-03-21T06:33:05.000Z | lib/ArduinoJson_ID64/src/ArduinoJson/Deserialization/NestingLimit.hpp | wwmoo7/IRbaby-firmware | 7de0304c2c708a7094324bce1560ac39fcdb8e84 | [
"MIT"
] | 6 | 2020-05-19T10:56:31.000Z | 2022-01-24T07:21:40.000Z | lib/ArduinoJson_ID64/src/ArduinoJson/Deserialization/NestingLimit.hpp | wwmoo7/IRbaby-firmware | 7de0304c2c708a7094324bce1560ac39fcdb8e84 | [
"MIT"
] | 15 | 2020-06-26T09:31:32.000Z | 2021-09-01T15:22:00.000Z | // ArduinoJson - arduinojson.org
// Copyright Benoit Blanchon 2014-2020
// MIT License
#pragma once
#include <ArduinoJson/Namespace.hpp>
namespace ARDUINOJSON_NAMESPACE {
struct NestingLimit {
NestingLimit() : value(ARDUINOJSON_DEFAULT_NESTING_LIMIT) {}
explicit NestingLimit(uint8_t n) : value(n) {}... | 21.388889 | 63 | 0.727273 | wwmoo7 |
c87ec352920b8502108500d9aea45a3797591b07 | 1,373 | cpp | C++ | tests/dxbc/test_dxbc_disasm.cpp | lacc97/dxvk | 5fe8d823a03cc1c90361a4e89c385cefee8cbcf6 | [
"Zlib"
] | 8,148 | 2017-10-29T10:51:20.000Z | 2022-03-31T12:52:51.000Z | tests/dxbc/test_dxbc_disasm.cpp | lacc97/dxvk | 5fe8d823a03cc1c90361a4e89c385cefee8cbcf6 | [
"Zlib"
] | 2,270 | 2017-12-04T12:08:13.000Z | 2022-03-31T19:56:41.000Z | tests/dxbc/test_dxbc_disasm.cpp | lacc97/dxvk | 5fe8d823a03cc1c90361a4e89c385cefee8cbcf6 | [
"Zlib"
] | 732 | 2017-11-28T13:08:15.000Z | 2022-03-31T21:05:59.000Z | #include <iostream>
#include <string>
#include <d3dcompiler.h>
#include <shellapi.h>
#include <windows.h>
#include <windowsx.h>
#include "../../src/util/com/com_pointer.h"
using namespace dxvk;
int WINAPI WinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpCmdLine,
... | 22.508197 | 92 | 0.614712 | lacc97 |
c88331cf9e5b35677d9745bebea844389a49b0e9 | 12,373 | cpp | C++ | core/io/resource_importer.cpp | shinyclaw/godot | 263f7319240df6d57c779b1eb857c7f7ad6dfe47 | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | 1 | 2021-08-04T13:34:33.000Z | 2021-08-04T13:34:33.000Z | core/io/resource_importer.cpp | shinyclaw/godot | 263f7319240df6d57c779b1eb857c7f7ad6dfe47 | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | null | null | null | core/io/resource_importer.cpp | shinyclaw/godot | 263f7319240df6d57c779b1eb857c7f7ad6dfe47 | [
"CC-BY-3.0",
"Apache-2.0",
"MIT"
] | 1 | 2020-08-30T10:57:19.000Z | 2020-08-30T10:57:19.000Z | /*************************************************************************/
/* resource_importer.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... | 29.600478 | 163 | 0.649721 | shinyclaw |
c8836aeabab6bd7274fec72b2850b875afcacadb | 2,684 | cc | C++ | tensorflow/core/kernels/data/prefetch_autotuner.cc | kim-com/tensorflow | 4301e3f34b8da528c58bdafe05cd66c8a55fce9e | [
"Apache-2.0"
] | 1 | 2022-03-20T04:34:49.000Z | 2022-03-20T04:34:49.000Z | tensorflow/core/kernels/data/prefetch_autotuner.cc | kim-com/tensorflow | 4301e3f34b8da528c58bdafe05cd66c8a55fce9e | [
"Apache-2.0"
] | 1 | 2022-03-24T00:13:13.000Z | 2022-03-24T00:13:20.000Z | tensorflow/core/kernels/data/prefetch_autotuner.cc | kim-com/tensorflow | 4301e3f34b8da528c58bdafe05cd66c8a55fce9e | [
"Apache-2.0"
] | null | null | null | /* Copyright 2017 The TensorFlow 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
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | 34.410256 | 80 | 0.653502 | kim-com |
c884576ef618b792c52efeff13be551da01cebef | 2,318 | cpp | C++ | gym/index00_09/ioi2021_03/EE.cpp | daklqw/IOI2021-training | 4f21cef8eec47330e3db77a3d90cbe2309fa8294 | [
"Apache-2.0"
] | 6 | 2020-10-12T05:07:03.000Z | 2021-09-11T14:54:58.000Z | gym/index00_09/ioi2021_03/EE.cpp | daklqw/IOI2021-training | 4f21cef8eec47330e3db77a3d90cbe2309fa8294 | [
"Apache-2.0"
] | null | null | null | gym/index00_09/ioi2021_03/EE.cpp | daklqw/IOI2021-training | 4f21cef8eec47330e3db77a3d90cbe2309fa8294 | [
"Apache-2.0"
] | 2 | 2021-02-09T02:06:31.000Z | 2021-10-06T01:25:08.000Z | #include <bits/stdc++.h>
const int MAXN = 21;
typedef long double db;
const db eps = 1e-8;
const db g = 9.80665;
int A[MAXN][MAXN];
int H, W, R, V;
int pw(int x) { return x * x; }
std::pair<db, db> normal(db a, db b) {
db L = sqrtl(a * a + b * b);
return std::make_pair(a / L, b / L);
}
bool judge(int sx, int sy, int... | 26.044944 | 56 | 0.443054 | daklqw |
c8866e929e52292f1151f1a1e7830e9a194ccccd | 58 | cpp | C++ | main.cpp | JohnyJohnes/AlgorithmsCpp | bd1a1e7fec6e7c854a32f36349b644bb7d80f2b4 | [
"MIT"
] | null | null | null | main.cpp | JohnyJohnes/AlgorithmsCpp | bd1a1e7fec6e7c854a32f36349b644bb7d80f2b4 | [
"MIT"
] | null | null | null | main.cpp | JohnyJohnes/AlgorithmsCpp | bd1a1e7fec6e7c854a32f36349b644bb7d80f2b4 | [
"MIT"
] | null | null | null | //
// Created by Saxion on 10/12/2018.
//
int main(){
}
| 7.25 | 35 | 0.551724 | JohnyJohnes |
c886d1e99ae0c39db9519edec147e5de1610f3ed | 14,414 | cpp | C++ | source/game/rules/UserGroup.cpp | JasonHutton/QWTA | 7f42dc70eb230cf69a8048fc98d647a486e752f1 | [
"MIT"
] | 2 | 2021-05-02T18:37:48.000Z | 2021-07-18T16:18:14.000Z | source/game/rules/UserGroup.cpp | JasonHutton/QWTA | 7f42dc70eb230cf69a8048fc98d647a486e752f1 | [
"MIT"
] | null | null | null | source/game/rules/UserGroup.cpp | JasonHutton/QWTA | 7f42dc70eb230cf69a8048fc98d647a486e752f1 | [
"MIT"
] | null | null | null | // Copyright (C) 2007 Id Software, Inc.
//
#include "../precompiled.h"
#pragma hdrstop
#if defined( _DEBUG ) && !defined( ID_REDIRECT_NEWDELETE )
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
#include "UserGroup.h"
#include "../Player.h"
#include "../guis/UIList.h"
... | 23.47557 | 177 | 0.594769 | JasonHutton |
c88703d91472e8d16bc83873acf6e26e15aa076a | 432 | cpp | C++ | src/data/binary_tree/binary_tree.unit.cpp | Tomcus/escape-ge | 592bfa0a7206ea7c9c6fef4de51fa87450dfce70 | [
"MIT"
] | null | null | null | src/data/binary_tree/binary_tree.unit.cpp | Tomcus/escape-ge | 592bfa0a7206ea7c9c6fef4de51fa87450dfce70 | [
"MIT"
] | null | null | null | src/data/binary_tree/binary_tree.unit.cpp | Tomcus/escape-ge | 592bfa0a7206ea7c9c6fef4de51fa87450dfce70 | [
"MIT"
] | null | null | null | #include "binary_tree/binary_tree.hpp"
#include <catch2/catch_test_macros.hpp>
TEST_CASE("Binary tree tests with simple value type (int)", "[unit][binaryTree][binary_tree]") {
esc::data::BinaryTreeHeap<int> heap;
SECTION("Simple adding") {
heap.push(120);
heap.push(42);
heap.push(12);
... | 27 | 96 | 0.604167 | Tomcus |
c88a47dd948b4abaade3bb380ab9606dab9b80ed | 2,394 | cc | C++ | selfdrive/ui/qt/window.cc | SamuelSandoval/openpilot | a337097b5ee515560e9f1a804b997753767d3c9a | [
"MIT"
] | 20 | 2020-12-04T12:20:57.000Z | 2022-03-31T00:40:15.000Z | selfdrive/ui/qt/window.cc | SamuelSandoval/openpilot | a337097b5ee515560e9f1a804b997753767d3c9a | [
"MIT"
] | 6 | 2020-03-06T18:13:55.000Z | 2020-07-20T05:10:20.000Z | selfdrive/ui/qt/window.cc | SamuelSandoval/openpilot | a337097b5ee515560e9f1a804b997753767d3c9a | [
"MIT"
] | 113 | 2020-10-08T07:37:05.000Z | 2022-02-12T04:26:34.000Z | #include "window.hpp"
#include "selfdrive/hardware/hw.h"
MainWindow::MainWindow(QWidget *parent) : QWidget(parent) {
main_layout = new QStackedLayout;
main_layout->setMargin(0);
homeWindow = new HomeWindow(this);
main_layout->addWidget(homeWindow);
settingsWindow = new SettingsWindow(this);
main_layout->... | 31.5 | 149 | 0.739766 | SamuelSandoval |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.