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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c065442defcd1479dcc0a5c63a7bb1510e93ab83 | ccaaddc142b8c1f745ddcd2f05835f95f5d66905 | /IEEE_算法竞赛2019/资料/IEEEXtreme题库/IEEE极限编程/Protoss imba or not (Moderate)/Solution(TLE).cpp | f7a18bdd44d6fb0d94cf3991a6ed596952a01a5a | [] | no_license | UESTCzhouyuchuan/Algorithmic | 4125799dbaa5da6eacc9695922fd12e17ad3065d | 3b0b389153278eee846d1582ccb5a4cbe51ef7c2 | refs/heads/master | 2021-01-05T11:39:00.406777 | 2020-02-17T05:11:52 | 2020-02-17T05:11:52 | 241,011,489 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,719 | cpp | #include <bits/stdc++.h>
using namespace std;
const int mod = 772002 + 233;
int r1 ;
string N , K ;
string BigINTtoBinary(string n){
list < char > sp;
string result , temp = "1" ;
while(temp.length()>0)
{
temp.clear();
int i=0;
char ch;
while(i<n.length())
... | [
"1738733078@qq.com"
] | 1738733078@qq.com |
914199a1bda8e95cf64001a60f39da448fb2d826 | 70a913307ba612334d2b0f8166dec9d3b7bb5079 | /ChernoTutorials/src/ErrorLogging.cpp | e20c54267afa45695d70ab5e7e1f40a6e3561658 | [] | no_license | siriusBl4ck/MerlinEngine | 1d764fa36966a96c3fe2b665719d8dbb5a5b4490 | 0d0177622d86853448a6a272988113291435872a | refs/heads/master | 2023-06-18T14:27:05.388550 | 2021-07-16T15:16:15 | 2021-07-16T15:16:15 | 287,699,855 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 367 | cpp | #include "ErrorLogging.h"
#include<GL/glew.h>
void GLClearError() {
while (glGetError() != GL_NO_ERROR);
}
bool GLLogCall(const char* function, const char* file, int line) {
while (GLenum error = glGetError()) {
std::cout << "[OPENGL ERROR] " << error << function << " " << file << ":" << line << "\n";... | [
"sauravkale2019@gmail.com"
] | sauravkale2019@gmail.com |
979ce2f1c277d6f65e9d58194543a2ec480aa8de | 830988f80ae857512c2c37e71ddf587969266de8 | /src/Tmaths.hpp | a807fd8cdaa9dcdddad85bade2c528446227d3b8 | [] | no_license | timluther/clayworks_3.0 | 2f50d50e30b1f6f2464daa4875332b3ef6f02180 | d36da8430e470d8efa886b5448bfada31091c987 | refs/heads/main | 2023-05-27T10:10:55.323894 | 2021-06-16T13:35:01 | 2021-06-16T13:35:01 | 372,014,504 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,604 | hpp | #ifndef _tmaths_h_
#define _tmaths_h_
#include <math.h>
#include "ttypes.hpp"
#define PI 3.14159265359
#define HALFPI 1.570796326795
#define TWOPI 6.28318530718
#define FIXEDFLOATMAGIC 4503601774854144.000000
//((65536.0*65536.0*16+65536.0*0.5)
//xyz vector thang; used to define rotations and translations
#define dou... | [
"luthercymru2@gmail.com"
] | luthercymru2@gmail.com |
ffae064e8246486c2ee280d699e88632b1a606a0 | 7e62f0928681aaaecae7daf360bdd9166299b000 | /external/DirectXShaderCompiler/external/SPIRV-Tools/test/opt/propagator_test.cpp | 44f4afa27ce6eb447e61ce95ae231ab4ecfa39a3 | [
"LicenseRef-scancode-generic-cla",
"Apache-2.0",
"NCSA",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | yuri410/rpg | 949b001bd0aec47e2a046421da0ff2a1db62ce34 | 266282ed8cfc7cd82e8c853f6f01706903c24628 | refs/heads/master | 2020-08-03T09:39:42.253100 | 2020-06-16T15:38:03 | 2020-06-16T15:38:03 | 211,698,323 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,297 | cpp | // Copyright (c) 2017 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or a... | [
"yuri410@users.noreply.github.com"
] | yuri410@users.noreply.github.com |
52b15fdc459ccd3a6104c4b8735aa074e9e69af4 | fa408b7ab7ad53197bf6834acbd3b9f06816c3b9 | /Matrix4x4.h | 26243a7a892ae170c1395c09af24df060905b074 | [] | no_license | apozTrof/RayTracing | 71bf14fad77fbb202fe1ffe0dd75fac2556330a8 | 9be40a2b2bc6be415437505b894610e2682e4d17 | refs/heads/master | 2016-09-12T13:33:01.545781 | 2016-04-21T02:45:20 | 2016-04-21T02:45:20 | 56,736,762 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 958 | h | //
// Matrix4x4.h
// RayTracer
//
#ifndef __RayTracer__Matrix4x4__
#define __RayTracer__Matrix4x4__
#include <iostream>
struct Matrix4x4 {
// Matrix4x4 Public Methods
Matrix4x4();
Matrix4x4(const double a_mat[4][4]);
Matrix4x4(double a_t00, double a_t01, double a_t02, double a_t03,
... | [
"apoz.trophe69@gmail.com"
] | apoz.trophe69@gmail.com |
7b0b8da70fcc7b4083718225ce178c5db1a3d91f | d60903579b97a8cf27e6a3d5d5af47e47343272c | /src/FlowchartNode.h | 7907eceed547654ee1c6a06e9d7ae8d76a369eaf | [] | no_license | nareksaribekyan/flowchart2code | 5e9a90d9984c2f189e7663b91cf4e7b5e0c52d9d | 9afb4342b5fd8323dc13b919c937da598fe562ac | refs/heads/master | 2021-01-01T19:56:28.541356 | 2018-10-27T11:11:42 | 2018-10-27T11:11:42 | 25,857,353 | 0 | 1 | null | 2014-11-05T17:28:36 | 2014-10-28T07:14:09 | C++ | UTF-8 | C++ | false | false | 468 | h | #ifndef __FLOWCHART_NODE__
#define __FLOWCHART_NODE__
#include "Flowchart.h"
#include <vector>
#include <memory>
class Flowchart;
class FlowchartNode
{
public:
void addConnection(std::shared_ptr<FlowchartNode> node);
private:
void addInEdge(std::shared_ptr<FlowchartNode> node);
void addOutEdge(std::shared_ptr<F... | [
"narek.saribekyan@gmail.com"
] | narek.saribekyan@gmail.com |
ca318a64b97f6084d0397a670cdecaecb85dd9b5 | 6c0f66e34660cd3ae4e2708da7765f9d604b1931 | /Glow.ino | 4aab53c72b83547efe5ebabb7d44fcb1f34b0f96 | [] | no_license | rosangen/Glow | 0e4b559649161d70763eca0a0b6eb452fccacb2c | fda32a0347ed61b347563ea03e87a28640b920ee | refs/heads/master | 2016-09-05T20:27:31.380364 | 2015-01-01T22:14:16 | 2015-01-01T22:14:16 | 28,696,781 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,580 | ino | #include <NewRemoteReceiver.h> // https://bitbucket.org/fuzzillogic/433mhzforarduino/wiki/Home
#define NEXA_ADDRESS 5519106
#define GLOW_UNIT 4
#define RELAY_UNIT 8
#define RELAY_PIN 13
int ledCandle[] = {9,10,11}; // choose the candle pin for the LED
int maxCount = 65; // counter for glowing table
int count[3];... | [
"henrik_rosvall@yahoo.se"
] | henrik_rosvall@yahoo.se |
fbff533cb246c3b322bfa9f7d3bf876f98597e00 | 7242f80f0288ea1cd5efe8a8bbfb07a73769d5b8 | /src/SocketCommon.h | 9eff44bb98df947e6bd23d7ad49428bba1918d40 | [] | no_license | Junyi1212/basic_socket | 532f41cdaa2bbc14eb3b7105143d47dfbb6ac36d | d93e8b77e8df11e414bca374c4532b0a3c891192 | refs/heads/master | 2020-03-22T14:03:23.704546 | 2018-07-08T13:07:15 | 2018-07-08T13:07:15 | 140,150,545 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,981 | h | #ifndef _SOCKET_COMMON_H
#define _SOCKET_COMMON_H
#include <stdio.h>
#include <stdlib.h>
#include <string>
#include "Types.h"
#include "XSPrint.h"
#include <iostream>
using namespace std;
#define SOCKET_MAX_SIZE (10*1024)
#define PACKET_HEAD_LEN 6
#define PACKET_TAIL_LEN 6
#define DATA_MAX_SIZE (SOCKET_MAX_SIZE-PACK... | [
"Junyi2017@163.com"
] | Junyi2017@163.com |
fe1a9644d9c212f3e01a6aa8c7219e4ac50e1048 | f20e965e19b749e84281cb35baea6787f815f777 | /Phys/Phys/TopologicalTools/src/TopologicalTagging.h | b928a624e548aa7420b1ea1b00b2e9426a399708 | [] | no_license | marromlam/lhcb-software | f677abc9c6a27aa82a9b68c062eab587e6883906 | f3a80ecab090d9ec1b33e12b987d3d743884dc24 | refs/heads/master | 2020-12-23T15:26:01.606128 | 2016-04-08T15:48:59 | 2016-04-08T15:48:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,551 | h | // $Id: TopologicalTagging.h,v 1.3 2007/06/18 11:27:44 jpalac Exp $
// TopologicalTagging created 25.02.06
//
// author: Cedric Potteraz
// Based on FilterDesktop
#ifndef TOPOLOGICALTAGGING_H
#define TOPOLOGICALTAGGING_H 1
// ============================================================================
// Include fi... | [
"cedric.potterat@cern.ch"
] | cedric.potterat@cern.ch |
c5b5fc2d4b32c114fa6209dbe366dc53bae7d52c | 50fa9cfbd4d4d5efa56bfeaf7bef6a6d2d384606 | /201401145_Assignment3/ClassDefs.h | f6b9e53a48eb6be2bd2678e2b2ac7578586b8365 | [
"MIT"
] | permissive | hkveeranki/Compilers | 96fecb8be03e4581c272eb33ccdf0b6af195461e | 97e1b26bdea4b31f7bdfbee209dce72e50de7e0b | refs/heads/master | 2021-06-07T11:39:31.454351 | 2016-10-13T05:49:19 | 2016-10-13T05:49:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,048 | h | #include <bits/stdc++.h>
using namespace std;
enum exprType { binary = 1, location = 2, literal = 3, enclExpr = 4 };
enum literalType { Int = 1, Bool = 2 };
union Node{
int number;
char* value;
class Prog* prog;
class Decls* decls;
class Decl* decl;
class Var* var;
class Stmts* stmts;
class Stmt* stmt;
class... | [
"hems.india1997@gmail.com"
] | hems.india1997@gmail.com |
346fd3a3e644eb184be63b88e70024bcd45a580d | e8e2c45fff3f88525ee0ea49afb26a0bbbd21ddc | /Planes.h | 1c0d475d38a3f63de0f35dd6f281f29c144254c4 | [] | no_license | tranxuanbach021202/baitaplon | aa523d6f5a28f4d88bdb56702fdfef514a2aba6f | f67cd502739991de437227e918f87838f1902098 | refs/heads/master | 2023-04-22T03:44:59.625266 | 2021-05-04T08:42:59 | 2021-05-04T08:42:59 | 363,939,337 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,282 | h |
#ifndef PLANES_H_
#define PLANES_H_
#include "Commonfunction.h"
#include "Load_Texture.h"
#include "Bullet_Planes.h"
#include "CheckCollision.h"
#include <SDL_mixer.h>
#include <iostream>
static const int WIDTH_PLANES =80;
static const int HEIGHT_PLANES = 40;
static const int DOT_VEL = 10;
class Planes
{
public:
... | [
"tranxuanbachnt@gmail.com"
] | tranxuanbachnt@gmail.com |
5711e2b5c6b676867f7e392a007a81549273671c | 7b20e2f86c2bb2145ae9ca5bcd4b9ad1566e79b0 | /ABC/ABC007/C.cpp | be96124954267a4a5750d36bf70a7d3a12d7e779 | [] | no_license | pto8913/KyoPro | 5f5e769960dfec73af5b0f338f32659ff067094b | 29ebc30a3d45fea273cb9034fba8311673a406dd | refs/heads/master | 2021-06-13T16:43:40.275854 | 2021-03-23T00:02:25 | 2021-03-23T00:02:25 | 174,684,331 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,173 | cpp | #include <iostream>
#include <queue>
using namespace std;
#define rep(i, a, n) for(int i = a; i < (n); ++i)
template<class T, class U>
struct P {
P(T InX, U InY) : X(InX), Y(InY) {};
T X = 0; U Y = 0;
};
const int dx[4] = { 1, -1, 0, 0 };
const int dy[4] = { 0, 0, 1, -1};
int main(){
... | [
"nn3kskyou@gmail.com"
] | nn3kskyou@gmail.com |
ab8ec7baab0b3556cb5dccdd2cf76c10b2833eba | 67cd747626e3a3ea8d8faf2ca99f02ea3d90c557 | /kxnet/base/tests/Singleton_test.cc | 2519940bd09fa73af627afb3e3615ba19bb97e61 | [] | no_license | KelvinYin/kxnet | c8912b87b98afb8e0b84129e1348bc190cb8842f | e8ff355783f615dfcb63cbc30639e1dc0cd259f9 | refs/heads/master | 2021-05-02T15:03:14.443463 | 2018-02-28T11:01:07 | 2018-02-28T11:01:07 | 120,730,967 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,578 | cc | #include <kxnet/base/Singleton.h>
#include <kxnet/base/CurrentThread.h>
#include <kxnet/base/Thread.h>
#include <stdio.h>
class Test : kxnet::noncopyable
{
public:
Test()
{
printf("tid=%d, constructing %p\n", kxnet::CurrentThread::tid(), this);
}
~Test()
{
printf("tid=%d, destructing %p %s\n", kxn... | [
"yinkangxi@gmail.com"
] | yinkangxi@gmail.com |
683431bd258d3a42c56d4396af906c260b6217a4 | 225e82d7a70bfeb544d758c4a01321701ff06a61 | /root/root_v4.04.02g/quadp/src/TQpResidual.cxx | f921e7f84c05ce4336469706062f59ea2142abb9 | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | govoni/learn | 9760494d592ba09a98e08939818415857d015371 | cb02b6621af73efdbf1e64e5fc39ecd9e72516af | refs/heads/master | 2021-01-19T18:51:14.476573 | 2019-07-22T09:05:26 | 2019-07-22T09:05:26 | 101,170,943 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,172 | cxx | // @(#)root/quadp:$Name: v4-04-02g $:$Id: TQpResidual.cxx,v 1.3 2004/06/09 12:23:16 brun Exp $
// Author: Eddy Offermann May 2004
/*************************************************************************
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
* All rights reserved. ... | [
"pietro.govoni@gmail.com"
] | pietro.govoni@gmail.com |
39498a713c668de0c62c8032d1be7facc906d394 | 4723a2540bec39ba1079415b49d8c7b05bbc307d | /docs/source/bareos/example/code-block-bnf.rst.inc | 6ac249918a54756b4a8d010250a8312634cb8a90 | [
"MIT",
"CC-BY-4.0"
] | permissive | krai7921/coding-to-music.github.io | bc2077446cc9125db2d6e6570f520c6c59892210 | 236e154f28b38be617a870680d23047cb7312c26 | refs/heads/master | 2023-07-01T07:55:28.645533 | 2021-08-03T22:24:34 | 2021-08-03T22:24:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,563 | inc | .. code-block:: bnf
:caption: Example BNF
<syntax> ::= <rule> | <rule> <syntax>
<rule> ::= <opt-whitespace> "<" <rule-name> ">" <opt-whitespace> "::=" <opt-whitespace> <expression> <line-end>
<opt-whitespace> ::= " " <opt-whitespace> | ""
<expression> ::= <list> | <list> <opt-w... | [
"connors.tom@gmail.com"
] | connors.tom@gmail.com |
d507faa4c66b0bfae95657bc58cac8837572d85e | a987fbe0de38df25fd52e00cf879ab0803aa00a2 | /NitrogenRefrigerator/Gui/nitrogenrefrigoratorguimodel.cpp | a24d30f96f6106a58829debba7404e07c58a7db2 | [] | no_license | HocChr/NitrogenRefrigerator | fa774b917680888ff2b6fbfa03dfa5e6d707eef1 | 3c13854068998f9a0ccffb14f11c256e44bf554e | refs/heads/main | 2023-07-04T02:38:17.272201 | 2021-08-01T12:11:19 | 2021-08-01T12:11:19 | 369,485,325 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 847 | cpp | #include "nitrogenrefrigoratorguimodel.h"
using namespace NitrogenRefrigoratorKernel;
StackItem::StackItem(QObject *parent): QObject(parent)
{
}
QString StackItem::getName()
{
return _name;
}
unsigned StackItem::getIndex()
{
return _index;
}
void StackItem::setName(QString &&name)
{
_name = std::move(name);... | [
"chochheim@schaerer.com"
] | chochheim@schaerer.com |
66469b839ecb71e83ecfbe9d558d74324bb0f15a | db234ebdb8be4a1d2e493f0c389ee0bbf0a19f88 | /mediapipe/tasks/cc/vision/hand_landmarker/calculators/hand_landmarks_deduplication_calculator.h | d7b4354873931ae4000976f03bae4e20215ac949 | [
"Apache-2.0",
"dtoa"
] | permissive | samsgates/mediapipe | 3498c5557c887f9834820f1aa05b7c26a46cfe8a | d7039c90dc9eebf047d099ee97c980c23c0c51ad | refs/heads/master | 2023-04-29T03:05:20.836933 | 2023-04-18T21:02:43 | 2023-04-18T21:07:07 | 205,383,363 | 0 | 0 | Apache-2.0 | 2019-08-30T13:01:51 | 2019-08-30T13:01:51 | null | UTF-8 | C++ | false | false | 4,680 | h | /* Copyright 2022 The MediaPipe 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 ag... | [
"copybara-worker@google.com"
] | copybara-worker@google.com |
8e2ef0b6a5e2594e154adea48711f19cd47ccf35 | 6571e9191b3bebdebf1eab12bf9255a505108524 | /Ydanmu_client/Danmu/logindialog.h | dfe4c32327be11bde582225cf452f550955f4767 | [] | no_license | yan9y1/YdanmuSystem | ee5cda349b1aa1bde730026fcd935f0a86e664ae | 4e47829c7ba76933dedae4718c37ef4477eb05ef | refs/heads/master | 2020-04-12T09:10:47.887490 | 2018-12-19T06:51:47 | 2018-12-19T06:51:47 | 162,394,402 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 539 | h | #ifndef LOGINDIALOG_H
#define LOGINDIALOG_H
#include <QDialog>
#include <QSqlDatabase>
#include <QCloseEvent>
#include <mainwindow.h>
namespace Ui {
class loginDialog;
}
class loginDialog : public QDialog
{
Q_OBJECT
public:
explicit loginDialog(QWidget *parent = 0);
static QString teacher_name;
~log... | [
"541536638@qq.com"
] | 541536638@qq.com |
d99d0d04058770dc64bfec089c3f8393215db089 | 1de331d068456cedbd2a5b4d4a6b16145646f97d | /src/libv/ui/component/check_box.hpp | 21a8713c59aa874803a81eb9502af2157f6def2d | [
"Zlib"
] | permissive | sheerluck/libv | ed37015aeeb49ea8504d7b3aa48a69bde754708f | 293e382f459f0acbc540de8ef6283782b38d2e63 | refs/heads/master | 2023-05-26T01:18:50.817268 | 2021-04-18T01:06:51 | 2021-04-27T03:20:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,908 | hpp | // Project: libv.ui, File: src/libv/ui/component/check_box.hpp, Author: Császár Mátyás [Vader]
#pragma once
// pro
#include <libv/ui/component.hpp>
#include <libv/ui/property/align.hpp>
#include <libv/ui/property/color.hpp>
#include <libv/ui/property/font_2D.hpp>
#include <libv/ui/property/font_size.hpp>
#include <li... | [
"vaderhun@gmail.com"
] | vaderhun@gmail.com |
79d409aea178a1192130eaf8222b09e6336cb90a | 3ee53c9e2086b54036f2a50aa983be5d39f03439 | /c++/happy_number.cpp | 030bd5170476c23e988fa5c95ea2113c2d37b998 | [] | no_license | Peilin-Yang/leetcode | 764b41992bc903aca4f8249320da5a59e3ce5deb | ad1ce11804183816bc5127091af00a5caa25017d | refs/heads/master | 2021-01-10T16:01:31.571332 | 2015-11-12T19:40:08 | 2015-11-12T19:40:08 | 46,076,438 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 705 | cpp | #include <iostream>
#include <unordered_set>
using namespace std;
class Solution {
public:
long long c(int n) {
long long r = 0;
while (n) {
int tmp = n%10;
r += tmp*tmp;
n/=10;
}
cout << "r:" << r << endl;
return r;
}
bool isHapp... | [
"yangpeilyn@gmail.com"
] | yangpeilyn@gmail.com |
2ec8e6ea6c1ff13b301e33f581b0d959f29bf10e | bba20d50bcbaa6133417230a80fea993064b69c1 | /localization/vision_common/include/vision_common/inverse_depth_measurement.h | 2032f75139bf773405dcae921a4b00c6b90dac96 | [
"BSD-3-Clause",
"LGPL-2.0-or-later",
"LicenseRef-scancode-philippe-de-muyter",
"MIT",
"MPL-2.0",
"MPL-1.0",
"LGPL-2.1-or-later",
"Apache-2.0",
"LGPL-2.1-only",
"LicenseRef-scancode-other-copyleft",
"LicenseRef-scancode-generic-cla",
"GPL-3.0-only",
"LGPL-3.0-only",
"LicenseRef-scancode-pro... | permissive | nasa/astrobee | ecd2d941b5fb3dc72af9eb6ff0cb3e50b5281874 | ea41de975fd3ed5320cc474c061ad6305ae6b646 | refs/heads/master | 2023-08-28T08:21:00.219849 | 2023-04-04T21:56:03 | 2023-04-04T21:56:03 | 101,815,284 | 914 | 320 | Apache-2.0 | 2023-08-09T17:01:14 | 2017-08-29T23:16:13 | C++ | UTF-8 | C++ | false | false | 11,602 | h | /* Copyright (c) 2017, United States Government, as represented by the
* Administrator of the National Aeronautics and Space Administration.
*
* All rights reserved.
*
* The Astrobee platform is licensed under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with t... | [
"noreply@github.com"
] | noreply@github.com |
b032292dcb25c1ae55a47b65be22c3839eda76c4 | 287a29c942edef187236b9004036c732d5f96f24 | /engine/public/HUD.h | 27acd5e034e84f36b3394bad00fa547e12d3924a | [] | no_license | adix64/MiniToonEngine | d5a49bcaa35066bdbeeb1574a43c57d69f60d92a | bbc76ae1afe963fbe4ad039ef5ce71735782edad | refs/heads/master | 2022-11-20T11:05:19.509597 | 2020-07-21T20:06:58 | 2020-07-21T20:06:58 | 277,913,396 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 141 | h | #pragma once
#include <Component/Sprite.h>
class HUD
{
public:
std::unordered_map<std::string, Sprite *> sprites;
HUD();
void Init();
};
| [
"adix64@gmail.com"
] | adix64@gmail.com |
44126c821c0b57d774250a3e09b278c828c38882 | 11b0059085e5971e2bc93873177ff082eca113dc | /EEE_Park/EEE_Park/Blob.cpp | 1170efa1b29c9750a953b42a41e8f7a091c9fbf8 | [] | no_license | ElanaFelsi/Ticket-Prevention | 8491af5b924334b86dac70f56e931169f0828654 | 7c35889aedce50fc204e082cfc8ff59361ab40a5 | refs/heads/master | 2021-01-02T18:57:01.301458 | 2020-02-11T12:26:35 | 2020-02-11T12:26:35 | 239,753,616 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,921 | cpp | #include "Blob.h"
Blob::Blob(std::vector<cv::Point> _contour) {
currentContour = _contour;
currentBoundingRect = cv::boundingRect(currentContour);
cv::Point currentCenter;
currentCenter.x = (currentBoundingRect.x + currentBoundingRect.x + currentBoundingRect.width) / 2;
currentCenter.y = (current... | [
"edery.elia@gmail.com"
] | edery.elia@gmail.com |
01dfe6a8b12a3681573a609bc96cfc7961d37749 | 1ef82bfd69d96cc6634cdc1ed00e9520a4c63cf3 | /dialogjupiter.cpp | e425e7dcab97c0eb5c5f0931767c29ebe64a2918 | [] | no_license | Ynshent/QT_Planety-Mesice | 412ffaee9b20445477bcabd652378496fc270612 | d876cd9936966af079e5f29febfe6f76eff309aa | refs/heads/master | 2020-09-15T14:24:13.038536 | 2019-11-22T19:51:11 | 2019-11-22T19:51:11 | 223,155,527 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 342,178 | cpp | #include "dialogjupiter.h"
#include "ui_dialogjupiter.h"
#include <QSqlDatabase>
#include <QSqlQuery>
DialogJupiter::DialogJupiter(QWidget *parent) :
QDialog(parent),
ui(new Ui::DialogJupiter)
{
ui->setupUi(this);
QSqlDatabase db = QSqlDatabase::addDatabase("QSQLITE");
db.setDataba... | [
"noreply@github.com"
] | noreply@github.com |
413e4ab24dd177823c7d4f54b0bb3199d1926192 | 4147e2a08af354f682ce100b9b760559dc69e8df | /ARemRecorder/PostProcessor/src/RingBuffer.h | 53e475f6b3591aae4ece0733cafb4bb1191220e4 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause",
"MIT",
"BSD-2-Clause"
] | permissive | donaldmunro/AARemu | 4c40e4072e46bf4be5f90022f5ae1a5ed72f3a0b | f45c0909b2be645672ca16957d1d72741f93c9f1 | refs/heads/master | 2021-01-19T01:44:51.958044 | 2020-06-24T21:39:41 | 2020-06-24T21:39:41 | 22,467,863 | 34 | 14 | null | null | null | null | UTF-8 | C++ | false | false | 2,636 | h | #ifndef POSTPROCESSOR_RINGBUFFER_H
#define POSTPROCESSOR_RINGBUFFER_H
#include <vector>
#include <mutex>
template <typename T>
class RingBuffer
//==============
{
protected:
std::vector<T> content;
volatile int head =0, tail =0, length =0;
int size =-1;
std::mutex mtx;
inline int indexIncrement(int i)... | [
"donaldmunro@gmail.com"
] | donaldmunro@gmail.com |
97066f09657f6df8306c16af08c99ba111210d38 | a7a46520f268f3d6b34e7c1f620e8cfa219f76a0 | /general/A_Anton_and_Letters.cpp | 1304df65e49419982970cf68c3d8df75c21c4c69 | [] | no_license | harsha20032020/codeforces | 5c20abee4d5acc62c647e274610bb8b9f27b1965 | 0ff3fbdbe1845ffacb04e399c630b078f0ec750b | refs/heads/master | 2023-07-22T20:22:09.549918 | 2021-08-26T13:59:10 | 2021-08-26T13:59:10 | 399,410,249 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,085 | cpp | //TITLE: A_Anton_and_Letters.cpp
//AUTHOR: N Harsha Vardhan
//DATE: 2021-08-05
//TIME: 13:49:36
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef vector<int> vi;
typedef pair<int, int> pi;
#define F first
#define mp make_pair
#define pb push_back
#define S second
#define FOR(i, a, b) for (int ... | [
"nemani.v@research.iiit.ac.in"
] | nemani.v@research.iiit.ac.in |
ba40c03ffd15fc83f245ba703ca39cda6c0e162b | a4cfac88a4d31bf14c205d74184c8fc836d49bf9 | /content_file__sort.cpp | 28a71c60e5813beb5500194af30560d10585313c | [] | no_license | greyringan/C-sort-apps | 7112d57dff866181217ab077626562d39997efc2 | 68c84bf68fb356c76d91cfa324fcdc5bc8c82b39 | refs/heads/main | 2023-07-28T02:30:10.054089 | 2021-09-06T12:00:09 | 2021-09-06T12:00:09 | 403,605,657 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,204 | cpp | #include<stdio.h>
#include<string.h>
struct dest{
char city[100];
int price;
};
//use this sample
//3000
//newyork
//9000
//new jersey
//4000
//texas
void bubbleSort(struct dest *deslist, int n){
for(int i=0; i<n-1; i++){
for(int j=0; j<n-1-i; j++){
if(deslist[j].price > deslist[j+1].pri... | [
"noreply@github.com"
] | noreply@github.com |
6cb31d51981bb1179480c02330274c8cf059a50c | cd0448d3790f0a36b1c70d7ca349aae8b1d9da3a | /Interaction/ur_move_script/src/main.cpp | 69188f0471b4ee2a27b68a48a618ad1e5b7b8a3d | [] | no_license | chjXu/multi-human-robot-interaction | ac40e6c9d4191cd8c361bfd5c4697136353ecc19 | 2ba7758678ec926eb470e163ee1703fbc808e51e | refs/heads/main | 2023-06-18T21:55:33.225992 | 2021-07-27T09:42:30 | 2021-07-27T09:42:30 | 382,189,134 | 4 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,126 | cpp | #include <iostream>
#include <ur_move_script/common.h>
#include <ctime>
using namespace std;
void Modules::run(){
while(ros::ok()){
robot->track(); //追踪marker,并达到夹取点 mode1 --> mode2
sleep(0.5);
if(robot->getModeState() == mode2 && robot->isToPlace()){
gripper->clamp();
... | [
"noreply@github.com"
] | noreply@github.com |
d0c99dcc34677f1f9ee3e3e5e3724407d6247161 | ac6e436ff62811e1c13c6008b8e3ccd6c375c0b3 | /test/unit/LebTest.cpp | 102a0beac860bae383af18a451c0ba9035e0cf59 | [
"MIT"
] | permissive | Fklearn/redex | e93fbe76dac23da1d5c218fb20b504024649f48a | 4d7257d50342904a07a8515de23ac72676146155 | refs/heads/master | 2021-11-10T17:22:30.793539 | 2021-11-10T02:31:27 | 2021-11-10T02:36:44 | 162,951,167 | 0 | 0 | MIT | 2018-12-24T04:52:14 | 2018-12-24T04:52:13 | null | UTF-8 | C++ | false | false | 1,358 | cpp | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <gtest/gtest.h>
#include <array>
#include "DexEncoding.h"
#include "RedexTest.h"
class LebTest : public RedexTest {};
... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
bf59b3082dca3c6d4437e3e0b98a9c0bbed2fced | 5ee961e531415200b304fefcd40a77e8fbc6dc59 | /Dom/Light.cpp | 886f3086555a48599024a3739fa8e35b24d5cf70 | [] | no_license | seryi367/Dom | 6308db74a98758837e3dac42b3eca197bba23334 | 55f908404195fcb886a3699e83f49bbaca62a285 | refs/heads/master | 2021-01-13T03:33:24.482063 | 2016-12-28T09:47:07 | 2016-12-28T09:47:07 | 77,521,737 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 179 | cpp | #include "Light.h"
void initLight()
{
pinMode(Light , OUTPUT);
}
void setLight(short isOn)
{
if(isOn)
digitalWrite(Light, HIGH);
else
digitalWrite(Light, LOW);
}
| [
"noreply@github.com"
] | noreply@github.com |
6a925f4fbcf13cc0afc07ebe17a019e22c4294a9 | e60ca08722245d732f86701cf28b581ac5eeb737 | /xbmc/windows/GUIWindowScreensaverDim.cpp | 2ebf5d7383d3506d836af5a60dbc345870c86e5b | [] | no_license | paulopina21/plxJukebox-11 | 6d915e60b3890ce01bc8a9e560342c982f32fbc7 | 193996ac99b99badab3a1d422806942afca2ad01 | refs/heads/master | 2020-04-09T13:31:35.220058 | 2013-02-06T17:31:23 | 2013-02-06T17:31:23 | 8,056,228 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,397 | cpp |
#include "GUIWindowScreensaverDim.h"
#include "guilib/GraphicContext.h"
#include "guilib/GUITexture.h"
#include "Application.h"
#include <climits>
CGUIWindowScreensaverDim::CGUIWindowScreensaverDim(void)
: CGUIDialog(97, "")
{
m_needsScaling = false;
m_dimLevel = 100.0f;
m_animations.push_back(CAnimation::... | [
"pontesmail@gmail.com"
] | pontesmail@gmail.com |
7c2f61ba788a47ce344980c373b697390ee3dad6 | 459b4ab676edf61d09899a539c7f8d7c78f7c2b5 | /cnComp/basic/add.cpp | 1325a1748f5f56186fadfa36a1a06a8340a55065 | [] | no_license | ali-anas/Archive-of-Code | a75cd0df1224dea14ed195f74fd906b74457a45e | bc1132b6434c3d39b406e731629605af8b6c5727 | refs/heads/master | 2023-01-01T18:50:12.876755 | 2020-10-22T08:13:23 | 2020-10-22T08:13:23 | 225,658,465 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 209 | cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
freopen("addin.txt","r",stdin);
freopen("addout.txt","w",stdout);
int a,b;
cin >> a >> b;
int sum = a + b;
cout << sum << endl;
return 0;
} | [
"infoalmora786@gmail.com"
] | infoalmora786@gmail.com |
b983fc6ffea216a99e163663d8b8abce56562c7a | 11b9c2c8320dc2116f714835764c3c8d8586da93 | /src/Core/Framework/Math/Line.cpp | ac467f6ecc3928bae25c5467201d56a8bacd5241 | [
"Apache-2.0"
] | permissive | Ilikia/naali | 42e57a3ac01469ea66ace11e9020cfc9b824b8ea | 9a2d06fb6b00cc5b5645794e9a5d4beab61bf56f | refs/heads/master | 2021-01-15T16:11:08.557582 | 2011-08-22T07:37:01 | 2011-08-22T07:37:01 | 2,153,258 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 6,459 | cpp | /** @file
@author Jukka Jylänki
This work is copyrighted material and may NOT be used for any kind of commercial or
personal advantage and may NOT be copied or redistributed without prior consent
of the author(s).
*/
#include "StableHeaders.h"
#include "Line.h"
#include "Ray.h"
#include "LineSegment.... | [
"toni@playsign"
] | toni@playsign |
b0bcedec0d51252c0badbab1db22ffb24f413720 | 275a5b0b93cacc42d41ab9573b1e84ae2db8bb44 | /application/lcdprinter.cpp | 4492a4bbfd06935f583984bbfe47661f940bd0ae | [] | no_license | pgielmuda/lowPowerFreeRtos | 01e0914f1f8aef436baf8cb3e660770c9d41b8bd | 2ae152d7d59514d63ac28b5a66558b907d8dd604 | refs/heads/master | 2021-01-18T18:47:31.123243 | 2015-02-19T10:56:01 | 2015-02-19T10:56:01 | 31,738,726 | 0 | 0 | null | 2015-03-05T21:56:05 | 2015-03-05T21:56:05 | null | UTF-8 | C++ | false | false | 852 | cpp | /*
* lcdprinter.cpp
*
* Created on: 1 gru 2014
* Author: Adrian
*/
#include "stm32l1xx.h"
#include "lcdprinter.h"
#include "lcd.h"
#include <string.h>
/*---------------------------------------------------------------------------------------------------------------------+
| local functions
+----------------... | [
"Maciej.grochowski89@gmail.com"
] | Maciej.grochowski89@gmail.com |
0b1ed59a5887d0b3d7bcb376244f9aa3148788d2 | ca312d55f55a07ace869fdec3508f440539109d5 | /simulation/g4simulation/g4ohcal/PHG4OHCalField.cc | e96534094c33669a33a93bb5d018bfbfc95270ac | [] | no_license | rccorliss/coresoftware | 8d0cef3d2d0e9b4337e04ce992771ec60941eaab | 79f380a1058390a7d353c034d326fa30d44ef892 | refs/heads/master | 2023-08-03T15:57:28.415262 | 2022-05-07T17:46:51 | 2022-05-07T17:46:51 | 149,708,452 | 0 | 1 | null | 2018-09-21T04:09:02 | 2018-09-21T04:09:02 | null | UTF-8 | C++ | false | false | 4,436 | cc | // $Id: $
/*!
* \file PHG4OHCalField.cc
* \brief
* \author Jin Huang <jhuang@bnl.gov>
* \version $Revision: $
* \date $Date: $
*/
#include "PHG4OHCalField.h"
#include <TSystem.h>
#include <Geant4/G4Field.hh> // for G4Field
#include <Geant4/G4FieldManager.hh>
#include <Geant4/G4PhysicalConstants.hh>
#includ... | [
"noreply@github.com"
] | noreply@github.com |
98d81c59f9bd8d7170c0924a33004492e9f41687 | 14354ef6b92d0e131415d09346e1487bc619bfb8 | /catkin_ws/devel/.private/baxter_core_msgs/include/baxter_core_msgs/EndEffectorProperties.h | 43e34ea56680721c06631e7cf907857a6c47a569 | [] | no_license | roop-pal/robotic-laundry-folding | 6a65e6cba4835d038f3926d8afaf67912d525616 | a0e062ac6d23cd07fe10e3f45abc4ba50e533141 | refs/heads/master | 2021-04-15T14:20:00.086041 | 2018-04-30T01:55:31 | 2018-04-30T01:55:31 | 126,398,424 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 12,461 | h | // Generated by gencpp from file baxter_core_msgs/EndEffectorProperties.msg
// DO NOT EDIT!
#ifndef BAXTER_CORE_MSGS_MESSAGE_ENDEFFECTORPROPERTIES_H
#define BAXTER_CORE_MSGS_MESSAGE_ENDEFFECTORPROPERTIES_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#inc... | [
"caz2114@barnard.edu"
] | caz2114@barnard.edu |
22cef311555fb8ab06a64cae9d96bb28dec09e44 | ad60c465813d0a9698c2aeaea56167317d726c40 | /Card.h | 71f3d6a7f97afc5c97d382a686b052d6bd61c687 | [] | no_license | BrandonGuergo/Final-Project | f6674b0ffb1ed5fd8adebb9d9fb88c1167accbaa | 12d19f45e75034aa6bd0fed70f1bac895df3acf4 | refs/heads/master | 2020-12-11T05:51:10.591192 | 2015-04-15T22:55:54 | 2015-04-15T22:55:54 | 34,055,409 | 0 | 0 | null | 2015-04-16T12:49:03 | 2015-04-16T12:49:03 | null | UTF-8 | C++ | false | false | 322 | h | #ifndef CARD_H
#define CARD_H
#include <sstream>
#include <iostream>
#include <cstdlib>
using namespace std;
class Card
{
public:
Card(int, int, string, string);
private:
std::string name;
std::string Suit;
unsigned int Value;
unsigned int SuitValue;
};
#endif // CARD_... | [
"cnwolfe@live.com"
] | cnwolfe@live.com |
de35fe0e61c6554d50fd278a4084cf856dd924a9 | 6a8a6d93e16a741d3bf2b8ef39d4c8c54c1f3094 | /gemm/sim/vout/VTest__Syms.cpp | ba6a443808e1ec6c07891d4073971c77309af193 | [] | no_license | BenjaminTu/Bit_Serial_Dot_Product | c37750c1c6e96939bf06c07e9df1e4491ac2f9dc | ceb307cfae9889d120cad4c6b3c9664eb027bd0f | refs/heads/master | 2022-02-22T14:34:01.791584 | 2019-07-23T19:09:27 | 2019-07-23T19:09:27 | 193,592,078 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,515 | cpp | // Verilated -*- C++ -*-
// DESCRIPTION: Verilator output: Symbol table implementation internals
#include "VTest__Syms.h"
#include "VTest.h"
#include "VTest_DotProduct.h"
// FUNCTIONS
VTest__Syms::VTest__Syms(VTest* topp, const char* namep)
// Setup locals
: __Vm_namep(namep)
, __Vm_didInit(false)
// Setup submod... | [
"tu.benjamin1115@gmail.com"
] | tu.benjamin1115@gmail.com |
30f2ef540f493a3c1f38ab7bbcc44e3c1cb070fc | 9f11e7ba517940c6c1e2463ea42d1c7910a9abfe | /Appointment/createnewaccount.cpp | 86f0bd38112066f99fa83f4f47362dada1083d7c | [] | no_license | hugogarcia354/AppointmentCheck | 5562a01ff6a7db0473c357fad369c2cc220fec18 | 825dece929f80e123c755de1c32813830fad84e0 | refs/heads/master | 2020-12-30T13:21:04.459772 | 2017-05-13T22:06:11 | 2017-05-13T22:06:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,668 | cpp | #include "createnewaccount.h"
#include "ui_createnewaccount.h"
CreateNewAccount::CreateNewAccount(QWidget *parent) :
QDialog(parent),
ui(new Ui::CreateNewAccount)
{
ui->setupUi(this);
}
CreateNewAccount::~CreateNewAccount()
{
delete ui;
}
void CreateNewAccount::on_pushButton_clicked()
{
Appointme... | [
"noreply@github.com"
] | noreply@github.com |
246e3970f8e2026e3c79077da5bd08cb08a7e835 | eb48c29693a3be2df788215f36dcc0ecc08dd961 | /src/qt/terracredit/furabstractlistitemdelegate.cpp | d573ec0df49553bd2c512b9fb41129af7175630c | [
"MIT"
] | permissive | CREDIT-2-0/TerraCredit | 787b14d7a5366d22827efd03853ac3f1f69fd234 | ebe035cd4eeab006928e931c33db7b025cdea340 | refs/heads/master | 2022-12-08T23:24:52.343819 | 2020-09-08T02:47:20 | 2020-09-08T02:47:20 | 271,811,497 | 4 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 1,670 | cpp | // Copyright (c) 2019 The PIVX developers
// Copyright (c) 2019-2020 The TERRACREDIT developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "qt/terracredit/furabstractlistitemdelegate.h"
FurAbstractListItemDelegate... | [
"alonewolf2ksk@gmail.com"
] | alonewolf2ksk@gmail.com |
574d3b1d8c723b3054baae8895d8462acc9c5508 | f6439b5ed1614fd8db05fa963b47765eae225eb5 | /ash/accelerators/accelerator_controller_unittest.cc | 4fecc24d5b4c18d70b09ef9d15994207e3ee0b43 | [
"BSD-3-Clause"
] | permissive | aranajhonny/chromium | b8a3c975211e1ea2f15b83647b4d8eb45252f1be | caf5bcb822f79b8997720e589334266551a50a13 | refs/heads/master | 2021-05-11T00:20:34.020261 | 2018-01-21T03:31:45 | 2018-01-21T03:31:45 | 118,301,142 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 50,761 | cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ash/accelerators/accelerator_controller.h"
#include "ash/accelerators/accelerator_table.h"
#include "ash/accessibility_delegate.h"
#include... | [
"jhonnyjosearana@gmail.com"
] | jhonnyjosearana@gmail.com |
ccc5f9e87a669df1f45fe0b77bd4f40ff35044fc | 818b87c3bf49baff3e0dc092192c6e0fdb7f8067 | /src/sgh-controller/Scheduler.h | 4d43f66bcde53d2f5b25d47f871c38848ce79682 | [] | no_license | elizabetabudini/iot-smart-green-house | bf47ade787e51884cb4c0dbf368c561863338c31 | 41bfcde6ed1291404a09bb5d2e649dd06e34fc9c | refs/heads/master | 2021-05-19T15:22:34.600034 | 2020-03-31T23:05:57 | 2020-03-31T23:05:57 | 251,872,642 | 0 | 0 | null | 2020-03-31T23:02:36 | 2020-03-31T22:59:40 | Java | UTF-8 | C++ | false | false | 536 | h | #ifndef __SCHEDULER__
#define __SCHEDULER__
#include "Timer.h"
#include "Task.h"
//define the max number of tasks.
#define MAX_TASKS 10
/**
* Class used to manage and define the scheduler. It will be used to run all the task with a defined priority. In that case the priority is the order the tasks are inserted.
*/... | [
"francesco.boschi2@studio.unibo.it"
] | francesco.boschi2@studio.unibo.it |
7181626a378701b22f0566c1e576b6771a2f33d0 | 88ae8695987ada722184307301e221e1ba3cc2fa | /third_party/tflite/src/tensorflow/compiler/mlir/tfrt/transforms/tfrt_pipeline_options.h | 24d245b17143d11fc7a671eca85db32c7b715419 | [
"Apache-2.0",
"LGPL-2.0-or-later",
"MIT",
"GPL-1.0-or-later",
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-generic-cla",
"BSD-2-Clause"
] | permissive | iridium-browser/iridium-browser | 71d9c5ff76e014e6900b825f67389ab0ccd01329 | 5ee297f53dc7f8e70183031cff62f37b0f19d25f | refs/heads/master | 2023-08-03T16:44:16.844552 | 2023-07-20T15:17:00 | 2023-07-23T16:09:30 | 220,016,632 | 341 | 40 | BSD-3-Clause | 2021-08-13T13:54:45 | 2019-11-06T14:32:31 | null | UTF-8 | C++ | false | false | 8,085 | h | /* Copyright 2023 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... | [
"jengelh@inai.de"
] | jengelh@inai.de |
fb02ec821e85625bd6167f988e9bf9134396079a | e97522ff5d9c1f51da835f82984da5ae41b424d5 | /libraries/AGS02MA/AGS02MA.h | 7108df2049994c79f33151f3c7c451e70aa72987 | [
"MIT"
] | permissive | Spitfaer/Arduino | 1f61d95601350d1825b5d26d9cb68f69d45ccb56 | ad3cf039916342524e7a7caffe168ffac65a1dcc | refs/heads/master | 2023-09-05T11:36:28.246871 | 2021-11-11T19:36:58 | 2021-11-11T19:36:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,858 | h | #pragma once
//
// FILE: AGS02MA.h
// AUTHOR: Rob Tillaart, Viktor Balint
// DATE: 2021-08-12
// VERSION: 0.1.2
// PURPOSE: Arduino library for AGS02MA TVOC
// URL: https://github.com/RobTillaart/AGS02MA
//
#include "Arduino.h"
#include "Wire.h"
#define AGS02MA_LIB_VERSION (F("0.1.2"))
#define A... | [
"rob.tillaart@gmail.com"
] | rob.tillaart@gmail.com |
be26a6338b8f54b230d75c0113c7269045fde146 | c6c9ef87cea128c625b063d4455c3e3d83f23564 | /nnutil.h | a7d9532eafdc6f62b88a4b03a52fab111a6a164f | [] | no_license | iFoggz/GRCRACNN | 170e26262e72fe964981766bd89a15e6b955ddaa | 4fa111a6fc009bea60b53f64af0437018745a7e7 | refs/heads/master | 2020-03-22T04:36:07.493543 | 2018-07-20T21:57:33 | 2018-07-20T21:57:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,106 | h | #ifndef NNUTIL_H
#define NNUTIL_H
#pragma once
#include <string>
#include <sstream>
#include <experimental/filesystem>
#include <stdexcept>
#include <iostream>
#include <fstream>
#include <cmath>
#include <inttypes.h>
#include <unordered_set>
#include <unordered_map>
#include <memory>
namespace fs = std::experimental:... | [
"eastendmumbles@gmail.com"
] | eastendmumbles@gmail.com |
3d70cf01d5afc02e324cca9b55db913143faa5b6 | 8d82d2b247cc59209afd082dae57999a5fc075b0 | /variant-impl.hpp | 7d53c3c4313292ae576ad1e7ab860b43dff3ddcb | [] | no_license | WaffleSouffle/utils | 92e365d1ba526862385f29e2dba3d1a424f0e643 | e96380c7664ff5e804c1c767b3c168f4ccbdaa26 | refs/heads/master | 2021-01-15T23:20:52.448027 | 2015-03-17T16:43:55 | 2015-03-17T16:43:55 | 32,405,914 | 0 | 0 | null | 2015-03-17T16:33:55 | 2015-03-17T16:33:55 | null | UTF-8 | C++ | false | false | 18,850 | hpp | //-----------------------------------------
// Detail implementation of utils::variant
//-----------------------------------------
//
// Copyright kennytm (auraHT Ltd.) 2011.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file doc/LICENSE_1_0.txt or copy at
// ht... | [
"kennytm@gmail.com"
] | kennytm@gmail.com |
dc697a124216e4268c16b33166366106a952dd8a | 6ffd1306737f689d5ec08793be6e9f2e007d53cc | /popupwindow.cpp | 53401d7cf10eaf266fe458e7c6f127fffae1d4e2 | [] | no_license | arianeayer/QtPuppyCatcherGame | 8e33168d6d00483772b12eb979b5f6b1ecc28719 | 6f11236d1af7931678668ba6951b201c545514b6 | refs/heads/master | 2020-04-09T07:02:10.474154 | 2016-06-06T20:47:41 | 2016-06-06T20:47:41 | 60,500,450 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 321 | cpp | #include "popupwindow.h"
#include "ui_popupwindow.h"
popupwindow::popupwindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::popupwindow)
{
ui->setupUi(this);
}
/** press accept button to close window
*/
void popupwindow::accept() {
this->close();
}
popupwindow::~popupwindow()
{
delete ui;
}... | [
"arianeayer@gmail.com"
] | arianeayer@gmail.com |
6be34bb2f5e3a4d214fe288f4c36521086aca7a3 | 27f473ccc76bb3da481eafb8cd2da4b78058096a | /[DP] N으로 표현.cpp | adccdd6fa5465f5cfd5e75a0883126967e09066e | [
"MIT"
] | permissive | ChangYeop-Yang/Study-Algorithm | 07f838be1a41d6f6a1293a21ae4b7e9f623b39f4 | 7dc83df6ad4bb015ef46788e72e10ea6b5ec84cf | refs/heads/master | 2022-03-07T13:26:06.781186 | 2022-02-26T15:35:17 | 2022-02-26T15:35:17 | 70,337,924 | 7 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,239 | cpp | #include <iostream>
#include <algorithm>
#include <unordered_set>
using namespace std;
#define MAX_V 8
int solution(int N, int number) {
int answer = EOF;
int base = 0;
// MARK: - 최솟값이 8보다 크면 -1을 return 합니다.
unordered_set<int> numbers[MAX_V];
// MARK: - 주어진 N을 최대 8번을 사용하여 만든다.
for (int ii = 0; ii < MAX_V; i... | [
"noreply@github.com"
] | noreply@github.com |
070627ed65fd498a56ef761396bf4875becb54e7 | 125ce3961b3bb11c8ad968e338a2a0a0388620a0 | /openmp.cpp | 07f5bf50d2eecb83aecb0401da71bf35d06ac80c | [] | no_license | thutran/par-particle-sim | efde2a8275e9b7e978c3dd0d23176992433664a8 | a8cbf0f1f89a270e78a307a9db32984e31d2ef25 | refs/heads/master | 2020-04-22T09:05:04.627836 | 2019-07-28T19:48:19 | 2019-07-28T19:48:19 | 170,259,961 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,647 | cpp | #include <stdlib.h>
#include <stdio.h>
#include <assert.h>
#include <math.h>
#include "common.h"
#include "omp.h"
#include <limits>
//
// benchmarking program
//
int main( int argc, char **argv )
{
int navg,nabsavg=0,numthreads;
double dmin, absmin=1.0,davg,absavg=0.0;
if( find_option( argc, argv, "-... | [
"thutranng@gmail.com"
] | thutranng@gmail.com |
d331bfc4901143a17bba5599894fe6c00f2358c6 | d9eb94e7d0d2551615155b1d7542faab35a1f5ab | /BomberMan/Legacy/Subject1(BomberMan)_Ver.6/Subject_1/UnBreakable_Wall.h | 4d036f58ef46bb4ef3197ddccb4f06bf4c6bf2b6 | [] | no_license | yunsubaek/Unity3D | b8d9210e73f97d6546bd562198bcba4feb246218 | 32f2c984c482c8cf048de24775c28c99389d57b4 | refs/heads/master | 2020-05-21T13:48:32.424296 | 2020-03-11T15:09:26 | 2020-03-11T15:09:26 | 62,619,213 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 167 | h | #pragma once
#include "Object.h"
class UnBreakable_Wall :public Object
{
public:
void UnBreakable_Wall_Init();
UnBreakable_Wall();
~UnBreakable_Wall();
}; | [
"noreply@github.com"
] | noreply@github.com |
5f1b1f89c98c03d653a380fd3d986cd687028a29 | be95157565a1296a7e238410472317d3da0b930c | /mod.cpp | 9dde656a1d695483ebd8bf3762ca18110f74c6a1 | [
"MIT"
] | permissive | rundabollen/rund_mod | 605c2a6b5401f8315c32e3e9940a2b57bc5f18ab | 69ec1bec1f250a8078919dfd2cb995558f172830 | refs/heads/master | 2022-08-02T07:47:18.811377 | 2020-05-28T22:27:07 | 2020-05-28T22:27:07 | 266,829,382 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 31 | cpp | name = "rund's mod (testing)";
| [
"noreply@github.com"
] | noreply@github.com |
bc8f1ba6ce67d0cd81ca38cbdc29a630233b3172 | 902aab58f902a488a4f0f0e8e0d6b0bab8334240 | /InProgress/te_gurney/case/0.09/epsilon | af9d6b2bf9bf45f549d0b170ee5b0240f161a480 | [] | no_license | Foadsf/OpenFOAM_Tutorials_ | d32d5ef6583f276018f2314a78fe66c730c47109 | 4b914e5112863f2660e15b899dfddfc0ec04f90c | refs/heads/master | 2021-09-12T08:19:21.666536 | 2018-01-24T17:31:13 | 2018-01-24T17:31:13 | 118,747,914 | 1 | 0 | null | 2018-01-24T10:10:08 | 2018-01-24T10:10:08 | null | UTF-8 | C++ | false | false | 141,091 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.1 |
... | [
"rlee32@gatech.edu"
] | rlee32@gatech.edu | |
5be8ca67c6b1989c34c2f896411d4eededff9e03 | 9ebb600827ab2d8e4b20cf8a6c667f8c0f39524b | /filestream/ninfo/ninfo_data_type/ninfo_aicgdih_line.hpp | f0f5f9d6970f9382116e37a36087b8d909fe1228 | [] | no_license | Fritz1414213562/Qahwa | 51dc96d1357857e4554d9959327f5169b5d5d25d | c08a592e518235f8f69152d7f394432f4d520ff9 | refs/heads/master | 2021-02-09T21:56:19.935376 | 2020-05-03T02:48:46 | 2020-05-03T02:48:46 | 244,327,765 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,851 | hpp | #ifndef QAHWA_NINFO_AICGDIH_LINE_HPP
#define QAHWA_NINFO_AICGDIH_LINE_HPP
#include<iostream>
#include<string>
#include<array>
#include<vector>
#include<tuple>
#include<type_traits>
namespace Qahwa {
struct Ninfo_AICGDihLine {
public:
template<typename... Args>
Ninfo_AICGDihLine(const Args&... arguments) {
stat... | [
"fritz1414213562@gmail.com"
] | fritz1414213562@gmail.com |
5a229db6f8182c6de982df5eb7ae1ad20ced0744 | 0329788a6657e212944fd1dffb818111e62ee2b0 | /docs/snippets/cpp/VS_Snippets_Misc/NVC_MFC_DesktopAlertDemo/cpp/MSNDlg.cpp | fb7793dec253198146a7d1705e4f61567ebd5bcd | [
"CC-BY-4.0",
"MIT"
] | permissive | MicrosoftDocs/visualstudio-docs | 3e506da16412dfee1f83e82a600c7ce0041c0f33 | bff072c38fcfc60cd02c9d1d4a7959ae26a8e23c | refs/heads/main | 2023-09-01T16:13:32.046442 | 2023-09-01T14:26:34 | 2023-09-01T14:26:34 | 73,740,273 | 1,050 | 1,984 | CC-BY-4.0 | 2023-09-14T17:04:58 | 2016-11-14T19:36:53 | Python | UTF-8 | C++ | false | false | 2,284 | cpp | // This is a part of the Microsoft Foundation Classes C++ library.
// Copyright (C) Microsoft Corporation
// All rights reserved.
//
// This source code is only intended as a supplement to the
// Microsoft Foundation Classes Reference and related
// electronic documentation provided with the library.
// See these sourc... | [
"v-zhecai@microsoft.com"
] | v-zhecai@microsoft.com |
3fb8c2f25af47ce4aa079796877489edb95b7343 | 36e21b89def4178ab8238ac522ffca89fd81407d | /src/dataset.cpp | 32ab0df339c8c20cf81d6d6209045ced05900050 | [
"MIT"
] | permissive | xann16/kohonen-iris | dc1dfc906581d1e7d7e9907f4111d28819f741c2 | f56d3f57a0129b14cbe0b0609dc772bbd488b6b7 | refs/heads/master | 2022-01-31T21:23:45.389792 | 2019-06-01T22:03:38 | 2019-06-01T22:03:38 | 185,357,577 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,156 | cpp | #include "dataset.h"
namespace isai
{
void dataset_t::print( bool is_normalized ) const
{
for ( auto &&dp : m_data )
{
std::printf( "[ %8.3f %8.3f %8.3f %8.3f ", dp.features[ 0 ],
dp.features[ 1 ], dp.features[ 2 ], dp.features[ 3 ] );
if ( is_normalized )
{
st... | [
"maciejmanna@gmail.com"
] | maciejmanna@gmail.com |
f120336192471fa3bde0cd0aa50ea9d050481606 | 7a4238ae1f063dd585b13bd9d82ca25b7c96ccc1 | /src/qt/signverifymessagedialog.cpp | 50491ca5469a5f9a18eab0d7440f9138af49a272 | [
"MIT"
] | permissive | mirzasuga/nxcoin-wallet | 3c1a7758cff2c19689f3e036690c91650789149c | 066a618b68ff18ef3e06a8fdb8cfcb0ad1aa3dac | refs/heads/master | 2020-05-01T11:09:51.277440 | 2018-07-30T08:42:36 | 2018-07-30T08:42:36 | 177,435,598 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,779 | cpp | #include "signverifymessagedialog.h"
#include "ui_signverifymessagedialog.h"
#include "addressbookpage.h"
#include "base58.h"
#include "guiutil.h"
#include "init.h"
#include "main.h"
#include "optionsmodel.h"
#include "walletmodel.h"
#include "wallet.h"
#include <string>
#include <vector>
#include <QClipboard>
Sign... | [
"sugamirza2@gmail.com"
] | sugamirza2@gmail.com |
ab65b489dbc009283e080ba35c1e99e031861dcc | 762d45cf1495215445075dcb74ebd52a5133bfed | /src/nihilo-tx.cpp | 7d206e4756f6fe2c194becc9f68dbbfb91f04a4d | [
"MIT"
] | permissive | skimanner/nihilo | b1d48bc6bb32692f19b4ac98fc7c572899d5c647 | 63e357869c42c61d5a67ac30fb557fa1f3c88d91 | refs/heads/master | 2021-04-29T23:20:13.612971 | 2018-02-12T10:44:18 | 2018-02-12T10:44:18 | 121,554,365 | 1 | 0 | null | 2018-02-14T19:51:53 | 2018-02-14T19:51:53 | null | UTF-8 | C++ | false | false | 21,772 | cpp | // Copyright (c) 2009-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 "clientversion.h"
#include "coins.h"
#include "consensus/consensus.h"
#include "core_io.h"
#incl... | [
"spacenihilo@gmail.com"
] | spacenihilo@gmail.com |
f4dc0b40c52284220357f4c622bdc0f5c5ec914e | 485dd906252b9bf6e6dd16993149ec49b664d3d7 | /data/converted/checkbox_unchecked_svg.cpp | a800cb78283b19ecb60df606ee39bd53a82837e7 | [
"MIT",
"Apache-2.0"
] | permissive | Ixeuticus/EmulationStation | be67019c5205cf538a59b730decf67949f410f28 | 29145642fadb555b21b61d28dfde7179799d898c | refs/heads/master | 2021-01-02T09:23:14.472644 | 2019-02-21T18:52:18 | 2019-02-21T18:52:18 | 99,202,609 | 0 | 0 | NOASSERTION | 2019-02-21T18:52:19 | 2017-08-03T07:13:54 | C++ | UTF-8 | C++ | false | false | 4,930 | cpp | //this file was auto-generated from "checkbox_unchecked.svg" by res2h
#include "../Resources.h"
const size_t checkbox_unchecked_svg_size = 859;
const unsigned char checkbox_unchecked_svg_data[859] = {
0x3c,0x3f,0x78,0x6d,0x6c,0x20,0x76,0x65,0x72,0x73,
0x69,0x6f,0x6e,0x3d,0x22,0x31,0x2e,0x30,0x22,0x20,
0x6... | [
"allofquist@yahoo.com"
] | allofquist@yahoo.com |
d9e56b265e466db41f6342314a0f760c09a43878 | 44ab57520bb1a9b48045cb1ee9baee8816b44a5b | /AssistTesting/Code/Editor/SceneEditor/SceneEditorAssistTesting/TestingLib.cpp | 9ed1df0b48b07c094c8fb059d97b6c6a15f5c313 | [
"BSD-3-Clause"
] | permissive | WuyangPeng/Engine | d5d81fd4ec18795679ce99552ab9809f3b205409 | 738fde5660449e87ccd4f4878f7bf2a443ae9f1f | refs/heads/master | 2023-08-17T17:01:41.765963 | 2023-08-16T07:27:05 | 2023-08-16T07:27:05 | 246,266,843 | 10 | 0 | null | null | null | null | GB18030 | C++ | false | false | 281 | cpp | /// Copyright (c) 2010-2023
/// Threading Core Render Engine
///
/// 作者:彭武阳,彭晔恩,彭晔泽
/// 联系作者:94458936@qq.com
///
/// 标准:std:c++20
/// 版本:0.9.1.2 (2023/07/31 19:51)
#include "System/SystemLib.h"
#include "CoreTools/CoreToolsLib.h"
| [
"94458936@qq.com"
] | 94458936@qq.com |
d13f565c74a2323a7338e0257b1e03168efcbadf | 948f4e13af6b3014582909cc6d762606f2a43365 | /testcases/juliet_test_suite/testcases/CWE36_Absolute_Path_Traversal/s04/CWE36_Absolute_Path_Traversal__wchar_t_listen_socket_ifstream_05.cpp | 6c58b8d78e734e4f25d41e3449be2af072fdd243 | [] | 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 | 7,127 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE36_Absolute_Path_Traversal__wchar_t_listen_socket_ifstream_05.cpp
Label Definition File: CWE36_Absolute_Path_Traversal.label.xml
Template File: sources-sink-05.tmpl.cpp
*/
/*
* @description
* CWE: 36 Absolute Path Traversal
* BadSource: listen_socket Read data... | [
"yzhang0701@gmail.com"
] | yzhang0701@gmail.com |
5c087cae246f24d1a2264cbad8b38b9620aec6fd | bac0b4f4f79533cc9bbc7e20cacf82a34d8dbea1 | /TheTurtleGame/TheTurtleGame/SplashState.cpp | 53d8019209c8463717d860454666c401eb43f712 | [
"MIT"
] | permissive | OliverWales/the-turtle-game | e6a0bae74f72c491b81509544173d884bcdc46fb | 0a9e96ff1fc32ce16b5067d14d0b8bafbcc84618 | refs/heads/master | 2023-02-13T07:53:30.749239 | 2021-01-13T23:15:47 | 2021-01-13T23:15:47 | 297,578,688 | 1 | 0 | MIT | 2021-01-13T23:15:48 | 2020-09-22T08:04:15 | C++ | UTF-8 | C++ | false | false | 943 | cpp | #include "SplashState.hpp"
#include "Definitions.hpp"
#include "MainMenuState.hpp"
SplashState::SplashState(GameDataRef data) : _data(data)
{
if (!_splashTexture.loadFromFile(SPLASH_SCREEN))
{
exit(EXIT_FAILURE);
}
_splash.setTexture(_splashTexture);
}
void SplashState::update(float dt)
{
s... | [
"oliverfwales@gmail.com"
] | oliverfwales@gmail.com |
fc573c92a7c213f0f644e8a1fb4c1af0928550a3 | 678612850f04ef1cba2c7646ea9fe1aa21545933 | /Main/Main/STM32F1xx_CPP_FW - Copy/BSP/Button/BtnPoll - Copy.cpp | 2a7a09735519023a6356982ae27571a550fdb9b7 | [] | no_license | amitandgithub/IAR_Projects | 5d38ab082a670f9dab7cf03f8ae3a2c0da9124c6 | 5d117157513955aba64c14615953290234addcc7 | refs/heads/master | 2021-06-30T13:31:36.473102 | 2019-03-31T16:15:00 | 2019-03-31T16:15:00 | 115,230,279 | 0 | 0 | null | 2017-12-27T06:52:23 | 2017-12-24T00:33:00 | C | UTF-8 | C++ | false | false | 1,932 | cpp | /******************
** FILE: BtnPoll.cpp
**
** DESCRIPTION:
** BtnPoll class implementation
**
** CREATED: 1/31/2019, by Amit Chaudhary
******************/
#include "BtnPoll.h"
namespace BSP
{
BtnPoll::BtnPoll(Pin_t Pin, Pull_t Pull, uint8_t Debounce, BtnHandler_t PressHandler, BtnHandler_t ReleaseHandler)... | [
"amit4u.com@gmail.com"
] | amit4u.com@gmail.com |
8d22bad9b2c98b08d147f7b10a65c153c06ce412 | 21ede326b6cfcf5347ca6772d392d3acca80cfa0 | /services/network/network_service_network_delegate_unittest.cc | ecf96e222a74e67a7c38b0c7e0219b334fe4e3ce | [
"BSD-3-Clause"
] | permissive | csagan5/kiwi | 6eaab0ab4db60468358291956506ad6f889401f8 | eb2015c28925be91b4a3130b3c2bee2f5edc91de | refs/heads/master | 2020-04-04T17:06:54.003121 | 2018-10-24T08:20:01 | 2018-10-24T08:20:01 | 156,107,399 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,345 | cc | // Copyright 2018 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 "services/network/network_service_network_delegate.h"
#include "base/test/scoped_task_environment.h"
#include "services/network/network_context.... | [
"team@geometry.ee"
] | team@geometry.ee |
f1c369e85603585970dc5e88f7de612df12d5ef4 | f274ed5264d772d20e54a394af0603897f1b94a0 | /Spi.h | f6096288dd0e7cf36b1bf7e31b6d42f30c99cdda | [] | no_license | codewalkerster/android_hardware_hardkernel_odroidThings | cf6f3e50bdaf15cd43e8ab80f73c16b487c04593 | 561767f2b2269f2a6acf94a5e16a40516de131eb | refs/heads/master | 2023-04-29T03:09:03.993890 | 2023-04-14T03:25:01 | 2023-04-17T05:13:22 | 203,336,809 | 0 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 2,152 | h | /*
* Copyright (c) 2019 Sangchul Go <luke.go@hardkernel.com>
*
* OdroidThings is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) ... | [
"sangch.go@gmail.com"
] | sangch.go@gmail.com |
eee5cf917b597844b253d51ca91864b030adc415 | 43e103370ae25683eeea763d054224099d9c3132 | /Contest Questions/DIV2/CFR_177_DIV2_B.cpp | 4b0a85f73fb65b8c0c4eba0d51418f30ac318b30 | [] | no_license | anaypaul/Codeforces | 8c2c54b8dd69556b304b1a10ab24643ad947e376 | b81e9cbe6cf3dec2d20d5285120ade04e7fddb65 | refs/heads/master | 2021-08-09T15:07:20.056381 | 2020-04-22T19:21:45 | 2020-04-22T19:21:45 | 162,785,318 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,006 | cpp | #include<iostream>
#include<algorithm>
#include<vector>
using namespace std;
int gcd(int a, int b){
if(a==0 || b==a){
return b;
}else{
return gcd(a%b,a);
}
}
int main(){
int n, m , d;
cin>>n>>m>>d;
vector<int> arr;
vector<int> diff;
for(int i = 0;i<n*m;i++){
int x... | [
"anay.paul2@gmail.com"
] | anay.paul2@gmail.com |
0ebf32caf25f800e5b810ef72a473427eaf614f3 | 6f40de67648684c5f5112aeb550d7efb5bf8251b | /Codeforces/Practice/118A.cpp | 7a08f278801a8356fb0384f8ea0c567095a43cb3 | [] | no_license | Mohib04/Competitive-Programming | 91381fa5ba2ff2e9b6cf0aeee165f7cf31b43d0d | 529f7db770b801eff32f2f23b31a98b1b9f35e51 | refs/heads/master | 2021-10-21T07:53:03.645288 | 2019-03-03T14:53:47 | 2019-03-03T14:53:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 326 | cpp | #include <stdio.h>
#include <bits/stdc++.h>
using namespace std;
int main()
{
char c;
while(scanf("%c", &c) && c!='\n')
{
c=tolower(c);
if(c=='a' || c=='e' || c=='i' || c=='o' || c=='u' || c=='y') continue;
printf(".%c", c);
}
printf("\n");
return 0... | [
"noreply@github.com"
] | noreply@github.com |
b9f649ea8203efdbf96e2cd7d18416b9405b83f7 | 91a3e8a69b429f9fa90fe6ac52b1b3a40835b7b5 | /2000/2442_별 찍기 5.cpp | ef7f754c8f8e366eb2717867531d1abe8cf5dbe7 | [] | no_license | insiderhj/insiderhj_baekjoon | 505a4e520711f6eb4e231fbe0369f0df2556c530 | e9938246d495978d6db64e0930fb48522bb20ef0 | refs/heads/master | 2020-05-02T04:12:56.941288 | 2019-04-08T03:22:54 | 2019-04-08T03:22:54 | 177,744,802 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 226 | cpp | #include <stdio.h>
int main() {
int n;
scanf("%d", &n);
for (int i = 0; i < n; ++i) {
for (int j = n; j > i; --j) printf(" ");
for (int j = 0; j < 2 * i + 1; ++j) printf("*");
printf("\n");
}
return 0;
} | [
"insiderhj@gmail.com"
] | insiderhj@gmail.com |
e831edb8ef1ab18b6c713947a5a7ed1f99ebc706 | 47f53bed9d6a4e8f2f84c1931ebe773cf58256b9 | /lib/CATGUI/CATMenu_Win32.cpp | 7434b3de64aadbdb01cc57d92f8b2aa139791ecd | [
"Libpng",
"LicenseRef-scancode-unknown-license-reference",
"MIT",
"Zlib",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | michaelellison/Mike-s-Demo-App | a105ac46bbd29df0403423190579d24e0c4a4746 | c0ba505e935bb1d98925c3b6bf04d3d5e2afa19a | refs/heads/master | 2021-01-17T06:28:45.247677 | 2011-06-09T00:25:00 | 2011-06-09T00:25:00 | 1,840,197 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,957 | cpp | //---------------------------------------------------------------------------
/// \file CATMenu_Win32.cpp
/// \brief Win32-specific calls for Menu/GUI
/// \ingroup CATGUI
///
/// Copyright (c) 2003-2008 by Michael Ellison.
/// See COPYING.txt for license (MIT License).
///
// $Author: mike $
// $Date: 2011-06-01 07:28:... | [
"me@michaelellison.me"
] | me@michaelellison.me |
a96ce350f3536117c8451bc64dcd8a26c331694c | 5655a243a3d631c70826910b9bd257bf21f52bcd | /LAB HW 2/es7/es7.ino | 3a653b9cf77878f3f5701ab6cc498a63cfd58d3e | [] | no_license | sebalaterra/Relazioni-IoT | dff379cdba559d324d944ee28aeeb60cf3cccdf7 | 40e4402b4583307f8594ff60d95a413647121c87 | refs/heads/master | 2022-11-08T00:08:57.375245 | 2020-06-25T13:05:54 | 2020-06-25T13:05:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,001 | ino | #include <LiquidCrystal_PCF8574.h>
LiquidCrystal_PCF8574 lcd(0x27);
const int PIR_PIN = 7;
const int SND_PIN = 8;
const int TEMP_PIN = A1;
const int FAN_PIN = 6;
const int RLED_PIN = 11;
int tot_count = 0;
int n_sound_events = 50; //50 eventi
const int timeout_pir = 1800000; //30 minuti
const long sound_inter... | [
"noreply@github.com"
] | noreply@github.com |
2cb2dfcf5285140a4f7882a652b5d44645cdb8e1 | f0b7bcc41298354b471a72a7eeafe349aa8655bf | /codebase/apps/ingest/src/quikSCATIngest/Args.cc | 035345bb545cd1ea052ee8874e05111daa722ec5 | [
"BSD-3-Clause"
] | permissive | NCAR/lrose-core | 23abeb4e4f1b287725dc659fb566a293aba70069 | be0d059240ca442883ae2993b6aa112011755688 | refs/heads/master | 2023-09-01T04:01:36.030960 | 2023-08-25T00:41:16 | 2023-08-25T00:41:16 | 51,408,988 | 90 | 53 | NOASSERTION | 2023-08-18T21:59:40 | 2016-02-09T23:36:25 | C++ | UTF-8 | C++ | false | false | 4,313 | cc | // *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
// ** Copyright UCAR (c) 1990 - 2016
// ** University Corporation for Atmospheric Research (UCAR)
// ** National Center for Atmospheric Research (NCAR)
// ** Bo... | [
"dixon@ucar.edu"
] | dixon@ucar.edu |
3e01fe0d94375cbe72b955d13161531b261ee8ce | ffdf5a55abac79212321e9b7d4b221ad33801679 | /Lezione_09-25/Firing_employees.cpp | 0b42ea0c5c7edb2b62a5d595bcd22c9c928d3cc8 | [] | no_license | arn4/CompetitiveProgrammingCourse | fc1cab6995e659e47097ad77e56d8eac971f1d5a | 547a896bb581ad120e21d2675d4f47a2aa998ebd | refs/heads/master | 2020-03-28T21:33:46.316888 | 2019-01-19T14:45:42 | 2019-01-19T14:45:42 | 149,165,705 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,255 | cpp |
/* Luca Arnaboldi
*
* Competitive Programming and Contest, a.a. 2018-2019
*/
/* SOLUTION DESCRIPTION:
* We compute all primes numbers that can be involved in the problem with
* sieve of Erastone. We use a recursive function for scan the tree; one
* paraemter of the function is the number of senior of the node, ... | [
"luca.arnaboldi@sns.it"
] | luca.arnaboldi@sns.it |
5ecfba9a7b15cc18fe6a32c987de7926a0a712ea | 67da7af88d9135a4b474f5c63381116c0ac35252 | /swallow/semantics/SemanticAnalyzer_Expression.cpp | b7d8d806afa33bf2d539189cc382133ccf07de2f | [
"BSD-3-Clause"
] | permissive | pzz2011/swallow | 6477c0e138ff51c038d1bf9c117a2f9764ec5c60 | c18b7523fb4620806e0d5bc0e2fce22cfd3af3c4 | refs/heads/master | 2021-01-17T20:21:36.630997 | 2014-11-04T13:12:05 | 2014-11-04T13:12:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27,348 | cpp | /* SemanticAnalyzer_Expression.cpp --
*
* Copyright (c) 2014, Lex Chou <lex at chou dot it>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must reta... | [
"lex@chou.it"
] | lex@chou.it |
624d90beacfafb8b999a1432b945c7e984aab65f | 2f4ed635a026652f6e3e902075c3b99b1766fa1c | /src/source/cglwidget.cpp | 4ff04a4443463b633340d15ae850d4583a4fba64 | [] | no_license | Duadua/cloudghost | 7186522411ae447374483bc702382bf69839aca2 | 43544f3c26ec679d20d055267a39c4889274ad66 | refs/heads/master | 2021-06-25T04:07:05.995859 | 2020-11-06T01:31:02 | 2020-11-06T01:31:02 | 166,860,750 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,041 | cpp | #include "cglwidget.h"
#include "timemanager.h"
#include "gamemanager.h"
#include "inputmanager.h"
CGLWidget::CGLWidget(QWidget *parent) : QOpenGLWidget(parent) {
// init gl version
QSurfaceFormat format;
format.setVersion(3, 3);
format.setProfile(QSurfaceFormat::CoreProfile);
setFormat(format);
// init gl mou... | [
"270389972@qq.com"
] | 270389972@qq.com |
5ff2ee076e87112703d9fa7e2b2393c3a306530a | 9bca5a19bc1abf411de31273e4c9b397d83d990c | /FPS_game/.svn/pristine/5f/5ff2ee076e87112703d9fa7e2b2393c3a306530a.svn-base | 99d342c1c1821fb78b7c64ed4722a0d703921ebb | [] | no_license | deangelign/simpleProjectsOpenGL | a8a671fb8332625371b5667336b59ec2fdac7544 | fc162b78b0ec082348c233deb428fb39d062a481 | refs/heads/master | 2021-01-12T12:00:43.840956 | 2017-07-10T21:02:26 | 2017-07-10T21:02:26 | 69,998,506 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,569 | //code written by Deangeli Gomes Neves
#include "Camera.h"
#include <iostream>
using namespace std;
Camera::Camera() //default constructor
{
for(int i=0;i<3;i++){
this->eyeCoordinates[i] = 0;
this->objectCoordinates[i] = 0;
this->upVectors[i] = 0;
}
this->viewerMatrix = glm::mat4(0.0);
}
void Camera::rec... | [
"deangelign@gmail.com"
] | deangelign@gmail.com | |
5c18f5fdb94cc253618e13025ccc5c064b93904e | fb10dc05c8f4b2fcaf9f2c4326111da743a57cd3 | /import/fsinfo.h | 3a3f775f7698561e528583c1778726dffeed574e | [] | no_license | KimGitHong/Hanium_FDP | 0f860af2054d72a5a6650a5dbdaccfe8579f885b | c5d688f2adb7a6c168717ca6c580b89dc424b5db | refs/heads/master | 2020-12-30T14:55:20.782734 | 2017-05-24T11:03:08 | 2017-05-24T11:03:08 | 90,731,631 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,411 | h | #pragma once
#include <string.h>
#include <vector>
using namespace std;
class fsinfo
{
private:
class fsinfo_inner
{
private:
int date;
typedef struct YEAR_INFO
{
std::string field;
string value;
YEAR_INFO(std::string field_, string value_);
}YEAR_INFO;
std::vector<YEAR_INFO*> data;
pu... | [
"odh0912@naver.com"
] | odh0912@naver.com |
6b3f32f70cec933ee6cb468365e1ab218982447e | 592490cd67944e3d2e777de130e5e5a121ef2dca | /module04/ex01/SuperMutant.cpp | 9a8015a3cc806dd9272fc6b802f656ab891dca07 | [] | no_license | VictorTennekes/CPP_Piscine | 322b0298755cf16c1387fc155c0ea082f6ce163f | fad40c86c0fe67d5a151e72b26685c42f4e07460 | refs/heads/master | 2023-01-01T17:46:20.249434 | 2020-10-22T09:53:09 | 2020-10-22T09:53:09 | 291,345,452 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,209 | cpp | /* ************************************************************************** */
/* */
/* :::::::: */
/* SuperMutant.cpp :+: :+: ... | [
"victor@tennekes.nl"
] | victor@tennekes.nl |
57c7d76c13047f611d347a2b12585ed681197f24 | a4c9f1113f976097618c58a7a7e164df9db5b1e0 | /P36668.cc | 47ac3c9a3b2caf1eec9c346c104a670bc29baa0e | [] | no_license | ferranromero/PRO1 | 399b90280fac10e519a2807caea575d8ea1b06b1 | e45c83beb1436bdba7294a9e63181a7999b0fda8 | refs/heads/master | 2020-03-24T05:45:21.274178 | 2018-07-26T22:36:20 | 2018-07-26T22:36:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 214 | cc | #include <iostream>
using namespace std;
int sumatori(int n){
if(n == 0) return 0;
else if (n == 1) return 1;
else return sumatori (n-1) + n*n;
}
int main(){
int x;
cin >> x;
cout << sumatori(x) << endl;
} | [
"ferran.romero@est.fib.upc.edu"
] | ferran.romero@est.fib.upc.edu |
a8d2e0e07883f6951599dd24ad99809da246d68b | 4e8548ed98d96146297393e623cb38fbcc77371b | /dbcon/joblist/virtualtable.cpp | 5281c655b62d104d9e913630e005a1a8ca9467ec | [] | no_license | hans511002/erydb_rep | 9d5a0be919e5d026e921c7fbe000dc70dc7d7ab6 | a2c391b3c36745cb690ce33a22d8794371493ef2 | refs/heads/master | 2021-01-15T12:02:01.093382 | 2018-08-09T10:57:26 | 2018-08-09T10:57:26 | 99,639,427 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,517 | cpp | /* Copyright (C) 2014 EryDB, Inc.
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; version 2 of
the License.
This program is distributed in the hope that it will be useful,
but WITH... | [
"hans511002@sohu.com"
] | hans511002@sohu.com |
14cd6473764e13ddb66e45f36e8c3103bceb7e6c | a57cc4f074203e8ceefa3285a1a72b564e831eae | /tests/unit_tests/threadpool.cpp | 0d5b9741785ab41befc0334aaecadb64a27a19e8 | [
"MIT",
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | trublud/kickasscoin | 286b2c9637bf92416d8e2017c6c0c15a25f8ebc8 | 8153ff2f1fe8f3a761b71eab9afb1b02876809d5 | refs/heads/master | 2020-06-19T15:58:58.218099 | 2019-07-13T23:04:47 | 2019-07-13T23:04:47 | 194,447,129 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,724 | cpp | // Copyright (c) 2018, The KickAssCoin Project
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are
// permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain the above copyright notice, this list o... | [
"xmindpingx@gmail.com"
] | xmindpingx@gmail.com |
5099f8e4901202f22bae3225c570a743a4eb6b5f | 46159d0120eef232be6dbeff5bdbf2b4b86ecea1 | /mainwindow.h | 5cd7f5d33b78df56b4d4c77cfc83a8bbb6af07b8 | [] | no_license | archnemesis/NucleoDemo2-Viewer | 06e6b64264b1d481bd3248d2b6699f69a628cfa4 | d0c4fe35b45dea998c669207aa08e5b514c703aa | refs/heads/master | 2021-04-30T01:32:15.505985 | 2018-02-14T08:06:10 | 2018-02-14T08:06:10 | 121,485,846 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 966 | h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QNetworkSession>
#include <QTcpSocket>
#include <QMessageBox>
#include "streamparser.h"
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
~MainWi... | [
"robin@robingingras.com"
] | robin@robingingras.com |
37ab002abfb0b8daef49a8f05f3d19be66a65cf5 | 7f743c5d9604aaa8bce5744ea2505bb9bcbafd17 | /VytUtils/VytHug/VytComputerUtils.cpp | 73f83ba74dc089cf7d87c1c03e7257ecfd8a7605 | [
"MIT"
] | permissive | Vyterm/VytHug | 913ee60090ef8278ebc43ce719fd16c0b11081d5 | 22b4c6708a23898d41fc49d604c54790b4f8c965 | refs/heads/master | 2020-05-16T01:10:57.476992 | 2019-07-05T06:24:00 | 2019-07-05T06:24:00 | 182,596,872 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,539 | cpp | #include "stdafx.h"
#include "VytComputerUtils.hpp"
#include "VytSnapshotUtils.hpp"
#include <Psapi.h>
#include <powrprof.h>
#pragma comment(lib, "PowrProf.lib")
using namespace vyt;
inline double FileTimeToDouble(const FILETIME &fileTime)
{
return double(fileTime.dwHighDateTime*4.294967296e9) + double(fileTime.dwL... | [
"voidytmain@gmail.com"
] | voidytmain@gmail.com |
e26fa46271f098e6f60c9866f1b57dbed5be5e54 | 86ac1bb0c04341e6646a5af7657577cf98333a4d | /qmodbus.cpp | ac306e13a44f361f62a8f3fa5bebc67287d62d2f | [] | no_license | andramalech-forks/QModbus_Level_TemperatureGauge | 197348a1c1d9bbc660f01cdbd86e64fe8d3c3c93 | 07343d4799906feb560268175f4e4d322ecdc07d | refs/heads/main | 2023-06-14T11:39:43.693787 | 2021-01-14T23:47:53 | 2021-01-14T23:47:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,115 | cpp | #include "qmodbus.h"
#include <QTimer>
#include<QVariant>
void qmodbus::run(){
QModbusTcpClient mc;
QTimer tim_event_timer;
tim_event_timer.setSingleShot(true);
QVector<quint16> tab(2);
QModbusDataUnit du(QModbusDataUnit::HoldingRegisters,10,tab);
QModbusReply *reply;
//define modb... | [
"noreply@github.com"
] | noreply@github.com |
1fb7f07e5171c13470d39c890a59f45adec0d60e | b58a6ad73e9921149310ead4c952c12073d3886e | /util/include/ReceiveSocket.h | 8444cea0d8fd5e67ffe732f5d3f357da9f490e4f | [] | no_license | Linlongqing/ImageProcessServer | 5c56cabb9bf3c787b9ba78108d30026513ab97d2 | 1e9b31c1ea30cf877620eb0875de47413f095f2a | refs/heads/master | 2021-07-01T10:17:05.359595 | 2017-09-22T01:55:27 | 2017-09-22T01:55:27 | 104,415,975 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,071 | h | /****************************************************************************
filename: ReceiveSocket.h
Author: linshufei
Date: 2017/9/19
Discription:
*****************************************************************************/
#pragma once
#include <stdio.h>
#include <... | [
"longqing.lin@krvision.com"
] | longqing.lin@krvision.com |
5750c05e2c650144bc07efea66de93b7eebfa410 | 6d6c9668b158021afe31b8ac3b6cd714361a2f76 | /leetcode/90.subsets-ii.cpp | 9381b7ec5813369853b17e3821be8558112f7a23 | [
"MIT"
] | permissive | vikashkumr/Competitive-Programming | 3c2128f2e0a6981ffe3a1ae2b2ba5e19f9348727 | c457e745208c0ca3e45b1ffce254a21504533f51 | refs/heads/master | 2021-06-11T06:03:04.843572 | 2021-06-09T18:13:37 | 2021-06-09T18:13:37 | 147,062,202 | 2 | 3 | MIT | 2020-10-03T15:55:23 | 2018-09-02T06:54:58 | C++ | UTF-8 | C++ | false | false | 645 | cpp | /*
* @lc app=leetcode id=90 lang=cpp
*
* [90] Subsets II
*/
// @lc code=start
//see carefully
class Solution {
private:
vector<vector<int>> res;
void solve(int pos, vector<int> &nums, vector<int> &ans) {
res.push_back(ans);
for(int i=pos;i<nums.size();i++) {
if(i==pos || nums[i]... | [
"vky0018@gmail.com"
] | vky0018@gmail.com |
ec9f8d3054c7b83e7f53836c3c77e2715dae9553 | 5a9f6933390a0a623d7857de2098eb09e920e24b | /lab_4/10.cpp | 906ef9017bb871f943d2902f8b08d317f8ad859f | [] | no_license | enderdaniil/OOP_labs | 137468539b17d54a8b771cf3e96c4f03524a58c6 | cce3734078f31f4548a65fc361586794f5f7dc50 | refs/heads/master | 2021-01-02T15:52:54.390142 | 2020-06-01T16:34:26 | 2020-06-01T16:34:26 | 239,691,455 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 255 | cpp | #include <iostream>
using namespace std;
int counter = 0;
void func()
{
setlocale(LC_ALL, "Russian");
cout << "функция вызвалась " << counter << " раз\n";
++counter;
}
int main()
{
for (int i = 0; i < 11; i++)
{
func();
}
}
| [
"noreply@github.com"
] | noreply@github.com |
a92810d7c3fb4c75a67ab758e2a45e97675ae1b8 | 23a0606da9b4f875fd435d2f9d36878388d9d7b5 | /src/asst4harness/master/main.cpp | f6510852843b6d2918d45f942934369aa739e8de | [] | no_license | dtaveras/418asst4 | fbfb810413b138f4f2d5eac7ed38ee04263fc8c3 | 5e54db0cf86cf7f03ae3201d2333c87d9351ef52 | refs/heads/master | 2021-01-17T15:06:51.189459 | 2014-03-28T04:53:41 | 2014-03-28T04:53:41 | 17,802,627 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,943 | cpp | // Copyright 2013 15418 Course Staff
#include <getopt.h>
#include <gflags/gflags.h>
#include <glog/logging.h>
#include <pthread.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <string>
#include "comm/connect.h"
#include "comm/comm.h"
#include "server/master.h"
void harness_init();
void har... | [
"delvistaveras@gmail.com"
] | delvistaveras@gmail.com |
a5e22655b9370ebef7a6d87fb666359129858288 | f62964d9c21dbae1a36353c01fd1ad27d20e0adf | /dynamic/coinChange/coinChange.cpp | c03f37a92b6d57e5d369add023fa1286449312f9 | [] | no_license | Hargre/ppc | ff1739a7b79317739dc076d5a490ce9a3b0a3dbb | 044456083edbeeeba2dd5e51b54ab244ee1463a8 | refs/heads/master | 2021-05-08T06:19:57.417058 | 2017-11-25T01:05:07 | 2017-11-25T01:05:07 | 106,607,159 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 591 | cpp | #include <bits/stdc++.h>
#define MAX 1000010
using namespace std;
int coins[MAX];
int memo[MAX];
int coin_change(int V, int N) {
if (V == 0) {
return 0;
}
if (V < 0) {
return 500000;
}
if (memo[V] != -1) {
return memo[V];
}
int n_coins = 500000;
for (int i... | [
"fhargreaves00@gmail.com"
] | fhargreaves00@gmail.com |
67dd6f15110bf9c65cb4ce488df3ee9ef60ca88a | 7cc68b6bebfb61dffac8af188c611104dfaf7bf2 | /methane.solv/template/tools/waves/src/WaveCalculator.cpp | 302aee3e430c4a0ea965ce7342787f5bf63c797c | [] | no_license | amcadmus/adress.noneq | 2b5181189d5bd46bb983f112f62904b5968d4f09 | fbde4deaa94d20bc266e7c180af12b2287f6d2be | refs/heads/master | 2020-12-30T10:23:02.133115 | 2015-03-12T10:30:03 | 2015-03-12T10:30:03 | 4,214,895 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,600 | cpp | #include "WaveCalculator.h"
#include <cmath>
#include <iostream>
#include <stdlib.h>
using namespace std;
DensityWave::
DensityWave ()
: fp(NULL)
{
}
DensityWave::
~DensityWave ()
{
if (fp != NULL){
fclose (fp);
}
}
void DensityWave::
initFile (const char * fname)
{
fp = fopen (fname, "w");
if (fp =... | [
"han.wang@fu-berlin.de"
] | han.wang@fu-berlin.de |
09e16642c28fd723256a5a33e79fd7c6d4a27faa | d5f75adf5603927396bdecf3e4afae292143ddf9 | /paddle/phi/core/kernel_factory.cc | d864544e10dd8da43f3f922a69f01f30409f17f3 | [
"Apache-2.0"
] | permissive | jiweibo/Paddle | 8faaaa1ff0beaf97ef7fb367f6c9fcc065f42fc4 | 605a2f0052e0ffb2fab3a4cf4f3bf1965aa7eb74 | refs/heads/develop | 2023-07-21T03:36:05.367977 | 2022-06-24T02:31:11 | 2022-06-24T02:31:11 | 196,316,126 | 3 | 2 | Apache-2.0 | 2023-04-04T02:42:53 | 2019-07-11T03:51:12 | Python | UTF-8 | C++ | false | false | 8,313 | cc | // Copyright (c) 2021 PaddlePaddle 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 requir... | [
"noreply@github.com"
] | noreply@github.com |
99374cec7cd7cb48e3be57de79e10e1a4dc2f053 | cc01bfbd9fdafee8f12b2c0fac98f306fefb54c9 | /2_21/2_21.cpp | dbbf4c52ecbf842217ea23fb3db4518383480259 | [] | no_license | ArinaKhrom/practice | e87798db4ea0c32cba664916f1e20277c2f6941f | c468faba8348ca3c0f3adddc4d7624409ed017cb | refs/heads/master | 2023-01-30T02:31:15.315641 | 2020-12-15T08:48:18 | 2020-12-15T08:48:18 | 312,247,720 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 316 | cpp | #include <iostream>
using namespace std;
int main() {
int x, t;
bool flag1 = false;
bool flag2 = true;
cin >> x;
if (x == 0)
flag1 = true;
while (!flag1) {
cin >> t;
if (t == 0) flag1 = true;
if (t < x && t != 0) flag2 = false;
x = t;
}
if (flag2) cout << "Yes";
else cout << "No";
return 0;
} | [
"mvideo@LAPTOP-TO4NDI3I"
] | mvideo@LAPTOP-TO4NDI3I |
5e32c978300ab2b8c835a125e6f8ff0142c5dac5 | 9db9762273acf8c32cbd9c0b178b19c46dc4df53 | /HashMap.h | 1e04158a480c67d0a4b3e11081e461ffa68688a0 | [] | no_license | st-lu/HashMap | db4c9c570cae7d048af8bb0900b58cd6be695ddb | a8bad43c76d42bbb379bffbd0a9c36c6be7d0b69 | refs/heads/master | 2022-08-07T12:08:11.673848 | 2020-05-17T19:02:32 | 2020-05-17T19:02:32 | 264,543,142 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,539 | h | //
// Created by luana on 5/16/2020.
//
#ifndef HOMEWORK_3___HASHMAP_HASHMAP_H
#define HOMEWORK_3___HASHMAP_HASHMAP_H
#include "KeyHash.h"
#include "HashNode.h"
#include <iostream>
#include <vector>
using namespace std;
template <typename K, typename V, typename F = KeyHash<K>>
class HashMap {
HashNode<K, V> **... | [
"62220895+st-lu@users.noreply.github.com"
] | 62220895+st-lu@users.noreply.github.com |
be2f73cfece1926715c4e65ebdca25426673d56f | ac1c9fbc1f1019efb19d0a8f3a088e8889f1e83c | /out/release/gen/services/network/public/mojom/http_request_headers.mojom-params-data.h | d9e8b8a11b1dbb39b35e588bf3eb704ed4d7a09f | [
"BSD-3-Clause"
] | permissive | xueqiya/chromium_src | 5d20b4d3a2a0251c063a7fb9952195cda6d29e34 | d4aa7a8f0e07cfaa448fcad8c12b29242a615103 | refs/heads/main | 2022-07-30T03:15:14.818330 | 2021-01-16T16:47:22 | 2021-01-16T16:47:22 | 330,115,551 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,259 | h | // services/network/public/mojom/http_request_headers.mojom-params-data.h is auto generated by mojom_bindings_generator.py, do not edit
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SERVICES_... | [
"xueqi@zjmedia.net"
] | xueqi@zjmedia.net |
a3e8e507475ffa2983b33716885ac2842783f5ac | 0b070626740788d5af23fcd1cd095e56033308de | /1007.cpp | 4f3389ff36e55ab7a2ef1b7ae628ebc68f112c41 | [] | no_license | xis19/leetcode | 71cb76c5764f8082155d31abcb024b25fd90bc75 | fb35fd050d69d5d8abf6794ae4bed174aaafb001 | refs/heads/master | 2021-03-24T12:53:34.379480 | 2020-02-24T04:25:36 | 2020-02-24T04:25:36 | 76,006,015 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,238 | cpp | #include <algorithm>
#include <vector>
int minDominoRotations(const std::vector<int>& A, const std::vector<int>& B) {
// Since there are only two possibilities to make one row (A, B) equal --
// A[0] and B[0], we will try to rotate A at A[0] or B[0], then rotate B at
// A[0] or B[0], check the result.
... | [
"magichp@gmail.com"
] | magichp@gmail.com |
50e36d27a482dea130d0ec133dcc385bb3adcd8d | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/base/efiutil/efilib/inc/program.hxx | a614b349226b4c161b893aa21a511a0f06812a82 | [] | no_license | jjzhang166/WinNT5_src_20201004 | 712894fcf94fb82c49e5cd09d719da00740e0436 | b2db264153b80fbb91ef5fc9f57b387e223dbfc2 | refs/heads/Win2K3 | 2023-08-12T01:31:59.670176 | 2021-10-14T15:14:37 | 2021-10-14T15:14:37 | 586,134,273 | 1 | 0 | null | 2023-01-07T03:47:45 | 2023-01-07T03:47:44 | null | UTF-8 | C++ | false | false | 2,259 | hxx | /*++
Copyright (c) 1991 Microsoft Corporation
Module Name:
program.hxx
Abstract:
Environment:
ULIB, User Mode
--*/
#if ! defined( _PROGRAM_ )
#define _PROGRAM_
#include "rtmsg.h"
#include "smsg.hxx"
DECLARE_CLASS( PATH );
DECLARE_CLASS( PROGRAM );
class PROGRAM : public OBJECT {... | [
"seta7D5@protonmail.com"
] | seta7D5@protonmail.com |
97955e5cf1f024ae93eb5a3b01f52de3bff21131 | 47b5619c0ed847f84413dea9f92057416cee6587 | /sketch_may20a/sketch_may20a.ino | 7ba4c85f137725f745973e14b5a5ec36db11d71d | [] | no_license | zadelobo/ArduinoFiles | 04dbec856c671dca8fbd73316f41eef411ced58f | a11b618d87c01779e00dc1807c8e05f744ab0a06 | refs/heads/master | 2020-03-14T20:49:56.853906 | 2018-05-02T01:44:34 | 2018-05-02T01:44:34 | 131,783,388 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 430 | ino | int ledPin = 9; // LED connected to digital pin 9
int analogPin = A0; // potentiometer connected to analog pin 3
int val = 0; // variable to store the read value
void setup()
{
pinMode(ledPin, OUTPUT); // sets the pin as output
}
void loop()
{
val = analogRead(analogPin); // read the input pin
... | [
"zadelobo@gmail.com"
] | zadelobo@gmail.com |
9d2aa4266fcffd3a6e26e2694d1c9e6f1bf6e737 | 34252ecd8762d8c3ece6bac271c9c457202ff1a7 | /nnopencl/utils.h | ee61afd4edf57206d971e89351c6f7762d9e1924 | [
"MIT"
] | permissive | freegraphics/cpputils | cdf16819e8d4ae10368e3ec84f232af9c5ef4e5c | 3f990d4765a50c7428bd6a4929a83ff49d3567bd | refs/heads/master | 2020-05-20T18:47:40.529569 | 2016-09-18T20:24:25 | 2016-09-18T20:24:25 | 68,520,367 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,271 | h | #pragma once
#if !defined(real)
#define real float
#endif
#include <math/utils.h>
#include <nn/utils.h>
#if !defined(__CL_ENABLE_EXCEPTIONS)
#define __CL_ENABLE_EXCEPTIONS
#endif
#include <CL/cl.hpp>
#pragma comment(lib,"opencl.lib")
struct NaNException{};
namespace opencl
{
inline
size_t divisible_8(size_t... | [
"klizardin@gmail.com"
] | klizardin@gmail.com |
86ad5cc8bbfee70be922cac2036f43d346e229e2 | 55b5034281a1e750632fd23974e33a9daea09de9 | /3rdparty/opencv-git/modules/cudev/include/opencv2/cudev/ptr2d/transform.hpp | f540e7521345c33612fb2e66c2c07c1b73f467a8 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | joshjo/planecalib | f5fbca3a0f9899f5097c7025847c939f41ae4789 | 1d7cffac5cab39c7fbfb67e8e3a4b42340ef5e13 | refs/heads/master | 2020-04-16T08:08:28.523107 | 2019-02-18T11:19:08 | 2019-02-18T11:19:08 | 165,413,146 | 0 | 0 | NOASSERTION | 2019-01-12T17:02:34 | 2019-01-12T17:02:34 | null | UTF-8 | C++ | false | false | 5,361 | hpp | /*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, instal... | [
"daniel.herrera.castro@gmail.com"
] | daniel.herrera.castro@gmail.com |
d47bf8b9bbce38dfe9a7cd6b0853aabd01ad32e2 | e31fd5d313603c8fa9e82d1553e2f3aba57f8267 | /CDate2.cpp | a0c2c5b7ab622410812a70c766e9a06b15c0627b | [] | no_license | 20172104260/chaolumen6.11 | ddf8e66c1b76d6f9efcb067f0222f83b9cc07b81 | 9c7d7c8a49424006a77c05d8a4dd4debc9db94e1 | refs/heads/master | 2020-03-19T19:31:04.574249 | 2018-06-11T01:48:19 | 2018-06-11T01:48:19 | 136,860,174 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,849 | cpp | // ConsoleApplication1.cpp : 定义控制台应用程序的入口点。
//
#include "stdafx.h"
#include<iostream>
using namespace std;
class CDate
{
private:
int year;
int month;
int day;
public:
void setvalue(int y, int m, int d)
{
year = y;
month = m;
day = d;
}
void operation()
{
if (year % 4 == 0 || year % 100 != 0 && year % ... | [
"1538986489@qq.com"
] | 1538986489@qq.com |
d97a6b3026c4dbefece472cdefd17b6d5c884705 | 3cd454cdfddedb9db692b5d4de3d0da6b911fa3b | /Kendi Projelerim/ledyakal_m/ledyakal_m.ino | 44c25bb173d984dcb071dbdd06b65b732dc16962 | [] | no_license | fatihfurkanersoy/Ktun_Arduino | f7ec2a10990fb9e126966ba9de32720cc27f7e5a | 09d25ef67c653042851f629d75baaae58300790f | refs/heads/master | 2022-04-25T13:52:58.856155 | 2020-03-17T06:30:43 | 2020-03-17T06:30:43 | 247,612,349 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 645 | ino | #define pot A0
#define led 5
#define ledbir 6
#define lediki 7
#define leduc 8
int deger = 0;
void setup() {
pinMode(led , OUTPUT);
pinMode(ledbir, OUTPUT);
pinMode(lediki, OUTPUT);
pinMode(leduc, OUTPUT);
Serial.begin(9600);
Serial.println("degerrr");
}
void loop() {
deger= analogRead(pot)*2;
Serial.println(deger... | [
"fatihfurkanersoy3@gmail.com"
] | fatihfurkanersoy3@gmail.com |
0d03e3b2aa4342d31faa3b32d5e5eb3abf13ebd8 | 5f9306cb0079b9190fe832c523bff93dd880357d | /src/optimizer.h | 7e5e7b5abbd6b39ee52ab1111b1c689ed6c2c652 | [
"Apache-2.0"
] | permissive | PaoloPellizzoni/MuonGenerator | bb0069842c16fd6a090bcf6cca919e00a09cf0df | 6c2862a08cd8547d4c901f7588a59f3e4f98351e | refs/heads/main | 2023-02-16T12:15:30.618160 | 2021-01-13T18:37:35 | 2021-01-13T18:37:35 | 308,082,799 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,892 | h | #ifndef OPT_H
#define OPT_H
using namespace std;
class OptimizerGM{
private:
vector<Vec3D>* _y;
vector<Plane>* _detectors;
double _detc_std;
int n;
vector<vector<double>> multiply(vector<vector<double>> mat1, vector<vector<double>> mat2){
int m1 = mat1.size();
int m2 = mat1[0].size(... | [
"paolo@iMac-di-Paolo.local"
] | paolo@iMac-di-Paolo.local |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.