blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 247 | content_id stringlengths 40 40 | detected_licenses listlengths 0 57 | license_type stringclasses 2
values | repo_name stringlengths 4 111 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringlengths 4 58 | visit_date timestamp[ns]date 2015-07-25 18:16:41 2023-09-06 10:45:08 | revision_date timestamp[ns]date 1970-01-14 14:03:36 2023-09-06 06:22:19 | committer_date timestamp[ns]date 1970-01-14 14:03:36 2023-09-06 06:22:19 | github_id int64 3.89k 689M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 25
values | gha_event_created_at timestamp[ns]date 2012-06-07 00:51:45 2023-09-14 21:58:52 ⌀ | gha_created_at timestamp[ns]date 2008-03-27 23:40:48 2023-08-24 19:49:39 ⌀ | gha_language stringclasses 159
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 7 10.5M | extension stringclasses 111
values | filename stringlengths 1 195 | text stringlengths 7 10.5M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e3904a350a115f80362a1a9f88072ac41deff764 | 6d083cca609e45c3f12b66fbb8901af043f07376 | /PersFunc.h | 8e5ee0bed02fe62fc93f5e73d2fa37e45dcadb6b | [] | no_license | kokkosik/FamTREE | 9ef88aa69e7f7422ef0e40d779d7164a681db0d0 | 5f2af74b7770c4346f23cdb8a1537db7b1464be0 | refs/heads/master | 2020-03-18T14:59:52.255677 | 2018-05-25T16:34:58 | 2018-05-25T16:34:58 | 134,880,355 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 490 | h | PersFunc.h | #ifndef PERSFUNC_H
#define PERSFUNC_H
#include<string>
#include "Person.h"
#include"Female.h"
using namespace std;
Person* add(Person *p,int &n,string fileName);
Person* findPerson(Person *p,string name,int n);
void save(Person *p,int n,string fileName);
void Parents(Person *p,int n,string filename);
void... |
2c6e02ed07d2170aec0d34ed898bdcec318759ea | 3fc99c31d5fb74447d868955c22abba4bb0a54d4 | /code/array/string_input.cpp | ed6cd58b19a8a4bb075010001d59dd53ad5d52a2 | [] | no_license | Pacific-Pacifico/Meetup-C | 21e37858e4435831ec02619fb8c2d068284caf5b | 969431c85d0feebe259be01158b63ca6dd117095 | refs/heads/main | 2023-04-14T07:12:16.327160 | 2021-04-30T03:59:05 | 2021-04-30T03:59:05 | 354,528,491 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 356 | cpp | string_input.cpp | #include <iostream>
#include <cstdio>
#include <string.h>
using namespace std;
int main()
{
char str[100];
cout<<"Enter ur name: ";
// cin>>str;
// gets(str);
cin.get(str,21);
cout<<"Length of the str="<<strlen(str)<<endl;
// string my_str;
// cout<<"Enter ur name: ";
// getline(cin,my... |
f0f53fc58fa3fdb018770d4d1ece2b7162e17058 | d4426a08c79e7bf5ee9f5942feaf40af0a74be25 | /library/include/Button.h | a23f4b330816b3258b7b7d098590ad105c098b6a | [] | no_license | cmarrin/avrm8r | 41f4f098d284864dcd7b3f8ab7d56374907c71a5 | 9fa64e785519a8190a9eb522aca7b3e325df26f9 | refs/heads/master | 2021-05-28T08:36:23.172220 | 2014-04-13T15:41:50 | 2014-04-13T15:41:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,071 | h | Button.h | //
// Button.h
//
// Created by Chris Marrin on 3/19/2011.
//
//
/*
Copyright (c) 2009-2011 Chris Marrin (chris@marrin.com)
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 s... |
89d58229de5a5b2224d4f4ccf904134205bc9182 | a1ee978f69eaff520213f00a646cdce408adf42b | /lab 9/MyForm.cpp | 56e748110634ee35eec642fabff175dd3695ddfb | [] | no_license | JohnSutray/music-cpp | 63aee1102ce16b9b0e7c191512cda197d71e096d | 6004cd5936b0866fac28cbc4b6de23112ae6e6c7 | refs/heads/master | 2023-04-20T12:46:47.438590 | 2021-05-19T12:36:12 | 2021-05-19T12:36:12 | 368,859,348 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 1,592 | cpp | MyForm.cpp | #include "MyForm.h"
#include <Windows.h>
using namespace System::Timers;
using namespace System::Threading;
using namespace lab9; //То ,что указывалось при создании CLR проекта
using namespace System;
int WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int) {
Application::EnableVisualStyles();
Application::SetCo... |
73bbf21bf93454c7cf55c52803594ab388b326fa | 7101b53574ad4e2338b05450b7f3448c50f61005 | /include/GoogleVoiceAssistant.h | 4c029cf313156c71bf9579d57d32a9594584ac3f | [
"Apache-2.0"
] | permissive | kobeya/GVA-demo | 4d6af374ea95be32aee8214947600e6a3e8bd2c4 | 41a57bfff01ab0de2f56ddcd7611514e550472ff | refs/heads/master | 2022-08-07T00:52:39.986363 | 2020-06-01T16:10:09 | 2020-06-01T16:10:09 | 268,522,738 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,243 | h | GoogleVoiceAssistant.h | /**
* @file GoogleVoiceAssistant.h
* @author Alex Li (alex.li@tymphany.com)
* @brief
* @version 0.1
* @date 2018-10-29
*
* @copyright Copyright (c) 2018
*
*/
#pragma once
#include <condition_variable>
#include <thread>
#include "AudioStream.h"
#include "KeyWordObserverInterface.h"
#include "Player.h"
#includ... |
278929ca78d2f24beeff6eaef0af0f8af1700854 | 5d0ddbd6f42843ded4d5ba18966dc130725607d2 | /c13.code/uintah/branches/pearls/src/CCA/Ports/Output.h | 0e4c187925c78c4e1b372a2923544d442695fecb | [
"MIT"
] | permissive | alvarodlg/lotsofcoresbook2code | b93ad62e015d205e4f550028ceb54254023021ee | a2dbeb306fa29ae6663ae29b2c4c132608375cf0 | refs/heads/master | 2020-12-31T03:02:22.579614 | 2015-09-02T15:23:18 | 2015-09-02T15:23:18 | 54,509,919 | 2 | 1 | null | 2016-03-22T21:27:56 | 2016-03-22T21:27:56 | null | UTF-8 | C++ | false | false | 5,411 | h | Output.h | /*
* The MIT License
*
* Copyright (c) 1997-2015 The University of Utah
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
* deal in the Software without restriction, including without limitation the
* right... |
7ec56f54236291a7c5c6ec3a1ff5bc1247f00977 | 1e2f78226da2d4af877545cdb269d141c3265fcd | /SimpleLock.h | 674cd67ffa157ec82ccc5f2ad5d7b648c5b47901 | [] | no_license | hellocjfeii/SimpleLock | 701ab5f1f119b4543c2d92055bb12221ec2e98bb | 1f755be678bfe1779cd3fad1596c8123a5d627dd | refs/heads/master | 2021-01-23T05:34:46.653785 | 2013-10-25T08:29:46 | 2013-10-25T08:29:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 649 | h | SimpleLock.h | /*
* SimpleLock.h
*
* Created on: 2013.10.25
* Author: cjfeii@126.com
*/
#ifndef SIMPLELOCK_H__
#define SIMPLELOCK_H_
#include <time.h>
using namespace std;
// A simple exclusive lock.
class SimpleLock {
public:
SimpleLock();
~SimpleLock();
public:
void lock();
bool tryLock();
void unlock();
priva... |
1499407be053e8efd7aa1c05807e71b6293aaac1 | 5e09b49b621c2ff7bfd3749b287d854368b3783c | /headers/sscanf.cpp | 9146d0b0dba39f3bd032bb78b7ecf0164607c670 | [] | no_license | robUx4/vlc-msvc | 071dd5caf84a078002428ca9c6f0f85408464b64 | 66fdad2c30d558ca45bde99fc3eea396f93c3d2d | refs/heads/master | 2021-01-17T03:21:25.008743 | 2018-11-05T15:11:48 | 2018-11-05T15:11:48 | 37,052,261 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 743 | cpp | sscanf.cpp | #include <cstdio>
int __CRTDECL sscanf(
_In_z_ char const* const _Buffer,
_In_z_ _Scanf_format_string_ char const* const _Format,
...)
{
int _Result;
va_list _ArgList;
__crt_va_start(_ArgList, _Format);
_Result = _vsscanf_l(_Buffer, _Format, NULL, _ArgList);
__crt_... |
6cb7368148d7e36b6db5f34a4563da9f5e010830 | d4b2b40fc58708b8e93ec83cda3c2949e13b5df4 | /gui/ui_mainWindow.h | e7a8849a37de532c3b2fbc131d0210244a55bdb9 | [] | no_license | ericaddison/BEMRI | 536a36c06d5477e442ccc4da2be97e102e6e1d65 | 64a466d6b361b3ae5dd62141d62b2f96f0983519 | refs/heads/master | 2020-05-18T06:50:26.072289 | 2013-10-16T17:52:20 | 2013-10-16T17:52:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,084 | h | ui_mainWindow.h | /********************************************************************************
** Form generated from reading UI file 'mainWindow.ui'
**
** Created by: Qt User Interface Compiler version 4.8.5
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
****************************************... |
7e1b37f9ee7924f64a3119539337e6c4be93ef7b | ffcae3227a8ce86ae97b6d834ca26debd850954d | /include/UI/DialogWindow.hpp | b33d0d8a9094b07841fb0fadb7952f6e81526501 | [
"MIT"
] | permissive | tylerwinkler/msg-game | 14ad0b3282b77722723fdc41840ea62f7e09e0f0 | 7db1ead37b61d54b87224c38d15a8b1d5e348755 | refs/heads/master | 2021-05-02T07:52:10.947231 | 2018-08-06T16:52:28 | 2018-08-06T16:52:28 | 120,840,302 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 582 | hpp | DialogWindow.hpp | #ifndef MSG_GAME_UI_DIALOGWINDOW_HPP
#define MSG_GAME_UI_DIALOGWINDOW_HPP
#include "SFML/Graphics/RectangleShape.hpp"
#include "SFML/Graphics/Text.hpp"
#include "UI/Frame.hpp"
class DialogComponent;
class DialogWindow : public Frame
{
public:
DialogWindow();
public:
void open(DialogComponent& dialog);
... |
47d4581f475d2c368f0cf4613657fb6ea9dec9a7 | d978b6610b3b11c4a2a0b2dadc966168adc02834 | /mf.cpp | 92292fdbe07e4662c665dd9cfa72fa12b7fb3771 | [
"ISC"
] | permissive | PJBoy/Metroid-level-editor | 2043cc0503fa6f8e273bb35b2b96591a30ab2a66 | bf2779f5ab634fb6a3d499ee9c220c8d77992478 | refs/heads/master | 2021-10-25T02:34:48.913371 | 2021-10-17T16:50:07 | 2021-10-17T16:50:07 | 109,970,996 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 173 | cpp | mf.cpp | #include "global.h"
import mf;
Mf::Mf(std::filesystem::path filepath)
try
: Gba(filepath)
{
throw std::runtime_error("Invalid Metroid Fusion ROM"s);
}
LOG_RETHROW
|
b71a67358477e918d598f628d58ee4ad9719ba54 | a81c07a5663d967c432a61d0b4a09de5187be87b | /third_party/blink/renderer/modules/scheduler/scheduler.cc | 5c7398ce02585b4def0274f2773eafdc67ca3d6e | [
"BSD-3-Clause",
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft"
] | permissive | junxuezheng/chromium | c401dec07f19878501801c9e9205a703e8643031 | 381ce9d478b684e0df5d149f59350e3bc634dad3 | refs/heads/master | 2023-02-28T17:07:31.342118 | 2019-09-03T01:42:42 | 2019-09-03T01:42:42 | 205,967,014 | 2 | 0 | BSD-3-Clause | 2019-09-03T01:48:23 | 2019-09-03T01:48:23 | null | UTF-8 | C++ | false | false | 3,506 | cc | scheduler.cc | // 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.
#include "third_party/blink/renderer/modules/scheduler/scheduler.h"
#include "base/memory/weak_ptr.h"
#include "third_party/blink/renderer/core/execution... |
4a3037bacc859f28f27552f641110436db95dd74 | d4ea839513b59a412801dc93b846029c212df263 | /chess.cpp | 6a787364e29c426e64d6685641ac0c148c7f143b | [] | no_license | Nahemah1022/Chinese-Chess-Game | 227f0f74720e178504087388b1b50fb991391cf3 | 36e5ccaad73e93ff0cd4de9e9e7116966ab368e8 | refs/heads/master | 2023-01-07T17:26:03.670622 | 2022-12-27T06:06:09 | 2022-12-27T06:06:09 | 216,219,401 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,804 | cpp | chess.cpp | #include <chess.h>
#include <QDebug>
#include <QPushButton>
#include <QWidget>
#include <QMessageBox>
struct position Chess::setPosition(struct position pos){
button->setGeometry(pos.x, pos.y, 89, 91);
return pos;
}
Chess::Chess(QGraphicsView *board, MainWindow *w, QIcon bIcon, struct position pos, bool team)... |
438a7342dd9f3e99343e4d59ad02dd155c20bfde | 278f58ecb9a0b73b666f9589c289f33d6a3bd140 | /src/layers/lbann_layer.cpp | b9b326c5a40ae75ba3bb5888c66060a7a4cff054 | [
"Apache-2.0"
] | permissive | lichnak/lbann | 1d0d5df59c1d016ef0ca1caffc8445733a52fdfd | 1a90840fb01dfb2f59251503cf988c7dbd9488ce | refs/heads/master | 2021-01-20T00:37:28.748212 | 2016-10-06T19:17:45 | 2016-10-06T19:17:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,763 | cpp | lbann_layer.cpp | ////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2014-2016, Lawrence Livermore National Security, LLC.
// Produced at the Lawrence Livermore National Laboratory.
// Written by the LBANN Research Team (B. Van Essen, et al.) listed in
// the CONTRIBUTORS file. <lbann-dev... |
e0452878b3818b2a2841e36f430d11fd3b7f7ac0 | b95e1521f96f2a5ef032ee592974e4b2c39af582 | /1_lesson1/Lecture/2-03.cpp | 366d5cf1febec30390d5b407373f1ce2341ce2d4 | [] | no_license | ck1001099-Teaching/cpp_course_2021summer | 8068618322ef19c1b3ec879673c94edd187c72b9 | 187f19f997461fea8cb4086fc81b2da9595a25dd | refs/heads/master | 2023-07-13T01:27:39.248373 | 2021-08-21T02:26:11 | 2021-08-21T02:26:11 | 392,313,556 | 7 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 262 | cpp | 2-03.cpp | #include <iostream>
using namespace std;
int main(){
cout << "紅葉晚蕭蕭,長亭酒一瓢。";
cout << "殘雲歸太華,疏雨過中條。";
cout << "樹色隨關迥,河聲入海遙。";
cout << "帝鄉明日到,猶自夢漁礁。";
return 0;
} |
f46b040c96726c9afd9c881baf697492c8aa94d0 | 1d415fdfabd9db522a4c3bca4ba66877ec5b8ef4 | /data/ttmuxlistdata.h | 3a05329c5017b6fffe3c47b6f2bc7f7efe67bb89 | [] | no_license | panjinan333/ttcut | 61b160c0c38c2ea6c8785ba258c2fa4b6d18ae1a | fc13ec3289ae4dbce6a888d83c25fbc9c3d21c1a | refs/heads/master | 2022-03-23T21:55:36.535233 | 2010-12-23T20:58:13 | 2010-12-23T20:58:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,527 | h | ttmuxlistdata.h | /*----------------------------------------------------------------------------*/
/* COPYRIGHT: TriTime (c) 2003/2008 / ttcut.tritime.org */
/*----------------------------------------------------------------------------*/
/* PROJEKT : TTCUT 2005 ... |
ac95cb5a02771cd74daed2e37698126e5618d32f | 640ae955703963f1e1ff315aeda0ada7a8edac1e | /libVeles/src/workflow.cc | b934eb8a58d294da55c243ad40950575243281bc | [
"Apache-2.0"
] | permissive | timmyofmexico/veles | 1545641a78bb8f0e12c647cd59e5c3565fa96dba | 68c95d60d71417a6c92eec76d217c963b6413a7b | refs/heads/master | 2020-12-25T01:50:50.265364 | 2015-08-07T10:10:08 | 2015-08-07T10:10:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,648 | cc | workflow.cc | /*! @file workflow.cc
* @brief VELES workflow
* @author Ernesto Sanches <ernestosanches@gmail.com>
* @version 1.0
*
* @section Notes
* This code partially conforms to <a href="http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml">Google C++ Style Guide</a>.
*
* @section Copyright
* Copyright 2... |
65b328150485aa8bf5986195d67b1a9a8b635e30 | 7f160f3554c8701f430c96b2b6d9aea37d5206e7 | /ManagerConnection.cpp | f3051bebb734853a139df7b4e503d641bd906249 | [
"MIT"
] | permissive | michalsrb/vncmanager-greeter | f214c48e66d05776afd152a2df34f072ef5a35c5 | 4c7889f98ab562255484b34410473349b6c4ae0f | refs/heads/master | 2020-12-24T20:42:16.242164 | 2016-05-24T14:23:46 | 2016-05-24T14:23:46 | 57,244,465 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,809 | cpp | ManagerConnection.cpp | #include <stdio.h>
#include <QtCore/QFile>
#include "ManagerConnection.h"
ManagerConnection::ManagerConnection()
: in(stdin, QIODevice::ReadOnly)
, out(stdout, QIODevice::WriteOnly)
{
notifier = new QSocketNotifier(fileno(stdin), QSocketNotifier::Read, this);
connect(notifier, SIGNAL(activated(int)),... |
d30c1252fa6e52507d1428880f1499e9777919b2 | 22fff66019915c53ee8f86aa9b682c08592a01de | /foolproof.cpp | d83f5d559157ffebf3ffc3be738932c6b9d30233 | [] | no_license | Alex1207/method.proc | 9070e995fa550f54fa2a42d6fe87f109ba4aba0f | 5ff8aea951fc7c978bb9c1566c37af0185e34da3 | refs/heads/master | 2021-06-15T20:08:26.491778 | 2017-04-25T16:24:11 | 2017-04-25T16:24:11 | 84,984,386 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 1,018 | cpp | foolproof.cpp | #include "stdafx.h"
//#include "iostream"
//#include <fstream>
#include "foolproof.h"
void CheckFileExist(ifstream &File)
{
if (!File)
{
cout << "Ошибка чтения входного файла! Возможно, файла не существует.\n";
system("pause");
exit(1);
}
}
void CheckEmptyFile(ifstream &File)
{
File.seekg (0, std::ios::end);... |
50f5565cf9dc8cba3ddb886a5c9c1a472c204234 | deb2cdd2ad831312694c1590d97bc5208b1b3fea | /Code/Code/Archive/Steering2017/Test/TeensyNeopixelTest/TeensyNeopixelTest.ino | db55a771eec298cf17a8bae44fae31c498cc1a16 | [] | no_license | PelleSchwartz/ecocardoc | bbc8b0c9942149734a8c991ed5cabc5b7d178ae5 | 9d445d333f9e0247452d3c90dd561361901e54cb | refs/heads/master | 2020-09-20T11:32:19.498046 | 2019-11-27T15:43:08 | 2019-11-27T15:43:08 | 224,463,328 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,181 | ino | TeensyNeopixelTest.ino | #include "FastLED.h"
// How many leds in your strip?
#define NUM_LEDS 16
#define LED 13
// For led chips like Neopixels, which have a data line, ground, and power, you just
// need to define DATA_PIN. For led chipsets that are SPI based (four wires - data, clock,
// ground, and power), like the LPD8806 define both ... |
434da0793c9b2395519f2b6f37f54d45a7af1a4f | 19194c2f2c07ab3537f994acfbf6b34ea9b55ae7 | /android-29/android/telephony/SubscriptionPlan_Builder.def.hpp | 8ca89161d7d467458cd0f7924904ece96ad55a09 | [
"GPL-3.0-only"
] | permissive | YJBeetle/QtAndroidAPI | e372609e9db0f96602da31b8417c9f5972315cae | ace3f0ea2678967393b5eb8e4edba7fa2ca6a50c | refs/heads/Qt6 | 2023-08-05T03:14:11.842336 | 2023-07-24T08:35:31 | 2023-07-24T08:35:31 | 249,539,770 | 19 | 4 | Apache-2.0 | 2022-03-14T12:15:32 | 2020-03-23T20:42:54 | C++ | UTF-8 | C++ | false | false | 1,296 | hpp | SubscriptionPlan_Builder.def.hpp | #pragma once
#include "../../JObject.hpp"
namespace android::telephony
{
class SubscriptionPlan;
}
class JString;
namespace java::time
{
class Period;
}
namespace java::time
{
class ZonedDateTime;
}
namespace android::telephony
{
class SubscriptionPlan_Builder : public JObject
{
public:
// Fields
// QJn... |
f918797a1a5bf864df2b5dc2840ecdff23a129a0 | 20ad3fe7c319e8574cefdc7fda0fb1316789d50b | /Cpp_Practice2/Cpp_Practice2/BoundCheck.cpp | 9cc56eae3813010e5887601b22c71df6b3c3f990 | [] | no_license | Jsfumato/Cpp_NEXT | b8e107414b7bd6634965ac809913130c9b968ecb | ceaf23a78632d371a6cca3e1f655066e4bda0c07 | refs/heads/master | 2020-05-26T07:21:45.155332 | 2015-10-14T15:26:15 | 2015-10-14T15:26:15 | 42,442,965 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,002 | cpp | BoundCheck.cpp | //
// BoundCheck.cpp
// Cpp_Practice2
//
// Created by Jsfumato on 2015. 9. 25..
// Copyright © 2015년 Jsfumato. All rights reserved.
//
#include <stdio.h>
#include <iostream>
#include "BoundCheck.h"
using namespace std;
//T* arr;
//int arrlen;
template <class T>
BoundCheckArray<T>::BoundCheckArray(int len):arrl... |
5dc49eda480b7d7c1fbb3e1b0d72300bb6587ac6 | 9509a0fc361010b73e2d81d78ef0aaab59020d5d | /main.cpp | 2424fb84e255bc444085b1572c670bb40d91f039 | [] | no_license | gabe-le97/DNA-Quicksort | c99cfc263af730d94bd2ace178922ba81c08dc32 | a6b23e0ce0c93017642f9fa7f6f62953d4c77b6b | refs/heads/master | 2020-03-12T23:31:18.493317 | 2018-04-24T14:35:47 | 2018-04-24T14:35:47 | 130,867,786 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,290 | cpp | main.cpp | #include "dna.h"
#include "swap.h"
#include "sort.h"
#include <iostream>
#include <string>
#include <vector>
using namespace std;
int main() {
// making dna objects to hold headers and strings
DNA::DNA dna1 = DNA::DNA(">The big dog", "GATTACA");
DNA::DNA dna2 = DNA::DNA(">Apple land", "ATTAATTAGC");... |
84a7d5efd5df0b59d7c94530325bb85ed271d871 | 5722b41690ccff7280821d38a947f5a13efd0ad4 | /L1/L1.2/19.cpp | b73b02564ce82f5a539169af7bfa5842ce43eb8a | [] | no_license | Cr1stalf/Cpp | b1af4c9c92589850884d55334e4749b8def0d136 | 4771e611e0b6796152f524c772d1726b4a700bb9 | refs/heads/main | 2023-08-16T08:41:33.352909 | 2021-10-14T15:10:47 | 2021-10-14T15:10:47 | 410,743,170 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 277 | cpp | 19.cpp | #include <iostream>
using namespace std;
// сумму n членов арифметической прогрессии, если известны a1, d, n
int main()
{
int a1, d, n;
cin >> a1 >> d >> n;
cout << ((a1 + (a1 + (n - 1) * d)) / 2) * n;
return 0;
} |
2f21d36839e46c61a8a8df703ff61b7d3e3855d4 | 9f0af772234018628409bee821aa10f826f74645 | /Project/Object.h | 693cd63a887458f6ec817f361864aef22a21f695 | [] | no_license | almog01/Bomberman-Clone | b665dea05aa38adccf738295b5879d1e3c14fe3c | 34a8aa391a6ed0f3a89269f8fc59cfa592c43cac | refs/heads/master | 2020-05-20T15:32:29.550169 | 2019-05-09T12:51:07 | 2019-05-09T12:51:07 | 185,646,896 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,408 | h | Object.h | #pragma once
#include <SFML/Graphics.hpp>
class Player;
class Guard;
class Door;
class Bomb;
class Explosion;
class Rock;
class Present;
class Wall;
using sf::RenderTexture;
using sf::RectangleShape;
using sf::FloatRect;
using sf::Vector2f;
using sf::Texture;
class Object
{
public:
// c-tor
Object(const Texture& t... |
f63391601c6a4822f9df503ef6dfb271df56f171 | 4cb3210d50904c8338e818817e8b9b9a3677db80 | /src/http/request/request.cc | 7deca2c75ffa58b56f055f8f5a6c05a9ac818774 | [] | no_license | LanghaoZ/rubber-duck | 7f4843594b738835bfb2eca50c06e7bbe5f3f0e4 | a1944edb031e4275a0f88587c24dcfbf7df05170 | refs/heads/master | 2022-12-31T20:54:57.185836 | 2020-05-19T05:51:07 | 2020-05-19T05:51:07 | 307,592,373 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 900 | cc | request.cc | #include "http/request/request.h"
namespace http {
namespace request {
std::string request_to_string(const request& req)
{
std::string res = request_to_digest(req);
res += "\r\n";
for (auto& it : req.headers)
{
res += it.first;
res += ": ";
res += it.second;
res += "\r\n";
}
res += "\r\... |
5bc453428b51e9cbd125074abe50cd1553f0a055 | 14b42bb249b41f764d000b6ac01d3e1ab3dc26e4 | /SetupJetTree.h | be0b7dfe98800b0fe5ff0c884922f93b62702e11 | [] | no_license | CmsHI/HiForestAnalysis | 00395fdbf6979bc686c9c20d1e202d7e2ee0900c | 69983c08269eaae44a329a67bb4a228d4c1b8c3d | refs/heads/master | 2016-09-06T16:51:11.696812 | 2015-11-23T10:27:11 | 2015-11-23T10:27:11 | 11,662,838 | 2 | 2 | null | 2015-06-10T11:36:15 | 2013-07-25T14:39:16 | C++ | UTF-8 | C++ | false | false | 13,642 | h | SetupJetTree.h | //////////////////////////////////////////////////////////
// This class has been automatically generated on
// Wed Jun 20 12:21:51 2012 by ROOT version 5.27/06b
// from TTree t/akPu3PFpatJets Jet Analysis Tree
// found on file: ../Pythia30_HydjetDrum_mix01_HiForest2_v19.root
///////////////////////////////////////////... |
163032c9e6da67b7b856394d915ad08debbca27e | 1408929beb0a5733b6a83668984ab0f8521979c2 | /Codeforces/Global Round 5/4.cpp | 6e9bfd8b771f1f3db01ce7515b52a9a86965c87a | [] | no_license | utkarshsingh99/Competitive-Coding | 44eade011bbc7f3b12858c17d480a5e8746de9d8 | 8951cfa7b8ee2c003a37163c0daab7e1b7c63da1 | refs/heads/master | 2022-12-31T03:53:52.241988 | 2020-10-20T19:33:17 | 2020-10-20T19:33:17 | 119,350,372 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,186 | cpp | 4.cpp | #include <bits/stdc++.h>
#define loop(i,a,b) for(int i=a;i<b;i++)
#define loopr(i,a,b) for(int i=a;i>=b;i--)
#define loops(i,a,b,step) for(int i=a;i<b;i+=step)
#define looprs(i,a,b,step) for(int i=a;i>=b;i-=step)
#define FILE_READ_IN freopen("input.txt","r",stdin);
#define FILE_READ_OUT freopen("output.txt","w",stdout)... |
7ba69b928fa5c3b2cde2704df9c85cebac8ace59 | e65a4dbfbfb0e54e59787ba7741efee12f7687f3 | /editors/fxite/files/patch-src_tagread.cpp | 27f04d9f001e7b03359875aca53a0671460b64d4 | [
"BSD-2-Clause"
] | permissive | freebsd/freebsd-ports | 86f2e89d43913412c4f6b2be3e255bc0945eac12 | 605a2983f245ac63f5420e023e7dce56898ad801 | refs/heads/main | 2023-08-30T21:46:28.720924 | 2023-08-30T19:33:44 | 2023-08-30T19:33:44 | 1,803,961 | 916 | 918 | NOASSERTION | 2023-09-08T04:06:26 | 2011-05-26T11:15:35 | null | UTF-8 | C++ | false | false | 1,389 | cpp | patch-src_tagread.cpp | --- src/tagread.cpp.orig 2013-10-03 09:22:51 UTC
+++ src/tagread.cpp
@@ -532,11 +532,11 @@ void AutoCompleter::Show(SciDoc*sci)
if (no()&&sci->PrefixAtPos(part)) {
FXint partlen=part.length();
FXint len=0; // save lots of reallocs by calculating overall length first
- for (FXint i=first(); i<=last(); i=... |
7651d495f04cdae665bb6f04ce265679081a8935 | 94237aa3ab6a23e9493d5ec48d190beffc076722 | /H4/Polygon_Fill/HR.h | 05fccee40e2dec70690c08d228b16a85b3915ca7 | [] | no_license | Mctashuo/Computer_graphics_Grade3 | d7083106d41954829822c7eb0fe9b0712b0eec4b | f921079e65c57a2ee5f70b806085d84a5dda3e44 | refs/heads/master | 2021-03-19T11:35:27.602067 | 2017-11-27T02:18:20 | 2017-11-27T02:18:20 | 109,634,522 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 599 | h | HR.h | // HR.h: interface for the CHR class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_HR_H__0A75AF57_55A9_4988_A1BC_94B4B5D12092__INCLUDED_)
#define AFX_HR_H__0A75AF57_55A9_4988_A1BC_94B4B5D12092__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include ... |
7cefedd31d135fb018c221825a6bfed3ab1dd084 | 8b2398a1e7adff513b25ae42d5b44831983f3001 | /3DCharacterAnimation/source/AnimationLL.cpp | 229fdd85f0144de6982115d5a0176ee87eb524d3 | [] | no_license | y2jinc/study | 92cbe325ee7a43f673bd00820a9288bda4b135ac | 7257509e5a0b83975399c3da3ab041c3a7564b23 | refs/heads/master | 2021-01-21T04:39:24.166876 | 2020-08-23T05:55:16 | 2020-08-23T05:55:16 | 38,871,349 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,688 | cpp | AnimationLL.cpp | // AnimationLL.cpp written by david paull
#include "stdafx.h"
#include "resource.h"
#include "globals.h"
#include <assert.h>
#include <stdio.h>
#include "Mesh.h"
#include "Bone.h"
extern struct AnimationLL* pCurrentlySelectedAnimation;
struct AnimationLL* AnimationLL_Insert( unsigned long SortKey,
char* pNam... |
d4f8528da47f2a25dbfe2a4a470978a47ad1c32a | 8635195410bd90a3dc6acaba098c0610d9f6edc1 | /PROYECTO_HASSE_DISCRETA/MyForm1.h | 1b58fcfda5825491d08eee24a547865705d8dd77 | [] | no_license | TheAnderliu/PROYECTO_HASSE_DISCRETA | 40d811d7810957d796ab1e2b286cdfe389aa41b3 | 2d585cc01a7f70ba27b9bf0b9ec1167039a3008f | refs/heads/master | 2020-04-05T08:49:11.779486 | 2018-11-08T15:53:01 | 2018-11-08T15:53:01 | 156,731,171 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 16,308 | h | MyForm1.h | #pragma once
#include"MyForm2.h"
#include"Sistema.h"
#include <string>
using namespace std;
namespace PROYECTO_HASSE_DISCRETA {
using namespace System;
using namespace System::ComponentModel;
using namespace System::Collections;
using namespace System::Windows::Forms;
using namespace System::Data;
using names... |
207e561a9be037e23244d8520a48080b8d06f328 | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/com/rpc/midl/support/freelist.cxx | 3458422fc2cdc738f0a7489bc0684f51049da9e1 | [] | no_license | jjzhang166/WinNT5_src_20201004 | 712894fcf94fb82c49e5cd09d719da00740e0436 | b2db264153b80fbb91ef5fc9f57b387e223dbfc2 | refs/heads/Win2K3 | 2023-08-12T01:31:59.670176 | 2021-10-14T15:14:37 | 2021-10-14T15:14:37 | 586,134,273 | 1 | 0 | null | 2023-01-07T03:47:45 | 2023-01-07T03:47:44 | null | UTF-8 | C++ | false | false | 5,913 | cxx | freelist.cxx | /*************************************************************************/
/** Copyright(c) Microsoft Corp., 1993-1999 **/
/*************************************************************************/
/**************************************************************************
File ... |
237d676503744634a0313c0b7ba460354b85161c | df2db05c0b6faeebacc2a30fc1fc686dfe5bb740 | /HW5/Tema2/CCaine.cpp | 1ac3458162bfc159fa8d8f73178e00247b86c5b7 | [] | no_license | AndreeaDraghici/OOP | 204fe72a2639184cb969e8406aba3853729f1822 | 2bffa2209295787271c68c0ebffa65c6f15274b2 | refs/heads/main | 2023-05-06T22:38:02.148209 | 2021-06-01T09:15:47 | 2021-06-01T09:15:47 | 352,360,411 | 7 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 694 | cpp | CCaine.cpp | #include "CCaine.h"
#include<iostream>
using namespace std;
void CCaine :: Citire()
{
cout << "Numele cainelui este: " << endl;
cin >> nume;
cin.get();
cout << "Inaltimea cainelui este: " << endl;
cin >> inaltime;
cout << "Greutatea cainelui este: " << endl;
cin >> greutate;
cout << "Varsta cainelui e... |
bb7a0194993ccb6c1bd0c7a87e0013040c9fe0dd | 41bebc320973426797726ecc63d519defca2cdc5 | /client.h | 3dec8ca171790c9aedc1204facdd8711b6530997 | [] | no_license | simeon-ng/battleshipServer | ffb45a0136ea6df006668d9696cdd86a7e1eb761 | f82ccbc027e33ef61f0c9b47583fb3e6e345d345 | refs/heads/master | 2021-10-27T15:32:54.451429 | 2019-04-18T02:49:39 | 2019-04-18T02:49:39 | 177,119,302 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,205 | h | client.h | // client.h
// Simeon Ng
// Header file for Battleship client class
#ifndef BATTLESHIP_CLIENT_H
#define BATTLESHIP_CLIENT_H
#define _WIN32_WINNT 0x501 // used by ws2tcpip.h
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#endif
#include <windows.h>
#include <winsock2.h>
#include <ws2tcpip.h>
#includ... |
83fe12e4d58481e0b4d168f9ccafa2baa9ecfda5 | 8adfb1fdd7a0927509103a8288ea8920da81806b | /Skyrim Text Game/Monster.hpp | 7262bc213173e2c54be7e1a5f5ec755064886d87 | [] | no_license | BraedenKuether/CPP_Projects | de033a7bfdf8dba81b60ff5f5157559790f4fc65 | 3aa20c59fc22ac8589eab28ba9e209ec6fde1112 | refs/heads/master | 2020-06-29T12:50:31.456199 | 2019-11-11T18:46:22 | 2019-11-11T18:46:22 | 200,541,848 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 568 | hpp | Monster.hpp | /*
Skyrim Text Game
Create by Braeden Kuether
8/16/2018
*/
#ifndef MONSTER_H_
#define MONSTER_H_
#include <iostream>
#include <cstdlib>
#include <string>
#include <vector>
#include <cmath>
#include "Space.hpp"
using namespace std;
class Monster : public Space {
private:
int strength;
s... |
b71f2ca6a8ead8e0caa81a5d64cf7c2ba1edac87 | 3e51841d4d42ad57b1c8ab5883d9bffdaf2074db | /111-Minimum-Depth-of-Binary-Tree/solution.cpp | a1999b8af7bd8a10ad5dcc8114163494cb9fe9a0 | [] | no_license | xh286/leetcode | f726524c05d93253293ea327c257f08cfd63faf6 | dde81ea3112d1355ebc07f7f8afe00a3448f943a | refs/heads/master | 2021-01-21T14:24:56.665689 | 2016-07-22T01:57:50 | 2016-07-22T01:57:50 | 58,489,012 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,753 | cpp | solution.cpp | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution {
public:
int minDepth(TreeNode* root) {
if(!root) return 0;
vector<TreeNode*> trav_stack... |
b1e7c609fb97558176f7b9fd96512dd0226d21b6 | e6358e3c18ae70d7adfee71351efa69e53b83f7b | /GameSource/OpenGLManagedCpp/ObjectTreeContator.cpp | c1752f00e751298982c9cb293dc8079273dd1e35 | [] | no_license | gtpk/Monstone | 203ddb9a46db2124a18b63d718c69a9e8408a9a5 | 25d5c78384ed9bcf4186fe9ab5da222df0e4b085 | refs/heads/master | 2020-06-13T10:39:22.868363 | 2017-12-05T23:54:39 | 2017-12-05T23:54:39 | 75,394,716 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 32 | cpp | ObjectTreeContator.cpp | #include "ObjectTreeContator.h"
|
eaecd14f69df0877ce1e8e744f3caca7a0239727 | ce7804cbf19374e0815cdaa9a347fea2e467dd1b | /FVUtilities.h | ed0d639ed804ff5d1c175939dae5f0603a77f6ec | [] | no_license | keilladraconis/FVSE-xSE | c90a48cc28a17d0351b38677b2f98e0286c89cff | 676638dbf9f82d6704cdbcfb688122e73cdf5a96 | refs/heads/master | 2022-04-28T19:02:08.103881 | 2020-04-29T16:55:45 | 2020-04-29T16:55:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,220 | h | FVUtilities.h | #pragma once
#include "GlobalDefs.h"
#include "FVSEScaleform.h"
#include "f4se/GameForms.h"
#include "f4se/GameFormComponents.h"
#include "f4se/GameReferences.h"
#include "f4se/GameRTTI.h"
#include "f4se/ScaleformMovie.h"
#include "f4se/ScaleformValue.h"
#include "RVA/RVA.h"
#include <time.h>
namespa... |
4a73138a1636741fb6c22aa87756382ff066ed4b | 48591e6fe907d1d1c15ea671db3ab32b6d60f5a6 | /dizuo/ogl_textured_sphere/Model.h | e0b91dd27cb3c66ca11c03a5028703e0556c2811 | [] | no_license | dizuo/dizuo | 17a2da81c0ad39d77e904012cb9fbb8f6681df1b | 6083ca9969d9d45b72859d9795544ccdf2d13b1c | refs/heads/master | 2021-10-24T21:16:19.910030 | 2021-10-23T07:17:30 | 2021-10-23T07:17:30 | 1,253,554 | 7 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 3,978 | h | Model.h | #include <gl/glut.h>
class CVertex
{
public:
CVertex()
{}
CVertex(float fv1, float fv2, float fv3,
float fu, float fv,
float fn1, float fn2, float fn3)
{
v[0] = fv1;
v[1] = fv2;
v[2] = fv3;
t[0] = fu;
t[1] = fv;
n[0] = fn1;
n[1] = fn2;
n[2] = fn3;
}
float v[3];
flo... |
2f69328bd5ba0b84bd2ebd670986ee43017ad630 | 7409724723d5fb5a5453aae91d821c6517c5a68d | /emptyExample/src/ofApp.cpp | 821a7d95a6e0fd7f51a420bc1948231b160b8193 | [] | no_license | xsxR00t/Striped_pattern | 760799f4949adf886a7e48adf317d55e881279d3 | 2c44527e440806a263c9df81f3b6b42a38041c5e | refs/heads/master | 2021-05-27T16:42:35.025600 | 2014-07-16T15:06:08 | 2014-07-16T15:06:08 | null | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 2,651 | cpp | ofApp.cpp | #include "ofApp.h"
#define WINDOW_WIDTH 1024
#define WINDOW_HEIGHT 768
#define FPS 60
#define BASE_DEBUG if(baseDebug)
static const bool baseDebug = false;
//--------------------------------------------------------------
void ofApp::setup(){
// Window shape
ofSetWindowShape(WINDOW_WIDTH, WINDOW_HEIGHT);
// F... |
8702dc86357ca8a1c936ffd4e6d564f961aa0b76 | f5d1a4273593f1b1b0fe0b596dcea0aade936cde | /acwing/ever_day/3624.cpp | 397a5753bdb40f14c5f065d08c72817a87dd8b74 | [] | no_license | showmake/Contest | 800632d2eca293865478929283a845ee691a2a58 | b089df5c017e4441fa94c9cb31bdf32ebc5e8fad | refs/heads/master | 2023-08-20T23:27:52.914941 | 2021-10-22T00:26:23 | 2021-10-22T00:26:23 | 387,126,107 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 970 | cpp | 3624.cpp | #include <iostream>
#include <cstring>
#include <algorithm>
#include <vector>
#include <deque>
#include <stack>
#include <queue>
#include <unordered_set>
#include <unordered_map>
#include <cmath>
using namespace std;
using ll= long long;
using pii =pair<int,int> ;
const int N=1e5+10;
int n,T;
unordered_map<int,int>... |
67203c4abce6139132705e3bfa60d50ee86282e1 | a0c3486c02f6846c871982b8d90f4525d4460180 | /testP305/testP305/main.cpp | b6dc3944a4bd30e8d433c76626d78e2ab2d8586a | [] | no_license | Ivoripuion/pwnwin_practice | fdc4681dca8a4486be73fb57ea9b13163185ecb1 | ac10417431776c96afc8b924c988fa2b1134215f | refs/heads/master | 2021-03-23T18:45:38.915575 | 2020-03-15T13:54:44 | 2020-03-15T13:54:44 | 247,475,957 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,428 | cpp | main.cpp | #include<string.h>
#include<stdlib.h>
char Shellcode[]=
"\x90\x90\x90\x90\x90\x90\x90\x90"
/*
"\x90\x90\x90\x90"//new value of cookie in .data
"\xFC\x68\x6A\x0A\x38\x1E\x68\x63\x89\xD1\x4F\x68\x32\x74\x91\x0C"
"\x8B\xF4\x8D\x7E\xF4\x33\xDB\xB7\x04\x2B\xE3\x66\xBB\x33\x32\x53"
"\x68\x75\x73\x65\x72\x54\x33\xD2\x64\x8B\... |
6b32b1b5f829b956f08e10108b86e63e4d14427b | 3a26de247abe7c3e917a2d29b0f247c5299e2de0 | /io_contours/intersect.h | fff8cd4cccb29f6464542eb2570eb33fcc3534bb | [] | no_license | LasseD/ContourSimplification | 23b8a14ec9e4f7af52ba8ddc08ff2d811271a671 | bf3489621884ac5bf021158d97a5c5806a2ed78d | refs/heads/master | 2021-01-10T16:54:34.255126 | 2016-02-29T17:43:10 | 2016-02-29T17:43:10 | 52,808,564 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,386 | h | intersect.h | // -*- mode: c++; tab-width: 4; indent-tabs-mode: t; eval: (progn (c-set-style "stroustrup") (c-set-offset 'innamespace 0)); -*-
// vi:set ts=4 sts=4 sw=4 noet :
#ifndef __TEST_CONTOUR_SIMPLIFICATION_IO_CONTOURS_INTERSECT_H__
#define __TEST_CONTOUR_SIMPLIFICATION_IO_CONTOURS_INTERSECT_H__
#include <terrastream/common/... |
ab288268c00b26c88fd455425c63b3711324f3a0 | a017544e321047dc0fc2478807eaca5a584588b3 | /Detectron2/Modules/BatchNorm/FrozenBatchNorm2d.cpp | a26435418ec1bee98531aea4c834a36d4d2f8a22 | [] | no_license | ttanzhiqiang/Detectron2_Project | d461c95ede6ed3a4affb182abf330c002ac119e8 | 91bf05ab3b0be0a8e20a244b2729f576160d6953 | refs/heads/main | 2023-07-02T08:22:52.736982 | 2021-08-06T10:13:00 | 2021-08-06T10:13:00 | 381,316,589 | 11 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,420 | cpp | FrozenBatchNorm2d.cpp | #include "Base.h"
#include "FrozenBatchNorm2d.h"
using namespace std;
using namespace torch;
using namespace Detectron2;
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// not converted
/*
def _load_from_state_dict(
self, state_dict, prefix, lo... |
850ae00dd995fb551a98fac71b1f8a0370b47a5f | b9b966952e88619c9c5d754fea0f0e25fdb1a219 | /libcaf_io/caf/io/network/scribe_impl.cpp | 257cdf0990ead0a4a7a6b285e7e89da61324c8bc | [] | permissive | actor-framework/actor-framework | 7b152504b95b051db292696a803b2add6dbb484d | dd16d703c91e359ef421f04a848729f4fd652d08 | refs/heads/master | 2023-08-23T18:22:34.479331 | 2023-08-23T09:31:36 | 2023-08-23T09:31:36 | 1,439,738 | 2,842 | 630 | BSD-3-Clause | 2023-09-14T17:33:55 | 2011-03-04T14:59:50 | C++ | UTF-8 | C++ | false | false | 1,722 | cpp | scribe_impl.cpp | // This file is part of CAF, the C++ Actor Framework. See the file LICENSE in
// the main distribution directory for license terms and copyright or visit
// https://github.com/actor-framework/actor-framework/blob/master/LICENSE.
#include "caf/io/network/scribe_impl.hpp"
#include "caf/io/network/default_multiplexer.hp... |
fa20fe53f7065fe27f76212085461f92bcfbbe3d | c88ee296ed0066dd13cdd5f6836037f325457ec7 | /4_lesson(KR)/fraction.h | cdb611712da00643d948ee75eca6b518f59b1f35 | [] | no_license | ober-man/4_sem | e272100caaca73ddb4d98abe78dd422c8cf6d7e2 | 678c13dab9791b7c0004b7d7aac55df6df953165 | refs/heads/main | 2023-04-14T04:54:58.293451 | 2021-04-28T15:29:36 | 2021-04-28T15:29:36 | 338,835,512 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,378 | h | fraction.h | #include<iostream>
/// model of rational fraction {m/n}
class Fraction
{
private:
int m;
int n;
public:
Fraction();
Fraction(int m_, int n_);
Fraction(double num);
int Integer() const;
double Decimal() const;
void Set(int m_, int n_);
in... |
f648689bcdbfb14a5ed7c1a4f2270b871966e1df | 141c98034cbf0a7218cc60411cb6c500d7d14cf7 | /kv_parse.h | 3fc7e60b1ff74226a08081f2afd81138700c50be | [] | no_license | Haosheng/rocksdb_comparator | 70fccf2a4a83f4b94a7823c34b3fe163762d7747 | 3d5ac61aafa868a384d12fa1a7fa55635262b4aa | refs/heads/master | 2020-06-07T21:05:04.854943 | 2015-07-29T14:35:52 | 2015-07-29T14:35:52 | 39,897,992 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 604 | h | kv_parse.h | #ifndef STORAGE_ROCKSDB_INCLUDE_KVPARSER_H_
#define STORAGE_ROCKSDB_INCLUDE_KVPARSER_H_
#include <string>
#include <cstdio>
#include <utility>
namespace rocksdb{
class KVParser{
public:
~KVParser(){}
std::pair<std::string, std::string> parse_line(std::string Line){
std::string toParse = Line;
std::string ... |
4c4515f9272261ad3ede5fdd66cb8782d01e4bde | ee80ddf7d1de919847f1072f83c9ee3e3deeae02 | /gwell/source/vi-kernel/vi-readmultipolyh.hh | ac22da2426f0d1a1cca14de2ec57a04233a48472 | [] | no_license | pjakwert/gwell3d | 8bef1d3616810e6a79aff12869f164cdff0ac8b5 | 798b928d91864ba7f2ed5b9ccd46b3d6a693908c | refs/heads/master | 2020-03-26T00:42:58.091397 | 2018-08-10T21:48:12 | 2018-08-10T21:48:12 | 144,333,776 | 0 | 0 | null | null | null | null | ISO-8859-2 | C++ | false | false | 18,532 | hh | vi-readmultipolyh.hh | #ifndef VI_READMULTIPOLYH_HH
#define VI_READMULTIPOLYH_HH
/*! \file vi-readmultipolyh.hh
* Plik zawiera zapwiedź definicji funkcji czytającej i interpretującej
* opis bryły złożonej.
* \author Bogdan Kreczmer
* \date 2004.06.07
*/
#include <istream>
#include "viexception.hh"
#include "viscene.hh"
class ... |
64bdaaa8c19a36b26cda468f240a6aea377c4780 | 18677e8db4cfd2e5f4c8167bde56a7434e3761a2 | /game/game.h | 10d395e972cfb8aa6a4c1b409ffcb7fef2084132 | [] | no_license | ChickenGameProject/Chicken | d4c3a5098aa4e91dd4cc76282ee3e22f32dad414 | 82ae052a5a172bef372576db1e46ad472aae6524 | refs/heads/master | 2021-01-17T11:14:38.438237 | 2016-06-25T22:32:55 | 2016-06-25T22:32:55 | 59,895,274 | 0 | 1 | null | 2016-06-01T12:26:24 | 2016-05-28T13:13:57 | null | UTF-8 | C++ | false | false | 780 | h | game.h | #ifndef GAME_H
#define GAME_H
#include <QGraphicsView>
#include <QGraphicsScene>
#include <QMouseEvent>
#include <QString>
#include<QMediaPlayer>
#include "player.h"
#include <QVector>
#include "life.h"
#include "score.h"
#include "level.h"
#include "button.h"
class Game : public QGraphicsView{
Q_OBJECT
public:
... |
c7f1e949948fe5dcaf5ee0d78d62e621951f53bb | cb39b564459244d9df0563f8874cecd30ec33283 | /proj1.cpp | 3079e155e5c9d88653d864b8f41749885b808629 | [] | no_license | KaiGVilbig/202_proj1-rotate_text | 6cd5fae6ff0ab211a44c82e0e40bfed12557e26e | 3ccd71f9e2d549d1263ace5c0a9f9a5e77091745 | refs/heads/master | 2022-12-18T10:01:35.741568 | 2020-09-29T19:44:38 | 2020-09-29T19:44:38 | 299,721,152 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,746 | cpp | proj1.cpp | #include <iostream>
#include <fstream>
#include <iomanip>
#include <cmath>
#include <cstdlib>
using namespace std;
const int BOARDER_SIZE = 75;
int mainMenu();
int load(char pic[][BOARDER_SIZE]);
int create(char pic[][BOARDER_SIZE]);
int display(char pic[][BOARDER_SIZE]);
int rotate(char pic[][BOARDER_SIZE... |
6b47f5814cf1beb1c72b8feea9ee49e4ecf492cc | 9ada6ca9bd5e669eb3e903f900bae306bf7fd75e | /case3/ddtFoam_Tutorial/0.007600000/fH | 1f4b9f1f1cf9106b2341f9ad9aaea2849f963710 | [] | no_license | ptroyen/DDT | a6c8747f3a924a7039b71c96ee7d4a1618ad4197 | 6e6ddc7937324b04b22fbfcf974f9c9ea24e48bf | refs/heads/master | 2020-05-24T15:04:39.786689 | 2018-01-28T21:36:40 | 2018-01-28T21:36:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 123,594 | fH | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.1.1 |
... | |
c99a0fe2e2832ab616736be17356edd1751e50ac | db557a30a28f77774cf4662c119a9197fb3ae0a0 | /VulkanExtensionFunctions/vkCreateSharedSwapchainsKHR.cpp | a8f1f50166c15e4ed2313d818663ef525a6cd3c7 | [
"Apache-2.0"
] | permissive | dkaip/jvulkan-natives-Linux-x86_64 | b076587525a5ee297849e08368f32d72098ae87e | ea7932f74e828953c712feea11e0b01751f9dc9b | refs/heads/master | 2021-07-14T16:57:14.386271 | 2020-09-13T23:04:39 | 2020-09-13T23:04:39 | 183,515,517 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,188 | cpp | vkCreateSharedSwapchainsKHR.cpp | /*
* Copyright 2019-2020 Douglas Kaip
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... |
062dfdada831e1341fbcebe874e404918fc3e445 | a37d4e859eb081098ea3cf2b0d2438a12d9986aa | /codeforces-submissions/Codeforces Beta Round #84 (Div. 2 Only)/A. Nearly Lucky Number.cpp | 5b3f8d0aeb0615616f90bc81cf1d876ed435427c | [] | no_license | pg30/Competitive-Submissions | 098932c5c61f8a5d10d975df5d7f07d819d233df | 6c34d0821f1c35c984f611ac5dcf74f060176035 | refs/heads/main | 2023-05-09T02:20:02.295763 | 2021-06-02T10:10:41 | 2021-06-02T10:10:41 | 324,169,608 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 327 | cpp | A. Nearly Lucky Number.cpp | #include<bits/stdc++.h>
#define ll long long
using namespace std;
int main()
{
ll int n,count=0;
cin >> n;
while(n>0)
{
int a = n%10;
n = n/10;
if(a==4 || a==7)
count++;
}
if(count==4||count==7)
cout << "YES" << endl;
else
cout << "NO" << e... |
b7385066f7cb22176097ac156d621880771e9ef1 | f975b1e92e8e2682767b297e81621807c856bda3 | /src/game/Core/InputManager.cpp | fc031991850710bd033f3532ddd38c64e4767dad | [] | no_license | teamfisk/AgileBreakOut | 6aaaba5e1a3060dd21dfe376c6f2695df482bded | 22349fe0a696902df9694e37e2567627c47d4d95 | refs/heads/master | 2020-04-15T14:52:23.722282 | 2015-10-23T15:42:46 | 2015-10-23T15:42:46 | 41,863,654 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 9,973 | cpp | InputManager.cpp | /*
This file is part of Daydream Engine.
Copyright 2014 Adam Byléhn, Tobias Dahl, Simon Holmberg, Viktor Ljung
Daydream Engine 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 ... |
3a2513fcd2f0d08b0cce527244ec316e9a184a98 | d255a6c41b2d41e9351673a2b09872297ec051eb | /pat_a1003/pat_a1003_2.cpp | 6e7c90771724336416e982ef9d6c0756ce0dc49c | [] | no_license | wangruici/pat_doing | 9080e0adfc57fed801090c2ab4edd6e36729e5e4 | 440090c5bbea219fd1dd56465512038488781436 | refs/heads/master | 2021-01-24T01:22:18.170878 | 2018-04-18T13:58:07 | 2018-04-18T13:58:07 | 122,806,167 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 680 | cpp | pat_a1003_2.cpp | #include <cstdio>
#include <cstring>
#include <vector>
#include <set>
#include <algorithm>
using std::vector;
using std::set;
using std::fill;
const int MAXV=510;
const int INF=0x3fffffff;
struct Node{
int v,dis;
Node(int _v,int _dis):v(_v),dis(_dis){}
};
vector<Node> Adj[MAXV];
int n,m,st,ed,weight[MAXV];
int... |
54ba53fa3f1b83d222b4b3b799be024c42ea91d1 | 6c015426302feda2c29721a7e3039b89883fd0cd | /programmazione 2/esercizi vecchi/doppioni/doppioni.cpp | 441e6a56b2b2ae1f9bd05a2ada5c4bdca97237f6 | [] | no_license | FoxAlex98/UniCT | 9e59aeacb88d604d2783436b86fd134a63701445 | 3582d97d85953b153651f247c52db9007336667d | refs/heads/master | 2020-09-08T06:53:08.083163 | 2019-11-11T19:11:37 | 2019-11-11T19:19:00 | 221,051,474 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,020 | cpp | doppioni.cpp | #include<iostream>
#include<fstream>
using namespace std;
int main()
{
ifstream in;
ofstream out;
in.open ("input.txt");
out.open("output.txt");
int N,conta=0;
int *v,*d;
bool flag;
for(int i=0;i<10;i++)
{
in>>N;
v=new int[N];
d=new int[N];
for(int j=0;j<N;j++)
... |
68592d735c3e1012e585b420e44c524fe1fe1a06 | 52ca17dca8c628bbabb0f04504332c8fdac8e7ea | /boost/math/special_functions/detail/bessel_i0.hpp | 05e93cc165e3f2f1e463159b26f9c328a70d6eb8 | [] | no_license | qinzuoyan/thirdparty | f610d43fe57133c832579e65ca46e71f1454f5c4 | bba9e68347ad0dbffb6fa350948672babc0fcb50 | refs/heads/master | 2021-01-16T17:47:57.121882 | 2015-04-21T06:59:19 | 2015-04-21T06:59:19 | 33,612,579 | 0 | 0 | null | 2015-04-08T14:39:51 | 2015-04-08T14:39:51 | null | UTF-8 | C++ | false | false | 85 | hpp | bessel_i0.hpp | #include "thirdparty/boost_1_58_0/boost/math/special_functions/detail/bessel_i0.hpp"
|
c05f0a77cbb570ae8be7704560fb9c12cb97b8e5 | 82bba04be05e518845b99d749a3293668725e9e7 | /QHG3_python_package/QHG3/genes/GSTest.cpp | 42e913a83a721c8b212c4c72eaae95e283b99d01 | [] | no_license | Achandroth/QHG | e914618776f38ed765da3f9c64ec62b983fc3df3 | 7e64d82dc3b798a05f2a725da4286621d2ba9241 | refs/heads/master | 2023-06-04T06:24:41.078369 | 2018-07-04T11:01:08 | 2018-07-04T11:01:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,830 | cpp | GSTest.cpp | #include <stdio.h>
#include <string.h>
#include "types.h"
#include "GeneUtils.h"
#include "GenomeSegments.h"
//----------------------------------------------------------------------------
// display
//
void display(ulong *pGenome, int iNumBlocks, GenomeSegments *pGS) {
// pGS->showMasks();
int iNumSegm... |
d075f968f5d2cf2df36282085e02ba08f6db2163 | 8f7c8beaa2fca1907fb4796538ea77b4ecddc300 | /content/browser/renderer_host/file_utilities_message_filter.cc | e09e63e00d8013d923a4822faee39556fa84ea84 | [
"BSD-3-Clause"
] | permissive | lgsvl/chromium-src | 8f88f6ae2066d5f81fa363f1d80433ec826e3474 | 5a6b4051e48b069d3eacbfad56eda3ea55526aee | refs/heads/ozone-wayland-62.0.3202.94 | 2023-03-14T10:58:30.213573 | 2017-10-26T19:27:03 | 2017-11-17T09:42:56 | 108,161,483 | 8 | 4 | null | 2017-12-19T22:53:32 | 2017-10-24T17:34:08 | null | UTF-8 | C++ | false | false | 2,004 | cc | file_utilities_message_filter.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/renderer_host/file_utilities_message_filter.h"
#include "base/files/file_util.h"
#include "base/task_scheduler/lazy_task_ru... |
0e9ecbfa2f18b2acf57e9301dae5d2623787b635 | 0330844f10a8cc530bab0789a64ed56271372839 | /Backend/Testing/line_num.cpp | c1492882fab6a5afa6d0c33d22b9b6728691ab39 | [] | no_license | aynoor/Automated-Program-Repair-and-Visualization | c6606049d11e3bab9951f109cecf5204630a9fc6 | bfb9e831214de61e2b5fff258694442f053174c7 | refs/heads/master | 2020-12-31T05:09:52.907193 | 2017-03-01T23:45:02 | 2017-03-01T23:45:02 | 58,306,549 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,853 | cpp | line_num.cpp | #include "llvm/IR/LLVMContext.h"
#include "llvm/IR/DebugInfo.h"
#include "llvm/IR/Metadata.h"
#include "llvm/IR/Module.h"
#include "llvm/IRReader/IRReader.h"
#include "llvm/Pass.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/Support/SourceMgr.h"
#include "llvm/IR/InstIterator.h"
#include "llvm/IR/CallSite.h"
#... |
2bf9e3475435a930827661515188a5634e1fa7fb | 38b9daafe39f937b39eefc30501939fd47f7e668 | /tutorials/2WayCouplingOceanWave3D/EvalResults180628-fully/56.6/p_rgh | 326d8b687ea5333cada7eacb712917b7a3b09f8f | [] | no_license | rubynuaa/2-way-coupling | 3a292840d9f56255f38c5e31c6b30fcb52d9e1cf | a820b57dd2cac1170b937f8411bc861392d8fbaa | refs/heads/master | 2020-04-08T18:49:53.047796 | 2018-08-29T14:22:18 | 2018-08-29T14:22:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 196,797 | p_rgh | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 3.0.1 |
... | |
eb43104d3600e41fc8f15fcdd7641926065fbccb | c07797934115e827efe18190efb765825ddbeec8 | /playerbot/strategy/Engine.cpp | 5c96cbadf7b08a2de62b988ee2df1a87e122ecd3 | [] | no_license | conan513/mangosbot-bots | 5382d9939a0a5caedb91fa0f11cd773dd554f3c4 | 676ca668eae7c0814547b4a09f961a8a9eb214f8 | refs/heads/master | 2023-06-27T06:28:31.431732 | 2023-06-20T16:27:16 | 2023-06-20T16:27:16 | 153,980,213 | 7 | 3 | null | 2018-10-21T06:32:52 | 2018-10-21T06:32:52 | null | UTF-8 | C++ | false | false | 24,430 | cpp | Engine.cpp | #include "../../botpch.h"
#include "../playerbot.h"
#include <stdarg.h>
#include <iomanip>
#include "Engine.h"
#include "../PlayerbotAIConfig.h"
#include "../PerformanceMonitor.h"
using namespace ai;
using namespace std;
Engine::Engine(PlayerbotAI* ai, AiObjectContext *factory, BotState state) : Playerbo... |
a0b458cb8643c081e524d427a1f508ada0a06f43 | c70bf7c87a55b876bec7cfebe61ee0ca6f6ddf6b | /Chapter2/project6.cpp | 85dc3d8e59c1b4fc52677121d58e39b06c4e6190 | [] | no_license | jake-thewoz/savitch-cpp | 46247c309317bb15b63f6bfb174430f7e69dc03f | 417d54150adad7d3dd85b91665d63f4515b59af4 | refs/heads/master | 2023-01-14T17:40:05.798907 | 2020-11-05T20:08:10 | 2020-11-05T20:08:10 | 305,477,161 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,966 | cpp | project6.cpp | /*
* This program calculates an hourly paycheck in a realistic manner.
*
* It takes as input:
* 1. The employee's hourly rate
* 2. The employee's worked hours
* 3. The employee's amount of dependents
*
* The program outputs:
* 1. The gross pay
* 2. The amount witheld for each tax and deduction
* 3. The ... |
8438f79821258c6c56e6f480445f09111fa91384 | de70252e00ff90cf2202bb6fc5d25cae5a0b9a09 | /Application/Application.cpp | 3115f955cf6cc839a887155d5090334cff525f5d | [] | no_license | xjavorkas/Console | 66d1dc51fac7a8dfc6b13c6bb3105d0ccfdfe408 | fea010141bdf690fffc6aa95df39aba54f8e2488 | refs/heads/master | 2021-01-12T11:59:46.280909 | 2016-10-02T19:44:45 | 2016-10-02T19:44:45 | 68,852,815 | 0 | 0 | null | 2016-09-21T19:58:11 | 2016-09-21T19:58:11 | null | UTF-8 | C++ | false | false | 2,373 | cpp | Application.cpp | // ConsoleApplication1.cpp : Defines the entry point for the console application.
// Samuel Javorka, orezanie (cut)
#include "stdafx.h"
#include <stdlib.h>
#include <string>
#include "..\Library\Library.h"
#include <iostream>
void DisplayUsage(char * appPath)
{
char drive[_MAX_DRIVE];
char dir[_MAX_DIR... |
499ef02ccab0a8cbc367be9f585c70db8e9eaac4 | baea902246e853956f78a3a17fcb76a42d4ec574 | /Vertex.h | a3913cd082bd458d9fa8e8cc68ea57b34be549c7 | [] | no_license | Keehyuklee/SpanningTree | 9f2f4d8896a44389696f436e48b0aa9ce4fdcba4 | 1a86218d56f1051ab1538e54f091ee574702e5fd | refs/heads/master | 2020-03-08T01:34:11.676448 | 2018-05-18T18:32:40 | 2018-05-18T18:32:40 | 127,834,275 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 312 | h | Vertex.h | #ifndef Vertex_H_
#define Vertex_H_
#include <iostream>
#include "Edge.h"
class Vertex
{
friend class SpanningTree;
friend class Graph;
friend class Edge;
private:
char name[15];
Vertex* vNext;
Edge* adj;
public:
Vertex(void);
~Vertex(void);
void setname(char* c);
};
#endif |
cad396e6935a7f8246fc8a76a3e7fe7acddfd814 | fb44e5932fdb3e3c3695564bbbee8c4483e1b974 | /src/parser/parser_std.cpp | 14caa83ce130567655acc5c24b76b4b78e28e6bc | [] | no_license | EnguerrandPrebet/Projet-2 | 0a0dbee1fa7b54b91de88e8feb4185589b8b2ab9 | e4fa3205b6d511454d78319d3db15189cccf46f3 | refs/heads/master | 2021-01-18T22:59:51.448664 | 2016-05-19T17:19:28 | 2016-05-19T17:19:28 | 52,955,278 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 630 | cpp | parser_std.cpp | #include <cstdio>
#include <cstdlib>
#include <iostream>
#include "formula_input.hpp"
#include "std.tab.hpp"
#include "../DPLL/global.hpp"
using namespace std;
extern FILE *stddin;
extern FILE *stddout;
extern int stddparse(void);
extern Formula_input *res_std;
Formula_input* parser_std()
{
// parse through the i... |
9589859adf39d2b72c751bac2deae3da11deaf3a | f679bf935a00fad933fb6237ed486456b907d480 | /debounce/examples/nano-debounce/nano-debounce.ino | 33c90ae79c9f2eefd0d938ccf4996f5deaa81dbd | [] | no_license | LimeProgramming/rpi | da3b278578eae27c97bc70929be697fe2694fd9d | 9bed84eeb518a0348ddefe1acaa403ccc490212e | refs/heads/master | 2023-09-05T16:52:48.764546 | 2021-11-10T16:04:32 | 2021-11-10T16:04:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 247 | ino | nano-debounce.ino | #include <debounce.h>
#define led LED_BUILTIN
Debounce sw(7);
void setup() {
Serial.begin(115200);
pinMode(led, OUTPUT);
}
void loop() {
if (sw.falling()){
Serial.println("Falling");
digitalWrite(led, 1 - digitalRead(led));
}
}
|
49c3a4435735e0979bc192981eab147137cf0063 | 4f6fdd81ab8cc7c23aae58e42477f3eb3a35f71a | /Students/datadictionary.h | 8d471e87a580d8377e8e0516159a1dc19fffb388 | [
"Apache-2.0"
] | permissive | TmSakura/C-Qt-StudentManagementSystem-Multi-Users | 58371591d3c799d7802938ec21ac9b7ae2f4de88 | c0265e1ea2c675d461b03447e9af4ebfe4874723 | refs/heads/main | 2023-04-10T09:54:53.501416 | 2021-04-28T18:29:35 | 2021-04-28T18:29:35 | 347,852,291 | 23 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 3,280 | h | datadictionary.h | #ifndef DATADICTIONARY_H
#define DATADICTIONARY_H
#include <QMainWindow>
#include <QtSql>
#include <QDebug>
#include <QMessageBox>
#include <QInputDialog>
namespace Ui {
class DataDictionary;
}
class DataDictionary : public QMainWindow
{
Q_OBJECT
public:
explicit DataDictionary(QString use... |
a3abec9ebadc82437cf7316895dcde87533cc784 | e88f8d973fd9e725d6041670c57b016b95eb5571 | /10361 - Automatic Poetry.cpp | d0f21e02ccde3c0d16d3dab47dffa86f388b0bd9 | [] | no_license | rhasanrakib/UVA-Problem-Solved- | 577a49ec041e7ab322e4413bac8b3bd93327f4b6 | 5bdf5fc284c80979f8018ecd9c5719895a0d2462 | refs/heads/master | 2023-03-13T04:21:03.762698 | 2021-02-28T10:03:24 | 2021-02-28T10:03:24 | 132,423,088 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,445 | cpp | 10361 - Automatic Poetry.cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
char s1[500];
char s2[500];
stack<string>stk;
queue<string>qe;
int a,b,c,d,i,j,k,l,n,t;
cin>>n;
getchar();
string s3="";
char ch[100];
for(t=1; t<=n; t++)
{
gets(s1);
gets(s2);
int len=strlen(s... |
4d8c82feaae3bffe82337b3dc4b4f25e87c98402 | 49427f4ed9004ddadeca6f9b7a7a048a0381c257 | /Software/gridMeter/indicator.cpp | ca4c76ef5d6eb51b0e61cce10500b4fc4f776c8e | [
"MIT"
] | permissive | re-innovation/gridMeter | e31e11f588be39e7feee5e88a17db2fd224cfbff | 651c2d3036f411b4635e32f6e00f7829ef7a0c08 | refs/heads/master | 2021-01-17T12:49:10.141679 | 2017-03-30T07:42:12 | 2017-03-30T07:43:15 | 59,817,374 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,752 | cpp | indicator.cpp | /*
* indicator.cpp
*
* Provides indicator functionality for the grid meter.
* The current indicator is a BYJ48 geared stepper motor.
* Homing is provided by an IR photoreflector.
*
*/
/*
* Arduino Includes
*/
#include <Arduino.h>
#include <SoftwareSerial.h>
#include "stepper.h"
/*
* Application Includes
... |
53bfac5066596f81548e16e6841bf7336945e5a4 | 2d9fe1e589fc95176d4e62f68ccb1afb476740c8 | /Q5/client.cpp | 2104bca8ff3b7caf67873c61cf401192696e7777 | [] | no_license | pkc232/ComputerNetworksLab | 450a20f47baf1075bf8e45112303d00b5c828719 | 8219720b9a266e07375d1f09b972186cd9a6868f | refs/heads/master | 2020-04-07T07:00:52.060743 | 2018-11-19T04:04:41 | 2018-11-19T04:04:41 | 158,160,048 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,093 | cpp | client.cpp | #include <bits/stdc++.h>
#include <sys/socket.h>
#include <netinet/ip.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <netinet/tcp.h>
#include <arpa/inet.h>
using namespace std;
unsigned short csum(unsigned short *ptr,int nbytes)
{
register long sum;
unsigned short oddbyte;
registe... |
28710321d80b3e77b3f70d9103d7f2bb0e8bd272 | 69b3067f21c45db9fd16cf825cdab8edf46bd0b3 | /SDK-A13/usr/arm-obreey-linux-gnueabi/sysroot/usr/local/include/common_utilities/common_utilities.h | 6a695a69a3293e457746558746b2027df21ddcd7 | [] | no_license | c3pio-man/SDK_6.3.0 | 0d0b2bd3698bce00d82f64cdef3c06ac61b8f253 | cb54259cac9cf20154c75e2aa5385c19f9cb2979 | refs/heads/master | 2023-07-06T10:07:03.739396 | 2019-10-23T08:24:43 | 2019-10-23T08:24:43 | 185,983,208 | 0 | 1 | null | 2019-05-10T12:18:12 | 2019-05-10T12:18:12 | null | UTF-8 | C++ | false | false | 372 | h | common_utilities.h | #ifndef COMMON_UTILITIES_H
#define COMMON_UTILITIES_H
#include <string>
namespace pocketbook {
namespace utilities {
// return 0 - successfull, 1 - error
int RunAdobeScanner(const std::string& file_path, const std::string& png_path, int width = 0, int height = 0, bool metadata = true);
} // namespace utilities
} //... |
0d465f15a276c22e1223b16dd35bb66bb1f9282c | 2cd0803ba1e648d591cb3bae11e879de179f0f93 | /Contests/_Archived/Old-Dell/Nowcoder/200b.cpp | 6469cb30afc2be7e4018ce72410d4ed3a839c210 | [
"MIT"
] | permissive | DCTewi/CodeWorkspace | 62e323fc126d92c9e20c711cae4bac9220907e64 | 9904f8057ec96e21cbc8cf9c62a49658a0f6d392 | refs/heads/master | 2023-05-31T23:46:55.126704 | 2021-06-23T12:11:45 | 2021-06-23T12:11:45 | 175,194,197 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,318 | cpp | 200b.cpp | #include<bits/stdc++.h>
using namespace std;
#define int long long
const int maxn=100000+10;
int n,m;
struct Node
{
int l,r;
int sum1,sum2,sum3;
int add,mul,alt;
void Update_Alt(int x)
{
sum1 = (r-l+1) * x;
sum2 = (r-l+1) * x * x;
sum3 = (r-l+1) * x * x * x;
alt=x;
... |
634781b549e20ecab1962f09c45273f545171e78 | 6763bd19878c9be2570667103e4e074b0cf63985 | /mainwindow.cpp | 948f28b7ed825a79ba352ad9c14b7ef09124943c | [] | no_license | jonathanschilling/img_to_coord | 7850ec2874aad814536af0e5ec2d81dabaab8a2f | e955201081939b0bb7438c06593c01e217ccee88 | refs/heads/master | 2020-05-21T08:09:51.577183 | 2019-05-10T11:18:16 | 2019-05-10T11:18:16 | 185,974,335 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,280 | cpp | mainwindow.cpp | #include "mainwindow.h"
#include "ui_mainwindow.h"
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
ui->setupUi(this);
// x_start = 324;
// x_end = 905;
// y_start = 571;
// y_end = 198;
// x_dim = 60;
// y_dim = 36;
// dimensions of green re... |
bfe595e0c310c412d97fc7833ef42331b9dabb90 | f9e8c2909077ae841354163cc113b4a6f1449b84 | /Cpp/execrise/NumberOf1Between1AndN_Solution.cpp | d1f1c2855e801ba455ae4b5e9a90c8ecadbbb3c8 | [] | no_license | roommmmmmmm/c_exercise | 1cbd04a0c9e184cedbceee29fc6721cd0f8238eb | 088506369b7b9e89afe0edc5829ddb57d7cb3a86 | refs/heads/master | 2020-05-21T15:02:33.321276 | 2016-11-14T10:26:08 | 2016-11-14T10:26:08 | 65,726,012 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 944 | cpp | NumberOf1Between1AndN_Solution.cpp | class Solution {
public:
int NumberOf1Between1AndN_Solution(int n){
/*int ones = 0;
for (long long m = 1; m <= n; m *= 10)
ones += (n/m + 8) / 10 * m + (n/m % 10 == 1) * (n%m + 1);
return ones;*/
int count = 0;
for(int i = 0; i <= n; i++){
int te... |
6290a8395bb75708bfdc236c3bf711e5f1eaa9c7 | 5c8a0d7752e7c37e207f28a7e03d96a5011f8d68 | /MapTweet/iOS/Classes/Native/AssemblyU2DCSharp_OnlineMapsTileSetControl3368302803.h | 960e08c07198c301cf1ceaaff99ff8aaedcd3c17 | [] | no_license | anothercookiecrumbles/ar_storytelling | 8119ed664c707790b58fbb0dcf75ccd8cf9a831b | 002f9b8d36a6f6918f2d2c27c46b893591997c39 | refs/heads/master | 2021-01-18T20:00:46.547573 | 2017-03-10T05:39:49 | 2017-03-10T05:39:49 | 84,522,882 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 46,840 | h | AssemblyU2DCSharp_OnlineMapsTileSetControl3368302803.h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
// System.Action`2<OnlineMapsTile,UnityEngine.Material>
struct Action_2_t2903233652;
// System.Predicate`1<OnlineMapsMarker>
struct Predicate_1_t1935136797;
// System.Action`2<UnityEn... |
94568caa1c059497188d394e63f10f7f4d2d9f2d | bf14719bbfbf1a7668420d4034d214c90ae72cfe | /prefs.h | d52478f03918ac24128b1912b048f75344b502a4 | [] | no_license | showermat/libutil | 0da35ec26625ce6b33f7b6b2ce46ae4c9b70c2a3 | aba1365d5a1dfe32453c2a1c06619c8b9b8393cc | refs/heads/master | 2020-04-18T19:18:59.456031 | 2019-10-16T02:10:38 | 2019-10-16T02:10:38 | 67,646,126 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,263 | h | prefs.h | #ifndef UTIL_PREFS_H
#define UTIL_PREFS_H
#include <string>
#include <map>
#include <vector>
#include <memory>
#include <iostream>
#include <fstream>
#include <sstream>
#include <type_traits>
#include <typeinfo>
#include "util.h"
class prefs // TODO Move code into a .cpp file
{
private:
struct base_pref
{
std::str... |
1fc4c278304245a52e19b22c2a184e01958bd143 | 0577a46d8d28e1fd8636893bbdd2b18270bb8eb8 | /update_notifier/thirdparty/wxWidgets/src/osx/core/colour.cpp | f3ecd7c624baa150f3afa39168a245162fe688fa | [
"BSD-3-Clause"
] | permissive | ric2b/Vivaldi-browser | 388a328b4cb838a4c3822357a5529642f86316a5 | 87244f4ee50062e59667bf8b9ca4d5291b6818d7 | refs/heads/master | 2022-12-21T04:44:13.804535 | 2022-12-17T16:30:35 | 2022-12-17T16:30:35 | 86,637,416 | 166 | 41 | BSD-3-Clause | 2021-03-31T18:49:30 | 2017-03-29T23:09:05 | null | UTF-8 | C++ | false | false | 6,497 | cpp | colour.cpp | /////////////////////////////////////////////////////////////////////////////
// Name: src/osx/core/colour.cpp
// Purpose: wxColour class
// Author: Stefan Csomor
// Modified by:
// Created: 1998-01-01
// Copyright: (c) Stefan Csomor
// Licence: wxWindows licence
//////////////////////////////... |
f996be19a68babb691d5cb2ccb131a1f2feab3b9 | a6859fceb57bb63abf52a237ef1aee6d49e6c898 | /Vjezba6/Vjezba6_1/book.cpp | 9352f5f415ad6d6aacb430ee9829fd082cf47bfa | [] | no_license | tina-dragicevic/VjezbeCPP | e0cff325dd2be725f5b0f048e947f80c5a3fe20c | 312e35bb343a384e7cab6211b0f886c77b0d1a30 | refs/heads/master | 2021-03-01T19:27:19.867586 | 2020-06-04T16:39:08 | 2020-06-04T16:39:08 | 245,809,612 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,900 | cpp | book.cpp | #include <iostream>
#include <string>
#include <string.h>
#include <fstream>
#include <iterator>
#include <vector>
#include <cstdlib>
#include <bits/stdc++.h>
#include "book.hpp"
Book::Book(){}
Book::Book(std::string name, std::string book){
this->name = name;
this-> book = book;
this-> year = 0;
}
void ... |
04ac8e59d05de865d7f6dc767c4ae59bd5de3acb | c392cea360fa4c954ea3dc39b668a73bda54c327 | /c++11_learning/template_arg/templat_arg.cpp | 0f9fc43c5fc1b6c41c650f07198fe34850da52ab | [] | no_license | CCSHUN/working_fish | a1403333f925c4f50f3813178253c80a1197c8e3 | 38baa17bcd65aa3749f9c3a8ef99c353f7ef6800 | refs/heads/master | 2022-12-29T15:37:34.143294 | 2020-10-17T02:55:39 | 2020-10-17T02:55:39 | 281,035,924 | 0 | 0 | null | 2020-10-17T02:55:40 | 2020-07-20T06:42:37 | C++ | UTF-8 | C++ | false | false | 186 | cpp | templat_arg.cpp | #include <iostream>
using namespace std;
template<class ... T>
void func(T ... args)
{
cout<<"num is"<<sizeof ...(args)<<endl;
}
int main() {
func();
func(1, 2, 3);
return 0;
} |
b2bd9d59908fa7b1501f12e7092b770dced3c3ff | edf233a2a8b960db7e11458031b812a3741459f6 | /src/PortHandler.h | 17dd66d1331983091a550474bca4b69b1e3c0bb9 | [] | no_license | AliArdaGirgin/ulak | 156b27ef1c02293d98ba53af797dbfddaf46bb10 | e3853b348ca2f974e0911d409e3b1de5d455ca6a | refs/heads/master | 2023-08-13T02:26:58.821197 | 2021-09-09T17:55:35 | 2021-09-09T17:55:35 | 404,062,154 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 619 | h | PortHandler.h | #ifndef PORT_HANDLER_H
#define PORT_HANDLER_H
#include <QObject>
#include <QSerialPort>
#include <QByteArray>
#include <QTimer>
#include "DataType.h"
class PortHandler:public QObject{
Q_OBJECT
public:
PortHandler(QObject *parent=0);
static bool commExists();
bool setPort(QSerialPort *... |
39904060231695b16aa95b220588242788b9d080 | f75d23537ad491a0e5ea456cad2bf2f3df747381 | /source/discord/client.cpp | fb5a7ffe479ff7d83ed7a63e0011fe1a2caea72f | [
"MIT"
] | permissive | kociap/Discordpp | ae37efd80ab85226910557f038adaac389f1e47d | fcbf30d199ec217e0e6289aee96e365de383dbda | refs/heads/master | 2020-04-02T17:36:03.081975 | 2019-01-14T09:55:00 | 2019-01-14T09:55:00 | 154,663,948 | 0 | 1 | MIT | 2019-01-15T07:44:18 | 2018-10-25T12:04:47 | C++ | UTF-8 | C++ | false | false | 7,430 | cpp | client.cpp | #include "client.hpp"
#include "opcodes.hpp"
#include "urls.hpp"
#include "nlohmann/json.hpp"
#include "rpp/rpp.hpp"
#include "websocketpp/connection.hpp"
#include <QDebug>
#include <fstream>
#include <map>
// Timer
namespace discord {
Timer::Timer(Stop_Function const& stop) : stop(stop) {}
void Timer::can... |
fe12aab07a3eada402442c080e833660d8492257 | ca940a93d48feb14ab8ce3ec99d9c0c67668cd07 | /kernel/CPU.cpp | 19300b93b247924f4cc789656967e5641f13ed62 | [] | no_license | cocoajunkie/vm | 2583acb743c9438bed8a1d809cde8b595c1a9b28 | dfce0cec1645ce4195c4f75b73910606ebe3033b | refs/heads/master | 2021-01-01T05:52:08.707847 | 2009-01-10T19:06:16 | 2009-01-10T19:06:16 | 104,797 | 5 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,058 | cpp | CPU.cpp | #include <IOKit/IOBufferMemoryDescriptor.h>
#include <IOKit/IOLocks.h>
#include "CPU.h"
#include "Log.h"
#include "Registers.h"
#include "VMX.h"
#include "KernelExports.h"
CPU* cpu_new() {
CPU* cpu = (CPU*)IOMalloc(sizeof(CPU));
if (!cpu) {
LOG_ERROR("cpu_new: can't allocate CPU");
return NULL;
}
memset(cpu, ... |
bf93cd9216679083506a1949a75795e6a565f13d | 95efcbe634d1d8f8c8bbbe4496c91dc9053cac63 | /Siv3D/src/Siv3D/Quaternion/SivQuaternion.cpp | c2457a8dd5e16efb4e61877bf966401d2a447ebd | [
"MIT"
] | permissive | Toshahiko/OpenSiv3D | 74d9fc6dc219a92f6127c52cb1845241f8082668 | 26c2304fe8524a8fbb4e334b6108d8eeaf6438a5 | refs/heads/master | 2022-08-08T15:57:09.558623 | 2022-08-02T11:42:01 | 2022-08-02T11:42:01 | 220,251,401 | 0 | 0 | MIT | 2022-08-02T11:42:02 | 2019-11-07T14:08:25 | null | UTF-8 | C++ | false | false | 1,524 | cpp | SivQuaternion.cpp | //-----------------------------------------------
//
// This file is part of the Siv3D Engine.
//
// Copyright (c) 2008-2022 Ryo Suzuki
// Copyright (c) 2016-2022 OpenSiv3D Project
//
// Licensed under the MIT License.
//
//-----------------------------------------------
# include <Siv3D/Quaternion.hpp>
# include <Si... |
cab9bd892574d7b3c4a024a7115d8c1938d11adf | a46cc70583b0c11127dfa0fac9d44b52fb4821d3 | /serial/crc32.cpp | 79badcbc5b23b6b5b92365b752bf642ddcd25a01 | [] | no_license | francescotosoni/crc | 179185e4d7addd357361b29c6ea20296c6544b00 | 8703fc02250659d60b745397a49bb239433be412 | refs/heads/main | 2023-01-06T12:25:10.656199 | 2020-11-13T08:57:12 | 2020-11-13T08:57:12 | 303,300,395 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,563 | cpp | crc32.cpp | #include<iostream>
static const uint32_t table[] = {
0x00000000, 0xF26B8303, 0xE13B70F7, 0x1350F3F4, 0xC79A971F, 0x35F1141C, 0x26A1E7E8, 0xD4CA64EB,
0x8AD958CF, 0x78B2DBCC, 0x6BE22838, 0x9989AB3B, 0x4D43CFD0, 0xBF284CD3, 0xAC78BF27, 0x5E133C24,
0x105EC76F, 0xE235446C, 0xF165B798, 0x030E349B, 0xD7C45070, 0x25A... |
bc1369d42467f1e252f697c4dc0a9ae8c0e7038c | 2307db20bbea63dae055ea9b9f73c6a0f812dacc | /Array/BinarySearch.cpp | cec3bbb9f3f31a3891f61cc24691d042b8956a70 | [] | no_license | NeelayRaj/CPPNotes | 4801d9d12b921f31059602e30b6abe98dc6b6a52 | 86582041dcb9a5666613bd05db43449e8d6df786 | refs/heads/main | 2023-08-16T12:17:32.697524 | 2021-10-11T12:55:28 | 2021-10-11T12:55:28 | 406,369,664 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 694 | cpp | BinarySearch.cpp | #include <iostream>
using namespace std;
int BinSearch(int n ,int arr[], int s)
{
if (n/2 <= s)
{
for(int i = n/2; i < n; i++)
{
if(arr[i]==s)
return i;
}
}else
{
for (int i = 0; i < n/2; i++)
{
if (arr[i]==s)
retur... |
de41c125e822a62a4841a9a8853c74417634ea71 | dcb1f00dd38014e0e1d37bed60fa412e29f71140 | /wrapper/Core/SWWebPage.h | 8d7ee2e6bba528e77e758fe848a2007672900819 | [] | no_license | hualaw/ServerWebkit | 1ed5ac2845ec18ab9d7a7a08cdf610575938ad00 | be4c9a47b7c4edaf40a195b058c75903016a45bb | refs/heads/master | 2020-03-28T14:29:52.963519 | 2018-09-12T14:27:08 | 2018-09-12T14:27:08 | 148,492,820 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 360 | h | SWWebPage.h | #ifndef _SERVER_WEBKIT_WRAPPER_WEB_PAGE_H__
#define _SERVER_WEBKIT_WRAPPER_WEB_PAGE_H__
#include "qwebpage.h"
class SWWebPage : public QWebPage
{
Q_OBJECT
public slots:
bool shouldInterruptJavaScript() {return true;};
public:
SWWebPage(QObject* parent);
virtual ~SWWebPage();
void clearHistory();
};
#endif... |
624157fed42e609a926759f3bbeadbc55b5cf7e3 | b73f27ba54ad98fa4314a79f2afbaee638cf13f0 | /projects/MainUI/TrayIconPosition.h | ff86c751c53fafaa9844962cfd03dda1ef95f786 | [] | no_license | weimingtom/httpcontentparser | 4d5ed678f2b38812e05328b01bc6b0c161690991 | 54554f163b16a7c56e8350a148b1bd29461300a0 | refs/heads/master | 2021-01-09T21:58:30.326476 | 2009-09-23T08:05:31 | 2009-09-23T08:05:31 | 48,733,304 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,608 | h | TrayIconPosition.h | // TrayIconPosition.h: interface for the CTrayIconPosition class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_TRAYICONPOSITION_H__9FD8A5A1_419F_11D7_B751_00304F20BD3B__INCLUDED_)
#define AFX_TRAYICONPOSITION_H__9FD8A5A1_419F_11D7_B751_00304F20BD3B__INCLUDED_
#if _... |
c5737bafe1c0b16742c9d3624e9a0c8a2e71a26d | ea9fdab491ca277959f7dc59004d1a30c4ee6be4 | /chromium/patches/patch-chrome_browser_download_download__prefs.h | 8d1a2452e4eb48bdf42f3df4c314061df9b73a0f | [] | no_license | NetBSD/pkgsrc-wip | 99f40fb6f56e2a5a11840a810e9cf8b6097e7f21 | c94e923855e9515400435b2437a1659fdb26d2fb | refs/heads/master | 2023-08-30T14:27:26.946664 | 2023-08-30T12:09:15 | 2023-08-30T12:09:15 | 42,824,785 | 81 | 59 | null | 2021-01-28T20:10:38 | 2015-09-20T18:44:07 | Makefile | UTF-8 | C++ | false | false | 996 | h | patch-chrome_browser_download_download__prefs.h | $NetBSD$
--- chrome/browser/download/download_prefs.h.orig 2020-07-08 21:40:34.000000000 +0000
+++ chrome/browser/download/download_prefs.h
@@ -110,7 +110,7 @@ class DownloadPrefs {
// Disables auto-open based on file extension.
void DisableAutoOpenByUserBasedOnExtension(const base::FilePath& file_name);
-#if ... |
0ae05a9f5bf63ff105aabc1ae6825b9d754313cc | 7f31cefb537b8bdcc8c48bf39db0ade43f4b8aba | /BorderedCanvas.h | 05f39e582ee68e3223ede98b0bc2317bf7745aed | [] | no_license | GeStanley/assignment4 | 3e0b071ce8ae5bd8367e4a0cdb97432847a0254c | 90a3d55cac3cb5b07627ef7fa61f46d869bec241 | refs/heads/master | 2016-09-05T22:05:04.660325 | 2014-07-28T14:53:54 | 2014-07-28T14:53:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 484 | h | BorderedCanvas.h | #ifndef BORDEREDCANVAS_H_
#define BORDEREDCANVAS_H_
#include <vector>
#include "Canvas.h"
using namespace std;
class BorderedCanvas : public Canvas
{
public:
//**** constructors ****//
BorderedCanvas (const int & , const int &);
//**** virtual functions ****//
void clear(const char & = ' ') override;
void... |
afba4e66698dbb09471529d6ff5c1212f7d5dbb6 | 4fd8ac5f1931df93ffdbe1f568d514e0cc6ca92c | /build-projet_selimbenaich-Desktop_Qt_5_9_9_MinGW_32bit-Debug/ui_dialog.h | b6a3334e5a51e0bf72995c675240656e6673b1bb | [] | no_license | TheRealSumpark/QT_Project | 4b0b5cf92de136be0ff933ba869094f5a81954b2 | b58f722806a085d0e2662272fe9f53571f48654d | refs/heads/master | 2021-05-21T14:02:17.330330 | 2020-04-23T14:47:28 | 2020-04-23T14:47:28 | 252,674,046 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,632 | h | ui_dialog.h | /********************************************************************************
** Form generated from reading UI file 'dialog.ui'
**
** Created by: Qt User Interface Compiler version 5.9.9
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************... |
82a9f9f13c4f061666c94658842b9dfc4ca158b7 | 9fc7c8a1e1b6ca45a449cb509fa79dfe2bb14d43 | /game_engine.cpp | 1b6860e151d523fbb5eed7732b60df96fe66f4d3 | [] | no_license | mikaevnikita/tic-tac-toe | cd16c27e888ebabc80be5df5f110cc24050df83d | f237643f12213a666d3fa8048830b74a085fc7cd | refs/heads/master | 2021-09-02T02:30:07.799005 | 2017-12-29T18:57:03 | 2017-12-29T18:57:03 | 115,746,744 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,600 | cpp | game_engine.cpp | #include "game_engine.h"
#include <stdexcept>
using GameConstants::GameConstant;
GameConstant GameEngine::whoseTurn(){
if(winner != GameConstant::CONTINUE)
return GameConstant::EMPTY;
return current_gamer;
}
GameEngine::GameEngine(const int& size, QObject* parent):QObject(parent)
{
pArray=nullptr... |
bcd97cab3f019ccaea897765acb4b5a4e987773c | 185a45256591cf3e70e00bab721d966a4e71ca2c | /DirectX11 Engine/DirectX11 Engine/Src/Game Objects/Lights/AmbientLight.h | f9152b4b913a744980fcd0c66b02fa0a2ce369d6 | [] | no_license | fourthskyinteractive/dx11-engine | f031c00a82002bf2d3cd18656d368f5af25891c0 | a739725f91b5c39afc3306ac032cadde7f82eaec | refs/heads/master | 2020-04-27T19:53:26.027730 | 2014-05-13T07:56:23 | 2014-05-13T07:56:23 | 39,148,228 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 795 | h | AmbientLight.h | #ifndef AMBIENTLIGHT_H
#define AMBIENTLIGHT_H
#include <d3d11.h>
#include <d3d11shader.h>
#include "../../Game/Definitions.h"
class AmbientLight
{
private:
XMFLOAT4 color;
char* lightName;
bool isLightOn;
public:
AmbientLight() : color(XMFLOAT4(1.0f, 1.0f, 1.0f, 1.0f)), isLightOn (false){}
Ambie... |
b9a6e4c536e47e779ca1ec89b9fba383e44d83e3 | 8cc6d6f590285ef00e0f30e0151c4d407847b651 | /build_test/windows-build/Sources/src/kha/audio2/Audio1.cpp | c26356aeda162fbb81b8992e46b56f047cc25e8f | [] | no_license | piboistudios/ArmoryDeformIssues | e087d5097af74f958fd89dd8dd17ca57627bf6d1 | 84e8b14c5098a4a4db310c5177c5dcd46f40212d | refs/heads/master | 2020-03-24T11:42:11.270376 | 2018-07-28T16:33:45 | 2018-07-28T16:33:45 | 142,692,926 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 23,489 | cpp | Audio1.cpp | // Generated by Haxe 3.4.4 (git build master @ 99b08bb)
#include <hxcpp.h>
#ifndef INCLUDED_c5728fd05c542abe
#define INCLUDED_c5728fd05c542abe
#include "cpp_float32array.h"
#endif
#ifndef INCLUDED_cpp_vm_Mutex
#include <cpp/vm/Mutex.h>
#endif
#ifndef INCLUDED_haxe_io_Bytes
#include <haxe/io/Bytes.h>
#endif
#ifndef INC... |
98b60a1e01f2c2e7def86f95d55b19075bcab74d | 9fb3b82d5bf304d1420a3d314b4c7941a71cbc54 | /vslamTypes.h | fd91daae7295e46bc3c62c0f44d7bd4ff298b7d6 | [] | no_license | Halmoni100/vslam_utils | c3d0bd1714975053d66d0a57506c4f13378555a9 | 539fcf5d1cde1afb78494225bb36c1c24a34b01a | refs/heads/master | 2020-06-15T11:24:40.294109 | 2019-07-08T00:59:05 | 2019-07-08T00:59:05 | 195,286,138 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 113 | h | vslamTypes.h | #pragma once
#include <Eigen/Dense>
using namespace Eigen;
typedef Transform<float,3,Affine> AffineTransform;
|
d7669a094b82d67e4551ec298d3ace8970a51d83 | 51f2492a5c207e3664de8f6b2d54bb93e313ca63 | /codechef/april21a/boolgame.cc | 389858de8048cfca6b1861647ebe14d474107433 | [
"WTFPL",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | abeaumont/competitive-programming | 23c5aabd587d7bb15a61efd3428838cb934233dd | a24c9b89941a59d344b51dc1010de66522b1a0dd | refs/heads/master | 2023-09-01T09:50:58.267361 | 2023-07-31T18:00:10 | 2023-07-31T18:00:10 | 117,589,708 | 618 | 262 | WTFPL | 2023-07-12T17:36:20 | 2018-01-15T20:00:56 | C++ | UTF-8 | C++ | false | false | 1,415 | cc | boolgame.cc | // https://www.codechef.com/APRIL21A/problems/BOOLGAME
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using vi = vector<ll>;
using si = set<ll>;
using vsi = vector<si>;
using vvsi = vector<vsi>;
int main() {
cin.tie(0), ios::sync_with_stdio(0);
ll t, n, m, k;
cin >> t;
while (t--) {
c... |
b52ef6c04f5ac8f34bc27d16d436fce2c708ee7b | 7a5d3f49de8687fd6ab76c79b54fc457c3aa08d9 | /include/death/entity_death_node.h | 29574e147c09a96b61859d69f9ebf25eb986be73 | [] | no_license | AntonyMoes/ACID | c97bc9cfe0fdeb4a2df6ecd1335d38c52f474515 | 51d76e6eaf60f956a077b4655b4e47dd2c8b9efb | refs/heads/master | 2023-03-10T23:41:58.692939 | 2018-12-25T09:20:14 | 2018-12-25T09:20:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 318 | h | entity_death_node.h | #ifndef ACID_INCLUDE_ENTITY_DEATH_NODE_H_
#define ACID_INCLUDE_ENTITY_DEATH_NODE_H_
#include <node.h>
#include <death_component.h>
class EntityDeathNode: public Node<EntityDeathNode> {
public:
EntityDeathNode() {
add_component<DeathComponent>();
}
};
#endif // ACID_INCLUDE_ENTITY_DEATH_NODE_H_
|
50cc7efa5ce81a5a60c2d12c152461fa570d6be4 | bdd895cf51d292a9a6ca3da1655db1b5c616a44a | /cpp/cpp_meta_01.cpp | e68129f31a705969c3ec6cff7e634c18dd003f95 | [] | no_license | jun20061588/codefeeling | e397fec519a1f386757d81a4e6aac4f1c95a01e3 | 3bef0b42e1217a8e1b2ab41e505ae550e165d381 | refs/heads/master | 2022-04-12T15:19:26.881768 | 2020-03-30T07:22:37 | 2020-03-30T07:23:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,323 | cpp | cpp_meta_01.cpp | #include<time.h>
#include <iostream>
template<typename T, int i=1>
class someComputing {
public:
typedef volatile T* retType; // 类型计算
enum { retValume = i + someComputing<T, i-1>::retValume }; // 数值计算,递归
static void f() { std::cout << "someComputing: i=" << i << '\n'; }
};
template<typename T> //... |
84f3e57dd73e95f4bddc81a7fb78d2d47748d1e3 | eedebf357f678c1418c50c236b4bad1ef254c5be | /bench/Bigram.cpp | 06a01f24b56f8cdf1250b77d532c11e8b4f08fcd | [
"BSD-3-Clause"
] | permissive | facebook/wdt | c915a71e42ea0d945015eff0140731856ab2d15d | 3b52ef573129fb799319630bd438717761111f57 | refs/heads/main | 2023-09-05T07:25:03.544481 | 2023-07-11T18:42:54 | 2023-07-11T18:42:54 | 22,231,878 | 3,038 | 508 | NOASSERTION | 2023-04-16T13:37:33 | 2014-07-24T21:23:34 | C++ | UTF-8 | C++ | false | false | 2,565 | cpp | Bigram.cpp | /**
* Copyright (c) 2014-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
/*
* Bigram.cpp
*
* Created on: Jun 24, 2015
* Author: ldemailly
*/
#include "wdt/bench/Bigram.... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.