text
stringlengths
4
6.14k
// =================================================================================================== // _ __ _ _ // | |/ /__ _| | |_ _ _ _ _ __ _ // | ' </ _` | | _| || | '_/ _` | // |_|\_\__,_|_|\__|\_,_|_| \_...
#ifndef _MCU_ROM_ #define _MCU_ROM_ #include <cstdint> #include "system_bus.h" class ROM: public SystemBusPeripheral { public: ROM(uint32_t nPages); virtual ~ROM(); uint32_t get_number_of_pages() const { return nPages; } void set_contents(uint8_t *contents); uint8_t read_byte(uint32_t pAddr); uint16_t r...
#ifndef SETTINGS_H #define SETTINGS_H #include <vector> #include "utils/floatpoint.h" #ifndef VERSION #define VERSION "DEV" #endif #define FIX_HORRIBLE_UNION_ALL_TYPE_A 0x01 #define FIX_HORRIBLE_UNION_ALL_TYPE_B 0x02 #define FIX_HORRIBLE_EXTENSIVE_STITCHING 0x04 #define FIX_HORRIBLE_UNION_ALL_TYPE_C 0x08 #...
/// The declaration of the base type of the system object implementations. /// \file /// \author Antti Kivi /// \date 18 April 2018 /// \copyright Copyright (c) 2018–2020 Antti Kivi. /// Licensed under the Effective Elegy Licence. #ifndef ODE_SYSTEMS_OBJECT_H #define ODE_SYSTEMS_OBJECT_H namespace ode { /// /// T...
#ifndef __T42_H__ #define __T42_H__ /****************************************************************** * This file has been created to test * the XSLT Bindings Generator (XBiG) * * It is based on a problem occured * during the generation of ogre4j * * Problems: * - type modifier __inline * - ignorance of te...
/* * Get one image using libdc1394 using the DMA interface (viedo1394). * Nothing is done with the image. * * Written by Damien Douxchamps <ddouxchamps@users.sf.net> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * Licens...
/* BEGIN_COMMON_COPYRIGHT_HEADER * (c)LGPL2+ * * Razor - a lightweight, Qt based, desktop toolset * http://razor-qt.org * * Copyright: 2010-2011 Razor team * Authors: * Petr Vanek <petr@scribus.info> * * This program or library is free software; you can redistribute it * and/or modify it under the terms of...
/**************************************************************************** * Copyright (C) 2009-2021 Savoir-faire Linux Inc. * * Author : Jérémy Quentin <jeremy.quentin@savoirfairelinux.com> * * Emmanuel Lepage Vallee <emmanuel.lepage@savoirfairelinux.com> * * ...
/* Copyright (c) 2004-2010 Jason McMullan <jason.mcmullan@gmail.com> USB/HID I/O routines */ /* * This program 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 2.1 of the Lice...
#pragma once #include <QObject> #include <QTimer> #include <QMediaPlayer> #include <QMediaPlaylist> #include "musicdatabase.h" #include "widgets/playlistwidget.h" #include "widgets/musictoolbar.h" #include "util/music_global.h" #include "backend/musicdatabase.h" class PlayListWidget; class MusicToolBar; class Player ...
/* IteratorDictStringVector.h * Copyright (C) 2014, Francisco Claude & Rodrigo Canovas & Miguel A. Martinez-Prieto * all rights reserved. * * Iterator class for scanning a vector of strings. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser Ge...
// Copyright (C) 2007-2014 CEA/DEN, EDF R&D, OPEN CASCADE // // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // Lic...
/**************************************************************************** ** ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the QtMultimedia module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LG...
/** * \file LOG4CXXLogger.hpp * \brief Definitions required by logger. * Stores device information * * 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 me...
/* Categories of Unicode characters. Copyright (C) 2002, 2006-2007, 2009-2012 Free Software Foundation, Inc. Written by Bruno Haible <bruno@clisp.org>, 2002. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by t...
/* * Copyright (C) 2014 Freie Universität Berlin, Hinnerk van Bruinehsen * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @defgroup boards_arduino-mega2560 Arduino Mega 2560 * @i...
/* * gst-droid * * Copyright (C) 2014 Mohammed Sameer <msameer@foolab.org> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option...
/* * Copyright (C) 2020 Freie Universität Berlin * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup pkg_nimble_autoadv * * @{ * * @file * * @author Hendrik van ...
/*========================================================================= This file is part of the XIOT library. Copyright (C) 2008-2009 EDF R&D Author: Kristian Sons (xiot@actor3d.com) This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser...
#define FAIM_INTERNAL #include <aim.h> /* * Oncoming Buddy notifications contain a subset of the * user information structure. Its close enough to run * through aim_extractuserinfo() however. * * Although the offgoing notification contains no information, * it is still in a format parsable by extractuserinfo. ...
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* * Copyright (C) 2000 Ximian, Inc. * * Authors: Dan Winship <danw@ximian.com> * Jeffrey Stedfast <fejj@ximian.com> * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 o...
/****************************************************************************** * SOFA, Simulation Open-Framework Architecture, development version * * (c) 2006-2017 INRIA, USTL, UJF, CNRS, MGH * * * ...
/* This file is part of Zanshin Copyright 2014 Kevin Ottens <ervin@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 your option) version...
/* Text Widget/Automatic scrolling * * This example demonstrates how to use the gravity of * GtkTextMarks to keep a text view scrolled to the bottom * while appending text. */ #include <gtk/gtk.h> #include "demo-common.h" /* Scroll to the end of the buffer. */ static gboolean scroll_to_end (GtkTextView *textvi...
// The libMesh Finite Element Library. // Copyright (C) 2002-2021 Benjamin S. Kirk, John W. Peterson, Roy H. Stogner // This library 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 ...
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- * * Copyright (C) 2013-2015 Richard Hughes <richard@hughsie.com> * * Licensed under the GNU Lesser General Public License Version 2.1 * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU...
"Read next frame from the pfs stream. See also help for pfsopen function.\n" "\n" "usage: new_pfs_struct = pfsget( pfs_struct );\n" " pfs_struct - the structure returned by pfsopen or pfsget\n" " new_pfs_struct - new structure with new fields containing channels and tags\n" ;
/*---------------------------------------------------------------------------*\ * OpenSG * * * * * * ...
/* GLib testing framework examples and tests * * Copyright 2014 Red Hat, Inc. * * This library 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 2 of the License, or (at your optio...
/* * Copyright © 2011 Intel Corp. * * This library 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 2 of the License, or (at your option) any later version. * * This...
/****************************************************************/ /* MOOSE - Multiphysics Object Oriented Simulation Environment */ /* */ /* All contents are licensed under LGPL V2.1 */ /* See LICENSE for full restrictions ...
#ifndef __HDF_ARRAY_H__ #define __HDF_ARRAY_H__ #include "hdf5.h" class HdfArray { public: HdfArray(); ~HdfArray(); public: void set_shape(hid_t type_id, int rank, int *shape); public: int create(hid_t loc_id, const char *name, const char *title); int open(hid_t loc_id, const char *name); pub...
/** * @file writer_file.h * @brief SCEW writer functions for files * @author Aleix Conchillo Flaque <aconchillo@gmail.com> * @date Thu Nov 13, 2008 11:01 * @ingroup SCEWWriterFile * * @if copyright * * Copyright (C) 2008-2009 Aleix Conchillo Flaque * * SCEW is free software; you can redistribut...
#ifndef INCLUDED_KVU_RTCAPS_H #define INCLUDED_KVU_RTCAPS_H bool kvu_check_for_sched_fifo(void); bool kvu_check_for_sched_rr(void); bool kvu_check_for_mlockall(void); int kvu_set_thread_scheduling(int policy, int priority); #endif /* INCLUDED_KVU_RTCAPS_H */
/**************************************************************************** ** ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the Qt Mobility Components. ** ** $QT_BEGIN_LICENSE:LGPL$ ** No Comme...
#ifndef COMPILE_CONTEXT_H_ #define COMPILE_CONTEXT_H_ #include <unordered_map> #include "core/string/string.h" #include "yasc/common/literaltable.h" #include "compileinterfacetable.h" #include "compilelog.h" class ASTClass; class ASTFunction; class Compiler; class CompileContext { typedef std::unordered_map<S...
/* Copyright 2010 Dally Richard This file is part of QNetSoul. QNetSoul 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 3 of the License, or (at your option) any later version. QNetSo...
// Created file "Lib\src\dxguid\X64\d3dxguid" typedef struct _GUID { unsigned long Data1; unsigned short Data2; unsigned short Data3; unsigned char Data4[8]; } GUID; #define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \ extern const GUID name = { l, w1, w2, { b1, b2, b3, b...
// Created file "Lib\src\Uuid\functiondiscovery" typedef struct _GUID { unsigned long Data1; unsigned short Data2; unsigned short Data3; unsigned char Data4[8]; } GUID; #define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \ extern const GUID name = { l, w1, w2, { b1, b2, b3,...
/* GStreamer * Copyright (C) 1999 Erik Walthinsen <omega@cse.ogi.edu> * Copyright (C) 2005 Edgard Lima <edgard.lima@indt.org.br> * Copyright (C) 2005 Nokia Corporation <kai.vehmanen@nokia.com> * Copyright (C) 2007,2008 Axis Communications <dev-gstreamer@axis.com> * * This library is free software; you can redistr...
/* Copyright 2013-2021 Paul Colby This file is part of QtAws. QtAws is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later v...
// Created file "Lib\src\Uuid\X64\guids" typedef struct _GUID { unsigned long Data1; unsigned short Data2; unsigned short Data3; unsigned char Data4[8]; } GUID; #define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \ extern const GUID name = { l, w1, w2, { b1, b2, b3, b4, b...
/* * The libcerror header wrapper * * Copyright (C) 2010-2021, Joachim Metz <joachim.metz@gmail.com> * * Refer to AUTHORS for acknowledgements. * * This program 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 Softw...
#ifndef __MFCUTILS_H__DECD7213_DA4C_477c_92EE_C4F07393C7C9 #define __MFCUTILS_H__DECD7213_DA4C_477c_92EE_C4F07393C7C9 #define RETRIEVE_CSTRING(function, cstring) \ { \ _TCHAR *tszDummy = NULL; \ DWORD dwDummy = 0; \ ##function(NULL, &dwDummy); \ dwDummy++; \ tszDummy = ne...
/* Copyright 2013-2021 Paul Colby This file is part of QtAws. QtAws is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later v...
#ifndef _GS_TYPES_H_ #define _GS_TYPES_H_ #include <glib.h> #ifdef __cplusplus extern "C" { #endif typedef gchar* gsid; typedef gchar* gskey; typedef double gsreal; typedef gboolean gsboolean; #define GS_TRUE TRUE #define GS_FALSE FALSE /* * Objects */ typedef struct _element GSElement; ...
#include <ColorRecognition.h> #include <ColorRecognitionTCS230PI.h> void setup() { Serial.begin(9600); ColorRecognitionTCS230PI tcs230(2, 3, 4); Serial.println("Adjust white color, show something white to the sensor and press y."); while(!Serial.available() && Serial.read() != 'y'); Serial.read(); ...
/* Copyright 2013-2021 Paul Colby This file is part of QtAws. QtAws is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later v...
// Created file "Lib\src\mfuuid\guids" typedef struct _GUID { unsigned long Data1; unsigned short Data2; unsigned short Data3; unsigned char Data4[8]; } GUID; #define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \ extern const GUID name = { l, w1, w2, { b1, b2, b3, b4, b5,...
#pragma once #include "SFML//Graphics.hpp" #include "SFML//System.hpp" #include "SFML//Window.hpp" #include "SFML//Config.hpp" #include <vector> #include "Math.h" namespace SATGame { class Polygon { private: sf::Shape m_PolygonShape; std::vector<sf::Vector2<float>> m_Points; //First element Middle Poin...
/* radare - LGPL - Copyright 2009-2017 - pancake */ #include "r_config.h" #include "r_core.h" #include "r_print.h" static const char *help_msg_P[] = { "Usage:", "P[?osi] [file]", "Project management", "P", "", "list all projects", "Pc", " [file]", "show project script to console", "Pd", " [file]", "delete project...
/* Copyright 2013-2021 Paul Colby This file is part of QtAws. QtAws is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later v...
// // ExpModel.h // BC2014Oscv0.0 // // Created by Nicolas Winckler on 3/9/14. // Copyright (c) 2014 Nicolas Winckler. All rights reserved. // #ifndef __BC2014Oscv0_0__ExpModel__ #define __BC2014Oscv0_0__ExpModel__ #include <iostream> #include <BAT/BCDataPoint.h> #include <BAT/BCParameter.h> #include <BAT/BCMath...
// // Created by Jesse Squires // http://www.jessesquires.com // // // Documentation // http://cocoadocs.org/docsets/JSQMessagesViewController // // // GitHub // https://github.com/jessesquires/JSQMessagesViewController // // // License // Copyright (c) 2014 Jesse Squires // Released under an MIT license: http...
// Created file "Lib\src\Uuid\X64\i_activscp" typedef struct _GUID { unsigned long Data1; unsigned short Data2; unsigned short Data3; unsigned char Data4[8]; } GUID; #define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \ extern const GUID name = { l, w1, w2, { b1, b2, b3, b...
// Created file "Lib\src\Uuid\X64\imapi2uuid" typedef struct _GUID { unsigned long Data1; unsigned short Data2; unsigned short Data3; unsigned char Data4[8]; } GUID; #define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \ extern const GUID name = { l, w1, w2, { b1, b2, b3, b...
// Created file "Lib\src\Uuid\X64\iid" typedef struct _GUID { unsigned long Data1; unsigned short Data2; unsigned short Data3; unsigned char Data4[8]; } GUID; #define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \ extern const GUID name = { l, w1, w2, { b1, b2, b3, b4, b5,...
// Copyright (c) 2014 - 2020 Maksym V. Bilinets. // // This file is part of Dataflow++. // // Dataflow++ is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (...
/* Copyright 2013-2021 Paul Colby This file is part of QtAws. QtAws is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later v...
/* Copyright 2013-2021 Paul Colby This file is part of QtAws. QtAws is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later v...
/* Copyright 2013-2021 Paul Colby This file is part of QtAws. QtAws is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later v...
/* Copyright 2013-2021 Paul Colby This file is part of QtAws. QtAws is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later v...
/* * Copyright (c) 2014-2016 Alex Spataru <alex_spataru@outlook.com> * * This file is part of the QSimpleUpdater library, which is released under * the DBAD license, you can read a copy of it below: * * DON'T BE A DICK PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, * DISTRIBUTION AND MODIFICATION: * ...
// Created file "Lib\src\Uuid\propkeys" typedef struct _GUID { unsigned long Data1; unsigned short Data2; unsigned short Data3; unsigned char Data4[8]; } GUID; #define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \ extern const GUID name = { l, w1, w2, { b1, b2, b3, b4, b5...
/* thot package for statistical machine translation Copyright (C) 2017 Adam Harasimowicz This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) an...
// Created file "Lib\src\amstrmid\strmiids" typedef struct _GUID { unsigned long Data1; unsigned short Data2; unsigned short Data3; unsigned char Data4[8]; } GUID; #define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \ extern const GUID name = { l, w1, w2, { b1, b2, b3, b4,...
/* * Common output functions for the wtcdbtools * * Copyright (C) 2010-2021, Joachim Metz <joachim.metz@gmail.com> * * Refer to AUTHORS for acknowledgements. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * ...
/* Copyright 2013-2021 Paul Colby This file is part of QtAws. QtAws is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later v...
/*# * This file is protected by Copyright. Please refer to the COPYRIGHT file * distributed with this source distribution. * * This file is part of REDHAWK core. * * REDHAWK core is free software: you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as published...
// Created file "Lib\src\Uuid\X64\i_activscp" typedef struct _GUID { unsigned long Data1; unsigned short Data2; unsigned short Data3; unsigned char Data4[8]; } GUID; #define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \ extern const GUID name = { l, w1, w2, { b1, b2, b3, b...
m4_include(`../CommonHtmlDocumentation/header.h')m4_dnl <!-- Event snippet for Page view conversion page --> <script> gtag('event', 'conversion', {'send_to': 'AW-10810288706/U3KJCKekmIUDEMLU36Io'}); </script> m4_include(`../CommonHtmlDocumentation/postHeader.h')m4_dnl WBigTitle(`Downloading and running') Currently, y...
/* Copyright 2013-2021 Paul Colby This file is part of QtAws. QtAws is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later v...
#pragma once #include <iostream> #include <vector> #include <fstream> #include <string> #include <iterator> using namespace std; /************************************************************************************* HILSIM setup loading from HILSIMSetup.txt in the XPLane executable directory Matthew Coleman - 10-...
/* Copyright 2010, 2011 Tarik Sekmen. All Rights Reserved. Written by Tarik Sekmen <tarik@ilixi.org>. This file is part of ilixi. ilixi 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 vers...
#ifndef SQFVM_RUNTIME_VERSION_H_ #define SQFVM_RUNTIME_VERSION_H_ #ifndef CONCAT_ #define CONCAT_(L, R) L ## R #endif // !CONCAT_ #ifndef CONCAT #define CONCAT(L, R) CONCAT_(L, R) #endif // !CONCAT #ifndef STR_ #define STR_(IN) # IN #endif // !STR_ #ifndef STR #define STR(IN) STR_(IN) #endif // !STR #define SQFVM_RUN...
#ifndef _WSP_IO_MEMORY_H_ #define _WSP_IO_MEMORY_H_ #include "wsp.h" #include "wsp_memfs.h" extern wsp_io wsp_io_memory; typedef struct { wsp_memfs_t *file; } wsp_io_memory_inst_t; extern wsp_memfs_context_t memfs_ctx; #endif /* _WSP_IO_MEMORY_H_ */
/*************************************************************************** * Copyright (c) 2010 Art Tevs * * * * This library is free software; you can redistribute it and/or modify * * it under th...
/******************************************************************************** * Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH * * * * This software is distributed under the terms of the ...
#include "platform_wtk.h" #ifdef HAVE_POINTER #include "platform_input_pointer.c" #endif #ifdef HAVE_KEYBOARD #include "platform_input_keyboard.c" #endif static void _seat_handle_capabilities(void *data, struct wl_seat *seat, enum wl_seat_capability caps) { struct pilot_display *display = data; struct platform_...
/* * QuarkPlayer, a Phonon media player * Copyright (C) 2008-2009 Tanguy Krotoff <tkrotoff@gmail.com> * * 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 3 of the License, or...
// // BufferFiller.h // Tonic // // Created by Nick Donaldson on 2/9/13. // // See LICENSE.txt for license and usage information. // #ifndef TONIC_BUFFERFILLER_H #define TONIC_BUFFERFILLER_H #include "Generator.h" namespace Tonic{ namespace Tonic_ { //! Base class for any generator expected to pro...
/* * koji scripting language * * Copyright (C) 2017 Canio Massimo Tristano * * This source file is part of the koji scripting language, distributed under * the MIT license. See koji.h for further licensing information. */ #pragma once #include "kplatform.h" struct source_membuf { char *curr; char *end...
#include<stdio.h> //#include<iostream.h> #define ROW1 3 #define COL1 3 #define ROW2 COL1 #define COL2 3 int main() { int i,j,k,l; int temp=0; int N1 = ROW1*COL1; int N2 = ROW2*COL2; int N3 = ROW1*COL2; char mat1[9] = { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 }; ...
// // NFICollectionPresenter.h // NFIFramework // // Created by Pedro Lopez on 9/1/16. // Copyright © 2016 Pedro Lopez. All rights reserved. // #import <Foundation/Foundation.h> #import "NFIPresenter.h" #import "NFICollectionItem.h" @protocol NFICollectionPresenter <NFIPresenter> - (void)itemWasTapped:(NSObject<...
/* * Copyright (C) 2005-2020 Centre National d'Etudes Spatiales (CNES) * * This file is part of Orfeo Toolbox * * https://www.orfeo-toolbox.org/ * * 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 ...
/* * Copyright (C) 2021 The Android Open Source Project * * 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 app...
/*========================================================================= * * Copyright Insight Software Consortium * * 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 * * h...
/* * * BlueZ - Bluetooth protocol stack for Linux * * Copyright (C) 2011 Nokia Corporation * * * 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 ...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <ctype.h> #include <errno.h> #include <limits.h> #include <unistd.h> #include <time.h> #include <locale.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <signal.h> #include "utils.h" char * trim (char *string) { regi...
// // UIBarButtonItem+Extension.h // // // Created by apple on 14-10-7. // Copyright (c) 2014年 jiaguanglei. All rights reserved. // #import <UIKit/UIKit.h> @interface UIBarButtonItem (Extension) + (UIBarButtonItem *)itemWithTarget:(id)target action:(SEL)action image:(NSString *)image highImage:(NSString *)highIm...
/* $NetBSD: lfsr.c,v 1.3 2012/06/05 00:42:28 christos Exp $ */ /* * Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 1999-2002 Internet Software Consortium. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereb...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. #pragma once #include <array> #include <string> #include <utility> #include "iapplication.h" #include "HandleWrapper.h" typedef HRESULT (WINAPI * PFN_ASPNETCORE_CREAT...
#include "sftest.h" MAIN() { Sfio_t* f1; Sfio_t* f2; char* s; if(!(f1 = sfopen(NIL(Sfio_t*), tstfile(0),"w+")) ) terror("Can't open file\n"); if(sfwrite(f1,"0123456789\n",11) != 11) terror("Can't write to file\n"); sfclose(sfstdin); if(sfswap(f1,sfstdin) != sfstdin) terror("Can't swap with sfstdin\n"); ...
#include <sys/types.h> #include <errno.h> #include <fcntl.h> #include "ourhdr.h" char buf[100000]; int main(void) { int ntowrite, nwrite; char *ptr; ntowrite = read(STDIN_FILENO, buf, sizeof(buf)); fprintf(stderr, "read %d bytes\n", ntowrite); set_fl(STDOUT_FILENO, O_NONBLOCK); /* set nonblocking */ for (pt...
#pragma once #include "envoy/common/pure.h" #include "envoy/http/message.h" namespace Envoy { namespace Extensions { namespace HttpFilters { namespace Common { namespace Aws { // TODO(lavignes): Move this interface to include/envoy if this is needed elsewhere class Signer { public: virtual ~Signer() = default; ...
/* Copyright (c) 2012 Nordic Semiconductor. All Rights Reserved. * * The information contained herein is property of Nordic Semiconductor ASA. * Terms and conditions of usage are described in detail in NORDIC * SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT. * * Licensees are granted free, non-transferable use...
// // MOBABaseResponse.h // MOBApiCloud // // Created by fenghj on 15/10/9. // Copyright © 2015年 mob. All rights reserved. // #import <Foundation/Foundation.h> /** * 基础回复类型 * * @author vimfung */ @interface MOBAResponse : NSObject /** * 错误信息 */ @property (nonatomic, strong) NSError *error; /** * 响应数据...
// // Created by yuxuan on 17-3-11. // #ifndef DSA_BUBBLESORT_H #define DSA_BUBBLESORT_H #include <zconf.h> /** 交换元素 */ void Swap(int Array[], int i, int j) { if(!Array) return; int tmp = Array[i]; Array[i] = Array[j]; Array[j] = tmp; } /** 冒泡排序算法 */ void BubbleSort(int Array[], int len) { ...
/* Include prototype headers. */ #include "6SV1.0B/AATSR.h" #include "6SV1.0B/ABSTRA.h" #include "6SV1.0B/AEROPROF.h" #include "6SV1.0B/AEROSO.h" #include "6SV1.0B/AKTOOL.h" #include "6SV1.0B/ATMREF.h" #include "6SV1.0B/AVHRR.h" #include "6SV1.0B/BBM.h" #include "6SV1.0B/BDM.h" #include "6SV1.0B/BRDFGRID.h" #include "6...
/* * Copyright (c) 2016, Alliance for Open Media. All rights reserved * * This source code is subject to the terms of the BSD 2 Clause License and * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License * was not distributed with this source code in the LICENSE file, you can * obtain it at w...