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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
99655b5fe5c2657b64d3c464da1a2b152235abdb | 33 | hh | C++ | include/trick/compat/sim_services/Message/include/MessageLCout.hh | gilbertguoze/trick | f0537efb0fa3cb5c0c84e36b60f055c1d1c60d21 | [
"NASA-1.3"
] | 647 | 2015-05-07T16:08:16.000Z | 2022-03-30T02:33:21.000Z | include/trick/compat/sim_services/Message/include/MessageLCout.hh | gilbertguoze/trick | f0537efb0fa3cb5c0c84e36b60f055c1d1c60d21 | [
"NASA-1.3"
] | 995 | 2015-04-30T19:44:31.000Z | 2022-03-31T20:14:44.000Z | include/trick/compat/sim_services/Message/include/MessageLCout.hh | gilbertguoze/trick | f0537efb0fa3cb5c0c84e36b60f055c1d1c60d21 | [
"NASA-1.3"
] | 251 | 2015-05-15T09:24:34.000Z | 2022-03-22T20:39:05.000Z | #include "trick/MessageLCout.hh"
| 16.5 | 32 | 0.787879 | gilbertguoze |
9967ae213a368f4d7eca16535649ff73f8cce3ab | 9,045 | cxx | C++ | HLT/EMCAL/AliHLTEMCALDigitMakerComponent.cxx | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 52 | 2016-12-11T13:04:01.000Z | 2022-03-11T11:49:35.000Z | HLT/EMCAL/AliHLTEMCALDigitMakerComponent.cxx | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 1,388 | 2016-11-01T10:27:36.000Z | 2022-03-30T15:26:09.000Z | HLT/EMCAL/AliHLTEMCALDigitMakerComponent.cxx | AllaMaevskaya/AliRoot | c53712645bf1c7d5f565b0d3228e3a6b9b09011a | [
"BSD-3-Clause"
] | 275 | 2016-06-21T20:24:05.000Z | 2022-03-31T13:06:19.000Z | // $Id$
/**************************************************************************
* This file is property of and copyright by the ALICE HLT Project *
* All rights reserved. *
* *
* Prim... | 28.443396 | 120 | 0.656385 | AllaMaevskaya |
99687f987cf282449c724d0facef62ce19ca5f27 | 27,930 | cpp | C++ | pxr/imaging/lib/hd/quadrangulate.cpp | marsupial/USD | 98d49911893d59be5a9904a29e15959affd530ec | [
"BSD-3-Clause"
] | 9 | 2021-03-31T21:23:48.000Z | 2022-03-05T09:29:27.000Z | pxr/imaging/lib/hd/quadrangulate.cpp | unity3d-jp/USD | 0f146383613e1efe872ea7c85aa3536f170fcda2 | [
"BSD-3-Clause"
] | null | null | null | pxr/imaging/lib/hd/quadrangulate.cpp | unity3d-jp/USD | 0f146383613e1efe872ea7c85aa3536f170fcda2 | [
"BSD-3-Clause"
] | 2 | 2016-12-13T00:53:40.000Z | 2020-05-04T07:32:53.000Z | //
// Copyright 2016 Pixar
//
// Licensed under the Apache License, Version 2.0 (the "Apache License")
// with the following modification; you may not use this file except in
// compliance with the Apache License and the following modification to it:
// Section 6. Trademarks. is deleted and replaced with:
//
// 6. Trad... | 32.401392 | 87 | 0.608127 | marsupial |
99729080b278e38abd0603ace3e6b2327a716b4e | 249 | cpp | C++ | Leetcode Problems/26.Remove_Duplicates_from_Sorted_Array.cpp | rishusingh022/My-Journey-of-Data-Structures-and-Algorithms | 28a70fdf10366fc97ddb9f6a69852b3478b564e6 | [
"MIT"
] | 1 | 2021-01-13T07:20:57.000Z | 2021-01-13T07:20:57.000Z | Leetcode Problems/26.Remove_Duplicates_from_Sorted_Array.cpp | rishusingh022/My-Journey-of-Data-Structures-and-Algorithms | 28a70fdf10366fc97ddb9f6a69852b3478b564e6 | [
"MIT"
] | 1 | 2021-10-01T18:26:34.000Z | 2021-10-01T18:26:34.000Z | Leetcode Problems/26.Remove_Duplicates_from_Sorted_Array.cpp | rishusingh022/My-Journey-of-Data-Structures-and-Algorithms | 28a70fdf10366fc97ddb9f6a69852b3478b564e6 | [
"MIT"
] | 7 | 2021-10-01T16:07:29.000Z | 2021-10-04T13:23:48.000Z | class Solution {
public:
int removeDuplicates(vector<int>& nums) {
vector<int>::iterator ip;
ip = std::unique(nums.begin(), nums.end());
nums.resize(std::distance(nums.begin(), ip));
return nums.size();
}
}; | 27.666667 | 53 | 0.574297 | rishusingh022 |
99753e1401a617d5b2566b133eedd37307d7b558 | 345 | cpp | C++ | sdk/src/frame_operations.cpp | andreeasandulescu/aditof_sdk | c554aacc610f9086636b2742266726123989c4fd | [
"BSD-3-Clause"
] | null | null | null | sdk/src/frame_operations.cpp | andreeasandulescu/aditof_sdk | c554aacc610f9086636b2742266726123989c4fd | [
"BSD-3-Clause"
] | null | null | null | sdk/src/frame_operations.cpp | andreeasandulescu/aditof_sdk | c554aacc610f9086636b2742266726123989c4fd | [
"BSD-3-Clause"
] | null | null | null | #include <aditof/frame_operations.h>
namespace aditof {
bool operator==(const FrameDetails &lhs, const FrameDetails &rhs) {
return lhs.type == rhs.type && lhs.width == rhs.width && lhs.width &&
rhs.height;
}
bool operator!=(const FrameDetails &lhs, const FrameDetails &rhs) {
return !(lhs == rhs);
... | 23 | 73 | 0.663768 | andreeasandulescu |
9978b390491df18d645dde376bb564e507571ed5 | 201 | hpp | C++ | engine/engine.hpp | davidscholberg/opengl-es-test | 9792d6d6f4f01fb91a8ec59ecf0fd02cd019db79 | [
"BSD-2-Clause"
] | null | null | null | engine/engine.hpp | davidscholberg/opengl-es-test | 9792d6d6f4f01fb91a8ec59ecf0fd02cd019db79 | [
"BSD-2-Clause"
] | null | null | null | engine/engine.hpp | davidscholberg/opengl-es-test | 9792d6d6f4f01fb91a8ec59ecf0fd02cd019db79 | [
"BSD-2-Clause"
] | null | null | null | #ifndef ENGINE_HPP_
#define ENGINE_HPP_
class engine {
public:
engine();
engine(engine const &) = delete;
~engine();
void operator=(engine const &) = delete;
};
#endif // ENGINE_HPP_
| 15.461538 | 44 | 0.651741 | davidscholberg |
5f53ae65b626f3f81e712d5ccfec67ede8b34bb3 | 6,275 | cpp | C++ | ECS/Project/Project/Renderers/RendererModules/DPassLightingModule/DPassLightingModule.cpp | AshwinKumarVijay/SceneECS | 2acc115d5e7738ef9bf087c025e5e5a10cac3443 | [
"MIT"
] | 2 | 2017-01-30T23:38:49.000Z | 2017-09-08T09:34:37.000Z | ECS/Project/Project/Renderers/RendererModules/DPassLightingModule/DPassLightingModule.cpp | AshwinKumarVijay/SceneECS | 2acc115d5e7738ef9bf087c025e5e5a10cac3443 | [
"MIT"
] | null | null | null | ECS/Project/Project/Renderers/RendererModules/DPassLightingModule/DPassLightingModule.cpp | AshwinKumarVijay/SceneECS | 2acc115d5e7738ef9bf087c025e5e5a10cac3443 | [
"MIT"
] | null | null | null | #include "DPassLightingModule.h"
#include "../Renderers/ModuleRenderer/ModuleRenderer.h"
#include "../GBufferModule/GBufferModule.h"
#include "../LightsModule/LightsModule.h"
#include "../../../Camera/Camera.h"
#include "../../RendererResourceManagers/RendererShaderManager/RendererShaderData/RendererShaderData.h"
/... | 45.80292 | 471 | 0.821514 | AshwinKumarVijay |
5f54235200ec8d97ec06dea28849d76f39f3f2f0 | 894 | cpp | C++ | Week00/Kruskal.cpp | princesinghtomar/Competitive-Programming | a0df818dfa56267fdde59bd1862d0b78f6e069c4 | [
"MIT"
] | 3 | 2020-11-11T13:45:40.000Z | 2021-07-20T11:53:34.000Z | Week00/Kruskal.cpp | princesinghtomar/Competitive-Programming | a0df818dfa56267fdde59bd1862d0b78f6e069c4 | [
"MIT"
] | 11 | 2020-10-03T14:26:35.000Z | 2021-10-30T15:26:40.000Z | Week00/Kruskal.cpp | princesinghtomar/Competitive-Programming | a0df818dfa56267fdde59bd1862d0b78f6e069c4 | [
"MIT"
] | 12 | 2020-05-12T08:39:54.000Z | 2021-10-30T14:56:27.000Z | #include<iostream>
#include<utility>
#include<vector>
#include<algorithm>
using namespace std;
vector<pair<long long int,pair<long long int,long long int>>> v;
long long int P[1000006],S[1000006];
long long int dsu(long long int x,long long int y)
{
long long int i,j;
i=x;
while(i!=P[i])
{
P[i]=P[P[i]];
i=P[i... | 11.461538 | 64 | 0.517897 | princesinghtomar |
5f55451154271c6f2ddcb48dab20ed261f716b75 | 12,889 | cpp | C++ | src/ndnSIM/NFD/tests/daemon/mgmt/command-authenticator.t.cpp | NDNLink/NDN-Chord | cfabf8f56eea2c4ba47052ce145a939ebdc21e57 | [
"MIT"
] | 1 | 2021-09-07T04:12:15.000Z | 2021-09-07T04:12:15.000Z | src/ndnSIM/NFD/tests/daemon/mgmt/command-authenticator.t.cpp | NDNLink/NDN-Chord | cfabf8f56eea2c4ba47052ce145a939ebdc21e57 | [
"MIT"
] | null | null | null | src/ndnSIM/NFD/tests/daemon/mgmt/command-authenticator.t.cpp | NDNLink/NDN-Chord | cfabf8f56eea2c4ba47052ce145a939ebdc21e57 | [
"MIT"
] | 1 | 2020-07-15T06:21:03.000Z | 2020-07-15T06:21:03.000Z | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2014-2018, Regents of the University of California,
* Arizona Board of Regents,
* Colorado State University,
* University Pierre & Marie Curie, Sorbonne... | 27.134737 | 109 | 0.66708 | NDNLink |
5f5592726c03618955fb5f662a83cf8ca5b042a6 | 343 | cpp | C++ | Source/TextureBaker/Private/TextureBakerCommands.cpp | WhiteWh/UE4TextureBaker | 976decb8a895bb7aa8c4dad17e857b25a7a753ce | [
"MIT"
] | 7 | 2021-05-04T10:33:36.000Z | 2022-02-02T20:06:21.000Z | Source/TextureBaker/Private/TextureBakerCommands.cpp | WhiteWh/UE4TextureBaker | 976decb8a895bb7aa8c4dad17e857b25a7a753ce | [
"MIT"
] | null | null | null | Source/TextureBaker/Private/TextureBakerCommands.cpp | WhiteWh/UE4TextureBaker | 976decb8a895bb7aa8c4dad17e857b25a7a753ce | [
"MIT"
] | null | null | null | // Copyright Epic Games, Inc. All Rights Reserved.
#include "TextureBakerCommands.h"
#define LOCTEXT_NAMESPACE "FTextureBakerModule"
void FTextureBakerCommands::RegisterCommands()
{
UI_COMMAND(OpenPluginWindow, "TextureBaker", "Bring up TextureBaker window", EUserInterfaceActionType::Button, FInputGesture());
}
#u... | 26.384615 | 129 | 0.80758 | WhiteWh |
5f58e8a2a07d36c37ebe2d543e363510648bc238 | 3,934 | cc | C++ | src/imageprocessing/contour.cc | SanczoPL/gt-annotate | b760d0dc3f91ce5748190b95468e2e54bee76b2a | [
"MIT"
] | null | null | null | src/imageprocessing/contour.cc | SanczoPL/gt-annotate | b760d0dc3f91ce5748190b95468e2e54bee76b2a | [
"MIT"
] | null | null | null | src/imageprocessing/contour.cc | SanczoPL/gt-annotate | b760d0dc3f91ce5748190b95468e2e54bee76b2a | [
"MIT"
] | null | null | null | #include "imageprocessing/contour.h"
#include <QJsonObject>
#include <QJsonArray>
#include <QFile>
#include <QJsonDocument>
#include <QDebug>
#include <QRectF>
#include <QString>
//#define DEBUG
constexpr auto NAME{ "Name" };
constexpr auto WIDTH{ "Width" };
constexpr auto HEIGHT{ "Height" };
constexpr auto X{ "X" }... | 26.402685 | 113 | 0.684291 | SanczoPL |
5f591ef1df93a565bdf87b4967e0b3b6c6cc98ce | 4,793 | cpp | C++ | teleconf.cpp | boochow/teleconf | c90b04c0daf786870709d218f4c29848d16ecace | [
"MIT"
] | 3 | 2020-08-01T17:46:06.000Z | 2021-04-09T17:24:53.000Z | teleconf.cpp | boochow/teleconf | c90b04c0daf786870709d218f4c29848d16ecace | [
"MIT"
] | null | null | null | teleconf.cpp | boochow/teleconf | c90b04c0daf786870709d218f4c29848d16ecace | [
"MIT"
] | null | null | null | /*
* File: teleconf.cpp
*/
#include "usermodfx.h"
#include "biquad.hpp"
#define SUBTIMBRE 0
// filter parameters
#define LPF_FC 3000.f
#define HPF_FC 300.f
#define LPF_Q 0.707f
// filters before downsampling
static dsp::BiQuad s_bq_lpf_r;
static dsp::BiQuad s_bq_hpf_r;
static dsp::BiQuad s_bq_lpf_l;
static dsp:... | 24.207071 | 75 | 0.666388 | boochow |
5f5a5fbfa7cbb3aced2ba754aa5d9ce4ac21bef0 | 2,564 | cxx | C++ | main/sw/source/core/docnode/retrieveinputstreamconsumer.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 679 | 2015-01-06T06:34:58.000Z | 2022-03-30T01:06:03.000Z | main/sw/source/core/docnode/retrieveinputstreamconsumer.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 102 | 2017-11-07T08:51:31.000Z | 2022-03-17T12:13:49.000Z | main/sw/source/core/docnode/retrieveinputstreamconsumer.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 331 | 2015-01-06T11:40:55.000Z | 2022-03-14T04:07:51.000Z | /**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to y... | 37.15942 | 85 | 0.692668 | Grosskopf |
5f5eb07b5c05bac6798a9ad1e9b96ccb07a1ece8 | 1,390 | cpp | C++ | TouchGFX/generated/fonts/src/Table_Asap_Bold_12_4bpp.cpp | koson/car-dash | 7be8f02a243d43b4fd9fd33b0a160faa5901f747 | [
"MIT"
] | null | null | null | TouchGFX/generated/fonts/src/Table_Asap_Bold_12_4bpp.cpp | koson/car-dash | 7be8f02a243d43b4fd9fd33b0a160faa5901f747 | [
"MIT"
] | null | null | null | TouchGFX/generated/fonts/src/Table_Asap_Bold_12_4bpp.cpp | koson/car-dash | 7be8f02a243d43b4fd9fd33b0a160faa5901f747 | [
"MIT"
] | null | null | null | // Autogenerated, do not edit
#include <fonts/GeneratedFont.hpp>
FONT_TABLE_LOCATION_FLASH_PRAGMA
KEEP extern const touchgfx::GlyphNode glyphs_Asap_Bold_12_4bpp[] FONT_TABLE_LOCATION_FLASH_ATTRIBUTE =
{
{ 0, 0x0031, 6, 9, 9, 0, 6, 0, 0, 0x00 },
{ 27, 0x0032, 6, 9, 9, 0, 6, 0, ... | 39.714286 | 166 | 0.605036 | koson |
5f63f37831fc89994b6c70e806053b00a494acc9 | 191 | cpp | C++ | willis_game_framework/WGF/InputListener.cpp | mrwonko/ancient | fcee7c5f55ad5cdf16fe2dc4560cd34785b7bb01 | [
"MIT"
] | null | null | null | willis_game_framework/WGF/InputListener.cpp | mrwonko/ancient | fcee7c5f55ad5cdf16fe2dc4560cd34785b7bb01 | [
"MIT"
] | null | null | null | willis_game_framework/WGF/InputListener.cpp | mrwonko/ancient | fcee7c5f55ad5cdf16fe2dc4560cd34785b7bb01 | [
"MIT"
] | null | null | null | #include "InputListener.h"
namespace WGF
{
InputListener::InputListener()
{
//ctor
}
InputListener::~InputListener()
{
//dtor
}
} // namespace WGF
| 11.235294 | 35 | 0.549738 | mrwonko |
5f68e65393a05b2daa346d882f09e8eb4c063733 | 287 | cpp | C++ | LibreOJ/loj10230.cpp | wzl19371/OI-LIfe | f7f54542d1369b5e4047fcbb2e26c1c64d22ee26 | [
"MIT"
] | 1 | 2020-10-05T02:07:52.000Z | 2020-10-05T02:07:52.000Z | LibreOJ/loj10230.cpp | wzl19371/OI-LIfe | f7f54542d1369b5e4047fcbb2e26c1c64d22ee26 | [
"MIT"
] | null | null | null | LibreOJ/loj10230.cpp | wzl19371/OI-LIfe | f7f54542d1369b5e4047fcbb2e26c1c64d22ee26 | [
"MIT"
] | null | null | null | #include <cstdio>
using namespace std;
typedef long long ll;
const int p=5000011;
const int maxn=1e5+10;
int n,k;
ll f[maxn];
int main(){
scanf("%d%d",&n,&k);
for(int i=0;i<=k;i++) f[i]=(i+1)%p;
for(int i=k+1;i<=n;i++) f[i]=(f[i-1]+f[i-k-1])%p;
printf("%lld\n",f[n]);
}
| 20.5 | 51 | 0.550523 | wzl19371 |
5f68f140cbe176c4d78210070f227d661d99bfe4 | 7,405 | cc | C++ | third_party/perfetto/src/ftrace_reader/ftrace_procfs.cc | zipated/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | third_party/perfetto/src/ftrace_reader/ftrace_procfs.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | third_party/perfetto/src/ftrace_reader/ftrace_procfs.cc | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | /*
* Copyright (C) 2017 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... | 29.039216 | 79 | 0.674139 | zipated |
5f6cbdca6a051b4956ce42dd94703eb78799ff86 | 1,465 | cpp | C++ | Libs/Common/Region.cpp | ajensen1234/ShapeWorks | fb308c8c38ad0e00c7f62aa7221e00e72140d909 | [
"MIT"
] | 40 | 2019-07-26T18:02:13.000Z | 2022-03-28T07:24:23.000Z | Libs/Common/Region.cpp | ajensen1234/ShapeWorks | fb308c8c38ad0e00c7f62aa7221e00e72140d909 | [
"MIT"
] | 1,359 | 2019-06-20T17:17:53.000Z | 2022-03-31T05:42:29.000Z | Libs/Common/Region.cpp | ajensen1234/ShapeWorks | fb308c8c38ad0e00c7f62aa7221e00e72140d909 | [
"MIT"
] | 13 | 2019-12-06T01:31:48.000Z | 2022-02-24T04:34:23.000Z | #include "Region.h"
namespace shapeworks {
IndexRegion& IndexRegion::pad(int padding)
{
for (auto i = 0; i < 3; i++)
{
min[i] -= padding;
max[i] += padding;
}
return *this;
}
std::ostream &operator<<(std::ostream &os, const IndexRegion &r)
{
return os << "{\n\tmin: [" << r.min[0] << ", " << r.min[1] << "... | 20.347222 | 91 | 0.527645 | ajensen1234 |
5f6d12b7ee7528691a2fa8ea09a2c9ab14dac0cd | 5,815 | cc | C++ | parsers/gumbo_url_filter_test.cc | google/plusfish | a56ac07ca132613ecda7f252a69312ada66bbbca | [
"Apache-2.0"
] | 14 | 2020-10-16T18:33:37.000Z | 2022-03-27T18:29:00.000Z | parsers/gumbo_url_filter_test.cc | qause/plusfish | a56ac07ca132613ecda7f252a69312ada66bbbca | [
"Apache-2.0"
] | 2 | 2021-03-18T11:19:59.000Z | 2021-04-26T12:27:33.000Z | parsers/gumbo_url_filter_test.cc | qause/plusfish | a56ac07ca132613ecda7f252a69312ada66bbbca | [
"Apache-2.0"
] | 5 | 2021-06-29T10:51:04.000Z | 2022-01-09T05:18:16.000Z | // Copyright 2020 Google LLC. 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... | 32.853107 | 79 | 0.693895 | google |
5f71afccb2722ea46e95da751a1150f0d225eec0 | 1,870 | hpp | C++ | Sources/etwprof/OS/Stream/OStreamManipulators.hpp | Donpedro13/etwprof | a9db371ef556d564529c5112c231157d3789292b | [
"MIT"
] | 38 | 2018-06-11T19:09:16.000Z | 2022-03-17T04:15:15.000Z | Sources/etwprof/OS/Stream/OStreamManipulators.hpp | killvxk/etwprof | 37ca044b5dd6be39dbd77ba7653395aa95768692 | [
"MIT"
] | 12 | 2018-06-12T20:24:05.000Z | 2021-07-31T18:28:48.000Z | Sources/etwprof/OS/Stream/OStreamManipulators.hpp | killvxk/etwprof | 37ca044b5dd6be39dbd77ba7653395aa95768692 | [
"MIT"
] | 5 | 2019-02-23T04:11:03.000Z | 2022-03-17T04:15:18.000Z | #ifndef ETWP_OSTREAM_MANIPULATORS_HPP
#define ETWP_OSTREAM_MANIPULATORS_HPP
namespace ETWP {
class ConsoleOStream;
using OStreamManipulator = void (*)(ConsoleOStream*);
void Endl (ConsoleOStream* stream);
void ColorReset (ConsoleOStream* stream);
void FgColorReset (ConsoleOStream* stream);
void FgColorBlack (Cons... | 35.961538 | 53 | 0.818182 | Donpedro13 |
5f769c53c564d2e8ab345db842a6e9f09e0a9cf4 | 115 | cpp | C++ | docs/mfc/reference/codesnippet/CPP/application-information-and-management_1.cpp | bobbrow/cpp-docs | 769b186399141c4ea93400863a7d8463987bf667 | [
"CC-BY-4.0",
"MIT"
] | 965 | 2017-06-25T23:57:11.000Z | 2022-03-31T14:17:32.000Z | docs/mfc/reference/codesnippet/CPP/application-information-and-management_1.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/mfc/reference/codesnippet/CPP/application-information-and-management_1.cpp | bobbrow/cpp-docs | 769b186399141c4ea93400863a7d8463987bf667 | [
"CC-BY-4.0",
"MIT"
] | 951 | 2017-06-25T12:36:14.000Z | 2022-03-26T22:49:06.000Z | // Print the application's executable filename.
TRACE(_T("Executable filename = %s\n"), AfxGetApp()->m_pszExeName); | 57.5 | 67 | 0.747826 | bobbrow |
5f77a8ba5661c148146681589a80917d88931e12 | 4,833 | cpp | C++ | utils/swc_to_nlxml.cpp | Twinklebear/nlxml | 2044a89c8b0b1d69c7762dc48406770f4b7c9834 | [
"MIT"
] | null | null | null | utils/swc_to_nlxml.cpp | Twinklebear/nlxml | 2044a89c8b0b1d69c7762dc48406770f4b7c9834 | [
"MIT"
] | 1 | 2019-03-18T00:37:08.000Z | 2019-03-18T21:45:35.000Z | utils/swc_to_nlxml.cpp | Twinklebear/nlxml | 2044a89c8b0b1d69c7762dc48406770f4b7c9834 | [
"MIT"
] | null | null | null | #include <iostream>
#include <set>
#include <map>
#include <iterator>
#include <vector>
#include <sstream>
#include <fstream>
#include <algorithm>
#include <vector>
#include <algorithm>
#include <glm/glm.hpp>
#include <glm/ext.hpp>
#include "nlxml.h"
using namespace nlxml;
/* Read the SWC file (http://research.mssm.e... | 25.303665 | 84 | 0.634802 | Twinklebear |
5f7a9c797738783fd2ab6b6edf2c15f5c2023d2b | 588 | hpp | C++ | src/moistureMeasurement.hpp | umiko/MoistureMeter | 89b617e57bf5934ccd4d0fdfa2eda12c4385edf1 | [
"MIT"
] | null | null | null | src/moistureMeasurement.hpp | umiko/MoistureMeter | 89b617e57bf5934ccd4d0fdfa2eda12c4385edf1 | [
"MIT"
] | null | null | null | src/moistureMeasurement.hpp | umiko/MoistureMeter | 89b617e57bf5934ccd4d0fdfa2eda12c4385edf1 | [
"MIT"
] | null | null | null | //AUTHOR:
//umiko(https://github.com/umiko)
//Permission to copy and modify is granted under the MIT license
//
//DESCRIPTION:
//A struct to save the last measurement taken, so it can be supplied at a later time again
#ifndef MOISTUREMEASUREMENT_CPP
#define MOISTUREMEASUREMENT_CPP
#include <Arduino.h>
class moistureMe... | 23.52 | 90 | 0.765306 | umiko |
5f81a2abcc92a1c85e45e4f6f0eef014ce0282ea | 141 | hh | C++ | host/device-reference.hh | free-audio/clap-host | 4602d26b91a526ac80933bdc9f6fcafdf2423bbf | [
"MIT"
] | 24 | 2021-12-01T13:36:25.000Z | 2022-03-17T10:12:29.000Z | host/device-reference.hh | free-audio/clap-host | 4602d26b91a526ac80933bdc9f6fcafdf2423bbf | [
"MIT"
] | 9 | 2021-11-02T14:39:54.000Z | 2022-03-19T11:04:54.000Z | host/device-reference.hh | free-audio/clap-host | 4602d26b91a526ac80933bdc9f6fcafdf2423bbf | [
"MIT"
] | 4 | 2021-11-02T09:01:50.000Z | 2022-02-04T20:00:35.000Z | #pragma once
#include <QString>
struct DeviceReference {
QString _api = "(none)";
QString _name = "(noname)";
int _index = 0;
};
| 14.1 | 30 | 0.624113 | free-audio |
5f81c6c8c4ea9f912d51ed641b32741f6feecb1c | 2,784 | hpp | C++ | accumulate.hpp | dean985/itertools | 842715b5fe7db5c74f65da642aa06ae365bb68c2 | [
"MIT"
] | null | null | null | accumulate.hpp | dean985/itertools | 842715b5fe7db5c74f65da642aa06ae365bb68c2 | [
"MIT"
] | 2 | 2020-06-18T11:35:37.000Z | 2020-06-18T11:35:45.000Z | accumulate.hpp | dean985/itertools | 842715b5fe7db5c74f65da642aa06ae365bb68c2 | [
"MIT"
] | null | null | null | #pragma once
#include <iostream>
namespace itertools
{
typedef struct
{
template <typename T>
T operator()(T a, T b)
{
return a + b;
}
} add;
template <typename Container,typename Ftor = add>
class accumulate
{
Ftor _fnctor = [](in... | 27.029126 | 91 | 0.431753 | dean985 |
5f83b93ffc743d1c6cb8c993a3e37548387c905c | 5,903 | cpp | C++ | source/octree/linear-octree.cpp | triplu-zero/monte-carlo-ray-tracer | 8b36d5154204fc67e13376ad15b8bac33065c2d1 | [
"MIT"
] | 149 | 2020-03-06T00:39:43.000Z | 2022-03-31T07:28:36.000Z | source/octree/linear-octree.cpp | triplu-zero/monte-carlo-ray-tracer | 8b36d5154204fc67e13376ad15b8bac33065c2d1 | [
"MIT"
] | 4 | 2020-07-27T15:33:09.000Z | 2022-02-24T11:34:40.000Z | source/octree/linear-octree.cpp | triplu-zero/monte-carlo-ray-tracer | 8b36d5154204fc67e13376ad15b8bac33065c2d1 | [
"MIT"
] | 17 | 2020-03-23T16:05:36.000Z | 2022-02-21T02:38:31.000Z | #include "linear-octree.hpp"
#include <glm/gtx/norm.hpp>
#include "../common/constexpr-math.hpp"
#include "../common/util.hpp"
template <class Data>
LinearOctree<Data>::LinearOctree(Octree<Data> &octree_root)
{
size_t octree_size = 0, data_size = 0;
octreeSize(octree_root, octree_size, data_size);
if (o... | 31.566845 | 154 | 0.580891 | triplu-zero |
5f84f5c1e5e2bacec64ab1c2ad6891b75f2c5ec7 | 3,397 | cpp | C++ | source/LinearizedImplicitEuler.cpp | sergeneren/BubbleH | e018e5a008e101221a4f8a3bbb25e7ec03fc9662 | [
"BSD-3-Clause-Clear"
] | 52 | 2019-10-06T17:25:39.000Z | 2022-01-20T23:01:13.000Z | source/LinearizedImplicitEuler.cpp | sergeneren/BubbleH | e018e5a008e101221a4f8a3bbb25e7ec03fc9662 | [
"BSD-3-Clause-Clear"
] | 1 | 2019-10-08T18:44:41.000Z | 2019-10-09T07:48:31.000Z | source/LinearizedImplicitEuler.cpp | sergeneren/BubbleH | e018e5a008e101221a4f8a3bbb25e7ec03fc9662 | [
"BSD-3-Clause-Clear"
] | 10 | 2019-10-07T16:33:24.000Z | 2020-10-21T01:09:47.000Z | #include "LinearizedImplicitEuler.h"
#include "VS3D.h"
// TODO: Save space by creating dx, dv, rhs, A only once.
LinearizedImplicitEuler::LinearizedImplicitEuler()
: SceneStepper()
{}
LinearizedImplicitEuler::~LinearizedImplicitEuler()
{}
bool LinearizedImplicitEuler::stepScene( VS3D& scene, scalar dt )
{
const... | 28.308333 | 149 | 0.600236 | sergeneren |
5f86049f22b9d449118b81ec1a272d8b8a360ade | 1,433 | cpp | C++ | android-30/java/util/logging/ErrorManager.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 12 | 2020-03-26T02:38:56.000Z | 2022-03-14T08:17:26.000Z | android-31/java/util/logging/ErrorManager.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 1 | 2021-01-27T06:07:45.000Z | 2021-11-13T19:19:43.000Z | android-29/java/util/logging/ErrorManager.cpp | YJBeetle/QtAndroidAPI | 1468b5dc6eafaf7709f0b00ba1a6ec2b70684266 | [
"Apache-2.0"
] | 3 | 2021-02-02T12:34:55.000Z | 2022-03-08T07:45:57.000Z | #include "../../lang/Exception.hpp"
#include "../../../JString.hpp"
#include "./ErrorManager.hpp"
namespace java::util::logging
{
// Fields
jint ErrorManager::CLOSE_FAILURE()
{
return getStaticField<jint>(
"java.util.logging.ErrorManager",
"CLOSE_FAILURE"
);
}
jint ErrorManager::FLUSH_FAILURE()
{
ret... | 19.364865 | 84 | 0.677599 | YJBeetle |
5f87173eaafc62afd8454c1067053ee3c35ec14e | 759 | hpp | C++ | cpp/src/vcf/reader.hpp | dylex/wecall | 35d24cefa4fba549e737cd99329ae1b17dd0156b | [
"MIT"
] | 8 | 2018-10-08T15:47:21.000Z | 2021-11-09T07:13:05.000Z | cpp/src/vcf/reader.hpp | dylex/wecall | 35d24cefa4fba549e737cd99329ae1b17dd0156b | [
"MIT"
] | 4 | 2018-11-05T09:16:27.000Z | 2020-04-09T12:32:56.000Z | cpp/src/vcf/reader.hpp | dylex/wecall | 35d24cefa4fba549e737cd99329ae1b17dd0156b | [
"MIT"
] | 4 | 2019-09-03T15:46:39.000Z | 2021-06-04T07:28:33.000Z | // All content Copyright (C) 2018 Genomics plc
#ifndef VCF_READER_HPP
#define VCF_READER_HPP
#include <utils/logging.hpp>
#include <fstream>
#include <boost/optional/optional.hpp>
#include <map>
#include <set>
#include "vcf/filterDescription.hpp"
#include "vcf/record.hpp"
#include "utils/timer.hpp"
struct shouldPar... | 22.323529 | 70 | 0.806324 | dylex |
5f87d676b4c228f3da68f6dd69d9f0811cf23a07 | 18,446 | cpp | C++ | DotnetLibraryTests/StringTests.cpp | lambertlb/CppTranslator | 8d9e94f01a0eb099c224fbd9720a0d060a49bda9 | [
"MIT"
] | null | null | null | DotnetLibraryTests/StringTests.cpp | lambertlb/CppTranslator | 8d9e94f01a0eb099c224fbd9720a0d060a49bda9 | [
"MIT"
] | null | null | null | DotnetLibraryTests/StringTests.cpp | lambertlb/CppTranslator | 8d9e94f01a0eb099c224fbd9720a0d060a49bda9 | [
"MIT"
] | null | null | null | // Copyright (c) 2019 LLambert
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this
// software and associated documentation files (the "Software"), to deal in the Software
// without restriction, including without limitation the rights to use, copy, modify, merge,
// publish, dist... | 32.763766 | 94 | 0.702862 | lambertlb |
5f8c4c298e5aaebad3601c5603119c24986e3bb0 | 1,364 | cpp | C++ | src/config/LaserConfig.cpp | isaiah-v/rgb-laser-controller | 641da5ceab3500432d5cba2cc6789fa635803494 | [
"Apache-2.0"
] | null | null | null | src/config/LaserConfig.cpp | isaiah-v/rgb-laser-controller | 641da5ceab3500432d5cba2cc6789fa635803494 | [
"Apache-2.0"
] | null | null | null | src/config/LaserConfig.cpp | isaiah-v/rgb-laser-controller | 641da5ceab3500432d5cba2cc6789fa635803494 | [
"Apache-2.0"
] | null | null | null | #include <Arduino.h>
#include <config/LaserConfig.h>
Pwm pwm = Pwm(PWM_DEFAULT_PERIOD);
PwmController pwmController = PwmController(
&pwm,
PWM_PIN_RED,
PWM_PIN_GREEN,
PWM_PIN_BLUE);
PwmTimerPotentiometerCallback timerPotentiometerCallback = PwmTimerPotentiometerCallback(PWM_PERIOD_MIN, PWM_PERIOD_MAX,... | 34.974359 | 127 | 0.82478 | isaiah-v |
5f9546f9a266b3fce0de657ba183711f056e1543 | 1,336 | cpp | C++ | Contributor Corner/Mercy/print bracket number/bracket.cpp | hitu1304/interview-corner | 97503d1967c646f731275ae3665f142814c6a9d7 | [
"MIT"
] | 39 | 2020-11-01T13:58:48.000Z | 2021-02-12T08:39:37.000Z | Contributor Corner/Mercy/print bracket number/bracket.cpp | hitu1304/interview-corner | 97503d1967c646f731275ae3665f142814c6a9d7 | [
"MIT"
] | 86 | 2020-09-25T07:20:40.000Z | 2021-02-18T20:36:29.000Z | Contributor Corner/Mercy/print bracket number/bracket.cpp | hitu1304/interview-corner | 97503d1967c646f731275ae3665f142814c6a9d7 | [
"MIT"
] | 43 | 2020-12-18T03:32:42.000Z | 2021-02-19T18:08:19.000Z | #include <bits/stdc++.h>
using namespace std;
// function to print the bracket number
void printBracketNumber(string exp, int n)
{
// used to print the bracket number
// for the left bracket
int left_bnum = 1;
// used to obtain the bracket number
// for the right bracket
... | 24.740741 | 60 | 0.480539 | hitu1304 |
5f963f2c5fc660202b0908998a06753987c7df51 | 3,465 | cpp | C++ | src/metafs/mim/meta_io_req_q.cpp | mjlee34/poseidonos | 8eff75c5ba7af8090d3ff4ac51d7507b37571f9b | [
"BSD-3-Clause"
] | null | null | null | src/metafs/mim/meta_io_req_q.cpp | mjlee34/poseidonos | 8eff75c5ba7af8090d3ff4ac51d7507b37571f9b | [
"BSD-3-Clause"
] | null | null | null | src/metafs/mim/meta_io_req_q.cpp | mjlee34/poseidonos | 8eff75c5ba7af8090d3ff4ac51d7507b37571f9b | [
"BSD-3-Clause"
] | null | null | null | /*
* BSD LICENSE
* Copyright (c) 2021 Samsung Electronics Corporation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain th... | 23.896552 | 83 | 0.674459 | mjlee34 |
5f98d36504125aa4f7d3690db1a51afc184288c4 | 6,406 | cpp | C++ | core/impl/file/file_obj_mesh.cpp | auyunli/enhance | ca99530c80b42842e713ed4b62e40d12e56ee24a | [
"BSD-2-Clause"
] | null | null | null | core/impl/file/file_obj_mesh.cpp | auyunli/enhance | ca99530c80b42842e713ed4b62e40d12e56ee24a | [
"BSD-2-Clause"
] | null | null | null | core/impl/file/file_obj_mesh.cpp | auyunli/enhance | ca99530c80b42842e713ed4b62e40d12e56ee24a | [
"BSD-2-Clause"
] | null | null | null | #include <fstream>
#include <string>
#include <sstream>
#include <iostream>
#include <vector>
#include <cmath>
#include <tuple>
#include <regex>
#include <cassert>
#include "file_obj_mesh.hpp"
#include "renderable_info.hpp"
renderable_info_tris file_obj_mesh::calc_renderable_info_tris( file_obj_mesh::data_mesh & dm ... | 35.787709 | 135 | 0.559319 | auyunli |
5f9910857c950cc9d8a1e909f4d25ada7ff99d84 | 1,311 | cpp | C++ | Sub-stringDivisibility.cpp | AlirezaKamyab/ProjectEuler | 7237d2813ec2fe851c77960e41cd2e8e1520bf9f | [
"MIT"
] | null | null | null | Sub-stringDivisibility.cpp | AlirezaKamyab/ProjectEuler | 7237d2813ec2fe851c77960e41cd2e8e1520bf9f | [
"MIT"
] | null | null | null | Sub-stringDivisibility.cpp | AlirezaKamyab/ProjectEuler | 7237d2813ec2fe851c77960e41cd2e8e1520bf9f | [
"MIT"
] | 1 | 2020-12-28T16:49:06.000Z | 2020-12-28T16:49:06.000Z | // This file is written by Alireza Kamyab 3/30/2021
// Solution to problem projecteuler.net/problem=43
#include <iostream>
#include <vector>
#include <algorithm>
#include <cinttypes>
using namespace std;
bool hasProperty(vector<int> arr);
int primeAfter(int number);
uint64_t convertVectorToNumber(vector<int> numbers);... | 20.809524 | 72 | 0.641495 | AlirezaKamyab |
5f9c022780dd09af3f0da56b54bbbd1bec455d9e | 31 | cpp | C++ | soplex/src/soplex/git_hash.cpp | avrech/scipoptsuite-6.0.2-avrech | bb4ef31b6e84ff7e1e65cee982acf150739cda86 | [
"MIT"
] | null | null | null | soplex/src/soplex/git_hash.cpp | avrech/scipoptsuite-6.0.2-avrech | bb4ef31b6e84ff7e1e65cee982acf150739cda86 | [
"MIT"
] | null | null | null | soplex/src/soplex/git_hash.cpp | avrech/scipoptsuite-6.0.2-avrech | bb4ef31b6e84ff7e1e65cee982acf150739cda86 | [
"MIT"
] | 1 | 2022-01-19T01:15:11.000Z | 2022-01-19T01:15:11.000Z | #define SPX_GITHASH "b8833cd3"
| 15.5 | 30 | 0.806452 | avrech |
5f9e63dab889a49fe82ceaa575f866b943cf2ae3 | 644 | hpp | C++ | higan/gb/cartridge/mbc3/mbc3.hpp | 13824125580/higan | fbdd3f980b65412c362096579869ae76730e4118 | [
"Intel",
"ISC"
] | 38 | 2018-04-05T05:00:05.000Z | 2022-02-06T00:02:02.000Z | higan/gb/cartridge/mbc3/mbc3.hpp | 13824125580/higan | fbdd3f980b65412c362096579869ae76730e4118 | [
"Intel",
"ISC"
] | 1 | 2018-04-29T19:45:14.000Z | 2018-04-29T19:45:14.000Z | higan/gb/cartridge/mbc3/mbc3.hpp | 13824125580/higan | fbdd3f980b65412c362096579869ae76730e4118 | [
"Intel",
"ISC"
] | 8 | 2018-04-16T22:37:46.000Z | 2021-02-10T07:37:03.000Z | struct MBC3 : Mapper {
auto second() -> void;
auto read(uint16 address) -> uint8;
auto write(uint16 address, uint8 data) -> void;
auto power() -> void;
auto serialize(serializer& s) -> void;
struct IO {
struct ROM {
uint8 bank = 0x01;
} rom;
struct RAM {
uint1 enable;
uint8 ba... | 18.941176 | 49 | 0.569876 | 13824125580 |
5fa14f0d066969b5eed836ed5f70579eebf75663 | 1,612 | cpp | C++ | src/BitmapReader.cpp | antenous/image | 7743a31d87bae1b76efdd4023f21d0f861093057 | [
"BSD-3-Clause"
] | null | null | null | src/BitmapReader.cpp | antenous/image | 7743a31d87bae1b76efdd4023f21d0f861093057 | [
"BSD-3-Clause"
] | null | null | null | src/BitmapReader.cpp | antenous/image | 7743a31d87bae1b76efdd4023f21d0f861093057 | [
"BSD-3-Clause"
] | null | null | null | /*
* BitmapReader.cpp
*
* Created on: Dec 17, 2017
* Author: Antero Nousiainen
*/
#include "BitmapReader.hpp"
using namespace image;
namespace
{
template<typename T>
void read(std::istream & stream, T & t, std::streamsize count = sizeof(T))
{
stream.read(reinterpret_cast<char*>(&t), co... | 22.082192 | 113 | 0.603598 | antenous |
5fa3d390d814fdc6c5f3be91a0f2cb7433526079 | 167,382 | cpp | C++ | src/magic/actmagic.cpp | PegasusEpsilon/Barony | 6311f7e5da4835eaea65a95b5cc258409bb0dfa4 | [
"FTL",
"Zlib",
"MIT"
] | 373 | 2016-06-28T06:56:46.000Z | 2022-03-23T02:32:54.000Z | src/magic/actmagic.cpp | PegasusEpsilon/Barony | 6311f7e5da4835eaea65a95b5cc258409bb0dfa4 | [
"FTL",
"Zlib",
"MIT"
] | 361 | 2016-07-06T19:09:25.000Z | 2022-03-26T14:14:19.000Z | src/magic/actmagic.cpp | PegasusEpsilon/Barony | 6311f7e5da4835eaea65a95b5cc258409bb0dfa4 | [
"FTL",
"Zlib",
"MIT"
] | 129 | 2016-06-29T09:02:49.000Z | 2022-01-23T09:56:06.000Z | /*-------------------------------------------------------------------------------
BARONY
File: actmagic.cpp
Desc: behavior function for magic balls
Copyright 2013-2016 (c) Turning Wheel LLC, all rights reserved.
See LICENSE for details.
---------------------------------------------------------------------------... | 29.783274 | 282 | 0.577248 | PegasusEpsilon |
5fa6c1fc9fd0f0600e4fc378eb3b90af03ed94e3 | 1,148 | cc | C++ | src/rpc/message_channel.cc | epfl-labos/POCC | 6d564356105db6fb5163f8bfa6469ae8ab04852d | [
"Apache-2.0"
] | 2 | 2019-04-12T07:07:18.000Z | 2020-08-06T12:37:23.000Z | src/rpc/message_channel.cc | epfl-labos/POCC | 6d564356105db6fb5163f8bfa6469ae8ab04852d | [
"Apache-2.0"
] | null | null | null | src/rpc/message_channel.cc | epfl-labos/POCC | 6d564356105db6fb5163f8bfa6469ae8ab04852d | [
"Apache-2.0"
] | null | null | null | /*
* POCC
*
* Copyright 2017 Operating Systems Laboratory EPFL
*
* 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... | 24.956522 | 75 | 0.705575 | epfl-labos |
5fbabb6d06829191d76a03b0657e53f2ef2c679f | 4,178 | cpp | C++ | Common/Parse.cpp | d0liver/realpolitik | 3aa6d7238f3eb77494637861813206295f44f6e0 | [
"Artistic-1.0"
] | null | null | null | Common/Parse.cpp | d0liver/realpolitik | 3aa6d7238f3eb77494637861813206295f44f6e0 | [
"Artistic-1.0"
] | null | null | null | Common/Parse.cpp | d0liver/realpolitik | 3aa6d7238f3eb77494637861813206295f44f6e0 | [
"Artistic-1.0"
] | null | null | null | //---------------------------------------------------------------------------------
// Copyright (C) 2001 James M. Van Verth
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the Clarified Artistic License.
// In addition, to meet copyright restrictions you must ... | 19.895238 | 84 | 0.497367 | d0liver |
5fbd26a426fe8d79e8aa012fd3079f39a924a940 | 6,259 | cpp | C++ | src/libraries/lagrangian/intermediate/clouds/Templates/KinematicCloud/cloudSolution/cloudSolution.cpp | MrAwesomeRocks/caelus-cml | 55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7 | [
"mpich2"
] | null | null | null | src/libraries/lagrangian/intermediate/clouds/Templates/KinematicCloud/cloudSolution/cloudSolution.cpp | MrAwesomeRocks/caelus-cml | 55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7 | [
"mpich2"
] | null | null | null | src/libraries/lagrangian/intermediate/clouds/Templates/KinematicCloud/cloudSolution/cloudSolution.cpp | MrAwesomeRocks/caelus-cml | 55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7 | [
"mpich2"
] | null | null | null | /*---------------------------------------------------------------------------*\
Copyright (C) 2011-2015 OpenFOAM Foundation
-------------------------------------------------------------------------------
License
This file is part of CAELUS.
CAELUS is free software: you can redistribute it and/or modify it
... | 25.546939 | 80 | 0.550407 | MrAwesomeRocks |
5fbd79ada3d0d2bc36c3c2ed324f781e626e4c5e | 2,069 | cpp | C++ | src/ext/transport/FastRTPS/FastRTPSTransport.cpp | r-kurose/OpenRTM-aist | 258c922c55a97c6d1265dbf45e1e8b2ea29b2d86 | [
"RSA-MD"
] | 15 | 2019-01-08T15:34:04.000Z | 2022-03-01T08:36:17.000Z | src/ext/transport/FastRTPS/FastRTPSTransport.cpp | r-kurose/OpenRTM-aist | 258c922c55a97c6d1265dbf45e1e8b2ea29b2d86 | [
"RSA-MD"
] | 448 | 2018-12-27T03:13:56.000Z | 2022-03-24T09:57:03.000Z | src/ext/transport/FastRTPS/FastRTPSTransport.cpp | r-kurose/OpenRTM-aist | 258c922c55a97c6d1265dbf45e1e8b2ea29b2d86 | [
"RSA-MD"
] | 31 | 2018-12-26T04:34:22.000Z | 2021-11-25T04:39:51.000Z | // -*- C++ -*-
/*!
* @file FastRTPSOutPort.cpp
* @brief FastRTPSOutPort class
* @date $Date: 2019-01-31 03:08:03 $
* @author Nobuhiko Miyamoto <n-miyamoto@aist.go.jp>
*
* Copyright (C) 2019
* Nobuhiko Miyamoto
* Robot Innovation Research Center,
* National Institute of
* Advanced Indust... | 21.778947 | 92 | 0.58144 | r-kurose |
5fbd9bb373456e797a3f5810c8838a8eb569a6ab | 3,955 | tpp | C++ | xolotl/core/include/xolotl/core/network/impl/NucleationReaction.tpp | ORNL-Fusion/xolotl | 993434bea0d3bca439a733a12af78034c911690c | [
"BSD-3-Clause"
] | 13 | 2018-06-13T18:08:57.000Z | 2021-09-30T02:39:01.000Z | xolotl/core/include/xolotl/core/network/impl/NucleationReaction.tpp | ORNL-Fusion/xolotl | 993434bea0d3bca439a733a12af78034c911690c | [
"BSD-3-Clause"
] | 97 | 2018-02-14T15:24:08.000Z | 2022-03-29T16:29:48.000Z | xolotl/core/include/xolotl/core/network/impl/NucleationReaction.tpp | ORNL-Fusion/xolotl | 993434bea0d3bca439a733a12af78034c911690c | [
"BSD-3-Clause"
] | 18 | 2018-02-13T20:36:03.000Z | 2022-01-04T14:54:16.000Z | #pragma once
namespace xolotl
{
namespace core
{
namespace network
{
template <typename TNetwork, typename TDerived>
KOKKOS_INLINE_FUNCTION
NucleationReaction<TNetwork, TDerived>::NucleationReaction(
ReactionDataRef reactionData, ClusterDataRef clusterData,
IndexType reactionId, IndexType cluster0, IndexType cluster... | 30.19084 | 75 | 0.786599 | ORNL-Fusion |
5fbffc8f4e6528e19ec06dd7271bb63304fe0285 | 504 | cpp | C++ | EU4toV2/Source/V2World/Output/outLeader.cpp | GregB76/EU4toVic2 | 0a8822101a36a16036fdc315e706d113d9231101 | [
"MIT"
] | 42 | 2018-12-22T03:59:43.000Z | 2022-02-03T10:45:42.000Z | EU4toV2/Source/V2World/Output/outLeader.cpp | IhateTrains/EU4toVic2 | 061f5e1a0bc1a1f3b54bdfe471b501260149b56b | [
"MIT"
] | 336 | 2018-12-22T17:15:27.000Z | 2022-03-02T11:19:32.000Z | EU4toV2/Source/V2World/Output/outLeader.cpp | klorpa/EU4toVic2 | e3068eb2aa459f884c1929f162d0047a4cb5f4d4 | [
"MIT"
] | 56 | 2018-12-22T19:13:23.000Z | 2022-01-01T23:08:53.000Z | #include "output.h"
std::ostream& V2::operator<<(std::ostream& output, const Leader& leader)
{
output << "leader = {\n";
output << "\tname=\"" << leader.name << "\"\n";
output << "\tdate=\"" << leader.activationDate << "\"\n";
if (leader.isLand)
{
output << "\ttype=land\n";
}
else
{
output << "\ttype=sea\n... | 21.913043 | 72 | 0.553571 | GregB76 |
5fc29ad14d6a097ca6f9bd00e680d43245b810a2 | 3,387 | cpp | C++ | capabilities/DavsClient/acsdkDavsClient/test/DavsEndpointHandlerV3Test.cpp | immortalkrazy/avs-device-sdk | 703b06188eae146af396f58be4e47442d7ce5b1e | [
"Apache-2.0"
] | 1 | 2018-07-09T16:44:28.000Z | 2018-07-09T16:44:28.000Z | capabilities/DavsClient/acsdkDavsClient/test/DavsEndpointHandlerV3Test.cpp | immortalkrazy/avs-device-sdk | 703b06188eae146af396f58be4e47442d7ce5b1e | [
"Apache-2.0"
] | null | null | null | capabilities/DavsClient/acsdkDavsClient/test/DavsEndpointHandlerV3Test.cpp | immortalkrazy/avs-device-sdk | 703b06188eae146af396f58be4e47442d7ce5b1e | [
"Apache-2.0"
] | 2 | 2019-02-05T23:42:48.000Z | 2020-03-01T11:11:30.000Z | /*
* Copyright Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0/
*
* or in the "license" f... | 45.77027 | 219 | 0.687924 | immortalkrazy |
5fc60f95819d5eb5ddbd3d505bc52540009782ec | 10,658 | cpp | C++ | pluginLite/sysutils.cpp | XULPlayer/XULPlayer-legacy | 1ab0ad2a196373d81d350bf45c03f690a0bfb8a2 | [
"MIT"
] | 3 | 2017-11-29T07:11:24.000Z | 2020-03-03T19:23:33.000Z | pluginLite/sysutils.cpp | XULPlayer/XULPlayer-legacy | 1ab0ad2a196373d81d350bf45c03f690a0bfb8a2 | [
"MIT"
] | null | null | null | pluginLite/sysutils.cpp | XULPlayer/XULPlayer-legacy | 1ab0ad2a196373d81d350bf45c03f690a0bfb8a2 | [
"MIT"
] | 1 | 2018-07-12T12:48:52.000Z | 2018-07-12T12:48:52.000Z | #include <windows.h>
#include <stdio.h>
#include <comdef.h> // for using bstr_t class
#include <vector>
#include <tchar.h>
#define SYSTEM_OBJECT_INDEX 2 // 'System' object
#define PROCESS_OBJECT_INDEX 230 // 'Process' object
#define PROCESSOR_OBJECT_INDEX 238 // 'Processor' object
#define TOTAL_PROCESSOR_... | 25.806295 | 122 | 0.693751 | XULPlayer |
5fc7c5022bb2cd702c6add7ffa1a3a2714535c8d | 15,209 | cpp | C++ | Merrymen/WeaponCS.cpp | Mertank/ToneArm | 40c62b0de89ac506bea6674e43578bf4e2631f93 | [
"Zlib",
"BSD-2-Clause"
] | null | null | null | Merrymen/WeaponCS.cpp | Mertank/ToneArm | 40c62b0de89ac506bea6674e43578bf4e2631f93 | [
"Zlib",
"BSD-2-Clause"
] | null | null | null | Merrymen/WeaponCS.cpp | Mertank/ToneArm | 40c62b0de89ac506bea6674e43578bf4e2631f93 | [
"Zlib",
"BSD-2-Clause"
] | null | null | null | /*
------------------------------------------------------------------------------------------
Copyright (c) 2014 Vinyl Games Studio
Author: Mikhail Kutuzov
Date: 5/15/2014 4:14:48 PM
------------------------------------------------------------------------------------------
*/
#include "WeaponC... | 27.062278 | 169 | 0.700243 | Mertank |
5fc99d00f17782788d3657d70f939615415347fe | 3,540 | cc | C++ | src/Video.cc | IntelLabs/vcl | eab97ef1e61a2e0578dc2e5c959522cbcacd4be4 | [
"MIT"
] | 5 | 2018-03-07T20:20:57.000Z | 2022-02-09T16:54:22.000Z | src/Video.cc | IntelLabs/vcl | eab97ef1e61a2e0578dc2e5c959522cbcacd4be4 | [
"MIT"
] | 9 | 2018-03-28T21:05:51.000Z | 2019-03-06T16:18:43.000Z | src/Video.cc | IntelLabs/vcl | eab97ef1e61a2e0578dc2e5c959522cbcacd4be4 | [
"MIT"
] | 5 | 2019-03-04T23:40:11.000Z | 2022-02-09T16:54:12.000Z | /**
* @file Video.cc
*
* @section LICENSE
*
* The MIT License
*
* @copyright Copyright (c) 2017 Intel Corporation
*
* 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 restri... | 21.454545 | 80 | 0.651412 | IntelLabs |
5fd39842abda1a0200ca32e1f96fef3c75824d1f | 10,470 | cc | C++ | wrspice/devlib/mos/mossetm.cc | wrcad/xictools | f46ba6d42801426739cc8b2940a809b74f1641e2 | [
"Apache-2.0"
] | 73 | 2017-10-26T12:40:24.000Z | 2022-03-02T16:59:43.000Z | wrspice/devlib/mos/mossetm.cc | chris-ayala/xictools | 4ea72c118679caed700dab3d49a8d36445acaec3 | [
"Apache-2.0"
] | 12 | 2017-11-01T10:18:22.000Z | 2022-03-20T19:35:36.000Z | wrspice/devlib/mos/mossetm.cc | chris-ayala/xictools | 4ea72c118679caed700dab3d49a8d36445acaec3 | [
"Apache-2.0"
] | 34 | 2017-10-06T17:04:21.000Z | 2022-02-18T16:22:03.000Z |
/*========================================================================*
* *
* Distributed by Whiteley Research Inc., Sunnyvale, California, USA *
* http://wrcad.com *
* Copyright (... | 35.979381 | 77 | 0.533715 | wrcad |
5fd4b2a3d3500877f0ea0aaad0d4f55e6984a839 | 260 | cpp | C++ | ALGORITHMS/Reccursion/Factorial/Factorial.cpp | anishsingh42/CodeChef | 50f5c0438516210895e513bc4ee959b9d99ef647 | [
"Apache-2.0"
] | 127 | 2020-10-13T18:04:35.000Z | 2022-02-17T10:56:27.000Z | ALGORITHMS/Reccursion/Factorial/Factorial.cpp | anishsingh42/CodeChef | 50f5c0438516210895e513bc4ee959b9d99ef647 | [
"Apache-2.0"
] | 132 | 2020-10-13T18:06:53.000Z | 2021-10-17T18:44:26.000Z | ALGORITHMS/Reccursion/Factorial/Factorial.cpp | anishsingh42/CodeChef | 50f5c0438516210895e513bc4ee959b9d99ef647 | [
"Apache-2.0"
] | 364 | 2020-10-13T18:04:52.000Z | 2022-03-04T14:34:53.000Z | #include <bits/stdc++.h>
using namespace std;
int factorial(int n) {
if (n > 1) n *= factorial(n - 1);
return n;
}
int main() {
int n;
cin >> n;
cout << factorial(n) << endl;
return 0;
}
// Complexity of the above program is O(n) | 13.684211 | 42 | 0.55 | anishsingh42 |
5fd4e83c4342a0a31ee949f1b9e89980fd360f03 | 11,966 | cpp | C++ | src/QtAudio/CiosAudio/CaDebug.cpp | Vladimir-Lin/QtAudio | 5c58e86cda1a88f03c4dde53883a979bec37b504 | [
"MIT"
] | null | null | null | src/QtAudio/CiosAudio/CaDebug.cpp | Vladimir-Lin/QtAudio | 5c58e86cda1a88f03c4dde53883a979bec37b504 | [
"MIT"
] | null | null | null | src/QtAudio/CiosAudio/CaDebug.cpp | Vladimir-Lin/QtAudio | 5c58e86cda1a88f03c4dde53883a979bec37b504 | [
"MIT"
] | null | null | null | /*****************************************************************************
* *
* CIOS Audio Core *
* *
* V... | 60.434343 | 120 | 0.272606 | Vladimir-Lin |
5fd8e47fafc7680ed6025cb53e04e83e34054558 | 478,011 | cpp | C++ | Sources/Elastos/LibCore/tests/bak/Namespace/R.cpp | jingcao80/Elastos | d0f39852356bdaf3a1234743b86364493a0441bc | [
"Apache-2.0"
] | 7 | 2017-07-13T10:34:54.000Z | 2021-04-16T05:40:35.000Z | Sources/Elastos/LibCore/tests/bak/Namespace/R.cpp | xiaoweiruby/Elastos.RT | 238e9b747f70fc129769ae7850def4362c43e443 | [
"Apache-2.0"
] | null | null | null | Sources/Elastos/LibCore/tests/bak/Namespace/R.cpp | xiaoweiruby/Elastos.RT | 238e9b747f70fc129769ae7850def4362c43e443 | [
"Apache-2.0"
] | 9 | 2017-07-13T12:33:20.000Z | 2021-06-19T02:46:48.000Z | #include "R.h"
namespace Elastos {
namespace Droid {
const int R::anim::accelerate_decelerate_interpolator=0x010a0004;
const int R::anim::accelerate_interpolator=0x010a0005;
const int R::anim::activity_close_enter=0x010a000d;
const int R::anim::activity_close_exit=0x010a000e;
const int R::anim::activity_open_enter=0x... | 51.107773 | 95 | 0.816339 | jingcao80 |
5fde1048e3ba09396e3eb85d31727a63a0b41224 | 5,841 | hh | C++ | cc/record.hh | skepner/dtra2 | 5aeeb66cd8e42217976ae0ad481dcc42549e6bf0 | [
"MIT"
] | null | null | null | cc/record.hh | skepner/dtra2 | 5aeeb66cd8e42217976ae0ad481dcc42549e6bf0 | [
"MIT"
] | null | null | null | cc/record.hh | skepner/dtra2 | 5aeeb66cd8e42217976ae0ad481dcc42549e6bf0 | [
"MIT"
] | null | null | null | #pragma once
#include <string>
#include "date.hh"
// ----------------------------------------------------------------------
namespace xlnt
{
class cell;
}
namespace dtra
{
inline namespace v2
{
class Directory;
// --------------------------------------------------
class Reco... | 54.588785 | 213 | 0.588255 | skepner |
5fe35e13763aab39c3aa3d34251ef07e01a67fae | 921 | cpp | C++ | HDUOJ/1020.cpp | Accelerator404/Algorithm-Demonstration | e40a499c23a56d363c743c76ac967d9c4247a4be | [
"Apache-2.0"
] | 1 | 2019-09-18T23:45:27.000Z | 2019-09-18T23:45:27.000Z | HDUOJ/1020.cpp | Accelerator404/Algorithm-Demonstration | e40a499c23a56d363c743c76ac967d9c4247a4be | [
"Apache-2.0"
] | null | null | null | HDUOJ/1020.cpp | Accelerator404/Algorithm-Demonstration | e40a499c23a56d363c743c76ac967d9c4247a4be | [
"Apache-2.0"
] | 1 | 2019-09-18T23:45:28.000Z | 2019-09-18T23:45:28.000Z | #include <iostream>
#include <cstdio>
#include <string>
#include <algorithm>
using namespace std;
//to_string要求C++11
int main()
{
int N;
cin >> N;
for(int i=1;i <= N;i++){
char target;
string input,output;
int count = 0;
cin >> input;
for(int j = 0;j < input.length(... | 20.931818 | 52 | 0.394137 | Accelerator404 |
5fea1034974be509fb893f4ef79ba7f60bff7ad6 | 1,739 | cpp | C++ | vstgui/tests/unittest/lib/cpoint_test.cpp | GizzZmo/vstgui | 477a3de78ecbcf25f52cce9ad49c5feb0b15ea9e | [
"BSD-3-Clause"
] | 205 | 2019-06-09T18:40:27.000Z | 2022-03-24T01:53:49.000Z | vstgui/tests/unittest/lib/cpoint_test.cpp | GizzZmo/vstgui | 477a3de78ecbcf25f52cce9ad49c5feb0b15ea9e | [
"BSD-3-Clause"
] | 11 | 2019-02-09T16:15:34.000Z | 2021-03-24T06:28:56.000Z | vstgui/tests/unittest/lib/cpoint_test.cpp | GizzZmo/vstgui | 477a3de78ecbcf25f52cce9ad49c5feb0b15ea9e | [
"BSD-3-Clause"
] | 30 | 2019-06-11T04:05:46.000Z | 2022-03-29T15:52:14.000Z | // This file is part of VSTGUI. It is subject to the license terms
// in the LICENSE file found in the top-level directory of this
// distribution and at http://github.com/steinbergmedia/vstgui/LICENSE
#include "../../../lib/cpoint.h"
#include "../unittests.h"
namespace VSTGUI {
TESTCASE(CPointTest,
TEST(unequal,... | 19.539326 | 70 | 0.565267 | GizzZmo |
5feb4e69c10ca0a874238cb07dbe30865b23f5dc | 658 | cpp | C++ | modules/augment/src/uniformnoise.cpp | FadyEssam/opencv_contrib | 8ebe2629ec7ae17338f6dc7acceada82151185ed | [
"BSD-3-Clause"
] | null | null | null | modules/augment/src/uniformnoise.cpp | FadyEssam/opencv_contrib | 8ebe2629ec7ae17338f6dc7acceada82151185ed | [
"BSD-3-Clause"
] | 1 | 2019-07-11T20:21:36.000Z | 2019-07-11T20:21:36.000Z | modules/augment/src/uniformnoise.cpp | FadyEssam/opencv_contrib | 8ebe2629ec7ae17338f6dc7acceada82151185ed | [
"BSD-3-Clause"
] | null | null | null | // This file is part of OpenCV project.
// It is subject to the license terms in the LICENSE file found in the top-level directory
// of this distribution and at http://opencv.org/license.html.
#include "precomp.hpp"
namespace cv { namespace augment {
UniformNoise::UniformNoise(float _low, float _high)
{
low = _low;... | 21.933333 | 90 | 0.711246 | FadyEssam |
5fedfe656a8f4eb606b3b48b506acf7b76af47db | 32,654 | cpp | C++ | src/main/cpp/driver/ps_ds4_controller.cpp | morrky89/PSMoveSteamVRBridge | 03d29b14d1738597523bd059d30736cb0d075d37 | [
"Apache-2.0"
] | 147 | 2017-03-28T21:32:25.000Z | 2022-01-03T14:43:58.000Z | src/main/cpp/driver/ps_ds4_controller.cpp | morrky89/PSMoveSteamVRBridge | 03d29b14d1738597523bd059d30736cb0d075d37 | [
"Apache-2.0"
] | 129 | 2017-04-01T20:34:52.000Z | 2021-04-06T07:34:49.000Z | src/main/cpp/driver/ps_ds4_controller.cpp | morrky89/PSMoveSteamVRBridge | 03d29b14d1738597523bd059d30736cb0d075d37 | [
"Apache-2.0"
] | 53 | 2017-03-29T19:31:40.000Z | 2022-03-13T11:38:23.000Z | #define _USE_MATH_DEFINES
#include "constants.h"
#include "server_driver.h"
#include "utils.h"
#include "settings_util.h"
#include "driver.h"
#include "facing_handsolver.h"
#include "ps_ds4_controller.h"
#include "trackable_device.h"
#include <assert.h>
namespace steamvrbridge {
// -- PSDualshock4ControllerConfig -... | 43.772118 | 155 | 0.784866 | morrky89 |
5feeb313522dbb912920abf6105287aa0f6676cb | 9,638 | cpp | C++ | FDTD/EncodeOutput.cpp | plisdku/trogdor6 | d77eb137dd0c03635c0016801ada54117697e521 | [
"MIT"
] | null | null | null | FDTD/EncodeOutput.cpp | plisdku/trogdor6 | d77eb137dd0c03635c0016801ada54117697e521 | [
"MIT"
] | null | null | null | FDTD/EncodeOutput.cpp | plisdku/trogdor6 | d77eb137dd0c03635c0016801ada54117697e521 | [
"MIT"
] | null | null | null | /*
* EncodeOutput.cpp
* Trogdor6
*
* Created by Paul Hansen on 3/23/11.
* Copyright 2011 Stanford University. All rights reserved.
*
* This file is covered by the MIT license. See LICENSE.txt.
*/
#include "EncodeOutput.h"
#include "SimulationDescription.h"
#include "VoxelizedPartition.h"
#include "opera... | 30.596825 | 88 | 0.630629 | plisdku |
5fef168528168f3c92178c86d0dad2e17cfd3203 | 746 | cpp | C++ | codechef/lapindrome.cpp | NIKU-SINGH/problemsolving | f7dd9d065a945a2f59e84580f926d35949ce3be2 | [
"MIT"
] | null | null | null | codechef/lapindrome.cpp | NIKU-SINGH/problemsolving | f7dd9d065a945a2f59e84580f926d35949ce3be2 | [
"MIT"
] | 1 | 2021-07-07T14:37:03.000Z | 2021-07-07T14:39:58.000Z | codechef/lapindrome.cpp | NIKU-SINGH/problemsolving | f7dd9d065a945a2f59e84580f926d35949ce3be2 | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int main() {
// your code goes here
int t;
cin>>t;
while(t--)
{
string str;
cin>>str;
int n = str.length();
int part1freq[26] ={0};
int part2freq[26]={0};
for(int i=0;i<n/2;i++)
{
part1fre... | 16.217391 | 44 | 0.349866 | NIKU-SINGH |
5ff14ce2f2ce439eda50895e17a1e0e0c322c16d | 773 | hpp | C++ | include/aikido/planner.hpp | personalrobotics/r3 | 1303e3f3ef99a0c2249abc7415d19113f0026565 | [
"BSD-3-Clause"
] | 181 | 2016-04-22T15:11:23.000Z | 2022-03-26T12:51:08.000Z | include/aikido/planner.hpp | personalrobotics/r3 | 1303e3f3ef99a0c2249abc7415d19113f0026565 | [
"BSD-3-Clause"
] | 514 | 2016-04-20T04:29:51.000Z | 2022-02-10T19:46:21.000Z | include/aikido/planner.hpp | personalrobotics/r3 | 1303e3f3ef99a0c2249abc7415d19113f0026565 | [
"BSD-3-Clause"
] | 31 | 2017-03-17T09:53:02.000Z | 2022-03-23T10:35:05.000Z | #include "aikido/planner/PlanningResult.hpp"
#include "aikido/planner/SnapPlanner.hpp"
#include "aikido/planner/TrajectoryPostProcessor.hpp"
#include "aikido/planner/World.hpp"
#include "aikido/planner/ompl/BackwardCompatibility.hpp"
#include "aikido/planner/ompl/CRRT.hpp"
#include "aikido/planner/ompl/CRRTConnect.hpp"... | 45.470588 | 57 | 0.818887 | personalrobotics |
5ff9f69ce234ca1b3fd89957e617a022c9b3ee36 | 2,747 | hpp | C++ | R2017b/extern/include/multimedia/AudioDefs.hpp | catou93/pelican_test | 23de9722c431fa0caa3c68d038de9423cfcdda80 | [
"BSD-2-Clause"
] | 5 | 2018-11-21T11:52:49.000Z | 2021-04-14T03:13:31.000Z | R2017b/extern/include/multimedia/AudioDefs.hpp | catou93/pelican_test | 23de9722c431fa0caa3c68d038de9423cfcdda80 | [
"BSD-2-Clause"
] | 3 | 2018-08-24T03:12:36.000Z | 2019-09-29T06:21:32.000Z | R2017b/extern/include/multimedia/AudioDefs.hpp | catou93/pelican_test | 23de9722c431fa0caa3c68d038de9423cfcdda80 | [
"BSD-2-Clause"
] | 4 | 2018-08-10T07:02:30.000Z | 2022-03-09T07:20:16.000Z | /*
* AudioDefs.h - Definitions for audio I/O
*
* Copyright 1995-2012 The MathWorks, Inc.
*/
#ifndef AUDIODEFS_H
#define AUDIODEFS_H
/* these follow Simulink data types, in simstruc_types.h */
typedef enum
{
AudioDataType_Double = 0, /* double */
AudioDataType_Single, /* float */... | 30.865169 | 102 | 0.649072 | catou93 |
5ffb6add8895c91cfa81e7e0f06f13ade6048f8a | 2,942 | cpp | C++ | source/internal/logger.cpp | HeliosInteractive/libkeen | f31246c2f0a705b9f1c25e4400d96a62408c37e6 | [
"MIT"
] | 1 | 2016-04-26T04:16:55.000Z | 2016-04-26T04:16:55.000Z | source/internal/logger.cpp | HeliosInteractive/libkeen | f31246c2f0a705b9f1c25e4400d96a62408c37e6 | [
"MIT"
] | null | null | null | source/internal/logger.cpp | HeliosInteractive/libkeen | f31246c2f0a705b9f1c25e4400d96a62408c37e6 | [
"MIT"
] | 2 | 2016-04-14T16:57:03.000Z | 2020-02-21T00:17:48.000Z | #include "internal/logger.hpp"
#include <iostream>
#include <fstream>
#include <iomanip>
#include <chrono>
#include <ctime>
// by default turn on both file and console
// logging behaviors.
#ifndef LIBKEEN_LOG_TO_CONSOLE
# define LIBKEEN_LOG_TO_CONSOLE 1
#endif
#ifndef LIBKEEN_LOG_TO_LOGFILE
# define LIBKEEN_LO... | 22.120301 | 95 | 0.633583 | HeliosInteractive |
5ffc113e32897d21acdfb1256f6c36cb28d1b377 | 4,297 | cpp | C++ | Project/AudioManager.cpp | OiCGame/GameJam01 | 7860098d235678cbe32215c733366d4fb973ea5e | [
"MIT"
] | null | null | null | Project/AudioManager.cpp | OiCGame/GameJam01 | 7860098d235678cbe32215c733366d4fb973ea5e | [
"MIT"
] | null | null | null | Project/AudioManager.cpp | OiCGame/GameJam01 | 7860098d235678cbe32215c733366d4fb973ea5e | [
"MIT"
] | null | null | null | #include "AudioManager.h"
CAudioManager::CAudioManager() {
}
CAudioManager::~CAudioManager() {
}
CAudioManager& CAudioManager::Singleton(void) {
static CAudioManager obj;
return obj;
}
void CAudioManager::Play(SoundBufferKey key) {
auto temp = SoundBufferAsset(key);
auto it = std::find(m_pSounds.be... | 30.475177 | 92 | 0.695136 | OiCGame |
5ffca5a8fee1bfe85e677a558fb668dc73292ed0 | 472 | cpp | C++ | array/sumofallsubarray.cpp | riti2409/forplacements | 9e8fb99c9d65b04eea71abb3fbdcffc2a1433a04 | [
"MIT"
] | 5 | 2021-12-03T14:29:16.000Z | 2022-02-04T09:06:37.000Z | array/sumofallsubarray.cpp | riti2409/forplacements | 9e8fb99c9d65b04eea71abb3fbdcffc2a1433a04 | [
"MIT"
] | null | null | null | array/sumofallsubarray.cpp | riti2409/forplacements | 9e8fb99c9d65b04eea71abb3fbdcffc2a1433a04 | [
"MIT"
] | 2 | 2022-01-16T14:20:42.000Z | 2022-01-17T06:49:01.000Z | //5
// 1 2 0 7 2
//o/p-> 1,3,3,10,12,2,2,9,11,0,7,9,7,9,2,
#include <bits/stdc++.h>
using namespace std;
int main()
{
int n;
cin >> n;
int arr[n];
for (int i = 0; i < n; i++)
{
cin >> arr[i];
}
int currsum=0;
for (int i = 0; i < n; i++)
{
currs... | 14.30303 | 42 | 0.358051 | riti2409 |
5fff380e5006a8672a31e48f8f2f7a1f46761144 | 1,689 | cpp | C++ | ipc2/ipc2.cpp | Elexir-Stefan/ray-usermode | 9a1c7d773496493482cf2e711fe1808b537db63a | [
"MIT"
] | null | null | null | ipc2/ipc2.cpp | Elexir-Stefan/ray-usermode | 9a1c7d773496493482cf2e711fe1808b537db63a | [
"MIT"
] | null | null | null | ipc2/ipc2.cpp | Elexir-Stefan/ray-usermode | 9a1c7d773496493482cf2e711fe1808b537db63a | [
"MIT"
] | null | null | null | #include <raykernel.h>
#include <exception>
#include <video/VideoStream.h>
#include <processes/processes.h>
#include <ipc/ipc.h>
#include <sstream>
using namespace Kernel;
using namespace Kernel::IPC;
using namespace Kernel::Processes;
/**
* TestFunction used as callback
*/
int TestFunction(int arg2, float arg3)
{
... | 19.870588 | 97 | 0.6791 | Elexir-Stefan |
2700c4b0db0f1c1293d72965144c99c28dd89578 | 1,540 | cpp | C++ | Accepted_The 2000's ACM-ICPC/P2783 (Robots).cpp | peneksglazami/acm-icpc-training | a3c41b65b8f8523713f9859b076f300a12c4e7f3 | [
"CC0-1.0"
] | null | null | null | Accepted_The 2000's ACM-ICPC/P2783 (Robots).cpp | peneksglazami/acm-icpc-training | a3c41b65b8f8523713f9859b076f300a12c4e7f3 | [
"CC0-1.0"
] | null | null | null | Accepted_The 2000's ACM-ICPC/P2783 (Robots).cpp | peneksglazami/acm-icpc-training | a3c41b65b8f8523713f9859b076f300a12c4e7f3 | [
"CC0-1.0"
] | null | null | null | /***************************************************
Problem: 2783 - Robots
ACM ICPC - North America - Mid Central - 2003/2004
Solved by Andrey Grigorov
***************************************************/
#include <stdio.h>
#include <vector>
#include <queue>
using namespace std;
typedef struct{
int ... | 24.83871 | 78 | 0.380519 | peneksglazami |
dfd6b713f18b58b836b96f6fc5f669da6bc435ff | 517 | cpp | C++ | cpp/data/grid.cpp | equivalence1/ml_lib | 92d75ab73bc2d77ba8fa66022c803c06cad66f21 | [
"Apache-2.0"
] | null | null | null | cpp/data/grid.cpp | equivalence1/ml_lib | 92d75ab73bc2d77ba8fa66022c803c06cad66f21 | [
"Apache-2.0"
] | null | null | null | cpp/data/grid.cpp | equivalence1/ml_lib | 92d75ab73bc2d77ba8fa66022c803c06cad66f21 | [
"Apache-2.0"
] | null | null | null | #include "grid.h"
void Grid::binarize(ConstVecRef<float> row, VecRef<uint8_t> dst) const {
for (int64_t f = 0; f < features_.size(); ++f) {
dst[f] = computeBin(row[origFeatureIndex(f)], borders_[f]);
}
}
void Grid::binarize(const Vec& x, Buffer<uint8_t>& to) const {
assert(x.device().deviceType()... | 28.722222 | 72 | 0.644101 | equivalence1 |
dfd8d1e701891eb5373cf737aa8c8970666e3637 | 699 | cpp | C++ | Luogu/luogu4317.cpp | wzl19371/OI-LIfe | f7f54542d1369b5e4047fcbb2e26c1c64d22ee26 | [
"MIT"
] | 1 | 2020-10-05T02:07:52.000Z | 2020-10-05T02:07:52.000Z | Luogu/luogu4317.cpp | wzl19371/OI-LIfe | f7f54542d1369b5e4047fcbb2e26c1c64d22ee26 | [
"MIT"
] | null | null | null | Luogu/luogu4317.cpp | wzl19371/OI-LIfe | f7f54542d1369b5e4047fcbb2e26c1c64d22ee26 | [
"MIT"
] | null | null | null | #include <cstdio>
using namespace std;
typedef long long ll;
const ll p=10000007;
ll n,f[107][107],t[107];
ll qpow(ll x,ll y){
ll ans=1;
while(y){
if(y&1) ans=ans*x%p;
x=x*x%p; y>>=1;
}
return ans;
}
ll dp(int n,int m){
if(m>n||!n||m<0) return 0;
if(f[n][m]) return f[n][m];
if(n==m||!m) retur... | 19.416667 | 57 | 0.492132 | wzl19371 |
dfdbd34f1489377b3c0d503948724cef06abae30 | 389 | cpp | C++ | Competitive Programming/part_02/deque.cpp | l0rdluc1f3r/CppCompetitiveProgramming | 71376b5a6182dc446811072c73a2b13f33110d4c | [
"Apache-2.0"
] | 1 | 2022-03-24T06:38:53.000Z | 2022-03-24T06:38:53.000Z | Competitive Programming/part_02/deque.cpp | l0rdluc1f3r/CppCompetitiveProgramming | 71376b5a6182dc446811072c73a2b13f33110d4c | [
"Apache-2.0"
] | null | null | null | Competitive Programming/part_02/deque.cpp | l0rdluc1f3r/CppCompetitiveProgramming | 71376b5a6182dc446811072c73a2b13f33110d4c | [
"Apache-2.0"
] | null | null | null | #include <bits/stdc++.h>
int main(){
std::deque<int> d1;
std::deque<int> d2(5, 10);
std::deque<int> d3(d2);
std::deque<int> d4(d2.begin(), d2.end());
int arr[] = {1,2,3,4,5};
std::deque<int> d5(arr, arr+5);
for(auto &el : d5){
std::cout<<el<<" ";
}
if(d5.empty()){
std::cout<<"Oh No";
}
d1.push_back(10)... | 18.52381 | 42 | 0.573265 | l0rdluc1f3r |
dfdd67d54ff9a7d7661d3955809d73d17cbbd4ba | 54,704 | cxx | C++ | ds/ds/src/ldap/client/bind.cxx | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | ds/ds/src/ldap/client/bind.cxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | ds/ds/src/ldap/client/bind.cxx | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | /*++
Copyright (c) 1996 Microsoft Corporation
Module Name:
bind.c send a bind to an LDAP server
Abstract:
This module implements the LDAP ldap_bind API.
Author:
Andy Herron (andyhe) 08-May-1996
Anoop Anantha (AnoopA) 24-Jun-1998
Revision History:
--*/
... | 31.511521 | 142 | 0.464993 | npocmaka |
dfe7a9aee06726f7894b1bed816b96427f5c00d0 | 686 | cxx | C++ | templates/initmodule.cxx | lukeolson/crappy | fdd9449f7976e2a4e678db06e1b8d1a8bfef4e84 | [
"BSD-3-Clause"
] | null | null | null | templates/initmodule.cxx | lukeolson/crappy | fdd9449f7976e2a4e678db06e1b8d1a8bfef4e84 | [
"BSD-3-Clause"
] | null | null | null | templates/initmodule.cxx | lukeolson/crappy | fdd9449f7976e2a4e678db06e1b8d1a8bfef4e84 | [
"BSD-3-Clause"
] | null | null | null | #include <Python.h>
#include "crappy.h"
extern "C" {
#include "crappy_impl.h"
static char crappy_doc[] = "Docstring for crappy.";
#if PY_VERSION_HEX >= 0x03000000
static struct PyModuleDef moduledef = {
PyModuleDef_HEAD_INIT,
"crappy",
NULL,
-1,
crappy_methods,
NULL,
NULL,
NULL,
... | 16.333333 | 61 | 0.639942 | lukeolson |
dfea84a2adab64773bce92477019e19b41ecd308 | 509 | cpp | C++ | source/jz28.cpp | loganautomata/leetcode | 5a626c91f271bae231328c92a3be23eba227f66e | [
"MIT"
] | null | null | null | source/jz28.cpp | loganautomata/leetcode | 5a626c91f271bae231328c92a3be23eba227f66e | [
"MIT"
] | null | null | null | source/jz28.cpp | loganautomata/leetcode | 5a626c91f271bae231328c92a3be23eba227f66e | [
"MIT"
] | null | null | null | #include "jz28.h"
using namespace std;
bool Jz28::IsMirror(TreeNode* left, TreeNode* right)
{
if(left == nullptr && right == nullptr) return true;
else if (left == nullptr || right == nullptr || left->val != right->val) return false; // 迭代终止条件, 遍历完至少一颗树, 或者发现两颗树不是镜像.
return IsMirror(left->right, right->l... | 26.789474 | 124 | 0.664047 | loganautomata |
dfeb53f30e17721692806e323e06477af45bafd9 | 19,834 | cpp | C++ | Source/Samples/79_NonoVG/NonoVG.cpp | elix22/Urho3D | 99902ae2a867be0d6dbe4c575f9c8c318805ec64 | [
"MIT"
] | 20 | 2019-04-18T07:37:34.000Z | 2022-02-02T21:43:47.000Z | Source/Samples/79_NonoVG/NonoVG.cpp | elix22/Urho3D | 99902ae2a867be0d6dbe4c575f9c8c318805ec64 | [
"MIT"
] | 11 | 2019-10-21T13:39:41.000Z | 2021-11-05T08:11:54.000Z | Source/Samples/79_NonoVG/NonoVG.cpp | elix22/Urho3D | 99902ae2a867be0d6dbe4c575f9c8c318805ec64 | [
"MIT"
] | 1 | 2021-12-03T18:11:36.000Z | 2021-12-03T18:11:36.000Z | //
// Copyright (c) 2008-2021 the Urho3D project.
//
// 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... | 38.289575 | 120 | 0.680851 | elix22 |
dfeb8c9b4d6274e1a67b7fc3a1f69d5c8e66fb53 | 9,288 | cc | C++ | google/cloud/baremetalsolution/bare_metal_solution_connection.cc | GoogleCloudPlatform/google-cloud-cpp | c4fc35de9e15f95b1dbf585f1c96de5dba609e2b | [
"Apache-2.0"
] | 80 | 2017-11-24T00:19:45.000Z | 2019-01-25T10:24:33.000Z | google/cloud/baremetalsolution/bare_metal_solution_connection.cc | GoogleCloudPlatform/google-cloud-cpp | c4fc35de9e15f95b1dbf585f1c96de5dba609e2b | [
"Apache-2.0"
] | 1,579 | 2017-11-24T01:01:21.000Z | 2019-01-28T23:41:21.000Z | google/cloud/baremetalsolution/bare_metal_solution_connection.cc | GoogleCloudPlatform/google-cloud-cpp | c4fc35de9e15f95b1dbf585f1c96de5dba609e2b | [
"Apache-2.0"
] | 51 | 2017-11-24T00:56:11.000Z | 2019-01-18T20:35:02.000Z | // Copyright 2022 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | 43 | 94 | 0.778208 | GoogleCloudPlatform |
dfeec959a6ac004088e326a95d987644c70b9f92 | 514 | cpp | C++ | 2014/node.cpp | Yww729604/XidianCodeTest | bf99657fc58718f1edd2e91291420ee5e2c58d21 | [
"MIT"
] | 1 | 2022-02-05T16:37:13.000Z | 2022-02-05T16:37:13.000Z | 2014/node.cpp | Yww729604/XidianCodeTest | bf99657fc58718f1edd2e91291420ee5e2c58d21 | [
"MIT"
] | null | null | null | 2014/node.cpp | Yww729604/XidianCodeTest | bf99657fc58718f1edd2e91291420ee5e2c58d21 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
typedef struct node
{
int data;
string s;
string t;
struct node *next;
}*linkList;
void init(linkList &l)
{
int d;
while(cin>>d)
{
linkList tempNode = (linkList)malloc(sizeof(struct node));
tempNode->data = d;
tempNode->next = l;
l = tempNode;
}
}
void p... | 12.536585 | 60 | 0.61284 | Yww729604 |
dff59b9ba2b8df0fac9d4e7cb4fa9a32b92fe8b2 | 12,610 | cpp | C++ | cplusplus/level1_single_api/4_op_dev/1_custom_op/framework/tf_scope_fusion_pass/decode_bbox_v2_multi_pass.cpp | Dedederek/samples | 31d99de20af2f7046556e0f48c4b789b99e422f8 | [
"Apache-2.0"
] | 25 | 2020-11-20T09:01:35.000Z | 2022-03-29T10:35:38.000Z | cplusplus/level1_single_api/4_op_dev/1_custom_op/framework/tf_scope_fusion_pass/decode_bbox_v2_multi_pass.cpp | Dedederek/samples | 31d99de20af2f7046556e0f48c4b789b99e422f8 | [
"Apache-2.0"
] | 5 | 2021-02-28T20:49:37.000Z | 2022-03-04T21:50:27.000Z | cplusplus/level1_single_api/4_op_dev/1_custom_op/framework/tf_scope_fusion_pass/decode_bbox_v2_multi_pass.cpp | Dedederek/samples | 31d99de20af2f7046556e0f48c4b789b99e422f8 | [
"Apache-2.0"
] | 16 | 2020-12-06T07:26:13.000Z | 2022-03-01T07:51:55.000Z | /* Copyright (C) 2019. Huawei Technologies Co., Ltd. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the Apache License Version 2.0.
* You may not use this file except in compliance with the License.
*
* This program is distributed in the hope ... | 46.021898 | 120 | 0.589215 | Dedederek |
dffd810adde01422c379df331b7e6794ae00f53a | 292 | hpp | C++ | fw/include/fw/BasicEffect.hpp | sienkiewiczkm/framework | 9940403404aa5c67186fe09b0910de3a6c8e9762 | [
"MIT"
] | null | null | null | fw/include/fw/BasicEffect.hpp | sienkiewiczkm/framework | 9940403404aa5c67186fe09b0910de3a6c8e9762 | [
"MIT"
] | 9 | 2016-12-09T13:02:18.000Z | 2019-09-13T09:29:18.000Z | fw/include/fw/BasicEffect.hpp | sienkiewiczkm/framework | 9940403404aa5c67186fe09b0910de3a6c8e9762 | [
"MIT"
] | null | null | null | #pragma once
#include "Effect.hpp"
namespace fw
{
class BasicEffect:
public EffectBase
{
public:
BasicEffect();
virtual ~BasicEffect();
void create();
virtual void destroy();
virtual void begin();
virtual void end();
protected:
void createShaders();
};
}
| 12.166667 | 27 | 0.643836 | sienkiewiczkm |
dffef375e236877eca4d7bcfdbbc268ffc6ea653 | 4,319 | cpp | C++ | nTA/Source/igui_BuildButton.cpp | loganjones/nTA-Total-Annihilation-Clone | d7d0e4d33f1d452d17cf2fed2b2bcb7f6d7d4d14 | [
"MIT"
] | 2 | 2020-05-09T20:50:12.000Z | 2021-06-20T08:34:58.000Z | nTA/Source/igui_BuildButton.cpp | loganjones/nTA-Total-Annihilation-Clone | d7d0e4d33f1d452d17cf2fed2b2bcb7f6d7d4d14 | [
"MIT"
] | null | null | null | nTA/Source/igui_BuildButton.cpp | loganjones/nTA-Total-Annihilation-Clone | d7d0e4d33f1d452d17cf2fed2b2bcb7f6d7d4d14 | [
"MIT"
] | 2 | 2018-01-08T00:12:04.000Z | 2020-06-14T10:56:50.000Z | // igui_BuildButton.cpp // \author Logan Jones
///////////////////////// \date 4/25/2002
/// \file
/// \brief ...
/////////////////////////////////////////////////////////////////////
#include "igui.h"
#include "igui_BuildButton.h"
#include "game.h"
#include... | 37.556522 | 114 | 0.447094 | loganjones |
5f06d2639771912de5fc88bf84cdb7629ab6a5ff | 471 | hpp | C++ | Proftaak2.4/AudioComponent.hpp | rubenwo/Proftaak2.4 | c3231883cd2cd961fa1db5a27af65f36e8f3daa8 | [
"MIT"
] | null | null | null | Proftaak2.4/AudioComponent.hpp | rubenwo/Proftaak2.4 | c3231883cd2cd961fa1db5a27af65f36e8f3daa8 | [
"MIT"
] | null | null | null | Proftaak2.4/AudioComponent.hpp | rubenwo/Proftaak2.4 | c3231883cd2cd961fa1db5a27af65f36e8f3daa8 | [
"MIT"
] | null | null | null | #ifndef AUDIO_COMPONENT_HPP
#define AUDIO_COMPONENT_HPP
#include "Component.h"
#include <string>
#include "SoundPlayer.hpp"
class AudioComponent : public Component
{
public:
AudioComponent(const SoundID& soundID);
~AudioComponent();
virtual void update(float elapsedTime) override;
void playAudio(bo... | 20.478261 | 50 | 0.740977 | rubenwo |
5f0b0bee274cc3e652992befca93a04e990ea2c6 | 18,825 | cpp | C++ | samples/Hello/third-party/fuzzylite/fuzzylite/src/rule/Antecedent.cpp | okocsis/ios-cmake | ca61d83725bc5b1a755928f4592badbd9a8b37f4 | [
"BSD-3-Clause"
] | null | null | null | samples/Hello/third-party/fuzzylite/fuzzylite/src/rule/Antecedent.cpp | okocsis/ios-cmake | ca61d83725bc5b1a755928f4592badbd9a8b37f4 | [
"BSD-3-Clause"
] | null | null | null | samples/Hello/third-party/fuzzylite/fuzzylite/src/rule/Antecedent.cpp | okocsis/ios-cmake | ca61d83725bc5b1a755928f4592badbd9a8b37f4 | [
"BSD-3-Clause"
] | null | null | null | /*
fuzzylite (R), a fuzzy logic control library in C++.
Copyright (C) 2010-2017 FuzzyLite Limited. All rights reserved.
Author: Juan Rada-Vilela, Ph.D. <jcrada@fuzzylite.com>
This file is part of fuzzylite.
fuzzylite is free software: you can redistribute it and/or modify it under
the terms of the FuzzyLite Lic... | 42.020089 | 130 | 0.511766 | okocsis |
5f0b11c4cd68c112a699f2ce03244a5e7c0a8e3a | 2,075 | cpp | C++ | cmd/qc.cpp | cbutakoff/DSI-Studio | d77dffa4526d66da421fa84f7187e85bca6bce7c | [
"BSD-3-Clause"
] | null | null | null | cmd/qc.cpp | cbutakoff/DSI-Studio | d77dffa4526d66da421fa84f7187e85bca6bce7c | [
"BSD-3-Clause"
] | null | null | null | cmd/qc.cpp | cbutakoff/DSI-Studio | d77dffa4526d66da421fa84f7187e85bca6bce7c | [
"BSD-3-Clause"
] | null | null | null | #include <QString>
#include <QStringList>
#include <QFileInfo>
#include "program_option.hpp"
#include "libs/dsi/image_model.hpp"
QStringList search_files(QString dir,QString filter);
std::string quality_check_src_files(QString dir)
{
std::ostringstream out;
QStringList filenames = search_files(dir,"*.src.gz"... | 30.514706 | 134 | 0.595663 | cbutakoff |
5f0e3f2dd7ee0392eb3e547e9dc2ff6d8748df75 | 1,193 | hpp | C++ | tooling/data/prefix_splitter.hpp | victorlaurentiu/tsmp | 5391ffb488d7db9555405965ede5c63800fbb71f | [
"MIT"
] | 23 | 2021-10-30T09:32:58.000Z | 2022-01-23T19:39:26.000Z | tooling/data/prefix_splitter.hpp | victorlaurentiu/tsmp | 5391ffb488d7db9555405965ede5c63800fbb71f | [
"MIT"
] | null | null | null | tooling/data/prefix_splitter.hpp | victorlaurentiu/tsmp | 5391ffb488d7db9555405965ede5c63800fbb71f | [
"MIT"
] | 4 | 2021-10-31T13:05:29.000Z | 2021-11-27T03:18:48.000Z | #pragma once
#include "types.hpp"
#include <fmt/core.h>
#include <fmt/ranges.h>
#include <algorithm>
#include <iterator>
namespace data {
class prefix_splitter_t {
public:
prefix_splitter_t(const std::vector<record_decl_t>& records = {}, std::vector<std::string> trivial_types = {});
void add_record(record_de... | 31.394737 | 115 | 0.736798 | victorlaurentiu |
5f10a140d8b55a3b61668b65754fdce6601f3d16 | 2,058 | hpp | C++ | include/shadertoy/pre.hpp | vtavernier/libshadertoy | a0b2a133199383cc7e9bcb3c0300f39eb95177c0 | [
"MIT"
] | 2 | 2020-02-23T09:33:07.000Z | 2021-11-15T18:23:13.000Z | include/shadertoy/pre.hpp | vtavernier/libshadertoy | a0b2a133199383cc7e9bcb3c0300f39eb95177c0 | [
"MIT"
] | 2 | 2019-08-09T15:48:07.000Z | 2020-11-16T13:51:56.000Z | include/shadertoy/pre.hpp | vtavernier/libshadertoy | a0b2a133199383cc7e9bcb3c0300f39eb95177c0 | [
"MIT"
] | 3 | 2019-12-12T09:42:34.000Z | 2020-12-14T03:56:30.000Z | #ifndef _SHADERTOY_PRE_HPP_
#define _SHADERTOY_PRE_HPP_
#include "shadertoy/shadertoy_export.h"
/// Base namespace for libshadertoy
namespace shadertoy
{
/// Definition of rendering buffers
namespace buffers
{
struct buffer_output;
class basic_buffer;
class program_buffer;
class toy_buffer;
}
/// Shader... | 17.294118 | 44 | 0.76725 | vtavernier |
5f126bb8b7c978139132b0742118e7df3dc353d8 | 71 | cc | C++ | logs/doc/02_window.cc | chanchann/Burger_client | 548753124b563123a479f3e3a5a42f792001d673 | [
"MIT"
] | null | null | null | logs/doc/02_window.cc | chanchann/Burger_client | 548753124b563123a479f3e3a5a42f792001d673 | [
"MIT"
] | null | null | null | logs/doc/02_window.cc | chanchann/Burger_client | 548753124b563123a479f3e3a5a42f792001d673 | [
"MIT"
] | null | null | null | /**
* https://blog.csdn.net/Zhanganliu/article/details/79927310
*
*/ | 17.75 | 60 | 0.676056 | chanchann |
5f13923f795cc5a51afee898d5e4b906cd968f74 | 3,048 | cpp | C++ | src/target_new_source.cpp | folkertvanheusden/constatus | 7b0c42a5017bf96afcb0f34c0d4987bdc40ef2e6 | [
"Apache-2.0"
] | 5 | 2021-07-15T11:39:25.000Z | 2022-02-25T06:14:58.000Z | src/target_new_source.cpp | folkertvanheusden/constatus | 7b0c42a5017bf96afcb0f34c0d4987bdc40ef2e6 | [
"Apache-2.0"
] | 2 | 2021-09-27T11:13:42.000Z | 2021-10-10T01:02:39.000Z | src/target_new_source.cpp | folkertvanheusden/constatus | 7b0c42a5017bf96afcb0f34c0d4987bdc40ef2e6 | [
"Apache-2.0"
] | 2 | 2021-06-11T09:19:47.000Z | 2022-02-18T22:22:01.000Z | // (C) 2017-2021 by folkert van heusden, released under Apache License v2.0
#include "config.h"
#include <unistd.h>
#include "target_new_source.h"
#include "error.h"
#include "exec.h"
#include "log.h"
#include "picio.h"
#include "utils.h"
#include "controls.h"
#include "source.h"
#include "view.h"
#include "filter.h"
... | 24.983607 | 463 | 0.60794 | folkertvanheusden |
5f1a72bb9a4c910ddbe4a97a8b109b5681b1f070 | 4,044 | cpp | C++ | projector_fun/data/metaballs.cpp | mflagel/asdf_multiplat | 9ef5a87b9ea9e38a7c6d409a60a1b8c5dce4b015 | [
"MIT"
] | null | null | null | projector_fun/data/metaballs.cpp | mflagel/asdf_multiplat | 9ef5a87b9ea9e38a7c6d409a60a1b8c5dce4b015 | [
"MIT"
] | null | null | null | projector_fun/data/metaballs.cpp | mflagel/asdf_multiplat | 9ef5a87b9ea9e38a7c6d409a60a1b8c5dce4b015 | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "metaballs.h"
using namespace std;
using namespace glm;
namespace asdf
{
namespace projector_fun
{
metaballs_t::metaballs_t()
{
balls.reserve(5);
balls.push_back(metaball_t{vec3{0.0f, 0.0f, 0.0f}, 50.0f});
balls.push_back(metaball_t{vec3{-100.0f, 100.0f, 0... | 32.095238 | 130 | 0.560584 | mflagel |
5f1c68e8389253e45e3b6f1c21c2eb39ea14d50d | 6,349 | cpp | C++ | Products/Common/sxml_print.cpp | TrevorDArcyEvans/DivingMagpieSoftware | 7ffcfef653b110e514d5db735d11be0aae9953ec | [
"MIT"
] | 1 | 2021-05-27T10:27:25.000Z | 2021-05-27T10:27:25.000Z | Products/Common/sxml_print.cpp | TrevorDArcyEvans/Diving-Magpie-Software | 7ffcfef653b110e514d5db735d11be0aae9953ec | [
"MIT"
] | null | null | null | Products/Common/sxml_print.cpp | TrevorDArcyEvans/Diving-Magpie-Software | 7ffcfef653b110e514d5db735d11be0aae9953ec | [
"MIT"
] | null | null | null | #include "stdafx.h"
#include "XML_XSL.h"
#include "SRegistryAccess.hpp"
#include "SHResult.hpp"
#include "LogEvent.h"
#include "SLogError.h"
#include "SXML_Print.h"
#include "RemoveAllCharactersInFile.h"
#include "SDelayedDeleteFile.h"
//------------------------------------------------------------------------
SXML_... | 33.067708 | 91 | 0.559143 | TrevorDArcyEvans |
5f21d84c5ad5cc082a87ea46dcf513cbcc1485f8 | 165 | hh | C++ | src/debug.hh | nojhan/kakoune | c8156429c4685189e0a6b7bd0f273dc64432db2c | [
"Unlicense"
] | null | null | null | src/debug.hh | nojhan/kakoune | c8156429c4685189e0a6b7bd0f273dc64432db2c | [
"Unlicense"
] | null | null | null | src/debug.hh | nojhan/kakoune | c8156429c4685189e0a6b7bd0f273dc64432db2c | [
"Unlicense"
] | null | null | null | #ifndef debug_hh_INCLUDED
#define debug_hh_INCLUDED
#include "string.hh"
namespace Kakoune
{
void write_debug(const String& str);
}
#endif // debug_hh_INCLUDED
| 11.785714 | 36 | 0.775758 | nojhan |
5f23c46d08dbd90a6786bc62dbb46ddd5bf8d734 | 367 | cpp | C++ | Exercicios/42.cpp | thiago1590/Exercicios_LinguagemC_1periodo | a7affcbb121493ef8abb556a6bdb7c28926144df | [
"MIT"
] | null | null | null | Exercicios/42.cpp | thiago1590/Exercicios_LinguagemC_1periodo | a7affcbb121493ef8abb556a6bdb7c28926144df | [
"MIT"
] | null | null | null | Exercicios/42.cpp | thiago1590/Exercicios_LinguagemC_1periodo | a7affcbb121493ef8abb556a6bdb7c28926144df | [
"MIT"
] | null | null | null | #include <stdio.h>
int calculo(int anos, int meses, int dias, int result)
{
result = (365 * anos) + (30 * meses) + dias;}
int main()
{
int anos, meses, dias, result,a;
printf("digite sua idade em anos meses e dias");
scanf("%d %d %d", &anos, &meses, &dias);
a = calculo(anos, meses, dias, result);
printf(... | 19.315789 | 55 | 0.607629 | thiago1590 |
5f245914a64789f52ed6e45ea844f1f14ffb2212 | 787 | cpp | C++ | OnitamaEngine/Source/MoveInformation/MoveInformation.cpp | CodeGorger/OnitamaEngine | 641930951ce272ee4922c5dfe57cc3b25b1ed37a | [
"MIT"
] | 1 | 2021-09-14T16:25:02.000Z | 2021-09-14T16:25:02.000Z | OnitamaEngine/Source/MoveInformation/MoveInformation.cpp | CodeGorger/OnitamaEngine | 641930951ce272ee4922c5dfe57cc3b25b1ed37a | [
"MIT"
] | null | null | null | OnitamaEngine/Source/MoveInformation/MoveInformation.cpp | CodeGorger/OnitamaEngine | 641930951ce272ee4922c5dfe57cc3b25b1ed37a | [
"MIT"
] | null | null | null | #include "MoveInformation.h"
bool MoveInformation::ParseMove(std::string inTcpMove)
{
if (inTcpMove.size() > 20)
{
//"Invalid inTcpMove string is exceeded the maximal allowed length"
return false;
}
size_t indexOfFirstSemicolon = inTcpMove.find_first_of(";");
_cardName=inTcpMove.substr(0, indexOfFirstSemicol... | 22.485714 | 69 | 0.768742 | CodeGorger |
5f26fe6923b37dc6264b51411b8612ec8e293614 | 930 | cpp | C++ | src/utils/dll.cpp | TiWinDeTea/NinjaClown | fdd48e62466f11036fa0360fad2bcb182d6d3352 | [
"MIT"
] | 2 | 2020-04-10T14:39:00.000Z | 2021-02-11T15:52:16.000Z | src/utils/dll.cpp | TiWinDeTea/NinjaClown | fdd48e62466f11036fa0360fad2bcb182d6d3352 | [
"MIT"
] | 2 | 2019-12-17T08:50:20.000Z | 2020-02-03T09:37:56.000Z | src/utils/dll.cpp | TiWinDeTea/NinjaClown | fdd48e62466f11036fa0360fad2bcb182d6d3352 | [
"MIT"
] | 1 | 2020-08-19T03:06:52.000Z | 2020-08-19T03:06:52.000Z | #include "utils/dll.hpp"
#ifdef OS_WINDOWS
# include "utils/system.hpp"
#endif
namespace utils {
dll::~dll() {
if (m_handle == nullptr) {
return;
}
#if defined OS_WINDOWS
FreeLibrary(m_handle);
#elif defined OS_LINUX
dlclose(m_handle);
#endif
}
dll::operator bool() const {
return m_handle != nullptr;
}
std... | 16.034483 | 45 | 0.692473 | TiWinDeTea |
5f284b2ca6233ddc59b0fa0a1e7b7007d1eaf132 | 1,276 | cpp | C++ | LeetCode/2058_Find_the_Minimum_and_Maximum_Number_of_Nodes_Between_Critical_Points/main.cpp | sungmen/Acmicpc_Solve | 0298a6aec84993a4d8767bd2c00490b7201e06a4 | [
"MIT"
] | null | null | null | LeetCode/2058_Find_the_Minimum_and_Maximum_Number_of_Nodes_Between_Critical_Points/main.cpp | sungmen/Acmicpc_Solve | 0298a6aec84993a4d8767bd2c00490b7201e06a4 | [
"MIT"
] | null | null | null | LeetCode/2058_Find_the_Minimum_and_Maximum_Number_of_Nodes_Between_Critical_Points/main.cpp | sungmen/Acmicpc_Solve | 0298a6aec84993a4d8767bd2c00490b7201e06a4 | [
"MIT"
] | null | null | null | /**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *next;
* ListNode() : val(0), next(nullptr) {}
* ListNode(int x) : val(x), next(nullptr) {}
* ListNode(int x, ListNode *next) : val(x), next(next) {}
* };
*/
class Solution {
public:
vector<int> nodesBetw... | 32.717949 | 121 | 0.442006 | sungmen |
5f285e6e670fb5b70171c74ea1cacaa09eaf22be | 918 | hpp | C++ | include/locomotion_viewer/LocomotionViewer.hpp | ori-drs/locomotion-viewer | 6569d09786743283c1be8c47ca75171c1c4aeea0 | [
"Apache-2.0"
] | 6 | 2020-04-06T10:09:14.000Z | 2022-01-07T02:05:06.000Z | include/locomotion_viewer/LocomotionViewer.hpp | ori-drs/locomotion-viewer | 6569d09786743283c1be8c47ca75171c1c4aeea0 | [
"Apache-2.0"
] | null | null | null | include/locomotion_viewer/LocomotionViewer.hpp | ori-drs/locomotion-viewer | 6569d09786743283c1be8c47ca75171c1c4aeea0 | [
"Apache-2.0"
] | 2 | 2018-12-24T12:17:26.000Z | 2021-03-01T23:21:10.000Z | /*
* OnlineID.h
*
* Created on: Feb 11, 2018
* Author: Romeo Orsolino
*/
#ifndef RVIZPOLYGONSTOOLS_H_
#define RVIZPOLYGONSTOOLS_H_
#include <locomotion_viewer/ThreeDim.h>
#include <Eigen/Dense>
#include <iostream>
#include <string>
#include <chrono>
namespace locomotion_viewer{
using legs_colors ... | 20.863636 | 137 | 0.72658 | ori-drs |
5f2b2e114fb30ce3badacb521f4de1f1ff972894 | 919 | cpp | C++ | implementations/cairo/gb_cairo_main.cpp | enthought/GraphicsBench | ec0327c480fa91c71ec52239700b808db9bb272b | [
"BSD-3-Clause"
] | null | null | null | implementations/cairo/gb_cairo_main.cpp | enthought/GraphicsBench | ec0327c480fa91c71ec52239700b808db9bb272b | [
"BSD-3-Clause"
] | null | null | null | implementations/cairo/gb_cairo_main.cpp | enthought/GraphicsBench | ec0327c480fa91c71ec52239700b808db9bb272b | [
"BSD-3-Clause"
] | null | null | null | #include "gb_cairo_lines.h"
#include "gb_cairo_box_alpha.h"
#include "gb_cairo_box_gradient.h"
#include "gb_cairo_memmove.h"
int main(int argc, char **argv)
{
GBCairoLineBenchmark gb_cairo_line;
gb_cairo_line.init();
gb_cairo_line.app_state.load_data("../../data/gb_lines.data");
gb_cairo_line.render();... | 30.633333 | 78 | 0.738847 | enthought |
5f2b5120ad88c492e66730d7b2e7f4040ac33c62 | 4,850 | cpp | C++ | source/video/sampler.cpp | synaodev/LeviathanRacket | c70dfddf0097c7f4e902ec5de46a6eabed5a4691 | [
"MIT"
] | 5 | 2020-03-25T14:46:23.000Z | 2022-02-23T01:46:26.000Z | source/video/sampler.cpp | synaodev/LeviathanRacket | c70dfddf0097c7f4e902ec5de46a6eabed5a4691 | [
"MIT"
] | 1 | 2022-01-14T00:01:48.000Z | 2022-01-14T00:01:48.000Z | source/video/sampler.cpp | synaodev/LeviathanRacket | c70dfddf0097c7f4e902ec5de46a6eabed5a4691 | [
"MIT"
] | 2 | 2020-03-25T14:46:24.000Z | 2020-08-21T04:33:23.000Z | #include "./sampler.hpp"
#include "./gl-check.hpp"
#include "../utility/logger.hpp"
namespace {
constexpr sint_t kWorkingUnit = GL_TEXTURE4;
constexpr sint_t kMipMapTexs = 4;
constexpr sint_t kTotalTexs = 80;
constexpr sint_t kDimensions = 256;
constexpr sint_t kTotalAtlas = 5;
}
sint_t sampler_t::get_work... | 30.3125 | 100 | 0.738144 | synaodev |
5f2c025588e266c2452f1bc787d861692e79a247 | 2,668 | hpp | C++ | lib/malloy/core/detail/controller_run_result.hpp | Tectu/malloy | 066adfe3ac312ac4c0b4a745603faed650400f5a | [
"MIT"
] | 22 | 2021-04-17T17:32:14.000Z | 2022-03-29T09:42:03.000Z | lib/malloy/core/detail/controller_run_result.hpp | Tectu/malloy | 066adfe3ac312ac4c0b4a745603faed650400f5a | [
"MIT"
] | 98 | 2021-04-03T18:53:19.000Z | 2022-02-06T10:49:30.000Z | lib/malloy/core/detail/controller_run_result.hpp | Tectu/malloy | 066adfe3ac312ac4c0b4a745603faed650400f5a | [
"MIT"
] | 3 | 2021-05-12T15:17:11.000Z | 2021-12-28T03:15:46.000Z | #pragma once
#include <boost/asio/executor_work_guard.hpp>
#include <boost/asio/io_context.hpp>
#include <boost/asio/use_future.hpp>
#include <spdlog/logger.h>
#include <memory>
#include <thread>
#include <stdexcept>
namespace malloy::detail
{
/**
* Controller configuration.
*/
struct controller_co... | 28.084211 | 115 | 0.53973 | Tectu |
5f2dc3edcc7d8f849aefa87bc990ccc20f81fcb7 | 1,259 | cpp | C++ | Tree/Binary_Tree/main.cpp | AshishS-1123/Data-Structures | 58c36b7f1e0bc72064aac5ff53f96c7df34e52b5 | [
"MIT"
] | null | null | null | Tree/Binary_Tree/main.cpp | AshishS-1123/Data-Structures | 58c36b7f1e0bc72064aac5ff53f96c7df34e52b5 | [
"MIT"
] | null | null | null | Tree/Binary_Tree/main.cpp | AshishS-1123/Data-Structures | 58c36b7f1e0bc72064aac5ff53f96c7df34e52b5 | [
"MIT"
] | null | null | null | #include <iostream>
#include "binary_tree.cpp"
#include "traverse.cpp"
using namespace std;
int main()
{
// create a tree object
binaryTree tree = binaryTree();
// insert 10, 20, 30, 40, 50, 60
cout << "\nAfter adding 10...";
tree.insert_element(10);
tree.print_tree();
cout << "\nAfter... | 20.639344 | 52 | 0.612391 | AshishS-1123 |
5f2ff7f49f8e5b1f37b9117542c9bfe0af6fbc11 | 2,113 | cpp | C++ | src/apps/S3DAnalyzer/widgets/widthhintlabel.cpp | hugbed/OpenS3D | 4ffad16f9b0973404b59eb1424cc45f68754fe12 | [
"BSD-3-Clause"
] | 8 | 2017-04-16T16:38:15.000Z | 2020-04-20T03:23:15.000Z | src/apps/S3DAnalyzer/widgets/widthhintlabel.cpp | hugbed/OpenS3D | 4ffad16f9b0973404b59eb1424cc45f68754fe12 | [
"BSD-3-Clause"
] | 40 | 2017-04-12T17:24:44.000Z | 2017-12-21T18:41:23.000Z | src/apps/S3DAnalyzer/widgets/widthhintlabel.cpp | hugbed/OpenS3D | 4ffad16f9b0973404b59eb1424cc45f68754fe12 | [
"BSD-3-Clause"
] | 6 | 2017-07-13T21:51:09.000Z | 2021-05-18T16:22:03.000Z | #include "widthhintlabel.h"
#include <gsl/gsl_util>
WidthHintLabel::WidthHintLabel(QWidget* parent) : QLabel(parent) {
initPixmaps();
setAlignment(Qt::AlignCenter);
setSizePolicy(QSizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed));
auto&& pixmap = m_pixmaps[static_cast<int>(State::Neutral)];
setMinim... | 33.539683 | 73 | 0.708471 | hugbed |
5f311ccb8f94cd59ff9a022f220547b79ca01ba1 | 1,134 | cpp | C++ | OpenGL_Planetarium/Cubemap.cpp | vmkarhula/Planetarium | f99acf1c98f2789a3eae70eba69d83ab4cba2a43 | [
"MIT"
] | null | null | null | OpenGL_Planetarium/Cubemap.cpp | vmkarhula/Planetarium | f99acf1c98f2789a3eae70eba69d83ab4cba2a43 | [
"MIT"
] | null | null | null | OpenGL_Planetarium/Cubemap.cpp | vmkarhula/Planetarium | f99acf1c98f2789a3eae70eba69d83ab4cba2a43 | [
"MIT"
] | null | null | null | #include "Cubemap.h"
#include <iostream>
#include "stb/stb_image.h"
Cubemap::Cubemap(std::vector<std::string> paths)
{
glGenTextures(1, &m_GLID);
glBindTexture(GL_TEXTURE_CUBE_MAP, m_GLID);
int width, height, nrChannels;
for (unsigned int i = 0; i < paths.size(); i++) {
unsigned char* data = stbi_load(paths... | 23.142857 | 113 | 0.741623 | vmkarhula |