blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c2825003e65ff0949c472c5d6912b49e497005d0 | 65d9c9e1a4432918c835b5fb1df433df0f83e19f | /test/test_function.cpp | 32383f2f7c46a37f1cad5f310f27ec5205efc80c | [
"MIT"
] | permissive | PeterHajdu/themodel | 64fdf7039d67ffad5edec67fe4df6a401c49d60e | 70f81891248c324c4dcbfff2d391b12d22221fa0 | refs/heads/master | 2016-09-06T01:56:50.227671 | 2015-05-22T13:13:46 | 2015-05-22T13:13:46 | 26,309,488 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,562 | cpp | #include <themodel/function.hpp>
#include <themodel/node.hpp>
#include <themodel/lua.hpp>
#include <themodel/helpers.hpp>
#include <igloo/igloo_alt.h>
using namespace igloo;
namespace
{
//stupid sol bug
const int return_value{ 10 };
bool was_called;
void call()
{
was_called = true;
}
}
Describe(a_fun... | [
"peter.ferenc.hajdu@gmail.com"
] | peter.ferenc.hajdu@gmail.com |
a438e9303dbbeac4ec3800665f6015c3d7c9aaba | e6c80d747be1496b9c0ebcc8a8bc33bd64eb17dd | /Codes/C++ Programs/Others/Fig10_53.cpp - All-pairs algorithm, with a test program.cpp | 9682aa01164f5a69c48ed8d1ae26c7b6714c1860 | [] | no_license | developersbk/Universal_Code_Snippets | 56b25fb43cc2c67113e97e691cc48f8a0b0193f6 | 0001535476a5743c0557c5ce2c3ffc13c6ee8791 | refs/heads/master | 2023-02-24T08:16:57.240264 | 2020-02-29T01:21:46 | 2020-02-29T01:21:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,568 | cpp | Fig10_53.cpp - All-pairs algorithm, with a test program
#include <iostream.h>
#include "matrix.h"
/* START: Fig10_53.txt */
const int NOT_A_VERTEX = -1;
/**
* Compute all-shortest paths.
* a[ ][ ]contains the adjacency matrix with
* a[ i ][ i ] presumed to be zero... | [
"sbkannath1996@gmail.com"
] | sbkannath1996@gmail.com |
db0e1e488e837a1c9f753959b25c98357cef2c78 | e7b1c6f48537154a7e2ca62524114b6d74b7d7a5 | /ziomon/ziorep_framer.hpp | f4bddf3d7b8570b8edff54fcafb5860712621925 | [
"MIT"
] | permissive | openSUSE/s390-tools | abc4408446f00334c8fff5966f950d77ecab681e | 523b13c88f8cc8839d8415f2b1abf8bf65fe863b | refs/heads/master | 2023-08-24T11:28:47.545886 | 2021-10-19T19:17:15 | 2021-10-19T19:17:15 | 101,874,751 | 0 | 4 | MIT | 2020-01-22T20:41:29 | 2017-08-30T11:45:48 | C | UTF-8 | C++ | false | false | 2,097 | hpp | /*
* FCP report generators
*
* Class for reading messages into frames.
*
* Copyright IBM Corp. 2008, 2017
*
* s390-tools is free software; you can redistribute it and/or modify
* it under the terms of the MIT license. See LICENSE for details.
*/
#ifndef ZIOREP_FRAMER
#define ZIOREP_FRAMER
#include <list>
#i... | [
"holzheu@linux.vnet.ibm.com"
] | holzheu@linux.vnet.ibm.com |
4ed7958cd99e508640776f0395c65a859b395b65 | a33aac97878b2cb15677be26e308cbc46e2862d2 | /program_data/PKU_raw/54/886.c | a79a74071b84ffda0415d61ecb60e70ef82b97cd | [] | no_license | GabeOchieng/ggnn.tensorflow | f5d7d0bca52258336fc12c9de6ae38223f28f786 | 7c62c0e8427bea6c8bec2cebf157b6f1ea70a213 | refs/heads/master | 2022-05-30T11:17:42.278048 | 2020-05-02T11:33:31 | 2020-05-02T11:33:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 393 | c | void main()
{
int total(int n,int k,int i);
int i,t=0,n,k,y;
scanf("%d%d",&n,&k);
for(i=1;;i++)
{
if(total(n,k,i)==0) continue;
else {
y=total(n,k,i);
t++;
if(t==1) break;
}
}
printf("%d\n",y);
}
int total(int n,int k,int i)
{int j,m=i;
for(j=1;j<=n;j++)
{i... | [
"bdqnghi@gmail.com"
] | bdqnghi@gmail.com |
ec5566846c08a720d72d7e4dc38bf67246e0c79f | e7602564235eabae3d32b11026a0d9dbf551df33 | /Cheat/Engine/SDK/ClientState.hpp | 6ecdb238d74442bbd9fb0a7b106f26ef1c70d205 | [] | no_license | testcc2c/X0N3-source-leak-fix | 59c9ffb3bf2efb3e33be40d59c4adfd3cab25252 | 4b0a875fb7310b099959f59b914fb136b1989296 | refs/heads/main | 2023-06-06T23:07:44.705589 | 2021-07-06T10:16:59 | 2021-07-06T10:16:59 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 3,229 | hpp | #pragma once
#include <cstdint>
#include "SDK.h"
// Created with ReClass.NET by KN4CK3R
#pragma pack(push, 1)
namespace SDK
{
class INetChannel
{
public:
char pad_0000[20]; //0x0000
bool m_bProcessingMessages; //0x0014
bool m_bShouldDelete; //0x0015
char pad_0016[2]; //0x0016
... | [
"an.thanhphann2004@gmail.com"
] | an.thanhphann2004@gmail.com |
af1ea3b5572b3d47910f4f733933efeef4e2a33a | 3d20ad4e38ec79e48caeb094b98d14faade23ca6 | /tablecloth/desktop.cpp | f443d361a827f5622ec8fe543a1391780ba61f1d | [
"MIT"
] | permissive | Happy-Ferret/tablecloth | d3d8fc38d2dd956780c9662deec388a5c874be2b | ed28604ff5c3cf731249145fae2e2dbe844c12c7 | refs/heads/master | 2020-03-30T12:27:34.216659 | 2018-08-12T21:36:09 | 2018-08-12T21:36:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,977 | cpp | #include "util/logging.hpp"
#include "layers.hpp"
#include "seat.hpp"
#include "server.hpp"
#include "view.hpp"
#include "wlroots.hpp"
#include "xcursor.hpp"
#include "util/iterators.hpp"
#include "wlr-layer-shell-unstable-v1-protocol.h"
namespace cloth {
View* Desktop::view_at(double lx, double ly, wlr::surface... | [
"topisani@hamsterpoison.com"
] | topisani@hamsterpoison.com |
852ed78099c000865cc6fcea8d51b7944fcff896 | 0744dcc5394cebf57ebcba343747af6871b67017 | /external/iotivity/iotivity_1.2-rel/resource/csdk/security/provisioning/unittest/ocprovisioningmanager.cpp | 9d971c94fefe11a3ce01471785fe14c8018839e6 | [
"Apache-2.0",
"GPL-2.0-only",
"MIT",
"BSD-3-Clause"
] | permissive | Samsung/TizenRT | 96abf62f1853f61fcf91ff14671a5e0c6ca48fdb | 1a5c2e00a4b1bbf4c505bbf5cc6a8259e926f686 | refs/heads/master | 2023-08-31T08:59:33.327998 | 2023-08-08T06:09:20 | 2023-08-31T04:38:20 | 82,517,252 | 590 | 719 | Apache-2.0 | 2023-09-14T06:54:49 | 2017-02-20T04:38:30 | C | UTF-8 | C++ | false | false | 7,824 | cpp | /* *****************************************************************
*
* Copyright 2015 Samsung Electronics 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
*... | [
"hj_elena.kim@samsung.com"
] | hj_elena.kim@samsung.com |
0d0133dfa3b54e4d094a65edf5bc065e66db882d | 61b14e8fd7c27a6082896b7069f7b920474a65da | /src/parser.cpp | 4b2869da4d128c62ea688c085a114d0821039793 | [
"DOC",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | adharmad/jikes | 0cf35e321daa3783e4e474fec0f3edca251319fe | fd79325fdfc615301195d64c1d7deb6757855f67 | refs/heads/master | 2022-04-27T01:40:37.830538 | 2020-04-17T06:21:56 | 2020-04-17T06:21:56 | 255,436,062 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,298 | cpp | // $Id: parser.cpp,v 1.28 2004/03/25 13:32:28 ericb Exp $
//
// This software is subject to the terms of the IBM Jikes Compiler
// License Agreement available at the following URL:
// http://ibm.com/developerworks/opensource/jikes.
// Copyright (C) 1996, 2004 IBM Corporation and others. All Rights Reserved.
// You mus... | [
"adharmad@ionate.io"
] | adharmad@ionate.io |
4185fdf4e9406c03b5085b86c27437645c0cf142 | 865d51549916d3a3e6ed0637ddcb247468989128 | /mainwindow.cpp | ccf3e5f0bddffbcfa784f06e219419f9e600b1a7 | [] | no_license | David-Nemecek/warehouse-manager | 8bd797eaf336e3e35cd079ae2970f5998fb333f9 | 785ebf0a27d161e0b3389286fd7740980903c4be | refs/heads/main | 2023-08-11T20:23:16.030512 | 2021-09-18T10:08:56 | 2021-09-18T10:08:56 | 403,945,702 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,090 | cpp | #include "mainwindow.h"
#include "ui_mainwindow.h"
MainWindow::MainWindow(QWidget *parent)
: QMainWindow(parent)
, ui(new Ui::MainWindow)
{
ui->setupUi(this);
initUI();
addConnection();
showCurrentInventory();
}
MainWindow::~MainWindow()
{
delete ui;
}
void MainWindo... | [
"noreply@github.com"
] | noreply@github.com |
a9d6ac765c47aca720d681e4cc926bd0b258b4fc | d00f4a09a0d6e9269dcba4ade632fae344d8930b | /test/exhaustive/module/math/tan/regular/tan.hpp | 805df8f5dd403ad3bea87a4ea076474ec7b939c3 | [
"MIT"
] | permissive | mfkiwl/eve | b1e1e623b5d170a885f555906f4dc2faadcc626c | 961749111b4edd78e4f69c6e2c5e4b1a9088a19a | refs/heads/main | 2023-04-29T04:00:38.030889 | 2020-09-17T15:58:21 | 2020-09-17T15:58:21 | 355,671,435 | 0 | 0 | MIT | 2021-04-07T20:17:04 | 2021-04-07T20:17:03 | null | UTF-8 | C++ | false | false | 914 | hpp | //==================================================================================================
/**
EVE - Expressive Vector Engine
Copyright 2020 Joel FALCOU
Copyright 2020 Jean-Thierry LAPRESTE
Licensed under the MIT License <http://opensource.org/licenses/MIT>.
SPDX-License-Identifier: MIT
**/
//=====... | [
"noreply@github.com"
] | noreply@github.com |
aff7e2f73f689e63684c5b90a5e2ccff5ac37fa1 | 7f8413481c75c9f37e5ba06a133d30ec32dff2f3 | /DFS.cpp | 718a110272aff87b153bf13fa067bbdee06cc809 | [] | no_license | sivangisingh/cpp-codes | 5f539a93cce1fee2c9fb33823fc4e076e98cb178 | 74cdba5179885aa49dd3079f444427e27f697e07 | refs/heads/master | 2020-08-08T01:20:04.239831 | 2019-10-08T13:56:53 | 2019-10-08T13:56:53 | 213,656,526 | 2 | 0 | null | 2019-10-08T13:55:32 | 2019-10-08T13:55:31 | null | UTF-8 | C++ | false | false | 971 | cpp | #include<iostream>
#include<list>
#include<queue>
#include<map>
#include<vector>
using namespace std;
//Adjacency list using array of list
class Graph{
int V;
list<int> *l;
public:
Graph(int a)
{
V=a;
l=new list<int>[a];
}
void addnode(int u,int v)
{
l[u].push_back(v);
//l[v].push_b... | [
"sopnesh.gandhi@students.iiit.ac.in"
] | sopnesh.gandhi@students.iiit.ac.in |
62c381c0c936d2e0e6b917153dcac02c7b928d90 | 45d1768d87a8fb3418594ec64cf7ed2daf06c6e9 | /darkness-engine/include/shaders/core/tools/DepthDownsampleSingle.cpp | a3edaa7bbe8d5239b8834293f75866b3f8b35576 | [
"MIT"
] | permissive | FutureInfinity/Darkness | c54888829de48eaaeed09acde4edce7423ba8774 | c87eaf067a2707a0141909125ff461f69a3812e0 | refs/heads/master | 2021-09-13T15:39:45.959663 | 2018-05-01T17:15:25 | 2018-05-01T17:15:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,902 | cpp | #include "DepthDownsampleSingle.h"
#include "tools/Debug.h"
namespace engine
{
namespace shaders
{
bool DepthDownsampleSingle::hasVertexShader() const
{
return false;
}
bool DepthDownsampleSingle::hasPixelShader() const
{
return false;
}
... | [
"aleksi.jokinen@gmail.com"
] | aleksi.jokinen@gmail.com |
0314df69f4bfd4887645552796d468848ab070e9 | 9016a5ac6659d7d89029ecc50693330b410adc85 | /Core/Events/LegacyBuffers.cpp | b3db0a69d38b5a15e876f883eceb3697d922845c | [] | no_license | mworks-project/mw_core | 35349273cc8c3acbd136f36d5680748c312742cf | f98ce9502a097b0c7a9e501d0e5bb513c7d0e835 | refs/heads/master | 2016-08-05T10:05:49.457160 | 2011-08-24T19:56:00 | 2011-08-24T19:56:00 | 108,497 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,865 | cpp | /*
* LegacyBuffers.cpp
* MWorksCore
*
* Created by David Cox on 4/5/07.
* Copyright 2007 __MyCompanyName__. All rights reserved.
*
*/
#include "LegacyBuffers.h"
/*
* Buffers.cpp
* Experimental Control with Cocoa UI
*
* Created by David Cox on Fri Dec 06 2002.
* Copyright (c) 2002 __MyCompanyName__... | [
"david.daniel.cox@gmail.com"
] | david.daniel.cox@gmail.com |
8553e023a6b6a44a0999b6e6c4f445f9257e1a5a | eaf4adc1ba2c030783680e63afb70eed970f2c40 | /LeetCode/Climbing Stairs.cpp | 1f48edb1abc344a241eafb80ba22921b9b765114 | [] | no_license | lingd3/OJ-CODE | 886770096e70ff873fdd8a2be8ae778073ac5681 | 008b3196c97fe54629e7db45ea6336b243562335 | refs/heads/master | 2021-06-15T18:25:14.690744 | 2019-10-11T12:17:56 | 2019-10-11T12:17:56 | 64,114,495 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 316 | cpp | class Solution {
public:
int climbStairs(int n) { //找到规律,即斐波那契数列
if (n <= 2) return n;
else {
int a[n] = {1, 2};
for (int i = 3; i <= n; i++) {
a[i-1] = a[i-2] + a[i-3];
}
return a[n-1];
}
}
}; | [
"824928207@qq.com"
] | 824928207@qq.com |
4de1ad39df48788edaf308f586ab461fdbf2914e | 0c1d5327db3fa30c36706fbb4e9be37ac28bf591 | /libvast/vast/view.hpp | 90aac6ee5d9f60047f2bad02628451d6abbcbde0 | [
"BSD-3-Clause"
] | permissive | josephnoir/vast | 7b8c6b3074fe77f44f4c315d5ebef57fee9e13c3 | 2b761725981e5eafe3e09a8ca2bb70295e42b551 | refs/heads/master | 2021-01-01T15:48:00.548102 | 2018-06-05T12:30:58 | 2018-06-05T12:30:58 | 97,704,759 | 0 | 0 | null | 2017-07-19T10:37:26 | 2017-07-19T10:37:26 | null | UTF-8 | C++ | false | false | 8,930 | hpp | /******************************************************************************
* _ _____ __________ *
* | | / / _ | / __/_ __/ Visibility *
* | |/ / __ |_\ \ / / Across *
... | [
"vallentin@icir.org"
] | vallentin@icir.org |
87bdc5a4d8fd67fbf60d879b758f8552b87c1081 | 33f7dee412d097f307eb05342b5fdab74ae75fb1 | /Lesson/Advanced Experiment/Hummerbot_InfraredAvoidanceAndUltrasonicAvoidance/Ultrasonic.h | 0906f54fead37a25611454e43cfcad99531fd709 | [] | no_license | AbbottQH/keywish-hummer-bot-v2.0 | ba61f631b1a2d22213de4dd7cb73ef9d3f471c86 | 2cc98d8e8a919db1cbc7f6e81c96097a86c802cd | refs/heads/master | 2020-04-05T02:24:17.206179 | 2018-10-29T13:42:33 | 2018-10-29T13:42:33 | 156,475,711 | 0 | 0 | null | 2018-11-07T01:57:31 | 2018-11-07T01:57:30 | null | UTF-8 | C++ | false | false | 705 | h |
#ifndef _ULTRASONIC_H_
#define _ULTRASONIC_H_
/* Includes ------------------------------------------------------------------*/
#include <Arduino.h>
#define UL_LIMIT_MIN 10
#define UL_LIMIT_MID 20
#define UL_LIMIT_MAX 550
class Ultrasonic
{
private:
byte EchoPin, TrigPin, ServoPin;
uint8_t ServoBaseDegree;... | [
"ken@keywish-robot.com"
] | ken@keywish-robot.com |
36fa8a0ceba192ea443245b4c3a4c1e06d98784e | 1495647af9e5941772ab7d383b4cf78cdb0fb77f | /Tree/Trie/TriePractice.cpp | 2e1942f481b03849ba740272e75e16a39e6a2beb | [] | no_license | Imran4424/Data-Structure | aa7e33b567406dd9bf25be7cc35d72f0cee761a9 | 9b6b8e5367849e133aa437040946794db63399b1 | refs/heads/master | 2022-04-07T12:47:23.894934 | 2022-02-10T16:13:12 | 2022-02-10T16:13:12 | 124,618,740 | 4 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,430 | cpp | #include <iostream>
#include <string>
using namespace std;
struct node
{
bool endMark;
node* next[26 + 1];
node()
{
endMark = false;
for (int i = 0; i < 27; ++i)
{
next[i] = NULL;
}
}
};
node* root = new node(); // creating empty node
void Insertion(string word)
{
node* travel = root;
for (int... | [
"akashganga.programming.534363@gmail.com"
] | akashganga.programming.534363@gmail.com |
2eb22bcfc4fbc169e40c78db73914e4240b32efe | 92d9a346994eafba9ff9f84eeece4c0e3b0dc92a | /MapRenderer.cpp | 09a440e7783d3b8066cde878d528aa21b301c564 | [] | no_license | Orangehawk/Snake | 536e867de81ba15505b852790ad9d849d00be5e9 | ac153467b5852893e89f274a751f24e972be30e1 | refs/heads/main | 2023-04-07T23:01:10.694293 | 2021-04-01T17:51:58 | 2021-04-01T17:51:58 | 350,034,248 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,820 | cpp | #include "MapRenderer.h"
MapRenderer::MapRenderer(const GameMap* map)
{
storedMap = map;
int** mapRaw = storedMap->GetMap();
rows = storedMap->GetRows();
columns = storedMap->GetColumns();
iconWall = storedMap->GetIconWall();
iconHead = storedMap->GetIconHead();
iconTail = storedMap->GetIconTail();
iconFood =... | [
"48203578+Orangehawk@users.noreply.github.com"
] | 48203578+Orangehawk@users.noreply.github.com |
d1f1357315199c9f22d22afd211f64b24e8a241f | 2fb8fb6cde8aeba59c585728af92fd334f0ae9c9 | /tdt-project/src/helpers/ProductionHelper.hpp | 2a6da2e69311006c528537b00ae219007c3494da | [] | no_license | Dzejrou/tdt | dca548441fe8ef18c5a69c8cd7e5b1eae11fbe20 | 209bb5ac6c8c4adc63927719d1e29ac1233b69aa | refs/heads/master | 2020-12-28T22:11:21.150592 | 2016-11-17T19:16:34 | 2016-11-17T19:16:34 | 37,917,717 | 5 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,202 | hpp | #pragma once
#include <string>
#include <Typedefs.hpp>
class EntitySystem;
/**
* Auxiliary namespace containing functions that help with the management of the
* production component.
*/
namespace ProductionHelper
{
/**
* \brief Changes the name of the blueprint table used to
* spawn new entities.
* \... | [
"dzejrou@gmail.com"
] | dzejrou@gmail.com |
c073961337003ee1b873466cf95745f627371654 | 5621fa1ad956aba95995c474f35c09c78a4f008b | /past201912_e.cpp | ed09df5f7d1ecdbe76689d82658a8676e707e0e3 | [] | no_license | tasogare66/atcoder | ea3e6cdcdd28f2c6be816d85e0b521d0cb94d6a3 | 16bc66ab3f72788f1a940be921edc681763f86f1 | refs/heads/master | 2020-05-09T14:33:30.659718 | 2020-04-14T14:09:37 | 2020-04-14T14:09:37 | 181,196,939 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,797 | cpp | //https://atcoder.jp/contests/past201912-open/tasks/past201912_e
//E - SNS のログ / Restore
#include <bits/stdc++.h>
#if LOCAL
#include "dump.hpp"
#else
#define dump(...)
#endif
using namespace std;
using ll=long long;
#define FOR(i,a,b) for(ll i=(a);i<(b);++i)
#define REP(i,n) FOR(i,0,n)
template<class T>bool chmax(T &a,... | [
"tasogare66@gmai.com"
] | tasogare66@gmai.com |
56b4cd28f221ce5d2f374d1958df255d94545225 | 4a6218d2058a636fa122216ab3b4cc073b7e069e | /build-Layout-Desktop_Qt_5_15_2_MinGW_64_bit-Debug/debug/moc_mainwindow.cpp | 832967d576f737a1f74f2dca09ef77fbbfa18e93 | [] | no_license | IvanZyf666/Qt_develop | af81e7571623094058ec08dce325d503e54197ed | f88cb0dd50ea76366455a1d85f95d5372869c00a | refs/heads/main | 2023-02-19T00:40:32.842236 | 2021-01-24T13:20:18 | 2021-01-24T13:20:18 | 326,077,622 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,714 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'mainwindow.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
**
** WARNING! All changes made in this file will be lost!
*********************************************************... | [
"yzhang24@ualberta.ca"
] | yzhang24@ualberta.ca |
5007ce49e5e2601c941ae2440e2112dc550925fd | 2e951e5d002b87812ff0e5408923e31c3b6a7b88 | /libs/ma_lockable_wrapped_handler/include/ma/lockable_wrapped_handler.hpp | 05a84fdf18e4dc766e5e14fadc84fdbf8fd7821c | [
"BSL-1.0"
] | permissive | mabrarov/asio_samples | 382cf8fdc5fe76dfd359c600bb04bea69ef0deed | e2dc9f81f359dc5b2e568ef419662431fdd0ea0c | refs/heads/master | 2023-04-28T23:00:02.074513 | 2023-04-20T21:33:58 | 2023-04-20T21:33:58 | 6,457,964 | 265 | 73 | BSL-1.0 | 2023-04-20T21:33:59 | 2012-10-30T13:50:37 | C++ | UTF-8 | C++ | false | false | 7,217 | hpp | //
// Copyright (c) 2010-2015 Marat Abrarov (abrarov@gmail.com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#ifndef MA_LOCKABLE_WRAPPED_HANDLER_HPP
#define MA_LOCKABLE_WRAPPED_HANDLER_HPP
#if defined(_MSC_VER) &... | [
"abrarov@gmail.com"
] | abrarov@gmail.com |
dff17be71d32c603713a8f968c08875b153f76c0 | 7c29b984834f77012386b89c6f45c611605e693c | /Algo_Coursera-Specialization/DataStructures/week1_basic_data_structures/2_tree_height/tree-height.cpp | 8367fa16538a177d2717115a9bec29388d79e2c2 | [] | no_license | smrnjeet222/DS-Algo | 8a987ba70b8192a1046af3bb30f210a29f191da3 | 67f5d8b8afdb2e00955748cfc2ad061f0abf7c45 | refs/heads/master | 2021-09-11T05:02:11.217788 | 2021-09-04T10:22:05 | 2021-09-04T10:22:05 | 203,815,674 | 0 | 0 | null | 2020-07-21T16:23:36 | 2019-08-22T14:48:59 | C++ | UTF-8 | C++ | false | false | 3,488 | cpp | // #include <algorithm>
// #include <iostream>
// #include <vector>
// #if defined(__unix__) || defined(__APPLE__)
// #include <sys/resource.h>
// #endif
// class Node;
// class Node {
// public:
// int key;
// Node *parent;
// std::vector<Node *> children;
// Node() {
// this->parent = NULL;
/... | [
"smrnjeet222@gmail.com"
] | smrnjeet222@gmail.com |
fb8e97042fbb4e4ebb622cb963b7c85824ded5e9 | 48a8f7a06115dcb2538b291d793377ee9857e769 | /OpenGL/src/abstractions/Texture.h | ba9f6a418ec60b13d7cca087927f0ee6c140ca97 | [] | no_license | GlitchyHydra/OpenGL-Training | 7aac7ff1d9c7913c06480cc4f7ae33b9c1167ded | 047c12f085138941287c5b27a8c34e4a6dd19a89 | refs/heads/master | 2022-11-11T04:00:05.859689 | 2020-07-04T20:33:59 | 2020-07-04T20:33:59 | 258,635,660 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 694 | h | #pragma once
#include <string>
#include "Shader.h"
enum class TextureType
{
NONE = -1, DIFFUSE = 0, SPECULAR = 1
};
class Texture
{
private:
unsigned int m_RendererID;
unsigned int slot;
std::string m_FilePath;
TextureType type;
unsigned char* m_LocalBuffer;
int m_Width, m_Height, m_BPP;
public:
Texture(con... | [
"valeragta@inbox.ru"
] | valeragta@inbox.ru |
ce20a9e925242a408dcaaaa8f748736a0d3e156b | 00ea0c6287de7b49d59fac407c7f0b8e1a0894ea | /C++/重置链表.h | e6714768ff9724aec702624707eaedb502b079fc | [] | no_license | JairZhu/CODE | b0ff52fce181f7e5282bc6b1f4cbca8b24c9a305 | f2ab7e3ee9c74bddfd6477e249178d994342b9dc | refs/heads/master | 2020-03-28T11:41:24.460884 | 2018-09-11T01:05:05 | 2018-09-11T01:05:05 | 148,239,027 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 807 | h | #ifndef ListNode_h
#define ListNode_h
#include<iostream>
using namespace std;
struct ListNode {
int val;
ListNode *next;
ListNode() {
val = 0;
next = NULL;
}
ListNode(int x) : val(x), next(NULL) {}
~ListNode() {}
};
#endif
//#include"ListNode.h"
#include <queue>
using namespace std;
ListNode* resetList(Lis... | [
"739741104@qq.com"
] | 739741104@qq.com |
2b4c4c6f780cbad17e8c9a41ec68f470d814cad3 | e0fcffe3ee5342b070ec9aa1de04662405f41a55 | /src/slg/kernels/materialdefs_funcs_roughmatte_translucent_kernel.cpp | 2f2566aae48abebcf50c98b53d8782a863bfa5f1 | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | LuxRender/LuxRays | 7666bcfa05271946e1976ad52144414d0df28a41 | edb001ddeb744b534f6fe98c7b789d4635196718 | refs/heads/master | 2020-12-23T21:56:45.071200 | 2017-12-18T16:20:21 | 2017-12-18T16:20:21 | 237,287,133 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 6,325 | cpp | #include <string>
namespace slg { namespace ocl {
std::string KernelSource_materialdefs_funcs_roughmatte_translucent =
"#line 2 \"materialdefs_funcs_roughmatte_translucent.cl\"\n"
"\n"
"/***************************************************************************\n"
" * Copyright 1998-2017 by authors (see AUTHORS.txt) ... | [
"dade916@gmail.com"
] | dade916@gmail.com |
e8bb70b1bba1ef6bdaa5def1aea36882ef5bf628 | 6a68f0b4ad55e58ace8dc41d5825bc502e639ecf | /deps/imgui/backends/imgui_impl_wgpu.cpp | d3bf28ba58646d90295e9505f1b7dc8e261c9371 | [
"BSD-3-Clause",
"BSD-2-Clause",
"MIT"
] | permissive | DaltonLens/DaltonLens | 007c57c18c9d56c7030faf9b9cbb1ef5f2d991b0 | c794984cfa55ffcf4d09bcc5281de4230aaff199 | refs/heads/master | 2022-10-19T10:46:19.694476 | 2022-06-07T09:12:32 | 2022-06-07T09:12:32 | 87,123,826 | 21 | 2 | BSD-2-Clause | 2021-10-05T19:44:07 | 2017-04-03T21:45:16 | Jupyter Notebook | UTF-8 | C++ | false | false | 31,642 | cpp | // dear imgui: Renderer for WebGPU
// This needs to be used along with a Platform Binding (e.g. GLFW)
// (Please note that WebGPU is currently experimental, will not run on non-beta browsers, and may break.)
// Implemented features:
// [X] Renderer: User texture binding. Use 'WGPUTextureView' as ImTextureID. Read the... | [
"nb@arcturus.industries"
] | nb@arcturus.industries |
a5e239013b33df57868fa9184e55cbba8773eb87 | ed51a96f8d1ec208c059bb57ef964a3333c0c06a | /src/qt/editaddressdialog.cpp | cfcef1fd0a52e92636420ed13bb2081e5ed78aeb | [
"MIT"
] | permissive | BERNiecoin/BERNcash | 3d03c9a2917c952571539044ec603114143dab64 | 24112e793866cc4ced1ababde0ca07ed51f24833 | refs/heads/master | 2021-01-17T07:10:12.111453 | 2020-09-01T05:03:53 | 2020-09-01T05:03:53 | 52,173,630 | 6 | 10 | null | 2020-04-25T03:38:16 | 2016-02-20T20:20:56 | C | UTF-8 | C++ | false | false | 3,561 | cpp | #include "editaddressdialog.h"
#include "ui_editaddressdialog.h"
#include "addresstablemodel.h"
#include "guiutil.h"
#include <QDataWidgetMapper>
#include <QMessageBox>
EditAddressDialog::EditAddressDialog(Mode mode, QWidget *parent) :
QDialog(parent),
ui(new Ui::EditAddressDialog), mapper(0), mode(mode), mod... | [
"berniecoindev@gmail.com"
] | berniecoindev@gmail.com |
e7cfd5f5a3420651a8ad5ab0faf3bd7cf2dbb166 | 63e7eee8c30db98c3ac24c5945e6676eb50f5546 | /GE_Projekt_2/src/core/Core/ThreadPool/ThreadPool.cpp | ee2ea8dad1efa5332eeb198115856a69f5d0c421 | [] | no_license | sywor/GameEngine | 3fc29c1256395bce797cb09a2e92121c5c79b4b1 | 5fc7e7cbff6eabd7267473be4f1033ad1f1b6d19 | refs/heads/master | 2021-01-10T00:52:59.650580 | 2014-11-07T14:25:25 | 2014-11-07T14:25:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,582 | cpp | #include "Threadpool.hpp"
#include <atomic>
trr::ThreadPool::ThreadPool()
{
m_nrThreads = 0;
}
void trr::ThreadPool::Initialize( int nrThreads )
{
if( m_nrThreads != 0 )
return;
m_nrJobsInProgress = nrThreads;
m_stop = false;
m_nrThreads = nrThreads;
for( int i = 0; i < nrThreads; i++ )
std::thread( W... | [
"johy10@H473-0010.students.ad.bth.se"
] | johy10@H473-0010.students.ad.bth.se |
840b44a6afb5166d33bc8a688c0a2cb31293ecd0 | 05654e33f9569bb4735af4936d553789684288e4 | /Libraries/Zilch/Project/Zilch/Plugin.hpp | 85b6d2ed9eece8f0d26fdc15b71b3c6d427f3359 | [
"MIT"
] | permissive | jodavis42/ZilchShaders | e8265c7768b2e4c2c8a314509364f7f9222541fe | a161323165c54d2824fe184f5d540e0a008b4d59 | refs/heads/master | 2021-06-20T16:49:35.760020 | 2021-04-30T01:06:33 | 2021-04-30T01:06:33 | 205,271,416 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,824 | hpp | /**************************************************************\
* Author: Trevor Sundberg
* Copyright 2016, DigiPen Institute of Technology
\**************************************************************/
#pragma once
#ifndef ZILCH_PLUGIN_HPP
#define ZILCH_PLUGIN_HPP
namespace Zilch
{
namespace Events
{
// W... | [
"22943955+jodavis42@users.noreply.github.com"
] | 22943955+jodavis42@users.noreply.github.com |
0f7ac498d5544559a5f2502ff7d1f8a6be6a53ac | 9c9d196e9a3c1fffdf0e3749cfdb6d8461bc512f | /sample/msvc/error/c2724.cpp | 376f131059839f1569f7847967be71fff00f28e8 | [] | no_license | rethnap/g2-pub | d4715199a8288f97392d62320ef9c9182890e512 | 33ca60632c5432c2a207d09a195d8946134b5f3f | refs/heads/master | 2020-12-15T13:33:08.156495 | 2020-07-07T11:57:05 | 2020-07-07T11:57:05 | 235,118,370 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 141 | cpp | // C2724.cpp
class C {
static void func();
};
static void C::func(){}; // C2724
// try the following line instead
// void C::func(){};
| [
"pinpan@localhost"
] | pinpan@localhost |
39f09322f369ef7abbe953c27e4f12ea5054312f | 83bacfbdb7ad17cbc2fc897b3460de1a6726a3b1 | /third_party/WebKit/Source/core/animation/animatable/AnimatableClipPathOperation.cpp | ff5a894be112528cfdd4c38ab53499443fae46df | [
"BSD-2-Clause",
"LGPL-2.1-only",
"LGPL-2.0-only",
"BSD-3-Clause",
"LGPL-2.0-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"GPL-1.0-or-later",
"GPL-2.0-only",
"LicenseRef-scancode-other-copyleft",
"Apache-2.0"
] | permissive | cool2528/miniblink49 | d909e39012f2c5d8ab658dc2a8b314ad0050d8ea | 7f646289d8074f098cf1244adc87b95e34ab87a8 | refs/heads/master | 2020-06-05T03:18:43.211372 | 2019-06-01T08:57:37 | 2019-06-01T08:59:56 | 192,294,645 | 2 | 0 | Apache-2.0 | 2019-06-17T07:16:28 | 2019-06-17T07:16:27 | null | UTF-8 | C++ | false | false | 3,197 | cpp | /*
* Copyright (C) 2013 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditio... | [
"22249030@qq.com"
] | 22249030@qq.com |
1a9bfce8d230a1f668ab85b79e4445e500a5b634 | 7e48d392300fbc123396c6a517dfe8ed1ea7179f | /RodentVR/Intermediate/Build/Win64/RodentVR/Inc/LiveLinkInterface/LiveLinkFrameInterpolationProcessor.gen.cpp | 5c5e5b65dbc9f75bda5a1ba4588c02d9f3a45e75 | [] | no_license | WestRyanK/Rodent-VR | f4920071b716df6a006b15c132bc72d3b0cba002 | 2033946f197a07b8c851b9a5075f0cb276033af6 | refs/heads/master | 2021-06-14T18:33:22.141793 | 2020-10-27T03:25:33 | 2020-10-27T03:25:33 | 154,956,842 | 1 | 1 | null | 2018-11-29T09:56:21 | 2018-10-27T11:23:11 | C++ | UTF-8 | C++ | false | false | 4,441 | cpp | // Copyright Epic Games, Inc. All Rights Reserved.
/*===========================================================================
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
========================================================================... | [
"west.ryan.k@gmail.com"
] | west.ryan.k@gmail.com |
ec8b30808c805a3be70524dcf22956f79f285b77 | c6d4a9d945d1fcba1b30a2c3b49703f4664e17ae | /11987-AlmostUnion-Find.cpp | 9d5426aceb1cba053c950eaf1046033a73175092 | [] | no_license | GhadaMuhamed/uvaProblems | 219f89037958f1ea0a41e95dbb5749611a7bf75b | 9027527b9ebf39fdd48271be6322e7aa309bda93 | refs/heads/master | 2021-07-06T12:34:35.762000 | 2017-09-22T19:06:06 | 2017-09-22T19:06:06 | 104,509,016 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 948 | cpp | #include <bits/stdc++.h>
using namespace std;
int n, m;
int par[200005];
long long sum[200005];
int cnt[200005];
int unitany(int a) {
return par[a] = ((par[a] == a) ? a : unitany(par[a]));
}
void uni(int a, int b) {
int x = unitany(a);
int y = unitany(b);
if (x == y)
return;
cnt[par[y]] += cnt[par[x]];
sum[par[... | [
"ghada muhamed"
] | ghada muhamed |
c5d55e02be0bfb369799b6574c7ae3a54cbb4f15 | 3b80baa2c2ac14528dbbe804777c17750756ee73 | /Cpp_Primer_Answers/ch16/unique_ptr.h | 390570705ce82f2dc99642deb5de70a14ba812cb | [] | no_license | adlcc075/test | d2843f4cc00da71417048a6c9b0661c1a7b8603b | 6d8951eb2dcd3ba6ec30e008987b6a050e12c108 | refs/heads/master | 2021-01-24T06:43:25.669401 | 2017-07-03T03:16:59 | 2017-07-03T03:16:59 | 93,315,605 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,636 | h | #ifndef UNIQUE_POINTER_H
#define UNIQUE_POINTER_H
#include "debugDelete.h"
// forward declarations for friendship
template<typename, typename> class unique_pointer;
template<typename T, typename D> void
swap(unique_pointer<T, D>& lhs, unique_pointer<T, D>& rhs);
/**
* @brief std::unique_ptr like class template.
*... | [
"B58948@freescale.com"
] | B58948@freescale.com |
349f10f2a6eb81bda6031bad6b7453875a65ebfb | 3a24b23ef983b2525e14d4d95aa16a31387461a8 | /src/core/Supermap.hpp | 6aa5344901825fdcd2415ceec966ee2710c9c709 | [] | no_license | Glebanister/supermap | 521853e41b196ff22781d908bacaca6c7eaff24e | 95a915b1e44e3dabbe24d6197d4e8228b1bf80e4 | refs/heads/main | 2023-07-09T04:34:38.510386 | 2021-08-09T12:24:39 | 2021-08-09T12:24:39 | 368,488,707 | 4 | 1 | null | 2021-06-10T17:08:09 | 2021-05-18T10:27:29 | C++ | UTF-8 | C++ | false | false | 7,024 | hpp | #pragma once
#include <chrono>
#include <memory>
#include <random>
#include "KeyValueStorage.hpp"
#include "KeyValueShrinkableStorage.hpp"
#include "SortedStoragesList.hpp"
#include "ExtractibleKeyValueStorage.hpp"
#include "BinaryCollapsingSortedStoragesList.hpp"
#include "FilteringRegister.hpp"
#include "FilteredSt... | [
"glebmar2001@gmail.com"
] | glebmar2001@gmail.com |
e1bc126bed98ad2884cbb4501202b20860dfa925 | 3e0a92e3b52e751bc173e21d96bb8606241ee7fd | /baekjoon/smilu/1107.cpp | 2b6ad804591fea1f01841ee57577793ac46d179a | [] | no_license | socc-io/algostudy | 17b923492fa93cb7ab8ac4e6611766a85d4afc36 | 70c6d249033f8e5bc2288a347e50cc5eeab85c1c | refs/heads/master | 2023-03-03T13:12:19.875684 | 2023-02-19T09:45:23 | 2023-02-19T09:45:28 | 28,948,738 | 9 | 3 | null | 2016-01-24T07:31:11 | 2015-01-08T04:25:40 | C++ | UTF-8 | C++ | false | false | 657 | cpp | #include<iostream>
using namespace std;
int n, k, tmp;
bool but[10];
int check(int val)
{
if(val == 0) {
if(but[0]) return -1;
return n+1;
}
int q = val;
int cnt=0;
while(q) {
if(but[q%10]) {
return -1;
}
q /= 10;
++cnt;
}
return ... | [
"smilup2244@gmail.com"
] | smilup2244@gmail.com |
32d0f54ebdaa6195596ccb6cc7cc4ca80ee0dfac | cf60e7288eaffd94d151251483973a0f08e236df | /component/tree.cpp | 8d64c7743937a51de3dd87dda3febefd8ef9c710 | [] | no_license | nath98/projetS3 | 44a8b1a78199611a53e1c33cf66388637b880feb | f3684fba60a1a78ac551cc89ba24546f07bdd84e | refs/heads/master | 2020-03-30T12:06:58.032474 | 2019-03-26T07:52:44 | 2019-03-26T07:52:44 | 151,208,713 | 0 | 1 | null | 2018-10-02T06:40:58 | 2018-10-02T06:14:53 | null | UTF-8 | C++ | false | false | 609 | cpp | #include "tree.h"
/*
Tree::Tree() : m_initial_Node(NULL, "/home"){
m_current_node = &m_initial_Node;
}
Tree::~Tree(){
}
string Tree::get_path(){
Node* node_ptr = m_current_node;
string path(node_ptr->get_name());
while(node_ptr = node_ptr->get_predecessor()){
path = node_ptr->get_name() + "/" + path;
}
}
v... | [
"etu.univ-lyon1.fr"
] | etu.univ-lyon1.fr |
eb2bf45566521a86d46753a0cb7729ad8b21715c | 1ed5868043698f6e40579fd267e56506469b5681 | /FreeRTOS Examples/4-Interrupt Management/3-InterruptManagement_QueueFromISR/3-InterruptManagement_QueueFromISR.ino | 02641db9568aefd1f1ffd1941ca511995cd7cbe4 | [] | no_license | TronixLab/Arduino_FreeRTOS | 3e93e3b8522e694b67f85765b6cbae03f654f34c | aa3663ec1ecfcae35664dfe31003dd0e1dbb8c85 | refs/heads/main | 2023-03-02T20:36:39.919174 | 2021-02-06T07:03:57 | 2021-02-06T07:03:57 | 334,908,103 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,264 | ino | /********************************** Using Queues within an Interrupt Service Routine ************************************
Binary and counting semaphores are used to communicate events. Queues are used to communicate events, and to
transfer data.
xQueueSendToFrontFromISR() is the version of xQueueSendToFront(... | [
"noreply@github.com"
] | noreply@github.com |
1b2283c7bfdd468e300701d6093ef81f2df9e831 | 091ead22351adee65cc8ff3cc21154634749e8b7 | /network/test/network-linux-core-tests.cpp | 2782456854539576fe014895da1f8d6b1aa561db | [] | no_license | walrus/walrus | adde5fa2322d74013d61f739c5f2215b5bdd3456 | a627fec0be57e89593655592b8eec5b410c18baa | refs/heads/development | 2021-01-19T02:48:47.065228 | 2018-03-19T23:29:29 | 2018-03-19T23:29:29 | 87,293,881 | 1 | 1 | null | 2018-03-12T13:44:06 | 2017-04-05T09:53:47 | C++ | UTF-8 | C++ | false | false | 15,276 | cpp | #include "../../lib/catch.hpp"
#include "../src/network-linux.hpp"
/* Main unit test file for the network code. */
TEST_CASE("The core network functionality is all correct") {
std::random_device rd;
std::mt19937 m_mt(rd());
std::uniform_real_distribution<float> test_dist = std::uniform_real_distribution<fl... | [
"dclay.daniel@gmail.com"
] | dclay.daniel@gmail.com |
c02dc27aa7a2f253fddb809b894f2dd75bf450df | 7113e0213f4106b3bf846a7b958d1ec876b27c07 | /QtGuiApplication1/Item.h | 7c13453b206da2ec3d185f788cfef390a8b1dfdc | [] | no_license | helloful/QtForQipan | ac7f530454a63e480e5e15f1bd95863064d8a326 | 2d8b5715675589e9c6e00e6925e694076d9bcabe | refs/heads/master | 2020-06-27T20:57:23.324561 | 2019-08-01T12:35:02 | 2019-08-01T12:35:02 | 200,047,572 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 263 | h | #include<qpoint.h>
class Item
{
public:
QPoint pt;//表示棋的坐标
bool isBlack;//表示棋的颜色
Item(void);
~Item(void);
Item(QPoint p, bool black);
bool operator==(const Item &pt1) const
{
return (pt == pt1.pt&& isBlack == pt1.isBlack);
}
}; | [
"178049845@qq.com"
] | 178049845@qq.com |
73e128beef9b94c2002f7ba08875f928db78e7b5 | 0e207b88492115f10c5cbe3fe1b12919b7c1c508 | /tensorflow/compiler/xla/service/hlo_module_config.h | fa2dbc0fcad63ec7bc0c785e874401292b461fe9 | [
"Apache-2.0"
] | permissive | CLWNRDW/tensorflow | e87c7dfc2441d23d755cff30b4167f3dd5881c12 | 99510b01c2e02b7752222e1f1d474f1962042605 | refs/heads/master | 2021-03-09T22:11:25.872396 | 2020-03-10T18:48:26 | 2020-03-10T18:51:15 | 246,384,028 | 0 | 0 | Apache-2.0 | 2020-03-10T19:03:45 | 2020-03-10T19:00:28 | null | UTF-8 | C++ | false | false | 8,487 | h | /* Copyright 2017 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | [
"gardener@tensorflow.org"
] | gardener@tensorflow.org |
04013d5cd88f1591cea76522a7a76475474f6334 | ce3704c172a18e552a17368ffb5ce67a97f0c1fe | /DuiLib/Utils/WinImplBase.cpp | 1c0655747021782c1338e0d96cbb3a2784cf9e15 | [
"MIT"
] | permissive | MeeSong/DuiLib_Faw | f7307529fc91844519a33d874fbcf5a1c4a8ea2f | 7aa05af52354af9713650533939a481d62a38acd | refs/heads/master | 2020-04-11T21:32:45.151972 | 2018-12-10T03:25:26 | 2018-12-10T03:25:26 | 162,109,229 | 2 | 3 | NOASSERTION | 2018-12-17T09:52:42 | 2018-12-17T09:52:42 | null | GB18030 | C++ | false | false | 13,128 | cpp | #include "StdAfx.h"
#include <algorithm>
namespace DuiLib {
//////////////////////////////////////////////////////////////////////////
//
DUI_BEGIN_MESSAGE_MAP (WindowImplBase, CNotifyPump)
DUI_ON_MSGTYPE (DUI_MSGTYPE_CLICK, OnClick)
DUI_ON_MSGTYPE (DUI_MSGTYPE_HEADERCLICK, OnHeaderClick)
DUI_ON_MSGTYPE (DUI_M... | [
"f@fawdlstty.com"
] | f@fawdlstty.com |
e4a3fead5ca865e3b2bf817d73747da8df036065 | 6d989f5391e951d1e1b1688bb426c928ffe51493 | /src/CFid.cpp | 6ec7e0f79dadfc53d8c3963514b41050e3792764 | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | nkhorman/QSCCBoard | 88b0b5fd1b91f9df65cca01f8706361b46782714 | c234e57063d26ea01bddd1de92448fd206ad5edd | refs/heads/master | 2021-05-24T10:32:57.554452 | 2020-11-26T19:09:58 | 2020-11-26T19:09:58 | 253,520,683 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,461 | cpp |
#include <iostream>
#include <fstream>
#include <sstream>
#include <iomanip>
#include <string>
#include "CFid.h"
#include "stdStringSplit.h"
std::string CFiducial::Parse(std::string &line)
{
std::ostringstream ossError;
std::vector<std::string> cols;
split(line, " ", [&](std::string const &item){ cols.push_back(... | [
"neal@wanlink.com"
] | neal@wanlink.com |
c86c72b71b1e72bfdc169b0923242d728f7c38f0 | 44d0fa41a7682480b3f7c13801db83c7da360655 | /Gunz_The_MMORPG/ZMyBuffMgr.cpp | 647b39fa10c5f250e3e86714230b2d14582fd325 | [] | no_license | TheChayo/gunz-the-tps-mmorpg | e74de0f2084ade5de7b77b083521bfa57567d398 | b5880e60891dd7aa3063541865463de186227616 | refs/heads/master | 2016-08-12T11:17:59.523436 | 2012-11-10T03:09:05 | 2012-11-10T03:09:05 | 55,033,954 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,227 | cpp | #include "stdafx.h"
#include "ZMyBuffMgr.h"
ZMyBuffMgr::ZMyBuffMgr()
{
Clear();
}
ZMyBuffMgr::~ZMyBuffMgr()
{
}
void ZMyBuffMgr::Clear()
{
m_ShortBuffMap.Clear();
m_BuffSummary.Clear();
}
//버프정보임시주석
/*void ZMyBuffMgr::Set(CCTD_CharBuffInfo* pCharBuffInfo)
{
Clear();
for(int i = 0; i ... | [
"Celestialkey@fbef6bb8-bedc-06fa-898d-b3a7711f07bf"
] | Celestialkey@fbef6bb8-bedc-06fa-898d-b3a7711f07bf |
453c6941a04f8bcef783b7f267665237c1ef1505 | 03f037d0f6371856ede958f0c9d02771d5402baf | /graphics/VTK-7.0.0/Rendering/Volume/vtkFixedPointVolumeRayCastHelper.h | 165a9a69a1dcfb96c62672e316b747c7573fd51d | [
"BSD-3-Clause"
] | permissive | hlzz/dotfiles | b22dc2dc5a9086353ed6dfeee884f7f0a9ddb1eb | 0591f71230c919c827ba569099eb3b75897e163e | refs/heads/master | 2021-01-10T10:06:31.018179 | 2016-09-27T08:13:18 | 2016-09-27T08:13:18 | 55,040,954 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 99,455 | h | /*=========================================================================
Program: Visualization Toolkit
Module: vtkFixedPointVolumeRayCastHelper.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details... | [
"shentianweipku@gmail.com"
] | shentianweipku@gmail.com |
889b2d9c510af31e653e41f873ed9970dc34a3c4 | 60bd79d18cf69c133abcb6b0d8b0a959f61b4d10 | /libraries/MCP23S08/examples/MCP23S08_digitalWrite/MCP23S08_digitalWrite.ino | b836a797b74b1d42089169c76aa8f20e809c5e2a | [
"MIT"
] | permissive | RobTillaart/Arduino | e75ae38fa6f043f1213c4c7adb310e91da59e4ba | 48a7d9ec884e54fcc7323e340407e82fcc08ea3d | refs/heads/master | 2023-09-01T03:32:38.474045 | 2023-08-31T20:07:39 | 2023-08-31T20:07:39 | 2,544,179 | 1,406 | 3,798 | MIT | 2022-10-27T08:28:51 | 2011-10-09T19:53:59 | C++ | UTF-8 | C++ | false | false | 1,363 | ino | //
// FILE: MCP23S08_digitalWrite.ino
// AUTHOR: Rob Tillaart
// DATE: 2021-12-30
// PUPROSE: test MCP23017 library
#include "MCP23S08.h"
#include "SPI.h"
MCP23S08 MCP(10, 5, 6, 7); // SW SPI address 0x00
void setup()
{
Serial.begin(115200);
Serial.println();
Serial.print("MCP23S08_LIB_VERSION: ")... | [
"rob.tillaart@gmail.com"
] | rob.tillaart@gmail.com |
3c9bdabf87150fc05dec15665ba9c1154f62d057 | bb7e29f69945c2be7f8f67cb2bda795c3b1b1f98 | /sw/host/spiflash/ftdi_spi_interface.cc | 37a0ec8479c5771547c76190b5878f669ca39f02 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Jhon2Black1/opentitan-private | 039e6ca3d4e69757e390d78dd6b685f2fb4432f7 | 9a92bea9818e7fd609f29ee7f0378bcf92089519 | refs/heads/master | 2020-12-06T08:51:09.970759 | 2019-10-01T01:13:14 | 2019-10-01T17:45:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,209 | cc | // Copyright lowRISC contributors.
// Licensed under the Apache License, Version 2.0, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0
#include "ftdi_spi_interface.h"
#include <assert.h>
#include <fcntl.h>
#include <termios.h>
#include <unistd.h>
#include <cstring>
#include <iostream>
#include <string... | [
"ghbot@lowrisc.org"
] | ghbot@lowrisc.org |
da08c335ab29807c27e2e7cc3440840a79c85284 | 55b179b27c3943350de0bc29cbe8b8a47e4b7c7f | /crush/crush_test/pool_crush_v2/pool_pg_map.h | 5e306dd6fe66165b4a47ea5ac972db73f44820a6 | [] | no_license | emperorlu/Replica-Placement | 3c9f22511c66d885d04a7519e4ba8ddbec140dae | c5fdb46f3be6763679800da4365e0ce05a5fcb37 | refs/heads/main | 2023-08-22T14:58:45.012544 | 2021-09-30T11:35:18 | 2021-09-30T11:35:18 | 362,707,125 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,814 | h | #pragma once
#include <algorithm>
#include <iostream>
#include <vector>
#include <map>
#include <set>
#include <cmath>
#include <queue>
#include <assert.h>
#include <unordered_set>
using namespace std;
static const uint32_t invalid_id = 0x7fffffff;
struct bucket {
int32_t id;
uint32_t weight;
uint32_t primary_p... | [
"1021779409@qq.com"
] | 1021779409@qq.com |
fe9cf472bad1c871107221ab90c9b8a470fd5632 | 46efd736bf58a1602f56d4a5a6794b7bd4f16f5e | /sort/insert_sort.h | d8c0cb6ad746d637c3de3124937c9366df1732a8 | [] | no_license | zuguorui/LeetCode | 810edf86509c4b0a42c71600cc724033bee8549e | 4829a34140fbf01330ac65ae87d9ddbb54984765 | refs/heads/master | 2020-07-05T17:07:32.967711 | 2020-05-16T10:34:35 | 2020-05-16T10:34:35 | 202,707,940 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 489 | h | #ifndef _INSERT_SORT_H_
#define _INSERT_SORT_H_
#include <stdlib.h>
#include <stdint.h>
template<typename T>
void insert_sort(T *src, int32_t l, int32_t r)
{
if(l >= r)
{
return;
}
int index = l + 1;
while(index <= r)
{
int a = index - 1;
while(src[a + 1] < src[a] && a... | [
"zu_guorui@126.com"
] | zu_guorui@126.com |
9c1f41877c9df43978b25495332fdad0f4559f6e | ae33344a3ef74613c440bc5df0c585102d403b3b | /SDK/SOT_Proposal_OOS_AllAtOnce_Rank09Reward_001_classes.hpp | 780ee0313782ace966e1f34f92735796fdda39cd | [] | no_license | ThePotato97/SoT-SDK | bd2d253e811359a429bd8cf0f5dfff73b25cecd9 | d1ff6182a2d09ca20e9e02476e5cb618e57726d3 | refs/heads/master | 2020-03-08T00:48:37.178980 | 2018-03-30T12:23:36 | 2018-03-30T12:23:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 794 | hpp | #pragma once
// SOT: Sea of Thieves (1.0) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x4)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
//Classes
//---------------------------------------------------------------------------
// BlueprintGeneratedClass Proposal_OOS_... | [
"antoniohermano@gmail.com"
] | antoniohermano@gmail.com |
934fa926475983ea515762cdebb4683634bb6f5e | 52f726e3b7ff7d2fc399564fd19dc2b5c51ad3e3 | /learncpp/test17.cpp | 0382540646107b9e23323b28d9798dedd6eddd27 | [] | no_license | edo9k/cpp-sfml | 129c2b46120cfc95bdd2559882db63f2babc3ffb | 70e563d59ff60bdddeed14427c5f8999200b32ba | refs/heads/master | 2020-06-01T21:49:21.788874 | 2020-03-01T04:36:18 | 2020-03-01T04:36:18 | 190,939,760 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 520 | cpp | #include <array>
#include <iostream>
#include <string_view>
#include <tuple>
#include <type_traits>
namespace a::b::c
{
inline constexpr std::string_view str{ "hello" };
}
template <class... T>
std::tuple<std::size_t, std::common_type_t<T...>> sum (T... args)
{
return { sizeof...(T), (args + ...) };
}
int main()... | [
"edox86@gmail.com"
] | edox86@gmail.com |
9cc8ee4538d1e9fbf5cedaa52d915b3acb35f471 | 06fee45a8cd9f5391bb89e0dcbd81a374ea3593b | /Libraries/NtlLib/Shared/PathEngine-5.03/code/common/Containers/SwapOut.h | c40c477ac370392892c439768374a230cfc5f3dc | [] | no_license | ivanlamega/dragon-ball-online-tw-server | 3afde0aae0c8a15370559670e58ec509fa680147 | 31e432f208d725cb4c71d91d0292b4056819d075 | refs/heads/master | 2022-03-03T14:57:27.590250 | 2022-02-16T17:49:51 | 2022-02-16T17:49:51 | 208,133,340 | 33 | 37 | null | 2019-10-15T10:33:29 | 2019-09-12T19:44:55 | Perl 6 | UTF-8 | C++ | false | false | 751 | h | //**********************************************************************
//
// Copyright (c) 2002
// PathEngine
// Lyon, France
//
// All Rights Reserved
//
//**********************************************************************
#ifndef SWAPOUT_INCLUDED
#define SWAPOUT_INCLUDED
#include "common/STL/vector.h"
#includ... | [
"ivan_lamega_13@hotmail.com"
] | ivan_lamega_13@hotmail.com |
049b2b739c71aba22e8b74f2bbfc810f92652ccf | fe52cf6c94a06b926735097f3273b1ccd16bc861 | /archive/CPP_/rw.cpp | d16794fc4bbece5fd9ff6dc60fd077279e8792e3 | [] | no_license | ChefYeum/ChefYeumRandom | 6880c9235dc78f1f9f2eeddcac07488fa1b3bca4 | 9bd4c16b14377f5c0ba0dea73dbe79d1bfad434f | refs/heads/master | 2022-12-22T04:10:15.462963 | 2019-11-24T17:39:16 | 2019-11-24T17:39:16 | 156,979,097 | 0 | 0 | null | 2022-12-11T02:27:23 | 2018-11-10T12:29:27 | Java | UTF-8 | C++ | false | false | 147 | cpp |
#include <iostream>
#include <fstream>
using namespace std;
int main(){
ofstream myfileI ("input.txt", ios::app);
return 0;
}
| [
"chefyeum@gmail.com"
] | chefyeum@gmail.com |
1217294ed677c04c218a658d33b8ee365b12c2c4 | 938379a18fe1060163e5a52074fb0534d3244cf3 | /aws-cpp-sdk-config/source/model/MemberAccountRuleStatus.cpp | ec35db57d63fb75f38fd7f4069bad97536b8ea17 | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | mariusae/aws-sdk-cpp | 05ceb66ca47f10f6e413a3a22660af652c147482 | 000400f7e788f8bed541ec389cf54ac6460a61a4 | refs/heads/master | 2020-06-20T07:15:41.492275 | 2019-07-12T19:01:35 | 2019-07-12T19:01:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,981 | cpp | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
55c93fd74b22633196f32ec0b605646cd5fd0006 | a5fb319c0a08787cb3efe2f5de77136887d5f55d | /1357M.cpp | 29400cda0cbd23c4921a49a0e4948af70a4cc82e | [] | no_license | rachitjain123/leetcode-submissions | 1c64a652e67862d17261188a85bb0e843372ed20 | bb50f1c232ca81ffab52b7dc31c6a03c4f5955fb | refs/heads/master | 2022-11-08T14:38:52.424740 | 2020-06-27T07:37:58 | 2020-06-27T07:37:58 | 225,630,669 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 889 | cpp | class Cashier {
int disc;
int tot_cst;
int num_cst;
unordered_map<int,int> productPriceMap;
public:
Cashier(int n, int discount, vector<int>& products, vector<int>& prices) {
disc=discount;
tot_cst=n;
num_cst=0;
for(int i=0;i<products.size();i++)
productPr... | [
"jainrachit100@gmail.com"
] | jainrachit100@gmail.com |
85a770f7f5331fee88e4b3aa10231970caeb3fcb | 2722ed61ec72589cbcb601a959f726b50e3a7124 | /src/rpc/core_rpc_server.cpp | d0a3317ae02ed3e090f451ef139fb4f7d7747ca2 | [
"LicenseRef-scancode-public-domain",
"BSD-3-Clause"
] | permissive | OIEIEIO/ombre4 | b1cbb5810a1b4fab3039709d0b1ba9973f1609fe | 0d711098c22c6f9beeef863a815bcc18f1400b4d | refs/heads/master | 2020-07-10T20:29:50.590709 | 2019-06-29T03:13:20 | 2019-06-29T03:13:20 | 204,363,415 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 83,312 | cpp | // Copyright (c) 2018, Ryo Currency Project
// Portions copyright (c) 2014-2018, The Monero Project
//
// Portions of this file are available under BSD-3 license. Please see ORIGINAL-LICENSE for details
// All rights reserved.
//
// Ryo changes to this code are in public domain. Please note, other licences may apply to... | [
"zooteld@gmail.com"
] | zooteld@gmail.com |
51d1c6711de85aa7cb5946545346443f6b8d797c | e92af86f33f4bdd457578733074d3c7f6aa7c7fb | /source/GameCommon/PlayerBasicInfo.proto.fflua.cc | db48a87f0ad1e272282722981163d7461b9f959a | [] | no_license | crazysnail/XServer | aac7e0aaa9da29c74144241e1cc926b8c76d0514 | da9f9ae3842e253dcacb2b83b25c5fa56927bdd3 | refs/heads/master | 2022-03-25T15:52:57.238609 | 2019-12-04T09:25:33 | 2019-12-04T09:25:33 | 224,835,205 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 14,413 | cc | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: PlayerBasicInfo.proto
#include "PlayerBasicInfo.pb.h"
#include "PlayerBasicInfo.proto.fflua.h"
namespace Packet {
bool PlayerToken_fflua_reg(lua_State* state)
{
//for decltype
PlayerToken* message(nullptr);
message;
ff::fflua_register_t<PlayerTok... | [
"neoli1987@gmail.com"
] | neoli1987@gmail.com |
269194e7b5aeb0fd8bf292f5fc6d4f637bb83c97 | b59db8a6ce42148dc446b960d8a9d426ebf172d3 | /Project_PEA/AntAlgorithm.h | bc96ea62cff8b8dac23313acc43901c1b6f22186 | [] | no_license | Shymox/Project_PEA | 32fb90fe47dc4843aa1849bf568dbbe73011e484 | 4d955bc14e91c82c15e12a9a86551435e4f122ad | refs/heads/master | 2023-03-01T19:48:19.950851 | 2021-02-03T18:08:37 | 2021-02-03T18:08:37 | 304,872,767 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 880 | h |
#include <vector>
#pragma once
struct ant
{
int cost;
std::vector<int>path;
};
class AntAlgorithm
{
int** matrix;
float** pheromones;
int antsNumber;
ant best;
std::vector<ant>* ants;
time_t start;
size_t size;
int optimum;
size_t iteration;
int period;
float evaporation;
float constant;
bool* visit... | [
"S_P_github_123"
] | S_P_github_123 |
33a2f980cc5effd8bd928de85c66743e7ffc9295 | 829b3f2d0ae685d01fe097c03bf5c1976cbc4723 | /deps/boost/include/boost/variant/detail/move.hpp | 171d4e1f20bdc490e4b50ac6a4b6eb62b041ac9d | [
"Apache-2.0"
] | permissive | liyoung1992/mediasoup-sfu-cpp | f0f0321f8974beb1f4263c9e658402620d82385f | b76564e068626b0d675f5486e56da3d69151e287 | refs/heads/main | 2023-08-21T21:40:51.710022 | 2021-10-14T06:29:18 | 2021-10-14T06:29:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,678 | hpp | //-----------------------------------------------------------------------------
// boost variant/detail/move.hpp header file
// See http://www.boost.org for updates, documentation, and revision history.
//-----------------------------------------------------------------------------
//
// Copyright (c) 2002-2003 E... | [
"yanhua133@126.com"
] | yanhua133@126.com |
e47b86de9f4f87b90d118e7c474f7c12c28f2ba3 | 55f9d538b95bae90a0949d5dabb5dd358c0331e9 | /poincare_map/python/dynamic_analysis/core/src/integration_options_bindings.cpp | 78569ba4779815fa228ebf9c5308fcd4f53ba9f9 | [] | no_license | panosz/ode_integrators | d88497d18c4acc51a0b06307c6ebd48e60bfb917 | 1c0c704181dce4d347851ab1a0006ed32c14a3aa | refs/heads/master | 2020-04-25T04:56:17.145801 | 2020-01-24T13:17:06 | 2020-01-24T13:17:06 | 172,526,766 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,171 | cpp | #include <boost/python.hpp>
#include "integration_options_bindings.hpp"
void IntegrationOptionsBindings::export_IntegrationOptions()
{
namespace p=boost::python;
const auto integrationOptions_docstring =\
"""Holds options for the integration utilities\n"""
"\n"
"IntegrationO... | [
"panosz@gmail.com"
] | panosz@gmail.com |
183fccf75a368c012ae15b7d4be132d1da749899 | e28f4ad7a0c278c950e0cc09ea6f3cffe173e393 | /Miccall/第三次作业/242.cpp | a099a958c3989ef680be34ad4589caa4b4f21d5d | [] | no_license | studentnice/TestCppPrimer | 20f02c0e4a1dcdc8eafeec400192ba3ed8761859 | 7eab7556478668d79fbcf21453df9e3b0b4ce3fb | refs/heads/master | 2021-09-06T03:32:44.120916 | 2018-02-02T03:18:47 | 2018-02-02T03:18:47 | 114,127,127 | 0 | 0 | null | 2017-12-13T13:55:36 | 2017-12-13T13:55:35 | null | UTF-8 | C++ | false | false | 583 | cpp |
#include <iostream>
#include <map>
using namespace std;
bool isAnagram(string s, string t) {
if(s.size() != t.size()) return false ;
map<char,int> m_map ;
for(int i = 0 ; i < s.size() ; i++ )
m_map[ s[i] ] ++;
for(int i = 0 ; i < t.siz... | [
"316459829@qq.com"
] | 316459829@qq.com |
3c0415e27ccf466033cf9105d7cab2beef5adacf | ad398fc6254d73a9080f9c6763830463f1330638 | /Arduino/EndiranWithbetterController.ino | faaa22df6526a1c2dab4fa180e0a1c69e4c5e740 | [] | no_license | modlfo/endiran | 5c69cd7105ee129d254e5280ec48f6b7fa6af619 | 60bcd34709d8b70a4831efb5fb9ef375241b4405 | refs/heads/master | 2021-03-30T17:06:55.894471 | 2017-09-05T21:51:44 | 2017-09-05T21:51:44 | 94,411,494 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,690 | ino | #include <TimerOne.h>
#include "vultin.h"
#include "control.h"
/* The one an only context of the program */
Control_loop_type context;
void setup()
{
/* Initialize encoders */
pinMode(22, INPUT);
pinMode(24, INPUT);
pinMode(2, INPUT);
digitalWrite(22, HIGH); // turn on pullup resistor
digitalWrit... | [
"noreply@github.com"
] | noreply@github.com |
ef78f95ac8aa1af485516c3eec3f1d1a043f28b7 | 74362e40264edb43ac0383b5668ecee84839a7a7 | /cpp/winver.cpp | 4e91749780b747ed5e1810d515085c0d9e9ec379 | [] | no_license | arch-jslin/mysandbox | 96625e0fcf156098a9ab9eb44a46b64becaf0bd5 | ab93dd2d695e5712637d2821497226847ca3d1af | refs/heads/master | 2021-03-13T00:11:15.419018 | 2020-06-20T15:00:37 | 2020-06-20T15:00:37 | 670,355 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 328 | cpp |
#include <cstdio>
#include <windows.h>
int main()
{
#if (_WIN32_WINNT >= 0x0601)
printf("Windows 7\n");
#elif (_WIN32_WINNT >= 0x0501)
printf("Windows XP\n");
#elif (_WIN32_WINNT >= 0x0400)
printf("Windows 2K/98?\n");
#else
printf("Fuckdows\n");
#endif
system("pause");
retu... | [
"archilifelin@yahoo.com.tw"
] | archilifelin@yahoo.com.tw |
7d8678c24331e82d1d2179b8462738ff51319c70 | 4dfa6232cf91f1c04d50809915078dc71fb371b4 | /dnn/src/naive/elemwise/kimpl/SUB_dt_float32.cpp | 70e3ebd1f073e716a5fb7ef4f0c8f222276d5c1b | [
"LicenseRef-scancode-generic-cla",
"Apache-2.0"
] | permissive | hookex/MegEngine | 81c0539a3247873bdabe0e6f22e265e22249e98a | 47fd33880d2db3cae98c55911bb29328cdd5d7e4 | refs/heads/master | 2022-08-01T02:04:06.431689 | 2020-05-22T11:10:17 | 2020-05-22T11:10:17 | 250,200,281 | 1 | 0 | NOASSERTION | 2020-03-26T08:22:39 | 2020-03-26T08:22:39 | null | UTF-8 | C++ | false | false | 621 | cpp | /**
* \file dnn/src/naive/elemwise/kimpl/SUB_dt_float32.cpp
* MegEngine is Licensed under the Apache License, Version 2.0 (the "License")
*
* Copyright (c) 2014-2020 Megvii Inc. All rights reserved.
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distrib... | [
"megengine@megvii.com"
] | megengine@megvii.com |
1f8409b22a4e7d07b183f6ee3a9b423718e249cb | 92c2c9b30dd81e602b1ade90d21567822964f269 | /New IAS/DLP-C++/dlpspec_scan_col.cpp | 74b8c59cb5571ff451dd69fb3a5b3ebefa21676d | [] | no_license | wyfnevermore/New-IAS | 0713fdba3d54359adcf3a75b3ea394060086b160 | ce8937eda91842ee688d314258f19a658597ae57 | refs/heads/master | 2021-01-21T10:55:07.500158 | 2017-03-01T02:31:05 | 2017-03-01T02:31:05 | 83,502,430 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,641 | cpp | /*****************************************************************************
**
** Copyright (c) 2015 Texas Instruments Incorporated.
**
******************************************************************************
**
** DLP Spectrum Library
**
**********************************************************************... | [
"843645610@qq.com"
] | 843645610@qq.com |
f24b725bddcbca9baee6a29993c488b7cc997691 | 75a2e07e7008440eb9a21c5cb03a12f326d7ced8 | /tarea_4/midialog.h | 47b5cf8f0286b0e1feb5e527c78a517e6801f775 | [] | no_license | josemedra/TAREA44 | 0e75559e234ee15ed7652f8e7c33243406103d6c | 37c22031e25e6be567b4473d52a94403f14b5515 | refs/heads/master | 2020-04-02T15:53:54.932639 | 2018-10-25T00:47:27 | 2018-10-25T00:47:27 | 154,588,301 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 403 | h | #ifndef DIALOG_H
#define DIALOG_H
#include <QDialog>
namespace Ui {
class Dialog;
}
class Dialog : public QDialog
{
Q_OBJECT
public:
explicit Dialog(QWidget *parent = nullptr);
~Dialog();
private slots:
void on_buttonBox_accepted();
QString getDatoLineEdit();
void on... | [
"noreply@github.com"
] | noreply@github.com |
1cc6475a5561de59658c61c524d215060351a285 | 24c3b6ee3e2b06288bed587e34751969b4a73e31 | /AtCoder/AtCoder Beginner Contest/ABC122/B.cpp | f1bac1ba91c30def7b6b300f89b8ef904a12c563 | [] | no_license | KatsuyaKikuchi/ProgrammingContest | 89afbda50d1cf59fc58d8a9e25e6660334f18a2a | d9254202eec56f96d8c5b508556464a3f87a0a4f | refs/heads/master | 2023-06-05T20:07:36.334182 | 2021-06-13T13:55:06 | 2021-06-13T13:55:06 | 318,641,671 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 673 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
typedef pair<ll, ll> pll;
#define FOR(i, n, m) for(ll (i)=(m);(i)<(n);++(i))
#define REP(i, n) FOR(i,n,0)
#define OF64 std::setprecision(10)
const ll MOD = 1000000007;
const ll INF = (ll) 1e15;
char A[4] = {'A', 'C', 'G', 'T'};
int main() {
... | [
"k.kikuchi.ah@gmail.com"
] | k.kikuchi.ah@gmail.com |
0b46bdbdaeb536390e43d9e36b936b1dd41c4938 | 63a8003002c17a0a541e1ef05a721b5b1ffae3a7 | /test.cpp | b6026be9976f79074956d8930af32d9072a045de | [] | no_license | HridoyHazard/SPOJ-Solutions- | f422d71859cf3fb77859ebfd0d1b475cd4cb8bbf | d7e56b6bf89299c53386eaa683ea3a7b62f4bc6f | refs/heads/master | 2023-07-08T00:04:01.891853 | 2021-08-13T18:51:37 | 2021-08-13T18:51:37 | 296,395,964 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 114 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
double a=10.2;
cout<<(a>10?"NO":"YES")<<endl;
}
| [
"71395891+HridoyHazard@users.noreply.github.com"
] | 71395891+HridoyHazard@users.noreply.github.com |
7d649dbadff420f4b6935249f4834d399145732d | 9b40299376a529e60583851b1a29cd893b12be02 | /mainwindow.cpp | 548ded58d9a8f93de3225901e8f6d6c5e09a2650 | [] | no_license | olekscode/CppOCR | 5f11f8e2e8291ac79814ed76a1a2744fc119c3e4 | a9b151ad643c7e21e092d6e78c89f9525e11902e | refs/heads/master | 2021-05-30T09:13:47.360520 | 2016-01-28T17:17:38 | 2016-01-28T17:17:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 871 | cpp | #include "mainwindow.h"
#include "ui_mainwindow.h"
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
ui->setupUi(this);
_data_rdr = new MNISTReader("../data/MNIST/t10k-images.idx3-ubyte",
"../data/MNIST/t10k-labels.idx1-ubyte");
}
M... | [
"olk.zaytsev@gmail.com"
] | olk.zaytsev@gmail.com |
e5d48408822d5f7654cb11678513b81fd9f58253 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/httpd/gumtree/httpd_repos_function_433_httpd-2.0.58.cpp | 99dd7b1a3a483cdb28a704ed5739b5a8ce613b1c | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 348 | cpp | static const char *set_magicfile(cmd_parms *cmd, void *dummy, const char *arg)
{
magic_server_config_rec *conf = (magic_server_config_rec *)
ap_get_module_config(cmd->server->module_config,
&mime_magic_module);
if (!conf) {
return MODNAME ": server structure not allocated";
}
conf->magicfi... | [
"993273596@qq.com"
] | 993273596@qq.com |
2462d6a01da7996b5ae0f286e22e48b953b3886d | 1b27ae26cbf4985994f185dd72d399889b3ebee9 | /dev/hub/Raspi/dmcServer/src/service/user/room.h | 3a320fa0ec3f9687d0480ce017c31b80dbdd8b55 | [] | no_license | Domocracy/domocracy | 46196dcbda6b8c2adf4e957e2b8d352714c987fa | f024b4d8aa0985a75618aaa99ca93725eaf912d4 | refs/heads/master | 2021-01-15T08:16:11.709402 | 2015-04-14T11:57:58 | 2015-04-14T11:57:58 | 27,773,453 | 0 | 0 | null | null | null | null | MacCentralEurope | C++ | false | false | 731 | h | ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Project: DMC Server
// Date: 2015/Feb/11
// Author: Carmelo J. Fdez-AgŁera Tortosa
//
///////////////////////////////////////////////////////////////////////////////////////////////////////////... | [
"cjtech90@gmail.com"
] | cjtech90@gmail.com |
8b25049a52f5596ff2638429c08c57e8dd1c4150 | e12376aadfc081042c5df6eeb9954091b8801493 | /vcf/build/icl7/add-ins/VCFAppWiz/FileExtsDlg.cpp | dc575d5185cc67d5e9d85d072ad048d361e21018 | [] | no_license | jimcrafton/visualcomponentframework | 65d5c4a72309884477089ce102ebc44f3eb28e27 | 87d7f44ad15bbf42fac6c8cd5fba3c6ecc51eb45 | refs/heads/master | 2022-11-30T05:44:27.210513 | 2022-11-19T01:29:35 | 2022-11-19T01:29:35 | 181,391,567 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,586 | cpp | // FileExtsDlg.cpp : implementation file
//
#include "stdafx.h"
#include "vcfwizard.h"
#include "FileExtsDlg.h"
#include "FileExtensionPropDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
///////////////////////////////////////////////////////////////////////////... | [
"augusto_roman@cccfda39-7811-0410-ae5f-bc4b32ab4073"
] | augusto_roman@cccfda39-7811-0410-ae5f-bc4b32ab4073 |
aac8415ad9d89577128bdcab11321670a9bec1cc | de9efeb34f79e0ca52efa1170ad77a7acf860a06 | /Cave Story Final Version/input.h | b77e82c744b7961ef368b18b9866d2e28c1c1322 | [] | no_license | m-barnes/Cave-Story-Term-Project | dd3a46498654be5dacfb6dc16386f666f0006c67 | 7838482efc5c4d3802503ef2adc1e58848b70ea9 | refs/heads/master | 2021-11-29T18:46:09.088636 | 2021-11-18T19:43:13 | 2021-11-18T19:43:13 | 248,793,722 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 484 | h | #pragma once
#ifndef INPUT_H
#define INPUT_H
#include <SDL.h>
#include <map>
using namespace std;
class Input {
public:
void beginNewFrame();
void keyUpEvent(const SDL_Event& event);
void keyDownEvent(const SDL_Event& event);
bool wasKeyPressed(SDL_Scancode key);
bool wasKeyReleased(SDL_Scancode key);
bool is... | [
"m.brandon.barnes@gmail.com"
] | m.brandon.barnes@gmail.com |
7e73d971d3d43696496ccf3e196d7cb8472fe3fe | 7cfa273e3aa664fceb9523429e31be8b9dc50cee | /ShaderVisualNodeTool/NodeSystem/Graph.h | 2acd3568b1dff36bf5b708f601414f533823bb48 | [] | no_license | AntoniosNestoridis/ShaderVisualNodeTool | 5d12bf1f38ab96cce7cd5b00199a2bfe07533ab2 | d6e0e41f15883ddb351fb30a976314638554dd13 | refs/heads/master | 2020-03-13T08:14:07.397607 | 2018-08-29T12:13:14 | 2018-08-29T12:13:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,532 | h | #pragma once
#include <map>
#include "../Rendering/Shader.h"
#include "Node.h"
//#include "InputNode.h"
#include "../Utility.h"
class Node;
struct SlotInformation {
bool SlotType; // 0 -> Input - 1-> Output
std::string Name; // Name of the slot variable
ValueType VarType;
//Add custom default value here some... | [
"antonai_nestor@hotmail.com"
] | antonai_nestor@hotmail.com |
b1c7d2269067de8143335ac5f05a0636252427be | a123b3e7427d68ecf07abd51996097e75128c7d8 | /Project1/Project1/Accessoire.h | c07680e02ab63cb892a1120bc5b40a8cd88c775a | [] | no_license | cegepmatane/c-2018-jonathan-florianlev | 24ebc10d1cb75d7a57c1a5f240385c44cdbd3218 | 0b8faf75a18d49eb69e0c1faa2544b8e822fc2b3 | refs/heads/master | 2020-03-30T03:07:56.492815 | 2018-11-06T02:52:03 | 2018-11-06T02:52:03 | 150,670,733 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 380 | h | #pragma once
#ifndef ACCESSOIRE_H_
#define ACCESSOIRE_H_
#include <iostream>
#include <fstream>
using namespace std;
namespace JeuBaston {
class Accessoire
{
public:
Accessoire(string nom, int protection);
virtual ~Accessoire();
const string& getNom() const {
return nom;
}
prot... | [
"flolevy33@gmail.com"
] | flolevy33@gmail.com |
ee324807df05668ee83dc6012fec5f63572c130a | d09945668f19bb4bc17087c0cb8ccbab2b2dd688 | /2012-2016/2012/joi/spring/l.cpp | 30388bdec8fdd2c3d16dff4711277e9f61b201f6 | [] | no_license | kmjp/procon | 27270f605f3ae5d80fbdb28708318a6557273a57 | 8083028ece4be1460150aa3f0e69bdb57e510b53 | refs/heads/master | 2023-09-04T11:01:09.452170 | 2023-09-03T15:25:21 | 2023-09-03T15:25:21 | 30,825,508 | 23 | 2 | null | 2023-08-18T14:02:07 | 2015-02-15T11:25:23 | C++ | UTF-8 | C++ | false | false | 3,084 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef signed long long ll;
#undef _P
#define _P(...) (void)printf(__VA_ARGS__)
#define FOR(x,to) for(x=0;x<(to);x++)
#define FORR(x,arr) for(auto& x:arr)
#define ITR(x,c) for(__typeof(c.begin()) x=c.begin();x!=c.end();x++)
#define ALL(a) (a.begin()),(a.end())
#... | [
"kmjp@users.noreply.github.com"
] | kmjp@users.noreply.github.com |
dade5f350d1dc24a69433346c9da233614d20c8d | dacc9e4161a8539670b8f027387e7d11f72055fc | /parsing/parsing.cpp | 06b6a54928e3993e3576598a28cd63affcac245e | [] | no_license | jaugustosaba/compiler | c025776f3e0fd71f5bff3033da5a41915c1637e7 | 55a98b8b940c204b5eb805ebcef00dcaff7b90c3 | refs/heads/master | 2016-09-05T11:57:06.242231 | 2014-06-17T21:35:30 | 2014-06-17T21:35:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,380 | cpp | #include "parsing.h"
#include "spec-parser.h"
#include "parser-table.h"
#include "code-generator.h"
namespace parsing {
namespace {
inline
std::ostream& operator<<(std::ostream &out, const Symbol *symbol) {
auto rule = dynamic_cast<const Rule*>(symbol);
if (rule != nullptr) {
out << rule->name;
} else {
auto ... | [
"jorge@jorge-X202EP"
] | jorge@jorge-X202EP |
abbc0dc5af75f5c5ed842f5e4d17f75c566f18a5 | 6f16405c22913aa5e06419976ccc4f28408945c3 | /SL_Instrumentation.h | f2d8c3130c302941b50428f1a4907ba6fe3dd890 | [] | no_license | ncheong-141/Numerical-function-static-library | d6962398c2236ab1cf881b614d0491d21f574c06 | ed55752e9a1496339dca37074ec5df7a82bb0526 | refs/heads/master | 2022-01-24T05:09:11.140548 | 2022-01-17T14:54:50 | 2022-01-17T14:54:50 | 196,516,106 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 29,096 | h | #pragma once
/* =================================== Instrumentation interface file =================================== */
// Contains data acquisition, timers and datatypes (except for DYN_C2D)
// Internal modules
#include "SL_Runtime_interface.h"
// External modules
#include <iostream>
#include <vector>
#include ... | [
"2082739C@student.gla.ac.uk"
] | 2082739C@student.gla.ac.uk |
0f30d952421bbecb56b5dbccfcdf70044652726a | 501888c609786864fb70c4d4172881629f6166f1 | /CvGameCoreSource/CvGameCoreDLL_Expansion2/CvBitfield.h | 98cb2b798b076f6f429b7478aeb4d5584006772c | [] | no_license | categorical/civ5wellplayedcore | 7dd2e3b44182a0e54a9fa2c79e41d8ff0f20ee29 | 54eda6d02ca1d59e315a6e29ead84bd97413d706 | refs/heads/master | 2022-11-14T13:49:45.837936 | 2020-06-28T16:55:51 | 2020-06-28T16:55:51 | 275,629,162 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,937 | h | /* -------------------------------------------------------------------------------------------------------
© 1991-2012 Take-Two Interactive Software and its subsidiaries. Developed by Firaxis Games.
Sid Meier's Civilization V, Civ, Civilization, 2K Games, Firaxis Games, Take-Two Interactive Software
and their... | [
"dawei.chen@hotmail.co.uk"
] | dawei.chen@hotmail.co.uk |
f5d27c7dea49af3084645bd1145065c5813cadf9 | 465e845c143e2d499921258bd70e2d3af6abcda9 | /src/graphics/font/BitmapFont.cpp | f6f0c02d86ddade4a0193fa39d099ffa996be809 | [] | no_license | rayHrx/SimMud | 1416650a3414cb912213c888f0bb8f065df08055 | 5c983ac218df22364f6bda1b94a54b2397ae8857 | refs/heads/master | 2023-01-06T10:12:07.900554 | 2020-10-31T02:18:21 | 2020-10-31T02:18:21 | 301,823,596 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,220 | cpp | /*This source code copyrighted by Lazy Foo' Productions (2004-2007) and may not be redestributed without written permission.*/
/* Code from "http://lazyfoo.net/SDL_tutorials/index.php" (modified) */
#ifdef WIN32
#include <windows.h>
#endif
#include <SDL.h>
#include "BitmapFont.h"
const int RED_BACK = 0x0... | [
"huangr19@ug250.eecg"
] | huangr19@ug250.eecg |
260561cdee1d6bad48b61a3398fa9c859694a1ae | ffff2a4fb72a163e4d42b01cefa1f5566784990f | /codeforces/practice/contests/616div2/q4.cpp | 4aa4fee117cf1158717e2eb80837c68d28470b10 | [] | no_license | sanyamdtu/competitive_programming | d5b4bb6a1b46c56ebe2fe684f4a7129fe5fb8e86 | 5a810bbbd0c2119a172305b16d7d7aab3f0ed95e | refs/heads/master | 2021-10-25T07:11:47.431312 | 2021-10-06T07:37:25 | 2021-10-06T07:37:25 | 238,703,031 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 355 | cpp | #include<bits/stdc++.h>
using namespace std;
#define pb push_back
#define mod 1000000007
#define INF 1e18
typedef long long ll;
int main()
{
ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0);
int t;
cin >> t;
while (t--)
{
ll n;
cin>>n;
if(n==1||n==2)
cout<<1;
else
(n%2==0)?cout<<n/2:cout<<(n+... | [
"sanyamexam@gmail.com"
] | sanyamexam@gmail.com |
50edec71ea5911cb9622234585193a6549ca4ccc | cc07f901699bd193953e8eb1c141203c9adc8e2b | /lis.cpp | 6e1b969bb1e42b1b26e9708065a7698f08d949ee | [
"MIT"
] | permissive | popfido/LeetCode-OJ | 55feff5e10ee4e88d0c86597eee0dbe662e3dada | 6d8ca88adccff6ba5df3ddbcecd2763cbd0a7406 | refs/heads/master | 2021-01-01T18:23:24.969602 | 2015-10-23T06:19:06 | 2015-10-23T06:19:06 | 21,883,189 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 538 | cpp | class Solution {
public:
/**
* @param nums: The integer array
* @return: The length of LIS (longest increasing subsequence)
*/
int longestIncreasingSubsequence(vector<int> nums) {
// DP algorithm
int n = nums.size();
int max = 0;
vector<int>dp(n,1);
for(aut... | [
"wanghailin317@gmail.com"
] | wanghailin317@gmail.com |
0e91f22975ce18e339cddab30542df8a38e67e99 | 637df2719e532b41dfed6a616bcb412ff2b955f4 | /include/Input.h | 6379a4c298a2b2544e1204129a21825de34f53a5 | [] | no_license | odanado/oti_oti_fight | 274a77a1810f1be32024c6c28ae60bbe8cb7fb91 | c2fedd12c839fc416b87edaf82cf74338e99cd98 | refs/heads/master | 2021-01-20T22:05:44.299509 | 2016-07-22T00:45:55 | 2016-07-22T00:45:55 | 62,351,673 | 0 | 0 | null | 2016-07-22T00:45:55 | 2016-07-01T00:56:27 | C++ | UTF-8 | C++ | false | false | 490 | h | /*
* Copyright (C) 2016 odanado
* Licensed under the MIT License.
*/
#ifndef INCLUDE_INPUT_H_
#define INCLUDE_INPUT_H_
namespace oti_oti_fight {
class Input {
struct Key {
bool pressed;
bool released;
Key() : pressed(false), released(false) {}
};
public:
Input();
void opera... | [
"odan3240@gmail.com"
] | odan3240@gmail.com |
def554f119b5e1b96be0ad733ffb01492cf51d6d | 8a4a69e5b39212b955eb52cc005311a440189c9b | /src/emu/cpu/m68000/m68kcpu.h | 4b0d55c68120570e3073a7b52fa4c1fbde7d9ab0 | [] | no_license | Ced2911/mame-lx | 7d503b63eb5ae52f1e49763fc156dffa18517ec9 | e58a80fefc46bdb879790c6bcfe882a9aff6f3ae | refs/heads/master | 2021-01-01T17:37:22.723553 | 2012-02-04T10:05:52 | 2012-02-04T10:05:52 | 3,058,666 | 1 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 68,512 | h | /* ======================================================================== */
/* ========================= LICENSING & COPYRIGHT ======================== */
/* ======================================================================== */
/*
* MUSASHI
* Ve... | [
"cc2911@facebook.com"
] | cc2911@facebook.com |
62d4cfaeb249ea60300dd6bc4fd1d976f19fd395 | 19742122229f417a418158630f279f81c1c503a6 | /repo/common/datatype_map.h | b1966476e12252986f678bd4d0fbc0a401214ce7 | [
"BSD-3-Clause"
] | permissive | rosstex/replex | 20bbb0829aef4f868fafb34c2a16172d6455ec6f | 2a4499ebc81622985c59647839e7f517869f8c14 | refs/heads/master | 2020-03-17T16:26:10.767096 | 2018-05-17T02:41:23 | 2018-05-17T02:41:23 | 133,748,573 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,311 | h | // Copyright (c) 2013, Cornell University
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above copyright notice,
// this list ... | [
"rapt@cs.princeton.edu"
] | rapt@cs.princeton.edu |
babdba85c48a93c8d9fee47eece08e2dcbf32936 | d4939983e7cba16bdd754e032c1a5fe3d6205bb4 | /src/modules/commander/Arming/PreFlightCheck/PreFlightCheck.cpp | 1e377f2a844bde7ca85a34ef7c9cc14429cd2da5 | [
"BSD-3-Clause"
] | permissive | Saru-1/Firmware | 494af6e64a08a40b642f185a15315b530cbc1f5e | d9ae242760b5b95113ad3b2b243e78093248e83e | refs/heads/master | 2021-01-25T22:33:10.783694 | 2020-02-26T07:33:38 | 2020-02-26T07:44:20 | 243,205,561 | 1 | 0 | BSD-3-Clause | 2020-02-26T08:10:45 | 2020-02-26T08:10:44 | null | UTF-8 | C++ | false | false | 11,615 | cpp | /****************************************************************************
*
* Copyright (c) 2019 PX4 Development Team. 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. Redistri... | [
"daniel@agar.ca"
] | daniel@agar.ca |
257a002bb2dce89edb60c6ee7235c98bef359b14 | 9b35ca3acfe47488a82fcd841a181a079f590ff7 | /libraries/chain/include/graphene/chain/protocol/personal_identity.hpp | a0b55630cef37d42e98ddb431a523d6688b7be77 | [
"MIT"
] | permissive | masoncloud/dascoin-blockchain | 2ba03d1be6a0ce606ba6c99a06226d36ee256974 | 2d5089f747801c47e8ba8464f8c7b73eb427a6e2 | refs/heads/master | 2020-03-11T11:11:46.655314 | 2018-04-12T22:28:04 | 2018-04-12T22:28:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,270 | hpp | /**
* DASCOIN!
*/
#pragma once
#include <graphene/chain/protocol/base.hpp>
namespace graphene { namespace chain {
///////////////////////////////
// Operations: //
///////////////////////////////
struct update_pi_limits_operation : public base_operation
{
struct fee_parameters_type {};
a... | [
"branislav.zelenak@roundglobe.tech"
] | branislav.zelenak@roundglobe.tech |
de448cd23dfc742e2790585e97eed33c9ce99b83 | 903767e9e1bd7ae4c273621f2787e8e93ed38553 | /Codeforces/Div2/prev/637/C.cpp | 01bf990f77b515d7085abe636a7a137a99f48fcb | [] | no_license | itohdak/Competitive_Programming | 609e6a9e17a4fa21b8f3f7fc9bbc13204d7f7ac4 | e14ab7a92813755d97a85be4ead68620753a6d4b | refs/heads/master | 2023-08-04T08:57:55.546063 | 2023-08-01T21:09:28 | 2023-08-01T21:09:28 | 304,704,923 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 915 | cpp | #include <bits/stdc++.h>
// #include "/home/itohdak/Codeforces/000/print.hpp"
using namespace std;
#define ll long long
#define REP(i,m,n) for(int i=(int)(m); i<(int)(n); i++)
#define rep(i,n) REP(i,0,n)
#define RREP(i,m,n) for(int i=(int)(m); i>=(int)(n); i--)
#define rrep(i,n) RREP(i,n-1,0)
#define REPL(i,m,n) for(ll... | [
"itohdak@gmail.com"
] | itohdak@gmail.com |
ca01e69ffb3e76d9338e2eb9d3a68b284f120e09 | dfdaae1f20cf5bf89878e50521be1c07927518be | /naive_pattern_searching_when_pattern_contains_distinct_characters.cpp | 41860a7a733362d41b7219cc33364c6a02591f5e | [] | no_license | swagata93/problems-on-string | 0dfc360bb1ef255fa747a2343408065df1903701 | 36697c38a5537e585f1603692b7c0f236e8cf4e6 | refs/heads/master | 2022-11-15T16:59:32.586118 | 2020-07-08T20:22:49 | 2020-07-08T20:22:49 | 278,098,072 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 543 | cpp | #include <bits/stdc++.h>
using namespace std;
void pattern_search(string& text, string& pattern){
auto n= text.length();
auto m= pattern.length();
for(int i=0; i<=n-m;){
int j=0;
for(; j<m; j++){
if(text[i+j]!=pattern[j])
break;
}
if(j==m){
... | [
"noreply@github.com"
] | noreply@github.com |
80e276af2b8eb0d77b3575aebaffe802d77fe48b | b858c3f36a301779cff7b0d39f5f2e197c34f329 | /Parser/Interpreter.cpp | 97e11162e9d709f6162ad61b9171684f4b6380f1 | [] | no_license | kkalwa/Parser | 343451d19a8dc200ef9f98e64078de6922ddff88 | 8dcc51abb994dc2648b71e027c20bc18aaa53cf8 | refs/heads/master | 2020-12-27T06:24:23.945116 | 2020-02-02T15:43:51 | 2020-02-02T15:43:51 | 237,794,622 | 0 | 0 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 1,077 | cpp | #include "Interpreter.h"
Kamil::Interpreter::Interpreter(const std::string& filePath): Interpreter(filePath.c_str())
{
}
Kamil::Interpreter::Interpreter(const char* filePath): s_filePtr(new File(filePath))
{
}
Kamil::Interpreter::~Interpreter()
{
delete s_filePtr;
}
void Kamil::Interpreter::trim(std::string& wo... | [
"kamil.kalwa@propoint.pl"
] | kamil.kalwa@propoint.pl |
9239348e1893f687b112a80d428c0150d9b8b18c | 1300a0fbe958aca312773d1704f4db45e354bb44 | /C++_ProjeOdevi/ProjeOdevi2/Kontrol.cpp | cacf528acd6cccf118ee6e52491e7fd1eecf416a | [] | no_license | HuseyinCengiz/UniversiteOdevleri | a4bb0fd1fcdaecfbee5e1b66e23e81188c353964 | 67a1f1a93b2527e4565de74212a7767b93efcfbc | refs/heads/master | 2021-01-24T06:17:27.383265 | 2017-06-16T15:43:21 | 2017-06-16T15:43:21 | 93,309,833 | 2 | 0 | null | null | null | null | ISO-8859-13 | C++ | false | false | 6,054 | cpp | #include "Kontrol.h"
#include <iostream>
#include<iomanip>
#include<Windows.h>
using namespace std;
char DUZCIZGI = 205;
char SOLUSTKOSE = 201;
char SAGUSTKOSE = 187;
char DIKEYCIZGI = 186;
char ASAGIAYRAC = 203;
char SOLALTKOSE = 200;
char SAGALTKOSE = 188;
char YUKARIAYRAC = 202;
char YATAYSAGAAYRAC = 204;
char YATA... | [
"hseyin.cengiz@hotmail.com"
] | hseyin.cengiz@hotmail.com |
108dec68bf9ab280e9ce3083de185792915b21ef | e15eaf42404d21d351ffe41b0e6691f2227cb761 | /quic/logging/QLoggerTypes.cpp | 0612c2c58529530be52b15ec4d3b16f9246640fc | [
"MIT"
] | permissive | aditya7fb/mvfst | d7fda752906eff598a48c68af63ff6ee0fdb7e81 | 0e6d95e910c8f8be1d6bc67be3f4c404d39427a6 | refs/heads/master | 2020-06-11T10:42:05.859476 | 2019-06-26T15:42:38 | 2019-06-26T15:46:14 | 193,934,959 | 0 | 0 | MIT | 2019-06-26T15:48:56 | 2019-06-26T15:48:56 | null | UTF-8 | C++ | false | false | 7,457 | cpp | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/
#include <quic/logging/QLoggerTypes.h>
namespace quic {
folly::dynamic PaddingFrameLog::toDynamic() const {
folly::dynamic d ... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
9ebf6d43d14499ac10cc800bd70f5178ebbc5807 | e5d1611906635b8d8a30a442a4440c91fbbca903 | /DPBFT/config/Config.cpp | 5525ee59eaed682c04a7a99bf7793bac42a9129d | [] | no_license | chechengx/chen-project | 35b39385eb347c8d4190cdcd0d6bd10762b6a1be | a8614748ce009d75aaf84ad26c001164c87d1210 | refs/heads/master | 2020-07-01T05:00:58.636195 | 2019-08-07T13:52:39 | 2019-08-07T13:52:39 | 201,055,217 | 0 | 0 | null | 2019-08-07T13:41:51 | 2019-08-07T13:22:49 | null | UTF-8 | C++ | false | false | 3,921 | cpp | //
// Created by SDEE on 2019/7/14.
//
#include "Config.h"
using namespace std;
Config::Config(string filename, string delimiter,
string comment)
: m_Delimiter(delimiter), m_Comment(comment) {
// Construct a Config, getting keys and values from given file
std::ifstream in(filename.c_... | [
"chechengx@163.com"
] | chechengx@163.com |
2daf61bbfdf1bd53d53bc3491a82786c231f76c4 | 674110a627b14db7f74a0e470c4a905c2264aa78 | /test/unit/api/session_management.cpp | 3a4dc906af7f89f1f196da2236789c509974a19d | [
"MIT"
] | permissive | ajunlonglive/oneVPL-cpu | 4e8d4250f185fa3cce6e6527219d874a93dacb8c | 7b7efd66edd099801b1c7a4edb45d5494ec67d7e | refs/heads/master | 2023-08-23T10:20:09.856703 | 2021-10-19T23:58:16 | 2021-11-01T23:18:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,047 | cpp | /*############################################################################
# Copyright (C) 2020 Intel Corporation
#
# SPDX-License-Identifier: MIT
############################################################################*/
#include <gtest/gtest.h>
#include <tuple>
#include "vpl/mfxvideo.h"
// MFXInit t... | [
"marc.a.valle@intel.com"
] | marc.a.valle@intel.com |
43106d662628006800d5d5332911b2c1a3760e46 | c983cc5310ae6f4d4e096910524cdcc83a6c9349 | /main.cpp | 107a6b9bafe86b2252d9737d7efa7aa2db843451 | [] | no_license | chaoge282/Particle | 7a7b0fc275f6d9b13b33ab99fee9153ca37f1a39 | fa505254cbd10d61494a6318c291105da62f0733 | refs/heads/master | 2020-12-30T14:13:04.846732 | 2017-05-15T03:33:42 | 2017-05-15T03:33:42 | 91,291,834 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,720 | cpp | #ifdef __APPLE__
# pragma clang diagnostic ignored "-Wdeprecated-declarations"
# include <GLUT/glut.h>
#else
# include <GL/glut.h>
#endif
#include <cmath>
#include <vector>
#include "Camera.h"
#include "Vector.h"
#include "gauss.h"
#include "Particle.h"
using namespace std;
#define WIDTH 1000 // initia... | [
"lichao@g.clemson.edu"
] | lichao@g.clemson.edu |
b5feead0c6feb0b3a2507f14c1153a595d19eabd | 23931c2c68581ad82b31b536f08259ef03a7dd66 | /sessio3/translacio_angles_dos_objectes/MyGLWidget.cpp | a59827d21cb77c8b631369c8466c6f6b88e2ed14 | [] | no_license | eric-dr/IDI-bloc-1-sessio-3 | 2228cec08014d9ac47c4d6e857c45dea93b75670 | 79fc758775956f9093619fe12f92c308136b0f79 | refs/heads/master | 2020-03-09T13:03:57.965497 | 2018-04-09T16:23:43 | 2018-04-09T16:23:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,903 | cpp | #include "MyGLWidget.h"
#include <iostream>
MyGLWidget::MyGLWidget (QWidget* parent) : QOpenGLWidget(parent)
{
setFocusPolicy(Qt::ClickFocus); // per rebre events de teclat
}
MyGLWidget::~MyGLWidget ()
{
if (program != NULL)
delete program;
}
void MyGLWidget::initializeGL ()
{
// Cal inicialitzar l'ús d... | [
"noreply@github.com"
] | noreply@github.com |
374909cee9b0807d17b4ba433360fb51a2bb6554 | cfb365319b426e2da62949fafd2a2d2c6b08b588 | /include/mxnet-cpp/symbol.hpp | d54d14ed7a76ac73c1cb9120bab3bf213fccc2a6 | [
"Apache-2.0"
] | permissive | flyers/MXNet.cpp | 3e8d22d007ef38ae43ecc3e00cb77f0971732629 | 71af5318011eb84129d7b9c568791d9ab714d68f | refs/heads/master | 2021-01-11T18:24:26.247993 | 2017-01-21T03:40:51 | 2017-01-21T03:40:51 | 79,536,056 | 0 | 0 | null | 2017-01-20T07:23:02 | 2017-01-20T07:23:02 | null | UTF-8 | C++ | false | false | 11,708 | hpp | /*!
* Copyright (c) 2016 by Contributors
* \file symbol.hpp
* \brief implementation of the symbol
* \author Zhang Chen, Chuntao Hong
*/
#ifndef MXNETCPP_SYMBOL_HPP
#define MXNETCPP_SYMBOL_HPP
#include <map>
#include <memory>
#include <string>
#include <vector>
#include "mxnet-cpp/logging.h"
#include "mxnet-cpp... | [
"mz24cn@hotmail.com"
] | mz24cn@hotmail.com |
244019bec6e860a0fb52ea506467d662e220d252 | eec48c4b68c2c29f7c5d5253ec1c69d49515b8c2 | /Old/The Longest Increasing Subsequence/The Longest Increasing Subsequence/The Longest Increasing Subsequence.cpp | 56c10810cdd792d6baed729c79e3cc28a8ff7037 | [] | no_license | nadarb/Competitive-Coding | e3465f8582f55ee5916a876fe82160ecffe920b3 | a550734621780c4e4a9f4d427e09750b1386bd25 | refs/heads/master | 2021-06-11T10:15:15.927406 | 2016-12-23T15:14:46 | 2016-12-23T15:14:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,074 | cpp | // The Longest Increasing Subsequence.cpp : Defines the entry point for the console application.
// url : https://www.hackerrank.com/challenges/longest-increasing-subsequent
#include <iostream>
#include <sstream>
#include <cstdio>
#include <cmath>
#include <cstring>
#include <cctype>
#include <string>
#include <vector... | [
"balaraveen nadar"
] | balaraveen nadar |
95b02a2da9c9968ee9dc9966241cbf256a2dcd24 | 1a9379ee4ca2c5c85ee0d9ba247edd0ea1ca06f0 | /GeeksForGeeks/Searching/Count zeroes in sorted matrix.cpp | a03d530420a64c3b608e771bf00bbb0f17581b46 | [] | no_license | prajwal714/DSA-Coding-Practice | 29c257c4ec2053743bec3dddcfdb46639b5b05cc | fc8ccaa3feedf62102736feb39eb2cc79b5c0a5b | refs/heads/master | 2023-09-05T01:28:19.940625 | 2021-10-01T09:53:07 | 2021-10-01T09:53:07 | 203,861,890 | 14 | 5 | null | 2021-10-01T09:53:08 | 2019-08-22T19:44:16 | C++ | UTF-8 | C++ | false | false | 1,471 | cpp | // { Driver Code Starts
#include <iostream>
using namespace std;
#define MAX 1000
int countZeroes(int A[MAX][MAX],int N);
int main() {
// your code goes here
int t;
cin>>t;
while(t--)
{
int n;
cin>>n;
int A[MAX][MAX];
for(int i=0;i<n;i++)
for(int j=0;j<n;j++)
cin>>A[i][j];
cout<<countZeroes(A,n)<<en... | [
"prajwal714singh@gmail.com"
] | prajwal714singh@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.