blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
612c6ace0c4ecccdb027a2a25e194ccd9e1c133e | f6439b5ed1614fd8db05fa963b47765eae225eb5 | /chrome/browser/password_manager/password_store_factory.cc | 41c95ca6a6ec3ea2abec55a617b6ccded5634563 | [
"BSD-3-Clause"
] | permissive | aranajhonny/chromium | b8a3c975211e1ea2f15b83647b4d8eb45252f1be | caf5bcb822f79b8997720e589334266551a50a13 | refs/heads/master | 2021-05-11T00:20:34.020261 | 2018-01-21T03:31:45 | 2018-01-21T03:31:45 | 118,301,142 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,193 | cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/password_manager/password_store_factory.h"
#include "base/command_line.h"
#include "base/environment.h"
#include "base/prefs... | [
"jhonnyjosearana@gmail.com"
] | jhonnyjosearana@gmail.com |
140deec929ac3e2b4d22fa47fa36643f1de051fe | 319f334b87d858345c533a5c6d3f3a08cec5320b | /chapter01/ex12.cpp | 8ff1e460d34c3800c144f214759f9fea9bb2538c | [] | no_license | katokun1001/C-Primer | d638cbdda2f12d58fb51ef74ba286af298c60c11 | e8cf6222abef907e05b5db590676739716f1e36b | refs/heads/master | 2020-08-31T05:00:01.990978 | 2017-06-16T21:59:30 | 2017-06-16T21:59:30 | 94,392,294 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 122 | cpp | #include<iostream>
int main(){
int sum = 0;
for (int i = -100; i<=100; ++i)
sum+=i;
std::cout << sum << std::endl;
}
| [
"amornsita@yahoo.com"
] | amornsita@yahoo.com |
0baa7ac94f96731a3efa3aaf8f3e52a27f65b2e5 | aa9e987219e9eec48828a73bbde0144d43c306ec | /shaders.h | 71daaa59c3161b93e76fbb43bf7e3454a32be18a | [] | no_license | tsleyson/Graphics-4-City-Scene | 317b9ffe297ef62aba261b68766435d9aee9d1c4 | 27660fb183cbb9c34856f4d49191ffad0a93344f | refs/heads/master | 2020-04-07T11:39:34.771168 | 2013-06-09T04:38:13 | 2013-06-09T04:38:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 184 | h | #include <string>
std::string read_shader(const char * filename);
void print_info_log(unsigned int obj);
void init_shaders(std::string vert, std::string frag, unsigned int& program);
| [
"tsleyson@ucdavis.edu"
] | tsleyson@ucdavis.edu |
cf1d798feeab36261f25965f65cf9897f1a309aa | 1a3ba93e2e6a1c504f09d6da7b0aaac9b5386f41 | /tests/raii_adapter.cpp | 7833ed5dd19e28127abcacdbe639f405c0cfceb2 | [
"MIT"
] | permissive | YarikTH/return_adapters | 50cfb58d784d66b53147831ef32c583148e2a0ae | 052fc7681b7cc262dde051a3f42c264072208f9b | refs/heads/master | 2023-03-28T09:45:27.935626 | 2020-09-02T05:35:24 | 2020-09-02T05:35:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,845 | cpp | #include "catch2/catch.hpp"
#include "return_adapters/raii_adapter.h"
#include "test_utils.h"
#include <cassert>
using namespace return_adapters;
namespace
{
struct Resource
{
Resource( bool& is_destructed ) : _is_destructed( is_destructed )
{
assert( !is_destructed );
};
bool& _is_destructed;
};
struc... | [
"voivoid@mail.ru"
] | voivoid@mail.ru |
1f7291e2dc4d26b4cfc6b4584c8c384d3afd282f | d06856e6c22e37bb86856daa47cb7b51da78d698 | /Source/WebKit/chromium/src/WebRuntimeFeatures.cpp | de6cda186ff4eb7660a974a3d411b83531f30e56 | [
"BSD-2-Clause"
] | permissive | sfarbotka/py3webkit | 8ddd2288e72a08deefc18a2ddf661a06185ad924 | 4492fc82c67189931141ee64e1cc5df7e5331bf9 | refs/heads/master | 2016-09-05T17:32:02.639162 | 2012-02-08T15:14:28 | 2012-02-08T15:14:28 | 3,235,299 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,042 | cpp | /*
* Copyright (C) 2009 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditio... | [
"z8sergey8z@gmail.com"
] | z8sergey8z@gmail.com |
26566b446421b9c4b72abd317243d181dade1547 | 12ed83c96f38889cf5e81d02d83e96f82a7ea273 | /src/IO/S3/AWSLogger.cpp | 48c30ccf88131d4e4bfeee376641606520674c20 | [
"Apache-2.0"
] | permissive | wangzhen11aaa/ClickHouse | 033f0bcca126b798fe2bab593b29dd3e25f8542e | a7db8d1d71f15dbbc9b5490c147913334fd006b9 | refs/heads/master | 2023-04-16T05:54:54.238993 | 2023-04-10T04:25:51 | 2023-04-10T04:25:51 | 204,945,732 | 2 | 0 | Apache-2.0 | 2022-02-11T06:32:58 | 2019-08-28T14:03:07 | C++ | UTF-8 | C++ | false | false | 2,744 | cpp | #include <IO/S3/AWSLogger.h>
#if USE_AWS_S3
#include <aws/core/utils/logging/LogLevel.h>
namespace
{
const char * S3_LOGGER_TAG_NAMES[][2] = {
{"AWSClient", "AWSClient"},
{"AWSAuthV4Signer", "AWSClient (AWSAuthV4Signer)"},
};
const std::pair<DB::LogsLevel, Poco::Message::Priority> & convertLogLevel(Aws::Ut... | [
"antonio@clickhouse.com"
] | antonio@clickhouse.com |
f4d5ece6b1310a79c69af7d796d13393b82385a2 | 3b3ac5c67ab3fa8317227116b379d6214f864ae6 | /include/wheel_module_audio.h | 9784f5f5820e1be37014b03765e64ea4eb7f4c89 | [
"MIT"
] | permissive | ronchaine/wheel | dfc399655517982035562c3497c5e77de6fe7943 | be0471f2d5aba0201ff1520712fd62dc96516734 | refs/heads/master | 2020-04-06T06:55:54.291907 | 2016-08-31T10:54:41 | 2016-08-31T10:54:41 | 8,633,920 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 817 | h | /*!
@file
\brief General audio interface
\author Jari Ronkainen
*/
#ifndef WHEEL_MODULE_AUDIO_INTERFACE_H
#define WHEEL_MODULE_AUDIO_INTERFACE_H
#include "wheel_core_module.h"
namespace wheel
{
namespace interface
{
//! Interface for audio modules
class Audio : public Module
{
... | [
"ronchaine@gmail.com"
] | ronchaine@gmail.com |
9e7006b34f27ae35c778a57e19f013ce7b962318 | 2d008a7810f69f6dcf3f6c2943f9125cedcfb452 | /WavToMfcc.h | c0e6e4854310ac89bc768488e313c5dd19028b27 | [] | no_license | Yuuon/DTW_CPP | d5e24428cdca251a87123580ea7f376b031abd86 | ab53ef8c2719a26f58c3fd4d22d141166c855cb4 | refs/heads/master | 2021-03-27T12:37:07.009689 | 2016-11-21T13:34:53 | 2016-11-21T13:34:53 | 74,005,818 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,108 | h | /*******************************************************************************
*
* Drone control through voice recognition -- PC to drone communication
* Team GYTAM, feb. 2016
*
* @author Tom Lucas
*
******************************************************************************/
#pragma once
#include ... | [
"yuuon.himemiya@gmail.com"
] | yuuon.himemiya@gmail.com |
f69e8fd0e84448473509f585fa3b8bde8a392647 | c31d21622bddca33ca7479d790f513a02f5b5682 | /lmath.cpp | 9d6a1b529a8cb76e7439ddeabfe019ebd215943e | [] | no_license | Slenderchat/lmath | 2210a18b796bf6365d89afe876ee679f522e7dd7 | d40f508685e0635cdba4d6df573d61382d7bd769 | refs/heads/master | 2021-09-21T02:03:12.984735 | 2018-08-19T06:03:23 | 2018-08-19T06:03:23 | 145,270,156 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,380 | cpp | #include "lmath.h"
//region Constructors
lint::lint() {
this->num.push_back(0);
}
lint::lint(lint *x) {
this->num = x->num;
}
lint::lint(const char *x) {
string s = x;
for (int i = static_cast<int>(s.length()); i > 0; i -= 19) {
if (i < 19) {
this->num.push_back(strtoull(s.substr... | [
"steeplike@gmail.com"
] | steeplike@gmail.com |
f4d46da6b214c538375993c9b3fed1bed35b1154 | df5f010740f23be860590f6ea157f7896bdaf8ca | /src/luanode_datagram_udp.h | 0b135afe76098580268d2e1765d4f7c84a981f02 | [
"MIT"
] | permissive | CoolisTheName007/LuaNode | 995c48cd058c03b29158f2a280b19c8aeed7c45c | dae58cd7d239a9a39d0adc09ad749105b809fd70 | refs/heads/master | 2021-01-18T10:23:14.864755 | 2012-09-30T00:07:07 | 2012-09-30T00:07:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,384 | h | #pragma once
#include "../deps/LuaCppBridge51/lcbHybridObjectWithProperties.h"
#include <boost/asio/ip/udp.hpp>
#include <boost/asio/streambuf.hpp>
#include <boost/shared_ptr.hpp>
#include <boost/enable_shared_from_this.hpp>
#include <boost/array.hpp>
namespace LuaNode {
namespace Datagram {
void R... | [
"ignaciob@inconcertcc.com"
] | ignaciob@inconcertcc.com |
a877b52ce8a52dedd41d955661388a1e28fb4d1c | 0419f4224114faf596a6ec552a1ed331eb0fefdc | /Practical4/p2.cpp | 9e7663818414a8caf7447306e28805693bd70c0a | [] | no_license | ayushgupta0110/OS-Practicals | a4b0ed26536c24d5f39a818ac545d52a184c61da | 093169099c3e8bc9d00ec7c861a588bc7f0b3c1d | refs/heads/main | 2023-09-05T21:00:29.729200 | 2021-11-22T13:45:35 | 2021-11-22T13:45:35 | 407,865,945 | 0 | 1 | null | 2021-10-16T12:09:04 | 2021-09-18T13:20:04 | C++ | UTF-8 | C++ | false | false | 193 | cpp | #include <stdio.h>
#include <unistd.h>
int main()
{
/* fork a child process */
fork();
/* fork another child process */
fork();
/* and fork another */
fork();
sleep(10);
return 0;
}
| [
"ayushgupta747492@gmail.com"
] | ayushgupta747492@gmail.com |
ef509cf863d8ad0e9d03281b6a889e6a93e45945 | 382b7da013c1d176a71b6edce14936aca027dec5 | /RenduUML-3201-3209/Objets/Capteur.cpp | deab61e588f5d7e87c8a6704a3a6d117a15517ea | [] | no_license | SebGoll/ProjetUML | 8a9d3d7fb1213dffe0db393616e0f87b4e43e5d9 | e3f61f35927b00e3fc45d7b2db839eb747fb1205 | refs/heads/main | 2023-05-13T13:25:38.215286 | 2021-06-04T15:54:44 | 2021-06-04T15:54:44 | 365,221,932 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,865 | cpp | /**
* Objet Capteur
* @file Capteur.cpp
* @author ABHAY Annie, GOLL Sebastien, HASENFRATZ Louis, NGOV Sophanna
*/
#include "Capteur.h"
#include <cmath>
Capteur::Capteur() {
this->id = 0;
this->latitude = 0.0;
this->longitude = 0.0;
this->fiable = true;
}
Capteur::~Capteur() {
}
Capteur::Ca... | [
"59894122+lhasenfrat@users.noreply.github.com"
] | 59894122+lhasenfrat@users.noreply.github.com |
484ab53a2328d9c5a12bf098c246be198417a2f4 | 428989cb9837b6fedeb95e4fcc0a89f705542b24 | /erle/ros2_ws/build/rcl_interfaces/rosidl_typesupport_opensplice_cpp/rcl_interfaces/srv/dds_opensplice/Sample_SetParameters_Request_Dcps.h | 87a3c5ebccb7ed14b6be9996f8d7b92db84edbb8 | [] | no_license | swift-nav/ros_rover | 70406572cfcf413ce13cf6e6b47a43d5298d64fc | 308f10114b35c70b933ee2a47be342e6c2f2887a | refs/heads/master | 2020-04-14T22:51:38.911378 | 2016-07-08T21:44:22 | 2016-07-08T21:44:22 | 60,873,336 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 15,764 | h | //******************************************************************
//
// Generated by IDL to C++ Translator
//
// File name: Sample_SetParameters_Request_Dcps.h
// Source: /home/erle/ros2_ws/build/rcl_interfaces/rosidl_typesupport_opensplice_cpp/rcl_interfaces/srv/dds_opensplice/Sample_SetParameters_Request_Dcp... | [
"igdoty@swiftnav.com"
] | igdoty@swiftnav.com |
fd9367baf6174b704d1c4a56cfc7f9ddfde7dc6a | 74264c0b50a9447ec608bfb9a03c2bf5bc8e57e5 | /lab03/car/Car.cpp | f1970107f3a57325743ccd9ea91f2df6db9a6b56 | [] | no_license | col3name/oop | e7c09f6e60336c4332395fd2708b6b4d2954c0c7 | f76d6304631fc9778e898aa8d5375f4d279ac5aa | refs/heads/master | 2022-02-28T16:52:53.698029 | 2019-09-01T00:57:04 | 2019-09-01T00:57:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,200 | cpp | #include "stdafx.h"
#include "Car.h"
bool CCar::IsTurnedOnEngine() const
{
return m_turnedOn;
}
int CCar::GetSpeed() const
{
return std::abs(m_speed);
}
Gear CCar::GetGear() const
{
return m_gear;
}
std::string CCar::GetDirectionMovement() const
{
if (m_speed == 0)
{
return "not moving"... | [
"ya.mikushoff@gmail.com"
] | ya.mikushoff@gmail.com |
457331362e25df88dcd4205089bf6a97d3eec915 | 402910c154417b1eb08b4209554b97e0461a0ced | /packages/drafter/src/SourceMapUtils.cc | 780ca9cf0dedc9c1fb054dfc0548046ec9cabf0d | [
"MIT",
"BSL-1.0"
] | permissive | apiaryio/drafter | b5010628384e9420fcc516aded9eb5a046589102 | 8d77123fff15b606e08d6608cdea856530e550a2 | refs/heads/master | 2023-08-21T14:44:59.802478 | 2023-07-29T15:30:32 | 2023-07-29T15:30:32 | 30,541,396 | 328 | 85 | MIT | 2023-07-31T09:13:42 | 2015-02-09T15:05:57 | C++ | UTF-8 | C++ | false | false | 2,159 | cc | #include "SourceMapUtils.h"
#include <algorithm>
#include "utils/Utf8.h"
#include <iostream>
namespace drafter
{
const AnnotationPosition GetLineFromMap(const NewLinesIndex& linesEndIndex, const mdp::Range& range)
{
// Finds starting line and column position
AnnotationPosition out;
i... | [
"kratochvil@klok.cz"
] | kratochvil@klok.cz |
167569f5e3e6a2d772c831182f32ef8790207cc6 | 719217b1b6b59b6934bb1558c62b3a77011a5a08 | /geant/src/test/root.cc | dadc685890142af49ec51b8a9ee4c6018a379194 | [] | no_license | HEP-KBFI/genSun | 09797dbfdaea0505d14da8b4785ad8d7b549d84e | 7197f3af041d5925fdbe0889791f6b35cdd65c40 | refs/heads/master | 2016-09-06T09:22:03.961579 | 2014-05-02T14:12:31 | 2014-05-02T14:12:31 | 7,684,005 | 0 | 1 | null | 2013-08-14T13:51:21 | 2013-01-18T09:31:03 | C++ | UTF-8 | C++ | false | false | 596 | cc | #include <iostream>
#include "TRandom.h"
#include "TFile.h"
#include "TDirectory.h"
#include "TH1F.h"
using namespace std;
bool p_quiet = false;
int main() {
TRandom *rnd = new TRandom(time(0));
TH1F h1("unit", "", 20, 0, 1);
TH1F h2("real", "", 50, -5, 5);
//h.SetDirectory(&dir);
for(int i=0; i<10000; i++) ... | [
"morten.piibeleht@gmail.com"
] | morten.piibeleht@gmail.com |
cfa14ed9a1ca0acc9efd29451d39bc4419877885 | 6fbf7d4855a0639eb57d37eb4a02758fc137e77e | /ModuleAlgorithm/src/implement/decomposer/DummyGateDecomposer.cpp | c15b7182ebeaedc0ccc4fd726247fe3d91c4eade | [] | no_license | wws2003/Research | f9abb8ea7acd98ed829f23a39cb05a80d738bb6d | 3c839b7b35ddfcc5373f96808c3dc7125200da94 | refs/heads/master | 2020-04-06T07:04:28.103498 | 2016-08-10T06:18:04 | 2016-08-10T06:18:04 | 33,717,928 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 210 | cpp | /*
* DummyGateDecomposer.cpp
*
* Created on: Oct 18, 2015
* Author: pham
*/
#include "DummyGateDecomposer.h"
#include "DummyElementDecomposer.cpp"
template class DummyElementDecomposer<GatePtr>;
| [
"pham@apecsa-indonesia.com"
] | pham@apecsa-indonesia.com |
6d5df60cd365801df2867463e227b761c043dcb7 | e80c5a2c5db97e5e6191cac5b68d23b73636c2ac | /spring2016/NLP/Assignments/Assignment_2/tools/openfst-1.5.1/src/include/fst/memory.h | 03b310f22d354d1183e63a3f6f529e9225a30595 | [
"Apache-2.0"
] | permissive | batu/codex | e2bdfbe8d0a6e86d21c6caedea80ac6375e000dc | 35171929dec936810b8994cc476f205b8af5adb6 | refs/heads/master | 2021-01-17T07:00:16.055807 | 2016-12-09T22:52:22 | 2016-12-09T22:52:22 | 51,299,933 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,481 | h | // See www.openfst.org for extensive documentation on this weighted
// finite-state transducer library.
//
// FST memory utilities.
#ifndef FST_LIB_MEMORY_H__
#define FST_LIB_MEMORY_H__
#include <list>
#include <memory>
#include <utility>
#include <fst/types.h>
#include <fstream>
namespace fst {
//
// MEMORY ALLOC... | [
"ba921@nyu.edu"
] | ba921@nyu.edu |
c831772127194016f75c38346569cfee2cef772a | b8effe11d7e93de6241787e74411abb25bb980cc | /new_foo.cpp | fbb908f2d5afcd3d5a4b6d28f4c767a224d2b3a6 | [] | no_license | AidarAlimbayev/training_cpp | 2fd1eafbacf3303343d2ea1d840185b7f1a63b03 | 179e99b6cec830d22267e579de1344998d0354f3 | refs/heads/master | 2021-05-12T01:09:14.664738 | 2020-03-25T05:23:01 | 2020-03-25T05:23:01 | 117,553,014 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 554 | cpp | #include <iostream>
#include <vector>
using namespace std;
int main() {
int n;
cin >> n;
vector <int> a;
//считывание
for (int i = 0; i < n; i++) {
int temp;
cin >> temp;
if (temp > 0) {
a.push_back(temp);
}
}
//обработка и вывод
int num_min =... | [
"transcription@rambler.ru"
] | transcription@rambler.ru |
49e2bea2135e8da4342a2d33e67384f3312da780 | 41383bfbe38eef928c1cd1cebc2232eb49be85f9 | /cldc/src/vm/share/ROM/BinaryObjectWriter.cpp | 3b15b21a4cd5a08c9af0526a2c7a3a5828594917 | [] | no_license | ruitaomu/pspkvm | d208d608f667fd64238b00f25b403177e14c739a | 9f68194f987ff038d35409f4d386598025600ef0 | refs/heads/master | 2021-03-27T11:49:53.137601 | 2011-09-03T16:48:34 | 2011-09-03T16:48:34 | 60,471,263 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,031 | cpp | /*
*
*
* Copyright 1990-2007 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License version
* 2 only, as published by the Free ... | [
"max_mu@2af63af8-f945-0410-af61-887fe020137e"
] | max_mu@2af63af8-f945-0410-af61-887fe020137e |
77c1a17f277ed932ff5f7e24a81712a6c5ec9183 | 582c16eadadb75506cddb7a62e4b347e675684d1 | /src/Professor.cpp | a135d22efce1b010042de15da3d3c639a327de61 | [] | no_license | BrunoJpng/Projeto-ATAL | 0f61364627a9df40a2215ff626355fa8de573dd5 | 84462bff477727e5ba3b0df2fc6056da25dbab27 | refs/heads/master | 2023-01-30T20:29:53.788849 | 2020-12-13T02:06:00 | 2020-12-13T02:06:00 | 319,504,438 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 360 | cpp | #include <Professor.h>
Professor::Professor(string Nome, int CargaHoraria) {
this -> Nome = Nome;
this -> CargaHoraria = CargaHoraria;
}
string Professor::getNome() {
return this -> Nome;
}
void Professor::setCargaHoraria(int CargaHoraria) {
this -> CargaHoraria = CargaHoraria;
}
int Professor::getCargaHora... | [
"brunoob14540@gmail.com"
] | brunoob14540@gmail.com |
f9a094a8506fe6c81f330056a37239b6e043e964 | d4ad87efd10b36c5919f9a413648a2d8e67d02b1 | /s9/a5.cpp | 01ba859ef9ee8de6abc140d2981547edffaeb6d9 | [] | no_license | Cetzcher/eprog | 647a1cff50377c730fecee7c79ed89a49c413182 | 95fc4e833b3e759d5b3d85527254d460631fc46c | refs/heads/master | 2020-04-01T18:34:22.341705 | 2019-01-22T13:08:05 | 2019-01-22T13:08:05 | 153,500,421 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,685 | cpp | #include "a5.hpp"
#include <ctime>
#include <iostream>
#include <cmath>
#include <unistd.h>
#include <iomanip>
using namespace std;
Stopwatch::Stopwatch() {
started = false;
}
void Stopwatch::startStop() {
if(started) {
// stop the clock here, calc time
end = clock();
} else {
sta... | [
"pierre.rieger.rcc@gmail.com"
] | pierre.rieger.rcc@gmail.com |
dbd07c2e154ab738fd2ed701e4c24be64fd2afb8 | 2eb2b8e4cab96c64747d98d60277c775a6903b36 | /arrayset.cpp | 8681daedcd95d6d6bb58f0953ebf5d42b6244b75 | [
"Apache-2.0"
] | permissive | Mohamed742/C-AIMS-SA-2018 | 271c7609b0fa8d47a9b8fe09aa66bee8f45839d7 | a59ba718872dfae0f8ee216b10dbb66db3e8a921 | refs/heads/master | 2020-04-11T07:24:19.938391 | 2019-02-07T15:45:03 | 2019-02-07T15:45:03 | 161,609,143 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 479 | cpp | #include <array>
#include <iostream>
//#include<bits/stdcc++.h>
using namespace std;
int main(int argc, char** argv)
{
//std::array<pair<int,int>,4 > a = {};
//int x,y ,w;
//cin>>x>>y>>w;
//a[x].push_back({x,y});
//a[y].push_back({w,x});
//std::cout << a.size() << std::endl; // 4
//for(auto i : a)
//std::cout<< i<<... | [
"mohameda@debmower_ajd"
] | mohameda@debmower_ajd |
cd5778b718920c8cf34fc1ec20156e150a15a1b0 | cebd786b7b893700d526bc9b5b001bc326043c9a | /STRING/12_BinaryStringWithEqual01.cpp | c6d76a5ad4b8f83d550f07759a496cdf6d0d93a2 | [] | no_license | Healer-kid/CODING | 2b2ff52d05c2376cb03c4f1bf62a3b545568eff4 | 76a4b2835a9897bae41db557553b8b52c90e37a7 | refs/heads/main | 2023-07-23T01:24:32.316712 | 2021-08-27T08:07:03 | 2021-08-27T08:07:03 | 349,797,195 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,158 | cpp | Split the binary string into substrings with equal number of 0s and 1s
Given a binary string str of length N, the task is to find the maximum count of substrings str can be divided into such that all the substrings are balanced i.e. they have equal number of 0s and 1s. If it is not possible to split str satisfying t... | [
"noreply@github.com"
] | noreply@github.com |
05272952db97cbb3cc5e1680d847dc085918bf00 | e29bf1dd6f59838864798128c265e798e417252c | /Object Oriented Programming/new and delete function.cpp | 71ad53cd32acb2a9c3cd2b205a4c70512c322c3f | [] | no_license | jps27CSE/C-PlusPlus-Programming- | 9367b18fd81aafa03d149ac8d6ac56cce4e2a5dd | 5a3936701013e9ddf846b8fff5e4a615c7c2b1ae | refs/heads/master | 2023-01-14T16:14:12.275666 | 2020-11-16T14:10:40 | 2020-11-16T14:10:40 | 275,437,175 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 263 | cpp | #include<iostream>
using namespace std;
int main()
{
int *p;
p=new int; // allocate room for an integer
if(!p)
{
cout<<"error";
return 1;
}
*p=100;
cout<<*p;
delete p; //release memory
} | [
"noreply@github.com"
] | noreply@github.com |
29f90d5ba911c1c0b3dd6245754826cbbb1ea225 | 38e2760e5687d7447f006179696b2ac695f9e346 | /traveltime.cc | 4c004ec4aff36255d508d515f19b8e5296c08238 | [
"MIT"
] | permissive | lehoangha/tomo2d_HeriotWatt | c96d735ec9eff3814064f7251b8ac1fe1dab036e | 48477115ed2455a8255521570e4e81ffe754be08 | refs/heads/master | 2021-01-10T08:37:27.282716 | 2015-10-02T12:31:24 | 2015-10-02T12:31:24 | 43,548,323 | 3 | 2 | null | 2015-10-04T08:18:14 | 2015-10-02T11:01:13 | C++ | UTF-8 | C++ | false | false | 7,017 | cc | /*
* traveltime.cc - travel time integration along a ray path
*
* Jun Korenaga, MIT/WHOI
* January 1999
*/
#include "traveltime.h"
#include "interface.h"
#include <iostream>
#include <fstream>
double calcTravelTime(const SlownessMesh2d& smesh,
const Array1d<Point2d>& path,
const BetaSpline2d& bs,... | [
"lehoangha.info@gmail.com"
] | lehoangha.info@gmail.com |
e96bebce15671c6e0b781184ddf25f35b3e82529 | eb39d58f56a84c42fda1b899459b02cbe2f6b399 | /CLASS CODES/Week7/Example1/Employee.cpp | 3be47da5a04a78835f8bf767d15087259b76e8e8 | [] | no_license | mousters/FM_CPP_1 | f680c7dea8a1da0ee497176aca1fca61b7397066 | be30c836d61bd4081e9a0418ce1e12bcf4f11a4d | refs/heads/master | 2022-04-22T13:57:10.709580 | 2020-04-12T02:27:53 | 2020-04-12T02:27:53 | 236,399,759 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 185 | cpp | #include "Employee.h"
#include <iostream>
Employee::Employee(string name, string email, string job)
: Person(name, email),
job_(job)
{}
string Employee::GetJob()
{
return job_;
} | [
"lolmousters@users.noreply.github.com"
] | lolmousters@users.noreply.github.com |
e59e4f331ca48e3c27706955df44f945fd65ac60 | 051211c627f63aa37cce1cf085bf8b33cd6494af | /EPI/EPI_bak/06_BinaryTrees/include/Binary_tree_utils.h | aad946fc968fef1c3eedcfbdeaf0bf4f71ea0bd9 | [] | no_license | roykim0823/Interview | 32994ea0ec341ec19a644c7f3ef3b0774b228f2c | 660ab546a72ca86b4c4a91d3c7279a8171398652 | refs/heads/master | 2020-03-24T02:37:01.125120 | 2019-11-19T05:25:15 | 2019-11-19T05:25:15 | 139,811,693 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,487 | h | // Copyright (c) 2013 Elements of Programming Interviews. All rights reserved.
#ifndef SOLUTIONS_BINARY_TREE_UTILS_H_
#define SOLUTIONS_BINARY_TREE_UTILS_H_
#include <limits>
#include <list>
#include <memory>
#include <random>
#include <string>
#include <vector>
#include "Binary_tree_prototype.h"
using std::default... | [
"roykim0823@gmail.com"
] | roykim0823@gmail.com |
bb1e8e08c391449a139f05494807f0deee678eaa | 36597ca6d8b08baaef52cddf46bca3d13f0a97a5 | /Plugins/Core/src/ImgProc/Blur.hpp | 0d10634fe700a9a64442634fcfb7aa78d7c8ac22 | [
"BSD-3-Clause"
] | permissive | Essarelle/EagleEye | 169f3ce17d1a6ae298a3b764784f29be7ce49280 | 341132edb21b4899ebbe0b52460c4e72e36e4b6d | refs/heads/master | 2020-02-27T21:55:27.725746 | 2017-10-10T06:28:23 | 2017-10-10T06:28:23 | 101,608,078 | 1 | 1 | null | 2017-09-05T06:46:26 | 2017-08-28T05:47:15 | C++ | UTF-8 | C++ | false | false | 558 | hpp | #pragma once
#include <Aquila/nodes/Node.hpp>
#include <Aquila/types/SyncedMemory.hpp>
#include "Aquila/rcc/external_includes/cv_cudafilters.hpp"
namespace aq
{
namespace nodes
{
class MedianBlur: public Node
{
public:
MO_DERIVE(MedianBlur, Node)
INPUT(SyncedMemory, input, nullptr)
... | [
"dtmoodie@gmail.com"
] | dtmoodie@gmail.com |
9be54aeec56a8cec51a85adb4d67cce797ba8d21 | ccfb6c1fb542b5ad3251c8c01fb23b714efbe10a | /Roguemon/Tile.hpp | 002802a0885f3cfd4e473af29d92c0bacb147fa1 | [] | no_license | guidolippi94/Roguemon | d2e396cd2182bc5484964e4217af71aa37c9ad35 | e57f1f9e8e730106f69fe79e081184b2d9622a6c | refs/heads/master | 2021-01-10T11:00:03.046345 | 2016-03-31T21:57:56 | 2016-03-31T21:57:56 | 54,490,193 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 123 | hpp |
#ifndef Tile_hpp
#define Tile_hpp
#include <stdio.h>
class Tile {
public:
};
#endif /* Tile_hpp */
| [
"francesco.pegoraro@hotmail.it"
] | francesco.pegoraro@hotmail.it |
66b720507701029c227834cab10b74a8b24ff0a3 | e4e9f5330b0bcffe5953f6706c8825220a6da732 | /Advanced/PAT-Advanced-99.cpp | cbe08661db40f80ae5ef853e21053d2ea461837f | [] | no_license | sandexp/Pat-Algorithm | b8a76aeaae6277430e01cdeeeb8e8960b4cebdaa | f8f94bf472942e9c33e5824be56ad0292ff1d05f | refs/heads/master | 2022-03-29T18:33:52.031320 | 2020-01-15T17:09:01 | 2020-01-15T17:09:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,833 | cpp | #include <iostream>
#include <cstdio>
#include <vector>
#include <algorithm>
#include <map>
using namespace std;
/*
考虑不全面
考虑n1<n2的两个日期
TODO 通过从n1加到n2的方式来计算话费
*/
struct Node{
string name;
int mon;int day;int h;int m;
string sta;
void show(){
cout<<name<<" "<<mon<<":"<<day<<":"<<h<<":"... | [
"XieYunfei0921@126.com"
] | XieYunfei0921@126.com |
5deb10c00676e5eede52c56c4ae2daed725474d1 | 8043662a3181b2352e80632af62be294997395d6 | /hw6/insertion_sort.h | bc41ab126a05076de5ab9854cc8156f92f3275d7 | [] | no_license | rcrocomb/old_classwork_cs345_data_structures | 4661aad65dd8dd2caba6623e180932ef8b284324 | 49162266795802ba9e8c87884f22da3ff7e75207 | refs/heads/master | 2020-04-15T04:50:56.877887 | 2019-01-07T08:21:47 | 2019-01-07T08:21:47 | 164,398,410 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 259 | h | #ifndef INSERTION_SORT_H
#define INSERTION_SORT_H
#include "sort.h"
class insertion_sort
{
public:
static void sort(svector &v) { sort(v, 0, v.size() - 1); }
static void sort(svector &v, const int l, const int r);
};
#endif // INSERTION_SORT_H
| [
"rcrocomb@ieee.org"
] | rcrocomb@ieee.org |
b96ca4227b6c95d84c5f26d5256420e8893f26d7 | 0a5058bff1961f6564c662224362995ee8fa3944 | /components/viz/service/display/display_perftest.cc | 8cf41d8418825b23868817498b13f0d35b0b0f08 | [
"BSD-3-Clause"
] | permissive | DongKai/chromium | d0208df711d2bad1e4324ca3b10a261c336758a0 | b7bb401aedab4fbe5af173a5baeaf91c8dbe726a | refs/heads/master | 2022-12-05T17:16:47.586163 | 2020-09-02T23:37:00 | 2020-09-02T23:37:00 | 292,435,006 | 0 | 0 | BSD-3-Clause | 2020-09-03T01:31:29 | 2020-09-03T01:31:28 | null | UTF-8 | C++ | false | false | 14,692 | cc | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <vector>
#include "base/bind.h"
#include "base/test/null_task_runner.h"
#include "base/time/time.h"
#include "base/timer/lap_timer.h"
#include "... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
2a24b2d21a3c39068cb61d1db364000ea4182580 | e7e86d516add424fe9f1b31060425e8b3f84c9d1 | /SmartyGLEngine/cFollowPathBehaviour.cpp | 6783788d8938f5560a36d247807ced4b3951ca43 | [] | no_license | kkerrigan/Game-Jam | b6beb984938ab30209b53b5c6d327deabb55d736 | b8173f9bd6b94036e8877beef73b9d4e3d5fd72e | refs/heads/master | 2020-12-28T06:50:28.605004 | 2020-02-04T15:34:15 | 2020-02-04T15:34:15 | 238,218,338 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,655 | cpp | /*
* Name: cFollowPathBehaviour.h
* Author: Daniel Maclam
* Date 2019-03-03 5:58 PM
*/
#include "cFollowPathBehaviour.h"
#include "cPathFinding.h"
cFollowPathBehaviour::cFollowPathBehaviour(): is_finished(false), current_node(0), direction(1)
{
}
void cFollowPathBehaviour::update(cEntity* entity, float delta_time... | [
"k.burnard@hotmail.com"
] | k.burnard@hotmail.com |
4498e9b14553f953a841e46063538d0f02f7451b | 37c155b31697c8bd9f9468f46c2a5d32e206d8f1 | /FinalEMG/filters_defs.h | a9d1fea24688741cda978ed735bf78a51e05effc | [] | no_license | choiyuuuna/SNUprosthetic | e84c5e5f865d9cff11ad20ed381c9143387c3b20 | 6146ebaf2d6cf18e8f7ddb17fc1fc1a437f507f9 | refs/heads/master | 2020-12-10T22:40:52.896813 | 2020-01-14T02:11:40 | 2020-01-14T02:11:40 | 233,733,304 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 568 | h | #pragma once
// #define LIBFILTER_USE_DOUBLE
#ifndef LIBFILTER_USE_DOUBLE
typedef float float_t;
typedef int int_t;
#else
typedef double float_t;
typedef int64_t int_t;
#endif
namespace IIR {
const uint8_t MAX_ORDER = 5;
enum class ORDER : uint8_t { OD1 = 0, OD2, OD3, OD4 };//, OD5};
enum class TYPE : ui... | [
"chldbsk2220@naver.com"
] | chldbsk2220@naver.com |
30f195df05a7ceab9178175a4b138c64f4eb8a22 | 0014ad9d3279cbdc94e1b5249fb78e87799500f2 | /Graphs/Creating adjacency list normal way.cpp | 32bed29155a87a260576704530b0bcd4d61bcd65 | [] | no_license | bharat1234567/code | 874ef7c8196dea8b97f7d3037c32adddc81feb90 | 5032a76b2f0c2d21145f84bf939a915138c1a5a3 | refs/heads/master | 2021-01-09T05:53:39.670488 | 2017-07-06T14:36:37 | 2017-07-06T14:36:37 | 80,860,481 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,129 | cpp | #include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
using namespace std;
/*
for directly creating an adjacency list .. without graph datastructure this is another way!!
FYI here as you can see.. we can create multiple constuctors in a class.
*/
class node
{
private:
int va... | [
"bharatkumarmakhija14@gmail.com"
] | bharatkumarmakhija14@gmail.com |
16de9ccd25280e36cc3bce93c88041327c585a01 | ce29e9c78e854ef49b116e3b82703a083221ca04 | /system/v1.1/Interface.cpp | f8a1bb77a6127e118ea862a0ca2a31fc080d9f4c | [] | no_license | venkatarajasekhar/system | 2abb0b60a49701edeb2db7e567d924b6c49ab869 | 23c30cd23bff9c0827be91d3e82c9a27a4427008 | refs/heads/master | 2021-01-11T16:27:35.823940 | 2012-12-25T12:45:55 | 2012-12-25T12:45:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,092 | cpp | /*
* This file contains basic functions of Interface.
*
* by Qichen Pan.
*/
#include "util.h"
#include "lib.h"
int CM_Port = 0, TM_Port = 0;
char CM_IP[80] = "", TM_IP[80] = "";
char Source_Code_Path[512] = "", Program_Path[512] = "", Input_Path[512] = "";
int Device_Parameter = -1;
void* conn_to_TM(void*);
void... | [
"pan@ubuntu.(none)"
] | pan@ubuntu.(none) |
a9bfe49f332827933c0927d38d5a74dab1fc94b8 | f4d00a2c70fa9644e766ef219d0c4ecba6b55fec | /Vol1/problemaBus/problemaBus/Clientes.h | 426b46c614407367bef3bda12755ffa155228a0c | [] | no_license | dylandSteven/Ciclo-1-y-2 | bee06931584a97153a17e08d156d3bd813a0810d | a52795242bc3541971a9720e189b6c850f1e458f | refs/heads/master | 2023-01-31T18:30:56.653826 | 2020-12-16T04:03:14 | 2020-12-16T04:03:14 | 287,107,182 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 793 | h | #pragma once
#include"Cliente.h"
#include<iostream>
#include<string>
#include<vector>
#include"Autoh.h"
using namespace std;
typedef unsigned long us;
class Clientes {
private:
vector< Cliente*>arrcliente;
vector<Auto*>nue;
public:
Clientes() {}
void agregarCliente() {
string nombreaux;
us dniaux;
Client... | [
"stevendylandsaldana@gmail.com"
] | stevendylandsaldana@gmail.com |
65a0715dbe494fa5f31071e5844c090b5eec3070 | 8beed1350bdb7436fe52eaa3821699fdbdc6d8ed | /src/libs/data/pdzBase/_internal/DiagnosticItem.h | ac7dc48fbe618523d2a2e64cc5cbfe1ed1eca9f6 | [
"BSD-3-Clause"
] | permissive | eirTony/PixDeZ | 3b30b018b6eff5451018fa9dc6543ee6e3f5e97b | 6fa38bc7ee3245c83814c423d4158a0630871823 | refs/heads/master | 2021-01-01T05:14:51.862797 | 2016-04-24T08:46:23 | 2016-04-24T08:46:23 | 56,960,666 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,150 | h | #ifndef DIAGNOSTICITEM_H
#define DIAGNOSTICITEM_H
#include "../pdzBase.h"
#include <QtDebug>
#include <QDateTime>
#include <QList>
#include <QSet>
#include <QString>
class QFile;
class QFileInfo;
#include "../BasicId.h"
class PDZBASESHARED_EXPORT DiagnosticItem
{
public:
enum Command
{
BeginTest,
... | [
"tony.dyndez@gmail.com"
] | tony.dyndez@gmail.com |
fed99ee68e6ca748fba551577492a0d795268412 | 27d485637faabbc56ceee5e8d75cd23dc66acbcc | /native/physics3d/src/reactphysics3d/collision/shapes/TriangleShape.cpp | 8c01994a6e45d708e067bc4d07c3cc0d8c9f4827 | [] | no_license | d954mas/game-space-defender | 98d9d6b23279fd8fdae5e537e6e49649288007fa | ab208b9636882f990eb1325debec89fba94fcdeb | refs/heads/master | 2023-04-06T17:57:54.148986 | 2021-04-23T09:21:45 | 2021-04-23T09:21:45 | 356,860,283 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,252 | cpp | /********************************************************************************
* ReactPhysics3D physics library, http://www.reactphysics3d.com *
* Copyright (c) 2010-2019 Daniel Chappuis *
**************************************************************************... | [
"d954mas@gmail.com"
] | d954mas@gmail.com |
28aaf2f34db7b560144bde9f1b6a0c3cfe8455e4 | a859bb44c87946b12f07d5cc2d66a436ed3a5bde | /src/qt/intro.cpp | 20bed7e798da75fa1e8ad2aab4aeabc6c5f42677 | [
"MIT"
] | permissive | alex10819/snekcoin | d6d723da0ce7b4229ddc3facf966401d31674dff | 30a07ea888973c0e35dac4a9534ab04f33da2642 | refs/heads/master | 2021-06-28T11:01:22.460224 | 2017-09-16T03:09:14 | 2017-09-16T03:09:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,799 | cpp | // Copyright (c) 2011-2014 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "intro.h"
#include "ui_intro.h"
#include "guiutil.h"
#include "util.h"
#include <boost/filesystem.hpp>
#include ... | [
"dfran1991@gmail.com"
] | dfran1991@gmail.com |
74ea9d529f278b34598e550aa5f8a8ea3653fd1f | 296992b2ac454754ca15da53117aa07128ba54b4 | /BearScriptCtrls/Scribble Pad.cpp | 592b33d300872f210a088581dce2320eae1d9766 | [] | no_license | get-over-here/X-Studio | 0893e7edce4780caa4dfdbce84ba6af467863887 | 66ae0ed8c2e017e32d60de979abf44997511510e | refs/heads/master | 2022-10-22T22:27:11.495043 | 2020-06-11T15:30:16 | 2020-06-11T15:30:16 | 271,582,106 | 0 | 0 | null | 2020-06-11T15:29:45 | 2020-06-11T15:29:44 | null | UTF-8 | C++ | false | false | 2,968 | cpp | //
// Scribble Pad.cpp : Testing grounds
//
// NB: Best viewed with tab size of 3 characters and Visual Studio's 'XML Doc Comment' syntax colouring
// set to a colour that highly contrasts the 'C/C++ comment' syntax colouring
//
#include "stdafx.h"
/// ///////////////////////////////////////////////////... | [
"nicholas.crowley@gmail.com"
] | nicholas.crowley@gmail.com |
25de10823d746a216743d85ef043e1a85316ebd0 | ddf2a5c2288a53ebdb458936c9a898b0a6d49676 | /Client Lourd/DLL/Partie/PartieRapide.cpp | 670c528a5d75cec6e174d111b34fc6e82451ccb7 | [] | no_license | FelixLeChat/Projet-3-Informatique | 6e99a6f634d39eabe6b8216e9fbac236fc999553 | 0fcb2997c59c9858ccb3c1e2cd13a7c60ba9b506 | refs/heads/master | 2021-01-01T05:19:39.461193 | 2016-04-13T18:18:18 | 2016-04-13T18:18:18 | 56,165,237 | 2 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 12,504 | cpp | ////////////////////////////////////////////////////////////////////////////////////
/// @file PartieRapide.cpp
/// @author Nicolas Blais, Jérôme Daigle
/// @date 2015-03-17
/// @version 1.0
///
/// @addtogroup inf2990 INF2990
/// @{
////////////////////////////////////////////////////////////////////////////////////
... | [
"felixlrc21@gmail.com"
] | felixlrc21@gmail.com |
b4c0016d1ed3f2166672de030d0354b034e28b72 | 8ded7c00ee602b557b31d09f8b1516597a9171aa | /cpp/const_reference.cpp | 23aa6256b02122099b10e9492b53d5ea13dbbf31 | [] | no_license | mugur9/cpptruths | 1a8d6999392ed0d941147a5d5874dc387aecb34d | 87204023817e263017f64060353dd793f182c558 | refs/heads/master | 2020-12-04T17:00:20.550500 | 2019-09-06T15:40:30 | 2019-09-06T15:40:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 279 | cpp | #include <iostream>
#include <string>
void func (const std::string & s)
{
std::cout << "void func (const std::string & s)\n";
}
void func (std::string & s)
{
std::cout << "void func (std::string & s)\n";
}
int main(void)
{
std::string str("Vanderbilt");
func(str);
}
| [
"sutambe@5d8ea2c6-beef-6e74-2977-a7573b526670"
] | sutambe@5d8ea2c6-beef-6e74-2977-a7573b526670 |
9ba7b803a27292147f6dfd5cb92449c97fcebb4a | 1b9e23e600031b868c0609127c64c2a31504b4dd | /client_template/main.cpp | bd9847834d58d6870245cbef9acb139579497818 | [] | no_license | codders/hereos-installer | 4b79f0d5441e21ea9dd76dadc2ee8d794482044d | 84edd2357438676b4288a781e3fc5795454864ff | refs/heads/master | 2020-04-03T17:23:43.069719 | 2018-11-22T13:46:01 | 2018-11-22T13:46:01 | 155,442,791 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,925 | cpp | #include <iostream>
#include <memory>
#include <string>
#include <grpcpp/grpcpp.h>
#include "echo.grpc.pb.h"
using grpc::Channel;
using grpc::ClientContext;
using grpc::Status;
using echo::EchoRequest;
using echo::EchoReply;
using echo::Echo;
class EchoClient {
public:
EchoClient(std::shared_ptr<Channel> channel... | [
"arthur.taylor@here.com"
] | arthur.taylor@here.com |
217726755b5b995b7c08db3cf75a35f58c332ee3 | 494912fbd6b2d147b7ea6b2d1bbc7333f174aec6 | /include/port.hpp | 23a46b2f5702f94d59084081769892060285114e | [] | no_license | bmacneil/processor | 51634de4dd66cdf0573eb02d7863a945edd2192e | a4a7bdbce1647da56e15f4bf13ee03448771d0cd | refs/heads/master | 2020-03-09T21:04:31.952262 | 2018-04-11T00:21:13 | 2018-04-11T00:21:13 | 129,000,362 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 756 | hpp | #ifndef PORTS_H
#define PORTS_H
#include "VProcessor.h"
#include "verilated.h"
#include <verilated_vcd_c.h>
#include <iostream>
#include <string>
#include <bitset>
struct OUTPUT_PORT {
VProcessor *m_core;
std::string version = "v1.0";
bitset < 1 > o_memwrite; // MSBF
bitset < 32 > o_Address; ... | [
"brad.macneil5@gmail.com"
] | brad.macneil5@gmail.com |
ab7cf420807115a31d0fed9a03b93c5c128787a4 | aac54dda8e3334c0f3839c1ab293c43ca6a6563a | /external/clipp/examples/timing.cpp | 15f05d15ebad7e0eb26a9d3fbb560d6a6046cd36 | [
"GPL-3.0-only",
"MIT"
] | permissive | black-sat/black | beecb287bd759d972cde3d48716e51a454ce455e | 79bebc2468b174f132ea4464ee1eac1e74f99463 | refs/heads/master | 2023-06-27T15:35:06.392733 | 2023-04-26T14:01:36 | 2023-04-26T14:01:36 | 174,530,006 | 12 | 5 | MIT | 2023-06-08T12:17:47 | 2019-03-08T11:58:05 | C++ | UTF-8 | C++ | false | false | 1,222 | cpp | /*****************************************************************************
*
* demo program - part of CLIPP (command line interfaces for modern C++)
*
* released under MIT license
*
* (c) 2017-2018 André Müller; foss@andremueller-online.de
*
******************************************************************... | [
"noreply@github.com"
] | noreply@github.com |
7a2eabe77e0e1459386630d38f6f7b8a6b7fc9ba | 5bedc81b358597ca6ebe916f29bf2360c4f87049 | /IO.h | 8c3a672e41853afb7b2fa4d22abb8c91a43f36eb | [] | no_license | tjwudi/kruskal-algorithm | 7819ecd8e2354ff4bedd6f1acdbbf68a413fb820 | 059e579d574678a3e5656545885f9a771f70134b | refs/heads/master | 2021-01-23T17:18:46.176280 | 2014-07-15T06:30:14 | 2014-07-15T06:30:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 195 | h | #include <string>
using namespace std;
#ifndef IO_H
#define IO_H
class IO {
public:
static void greet();
static string prompt(string message);
static void put(string message);
};
#endif | [
"webmaster@leapoahead.com"
] | webmaster@leapoahead.com |
6325a7a433e8afc4d39ad286c8447fe3ef08a02b | 184180d341d2928ab7c5a626d94f2a9863726c65 | /issuestests/AGread/inst/testfiles/interpolate_IMU/interpolate_IMU_DeepState_TestHarness.cpp | 1bdc3bec9b12c1f1f5a8ab1a5411c984e2640bc9 | [
"MIT"
] | permissive | akhikolla/RcppDeepStateTest | f102ddf03a22b0fc05e02239d53405c8977cbc2b | 97e73fe4f8cb0f8e5415f52a2474c8bc322bbbe5 | refs/heads/master | 2023-03-03T12:19:31.725234 | 2021-02-12T21:50:12 | 2021-02-12T21:50:12 | 254,214,504 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,248 | cpp | #include <fstream>
#include <RInside.h>
#include <iostream>
#include <RcppDeepState.h>
#include <qs.h>
#include <DeepState.hpp>
NumericVector interpolate_IMU(NumericVector original_samples, int target_frequency);
TEST(AGread_deepstate_test,interpolate_IMU_test){
RInside R;
std::cout << "input starts" << std::endl... | [
"akhilakollasrinu424jf@gmail.com"
] | akhilakollasrinu424jf@gmail.com |
563c6b42c892240e84299efea8506370560bc977 | e66c546edec32cf45c440f19618e07f6247b5f39 | /MoldMachine/MoldMachine/xmlFileSetting.cpp | 70806dba202c54269c548ede59ccce311541cfc3 | [] | no_license | luanjianbing/MoldMachine | 8dccd8537b03864d88023d70fd4156051dc0bed9 | a91f68e7677b46bf2fbcb8220207b4749b59c115 | refs/heads/master | 2022-11-25T16:39:49.796570 | 2020-07-30T06:10:29 | 2020-07-30T06:10:29 | 265,991,181 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,446 | cpp | #include "xmlFileSetting.h"
XMLFile::XMLFile(const char *xmlFileName)
{
m_xmlFileName = new char[30];
strcpy(m_xmlFileName, xmlFileName);
m_pDocument = NULL;
m_pDeclaration = NULL;
}
XMLFile::~XMLFile()
{
if (m_xmlFileName != NULL)
delete m_xmlFileName;
if (m_pDocument != NULL)
delete m_pDocument;
//if ... | [
"794315704@qq.com"
] | 794315704@qq.com |
a2742b87580b300ee53ea442f43319c67f290cda | 28135952ffb3e2ad0bc55427085f3eb4bbb6b8ee | /src/model/CreditCard.cpp | cb8d78516cdcc728c54364147dc9daec9a33abbe | [] | no_license | bartlomiejgraczyk/bank-library | 305c8d2a46fe080d3149737ecb2b7be0cbb8b0d0 | 22ec4ed0a5e9ac62cf337cb1e543464a0fec4916 | refs/heads/master | 2023-04-15T00:17:42.064061 | 2021-04-15T19:13:07 | 2021-04-15T19:13:07 | 358,366,224 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,120 | cpp | //
// Created by student on 21.12.2019.
//
#include <boost/uuid/uuid_io.hpp>
#include "model/CreditCard.h"
#include "model/CardClass.h"
#include "model/Client.h"
#include "model/Amount.h"
#include "model/Account.h"
#include "exceptions/CardExceptions.h"
#include "../exceptions/ExceptionsMessages.cpp"
using namespace... | [
"224301@edu.p.lodz.pl"
] | 224301@edu.p.lodz.pl |
ae12cb1b1cbdc46edca7f7663f9dc368692ee26e | f5e5ac7a0ed4f5fd6309d0d096195fc30eda1291 | /source/utils.cpp | 96ac6d5d874b04ba82669551f5a571b3e2cc4315 | [] | no_license | PingguSoft/HexaPodMega | a134ef8f8c0e406a08412a651b68745a2cb42837 | 233fe36acf5cb150de5dcc5c2a0a1ae4eb8f682a | refs/heads/master | 2016-09-06T04:34:46.692900 | 2015-12-01T06:25:59 | 2015-12-01T06:25:59 | 39,239,556 | 7 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,533 | cpp | /*
This project is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WI... | [
"pinggusoft@gmail.com"
] | pinggusoft@gmail.com |
a0d6809166f99cad2361d86767e795245040632b | b5bc86dd7decfc6f1951c8f3a9bfa94e381a2f54 | /kernel/font.cpp | 90d1abbd729ac5db5fa869b067b72812f7854d14 | [] | no_license | mszoek/hydrogen | 0238fc5b123ed97f50d624177af5ab29fe2d6d09 | 61b14c7e91b6c093bb26eaf61f2af1ba66551e37 | refs/heads/master | 2021-03-17T07:18:14.841314 | 2020-03-13T03:06:57 | 2020-03-13T03:06:57 | 246,973,194 | 40 | 4 | null | 2020-03-13T02:48:14 | 2020-03-13T02:35:42 | C++ | UTF-8 | C++ | false | false | 1,098 | cpp | #include <fonts/font.h>
fontEntry systemFonts[FONT_MAX] =
{
{
"Anonymous Pro 16px",
FONT_WIDTH_anon16,
FONT_HEIGHT_anon16,
FONT_BPP_anon16,
anon16_glyph_dsc,
anon16_glyph_bitmap
},
{
"Anonymous Pro 20px",
FONT_WIDTH_anon20,
FONT_HEIGH... | [
"zoe@pixin.net"
] | zoe@pixin.net |
c9b8266e38715a7d85f0b5477f52ab04dc10f826 | d705c238defa23086a8999f49619fe33c302015c | /protocols/platform/android/PluginFactory.cpp | 44688ebf75385da21f08ec52042537a82163ffe7 | [
"MIT"
] | permissive | bianfeng-shenbin/plugin | eb13e05009e949abd88ff8a7f8fd5c565e9f273c | 286a665d69745b1c07b4646224d48ff0858dc71e | refs/heads/master | 2021-01-10T14:12:44.878193 | 2015-05-28T01:05:34 | 2015-05-28T01:05:34 | 36,332,180 | 5 | 6 | null | 2015-05-28T01:18:21 | 2015-05-27T00:25:45 | Objective-C | UTF-8 | C++ | false | false | 4,699 | cpp | /****************************************************************************
Copyright (c) 2012-2013 cocos2d-x.org
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software witho... | [
"shenbin@bianfeng.com"
] | shenbin@bianfeng.com |
da9a5ac28b52b1028212f10ebe78d296eaddede6 | 7e48d392300fbc123396c6a517dfe8ed1ea7179f | /RodentVR/Intermediate/Build/Win64/RodentVR/Inc/Engine/SpotLight.generated.h | 07956d948eb0ce05685b7c1124553af77e16d0dc | [] | no_license | WestRyanK/Rodent-VR | f4920071b716df6a006b15c132bc72d3b0cba002 | 2033946f197a07b8c851b9a5075f0cb276033af6 | refs/heads/master | 2021-06-14T18:33:22.141793 | 2020-10-27T03:25:33 | 2020-10-27T03:25:33 | 154,956,842 | 1 | 1 | null | 2018-11-29T09:56:21 | 2018-10-27T11:23:11 | C++ | UTF-8 | C++ | false | false | 4,707 | h | // Copyright Epic Games, Inc. All Rights Reserved.
/*===========================================================================
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
========================================================================... | [
"west.ryan.k@gmail.com"
] | west.ryan.k@gmail.com |
226eee5b1350a9687ee980da20d9cb86be036ada | f4b798fa3134b5bf47c05bbb01b8ec16e12dd443 | /UTComputer/operators/stack_operators/OperatorCLEAR.cpp | 6bc5c9570792ce1c06112be1fa7164acd1c278fd | [] | no_license | Pierre-Gilles/ut-computer | 0785e34377e9a62e55878a165eea6497cd6e9f6b | 2240ae8df713bb374ef9f58f6b38d823b03af1ad | refs/heads/master | 2021-01-18T21:43:34.265176 | 2016-06-12T20:09:02 | 2016-06-12T20:09:02 | 55,587,957 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,002 | cpp | #include "OperatorCLEAR.h"
// ===============================================================================================================
// ====================== Implement superclass interface ==========================
// ==========================================================... | [
"raphael.hamonnais@gmail.com"
] | raphael.hamonnais@gmail.com |
92332c8235df49799565a25d623a93f211170d34 | d8de102af8efbd2c2fac8ada0c09d8a37b967031 | /day03/ex01/ScavTrap.hpp | 140f982763ea72803006de0370a069ccf8935997 | [] | no_license | akhanye1/cpp_bootcamp | f10c006bc8cb379bbd7745776cb9f2cdc4dd1916 | 06c6811a5865168d7754088bd4e337873e6f941f | refs/heads/master | 2020-03-19T04:59:41.420330 | 2018-06-12T11:44:22 | 2018-06-12T11:44:22 | 135,889,348 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,030 | hpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ScavTrap .hpp :+: :+: :+: ... | [
"akhanye@e4r23p3.wethinkcode.co.za"
] | akhanye@e4r23p3.wethinkcode.co.za |
6720c4a14548991bc8f3fe817348691554afa226 | 8d1f98fb263b6963dca57068ff4205ccb70c8a33 | /Coding Solutions/START01.cpp | 97c7ac485157a6bad3b3213e2f4301e7d7f80c9a | [] | no_license | ritwikgoel/CodeChef-Beginner-Level-Codes | 18e72b627ca04b68c6f993a588dfeb4dca85afab | 964fdd6489c6fc2b97aeb076673ec4a7def96da1 | refs/heads/main | 2023-05-05T19:55:25.547097 | 2021-05-29T13:48:03 | 2021-05-29T13:48:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 119 | cpp | //Dev Wadhwa
#include<iostream>
using namespace std;
int main()
{
int n;
cin>>n;
cout<<n;
return 0;
}
| [
"noreply@github.com"
] | noreply@github.com |
a9c3dae78913aeaf9c1c0af8e9da72920afd83bd | 18676762fd139694b0dbe9ffb599202f86a676cc | /QSCquadtree/util.cpp | 4d67512a3377a7faa5811bcf2f98825c75c276f7 | [] | no_license | HongMok/QSCquadtree | 05b55d09b4db25c0a1f5fe81779fa0e32233d5cf | 5cbf0191f2a7f5a30a3c1a6de46dba71e085cd55 | refs/heads/master | 2020-05-18T22:54:02.148556 | 2013-05-04T08:59:07 | 2013-05-04T08:59:07 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,736 | cpp | #include "functions.h"
/************************************************************************/
/*
输出树节点内容,深度遍历
*/
/************************************************************************/
void display(Node *root)
{
if(root->isLeaf())
{
cout<<"1 ";
}
else
{
cout<<"0 ";
display(root->nw);
display(ro... | [
"scutmox@foxmail.com"
] | scutmox@foxmail.com |
dfb473fb3db55144f41b8a9b343b5c70a0d8921d | 46fba6660d3f01868398bb4363f9f58c2efc8415 | /GeeksforGeeks/Mathematical/LCM_And_GCD/cpp/main.cpp | 43ac8b01d4014caede6880c18a8ea22508499504 | [] | no_license | is2ei/coding-challenges | 7c5dc56e17ca91d4d9d4ad854cbd1053927d38af | ce0a833ebb3eb9db3963537e3b22ba06cd7dca51 | refs/heads/master | 2020-05-07T13:18:56.185764 | 2019-06-15T06:39:17 | 2019-06-15T06:39:17 | 180,541,213 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 586 | cpp | #include <iostream>
int gcd(long a, long b) {
if (b == 0) {
return a;
}
int t = b;
b = a % b;
a = t;
return gcd(a, b);
}
std::pair<long, long> f(long a, long b) {
std::pair<long, long> p;
p.second = gcd(a, b);
p.first = (a * b) / p.second;
return p;
}
int main() {... | [
"is2ei.horie@gmail.com"
] | is2ei.horie@gmail.com |
b0d48064b6411de6f565f2e31da18f3fa9acf062 | b7285cb5f964c1e909d5b379546e70ba86808056 | /Device/src/GrabberPluginManager.cpp | e816f9a0fe548972e32e017edf972ee1c91a19a0 | [] | no_license | srgblnch/ImgGrabber | f1d846c4937b79f7cf1c9609f5297c4a5a9559e6 | 8b701278f4980499bbc436d25437137098cf1b51 | refs/heads/master | 2021-06-20T18:45:43.944787 | 2018-04-12T15:09:46 | 2018-04-12T15:09:46 | 43,963,417 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 358 | cpp | /*!
* \file
* \brief Definition of GrabberTask class
* \author Julien Malik - Synchrotron SOLEIL
*/
#include <GrabberPluginManager.h>
namespace GrabAPI
{
std::pair<yat::IPlugInInfo*, yat::IPlugInFactory*>
GrabberPluginManager::load( const std::string &library_file_name )
{
return this->plugin_ma... | [
"vince_soleil@3b39871e-fe4b-0410-b5db-e82997f68959"
] | vince_soleil@3b39871e-fe4b-0410-b5db-e82997f68959 |
35b91aa32ccb799a646a5ebfbb0420aa19ac216d | aeee81ea549829243660a5d7863217602016f890 | /_src_/Tools/Data/ItemAddOption_bmd/Main.cpp | c897b8d67fbc6355b72eb1ef372f9093c84c62d5 | [
"MIT"
] | permissive | samik3k/MuClientTools | ed7b69ab3f20106c8403aa095ac39c09b3174c46 | 90d8455fe3eb1d60cd1dcd6519425c66bda14c0d | refs/heads/main | 2023-03-26T06:13:21.251149 | 2021-03-30T22:23:52 | 2021-03-30T22:23:52 | 346,051,943 | 2 | 2 | MIT | 2021-03-30T22:23:52 | 2021-03-09T15:25:19 | null | UTF-8 | C++ | false | false | 1,239 | cpp | // This file contains the 'main' function. Program execution begins and ends there.
// Requirement: C++17
#include "Core.h"
#include "ItemAddOptionBmd.h"
using namespace std;
int main(int argc, char** argv)
{
ItemAddOptionBmd opener;
const char* szInputPath = "itemaddoption.bmd";
const char* szOutputPath = nullptr... | [
"vudao1988@gmail.com"
] | vudao1988@gmail.com |
af1d3b93a4c70d0611cf457ef98d9a6668fd31e5 | d0c44dd3da2ef8c0ff835982a437946cbf4d2940 | /cmake-build-debug/programs_tiling/function13915/function13915_schedule_26/function13915_schedule_26_wrapper.cpp | 0741286f60e9252f41822c092fefdd8fb5f8a661 | [] | no_license | IsraMekki/tiramisu_code_generator | 8b3f1d63cff62ba9f5242c019058d5a3119184a3 | 5a259d8e244af452e5301126683fa4320c2047a3 | refs/heads/master | 2020-04-29T17:27:57.987172 | 2019-04-23T16:50:32 | 2019-04-23T16:50:32 | 176,297,755 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,216 | cpp | #include "Halide.h"
#include "function13915_schedule_26_wrapper.h"
#include "tiramisu/utils.h"
#include <cstdlib>
#include <iostream>
#include <time.h>
#include <fstream>
#include <chrono>
#define MAX_RAND 200
int main(int, char **){
Halide::Buffer<int32_t> buf00(128, 64, 128);
Halide::Buffer<int32_t> b... | [
"ei_mekki@esi.dz"
] | ei_mekki@esi.dz |
d09926779461f4c153d419c7c9c57e41bb9a7420 | 5ad2f1777daac411b6fd0042f20308720374e4a1 | /26 Game On Checkerboard.cpp | 724a75901e89021d53c9c3312addea820e542b1a | [] | no_license | huanght1997/WHU_ACM | ca87c18a3cb9fc6282ea48633a44e814c5050f8f | 79bd94c87b47f97368910f40abedbe5d7184c86a | refs/heads/master | 2021-07-23T22:15:53.507280 | 2017-10-28T11:49:29 | 2017-10-28T11:49:29 | 108,645,131 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,439 | cpp | #include <iostream>
using namespace std;
int main()
{
int T;
cin >> T;
for (int Ti = 1; Ti <= T; Ti++)
{
int N;
cin >> N;
int **chessboard = new int*[N];
int **dp = new int*[N];
for (int i = 0; i < N; i++)
{
chessboard[i] = new int[N];
... | [
"1329635759@qq.com"
] | 1329635759@qq.com |
6b30197d383d3371cdecce17ab21a658dd16cd66 | a4fe18c1ab9199840b21bafc37a803f0875ea7a5 | /sort_exp/program/phi_all_level3.cpp | 306ada502082336775d780d87f8fc6b0ec5527df | [
"Apache-2.0"
] | permissive | puckbee/PhiBench | 87e71723138c6dcd1abfeacc2bde5f996eaf4ab8 | bf2fa1a4459d72f42cf39d772bf49d6965335b78 | refs/heads/master | 2020-12-25T17:36:39.430052 | 2016-08-17T10:12:06 | 2016-08-17T10:12:06 | 40,700,404 | 7 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,964 | cpp | /*
* bitonic sort implementation
* rather than sort [A B] B in other direction
* sort A B in the same direction but reverse B in next comparsion first
* a another say to express:
* the input array A,B are sorted in same direction assending or decending order
* so when merge A,B using bitonic way, B should be reve... | [
"puckbee@gmail.com"
] | puckbee@gmail.com |
95412f05c9c164d184ac70f4b25a19dfd70641f2 | cd8addb41043d98e687f8cbac6977b48c126e372 | /step008-matlab/edge.cpp | fc64f40e7413c8a3346ce04f1d41193f84c6faa8 | [
"Apache-2.0"
] | permissive | pedrodiamel/halide-mini-course | ebcd99178005feb7a1124e3d70d00b3e342fb1a1 | 81db2cece84b0d9f156ae3ebd159aca894b81488 | refs/heads/main | 2023-08-05T08:56:45.900918 | 2021-09-10T13:46:55 | 2021-09-10T13:46:55 | 404,375,143 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,594 | cpp | #include "Halide.h"
#include <stdio.h>
using namespace Halide;
using namespace Halide::BoundaryConditions;
class Edge : public Halide::Generator<Edge>
{
public:
Input<Buffer<uint8_t>> input{"input", 2}; // \in [W,H]
Output<Buffer<uint8_t>> output{"output", 2}; // \in [W,H]
void generate()
{
... | [
"pedrodiamel@gmail.com"
] | pedrodiamel@gmail.com |
e84a190d79b5e5652669de2dd9c4da4ddc45a18f | 2149582d7cd9ace5d07618eebd5be5e4c27bb8c0 | /dipep_analysis/tests/double_test.cpp | e20b7035cacf6a3d87938dbf47c214afb28dbd65 | [] | no_license | graceli/labwork | 855d1fdc926d9b886d78466a72771e1f7f938340 | 6ef7af512a53ebde17eb9bc41410d8f1739827bb | refs/heads/master | 2020-04-15T09:29:23.119514 | 2014-01-22T02:16:16 | 2014-01-22T02:16:16 | 2,140,176 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 137 | cpp | #include <iostream>
int main(){
double a = 9.8995e-25;
double kb = 3.21e-27;
int T = 300;
std::cout<<kb*T<<std::endl;
return 0;
}
| [
"grace@tera"
] | grace@tera |
2a375f5364a4e08524e121d87dd7d327d1a380e6 | 0789ece36e772cd62a66010ed6d995f3310ddf52 | /files/test_driven/Boost.Test Documentation Rewrite/libs/test/doc/src/tutorials/hello_test/3/sut/hello.hpp | a31def4451c09bf0f0b0ccee9b597ca48727214d | [] | no_license | wygos/cppnow_presentations_2014 | 7a03ec4f7644920878a589478a22673e9c879aa7 | e5dc8951ed105357b7b10150dc8f87837de6edf4 | refs/heads/master | 2021-01-21T03:16:04.133038 | 2014-05-19T02:05:49 | 2014-05-19T02:05:49 | 19,926,500 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 146 | hpp | //[ hello_test_sut_hpp3
#if !defined(HELLO_HPP)
#define HELLO_HPP
#include <ostream>
extern void hello_world(std::ostream& stream);
#endif
//]
| [
"rayfix@gmail.com"
] | rayfix@gmail.com |
c1468bee5b82e593688198a8963c25bdcc16ddf0 | 3e7709aad8a8850f5d95f051a70797678b873649 | /PP17/Player.cpp | eef1a27bbdfda3e1c39366b81555d22afa944662 | [] | no_license | OhYouSeok/PP01.HelloSDL.20171200.- | 210998e62c0bbf8db70fe3fa42a1bafb5d7760ae | 43332bed2d3795848064c885a166be8ee28f8af8 | refs/heads/master | 2020-03-28T03:24:05.583773 | 2018-12-04T04:20:35 | 2018-12-04T04:20:35 | 147,642,430 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,486 | cpp | #include "Player.h"
#include "Game.h"
#include "BulletManager.h"
Player::Player(const LoaderParams* pParams) : SDLGameObject(pParams)
{
}
void Player::draw()
{
SDLGameObject::draw(); // we now use SDLGameObject
BulletManager::getInstance()->draw();
}
void Player::update()
{
BulletManager::getInstance()->update();
... | [
"20142355@vision.hoseo.edu"
] | 20142355@vision.hoseo.edu |
e8d7acbb2eb41e7a55580f0385a4d7a4821ed3f6 | ddbbbb86149e85df04ea75f8dbfd125522636b05 | /C language/zeeshanatalib77 - 04 Character type data.cpp | 63dea33098d628c93fb17355898d8de0bce07364 | [] | no_license | zeeshantalib/C-Programming-Language | 01ad1ce7a80d3a309fc38a4ebd82a5a1f283e765 | 7fb0b2de41ad9c0997e3fc305acbb4bd7f7d3a4f | refs/heads/master | 2022-11-20T09:17:12.764300 | 2022-10-25T01:16:49 | 2022-10-25T01:16:49 | 155,690,612 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 360 | cpp | #include<stdio.h>
#include<conio.h>
int main()
{
char ch1,ch2,sum;
// Here character type data is declared with keyword char.
ch1='2';
ch2='6';
sum=ch1+ch2;
printf("sum=%d",sum);
/* the sum of character 2 & 6 should be 104 ,because the ASCII value of
2... | [
"noreply@github.com"
] | noreply@github.com |
3a3a87745264e1364d155d42c7de17630261ea6c | a92b18defb50c5d1118a11bc364f17b148312028 | /src/prod/src/Reliability/Failover/ra/Infrastructure.EntityExecutionContext.h | 93f5e141a671653fdb9f7a60502c01afaa53827e | [
"MIT"
] | permissive | KDSBest/service-fabric | 34694e150fde662286e25f048fb763c97606382e | fe61c45b15a30fb089ad891c68c893b3a976e404 | refs/heads/master | 2023-01-28T23:19:25.040275 | 2020-11-30T11:11:58 | 2020-11-30T11:11:58 | 301,365,601 | 1 | 0 | MIT | 2020-11-30T11:11:59 | 2020-10-05T10:05:53 | null | UTF-8 | C++ | false | false | 3,984 | h | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
#pragma once
namespace Reliab... | [
"noreply-sfteam@microsoft.com"
] | noreply-sfteam@microsoft.com |
d6d8f0785b69b89f0df5231c58b5e9bc91516fb0 | ed997b3a8723cc9e77787c1d868f9300b0097473 | /libs/tti/test/test_mf_has_mem_fun_fail2.cpp | b7386c3b99984118fff95fab6cb12c3cdce9e4fd | [
"BSL-1.0"
] | permissive | juslee/boost-svn | 7ddb99e2046e5153e7cb5680575588a9aa8c79b2 | 6d5a03c1f5ed3e2b23bd0f3ad98d13ff33d4dcbb | refs/heads/master | 2023-04-13T11:00:16.289416 | 2012-11-16T11:14:39 | 2012-11-16T11:14:39 | 6,734,455 | 0 | 0 | BSL-1.0 | 2023-04-03T23:13:08 | 2012-11-17T11:21:17 | C++ | UTF-8 | C++ | false | false | 727 | cpp |
// (C) Copyright Edward Diener 2011
// Use, modification and distribution are subject to the Boost Software License,
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt).
#include "test_mf_has_mem_fun.hpp"
#include <boost/mpl/assert.hpp>
#include <boost/tti/mf... | [
"eldiener@b8fc166d-592f-0410-95f2-cb63ce0dd405"
] | eldiener@b8fc166d-592f-0410-95f2-cb63ce0dd405 |
9a17cfda843d7f4e78a154258f51969db0c23fae | db603264218ae05427128423839afc19e699af89 | /SmedbyCharger/Filter10.h | 6cc3b6446d9b873720a13ec91d1d61cf3d45217e | [] | no_license | itoaa/SmedbyCharger | 451d5548b221724287c1e1fc3bd9e2fe10746de9 | 9a7d5ca21353ae7c04c73b1d7233e9f42c22f9e2 | refs/heads/master | 2021-01-02T22:59:39.354125 | 2017-12-02T15:18:30 | 2017-12-02T15:18:30 | 99,433,663 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,142 | h | /*
* Filter10.h
*
* Created on: 5 aug. 2017
* Author: Ola Andersson
* Filter and buffer class ver 1.0 for Arduino ported to Eclipse and FreeRTOS
*
*/
#ifndef FILTER10_H_
#define FILTER10_H_
#include <Arduino.h>
#define filterSamples 13 // filterSamples should be an odd number, no s... | [
"ola@smedby.net"
] | ola@smedby.net |
99a7f2f68ded18c8bf760f598704f63a5c8de150 | 73cadd555c96c8dadc57c2d69f8485b6bc77e366 | /SudokuGen_nine.h | 3c45fbe3e1f2ad1a14ef3feb9266026c7b723914 | [] | no_license | ol3577600/Sudoku_Game | 08dd2460aceb95eae0e49d95ca250392ff750478 | ba4f95d9fe9a2a2ab0a031f04ccf7f9ecfc3920d | refs/heads/master | 2020-03-09T07:19:02.321131 | 2018-04-08T17:01:25 | 2018-04-08T17:01:25 | 128,661,871 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,008 | h | #define SIZE1 9
#include <vector>
using namespace std;
class SudokuGen_nine
{
public:
SudokuGen_nine();
void generator(); //亂數法產生新棋盤 (初始化時建構子就會呼叫一次)
vector<int > get_board(); //輸出棋盤至vector變數
bool check_rep(vector<int>,int,int); //偵測填入數字是否重複、符合規則,不符合會回傳false值
bo... | [
"noreply@github.com"
] | noreply@github.com |
357fe502cdaa4b88a498b42c6dd247988e08c303 | 5838cf8f133a62df151ed12a5f928a43c11772ed | /NT/shell/cpls/inetcpl/security.cpp | 04cfce7c62be6f4bbab007422f7b4c7030c62215 | [] | no_license | proaholic/Win2K3 | e5e17b2262f8a2e9590d3fd7a201da19771eb132 | 572f0250d5825e7b80920b6610c22c5b9baaa3aa | refs/heads/master | 2023-07-09T06:15:54.474432 | 2021-08-11T09:09:14 | 2021-08-11T09:09:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 99,007 | cpp | //*********************************************************************
//* Microsoft Windows **
//* Copyright(c) Microsoft Corp., 1995 **
//*********************************************************************
//
// SECURITY.cpp - "Security"... | [
"blindtiger@foxmail.com"
] | blindtiger@foxmail.com |
b5de86cb9e218e7d7fa277e56da06fb22e1c66ca | da9d2fb0cfe3d92b45d52615e8d95d8192ca67ad | /Fast_Power.cpp | 4f562cf902b98f58c3ebaf12f41ba2af01ae08a6 | [] | no_license | Hack-sham/CODING-BLOCKS-COMPETITIVE-CODING-COURSE | dde7fc17586efbb381ba7aef862b96a9bb3fce16 | 1703495f71c545371d1326b8b9e13edb0fb01b36 | refs/heads/main | 2023-06-04T23:10:36.426639 | 2021-06-22T10:04:47 | 2021-06-22T10:04:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 370 | cpp | #include <iostream>
using namespace std;
int fast_power(int a,int n)
{ if(n==0) return 1;
int sub_ans=fast_power(a,n/2);
sub_ans*=sub_ans;
if(n&1)
return sub_ans*a;
else
return sub_ans;
}
int main()
{ int... | [
"noreply@github.com"
] | noreply@github.com |
c88bb58fdfe4c82349b704cee5dfee7f0d849ffe | 805cd1baa255d889f5c5127598b668987e2ee14c | /GameFramework/GameFramework/Graphic/GraphicEffectManager/BehaviorScheduler/Behavior/Flash.h | 5d857f7514350e2d4b1408e0c5db880029c7497e | [] | no_license | human-osaka-game-2018/GameFramework | e93e67c3fd9ca1dc48c72967e54a6de57ad30d9d | b20bf9e885c8327ee2941fe2bf69d82989650b76 | refs/heads/master | 2020-04-26T04:15:33.295642 | 2019-06-12T08:31:04 | 2019-06-12T08:33:55 | 173,295,756 | 0 | 0 | null | 2019-06-12T08:33:57 | 2019-03-01T12:06:42 | C++ | UTF-8 | C++ | false | false | 988 | h | #ifndef FLASH_H
#define FLASH_H
#include <Window.h>
#include "Vertices.h"
#include "Behavior.h"
#include "WindowParam/WindowParam.h"
#include "Algorithm.h"
/// <summary>
/// 基礎構築に関するものをまとめた名前空間
/// </summary>
namespace gameframework
{
/// <summary>
/// 点滅
/// </summary>
class Flash :public Behavior
{
public:
... | [
"glaca986@outlook.jp"
] | glaca986@outlook.jp |
d46da6203034a8d648e3414def2322e74bd8beb5 | 8650da0f2b3c8e1312a102b6e8fcee3c3647e7cf | /Source/Project4/Public/Interactables/SkillDropActor.h | 216a3ef8dc35a7c99eeaa82ecd50f7ba818bbfcf | [] | no_license | ElliotCouvignou/Project4 | 706c377c15a0cf3ebb3d4a7e1a421e12c3d57cc8 | 13b7b5063f2cc1f6a0dbcfedaf5dfd0a86e86735 | refs/heads/master | 2023-06-20T10:16:38.207895 | 2021-07-21T00:30:45 | 2021-07-21T00:30:45 | 263,475,979 | 0 | 0 | null | 2020-10-01T00:27:43 | 2020-05-12T23:30:41 | C++ | UTF-8 | C++ | false | false | 857 | h | // Project4 Copyright (Elliot Couvignou) Dont steal this mayne :(
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Actor.h"
#include "Interactables/P4Interactable.h"
#include "SkillDropActor.generated.h"
UCLASS()
class PROJECT4_API ASkillDropActor : public AP4Interactable
{
GENERATED_BODY()
publi... | [
"ecouvignou@gmail.com"
] | ecouvignou@gmail.com |
47ceee7c091e948c25ea17795f64575605b02094 | 3a78fcd2c9a66789f995513d9beba219c8a45fe8 | /Hardware/krnl_cornertracker.build/link/vivado/vpl/prj/prj.srcs/sources_1/bd/zcu104_base/ip/zcu104_base_m04_regslice_0/sim/zcu104_base_m04_regslice_0_sc.h | f9adfdf4fd8bbccaf5b8c87590830ab646fe5342 | [] | no_license | msimpsonbbx/test_fast | d25a36e3c067a75c1bae7163ece026879f1cb2aa | 01b00070b2d4165c7796726f5a32be93bfee8482 | refs/heads/main | 2023-03-26T00:04:16.541544 | 2021-03-25T16:15:28 | 2021-03-25T16:15:28 | 351,492,336 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,373 | h | #ifndef IP_ZCU104_BASE_M04_REGSLICE_0_SC_H_
#define IP_ZCU104_BASE_M04_REGSLICE_0_SC_H_
// (c) Copyright 1995-2021 Xilinx, Inc. All rights reserved.
//
// This file contains confidential and proprietary information
// of Xilinx, Inc. and is protected under U.S. and
// international copyright and other intellectual pr... | [
"m.simpson@beetlebox.org"
] | m.simpson@beetlebox.org |
23b4b4184866f0448ded851321e11d7d49f9f1cf | 1d6a9741b6297e45438ecec81563f56dd5d7fab7 | /src/query_operations/broad_combined_gvcf.cc | babf0c2317c03001a71e7c63161675e5a9cdad7f | [
"MIT"
] | permissive | pearofducks/GenomicsDB | e1255072b70e30cb7c531fd9c74f551edc13f2aa | 15bfe1f614c484a3cfa24c9d88699768179045d0 | refs/heads/master | 2023-09-01T14:07:00.747285 | 2016-04-06T18:17:59 | 2016-04-06T18:17:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,594 | cc | /**
* The MIT License (MIT)
* Copyright (c) 2016 Intel Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to
... | [
"karthik.gururaj@intel.com"
] | karthik.gururaj@intel.com |
919f7984c3e85871e7564edb7c2e6febb8f61549 | aecf4944523b50424831f8af3debef67e3163b97 | /net.ssa/xr_3da/xrGame/AI/Idol/ai_idol.cpp | 59ee233078b13e4b97252e9f94eb7ffafaeaadda | [] | no_license | xrLil-Batya/gitxray | bc8c905444e40c4da5d77f69d03b41d5b9cec378 | 58aaa5185f7a682b8cf5f5f376a2e5b6ca16fed4 | refs/heads/main | 2023-03-31T07:43:57.500002 | 2020-12-12T21:12:25 | 2020-12-12T21:12:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,185 | cpp | ////////////////////////////////////////////////////////////////////////////
// Module : ai_crow.cpp
// Created : 13.05.2002
// Modified : 13.05.2002
// Author : Dmitriy Iassenev
// Description : AI Behaviour for monster "Crow"
////////////////////////////////////////////////////////////////////////////
... | [
"admin@localhost"
] | admin@localhost |
752bfab3d58a51074ef1231600f274e576689b89 | d0448333c6b9df7d8da49ded311910bc58d42f95 | /include/backend/ChannelsHandler.hpp | 7ad206832454f5c368ee9ccf31f6c8fe75970d09 | [
"MIT"
] | permissive | skydiveuas/fm-client-sdk-cpp | 88d635c6451efe09b49d36c2b3fe06d8390a8e69 | 2ce252b7692b4eb0f09758dac18ece74468f7531 | refs/heads/master | 2020-04-15T06:50:58.753610 | 2019-05-12T20:36:46 | 2019-05-12T20:36:46 | 164,475,815 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,334 | hpp | #ifndef FM_BACKEND_CHANNELSHANDLER_HPP
#define FM_BACKEND_CHANNELSHANDLER_HPP
#include "traffic/ChannelImpl.hpp"
#include "common/channel_management.pb.h"
#include <boost/asio/ssl.hpp>
#include <boost/log/trivial.hpp>
#include <memory>
#include <vector>
#include <unordered_map>
namespace fm
{
namespace backend
{
... | [
"nawbar23@gmail.com"
] | nawbar23@gmail.com |
3aeb4ac1eae8ecef45f7be5df25743316986a877 | 6d688b229c25594887966cd3f18c17132d685f3c | /PhoneBook/test.cpp | 9c33853ed17d02798584eba2cd24e5c17d7b8293 | [] | no_license | makisto/STP2 | bfe3bfff3751589d742461917e3e12b05f55a0b3 | 8d3b8d7d1266f25312b69dbb65c20b5a95e0f3ee | refs/heads/main | 2023-04-10T00:41:33.638800 | 2021-04-22T13:20:52 | 2021-04-22T13:20:52 | 360,524,438 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,380 | cpp | #include "test.h"
#include "phoneb.h"
#include <QtTest/QTest>
test::test(QObject *parent) : QObject(parent) {}
void test::add()
{
phoneB p;
p.add("ivan", "+1234567890");
QMultiMap<QString, QString> res;
res.insert("ivan", "+1234567890");
QCOMPARE(res, p.getPhoneBook());
res.insert("iv", "+123... | [
"TJAYYM@yandex.ru"
] | TJAYYM@yandex.ru |
3bfa393fe35987042c4e7b4f1cd119097edf85ab | 785f542387f302225a8a95af820eaccb50d39467 | /codeforces/448-A/448-A-7126769.cpp | 9b11f07950852f97ae4ad1d74cfb69a0f959a15d | [] | no_license | anveshi/Competitive-Programming | ce33b3f0356beda80b50fee48b0c7b0f42c44b0c | 9a719ea3a631320dfa84c60300f45e370694b378 | refs/heads/master | 2016-08-12T04:27:13.078738 | 2015-01-19T17:30:00 | 2016-03-08T17:44:36 | 51,570,689 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 702 | cpp | /*
Thursday 17th July 2014
By ++Anveshi Shukla
*/
#include<bits/stdc++.h>
#define sz(a) int((a).size())
#define pb push_back
#define all(c) (c).begin(),(c).end()
#define tr(c,i) for(typeof((c).begin() i=(c).begin() ;i!=c.end();i++)
#define present(c,x) ((c).find(x)!=(c).end())
#define cpresent(c,x) (find(all(c),... | [
"anveshishukla@gmail.com"
] | anveshishukla@gmail.com |
e7bbb755f35c97c423649dbdbc82282055779d4b | f3866e1a2c0919ff464acc7c916beb4c4ffd68e8 | /benchmarks/deretta-coroutine/libs/coroutine/test/test_meta.cpp | 3dcf1fd3e0a71923fd7f48466ed97d42a2dc243e | [] | no_license | bombela/CxxCoroutine | 2f2f68ad76db103abd2fe7e896db32805fac9922 | dee6aac5b1436cef359f17447248641bcc52bbc2 | refs/heads/master | 2021-01-15T21:44:20.486195 | 2011-10-18T07:00:53 | 2011-10-18T07:00:53 | 1,563,956 | 13 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 2,208 | cpp | // Copyright (c) 2006, Giovanni P. Deretta
//
// This code may be used under either of the following two licences:
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restric... | [
"bombela@gmail.com"
] | bombela@gmail.com |
33abca17227bdbcf15f3fa8915b31c5cff2a399b | e711b9e143b1c94e3358365923f13e5ff1caf313 | /apps/editors/backup/ModelEditor/GenerateTiles.cpp | 106b8971d3191463a79ab02ba53abbb7102ecdcf | [] | no_license | galapaegos/old-engine | adf25cc62eb4295dab9c85ec4d96ac446a4a3d6d | ed2086c0ba0d1fbefc254ffde8785e33a6cfbe2a | refs/heads/master | 2020-07-10T03:33:58.835462 | 2019-08-24T12:56:48 | 2019-08-24T12:56:48 | 204,156,406 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,706 | cpp | #include "GenerateTiles.h"
GenerateTiles::GenerateTiles (const int &x, const int &y, const int &w, const int &h) : gswin::gswindow (0,
"GenerateTiles", "Generate Tiles", WS_OVERLAPPEDWINDOW, x, y, w, h)
{
gswin::gsdescription *pWidthDesc = new gswin::gsdescription ("Number of width tiles:", 5, 5, 120, 25, this);
... | [
"bhittle@osc.edu"
] | bhittle@osc.edu |
a850c09899a14cb051674350beb6cdf660026533 | 6aab87375568c398181acfc378c128acb8e8528a | /NEPS/SDK/Vector.h | 15063cc165abd9f3b10cbd5391e5d7aaac1ef38b | [
"BSD-3-Clause",
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | CrackerCat/NEPS | 011f8402672b3305f63c11f3160ed352f000f838 | 4f3dc9223fcde3c1af6fea3d5fa359f2e2fa247e | refs/heads/master | 2023-07-13T07:12:38.686911 | 2021-08-22T16:26:38 | 2021-08-22T16:26:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,644 | h | #pragma once
#include <cmath>
#include "../lib/Helpers.hpp"
class Matrix3x4;
struct Vector
{
constexpr auto notNull() const noexcept
{
return x || y || z;
}
constexpr auto operator==(const Vector &v) const noexcept
{
return x == v.x && y == v.y && z == v.z;
}
constexpr auto operator>=(const Vector &v) ... | [
"65950527+degeneratehyperbola@users.noreply.github.com"
] | 65950527+degeneratehyperbola@users.noreply.github.com |
aabd40852dd4e266f583a5a3afc78215904a7ac9 | d61f48bf6b230f81ecc57b31647454408290f97d | /16_External_searching/16.03_B_trees/examples/ex_16_3.cpp | e1f916d464c738d8d799f2e82e0ed95bd99b51db | [] | no_license | RomantsovS/Sadgewick | 30da7538e38b2c66e2d5b0eb1f896d82013224f2 | 606f331e5394f92d42b7d246758a49c2554449a6 | refs/heads/master | 2022-07-23T21:08:32.150269 | 2022-07-22T08:00:04 | 2022-07-22T08:00:04 | 179,793,767 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,328 | cpp | #include <cassert>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
const std::string red_str("\033[0;31m");
std::string reset_str("\033[0m");
using Key = int;
Key maxKey = 1000;
#include <Item.h>
const size_t M = 6;
template <class Item, class Key>
... | [
"romantsov_s@rusklimat.ru"
] | romantsov_s@rusklimat.ru |
f9c524495b528c3d6f82d30354d4c04a2fd0f7eb | 89f8073f32c5e76c36d7e3072002015a5646119f | /common files/WOW Factor.cpp | 5e20b6b6994eea9bf925af839df146b1f15d5022 | [] | no_license | PulockDas/Competitive-Programming-Algorithms | f19b8eab081e73c01b4a8ba8673c9df752ff3646 | 2b3774a34170f10e81ec5b3479f4a49bc138e938 | refs/heads/main | 2023-06-11T20:59:57.458069 | 2021-06-29T19:54:05 | 2021-06-29T19:54:05 | 308,912,300 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,048 | cpp | #include <bits/stdc++.h>
using namespace std;
#define ll long long
int main ()
{
string s;
cin >> s;
ll l = s.length();
ll check[l];
memset(check, 0, sizeof(check));
ll sum = 0;
for(ll i=0; i<l; i++){
if(s[i] == 'v'){
for(i=i+1; i<l; i++){
if(s[i] == '... | [
"pulock46@student.sust.edu"
] | pulock46@student.sust.edu |
a603a2008e444def6f1dca06364c2d7f1734b2d7 | 3feb39edb55c50373bc4cb78b5c8aaeb126133b1 | /system/source/libraries/spoon/storage/File.cpp | 59516a635c36c481bb86b0e062d56fe5f20b2a7a | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | blanham/spoon | bec6305f991d214b7f85e1074ddf97beb1d1909e | a2b5babab160da0791170f36c0d0def6e214f33c | refs/heads/master | 2020-04-06T07:01:57.307234 | 2013-12-13T03:54:24 | 2013-12-13T03:54:24 | 15,154,254 | 7 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 5,118 | cpp | #include <types.h>
#include <stdlib.h>
#include <string.h>
#include <spoon/sysmsg.h>
#include <spoon/ipc/Message.h>
#include <spoon/ipc/Messenger.h>
#include <spoon/storage/File.h>
#include <spoon/storage/StorageDefs.h>
File::File( const char *node )
: _fd(-1)
{
_node = strdup(node);
}
File::~File()
{
if ( _fd >=... | [
"blanham@gmail.com"
] | blanham@gmail.com |
26f3172322216d8d50f4f3c7dfe00843453f32a9 | e2e3cf2edf60eeb6dd45adaa8a58e110bdef92d9 | /Portable/zoolib/UUID.h | f89ee30e44551c3da4582c193ff5a2a3e25af4b9 | [
"MIT"
] | permissive | zoolib/zoolib_cxx | 0ae57b83d8b3d8c688ee718b236e678b128c0ac7 | b415ef23476afdad89d61a003543570270a85844 | refs/heads/master | 2023-03-22T20:53:40.334006 | 2023-03-11T23:44:22 | 2023-03-11T23:44:22 | 3,355,296 | 17 | 5 | MIT | 2023-03-11T23:44:23 | 2012-02-04T20:54:08 | C++ | UTF-8 | C++ | false | false | 486 | h | // Copyright (c) 2021 Andrew Green. MIT License. http://www.zoolib.org
#ifndef __ZooLib_UUID_h__
#define __ZooLib_UUID_h__ 1
#include "zconfig.h"
#include "zoolib/StdInt.h" // For byte
#include "zoolib/TagVal.h"
#include <array>
namespace ZooLib {
// ================================================================... | [
"ag@em.net"
] | ag@em.net |
8c783a4a7fba54f49abf9e4dc55e6ec5aa201534 | 5c875539b7a294aed1750ab46ae5d3f9dd54516c | /ota_test2/lib/thirdparty/BLE/src/BLERemoteCharacteristic.cpp | c733c1d14a808dd5db805503e1f5e0ee0249e6f4 | [] | no_license | TimUntersberger/Diplomarbeit | 8f0fae394ebb589f3cbbdc38fb4e865ee0e48238 | bdc946edb6a96808f145917781a675bfaaa4365c | refs/heads/master | 2022-04-25T12:23:29.826968 | 2020-04-21T12:48:35 | 2020-04-21T12:48:35 | 223,121,269 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,868 | cpp | /*
* BLERemoteCharacteristic.cpp
*
* Created on: Jul 8, 2017
* Author: kolban
*/
#include "BLERemoteCharacteristic.h"
#include "sdkconfig.h"
#if defined(CONFIG_BT_ENABLED)
#include <esp_gattc_api.h>
#include <esp_err.h>
#include <sstream>
#include "BLEExceptions.h"
#include "BLEUtils.h"
... | [
"waldl.stefan@gmail.com"
] | waldl.stefan@gmail.com |
4658fc82320f15382330f8fa140bc1d3bd889ae0 | a316b25d78becd64d29af3c698207bb4e93e4791 | /baekjoon/1956.cpp | e3b5fd13a542e61262117d4fa14e6a339db3e268 | [] | no_license | gnueskob/PS | 0aa96ce6a9eb3935905d652f4400c184e3f79b9b | 2a2e9c331e2f2290c3f4ff0a64b0b0ece9da9b75 | refs/heads/master | 2021-06-09T03:37:44.032216 | 2021-05-08T03:10:28 | 2021-05-08T03:10:28 | 172,658,184 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,089 | cpp | // https://www.acmicpc.net/problem/1956
// #플로이드와셜
#ifdef GNUES_INPUT
#include "plugin/fiostream.hpp"
#include "_fileRead.hpp"
GNUES::FileRead f("1956.txt");
#endif
#include <iostream>
#include <vector>
int main()
{
auto [V, E] = GNUES::readInts<int, int>();
int inf = std::numeric_limits<int>::max();
s... | [
"gnueskob@gmail.com"
] | gnueskob@gmail.com |
9eb26fc4417704d46fc28087605364b11f3eeb36 | 75bed69010bd373b7803f3cb51b565a783f36397 | /componente.cpp | 12253754bf538b9fb17d4105ee69fcf1faecd285 | [] | no_license | joseSalazar4/SimuladorRestaurante | b87a30dd8cb8c53c96390dab9bdb581c26cea9d2 | 06db5b63d63cae70d61e27d0ccd5abb6dc15d310 | refs/heads/master | 2022-03-10T10:02:23.702397 | 2019-10-01T03:45:11 | 2019-10-01T03:45:11 | 208,942,401 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 55 | cpp | #include "componente.h"
Componente::Componente()
{
}
| [
"jsalazarg48@gmail.com"
] | jsalazarg48@gmail.com |
eadd8203b93bc2564e6f8ccb345280a0e26d7eda | ae25bffa378345c49e5ef5a0347f2c121c7a0f31 | /ns-2.1b8a/emulate/net-ip.cc | 7fbc28eae6e2180a2f58bf4aeb526e2dd5039e49 | [] | no_license | smilemare/NS-2.1b8a-MacOS | 49a00733c4aee95e86324d595bb7e85d98259be9 | b556e49bf6ff88df0bdd983baaae68a809676f88 | refs/heads/master | 2020-12-24T15:22:53.671307 | 2014-10-31T10:04:37 | 2014-10-31T10:04:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 24,904 | cc | /*-
* Copyright (c) 1993-1994, 1998
* The Regents of the University of California.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the abo... | [
"smilemare@foxmail.com"
] | smilemare@foxmail.com |
b3717b3eefead7bf88602293c117b93a712ebab2 | 11a246743073e9d2cb550f9144f59b95afebf195 | /acmsgu/538.cpp | 26b974fd691520480c8fea102b5ad7e3d0261683 | [] | no_license | ankitpriyarup/online-judge | b5b779c26439369cedc05c045af5511cbc3c980f | 8a00ec141142c129bfa13a68dbf704091eae9588 | refs/heads/master | 2020-09-05T02:46:56.377213 | 2019-10-27T20:12:25 | 2019-10-27T20:12:25 | 219,959,932 | 0 | 1 | null | 2019-11-06T09:30:58 | 2019-11-06T09:30:57 | null | UTF-8 | C++ | false | false | 1,327 | cpp | #include <iostream>
#include <iomanip>
#include <string>
#include <sstream>
#include <fstream>
#include <cassert>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cmath>
#include <algorithm>
#include <numeric>
#include <utility>
#include <vector>
#include <queue>
#include <map>
#include <set>
#include ... | [
"arnavsastry@gmail.com"
] | arnavsastry@gmail.com |
9414607a9086ef07e88c8e940a771c8d32bda7ae | 1095cfe2e29ddf4e4c5e12d713bd12f45c9b6f7d | /ext/systemc/src/sysc/kernel/sc_simcontext.cpp | 104f7c984e7d55db8ab077c95dcb25c23e445d67 | [
"Apache-2.0",
"BSD-3-Clause",
"LicenseRef-scancode-proprietary-license",
"LGPL-2.0-or-later",
"MIT"
] | permissive | gem5/gem5 | 9ec715ae036c2e08807b5919f114e1d38d189bce | 48a40cf2f5182a82de360b7efa497d82e06b1631 | refs/heads/stable | 2023-09-03T15:56:25.819189 | 2023-08-31T05:53:03 | 2023-08-31T05:53:03 | 27,425,638 | 1,185 | 1,177 | BSD-3-Clause | 2023-09-14T08:29:31 | 2014-12-02T09:46:00 | C++ | UTF-8 | C++ | false | false | 70,506 | cpp | /*****************************************************************************
Licensed to Accellera Systems Initiative Inc. (Accellera) under one or
more contributor license agreements. See the NOTICE file distributed
with this work for additional information regarding copyright ownership.
Accellera licenses... | [
"jungma@eit.uni-kl.de"
] | jungma@eit.uni-kl.de |
f0f82bc9596471142e50d9e1526156fe4baf147c | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/inetsrv/iis/setup/osrc/mdkey.h | f631156e1cf9a6c766f16f5fb931737b1306c3aa | [] | no_license | jjzhang166/WinNT5_src_20201004 | 712894fcf94fb82c49e5cd09d719da00740e0436 | b2db264153b80fbb91ef5fc9f57b387e223dbfc2 | refs/heads/Win2K3 | 2023-08-12T01:31:59.670176 | 2021-10-14T15:14:37 | 2021-10-14T15:14:37 | 586,134,273 | 1 | 0 | null | 2023-01-07T03:47:45 | 2023-01-07T03:47:44 | null | UTF-8 | C++ | false | false | 5,978 | h | #ifndef _MDKEY_H_
#define _MDKEY_H_
class CMDValue
{
protected:
DWORD m_dwId;
DWORD m_dwAttributes;
DWORD m_dwUserType;
DWORD m_dwDataType;
DWORD m_cbDataLen;
BUFFER m_bufData;
public:
CMDValue();
~CMDValue();
DWORD SetValue(DWORD dwId,
DWORD ... | [
"seta7D5@protonmail.com"
] | seta7D5@protonmail.com |
8b5506a08a216878aeaaf54ec3b830a37edd36d4 | 119c5b266a22d57a1b6a20a73d45e21b6c0447d1 | /Shapes/Ball.cpp | b659ee68165f79b44991c3fd8df4692223000658 | [] | no_license | LePtitDev/prog3d-opengl | 6b6e13a4cdb92292f9a311ec32b059a45220c146 | eb97f516bc8c6826fea417cae748827fe2f50af8 | refs/heads/master | 2021-01-21T11:18:42.181319 | 2017-07-11T13:24:31 | 2017-07-11T13:24:31 | 83,551,176 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,647 | cpp | #include "Ball.hpp"
Ball::Ball() :
p(Point()), r(1)
{
this->surface = Ball::SurfaceByBall(*this, 20, 20);
}
Ball::Ball(const Point & p, double r, long n, long m) :
p(p), r(r)
{
this->surface = Ball::SurfaceByBall(*this, n, m);
}
Ball::Ball(const Ball & b) :
p(b.p), r(b.r), surface(... | [
"arthur.ferre@etu.umontpellier.fr"
] | arthur.ferre@etu.umontpellier.fr |
8f03e235e3306f9b3a7ed977b426709dd407fbb3 | e7f3c7db44e7aa54bc88a5629f3c0fb517701ed3 | /judges/uva/Happy_Number/10591.cpp | 27d3ee740004593a0305d188570816bc8460e876 | [
"MIT"
] | permissive | ednunes/competitive-programming | f699ef9a176277e18b7f017876efac95ad3cd643 | 0f6bdc573b4d03d1ed20a2b77ec5388dca1ee47b | refs/heads/master | 2022-09-08T09:19:08.225422 | 2019-10-03T17:03:50 | 2019-10-03T17:03:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 618 | cpp | #include <bits/stdc++.h>
using namespace std;
int main (){
string a;
int cont = 0;
int q;
cin >> q;
while(cont < q){
cin >> a;
int aux = stoull(a);
long long unsigned soma = 0;
do{
soma = 0;
int v;
for(long long unsigned i = 0; i < a.length(); i++){
v = a[i] - '0';
soma += pow... | [
"eduardonunes2525@gmail.com"
] | eduardonunes2525@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.