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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ac89749d6d33b3e4898897f93cffce993f4fb752 | 1ae555d3088dc123836060371fc520bf0ff13e52 | /atcoder/arc104/c_test.cpp | 73631cbc158d0cec2e8c6fc6441fc223b5ed45d8 | [] | no_license | knagakura/procon | a87b9a1717674aeb5ee3da0301d465e95c758fde | c6ac49dbaaa908ff13cb0d9af439efe5439ec691 | refs/heads/master | 2022-01-31T19:46:33.535685 | 2022-01-23T11:59:02 | 2022-01-23T11:59:02 | 161,764,993 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,914 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(i,N) for(int i=0;i<int(N);++i)
#define rep1(i,N) for(int i=1;i<int(N);++i)
#define all(a) (a).begin(),(a).end()
#define bit(k) (1LL<<(k))
#define SUM(v) accumulate(all(v), 0LL)
typedef pair<int, int> i_i;
typedef pair<ll, ll> l_l;
template... | [
"knagakura@bs.s.u-tokyo.ac.jp"
] | knagakura@bs.s.u-tokyo.ac.jp |
dd298c5acd523eaf966590e3aee756a0b5ce37c8 | e0281740c6d5ed8046410ea220d18ba18ac6869f | /third_party/virtualbox/src/VBox/Devices/USB/VUSBUrb.cpp | 3d8899d56864357761e035c1a67cd25c2d49f023 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"GPL-1.0-or-later",
"LGPL-2.1-or-later",
"GPL-2.0-or-later",
"MPL-1.0",
"LicenseRef-scancode-generic-exception",
"GPL-2.0-only",
"Apache-2.0",
"OpenSSL",
"CDDL-1.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | killvxk/icebox | fe34e88a97f674671965f6d4bee8e8a84ddcbbda | 463dd01236aea40ff6312af1881bf9b915765794 | refs/heads/master | 2020-06-03T07:50:23.511752 | 2019-07-13T09:40:22 | 2019-07-13T09:40:22 | 191,500,707 | 0 | 2 | MIT | 2019-07-13T09:40:23 | 2019-06-12T05:01:18 | C++ | UTF-8 | C++ | false | false | 51,899 | cpp | /* $Id: VUSBUrb.cpp $ */
/** @file
* Virtual USB - URBs.
*/
/*
* Copyright (C) 2006-2017 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* you can redistribute it and/or modify it under the terms of the ... | [
"benoit.amiaux@gmail.com"
] | benoit.amiaux@gmail.com |
929677b2d13895e915ac00afb83044239100b6da | 5c968208f5a6eb54d77c6c4b8ceba67c6f21303f | /Kth Reverse.cpp | 1008f11da436057eae47dcb99e76b905ed461026 | [] | no_license | deeplearningera/Linked-List | 89880bb21096adcf48b56ee5a133d83c57dcf32e | 75fa319f0174af571893cd9090b3f296a94334c5 | refs/heads/master | 2022-08-25T16:02:40.855096 | 2020-05-28T07:02:06 | 2020-05-28T07:02:06 | 266,850,769 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 287 | cpp | struct node *reverse (struct node *head, int k)
{
// Complete this method
struct node *prev=NULL,*q,*curr=head;
int x=k;
while(x-- && curr!=NULL)
{
q = curr->next;
curr->next = prev;
prev = curr;
curr=q;
}
if(curr!=NULL)
{
head->next = reverse(q,k);
}
return prev;
} | [
"noreply@github.com"
] | noreply@github.com |
4219fe3b186e226a64790dde93b0629a3422c02e | 5bdf7248b7e38440aad345d44e0e3c410e80e278 | /projekat/main.cpp | 564fafdd76352a53300bbb4b9d0efd3174c88e9d | [] | no_license | SrdjanUske/ImageNoiseRemoval | c49ae6d393b071331618bb578b99fb2d72b10ac8 | 5c65cb3dd57cbc4f52587beca565a75ba9948bc5 | refs/heads/master | 2020-03-16T16:36:49.873042 | 2018-05-09T18:11:41 | 2018-05-09T18:11:41 | 132,795,751 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,239 | cpp | #include <iostream>
#include <stdlib.h>
#include "tbb/tick_count.h"
#include "tbb/task.h"
#include "BitmapRawConverter.h"
#include "Klase.h"
#define _DEFAULT_ "output.bmp"
#define ARG_NUM 4
#define BOUNDARY 128
#define BLACK 0
#define WHITE 255
#define SUCC_COUNT 9
#define SELF_TASK 0
using namespace std;
using names... | [
"susorac96@gmail.com"
] | susorac96@gmail.com |
05b1f68e00e5225cb6f83b490e2787325686f5a1 | 24f26275ffcd9324998d7570ea9fda82578eeb9e | /chrome/browser/notifications/notifier_state_tracker.cc | e99baa9e882ec64f4ca77cefb3b694cc0684fc6d | [
"BSD-3-Clause"
] | permissive | Vizionnation/chromenohistory | 70a51193c8538d7b995000a1b2a654e70603040f | 146feeb85985a6835f4b8826ad67be9195455402 | refs/heads/master | 2022-12-15T07:02:54.461083 | 2019-10-25T15:07:06 | 2019-10-25T15:07:06 | 217,557,501 | 2 | 1 | BSD-3-Clause | 2022-11-19T06:53:07 | 2019-10-25T14:58:54 | null | UTF-8 | C++ | false | false | 6,961 | cc | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/notifications/notifier_state_tracker.h"
#include <stddef.h>
#include <utility>
#include "base/bind.h"
#include "base/task/post... | [
"rjkroege@chromium.org"
] | rjkroege@chromium.org |
9e31b3b1ebb99249adf2976e0ceb2333b74316b5 | f0ee972868e2899e42be0252fe4e8320f7237bd8 | /firmware/orocaboy3_fw/src/lib/TouchGFX/touchgfx/framework/include/touchgfx/containers/buttons/AbstractButtonContainer.hpp | f0cca2632fe2530ef67b50fe1758a8cff7197f99 | [
"Apache-2.0"
] | permissive | chcbaram/oroca_boy3 | b3d5f82e2233697cfc5d9532961de2b3649891e6 | 6947545baff0d73f15523abb222053c3e5c6ac18 | refs/heads/master | 2023-03-16T02:55:41.988393 | 2019-12-01T06:22:25 | 2019-12-01T06:22:25 | 568,412,305 | 0 | 1 | Apache-2.0 | 2022-11-20T13:08:08 | 2022-11-20T13:08:07 | null | UTF-8 | C++ | false | false | 3,766 | hpp | /**
******************************************************************************
* This file is part of the TouchGFX 4.12.3 distribution.
*
* <h2><center>© Copyright (c) 2019 STMicroelectronics.
* All rights reserved.</center></h2>
*
* This software component is licensed by ST under Ultimate Libert... | [
"chc@robotis.com"
] | chc@robotis.com |
f2473610fd36735f086666dae0f777a994946449 | e5cbf86f5b6e982e4a0056ee4ba2db43ac8bcc3d | /chp03-oscillation-ex01-baton/src/ofApp.h | 6f51bdc4c25ada6d57f1c720d88ed3352b6c6bd7 | [] | no_license | kcconch/natureOFcode | 3b9194806013b325c212abe675b514e1c25d473b | 15ad37587d28baf2057273ce0b0df79c7f295a4f | refs/heads/master | 2020-04-23T00:50:51.606860 | 2019-02-15T03:28:13 | 2019-02-15T03:28:13 | 169,253,443 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 499 | h | #pragma once
#include "ofMain.h"
class ofApp : public ofBaseApp{
public:
void setup();
void update();
void draw();
void keyPressed (int key);
void keyReleased(int key);
void mouseMoved(int x, int y );
void mouseDragged(int x, int y, int button);
void mousePressed(int x, int y, int b... | [
"litchirhythm@gmail.com"
] | litchirhythm@gmail.com |
1f23af0477f55591b5ac53b6f224747bfa5cd05c | 16bf40ee80bc8e91e8375afc1603848addac029b | /data/Erweiterter_Test/SapDbusCSharpSap_Qt/main.cpp | 116f8074d19ec60852976e75ca00e5bdd31eff8b | [
"LPPL-1.3c"
] | permissive | JazzCF/BA_CF | eeea8d60e6d4c0b7c509cb3c30ef98e8fbca1682 | a706a7e51f7250936fdeceac435056c2cc263845 | refs/heads/master | 2021-01-01T17:14:48.233517 | 2017-07-22T13:37:47 | 2017-07-22T13:37:47 | 98,032,830 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 254 | cpp | #include "sapwindow.h"
#include <QApplication>
#include "sap_adapt.h"
#include "sap_interface.h"
#include <QtDBus/QDBusConnection>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
SapWindow w;
w.show();
return a.exec();
}
| [
"christophfranke.mobil@gmail.com"
] | christophfranke.mobil@gmail.com |
e3ec5409bce6062e3a893dec4cd89217649cf978 | de6270467123ab20347b1ec03268bb44718d344a | /Nano/Components/Tilemap.h | 47b913aaa17d518857826ad8a07102400a5e0fb8 | [] | no_license | J0eCool/NaNoWri2014 | 9d934d3cdb2aa913b87e45fb2eb61ef64b776693 | 140a786fc61ccceec5f5ef198232a87683bb280b | refs/heads/master | 2020-05-17T03:09:17.533647 | 2014-12-01T07:30:27 | 2014-12-01T07:30:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 388 | h | #pragma once
#include <Nano/Engine/Engine.h>
class Tilemap : public Component {
private:
String _file;
Rect _bounds;
void spawnEnemySpawner(Vec2 pos, String const& enemyName);
protected:
float priority() const override { return -10.0f; }
public:
//$$_file:String
void LoadArg(String const& key, String const& ... | [
"count.j0ecool@gmail.com"
] | count.j0ecool@gmail.com |
b3daf0033c2effbf97a1c57552330aa5e0fe3e8d | 2aa40ab42188b9b4d249df03b38168ee940ceffb | /public/boost/include/boost_1.33.1/mpl/aux_/preprocessor/is_seq.hpp | 802c944d7cdf3f159a186e6f8a5d61ac3e27de0b | [] | no_license | killerlife/CineCast | bea93404dc28be9e887f73d36eb506885f2806c5 | 955a42a69399b8bb22d9042a50c758a46cba4cf5 | refs/heads/master | 2020-04-12T06:38:03.387855 | 2018-08-02T05:20:24 | 2018-08-02T05:20:24 | 61,522,406 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,104 | hpp |
#ifndef BOOST_MPL_AUX_PREPROCESSOR_IS_SEQ_HPP_INCLUDED
#define BOOST_MPL_AUX_PREPROCESSOR_IS_SEQ_HPP_INCLUDED
// Copyright Paul Mensonides 2003
// Copyright Aleksey Gurtovoy 2003-2004
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.... | [
"jaontolt@leoniscinema.com"
] | jaontolt@leoniscinema.com |
a67b268937dac20b667e4ccfe0f02f81165a7701 | 3c078c619096943a2eff75c88ba84fb556107987 | /src/Atema/Graphics/SpotLight.cpp | dda3532c6dde1865d7994807aa9338fb8699f235 | [
"MIT"
] | permissive | JordiSubirana/ATEMA | d6a778c3b3090456052660ea94fad2c9c20c3c1d | c8e4044f60e1afe4e38ddcf80921ee2e644f46ea | refs/heads/master | 2023-08-31T15:32:50.295905 | 2023-08-24T22:58:05 | 2023-08-24T22:58:05 | 56,619,922 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,990 | cpp | /*
Copyright 2023 Jordi SUBIRANA
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 use,
copy, modify, merge, publish, distribute,... | [
"jordi.subirana@yahoo.fr"
] | jordi.subirana@yahoo.fr |
5a007ed24bd1d75f43caec517df375818d67abde | afa1875303c4c87ff362de6502a83d01271fc512 | /projects/Sample0030_1/main/alloc.cpp | 881d736e20cbe5a3f66a1b9df1385577d77eee7a | [
"MIT"
] | permissive | yasyamanoi/CPPSamples | 24a3fcc8f5d5ab3e1e7748885cc0adbdbdba663b | f352f0df5375af0ab1d9e039faf8b59424f42713 | refs/heads/master | 2020-08-24T23:06:07.665323 | 2020-08-02T06:58:15 | 2020-08-02T06:58:15 | 216,923,610 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 344 | cpp |
#include "function.h"
#define ALLOCSIZE 10000
static char allocbuff[ALLOCSIZE];
static char* allocp = allocbuff;
char* alloc(int n) {
if (allocbuff + ALLOCSIZE - allocp >= n) {
allocp += n;
return allocp - n;
}
else {
return nullptr;
}
}
void afree(char* p) {
if (p >= allocbuff && p < allocbuff + ALLOCSIZ... | [
"yasyamanoi@gmail.com"
] | yasyamanoi@gmail.com |
4db180410f6513c05c09f2b0edc066314a778514 | c4ebc409701a119febf5f898836dec87eec2640a | /Shipia.h | ae994189321096f2e6cf71e490ec3203065e6654 | [
"MIT"
] | permissive | GuMiner/AsteroidaGraphica | 9de022f3a6b92016e67f17f6135c59c61d3eccc3 | dda8e17b90dd24bb10e62f121f5a55b42f656f5d | refs/heads/master | 2021-01-17T06:12:08.474583 | 2017-03-25T18:09:42 | 2017-03-25T18:09:42 | 45,798,206 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,001 | h | #pragma once
#include "Elementa.h"
#include "SoundManager.h"
#include "vmath.hpp"
// Holds ship-specific data.
class Shipia
{
Elementa* elementa;
SoundManager *soundManager;
// Make sure that the dampeners act as buttons instead of thrusters.
bool rotDampToggled;
bool tranDampToggled;
void Thrus... | [
"gus.gran@gmail.com"
] | gus.gran@gmail.com |
f096ed31beb913290ce242c19bd10b1613c26181 | eb2f8b3271e8ef9c9b092fcaeff3ff8307f7af86 | /Grade 10-12/2018 summer/二中集训/8.14 contest/t2/t2 改.cpp | 15b202c0465e856e2c93feeacb423b9d16ea982b | [] | no_license | Orion545/OI-Record | 0071ecde8f766c6db1f67b9c2adf07d98fd4634f | fa7d3a36c4a184fde889123d0a66d896232ef14c | refs/heads/master | 2022-01-13T19:39:22.590840 | 2019-05-26T07:50:17 | 2019-05-26T07:50:17 | 188,645,194 | 4 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,037 | cpp | #include<iostream>
#include<cstring>
#include<algorithm>
#include<cstdio>
#include<cmath>
#include<cassert>
#define ll long long
using namespace std;
inline ll read(){
ll re=0,flag=1;char ch=getchar();
while(ch>'9'||ch<'0'){
if(ch=='-') flag=-1;
ch=getchar();
}
while(ch>='0'&&ch<='9') re=(re<<1)+(re<<3)+ch-'0',... | [
"orion545@qq.com"
] | orion545@qq.com |
b4882c5209afc6d7c42908d1c968a2e6e36a8215 | 17e1f775f7b39aa1f54a273a24a8f8de5ced70a6 | /abstract-factory-pattern/DressShoes.cpp | bb70eaf1c5fdcd6b8375c58ecf20686d3a76b3b5 | [] | no_license | rainDelay9/design-patterns | 7d4cc5a7432421c8905af605a06da02830f98bc1 | 1f3497bd81b1a9aea0ec9b9cb15431b970a9748d | refs/heads/master | 2022-11-20T11:07:16.045403 | 2020-07-22T20:49:25 | 2020-07-22T20:49:25 | 279,406,647 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 134 | cpp | //
// Created by Matan on 7/19/20.
//
#include "DressShoes.h"
std::string DressShoes::clean() {
return "Cleaning my sneakers";
} | [
"matan.orland@gmail.com"
] | matan.orland@gmail.com |
2216534348feb59ee3e725b746ce3d388de66342 | 51635684d03e47ebad12b8872ff469b83f36aa52 | /external/gcc-12.1.0/libvtv/testsuite/libvtv.cc/template-list.cc | aeb2db9e52671e2cf3a46d083f4cf60da6a6031a | [
"LGPL-2.1-only",
"GPL-3.0-only",
"GCC-exception-3.1",
"GPL-2.0-only",
"LGPL-3.0-only",
"LGPL-2.0-or-later",
"Zlib",
"LicenseRef-scancode-public-domain"
] | permissive | zhmu/ananas | 8fb48ddfe3582f85ff39184fc7a3c58725fe731a | 30850c1639f03bccbfb2f2b03361792cc8fae52e | refs/heads/master | 2022-06-25T10:44:46.256604 | 2022-06-12T17:04:40 | 2022-06-12T17:04:40 | 30,108,381 | 59 | 8 | Zlib | 2021-09-26T17:30:30 | 2015-01-31T09:44:33 | C | UTF-8 | C++ | false | false | 2,059 | cc | // { dg-do run }
#include <assert.h>
extern "C" int printf(const char *, ...);
class Subscriptor
{
public:
Subscriptor() : counter(1) {}
virtual ~Subscriptor()
{
counter--;
assert(counter == 0);
}
private:
mutable int counter;
};
template <int dim> struct Function
{
Function(int i): val... | [
"rink@rink.nu"
] | rink@rink.nu |
8b90d082dbd87baa5ef31299aa5afb041a87916b | 4ceeac3c05c690ebcb53f265782aac6a3f911985 | /chrome/browser/ui/views/in_product_help/feature_promo_bubble_view.cc | f5a0161e0b962e70e305b58d01277733e63b43b2 | [
"BSD-3-Clause"
] | permissive | userkrm/chromium | 15934f10f9e43ec4f436e506077a2657f5cd0a36 | 5adff4fb994f187a64d18617584167d87525e838 | refs/heads/master | 2022-12-11T23:08:44.771979 | 2020-09-23T07:50:35 | 2020-09-23T07:50:35 | 297,855,415 | 0 | 0 | null | 2020-09-23T04:47:51 | 2020-09-23T04:47:51 | null | UTF-8 | C++ | false | false | 11,831 | 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/browser/ui/views/in_product_help/feature_promo_bubble_view.h"
#include <memory>
#include <utility>
#include "base/metrics/user_metrics.... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
34645041749b9e6fa8843d4e35a59b8dceb70b9e | bdfca7d4bd6e1baf2c43e593de66fcba80afadeb | /prog-verf/assignment1/sketch-1.7.5/sketch-frontend/test/sk/seq/miniTestb128.cpp | 6c1d898ef00f56839811e403c1b541fe250db639 | [] | no_license | wanghanxiao123/Semester4 | efa82fc435542809d6c1fbed46ed5fea1540787e | c37ecda8b471685b0b6350070b939d01122f5e7f | refs/heads/master | 2023-03-22T06:47:16.823584 | 2021-03-15T10:46:53 | 2021-03-15T10:46:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 258 | cpp | #include <cstdio>
#include <assert.h>
#include <iostream>
using namespace std;
#include "vops.h"
#include "miniTestb128.h"
namespace ANONYMOUS{
void sketch(int i, int& _out) {
_out = i;
return;
}
void spec(int i, int& _out) {
_out = i;
return;
}
}
| [
"akshatgoyalak23@gmail.com"
] | akshatgoyalak23@gmail.com |
42d7914e6808c57baaa161196f906275320e42bf | 97f0ead3e6dd523b21acd44ca6ff5d6cbbb1b173 | /chapter9.cpp | 2a54da637ed3e0b662ac25534c534488701cda57 | [] | no_license | fxspec06/cppinsanityprojectwth | b06733ab7194bc4fa91de7ad178bd3153bc35991 | 925788d9ad3b1a6c6f6fd898fd1f76318ecc63f0 | refs/heads/master | 2021-01-10T11:13:11.885159 | 2013-02-27T21:12:46 | 2013-02-27T21:12:46 | null | 0 | 0 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 35,020 | cpp | /*
CHAPTER: 8
PROGRAM: Class Listing Report
AUTHOR: Bryan Leasot
DATE: 2.14.12
DESCRIPTION: A Class Listing Report is to be prepared.
Write the C++ program to prepare this report.
Pseudocode Specification must be used when designing the program.
Use Test Data CIS225HW1DA.TXT
REQUIRED CONCEPTS: Parallel Arr... | [
"bshado@charter.net"
] | bshado@charter.net |
425f9ab91ec7dd5967919884dc64ead2018e087c | 524c7a5fc5c73ddad859d749e2647bda826879bf | /imageviewer.h | 0d51b766ed0d57f5c7f56c255662eca22b552038 | [] | no_license | SatoshiShimada/keypoint_annotator | b39ed17769daa29147e9621795d6dd3aa7ec5448 | 4d48ad7dee3798d56b1d227fa4dc6d31eaafe1e5 | refs/heads/master | 2023-01-15T12:48:33.375897 | 2020-11-25T07:18:23 | 2020-11-25T07:18:23 | 315,860,204 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,857 | h | #ifndef IMAGEVIEWER_H
#define IMAGEVIEWER_H
#include <vector>
#include <string>
#include <utility>
#include <QMainWindow>
#include <QImage>
#include "imagelabel.h"
QT_BEGIN_NAMESPACE
class QAction;
class QLabel;
class QMenu;
class QScrollArea;
class QScrollBar;
class QHBoxLayout;
class QVBoxLayout;
class QPlainText... | [
"mylinux1204@gmail.com"
] | mylinux1204@gmail.com |
1c59381589f85b4264298796158803393a73c543 | befb5781817e783e804f5fb0797f3f1414d693e7 | /Boss2D/addon/opencv-3.4.7_for_boss/samples/android/face-detection/jni/DetectionBasedTracker_jni.cpp | ef8c26f85b81529ea1732a0639fade1662dd93e4 | [
"MIT",
"BSD-3-Clause"
] | permissive | Yash-Wasalwar-07/Boss2D | 41b619de7d8d356aa9fc988b921128ef446b39ff | 37c5ba0f1c83c89810359a207cabfa0905f803d2 | refs/heads/master | 2022-12-31T13:49:32.272540 | 2020-09-30T18:00:15 | 2020-09-30T18:00:15 | 300,007,175 | 0 | 0 | MIT | 2020-09-30T17:57:55 | 2020-09-30T17:57:54 | null | UTF-8 | C++ | false | false | 8,968 | cpp | #include <DetectionBasedTracker_jni.h>
#include <opencv2/core.hpp>
#include <opencv2/objdetect.hpp>
#include <string>
#include <vector>
#include <android/log.h>
#define LOG_TAG "FaceDetection/DetectionBasedTracker"
#define LOGD(...) ((void)__android_log_print(ANDROID_LOG_DEBUG, LOG_TAG, __VA_ARGS__))
using namespac... | [
"slacealic@nate.com"
] | slacealic@nate.com |
5bcd883157ac0a645449cfcb88f10b8946a176aa | a3d6556180e74af7b555f8d47d3fea55b94bcbda | /chrome/browser/profiles/delete_profile_helper.h | bdbdd70daeffd148fa9bddb59368d7cf2f181211 | [
"BSD-3-Clause"
] | permissive | chromium/chromium | aaa9eda10115b50b0616d2f1aed5ef35d1d779d6 | a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c | refs/heads/main | 2023-08-24T00:35:12.585945 | 2023-08-23T22:01:11 | 2023-08-23T22:01:11 | 120,360,765 | 17,408 | 7,102 | BSD-3-Clause | 2023-09-10T23:44:27 | 2018-02-05T20:55:32 | null | UTF-8 | C++ | false | false | 5,006 | h | // Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_PROFILES_DELETE_PROFILE_HELPER_H_
#define CHROME_BROWSER_PROFILES_DELETE_PROFILE_HELPER_H_
#include "base/functional/callback_forward.h"
#include "base/... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
fbe5154a0d4ba87b9fea21c69dd148ba5127bebd | 820c358ed83232174969af207606e04e1420fbc5 | /Minimum_Swaps_to_Sort.cpp | 0505e6c0123e720fa55f347a9c984e3561d92861 | [] | no_license | shivangigoel1302/gfg_solutions | 7757a2b2d6b29b67ca84e6c9a41fe840d4f0221f | 7936a90b1f636b7723810f6b3b65b30b6699758e | refs/heads/master | 2023-07-19T04:22:15.866446 | 2021-09-05T18:11:31 | 2021-09-05T18:11:31 | 403,380,194 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 632 | cpp | public:
int minSwaps(vector<int>&nums){
// Code here
vector<pair<int,int>>v(nums.size());
for(int i = 0 ; i < nums.size(); i++){
v[i].first = nums[i];
v[i].second = i;
}
int ans = 0;
sort(v.begin(), v.end());
vector<bool>visited(nums.size(),false);
for(int i = 0; i < nu... | [
"shivangigoel1301@gmail.com"
] | shivangigoel1301@gmail.com |
9bdd48588f8ec4a9ef27a8e5fc7cf4dfd3b8d638 | 7f56f0810f8e0ec4ac09cbabcc89b69846f4dacf | /StereoTracker/StereoPreprocessing.cpp | 03b14a818d11837d7b65c4ea1d926854f16b4816 | [] | no_license | OndroNR/stereo-object-tracker | 6b4bc34e23fd0d8bf05403e6d4ac89af4e59c440 | 34c3c85b1a55837c1bfd1251434fab4bfb881bb4 | refs/heads/master | 2021-01-22T20:13:45.070439 | 2015-09-16T05:52:56 | 2015-09-16T05:52:56 | 85,300,803 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,294 | cpp | #include "StereoPreprocessing.h"
using namespace cv;
StereoPreprocessing::StereoPreprocessing()
{
}
StereoPreprocessing::StereoPreprocessing(StereoCalibration* scp, Size imageSize, float alpha)
{
this->scp = scp;
this->imageSize = imageSize;
this->alpha = alpha;
rp = new RectificationParams();
stereoRectify(s... | [
"ondrej.galbavy@gmail.com"
] | ondrej.galbavy@gmail.com |
5798d045e37cbc9bca9e3c2d8df30e013025a382 | e22ae765b312d2ee090313e742415f7233bd7b34 | /Assign2/Assign2/src/Utils.cpp | 888cf53b94689241ee2249bbabb55b700eababd1 | [] | no_license | basson86/ASBR-CPP-2010 | 3a979e8e1c956d2281a24c25457178410a9d0ba8 | 10cd73db602bd908790f0c77b758eff9a94b3257 | refs/heads/master | 2021-03-12T19:56:39.076324 | 2015-05-26T03:45:11 | 2015-05-26T03:45:11 | 35,295,227 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,998 | cpp | #include "Utils.hpp"
bool IsPointInsidePolygon(const double p[], const int n, const double poly[])
{
int i, i1, lcross = 0, rcross = 0;
double px = p[0];
double py = p[1];
double x = 0.0;
bool testr;
bool testl;
for(i = 0; i < n; i++)
{
if(poly[2 * i] == px && poly[2 * i + 1] == p... | [
"bassoncheng@gmail.com"
] | bassoncheng@gmail.com |
5f6fb31273be55b278ffe152a84d14060024b015 | c373f165f9f160828179c950053365aa66a01e34 | /LUGPresentation1/Redirection Example/demo.cpp | 6c96ebf1f62e21bc1a7d40ca88a3326ac5e8548f | [] | no_license | lugatuic/newbieweek2016 | f36c7a63675bcc21b45a741644391839bf20872b | c451d6d951267a961908b9c5de6e78a6b56cf063 | refs/heads/master | 2020-04-11T03:37:19.438060 | 2016-09-14T00:48:34 | 2016-09-14T00:48:34 | 68,159,732 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 248 | cpp | #include <iostream>
#include <string>
int main() {
std::string userInput;
std::cout << "Please enter input" << std::endl;
std::getline(std::cin, userInput);
std::cout << "User input: " << userInput << std::endl;
return 0;
} | [
"jameshwang2289@gmail.com"
] | jameshwang2289@gmail.com |
c4c83962f61467c032d47370f7473c2ae38fe562 | efd80acbef5552e2c01417457bba0c0a5aacb607 | /100+50Problem/022.cpp | 4d15d8317e71c73c31c565907ed53a271935229b | [] | no_license | skyto0927/Programming-Contest | 4e590a1f17ba61f58af91932f52bedeeff8039e8 | 5966bd843d9dec032e5b6ff20206d54c9cbf8b14 | refs/heads/master | 2021-06-04T05:02:58.491853 | 2020-10-06T21:55:14 | 2020-10-06T21:55:14 | 135,557,393 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 538 | cpp | #include <bits/stdc++.h>
using namespace std;
#define REP(i, n) for(int i = 0; i < n; i++)
#define REPR(i, n) for(int i = n; i >= 0; i--)
#define FOR(i, m, n) for(int i = m; i < n; i++)
#define ALL(obj) (obj).begin(), (obj).end()
#define INF 1e9
typedef long long ll;
int main() {
double P;
cin >> P;
doubl... | [
"skyto0927@gmail.com"
] | skyto0927@gmail.com |
3ee0642221ea3ab827bfbe548c33154857801f10 | 318b737f3fe69171f706d2d990c818090ee6afce | /src/storage/disk_table_test.cc | 2a4e0d53c9889fc7ddf79b3d9dff5f97f6d96ee2 | [
"Apache-2.0"
] | permissive | 4paradigm/OpenMLDB | e884c33f62177a70749749bd3b67e401c135f645 | a013ba33e4ce131353edc71e27053b1801ffb8f7 | refs/heads/main | 2023-09-01T02:15:28.821235 | 2023-08-31T11:42:02 | 2023-08-31T11:42:02 | 346,976,717 | 3,323 | 699 | Apache-2.0 | 2023-09-14T09:55:44 | 2021-03-12T07:18:31 | C++ | UTF-8 | C++ | false | false | 44,324 | cc | /*
* Copyright 2021 4Paradigm
*
* 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 |
996ca979fa07c0ee6c833aae7f0b4d7e87a13691 | b43e8bccd933bf475c2e9a1848aeab36a904891a | /include/error.h | 2e7e3103a72d828472de42a9941f816e744e13e7 | [] | no_license | shermpay/smallisp | b54b1e68f623c6db55f889df3fb48adcaea59361 | 6d1e53b21c35aa95efff59b8eeeaf2ab26b7f5c3 | refs/heads/master | 2021-06-05T06:22:13.103840 | 2019-05-07T07:24:58 | 2019-05-07T07:24:58 | 20,180,590 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,387 | h | //===- smallisp/error.h - Smallisp error objects --*- mode: C++ -*-=== //
#ifndef _ERROR_DEF
#define _ERROR_DEF
#include "object.h"
namespace sl {
// Error class
class Error : public Object {
public:
DEF_TYPE_OBJ("Error")
static const Error &Val(const std::string &msg) { return *(new Error(msg)); }
Error(cons... | [
"shermanpay1991@gmail.com"
] | shermanpay1991@gmail.com |
4e464d3c60403fc37a66453455e324f7a1da141b | d26a306d0dc07a6a239e0f1e87e83e8d96712681 | /CHEALG/main.cpp | b541407649e38e403df9e633d5173f90bd94350a | [] | no_license | umar-07/Competitive-Programming-questions-with-solutions | e08f8dbbebed7ab48c658c3f0ead19baf966f140 | 39353b923638dff2021923a8ea2f426cd94d2204 | refs/heads/main | 2023-05-19T03:05:48.669470 | 2021-06-16T18:36:22 | 2021-06-16T18:36:22 | 377,588,251 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 914 | cpp | #include <bits/stdc++.h>
using namespace std;
int countDigit(int n)
{
int d=0;
while(n!=0)
{
n=n/10;
d++;
}
return d;
}
int main()
{
int t;
cin >> t;
while(t--)
{
string s;
cin >> s;
int l = s.size();
int co=0;
for(int i=0; i... | [
"mdu07100@gmail.com"
] | mdu07100@gmail.com |
3069826043e224de869c5038fc16997fadeace95 | a7914b450aeae015a24ba90e5ce60d41d5c592a9 | /Useless/无用一/第几天.cpp | 72674c3a93eb9231dd2189ddcb7264c160150200 | [] | no_license | packbacker-s/CCode | 07eb157e0be7eade9d72807a508f4a9dee6eed90 | 4a2ac77352989f38c372671ac4e562aea7a25d96 | refs/heads/master | 2023-08-11T07:20:49.297388 | 2021-10-01T08:51:53 | 2021-10-01T08:51:53 | 412,320,148 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 96 | cpp | #include <iostream>
using namespace std;
int main() {
int year;
cin >> year;
return 0;
}
| [
"packbacker-s@163.com"
] | packbacker-s@163.com |
4bb5d6602c659c1e4c51f2275c29a63bf2b2176e | bc3f4abb517829c60f846e5cd9787ac61def945b | /cpp_boost/boost/boost/range/detail/range_return.hpp | f242e3e6c5d07539c285a62bed5bbbaf7ea276be | [] | no_license | ngzHappy/cpc2 | f3a7a0082e7ab3bd995820384c938ef6f1904a34 | 2830d68fec95ba0afeabd9469e919f8e6deb41b3 | refs/heads/master | 2020-12-25T17:24:17.726694 | 2016-08-08T13:40:06 | 2016-08-08T13:40:07 | 58,794,358 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,153 | hpp | // Copyright Neil Groves 2009. Use, modification and
// distribution is subject to the Boost Software License, Version
// 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
//
// For more information, see http://www.boost.org/libs/range/
//
#ifndef BOOST_RANGE_DETAIL... | [
"819869472@qq.com"
] | 819869472@qq.com |
ea8b0a70571cfc2dfde5c13bb90b7a0e8d6b2e6d | 76ea46cf5c8dd83aae9562c9aa150b0e74ee5749 | /coteries/cathares.cpp | 3c2a981359715aa1e935eae3f2f976134133a293 | [] | no_license | gabriellevy/destinExtremis | d6344c5351184e559a41f74a43c3b46a61e38077 | a1823ec191801e25d625946ff75e4f0340295c7a | refs/heads/master | 2021-02-18T19:20:03.961924 | 2020-07-05T18:30:00 | 2020-07-05T18:30:00 | 245,226,206 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,426 | cpp | #include "cathares.h"
#include "genviehumain.h"
#include "religion/religion.h"
#include "humain.h"
#include "../destinLib/aleatoire.h"
#include "../destinLib/abs/univers.h"
#include "../destinLib/abs/condition.h"
#include "socio_eco/metier.h"
#include "geographie/quartier.h"
#include <QDebug>
#include "extremis.h"
#inc... | [
"mdeharbe@hotmail.com"
] | mdeharbe@hotmail.com |
a543b0760701688eb74468ff869c80aa0f56364b | 2c79af5fbf327c8b0ba26854b9ed7fd9c572ebb4 | /tensorflow/compiler/xla/service/hlo_rematerialization_test.cc | a405dd2fb40512cd68b1e1691d3270b6f810d696 | [
"Apache-2.0"
] | permissive | fansNvidia/tensorflow | 27e5fc13b939264ec35159f58ab852bcdc444039 | 645b3cb313cb9069dcbe3309b2e44063c547b2d1 | refs/heads/master | 2020-06-12T13:33:02.589749 | 2019-06-28T17:00:11 | 2019-06-28T17:05:24 | 194,312,272 | 2 | 0 | Apache-2.0 | 2019-06-28T17:42:10 | 2019-06-28T17:42:09 | null | UTF-8 | C++ | false | false | 23,232 | cc | /* Copyright 2017 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | [
"gardener@tensorflow.org"
] | gardener@tensorflow.org |
11c8aa863209928c348d65b336a800702a760882 | 24d841128e9d649bb40d8510ac30155613fec5f0 | /qtquick/logos/main.cpp | 82f06d2ac27973e37c4ae6ea35d5fc2cba7a5faa | [] | no_license | glujan/WrUT | f2744e9a9e4bf6a3886aec96d76660c1e7020507 | b064c0359e9c026861e0c7a11ac8123020ae78c3 | refs/heads/master | 2021-01-21T07:30:36.733456 | 2016-09-15T11:08:53 | 2016-09-15T12:09:16 | 68,287,273 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 357 | cpp | #include <QtGui/QApplication>
#include "qmlapplicationviewer.h"
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
QmlApplicationViewer viewer;
viewer.setOrientation(QmlApplicationViewer::ScreenOrientationAuto);
viewer.setMainQmlFile(QLatin1String("qml/logos/main.qml"));
viewer.showE... | [
"janik.grz@gmail.com"
] | janik.grz@gmail.com |
57fc6b60c1d407e3f70d1a13ebd257b688ceb7f4 | dc013fd7cd3553574edd125d1f13302699a21f07 | /CS4550/Compiler/Compiler/Parser.h | bb0d3e73b6fb2a029974a7ccf131633de01fdd25 | [] | no_license | Jeffhabs/School | 761a23cd0d08adfe8a83cbbd38da1876d534f1bc | 5b537bc59914499fa4f4725c4ca0c8bfb1ce98f4 | refs/heads/master | 2021-01-10T16:34:36.476167 | 2016-03-16T01:24:40 | 2016-03-16T01:24:40 | 51,982,061 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,651 | h | //
// Parser.h
// Compiler
//
// Created by Jeffrey Haberle on 3/2/16.
// Copyright © 2016 CS4550. All rights reserved.
//
#ifndef Parser_h
#define Parser_h
#include <stdio.h>
#include "Token.h"
class ScannerClass;
class SymbolTableClass;
class StartNode;
class ProgramNode;
class TokenClass;
class StatementGroupN... | [
"jeffrey.haberle@gmail.com"
] | jeffrey.haberle@gmail.com |
3605860a82e208dd4b9d97efdbec565fd9f1070e | b2710c4f518dd491ac1bc51ac955c94ed596fff1 | /engine/include/engine/components/CCompCollider.h | 94d2b3f73262cbf4a48cd7f794024986bf1ba299 | [
"MIT"
] | permissive | Donerkebap13/DonerComponents_Asteroids_Example | cb0ff45000ac7d1f81573f39789677666b99f8ee | ea84dbc352fa006cc214d063b5c9f2dce19e4551 | refs/heads/master | 2018-12-19T17:58:47.050510 | 2018-09-16T15:21:55 | 2018-09-16T15:21:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,806 | h | ////////////////////////////////////////////////////////////
//
// MIT License
//
// DonerComponents Asteroids Example
// Copyright(c) 2018 Donerkebap13
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files(the "Software"), to deal
// ... | [
"donerkebap13@gmail.com"
] | donerkebap13@gmail.com |
1f47d0caddd1353af4b6af41b288f53e9b37779d | ba0cbdae81c171bd4be7b12c0594de72bd6d625a | /MyToontown/Panda3D-1.9.0/include/thread.h | 0b8c2b24067a1df2caaa254d36af53be8b29980d | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | sweep41/Toontown-2016 | 65985f198fa32a832e762fa9c59e59606d6a40a3 | 7732fb2c27001264e6dd652c057b3dc41f9c8a7d | refs/heads/master | 2021-01-23T16:04:45.264205 | 2017-06-04T02:47:34 | 2017-06-04T02:47:34 | 93,279,679 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,580 | h | // Filename: thread.h
// Created by: cary (16Sep98)
//
////////////////////////////////////////////////////////////////////
//
// PANDA 3D SOFTWARE
// Copyright (c) Carnegie Mellon University. All rights reserved.
//
// All use of this software is subject to the terms of the revised BSD
// license. You shou... | [
"sweep14@gmail.com"
] | sweep14@gmail.com |
ea0c886a247006c4760300a0f7df25bef7924d6a | bd1fea86d862456a2ec9f56d57f8948456d55ee6 | /000/111/121/CWE690_NULL_Deref_From_Return__char_realloc_84.h | 94f2f1513ad8b8781dfa70dedfd24f8290ba90c5 | [] | no_license | CU-0xff/juliet-cpp | d62b8485104d8a9160f29213368324c946f38274 | d8586a217bc94cbcfeeec5d39b12d02e9c6045a2 | refs/heads/master | 2021-03-07T15:44:19.446957 | 2020-03-10T12:45:40 | 2020-03-10T12:45:40 | 246,275,244 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,284 | h | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE690_NULL_Deref_From_Return__char_realloc_84.h
Label Definition File: CWE690_NULL_Deref_From_Return.free.label.xml
Template File: source-sinks-84.tmpl.h
*/
/*
* @description
* CWE: 690 Unchecked Return Value To NULL Pointer
* BadSource: realloc Allocate data using real... | [
"frank@fischer.com.mt"
] | frank@fischer.com.mt |
1c4c5172325977c5dee9b8df8a7d9e8732b6d589 | 1d10605b106b5ab31b2d2f5722ebe9b89ebb052a | /convert_kmerFasta_to_yj.cpp | 2de6395f0ca33643ee1b4d70e3f666bc06ac3f92 | [] | no_license | younies/Building_genomes_database_tools | 788587fe0e560cbb5188a5d10f6365a3087e2f00 | ddd4489ca6efc280aef78fb38ff20191c0cf7368 | refs/heads/master | 2021-01-22T17:33:54.582488 | 2016-07-22T12:33:42 | 2016-07-22T12:33:42 | 63,815,461 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,580 | cpp | //
// main.cpp
// building_yj_database
//
// Created by Younies Mahmoud on 7/14/16.
// Copyright © 2016 Younies Mahmoud. All rights reserved.
//
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <err.h>
#include <errno.h>
#include <fcntl.h>
#include <fstream>
#include <iostream>
#include <map>
#inc... | [
"younies.mahmoud@hondius.seas.wustl.edu"
] | younies.mahmoud@hondius.seas.wustl.edu |
7f9601167d758a6623e7e0755bad4e9b3c041de8 | 627d4d432c86ad98f669214d9966ae2db1600b31 | /unprocessed/util/qlalr/compress.cpp | 473ee9eff5ddfda1292b7927773d707741979a03 | [] | no_license | fluxer/copperspice | 6dbab905f71843b8a3f52c844b841cef17f71f3f | 07e7d1315d212a4568589b0ab1bd6c29c06d70a1 | refs/heads/cs-1.1 | 2021-01-17T21:21:54.176319 | 2015-08-26T15:25:29 | 2015-08-26T15:25:29 | 39,802,091 | 6 | 0 | null | 2015-07-27T23:04:01 | 2015-07-27T23:04:00 | null | UTF-8 | C++ | false | false | 6,867 | cpp | /***********************************************************************
*
* Copyright (c) 2012-2015 Barbara Geller
* Copyright (c) 2012-2015 Ansel Sermersheim
* Copyright (c) 2012-2014 Digia Plc and/or its subsidiary(-ies).
* Copyright (c) 2008-2012 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.... | [
"ansel@copperspice.com"
] | ansel@copperspice.com |
2026d7cc598363f118bae75ba7b62298d992cdfa | 600df3590cce1fe49b9a96e9ca5b5242884a2a70 | /cc/tiles/picture_layer_tiling_unittest.cc | db739287acff696182440de623809308a486c01b | [
"BSD-3-Clause"
] | permissive | metux/chromium-suckless | efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a | 72a05af97787001756bae2511b7985e61498c965 | refs/heads/orig | 2022-12-04T23:53:58.681218 | 2017-04-30T10:59:06 | 2017-04-30T23:35:58 | 89,884,931 | 5 | 3 | BSD-3-Clause | 2022-11-23T20:52:53 | 2017-05-01T00:09:08 | null | UTF-8 | C++ | false | false | 45,051 | cc | // Copyright 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 "cc/tiles/picture_layer_tiling.h"
#include <stddef.h>
#include <limits>
#include <set>
#include "base/bind.h"
#include "base/macros.h"
#includ... | [
"enrico.weigelt@gr13.net"
] | enrico.weigelt@gr13.net |
8dd976a220b77c0f2aad74c3f7b899661255f905 | 0647a2c67af71c17a52c572e4c7065366f041b8b | /keypadController.cpp | ea705aadd653a96a5ac6b08d211cb92af574234f | [
"MIT"
] | permissive | JulianToya/NotPOSPOS | 2d147a919a843f0659303870d9aeccd56833d601 | 8da0519225035f6a0ce85013975c9404b2a270d8 | refs/heads/master | 2021-08-20T08:43:51.106272 | 2017-11-28T16:18:01 | 2017-11-28T16:18:01 | 110,021,100 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 217 | cpp | #include "keypadController.h"
keypadController::keypadController(order * items)
{
cart = items;
cart->addObserver(this);
display.refresh(*cart);
}
void keypadController::update() {
display.refresh(*cart);
}
| [
"kbuffardi@csuchico.edu"
] | kbuffardi@csuchico.edu |
c4d2915c44e0c3ede3bbeeddbaea69c7283c9d98 | 1c9101304bf960348209339c7eabf98164f2e0b2 | /db/db_flash.h | 0f35181440e2a3c36e11ba9d971ebea210c3eac6 | [
"BSD-3-Clause"
] | permissive | Meggie4/le_del | d1e9469a74b7e61b6aa1dea425961a25ad5b5064 | 68158a548bff6960cccde0b6d86be25ca314eb28 | refs/heads/master | 2020-05-25T23:31:28.869657 | 2019-05-22T12:43:14 | 2019-05-22T12:43:14 | 188,036,118 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,836 | h | #include <stdint.h>
#include <string>
#include <sys/types.h>
#include <sys/mman.h>
#include <err.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <stdint.h>
#include <fcntl.h> //provides O_RDONLY,
#include <linux/fs.h> //provides BLKGETSIZE
#include <sys/ioc... | [
"1224642332@qq.com"
] | 1224642332@qq.com |
fef628843be9a074428fef2820a9506b2c5dd785 | 7251ec4e532c5cf8190ed1ff3f88866ea97d1419 | /BSWithRange/Prob144.cpp | c18141b2cd2f5343d67f5405279d4c80fec36261 | [] | no_license | milodky/algorithm | 3c55bfb359180ff17a5296fcddffb11355a7edbb | a4bf0e875adbe3dd8abc605016d69b1ec07d1a53 | refs/heads/master | 2020-12-24T13:28:28.646351 | 2014-01-21T19:05:11 | 2014-01-21T19:05:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,416 | cpp | /*
* given a number n, find the nearest palindrome of n just greater than n.
*/
#include <reting>
#include <ioreteam>
#include <cstdlib>
using namespace std;
inline int GetLength(int n)
{
int len = 0;
while (n) {
len++;
n /= 10;
}
return len;
}
inline int TenByN(int n)
{
if (n == 0)
return 1;
int ret =... | [
"yext4011@gmail.com"
] | yext4011@gmail.com |
15cd3ebea475624868261f7d8191a2bf29b92650 | 5bb89918f54c658081174f46ee2ed5166efaf1f9 | /pb_test/jni/protocol/IM.File.pb.cc | f5631b4f7d7e7d142087a921090225acc5ac20a4 | [] | no_license | hlyces/jni_immessage | ad4a36bfe443fd6c33bacdc064647ef8dfe140a9 | 1a6322c24be725f7b5966a958b2c6b0d34eff13e | refs/heads/master | 2021-01-10T10:05:02.812054 | 2015-12-28T07:03:00 | 2015-12-28T07:03:00 | 48,678,654 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 116,307 | cc | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: IM.File.proto
#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
#include "IM.File.pb.h"
#include <algorithm>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/once.h>
#include <google/protobuf/io/coded_stream.h>
#includ... | [
"hlyces@163.com"
] | hlyces@163.com |
b37b5349f5936137ab583ade3810e68d94f57b1e | 3d1352556ff4fd22bbfc12d927c1f08c15f0fd37 | /AutoRCCar-master/arduino/motor driver test/motor driver test .ino | 8601c923d2f66c3958d9f731826ac47bb106e1e1 | [] | no_license | medofadel100/AutoCar-master | 854924c12cd69d596418689d15031f959f41c752 | 96d4a87b2ea1d75fd9eab76e4d9478bc7968010d | refs/heads/master | 2022-11-25T18:40:25.515590 | 2020-07-27T01:32:25 | 2020-07-27T01:32:25 | 281,613,286 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,040 | ino |
// motor Driver 1
int PWM1motor1 = 2;
int PWM2motor1 = 3;
int LPWMmotor1 = 4;
int RPWMmotor1 = 5;
// motor Driver 2
int PWM1motor2 = 6;
int PWM2motor2 = 7;
int LPWMmotor2 = 8;
int RPWMmotor2 = 8;
void setup()
{
pinMode(PWM1motor1, OUTPUT);
pinMode(PWM2motor1, OUTPUT);
pinMode(LPWMmotor1, OUTPUT);
pinM... | [
"medofadel100@gmail.com"
] | medofadel100@gmail.com |
140a6cf7100958b3c356a8e8db0046f93669d0db | 2e222de5e03b948e5692f0011b6e38aa6067551b | /av/media/libvoicecall/libwebrtc_neteq/src/system_wrappers/interface/trace_event.h | 01f537e8cba6b88cd5e25fbe74623695b47b08df | [] | no_license | cnping/Framework_V3 | 2df169e82aad2a898f4128f186ff88cc48249a4a | 558bbd2175a46cb83c1a65af7146e8f5918f4bac | refs/heads/master | 2021-01-12T20:48:36.792426 | 2015-11-13T01:22:52 | 2015-11-13T01:22:52 | 48,948,388 | 3 | 3 | null | 2016-01-03T14:23:08 | 2016-01-03T14:23:07 | null | UTF-8 | C++ | false | false | 43,981 | h | // 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 under third_party_mods/chromium or at:
// http://src.chromium.org/svn/trunk/src/LICENSE
#ifndef WEBRTC_SYSTEM_WRAPPERS_INTERFACE_TRACE_EVENT_H_
#define... | [
"978935078@qq.com"
] | 978935078@qq.com |
692c8aa30cb8771c3a6b61f41aee2344f2028bb1 | d9ed39be9ff77d26edb79cde1f81e5165b64e130 | /TinySTL/listTest.h | 5f1bf579f3be9b82f784b531c846ace3b6dd3ea4 | [] | no_license | huchong0/TinySTL | d32cc835dbc4ad3880753ceeb0d73fe78a7b1110 | 6586d34a7d0ab7f6178baf2253ce37fb2620d69a | refs/heads/master | 2021-01-18T03:28:32.321245 | 2017-03-22T12:06:47 | 2017-03-22T12:06:47 | 85,820,040 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 112 | h | #pragma once
#ifndef LISTTEST
#define LISTTEST
namespace TinySTL
{
void listTest();
}
#endif // !LISTTEST
| [
"huchong0@foxmail.com"
] | huchong0@foxmail.com |
7af518e4778a7a94796578af24d15dd62cfd2bf6 | 6ebcf967172e10715f4c584dce460be22d519b91 | /classes/this.cpp | 169ea726f3cf537aecb46eca14ca6f9b9c51c52c | [] | no_license | saykind/cpp | ee76ffaab2668c04d70f246dbca074914b97293a | 2aecc573a3b677471c49415d7ea08b714e370da4 | refs/heads/master | 2021-01-25T04:03:08.186517 | 2019-07-31T20:15:45 | 2019-07-31T20:15:45 | 25,821,560 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 775 | cpp | #include <iostream>
#define nl '\n'
using namespace std;
class Point {
int x;
int y;
public:
Point(int x, int y) {this->x = x; this->y = y;}
Point operator+ (const Point &p) const {
return Point(x+p.x,y+p.y);
}
Point& operator<< (int n) {this->x<<=n; this->y<<=n; return *this;}
friend ostream &operator... | [
"SaykinD@phystech.edu"
] | SaykinD@phystech.edu |
fe224409be649419b48d318d089f02d7fec1c93b | 492b86d65886ea7da419a7c4987cb0b599ea86ef | /1918_후위표기식.cpp | 568d6562c0add81a6b89fa1018e18a0341d904ce | [] | no_license | Jay-Ppark/Algorithm | c11a3cbc952b6f58ae08f5b603cee9278afd3ee1 | 99dc4d0a001f67c7189c728f084d4fd1e8333cd1 | refs/heads/master | 2023-04-30T13:19:19.766766 | 2023-04-25T08:23:11 | 2023-04-25T08:23:11 | 238,934,530 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,679 | cpp | #include<iostream>
#include<stack>
using namespace std;
int main(void){
ios::sync_with_stdio(false);
cin.tie(NULL);
stack<char> s;
string problem;
cin>>problem;
for(int i=0;i<problem.size();i++){
if(problem[i]=='('){
s.push('(');
}
else if(problem[i]==')'){
... | [
"godjaehyung@gmail.com"
] | godjaehyung@gmail.com |
5e56d8fd3a562b9f9c22dd68770beb32ac74401e | a96be19b7df921615add41ccb418e55ba03c5a79 | /ChinessChess/SmartPtr.h | 0057dacf24c2180f1961e7364e9af09ac0f387dd | [] | no_license | haskellcg/Chinese_Chess_Codes | 8341938c7fa1e4a04a450cd471c88dbd62243899 | b6fe86af77e9451c8f09a60ba974c9cd313d39b2 | refs/heads/master | 2023-02-27T10:22:09.528942 | 2021-02-07T17:22:14 | 2021-02-07T17:22:14 | 336,844,544 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,649 | h | #ifndef SMARTPTR_H
#define SMARTPTR_H
template<typename T>
class PtrCounter
{
private:
int quoteCounter;
T* ptrData;
public:
PtrCounter(T* _ptrData)
{
this->ptrData=_ptrData;
this->quoteCounter=1;
}
~PtrCounter()
{
if(this->ptrData!=0)
delete this->ptrData;
}
T* getPtr() const
{
... | [
"haskellcg@foxmail.com"
] | haskellcg@foxmail.com |
e04a847a8d5975069379be379ebd29af69c1b0e0 | 505797c5a4070ed5e9dd53b030b2ccffe04ad589 | /FAHRCELS.cpp | c595c6dc1acf42e78338f0e3c30fceac13baa906 | [] | no_license | pnsingh/Numerical-Computation | b24cd78980e99a271f244afcd04d654237b2d711 | 5bf71f6ddd0dd7198155fd30257c5950fb50a046 | refs/heads/master | 2021-07-01T03:38:14.930733 | 2017-09-20T18:37:08 | 2017-09-20T18:37:08 | 104,253,327 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 510 | cpp | //Program to convert temperature value given in Fahrenheit
//into Celsius
#include<iostream.h>
#include<conio.h>
using namespace std;
float fahr, cels;
//clrscr();
int main()
{
cout<<"Please enter temperature value in Fahrenheit ";
// stotres the temp in fahr variable
cin>>fahr;
// calculates the ... | [
"noreply@github.com"
] | noreply@github.com |
7e317767266509e3e603e25c27ff3aca0ec4dbef | 379d37c01fc6e8ae01be14dae5bb17a2f6d0b8a7 | /ZRXSDK2018/inc/zdbunderlaydef.h | 76553802f9b1821afe35a6bcdfed573085a5099e | [] | no_license | xiongzhihui/QuickDim | 80c54b5031b7676c8ac6ff2b326cf171fa6736dc | 1429b06b4456372c2976ec53c2f91fd8c4e0bae1 | refs/heads/master | 2020-03-28T12:08:21.284473 | 2018-09-11T06:39:20 | 2018-09-11T06:39:20 | 148,272,259 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,879 | h |
#ifndef ZCDB_DBUNDERLAYDEF_H
#define ZCDB_DBUNDERLAYDEF_H
#pragma once
#include "zdbmain.h"
#include "zacstring.h"
#pragma pack (push, 8)
class ZcDbUnderlayItem;
class ZcDbUnderlayHost;
class ZSOFT_NO_VTABLE ZcDbUnderlayDefinition: public ZcDbObject
{
public:
ZCDB_DECLARE_MEMBERS(ZcDbUnderlayDefinition);
... | [
"38715689+xiongzhihui@users.noreply.github.com"
] | 38715689+xiongzhihui@users.noreply.github.com |
86c34ec9b29e976f1905a3ffef804891aab7ef74 | 4d5815a2a27155f0a399c5a24b99c8bc86f859bf | /modified.cpp | 69835167bec499d77a65805f9198a58bd765cfbe | [] | no_license | ShihabShafkat/c- | a8b9abe00db56b543d3d90d41014bf4824076d09 | 72a2ed1a0a9b7dbc569a9c51d066b167689b221b | refs/heads/master | 2021-08-07T03:48:47.576546 | 2020-04-30T11:04:57 | 2020-04-30T11:04:57 | 164,316,938 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,034 | cpp | #include<bits/stdc++.h>
using namespace std;
float eq(float x)
{
return x*x-4*x-10;
}
int main()
{
float a,b;
cout<<"enter a b"<<endl;
cin>>a>>b;
float x1,x2,x,fx1,fx2,f,e,e0=.01;
x1=a;
x2=a+.01;
//cout<<"test 1";
while(x2<b)
{
// cout<<"test 2";
... | [
"noreply@github.com"
] | noreply@github.com |
119d0d74c21a556261b782460028991be0facd02 | bb7adc10258838895491c71ae6413bf34c3559e0 | /3/notes/getPutback.cpp | c8d85e4312843756893c1a7617a9e148afc1546e | [] | no_license | winfamy/cpp | cb85488d97881d29c675e8c6c9ab1c97ada10d0d | 77966585a50958aed5938443963c182c7acc0041 | refs/heads/master | 2021-09-13T20:04:15.430146 | 2018-05-03T17:14:24 | 2018-05-03T17:14:24 | 100,608,396 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 993 | cpp | /*
Error trapping using get() and putback()
cin.get(char) gets the next character in the input stream and stores it in chm even if it is a space.
cin.putback(char) lets you put the last characters obtained
from the get() function back into the input stream.
Program checks to see if the first charactere entered... | [
"infamy@unyx.io"
] | infamy@unyx.io |
dbd64edfcc835aa9bc3bec2a69b1d7ae5a6d0a09 | 9805a45a2cb5a4f8f4951069bfbd8bf71fd8cef1 | /examples/rvalue-parameters/exp/example.h | 5bd192db6ba7703db7b013be22cbe0bd2dc192c6 | [
"MIT"
] | permissive | cgy1992/cib | ed1169e46c6f52cc3cfb476661145a328a6e4e79 | 9893449479dd7177d7009a491ca8d6b62b1a756a | refs/heads/master | 2020-05-04T08:35:37.766954 | 2019-03-30T08:28:01 | 2019-03-30T08:28:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 537 | h | #pragma once
#include <cstdint>
#include "__zz_cib_internal/example-predef.h"
class RValueExample
{
public:
~RValueExample();
RValueExample(std::int32_t val);
RValueExample(RValueExample&& );
RValueExample(RValueExample const & );
RValueExample& operator=(RValueExample&& rhs);
RValueExample& operator=(RV... | [
"SatyaRanjan.Das@tomtom.com"
] | SatyaRanjan.Das@tomtom.com |
de9739bd765277dba996a954da54a086243d47d9 | b8723a2862a0bc34e02a44628a2f9434693ea7d1 | /kattis/classy.cpp | 8709db7fb30b784812cde60d0e358660a36d821c | [] | no_license | mario7lorenzo/cp | ea6d20bbde7ec7217b7bab45f635dda40d2e078b | 253c16599a06cb676a3c94b4892279905486cf5d | refs/heads/master | 2022-05-03T22:27:07.710681 | 2022-04-10T08:37:53 | 2022-04-10T08:37:53 | 158,787,709 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 969 | cpp | def main():
testcase = input()
for _ in range (int(testcase)):
n = int(input())
lst = []
for _ in range(n):
name, kelas, gjls = input().split()
name = name[:-1]
kelas = kelas.split('-')
multiplier = 10**12
panjang = len(kelas)
... | [
"mariolorenzo213@gmail.com"
] | mariolorenzo213@gmail.com |
e4533397483d09a70d956127bda520ad64f9118a | 7ddc0636e1c48ab590a9b3160a54ddbda484273f | /FactoryOfThings/source/graphics/RenderSystem.cpp | 2d2c75cf8e33cbeb4d3d694d09f267af45be104c | [] | no_license | codemawax/Basic-ECS | 54cd3f8e0c001b7304ecffdaebe16d135cddd31e | c50a8ef62b4e7f67e15202540c6ec09c9e59bd4d | refs/heads/master | 2020-05-09T14:31:46.311786 | 2019-08-11T10:44:05 | 2019-08-11T10:44:05 | 181,197,516 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 341 | cpp | #include "RenderSystem.h"
void RenderSystem::Update()
{
for (ComponentTuple& componentTuple : components)
{
SpriteComponent* spriteComponent{ std::get<SpriteComponent*>(componentTuple) };
const sf::Sprite& sprite{ spriteComponent->GetSprite() };
sf::RenderWindow window;
window.d... | [
"max.badran@gmail.com"
] | max.badran@gmail.com |
8caaa5b15d37e1cd78070a688465c4996fd8116c | ad007b900a8fda1fcfc8a83ed15804737f3556e4 | /labs/ai-edge/vision/manufacturing-part-check/code/analytics/esp-eye/src/IoTHubService.h | 1523e447924b6958811df1be679d32c063644950 | [
"LicenseRef-scancode-generic-cla",
"LicenseRef-scancode-free-unknown",
"MIT"
] | permissive | jenfoxbot/iot-curriculum | 0452096e9c1a2d6c9290dbd11ad80c7bab8655eb | df11b9914ff9b19322435142623a7e72fa2f2a97 | refs/heads/main | 2023-04-11T02:35:01.227128 | 2021-04-22T03:14:49 | 2021-04-22T03:14:49 | 360,377,190 | 2 | 0 | MIT | 2021-04-22T03:11:11 | 2021-04-22T03:11:11 | null | UTF-8 | C++ | false | false | 1,155 | h | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
#ifndef _IOTHUBSERVICE_H_
#define _IOTHUBSERVICE_H_
#include "Camera.h"
#include "ImageClassifier.h"
#include <AzureIoTHub.h>
#include <string>
using namespace std;
/**
* @brief A class that handles interaction with the Azure IoT Hub.
*/
... | [
"jim.bennett@microsoft.com"
] | jim.bennett@microsoft.com |
8259861d2a6a51de2834f9c19ce0228d5d3fa289 | 2e1200fcec94ea57ffb925ee7f35d21bc4a6443e | /trunk-fusion/src/Bot-SmallPMX.Main/LedBarTest.hpp | 0cf807b50bd4f1162cfd64ba8a7a04b3f7c88ff7 | [] | no_license | cho934/pm-robotix | acc1eaa80069cce297ee52e08961bfdc04110f5a | e88fcfc3d636b428d88797ed612c2461bce58f1b | refs/heads/master | 2021-01-20T04:32:23.610337 | 2015-06-05T20:28:08 | 2015-06-05T20:28:08 | 39,189,107 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 856 | hpp | /*!
* \file
* \brief Définition de la classe LedBarTest.
*/
#ifndef LEDBARTEST_HPP
#define LEDBARTEST_HPP
#include "../Common/FunctionalTest.hpp"
#include "../Log/LoggerFactory.hpp"
/*!
* \brief Effectue un test de clignotement des LEDs du tableau d'affichage.
*/
class LedBarTest: public FunctionalTest
{
privat... | [
"christophe.chaudelet@gmail.com"
] | christophe.chaudelet@gmail.com |
dabf6b7b556c796552835df6f6b725091f6c5ba8 | 3b7fde4ace1077b49b1bf82283a9a270687fb030 | /Cybertetris/game.h | d6bd56c70192a30e3db07aa11e3b5184d463599f | [] | no_license | Witchcraft-Jasper/Cybertetris | 2192bb98f133d53a7ef228eb8dca3681023c779c | 67608ba99e236874abad95f039bb4e25052b5c54 | refs/heads/Version-2 | 2023-06-03T07:54:46.305029 | 2021-06-16T05:22:38 | 2021-06-16T05:22:38 | 368,551,042 | 3 | 1 | null | 2021-06-16T12:20:19 | 2021-05-18T14:00:12 | C++ | UTF-8 | C++ | false | false | 3,617 | h | #ifndef GAME_H
#define GAME_H
#include <QObject>
#include <QStack>
#include <vector>
#include <random>
const int SIZE = 4;//俄罗斯方块为4x4
//储存俄罗斯方块的形状
struct Shape {
char name; //名称
char image[SIZE][SIZE + 1]; //用于储存当前的形状
int y, x; //坐标
void rotate() {
//获取当前形状
Shape old = *this;
... | [
"noreply@github.com"
] | noreply@github.com |
7991de1ba57e1d4b3084fc96378919ccef22731e | 85455876309135778cba6bbf16933ca514f457f8 | /3000/3009.cpp | af86927ed855c733bc70d2e54b9b563d2e608b5c | [] | no_license | kks227/BOJ | 679598042f5d5b9c3cb5285f593231a4cd508196 | 727a5d5def7dbbc937bd39713f9c6c96b083ab59 | refs/heads/master | 2020-04-12T06:42:59.890166 | 2020-03-09T14:30:54 | 2020-03-09T14:30:54 | 64,221,108 | 83 | 19 | null | null | null | null | UTF-8 | C++ | false | false | 342 | cpp | #include <iostream>
using namespace std;
int main(){
int x[4], y[4];
for(int i=0; i<3; i++)
cin >> x[i] >> y[i];
if(x[0] == x[1]) x[3] = x[2];
else if(x[1] == x[2]) x[3] = x[0];
else x[3] = x[1];
if(y[0] == y[1]) y[3] = y[2];
else if(y[1] == y[2]) y[3] = y[0];
else y[3] = y[1];
cout << x[3] << ' ' << y[3] ... | [
"wongrikera@nate.com"
] | wongrikera@nate.com |
69d5cca55ee95bc0362c1ca1ae804bdf3c782742 | c868ac828458980c87cf81eabd62f577ab876f48 | /abc156/f/main.cpp | 26fee62da2b88b95c350061ea7b390921a570acc | [] | no_license | Naotchi/AtCoder | efdd717620adc7ed3adf57449aef99ef0980398c | 9273fc992c5c444971fd0882a9869ca0cce70481 | refs/heads/master | 2022-11-27T23:09:43.191242 | 2020-07-26T09:05:52 | 2020-07-26T09:05:52 | 282,609,061 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 501 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const int MM = 1000000000;
const int MOD = MM + 7;
const int MAX = 510000;
#define rep(i, n) for(ll i=0; i<n; i++)
#define Rep(i, j, n) for(ll i=j; i<n; i++)
#define all(vec) vec.begin(), vec.end()
template<class T> inline bool chmin(T& a, T b) {if(a >... | [
"n.shiba0101@gmail.com"
] | n.shiba0101@gmail.com |
bb5ebd7da46565c8a198f1243b83fd0e15c3f5c1 | 2c6c036a7f2449026b53f1842e168eb53c85db81 | /exe2c/SRC/CMyString.h | 4d3382edbe6efc2a96adb59f8482407f774e9397 | [] | no_license | killvxk/ExeToC-Decompiler | 6ac3cb64efaa9aa1605e301533660b93b1b1dc7b | 255cc83320c2f0aa863a84b7c24b3bdf606322bb | refs/heads/master | 2021-08-06T12:12:55.671044 | 2017-11-05T20:02:05 | 2017-11-05T20:02:05 | 111,184,528 | 1 | 2 | null | 2017-11-18T07:05:17 | 2017-11-18T07:05:17 | null | WINDOWS-1250 | C++ | false | false | 404 | h | // Copyright(C) 1999-2005 LiuTaoTao٬bookaa@rorsoft.com
// CMyString.h
#ifndef CMyString_H
#define CMyString_H
const MEMORY_STEP = 2048;
class CMyString
{
UINT m_maxlen;
UINT m_curlen;
PSTR m_bufptr;
public:
CMyString();
~CMyString();
void strcat(PCSTR str);
void Clear();
UINT GetLength(... | [
"gunmetal313@gmail.com"
] | gunmetal313@gmail.com |
222fe5316e063f9020e3c20ee8e19fcb96e750c0 | 71501709864eff17c873abbb97ffabbeba4cb5e3 | /llvm8.0.1/clang-tools-extra/clangd/FSProvider.h | 67d2ec1508bf286c8852d48af7be7d58d282ca31 | [
"NCSA"
] | permissive | LEA0317/LLVM-VideoCore4 | d08ba6e6f26f7893709d3285bdbd67442b3e1651 | 7ae2304339760685e8b5556aacc7e9eee91de05c | refs/heads/master | 2022-06-22T15:15:52.112867 | 2022-06-09T08:45:24 | 2022-06-09T08:45:24 | 189,765,789 | 1 | 0 | NOASSERTION | 2019-06-01T18:31:29 | 2019-06-01T18:31:29 | null | UTF-8 | C++ | false | false | 1,470 | h | //===--- FSProvider.h - VFS provider for ClangdServer ------------*- C++-*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"kontoshi0317@gmail.com"
] | kontoshi0317@gmail.com |
d7ccf5faa42771e9fb87f798eb2720547e608b67 | d3e8b596e563ef662a19571420db11c3a1d81e55 | /base/chapter08/chapter08.cpp | b987145f482e85625d43b4079aa0b2fbf95cbd27 | [] | no_license | scq355/c-language | 5fc779b76e6ed2ddee7634a48fc44b2d0d7521c2 | 59ff886c2db497c7b6d6790c8b8effb52aa3690d | refs/heads/master | 2020-09-11T12:44:03.588451 | 2019-12-03T15:07:01 | 2019-12-03T15:07:01 | 222,068,727 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,226 | cpp | //
// Created by scq on 2019/11/16.
//
#include "chapter08.h"
char *str_in() {
char buf[BUF_LEN];
// 输入一行字符串,讲字符串存储到字符串数组中
if (!gets(buf)) {
printf("\nError reading string.\n");
return NULL;
}
if (buf[0] == '\0') {
return NULL;
}
// 将字符串移动到指定的一块内存空间中,并且返回该内存的起始位置
... | [
"nwpuscq355@163.com"
] | nwpuscq355@163.com |
b263f5065c56dd75f004073033b6d878c19eedf1 | 5d91784aa3a9a543de413e275c7c73bc0804caf9 | /Source/AllProjects/CIDKernel/Win32/CIDKernel_ServiceWin32.cpp | 99fee19ea9ef159885e653e7ccc00ae5ba7edd08 | [
"MIT"
] | permissive | eudora-jia/CIDLib | c957dd2f4b9fbe5c7c12be9fb67589faca10758c | 02795d283d95f8a5a4fafa401b6189851901b81b | refs/heads/master | 2020-05-28T10:19:10.410157 | 2019-05-28T04:29:56 | 2019-05-28T04:29:56 | 188,968,337 | 1 | 0 | MIT | 2019-05-28T06:32:49 | 2019-05-28T06:32:48 | null | UTF-8 | C++ | false | false | 48,535 | cpp | //
// FILE NAME: CIDKernel_ServiceWin32.cpp
//
// AUTHOR: Dean Roddey
//
// CREATED: 09/07/2002
//
// COPYRIGHT: Charmed Quark Systems, Ltd @ 2019
//
// This software is copyrighted by 'Charmed Quark Systems, Ltd' and
// the author (Dean Roddey.) It is licensed under the MIT Open Source
// license:
//
// https://op... | [
"droddey@charmedquark.com"
] | droddey@charmedquark.com |
2586b137da7559b9f32c7f5408b1c19d4d990bb3 | c8b39acfd4a857dc15ed3375e0d93e75fa3f1f64 | /Engine/Source/ThirdParty/PhysX/APEX_1.4/shared/general/HACD/src/ConvexDecomposition.cpp | 167e8e244c4ccd71f933fda5eb164b99196c58a6 | [
"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 | 65,147 | cpp | /*!
**
** Copyright (c) 2015 by John W. Ratcliff mailto:jratcliffscarab@gmail.com
**
**
** The MIT license:
**
** 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, includin... | [
"tungnt.rec@gmail.com"
] | tungnt.rec@gmail.com |
8da3c8a476643cd0567ed7e0d698a81e7bcfb3f3 | e39b3fad5b4ee23f926509a7e5fc50e84d9ebdc8 | /AtCoder/ABC/171-180/178/a.cpp | 4c6b999fc17b5c87a628047753e25562930884f4 | [] | no_license | izumo27/competitive-programming | f755690399c5ad1c58d3db854a0fa21eb8e5f775 | e721fc5ede036ec5456da9a394648233b7bfd0b7 | refs/heads/master | 2021-06-03T05:59:58.460986 | 2021-05-08T14:39:58 | 2021-05-08T14:39:58 | 123,675,037 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 996 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
typedef vector<int> vi;
typedef vector<ll> vl;
typedef pair<int, int> pii;
typedef pair<ll, ll> pll;
#define REP(i, n) for(int i=0; i<(n); ++i)
#define FOR(i, a, b) for(int i=(a); i<(b); ++i)
#define FORR(i, a, b) for... | [
"22386882+izumo27@users.noreply.github.com"
] | 22386882+izumo27@users.noreply.github.com |
0e4b90bd31e077cd0d7a7e42180fbe3a6839f4fb | 64178ab5958c36c4582e69b6689359f169dc6f0d | /vscode/wg/sdk/UNavigationSystem.hpp | 8851e51e50b022bb1c43d084d41515974094fa95 | [] | no_license | c-ber/cber | 47bc1362f180c9e8f0638e40bf716d8ec582e074 | 3cb5c85abd8a6be09e0283d136c87761925072de | refs/heads/master | 2023-06-07T20:07:44.813723 | 2023-02-28T07:43:29 | 2023-02-28T07:43:29 | 40,457,301 | 5 | 5 | null | 2023-05-30T19:14:51 | 2015-08-10T01:37:22 | C++ | UTF-8 | C++ | false | false | 9,229 | hpp | #pragma once
#include "UBlueprintFunctionLibrary.hpp"
#include "ENavDataGatheringModeConfig.hpp"
#include "FNavigationSystemRunMode.hpp"
#ifdef _MSC_VER
#pragma pack(push, 1)
#endif
namespace PUBGSDK {
struct alignas(1) UNavigationSystem // Size: 0x470
: public UBlueprintFunctionLibrary // Size: 0x30... | [
"1395329153@qq.com"
] | 1395329153@qq.com |
9dda5e17c57dff9cafa9a8958f8f40b5deccf06d | 28690c8767e907ad83304a6b58fec76c6ba1f46c | /ThirdPartyLibs/include/Wm5BspNode.h | 70d7847ce806d5cb1a0a97f75b4b5252557ad9d7 | [] | no_license | haisenzhao/SmartCFS | c9d7e2f73cde25a5957d1c3268cc5ddbbe7f5af2 | 2c066792dab2ca99b02bc035e77d09b4b5619aa2 | refs/heads/master | 2023-08-20T17:51:37.254851 | 2021-09-27T20:55:36 | 2021-09-27T20:55:36 | 271,935,428 | 7 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,281 | h | // Geometric Tools, LLC
// Copyright (c) 1998-2014
// Distributed under the Boost Software License, Version 1.0.
// http://www.boost.org/LICENSE_1_0.txt
// http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
//
// File Version: 5.0.1 (2010/10/01)
#ifndef WM5BSPNODE_H
#define WM5BSPNODE_H
#include "Wm5Graphics... | [
"haisenzhao@gmail.com"
] | haisenzhao@gmail.com |
d43126d3e0e63767f7aa277924de9aab3626f0dd | 859611e1bac1c0f610052f74d2700b918ac63ac4 | /75ns/UNRESTRICTEDHiResLoGrad/Hamiltonian.h | c107368cbb7c5ba49ee8f6f8e8732b36988fdb22 | [] | no_license | jsmith74/flux-qubit-signals | 258ef834f6b07db53d0a281ff46b2409b622e6d2 | 9b0999152080d2c8b951f093bdf1fa4aff8d2347 | refs/heads/master | 2021-04-27T11:06:52.408358 | 2017-05-18T20:02:44 | 2017-05-18T20:02:44 | 122,555,357 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,863 | h | #ifndef HAMILTONIAN_H_INCLUDED
#define HAMILTONIAN_H_INCLUDED
//#define EIGEN_USE_MKL_ALL
#include <Eigen/Dense>
#include <Eigen/Sparse>
#include <iostream>
#include <fstream>
#include <sstream>
#include <string>
#include <iomanip>
typedef Eigen::Triplet<std::complex<double> > Trip;
class Hamiltonian{
public:
... | [
"jsmith74@tulane.edu"
] | jsmith74@tulane.edu |
8b133bbd364ea499e6e913ce729eb9aa79e0e30e | 7dadc76ea4f9f7b3811d9930efb27c539bb636d9 | /src/util.h | 431c13998fa9062de0c8aaabcd15b1193779c07d | [
"MIT"
] | permissive | Hser2bio/Pawcoin | 50c3afaa7a9f2317fb1b56b4bede35bfbd4dbfec | e9409bcdeba968e219f7466ddfe4aaa8889f4092 | refs/heads/master | 2023-03-05T22:13:53.065692 | 2020-07-07T11:33:09 | 2020-07-07T11:33:09 | 279,519,118 | 0 | 0 | MIT | 2020-07-14T07:51:10 | 2020-07-14T07:51:09 | null | UTF-8 | C++ | false | false | 9,489 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2019 The PIVX developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-licens... | [
"pawcoin developer"
] | pawcoin developer |
c17865d03a03a07e51699f22b29d5c4f9eb6e6b6 | a08bac261182caf71c43bd2e3406fc5d6492987f | /shooter.h | 41dcb0c491c24e02dbe100cb29f9d3764cb5f301 | [] | no_license | skrax/shootergame | b4a9f4ced1b9fb67dc71edf1c61976b2c754c4a1 | 3b2f36dd4d4005cefc0a58e70d96b5728bae06e0 | refs/heads/master | 2023-04-30T03:44:50.977786 | 2021-05-13T19:00:51 | 2021-05-13T19:00:51 | 365,565,340 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 639 | h | #pragma once
#include <SDL.h>
#include <algorithm>
#include <memory>
#include <string>
#include <fstream>
#include <iostream>
#include "runtime.h"
#include "typedefs.h"
struct World {
constexpr static f32 units = 1.f;
constexpr static f32 gravity = 0.5f;
constexpr static v2 tile_size = {32, 32};
};
struct Tile... | [
"yofabianseidl@protonmail.com"
] | yofabianseidl@protonmail.com |
aee752e3ac2903543c0c5a555007505e5107f69b | 01bcef56ade123623725ca78d233ac8653a91ece | /public/UnicodeFileHelpers.cpp | 75aaca3d5bf05ca42f557d2a90079f30f816274f | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | SwagSoftware/Kisak-Strike | 1085ba3c6003e622dac5ebc0c9424cb16ef58467 | 4c2fdc31432b4f5b911546c8c0d499a9cff68a85 | refs/heads/master | 2023-09-01T02:06:59.187775 | 2022-09-05T00:51:46 | 2022-09-05T00:51:46 | 266,676,410 | 921 | 123 | null | 2022-10-01T16:26:41 | 2020-05-25T03:41:35 | C++ | UTF-8 | C++ | false | false | 4,924 | cpp | //========= Copyright 1996-2005, Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//=============================================================================//
#include <stdlib.h>
#include <ctype.h>
#include "utlbuffer.h"
#ifdef _PS3
#include <wctype.h>
#endif
// memdbgon must be the last... | [
"bbchallenger100@gmail.com"
] | bbchallenger100@gmail.com |
fb3316489ec0aa0ffa8593eb21e93e6fa8cf1399 | 5d9f5fba0381fee0b666c5126fd1c5b8baff9271 | /software/LX010106_Main/SRC/HMI/HMI_FrameMaintenance.cpp | 752d8233936c4e9f817f4d26a21ea1506536cffc | [
"Apache-2.0"
] | permissive | moh1139/PB560 | eb2c87c8e8b7119d997eff0aa622804dd5216830 | e7b2e610453c7a46204f21a49174028762b6ce43 | refs/heads/master | 2022-04-13T16:45:04.803464 | 2020-04-07T00:21:23 | 2020-04-07T00:21:23 | 257,703,654 | 1 | 0 | Apache-2.0 | 2020-04-21T20:06:49 | 2020-04-21T20:06:48 | null | ISO-8859-2 | C++ | false | false | 10,071 | cpp | /******************************************************************************/
/* */
/* Project N° : RB0505 */
/* ... | [
"Hossam.adel.moh@gmail.com"
] | Hossam.adel.moh@gmail.com |
6667ad8e6f4bd4c1d0b4e412a598dfb9bf0bf158 | 30ec2372ac36d40f4557c5f39cb606452e6e6bf5 | /StRoot/StVecBosAna/Z0EventHContainer.cxx | 79aa0dd564bab7fb6f5817741a95d9c08badfa2f | [] | no_license | yfisyak/star-sw | fe77d1f6f246bfa200a0781a0335ede7e3f0ce77 | 449bba9cba3305baacbd7f18f7b3a51c61b81e61 | refs/heads/main | 2023-07-12T01:15:45.728968 | 2021-08-04T22:59:16 | 2021-08-04T22:59:16 | 382,115,093 | 2 | 0 | null | 2021-07-01T17:54:02 | 2021-07-01T17:54:01 | null | UTF-8 | C++ | false | false | 7,212 | cxx | #include "Z0EventHContainer.h"
#include "TF1.h"
#include "TF2.h"
#include "ZBosEvent.h"
#include "TrackHContainer.h"
ClassImp(Z0EventHContainer)
using namespace std;
/** Default constructor. */
Z0EventHContainer::Z0EventHContainer() : PlotHelper()
{
BookHists();
}
Z0EventHContainer::Z0EventHContainer(TDirec... | [
"fisyak@bnl.gov"
] | fisyak@bnl.gov |
504855fc4fd0e65fd209dfe2a2b4fb8e238cda8c | 66330b110649ae7a2864b223b6557b3c2bd8eb99 | /motorDC.ino | 2795912b1fba4e1a8985bf5be5c22fdb53f21974 | [] | no_license | microdir/microdir.tech | 0251caf86f5b70f64721ed34e5aecc047b83973e | 40e286c7baae76f9387a3b88777dbff941638c3a | refs/heads/master | 2020-07-24T08:36:13.178158 | 2019-10-04T13:18:35 | 2019-10-04T13:18:35 | 207,868,401 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 549 | ino | void setup() {
pinMode(8, OUTPUT);
pinMode(10, OUTPUT);
pinMode(11, OUTPUT);
pinMode(7, INPUT_PULLUP);
pinMode(A0, INPUT);
Serial.begin(9600);
}
int apertado;
int estado = 0;
int botao;
int poten;
void loop() {
botao = digitalRead(7);
poten = map(analogRead(A0), 0, 1023, 0, 255);
anal... | [
"noreply@github.com"
] | noreply@github.com |
bd67e944d36280214c5fa9a9db8715ccc838e9dd | 9c8552e76b65b5611aa80b808d6713d02d5710fd | /Bootstrap/Source.cpp | ee155eae76327a84102f89b0282916dc65c63221 | [] | no_license | dylanmitchell1007/Assessment8-18-2017 | 850e64338f855e8d16f25030db65f962e658f7e6 | 0c75a9425dab1ef148f0d969cdba8bb1d8e7e8ef | refs/heads/master | 2021-01-22T18:15:10.883529 | 2017-08-24T22:57:33 | 2017-08-24T22:57:33 | 100,755,662 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 250 | cpp | #include "gl_core_4_4.h"
#include "glfw3.h"
#include "App.h"
int main()
{
//Starts the apps using the App Class and uses the run function to get the details about the window.
App* app = new App();
app->run("dat", 500, 500, false);
return 0;
} | [
"armadummy@yahoo.com"
] | armadummy@yahoo.com |
b17d9d1a13dc76f37cfe9ca81d69682546c591a2 | 176aab2b6b794fa3e98b89b87f81fbd7dc6e1fb2 | /Chapter-1-Introduction-to-C++/Exercises/Exercise 3/Exercise 3/Source.cpp | b3fc5ac3ed61bf4f6d946e4dd685d15778dd8975 | [] | no_license | vlntn3/CodeLab1 | 30b92031b85e2f71ab7f9bf3e6cd24efa3bb55db | 2a849dea0356c2bade95c547a91a18ace8e2148c | refs/heads/master | 2023-02-16T11:26:30.078837 | 2021-01-10T13:43:11 | 2021-01-10T13:43:11 | 313,075,294 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 531 | cpp | #include <iostream>
#include <string>
using namespace std;
int main()
{
cout << "This is untidy code." << endl; // "endl;" is added to end the line, the next code will be listed below
cout << "I'm surprised it works." << endl;
int number = 6; // whenever "number" is mentioned, it represents number 6
c... | [
"vlancin7@gmail.com"
] | vlancin7@gmail.com |
eca4451abf2536eab4e2c731fd393ca080242943 | 14fff048ca493bcf44148af4beb50c1029fcb2d4 | /src/test/DoS_tests.cpp | 2e9f6acf992ab823b44240a87456cddb0c6d9f52 | [
"MIT"
] | permissive | fxrate/fxratecoin | beca5890cff123bf8cf41e1193f2699224631c62 | 2c4401d242d3b62e7439e107e22b6ee0aa9a7704 | refs/heads/master | 2020-03-14T17:20:13.286713 | 2018-05-07T12:34:51 | 2018-05-07T12:34:51 | 131,716,962 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 6,025 | 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.
// Unit tests for denial-of-service detection/prevention code
#include "chainparams.h"
#include "keystore.h"
#include "main.... | [
"contact@fxrate.eu"
] | contact@fxrate.eu |
c82446eb094a6a324d17cdc3c80205980ae29040 | 45b858a5467810887c130f4fbd4a9af57d67b7b7 | /Algorithm/String/Alternating_Char.cpp | 14f1a73204fd3d626d62f327b910fb8f3489bfcc | [] | no_license | halfcoder007/Hackerrank_sol | 4aa865078e2161df7da23ac229bb265e38c5e60e | 1ee2607eadae386d0df7c2991fbcf864b7f3f953 | refs/heads/master | 2016-09-05T08:47:12.890977 | 2015-08-12T14:24:20 | 2015-08-12T14:24:20 | 39,820,513 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 434 | cpp | #include<iostream>
#include<string>
using namespace std;
int main()
{
int t;
cin >> t;
while (t--)
{
string str;
cin >> str;
int len = str.size();
int cnt = 0, ans = 0;
for (int i = 0; i < len; i++)
{
if (i == 0 || str[i] == str[i - 1])
cnt++;
else
{
if (cnt > 1)
{
ans += cnt ... | [
"manishk503@gmail.com"
] | manishk503@gmail.com |
11ea5c716188e6d10ecae02a358180be8bd8abe3 | 5ab0fe8ef371b4815fdb4ced6fe295d78d9aa431 | /IM_A_MIDI_LITTLE_BITCH/Easing_Functions.cpp | 9c5cb02acf6c47e3c2d6e2014ce45c9f76ad8270 | [
"MIT"
] | permissive | rgb-empire/IM_A_MIDI_LITTLE_BITCH | 3f0cbfdf1d0c6eba8fbd84d5594a602cdf9fed92 | 20c28d43488facd9c36aae196b014392b9661010 | refs/heads/master | 2020-12-07T08:46:15.662547 | 2020-01-20T21:45:08 | 2020-01-20T21:45:08 | 232,686,652 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,943 | cpp | #include "Easing_Functions.h"
#include "math.h"
Easing_Function easing_function_list[] =
{
polynomial,
sine,
elastic,
bounce
};
//y = x^n
int polynomial(float percent_complete, int old_val, int new_val, int delta_val, int modifier = 1, Ease_Type type = IN)
{
return type == IN
?
old_val + delta_val * pow(perc... | [
"pikipupiba@gmail.com"
] | pikipupiba@gmail.com |
6a573984502222d327b2aafbb5710ffa0c37881d | af19e490c4445baeb40a02e51c4c15cce1e8686e | /264. Ugly Number II.cpp | 945201e03343d7ba410ad7b3ddc71f62c84ce87f | [] | no_license | daviscoder/Leetcode_2016_Pass1 | 5ddefefa9178cf67c4e24c14a5ea69df86325085 | bc1c2196f930a4505317e828eb64da63039ec263 | refs/heads/master | 2021-01-24T22:07:04.143664 | 2017-05-05T06:08:21 | 2017-05-05T06:08:21 | 66,132,727 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 604 | cpp | class Solution {
public:
int nthUglyNumber(int n) {
if (n <= 0) return 0;
vector <int> twos (1, 1), threes (1, 1), fives (1, 1);
int a = 0, b = 0, c = 0, res;
for (int i = 0; i < n; i++) {
res = min (twos[a], min (threes[b], fives[c]));
if (res == twos[a])
... | [
"noreply@github.com"
] | noreply@github.com |
615256373dbf6c1514bf797ca9afac7944c5f93f | 18d59285ccd65751b14967d2cae9284afa8c213c | /Include/Framework/Effect/Effect.hpp | d30d5eba178faabb8def9cbcab24ccc00b45c663 | [] | no_license | rarosu/BTH-Gomoku | 801319616b01cfa0b7175f16eb1ce472360e2aca | dc1d7be81dcbee0a5e7097f15f0ed401ec4d527d | refs/heads/master | 2021-01-01T16:05:35.385640 | 2014-01-04T19:30:19 | 2014-01-04T19:30:19 | 3,273,776 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,662 | hpp | #ifndef EFFECT_HPP
#define EFFECT_HPP
#include "Globals.hpp"
#include <vector>
#include "Technique.hpp"
class Effect
{
public:
Effect(ID3D10Device* device, const std::string& filename);
~Effect();
/**
Release the old effect file and load a new one, and enumerate
all the techniques
*/
bool L... | [
"lars.woxberg@gmail.com"
] | lars.woxberg@gmail.com |
54e65d8294651b1a1ab290d768b6ed6b5d51938e | e90fe4784583bb4b40123f54625f27626f780917 | /choread/EJ 6.cpp | 319ca80f91a2176ed708d599e472eb1b8bc9a3b1 | [] | no_license | alete89/Mate3 | d406027ec63fd0cd859a46000b874caba84e692c | 2e6d656fd857b87c8d3da02c451a2b5fc381c830 | refs/heads/master | 2021-01-18T16:43:27.802267 | 2017-07-02T18:13:44 | 2017-07-02T18:13:44 | 86,759,241 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,175 | cpp | #include<stdio.h>
#include<stdlib.h>
#define TAM 15
void ingreso (int vect[]);
void paridad(int vect[],int vectpar[],int vectimpar[],int *a,int*b);
void mostrarp(int vectpar[],int *a);
main(){
int vect[TAM];
int vectpar[TAM];
int vectimpar[TAM];
int max,min;
int a=0, b=0; //CONTADORES... | [
"noreply@github.com"
] | noreply@github.com |
6ce87027ce2f91c0c447189eccfff02ea497001e | 59ceb64097fe68668c67ef377507df54bcaa0a9e | /mainwindow.h | cfffbc9f074156b64bc20d53b885012972b46a7b | [
"MIT"
] | permissive | CarlinXiao/serialServer | 9dbc57234580a9b1c02a202c1103ff701c05955e | 4ad628fbdf21e2e8c9e3c550fc107926caebd8f8 | refs/heads/master | 2020-03-24T03:30:19.588738 | 2018-07-27T08:50:44 | 2018-07-27T08:50:44 | 142,421,923 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 964 | h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QtSerialPort/QSerialPort>
#include <QtSerialPort/QSerialPortInfo>
#include <QMap>
#include <QDateTime>
#include <QTimer>
#include <QFileDialog>
#include <QStringList>
#include <QTextStream>
#include <QDebug>
namespace Ui {
class MainWindow;
}
... | [
"xiaods@xatgood.com"
] | xiaods@xatgood.com |
f08c15a77f9bd46cc540e82da65b3c9eeaec6fc7 | 6ff6338d11c8659055d8709450c979be2cc3fc2c | /src/core/s3d/src/video/capture/file_video_capture_device_factory.cpp | ae633c3e23238fbdfba75af4c213d698a97ee6ec | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | introlab/OpenS3D | 80e6a6b50743852a1b139fe241d76ce575a8154e | dad9ef18ce78e99b8a29c934f09d1eb12f1b6a66 | refs/heads/master | 2019-07-08T01:43:16.502294 | 2018-03-21T12:23:45 | 2018-03-21T12:23:45 | 88,108,814 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 592 | cpp | // Copyright 2014 The Chromium Authors. All rights reserved.
// Inspired by Chromium video capture interface
// Simplified and stripped from internal base code
#include "s3d/video/capture/file_video_capture_device_factory.h"
#include "s3d/video/capture/file_video_capture_device_raw_uyvy.h"
namespace s3d {
std::uniq... | [
"hugo_bedard@hotmail.com"
] | hugo_bedard@hotmail.com |
8d3aa783fe2ec1456294c27af1d13ce2d8668ef4 | 0b54a7e9fe54b812d640ed2d219314314be2ad5d | /src/util/memory.cpp | fc722b8c8b58741f28ce1815271665b3f9b3ae76 | [
"Apache-2.0"
] | permissive | hal2069/Faasm | 1635221cd4798423f582d3e6ce68b1c947b6cd59 | 4b44445b78949ffb35530f548475248a99ac80f7 | refs/heads/master | 2022-09-20T00:51:37.052119 | 2020-06-02T09:48:54 | 2020-06-02T09:48:54 | 268,868,693 | 1 | 0 | null | 2020-06-02T17:42:05 | 2020-06-02T17:42:04 | null | UTF-8 | C++ | false | false | 1,700 | cpp | #include "memory.h"
#include <cstdint>
#include <utility>
namespace util {
bool isPageAligned(void *ptr) {
return (((uintptr_t) (const void *) (ptr)) % (HOST_PAGE_SIZE) == 0);
}
size_t getRequiredHostPages(size_t nBytes) {
// Rounding up
size_t nHostPages = (nBytes + util::HOST_P... | [
"noreply@github.com"
] | noreply@github.com |
a8db4d760e0471a3881204abff2590f524853c29 | fcdea24e6466d4ec8d7798555358a9af8acf9b35 | /Engine/mrayMath/QuaternionSpline.h | 77c2772c00ee430bf0d128994b72ec2e05f6f68d | [] | no_license | yingzhang536/mrayy-Game-Engine | 6634afecefcb79c2117cecf3e4e635d3089c9590 | 6b6fcbab8674a6169e26f0f20356d0708620b828 | refs/heads/master | 2021-01-17T07:59:30.135446 | 2014-11-30T16:10:54 | 2014-11-30T16:10:54 | 27,630,181 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,230 | h |
/********************************************************************
created: 2009/03/12
created: 12:3:2009 23:45
filename: i:\Programing\GameEngine\mrayEngine\mrayMath\QuaternionSpline.h
file path: i:\Programing\GameEngine\mrayEngine\mrayMath
file base: QuaternionSpline
file ext: h
author: Mohamad... | [
"mrayyamen@gmail.com"
] | mrayyamen@gmail.com |
d0780dc432a164d6a683ff5d16c826c38a6782ff | e4707acbb2c1f5b6a20c227ea6d15560e044b65b | /systemresponseobject.h | cfe13611768aee11d9f2a5b574f38284b2f8f053 | [
"MIT"
] | permissive | wboler05/FirstOrderStepResponseTest | f40ad236ea878b64b824862deaeffe3b2c2e6efe | 4517cb0b24a2b83de9462341fcd8aee75621d9bf | refs/heads/master | 2021-09-03T07:40:08.244204 | 2018-01-07T06:14:53 | 2018-01-07T06:14:53 | 116,542,207 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 672 | h | #ifndef SYSTEMRESPONSEOBJECT_H
#define SYSTEMRESPONSEOBJECT_H
#include <vector>
#include <cinttypes>
#include <iostream>
class SystemResponseObject
{
public:
SystemResponseObject();
SystemResponseObject(const std::vector<double> & a, const std::vector<double> & b);
bool setCoeffs(const std::vector<double>... | [
"wboler@iupui.edu"
] | wboler@iupui.edu |
1f0f2b4756e3d813c81e32493b6bb3f471fd2388 | 4a9bb7aa067f40a9eb3d0fca533a7067dffed2ad | /src/parsers/helpers.hh | 9148f7f01ed7ab50e38d30a9fb8930b9f5d55926 | [
"BSD-2-Clause"
] | permissive | LucasAzais/pnmc | f9d69e3aef797dcf2c1970692790e429d158a0f8 | 77756c166c7adaf815e4507c3061ef5fd8eb1602 | refs/heads/master | 2020-12-31T06:08:38.391108 | 2014-05-15T09:03:00 | 2014-05-15T09:03:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 934 | hh | #ifndef _PNMC_PN_PARSERS_HELPERS_HH_
#define _PNMC_PN_PARSERS_HELPERS_HH_
#include <istream>
#include <string>
#include <vector>
#include "parsers/helpers.hh"
namespace pnmc { namespace parsers {
/*------------------------------------------------------------------------------------------------*/
/// @brief Input s... | [
"alexandre.hamez@gmail.com"
] | alexandre.hamez@gmail.com |
194babc868a0a77038dd02dd3f9f8033d6b799c4 | 6359b322061a76356123954784b37e6f9b8f1df5 | /include/loops/stride_ranges.hxx | 1acaffbb13153ac923c64bf7156a6ca553ed8fb8 | [
"Apache-2.0"
] | permissive | gunrock/loops | c8ae89532c2c25cc82b9d60108acfb817f63549e | 6169cf64d06e17b24b7a687fe0baf7ba2347002b | refs/heads/main | 2023-04-11T18:46:12.277074 | 2023-04-10T17:56:41 | 2023-04-10T17:56:41 | 377,937,753 | 34 | 4 | Apache-2.0 | 2023-04-10T17:56:42 | 2021-06-17T19:16:01 | C++ | UTF-8 | C++ | false | false | 1,907 | hxx | /**
* @file stride_ranges.hxx
* @author Muhammad Osama (mosama@ucdavis.edu)
* @brief Stride ranges related functions.
* @version 0.1
* @date 2022-02-02
*
* @copyright Copyright (c) 2022
*
*/
#pragma once
#include <loops/range.hxx>
namespace loops {
template <typename T>
using step_range_t = typename range_pr... | [
"osama94@gmail.com"
] | osama94@gmail.com |
e892de6f7fedb7d55d44ba8606bd28bf188450d0 | d65cb1aef8d8842ffaff1aac09c9be1fa4bcf4fa | /src/tensorflow/include/tensorflow/core/grappler/costs/utils.h | 9cfe77efbddbef9d2b6acd5252f245f34b84c046 | [] | no_license | marcomanno/ml_4_mesh | 6dccae8472e47f2c43612b22f110bc7c65366c1b | 5c47633b898c0bb86f33c5c62934d5d800aeb8db | refs/heads/master | 2020-03-23T03:28:59.128417 | 2019-04-14T09:37:53 | 2019-04-14T09:37:53 | 141,033,031 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,430 | h | /* Copyright 2017 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 ... | [
"marco.amagl@outlook.com"
] | marco.amagl@outlook.com |
87f3dfdc3a05f5c8adf9a91b1ea14351a791d48c | f00687b9f8671496f417672aaf8ddffc2fa8060a | /topcoder/practice/CanidsSeesaw.cpp | 5754ad89c7db4be2f2e05682a0cc2f5b8982addd | [] | no_license | kazi-nayeem/Programming-Problems-Solutions | 29c338085f1025b2545ff66bdb0476ec4d7773c2 | 7ee29a4e06e9841388389be5566db34fbdda8f7c | refs/heads/master | 2023-02-05T15:06:50.355903 | 2020-12-30T10:19:54 | 2020-12-30T10:19:54 | 279,388,214 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 6,688 | cpp | #include <vector>
#include <list>
#include <map>
#include <set>
#include <queue>
#include <deque>
#include <stack>
#include <bitset>
#include <algorithm>
#include <functional>
#include <numeric>
#include <utility>
#include <sstream>
#include <iostream>
#include <iomanip>
#include <cstdio>
#include <cmat... | [
"masum.nayeem@gmail.com"
] | masum.nayeem@gmail.com |
5e1b6b6d6e80ae2e044975d516fe33b16723d182 | 4fc10b326682128ff6a92a927c8ec44d71d08824 | /src/devices/spi/drivers/dw-spi/dw-spi.cc | 573957b57d5f2169fdc7373c462b0c5a4a3e96a5 | [
"BSD-2-Clause"
] | permissive | dahliaOS/fuchsia-pi4 | f93dc1e0da5ed34018653c72ceab0c50e1d0c1e4 | 5b534fccefd918b5f03205393c1fe5fddf8031d0 | refs/heads/main | 2023-05-01T22:57:08.443538 | 2021-05-20T23:53:40 | 2021-05-20T23:53:40 | 367,988,554 | 5 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 5,567 | cc | // Copyright 2020 The Fuchsia 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 "dw-spi.h"
#include <fuchsia/hardware/platform/bus/c/banjo.h>
#include <fuchsia/hardware/platform/device/c/banjo.h>
#include <fuchsia/hardware/sp... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
eee0d814f3bfcf7aea1fe8479a972aec92f783ab | ef891ff8f8d4cbd215269dd91c2c222859358900 | /Onboard-SDK-3.2/osdk-wrapper/inc/LinuxSetup.h | 11fecff2249cba700511d0d3e44b2e39b9a2a865 | [] | no_license | gauthduchene/stuff | b7c13f1167a6d7896eb08b7996c52d72557133e0 | b3c2d4f9bfa14d5002452d7816f84596887a8f50 | refs/heads/master | 2020-04-06T04:20:52.435311 | 2017-02-23T21:03:45 | 2017-02-23T21:03:45 | 82,970,793 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,770 | h | /*! @file LinuxSetup.h
* @version 3.1.8
* @date Aug 05 2016
*
* @brief
* Executes some setup commands that are required by the Onboard SDK
* but are not pertinent to the user's work. Also sets up threads and memory.
*
* @copyright
* 2016 DJI. All rights reserved.
* */
#ifndef LINUX_SETUP_H
#defin... | [
"gauthierduchene@gmail.com"
] | gauthierduchene@gmail.com |
183b911d5cfd2d0b675a0dd8a06c98c1b1a635a0 | 44d212e4b92b39a24b3fc9356c28bddd513f1f54 | /UVa Online Judge/11461. Square Numbers.cpp | f763a64d9db22737635126a81865196c4a1cc224 | [
"MIT"
] | permissive | nicoelayda/competitive-programming | e946d4eeac5fadcae58d44dd3d9b6fb3d86983a4 | 5b5452d8d2865a1a5f1e3d2fece011749722e8c4 | refs/heads/master | 2020-04-23T09:42:46.697943 | 2019-02-18T16:29:27 | 2019-02-18T16:29:33 | 171,078,251 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 325 | cpp | #include <iostream>
#include <cmath>
using namespace std;
int main() {
int a, b;
while (cin >> a >> b && a != 0 && b != 0) {
int squares = 0;
for (int i = ceil(sqrt(a)); i*i <= b; i++) {
squares++;
}
cout << squares << endl;
}
return ... | [
"nico@elayda.com"
] | nico@elayda.com |
f4c39226d68be4496e87591fc63fdb111d9d6508 | 8dfc879a6e98055a5d62b334b56f5e2c1f278913 | /AtCoder/Atcoder_400/dik_test.cpp | 4f47cd815af741431f0689d6728e89e3879c1c97 | [] | no_license | sitRyo/templateCpp_atcoder | fcdad44ea348c76a9bde4a320cf2925df7d8a751 | cec7103ab55af136a8fb03efdaae0a9c2b460ff5 | refs/heads/master | 2021-06-25T19:33:31.043330 | 2019-06-20T06:57:57 | 2019-06-20T06:57:57 | 142,314,195 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,381 | cpp | #include <iostream>
#include <cstdio>
#include <algorithm>
#include <vector>
#include <functional>
#include <queue>
#include <string>
#include <cstring>
#include <numeric>
#include <cstdlib>
#include <cmath>
using namespace std;
typedef long long ll;
#define INF 10e5
#define rep(i,n) for(int i=0; i<n; i++)
#define re... | [
"al15030@shibaura-it.ac.jp"
] | al15030@shibaura-it.ac.jp |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.