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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
649f077f6858dd7ca759452ec07da2c1f84baeda | a22c2ebff051d0242bef48ae585cfbcffdf0b794 | /30_21_08_2021/main.cpp | f5dfd5b4f28e7d26cbb5221a02cc37abe3bd9394 | [] | no_license | yhdurkaya/Cpp | e59450b863851c9f7370c39c6f0d4da3ac2d23b1 | c0adb357848a978d2b3a7aa6902121a30844dd28 | refs/heads/main | 2023-08-27T22:34:00.010150 | 2021-11-15T12:54:44 | 2021-11-15T12:54:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 57,529 | cpp | /*
Lambda ifadelerinde kaldık. C++ ın en önemli araçlarından biri. Modern C++ ta dile eklendi.
Öyle bir ifadeki, Derleyici bu ifadenin karşılığında, bu ifadenin bulunduğu yerde bir sınıf tanımlıyor ve bu sınıfa function cağrı operatör functionunu yazıyor,
dolayısıyla derleyicinin oluşturduğu sınıf bir functor c... | [
"noreply@github.com"
] | noreply@github.com |
b47ba42fce77ec4c4f4bd89a1ebeb8dc2618cb38 | d80e0133a716732b6906b8e60eb9179d596fcd18 | /CharacterArray.cpp | 08803c4a37fb84902fce9474609cf46d38f90ab7 | [] | no_license | elijahverdoorn/SD-Project-Spring-15 | 24cdf8fd5870db473c2ded2cc3dc7636d767be74 | 8c41c64ab01478ec84f1035b60feb9a0616231e9 | refs/heads/master | 2021-05-01T02:39:17.278670 | 2015-05-27T02:37:08 | 2015-05-27T02:37:08 | 34,302,490 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,897 | cpp | #include <iostream>
#include "Character.h"
#include "CharacterArray.h"
//constructors
CharacterArray::CharacterArray()//default
{
numCharacters = characterVector.size();
}
//deconstructor
CharacterArray::~CharacterArray()//needed?
{
}
//member methods
int CharacterArray::getNumCharacters()//return the num tiles
{
... | [
"elijahverdoorn@gmail.com"
] | elijahverdoorn@gmail.com |
4e12ad78823002586bd134121101b10e46498d6a | cf7ad7024ff8b5fc0f129b858915f4d191138669 | /ofApp.cpp | 6a0a3b01d9163c291951fbaf292564400d6b629f | [] | no_license | junkiyoshi/Insta20210314 | c84f0504c83941ec3c1a4181b2390d7b375fba41 | c236df867036f26a8555ce4d8ab92e5201352013 | refs/heads/main | 2023-03-17T20:54:16.474638 | 2021-03-14T09:36:49 | 2021-03-14T09:36:49 | 347,595,559 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,469 | cpp | #include "ofApp.h"
//--------------------------------------------------------------
void ofApp::setup() {
ofSetFrameRate(60);
ofSetWindowTitle("openFrameworks");
ofBackground(239);
ofEnableDepthTest();
this->frame.setMode(ofPrimitiveMode::OF_PRIMITIVE_LINES);
}
//--------------------------------... | [
"noreply@github.com"
] | noreply@github.com |
291c0c737ea7ada3f7346ee7605e9c8f2a573702 | a6e8fac6eb2d89c6d5d29a550ea362345d6a0a4d | /LAB/LAB062816/Grade_switch_independent/main.cpp | 9c56d389cb533b83e57a90de9fa5212e181c78f6 | [] | no_license | wongkjanice/WongJanice_CSC5_Summer2016 | 4dfb1ab17faf31a935ef313946f2e33d2da3dd1e | 7c7567fd396ac2e6ec5f2444319902be1228a617 | refs/heads/master | 2021-01-19T03:40:33.831922 | 2016-07-27T20:44:21 | 2016-07-27T20:44:21 | 61,826,862 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 979 | cpp | /*
* File: main.cpp
* Author: Janice Wong
* Created on June 28, 2016, 12:34 PM
* Purpose: Grades with independent ifs
*/
//System Libraries
#include <iostream> //Input/Output Library
using namespace std; //Namespace of the System Libraries
//User Libraries
//Global Constants
//Function Prot... | [
"noreply@github.com"
] | noreply@github.com |
9b2a4648a4c6bd378d7a1f536e53c13c379903dd | 1563cb281dda306bba4c5bd359aac03a10f744cf | /vs2008/CwcaKGOcxDemo/CwcaKGOcxDemo/CwcaKGOcxDemo.cpp | ffa28caea405c9c7b9af3c5e9e9f70b236fb15fb | [] | no_license | Michael-prog/vs2017 | aa99e0adf34aba548353e0bf8597aa950b42c793 | 317603a4f5be71ef1455888d348d1b66f0ae17dd | refs/heads/master | 2022-02-12T11:53:24.170732 | 2018-09-30T05:45:18 | 2018-09-30T05:45:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,544 | cpp | // CwcaKGOcxDemo.cpp : Implementation of CCwcaKGOcxDemoApp and DLL registration.
#include "stdafx.h"
#include "CwcaKGOcxDemo.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
CCwcaKGOcxDemoApp theApp;
const GUID CDECL BASED_CODE _tlid =
{ 0x96D09F07, 0xCEF9, 0x4697, { 0x85, 0xB6, 0x1A, 0x8E, 0xA6, 0xAD, 0x6D, 0x42 }... | [
"yuetang1024@163.com"
] | yuetang1024@163.com |
834a006a08bfebbecb7145c020f202d2ebe23722 | ff19abdc88348f6e6d9c50365a99b2313a3ce1ba | /src/semtime.h | 678442f742c3f89fa93d02edbc0612c25f7f956a | [
"LicenseRef-scancode-warranty-disclaimer",
"BSD-3-Clause",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause"
] | permissive | mbedward/farsite | 2428cc259285625eac53059ea8b9c0b432f5f8c0 | 4537d60ab013fa91d0b49d8efb385ffb1b3ddd13 | refs/heads/master | 2021-10-24T06:29:22.080941 | 2021-10-21T05:50:50 | 2021-10-21T05:50:50 | 159,246,980 | 0 | 2 | NOASSERTION | 2018-11-26T23:32:06 | 2018-11-26T23:32:06 | null | UTF-8 | C++ | false | false | 5,638 | h | //------------------------------------------------------------------------------
/*! \file semtime.h
\brief SemTime class interface and declarations.
\author Copyright (C) 2005 by Collin D. Bevins.
\license This file is released under the GNU General Public License (GPL).
\version 1.0
*/
#ifn... | [
"nwagenbrenner@gmail.com"
] | nwagenbrenner@gmail.com |
113887b9b69d2e28b94a6b8962462ce770f2db2d | 1d928c3f90d4a0a9a3919a804597aa0a4aab19a3 | /c++/ClickHouse/2015/12/MergeTreeThreadBlockInputStream.h | 5aa8e5eb10d1a0208d79e44b03c2497e102b20de | [] | no_license | rosoareslv/SED99 | d8b2ff5811e7f0ffc59be066a5a0349a92cbb845 | a062c118f12b93172e31e8ca115ce3f871b64461 | refs/heads/main | 2023-02-22T21:59:02.703005 | 2021-01-28T19:40:51 | 2021-01-28T19:40:51 | 306,497,459 | 1 | 1 | null | 2020-11-24T20:56:18 | 2020-10-23T01:18:07 | null | UTF-8 | C++ | false | false | 11,892 | h | #pragma once
#include <DB/DataStreams/IProfilingBlockInputStream.h>
#include <DB/Storages/MergeTree/MergeTreeData.h>
#include <DB/Storages/MergeTree/PKCondition.h>
#include <DB/Storages/MergeTree/MergeTreeReader.h>
#include <DB/Storages/MergeTree/MergeTreeReadPool.h>
namespace DB
{
/** Used in conjunction with Mer... | [
"rodrigosoaresilva@gmail.com"
] | rodrigosoaresilva@gmail.com |
a7ef411706082fa25ee919a80b2b2b90e023a9c1 | 1f4935d0da7d1347e1b4980d0a4d111fe0880a34 | /rpn_prediction.cpp | 86efba874a9863c197e5d46d51912ac79dc98e78 | [] | no_license | kltsyn/region-proposal-network | f461c4f7e8469211dd268524eedbfac0d7d50592 | 3cdfce03f9e50840da11ab70d3e90013325313df | refs/heads/master | 2021-01-21T05:29:57.173002 | 2016-07-14T10:40:21 | 2016-07-14T10:40:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,216 | cpp | #include "rpn_prediction.h"
#define ANCHOR_NUMBER 8
RPN_detector::RPN_detector(const string& model_file,
const string& trained_file,
const bool use_GPU,
const int batch_size, const int devide_id) {
if (use_GPU) {
Caffe::set_mode(Caffe::GPU);
Caffe::SetDevice(devide_id);
useGPU_ = true;
}
else {
Caffe... | [
"yihuihe@foxmail.com"
] | yihuihe@foxmail.com |
737937021ed2826dec67c805b9f961276d727c1c | c6a29c01ab6bc520d2778f8760a2eb28a011b727 | /libraries/WEMOS_Matrix_LED_Shield_Arduino_Library-master/examples/intensity/intensity.ino | 44eec9eb0042af3bfa8d4a8ca1f1eadc2227b399 | [] | no_license | sepolab/DYI_Smart_Home | fc845f538dd07987c925845e561fe31b1e1a3534 | d634e50a1bdc34a133c4b5099d322f89e251eb8d | refs/heads/master | 2020-04-23T12:05:28.273110 | 2017-08-18T14:55:19 | 2017-08-18T14:55:19 | 98,498,904 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 310 | ino | #include <WEMOS_Matrix_LED.h>
MLED mled(0); //set intensity=0
void setup() {
Serial.begin(115200);
for(int i=0; i<8; i++)
{
mled.disBuffer[i]=0xff; //full screen
}
}
void loop() {
for(int i=0;i<8;i++){
mled.intensity=i;//change intensity
mled.display();
delay(1000);
}
}
| [
"tringuyen1506@gmail.com"
] | tringuyen1506@gmail.com |
b4a8232669c73a3e73407ddbec4ee91e076e9825 | 30923bc1db6d45229dea87af33546f4e212a02ed | /Trees/intro.cpp | f2785f98fc12d35b2e72f51b2febfa7833880d58 | [] | no_license | aggarwalmanish/coding_practice | 90d00806dae03c49fde379e28fcf4db04e89736b | af9c27e4f1c04ac6f1a88ce492b061a6a45d9ef4 | refs/heads/master | 2023-05-13T19:44:02.734076 | 2021-06-08T19:29:47 | 2021-06-08T19:29:47 | 335,216,972 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 471 | cpp | #include <iostream>
using namespace std;
struct Node {
int data;
struct Node *left;
struct Node *right;
Node (int val){
data = val;
left = NULL;
right = NULL;
}
};
int main(){
struct Node* root = new Node(1);
root->left = new Node(2);
root->right = new Node(... | [
"managgar@ciena.com"
] | managgar@ciena.com |
68d79ee008cf72aecd54929c00bb9df0fce2b3c2 | 6094e25ea0b7699e642463b48e51b2ead6ddc23f | /src/library/fun_info_manager.cpp | 474d180512311f81af9a95f80ab7d33f31ffd410 | [
"Apache-2.0"
] | permissive | gbaz/lean | a7835c4e3006fbbb079e8f8ffe18aacc45adebfb | a501c308be3acaa50a2c0610ce2e0d71becf8032 | refs/heads/master | 2021-01-21T03:13:11.433046 | 2015-12-28T21:45:11 | 2015-12-28T21:45:11 | 48,713,797 | 0 | 0 | null | 2015-12-28T21:42:19 | 2015-12-28T21:42:19 | null | UTF-8 | C++ | false | false | 6,440 | cpp | /*
Copyright (c) 2015 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura
*/
#include <algorithm>
#include "kernel/for_each_fn.h"
#include "kernel/instantiate.h"
#include "kernel/abstract.h"
#include "library/replace_visitor.h"
#incl... | [
"leonardo@microsoft.com"
] | leonardo@microsoft.com |
543615e1c63f6e25a5fe2437f35c3464786ac174 | fb6b75c3348a384b87f8c0736c11e3846544c31c | /DxDispatch/src/dxdispatch/Adapter.cpp | e04196b759539ae07e52089091cedfb31764700a | [
"LGPL-2.1-or-later",
"MIT",
"Apache-2.0",
"GPL-3.0-only",
"LicenseRef-scancode-generic-cla"
] | permissive | microsoft/DirectML | abcf90a6ecdded088da1636567bc111c43aca3a6 | ce57292b4214b63f1aaf636a69d64e3a8b581015 | refs/heads/master | 2023-08-27T22:08:27.587128 | 2023-08-26T03:28:45 | 2023-08-26T03:28:45 | 175,103,120 | 1,405 | 222 | MIT | 2023-09-14T16:44:45 | 2019-03-12T00:08:04 | Python | UTF-8 | C++ | false | false | 4,030 | cpp | #include "pch.h"
#include "Adapter.h"
using Microsoft::WRL::ComPtr;
Adapter::Adapter(IAdapter* adapter, std::shared_ptr<DxCoreModule> dxCoreModule)
: m_adapter(adapter), m_dxCoreModule(std::move(dxCoreModule))
{
#ifdef _GAMING_XBOX
assert(adapter == nullptr);
m_description = "Xbox";
m_driverVersion =... | [
"noreply@github.com"
] | noreply@github.com |
b686facc2f64de77a41f675a5d5e7470cf52bca7 | adb146dc2314b05a4b2770e31621d9477cdd9f60 | /c++/iostream_examples/octal_hex.cpp | 84e599224159e37c11e0806c5a679afd87fe0120 | [] | no_license | duonghanu/cookbook | bccc1da14ed6aecb369cf75c32c38f9d975535c5 | 00594b85301c3f4d3f1081eb390549e8d1a2b70b | refs/heads/master | 2020-05-25T15:42:16.680764 | 2016-07-31T19:31:59 | 2016-07-31T19:31:59 | 69,947,299 | 1 | 0 | null | 2016-10-04T08:37:31 | 2016-10-04T08:37:31 | null | UTF-8 | C++ | false | false | 383 | cpp | #include <iostream>
using namespace std;
int main() {
int x = 10;
cout << x << endl;
cout << oct << x << endl;
cout << hex;
cout << x << endl;
cout.setf(ios::uppercase);
cout << x << endl;
cout.setf(ios::showbase);
cout << x << endl;
cout.unsetf(ios::uppercase);
cout.unse... | [
"nanodano@devdungeon.com"
] | nanodano@devdungeon.com |
f9d705b4b9326784b477d947af1651b7a9eb012b | aa2ac425a8bb957a26763ae17e50d50f1cce8956 | /src/Addons/GeoWay/gwXML_StandardMetaData/type_gco.CDate_PropertyType.h | 6eea6bd13f7ae7229f6e1293f5d39d00dd6a5a12 | [] | no_license | radtek/CGISS | c7289ed19d912c432aae81d0cdbb6b080b4f5458 | 3f7cfa19d8024a67a5350d51e3f2f40a5e203576 | refs/heads/master | 2023-03-16T21:23:56.948744 | 2017-06-17T14:14:09 | 2017-06-17T14:14:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,171 | h | #ifndef _ALTOVA_INCLUDED_gie_ALTOVA_gco_ALTOVA_CDate_PropertyType
#define _ALTOVA_INCLUDED_gie_ALTOVA_gco_ALTOVA_CDate_PropertyType
namespace gie
{
namespace gco
{
class CDate_PropertyType : public TypeBase
{
public:
gie_EXPORT CDate_PropertyType(xercesc::DOMNode* const& init);
gie_EXPORT CDate_PropertyType(CDa... | [
"hekaikai@live.cn"
] | hekaikai@live.cn |
3336a51bcce4ac52e4fe9f58684dd99240ef33b6 | 0df9c4d6a648af69bd1d4e8babedfbb54372d85b | /RT/FindPaths/aabb.h | b6600d0b13aad4e8547fc141a7fd51b19fa6f2c8 | [] | no_license | stjordanis/Miscellaneous | 9ba10f18c700e906c8846f95e34a0960de914820 | 058b5401634e3ceb4818bf592250928b0311b696 | refs/heads/master | 2020-04-29T08:52:20.801846 | 2019-01-30T13:18:36 | 2019-01-30T13:18:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,717 | h | #ifndef __AABB_H__
#define __AABB_H__
#include "vec3.h"
#ifdef __CUDACC__
#define HOST_DEVICE_INLINE __host__ __device__ inline
#else
#include <cmath>
#define HOST_DEVICE_INLINE inline
#endif
/***************/
/* AABB STRUCT */
/***************/
struct aabb {
bool empty;
vec3 min_vec;
vec3 max_vec;
... | [
"noreply@github.com"
] | noreply@github.com |
1dd4f6a6d9c607d629228e7459f3797321c3e48d | e66bdcce31d146af9844d1bc0aea5f8173cf1730 | /Isomorphism/Isomorphism/Main.cpp | 56a0b43f207fd3132ba293904a92b4308127b421 | [] | no_license | OlegZuev/C-- | 24e5fa652d4f8b14b081f24370b3bcada7c1cfc1 | cab69130c776f6e75d1a27b79a97611e4e09d832 | refs/heads/master | 2020-04-01T20:30:34.747239 | 2019-12-05T09:50:29 | 2019-12-05T09:50:29 | 153,607,261 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 735 | cpp | #include <iostream>
#include <fstream>
#include "Tree.h"
using namespace std;
int main() {
setlocale(LC_ALL, "Russian");
string input = "input.txt";
ifstream fin(input);
string line;
fin >> line;
if (!checkCorrectness(line)) {
cout << "Некорректные данные";
return -1;
}
... | [
"olegase123@gmail.com"
] | olegase123@gmail.com |
3295233d11044daab7081ec34a2dcb9461474d68 | 8dc84558f0058d90dfc4955e905dab1b22d12c08 | /remoting/protocol/data_channel_manager_unittest.cc | 2e73b8dc73bf3eb95bbe2ada250159339b49ebe1 | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | meniossin/src | 42a95cc6c4a9c71d43d62bc4311224ca1fd61e03 | 44f73f7e76119e5ab415d4593ac66485e65d700a | refs/heads/master | 2022-12-16T20:17:03.747113 | 2020-09-03T10:43:12 | 2020-09-03T10:43:12 | 263,710,168 | 1 | 0 | BSD-3-Clause | 2020-05-13T18:20:09 | 2020-05-13T18:20:08 | null | UTF-8 | C++ | false | false | 8,452 | 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 "remoting/protocol/data_channel_manager.h"
#include <map>
#include <utility>
#include "base/bind.h"
#include "base/message_loop/message_loop.h"... | [
"arnaud@geometry.ee"
] | arnaud@geometry.ee |
ef6a644d684b2838095dfa4904e0812d99aa8862 | 2f988e2af85ae16a2889cccec794f6ad3277c4d9 | /cpp02/ex01/srcs/main.cpp | bd5f5059e917fa9aa007a4165f0f506c3320aa47 | [] | no_license | hassansaadfr/cpp | e64053f0d52ea0a4129ebe0e867055acc2f872fa | 0fba3f57df6e2627adec51f8ad9e6caca38b11d5 | refs/heads/master | 2023-08-23T13:51:57.134532 | 2021-09-27T17:47:47 | 2021-09-27T17:47:47 | 403,117,946 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 597 | cpp | #include <iostream>
#include "Fixed.hpp"
int main(void) {
Fixed a;
Fixed const b(10);
Fixed const c(42.42f);
Fixed const d(b);
a = Fixed(1234.4321f);
std::cout << "a is " << a << std::endl;
std::cout << "b is " << b << std::endl;
std::cout << "c is " << c << std::endl;
std::cout << "d is " << d << std::endl;
... | [
"saadaoui.hassan@laposte.net"
] | saadaoui.hassan@laposte.net |
4ff7bdfd937337349715cb2020a946cd62f5fee4 | 63f750e0a1d37912ea57a8b5996b84db96333727 | /turtleGMock/Painter.h | 5d108ab41151f24f4bc0da980a36f4e6ee70d742 | [] | no_license | BorisMomot/ClionTests | 42d4bb20ac9b1ef9dbc3e5949df007d357a31fab | 9e8e07d063995c730e8f4951be85db2b60dc7a08 | refs/heads/master | 2021-01-20T19:34:32.588201 | 2016-08-23T23:04:34 | 2016-08-23T23:04:34 | 64,412,463 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 481 | h | //
// Created by boris on 24.08.16.
//
#ifndef LEARNINGTEST_PAINTER_H
#define LEARNINGTEST_PAINTER_H
#include "Turtle.h"
class Painter {
public:
Painter(Turtle &turtle);
bool DrawCircle(const int x, const int y, const int r);
bool DrawLine(const int x1, const int y1, const int x2, const int y2);
bool... | [
"bolik-u13@mail.ru"
] | bolik-u13@mail.ru |
4235da6c345c2844cac8f4e1c9e6c58e344f7da2 | 61562e3a4cec4c27b4a603b04e01a60b0bb1d73d | /Main/lib/Memory/Remote/Process/Providers/RemoteProcessThreadsProvider.cpp | aaf8c79ff175326884f32c921e8910a864776d5b | [
"MIT"
] | permissive | WasserEsser/CSGO.CLI | 10dceeb40397fb81cc344b602e4a7956141f3bba | 6e7bb689cefd443262264f8d288128d6c7c2e57e | refs/heads/master | 2021-01-22T05:28:23.922398 | 2017-02-08T21:26:14 | 2017-02-08T21:26:14 | 81,665,134 | 1 | 0 | null | 2017-02-11T16:24:32 | 2017-02-11T16:24:32 | null | UTF-8 | C++ | false | false | 828 | cpp | #include "RemoteProcessThreadsProvider.h"
#include <TlHelp32.h>
namespace Memory
{
bool RemoteProcessThreadsProvider::Provide( DWORD processId, std::vector<DWORD>* threadIdsPtr ) const
{
auto snapshotHandle = CreateToolhelp32Snapshot( TH32CS_SNAPTHREAD, 0 );
if( snapshotHandle == INVALID_HAND... | [
"Y3t1y3ts-Project@web.de"
] | Y3t1y3ts-Project@web.de |
7c606b02919713cf25ad605a4e8f9fd86e9ec95a | 0424e59184c8273576c376b76cb427e51fa44cf8 | /week3/ants.cpp | 7f75aa2845aa7cd5d82d95f06683c9050af11057 | [] | no_license | gm561/algo_lab_to_exam | 902d3ba74ca8ac8540ffc463d5fc34b74fc9e5c2 | 7d1ce580e129cbf063aea936aaa2b483d43d4977 | refs/heads/master | 2020-04-10T20:12:48.901109 | 2013-01-13T16:50:30 | 2013-01-13T16:50:30 | 7,285,807 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,391 | cpp | #include <iostream>
#include <boost/graph/breadth_first_search.hpp>
#include <boost/graph/adjacency_list.hpp>
#include <boost/graph/kruskal_min_spanning_tree.hpp>
#include <boost/foreach.hpp>
#include <boost/graph/dijkstra_shortest_paths.hpp>
#include <boost/graph/visitors.hpp>
#include <boost/foreach.hpp>
using name... | [
"noemail@noemail.com"
] | noemail@noemail.com |
b7b59acb23d7dc74cb47ded12d28c44b4b5592a6 | 16ef3a60f4b9fb597ae4acfeed50e2b1b66b6fc2 | /money_matters/main.cpp | 322c85ae07705378f84b3d22f201ec09e5cbf839 | [] | no_license | OMMatte/popup5 | a2ac4052b7f96f7d2422ded5b3d15fd63c5bb7fd | 0714e9528e6f5c5bbc99679f52fb7a711cfc9ea0 | refs/heads/master | 2021-01-10T22:06:03.847992 | 2014-02-28T12:27:58 | 2014-02-28T12:27:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,130 | cpp | // Created by Mathias Lindblom on 2014-01-27.
// Copyright (c) 2014 Mathias Lindblom. All rights reserved.
//
#include <iostream>
#include <vector>
#include <sstream>
#include <iterator>
#include <set>
void switchGroup(std::vector<int> & from, std::vector<int> & to, int* friendGroupInfo, int newPos) {
for(int i... | [
"mathias.lindblom@trustly.com"
] | mathias.lindblom@trustly.com |
9ad0e244cd0ae49d7406abbdd28f16d2d84081b6 | d6f4500063f117beef36518fe27b9838d6072385 | /analysis/src/botho_V4.cc | dc55f44132f324c9c0b0811792a3e9e6a1fe9e64 | [] | no_license | terzo/tbmon_mppfork | c4b3db12dbd8c065d1bc3b8c485353c1b3e15e51 | f63cbb96112f07ec82970fdd380b6d501743be6b | refs/heads/master | 2020-12-31T04:29:27.364394 | 2016-02-10T15:13:15 | 2016-02-10T15:13:15 | 51,448,395 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 39,039 | cc | /** \file botho.cc
\brief source file for Botho's analysis
Botho's analysis
written by Botho Paschen bpaschen@mppmu.mpg.de
*/
#include "botho.h" // include obvious header for the analysis
///////////////////////////////////////////////
/// INITIALIZATION OF ANALYSIS
/////////////////////////////////////////////... | [
"terzo@mpp.mpg.de"
] | terzo@mpp.mpg.de |
4f611cc5bcd0e35cf2d2c9c6a9748d56528b8381 | b9f58c4b36ed2e2b2094c47980cd8daeda0b60b3 | /components/include/Box.h | 8d2a2126d11e01b60f32dcb5971d7d7307d4864b | [
"MIT"
] | permissive | matheusvxf/Water | ad5270e69187564ad79727cbc2bef7294706ecdd | a6a1b6c89755125c906ff3688eecfa887864f16d | refs/heads/master | 2020-05-30T05:33:40.051426 | 2015-04-21T22:55:48 | 2015-04-21T22:55:48 | 34,141,519 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 299 | h | #pragma once
#include "Geode.h"
#include "Shader.h"
class Box :
public Geode
{
private:
void init(float *points);
protected:
float *points;
GLuint vbo;
GLuint vao;
Shader *shader;
public:
Box();
Box(float *points);
virtual ~Box();
virtual void render();
}; | [
"matheusventuryne@gmail.com"
] | matheusventuryne@gmail.com |
c17d5b8a75c55e17d0a281c5bfbc7afdc5cd220f | eeedc65ef99590d8316963717d1012cc6c90c9c5 | /src/test/base58_tests.cpp | 621fe27214e8e75e61e7dfcbc267b92e2b9d8645 | [
"MIT"
] | permissive | BayerTM/DraftCoinZ | e277353042c908373738bce65716c38ab0cbc0ff | 217db2822a320d278d93dda4d3cd5dc4d01764f2 | refs/heads/main | 2023-06-01T00:54:12.511923 | 2021-06-09T21:35:24 | 2021-06-09T21:35:24 | 362,256,925 | 0 | 0 | MIT | 2021-04-27T22:23:49 | 2021-04-27T21:33:59 | null | UTF-8 | C++ | false | false | 10,579 | cpp | // Copyright (c) 2011-2015 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 "base58.h"
#include "data/base58_encode_decode.json.h"
#include "data/base58_keys_invalid.json.h"
#include "data/ba... | [
"james@xmc.com"
] | james@xmc.com |
3fa5a1762b2adcc68e0253d58060572e72be62fc | 4120d15ffaf7ffd7af2edf2e651c395f063e101f | /atcoder/old/abc160b.cpp | 0ed69b54ade7260ec16e7768683733f30a6ae8be | [] | no_license | Asa-to/c-prac | f6cf1021fe82ab0632e3ce36f5c71c8cbbf94328 | e01d6ea9abe7502f7db644cec6952c7d72845ebe | refs/heads/master | 2022-06-12T08:51:00.633265 | 2022-05-25T04:58:49 | 2022-05-25T04:58:49 | 252,183,508 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 402 | cpp | #include <bits/stdc++.h>
using namespace std;
int main(void){
int sum = 0;
int x; cin >> x;
while(true){
if(0 <= x - 500){
sum += 1000;
x -= 500;
}else {
break;
}
}
while(true){
if(0 <= x - 5){
sum += 5;
x ... | [
"sethuna03@gmail.com"
] | sethuna03@gmail.com |
b59b2b950c56c28753f4836091b9737053dc064c | 0ce58323f00243f646ab786d58ea3d655b7bb789 | /MyProject2/Source/MyProject2/Public/TankAimingComponent.h | dc2c1fbb567d9de03cee2f873424e29978d8ddb6 | [] | no_license | ashtonmills/BattleTank | 297bcc1ebacfa493f4bfa46e3ed09edc06bf7ffc | d2b2ca2c97573cfadbc6add09082cfa088113dc6 | refs/heads/master | 2020-07-17T13:08:30.967282 | 2019-11-06T14:55:22 | 2019-11-06T14:55:22 | 206,022,611 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,138 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Components/ActorComponent.h"
#include "Runtime/Engine/Classes/Components/SceneComponent.h"
#include "Tank.h"
#include "Runtime/Engine/Classes/GameFramework/Actor.h"
#include "Runtime/Engine/C... | [
"ashton-mills@outlook.com"
] | ashton-mills@outlook.com |
c114ea428b6e5e771cea37f20879d84d287e9122 | 6f5ba0283a0ced29deeefc558f9155399593f419 | /Project 1/Code/cs130a/newproject4/quick_sort.h | a6d256aa3c9cadd1462d81943bb025946cbf3617 | [] | no_license | sarahdarwiche/Compiler_Projects | b109b8580cb1c6bf0940f26b3e3471233e5b9b05 | 91766c91c62681dc66ad1e0bcffecf2fce0692b1 | refs/heads/master | 2021-01-10T04:00:52.445449 | 2017-07-04T22:19:41 | 2017-07-04T22:19:41 | 55,661,352 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 257 | h | #ifndef QUICK_SORT_H
#define QUICK_SORT_H
#include <vector>
#include <assert.h>
using namespace std;
void quick_sort(vector<int> &array);
void quicksort(vector<int> &array, int i, int k);
int partition(vector <int> &array, int left, int right);
#endif | [
"sarahadarwiche@gmail.com"
] | sarahadarwiche@gmail.com |
e954caa0ccae21c636bf3c5d110e29d7ce46d72a | 64c511bb0c1a61134966ff03a46d2f2802cda379 | /codeforces/jeffDigit.cpp | 4d14b6903652262d7306763d2f19ab7cd6d12e45 | [] | no_license | ria28/Data-Structures-And-Algorithms | 96f2278e35c4a1bb346d81fbea0e9da0f57c90c0 | 3225ba1b3dec9c2f77d6b2c9cc5cb9933cbb306d | refs/heads/master | 2023-06-08T07:50:57.422775 | 2021-07-03T11:43:10 | 2021-07-03T11:43:10 | 278,084,625 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,066 | cpp | #include <iostream>
#include <string>
#include <unordered_set>
#include <unordered_map>
#include <vector>
#include <algorithm>
#include <queue>
#include <climits>
#define ll long long
using namespace std;
#define f_loop(i, s, e) for (int i = s; i < e; i++)
#define f_long(i, s, e) for (long long i = s; i < e; i++)
#defi... | [
"riajaiswal28@gmail.com"
] | riajaiswal28@gmail.com |
1e09c5e391c4432e9c2c2baae13701fe43210e30 | fac52aacf1a7145d46f420bb2991528676e3be3f | /SDK/LevelAttributes_classes.h | 2b0337b37ecf246d4e0faf9336201b1e3e29943b | [] | no_license | zH4x-SDK/zSCUM-SDK | 2342afd6ee54f4f0b14b0a0e9e3920d75bdb4fed | 711376eb272b220521fec36d84ca78fc11d4802a | refs/heads/main | 2023-07-15T16:02:22.649492 | 2021-08-27T13:44:21 | 2021-08-27T13:44:21 | 400,522,163 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,943 | h | #pragma once
// Name: SCUM, Version: 4.20.3
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
// Classes
//---------------------------------------------------------------------------
// WidgetBlueprintGeneratedClass LevelAtt... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
37baae82cd3747de8d0b2048f627d7b4ea174a4a | 8b1a3eeff611077f9db97e8683207398db57bd00 | /poj/poj1007.cpp | f35bf0ebf71a64db69d6fa4d2823e138017140ba | [] | no_license | cww97/OJcww97 | 04eec3f25e18ac8d7f6d6589fd1cd747e49a095d | a040fe9993b2f41719f8c43fd68d47e8a01b7519 | refs/heads/master | 2020-05-17T23:47:57.315548 | 2019-04-29T09:44:40 | 2019-04-29T09:44:40 | 65,736,921 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 545 | cpp | #include<cstdio>
#include<string>
#include<iostream>
using namespace std;
int n,m,i,j,tp,s[111];
char ch;
string a[111],st;
int sorted(int x){
int kk=0;
for (int i=0;i<n;i++)
for (int j=i+1;j<n;j++)
if (a[x][i]>a[x][j]) kk++;
return kk;
}
int main (){
scanf("%d%d%c",&n,&m,&ch);
for (i=1;i<=m;i++){
getl... | [
"cww97@vip.qq.com"
] | cww97@vip.qq.com |
dde10cef534ace77f8efafae64efe296b825414b | 580640d37bbe8fda09544dacc2f283950982c910 | /Framework-Headers/PrivateFrameworks/CoreHandwriting._framework/Objc/CDStructures.h | ea6bf5e2dfeb3952eb68c668984fc930277fe0c1 | [] | no_license | oxLeslie/iOS-Header | 3a588ba9ec67bdf62396b8fd52f3754b7723ef3e | b851261aaab9907b0f7e309be2abd25747efdf78 | refs/heads/master | 2023-03-17T05:06:29.255250 | 2020-12-29T03:12:13 | 2020-12-29T03:12:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 63,378 | h | //
// Generated by class-dump 3.5-MH (64 bit).
//
// Copyright (C) 1997-2019 Steve Nygard.
//
#pragma mark Blocks
typedef void (^CDUnknownBlockType)(void); // return type and parameters are unknown
#pragma mark Named Structures
struct CGAffineTransform {
double _field1;
double _field2;
double _fiel... | [
"1211153686@qq.com"
] | 1211153686@qq.com |
201822e7671c681d9f5220991196d6d89817791e | f6f880acc6ba45fc30787de587ab35f913c270d8 | /test/parallel_api/algorithm/alg.sorting/alg.set.operations/set_difference.pass.cpp | e3ac110883f9dc75ce8ccccd0420c06c9d00a764 | [
"Apache-2.0"
] | permissive | oneapi-src/oneDPL | 282e44738cac9c35bbc9c155e71126747f72701a | 4ebd7e36075b8f28a6604cc1c309d4ac99c9f9ad | refs/heads/main | 2023-09-04T00:19:00.510055 | 2023-09-01T19:08:12 | 2023-09-01T19:08:12 | 104,271,404 | 213 | 74 | null | 2023-09-14T16:26:47 | 2017-09-20T21:54:13 | C++ | UTF-8 | C++ | false | false | 1,171 | cpp | // -*- C++ -*-
//===----------------------------------------------------------------------===//
//
// Copyright (C) Intel Corporation
//
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
// This file incorporates work covered by the following copyright and permission
// notice:
//
// Part of the LLVM Projec... | [
"noreply@github.com"
] | noreply@github.com |
45a389040982feb7fa507c962ab0b98e15180bd5 | 0201b8c0c3fe4cefb69135c321095da7fd2e7096 | /Projects/Project 2/glutapp3dSuperquadric/gsim/gs_manager.h | 4eb25809439b55bd7687b8830be6d7fab6cb5ad8 | [] | no_license | ringmaj/CSE-170 | 184232ff60ba0f7fa367062f11fc89767f5eaeb7 | 28d9aa88141452b11ede7ce6e4b80fe21daa9e80 | refs/heads/master | 2020-12-30T15:21:45.770577 | 2017-05-12T21:40:53 | 2017-05-12T21:40:53 | 91,129,779 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,208 | h | /*=======================================================================
Copyright 2013 Marcelo Kallmann. All Rights Reserved.
This software is distributed for noncommercial use only, without
any warranties, and provided that all copies contain the full copyright
notice licence.txt located at the base ... | [
"mring3@ucmerced.edu"
] | mring3@ucmerced.edu |
850358d6148a3ed791bf33c50f1c305ab0790086 | d35089592cd503fbd74db2dbb76a33b836593548 | /two-pointers/2-A.cpp | a4a6b2571dcb34a06f7322088feb4ade4e50228a | [
"MIT"
] | permissive | SAgarwal-24/Learning-ITMO-Academy-Pilot-Course | 19fadd2412c25397b7f82911e72e5ea6ffb4cda8 | 3151a4236e3432395fecdfcc365e2064180cc2c6 | refs/heads/main | 2023-04-27T21:55:11.130588 | 2021-05-09T11:41:53 | 2021-05-09T11:41:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 740 | cpp | // A. Segment with Small Sum
// https://codeforces.com/edu/course/2/lesson/9/2/practice/contest/307093/problem/A
#include <bits/stdc++.h>
using namespace std;
int main() {
ios::sync_with_stdio(false);
cin.tie(nullptr);
unsigned n;
unsigned long long s;
while (cin >> n >> s) {
vector<unsig... | [
"keith1126@126.com"
] | keith1126@126.com |
a43354fd35c5c9d04dab89c6b1992418027e6c34 | d9b1c78c5c0f15a91d7b4db7136567a9ec470a2e | /boost/numeric/mtl/vector/vec_scal_mixed_expr.hpp | 2ebe0ba3bc918e54ed0bf337ef13349c9b70d0e2 | [
"MTLL"
] | permissive | simunova/mtl4 | eff9f8c0dca66cd2a3a2573b24a287be38f9f02a | 09d8523d59baf5fdec29f3509a63babc2763af4a | refs/heads/master | 2021-06-19T08:36:42.145155 | 2021-03-05T20:58:21 | 2021-03-05T20:58:21 | 177,810,098 | 28 | 18 | null | 2021-03-05T20:58:21 | 2019-03-26T14:53:13 | C++ | UTF-8 | C++ | false | false | 3,988 | hpp | // Software License for MTL
//
// Copyright (c) 2007 The Trustees of Indiana University.
// 2008 Dresden University of Technology and the Trustees of Indiana University.
// 2010 SimuNova UG, www.simunova.com.
// All rights reserved.
// Authors: Peter Gottschling and Andrew Lumsdaine
//
/... | [
"theo@stillwater-sc.com"
] | theo@stillwater-sc.com |
e052340aae09f92934d2e13b8d0d055c36044621 | 3f66a6741f4ea06903d53c141b451f051457c393 | /CanSat/MS2/AntiguosMS2/SimpleVital-3.00/aprs.cpp | c7f8d33abcb314dc19320ad7ce823d67ea92f747 | [] | no_license | jorgelserve/MS3 | 3d7fa1e3173864ce7f20543c027e18da7e0bf482 | 576c2b9e6d9c7a9b24e581e513ba04bb05fb53be | refs/heads/master | 2020-03-21T03:36:03.751643 | 2018-05-02T05:37:58 | 2018-05-02T05:37:58 | 138,063,172 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,603 | cpp | /* trackuino copyright (C) 2010 EA5HAV Javi
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is di... | [
"julian.galvez.s@gmail.com"
] | julian.galvez.s@gmail.com |
cd13a5b9c3b91cafa191594984a291e8559732ef | 908e18acd38e32a66510aad0736298e5c5c2942f | /src/init.cpp | 14c8bf9a88e9553e5f6e7b7e50764c25c695aa62 | [
"MIT"
] | permissive | MikeG73/Washers | caf5d27902dcea4339916b944107a39faa25e473 | 055f37d345635aa8bc138d5b43f2d9316105e71e | refs/heads/master | 2016-09-08T01:10:41.033074 | 2014-07-24T20:06:01 | 2014-07-24T20:06:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 29,480 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Copyright (c) 2011-2012 Litecoin Developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "db.h"
#include "walletdb.h... | [
"miningrig001@gmail.com"
] | miningrig001@gmail.com |
8f22d5aa813bcc101d8f3b4710add810857b056c | c6778697ea5d0698cc996f13ff761398f2fabb47 | /string.cpp | b71f3eed189f4bc1cf9e7f30964201cf852c8fc9 | [] | no_license | RimChy/Codeforces | 1ba6db1c62cdf11f3c9e1ba906687c7c5b9952a4 | 6a076c4c393b03076d2e0a4292a737a300a6d9a2 | refs/heads/master | 2022-11-21T05:00:09.791766 | 2020-07-25T14:26:08 | 2020-07-25T14:26:08 | 265,472,139 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 649 | cpp | #include<iostream>
#include<string>
#include<stdlib.h>
using namespace std;
int main()
{
string str0="ABCDEFGH";
string str1="ABCDEFGH";
string str2="Extinction is the rule.";
string str3="Survival is the exception.";
cout<<"Is str0 & str1 same: "<<(str0==str1)<<endl;
string str4=... | [
"noreply@github.com"
] | noreply@github.com |
8a1fc030db1c856e59170111fb5352fca5cf043c | 20fb50e6dea78134325c9811394d058be2bc7f49 | /3DProgramming/angle_util/geometry_utils.h | d5387efb6d7d70b7be0cb1e417b1a17f652f8785 | [] | no_license | Vu5e/3DGameProgramming | c902688473c1d2420dbb8c4b2da2d108b81a544e | fd94a4953e6ffbfbffaff416d3b71be0ad22305e | refs/heads/master | 2020-04-12T00:06:22.503887 | 2018-12-17T21:02:07 | 2018-12-17T21:02:07 | 162,189,189 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 861 | h | //
// Copyright (c) 2014 The ANGLE Project 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 SAMPLE_UTIL_GEOMETRY_UTILS_H
#define SAMPLE_UTIL_GEOMETRY_UTILS_H
#include <cstddef>
#include <vector>
#include <GLES2/... | [
"noreply@github.com"
] | noreply@github.com |
4e0330a580386be6676e75db045d2fcef97b68d4 | dd32ac77abc3f03447e30b55a0112c146165d83c | /lib5api3/src/main/public/lib5api3.h | e84e7f3e06a01809ec3ef14cea48d70d28f008ab | [] | no_license | big-guy/cpp-demo | 256d6a98f15317d3e9e2c57be41dfaaf1e92d5cf | 7e10e885c250a49ca0355e93a201ad9e8eeca6c1 | refs/heads/master | 2021-08-22T18:47:17.499027 | 2017-12-01T00:49:56 | 2017-12-01T00:49:56 | 112,660,596 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 744 | h | // GENERATED SOURCE FILE
#ifndef __LIB5API3__
#define __LIB5API3__
#ifndef EXPORT_FUNC
#ifdef _WIN32
#define EXPORT_FUNC __declspec(dllexport)
#else
#define EXPORT_FUNC
#endif
#endif
#define LIB6API1_H "lib6api1.h"
#include LIB6API1_H
#include "lib6api1.h"
/*
* Here is a type declaration.
*/
struct lib5api31 {
... | [
"sterling.greene@gmail.com"
] | sterling.greene@gmail.com |
bc149a177dcd37822a57e140657217390da86864 | 8f60a5ebc9f06354a588d19c9e6894eb2971b84b | /Controllo_remoto_da_Web/Controllo_remoto_da_Web.ino | f3845d019c651b31ad47e2afa87da85d291a0dc9 | [] | no_license | piercalderan/pierduino_Elettronica_DIY | cc8e067e63e4eef48c6bb1c17585450a5e68c9ee | acbba9cb7cbe01d0fda745f83db162c809b0bc2c | refs/heads/master | 2022-03-22T05:42:13.624981 | 2016-10-18T08:55:28 | 2016-10-18T08:55:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,639 | ino | #include <SPI.h>
#include <Ethernet.h>
#include <SD.h>
#define BUFFER_SIZE 20
byte mac[] = {0x90, 0xA2, 0xDA, 0x0D, 0x78, 0x13};
IPAddress ip(192, 168, 1, 20);
EthernetServer server(80);
File HTML_File;
char DATA_READ[BUFFER_SIZE] = {0};
char BUFFER_INDEX = 0;
int Flag_pin[10];
boolean Open_Home = false;
void setu... | [
"noreply@github.com"
] | noreply@github.com |
6db283e8ae7b16b050eae8a199587a0f502afc29 | a7978fa09b70b8209e29d89349c80a3cdc1705ee | /Day 7.cpp | 05b89e2434798ea8b0513f7db6e56de25972f011 | [] | no_license | vaishnavigoyal/January-LeetCoding-Challenge-2021 | f8e08b659f83ff28d4eb40ebe26620e16fa8707e | 8311bfc7fdd6bd95c6ca2d7a004aa859e8bfb746 | refs/heads/main | 2023-02-26T19:58:38.182290 | 2021-02-02T14:22:04 | 2021-02-02T14:22:04 | 326,361,099 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 504 | cpp | // Day 7
// Question : Longest Substring Without Repeating Characters
class Solution {
public:
int lengthOfLongestSubstring(string s) {
int len=0,temp=0;
set<char> st;
int i=0,j=0;
while(j<s.length())
{
if(st.find(s[j])==st.end())
{
s... | [
"vaishnavigoyal4@gmail.com"
] | vaishnavigoyal4@gmail.com |
b8e90ed1bd263eaad38059b1cfd67c090d424cbe | 647229ce5d1a4fb8f3d761ac2e697d9650c452e6 | /pcs_ros/src/image_extractor_node.cpp | 01ac2f9af52ff389c0c47471702ac093e8421cff | [
"Apache-2.0"
] | permissive | arkinrc/point_cloud_segmentation | 406559b635ef071d796f9ccf5229753be3d7a1ac | 56cdb6a05ee47827b4cb9428c4357ea30981176e | refs/heads/master | 2023-02-10T10:51:40.905328 | 2020-06-18T23:23:18 | 2020-06-18T23:50:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,054 | cpp | #include <cv_bridge/cv_bridge.h>
#include <pcl_conversions/pcl_conversions.h>
#include <pcl_ros/point_cloud.h>
#include <pcs_detection/utils.h>
namespace pcs_ros
{
/**
* @brief This class is used for extracting an image from a point cloud for data collection
*
* This is similar in functionality to <node pkg="pcl_ro... | [
"matthew.powelson@swri.org"
] | matthew.powelson@swri.org |
85578adac9898bfedee5c2237785d39dc3162295 | 97bd2bc90481e59da387772cd414f07516e6f2cd | /pastel/gfx/texture/mipimage_texture.h | fc85c4588180212c2ebce1f652ff13eef83e8e89 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | kaba2/pastel | c0371639be222cfa00252420c54057a54a93a4a3 | c7fb78fff3cbd977b884e54e21651f6346165ff5 | refs/heads/master | 2021-11-12T00:12:49.343600 | 2021-10-31T04:18:28 | 2021-10-31T04:18:28 | 231,507,632 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,418 | h | // Description: MipImage_Texture class
// Detail: Image-based texture with linear reconstruction and mip-filtering.
#ifndef PASTELGFX_MIPIMAGE_TEXTURE_H
#define PASTELGFX_MIPIMAGE_TEXTURE_H
#include "pastel/gfx/texture/texture.h"
#include "pastel/gfx/mipmap/mipmap.h"
#include "pastel/sys/vector.h"
#inclu... | [
"kaba@hilvi.org"
] | kaba@hilvi.org |
fea2c3ebe5c6baf24d47d14a11a28b46e0838920 | 623af3ad610a00adf9269cd6527a9fddf919284f | /main.cpp | 248d1a8d70af7b61aca9e41c9ba08e9ca86505a1 | [] | no_license | marcinorzelowski/Barcode-decoder-39 | 2da9e1ee2519e1ad983d7c6f21f67f9c91c2d792 | d36f1d5674f20e42c4e0f7d45354cfaec8a4e400 | refs/heads/master | 2020-03-20T22:39:19.377584 | 2018-06-18T23:49:49 | 2018-06-18T23:49:49 | 137,808,649 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 956 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
extern "C" int decode(char *pic, int scan_line_no, char*text);
int main(int argc, char *argv[])
{
if(argc != 2)
{
printf("Pass only the name of bmp file and scanned line!\n");
return 0;
}
char text[50]={' '};
char *name = argv[1];
FILE *file;
ch... | [
"marcin.hubert.orzelowski@gmail.com"
] | marcin.hubert.orzelowski@gmail.com |
8ce69125309e959afd253b8739dd105149bff8c7 | 4d28185e7a78a569f9a449f39f183cac3024f711 | /packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libstdcpp/unique_ptr/main.cpp | dd0072764d4e65826e93dc1bd1f9661fc832cd8d | [
"NCSA",
"Apache-2.0",
"LLVM-exception"
] | permissive | apple/swift-lldb | 2789bf44f648609a1674ee520ac20b64c95de072 | d74be846ef3e62de946df343e8c234bde93a8912 | refs/heads/stable | 2023-04-06T00:28:15.882479 | 2019-10-25T22:46:59 | 2019-10-25T22:46:59 | 44,838,862 | 780 | 291 | Apache-2.0 | 2020-01-10T19:28:43 | 2015-10-23T21:13:18 | C++ | UTF-8 | C++ | false | false | 789 | cpp | #include <memory>
#include <string>
struct Deleter {
void operator()(void *) {}
int a;
int b;
};
struct Foo {
int data;
std::unique_ptr<Foo> fp;
};
int main() {
std::unique_ptr<char> nup;
std::unique_ptr<int> iup(new int{123});
std::unique_ptr<std::string> sup(new std::string("foobar"));
std::uni... | [
"tberghammer@google.com"
] | tberghammer@google.com |
93993608ccb7bff20eade897002c2a0b4dc7af7a | fa7ec98addf60647a0a26b03e8ace324109b2bfa | /k.cpp | 447155fbbd46289a3de0e3f039ece17df04479ae | [] | no_license | christ0208/TrainingAlgoH3 | 00dfb9479be6d1a450a10faa5e48785020381eb7 | f90e8bcaf88e2db765f45b3046fd158f6cd54aaa | refs/heads/master | 2020-06-13T12:07:37.798570 | 2019-07-01T10:03:35 | 2019-07-01T10:03:35 | 194,647,888 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 471 | cpp | #include<stdio.h>
typedef unsigned long long int ull;
int main(){
int testCase = 0;
scanf("%d", &testCase);
getchar();
for (int i = 0; i < testCase; i++)
{
ull n;
int query, x;
scanf("%llu %d", &n, &query);
getchar();
for (int j = 0; j < query; j++)
... | [
"christopherlimawan@gmail.com"
] | christopherlimawan@gmail.com |
e3fd7ee77802348c393e59d7141ff87a1c829ac3 | 216846396a89cc22a136f9fd684dc31940527cdf | /Astronaut.cpp | ad5459a354592b69c4e72e9264dcd33230ce69ac | [] | no_license | patrickagri24/Programming-Assignment-4-BU_EC327 | 2bafe6ce84619e266dee02d2383c8390dd669093 | a3c9acd4abea2e89dad6cb9e9d9a96b34dc602ca | refs/heads/master | 2021-03-30T18:10:37.701428 | 2017-12-28T19:11:31 | 2017-12-28T19:11:31 | 115,650,926 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,802 | cpp | #include "Astronaut.h"
#include "Cart_Point.h"
#include "Oxygen_Depot.h"
#include "Space_Station.h"
#include "Person.h"
#include <iostream>
using namespace std;
//Default astronaut
Astronaut::Astronaut(): Person('A')
{
amount_moonstones = 0;
amount_oxygen = 20;
health = 5;
this -> depot = NULL;
this ... | [
"agrip@bu.edu"
] | agrip@bu.edu |
c3af6c80df9353356912ce858210489dc95a9205 | 97478e6083db1b7ec79680cfcfd78ed6f5895c7d | /chrome/common/webui_url_constants.cc | 6c89fdf273e9281299035309ac41c9ac82d571e4 | [
"BSD-3-Clause"
] | permissive | zeph1912/milkomeda_chromium | 94e81510e1490d504b631a29af2f1fef76110733 | 7b29a87147c40376bcdd1742f687534bcd0e4c78 | refs/heads/master | 2023-03-15T11:05:27.924423 | 2018-12-19T07:58:08 | 2018-12-19T07:58:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,163 | 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 "chrome/common/webui_url_constants.h"
#include "base/macros.h"
#include "components/nacl/common/features.h"
#include "components/safe_browsing/w... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
808f0c5c7a3f6100127630849ee6686303b00b4b | 891bfc38e6e85b643afe683ac69942634ec2dde7 | /chrome/common/webui_url_constants.cc | a60b250c8a26888465b99a75032e57d276a20b07 | [
"BSD-3-Clause"
] | permissive | siliu1/chromium | 6635bef82e896f2fee63dcd5f1182c289b35edb4 | b9310a104d7cf73c7807963089a77e287ef4b19b | refs/heads/master | 2023-03-18T14:13:43.241848 | 2019-02-13T19:56:46 | 2019-02-13T19:56:46 | 170,571,164 | 0 | 0 | NOASSERTION | 2019-02-14T04:28:44 | 2019-02-13T20:01:41 | null | UTF-8 | C++ | false | false | 21,020 | 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 "chrome/common/webui_url_constants.h"
#include "base/stl_util.h"
#include "components/nacl/common/buildflags.h"
#include "components/safe_browsi... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
42ed758467a132ec290465521237f605ff0bfae3 | b31c0f0d1e8a3bf575e6b86591ec1071cd9a8a3d | /resources/platforms/espidf/micro_speech_esp32devboard/main/feature_provider.cc | 5608d5467539997bd9e10f0c500a9150b8c0078a | [
"Apache-2.0"
] | permissive | tum-ei-eda/mlonmcu | e75238cd7134771217153c740301a8327a7b93b1 | f1b934d5bd42b5471d21bcf257bf88c055698918 | refs/heads/main | 2023-08-07T15:12:13.466944 | 2023-07-15T13:26:21 | 2023-07-15T13:26:21 | 448,808,394 | 22 | 4 | Apache-2.0 | 2023-06-09T23:00:19 | 2022-01-17T08:20:05 | Python | UTF-8 | C++ | false | false | 5,508 | cc | /* Copyright 2018 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | [
"philipp.van-kempen@tum.de"
] | philipp.van-kempen@tum.de |
8b56f97f08616290247ec9988f26cb2f2bc50734 | 5a7d3db1f4dc544d47430dcecf9de5ae2990fe88 | /.emacs.d/undohist/!home!sirogami!Programming!compe!AtCoder!ARC!106!c.cc | 1cdf5a1af128e3cb4648a3b6c42b24adef39689b | [] | no_license | sirogamichandayo/emacs_sirogami | d990da25e5b83b23799070b4d1b5c540b12023b9 | c646cfd1c4a69cef2762432ba4492e32c2c025c8 | refs/heads/master | 2023-01-24T12:38:56.308764 | 2020-12-07T10:42:35 | 2020-12-07T10:42:35 | 245,687,325 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 610 | cc |
((digest . "a3477a8ca43af4ae78da25f3e8b203ce") (undo-list nil (3546 . 3547) nil (3544 . 3545) nil (3542 . 3544) (3541 . 3543) ("\"" . -3541) (3541 . 3542) ("\"" . -3541) (3541 . 3542) nil (3553 . 3554) nil (3549 . 3553) nil (3547 . 3549) nil (3543 . 3547) nil (3541 . 3543) nil (3540 . 3541) nil (3538 . 3540) nil (3533... | [
"ssirogamicota@gmail.com"
] | ssirogamicota@gmail.com |
5696058a169c4b83cadabd43f9c924d990535c85 | 6a37877f18f6e605f90af341f90ed76aa8ef7454 | /03_MFC/수업자료/05_다이얼로그기반/03_DlgSample_Modal/NumEdit.h | 9de134b2e3eb55738b75607099b232a682c59fce | [] | no_license | gawallsibya/BIT_MFC-CShap-DotNet | d58286d749dd1df0a4a23960dfc78d3dc31b3607 | 63b7a2a32b21aec115bc54412c7ca5960c431586 | refs/heads/master | 2021-01-10T11:15:00.485800 | 2015-11-16T13:15:19 | 2015-11-16T13:15:19 | 45,892,319 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,072 | h | #if !defined(AFX_NUMEDIT_H__4161A2EE_8E65_4F6C_A7CC_1224DFFCEC0B__INCLUDED_)
#define AFX_NUMEDIT_H__4161A2EE_8E65_4F6C_A7CC_1224DFFCEC0B__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// NumEdit.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// ... | [
"gawallsibya@gmail.com"
] | gawallsibya@gmail.com |
aa322695905d5552db0f84f400d25a605930d714 | 6544ee77a74b1739338eaf1983934a32ab73f67a | /Baekjoon/Baekjoon[IO]/BOJ2442.cpp | 7b97eb98fcb8f6afb25a8cbfda272c965f4d7a40 | [] | no_license | proHong/algorithm_study | 0fc60f33d70e71884c069af674c78f3fbff70cef | a31b4b9495151df8b04e313fab93ece74ce5dcfe | refs/heads/master | 2022-03-17T07:45:27.999147 | 2019-12-11T06:30:14 | 2019-12-11T06:30:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 248 | cpp | #include <stdio.h>
using namespace std;
int main()
{
int n;
scanf("%d", &n);
for (int i = 0; i < n; i++)
{
for (int j = n - 1; j > i; j--)
printf(" ");
for (int j = 0; j < 2 * i + 1; j++)
printf("*");
printf("\n");
}
return 0;
} | [
"42308891+tjdgus0454@users.noreply.github.com"
] | 42308891+tjdgus0454@users.noreply.github.com |
7580808e55cc0cf17f2fd005e45f2be99b029776 | 948f4e13af6b3014582909cc6d762606f2a43365 | /testcases/juliet_test_suite/testcases/CWE36_Absolute_Path_Traversal/s04/CWE36_Absolute_Path_Traversal__wchar_t_listen_socket_fopen_53c.cpp | ad0edb4d3a5c0cdf59d1d731df388e34d7e71ec5 | [] | no_license | junxzm1990/ASAN-- | 0056a341b8537142e10373c8417f27d7825ad89b | ca96e46422407a55bed4aa551a6ad28ec1eeef4e | refs/heads/master | 2022-08-02T15:38:56.286555 | 2022-06-16T22:19:54 | 2022-06-16T22:19:54 | 408,238,453 | 74 | 13 | null | 2022-06-16T22:19:55 | 2021-09-19T21:14:59 | null | UTF-8 | C++ | false | false | 1,851 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE36_Absolute_Path_Traversal__wchar_t_listen_socket_fopen_53c.cpp
Label Definition File: CWE36_Absolute_Path_Traversal.label.xml
Template File: sources-sink-53c.tmpl.cpp
*/
/*
* @description
* CWE: 36 Absolute Path Traversal
* BadSource: listen_socket Read data ... | [
"yzhang0701@gmail.com"
] | yzhang0701@gmail.com |
5aec9f599fba277fc14fb5b2093ab041cd5f1324 | 21cd3427268af9265466464d72d8e4fba619d320 | /unittest/src/main.cpp | 9cb2fd4b0c4890ce9ce52ad6cd70b47f6248fa4f | [
"Unlicense"
] | permissive | bugoodby/gccsamples | c97c7023a1b6c1c32a63366bd82348c0eead4556 | 01f1d88be732a10392d55c46bbf77b452429a1d7 | refs/heads/master | 2022-07-25T21:08:12.978379 | 2022-07-16T15:22:08 | 2022-07-16T15:22:08 | 34,334,306 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,457 | cpp | #include "main.h"
#include "unittest.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define UNIT_EXPECT_XXX( target, expect_data, expect_flag1, expect_flag2, expect_param ) \
{ \
bool ret = true; ... | [
"bugoodby@gmail.com"
] | bugoodby@gmail.com |
ab4e66f8560602301f26f7835b991f29da35b3be | 67f8cddff0340af94beac1a316f85b8ce7b38ed3 | /contrib/libs/protobuf/compiler/java/java_file.cc | a352dd95933fd8b8456b2ce17be6c58356b6b112 | [
"Apache-2.0"
] | permissive | exprmntr/test2 | 963a2fcb9308e85f5b8af490e7753ae86a0c9918 | 7d7b87948918208558c59f5f528e36ceee671b75 | refs/heads/master | 2022-10-10T00:23:58.977551 | 2018-02-01T13:17:44 | 2018-02-01T13:17:44 | 116,815,397 | 0 | 2 | Apache-2.0 | 2022-10-01T12:14:49 | 2018-01-09T12:49:17 | C++ | UTF-8 | C++ | false | false | 25,468 | cc | // Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// ... | [
"exprmntr@pepe.search.yandex.net"
] | exprmntr@pepe.search.yandex.net |
dd140fdc79a725133e53b01647907643e6e47e1f | 3041afc4f9f9b1ce2a69810b6453e35272930095 | /src/qt/bitcoinunits.cpp | 85ee9cced64bb85748dcabac3b5575f594b48d6c | [
"MIT"
] | permissive | wtcoin2018/wtcoin | e5439e6456959179214a37b698752db888e823cc | b6d8b527e2f016d9cc658fd0fef616d3840a5985 | refs/heads/master | 2020-03-16T17:48:12.288568 | 2018-05-10T04:10:55 | 2018-05-10T04:10:55 | 132,847,698 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 4,270 | cpp | #include "bitcoinunits.h"
#include <QStringList>
BitcoinUnits::BitcoinUnits(QObject *parent):
QAbstractListModel(parent),
unitlist(availableUnits())
{
}
QList<BitcoinUnits::Unit> BitcoinUnits::availableUnits()
{
QList<BitcoinUnits::Unit> unitlist;
unitlist.append(BTC);
unitlist.append(mBT... | [
"2397571312@qq.com"
] | 2397571312@qq.com |
5873139630257310f6598287ce5c5be5b219e93c | eb59651c64c037e8c121d9d608483469253c3542 | /Codeforces/258.2 B/main.cpp | 286ca18c7279a68cd760df4eea212b39b75b7eaa | [] | no_license | berendeanicolae/Algorithms | fee05d448500fd96a6dc55068c2331bcbe81939d | 90ae1a51e888ae2751f1bd8416f46059cc1fa122 | refs/heads/master | 2021-01-25T03:26:36.414158 | 2015-11-05T18:02:01 | 2015-11-05T18:02:01 | 22,542,807 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 963 | cpp | #include <cstdio>
#include <vector>
using namespace std;
int main()
{
int n, li=1, ls=1;
int c1=0, c2=0;
vector<unsigned> v;
scanf("%d", &n);
v.resize(n+2);
for (int i=1; i<=n; ++i){
scanf("%d", &v[i]);
}
v[n+1] = 0xffffffff;
for (int i=1; i<=n; ++i){
if (v[i-1]<v... | [
"berendeanicolae@gmail.com"
] | berendeanicolae@gmail.com |
7fe1e15eb654dccf04c58ccc5b405f070e8388c8 | 39010b288f49c9ebe90095a2d17b3e13d7881db1 | /Examples_3/Aura/src/AuraMiddlewareImpl/TaskManager.h | ac3f0934e13315f82ea8cd94ac74024730abc0be | [
"Apache-2.0"
] | permissive | TauGames/The-Forge | 4089946d6ce0d208d7eee59db114b982c417dd6b | 076aa5dcd8fd71cc83905431c92360183c7027d9 | refs/heads/master | 2023-08-14T01:25:34.283575 | 2021-09-16T01:53:38 | 2021-09-16T01:53:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,491 | h | /*
* Copyright © 2018-2021 Confetti Interactive Inc.
*
* This is a part of Aura.
*
* This file(code) is licensed under a
* Creative Commons Attribution-NonCommercial 4.0 International License
*
* (https://creativecommons.org/licenses/by-nc/4.0/legalcode)
*
* Based on a work at https://github.com/Confett... | [
"antoine@conffx.com"
] | antoine@conffx.com |
46e43a6445ef187ac5b5d8bf060722cbc9c7d15d | 423e681b047161ddf01f33f505eb398e49ab2cb9 | /randomwalk.cpp | 428e8a18bc16962c7f300599c21cc139ac17ac46 | [] | no_license | thomasbbrunner/randomwalk | 7d0f15b8ada8d7e9eb8529b88825eae98e697437 | 0ee746c1aed6c8687448bae0d95368e904cafef3 | refs/heads/master | 2023-01-06T13:56:30.216599 | 2020-11-10T12:41:35 | 2020-11-10T12:41:35 | 256,353,982 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,206 | cpp |
#include <array>
#include <random>
#include <iostream>
int main(int, char const **)
{
// configuration
constexpr unsigned int iterations = 1000;
constexpr std::array<unsigned int, 2> space_size{
100,
100};
constexpr unsigned int space_dims = space_size.size();
std::mt19937 rand_en... | [
"thomasbbrunner@gmail.com"
] | thomasbbrunner@gmail.com |
5832dc38f6f6e02dd6073d03fa0ecd5c29a22210 | 487527f45cebfb206a4cd876b982ba4e6bda94fb | /GUI/main.cpp | e13ced327432fc880d3c2b6ba95da975f6e2cf4b | [] | no_license | fchandonnet/FTB2018 | dc2025954de750f1be55e6f77d0913fda864c3bd | edefcb688f5306dae9e9aa548bd6ec671bf3fcd7 | refs/heads/master | 2020-03-14T08:43:38.552507 | 2018-04-29T22:00:40 | 2018-04-29T22:00:40 | 131,531,214 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 312 | cpp | #include "gui.h"
//#include <vld.h>
#include <QtWidgets/QApplication>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
QSplashScreen screen(QPixmap("..//Splash.png"));
screen.show();
GUI w;
w.setFixedSize(w.size());
screen.finish(&w);
w.show();
w.ShowSFMLViews();
return a.exec();
}
| [
"francis.chandonnet@hotmail.fr"
] | francis.chandonnet@hotmail.fr |
0aaa05a1de68ed6b238d8a2b9a19b21e56306641 | 25913418ed6deb8dd03f96d5c46d64ccb91fb56a | /Arduino/__arudino.ino | 67c1eb800e90c4e9ce433421032d50d7cee0878d | [] | no_license | nadongjun/SmartFireDetector | c5cbf33d5bfcc4b3680c08c36827a879b82815b1 | 7c765d06baf529ef1873b6584a30080f9b29f4d9 | refs/heads/master | 2020-05-17T17:31:20.703780 | 2019-05-05T14:40:03 | 2019-05-05T14:40:03 | 183,855,584 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,076 | ino | #include <SoftwareSerial.h>
SoftwareSerial bluetooth(2, 3); //블루투스의 Tx, Rx핀을 2번 3번핀으로 설정
//아두이노 핀설정
int piezo = 0;//스피커
int temp = 1;//온도
void setup() {
pinMode(piezo, OUTPUT);
pinMode(light, OUTPUT);
Serial.begin(115200);
bluetooth.begin(115200);
}
void loop() {
//아날로그 신호 저장
int temp = analogRead(A0);... | [
"noreply@github.com"
] | noreply@github.com |
59f08ca0481c6b439bcf27026c99274604af36ef | 6498c2f875f0d7ae04e7862eeb630b6d0b94322d | /bigger_pipe/0/U | 8818a70f9f2723079f9e942416f1b9345e1c76bd | [] | no_license | benkour/opentutorial | 6df984afa3d6ffd6e56782ed26af73c1ecca431a | 9b44c000d30f7bbbc9e927eae4daab3ed42f33b6 | refs/heads/master | 2020-03-20T18:10:21.709448 | 2018-06-30T09:38:23 | 2018-06-30T09:38:23 | 137,574,714 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,258 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 |
... | [
"Johnkouroudis@gmail.com"
] | Johnkouroudis@gmail.com | |
abaf6a04050a19372ef07f122889e4db0774f352 | 61cb574290a4dce264d3318db6de0b62f78f1f8b | /species.h | 921ba058972579e7e631ecb4c5e75402440e49b6 | [] | no_license | FTurci/trajectory-tools | 82b6a3312afd0b0f1dc6330e57dd5aacb197e5e6 | 8b473fa2344a6f4090dc0cbdeded85e05f28f253 | refs/heads/master | 2021-01-10T17:16:50.091347 | 2016-02-29T13:18:26 | 2016-02-29T13:18:26 | 43,510,229 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 989 | h | #ifndef __SPECIES_H
#define __SPECIES_H
#include <vector>
template <unsigned int d>
class Species
{
public:
Species(unsigned long N = 0) : coords(d*N), N(N) { }
Species(const Species<d>& copy) : coords(copy.coords), N(copy.N) { }
Species(const std::vector<double>& copy) : coords(copy), N(copy.size()/d) {... | [
"joshua.fe.robinson@gmail.com"
] | joshua.fe.robinson@gmail.com |
0d61381cf8d3e3eeecb258166423c67a771187f4 | 22d7d575737eb7d864926993163f73d0bfebd6bc | /acmicpc.net/02875.cpp | 3a08828d6d4dafeb272bd88cffdd7d8a9366903b | [] | no_license | taehyungz/Algorithm | 6c624460716424115d3c38587f176eeb0a4e00d9 | 87c02dd047152a5bb4fafcf51be53c329ad563dc | refs/heads/master | 2022-06-26T13:23:50.969544 | 2022-06-23T12:29:04 | 2022-06-23T12:29:04 | 202,279,068 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 368 | cpp | #include <iostream>
using namespace std;
int main() {
int W, M, K;//W는 여학생, M은 남학생, K는 인턴쉽 참여 인원
int team = 0;
cin >> W >> M >> K;
while (K--) {
//W=M*2이면 누구를 빼든지 같다
if (W > 2 * M) {
W--;
}
else {
M--;
}
}
while (M >= 1 && W >= 2) {
M -= 1;
W -= 2;
team++;
}
cout << team;
return 0;
} | [
"thkthk97@kau.kr"
] | thkthk97@kau.kr |
b3fc030b6099dbee31cfaeaa379e669bc941be81 | d196fe59bd808f5205274a6b47394aaa4f89f09f | /fieldtest/fieldtest.ino | 0559508d28d087f37fd79d99cdfd7db736497254 | [] | no_license | RBE2001/final | d7bb6c1e9362d17a5f4d14167b75002e3c42b8de | c93da5ef1bcadb7ad80e98ac5bb08513984e5bb5 | refs/heads/master | 2021-01-20T02:02:24.939082 | 2015-03-05T01:24:11 | 2015-03-05T01:24:11 | 30,720,888 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,407 | ino | /**
* This file is intended to be downloaded onto the provided test robot on the
* RBE2001 field and tests that the bluetooth code that we created works as
* expected.
* Note: In order to include bluetooth.h properly, you may need to do some
* wrangling with your compiler and may just need to copy bluetooth.h into... | [
"jabukuszmaul+collab@gmail.com"
] | jabukuszmaul+collab@gmail.com |
d9862b0197ffce680a11b2b868a10ecaf224cdb5 | c1b20b52514a88c4924df2ae7c3ae9378f79b43a | /707.A.BrainsPhotos.cpp | d72c0433154bcee57e38b2ab9af13c872999d9c2 | [] | no_license | Shreyash41/CodeForces | 9d8ae67577a30f284d31af448673ff0823b53fa9 | 66f9ecabf1ea90868bc0412f9a864a259610700a | refs/heads/master | 2022-12-07T05:37:21.803572 | 2020-09-02T07:57:46 | 2020-09-02T07:57:46 | 257,672,485 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 552 | cpp | #include<bits/stdc++.h>
using namespace std;
int main(){
#ifndef ONLINE_JUDGE
freopen("input.txt","r",stdin);
freopen("Output.txt","w",stdout);
#endif
int n,m;
cin>>n>>m;
char arr[n][m];
for(int i=0;i<n;i++){
for(int j=0;j<m;j++){
cin>>arr[i][j];
}
}
bool rang = false;
for(int i=0;i<n;i... | [
"noreply@github.com"
] | noreply@github.com |
044882c3ed8d95869e926000a27f85854824d140 | f8dd785e01e24f71c9bb87a29c7b663bfd5860c6 | /matrix.cpp | 684a3de832f4355454319dc21aa66e20602aa67d | [] | no_license | Madalina-Nicolescu/SparseMatrix | 3f1af0e3de353bed4c50a6b967d6c50241daca6e | 4495e20e06735a44f9ea2dc5a4f5002d75a46ce9 | refs/heads/master | 2022-08-08T22:36:00.693416 | 2020-05-27T16:30:25 | 2020-05-27T16:30:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,905 | cpp | #include "matrix.h"
#include<iostream>
#include <stdio.h>
//------EXCEPTIONS------
class addNotPossible: public exception
{
const char* what() const throw()
{
return "Nu se poate realiza adunarea. Dimensiunile matricilor nu se potrivesc.";
}
};
class difNotPossible: public exception
{
const... | [
"62146366+Madalina-Nicolescu@users.noreply.github.com"
] | 62146366+Madalina-Nicolescu@users.noreply.github.com |
99222992d9528c1b56f5ff8b1e55c531bb5e27f8 | f9cd07ac3cb37a4cd4ab4938247186320a4eb2d1 | /Section_7/sect7_ex5.cpp | 48c29abdf56ff73043dc28ecfbd8374f52212f82 | [] | no_license | meiwise123/Programming-Principles-and-Practice-Using-Cpp | 856e87c79b68ab410c79be2eb6e1fb1715404078 | 6657e24958cd001d5caa3df8c1fbe34c61c72510 | refs/heads/master | 2020-11-24T08:13:08.285567 | 2019-12-02T12:49:18 | 2019-12-02T12:49:18 | 228,045,902 | 1 | 0 | null | 2019-12-14T15:34:44 | 2019-12-14T15:34:43 | null | UTF-8 | C++ | false | false | 10,935 | cpp | //Written by Jtaim
//Date 15 Dec 2018
//Programming Principles and Practice Using C++ Second Edition, Bjarne Stroustrup
/*
copied from drill 11 removed drill 10 stuff
also added modulo
section 7 exercise 1
allow underscores in the calculator's variable names
section 7 exercise 2
modified how function is handled... | [
"jtaimneas@gmail.com"
] | jtaimneas@gmail.com |
dd2bff70ad55d6b03196cf0307540ddb8a1fbdcd | 02bde309caf3db897cb5240b39487bedb96409e2 | /EShot03.cpp | c99552a078814863a4a3c7e8bc60d8ed3663a6ea | [] | no_license | nitorionedan/GekiRenSha | 46215c8d0f174e96553a05be1cb1ee725653b96c | c4d696db9a5e7d3185bf0ed0540faced56c11cac | refs/heads/master | 2021-01-20T20:42:37.712311 | 2016-06-01T03:24:32 | 2016-06-01T03:24:32 | 60,090,617 | 1 | 0 | null | 2016-06-01T03:24:32 | 2016-05-31T13:12:50 | C++ | SHIFT_JIS | C++ | false | false | 2,642 | cpp | #include "DxLib.h"
#include "EShot03.hpp"
#include "DebugMode.hpp"
#include "Game.hpp"
#include "HitEffect.hpp"
#include "Graphics2D.hpp"
#include <cmath>
EShot03::EShot03()
: ALL_FRAME_NUM(sizeof(gh) / sizeof(gh[0]))
, FRAME_TIME(2)
, HIT_RANGE(50)
, effect(new Effect(new HitEffect))
{
time.f... | [
"fearinatu@yahoo.co.jp"
] | fearinatu@yahoo.co.jp |
70afc9c2f9104edf811feefe95a487760eb94992 | d306e5a607bcea2036f7dda97265e2d6ebc73ac2 | /google/cloud/internal/filesystem.h | 1f844d01a4ec0dd60880764de27c45fc46367568 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | resonai/google-cloud-cpp | 1f63911d2e57e168b2f1d61dca4714b540f9c617 | 0315f3255a63cc77cb0fd0c388cf6440ca193dbd | refs/heads/master | 2020-08-01T08:27:56.466720 | 2019-10-02T09:34:41 | 2019-10-02T09:34:41 | 210,931,460 | 1 | 0 | Apache-2.0 | 2019-10-02T09:34:43 | 2019-09-25T20:09:41 | C++ | UTF-8 | C++ | false | false | 4,628 | h | // Copyright 2018 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in w... | [
"noreply@github.com"
] | noreply@github.com |
e8d33fead809da6a2aa02c990d92aed245c4e799 | 85954ca01e531632c316e36c4f12e2ba5e14bbd1 | /tests/chains/Oasis/TWAnySignerTests.cpp | 81b2e108c862d4638747fdecdfcec594cb4020d2 | [
"MIT",
"BSD-3-Clause",
"LicenseRef-scancode-protobuf",
"LGPL-2.1-only",
"Swift-exception",
"BSL-1.0",
"Apache-2.0"
] | permissive | iCell/wallet-core | 2e27b23e67ebfab5e5d4a105de0929c67e53995a | 3def1aa97d93edfa5d524ce499b81886c7deddc8 | refs/heads/master | 2023-04-18T23:58:20.545357 | 2023-04-11T05:08:39 | 2023-04-11T05:08:39 | 173,234,260 | 0 | 0 | MIT | 2023-04-11T05:08:40 | 2019-03-01T04:22:59 | C++ | UTF-8 | C++ | false | false | 1,724 | cpp | // Copyright © 2017-2023 Trust Wallet.
//
// This file is part of Trust. The full Trust copyright notice, including
// terms governing use, modification, and redistribution, is contained in the
// file LICENSE at the root of the source code distribution tree.
#include <TrustWalletCore/TWAnySigner.h>
#include "HexCodin... | [
"noreply@github.com"
] | noreply@github.com |
8df851c5757415ccde05a389ef39f8c9340894da | cf47614d4c08f3e6e5abe82d041d53b50167cac8 | /CS101_Spring2020-21 /LAB4_L1/categorized/stream/all_passed/114_stream.cpp | 331d582e166723b863fa864d67c7c07cd2b24bf3 | [] | no_license | krishna-raj007/BodhiTree-Annotation | 492d782dffe3744740f48c4c7e6bbf2ee2c0febd | 28a6467038bac7710c4b3e3860a369ca0a6e31bf | refs/heads/master | 2023-02-28T18:23:05.880438 | 2021-02-07T17:55:33 | 2021-02-07T17:55:33 | 299,254,966 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 189 | cpp | #include<simplecpp>
main_program{
//Write your code here
int max;
cin>>max;
while(true){
int num;
cin>>num;
if(num==-1) {break;}
else
if(num>max)
{max=num;}
}
cout<<max;
}
| [
"krishna_raj007@yahoo.in"
] | krishna_raj007@yahoo.in |
dd1a0e390c9a51029dfdd9dc24c24ae141c91019 | 79e827b9159344b92716990083fa552f3ce466fa | /Data-Structures/Trees/tree-huffman-decoding.cpp | 80af58494d522a7f318df9602570387d9f7c4d98 | [
"MIT"
] | permissive | PratikSaha198/Hackerrank | 55faf6a13cc21cf4cb7a5eebc6b57c1fda9ca9e2 | 5ba7fb2a881e925a7a02d5c588923eb188dfc998 | refs/heads/master | 2020-08-04T21:45:24.658703 | 2019-05-11T08:40:10 | 2019-05-11T08:40:10 | 212,288,694 | 2 | 0 | MIT | 2019-10-02T08:21:22 | 2019-10-02T08:21:21 | null | UTF-8 | C++ | false | false | 534 | cpp | /*
The structure of the node is
typedef struct node
{
int freq;
char data;
node * left;
node * right;
}node;
*/
bool isLeaf(node* r) {
if(r->left==NULL && r->right==NULL) return true;
return false;
}
void decode_huff(node * root,string s) {
node* t = root;
int i;
char x;
... | [
"rajatsri94@gmail.com"
] | rajatsri94@gmail.com |
92a21cd8ed62c538907519b5146d17d10d5ffa5c | 899468cb037bddcae4608ca76b2e2eb6fbcc245d | /Biblioteka_PO2017/test_jednostkowy.cpp | 8b30c641a060bf437d4986eff7a8c2a965b27986 | [] | no_license | golabmateusz/projekt_PO_2017 | 49e0cac76e473f652e34f48ff98876b96e09192e | 899b01290f9af7b7b53b2c41a418eb56bce106ce | refs/heads/master | 2020-03-29T05:28:49.223271 | 2017-06-21T04:52:01 | 2017-06-21T04:52:01 | 94,653,675 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 927 | cpp | #include "bibliotekarz.h"
#include "osoba.h"
#include "abstrakcyjnafabrykaosob.h"
#include <vector>
#include <cstdio>
int main()
{
std::vector<Osoba*> lista_osob;
AbstrakcyjnaFabrykaOsob* fabryka1 = AbstrakcyjnaFabrykaOsob::wybierzFabryke(Type_Bibliotekarz);
lista_osob.push_back(fabryka1->stworzOsobe());
... | [
"mateusz.golab@onet.eu"
] | mateusz.golab@onet.eu |
d6b60daf8520deb05d68116e0a6a514a550d36fc | cfd6f81209e988b8538e645412f1c63ac3703923 | /LCDScreens.ino | c91ab21e839965cd4f47a218b673bef38649e8c1 | [] | no_license | mgf909/Pool_Vera14_rev1 | a3c9f9aefb3951f7a67d1410b2ceb00cf4b1b460 | 4184207d94096ef119a751cf0d831bf5c85457fc | refs/heads/master | 2020-04-18T03:46:13.013603 | 2014-09-16T13:21:42 | 2014-09-16T13:21:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,490 | ino | //LCD Display Functions
void digitalClockDisplay(){
tmElements_t tm;
(RTC.read(tm));
{
lcd.position(0,0);
lcd.print(" "); // clear the previous whatever
lcd.position(0,0);
print2digits(tm.Hour);
lcd.print (tm.Hour);
currentHour = tm.Hour; //currentHour used for resetting pr... | [
"greg@thelions.com.au"
] | greg@thelions.com.au |
c2c4cb0d4a35e290d096916d3fb46b5c672b2589 | 79bc9cdf6abc79890dac9923d996465bad06cd31 | /v2/ardupeater/ardupeater.ino | e2423f7536eebb907db7d12fba8f6bb494ad6da3 | [] | no_license | tomfanning/event-control | 5d6bf501dd34648e46af82810e72aefcb37d3a2f | c4629ce5361622da8e7216fdf987169e061f4d01 | refs/heads/master | 2021-09-07T07:58:04.168960 | 2018-02-19T19:45:40 | 2018-02-19T19:45:40 | 100,406,486 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,489 | ino | void setup() {
Serial.begin(9600);
}
int pktLen;
byte frame[1024];
byte prev;
byte cur;
#define TESTMODE
#ifdef TESTMODE
byte testFrame[] = {0xC0, 0x00,
0xAA, 0xA2, 0xA4, 0xAC, 0xAA, 0xA2, 0x60, // to: UQRVUQ CBit=0 IsLast=0 Res=11
0x9A, 0x60, 0x98, 0xA8, 0x8A, 0x40, 0xEA, /... | [
"tj@tjej.uk"
] | tj@tjej.uk |
986c2aed8c66574aa03a5b4240fa91ce7809558b | 005efcbda66ccb86945fbf40584608186692bcfe | /PETOOLS/PETOOLS/DialogFirst.h | 63dac74e15e0ed6d1da5fc88ce78f5614baaf271 | [
"MIT"
] | permissive | LFYG/PETOOLS | ab372b008ee2d9e5c57260b26c0b23db6db02c01 | 832640877af6784c353afd5029f23610e55ec808 | refs/heads/master | 2020-11-28T11:20:32.279595 | 2019-08-24T15:30:49 | 2019-08-24T15:30:49 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,785 | h | #pragma once
#include "../Common/Ini.h"
#include "../Common/log4z.h"
#include "GlobeVar.h"
#include "MFCStatic.h"
#include "mfcedit.h"
#include "MFCStatus.h"
#include "afxcmn.h"
#include "MyListCtrl.h"
#include "resource.h"
// DialogFirst 对话框
typedef struct _UiVisible
{
bool isExport;
bool isImport;... | [
"40445799+SurrealSky@users.noreply.github.com"
] | 40445799+SurrealSky@users.noreply.github.com |
5089a510c2697ff25a3750179978e5770b4e4ed2 | cc8c0049f191d68105c26e3385fe011bd750f82a | /17-18 下 程序设计基础实验/项目一 网店购物管理系统/Taobao v1.0/Taobao/Model/file.cpp | 2942a22aa6fb487ea7b2f0263b161086dea48d85 | [] | no_license | idealclover/NJU-Homework | 525cd5258e03398d6eedb32faa50fdda4813d918 | 8ed968dd0b47b55ca7d0883f135991c4432794d7 | refs/heads/master | 2020-03-11T23:43:07.489512 | 2018-05-14T14:29:43 | 2018-05-14T14:29:43 | 130,329,908 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 381 | cpp | #include "file.h"
//OutFile::OutFile(string p){
// path = p;
//}
//
//Item* OutFile::readItem(void){
// OpFile();
//
// Item* rst = new Item();
// ClFile();
//}
//
//
//bool OutFile::OpFile(void){
// ofstream* outfile()
//}
//
//bool OutFile::ClFile(void){
// if(file == NULL) return false;
// else... | [
"shadowspacex@163.com"
] | shadowspacex@163.com |
c965e4a5b99d116e4373b8bd636022a98e8318a1 | 52346de88a47f70ed63335b21ff12748bbbb5cba | /modules/transform/static_transform_component_test.cc | 08111c0dbc622c174a3347ba9f8a51a7a574975a | [
"Apache-2.0"
] | permissive | lgsvl/apollo-5.0 | 064537e31c5d229c0712bfcd4109af71dbf1d09d | 105f7fd19220dc4c04be1e075b1a5d932eaa2f3f | refs/heads/simulator | 2022-03-08T09:18:02.378176 | 2021-10-01T22:07:57 | 2021-10-01T22:07:57 | 203,249,539 | 86 | 115 | Apache-2.0 | 2022-02-11T02:55:46 | 2019-08-19T21:00:15 | C++ | UTF-8 | C++ | false | false | 1,094 | cc | /******************************************************************************
* Copyright 2018 The Apollo Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
... | [
"noreply@github.com"
] | noreply@github.com |
ff5264d813cb8a3cc160b5a727c043234eee651c | 512bf820713db80a7980be140538c6469c84c544 | /word345/word345/LevelController.h | b1afad0dfbd63e352c68875d11b64dd3ad63bf30 | [] | no_license | NahumHerzl/letters-game-project | c38e78928ce2004d6da7ed0837680a7038518720 | c48f0bb0db7575fcaa91321f252737f12498334b | refs/heads/master | 2020-04-25T22:10:37.319778 | 2019-02-28T12:41:08 | 2019-02-28T12:41:08 | 173,103,060 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 440 | h | #pragma once
#include "GameTable.h"
class LevelController
{
public:
LevelController(const int &level);
int manage(sf::RenderWindow &window);
int getWords() const;
~LevelController();
private:
float m_tiles;
GameTable m_gt;
std::array<std::unique_ptr<Buttons>, 4> m_allButtons;
void... | [
"noreply@github.com"
] | noreply@github.com |
8a13b441558a941f289d47b1f2631d3129533ca6 | b8581ce7b8be5e4ed731852c51b11b2d43910058 | /src/test/zerocoin_denomination_tests.cpp | 62f0a6cc2b2bf5a110fccea124a16284a099b66e | [
"MIT"
] | permissive | BlockchainEnergyProject/BlockchainEnergy | ffede27771f4218cb892e09ab542bd3341fa74a1 | 85c2b7dbe7132d180114a6c9fe82d3147fabe14c | refs/heads/master | 2023-07-13T04:04:59.929152 | 2021-08-17T17:15:31 | 2021-08-17T17:15:31 | 269,613,517 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,483 | cpp | // Copyright (c) 2017-2019 The PIVX 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 "chainparams.h"
#include "coincontrol.h"
#include "denomination_functions.h"
#include "main.h"
#include ... | [
"info@tlsgroup.io"
] | info@tlsgroup.io |
271e766bb40e7f60fe155b9bd1c6d45d9cb71648 | 140cd4ee2ec5a185353bacb1dfb75e5a45f21b34 | /Lab3GeneticAlghoritm/Course.cpp | d50de6a68523047a020205eb375bb164ef300c45 | [] | no_license | pdania/Lab4CSPSchedule | a5ac6aba1120be2bf37ee0081382489a43fa1e3e | def8e83f63d6488670dd048bd188633655c8d2e8 | refs/heads/main | 2023-01-05T20:44:15.377493 | 2020-10-27T21:15:41 | 2020-10-27T21:15:41 | 307,338,935 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 158 | cpp | #include "Course.h"
// Initializes course
Course::Course(int id, const string& name, bool requiresLab) : _id(id), _name(name), _requiresLab(requiresLab) { }
| [
"pdania@ukr.net"
] | pdania@ukr.net |
b991e445b612042ea6138e9510cab1c0956c478e | 95e946dcf1052435202762e7c2803b3f0fc93210 | /src/Helper.cpp | 869d4ee728751aa42cef35d1c444f32fc92f2222 | [] | no_license | rodschulz/CC5316_T1 | e8e524923ddf2080054b27430ad17f538f9045cb | 48c4d4ef9d2d375c5608a83276a35643373216a9 | refs/heads/master | 2020-03-29T10:16:44.243447 | 2015-04-30T23:23:26 | 2015-04-30T23:23:26 | 34,142,227 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,409 | cpp | /**
* Author: rodrigo
* 2015
*/
#include "Helper.h"
#include "Printer.h"
#include <opencv2/highgui/highgui.hpp>
#include <queue>
#include <algorithm>
Helper::Helper()
{
}
Helper::~Helper()
{
}
vector<DMatch> Helper::getMatches(const Mat &_queryDescriptor, const Mat &_trainDescriptor, const FlannBasedMatcher &_mat... | [
"rodrigo@gato"
] | rodrigo@gato |
e961bbab5e585d12a6215c9631632aa102c408cb | 7c8a5f62a335d5108fd95c62f3c6aaf15cae0b7b | /geometric/countUniqueTriangles.cpp | 766930a28c4d81383f96c40625a69a0279e42190 | [] | no_license | pratiksaha/practice | a6809006fedeee982e823b3660c7673f2c77379a | 3b3705d7738dbeddc20c0482a6bce07028ddbafe | refs/heads/master | 2021-01-13T17:25:39.678405 | 2017-03-15T21:40:16 | 2017-03-15T21:40:16 | 24,746,662 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 873 | cpp | //to find number of unique Triangles
//Using features of C++ Standard (2011) Compile using g++ -std=c++11
#include <bits/stdc++.h>
using namespace std;
struct triangle {
int a, b, c;
};
typedef triangle Triangle;
int sort3nos(int &a, int &b, int &c) {
if (a > b)
swap(a, b);
if (b > c)
swa... | [
"pratiksaha89@gmail.com"
] | pratiksaha89@gmail.com |
32eb69dc70968b1282b930a24761b810ebdb646e | 7a13942d830c0b0e502728977c8decb1ad42f313 | /run/tutorials/MethaneCoflowFlame/virtual-chemistry/01-main/0/OX | 5f857fbcc556bb3aaf00eacb9c051663aea76342 | [] | no_license | AndyKing09/laminarSMOKE | 471762af61c586c76db6898079994994c2d22d4a | eb58dfb9814282c129199f827b693ce6a56a981c | refs/heads/master | 2020-04-30T10:56:03.611988 | 2019-03-02T19:06:20 | 2019-03-02T19:06:20 | 176,789,165 | 1 | 0 | null | 2019-03-20T17:58:09 | 2019-03-20T17:58:09 | null | UTF-8 | C++ | false | false | 1,619 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.x |
... | [
"alberto.cuoci@polimi.it"
] | alberto.cuoci@polimi.it | |
e5d1a20a3c7fd1f4cb5c20f684cc5b70e420cb6d | c8b39acfd4a857dc15ed3375e0d93e75fa3f1f64 | /Engine/Source/Runtime/SlateRHIRenderer/Public/Interfaces/ISlateRHIRendererModule.h | ec4fddf10e0cebbd300dc2fdf1b34b8f3f6366f0 | [
"MIT",
"LicenseRef-scancode-proprietary-license"
] | permissive | windystrife/UnrealEngine_NVIDIAGameWorks | c3c7863083653caf1bc67d3ef104fb4b9f302e2a | b50e6338a7c5b26374d66306ebc7807541ff815e | refs/heads/4.18-GameWorks | 2023-03-11T02:50:08.471040 | 2022-01-13T20:50:29 | 2022-01-13T20:50:29 | 124,100,479 | 262 | 179 | MIT | 2022-12-16T05:36:38 | 2018-03-06T15:44:09 | C++ | UTF-8 | C++ | false | false | 983 | h | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Rendering/RenderingCommon.h"
#include "Modules/ModuleInterface.h"
#include "Rendering/SlateRenderer.h"
#include "ISlate3DRenderer.h"
#include "Fonts/FontTypes.h"
namespace SlateRHIConstants
{
// Number of ve... | [
"tungnt.rec@gmail.com"
] | tungnt.rec@gmail.com |
881699974275dbe647e11d9bdfb55f1cf75e93a9 | 2e0d856bb784e193de1dd05236bad03994dcbbe4 | /15.StrStr/28.实现-str-str.kmp2.cpp | 87aa1e471389866b9aecd205b831454fe4d2b080 | [] | no_license | orangewangjie/Algorithm-Dryad | 8ec4205d879d3a9da883626f20c902a34282054c | 863709d6ef3b733c1f4f857736ac83fd89050f6c | refs/heads/main | 2023-05-27T10:39:58.316388 | 2021-06-11T06:30:07 | 2021-06-11T06:30:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,697 | cpp | /*
* @lc app=leetcode.cn id=28 lang=cpp
*
* [28] 实现 strStr()
*
* https://leetcode-cn.com/problems/implement-strstr/description/
*
* algorithms
* Easy (39.71%)
* Likes: 773
* Dislikes: 0
* Total Accepted: 326.5K
* Total Submissions: 822.2K
* Testcase Example: '"hello"\n"ll"'
*
* 实现 strStr() 函数。
* ... | [
"lagou@com"
] | lagou@com |
dd0f40f64ba5163daa250f91775dc64d184a206e | b575933c01b603f30cb6e9fbcbe77462c13dc646 | /problemset/2315. 统计星号/solution.cpp | 287c6db3ebdb7552bd49d1c47535e544d876d1de | [] | no_license | KevenGe/LeetCode-Solutions | 23950a84e347032db637a3c5b0aa97eb12727321 | c7becb56e207ee2de6dbf662c98db7eb5b9471ff | refs/heads/master | 2023-09-04T07:40:05.185619 | 2023-08-21T15:09:49 | 2023-08-21T15:09:49 | 250,487,996 | 1 | 1 | null | 2023-08-16T13:58:19 | 2020-03-27T09:06:32 | Python | UTF-8 | C++ | false | false | 372 | cpp | #include <iostream>
#include <string>
using namespace std;
class Solution {
public:
int countAsterisks(string s) {
int starCount = 0;
int startCount = 0;
for (const char ch : s) {
if (ch == '|') {
startCount = 1 - startCount;
} else if (startCount == 0 && ch == '*') {
starCo... | [
"1985996902@qq.com"
] | 1985996902@qq.com |
c0325fa9e9470ea63268375504b3808b855636dd | a92fc04bf55716b9bc930514063f447deb4fffb5 | /src/probability_points_minmax.cpp | a891c08238ff04c515dfd9e6bcf37577a33bbfce | [] | no_license | karrykarry/dynamic_obstacle_remover | e99aba27486ef938915b1aff8f73baf53dc0fcf9 | cff3d1f8b2ed1084762143875350994a9b9d1549 | refs/heads/master | 2020-03-30T04:48:29.154295 | 2018-12-17T06:17:18 | 2018-12-17T06:17:18 | 150,763,060 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,616 | cpp | /* probability_points.cpp:動的の点・静的の点・地面を抽出
*
* 2018.10.20
*
* author : R.Kusakari
*
*skip_time 分の[hz]で貯めて,step分の点群を貯める
* 障害物判定にgrid_dim_でグリッドの大きさ・per_cellで解像度を表している.
*
*/
#include <ros/ros.h>
#include <iostream>
#include <nav_msgs/Odometry.h>
#include <sensor_msgs/PointCloud.h>
#include <sensor_msgs/PointCloud2... | [
"12kari20@gmail.com"
] | 12kari20@gmail.com |
bd15856b20e1cd39cde4efe8ccc597a86ddd6a6f | 3f7ec296f05234f6a2dbcfa0611771f789e9535d | /plotbymodel.cpp | fc2336d4340b0813f2795663e09fc94d4731ecb9 | [] | no_license | NikolayKuksa/stock | b12a4ba5c2d3d89e8e1196521817d75638da17e0 | 5beddd9f467b3254b1f0fa7e3b208e65f7ccc95e | refs/heads/master | 2021-01-19T23:25:46.024404 | 2017-06-10T09:12:40 | 2017-06-10T09:12:40 | 88,982,716 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,006 | cpp | #include "plotbymodel.h"
PlotByModel::PlotByModel(QString inDateFormat, QString outDateFormat, QString yAxisLabel,QWidget *parent)
: QDialog(parent)
{
this->inDateFormat=inDateFormat;
this->outDateFormat=outDateFormat;
this->yAxisLabel=yAxisLabel;
plotColors.push_back(QColor(Qt::red));
plotColo... | [
"nick.k@i.ua"
] | nick.k@i.ua |
52bfb21c04faeff1570169f5632e346537e93660 | 1464838e7e0cbd75befa563ee6e0b7e93925d963 | /1307 Counting Triangles.cpp | 34275db27269176911714f02e0914d101230a381 | [] | no_license | amlan086/Light-Oj-Solve | b5f51eb21878a1a3f663a8fab56e8f702d5066ff | f2fe2dd9fc2112d540ac508097b8f41dcec1d649 | refs/heads/master | 2020-03-09T16:39:36.507861 | 2016-08-05T13:37:47 | 2016-08-05T13:37:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,140 | cpp |
#include <stdio.h>
#include <math.h>
#include <algorithm>
using namespace std;
int a[2005];
void solve()
{
int i,j,k,n,res=0,t;
scanf("%d",&n);
for(i=0;i<n;i++) scanf("%d",&a[i]);
sort(a,a+n);
for(i=0;i<n;i++)
{
for(k=i+1;k<n-1;k++)
{ ... | [
"noreply@github.com"
] | noreply@github.com |
0c739efde22a74f636a782676be0332611d53ca1 | d7e76ed8d1362c037e434d222440a62a4f649147 | /LongestCommonPrefix.h | 53d0a15a55bb152def93ab3489b02a697151f1f4 | [] | no_license | hyc3z/cppleetcode | 0830d60cc7fdd0e0ca1b45920d700c9f4fa07a73 | 8496f2da45af34bccf9bb420ff910bdb42e3f3dd | refs/heads/master | 2023-01-22T02:51:13.382041 | 2020-11-24T13:49:19 | 2020-11-24T13:49:19 | 219,279,647 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 856 | h | //
// Created by Powerhouse on 2020/11/24.
//
/**
* 分而治之,把问题化作前缀和每个字符串的比较。
* time o(mn)
* space o(1)
*/
#include <string>
#ifndef CPPLEETCODE_LONGESTCOMMONPREFIX_H
#define CPPLEETCODE_LONGESTCOMMONPREFIX_H
using namespace std;
class Solution {
public:
string longestCommonPrefix(vector<string>& strs) {
... | [
"tubao9hao@126.com"
] | tubao9hao@126.com |
8df28b6cb6204eedbd45e644ebc646c87c45f517 | 94c7dde8df5d66c18b957c0a9953c533b0a72c02 | /FileSystem/FileSystem.h | 616b35f944c75e2812b2ecb084b23192668a18cc | [] | no_license | StarzStudio/TextSearchEngine | 8bd651c18560e23fa433249dbadb81dd9436198f | 46effc2386ed24804a602719de5f80e73833c1d3 | refs/heads/master | 2021-01-18T20:22:50.899328 | 2017-04-04T21:30:53 | 2017-04-04T21:30:53 | 86,739,052 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,833 | h | #ifndef FILESYSTEM_H
#define FILESYSTEM_H
/////////////////////////////////////////////////////////////////////////////
// FileSystem.h - Support file and directory operations //
// ver 2.2 //
// -----------------------------------------... | [
"cszxing@gmail.com"
] | cszxing@gmail.com |
89e4258edbcbc3ad9d429a96b6513b347d27efe3 | 44351a727dad4614a782c68a2a34939fee711625 | /Hungry_Dragon/Engine/Resources/Code/DragonBody.cpp | 62e6a6eb2aa02e877df1a6304413384a7536f911 | [] | no_license | maverick107A/Hungry_Dragon_v3 | 9ebbb3676b3096b8236f8d6d9fd79580e55e7803 | 42c3fbbdfeef3efb835cef14ccf755cb071fe13e | refs/heads/master | 2022-12-12T14:09:59.543934 | 2020-08-31T19:43:18 | 2020-08-31T19:43:18 | 282,894,128 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,300 | cpp | #include "DragonBody.h"
USING(Engine)
Engine::CDragonBody::CDragonBody(LPDIRECT3DDEVICE9 pGraphicDev)
: CVIBuffer(pGraphicDev)
{
}
Engine::CDragonBody::CDragonBody(const CDragonBody& rhs)
: CVIBuffer(rhs)
{
}
Engine::CDragonBody::~CDragonBody(void)
{
}
HRESULT Engine::CDragonBody::Ready_Buffer(void)
{
m_dwVt... | [
"68321073+maverick107A@users.noreply.github.com"
] | 68321073+maverick107A@users.noreply.github.com |
87708ef060efbee91afd1fa6ea6b9b975b682c3e | 372ed1ff376208447c8eaa32294e939cb88cf6af | /cpp03/ex03/main.cpp | f4f30a2820c3e2ce0f0018debe1b77b59e5b707c | [] | no_license | IamLena/s21_cpp | 0b78ab9d76a2417d688a7af0f9e6777108fefb02 | 8d771e350f604c75d2e0013e49fbfe1b26ec8b8c | refs/heads/master | 2023-02-27T08:31:04.233744 | 2021-02-08T01:15:41 | 2021-02-08T01:15:41 | 329,557,012 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,333 | cpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* main.cpp :+: :+: :+: ... | [
"helly.luchina@gmail.com"
] | helly.luchina@gmail.com |
32f275f1f6dac1a93c987ff456c85afe3c03a6e0 | 917473fd6a267624123ab8d54618b7c0abcb3d5a | /tools/app.hpp | a94844887f1291d1201ba6fba2dc2415f80c7fdf | [
"Apache-2.0"
] | permissive | MarioQuiroga/pisa | 0776b7ae68f683fbab16927d1f26ad51b448ddb0 | d6540a1e94d069de2195bb33e2a07c7d66551825 | refs/heads/master | 2021-08-02T22:50:35.424935 | 2021-05-25T17:46:28 | 2021-05-25T17:46:28 | 212,055,083 | 0 | 0 | Apache-2.0 | 2019-10-01T09:12:09 | 2019-10-01T09:12:09 | null | UTF-8 | C++ | false | false | 20,743 | hpp | #pragma once
#include <fstream>
#include <iostream>
#include <optional>
#include <string>
#include <thread>
#include <CLI/CLI.hpp>
#include <range/v3/view/getlines.hpp>
#include <range/v3/view/transform.hpp>
#include <spdlog/spdlog.h>
#include "io.hpp"
#include "query/queries.hpp"
#include "scorer/scorer.hpp"
#inclu... | [
"noreply@github.com"
] | noreply@github.com |
eaa594fe996912f8f089f185aa760e8b70714b0f | 8ebb46e9d4bc860c37d716488bc4b10ec42415d4 | /models/synthetic/synthetic.cpp | 03392abb10de2da0aabcae2c93ab6033c3ab37b9 | [
"MIT"
] | permissive | yangjb1/warped2-models | a69026bb1beba7a62f2915f9ad793c41d94d9121 | 7b47af279c81573e013a031394d05679810175f5 | refs/heads/master | 2021-03-27T13:55:33.141836 | 2017-09-12T21:28:13 | 2017-09-12T21:28:13 | 103,323,327 | 1 | 0 | null | 2017-09-12T21:42:47 | 2017-09-12T21:42:47 | null | UTF-8 | C++ | false | false | 6,198 | cpp | #include <cassert>
#include <random>
#include "synthetic.hpp"
#include "Graph.hpp"
#include "tclap/ValueArg.h"
WARPED_REGISTER_POLYMORPHIC_SERIALIZABLE_CLASS(InternalEvent)
WARPED_REGISTER_POLYMORPHIC_SERIALIZABLE_CLASS(ExternalEvent)
inline std::string Synthetic::lpName(const unsigned int lp_index) {
return std... | [
"yangjb@mail.uc.edu"
] | yangjb@mail.uc.edu |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.