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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
822b23505ca1099615e576fd9fdcf98583fedde9 | 3,067 | hpp | C++ | system/mp/mpbuff.hpp | miguelvazq/HPCC-Platform | 22ad8e5fcb59626abfd8febecbdfccb1e9fb0aa5 | [
"Apache-2.0"
] | null | null | null | system/mp/mpbuff.hpp | miguelvazq/HPCC-Platform | 22ad8e5fcb59626abfd8febecbdfccb1e9fb0aa5 | [
"Apache-2.0"
] | 1 | 2018-03-01T18:15:12.000Z | 2018-03-01T18:15:12.000Z | system/mp/mpbuff.hpp | miguelvazq/HPCC-Platform | 22ad8e5fcb59626abfd8febecbdfccb1e9fb0aa5 | [
"Apache-2.0"
] | 3 | 2021-05-02T17:01:57.000Z | 2021-05-02T17:02:28.000Z | /*##############################################################################
HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®.
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... | 30.979798 | 209 | 0.586241 | miguelvazq |
4361ad1f777fbe8e34ffaf4de2e5688c47883af1 | 3,611 | cpp | C++ | example/ping.cpp | oskarirauta/pingcpp | f521de4d024d644cefc88e115b5c8457ecc900bf | [
"MIT"
] | null | null | null | example/ping.cpp | oskarirauta/pingcpp | f521de4d024d644cefc88e115b5c8457ecc900bf | [
"MIT"
] | null | null | null | example/ping.cpp | oskarirauta/pingcpp | f521de4d024d644cefc88e115b5c8457ecc900bf | [
"MIT"
] | null | null | null | #include <iostream>
#include <string>
#include "example/report.hpp"
#include "network.hpp"
#include "ping.hpp"
#ifdef __IPV6__
# define TITLE "ping(+IPV6), by Oskari Rauta\nMIT License\n"
#else
# define TITLE "ping, by Oskari Rauta\nMIT License\n"
#endif
void usage(std::string cmd, std::string msg) {
if ( cmd.empty... | 21.241176 | 98 | 0.572418 | oskarirauta |
43635a53ccb70dfb9fc469ce843e252e1a7c0e80 | 796 | hpp | C++ | vm/builtin/global_cache_entry.hpp | larrytheliquid/rubinius | 5af42280ab95626f33517ca5f6330e17be04ec64 | [
"BSD-3-Clause"
] | 1 | 2017-09-09T21:28:06.000Z | 2017-09-09T21:28:06.000Z | vm/builtin/global_cache_entry.hpp | bruce/rubinius | 44d3bdd0d988a17de1fe446bd29d2e9dede65f45 | [
"BSD-3-Clause"
] | 1 | 2022-03-12T14:09:00.000Z | 2022-03-12T14:09:00.000Z | vm/builtin/global_cache_entry.hpp | isabella232/rubinius | 5af42280ab95626f33517ca5f6330e17be04ec64 | [
"BSD-3-Clause"
] | 1 | 2022-03-12T12:08:44.000Z | 2022-03-12T12:08:44.000Z | #ifndef RBX_BULITIN_GLOBAL_CACHE_ENTRY_HPP
#define RBX_BULITIN_GLOBAL_CACHE_ENTRY_HPP
#include "builtin/object.hpp"
#include "builtin/fixnum.hpp"
namespace rubinius {
class GlobalCacheEntry : public Object {
public:
const static object_type type = GlobalCacheEntryType;
private:
Object* value_; // slot... | 18.511628 | 58 | 0.674623 | larrytheliquid |
436572027429eb1ea475a5275d6ec3e2b44e52e8 | 5,941 | cpp | C++ | src/devices/misc/VehicleSpecific.cpp | collin80/GEVCU7 | d32f0052ad0a1124486c92d01a52ae4161386735 | [
"MIT"
] | 7 | 2021-10-18T11:56:18.000Z | 2022-03-13T04:13:16.000Z | src/devices/misc/VehicleSpecific.cpp | collin80/GEVCU7 | d32f0052ad0a1124486c92d01a52ae4161386735 | [
"MIT"
] | null | null | null | src/devices/misc/VehicleSpecific.cpp | collin80/GEVCU7 | d32f0052ad0a1124486c92d01a52ae4161386735 | [
"MIT"
] | 2 | 2021-11-29T05:19:21.000Z | 2022-01-14T04:02:04.000Z | /*
* VehicleSpecific.h - All code specific to your particular vehicle. This keeps the rest of code generic.
*
Copyright (c) 2016 Collin Kidder, Michael Neuweiler, Charles Galpin
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"... | 35.57485 | 130 | 0.709477 | collin80 |
4366da5fb2314a775845b62dd798cca608085897 | 3,087 | cpp | C++ | Lab2/LR2_2/LR2_2.cpp | TrueEdOs/OS-E | 0d0db497a0b0c798e1c8448e8a1eedd4ed260eae | [
"MIT"
] | null | null | null | Lab2/LR2_2/LR2_2.cpp | TrueEdOs/OS-E | 0d0db497a0b0c798e1c8448e8a1eedd4ed260eae | [
"MIT"
] | null | null | null | Lab2/LR2_2/LR2_2.cpp | TrueEdOs/OS-E | 0d0db497a0b0c798e1c8448e8a1eedd4ed260eae | [
"MIT"
] | null | null | null | // L2.cpp : This file contains the 'main' function. Program execution begins and ends there.
//
#include "pch.h"
#include <stdlib.h>
#include <locale.h>
#include <stdio.h>
#include <windows.h>
#include <tchar.h>
void ErrorMes(LPTSTR lpszFunction)
{
LPVOID lpMsgBuf;
LPVOID lpDisplayBuf;
DWORD dw = GetLastError... | 27.318584 | 126 | 0.68999 | TrueEdOs |
436ca93b76ba53627034ed3ad8c0438aeac14a0e | 3,784 | cc | C++ | Core/DianYing/Source/Component/CPhysicsColliderSphere.cc | liliilli/DianYing | 6e19f67e5d932e346a0ce63a648bed1a04ef618e | [
"MIT"
] | 4 | 2019-03-17T19:46:54.000Z | 2019-12-09T20:11:01.000Z | Core/DianYing/Source/Component/CPhysicsColliderSphere.cc | liliilli/DianYing | 6e19f67e5d932e346a0ce63a648bed1a04ef618e | [
"MIT"
] | null | null | null | Core/DianYing/Source/Component/CPhysicsColliderSphere.cc | liliilli/DianYing | 6e19f67e5d932e346a0ce63a648bed1a04ef618e | [
"MIT"
] | null | null | null | #include <precompiled.h>
///
/// MIT License
/// Copyright (c) 2018-2019 Jongmin Yun
///
/// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
/// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
/// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL... | 30.516129 | 113 | 0.709831 | liliilli |
436dc38a871d6afc89d471d50abbb9edf76a36ac | 1,614 | cpp | C++ | Sensor.cpp | msoffredi/ArduinoOpenAlarm | efb0f326b81f63286b17c43f5450f8c048171e9d | [
"MIT"
] | 1 | 2018-05-31T04:54:01.000Z | 2018-05-31T04:54:01.000Z | Sensor.cpp | msoffredi/ArduinoOpenAlarm | efb0f326b81f63286b17c43f5450f8c048171e9d | [
"MIT"
] | 51 | 2018-05-31T04:44:41.000Z | 2018-07-27T15:43:53.000Z | Sensor.cpp | msoffredi/ArduinoOpenAlarm | efb0f326b81f63286b17c43f5450f8c048171e9d | [
"MIT"
] | null | null | null | #include "Sensor.h"
Sensor::Sensor()
{
this->clearSensor();
}
void Sensor::clearSensor()
{
this->power = false;
this->active = false;
this->lastActive = 0;
this->twoStates = false;
this->wireless = false;
this->sensorID = "";
this->sensorInactiveID = "";
// 255 means und... | 15.519231 | 90 | 0.628253 | msoffredi |
436fb2e85ca94e9b4cbc111c6c99c900b0df1853 | 3,009 | cc | C++ | http2/adapter/oghttp2_adapter_test.cc | caozhiyi/quiche-study | 8add4b37ed6f3c0980a9b936b451924cf84590c2 | [
"BSD-3-Clause"
] | null | null | null | http2/adapter/oghttp2_adapter_test.cc | caozhiyi/quiche-study | 8add4b37ed6f3c0980a9b936b451924cf84590c2 | [
"BSD-3-Clause"
] | null | null | null | http2/adapter/oghttp2_adapter_test.cc | caozhiyi/quiche-study | 8add4b37ed6f3c0980a9b936b451924cf84590c2 | [
"BSD-3-Clause"
] | null | null | null | #include "http2/adapter/oghttp2_adapter.h"
#include "http2/adapter/mock_http2_visitor.h"
#include "http2/adapter/test_utils.h"
#include "common/platform/api/quiche_test.h"
#include "spdy/platform/api/spdy_test_helpers.h"
namespace http2 {
namespace adapter {
namespace test {
namespace {
class OgHttp2AdapterTest : pu... | 33.065934 | 80 | 0.727484 | caozhiyi |
43716ab6d46f6f7233116e3276cff3670a2c00e5 | 912 | cpp | C++ | network/tests/BinClientParserTests.cpp | highinit/hiaux | 39af5d9572ab4a16177fa31756cc0e0369090a3e | [
"BSD-2-Clause"
] | null | null | null | network/tests/BinClientParserTests.cpp | highinit/hiaux | 39af5d9572ab4a16177fa31756cc0e0369090a3e | [
"BSD-2-Clause"
] | null | null | null | network/tests/BinClientParserTests.cpp | highinit/hiaux | 39af5d9572ab4a16177fa31756cc0e0369090a3e | [
"BSD-2-Clause"
] | null | null | null |
#include "BinClientParserTests.h"
void BinClientParserTests::onHandshaked() {
}
BinClientParserTests::BinClientParserTests() {
hiapi::client::ResponseParser parser(boost::bind(&BinClientParserTests::onHandshaked, this));
{
std::ostringstream o;
o << HIAPI_HANDSHAKE;
parser.execute(o.str());
}
for... | 16.888889 | 94 | 0.585526 | highinit |
43766a948e216ccc69fe6eedcb03952a07bddb7e | 332 | cpp | C++ | A. Magnets.cpp | ahmedmamdouh886/codeforces_solutions | e1dafb76fa95dec6b648827ac7f712b3a0dd8f26 | [
"MIT"
] | 2 | 2020-03-20T23:37:39.000Z | 2021-12-03T15:02:23.000Z | A. Magnets.cpp | ahmedmamdouh886/codeforces-solutions | e1dafb76fa95dec6b648827ac7f712b3a0dd8f26 | [
"MIT"
] | null | null | null | A. Magnets.cpp | ahmedmamdouh886/codeforces-solutions | e1dafb76fa95dec6b648827ac7f712b3a0dd8f26 | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
// http://codeforces.com/problemset/problem/344/A
int main()
{
int n, i;
cin >> n;
int m[n];
int g = 1;
for( i = 0; i < n; ++i )
{
cin >> m[i];
if( i > 0 && m[i] != m[i - 1] ) g++;
}
cout << g << endl;
re... | 15.090909 | 50 | 0.406627 | ahmedmamdouh886 |
437b9fae679e1b2de7434ca5c7c66217f2fe8c47 | 1,282 | cpp | C++ | Problem203.cpp | codeartiste/euler | d699ce8ee9850e93159467aa5d9080955795fdc6 | [
"Apache-2.0"
] | null | null | null | Problem203.cpp | codeartiste/euler | d699ce8ee9850e93159467aa5d9080955795fdc6 | [
"Apache-2.0"
] | null | null | null | Problem203.cpp | codeartiste/euler | d699ce8ee9850e93159467aa5d9080955795fdc6 | [
"Apache-2.0"
] | null | null | null | //
// Problem203.cpp
// testC
//
// Created by Sandip Pal on 12/09/12.
// Copyright (c) 2012 Sandip Pal. All rights reserved.
//
#include "Problem203.h"
void SolveProblem203()
{
unsigned long long bincoeff[51*26 + 1];// n(n+1)/2
unsigned long long dcoeff[1000];
unsigned long long sum = 0;
i... | 20.677419 | 104 | 0.362715 | codeartiste |
43815db72df50d13bb0e525b71854b2eafd0ea87 | 12,131 | cc | C++ | third_party/blink/renderer/core/paint/highlight_painting_utils.cc | 1qaz2wsx7u8i9o0p/DOM-Tree-Type | 151e4c2c85bf93ba506277486d7989361d02b54c | [
"MIT"
] | null | null | null | third_party/blink/renderer/core/paint/highlight_painting_utils.cc | 1qaz2wsx7u8i9o0p/DOM-Tree-Type | 151e4c2c85bf93ba506277486d7989361d02b54c | [
"MIT"
] | null | null | null | third_party/blink/renderer/core/paint/highlight_painting_utils.cc | 1qaz2wsx7u8i9o0p/DOM-Tree-Type | 151e4c2c85bf93ba506277486d7989361d02b54c | [
"MIT"
] | null | null | null | // Copyright 2017 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 "third_party/blink/renderer/core/paint/highlight_painting_utils.h"
#include "third_party/blink/renderer/core/css/pseudo_style_request.h"
#includ... | 38.511111 | 125 | 0.702992 | 1qaz2wsx7u8i9o0p |
4381832d7d1ae49018f793071768fce0ae0b110f | 3,525 | cpp | C++ | CSES_Problem_Set/Tree_Algorithms/Path_Queries_II.cpp | hoanghai1803/CP_Training | 03495a21509fb3ab7fc64674b9a1b0c7d4327ecb | [
"MIT"
] | 4 | 2021-08-25T10:53:32.000Z | 2021-09-30T03:25:50.000Z | CSES_Problem_Set/Tree_Algorithms/Path_Queries_II.cpp | hoanghai1803/CP_Training | 03495a21509fb3ab7fc64674b9a1b0c7d4327ecb | [
"MIT"
] | null | null | null | CSES_Problem_Set/Tree_Algorithms/Path_Queries_II.cpp | hoanghai1803/CP_Training | 03495a21509fb3ab7fc64674b9a1b0c7d4327ecb | [
"MIT"
] | null | null | null | // Author: __BruteForce__
#include <bits/stdc++.h>
using namespace std;
#define oo INT_MAX
#define MAX_N 200005
#define LOG_N 20
int n, q;
int vtx[MAX_N], depth[MAX_N], children[MAX_N];
int par[LOG_N][MAX_N];
vector<int> adj[MAX_N];
int ST[4 * MAX_N]; // Segment Tree
/* HLD Base */
int nChains = 1, nArr;
int he... | 24.65035 | 92 | 0.45844 | hoanghai1803 |
43824376b99b43213cfd53a81144290d2cca1bce | 1,993 | hpp | C++ | modules/boost/simd/base/include/boost/simd/ieee/functions/eps.hpp | feelpp/nt2 | 4d121e2c7450f24b735d6cff03720f07b4b2146c | [
"BSL-1.0"
] | 34 | 2017-05-19T18:10:17.000Z | 2022-01-04T02:18:13.000Z | modules/boost/simd/base/include/boost/simd/ieee/functions/eps.hpp | feelpp/nt2 | 4d121e2c7450f24b735d6cff03720f07b4b2146c | [
"BSL-1.0"
] | null | null | null | modules/boost/simd/base/include/boost/simd/ieee/functions/eps.hpp | feelpp/nt2 | 4d121e2c7450f24b735d6cff03720f07b4b2146c | [
"BSL-1.0"
] | 7 | 2017-12-02T12:59:17.000Z | 2021-07-31T12:46:14.000Z | //==============================================================================
// Copyright 2003 - 2012 LASMEA UMR 6602 CNRS/Univ. Clermont II
// Copyright 2009 - 2012 LRI UMR 8623 CNRS/Univ Paris Sud XI
//
// Distributed under the Boost Software License, Version 1.0.
// ... | 27.680556 | 129 | 0.601104 | feelpp |
43825aa3ea5c0438bc9b101d1d29b3bdf95a72de | 4,301 | hpp | C++ | core/src/SceneGraph/Text.hpp | hhsaez/crimild | e3efee09489939338df55e8af9a1f9ddc01301f7 | [
"BSD-3-Clause"
] | 36 | 2015-03-12T10:42:36.000Z | 2022-01-12T04:20:40.000Z | core/src/SceneGraph/Text.hpp | hhsaez/crimild | e3efee09489939338df55e8af9a1f9ddc01301f7 | [
"BSD-3-Clause"
] | 1 | 2015-12-17T00:25:43.000Z | 2016-02-20T12:00:57.000Z | core/src/SceneGraph/Text.hpp | hhsaez/crimild | e3efee09489939338df55e8af9a1f9ddc01301f7 | [
"BSD-3-Clause"
] | 6 | 2017-06-17T07:57:53.000Z | 2019-04-09T21:11:24.000Z | /*
* Copyright (c) 2013, Hernan Saez
* 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 con... | 31.394161 | 97 | 0.697047 | hhsaez |
438ba0ea056e90f121cfc5fea2ce59e3c6062ec1 | 5,354 | cpp | C++ | src/rpc/staking.cpp | ProjectMerge/bitcoin | bbccb25fbfbd0c4aedf2d5e2da303626a013df17 | [
"MIT"
] | 10 | 2018-10-31T08:51:42.000Z | 2020-10-15T00:50:52.000Z | src/rpc/staking.cpp | ProjectMerge/bitcoin | bbccb25fbfbd0c4aedf2d5e2da303626a013df17 | [
"MIT"
] | 12 | 2018-12-12T03:34:39.000Z | 2019-01-13T20:47:33.000Z | src/rpc/staking.cpp | ProjectMerge/bitcoin | bbccb25fbfbd0c4aedf2d5e2da303626a013df17 | [
"MIT"
] | 22 | 2018-12-24T21:04:55.000Z | 2021-05-16T18:58:20.000Z | // Copyright (c) 2020 The Merge Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <chainparams.h>
#include <consensus/params.h>
#include <miner.h>
#include <node/context.h>
#include <pos/kernel.h>
#include... | 38.517986 | 124 | 0.625514 | ProjectMerge |
438ba4c7a9c31ac4026c67df2f5b0328ad8953b4 | 2,811 | cpp | C++ | source/StreamingCDLOD/DxEventNotifier.cpp | honghaoli/CDLOD | aad14799f4766e792f38e99f4800618086a4b1d2 | [
"MIT"
] | 107 | 2017-08-16T11:24:09.000Z | 2022-03-20T06:53:58.000Z | source/StreamingCDLOD/DxEventNotifier.cpp | honghaoli/CDLOD | aad14799f4766e792f38e99f4800618086a4b1d2 | [
"MIT"
] | 1 | 2017-08-16T22:21:21.000Z | 2018-03-11T02:33:06.000Z | source/StreamingCDLOD/DxEventNotifier.cpp | honghaoli/CDLOD | aad14799f4766e792f38e99f4800618086a4b1d2 | [
"MIT"
] | 17 | 2017-08-16T11:24:29.000Z | 2021-04-15T06:39:46.000Z | //////////////////////////////////////////////////////////////////////
// Copyright (C) 2009 - Filip Strugar.
// Distributed under the zlib License (see readme file)
//////////////////////////////////////////////////////////////////////
#include "DXUT.h"
#include "DxEventNotifier.h"
#pragma warning (default : 4995)
... | 31.233333 | 171 | 0.714337 | honghaoli |
438be93fe50d0e0e6c32962b2d5c38dc48c958ad | 408 | cpp | C++ | C++/find-the-winner-of-an-array-game.cpp | Akhil-Kashyap/LeetCode-Solutions | c671a588f96f4e4bbde4512727322ff9b1c8ae6a | [
"MIT"
] | 3,269 | 2018-10-12T01:29:40.000Z | 2022-03-31T17:58:41.000Z | C++/find-the-winner-of-an-array-game.cpp | Akhil-Kashyap/LeetCode-Solutions | c671a588f96f4e4bbde4512727322ff9b1c8ae6a | [
"MIT"
] | 53 | 2018-12-16T22:54:20.000Z | 2022-02-25T08:31:20.000Z | C++/find-the-winner-of-an-array-game.cpp | Akhil-Kashyap/LeetCode-Solutions | c671a588f96f4e4bbde4512727322ff9b1c8ae6a | [
"MIT"
] | 1,236 | 2018-10-12T02:51:40.000Z | 2022-03-30T13:30:37.000Z | // Time: O(n)
// Space: O(1)
class Solution {
public:
int getWinner(vector<int>& arr, int k) {
int result = arr[0];
for (int i = 1, count = 0; i < arr.size(); ++i) {
if (arr[i] > result) {
result = arr[i];
count = 0;
}
if (++count... | 20.4 | 57 | 0.365196 | Akhil-Kashyap |
438d984ac58b7c58fc69b1247cd9cdbca8ad4f9e | 2,459 | cpp | C++ | src/reply.cpp | dioptra-io/diamond-miner-prober | 93a9768de3dd2abe30eb9c1531c0d542f658d9fb | [
"MIT"
] | 2 | 2021-03-01T15:17:42.000Z | 2021-03-17T15:03:16.000Z | src/reply.cpp | dioptra-io/diamond-miner-prober | 93a9768de3dd2abe30eb9c1531c0d542f658d9fb | [
"MIT"
] | null | null | null | src/reply.cpp | dioptra-io/diamond-miner-prober | 93a9768de3dd2abe30eb9c1531c0d542f658d9fb | [
"MIT"
] | null | null | null | #include <spdlog/fmt/fmt.h>
#include <spdlog/fmt/ostr.h>
#include <caracal/checksum.hpp>
#include <caracal/constants.hpp>
#include <caracal/pretty.hpp>
#include <caracal/reply.hpp>
#include <sstream>
#include <string>
namespace caracal {
std::string Reply::to_csv() const {
return fmt::format("{},{},{},{},{},{},{},... | 36.701493 | 76 | 0.635218 | dioptra-io |
438eaddf062f6c5d46f8be297a54f9d580f4b43e | 5,517 | cpp | C++ | language-extensions/python/src/PythonExtensionUtils.cpp | rabryst/sql-server-language-extensions | a6a25890d1c3e449537eaaafab706c6c1e8b51cb | [
"MIT"
] | 82 | 2019-05-24T00:36:57.000Z | 2022-02-21T23:51:46.000Z | language-extensions/python/src/PythonExtensionUtils.cpp | rabryst/sql-server-language-extensions | a6a25890d1c3e449537eaaafab706c6c1e8b51cb | [
"MIT"
] | 20 | 2019-07-05T06:12:28.000Z | 2022-03-31T20:48:30.000Z | language-extensions/python/src/PythonExtensionUtils.cpp | rabryst/sql-server-language-extensions | a6a25890d1c3e449537eaaafab706c6c1e8b51cb | [
"MIT"
] | 35 | 2019-05-24T01:44:07.000Z | 2022-02-28T13:29:44.000Z | //*************************************************************************************************
// Copyright (C) Microsoft Corporation.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// https://www.boost.org/LICENSE_1_0.txt)
//
// @File: Pyth... | 26.397129 | 100 | 0.586551 | rabryst |
43962916cbbdc84d8e5ededcdae2753a2190968c | 7,075 | cpp | C++ | VD_prep/VD_rep/main.cpp | theroyalcoder/old.HF-ICT-4-SEM-GUI | d97bec83f339807a0054449421fe061ba901ddf3 | [
"MIT"
] | null | null | null | VD_prep/VD_rep/main.cpp | theroyalcoder/old.HF-ICT-4-SEM-GUI | d97bec83f339807a0054449421fe061ba901ddf3 | [
"MIT"
] | null | null | null | VD_prep/VD_rep/main.cpp | theroyalcoder/old.HF-ICT-4-SEM-GUI | d97bec83f339807a0054449421fe061ba901ddf3 | [
"MIT"
] | 1 | 2018-05-03T21:46:28.000Z | 2018-05-03T21:46:28.000Z | #include <iostream>
using namespace std;
#include <list>
#include <vector>
#include <map>
class ArrayUtil{
public:
static long* multiplyArrayValues(const long *values, const int ARRAY_SIZE);
};
class StringUtil{
public:
static bool checkUniqueness(string s);
};
bool StringUtil::checkUniqueness(string s) {
... | 23.120915 | 99 | 0.534417 | theroyalcoder |
4398df35db418c9e6d0fa55642724e519b4035aa | 22,316 | cpp | C++ | intrinsic_cal/src/ical_srv.cpp | Julien-Livet/industrial_calibration | 078030b2d9eeca64b34e3ef48b7d23f7be5e5717 | [
"Apache-2.0"
] | 98 | 2015-01-20T22:13:41.000Z | 2022-03-07T23:54:24.000Z | intrinsic_cal/src/ical_srv.cpp | Julien-Livet/industrial_calibration | 078030b2d9eeca64b34e3ef48b7d23f7be5e5717 | [
"Apache-2.0"
] | 96 | 2015-03-02T15:57:48.000Z | 2021-09-29T14:12:26.000Z | intrinsic_cal/src/ical_srv.cpp | Julien-Livet/industrial_calibration | 078030b2d9eeca64b34e3ef48b7d23f7be5e5717 | [
"Apache-2.0"
] | 85 | 2015-02-09T23:04:19.000Z | 2021-09-15T13:45:07.000Z | #include <ros/ros.h>
#include <string>
#include <fstream>
// ros includes
#include <ros/ros.h>
#include <ros/package.h>
#include <ros/console.h>
#include <std_srvs/Trigger.h>
// ros actionlib includes
#include <actionlib/server/simple_action_server.h>
#include <actionlib/client/simple_action_client.h>
// intrinsic... | 38.542314 | 150 | 0.701022 | Julien-Livet |
439b657de1c11a7fceb7680ae8914d5abf71ac62 | 2,230 | cpp | C++ | Codeforces/Grind_1700_#1 /D.cpp | noobie7/Codes | 4d8265f4b7042bd7e8c0e0402d417c7e160ae6d4 | [
"MIT"
] | 2 | 2021-09-14T15:57:24.000Z | 2022-03-18T14:11:04.000Z | Codeforces/Grind_1700_#1 /D.cpp | noobie7/Codes | 4d8265f4b7042bd7e8c0e0402d417c7e160ae6d4 | [
"MIT"
] | null | null | null | Codeforces/Grind_1700_#1 /D.cpp | noobie7/Codes | 4d8265f4b7042bd7e8c0e0402d417c7e160ae6d4 | [
"MIT"
] | null | null | null | /*
"Won't stop until I'm phenomenal."
- Phenomenal, Eminem
*/
#include<bits/stdc++.h>
using namespace std;
typedef long long int ll;
#define ff first
#define Shazam ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL);
#define ss second
#define all(c) c.begin(),c.end()
#define endl "\n"
#define test() int... | 26.86747 | 81 | 0.356951 | noobie7 |
439c53dc30144b328c58684a82000d73e55990f1 | 1,868 | cpp | C++ | src/StringOps.cpp | TheNewBob/Oparse | 7956e096285f5e3dd99597a1fd5080b587c300c5 | [
"MIT"
] | null | null | null | src/StringOps.cpp | TheNewBob/Oparse | 7956e096285f5e3dd99597a1fd5080b587c300c5 | [
"MIT"
] | null | null | null | src/StringOps.cpp | TheNewBob/Oparse | 7956e096285f5e3dd99597a1fd5080b587c300c5 | [
"MIT"
] | null | null | null | #include "OpStdLibs.h"
#include <algorithm>
#include "..\include\StringOps.h"
namespace Oparse
{
const string WHITESPACE = " \t";
string StringToLower(string in)
{
string out = in;
transform(out.begin(), out.end(), out.begin(), tolower);
return out;
}
string RemoveExtraWhiteSpace(string str)
{
size_t n... | 25.944444 | 101 | 0.683619 | TheNewBob |
439c956bfc05edb97044371416981a71ccb6892c | 2,212 | cc | C++ | gcc-gcc-7_3_0-release/libstdc++-v3/testsuite/22_locale/conversions/string/1.cc | best08618/asylo | 5a520a9f5c461ede0f32acc284017b737a43898c | [
"Apache-2.0"
] | 7 | 2020-05-02T17:34:05.000Z | 2021-10-17T10:15:18.000Z | gcc-gcc-7_3_0-release/libstdc++-v3/testsuite/22_locale/conversions/string/1.cc | best08618/asylo | 5a520a9f5c461ede0f32acc284017b737a43898c | [
"Apache-2.0"
] | null | null | null | gcc-gcc-7_3_0-release/libstdc++-v3/testsuite/22_locale/conversions/string/1.cc | best08618/asylo | 5a520a9f5c461ede0f32acc284017b737a43898c | [
"Apache-2.0"
] | 2 | 2020-07-27T00:22:36.000Z | 2021-04-01T09:41:02.000Z | // { dg-do run { target c++11 } }
// Copyright (C) 2015-2017 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO 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 Software Foundatio... | 29.891892 | 76 | 0.68264 | best08618 |
43a8787bfcc05fbaa50423ea82a787c55904f5c7 | 2,165 | cxx | C++ | proxivision/SearchReplaceDialog.cxx | gorvin/proxivision-editor | b43d990ba05df1939baa8b8870a7b46a3e3d8e8f | [
"MIT"
] | null | null | null | proxivision/SearchReplaceDialog.cxx | gorvin/proxivision-editor | b43d990ba05df1939baa8b8870a7b46a3e3d8e8f | [
"MIT"
] | null | null | null | proxivision/SearchReplaceDialog.cxx | gorvin/proxivision-editor | b43d990ba05df1939baa8b8870a7b46a3e3d8e8f | [
"MIT"
] | null | null | null | #include "xincs.h"
#include "fxver.h"
#include "fxdefs.h"
#include "FXElement.h"
#include "FXHash.h"
#include "FXAutoThreadStorageKey.h"
#include "FXThread.h"
#include "FXStream.h"
#include "FXString.h"
#include "FXStringDictionary.h"
#include "FXSize.h"
#include "FXPoint.h"
#include "FXRectangle.h"
#include "FXRegistr... | 30.492958 | 111 | 0.758891 | gorvin |
43ac046cd8065804dbb22ebd34f1e257d176be25 | 4,515 | cc | C++ | src/hosted/Cpu.cc | jappavoo/EbbRT | b0aacb6cafebd2b3e43b6636f1325e0ae10d7fba | [
"BSL-1.0"
] | 67 | 2015-02-26T17:55:43.000Z | 2022-01-06T09:30:59.000Z | src/hosted/Cpu.cc | jmcadden/EbbRT | d213abd76f3cc065755170876cc269d97591abd3 | [
"BSL-1.0"
] | 146 | 2015-02-11T16:39:58.000Z | 2021-02-21T21:27:09.000Z | src/hosted/Cpu.cc | jmcadden/EbbRT | d213abd76f3cc065755170876cc269d97591abd3 | [
"BSL-1.0"
] | 12 | 2015-02-04T05:49:54.000Z | 2019-08-07T10:20:09.000Z | #include <assert.h>
#include <fcntl.h>
#include <inttypes.h>
#include <pthread.h>
#include <signal.h>
#include <signal.h>
#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <unistd.h>
#include <array>
#include <iostream>
#include <boost/container/static_vector... | 23.515625 | 75 | 0.637209 | jappavoo |
43aca7fc8fe078247fce623ddc69ad8d6debde69 | 521 | cpp | C++ | src/callstate.cpp | edwardoid/simppl | 171df5f4670f2c44030e070756ab75c5d8ac496a | [
"MIT"
] | 50 | 2016-04-16T10:09:33.000Z | 2022-03-09T05:53:05.000Z | src/callstate.cpp | edwardoid/simppl | 171df5f4670f2c44030e070756ab75c5d8ac496a | [
"MIT"
] | 12 | 2016-09-26T12:58:59.000Z | 2021-01-28T09:16:08.000Z | src/callstate.cpp | edwardoid/simppl | 171df5f4670f2c44030e070756ab75c5d8ac496a | [
"MIT"
] | 19 | 2017-04-06T20:01:19.000Z | 2022-03-26T02:34:35.000Z | #include "simppl/callstate.h"
#include <dbus/dbus.h>
#include <cstring>
#include <cassert>
namespace simppl
{
namespace dbus
{
CallState::CallState(DBusMessage& msg)
: ex_()
, serial_(SIMPPL_INVALID_SERIAL)
{
if (dbus_message_get_type(&msg) == DBUS_MESSAGE_TYPE_ERROR)
{
ex_ = Error::from_message(ms... | 13.358974 | 62 | 0.675624 | edwardoid |
43adbade063d15076284f99b03f54ea02bf772d0 | 1,691 | hpp | C++ | twitterlib/include/twitterlib/objects/tweet.hpp | zina1995/Twitter-API-C-Library | 87b29c63b89be6feb05adbe05ebed0213aa67f9b | [
"MIT"
] | null | null | null | twitterlib/include/twitterlib/objects/tweet.hpp | zina1995/Twitter-API-C-Library | 87b29c63b89be6feb05adbe05ebed0213aa67f9b | [
"MIT"
] | null | null | null | twitterlib/include/twitterlib/objects/tweet.hpp | zina1995/Twitter-API-C-Library | 87b29c63b89be6feb05adbe05ebed0213aa67f9b | [
"MIT"
] | null | null | null | #ifndef TWITTERLIB_OBJECTS_TWEET_HPP
#define TWITTERLIB_OBJECTS_TWEET_HPP
#include <cstdint>
#include <memory>
#include <optional>
#include <string>
#include <vector>
#include <boost/property_tree/ptree_fwd.hpp>
#include <twitterlib/objects/coordinates.hpp>
#include <twitterlib/objects/entities.hpp>
#include <twitter... | 29.666667 | 71 | 0.735659 | zina1995 |
43b030b02c35419a24dbde02775f41b5961f40ae | 417 | cpp | C++ | libraries/chain/native-contract/native_contracts_apply.cpp | fanyang1988/codex.io | e7d82fa64e292301449c1e9b602cb6c073e0af0b | [
"MIT"
] | 10 | 2019-01-17T11:56:40.000Z | 2019-12-23T11:08:13.000Z | libraries/chain/native-contract/native_contracts_apply.cpp | fanyang1988/codex.io | e7d82fa64e292301449c1e9b602cb6c073e0af0b | [
"MIT"
] | null | null | null | libraries/chain/native-contract/native_contracts_apply.cpp | fanyang1988/codex.io | e7d82fa64e292301449c1e9b602cb6c073e0af0b | [
"MIT"
] | 6 | 2019-04-24T11:16:02.000Z | 2020-11-29T05:41:07.000Z | #include <eosio/chain/native-contract/native_contracts.hpp>
namespace eosio {
namespace chain{
void apply_native_contract( const name& action_name, apply_context& context ){
ilog("apply_native_contract ${act}", ("act", action_name));
if(action_name == N(hello)) {
context.act.data_as<hello>().apply(context... | 24.529412 | 78 | 0.719424 | fanyang1988 |
43b368a294fa24c7749a9fc9593db56c17526482 | 1,131 | cpp | C++ | hacker-rank/ctci-ransom-note/main.cpp | olegon/online-judges | 4ec27c8940ae492ce71aec0cc9ed944b094bce55 | [
"MIT"
] | 12 | 2017-11-30T11:10:45.000Z | 2022-01-26T23:49:19.000Z | hacker-rank/ctci-ransom-note/main.cpp | olegon/online-judges | 4ec27c8940ae492ce71aec0cc9ed944b094bce55 | [
"MIT"
] | null | null | null | hacker-rank/ctci-ransom-note/main.cpp | olegon/online-judges | 4ec27c8940ae492ce71aec0cc9ed944b094bce55 | [
"MIT"
] | 4 | 2017-11-25T03:13:32.000Z | 2019-08-16T08:08:10.000Z | /*
Hash Tables: Ransom Note
https://www.hackerrank.com/challenges/ctci-ransom-note
*/
#include <bits/stdc++.h>
using namespace std;
int main(void) {
ios::sync_with_stdio(false);
int M, N;
string word;
bool match = true;
unordered_map<string, int> magazine_words;
cin >> M >> N;
whi... | 19.5 | 62 | 0.537577 | olegon |
43b4f71dc2fe7e0ac7d0244b39026d11e8f11728 | 7,517 | cpp | C++ | src/Silice3D/core/game_engine.cpp | Tomius/Silice3D | 1ba69a61b16620079c5dec10fab558861d577a3c | [
"MIT"
] | null | null | null | src/Silice3D/core/game_engine.cpp | Tomius/Silice3D | 1ba69a61b16620079c5dec10fab558861d577a3c | [
"MIT"
] | null | null | null | src/Silice3D/core/game_engine.cpp | Tomius/Silice3D | 1ba69a61b16620079c5dec10fab558861d577a3c | [
"MIT"
] | 1 | 2021-12-27T15:49:04.000Z | 2021-12-27T15:49:04.000Z | // Copyright (c) Tamas Csala
#include <string>
#include <Silice3D/common/oglwrap.hpp>
#include <GLFW/glfw3.h>
#include <Silice3D/core/game_engine.hpp>
#include <Silice3D/gui/label.hpp>
#include <Silice3D/mesh/mesh_renderer.hpp>
#ifdef USE_DEBUG_CONTEXT
void APIENTRY DebugCallback(GLenum source, GLenum type, GLuint ... | 31.451883 | 97 | 0.693761 | Tomius |
43b69869b064edef321e978c45029d710db6aa02 | 1,122 | cpp | C++ | Ejercicios/Ejercicio Menu/Menu.cpp | JDaniel1010/cpp | ef067f3f0109812d7104cd8a21439d1ea5702afa | [
"MIT"
] | null | null | null | Ejercicios/Ejercicio Menu/Menu.cpp | JDaniel1010/cpp | ef067f3f0109812d7104cd8a21439d1ea5702afa | [
"MIT"
] | null | null | null | Ejercicios/Ejercicio Menu/Menu.cpp | JDaniel1010/cpp | ef067f3f0109812d7104cd8a21439d1ea5702afa | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int main(int argc, char** argv) {
int opcion = 0;
while (true)
{
system("cls");
cout << "Elija una opcion:" << endl;
cout << "=================" << endl;
cout << "1 - Ventas" << endl;
cout << "2 - Productos" << endl;
cout << "3 - Reportes" << endl;
... | 19.344828 | 43 | 0.335116 | JDaniel1010 |
43ba9e801fa620c760364ba5040507d51b2767ef | 4,214 | hpp | C++ | src/include/PCIBus.hpp | arthurmco/annOS | 0e8d275c6e2869f7b96a873edaeb4857fc485b24 | [
"MIT"
] | 6 | 2018-01-26T05:44:29.000Z | 2022-02-13T21:59:20.000Z | src/include/PCIBus.hpp | arthurmco/annOS | 0e8d275c6e2869f7b96a873edaeb4857fc485b24 | [
"MIT"
] | 9 | 2018-01-17T12:23:21.000Z | 2018-01-25T18:22:13.000Z | src/include/PCIBus.hpp | arthurmco/annOS | 0e8d275c6e2869f7b96a873edaeb4857fc485b24 | [
"MIT"
] | null | null | null | #pragma once
/**
* PCI bus driver
*
* Copyright (C) 2018 Arthur M
*/
#include <Device.hpp>
#include <stddef.h>
namespace annos {
/* Format of the query for sending into CONFIG_ADDRESS
When we send these, we can read/write CONFIG_DATA, and it will return/store
the data from/in the register 'reg... | 23.541899 | 82 | 0.683199 | arthurmco |
43c2975b432430f27b0eac47aab621b0a6983b93 | 7,290 | cpp | C++ | separate_components/NANO/LCD/Nano_LCD.cpp | nxtrung87/Heat_Controller | 0d0510259e28c87ebb8cfcafdc60848ddc899985 | [
"MIT"
] | 1 | 2020-09-28T20:08:37.000Z | 2020-09-28T20:08:37.000Z | separate_components/NANO/LCD/Nano_LCD.cpp | nxtrung87/Heat_Controller | 0d0510259e28c87ebb8cfcafdc60848ddc899985 | [
"MIT"
] | 2 | 2020-12-11T21:08:05.000Z | 2021-04-20T22:05:43.000Z | separate_components/NANO/LCD/Nano_LCD.cpp | nxtrung87/Heat_Controller | 0d0510259e28c87ebb8cfcafdc60848ddc899985 | [
"MIT"
] | 2 | 2020-12-01T12:13:21.000Z | 2020-12-11T20:03:59.000Z | /*------------------------------------------------------------*-
LCD - functions file
ARDUINO NANO
(c) Can Tho University 2019
version 1.00 - 26/07/2019
---------------------------------------------------------------
* PUBLIC FUNCTIONS CONTAIN:
*
*
* PRIVATE FUNCTIONS CONTAIN:
*
*
--------------... | 22.293578 | 131 | 0.544993 | nxtrung87 |
43c43d63f7e3e048295fea09a87244e92bcb5004 | 1,062 | cpp | C++ | SubareaNet/Zone_Process.cpp | kravitz/transims4 | ea0848bf3dc71440d54724bb3ecba3947b982215 | [
"NASA-1.3"
] | 2 | 2018-04-27T11:07:02.000Z | 2020-04-24T06:53:21.000Z | SubareaNet/Zone_Process.cpp | idkravitz/transims4 | ea0848bf3dc71440d54724bb3ecba3947b982215 | [
"NASA-1.3"
] | null | null | null | SubareaNet/Zone_Process.cpp | idkravitz/transims4 | ea0848bf3dc71440d54724bb3ecba3947b982215 | [
"NASA-1.3"
] | null | null | null | //*********************************************************
// Zone_Process.cpp - read the zone file
//*********************************************************
#include "SubareaNet.hpp"
#include "Zone_File.hpp"
#include "In_Polygon.hpp"
//---------------------------------------------------------
// Zone_Processing
... | 20.823529 | 60 | 0.475518 | kravitz |
43c84697810827d74eb44e881d1b27149b8add4d | 3,017 | cpp | C++ | src/utils/TimeLogger.cpp | wayrunner/uic-number-detector | e41140be9f6ec0a85843afa4a9160014738e6ba2 | [
"MIT"
] | null | null | null | src/utils/TimeLogger.cpp | wayrunner/uic-number-detector | e41140be9f6ec0a85843afa4a9160014738e6ba2 | [
"MIT"
] | null | null | null | src/utils/TimeLogger.cpp | wayrunner/uic-number-detector | e41140be9f6ec0a85843afa4a9160014738e6ba2 | [
"MIT"
] | null | null | null | //
// Created by fab on 28.11.16.
//
#include "TimeLogger.h"
#include <iostream>
#include <opencv2/core/core.hpp>
#include <cstdarg>
namespace std {
int TimeLogger::logLevel = 0;
vector<TimeLogPoint *> TimeLogger::timestamps;
unordered_map<string, TimeLogPoint> TimeLogger::stats;
void TimeLogger::log... | 31.103093 | 113 | 0.512098 | wayrunner |
43cca0297a220966d35e26c4ea9aa4b733773b4d | 130 | hh | C++ | inc/size.hh | KPO-2020-2021/zad4-AntoniJeziorski | b0ae62f994ff5b760457d637c0f131db05cfac33 | [
"Unlicense"
] | null | null | null | inc/size.hh | KPO-2020-2021/zad4-AntoniJeziorski | b0ae62f994ff5b760457d637c0f131db05cfac33 | [
"Unlicense"
] | null | null | null | inc/size.hh | KPO-2020-2021/zad4-AntoniJeziorski | b0ae62f994ff5b760457d637c0f131db05cfac33 | [
"Unlicense"
] | null | null | null | #pragma once
constexpr int SIZE = 3;
constexpr int FLOPS = 500;
constexpr double MAX_DIFF = 0.0000000001;
constexpr int CUBE = 8; | 21.666667 | 41 | 0.753846 | KPO-2020-2021 |
43d1e6d53da05fc488befce7ec2a5414d0bc1286 | 9,148 | cpp | C++ | tests/time_test.cpp | jmjatlanta/bitshares-fc | 8b571580c8646c487def1b4b517401e58fa82c9e | [
"Zlib",
"Apache-2.0",
"MIT",
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | tests/time_test.cpp | jmjatlanta/bitshares-fc | 8b571580c8646c487def1b4b517401e58fa82c9e | [
"Zlib",
"Apache-2.0",
"MIT",
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | tests/time_test.cpp | jmjatlanta/bitshares-fc | 8b571580c8646c487def1b4b517401e58fa82c9e | [
"Zlib",
"Apache-2.0",
"MIT",
"BSL-1.0",
"BSD-3-Clause"
] | null | null | null | #include <boost/test/unit_test.hpp>
#include <boost/version.hpp>
#include <fc/time.hpp>
#include <iostream>
using namespace fc;
BOOST_AUTO_TEST_SUITE(fc)
BOOST_AUTO_TEST_CASE(time_point_sec_test)
{
time_point_sec tp0(0);
BOOST_CHECK_EQUAL( "1970-01-01T00:00:00", tp0.to_iso_string() );
BOOST_CHECK_EQUAL( ... | 37.036437 | 109 | 0.661893 | jmjatlanta |
43d4d251cc9f65eb8ba931a348635c23dbfcb956 | 4,203 | cpp | C++ | Muriel/MuGame.cpp | MurielSoftware/Muriel | 169ab5a96e1cf70b47f7892906a3dca2d6481ae3 | [
"Apache-2.0"
] | 1 | 2017-03-01T12:15:27.000Z | 2017-03-01T12:15:27.000Z | Muriel/MuGame.cpp | MurielSoftware/Muriel | 169ab5a96e1cf70b47f7892906a3dca2d6481ae3 | [
"Apache-2.0"
] | 1 | 2017-03-01T12:19:17.000Z | 2017-03-01T12:19:52.000Z | Muriel/MuGame.cpp | MurielSoftware/Muriel | 169ab5a96e1cf70b47f7892906a3dca2d6481ae3 | [
"Apache-2.0"
] | null | null | null | #include "stdafx.h"
#include "MuGame.h"
#include "MuSceneManager.h"
#include "MuKeyboard.h"
#include "MuMouse.h"
#include "MuFirstPersonCamera.h"
#include "MuOrbitCamera.h"
#include "MuTimer.h"
#include "MuBox.h"
#include "MuShaderManager.h"
#include "MuLog.h"
#include "MuBaseMaterial.h"
#include "MuTexture... | 31.365672 | 124 | 0.70069 | MurielSoftware |
43d6b920bd3cb0f333122790a9a8e358c59551ce | 3,590 | cc | C++ | Boss2D/addon/webrtc-jumpingyang001_for_boss/modules/remote_bitrate_estimator/test/estimators/max_bandwidth_filter.cc | Yash-Wasalwar-07/Boss2D | 37c5ba0f1c83c89810359a207cabfa0905f803d2 | [
"MIT"
] | null | null | null | Boss2D/addon/webrtc-jumpingyang001_for_boss/modules/remote_bitrate_estimator/test/estimators/max_bandwidth_filter.cc | Yash-Wasalwar-07/Boss2D | 37c5ba0f1c83c89810359a207cabfa0905f803d2 | [
"MIT"
] | null | null | null | Boss2D/addon/webrtc-jumpingyang001_for_boss/modules/remote_bitrate_estimator/test/estimators/max_bandwidth_filter.cc | Yash-Wasalwar-07/Boss2D | 37c5ba0f1c83c89810359a207cabfa0905f803d2 | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2017 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | 41.264368 | 188 | 0.739276 | Yash-Wasalwar-07 |
43d8b3f42cdf842933785e790c2a8ffbfa9c9532 | 419 | hpp | C++ | public/wutils/wutils.hpp | bachelorwang/wutils | cc8bab4535bca6b1f83503252941db2755e9a434 | [
"MIT"
] | null | null | null | public/wutils/wutils.hpp | bachelorwang/wutils | cc8bab4535bca6b1f83503252941db2755e9a434 | [
"MIT"
] | null | null | null | public/wutils/wutils.hpp | bachelorwang/wutils | cc8bab4535bca6b1f83503252941db2755e9a434 | [
"MIT"
] | null | null | null | #pragma once
#include "wutils/pod.hpp"
namespace wutils {
class non_copy_assign {
public:
non_copy_assign() = default;
virtual ~non_copy_assign() = default;
non_copy_assign(const non_copy_assign&) = delete;
non_copy_assign& operator=(const non_copy_assign&) = delete;
non_copy_assign(const non_copy_assign... | 22.052632 | 62 | 0.742243 | bachelorwang |
43db0f6e392801efdba0506323ec3919d5f4a90c | 649 | cpp | C++ | rh-/rh-/Utility.cpp | ShiroixD/Rh- | 33db74b21bb9a7255d72b14afd6746f142c1784b | [
"Apache-2.0"
] | null | null | null | rh-/rh-/Utility.cpp | ShiroixD/Rh- | 33db74b21bb9a7255d72b14afd6746f142c1784b | [
"Apache-2.0"
] | null | null | null | rh-/rh-/Utility.cpp | ShiroixD/Rh- | 33db74b21bb9a7255d72b14afd6746f142c1784b | [
"Apache-2.0"
] | null | null | null | #include "pch.h"
#include "Utility.h"
#include <algorithm>
#include <exception>
#include <Shlwapi.h>
#include <fstream>
void Utility::LoadBinaryFile(const std::wstring& filename, std::vector<char>& data)
{
std::ifstream file(filename.c_str(), std::ios::binary);
if (file.bad())
{
throw std::exception("Could not op... | 20.28125 | 83 | 0.664099 | ShiroixD |
43dbeb057df9dfe3a537b394bbffb16807aca014 | 21,268 | hpp | C++ | falcon/preprocessor/variadic/arg.hpp | jonathanpoelen/falcon | 5b60a39787eedf15b801d83384193a05efd41a89 | [
"MIT"
] | 2 | 2018-02-02T14:19:59.000Z | 2018-05-13T02:48:24.000Z | falcon/preprocessor/variadic/arg.hpp | jonathanpoelen/falcon | 5b60a39787eedf15b801d83384193a05efd41a89 | [
"MIT"
] | null | null | null | falcon/preprocessor/variadic/arg.hpp | jonathanpoelen/falcon | 5b60a39787eedf15b801d83384193a05efd41a89 | [
"MIT"
] | null | null | null | #ifndef _FALCON_PREPROCESSOR_VARIADIC_ARG_HPP
#define _FALCON_PREPROCESSOR_VARIADIC_ARG_HPP
#include <boost/preprocessor/cat.hpp>
#define FALCON_PP_VARIADIC_ARG_0(...)
#define FALCON_PP_VARIADIC_ARG_1(a, ...) a
#define FALCON_PP_VARIADIC_ARG_2(a, ...) FALCON_PP_VARIADIC_ARG_1(__VA_ARGS__)
#define FALCON_PP_VARIADIC_A... | 79.358209 | 82 | 0.841405 | jonathanpoelen |
43dccfd8b1fc527cc6616c290c18a9e65fb4d778 | 547 | cpp | C++ | Sorting algorithms/InsertionSort.cpp | nia-flo/FMI-DataStructuresAndAlgorithms | 1040b14e0b008015a4a035c0db19c7b22d72ba79 | [
"MIT"
] | null | null | null | Sorting algorithms/InsertionSort.cpp | nia-flo/FMI-DataStructuresAndAlgorithms | 1040b14e0b008015a4a035c0db19c7b22d72ba79 | [
"MIT"
] | null | null | null | Sorting algorithms/InsertionSort.cpp | nia-flo/FMI-DataStructuresAndAlgorithms | 1040b14e0b008015a4a035c0db19c7b22d72ba79 | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
void insertionSort(int array[], int size)
{
for (int i = 1; i < size; i++)
{
int position;
for (position = 0; position < i && array[position] < array[i]; position++) {}
int lastElement = array[i];
for (int j = position; j <= i; j++)
{
int buffer = array[j];
... | 16.088235 | 79 | 0.546618 | nia-flo |
43dd45ab8b7e910e7555ebdc0a7dcc95a1114311 | 16,899 | cpp | C++ | sources/test-core/scheduler.cpp | ucpu/cage | c7abf329d84a81a40ff11f93c6ce88290bb898ac | [
"MIT"
] | 23 | 2018-03-18T14:28:26.000Z | 2022-03-25T20:32:29.000Z | sources/test-core/scheduler.cpp | ucpu/cage | c7abf329d84a81a40ff11f93c6ce88290bb898ac | [
"MIT"
] | 8 | 2018-08-12T20:14:34.000Z | 2021-09-04T21:24:19.000Z | sources/test-core/scheduler.cpp | ucpu/cage | c7abf329d84a81a40ff11f93c6ce88290bb898ac | [
"MIT"
] | 2 | 2019-11-03T17:11:51.000Z | 2021-03-31T02:05:33.000Z | #include "main.h"
#include <cage-core/scheduler.h>
#include <cage-core/timer.h>
#include <cage-core/math.h> // randomRange
#include <cage-core/concurrent.h> // threadSleep
namespace
{
void inc(uint32 *ptr)
{
(*ptr)++;
}
void incRandomSleep(uint32 *ptr)
{
(*ptr)++;
threadSleep(randomRange(15000, 25000)); //... | 24.455861 | 101 | 0.634535 | ucpu |
43e782c0629339c978a86c4bf1bfcddc238b6c2f | 318 | cpp | C++ | tests/testimpl_plugin1.cpp | antonp/libfircc | 87cb60fb404120161c41cd6d62454f7653de4165 | [
"BSD-2-Clause"
] | 3 | 2015-05-17T14:55:39.000Z | 2017-10-18T20:57:58.000Z | tests/testimpl_plugin1.cpp | antonp/libfircc | 87cb60fb404120161c41cd6d62454f7653de4165 | [
"BSD-2-Clause"
] | null | null | null | tests/testimpl_plugin1.cpp | antonp/libfircc | 87cb60fb404120161c41cd6d62454f7653de4165 | [
"BSD-2-Clause"
] | null | null | null | #include <fircc/networkfactory.h>
#include <iostream>
extern "C" unsigned int pluginInit(anp::irc::NetworkFactory &networkFactory,
void *appContext)
{
std::cout << "p1 i" << std::endl;
return 0;
}
extern "C" void pluginDeinit()
{
std::cout << "p1 d" << std::endl;
}
| 17.666667 | 76 | 0.572327 | antonp |
43e8e70c91ac07a5d18893654bd304cb9940261b | 2,761 | cpp | C++ | Gems/Atom/Feature/Common/Code/Source/PostProcessing/EditorModeFeedbackPassBase.cpp | Jackerty/o3de | f521a288cf020d166949c1dc243c4938539b5244 | [
"Apache-2.0",
"MIT"
] | 1 | 2022-03-28T08:06:58.000Z | 2022-03-28T08:06:58.000Z | Gems/Atom/Feature/Common/Code/Source/PostProcessing/EditorModeFeedbackPassBase.cpp | Jackerty/o3de | f521a288cf020d166949c1dc243c4938539b5244 | [
"Apache-2.0",
"MIT"
] | null | null | null | Gems/Atom/Feature/Common/Code/Source/PostProcessing/EditorModeFeedbackPassBase.cpp | Jackerty/o3de | f521a288cf020d166949c1dc243c4938539b5244 | [
"Apache-2.0",
"MIT"
] | null | null | null | /*
* Copyright (c) Contributors to the Open 3D Engine Project.
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#include <PostProcessing/EditorModeFeedbackPassBase.h>
namespace AZ
{
namespace Render
{
... | 36.813333 | 123 | 0.691054 | Jackerty |
43ea41c0064170bbb5fe1a96fb0aae36dcd0ef52 | 1,059 | cpp | C++ | IncQol/hacklib/ExeFile.cpp | pmartschei/Gw2Addon | a5b1c8f1fd7d47f0b4f9706a658dbc56f6de96ca | [
"MIT"
] | null | null | null | IncQol/hacklib/ExeFile.cpp | pmartschei/Gw2Addon | a5b1c8f1fd7d47f0b4f9706a658dbc56f6de96ca | [
"MIT"
] | null | null | null | IncQol/hacklib/ExeFile.cpp | pmartschei/Gw2Addon | a5b1c8f1fd7d47f0b4f9706a658dbc56f6de96ca | [
"MIT"
] | null | null | null | #include "ExeFile.h"
#include <fstream>
#include <algorithm>
bool hl::ExeFile::loadFromFile(const std::string& path)
{
std::ifstream file(path, std::ios::binary | std::ios::ate);
size_t size = (size_t)file.tellg();
file.seekg(0, std::ios::beg);
if (size == (size_t)-1)
{
return false;
}... | 19.254545 | 63 | 0.588291 | pmartschei |
43ee43d2114dd29f5fa606afd8b5b827bd544593 | 4,387 | cpp | C++ | src/xcore/gamepad.cpp | ZanyXDev/Xpeccy | fcc395b0f90447ce0c62723c25bd5452bd4d9ca3 | [
"MIT"
] | 54 | 2015-01-09T21:13:28.000Z | 2022-03-07T11:40:58.000Z | src/xcore/gamepad.cpp | ZanyXDev/Xpeccy | fcc395b0f90447ce0c62723c25bd5452bd4d9ca3 | [
"MIT"
] | 115 | 2015-01-07T09:42:54.000Z | 2022-02-22T23:56:25.000Z | src/xcore/gamepad.cpp | ZanyXDev/Xpeccy | fcc395b0f90447ce0c62723c25bd5452bd4d9ca3 | [
"MIT"
] | 13 | 2015-01-05T22:33:28.000Z | 2021-11-17T19:55:13.000Z | #include <stdio.h>
#include "gamepad.h"
typedef struct {
char ch;
int val;
} xCharDir;
const xCharDir kjoyChars[] = {
{'U', XJ_UP},
{'D', XJ_DOWN},
{'L', XJ_LEFT},
{'R', XJ_RIGHT},
{'F', XJ_FIRE},
{'2', XJ_BUT2},
{'3', XJ_BUT3},
{'4', XJ_BUT4},
{'-', XJ_NONE}
};
const xCharDir kmouChars[] = {
{'U', XM_U... | 21.4 | 69 | 0.556189 | ZanyXDev |
43f4ab130c835008dbe0f246c6aec71e5dceafbe | 5,320 | cpp | C++ | src/networkmanager.cpp | voltrare/Tachidesk-qtui | 84bc2c3697ca92bdb0f2753dc722808cfd89d345 | [
"MIT"
] | null | null | null | src/networkmanager.cpp | voltrare/Tachidesk-qtui | 84bc2c3697ca92bdb0f2753dc722808cfd89d345 | [
"MIT"
] | null | null | null | src/networkmanager.cpp | voltrare/Tachidesk-qtui | 84bc2c3697ca92bdb0f2753dc722808cfd89d345 | [
"MIT"
] | null | null | null | #include <QNetworkRequest>
#include <QJsonParseError>
#include <QJsonDocument>
#include <QJsonObject>
#include <QJsonArray>
#include <QDesktopServices>
//#include <QNetworkConfiguration>
//#include <QNetworkConfigurationManager>
#include <QNetworkInterface>
#include <QEventLoop>
#include <QUrlQuery>
#include "networkm... | 24.181818 | 78 | 0.448684 | voltrare |
43fa05c8b18dd2b905dc117d1b1291f5c7eedea3 | 268 | cpp | C++ | Userland/Utilities/pwd.cpp | r00ster91/serenity | f8387dea2689d564aff612bfd4ec5086393fac35 | [
"BSD-2-Clause"
] | 650 | 2019-03-01T13:33:03.000Z | 2022-03-15T09:26:44.000Z | Userland/Utilities/pwd.cpp | r00ster91/serenity | f8387dea2689d564aff612bfd4ec5086393fac35 | [
"BSD-2-Clause"
] | 51 | 2019-04-03T08:32:38.000Z | 2019-05-19T13:44:28.000Z | Userland/Utilities/pwd.cpp | r00ster91/serenity | f8387dea2689d564aff612bfd4ec5086393fac35 | [
"BSD-2-Clause"
] | 33 | 2019-03-26T05:47:59.000Z | 2021-11-22T18:18:45.000Z | /*
* Copyright (c) 2021, the SerenityOS developers.
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
int main(int, char**)
{
char* cwd = getcwd(nullptr, 0);
puts(cwd);
free(cwd);
return 0;
}
| 14.888889 | 49 | 0.615672 | r00ster91 |
43fac624e0d8f86f68cedf24c9b03f2f10fed95a | 486 | hpp | C++ | libs/fnd/static_string/include/bksge/fnd/static_string/static_string.hpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 4 | 2018-06-10T13:35:32.000Z | 2021-06-03T14:27:41.000Z | libs/fnd/static_string/include/bksge/fnd/static_string/static_string.hpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 566 | 2017-01-31T05:36:09.000Z | 2022-02-09T05:04:37.000Z | libs/fnd/static_string/include/bksge/fnd/static_string/static_string.hpp | myoukaku/bksge | 0f8b60e475a3f1709723906e4796b5e60decf06e | [
"MIT"
] | 1 | 2018-07-05T04:40:53.000Z | 2018-07-05T04:40:53.000Z | /**
* @file static_string.hpp
*
* @brief static_string の定義
*
* @author myoukaku
*/
#ifndef BKSGE_FND_STATIC_STRING_STATIC_STRING_HPP
#define BKSGE_FND_STATIC_STRING_STATIC_STRING_HPP
#include <bksge/fnd/static_string/basic_static_string.hpp>
#include <cstddef>
namespace bksge
{
template <std... | 20.25 | 66 | 0.753086 | myoukaku |
43fca1410f3d20bc02b27934c104873e5f90a9a3 | 2,889 | cpp | C++ | src/system_win32/b3ComboBox.cpp | stmork/blz3 | 275e24681cb1493319cd0a50e691feb86182f6f0 | [
"BSD-3-Clause"
] | null | null | null | src/system_win32/b3ComboBox.cpp | stmork/blz3 | 275e24681cb1493319cd0a50e691feb86182f6f0 | [
"BSD-3-Clause"
] | null | null | null | src/system_win32/b3ComboBox.cpp | stmork/blz3 | 275e24681cb1493319cd0a50e691feb86182f6f0 | [
"BSD-3-Clause"
] | 1 | 2022-01-07T15:58:38.000Z | 2022-01-07T15:58:38.000Z | /*
**
** $Filename: b3ComboBox.cpp $
** $Release: Dortmund 2001 $
** $Revision$
** $Date$
** $Author$
** $Developer: Steffen A. Mork $
**
** Blizzard III - Combobox handling
**
** (C) Copyright 2001 Steffen A. Mork
** All Rights Reserved
**
**
**
**
*/
/**********************************************************... | 23.112 | 86 | 0.507442 | stmork |
43fd43b0e8d37ba1f7278bc9034bb21ff4599c1d | 4,749 | cpp | C++ | CPlusPlus-Class/04 - Exercice - OOP - Fruits II/04 - Exercice - OOP - Fruits II.cpp | StudioAlbert/SAE921-GRP4100-CPlusPlus-Class | f90b82ab625d5d59201be5240fd02141badeae76 | [
"MIT"
] | null | null | null | CPlusPlus-Class/04 - Exercice - OOP - Fruits II/04 - Exercice - OOP - Fruits II.cpp | StudioAlbert/SAE921-GRP4100-CPlusPlus-Class | f90b82ab625d5d59201be5240fd02141badeae76 | [
"MIT"
] | null | null | null | CPlusPlus-Class/04 - Exercice - OOP - Fruits II/04 - Exercice - OOP - Fruits II.cpp | StudioAlbert/SAE921-GRP4100-CPlusPlus-Class | f90b82ab625d5d59201be5240fd02141badeae76 | [
"MIT"
] | null | null | null | // 04 - Exercice - OOP - Fruits.cpp : Ce fichier contient la fonction 'main'. L'exécution du programme commence et se termine à cet endroit.
//
#include <iostream>
#include <vector>
#include "AppleTree.h"
#include "CherryTree.h"
#include "PearTree.h"
std::vector<FruitTree*> initTrees(int nbTrees)
{
std::vector... | 28.100592 | 140 | 0.500948 | StudioAlbert |
43fde4c3d0d12a133a1b7d53875889a8916e53f2 | 656 | cpp | C++ | Lecture_Learning/3/5_calculator.cpp | Swapnil-Singh-99/CPP-DSA-Apni-Kaksha | e31d2b4926a3fba7ebeff07419e1ded68c8c73f7 | [
"MIT"
] | 1 | 2021-10-11T02:55:05.000Z | 2021-10-11T02:55:05.000Z | Lecture_Learning/3/5_calculator.cpp | Swapnil-Singh-99/CPP-DSA-Apni-Kaksha | e31d2b4926a3fba7ebeff07419e1ded68c8c73f7 | [
"MIT"
] | null | null | null | Lecture_Learning/3/5_calculator.cpp | Swapnil-Singh-99/CPP-DSA-Apni-Kaksha | e31d2b4926a3fba7ebeff07419e1ded68c8c73f7 | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int main()
{
// float because division can come in decimal points
float n1, n2;
// this will indicate the sign we input
char a;
cin >> n1 >> a >> n2;
// this is a switch case explained
switch (a)
{
case '+':
cout << n1 + n2<<endl;
... | 21.16129 | 66 | 0.507622 | Swapnil-Singh-99 |
a102e37985992acbbfcda6d26d80db686768876b | 780 | cpp | C++ | URI Online Judge/1581 - Conversa Internacional/uri-1581.cpp | MarcoRhayden/Uri-Online-Judge | 92bed9fd0e5455686d54500f8e36588d6518f1b3 | [
"MIT"
] | 1 | 2019-03-29T11:52:44.000Z | 2019-03-29T11:52:44.000Z | URI Online Judge/1581 - Conversa Internacional/uri-1581.cpp | MarcoRhayden/Uri-Online-Judge | 92bed9fd0e5455686d54500f8e36588d6518f1b3 | [
"MIT"
] | null | null | null | URI Online Judge/1581 - Conversa Internacional/uri-1581.cpp | MarcoRhayden/Uri-Online-Judge | 92bed9fd0e5455686d54500f8e36588d6518f1b3 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
void which(vector<string> language) {
vector<string> dif;
for (int j = 0; j < language.size(); ++j) {
if ( !(find(dif.begin(), dif.end(), language[j]) != dif.end()) ) {
dif.push_back(language[j]);
}
}
if (dif.size() > 1... | 22.941176 | 75 | 0.452564 | MarcoRhayden |
a10cf3de6805ca9fa3da3c85ed57f0bf32b15eb3 | 30,232 | cpp | C++ | src/services/pcn-katran/src/api/KatranApiImpl.cpp | Morpheus-compiler/polycube | 3e1285bb1ebcb5e609097b2c7750a2741b466f69 | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2022-01-24T07:36:56.000Z | 2022-01-24T07:36:56.000Z | src/services/pcn-katran/src/api/KatranApiImpl.cpp | Morpheus-compiler/polycube | 3e1285bb1ebcb5e609097b2c7750a2741b466f69 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | src/services/pcn-katran/src/api/KatranApiImpl.cpp | Morpheus-compiler/polycube | 3e1285bb1ebcb5e609097b2c7750a2741b466f69 | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | /**
* katran API generated from katran.yang
*
* NOTE: This file is auto generated by polycube-codegen
* https://github.com/polycube-network/polycube-codegen
*/
/* Do not edit this file manually */
#include "KatranApiImpl.h"
namespace polycube {
namespace service {
namespace api {
using namespace polycube::service... | 22.213079 | 202 | 0.706305 | Morpheus-compiler |
e161b1d9449e85c6bdefc2f599f77fd9b2c6ca3c | 27,520 | cpp | C++ | src/3rdParty/ogdf-2020/src/ogdf/fileformats/GmlParser.cpp | MichaelTiernan/qvge | aff978d8592e07e24af4b8bab7c3204a7e7fb3fb | [
"MIT"
] | null | null | null | src/3rdParty/ogdf-2020/src/ogdf/fileformats/GmlParser.cpp | MichaelTiernan/qvge | aff978d8592e07e24af4b8bab7c3204a7e7fb3fb | [
"MIT"
] | null | null | null | src/3rdParty/ogdf-2020/src/ogdf/fileformats/GmlParser.cpp | MichaelTiernan/qvge | aff978d8592e07e24af4b8bab7c3204a7e7fb3fb | [
"MIT"
] | null | null | null | /** \file
* \brief Implementation of GML parser (class GmlParser)
* (used for parsing and reading GML files)
*
* \author Carsten Gutwenger
*
* \par License:
* This file is part of the Open Graph Drawing Framework (OGDF).
*
* \par
* Copyright (C)<br>
* See README.md in the OGDF root directory for details.
*
... | 30.782998 | 154 | 0.676235 | MichaelTiernan |
e166262a85012869482f906eda1f45111b7c474a | 974 | hpp | C++ | game.hpp | sl424/hunting-game | f79bea39a061c8b8cfbf430ab0d73cd6539ddb0f | [
"Apache-2.0"
] | null | null | null | game.hpp | sl424/hunting-game | f79bea39a061c8b8cfbf430ab0d73cd6539ddb0f | [
"Apache-2.0"
] | null | null | null | game.hpp | sl424/hunting-game | f79bea39a061c8b8cfbf430ab0d73cd6539ddb0f | [
"Apache-2.0"
] | null | null | null | /*****************************************
* Program Filename: game.hpp
* Author: Chewie Lin
* Date: 12 Mar 2016
* Description: game class prototypes
*****************************************/
#ifndef GAME_HPP
#define GAME_HPP
#include "state.hpp"
#include "campground.hpp"
#include "space.hpp"
#include <algorithm>
#inc... | 20.723404 | 42 | 0.631417 | sl424 |
e166913b8f1f0d866cd5deb4162600fa2a6090dc | 5,879 | cpp | C++ | source/backend/vulkan/execution/VulkanUnary.cpp | foreverlms/MNN | 8f9d3e3331fb54382bb61ac3a2087637a161fec5 | [
"Apache-2.0"
] | 6,958 | 2019-05-06T02:38:02.000Z | 2022-03-31T18:08:48.000Z | source/backend/vulkan/execution/VulkanUnary.cpp | foreverlms/MNN | 8f9d3e3331fb54382bb61ac3a2087637a161fec5 | [
"Apache-2.0"
] | 1,775 | 2019-05-06T04:40:19.000Z | 2022-03-30T15:39:24.000Z | source/backend/vulkan/execution/VulkanUnary.cpp | foreverlms/MNN | 8f9d3e3331fb54382bb61ac3a2087637a161fec5 | [
"Apache-2.0"
] | 1,511 | 2019-05-06T02:38:05.000Z | 2022-03-31T16:59:39.000Z | //
// VulkanUnary.cpp
// MNN
//
// Created by MNN on 2019/01/31.
// Copyright © 2018, Alibaba Group Holding Limited
//
#include "VulkanUnary.hpp"
#include "core/Macro.h"
#include "core/TensorUtils.hpp"
namespace MNN {
struct Param {
ivec4 size;
};
VulkanUnary::VulkanUnary(const std::string& midType, Backend... | 39.722973 | 164 | 0.646368 | foreverlms |
e1743b6655458e4e9dc03b5abc9c6d94256fda22 | 1,296 | cpp | C++ | Source/ChessGame/ChessGameState.cpp | larsmagnusny/ChessGame | 20c296709c009d86b7eda47848993037c122c6f8 | [
"MIT"
] | 2 | 2018-06-25T00:48:03.000Z | 2019-03-28T19:19:32.000Z | Source/ChessGame/ChessGameState.cpp | larsmagnusny/ChessGame | 20c296709c009d86b7eda47848993037c122c6f8 | [
"MIT"
] | null | null | null | Source/ChessGame/ChessGameState.cpp | larsmagnusny/ChessGame | 20c296709c009d86b7eda47848993037c122c6f8 | [
"MIT"
] | 1 | 2018-10-04T08:31:19.000Z | 2018-10-04T08:31:19.000Z | // Fill out your copyright notice in the Description page of Project Settings.
#include "ChessGameState.h"
#include "Net/UnrealNetwork.h"
#include "ChessGameGameModeBase.h"
#include "Kismet/GameplayStatics.h"
#include "Engine/World.h"
#include "ChessBoardActor.h"
AChessGameState::AChessGameState()
{
PrimaryActorTick... | 23.142857 | 141 | 0.675926 | larsmagnusny |
e17745cd48b6ec707dda032761e7c6e41856e9b6 | 3,106 | cpp | C++ | 3rdparty/g2o/unit_test/slam2d/io_slam2d.cpp | Refstop/VSLAM_Example | 060b9419f79f035d1c9ebfa75ad46e2e9a53e992 | [
"MIT"
] | null | null | null | 3rdparty/g2o/unit_test/slam2d/io_slam2d.cpp | Refstop/VSLAM_Example | 060b9419f79f035d1c9ebfa75ad46e2e9a53e992 | [
"MIT"
] | null | null | null | 3rdparty/g2o/unit_test/slam2d/io_slam2d.cpp | Refstop/VSLAM_Example | 060b9419f79f035d1c9ebfa75ad46e2e9a53e992 | [
"MIT"
] | null | null | null | // g2o - General Graph Optimization
// Copyright (C) 2014 R. Kuemmerle, G. Grisetti, W. Burgard
// 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 r... | 36.116279 | 80 | 0.760464 | Refstop |
e178d1b8f2918d4fa69630ef681f36ac53e9c2b7 | 1,590 | hpp | C++ | Kreator/implementation/Platform/OpenGL/OpenGLFrameBuffer.hpp | ashish1009/Kreator | 68ff5073faef22ade314772a5127dd1cc98060b7 | [
"Apache-2.0"
] | null | null | null | Kreator/implementation/Platform/OpenGL/OpenGLFrameBuffer.hpp | ashish1009/Kreator | 68ff5073faef22ade314772a5127dd1cc98060b7 | [
"Apache-2.0"
] | null | null | null | Kreator/implementation/Platform/OpenGL/OpenGLFrameBuffer.hpp | ashish1009/Kreator | 68ff5073faef22ade314772a5127dd1cc98060b7 | [
"Apache-2.0"
] | null | null | null | //
// OpenGLFrameBuffer.hpp
// Kreator
//
// Created by iKan on 11/04/22.
//
#pragma once
#include <Renderer/Graphics/FrameBuffer.hpp>
namespace Kreator {
/// Implementation to store Open GL Framebuffer
class OpenGLFrameBuffer : public FrameBuffer {
public:
OpenGLFrameBuffer(const Specifi... | 30.576923 | 108 | 0.669811 | ashish1009 |
e17aa425a28c86e7b6e4fc2893051f29342de054 | 3,270 | cpp | C++ | electron/renderer/api/ApiRendererIpc.cpp | qdtroy/miniblink49 | 11268d84190d3e9f94de6152e58b03eb8ea7f00f | [
"MIT"
] | 1 | 2020-03-24T17:14:04.000Z | 2020-03-24T17:14:04.000Z | electron/renderer/api/ApiRendererIpc.cpp | qdtroy/miniblink49 | 11268d84190d3e9f94de6152e58b03eb8ea7f00f | [
"MIT"
] | null | null | null | electron/renderer/api/ApiRendererIpc.cpp | qdtroy/miniblink49 | 11268d84190d3e9f94de6152e58b03eb8ea7f00f | [
"MIT"
] | 1 | 2020-03-06T16:31:02.000Z | 2020-03-06T16:31:02.000Z |
#include "node/include/nodeblink.h"
#include "browser/api/ApiWebContents.h"
#include "common/NodeRegisterHelp.h"
#include "common/api/EventEmitter.h"
#include "gin/dictionary.h"
#include "gin/arguments.h"
#include "gin/object_template_builder.h"
#include "wke.h"
#include "base/values.h"
#include <xstring>
... | 36.741573 | 156 | 0.670948 | qdtroy |
e17b895f87f813de6af20171589ba000509b8d14 | 16,632 | cpp | C++ | src/GUI-qt/display/HtmlHelpCollection.cpp | OpenCMISS-Dependencies/cube | bb425e6f75ee5dbdf665fa94b241b48deee11505 | [
"Cube"
] | null | null | null | src/GUI-qt/display/HtmlHelpCollection.cpp | OpenCMISS-Dependencies/cube | bb425e6f75ee5dbdf665fa94b241b48deee11505 | [
"Cube"
] | null | null | null | src/GUI-qt/display/HtmlHelpCollection.cpp | OpenCMISS-Dependencies/cube | bb425e6f75ee5dbdf665fa94b241b48deee11505 | [
"Cube"
] | 2 | 2016-09-19T00:16:05.000Z | 2021-03-29T22:06:45.000Z | /****************************************************************************
** CUBE http://www.scalasca.org/ **
*****************************************************************************
** Copyright (c) 1998-2016 **
** Fors... | 46.072022 | 220 | 0.542148 | OpenCMISS-Dependencies |
e17c3471722d72dde9c750f5544b4ad40854f52b | 160 | cpp | C++ | Alhythm/src/Main.cpp | Nao-Shirotsu/Siv3D_Alhythm | d602832e535831a07d0e7c3fb589caa5d356aaf2 | [
"MIT"
] | 4 | 2018-12-19T12:36:42.000Z | 2021-05-24T06:13:33.000Z | Alhythm/src/Main.cpp | Nao-Shirotsu/Siv3D_Alhythm | d602832e535831a07d0e7c3fb589caa5d356aaf2 | [
"MIT"
] | 1 | 2019-01-07T03:04:11.000Z | 2019-01-07T03:04:11.000Z | Alhythm/src/Main.cpp | Nao-Shirotsu/Siv3D_Alhythm | d602832e535831a07d0e7c3fb589caa5d356aaf2 | [
"MIT"
] | 2 | 2020-04-15T06:15:51.000Z | 2021-12-16T02:22:12.000Z | #include "Game_Core.h"
void Main(){
Game::Core gamecore;
while( gamecore.IsGameEnd() ){
gamecore.Update();
gamecore.Draw();
}
return;
}
| 12.307692 | 32 | 0.59375 | Nao-Shirotsu |
e17d5f887f9e0141f6e82ff1c5765ef092b8cb1a | 330 | cpp | C++ | src/Clock.cpp | DanielMBytes/2D_PlatformerGame_Dino | d19dde02e4de22831567844a8524e00643d68f4c | [
"MIT"
] | null | null | null | src/Clock.cpp | DanielMBytes/2D_PlatformerGame_Dino | d19dde02e4de22831567844a8524e00643d68f4c | [
"MIT"
] | null | null | null | src/Clock.cpp | DanielMBytes/2D_PlatformerGame_Dino | d19dde02e4de22831567844a8524e00643d68f4c | [
"MIT"
] | null | null | null | //
// Created by Daniel M Brasil on 6/29/20.
//
#include "Clock.h"
#include <SDL2/SDL.h>
Clock *Clock::s_Instance = nullptr;
void Clock::tick() {
deltaTime = (SDL_GetTicks() - lastTime) * (TARGET_FPS / 1000.0f);
if (deltaTime > TARGET_DELTATIME)
deltaTime = TARGET_DELTATIME;
lastTime = SDL_GetT... | 18.333333 | 69 | 0.648485 | DanielMBytes |
e1836fb4523033688d6616172d2fcd33beec798b | 3,508 | cpp | C++ | Template Codes/Graph/BPM/Hopcroft.cpp | fire-tornado/competitive-programming-1 | 807834e50c5ca2fa2c7ee4cc0aa7cadbb29c9ded | [
"MIT"
] | 37 | 2018-05-27T16:11:00.000Z | 2021-07-04T17:12:40.000Z | Template Codes/Graph/BPM/Hopcroft.cpp | SajibTalukder2k16/competitive-programming | 9932371c937be34d29d495e9a39ecdcad5c1b448 | [
"MIT"
] | null | null | null | Template Codes/Graph/BPM/Hopcroft.cpp | SajibTalukder2k16/competitive-programming | 9932371c937be34d29d495e9a39ecdcad5c1b448 | [
"MIT"
] | 22 | 2018-11-07T11:50:25.000Z | 2021-05-22T15:35:57.000Z | #include<bits/stdc++.h>
using namespace std;
#define fRead(x) freopen(x,"r",stdin)
#define fWrite(x) freopen (x,"w",stdout)
#define LL long long
#define ULL unsigned long long
#define ff first
#define ss second
#define pb push_back
#define ... | 24.879433 | 87 | 0.459521 | fire-tornado |
e184818be4fd2ae35d7e62252a775505791c1368 | 3,951 | cpp | C++ | lcd_ui.cpp | sicreative/mbed-os-recorder | 6faae47d838e0b8801a04d067083b8fe0e0ccaa4 | [
"Apache-2.0"
] | null | null | null | lcd_ui.cpp | sicreative/mbed-os-recorder | 6faae47d838e0b8801a04d067083b8fe0e0ccaa4 | [
"Apache-2.0"
] | null | null | null | lcd_ui.cpp | sicreative/mbed-os-recorder | 6faae47d838e0b8801a04d067083b8fe0e0ccaa4 | [
"Apache-2.0"
] | null | null | null | /*
* lcd_ui.cpp
*
* class for handling lcd display
*
* Author: sc lee
*
* Licensed under the Apache License, Version 2.0
*/
#include <stdio.h>
#include <stdarg.h>
#include "lcd_ui.h"
#include "mbed.h"
bool UART_OUTPUT = false;
EventQueue lcd_queue(16 * EVENTS_EVENT_SIZE);
Thread lcd_thread( osPriorityN... | 13.71875 | 76 | 0.674007 | sicreative |
e190ed31e086bc5530324e2acd0e44e540457e58 | 1,744 | hpp | C++ | libs/network/include/network/service/error_codes.hpp | devjsc/ledger-1 | 2aa68e05b9f9c10a9971fc8ddf4848695511af3c | [
"Apache-2.0"
] | 3 | 2019-07-11T08:49:27.000Z | 2021-09-07T16:49:15.000Z | libs/network/include/network/service/error_codes.hpp | devjsc/ledger-1 | 2aa68e05b9f9c10a9971fc8ddf4848695511af3c | [
"Apache-2.0"
] | null | null | null | libs/network/include/network/service/error_codes.hpp | devjsc/ledger-1 | 2aa68e05b9f9c10a9971fc8ddf4848695511af3c | [
"Apache-2.0"
] | 2 | 2019-11-13T10:55:24.000Z | 2019-11-13T11:37:09.000Z | #pragma once
//------------------------------------------------------------------------------
//
// Copyright 2018-2019 Fetch.AI Limited
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the Licen... | 40.55814 | 91 | 0.672592 | devjsc |
e195d0212505d9af3aec327ab82ed15d0b424655 | 1,790 | cpp | C++ | sdl2ffbeffect.cpp | MadCatX/FFBChecker | 815d7d44fca0483dd222841b15bcf99d0bc1d2f2 | [
"MIT"
] | 25 | 2015-11-02T01:32:30.000Z | 2022-03-15T07:52:19.000Z | sdl2ffbeffect.cpp | MadCatX/FFBChecker | 815d7d44fca0483dd222841b15bcf99d0bc1d2f2 | [
"MIT"
] | 1 | 2020-03-06T11:54:11.000Z | 2020-05-05T17:15:03.000Z | sdl2ffbeffect.cpp | MadCatX/FFBChecker | 815d7d44fca0483dd222841b15bcf99d0bc1d2f2 | [
"MIT"
] | 2 | 2016-10-28T13:43:28.000Z | 2018-04-13T03:12:27.000Z | #include "sdl2ffbeffect.h"
#include "globalsettings.h"
SDL_HapticEffect* SDL2FFBEffect::initFFstruct()
{
SDL_HapticEffect* effect = new SDL_HapticEffect;
if (effect == nullptr)
return nullptr;
memset(effect, 0, sizeof(SDL_HapticEffect));
return effect;
}
bool SDL2FFBEffect::checkEnvelopeParameters(const... | 24.861111 | 133 | 0.697765 | MadCatX |
e197cc7570936dc574b438253aec325e7bf0bb48 | 893 | cpp | C++ | stacks/S_04_stacks using queues, push.cpp | shreyamalogi/P-BOOK | f2aabb3eb9b33e9ce4f559203bcd421ecb57a9d2 | [
"MIT"
] | 4 | 2021-05-13T20:15:51.000Z | 2022-01-25T07:25:00.000Z | stacks/S_04_stacks using queues, push.cpp | shreyamalogi/P-BOOK | f2aabb3eb9b33e9ce4f559203bcd421ecb57a9d2 | [
"MIT"
] | null | null | null | stacks/S_04_stacks using queues, push.cpp | shreyamalogi/P-BOOK | f2aabb3eb9b33e9ce4f559203bcd421ecb57a9d2 | [
"MIT"
] | 1 | 2021-05-13T20:16:57.000Z | 2021-05-13T20:16:57.000Z | //author :shreyamalogi
/*
stack using queues making push costly
method 1
*/
#include<bits/stdc++.h>
using namespace std;
class Stack{
int n;
queue<int> q1;
queue<int>q2;
public:
Stack(){
n=0;
}
void push(int val){
q2.push(val);
n++;
while(!q1.empty()){
... | 10.890244 | 38 | 0.453527 | shreyamalogi |
e1a250359d9f56f65e4c25b3dd93d03f869ec405 | 214 | cpp | C++ | src/Aurora/Core/Profiler.cpp | sjuhyeon/Aurora | 9a6249bcac9beb0ac9792137b522160156e1dd71 | [
"MIT"
] | 1 | 2022-02-23T17:42:51.000Z | 2022-02-23T17:42:51.000Z | src/Aurora/Core/Profiler.cpp | sjuhyeon/Aurora | 9a6249bcac9beb0ac9792137b522160156e1dd71 | [
"MIT"
] | null | null | null | src/Aurora/Core/Profiler.cpp | sjuhyeon/Aurora | 9a6249bcac9beb0ac9792137b522160156e1dd71 | [
"MIT"
] | null | null | null | #include "Profiler.hpp"
namespace Aurora
{
std::stack<LocalProfileScope::LocalTiming> LocalProfileScope::m_TimingStack;
LocalProfileScope::LocalTiming LocalProfileScope::m_LastFrameTiming = {"_Uninitialized"};
} | 30.571429 | 90 | 0.817757 | sjuhyeon |
e1aacd6f1c7f737c1fb3344dc21e21c4ddac317e | 860 | hpp | C++ | prismdll/other_nodes/GJItemIcon.hpp | MagneticPrism/prismdll | d00d45fa7017d48cae8ce9e30542ac43ed3936cd | [
"CC0-1.0"
] | null | null | null | prismdll/other_nodes/GJItemIcon.hpp | MagneticPrism/prismdll | d00d45fa7017d48cae8ce9e30542ac43ed3936cd | [
"CC0-1.0"
] | null | null | null | prismdll/other_nodes/GJItemIcon.hpp | MagneticPrism/prismdll | d00d45fa7017d48cae8ce9e30542ac43ed3936cd | [
"CC0-1.0"
] | null | null | null | #pragma once
#include "../pch.h"
#include <gd.h>
using namespace cocos2d;
class GJItemIcon : public CCSprite
{
protected:
static inline bool(__thiscall* init)(GJItemIcon*, uintptr_t, gd::UnlockType, int, ccColor3B, ccColor3B, bool, bool, bool, ccColor3B);
static bool __fastcall initHook(GJItemIcon* self, uintptr_t... | 25.294118 | 182 | 0.69186 | MagneticPrism |
e1b1a19a0d33e65363ffc52d1694d2c7a9078151 | 13,015 | cc | C++ | src/sensing/driver/velodyne/velodyne_pointcloud/src/conversions/func.cc | zqw-hooper/AutowareArchitectureProposal | 93ca87fd7255be697219a100a97a639a56f6c4a7 | [
"Apache-2.0"
] | null | null | null | src/sensing/driver/velodyne/velodyne_pointcloud/src/conversions/func.cc | zqw-hooper/AutowareArchitectureProposal | 93ca87fd7255be697219a100a97a639a56f6c4a7 | [
"Apache-2.0"
] | null | null | null | src/sensing/driver/velodyne/velodyne_pointcloud/src/conversions/func.cc | zqw-hooper/AutowareArchitectureProposal | 93ca87fd7255be697219a100a97a639a56f6c4a7 | [
"Apache-2.0"
] | 4 | 2021-06-21T11:58:51.000Z | 2021-08-06T08:25:54.000Z | /*
* Copyright 2015-2019 Autoware Foundation. 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 requi... | 40.046154 | 136 | 0.711333 | zqw-hooper |
e1b20012ba1ddf3a85f53dc6396a171dc4cc6942 | 1,755 | cpp | C++ | data structures/list.cpp | pandrei/CPP-practice | fefa16b47757c3c5f26550cefab2071bab154059 | [
"MIT"
] | null | null | null | data structures/list.cpp | pandrei/CPP-practice | fefa16b47757c3c5f26550cefab2071bab154059 | [
"MIT"
] | null | null | null | data structures/list.cpp | pandrei/CPP-practice | fefa16b47757c3c5f26550cefab2071bab154059 | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
struct node {
int value;
node* next;
};
class list {
public:
list();
int add(int value);
int remove(int value);
int get(int position);
bool empty();
private:
node* head;
int add(node* head, int value);
int remove(node* head, int value);
int get(node* head, int pos);
... | 15.26087 | 59 | 0.585185 | pandrei |
e1b228df23ca914cc44b1ea2335a557c250141b8 | 1,478 | cpp | C++ | Beta 3 casi final/mainwindow.cpp | roiso/unisys | f23f66ccb426a8127ebe79479953c7b4367121d8 | [
"MIT"
] | null | null | null | Beta 3 casi final/mainwindow.cpp | roiso/unisys | f23f66ccb426a8127ebe79479953c7b4367121d8 | [
"MIT"
] | null | null | null | Beta 3 casi final/mainwindow.cpp | roiso/unisys | f23f66ccb426a8127ebe79479953c7b4367121d8 | [
"MIT"
] | null | null | null | #include "mainwindow.h"
#include "ui_mainwindow.h"
#include <qmessagebox.h>
//Alvaro
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow){
ui->setupUi(this);
this->controller.init();
}
MainWindow::~MainWindow(){
delete ui;
}
void MainWindow::login(){
int rol... | 23.09375 | 101 | 0.510149 | roiso |
e1b2f7ccf588406f2149fa711c41f5c5b55995ca | 907 | cpp | C++ | codes/UVA/10001-19999/uva11732.cpp | JeraKrs/ACM | edcd61ec6764b8cd804bf1538dfde53d0ff572b5 | [
"Apache-2.0"
] | null | null | null | codes/UVA/10001-19999/uva11732.cpp | JeraKrs/ACM | edcd61ec6764b8cd804bf1538dfde53d0ff572b5 | [
"Apache-2.0"
] | null | null | null | codes/UVA/10001-19999/uva11732.cpp | JeraKrs/ACM | edcd61ec6764b8cd804bf1538dfde53d0ff572b5 | [
"Apache-2.0"
] | null | null | null | #include <cstdio>
#include <cstring>
#include <algorithm>
using namespace std;
typedef long long ll;
const int maxn = 4000005;
const int maxl = 1005;
char type[maxn];
ll ans;
int sz, val[maxn];
int son[maxn], bro[maxn];
void init () {
sz = 1;
ans = 0;
son[0] = bro[0] = val[0] = 0;
}
void insert (char* s) {
int ... | 14.171875 | 40 | 0.47409 | JeraKrs |
e1b5bf59be93ac24d236f8bf99772011ae6ada79 | 1,310 | inl | C++ | code/SDK/sources/MagicSoftware/Sdk/Include/MgcRK4Adapt.inl | Rikoshet-234/xray-oxygen | eaac3fa4780639152684f3251b8b4452abb8e439 | [
"Apache-2.0"
] | 8 | 2016-01-25T20:18:51.000Z | 2019-03-06T07:00:04.000Z | code/SDK/sources/MagicSoftware/Sdk/Include/MgcRK4Adapt.inl | Rikoshet-234/xray-oxygen | eaac3fa4780639152684f3251b8b4452abb8e439 | [
"Apache-2.0"
] | 2 | 2018-05-26T23:17:14.000Z | 2019-04-14T18:33:27.000Z | code/SDK/sources/MagicSoftware/Sdk/Include/MgcRK4Adapt.inl | Rikoshet-234/xray-oxygen | eaac3fa4780639152684f3251b8b4452abb8e439 | [
"Apache-2.0"
] | 5 | 2020-10-18T11:55:26.000Z | 2022-03-28T07:21:35.000Z | // Magic Software, Inc.
// http://www.magic-software.com
// Copyright (c) 2000-2002. All Rights Reserved
//
// Source code from Magic Software is supplied under the terms of a license
// agreement and may not be copied or disclosed except in accordance with the
// terms of that agreement. The various license agreemen... | 32.75 | 78 | 0.464885 | Rikoshet-234 |
e1bb4af537a2697ba6fcb63af7392c1730feb157 | 2,896 | cpp | C++ | main.cpp | r24y/PicoScan | 9cd93b162cd2802962c76a3de7740198b9e936ab | [
"BSD-2-Clause"
] | 4 | 2016-11-29T18:33:34.000Z | 2018-03-09T01:08:23.000Z | main.cpp | r24y/PicoScan | 9cd93b162cd2802962c76a3de7740198b9e936ab | [
"BSD-2-Clause"
] | null | null | null | main.cpp | r24y/PicoScan | 9cd93b162cd2802962c76a3de7740198b9e936ab | [
"BSD-2-Clause"
] | 4 | 2015-10-22T11:54:09.000Z | 2017-09-07T07:26:01.000Z | #include <QtGui/QApplication>
#include "mainwindow.h"
#include <QDesktopWidget>
#include <iostream>
/*!
\mainpage Scan Studio
Scan Studio allows users to quickly and easily scan 3D objects into the
industry-standard STL format.
\section attrib Attribution
\subsection Oxygen Oxygen icon set
<a href="http://www.oxyg... | 36.2 | 79 | 0.761395 | r24y |
e1bc8b2a58a57542f5cfdd5c09beda89a379c13d | 274 | cpp | C++ | strings/getline_iostream.cpp | punithpatil/csci1300-recitation-notes | b6ad687e56bc58ff808e5786e7381d125089beeb | [
"MIT"
] | 2 | 2019-04-11T16:41:42.000Z | 2019-11-19T22:07:57.000Z | strings/getline_iostream.cpp | punithpatil/csci1300-recitation-notes | b6ad687e56bc58ff808e5786e7381d125089beeb | [
"MIT"
] | null | null | null | strings/getline_iostream.cpp | punithpatil/csci1300-recitation-notes | b6ad687e56bc58ff808e5786e7381d125089beeb | [
"MIT"
] | null | null | null | // extract to string
#include <iostream>
using namespace std;
int main ()
{
string name;
// cout << "Input: ";
// cin >> name;
// cout << "Output: " << name << "!\n";
cout << "Input: ";
getline (cin,name);
cout << "Output " << name <<endl;
return 0;
} | 14.421053 | 41 | 0.521898 | punithpatil |
e1bcb7ec29b3d626b8e564232fc4dc27e24662eb | 1,390 | cpp | C++ | source/DuplicateConnector.cpp | Yhgenomics/MelotonNode | 179abf076ebcf0f758e71c8640e747b1e131aa7e | [
"Apache-2.0"
] | null | null | null | source/DuplicateConnector.cpp | Yhgenomics/MelotonNode | 179abf076ebcf0f758e71c8640e747b1e131aa7e | [
"Apache-2.0"
] | null | null | null | source/DuplicateConnector.cpp | Yhgenomics/MelotonNode | 179abf076ebcf0f758e71c8640e747b1e131aa7e | [
"Apache-2.0"
] | null | null | null | #include <DuplicateConnector.h>
#include <DuplicateSessionPool.h>
#include <MRT.h>
DuplicateConnector::DuplicateConnector( uptr<MessageDuplicateBlock> msg )
: Connector( msg->address() , msg->port() )
{
this->message_ = move_ptr( msg );
}
DuplicateConnector::~DuplicateConnector()
{
}
Session * DuplicateConne... | 28.367347 | 90 | 0.620144 | Yhgenomics |
e1c3672c94adb5833d3145c2ae36d50daa21d880 | 4,555 | cpp | C++ | Projects/WebAthl/DBTable.cpp | darianbridge/WebAthl | daf916b169983375022a39645419f79c7f3cbfed | [
"Apache-2.0"
] | null | null | null | Projects/WebAthl/DBTable.cpp | darianbridge/WebAthl | daf916b169983375022a39645419f79c7f3cbfed | [
"Apache-2.0"
] | null | null | null | Projects/WebAthl/DBTable.cpp | darianbridge/WebAthl | daf916b169983375022a39645419f79c7f3cbfed | [
"Apache-2.0"
] | 1 | 2021-07-05T10:10:21.000Z | 2021-07-05T10:10:21.000Z | // CDBTable.cpp : implementation file
//
#include "stdafx.h"
#include "resource.h"
#include "BitMaskEnum.h"
#include "DBTable.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// DBTable
... | 20.244444 | 77 | 0.657739 | darianbridge |
e1c4b72dea04665940fb7fba8d4bc3d6e7d3cb7d | 2,871 | hpp | C++ | include/opentxs/core/crypto/OTSignatureMetadata.hpp | da2ce7/opentxs | 03a61c7a65b1dc27ffaa13da1adc053d67ec0ab0 | [
"MIT"
] | null | null | null | include/opentxs/core/crypto/OTSignatureMetadata.hpp | da2ce7/opentxs | 03a61c7a65b1dc27ffaa13da1adc053d67ec0ab0 | [
"MIT"
] | null | null | null | include/opentxs/core/crypto/OTSignatureMetadata.hpp | da2ce7/opentxs | 03a61c7a65b1dc27ffaa13da1adc053d67ec0ab0 | [
"MIT"
] | null | null | null | /************************************************************
*
* OPEN TRANSACTIONS
*
* Financial Cryptography and Digital Cash
* Library, Protocol, API, Server, CLI, GUI
*
* -- Anonymous Numbered Accounts.
* -- Untraceable Digital Cash.
* -- Triple-Signed Receipts... | 27.084906 | 77 | 0.621038 | da2ce7 |
e1c8a01970ac5ebf558988b01131fb54c089f4df | 60 | cpp | C++ | test/compile_include_string_doxygen.cpp | eightysquirrels/text | d935545648777786dc196a75346cde8906da846a | [
"BSL-1.0"
] | null | null | null | test/compile_include_string_doxygen.cpp | eightysquirrels/text | d935545648777786dc196a75346cde8906da846a | [
"BSL-1.0"
] | 1 | 2021-03-05T12:56:59.000Z | 2021-03-05T13:11:53.000Z | test/compile_include_string_doxygen.cpp | eightysquirrels/text | d935545648777786dc196a75346cde8906da846a | [
"BSL-1.0"
] | 3 | 2019-10-30T18:38:15.000Z | 2021-03-05T12:10:13.000Z | #define BOOST_TEXT_DOXYGEN
#include <boost/text/string.hpp>
| 20 | 32 | 0.816667 | eightysquirrels |
e1cbed5033ba311e9fd10ad25b8ab63167ebdcf9 | 495 | hpp | C++ | Project/Engine/Include/Engine/Graphics/Pipelines/Forward.hpp | lcomstive/Graphics-Assessment | bc52f41b31646ca5d2bb20669704db83c4f77361 | [
"MIT-0"
] | null | null | null | Project/Engine/Include/Engine/Graphics/Pipelines/Forward.hpp | lcomstive/Graphics-Assessment | bc52f41b31646ca5d2bb20669704db83c4f77361 | [
"MIT-0"
] | null | null | null | Project/Engine/Include/Engine/Graphics/Pipelines/Forward.hpp | lcomstive/Graphics-Assessment | bc52f41b31646ca5d2bb20669704db83c4f77361 | [
"MIT-0"
] | 1 | 2022-03-23T00:28:52.000Z | 2022-03-23T00:28:52.000Z | #include <Engine/Api.hpp>
#include <Engine/Application.hpp>
#include <Engine/Graphics/RenderPipeline.hpp>
namespace Engine::Graphics::Pipelines
{
class ForwardRenderPipeline : public RenderPipeline
{
ResourceID m_ForwardShader = InvalidResourceID;
Framebuffer* m_ForwardPass = nullptr;
void ForwardPass(Framebu... | 23.571429 | 61 | 0.783838 | lcomstive |
e1cf87346c3c94d8fd078a3676e9e11daf54fadd | 5,133 | cpp | C++ | lib/parser/Context.cpp | silicon-lang/parser | abab3bd7c67beb96ad0d476377bbaa56b2867759 | [
"Apache-2.0"
] | 2 | 2021-06-12T20:05:56.000Z | 2021-11-09T11:50:22.000Z | lib/parser/Context.cpp | silicon-lang/parser | abab3bd7c67beb96ad0d476377bbaa56b2867759 | [
"Apache-2.0"
] | null | null | null | lib/parser/Context.cpp | silicon-lang/parser | abab3bd7c67beb96ad0d476377bbaa56b2867759 | [
"Apache-2.0"
] | null | null | null | //
// Copyright 2021 Ardalan Amini
//
// 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... | 29.5 | 117 | 0.618157 | silicon-lang |
e1d1b025e8de8b0f6a2da03511f54ae98a772127 | 1,787 | hpp | C++ | include/nx/fs.hpp | CrustySean/NXmanager | 4c87858e41eefa05761a6600fe2a6e414b795c3a | [
"MIT"
] | 440 | 2018-07-17T16:55:41.000Z | 2021-10-08T02:39:40.000Z | include/nx/fs.hpp | CrustySean/NXmanager | 4c87858e41eefa05761a6600fe2a6e414b795c3a | [
"MIT"
] | 58 | 2018-07-18T08:09:47.000Z | 2019-11-18T15:17:14.000Z | include/nx/fs.hpp | CrustySean/NXmanager | 4c87858e41eefa05761a6600fe2a6e414b795c3a | [
"MIT"
] | 129 | 2018-07-17T21:20:29.000Z | 2021-08-25T02:36:20.000Z | #pragma once
#include <string>
extern "C"
{
#include <switch/types.h>
#include <switch/services/fs.h>
}
#include "nx/ipc/tin_ipc.h"
namespace nx::fs
{
class IFileSystem;
class IFile
{
friend IFileSystem;
private:
FsFile m_file;
IFile(FsFile& file);
pub... | 23.207792 | 102 | 0.558478 | CrustySean |
e1d267e173c77a4cae17b59477ba177ac2990cfa | 764 | cpp | C++ | components/python_sandbox/source/detail/context.cpp | maslenitsa93/RocketJoe | 8733965d4959bb67a5c2986442e0c0296b586791 | [
"BSD-3-Clause"
] | null | null | null | components/python_sandbox/source/detail/context.cpp | maslenitsa93/RocketJoe | 8733965d4959bb67a5c2986442e0c0296b586791 | [
"BSD-3-Clause"
] | null | null | null | components/python_sandbox/source/detail/context.cpp | maslenitsa93/RocketJoe | 8733965d4959bb67a5c2986442e0c0296b586791 | [
"BSD-3-Clause"
] | null | null | null | #include <detail/context.hpp>
#include <pybind11/functional.h>
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
#include <detail/context.hpp>
#include <detail/data_set.hpp>
#include <detail/file_manager.hpp>
namespace components { namespace python_sandbox { namespace detail {
using namespace pybind11::l... | 29.384615 | 88 | 0.713351 | maslenitsa93 |
e1d3d88594eef59cab97555361c00d88157481e1 | 4,462 | cpp | C++ | src/example_octomap_service_request.cpp | dringakn/ROSExamples | f4f19d21fab3630c112148e198f117f0466032c4 | [
"MIT"
] | 2 | 2020-07-14T19:37:43.000Z | 2020-07-15T04:38:09.000Z | src/example_octomap_service_request.cpp | dringakn/ROSExamples | f4f19d21fab3630c112148e198f117f0466032c4 | [
"MIT"
] | null | null | null | src/example_octomap_service_request.cpp | dringakn/ROSExamples | f4f19d21fab3630c112148e198f117f0466032c4 | [
"MIT"
] | null | null | null | /*
Author: Dr. Ing. Ahmad Kamal Nasir
Email: dringakn@gmail.com
Description:
*/
#include <bits/stdc++.h> // C++ Related stuff
#include <octomap/octomap.h> // Octree
#include <octomap_msgs/BoundingBoxQuery.h> // Clear bbx service
#include <octomap_msgs/GetOctomap.h> ... | 34.859375 | 81 | 0.644554 | dringakn |
e1d829f83b954bde098c9a7bb08140804549aa7b | 741 | hpp | C++ | libs/sprite/include/sge/sprite/detail/unlink.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | 2 | 2016-01-27T13:18:14.000Z | 2018-05-11T01:11:32.000Z | libs/sprite/include/sge/sprite/detail/unlink.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | null | null | null | libs/sprite/include/sge/sprite/detail/unlink.hpp | cpreh/spacegameengine | 313a1c34160b42a5135f8223ffaa3a31bc075a01 | [
"BSL-1.0"
] | 3 | 2018-05-11T01:11:34.000Z | 2021-04-24T19:47:45.000Z | // Copyright Carl Philipp Reh 2006 - 2019.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef SGE_SPRITE_DETAIL_UNLINK_HPP_INCLUDED
#define SGE_SPRITE_DETAIL_UNLINK_HPP_INCLUDED
#inclu... | 24.7 | 93 | 0.735493 | cpreh |
e1d927ef352280a90e5119bb4659dcb497a19231 | 1,648 | hpp | C++ | libraries/rodeos/include/b1/rodeos/callbacks/action.hpp | guilledk/Eden | 251d1b10d6ec1a9a8e1ec4c461ffac16fe425a32 | [
"MIT"
] | 35 | 2021-04-02T02:17:39.000Z | 2021-11-23T17:46:50.000Z | libraries/rodeos/include/b1/rodeos/callbacks/action.hpp | guilledk/Eden | 251d1b10d6ec1a9a8e1ec4c461ffac16fe425a32 | [
"MIT"
] | 323 | 2021-04-07T15:07:39.000Z | 2022-01-25T01:11:38.000Z | libraries/rodeos/include/b1/rodeos/callbacks/action.hpp | guilledk/Eden | 251d1b10d6ec1a9a8e1ec4c461ffac16fe425a32 | [
"MIT"
] | 8 | 2021-05-10T01:19:47.000Z | 2022-01-24T23:05:00.000Z | #pragma once
#include <b1/rodeos/callbacks/vm_types.hpp>
#include <eosio/name.hpp>
#include <eosio/stream.hpp>
namespace b1::rodeos
{
struct action_state
{
eosio::name receiver{};
eosio::input_stream action_data{};
std::vector<char> action_return_value{};
};
template <typename Derived>
... | 30.518519 | 98 | 0.639563 | guilledk |
e1ddfdf59f3cf747c8ca1c92f141d1d54955d341 | 1,950 | cc | C++ | src/ds++/test/tstQuery_Env.cc | hppritcha/Draco | 6baa5688865eb6c6f38ce6ad1a40eb5ce943cf5c | [
"BSD-3-Clause-Open-MPI"
] | null | null | null | src/ds++/test/tstQuery_Env.cc | hppritcha/Draco | 6baa5688865eb6c6f38ce6ad1a40eb5ce943cf5c | [
"BSD-3-Clause-Open-MPI"
] | null | null | null | src/ds++/test/tstQuery_Env.cc | hppritcha/Draco | 6baa5688865eb6c6f38ce6ad1a40eb5ce943cf5c | [
"BSD-3-Clause-Open-MPI"
] | null | null | null | //--------------------------------------------*-C++-*---------------------------------------------//
/*!
* \file ds++/test/tstQuery_Env.cc
* \author Kent G. Budge
* \date Wed Nov 10 09:35:09 2010
* \brief Test functions defined in ds++/draco_math.hh.
* \note Copyright (C) 2016-2020 Triad National Security, ... | 31.967213 | 100 | 0.388205 | hppritcha |
e1e062d7c1646b5ad3b2bb942f7ab64223a45a94 | 1,701 | cc | C++ | Progs/playsam.cc | gramster/tclMus | 8fbcdcf090fffde9c45534593b610d36b99cdb80 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | Progs/playsam.cc | gramster/tclMus | 8fbcdcf090fffde9c45534593b610d36b99cdb80 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | Progs/playsam.cc | gramster/tclMus | 8fbcdcf090fffde9c45534593b610d36b99cdb80 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
#include "sample.h"
#include "sinewave.h"
#include "envelope.h"
#include "loop.h"
#include "transposer.h"
#include "noise.h"
#include "dsp.h"
void PlayDigitalSource(DigitalSource *s)
{
DSP p(8, 8000);
p.Play(s);
s->XPlot();
}
void PlaySample(char *sname, int rate, in... | 21.807692 | 70 | 0.586714 | gramster |
e1e40f11019b28b0dd95995062cdfc25e21ce60d | 2,144 | cpp | C++ | luogu/5112.cpp | swwind/code | 25c4c5ca2f8578ba792b44cbdf44286d39dfb7e0 | [
"WTFPL"
] | 3 | 2017-09-17T09:12:50.000Z | 2018-04-06T01:18:17.000Z | luogu/5112.cpp | swwind/code | 25c4c5ca2f8578ba792b44cbdf44286d39dfb7e0 | [
"WTFPL"
] | null | null | null | luogu/5112.cpp | swwind/code | 25c4c5ca2f8578ba792b44cbdf44286d39dfb7e0 | [
"WTFPL"
] | null | null | null | #include <bits/stdc++.h>
#define N 3000020
#define M 100020
#define mul 131ll
#define ll long long
using namespace std;
inline int read(){
int x=0,f=1;char ch=getchar();
while(ch>'9'||ch<'0')ch=='-'&&(f=0)||(ch=getchar());
while(ch<='9'&&ch>='0')x=(x<<3)+(x<<1)+ch-'0',ch=getchar();
return f?x:-x;
}
char str[N]... | 22.808511 | 78 | 0.473414 | swwind |
e1e4b62df62cc2e16d6e44be9b87569816656465 | 1,954 | cpp | C++ | conflict/reallyLongInt_TEST.cpp | hyzale/project1-rsa | 7a59a6bb5db207a212e7dc203dd43acd9e67de96 | [
"Unlicense"
] | null | null | null | conflict/reallyLongInt_TEST.cpp | hyzale/project1-rsa | 7a59a6bb5db207a212e7dc203dd43acd9e67de96 | [
"Unlicense"
] | null | null | null | conflict/reallyLongInt_TEST.cpp | hyzale/project1-rsa | 7a59a6bb5db207a212e7dc203dd43acd9e67de96 | [
"Unlicense"
] | null | null | null | #define CATCH_CONFIG_MAIN
#include "catch.hpp"
#include <iostream>
#include "reallyLongInt.hpp"
TEST_CASE ("Testing make int from string") {
unsigned xSize;
unsigned* a = rlIntMake("1223045", xSize);
REQUIRE( xSize == 7 );
REQUIRE( a[0] == 1 );
REQUIRE( a[1] == 2 );
REQUIRE( a[2] == 2 );
... | 30.061538 | 106 | 0.614125 | hyzale |
e1e657e660b0b199d87a0c5db4508152251951c5 | 326 | cpp | C++ | samples/snippets/cpp/VS_Snippets_Remoting/Classic Socket.Accept Example/CPP/source.cpp | BaruaSourav/docs | c288ed777de6b091f5e074d3488f7934683f3eb5 | [
"CC-BY-4.0",
"MIT"
] | 3,294 | 2016-10-30T05:27:20.000Z | 2022-03-31T15:59:30.000Z | samples/snippets/cpp/VS_Snippets_Remoting/Classic Socket.Accept Example/CPP/source.cpp | BaruaSourav/docs | c288ed777de6b091f5e074d3488f7934683f3eb5 | [
"CC-BY-4.0",
"MIT"
] | 16,739 | 2016-10-28T19:41:29.000Z | 2022-03-31T22:38:48.000Z | samples/snippets/cpp/VS_Snippets_Remoting/Classic Socket.Accept Example/CPP/source.cpp | BaruaSourav/docs | c288ed777de6b091f5e074d3488f7934683f3eb5 | [
"CC-BY-4.0",
"MIT"
] | 6,701 | 2016-10-29T20:56:11.000Z | 2022-03-31T12:32:26.000Z | #using <System.dll>
using namespace System;
using namespace System::IO;
using namespace System::Net;
using namespace System::Net::Sockets;
public ref class Sample
{
// <Snippet1>
protected:
void AcceptMethod( Socket^ listeningSocket )
{
Socket^ mySocket = listeningSocket->Accept();
}
// </Snippet... | 18.111111 | 51 | 0.693252 | BaruaSourav |
e1ec5178bfeadfea1bf8ef8f1af5af9fe4f7384d | 4,919 | cc | C++ | kenlm/lm/interpolate/backoff_reunification_test.cc | cmedlock/deepspeech.pytorch | 7f0dbcdb3bcc41992136ebedfcd3e7d6fdb256d1 | [
"MIT"
] | 111 | 2020-08-31T04:58:54.000Z | 2022-03-29T15:44:18.000Z | Part 02/001_LM/ngram_lm_lab/kenlm/lm/interpolate/backoff_reunification_test.cc | Kabongosalomon/AMMI-NLP | 00a0e47399926ad1951b84a11cd936598a9c7c3b | [
"MIT"
] | 14 | 2020-12-16T07:27:22.000Z | 2022-03-15T17:39:01.000Z | Part 02/001_LM/ngram_lm_lab/kenlm/lm/interpolate/backoff_reunification_test.cc | Kabongosalomon/AMMI-NLP | 00a0e47399926ad1951b84a11cd936598a9c7c3b | [
"MIT"
] | 29 | 2021-02-09T08:57:15.000Z | 2022-03-12T14:09:19.000Z | #include "lm/interpolate/backoff_reunification.hh"
#include "lm/common/ngram_stream.hh"
#define BOOST_TEST_MODULE InterpolateBackoffReunificationTest
#include <boost/test/unit_test.hpp>
namespace lm {
namespace interpolate {
namespace {
// none of this input actually makes sense, all we care about is making
// sure... | 30.937107 | 88 | 0.56109 | cmedlock |
e1edb7f1585bce3f8c20d13c82f4e5c7c5165325 | 1,940 | cpp | C++ | src/RobotStatus/TimeSeriesBuffer.cpp | NaokiTakahashi12/OpenHumanoidController | ce8da0cabc8bbeec86f16a36b9ba5e6a16c4a67d | [
"MIT"
] | 1 | 2019-09-23T06:21:47.000Z | 2019-09-23T06:21:47.000Z | src/RobotStatus/TimeSeriesBuffer.cpp | NaokiTakahashi12/hc-early | ce8da0cabc8bbeec86f16a36b9ba5e6a16c4a67d | [
"MIT"
] | 12 | 2019-07-30T00:17:09.000Z | 2019-12-09T23:00:43.000Z | src/RobotStatus/TimeSeriesBuffer.cpp | NaokiTakahashi12/OpenHumanoidController | ce8da0cabc8bbeec86f16a36b9ba5e6a16c4a67d | [
"MIT"
] | null | null | null |
/**
*
* @file TimeSeriesBuffer.cpp
* @author NaokiTakahashi
*
**/
#include "TimeSeriesBuffer.hpp"
namespace RobotStatus {
template <typename T>
TimeSeriesBuffer<T>::TimeSeriesBuffer(const typename Buffer<TimeSeriesData<T>>::SizeType &size) : Buffer<TimeSeriesData<T>>(size) {
}
/*
template class TimeS... | 35.272727 | 132 | 0.774742 | NaokiTakahashi12 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.