blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
74fdcc7699317ffef088fd633e6012097034e2f5 | d5cef2c6bcb7188cb7c917c450528cf37e98bc5e | /ArchaicDomination/LoadGame.cpp | ccb2ca2842651e919338c6f11ff302695aad7e8a | [] | no_license | ahfawaz/ArchaicDomination | 3fa809e720cca8140514a7af6f2efeaf72a7a794 | af6c4bbabb47f76702b288faa6175d04a866d9df | refs/heads/master | 2021-01-10T14:58:56.915798 | 2016-03-16T07:04:27 | 2016-03-16T07:04:27 | 54,007,385 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 34,339 | cpp | ////////////////////////////////////////////////////
// File: CLoadGame.cpp
// Purpose: Handles all the Loading information.
//
//
// Author: Roberto Crespo (Cresic95@fullsail.edu)
// Course: SGP 1310
////////////////////////////////////////////////////
#include "LoadGame.h"
#include "SGD Wrappers\CSGD_XAudio2.h"
#i... | [
"gamer3780@hotmail.com"
] | gamer3780@hotmail.com |
7a769d7f933a00d9edb9977e28a49f920f341ac2 | 40245649a58db11054605a725bc9168ce3626a0b | /HelloWorld/test/test_main.cpp | d4502f6d79ab05fb38316cd48ba8c026dc26706f | [] | no_license | tgibbons95/Source | 929e043b1f4c9b0b74a984ba772b62850f7827ae | 36cff8714ece1bebbc8d18ab6ef337de46d7044f | refs/heads/develop | 2023-07-17T05:30:39.247824 | 2021-03-19T20:50:02 | 2021-03-19T20:50:02 | 330,815,580 | 1 | 0 | null | 2021-01-19T05:11:48 | 2021-01-18T23:56:36 | C | UTF-8 | C++ | false | false | 576 | cpp | #include "gtest/gtest.h"
#include "HelloWorld/HelloWorld.h"
#define EXPECTED_HELLO_WORLD_LENGTH 11
TEST(HelloWorldTest, Length)
{
EXPECT_EQ (EXPECTED_HELLO_WORLD_LENGTH, HelloWorld::GetHelloWorldLength());
}
TEST (HelloWorldTest, Contents)
{
const char* expectedString = "Hello World";
const char* actualStrin... | [
"gibbons.thomas95@gmail.com"
] | gibbons.thomas95@gmail.com |
a2d96641ec50d70df67d32c2b29953bfdaccdfd0 | 56f164a81d6dde5056b2ca3f9a93ccc4050b1483 | /Example/DungeonGeneration/Unit.cpp | 3ba2b58ae856d3c38ae79fdcc6dbe11f4642667a | [] | no_license | pugakn/AI | 8493d2153a036ac9cc1a23220c4cf976d8b1dd3c | 01f8e12490cc8830f90bffddfc1d9c9f0a6c93e7 | refs/heads/master | 2021-03-16T09:11:55.257081 | 2017-08-16T05:44:12 | 2017-08-16T05:44:12 | 79,006,002 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,731 | cpp | #include "Unit.h"
#include "FSM/State.h"
#include "../DungeonGeneration/GameObjects/World.h"
void CUnit::Init()
{
m_flipSprite = false;
m_vPosition = Vector3D(0, 0, 0);
m_actualAnim = Animation::ANIMATION_TYPE::idleN;
switch (m_uIdType)
{
default:
break;
}
}
void CUnit::Destroy()
{
}
void CUnit::Update(floa... | [
"puga_deathnote@hotmail.com"
] | puga_deathnote@hotmail.com |
361ee6633a40d9e4d9a411590758fb73896158a5 | e358cd7383ba461543b02c8fd15f446c0d6a5c81 | /Problem3.cpp | a75f8e417a6d4bd7873c331d79860f978f53a0ad | [] | no_license | EadCat/-2020-Kakao_Blind_recruitment | 24fbe3a7120d256b7e4a8d7136d65e9b01e1c7a2 | 15df852eb2b727cd3d984a61aee27a485c64b636 | refs/heads/master | 2022-07-02T23:06:03.811829 | 2020-05-08T14:53:28 | 2020-05-08T14:53:28 | 262,350,147 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,718 | cpp | #include <string>
#include <vector>
using namespace std;
vector<vector<int>> rotate_clockwise(vector<vector<int>> key) {
int M = key.size() - 1;
vector<vector<int>> copy(key.size(), vector<int>(key.size()));
for (int i = 0; i < key.size(); i++) {
for (int j = 0; j < key.size(); j++) {
... | [
"eadyoung@naver.com"
] | eadyoung@naver.com |
61e9424d8f915566d309e8c5293fcaa224cc555a | 328f5e3d6968a1487d2e13156dd28c4a82827c21 | /MODEL/comp_casepsu.h | 663ea0af7da1173b23751c2676b75cd97604b095 | [] | no_license | dam-cav/componenti_pc-p2 | 12936bc4951aa2ae3f9e70bd9ba53cb19c231c63 | ef634b76b40a3131066cf4018e12224706bef4e4 | refs/heads/master | 2020-08-02T00:34:43.349432 | 2019-09-26T21:10:29 | 2019-09-26T21:10:29 | 211,178,047 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,176 | h | #ifndef COMP_CASEPSU_H
#define COMP_CASEPSU_H
#include "comp_desktopcase.h"
#include "comp_psu.h"
class comp_casepsu: public comp_desktopcase, public comp_psu
{
public:
comp_casepsu(std::string n="NA", double p=0, unsigned int cons=0, std::string ff="NA", unsigned int nf=0, unsigned int nu=0, std::string tu="NA... | [
"damiano.cavazzana@tuta.io"
] | damiano.cavazzana@tuta.io |
bf3f5cb2a9afe1c78585d2362edd4e8429ca7892 | 395702276ca3a8b7d4084c9ad238cb26737ff2ca | /Factores Comunes.cpp | 7caedd4dffe6f9a5d949c21b681234634c2d334e | [] | no_license | isanchez-aguilar/omegaUp-Solutions | d01dd40c20e4a24b06fd07e8008d0a2e94f40bb3 | bd8f744b54146aa34863cbf0131a5a67e82db118 | refs/heads/master | 2021-06-25T22:01:46.524848 | 2019-07-03T02:02:51 | 2019-07-03T02:02:51 | 137,599,484 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 988 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long Long;
Long a;
Long b;
Long i;
Long factor;
pair<Long, int> divisors[10002];
int main(void)
{
ios_base::sync_with_stdio(0);
cin.tie(0);
int size = 0;
cin >> a >> b;
if (a > b)
swap(a, b);
for (i = 2; a > 1 and i * i ... | [
"noreply@github.com"
] | isanchez-aguilar.noreply@github.com |
5d793e31a442127fca8cb17c821d85b413e99bf3 | e092784c058ef50578868c282175f27dd65397cb | /src/libawkward/Reducer.cpp | 637ba3fd6bf8baad9dd78331d69392dcfa43ebe3 | [
"BSD-3-Clause"
] | permissive | tamasgal/awkward-1.0 | 622086635a4bcd51e4c6bf555eb573d960e80208 | 3f5a4cc0a6e9c180b6e92eb76836722b7c55594a | refs/heads/main | 2023-02-02T09:16:48.392793 | 2022-04-12T09:07:58 | 2022-04-12T09:07:58 | 245,475,790 | 0 | 0 | BSD-3-Clause | 2020-03-06T17:07:56 | 2020-03-06T17:07:55 | null | UTF-8 | C++ | false | false | 95,238 | cpp | // BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE
#define FILENAME(line) FILENAME_FOR_EXCEPTIONS("src/libawkward/Reducer.cpp", line)
#include <limits>
#include "awkward/kernels.h"
#include "awkward/Reducer.h"
namespace awkward {
util::dtype
Reducer::return_dtype(util::dty... | [
"noreply@github.com"
] | tamasgal.noreply@github.com |
e7e8a262e0ddd8fca124b830846d03eafa8c6946 | 0ae3a4d0cc677492277d9fe14edf2f44d8cb69a6 | /Candle_fw/kl_lib/ChunkTypes.h | 44847de59646ef587f49fe025c3d2b9146b17fb8 | [] | no_license | Kreyl/Candle | f37d9d4f7b87cfa5957c537b8d667e8e396cf28d | 6cb09c0148f92e8b9cd089859605b78b93a3987b | refs/heads/master | 2021-01-10T16:52:04.163031 | 2018-01-04T15:30:48 | 2018-01-04T15:30:48 | 52,295,818 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 3,560 | h | /*
* ChunkTypes.h
*
* Created on: 08 ÿíâ. 2015 ã.
* Author: Kreyl
*/
#pragma once
#include "color.h"
#include "ch.h"
//#include "uart.h"
enum ChunkSort_t {csSetup, csWait, csGoto, csEnd};
// The beginning of any sort of chunk. Everyone must contain it.
#define BaseChunk_Vars \
ChunkSort_t ChunkSort; ... | [
"laystoll@yandex.ru"
] | laystoll@yandex.ru |
664aa62dc9324f6c623dc55dedf982842ec9780b | 47ccdc7bc8ddc7fa3908d6965a42dc8de1b34e1d | /POO/Heritage/todo-sequence2/dame.h | 50d7cc7bb80180a5dba955b04a6b183320a6eec4 | [] | no_license | zayfix/exosBTSSN | a531cd23d02e19d869e3a9e7f037e140abdde724 | 52c8a5c0357b450cd8fbff6e2b3ed89af8cfc47d | refs/heads/master | 2022-12-25T05:21:47.814089 | 2020-09-21T17:27:24 | 2020-09-21T17:27:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 540 | h | #ifndef DAME_H
#define DAME_H
#include <iostream>
#include <string>
#include "humain.h"
using namespace std;
class Dame : public Humain
{
public:
// Constructeur
Dame(const string nom="", const string boissonFavorite="lait", const string couleurRobe="blanche");
// Accesseurs
string getNom... | [
"zayyfix@gmail.com"
] | zayyfix@gmail.com |
5de792b2c9c69bde0612e626a094e7099c6f0bbc | 3bc68cf9e67e65754819694a9df2086d9569d749 | /src/libzerocoin/bignum.h | 07089189ccfe416d7f44cd89b21e85abc7777fda | [
"MIT"
] | permissive | white92d15b7/NLX | 72d7b7e2cb02b69563b332730ad9cc992db1428d | ba6f0c9dd317318b8bb57869d2d975ed09513de4 | refs/heads/master | 2021-06-17T10:36:42.492008 | 2019-08-22T13:08:43 | 2019-08-22T13:08:43 | 139,143,185 | 2 | 12 | MIT | 2019-06-13T22:01:11 | 2018-06-29T11:49:19 | C++ | UTF-8 | C++ | false | false | 24,005 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Copyright (c) 2017 The PIVX developers
// Copyright (c) 2019 The NulleX developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.p... | [
"partridget9@gmail.com"
] | partridget9@gmail.com |
52c553ea9444ec6c3814594a955a5cf081d72e83 | 3ee6e1ad18c4fc17ab8d703a54b0a7b76ed0439f | /arduino/cores/RP2040/Tone.cpp | e57870100f2382a15da983e9a14691c02659eeb4 | [] | no_license | OS-Q/E312 | 8e19379b3c50f23ef766ce714060a8234ba1781c | b5bfc13671090ecdfab1bb89314e611621dbf076 | refs/heads/master | 2023-05-26T18:44:59.728925 | 2021-06-03T05:51:41 | 2021-06-03T05:51:41 | 359,696,288 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,189 | cpp | /*
* Tone for the Raspberry Pi Pico RP2040
*
* Copyright (c) 2021 Earle F. Philhower, III <earlephilhower@yahoo.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* ver... | [
"qitas@qitas.cn"
] | qitas@qitas.cn |
9175734e7d2cf700ad428e2d86c964cd57b4661e | 2ab1de929d03d7f6c9c6ae978586b1cc589b783b | /variant4.cpp | fc8f5a7a49b7dca021ba4b031f29d07c84f2346e | [] | no_license | angelzbg/PIK2 | de999770e32c825d24dfdaf02d39a2e6d45e076b | 88844e7961cd67d8039748070e4e0f1f4816281c | refs/heads/master | 2020-04-23T11:23:22.087677 | 2019-02-17T15:01:16 | 2019-02-17T15:01:16 | 171,135,175 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 6,270 | cpp | /*
* Даден е двумерен масив A[N,M] където N,M са цели числа в интервала [3,5] и се въвеждат от клавиатурата.
* Да се състави програма, която въвежда елементите на масива и реализира следното:
* 1. Намира произведението от елементи на масива със стойност по-голяма от 4.56
* 2. Формира нов масив B, който съдържа елем... | [
"badblo0dbg@gmail.com"
] | badblo0dbg@gmail.com |
1d0331a01dc0129f194066cbfa679776dd7a53f1 | 2fc22300da391d41349b906c65b7f7a5fb96228d | /C++ Primer/Chapter 1/Exercise1-16.cpp | 54487f9d68925ad95ad4b49390097481626a7d87 | [] | no_license | brokenprogrammer/programming-exercises | 9f73a7c2db7e70563fb7f8b74100b51fc94ecff8 | 8b70ae7c699a01b11a0cbf48bcf3b01677905cd1 | refs/heads/master | 2021-01-24T05:24:31.207732 | 2018-11-01T18:48:24 | 2018-11-01T18:48:24 | 63,940,028 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 319 | cpp | #include <iostream>
/*
* C++ Primer Chapter 1
* Exercise 1.16
*
* Write your own version of a program that prints the sum of a set of integers read from cin.
*/
int main()
{
int sum = 0;
for (int i = 0; std::cin >> i; sum += i);
std::cout << "The sum is: " << sum << std::endl;
int i;
std::cin >> i;
return 0;
} | [
"brokenprogrammer@gmail.com"
] | brokenprogrammer@gmail.com |
be5598431d63f639e71131923f199330e32e2f82 | f8f6ad2f5eedcca37e633e7114bfea79a258fad0 | /tensorflow/core/data/service/dispatcher_state.h | 4ace89d4d27d14a304e2ce8f66c2a0fde7d81e4e | [
"Apache-2.0",
"LicenseRef-scancode-generic-cla",
"BSD-2-Clause"
] | permissive | psunn/tensorflow | d733ffbc87209ef376ecbe3a2bf295259a41e0dc | 192fa1a6fb985ca187589a5d6eaa0b0e08b14af6 | refs/heads/master | 2023-08-05T03:05:57.799035 | 2023-07-31T17:38:09 | 2023-07-31T21:01:53 | 213,564,546 | 0 | 0 | Apache-2.0 | 2019-10-08T06:26:23 | 2019-10-08T06:26:22 | null | UTF-8 | C++ | false | false | 14,835 | h | /* Copyright 2020 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 |
5fb8ec6fdaebbcc71b39aa22f0626297f25dfabf | 1d928c3f90d4a0a9a3919a804597aa0a4aab19a3 | /c++/Halide/2017/8/AutoScheduleUtils.h | 1ad45f56f1017af07aabe51a1c90931c39c3cae9 | [] | no_license | rosoareslv/SED99 | d8b2ff5811e7f0ffc59be066a5a0349a92cbb845 | a062c118f12b93172e31e8ca115ce3f871b64461 | refs/heads/main | 2023-02-22T21:59:02.703005 | 2021-01-28T19:40:51 | 2021-01-28T19:40:51 | 306,497,459 | 1 | 1 | null | 2020-11-24T20:56:18 | 2020-10-23T01:18:07 | null | UTF-8 | C++ | false | false | 3,983 | h | #ifndef HALIDE_INTERNAL_AUTO_SCHEDULE_UTILS_H
#define HALIDE_INTERNAL_AUTO_SCHEDULE_UTILS_H
/** \file
*
* Defines util functions that used by auto scheduler.
*/
#include <set>
#include <limits>
#include "Bounds.h"
#include "Interval.h"
#include "IRVisitor.h"
#include "IRMutator.h"
namespace Halide {
namespace In... | [
"rodrigosoaresilva@gmail.com"
] | rodrigosoaresilva@gmail.com |
f203e468b91edd38d5a5c9689b19a1bfcac048fa | 208c9c4fc8d8ad06f1ca56a0a68470927534c190 | /Cpp_Primer_Plus/Chapter7/calling.cpp | 89e8a5cd75c4c4f3eb7eaafcafbd51e2e0327bd9 | [] | no_license | Tenderest/CPP-Learning | e367adf5c0abb497992c0d4f5c8ce2289db0faf9 | 7fc92c96b00f9ecf8c27f68039a6fea4bb1fbb8d | refs/heads/main | 2022-10-15T19:36:29.384763 | 2022-05-27T08:55:27 | 2022-05-27T08:55:27 | 233,337,137 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 503 | cpp | // calling.cpp -- defining, prototyping, and calling a function
#include <iostream>
void simple (void); // 函数原型 function prototype
int main(void)
{
using namespace std;
cout << "main() will call the simple() function:\n";
simple(); // 函数调用 function call
cout << "main() is finished with t... | [
"2087886585@qq.com"
] | 2087886585@qq.com |
63496292a3dae10a339007cdc252b056f0f84710 | 3a64e270d381bc59195d4b9ddf5e719d814c9ab1 | /code/scene_models/visitorgetmeshnodesunderspecifictransformation.h | ac198ef4b0429bd118c4a5d8719244dfd5ce6b35 | [] | no_license | aplars/spiral | b0fb5934ef70c9fe29e05dd9c02833704313eec4 | b72fcacb57bab33cee996c75c55cd461045c0981 | refs/heads/master | 2021-01-17T01:47:06.794126 | 2017-11-23T20:20:18 | 2017-11-23T20:20:18 | 47,001,847 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 748 | h | #pragma once
#include "visitor.h"
#include <set>
#include "transformationnodemodel.h"
namespace sa {
class VisitorGetMeshNodesUnderSpecificTransformation : public Visitor
{
public:
VisitorGetMeshNodesUnderSpecificTransformation(const std::string& nodeName)
: m_nodeName(nodeName)
{
}
~VisitorGetMeshNodesU... | [
"tobias.orre@hiq.se"
] | tobias.orre@hiq.se |
0cb38eaa326503bd57917293233152a3ecc2a152 | 43e8c14a902f1ba35a7cdf22fdd931934dfeef9f | /source/TimeEngineSDL.cpp | 426f5040632c5d0bcf979d6f33ade7dab12fea99 | [] | no_license | thrawn235/GalaxyEngine | d349fbf95f817ebb0674fe2f71d657e969c63667 | 9bb4036b76755db2d0da29b282a95aa113530e3f | refs/heads/main | 2023-06-05T03:22:12.141380 | 2021-06-20T10:13:14 | 2021-06-20T10:13:14 | 329,748,060 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,608 | cpp | //TimeEngineSDL.cpp
#include "TimeEngineSDL.h"
#include "GameEngine.h"
TimeEngineSDL::TimeEngineSDL( GameEngine* engine ) : TimeEngine( engine )
{
frameStart = 0;
frameEnd = 10000;
frameTime = 0;
highestTimeStampID = 0;
Uint32 subsystem_init = SDL_WasInit(SDL_INIT_EVERYTHING);
if( subsystem_init == 0... | [
"thrawn235@gmail.com"
] | thrawn235@gmail.com |
6dae76dbcfc872a41d3fc6221ee68961d2f2d347 | e405cc2e7194af0f565bfed54c932942b3b30ce9 | /test/functional/src/test_tab_color01.cpp | 9f582e7c216071000e25dd3b43c89a21595f926c | [
"BSD-3-Clause",
"BSD-2-Clause-Views",
"Zlib"
] | permissive | WilliamQf-AI/libxlsxwriter-cpp | 406e09c1fdd3e76f2b3e1ac0c8028f95814b8d9b | dcd063a8523de605894f3592d17b0ebb2e133fa9 | refs/heads/master | 2023-06-17T04:17:25.315186 | 2017-12-16T15:03:43 | 2017-12-16T15:03:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 624 | cpp | /*****************************************************************************
* Test cases for libxlsxwriter.
*
* Test to compare output against Excel files.
*
* Copyright 2014-2016, John McNamara, jmcnamara@cpan.org
*
*/
#include "xlsxwriter.hpp"
int main() {
std::shared_ptr<xlsxwriter::workbook> workbo... | [
"realwenzel@gmail.com"
] | realwenzel@gmail.com |
390fc8ba138f3f1519a3eac11777fafe3873ffca | a15200778946f6f181e23373525b02b65c44ce6e | /Algoritmi/2020-09-18/all-CMS-submissions-2020-09-18/20200918T114852.VR439318_id057zkp.altopiano.cpp | a8a33734c14fcd23226c95f65829757b65e64c0e | [] | no_license | alberto-uni/portafoglioVoti_public | db518f4d4e750d25dcb61e41aa3f9ea69aaaf275 | 40c00ab74f641f83b23e06806bfa29c833badef9 | refs/heads/master | 2023-08-29T03:33:06.477640 | 2021-10-08T17:12:31 | 2021-10-08T17:12:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,376 | cpp | /**
* user: VR439318_id057zkp
* fname: GIANLUCA
* lname: PAVAN
* task: altopiano
* score: 1.0
* date: 2020-09-18 11:48:52.704572
*/
#include <cassert>
#include <iostream>
#include <stdio.h>
#include <cstdio>
#include <stdlib.h>
#include <cstdlib>
#include <limits>
#include <deque>
#include <vector>
using na... | [
"romeo.rizzi@univr.it"
] | romeo.rizzi@univr.it |
fd0763364a6b47f555a1e9dc4c31f38504598a2b | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/CMake/CMake-gumtree/Kitware_CMake_repos_basic_block_block_17422.cpp | 7b2769eaa2b089957535882dddc6d2dc324c8c5c | [] | 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 | 170 | cpp | (archive_entry_ctime_is_set(file->entry)) {
r = xmlwrite_time(a, writer, "ctime",
archive_entry_ctime(file->entry), 1);
if (r < 0)
return (ARCHIVE_FATAL);
} | [
"993273596@qq.com"
] | 993273596@qq.com |
9612237031c4dfe2103c250fddbc912d0ef70c13 | c0cf702507d5efad8b75d927b3ec6a0039057502 | /Source/NeneSample/Cpp/Simple/Main.hpp | 00d67d98987961f24b778728e88b68c600dbdcba | [] | no_license | blizmax/NeneEngine | 1f5fb741ccd434efa420b22857d975fed1e57e84 | dbd3b018ce91fb947d12cac9b0d1ab2fc47cfead | refs/heads/master | 2023-01-14T02:05:52.117020 | 2020-11-16T07:19:10 | 2020-11-16T07:19:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,742 | hpp | /*Copyright reserved by KenLee@2018 ken4000kl@gmail.com*/
#ifndef SIMPLE_MAIN_HPP
#define SIMPLE_MAIN_HPP
#include "NeneEngine/Debug.h"
#include "NeneEngine/Nene.h"
namespace simple
{
void MyCallback(std::shared_ptr<BaseEvent> eve) {
std::shared_ptr<KeyboardEvent> k_event = std::dynamic_pointer_cast<KeyboardEvent... | [
"ken4000kl@gmail.com"
] | ken4000kl@gmail.com |
ade9ea3f9db872f05d6a4961e93cc8244fac43a8 | b8f6552591fcbcdeac92ee6b9463ee3730a01416 | /tensorflow/lite/experimental/micro/examples/micro_speech/timer_test.cc | 83a2dfcc65d766f0434dbc10c9080b9d8ed603b0 | [
"Apache-2.0"
] | permissive | jamiejackherer/tensorflow | 75df86e9e1abfe40c3f573000834a192fbb16d2b | 8b3aad682674f244b3bfaa06855ccb03e2ff5f7e | refs/heads/master | 2020-04-08T12:54:55.630829 | 2018-11-27T18:46:03 | 2018-11-27T18:46:03 | 159,366,991 | 0 | 0 | Apache-2.0 | 2018-11-27T18:46:04 | 2018-11-27T16:37:21 | C++ | UTF-8 | C++ | false | false | 1,953 | cc | /* Copyright 2018 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 |
cdf78baec5fb00f9971ff0b2e86ef6ab319e74b4 | 65b122a5694cb83e99deac30d933133ce5ebee0a | /include/player_spells_handling.hpp | 672e3073c898d3de912c9fac7d5638df017a52f3 | [] | no_license | Lain-/ia | 4aee5c1f4c64a3c2554e1afd825eb9a8264cbfe2 | bd4cd060e7c8c9a274e863925b4ac150a45006bf | refs/heads/develop | 2021-01-15T19:13:07.667077 | 2015-08-09T19:56:34 | 2015-08-09T19:56:34 | 30,091,458 | 0 | 0 | null | 2015-01-30T21:26:15 | 2015-01-30T21:26:15 | null | UTF-8 | C++ | false | false | 584 | hpp | #ifndef PLAYER_SPELLS_HANDLING_H
#define PLAYER_SPELLS_HANDLING_H
#include <vector>
#include "menu_browser.hpp"
#include "spells.hpp"
class Spell;
namespace player_spells_handling
{
void init();
void cleanup();
void store_to_save_lines(std::vector<std::string>& lines);
void setup_from_save_lines(std::vector<std::... | [
"m.tornq@gmail.com"
] | m.tornq@gmail.com |
daac28be03eadbbec2815814580bc382de3f4ce9 | 0f7756029f3070bf7b638242b4d0cf2f34090790 | /test/src/test/test.cpp | 79720a7f743c4c34e6941d1cd8c40452113f63e2 | [] | no_license | hikmetcankara/STM32-Quadcopter | c2e8231fea59e02e8f3a01580e8e6381101eea85 | e50edcc3e292907b7eaf38644898e44291f245d6 | refs/heads/master | 2023-03-17T23:45:35.880591 | 2016-01-23T21:31:06 | 2016-01-23T21:31:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,817 | cpp | /*
* test.cpp
*
* Created on: Jan 23, 2016
* Author: Gabriel Fernandes
*/
#include "test.h"
float pid_p_gain_roll = 1.3; //Gain setting for the roll P-controller (1.3)
float pid_i_gain_roll = 0.05; //Gain setting for the roll I-controller (0.3)
float pid_d_gain_roll = 15; //Gain setting for... | [
"gabrielblfernandes@gmail.com"
] | gabrielblfernandes@gmail.com |
e5501b3b0de1b87d4a1261acafe8683e393f6ff6 | 78e529a44b7029007bfc75cc0d7042ff4ae22699 | /graph theory/graphs2/practice.cpp | 0da9a43998d77107e104867ec4fb55e91d30bf34 | [] | no_license | himanshkukreja/competitveProgramming | 3d842b0344c6ccb86e05d3d291e56c8a0747a8de | 6541584dc2c39d7008dd34b53d1962907078cdc9 | refs/heads/master | 2023-06-21T18:36:32.392212 | 2021-07-24T04:21:20 | 2021-07-24T04:21:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,796 | cpp | #include <bits/stdc++.h>
//#include <boost/multiprecision/cpp_int.hpp>
//using namespace boost::multiprecision;
using namespace std;
#define ll long long int
//#define bint cpp_int
#define pii pair<int, int>
#define mod 1000000007
#define REP(i, a, b) for (int i = a; i < b; i++)
#define maxN 1000001
#define INF 0x3f3f3... | [
"princem.ec.19@gmail.com"
] | princem.ec.19@gmail.com |
9740eb81a6538f969c55aa62104f6cab59315b29 | f20e965e19b749e84281cb35baea6787f815f777 | /LHCb/Phys/LoKiGen/LoKi/GenParticles5.h | 7e371fad7525bc1087774a4165c077f69520d064 | [] | no_license | marromlam/lhcb-software | f677abc9c6a27aa82a9b68c062eab587e6883906 | f3a80ecab090d9ec1b33e12b987d3d743884dc24 | refs/heads/master | 2020-12-23T15:26:01.606128 | 2016-04-08T15:48:59 | 2016-04-08T15:48:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,337 | h | // $Id$
// ============================================================================
#ifndef LOKI_GENPARTICLES5_H
#define LOKI_GENPARTICLES5_H 1
// ============================================================================
// Include files
// =======================================================================... | [
"ivan.belyaev@cern.ch"
] | ivan.belyaev@cern.ch |
a511e2e78190695c0991895ace3e4470c06b5943 | f66ca7e6d96638d129c73e4dab57223ee57bd7fe | /p494/p494_2.cpp | f6e428816f05b639e35e6164e6d124d4337ec7cb | [
"MIT"
] | permissive | suzyz/leetcode_practice | e4a5ab30b60318dc087452daef7dab51727d396a | e22dc5a81e065dc962e5561b14ac84b9a2302e8a | refs/heads/master | 2021-01-19T01:17:49.194902 | 2019-01-12T13:27:56 | 2019-01-12T13:27:56 | 95,619,304 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 531 | cpp | //
class Solution {
public:
int findTargetSumWays(vector<int>& nums, int S) {
int n = nums.size();
int sum = 0;
for (int i = 1; i <= n; ++i)
sum += nums[i-1];
if (S > sum || S < -sum || (S+sum)%2 != 0)
return 0;
int target = (sum + S) >> 1;
... | [
"suzyzhang0@gmail.com"
] | suzyzhang0@gmail.com |
c9e5ea00d9910977ff8999e3fc5c2f14cbf82484 | f00f2b22d82ba93e9e73f1642bbd1eaf40c9d02e | /IndexPair.h | 9b86974b498e5e4ce9ce8efc55b2c4d9b9674e5a | [] | no_license | marcelra/plingtheory | a09708bc917f9af70e69960984174f219fd6ea7c | 66d175b5fd6d125302fb3b9ab216c800ba8a555d | refs/heads/master | 2021-05-16T03:04:29.445126 | 2015-08-29T21:03:40 | 2015-08-29T21:03:40 | 16,084,299 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 150 | h | #ifndef INDEXPAIR_H
#define INDEXPAIR_H
#include <utility>
#include <cstddef>
typedef std::pair< size_t, size_t > IndexPair;
#endif // INDEXPAIR_H
| [
"marcel.raas@gmail.com"
] | marcel.raas@gmail.com |
01ef9dabfcafd17a116a322f562a7aee88cc292a | 711e5c8b643dd2a93fbcbada982d7ad489fb0169 | /XPSP1/NT/multimedia/directx/dplay/dnet/dnaddress/adddllmain.cpp | 2bebb2d3de009be31f955f3889f0d8e6fd011d98 | [] | no_license | aurantst/windows-XP-SP1 | 629a7763c082fd04d3b881e0d32a1cfbd523b5ce | d521b6360fcff4294ae6c5651c539f1b9a6cbb49 | refs/heads/master | 2023-03-21T01:08:39.870106 | 2020-09-28T08:10:11 | 2020-09-28T08:10:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,496 | cpp | /*==========================================================================
*
* Copyright (C) 2000 Microsoft Corporation. All Rights Reserved.
*
* File: DllMain.cpp
* Content: Defines the entry point for the DLL application.
*@@BEGIN_MSINTERNAL
* History:
* Date By Reason
*... | [
"112426112@qq.com"
] | 112426112@qq.com |
6a108c57af92f305b590778eab70a46a844eb790 | 0388ae6afa8f4a73a8a5211edb62b7ca64e408c3 | /Stack&Queue/面试题59-2:队列的最大值/QueueWithMax.cpp | 01fa8cf10f37b9e1c8bfc3a889aeeb6b74714088 | [] | no_license | Wanna-SSJ/Coding-Interviews | 1960cf91a6bbe9790050630089620831f280c882 | c60b92870bd2a1c781381d318c3368e93d4b73d4 | refs/heads/master | 2022-02-16T13:12:05.302261 | 2019-08-31T15:38:09 | 2019-08-31T15:38:09 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,956 | cpp | #include"QueueWithMax.h"
#include<stdio.h>
#include<assert.h>
void InitQueueS(QueueS queue)
{
assert(queue != NULL);
queue->front = 0;
queue->rear = 0;
}
bool IsFull(QueueS queue)
{
return (queue->rear + 1) % SIZE == queue->front;
}
bool Push_front(QueueS queue,int val)
{
assert(queue != NULL);
if (IsFull(q... | [
"2251729740@qq.com"
] | 2251729740@qq.com |
007d164ef6842768982c3127488dbdf0412e5320 | 7683129c7f0434acf8512566eda06fa484095c64 | /knapsack.cpp | b2cb7715e8f6f917b7a34023035245fdc4d3290c | [
"MIT"
] | permissive | CaQtiml/Dynamic-Programming-Divide-Conquer | 582738261ff518fb4c994fe11e8fa4dca63cf8a7 | ea100231ae96b484e86ae7af8f62b1a47f66c1fd | refs/heads/master | 2021-07-20T02:33:26.860096 | 2020-05-16T14:54:22 | 2020-05-16T14:54:22 | 152,825,033 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 459 | cpp | #include "bits/stdc++.h"
using namespace std;
#define MAX 1000000
int dp[ MAX + 5 ] ;
int main()
{
int sum = 0 , n ;
scanf ( " %d " , &n ); // n=number of item
for ( int i = 0 ; i < n ; i++ )
{
int w , v ;
scanf ( " %d %d " , &w , &v ) ;
sum += w ;
for ( int j = sum ; j >= w ; j-- )
{
dp... | [
"noreply@github.com"
] | CaQtiml.noreply@github.com |
7c141ba37f2bb585344a821a98a442fde4393151 | 40a7f3763f99aee284a110898900a70287561c14 | /42_Containator/select_your_tests/select_vector_tests.hpp | 7e9fbc99804b401b915acaacee9bb81c3907bb93 | [] | no_license | hherin/Ft_containers | 0f0a0f9b01926bce498e0e4a979fc396050be429 | b76eb454672af3544a0f828aa880cfd5ba5275e3 | refs/heads/main | 2023-03-14T11:01:19.525770 | 2021-03-03T10:43:57 | 2021-03-03T10:43:57 | 326,646,283 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,092 | hpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* select_vector_tests.hpp :+: :+: :+: ... | [
"hlne.herin@gmail.com"
] | hlne.herin@gmail.com |
5b90e518881093645d2452255162451511f8f1ff | 1cc9decc5a6e57104c13898d63fa8fa984017604 | /17/solution.cpp | 0fcea76cbdac4be0b892ab8fcaff3b979be9724c | [] | no_license | usrlocalben/aoc2020 | 2fad1c9be38d033d223b0eb8fb6df850006758c7 | 69fb0ff21974e3dd7a121406b4f03479228ba7fb | refs/heads/main | 2023-02-02T14:37:20.647535 | 2020-12-26T15:11:41 | 2020-12-26T15:14:09 | 318,011,398 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,717 | cpp | #include "../lib.hpp"
using namespace std;
int main() {
constexpr int dim = 8/*input*/ + (6*2)/*growth*/ + 2/*oob margin*/;
vector<char> za( dim*dim*dim, 0); auto zb = za;
vector<char> wa(dim*dim*dim*dim, 0); auto wb = wa;
string l;
int c=dim/2;
int o=(dim-8)/2;
for (int z=6; getline(cin, l); ++z) {
for (i... | [
"benjamin@rqdq.com"
] | benjamin@rqdq.com |
1b0c81cb59f3d4ba957f46e6cce910abeccc13a1 | 453b24f6cc0c71d69133db6e11e46c5b0c9ec815 | /Claw.cpp | ab81c2d973ea2ce6f3efa188e69a00583d56f3fb | [] | no_license | lokesh234/RBE2001 | ff7dc299b7b754c78ee25c9d056473c04bd2bbf1 | 36839c437f7910dfb9ab846a237365bff90b5ef2 | refs/heads/master | 2020-06-10T19:26:51.181302 | 2019-06-25T14:24:48 | 2019-06-25T14:24:48 | 193,721,876 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 479 | cpp | #endif /* LIBRARIES_RBE2001_SRC_ROBOT_CLAW_H_ */
/*
* Claw.cpp
*
* Created on: Oct 12, 2018
* Author: lokesh
*/
#include <robot/Claw.h>
#include <ESP32Servo.h>
//Defining the constructor from the header file
Claw::Claw(unsigned char clawPin)
{
claw = new Servo();
claw->attach(clawPin, 1000, 2000);
}
... | [
"lgangaramaney@wpi.edu"
] | lgangaramaney@wpi.edu |
69547da9015dd55562eb102f2bd108e63030b453 | 3cf9e141cc8fee9d490224741297d3eca3f5feff | /C++ Benchmark Programs/Benchmark Files 1/classtester/autogen-sources/source-13203.cpp | 67528b14d2b74a7a82c52137e938d05a347bf03e | [] | no_license | TeamVault/tauCFI | e0ac60b8106fc1bb9874adc515fc01672b775123 | e677d8cc7acd0b1dd0ac0212ff8362fcd4178c10 | refs/heads/master | 2023-05-30T20:57:13.450360 | 2021-06-14T09:10:24 | 2021-06-14T09:10:24 | 154,563,655 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,975 | cpp | struct c0;
void __attribute__ ((noinline)) tester0(c0* p);
struct c0
{
bool active0;
c0() : active0(true) {}
virtual ~c0()
{
tester0(this);
active0 = false;
}
virtual void f0(){}
};
void __attribute__ ((noinline)) tester0(c0* p)
{
p->f0();
}
struct c1;
void __attribute__ ((noinline)) tester1(c1* p);
struct c1 : c0
{
bo... | [
"ga72foq@mytum.de"
] | ga72foq@mytum.de |
3bf2d401a53928b4b70b8fe42d19f183e45fa443 | 57ab791762dc1b633ca81c48f4634e4d074a12c6 | /SpaceRaiders/GameObjects.h | bb19cee343b8c2f7d8914ed3c223519b5a0c447d | [] | no_license | SeungyulOh/RealworldOne | 79fa5575ba302b6ba87d32f7e975ab3314ff56d6 | 5896d0328f60394a3fdf9e597f2c7c8b881084a5 | refs/heads/master | 2020-07-15T21:26:32.830030 | 2019-09-01T10:51:30 | 2019-09-01T10:51:30 | 205,651,550 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,407 | h | #pragma once
#include <basetsd.h> // for UINT32
#include "Vector2D.h"
#include <functional>
#include <vector>
enum RaiderObjectTypeId
{
RI_Player = 0,
RI_Alien,
RI_PlayerLaser,
RI_AlienLaser,
RI_Explosion,
RI_WallBlock,
RI_PowerUp,
RI_ExplosionCell,
RI_End
};
enum RaiderSprites
{
RS_TakeDefault = 0xff,
RS... | [
"happycap88@gmail.com"
] | happycap88@gmail.com |
a72746e2037fe73eb137de4c78032f0b7a482930 | 126f1b45deb115358783b2a334308fc13065e066 | /Workspace/org.miip.assist/org.miip.assist/NeoPixel.h | 6652a8bc6c294e8b17cb2d8e3cbe38266e79ed53 | [
"Apache-2.0"
] | permissive | condast/mip2017 | 64aafffab563592655c241d343a6636fefd1a0af | e5b13d7713ecb2fe448fa648a6f8193eeb44d268 | refs/heads/master | 2022-09-07T02:01:16.881278 | 2022-08-08T15:09:41 | 2022-08-08T15:09:41 | 95,765,968 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,361 | h | #ifndef NeoPixel_h
#define NeoPixel_h
#include "Arduino.h"
#define PIN 6
#define LEDS 24
// This is for Trinket 5V 16MHz, you can remove these three lines if you are not using a Trinket
#if defined (__AVR_ATtiny85__)
if (F_CPU == 16000000) clock_prescale_set(clock_div_1);
#endif
// End of trinket special... | [
"info@condast.com"
] | info@condast.com |
a956bce8dfb1930be62f3578417312d9862083e6 | 6754fedd87afba36ec8f004825bb852b00ac8fb2 | /src/boost/mpi/detail/mpi_datatype_cache.hpp | 4564849508a258d773d20eec89e797f40bacfddd | [
"BSD-3-Clause",
"BSL-1.0"
] | permissive | cpmech/vismatrix | 4e7b8a3e0448f4c9565fa649e9c9af0e05707346 | a4994864d3592cfa2db24119427fad096303fb4f | refs/heads/main | 2021-08-15T21:52:56.975004 | 2020-09-24T00:55:35 | 2020-09-24T00:55:35 | 54,020,206 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,579 | hpp | // (C) Copyright 2005 Matthias Troyer
// Use, modification and distribution is subject to the Boost Software
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
// Authors: Matthias Troyer
#ifndef BOOST_MPI_DETAIL_TYPE_MPI_DATATYPE_CACHE_HPP
#define BO... | [
"dorival.pedroso@gmail.com"
] | dorival.pedroso@gmail.com |
3c41af9f61ea5bb165724bec7c4812bd27d0f817 | a2e04e4eac1cf93bb4c1d429e266197152536a87 | /Cpp/SDK/Title_HC_HunterOfTheSeaOfThieves_classes.h | bf3fbede0cb092cada8701c7aa51e1845ed6cb7d | [] | no_license | zH4x-SDK/zSoT-SDK | 83a4b9fcdf628637613197cf644b7f4d101bb0cb | 61af221bee23701a5df5f60091f96f2cf929846e | refs/heads/main | 2023-07-16T18:23:41.914014 | 2021-08-27T15:44:23 | 2021-08-27T15:44:23 | 400,555,804 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 801 | h | #pragma once
// Name: SoT, Version: 2.2.1.1
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Classes
//------------------------------------------------------------... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
3a19c56970640103f20d07052fd3b8f074ba2146 | df03679d5fca1775ff5cc23be837f132a7a03bc3 | /camera.h | e72bce94ce82853db11180528ccf26aad47b5e63 | [
"MIT"
] | permissive | easaw/pano-controller | 80ff5e021fa7a69cbb23a1f18697e9108b15cb66 | 44a597d68bf0e6ab4e0897b2f4218dca393326bd | refs/heads/master | 2020-12-28T22:53:15.706226 | 2016-04-09T06:42:31 | 2016-04-09T06:42:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 951 | h | /*
* Camera control
*
* Copyright (C)2016 Laurentiu Badea
*
* This file may be redistributed under the terms of the MIT license.
* A copy of this license has been included with this distribution in the file LICENSE.
*/
#ifndef CAMERA_H_
#define CAMERA_H_
#include <math.h>
// shutter pulse, in ms - 100 = 0.1s
#... | [
"laurb9@gmail.com"
] | laurb9@gmail.com |
2fb9b53a23f97d0d1361537f361ff1aba3bbd6e3 | 11426005738c6f8f3efc5f5ff1d29e52f4ca847f | /232.用栈实现队列.cpp | dffeab0b09886f2f0508e98b04052305fdc3b80f | [] | no_license | Chaosame/leetcode_cpp | 9f4075c7e859b5a2636036e2fa6272bec2113e25 | 1ce8ab198b18248d39168f7c8419626e8cd94b39 | refs/heads/main | 2023-04-05T07:03:08.996209 | 2021-04-09T13:34:02 | 2021-04-09T13:34:02 | 344,394,080 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,302 | cpp | /*
* @lc app=leetcode.cn id=232 lang=cpp
*
* [232] 用栈实现队列
*/
// @lc code=start
class MyQueue {
public:
/** Initialize your data structure here. */
stack<int>s1; //用来入队
stack<int>s2; //用来出队
int front; //记录队列头元素
MyQueue() {
}
/** Push element x to the back of queue. */
void push... | [
"448473621@qq.com"
] | 448473621@qq.com |
5bd92ac14bc7e5f21bd6d45508ddb7fb59cc83f8 | 7b70f14ff6dbbf8b8b1f95985f377d718b3bcd44 | /Project/Code/Input/Manager.h | b1a175401b1a9a41bd33d259ba483d471cbf2501 | [] | no_license | o-joh4869/GCL-Project | 44bd1a5b3361fd6fa83817ea41113277e2200b61 | b9992606c0f109ceb86a9440801c0011b62b7218 | refs/heads/develop | 2020-05-01T03:31:30.291033 | 2019-03-29T07:57:23 | 2019-03-29T07:57:23 | 177,246,953 | 0 | 0 | null | 2019-03-29T07:57:24 | 2019-03-23T05:11:24 | C++ | UTF-8 | C++ | false | false | 142 | h | #pragma once
namespace Input {
class Manager {
private:
Manager() = delete;
~Manager() = delete;
public:
static void update();
};
} | [
"jack007conan@outlook.jp"
] | jack007conan@outlook.jp |
f9d029cabccbe009ac664b9bb95e4816564f581c | fceeabeeb61f1df362b549954f5e556199390329 | /http/abstract_message.cpp | 7088ce507c73ecb3359a84198352829c94cc3de1 | [] | no_license | autumncoffee/cxx-library | 978fc660ad50eaf576c3d427d34a1ca4d47930e2 | 0281edfc3ebdc5201a5e3dd30e3803a61faf8f08 | refs/heads/master | 2021-06-23T12:43:45.240275 | 2021-01-13T15:15:33 | 2021-01-13T15:15:33 | 152,107,547 | 1 | 1 | null | 2020-11-17T15:35:45 | 2018-10-08T15:57:38 | C++ | UTF-8 | C++ | false | false | 32 | cpp | #include "abstract_message.hpp"
| [
"kain.winterheart@gmail.com"
] | kain.winterheart@gmail.com |
10eac5c838f75ad671995b28c5c6103497b776dc | 0149a18329517d09305285f16ab41a251835269f | /Contest Volumes/Volume 115 (11500-11599)/UVa_11506_Angry_Programmer.cpp | 74cc3caf621302f7f55f3a864a46ee59e639cdfa | [] | no_license | keisuke-kanao/my-UVa-solutions | 138d4bf70323a50defb3a659f11992490f280887 | f5d31d4760406378fdd206dcafd0f984f4f80889 | refs/heads/master | 2021-05-14T13:35:56.317618 | 2019-04-16T10:13:45 | 2019-04-16T10:13:45 | 116,445,001 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,242 | cpp |
/*
UVa 11506 - Angry Programmer
To build using Visucal Studio 2012:
cl -EHsc UVa_11506_Angry_Programmer.cpp
*/
/*
The max-flow min-cut theorem states that in a flow network, the maximum amount of flow
passing from the source to the sink is equal to the minimum capacity that, when removed
in a specif... | [
"keisuke.kanao.154@gmail.com"
] | keisuke.kanao.154@gmail.com |
47196fb1e7d6fba359f29f5797be919c31b8c823 | ce429bc93488e42629f877dbc5fbd5e206e6df3e | /实验54 综合测试实验/NES/mapper/MAP源文件(未修改的)/058.cpp | e4255e80b1c6aeaa69cd29630f589ad81b02ead2 | [] | no_license | 898311543/worship_stm32 | eaaf0c8355f57ffd8f8dc844a37d03935da1a516 | 2f29108a776949bde3dd2b94e9c44636aaf148df | refs/heads/master | 2021-04-27T00:16:48.914283 | 2018-03-04T11:59:52 | 2018-03-04T11:59:52 | 123,784,161 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,293 | cpp | #ifdef _NES_MAPPER_CPP_
/////////////////////////////////////////////////////////////////////
// Mapper 58
void NES_mapper58::Reset()
{
set_CPU_banks(0,1,0,1);
set_PPU_banks(0,1,2,3,4,5,6,7);
}
void NES_mapper58::MemoryWrite(uint32 addr, uint8 data)
{
if(addr & 0x40)
{
set_CPU_bank4(2 * (add... | [
"898311543@qq.com"
] | 898311543@qq.com |
41f02c0956e9413d677d3a7d9c21810bebd202df | 9ae4e58f83d20ff21695b93e703448dc68465c44 | /code/instructions/inc/instruction_map.h | 8b3cbd786b31dd06793a5e2085d0c4ceb136a388 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"CC0-1.0"
] | permissive | rafafigueroa/asl-manzano | 4a7eec49ac8e762e82605f012c3afcec6ad578d2 | ed27faa805d150ba9ce5d772e52a957158c83dfb | refs/heads/master | 2021-04-29T01:58:58.082025 | 2017-02-15T14:28:29 | 2017-02-15T14:28:29 | 78,065,067 | 1 | 0 | null | 2017-01-15T19:40:54 | 2017-01-05T00:43:09 | C++ | UTF-8 | C++ | false | false | 1,929 | h | // Manzano Software //
#ifndef _MZN_INSTRUCTION_MAP_H_
#define _MZN_INSTRUCTION_MAP_H_
#include <iostream>
#include <vector>
#include <array>
#include <map>
#include <unordered_map>
#include "user_instruction.h"
#include "target_address.h"
namespace mzn {
//! Namespace for functions describing the acceptable combin... | [
"rfigueroa@usgs.gov"
] | rfigueroa@usgs.gov |
a69a4ec4d3d4413443565025ff80c5d60a51b710 | 59c872959426cab5801d33faa2b6b7f982a5e814 | /src_109-do-not-use/Draw4.cpp | e8aded4809e007c167d53cdfef1cab22d976d791 | [] | no_license | titango/pp3 | c44227d6221411f0222cea72da3bef6b4ce1df0a | 51591c0a5a3a2aac585c11ca3cb0d42d0d4863e7 | refs/heads/master | 2020-04-09T07:35:13.893773 | 2013-09-23T01:53:21 | 2013-09-23T01:53:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,455 | cpp | /*
* Definition
* Class: Draw4
* Date created: Oct 18 2008
* Written by: Pasquale Barile
*
* See header file for details
*
*/
using namespace std;
#include "Draw4.h"
Draw4::Draw4(GPConfig* conf) :
Function(ReturnFunc::TYPENUM, 4, "Draw4", conf)
{
for (int i = 0; i < maxArgs; i++)
setArgNReturn... | [
"ngotanthinh92@gmail.com"
] | ngotanthinh92@gmail.com |
70df5c0e051c8d8311f9046b29dfc389e1aec665 | 12d8a384d0c693a1847f5955bf922af78fbf43f4 | /cpp/runtests.cpp | 3daf585104bb58b0961a4aac2c0bd6bf36532ecc | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | zsalch/GoNN | f1e3f2dac932847b0a9371d16d35f2d20cab256c | 2d74b1300fef6700e75af7f2344d852798b713fb | refs/heads/master | 2020-04-01T17:10:04.362808 | 2018-09-09T15:03:33 | 2018-09-09T15:03:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 640 | cpp |
#include <sstream>
#include "core/global.h"
#include "core/rand.h"
#include "core/fancymath.h"
#include "game/board.h"
#include "game/rules.h"
#include "game/boardhistory.h"
#include "tests/tests.h"
#include "main.h"
int MainCmds::runTests(int argc, const char* const* argv) {
(void)argc;
(void)argv;
testAssert(... | [
"lightvector@gmail.com"
] | lightvector@gmail.com |
6903f12d972578034617dc73cf0b987d84bead00 | 529d0ed66aaa27e075cec91ddef06c0819522339 | /src/four.cpp | 89aa690d037d93f428bb79922e1f2f92233269f8 | [] | no_license | riz1-ali/Fighter-Plane-Game | 501534970dbe7583633eb3faff0a457b1056fde7 | 23d0f04e993bdb5318a73b9f0bf3a99e4003f20c | refs/heads/master | 2020-04-24T09:59:15.893500 | 2019-02-21T13:49:56 | 2019-02-21T13:49:56 | 171,879,003 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,202 | cpp | #include "four.h"
Four::Four(float x,float y,color_t color)
{
this->position = glm::vec3(x,y,0);
GLfloat vertex_buffer_data[]={
0.06f,0.1f,0.0f,
0.1f,0.1f,0.0f,
0.06f,-0.1f,0.0f,
0.1f,0.1f,0.0f,
0.06f,-0.1f,0.0f,
0.1f,-0.1f,0.0f,
-0.06f,0.1f,0.0f,
-0.1f,0.1f,0.0f,
... | [
"rizwan16699@gmail.com"
] | rizwan16699@gmail.com |
c110f02ae5fe03b8eb5fd7df648257c5173a3029 | 401fb9f5baac5ed92cd88eac8ebf0e4983f0f91f | /09/traffic/queue.hh | ff6573f11aebb4074130d51e6021834d43234880 | [] | no_license | 0x464e/comp-cs-110 | a10fa6413209a9af2929970a0b50d755fb43900f | 49bc899741c0b04a1f8c9662db618667ecd00a45 | refs/heads/master | 2023-07-06T05:07:12.370049 | 2021-07-23T17:41:00 | 2021-07-23T17:41:00 | 388,879,443 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,599 | hh | #ifndef QUEUE_HH
#define QUEUE_HH
#include <string>
#include <iostream>
using namespace std;
class Queue
{
public:
// Constructor that initializes the attribute cycle_.
// (The other attibutes are initialized in the private part below.)
Queue(unsigned int cycle);
// Destructor that deletes all the r... | [
"36742501+0x464e@users.noreply.github.com"
] | 36742501+0x464e@users.noreply.github.com |
2024463536c82054b1f045a7f0ced7aed4bed6f9 | b5fbc8a3c3700b563b98132520b76b0228eca174 | /CSES/Graph_Algorithms/01.Counting-rooms.cpp | 7f7d5771caba11f4842a893170205d89d3d1344e | [] | no_license | juandiegocastano/Competitiva | 09efd94499e6d15af1b8a0a9cb7b234bd32b3492 | c303b703e52e0c534c1fe22333a85bb76dd50537 | refs/heads/master | 2022-12-27T05:10:39.172466 | 2020-10-08T21:35:06 | 2020-10-08T21:35:06 | 301,774,107 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 850 | cpp | #include <bits/stdc++.h>
using namespace std;
const int MX = 1e3;
string mat[MX];
int n, m;
int dx[4] = {1, 0, -1, 0};
int dy[4] = {0, 1, 0, -1};
void fill(int x, int y) {
mat[x][y] = '#';
for (int i = 0; i < 4; i++)
{
int ni = x + dx[i];
int nj = y + dy[i];
if(ni >= 0 && ni < n &... | [
"j.castano@utp.edu.co"
] | j.castano@utp.edu.co |
501ce3e5ecfee41de4dca4b04f0501c745c227fe | 6aaf5a89ecce91268c502aa5097a8f41bc354eb2 | /Solide/Code/SceneLoad.cpp | ceb178d07dc356ea1c32ec77cd2616a6db8a94ce | [] | no_license | Donya-607/Solide | 0d6ab5d4b4a1d05d0a1674fe482a6fcefe407c4a | 8bb4993333502ca0d699be838ab5e01270b1e03e | refs/heads/master | 2021-01-06T11:31:18.438820 | 2020-06-17T10:19:55 | 2020-06-17T10:19:55 | 241,311,027 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 16,302 | cpp | #include "SceneLoad.h"
#include <vector>
#undef max
#undef min
#include <cereal/types/vector.hpp>
#include "Donya/Blend.h"
#include "Donya/Color.h"
#include "Donya/Constant.h"
#include "Donya/Donya.h"
#include "Donya/Serializer.h"
#include "Donya/Sound.h"
#include "Donya/Sprite.h"
#include "Donya/Useful.h"
#include ... | [
"alias"
] | alias |
18b8e8467b168638c4a1ee0aaa012bc6147ca698 | f05007eb43fbeef4dec0847da6330b27245285a4 | /Project/Source Code/UI/Command/OpenFileCommand.h | dd83434fb983a21617e8ba4da8476ee443c438aa | [] | no_license | ywwlinux/3D_Room_Reconstruction | 5951ebbfea99383a1a8d73e03caa4bdd58089ded | 8e3f4ef1cc3ad8db23fd4d70e681915520ce26dc | refs/heads/master | 2022-12-18T05:57:23.578471 | 2020-09-26T12:26:51 | 2020-09-26T12:26:51 | 298,813,169 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,336 | h | /*******************************************************************
* Author : wwyang
* Date : 2019.12.27
* Copyright : Zhejiang Gongshang University
* Head File :
* Version : 1.0
*********************************************************************/
// .NAME COpenFileCommand -- command for loading the calibration ... | [
"1465360495@qq.com"
] | 1465360495@qq.com |
0925d59baf8fae75d7c15759c2efe140f48e147b | b20203514a73611acd5f226ba4c1668140959e8d | /libpetey/time_class.h | 0f97136b63e09ffed954706fe125fab5b1026f54 | [
"MIT"
] | permissive | Edroor/libmsci | 978d748e2ec788bc5b28eadf311d4c497d95f705 | 872dc362292d93ce4966e554494bfa156594c9d9 | refs/heads/master | 2023-02-22T10:17:52.934272 | 2021-01-25T05:40:42 | 2021-01-25T05:40:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,487 | h | //
// Copywrite 2004 Peter Mills. All rights reserved.
//
// A class definition for working with dates and times.
//
#ifndef TIME_INCLUDED
#define TIME_INCLUDED
//#include <iostream>
//port of "time_lib.pro" to C++
#define SEPARATORS "//-::"
// Returns the number of leap years between y1 and y2:
... | [
"petey@peteysoft.org"
] | petey@peteysoft.org |
3f1d68673d67c3011dcc7779d818e6342b608b6c | 791bd2aea32316348a2e7dbf3368ad5fc4829a7f | /src/QtGui/qlabel.hpp | d4bb399be76bb817ccec8e683169a8dc3cb61fb5 | [
"MIT"
] | permissive | kusti8/node-qt-napi | 91e547bd8f0227d61e0802fa22d28079f57bea89 | 594cae6ce0e19cea73b2dbf38126b477cc7ca88a | refs/heads/master | 2022-01-28T02:32:17.835082 | 2020-03-16T21:42:05 | 2020-03-16T21:42:05 | 185,082,835 | 45 | 9 | MIT | 2022-01-22T04:55:23 | 2019-05-05T21:11:55 | C++ | UTF-8 | C++ | false | false | 838 | hpp | #ifndef QLABELWRAP_H
#define QLABELWRAP_H
#include <QLabel>
#include <napi.h>
#include "qwidget.hpp"
#include "qwidget_macros.hpp"
#include "qpixmap.hpp"
#include <iostream>
QWIDGET_IMPL_DEF(QLabel)
#include "../utils/unwrapper.hpp"
class QLabelWrap : public Napi::ObjectWrap<QLabelWrap>
{
public:
static Napi::Objec... | [
"kusti8@gmail.com"
] | kusti8@gmail.com |
7a57547acfe29023ffc5bbb8c00859d9164fd6d8 | ef8e2d3b1d90bcd80a225de9eb253fa6432b916d | /Set_2/1_Complex/main.cpp | 8c78b241b0b62c49ab0bef9f3f53b87e7131ce95 | [] | no_license | Anthony-Rajiv/Cpp-Programming | f3d987da7c3e969b907d1d8ec7d7cc4f0323d4d8 | 7f7821a7dd496033f710561f05bc63cceced29e2 | refs/heads/main | 2023-06-15T15:34:45.759132 | 2021-07-12T06:35:56 | 2021-07-12T06:35:56 | 384,657,189 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 717 | cpp | #include "iostream"
#include "complex.h"
int main()
{
complex C1(1,2);
complex C2(4,5);
std::cout << "C1 : ";
C1.display();
std::cout << std::endl;
std::cout << "C2 : ";
C2.display();
std::cout << std::endl;
complex C3 = C1 + C2;
std::cout << "C1 + C2 : ";
C3.display();
std::c... | [
"noreply@github.com"
] | Anthony-Rajiv.noreply@github.com |
95c39b715a14901dd80840f835bdcd8263afbec6 | 4589cb13b77688489205ca368f01fc43781ffd2a | /MainMenu.h | ff249bd75d51110c7d5162aecbf8b12e4eff6cfc | [] | no_license | ketilwright/NikFocusStack | 439405f95a851db9d0fb556c17c4dbc498c3c62f | 4d28b6b8523b1159bb262d56a700c469b763c3aa | refs/heads/master | 2021-01-15T18:46:19.386847 | 2014-06-18T17:10:22 | 2014-06-18T17:10:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,147 | h | /*
* MainMenu.h
*
* Created: 4/30/2014 9:49:17 AM
* Author: Ketil Wright
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any la... | [
"ketilwright@nospam.com"
] | ketilwright@nospam.com |
1ee69a1260f38db1e06311b7becc4ed90d3d6bca | 5f735baa7f66e31ccdb49778522e57fe226e83b8 | /sonar_blob/sonar_blob.cpp | 5c203f3d599fb21b4bd3737e57cadb4e2301d127 | [] | no_license | aspears1935/opencv-ams | 2bd2819aacd994e3d442ece4180d84e9e128fc4a | cfd563eaafbc7d1ce520675a00b233bc87a7f63d | refs/heads/master | 2021-07-15T15:28:41.345324 | 2021-02-23T19:18:10 | 2021-02-23T19:18:10 | 234,355,201 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,096 | cpp | #include "opencv2/imgproc/imgproc.hpp"
#include "opencv2/highgui/highgui.hpp"
#include <iostream>
#include <stdlib.h>
#include <stdio.h>
using namespace cv;
using namespace std;
Mat src_img, gray_img, filter_img, binary_img, morph_img_tmp, morph_img, components_img, boxes_img;
RNG rng(12345);
int filter_type = 0;
int... | [
"aspears@gatech.edu"
] | aspears@gatech.edu |
9727da639ce77ada8e7b1eb895b2e917b5db60ee | 1dbed0f84a670c787d2217d97ae3984401c7edb3 | /cf/807v/B.cpp | b0c87c54ca5c20c823aff8dcb7e001f4f706b685 | [] | no_license | prprprpony/oj | 311d12a25f06e6c54b88bc2bcd38003f7b6696a9 | 84988be500c06cb62130585333fddd1a278f0aaa | refs/heads/master | 2021-07-13T16:03:54.398841 | 2021-03-27T14:19:52 | 2021-03-27T14:19:52 | 46,796,050 | 9 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 388 | cpp | #include<bits/stdc++.h>
using namespace std;
typedef pair<int,int> pii;
#define F first
#define S second
int main()
{
int p,x,y;
cin >> p >> x >> y;
int i;
for (i = -((x-y)/50*50); ; i += 50) {
int t = (x + i) / 50 % 475;
for (int j = 0; j < 25; ++j) {
t = (t * 96 + 42) % 475;
if (26 + t == p) {
co... | [
"3254tg89@gmail.com"
] | 3254tg89@gmail.com |
43258bf9bfa2964ce5119c1203c0ac6e723ca226 | fa5d9b8c633a318d2b12b7ea747db08526f32611 | /daemon/protocol/mcbp/dcp_abort_executor.cc | 4a83cbf9a7677e54136200d4e2e1f802d0fef8dd | [] | no_license | nandsatya/kv_engine | 96f372fb36824249c685cbdae11a242736732b97 | 8927dcd5e0dede0383e52dbc9b1e8a96ac921f9c | refs/heads/master | 2020-04-28T21:03:47.604896 | 2019-03-12T14:34:46 | 2019-03-13T19:00:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,853 | cc | /* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
* Copyright 2018 Couchbase, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* ... | [
"daver@couchbase.com"
] | daver@couchbase.com |
bf95893b1d53a8fd3bbed00197bfbe7283b59a41 | bd1fea86d862456a2ec9f56d57f8948456d55ee6 | /000/108/044/CWE590_Free_Memory_Not_on_Heap__delete_wchar_t_placement_new_54b.cpp | b38306cbc0602ccc03ac05c7f040118a374bb7be | [] | no_license | CU-0xff/juliet-cpp | d62b8485104d8a9160f29213368324c946f38274 | d8586a217bc94cbcfeeec5d39b12d02e9c6045a2 | refs/heads/master | 2021-03-07T15:44:19.446957 | 2020-03-10T12:45:40 | 2020-03-10T12:45:40 | 246,275,244 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,219 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE590_Free_Memory_Not_on_Heap__delete_wchar_t_placement_new_54b.cpp
Label Definition File: CWE590_Free_Memory_Not_on_Heap__delete.pointer.label.xml
Template File: sources-sink-54b.tmpl.cpp
*/
/*
* @description
* CWE: 590 Free Memory Not on Heap
* BadSource: placement_ne... | [
"frank@fischer.com.mt"
] | frank@fischer.com.mt |
d3045a2859984530b3e43b7f3de79344a559e9ac | a5153a0f8bef49a6b86988ed0ecc3afe8c6101a3 | /examples/candy_eaters/main_server.cpp | 5bae452406c08a4f929e4e248ff6670ad395ca72 | [
"Zlib",
"MIT"
] | permissive | simsa-st/contest24 | 130d75c72bc5f66032ef8120f59de65552bdfc4f | e2bee0abd33e1c60f76deb8a923dfefc67ba8ab7 | refs/heads/master | 2020-12-24T06:31:36.043160 | 2016-07-04T20:17:50 | 2016-07-04T20:17:50 | 41,642,056 | 0 | 0 | null | 2016-03-03T02:49:03 | 2015-08-30T20:28:58 | C++ | UTF-8 | C++ | false | false | 979 | cpp | #include <string>
#include <sstream>
#include "easylogging++.h"
#include "gflags/gflags.h"
#include "server_game.h"
INITIALIZE_EASYLOGGINGPP
using namespace std;
DEFINE_string(ports, "",
"Ports where to listen for players. Communication happens over "
"tcp. List the ports separated by co... | [
"simsa.st@gmail.com"
] | simsa.st@gmail.com |
a05f9d6c4fa6cd6f844a34609ff9b2aed6650286 | 7ac41a45a1955d33118034efbb8a489c40794c5e | /POV_Updated_2_6_18.ino | 0db93f81fc8c87320ef4b14d711315a702c67158 | [] | no_license | eldebrim/pov-wand | fd800aba8e2219bfffd12b7ac5c5fa3c9cd74331 | 9effebc991e046655c90648468768bd73a7adb2e | refs/heads/master | 2018-12-21T22:46:08.166149 | 2018-02-07T03:30:44 | 2018-02-07T03:30:44 | 118,517,394 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,336 | ino | /*
* For ECE 341
* Team 1
* Caleb Hubbell, Mohamed Eldebri, Tony Penoyer
* POV wand project
*/
// letter declarations. These are constant
int a[] = {1, 6, 26, 6, 1};
int b[] = {31, 21, 21, 10, 0};
int c2[] = {14, 17, 17, 10, 0};
int d[] = {31, 17, 17, 14, 0};
int e[] = {31, 21, 21, 17, 0};
int f[] = {31, 20, 20, ... | [
"noreply@github.com"
] | eldebrim.noreply@github.com |
872a5e3dfe8af0570527add81ff6b00fccd4d935 | 69544cd477d6ab402c7a67597f43067a8e9fb738 | /lessngreat.cpp | 6c5e00fd54f38306dc446e30fc1c34a706b831af | [] | no_license | mfaisalghozi/competitive-programming-stuff | 3e1d546fe078ef4e2a148ca24e0d2f36db397595 | e30ee47a2d9c73e4c99f874c2b6cb0fb793eba16 | refs/heads/main | 2023-01-24T03:04:15.190511 | 2020-12-08T06:13:04 | 2020-12-08T06:13:04 | 318,184,799 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 998 | cpp | #include <stdio.h>
int main(){
int row,col,b,n,k;
char c;
scanf("%d",&b);
for(k=0;k<b;k++){
scanf("%c %d",&c,&n);
if(c=='>'){
printf("Case #%d:\n",k+1);
for(col=0;col<n;col++){
for(row=0;row<n+(n/2+1);row++){
if(row==(col*2)){
printf("*");
}
else{
printf(".");
}
... | [
"39329044+mfaisalghozi@users.noreply.github.com"
] | 39329044+mfaisalghozi@users.noreply.github.com |
5799bd8f0dd01004ddd0e9c098b73d21d13be60c | ca9af59c0fceedf44e0cd977448672dbe85ee480 | /ZY.CameraNative/PylonCamera/pylon/include/pylon/gige/GigETransportLayer.h | 5112e669fccee56d3ddfa5361577b31dc531c958 | [] | no_license | xhyangxianjun/orign | 640dc3d7c3feba451b22d6ccbead49a84efacd13 | bbbf21a280055ea470084a3f3ec20b81e371c156 | refs/heads/main | 2023-06-16T01:41:15.549947 | 2021-07-07T07:01:21 | 2021-07-07T07:01:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,303 | h | //-----------------------------------------------------------------------------
// (c) 2008 by Basler Vision Technologies
// Section: Basler Components
// Project: PYLON
// Author: Thomas Koeller
// $Header: $
//-----------------------------------------------------------------------------
/*!
\file
\brief Defini... | [
"403385120@qq.com"
] | 403385120@qq.com |
f884a8fedb78438dc21a1cb5d08529fad943069d | ee5e0c7f802626b33668e7686d179d5d0ea5f449 | /windows_ce_5_121231/WINCE500/PRIVATE/TEST/NET/TCPIP/ICMP/APITEST/icmptest.cpp | 84e17a7ab0a458c3d2464573c79216adce4bd0ff | [] | no_license | xiaoqgao/windows_ce_5_121231 | e700da986df7fe7d8a691a347f76885aac8c03b3 | 5ad37f4d1e287bb81a238b7d7a8b2e1185fe90ed | refs/heads/master | 2022-12-25T02:28:44.898011 | 2020-09-28T20:03:03 | 2020-09-28T20:03:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,045 | cpp | //
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//
// This source code is licensed under Microsoft Shared Source License
// Version 1.0 for Windows CE.
// For a copy of the license visit http://go.microsoft.com/fwlink/?LinkId=3223.
//
#include "IcmpTest.h"
extern BOOL g_IPv6Detected;
#... | [
"benjamin.barratt@icloud.com"
] | benjamin.barratt@icloud.com |
e2cc1f33da14507adc66e8f8c1adf5687511eee2 | 8e7e7ebded7a61c96eb0d2a586e58287f2ef78ef | /services/worldserver/src/world_server_context.cpp | 9d372cb4f31f37258ad558bf598f905b4e2aa5cd | [
"MIT"
] | permissive | FreeYourSoul/FyS | df2bfd2aa8575835dc067dc77ff546bb005404f5 | ee9704b84e3c57441938b2448c4beeffcb82ba11 | refs/heads/master | 2022-08-25T00:49:39.402838 | 2022-08-12T22:33:40 | 2022-08-12T22:33:40 | 174,336,180 | 10 | 3 | MIT | 2020-11-07T23:28:37 | 2019-03-07T12:01:39 | C++ | UTF-8 | C++ | false | false | 5,992 | cpp | // MIT License
//
// Copyright (c) 2021-2022 Quentin Balland
// Repository : https://github.com/FreeYourSoul/FyS
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restrict... | [
"ballandFyS@gmail.com"
] | ballandFyS@gmail.com |
37fd68b34f9970590aa3851fd079a4743001d59e | 2dcd5bcad885e28685c33ff86450d987ddd1fb95 | /area.cpp | 023f5b0f025acfedf25e67d8e26860611bba52a1 | [] | no_license | shashank10721/C-Program | 791f1325e52a212f72ee73c0b1f588f64e9a5ea6 | 678356caf63c30739dafaf10af10c409e22a732b | refs/heads/master | 2020-04-01T05:23:12.787961 | 2018-10-13T18:30:40 | 2018-10-13T18:30:40 | 152,900,962 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 145 | cpp | #include<stdio.h>
#include<conio.h>
int area(int a,int b)
{
return a*b;
}
int main()
{
printf("%d", area(3,4));
getch();
}
| [
"noreply@github.com"
] | shashank10721.noreply@github.com |
3f3fd6051e5e6751dcb6c5329b1ba0a9f6622fa0 | 66a7747279facd0a6845edfb4ee18e13e6ad3195 | /Recursion/Dynamic Programming/knapsack/target-subset-sum-problem.cpp | fcadcddc0204a759b237f7687d3e1776f25c8fbb | [] | no_license | SaksheePhade/Hacktoberfest-Standard-Algorithms | 2bc067bc682cf3ebcc53f35436d794cba4370956 | e0d2c29b39398e92e2b5416241bc09850a3da22c | refs/heads/master | 2022-12-26T16:10:11.119638 | 2020-10-06T19:07:15 | 2020-10-06T19:07:15 | 301,158,974 | 0 | 1 | null | 2020-10-06T17:15:41 | 2020-10-04T15:14:36 | null | UTF-8 | C++ | false | false | 1,234 | cpp | # include <bits/stdc++.h>
using namespace std;
# define fastt ios::sync_with_stdio(0); cin.tie(0);cout.tie(0)
# define testt int T; cin>>T; while(T--)
# define ll long long
# define ff first
# define ss second
// DP convert the O(2^n) to O(n^2)
bool knapsack(int s[], int sum, int n){
bool dp[n+1][sum+1];
for (in... | [
"gauravghati225@gmail.com"
] | gauravghati225@gmail.com |
23fb665336c7601ea33121f44b633ce5470a8adc | 59a688e68421794af64bfe69a74f64b2c80cd79d | /cpp_programs/SimpleVectorPrints/Polynome.cpp | c349bd557361ed07381001edec730599707dd269 | [] | no_license | hearues-zueke-github/python_programs | f23469b306e057512aadecad0ca0a02705667a15 | d24f04ca143aa93f172210a4b9dfdd9bf1b79a15 | refs/heads/master | 2023-07-26T00:36:56.512635 | 2023-07-17T12:35:16 | 2023-07-17T12:35:16 | 117,093,746 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,006 | cpp | //
// Created by doublepmcl on 06.06.19.
//
#include <iostream>
#include "Polynome.h"
Polynome::Polynome(const vector<int32_t>& factors) : _factors(factors) {
checkZerosFactors();
}
Polynome::Polynome(const Polynome& obj) : _factors(obj._factors) {
checkZerosFactors();
}
Polynome::~Polynome() {
_factors.clea... | [
"hziko314@gmail.com"
] | hziko314@gmail.com |
8c4d06ba732394f7227e08f4878794ab9f35fc1e | a6e2bac22f49c8a7034d6fb7a543a85adb3fe7d2 | /doc/IMGBoardReader.h | aec8c28814623872d04a3a729c822185f3ccf096 | [] | no_license | Quantumapple/taf | 14650c49adcb0500f1b0f04192fc540dddcae342 | 026d7fce9c431be8418a0a0130b988a7da83a268 | refs/heads/master | 2020-04-29T02:55:40.330872 | 2019-03-13T09:27:34 | 2019-03-13T09:27:34 | 175,788,939 | 0 | 1 | null | 2019-03-15T09:25:40 | 2019-03-15T09:25:38 | null | UTF-8 | C++ | false | false | 8,090 | h | #ifndef _IMGBoardReader_included_
#define _IMGBoardReader_included_
#include "Riostream.h"
#include "TObject.h"
#include "TMath.h"
//#include <iostream>
#include <fstream>
#include <vector>
#include <math.h>
#include "DGlobalTools.h" // to have fTool has a data member
#include "img_daq_lib/event_header.typ"
//using n... | [
"jerome.baudot@desy.de"
] | jerome.baudot@desy.de |
217d1d5174579bc728d7846023fc71d48a979911 | d707b155a26ed4eabff68f6714936963122d394f | /src/ncurses_display.cpp | 206667fbc7839135715499ae3ca18ebdac8dd2bf | [
"MIT"
] | permissive | vikasmalik22/System-Monitor-Linux | b4e7037214f9276445f7b9f24275efa6eaea0e85 | 53df208d87dc936a53b79d8ca9de6878f5cd7924 | refs/heads/master | 2022-07-11T21:29:49.646004 | 2020-05-08T21:45:30 | 2020-05-08T21:45:30 | 262,429,317 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,797 | cpp | #include <curses.h>
#include <chrono>
#include <string>
#include <thread>
#include <vector>
#include "format.h"
#include "ncurses_display.h"
#include "system.h"
using std::string;
using std::to_string;
// 50 bars uniformly displayed from 0 - 100 %
// 2% is one bar(|)
std::string NCursesDisplay::ProgressBar(float per... | [
"vikasmalik22@gmail.com"
] | vikasmalik22@gmail.com |
e499a478d5df4e4f247cccc8b49be0e40f8a532b | 4e71065fa9f81d3ada64a4807fdf288be0fefd33 | /weex_core/Source/include/JavaScriptCore/runtime/JSCallee.h | 4eb86aa6ac029d66dc9e236247c70bc8e7ca1053 | [
"Apache-2.0",
"MIT",
"BSD-3-Clause"
] | permissive | acton393/incubator-weex | c2d9fc7f80eed5d95b054ab6f1af42f8ef9cd47a | c7dd6c76fe726a4413b08d3c895c91d521d01755 | refs/heads/master | 2021-03-24T12:15:30.348499 | 2019-01-07T03:19:18 | 2019-01-07T03:19:18 | 83,516,877 | 2 | 2 | Apache-2.0 | 2018-04-02T09:19:33 | 2017-03-01T05:48:09 | JavaScript | UTF-8 | C++ | false | false | 2,881 | h | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... | [
"zhengshihan918@gmail.com"
] | zhengshihan918@gmail.com |
d81afff2508ceb97cfaa1822de124f229e0a5c91 | 600df3590cce1fe49b9a96e9ca5b5242884a2a70 | /ash/shelf/shelf_bezel_event_handler.cc | da40409be668deaa01e6545b628e56cad93ef7b0 | [
"BSD-3-Clause"
] | permissive | metux/chromium-suckless | efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a | 72a05af97787001756bae2511b7985e61498c965 | refs/heads/orig | 2022-12-04T23:53:58.681218 | 2017-04-30T10:59:06 | 2017-04-30T23:35:58 | 89,884,931 | 5 | 3 | BSD-3-Clause | 2022-11-23T20:52:53 | 2017-05-01T00:09:08 | null | UTF-8 | C++ | false | false | 2,208 | cc | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ash/shelf/shelf_bezel_event_handler.h"
#include "ash/common/shelf/wm_shelf.h"
#include "ash/shell.h"
#include "ui/aura/window.h"
#include "ui/d... | [
"enrico.weigelt@gr13.net"
] | enrico.weigelt@gr13.net |
3525189e6ec8df26a1ef8d7fa16cc2fcb7f07457 | 51ff338833118587bdc70828d21e8c9777341f36 | /Source/ArenaBattle/Private/BTTask_TurnToTarget.cpp | 4e7167f23f100d6f0de270b5e9e027491c56a853 | [] | no_license | bb2002/UE4-ArenaBattle | 5c55b1c51d0760136b57702ae5ea72c95fcc539f | a69b6d97e5d9e46353655736f5d74fbcf3528fb5 | refs/heads/master | 2020-06-22T13:21:53.830920 | 2019-07-19T07:13:24 | 2019-07-19T07:13:24 | 197,721,086 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,083 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "BTTask_TurnToTarget.h"
#include "ABAIController.h"
#include "ABCharacter.h"
#include "BehaviorTree/BlackboardComponent.h"
UBTTask_TurnToTarget::UBTTask_TurnToTarget() {
NodeName = TEXT("Turn");
}
EBTNodeResult::Type UBTTask_Tur... | [
"5252bb@daum.net"
] | 5252bb@daum.net |
41939ba6f65889535ce4ec4f90d2972739f28d19 | 4c23be1a0ca76f68e7146f7d098e26c2bbfb2650 | /forwardStep/4.5/U | 3af9475c33154b0103b6b9ef387db414ec97d13e | [] | no_license | labsandy/OpenFOAM_workspace | a74b473903ddbd34b31dc93917e3719bc051e379 | 6e0193ad9dabd613acf40d6b3ec4c0536c90aed4 | refs/heads/master | 2022-02-25T02:36:04.164324 | 2019-08-23T02:27:16 | 2019-08-23T02:27:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 811,093 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6
\\/ M anipulation |
\*-------... | [
"jfeatherstone123@gmail.com"
] | jfeatherstone123@gmail.com | |
b7fdf0307da4376cbe608a17986005d4fc8c351e | 7ba61f38646acb3c5cd0d879b716d36f2bfdcd7b | /BST_IDE/network/udpsocket.h | d862f34b367856467b61ae133eca35bb661dba04 | [] | no_license | HensonLi/Elevator-BST-V1 | 3f774303e8ebc67fca1c66c8750fcc44ff229907 | 2e27edcd0bbe54ef03378f4508bf36937bd80f4c | refs/heads/master | 2021-05-11T09:56:11.990511 | 2018-01-19T07:41:10 | 2018-01-19T07:41:10 | 118,089,237 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,149 | h | #ifndef NODEUDP_H
#define NODEUDP_H
#include "nodebase.h"
#include <QUdpSocket>
class NodeUdp : public PhysicalDevice
{
Q_OBJECT
public:
NodeUdp(QObject *parent = 0);
~NodeUdp();
bool OpenUdp(quint16 pPort);
void Close();
bool isOpen() const {return true;}
bool IsLocalIP(Q... | [
"lidongsheng@linkmotionfuture.com"
] | lidongsheng@linkmotionfuture.com |
2bc849a5b30d8d5c0ae8ea6d974ee3d44fd1fc4f | ba4db75b9d1f08c6334bf7b621783759cd3209c7 | /src_main/dx9sdk/Utilities/Source/DxViewer/App.h | 8dd7e78a4f8786527ae37a9aee8f3c2fe21bf9db | [] | no_license | equalent/source-2007 | a27326c6eb1e63899e3b77da57f23b79637060c0 | d07be8d02519ff5c902e1eb6430e028e1b302c8b | refs/heads/master | 2020-03-28T22:46:44.606988 | 2017-03-27T18:05:57 | 2017-03-27T18:05:57 | 149,257,460 | 2 | 0 | null | 2018-09-18T08:52:10 | 2018-09-18T08:52:09 | null | UTF-8 | C++ | false | false | 5,680 | h | #pragma once
#include "d3d9.h"
#include "d3dx9.h"
#include "sas.h"
#include "DXUT.h"
#include "DXUTGUI.h"
#include "DXUTENUM.h"
#include "Dispatch.h"
#include "macros.h"
#include "windows.h"
#include "commdlg.h"
#include "Stateblock.h"
class SasMsgListener : public Sas::IMessageListener
{
public... | [
"sean@csnxs.uk"
] | sean@csnxs.uk |
44f2de5681fa74ff477767ebaadfbdba5892917f | d6a1186bd313d81593514c4f544f4774593c3fed | /text/text.cpp | ce3e4c6440104b624d19572520b96c34032dc398 | [] | no_license | jadenpadua/cpp | 6cb834f7a0e085593612e02477c969ef132b6a66 | a5f71c03e00bd165865b62490fc4e7b8935ec99e | refs/heads/master | 2023-02-09T13:39:59.485311 | 2021-01-03T06:57:39 | 2021-01-03T06:57:39 | 326,347,435 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 238 | cpp | #include <iostream>
using namespace std;
int main()
{
cout << "Starting program... " << flush;
cout << "This is some text" << endl;
cout << "This is some more text" << endl;
cout << "Banana..." << endl;
return 0;
} | [
"jadenpadua@Jadens-MacBook-Pro.local"
] | jadenpadua@Jadens-MacBook-Pro.local |
9506460a430cb87db0266060f389a9f27f7a4647 | c3d8a99f98747dc7092b38fde7fea80c16073150 | /build/ui_addressbookpage.h | fb7360c3830e792aeed52eb103efe44c8dd87983 | [
"MIT"
] | permissive | devascoin/devascoin | 300b5612551b546598eeb43e27c0bb3787358ca4 | 364a89f62e32e04972e1cc79e112f1e3578f335e | refs/heads/master | 2021-01-23T07:10:33.842811 | 2014-08-25T12:53:07 | 2014-08-25T12:53:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,086 | h | /********************************************************************************
** Form generated from reading UI file 'addressbookpage.ui'
**
** Created by: Qt User Interface Compiler version 4.8.6
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
***********************************... | [
"contact@devascoin.org"
] | contact@devascoin.org |
681a2d94877c5cf377cd9b01a23eb43616bc3610 | 0ee1d1e28398a07254e9c4d95f799f69d7eee996 | /SubLoaderV1/Common/CalcMD5.cpp | 9131398e8e09150ccf238f1036a6e70069c5a648 | [] | no_license | supernghia89/Dosbox-Subtitle-Loader | 6426ceb746f9fc380bbab9408c2e2da56053f558 | 70c8be8aa8a173153342a014be59226cbcce4e48 | refs/heads/master | 2020-07-22T03:27:13.710038 | 2016-12-27T10:06:33 | 2016-12-27T10:06:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,209 | cpp | //==============================================================================
#include "CalcMD5.h"
//==============================================================================
void MemClear(PVOID pData, UINT nLength)
{
for(ULONG_PTR i=(nLength / sizeof(ULONG_PTR));i > 0;i--){((ULONG_PTR*)pData)[0]=0;pData = (... | [
"i.breikin@gmail.com"
] | i.breikin@gmail.com |
d163659d90c3de2c9da32b4cd01a77ff95048e9f | 31d0fc5e0f9df8a93d160219d3220b2e0d9a0847 | /TestClient/ChangeIP/ChangeIP.h | 6c2f322efb7bef7e0a98517dba7dbc2a4417f4ef | [] | no_license | gc5084/exam_sys | e7f409d92f9f7d140769a9aaf50a53f51d20c709 | b9966f6f698b8a88389ff8be51b8d91a0e50a2f6 | refs/heads/master | 2020-05-17T04:21:20.507033 | 2019-04-25T20:45:00 | 2019-04-25T20:45:00 | 183,506,222 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,297 | h | // ChangeIP.h : main header file for the CHANGEIP application
//
#if !defined(AFX_CHANGEIP_H__43C4F588_F944_4510_990D_6C519D2730E5__INCLUDED_)
#define AFX_CHANGEIP_H__43C4F588_F944_4510_990D_6C519D2730E5__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#ifndef __AFXWIN_H__
#error include 'stdaf... | [
"gc5084@163.com"
] | gc5084@163.com |
afc1b8f310c4e27cedf5dddffef032017a8b6fe1 | 21ede326b6cfcf5347ca6772d392d3acca80cfa0 | /gpu/config/gpu_info_collector.cc | f6d6311a7408eac0a40e27cadb54ac3e34689cd2 | [
"BSD-3-Clause"
] | permissive | csagan5/kiwi | 6eaab0ab4db60468358291956506ad6f889401f8 | eb2015c28925be91b4a3130b3c2bee2f5edc91de | refs/heads/master | 2020-04-04T17:06:54.003121 | 2018-10-24T08:20:01 | 2018-10-24T08:20:01 | 156,107,399 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,749 | cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "gpu/config/gpu_info_collector.h"
#include <stddef.h>
#include <stdint.h>
#include <string>
#include <utility>
#include <vector>
#include ... | [
"team@geometry.ee"
] | team@geometry.ee |
b721d496f6e5aa72d3596306558abfdde9bdac26 | f8e7b0dd30e12f3a4b8a0f65e119a15e3a6407ee | /Baekjoon/BJ2981.cpp | 732362dc51dc7976fd95e93751d64c26d01276c8 | [] | no_license | BaeJuneHyuck/BaekJune | def023503c51e7ab574e28994c3d22089b5694f3 | c90c7f210f5d0e12b4c0a9dcd3e3280b1d6f318f | refs/heads/master | 2020-06-24T15:18:19.782424 | 2020-01-28T07:59:41 | 2020-01-28T07:59:41 | 198,998,731 | 1 | 0 | null | null | null | null | UHC | C++ | false | false | 1,187 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
#include <math.h>
using namespace std;
int N;
vector<int> num;
vector<int> diff;
int diffmin = 987654321;
/* a = d1 / D + r1
b = d2 / D + r2
... 나머지가 같다 ( r1 == r2 ) 면
a-b = (d1-d2)/ D
즉 나머지가 같으면 수의 차이가 D로 나눠 떨어진다
시간초과, 포기
*/
... | [
"noreply@github.com"
] | BaeJuneHyuck.noreply@github.com |
e78167def9a4387ec51e607ad8147a7129fc27d6 | 7dc766f4252705f93760c220d5b61c5e35c5e0d1 | /src/OptionGen/testboot/testOptionGen.cpp | ff711ed28d6faefc871800cbe04d68c300f77a5c | [] | no_license | ajimenezduque/MonteCarloEngine | 5a149b1c780ef29499e91faf1a7b1f8025dcc1c3 | dbd15ec6371ac3e954d0176edddd6e366abceee1 | refs/heads/master | 2020-06-08T00:06:49.140315 | 2019-08-30T10:50:27 | 2019-08-30T10:50:27 | 193,120,910 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,862 | cpp | //
// Created by alejandro on 10/07/19.
//
#define BOOST_TEST_MODULE pruebaOptionGen
#include <boost/test/included/unit_test.hpp>
//#include <boost/test/included/unit_test_framework.hpp>
#include "../OptionGen.h"
#include <iostream>
#include <cmath>
#include <cstdlib>
#include <random>
#include <chrono>
using namesp... | [
"ajd.alex@gmail.com"
] | ajd.alex@gmail.com |
8f9ff509b2ae49c0fb1378e74029b2d6a22d61af | 13b48f5d88715d8530ddd94df9bb70593de76142 | /workflow/HTCondor/PrepareStep2Submission.cpp | 334341d9250fb3fbb9cf8cc279e9cf891fc41d58 | [] | no_license | alintulu/JetMETAnalysis | 9f61cc0698f214291db9f7a02aad670ff9f67088 | 9b42bae09181849044c31a5854bf064e2287e714 | refs/heads/master | 2021-02-16T01:28:50.746231 | 2020-04-27T14:10:01 | 2020-04-27T14:10:01 | 244,954,325 | 0 | 0 | null | 2020-03-04T16:51:42 | 2020-03-04T16:51:42 | null | UTF-8 | C++ | false | false | 3,756 | cpp | #include <iostream>
#include <algorithm>
#include <fstream>
#include <sstream>
#include <map>
#include <vector>
using namespace std;
int main(int argc, char *argv[]);
void PrintJob(vector<string> &NoPU, vector<string> &PU, int Count);
int main(int argc, char *argv[])
{
map<string, vector<string>> FileMap;
int ... | [
"adelina.eleonora.lintuluoto@cern.ch"
] | adelina.eleonora.lintuluoto@cern.ch |
ff9e75d720dd7e79ebd9c0aec7a87276637bf39d | 867801a6b15fe0515e642cd387974194968fe446 | /test/hash_functions/SpookyV2.cpp | 735bd56296e9c862e84f0e30dfceade0f01db112 | [
"MIT"
] | permissive | fortran-lang/stdlib | 03085624a616fe2f67e44c08545e6b812eea1b85 | df0b3f91c90242ad882888b43fee1ff843c08b72 | refs/heads/master | 2023-09-04T00:07:46.561825 | 2023-09-03T14:41:22 | 2023-09-03T14:41:22 | 228,099,010 | 907 | 166 | MIT | 2023-09-04T17:37:32 | 2019-12-14T22:41:59 | Fortran | UTF-8 | C++ | false | false | 8,529 | cpp | // Spooky Hash
// A 128-bit noncryptographic hash, for checksums and table lookup
// By Bob Jenkins. Public domain.
// Oct 31 2010: published framework, disclaimer ShortHash isn't right
// Nov 7 2010: disabled ShortHash
// Oct 31 2011: replace End, ShortMix, ShortEnd, enable ShortHash again
// April 10 2012: b... | [
"w.clodius@icloud.com"
] | w.clodius@icloud.com |
2c52e33b6a45ee85f3673f0327d75bfa957de07f | 44b075ca32c03ebc43b86aa3998c782430d78c9a | /examples/Hat/YUN/diaplay.cpp | 88c36f6d3a937e8fd5d0f4b32a47e01d139b505a | [
"MIT"
] | permissive | UT2UH/M5StickC-Plus | eb0ec18f9df91e1445b843fce4f232fb5967fbd1 | 57c52493c4a7319a1acf6ce2c617ee025a7ce32c | refs/heads/master | 2023-03-29T21:05:12.351643 | 2021-04-07T12:51:02 | 2021-04-07T12:51:02 | 301,077,736 | 0 | 0 | MIT | 2021-04-07T12:51:02 | 2020-10-04T08:28:45 | null | UTF-8 | C++ | false | false | 3,479 | cpp | //#include "FastLED.h"
#include <math.h>
#include "display.h"
#include <M5StickCPlus.h>
#include "yunBoard.h"
uint16_t LIGHT_COLOR;
uint8_t baseY0 = 40;
uint8_t lightR = 40;
uint8_t lightG = 40;
uint8_t lightB = 0;
extern uint16_t light;
void display_light(void)
{
uint16_t lit;
lit = 4096-light;
//Serial.print... | [
"1905134716@qq.com"
] | 1905134716@qq.com |
fae8bc40fd10be0a0ec160585e51bdba4abf102e | ceaea21d1d26a481eaee1ac77bb48c5541dddb28 | /leetcode/29.cc | 4328393e075b9d1a21bcafa959259e5518b0c0ef | [] | no_license | huangxueqin/algorithm_exercise | 0e4ef4858a27bb0f557f0f5570c0ccf5d7302d69 | fd512293b7c0396c1d1807d9129a9e88c9beb86f | refs/heads/master | 2021-01-21T21:42:36.498417 | 2016-06-22T05:20:37 | 2016-06-22T05:20:37 | 40,531,483 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,464 | cc | #include "leetc.h"
#include <climits>
using std::vector;
using std::string;
using std::printf;
class Solution {
public:
int divide(int divident, int divisor) {
if(divident == 0) return 0;
if(divisor == 0 ||
(divident == INT_MIN && divisor == -1)) return INT_MAX... | [
"xhuuanniqege@gmail.com"
] | xhuuanniqege@gmail.com |
8faf3eeafdfd9168d446a1eb68e86a2c6dca7516 | b2beb7a028799021e0feb9f08dcb5e4a23a1f8d4 | /pat/A/1010/1010.cpp | d6129c48368af797254c41c1cc92f4bf0c48d385 | [] | no_license | yexinhua1998/algo | dfc5b63d342fa462e1b0f1e514e08439fe0ff2e2 | a1dd3ec43147cb06c66fae4f6fe2438dde75bcdc | refs/heads/master | 2020-04-17T18:49:35.321949 | 2019-03-14T15:26:33 | 2019-03-14T15:26:33 | 166,842,985 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,315 | cpp | #include<iostream>
using namespace std;
int char2num(char ch){
if(ch>='0'&&ch<='9') return ch-'0';
else return ch-'a'+10;
}
int maxdigit(string strnum){
int len=strnum.size();
int max=0;
int i,num;
char digit;
for(i=0;i<len;i++){
digit=strnum[i];
num=char2num(digit);
... | [
"244649399@qq.com"
] | 244649399@qq.com |
f236103a82ea22d04bcca1d4a4a76b10a650a85a | 92eae45a147e3bae0d779ee19c76202bb40e85ce | /D2Lang/unicode.cpp | 1336b2810b7dacdcaf18bf64ca2a1d3151bdc2c3 | [] | no_license | vilyLei/d2loader | 67482ba5f0e0ef7cd9bae9238e5b6a68e10b1a34 | 8dcfd0fbb53047988592786c62d8f48186a62ff6 | refs/heads/master | 2023-07-16T00:08:02.432445 | 2021-09-01T05:05:30 | 2021-09-01T05:05:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,185 | cpp | #include "pch.h"
#include "unicode.h"
#include <cassert>
#include "functions/sub_6fc01301.h"
#include "functions/d2lang-10009.h"
#include "functions/sub_6fc01340.h"
#include "functions/sub_6fc0137a.h"
#include "fog-api.h"
#include "functions/sub_6fc07ef0.h"
#include "functions/sub_6fc01580.h"
Unicode::Unic... | [
"hoxily@qq.com"
] | hoxily@qq.com |
3677040076f427f1aab17ba91e1e527290e4ea4f | 448139cb6a8469eda2620f1d4ffb71b3304325e3 | /CSearchRoad.h | 2aae6fb001211868feb05b9de5df77294d1be400 | [] | no_license | XuPeng-11J191/WuHan_Metro_Code | b2326acb9ea116478e70bd18caafb9a870608b93 | b4fee9ba08295c21b2c776acd908814881d77208 | refs/heads/master | 2023-04-21T18:24:21.284305 | 2021-05-25T07:57:30 | 2021-05-25T07:57:30 | 370,602,081 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,505 | h | #pragma once
#include"CMyFile.h"
using namespace std;
// CSearchRoad 对话框
/************************************************************
类名称:CSearchRoad
功能描述:查询窗口对应的类,执行查询操作并且显示对应信息
外部函数接口:无
作者:许鹏,王子越
*************************************************************/
class CSearchRoad : public CDialogEx
{
DECLARE... | [
"212848251@qq.com"
] | 212848251@qq.com |
a342cddf2082b7e42eb5f1c15d2d71ac0cd026c5 | a6f40880410f0a1b6774ae6e97939c15acb84f49 | /Classes/FileSystem.cpp | bbd21f6c2bb8471500fc96528aea8cb6497501c7 | [
"Apache-2.0"
] | permissive | Limbor/FileSystem | 7c10851aec493d6ae0c0da6bee5fa4edea6ae878 | 47de402b4b75f9701f88cd1a1e465ccb766408b0 | refs/heads/master | 2020-05-29T21:59:57.552185 | 2019-06-11T11:40:42 | 2019-06-11T11:40:42 | 189,398,431 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 7,336 | cpp | #include "FileSystem.h"
#include <cstring>
#include <queue>
FileSystem::FileSystem()
{
this->root = new Directory("root", NULL);
this->current = root;
//恢复系统
readFile();
}
void FileSystem::format(Directory *directory)
{
cleanDisk(directory);
while (directory->fileList != NULL) {
directory->deleteFile(director... | [
"18721912858@126.com"
] | 18721912858@126.com |
e4a37c1803c6bf408e43a2def94f6f0822e70fd3 | 99e8810c642f34518ad760eba82729cb97f2bfde | /riscv_vm/args.cpp | 34df97ab0f2479dd2d0b4421d7199ac0f9861010 | [
"MIT"
] | permissive | CrackerCat/riscv-vm | 7b498390ecf8d55ec64b7b0dc6de8a0dcaf500a2 | 3c0519df72f9ab840c4ab27afdc5046babf9d09b | refs/heads/master | 2022-12-19T23:46:04.681315 | 2020-09-28T21:13:35 | 2020-09-28T22:42:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,365 | cpp | #include <cstdio>
#include <cstring>
// enable program trace mode
extern bool g_arg_trace;
// enable compliance mode
extern bool g_arg_compliance;
// show MIPS throughput
extern bool g_arg_show_mips;
// target executable
extern const char *g_arg_program;
void print_usage(const char *filename) {
fprintf(stderr, R... | [
"aidan@codeplay.com"
] | aidan@codeplay.com |
ce996a0eed5cb8c1d4dca3548f779f6d972ba3ae | 2586e2fb9623fe9356cdfb86d7bd3b2d43e680f2 | /Code/Nmcu/parce/parce.ino | a81c572cfb4dfc8a6560d217d3e9ff6843a7b801 | [] | no_license | aravindpunnithan/Smart-Speed-Governance | a10a73080ef731c107dc7676d7cf09971c9af892 | 2e25c8637d1e1740c4eb0b2b589d698223880d92 | refs/heads/master | 2020-04-25T03:16:02.088163 | 2019-07-28T04:14:10 | 2019-07-28T04:14:10 | 172,455,723 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,180 | ino |
#include<stdio.h>
#include<stdlib.h>
#include<unistd.h>
#include<string.h>
#include<curl.h>
static size_t write_data(void *ptr, size_t size, size_t nmemb, void *stream)
{
size_t written = fwrite(ptr, size, nmemb, (FILE *)stream);
return written;
}
void main(int argc, char *argv[])
{
CURL *curl_handle;
stat... | [
"aravindpunnithan@yahoo.in"
] | aravindpunnithan@yahoo.in |
1cd0bcd55d402bb6ce6c2a73be3149681a332f08 | e217eaf05d0dab8dd339032b6c58636841aa8815 | /IfcAlignment/src/OpenInfraPlatform/IfcAlignment/entity/include/IfcCurveBoundedPlane.h | fae7f4d3f9e93fd83313df4b21c65c56c296ab28 | [] | no_license | bigdoods/OpenInfraPlatform | f7785ebe4cb46e24d7f636e1b4110679d78a4303 | 0266e86a9f25f2ea9ec837d8d340d31a58a83c8e | refs/heads/master | 2021-01-21T03:41:20.124443 | 2016-01-26T23:20:21 | 2016-01-26T23:20:21 | 57,377,206 | 0 | 1 | null | 2016-04-29T10:38:19 | 2016-04-29T10:38:19 | null | UTF-8 | C++ | false | false | 2,255 | h | /*! \verbatim
* \copyright Copyright (c) 2015 Julian Amann. All rights reserved.
* \author Julian Amann <julian.amann@tum.de> (https://www.cms.bgu.tum.de/en/team/amann)
* \brief This file is part of the BlueFramework.
* \endverbatim
*/
#pragma once
#include <vector>
#include <map>
#include <sstream>
#include <st... | [
"planung.cms.bv@tum.de"
] | planung.cms.bv@tum.de |
c11c6dadffaec9b03403f43d9b8ae7e9a6c0f6a3 | aafe508f360781c95b777d93888d790fd6e6bdce | /3월/2022-03-24/baekjoon_1052.cpp | 0086806ae6f8a2187c70cf0de9ac139fad30bd11 | [] | no_license | mimseong/BaekJoon | 74abddab898d3e2d07632a5a46cf32e97084f268 | ce266ed55d35fcea6510cb254ac7c11380c17ddb | refs/heads/main | 2023-08-21T02:12:12.931058 | 2022-05-23T04:14:32 | 2022-05-23T04:14:32 | 184,894,962 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 961 | cpp | #include <iostream>
#include <algorithm>
#include <vector>
#include <string>
#include <functional>
#include <string>
#include <queue>
#include <deque>
#include <stack>
#include <set>
#include <map>
#include <cmath>
#include <cstring>
#include <bitset>
#include <stdio.h>
#include <math.h>
#include <sstream>
#define xx ... | [
"parkseongmin98@gmail.com"
] | parkseongmin98@gmail.com |
96e338d44e8dc14631c8a27287e57bf1074380bd | 922d5487bc18dd4d044d41d6b81cd14eb952c591 | /install/include/baxter_core_msgs/EndEffectorState.h | 02d7e46e2ce292e3af72d5c40bf95240f7d3c649 | [] | no_license | hanbincho/ros_ws | 21b747f115cee85a3b8a578028ac44e069721c31 | d92feebd845a69bb8535e8c48592caf2b94d6497 | refs/heads/master | 2020-04-02T15:45:16.395227 | 2018-11-07T04:09:07 | 2018-11-07T04:09:07 | 149,820,985 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,559 | h | // Generated by gencpp from file baxter_core_msgs/EndEffectorState.msg
// DO NOT EDIT!
#ifndef BAXTER_CORE_MSGS_MESSAGE_ENDEFFECTORSTATE_H
#define BAXTER_CORE_MSGS_MESSAGE_ENDEFFECTORSTATE_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/built... | [
"hxc431@case.edu"
] | hxc431@case.edu |
9e8e25a4af35766899154343add2cee98ba23db4 | 202bbc35b672ebda80f7295a7793995d5d877206 | /ScubaSteve/Builds/IOS/Classes/Native/Bulk_Generics_52.cpp | fee3ee39576f62e85cc9aa674cfa1beee42d298f | [] | no_license | gohun04/ScubaSteve | c2388d677c77b374fccb62c0e8cce4740d06ca50 | 2428e54e97238f48f67652a8dd982e1f6821e7e0 | refs/heads/master | 2021-01-01T16:00:07.055501 | 2015-04-25T09:07:26 | 2015-04-25T09:07:26 | 34,557,070 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 885,306 | cpp | #include "il2cpp_precompiled_header.h"
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnostic ignored "-Wunused-variable"
#endif
#ifndef _MSC_VER
#else
#endif
extern TypeInfo InternalEnumerator_1_t5270_il2cpp_TypeInfo;
extern TypeInfo Contraction... | [
"jacobpipers@msn.com"
] | jacobpipers@msn.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.