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 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
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 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e73ded2700d011b3dfdf7aead6296db1964f945b | 0db8b08b053afbc4dbc21217b91287bee2fe5321 | /Nth Digit/Method.cpp | d5895e7bbbc8305f026eefdd0f878119c0970e5c | [] | no_license | hanrick2000/LeetCode-7 | ffae0abae6cacc2b2d5064157fe95b538b820375 | ed3cd37028d3c346a9be9ba54eff2b615f658000 | refs/heads/master | 2020-12-22T21:24:33.734588 | 2018-08-22T05:50:45 | 2018-08-22T05:50:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,056 | cpp | //Find the nth digit of the infinite integer sequence 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, ...
//
//Note:
//n is positive and will fit within the range of a 32-bit signed integer (n < 231).
//
//Example 1:
//
//Input:
//3
//
//Output:
//3
//Example 2:
//
//Input:
//11
//
//Output:
//0
//
//Explanation:
//The 11th digit o... | [
"qiuyangy@usc.edu"
] | qiuyangy@usc.edu |
745d95110a208855b27df11213a48a8328650b1d | 2497738dabdcd3d7ccf38ccf7b08455913dece47 | /src/Reader/AsagiModule.cpp | 5f42d6c32236f659eaf2c21f5f1739bff093b260 | [
"BSD-3-Clause"
] | permissive | VMPW/SeisSol | e5b628b3e68bcbe741bd390ce65d084cf8545ecd | 641e6a2d1e49173142f85688fbf8e40828f0c37a | refs/heads/master | 2023-02-26T07:50:57.906557 | 2021-01-28T22:07:27 | 2021-01-28T22:07:27 | 274,423,469 | 0 | 0 | BSD-3-Clause | 2020-06-23T14:12:07 | 2020-06-23T14:12:06 | null | UTF-8 | C++ | false | false | 3,306 | cpp | /**
* @file
* This file is part of SeisSol.
*
* @author Sebastian Rettenberger (sebastian.rettenberger AT tum.de, http://www5.in.tum.de/wiki/index.php/Sebastian_Rettenberger)
*
* @section LICENSE
* Copyright (c) 2016-2017, SeisSol Group
* All rights reserved.
*
* Redistribution and use in source and binary fo... | [
"rettenbs@in.tum.de"
] | rettenbs@in.tum.de |
2d57fe6c8773f924a04ad9208721965b15833d55 | a5e0ccb723c6cb118915c4d16447042783b7a8bb | /src/huffman/Huffman_PQ_generateTree.cpp | 891af6d2b1f89bcf619b79fbbfb3d779460b4efb | [] | no_license | wangfanstar/dsa | 4f358d0980e1e0919d4c42759d5954141b321dbb | 1b8941447d75f0892185c9800a8fa4fcbed4f1ac | refs/heads/master | 2021-03-01T05:27:26.354154 | 2020-03-08T05:31:58 | 2020-03-08T05:31:58 | 245,757,241 | 5 | 2 | null | null | null | null | GB18030 | C++ | false | false | 1,787 | cpp | /******************************************************************************************
* Data Structures in C++
* ISBN: 7-302-33064-6 & 7-302-33065-3 & 7-302-29652-2 & 7-302-26883-3
* Junhui DENG, deng@tsinghua.edu.cn
* Computer Science & Technology, Tsinghua University
* Copyright (c) 2003-2019. All rights r... | [
"wangfanstar@163.com"
] | wangfanstar@163.com |
171db74313651dd2b0e7434637023304246f39f8 | ddf445d763f329524ae690f86866e3b305bd136b | /qt-everywhere/include/Qt/qnetworksession.h | e7fffac534232cb0cc657a92c75f0dde3f6e0cf5 | [] | no_license | Harxon/rootfs_net | 32d3d51c479047b0d51a81b3aa0078b7f90b04b9 | e3b42ca325f4bb6742c1ce8950fc4288dc16276e | refs/heads/master | 2020-06-20T12:41:57.330230 | 2016-11-27T03:43:06 | 2016-11-27T03:43:06 | 74,865,203 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,132 | h | /****************************************************************************
**
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the QtNetwork module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$... | [
"haoxs@hqyj.com"
] | haoxs@hqyj.com |
ab16548fc0e9a2e53e5825acc20551c5f3327bff | 7aa595c8d2fd3e74489327217c6b0c9f1ad548ba | /twenty.cpp | f8ca4fc0fcb169ae833da741671d66dac0a83567 | [] | no_license | alindsharmasimply/CompetitivePractice | bdcda6693abf6e5c2815061f28fe3753918c9550 | d04f41ab543e43389f3daf0a80e8e64a1aed8c1c | refs/heads/master | 2021-01-22T02:43:03.752899 | 2017-11-08T14:25:07 | 2017-11-08T14:25:07 | 102,251,155 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,194 | cpp | #include <iostream>
using namespace std;
struct node {
int data;
node* next;
};
node* head;
node* second_Half;
bool palin = false;
node* getNewNode(int x)
{
node* temp = new node();
temp->data = x;
temp->next = NULL;
return temp;
}
void insert(int x, int n) {
node* temp = getNewNode(x);
... | [
"alindsharmasimply@gmail.com"
] | alindsharmasimply@gmail.com |
df9d23f457fed666974712671d18efeab1094ca9 | 735c881e4840cab86572428116a2d88275f19f05 | /build/SimpleRenderEngine/SimpleRenderEngine/3rdParty/include/Simplygon/SimplygonSDKLoader.cpp | 4694addd62fb7633399b0c6c745f015611c9a318 | [] | no_license | Graphics-Physics-Libraries/SimpleRenderEngine-1 | 860037dd583260cde52193e31ee24a29e9c82010 | 1ae5db69dad27432302440c700cca22d4aea4ca6 | refs/heads/master | 2020-07-14T17:43:44.782834 | 2018-12-24T10:18:11 | 2018-12-24T10:18:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,185 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <string>
#include <vector>
#include <tchar.h>
#include "SimplygonSDKLoader.h"
static std::vector<std::basic_string<TCHAR>> AdditionalSearchPaths;
#ifdef _WIN32
#include <windows.h>
#include <shlobj.h>
#include <process.h>
#include <io.h>
typedef int (CALLBACK* LPI... | [
"897847201@qq.com"
] | 897847201@qq.com |
9a03b355744a32f0c1e38d33dc7bd0796df17770 | 76577b38f4f06db65258b19711d0df51975a6650 | /DistanceCalculator.h | faeadbd7a6c01a9ed931c82405150550e65ecc18 | [] | no_license | cmaranes/computer-graphics | 1e2a6c0c6dd2d60562e88bb295555579d4f64e99 | fd72dc5039c705073557923b2039a56dc0037303 | refs/heads/master | 2022-04-04T06:49:01.970877 | 2019-01-31T22:23:01 | 2019-01-31T22:23:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,112 | h | //
// Created by Nicolas on 01/10/2018.
//
#ifndef COMPUTER_GRAPHICS_DISTANCECALCULATOR_H
#define COMPUTER_GRAPHICS_DISTANCECALCULATOR_H
#include <iostream>
#include "Vec.h"
#include "geometry.h"
#include "Planet.h"
#include "ReferenceSystem.h"
using namespace std;
void calculateDistances(ReferenceSystem r1, Refer... | [
"nleralopez@gmail.com"
] | nleralopez@gmail.com |
72d5dd5213fb7b30e3c35d03bdd4888de10e4619 | 76bec25f9ed509d6ca149c6af9360e72ffbf5221 | /test/isapprox.hh | a5df7d49da155cd589c634be47a0c8760c1650a1 | [
"LicenseRef-scancode-takuya-ooura",
"MIT"
] | permissive | nakakq/reim | 0e53c3e973c3ab1cb4f20baa90051b637da121d0 | 3781a63881b8e96cb813570bce4d47fb878aabc2 | refs/heads/master | 2023-02-28T11:52:51.823518 | 2021-02-06T02:30:42 | 2021-02-06T02:30:42 | 328,058,477 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 411 | hh | #pragma once
#include <stddef.h>
namespace {
static bool isapprox(double a, double b, double eta)
{
double diff = (a > b) ? a - b : b - a;
return diff <= eta;
}
static bool isapprox_array(size_t size, double* a, double* b, double eta)
{
bool is_all_matched = true;
for (size_t i = 0; i < size; i++) {
... | [
"66908843+nakakq@users.noreply.github.com"
] | 66908843+nakakq@users.noreply.github.com |
948194cea68d545d2080af0012f031433aad18c5 | 7045bb4f95ada6e1669a3cd9520681b7e548c319 | /Meijer/Source/SCOTAPP/SMInSAProgressBase.h | f380b2e96437eee0f52b78d5b0d63b98db2036e4 | [] | no_license | co185057/MeijerTESTSVN | 0ffe207db43c8e881fdbad66c1c058e25fe451f5 | 3a3df97b2decc1a04e6efe7c8ab74eff5409f39f | refs/heads/master | 2023-05-30T00:19:36.524059 | 2021-06-10T08:41:31 | 2021-06-10T08:41:31 | 375,576,064 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,024 | h | //////////////////////////////////////////////////////////////////////////////////////////////////
//
// File: SMInSAProgressBase.h
//
// Description: The InSAProgress state is used when the transition from
// TB_ITEMSOLD to the next Security event, which is the SASERVER WLBD
// lookup return, and might tak... | [
"co185057@ncr.com"
] | co185057@ncr.com |
347ecc04828929c60f57cb02da4be093668fb4eb | 5fa00ff2f8f6e903c706d6731ee69c20e5440e5f | /src/shared/CSObject.h | 395ae225b4efc18c7d44741cb8e729364bb42388 | [
"MIT"
] | permissive | 5433D-R32433/pcap-ndis6 | 9e93d8b47ebe0b68373785323be92c57c90669e2 | 77c9f02f5a774a5976e7fb96f667b5abb335d299 | refs/heads/master | 2022-01-13T07:58:42.002164 | 2019-06-24T00:24:02 | 2019-06-24T00:24:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 688 | h | //////////////////////////////////////////////////////////////////////
// Project: pcap-ndis6
// Description: WinPCAP fork with NDIS6.x support
// License: MIT License, read LICENSE file in project root for details
//
// Copyright (c) 2019 Change Dynamix, Inc.
// All Rights Reserved.
//
// https://changedynamix.io/
/... | [
"andrey.fedorinin.wrk@gmail.com"
] | andrey.fedorinin.wrk@gmail.com |
b0be189070039445b69659506d9c218c4457b4b6 | 7a4e3b6df4ff4547e30d293a85a0d277b88bdc4b | /include/ui/menu.h | bf88d9ab7895a0e77a14a9716362d96c7029b014 | [] | no_license | sigurdurje10/pizza | 3b5aa6dd99113e485350ab39a1eb54d1fd635078 | 82ec8d26ca03f7ec9b14ac9cefc2157d96273587 | refs/heads/master | 2021-08-30T02:08:03.225203 | 2017-12-15T16:32:33 | 2017-12-15T16:32:33 | 112,198,773 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 311 | h | //
// menu.h
// pizza
//
// Created by Sigurður Jökull on 27/11/2017.
// Copyright © 2017 Sigurður Jökull. All rights reserved.
//
#ifndef menu_h
#define menu_h
#include <stdio.h>
class menu {
private:
public:
menu();
void start_menu();
};
#endif /* menu_h */
| [
"sigurdurje10@ru.is"
] | sigurdurje10@ru.is |
23bc5d92577af8137597356d50059d4a5a6bd696 | 0636e69f7cc3a94c49d6d481c0120d168d832ebf | /Solutions/TopCoder/SRM_DIV2/SRM504_DIV2/Try1/MathContest.cpp | e4fe5ad9a157d9536e005e953e7a268018ab2eb0 | [] | no_license | TurtleShip/ProgrammingContests | 33e0e261341e8f78c3d8d3bd66bbad0f511acc61 | 2ebd93f9b3d50c10a10c8731d17193e69382ca9b | refs/heads/master | 2021-01-13T02:07:37.539205 | 2016-11-30T18:50:46 | 2016-11-30T18:50:46 | 18,936,833 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,060 | cpp | #include <vector>
#include <list>
#include <map>
#include <set>
#include <queue>
#include <deque>
#include <stack>
#include <bitset>
#include <algorithm>
#include <functional>
#include <numeric>
#include <utility>
#include <string>
#include <sstream>
#include <iostream>
#include <iomanip>
#include <cstdio>
#include <cm... | [
"sk765@cornell.edu"
] | sk765@cornell.edu |
3a64c2e297a287a1c157d9eab926d1cd3b80858f | b39985c2ce1fa0ce89856b6470da979c69ef1924 | /src/CL_SetupGL_stub.cpp | 87736e039869458c9ceb40893baca951861a03fa | [
"LicenseRef-scancode-other-permissive",
"LicenseRef-scancode-unknown-license-reference",
"Zlib"
] | permissive | fccm/ocaml-clanlib | bed147f5cd5454a88d27b781d7649082b0971351 | 1929f1c11d4cc9fc19e7da22826238b4cce7a07d | refs/heads/master | 2021-01-04T02:33:41.811027 | 2020-10-27T13:12:30 | 2020-10-27T13:12:30 | 305,236,647 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 860 | cpp | /* ocaml-clanlib: OCaml bindings to the ClanLib SDK
Copyright (C) 2013 Florent Monnier
This software is provided "AS-IS", without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this soft... | [
"monnier.florent@gmail.com"
] | monnier.florent@gmail.com |
eaf193fc5cc07f5225480d2aeb4059432388eea0 | 8afb5afd38548c631f6f9536846039ef6cb297b9 | /_ORGS/NPM/node/deps/v8/test/cctest/test-parsing.cc | 2d56b72a8f3318bb7f5c5ba9f67e90f4b462ce27 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause",
"SunPro"
] | permissive | bgoonz/UsefulResourceRepo2.0 | d87588ffd668bb498f7787b896cc7b20d83ce0ad | 2cb4b45dd14a230aa0e800042e893f8dfb23beda | refs/heads/master | 2023-03-17T01:22:05.254751 | 2022-08-11T03:18:22 | 2022-08-11T03:18:22 | 382,628,698 | 10 | 12 | MIT | 2022-10-10T14:13:54 | 2021-07-03T13:58:52 | null | UTF-8 | C++ | false | false | 435,370 | cc | // Copyright 2012 the V8 project authors. 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 ... | [
"bryan.guner@gmail.com"
] | bryan.guner@gmail.com |
34de7142d69bcb83948942507146e3cb4ba58350 | ef11635322730255abdb8759618f6862e1544ef5 | /romanToInt.cpp | 7581911105398d061abdbe0df6f694336653e7c0 | [] | no_license | kaixinyan/leetcode | 64e97ee42c558b4e7dffdfeecba101a8f00ebaca | fb9a0294f93f271dddea61d385dd3e1c4999b753 | refs/heads/master | 2021-01-10T09:37:52.508638 | 2016-02-29T20:53:06 | 2016-02-29T20:53:06 | 49,697,873 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,204 | cpp | int romanToInt(string s) {
int n = s.size();
if (n == 0) return 0;
int ans = 0;
char pre;
for (int i = 0; i < n; ++i){
if (s[i] == 'M' && pre != 'C') ans += 1000;
if (s[i] == 'M' && pre == 'C') ans ... | [
"sweetviolin@Xingyes-MacBook-Air.local"
] | sweetviolin@Xingyes-MacBook-Air.local |
1c4bbaa1295bd9bcefbec1a2690124e4b46822a3 | 8629c447ba7ec73a2a72a09766e97bdaa0f10759 | /GenericsTest/results/GenericsTest.cpp | 1f01d5d09b0a992064371dc339db95348fe7d630 | [
"MIT"
] | permissive | xet7/onelang_generated | 376d648529d3f28ce3de8073a802f869e4d4e6e4 | 9685b2cf9dd5f570c29d8192e1548e4206a6dd09 | refs/heads/master | 2020-03-15T18:15:53.890490 | 2018-02-28T18:09:15 | 2018-02-28T18:09:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 704 | cpp | #include <one.hpp>
#include <iostream>
template<typename K, typename V>
class MapX {
public:
V value;
void set(K key, V value) {
this->value = value;
}
V get(K key) {
return this->value;
}
private:
};
class TestClass {
public:
void testMethod() {
auto map_x... | [
"koczkatamas@gmail.com"
] | koczkatamas@gmail.com |
f75145aeda371a33e126809bf571022a47376094 | c2dab5ad1c4245264d08f58e490b2b8b390c6f46 | /button.hpp | f7fcac0b6774341781d8c738391ec4620f68498a | [] | no_license | jastadj/simplexnoise | 0a834070fda39d025099310ed283761b92f11c27 | ca10d2d75a478046b51b78c8e0c8136be15b8098 | refs/heads/master | 2021-01-23T07:03:10.287182 | 2014-04-17T16:26:29 | 2014-04-17T16:26:29 | 15,568,723 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 488 | hpp | #ifndef CLASS_BUTTON
#define CLASS_BUTTON
#include <SFML\Graphics.hpp>
class Button
{
private:
sf::RenderWindow *screen;
sf::Vector2f mPosition;
sf::RectangleShape buttonShape;
sf::Text mText;
sf::Font mFont;
public:
Button(sf::RenderWindow *nscreen, std::string btext, sf::Vector2f position... | [
"jastadj@gmail.com"
] | jastadj@gmail.com |
8bdf3eb9341366c94858c19bd9b4cc42125399dd | f1c88bd33d7b7287d3fb4e13e1862d6fda77b61f | /BranchNBound/OrderedList.cpp | 45890e6951eca1be6c1e32fdbfd0ca8d746898cd | [] | no_license | MamonovNick/BranchNBound | f726ef5ec73e4ee2f175110ccab9c775987b60fb | 8859df98ce395e7ea20e59df67ed6f3124474e48 | refs/heads/master | 2021-10-24T09:51:35.086681 | 2019-03-25T01:07:46 | 2019-03-25T01:07:46 | 125,560,256 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,403 | cpp | #include "stdafx.h"
#include "OrderedList.h"
template <typename T>
OrderedList<T>::OrderedList(double T::* c_val)
{
count_ = 0;
comparison_value_ = c_val;
}
template <typename T>
OrderedList<T>::~OrderedList()
{
clear();
}
template <typename T>
void OrderedList<T>::add(T* elem)
{
if (!elem)
return;
//Current ... | [
"mnv0895@gmail.com"
] | mnv0895@gmail.com |
a55805e9461acd8921eeae31911f445a42f486bf | 9d4095d62a11c002e781b7293cf74885d0ffb7c7 | /Semaforo.cpp | e8edf956444e34fc1973821df88558bceb835395 | [] | no_license | FlorEtcheverry/DistribuidosEj2ExMutPCNoAcotado | 67091c11ec52971aa4422506d6d7c9b5afcc8252 | 46435850469d405745c09e9144fd7783e6c4feed | refs/heads/master | 2020-02-26T15:10:02.796692 | 2015-04-21T17:21:43 | 2015-04-21T17:21:43 | 33,844,923 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,715 | cpp | /*
* File: Semaforo.cpp
* Author: knoppix
*
* Created on March 28, 2015, 7:18 PM
*/
#include "Semaforo.h"
Semaforo::Semaforo(const char* sem_dir) {
key_t key = ftok(sem_dir,SEM);
this-> id = semget(key,1,0666|IPC_CREAT);
if (id == -1){
(Logger::getLogger())->escribir(ERROR,std::string(str... | [
"florencia.a.etcheverry@gmail.com"
] | florencia.a.etcheverry@gmail.com |
b3b95852cf34d2d43dce4bcbb13c34fda0aa6f1a | 1d3fb39f8e1438caaa4c1d75f1d0bd8f38e39060 | /project7_1/list.h | d9eed3b572973adaea4a79dcba844390272c41df | [] | no_license | hqsds/chenchen.github.io | 6319cace7e8e0a1ddb8ab32baf4838972c6b2ce5 | 3d8e699db27a3c36c721fe3806f23fac48207cc6 | refs/heads/master | 2022-03-07T18:02:46.018195 | 2022-02-14T23:56:10 | 2022-02-14T23:56:10 | 128,699,513 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,180 | h | // Fig. 21.4: list.h
// Template List class definition.
#ifndef LIST_H
#define LIST_H
#include <iostream>
using std::cout;
#include <new>
#include "listnode.h" // ListNode class definition
template< class NODETYPE >
class List {
public:
List(); // constructor
~List(); // destructor
void insertAtFront(... | [
"ccz919@gmail.com"
] | ccz919@gmail.com |
6c4e50928e47d8260b56793a2f92563c58846d77 | 5898d3bd9e4cb58043b40fa58961c7452182db08 | /part1/ch03/3-4-4-variadic-template/src/variadic_template.h | 126d317649c0f4cd3121ff7cc539e1716570a698 | [] | no_license | sasaki-seiji/ProgrammingLanguageCPP4th | 1e802f3cb15fc2ac51fa70403b95f52878223cff | 2f686b385b485c27068328c6533926903b253687 | refs/heads/master | 2020-04-04T06:10:32.942026 | 2017-08-10T11:35:08 | 2017-08-10T11:35:08 | 53,772,682 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 369 | h | /*
* variadic_template.h
*
* Created on: 2016/03/30
* Author: sasaki
*/
#ifndef VARIADIC_TEMPLATE_H_
#define VARIADIC_TEMPLATE_H_
#include <iostream>
void f() {}
template<typename T>
void g(T x)
{
std::cout << x << " ";
}
template<typename T, typename... Tail>
void f(T head, Tail... tail)
{
g(head);
... | [
"sasaki-seiji@msj.biglobe.ne.jp"
] | sasaki-seiji@msj.biglobe.ne.jp |
eacd69f186684efc8001b15026cccdf25b517d89 | 48d6d9fba59405c7b64c2906da7b728f58ad038a | /Robot Code/src/main/cpp/subsystems/SwerveController.cpp | 199d3e527affb5a82a9498632018ed733a69a5df | [] | no_license | FRC-Team3538/FRC2020Swerve | 0539083d46e45041d2141ab4a78014e1e3e6d31f | 0261c8be5b03b9099d3d3704b6b3543667e19e96 | refs/heads/master | 2022-12-02T23:51:37.948495 | 2020-08-10T16:24:22 | 2020-08-10T16:24:22 | 272,115,772 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,856 | cpp | #include "subsystems/SwerveController.hpp"
SwerveController::SwerveController()
{
ConfigureMotors();
SetAngle(0.0);
}
/**
* Main Function to control swerve drive
*
* @param x double input for Left-Right on joystick
* @param y double input for Forward-Backward on joystick
* @param rotate double input for... | [
"rfeng716@gmail.com"
] | rfeng716@gmail.com |
6ec368a4c9ca8b374bdd470ade59d406f371e959 | 3606ac437d8444e38842facb84d1ac705ff9efcf | /thrift/lib/cpp2/async/RocketClientChannel.h | 5c193a874493befd9a90329ef318b96efb7098a9 | [
"Apache-2.0"
] | permissive | ParkerWen/fbthrift | c2fb2d4187563ec260fe8d407c7312d8ee9ba96e | 88b9951f1402f73a7e67cafefac1c7a848121041 | refs/heads/master | 2020-04-18T02:35:54.721368 | 2019-01-23T02:13:41 | 2019-01-23T02:16:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,868 | h | /*
* Copyright 2015-present Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
af7047f4219d77569d2d243a4f646e201c50785e | 8c8820fb84dea70d31c1e31dd57d295bd08dd644 | /Slate/Public/Widgets/Input/SMultiLineEditableTextBox.h | c26f01b758b7c5d8c23de1e78234fac00cf5cda3 | [] | no_license | redisread/UE-Runtime | e1a56df95a4591e12c0fd0e884ac6e54f69d0a57 | 48b9e72b1ad04458039c6ddeb7578e4fc68a7bac | refs/heads/master | 2022-11-15T08:30:24.570998 | 2020-06-20T06:37:55 | 2020-06-20T06:37:55 | 274,085,558 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,068 | h | // Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Misc/Attribute.h"
#include "SlateGlobals.h"
#include "Layout/Margin.h"
#include "Styling/SlateColor.h"
#include "Fonts/SlateFontInfo.h"
#include "Input/Reply.h"
#include "Widgets/DeclarativeSyntaxSupport.h"
#include "St... | [
"wujiahong19981022@outlook.com"
] | wujiahong19981022@outlook.com |
20961ec82f69f6b143df756b33c0572bf2750a60 | 843910b963dca4555308d2736c26fa0234d631a6 | /MathLib/src/CVec2.cpp | 1ad0055a6deed0c62d4e8caa61a03f6142196f33 | [] | no_license | kobake/KppLibs | 1bbb11bbea8765738e975ddde81d8536c6a129f1 | 60d9343a41260f3d90be61b1e6fd4ee31b05d05b | refs/heads/master | 2021-01-17T19:26:04.315121 | 2020-03-28T00:37:43 | 2020-03-28T00:37:43 | 58,841,018 | 1 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 1,834 | cpp | #include "_required.h"
#include "CVec2.h"
#include "CRect.h"
#include <cmath>
namespace math{
// -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- //
// Vec2Base //
// -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- //
//絶対値
template <class T>
... | [
"kobake@users.sourceforge.net"
] | kobake@users.sourceforge.net |
3050f8678b189423babcacec399ca66b51f63ac0 | e6559df51c2a14256962c3757073a491ea66de7c | /SPOJ/NKLEAVES - Leaves.cpp | 1b857f3a46e49794530bd5bac521842b00a953a1 | [] | no_license | Maycon708/Maratona | c30eaedc3ee39d69582b0ed1a60f31ad8d666d43 | b6d07582544c230e67c23a20e1a1be99d4b47576 | refs/heads/master | 2020-04-25T23:37:53.992330 | 2019-02-28T17:10:25 | 2019-02-28T17:10:25 | 143,191,679 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,661 | cpp | #include <bits/stdc++.h>
#define INF 1LL << 60;
#define rep(i, a, b) for(int i = int(a); i < int(b); i++)
#define pb push_back
#define debug(x) if(1)cout << #x << " = " << x << endl;
#define debug2(x,y) if(1)cout << #x << " = " << x << " --- " << #y << " = " << y << "\n";
#define debugM( x, l, c ) { rep( i, 0, l ){ re... | [
"mayconalves@gea.inatel.br"
] | mayconalves@gea.inatel.br |
0218329b96b6aa99674c4fbd26a54c4ad97d8f1d | f3ed29d56c31168989ab88f160e4dd9f058df587 | /source/frontend/views/settings/themes_and_colors_pane.cpp | ff126801d055a576c0ba46b1c26ba2c7ee202ffd | [
"MIT"
] | permissive | bofh80/radeon_memory_visualizer | 6301598244f6238e298d2236947553ed302fe085 | a331b4472dafe15badfe1e0ebf4fe850779f7e41 | refs/heads/master | 2023-02-03T14:10:05.888254 | 2020-12-03T14:23:35 | 2020-12-08T20:40:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,658 | cpp | //=============================================================================
/// Copyright (c) 2019-2020 Advanced Micro Devices, Inc. All rights reserved.
/// \author AMD Developer Tools Team
/// \file
/// \brief Implementation of Colors and Themes pane.
//===========================================================... | [
"Anthony.Hosier@amd.com"
] | Anthony.Hosier@amd.com |
58b02fdde66bfdba273412d696b69d6ddd48db24 | 8c17304c73e1adc9b3857b2b532106e5ecd78cf2 | /BinaryIMST_Library/src/include/utils/IOUtils.hpp | b1b3e11ad2ff65b6fdb62a1cb80070f5f9a8de37 | [
"Apache-2.0"
] | permissive | PWrGitHub194238/BinaryRIMST | 42feaba5006249b53707c5a9d9a5cf70dceea619 | 53490c10580fd4ad61c9234b82b3140c5cce5de0 | refs/heads/master | 2020-12-11T06:13:30.761901 | 2016-05-02T22:00:25 | 2016-05-02T22:00:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,131 | hpp | /*
* IOUtils.hpp
*
* Created on: 26 lut 2016
* Author: tomasz
*/
#ifndef SRC_INCLUDE_UTILS_IOUTILS_HPP_
#define SRC_INCLUDE_UTILS_IOUTILS_HPP_
#include <rapidjson/document.h>
#include <rapidjson/rapidjson.h>
#include <cstdio>
#include <iostream>
#include <memory>
#include <string>
#include "../typedefs/pr... | [
"194238@student.pwr.wroc.pl"
] | 194238@student.pwr.wroc.pl |
b771645f9be702b3239e9f0090cadef4a1dd3b26 | 5bb6685e574f3320284a6ce493ab72613e17f953 | /CustomIterator.h | 99d6091e91ba6628e21b7dd0537323f339d28752 | [] | no_license | alby177/DataStructures | c71d54fab90df3aa5da98a052fd83876d2dbadc2 | 94a72efeb30d557bb5cde1d5e97744266f480de3 | refs/heads/master | 2023-01-14T02:09:46.549488 | 2020-11-15T16:24:39 | 2020-11-15T16:24:39 | 312,709,759 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,862 | h | // Forward declaration for template friend operator
template <class T> class CustomIterator;
template <class T> std::ostream &operator<<(std::ostream &str, const CustomIterator<T> &it);
template <class T>
class CustomIterator
{
public:
CustomIterator (T *ptr);
bool o... | [
"gotta.alberto@gmail.com"
] | gotta.alberto@gmail.com |
be953e6308d24e11a0dfdb0a58592c48a679893b | 5888c735ac5c17601969ebe215fd8f95d0437080 | /All code of my PC/code_forces(143)a.cpp | 2a9ecace02eb139c68d1d9971207b39ce606abce | [] | no_license | asad14053/My-Online-Judge-Solution | 8854dc2140ba7196b48eed23e48f0dcdb8aec83f | 20a72ea99fc8237ae90f3cad7624224be8ed4c6c | refs/heads/master | 2021-06-16T10:41:34.247149 | 2019-07-30T14:44:09 | 2019-07-30T14:44:09 | 40,115,430 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 318 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int t;
cin>>t;
int c=0;
while(t--)
{
bool a;
int sum=0;
for(int i=0; i<3; i++)
{
cin>>a;
sum+=a;
}
if(sum>=2)
c++;
}
cout<<c<<endl;
return 0;
}
| [
"asad14053@users.noreply.github.com"
] | asad14053@users.noreply.github.com |
b25dd9dfe78343e71f49477e7d84541d79ea7d6f | 107d79f2c1802a3ff66d300d5d1ab2d413bac375 | /src/eepp/graphics/ctextureloader.cpp | e5524a09a561827bf1b63cc5d4a7fb8bd6ff59d5 | [
"MIT"
] | permissive | weimingtom/eepp | 2030ab0b2a6231358f8433304f90611499b6461e | dd672ff0e108ae1e08449ca918dc144018fb4ba4 | refs/heads/master | 2021-01-10T01:36:39.879179 | 2014-06-02T02:46:33 | 2014-06-02T02:46:33 | 46,509,734 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,251 | cpp | #include <eepp/graphics/ctextureloader.hpp>
#include <eepp/graphics/ctexture.hpp>
#include <eepp/graphics/ctexturefactory.hpp>
#include <eepp/graphics/renderer/cgl.hpp>
#include <eepp/system/ciostreamfile.hpp>
#include <eepp/helper/SOIL2/src/SOIL2/stb_image.h>
#include <eepp/helper/SOIL2/src/SOIL2/SOIL2.h>
#include <ee... | [
"spartanj@gmail.com"
] | spartanj@gmail.com |
23a59fc0ebb6bda4aa0f64ab44106d3e876258ed | 1a1b5f542d964cb4444899872879f7ca37de187a | /src/sendalert.cpp | 70dd254842a75b9658d9f01a409118ee28e781dc | [
"MIT"
] | permissive | bankitt/bankitt | dd488300763c289e9a5c104ab315a95c59df6ede | 1e09e75f6ac717595e8baf7e1186ad8964a3338a | refs/heads/master | 2021-04-27T22:16:41.600864 | 2018-02-22T01:37:49 | 2018-02-22T01:37:49 | 122,416,780 | 1 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 3,703 | cpp | #include "alert.h"
#include "clientversion.h"
#include "chainparams.h"
#include "init.h"
#include "net.h"
#include "utilstrencodings.h"
#include "utiltime.h"
/*
If you need to broadcast an alert, here's what to do:
1. Modify alert parameters below, see alert.* and comments in the code
for what does what.
2. run b... | [
"you@example.com"
] | you@example.com |
fb289b8da783a90373ff26022be97080fef586b1 | d19edb558b5534ff2557c0cfa5375e8d81e612ea | /main.cpp | 3ecae22b3802725647dd20df71805940ad70509c | [] | no_license | Tahmid2000/word-puzzle | 5aaea965a0ee4f2796bddb272be23903cdbc8b83 | 1dc35d3af488794e96e88d523f3957322d9608da | refs/heads/master | 2022-07-04T21:46:57.000003 | 2020-05-20T08:13:58 | 2020-05-20T08:13:58 | 265,496,096 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,404 | cpp | /* Tahmid Imran
* assignment1.cpp
* The purpose of this project is to iterate through a crossword puzzle
* to find specified words using 2 files.
*/
#include <iostream>
#include <string>
#include <fstream>
#include <cstring>
#include <algorithm>
#include <cctype>
using namespace std;
enum direction {LEFT_RIGHT,... | [
"tahmidimran1@gmail.com"
] | tahmidimran1@gmail.com |
add630ddb9b293246bc8e064526ee18093fd0437 | bd2c11922957152013488883658a959e26be3cdf | /UnB/2021pc/le8/d_canibais.cc | 3c9c65c794c084142ab2b81972faa3afda3f888e | [] | no_license | Pedenite/Maratonas | ab19907ce16be3b56845b38dcd4069d427289c2d | 945049edcd8d4fde72e96a184ab39a86ec4e0efa | refs/heads/master | 2023-05-13T07:24:33.062098 | 2021-05-29T20:47:18 | 2021-05-29T20:47:18 | 255,485,263 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,062 | cc | #include <bits/stdc++.h>
using namespace std;
#define pb push_back
#define mp make_pair
#define MAX (int) (1e5+1)
#define mod (int) (1e9+7)
#define forn(j,n) for(int i = j; i < n; i++)
typedef vector<int> vi;
typedef long long ll;
typedef pair<int,int> ii;
vector<int> e, c;
int tab[10001][10001];
int solve(int n, in... | [
"pedenite@gmail.com"
] | pedenite@gmail.com |
a8a99585ed76efdcf06443ef9fa9a6bc8e9c228c | 387d2866b3f4edfc30ccc97c4cb3e26df87d57b9 | /MultiGPU Dessertation/EventsDivide/cuda/CudaKernelsNoDup.h | ea26c85b59550906cdc09a9bbc764029e7413f52 | [] | no_license | shahmedha/Alpesh_Project_2014-16 | a920c675e5e8627b32f8c5caa2979e5780c4688b | e7d7023bfe7f41682970113530811d13b5a90680 | refs/heads/master | 2021-01-17T08:04:25.972307 | 2016-07-15T12:56:32 | 2016-07-15T12:56:32 | 63,421,693 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,515 | h | #ifndef CUDAKERNELSNODUP_H_
#define CUDAKERNELSNODUP_H_
#include <map>
#include <set>
#include "cudaTypes.h"
#include "../sff/siena/types.h"
#include <iostream>
#include "../common/Timer.h"
#include "../common/Consts.h"
using namespace std;
using namespace siena;
#define MAX_FILTERS_X_CONSTR 4
class CudaKernelsNoDu... | [
"vinaykrprajapat@gmail.com"
] | vinaykrprajapat@gmail.com |
49132b3d8714d0d29868964c3139f8a2e1e590aa | 69e1199b2daffa17e4842e94a54be152df540828 | /暑假集训/Speed.cpp | ddbd523bbfe18048a2b7aca017776a475695b6c3 | [] | no_license | shaobozhong/myAcmCodes | 8c63e7992d0975626e6e583a49e59fe03f73017c | 55b31b8a4600fd3084795f71ac0d244cbdc58800 | refs/heads/master | 2023-08-04T20:05:29.165456 | 2023-07-26T03:19:52 | 2023-07-26T03:19:52 | 21,147,335 | 0 | 1 | null | 2023-07-26T03:19:53 | 2014-06-24T00:49:13 | null | UTF-8 | C++ | false | false | 293 | cpp | #include<iostream>
using namespace std;
int main()
{
int caseNum,n,even,odd,num;
cin>>caseNum;
while(caseNum--)
{
cin>>n;
even=0;
odd=0;
while(n--)
{
cin>>num;
if (num%2==0) ++even;
else ++odd;
}
cout<<even<<" even and "<<odd<<" odd."<<endl;
}
return 0;
} | [
"bozhongshao@gmail.com"
] | bozhongshao@gmail.com |
6c0344d622958a45e45c5e0d764817c484712f94 | 9934512da4a541a3e6654dd3a71512df9a9bfe14 | /GHAME6/propulsion.cpp | bacb9d69c6f4a7f0ec7c29e4e2d2dedb3e51d643 | [] | no_license | missiondesignsolutions/CADAC | a534eda151c6d8d3afba8e5d48d60201a2a591ff | 8aa2f73e551554a48abeac5416d1ec3a34ae660f | refs/heads/main | 2023-05-01T04:32:40.710534 | 2021-05-24T07:44:03 | 2021-05-24T07:44:03 | 370,660,263 | 3 | 1 | null | 2021-05-25T10:55:36 | 2021-05-25T10:55:36 | null | UTF-8 | C++ | false | false | 11,983 | cpp | ///////////////////////////////////////////////////////////////////////////////
//FILE: 'propulsion.cpp'
//Contains 'propulsion' module of class 'Round6'
//
//030514 Created by Peter H Zipfel
///////////////////////////////////////////////////////////////////////////////
#include "class_hierarchy.hpp"
///////////////... | [
"rads2995@gmail.com"
] | rads2995@gmail.com |
8812dd9be383b4bb5a79fe70e2cf274007ad2de5 | efc4772a909c360a5c82a80d5bda0971415a0361 | /third_party/openh264/src/test/encoder/EncUT_DecodeMbAux.cpp | 06590919226e2937a9f44d97175e7181a3b78792 | [
"BSD-2-Clause",
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | jasonblog/RTMPLive | 7ce6c9f950450eedff21ebae7505a62c9cb9f403 | 92a018f50f7df19c255b106dc7f584b90f1fe116 | refs/heads/master | 2020-04-22T01:31:04.504948 | 2019-02-13T05:30:19 | 2019-02-13T05:30:19 | 170,016,488 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 14,087 | cpp | #include <gtest/gtest.h>
#include "decode_mb_aux.h"
#include "wels_common_basis.h"
#include "macros.h"
#include "cpu.h"
using namespace WelsEnc;
TEST(DecodeMbAuxTest, TestIhdm_4x4_dc)
{
short W[16], T[16], Y[16];
for (int i = 0; i < 16; i++) {
W[i] = rand() % 256 + 1;
}
T[0] = W[0] + W[4] +... | [
"jason_yao"
] | jason_yao |
ab76687061bc0b989688b17e9d4ac337ad3a6af2 | c3283332ea47f8d61b5e09ba0b31eda2bf3c3f5b | /L04/lab04ex1_master/skeleton/SocialNetwork.h | 984728687c21d83f441fb02d18070e1328046662 | [] | no_license | wrigglingears/cs1020e_2016-2017_s2 | 258cf7886842b13c236e20551a1ee4cbc4ff57f9 | d3a5a62d9a09417509306a6329c62ef189fbdbda | refs/heads/master | 2021-01-11T20:27:59.724168 | 2017-03-10T07:53:03 | 2017-03-10T07:53:03 | 79,122,059 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,067 | h | //=====================================================================
// FILE: SocialNetwork.h
//=====================================================================
//=====================================================================
// STUDENT NAME: <your name>
// MATRIC NO. : <matric no.>
// NUS EMAIL : <y... | [
"mattheus.lee@gmail.com"
] | mattheus.lee@gmail.com |
605fbfd558e6dccae03926aa5fbaeefc824e635c | da741c443fd6bdf19dfcfc1193ce198aff66505c | /Programación en C++/19 POO - Clases Derivadas - Herencia y Polimorfismo/Codigos/3. Destructores/ClaseDerivada.h | 321f0346afc83f7328ec398cb24b941b7157bd93 | [] | no_license | AbrahamFB/Programaci-n-en-C-B-sico---Intermedio---Avanzado- | d5dad53a83f844d93dc3fe772c6ecb80d1fd04de | 9f3c312c39a60dc7b2ca437d24cc7607055f40b0 | refs/heads/master | 2022-07-19T19:15:19.342667 | 2020-05-17T01:53:53 | 2020-05-17T01:53:53 | 264,562,774 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 364 | h | #include<iostream>
#include "ClaseBase.h"
using namespace std;
class ClaseDerivada : public ClaseBase{
private:
int numero2;
public:
ClaseDerivada(int numero,int numero2) : ClaseBase(numero){
this->numero2 = numero2;
cout<<"Constructor de la clase Derivada"<<endl;
}
~ClaseDerivada(){
cout<<"Des... | [
"44345256+AbrahamFB@users.noreply.github.com"
] | 44345256+AbrahamFB@users.noreply.github.com |
5a755ad9a9464584c1bee8d657324ff9b127953b | ece42d77ca9f1d95f0dc3da06295ce6afddae0a2 | /dire/include/DirePlugins/mg5/Processes_sm/PY8MEs_R5_P10_sm_bb_abb.h | 4e84caa54ac19852e192cef25d35f1de4d372811 | [] | no_license | prestel/hadrotomte | 7d51b6a0cc40af2ddc58cfbe126e46023b416dc3 | c537e56fe4ca8b19413bc7dcc266c1cb9b570f47 | refs/heads/master | 2023-06-30T07:27:54.987000 | 2021-08-03T12:10:56 | 2021-08-03T12:10:56 | 386,714,081 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,509 | h | //==========================================================================
// This file has been automatically generated for Pythia 8
// MadGraph5_aMC@NLO v. 2.6.0, 2017-08-16
// By the MadGraph5_aMC@NLO Development Team
// Visit launchpad.net/madgraph5 and amcatnlo.web.cern.ch
//=====================================... | [
"stefan.prestel.work@gmail.com"
] | stefan.prestel.work@gmail.com |
2e5b6d982c3e84e40ad29eabb5dba4a1777c7f54 | 0a50e8ee921eed7f7f005729bbe7eee4e03b80b1 | /PincherCommander/PincherCommander.ino | fbcdbbdbef3aae51524ab26282fcdce6787b3630 | [] | no_license | Interbotix/PincherCommander | 73217099306d8fc4e02765d4c70616d8b284a27f | 7f820fb83897e11723da2672885e408fe3b68872 | refs/heads/master | 2021-01-01T17:11:05.466830 | 2013-08-12T23:01:01 | 2013-08-12T23:01:01 | 12,066,739 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,751 | ino |
//=============================================================================
//=============================================================================
// Define Options
//=============================================================================
//#define OPT_WRISTROT // comment this out if you ar... | [
"andrew@trossenrobotics.com"
] | andrew@trossenrobotics.com |
ad43a8beb8a9bf60937ba63020797ce8c3c8e7cb | 85381529f7a09d11b2e2491671c2d5e965467ac6 | /OJ/SGU/115.cpp | 74243e9e1348250ae5232d29ecd685fda2fc848e | [] | no_license | Mr-Phoebe/ACM-ICPC | 862a06666d9db622a8eded7607be5eec1b1a4055 | baf6b1b7ce3ad1592208377a13f8153a8b942e91 | refs/heads/master | 2023-04-07T03:46:03.631407 | 2023-03-19T03:41:05 | 2023-03-19T03:41:05 | 46,262,661 | 19 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 916 | cpp | #include <bits/stdc++.h>
#define max(a,b) ((a)>(b))?(a):(b)
#define min(a,b) ((a)>(b))?(b):(a)
#define rep(i,initial_n,end_n) for(int (i)=(initial_n);(i)<(end_n);i++)
#define repp(i,initial_n,end_n) for(int (i)=(initial_n);(i)<=(end_n);(i)++)
#define eps 1.0E-8
#define MAX_N 1010
#define INF 1 << 30
using namespace std... | [
"whn289467822@outlook.com"
] | whn289467822@outlook.com |
8a8cd9bdf3eb3a676c791b826242ad40237f4d3e | 6623b6a1941c7f74758b044ad59fd1528da2d821 | /WinUserHeader_new.cpp | d2e5fc7364fdc2d6ed7c05087c799e105466c4fd | [] | no_license | drunkwater/WindowMessages | 94bf569a5701061444fe2f356163819689cb0fd8 | d4223d9aca788ae6a0e329e406b78b09756bd763 | refs/heads/master | 2021-05-11T22:47:35.858812 | 2018-01-15T06:05:25 | 2018-01-15T06:05:25 | 117,500,670 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 447,508 | cpp | #include "stdafx.h"
/****************************************************************************
* *
* winuser.h -- USER procedure declarations, constant definitions and macros *
* ... | [
"Church.Zhong@audiocodes.com"
] | Church.Zhong@audiocodes.com |
e782750011e23aed7c36be3435dfd610ceac989f | a7d059ecb3f56b8166153b273d8d12997097287b | /Painting_iterative.cpp | b00422c337f016b503c46fd360865ec42044d21a | [] | no_license | stratwine/epi | 6cb1c87099f419d23efe5e42ba7f91bd8ae3bc6c | 448d76467b24d5b0a72681ed5124944def089f17 | refs/heads/master | 2021-01-19T13:50:36.415721 | 2013-08-20T18:23:22 | 2013-08-20T18:23:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,046 | cpp | // Copyright (c) 2013 Elements of Programming Interviews. All rights reserved.
#include <array>
#include <deque>
#include <iostream>
#include <queue>
#include <random>
#include <utility>
#include <vector>
using std::array;
using std::cout;
using std::default_random_engine;
using std::deque;
using std::endl;
using std... | [
"tovishwanath@gmail.com"
] | tovishwanath@gmail.com |
3c9b567cabe854b001933a573ace794a9c062da2 | a685ceeffe00535752d379ff5f783d6f8fcb20cd | /Invasion/Private/Animations/AnimNotify_PauseAnimInstance.cpp | 59bc8eb307643919161db4b0dd8fd587eaeda58b | [] | no_license | UnrealXinda/Invasion | 1848e809590a920fd7c83c7fe36bfaea9e231e4d | c9869ad73a5f472d8b7859815165900d36a931ba | refs/heads/master | 2021-08-28T07:17:25.807439 | 2021-08-23T04:13:37 | 2021-08-23T04:13:37 | 223,698,131 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 471 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "AnimNotify_PauseAnimInstance.h"
void UAnimNotify_PauseAnimInstance::Notify(USkeletalMeshComponent* MeshComp, UAnimSequenceBase* Animation)
{
#ifdef UE_BUILD_DEBUG
if (UWorld* World = MeshComp->GetWorld())
{
switch (World->Wo... | [
"unreal.xinda@gmail.com"
] | unreal.xinda@gmail.com |
80273d98a0269fc90f23d3c2eeb914d59fa93961 | a33aac97878b2cb15677be26e308cbc46e2862d2 | /program_data/PKU_raw/56/2961.c | 450b7219e148bc36e8a9386de0e17b72987768c2 | [] | 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 | 186 | c | int main()
{
int n;
void reverse(int n);
scanf("%d",&n);
reverse(n);
return 0;
}
void reverse(int n)
{
if(n < 1)
return;
printf("%d",n % 10);
reverse(n / 10);
}
| [
"bdqnghi@gmail.com"
] | bdqnghi@gmail.com |
b1ab1e05791f8ff48c0eff81feb7f8c5cfc49f8c | 8912e1a4746c449fbccb707438f3b4fe1c9a1912 | /OldMan/Tool/MyFormView.cpp | c1c44a47deb76ee7d959c0b82b92668eba8a232e | [] | no_license | plmnb14/TeamProject_2.5D_DukeNukem | 065bc57d968bac025a54501f5c97112f55ad6220 | d5049d4d04786501eb6e2fbb77e0b637bc6c4507 | refs/heads/master | 2022-04-06T13:56:53.639539 | 2019-11-13T17:31:41 | 2019-11-13T17:31:41 | 220,400,745 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 17,313 | cpp | // MyFormView.cpp : 구현 파일입니다.
//
#include "stdafx.h"
#include "Tool.h"
#include "MyFormView.h"
#include "MainFrm.h"
#include "ToolView.h"
#include "ToolTerrain.h"
#include "Trasform.h"
#include "ToolTerrainCube.h"
#include "ToolTerrainWallCube.h"
#include "ToolTerrainRect.h"
#include "PathExtract.h"
// CMyFormVie... | [
"une6204@gmail.com"
] | une6204@gmail.com |
9aa3c52bac2f701068274acf27fc0c83f6cf3a36 | 7205079d758988e4b9f3740a7e6b2a91f429cd79 | /Maze/NodeDraft.cpp | dcb8ec38e8f25ced0ceb42176e3f129c5a757137 | [] | no_license | 123Phil/Useless-projects | d075ff98c8c21fe74edb01156e0bd7347b04371a | cce3db3fb7a9dc9a786a34ca57d36bedc90fcbf3 | refs/heads/master | 2021-01-13T01:06:53.485105 | 2015-12-05T00:58:21 | 2015-12-05T00:58:21 | 47,436,434 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,925 | cpp | #include <iostream>
#include <iomanip>
#include <string>
#include <ctime>
#include <queue>
using namespace std;
//make a grid based node class
class Node{
public:
Node(int value, int x_coord, int y_coord){
_value = value;
_x_coord = x_coord;
_y_coord = y_coord;
_do... | [
"phillipwstewart@gmail.com"
] | phillipwstewart@gmail.com |
ddf80695d4b55dd8e77649afe70b047231bdb44d | a9921bd48da8870a589fe8f0e2a1a023991b6c12 | /divison.cpp | a90315e3316ad4ba802e4397275e06a42222f825 | [] | no_license | atyamsriharsha/My-Uva-solutions- | 36b89d88c2c62db8431918b5cbcb1819a9b0052c | e36942e48203594ec895502ff2affe9d7d3620e2 | refs/heads/master | 2021-01-15T16:17:31.091882 | 2015-07-22T21:05:57 | 2015-07-22T21:05:57 | 38,688,856 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,533 | cpp | #include <iostream>
#include <cstring>
#include <cstdio>
#include <ctime>
using namespace std;
bool digits[10];
int last;
bool valid(int numerador, int denominador)
{
if (numerador > 99999) return false;
memset(digits, true, sizeof digits);
if (numerador / 10000 == 0) digits[0] = false;
while(numera... | [
"atyamsriharsha@gmail.com"
] | atyamsriharsha@gmail.com |
90852fafa9be0c1f1efa13d7d15a02a340d2e26c | f698a822a129d23ef93f65a49e3b20bdcd5d3ec8 | /moc_basicopenglview.cpp | 384f4245ae085ffdf37d28e16e42f2150ab29471 | [] | no_license | GriffinLedingham/Flocking | 0a987202a0f46590f9ff9eb5943b63fc0aec0cc6 | 23d9d666ce58529a8c482a9d1fe31750f32cfe28 | refs/heads/master | 2020-04-13T22:58:33.094336 | 2012-12-15T22:14:55 | 2012-12-15T22:14:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,967 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'basicopenglview.h'
**
** Created: Wed Dec 12 14:49:18 2012
** by: The Qt Meta Object Compiler version 63 (Qt 4.8.1)
**
** WARNING! All changes made in this file will be lost!
*******************... | [
"gcledingham@gmail.com"
] | gcledingham@gmail.com |
fd9a0b93ac9a1efb951e25ee7d561e9887a053a1 | 84173c56d1fd47e81bbfde6eeaa108d8378922ce | /llvm/lib/Analysis/ConstantFolding.cpp | f169a123e4503e140c3d90588dc3cff273ed1749 | [
"NCSA",
"MIT"
] | permissive | gbeauchesne/cm-compiler | 3c8840e4c9959f9bd604e955c2a447b5c9583ee9 | dd211eea3a2f2e27e1014ee05a94535ae78031a9 | refs/heads/master | 2023-08-04T03:54:49.660141 | 2018-05-17T13:45:44 | 2018-05-17T17:28:01 | 126,233,617 | 0 | 0 | null | 2018-03-21T20:00:30 | 2018-03-21T20:00:30 | null | UTF-8 | C++ | false | false | 69,602 | cpp | //===-- ConstantFolding.cpp - Fold instructions into constants ------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"gang.y.chen@intel.com"
] | gang.y.chen@intel.com |
6a42ca6d7e2bbdebffc182dc389f23c3d64548ff | 5ebd5cee801215bc3302fca26dbe534e6992c086 | /blazemark/blazemark/blaze/Complex1.h | 53423aac50d95d4d341186abe38f7096797fce6d | [
"BSD-3-Clause"
] | permissive | mhochsteger/blaze | c66d8cf179deeab4f5bd692001cc917fe23e1811 | fd397e60717c4870d942055496d5b484beac9f1a | refs/heads/master | 2020-09-17T01:56:48.483627 | 2019-11-20T05:40:29 | 2019-11-20T05:41:35 | 223,951,030 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,019 | h | //=================================================================================================
/*!
// \file blazemark/blaze/Complex1.h
// \brief Header file for the Blaze kernel for the complex expression c = A * ( a + b )
//
// Copyright (C) 2012-2019 Klaus Iglberger - All Rights Reserved
//
// This file is p... | [
"klaus.iglberger@gmail.com"
] | klaus.iglberger@gmail.com |
516a694a4815a20c9f7a5b504a4e40db5ae2ac5c | 9f35bea3c50668a4205c04373da95195e20e5427 | /chrome/browser/language/translate_frame_binder.h | 2aef69975fd4c635c36d7d37871ea955a1543b22 | [
"BSD-3-Clause"
] | permissive | foolcodemonkey/chromium | 5958fb37df91f92235fa8cf2a6e4a834c88f44aa | c155654fdaeda578cebc218d47f036debd4d634f | refs/heads/master | 2023-02-21T00:56:13.446660 | 2020-01-07T05:12:51 | 2020-01-07T05:12:51 | 232,250,603 | 1 | 0 | BSD-3-Clause | 2020-01-07T05:38:18 | 2020-01-07T05:38:18 | null | UTF-8 | C++ | false | false | 697 | h | // Copyright 2019 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.
#ifndef CHROME_BROWSER_LANGUAGE_TRANSLATE_FRAME_BINDER_H_
#define CHROME_BROWSER_LANGUAGE_TRANSLATE_FRAME_BINDER_H_
#include "components/translate/conten... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
1a18bdd1873fc286252565e6f0db08c09c57e124 | e32e55529f1a3812b7361400048413a0a763b4b9 | /TTP/Semana3/NEIBOR/main.cpp | 149a3051a6dab042e1db91a5c1161cdcc88d4a02 | [] | no_license | PedroVillezca/TTP2017 | 0905e6fd61d742ab3f50ae3b9eea4cd41bd46183 | 344ce81a73b975af9caa6592ca018696f2b70269 | refs/heads/master | 2020-03-24T19:54:51.946324 | 2018-07-31T02:39:23 | 2018-07-31T02:39:23 | 142,950,126 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,018 | cpp | #include <cstring>
#include <sstream>
#include <cstdio>
#include <algorithm>
using namespace std;
int main(){
char num[7], newNum[7], initialNum[7], temp, minN = 'p';
int pos = -1, minP = -1, result = 0, y;
stringstream ss;
scanf("%6s", num);
for(int x = 0; x < strlen(num)-1; x++){
if(num[x... | [
"villezcag.pedro@gmail.com"
] | villezcag.pedro@gmail.com |
c18739e2eca595ce1fc27da9e05bdce66e0d17cf | 0b4c63ce6dfde4ceb184a9c12564e1cfb3a079c1 | /tensorflow-square/kernel/custom_square.cc | ad47f896b36d24306db46a9a28b34739de2b6d59 | [] | no_license | alrojo/course-02456-sparsemax | 4363dc982e6b9e9425bdcbf0b926622525861b11 | ef5b7d915caadc384a0df167c5fff3bb816c0706 | refs/heads/master | 2021-01-12T11:30:40.835156 | 2016-10-31T22:29:48 | 2016-10-31T22:29:48 | 72,942,390 | 2 | 0 | null | 2016-11-05T17:32:04 | 2016-11-05T17:32:03 | null | UTF-8 | C++ | false | false | 2,463 | cc | #include "tensorflow/core/framework/op.h"
#include "tensorflow/core/framework/op_kernel.h"
#include "tensorflow/core/framework/shape_inference.h"
#include <string>
#include <cstdlib>
#include <cstdio>
static void debugprint(std::string msg) {
if (std::getenv("DEBUG")) {
std::printf("> debug: %s\n", msg.c_st... | [
"amwebdk@gmail.com"
] | amwebdk@gmail.com |
b29e266409ef8fb936fffb6bc80a8f3fdbb22f58 | 48a730edb4b088c0dfb5bdba6ff864b1ff68790d | /src/core/config.h | ae6fa0da102510052e5c105ce516d6f9ad47013f | [
"WTFPL"
] | permissive | massix/lali | 8aa9e10d4722126e86279da8d466df81d84dfb07 | 9b83eeb79f90af9af42b19ad59b35ac7555d8e19 | refs/heads/master | 2021-01-01T06:11:08.677410 | 2014-11-09T10:33:41 | 2014-11-09T10:33:41 | 25,535,545 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,335 | h | //
// DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
// Version 2, December 2004
//
// Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
//
// Software :
// Copyright (C) 2014 Massimo Gengarelli <massimo.gengarelli@gmail.com>
//
// Everyone is permitted to copy and distribute verbatim or modifie... | [
"massimo.gengarelli@gmail.com"
] | massimo.gengarelli@gmail.com |
0f2282c9c667df5cbb8902037d4c577ee38fcd0d | f4cdff13b74cdc3d8e1c98f3bdd69c17964876a5 | /raspi/Project/sample-code/csv-file-comp.cpp | 477e30fd8a7afbed4ffac9da6ddf18fff711811d | [] | no_license | praneethdodedu/Robotics | 57a5577816d0e2fac73f2380053a2de089c0e821 | 03d20a917883b206aa4f93d0a8cfde4b118db947 | refs/heads/master | 2022-03-14T05:57:52.796107 | 2022-02-08T16:21:48 | 2022-02-08T16:21:48 | 152,742,644 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,241 | cpp | #include <stdio.h>
#include <string.h>
#include <errno.h>
#include<iostream>
#include <wiringSerial.h>
#include<bits/stdc++.h>
using namespace std;
int main (int argc, char **argv)
{
fstream fin1;
fin1.open("lidar-data.csv", ios::in);
fstream fin2;
fin2.open("lidar-data-0-1.csv", ios::in);
... | [
"praneeth.dodedu@gmail.com"
] | praneeth.dodedu@gmail.com |
46179b83a237165e28405d29ddee7206cd924b4f | 71854d8ad5d947b9b82592e09493a8ef5376d1a6 | /pengirim/src/main.cpp | 50cffa86d0ca8eb5bad3a07cbe3b97d75220db9c | [] | no_license | nobbyphala/TA | b43ba05f8f0d1cfe5b80217b21e43f546f778bb8 | 40b0815165bd7d5b2b372bf29ae6a44d29bcb2a3 | refs/heads/master | 2020-03-18T13:34:25.426143 | 2018-06-03T08:53:46 | 2018-06-03T08:53:46 | 134,792,976 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,074 | cpp | // #include <SPI.h>
// #include <nRF24L01.h>
// #include <RF24.h>
// #include<CountUpDownTimer.h>
//
// RF24 radio(7, 8);
//
// const long broadcast_addr = 1000;
//
// struct data_CH{
// long CH_addr;
// long status;
// };
//
// data_CH text;
// CountUpDownTimer T(UP, HIGH);
//
//
// void setu... | [
"nobby.phala@gmail.com"
] | nobby.phala@gmail.com |
a0ca45a610a3deaa8a6137b7b5c8880e6d03369c | e79a4fb59ead906489e8c8a0457407d4f559604f | /tests/CustomerTests.h | 888f5e6a8225f7a9a34fc88af5041f86d2cfe8c3 | [] | no_license | Furkanzmc/QStripe | 034cc7c26711debdd38bdcbaa5fbed5ce8a27307 | 7b77c0bd5620a4df3a665755bff9cfb3ec1b9a75 | refs/heads/master | 2021-04-03T07:25:49.561526 | 2019-04-09T22:23:44 | 2019-04-22T20:48:52 | 124,796,188 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 718 | h | #pragma once
#include <QObject>
class CustomerTests : public QObject
{
Q_OBJECT
public:
explicit CustomerTests(QObject *parent = nullptr);
QString getCustomerID() const;
private:
QVariantMap getAddressData() const;
QVariantMap getShippingInformationData() const;
QVariantMap getData() const;
... | [
"furkanuzumcu@gmail.com"
] | furkanuzumcu@gmail.com |
b4e14fb04778a34f63c1ad3d5588c567101e5882 | beaccd4ca566e9f7f112b98dfe3e32ade0feabcc | /code chef/twodogs.cpp | 245e502b7050360f05de1285e54974277771affa | [] | no_license | maddotexe/Competitive-contest-programs | 83bb41521f80e2eea5c08f198aa9384cd0986cde | 4bc37c5167a432c47a373c548721aedd871fc6b7 | refs/heads/master | 2020-04-17T08:08:43.922419 | 2015-03-10T19:26:55 | 2015-03-10T19:26:55 | 31,177,844 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,105 | cpp | #include <iostream>
#include <cstdio>
#include <vector>
#include <map>
#include <cstring>
#include <cstdio>
#include <algorithm>
#include <set>
#include <queue>
#include <stack>
#include <cstdlib>
#include <string>
#include <list>
#include <bitset>
#include <iomanip>
#include <cmath>
#include <sstream>
#include <deque>... | [
"agarwal.shubham21@gmail.com"
] | agarwal.shubham21@gmail.com |
018370335e3a73b8b0e736056cb95f0adf899d1c | fba8406c19ec34038ad1a93b1260ea3ff7baa431 | /PBattleCity/Perro.cpp | d9b776482cd27297e5708778179848e615789c13 | [] | no_license | gase1209/ProyectoBattleCity | 05ae39048921ae8c0c121f0393d1469bf400a7a8 | 96f15090b170393c7a9893dc1230763a6800e3b8 | refs/heads/main | 2023-03-06T01:38:17.365939 | 2021-02-18T00:05:38 | 2021-02-18T00:05:38 | 339,885,725 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 486 | cpp | #include "Perro.h"
#include "Utilitarios.h"
Perro::Perro(string _NombrePerro, string _RepresentacionVisual, int _PosicionXI, int _PosicionXD, int _PosicionYS, int _PosicionYI) : NombrePerro(_NombrePerro), RepresentacionVisual(_RepresentacionVisual),
PosicionXI(_PosicionXI), PosicionXD(_PosicionXD),
PosicionYS(_Posici... | [
"jms25348@gmail.com"
] | jms25348@gmail.com |
602d15b60d0107ea2be9a0c768f0f55bc4260664 | 7d55e549ea3fedec538865721ca46531ba4a8c7a | /examples/SHT31_ReadValues/SHT31_ReadValues.ino | 866356b3930b3e381fb1e7547ae161c5f2c0a09a | [
"BSD-3-Clause"
] | permissive | jacobstim/Adafruit_SHT31 | f47cf0f23c5d5706c0cae40d7708f970e45191c9 | d07fbc96557050865ad4e6e5250634bb83d85bd0 | refs/heads/master | 2021-07-07T16:43:31.585725 | 2017-10-05T16:01:48 | 2017-10-05T16:01:48 | 105,910,328 | 0 | 0 | null | 2017-10-05T15:57:07 | 2017-10-05T15:57:06 | null | UTF-8 | C++ | false | false | 3,594 | ino | /****************************************************************************
SHT31D Unified Sensor Driver
*****************************************************************************
Example illustrating how to read data using the unified sensor driver (from
Adafruit's Sensor framework).
Written in 2017 by Tim Jacob... | [
"jacobs.tim@gmail.com"
] | jacobs.tim@gmail.com |
0b4479345a6c610f7fc5efbab6774a5ea134697a | 7638d92d07112e839d4c8d9e4c60b3b36bbe3237 | /LearnOpenGLES/libs/ftgl/Vectoriser.cpp | 3d590e080bffc29116c4cc98c09e1ad60dd5db89 | [] | no_license | erpapa/LearnOpenGLES | daa6ab2792df6470e7cbc75790d454ace43b3e40 | 1a45457212e9fc16c0b44e4736b3a3ec693ab2e0 | refs/heads/master | 2021-05-02T12:55:11.685870 | 2020-10-26T10:08:25 | 2020-10-26T10:08:25 | 120,749,355 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,289 | cpp | /*
* FTGL - OpenGL font library
*
* Copyright (c) 2001-2004 Henry Maddocks <ftgl@opengl.geek.nz>
* Copyright (c) 2008 Éric Beets <ericbeets@free.fr>
* Copyright (c) 2008 Sam Hocevar <sam@zoy.org>
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated d... | [
"hyplcf@163.com"
] | hyplcf@163.com |
dc9a3749773d5d7b997eae9dfdc3f094ed40862c | 19d0ce325216c56a0260edfb38ff8c328cb754f4 | /Export/android/release/obj/src/haxe/_Unserializer/DefaultResolver.cpp | b2fd431ff5025f532c31d7971673cad7d3e6d171 | [] | no_license | HerbinCommando/TokyoTrail | 42fcb0569e5028c2e96b100ad20008304370c16e | 8737240e8782f5357f472dead574fb956243e48a | refs/heads/master | 2021-01-01T20:08:20.336935 | 2017-08-06T05:58:30 | 2017-08-06T05:58:30 | 98,772,096 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 4,884 | cpp | // Generated by Haxe 3.4.2
#include <hxcpp.h>
#ifndef INCLUDED_Type
#include <Type.h>
#endif
#ifndef INCLUDED_haxe__Unserializer_DefaultResolver
#include <haxe/_Unserializer/DefaultResolver.h>
#endif
HX_DEFINE_STACK_FRAME(_hx_pos_68dfa52f787219bb_476_new,"haxe._Unserializer.DefaultResolver","new",0xe2809ead,"haxe._Un... | [
"heath@wgcells.com"
] | heath@wgcells.com |
4a442a5ab0db7fe5b0d99be5a7620caaf6c869e9 | b9fdc902fa6a3c275c800a4ad721cfc94774fa54 | /Tests/VECMatrices5678/avx512debug.cpp | 57529121a43e7cbff4d5d2275e4c6c1d6008462e | [] | no_license | r-aax/ipar | fd51ce2f137f20135cc6e54861fdaf0e57b3dc47 | 42499b16e653c97aa3c43b0cbf2fae82c7211ad3 | refs/heads/master | 2022-05-15T17:56:45.475825 | 2022-04-11T10:33:29 | 2022-04-11T10:33:29 | 108,764,737 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,362 | cpp | /// \file
/// \brief AVX-512 debug functions implementations.
#include "avx512debug.h"
#include "../../Utils/IO.h"
#ifdef INTEL
#include <immintrin.h>
using namespace std;
/// \brief Get <c>i</c>-th element from vector.
///
/// \param[in] v - vector
/// \param[in] i - index
///
/// \return
/// Element.
float get(_... | [
"rybakov.aax@gmail.com"
] | rybakov.aax@gmail.com |
5c8e9c400eb3f94030040a1cd38c9a34f6fbb89a | 4335c83a37839036a855dc5539553e1faef25389 | /io.h | 56e2b36de35c383c00eff69b4eda9966bfc00a02 | [] | no_license | Tachikoma2018/imageretrieve | 71fe5939cac90209013620b7128eb00ab14d7620 | e0f77314d02069911c3b0a828eae56aa1bff2f26 | refs/heads/master | 2020-06-12T20:00:14.759948 | 2015-07-20T00:46:49 | 2015-07-20T00:46:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 574 | h | #ifndef __IO_PROCESS__
#define __IO_PROCESS__
#include <string>
#include <fstream>
#include <iostream>
#include <vector>
#include <stdio.h>
#include <sstream>
using std::string;
using std::ofstream;
using std::ifstream;
using std::ostringstream;
using std::vector;
using std::istringstream;
using std::ostringstream;... | [
"wyb621@163.com"
] | wyb621@163.com |
1a9002214ca48a74e45737aa5ce561b89547e443 | a2a4878a9b8905b67ec6593e38ffe9ccc6b61616 | /ex02/Warrior.hh | 0cfe5b12987f79c5180e6a5d2fa32046e7b8548c | [] | no_license | 17150008/piscine_cpp_d05 | 9aea97cc38d1a326fa569ea547d39d5291647692 | 18dba6b8240192351a675e417a83bf1d9d17c209 | refs/heads/master | 2020-03-22T12:29:34.359125 | 2018-07-09T01:58:02 | 2018-07-09T01:58:02 | 140,043,487 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 307 | hh | #ifndef WARRIOR_H_
#define WARRIOR_H_
#include <string>
#include "Character.hh"
class Warrior : public Character
{
public:
explicit Warrior(std::string const& name, int level);
virtual ~Warrior() {}
int CloseAttack();
int RangeAttack();
private:
std::string const _weapon;
};
#endif
| [
"qiaolinqi@yeah.net"
] | qiaolinqi@yeah.net |
5cb4d9bc91e35809d208dc731272ae91c33ed306 | 49022e7430be70ab6880c28b759f9c68e1e2edf8 | /Game/Entities/Entrance.cpp | 1545142bc2d00f1f7387b7f343dc972185885546 | [] | no_license | f3db43f4g443/SimpleSample11 | 61a634afa664676f94bf51f58c38640ee7ee1b64 | e6aa0ceb34843defd0433b09f42f2de036d443d7 | refs/heads/master | 2022-03-10T18:21:42.698566 | 2022-02-18T06:42:18 | 2022-02-18T06:42:18 | 68,726,252 | 0 | 1 | null | 2021-04-15T18:51:36 | 2016-09-20T15:30:41 | C++ | UTF-8 | C++ | false | false | 625 | cpp | #include "stdafx.h"
#include "Entrance.h"
#include "Stage.h"
#include "Player.h"
CEntrance::CEntrance( const char* szStage, const char* szStartPoint, const char* szText, float fTime, float fCircleSize )
: CFastUseable( szText, fTime, fCircleSize )
, m_strStageName( szStage )
, m_strStartPointName( szStartPoint )
{
... | [
"654656040@qq.com"
] | 654656040@qq.com |
f4fdee97ce09b42bae2f215165af1ebc5e234c85 | 8c9a869239aa842bbb44e17baba8ed41e189192f | /jni/application/Player.h | d146a172f2eb0e0f391855c0fcb077eb9b9ec97e | [] | no_license | linshu123/494_p3 | 3f73246d3e065c5b53aefb7de65dbd3f14bbe1ef | 9f5a59a0b7b923a3cd721ce104709c62a8e1ca90 | refs/heads/master | 2020-04-19T03:55:00.574175 | 2013-10-31T05:02:36 | 2013-10-31T05:02:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,406 | h | #ifndef PLAYER_H
#define PLAYER_H
#include <Zeni/Camera.h>
#include <Zeni/Collision.h>
#include <Zeni/Quaternion.h>
#include <Zeni/Vector3f.h>
namespace Crate {
class Player {
public:
Player(const Zeni::Camera &camera_,
const Zeni::Vector3f &end_point_b_,
const float radiu... | [
"linshu123@gmail.com"
] | linshu123@gmail.com |
6cd54b448e3356950c284b82782724e25b2d028d | cc0893757997cd4ad92971c52d4002d6644a1db3 | /shadowmapdemo1byzwqxin/StdAfx.cpp | 05a12f0fe11335ae1ae3c381de870b5c5fae2df1 | [] | no_license | karry9527/HW2-displacement-and-bump-map | 7c1af691cb82fd4ac6d79dbe2494005950649785 | 5d0d4acb8c167f2861d1115a311aff9e1246f905 | refs/heads/master | 2020-05-19T19:16:09.952360 | 2015-09-17T07:02:29 | 2015-09-17T07:02:29 | 41,012,017 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 213 | cpp | // stdafx.cpp : source file that includes just the standard includes
// shadowvolume.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
| [
"karry9527100@gmail.com"
] | karry9527100@gmail.com |
9ebb8ed4fbb125c71cd738f654a56d69c191dbff | 06bd944813c066bc16446ee321ceaf3a7673fe7a | /SD/Sortari/src/countSort.cpp | c03cc82b8897796819f0af1aea89ebd32aee1449 | [] | no_license | Rpd-Strike/Courses | bfebaab2f80147cc2a854f27ab4c30406b7f061f | d5e0d472b5f4a924422495bbfeedcabce7077802 | refs/heads/master | 2021-08-08T02:08:34.940731 | 2021-04-20T11:23:37 | 2021-04-20T11:23:37 | 248,713,511 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 806 | cpp | #include "countSort.hpp"
#include "Felix/Colors.hpp"
namespace Sortari
{
std::string CountSort(std::vector<int>& v)
{
using Felix::Colors::File::red;
using Felix::Colors::File::reset;
if( v.empty() )
return "";
int valmin = *std::min_element(v.begin(), v.end());
... | [
"puscasu.felix1@gmail.com"
] | puscasu.felix1@gmail.com |
2ce54ef44fdb8e91dbb8ecd0e603a4f5a555de60 | 1a1a850a849cb4b173f359b4b30a66a357109e46 | /console/iui.cpp | 2306ea09b84ca0381d74192ce780bd18ef33290c | [] | no_license | Akikaze/ComCheck | 4bfc92f50bb5baa01d8aec5d1df52b3855ee948f | 2b81098d27196f39cc66c16ee8c4fcc99017f6bf | refs/heads/master | 2020-05-22T01:05:59.664422 | 2016-10-31T14:44:36 | 2016-10-31T14:44:36 | 62,927,780 | 0 | 2 | null | 2016-09-23T21:16:21 | 2016-07-09T02:14:13 | C++ | UTF-8 | C++ | false | false | 461 | cpp | #include "iui.hpp"
#include "core.hpp"
///
/// \brief Constructor
/// \param parent Parent for this QObject
///
IUI::IUI
(
QObject * core
)
: QObject( core )
{
// get a pointer to the core
core_ = ( Core * )( core ) ;
}
///
/// \brief Destructor
///
IUI::~IUI
()
{
// release the core
core_ = nullptr ;
}
///
///... | [
"david.feraud@nist.gov"
] | david.feraud@nist.gov |
26763a2a64e3302d50e49701e41c9989265b5c1e | 817dc9bebf0d278fcf474f31a77cb23ada61056c | /QL/Common/CommonInclude/Global/Macro/rnfile.h | f96d3975f6a6f9f6dcfd6e6b5bea2f0ad09dd1e1 | [] | no_license | dudugi/NewForTortoise | 6f7d82cea00b49af3c38f1e332937ce3edf894b4 | 685ba32e8d7ee16c22f115b681a21f3d4e3fddf8 | refs/heads/master | 2022-02-08T11:56:42.102049 | 2022-01-25T07:02:47 | 2022-01-25T07:02:47 | 196,016,007 | 2 | 0 | null | null | null | null | GB18030 | C++ | false | false | 29,906 | h | #pragma once
/********************************************************************
// 作者: linyp
// CopyRight(c) 2010 Burnon All Rights Reserved
// 创建时间: 2014/04/17 15:08
// 类描述: 文件操作相关
// 修改时间:
// 修改目的:
*********************************************************************... | [
"du_chen_hi@126.com"
] | du_chen_hi@126.com |
925cf5052a8a53fb77cc0a4ce4f025f40d9c8dd6 | c02c335c9e5663655a803cd5bb4bf976870cf055 | /opensubdiv-sys/osd-capi/far/primvar_refiner.cpp | b12af78bd71ef3cdc3ce3da63b6553ebbba428dd | [
"Apache-2.0"
] | permissive | anderslanglands/opensubdiv-rs | bcabf011caf14d7a9e9a6951f19d44ab738a6d03 | 46f19f56db1c35ab9f768e16ece8c40310bf13cd | refs/heads/master | 2020-06-24T23:20:47.719309 | 2019-08-27T00:02:42 | 2019-08-27T00:02:42 | 199,123,067 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,651 | cpp | #include <opensubdiv/far/primvarRefiner.h>
#include <opensubdiv/sdc/options.h>
#include <opensubdiv/sdc/types.h>
#include <stdio.h>
typedef OpenSubdiv::Far::PrimvarRefiner PrimvarRefiner;
typedef OpenSubdiv::Far::TopologyRefiner TopologyRefiner;
template <int N> struct Primvar {
float v[N];
void Clear() {
... | [
"anderslanglands@gmail.com"
] | anderslanglands@gmail.com |
903c9908316a4b0fc3ebf8d781baed68f2894672 | 0db10f9d35a9cea4165ffbe62cf7f19cae252056 | /src/nnet3/nnet-discriminative-example.h | 3dd91c2c8c250128794c6f869087fa8ed8327b43 | [
"Apache-2.0",
"LicenseRef-scancode-public-domain"
] | permissive | nichongjia/kaldi | 4da4b985f8fe3b484d60d8929d4b9046f8174372 | c7a2331e593da84ad43d13f902b8c6971a1f5bb1 | refs/heads/master | 2021-01-17T16:08:46.590348 | 2017-07-21T07:09:48 | 2017-07-21T07:09:48 | 72,055,985 | 1 | 0 | null | 2016-10-27T00:23:45 | 2016-10-27T00:23:45 | null | UTF-8 | C++ | false | false | 9,097 | h | // nnet3/nnet-discriminative-example.h
// Copyright 2012-2015 Johns Hopkins University (author: Daniel Povey)
// 2014-2015 Vimal Manohar
// See ../../COPYING for clarification regarding multiple authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this f... | [
"nicj@i2r.a-star.edu.sg"
] | nicj@i2r.a-star.edu.sg |
8173baf9e5e50997cc08d6a6f279ab6f858cd910 | c0caed81b5b3e1498cbca4c1627513c456908e38 | /src/protocols/match/downstream/SecondaryMatcherToDownstreamResidue.fwd.hh | e9618f8de49e0f6c1f6e5c1e12f35055e798e755 | [] | no_license | malaifa/source | 5b34ac0a4e7777265b291fc824da8837ecc3ee84 | fc0af245885de0fb82e0a1144422796a6674aeae | refs/heads/master | 2021-01-19T22:10:22.942155 | 2017-04-19T14:13:07 | 2017-04-19T14:13:07 | 88,761,668 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,383 | hh | // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
// vi: set ts=2 noet:
//
// (c) Copyright Rosetta Commons Member Institutions.
// (c) This file is part of the Rosetta software suite and is made available under license.
// (c) The Rosetta software is developed by the co... | [
"malaifa@yahoo.com"
] | malaifa@yahoo.com |
012c1302a324677d885823dbbf1eb0ab6e2c8517 | 88ae8695987ada722184307301e221e1ba3cc2fa | /chrome/browser/ash/phonehub/phone_hub_manager_factory.h | 43f7836a4dd08f0817e426e1c2ce0bcd1414b0f8 | [
"BSD-3-Clause"
] | permissive | iridium-browser/iridium-browser | 71d9c5ff76e014e6900b825f67389ab0ccd01329 | 5ee297f53dc7f8e70183031cff62f37b0f19d25f | refs/heads/master | 2023-08-03T16:44:16.844552 | 2023-07-20T15:17:00 | 2023-07-23T16:09:30 | 220,016,632 | 341 | 40 | BSD-3-Clause | 2021-08-13T13:54:45 | 2019-11-06T14:32:31 | null | UTF-8 | C++ | false | false | 1,676 | h | // Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_ASH_PHONEHUB_PHONE_HUB_MANAGER_FACTORY_H_
#define CHROME_BROWSER_ASH_PHONEHUB_PHONE_HUB_MANAGER_FACTORY_H_
#include "base/memory/singleton.h"
#include "... | [
"jengelh@inai.de"
] | jengelh@inai.de |
ccd38f0857825dbc3a9779fa90c9810b48b0bd63 | 7eafbceed38bd4ac9ef10003ef0bb0622064564b | /Exercises/Exercise-4/question-3/capture.cpp | 0440f320b083fc887637d1aca4e9bd7780d13451 | [] | no_license | AbikametCU/ECEN_5763-EMVIA- | e0cfbae57a48f0b546c11d18cdc9600a18f0f4d3 | 503629072aa0d0ff4e4f76cdac543f2964cf07d4 | refs/heads/master | 2022-01-19T14:55:07.367582 | 2019-07-29T04:33:29 | 2019-07-29T04:33:29 | 192,027,753 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,456 | cpp |
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <iostream>
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include "opencv2/imgproc/imgproc.hpp"
using namespace cv;
using namespace std;
Mat skeletal_transform(Mat src){
Mat temp;
Mat eroded;
Mat element =... | [
"aban7446@colorado.edu"
] | aban7446@colorado.edu |
e391998c4c6c7b604e50c671384c5ad70cff7453 | 93c4e7e85941796952833286f25eb6c1bee9b366 | /Arduino/sketch_nov15a.ino | 61798f628f634ebfc8c4edfceaf7012f55f32162 | [] | no_license | SzymonOzog/Bluetooth | b254a7e46e7aa48e7528c16dceb53bb05a070512 | d1b78009d25b54a826ea60bed4de3c1203f886d7 | refs/heads/master | 2020-09-25T05:30:39.765616 | 2020-06-18T10:29:42 | 2020-06-18T10:29:42 | 225,928,112 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,703 | ino | //Library Import
#include <SoftwareSerial.h>
#include "DHT.h"
DHT dht;
//Pin number to whitch we connected the sensor
#define DHT11_PIN 2
// Adres czujnika
int alarm_threshold = 0;
int temperature = 0;
int a;
//Declaring the port for bluetooth
SoftwareSerial Bluetooth(10, 11); //create... | [
"szymon.ozog@gmail.com"
] | szymon.ozog@gmail.com |
e5fa8e53b407b780d1b72e67dcdec3cebbaf75b9 | 85455876309135778cba6bbf16933ca514f457f8 | /2000/2014.cpp | 143be670e39b46f77b8e7858ccf84d05297b55f9 | [] | no_license | kks227/BOJ | 679598042f5d5b9c3cb5285f593231a4cd508196 | 727a5d5def7dbbc937bd39713f9c6c96b083ab59 | refs/heads/master | 2020-04-12T06:42:59.890166 | 2020-03-09T14:30:54 | 2020-03-09T14:30:54 | 64,221,108 | 83 | 19 | null | null | null | null | UTF-8 | C++ | false | false | 551 | cpp | #include <cstdio>
#include <vector>
#include <queue>
#include <functional>
using namespace std;
int main(){
int K, N, P[100];
priority_queue<int, vector<int>, greater<int>> PQ;
scanf("%d %d", &K, &N);
for(int i=0; i<K; i++){
scanf("%d", P+i);
PQ.push(P[i]);
}
int prev = -1;
for(int i=0; i<N-1; i++){
int c... | [
"wongrikera@nate.com"
] | wongrikera@nate.com |
0b0af186d206cbc0b72df1011aa989fe24f0f832 | 1f0fb1bc4810d65ac042f532a9c7056dfb0438a5 | /oopLab2_5.cpp | a8eb742087b7ceead13755c0cb3bf0f061dee8c9 | [] | no_license | jubayertalha/OOP_C_Plus_Plus | 48e847ad4ba3d304afe90e64b497ef219829fc05 | 42511e4df9e617dff9084c0734b77d4173de2404 | refs/heads/master | 2023-02-24T14:00:13.721653 | 2021-01-25T21:17:31 | 2021-01-25T21:17:31 | 332,818,403 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,903 | cpp | #include<iostream>
using namespace std;
class vehicle{
public:
static string vName,vColor;
static int noOfWheels, engineSize;
/*static void setVname(string n){
vName = n;
}
static void setVcolor(string c){
vColor = c;
}
static void se... | [
"jubayertalha194@gmail.com"
] | jubayertalha194@gmail.com |
0af0d27865c326978e235b8a2e893cfaa6c697e6 | 8b8042915b0641143d76998b3b03519b3bcee9b6 | /Final_Release/ros_ws/src/taches/src/tache2.cpp | 9b0c58258df5f5f1dbbd9c92e3b8661a2bb006a7 | [] | no_license | ProjetLongAIP/Livrable-Final | aaedb49ac65b415144fad3117cbc177bb4fbe61f | 4b03fa1f6f7f613f840cd8973b3e0d87d5ae6091 | refs/heads/master | 2021-01-22T20:08:22.308031 | 2017-06-20T12:43:18 | 2017-06-20T12:43:18 | 85,282,992 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 8,299 | cpp | /**** Projet long N7 2017 ****/
#include "tache2.h"
//Constructeur
Tache2::Tache2()
{}
//Destructeur
Tache2::~Tache2()
{}
/** Fonction interne permettant d'évacuer le produit de la table lorsque le robot l'a récupéré **/
//Fonction permettant de changer la couleur de la table lorsque le traitement est terminé
... | [
"maxime-maurin@hotmail.fr"
] | maxime-maurin@hotmail.fr |
40979dbf15328b381c238fd00bfa3a14b0e00463 | 2cf838b54b556987cfc49f42935f8aa7563ea1f4 | /aws-cpp-sdk-personalize/include/aws/personalize/model/OptimizationObjective.h | 3e31e9ed59b10ff9f1eb5d20a40a9b7ffe695902 | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | QPC-database/aws-sdk-cpp | d11e9f0ff6958c64e793c87a49f1e034813dac32 | 9f83105f7e07fe04380232981ab073c247d6fc85 | refs/heads/main | 2023-06-14T17:41:04.817304 | 2021-07-09T20:28:20 | 2021-07-09T20:28:20 | 384,714,703 | 1 | 0 | Apache-2.0 | 2021-07-10T14:16:41 | 2021-07-10T14:16:41 | null | UTF-8 | C++ | false | false | 5,839 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/personalize/Personalize_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/personalize/model/ObjectiveSensitivity.h>
#include <utility>
namespace Aws... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
a9699887d117d2fe14625e43412870b342724d98 | c3a78d39b996a6860a8a2076f50d5523e3ad9ed0 | /Algorithm/Experiment/2/A.cpp | a41fabb25e051ab289ee37f52cf0fd5710b743c6 | [] | no_license | BanSheeGun/Learning | 61bfc0c79a2a04e4c2d8dccb063a007463fbe25f | cbb785eec763f0d15406e6993febf8c16159140d | refs/heads/master | 2021-01-17T14:09:48.763244 | 2018-04-02T05:39:29 | 2018-04-02T05:39:29 | 47,012,547 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 551 | cpp | #include<cstdio>
#include<cstdlib>
#include<cstring>
#include<cmath>
#include<algorithm>
using namespace std;
typedef long long ll;
const ll mod = 1e9 + 7;
int a, b, tmp, t, d, n;
int main() {
scanf("%d", &n);
t = 0;
for (a = n/2; a < n; ++a) {
tmp = 1;
b = n - a;
while (tmp <= a) ... | [
"ccp750707@126.com"
] | ccp750707@126.com |
ef6496aeb8c17d6c7017bfaf24c6573a89a9e974 | 8ab7d5e26ebdb9b89208912bc506fb4994c14ca2 | /Day 26/subsetsumdpgeeksforgeeks.cpp | b05471474cb15e2b87e3cb097723bb0ce22e4e7b | [] | no_license | samfubuki/striver-sde-solutions | d95808a6cf3dcb3a2c254afe5e068819fca71247 | 8ae67f7d9995ca8a3af7067fba0631183bc53400 | refs/heads/main | 2023-07-15T07:55:35.043304 | 2021-08-29T18:32:34 | 2021-08-29T18:32:34 | 401,113,622 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,296 | cpp | #include <bits/stdc++.h>
using namespace std;
// } Driver Code Ends
// User function Template for C++
class Solution{
public:
bool subsetsum(int arr[] , int sum , int n)
{
bool t[n+1][sum+1];
for(int i=0;i<=n;i++)
{
t[i][0]=true;
}
for(int i=1;i<=sum;i++)
... | [
"pbhardwaj.preet@gmail.com"
] | pbhardwaj.preet@gmail.com |
aad54af71fa1fa7d1464fb6ecd0149a18c9c64d9 | 073b677e7256a8b705c1f3230b64664f55e265b2 | /Lab3/Lab1/RectangleCreator.h | d79b8f20cd02c7fa40e47a2c45206a2448fe203d | [] | no_license | DolgushevEvgeny/KPO | ee4d650d45588a61e247e688536d4100268a5894 | 01403b7cb16e4cb0c00661252ec0818f9bc441e0 | refs/heads/master | 2021-01-18T23:07:09.874065 | 2016-06-13T16:22:45 | 2016-06-13T16:22:45 | 51,082,448 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 289 | h | #pragma once
#include "Shape.h"
#include "Point.h"
class CRectangleCreator
{
public:
std::unique_ptr<CShape> Create(const Point &point1, const Point &point2) const;
static CRectangleCreator* GetInstance();
static void DestroyInstance();
private:
static CRectangleCreator *inst;
};
| [
"baraxlush1995@gmail.com"
] | baraxlush1995@gmail.com |
13d63712187732538d309c01d3a336187d8210ce | 60cfe9ed4709e44d61ff1a207ffb426ffff4259f | /src/Scene.h | 8be0159a637b568165d6b36f87cac072759aec8b | [] | no_license | yohkaz/BasicRayTracer | 8a5b70b58b5b91a7a81489ca9034d53750f4aae6 | 5c36a3d9786b0a3eeb755b2b4e0cd55252e799d9 | refs/heads/master | 2020-12-20T13:59:44.222236 | 2020-03-31T19:37:38 | 2020-03-31T19:37:38 | 236,101,044 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 672 | h | #ifndef SCENE_H
#define SCENE_H
#include <vector>
#include "Camera.h"
#include "Model.h"
#include "Light.h"
class Scene {
public:
Scene() = default;
void add(Model& model) {
models.push_back(&model);
}
void add(Light& light) {
ligths.push_back(&light);
}
const Camera& getCam... | [
"yoh.kzl@gmail.com"
] | yoh.kzl@gmail.com |
fa98ce24995ec04ed3db9539d06c07f4b7e3a8f0 | 29a8e350ee9c5ce63302381ea7e85efb691d7b37 | /src/nco/contact.h | 8a0e82949c91a40856a06795c4df5b48c14b47a6 | [] | no_license | sandeepraju/MovieManager | 87a13af20e8650a8c6707863c333ed6bfe19da9a | df93216482c6ab73f324d10f9ae90bf1915809a7 | refs/heads/master | 2020-04-06T04:29:31.111916 | 2012-07-24T09:23:28 | 2012-07-24T09:23:28 | 3,428,521 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,401 | h | #ifndef _NCO_CONTACT_H_
#define _NCO_CONTACT_H_
#include <QtCore/QVariant>
#include <QtCore/QStringList>
#include <QtCore/QUrl>
#include <QtCore/QDate>
#include <QtCore/QTime>
#include <QtCore/QDateTime>
#include <nepomuk/simpleresource.h>
#include "nie/informationelement.h"
#include "nco/role.h"
namespace Nepomuk ... | [
"sandeep080@gmail.com"
] | sandeep080@gmail.com |
cb42f221a986ad891831b2ea2c0fc0ea5e97957b | f9451e836cbd9c8a8d1e1ed3ce7db92a9cf3c294 | /include/GameState.h | 7d5d42e09fbd2f418232176f23dec7d9acc028f4 | [] | no_license | exomo/Snake | 85bf28f733c4a089596ea9d9af4c29cbc168f196 | cb23ddb0cc766f971c6a3a301d49daa667850603 | refs/heads/master | 2020-05-03T16:35:15.350347 | 2019-03-31T18:37:27 | 2019-03-31T18:37:27 | 178,726,098 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 1,021 | h | #ifndef GAMESTATE_H
#define GAMESTATE_H
#include <memory>
#include <SFML/Graphics.hpp>
namespace ExomoSnake
{
/*
* Abstrakte Basisklasse für den Spielzustand. In jedem Spielzustand müssen werden die drei Methoden
* handleEvents(), updateGame() und render() implementiert werden. Spielzustände sind z.B. ... | [
"exomo@gmx.de"
] | exomo@gmx.de |
2740d0bd05df1f4d6c575f21c0bc5b2872ddce92 | 1c7523f0f2af2b815d97b312bed24a11ee880dd1 | /tests/test_machine.cpp | 2d8aeca162ef471a945291343ceef5366c26ad6b | [] | no_license | bgalvan/CPU_Simulator | ebe543db773e1660ea02afda742303d8d0d08df8 | 057a7f614e9185106965f4b81b8003e982ec65da | refs/heads/master | 2020-05-19T23:12:29.396952 | 2019-05-14T18:53:14 | 2019-05-14T18:53:14 | 185,261,904 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 228 | cpp | // Copyright 2018 Roie R. Black
#include <catch.hpp>
#include "Machine.h"
TEST_CASE( "test machine constructor", "machine" ){
const std::string name = "TinySim";
Machine sim(name);
REQUIRE(sim.get_name() == name);
} | [
"bgalvan10@gmail.com"
] | bgalvan10@gmail.com |
2f2b60ba01ca4e9e0b511949a94cbba5dd5b99d1 | c1493df6bba79f68ca1dcbb190aa027f3de900e9 | /procedure/mooc_cpp/work4/插入加密.cpp | 906a2b3bee075f9209b6d33625ba156707de8513 | [] | no_license | Richardcsb/github | 6ad474f5d286eacbdfafd6edfc048455b8c56985 | ea712f7e8db2e6f1352a3eb91276fc91ebffc0f8 | refs/heads/master | 2021-01-01T06:52:49.565716 | 2018-03-14T13:42:05 | 2018-03-14T13:42:05 | 97,539,129 | 1 | 1 | null | null | null | null | GB18030 | C++ | false | false | 428 | cpp | #include<iostream>
#include<string>
using namespace std;
int main()
{
int n,k;
char str1[120];
char str2[6]="abcde";
string text;
cin>>str1;
cin>>n; //当输入n等于1时程序正常运行,当输入n大于1时程序执行异常
text=str1;
k=n+1;
for(int i=0;str1[i]!='\0';i++)
{
text.insert(n,str2,i%5,1);
... | [
"chenshaobo272@gmail.com"
] | chenshaobo272@gmail.com |
17d63385ab5a4f05e2dd8d925c7f85cefb2dba94 | 1a2190b96ca17719d2b41a5fbcac6043cf9f08e4 | /SPOJ BR/LCAIXA.cpp | 2209ad433d7f862c3a8f799500cfb8b5ab0dae52 | [] | no_license | eliasm2/problem-solving | 13c1abbf397bb41683fccb3490b0113c36ce9010 | 15becf49315b5defb8c1267e0c43ce1579dcae1a | refs/heads/master | 2020-09-07T07:12:17.112311 | 2018-07-20T17:27:43 | 2018-07-20T17:27:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,773 | cpp | #include <map>
#include <set>
#include <list>
#include <stack>
#include <cmath>
#include <queue>
#include <ctime>
#include <cfloat>
#include <vector>
#include <string>
#include <cstdio>
#include <climits>
#include <cstdlib>
#include <cstring>
#include <cassert>
#include <iomanip>
#include <sstream>
#include <... | [
"paulocezar.ufg@gmail.com"
] | paulocezar.ufg@gmail.com |
5e984dac9f6acbc17d07183f0e580ae5618e85d7 | 6b29d51de8184ce5a7c9f508865b01d0ea04112c | /pat_L_01/pat010.cpp | d59ab21988717eec2f871525b873d6456f22f20a | [] | no_license | narutouzmk/pat | 2d1270607e2570d73b8a06612b1923d61ef8c255 | c5470eea38d8d9158bfde61f7495acf68261a1cf | refs/heads/master | 2020-05-03T09:48:06.870796 | 2019-03-30T14:48:37 | 2019-03-30T14:48:37 | 178,560,426 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 368 | cpp | #include <iostream>
#include <cstdio>
#include <cstdlib>
using namespace std;
int main(){
int age, time;
double wage = 0.0;
scanf("%d %d", &age, &time);
if(age >= 5){
wage = time > 40 ? 40 * 50.0 + (time - 40) * 50.0 * 1.5 : time * 50;
}else{
wage = time > 40 ? 40 * 30.0 + (time - 40) * 30.0 * 1.5 : time *... | [
"18840818956@163.com"
] | 18840818956@163.com |
e10a4e3f62b2341652dfa8942592209e36bb97cf | c5056f45428aae36b646834e9776f616d44ad54f | /Implimentationofarray.cpp | e5099a832de144f3cca8f11070c5cfc08677bef5 | [] | no_license | KarthikP1999/assignment | 2edc72939eefb51ea0f203d8ee78ca7afc7952b5 | c2e106a6ed3740a32038ca99ec8ff8d9cf761dad | refs/heads/master | 2021-04-15T06:35:14.100652 | 2018-03-21T17:47:24 | 2018-03-21T17:47:24 | 126,215,108 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 696 | cpp | #include<iostream>
#include<cstdlib>
#include<ctime>
using namespace std;
class RandomInt
{
public:
RandomInt(int, int);
int operator()();
int operator()(int nb);
int operator()(int , int);
private:
int a,b;
};
RandomInt :: RandomInt(int ia, int ib):a(ia),b(ib)
{}
int RandomInt :: operator()()
{
return a+r... | [
"karu372@gmail.com"
] | karu372@gmail.com |
5c7e4a27c357c4383239e45a5255a8da8d07530a | 90fc041cb98dd71d34bfff72761226d63c74f23e | /markus_crack/src/DllLoader.h | e4bb591e8b636dd67d87d0c58c6a8c9fe90159cb | [
"Unlicense"
] | permissive | mudlord/crackme_solutions | 510eb3258778febc0971dea4bb0aef67837cb95f | 9877a16e51bc41027d0363841f182e49bcee70ff | refs/heads/master | 2023-03-27T21:45:58.205384 | 2022-06-15T00:28:54 | 2022-06-15T00:28:54 | 212,070,700 | 8 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 10,276 | h | #pragma once
#pragma warning( disable : 4197 )
#include "Common.h"
#include "_EXP_Control.h"
#include "PatchUtil.h"
#include "DoPatch.h"
#define dll_export extern "C" __declspec(dllexport) void __cdecl
#define var_export extern "C" __declspec(dllexport)
#define dll_export2 extern "C" void __cdecl
BOOL WINAPI DllMain... | [
"mudlord@protonmail.com"
] | mudlord@protonmail.com |
6ea885b50be074cc2ea8772786ef9734f96e130b | 1dbf007249acad6038d2aaa1751cbde7e7842c53 | /frs/include/huaweicloud/frs/v2/model/DetectFaceByUrlIntlRequest.h | 3227b6cb506fb72eddeee3df04c6d4d5759c2485 | [] | permissive | huaweicloud/huaweicloud-sdk-cpp-v3 | 24fc8d93c922598376bdb7d009e12378dff5dd20 | 71674f4afbb0cd5950f880ec516cfabcde71afe4 | refs/heads/master | 2023-08-04T19:37:47.187698 | 2023-08-03T08:25:43 | 2023-08-03T08:25:43 | 324,328,641 | 11 | 10 | Apache-2.0 | 2021-06-24T07:25:26 | 2020-12-25T09:11:43 | C++ | UTF-8 | C++ | false | false | 2,697 | h |
#ifndef HUAWEICLOUD_SDK_FRS_V2_MODEL_DetectFaceByUrlIntlRequest_H_
#define HUAWEICLOUD_SDK_FRS_V2_MODEL_DetectFaceByUrlIntlRequest_H_
#include <huaweicloud/frs/v2/FrsExport.h>
#include <huaweicloud/core/utils/ModelBase.h>
#include <huaweicloud/core/http/HttpResponse.h>
#include <huaweicloud/frs/v2/model/FaceDetectU... | [
"hwcloudsdk@huawei.com"
] | hwcloudsdk@huawei.com |
d52b68e2cc15d7ec0da06f1687ff4b917c23cc0d | 892d25a9cd975ef7f4cffe025e8e875d1bd06e1d | /srvutils.hpp | 13071b3ed0ea08aafb2578f6999576c58241847c | [] | no_license | xsilvertom/smithproxy | 576c61d49456f1980374055f214d5da2c8b54d4e | 2cf4accaf3598636db5cc6402f3d8e34a8af8ce7 | refs/heads/master | 2020-08-04T07:41:31.335180 | 2019-08-19T16:35:28 | 2019-08-19T16:35:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,945 | hpp | /*
Smithproxy- transparent proxy with SSL inspection capabilities.
Copyright (c) 2014, Ales Stibal <astib@mag0.net>, All rights reserved.
Smithproxy 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 Foundat... | [
"astib@mag0.net"
] | astib@mag0.net |
2f930e6a8681a4ca7c144becb6d236f491d77d9a | 6cc00c07a75bf18a2b1824383c3acc050098d9ed | /AtCoder/Solutions/abc174_b.cpp | 283d6473fb72e7746e55901c187eb8540d27fd34 | [
"MIT"
] | permissive | Mohammed-Shoaib/Coding-Problems | ac681c16c0f7c6d83f7cb46be71ea304d238344e | ccfb9fc2f0d8dff454439d75ce519cf83bad7c3b | refs/heads/master | 2022-06-14T02:24:10.316962 | 2022-03-20T20:04:16 | 2022-03-20T20:04:16 | 145,226,886 | 75 | 31 | MIT | 2020-10-02T07:46:58 | 2018-08-18T14:31:33 | C++ | UTF-8 | C++ | false | false | 499 | cpp | // Problem Code: abc174_b
#include <iostream>
#include <vector>
#include <utility>
#include <algorithm>
using namespace std;
int distance(long long D, vector<pair<long long, long long>>& P) {
return count_if(P.begin(), P.end(), [&D](auto& p) {
return p.first * p.first + p.second * p.second <= D * D;
});
}
int m... | [
"shoaib98libra@gmail.com"
] | shoaib98libra@gmail.com |
1392532c4214e35f98d01082e759c3a61ecebf14 | 527739ed800e3234136b3284838c81334b751b44 | /include/RED4ext/Types/generated/anim/IKTargetParams_Update.hpp | ae35cb2e3e039d8425aa46ce522a37d26a647595 | [
"MIT"
] | permissive | 0xSombra/RED4ext.SDK | 79ed912e5b628ef28efbf92d5bb257b195bfc821 | 218b411991ed0b7cb7acd5efdddd784f31c66f20 | refs/heads/master | 2023-07-02T11:03:45.732337 | 2021-04-15T16:38:19 | 2021-04-15T16:38:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 527 | hpp | #pragma once
// This file is generated from the Game's Reflection data
#include <cstdint>
#include <RED4ext/Common.hpp>
#include <RED4ext/REDhash.hpp>
#include <RED4ext/ISerializable.hpp>
namespace RED4ext
{
namespace anim {
struct IKTargetParams_Update : ISerializable
{
static constexpr const char* NAME = "ani... | [
"expired6978@gmail.com"
] | expired6978@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.