blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
11f93cdabe5d634d03e51f9cc5536a90a3936fbf | 2288c0ea961e0073e24cbdcdc57e8270efa7d577 | /lib/graphics/LEDmatrix.cpp | cf20509b61bead1127330c8fae7b1f485f33776b | [] | no_license | zandratharp2012/CPUSim | 9c82acfda7f5dc89023317969e35576bacc461a3 | 3d5c4c2303a7ca905c03d6b5dc7429c0f43a3871 | refs/heads/master | 2020-06-30T05:48:43.797926 | 2019-08-06T00:47:58 | 2019-08-06T00:47:58 | 200,748,296 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,095 | cpp | // Copyright 2019 Roie R. Black
#include "LEDmatrix.h"
#include "LED.h"
#include "LEDbar.h"
extern int FRAME_RATE;
LEDmatrix::LEDmatrix() {
x = 100;
y = 100;
bg_color = GREEN;
led_on_color = RED;
led_off_color = GREEN;
}
void LEDmatrix::set_pos(int lx, int ly) {
x = lx;
y = ly;
bar1.se... | [
"zandra.tharp@g.austincc.edu"
] | zandra.tharp@g.austincc.edu |
663e8f9f50bfb80aaf6f81e08c7d2b4e8b77da3e | f185dee780c08b15ae7f6213a60415e66acbd043 | /src/libradsrc/legacyglue.h | 95c647bb112f6d88fe024403a32b46e27f6b7eca | [] | no_license | H-Plus-Time/radsrc | 565b047f5d10960aedeb0543ab25c380f6ca44d3 | 4afdefdd5e4b6f18edd13e630b32043da6131763 | refs/heads/master | 2021-01-21T11:03:54.118974 | 2017-03-01T22:03:43 | 2017-03-01T22:03:43 | 83,521,278 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,070 | h | /*
Copyright (c) 2006-2014 Lawrence Livermore National Security, LLC.
Produced at the Lawrence Livermore National Laboratory
UCRL-CODE-224806.
All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
o Redistr... | [
"nicholas.roberts.au@gmail.com"
] | nicholas.roberts.au@gmail.com |
1d71be4b080c93f74a4aea8a62544940a399c34e | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/mutt/gumtree/mutt_patch_hunk_241.cpp | 70cef6bfe8c33959195371654f2b744ef48e1378 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 768 | cpp | BODY *tattach;
int rc = 0;
mutt_mktemp (tempfile, sizeof (tempfile));
if ((fpout = safe_fopen (tempfile, "w+")) == NULL)
{
- if (s->flags & M_DISPLAY)
+ if (s->flags & MUTT_DISPLAY)
state_attach_puts (_("[-- Error: could not create temporary file! --]\n"), s);
return -1;
}
- if ... | [
"993273596@qq.com"
] | 993273596@qq.com |
692c72ab85a52385b15316f52ea9dc99803a8d7a | 74b58ac9e3fa6df2067037cd100af970a48b0979 | /include/Cmn/TeamColorSet.h | 2e906830ef2ac80bb9c00fdb6154af747c7b6b61 | [] | no_license | tkgstrator/StarlightSeedHack | 799e886a9989a4bac7ed0c5bfee6b173abe13924 | f9691e32ce30fd6de93465871ed47b8bb58f4948 | refs/heads/master | 2022-03-18T06:47:20.984064 | 2022-02-22T13:29:22 | 2022-02-22T13:29:22 | 234,983,819 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 253 | h | #pragma once
#include "types.h"
#include "sead/color.h"
namespace Cmn {
class TeamColorSet {
public:
sead::Color4f alpha;
sead::Color4f bravo;
sead::Color4f neutral;
sead::Color4f unk;
};
}; | [
"nasawake.am@gmail.com"
] | nasawake.am@gmail.com |
4d24cf8312dc9cf9f38706aa252da1a48fc4dd8e | 7fff7e0919f8de998bfb13802704b1881a2f352b | /src/bbdep_sm.hh | c92aa04e316e2d31eac0fb5cf1ed465aaa5f4221 | [
"Apache-2.0"
] | permissive | poluyan/PepDockOpt | 0d25b513528103cb2ca88c333c371e1a0b517944 | 4769a493080a28ed255b4c3d7b6c18fa44761a01 | refs/heads/master | 2020-04-27T22:41:08.366700 | 2019-03-31T09:51:27 | 2019-03-31T09:51:27 | 174,745,454 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 10,642 | hh | /**************************************************************************
Copyright © 2019 Sergey Poluyan <svpoluyan@gmail.com>
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
... | [
"svpoluyan@gmail.com"
] | svpoluyan@gmail.com |
c4b3dfb1e0fd20a012ad3b0989dcdb2b51b8258c | 69dd4bd4268e1c361d8b8d95f56b5b3f5264cc96 | /GPU Pro4/02_Rendering/06_Progressive Screen-space Multi-channel Surface Voxelization/include/shaders/DeferredRendererShader_GI_IV_Injection_SS.h | 66d64d70e067d35768a4ab21f87f8ec2caa0416b | [
"MIT"
] | permissive | AnabaenaQing/Source-Code_ShaderX_GPU-Pro_GPU-Zen | 65c16710d1abb9207fd7e1116290336a64ddfc86 | f442622273c6c18da36b61906ec9acff3366a790 | refs/heads/master | 2022-12-15T00:40:42.931271 | 2020-09-07T16:48:25 | 2020-09-07T16:48:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 720 | h | #ifndef _DR_SHADER_GI_IV_INJECTION_SS_
#define _DR_SHADER_GI_IV_INJECTION_SS_
#include "DeferredRendererShader_GI.h"
class DRShaderGI_IV_Injection_SS : public DRShaderGI
{
protected:
GLint uniform_inj_depth,
uniform_inj_zbuffer, uniform_inj_albedo, uniform_inj_normals, uniform_inj_lighting,
uniform_inj_prebake... | [
"IRONKAGE@gmail.com"
] | IRONKAGE@gmail.com |
0a4e64cf53c804f00df953c05f3f1b3af0f401ff | 5e28f7f0fd7dde58a8eef9499a5e8df7f58ea0a5 | /OSPGL/src/game/ui/ui_manager.h | 770179b239b001513874482eca3e6d1d66641a06 | [
"MIT"
] | permissive | TheOpenSpaceProgramArchive/osp | af969625a12bc6dedaf011136f15d173fc42c80d | 63a240be92784b3ee10b878c8d3d5af55756957d | refs/heads/master | 2022-03-16T07:42:36.450911 | 2019-08-21T17:04:02 | 2019-08-21T17:04:02 | 110,166,790 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 343 | h | #pragma once
#include <unordered_map>
#include <imgui/imgui.h>
#include <time.h>
#include <string>
// Simple class to unify central UI drawing
class UIManager
{
public:
bool orbit_focus = true;
bool orbit_plotter;
bool time_control = true;
bool de_laval_nozzle;
float timewarp;
float prev_timewarp;
double tim... | [
"tajampi@gmail.com"
] | tajampi@gmail.com |
eee33d85af3ac7bdcedfa9adb3b1920ff65329b4 | 311cc47917de74a6ba88edaa4c942b0692eb98ff | /src/addressbar.hh | 92e4ea2f0122010f3a9a43c434ff042e582a23cd | [] | no_license | delta440/hcibrowser | 38d4bef77570bb5ee07f48175439100014f10987 | cace8dbbf15f40b8caab1c1f13b7fc0661a3c57f | refs/heads/master | 2020-03-29T19:44:47.258379 | 2014-04-10T00:17:28 | 2014-04-10T00:17:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 326 | hh | #ifndef ADDRESSBAR_HH
#define ADDRESSBAR_HH
#include <QLineEdit>
class QPaintEvent;
class AddressBar : public QLineEdit
{
Q_OBJECT
int m_progress;
public:
explicit AddressBar(QWidget *parent = 0);
public slots:
void setProgress(int value);
protected:
void paintEvent(QPaintEvent *);
};
#endif // ADDRESSB... | [
"martinc1701@gmail.com"
] | martinc1701@gmail.com |
23ca3c31a1d5bd236eb836a5ba5619fdeac47a38 | 965573fd5be9da777de61d5b3ac90d86e9636fb6 | /Final/Arduino/FinalScript/FinalScript.ino | 3954ef725b83d38a45b914a0fcd95e7a9c4a874d | [] | no_license | JDruzynski/SeniorDesign_Repo | e53313e00079b4f94d7dd4774f3907ab4b9d8f18 | 490e170481c3306beb4f48e902c6fb4a4170dca9 | refs/heads/master | 2023-01-29T12:36:04.717473 | 2020-12-12T02:37:41 | 2020-12-12T02:37:41 | 299,736,582 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,856 | ino | //Setting up Global Workspace
///////////////////////////////////////////////////////////////////////////////////////////////////////////////
/***Imports***/
/***************************************************************/
#include <Wire.h>;
#include <EEPROM.h>;
#include <Adafruit_ADS1015.h>;
#include "SparkFun_Qwiic_... | [
"jarred.druzynski@gmail.com"
] | jarred.druzynski@gmail.com |
208b0d191cb300aa9116245031b41f389b443a83 | 05db9da162dac23b8b10463d019b9252108eed39 | /135. 分发糖果/main.cpp | 878ec815c048f8d673ee3d8309970ed872544e04 | [] | no_license | SeacenLiu/LeetCode | d1dfc718ab08d0ca917e9b2675ff77c433cd1272 | 3fe24a6ad1a053ecfe7b1e028e92533e819f2079 | refs/heads/master | 2021-06-10T14:11:35.667536 | 2019-12-05T05:17:59 | 2019-12-05T05:17:59 | 131,291,910 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,656 | cpp | //
// main.cpp
// 135. 分发糖果
//
// Created by SeacenLiu on 2019/3/20.
// Copyright © 2019 成. All rights reserved.
//
/**
老师想给孩子们分发糖果,有 N 个孩子站成了一条直线,老师会根据每个孩子的表现,预先给他们评分。
你需要按照以下要求,帮助老师给这些孩子分发糖果:
每个孩子至少分配到 1 个糖果。
相邻的孩子中,评分高的孩子必须获得更多的糖果。
那么这样下来,老师 至少 需要准备多少颗糖果呢?
示例 1:
输入: [1,0,2]
输出: 5
解释: 你可以分别给这三个孩... | [
"1016667972@qq.com"
] | 1016667972@qq.com |
cd5de147b09b2af4a9a66f80712e1634a7d44f75 | 89dedd7f3c7acc81d12e2bcb2e716f9af9e5fa04 | /content/browser/plugin_service_impl.cc | 7e6afb105aad13a5cfa1d0d32ff5ac624db59c01 | [
"BSD-3-Clause"
] | permissive | bino7/chromium | 8d26f84a1b6e38a73d1b97fea6057c634eff68cb | 4666a6bb6fdcb1114afecf77bdaa239d9787b752 | refs/heads/master | 2022-12-22T14:31:53.913081 | 2016-09-06T10:05:11 | 2016-09-06T10:05:11 | 67,410,510 | 1 | 3 | BSD-3-Clause | 2022-12-17T03:08:52 | 2016-09-05T10:11:59 | null | UTF-8 | C++ | false | false | 14,705 | 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 "content/browser/plugin_service_impl.h"
#include <stddef.h>
#include "base/bind.h"
#include "base/command_line.h"
#include "base/compiler_s... | [
"bino.zh@gmail.com"
] | bino.zh@gmail.com |
eae4c6fabeda3b1484739e157ca59fcffc956ffa | bd6839c1125869f62311ac3569362a3b122126e4 | /src/rpcdump.cpp | ed5d1c026c8afd2d0f1871dc473d6749d4309bd5 | [
"MIT"
] | permissive | Fast-chain/Fastchain | 1a7f0782209c6f5e3cdc4e4f6a4347d220d819d8 | bf686f3bfc71acb10b1e815680465305b1e477e6 | refs/heads/master | 2020-03-06T18:49:49.559742 | 2018-03-27T16:22:01 | 2018-03-27T16:22:01 | 127,014,917 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,283 | cpp | // Copyright (c) 2009-2012 Bitcoin Developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <iostream>
#include <fstream>
#include "init.h" // for pwalletMain
#include "bitcoinrpc.h"
#include "ui_interface.h"
#in... | [
"fastchain@inbox.lv"
] | fastchain@inbox.lv |
198dd316041816e05753469c4637f95c200fd98b | 992a387ba9edbdd60d018d300d3cb5c2217a7a8e | /Recusion Class-lec10/Recursion again/no_of_ways_to_climb_stairs.cpp | cef4c893d3016b7d64b6e50441884b3c733f8aea | [] | no_license | ashishnagpal2498/CPP_Concepts_and_Codes | 7e5f8d5a1866c3658c61a8a4b2015526ab8de38f | a1828c639816fd23ec9b04635e544b27a4bc27bc | refs/heads/master | 2022-07-21T16:01:29.461619 | 2022-07-15T06:18:56 | 2022-07-15T06:18:56 | 167,674,604 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 313 | cpp | //No. of ways to climb a platform .
#include<iostream>
using namespace std;
int ways(int n,int k)
{
if(n==0)
{
return 1;
}
if(n<0) return 0;
int ans=0;
for(int i=1;i<=k;i++)
{
ans+=ways(n-i,k);
}
return ans;
}
int main()
{
cout<<ways(3,3);
return 0;
} | [
"ashishnagpal2498@gmail.com"
] | ashishnagpal2498@gmail.com |
6e66f8bfcfb886caaab26b1ee894143f457b9088 | bda7599b0d1a228b64f770c69481087fbf5f1437 | /Lab1/L1_5.cpp | 713884b0826457b08aa3f2a3a993ae0c7e92c89e | [] | no_license | Dikshya-Parajuli/OOP | b727e8d699ff96e03330ccdba414dae2e94e6d4a | 9a82d8e9d0952025e42754a4900d731e9899b18f | refs/heads/master | 2023-01-12T02:22:45.236173 | 2020-11-17T08:39:04 | 2020-11-17T08:39:04 | 303,372,063 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 795 | cpp | //WAP in CPP to illustrate the concept of default arguments
#include<iostream>
using namespace std;
int area_of_cuboid(int l=6,int b=4, int h=2)
{
return l*b*h;
}
int area_of_rectangle(int l,int b=4)
{
return l*b;
}
int main()
{
cout<<"The area of cuboid with default arguments ";
cout<<area_of_cuboid()... | [
"dikshya.076bei041@pcampus.edu.np"
] | dikshya.076bei041@pcampus.edu.np |
738e5ee46e21776f69a8a2346bbcaead2f34b42a | 7de44760a3ac133e7789c913e185f98986d09424 | /C++/CppShellExtContextMenuHandler/Reg.cpp | abc9430e0ddfbafaa8a8113e414c0998b76a9eec | [] | no_license | AvatarBlueray/SuperUnpack | 64b8a6ba2c85c219beca06a0acee930efba351cc | 7d1ba41d0ee07019bca112bfda2a82024ad8ec7a | refs/heads/master | 2020-12-30T09:57:31.291317 | 2013-05-02T19:59:12 | 2013-05-02T19:59:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,701 | cpp | /****************************** Module Header ******************************\
Module Name: Reg.cpp
Project: CppShellExtContextMenuHandler
Copyright (c) Microsoft Corporation.
The file implements the reusable helper functions to register and unregister
in-process COM components and shell context menu handlers in... | [
"AvatarBlueray@gmail.com"
] | AvatarBlueray@gmail.com |
51c34abaff1c6da5227fa104f677f888dac553e4 | a8f15b0016936013e611771c22c116fba8be1f04 | /JuceLibraryCode/modules/juce_data_structures/undomanager/juce_UndoManager.h | 9077551a4f263f5fc0e8a89e2c3e03414facb525 | [
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | permissive | fishuyo/loop-juce | 7ba126250eb80f4aea823fd416c796c7109e09b9 | 9a03f12234d335acb387c373117d4984f6d296fc | refs/heads/master | 2021-05-27T16:56:16.293042 | 2012-06-20T02:45:32 | 2012-06-20T02:45:32 | 4,293,037 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,959 | h | /*
==============================================================================
This file is part of the JUCE library - "Jules' Utility Class Extensions"
Copyright 2004-11 by Raw Material Software Ltd.
------------------------------------------------------------------------------
JUCE can be r... | [
"fishuyo@gmail.com"
] | fishuyo@gmail.com |
e5382132cdb9a295a3ffc563f0a75a6090592696 | 60eb8594a3ccaaa7fdc03b2faeef825c03856b97 | /arduino/arduino test/_3D_orientation/_3D_orientation.ino | aeffa71fdb9f2cc7ed60e7895c77f52fc4c72554 | [] | no_license | 5Hz/50076_Sensor_de_orientacion_3D_FC30 | b6e560a2b4de7230fcc967be9803dfffb9941057 | ca9a8cc24036401afb8dfc39c90c27548634e0f7 | refs/heads/master | 2020-04-04T03:49:34.219900 | 2014-01-13T21:34:09 | 2014-01-13T21:34:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,199 | ino | /******************************************************************
** Código creado en Electrónica 5Hz **
** www.5hz-electronica.com **
** Por: Ezequías Calvillo **
** ... | [
"soporte@5hz-electronica.com"
] | soporte@5hz-electronica.com |
45720384bc0b04150f2024f15752436251637cd5 | dbe582dbd81aeafc94d58f6f10291f368faecb51 | /Relay/PipPip/main.ino | 12b32599e12ce890a39bed632de22c2e0c5f7be8 | [
"MIT"
] | permissive | MatsAndT/LearnMoreArduino | 3632ac84ccbd39927d61743da3f3f4a01dc00bb4 | 0a98ee79e293fcbc2d72defd91ffbb81215ed930 | refs/heads/master | 2020-04-20T19:09:13.984920 | 2019-03-14T13:08:17 | 2019-03-14T13:08:17 | 169,041,593 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 627 | ino | const int relayPin1 = 2;
const int relayPin2 = 3;
const int relayPin3 = 4;
const int relayPin4 = 5;
void setup() {
pinMode(relayPin1, OUTPUT);
pinMode(relayPin2, OUTPUT);
pinMode(relayPin3, OUTPUT);
pinMode(relayPin4, OUTPUT);
}
void loop() {
digitalWrite(relayPin1, HIGH);
delay(300);
digitalWrite(rela... | [
"matsandreas@tonnesland.name"
] | matsandreas@tonnesland.name |
96a61ed9063cd3fcdc5b5e30501109e094b4ec52 | 992a97045be5efe902d40edf2889de940d249e77 | /Applications/Sources/TagMatchEditor/taglistwidget.h | 0d945da847557b4bc46605dd9b5d7606ef8de762 | [] | no_license | autopear/Medical-Reports-Classification | d416781574f5afc88a73ce4f9bb756e43851f22a | 052eebc904aefccbee62a7f0c47c9edfeb4b9d36 | refs/heads/master | 2020-05-21T08:51:33.219137 | 2016-04-24T22:08:55 | 2016-04-24T22:08:55 | 53,427,446 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,174 | h | #ifndef TAGLISTWIDGET_H
#define TAGLISTWIDGET_H
#include <QListWidget>
class QAction;
class TagListWidget : public QListWidget
{
Q_OBJECT
public:
explicit TagListWidget(QWidget *parent = 0);
~TagListWidget();
QString currentTag() const;
QStringList tags() const;
signals:
void tagChanged(co... | [
"lonelystars@gmail.com"
] | lonelystars@gmail.com |
e5736f0a26ac1b296c23b6ba1522d33fd55cd5f8 | 3bf91b10c47d677ac6caf121eeb4d1ead8d2b561 | /src/helium/robot/gyroStructures.cpp | 85d62df792c76a96ce220ebe26ffb350248430cb | [] | no_license | fabiodl/helium | 8d9dea1e433973632199ea10a5bf54b6a3741afe | fe8f58eb55e033c596d66e377dc808c46ca0dfce | refs/heads/master | 2020-12-06T15:09:29.227558 | 2020-03-10T07:48:28 | 2020-03-10T07:48:28 | 67,750,827 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,357 | cpp | /*!
* \brief libhelium
* \author Fabio Dalla Libera
* \date 2012.07.01
* \version 0.2
* Release_flags g
*/
#include <helium/robot/gyroStructures.h>
#include <helium/vector/operations.h>
#include <helium/math/sign.h>
namespace helium{
DefDescr<GyroCalib>::DefDescr(GyroCalib& g): Description<GyroCalib... | [
"fabiodl@gmail.com"
] | fabiodl@gmail.com |
f1af4d9b42f8c215d8a0961423ccd4f50c00bb06 | 4ad2ec9e00f59c0e47d0de95110775a8a987cec2 | /_USACO/2015-2016/DECEMBER/BRONZE/Fence Painting /main.cpp | 46fb2a222b22cfbc6b41bf91cc9eabd4815d42cc | [] | no_license | atatomir/work | 2f13cfd328e00275672e077bba1e84328fccf42f | e8444d2e48325476cfbf0d4cfe5a5aa1efbedce9 | refs/heads/master | 2021-01-23T10:03:44.821372 | 2021-01-17T18:07:15 | 2021-01-17T18:07:15 | 33,084,680 | 2 | 1 | null | 2015-08-02T20:16:02 | 2015-03-29T18:54:24 | C++ | UTF-8 | C++ | false | false | 630 | cpp | #include <iostream>
#include <cstdio>
#include <cstring>
#include <vector>
#include <algorithm>
#include <cmath>
using namespace std;
#define mp make_pair
#define pb push_back
pair<int, int> p1, p2;
int ans;
int main()
{
freopen("paint.in","r",stdin);
freopen("paint.out", "w", stdout);
scanf("%d%d", &p... | [
"atatomir5@gmail.com"
] | atatomir5@gmail.com |
eb5800a610a9689d79de07bad6d96fc107626630 | 012bd2f13d8cdca1f07e01d1aa96432e0ea50e9d | /Cars/Cars.ino | 345e63fc5f9ae97d41004d91876ac565cdd58444 | [] | no_license | Srikee/Cars | 69d3be1f1d85d81d109618c560f6e90b34649cbb | ca6034f62de69e2e039819131423f2b017c5a3f5 | refs/heads/master | 2022-12-17T02:48:04.267334 | 2020-09-10T10:37:49 | 2020-09-10T10:37:49 | 294,379,733 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,349 | ino | #include "ESP8266WiFi.h"
#include "ESPAsyncTCP.h"
#include "ESPAsyncWebServer.h"
const char *ssid = "Car";
AsyncWebServer server(80);
int SPEED = 1023;
int motor1a = D1;
int motor1b = D2;
int motor2a = D3;
int motor2b = D4;
int pwm1 = D5;
int pwm2 = D6;
const char index_html[] PROGMEM = R"rawliter... | [
"kee19384@gmail.com"
] | kee19384@gmail.com |
a00cd4a06913cd517ad773986f3cf2455629550c | 6e0713f4dd950f24528dfa7d22e2d1e17ec64251 | /NewGL/common/controls2.cpp | 38e91286c81c1e54f01f84089a0c6e054520859e | [
"WTFPL"
] | permissive | Aiei/BasicGL | 602e4b6481aa9d864efe035fede6ac55bde37987 | eeda4218782c429d51e10f8209d981bad62566c5 | refs/heads/master | 2021-01-12T11:44:18.401759 | 2016-11-27T11:17:17 | 2016-11-27T11:17:17 | 72,285,212 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 1,384 | cpp | // Include GLFW
#include <GLFW/glfw3.h>
extern GLFWwindow* window; // The "extern" keyword here is to access the variable "window" declared in tutorialXXX.cpp. This is a hack to keep the tutorials simple. Please avoid this.
// Include GLM
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
using na... | [
"ibnuaiei@gmail.com"
] | ibnuaiei@gmail.com |
2aaaba025970a4e2586c2b4b14d31f0b1e6484f9 | f9c2b36bb4f8cd3c3842f1389d4e130e036d4463 | /AdventuresOfLolo/lolo.h | 2c81f3ee4e92f8b514fdd7a2526b762704bbb2bc | [] | no_license | Vovamzur/OOP | d80675d787641b0af0a08bbe54c47b8dd2d82fa3 | d557a7245e20df92c6411b44757198a880913056 | refs/heads/master | 2020-04-30T16:39:03.094814 | 2019-03-21T11:57:03 | 2019-03-21T11:57:03 | 176,955,045 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 517 | h | #ifndef LOLO_H
#define LOLO_H
#include <staticgameobject.h>
#include <bullet.h>
#include <bulletfactory.h>
struct Lolo : public StaticGameObject
{
enum class Direction{ UP, DOWN, LEFT, RIGHT};
Lolo(int, int, LoloBulletFactory*);
~Lolo() override final {}
void SetDirection(Direction);
Bullet* shoo... | [
"vovamazur3@gmail.com"
] | vovamazur3@gmail.com |
25f5035806fb34848f444dbc1a2dfa434611def2 | 8c7ae7777f0871a420d02337710dc12aa6dd1215 | /testcases/CWE534_Info_Exposure_Debug_Log/main.cpp | 313d24a3e4ef1f28a6d4e13bd036a720e332d196 | [] | no_license | duongminhhieu16/Juliet-Test-Suite-For-Coverity-Scan | 4e389ff5d7a01f11b830ad281807f846d23f22e3 | 6363ce51b8ec3ea36b2d5cbee899dcc5193d3c06 | refs/heads/main | 2023-01-22T15:23:45.005583 | 2020-11-20T22:38:30 | 2020-11-20T22:38:30 | 314,680,440 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,575 | cpp | /* NOTE - eventually this file will be automatically updated using a Perl script that understand
* the naming of test case files, functions, and namespaces.
*/
#include <time.h> /* for time() */
#include <stdlib.h> /* for srand() */
#include "std_testcase.h"
#include "testcases.h"
int main(int argc, char * argv[... | [
"duongminhhieu1611@gmail.com"
] | duongminhhieu1611@gmail.com |
861dd8736118cf715f38f416a9fc862e916e99aa | 2f9a425e8f5d034da4d35c9f941ff609cb232883 | /poj/1132/POJ_1132_3242247_AC_16MS_300K.cc | 569a87176e0f82ecf0b909d65e0d0b466d592a5a | [] | no_license | wangyongliang/nova | baac90cd8e7bdb03c6c5916fbab9675dabf49af5 | 86b00b1a12f1cc6291635f31a33e791f6fb19d1a | refs/heads/master | 2022-02-18T05:35:02.447764 | 2019-09-08T02:22:06 | 2019-09-08T02:22:06 | 10,247,347 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,442 | cc | #include<stdio.h>
int dx[]={0,0,1,-1};
int dy[]={1,-1,0,0};
struct node
{
int x,y;
}a[1000];
int n;
int flag[300]={0};
int f(double x,double y)
{
int i;
int cnt=0;
for(i=0;i<n-1;i++)
{
if(a[i].y==a[i+1].y) continue;
else
{
if(a[i].x>x&&a[i].y>y&&y>a[i+1].y) cnt++;
if(a[i].x>x&&a[i+1]... | [
"wangyongliang.wyl@gmail.com"
] | wangyongliang.wyl@gmail.com |
11fd12c4008f10bc7bb8772e3dd451a2a2de80fb | 4943e8fda0963de82aa94016412712375a48f602 | /Dia16/lst16-10.cxx | a8628f7e4d38f2bc987390527a3490cdd6a40161 | [] | no_license | javileyes/curso-cpp | baa650c5769d09dafe7e3b3522d3ca91c709b6e0 | 478f71791859a769d76c58d383ffe8c2587ee425 | refs/heads/master | 2023-03-08T09:59:31.254490 | 2021-02-28T08:33:17 | 2021-02-28T08:33:17 | 342,924,852 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 141 | cxx | // Listado 16.10 - Uso de put()
#include <iostream.h>
int main()
{
cout.put('H').put('o').put('l').put('a').put('\n');
return 0;
}
| [
"javiergimenezmoya@gmail.com"
] | javiergimenezmoya@gmail.com |
c204822abe382cd434ca3429cd9c36feb0d1b05b | 957d70f4ce7d9132698c1648dfcc498808e13cba | /src/shared/engine/HandleSaveGame.cpp | d671fa3a9bd8d275540eba78445872313a5474b3 | [] | no_license | HikaruG/gotohyon | 8a6862e31d2476b96a16f80398545afba5709a27 | 87ac18f814923d6f6937ea546724a6577c012611 | refs/heads/master | 2020-03-28T23:16:09.867171 | 2019-01-22T18:47:39 | 2019-01-22T18:47:39 | 149,283,987 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 941 | cpp | //
// Created by ben on 15/01/19.
//
#include "HandleSaveGame.h"
#include <iostream>
#include <fstream>
using namespace engine;
HandleSaveGame::HandleSaveGame () = default;
CommandTypeId HandleSaveGame::getTypeId () const{
return HANDLE_SAVEGAME;
}
bool HandleSaveGame::execute (state::State& state){
return... | [
"benj.hyon@gmail.com"
] | benj.hyon@gmail.com |
308bf62f8aecdbcb4171c16d604e918b8a520839 | 40bb05c86ce83769172b4dfe0ef26c9239c156db | /src/net/SslConnector.hpp | 8c1a5eed62ed7694553bb0f081c9e1ed6482dea0 | [
"Apache-2.0"
] | permissive | xDimon/primitive | 204d5763db9e292e8c2dd5a2e78435ebaf786f2a | 092e9158444710cdde45c57c4115efa06c85e161 | refs/heads/master | 2022-03-28T09:24:10.728615 | 2019-05-30T16:27:00 | 2019-05-30T16:27:00 | 103,276,659 | 12 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,713 | hpp | // Copyright © 2017-2019 Dmitriy Khaustov
//
// 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... | [
"khaustov.dm@gmail.com"
] | khaustov.dm@gmail.com |
8909eb30f49ef1a68ea6192bbf7630b561115365 | 7579d827cb7b50b438dfd9ef6fa80ba2797848c9 | /sources/proland/sources/river/proland/rivers/graph/LazyHydroGraphFactory.h | a9d44c06c9901c5a69a244082e25683d12a8e478 | [] | no_license | roche-emmanuel/sgt | 809d00b056e36b7799bbb438b8099e3036377377 | ee3a550f6172c7d14179d9d171e0124306495e45 | refs/heads/master | 2021-05-01T12:51:39.983104 | 2014-09-08T03:35:15 | 2014-09-08T03:35:15 | 79,538,908 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,715 | h | // Common precompile header
#include "proland_common.h"
/*
* Proland: a procedural landscape rendering library.
* Copyright (c) 2008-2011 INRIA
*
* 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 Found... | [
"roche.emmanuel@gmail.com"
] | roche.emmanuel@gmail.com |
a0949bee1ff0a5ec79d218cdb7c3b5c0ea245d11 | 0acb5d83cb8ee2f28f1b438a3da9f3c297d9615f | /src/standardFEM/LagrangeElem1Dbar2Node.h | ecf036d24c20f06e320dbceaef6f7790d2868330 | [
"MIT"
] | permissive | chennachaos/mpap | 444cc0ec54aa989dfac42e09762f57e75aa16ffa | bd1f270dd9cb8072eb3afc8dfb1adcc1a78c1495 | refs/heads/master | 2022-01-31T20:46:15.974004 | 2021-10-30T08:29:21 | 2021-10-30T08:29:21 | 221,304,094 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,015 | h |
#ifndef incl_LagrangeElem1Dbar2Node_h
#define incl_LagrangeElem1Dbar2Node_h
#include "LagrangeElement.h"
class LagrangeElem1Dbar2Node : public LagrangeElement
{
public:
LagrangeElem1Dbar2Node();
virtual ~LagrangeElem1Dbar2Node();
virtual int getElmTypeNameNum()
{ return 0; ... | [
"thechenna123@gmail.com"
] | thechenna123@gmail.com |
1a553244bae98428040753f9ac821ac36a662e44 | 828d6b40aadf49161bda325064dcb76677ba066e | /BBO_graph_creator.cc | 411e5808d18e3437fd943d3f71a06bb447b736eb | [] | no_license | flastest/HeterogeneousParallelDijkstra | 42b9243527e9df20945d7c467751f5111a7c4576 | 041cb37f6063dc9aaff5bb379a1bfa43056e7a6a | refs/heads/master | 2021-01-26T08:30:16.457056 | 2020-04-30T20:52:04 | 2020-04-30T20:52:04 | 243,383,773 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,259 | cc |
#include "BBO_graph_creator.hh"
#include <iostream> //for debug
using namespace boost;
bool DEBUG_LOGS = false;
bool MINIMAL_DEBUG = false || DEBUG_LOGS;
//https://www.boost.org/doc/libs/1_65_1/libs/graph_parallel/doc/html/dijkstra_example.html
typedef adjacency_list<listS, vecS, directedS,
... | [
"pleasantbowel5yndrome@gmail.com"
] | pleasantbowel5yndrome@gmail.com |
1bbbd7fca19558e80892ebad1ea35eb54409ab80 | ca11cea2914d0addd286a9e614ea4a9c9607ff3b | /Chapter_09/Exercise_08/pegBoard.cpp | a34622fc0b936822402c78524f2550e3f32c9a2b | [] | no_license | eslam-99/programming-abstractions | 87cf77e8c65c868d7f50093b5362941f2a619e59 | 78113a663664e7ba035715128bf1fa68bc3f2f4f | refs/heads/master | 2020-04-07T03:04:46.713406 | 2016-05-02T16:27:59 | 2016-05-02T16:27:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,933 | cpp | //
// pegBoard.cpp
// Programming Abstractions C++
//
// Created by Ben Mills on 10/21/14.
//
//
#include "pegBoard.h"
using namespace std;
const char EMPTY_SPACE = '.';
const char PEG = 'x';
const char HOLE = 'O';
const int START_HOLE_POINT = 3;
const char MARK = '^';
PegBoard::PegBoard(int cRows, int cColumns, ... | [
"fuzzyllama@gmail.com"
] | fuzzyllama@gmail.com |
34d3ab28b614875fd1c041f1d34390c2d56058b4 | addf488ba98b8d09b0c430779ebd2649d29a3fea | /kdepim/kitchensync/src/mainwindow.h | 65322718195cc45640a0147485696049c2259c08 | [] | no_license | iegor/kdesktop | 3d014d51a1fafaec18be2826ca3aa17597af9c07 | d5dccbe01eeb7c0e82ac5647cf2bc2d4c7beda0b | refs/heads/master | 2020-05-16T08:17:14.972852 | 2013-02-19T21:47:05 | 2013-02-19T21:47:05 | 9,459,573 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,207 | h | /*
This file is part of KitchenSync.
Copyright (c) 2005 Tobias Koenig <tokoe@kde.org>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at ... | [
"rmtdev@gmail.com"
] | rmtdev@gmail.com |
4c3552d15495ed7a2ca5a33a6429c660d04c6613 | 46d4712c82816290417d611a75b604d51b046ecc | /Samples/Win7Samples/winbase/vss/vsssampleprovider/stdafx.cpp | 93aefa0443c9ec45c59676233becabddb97c9580 | [
"MIT"
] | permissive | ennoherr/Windows-classic-samples | 00edd65e4808c21ca73def0a9bb2af9fa78b4f77 | a26f029a1385c7bea1c500b7f182d41fb6bcf571 | refs/heads/master | 2022-12-09T20:11:56.456977 | 2022-12-04T16:46:55 | 2022-12-04T16:46:55 | 156,835,248 | 1 | 0 | NOASSERTION | 2022-12-04T16:46:55 | 2018-11-09T08:50:41 | null | UTF-8 | C++ | false | false | 321 | cpp | /*--
Copyright (C) Microsoft Corporation, 2003
Module Name:
stdafx.cpp
Abstract:
Source file that includes just the standard includes
VssSampleProvider.pch will be the pre-compiled header
stdafx.obj will contain the pre-compiled type information
Notes:
Revision History:
--*/
#include "stdafx.h"... | [
"chrisg@microsoft.com"
] | chrisg@microsoft.com |
bd5c85f9df4fd962762eb7dc9cc72f1e393d7204 | 3edf313d7f806f5d6defdb0e479b60f6fbad6cb6 | /test/TEST.cpp | 4d76089d7641b61b285f8b5f03ce7059a968f501 | [] | no_license | CenoOS/NeroNES | b40f2d91223e6b3e4c9e9812281ee40ce547d542 | bd3312dc851ada13d4ee8c384f846c709d99c479 | refs/heads/master | 2020-04-26T14:25:55.209093 | 2019-04-06T16:13:51 | 2019-04-06T16:13:51 | 173,614,033 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,991 | cpp | #include "../include/CPU.h"
#include "../include/ROM.h"
#include <iostream>
#include <fstream>
#include <climits>
#include <vector>
#include <bitset>
#include "../include/MOS6502.h"
void rom_test(char *nesFile);
void cpu_test();
void ppu_test();
void apu_test();
mos6502::i8 *addTileInt8(mos6502::i8 first,mos6502::i8 ... | [
"nerosoft@outlook.com"
] | nerosoft@outlook.com |
16416328fe323ac11e52cab1a29400ae6207acb6 | b0ffb5fa650509f32869e8555cf5570cf7064af7 | /src/Viewers/shader.cpp | 58468d4ed38ed086ac50c5cd80f16a675782748a | [] | no_license | caiosba/master-mykinfuheadless | 7c5007b6ba6aa15058a2762a61abad6430ad2492 | dfe18b3c828b78b6b492e5aa655c24ca369d7a48 | refs/heads/master | 2020-04-04T16:21:15.355699 | 2014-12-05T20:58:18 | 2014-12-05T20:58:18 | 27,608,392 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 9,583 | cpp | #include "Viewers/shader.h"
// ***********************************************************************
// ***********************************************************************
//
// Get the location of a uniform variable
//
static GLint getUniLoc(GLuint program, const GLchar *name) {
GLint loc;
loc = glGe... | [
"caiosba@gmail.com"
] | caiosba@gmail.com |
03c2e7e377d485ae9493154542c0634f20fa8b2a | 74fc7c5d39baa6c30aa929e629ff60bf40500c61 | /test/unit-tests/metafs/mvm/volume/mf_extent_mock.h | 35b3aeed08ff4c1776bdf0136195aadd4c0b4c65 | [
"BSD-3-Clause"
] | permissive | jhyunleehi/poseidonos | e472be680d0e85dc62f0e2c0d7356dbee74a3bd6 | 1d90e4320855d61742ff37af8c0148da579d95d4 | refs/heads/develop | 2023-07-13T03:37:29.754509 | 2021-08-23T15:26:08 | 2021-08-23T15:26:08 | 393,203,347 | 0 | 0 | BSD-3-Clause | 2021-08-20T00:04:14 | 2021-08-06T00:30:35 | C | UTF-8 | C++ | false | false | 265 | h | #include <gmock/gmock.h>
#include <list>
#include <string>
#include <vector>
#include "src/metafs/mvm/volume/mf_extent.h"
namespace pos
{
class MockMetaFileExtent : public MetaFileExtent
{
public:
using MetaFileExtent::MetaFileExtent;
};
} // namespace pos
| [
"kyuho.son@samsung.com"
] | kyuho.son@samsung.com |
caf777b9dd828fa507b13004c698bc7060e2a84c | 2ab980780ed2286fb3d0cf4cdff60357d99dfd11 | /Haptics/Haptics/src/cSurfaceMesh.cpp | e5a250c14400d48a81c20beea1d2d52c128ae352 | [] | no_license | tianny0078/Haptic | b0944ed2b1864e9d8560f90e36650e6843dca3b0 | f3ec92189d8d4586fb77dce788d13f7409bab10c | refs/heads/master | 2020-12-24T18:04:14.815385 | 2013-11-23T10:31:04 | 2013-11-23T10:31:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 80,047 | cpp | #include "csurfacemesh.h"
#include <iostream>
using namespace std;
#include <QFile>
#include <QCoreApplication>
#include <QTextStream>
cSurfaceMesh::cSurfaceMesh(cWorld * a_world):cMesh(a_world)
{
//initialization
m = NULL;
vm = NULL;
gridDim = 1;
flag_grid = false;
flag_vox = false;
flag_selection = false;
... | [
"tianny007@gmail.com"
] | tianny007@gmail.com |
113012ff7679cdcb733f541c6fe6a9a808e059d2 | 0c3445cd581e064a0643c884b7ec3fc5538c327e | /include/clang/AST/AttrImpl.inc | cd18d44b747adfcc26a8970996d39102731d9cff | [
"Apache-2.0",
"LLVM-exception",
"NCSA"
] | permissive | ccharly/clong.llvm-clang-8.0.0-win64-msvc-release-minimal | 12a2b1f90c6cb375d81d18883855f5e0f977f6e9 | 47967a315b4b9c974b31b722ca40ff4cfc1e68f0 | refs/heads/master | 2022-02-14T02:18:17.451573 | 2019-07-20T22:44:23 | 2019-07-20T22:44:23 | 197,985,679 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 351,158 | inc | /*===- TableGen'erated file -------------------------------------*- C++ -*-===*\
|* *|
|* Attribute classes' member function definitions *|
|* ... | [
"charlyy.chevalier@gmail.com"
] | charlyy.chevalier@gmail.com |
3fbdc48788591d53703800d03591c4e0debf5883 | e02ebc7157802ee5b041929a70128d3afdae1761 | /Codeforces/500/556/B - Case of Fake Numbers.cpp | 74c96e5e8d428368469d9a6c1999b4519dc477a2 | [] | no_license | Huvok/Competitive-Programming | 027fdf6bb1cda21559a62617536e1b17669201dc | 45cd94dd0758537a56e19fd4c81df5b92f22a23d | refs/heads/master | 2020-04-05T12:36:03.754491 | 2017-12-20T22:24:55 | 2017-12-20T22:24:55 | 95,174,138 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,585 | cpp | #include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
#include <string>
#include <stack>
#include <queue>
#include <map>
#include <functional>
#include <queue>
#include <bitset>
#include <sstream>
#include <set>
#include <iomanip>
#include <string.h>
#include <unordered_map>
usi... | [
"hugo_os_95@hotmail.com"
] | hugo_os_95@hotmail.com |
dc106ddb3a085bda54309dff4a2579e1128395c3 | 05b4dbe64d6099a1cdf88e2e319b697869be1604 | /libphoto/include/StampTool.h | f39277759e18b997da0c57b5c73b5c5e377c1fab | [] | no_license | Jgomez06/Flashworks | eeee266543ee6a375ab0fc120d5b84c483beaa3a | 4beeb2c747d3d1f7324be83e74df59d72956441f | refs/heads/master | 2021-01-22T23:21:05.976117 | 2017-03-20T22:42:59 | 2017-03-20T22:42:59 | 85,628,669 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 481 | h | #ifndef STAMPTOOL_H
#define STAMPTOOL_H
#include "Tool.h"
#include "MouseAction.h"
#include "PixelBuffer.h"
#include "Image.h"
/**
* Tool that draws an image around the cursor when clicked
*/
class StampTool : public Tool {
public:
StampTool();
virtual ~StampTool();
/**
* Sets the Image to be drawn with this ... | [
"caste068@umn.edu"
] | caste068@umn.edu |
7d380eb014a479a51523a2c93c5548db1bb29060 | 25fa0e6825f56a140aaaaf9ebe43dccbc7d31a0b | /Lippmann_CPP_Primer/Ch1/exercise1_23.CPP | e6827ce44c3b2b82507ae90f5076494a1d33464c | [] | no_license | JoshuaTPierce/Learning_Repo1 | 0342e42d6db846dd1be74ead4116d4fc247c590a | 9a5a34bf04bfe6699420976dedcd295ca79335b4 | refs/heads/master | 2020-03-25T02:48:29.923672 | 2018-08-31T13:11:54 | 2018-08-31T13:11:54 | 143,308,470 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,144 | cpp | //Write a program that reads several transactions and counts how many
// transactions occur for each ISBN.
#include <iostream>
using namespace std;
#include "Sales_item.h"
int main() {
Sales_item total; // variable to hold data for the next transaction
// read the first transaction and ensure that there are... | [
"joshua.pierce@licor.com"
] | joshua.pierce@licor.com |
64b62fb1e2d6b852baf40f5c0204b7d864ad10ab | 39724f1150efd017626f7e3e76dfa54bf355f536 | /src/util.cpp | 09b52661a6f19cc60e922ea609c587d5abed6290 | [
"MIT"
] | permissive | rootbox27/9000coin | b7739bcd0e3ccd5a13dd0564639fd2b28c2122f6 | 0dd65d083ea57aaadef786269b4508d5ffb1d471 | refs/heads/master | 2021-01-09T20:09:06.027492 | 2016-07-18T00:09:01 | 2016-07-18T00:09:01 | 63,547,548 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 43,213 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef WIN32
// for posix_fallocate
#ifdef __linux__
#define _POSIX_C_SOURCE 2001... | [
"n@n-PC"
] | n@n-PC |
2777a49a05e23d93c8a46e7a5f57fd7c6ee2aec2 | df32ab216a3a92bc71049e62de5194a8fcd198c9 | /src/arpc/packet_codecs.cpp | cf108c57f8829b47bda91e8ea5f05e26726e0ee6 | [
"Apache-2.0",
"LicenseRef-scancode-generic-cla",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | sol-crystal/cpp-async-rpc | 5f1989860c935fa4cc3c397a77a265cd876b10c8 | 7666e4ef748c92690cbd343b5c63ba8c9dddc44a | refs/heads/master | 2022-12-15T17:36:11.314003 | 2020-09-09T21:55:53 | 2020-09-09T21:55:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,992 | cpp | /// \file
/// \brief Transformations on buffers represented as `std::string` objects.
///
/// \copyright
/// Copyright 2019 by Google LLC.
///
/// \copyright
/// 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
//... | [
"skandalfo@google.com"
] | skandalfo@google.com |
4f7faf527fc5ad0c18cb549fcc2c965481add4b1 | 0c000e41ace1ddb143c72283352bce90c02d61a3 | /src/examples/semantic_map.cpp | 6524d72f5318edbeefce2ae4a830269ba769b30e | [] | no_license | schizzz8/lucrezio_semantic_mapper | 1ac3b3dde96e9f55e9380b533c7b4022fa92a0a6 | 944db343b9f70f3d33b188bcd0126094b8b824b2 | refs/heads/master | 2021-07-07T19:58:25.299965 | 2019-01-30T16:17:54 | 2019-01-30T16:17:54 | 136,593,200 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,251 | cpp | #include "semantic_map.h"
namespace YAML {
using namespace lucrezio_semantic_mapping;
template<>
struct convert<Object> {
static Node encode(const Object &obj) {
Node node;
node["id"] = obj.id();
node["type"] = obj.type();
return node;
}
static bool decode(const Node& node, O... | [
"fnardi@dis.uniroma1.it"
] | fnardi@dis.uniroma1.it |
8091db09c366ca145906a276d42fbc6442a481d1 | 42b68e18d6bf4aef0962da5ce58f9d97028eecaf | /upredictor/charm/planning/libplan/src/andactionpredicate.cc | b43e8d19dbe5690d60d8690fd7bac07e6bf0a55c | [] | no_license | ssheikho/uPredictor | 0f0b4cdea1a30193fce5d6b44307fd1e2cfe76d6 | c95a7923cb5714590496fab571d318674cb2861f | refs/heads/master | 2021-07-11T03:00:39.556540 | 2017-10-06T02:57:48 | 2017-10-06T02:57:48 | 105,960,135 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,047 | cc | #include "andactionpredicate.h"
#include <iostream>
AndActionPredicate::AndActionPredicate(
vector<ActionPredicate*> &preds, bool maintainPointer) :
_npreds(preds.size()), _preds(new ActionPredicate*[_npreds]),
_maintainPointer(maintainPointer) {
for(int i = 0; i < _npreds; i++) _preds[i] = preds[i];
}
AndAction... | [
"sara.sheikholeslami@ubc.ca"
] | sara.sheikholeslami@ubc.ca |
d49ad7d6d5f8f30ea070c0b0ebc00da89602708b | 6f224b734744e38062a100c42d737b433292fb47 | /libc/src/unistd/getcwd.h | 8a6947f09a12465e1cf7a2804d78679b722bae89 | [
"NCSA",
"LLVM-exception",
"Apache-2.0"
] | permissive | smeenai/llvm-project | 1af036024dcc175c29c9bd2901358ad9b0e6610e | 764287f1ad69469cc264bb094e8fcdcfdd0fcdfb | refs/heads/main | 2023-09-01T04:26:38.516584 | 2023-08-29T21:11:41 | 2023-08-31T22:16:12 | 216,062,316 | 0 | 0 | Apache-2.0 | 2019-10-18T16:12:03 | 2019-10-18T16:12:03 | null | UTF-8 | C++ | false | false | 600 | h | //===-- Implementation header for getcwd ------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | [
"sivachandra@google.com"
] | sivachandra@google.com |
04d00372c10e2e6aba9fe0805b73d9b0aa09ee8b | c3c3b97e824370642f20a0cb408bb054c7b6049c | /BOJ/물건팔기/물건팔기/main.cpp | 3dbfe7644f8899b7d1a1485fe1b5e622c962e5cd | [] | no_license | chrisais9/algorithm | 00333c0f731ffd5971bf20871e622b48d22617c2 | 2a4fdf8e3f5d3da0b88cd2832d74e8e1dcbe09e9 | refs/heads/master | 2022-06-13T04:57:32.181733 | 2022-06-03T08:35:36 | 2022-06-03T08:35:36 | 136,615,290 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 630 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
typedef pair<int,int> ci;
vector<ci> v;
int n;
int main()
{
int i,j,x,y,mx=0,ans=0;
cin>>n;
for(i=0;i<n;i++)
{
cin>>x>>y;
v.push_back(make_pair(x,y));
}
sort(v.begin(),v.end());
for(i=0;i<n;i++)
... | [
"chrisais9@naver.com"
] | chrisais9@naver.com |
6eb9155120000f09a2a11aab63e21c06dc270a97 | 30cd1a7af92fb1243c33f9b8dde445c29118bd1a | /third_party/allwpilib_2016/wpilibc/shared/src/Buttons/ToggleButtonScheduler.cpp | c4048d267f9d225a35e81605c195313713f9f901 | [
"BSD-2-Clause"
] | permissive | FRC1296/CheezyDriver2016 | 3907a34fd5f8ccd2c90ab1042782106c0947c0cb | 4aa95b16bb63137250d2ad2529b03b2bd56c78c0 | refs/heads/master | 2016-08-12T23:22:00.077919 | 2016-03-19T05:56:18 | 2016-03-19T05:56:18 | 51,854,487 | 2 | 0 | null | 2016-02-29T10:10:27 | 2016-02-16T17:27:07 | C++ | UTF-8 | C++ | false | false | 980 | cpp | /*----------------------------------------------------------------------------*/
/* Copyright (c) FIRST 2011. All Rights Reserved.
*/
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in $(WIND_BASE)/WPILib. */
/*---------------------... | [
"tkb@cheezy.usfluidtech.com"
] | tkb@cheezy.usfluidtech.com |
c628649d81d9ad9ecba6478de42b21fdbde639ab | 1b8ae41e4e43429ba6c21b49fdfa7312ddee23b3 | /image/ex.cpp | 862a00cdc3f6336e736c9b1a24e8e6c22a9de237 | [] | no_license | Technipire/Cpp | 9f8476a944497b82ce425a3d9191acb74337a129 | 78d4c89385216865b9a9f475055fca1ff600d2a4 | refs/heads/master | 2021-05-01T16:31:45.977554 | 2017-04-03T00:02:01 | 2017-04-03T00:02:01 | 32,282,437 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,649 | cpp | #include<iostream>
#include<fstream>
class foo {
public:
foo() {
arr = new unsigned int [size];
}
int getSize() {return size;}
void setSize(unsigned int newSize) {size = newSize;}
unsigned int *arr;
private:
unsigned int size = 3;
};
int main() {
... | [
"andyxian510@gmail.com"
] | andyxian510@gmail.com |
ebf567f3252ed32fb122c514b77c5b2676308d69 | e1a4acf1d41b152a0f811e82c27ad261315399cc | /algorithms/kernel/neural_networks/layers/lcn_layer/forward/lcn_layer_forward_batch_fpt.cpp | a8d6c99d3ab2d4864e0626f6286fe77c273eafe2 | [
"Apache-2.0",
"Intel"
] | permissive | ValeryiE/daal | e7572f16e692785db1e17bed23b6ab709db4e705 | d326bdc5291612bc9e090d95da65aa579588b81e | refs/heads/master | 2020-08-29T11:37:16.157315 | 2019-10-25T13:11:01 | 2019-10-25T13:11:01 | 218,020,419 | 0 | 0 | Apache-2.0 | 2019-10-28T10:22:19 | 2019-10-28T10:22:19 | null | UTF-8 | C++ | false | false | 1,403 | cpp | /* file: lcn_layer_forward_batch_fpt.cpp */
/*******************************************************************************
* Copyright 2014-2019 Intel Corporation
*
* 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 c... | [
"nikolay.a.petrov@intel.com"
] | nikolay.a.petrov@intel.com |
308a33023bb2ceb51d6ed557a35621433701a114 | 4bc6d2dcc7aadcd075890c0e75d9645896314710 | /vol102/10219.cpp | 88ce6ebd37548d419a1aa66ffb8ce53f03f74182 | [] | no_license | dibery/UVa | ed50d28abae01a2bc119648b448ebb48f249d0b0 | 9696e6b8ed8cf459a9f3b917d6fb0549b13504e6 | refs/heads/master | 2021-06-09T11:10:07.721013 | 2021-05-14T17:07:58 | 2021-05-14T17:07:58 | 19,485,747 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 241 | cpp | #include<cstdio>
#include<cmath>
int main()
{
int m, n;
while( scanf( "%d %d", &m, &n ) == 2 )
{
double digit = 0;
for( int i = 1; i <= n; ++i )
digit += log10( m-i+1 ) - log10( i );
printf( "%d\n", int( digit+1+1e-4 ) );
}
}
| [
"bor810818@yahoo.com.tw"
] | bor810818@yahoo.com.tw |
f204b7dfab2d793d35661f353b27bb309d4b5aa4 | 3381a1d873db7f17ae9c3dd73c80d5a4d78e5888 | /examples/FakeIt/fakeit_test.cpp | f65d87a67453fffd0cc43d369d3b75af99442483 | [
"BSD-2-Clause"
] | permissive | cpp-pm/hunter | 0ad83226591ec55fe53fa7231a1ebe66d3c948c3 | eb3c4ed0dc9dff5465a42a02328283a59f8e7919 | refs/heads/master | 2023-08-16T15:50:11.042008 | 2023-07-31T09:00:51 | 2023-07-31T09:00:51 | 204,031,579 | 570 | 209 | BSD-2-Clause | 2023-08-14T11:29:34 | 2019-08-23T16:10:46 | CMake | UTF-8 | C++ | false | false | 613 | cpp | #include <fakeit/standalone/fakeit.hpp>
#include <iostream>
struct SomeInterface {
virtual int foo(int) = 0;
virtual int bar(std::string) = 0;
};
int main()
{
using namespace fakeit;
// Instantiate a mock object.
Mock<SomeInterface> mock;
// Setup mock behavior.
When(Method(mock,foo)).Return(1); // Method m... | [
"dviry@ceva-dsp.com"
] | dviry@ceva-dsp.com |
acd60ba028c8a2ba6aa0b038c72c3693aac86029 | b1c663dbd2eb9745f9bc10113c97121a13e024fc | /src/BoostedDecisionTree.cpp | e1c08ab4fc3a2a44ddb50ce61e1c04a11ac8bb55 | [] | no_license | mdqyy/BoostedDecisionTree | a81c0a899db032c9aa701ecf2ca2443ddf682217 | 2b783dc9e05241f9d4b0a37dc15e865d4afc3557 | refs/heads/master | 2021-01-15T09:37:47.281253 | 2013-07-18T21:55:36 | 2013-07-18T21:55:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,888 | cpp | #include "BoostedDecisionTree.h"
#include <cmath>
#include <iostream>
#include <fstream>
#include <boost/archive/binary_oarchive.hpp>
#include <boost/archive/binary_iarchive.hpp>
using namespace std;
BoostedDecisionTree::BoostedDecisionTree(DataSet *ds,
unsigned int nTree) {
this->nTree = nTree;
DataSet dsCopy ... | [
"joshgev@gmail.com"
] | joshgev@gmail.com |
a5307aa571d9df1d1e557299194930fef26e29d8 | 87d4f0499a8d792446d10753c088cb635188f47c | /PRO2/SESSIONS/s3/x47228.cc | 312cd96ad3a1224dcfdaeef18927ee5084125eae | [] | no_license | lladruc/FIB | e08265cc6231aab8983ee0ff1343ac2266237427 | da03b6aa0acce04fa61d52a51f3c7934b2d84820 | refs/heads/master | 2022-05-03T04:02:08.073880 | 2022-04-11T12:03:31 | 2022-04-11T12:03:31 | 33,666,272 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 691 | cc | #include <iostream>
#include "utils.PRO2"
#include "Palabra.hh"
int max(const Palabra& a){
int aux,cont,size;
size = a.long_pal();
aux = 0;
bool mismaLetra = true;
bool llega = true;
char l = a.consultar_letra(1);
for(int i = 1; i <= size and llega; ++i){
mismaLetra=true;
cont = 1;
for(int j ... | [
"Lladruc@Dru-MacBooks-Air-2.local"
] | Lladruc@Dru-MacBooks-Air-2.local |
bba266325494e1e591665c3142d3da775da2b95f | 2e5084faac90ec578dce25e3ad77bffc166e61f0 | /include/img/internal/utils.h | 54f133179690582fabbbd083fa5b992452e32567 | [
"MIT"
] | permissive | chfanghr/img | 49011049983bae06fc6331d44236d8ab98b17579 | c528358416a99f2bebddd444fc635a0812151616 | refs/heads/main | 2023-01-29T14:06:49.822192 | 2020-12-11T18:27:13 | 2020-12-11T18:27:13 | 319,040,995 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,814 | h | //
// Created by 方泓睿 on 12/10/20.
//
#ifndef IMG_INCLUDE_IMG_INTERNAL_UTILS_H_
#define IMG_INCLUDE_IMG_INTERNAL_UTILS_H_
#include "promote.h"
#include "round.h"
#include <type_traits>
#include <cstdlib>
#include <array>
namespace img::internal {
template<typename T, std::size_t N>
constexpr std::array<T, N> MakeArr... | [
"chfanghr@gmail.com"
] | chfanghr@gmail.com |
45c0a4a1080e1d5c3518a14ea6a75d72e399f0de | e3271a0c7f6920cfd416d538647d95983319fce2 | /Project29/IntQueueTest.cpp | 3bf531707bebbe726cd9a353e3d6923a74f7d7c8 | [] | no_license | YoungJin-Cho/Project29 | ea572aacf0e29c471e371084922adbd064849bc6 | c36e677cbc65d1411e4246c3f319fac7261f985f | refs/heads/master | 2022-12-28T00:22:35.693358 | 2020-10-13T14:39:47 | 2020-10-13T14:39:47 | 303,733,664 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,227 | cpp | #include <stdio.h>
#include "IntQueue.h"
int main(void)
{
IntQueue que;
if (Initialize(&que, 64) == -1) {
puts("큐의 생성에 실패하였습니다.");
return 1;
}
while (1) {
int m, x;
printf("현재 데이터 수 : %d / %d\n", Size(&que), Capacity(&que));
printf("(1)인큐 (2)디큐 (3)피크 (4)출력 (0)종... | [
"peter3861@naver.com"
] | peter3861@naver.com |
4982703886de5672573081cfe08135400aca0282 | 6e3b592de89cb3e7d594993c784e7059bdb2a9ae | /Source/AllProjects/CQCIntf/CQCIntfEd/CQCIntfEd_EditWnd_.hpp | c780544bf2b441cf494fb6c8f3836e77100ed8f4 | [
"MIT"
] | permissive | jjzhang166/CQC | 9aae1b5ffeddde2c87fafc3bb4bd6e3c7a98a1c2 | 8933efb5d51b3c0cb43afe1220cdc86187389f93 | refs/heads/master | 2023-08-28T04:13:32.013199 | 2021-04-16T14:41:21 | 2021-04-16T14:41:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 30,917 | hpp | //
// FILE NAME: CQCIntfEd_EditWnd.hpp
//
// AUTHOR: Dean Roddey
//
// CREATED: 10/01/2015
//
// COPYRIGHT: Charmed Quark Systems, Ltd @ 2020
//
// This software is copyrighted by 'Charmed Quark Systems, Ltd' and
// the author (Dean Roddey.) It is licensed under the MIT Open Source
// license:
//
// https://opens... | [
"droddey@charmedquark.com"
] | droddey@charmedquark.com |
80b869f01ce87fd1a0c82a78e872a0c41b070c2e | 72bf0256756be5fe1693ecd646ddda0c25ce8637 | /AnalysisStep/interface/PhotonFwd.h | b6f9000c5211f9aae800d32ea9028c5dcbad6046 | [] | no_license | sroychow/ZZAnalysis | 1e60822315278e29827f2f7c9b3b075ae80d00fc | 3600a30fec84c75603cc22cda1000ffc9a1af9ec | refs/heads/master | 2021-05-02T00:18:09.557909 | 2015-07-17T08:57:56 | 2015-07-17T08:57:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 208 | h | #include <AnalysisDataFormats/CMGTools/interface/Photon.h>
#include <vector>
typedef cmg::Photon Photon;
typedef edm::Ptr<Photon> PhotonPtr;
typedef std::vector<PhotonPtr> PhotonPtrVector;
| [
"nicola.amapane@cern.ch"
] | nicola.amapane@cern.ch |
7c1ddf7ea6a4b18bd8f8422bf729cb4e5dc9c324 | e172fb685a769451b0590289bfe0cf78e3ef5b50 | /FacadeCNN/facadeF.cpp | 5df16a788e6bc0c11665b6fb2e2626c6a0ed268d | [] | no_license | gnishida/FacadeCNN | e3b0b0b36261affb389f7ac22c26cc77215d0dba | ca7ebe37aa671cad704f0095dc41639c6d8b2918 | refs/heads/master | 2020-05-22T08:33:02.933868 | 2019-05-12T17:43:57 | 2019-05-12T17:43:57 | 186,280,331 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 16,311 | cpp | #include "facadeF.h"
#include "Utils.h"
std::pair<int, int> FacadeF::range_NF = std::make_pair(2, 20);
std::pair<int, int> FacadeF::range_NC = std::make_pair(3, 20);
void FacadeF::attachDoors(std::vector<float>& params, const std::vector<int>& selected_win_types) {
if (selected_win_types[3] < 25) {
// do nothing
... | [
"gnishida@purdue.edu"
] | gnishida@purdue.edu |
bb1edd57bec384fc41c1e75bdb57ed5037d49890 | 7415544948de6259d86764b22f83f55ac6694321 | /Classes/SuperPower.h | 926a766dd9d2468bddbf5612213254dc1b3b57ce | [] | no_license | mengtest/Blue-MY-Lake | 839c142e044a382b8157b6ed075060153af9bd37 | b505a972a106924e4778995e067b5c433324cc9c | refs/heads/master | 2020-02-26T13:47:59.489755 | 2014-11-26T07:55:24 | 2014-11-26T07:55:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 248 | h | #ifndef _SUPER_POWER_H_
#define _SUPER_POWER_H_
#include "cocos2d.h"
class SuperPower
{
public:
SuperPower();
SuperPower(float sp,bool tele,bool st,bool sf,bool fl);
float speed;
bool teleport;
bool stealth;
bool surf;
bool flash;
};
#endif | [
"1253936027@qq.com"
] | 1253936027@qq.com |
08b28fa3e70874e7a383c3eeff5b974e5b1c9661 | 327abe3721a4222c435246b353b765427561ffbd | /GlowWormEngine/include/gwGlobalHeader.h | 695ac668c054316669ce6cdb6100bb5e050d4549 | [
"MIT"
] | permissive | Flugschildkrote/GEII-Robot-Simulation | d04ae2b4a6eb5dd9f1071456e789d9d76654e7cd | 2756e693fbc5ccba431b21224f9361705207b438 | refs/heads/master | 2023-08-11T01:05:36.215818 | 2021-09-23T13:02:12 | 2021-09-23T13:02:12 | 409,592,352 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,547 | h | #ifndef GWGLOBALHEADER_H_INCLUDED
#define GWGLOBALHEADER_H_INCLUDED
#ifndef BUFFER_OFFSET
#define BUFFER_OFFSET(offset) ((char*)NULL + (offset))
#endif // BUFFER_OFFSET
#include <stdlib.h>
#include <iostream>
#include <sstream>
#include <fstream>
#include <string>
#include <map>
#include <vector>
#include <istream>
#... | [
"Flugschildkrote@gmail.com"
] | Flugschildkrote@gmail.com |
2a52b4b28be9732d6a4fb59c4efc2d22855b7a34 | b36ea4bf24896c2cbd8bf3333034ad9125c23333 | /Source/Arcada/Pawns/BasePawn.cpp | b7383a0738e72bf8a20e592c30af2511712bfe9b | [] | no_license | Servetss/Space-Arcade | 3241a897f96d2da337c068529778099710fd8d36 | 6af84037f1bf75cd9b3e01a4c8d5001055fd2d88 | refs/heads/main | 2023-02-25T17:58:25.647612 | 2021-02-03T17:14:36 | 2021-02-03T17:14:36 | 335,697,498 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,833 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "BasePawn.h"
#include "Components/StaticMeshComponent.h"
#include "Kismet/GameplayStatics.h"
#include "GameFramework/DamageType.h"
#include "Components/HealthComponent.h"
#include "ArcadaGameModeBase.h"
#include "Engine/World.h"
/... | [
"mfedorenko20081997@gmail.com"
] | mfedorenko20081997@gmail.com |
ef0d72c25057bd5370463d5291f7687a7434a496 | 38dcfefa70b998e1afcbaa40a5043c0a6dd1a97b | /mainwindow.cpp | 3602a0d604f7d2d1a6d5ca0629655b8bfcfabd0f | [] | no_license | ywyw2020/TeleMedicine | fa76f30105c81c36c9465b9d206e3a446215e262 | edaf4cb46e4576dbe3a0ba832a14ed518d657d8c | refs/heads/master | 2023-07-09T20:21:26.747930 | 2021-08-08T09:40:03 | 2021-08-08T09:40:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 26,545 | cpp | #include "mainwindow.h"
#include <QBuffer>
#include <QFileDialog>
#include <QMouseEvent>
#include "ui_mainwindow.h"
MainWindow::MainWindow(QWidget* parent) :
QMainWindow(parent), ui(new Ui::MainWindow)
//使用了列表初始化,三种情况必须要用:常成员,引用类型 成员,无默认构造函数的类成员对象。
,
hough_dp(2), hough_minDist(100), hough_param1(100)... | [
"1973653885@qq.com"
] | 1973653885@qq.com |
13eda58e3d057e5916d60b442b2be28a7d0782bf | b007f4d9712ae911b457b3f6cc56a7ec903927a9 | /GraphicsContext.h | 348a2ef2fc02af362c022fff5ee29a3caccd3a59 | [] | no_license | Clever-Boy/doom | 174bdacdcea8bcef822d0978ceac8abca5c434d5 | b92be71440a869860480486c4e8bc7134d2ac37d | refs/heads/master | 2020-12-24T11:09:31.976807 | 2016-08-17T01:54:47 | 2016-08-17T01:54:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 611 | h | #ifndef GRAPHICSCONTEXT_H
#define GRAPHICSCONTEXT_H
#include <windows.h>
#include <d3d9.h>
#include <stdlib.h>
class GraphicsContext {
public:
GraphicsContext(HWND hWnd, int width, int height);
~GraphicsContext();
void setLocked(bool locked);
bool locked();
DWORD *frameBuffer();
int pitch();
void flip();
... | [
"none@none"
] | none@none |
8e8e59a3038db02589343f16ea0155b79902b4ed | d85b1f3ce9a3c24ba158ca4a51ea902d152ef7b9 | /testcases/CWE78_OS_Command_Injection/s01/CWE78_OS_Command_Injection__char_connect_socket_w32_execv_83.h | 9cb27cbebed948a211d7f69642e14e73b0a5b9f4 | [] | no_license | arichardson/juliet-test-suite-c | cb71a729716c6aa8f4b987752272b66b1916fdaa | e2e8cf80cd7d52f824e9a938bbb3aa658d23d6c9 | refs/heads/master | 2022-12-10T12:05:51.179384 | 2022-11-17T15:41:30 | 2022-12-01T15:25:16 | 179,281,349 | 34 | 34 | null | 2022-12-01T15:25:18 | 2019-04-03T12:03:21 | null | UTF-8 | C++ | false | false | 1,763 | h | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE78_OS_Command_Injection__char_connect_socket_w32_execv_83.h
Label Definition File: CWE78_OS_Command_Injection.strings.label.xml
Template File: sources-sink-83.tmpl.h
*/
/*
* @description
* CWE: 78 OS Command Injection
* BadSource: connect_socket Read data usin... | [
"Alexander.Richardson@cl.cam.ac.uk"
] | Alexander.Richardson@cl.cam.ac.uk |
a39236fc93d105d28207d40899f6d28a1c2923c6 | 14fbdb7eeae0c7e564deb94216f831962f7a5c82 | /emplacement.h | e17fce43a146b12926d789c54945701939d97cae | [] | no_license | HugoAlberto/JeuQt | 72e9be7b20484ead3cd7d935e5f1678218b8c9d0 | fc5ce3e7df98427b10744fb6468afcc1bbbd1e44 | refs/heads/master | 2021-01-25T05:35:34.396311 | 2013-12-09T16:55:15 | 2013-12-09T16:55:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,338 | h | #ifndef EMPLACEMENT_H
#define EMPLACEMENT_H
#include <QLabel>
#include "mainwindow.h"
#include "joueur.h"
class MainWindow;
/*!
* \brief Classe emplacement : public QLabel
* \author Alberto Hugo
* \version 0.9
* \date 2013-2014
* \pre Initialise la classe emplacement
... | [
"alberto.hugo05@gmail.com"
] | alberto.hugo05@gmail.com |
0aa93ad633dd43ea3496062d15cfc7c31792781f | 4908df3d06b3d5508a3885dbb60d76cf35205f0b | /practice191107/practice191107/main1.cpp | f2e6aaa6b09412a9105bd140443c523abb5224b1 | [] | no_license | lybabymoon/dailyPractice | 6b373dd0cad926459f1f39de762297fe33102e6b | 016a5925ef6b094acea80f6268ee1151db823148 | refs/heads/master | 2020-09-06T22:39:16.143212 | 2020-04-03T16:56:34 | 2020-04-03T16:56:34 | 220,576,736 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 640 | cpp | #include<iostream>
#include<vector>
using namespace std;
int findTimes1(int num1, vector<int> &nums)
{
int count = 1;
for (int j = 1; j<num1 - 1; j++)
{
if (nums[j] > nums[j - 1] && nums[j] > nums[j + 1])
{
count++;
}
else if (nums[j] < nums[j - 1] && nums[j] < nums[j + 1])
{
count++;
}
}
return ... | [
"1468925682@qq.com"
] | 1468925682@qq.com |
28d1987137eb0c80b8f377cfe620417a49127a24 | 2e5eb87f1c71ddd4ceb4fbcd39b3a40789f20923 | /task/thread_pool/test_utils.h | d4f33c0b181d0ecac090bf63cf47e47e86aa5962 | [] | no_license | webrtc-uwp/chromium-base | 29a9d51ee675112e3344d2f33291af18c46ee700 | d3bc09943d27aefef29dc19ab95f9a62aa45e7ec | refs/heads/master | 2022-01-08T18:38:15.421051 | 2019-05-15T09:44:41 | 2019-05-15T09:44:41 | 105,895,023 | 5 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 4,246 | h | // Copyright 2016 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 BASE_TASK_THREAD_POOL_TEST_UTILS_H_
#define BASE_TASK_THREAD_POOL_TEST_UTILS_H_
#include "base/task/common/checked_lock.h"
#include "base/task/ta... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
eb1fb64c96d8f6b961c694f816cf909cbd3b0a75 | 72843da20942b6075f83d31d737957f86191b01e | /Unclassified/Done/2472.cpp | 478aee722b497c6562612bdac6e699cd32a9b09b | [] | no_license | dtcxzyw/OI-Source | cb641f2c7e203a32073f4cae98e690f1cad3dc22 | aa041e2af7e1546e8c7ac5a960a27a3489cfcff8 | refs/heads/master | 2021-12-17T17:52:05.043490 | 2021-12-17T12:52:52 | 2021-12-17T12:52:52 | 140,553,277 | 43 | 9 | null | null | null | null | UTF-8 | C++ | false | false | 2,798 | cpp | #include <cstdio>
#include <cstring>
int read(){
int res=0,c;
do c=getchar();
while(c<'0'||c>'9');
while('0'<=c&&c<='9'){
res=res*10+c-'0';
c=getchar();
}
return res;
}
int readBit(){
int c;
do c=getchar();
while(c<'0'||c>'9');
return c-'0';
}
in... | [
"2601110573@qq.com"
] | 2601110573@qq.com |
4fa9adbfa1d52ab3d3b89e22fceec32de8df9e98 | 9b2ac35a4477dd2a8ab4f6d9366343d7234b84bb | /OpenGL/main.cpp | 9ebe0937adf019fc84eaf80b382ba206caa71669 | [] | no_license | rasikraj01/OpenGL | 1b541ae9f2b09900c78d6a0f613ed586a5c10d72 | b576f9f2e5c846cc76f83f61834dd1908586a2d5 | refs/heads/master | 2020-03-29T23:50:02.392363 | 2018-09-30T12:59:36 | 2018-09-30T12:59:36 | 150,470,449 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,642 | cpp | #include <iostream>
#include <fstream>
#include <string>
#include <sstream>
#include <math.h>
// GLEW
#define GLEW_STATIC
#include <GL/glew.h>
#include <GLFW/glfw3.h>
#include "./src/vertexBuffer.hpp"
#include "./src/indexBuffer.hpp"
struct ShaderSource{
std::string vertexShader;
std::string fragmentShader;
... | [
"rasikraj01@gmail.com"
] | rasikraj01@gmail.com |
5fddc4d23d1f038314ee7f23b9c9f017833ce1e6 | 5b555395c94dea85c0a76cbd6fadd833421c7b75 | /PsiNES/PsiNES/PsiNES.h | f7d020ad8e3186e211a0653da34ebba7b2923ed5 | [
"MIT"
] | permissive | ivansteezy/NES-Emulator | 2dbab7447bf884017d9c7ad12c9581ae1a36a63f | c155129fd8ab81d45264ad83fc959f8f6f973cb8 | refs/heads/main | 2023-06-27T03:44:44.529687 | 2021-08-02T19:43:08 | 2021-08-02T19:43:08 | 392,047,447 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 269 | h | // PsiNES.h: archivo de inclusión para archivos de inclusión estándar del sistema,
// o archivos de inclusión específicos de un proyecto.
#pragma once
#include <iostream>
// TODO: Haga referencia aquí a los encabezados adicionales que el programa requiere.
| [
"network.9961@gmail.com"
] | network.9961@gmail.com |
1414805a6b860512c53f0d69bec52d23428fb08c | 260cfffd2280952239276c5694401cb6e4467c74 | /TASK 3(A).cpp | d74f17ce479769dd4e3f65449d3e475af14b68cd | [] | no_license | vaish08/Algo-Task-3 | 46067b1e265a6e51a8462c6c5800f417aed8734f | 8b08a3e8b1e2c9114ec1af6f714185e1b3b5ea45 | refs/heads/master | 2023-06-29T07:46:55.107630 | 2021-08-01T05:53:35 | 2021-08-01T05:53:35 | 391,539,421 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 463 | cpp | #include<iostream>
#include<string>
using namespace std;
int main(){
string str;
cin >> str;
unsigned long long int num = 0;
long long int operation = 0;
while(true){
for(int i = 0; i < str.length(); i++){
num += str[i] - 48;
}
operation++;
if(num >= 10... | [
"vaishnavib@MacBook-Air.local"
] | vaishnavib@MacBook-Air.local |
d2432b099c193930ff7395318f62c753c32309a8 | fd2e519ac2c4315721f358d9e421fc40fca1f82c | /C++/Initial/Project1/bankAccount.cpp | 8c2af373a7cf8ad4c22fc7969320c88a64c68c0c | [] | no_license | Robert-Cunningham/Topics-In-Advanced-CS | 1e387f829ffcd18faa5243582fcee6f03bb32775 | 8cd09debb07b1ffcaa213b4d0faf84d007658b43 | refs/heads/master | 2021-01-23T08:48:27.172236 | 2017-09-26T23:23:49 | 2017-09-26T23:23:49 | 102,549,588 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 343 | cpp | #include <string>
#include <iostream>
#include "bankAccount.h"
std::string Person::getRandomName() {
return "Bill";
}
std::ostream &operator<<(std::ostream &os, BankAccount const &ba) {
os << ba.name << " with " << ba.money << std::endl;
return os;
}
BankAccount::BankAccount(std::string myname) : nam... | [
"infinitydeltax@gmail.com"
] | infinitydeltax@gmail.com |
93f27fa229ef3b58581405c164639a0e74683a30 | 6fac50aa19020566f2e01595a6a0632a42ba3da3 | /Ligh OJ/L-1231.cpp | 469b135bf1ce36d0a383626a6945853d7fbd3929 | [] | no_license | sayemimtiaz/competitive-programming | c36905ee99b1cfeb578c2b47367eff901a5e444f | 58ff86e0d3804bd072d733e5fa491d6c192e4345 | refs/heads/master | 2023-01-27T14:47:06.767566 | 2023-01-08T21:50:49 | 2023-01-08T21:50:49 | 36,745,247 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,049 | cpp | #include<cstdio>
#include<algorithm>
#include<vector>
#include<cstring>
#include<iostream>
#include<math.h>
#include<cstdlib>
#include<queue>
#include<stack>
#include<sstream>
#include<set>
#include<cctype>
#include<string>
#include<map>
#include<fstream>
#include<iomanip>
using namespace std;
#define S1(a) scanf("%d"... | [
"imtiaz.cuet@gmail.com"
] | imtiaz.cuet@gmail.com |
d80517f70943d3ef743d4faeac525c6bcb2df091 | 8dc84558f0058d90dfc4955e905dab1b22d12c08 | /chrome/browser/chromeos/policy/minimum_version_policy_handler.h | d4868051091b1287537b54e542aada9ddf0a3599 | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | meniossin/src | 42a95cc6c4a9c71d43d62bc4311224ca1fd61e03 | 44f73f7e76119e5ab415d4593ac66485e65d700a | refs/heads/master | 2022-12-16T20:17:03.747113 | 2020-09-03T10:43:12 | 2020-09-03T10:43:12 | 263,710,168 | 1 | 0 | BSD-3-Clause | 2020-05-13T18:20:09 | 2020-05-13T18:20:08 | null | UTF-8 | C++ | false | false | 1,723 | h | // 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.
#ifndef CHROME_BROWSER_CHROMEOS_POLICY_MINIMUM_VERSION_POLICY_HANDLER_H_
#define CHROME_BROWSER_CHROMEOS_POLICY_MINIMUM_VERSION_POLICY_HANDLER_H_
#includ... | [
"arnaud@geometry.ee"
] | arnaud@geometry.ee |
e2d8ce7dc12bf017726eafffff333db5b00015b7 | 6928bb2d7c1c74e5b6876fa6bf83aa2211e3d44b | /onboard/src/target.cpp | 7bc7d2bb70724df80442b829f20f3de8c88d8077 | [] | no_license | LemonPi/Beholder | 3d473e9d1f4977976dbca4b8c78208a8d9fa7510 | f2e7f6f78c377a1e6687cecad8fccbd52ad3f1ba | refs/heads/master | 2021-09-05T08:16:08.024329 | 2017-11-30T02:15:10 | 2017-11-30T02:15:10 | 118,929,624 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 242 | cpp | #include <Arduino.h>
#include "target.h"
#include "util.h"
Target::Target(coord_t x, coord_t y, heading_t h, Type t)
: Pose(x, y, h), type(t) {
}
bool Target::hasTargetHeading() const {
return myfabs(heading - ANY_HEADING) > 100;
}
| [
"johnson9510@hotmail.com"
] | johnson9510@hotmail.com |
17b353a36bab956ca6cde1080d3efb3479c5d044 | 265ba2bc499e7abe57aeaca39b10ac8baa9feb78 | /10023.cpp | 9c0baaf2f364d3d48c630986bb00175f111c4cf2 | [] | no_license | torcop/uva-acm | 02323f123b370b7f76444becf638844a7ea84dcb | df42ea7ab8b4037b130e9bd96dc2adb1fb07635a | refs/heads/master | 2023-01-08T04:38:41.131094 | 2020-11-02T10:15:56 | 2020-11-02T10:15:56 | 14,593,913 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,754 | cpp | #include <bits/stdc++.h>
using namespace std;
int base = 1000000000;
int base_digits = 9;
struct bigint {
// value == 0 is represented by empty z
vector<int> z; // digits
// sign == 1 <==> value >= 0
// sign == -1 <==> value < 0
int sign;
bigint() : sign(1) {
}
bigint(long long v... | [
"animesh.ruet@gmail.com"
] | animesh.ruet@gmail.com |
869e00c806da78103f3c69a64c97a879327aa35c | 7d22f18714611d97175813b1e20e94d2e29d204e | /src/rest.cpp | f2d405a0238244b26657c63e3b9e75bd72a70b45 | [
"MIT"
] | permissive | lavajumper/sexcoin | 8179dbd95d28fc4c829fdb846f0b48db25b3dddf | 4ea0d53dd23e432e8edd5a5bddd0d546ef8a0a73 | refs/heads/master | 2021-01-18T01:19:25.067181 | 2019-01-12T14:50:28 | 2019-01-12T14:50:28 | 67,519,646 | 0 | 0 | MIT | 2019-01-12T14:50:29 | 2016-09-06T15:12:56 | C++ | UTF-8 | C++ | false | false | 19,860 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2016 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 "chain.h"
#include "chainparams.h"
#include "core_io.h"
#include "primit... | [
"lavajumper@lavajumper.com"
] | lavajumper@lavajumper.com |
028e9755672bf9b27bd28bd6a6fc3a326be0070a | 17c944b3da7719b7ff6f4d4a7a25d046a23c126b | /src/material.hpp | 99f46d4c5d9f961911e3dc0920366cf274f1175f | [] | no_license | xopoww/raytrace | 9b8686f5a59dcc25c841aec16f5b4ad6729372cf | 6aa2956989fe0f79f96aed66265061948bf62d31 | refs/heads/master | 2023-03-22T14:08:59.147414 | 2021-03-13T16:25:55 | 2021-03-13T16:25:55 | 328,478,092 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 536 | hpp | #pragma once
//
// Optical properties of the bodies in the scene
//
#include "imagery/image.hpp"
#include "linalg/vector.hpp"
struct Material
{
virtual Vector3 reflect(
const Vector3 &direction, const Vector3 &normal) const = 0;
RGBPixel color;
Material(const RGBPixel &_color);
};
struct Mirr... | [
"horoshilov.aa@phystech.edu"
] | horoshilov.aa@phystech.edu |
5d8b24471d53f5ec809d6de6c14bc7a1e55cb0aa | d0d9e6aa08466782a06c188e7a7100c0d7668be9 | /src/XVector.cpp | b1466e6b58b1e08aa85addeae4c83b136380bf6e | [
"Apache-2.0"
] | permissive | modouRPG/MoDouClient | 972deec3a1a17df6a53640ee18e7cc4cc2ed0a67 | daebb8a7d1979b539b2c17a4ec41882e6826c2ce | refs/heads/master | 2021-04-12T05:35:45.528815 | 2015-11-25T05:11:14 | 2015-11-25T05:11:14 | 27,490,244 | 3 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 42 | cpp | #include "XVector.h"
namespace modou
{
}
| [
"you@example.com"
] | you@example.com |
81b3a09378c073facbdd2b552b00ed988c01ac7f | 9a3b9d80afd88e1fa9a24303877d6e130ce22702 | /src/Providers/UNIXProviders/LogInDataFile/UNIX_LogInDataFile_LINUX.hxx | 050b54f6b1708e952692bf70aff3c8c89e81bca2 | [
"MIT"
] | permissive | brunolauze/openpegasus-providers | 3244b76d075bc66a77e4ed135893437a66dd769f | f24c56acab2c4c210a8d165bb499cd1b3a12f222 | refs/heads/master | 2020-04-17T04:27:14.970917 | 2015-01-04T22:08:09 | 2015-01-04T22:08:09 | 19,707,296 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,811 | hxx | //%LICENSE////////////////////////////////////////////////////////////////
//
// Licensed to The Open Group (TOG) under one or more contributor license
// agreements. Refer to the OpenPegasusNOTICE.txt file distributed with
// this work for additional information regarding copyright ownership.
// Each contributor lice... | [
"brunolauze@msn.com"
] | brunolauze@msn.com |
fa9b9f86cfc61ee4e590ddc7a5d112714be159d3 | 1fcf175c9a2e1fa775634b385eee1b6a7f053cca | /0_LeetCode/minimum-depth-of-binary-tree.cpp | a66fc5d67ba4bd5b1d88da64e26f692ed19ab96e | [] | no_license | scytulip/MyCollections | e79b791ec24d320ca1fd67ab623dca3e8d10f760 | aab9084553da670386b9a0ab7ffae8817371f14d | refs/heads/master | 2020-04-10T20:31:57.407504 | 2017-07-04T13:15:00 | 2017-07-04T13:15:00 | 20,774,704 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 890 | cpp | /*
Given a binary tree, find its minimum depth.
The minimum depth is the number of nodes along the shortest path from the root node down to the nearest leaf node.
*/
/**
* Definition for binary tree
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), l... | [
"scy.tulip@gmail.com"
] | scy.tulip@gmail.com |
6ccf83d63d2c7fbda3eda7d0a51bd956016cd2d8 | d4844dfa0f89f4298712f6bebeda4d9c6919a8d1 | /Chess game/clearscreen.cpp | f3a1188f4de441d9828385f4f33a1cac1c42307a | [] | no_license | Niden36/chess | fe68e6016e5515edb6617c985e8cb357bcf50a6c | 584c50d0819b2fda8b80db3dacab55af0895302f | refs/heads/master | 2021-01-19T19:59:57.965554 | 2016-09-17T23:11:12 | 2016-09-17T23:11:12 | 68,474,926 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 133 | cpp | #include <iostream>
#include <iomanip>
#include <string>
#include "clearscreen.h"
void clearscreen()
{
cout << string(100, '\n');
} | [
"Niden36@gmail.com"
] | Niden36@gmail.com |
d6b4d63b0c6e753b06e915984b329e554f7441a2 | f58c4d80bfe4b446e14fa28f884219d96786475e | /src/MaterialProperties.cpp | 643575f1b5ea308cbb2a43bed55c5c4721ede217 | [
"MIT"
] | permissive | rcedermalm/Everything-the-Light-Touches | 7bbc7892a7cf52b3ab1dc76a89d0b7ddad309607 | a4f336f8fcdbd84c28a270f551b6688a835697d3 | refs/heads/master | 2021-08-07T19:31:45.300657 | 2020-09-13T19:54:59 | 2020-09-13T19:54:59 | 218,701,267 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,634 | cpp | #include "MaterialProperties.h"
namespace rayTracer {
MaterialProperties::MaterialProperties()
: rho(glm::vec3(0.0f))
, rhoOverPi(glm::vec3(0.0f))
{ }
///----------------------------------------------
MaterialProperties::MaterialProperties(glm::vec3 reflectionCoefficients)
... | [
"rebecca@cedermalm.se"
] | rebecca@cedermalm.se |
547b629909836e24bf6f2fc5212f3635a2f85315 | 1f6824a64c3cc6b0827b55f24079edc23ed6bc2b | /Plugins/VoxelFree/Intermediate/Build/Win64/UE4Editor/Inc/VoxelGraphEditor/VoxelGraphShortcuts.generated.h | e2b5e48e41e83b3a266b8b564ce79a07d912b669 | [
"MIT"
] | permissive | lineCode/Woodlands | bb330644567c92e041e4da3d5d80326755c370c5 | 9e99f948543ad3f8f0eead691eddb4125da272f5 | refs/heads/master | 2023-04-15T13:56:45.978505 | 2021-04-19T04:30:44 | 2021-04-19T04:30:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,552 | h | // Copyright Epic Games, Inc. All Rights Reserved.
/*===========================================================================
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
========================================================================... | [
"Mattrb_99@ymail.com"
] | Mattrb_99@ymail.com |
ab492e57eaa1ad078b75fc224cc2eb4437fac767 | 9cd0167fd282272c27f68ce3caea0259c728c45b | /Cp3/UVa_00347.cpp | 94411441dc03077fed1c3e19b7be72235d77422e | [] | no_license | Zylophone/UVa_CompetitiveProgramming3 | d07de9f573a15f018e846b3a2d8c9b0668dcc35e | 5a19162988fb3c44e5bc097eb49b9b3a13de8bb9 | refs/heads/master | 2020-04-28T19:19:44.344213 | 2018-12-12T06:04:58 | 2018-12-12T06:04:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,172 | cpp | #include <bits/stdc++.h>
using namespace std;
bool check(long number){
bool flag = true;
int curr_index = 0;
string num = to_string(number);
long count = num.size();
vector<bool> arr(count,false);
vector<bool> number_rep(10,false);
while(flag){
if( (arr[curr_index] || (... | [
"cs15btech11040@iith.ac.in"
] | cs15btech11040@iith.ac.in |
d1b52e2f8f1ffd2193b14845ee14d80680852f11 | e1b9be1fc5b0e4cb285a37475cf8fe141fddbb3b | /model/Producer.cpp | bb0e285320faaad995731048739bf69a2439dbe9 | [] | no_license | juriad/tvp | 43312bb1ce2cc2e0913302bdb9b924d7597644f4 | 76ccbb2784e681ee3c95b7a3843952c0a6e05a58 | refs/heads/master | 2016-09-05T10:38:57.326686 | 2011-09-27T12:49:22 | 2011-09-27T12:49:22 | 2,450,861 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,085 | cpp | #include "Producer.h"
bool Producer::isValueValid(QString input) {
bool ok;
ok = !input.trimmed().isEmpty();
return ok;
}
void Producer::setValue(QString input) {
if(input.trimmed().isEmpty()) {
return;
}
QString normalized = input.replace(QChar(9), QChar(32)).replace(QChar(10), QChar(32)).replace(QC... | [
"juriad@gmail.com"
] | juriad@gmail.com |
9a574b8e740c4722845d6539327bc72fd96cdc24 | 88040197168aef6cdde84a5fa0e56129808506da | /Prev/c++ code/daily practice/31 MATRIX/03 TRACE OF MATRIX.cpp | 522bacf0214722171e7eb630a31adeb33125b759 | [] | no_license | A-Samad1206/cpp | 9d0f1d2d30d96e9fa75031e2dc0a309e2b9907e2 | 410135d5861d9883697efca7510bb800176f54e8 | refs/heads/master | 2023-07-18T00:47:28.345492 | 2021-09-03T17:58:38 | 2021-09-03T17:58:38 | 402,854,816 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 430 | cpp | #include<iostream>
using namespace std;
main()
{
int row,col;
cout<<"Enter the value of row and coulmns"<<endl;
cin>>row>>col;
int mat[row][col];
cout<<"Enter the value in matrix"<<endl;
for(int i=0;i<row;i++)
{
for(int j=0;j<col;j++)
{
cin>>mat[i][j];
}
}
cout<<"The values in matrix are"<<endl;
for... | [
"asindia47@gmail.com"
] | asindia47@gmail.com |
bab2c7dbc2cf4e4a696c25a87e1678c88a5d01f0 | 97de2cdc9b535e0151beea263a98db6fe9f4bca6 | /pkg_pose/src/PoseHandler.cpp | cfc5f95173a0c621854c0b4ec8c8bbb2be2703e8 | [] | no_license | RhettCaptain/GaojiRob | 2464d8000669b920078dacb16d1af61564963908 | 27b62829f4ed3987fb427bf3cb51397f46eb81fc | refs/heads/master | 2020-03-27T16:13:39.572563 | 2018-09-01T16:52:04 | 2018-09-01T16:52:04 | 146,767,485 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,114 | cpp | #include "PoseHandler.h"
#include <iostream>
using namespace std;
PoseHandler::PoseHandler(){
slamPoseSub = nh.subscribe("slam_out_pose",10,&PoseHandler::onRecSlamPose,this);
robotPosePub = nh.advertise<geometry_msgs::PoseStamped>("topic_robot_pose",10);
resetPosePub = nh.advertise<geometry_msgs::PoseWithCovariance... | [
"425237277@qq.com"
] | 425237277@qq.com |
51ce16052690771af2173c8a203ddce8ddc61cd5 | 0ed5ac0197d20dfce1d77c611d8bb2fd58da96e7 | /iceoryx_hoofs/include/iceoryx_hoofs/internal/relocatable_pointer/relative_pointer_data.hpp | 5760c2107e007ffbbee6935f34ebfdfbc9418d68 | [
"Apache-2.0",
"LicenseRef-scancode-generic-export-compliance",
"BSD-3-Clause",
"EPL-2.0",
"MIT"
] | permissive | boschglobal/iceoryx | 1cd2b6709c6be7ac8dff38f89d80bba6f2d1af30 | eb0256407e3cf0baed1efdee6f8eeacf4d3514da | refs/heads/master | 2023-06-22T17:08:19.884933 | 2021-06-10T18:10:13 | 2021-06-10T18:10:13 | 343,827,468 | 1 | 0 | Apache-2.0 | 2021-07-23T11:39:36 | 2021-03-02T15:50:51 | C++ | UTF-8 | C++ | false | false | 3,258 | hpp | // Copyright (c) 2021 by Apex.AI Inc. 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 ap... | [
"mathias.kraus@apex.ai"
] | mathias.kraus@apex.ai |
56143bf33cf0f4b4adfa562c99c3ebe18d6b2b34 | 0c360ce74a4b3f08457dd354a6d1ed70a80a7265 | /src/components/application_manager/include/application_manager/commands/hmi/vi_unsubscribe_vehicle_data_response_template.h | 9d943b838df4f9116fa967218d00b739b21ae7fc | [] | permissive | APCVSRepo/sdl_implementation_reference | 917ef886c7d053b344740ac4fc3d65f91b474b42 | 19be0eea481a8c05530048c960cce7266a39ccd0 | refs/heads/master | 2021-01-24T07:43:52.766347 | 2017-10-22T14:31:21 | 2017-10-22T14:31:21 | 93,353,314 | 4 | 3 | BSD-3-Clause | 2022-10-09T06:51:42 | 2017-06-05T01:34:12 | C++ | UTF-8 | C++ | false | false | 2,900 | h | /*
* Copyright (c) 2013, Ford Motor Company
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice, this
* list of condit... | [
"luwanjia@aliyun.com"
] | luwanjia@aliyun.com |
418cb728bfff24392924e124ad4559f3643b424c | 7910f6c2ed61cd7f0d204c96913e09dade970bbf | /Code/EyesFreeClockV3/src/HEyeO.cpp | 7866c1e2e4de3d5cadd4f5a8b5a08974f0739748 | [] | no_license | Aliasmk/HapticEye-Clock | 6437b4c4fc7446d7a0fb3857a1fb8968d33f8909 | 4121e7c9cb6f8ac1dbf2464ce211ee36e34a69d5 | refs/heads/master | 2022-10-23T02:13:43.760259 | 2020-06-17T02:03:53 | 2020-06-17T02:03:53 | 143,224,384 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,755 | cpp | #include <Arduino.h>
#include "HEyeO.hpp"
// Get it? The IO class is called HapticEyeOh?
// io.hpp was already in use...
// NOTE: Assumes buttons ACTIVE LOW
HEyeO::HEyeO(){
pinMode(PIN_BTN_MODE, INPUT);
pinMode(PIN_BTN_SET, INPUT);
pinMode(PIN_DAC_EN, OUTPUT);
pinMode(PIN_EEPROM_CS, OUTPUT);
f... | [
"michael.kafarowski@gmail.com"
] | michael.kafarowski@gmail.com |
eb3fab22f8ce792b4687e9510304a32b1a0143ec | 62b438039bd07dd26533b09ef2d5776ac19bfa85 | /aula6/usage.h | dcb295091c6f568c0ea1ace2d531e83669dff713 | [] | no_license | debrahcosta/lp-2020.5 | 33b38d34982b9a0b75fba16183c86532b898d202 | 4500b5345945a40c4397e6ac553b33893830aee4 | refs/heads/master | 2022-11-20T05:21:07.062903 | 2020-07-15T23:46:17 | 2020-07-15T23:46:17 | 274,527,875 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 123 | h | #ifndef DCAULA06_USAGE_H
#define DCAULA06_USAGE_H
#include<string>
void show_usage(const std::string &prog_name);
#endif | [
"deborahcosta.f@hotmail.com"
] | deborahcosta.f@hotmail.com |
122035aae7288f337521cd2146b296029bee9d5b | 893324082ce6fd336c8151a92a8a6ac93330ba00 | /src/test/serialize_tests.cpp | 3d3975a9b635e886ff9bc8c07551d5910f900c23 | [
"MIT"
] | permissive | scottcal/Simple. | 2005c0cadfc94874b7c62576c43efae087eb8446 | 643509d46bfba9eafc6b06351c627402007bf3d0 | refs/heads/master | 2020-03-18T17:57:56.271108 | 2018-05-18T17:25:11 | 2018-05-18T17:25:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,103 | cpp | // Copyright (c) 2012-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 "serialize.h"
#include "streams.h"
#include "hash.h"
#include "test/test_simple.h"
#include <stdint.h>
#include <b... | [
"simpledev@protonmail.com"
] | simpledev@protonmail.com |
97d2bb947face0e2931b601b0005017eabb9dbe7 | f2cb5fdeaaf110dd74e8a8fa2bb4217ab3248dc6 | /DuiLib/Control/UIMenu.h | 4384b1f555e8fd3fc1706ac1bc8d4e8a0eb2e318 | [
"MIT"
] | permissive | KnIfER/DirectUILib | 82dbe5be482a25a102f3802fd0112817c93dd22b | 5956632c14ea0a0e6a1c8c8c69922e8a896ef40f | refs/heads/main | 2023-06-20T21:05:36.704670 | 2021-07-30T11:58:38 | 2021-07-30T11:58:38 | 349,144,041 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 9,301 | h | #ifndef __UIMENU_H__
#define __UIMENU_H__
#pragma once
#include "../Utils/observer_impl_base.h"
namespace DuiLib {
struct ContextMenuParam
{
// 1: remove all
// 2: remove the sub menu
WPARAM wParam;
HWND hWnd;
};
struct MenuItemInfo
{
TCHAR szName[256];
bool bChecked;
};
struct MenuCmd
{
TCHAR szName[256];
... | [
"1445952621@qq.com"
] | 1445952621@qq.com |
24b73b93ad03a17caa73733d5eb09aa9fecb2393 | 8e82f5b4068a07f91a9a5f83791410d1f3460116 | /ExtendedDHT.h | 3d9a3c6e022c5071115915e534741ae203927fd7 | [] | no_license | hez/ExtendedDHT | ec0d12331fc168bfd29db72824b7f41faf29320c | 7063ee9e61ab64c59043b5c9f7eec22b705a3b63 | refs/heads/master | 2021-01-10T10:43:58.278867 | 2016-01-16T22:34:59 | 2016-01-16T22:34:59 | 49,793,844 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 476 | h | #ifndef extended_dht_h
#define extended_dht_h
#include <stdint.h>
#include <DHT.h>
/**
* Extended DHT library
*
* Dependancies:
* https://github.com/adafruit/DHT-sensor-library
*/
#define DHT_DEBUG
class ExtendedDHT {
DHT dht;
float temperature, humidity;
unsigned long last_read;
bool failed;
public:... | [
"code@hez.ca"
] | code@hez.ca |
efd711133d1e2cfde086b9b32a1af8e34ee47dd6 | d0c44dd3da2ef8c0ff835982a437946cbf4d2940 | /cmake-build-debug/programs_tiling/function13804/function13804_schedule_5/function13804_schedule_5_wrapper.cpp | 1e051a5430f7792c15f950431709e6910e42bd37 | [] | no_license | IsraMekki/tiramisu_code_generator | 8b3f1d63cff62ba9f5242c019058d5a3119184a3 | 5a259d8e244af452e5301126683fa4320c2047a3 | refs/heads/master | 2020-04-29T17:27:57.987172 | 2019-04-23T16:50:32 | 2019-04-23T16:50:32 | 176,297,755 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 856 | cpp | #include "Halide.h"
#include "function13804_schedule_5_wrapper.h"
#include "tiramisu/utils.h"
#include <cstdlib>
#include <iostream>
#include <time.h>
#include <fstream>
#include <chrono>
#define MAX_RAND 200
int main(int, char **){Halide::Buffer<int32_t> buf0(64, 64, 64, 128);
init_buffer(buf0, (int32_t)0);
... | [
"ei_mekki@esi.dz"
] | ei_mekki@esi.dz |
779da9fe1ea738ccf6bfe683012a8546760d73de | 0b5114d1dbb03ea1b6d6bd4224dd7618bc833a7a | /dependencies/cereal/cereal/external/rapidjson/internal/swap.h | 4c9376653c5eb5d62fab98a54cfdd9cbad700600 | [
"BSD-3-Clause"
] | permissive | andywater01/SkyBoundRepo | bc90e5552eea15b03d5ff152463472e2a4682687 | 25f5b04856bce041d91b0f4c4329d586dff36a04 | refs/heads/main | 2023-04-03T07:19:33.394366 | 2021-02-11T22:37:20 | 2021-02-11T22:37:20 | 308,375,955 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,528 | h | // Tencent is pleased to support the open source community by making RapidJSON available.
//
// Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved.
//
// Licensed under the MIT License (the "License"); you may not use this file except
// in compliance with the License. You may... | [
"andrew.waterhouse@ontariotechu.net"
] | andrew.waterhouse@ontariotechu.net |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.