hexsha stringlengths 40 40 | size int64 7 1.05M | ext stringclasses 13
values | lang stringclasses 1
value | max_stars_repo_path stringlengths 4 269 | max_stars_repo_name stringlengths 5 109 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 9 | max_stars_count int64 1 191k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 4 269 | max_issues_repo_name stringlengths 5 116 | max_issues_repo_head_hexsha stringlengths 40 40 | max_issues_repo_licenses listlengths 1 9 | max_issues_count int64 1 48.5k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 4 269 | max_forks_repo_name stringlengths 5 116 | max_forks_repo_head_hexsha stringlengths 40 40 | max_forks_repo_licenses listlengths 1 9 | max_forks_count int64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 7 1.05M | avg_line_length float64 1.21 330k | max_line_length int64 6 990k | alphanum_fraction float64 0.01 0.99 | author_id stringlengths 2 40 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
92a5c7f2a916af5dad02a0129e148cf91381964f | 21,312 | cpp | C++ | src/S2LP.cpp | cparata/S2-LP | 620eb9026749425bd8bf8cd8929711aae8f831fd | [
"BSD-3-Clause"
] | 4 | 2020-06-10T00:10:36.000Z | 2021-07-04T16:12:41.000Z | src/S2LP.cpp | cparata/S2-LP | 620eb9026749425bd8bf8cd8929711aae8f831fd | [
"BSD-3-Clause"
] | 3 | 2021-04-16T15:50:28.000Z | 2021-09-15T14:59:51.000Z | src/S2LP.cpp | cparata/S2-LP | 620eb9026749425bd8bf8cd8929711aae8f831fd | [
"BSD-3-Clause"
] | 5 | 2020-03-25T09:39:02.000Z | 2022-03-09T18:48:10.000Z | /**
******************************************************************************
* @file S2LP.cpp
* @author SRA
* @version V1.0.0
* @date March 2020
* @brief Implementation of a S2-LP sub-1GHz transceiver.
******************************************************************************
* @attention
*
... | 25.801453 | 457 | 0.680133 | cparata |
92ae06733548a7f8dd9a19cf96c8f449bd64a0c3 | 35,275 | cpp | C++ | Parser/src/parser.cpp | nuua-io/Nuua | d74bec22d09d25f2bc0ced8d7c9a154ff84a874d | [
"MIT"
] | 43 | 2018-11-17T02:08:09.000Z | 2022-03-03T14:50:02.000Z | Parser/src/parser.cpp | nuua-io/Nuua | d74bec22d09d25f2bc0ced8d7c9a154ff84a874d | [
"MIT"
] | 2 | 2019-08-07T03:16:51.000Z | 2021-05-17T03:05:08.000Z | Parser/src/parser.cpp | nuua-io/Nuua | d74bec22d09d25f2bc0ced8d7c9a154ff84a874d | [
"MIT"
] | 3 | 2019-01-07T18:43:35.000Z | 2021-07-21T12:12:23.000Z | /**
* |-------------|
* | Nuua Parser |
* |-------------|
*
* Copyright 2019 Erik Campobadal <soc@erik.cat>
* https://nuua.io
*/
#include "../include/parser.hpp"
#include "../../Lexer/include/lexer.hpp"
#include "../../Logger/include/logger.hpp"
#include <filesystem>
#include <algorithm>
#define CURRENT() (*(th... | 36.744792 | 152 | 0.619731 | nuua-io |
92aed95a9b30612cc232672044221fd85a6aafac | 507 | cpp | C++ | ITP1/q31.cpp | felixny/AizuOnline | 8ff399d60077e08961845502d4a99244da580cd2 | [
"MIT"
] | null | null | null | ITP1/q31.cpp | felixny/AizuOnline | 8ff399d60077e08961845502d4a99244da580cd2 | [
"MIT"
] | null | null | null | ITP1/q31.cpp | felixny/AizuOnline | 8ff399d60077e08961845502d4a99244da580cd2 | [
"MIT"
] | null | null | null | // ITP1_9_C
#include <iostream>
#include <string>
using namespace std;
int main() {
string taro;
string hanako;
int n;
int pointH = 0;
int pointT = 0;
cin >> n;
for (int i = 0; i < n; i++) {
cin >> taro >> hanako;
if (taro > hanako) {
pointT += 3;
} else if (taro < hanako) {
po... | 14.485714 | 42 | 0.506903 | felixny |
92aefa42e0b83866da1087676db09d5e1193f50d | 3,598 | cc | C++ | system_manager.cc | rockchip-linux/LibIPCProtocol | 6fe4cb96c761253f4002db1f3be71b24dc946cd2 | [
"BSD-3-Clause"
] | 1 | 2021-06-28T00:25:02.000Z | 2021-06-28T00:25:02.000Z | system_manager.cc | rockchip-linux/LibIPCProtocol | 6fe4cb96c761253f4002db1f3be71b24dc946cd2 | [
"BSD-3-Clause"
] | null | null | null | system_manager.cc | rockchip-linux/LibIPCProtocol | 6fe4cb96c761253f4002db1f3be71b24dc946cd2 | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2020 Fuzhou Rockchip Electronics Co., Ltd. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <assert.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string>
#include <unistd.h>
#include <glib.h>
#inc... | 26.455882 | 144 | 0.708727 | rockchip-linux |
92b24e1febd4e548b6c726b55d2d7e972f5f219b | 8,994 | cpp | C++ | libpvguiqt/src/PVLayerStackModel.cpp | inendi-inspector/inspector | 9b9a00222d8a73cb0817ca56790ee9155db61cc4 | [
"MIT"
] | null | null | null | libpvguiqt/src/PVLayerStackModel.cpp | inendi-inspector/inspector | 9b9a00222d8a73cb0817ca56790ee9155db61cc4 | [
"MIT"
] | null | null | null | libpvguiqt/src/PVLayerStackModel.cpp | inendi-inspector/inspector | 9b9a00222d8a73cb0817ca56790ee9155db61cc4 | [
"MIT"
] | null | null | null | //
// MIT License
//
// © ESI Group, 2015
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in
// the Software without restriction, including without limitation the rights to
// use, copy, modify, merge, pu... | 28.919614 | 99 | 0.632199 | inendi-inspector |
92b39e8022390f7662723c15701eda42b756749c | 552 | hpp | C++ | mspp/mspp/Utils/IterableUtils.hpp | shailist/ms- | 4f40dd670bdd442c26abcc1642f748775381bb3c | [
"Unlicense"
] | null | null | null | mspp/mspp/Utils/IterableUtils.hpp | shailist/ms- | 4f40dd670bdd442c26abcc1642f748775381bb3c | [
"Unlicense"
] | null | null | null | mspp/mspp/Utils/IterableUtils.hpp | shailist/ms- | 4f40dd670bdd442c26abcc1642f748775381bb3c | [
"Unlicense"
] | null | null | null | #pragma once
namespace IterableUtils
{
template <typename TIterable>
inline constexpr bool starts_with(const TIterable& iterable, const TIterable& sub_iterable)
{
auto iterable_iter = iterable.cbegin();
auto sub_iterable_iter = sub_iterable.cbegin();
for (;; ++iterable_iter, ++sub_iterable_iter)
{
if ((i... | 24 | 92 | 0.697464 | shailist |
92b791d0a438f2e5837ccd1f36103314f392b407 | 109 | cpp | C++ | examples/libsimdpp/main.cpp | PhoebeWangintw/hunter | 67fadbe7388254c8626b2130c0afb0a5f1817e47 | [
"BSD-2-Clause"
] | 2 | 2019-05-28T06:24:08.000Z | 2021-08-10T17:10:35.000Z | examples/libsimdpp/main.cpp | PhoebeWangintw/hunter | 67fadbe7388254c8626b2130c0afb0a5f1817e47 | [
"BSD-2-Clause"
] | null | null | null | examples/libsimdpp/main.cpp | PhoebeWangintw/hunter | 67fadbe7388254c8626b2130c0afb0a5f1817e47 | [
"BSD-2-Clause"
] | 1 | 2020-03-02T16:07:55.000Z | 2020-03-02T16:07:55.000Z | #include <simdpp/simd.h>
int main() {
simdpp::uint8<32> a;
simdpp::uint8<32> b;
auto c = a + b;
} | 18.166667 | 24 | 0.550459 | PhoebeWangintw |
92bc0e770e74ab566c2ad501f1c0cc77c0caf138 | 6,443 | cpp | C++ | test/system-level/dca/dca_sp_DCA+_mpi_test.cpp | gonidelis/DCA | b219350a335b96c85b74de9a88bd00d4f37f0ce2 | [
"BSD-3-Clause"
] | null | null | null | test/system-level/dca/dca_sp_DCA+_mpi_test.cpp | gonidelis/DCA | b219350a335b96c85b74de9a88bd00d4f37f0ce2 | [
"BSD-3-Clause"
] | 11 | 2020-04-22T14:50:27.000Z | 2021-09-10T05:43:51.000Z | test/system-level/dca/dca_sp_DCA+_mpi_test.cpp | weilewei/DCA | b219350a335b96c85b74de9a88bd00d4f37f0ce2 | [
"BSD-3-Clause"
] | 1 | 2019-09-22T16:33:19.000Z | 2019-09-22T16:33:19.000Z | // Copyright (C) 2018 ETH Zurich
// Copyright (C) 2018 UT-Battelle, LLC
// All rights reserved.
//
// See LICENSE for terms of usage.
// See CITATION.md for citation guidelines, if DCA++ is used for scientific publications.
//
// Author: Urs R. Haehner (haehneru@itp.phys.ethz.ch)
// Giovanni Balduzzi (gbalduzz@... | 39.771605 | 100 | 0.670185 | gonidelis |
92c9d75b665ccc72165d44f9e3120a4264fcaf40 | 1,065 | cpp | C++ | C++/airplane-seat-assignment-probability.cpp | jaiskid/LeetCode-Solutions | a8075fd69087c5463f02d74e6cea2488fdd4efd1 | [
"MIT"
] | 3,269 | 2018-10-12T01:29:40.000Z | 2022-03-31T17:58:41.000Z | C++/airplane-seat-assignment-probability.cpp | jaiskid/LeetCode-Solutions | a8075fd69087c5463f02d74e6cea2488fdd4efd1 | [
"MIT"
] | 53 | 2018-12-16T22:54:20.000Z | 2022-02-25T08:31:20.000Z | C++/airplane-seat-assignment-probability.cpp | jaiskid/LeetCode-Solutions | a8075fd69087c5463f02d74e6cea2488fdd4efd1 | [
"MIT"
] | 1,236 | 2018-10-12T02:51:40.000Z | 2022-03-30T13:30:37.000Z | // Time: O(1)
// Space: O(1)
class Solution {
public:
double nthPersonGetsNthSeat(int n) {
// p(k) = 1 * (prob that 1th passenger takes his own seat) +
// 0 * (prob that 1th passenger takes kth one's seat) +
// 1 * (prob that 1th passenger takes the others' seat) *
/... | 29.583333 | 73 | 0.406573 | jaiskid |
92d34bdc75e8f726ba72e0f207e4bbd8dadb960e | 5,907 | cpp | C++ | arduino/stepper_servo_i2c/src/stepper_servo_controller.cpp | naturetwo/plantnotplant | be9e941e517080e175e292c782fefef9c8b17ce5 | [
"Apache-2.0"
] | 1 | 2019-03-30T12:36:34.000Z | 2019-03-30T12:36:34.000Z | arduino/stepper_servo_i2c/src/stepper_servo_controller.cpp | naturetwo/plantnotplant | be9e941e517080e175e292c782fefef9c8b17ce5 | [
"Apache-2.0"
] | null | null | null | arduino/stepper_servo_i2c/src/stepper_servo_controller.cpp | naturetwo/plantnotplant | be9e941e517080e175e292c782fefef9c8b17ce5 | [
"Apache-2.0"
] | null | null | null | // Arduino Motor Controller
// Marcus Jones 24FEB2019
//
// Commands
// f: Stepper forward 1 rotation
// b: Stepper backward 1 rotation
// 1: Servo posion 1
// 2: Servo posion 2
// 3: Servo posion 3
//
// Serial API:
#include <Arduino.h>
#include <Servo.h>
#include <Wire.h>
#include <Adafruit_NeoPixel.h>
// I2C setti... | 24.510373 | 93 | 0.619096 | naturetwo |
92d4d92a67fa67b0f562791ff39593ec02bb289d | 1,239 | hpp | C++ | engine/runtime/rendering/generator/cylinder_mesh.hpp | ValtoForks/EtherealEngine | ab769803dcd71a61c2805afd259959b62fcdc1ff | [
"BSD-2-Clause"
] | 791 | 2016-11-04T14:13:41.000Z | 2022-03-20T20:47:31.000Z | engine/runtime/rendering/generator/cylinder_mesh.hpp | ValtoForks/EtherealEngine | ab769803dcd71a61c2805afd259959b62fcdc1ff | [
"BSD-2-Clause"
] | 28 | 2016-12-01T05:59:30.000Z | 2021-03-20T09:49:26.000Z | engine/runtime/rendering/generator/cylinder_mesh.hpp | ValtoForks/EtherealEngine | ab769803dcd71a61c2805afd259959b62fcdc1ff | [
"BSD-2-Clause"
] | 151 | 2016-12-21T09:44:43.000Z | 2022-03-31T13:42:18.000Z | #ifndef GENERATOR_CYLINDERMESH_HPP
#define GENERATOR_CYLINDERMESH_HPP
#include "axis_swap_mesh.hpp"
#include "lathe_mesh.hpp"
#include "line_shape.hpp"
#include "uv_flip_mesh.hpp"
namespace generator
{
/// Cylinder centered at origin aligned along the z-axis.
/// @image html CylinderMesh.svg
class cylinder_mesh_t
{
... | 26.361702 | 91 | 0.749798 | ValtoForks |
92d6b42a0a5f924cedd60817659ac6fe420ca030 | 1,318 | cpp | C++ | sxaccelerate/src/graph/SxGProps.cpp | ashtonmv/sphinx_vdw | 5896fee0d92c06e883b72725cb859d732b8b801f | [
"Apache-2.0"
] | 1 | 2020-02-29T03:26:32.000Z | 2020-02-29T03:26:32.000Z | sxaccelerate/src/graph/SxGProps.cpp | ashtonmv/sphinx_vdw | 5896fee0d92c06e883b72725cb859d732b8b801f | [
"Apache-2.0"
] | null | null | null | sxaccelerate/src/graph/SxGProps.cpp | ashtonmv/sphinx_vdw | 5896fee0d92c06e883b72725cb859d732b8b801f | [
"Apache-2.0"
] | null | null | null | // ---------------------------------------------------------------------------
//
// The general purpose cross platform C/C++ framework
//
// S x A c c e l e r a t e
//
// Home: https://www.sxlib.de
// License: Apache 2
// Authors: see src/AUTHOR... | 22.338983 | 78 | 0.528073 | ashtonmv |
92d7507a777de4cbc7b66ae86ec2ac23ffd7d06f | 3,013 | cpp | C++ | src/gui/tb/tb_str.cpp | sstanfield/hexGame | 99edad55703846992d3f64ad4cf9d146d57ca625 | [
"Zlib"
] | null | null | null | src/gui/tb/tb_str.cpp | sstanfield/hexGame | 99edad55703846992d3f64ad4cf9d146d57ca625 | [
"Zlib"
] | null | null | null | src/gui/tb/tb_str.cpp | sstanfield/hexGame | 99edad55703846992d3f64ad4cf9d146d57ca625 | [
"Zlib"
] | null | null | null | // ================================================================================
// == This file is a part of Turbo Badger. (C) 2011-2014, Emil Segerås ==
// == See tb_core.h for more information. ==
// =================================================================... | 18.83125 | 92 | 0.545636 | sstanfield |
92df5776c2237871b6299ff2eb1599fa24b05845 | 695 | cpp | C++ | Coding/CodeChef/Other/MANRECT.cpp | dhvanilp/Data-Structures-and-Algorithms | d9c04e424ef2d2a73dc8afda7ace4cc294c05420 | [
"MIT"
] | null | null | null | Coding/CodeChef/Other/MANRECT.cpp | dhvanilp/Data-Structures-and-Algorithms | d9c04e424ef2d2a73dc8afda7ace4cc294c05420 | [
"MIT"
] | null | null | null | Coding/CodeChef/Other/MANRECT.cpp | dhvanilp/Data-Structures-and-Algorithms | d9c04e424ef2d2a73dc8afda7ace4cc294c05420 | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
#define alpha 1000000000
int main(){
int t;
cin>>t;
while(t--){
long long int k1,k2,k3,k4;
cout<<"Q 0 0\n"<<flush;
cin>>k1;
cout<<"Q 1000000000 1000000000\n"<<flush;
cin>>k2;
cout<<"Q 1000000000 0\n"<<flush;
... | 21.71875 | 59 | 0.443165 | dhvanilp |
92df58be4ba43f7498c6a5f73940bc99d8ac1b5a | 975 | cpp | C++ | cpp1st/week05/byongmin/03.atomic.cpp | th4inquiry/PentaDevs | aa379d24494a485ad5e7fdcc385c6ccfb02cf307 | [
"Apache-2.0"
] | 2 | 2022-03-10T10:18:23.000Z | 2022-03-16T15:37:22.000Z | cpp1st/week05/byongmin/03.atomic.cpp | th4inquiry/PentaDevs | aa379d24494a485ad5e7fdcc385c6ccfb02cf307 | [
"Apache-2.0"
] | 8 | 2022-03-09T16:14:47.000Z | 2022-03-28T15:35:17.000Z | cpp1st/week05/byongmin/03.atomic.cpp | th4inquiry/PentaDevs | aa379d24494a485ad5e7fdcc385c6ccfb02cf307 | [
"Apache-2.0"
] | 4 | 2022-03-08T00:22:29.000Z | 2022-03-12T13:22:43.000Z | #include <iostream>
#include <thread>
#include <vector>
#include <atomic>
using namespace std;
void increment(int& counter)
{
for (int i=0; i<10000; ++i)
{
++counter;
this_thread::sleep_for(chrono::microseconds(1));
}
}
void incrementAtomic(atomic<int>& counter)
{
for (int i=0; i<1000... | 18.396226 | 80 | 0.575385 | th4inquiry |
92e0f90428a0a6b4eeec4d42b63b8feabd42c22e | 2,202 | hpp | C++ | src/sdl/error.hpp | degarashi/revenant | 9e671320a5c8790f6bdd1b14934f81c37819f7b3 | [
"MIT"
] | null | null | null | src/sdl/error.hpp | degarashi/revenant | 9e671320a5c8790f6bdd1b14934f81c37819f7b3 | [
"MIT"
] | null | null | null | src/sdl/error.hpp | degarashi/revenant | 9e671320a5c8790f6bdd1b14934f81c37819f7b3 | [
"MIT"
] | null | null | null | #pragma once
#include "lubee/src/error_chk.hpp"
namespace rev {
namespace detail {
struct SDLErrorI {
static const char* Get();
static void Reset();
static const char *const c_apiName;
};
struct IMGErrorI {
static const char* Get();
static void Reset();
static const char *const c_apiName;
};... | 33.876923 | 116 | 0.669846 | degarashi |
2bb450124612e631b02f7d839b2f37920171d2fc | 6,043 | cpp | C++ | Final_Fantasy_Mystery_World/Final_Fantasy_Mystery_World/m1EasingSplines.cpp | polarpathgames/Polar-Path | cf0eed03bbd6478c4fdd1eb074f48a2ceb78e0d6 | [
"MIT"
] | 9 | 2019-03-05T07:26:04.000Z | 2019-10-09T15:57:45.000Z | Final_Fantasy_Mystery_World/Final_Fantasy_Mystery_World/m1EasingSplines.cpp | polarpathgames/Polar-Path | cf0eed03bbd6478c4fdd1eb074f48a2ceb78e0d6 | [
"MIT"
] | 114 | 2019-03-10T09:35:12.000Z | 2019-06-10T21:39:12.000Z | Final_Fantasy_Mystery_World/Final_Fantasy_Mystery_World/m1EasingSplines.cpp | polarpathgames/Polar-Path | cf0eed03bbd6478c4fdd1eb074f48a2ceb78e0d6 | [
"MIT"
] | 3 | 2019-02-25T16:12:40.000Z | 2019-11-19T20:48:06.000Z | #include "p2Defs.h"
#include "p2Log.h"
#include "App.h"
#include "m1Input.h"
#include "m1Textures.h"
#include "m1Render.h"
#include "m1MenuManager.h"
#include "m1Window.h"
#include "m1Map.h"
#include "m1EasingSplines.h"
#include <string>
#include "p2Log.h"
#include "Brofiler/Brofiler.h"
m1EasingSplines::m1EasingSplin... | 29.915842 | 159 | 0.730101 | polarpathgames |
2bb5086b377f9557b71a737d06db2a6d5f33517b | 71 | cpp | C++ | Src/App.cpp | Kataglyphis/GraphicsEngineVulkan | 5c66d5761419a6a1b1a6a0628d391d29f03fb0ad | [
"BSD-3-Clause"
] | null | null | null | Src/App.cpp | Kataglyphis/GraphicsEngineVulkan | 5c66d5761419a6a1b1a6a0628d391d29f03fb0ad | [
"BSD-3-Clause"
] | null | null | null | Src/App.cpp | Kataglyphis/GraphicsEngineVulkan | 5c66d5761419a6a1b1a6a0628d391d29f03fb0ad | [
"BSD-3-Clause"
] | null | null | null | #include "App.h"
App::App()
{
}
void App::run()
{
}
App::~App()
{
}
| 5.071429 | 16 | 0.464789 | Kataglyphis |
2bb62a640cf30baf34c8397376008da560128338 | 1,209 | cpp | C++ | src/test.weapon.cpp | prinsij/RogueReborn | 20e6ba4d2e61a47283747ba207a758e604fa89d9 | [
"BSD-3-Clause"
] | null | null | null | src/test.weapon.cpp | prinsij/RogueReborn | 20e6ba4d2e61a47283747ba207a758e604fa89d9 | [
"BSD-3-Clause"
] | null | null | null | src/test.weapon.cpp | prinsij/RogueReborn | 20e6ba4d2e61a47283747ba207a758e604fa89d9 | [
"BSD-3-Clause"
] | null | null | null | /**
* @file test.weapon.cpp
* @author Team Rogue++
* @date December 08, 2016
*
* @brief Member definitions for the WeaponTest class
*/
#include <exception>
#include <iostream>
#include <string>
#include <vector>
#include "include/playerchar.h"
#include "include/weapon.h"
#include "test.testable.h"
/**
* @bri... | 25.1875 | 100 | 0.652605 | prinsij |
2bbfffebeab6997db4591b2bad5db24d4f641254 | 5,814 | cpp | C++ | cpp/sec.cpp | Ypig/vergil | 1fedad4a6afbd108530959275e959c4bf5ed0990 | [
"MIT"
] | 74 | 2019-10-03T07:22:47.000Z | 2022-03-15T11:54:45.000Z | cpp/sec.cpp | Ypig/vergil | 1fedad4a6afbd108530959275e959c4bf5ed0990 | [
"MIT"
] | null | null | null | cpp/sec.cpp | Ypig/vergil | 1fedad4a6afbd108530959275e959c4bf5ed0990 | [
"MIT"
] | 34 | 2019-10-05T05:08:26.000Z | 2022-02-14T03:36:01.000Z | #include "sec.h"
namespace tokza{
SEC_ELE::SEC_ELE() {
this->head = 0;
this->end = 0;
this->file_hash = 0;
this->mem_hash = 0;
return;
}
SEC_ELE::~SEC_ELE() {
this->head = 0;
this->end = 0;
this->file_hash = 0;
this->mem_hash = 0;
... | 31.597826 | 100 | 0.5086 | Ypig |
2bc2a35da628b06dec5d795ffe1a5575b375f772 | 3,052 | cpp | C++ | src/Picasso_InputParser.cpp | streeve/picasso | 8e546ede7729dbb0462f5a856d06530f7cbf912c | [
"BSD-3-Clause"
] | 3 | 2021-02-17T14:59:09.000Z | 2021-09-29T23:29:52.000Z | src/Picasso_InputParser.cpp | streeve/picasso | 8e546ede7729dbb0462f5a856d06530f7cbf912c | [
"BSD-3-Clause"
] | 48 | 2021-02-17T17:24:12.000Z | 2022-03-18T14:12:02.000Z | src/Picasso_InputParser.cpp | streeve/picasso | 8e546ede7729dbb0462f5a856d06530f7cbf912c | [
"BSD-3-Clause"
] | 5 | 2021-02-17T14:39:58.000Z | 2021-10-05T18:42:21.000Z | /****************************************************************************
* Copyright (c) 2021 by the Picasso authors *
* All rights reserved. *
* *
* This ... | 34.681818 | 94 | 0.424967 | streeve |
2bc3612efa6deba48d73001ac47174f596347899 | 5,617 | hpp | C++ | lib/generated/definitions/mask/mask_neon.hpp | db-tu-dresden/TVL | 051261d49f993ce5c70629526038a6f7717055ef | [
"Apache-2.0"
] | 2 | 2022-03-21T23:17:32.000Z | 2022-03-22T19:56:17.000Z | lib/generated/definitions/mask/mask_neon.hpp | db-tu-dresden/TVL | 051261d49f993ce5c70629526038a6f7717055ef | [
"Apache-2.0"
] | 1 | 2022-03-31T11:56:21.000Z | 2022-03-31T11:56:21.000Z | lib/generated/definitions/mask/mask_neon.hpp | db-tu-dresden/TVL | 051261d49f993ce5c70629526038a6f7717055ef | [
"Apache-2.0"
] | 1 | 2022-03-23T08:38:49.000Z | 2022-03-23T08:38:49.000Z | /*==========================================================================*
* This file is part of the TVL - a template SIMD library. *
* *
* Copyright 2022 TVL-Team, Database Research Group TU Dresden *
* ... | 45.666667 | 171 | 0.541926 | db-tu-dresden |
2bc61916cabd98ca28e8a5e61c37a6f44c5753e7 | 223 | hpp | C++ | examples/glfw_opengl_es_renderer/parameters_persistency.hpp | vladimir-voinea/vr | 0af18898ee512a0f94be7609e19753b92da03775 | [
"MIT"
] | null | null | null | examples/glfw_opengl_es_renderer/parameters_persistency.hpp | vladimir-voinea/vr | 0af18898ee512a0f94be7609e19753b92da03775 | [
"MIT"
] | null | null | null | examples/glfw_opengl_es_renderer/parameters_persistency.hpp | vladimir-voinea/vr | 0af18898ee512a0f94be7609e19753b92da03775 | [
"MIT"
] | null | null | null | #pragma once
#include <parameters.hpp>
bool have_parameters_file(const std::string& path);
parameters load_parameters(const std::string& path);
void save_parameters(const std::string& path, const parameters& parameters);
| 27.875 | 76 | 0.793722 | vladimir-voinea |
2bc813b8772e1619ff3e931dcb0e15fe35b54154 | 1,051 | hpp | C++ | nd-coursework/books/cpp/C++Templates/traits/ifthenelse.hpp | crdrisko/nd-grad | f1765e4f24d7a4b1b3a76c64eb8d88bcca0eaa44 | [
"MIT"
] | 1 | 2020-09-26T12:38:55.000Z | 2020-09-26T12:38:55.000Z | nd-coursework/books/cpp/C++Templates/traits/ifthenelse.hpp | crdrisko/nd-research | f1765e4f24d7a4b1b3a76c64eb8d88bcca0eaa44 | [
"MIT"
] | null | null | null | nd-coursework/books/cpp/C++Templates/traits/ifthenelse.hpp | crdrisko/nd-research | f1765e4f24d7a4b1b3a76c64eb8d88bcca0eaa44 | [
"MIT"
] | null | null | null | // Copyright (c) 2017 by Addison-Wesley, David Vandevoorde, Nicolai M. Josuttis, and Douglas Gregor. All rights reserved.
// See the LICENSE file in the project root for more information.
//
// Name: ifthenelse.hpp
// Author: crdrisko
// Date: 08/31/2020-20:09:37
// Description: Selecting between two type parameters ba... | 32.84375 | 121 | 0.743102 | crdrisko |
2bc9ec327d7cfd0dfd9eeed6bd82811f3b4a6b20 | 692 | cpp | C++ | HDU-Code/2009 Multi-University Training Contest 1/H.cpp | PrayStarJirachi/Exercise-Code | 801a5926eccc971ab2182e5e99e3a0746bd6a7f0 | [
"MIT"
] | null | null | null | HDU-Code/2009 Multi-University Training Contest 1/H.cpp | PrayStarJirachi/Exercise-Code | 801a5926eccc971ab2182e5e99e3a0746bd6a7f0 | [
"MIT"
] | null | null | null | HDU-Code/2009 Multi-University Training Contest 1/H.cpp | PrayStarJirachi/Exercise-Code | 801a5926eccc971ab2182e5e99e3a0746bd6a7f0 | [
"MIT"
] | null | null | null | #include <cstdio>
#include <algorithm>
#ifdef WIN32
#define LL "%I64d"
#else
#define LL "%lld"
#endif
const int MAXN = 3000001;
const int Maxdata = 3000000;
int g, p[MAXN];
long long phi[MAXN];
bool vis[MAXN];
int main() {
phi[1] = 1;
for (int i = 2; i <= Maxdata; i++) {
if (!vis[i]) phi[p[++g] = i] = i - 1;
... | 18.210526 | 55 | 0.482659 | PrayStarJirachi |
2bca3bb76da31998ae094bb5e148962887c7bb02 | 523 | cpp | C++ | Code/Engine/Math/Vector3.cpp | ntaylorbishop/Copycat | c02f2881f0700a33a2630fd18bc409177d80b8cd | [
"MIT"
] | 2 | 2017-10-02T03:18:55.000Z | 2018-11-21T16:30:36.000Z | Code/Engine/Math/Vector3.cpp | ntaylorbishop/Copycat | c02f2881f0700a33a2630fd18bc409177d80b8cd | [
"MIT"
] | null | null | null | Code/Engine/Math/Vector3.cpp | ntaylorbishop/Copycat | c02f2881f0700a33a2630fd18bc409177d80b8cd | [
"MIT"
] | null | null | null | #include "Engine/Math/Vector3.hpp"
#define STATIC //Do-nothing to indicate static
STATIC const Vector3 Vector3::ZERO(0.f, 0.f, 0.f);
STATIC const Vector3 Vector3::ONE(1.f, 1.f, 1.f);
STATIC const Vector3 Vector3::UNIT_VECTOR_X(1.f, 0.f, 0.f);
STATIC const Vector3 Vector3::UNIT_VECTOR_Y(0.f, 1.f, 0.f);
STATIC const Vec... | 43.583333 | 59 | 0.711281 | ntaylorbishop |
2bcec88dace2a7a2c87a113d27636a436387ef60 | 619 | cc | C++ | public/test/cc/test_main.cc | room77/77up | 736806fbf52a5e722e8e57ef5c248823b067175d | [
"MIT"
] | 3 | 2015-05-18T14:52:47.000Z | 2018-11-12T07:51:00.000Z | public/test/cc/test_main.cc | room77/77up | 736806fbf52a5e722e8e57ef5c248823b067175d | [
"MIT"
] | null | null | null | public/test/cc/test_main.cc | room77/77up | 736806fbf52a5e722e8e57ef5c248823b067175d | [
"MIT"
] | 3 | 2015-08-04T05:58:18.000Z | 2018-11-12T07:51:01.000Z | // Copyright 2012 Room77 Inc. All Rights Reserved.
// Author: pramodg@room77.com (Pramod Gupta)
//
// The default main file that can be used to run unit tests.
#include "util/init/main.h"
#include "test/cc/test_main.h"
extern string gFlag_init_include;
int main(int argc, char** argv) {
// Init the google mock fram... | 21.344828 | 60 | 0.694669 | room77 |
2bcf80363a8770c67fcdb4a0143ead4f672fdaad | 8,810 | cc | C++ | c_src/sst_file_manager.cc | k32/erlang-rocksdb | 54657d3a44a09bd4357f07ecfa54b327c1033a17 | [
"Apache-2.0"
] | 2 | 2022-03-10T08:21:57.000Z | 2022-03-10T14:09:33.000Z | c_src/sst_file_manager.cc | tsutsu/erlang-rocksdb | 5b1b66d06539dcb5891c12e5d5ff7a16a3ef3824 | [
"Apache-2.0"
] | null | null | null | c_src/sst_file_manager.cc | tsutsu/erlang-rocksdb | 5b1b66d06539dcb5891c12e5d5ff7a16a3ef3824 | [
"Apache-2.0"
] | 1 | 2021-12-31T06:13:02.000Z | 2021-12-31T06:13:02.000Z | // Copyright (c) 2018-2020 Benoit Chesneau
//
// This file is provided to you 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... | 32.996255 | 97 | 0.673099 | k32 |
2bde43f65ef5fa046d20c5ad721e68d5144cad57 | 707 | cpp | C++ | biblioteka/src/model/Service.cpp | aantczakpiotr/OOP-final-project | 9559e797f4b98e88a6a97ef39ea6a8a4b67808b2 | [
"MIT"
] | null | null | null | biblioteka/src/model/Service.cpp | aantczakpiotr/OOP-final-project | 9559e797f4b98e88a6a97ef39ea6a8a4b67808b2 | [
"MIT"
] | null | null | null | biblioteka/src/model/Service.cpp | aantczakpiotr/OOP-final-project | 9559e797f4b98e88a6a97ef39ea6a8a4b67808b2 | [
"MIT"
] | null | null | null | #include <sstream>
#include "Service.hpp"
#include "ItemException.hpp"
Service::Service(double price, int durationInDays) : Item(price), durationInDays(durationInDays) {
if (durationInDays < 0)
{
throw ItemException("Duration cannot be set to 0 or negative, provided: " + std::to_string(durationInDays))... | 25.25 | 116 | 0.69024 | aantczakpiotr |
2bde4f01591cbba2ad10e2ae236f67e3c7091b19 | 7,407 | cpp | C++ | sample/src/DX12/PSDownsampler.cpp | ColleenKeegan/FidelityFX-SPD | 7c796c6d9fa6a9439e3610478148cfd742d97daf | [
"MIT"
] | 92 | 2020-05-11T18:33:09.000Z | 2022-03-28T14:17:36.000Z | sample/src/DX12/PSDownsampler.cpp | adv-sw/FidelityFX-SPD | 254099a5111dbcbd9b02f629a55991789ec5a9d0 | [
"MIT"
] | 4 | 2020-06-03T19:05:47.000Z | 2021-03-23T17:38:42.000Z | sample/src/DX12/PSDownsampler.cpp | adv-sw/FidelityFX-SPD | 254099a5111dbcbd9b02f629a55991789ec5a9d0 | [
"MIT"
] | 17 | 2020-08-18T04:12:37.000Z | 2022-03-29T23:27:20.000Z | // SPDSample
//
// Copyright (c) 2020 Advanced Micro Devices, Inc. All rights reserved.
// 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 th... | 44.620482 | 166 | 0.63575 | ColleenKeegan |
2be7a2698e1649e99974b65d08258edd176c0c86 | 13,006 | cpp | C++ | src/films/transientfilm.cpp | klein-j/transient_pbrt | 71d1e3223521a985c93afc5a2e21833afe9f24d7 | [
"BSD-2-Clause"
] | null | null | null | src/films/transientfilm.cpp | klein-j/transient_pbrt | 71d1e3223521a985c93afc5a2e21833afe9f24d7 | [
"BSD-2-Clause"
] | null | null | null | src/films/transientfilm.cpp | klein-j/transient_pbrt | 71d1e3223521a985c93afc5a2e21833afe9f24d7 | [
"BSD-2-Clause"
] | null | null | null |
#include "transientfilm.h"
#include "paramset.h"
#include "imageio.h"
#include "stats.h"
#include "TransientImage.hpp"
#include "util.h"
#include <array>
#include <fstream>
#include <sstream>
namespace pbrt {
TransientFileMetaData g_TFMD;
STAT_MEMORY_COUNTER("Memory/Film pixels", filmPixelMemory);
TransientSam... | 35.438692 | 145 | 0.687913 | klein-j |
2be8412cad95ef11e957aae696128ee2d30153b3 | 1,902 | hpp | C++ | aplibs/include/anumlst.hpp | pgul/fastlst | ce07baa06b0063f4c9e1374f24e67e1316ee5af4 | [
"BSD-3-Clause"
] | 2 | 2018-01-14T02:49:46.000Z | 2021-04-11T11:29:11.000Z | aplibs/include/anumlst.hpp | pgul/fastlst | ce07baa06b0063f4c9e1374f24e67e1316ee5af4 | [
"BSD-3-Clause"
] | null | null | null | aplibs/include/anumlst.hpp | pgul/fastlst | ce07baa06b0063f4c9e1374f24e67e1316ee5af4 | [
"BSD-3-Clause"
] | 1 | 2018-01-10T19:44:14.000Z | 2018-01-10T19:44:14.000Z | /*****************************************************************************/
/* */
/* (C) Copyright 1995-1997 Alberto Pasquale */
/* */
... | 46.390244 | 79 | 0.241325 | pgul |
2be86c24de1ed945b238c56ad33487081ad16110 | 1,722 | cpp | C++ | test/matrix.cpp | NiklasDallmann/math | e0610b20911923c35660a1c566008cb823e17da8 | [
"Apache-2.0"
] | null | null | null | test/matrix.cpp | NiklasDallmann/math | e0610b20911923c35660a1c566008cb823e17da8 | [
"Apache-2.0"
] | null | null | null | test/matrix.cpp | NiklasDallmann/math | e0610b20911923c35660a1c566008cb823e17da8 | [
"Apache-2.0"
] | null | null | null | #include <chrono>
#include <cmath>
#include <cstdlib>
#include <iostream>
#include <memory>
#include <matrix.hpp>
#include "test.hpp"
using namespace nd::math;
constexpr std::size_t matrixOrder = 512u;
using MatrixType = Matrix<float, matrixOrder, matrixOrder>;
int main(int, char **)
{
{
constexpr std::size_t ... | 27.774194 | 125 | 0.660859 | NiklasDallmann |
2be8d16505f271a9d0b742a1236714b95aa58b61 | 2,097 | cpp | C++ | ListProcessing/Polynomial.cpp | Mohitmauryagit/datastructures | df61f3f5b592dc4fe0b9d6a966b87f3348328e0a | [
"MIT"
] | 8 | 2021-08-12T08:09:37.000Z | 2021-12-30T10:45:54.000Z | ListProcessing/Polynomial.cpp | Mohitmauryagit/datastructures | df61f3f5b592dc4fe0b9d6a966b87f3348328e0a | [
"MIT"
] | 7 | 2021-06-09T05:13:23.000Z | 2022-01-24T04:47:59.000Z | ListProcessing/Polynomial.cpp | Mohitmauryagit/datastructures | df61f3f5b592dc4fe0b9d6a966b87f3348328e0a | [
"MIT"
] | 4 | 2021-11-07T07:09:58.000Z | 2022-02-08T11:43:56.000Z | #include<iostream>
using namespace std;
typedef struct mynode{
int coef;
int pow;
mynode* next;
} node;
void insert(node** head, int val,int pow)
{
if((*head)==NULL)
{
node* newnode=(node*)malloc(sizeof(node));
newnode->coef=val;
newnode->pow=pow;
newnode->next=NULL;... | 18.723214 | 76 | 0.469242 | Mohitmauryagit |
2bf39d78e830470d56455008ab83f5ef908b0e73 | 412 | cpp | C++ | 149.cpp | jonathanxqs/lintcode | 148435aff0a83ac5d77a7ccbd5d0caaea3140a62 | [
"MIT"
] | 1 | 2016-06-21T16:29:37.000Z | 2016-06-21T16:29:37.000Z | 149.cpp | jonathanxqs/lintcode | 148435aff0a83ac5d77a7ccbd5d0caaea3140a62 | [
"MIT"
] | null | null | null | 149.cpp | jonathanxqs/lintcode | 148435aff0a83ac5d77a7ccbd5d0caaea3140a62 | [
"MIT"
] | null | null | null | class Solution {
public:
/**
* @param prices: Given an integer array
* @return: Maximum profit
*/
int maxProfit(vector<int> &prices) {
// write your code here
int min=INT_MAX,rt_profit=0;
for (auto const s:prices){
if (s-min>rt_profit) rt_profit=s-min;
i... | 17.913043 | 46 | 0.541262 | jonathanxqs |
92009eca9ebe617f308bc971789fb3abb0dc8664 | 3,129 | cc | C++ | toolkit/gl_font.cc | teenylasers/eggshell | 7d1239eb1b143b11b5ccd1029d9bacdd601c8e4e | [
"ICU",
"OpenSSL"
] | null | null | null | toolkit/gl_font.cc | teenylasers/eggshell | 7d1239eb1b143b11b5ccd1029d9bacdd601c8e4e | [
"ICU",
"OpenSSL"
] | null | null | null | toolkit/gl_font.cc | teenylasers/eggshell | 7d1239eb1b143b11b5ccd1029d9bacdd601c8e4e | [
"ICU",
"OpenSSL"
] | null | null | null | // Copyright (C) 2014-2020 Russell Smith.
//
// This program is free software: you can redistribute it and/or modify it
// under the terms of the GNU General Public License as published by the Free
// Software Foundation, either version 3 of the License, or (at your option)
// any later version.
//
// This program is d... | 30.086538 | 78 | 0.63311 | teenylasers |
92039f8f242ee91aadb4765a2252cee259355645 | 6,918 | cpp | C++ | lua_cpp_experiment/lua_cpp_experiment/main.cpp | baransrc/lua-cpp-experiment | d8d31d41e4399f19a6b04699baa7f604a3babecc | [
"MIT"
] | 2 | 2022-02-14T19:21:05.000Z | 2022-02-21T01:28:55.000Z | lua_cpp_experiment/lua_cpp_experiment/main.cpp | baransrc/lua-cpp-experiment | d8d31d41e4399f19a6b04699baa7f604a3babecc | [
"MIT"
] | null | null | null | lua_cpp_experiment/lua_cpp_experiment/main.cpp | baransrc/lua-cpp-experiment | d8d31d41e4399f19a6b04699baa7f604a3babecc | [
"MIT"
] | null | null | null | #include <iostream>
#include "entity_component.h"
#include "lua_helper.h"
#include "script.h"
//bool check_lua(lua_State* L, int result)
//{
// if (result != 0)
// {
// std::string error_message = lua_tostring(L, -1);
// std::cout << error_message << std::endl;
//
// return false;
// }
//
// return true;
//}
//
//... | 26.918288 | 146 | 0.651923 | baransrc |
920604f22fdeefe4691f3ad2deef1ac4a64b5b9d | 227 | cpp | C++ | 1_DSAA_code/TestIntCell.cpp | amdfansheng/alogrithm | b2e1dd4094b766895dda8c8fc2cbb2e37e6aa22d | [
"MIT"
] | 7 | 2018-07-22T14:29:58.000Z | 2021-05-03T04:40:13.000Z | 1_DSAA_code/TestIntCell.cpp | amdfansheng/alogrithm | b2e1dd4094b766895dda8c8fc2cbb2e37e6aa22d | [
"MIT"
] | null | null | null | 1_DSAA_code/TestIntCell.cpp | amdfansheng/alogrithm | b2e1dd4094b766895dda8c8fc2cbb2e37e6aa22d | [
"MIT"
] | 5 | 2019-02-13T14:50:51.000Z | 2020-07-24T09:05:22.000Z | #include <iostream>
#include "IntCell.h"
using namespace std;
int main( )
{
IntCell m; // Or, IntCell m( 0 ); but not IntCell m( );
m.write( 5 );
cout << "Cell contents: " << m.read( ) << endl;
return 0;
}
| 16.214286 | 61 | 0.555066 | amdfansheng |
920c4481b54b5bd0acae7b8003cc8c11870f4970 | 843 | cpp | C++ | tests/cthread/test_cthread_wait_n_fail2.cpp | hachetman/systemc-compiler | 0cc81ace03336d752c0146340ff5763a20e3cefd | [
"Apache-2.0"
] | 86 | 2020-10-23T15:59:47.000Z | 2022-03-28T18:51:19.000Z | tests/cthread/test_cthread_wait_n_fail2.cpp | hachetman/systemc-compiler | 0cc81ace03336d752c0146340ff5763a20e3cefd | [
"Apache-2.0"
] | 18 | 2020-12-14T13:11:26.000Z | 2022-03-14T05:34:20.000Z | tests/cthread/test_cthread_wait_n_fail2.cpp | hachetman/systemc-compiler | 0cc81ace03336d752c0146340ff5763a20e3cefd | [
"Apache-2.0"
] | 17 | 2020-10-29T16:19:43.000Z | 2022-03-11T09:51:05.000Z | /******************************************************************************
* Copyright (c) 2020, Intel Corporation. All rights reserved.
*
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception.
*
*****************************************************************************/
#include <systemc.h>
// wait(N) ... | 21.615385 | 79 | 0.457888 | hachetman |
920dae05d475699885703980679dfb55d99c2d7c | 13,990 | cpp | C++ | src/terminal/RenderBufferBuilder.cpp | herrhotzenplotz/contour | f6e58671fd94b44d88a76941bcf9c88a585a3550 | [
"Apache-2.0"
] | null | null | null | src/terminal/RenderBufferBuilder.cpp | herrhotzenplotz/contour | f6e58671fd94b44d88a76941bcf9c88a585a3550 | [
"Apache-2.0"
] | null | null | null | src/terminal/RenderBufferBuilder.cpp | herrhotzenplotz/contour | f6e58671fd94b44d88a76941bcf9c88a585a3550 | [
"Apache-2.0"
] | null | null | null |
#include <terminal/Color.h>
#include <terminal/ColorPalette.h>
#include <terminal/RenderBufferBuilder.h>
#include <tuple>
using namespace std;
namespace terminal
{
namespace
{
constexpr RGBColor makeRGBColor(RGBColor fg, RGBColor bg, CellRGBColor cellColor) noexcept
{
if (holds_alternative<CellFore... | 42.265861 | 109 | 0.523159 | herrhotzenplotz |
9212b19d35ae43515484bada4220f4aad4d45c41 | 1,654 | cpp | C++ | examples/uvmsc/simple/registers/models/aliasing/sc_main.cpp | kopinions/uvm-systemc | c8171a98bc75b3ff3ec207d369e1b724ae64632f | [
"ECL-2.0",
"Apache-2.0"
] | 3 | 2019-08-16T14:24:43.000Z | 2022-03-14T13:02:33.000Z | examples/uvmsc/simple/registers/models/aliasing/sc_main.cpp | ezchi/uvm-systemc | 3368d7a1756514d7edd3415282dea812f4a5512a | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | examples/uvmsc/simple/registers/models/aliasing/sc_main.cpp | ezchi/uvm-systemc | 3368d7a1756514d7edd3415282dea812f4a5512a | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | //----------------------------------------------------------------------
// Copyright 2004-2011 Synopsys, Inc.
// Copyright 2010 Mentor Graphics Corporation
// Copyright 2010-2011 Cadence Design Systems, Inc.
// Copyright 2013-2014 NXP B.V.
// All Rights Reserved Worldwide
//
// Licensed under the Apache Li... | 35.956522 | 72 | 0.585852 | kopinions |
9214939be76289e7a928231da04d3982c68517ff | 3,043 | cpp | C++ | src/a_datastruct_queue_link.cpp | jinfeng95/algorithms | 2a663fe53b494fc6b9dd56cefd368375734de7b0 | [
"MIT"
] | null | null | null | src/a_datastruct_queue_link.cpp | jinfeng95/algorithms | 2a663fe53b494fc6b9dd56cefd368375734de7b0 | [
"MIT"
] | null | null | null | src/a_datastruct_queue_link.cpp | jinfeng95/algorithms | 2a663fe53b494fc6b9dd56cefd368375734de7b0 | [
"MIT"
] | null | null | null | /*
Project: single_linked_queue (链队列)
Date: 2018/09/17
Author: Frank Yu
InitQueue(LinkQueue &Q) 参数:链队Q 功能:初始化 时间复杂度O(1)
EnQueue(LinkQueue &Q,QElemType e) 参数:链队Q,元素e 功能:将e入队 时间复杂度:O(1)
DeQueue(LinkQueue &Q,QElemType &e) 参数:链队Q,元素e 功能:队头出队,e接收出队元素值 时间复杂度O(1)
GetHead(LinkQueue &Q,QElemType &e) 参数:链队Q... | 23.05303 | 81 | 0.564246 | jinfeng95 |
9214a2d9b73606dcd4d3482ce885b05148700b6a | 4,480 | cpp | C++ | WhispEngine/WhispEngine/PanelCreate.cpp | Empty-Whisper/WhispEngine | f1f8412377db24569ea2e2db7118b0339a11e85d | [
"MIT"
] | 10 | 2019-10-09T15:58:03.000Z | 2022-01-24T07:09:16.000Z | WhispEngine/WhispEngine/PanelCreate.cpp | Empty-Whisper/WhispEngine | f1f8412377db24569ea2e2db7118b0339a11e85d | [
"MIT"
] | 8 | 2019-10-21T16:48:49.000Z | 2019-10-26T14:25:43.000Z | WhispEngine/WhispEngine/PanelCreate.cpp | Empty-Whisper/WhispEngine | f1f8412377db24569ea2e2db7118b0339a11e85d | [
"MIT"
] | 5 | 2019-10-15T09:17:21.000Z | 2020-05-17T21:43:03.000Z | #include "PanelCreate.h"
#include "Imgui/imgui.h"
#include "Imgui/imgui_internal.h" // for ImGui::PushFlag
#include "Application.h"
#include "Globals.h"
#include "mmgr/mmgr.h"
PanelCreate::PanelCreate(const bool &start_active, const SDL_Scancode &shortcut1, const SDL_Scancode &shortcut2, const SDL_Scancode &shortcut3)
... | 27.151515 | 143 | 0.642188 | Empty-Whisper |
9215cd4280a9b341ee18292b18834ad134f3ee16 | 6,783 | cpp | C++ | apps/viewer.cpp | jess22664/x3ogre | 9de430859d877407ae0308908390c9fa004b0e84 | [
"MIT"
] | null | null | null | apps/viewer.cpp | jess22664/x3ogre | 9de430859d877407ae0308908390c9fa004b0e84 | [
"MIT"
] | null | null | null | apps/viewer.cpp | jess22664/x3ogre | 9de430859d877407ae0308908390c9fa004b0e84 | [
"MIT"
] | null | null | null | #include <iostream>
#include <OgreApplicationContext.h>
#include <core/SceneAccessInterface.h>
#include <core/OgreX3DPlugin.h>
#include <OgreOverlaySystem.h>
#include <OgreTrays.h>
#include <OgreAdvancedRenderControls.h>
#include <OgreCameraMan.h>
#include <OgreSceneLoaderManager.h>
#include <World/Viewpoint.h>
#if... | 31.696262 | 117 | 0.626566 | jess22664 |
921b87e4aff889a0d63cfe0ca6f0ba6c13f72dc7 | 945 | cpp | C++ | WTesterClient/widget_setting.cpp | RockRockWhite/WTester | 50a9de8ba7c48738eb054680d6eae0a2fc0c06e3 | [
"MIT"
] | null | null | null | WTesterClient/widget_setting.cpp | RockRockWhite/WTester | 50a9de8ba7c48738eb054680d6eae0a2fc0c06e3 | [
"MIT"
] | null | null | null | WTesterClient/widget_setting.cpp | RockRockWhite/WTester | 50a9de8ba7c48738eb054680d6eae0a2fc0c06e3 | [
"MIT"
] | null | null | null | #include "widget_setting.h"
#include "ui_widget_setting.h"
#include <QSettings>
#include <QMessageBox>
#include <QTextCodec>
#pragma execution_character_set("utf-8")
widget_setting::widget_setting(QWidget *parent) :
QWidget(parent),
ui(new Ui::widget_setting)
{
ui->setupUi(this);
QSettings setting("\... | 25.540541 | 80 | 0.725926 | RockRockWhite |
921cf50c31aca727db5aeb62877e8428ce7318bf | 280 | hpp | C++ | include/RN_Generators.hpp | temken/DaMaSCUS | 14be6907230e5ef1b93809a6fb5842330497a7a6 | [
"MIT"
] | 3 | 2018-09-13T13:36:50.000Z | 2021-10-30T19:35:12.000Z | include/RN_Generators.hpp | temken/DaMaSCUS | 14be6907230e5ef1b93809a6fb5842330497a7a6 | [
"MIT"
] | 2 | 2017-06-06T14:43:45.000Z | 2022-03-16T13:01:56.000Z | include/RN_Generators.hpp | temken/DaMaSCUS | 14be6907230e5ef1b93809a6fb5842330497a7a6 | [
"MIT"
] | 1 | 2017-06-09T09:48:10.000Z | 2017-06-09T09:48:10.000Z | #ifndef __RN_Generators_hpp_
#define __RN_Generators_hpp_
#include <random>
extern double ProbabilitySample(std::mt19937& PRNG);
extern double MaxwellSample(std::mt19937& PRNG);
extern double ThetaSample(std::mt19937& PRNG);
extern double PhiSample(std::mt19937& PRNG);
#endif | 23.333333 | 52 | 0.8 | temken |
921dc15dceff6350cb59a41acd2a84a0fd2a8dc4 | 1,852 | cpp | C++ | phoenix/qt/widget/check-button.cpp | vgmtool/vgm2pre | f4f917df35d531512292541234a5c1722b8af96f | [
"MIT"
] | 21 | 2015-04-13T03:07:12.000Z | 2021-11-20T00:27:00.000Z | phoenix/qt/widget/check-button.cpp | apollolux/hello-phoenix | 71510b5f329804c525a9576fb0367fe8ab2487cd | [
"MIT"
] | 2 | 2015-10-06T14:59:48.000Z | 2022-01-27T08:57:57.000Z | phoenix/qt/widget/check-button.cpp | apollolux/hello-phoenix | 71510b5f329804c525a9576fb0367fe8ab2487cd | [
"MIT"
] | 2 | 2021-11-19T08:36:57.000Z | 2022-03-04T16:03:16.000Z | namespace phoenix {
Size pCheckButton::minimumSize() {
Size size = pFont::size(qtWidget->font(), checkButton.state.text);
if(checkButton.state.orientation == Orientation::Horizontal) {
size.width += checkButton.state.image.width;
size.height = max(checkButton.state.image.height, size.height);
}
if(ch... | 28.9375 | 103 | 0.74406 | vgmtool |
922114cbffcf25b5a8c965189d48eab319ed6965 | 3,275 | cpp | C++ | src/saiga/vulkan/pipeline/PipelineBase.cpp | SimonMederer/saiga | ff167e60c50b1cead4d19eb5ab2e93acce8c42a3 | [
"MIT"
] | null | null | null | src/saiga/vulkan/pipeline/PipelineBase.cpp | SimonMederer/saiga | ff167e60c50b1cead4d19eb5ab2e93acce8c42a3 | [
"MIT"
] | null | null | null | src/saiga/vulkan/pipeline/PipelineBase.cpp | SimonMederer/saiga | ff167e60c50b1cead4d19eb5ab2e93acce8c42a3 | [
"MIT"
] | null | null | null | /**
* Copyright (c) 2017 Darius Rückert
* Licensed under the MIT License.
* See LICENSE file for more information.
*/
#include "PipelineBase.h"
#include "saiga/vulkan/Vertex.h"
#include "saiga/vulkan/VulkanInitializers.hpp"
namespace Saiga
{
namespace Vulkan
{
PipelineBase::PipelineBase(vk::PipelineBindPoint ty... | 28.478261 | 113 | 0.695573 | SimonMederer |
9221415e18382ac152d76880f3a691de417c4607 | 817 | cpp | C++ | competitive_programming/programming_contests/uri/tda_rational_2.cpp | LeandroTk/Algorithms | 569ed68eba3eeff902f8078992099c28ce4d7cd6 | [
"MIT"
] | 205 | 2018-12-01T17:49:49.000Z | 2021-12-22T07:02:27.000Z | competitive_programming/programming_contests/uri/tda_rational_2.cpp | LeandroTk/Algorithms | 569ed68eba3eeff902f8078992099c28ce4d7cd6 | [
"MIT"
] | 2 | 2020-01-01T16:34:29.000Z | 2020-04-26T19:11:13.000Z | competitive_programming/programming_contests/uri/tda_rational_2.cpp | LeandroTk/Algorithms | 569ed68eba3eeff902f8078992099c28ce4d7cd6 | [
"MIT"
] | 50 | 2018-11-28T20:51:36.000Z | 2021-11-29T04:08:25.000Z | // https://www.urionlinejudge.com.br/judge/en/problems/view/1022
#include <iostream>
#include <string>
using namespace std;
int mdc(int num1, int num2) {
int remainder;
do {
remainder = num1 % num2;
num1 = num2;
num2 = remainder;
} while (remainder != 0);
return num1;
}
int main() {
string ope, op;
in... | 19.452381 | 74 | 0.537332 | LeandroTk |
9221e6ba8587b0635371a3f355da1beefcba429d | 1,405 | cpp | C++ | carryarm_actionlib/src/carryarm_client.cpp | buzzer/tams_pr2 | 73eada99f88c300858f05d57b868e6a8109a800c | [
"BSD-2-Clause"
] | null | null | null | carryarm_actionlib/src/carryarm_client.cpp | buzzer/tams_pr2 | 73eada99f88c300858f05d57b868e6a8109a800c | [
"BSD-2-Clause"
] | null | null | null | carryarm_actionlib/src/carryarm_client.cpp | buzzer/tams_pr2 | 73eada99f88c300858f05d57b868e6a8109a800c | [
"BSD-2-Clause"
] | null | null | null | #include <ros/ros.h>
#include <actionlib/client/simple_action_client.h>
#include <actionlib/client/terminal_state.h>
#include <carryarm_actionlib/CarryarmAction.h>
int main (int argc, char **argv)
{
ros::init(argc, argv, "test_carryarm");
// create the action client
// true causes the client to spin its own thr... | 25.089286 | 89 | 0.683274 | buzzer |
92257b0dbddb99cf36172dc9ea3dd8c3f9ea9c33 | 733 | cpp | C++ | src/0232.cpp | killf/leetcode_cpp | d1f308a9c3da55ae5416ea28ec2e7a3146533ae9 | [
"MIT"
] | null | null | null | src/0232.cpp | killf/leetcode_cpp | d1f308a9c3da55ae5416ea28ec2e7a3146533ae9 | [
"MIT"
] | null | null | null | src/0232.cpp | killf/leetcode_cpp | d1f308a9c3da55ae5416ea28ec2e7a3146533ae9 | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
#include <vector>
#include <sstream>
#include <algorithm>
#include <map>
#include <hash_map>
#include <hash_set>
#include <queue>
#include <stack>
using namespace std;
class MyQueue {
public:
explicit MyQueue() = default;
void push(int x) {
while (!p1->empty()) {
p... | 14.096154 | 31 | 0.547067 | killf |
92258e27bebc9d404a247ecaf7959240b2946ba5 | 6,829 | cxx | C++ | Dockerized/rdpstack/cmake-3.17.2/Source/cmLoadCommandCommand.cxx | nsimbi/Proconsul | 70cb520463bf9d9e36b37c57db5c7798a8604c03 | [
"MIT"
] | 3 | 2021-10-14T07:40:15.000Z | 2022-02-27T09:20:33.000Z | Dockerized/rdpstack/cmake-3.17.2/Source/cmLoadCommandCommand.cxx | nsimbi/Proconsul | 70cb520463bf9d9e36b37c57db5c7798a8604c03 | [
"MIT"
] | null | null | null | Dockerized/rdpstack/cmake-3.17.2/Source/cmLoadCommandCommand.cxx | nsimbi/Proconsul | 70cb520463bf9d9e36b37c57db5c7798a8604c03 | [
"MIT"
] | 2 | 2021-10-21T06:12:36.000Z | 2022-03-07T15:52:28.000Z | /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
file Copyright.txt or https://cmake.org/licensing for details. */
#include "cmLoadCommandCommand.h"
#include <csignal>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <utility>
#include <cm/memory>
#include "cmCPluginA... | 26.468992 | 78 | 0.662176 | nsimbi |
9227bc3c0f1be4bb041cf3d4a9bb14a12002bf7e | 10,204 | hpp | C++ | src/reconstruction/dataset.hpp | ebarjou/xpulse_recon | 5c9eb8e32a2f2b84a9850fabc2103c116a0b9ce6 | [
"Apache-2.0"
] | null | null | null | src/reconstruction/dataset.hpp | ebarjou/xpulse_recon | 5c9eb8e32a2f2b84a9850fabc2103c116a0b9ce6 | [
"Apache-2.0"
] | null | null | null | src/reconstruction/dataset.hpp | ebarjou/xpulse_recon | 5c9eb8e32a2f2b84a9850fabc2103c116a0b9ce6 | [
"Apache-2.0"
] | null | null | null | /**
* ©2020-2022 ALPhANOV (https://www.alphanov.com/) All Rights Reserved
* Author: Barjou Emile
*/
#pragma once
namespace dataset {
#include "dataset/parameters.hpp"
#include "dataset/geometry.hpp"
#include "dataset/geometry_chunk.hpp"
#include "dataset/data_loader.hpp"
/**
* @brief Mana... | 37.653137 | 137 | 0.53136 | ebarjou |
92281407fff2a2121ec0282c29bf84649c118096 | 1,333 | cpp | C++ | Codeorces/new_colony.cpp | maayami/Data-Structures-Algorithms | f2f7cf808be43b85f35a7b1801460ecc20d75695 | [
"CC0-1.0"
] | 1 | 2020-05-14T18:22:10.000Z | 2020-05-14T18:22:10.000Z | Codeorces/new_colony.cpp | mayank-genesis/Data-Structures-Algorithms | f2f7cf808be43b85f35a7b1801460ecc20d75695 | [
"CC0-1.0"
] | null | null | null | Codeorces/new_colony.cpp | mayank-genesis/Data-Structures-Algorithms | f2f7cf808be43b85f35a7b1801460ecc20d75695 | [
"CC0-1.0"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
#define gc getchar_unlocked
#define fo(i, n) for (int i = 0; i < n; i++)
#define Fo(i, k, n) for (int i = k; i < n; i++)
#define ll long long
#define pb(i) push_back(i)
#define e "\n"
#define traverseVector(i) for (auto i = v.begin(); i != v.end(); ++i)
#define rtraverseVe... | 19.895522 | 109 | 0.507877 | maayami |
922b1feb5079da74b1f3f8f14bc1ccad0ff7d8f6 | 2,533 | hh | C++ | track/SenseContainer.hh | celeritas-project/orange-port | 9aa2d36984a24a02ed6d14688a889d4266f7b1af | [
"Apache-2.0",
"MIT"
] | null | null | null | track/SenseContainer.hh | celeritas-project/orange-port | 9aa2d36984a24a02ed6d14688a889d4266f7b1af | [
"Apache-2.0",
"MIT"
] | null | null | null | track/SenseContainer.hh | celeritas-project/orange-port | 9aa2d36984a24a02ed6d14688a889d4266f7b1af | [
"Apache-2.0",
"MIT"
] | null | null | null | //---------------------------------*-C++-*-----------------------------------//
/*!
* \file track/SenseContainer.hh
* \brief SenseContainer class declaration
* \note Copyright (c) 2020 Oak Ridge National Laboratory, UT-Battelle, LLC.
*/
//---------------------------------------------------------------------------... | 27.835165 | 79 | 0.452033 | celeritas-project |
923150a8beb661e41363361d78cf8605f67648c1 | 1,876 | cpp | C++ | 19_RegularExpressionsMatching/RegularExpressions.cpp | tcandzq/coding-interviews | 12e29cd59b0773577eddd6868d9381247f3a9fde | [
"MIT"
] | 2 | 2020-07-26T08:57:12.000Z | 2020-09-21T01:56:47.000Z | 19_RegularExpressionsMatching/RegularExpressions.cpp | tcandzq/coding-interviews | 12e29cd59b0773577eddd6868d9381247f3a9fde | [
"MIT"
] | null | null | null | 19_RegularExpressionsMatching/RegularExpressions.cpp | tcandzq/coding-interviews | 12e29cd59b0773577eddd6868d9381247f3a9fde | [
"MIT"
] | null | null | null | // 面试题19:正则表达式匹配
// 题目:请实现一个函数用来匹配包含'.'和'*'的正则表达式。模式中的字符'.'
// 表示任意一个字符,而'*'表示它前面的字符可以出现任意次(含0次)。在本题
// 中,匹配是指字符串的所有字符匹配整个模式。例如,字符串"aaa"与模式"a.a"
// 和"ab*ac*a"匹配,但与"aa.a"及"ab*a"均不匹配。
/*
同leetcode https://leetcode-cn.com/problems/regular-expression-matching/ 10. 正则表达式匹配
分情况讨论:
//如果模式串当前字符的下一位是 *:
如果当前字符匹配成功:
... | 25.69863 | 124 | 0.534115 | tcandzq |
9237ffce68c33af3456a590081ee8855b2d87591 | 2,520 | hpp | C++ | examples/interpolate1d/interpolate1d/partition.hpp | McKillroy/hpx | f1bcb93f90a0b3c96e5fb3423028f0347f17f943 | [
"BSL-1.0"
] | null | null | null | examples/interpolate1d/interpolate1d/partition.hpp | McKillroy/hpx | f1bcb93f90a0b3c96e5fb3423028f0347f17f943 | [
"BSL-1.0"
] | null | null | null | examples/interpolate1d/interpolate1d/partition.hpp | McKillroy/hpx | f1bcb93f90a0b3c96e5fb3423028f0347f17f943 | [
"BSL-1.0"
] | null | null | null | // Copyright (c) 2007-2017 Hartmut Kaiser
//
// SPDX-License-Identifier: BSL-1.0
// 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)
#if !defined(HPX_PARTITION_AUG_04_2011_0251PM)
#define HPX_PARTITION_AUG_04_2011_... | 30.731707 | 80 | 0.602778 | McKillroy |
923d20c17f78d19485a495842b2c68e518f25270 | 174 | cpp | C++ | src/Engine/Renderer2/D3D11/Renderer_ShaderD3D11.cpp | MasonLeeBack/RSEngine | 9ac4a0380898cb59a48d29dc7250dfb70430932f | [
"MIT"
] | 1 | 2019-01-03T13:42:10.000Z | 2019-01-03T13:42:10.000Z | src/Engine/Renderer2/D3D11/Renderer_ShaderD3D11.cpp | MasonLeeBack/RSEngine | 9ac4a0380898cb59a48d29dc7250dfb70430932f | [
"MIT"
] | 2 | 2019-01-03T19:00:42.000Z | 2019-01-03T19:02:16.000Z | src/Engine/Renderer2/D3D11/Renderer_ShaderD3D11.cpp | MasonLeeBack/RSEngine | 9ac4a0380898cb59a48d29dc7250dfb70430932f | [
"MIT"
] | null | null | null | /*
RSEngine
Copyright (c) 2020 Mason Lee Back
File name: Renderer_ShaderD3D11.cpp
*/
#include <Renderer2/D3D11/Renderer_ShaderD3D11.h>
namespace rs {
} // namespace rs
| 11.6 | 49 | 0.741379 | MasonLeeBack |
923d3315b54761616f2a1f5afb6f8a22a7b80502 | 9,453 | cpp | C++ | src/GUI/ReadWrite.cpp | Olddies710/The-Forgotten-Client | 8b7979619ea76bc29581122440d09f241afc175d | [
"Zlib"
] | 1 | 2022-01-15T00:00:27.000Z | 2022-01-15T00:00:27.000Z | src/GUI/ReadWrite.cpp | Olddies710/The-Forgotten-Client | 8b7979619ea76bc29581122440d09f241afc175d | [
"Zlib"
] | null | null | null | src/GUI/ReadWrite.cpp | Olddies710/The-Forgotten-Client | 8b7979619ea76bc29581122440d09f241afc175d | [
"Zlib"
] | 3 | 2021-10-14T02:36:56.000Z | 2022-03-22T21:03:31.000Z | /*
The Forgotten Client
Copyright (C) 2020 Saiyans King
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
in... | 40.055085 | 198 | 0.780281 | Olddies710 |
923f1ca2fb8280e4e0fa9d1260373d30fb265c5b | 9,021 | cpp | C++ | QTermWidget/lib/qtermwidget.cpp | rkoyama1623/Quantum | 429d11f0b2c737164005ba70c98611baef69d1c5 | [
"Unlicense"
] | 35 | 2015-01-13T00:57:17.000Z | 2022-03-16T20:39:56.000Z | QTermWidget/lib/qtermwidget.cpp | KR8T3R/Quantum | 429d11f0b2c737164005ba70c98611baef69d1c5 | [
"Unlicense"
] | null | null | null | QTermWidget/lib/qtermwidget.cpp | KR8T3R/Quantum | 429d11f0b2c737164005ba70c98611baef69d1c5 | [
"Unlicense"
] | 31 | 2015-01-29T03:59:52.000Z | 2022-03-16T20:40:43.000Z | /* Copyright (C) 2008 e_k (e_k@users.sourceforge.net)
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
... | 25.627841 | 117 | 0.695156 | rkoyama1623 |
9240205fd9fc33462aa38e45572ca65e546edbcf | 834 | cpp | C++ | Data Structures/Prime Numbers/PrimeFactorization.cpp | ravikjha7/Competitive_Programming | 86df773c258d6675bb3244030e6d71aa32e01fce | [
"MIT"
] | null | null | null | Data Structures/Prime Numbers/PrimeFactorization.cpp | ravikjha7/Competitive_Programming | 86df773c258d6675bb3244030e6d71aa32e01fce | [
"MIT"
] | null | null | null | Data Structures/Prime Numbers/PrimeFactorization.cpp | ravikjha7/Competitive_Programming | 86df773c258d6675bb3244030e6d71aa32e01fce | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
#define mod 1000000007
void file()
{
#ifndef ONLINE_JUDGE
freopen("input.txt", "r", stdin);
freopen("output.txt", "w", stdout);
#endif
}
// Time Complexity : O(sqrt(N))
void FindPrime(ll n)
{
for(int i = 2; i <= sqrt(n); i++)
{
if(n %... | 13.03125 | 39 | 0.479616 | ravikjha7 |
924699cf6b0b84cdeeb997b187cde8ae93a8e977 | 8,356 | cpp | C++ | HW4_birdeye/src/example_18-01_from_disk.cpp | Citing/CV-Course | f3e062347fa1cea85ca57181c90f23ad577c0e8c | [
"MIT"
] | 4 | 2019-12-14T11:21:54.000Z | 2021-01-15T13:55:35.000Z | HW4_birdeye/src/example_18-01_from_disk.cpp | Citing/CV-Course | f3e062347fa1cea85ca57181c90f23ad577c0e8c | [
"MIT"
] | null | null | null | HW4_birdeye/src/example_18-01_from_disk.cpp | Citing/CV-Course | f3e062347fa1cea85ca57181c90f23ad577c0e8c | [
"MIT"
] | 2 | 2020-11-26T13:04:08.000Z | 2020-12-02T01:14:53.000Z | #define main e18_2
#define help help2
// Example 18-1. Reading a chessboard’s width and height, reading them from disk and calibrating
// the requested number of views, and calibrating the camera
// You need these includes for the function
// #include <windows.h> // for windows systems
#include <dirent.h> // f... | 38.865116 | 99 | 0.575156 | Citing |
924e33aff8698577d8e01d40e776b8930c09ca31 | 920 | hpp | C++ | SDK/ARKSurvivalEvolved_BoneModifiersContainer_ChibiThylacoleo_classes.hpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 10 | 2020-02-17T19:08:46.000Z | 2021-07-31T11:07:19.000Z | SDK/ARKSurvivalEvolved_BoneModifiersContainer_ChibiThylacoleo_classes.hpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 9 | 2020-02-17T18:15:41.000Z | 2021-06-06T19:17:34.000Z | SDK/ARKSurvivalEvolved_BoneModifiersContainer_ChibiThylacoleo_classes.hpp | 2bite/ARK-SDK | c38ca9925309516b2093ad8c3a70ed9489e1d573 | [
"MIT"
] | 3 | 2020-07-22T17:42:07.000Z | 2021-06-19T17:16:13.000Z | #pragma once
// ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_BoneModifiersContainer_ChibiThylacoleo_structs.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Classes
//----------------------------------... | 23.589744 | 146 | 0.68587 | 2bite |
9250c4276c9287cf4fabf1563d07006eba3cc982 | 8,629 | cpp | C++ | pgadmin/schema/pgTextSearchConfiguration.cpp | jinfroster/pgadmin3 | 8d573a7f13a8b4161225363f1972d75004589275 | [
"PostgreSQL"
] | null | null | null | pgadmin/schema/pgTextSearchConfiguration.cpp | jinfroster/pgadmin3 | 8d573a7f13a8b4161225363f1972d75004589275 | [
"PostgreSQL"
] | null | null | null | pgadmin/schema/pgTextSearchConfiguration.cpp | jinfroster/pgadmin3 | 8d573a7f13a8b4161225363f1972d75004589275 | [
"PostgreSQL"
] | null | null | null | //////////////////////////////////////////////////////////////////////////
//
// pgAdmin III - PostgreSQL Tools
//
// Copyright (C) 2002 - 2014, The pgAdmin Development Team
// This software is released under the PostgreSQL Licence
//
// pgTextSearchConfiguration.cpp - Text Search Configuration class
//
///////////////... | 31.039568 | 159 | 0.651872 | jinfroster |
9257cb0b19647e7db2a84ae5a346f6c96efbaaff | 12,986 | cpp | C++ | VGP330/11_HelloPostProcessing/GameState.cpp | TheJimmyGod/JimmyGod_Engine | b9752c6fbd9db17dc23f03330b5e4537bdcadf8e | [
"MIT"
] | null | null | null | VGP330/11_HelloPostProcessing/GameState.cpp | TheJimmyGod/JimmyGod_Engine | b9752c6fbd9db17dc23f03330b5e4537bdcadf8e | [
"MIT"
] | null | null | null | VGP330/11_HelloPostProcessing/GameState.cpp | TheJimmyGod/JimmyGod_Engine | b9752c6fbd9db17dc23f03330b5e4537bdcadf8e | [
"MIT"
] | null | null | null | #include "GameState.h"
#include <ImGui/Inc/imgui.h>
using namespace JimmyGod::Input;
using namespace JimmyGod::Graphics;
using namespace JimmyGod::Math;
static bool ActiveRadialBlur = false;
static bool ActiveGaussianBlur = false;
static bool ActiveGreyscale = false;
static bool ActiveNegative = false;
stati... | 34.721925 | 145 | 0.705452 | TheJimmyGod |
925a0eae58dc60ac694c0d0907dc8632d741dbda | 26,849 | cc | C++ | src/net/quic/proto/source_address_token.pb.cc | acmd/GIT-TCC-LIBQUIC-ACMD | f100c1ff7b4c24ed2fbb3ae11d9516f6ce5ccc6d | [
"BSD-3-Clause"
] | 1,760 | 2015-03-16T07:29:25.000Z | 2022-03-29T17:04:54.000Z | src/net/quic/core/proto/source_address_token.pb.cc | 18901233704/libquic | 8954789a056d8e7d5fcb6452fd1572ca57eb5c4e | [
"BSD-3-Clause"
] | 41 | 2015-03-26T02:03:34.000Z | 2022-02-09T09:38:47.000Z | src/net/quic/core/proto/source_address_token.pb.cc | 18901233704/libquic | 8954789a056d8e7d5fcb6452fd1572ca57eb5c4e | [
"BSD-3-Clause"
] | 336 | 2015-03-16T13:52:52.000Z | 2022-03-21T10:44:58.000Z | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: source_address_token.proto
#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
#include "source_address_token.pb.h"
#include <algorithm>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/port.h>
#include <google/protobuf/... | 34.959635 | 129 | 0.73783 | acmd |
925b5196589388e9a1896e0d317515e5cd754e49 | 374 | cpp | C++ | source/GameLogicNew.cpp | gennariarmando/v-hud | 788196fb3ce5a983073f0475f06b041c5a4ea949 | [
"MIT"
] | 69 | 2021-08-09T21:26:26.000Z | 2022-03-25T08:47:42.000Z | source/GameLogicNew.cpp | gennariarmando/v-hud | 788196fb3ce5a983073f0475f06b041c5a4ea949 | [
"MIT"
] | 84 | 2021-12-01T15:15:27.000Z | 2022-03-30T05:12:50.000Z | source/GameLogicNew.cpp | gennariarmando/v-hud | 788196fb3ce5a983073f0475f06b041c5a4ea949 | [
"MIT"
] | 12 | 2021-12-25T09:27:08.000Z | 2022-03-25T08:47:43.000Z | #include "VHud.h"
#include "GameLogicNew.h"
#include "HudNew.h"
#include "MenuNew.h"
using namespace plugin;
CGameLogicNew GameLogicNew;
static LateStaticInit InstallHooks([]() {
CdeclEvent<AddressList<0x442128, H_CALL>, PRIORITY_BEFORE, ArgPickNone, void()> OnResurrection;
OnResurrection += [] {
C... | 19.684211 | 99 | 0.684492 | gennariarmando |
925d1bbdfc9349a924cbaf83942bedb466df6b64 | 1,084 | cpp | C++ | 11678 Cards Exchange.cpp | zihadboss/UVA-Solutions | 020fdcb09da79dc0a0411b04026ce3617c09cd27 | [
"Apache-2.0"
] | 86 | 2016-01-20T11:36:50.000Z | 2022-03-06T19:43:14.000Z | 11678 Cards Exchange.cpp | Mehedishihab/UVA-Solutions | 474fe3d9d9ba574b97fd40ca5abb22ada95654a1 | [
"Apache-2.0"
] | null | null | null | 11678 Cards Exchange.cpp | Mehedishihab/UVA-Solutions | 474fe3d9d9ba574b97fd40ca5abb22ada95654a1 | [
"Apache-2.0"
] | 113 | 2015-12-04T06:40:57.000Z | 2022-02-11T02:14:28.000Z | #include <cstdio>
#include <map>
using namespace std;
int main()
{
map<int, bool> cards;
int aCards, bCards, current, aCount, bCount;
while (scanf("%d %d", &aCards, &bCards), aCards && bCards)
{
aCount = bCount = 0;
cards.clear();
for (int i = 0; i < aCards; ... | 21.68 | 64 | 0.373616 | zihadboss |
177df375e0ba93a76b8d74c51ee777016f3e5064 | 1,726 | cpp | C++ | codeforces/A - Acacius and String/Wrong answer on pretest 2.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | 1 | 2022-02-11T16:55:36.000Z | 2022-02-11T16:55:36.000Z | codeforces/A - Acacius and String/Wrong answer on pretest 2.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | codeforces/A - Acacius and String/Wrong answer on pretest 2.cpp | kzvd4729/Problem-Solving | 13b105e725a4c2f8db7fecc5d7a8f932b9fef4ab | [
"MIT"
] | null | null | null | /****************************************************************************************
* @author: * kzvd4729 created: Jul/19/2020 15:20
* solution_verdict: Wrong answer on pretest 2 language: GNU C++17
* run... | 22.710526 | 111 | 0.445539 | kzvd4729 |
178144aa9475178f061047f39de48fe5181a1534 | 10,949 | hpp | C++ | libraries/chain/include/graphene/chain/contract_object.hpp | BlockLink/HX-core | 646bdb19d7be7b4fd1ee94c777ef8e42d9aea783 | [
"MIT"
] | 1 | 2018-12-12T08:38:09.000Z | 2018-12-12T08:38:09.000Z | libraries/chain/include/graphene/chain/contract_object.hpp | BlockLink/HX-core | 646bdb19d7be7b4fd1ee94c777ef8e42d9aea783 | [
"MIT"
] | null | null | null | libraries/chain/include/graphene/chain/contract_object.hpp | BlockLink/HX-core | 646bdb19d7be7b4fd1ee94c777ef8e42d9aea783 | [
"MIT"
] | null | null | null | #pragma once
#include <graphene/chain/protocol/operations.hpp>
#include <graphene/db/generic_index.hpp>
#include <boost/multi_index/composite_key.hpp>
#include <graphene/chain/contract_entry.hpp>
#include <graphene/chain/vesting_balance_object.hpp>
#include <vector>
namespace graphene {
namespace chain {
s... | 47.193966 | 173 | 0.704539 | BlockLink |
178214975f3950a6298c123328751d524acfcf13 | 7,538 | cpp | C++ | lib/cml/utils/Command_line.cpp | JayKickliter/CML | d21061a3abc013a8386798280b9595e9d4a2978c | [
"MIT"
] | null | null | null | lib/cml/utils/Command_line.cpp | JayKickliter/CML | d21061a3abc013a8386798280b9595e9d4a2978c | [
"MIT"
] | null | null | null | lib/cml/utils/Command_line.cpp | JayKickliter/CML | d21061a3abc013a8386798280b9595e9d4a2978c | [
"MIT"
] | null | null | null | /*
Name: Command_line.cpp
Copyright(c) 2019 Mateusz Semegen
This code is licensed under MIT license (see LICENSE file for details)
*/
//this
#include <cml/utils/Command_line.hpp>
//cml
#include <cml/common/memory.hpp>
#include <cml/debug/assert.hpp>
#include <cml/hal/peripherals/USART.hpp>
namespace cml... | 32.491379 | 114 | 0.529849 | JayKickliter |
1783119049e7e8958e5190c6a21a7eafa84b09dd | 5,349 | cpp | C++ | experiment/synth.cpp | keryell/muSYCL | 130e4b29c3a4daf4c908b08263b53910acb13787 | [
"Apache-2.0"
] | 16 | 2021-05-07T11:33:59.000Z | 2022-03-05T02:36:06.000Z | experiment/synth.cpp | keryell/muSYCL | 130e4b29c3a4daf4c908b08263b53910acb13787 | [
"Apache-2.0"
] | null | null | null | experiment/synth.cpp | keryell/muSYCL | 130e4b29c3a4daf4c908b08263b53910acb13787 | [
"Apache-2.0"
] | null | null | null | #include "rtaudio/RtAudio.h"
#include "rtmidi/RtMidi.h"
#include <atomic>
#include <chrono>
#include <cmath>
#include <cstdint>
#include <cstdlib>
#include <iostream>
#include <thread>
#include <vector>
/// The configuration part to adapt to the context
// Jack
auto constexpr midi_api = RtMidi::UNIX_JACK;
auto conste... | 31.650888 | 79 | 0.627594 | keryell |
1783b817ce7ce681ea631e49cbfc4192b904d265 | 12,406 | hpp | C++ | include/System/Net/Http/Headers/HttpHeaders.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | include/System/Net/Http/Headers/HttpHeaders.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | include/System/Net/Http/Headers/HttpHeaders.hpp | darknight1050/BeatSaber-Quest-Codegen | a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032 | [
"Unlicense"
] | null | null | null | // Autogenerated from CppHeaderCreator
// Created by Sc2ad
// =========================================================================
#pragma once
// Begin includes
#include "extern/beatsaber-hook/shared/utils/typedefs.h"
// Including type: System.Collections.Generic.IEnumerable`1
#include "System/Collections/... | 72.127907 | 456 | 0.740206 | darknight1050 |
17879160c66cdaeb1fc0900083b9355dfd6d580c | 1,862 | hpp | C++ | src/ndnph/core/operators.hpp | Pesa/NDNph | 70b0b4ef90649cc923ab4bbbfbdb31efe027d4a8 | [
"0BSD"
] | 2 | 2020-03-06T02:07:21.000Z | 2021-12-29T04:53:58.000Z | src/ndnph/core/operators.hpp | Pesa/NDNph | 70b0b4ef90649cc923ab4bbbfbdb31efe027d4a8 | [
"0BSD"
] | null | null | null | src/ndnph/core/operators.hpp | Pesa/NDNph | 70b0b4ef90649cc923ab4bbbfbdb31efe027d4a8 | [
"0BSD"
] | 2 | 2020-02-26T20:31:07.000Z | 2021-04-22T18:27:19.000Z | #ifndef NDNPH_CORE_OPERATORS_HPP
#define NDNPH_CORE_OPERATORS_HPP
/** @brief Declare operator!= in terms of operator== */
#define NDNPH_DECLARE_NE(T, specifier) \
specifier bool operator!=(const T& lhs, const T& rhs) ... | 68.962963 | 100 | 0.243287 | Pesa |
178c507178cd02e8052698a69397b7aedd4e417b | 18,805 | cpp | C++ | olp-cpp-sdk-dataservice-write/src/StreamLayerClientImpl.cpp | fermeise/here-data-sdk-cpp | e0ebd7bd74463fa3958eb0447b90227a4f322643 | [
"Apache-2.0"
] | null | null | null | olp-cpp-sdk-dataservice-write/src/StreamLayerClientImpl.cpp | fermeise/here-data-sdk-cpp | e0ebd7bd74463fa3958eb0447b90227a4f322643 | [
"Apache-2.0"
] | null | null | null | olp-cpp-sdk-dataservice-write/src/StreamLayerClientImpl.cpp | fermeise/here-data-sdk-cpp | e0ebd7bd74463fa3958eb0447b90227a4f322643 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2019-2021 HERE Europe B.V.
*
* 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... | 35.548204 | 80 | 0.709279 | fermeise |
178d11f99a5ef3336e03d2f45e092b0edb54c4aa | 430 | hxx | C++ | inc/html5xx.d/Code.hxx | astrorigin/html5xx | cbaaeb232597a713630df7425752051036cf0cb2 | [
"MIT"
] | null | null | null | inc/html5xx.d/Code.hxx | astrorigin/html5xx | cbaaeb232597a713630df7425752051036cf0cb2 | [
"MIT"
] | null | null | null | inc/html5xx.d/Code.hxx | astrorigin/html5xx | cbaaeb232597a713630df7425752051036cf0cb2 | [
"MIT"
] | null | null | null | /*
*
*/
#ifndef _HTML5XX_CODE_HXX_
#define _HTML5XX_CODE_HXX_
#include "Element.hxx"
#include "TextElement.hxx"
using namespace std;
namespace html
{
class Code: public Element
{
public:
Code():
Element(Block, "code")
{}
Code( const string& text ):
Element(Block, "code")
{
put(new TextEleme... | 11.621622 | 34 | 0.646512 | astrorigin |
179024b13e96f04345bd225f8fbc24dc36f936e5 | 4,513 | cpp | C++ | pose_refinement/SA-LMPE/ba/openMVG/graph/triplet_finder_test.cpp | Aurelio93/satellite-pose-estimation | 46957a9bc9f204d468f8fe3150593b3db0f0726a | [
"MIT"
] | 90 | 2019-05-19T03:48:23.000Z | 2022-02-02T15:20:49.000Z | pose_refinement/SA-LMPE/ba/openMVG/graph/triplet_finder_test.cpp | Aurelio93/satellite-pose-estimation | 46957a9bc9f204d468f8fe3150593b3db0f0726a | [
"MIT"
] | 11 | 2019-05-22T07:45:46.000Z | 2021-05-20T01:48:26.000Z | pose_refinement/SA-LMPE/ba/openMVG/graph/triplet_finder_test.cpp | Aurelio93/satellite-pose-estimation | 46957a9bc9f204d468f8fe3150593b3db0f0726a | [
"MIT"
] | 18 | 2019-05-19T03:48:32.000Z | 2021-05-29T18:19:16.000Z | // This file is part of OpenMVG, an Open Multiple View Geometry C++ library.
// Copyright (c) 2012, 2013 Pierre MOULON.
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.... | 23.38342 | 83 | 0.499003 | Aurelio93 |
17956c8d436b4db062a273254cb1a979205712e1 | 2,564 | hxx | C++ | vtkm/filter/ZFPDecompressor1D.hxx | yisyuanliou/VTK-m | cc483c8c2319a78b58b3ab849da8ca448e896220 | [
"BSD-3-Clause"
] | 1 | 2021-07-21T07:15:44.000Z | 2021-07-21T07:15:44.000Z | vtkm/filter/ZFPDecompressor1D.hxx | yisyuanliou/VTK-m | cc483c8c2319a78b58b3ab849da8ca448e896220 | [
"BSD-3-Clause"
] | null | null | null | vtkm/filter/ZFPDecompressor1D.hxx | yisyuanliou/VTK-m | cc483c8c2319a78b58b3ab849da8ca448e896220 | [
"BSD-3-Clause"
] | null | null | null | //============================================================================
// 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... | 37.15942 | 99 | 0.578783 | yisyuanliou |
1798defc82f233f79277bcdaabc40110541b0899 | 6,245 | cpp | C++ | GenericCardReaderFriend/GenericCardReaderFriend.cpp | 0xFireWolf/GenericCardReaderFriend | c835c62c81ff06c8c788096a24eb19bc4ff5e05d | [
"BSD-3-Clause"
] | 8 | 2021-07-26T04:20:50.000Z | 2022-01-14T11:11:47.000Z | GenericCardReaderFriend/GenericCardReaderFriend.cpp | 0xFireWolf/GenericCardReaderFriend | c835c62c81ff06c8c788096a24eb19bc4ff5e05d | [
"BSD-3-Clause"
] | 3 | 2021-07-30T00:44:49.000Z | 2021-12-03T13:40:34.000Z | GenericCardReaderFriend/GenericCardReaderFriend.cpp | 0xFireWolf/GenericCardReaderFriend | c835c62c81ff06c8c788096a24eb19bc4ff5e05d | [
"BSD-3-Clause"
] | 1 | 2022-01-18T13:26:35.000Z | 2022-01-18T13:26:35.000Z | //
// GenericCardReaderFriend.cpp
// GenericCardReaderFriend
//
// Created by FireWolf on 7/24/21.
//
#include <Headers/plugin_start.hpp>
#include <Headers/kern_api.hpp>
#include <Headers/kern_user.hpp>
//
// MARK: - Constants & Patches
//
static const char* kCardReaderReporterPath = "/System/Library/SystemProfil... | 29.046512 | 172 | 0.63779 | 0xFireWolf |
17a2a53a5a1d802aa6a3cdaf70d9d47bd9b0b224 | 1,725 | hpp | C++ | src/integrator/host/util.hpp | ValeevGroup/GauXC | cbc377c191e1159540d8ed923338cb849ae090ee | [
"BSD-3-Clause-LBNL"
] | null | null | null | src/integrator/host/util.hpp | ValeevGroup/GauXC | cbc377c191e1159540d8ed923338cb849ae090ee | [
"BSD-3-Clause-LBNL"
] | null | null | null | src/integrator/host/util.hpp | ValeevGroup/GauXC | cbc377c191e1159540d8ed923338cb849ae090ee | [
"BSD-3-Clause-LBNL"
] | null | null | null | #pragma once
#include "blas.hpp"
#include <vector>
#include <tuple>
#include <cstdint>
namespace GauXC {
namespace detail {
template <typename _F1, typename _F2>
void submat_set(int32_t M, int32_t N, int32_t MSub,
int32_t NSub, _F1 *ABig, int32_t LDAB, _F2 *ASmall,
int32_t LDAS,
std::vector<std::pair<int32_... | 21.296296 | 65 | 0.582029 | ValeevGroup |
17b0ab779c9cba1d89aedb70329996f16cd5dd58 | 1,972 | cc | C++ | game-server/test/unit/tictactwo/test_place_piece_action.cc | Towerism/morphling | cdfcb5949ca23417b5c6df9046f3a1924ba74771 | [
"MIT"
] | 4 | 2017-05-04T01:53:14.000Z | 2017-05-09T05:55:57.000Z | game-server/test/unit/tictactwo/test_place_piece_action.cc | Towerism/morphling | cdfcb5949ca23417b5c6df9046f3a1924ba74771 | [
"MIT"
] | null | null | null | game-server/test/unit/tictactwo/test_place_piece_action.cc | Towerism/morphling | cdfcb5949ca23417b5c6df9046f3a1924ba74771 | [
"MIT"
] | null | null | null | #include <gtest/gtest.h>
#include <games/tictactwo/tictactwo_model.h>
#include <games/tictactwo/action_place_piece.h>
#include <games/tictactwo/tictactwo_player.h>
using namespace Morphling::Gamelogic::Tictactwo;
using Morphling::Gamelogic::Game_object;
class PlacePieceActionTests : public ::testing::Test {
public:... | 24.345679 | 84 | 0.755071 | Towerism |
17b254b6d8b216b9f478aaa5e8f230e8b1c1d2b1 | 10,190 | cpp | C++ | Source/FlightSimulator/Private/System/FlightAutoPilotSystem.cpp | Lynnvon/FlightSimulator | 2dca6f8364b7f4972a248de3dbc3a711740f5ed4 | [
"MIT"
] | 1 | 2022-02-03T08:29:35.000Z | 2022-02-03T08:29:35.000Z | Source/FlightSimulator/Private/System/FlightAutoPilotSystem.cpp | Lynnvon/FlightSimulator | 2dca6f8364b7f4972a248de3dbc3a711740f5ed4 | [
"MIT"
] | null | null | null | Source/FlightSimulator/Private/System/FlightAutoPilotSystem.cpp | Lynnvon/FlightSimulator | 2dca6f8364b7f4972a248de3dbc3a711740f5ed4 | [
"MIT"
] | null | null | null | //MIT License
//
//Copyright(c) 2021 HaiLiang Feng
//
//QQ : 632865163
//Blog : https ://www.cnblogs.com/LynnVon/
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this softwareand associated documentation files(the "Software"), to deal
// in the Software without restrict... | 26.957672 | 162 | 0.708047 | Lynnvon |
17b320ad26d6479e3150f76f73e193dda73b24aa | 9,660 | cpp | C++ | src/chatwindow/qmlchatwidget.cpp | nameisalreadytakenexception/PairStormIDE | 7c41dc91611f9a9db62c8c9ac0373e0fe33fec59 | [
"MIT"
] | 4 | 2019-07-23T13:00:58.000Z | 2021-09-24T19:03:01.000Z | src/chatwindow/qmlchatwidget.cpp | nameisalreadytakenexception/PairStormIDE | 7c41dc91611f9a9db62c8c9ac0373e0fe33fec59 | [
"MIT"
] | 4 | 2019-07-23T12:33:11.000Z | 2019-08-20T11:39:16.000Z | src/chatwindow/qmlchatwidget.cpp | nameisalreadytakenexception/PairStormIDE | 7c41dc91611f9a9db62c8c9ac0373e0fe33fec59 | [
"MIT"
] | 1 | 2019-11-02T15:07:13.000Z | 2019-11-02T15:07:13.000Z | #include "qmlchatwidget.h"
// ==========================================================================================
// ==========================================================================================
// CONSTRUCTOR
QmlChatWidg... | 48.542714 | 103 | 0.467391 | nameisalreadytakenexception |
17b9a6eb0767bb5d5cdccf0a0919975bae4686bf | 1,925 | cpp | C++ | Editor/DecalWindow.cpp | sadernalwis/WickedEngine | a1924cc97d36d0dac5e405f4197a9b1e982b2740 | [
"WTFPL",
"MIT"
] | 3,589 | 2015-06-20T23:08:26.000Z | 2022-03-31T13:45:07.000Z | Editor/DecalWindow.cpp | sadernalwis/WickedEngine | a1924cc97d36d0dac5e405f4197a9b1e982b2740 | [
"WTFPL",
"MIT"
] | 303 | 2015-11-23T18:23:59.000Z | 2022-03-31T09:31:03.000Z | Editor/DecalWindow.cpp | sadernalwis/WickedEngine | a1924cc97d36d0dac5e405f4197a9b1e982b2740 | [
"WTFPL",
"MIT"
] | 496 | 2015-06-22T18:14:06.000Z | 2022-03-30T21:53:21.000Z | #include "stdafx.h"
#include "DecalWindow.h"
#include "Editor.h"
using namespace wiECS;
using namespace wiScene;
void DecalWindow::Create(EditorComponent* editor)
{
wiWindow::Create("Decal Window");
SetSize(XMFLOAT2(400, 200));
float x = 200;
float y = 5;
float hei = 18;
float step = hei + 2;
placementCheck... | 25.328947 | 143 | 0.72987 | sadernalwis |
17c67fb22995dad75c1e23509bf318b079adfcb0 | 16,235 | cpp | C++ | export/windows/cpp/obj/src/flixel/input/FlxPointer.cpp | TinyPlanetStudios/Project-Crash-Land | 365f196be4212602d32251566f26b53fb70693f6 | [
"MIT"
] | null | null | null | export/windows/cpp/obj/src/flixel/input/FlxPointer.cpp | TinyPlanetStudios/Project-Crash-Land | 365f196be4212602d32251566f26b53fb70693f6 | [
"MIT"
] | null | null | null | export/windows/cpp/obj/src/flixel/input/FlxPointer.cpp | TinyPlanetStudios/Project-Crash-Land | 365f196be4212602d32251566f26b53fb70693f6 | [
"MIT"
] | null | null | null | // Generated by Haxe 3.3.0
#include <hxcpp.h>
#ifndef INCLUDED_Std
#include <Std.h>
#endif
#ifndef INCLUDED_flixel_FlxBasic
#include <flixel/FlxBasic.h>
#endif
#ifndef INCLUDED_flixel_FlxCamera
#include <flixel/FlxCamera.h>
#endif
#ifndef INCLUDED_flixel_FlxG
#include <flixel/FlxG.h>
#endif
#ifndef INCLUDED_flixel_Flx... | 42.949735 | 197 | 0.698429 | TinyPlanetStudios |
17c6fa1fccbb51a85c36ec50a1cfaed05e5b9793 | 4,975 | cxx | C++ | src/Command.cxx | vlad-korneev/virgil-cli | 3077f9f8d0c474265a1888cac8dd65a89becff5a | [
"BSD-3-Clause"
] | 1 | 2019-03-28T16:47:29.000Z | 2019-03-28T16:47:29.000Z | src/Command.cxx | vlad-korneev/virgil-cli | 3077f9f8d0c474265a1888cac8dd65a89becff5a | [
"BSD-3-Clause"
] | null | null | null | src/Command.cxx | vlad-korneev/virgil-cli | 3077f9f8d0c474265a1888cac8dd65a89becff5a | [
"BSD-3-Clause"
] | null | null | null | /**
* Copyright (C) 2015-2017 Virgil Security Inc.
*
* Lead Maintainer: Virgil Security Inc. <support@virgilsecurity.com>
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* (1)... | 35.035211 | 96 | 0.697085 | vlad-korneev |
17cc76921f2b7b92731d820df3de35b410b1154f | 469 | cpp | C++ | LazyEngine/LazyEngine/src/LazyEngine/Renderer/RendererAPI.cpp | PhiliGuertler/ManifoldDMC | d9740e17ebadce0320f7cfb7dbb1cd728119a8ab | [
"MIT"
] | null | null | null | LazyEngine/LazyEngine/src/LazyEngine/Renderer/RendererAPI.cpp | PhiliGuertler/ManifoldDMC | d9740e17ebadce0320f7cfb7dbb1cd728119a8ab | [
"MIT"
] | null | null | null | LazyEngine/LazyEngine/src/LazyEngine/Renderer/RendererAPI.cpp | PhiliGuertler/ManifoldDMC | d9740e17ebadce0320f7cfb7dbb1cd728119a8ab | [
"MIT"
] | null | null | null | // ######################################################################### //
// ### RendererAPI.cpp ##################################################### //
// ### initializes static members of the class RendererAPI. ### //
// ######################################################################### //
... | 33.5 | 79 | 0.362473 | PhiliGuertler |
17d0c2b0d93c008e0fddc20dc66a8b8026c1ac93 | 288 | cpp | C++ | ftpserver/src/Request.cpp | aminst/ftp-server | ca019e21b14cdf41346be3328640064b865b136f | [
"MIT"
] | 1 | 2021-04-09T14:32:51.000Z | 2021-04-09T14:32:51.000Z | ftpserver/src/Request.cpp | aminst/ftp-server | ca019e21b14cdf41346be3328640064b865b136f | [
"MIT"
] | null | null | null | ftpserver/src/Request.cpp | aminst/ftp-server | ca019e21b14cdf41346be3328640064b865b136f | [
"MIT"
] | 1 | 2021-04-09T14:32:53.000Z | 2021-04-09T14:32:53.000Z | #include "Request.hpp"
using namespace std;
Request::Request(const string& command, const vector<string>& arguments)
: command(command), arguments(arguments)
{
}
string Request::get_command()
{
return command;
}
vector<string> Request::get_arguments()
{
return arguments;
} | 16.941176 | 72 | 0.722222 | aminst |
17d3005c6c0d2bcb7425b889152603d21149318d | 3,339 | cpp | C++ | tests/validate_email_test.cpp | beached/validate_email | 2b08876ede9ad01ac43f1d0a7110d2150a9b5a72 | [
"MIT"
] | null | null | null | tests/validate_email_test.cpp | beached/validate_email | 2b08876ede9ad01ac43f1d0a7110d2150a9b5a72 | [
"MIT"
] | null | null | null | tests/validate_email_test.cpp | beached/validate_email | 2b08876ede9ad01ac43f1d0a7110d2150a9b5a72 | [
"MIT"
] | null | null | null | // The MIT License (MIT)
//
// Copyright (c) 2016-2018 Darrell Wright
//
// 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... | 34.78125 | 86 | 0.727463 | beached |
17d4c1a25d08835961e57aacbabf18d04baf20ad | 9,972 | cpp | C++ | src/syllo/catkin_ws/src/syllo_blueview/src/syllo_blueview/Sonar.cpp | toremobjo/VideoRayROS | aa13a6d4f924fbcd7c2b0b2016a7b409b9272d63 | [
"MIT"
] | 6 | 2015-06-17T18:23:27.000Z | 2018-05-14T05:33:24.000Z | src/syllo/catkin_ws/src/syllo_blueview/src/syllo_blueview/Sonar.cpp | toremobjo/VideoRayROS | aa13a6d4f924fbcd7c2b0b2016a7b409b9272d63 | [
"MIT"
] | 1 | 2016-07-01T09:01:17.000Z | 2016-07-02T15:24:15.000Z | src/syllo/catkin_ws/src/syllo_blueview/src/syllo_blueview/Sonar.cpp | toremobjo/VideoRayROS | aa13a6d4f924fbcd7c2b0b2016a7b409b9272d63 | [
"MIT"
] | 10 | 2015-02-20T11:57:42.000Z | 2020-12-20T12:42:54.000Z | #include <iostream>
#include <stdio.h>
#include <unistd.h>
#include <fstream>
#include <syllo_blueview/Sonar.h>
#include <syllo_common/Utils.h>
#if ENABLE_SONAR == 1
#include <bvt_sdk.h>
#endif
using std::cout;
using std::endl;
Sonar::Sonar()
: initialized_(false), fn_(""), ip_addr_(""), logging_(false),
... | 25.309645 | 96 | 0.5356 | toremobjo |
17d54356096393f228721efe594100ff244ad159 | 2,260 | cpp | C++ | Sources/Core/Components/Renderer.cpp | alelievr/LWGEngine | 655ed35350206401e20bc2fe6063574e1ede603f | [
"MIT"
] | 3 | 2019-09-05T12:49:14.000Z | 2020-06-08T00:13:49.000Z | Sources/Core/Components/Renderer.cpp | alelievr/LWGEngine | 655ed35350206401e20bc2fe6063574e1ede603f | [
"MIT"
] | 4 | 2018-12-16T15:39:19.000Z | 2019-03-23T20:29:26.000Z | Sources/Core/Components/Renderer.cpp | alelievr/LWGEngine | 655ed35350206401e20bc2fe6063574e1ede603f | [
"MIT"
] | 2 | 2020-06-08T00:13:55.000Z | 2021-12-12T10:10:20.000Z | #include "Renderer.hpp"
#include "Core/PrimitiveMeshFactory.hpp"
#include "Core/Hierarchy.hpp"
#include "Core/Rendering/RenderPipeline.hpp"
#include "Core/Vulkan/VulkanInstance.hpp"
#include "Utils/Vector.hpp"
#include "Core/Application.hpp"
#include "IncludeDeps.hpp"
#include GLM_INCLUDE
using namespace LWGC;
Rende... | 23.541667 | 118 | 0.766814 | alelievr |
17d83130a9b4941b3ce231c2f58eb493f815ce45 | 2,600 | hh | C++ | KalmanTrack/KalPairConduit.hh | brownd1978/FastSim | 05f590d72d8e7f71856fd833114a38b84fc7fd48 | [
"Apache-2.0"
] | null | null | null | KalmanTrack/KalPairConduit.hh | brownd1978/FastSim | 05f590d72d8e7f71856fd833114a38b84fc7fd48 | [
"Apache-2.0"
] | null | null | null | KalmanTrack/KalPairConduit.hh | brownd1978/FastSim | 05f590d72d8e7f71856fd833114a38b84fc7fd48 | [
"Apache-2.0"
] | null | null | null | //--------------------------------------------------------------------------
// File and Version Information:
// $Id: KalPairConduit.hh,v 1.5 2001/10/17 14:55:17 steinke Exp $
//
// Description:
//
//
// Environment:
// Software developed for the BaBar Detector at the SLAC B-Factory.
//
// Author(s): Dou... | 23.214286 | 76 | 0.696923 | brownd1978 |
17d8c6d7baf6ce70c546f7ea9ab809a75b0a8d74 | 128 | cpp | C++ | DaVinskky Engine/Source/R_Material.cpp | Vinskky/DaVinskky_Engine | a9d46847d72ad20287e415cc8fd63b6f875bba4e | [
"MIT"
] | null | null | null | DaVinskky Engine/Source/R_Material.cpp | Vinskky/DaVinskky_Engine | a9d46847d72ad20287e415cc8fd63b6f875bba4e | [
"MIT"
] | null | null | null | DaVinskky Engine/Source/R_Material.cpp | Vinskky/DaVinskky_Engine | a9d46847d72ad20287e415cc8fd63b6f875bba4e | [
"MIT"
] | null | null | null | #include "R_Material.h"
R_Material::R_Material()
{
diffuseColor = { 1.0f,1.0f, 1.0f, 1.0f };
}
R_Material::~R_Material()
{
}
| 11.636364 | 42 | 0.640625 | Vinskky |
17dd6e476c2cbe0d6c47ae2173d658ae96817eb1 | 17,036 | cpp | C++ | src/frameworks/native/services/surfaceflinger/Scheduler/EventThread.cpp | dAck2cC2/m3e | 475b89b59d5022a94e00b636438b25e27e4eaab2 | [
"Apache-2.0"
] | null | null | null | src/frameworks/native/services/surfaceflinger/Scheduler/EventThread.cpp | dAck2cC2/m3e | 475b89b59d5022a94e00b636438b25e27e4eaab2 | [
"Apache-2.0"
] | null | null | null | src/frameworks/native/services/surfaceflinger/Scheduler/EventThread.cpp | dAck2cC2/m3e | 475b89b59d5022a94e00b636438b25e27e4eaab2 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2011 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 34.48583 | 99 | 0.632954 | dAck2cC2 |
17e6ceb112afc10d0d21a4724e4bd76d351e87aa | 9,988 | cpp | C++ | qbf_solve/main.cpp | appu226/FactorGraph | 26e4de8518874abf2696a167eaf3dbaede5930f8 | [
"MIT"
] | null | null | null | qbf_solve/main.cpp | appu226/FactorGraph | 26e4de8518874abf2696a167eaf3dbaede5930f8 | [
"MIT"
] | null | null | null | qbf_solve/main.cpp | appu226/FactorGraph | 26e4de8518874abf2696a167eaf3dbaede5930f8 | [
"MIT"
] | null | null | null | /*
Copyright 2019 Parakram Majumdar
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, ... | 26.493369 | 124 | 0.604626 | appu226 |
17e73146a4c193de9587418a56a96588ee72f5ed | 17,823 | hpp | C++ | sparta/sparta/app/MultiDetailOptions.hpp | debjyoti0891/map | abdae67964420d7d36255dcbf83e4240a1ef4295 | [
"MIT"
] | 44 | 2019-12-13T06:39:13.000Z | 2022-03-29T23:09:28.000Z | sparta/sparta/app/MultiDetailOptions.hpp | debjyoti0891/map | abdae67964420d7d36255dcbf83e4240a1ef4295 | [
"MIT"
] | 222 | 2020-01-14T21:58:56.000Z | 2022-03-31T20:05:12.000Z | sparta/sparta/app/MultiDetailOptions.hpp | debjyoti0891/map | abdae67964420d7d36255dcbf83e4240a1ef4295 | [
"MIT"
] | 19 | 2020-01-03T19:03:22.000Z | 2022-01-09T08:36:20.000Z | // <MultiDetailOptions.hpp> -*- C++ -*-
/*!
* \file MultiDetailOptions.hpp
* \brief Wrapper for boost program_options option_description that allows
* multiple levels of detail
*/
#pragma once
#include <boost/program_options.hpp>
#include "sparta/sparta.hpp"
namespace po = boost::program_options;
namespace s... | 30.67642 | 116 | 0.601246 | debjyoti0891 |
17e7af81d392d433bb24ade2234e33c988c1466f | 328,494 | cc | C++ | schemas/cpp/openconfig/openconfig_wavelength_router/openconfig_wavelength_router.pb.cc | seilis/serialization-perf | 447cab4bfee66c8a86062b1b6169bddf81036a79 | [
"Apache-2.0"
] | null | null | null | schemas/cpp/openconfig/openconfig_wavelength_router/openconfig_wavelength_router.pb.cc | seilis/serialization-perf | 447cab4bfee66c8a86062b1b6169bddf81036a79 | [
"Apache-2.0"
] | 2 | 2018-05-10T22:57:40.000Z | 2018-05-16T10:14:23.000Z | schemas/cpp/openconfig/openconfig_wavelength_router/openconfig_wavelength_router.pb.cc | seilis/serialization-perf | 447cab4bfee66c8a86062b1b6169bddf81036a79 | [
"Apache-2.0"
] | 1 | 2018-05-09T03:03:01.000Z | 2018-05-09T03:03:01.000Z | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: openconfig/openconfig_wavelength_router/openconfig_wavelength_router.proto
#include "openconfig/openconfig_wavelength_router/openconfig_wavelength_router.pb.h"
#include <algorithm>
#include <google/protobuf/stubs/common.h>
#include <google/protob... | 52.042776 | 293 | 0.786437 | seilis |
17ee409ea0e51f14852a538d89cfe59cc9a194b1 | 348 | hpp | C++ | include/oxu/framework/threading/pipeline.hpp | oda404/oxu | 5df4755f796be976bed767cd889a2e71ed867f9b | [
"MIT"
] | null | null | null | include/oxu/framework/threading/pipeline.hpp | oda404/oxu | 5df4755f796be976bed767cd889a2e71ed867f9b | [
"MIT"
] | null | null | null | include/oxu/framework/threading/pipeline.hpp | oda404/oxu | 5df4755f796be976bed767cd889a2e71ed867f9b | [
"MIT"
] | null | null | null | #pragma once
#include<mutex>
#include<vector>
#include<oxu/framework/threading/request.hpp>
namespace oxu::framework::threading
{
class Pipeline
{
private:
std::vector<Request> pipeline;
std::mutex mtx;
public:
void makeRequest(Request request);
bool pollRequest(Reque... | 17.4 | 49 | 0.655172 | oda404 |
17ef4969f04e393baccff657a51faa1eb4fe1ff4 | 1,646 | cc | C++ | src/mutex.cc | cjhoward92/lokker | 220977718fe6da4b19b86ae4e27c5547bdf586c8 | [
"MIT"
] | null | null | null | src/mutex.cc | cjhoward92/lokker | 220977718fe6da4b19b86ae4e27c5547bdf586c8 | [
"MIT"
] | null | null | null | src/mutex.cc | cjhoward92/lokker | 220977718fe6da4b19b86ae4e27c5547bdf586c8 | [
"MIT"
] | null | null | null | #include "mutex.h"
namespace Lokker {
LockWorker::LockWorker(Nan::Callback *callback, uv_mutex_t *mutex)
: AsyncWorker(callback) {
_mutex = mutex;
}
LockWorker::~LockWorker() {}
void LockWorker::Execute() {
uv_mutex_lock(_mutex);
}
void LockWorker::HandleOkCallback() {
Nan::HandleScope scope;
v8::Lo... | 23.855072 | 76 | 0.684083 | cjhoward92 |
17f3a670537114c1e27c87fe7885a03faf04a9ed | 1,420 | cpp | C++ | 2667.cpp | jaemin2682/BAEKJOON_ONLINE_JUDGE | 0d5c6907baee61e1fabdbcd96ea473079a9475ed | [
"MIT"
] | null | null | null | 2667.cpp | jaemin2682/BAEKJOON_ONLINE_JUDGE | 0d5c6907baee61e1fabdbcd96ea473079a9475ed | [
"MIT"
] | null | null | null | 2667.cpp | jaemin2682/BAEKJOON_ONLINE_JUDGE | 0d5c6907baee61e1fabdbcd96ea473079a9475ed | [
"MIT"
] | null | null | null | #include <vector>
#include <iostream>
#include <queue>
#include <algorithm>
#include <string>
using namespace std;
int map[26][26];
bool visit[26][26];
int main() {
int n;
vector<pair<int, int>> dxy = { {1,0}, {-1,0}, {0,-1}, {0,1} };
string temp;
vector<string> store;
vector<int> answer;
cin >... | 21.515152 | 85 | 0.442254 | jaemin2682 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.