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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f7e98cb746944a7e4975c6baf78de8ba894520f0 | 12,739 | cc | C++ | Code/Components/Analysis/analysis/current/preprocessing/Wavelet2D1D.cc | rtobar/askapsoft | 6bae06071d7d24f41abe3f2b7f9ee06cb0a9445e | [
"BSL-1.0",
"Apache-2.0",
"OpenSSL"
] | 1 | 2020-06-18T08:37:43.000Z | 2020-06-18T08:37:43.000Z | Code/Components/Analysis/analysis/current/preprocessing/Wavelet2D1D.cc | ATNF/askapsoft | d839c052d5c62ad8a511e58cd4b6548491a6006f | [
"BSL-1.0",
"Apache-2.0",
"OpenSSL"
] | null | null | null | Code/Components/Analysis/analysis/current/preprocessing/Wavelet2D1D.cc | ATNF/askapsoft | d839c052d5c62ad8a511e58cd4b6548491a6006f | [
"BSL-1.0",
"Apache-2.0",
"OpenSSL"
] | null | null | null | /// Wavelet2D1D.h
///
/// Lars Floer's 2D1D wavelet reconstruction algorithm
///
/// @copyright (c) 2011 CSIRO
/// Australia Telescope National Facility (ATNF)
/// Commonwealth Scientific and Industrial Research Organisation (CSIRO)
/// PO Box 76, Epping NSW 1710, Australia
/// atnf-enquiries@csiro.au
///
/// This file... | 35.093664 | 181 | 0.52406 | rtobar |
f7edf5ec82381548ad4ebc4bcaadecd56b8535b6 | 622 | cpp | C++ | Cpp/1008.construct-binary-search-tree-from-preorder-traversal.cpp | zszyellow/leetcode | 2ef6be04c3008068f8116bf28d70586e613a48c2 | [
"MIT"
] | 1 | 2015-12-19T23:05:35.000Z | 2015-12-19T23:05:35.000Z | Cpp/1008.construct-binary-search-tree-from-preorder-traversal.cpp | zszyellow/leetcode | 2ef6be04c3008068f8116bf28d70586e613a48c2 | [
"MIT"
] | null | null | null | Cpp/1008.construct-binary-search-tree-from-preorder-traversal.cpp | zszyellow/leetcode | 2ef6be04c3008068f8116bf28d70586e613a48c2 | [
"MIT"
] | null | null | null | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution {
public:
TreeNode* bstFromPreorder(vector<int>& preorder) {
int i = 0;
return build(preo... | 25.916667 | 59 | 0.538585 | zszyellow |
f7edf703c84b774df1e0f62b471141fb40d93d3c | 643 | cpp | C++ | 0001-0100/3-longest-substring-without-repeating-characters/main.cpp | janreggie/leetcode | c59718e127b598c4de7d07c9c93064eb12b2e5c9 | [
"MIT",
"Unlicense"
] | null | null | null | 0001-0100/3-longest-substring-without-repeating-characters/main.cpp | janreggie/leetcode | c59718e127b598c4de7d07c9c93064eb12b2e5c9 | [
"MIT",
"Unlicense"
] | null | null | null | 0001-0100/3-longest-substring-without-repeating-characters/main.cpp | janreggie/leetcode | c59718e127b598c4de7d07c9c93064eb12b2e5c9 | [
"MIT",
"Unlicense"
] | null | null | null | #include <algorithm>
#include <string>
#include <unordered_set>
class Solution
{
public:
int lengthOfLongestSubstring(const std::string& s)
{
std::unordered_map<char, size_t> inds; // inds[c] = last index of c
size_t a = 0, b = 0;
size_t record = 0; // largest b-a
// Now what is our loop condition?
while ... | 19.484848 | 79 | 0.562986 | janreggie |
f7f5152770a5683957f586d6b85c1e8a7bd54f80 | 1,908 | cpp | C++ | Concurrency/Print Zero Even Odd/solution.cpp | MishaVernik/LeetCode | 5f4823706f472b59fbc0c936524477dc039a46ee | [
"MIT"
] | null | null | null | Concurrency/Print Zero Even Odd/solution.cpp | MishaVernik/LeetCode | 5f4823706f472b59fbc0c936524477dc039a46ee | [
"MIT"
] | null | null | null | Concurrency/Print Zero Even Odd/solution.cpp | MishaVernik/LeetCode | 5f4823706f472b59fbc0c936524477dc039a46ee | [
"MIT"
] | null | null | null | /*
Suppose you are given the following code:
class ZeroEvenOdd {
public ZeroEvenOdd(int n) { ... } // constructor
public void zero(printNumber) { ... } // only output 0's
public void even(printNumber) { ... } // only output even numbers
public void odd(printNumber) { ... } // only output odd numbers
}... | 27.257143 | 175 | 0.562369 | MishaVernik |
f7f680f9a48b27576bb8ba759460d22220c96263 | 141,776 | cpp | C++ | third_party/skia_m79/third_party/externals/angle2/src/libANGLE/capture_gles_ext_params.cpp | kniefliu/WindowsSamples | c841268ef4a0f1c6f89b8e95bf68058ea2548394 | [
"MIT"
] | null | null | null | third_party/skia_m79/third_party/externals/angle2/src/libANGLE/capture_gles_ext_params.cpp | kniefliu/WindowsSamples | c841268ef4a0f1c6f89b8e95bf68058ea2548394 | [
"MIT"
] | null | null | null | third_party/skia_m79/third_party/externals/angle2/src/libANGLE/capture_gles_ext_params.cpp | kniefliu/WindowsSamples | c841268ef4a0f1c6f89b8e95bf68058ea2548394 | [
"MIT"
] | null | null | null | //
// Copyright 2019 The ANGLE 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.
//
// capture_glesext_params.cpp:
// Pointer parameter capture functions for the OpenGL ES extension entry points.
#include "libANGLE/capture_gl... | 44.780796 | 95 | 0.351766 | kniefliu |
f7f6eaf345aa924b4e1543e79c311b0c9ee1eb7c | 806 | cpp | C++ | control_app/main.cpp | houcy/wall-e-1 | b159d05b0afa343cb161f60ec98974bc2f063afd | [
"MIT"
] | 1 | 2021-05-05T14:11:03.000Z | 2021-05-05T14:11:03.000Z | control_app/main.cpp | houcy/wall-e-1 | b159d05b0afa343cb161f60ec98974bc2f063afd | [
"MIT"
] | null | null | null | control_app/main.cpp | houcy/wall-e-1 | b159d05b0afa343cb161f60ec98974bc2f063afd | [
"MIT"
] | null | null | null | #include "main_widget.h"
#include "tcp_server.h"
#include "log.h"
#include "common.h"
#include <QApplication>
#ifdef Q_WS_QWS
#include <QAbstractSlider>
#include <QWSServer>
#endif
void outOfMemHandler()
{
fatal("Failed to allocate memory");
}
int main(int argc, char *argv[])
{
std::set_new_handler(outOfMemHa... | 21.783784 | 84 | 0.729529 | houcy |
f7f6fd54f4469ad46aeab6dcf21e8350579fe795 | 6,306 | cpp | C++ | source/hydra_next/source/graphics/debug_renderer.cpp | JorenJoestar/DataDrivenRendering | b9078ea3d2d63d1c2cbc6f9ed655e49e23747969 | [
"Zlib"
] | 164 | 2019-06-30T18:14:38.000Z | 2022-03-13T14:36:10.000Z | source/hydra_next/source/graphics/debug_renderer.cpp | JorenJoestar/DataDrivenRendering | b9078ea3d2d63d1c2cbc6f9ed655e49e23747969 | [
"Zlib"
] | null | null | null | source/hydra_next/source/graphics/debug_renderer.cpp | JorenJoestar/DataDrivenRendering | b9078ea3d2d63d1c2cbc6f9ed655e49e23747969 | [
"Zlib"
] | 11 | 2019-09-11T13:40:59.000Z | 2022-01-28T09:24:24.000Z | #include "graphics/debug_renderer.hpp"
#include "graphics/camera.hpp"
#include "graphics/command_buffer.hpp"
namespace hydra {
namespace gfx {
//
//
struct LineVertex {
vec3s position;
hydra::Color color;
void set( vec3s position_, h... | 37.094118 | 159 | 0.606565 | JorenJoestar |
f7f87dc0a12162cb19956915ef45c3e62742b8b2 | 6,307 | cc | C++ | extern/glow/src/glow/data/TextureData.cc | rovedit/Fort-Candle | 445fb94852df56c279c71b95c820500e7fb33cf7 | [
"MIT"
] | null | null | null | extern/glow/src/glow/data/TextureData.cc | rovedit/Fort-Candle | 445fb94852df56c279c71b95c820500e7fb33cf7 | [
"MIT"
] | null | null | null | extern/glow/src/glow/data/TextureData.cc | rovedit/Fort-Candle | 445fb94852df56c279c71b95c820500e7fb33cf7 | [
"MIT"
] | null | null | null | #include "TextureData.hh"
#include "SurfaceData.hh"
#include <glow/common/log.hh>
#include <glow/common/profiling.hh>
#include <glow/common/str_utils.hh>
using namespace glow;
TextureData::LoadFromFileFunc TextureData::sLoadFunc = nullptr;
TextureData::TextureData() {}
void TextureData::addSurface(const SharedSur... | 32.510309 | 170 | 0.526875 | rovedit |
f7fb115b479020ffcfe3b5a245ce14ac2fa31d00 | 1,735 | cpp | C++ | Recursion and Backtracking/Kpartition.cpp | Ankitlenka26/IP2021 | 99322c9c84a8a9c9178a505afbffdcebd312b059 | [
"MIT"
] | null | null | null | Recursion and Backtracking/Kpartition.cpp | Ankitlenka26/IP2021 | 99322c9c84a8a9c9178a505afbffdcebd312b059 | [
"MIT"
] | null | null | null | Recursion and Backtracking/Kpartition.cpp | Ankitlenka26/IP2021 | 99322c9c84a8a9c9178a505afbffdcebd312b059 | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
using namespace std;
static int counter = 0;
void solution(int i, int n, int k, int cones, vector<vector<int>> &ans)
{
//write your code here
if (i > n)
{
// cout << "Hello" << endl;
if (cones == k)
{
counter++;
cout << c... | 23.445946 | 71 | 0.358501 | Ankitlenka26 |
f7fb5fd609bee157b8671ec92c5644458c59ca62 | 4,913 | hpp | C++ | sparta/cache/LineData.hpp | debjyoti0891/map | abdae67964420d7d36255dcbf83e4240a1ef4295 | [
"MIT"
] | 44 | 2019-12-13T06:39:13.000Z | 2022-03-29T23:09:28.000Z | sparta/cache/LineData.hpp | debjyoti0891/map | abdae67964420d7d36255dcbf83e4240a1ef4295 | [
"MIT"
] | 222 | 2020-01-14T21:58:56.000Z | 2022-03-31T20:05:12.000Z | sparta/cache/LineData.hpp | debjyoti0891/map | abdae67964420d7d36255dcbf83e4240a1ef4295 | [
"MIT"
] | 19 | 2020-01-03T19:03:22.000Z | 2022-01-09T08:36:20.000Z |
#pragma once
#include <cstring>
#include "sparta/utils/ByteOrder.hpp"
#include "sparta/utils/SpartaException.hpp"
#include "cache/BasicCacheItem.hpp"
namespace sparta
{
namespace cache
{
class LineData : public BasicCacheItem
{
public:
// Constructor
LineDa... | 32.753333 | 83 | 0.483004 | debjyoti0891 |
f7fca7f0a1ab5371c77521df02499fe293640447 | 1,435 | hpp | C++ | include/MeshEditor/Cube.hpp | THOSE-EYES/MeshEditor | 6a58460a3ddfeba5d372aa92cd120b0c2a108c35 | [
"Apache-2.0"
] | null | null | null | include/MeshEditor/Cube.hpp | THOSE-EYES/MeshEditor | 6a58460a3ddfeba5d372aa92cd120b0c2a108c35 | [
"Apache-2.0"
] | null | null | null | include/MeshEditor/Cube.hpp | THOSE-EYES/MeshEditor | 6a58460a3ddfeba5d372aa92cd120b0c2a108c35 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2018 Illia Shvarov
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | 23.916667 | 75 | 0.69547 | THOSE-EYES |
f7fd34a2d2b297a07b9f4de7d7527453d94707e7 | 3,692 | cpp | C++ | Engine/Source/ComponentManager.cpp | AdamSzentesiGrip/MiniECS | c938b5e90746c06f9a4e8ca8e1c2d3e8bf3c3faf | [
"Unlicense"
] | null | null | null | Engine/Source/ComponentManager.cpp | AdamSzentesiGrip/MiniECS | c938b5e90746c06f9a4e8ca8e1c2d3e8bf3c3faf | [
"Unlicense"
] | null | null | null | Engine/Source/ComponentManager.cpp | AdamSzentesiGrip/MiniECS | c938b5e90746c06f9a4e8ca8e1c2d3e8bf3c3faf | [
"Unlicense"
] | null | null | null | #include "../Include/ComponentManager.h"
namespace Mini
{
ComponentManager::ComponentManager()
{
_ComponentIDRegister = new std::map<size_t, int_componentID>();
_ComponentBuffers = new std::vector<ComponentBufferBase*>();
}
ComponentManager::~ComponentManager()
{
delete _ComponentIDRegister;
delete _Comp... | 29.536 | 115 | 0.765439 | AdamSzentesiGrip |
f7fe544645e6a9391e8ecbec67334181773576bf | 29,919 | cpp | C++ | applis/OLD-MICMAC-OLD/cOrientationGrille.cpp | kikislater/micmac | 3009dbdad62b3ad906ec882b74b85a3db86ca755 | [
"CECILL-B"
] | 451 | 2016-11-25T09:40:28.000Z | 2022-03-30T04:20:42.000Z | applis/OLD-MICMAC-OLD/cOrientationGrille.cpp | kikislater/micmac | 3009dbdad62b3ad906ec882b74b85a3db86ca755 | [
"CECILL-B"
] | 143 | 2016-11-25T20:35:57.000Z | 2022-03-01T11:58:02.000Z | applis/OLD-MICMAC-OLD/cOrientationGrille.cpp | kikislater/micmac | 3009dbdad62b3ad906ec882b74b85a3db86ca755 | [
"CECILL-B"
] | 139 | 2016-12-02T10:26:21.000Z | 2022-03-10T19:40:29.000Z | /*Header-MicMac-eLiSe-25/06/2007
MicMac : Multi Image Correspondances par Methodes Automatiques de Correlation
eLiSe : ELements of an Image Software Environnement
www.micmac.ign.fr
Copyright : Institut Geographique National
Author : Marc Pierrot Deseilligny
Contributors : Gregoire Maille... | 39.367105 | 164 | 0.561015 | kikislater |
f7fe88faaa4bf4336174888bad7208757ee81f04 | 6,384 | cpp | C++ | hal/src/main/native/athena/PowerDistribution.cpp | team3990/allwpilib | 01ba56a8a6cb93cc42c8d980224b5205c1d01e4a | [
"BSD-3-Clause"
] | 39 | 2021-06-18T03:22:30.000Z | 2022-03-21T15:23:43.000Z | hal/src/main/native/athena/PowerDistribution.cpp | team3990/allwpilib | 01ba56a8a6cb93cc42c8d980224b5205c1d01e4a | [
"BSD-3-Clause"
] | 10 | 2021-06-18T03:22:19.000Z | 2022-03-18T22:14:15.000Z | hal/src/main/native/athena/PowerDistribution.cpp | team3990/allwpilib | 01ba56a8a6cb93cc42c8d980224b5205c1d01e4a | [
"BSD-3-Clause"
] | 4 | 2021-08-19T19:20:04.000Z | 2022-03-08T07:33:18.000Z | // Copyright (c) FIRST and other WPILib contributors.
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#include "hal/PowerDistribution.h"
#include "CTREPDP.h"
#include "HALInternal.h"
#include "PortsInternal.h"
#include "R... | 30.545455 | 80 | 0.695019 | team3990 |
7902f4e5ce76bdc4d61f5467c02544bbabca6ad9 | 640 | hpp | C++ | plugins/opengl/include/sge/opengl/target/set_flipped_area.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | 2 | 2016-01-27T13:18:14.000Z | 2018-05-11T01:11:32.000Z | plugins/opengl/include/sge/opengl/target/set_flipped_area.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | null | null | null | plugins/opengl/include/sge/opengl/target/set_flipped_area.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | 3 | 2018-05-11T01:11:34.000Z | 2021-04-24T19:47:45.000Z | // Copyright Carl Philipp Reh 2006 - 2019.
// 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 SGE_OPENGL_TARGET_SET_FLIPPED_AREA_HPP_INCLUDED
#define SGE_OPENGL_TARGET_SET_FLIPPED_AREA_... | 26.666667 | 61 | 0.751563 | cpreh |
790447fed8c8faa47abe1aad69ef7308047b3001 | 1,461 | hpp | C++ | include/rlbwt_types.hpp | kampersanda/rcomp | 7cdbd286c18eca29ae5e0da50eeeecb5c289a602 | [
"MIT"
] | 3 | 2022-02-16T08:10:01.000Z | 2022-02-17T02:17:58.000Z | include/rlbwt_types.hpp | kampersanda/rcomp | 7cdbd286c18eca29ae5e0da50eeeecb5c289a602 | [
"MIT"
] | null | null | null | include/rlbwt_types.hpp | kampersanda/rcomp | 7cdbd286c18eca29ae5e0da50eeeecb5c289a602 | [
"MIT"
] | null | null | null | #pragma once
#include "FData_Naive.hpp"
#include "LData_Naive.hpp"
#include "LFIntervalGraph.hpp"
#include "Rlbwt_LFIG.hpp"
#include "GroupedFData_Naive.hpp"
#include "GroupedFData_Serialized.hpp"
#include "GroupedLData_Naive.hpp"
#include "GroupedLData_Serialized.hpp"
#include "GroupedLFIntervalGraph.hpp"
#include "... | 31.085106 | 82 | 0.764545 | kampersanda |
7904ba5b69e6949c2728b7908c9d040da5b38e9d | 23,937 | cpp | C++ | Users.cpp | Yeeler/open-source-search-engine | 260864b36404a550c5268d2e2224c18d42e3eeb0 | [
"Apache-2.0"
] | null | null | null | Users.cpp | Yeeler/open-source-search-engine | 260864b36404a550c5268d2e2224c18d42e3eeb0 | [
"Apache-2.0"
] | null | null | null | Users.cpp | Yeeler/open-source-search-engine | 260864b36404a550c5268d2e2224c18d42e3eeb0 | [
"Apache-2.0"
] | null | null | null | #include "Users.h"
Users g_users;
RdbTree g_testResultsTree;
// intialize User members
User::User(){
m_permissions = 0;
m_numTagIds = 0;
m_numColls = 0;
m_allColls = false;
m_numIps = 0;
m_allIps = false;
m_numPages = 0;
m_allPages = 0;
m_reLogin = false;
m_username[0] = '\0';
m... | 26.685619 | 77 | 0.618081 | Yeeler |
790668ab16a374fc5914f305f2afa4855615ed99 | 37,027 | cpp | C++ | FindMeSAT_SW/amateurfunk-funkrufmaster_19862/src/digi.cpp | DF4IAH/GPS-TrackMe | 600511a41c995e98ec6e06a9e5bb1b64cce9b7a6 | [
"MIT"
] | 2 | 2018-01-18T16:03:41.000Z | 2018-04-01T15:55:59.000Z | FindMeSAT_SW/amateurfunk-funkrufmaster_19862/src/digi.cpp | DF4IAH/GPS-TrackMe | 600511a41c995e98ec6e06a9e5bb1b64cce9b7a6 | [
"MIT"
] | null | null | null | FindMeSAT_SW/amateurfunk-funkrufmaster_19862/src/digi.cpp | DF4IAH/GPS-TrackMe | 600511a41c995e98ec6e06a9e5bb1b64cce9b7a6 | [
"MIT"
] | 2 | 2020-05-22T17:01:24.000Z | 2021-10-08T15:53:01.000Z | /****************************************************************************
* *
* *
* Copyright (C) 2002-2004 by Holger Flemming *
* ... | 22.688113 | 115 | 0.556891 | DF4IAH |
790b13872a46feaeb2cd735acc929f881e79b0b1 | 11,690 | cpp | C++ | Motor2D/Enemy.cpp | pink-king/Final-Fantasy-Tactics | b5dcdd0aa548900b3b2279cd4c6d4220f5869c08 | [
"Unlicense"
] | 9 | 2019-04-19T17:25:34.000Z | 2022-01-30T14:46:30.000Z | Motor2D/Enemy.cpp | pink-king/Final-Fantasy-Tactics | b5dcdd0aa548900b3b2279cd4c6d4220f5869c08 | [
"Unlicense"
] | 44 | 2019-03-22T10:22:19.000Z | 2019-08-08T07:48:27.000Z | Motor2D/Enemy.cpp | pink-king/Final-Fantasy-Tactics | b5dcdd0aa548900b3b2279cd4c6d4220f5869c08 | [
"Unlicense"
] | 1 | 2022-01-30T14:46:34.000Z | 2022-01-30T14:46:34.000Z | #include "Enemy.h"
#include "j1App.h"
#include "j1Render.h"
#include "j1EntityFactory.h"
#include "j1PathFinding.h"
#include "j1Map.h"
#include "j1Scene.h"
#include "WaveManager.h"
#include <ctime>
#include <random>
Enemy::Enemy(iPoint position, uint movementSpeed, uint detectionRange, uint attackRange, uint baseDamage... | 28.651961 | 198 | 0.688537 | pink-king |
790b79670bda81a9c4bf639db26d4642f0963209 | 847 | cpp | C++ | src/easteregg.cpp | CodeScratcher/shimmerlang | 2137b3b11574d6b378aff8df7a3342c1a0915964 | [
"MIT"
] | null | null | null | src/easteregg.cpp | CodeScratcher/shimmerlang | 2137b3b11574d6b378aff8df7a3342c1a0915964 | [
"MIT"
] | 3 | 2020-10-29T21:02:49.000Z | 2021-06-14T19:40:36.000Z | src/easteregg.cpp | CodeScratcher/shimmerlang | 2137b3b11574d6b378aff8df7a3342c1a0915964 | [
"MIT"
] | null | null | null | #include <string>
#include "easteregg.h"
std::string get_easteregg(int n) {
return (
"\x1b[1;93m"
R"( )" "\n"
R"( LOL MEMES . . WOW FTLULZ )" "\n"
R"( XD ____ __ .*\.* SUCH C... | 42.35 | 79 | 0.250295 | CodeScratcher |
790d4dbebc90149c98b63fbfb10a26e7249295a7 | 263 | hpp | C++ | packets/PKT_S2C_DisableHUDForEndOfGame.hpp | HoDANG/OGLeague2 | 21efea8ea480972a6d686c4adefea03d57da5e9d | [
"MIT"
] | 1 | 2022-03-27T10:21:41.000Z | 2022-03-27T10:21:41.000Z | packets/PKT_S2C_DisableHUDForEndOfGame.hpp | HoDANG/OGLeague2 | 21efea8ea480972a6d686c4adefea03d57da5e9d | [
"MIT"
] | null | null | null | packets/PKT_S2C_DisableHUDForEndOfGame.hpp | HoDANG/OGLeague2 | 21efea8ea480972a6d686c4adefea03d57da5e9d | [
"MIT"
] | 3 | 2019-07-20T03:59:10.000Z | 2022-03-27T10:20:09.000Z | #ifndef HPP_180_PKT_S2C_DisableHUDForEndOfGame_HPP
#define HPP_180_PKT_S2C_DisableHUDForEndOfGame_HPP
#include "base.hpp"
#pragma pack(push, 1)
struct PKT_S2C_DisableHUDForEndOfGame_s : DefaultPacket<PKT_S2C_DisableHUDForEndOfGame>
{
};
#pragma pack(pop)
#endif | 23.909091 | 87 | 0.851711 | HoDANG |
790e65c360fc6ee18ec420955ee97c3fcf36933b | 1,091 | cpp | C++ | src/dblp/index/models/match/index_match.cpp | Docheinstein/dblp-searcher | e7bb458c39cab35a40c525fefe206bb768253c35 | [
"MIT"
] | null | null | null | src/dblp/index/models/match/index_match.cpp | Docheinstein/dblp-searcher | e7bb458c39cab35a40c525fefe206bb768253c35 | [
"MIT"
] | null | null | null | src/dblp/index/models/match/index_match.cpp | Docheinstein/dblp-searcher | e7bb458c39cab35a40c525fefe206bb768253c35 | [
"MIT"
] | null | null | null | #include "index_match.h"
#include "commons/globals/globals.h"
IndexMatch::operator QString() const
{
QString s;
s += "-- INDEX MATCH --\n";
s += "Serial: " + DEC(elementSerial) + "\n";
s += "Match pos: " + DEC(matchPosition) + "\n";
s += "Field num: " + DEC(fieldNumber) + "\n";
s += "Field type: " + elementFiel... | 26.609756 | 67 | 0.658112 | Docheinstein |
790ecd27034330df97129d53197f2f617fcaf44d | 5,381 | cpp | C++ | Source/Desert.cpp | michal-z/Desert | 845a7f5f7b1927f6716c37fb3aa0bbe71645d49b | [
"MIT"
] | 1 | 2021-11-07T07:22:40.000Z | 2021-11-07T07:22:40.000Z | Source/Desert.cpp | michal-z/Desert | 845a7f5f7b1927f6716c37fb3aa0bbe71645d49b | [
"MIT"
] | null | null | null | Source/Desert.cpp | michal-z/Desert | 845a7f5f7b1927f6716c37fb3aa0bbe71645d49b | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#define GLFW_INCLUDE_GLCOREARB
#include <GLFW/glfw3.h>
#define IMAGE_WIDTH 1280
#define IMAGE_HEIGHT 720
static PFNGLCREATEVERTEXARRAYSPROC glCreateVertexArrays;
static PFNGLCREATEPROGRAMPIPELINESPROC glCreateProgramPipelines;
static PFNGLCREATESHADERPROGRAM... | 33.01227 | 111 | 0.773091 | michal-z |
791034bc1e0f89557bbc5aab3358df5d200cca68 | 1,832 | cpp | C++ | tggdkjxv/State.Statistics.cpp | playdeezgames/tggdkjxv | bdb1a31ffff2dd3b3524de4639846fa902b893b9 | [
"MIT"
] | null | null | null | tggdkjxv/State.Statistics.cpp | playdeezgames/tggdkjxv | bdb1a31ffff2dd3b3524de4639846fa902b893b9 | [
"MIT"
] | null | null | null | tggdkjxv/State.Statistics.cpp | playdeezgames/tggdkjxv | bdb1a31ffff2dd3b3524de4639846fa902b893b9 | [
"MIT"
] | null | null | null | #include "Application.Renderer.h"
#include "Application.Command.h"
#include "Application.MouseButtonUp.h"
#include "Application.OnEnter.h"
#include "Game.Audio.Mux.h"
#include "Game.Achievements.h"
#include "Visuals.Texts.h"
#include <format>
#include "Common.Utility.h"
#include <tuple>
namespace state::Statistics
{
c... | 31.050847 | 118 | 0.708515 | playdeezgames |
79119636105a12278d7b0567946a2d866fe025ee | 3,010 | hpp | C++ | common-utilities/libs/math/tests/testStatistics/testLinearLeastSquaresFitting.hpp | crdrisko/drychem | 15de97f277a836fb0bfb34ac6489fbc037b5151f | [
"MIT"
] | 1 | 2020-09-26T12:38:54.000Z | 2020-09-26T12:38:54.000Z | common-utilities/libs/math/tests/testStatistics/testLinearLeastSquaresFitting.hpp | crdrisko/cpp-units | 15de97f277a836fb0bfb34ac6489fbc037b5151f | [
"MIT"
] | 9 | 2020-10-05T12:53:12.000Z | 2020-11-02T19:28:01.000Z | common-utilities/libs/math/tests/testStatistics/testLinearLeastSquaresFitting.hpp | crdrisko/cpp-units | 15de97f277a836fb0bfb34ac6489fbc037b5151f | [
"MIT"
] | 1 | 2020-12-04T13:34:41.000Z | 2020-12-04T13:34:41.000Z | // Copyright (c) 2020-2021 Cody R. Drisko. All rights reserved.
// Licensed under the MIT License. See the LICENSE file in the project root for more information.
//
// Name: testLinearLeastSquaresFitting.hpp
// Author: crdrisko
// Date: 10/26/2020-11:56:41
// Description: Provides ~100% unit test coverage over the line... | 39.605263 | 119 | 0.683389 | crdrisko |
79156c92a9f526a43c4ce31b21ba9cadadf8ba95 | 1,892 | cpp | C++ | leetcode/problems/hard/927-three-equal-parts.cpp | wingkwong/competitive-programming | e8bf7aa32e87b3a020b63acac20e740728764649 | [
"MIT"
] | 18 | 2020-08-27T05:27:50.000Z | 2022-03-08T02:56:48.000Z | leetcode/problems/hard/927-three-equal-parts.cpp | wingkwong/competitive-programming | e8bf7aa32e87b3a020b63acac20e740728764649 | [
"MIT"
] | null | null | null | leetcode/problems/hard/927-three-equal-parts.cpp | wingkwong/competitive-programming | e8bf7aa32e87b3a020b63acac20e740728764649 | [
"MIT"
] | 1 | 2020-10-13T05:23:58.000Z | 2020-10-13T05:23:58.000Z | /*
Three Equal Parts
https://leetcode.com/problems/three-equal-parts/
You are given an array arr which consists of only zeros and ones, divide the array into three non-empty parts such that all of these parts represent the same binary value.
If it is possible, return any [i, j] with i + 1 < j, such that:
arr[0], arr... | 29.5625 | 216 | 0.580338 | wingkwong |
7918ee6337bc9461547cc96bbcde4d6e754bf9f2 | 5,738 | cc | C++ | orttraining/orttraining/test/training_ops/cuda/view_op_test.cc | dennyac/onnxruntime | d5175795d2b7f2db18b0390f394a49238f814668 | [
"MIT"
] | 6,036 | 2019-05-07T06:03:57.000Z | 2022-03-31T17:59:54.000Z | orttraining/orttraining/test/training_ops/cuda/view_op_test.cc | dennyac/onnxruntime | d5175795d2b7f2db18b0390f394a49238f814668 | [
"MIT"
] | 5,730 | 2019-05-06T23:04:55.000Z | 2022-03-31T23:55:56.000Z | orttraining/orttraining/test/training_ops/cuda/view_op_test.cc | dennyac/onnxruntime | d5175795d2b7f2db18b0390f394a49238f814668 | [
"MIT"
] | 1,566 | 2019-05-07T01:30:07.000Z | 2022-03-31T17:06:50.000Z | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#include "gtest/gtest.h"
#include "test/providers/provider_test_utils.h"
namespace onnxruntime {
namespace test {
template <class T>
using ShapeAndData = std::pair<const std::vector<int64_t>, const std::vector<T>>;
using... | 29.27551 | 118 | 0.53625 | dennyac |
79192d1f04187699001026491d2ab05848f3fe60 | 1,838 | cpp | C++ | tests/count_pointer.cpp | zzxx-husky/ZAF | b9c37c758a2f8242aec0d70c467d718468d08fa5 | [
"Apache-2.0"
] | 4 | 2021-07-29T12:49:09.000Z | 2022-01-13T03:40:46.000Z | tests/count_pointer.cpp | zzxx-husky/ZAF | b9c37c758a2f8242aec0d70c467d718468d08fa5 | [
"Apache-2.0"
] | null | null | null | tests/count_pointer.cpp | zzxx-husky/ZAF | b9c37c758a2f8242aec0d70c467d718468d08fa5 | [
"Apache-2.0"
] | null | null | null | #include "zaf/count_pointer.hpp"
#include "gtest/gtest.h"
namespace zaf {
GTEST_TEST(CountPointer, NullPointer) {
CountPointer<int> pointer = nullptr;
}
GTEST_TEST(CountPointer, CopyAndMove) {
auto a = make_count<int>(-1);
{
a = a;
EXPECT_EQ(*a, -1);
}
{
a = std::move(a);
EXPECT_EQ(*a, -1);... | 21.126437 | 82 | 0.671382 | zzxx-husky |
7919d493ae95ee0cae18e1b5222c4dcb2d338549 | 552 | cpp | C++ | source/chapter_02/listings/listing_02_05_ourfunc.cpp | ShinyGreenRobot/CPP-Primer-Plus-Sixth-Edition | ce2c8fca379508929dfd24dce10eff2c09117999 | [
"MIT"
] | null | null | null | source/chapter_02/listings/listing_02_05_ourfunc.cpp | ShinyGreenRobot/CPP-Primer-Plus-Sixth-Edition | ce2c8fca379508929dfd24dce10eff2c09117999 | [
"MIT"
] | null | null | null | source/chapter_02/listings/listing_02_05_ourfunc.cpp | ShinyGreenRobot/CPP-Primer-Plus-Sixth-Edition | ce2c8fca379508929dfd24dce10eff2c09117999 | [
"MIT"
] | null | null | null | /**
* \file
* listing_02_05_ourfunc.cpp
*
* \brief
* Defining your own function.
*/
#include <iostream>
void simon(int);
int main()
{
using namespace std;
simon(3); // call the simon() function
cout << "Pick an integer: ";
int count;
cin >> count;
simon(count); // call the simon() function again
... | 16.727273 | 65 | 0.630435 | ShinyGreenRobot |
791ac7f503b56b6360f58bc778d10cfddcf063a4 | 978 | cpp | C++ | data/transcoder_evaluation_gfg/cpp/COUNT_BINARY_DIGIT_NUMBERS_SMALLER_N.cpp | mxl1n/CodeGen | e5101dd5c5e9c3720c70c80f78b18f13e118335a | [
"MIT"
] | 241 | 2021-07-20T08:35:20.000Z | 2022-03-31T02:39:08.000Z | data/transcoder_evaluation_gfg/cpp/COUNT_BINARY_DIGIT_NUMBERS_SMALLER_N.cpp | mxl1n/CodeGen | e5101dd5c5e9c3720c70c80f78b18f13e118335a | [
"MIT"
] | 49 | 2021-07-22T23:18:42.000Z | 2022-03-24T09:15:26.000Z | data/transcoder_evaluation_gfg/cpp/COUNT_BINARY_DIGIT_NUMBERS_SMALLER_N.cpp | mxl1n/CodeGen | e5101dd5c5e9c3720c70c80f78b18f13e118335a | [
"MIT"
] | 71 | 2021-07-21T05:17:52.000Z | 2022-03-29T23:49:28.000Z | // Copyright (c) 2019-present, Facebook, Inc.
// All rights reserved.
//
// This source code is licensed under the license found in the
// LICENSE file in the root directory of this source tree.
//
#include <iostream>
#include <cstdlib>
#include <string>
#include <vector>
#include <fstream>
#include <iomanip>
#include... | 20.375 | 69 | 0.527607 | mxl1n |
791bcff4aab5d6974cf4327411cd4c422c555f06 | 48,594 | cpp | C++ | src/serverbase/datatable/DataTableLoader.cpp | mark-online/server | ca24898e2e5a9ccbaa11ef1ade57bb25260b717f | [
"MIT"
] | null | null | null | src/serverbase/datatable/DataTableLoader.cpp | mark-online/server | ca24898e2e5a9ccbaa11ef1ade57bb25260b717f | [
"MIT"
] | null | null | null | src/serverbase/datatable/DataTableLoader.cpp | mark-online/server | ca24898e2e5a9ccbaa11ef1ade57bb25260b717f | [
"MIT"
] | null | null | null | #include "ServerBasePCH.h"
#include <gideon/serverbase/datatable/DataTableLoader.h>
#include <gideon/cs/datatable/DataTableFactory.h>
#include <gideon/cs/datatable/EquipTable.h>
#include <gideon/cs/datatable/ReprocessTable.h>
#include <gideon/cs/datatable/PlayerActiveSkillTable.h>
#include <gideon/cs/datatable/SOActive... | 33.629066 | 99 | 0.733239 | mark-online |
791bd9f25de87d534cc12baf44afa66676321528 | 5,546 | cpp | C++ | tests/src/general.cpp | kstenerud/c-cbe | e842ae485088cb962f549bcf0a9024d795797d26 | [
"MIT"
] | null | null | null | tests/src/general.cpp | kstenerud/c-cbe | e842ae485088cb962f549bcf0a9024d795797d26 | [
"MIT"
] | null | null | null | tests/src/general.cpp | kstenerud/c-cbe | e842ae485088cb962f549bcf0a9024d795797d26 | [
"MIT"
] | 1 | 2019-10-02T23:07:40.000Z | 2019-10-02T23:07:40.000Z | #include "helpers/test_helpers.h"
// #define KSLog_LocalMinLevel KSLOG_LEVEL_TRACE
#include <kslog/kslog.h>
using namespace encoding;
TEST_ENCODE_DECODE_SHRINKING(Bool, false, 0, b(false), {0x7c})
TEST_ENCODE_DECODE_SHRINKING(Bool, true, 0, b(true), {0x7d})
TEST_ENCODE_DECODE_SHRINKING(Int, p0, 0, i( 1, 0), {... | 69.325 | 224 | 0.703931 | kstenerud |
791c9ab9c4e0c2969625dec69ac7b20ee96f383c | 3,535 | cpp | C++ | Metazion/Net/ComConnecter.cpp | KaleoFeng/Metazion | 5f1149d60aa87b391c2f40de7a89a5044701f2ca | [
"MIT"
] | 15 | 2018-10-30T07:49:02.000Z | 2020-10-20T06:27:08.000Z | Metazion/Net/ComConnecter.cpp | kaleofeng/metazion | 5f1149d60aa87b391c2f40de7a89a5044701f2ca | [
"MIT"
] | null | null | null | Metazion/Net/ComConnecter.cpp | kaleofeng/metazion | 5f1149d60aa87b391c2f40de7a89a5044701f2ca | [
"MIT"
] | 5 | 2020-12-04T07:39:31.000Z | 2021-11-23T03:16:39.000Z | #include "Metazion/Net/ComConnecter.hpp"
#include <Metazion/Share/Time/Time.hpp>
#include "Metazion/Net/TransmitSocket.hpp"
DECL_NAMESPACE_MZ_NET_BEGIN
ComConnecter::ComConnecter(TransmitSocket& socket)
: m_socket(socket) {}
ComConnecter::~ComConnecter() {}
void ComConnecter::Reset() {
m_stage = STAGE_NON... | 22.373418 | 74 | 0.641018 | KaleoFeng |
791d885f188c80d179c98a85704257f95f428020 | 12,185 | cpp | C++ | Computing-III/HW7/hw7.cpp | DulceWRLD/College | 9b94868514f461c97121d72ea0855f72ca95e798 | [
"MIT"
] | 2 | 2021-08-21T01:25:50.000Z | 2021-12-10T06:51:46.000Z | Computing-III/HW7/hw7.cpp | DulceWRLD/College | 9b94868514f461c97121d72ea0855f72ca95e798 | [
"MIT"
] | null | null | null | Computing-III/HW7/hw7.cpp | DulceWRLD/College | 9b94868514f461c97121d72ea0855f72ca95e798 | [
"MIT"
] | 6 | 2021-03-14T22:21:23.000Z | 2022-03-29T15:30:58.000Z | #include <iostream>
#include <vector>
// Avoid typing std:: everywhere
using std::cout;
using std::cin;
using std::string;
using std::endl;
using std::vector;
class ComputerLabs
{
public:
ComputerLabs();
void show_labs(void);
void login(void);
void logoff(void);
... | 28.874408 | 98 | 0.527452 | DulceWRLD |
791e4b88363ac48304da1c6e6c60812aa023ba64 | 5,981 | hxx | C++ | main/xmlreader/inc/xmlreader/xmlreader.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 679 | 2015-01-06T06:34:58.000Z | 2022-03-30T01:06:03.000Z | main/xmlreader/inc/xmlreader/xmlreader.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 102 | 2017-11-07T08:51:31.000Z | 2022-03-17T12:13:49.000Z | main/xmlreader/inc/xmlreader/xmlreader.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 331 | 2015-01-06T11:40:55.000Z | 2022-03-14T04:07:51.000Z | /**************************************************************
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to y... | 30.515306 | 80 | 0.681324 | Grosskopf |
791f893820e1fda1d7684a2eff098374840d4a7e | 2,188 | cpp | C++ | cppcheck/data/c_files/13.cpp | awsm-research/LineVul | 246baf18c1932094564a10c9b81efb21914b2978 | [
"MIT"
] | 2 | 2022-03-23T12:16:20.000Z | 2022-03-31T06:19:40.000Z | cppcheck/data/c_files/13.cpp | awsm-research/LineVul | 246baf18c1932094564a10c9b81efb21914b2978 | [
"MIT"
] | null | null | null | cppcheck/data/c_files/13.cpp | awsm-research/LineVul | 246baf18c1932094564a10c9b81efb21914b2978 | [
"MIT"
] | null | null | null | IDNConversionResult IDNToUnicodeWithAdjustmentsImpl(
base::StringPiece host,
base::OffsetAdjuster::Adjustments* adjustments,
bool enable_spoof_checks) {
if (adjustments)
adjustments->clear();
// Convert the ASCII input to a base::string16 for ICU.
base::string16 input16;
input16.reserve(host.length());
input16.insert(i... | 32.176471 | 77 | 0.762797 | awsm-research |
792136d98b549852f7f8776bf1bebc52c9f940be | 9,845 | cpp | C++ | src/odbc/Connection.cpp | mrylov/odbc-cpp-wrapper | c822bc036196aa1819ccf69a88556382eeae925f | [
"Apache-2.0"
] | 34 | 2019-02-25T14:43:58.000Z | 2022-03-14T17:15:44.000Z | src/odbc/Connection.cpp | mrylov/odbc-cpp-wrapper | c822bc036196aa1819ccf69a88556382eeae925f | [
"Apache-2.0"
] | 18 | 2019-05-14T10:00:09.000Z | 2022-03-14T17:15:05.000Z | src/odbc/Connection.cpp | mrylov/odbc-cpp-wrapper | c822bc036196aa1819ccf69a88556382eeae925f | [
"Apache-2.0"
] | 28 | 2019-05-14T09:25:30.000Z | 2022-03-18T04:21:21.000Z | #include <limits>
#include <odbc/Connection.h>
#include <odbc/DatabaseMetaData.h>
#include <odbc/DatabaseMetaDataUnicode.h>
#include <odbc/Environment.h>
#include <odbc/Exception.h>
#include <odbc/PreparedStatement.h>
#include <odbc/ResultSet.h>
#include <odbc/Statement.h>
#include <odbc/internal/Macros.h>
#include <od... | 37.011278 | 80 | 0.528085 | mrylov |
792273d865dd48c6e4851aaa7e72ca73121c7e56 | 26,275 | cc | C++ | src/cxx/default_ast_visitor.cc | robertoraggi/cplusplus | d15d4669629a7cc0347ea7ed60697b55cbd44523 | [
"MIT"
] | 49 | 2015-03-08T11:28:28.000Z | 2021-11-29T14:23:39.000Z | src/cxx/default_ast_visitor.cc | robertoraggi/cplusplus | d15d4669629a7cc0347ea7ed60697b55cbd44523 | [
"MIT"
] | 19 | 2021-03-06T05:14:02.000Z | 2021-12-02T19:48:07.000Z | src/cxx/default_ast_visitor.cc | robertoraggi/cplusplus | d15d4669629a7cc0347ea7ed60697b55cbd44523 | [
"MIT"
] | 10 | 2015-01-08T16:08:49.000Z | 2022-01-27T06:42:51.000Z | // Copyright (c) 2021 Roberto Raggi <roberto.raggi@gmail.com>
//
// 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, cop... | 33.903226 | 80 | 0.785157 | robertoraggi |
79281997d74c5cdf149f60a6e24a5d9d51ac2c10 | 27,512 | cpp | C++ | modules/gdextensions/visual/bullet_manager.cpp | ppiecuch/godot | ff2098b324b814a0d1bd9d5722aa871fc5214fab | [
"MIT",
"Apache-2.0",
"CC-BY-4.0",
"Unlicense"
] | null | null | null | modules/gdextensions/visual/bullet_manager.cpp | ppiecuch/godot | ff2098b324b814a0d1bd9d5722aa871fc5214fab | [
"MIT",
"Apache-2.0",
"CC-BY-4.0",
"Unlicense"
] | null | null | null | modules/gdextensions/visual/bullet_manager.cpp | ppiecuch/godot | ff2098b324b814a0d1bd9d5722aa871fc5214fab | [
"MIT",
"Apache-2.0",
"CC-BY-4.0",
"Unlicense"
] | null | null | null | /*************************************************************************/
/* bullet_manager.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... | 36.978495 | 206 | 0.732262 | ppiecuch |
7929408cad294d525e406b370f262c31ad530f88 | 110,677 | cpp | C++ | src/data/wordlists/spanish.cpp | xdvio/native-bip39 | feedd8201688e9996113b7d7f10017d3a705b31f | [
"MIT"
] | 1 | 2021-03-31T14:01:41.000Z | 2021-03-31T14:01:41.000Z | src/data/wordlists/spanish.cpp | xdvio/native-bip39 | feedd8201688e9996113b7d7f10017d3a705b31f | [
"MIT"
] | null | null | null | src/data/wordlists/spanish.cpp | xdvio/native-bip39 | feedd8201688e9996113b7d7f10017d3a705b31f | [
"MIT"
] | 2 | 2019-09-28T06:53:58.000Z | 2020-07-07T16:46:31.000Z | /* Generated file - do not edit! */
#include "minter/bip39/wordlist.h"
static const unsigned char es_[] = {
0x61, 0xcc, 0x81, 0x62, 0x61, 0x63, 0x6f, 0,
0x61, 0x62, 0x64, 0x6f, 0x6d, 0x65, 0x6e, 0,
0x61, 0x62, 0x65, 0x6a, 0x61, 0,
0x61, 0x62, 0x69, 0x65, 0x72, 0x74, 0x6f, 0,
0x61, 0x62, 0x6f, 0x67,... | 45.94313 | 75 | 0.56701 | xdvio |
792aac92a339463a13ff12d3c3d39467583bc31e | 1,770 | cpp | C++ | benchmarks/automatic_comm/edgeautodist_tiramisu.cpp | akmaru/tiramisu | 8ca4173547b6d12cff10575ef0dc48cf93f7f414 | [
"MIT"
] | 23 | 2017-05-03T13:06:34.000Z | 2018-06-07T07:12:43.000Z | benchmarks/automatic_comm/edgeautodist_tiramisu.cpp | akmaru/tiramisu | 8ca4173547b6d12cff10575ef0dc48cf93f7f414 | [
"MIT"
] | 2 | 2017-04-25T08:59:09.000Z | 2017-05-11T16:41:55.000Z | benchmarks/automatic_comm/edgeautodist_tiramisu.cpp | akmaru/tiramisu | 8ca4173547b6d12cff10575ef0dc48cf93f7f414 | [
"MIT"
] | 5 | 2017-02-16T14:26:40.000Z | 2018-05-30T16:49:27.000Z | #include <tiramisu/tiramisu.h>
#include "wrapper_edgeautodist.h"
using namespace tiramisu;
int main(int argc, char* argv[])
{
tiramisu::init("edgeautodist_tiramisu");
constant COLS("COLS",_COLS);
constant ROWS("ROWS",_ROWS);
function* edge = global::get_implicit_function();
edge->add_context_con... | 30.517241 | 147 | 0.583616 | akmaru |
792b3b93cc098764ec82483fbcc3ad24d3d74f5e | 958 | cc | C++ | TopQuarkAnalysis/TopKinFitter/src/TopKinFitter.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 3 | 2018-08-24T19:10:26.000Z | 2019-02-19T11:45:32.000Z | TopQuarkAnalysis/TopKinFitter/src/TopKinFitter.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 3 | 2018-08-23T13:40:24.000Z | 2019-12-05T21:16:03.000Z | TopQuarkAnalysis/TopKinFitter/src/TopKinFitter.cc | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | 5 | 2018-08-21T16:37:52.000Z | 2020-01-09T13:33:17.000Z | #include "TopQuarkAnalysis/TopKinFitter/interface/TopKinFitter.h"
/// default configuration is: max iterations = 200, max deltaS = 5e-5, maxF = 1e-4
TopKinFitter::TopKinFitter(const int maxNrIter, const double maxDeltaS, const double maxF,
const double mW, const double mTop):
maxNrIter_(maxNrIter), maxDeltaS_... | 29.030303 | 90 | 0.716075 | nistefan |
792cbb7ef29edd92cecb77d6adc5eec00c43f4ef | 13,490 | cpp | C++ | src/ProjectForecast/Systems/GMSRoomManagementSystem.cpp | yxbh/Project-Forecast | 8ea2f6249a38c9e7f4d6d7d1e51e11ad0b05c2c4 | [
"BSD-3-Clause"
] | 4 | 2019-04-09T13:03:11.000Z | 2021-01-27T04:58:29.000Z | src/ProjectForecast/Systems/GMSRoomManagementSystem.cpp | yxbh/Project-Forecast | 8ea2f6249a38c9e7f4d6d7d1e51e11ad0b05c2c4 | [
"BSD-3-Clause"
] | 2 | 2017-02-06T03:48:45.000Z | 2020-08-31T01:30:10.000Z | src/ProjectForecast/Systems/GMSRoomManagementSystem.cpp | yxbh/Project-Forecast | 8ea2f6249a38c9e7f4d6d7d1e51e11ad0b05c2c4 | [
"BSD-3-Clause"
] | 4 | 2020-06-28T08:19:53.000Z | 2020-06-28T16:30:19.000Z | #include "GMSRoomManagementSystem.hpp"
#include "../Events/GMSRoomLoadRequestEvent.hpp"
#include "../AssetResources/GMSRoomResource.hpp"
#include "../AssetResources/GMSObjectResource.hpp"
#include "../AssetResources/OtherGMSResources.hpp"
#include "../AssetResources/TextureInfoResource.hpp"
#include <KEngine/Graphics... | 44.229508 | 160 | 0.58169 | yxbh |
792cc47b1dbf56bd68acd38bcf0219d1be6e0f88 | 2,829 | cpp | C++ | Sources/Internal/Network/Private/TCPServerTransport.cpp | stinvi/dava.engine | 2b396ca49cdf10cdc98ad8a9ffcf7768a05e285e | [
"BSD-3-Clause"
] | 26 | 2018-09-03T08:48:22.000Z | 2022-02-14T05:14:50.000Z | Sources/Internal/Network/Private/TCPServerTransport.cpp | ANHELL-blitz/dava.engine | ed83624326f000866e29166c7f4cccfed1bb41d4 | [
"BSD-3-Clause"
] | null | null | null | Sources/Internal/Network/Private/TCPServerTransport.cpp | ANHELL-blitz/dava.engine | ed83624326f000866e29166c7f4cccfed1bb41d4 | [
"BSD-3-Clause"
] | 45 | 2018-05-11T06:47:17.000Z | 2022-02-03T11:30:55.000Z | #include <Functional/Function.h>
#include <Debug/DVAssert.h>
#include <Network/Base/IOLoop.h>
#include <Network/Private/TCPClientTransport.h>
#include <Network/Private/TCPServerTransport.h>
namespace DAVA
{
namespace Net
{
TCPServerTransport::TCPServerTransport(IOLoop* aLoop, const Endpoint& aEndpoint, u... | 23.773109 | 102 | 0.624249 | stinvi |
792cfe158360577bc0a80ff036dba3e4304b7250 | 512 | hpp | C++ | EiRas/Framework/Component/LogSys/LogManager.hpp | MonsterENT/EiRas | b29592da60b1a9085f5a2d8fa4ed01b43660f712 | [
"MIT"
] | 1 | 2019-12-24T10:12:16.000Z | 2019-12-24T10:12:16.000Z | EiRas/Framework/Component/LogSys/LogManager.hpp | MonsterENT/EiRas | b29592da60b1a9085f5a2d8fa4ed01b43660f712 | [
"MIT"
] | null | null | null | EiRas/Framework/Component/LogSys/LogManager.hpp | MonsterENT/EiRas | b29592da60b1a9085f5a2d8fa4ed01b43660f712 | [
"MIT"
] | null | null | null | //
// LogManager.hpp
// EiRasMetalBuild
//
// Created by MonsterENT on 1/7/20.
// Copyright © 2020 MonsterENT. All rights reserved.
//
#ifndef LogManager_hpp
#define LogManager_hpp
#include <string>
#include <Global/GlobalDefine.h>
namespace LogSys {
class LogManager
{
public:
static void DebugPrint(std::str... | 18.285714 | 53 | 0.708984 | MonsterENT |
792f856eec0bfa0b84754b95d0ebf9e93ebe8d6d | 661 | hpp | C++ | src/core/kext/RemapFunc/ForceNumLockOn.hpp | gkb/Karabiner | f47307d4fc89a4c421d10157d059293c508f721a | [
"Unlicense"
] | null | null | null | src/core/kext/RemapFunc/ForceNumLockOn.hpp | gkb/Karabiner | f47307d4fc89a4c421d10157d059293c508f721a | [
"Unlicense"
] | null | null | null | src/core/kext/RemapFunc/ForceNumLockOn.hpp | gkb/Karabiner | f47307d4fc89a4c421d10157d059293c508f721a | [
"Unlicense"
] | null | null | null | #ifndef FORCENUMLOCKON_HPP
#define FORCENUMLOCKON_HPP
#include "RemapFuncBase.hpp"
namespace org_pqrs_Karabiner {
namespace RemapFunc {
class ForceNumLockOn final : public RemapFuncBase {
public:
ForceNumLockOn(void) : RemapFuncBase(BRIDGE_REMAPTYPE_FORCENUMLOCKON),
index_(0), forceOffMode_... | 22.793103 | 72 | 0.69289 | gkb |
79321995f0a323a5d0c3fe1abc92af50403e8719 | 1,360 | cpp | C++ | Day1-1/main.cpp | MPC-Game-Programming-Practice/Prantice | 42097c970aa5cb31fad31841db70f6fcc3536fb5 | [
"BSD-2-Clause"
] | null | null | null | Day1-1/main.cpp | MPC-Game-Programming-Practice/Prantice | 42097c970aa5cb31fad31841db70f6fcc3536fb5 | [
"BSD-2-Clause"
] | null | null | null | Day1-1/main.cpp | MPC-Game-Programming-Practice/Prantice | 42097c970aa5cb31fad31841db70f6fcc3536fb5 | [
"BSD-2-Clause"
] | null | null | null | #include <iostream>
using namespace std;
// 以下に、和とスカラー倍の定義されたベクトルを表す構造体 Vector を定義する
// Vector構造体のメンバ変数を書く
// double x x座標を表す
// double y y座標を表す
// コンストラクタの定義を書く
// 引数:double argX, double argY (それぞれx座標の値、y座標の値を表す)
// コンストラクタの説明:メンバー変数xにargXを代入し、メンバー変数yにargYを代入する。
// メンバ関数 multiply の定義を書く
// 関数名:multiply
//... | 17.894737 | 53 | 0.616912 | MPC-Game-Programming-Practice |
793273692c2ce0dcdae4f6ccf45613c446de10da | 4,255 | hpp | C++ | src/include/duckdb/parser/expression/function_expression.hpp | lokax/duckdb | c2581dfebccaebae9468c924c2c722fcf0306944 | [
"MIT"
] | 1 | 2021-12-13T06:00:18.000Z | 2021-12-13T06:00:18.000Z | src/include/duckdb/parser/expression/function_expression.hpp | lokax/duckdb | c2581dfebccaebae9468c924c2c722fcf0306944 | [
"MIT"
] | 32 | 2021-09-24T23:50:09.000Z | 2022-03-29T09:37:26.000Z | src/include/duckdb/parser/expression/function_expression.hpp | lokax/duckdb | c2581dfebccaebae9468c924c2c722fcf0306944 | [
"MIT"
] | null | null | null | //===----------------------------------------------------------------------===//
// DuckDB
//
// duckdb/parser/expression/function_expression.hpp
//
//
//===----------------------------------------------------------------------===//
#pragma once
#include "duckdb/common/vector.hpp"
#include "du... | 36.059322 | 116 | 0.617626 | lokax |
a6ac01778660ac018b5a2ea5a2dbab3f6ec95ba5 | 1,850 | cpp | C++ | cc/blink/WebImageLayerImpl.cpp | wenfeifei/miniblink49 | 2ed562ff70130485148d94b0e5f4c343da0c2ba4 | [
"Apache-2.0"
] | 5,964 | 2016-09-27T03:46:29.000Z | 2022-03-31T16:25:27.000Z | cc/blink/WebImageLayerImpl.cpp | w4454962/miniblink49 | b294b6eacb3333659bf7b94d670d96edeeba14c0 | [
"Apache-2.0"
] | 459 | 2016-09-29T00:51:38.000Z | 2022-03-07T14:37:46.000Z | cc/blink/WebImageLayerImpl.cpp | w4454962/miniblink49 | b294b6eacb3333659bf7b94d670d96edeeba14c0 | [
"Apache-2.0"
] | 1,006 | 2016-09-27T05:17:27.000Z | 2022-03-30T02:46:51.000Z |
#include "WebImageLayerImpl.h"
#include "third_party/WebKit/public/platform/WebImageLayer.h"
#include "third_party/skia/include/core/SkBitmap.h"
#include "third_party/skia/include/core/SkCanvas.h"
#include "cc/blink/WebLayerImpl.h"
#include "cc/raster/SkBitmapRefWrap.h"
#include "cc/raster/RasterTask.h"
namespace cc_... | 23.125 | 112 | 0.709189 | wenfeifei |
a6adfa6e27e6b2123e558f1ee48dd615f645df48 | 794 | hpp | C++ | inst/include/GcAllocationCallback.hpp | PRL-PRG/lightr | 832102076f1a19ca9cc8784d83ec5a5c43543048 | [
"MIT"
] | 4 | 2020-06-11T14:58:55.000Z | 2021-10-18T20:19:15.000Z | inst/include/GcAllocationCallback.hpp | PRL-PRG/lightr | 832102076f1a19ca9cc8784d83ec5a5c43543048 | [
"MIT"
] | 42 | 2020-06-29T18:13:52.000Z | 2020-09-29T09:55:12.000Z | inst/include/GcAllocationCallback.hpp | PRL-PRG/lightr | 832102076f1a19ca9cc8784d83ec5a5c43543048 | [
"MIT"
] | 1 | 2021-02-18T13:26:05.000Z | 2021-02-18T13:26:05.000Z | #ifndef INSTRUMENTR_GC_ALLOCATION_CALLBACK_HPP
#define INSTRUMENTR_GC_ALLOCATION_CALLBACK_HPP
#include "Callback.hpp"
#include "Application.hpp"
namespace instrumentr {
class Context;
using ContextSPtr = std::shared_ptr<Context>;
class GcAllocationCallback: public Callback {
public:
GcAllocationCallback(void... | 21.459459 | 76 | 0.761965 | PRL-PRG |
a6b09878f37037b5ea1c09c181a35c575384d7e7 | 5,974 | cpp | C++ | 38_FILE_IO/main.cpp | CrispenGari/cool-cpp | bcbf9e0df7af07f8b12aa554fd15d977ecb47f60 | [
"MIT"
] | null | null | null | 38_FILE_IO/main.cpp | CrispenGari/cool-cpp | bcbf9e0df7af07f8b12aa554fd15d977ecb47f60 | [
"MIT"
] | null | null | null | 38_FILE_IO/main.cpp | CrispenGari/cool-cpp | bcbf9e0df7af07f8b12aa554fd15d977ecb47f60 | [
"MIT"
] | null | null | null | #include <cstdlib>
using namespace std;
#include <iostream>
#include <string>
#include <cmath> // you can include algorithm #include <algorithm>
#include <algorithm>
#include <fstream>
/*
A file contains a record list of the following students
Name Surname StudentNo Test1 Test2 Prac1 Prac2
(populate the file with cand... | 41.2 | 142 | 0.631235 | CrispenGari |
a6b2ea36193d62125126242ca030b0f227f431ec | 699 | cpp | C++ | engine samples/01_HelloWord/source/HelloWordGame.cpp | drr00t/quanticvortex | b780b0f547cf19bd48198dc43329588d023a9ad9 | [
"MIT"
] | null | null | null | engine samples/01_HelloWord/source/HelloWordGame.cpp | drr00t/quanticvortex | b780b0f547cf19bd48198dc43329588d023a9ad9 | [
"MIT"
] | null | null | null | engine samples/01_HelloWord/source/HelloWordGame.cpp | drr00t/quanticvortex | b780b0f547cf19bd48198dc43329588d023a9ad9 | [
"MIT"
] | null | null | null |
#include "HelloWordGame.h"
// QuanticVortex headers
#include "qvGameViewTypes.h"
namespace samples
{
//------------------------------------------------------------------------------------------------
HelloWordGame::HelloWordGame()
{
//CreateHumanViewCommandArgs( gameViewName);
//ConfigureInputTransla... | 27.96 | 99 | 0.463519 | drr00t |
a6b37d0dc5172895077f2121d418007934f14864 | 9,508 | cc | C++ | display/simgraph0.cc | makkrnic/simutrans-extended | 8afbbce5b88c79bfea1760cf6c7662d020757b6a | [
"Artistic-1.0"
] | null | null | null | display/simgraph0.cc | makkrnic/simutrans-extended | 8afbbce5b88c79bfea1760cf6c7662d020757b6a | [
"Artistic-1.0"
] | null | null | null | display/simgraph0.cc | makkrnic/simutrans-extended | 8afbbce5b88c79bfea1760cf6c7662d020757b6a | [
"Artistic-1.0"
] | null | null | null | /*
* This file is part of the Simutrans-Extended project under the Artistic License.
* (see LICENSE.txt)
*/
#include "../simconst.h"
#include "../sys/simsys.h"
#include "../descriptor/image.h"
#include "simgraph.h"
int large_font_height = 10;
int large_font_total_height = 11;
int large_font_ascent = 9;
KOORD_VAL... | 19.644628 | 186 | 0.77398 | makkrnic |
a6b6a050adf667fba6d81d8838ae25b018f6311f | 4,695 | cpp | C++ | src/profiling/PeriodicCounterSelectionCommandHandler.cpp | vivint-smarthome/armnn | 6b1bf1a40bebf4cc108d39f8b8e0c29bdfc51ce1 | [
"MIT"
] | null | null | null | src/profiling/PeriodicCounterSelectionCommandHandler.cpp | vivint-smarthome/armnn | 6b1bf1a40bebf4cc108d39f8b8e0c29bdfc51ce1 | [
"MIT"
] | null | null | null | src/profiling/PeriodicCounterSelectionCommandHandler.cpp | vivint-smarthome/armnn | 6b1bf1a40bebf4cc108d39f8b8e0c29bdfc51ce1 | [
"MIT"
] | null | null | null | //
// Copyright © 2019 Arm Ltd. All rights reserved.
// SPDX-License-Identifier: MIT
//
#include "PeriodicCounterSelectionCommandHandler.hpp"
#include "ProfilingUtils.hpp"
#include <armnn/Types.hpp>
#include <boost/numeric/conversion/cast.hpp>
#include <boost/format.hpp>
#include <vector>
namespace armnn
{
namespa... | 33.535714 | 118 | 0.61065 | vivint-smarthome |
a6bc696cea1a4154083afcd130c3edcf2c3084c4 | 1,766 | hh | C++ | libsrc/pylith/feassemble/feassemblefwd.hh | joegeisz/pylith | f74060b7b19d7e90abf8597bbe9250c96593c0ad | [
"MIT"
] | 1 | 2021-01-20T17:18:28.000Z | 2021-01-20T17:18:28.000Z | libsrc/pylith/feassemble/feassemblefwd.hh | joegeisz/pylith | f74060b7b19d7e90abf8597bbe9250c96593c0ad | [
"MIT"
] | null | null | null | libsrc/pylith/feassemble/feassemblefwd.hh | joegeisz/pylith | f74060b7b19d7e90abf8597bbe9250c96593c0ad | [
"MIT"
] | null | null | null | // -*- C++ -*-
//
// ======================================================================
//
// Brad T. Aagaard, U.S. Geological Survey
// Charles A. Williams, GNS Science
// Matthew G. Knepley, University of Chicago
//
// This code was developed as part of the Computational Infrastructure
// for Geodynamics (http://... | 23.236842 | 73 | 0.674972 | joegeisz |
a6cf8021e79b639784b74658b51c0fe8090e1ee8 | 2,714 | cpp | C++ | src/LedPack/gyroscope.cpp | Robert1991/LedPack | df0737120f82b83d3eeda5ca23981af161dd3113 | [
"MIT"
] | null | null | null | src/LedPack/gyroscope.cpp | Robert1991/LedPack | df0737120f82b83d3eeda5ca23981af161dd3113 | [
"MIT"
] | null | null | null | src/LedPack/gyroscope.cpp | Robert1991/LedPack | df0737120f82b83d3eeda5ca23981af161dd3113 | [
"MIT"
] | null | null | null | #include "gyroscope.h"
AccelerationMeasurementVector::AccelerationMeasurementVector(int accX, int accY, int accZ) {
this->accX = accX;
this->accY = accY;
this->accZ = accZ;
}
AccelerationMeasurementVector::AccelerationMeasurementVector() {}
AccelerationMeasurementVector AccelerationMeasurementVector::defaultVe... | 43.774194 | 143 | 0.779293 | Robert1991 |
a6d276d4b8a19938119a98e4bc1b7f5a2ba48330 | 4,316 | cc | C++ | tests/unit_tests/data/blocks/date_time.cc | tini2p/tini2p | 28fb4ddf69b2f191fee91a4ff349135fcff8dfe1 | [
"BSD-3-Clause"
] | 12 | 2019-01-21T07:04:30.000Z | 2021-12-06T03:35:07.000Z | tests/unit_tests/data/blocks/date_time.cc | chisa0a/tini2p | a9b6cb48dbbc8d667b081a95c720f0ff2a0f84f5 | [
"BSD-3-Clause"
] | null | null | null | tests/unit_tests/data/blocks/date_time.cc | chisa0a/tini2p | a9b6cb48dbbc8d667b081a95c720f0ff2a0f84f5 | [
"BSD-3-Clause"
] | 5 | 2019-02-07T23:08:37.000Z | 2021-12-06T03:35:08.000Z | /* Copyright (c) 2019, tini2p
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice, this
* list of conditions and th... | 31.275362 | 81 | 0.734013 | tini2p |
a6d4c69a57df9586374cc5ccea56d4b43a6223ff | 9,929 | cpp | C++ | multisense_ros/src/config.cpp | davidirobinson/multisense_ros2 | 87aa8dd64d3f380ffbff2483a32d0362c27dff5a | [
"MIT"
] | null | null | null | multisense_ros/src/config.cpp | davidirobinson/multisense_ros2 | 87aa8dd64d3f380ffbff2483a32d0362c27dff5a | [
"MIT"
] | null | null | null | multisense_ros/src/config.cpp | davidirobinson/multisense_ros2 | 87aa8dd64d3f380ffbff2483a32d0362c27dff5a | [
"MIT"
] | 1 | 2021-07-18T23:33:32.000Z | 2021-07-18T23:33:32.000Z | /**
* @file config.cpp
*
* Copyright 2020
* Carnegie Robotics, LLC
* 4501 Hatfield Street, Pittsburgh, PA 15201
* http://www.carnegierobotics.com
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following condition... | 38.785156 | 122 | 0.613758 | davidirobinson |
a6d4ec99bda3d0d817acb8e21c50ee77d13f547c | 5,175 | cpp | C++ | src/DS3231/DS3231.cpp | MarkMan0/STM32-Serial-Parser | 3ed62f3876d0859cbb4382af51b766815a9d994a | [
"BSD-3-Clause"
] | null | null | null | src/DS3231/DS3231.cpp | MarkMan0/STM32-Serial-Parser | 3ed62f3876d0859cbb4382af51b766815a9d994a | [
"BSD-3-Clause"
] | null | null | null | src/DS3231/DS3231.cpp | MarkMan0/STM32-Serial-Parser | 3ed62f3876d0859cbb4382af51b766815a9d994a | [
"BSD-3-Clause"
] | null | null | null | #include "DS3231/DS3231.h"
#include "main.h"
#include "i2c.h"
#include "utils.h"
#include "stdio.h"
#include "uart.h"
#include "cmsis_os.h"
/**
* @brief DS3231 Hardware description
*
*/
namespace DS3231Reg {
/**
* @brief DS3231 register addresses
*
*/
enum reg {
SECONDS,
MINUTES,
HOURS,
... | 23.847926 | 98 | 0.551304 | MarkMan0 |
a6d8cddca771e3fa045fed5f69dda19f1393dd3a | 2,931 | cpp | C++ | src/Game.cpp | RHUL-CS-Projects/towersAndMuskets | 6679857813e6bcd55e3bfc4f587e23e76da6e603 | [
"MIT"
] | 8 | 2017-04-01T13:27:27.000Z | 2019-03-23T14:44:15.000Z | src/Game.cpp | RHUL-CS-Projects/towersAndMuskets | 6679857813e6bcd55e3bfc4f587e23e76da6e603 | [
"MIT"
] | null | null | null | src/Game.cpp | RHUL-CS-Projects/towersAndMuskets | 6679857813e6bcd55e3bfc4f587e23e76da6e603 | [
"MIT"
] | null | null | null | #include <Game.h>
#include <irrlicht/irrlicht.h>
#include <EventReceiver.h>
#include <chrono>
#include <sfml/SFML/Window.hpp>
#include <StateMainMenu.h>
#include <DebugValues.h>
using namespace std;
using namespace irr;
using namespace core;
using namespace scene;
using namespace video;
using namespace io;
using names... | 20.075342 | 79 | 0.67622 | RHUL-CS-Projects |
a6de37a6041bada1a9398b09a16b208d800697b4 | 31,560 | cpp | C++ | Source/Scene/RNVoxelEntity.cpp | uberpixel/Rayne | 94f601561aedfc3200e67ff9522f64fbc5ca4d8c | [
"MIT"
] | 13 | 2020-08-08T11:57:05.000Z | 2022-03-10T17:29:19.000Z | Source/Scene/RNVoxelEntity.cpp | uberpixel/Rayne | 94f601561aedfc3200e67ff9522f64fbc5ca4d8c | [
"MIT"
] | 1 | 2022-03-10T17:35:28.000Z | 2022-03-10T18:21:57.000Z | Source/Scene/RNVoxelEntity.cpp | uberpixel/Rayne | 94f601561aedfc3200e67ff9522f64fbc5ca4d8c | [
"MIT"
] | 3 | 2020-08-08T14:22:34.000Z | 2021-05-15T21:12:17.000Z | //
// RNVoxelEntity.cpp
// Rayne
//
// Copyright 2020 by Überpixel. All rights reserved.
// Unauthorized use is punishable by torture, mutilation, and corona.
//
#include "RNVoxelEntity.h"
namespace RN
{
RNDefineMeta(VoxelEntity, SceneNode)
VoxelEntity::VoxelEntity(uint32 resolutionX, uint32 resolutionY, uint3... | 42.362416 | 177 | 0.462611 | uberpixel |
a6e47799fe0a0eb1c1d78764fa8406d96b26767d | 2,843 | cpp | C++ | src/ariel/rendersys.cpp | lymastee/gslib | 1b165b7a812526c4b2a3179588df9a7c2ff602a6 | [
"MIT"
] | 9 | 2016-10-18T09:40:09.000Z | 2022-02-11T09:44:51.000Z | src/ariel/rendersys.cpp | lymastee/gslib | 1b165b7a812526c4b2a3179588df9a7c2ff602a6 | [
"MIT"
] | null | null | null | src/ariel/rendersys.cpp | lymastee/gslib | 1b165b7a812526c4b2a3179588df9a7c2ff602a6 | [
"MIT"
] | 1 | 2016-10-19T15:20:58.000Z | 2016-10-19T15:20:58.000Z | /*
* Copyright (c) 2016-2021 lymastee, All rights reserved.
* Contact: lymastee@hotmail.com
*
* This file is part of the gslib 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 t... | 29.926316 | 82 | 0.663384 | lymastee |
a6e59c6f62d53c16c9bfce330de63e57f40b9af7 | 2,263 | cpp | C++ | fill the pixels/fill_the_pixels.cpp | papachristoumarios/IEEEXtreme11.0 | 4c3b5aaa71641a6d0b3e9823c4738050f2553b27 | [
"MIT"
] | 13 | 2018-10-11T14:13:56.000Z | 2022-02-17T18:30:17.000Z | fill the pixels/fill_the_pixels.cpp | papachristoumarios/IEEEXtreme11.0-PComplete | 4c3b5aaa71641a6d0b3e9823c4738050f2553b27 | [
"MIT"
] | null | null | null | fill the pixels/fill_the_pixels.cpp | papachristoumarios/IEEEXtreme11.0-PComplete | 4c3b5aaa71641a6d0b3e9823c4738050f2553b27 | [
"MIT"
] | 7 | 2018-10-24T08:36:59.000Z | 2021-07-19T18:16:53.000Z | #include <iostream>
#include <vector>
#include <queue>
#include <set>
#include <map>
using namespace std;
#define MAXW 1000
#define pii pair < int , int >
#define mp make_pair
char A [ MAXW + 1] [MAXW + 1];
bool visited [ MAXW + 1] [ MAXW + 1];
vector<pii> get_neighbours(int N, int M, int i, int j, char symbol) {
... | 18.398374 | 69 | 0.492267 | papachristoumarios |
a6e5c2bec1f49071ef3a8df5348fc465336955a4 | 981 | cpp | C++ | src/DynamicProgramming/RegionalDP/MinimumMergeCost.cpp | S1xe/Way-to-Algorithm | e666edfb000b3eaef8cc1413f71b035ec4141718 | [
"MIT"
] | 101 | 2015-11-19T02:40:01.000Z | 2017-12-01T13:43:06.000Z | src/DynamicProgramming/RegionalDP/MinimumMergeCost.cpp | S1xe/Way-to-Algorithm | e666edfb000b3eaef8cc1413f71b035ec4141718 | [
"MIT"
] | 3 | 2019-05-31T14:27:56.000Z | 2021-07-28T04:24:55.000Z | src/DynamicProgramming/RegionalDP/MinimumMergeCost.cpp | S1xe/Way-to-Algorithm | e666edfb000b3eaef8cc1413f71b035ec4141718 | [
"MIT"
] | 72 | 2016-01-28T15:20:01.000Z | 2017-12-01T13:43:07.000Z | #include "MinimumMergeCost.h"
#include "../Util.h"
#include <algorithm>
#include <climits>
#include <cstdarg>
#include <iostream>
#include <string>
// 防止int溢出
static int Add(int a = 0, int b = 0, int c = 0) {
if (a == INF || b == INF || c == INF)
return INF;
return a + b + c;
}
int MinimumMergeCost(int *s, i... | 21.8 | 79 | 0.448522 | S1xe |
a6ea3199d6a5328394c15e2a0f1196d56c1424d4 | 33,717 | cpp | C++ | net/src/net_socket.cpp | ARMmbed/mbed-os-posix-socket | 8797ebb01d5b3f96b59616eba65ee9b0d67e17c8 | [
"Apache-2.0"
] | null | null | null | net/src/net_socket.cpp | ARMmbed/mbed-os-posix-socket | 8797ebb01d5b3f96b59616eba65ee9b0d67e17c8 | [
"Apache-2.0"
] | null | null | null | net/src/net_socket.cpp | ARMmbed/mbed-os-posix-socket | 8797ebb01d5b3f96b59616eba65ee9b0d67e17c8 | [
"Apache-2.0"
] | null | null | null | #include "BSDSocket.h"
#include "EventFileHandle.h"
#include "FdControlBlock.h"
#include "OpenFileHandleAsFileDescriptor.h"
#include <net_socket.h>
#include <rtos/EventFlags.h>
#include <netsocket/MsgHeader.h>
#include <net_if.h>
#include <ifaddrs.h>
#include "net_common.h"
#include "mbed-trace/mbed_trace.h"
using ... | 26.341406 | 139 | 0.562239 | ARMmbed |
a6ea5c5e55d956354df66cdd82a4d506bf043b00 | 2,626 | cpp | C++ | OpenSees/SRC/renderer/db.cpp | kuanshi/ductile-fracture | ccb350564df54f5c5ec3a079100effe261b46650 | [
"MIT"
] | 8 | 2019-03-05T16:25:10.000Z | 2020-04-17T14:12:03.000Z | SRC/renderer/db.cpp | steva44/OpenSees | 417c3be117992a108c6bbbcf5c9b63806b9362ab | [
"TCL"
] | null | null | null | SRC/renderer/db.cpp | steva44/OpenSees | 417c3be117992a108c6bbbcf5c9b63806b9362ab | [
"TCL"
] | 3 | 2019-09-21T03:11:11.000Z | 2020-01-19T07:29:37.000Z | /* ****************************************************************** **
** OpenSees - Open System for Earthquake Engineering Simulation **
** Pacific Earthquake Engineering Research Center **
** **
** ... | 40.4 | 72 | 0.353008 | kuanshi |
a6eb023906b4bc6df26ebf5d31be5d6cf5e49212 | 648 | cpp | C++ | problems/codeforces/1504/b-flip-the-bits/code.cpp | brunodccarvalho/competitive | 4177c439174fbe749293b9da3445ce7303bd23c2 | [
"MIT"
] | 7 | 2020-10-15T22:37:10.000Z | 2022-02-26T17:23:49.000Z | problems/codeforces/1504/b-flip-the-bits/code.cpp | brunodccarvalho/competitive | 4177c439174fbe749293b9da3445ce7303bd23c2 | [
"MIT"
] | null | null | null | problems/codeforces/1504/b-flip-the-bits/code.cpp | brunodccarvalho/competitive | 4177c439174fbe749293b9da3445ce7303bd23c2 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
// *****
auto solve() {
int N;
string a, b;
cin >> N >> a >> b;
bool eq = true;
int ones = count(begin(a), end(a), '1');
int zeros = N - ones;
for (int i = N - 1; i >= 0; i--) {
bool same = (a[i] == b[i]) == eq;
if (!same && ... | 16.615385 | 44 | 0.405864 | brunodccarvalho |
a6ebcbad9e9e3e377c2d3a8ed595b32dcc98fce4 | 284,460 | cpp | C++ | App/Il2CppOutputProject/Source/il2cppOutput/Assembly-CSharp_Attr.cpp | JBrentJ/MRDL_Unity_Surfaces | 155c97eb7803af90ef1b7e95dfe7969694507575 | [
"MIT"
] | null | null | null | App/Il2CppOutputProject/Source/il2cppOutput/Assembly-CSharp_Attr.cpp | JBrentJ/MRDL_Unity_Surfaces | 155c97eb7803af90ef1b7e95dfe7969694507575 | [
"MIT"
] | null | null | null | App/Il2CppOutputProject/Source/il2cppOutput/Assembly-CSharp_Attr.cpp | JBrentJ/MRDL_Unity_Surfaces | 155c97eb7803af90ef1b7e95dfe7969694507575 | [
"MIT"
] | null | null | null | #include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <limits>
#include <stdint.h>
// System.Char[]
struct CharU5BU5D_t7B7FC5BC8091AA3B9CB0B29CDD80B5EE9254AA34;
// System.Type[]
struct TypeU5BU5D_t85B10489E46F06CEC7C4B1CCBD0E01FAB6649755;
// System.Runtime.Compil... | 59.911542 | 381 | 0.896959 | JBrentJ |
a6f14a7d1edc2fc844996ba02934d8967a12f826 | 1,373 | hpp | C++ | threadpool.hpp | wangAlpha/SimpleDB | 0b37bd6a2481b266fc894d82d410759c39d06a72 | [
"MIT"
] | 8 | 2020-03-10T09:19:54.000Z | 2021-12-03T08:51:04.000Z | threadpool.hpp | wangAlpha/SimpleDB | 0b37bd6a2481b266fc894d82d410759c39d06a72 | [
"MIT"
] | null | null | null | threadpool.hpp | wangAlpha/SimpleDB | 0b37bd6a2481b266fc894d82d410759c39d06a72 | [
"MIT"
] | 1 | 2021-12-03T08:51:06.000Z | 2021-12-03T08:51:06.000Z | #pragma once
#include "core.hpp"
// 线程池
class ThreadPool {
public:
explicit ThreadPool(size_t const thread_count)
: data_(std::make_shared<data>()) {
for (size_t i = 0; i < thread_count; ++i) {
std::thread([data = data_] {
std::unique_lock<std::mutex> lock(data->mutex_);
for (;;) {
... | 22.883333 | 56 | 0.529497 | wangAlpha |
a6f595667f3d0b817b0ed6fbeac5e85d69eb8116 | 5,842 | cpp | C++ | Uncategorized/oly19practice31.cpp | crackersamdjam/DMOJ-Solutions | 97992566595e2c7bf41b5da9217d8ef61bdd1d71 | [
"MIT"
] | null | null | null | Uncategorized/oly19practice31.cpp | crackersamdjam/DMOJ-Solutions | 97992566595e2c7bf41b5da9217d8ef61bdd1d71 | [
"MIT"
] | null | null | null | Uncategorized/oly19practice31.cpp | crackersamdjam/DMOJ-Solutions | 97992566595e2c7bf41b5da9217d8ef61bdd1d71 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
#define all(x) (x).begin(), (x).end()
#define gc getchar()
#define pc(x) putchar(x)
template<typename T> void scan(T &x){x = 0;bool _=0;T c=gc;_=c==45;c=_?gc:c;while(c<48||c>57)c=gc;for(;c<48||c>57;c=gc);for(;c>47&&c<58;c=gc)x=(x<<3)+(x<<1)+(c&15);x=_?-x:x;}
template<typename T> void print... | 25.290043 | 175 | 0.427422 | crackersamdjam |
a6f905302c83c84fad7f0df79783718e0125ab77 | 4,498 | tpp | C++ | Turtle/src.tpp/Upp_TurtleServer_en-us.tpp | mirek-fidler/Turtle | fd413460c3d92c9a85fc620f6f3db50d96f3be2f | [
"BSD-2-Clause"
] | 2 | 2021-01-07T20:30:16.000Z | 2021-02-11T21:33:07.000Z | Turtle/src.tpp/Upp_TurtleServer_en-us.tpp | mirek-fidler/Turtle | fd413460c3d92c9a85fc620f6f3db50d96f3be2f | [
"BSD-2-Clause"
] | null | null | null | Turtle/src.tpp/Upp_TurtleServer_en-us.tpp | mirek-fidler/Turtle | fd413460c3d92c9a85fc620f6f3db50d96f3be2f | [
"BSD-2-Clause"
] | null | null | null | topic "TurtleServer";
[i448;a25;kKO9;2 $$1,0#37138531426314131252341829483380:class]
[l288;2 $$2,2#27521748481378242620020725143825:desc]
[0 $$3,0#96390100711032703541132217272105:end]
[H6;0 $$4,0#05600065144404261032431302351956:begin]
[i448;a25;kKO9;2 $$5,0#37138531426314131252341829483370:item]
[l288;a4;*@5;1 $$6,6#... | 47.851064 | 97 | 0.644731 | mirek-fidler |
a6fab4381de05117acc1f8055187147dc739c4b2 | 16,310 | cpp | C++ | src/bin2llvmir/analyses/reaching_definitions.cpp | bambooeric/retdec | faa531edfcc2030221856232b30a794f5dbcc503 | [
"MIT",
"Zlib",
"BSD-3-Clause"
] | 1 | 2020-08-29T21:43:47.000Z | 2020-08-29T21:43:47.000Z | src/bin2llvmir/analyses/reaching_definitions.cpp | bambooeric/retdec | faa531edfcc2030221856232b30a794f5dbcc503 | [
"MIT",
"Zlib",
"BSD-3-Clause"
] | null | null | null | src/bin2llvmir/analyses/reaching_definitions.cpp | bambooeric/retdec | faa531edfcc2030221856232b30a794f5dbcc503 | [
"MIT",
"Zlib",
"BSD-3-Clause"
] | null | null | null | /**
* @file src/bin2llvmir/analyses/reaching_definitions.cpp
* @brief Reaching definitions analysis builds UD and DU chains.
* @copyright (c) 2017 Avast Software, licensed under the MIT license
*/
#include <iomanip>
#include <iostream>
#include <set>
#include <sstream>
#include <string>
#include <vector>
#include <ll... | 20.593434 | 83 | 0.605886 | bambooeric |
4700e412fc67c47b1dddda0183a03d6f35c0a14d | 1,730 | cpp | C++ | leetcode/problems/easy/1886-determine-whether-matrix-can-be-obtained-by-rotation.cpp | wingkwong/competitive-programming | e8bf7aa32e87b3a020b63acac20e740728764649 | [
"MIT"
] | 18 | 2020-08-27T05:27:50.000Z | 2022-03-08T02:56:48.000Z | leetcode/problems/easy/1886-determine-whether-matrix-can-be-obtained-by-rotation.cpp | wingkwong/competitive-programming | e8bf7aa32e87b3a020b63acac20e740728764649 | [
"MIT"
] | null | null | null | leetcode/problems/easy/1886-determine-whether-matrix-can-be-obtained-by-rotation.cpp | wingkwong/competitive-programming | e8bf7aa32e87b3a020b63acac20e740728764649 | [
"MIT"
] | 1 | 2020-10-13T05:23:58.000Z | 2020-10-13T05:23:58.000Z | /*
Determine Whether Matrix Can Be Obtained By Rotation
https://leetcode.com/problems/determine-whether-matrix-can-be-obtained-by-rotation/
Given two n x n binary matrices mat and target, return true if it is possible to make mat equal to target by rotating mat in 90-degree increments, or false otherwise.
Example 1:... | 28.833333 | 166 | 0.558382 | wingkwong |
47017aa7672e04bfe6042463eb8d3c51ccec6ced | 2,340 | cpp | C++ | topcoder/srm/src/SRM648/AB.cpp | Johniel/contests | b692eff913c20e2c1eb4ff0ce3cd4c57900594e0 | [
"Unlicense"
] | null | null | null | topcoder/srm/src/SRM648/AB.cpp | Johniel/contests | b692eff913c20e2c1eb4ff0ce3cd4c57900594e0 | [
"Unlicense"
] | 19 | 2016-05-04T02:46:31.000Z | 2021-11-27T06:18:33.000Z | topcoder/srm/src/SRM648/AB.cpp | Johniel/contests | b692eff913c20e2c1eb4ff0ce3cd4c57900594e0 | [
"Unlicense"
] | null | null | null | #include <bits/stdc++.h>
#define each(i, c) for (auto& i : c)
#define unless(cond) if (!(cond))
using namespace std;
typedef long long int lli;
typedef unsigned long long ull;
typedef complex<double> point;
int f(string s)
{
int sum = 0;
for (int i = 0; i < s.size(); ++i) {
for (int j = i + 1; j < s.size();... | 32.054795 | 314 | 0.550427 | Johniel |
47058bc83455519ef6323b4814db9f122db3c7ac | 1,335 | hpp | C++ | Server/include/ServerOwner.hpp | arokasprz100/Proxy_server | 5393613dd2b744814d1151d2aee93767d67646bd | [
"MIT"
] | 3 | 2020-05-18T02:05:34.000Z | 2020-05-18T04:42:46.000Z | Server/include/ServerOwner.hpp | arokasprz100/Proxy_server | 5393613dd2b744814d1151d2aee93767d67646bd | [
"MIT"
] | null | null | null | Server/include/ServerOwner.hpp | arokasprz100/Proxy_server | 5393613dd2b744814d1151d2aee93767d67646bd | [
"MIT"
] | 1 | 2019-06-08T17:07:58.000Z | 2019-06-08T17:07:58.000Z | /**
* @file ServerOwner.hpp
* @brief This file contains the definition of functions responsible for launching, stopping as well as handling of signals in this program.
*/
#ifndef ServerOwner_hpp
#define ServerOwner_hpp
#include "Server.hpp"
#include "ClientConnectionType.hpp"
#include "ServerSettings/Server... | 28.404255 | 140 | 0.745318 | arokasprz100 |
4707e2afe1cc405c8596ef711d31ec93dfcae69f | 549 | hh | C++ | src/nn/src/include/dataset.hh | juliia5m/knu_voice | 1f5d150ded23af4c152b8d20f1ab4ecec77b40e1 | [
"Apache-2.0"
] | 717 | 2015-01-03T15:25:46.000Z | 2022-03-30T12:45:45.000Z | src/nn/src/include/dataset.hh | juliia5m/knu_voice | 1f5d150ded23af4c152b8d20f1ab4ecec77b40e1 | [
"Apache-2.0"
] | 91 | 2015-03-19T09:25:23.000Z | 2021-05-19T08:51:26.000Z | src/nn/src/include/dataset.hh | juliia5m/knu_voice | 1f5d150ded23af4c152b8d20f1ab4ecec77b40e1 | [
"Apache-2.0"
] | 315 | 2015-01-21T00:06:00.000Z | 2022-03-29T08:13:36.000Z | /*
* $File: dataset.hh
* $Date: Sun Sep 08 08:47:09 2013 +0800
* $Author: Xinyu Zhou <zxytim[at]gmail[dot]com>
*/
#pragma once
#include "type.hh"
#include <vector>
typedef std::vector<std::pair<int, real_t> > Instance;
typedef std::vector<Instance> Dataset;
typedef std::vector<Instance *> RefDataset;
ty... | 21.115385 | 56 | 0.679417 | juliia5m |
470b9a04555479a3863c18af99b1010e5cd5b023 | 4,643 | cpp | C++ | uwsim_resources/uwsim_osgocean/src/osgOcean/WaterTrochoids.cpp | epsilonorion/usv_lsa_sim_copy | d189f172dc1d265b7688c7dc8375a65ac4a9c048 | [
"Apache-2.0"
] | 1 | 2020-11-30T09:55:33.000Z | 2020-11-30T09:55:33.000Z | uwsim_resources/uwsim_osgocean/src/osgOcean/WaterTrochoids.cpp | epsilonorion/usv_lsa_sim_copy | d189f172dc1d265b7688c7dc8375a65ac4a9c048 | [
"Apache-2.0"
] | null | null | null | uwsim_resources/uwsim_osgocean/src/osgOcean/WaterTrochoids.cpp | epsilonorion/usv_lsa_sim_copy | d189f172dc1d265b7688c7dc8375a65ac4a9c048 | [
"Apache-2.0"
] | 2 | 2020-11-21T19:50:54.000Z | 2020-12-27T09:35:29.000Z | /*
* This source file is part of the osgOcean library
*
* Copyright (C) 2009 Kim Bale
* Copyright (C) 2009 The University of Hull, UK
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free Software
* Found... | 30.546053 | 88 | 0.556752 | epsilonorion |
470bc8fa13523b710f85f15f6066282fa08b5b52 | 11,105 | cpp | C++ | test/audioplayertest.cpp | p-edelman/Transcribe | efa36298c48522d2fc25db4f26ae192fdbef1e23 | [
"Apache-2.0"
] | 2 | 2017-07-28T17:08:57.000Z | 2017-12-16T10:09:30.000Z | test/audioplayertest.cpp | p-edelman/Transcribe | efa36298c48522d2fc25db4f26ae192fdbef1e23 | [
"Apache-2.0"
] | 1 | 2017-08-19T10:42:08.000Z | 2017-10-08T14:46:34.000Z | test/audioplayertest.cpp | p-edelman/Transcribe | efa36298c48522d2fc25db4f26ae192fdbef1e23 | [
"Apache-2.0"
] | null | null | null | #include "audioplayertest.h"
AudioPlayerTest::AudioPlayerTest() {
m_noise_file = QString(SRCDIR);
m_noise_file += "files/noise.wav";
m_silence_file = QString(SRCDIR);
m_silence_file += "files/silence.wav";
m_player = new AudioPlayer();
m_player->openFile(m_noise_file);
}
void AudioPlayerTest::init() {
... | 33.753799 | 85 | 0.711121 | p-edelman |
470c8ee4b934bb2b70623fc622a9a7c999e71882 | 1,716 | cpp | C++ | default.cpp | LucasGMeneses/OpenGL_labs | ddf753c29cc2fcb07cd0ad04b16f03958b8e452f | [
"MIT"
] | null | null | null | default.cpp | LucasGMeneses/OpenGL_labs | ddf753c29cc2fcb07cd0ad04b16f03958b8e452f | [
"MIT"
] | null | null | null | default.cpp | LucasGMeneses/OpenGL_labs | ddf753c29cc2fcb07cd0ad04b16f03958b8e452f | [
"MIT"
] | 1 | 2020-11-24T16:27:14.000Z | 2020-11-24T16:27:14.000Z | /*
* To compile with windows -lfreeglut -lglu32 -lopengl32
* To compile linux -lglut -lGL -lGLU -lm
*/
#include <GL/freeglut.h> // ou glut.h - GLUT, include glu.h and gl.h
#include <math.h>
#include <stdio.h>
/* Initialize OpenGL Graphics */
void init() {
// Set "clearing" or background color
glClearColor... | 35.75 | 90 | 0.67366 | LucasGMeneses |
471044001670035c699bc00ca1fe395c87bb1098 | 11,597 | hpp | C++ | cisco-ios-xe/ydk/models/cisco_ios_xe/CISCO_ENTITY_EXT_MIB.hpp | CiscoDevNet/ydk-cpp | ef7d75970f2ef1154100e0f7b0a2ee823609b481 | [
"ECL-2.0",
"Apache-2.0"
] | 17 | 2016-12-02T05:45:49.000Z | 2022-02-10T19:32:54.000Z | cisco-ios-xe/ydk/models/cisco_ios_xe/CISCO_ENTITY_EXT_MIB.hpp | CiscoDevNet/ydk-cpp | ef7d75970f2ef1154100e0f7b0a2ee823609b481 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2017-03-27T15:22:38.000Z | 2019-11-05T08:30:16.000Z | cisco-ios-xe/ydk/models/cisco_ios_xe/CISCO_ENTITY_EXT_MIB.hpp | CiscoDevNet/ydk-cpp | ef7d75970f2ef1154100e0f7b0a2ee823609b481 | [
"ECL-2.0",
"Apache-2.0"
] | 11 | 2016-12-02T05:45:52.000Z | 2019-11-07T08:28:17.000Z | #ifndef _CISCO_ENTITY_EXT_MIB_
#define _CISCO_ENTITY_EXT_MIB_
#include <memory>
#include <vector>
#include <string>
#include <ydk/types.hpp>
#include <ydk/errors.hpp>
namespace cisco_ios_xe {
namespace CISCO_ENTITY_EXT_MIB {
class CISCOENTITYEXTMIB : public ydk::Entity
{
public:
CISCOENTITYEXTMIB();
... | 48.320833 | 162 | 0.706303 | CiscoDevNet |
4710910ee61020d26beefb3ffa8bf298b31fbecf | 18,273 | cpp | C++ | euchar/cppbinding/curve.cpp | gbeltramo/euchar | 3852a0800f078b26c125b83e28465ec66212cbec | [
"MIT"
] | null | null | null | euchar/cppbinding/curve.cpp | gbeltramo/euchar | 3852a0800f078b26c125b83e28465ec66212cbec | [
"MIT"
] | null | null | null | euchar/cppbinding/curve.cpp | gbeltramo/euchar | 3852a0800f078b26c125b83e28465ec66212cbec | [
"MIT"
] | null | null | null | #include <pybind11/pybind11.h>
#include <pybind11/stl.h>
#include <numeric> // std::partial_sum, std::iota
#include <algorithm> // std::copy, std::lower_bound
using namespace std;
//================================================
int sum_bool_2d(vector<vector<bool>> matrix)
{
size_t numI... | 30.710924 | 142 | 0.482734 | gbeltramo |
4710d506446d1b3aa5751a08b09a174046f1085a | 36,512 | cpp | C++ | src/renderer/vulkan/renderpass/Culling.cpp | Ryp/Reaper | ccaef540013db7e8bf873db6e597e9036184d100 | [
"MIT"
] | 11 | 2016-11-07T07:47:46.000Z | 2018-07-19T16:04:45.000Z | src/renderer/vulkan/renderpass/Culling.cpp | Ryp/Reaper | ccaef540013db7e8bf873db6e597e9036184d100 | [
"MIT"
] | null | null | null | src/renderer/vulkan/renderpass/Culling.cpp | Ryp/Reaper | ccaef540013db7e8bf873db6e597e9036184d100 | [
"MIT"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
/// Reaper
///
/// Copyright (c) 2015-2022 Thibault Schueller
/// This file is distributed under the MIT License
////////////////////////////////////////////////////////////////////////////////
#include "Culling.h"
#include "renderer/Pre... | 52.16 | 120 | 0.659482 | Ryp |
47116d2b7b8cf557348c96fd02077b17a2dfac8f | 328 | hpp | C++ | test/base_test.hpp | mexicowilly/Espadin | f33580d2c77c5efe92c05de0816ec194e87906f0 | [
"Apache-2.0"
] | null | null | null | test/base_test.hpp | mexicowilly/Espadin | f33580d2c77c5efe92c05de0816ec194e87906f0 | [
"Apache-2.0"
] | null | null | null | test/base_test.hpp | mexicowilly/Espadin | f33580d2c77c5efe92c05de0816ec194e87906f0 | [
"Apache-2.0"
] | null | null | null | #if !defined(ESPADIN_BASE_TEST_HPP_)
#define ESPADIN_BASE_TEST_HPP_
#include <espadin/drive.hpp>
namespace espadin::test
{
class base
{
protected:
static std::string parent_id;
base();
std::string create_doc(const std::string& name);
void trash(const std::string& file_id);
drive drive_;
};
}
... | 13.12 | 52 | 0.70122 | mexicowilly |
4711822041e1091974e0f4c4b595f619fa91a359 | 194 | hh | C++ | ports/games/enigma/dragonfly/patch-src__file.hh | liweitianux/DeltaPorts | b907de0ceb9c0e46ae8961896e97b361aa7c62c0 | [
"BSD-2-Clause-FreeBSD"
] | 31 | 2015-02-06T17:06:37.000Z | 2022-03-08T19:53:28.000Z | ports/games/enigma/dragonfly/patch-src__file.hh | liweitianux/DeltaPorts | b907de0ceb9c0e46ae8961896e97b361aa7c62c0 | [
"BSD-2-Clause-FreeBSD"
] | 236 | 2015-06-29T19:51:17.000Z | 2021-12-16T22:46:38.000Z | ports/games/enigma/dragonfly/patch-src__file.hh | liweitianux/DeltaPorts | b907de0ceb9c0e46ae8961896e97b361aa7c62c0 | [
"BSD-2-Clause-FreeBSD"
] | 52 | 2015-02-06T17:05:36.000Z | 2021-10-21T12:13:06.000Z | --- src/file.hh.orig 2007-09-08 15:20:02.000000000 +0300
+++ src/file.hh
@@ -21,6 +21,7 @@
#include <iosfwd>
#include <vector>
+#include <memory>
#include <list>
#include "ecl_error.hh"
| 17.636364 | 56 | 0.634021 | liweitianux |
4719a37fc250e61a70c06359c27b9d35b8503218 | 3,507 | cpp | C++ | sp/main.cpp | afmenez/xfspp | 202c8b819d6fe9e1a669f6042e9724ad7415cedd | [
"MIT"
] | 25 | 2017-03-30T04:58:10.000Z | 2022-01-26T22:34:03.000Z | sp/main.cpp | afmenez/xfspp | 202c8b819d6fe9e1a669f6042e9724ad7415cedd | [
"MIT"
] | 4 | 2019-08-26T06:14:47.000Z | 2022-02-23T18:48:11.000Z | sp/main.cpp | afmenez/xfspp | 202c8b819d6fe9e1a669f6042e9724ad7415cedd | [
"MIT"
] | 10 | 2017-04-10T09:52:58.000Z | 2021-09-30T13:42:22.000Z | /* sp/main.cpp
*
* Copyright (C) 2007 Antonio Di Monaco
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
#include "xfsspi.h"
#include "win32/synch.hpp"
namespace
{
HINSTANCE dllInstance;
HANDLE mutexHandle = NULL;
... | 22.921569 | 304 | 0.697177 | afmenez |
4719ffba36ee3ce93b51efffee4973d79e571aaa | 729 | cpp | C++ | workspace/hellotest/src/Test.cpp | PeterSommerlad/workshopworkspace | 5e5eb9c42280a4aba27ee196d3003fd54a5e3607 | [
"MIT"
] | 2 | 2021-08-28T11:43:58.000Z | 2021-09-07T08:10:05.000Z | workspace/hellotest/src/Test.cpp | PeterSommerlad/workshopworkspace | 5e5eb9c42280a4aba27ee196d3003fd54a5e3607 | [
"MIT"
] | null | null | null | workspace/hellotest/src/Test.cpp | PeterSommerlad/workshopworkspace | 5e5eb9c42280a4aba27ee196d3003fd54a5e3607 | [
"MIT"
] | null | null | null | #include "sayhello.h"
#include "cute.h"
#include "ide_listener.h"
#include "xml_listener.h"
#include "cute_runner.h"
#include <sstream>
void createDefaultCounterIsZero() {
std::ostringstream out{};
sayhello(out);
ASSERT_EQUAL("Hello, World\n",out.str());
}
bool runAllTests(int argc, char const *argv[]) {
cute::s... | 25.137931 | 65 | 0.717421 | PeterSommerlad |
471aec311c77dbf71682cd75097f37b16465dd65 | 516 | hpp | C++ | dfu-module/include/dfu_main.hpp | jetbeep/libjetbeep-usb | 4fc083dfec9873f435a460f8e3f43c582620d290 | [
"MIT"
] | 5 | 2019-11-29T04:43:32.000Z | 2020-06-12T13:59:44.000Z | dfu-module/include/dfu_main.hpp | jetbeep/libjetbeep-usb | 4fc083dfec9873f435a460f8e3f43c582620d290 | [
"MIT"
] | null | null | null | dfu-module/include/dfu_main.hpp | jetbeep/libjetbeep-usb | 4fc083dfec9873f435a460f8e3f43c582620d290 | [
"MIT"
] | null | null | null | #ifndef DFU_MAIN__HPP
#define DFU_MAIN__HPP
#include "../lib/libjetbeep.hpp"
using namespace std;
enum class DeviceBootState { APP, BOOTLOADER, UNKNOWN };
enum class DeviceConfigState { CONFIGURED, PARTIAL, BLANK, UNKNOWN };
struct DeviceInfo {
DeviceBootState bootState = DeviceBootState::UNKNOWN;
DeviceConfigS... | 21.5 | 69 | 0.773256 | jetbeep |
471b742daaa0fe045f51c979d75f9abb055dd52b | 4,937 | cpp | C++ | codeforces/DIV3_629/e.cpp | Shahraaz/CP_S5 | 2cfb5467841d660c1e47cb8338ea692f10ca6e60 | [
"MIT"
] | 3 | 2020-02-08T10:34:16.000Z | 2020-02-09T10:23:19.000Z | codeforces/DIV3_629/e.cpp | Shahraaz/CP_S5 | 2cfb5467841d660c1e47cb8338ea692f10ca6e60 | [
"MIT"
] | null | null | null | codeforces/DIV3_629/e.cpp | Shahraaz/CP_S5 | 2cfb5467841d660c1e47cb8338ea692f10ca6e60 | [
"MIT"
] | 2 | 2020-10-02T19:05:32.000Z | 2021-09-08T07:01:49.000Z | // Optimise
#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace std;
using namespace __gnu_pbds;
// #define MULTI_TEST
#ifdef LOCAL
#include "/home/shahraaz/bin/debug.h"
#else
#define db(...)
#define pc(...)
#endif
#define f first
#define s second
#de... | 24.685 | 131 | 0.421916 | Shahraaz |
471c640c252c83a002cdd3f0356636abcac55d67 | 607 | cpp | C++ | cozybirdFX/UIIntField.cpp | HenryLoo/cozybirdFX | 0ef522d9a8304c190c8a586a4de6452c6bc9edfe | [
"BSD-3-Clause"
] | null | null | null | cozybirdFX/UIIntField.cpp | HenryLoo/cozybirdFX | 0ef522d9a8304c190c8a586a4de6452c6bc9edfe | [
"BSD-3-Clause"
] | null | null | null | cozybirdFX/UIIntField.cpp | HenryLoo/cozybirdFX | 0ef522d9a8304c190c8a586a4de6452c6bc9edfe | [
"BSD-3-Clause"
] | null | null | null | #include "UIIntField.h"
UIIntField::UIIntField(std::string label, int maxChars, glm::vec2 size,
glm::vec2 position) :
UIField(label, maxChars, size, position)
{
}
void UIIntField::setValue(int value)
{
UIField::setValue(std::to_string(value));
}
bool UIIntField::getValue(int &output)
{
try
{
output = std::st... | 15.175 | 72 | 0.662273 | HenryLoo |
472066a3ebce89d661fa1cc0c86601d26704832e | 15,311 | cpp | C++ | darkroom/src/TrackedObject.cpp | Roboy/roboy_darkroom | ed9572dc92f27c8b40265a1d3369bf270e1fbc30 | [
"BSD-3-Clause"
] | 11 | 2018-03-10T04:32:11.000Z | 2022-02-10T10:55:44.000Z | darkroom/src/TrackedObject.cpp | Roboy/roboy_darkroom | ed9572dc92f27c8b40265a1d3369bf270e1fbc30 | [
"BSD-3-Clause"
] | null | null | null | darkroom/src/TrackedObject.cpp | Roboy/roboy_darkroom | ed9572dc92f27c8b40265a1d3369bf270e1fbc30 | [
"BSD-3-Clause"
] | 1 | 2019-05-04T09:51:01.000Z | 2019-05-04T09:51:01.000Z | #include "darkroom/TrackedObject.hpp"
int LighthouseEstimator::trackedObjectInstance = 0;
bool TrackedObject::m_switch = false;
TrackedObject::TrackedObject(ros::NodeHandlePtr nh):RobotLocalization::RosEkf(*nh,*nh), nh(nh) {
darkroom_statistics_pub = nh->advertise<roboy_middleware_msgs::DarkRoomStatistics>(
... | 42.887955 | 124 | 0.541506 | Roboy |
47254dd68dab3b3ce09b22f1094ff9d2a84e038c | 1,032 | cpp | C++ | Session 2019/DP/Jumps/minjumps.cpp | JanaSabuj/Leetcode-solutions | 78d10926b15252a969df598fbf1f9b69b2760b79 | [
"MIT"
] | 13 | 2019-10-12T14:36:32.000Z | 2021-06-08T04:26:30.000Z | Session 2019/DP/Jumps/minjumps.cpp | JanaSabuj/Leetcode-solutions | 78d10926b15252a969df598fbf1f9b69b2760b79 | [
"MIT"
] | 1 | 2020-02-29T14:02:39.000Z | 2020-02-29T14:02:39.000Z | Session 2019/DP/Jumps/minjumps.cpp | JanaSabuj/Leetcode-solutions | 78d10926b15252a969df598fbf1f9b69b2760b79 | [
"MIT"
] | 3 | 2020-02-08T12:04:28.000Z | 2020-03-17T11:53:00.000Z | //https://practice.geeksforgeeks.org/problems/minimum-number-of-jumps/0
#include <bits/stdc++.h>
using namespace std;
int t[10000007];
bool gflag = false;
int jumps(const vector<int>& arr, int i, int j, int n){
if(i == j){
gflag = true;
return 0;
}
if(t[i] != -1)
return ... | 19.111111 | 71 | 0.437016 | JanaSabuj |
4726bf017d83ca5a8e1b88c88689f30c3b3585d6 | 381 | cpp | C++ | src/custom/ucrt/common/stdio/fputc.cpp | ntoskrnl7/crtsys | 2948afde9496d4e873dc067d1d0e8a545ce894bc | [
"MIT"
] | null | null | null | src/custom/ucrt/common/stdio/fputc.cpp | ntoskrnl7/crtsys | 2948afde9496d4e873dc067d1d0e8a545ce894bc | [
"MIT"
] | null | null | null | src/custom/ucrt/common/stdio/fputc.cpp | ntoskrnl7/crtsys | 2948afde9496d4e873dc067d1d0e8a545ce894bc | [
"MIT"
] | null | null | null | #include "../../../common/crt/crt_internal.h"
EXTERN_C
int __cdecl fputc(int const c, FILE *const stream) {
if (stream == stdout) {
DbgPrintEx(DPFLTR_IHVDRIVER_ID, DPFLTR_INFO_LEVEL, "%c", c);
return c;
} else if (stream == stderr) {
DbgPrintEx(DPFLTR_IHVDRIVER_ID, DPFLTR_ERROR_LEVEL, "%c", c);
re... | 25.4 | 65 | 0.645669 | ntoskrnl7 |
4728461966a6bdc3f46f8f6eefba89e8d41eec6a | 7,013 | cpp | C++ | src/tibb/src/TiTitaniumObject.cpp | ssaracut/titanium_mobile_blackberry | 952a8100086dcc625584e33abc2dc03340cbb219 | [
"Apache-2.0"
] | 3 | 2015-03-07T15:41:18.000Z | 2015-11-05T05:07:45.000Z | src/tibb/src/TiTitaniumObject.cpp | ssaracut/titanium_mobile_blackberry | 952a8100086dcc625584e33abc2dc03340cbb219 | [
"Apache-2.0"
] | 1 | 2015-04-12T11:50:33.000Z | 2015-04-12T21:13:19.000Z | src/tibb/src/TiTitaniumObject.cpp | ssaracut/titanium_mobile_blackberry | 952a8100086dcc625584e33abc2dc03340cbb219 | [
"Apache-2.0"
] | 5 | 2015-01-13T17:14:41.000Z | 2015-05-25T16:54:26.000Z | /**
* Appcelerator Titanium Mobile
* Copyright (c) 2009-2012 by Appcelerator, Inc. All Rights Reserved.
* Licensed under the terms of the Apache Public License
* Please see the LICENSE included with this distribution for details.
*/
#include "TiTitaniumObject.h"
#include "TiAccelerometer.h"
#include "TiBufferObj... | 30.491304 | 116 | 0.626551 | ssaracut |
472a25b426aa42adfa5075f692addc5851541aee | 658 | cpp | C++ | contests/Kickstart/2020/Round_B/Bus_Routes/mian.cpp | cristicretu/cplusplus | 87f5980271431b11ae1b8c14ce6d2c620a404488 | [
"MIT"
] | 1 | 2022-01-27T17:13:08.000Z | 2022-01-27T17:13:08.000Z | contests/Kickstart/2020/Round_B/Bus_Routes/mian.cpp | cristicretu/cplusplus | 87f5980271431b11ae1b8c14ce6d2c620a404488 | [
"MIT"
] | null | null | null | contests/Kickstart/2020/Round_B/Bus_Routes/mian.cpp | cristicretu/cplusplus | 87f5980271431b11ae1b8c14ce6d2c620a404488 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
typedef long long ll;
int n;
ll d;
ll v[1001];
inline bool ok(ll mb) {
for (int i = 0; i < n; ++i) {
if (mb % v[i]) {
mb += (v[i] - mb % v[i]);
}
}
return mb <= d;
}
void solve() {
std::cin >> n >> d;
for (int i = 0; i < n; ++i) {
std::cin >> v[i];
}
ll lb ... | 12.901961 | 34 | 0.390578 | cristicretu |
472a6b5baf59994c83f009a7b64434aab018bc19 | 4,578 | cc | C++ | arms/src/model/ListClusterFromGrafanaResult.cc | iamzken/aliyun-openapi-cpp-sdk | 3c991c9ca949b6003c8f498ce7a672ea88162bf1 | [
"Apache-2.0"
] | 89 | 2018-02-02T03:54:39.000Z | 2021-12-13T01:32:55.000Z | arms/src/model/ListClusterFromGrafanaResult.cc | iamzken/aliyun-openapi-cpp-sdk | 3c991c9ca949b6003c8f498ce7a672ea88162bf1 | [
"Apache-2.0"
] | 89 | 2018-03-14T07:44:54.000Z | 2021-11-26T07:43:25.000Z | arms/src/model/ListClusterFromGrafanaResult.cc | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 69 | 2018-01-22T09:45:52.000Z | 2022-03-28T07:58:38.000Z | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | 49.76087 | 127 | 0.800568 | iamzken |
472c13c8bac9a4f62364f5a302fcda89a0af9315 | 1,776 | cpp | C++ | src/dot.cpp | Xazax-hun/conceptanalysis | d552889345ad2c8aff294bff21b1788f126b312a | [
"Apache-2.0"
] | null | null | null | src/dot.cpp | Xazax-hun/conceptanalysis | d552889345ad2c8aff294bff21b1788f126b312a | [
"Apache-2.0"
] | null | null | null | src/dot.cpp | Xazax-hun/conceptanalysis | d552889345ad2c8aff294bff21b1788f126b312a | [
"Apache-2.0"
] | null | null | null | #include "include/dot.h"
#include <sstream>
namespace {
Concept minimizedForDisplay(int conc, const Lattice& l, const ConceptContext& data) {
std::set<int> preds;
std::set<int> succs;
for (auto e : l.less) {
if (conc == e.second)
preds.insert(e.first);
if (conc == e.first)
... | 29.6 | 85 | 0.561937 | Xazax-hun |
472c5da2e930d392c22ee1c4e325cce03f433956 | 1,241 | cpp | C++ | lanqiao/2022/b.cpp | Zilanlann/cp-code | 0500acbf6fb05a66f7bdbdf0e0a8bd6170126a4a | [
"MIT"
] | 3 | 2022-03-30T14:14:57.000Z | 2022-03-31T04:30:32.000Z | lanqiao/2022/b.cpp | Zilanlann/cp-code | 0500acbf6fb05a66f7bdbdf0e0a8bd6170126a4a | [
"MIT"
] | null | null | null | lanqiao/2022/b.cpp | Zilanlann/cp-code | 0500acbf6fb05a66f7bdbdf0e0a8bd6170126a4a | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
bool solve(string v) {
for (int i = 0; i < 8 - 2; i++) {
if (v[i + 2] == v[i + 1] + 1 && v[i + 1] == v[i] + 1) {
return true;
}
}
return false;
}
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
cout.tie(0);
//IO
//freopen("bout.t... | 18.522388 | 78 | 0.362611 | Zilanlann |
472f9ace358db5d80a235e2ea0ee961ee0f74f09 | 970 | cpp | C++ | lib/homie/node/node.cpp | 2SmartCloud/2smart-cloud-esp8266-boilerplate | c40dace65f5ce5f27677b039ae8bb1e123a66723 | [
"MIT"
] | 2 | 2021-11-16T15:21:09.000Z | 2021-11-19T17:07:37.000Z | lib/homie/node/node.cpp | 2SmartCloud/2smart-cloud-esp8266-sonoff-s20 | 721e6f159fe4d7b2a630e21cd012507d8bb5085b | [
"MIT"
] | null | null | null | lib/homie/node/node.cpp | 2SmartCloud/2smart-cloud-esp8266-sonoff-s20 | 721e6f159fe4d7b2a630e21cd012507d8bb5085b | [
"MIT"
] | null | null | null | #include "node.h"
#include <utility>
Node::Node(const char* name, const char* id, Device* device) {
name_ = name;
id_ = id;
device_ = device;
}
bool Node::Init(Homie* homie) {
homie_ = homie;
homie->Publish(*this, "name", name_, true);
homie->Publish(*this, "state", state_, true);
bool st... | 26.944444 | 92 | 0.63299 | 2SmartCloud |
47325ac39c029ba65ebc59db7c4736ee05d3eb80 | 282 | cpp | C++ | Schweizer-Messer/numpy_eigen/src/autogen_test_module/test_D_5_float.cpp | mmmspatz/kalibr | e2e881e5d25d378f0c500c67e00532ee1c1082fd | [
"BSD-4-Clause"
] | null | null | null | Schweizer-Messer/numpy_eigen/src/autogen_test_module/test_D_5_float.cpp | mmmspatz/kalibr | e2e881e5d25d378f0c500c67e00532ee1c1082fd | [
"BSD-4-Clause"
] | null | null | null | Schweizer-Messer/numpy_eigen/src/autogen_test_module/test_D_5_float.cpp | mmmspatz/kalibr | e2e881e5d25d378f0c500c67e00532ee1c1082fd | [
"BSD-4-Clause"
] | null | null | null | #include <eigen3/Eigen/Core>
#include <numpy_eigen/boost_python_headers.hpp>
Eigen::Matrix<float, Eigen::Dynamic, 5> test_float_D_5(const Eigen::Matrix<float, Eigen::Dynamic, 5> & M)
{
return M;
}
void export_float_D_5()
{
boost::python::def("test_float_D_5",test_float_D_5);
}
| 21.692308 | 105 | 0.744681 | mmmspatz |
47343ea6154bcd0c7bc45a4d0d7dfe96fd63044f | 3,974 | hpp | C++ | palette.hpp | rsenn/qjs-opencv | 8035073ad8360636b816700325d92f4934e47e63 | [
"MIT"
] | null | null | null | palette.hpp | rsenn/qjs-opencv | 8035073ad8360636b816700325d92f4934e47e63 | [
"MIT"
] | null | null | null | palette.hpp | rsenn/qjs-opencv | 8035073ad8360636b816700325d92f4934e47e63 | [
"MIT"
] | null | null | null | #ifndef PALETTE_HPP
#define PALETTE_HPP
#include "jsbindings.hpp"
#include "js_array.hpp"
#include <opencv2/core/hal/interface.h>
#include <opencv2/core/mat.hpp>
#include <opencv2/core/mat.inl.hpp>
#include <cstdio>
template<class Container>
static inline void
palette_read(JSContext* ctx, JSValueConst arr, Container&... | 28.797101 | 142 | 0.624811 | rsenn |