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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
adfa6c12aeee636a2fbd93d4402f1e98229d21e0 | 0981b963c63f4aa673e99c668f5c8c8d51de89c4 | /11561.cpp | b829001d9fa06dbb39eb9d9b7e7d86fe0a77d17e | [
"MIT"
] | permissive | felikjunvianto/kfile-uvaoj-submissions | f21fa85463d6f1bde317c513d670139cfddb9483 | 5bd8b3b413ca8523abe412b0a0545f766f70ce63 | refs/heads/master | 2021-01-12T15:57:58.583203 | 2016-10-06T18:12:35 | 2016-10-06T18:12:35 | 70,179,293 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,577 | cpp | #include <cstdio>
#include <iostream>
#include <string>
#include <algorithm>
using namespace std;
struct koordinat {int x,y;};
char peta[60][60];
koordinat queue[1000000];
int bawah,samping,x,y,z,sum,ver,hor,a,b;
bool aman;
int main()
{
while(scanf("%d %d",&samping,&bawah) != EOF)
{
for(y=0;y<... | [
"felikjunvianto@yahoo.co.id"
] | felikjunvianto@yahoo.co.id |
20e1fd251d6e859691f259abaaa6a87a502ed532 | f427c8f5447d5ce51a3a416a1a59cb053b9efd5d | /RBTree/iterative/RB_TreeNode.hpp | 70efc41066b1df0533f3c4c668c7dd5c8b78215a | [] | no_license | laomd-2/Data-Structure | 9ac48d245a9fed6bac5ca70623a659eaaad68b10 | 7c99e6117781151da775afd09c337b6dee49e754 | refs/heads/master | 2020-03-27T19:06:49.769355 | 2018-09-01T04:29:31 | 2018-09-01T04:29:31 | 146,966,372 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 262 | hpp | #ifndef RB_TREE_NODE_HPP
#define RB_TREE_NODE_HPP
enum Color
{
BLACK, RED
};
template<typename T>
struct RB_Node
{
T value;
Color color;
RB_Node* left;
RB_Node* right;
RB_Node* parent;
RB_Node(const T& v) : value(v) {
}
};
#endif // RB_TREE_NODE_HPP
| [
"laomd@mail2.sysu.edu.cn"
] | laomd@mail2.sysu.edu.cn |
9dc4408795bf65b345d3f90ade0c0f085227b552 | 5456502f97627278cbd6e16d002d50f1de3da7bb | /chrome/common/importer/safari_importer_utils.h | c752b924f1903f72edd93cafd05ac1d0eb9923f4 | [
"BSD-3-Clause"
] | permissive | TrellixVulnTeam/Chromium_7C66 | 72d108a413909eb3bd36c73a6c2f98de1573b6e5 | c8649ab2a0f5a747369ed50351209a42f59672ee | refs/heads/master | 2023-03-16T12:51:40.231959 | 2017-12-20T10:38:26 | 2017-12-20T10:38:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 812 | h | // 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.
#ifndef CHROME_COMMON_IMPORTER_SAFARI_IMPORTER_UTILS_H_
#define CHROME_COMMON_IMPORTER_SAFARI_IMPORTER_UTILS_H_
#include <stdint.h>
namespace b... | [
"lixiaodonglove7@aliyun.com"
] | lixiaodonglove7@aliyun.com |
45543761f52c704afc6a1171b21e96cbb0971e18 | 83c27d46fef11d5e032d9093acfcb6eb51b03511 | /Lab4/Source.cpp | 6d0d012c1050b73f929dee2a60b20437a180b443 | [] | no_license | mirzalorena/Data-Structures-And-Algorithms | 77f4ce3ce29240a72032073a35545017f74c54b5 | f7121d8e4fec847efbc7189e832d5d1d6230a256 | refs/heads/master | 2020-11-27T16:46:17.777166 | 2019-12-22T17:09:59 | 2019-12-22T17:09:59 | 229,533,998 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 368 | cpp | #include <iostream>
#include "ShortTest.h"
#include "ExtendedTest.h"
#include "SortedBag.h"
#include "SortedBagIterator.h"
using namespace std;
bool rel(TComp r1, TComp r2) {
return r1 <= r2;
}
int main()
{
testAll();
cout << "Short done"<<endl;
testAllExtended();
cout << "Extended done" <<... | [
"noreply@github.com"
] | mirzalorena.noreply@github.com |
e108a3008269a69ce868bb1c3155e9116f832fc7 | 6411d24dcc90944b92db455a1f4faf2290c4fcd4 | /src/server_Thread.cpp | 15e5b4398d2fb2e81b8032ac7941b17123b8484f | [] | no_license | ldtg/tallerSIU | 166b7a0e1456485ebcb54cc4232542792e635dc5 | 159366b289ba6433da81c404b9bc84a85f85f87d | refs/heads/master | 2021-01-19T23:34:08.725339 | 2017-05-03T17:25:26 | 2017-05-03T17:25:26 | 88,999,909 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 318 | cpp | #include "server_Thread.h"
void Thread::start() {
thread = std::thread(&Thread::run, this);
}
void Thread::join() {
thread.join();
}
Thread::Thread(Thread &&other) {
this->thread = std::move(other.thread);
}
Thread &Thread::operator=(Thread &&other) {
this->thread = std::move(other.thread);
return *this;
}
| [
"lteje11@gmail.com"
] | lteje11@gmail.com |
d134f380bba907482c93c01abf53437ba834bcbc | 50b54f70ce69607e124d52867726d15f9156fd86 | /tests/unit/calling-convention/passthrough_without_modification.cpp | 959ede9267bdc2b57a6f4fc1365714a477bd729a | [
"MIT"
] | permissive | dylanmckay/avr-compiler-integration-tests | a863f68785a968844e43ba9afab76aba45f5ff1c | 1f6459c1da3480876912ec0dbed5d86e327910a4 | refs/heads/master | 2023-02-25T01:20:55.055103 | 2021-01-28T11:37:13 | 2021-01-28T11:37:13 | 96,429,439 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,052 | cpp | // RUN: @cxx @cxxflags -mmcu=atmega328p @file -o @tempfile -O0 && avr-sim @tempfile -w OUT_U64_A=u64 -w OUT_I64_B=i64 -w OUT_U16_C=u16 -w OUT_U16_D=u16 -w OUT_U8_E=u8
#include <avrlit/boilerplate/unit_test.h>
volatile uint64_t OUT_U64_A = 12;
volatile uint64_t OUT_I64_B = 12;
volatile uint64_t OUT_U16_C = 12;
volatil... | [
"me@dylanmckay.io"
] | me@dylanmckay.io |
7eb6091f5f97e4d3ab05a03b39e925818659acf3 | 0065cefdd3a4f163e92c6499c4f36feb584d99b7 | /rogue/cheat/sdk/SDK/WBP_BattlePassLobbyDisplay_functions.cpp | 410bfb7861231e38fbd0cb777c9b4b85f7157b74 | [] | no_license | YMY1666527646/Rogue_Company_hack | ecd8461fc6b25a0adca1a6ef09ee57e59181bc84 | 2a19c81c5bf25b6e245084c073ad7af895a696e4 | refs/heads/main | 2023-08-20T06:07:14.660871 | 2021-10-21T20:33:53 | 2021-10-21T20:33:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,334 | cpp | // Name: roguecompany, Version: 425
#include "../pch.h"
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Functions
//-----------------------------------------------... | [
"51001754+dmitrysolovev@users.noreply.github.com"
] | 51001754+dmitrysolovev@users.noreply.github.com |
b0f167905c3049061c0cce6a2910b5c8cc7b84e0 | 582d754eeac48751962a8768a8afe79ff2c7d59a | /GreenJuiceTeam/GreenJuiceTeam.Shared/game/Engine.h | 9cfb7e533922bdcde0c2797457e0a33e91c1173f | [] | no_license | valdirSalgueiro/hotasphalt | 23217503b483f305294e0dcd9b24630e142c0404 | a74116843ee3737f435109a28313a55c2450a941 | refs/heads/master | 2021-08-28T17:03:06.959799 | 2017-12-12T21:31:27 | 2017-12-12T21:31:27 | 113,043,159 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,478 | h | #ifndef ENGINE_H
#define ENGINE_H
#ifdef _WIN32
// Including SDKDDKVer.h defines the highest available Windows platform.
// If you wish to build your application for a previous Windows platform, include WinSDKVer.h and
// set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h.
#... | [
"sombraextra@gmail.com"
] | sombraextra@gmail.com |
c8fa1948b3bf5b8ab8bb5536ea875a28a12c9ca2 | bc04ac4221bd533da6497d1f80150cdd211a7921 | /instructions/Instruction_efar.cpp | ad911bec3b8a00b6932cc998db47c54f1efb0bb7 | [] | no_license | WarlockD/Mil-std-1750A-Emulator-C20 | 71e8e357c81a36fe39c5b42a1f76fa13ffef130d | 93ed87966945351773107dc6cf3ad5fd50e9cdd4 | refs/heads/master | 2023-03-16T07:55:57.903908 | 2012-07-16T15:57:28 | 2012-07-16T15:57:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 544 | cpp | #include <iostream>
#include <iomanip>
#include "Instruction_efar.h"
#include "Operation_efa.h"
namespace {
opCodeRange opCode = {0xAB, 0xAB};
const std::string opCodeStr = "EFAR";
const std::string opDescription = "Extended Precision Floating Point Add";
}
Instruction_efar::Instruction_efar() :
Instruction_r... | [
"ritchie@uibhist.de"
] | ritchie@uibhist.de |
4991d8d7fd6acfccc51234f9c7ca6254ae1051a5 | 04b1803adb6653ecb7cb827c4f4aa616afacf629 | /chrome/browser/profile_resetter/reset_report_uploader_factory.cc | d5572e08444ffa75e5c1a63d171bb7b2f1663000 | [
"BSD-3-Clause"
] | permissive | Samsung/Castanets | 240d9338e097b75b3f669604315b06f7cf129d64 | 4896f732fc747dfdcfcbac3d442f2d2d42df264a | refs/heads/castanets_76_dev | 2023-08-31T09:01:04.744346 | 2021-07-30T04:56:25 | 2021-08-11T05:45:21 | 125,484,161 | 58 | 49 | BSD-3-Clause | 2022-10-16T19:31:26 | 2018-03-16T08:07:37 | null | UTF-8 | C++ | false | false | 1,456 | cc | // Copyright 2015 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 "chrome/browser/profile_resetter/reset_report_uploader_factory.h"
#include "base/memory/singleton.h"
#include "chrome/browser/profile_resetter/r... | [
"sunny.nam@samsung.com"
] | sunny.nam@samsung.com |
15ecd02803b292b7448b94bbef54b8fd048d2bbd | d9021209f48dd144b7680aad977f62b76784dfb9 | /src/Energy_Monitor.ino | 8bbafb8ad08b0a95e7e81bc65b0bdc44c0b28830 | [] | no_license | dpeddi-iot/arduino_energymonitor | 19ce16163753a199ab7be9f45fd4474c364db7ad | eaec31518f180a5841e10a9abc6d795b5a8c7e97 | refs/heads/master | 2021-04-26T23:37:54.791107 | 2018-03-04T14:51:19 | 2018-03-04T14:51:19 | 123,829,979 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,638 | ino | /*
* This sketch sends ads1115 current sensor data via HTTP POST request to thingspeak server.
* It needs the following libraries to work (besides the esp8266 standard libraries supplied with the IDE):
*
* - https://github.com/adafruit/Adafruit_ADS1X15
*
* designed to run directly on esp8266-01 module, to whe... | [
"eddi@depieri.net"
] | eddi@depieri.net |
3c9cf145c46f59eac025b3d83b0f234b4d445b06 | 478506575299db25829f19efb565821ab2ff1bf3 | /tests/uit/ducts/proc/put=dropping+get=stepping+type=cereal/inlet=RingIsend+outlet=Iprobe_c::IriOiDuct.cpp | e8723595973cb68c7f3bfd06ef27766cb9bb05eb | [
"MIT"
] | permissive | perryk12/conduit | bf75d7b79f50f2ca123baa0a66cbc4080fd35328 | 3ea055312598353afd465536c8e04cdec1111c8c | refs/heads/master | 2023-01-01T21:56:19.210550 | 2020-10-22T14:55:44 | 2020-10-22T14:55:44 | 300,478,004 | 0 | 0 | MIT | 2020-10-22T15:39:56 | 2020-10-02T02:13:46 | C++ | UTF-8 | C++ | false | false | 352 | cpp | #include "uit/ducts/mock/ThrowDuct.hpp"
#include "uit/ducts/proc/put=dropping+get=stepping+type=cereal/inlet=RingIsend+outlet=Iprobe_c::IriOiDuct.hpp"
#include "uit/setup/ImplSpec.hpp"
using ImplSel = uit::ImplSelect<
uit::a::SerialPendingDuct,
uit::ThrowDuct,
uit::c::IriOiDuct
>;
#include "../ProcDuct.hpp"
#in... | [
"mmore500.login@gmail.com"
] | mmore500.login@gmail.com |
2ab9faa878f0bcdd351bbf681b315671c24fcbc4 | 36ac0dd13b4dd0534f14116fd2fcb2035b4356e0 | /code/ship/shield.cpp | 0b832c799104dafe14cbe8c8e1902620cbc38ade | [] | no_license | suertreus/wcsaga | 67b42c4ffb919173aca9325ba78b2f077916c6f6 | e2048841f927213186f692626d584c2013a8ec01 | refs/heads/master | 2023-03-17T20:00:09.223342 | 2014-08-31T10:42:31 | 2014-08-31T10:42:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 37,949 | cpp | /*
* Copyright (C) Volition, Inc. 1999. All rights reserved.
*
* All source code herein is the property of Volition, Inc. You may not sell
* or otherwise commercially exploit the source or things you created based on the
* source.
*
*/
// Detail level effects (Detail.shield_effects)
// 0 Nothi... | [
"niffiwan.scp@gmail.com"
] | niffiwan.scp@gmail.com |
d3c2a162cd9f4dff698355eedc7653f338b10d7f | f6d7a4abe0f3ea6057c22ca87dcde6b0505a7c9f | /AdjList.h | 49dfa78b828bffda84519c552f13c1da255c85fe | [
"MIT"
] | permissive | geogao07/Comp345PowerGrid | c719237515e632291417dc94c1e7209a73c05acc | 920bbc74f37871cfb05c67a50073a48f343751fd | refs/heads/master | 2020-04-28T05:44:58.603045 | 2019-03-11T15:42:37 | 2019-03-11T15:42:37 | 173,039,245 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 338 | h | #pragma once
#include "AdjListNode.h"
//class for an adjacency list node
class AdjList
{
private:
AdjListNode * head;//pointer to head node of list
public:
AdjListNode * getHead(); //gets the head of the adjacency list
void setHead(AdjListNode *ptr); //Sets the head of the list to city ptr
void nullHead(); //Clea... | [
"geogao07@gmail.com"
] | geogao07@gmail.com |
3d7454fcf9ea857bd539486462c2bce73e6067ed | 1eb7fb4237ead0f1c6f6f44cc7b7b87d41575e4e | /program/time_bench.hpp | aaf3e085f26059b58b415b836df2cb84dd2fe124 | [
"MIT"
] | permissive | yk-tanigawa/201503_clustering | affef0b50c4d105324f0f06f4721a4f158ac723b | 43a11e707c08f1576e5765824c74330b6730e7e9 | refs/heads/master | 2020-06-03T16:36:49.743445 | 2015-02-26T16:47:06 | 2015-02-26T16:47:06 | 31,006,751 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 634 | hpp | #ifndef _TIME_BENCH_
#define _TIME_BENCH_
#include <ctime>
#include <sys/time.h>
#include <sys/types.h>
#include <unistd.h>
long unsigned int diff_timeval(struct timeval start, struct timeval end){
/* struct timeval の差をmicro秒の単位で返す */
time_t diff_sec = end.tv_sec - start.tv_sec;
suseconds_t diff_usec = end.tv_u... | [
"yk-tanigawa@users.noreply.github.com"
] | yk-tanigawa@users.noreply.github.com |
bf76728c7a74e64f341a48c8b1cacaf4c5e51df4 | 092668fe62e9d7826c5efecff37542ee42565870 | /windows/appcompat/tools/compatadminxp/dbtree.cpp | be91a28e5036ade0b7d167f84e1f7a03dde0c12d | [] | no_license | CKOtherProject/Nt5Src-Lite | c7de0ed59dc4a55257ada104221b818a84594c79 | ad41f6490f26c6adead2f0696c19133f060205f4 | refs/heads/master | 2023-09-02T22:47:44.039487 | 2021-11-11T13:29:59 | 2021-11-11T13:29:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 39,826 | cpp | /*++
Copyright (c) 1989-2000 Microsoft Corporation
Module Name:
CompatAdmin.cpp
Abstract:
This module handles the code for handling the db tree used in the application
Author:
kinshu created October 15, 2001
--*/
#include "precomp.h"
//////////////////////// Function Declarations ///////... | [
"84119280+helloobaby@users.noreply.github.com"
] | 84119280+helloobaby@users.noreply.github.com |
d61da9ea233f064b87acffa64c7040f8f09cb43d | bc93833a9a2606dd051738dd06d6d17c18cbdcae | /3rdparty/opencv/sources/modules/imgproc/src/grabcut.cpp | c0967a1dc92580c3c945435c1c4151c936aaa452 | [
"MIT",
"BSD-3-Clause"
] | permissive | Wizapply/OvrvisionPro | f0552626f22d6fe96824034310a4f08ab874b62e | 41680a1f9cfd617a9d33f1df9d9a91e8ffd4dc4b | refs/heads/master | 2021-11-11T02:37:23.840617 | 2021-05-06T03:00:48 | 2021-05-06T03:00:48 | 43,277,465 | 30 | 32 | NOASSERTION | 2019-12-25T14:07:27 | 2015-09-28T03:17:23 | C | UTF-8 | C++ | false | false | 19,457 | cpp | /*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, instal... | [
"info@wizapply.com"
] | info@wizapply.com |
30c2cc70a8ae466c12aaf46387d7959c80e3f135 | e311953101f01e0eccfa84dd41753d29f8e75b3e | /lab2/lab2a.cpp | be7c6b419f34f95b8e71c17e436f5c48f8222cec | [] | no_license | BRGoss/PF3-homework | d246ad6940643c95c1f3ab234b727325eaa66f54 | e40d221d823673f01a9556dbc62cc79cf9074b12 | refs/heads/master | 2016-09-05T14:43:41.704531 | 2012-12-06T16:32:36 | 2012-12-06T16:32:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,306 | cpp | #include <iostream>
#include <cstdlib>
#include <string>
using namespace std;
class node
{
public:
typedef int data_t;
node(data_t d) { next = NULL; data = d; }
node *next;
data_t data;
};
class linked_list
{
private:
node *head;
public:
linked_list()
... | [
"brgoss@suddenlink.net"
] | brgoss@suddenlink.net |
da3f33b412a2ad8eefba6100665fc11bfb979acc | 5bfd9b5acae87d21a1f55e2837427fe912bcdaac | /04 Graph Algorithms/081 Shortest Routes I.cpp | 2af8e7ff02796191895299ce87ed4ac70fe1f70e | [] | no_license | ephemeralsadness/cses | c79d87116d4a34a0acbebe1b56cf3f463b45d742 | df3d38a1e9603a24950a8cca823c758710bd7d9a | refs/heads/main | 2023-03-25T04:34:02.679901 | 2021-03-15T05:24:37 | 2021-03-15T05:24:37 | 335,287,703 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,154 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long double ld;
typedef pair<int, int> pii;
typedef pair<ll, ll> pll;
const int N = 100 * 1000 + 1;
vector<pii> graph[N];
int main() {
cin.tie(nullptr);
cout.tie(nullptr);
ios_base::sync_with_stdio(false);
cout.setf(ios::fix... | [
"noreply@github.com"
] | ephemeralsadness.noreply@github.com |
31a4bb7ec0dc8ca90f94ea1a1fd55a6bf429d2b1 | 786512c33ec5b9b9e7005f5b62a7f51037bf99fe | /fraudulent-activity-notifications.cpp | 6cfc1133a90fc3408e4f9ecb5e7580769c4704f4 | [] | no_license | arpitbbhayani/hackerrank | 3f1622beb480fa29abcf34990c1fb7ed3a316ec2 | 5b546519603d9e5bdffe0a66a4de488e86f36b45 | refs/heads/master | 2020-04-12T06:44:03.690695 | 2019-09-11T19:56:40 | 2019-09-11T19:56:40 | 63,056,524 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,042 | cpp | #include <iostream>
#include <cstdio>
using namespace std;
int arr[200010];
int temp_arr[200010];
int counts[210];
float get_median(int size) {
int index = 0;
for (int i = 0; i < 210 ; i++) {
int count = counts[i];
while (count--) {
temp_arr[index++] = i;
if (index > s... | [
"arpit.b.bhayani@gmail.com"
] | arpit.b.bhayani@gmail.com |
e2dc505dd7ec056a2e2ef912a6098a784d853289 | 079fdae3f85cfa773635349cd6f728874360b92c | /Comprehensive Programming Assignment/ComprehensiveAssignmentProblem2.cpp | 6330157a85ca27f42f9bb46b1d260761e38de35f | [] | no_license | thefirstofthe300/cpp-programming | edd0ca2228ed8375dd0fa9855a75367b6e6d7fbe | c6bef4a92d7d4e7deca7be274bc74168c80bac17 | refs/heads/master | 2021-01-01T05:08:29.850635 | 2018-03-08T21:13:58 | 2018-03-08T21:13:58 | 59,393,771 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,262 | cpp | /**
* Name: Daniel Seymour
* Assignment: Module 2, Problem 2
* Term: December 2015
* Course name: C++ Programming
* Course number: COS-213-OL012
*
* You are running a camp and must decide what activities to schedule. You
* decide to base the decision on the temperature measured in degrees Fahrenheit.
* If th... | [
"dannyseeless@gmail.com"
] | dannyseeless@gmail.com |
1a12d75c4752b72d9be33b494f35fe9b6f3767da | b395fca4065fd496715a0c306d5ff643cecd31cc | /samples/CastorDvpTD/CastorDvpTDPrerequisites.cpp | bf0bf8fde22a5d6c7ff1d53f568f7a2f31fe9f68 | [
"MIT"
] | permissive | vn-os/Castor3D | e357372268f94a76d61e5b0059bf40f5c1f4f66a | fdaf4067e1a657979690ef6c6746079602e29d8e | refs/heads/master | 2023-06-05T19:45:24.819879 | 2021-02-19T01:39:54 | 2021-02-19T01:39:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 349 | cpp | #include "CastorDvpTD/CastorDvpTDPrerequisites.hpp"
#if defined( CU_PlatformWindows ) && !defined( NDEBUG ) && !defined( VLD_AVAILABLE )
# define _CRTDBG_MAP_ALLOC
# include <cstdlib>
# include <crtdbg.h>
#elif defined( CU_PlatformLinux )
# include <gdk/gdkx.h>
# include <gtk/gtk.h>
#endif
#include <Castor3D/Engine.... | [
"dragonjoker59@hotmail.com"
] | dragonjoker59@hotmail.com |
81a3c12a9cc4e5d4879bc1bd101caf95e6e6c14a | 6820b30f691d5398ed45521999d2fec86a2b50cb | /04_myQueue/myQueue.h | e6620437fe74ec9201eceb1f61a4e4df517071c5 | [] | no_license | estefanoshin/cpp4 | c6665fe75a17b78eaf9dae2f2ea8d8b549300846 | ea1355a238525fa638e0c9d8aabcd770e24ab4f5 | refs/heads/master | 2020-06-08T06:04:39.494620 | 2019-06-22T01:37:32 | 2019-06-22T01:37:32 | 193,173,389 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 577 | h | #ifndef __MY_QUEUE__
#define __MY_QUEUE__
#include "mystddef.h"
class myQueue
{
private:
myNodo *nd_ini; // El puntero no apunta a ningun lado hasta que se le haga el new a nd_ini
myNodo *nd_end;
unsigned int cant;
public:
//constructores
myQueue();
myQueue(const myData& dato);
// myQueue(const myQueue&... | [
"estefanoshin@yahoo.com.ar"
] | estefanoshin@yahoo.com.ar |
c2ea2037cdde4ec52f82f949f8bbb3de27dc6d5e | 0643f2a82fac92e5e6932a04a60ec53af60463a8 | /src/qt/bitcoingui.cpp | a2bf04a4c48c29541d3d71b235413b7dfb3a6021 | [
"MIT"
] | permissive | LusoDev/lusocoin | 39bd16b096e253884dcb34c4015ea8fba6ff1010 | 005e798dc5dd0ebc5cc8a84b2a2103594b36dbde | refs/heads/master | 2019-03-20T19:00:49.948867 | 2018-09-13T01:12:21 | 2018-09-13T01:12:21 | 125,776,476 | 1 | 0 | MIT | 2018-08-04T19:51:13 | 2018-03-18T23:16:36 | C++ | UTF-8 | C++ | false | false | 55,955 | cpp | // Copyright (c) 2011-2015 The Bitcoin Core developers
// Copyright (c) 2014-2017 The Dash Core developers
// Copyright (c) 2018 The Luso Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "bitcoingui.h"
#... | [
"team@lusoco.in"
] | team@lusoco.in |
4d67e67f1a781518bdcf9bb2dc15759beba0e385 | 3051050dc3dee97dc60ef78d31ff500b6e93d0fb | /chrome/browser/ui/webui/ash/kerberos/kerberos_in_browser_dialog.cc | c779aeab60a12c66dfca3295fdff552bcfd7417f | [
"BSD-3-Clause"
] | permissive | weblifeio/chromium | cd249e1c9418dcf0792bd68bbdcd2a6e56af0e2e | 74ac962b3a95c88614f734066ab2cc48b572359c | refs/heads/main | 2023-06-09T19:45:03.535378 | 2023-05-26T19:16:31 | 2023-05-26T19:16:31 | 177,631,387 | 0 | 0 | null | 2019-03-25T17:15:48 | 2019-03-25T17:15:47 | null | UTF-8 | C++ | false | false | 2,777 | cc | // Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/webui/ash/kerberos/kerberos_in_browser_dialog.h"
#include <algorithm>
#include <string>
#include "ash/public/cpp/window_backdrop.h"
#include "base... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
604a328c2f470b4f2e165fb650a2a681e3fba162 | 5307e721dec6b374012cc4f4fd66edc8eb18b8f9 | /src/OutfileDesignator.cpp | 4bbce190287cd2a9b57f67d137c757ceaf809b62 | [
"MIT"
] | permissive | PROBIC/mSWEEP | eb7b2ea5f5c0e5d41a1d9a0cd08e2a0fbbbf88e2 | c04e4898eaa9aa829066ba7e76133e3d0f2b7397 | refs/heads/master | 2023-07-23T12:54:22.001140 | 2023-07-04T17:57:11 | 2023-07-04T17:57:11 | 136,010,852 | 10 | 2 | MIT | 2023-07-04T14:17:04 | 2018-06-04T10:43:55 | C++ | UTF-8 | C++ | false | false | 4,060 | cpp | // mSWEEP: Estimate abundances of reference lineages in DNA sequencing reads.
//
// MIT License
//
// Copyright (c) 2023 Probabilistic Inference and Computational Biology group @ UH
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files ... | [
"tommi@maklin.fi"
] | tommi@maklin.fi |
6ccb3fa0e94db75f72136d8ce7a8bcae72043c66 | ed23a9707c05913192b3cebd45331b83a47d4e4d | /2-5-1.cpp | 5e78c94b40cb6e57fe685290d1fafb40a070b3df | [
"MIT"
] | permissive | s-shirayama/ProgramingContestChallengeBook | c9f1fcab6889492b3981d21ab663dbdd993505ad | 7aa73ddf2c42950d0fbaf97b5403bfddbbd66392 | refs/heads/master | 2021-01-14T08:03:02.069620 | 2017-02-14T02:11:58 | 2017-02-14T02:11:58 | 81,893,735 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 908 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef pair<int, int> P;
const int MAXN = 1000;
int C[MAXN];
vector<int> G[MAXN];
bool dfs(int d, int c) {
if (C[d] > 0) return (C[d] == c);
C[d] = c;
for (int s : G[d]) if (!dfs(s, (c==1)?2:1)) return false;
return true;
}
int main() {
int N, M, A, B;
cin >> N >... | [
"shirayama5288@gmail.com"
] | shirayama5288@gmail.com |
0224530699a0c5ac338344e659dba1eae11d14bc | a18419d58af17b56abe715e6a86e750672880d83 | /Hardware Drivers/main_blueTeensy.cpp | 5e28fc7d335b1d8800ea29fcfa2007082d818442 | [] | no_license | robosub-ucr/LeviathanAUV | 6eab89c622fcbe688955bbe0c618d6dfa3be8f7c | 216241bce8a11e9f0fdf414f1c7f9605b6e6c66f | refs/heads/master | 2023-06-26T22:44:23.967943 | 2023-05-11T21:51:01 | 2023-05-11T21:51:01 | 203,943,633 | 3 | 5 | null | 2023-05-11T21:48:42 | 2019-08-23T07:06:29 | Python | UTF-8 | C++ | false | false | 385 | cpp | #include "mbed.h"
#include "Servo.h"
#include <ros.h>
#include <std_msgs/Int16.h>
#include <std_msgs/Bool.h>
//Created by: Steph
//Description: Controls the thrusters, communicates with the Red Teensy,
// and takes in readings from Hydrophones, Batteries, and
//Microcontroller: Teensy 3.2
//Date: 02/29/2... | [
"stephanie.cabrera.333@gmail.com"
] | stephanie.cabrera.333@gmail.com |
86f12f7539ea5edc873aff2f97c9542e3a48e030 | 31335c76bde0d93f8c67d5974d6187efddb11bc4 | /myaudioplay.cpp | 9227f04acf192c0286a6cf152e9c16012125ce47 | [] | no_license | mojovs/MyVideoPlayer | 12fec9e9c68fb270188f8b3f894f4aff328bfb76 | 5fbc0f3fb5c4250b29f3434d50af0ff580cc5811 | refs/heads/master | 2023-04-14T02:04:58.335523 | 2021-04-24T12:27:35 | 2021-04-24T12:27:35 | 351,055,724 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,994 | cpp | #include "myaudioplay.h"
#include <QDebug>
#include <QTime>
MyAudioPlay::MyAudioPlay() {}
MyAudioPlay::~MyAudioPlay() {}
/*--获取变量--*/
MyAudioPlay* MyAudioPlay::GetAudioPlay() {
static AudioPlayer play; //实例化子类
return &play;
}
/*----------------------子类--------------------------*/
/*--打开音频设备--*/
bool Aud... | [
"1345796196@qq.com"
] | 1345796196@qq.com |
e3beb0fd090ec6d13da66495abbb89ea89a7ce5c | 988975761bd236e40d5d45ab31c6360a8c6519c0 | /Ds-Algo/13_Strings1.cpp | c647fa18f8af022f2e6ed04e60f5a28c31774dd9 | [] | no_license | prash2511/Cpp | 02d35fe0cbcc9809bb4c86238c0e9764c40c4b08 | d84115b8f3cadc685a4752cbc0b1b5a575f2c61a | refs/heads/main | 2023-06-24T11:41:00.971497 | 2021-07-31T16:26:02 | 2021-07-31T16:26:02 | 358,472,647 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 313 | cpp | #include<iostream>
using namespace std;
int main()
{
string str1 = "fam";
string str2 = "ily";
cout<<str1+str2<<endl;
cout<<str1.append(str2)<<endl;
cout<<str1[1]<<endl;
string abc = "djbhskjbcbhjb dn fkdhas";
cout<<abc;
abc.clear();
cout<<abc<<endl;
return 0;
}
| [
"noreply@github.com"
] | prash2511.noreply@github.com |
238ab513dbee757ff1e7adae3b13e330b14a2369 | 4ceb488e829ab2f30e9846c478ab4c8c21ce22a1 | /contests/codeforces/708_div2/a.cpp | 6e016fbf15f3018d143027fc25ae33ceeabfef80 | [] | no_license | luatil/cppractice | f24eded2aa425e06f07526459bb61ab681b0d50a | 7d9989f1aa3261603179238f091d41650fb42cdd | refs/heads/main | 2023-05-23T18:59:54.681986 | 2021-06-03T15:00:13 | 2021-06-03T15:00:13 | 334,229,008 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 749 | cpp | #include <bits/stdc++.h>
using namespace std;
#define all(v) v.begin(), v.end()
#define REP(i, n) for(int i = 0; i < n; i++)
#define ll long long
void solve()
{
int N; cin >> N;
vector<int> mex(N);
vector<int> mex2;
for(auto&el : mex) cin >> el;
sort(all(mex));
for(int i = 1; i < N; i++)
... | [
"luasantilli@gmail.com"
] | luasantilli@gmail.com |
2aae1785f90be5f441e7ca171a60597e6cf73319 | 3b1c7561c8d3b9452fc0cdefe299b208e0db1853 | /src/gpu/ganesh/glsl/GrGLSLVertexGeoBuilder.cpp | db8432e448fc5c4ec507e1a7843afeae06e29ac0 | [
"BSD-3-Clause"
] | permissive | NearTox/Skia | dee04fc980bd40c1861c424b5643e7873f656b01 | 4d0cd2b6deca44eb2255651c4f04396963688761 | refs/heads/master | 2022-12-24T02:01:41.138176 | 2022-08-27T14:32:37 | 2022-08-27T14:32:37 | 153,816,056 | 0 | 0 | BSD-3-Clause | 2022-12-13T23:42:44 | 2018-10-19T17:05:47 | C++ | UTF-8 | C++ | false | false | 1,505 | cpp | /*
* Copyright 2017 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "src/gpu/ganesh/glsl/GrGLSLVertexGeoBuilder.h"
#include "include/gpu/GrTypes.h"
#include "src/gpu/ganesh/glsl/GrGLSLProgramBuilder.h"
#include "src/gpu/ganesh/glsl/G... | [
"NearTox@outlook.com"
] | NearTox@outlook.com |
ebce62da0ecfa80b4f420d6ad119afa242d1c64f | 7a9dfeb03a7be4e57eda382ef34480cec53c47df | /src/getEbb_ordIRT.h | a93070b97473ace636af0effbdb409cdc6ae2a23 | [] | no_license | kosukeimai/emIRT | cb57cfe41b2f3f4f04987abead5ce8609752a844 | 62a84147c4353c6d6a48e3430d80782fc80a1dda | refs/heads/master | 2022-02-23T05:49:20.314858 | 2022-02-14T21:56:31 | 2022-02-14T21:56:31 | 42,134,544 | 28 | 18 | null | 2021-05-13T01:43:49 | 2015-09-08T19:32:10 | C++ | UTF-8 | C++ | false | false | 289 | h | // -*- mode: C++; c-indent-level: 4; c-basic-offset: 4; tab-width: 4 -*-
#ifndef GETEBB_ORDIRT_H
#define GETEBB_ORDIRT_H
#include <RcppArmadillo.h>
arma::mat getEbb_ordIRT(const arma::mat &Eb,
const arma::mat &Vb,
const int nJ
);
#endif
| [
"jpolmsted@gmail.com"
] | jpolmsted@gmail.com |
ee714883574bf98ea5b637dc1046f2c509509357 | 80a195f4f61c670c9bb8e5f0cce9f720473a5ad3 | /D3/5607.cpp | 51e0e980aee5f300c896c7b4e5a3d73ee2f0b22a | [] | no_license | dongsiik/SWEA-Solution | f8ca550e5e7407d23fc818d3a337e8e90e1ad2ee | 1da0e97ca9518dcb0caa73634d2e95d848e8e3ba | refs/heads/main | 2023-07-31T15:20:27.176066 | 2021-09-30T12:34:32 | 2021-09-30T12:34:32 | 391,626,520 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,298 | cpp | // 제목 : [Professional] 조합
// 링크 : https://swexpertacademy.com/main/code/problem/problemDetail.do?contestProbId=AWXGKdbqczEDFAUo
// 메모리 : 16,444 kb
// 실행시간 : 20 ms
//참고 링크 : https://5stralia.tistory.com/4
#define _CRT_SECURE_NO_WARNINGS
//문제에서 나머지를 구할 때 나누라는 값. 이 값은 아무런 단서가 없었지만 아무튼 소수라서 페르마의 소정리를 쓸 수 있다.
#... | [
"noreply@github.com"
] | dongsiik.noreply@github.com |
f0ce38d76cb6fae121a32c6f55dc612fb2301d43 | b01400263ddc2959c58a5239df13a27eea463fd9 | /tournaments/isGeometricProgression/isGeometricProgression.cpp | c56d83a8f21a571b1fe91017d41389e42989ef3e | [
"MIT"
] | permissive | M-Ekrim/codeSignal | f055a54d58fed66e1cab7c9becacc973e6615419 | 114817947ac6311bd53a48f0f0e17c0614bf7911 | refs/heads/master | 2023-03-02T00:19:47.214303 | 2021-01-27T23:21:43 | 2021-01-27T23:21:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 221 | cpp | bool isGeometricProgression(std::vector<int> sequence) {
for (int i = 1; i < sequence.size(); i++) {
if (sequence[i] * sequence[0] != sequence[i - 1] * sequence[1]) {
return false;
}
}
return true;
}
| [
"flatorez@ya.ru"
] | flatorez@ya.ru |
04aba872990eb496dc21a9c0c2095cb5d7c85e2d | c712c82341b30aad4678f6fbc758d6d20bd84c37 | /CAC_Source_1.7884/AddSubjectDialog.cpp | 7768dc39d0dcd5eba5155c54a59e880ed71f529b | [] | no_license | governmentbg/EPEP_2019_d2 | ab547c729021e1d625181e264bdf287703dcb46c | 5e68240f15805c485505438b27de12bab56df91e | refs/heads/master | 2022-12-26T10:00:41.766991 | 2020-09-28T13:55:30 | 2020-09-28T13:55:30 | 292,803,726 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 694 | cpp | //{{TAddSubjectDialog Implementation}}
TAddSubjectDialog::TAddSubjectDialog(TWindow* parent, TSubject *tSubject, const char *kinds)
:
TEditDialog(parent, tSubject, false, IDD_ADD_SUBJECT)
{
new TLongFace(this, IDC_ADD_SUBJECT_SUBJECT, "F_SUBJECT_LONG", SIZE_OF_SUBJECT_SUBJECT);
new TCharAliasFace(this, IDC_ADD_SUBJ... | [
"git@vakata.com"
] | git@vakata.com |
18b6c9fbd978ef33b76f8ef804ab83efcbc0b532 | f120f98859f254a18f384149e0c1e51edf116ee6 | /project/api/trie.h | 9ad844bc00a058f3aa64680fa50cc62ca6059679 | [] | no_license | nnphongphu/mini_search_engine | 11ceefa110f93b4e3f61dfbd4fc185f5426a2074 | 77c5ba20966f8da4b396ec95c28f12adc31994d0 | refs/heads/main | 2023-07-11T05:58:29.980048 | 2021-08-16T15:22:54 | 2021-08-16T15:22:54 | 384,027,780 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,151 | h | #ifndef TRIE_H
#define TRIE_H
#include <vector>
#include <string>
#include <cctype>
#include <iostream>
#include <set>
#include <unordered_map>
class TrieNode {
private:
const static int N = 256;
public:
std::vector<int> list;
TrieNode* child[N];
TrieNode() {
for (int i = 0; i < N; i++)
this->child[i] = nu... | [
"nnphongphu@gmail.com"
] | nnphongphu@gmail.com |
615f280858558e0acecac2c8a4c9dc36b69fa8a3 | 33526a1d9d20488bf289c5bdba0f4b49dc856346 | /src/chainparams.cpp | 1c1d22ada5a268738410b84821847d7dcf7369a3 | [
"MIT"
] | permissive | theduly/dulyquark | ace6514cfa40a953056fb75cb8fe1ccd6cd2df76 | 5e345b45518a6cb6662ba466a571de69323f8ac7 | refs/heads/master | 2021-08-14T12:48:22.064299 | 2017-11-15T19:25:19 | 2017-11-15T19:25:19 | 110,204,416 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 26,176 | cpp | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The DULY developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php... | [
"kenji.kondo@ritz.edu"
] | kenji.kondo@ritz.edu |
0e122fdd1f39e44232e5ec01e18fc8850190dcd3 | 3c7b86bcbd1c2d5af45742e2662045f89d56bb47 | /BDOFiles.cpp | 209b60c8eb5facdc20e88a651e26671c51d96ed2 | [
"MIT"
] | permissive | AN3Orik/UnPAZ | ee8e6614835843c1bea70a201ef9b9be74ee3059 | 5c9c14e6e2337e520f24d1018a48446905c068fd | refs/heads/master | 2020-03-22T05:48:01.091269 | 2017-11-17T12:32:16 | 2017-11-17T12:32:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,082 | cpp | #if _MSC_VER >= 1910
#include "BDOFiles-exp.h"
namespace fs = std::experimental::filesystem;
#else
#include "BDOFiles-boost.h"
namespace fs = boost::filesystem;
#endif
using namespace BDO;
/// ***** FileEntry Structure ***** ///
FileEntry::FileEntry() :
uiFileHash(0),
uiFolderNum(0),
uiF... | [
"noreply@github.com"
] | AN3Orik.noreply@github.com |
eb9c78d86ee87beb77cabefeb78ecb05415e58b7 | ec9112d13fba8c8e7952a8f6aaeaef007ae9e718 | /modulsetting.cpp | 5065a44e0248b654c147392f7b94b26614712cd4 | [] | no_license | joejond/catatan_si_amoy | 9b3ce538de7ac80c0b367c2a51fd648ed2546b64 | 8da4a32a77359e0ee950d9879ddc8c6c69bd1669 | refs/heads/master | 2020-06-10T19:49:04.827456 | 2016-12-08T00:29:44 | 2016-12-08T00:29:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,542 | cpp | #include "modulsetting.h"
#include "ui_modulsetting.h"
ModulSetting::ModulSetting(QWidget *parent) :
QWidget(parent),
ui(new Ui::ModulSetting)
{
ui->setupUi(this);
read_setting();
update_setting();
}
ModulSetting::~ModulSetting()
{
delete ui;
}
void ModulSetting::read_setting()
{
QString ... | [
"rifqi@daunbiru.com"
] | rifqi@daunbiru.com |
c9df945bbbbe0bec3eb6d3ce1ecad6b83ce8c4a4 | dc7c38f1f91ab45c3047caf66c736454c429bc61 | /Lib/Common/SharedArray.h | c09ba9d0ecf2694e130e80b710cc50dca9aaec9b | [
"MIT"
] | permissive | RcCreeperTech/V3DLib | 83d76e2b252c3cc5143df4ea43aaf9c72642ad85 | 38eb8d55b8276de5cf703d8e13fb9b5f220c49f0 | refs/heads/main | 2023-07-17T18:21:20.855603 | 2021-08-21T05:02:22 | 2021-08-21T05:02:22 | 398,517,570 | 1 | 0 | NOASSERTION | 2021-08-21T09:28:05 | 2021-08-21T09:28:05 | null | UTF-8 | C++ | false | false | 8,649 | h | #ifndef _V3DLIB_COMMON_SHAREDARRAY_H_
#define _V3DLIB_COMMON_SHAREDARRAY_H_
#include <vector>
#include "BufferObject.h"
#include "../Support/basics.h"
#include "../Support/Platform.h" // has_vc4
namespace V3DLib {
class BaseSharedArray {
public:
BaseSharedArray(BaseSharedArray &&a) = default;
BaseSharedArray &op... | [
"wrijnders@gmail.com"
] | wrijnders@gmail.com |
ce6a5e6062d1bbe97c420ee070198b17a2676b08 | 8055773e95be51fed93577056a7ddff619e7e35e | /prj3/rangearray.cpp | 1a68513dfdde727d304cbaa04c8b0e86fa620b08 | [] | no_license | mhnam/CS-lab | dbe3ecacb3ffec9f173c0933a1fef2f9dfd954bf | 96e5cfa593c178586e9776de90a105253c7332e9 | refs/heads/main | 2023-05-24T15:10:40.423837 | 2021-06-23T13:07:14 | 2021-06-23T13:07:14 | 343,370,474 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 449 | cpp | #include <iostream>
using namespace std;
#include "RangeArray.h"
RangeArray::RangeArray(int i,int j):Array(j-i+1)
{
low = i;
high = j;
}
RangeArray::~RangeArray()
{
delete(data);
data = NULL;
}
int RangeArray::baseValue()
{
return low;
}
int RangeArray::endValue()
{
return high;
}
int& RangeArray::operator ... | [
"minhyuk.nam@outlook.com"
] | minhyuk.nam@outlook.com |
662b14e5b05c7f9c6d6dd9de0c1be1c802a61e59 | 66dd570bf5945dcbd183ed3c0cf897c0359cbccd | /draft/cplusplus/calculator/t.cpp | afe37bd12328a5d77259cdb05ee39fe042acc9bc | [] | no_license | SamJ2018/LeetCode | 302cc97626220521c8847d30b99858e63fa509f3 | 784bd0b1491050bbd80f5a0e2420467b63152d8f | refs/heads/master | 2021-06-19T10:30:37.381542 | 2021-02-06T16:15:01 | 2021-02-06T16:15:01 | 178,962,481 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 910 | cpp | using namespace std;
#include <iostream>
constexpr int isqrt_helper(int sq,int d,int a)
{
return sq <= a ? isqrt_helper(sq + d, d + 2, a):d;
}
constexpr int isqrt(int x)
{
return isqrt_helper(1,3,x)/2 - 1;
}
class X{
public:
X(int);
};
class Arena{
public:
virtual void* alloc(size_t) = 0;
virtual void free(void... | [
"juksam@centos7.localdomain"
] | juksam@centos7.localdomain |
c179d9f624ac317582f4d147ad1b3adac1c8c15e | 19ccfd6806c5054679dab3f275822302206b222f | /src/game/server/ai_addon.cpp | 2fbc2dc1006bc2929097b08ed2d087e39b583f0f | [
"Apache-2.0"
] | permissive | BenLubar/SwarmDirector2 | 425441d5ac3fd120c998379ddc96072b2c375109 | 78685d03eaa0d35e87c638ffa78f46f3aa8379a6 | refs/heads/master | 2021-01-17T22:14:37.146323 | 2015-07-09T19:18:03 | 2015-07-09T19:18:03 | 20,357,966 | 4 | 1 | Apache-2.0 | 2018-08-30T13:37:22 | 2014-05-31T15:00:51 | C++ | UTF-8 | C++ | false | false | 14,914 | cpp | // ai_addon.cpp
#include "cbase.h"
#include "ai_addon.h"
#include "ai_basenpc.h"
#include "ai_behavior_addonhost.h"
//---------------------------------------------------------
// Answers YES if the attachment is on the model and not
// currently plugged by another add-on.
//
// Answers NO if the host's model lacks th... | [
"ben.lubar@gmail.com"
] | ben.lubar@gmail.com |
cf857d02b9b69d2273cf615d31e0bd33943665a5 | 32c7df67516c98b2b3b5925ed44f7b9a619e00fc | /4.cpp | cbcf4a76c08e91822ea4c5b303ed7061ecaecf1a | [] | no_license | Arvindprksh/nxn-2048-game | 16ed3699cb2b78441169f20869a0cd9f96ee430a | 24287f6fe80f8066cad6a99c634bdfd1346f5086 | refs/heads/master | 2021-01-23T02:23:19.097426 | 2017-03-23T20:05:57 | 2017-03-23T20:05:57 | 85,989,052 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,967 | cpp |
#include<iostream>
#include<stdlib.h>
#include<unistd.h>
using namespace std;
static int a[10][10],B[10][10],C[10][10];
void add(int a[10][10],int n,char dir)
{
int b[10][10],I,i,j,k=0,m=0;
if(dir=='W' || dir=='S')
{
for(i=0;i<n;i++)
{
for(j=0;j<n;j++)
b[i][j]=a[i][j];
}
... | [
"arvindprksh@gmail.com"
] | arvindprksh@gmail.com |
b6ef844f09b4f9fadf7070b9fa8155f6e96ed012 | faa2dbd1e8bae7b2ed19442b36001e891d88f987 | /Prácticas19-20/Práctica_9/Cofre.cpp | e9400b039cc85ba34a71dd7f92efa1dc3194ea97 | [] | no_license | AlbertoHerreros/POO | ba2a46061e2ba51f3ee7592a7697c180d263d32e | 789ca44b6c13dfccdeb57ed4335f3c3cb0c8cd0e | refs/heads/master | 2023-03-23T07:28:49.041849 | 2021-03-17T15:17:32 | 2021-03-17T15:17:32 | 260,268,282 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,037 | cpp | /**
* @file Cofre.cpp
* @author jrbalsas
*
* @date 15 de abril de 2016
*/
#include "Cofre.h"
#include <stdexcept>
Cofre::Cofre (): Cofre(27) {
}
Cofre::Cofre(int cuantosCaben)
:_maxItems(cuantosCaben)
,_numItems(0) {
_items=new Item*[cuantosCaben];
for (int i = 0; i < cuantosCa... | [
"noreply@github.com"
] | AlbertoHerreros.noreply@github.com |
684126bac3a3f55ecde56fbcca7b27a132b3e25b | 989197ab3969bb013b35ae6ab3feda21763fdfa5 | /PAS/2006/src/tools/gethostbyname_local/Config.cpp | 576e6a1434f8c54b1a672fe8841703f6648beba5 | [] | no_license | A-Why-not-fork-repositories-Good-Luck/OldWorks | 9d4abebf57c26d764387be01e353d1d5b68eb51c | 3dacaba6fce1997f2dbbe39e7fde52a13d6dd93d | refs/heads/master | 2023-03-24T16:03:59.668010 | 2014-12-02T03:58:25 | 2014-12-02T03:58:25 | null | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 13,677 | cpp | #include "Common.h"
#include "Config.h"
#include <ace/Singleton.h>
Config* Config::instance()
{
return ACE_Singleton<Config, PAS_SYNCH_MUTEX>::instance();
}
int Config::getValue(ACE_Configuration_Heap* pReader, const char* sectionName, const char* valueName, ACE_TString& value)
{
ACE_ASSERT(pReader != NULL);
ACE_... | [
"handol@gmail.com"
] | handol@gmail.com |
810a08d2fbe61e26e75507c7136ea5a31d5e2fb6 | 363d82529eef4a389639ebdbea734dca00ac7abd | /893.特殊等价字符串组.cpp | 733ab46a8452b9cedf954f62214f62b9c463531b | [] | no_license | adsl305480885/leetcode-zhou | d9ac9ff391a68fb491bf3d3a5204778585fc9a40 | 79c96fc7f66ed0508351ed9300482a1619f39fb5 | refs/heads/main | 2023-05-03T12:26:05.218505 | 2021-05-21T10:39:30 | 2021-05-21T10:39:30 | 314,748,620 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 966 | cpp | /*
* @Author: Zhou Hao
* @Date: 2021-04-28 11:20:54
* @LastEditors: Zhou Hao
* @LastEditTime: 2021-04-28 11:28:32
* @Description: file content
* @E-mail: 2294776770@qq.com
*/
/*
* @lc app=leetcode.cn id=893 lang=cpp
*
* [893] 特殊等价字符串组
*/
// @lc code=start
#include<algorithm>
#include<string>
using namespace... | [
"2294776770@qq.com"
] | 2294776770@qq.com |
8049c634edd553c5a8210acc42bf29b58ad696f9 | 1a5538da448de1cff866093270e359e888be30e0 | /src/Peripheral_Utility/Fingerprint_Scanner.h | 766574a9c2e9b4496241d2226594b37c00758fc1 | [] | no_license | AhmedMagdy2788/ESP-remote-lock-server | 82fc8f06205d1c6a8d1858f0b8da3e545935d6c3 | 9275f296af146653b81aff5eba106d852b739908 | refs/heads/master | 2023-07-05T20:32:06.668945 | 2019-12-01T17:14:18 | 2019-12-01T17:14:18 | 225,197,325 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,196 | h | #ifndef FINGERPRINT_SCANNER_H_
#define FINGERPRINT_SCANNER_H_
#include "Peripheral.h"
#include <Adafruit_Fingerprint.h>
class Fingerprint_Scanner: public Serial_Peripheral{
public:
Adafruit_Fingerprint finger;
Fingerprint_Scanner(uint8_t _id, uint8_t _RX_pin, uint8_t _TX_pin, int _fullTime_ms, Hardware... | [
"Ahmed.Magdy.2788@gmail.com"
] | Ahmed.Magdy.2788@gmail.com |
2930d53947ce2c4dfa1c71240c4b4f9a51f22799 | 72316fafc3d677bf22b96b5bfd57cc61386042ac | /codeforces/551_div2/B/soln.cpp | 4fd8b4832386e6fd79a851eb50f74fa26e43d38e | [] | no_license | burakcoskun/programming_contests | de7a09cfa3c11f42f8c9cc5915cef929f723805b | c54a4da6dd1eb0df4d9e61b182fa02a5669c1668 | refs/heads/master | 2021-10-24T04:09:31.329447 | 2021-10-17T13:31:27 | 2021-10-17T13:31:27 | 133,931,600 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 802 | cpp | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
using namespace std;
#define pb push_back
#define mp make_pair
#define fs first
#define sc second
int n... | [
"burakcosk@gmail.com"
] | burakcosk@gmail.com |
c3abce5a374581a399d97bf20d84c9c9ac0c2887 | ea60658a9030800cb0f728157f0d3569d1875103 | /Recursion-Ascii Subsequences (hackerblock).cpp | 8d9376475062d9f7ab9c495536d2d0b887864247 | [] | no_license | MayukhC99/Practice_Problems | 2166e0b12ae37fea485cf3826b360fceff3ea7ad | 639cdc61fb17e8089c3beebe18d2f8ecc934c0b7 | refs/heads/master | 2022-12-26T10:20:08.966517 | 2020-09-03T13:27:45 | 2020-09-03T13:27:45 | 263,596,604 | 6 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 702 | cpp | #include<bits/stdc++.h>
#define speed ios_base::sync_with_stdio(false)
#define boost cin.tie(NULL)
#define booster cout.tie(NULL)
#define endl "\n"
typedef long long int lld;
#define F(a,n) for(int i=0;i<n;i++){cin>>a[i];}
#define F1(a,n) for(int i=1;i<=n;i++){cin>>a[i];}
using namespace std;
vector<string> result;
... | [
"mayukhchakrabarti99@gmail.com"
] | mayukhchakrabarti99@gmail.com |
10ea026e5db7c5c6cd035a08c0d3dd9441cfdc27 | 64178ab5958c36c4582e69b6689359f169dc6f0d | /vscode/wg/sdk/ERotatorQuantization.hpp | 49aa06a193958d1e16a4a2ab65171325e5636e16 | [] | no_license | c-ber/cber | 47bc1362f180c9e8f0638e40bf716d8ec582e074 | 3cb5c85abd8a6be09e0283d136c87761925072de | refs/heads/master | 2023-06-07T20:07:44.813723 | 2023-02-28T07:43:29 | 2023-02-28T07:43:29 | 40,457,301 | 5 | 5 | null | 2023-05-30T19:14:51 | 2015-08-10T01:37:22 | C++ | UTF-8 | C++ | false | false | 323 | hpp | #pragma once
#ifdef _MSC_VER
#pragma pack(push, 1)
#endif
namespace PUBGSDK {
enum ERotatorQuantization
{
ERotatorQuantization__ByteComponents = 0,
ERotatorQuantization__ShortComponents = 1,
ERotatorQuantization__ERotatorQuantization_MAX = 2,
};}
#ifdef _MSC_VER
#pragma pack(pop)
#endi... | [
"1395329153@qq.com"
] | 1395329153@qq.com |
2438b6aeb32ebcad612a3d3ffede21bf365dbd92 | a31de016611f3b4efc7a576e7113cad1a738419b | /_flip_A_B2.cpp | 1410ec3fe9ac901b065940bc788ae27f84b8a969 | [] | no_license | Ing-Josef-Klotzner/python | 9d4044d632672fff966b28ab80e1ef77763c78f5 | 3913729d7d6e1b7ac72b46db7b06ca0c58c8a608 | refs/heads/master | 2022-12-09T01:40:52.275592 | 2022-12-01T22:46:43 | 2022-12-01T22:46:43 | 189,040,355 | 0 | 0 | null | 2022-12-01T19:52:37 | 2019-05-28T14:05:16 | Python | UTF-8 | C++ | false | false | 3,364 | cpp | #include <iostream>
#include <vector>
using namespace std;
template <typename T> inline void inp (T &n) {
n = 0;
int ch = getchar_unlocked (), sign = 1;
while (ch < '0' || ch > '9') {
if (ch == '-') sign = -1; // only if also negative integer
ch = getchar_unlocked ();
}
while (c... | [
"josef.klotzner@gmail.com"
] | josef.klotzner@gmail.com |
cc0703c1d8c4fe3fd2f0aa82adc1a62254b8f933 | 04fb404404c1c52b60b0de984d50b3a758e84c5d | /include/LightGBM/utils/text_reader.h | 851e053c75e0d5940c32360982403e62c8d125a8 | [
"MIT",
"Python-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | h2oai/H2O-LightGBM-CUDA | 3b81a0b7725ec433f0ba91228101f2e01d038625 | e1c3c8b775f3b470b370e51bd1405b9aac15d9a3 | refs/heads/master | 2023-05-27T07:33:13.812124 | 2020-10-22T16:27:35 | 2020-10-22T16:27:35 | 250,047,339 | 3 | 0 | MIT | 2020-03-25T17:35:29 | 2020-03-25T17:35:28 | null | UTF-8 | C++ | false | false | 10,246 | h | /*!
* Copyright (c) 2016 Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See LICENSE file in the project root for license information.
*/
#ifndef LIGHTGBM_UTILS_TEXT_READER_H_
#define LIGHTGBM_UTILS_TEXT_READER_H_
#include <LightGBM/utils/log.h>
#include <LightGBM/utils/pipeline_reader... | [
"bordaw@cs-host-f38-ac922-11.pok.ibm.com"
] | bordaw@cs-host-f38-ac922-11.pok.ibm.com |
373e4f105b0a6d3c5b2a96a8b933d17afa270c6e | 2ddd15c182d894041403d0514363efdf3b204285 | /IlyaandDiplomas/main.cpp | 293861a1fd6f7f538c58e6dd65d5e34e4c0b1cf2 | [] | no_license | Maisuody/Codes | 73bb8e0d0d2752ace9e30f2181ce72d104841f0f | c19bd16ec3b69b5136e8e17f5c0da4687341039a | refs/heads/master | 2022-12-17T22:58:38.125478 | 2020-09-24T17:51:58 | 2020-09-24T17:51:58 | 260,780,532 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 488 | cpp | #include <iostream>
using namespace std;
int main()
{
int n,minn[5],maxx[5],x=0,y=0;
bool flag=true;
cin>>n;
for(int i=0; i<3; i++)
cin>>minn[i]>>maxx[i];
if(n<=maxx[0]+minn[2]+minn[1]){
x=n-(minn[2]+minn[1]);
}
else{
x=maxx[0];
}
n-=x;
... | [
"noreply@github.com"
] | Maisuody.noreply@github.com |
ec7ec30f1f70829661e3d45243ffc971d12948c6 | cbd2a87e64c0338e5c0a0ef4f98dccfb8452c687 | /src/marnav/nmea/tpc.cpp | 0be6849a42f3def7ea1ca4066665f76d05ca5f07 | [
"BSD-3-Clause",
"BSD-4-Clause"
] | permissive | mb12/marnav | 194c87279e8aa329d530ee9b7125b7fdc64bf4f2 | 4eb797488c734c183c2a4e4c22158891cd80d2e8 | refs/heads/master | 2021-01-24T23:34:31.791011 | 2016-01-11T10:52:25 | 2016-01-11T10:52:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,318 | cpp | #include "tpc.hpp"
#include <marnav/nmea/io.hpp>
#include <marnav/utils/unique.hpp>
namespace marnav
{
namespace nmea
{
constexpr const char * tpc::TAG;
tpc::tpc()
: sentence(ID, TAG, talker_id::global_positioning_system)
, distance_centerline(0.0)
, distance_centerline_unit(unit::distance::meter)
, distance_tra... | [
"mario.konrad@gmx.net"
] | mario.konrad@gmx.net |
abaf19539484439f02aa92cae57de345af7389a4 | 7f4d67bf2d239b580e3ee7ea5e11ebb990ce4a8c | /Framework/Framework/0625/UI_Button.cpp | 7848802de999d9fb78cd181368efdb64b21c3c39 | [] | no_license | batherit/WizardOfLegend | 10d64a7785b9fcaa9506d0cc73a37063f78c5240 | 2b34b3c7d4a43eeb21fab49e00f25b17b99d0aef | refs/heads/master | 2023-03-06T10:44:10.610300 | 2021-02-18T07:26:37 | 2021-02-18T07:26:37 | 278,795,613 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 43 | cpp | #include "stdafx.h"
#include "UI_Button.h"
| [
"batherit0703@naver.com"
] | batherit0703@naver.com |
831389b6e46258cf46421d543f47668b72527d67 | 6a539ab3314b1de1375b0eb081e04499d932d6b1 | /yıldız-şekilleri-5.cpp | c27e8d44e179ccd520ac10f37a94fdad6cf30749 | [] | no_license | omerhazar/Yazilim-Gelistirme | e502ab135eb70fd26a26d691e077eeceabcdac34 | 38a459d6f8c662cb7e1dd99b265bf8833e922391 | refs/heads/master | 2021-07-21T00:14:15.595108 | 2017-10-29T17:29:44 | 2017-10-29T17:29:44 | 108,650,258 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 346 | cpp | #include <stdio.h>
#include <conio.h>
main()
{
int adet=1;
int bosluk=17;
int sag=1;
for(int i=0; i<5; i++)
{
for(int a=0; a<adet; a++)
printf("*");
for(int j=0; j<bosluk; j++)
printf(" ");
for(int a=0; a<adet; a++)
printf("*");
adet+=2;
bosluk-=4;
printf("\n");
... | [
"noreply@github.com"
] | omerhazar.noreply@github.com |
346e41f1537245473a1b9f4f2b50a7de717d163e | 7730dbcc4b4e8fad7556dbb69419c986345401c5 | /MemInfo.cpp | a7363738e552099804ddef452321c6746484c91d | [] | no_license | celabtud/MAIP | a152225e8648a6fae1d777d99785cf0916842970 | b9974e1e649ea13d82d82fd7696b06609b26b579 | refs/heads/master | 2019-04-28T13:17:05.790154 | 2012-07-26T12:56:57 | 2012-07-26T12:56:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,064 | cpp | // MemInfo.cpp
#include "MemInfo.h"
#include <limits>
// static initialization
int64_t MemInfo::g_totalinst = 0;
MemInfo::MemInfo()
{
reset();
}
MemInfo::~MemInfo()
{
}
void MemInfo::reset()
{
totalinst = 0;
totalops = 0;
// total number of r/w instructions
total_memory_read_ins_stack = 0;
... | [
"imran.ashraf@76bd7a81-5314-4cca-9e12-e625ef43abb6"
] | imran.ashraf@76bd7a81-5314-4cca-9e12-e625ef43abb6 |
5696a37cc4011cb5b3b4ca1ea8bca6751aef99f9 | 2e9cb9e06618b15f92168718cdcf1e804f1cd924 | /KP/c.cpp | a08612c313cfcf8fd6e205b7d2c79dbb586554d1 | [] | no_license | kwk18/OS | 17fa079cd4f43ead64a80489fd80a4ce2ad2afaa | 2ecb9bb24b9405b80271f7b8dc27702b2a3f8ddd | refs/heads/master | 2021-07-04T16:44:09.548068 | 2021-04-13T16:52:15 | 2021-04-13T16:52:15 | 229,241,324 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,626 | cpp | #include <iostream>
#include <string>
#include <cstring>
#include <unistd.h>
#include "zmq.h"
//печатает в стандартный вывод, полученную строку от программы A
//После получения программа C отправляет программе А сообщение о том, что строка получена. До тех пор пока программа А не примет «сообщение о получение ст... | [
"noreply@github.com"
] | kwk18.noreply@github.com |
878ae4b8256868442e8cd75533cdcf9150fecf41 | 13ec27cad87882a822790c7d23c7618410134ec0 | /contest/WorldFinals2019/43WorldFinalsWorkstation-Team63/Desktop/AC/D.cpp | 2d8d38eaada0fbaa7cacfbadd1cb78fe96e48bb0 | [] | no_license | NCTU-PCCA/NCTU_Fox | 4423bcfdf452d101d1aeb6d52fa054f1e6bd2dae | f23aeb0df327feeb46634ff38dd0bb0c2505e21b | refs/heads/master | 2021-05-02T10:42:29.215130 | 2019-11-13T11:41:00 | 2019-11-13T11:41:00 | 120,762,563 | 30 | 8 | null | 2018-02-25T13:07:06 | 2018-02-08T13:06:36 | null | UTF-8 | C++ | false | false | 1,611 | cpp | #pragma GCC optimize("Ofast")
#include <bits/stdc++.h>
using namespace std;
using pci = pair<char,int>;
using pii = pair<int,int>;
const int MAXN = 1000004;
int n;
map<int,vector<pci>> m;
void init(){
char buf[20];
cin >> n;
for (int i=0; i<n; i++) {
cin >> buf;
int v = atoi(buf+1);
... | [
"edison1998402@gmail.com"
] | edison1998402@gmail.com |
3dddd29d613a54f78d65d16b8787a554df5e0836 | 8d5ec68b918279bd47ab6b57fa2cce7567c4b3a6 | /Framework/Systems/Window.cpp | c9b2baa3d76da915b50a6a2e0c183460dc0f99f7 | [] | no_license | sork777/PortFolio | 7d6a77a595ca35f821486f620a0b1318d6e7511c | 152d9d8b3d38f490ffccb644691f5a052b677307 | refs/heads/master | 2022-12-30T17:10:58.267379 | 2020-01-11T05:32:26 | 2020-01-11T05:32:26 | 232,132,922 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,072 | cpp | #include "Framework.h"
#include "Window.h"
#include "IExecute.h"
IExecute* Window::mainExecute = NULL;
WPARAM Window::Run(IExecute * main)
{
mainExecute = main;
Create();
D3DDesc desc = D3D::GetDesc();
D3D::Create();
Keyboard::Create();
Mouse::Create();
Time::Create();
Time::Get()->Start();
Gui::Create()... | [
"ladse123@gmail.com"
] | ladse123@gmail.com |
1d50103942dc8a2b49a130283dff5190fe60602e | 7a49d64dda04157bfabd92081dba2db628bcb563 | /clients.cpp | 58abe7d2040d590bdf3302d7e4c74332015e279d | [
"MIT"
] | permissive | gpimblott/ESP8266_Wifi_Analyst | 768ff1a014d59371a28d08273280a9bed43eea76 | 0e156378d1c778c6194e7a2b10b2e71a116dfaf0 | refs/heads/master | 2020-03-28T19:34:16.016139 | 2018-09-16T11:25:32 | 2018-09-16T11:25:32 | 148,987,977 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,351 | cpp | #include "clients.h"
#include "esp_functions.h"
/*
* Send deauth packets to client.
*/
uint8_t deauth_template[26] = {
0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x6a, 0x01, 0x00
};
Clients::Clients() {
}
/**
* De... | [
"g.pimblott@kainos.com"
] | g.pimblott@kainos.com |
ee4c22742a493d52766dd6df8811a7fd072fb18a | e1f3db61315b06d0369f6c60f6eb6349dca2428e | /Stacks/main.cpp | ba91e7aaaeb4563207f014abeb14c98a5a7b483f | [] | no_license | GrimleyFlock/OOP | b417588c75247db666e3077a387a64bcf3baa273 | c53b3fd2084a50343e90ed9985cef82e20b0ff99 | refs/heads/master | 2020-04-16T18:32:30.681725 | 2019-02-28T09:05:52 | 2019-02-28T09:05:52 | 165,824,846 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,033 | cpp | #include <iostream>
using namespace std;
class student
{
private:
int test[100], top;
public:
student()//Constructor
{
top = 0;
}
void push(int x)//Data from outside for reusability
{
test[++top] = x;
}
int pop()
{
return test[top--];
}
void peek()
{
cout<<test[top]<<endl;
... | [
"grimleyflock@gmail.com"
] | grimleyflock@gmail.com |
473153c8c052de91a55812e24e7ab16f3bdaf0fb | 1debf33fa24451ac431faeef905b1a05e4641a73 | /swri_profiler/src/profiler.cpp | 3e75f784f2292ac3067b3f25c74ba95c235bce2a | [
"BSD-3-Clause"
] | permissive | pjreed/swri_profiler | ff090ca78667d66245213bf092127cc9b00454df | 0538661aad83df370e2213450141d15c52b9d867 | refs/heads/master | 2021-01-22T19:30:43.804489 | 2015-12-11T21:06:45 | 2015-12-11T21:06:45 | 47,850,597 | 0 | 0 | null | 2015-12-11T20:56:01 | 2015-12-11T20:55:59 | JavaScript | UTF-8 | C++ | false | false | 6,826 | cpp | #include <ros/this_node.h>
#include <swri_profiler/profiler.h>
#include <ros/publisher.h>
#include <swri_profiler_msgs/ProfileIndex.h>
#include <swri_profiler_msgs/ProfileIndexArray.h>
#include <swri_profiler_msgs/ProfileData.h>
#include <swri_profiler_msgs/ProfileDataArray.h>
namespace spm = swri_profiler_msgs;
nam... | [
"elliot.johnson@swri.org"
] | elliot.johnson@swri.org |
ed5697263d93e99cc935cf2dc2b961fbc77b11b5 | 8ceb4be36aebcc5d0e5d36389c5107f4ea7c38d1 | /Chapter13Files/EX13.28.cpp | ec79c40ef625b3ac364f962f61760dfe08c25ea8 | [] | no_license | StefanCardnell/C-plus-plus-primer-answers | 151b3c38efee38d0a9d2c920d39d42127140667e | a9d71a98cdad5151f203c79bd442877a43e4aaaf | refs/heads/master | 2021-05-30T23:42:41.877922 | 2016-01-24T23:47:32 | 2016-01-24T23:47:32 | 48,708,265 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,015 | cpp | //#define NDEBUG
#include <iostream>
//#include <fstream> //IO file stream
//#include <sstream> //stringstream
//#include <iterator> //begin/end functions for arrays
#include <string>
#include <vector>
//#include <cstring> //c-style string functions
//#include <cstddef> //for size_t type and ptr_diff type
//#include <c... | [
"raging_rush@hotmail.co.uk"
] | raging_rush@hotmail.co.uk |
fb7219851856a7dbc75ba3e40d3377c660d21ff6 | f4fdb12f07e424137510f350d5979f47560abd62 | /src/Alignment.cpp | d00734534ac896cd78f195ba127dea24d836799b | [
"MIT"
] | permissive | dasmoocher/Sniffles | 473c61a1242aa17746ca1cfbb617fb465be543b1 | 2532f5b44d3a286f77ef87a779381c4817281b74 | refs/heads/master | 2021-01-19T19:10:18.928391 | 2017-02-28T14:50:32 | 2017-02-28T14:50:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 35,357 | cpp | /*
* Alignments.cpp
*
* Created on: May 25, 2012
* Author: fritz
*/
#include "Alignment.h"
void Alignment::setRef(string sequence) {
alignment.second = sequence;
}
void Alignment::initAlignment() {
al = new BamAlignment();
}
void Alignment::setAlignment(BamAlignment * align) {
al = align;
/*
//commen... | [
"fritz.sedalzeck@gmail.com"
] | fritz.sedalzeck@gmail.com |
9e2a25e399ed9bf75736a02c2b1af098b2c776f1 | 148b61252764fdd95aa17e52179d801bdd20ee15 | /mars/sdt/src/checkimpl/tcpquery.cc | 9f8974ae050541a4d0cdd2792850430e53abc653 | [
"MIT",
"Zlib",
"BSD-3-Clause",
"LicenseRef-scancode-openssl",
"LicenseRef-scancode-ssleay-windows",
"BSL-1.0",
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference",
"OpenSSL"
] | permissive | Lynnnnnn/mars | 8c7ab4b6e193de5e83ba79668f9461fea017f9a7 | 2b87cceec445b649b5c0190c119e9cbb30e5dc85 | refs/heads/master | 2021-04-29T08:17:35.555275 | 2016-12-29T14:32:28 | 2016-12-29T14:32:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,296 | cc | // Tencent is pleased to support the open source community by making GAutomator available.
// Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved.
// Licensed under the MIT License (the "License"); you may not use this file except in
// compliance with the License. You may obtain a copy of the ... | [
"garryyan@tencent.com"
] | garryyan@tencent.com |
3862265d33d8a2c954da298c2167b610ca009f60 | 6ca4715eba03d16ea07eda3ab92b5dffe7bcda28 | /Boost.Asio/AsioAsyncFibers/Profiler.cpp | 38e38cabf7b685c1dd92cf98f8c2fff18dd6f5aa | [] | no_license | arkrde/SacksteinCppCon2017 | ad9cb2aa41b7e9451f8819ab056a13a3dfb17bb9 | d9e2bef408045eac18b2b83b669374c4df3faa62 | refs/heads/master | 2023-03-15T23:05:26.775074 | 2017-09-29T11:33:16 | 2017-09-29T11:33:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 562 | cpp | #include "stdafx.h"
#include "Profiler.h"
#include "Logger.h"
using namespace std::chrono;
static Logger& _logger = Logger::instance();
Profiler::Profiler() :
_count(0)
{
}
void Profiler::OnEcho()
{
int count = _count++;
if (count == 0)
{
_start = steady_clock::now();
return;
}
if (count % 50000 == 0)
... | [
"davids@codeprecise.com"
] | davids@codeprecise.com |
de44b8af994bb7a84ac8668f0279354955dfe297 | 1302a788aa73d8da772c6431b083ddd76eef937f | /WORKING_DIRECTORY/system/update_engine/omaha_response.h | 60ec4acc6017c9a752660309c3572d98435e4361 | [
"Apache-2.0"
] | permissive | rockduan/androidN-android-7.1.1_r28 | b3c1bcb734225aa7813ab70639af60c06d658bf6 | 10bab435cd61ffa2e93a20c082624954c757999d | refs/heads/master | 2021-01-23T03:54:32.510867 | 2017-03-30T07:17:08 | 2017-03-30T07:17:08 | 86,135,431 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,897 | h | //
// Copyright (C) 2012 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by app... | [
"duanliangsilence@gmail.com"
] | duanliangsilence@gmail.com |
3793d52402c32153054e19fab9cd8bd2d76f6217 | b605d7bf37df0f632fe5b42c40abc15608a7bc5d | /EXTRA/main.cpp | 82b12e101cb9c6a91336a2809a069a802a6fd591 | [] | no_license | MEspanaICEUfro/RepoLabsProgra | 7607c50cf7715b895ac6d0841a583a78401a1357 | 63cbb22c75b25ed3177b6a66e6f4b76653caf0b9 | refs/heads/main | 2023-06-16T00:44:07.318394 | 2021-07-15T01:15:42 | 2021-07-15T01:15:42 | 364,700,865 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 122 | cpp | #include <stdio.h>
#include <time.h>
int main(){
time_t t;
time(&t);
printf("Hoy es %s", ctime(&t));
} | [
"m.espana01ÃÂ@ufromail.cl"
] | m.espana01ÃÂ@ufromail.cl |
d0caf390057144e2157ec9643dcc66ce689a91bf | c91e870fe4b3ebae7a8c0aa12d97e7eda3edf55d | /CppPool/cpp_rush3_2019/src/swap.cpp | 47091acd8fb34c1affe73eac4b05c4620af08e3e | [] | no_license | Rhumun83/epitech-semester4 | 14095759d776f24cbf89c232d47c51ce0e3fb57a | 7881aaf028f4f945c2eb7a3a0ad5357c1673f603 | refs/heads/master | 2022-12-18T21:17:05.034460 | 2020-09-29T10:05:25 | 2020-09-29T10:05:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,174 | cpp | /*
** EPITECH PROJECT, 2020
** CppPool
** File description:
** swap
*/
#include <ncurses.h>
#include "swap.hpp"
#include "ram.hpp"
const std::string &Swap::getValue()
{
usedSwap r;
float f = std::stof(getOnFile("/proc/meminfo", "SwapTotal:"));
std::string str = std::to_string(f / 1024000);
str = str.s... | [
"noreply@github.com"
] | Rhumun83.noreply@github.com |
d363e8754dd4fccff5cdc085c5176b9cb3831149 | d700ce6ae7099d9dd2c1fa2e2e6ede9778bc5bb2 | /apps/cpp/graph/graph.hpp | 3bb54080968c9d50b6128d9927b6fa43019366f1 | [] | no_license | stanford-ppl/Delite | e1937c233486f06447088cd57b484d39d557bf3d | 88021e777d76ca8dd2bdab84983897ade17be47b | refs/heads/master | 2021-03-09T05:54:37.089254 | 2016-05-12T07:43:38 | 2016-05-12T07:43:38 | 886,847 | 123 | 39 | null | 2017-02-19T19:10:28 | 2010-09-03T22:55:25 | Scala | UTF-8 | C++ | false | false | 618 | hpp | #pragma once
#include <vector>
class graph {
public:
uint32_t num_nodes;
uint32_t num_edges;
const uint32_t* edge_ptr;
const uint32_t* ngbr_idx;
const uint32_t* out_degree;
public:
graph(uint32_t nn, uint32_t ne, const uint32_t* ep, const uint32_t* ni, const uint32_t* od):
num_nodes(nn), num_edges(n... | [
"cdesa@stanford.edu"
] | cdesa@stanford.edu |
bed3e4e2abf84d4bc65ff0eaea2b7b8aeda54841 | 066899c1d6f6269f90cd617fe3e1fdaef416578e | /Graph Algorithms/dijkstra.cpp | ab8f7a0435d8d10da4b8645d78440d544ea83b1c | [] | no_license | Daniboybt/Notebook | 0ec3eb3c8f4e0e248105ab92621f0fe57a6c472a | 1d9dc214a3df86c725c1d88190c292804344f5d4 | refs/heads/master | 2020-04-09T00:32:27.469926 | 2018-08-01T16:47:51 | 2018-08-01T16:47:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 703 | cpp | /*
* Matheus Oliveira
* 11/02/2018
* dijkstra.cpp
* Time Complexity: O(E * logV)
*/
priority_queue< P, vector< P >, greater< P > > dijkstra;
distances[0] = 0;
dijkstra.push( mp(0, 0) );
while( not dijkstra.empty() ) {
atual = dijkstra.top();
dijkstra.pop();
int nodeAtual = atual.second, dist = atual.first;
... | [
"matheus7op@gmail.com"
] | matheus7op@gmail.com |
a024d79c29f68bc09ce11ac3eefaa77edd4ee87b | a31f315fc9b60e6aeccd8002a3b7cee2d720e556 | /src/gpu/effects/generated/GrOverrideInputFragmentProcessor.cpp | 852111da4b0a224ee3f1f8034fa1f1b05ffdac4a | [
"BSD-3-Clause"
] | permissive | kizerkizer/skia | 6036d9b238902e588143de5ce6fd8f55ac8a577f | 87b57d083321a21b64979e0e3c92d34c8678e273 | refs/heads/master | 2020-07-10T09:59:35.286607 | 2019-08-24T12:49:17 | 2019-08-24T12:49:26 | 204,233,715 | 0 | 0 | NOASSERTION | 2019-08-25T02:00:01 | 2019-08-25T01:57:26 | C++ | UTF-8 | C++ | false | false | 4,529 | cpp | /*
* Copyright 2019 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
/**************************************************************************************************
*** This file was autogenerated from GrOverrideInputFragmentProcessor.fp; ... | [
"skia-commit-bot@chromium.org"
] | skia-commit-bot@chromium.org |
6ea931896dff82f78fb6d0bc90a86e12905e9a5e | 308f3cb8a30fcacd8851cc2ed979949b643cf1d9 | /codeforces/Educational Codeforces Round 91 (Rated for Div. 2)/e.cpp | df29e76a623cd921f7525404c3dac9dcab27d493 | [] | no_license | szh-bash/ACM | 9a49859644d077bcb40f90dbac33d88649e7b0f3 | 3ddab1ab8f9b8a066f012f2978ee9519d00aec54 | refs/heads/master | 2022-08-08T19:20:09.912359 | 2022-07-20T10:43:57 | 2022-07-20T10:43:57 | 98,170,219 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,523 | cpp | #include <map>
#include <set>
#include <ctime>
#include <queue>
#include <cmath>
#include <ctime>
#include <vector>
#include <cstdio>
#include <cstring>
#include <cstdlib>
#include <iostream>
#include <algorithm>
typedef long long ll;
using namespace std;
int read(){
int p=0, q=1;
char ch=getchar();
while (ch<'0' |... | [
"342333349@qq.com"
] | 342333349@qq.com |
c72b391e6074d4cdd094fff92d8f8cd96cdd0f84 | a2111a80faf35749d74a533e123d9da9da108214 | /raw/pmsb13/pmsb13-data-20130530/sources/qhuulr654q26tohr/2013-05-20T00-57-39.178+0200/sandbox/PMSB_group6/apps/benchmarkingClusterSearch/benchmarkingClusterSearch.cpp | df8518a6557cc3b8357b77583e8e316ce10f256a | [
"MIT"
] | permissive | bkahlert/seqan-research | f2c550d539f511825842a60f6b994c1f0a3934c2 | 21945be863855077eec7cbdb51c3450afcf560a3 | refs/heads/master | 2022-12-24T13:05:48.828734 | 2015-07-01T01:56:22 | 2015-07-01T01:56:22 | 21,610,669 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,884 | cpp | //autor:Jakob
#include <seqan/GCluster.h>
#include <seqan/GSearch.h>
#include <seqan/GStructs/PerformanceSample.h>
#include <seqan/GStructs/MemorySample.h>
#include <seqan/computeSensSpec.h>
using namespace seqan;
using namespace std;
int main(int argc, char const ** argv) {
const char * inDataBasePath = "../../s... | [
"mail@bkahlert.com"
] | mail@bkahlert.com |
9c3003916f9a8dafb9615cf8b33530fdf8670391 | c76adc973e5251452e1beb3de7776d0a2b709fce | /submissions/c3.s358.ncu100502508.Group1C.cpp.0.Group.cpp | 91774e0e16b008e9caf3ebe5958ace9ad76a716f | [] | no_license | ncuoolab/domjudge | 779a167f695f45a6a33437996ec5ad0f9d01c563 | bda18c69d418c829ff653f9183b3244520139f8a | refs/heads/master | 2020-05-19T08:10:39.974107 | 2015-03-10T19:35:03 | 2015-03-10T19:43:26 | 31,972,137 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,550 | cpp | #include<iostream>
#include<cstdlib>
using namespace std;
int grammarcount=0;
bool flag=false;
string output="";
void judgeIfGrammar(int number)
{
if(grammarcount==0)
{
if(number!=0)
{
cout<<"invalid input"<<endl;
exit(0);
}
}
else if... | [
"fntsrlike@gmail.com"
] | fntsrlike@gmail.com |
ee715b70b0c44c6d6191bb580e23e77775ec61a5 | 39b76439c49c719093cfceb36f477d22225eb32d | /torch/csrc/jit/tensorexpr/ir_simplifier.cpp | 3474ee6331d6b6544e6e26b1fb20561d3412c2f7 | [
"BSD-3-Clause",
"LicenseRef-scancode-generic-cla",
"BSL-1.0",
"Apache-2.0",
"BSD-2-Clause"
] | permissive | calvinmccarter-at-lightmatter/pytorch-1 | a9679ca4270c71206106276f56211ad7a7c9ceab | 12b63f4046646008ff690e0961c33dbd7bcde898 | refs/heads/master | 2023-06-21T00:39:51.314189 | 2021-06-29T19:46:20 | 2021-06-29T19:50:48 | 381,482,716 | 0 | 0 | NOASSERTION | 2021-06-29T20:00:05 | 2021-06-29T20:00:05 | null | UTF-8 | C++ | false | false | 73,468 | cpp | #include <torch/csrc/jit/tensorexpr/ir_simplifier.h>
namespace torch {
namespace jit {
namespace tensorexpr {
// Simple recursive GCD.
template <typename T>
T gcd(T a, T b) {
if (b == 0) {
return a;
}
return gcd(b, a % b);
}
// Helper for determining if an Expr is a multi-lane primitive (e.g. Broadcast
// ... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
5336257a4a583ba0464f6bd7deafe832de5c07d4 | 6f874ccb136d411c8ec7f4faf806a108ffc76837 | /code/Windows-classic-samples/Samples/DPIAwarenessPerMonitor/cpp/DPITutorial.h | 42c017f768dd045a04acaa094f8ba24640d4e135 | [
"MIT"
] | permissive | JetAr/ZDoc | c0f97a8ad8fd1f6a40e687b886f6c25bb89b6435 | e81a3adc354ec33345e9a3303f381dcb1b02c19d | refs/heads/master | 2022-07-26T23:06:12.021611 | 2021-07-11T13:45:57 | 2021-07-11T13:45:57 | 33,112,803 | 8 | 8 | null | null | null | null | UTF-8 | C++ | false | false | 4,441 | h | // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
//
// Copyright (C) Microsoft Corporation. All rights reserved.
#pragma once
#inclu... | [
"126.org@gmail.com"
] | 126.org@gmail.com |
9afeb47d772041a229ed13e41f217a72cde6e9b1 | 2b7ca25e4fba0ce04104987328f28dd6c2b4195e | /2018-2019/sem01-02/overload.cpp | fe757e9a438fc11a29673cc74f435b16aabc2bcb | [] | no_license | blackav/cmc-cpp-seminars | 7da500782901115cfc4f808b8ad367d126ea3879 | 48c94bb340e98c3856a4f0ea8267fafd73ae318d | refs/heads/master | 2023-04-30T05:16:17.788261 | 2023-04-15T03:37:48 | 2023-04-15T03:37:48 | 53,767,957 | 18 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 746 | cpp | #include <stdio.h>
void f()
{
printf("f()\n");
}
void f(char c)
{
printf("f(char)\n");
}
void f(int z)
{
printf("f(int)\n");
}
void f(unsigned char c)
{
printf("f(unsigned char)\n");
}
void f(double d)
{
printf("f(double)\n");
}
void f(const long &l)
{
printf("f(const long&)\n");
}
void f... | [
"blackav@gmail.com"
] | blackav@gmail.com |
c04ba1d21ee742bccb411ba341e925d43306a921 | 26f9fdff3c246e3a68ff9b0bb4f8f0a9a67bce1c | /dynamic_OWSC (copy)/0.4/polyMesh/points | e53724647764745847756db708328ac92c1b09d7 | [] | no_license | JBrakefield/My_olaFlow | 6c0aaa0dda8d8e69c127281fc9484f3cded258ea | a812362928f2466f4e2632d2636dce97a0a3b9f6 | refs/heads/master | 2020-04-08T14:00:49.750205 | 2019-01-10T19:48:55 | 2019-01-10T19:48:55 | 159,418,163 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 532,610 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 5.x |
... | [
"jbrakefi@uw.edu"
] | jbrakefi@uw.edu | |
c62edf77cdca6dcb5a6c5bc01273925735155486 | ef83a69f758e22708da1ca2f0a2ab2f855bcf38f | /WebKit-IFC/Source/WebKit2/UIProcess/API/efl/PageClientImpl.cpp | e69f87d28012de1530c92c9ccb221bdc821c4adf | [] | no_license | bichhawat/ifc4bc | 14446efad82b8cec530e7f7cb4d23236484d08b6 | 31d3184d14a112030c1bc0941ff5168f2eece797 | refs/heads/master | 2021-01-13T07:53:07.848605 | 2017-06-21T10:32:43 | 2017-06-21T10:32:43 | 94,991,089 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,298 | cpp | /*
* Copyright (C) 2011 Samsung Electronics
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the follo... | [
"abhishekbichhawat@gmail.com"
] | abhishekbichhawat@gmail.com |
d69b71658c240f43a7abca14951ac4560ba886ba | d32b408b6a0fe828f83b99e36a843ea920922d1b | /4. Programming Methodologies/Lab 6/lab6_3.cpp | 21003b5e0bd49f5eb1de18819d45e01e9e49b942 | [
"MIT"
] | permissive | iamraf/A.T.E.I.TH | 833eb2f9306c117f5801f9dc81fe1360cdc6e151 | ba238416903a42a0b4ed15737b7ed1c607ee2190 | refs/heads/master | 2022-01-10T22:12:17.479853 | 2019-06-04T17:46:03 | 2019-06-04T17:46:03 | 115,725,859 | 9 | 9 | null | null | null | null | UTF-8 | C++ | false | false | 546 | cpp | #include <iostream>
#include <fstream>
using namespace std;
int main(int argc, char *argv[])
{
ofstream os;
os.open(&argv[1][0]);
int n;
cout << "Dose plhthos proionton: ";
cin >> n;
os << "\nTo arxeio exei dimiourgithei apo ton Kappa kai exei " << n << " triades arithmon. " <<... | [
"noreply@github.com"
] | iamraf.noreply@github.com |
3bd4e838db39d0b2ee9c61d6ab4c8fa24ffff8c4 | 00e618a97bd27dd60e042c6b40a9f8a0eb0453bb | /src/xbridge/xbridgewalletconnectorltfn.cpp | 3fac0445a34905657cf46566bf25630a96041de3 | [
"MIT"
] | permissive | mraksoll4/blocknet1 | e46d72db0c692bc32e46c4a71744486442e70c8e | d8ca6a9d5b47245dfe084487d4dde2b1c3dc3094 | refs/heads/master | 2022-12-25T14:28:28.379790 | 2020-09-30T22:10:14 | 2020-09-30T22:10:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,589 | cpp | // Copyright (c) 2017-2020 The Blocknet developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
//******************************************************************************
//**********************************************... | [
"mraksoll@gmail.com"
] | mraksoll@gmail.com |
37bc65241c6cdc7d37d2a02a2204e142f8c39e56 | 9d2483a971725aa3a5a78325ef38f3a2aa8a6846 | /Graphics For Games/2) Matrix Transformations/Renderer.h | edfd59e004f1a971ecccc662b09a6fd4b09687e6 | [] | no_license | Balzor/Graphics | 083ca881a7c084bd3a2a73bac14dc0722900a2db | 25230f79212df7e52cb4457aaa63fd8f286e193b | refs/heads/master | 2022-04-08T04:02:05.537177 | 2020-02-05T14:38:42 | 2020-02-05T14:38:42 | 218,518,537 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 564 | h | #pragma once
#include "../../nclgl/OGLRenderer.h"
#include "../../nclGL/Camera.h"
class Renderer :public OGLRenderer {
public:
Renderer(Window& parent);
virtual ~Renderer(void);
virtual void RenderScene();
virtual void UpdateScene(float msec);
void SwitchToPerspective();
void SwitchToOrthographic();
inli... | [
"b9050880@newcastle.ac.uk"
] | b9050880@newcastle.ac.uk |
b56f87304a136b298ce3529325ab63f24d2df48b | ab2777854d7040cc4029edcd1eccc6d48ca55b29 | /Algorithm/AutoFinder/AutoFinder.cpp | 3510f3acbbb366951425c8432d52f7b02fcc5f83 | [] | no_license | adrix89/araltrans03 | f9c79f8e5e62a23bbbd41f1cdbcaf43b3124719b | 6aa944d1829006a59d0f7e4cf2fef83e3f256481 | refs/heads/master | 2021-01-10T19:56:34.730964 | 2009-12-21T16:21:45 | 2009-12-21T16:21:45 | 38,417,581 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 20,123 | cpp | // AutoFinder.cpp : DLL 응용 프로그램을 위해 내보낸 함수를 정의합니다.
//
#include "stdafx.h"
#include "AutoFinder.h"
#include "OptionDlg.h"
#include "NonCachedTextMgr/NonCachedTextArgMgr.h"
#include "CachedTextMgr/CachedTextArgMgr.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// 유일한 응용 프로그램 개체입니다.
CAutoFinderApp* C... | [
"arallab3@883913d8-bf2b-11de-8cd0-f941f5a20a08"
] | arallab3@883913d8-bf2b-11de-8cd0-f941f5a20a08 |
343b1ad00935dab99ea7ef42f9424ca044ef8cd0 | 95363f7801055e83d8c8e9ed2270e9e9697293d1 | /src/rpcblockchain.cpp | a13931bd84916a5b96ede48a9ec7767448a3333a | [
"MIT"
] | permissive | xuyenvtram/c-bit | 4f87cd1d97bcfa346bac1f7c472fdd32f7a54e8e | 89582694c3b353968fe06f880646a2b932b1b6de | refs/heads/master | 2021-01-19T20:48:21.980725 | 2016-03-16T01:50:20 | 2016-03-16T01:50:20 | 88,555,714 | 0 | 0 | null | 2017-04-17T22:19:02 | 2017-04-17T22:19:02 | null | UTF-8 | C++ | false | false | 37,887 | cpp | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2015 The C-Bit Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "amount.h"
#include "chain.h"
#include "chainparams.h"
#include "checkpoints.h"... | [
"cbit@hush.com"
] | cbit@hush.com |
e6fe7588177ec898e876fc4fd5d877d5605d02ba | f1e310e4f6da4aee488ca5c0e492f66ffbebabf9 | /src/application/NeoPixelManager.h | f795b0d714b46a0f5d7c4630f36a299e614c8eb5 | [
"MIT"
] | permissive | kigster/neo-ring | 5570d516c062bbb94e332536c6d697a4f04d38e2 | ffe33dfb5fb3b0a7b711de0d34bec6bde73e3ce7 | refs/heads/master | 2021-05-14T12:44:07.517995 | 2018-01-07T06:27:16 | 2018-01-07T06:27:16 | 116,417,282 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,014 | h | /*
* NeoPixelManager.h
*
* Created on: Nov 28, 2014
* Author: Konstantin Gredeskoul
* Code: https://github.com/kigster
*
* (c) 2014 All rights reserved, MIT License.
*/
#include "Configuration.h"
#ifdef NEOPIXEL_EFFECTS_ENABLED
#ifndef NEOPIXELMANAGER_H_
#define NEOPIXELMANAGER_H_
#include "Con... | [
"kigster@gmail.com"
] | kigster@gmail.com |
50459d7094b754eff73ad527b484214248fd0c6c | 3a7c87a8a3ca19d8d317c09e0ff3c32710c1b689 | /Important Codes/Iranian Guy/Z-Math.cpp | f3171df5fc192d34e0455ac6d47ecd6f48076200 | [] | no_license | prosenjit07/ACM-ICPC | c887b5b44eb92c547933e7a36460bf97350ae9ca | f396aa1f53fcd0eed046d9431bdad16fedcfdee4 | refs/heads/master | 2023-05-27T15:27:27.436318 | 2016-10-05T06:31:56 | 2016-10-05T06:31:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,930 | cpp | long long mod(long long s,long long t){ return(((s%t)+t)%t);
}
bool axbyc(long long a,long long b,long long c,long long &x,long long &y){
if (a > b)
return(axbyc(b,a,c,y,x));
if (a == 0){
x=y=0;
if (c % b != 0) return(false);
else{
x=0; y=c/b;
return(true);
}
}
if (!axbyc(b%a,a,c,x,y))
return(... | [
"Hichem Zakaria Aichour"
] | Hichem Zakaria Aichour |
0327c7b8e8e79816a4365ec56fdb21e77d9683f8 | 7510c2e1ff2d9fd8f6f80e65d7b75687ed19ebd4 | /renderer/c_indicators.cpp | 69ed2e8c1dcc3db2c4d0e4c54f744a9828810603 | [] | no_license | m0rethan3/paste7 | 866056f073db99cd01a597c98e9a4769f260252c | 54d81d28d55bbf441d5988340b79e437ed91eb3f | refs/heads/master | 2021-02-05T21:29:21.598637 | 2019-08-11T17:27:20 | 2019-08-11T17:27:20 | 243,835,313 | 0 | 0 | null | 2020-02-28T19:06:31 | 2020-02-28T19:06:31 | null | UTF-8 | C++ | false | false | 4,068 | cpp | #include "../BASS/bass.h"
#include "c_indicators.h"
#include "../sdk/c_engine_client.h"
#include "../hooks/idirect3ddevice9.h"
#include "../hacks/c_fake_ping.h"
#include "../hacks/c_antiaim.h"
#include "../sdk/c_client_state.h"
#include "../utils/math.h"
#include "../sdk/c_input.h"
void c_indicators::draw()
{
const a... | [
"kontonowe20@onet.pl"
] | kontonowe20@onet.pl |
650c4a7ed12f7f1d3156be4f02a07e1d627cc9d5 | 1308779f4585284db744c720ef981fd4d8b5c5f9 | /arduino_multi_fontion/arduino_multi_fontion_v5/lir_IR_signal/lir_IR_signal.ino | 3a8b3dde1f4451c3fd337f68b0ea76c830088eb0 | [] | no_license | alichbouki/mes-code-arduino | c36cd7410277f0f0f7e84626abddc49dcfba9f64 | d02b90171bfc1f338e04206b3e85506abb047268 | refs/heads/main | 2023-02-25T08:24:16.994159 | 2021-01-28T09:44:52 | 2021-01-28T09:44:52 | 333,711,973 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 237 | ino | #include <IRremote.h>
IRrecv recv(7);
decode_results res;
void setup() {
Serial.begin(9600);
recv.enableIRIn();
}
void loop() {
if (recv.decode(&res)) {
Serial.println(res.value, HEX);
recv.resume();}
delay(100);
}
| [
"75620983+alichbouki@users.noreply.github.com"
] | 75620983+alichbouki@users.noreply.github.com |
bb3c83a1825d327873412ee947527cbcf3376a54 | fa4232a6eadc3406a21994d851ef6731780e6cac | /src/Merge k Sorted Lists.cpp | dd8c5243bc2ab1d90ba4b9b1b2777c50d68c3835 | [] | no_license | freezer-glp/leetcode-submit | 8244bfcda0729bd24218e94a5fd8471763373ac0 | e3e8ff335b86a039df6ca2e5a9e7ed3ca8a05eb0 | refs/heads/master | 2021-09-20T09:03:00.515440 | 2021-09-09T14:20:22 | 2021-09-09T14:20:22 | 26,519,223 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,469 | cpp | /*Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity.
Subscribe to see which companies asked this question
Hide Tags Divide and Conquer Linked List Heap
Show Similar Problems
*/
/**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNod... | [
"gonglingpu@foxmail.com"
] | gonglingpu@foxmail.com |
7ac6abc13452e9e15dde1c87daaf288cc1ff26b4 | 083311d8a7c0d9c53400afd9b07d9c665355b129 | /DeberCxSerial2.ino | 3835e3de402e5e5a3636705462194be11b3ef7ea | [] | no_license | Pazz2597/SistemasMicroprocesadores | e54b344f6df0ceda1dd101a1d8c3728c379f8d0a | 1b105b5a4e966bd5791e5294e55c569a96254db7 | refs/heads/master | 2020-04-02T15:58:54.085118 | 2019-01-28T15:52:42 | 2019-01-28T15:52:42 | 154,592,635 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,195 | ino | /*
* UTN/FICA-CIERCOM/SISTEMAS MICROPROCESADOS
* PAUL ZURITA
*
* Estimados estudiantes realizar un sistema que permite determinar el número de vocales dentro de una palabra
*
*/
//DECLARACION DE VARIABLES
int i=0;//variable de recorrido 1
int j=0; //variable de suma de vocales
int vecl=0; //tamano del vector
... | [
"44450628+Pazz2597@users.noreply.github.com"
] | 44450628+Pazz2597@users.noreply.github.com |
2d0dea74eff5f1aafbf4d3266ecb269347b42062 | 4936a942960b4a547ad0585805f14dc6677b956a | /Udp_server_basic/UDPServer/server.h | f32040625122d7ecbe0a75b7007a47dde5ab13ed | [] | no_license | Hexlord/study_UDP_raw_cpp_ClientServer | cd1ae87ccaae1ae8c2770be28915133863dcc609 | d683a528ec365ffb934c2f7a5a43ae0e6c07cff8 | refs/heads/master | 2022-04-07T23:25:15.909163 | 2020-01-23T17:05:32 | 2020-01-23T17:05:32 | 151,974,777 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 747 | h | #pragma once
#include "network.h"
#include <thread>
#include <mutex>
#include <iostream>
#include <atomic>
namespace sb
{
class Game_udp_server : public Udp_server
{
public:
Game_udp_server() = default;
Game_udp_server(Udp_address adress, Udp_config config, Udp_address* server_adress)
{
start(adress, config, s... | [
"nuttyrunner@gmail.com"
] | nuttyrunner@gmail.com |
c6f8d0a17acdbb42fd364b1cbb92a71f1c63a7d4 | 4a785cc4666aa3303715ec30e48b6887a8710cb9 | /src/common/PMC_Adapter_Proxy.h | 1ff62d3bd328ba8ebd672e1a1ad08770084916f3 | [] | no_license | xjsh2017/scan | cb7954d4891d7057a1e6edbc62b22cc2cd9c565a | 805e07f9d582bc19555de24be0b43ba4c0e9d5f9 | refs/heads/master | 2021-01-22T20:34:35.249239 | 2017-03-24T08:10:27 | 2017-03-24T08:10:27 | 85,329,535 | 0 | 1 | null | null | null | null | GB18030 | C++ | false | false | 6,221 | h | /********************************************************************
created: 2010/04/08
created: 8:4:2010 14:40
filename: PMC_Adapter_Proxy.h
file path: D:\WorkSpace\Tiger\工作区\开发\代码\mc_proxy
file base: PMC_Adapter_Proxy
file ext: h
author: rwp
purpose: 封装深圳分部的消息中心库(以DLL形式提供)支持按用户的要求启动不同模式的
服务,用于传递用户... | [
"benevo@163.com"
] | benevo@163.com |
5e54ad489b9aa9bf9a0779edde4c2edd7a445d90 | d6dde4ca75ebe792e2988411ce0e19a8a7488a70 | /src/isobmf/BaseParserFactory.cpp | 3760271cb9f6e09df206020301c47b4c45fd1038 | [
"MIT"
] | permissive | ianzag/mp4dump | 1a649b6f8f61bd98197b3fb62a0effbe51c1606b | 11a04400b3f59ba1f6c747bc23f5b4724028cf1d | refs/heads/main | 2023-02-21T04:12:04.354315 | 2021-01-17T14:21:29 | 2021-01-17T14:21:29 | 327,919,750 | 1 | 0 | MIT | 2021-01-14T17:45:39 | 2021-01-08T14:06:01 | C++ | UTF-8 | C++ | false | false | 2,592 | cpp |
#include "BaseParserFactory.h"
#include "IsoBmfUtils.h"
#include "ContainerBoxParser.h"
#include "FileTypeBoxParser.h"
#include "FreeSpaceBoxParser.h"
#include "MovieDataBoxParser.h"
#include "MovieHeaderBoxParser.h"
#include "MovieFragmentHeaderBoxParser.h"
#include "TrackHeaderBoxParser.h"
#include "TrackFragmentHea... | [
"ianzag@gmail.com"
] | ianzag@gmail.com |
37caf5e26088f5d7b60d4ad4e5ce938a50beaa90 | e0d9844e123fa0706388814b9f29758258589487 | /torch/include/torch/csrc/jit/tensorexpr/eval.h | c7ca80f3a8f8b321d9f8d09d81a8057d01f8389f | [] | no_license | pigpigman8686/seg | b5cf5261a5744e89ed5e5b145f60b0ccc3ba2c0c | 61c3816f7ba76243a872fe5c5fc0dede17026987 | refs/heads/master | 2023-04-10T22:22:35.035542 | 2021-04-22T06:24:36 | 2021-04-22T06:24:36 | 360,398,108 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,761 | h | #pragma once
#include <cmath>
#include <cstring>
#include <type_traits>
#include <unordered_map>
#include <vector>
#include <c10/macros/Macros.h>
#include <c10/util/Logging.h>
#include <c10/util/math_compat.h>
#include <c10/util/string_utils.h>
#include <torch/csrc/jit/tensorexpr/codegen.h>
#include <tor... | [
"952361195@qq.com"
] | 952361195@qq.com |
d9f23fd0c723af4edbcd524021a7aa0440d87d43 | 48342501c0dd7323c6eb57657cc9be8aa6bdc233 | /sample/main.cpp | 903ab2a2c440c5527502eaf9c24aac30be994645 | [] | no_license | cie-jp/swdf | 9d706f4f07493638df851dbb0f0d4eb76aebb0b2 | 6b7d851dc2a57f7eca91207a5c0bdd541baad527 | refs/heads/master | 2023-04-19T05:29:30.388547 | 2021-08-07T08:47:10 | 2021-08-07T08:47:10 | 384,628,476 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,182 | cpp | #include"CLDIA.h"
using namespace std;
using namespace CLDIA;
//CDFstatus CDFgetzVarRangeRecordsByVarID(CDFid id,long varNum,long startRec,long stopRec,void *buffer);
//
void cdfplot(const CHAR *zvarname,
const CHAR *filename){
TMatrix<DATA> variable;
TMatrix<DATA> depend_0;
TMatrix<DATA> depend_1... | [
"ota@cie.is.t.kanazawa-u.ac.jp"
] | ota@cie.is.t.kanazawa-u.ac.jp |
cbd5625f66039cde744151289785b6b80c70400e | 049f34c79a35d8b4e03a9fe7117856980add3877 | /project2/test_tree.cc | 1c185d131239b5b8c7e5fae3a47cd3c846d8e213 | [] | no_license | timzhen38/cs335-hw | 408850810edd3cdeb866857b095ee60a7b7c70c4 | 45223cfbe05e66ef2f240e616a0c1c9f988744a3 | refs/heads/main | 2022-12-28T04:49:50.269043 | 2020-10-15T04:50:24 | 2020-10-15T04:50:24 | 304,211,725 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 4,529 | cc | // Tim Zhen
// Main file for Part2(b) of Homework 2.
#include "avl_tree_p2b.h"
#include "sequence_map.h"
// You will have to add #include "sequence_map.h"
#include <iostream>
#include <fstream>
#include <sstream>
#include <string>
#include <math.h>
using namespace std;
namespace {
// searches the tree for each stri... | [
"noreply@github.com"
] | timzhen38.noreply@github.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.