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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
9892ef902a25ceaccf9a96230a579e8f3533dd08 | 620 | hpp | C++ | src/main/cpp/pdf_tin/DocumentCreationError.hpp | tomault/pdf_tin | 5d33d87a622327fd5cb50e895435b454c02ecf06 | [
"Apache-2.0"
] | null | null | null | src/main/cpp/pdf_tin/DocumentCreationError.hpp | tomault/pdf_tin | 5d33d87a622327fd5cb50e895435b454c02ecf06 | [
"Apache-2.0"
] | null | null | null | src/main/cpp/pdf_tin/DocumentCreationError.hpp | tomault/pdf_tin | 5d33d87a622327fd5cb50e895435b454c02ecf06 | [
"Apache-2.0"
] | null | null | null | #ifndef __PDF_TIN__DOCUMENTCREATIONERROR_HPP__
#define __PDF_TIN__DOCUMENTCREATIONERROR_HPP__
#include <exception>
#include <string>
namespace pdf_tin {
class DocumentCreationError : public std::exception {
public:
DocumentCreationError(const std::string& source,
const std::string& details);
Document... | 23.846154 | 70 | 0.730645 | tomault |
98934539dc932761deef2fe8b71535036ff89ed6 | 500 | cpp | C++ | Common/BackupFileName.cpp | BartoszMilewski/CodeCoop | 7d29f53ccf65b0d29ea7d6781a74507b52c08d0d | [
"MIT"
] | 67 | 2018-03-02T10:50:02.000Z | 2022-03-23T18:20:29.000Z | Common/BackupFileName.cpp | BartoszMilewski/CodeCoop | 7d29f53ccf65b0d29ea7d6781a74507b52c08d0d | [
"MIT"
] | null | null | null | Common/BackupFileName.cpp | BartoszMilewski/CodeCoop | 7d29f53ccf65b0d29ea7d6781a74507b52c08d0d | [
"MIT"
] | 9 | 2018-03-01T16:38:28.000Z | 2021-03-02T16:17:09.000Z | //----------------------------------
// (c) Reliable Software, 2008
//----------------------------------
#include "precompiled.h"
#include "BackupFileName.h"
#include "RegFunc.h"
#include <TimeStamp.h>
#include <File/File.h>
BackupFileName::BackupFileName ()
{
_fileName = "Code Co-op Backup for ";
_fileName += R... | 22.727273 | 43 | 0.592 | BartoszMilewski |
9894888fd6231d04f5f4963037c49d634dc9c50c | 609 | cpp | C++ | Ex2/Ex2.cpp | SAE-Geneve/debug-exam-past-Okyriio | c5687df1522b800006d8e6414b18d96af1f1c46a | [
"MIT"
] | null | null | null | Ex2/Ex2.cpp | SAE-Geneve/debug-exam-past-Okyriio | c5687df1522b800006d8e6414b18d96af1f1c46a | [
"MIT"
] | null | null | null | Ex2/Ex2.cpp | SAE-Geneve/debug-exam-past-Okyriio | c5687df1522b800006d8e6414b18d96af1f1c46a | [
"MIT"
] | null | null | null | #include <iostream>
void swaps(int* a, int* b)
{
//This function swaps the values contained in the two pointers
int c = *a ;
a = b;
b = &c;
}
void print_values(int* a, int* b)
{
//This function shows the values and their pointer
std::cout << "The value of a is: "<< *a << " and is contained in a... | 17.4 | 89 | 0.558292 | SAE-Geneve |
989523041e2f023d91c8dd15cd89d3ff33cd2af9 | 2,012 | cpp | C++ | ww-example/Example.cpp | koalefant/yasli | 2096ed8a59ae9c7da467d8de8f1eb811a989dc39 | [
"MIT"
] | 8 | 2021-07-08T18:06:33.000Z | 2022-01-17T18:29:57.000Z | ww-example/Example.cpp | koalefant/yasli | 2096ed8a59ae9c7da467d8de8f1eb811a989dc39 | [
"MIT"
] | null | null | null | ww-example/Example.cpp | koalefant/yasli | 2096ed8a59ae9c7da467d8de8f1eb811a989dc39 | [
"MIT"
] | 1 | 2021-12-31T15:52:56.000Z | 2021-12-31T15:52:56.000Z | #include "ww/Win32/Types.h"
#include "ww/Application.h"
#include "ww/Window.h"
#include "ww/VBox.h"
#include "ww/HBox.h"
#include "ww/VSplitter.h"
#include "ww/HSplitter.h"
#include "ww/ScrolledWindow.h"
#include "ww/Tabs.h"
#include "ww/PropertyTree.h"
#include "ww/Frame.h"
#include "ww/Serialization.... | 21.634409 | 98 | 0.686382 | koalefant |
989c7c48742d8bc4d937eb781473c188d3afa57a | 803 | cpp | C++ | src/hal/STM32F0/exti/exti.example.cpp | ghsecuritylab/omef | a6b2dec8d57545c3804174883e582080ef6f3af9 | [
"MIT"
] | null | null | null | src/hal/STM32F0/exti/exti.example.cpp | ghsecuritylab/omef | a6b2dec8d57545c3804174883e582080ef6f3af9 | [
"MIT"
] | null | null | null | src/hal/STM32F0/exti/exti.example.cpp | ghsecuritylab/omef | a6b2dec8d57545c3804174883e582080ef6f3af9 | [
"MIT"
] | null | null | null | #include "common/assert.h"
#include "gpio/gpio.hpp"
#include "exti/exti.hpp"
#include "FreeRTOS.h"
#include "task.h"
using namespace hal;
static void main_task(void *pvParameters)
{
gpio *green_led = (gpio *)pvParameters;
while(1)
{
green_led->toggle();
vTaskDelay(500);
}
}
static void exti_cb(exti *exti, vo... | 19.585366 | 68 | 0.693649 | ghsecuritylab |
989e38a565b2462e4f35217dbda08e6be37e6825 | 11,774 | cpp | C++ | NOLF/ClientShellDLL/PolyDebrisFX.cpp | rastrup/no-one-lives-forever | dfbe22fb4cc01bf7e5f54a79174fa8f108dd2f54 | [
"Unlicense"
] | 65 | 2015-02-28T03:35:14.000Z | 2021-09-23T05:43:33.000Z | NOLF/ClientShellDLL/PolyDebrisFX.cpp | rastrup/no-one-lives-forever | dfbe22fb4cc01bf7e5f54a79174fa8f108dd2f54 | [
"Unlicense"
] | null | null | null | NOLF/ClientShellDLL/PolyDebrisFX.cpp | rastrup/no-one-lives-forever | dfbe22fb4cc01bf7e5f54a79174fa8f108dd2f54 | [
"Unlicense"
] | 27 | 2015-02-28T07:42:01.000Z | 2022-02-11T01:35:20.000Z | // ----------------------------------------------------------------------- //
//
// MODULE : PolyDebrisFX.cpp
//
// PURPOSE : Polygon Debris - Implementation
//
// CREATED : 7/16/99
//
// (c) 1999 Monolith Productions, Inc. All Rights Reserved
//
// ----------------------------------------------------------... | 30.423773 | 137 | 0.585612 | rastrup |
989e432a333827c529ba4900bacad769ee142254 | 9,883 | cpp | C++ | src/mame/drivers/spg2xx_digimake.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | 26 | 2015-03-31T06:25:51.000Z | 2021-12-14T09:29:04.000Z | src/mame/drivers/spg2xx_digimake.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | null | null | null | src/mame/drivers/spg2xx_digimake.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | 10 | 2015-03-27T05:45:51.000Z | 2022-02-04T06:57:36.000Z | // license:BSD-3-Clause
// copyright-holders:Ryan Holtz, David Haywood
// Digi Makeover - this uses a camera and touchpad, both currently unsupported
// - why do we need a hack to boot?
#include "emu.h"
#include "includes/spg2xx.h"
#include "machine/nvram.h"
class spg2xx_game_digimake_state : public spg2xx_game_sta... | 44.719457 | 184 | 0.672468 | Robbbert |
989f98926969fd848eb2b8ed6373e038802a29db | 75,185 | cpp | C++ | lammps-master/src/read_data.cpp | rajkubp020/helloword | 4bd22691de24b30a0f5b73821c35a7ac0666b034 | [
"MIT"
] | null | null | null | lammps-master/src/read_data.cpp | rajkubp020/helloword | 4bd22691de24b30a0f5b73821c35a7ac0666b034 | [
"MIT"
] | null | null | null | lammps-master/src/read_data.cpp | rajkubp020/helloword | 4bd22691de24b30a0f5b73821c35a7ac0666b034 | [
"MIT"
] | null | null | null | /* ----------------------------------------------------------------------
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
http://lammps.sandia.gov, Sandia National Laboratories
Steve Plimpton, sjplimp@sandia.gov
Copyright (2003) Sandia Corporation. Under the terms of Contract
DE-AC04... | 34.221666 | 90 | 0.58384 | rajkubp020 |
98a0574de5a4f3f68a4dfff7fd588030514b7b20 | 1,480 | cpp | C++ | LookupVerb/src/main/LookupVerb.cpp | 3bananas4/Spanish | af8ca51a746ef4f14773200ddd7edee7f64253b3 | [
"MIT"
] | null | null | null | LookupVerb/src/main/LookupVerb.cpp | 3bananas4/Spanish | af8ca51a746ef4f14773200ddd7edee7f64253b3 | [
"MIT"
] | null | null | null | LookupVerb/src/main/LookupVerb.cpp | 3bananas4/Spanish | af8ca51a746ef4f14773200ddd7edee7f64253b3 | [
"MIT"
] | null | null | null | //============================================================================
// Name : LookupVerb.cpp
// Author :
// Version :
// Copyright : Your copyright notice
// Description : Reads in a file, supplied on command line
// builds a dictionary of english-> spanish verb infinitives
// rece... | 25.964912 | 79 | 0.595946 | 3bananas4 |
98a07395436b7ba2cd3f06bd7e8afe71db663603 | 1,325 | hpp | C++ | include/paal/utils/less_pointees.hpp | Kommeren/AA | e537b58d50e93d4a72709821b9ea413008970c6b | [
"BSL-1.0"
] | null | null | null | include/paal/utils/less_pointees.hpp | Kommeren/AA | e537b58d50e93d4a72709821b9ea413008970c6b | [
"BSL-1.0"
] | null | null | null | include/paal/utils/less_pointees.hpp | Kommeren/AA | e537b58d50e93d4a72709821b9ea413008970c6b | [
"BSL-1.0"
] | 1 | 2021-02-24T06:23:56.000Z | 2021-02-24T06:23:56.000Z | //=======================================================================
// Copyright (c) 2013 Piotr Wygocki
//
// 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)
//=================================================... | 24.537037 | 79 | 0.623396 | Kommeren |
98a19b4c0b10faa4440a3adf641b0a98e0da9710 | 663 | cpp | C++ | mainProject/SrcUI/AboutGui.cpp | WelinLee/qt_cmake_project | b69621a82c5a68ca23c5a216d74ddfea5051bae7 | [
"MIT"
] | 1 | 2019-02-27T07:31:24.000Z | 2019-02-27T07:31:24.000Z | mainProject/SrcUI/AboutGui.cpp | WelinLee/qt_cmake_project | b69621a82c5a68ca23c5a216d74ddfea5051bae7 | [
"MIT"
] | null | null | null | mainProject/SrcUI/AboutGui.cpp | WelinLee/qt_cmake_project | b69621a82c5a68ca23c5a216d74ddfea5051bae7 | [
"MIT"
] | null | null | null | #include "AboutGui.h"
#include "ui_AboutGui.h"
#include <QPushButton>
#define qAppDir QCoreApplication::applicationDirPath()
AboutGUI::AboutGUI(QWidget *parent)
: QWidget(parent),
ui(new Ui::AboutGUI)
{
ui->setupUi(this);
this->setWindowTitle(QStringLiteral("About Us"));
this->setWindowModality(... | 20.71875 | 80 | 0.699849 | WelinLee |
98a200027baf0798e03d961d389bae66abdafacb | 43,087 | hh | C++ | dune/ax1/acme2_cyl/common/acme2_cyl_simulation.hh | pederpansen/dune-ax1 | 152153824d95755a55bdd4fba80686863e928196 | [
"BSD-3-Clause"
] | null | null | null | dune/ax1/acme2_cyl/common/acme2_cyl_simulation.hh | pederpansen/dune-ax1 | 152153824d95755a55bdd4fba80686863e928196 | [
"BSD-3-Clause"
] | null | null | null | dune/ax1/acme2_cyl/common/acme2_cyl_simulation.hh | pederpansen/dune-ax1 | 152153824d95755a55bdd4fba80686863e928196 | [
"BSD-3-Clause"
] | null | null | null | /*
* acme2_cyl_fully_coupled.hh
*
* Created on: Dec 15, 2011
* Author: jpods
*/
#ifndef DUNE_AX1_ACME2CYL_SIMULATION_HH
#define DUNE_AX1_ACME2CYL_SIMULATION_HH
#include <dune/ax1/common/tools.hh>
#include <dune/ax1/common/ax1_boundaryfunction_membranefunction_adapter.hh>
template<typename Traits,typename ... | 45.886049 | 130 | 0.575905 | pederpansen |
98a22b41d985c8ab13bb12fed4efe0b406a71953 | 524 | hpp | C++ | PlanetLab/src/engine/Skybox.hpp | Thomas-Zorroche/Procedural-Planets | 44f8a9fa3120d11d137e4f499142333e81ed68ce | [
"MIT"
] | null | null | null | PlanetLab/src/engine/Skybox.hpp | Thomas-Zorroche/Procedural-Planets | 44f8a9fa3120d11d137e4f499142333e81ed68ce | [
"MIT"
] | null | null | null | PlanetLab/src/engine/Skybox.hpp | Thomas-Zorroche/Procedural-Planets | 44f8a9fa3120d11d137e4f499142333e81ed68ce | [
"MIT"
] | null | null | null | #pragma once
#include "engine/ResourceManager.hpp"
#include "opengl/Mesh.hpp"
#include "common.hpp"
#include "engine/Material.hpp"
#include "opengl/Shader.h"
#include "engine/Renderer.hpp"
namespace PlanetLab
{
class Skybox
{
public:
Skybox(const std::vector<std::string>& faces);
void GenerateMesh();
void Dra... | 14.162162 | 47 | 0.721374 | Thomas-Zorroche |
98a4b254ef4011043ec5f3eb6c2eca314ac5bd4a | 26,063 | cpp | C++ | src/xml_parse.cpp | incoder1/libio | fbfd83fe31ca59a69670e5269f5847b2b4c6c553 | [
"BSL-1.0"
] | 14 | 2018-06-12T15:42:43.000Z | 2022-02-28T16:19:20.000Z | src/xml_parse.cpp | incoder1/libio | fbfd83fe31ca59a69670e5269f5847b2b4c6c553 | [
"BSL-1.0"
] | null | null | null | src/xml_parse.cpp | incoder1/libio | fbfd83fe31ca59a69670e5269f5847b2b4c6c553 | [
"BSL-1.0"
] | null | null | null | /*
*
* Copyright (c) 2016-2019
* Viktor Gubin
*
* Use, modification and distribution are subject to the
* Boost Software License, Version 1.0. (See accompanying file
* LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
*
*/
#include "stdafx.hpp"
#include "xml_parse.hpp"
#include "stri... | 26.352882 | 133 | 0.654146 | incoder1 |
98a4d7e8b144fc20f9691e14bc3c986e55e287a3 | 1,374 | cpp | C++ | kernel/klib/misc/math_hacks.cpp | martin-hughes/project_azalea | 28aa0183cde350073cf0167df3f51435ea409c8b | [
"MIT"
] | 13 | 2017-12-20T00:02:38.000Z | 2022-01-07T11:18:36.000Z | kernel/klib/misc/math_hacks.cpp | martin-hughes/project_azalea | 28aa0183cde350073cf0167df3f51435ea409c8b | [
"MIT"
] | 21 | 2016-09-21T16:50:39.000Z | 2020-04-12T12:58:19.000Z | kernel/klib/misc/math_hacks.cpp | martin-hughes/project_azalea | 28aa0183cde350073cf0167df3f51435ea409c8b | [
"MIT"
] | 6 | 2017-12-20T00:02:27.000Z | 2019-03-21T16:28:24.000Z | /// @file
/// @brief Simple math functions that are useful.
#include "math_hacks.h"
#ifdef _MSVC_LANG
#include <intrin.h>
#endif
/// @brief Round a number to the next-highest power of two.
///
/// @param input The number to round up.
///
/// @return Input rounded up to the next highest power of two - or itself, if i... | 21.138462 | 119 | 0.673945 | martin-hughes |
f0f657b04c2e600cd4574d10968c62acb5025a92 | 18,046 | cpp | C++ | neo/tools/kademlia/kademlia/Kademlia.cpp | vic3t3chn0/OpenKrown | 201c8fb6895cb0439e39c984d2fbc2c2eaf185b4 | [
"MIT"
] | 1 | 2018-11-07T22:44:23.000Z | 2018-11-07T22:44:23.000Z | neo/tools/kademlia/kademlia/Kademlia.cpp | vic3t3chn0/OpenKrown | 201c8fb6895cb0439e39c984d2fbc2c2eaf185b4 | [
"MIT"
] | null | null | null | neo/tools/kademlia/kademlia/Kademlia.cpp | vic3t3chn0/OpenKrown | 201c8fb6895cb0439e39c984d2fbc2c2eaf185b4 | [
"MIT"
] | null | null | null | //
// This file is part of the aMule Project.
//
// Copyright (c) 2004-2011 Angel Vidal ( kry@amule.org )
// Copyright (c) 2004-2011 aMule Team ( admin@amule.org / http://www.amule.org )
// Copyright (c) 2003-2011 Barry Dunne (http://www.emule-project.net)
//
// Any parts of this program derived from the xMule, lMule o... | 34.703846 | 149 | 0.714895 | vic3t3chn0 |
f0f65a6014974d9598e9b3ffaaf113ad512bd731 | 3,848 | cc | C++ | net/base/priority_queue_unittest.cc | Scopetta197/chromium | b7bf8e39baadfd9089de2ebdc0c5d982de4a9820 | [
"BSD-3-Clause"
] | 212 | 2015-01-31T11:55:58.000Z | 2022-02-22T06:35:11.000Z | net/base/priority_queue_unittest.cc | Scopetta197/chromium | b7bf8e39baadfd9089de2ebdc0c5d982de4a9820 | [
"BSD-3-Clause"
] | 5 | 2015-03-27T14:29:23.000Z | 2019-09-25T13:23:12.000Z | net/base/priority_queue_unittest.cc | Scopetta197/chromium | b7bf8e39baadfd9089de2ebdc0c5d982de4a9820 | [
"BSD-3-Clause"
] | 221 | 2015-01-07T06:21:24.000Z | 2022-02-11T02:51:12.000Z | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/base/priority_queue.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace net {
namespace {
typedef PriorityQueue<int>::Priorit... | 28.932331 | 73 | 0.66684 | Scopetta197 |
f0fa72f58c4b7b8ccb451322ec10619757e48b47 | 1,529 | hpp | C++ | src/core/sinuscontroller.hpp | Yorokobii/SpLiCE | 4e016b04c04a14154be5c60ca3843300b69d22fa | [
"Apache-2.0"
] | null | null | null | src/core/sinuscontroller.hpp | Yorokobii/SpLiCE | 4e016b04c04a14154be5c60ca3843300b69d22fa | [
"Apache-2.0"
] | null | null | null | src/core/sinuscontroller.hpp | Yorokobii/SpLiCE | 4e016b04c04a14154be5c60ca3843300b69d22fa | [
"Apache-2.0"
] | null | null | null | #ifndef SINCELL_CONTROLLER_HPP
#define SINCELL_CONTROLLER_HPP
#include <mecacell/mecacell.h>
#include <random>
#include <string>
struct SinController {
public:
SinController() {}
static SinController random() {
return SinController();
}
double getInput(const std::string &input, const int& verb = 1) cons... | 23.166667 | 95 | 0.621321 | Yorokobii |
f0fc4510fda8347aa3457a957632461ac6db4a17 | 3,555 | cc | C++ | mojo/system/data_pipe_consumer_dispatcher.cc | SlimKatLegacy/android_external_chromium_org | ee480ef5039d7c561fc66ccf52169ead186f1bea | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 2 | 2015-03-04T02:36:53.000Z | 2016-06-25T11:22:17.000Z | mojo/system/data_pipe_consumer_dispatcher.cc | j4ckfrost/android_external_chromium_org | a1a3dad8b08d1fcf6b6b36c267158ed63217c780 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | mojo/system/data_pipe_consumer_dispatcher.cc | j4ckfrost/android_external_chromium_org | a1a3dad8b08d1fcf6b6b36c267158ed63217c780 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 4 | 2015-02-09T08:49:30.000Z | 2017-08-26T02:03:34.000Z | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "mojo/system/data_pipe_consumer_dispatcher.h"
#include "base/logging.h"
#include "mojo/system/data_pipe.h"
#include "mojo/system/memory.h"
name... | 30.646552 | 80 | 0.753305 | SlimKatLegacy |
f0fd2f238a433d471250797b76f06a9c20eff921 | 6,951 | cpp | C++ | Granite/third_party/oboe/src/common/AudioStream.cpp | dmrlawson/parallel-rdp | f18e00728bb45e3a769ab7ad3b9064359ef82209 | [
"MIT"
] | 1 | 2020-03-02T04:50:18.000Z | 2020-03-02T04:50:18.000Z | Granite/third_party/oboe/src/common/AudioStream.cpp | dmrlawson/parallel-rdp | f18e00728bb45e3a769ab7ad3b9064359ef82209 | [
"MIT"
] | null | null | null | Granite/third_party/oboe/src/common/AudioStream.cpp | dmrlawson/parallel-rdp | f18e00728bb45e3a769ab7ad3b9064359ef82209 | [
"MIT"
] | null | null | null | /*
* Copyright 2015 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | 32.787736 | 91 | 0.664796 | dmrlawson |
f0ff98642109064c50dc6c93381de368e9918ce3 | 4,648 | cc | C++ | libspindle/adt/Forest/EliminationForest.cc | Kumfert/Spindle | d5f2cab92c86c547efbf09fb30be9d478da04332 | [
"BSD-4-Clause",
"FSFAP"
] | null | null | null | libspindle/adt/Forest/EliminationForest.cc | Kumfert/Spindle | d5f2cab92c86c547efbf09fb30be9d478da04332 | [
"BSD-4-Clause",
"FSFAP"
] | null | null | null | libspindle/adt/Forest/EliminationForest.cc | Kumfert/Spindle | d5f2cab92c86c547efbf09fb30be9d478da04332 | [
"BSD-4-Clause",
"FSFAP"
] | 1 | 2021-01-19T16:36:28.000Z | 2021-01-19T16:36:28.000Z | //
// EliminationForest.cc
//
// $Id: EliminationForest.cc,v 1.2 2000/02/18 01:31:44 kumfert Exp $
//
// Gary Kumfert, Old Dominion University
// Copyright(c) 1997, Old Dominion University. All rights reserved.
//
// Permission to use, copy, modify, distribute and sell this software and
// its documentation for ... | 28.869565 | 99 | 0.648021 | Kumfert |
0b00c5049488bb7b165b54a0384c4986b522aab0 | 18,651 | cpp | C++ | ndn-cxx/net/impl/netlink-socket.cpp | KITE-2018/kite-ndn-cxx | 2a674e2bab42a39d0731b0a30c4d49369b084c1c | [
"OpenSSL"
] | 4 | 2021-04-21T02:48:49.000Z | 2021-06-25T06:08:58.000Z | ndn-cxx/net/impl/netlink-socket.cpp | KITE-2018/kite-ndn-cxx | 2a674e2bab42a39d0731b0a30c4d49369b084c1c | [
"OpenSSL"
] | 11 | 2020-12-27T23:02:56.000Z | 2021-10-18T08:00:50.000Z | ndn-cxx/net/impl/netlink-socket.cpp | KITE-2018/kite-ndn-cxx | 2a674e2bab42a39d0731b0a30c4d49369b084c1c | [
"OpenSSL"
] | 3 | 2021-02-28T10:04:09.000Z | 2021-09-23T05:01:00.000Z | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2013-2019 Regents of the University of California.
*
* This file is part of ndn-cxx library (NDN C++ library with eXperimental eXtensions).
*
* ndn-cxx library is free software: you can redistribute it and/or modify it under the
... | 30.376221 | 107 | 0.660501 | KITE-2018 |
0b024a0f19c9581d2c2227304f5e2d215c992612 | 3,716 | cc | C++ | src/shared/profiler_malloc.cc | schinmayee/nimbus | 170cd15e24a7a88243a6ea80aabadc0fc0e6e177 | [
"BSD-3-Clause"
] | 20 | 2017-07-03T19:09:09.000Z | 2021-09-10T02:53:56.000Z | src/shared/profiler_malloc.cc | schinmayee/nimbus | 170cd15e24a7a88243a6ea80aabadc0fc0e6e177 | [
"BSD-3-Clause"
] | null | null | null | src/shared/profiler_malloc.cc | schinmayee/nimbus | 170cd15e24a7a88243a6ea80aabadc0fc0e6e177 | [
"BSD-3-Clause"
] | 9 | 2017-09-17T02:05:06.000Z | 2020-01-31T00:12:01.000Z | /*
* Copyright 2013 Stanford University.
* 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 co... | 28.366412 | 85 | 0.69887 | schinmayee |
0b0272c6b9579238df9db13a04f5fcb677c92529 | 690 | cpp | C++ | src/fw/CrtThumbprint.cpp | jnmeurisse/FortiRDP | 53f48413c8a292304de27468b271847534353c61 | [
"Apache-2.0"
] | null | null | null | src/fw/CrtThumbprint.cpp | jnmeurisse/FortiRDP | 53f48413c8a292304de27468b271847534353c61 | [
"Apache-2.0"
] | null | null | null | src/fw/CrtThumbprint.cpp | jnmeurisse/FortiRDP | 53f48413c8a292304de27468b271847534353c61 | [
"Apache-2.0"
] | 1 | 2022-02-19T19:47:43.000Z | 2022-02-19T19:47:43.000Z | /*!
* This file is part of FortiRDP
*
* Copyright (C) 2022 Jean-Noel Meurisse
* SPDX-License-Identifier: Apache-2.0
*
*/
#include <string>
#include "CrtThumbprint.h"
#include "mbedtls\sha256.h"
namespace fw {
CrtThumbprint::CrtThumbprint()
{
std::memset(_thumbprint, 0, sizeof(_thumbprint));
}
CrtThumbprint::... | 18.648649 | 79 | 0.710145 | jnmeurisse |
0b02ac2b81b5ad8bafbfbfa91c437882338184c7 | 11,669 | cpp | C++ | bt_editor/models/BehaviorTreeNodeModel.cpp | ipa-foj/Groot | 133b67c6f0a1fa677b25a4d5c19b7623512be9c1 | [
"Unlicense"
] | null | null | null | bt_editor/models/BehaviorTreeNodeModel.cpp | ipa-foj/Groot | 133b67c6f0a1fa677b25a4d5c19b7623512be9c1 | [
"Unlicense"
] | null | null | null | bt_editor/models/BehaviorTreeNodeModel.cpp | ipa-foj/Groot | 133b67c6f0a1fa677b25a4d5c19b7623512be9c1 | [
"Unlicense"
] | null | null | null | #include "BehaviorTreeNodeModel.hpp"
#include <QBoxLayout>
#include <QFormLayout>
#include <QSizePolicy>
#include <QLineEdit>
#include <QComboBox>
#include <QDebug>
#include <QFile>
#include <QFont>
#include <QApplication>
const int MARGIN = 10;
const int DEFAULT_LINE_WIDTH = 100;
const int DEFAULT_FIELD_WIDTH = 50;
... | 31.117333 | 98 | 0.63673 | ipa-foj |
0b0344b09fe7c831f999838b421ef9a6952e0ddf | 352 | hpp | C++ | include/GOL/cell.hpp | jonathanabrahams/cpp-game-of-life | 046b985e6e12c68005b0c4788e5a8db828d17474 | [
"MIT"
] | null | null | null | include/GOL/cell.hpp | jonathanabrahams/cpp-game-of-life | 046b985e6e12c68005b0c4788e5a8db828d17474 | [
"MIT"
] | null | null | null | include/GOL/cell.hpp | jonathanabrahams/cpp-game-of-life | 046b985e6e12c68005b0c4788e5a8db828d17474 | [
"MIT"
] | null | null | null | #ifndef __GOL_CELL_HPP__
#define __GOL_CELL_HPP__
namespace GOL
{
enum CellState
{
Alive,
Dead,
Unknown
};
class Cell
{
public:
explicit Cell(CellState);
bool alive() const;
bool dead() const;
bool unknown() const;
private:
Cel... | 14.666667 | 33 | 0.542614 | jonathanabrahams |
0b04566b87dd10078c7ed7b6a16c0cdd7458c276 | 7,075 | cc | C++ | src/hw/gps/ubx.cc | ParikhKadam/cycloid | c5e64e8379f801417a38755eb6b2fde881dabd8c | [
"MIT"
] | 156 | 2017-08-12T03:58:21.000Z | 2022-03-21T13:38:52.000Z | src/hw/gps/ubx.cc | ParikhKadam/cycloid | c5e64e8379f801417a38755eb6b2fde881dabd8c | [
"MIT"
] | 3 | 2018-12-11T11:31:06.000Z | 2019-12-05T18:43:51.000Z | src/hw/gps/ubx.cc | ParikhKadam/cycloid | c5e64e8379f801417a38755eb6b2fde881dabd8c | [
"MIT"
] | 18 | 2017-08-17T02:05:54.000Z | 2022-02-24T20:54:27.000Z | #include <fcntl.h>
#include <math.h>
#include <stdio.h>
#include <string.h>
#include <sys/ioctl.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <sys/uio.h>
#include <termios.h>
#include <unistd.h>
#include "hw/gps/ubx.h"
const char ubx_port[] = "/dev/serial0";
#define startup_ioctl_baud B9600
#define runtime... | 27.10728 | 109 | 0.541767 | ParikhKadam |
0b060e2e11c0ce98e035b4e8b4d0c85e1bf3be5d | 637 | hpp | C++ | contrib/libboost/boost_1_62_0/boost/exception/errinfo_type_info_name.hpp | 189569400/ClickHouse | 0b8683c8c9f0e17446bef5498403c39e9cb483b8 | [
"Apache-2.0"
] | 12,278 | 2015-01-29T17:11:33.000Z | 2022-03-31T21:12:00.000Z | contrib/libboost/boost_1_62_0/boost/exception/errinfo_type_info_name.hpp | 189569400/ClickHouse | 0b8683c8c9f0e17446bef5498403c39e9cb483b8 | [
"Apache-2.0"
] | 9,469 | 2015-01-30T05:33:07.000Z | 2022-03-31T16:17:21.000Z | contrib/libboost/boost_1_62_0/boost/exception/errinfo_type_info_name.hpp | 189569400/ClickHouse | 0b8683c8c9f0e17446bef5498403c39e9cb483b8 | [
"Apache-2.0"
] | 1,343 | 2017-12-08T19:47:19.000Z | 2022-03-26T11:31:36.000Z | //Copyright (c) 2006-2009 Emil Dotchevski and Reverge Studios, Inc.
//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 UUID_0E11109E6C1311DEB7EA649255D89593
#define UUID_0E11109E6C1311DEB7EA649255D89593
#inclu... | 26.541667 | 90 | 0.742543 | 189569400 |
0b08667a3134cf4b3e082f23927e298facbc9223 | 3,621 | hpp | C++ | src/Renderer.hpp | sakhnik/neovim-sdl2 | eb4e8375a5d756fee3fe619cc273b68362f8989e | [
"MIT"
] | 21 | 2021-05-02T00:03:14.000Z | 2022-03-28T23:25:40.000Z | src/Renderer.hpp | sakhnik/nvim-ui | 3c51f22d875de1f9127294ef8e0f838e766f66ea | [
"MIT"
] | 18 | 2021-04-22T04:03:34.000Z | 2022-02-05T21:17:25.000Z | src/Renderer.hpp | sakhnik/neovim-sdl2 | eb4e8375a5d756fee3fe619cc273b68362f8989e | [
"MIT"
] | null | null | null | #pragma once
#include "HlAttr.hpp"
#include "GridLine.hpp"
#include "AsyncExec.hpp"
#include "Timer.hpp"
#include <vector>
#include <unordered_map>
#include <string_view>
#include <string>
#include <mutex>
#include <chrono>
class MsgPackRpc;
struct IWindow;
class Renderer
{
public:
Renderer(uv_loop_t *, MsgPack... | 30.948718 | 97 | 0.685998 | sakhnik |
0b08f7507a5c8d9dbc4602e6e7ffccd4343cc915 | 3,181 | cpp | C++ | TAO/orbsvcs/orbsvcs/AV/Policy.cpp | cflowe/ACE | 5ff60b41adbe1772372d1a43bcc1f2726ff8f810 | [
"DOC"
] | 36 | 2015-01-10T07:27:33.000Z | 2022-03-07T03:32:08.000Z | TAO/orbsvcs/orbsvcs/AV/Policy.cpp | cflowe/ACE | 5ff60b41adbe1772372d1a43bcc1f2726ff8f810 | [
"DOC"
] | 2 | 2018-08-13T07:30:51.000Z | 2019-02-25T03:04:31.000Z | TAO/orbsvcs/orbsvcs/AV/Policy.cpp | cflowe/ACE | 5ff60b41adbe1772372d1a43bcc1f2726ff8f810 | [
"DOC"
] | 38 | 2015-01-08T14:12:06.000Z | 2022-01-19T08:33:00.000Z | // $Id: Policy.cpp 97014 2013-04-12 22:47:02Z mitza $
#include "orbsvcs/Log_Macros.h"
#include "orbsvcs/Log_Macros.h"
#include "orbsvcs/AV/FlowSpec_Entry.h"
#include "tao/debug.h"
#include "orbsvcs/AV/Policy.h"
#if !defined(__ACE_INLINE__)
#include "orbsvcs/AV/Policy.inl"
#endif /* __ACE_INLINE__ */
TAO_BEGIN_VERSIO... | 20.79085 | 93 | 0.710468 | cflowe |
0b0d8f7917328a85b50222a7c31c890ef288ef64 | 2,472 | cc | C++ | Laboratorio/Esercitazione 10/1006-statistiche.cc | alessiamarcolini/Programmazione1UniTN | fd1cbd54b9510e1ec7efb185b727a6fd49dd32f1 | [
"MIT"
] | 3 | 2021-11-05T16:25:50.000Z | 2022-02-10T14:06:00.000Z | Laboratorio/Esercitazione 10/1006-statistiche.cc | alessiamarcolini/Programmazione1UniTN | fd1cbd54b9510e1ec7efb185b727a6fd49dd32f1 | [
"MIT"
] | null | null | null | Laboratorio/Esercitazione 10/1006-statistiche.cc | alessiamarcolini/Programmazione1UniTN | fd1cbd54b9510e1ec7efb185b727a6fd49dd32f1 | [
"MIT"
] | 2 | 2018-10-31T14:53:40.000Z | 2020-01-09T22:34:37.000Z | /*
Implementare un programma che, acquisito dall'utente un numero
intero di anni, generi in maniera casuale delle statistiche
mese per mese relative ad un certo indicatore, per tutti gli anni
considerati, e che calcoli e stampi la media dei valori su ciascun
anno per ogni mese.
Si considerino i valori mensi... | 32.526316 | 88 | 0.571602 | alessiamarcolini |
0b114f6c954e6c63cf222b71e85f9725168a292a | 2,595 | cpp | C++ | modules/TLopen.cpp | rbondesan/loop_htbl_arn | 26f9c580ae6f36ca8f7ac86cdc8339923df56f9b | [
"MIT"
] | null | null | null | modules/TLopen.cpp | rbondesan/loop_htbl_arn | 26f9c580ae6f36ca8f7ac86cdc8339923df56f9b | [
"MIT"
] | null | null | null | modules/TLopen.cpp | rbondesan/loop_htbl_arn | 26f9c580ae6f36ca8f7ac86cdc8339923df56f9b | [
"MIT"
] | null | null | null | #include "TLopen.hpp"
//////////////////////////////////////////////////////////////
// //
// Methods of class TLopen //
// //
/////////////////////////////////////////////... | 32.4375 | 86 | 0.541426 | rbondesan |
0b13e070b7705329fb1d3d2a32a8209d0d4b1165 | 2,110 | cpp | C++ | Eudora71/MAPI/filedesc.cpp | dusong7/eudora-win | 850a6619e6b0d5abc770bca8eb5f3b9001b7ccd2 | [
"BSD-3-Clause-Clear"
] | 10 | 2018-05-23T10:43:48.000Z | 2021-12-02T17:59:48.000Z | Eudora71/MAPI/filedesc.cpp | ivanagui2/hermesmail-code | 34387722d5364163c71b577fc508b567de56c5f6 | [
"BSD-3-Clause-Clear"
] | 1 | 2019-03-19T03:56:36.000Z | 2021-05-26T18:36:03.000Z | Eudora71/MAPI/filedesc.cpp | ivanagui2/hermesmail-code | 34387722d5364163c71b577fc508b567de56c5f6 | [
"BSD-3-Clause-Clear"
] | 11 | 2018-05-23T10:43:53.000Z | 2021-12-27T15:42:58.000Z | ////////////////////////////////////////////////////////////////////////
//
// CMapiFileDesc
//
// Intelligent C++ object wrapper for dumb C-based MapiFileDesc structure.
//
////////////////////////////////////////////////////////////////////////
#include "stdafx.h"
//#include <afxwin.h> // FORNOW, should probably b... | 26.375 | 74 | 0.447867 | dusong7 |
0b13f66f9e949667995774aec6f15b3c1356f4d4 | 501 | cpp | C++ | VehicleManagement/VehicleManage/inputtaxdialog.cpp | maanjun/IVM | fe7f58c0e45b2471357fafcc63328d903f08ea76 | [
"Apache-2.0"
] | null | null | null | VehicleManagement/VehicleManage/inputtaxdialog.cpp | maanjun/IVM | fe7f58c0e45b2471357fafcc63328d903f08ea76 | [
"Apache-2.0"
] | null | null | null | VehicleManagement/VehicleManage/inputtaxdialog.cpp | maanjun/IVM | fe7f58c0e45b2471357fafcc63328d903f08ea76 | [
"Apache-2.0"
] | null | null | null | #include "inputtaxdialog.h"
#include "ui_inputtaxdialog.h"
InputTaxDialog::InputTaxDialog(QWidget *parent) :
BaseDialog(parent),
ui(new Ui::InputTaxDialog)
{
ui->setupUi(this);
}
InputTaxDialog::~InputTaxDialog()
{
delete ui;
}
void InputTaxDialog::on_pBtnHomepage_clicked()
{
m_pCountdownTimer->stop()... | 17.275862 | 49 | 0.736527 | maanjun |
0b16196aec35de9d41319b5e9ee6bf4d07f7c08a | 3,436 | hpp | C++ | Libs/GuiSys/CompListBox.hpp | dns/Cafu | 77b34014cc7493d6015db7d674439fe8c23f6493 | [
"MIT"
] | 3 | 2020-04-11T13:00:31.000Z | 2020-12-07T03:19:10.000Z | Libs/GuiSys/CompListBox.hpp | DNS/Cafu | 77b34014cc7493d6015db7d674439fe8c23f6493 | [
"MIT"
] | null | null | null | Libs/GuiSys/CompListBox.hpp | DNS/Cafu | 77b34014cc7493d6015db7d674439fe8c23f6493 | [
"MIT"
] | 1 | 2020-04-11T13:00:04.000Z | 2020-04-11T13:00:04.000Z | /*
Cafu Engine, http://www.cafu.de/
Copyright (c) Carsten Fuchs and other contributors.
This project is licensed under the terms of the MIT license.
*/
#ifndef CAFU_GUISYS_COMPONENT_LISTBOX_HPP_INCLUDED
#define CAFU_GUISYS_COMPONENT_LISTBOX_HPP_INCLUDED
#include "CompBase.hpp"
namespace cf
{
namespace GuiSys
... | 42.95 | 202 | 0.621071 | dns |
0b177a0b7195a89514558fc79e9d7c9fbef46604 | 877 | cc | C++ | src/nn/nnjm_abstract.cc | nrc-cnrc/Portage-SMT-TAS | 73f5a65de4adfa13008ea9a01758385c97526059 | [
"MIT"
] | null | null | null | src/nn/nnjm_abstract.cc | nrc-cnrc/Portage-SMT-TAS | 73f5a65de4adfa13008ea9a01758385c97526059 | [
"MIT"
] | null | null | null | src/nn/nnjm_abstract.cc | nrc-cnrc/Portage-SMT-TAS | 73f5a65de4adfa13008ea9a01758385c97526059 | [
"MIT"
] | null | null | null | /**
* @author Colin Cherry
* @file nnjm_abstract.cc Interface to evaluate an nnjm
*
* Technologies langagieres interactives / Interactive Language Technologies
* Inst. de technologie de l'information / Institute for Information Technology
* Conseil national de recherches Canada / National Research Council Canada... | 32.481481 | 106 | 0.761688 | nrc-cnrc |
0b1b5057431c8106ee0c3c1e1bfa32be4f54044a | 2,437 | cpp | C++ | src/BudgetManager.cpp | MichalWilczek/your-budget | fb0ace51a1e4ea9013398fef945798d2695659cf | [
"MIT"
] | null | null | null | src/BudgetManager.cpp | MichalWilczek/your-budget | fb0ace51a1e4ea9013398fef945798d2695659cf | [
"MIT"
] | null | null | null | src/BudgetManager.cpp | MichalWilczek/your-budget | fb0ace51a1e4ea9013398fef945798d2695659cf | [
"MIT"
] | null | null | null | #include "BudgetManager.h"
void BudgetManager::showBalance(string startDate, string endDate) {
double totalIncome = 0;
double totalExpenses = 0;
system("cls");
if (incomeManager.areTransactionsAvailable()) {
cout << " >>> INCOME <<<" << endl << endl;
incomeManager.showTransactions(sta... | 32.065789 | 102 | 0.675831 | MichalWilczek |
0b1c30f2b142a6ed009b852174d40113e91ba96c | 5,231 | cpp | C++ | src/Interpreters/ExternalUserDefinedExecutableFunctionsLoader.cpp | ivoleg/ClickHouse | 16e173f0c024e36cd253388abac2ecc513686d87 | [
"Apache-2.0"
] | 1 | 2021-12-12T10:33:27.000Z | 2021-12-12T10:33:27.000Z | src/Interpreters/ExternalUserDefinedExecutableFunctionsLoader.cpp | ivoleg/ClickHouse | 16e173f0c024e36cd253388abac2ecc513686d87 | [
"Apache-2.0"
] | null | null | null | src/Interpreters/ExternalUserDefinedExecutableFunctionsLoader.cpp | ivoleg/ClickHouse | 16e173f0c024e36cd253388abac2ecc513686d87 | [
"Apache-2.0"
] | null | null | null | #include "ExternalUserDefinedExecutableFunctionsLoader.h"
#include <DataTypes/DataTypeFactory.h>
#include <Interpreters/UserDefinedExecutableFunction.h>
#include <Interpreters/UserDefinedExecutableFunctionFactory.h>
#include <Functions/FunctionFactory.h>
#include <AggregateFunctions/AggregateFunctionFactory.h>
name... | 42.185484 | 204 | 0.758555 | ivoleg |
0b1d1aaa7547010c73d8162e55c32904dd4efb0d | 2,522 | cpp | C++ | third_party/subzero/crosstest/test_icmp.cpp | sunnycase/swiftshader | 592bce0dc7daaa8d2c7ee4b94bec98e0e7beeacc | [
"Apache-2.0"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | third_party/subzero/crosstest/test_icmp.cpp | sunnycase/swiftshader | 592bce0dc7daaa8d2c7ee4b94bec98e0e7beeacc | [
"Apache-2.0"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | third_party/subzero/crosstest/test_icmp.cpp | sunnycase/swiftshader | 592bce0dc7daaa8d2c7ee4b94bec98e0e7beeacc | [
"Apache-2.0"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | //===- subzero/crosstest/test_icmp.cpp - Implementation for tests ---------===//
//
// The Subzero Code Generator
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------... | 51.469388 | 80 | 0.450833 | sunnycase |
0b1efb0d841b9ce6349d0438fa7eb825c18491f4 | 516 | cpp | C++ | Algorithms/503.Next-Greater-Element-II/solution.cpp | moranzcw/LeetCode_Solutions | 49a7e33b83d8d9ce449c758717f74a69e72f808e | [
"MIT"
] | 178 | 2017-07-09T23:13:11.000Z | 2022-02-26T13:35:06.000Z | Algorithms/503.Next-Greater-Element-II/solution.cpp | cfhyxxj/LeetCode-NOTES | 455d33aae54d065635d28ebf37f815dc4ace7e63 | [
"MIT"
] | 1 | 2020-10-10T16:38:03.000Z | 2020-10-10T16:38:03.000Z | Algorithms/503.Next-Greater-Element-II/solution.cpp | cfhyxxj/LeetCode-NOTES | 455d33aae54d065635d28ebf37f815dc4ace7e63 | [
"MIT"
] | 82 | 2017-08-19T07:14:39.000Z | 2022-02-17T14:07:55.000Z | class Solution {
public:
vector<int> nextGreaterElements(vector<int>& nums) {
vector<int> max;
for(int i=0;i<nums.size();i++){
int find = false;
for(int j=(i+1)%nums.size();j!=i;j=(j+1)%nums.size()){
if(nums[j] > nums[i]){
max.push_back(num... | 25.8 | 66 | 0.391473 | moranzcw |
0b1ffcf08c9a1ffbc7b56d18c8745c75793bfc3e | 422 | cpp | C++ | Minigin/ThreadComponent.cpp | Zakatos/Component-Game-Engine | c52f49ada5c23cdee502f4d3a8ce09392d6bcae9 | [
"MIT"
] | null | null | null | Minigin/ThreadComponent.cpp | Zakatos/Component-Game-Engine | c52f49ada5c23cdee502f4d3a8ce09392d6bcae9 | [
"MIT"
] | null | null | null | Minigin/ThreadComponent.cpp | Zakatos/Component-Game-Engine | c52f49ada5c23cdee502f4d3a8ce09392d6bcae9 | [
"MIT"
] | null | null | null | #include "MiniginPCH.h"
#include "ThreadComponent.h"
#include "ThreadManager.h"
ThreadComponent::ThreadComponent()
{
}
ThreadComponent::~ThreadComponent()
{
}
void ThreadComponent::init()
{
std::shared_ptr<std::thread> threadObj = std::make_shared<std::thread>(&ThreadComponent::update, this);
ThreadManager::GetI... | 16.88 | 104 | 0.746445 | Zakatos |
0b231e24d58e032f02073f7d28166bf58ae015b7 | 3,163 | cc | C++ | sparselets/tile_sparselet_resps.cc | rksltnl/sparselet-release1 | bf7977c2b886961c35506184796b04021206b62b | [
"BSD-2-Clause"
] | 4 | 2015-03-23T05:55:23.000Z | 2019-03-05T02:18:39.000Z | sparselets/tile_sparselet_resps.cc | rksltnl/sparselet-release1 | bf7977c2b886961c35506184796b04021206b62b | [
"BSD-2-Clause"
] | null | null | null | sparselets/tile_sparselet_resps.cc | rksltnl/sparselet-release1 | bf7977c2b886961c35506184796b04021206b62b | [
"BSD-2-Clause"
] | 10 | 2015-03-23T05:55:24.000Z | 2019-03-05T02:18:51.000Z | #include <sys/types.h>
#include "mex.h"
const int S = 3;
const int NUM_SUB_FILTERS = 4;
/*
* Hyun Oh Song (song@eecs.berkeley.edu)
* Part filter tiling
*/
void tile_sparselets(double* Q_ptr, double* P_ptr, int s_dimy, int s_dimx, int out_dimy, int out_dimx, int i){
// Q_ptr points to head of ith filter respo... | 29.018349 | 110 | 0.566235 | rksltnl |
0b233bce7a075cb95712345e135987d7efe1129e | 4,133 | cc | C++ | src/connectivity/overnet/deprecated/lib/links/packet_stuffer_test.cc | OpenTrustGroup/fuchsia | 647e593ea661b8bf98dcad2096e20e8950b24a97 | [
"BSD-3-Clause"
] | 1 | 2019-04-21T18:02:26.000Z | 2019-04-21T18:02:26.000Z | src/connectivity/overnet/deprecated/lib/links/packet_stuffer_test.cc | OpenTrustGroup/fuchsia | 647e593ea661b8bf98dcad2096e20e8950b24a97 | [
"BSD-3-Clause"
] | 16 | 2020-09-04T19:01:11.000Z | 2021-05-28T03:23:09.000Z | src/connectivity/overnet/deprecated/lib/links/packet_stuffer_test.cc | OpenTrustGroup/fuchsia | 647e593ea661b8bf98dcad2096e20e8950b24a97 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/connectivity/overnet/deprecated/lib/links/packet_stuffer.h"
#include <gtest/gtest.h>
#include "src/connectivity/overnet/deprecated/lib/test... | 35.62931 | 100 | 0.681103 | OpenTrustGroup |
0b23d3eda0f184c0181cd96ba03744d32b50cc60 | 342 | cpp | C++ | OpenKattis/dicecup.cpp | MFathirIrhas/ProgrammingChallenges | 8c67bd71212a1941e5bcc0463095285859afa04d | [
"MIT"
] | 3 | 2020-10-19T10:03:20.000Z | 2021-12-18T20:39:31.000Z | OpenKattis/dicecup.cpp | MFathirIrhas/ProgrammingChallenges | 8c67bd71212a1941e5bcc0463095285859afa04d | [
"MIT"
] | null | null | null | OpenKattis/dicecup.cpp | MFathirIrhas/ProgrammingChallenges | 8c67bd71212a1941e5bcc0463095285859afa04d | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
void PrintResult(int *n, int *m){
if(*n == *m){
cout<< *n + 1;
}else if(*n < *m){
for(int i=*n + 1; i<= *m+1; i++){
cout<<i<<endl;
}
}else{
for(int i=*m + 1; i<= *n+1; i++){
cout<<i<<endl;
}
}
}
int main(){
int n,m;
cin>>n>>m;
PrintResult(&n,&m);
co... | 13.153846 | 35 | 0.48538 | MFathirIrhas |
0b268403cdbb95efaf20a42f05522bfd9b967b3f | 9,192 | cxx | C++ | main/svtools/source/edit/textdata.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 679 | 2015-01-06T06:34:58.000Z | 2022-03-30T01:06:03.000Z | main/svtools/source/edit/textdata.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 102 | 2017-11-07T08:51:31.000Z | 2022-03-17T12:13:49.000Z | main/svtools/source/edit/textdata.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... | 25.675978 | 124 | 0.617276 | Grosskopf |
0b269991f950ae63a424762905050e3cee4b88a5 | 393 | cpp | C++ | cpp/recurs.cpp | lindsayad/misc_programming | 60d4056a99d52e247bc1ae08b9eaaf0b13cc1b2e | [
"MIT"
] | null | null | null | cpp/recurs.cpp | lindsayad/misc_programming | 60d4056a99d52e247bc1ae08b9eaaf0b13cc1b2e | [
"MIT"
] | null | null | null | cpp/recurs.cpp | lindsayad/misc_programming | 60d4056a99d52e247bc1ae08b9eaaf0b13cc1b2e | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
long factorial (long a);
int main()
{
long number;
do {
cout << "Please, enter positive integer (0 to exit): ";
cin >> number;
factorial(number);
cout << number << " factorial is: " << factorial(number) << endl;
} while (number != 0);
return 0;
}
long factorial (l... | 15.115385 | 67 | 0.610687 | lindsayad |
0b2e451f57935f73601fedadf1b8c26e03989a86 | 343 | cpp | C++ | usaco/madscientist.cpp | datpq/competitive-programming | ed5733cc55fa4167c4a2e828894b044ea600dcac | [
"MIT"
] | 1 | 2022-02-24T21:35:18.000Z | 2022-02-24T21:35:18.000Z | usaco/madscientist.cpp | datpq/competitive-programming | ed5733cc55fa4167c4a2e828894b044ea600dcac | [
"MIT"
] | null | null | null | usaco/madscientist.cpp | datpq/competitive-programming | ed5733cc55fa4167c4a2e828894b044ea600dcac | [
"MIT"
] | 1 | 2022-02-12T14:40:21.000Z | 2022-02-12T14:40:21.000Z | #include <fstream>
#include <string>
using namespace std;
int main() {
ifstream ifs("breedflip.in");
ofstream ofs("breedflip.out");
int n; string a, b; ifs >> n >> a >> b;
int ans = 0;
for (int i = 0; i < n; i++) {
if (a[i] != b[i]) {
ans++;
while (i < n-1 && a[i + 1] != b[i + 1]) i++;
}
}
ofs << ans... | 17.15 | 47 | 0.504373 | datpq |
0b31e9c46850c30e6cbe2dc6d22a360fef03ddb2 | 1,326 | cc | C++ | critic/test/art/Throwing_service.cc | art-framework-suite/critic | bf9289facca1adc110e1bfa5d788f9f2354b2d40 | [
"BSD-3-Clause"
] | null | null | null | critic/test/art/Throwing_service.cc | art-framework-suite/critic | bf9289facca1adc110e1bfa5d788f9f2354b2d40 | [
"BSD-3-Clause"
] | null | null | null | critic/test/art/Throwing_service.cc | art-framework-suite/critic | bf9289facca1adc110e1bfa5d788f9f2354b2d40 | [
"BSD-3-Clause"
] | null | null | null | // ======================================================================
// Throwing is a service that throws an exception when the
// postProcessEvent signal is emitted.
// ======================================================================
#include "art/Framework/Principal/fwd.h"
#include "art/Framework/Services... | 31.571429 | 73 | 0.680241 | art-framework-suite |
0b33235a75c132e00f35da344c64ec729a11e473 | 12,010 | cpp | C++ | cpp/pybind/ml/contrib/contrib_nns.cpp | bing-jian/Open3D | 4ad5d1c75f91159bd5050af51bc35009343141e1 | [
"MIT"
] | 1 | 2020-09-24T10:09:22.000Z | 2020-09-24T10:09:22.000Z | cpp/pybind/ml/contrib/contrib_nns.cpp | LinkonBSMRSTU/Open3D | 7f02137cef52b6ad0f67fe72ae5bc0a795d77117 | [
"MIT"
] | null | null | null | cpp/pybind/ml/contrib/contrib_nns.cpp | LinkonBSMRSTU/Open3D | 7f02137cef52b6ad0f67fe72ae5bc0a795d77117 | [
"MIT"
] | 1 | 2022-01-25T20:23:11.000Z | 2022-01-25T20:23:11.000Z | // ----------------------------------------------------------------------------
// - Open3D: www.open3d.org -
// ----------------------------------------------------------------------------
// The MIT License (MIT)
//
// Copyright (c) 2018 www.open3d.org
//
// Permissio... | 44.481481 | 80 | 0.60025 | bing-jian |
0b33b6f1eb57ba2ed6c18a0b02fc4714dab647f7 | 543 | cpp | C++ | WebFramework/src/WebNetwork/WebFrameworkHTTPSNetwork.cpp | LazyPanda07/WebFramework | 9488065caa0efebe0b63590b67b99ea99f295b53 | [
"MIT"
] | 1 | 2021-02-17T13:41:37.000Z | 2021-02-17T13:41:37.000Z | WebFramework/src/WebNetwork/WebFrameworkHTTPSNetwork.cpp | LazyPanda07/WebFramework | 9488065caa0efebe0b63590b67b99ea99f295b53 | [
"MIT"
] | 16 | 2020-12-16T19:49:05.000Z | 2022-01-25T17:11:40.000Z | WebFramework/src/WebNetwork/WebFrameworkHTTPSNetwork.cpp | LazyPanda07/WebFramework | 9488065caa0efebe0b63590b67b99ea99f295b53 | [
"MIT"
] | null | null | null | #include "WebFrameworkHTTPSNetwork.h"
using namespace std;
namespace framework
{
WebFrameworkHTTPSNetwork::WebFrameworkHTTPSNetwork(SOCKET clientSocket, SSL* ssl, SSL_CTX* context) :
HTTPSNetwork
(
clientSocket,
ssl,
context
)
{
}
WebFrameworkHTTPSNetwork::WebFrameworkHTTPSNetwork(const string& i... | 14.289474 | 102 | 0.71639 | LazyPanda07 |
0b3432b9cbd3e2de0c5977ea0600db70d3cc0922 | 37,515 | cpp | C++ | c/lib/adtl/AVL.cpp | knowm/nSpace | 1e5380a8778e013f7e8c44c130ba32e9668755ed | [
"BSD-3-Clause"
] | 2 | 2020-05-06T21:45:13.000Z | 2020-06-14T11:48:03.000Z | c/lib/adtl/AVL.cpp | knowm/nSpace | 1e5380a8778e013f7e8c44c130ba32e9668755ed | [
"BSD-3-Clause"
] | null | null | null | c/lib/adtl/AVL.cpp | knowm/nSpace | 1e5380a8778e013f7e8c44c130ba32e9668755ed | [
"BSD-3-Clause"
] | 3 | 2017-09-18T14:46:03.000Z | 2021-09-26T17:10:36.000Z | ////////////////////////////////////////////////////////////////////////
//
// AVL.CPP
//
// Implementation of an AVL binary search tree (dictionary)
//
////////////////////////////////////////////////////////////////////////
#include "adtl_.h"
#include <stdio.h>
AVL :: AVL ( void )
{
////////////////////... | 22.61302 | 103 | 0.500866 | knowm |
0b3474bcc6ff1d547ae668a3e2e8e620687081e0 | 1,723 | hpp | C++ | src/common/optimization/include/optimization/line_search/fixed_line_search.hpp | ruvus/auto | 25ae62d6e575cae40212356eed43ec3e76e9a13e | [
"Apache-2.0"
] | 19 | 2021-05-28T06:14:21.000Z | 2022-03-10T10:03:08.000Z | src/common/optimization/include/optimization/line_search/fixed_line_search.hpp | ruvus/auto | 25ae62d6e575cae40212356eed43ec3e76e9a13e | [
"Apache-2.0"
] | 222 | 2021-10-29T22:00:27.000Z | 2022-03-29T20:56:34.000Z | src/common/optimization/include/optimization/line_search/fixed_line_search.hpp | ruvus/auto | 25ae62d6e575cae40212356eed43ec3e76e9a13e | [
"Apache-2.0"
] | 14 | 2021-05-29T14:59:17.000Z | 2022-03-10T10:03:09.000Z | // Copyright 2020 the Autoware Foundation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or a... | 31.327273 | 80 | 0.761463 | ruvus |
0b351c095f964ef97052abe98ea9233127b51ad8 | 2,227 | cpp | C++ | kthlis.cpp | qbbd/Algorithm_List | b3c9d97e20c7a10eaa908f8d98654319ac95f302 | [
"MIT"
] | null | null | null | kthlis.cpp | qbbd/Algorithm_List | b3c9d97e20c7a10eaa908f8d98654319ac95f302 | [
"MIT"
] | 7 | 2018-04-08T01:47:01.000Z | 2018-06-07T23:33:15.000Z | kthlis.cpp | qbbd/Algorithm_List | b3c9d97e20c7a10eaa908f8d98654319ac95f302 | [
"MIT"
] | null | null | null | #include<algorithm>
#include<cstring>
#include<iostream>
#include<string>
#include<vector>
using namespace std;
const int MAX = 2000000000+10;
int n;
int cacheLen[501], cacheCnt[501], S[500];
// S[start] 에서 시작하는 증가 부분 수열 중 최대 길이를 반환한다
int lis(int start) {
// 메모이제이션
int& ret = cacheLen[start+1];
if(ret != -1) retur... | 23.946237 | 59 | 0.557701 | qbbd |
0b3617ece6204d159ca1e22f7754b194cd04593c | 3,492 | cc | C++ | src/libs/stdc++/legacy/sinst.cc | Kirishikesan/haiku | 835565c55830f2dab01e6e332cc7e2d9c015b51e | [
"MIT"
] | 1,338 | 2015-01-03T20:06:56.000Z | 2022-03-26T13:49:54.000Z | src/libs/stdc++/legacy/sinst.cc | Kirishikesan/haiku | 835565c55830f2dab01e6e332cc7e2d9c015b51e | [
"MIT"
] | 15 | 2015-01-17T22:19:32.000Z | 2021-12-20T12:35:00.000Z | src/libs/stdc++/legacy/sinst.cc | Kirishikesan/haiku | 835565c55830f2dab01e6e332cc7e2d9c015b51e | [
"MIT"
] | 350 | 2015-01-08T14:15:27.000Z | 2022-03-21T18:14:35.000Z | // Instantiation file for the -*- C++ -*- string classes.
// Copyright (C) 1994 Free Software Foundation
// This file is part of the GNU ANSI C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the
// Free Softwar... | 25.676471 | 81 | 0.72709 | Kirishikesan |
0b37e140815bc72a6df39464ff41f162a46de731 | 1,389 | cpp | C++ | src/quality_filter.cpp | chrismile/HexaLab | dc3dbd14ed7db3c34439d1f4d0e5db15d045a9f3 | [
"MIT"
] | null | null | null | src/quality_filter.cpp | chrismile/HexaLab | dc3dbd14ed7db3c34439d1f4d0e5db15d045a9f3 | [
"MIT"
] | null | null | null | src/quality_filter.cpp | chrismile/HexaLab | dc3dbd14ed7db3c34439d1f4d0e5db15d045a9f3 | [
"MIT"
] | null | null | null | #include <quality_filter.h>
#define HL_QUALITY_FILTER_DEFAULT_ENABLED true
#define HL_QUALITY_FILTER_DEFAULT_MIN 0.f
#define HL_QUALITY_FILTER_DEFAULT_MAX 1.f
#define HL_QUALITY_FILTER_DEFAULT_OP Operator::Inside
namespace HexaLab {
void QualityFilter::on_mesh_set ( Mesh& mesh ) {
thi... | 34.725 | 149 | 0.593233 | chrismile |
0b3ca1df7ce41517c2c9311ac796f0722367fe68 | 2,999 | cpp | C++ | Messy_Test-master/demo/CppBaseTest/data_type_convert.cpp | shenjl/Cplusplus | 345c2f582bf160d663c8accfafbcabc2ff011e57 | [
"MIT"
] | 1 | 2019-11-10T08:23:00.000Z | 2019-11-10T08:23:00.000Z | Messy_Test-master/demo/CppBaseTest/data_type_convert.cpp | selonsy/Cplusplus | 345c2f582bf160d663c8accfafbcabc2ff011e57 | [
"MIT"
] | null | null | null | Messy_Test-master/demo/CppBaseTest/data_type_convert.cpp | selonsy/Cplusplus | 345c2f582bf160d663c8accfafbcabc2ff011e57 | [
"MIT"
] | null | null | null | #include "data_type_convert.hpp"
#include <stdio.h>
#include <stdlib.h>
#include <iostream>
#include <string>
#include <string.h>
#include <vector>
// Blog: http://blog.csdn.net/fengbingchun/article/details/49404293
int test_data_type_convert()
{
// 1--> int to char[]
int tmp1 = 100;
char ch1[15];
sprintf(ch1, "%... | 21.421429 | 67 | 0.58086 | shenjl |
0b3d11b78909203dbb470210f29ba998ace59b5b | 1,237 | cpp | C++ | test/bwe/FakeCrossTraffic.cpp | danielgronberg/SymphonyMediaBridge | 2cdd2ecd45c534545c9d3f3c36d8e86771330057 | [
"Apache-2.0"
] | null | null | null | test/bwe/FakeCrossTraffic.cpp | danielgronberg/SymphonyMediaBridge | 2cdd2ecd45c534545c9d3f3c36d8e86771330057 | [
"Apache-2.0"
] | null | null | null | test/bwe/FakeCrossTraffic.cpp | danielgronberg/SymphonyMediaBridge | 2cdd2ecd45c534545c9d3f3c36d8e86771330057 | [
"Apache-2.0"
] | null | null | null | #include "FakeCrossTraffic.h"
#include "FakeMedia.h"
#include "utils/Time.h"
namespace fakenet
{
FakeCrossTraffic::FakeCrossTraffic(memory::PacketPoolAllocator& allocator, uint32_t mtu, uint32_t bandwidthKbps)
: _allocator(allocator),
_releaseTime(0),
_bandwidthKbps(bandwidthKbps),
_mtu(mtu)
{
}
... | 23.788462 | 112 | 0.675829 | danielgronberg |
0b3e10342f2dc2676af0fc2fb7604dd21d598ec1 | 1,846 | cc | C++ | src/statistics/KernelConditionalDensityEstimator.cc | revorg7/beliefbox | ba974b17fbb46ac98960f31dea66115be470000e | [
"OLDAP-2.3"
] | 4 | 2015-12-02T23:16:44.000Z | 2018-01-07T10:54:36.000Z | src/statistics/KernelConditionalDensityEstimator.cc | revorg7/beliefbox | ba974b17fbb46ac98960f31dea66115be470000e | [
"OLDAP-2.3"
] | 2 | 2015-12-02T19:47:57.000Z | 2018-10-14T13:08:40.000Z | src/statistics/KernelConditionalDensityEstimator.cc | revorg7/beliefbox | ba974b17fbb46ac98960f31dea66115be470000e | [
"OLDAP-2.3"
] | 4 | 2018-01-14T14:23:18.000Z | 2018-10-29T12:46:41.000Z | /* -*- Mode: C++; -*- */
// copyright (c) 2011 by Christos Dimitrakakis <christos.dimitrakakis@gmail.com>
/***************************************************************************
* *
* This program is free software; you can redistribute it ... | 41.022222 | 92 | 0.476165 | revorg7 |
0b447c70f4ca25e193eee7917343ec7348cb5b92 | 962 | hpp | C++ | rest_rpc/iguana/third_party/msgpack/include/msgpack/version.hpp | emogua/CGAssistant | f3ded85a8336bcc03fd1a3d370880cdeedaa570f | [
"MIT"
] | 1,316 | 2016-07-03T10:01:37.000Z | 2022-03-31T18:40:35.000Z | rest_rpc/iguana/third_party/msgpack/include/msgpack/version.hpp | emogua/CGAssistant | f3ded85a8336bcc03fd1a3d370880cdeedaa570f | [
"MIT"
] | 3,393 | 2019-05-07T08:33:32.000Z | 2022-03-31T14:57:14.000Z | rest_rpc/iguana/third_party/msgpack/include/msgpack/version.hpp | emogua/CGAssistant | f3ded85a8336bcc03fd1a3d370880cdeedaa570f | [
"MIT"
] | 315 | 2016-08-24T13:08:20.000Z | 2022-03-29T10:59:08.000Z | /*
* MessagePack for C++ version information
*
* Copyright (C) 2008-2013 FURUHASHI Sadayuki and Takatoshi Kondo
*
* 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 MSGPACK_VERSION_HPP
#defi... | 26 | 113 | 0.767152 | emogua |
0b469249080199e9bcdf8396908b779b4f3e1d51 | 4,891 | cpp | C++ | ds/security/passport/common/lkrhash/irtldbg.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | ds/security/passport/common/lkrhash/irtldbg.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | ds/security/passport/common/lkrhash/irtldbg.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | /*++
Copyright (c) 1998-2002 Microsoft Corporation
Module Name :
IrtlDbg.cpp
Abstract:
Implementation of debug support functions
Author:
George V. Reilly (GeorgeRe) 06-Jan-1998
Environment:
Win32 - User Mode
Project:
LKRhash
... | 24.455 | 79 | 0.61787 | npocmaka |
0b46bd09868904b1e05132cfeeb040492c040c5f | 513 | cpp | C++ | Gpx_2/Gpx/Implementation/TextureViewer.cpp | DexterDreeeam/DxtSdk2021 | 2dd8807b4ebe1d65221095191eaa7938bc5e9e78 | [
"MIT"
] | 1 | 2021-11-18T03:57:54.000Z | 2021-11-18T03:57:54.000Z | Gpx_2/Gpx/Implementation/TextureViewer.cpp | DexterDreeeam/P9 | 2dd8807b4ebe1d65221095191eaa7938bc5e9e78 | [
"MIT"
] | null | null | null | Gpx_2/Gpx/Implementation/TextureViewer.cpp | DexterDreeeam/P9 | 2dd8807b4ebe1d65221095191eaa7938bc5e9e78 | [
"MIT"
] | null | null | null |
#include "../_Interface.hpp"
namespace gpx
{
texture_viewer::texture_viewer() :
_state((s64)texture_viewer_state::Offline)
{
}
texture_viewer_state texture_viewer::state() const
{
return (texture_viewer_state)_state.get();
}
boole texture_viewer::transfer_state(texture_viewer_state from, texture_viewer_sta... | 15.545455 | 88 | 0.654971 | DexterDreeeam |
0b46f4981f3a745130e02b4dae0f7ebad67a7063 | 342,762 | cpp | C++ | tsc/tsc-new-parser/parser.cpp | SamuraiCrow/TypeScriptCompiler | 11a5379f3ffe145e61611c463e43d39ec7ea8522 | [
"MIT"
] | null | null | null | tsc/tsc-new-parser/parser.cpp | SamuraiCrow/TypeScriptCompiler | 11a5379f3ffe145e61611c463e43d39ec7ea8522 | [
"MIT"
] | null | null | null | tsc/tsc-new-parser/parser.cpp | SamuraiCrow/TypeScriptCompiler | 11a5379f3ffe145e61611c463e43d39ec7ea8522 | [
"MIT"
] | null | null | null | #include "parser.h"
#include "node_factory.h"
#include "node_test.h"
#include "utilities.h"
namespace ts
{
namespace Impl
{
// Implement the parser.as<a>() singleton module. We do this for perf reasons because creating
// parser instances can actually be expensive enough to impact us on projects with many source
// f... | 41.577147 | 187 | 0.606009 | SamuraiCrow |
0b499650ac92dc07d4078796ed0a30601cc66c19 | 424,220 | cpp | C++ | chipyard.TestHarness.LargeBoomAndRocketConfig/chipyard.TestHarness.LargeBoomAndRocketConfig/VTestHarness__151.cpp | vargandhi/ime-congs | 963be79b7b319d8e74edae09df7bdf3330371401 | [
"BSD-3-Clause"
] | null | null | null | chipyard.TestHarness.LargeBoomAndRocketConfig/chipyard.TestHarness.LargeBoomAndRocketConfig/VTestHarness__151.cpp | vargandhi/ime-congs | 963be79b7b319d8e74edae09df7bdf3330371401 | [
"BSD-3-Clause"
] | null | null | null | chipyard.TestHarness.LargeBoomAndRocketConfig/chipyard.TestHarness.LargeBoomAndRocketConfig/VTestHarness__151.cpp | vargandhi/ime-congs | 963be79b7b319d8e74edae09df7bdf3330371401 | [
"BSD-3-Clause"
] | null | null | null | // Verilated -*- C++ -*-
// DESCRIPTION: Verilator output: Design implementation internals
// See VTestHarness.h for the primary calling header
#include "VTestHarness.h"
#include "VTestHarness__Syms.h"
#include "verilated_dpi.h"
VL_INLINE_OPT void VTestHarness::_sequent__TOP__8712(VTestHarness__Syms* __restrict vlSy... | 110.90719 | 201 | 0.680517 | vargandhi |
0b506bcf56930496a297f5c4f2bac104da1c5553 | 602 | hpp | C++ | include/mtree.hpp | Aritzherrero4/fsCheckDaemon | 3cad10938ce0d14ff70490ca4bc3df742eb974c9 | [
"MIT"
] | null | null | null | include/mtree.hpp | Aritzherrero4/fsCheckDaemon | 3cad10938ce0d14ff70490ca4bc3df742eb974c9 | [
"MIT"
] | null | null | null | include/mtree.hpp | Aritzherrero4/fsCheckDaemon | 3cad10938ce0d14ff70490ca4bc3df742eb974c9 | [
"MIT"
] | null | null | null | #ifndef MTREE_HPP
#define MTREE_HPP
#include <iostream>
#include <vector>
#include <string>
#include <filesystem>
#include "../include/mnode.hpp"
class Mtree{
public:
int n_nodes; //Total number of files and dirs
Mnode *root_node; // Pointer of the top node
std::string root_hash;
... | 22.296296 | 59 | 0.621262 | Aritzherrero4 |
0b50f37553a1efbe3de59bcef9fd06ab73222598 | 2,713 | cpp | C++ | src/_leetcode/leet_84.cpp | turesnake/leetPractice | a87b9b90eb8016038d7e5d3ad8e50e4ceb54d69b | [
"MIT"
] | null | null | null | src/_leetcode/leet_84.cpp | turesnake/leetPractice | a87b9b90eb8016038d7e5d3ad8e50e4ceb54d69b | [
"MIT"
] | null | null | null | src/_leetcode/leet_84.cpp | turesnake/leetPractice | a87b9b90eb8016038d7e5d3ad8e50e4ceb54d69b | [
"MIT"
] | null | null | null | /*
* ====================== leet_84.cpp ==========================
* -- tpr --
* CREATE -- 2020.06.05
* MODIFY --
* ----------------------------------------------------------
* 84. 柱状图中最大的矩形
*/
#include "innLe... | 26.598039 | 64 | 0.402875 | turesnake |
0b56da83c0a8e058caa80169bb67015150bea1e5 | 2,131 | cpp | C++ | NfdcAppCore/AppView.cpp | Mason-Wmx/ViewFramework | d8117adc646c369ad29d64477788514c7a75a797 | [
"Apache-2.0"
] | 1 | 2021-10-03T16:47:04.000Z | 2021-10-03T16:47:04.000Z | NfdcAppCore/AppView.cpp | Mason-Wmx/ViewFramework | d8117adc646c369ad29d64477788514c7a75a797 | [
"Apache-2.0"
] | null | null | null | NfdcAppCore/AppView.cpp | Mason-Wmx/ViewFramework | d8117adc646c369ad29d64477788514c7a75a797 | [
"Apache-2.0"
] | null | null | null |
#include "stdafx.h"
#include "AppView.h"
#include "mainwindow.h"
#include "Application.h"
#include "ViewEvents.h"
#include "Document.h"
using namespace SIM;
AppView::AppView(Application& app,MainWindow& window) :
MVCItem<Application>(app),
_ribbon( window ),
_browser( window ),
_QATView(window),
_ICView(win... | 24.215909 | 130 | 0.713749 | Mason-Wmx |
0b5783013d2d4798a0af17704b8f2b4dca8cebf5 | 6,231 | cpp | C++ | testing/adios2/bindings/C/TestBPWriteTypesHighLevel.cpp | williamfgc/ADIOS2 | 21b686d3737eeb21a3c10ab8de8dde8c5a2f9bb3 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | testing/adios2/bindings/C/TestBPWriteTypesHighLevel.cpp | williamfgc/ADIOS2 | 21b686d3737eeb21a3c10ab8de8dde8c5a2f9bb3 | [
"ECL-2.0",
"Apache-2.0"
] | 4 | 2017-06-12T13:41:45.000Z | 2017-12-13T17:01:40.000Z | testing/adios2/bindings/C/TestBPWriteTypesHighLevel.cpp | williamfgc/ADIOS2 | 21b686d3737eeb21a3c10ab8de8dde8c5a2f9bb3 | [
"ECL-2.0",
"Apache-2.0"
] | 3 | 2017-08-16T17:06:04.000Z | 2017-08-17T14:29:38.000Z | /*
* Distributed under the OSI-approved Apache License, Version 2.0. See
* accompanying file Copyright.txt for details.
*
* TestBPWriteTypesHighLevel.cpp : C-bindings high-level stream API
*
* Created on: Feb 28, 2018
* Author: William F Godoy
*/
#include <adios2_c.h>
#ifdef ADIOS2_HAVE_MPI
#include <m... | 34.616667 | 80 | 0.606805 | williamfgc |
0b57c6d958778b7c62380d4decc2ece2897a305a | 599,819 | cpp | C++ | message/generation/swift-mt-generation/repository/SR2018/parsers/SwiftMtParser_MT565Parser.cpp | Yanick-Salzmann/message-converter-c | 6dfdf56e12f19e0f0b63ee0354fda16968f36415 | [
"MIT"
] | null | null | null | message/generation/swift-mt-generation/repository/SR2018/parsers/SwiftMtParser_MT565Parser.cpp | Yanick-Salzmann/message-converter-c | 6dfdf56e12f19e0f0b63ee0354fda16968f36415 | [
"MIT"
] | null | null | null | message/generation/swift-mt-generation/repository/SR2018/parsers/SwiftMtParser_MT565Parser.cpp | Yanick-Salzmann/message-converter-c | 6dfdf56e12f19e0f0b63ee0354fda16968f36415 | [
"MIT"
] | null | null | null |
#include "repository/ISwiftMtParser.h"
#include "SwiftMtMessage.pb.h"
#include <vector>
#include <string>
#include "BaseErrorListener.h"
#include "SwiftMtParser_MT565Lexer.h"
// Generated from C:/programming/message-converter-c/message/generation/swift-mt-generation/repository/SR2018/grammars/SwiftMtParser_MT565.g4 ... | 41.872182 | 156 | 0.687249 | Yanick-Salzmann |
0b5802c893bbbfe10573041bfe26a1141ed6e8a4 | 3,853 | cpp | C++ | SOFTWARE/A64-TERES/linux-a64/tools/gator/daemon/CapturedXML.cpp | xloem/DIY-LAPTOP | f2a410706f7a919ac644de073c570629d5601203 | [
"Apache-2.0"
] | null | null | null | SOFTWARE/A64-TERES/linux-a64/tools/gator/daemon/CapturedXML.cpp | xloem/DIY-LAPTOP | f2a410706f7a919ac644de073c570629d5601203 | [
"Apache-2.0"
] | null | null | null | SOFTWARE/A64-TERES/linux-a64/tools/gator/daemon/CapturedXML.cpp | xloem/DIY-LAPTOP | f2a410706f7a919ac644de073c570629d5601203 | [
"Apache-2.0"
] | 1 | 2021-10-31T18:37:47.000Z | 2021-10-31T18:37:47.000Z | /**
* Copyright (C) ARM Limited 2010-2014. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#include "CapturedXML.h"
#include <stdlib.h>
#include <stri... | 26.390411 | 92 | 0.683364 | xloem |
0b5bd642d3e9d17515e308d9075ed867a5c9c8b0 | 1,720 | cxx | C++ | vtkm/exec/internal/testing/UnitTestErrorMessageBuffer.cxx | yisyuanliou/VTK-m | cc483c8c2319a78b58b3ab849da8ca448e896220 | [
"BSD-3-Clause"
] | 14 | 2019-10-25T03:25:47.000Z | 2022-01-19T02:14:53.000Z | vtkm/exec/internal/testing/UnitTestErrorMessageBuffer.cxx | yisyuanliou/VTK-m | cc483c8c2319a78b58b3ab849da8ca448e896220 | [
"BSD-3-Clause"
] | 2 | 2020-11-18T16:50:34.000Z | 2022-01-21T13:31:47.000Z | vtkm/exec/internal/testing/UnitTestErrorMessageBuffer.cxx | yisyuanliou/VTK-m | cc483c8c2319a78b58b3ab849da8ca448e896220 | [
"BSD-3-Clause"
] | 5 | 2020-10-02T10:14:35.000Z | 2022-03-10T07:50:22.000Z | //============================================================================
// Copyright (c) Kitware, Inc.
// All rights reserved.
// See LICENSE.txt for details.
//
// This software is distributed WITHOUT ANY WARRANTY; without even
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURP... | 35.833333 | 95 | 0.672093 | yisyuanliou |
0b5f57c9aff3169ea11734ca33d254b1f456085d | 891 | cpp | C++ | 907-sum-of-subarray-minimums/907-sum-of-subarray-minimums.cpp | Ananyaas/LeetCodeDaily | e134e20ac02f26dc40881c376656d3294be0df2c | [
"MIT"
] | 2 | 2022-01-02T19:15:00.000Z | 2022-01-05T21:12:24.000Z | 907-sum-of-subarray-minimums/907-sum-of-subarray-minimums.cpp | Ananyaas/LeetCodeDaily | e134e20ac02f26dc40881c376656d3294be0df2c | [
"MIT"
] | null | null | null | 907-sum-of-subarray-minimums/907-sum-of-subarray-minimums.cpp | Ananyaas/LeetCodeDaily | e134e20ac02f26dc40881c376656d3294be0df2c | [
"MIT"
] | 1 | 2022-03-11T17:11:07.000Z | 2022-03-11T17:11:07.000Z | class Solution {
public:
int sumSubarrayMins(vector<int>& arr) {
vector<int>dp(arr.size());
dp[0]=arr[0];
stack<int>st;
st.push(0);
long long ans=arr[0];
int cv=1e9+7;
for(int i=1;i<arr.size();i++)
{
while(!st.empty() && arr[st.top()]>a... | 24.75 | 58 | 0.317621 | Ananyaas |
0b603922f73ff23a91f04bd356aa4d8f2885cbd3 | 843 | cpp | C++ | subtitans/disabledrawstackingpatch.cpp | UnknownException/SubTitans | 1502cb511ba3abfcec3d23f4345b309e300c8105 | [
"MIT"
] | 24 | 2020-05-18T09:17:46.000Z | 2022-03-12T12:02:02.000Z | subtitans/disabledrawstackingpatch.cpp | UnknownException/SubTitans | 1502cb511ba3abfcec3d23f4345b309e300c8105 | [
"MIT"
] | 4 | 2020-06-03T19:07:35.000Z | 2022-03-12T13:06:42.000Z | subtitans/disabledrawstackingpatch.cpp | UnknownException/SubTitans | 1502cb511ba3abfcec3d23f4345b309e300c8105 | [
"MIT"
] | null | null | null | #include "subtitans.h"
#include "disabledrawstackingpatch.h"
DisableDrawStackingPatch::DisableDrawStackingPatch()
{
GetLogger()->Informational("Constructing %s\n", __func__);
Address = 0;
}
DisableDrawStackingPatch::~DisableDrawStackingPatch()
{
GetLogger()->Informational("Destructing %s\n", __func__);
}
bool Di... | 22.184211 | 90 | 0.746145 | UnknownException |
0b649ed96545aa7ecfc7370693c36b8a455d19be | 1,083 | hpp | C++ | 3rdParty/boost/1.71.0/libs/contract/test/check/audit.hpp | rajeev02101987/arangodb | 817e6c04cb82777d266f3b444494140676da98e2 | [
"Apache-2.0"
] | 12,278 | 2015-01-29T17:11:33.000Z | 2022-03-31T21:12:00.000Z | 3rdParty/boost/1.71.0/libs/contract/test/check/audit.hpp | rajeev02101987/arangodb | 817e6c04cb82777d266f3b444494140676da98e2 | [
"Apache-2.0"
] | 9,469 | 2015-01-30T05:33:07.000Z | 2022-03-31T16:17:21.000Z | 3rdParty/boost/1.71.0/libs/contract/test/check/audit.hpp | rajeev02101987/arangodb | 817e6c04cb82777d266f3b444494140676da98e2 | [
"Apache-2.0"
] | 892 | 2015-01-29T16:26:19.000Z | 2022-03-20T07:44:30.000Z |
// no #include guard
// Copyright (C) 2008-2018 Lorenzo Caminiti
// Distributed under the Boost Software License, Version 1.0 (see accompanying
// file LICENSE_1_0.txt or a copy at http://www.boost.org/LICENSE_1_0.txt).
// See: http://www.boost.org/doc/libs/release/libs/contract/doc/html/index.html
#include <boost/c... | 29.27027 | 79 | 0.674054 | rajeev02101987 |
0b65d1829d8da8698adb7f238f1fee52037fe456 | 15,178 | cpp | C++ | src/tvs/utils/variant.cpp | TastiiVegas/TestWP | 567c62117324b6649a54f23e1e332f6eb73e066a | [
"Apache-2.0"
] | 1 | 2017-09-14T09:59:56.000Z | 2017-09-14T09:59:56.000Z | src/tvs/utils/variant.cpp | TastiiVegas/TestWP | 567c62117324b6649a54f23e1e332f6eb73e066a | [
"Apache-2.0"
] | null | null | null | src/tvs/utils/variant.cpp | TastiiVegas/TestWP | 567c62117324b6649a54f23e1e332f6eb73e066a | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2017 OFFIS Institute for Information Technology
* Oldenburg, Germany
*
* 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.apa... | 23.495356 | 80 | 0.558506 | TastiiVegas |
0b66cec2a46ec93602a5e3e8a0af0b9eb21e402a | 2,041 | cpp | C++ | src/Entity/Player.cpp | zmeadows/aerocore | 15d68c6eebf42e9280c9b172c8fce970af7a30e8 | [
"MIT"
] | 2 | 2019-01-11T16:17:15.000Z | 2019-08-03T04:00:02.000Z | src/Entity/Player.cpp | zmeadows/aerocore | 15d68c6eebf42e9280c9b172c8fce970af7a30e8 | [
"MIT"
] | null | null | null | src/Entity/Player.cpp | zmeadows/aerocore | 15d68c6eebf42e9280c9b172c8fce970af7a30e8 | [
"MIT"
] | null | null | null | #include "Bullet/Bullet.hpp"
#include "Component/Common.hpp"
#include "Component/OffscreenBehavior.hpp"
#include "Engine/UUID.hpp"
#include "Engine/ComponentManager.hpp"
#include "Entity/Player.hpp"
#include "Geometry.hpp"
#include "SpriteCache.hpp"
#include "InputManager.hpp"
const UUID playerUUID(void) {
static ... | 31.4 | 107 | 0.66977 | zmeadows |
0b6757e591c969625f7db3e0b2b8b4bf0b842e60 | 410 | cpp | C++ | POJ/2773.cpp | claviering/code | 7019d50ff2e390696bc60358d1e39d9112f332e0 | [
"WTFPL"
] | 1 | 2017-12-16T13:55:04.000Z | 2017-12-16T13:55:04.000Z | POJ/2773.cpp | claviering/code | 7019d50ff2e390696bc60358d1e39d9112f332e0 | [
"WTFPL"
] | 1 | 2021-09-03T03:00:17.000Z | 2021-09-03T03:00:17.000Z | POJ/2773.cpp | claviering/code | 7019d50ff2e390696bc60358d1e39d9112f332e0 | [
"WTFPL"
] | 1 | 2016-12-19T16:35:13.000Z | 2016-12-19T16:35:13.000Z | #include <iostream>
using namespace std;
int main()
{
int t;
cin >> t;
int time = 1;
while (t--)
{
int n;
cin >> n;
int sum = 0;
for (int k = 1; k <= n; k++)
{
int tmp = (1 + k + 1) * (k + 1) / 2;
sum += k * tmp;
}
c... | 17.083333 | 59 | 0.32439 | claviering |
0b69fc7528e3d8e46ff7f2fe4e6bfcadb1e6840c | 1,738 | hh | C++ | core/include/milan/core/Function.hh | matt-komm/milan-alpha | b6affa5541ca6b01384ab57256983a9fe7e1689c | [
"MIT"
] | null | null | null | core/include/milan/core/Function.hh | matt-komm/milan-alpha | b6affa5541ca6b01384ab57256983a9fe7e1689c | [
"MIT"
] | null | null | null | core/include/milan/core/Function.hh | matt-komm/milan-alpha | b6affa5541ca6b01384ab57256983a9fe7e1689c | [
"MIT"
] | null | null | null | #ifndef __MILAN_CORE_FUNCTION_H__
#define __MILAN_CORE_FUNCTION_H__
#include "milan/core/Types.hh"
#include "milan/core/Ptr.hh"
#include "milan/core/Parameter.hh"
#include <string>
namespace milan
{
class Function:
public FunctionInterface
{
protected:
Ptr<const FunctionInterface> _fctPtr;
publi... | 22 | 111 | 0.548331 | matt-komm |
0b6b9455a8b5db56bed824b45b0c6fd651458f4d | 129 | cpp | C++ | Registration and Users/Source.cpp | Limitless-Rasul-Power/Registration-and-Users | 6b69942537a82dd66df7be645ec2132dbf618e38 | [
"MIT"
] | null | null | null | Registration and Users/Source.cpp | Limitless-Rasul-Power/Registration-and-Users | 6b69942537a82dd66df7be645ec2132dbf618e38 | [
"MIT"
] | null | null | null | Registration and Users/Source.cpp | Limitless-Rasul-Power/Registration-and-Users | 6b69942537a82dd66df7be645ec2132dbf618e38 | [
"MIT"
] | null | null | null | #include "System.h"
unsigned short User::id{ 0 };
int main()
{
System::Control();
system("pause");
return 0;
} | 10.75 | 30 | 0.55814 | Limitless-Rasul-Power |
0b6c790460eb54900b859e839f73275a0ead41ee | 3,298 | cpp | C++ | experimental/SkiaExamples/HelloSkiaExample.cpp | rgraebert/skia | 33a4b46e9f24be6268855478b5c895f883fb4ac5 | [
"BSD-3-Clause"
] | 1 | 2021-06-11T01:10:08.000Z | 2021-06-11T01:10:08.000Z | experimental/SkiaExamples/HelloSkiaExample.cpp | rgraebert/skia | 33a4b46e9f24be6268855478b5c895f883fb4ac5 | [
"BSD-3-Clause"
] | null | null | null | experimental/SkiaExamples/HelloSkiaExample.cpp | rgraebert/skia | 33a4b46e9f24be6268855478b5c895f883fb4ac5 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright 2013 Google Inc.
*
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*
*/
#include "SkExample.h"
#include "SkApplication.h"
#include "SkDraw.h"
#include "SkGradientShader.h"
#include "SkGraphics.h"
#include "SkUnitMappers.h"
class HelloSkia ... | 29.711712 | 94 | 0.614918 | rgraebert |
0b6d4b4a35199edc44768ac8739ce58567b00f92 | 2,464 | hpp | C++ | src/reflection/type/ptr/duplicator.hpp | dmilos/reflection | 0d190d4c625f80dab2d0fde10914365695d2bcc7 | [
"Apache-2.0"
] | 2 | 2020-09-04T13:11:04.000Z | 2021-01-28T02:39:38.000Z | src/reflection/type/ptr/duplicator.hpp | dmilos/reflection | 0d190d4c625f80dab2d0fde10914365695d2bcc7 | [
"Apache-2.0"
] | 1 | 2018-12-31T10:01:19.000Z | 2018-12-31T10:01:19.000Z | src/reflection/type/ptr/duplicator.hpp | dmilos/reflection | 0d190d4c625f80dab2d0fde10914365695d2bcc7 | [
"Apache-2.0"
] | 1 | 2020-09-04T11:00:15.000Z | 2020-09-04T11:00:15.000Z | #ifndef Dh_DDMRM_memory_functor_duplicate_basic_HPP_
#define Dh_DDMRM_memory_functor_duplicate_basic_HPP_
#ifndef TEMPLATE
#ifdef __GNUC__
#define TEMPLATE template
#else
#define TEMPLATE
#endif
#endif
namespace memory
{
namespace pointer
{
template
<
... | 27.377778 | 112 | 0.513393 | dmilos |
0b6d99ecba9287576888924794904cd1e6c84291 | 24,990 | cpp | C++ | tests/Widgets/ToggleButton.cpp | dmg103/TGUI | ed2ac830c399b8b579dc67493823551dbf966d63 | [
"Zlib"
] | null | null | null | tests/Widgets/ToggleButton.cpp | dmg103/TGUI | ed2ac830c399b8b579dc67493823551dbf966d63 | [
"Zlib"
] | null | null | null | tests/Widgets/ToggleButton.cpp | dmg103/TGUI | ed2ac830c399b8b579dc67493823551dbf966d63 | [
"Zlib"
] | null | null | null | /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// TGUI - Texus' Graphical User Interface
// Copyright (C) 2012-2022 Bruno Van de Velde (vdv_b@tgui.eu)
//
// This software is provided 'as-is', without any express or implied warranty.
/... | 68.092643 | 153 | 0.634654 | dmg103 |
0b6eb4cbbf42195b869375dac3586e6cc8046bde | 5,197 | hpp | C++ | Cons/tacka.hpp | matfija/GeoPaint | e4607221fb1c413619312cd0e7eebb679842e20f | [
"MIT"
] | null | null | null | Cons/tacka.hpp | matfija/GeoPaint | e4607221fb1c413619312cd0e7eebb679842e20f | [
"MIT"
] | null | null | null | Cons/tacka.hpp | matfija/GeoPaint | e4607221fb1c413619312cd0e7eebb679842e20f | [
"MIT"
] | 1 | 2020-01-27T23:00:31.000Z | 2020-01-27T23:00:31.000Z | #ifndef TACKA_HPP
#define TACKA_HPP
#include "geom.hpp"
// Imenski prostor za geometriju
namespace geom {
// Tacka afine ravni; dekorisana u smislu
// da implementira potpuno uredjenje
class tacka : public util::total_order<tacka>
{
public:
// Konstruktor bez argumenata
tacka();
// Destr... | 26.380711 | 60 | 0.650183 | matfija |
0b6f6ef579c4be171e6a69c243a896cb1c743d19 | 4,702 | cpp | C++ | coding_exercise/btree_inorder_traversal.cpp | devastating/misc | f9922e14a9305808e668d8412b7a2443a7f45a0d | [
"MIT"
] | null | null | null | coding_exercise/btree_inorder_traversal.cpp | devastating/misc | f9922e14a9305808e668d8412b7a2443a7f45a0d | [
"MIT"
] | null | null | null | coding_exercise/btree_inorder_traversal.cpp | devastating/misc | f9922e14a9305808e668d8412b7a2443a7f45a0d | [
"MIT"
] | null | null | null | #include "basic_includes.hpp"
using namespace std;
/**
* Definition for a binary tree node.
*/
struct TreeNode {
int val;
TreeNode *left;
TreeNode *right;
TreeNode(int x) : val(x), left(NULL), right(NULL) {}
};
class binary_tree
{
public:
binary_tree(string serialized_str)
{
... | 27.179191 | 78 | 0.429817 | devastating |
0b73ef4c0b58ef231128dea109d7ede39bb9ffbb | 4,943 | cc | C++ | src/core/fsnotify.cc | liubangchen/seastar | 5bf108406ae79a5f30383bf8e498dd9d4b51d1a5 | [
"Apache-2.0"
] | 6,526 | 2015-09-22T16:47:59.000Z | 2022-03-31T07:31:07.000Z | src/core/fsnotify.cc | liubangchen/seastar | 5bf108406ae79a5f30383bf8e498dd9d4b51d1a5 | [
"Apache-2.0"
] | 925 | 2015-09-23T13:52:53.000Z | 2022-03-31T21:33:25.000Z | src/core/fsnotify.cc | liubangchen/seastar | 5bf108406ae79a5f30383bf8e498dd9d4b51d1a5 | [
"Apache-2.0"
] | 1,473 | 2015-09-22T23:19:04.000Z | 2022-03-31T21:09:00.000Z | /*
* This file is open source software, licensed to you under the terms
* of the Apache License, Version 2.0 (the "License"). See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. You may not use this file except in compliance with the License.
*
* You may ... | 32.519737 | 126 | 0.648594 | liubangchen |
0b74a396bf0ffe49395feb5f649f84039cf75c1d | 1,005 | hpp | C++ | TextHelper/U8g2.hpp | Finomnis/ArduinoUtilities | 4d617486398a186b9bfeaa0c2f088f995a021672 | [
"MIT"
] | null | null | null | TextHelper/U8g2.hpp | Finomnis/ArduinoUtilities | 4d617486398a186b9bfeaa0c2f088f995a021672 | [
"MIT"
] | null | null | null | TextHelper/U8g2.hpp | Finomnis/ArduinoUtilities | 4d617486398a186b9bfeaa0c2f088f995a021672 | [
"MIT"
] | null | null | null | #pragma once
#include "common.hpp"
#include <U8g2lib.h>
namespace TextHelper
{
namespace impl
{
template <>
class TextWritingDisplayImpl<U8G2> : public TextWritingDisplay
{
public:
constexpr TextWritingDisplayImpl(U8G2 &display) : display{display} {}
i... | 26.447368 | 123 | 0.527363 | Finomnis |
0b74dd292c4a698a2353155ce514f1e5fbc6d6a7 | 3,715 | cpp | C++ | EfEfNet/Code/efefGeneral.cpp | Paideieitor/EfEfNet-Library | ad1d9c20c5d06d74785dcf9d93947d00c19f44f7 | [
"MIT"
] | null | null | null | EfEfNet/Code/efefGeneral.cpp | Paideieitor/EfEfNet-Library | ad1d9c20c5d06d74785dcf9d93947d00c19f44f7 | [
"MIT"
] | null | null | null | EfEfNet/Code/efefGeneral.cpp | Paideieitor/EfEfNet-Library | ad1d9c20c5d06d74785dcf9d93947d00c19f44f7 | [
"MIT"
] | null | null | null | #include "efefGeneral.h"
#include "efefPrivateGlobals.h"
#include "efefManager.h"
int efef::Init()
{
WORD version = MAKEWORD(2, 2);
WSADATA data;
if (WSAStartup(version, &data) == SOCKET_ERROR)
return efef::DebugError("Start Up Error");
if (data.wVersion != version)
{
if (WSAClea... | 21.725146 | 99 | 0.635262 | Paideieitor |
0b7a100456536af92e05f44121b290c6e607a821 | 2,720 | cpp | C++ | code_reading/oceanbase-master/src/storage/transaction/ob_trans_ctx_lock.cpp | wangcy6/weekly_read | 3a8837ee9cd957787ee1785e4066dd623e02e13a | [
"Apache-2.0"
] | null | null | null | code_reading/oceanbase-master/src/storage/transaction/ob_trans_ctx_lock.cpp | wangcy6/weekly_read | 3a8837ee9cd957787ee1785e4066dd623e02e13a | [
"Apache-2.0"
] | null | null | null | code_reading/oceanbase-master/src/storage/transaction/ob_trans_ctx_lock.cpp | wangcy6/weekly_read | 3a8837ee9cd957787ee1785e4066dd623e02e13a | [
"Apache-2.0"
] | 1 | 2020-10-18T12:59:31.000Z | 2020-10-18T12:59:31.000Z | /**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BAS... | 17.662338 | 102 | 0.684191 | wangcy6 |
0b7a7319836f9aa3d2ee9a882cd08869752e3bd5 | 30,794 | cpp | C++ | sumo/src/microsim/cfmodels/MSCFModel.cpp | iltempe/osmosi | c0f54ecdbb7c7b5602d587768617d0dc50f1d75d | [
"MIT"
] | null | null | null | sumo/src/microsim/cfmodels/MSCFModel.cpp | iltempe/osmosi | c0f54ecdbb7c7b5602d587768617d0dc50f1d75d | [
"MIT"
] | null | null | null | sumo/src/microsim/cfmodels/MSCFModel.cpp | iltempe/osmosi | c0f54ecdbb7c7b5602d587768617d0dc50f1d75d | [
"MIT"
] | 2 | 2017-12-14T16:41:59.000Z | 2020-10-16T17:51:27.000Z | /****************************************************************************/
/// @file MSCFModel.cpp
/// @author Tobias Mayer
/// @author Daniel Krajzewicz
/// @author Jakob Erdmann
/// @author Michael Behrisch
/// @author Laura Bieker
/// @author Leonhard Lücken
/// @date Mon, 27 Jul 2009
/// @version $I... | 41.334228 | 185 | 0.588199 | iltempe |
0b7c7920c1bec5b954e8c45920ea402617c90252 | 275 | cpp | C++ | Algorithms/char.cpp | zengboming/Algorithms-Date-Structures-Design-Patterns | 2755f7b1f03c3bd4ac53c70c8c11a5ec593ee0ea | [
"Apache-2.0"
] | null | null | null | Algorithms/char.cpp | zengboming/Algorithms-Date-Structures-Design-Patterns | 2755f7b1f03c3bd4ac53c70c8c11a5ec593ee0ea | [
"Apache-2.0"
] | null | null | null | Algorithms/char.cpp | zengboming/Algorithms-Date-Structures-Design-Patterns | 2755f7b1f03c3bd4ac53c70c8c11a5ec593ee0ea | [
"Apache-2.0"
] | null | null | null | #include<iostream>
#include<cstdlib>
using namespace std;
int main()
{
const char* p="hello";
int cnt=0;
//while(*p){cnt++;p++;cout<<cnt;}
//cnt=0;
while(p){
cnt++;
p++;
cout<<p;
system("pause");
}
return 0;
}
| 14.473684 | 37 | 0.469091 | zengboming |
0b826146ce44efd10cae8056973886fa81794f83 | 3,478 | cc | C++ | third-party/webscalesqlclient/mysql-5.6/sql/hyperloglog.cc | hkirsman/hhvm_centos7_builds | 2a1fd6de0d2d289c1575f43f10018f3bec23bb13 | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | third-party/webscalesqlclient/mysql-5.6/sql/hyperloglog.cc | hkirsman/hhvm_centos7_builds | 2a1fd6de0d2d289c1575f43f10018f3bec23bb13 | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | third-party/webscalesqlclient/mysql-5.6/sql/hyperloglog.cc | hkirsman/hhvm_centos7_builds | 2a1fd6de0d2d289c1575f43f10018f3bec23bb13 | [
"PHP-3.01",
"Zend-2.0"
] | null | null | null | #include "hyperloglog.h"
#include "my_sys.h"
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include <stdio.h>
const uchar bit_parts[] = {16,8,4,2,1};
const uchar default_data_size_log2 = 10;
const double long_range_adjustment_constant32 = 4.294967296e9;
uchar find_first_set_bit_after_index(uint hash, ucha... | 30.243478 | 78 | 0.668775 | hkirsman |
0b8a34a3df4e179bfb6f7d524b16e1e2e6bd11c3 | 810 | cpp | C++ | Leetcode/Arrays/replace-elements-with-greatest-element-on-right-side.cpp | susantabiswas/competitive_coding | 49163ecdc81b68f5c1bd90988cc0dfac34ad5a31 | [
"MIT"
] | 2 | 2021-04-29T14:44:17.000Z | 2021-10-01T17:33:22.000Z | Leetcode/Arrays/replace-elements-with-greatest-element-on-right-side.cpp | adibyte95/competitive_coding | a6f084d71644606c21840875bad78d99f678a89d | [
"MIT"
] | null | null | null | Leetcode/Arrays/replace-elements-with-greatest-element-on-right-side.cpp | adibyte95/competitive_coding | a6f084d71644606c21840875bad78d99f678a89d | [
"MIT"
] | 1 | 2021-10-01T17:33:29.000Z | 2021-10-01T17:33:29.000Z | /*
https://leetcode.com/problems/replace-elements-with-greatest-element-on-right-side/submissions/
Start traversing from 2nd last element, write the max element seen so far there and check if the current
element is greater than max seen so far, if yes update that for next (i-1)th index
TC: O(N... | 30 | 108 | 0.576543 | susantabiswas |
0b8ba7ce05280c0b2caf323dda81dd6a8df384ed | 51,937 | cpp | C++ | unit_tests/source/XDateTupleTest.cpp | MultiSight/multisight-xsdk | 02268e1aeb1313cfb2f9515d08d131a4389e49f2 | [
"BSL-1.0"
] | null | null | null | unit_tests/source/XDateTupleTest.cpp | MultiSight/multisight-xsdk | 02268e1aeb1313cfb2f9515d08d131a4389e49f2 | [
"BSL-1.0"
] | null | null | null | unit_tests/source/XDateTupleTest.cpp | MultiSight/multisight-xsdk | 02268e1aeb1313cfb2f9515d08d131a4389e49f2 | [
"BSL-1.0"
] | null | null | null |
#include "XDateTupleTest.h"
#include <vector>
using namespace std;
using namespace XSDK;
REGISTER_TEST_FIXTURE(XDateTupleTest);
REGISTER_TEST_FIXTURE(XTimeTupleTest);
void XDateTupleTest::TestConstructor()
{
UT_ASSERT(XDateTuple(1) == XDateTuple(1, 1, 1));
UT_ASSERT(XDateTuple(2) == XDateTuple(1, 1, 2));
... | 44.889369 | 191 | 0.630591 | MultiSight |
0b8cc5285bebd41c07ac4c3d7d1fda16e0ffbf61 | 7,411 | cpp | C++ | Source/web/FullscreenController.cpp | quanganh2627/bytm-x64-L-w05-2015_external_chromium_org_third_party_WebKit | 20e637e67a0c272870ae4d78466a68bcb77af041 | [
"BSD-3-Clause"
] | null | null | null | Source/web/FullscreenController.cpp | quanganh2627/bytm-x64-L-w05-2015_external_chromium_org_third_party_WebKit | 20e637e67a0c272870ae4d78466a68bcb77af041 | [
"BSD-3-Clause"
] | null | null | null | Source/web/FullscreenController.cpp | quanganh2627/bytm-x64-L-w05-2015_external_chromium_org_third_party_WebKit | 20e637e67a0c272870ae4d78466a68bcb77af041 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (C) 2013 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditio... | 39.005263 | 116 | 0.689651 | quanganh2627 |
0b8d253421eb1ebe102508ffea5efab04122f536 | 1,586 | cpp | C++ | Release/tests/functional/websockets/client/proxy_tests.cpp | LewisCheng-MSFT/cpprestsdk | 219daed12e45618aeffc94b73b83af55c3dca7aa | [
"Apache-2.0"
] | 11 | 2015-01-18T21:46:19.000Z | 2022-02-09T02:10:45.000Z | Release/tests/functional/websockets/client/proxy_tests.cpp | LewisCheng-MSFT/cpprestsdk | 219daed12e45618aeffc94b73b83af55c3dca7aa | [
"Apache-2.0"
] | null | null | null | Release/tests/functional/websockets/client/proxy_tests.cpp | LewisCheng-MSFT/cpprestsdk | 219daed12e45618aeffc94b73b83af55c3dca7aa | [
"Apache-2.0"
] | 6 | 2015-01-18T21:47:04.000Z | 2021-05-20T03:14:40.000Z | /***
* ==++==
*
* Copyright (c) Microsoft Corporation. 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... | 28.836364 | 114 | 0.643127 | LewisCheng-MSFT |
0b8d9fdad0ba1b34ec89e8bec996c31247d96ece | 5,027 | cpp | C++ | tests/testsType.cpp | markuspf/velocypack | 0cf8f21764f0336c32925ccd48f488cb8068a097 | [
"BSD-2-Clause",
"Apache-2.0"
] | 12,278 | 2015-01-29T17:11:33.000Z | 2022-03-31T21:12:00.000Z | tests/testsType.cpp | markuspf/velocypack | 0cf8f21764f0336c32925ccd48f488cb8068a097 | [
"BSD-2-Clause",
"Apache-2.0"
] | 9,469 | 2015-01-30T05:33:07.000Z | 2022-03-31T16:17:21.000Z | tests/testsType.cpp | markuspf/velocypack | 0cf8f21764f0336c32925ccd48f488cb8068a097 | [
"BSD-2-Clause",
"Apache-2.0"
] | 892 | 2015-01-29T16:26:19.000Z | 2022-03-20T07:44:30.000Z | ////////////////////////////////////////////////////////////////////////////////
/// @brief Library to build up VPack documents.
///
/// DISCLAIMER
///
/// Copyright 2015 ArangoDB GmbH, Cologne, Germany
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except in compl... | 39.582677 | 80 | 0.702208 | markuspf |
0b91c0ba01dd189d8fe58298364f21c8cfe4ab82 | 737 | cpp | C++ | Source/Graphics/GteSamplerState.cpp | vehsakul/gtl | 498bb20947e9ff21c08dd5a884ac3dc6f8313bb9 | [
"BSL-1.0"
] | null | null | null | Source/Graphics/GteSamplerState.cpp | vehsakul/gtl | 498bb20947e9ff21c08dd5a884ac3dc6f8313bb9 | [
"BSL-1.0"
] | null | null | null | Source/Graphics/GteSamplerState.cpp | vehsakul/gtl | 498bb20947e9ff21c08dd5a884ac3dc6f8313bb9 | [
"BSL-1.0"
] | null | null | null | // David Eberly, Geometric Tools, Redmond WA 98052
// Copyright (c) 1998-2016
// Distributed under the Boost Software License, Version 1.0.
// http://www.boost.org/LICENSE_1_0.txt
// http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
// File Version: 3.0.0 (2016/06/19)
#include <GTEnginePCH.h>
#include <Graph... | 24.566667 | 62 | 0.675712 | vehsakul |
0b93a61618557df314ef01706bddef6cf7edaa2f | 95 | cpp | C++ | tutorial1/ex5 - extra files/main.cpp | hoppfull/Legacy-Cpp | 0785e70230bd2fd4a732e5852ca5a8ab320eaa67 | [
"MIT"
] | null | null | null | tutorial1/ex5 - extra files/main.cpp | hoppfull/Legacy-Cpp | 0785e70230bd2fd4a732e5852ca5a8ab320eaa67 | [
"MIT"
] | null | null | null | tutorial1/ex5 - extra files/main.cpp | hoppfull/Legacy-Cpp | 0785e70230bd2fd4a732e5852ca5a8ab320eaa67 | [
"MIT"
] | null | null | null | #include <iostream>
#include "test.h"
int main(){
std::cout << five();
return 0;
}
| 8.636364 | 24 | 0.547368 | hoppfull |
0b97328fb46ad8f79b0555132af8e5b1f6625b9e | 215 | cc | C++ | cores/pico/picorv32/demo/src/decode_riscv_JALR.cc | yuex1994/iw_imdb | 946ce12d1b28075bfc513b2baf0f30601d36558c | [
"MIT"
] | 1 | 2020-05-30T17:34:03.000Z | 2020-05-30T17:34:03.000Z | cores/pico/picorv32/demo/src/decode_riscv_JALR.cc | yuex1994/iw_imdb | 946ce12d1b28075bfc513b2baf0f30601d36558c | [
"MIT"
] | null | null | null | cores/pico/picorv32/demo/src/decode_riscv_JALR.cc | yuex1994/iw_imdb | 946ce12d1b28075bfc513b2baf0f30601d36558c | [
"MIT"
] | 1 | 2020-02-26T03:35:51.000Z | 2020-02-26T03:35:51.000Z | #include "riscv.h"
bool riscv::decode_riscv_JALR() {
if (!1) {
return false;
}
uint7_t tmp_15 = 0 - 1;
c_15 = static_cast<uint7_t> ((riscv_inst >> 0) & tmp_15);
c_768 = c_15 == 103;
return c_768;
};
| 19.545455 | 59 | 0.604651 | yuex1994 |
0b9a50a4f6724669a76fe08028073b17c20054fb | 4,059 | cpp | C++ | api/autoware_iv_internal_api_adaptor/src/initial_pose.cpp | KevinXie86/AutowareArchitectureProposal.iv | 28c8c367652bcc5c2548abdab732e0fea7302653 | [
"Apache-2.0"
] | 88 | 2021-01-16T20:05:40.000Z | 2022-03-21T05:40:35.000Z | api/autoware_iv_internal_api_adaptor/src/initial_pose.cpp | KevinXie86/AutowareArchitectureProposal.iv | 28c8c367652bcc5c2548abdab732e0fea7302653 | [
"Apache-2.0"
] | 271 | 2021-01-13T16:54:09.000Z | 2022-02-25T16:26:07.000Z | api/autoware_iv_internal_api_adaptor/src/initial_pose.cpp | KevinXie86/AutowareArchitectureProposal.iv | 28c8c367652bcc5c2548abdab732e0fea7302653 | [
"Apache-2.0"
] | 68 | 2021-01-14T09:16:40.000Z | 2022-03-29T02:15:36.000Z | // Copyright 2021 Tier IV, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to i... | 36.9 | 90 | 0.752648 | KevinXie86 |
0b9ab9fcbbdd6e8d1c97ce245b01e71b34a27318 | 7,190 | cpp | C++ | src/FileUtils.cpp | omi-lab/tp_utils | cb4fa24f418b7a9cc95f7f574ed724d9ed378528 | [
"MIT"
] | null | null | null | src/FileUtils.cpp | omi-lab/tp_utils | cb4fa24f418b7a9cc95f7f574ed724d9ed378528 | [
"MIT"
] | null | null | null | src/FileUtils.cpp | omi-lab/tp_utils | cb4fa24f418b7a9cc95f7f574ed724d9ed378528 | [
"MIT"
] | null | null | null | #include "tp_utils/FileUtils.h"
#include <fstream>
#include <streambuf>
namespace tp_utils
{
//##################################################################################################
std::string TP_UTILS_SHARED_EXPORT readTextFile(const std::string& fileName)
{
try
{
std::ifstream in(fileName);
... | 29.588477 | 130 | 0.484423 | omi-lab |