text stringlengths 9 948k |
|---|
/*-------------------------------------------------------------------------
*
* sharedfileset.c
* Shared temporary file management.
*
* Portions Copyright (c) 1996-2020, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* src/backe... |
//-----------------------------------------------------------------------------
//-----------------------------------------------------------------------------
// FAT16/32 File IO Library
// V2.6
// Ultra-Embedded.com
// ... |
/* audit -- definition of audit_context structure and supporting types
*
* Copyright 2003-2004 Red Hat, Inc.
* Copyright 2005 Hewlett-Packard Development Company, L.P.
* Copyright 2005 IBM Corporation
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Genera... |
#ifndef DNNKERNEL_TEST_CONV2D_HLS_H
#define DNNKERNEL_TEST_CONV2D_HLS_H
#include <stdint.h>
void maxpool2d_hls(const float* x, int32_t width, int32_t height, int32_t channels, int32_t stride, float* y);
#endif // DNNKERNEL_TEST_CONV2D_HLS_H |
// Copyright (c) 2011-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_QT_OVERVIEWPAGE_H
#define BITCOIN_QT_OVERVIEWPAGE_H
#include "amount.h"
#include <QWidget>
class ClientMod... |
#include <quark.h>
#include "mcim.h"
#include <led.h>
#include <mc.h>
int
main()
{
long le;
int cnt, r;
wait();
r = mchk();
if (r == 0) {
cnt = 5;
le = 2;
} else {
cnt = 2;
le = 10;
}
ledminit();
ledmemit(le, cnt);
} |
/*
* Copyright (C) Narf Industries <info@narfindustries.com>
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, cop... |
// Description: Ring buffered USART communication for LPC824
// File: ceCom.h
// Author: Yan Naing Aye
// References:
// http://cool-emerald.blogspot.com/2022/03/software-timers-and-ring-buffered-uart.html
#ifndef CE_COM_H
#define CE_COM_H
//-------------------------------------------------------------------------... |
/*
* Copyright (c) 1997 Massachusetts Institute of Technology
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to use, copy, modify, and distribute the Software without
* restriction, provided the Software, i... |
/*
Plugin-SDK (Grand Theft Auto 3) header file
Authors: GTA Community. See more here
https://github.com/DK22Pac/plugin-sdk
Do not delete this comment block. Respect others' work!
*/
#pragma once
#include "PluginBase.h"
#include "CGangInfo.h"
class PLUGIN_API CGangs {
public:
SUPPORTED_10EN_11EN_ST... |
#ifndef _CHSMD_DEF_H_
#define _CHSMD_DEF_H_
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <ctype.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/msg.h>
#include <errno.h>
#include <signal.h>
#include <netinet/in.h>
#include <define.h>
#define ATTRCNT (DB_CONN_... |
#ifndef __MAINWIN_H
#define __MAINWIN_H
#include <gtkmm.h>
#include <sstream>
#include <fstream>
#include <iomanip>
#include <regex>
#include "store.h"
#include "entrydialog.h"
class Mainwin : public Gtk::Window {
public:
Mainwin();
virtual ~Mainwin();
protected:
// Callbacks for Tool... |
/*
* NFAReach.h
*
* Created on: Dec 16, 2014
* Author: sam
*/
#ifndef NFA_GENERATE_H_
#define NFA_GENERATE_H_
#include "monosat/fsm/DynamicFSM.h"
#include "monosat/mtl/Bitset.h"
#include "monosat/mtl/Vec.h"
#include "monosat/fsm/alg/NFATypes.h"
using namespace Monosat;
template<class Status=FSMNullStatu... |
/* $OpenBSD: vmparam.h,v 1.28 2004/01/25 01:53:12 millert Exp $ */
/*
* Copyright (c) 1988-1994, The University of Utah and
* the Computer Systems Laboratory at the University of Utah (CSL).
* All rights reserved.
*
* Permission to use, copy, modify and distribute this software is hereby
* granted provided that... |
#pragma once
#include <DefHeader.h>
/// <summary>
/// Two component vector
/// </summary>
/// <typeparam name="T">Encapsulated type</typeparam>
template<typename T>
struct Vec2 {
union {
struct {
T x, y;
};
struct {
T r, g;
};
struct {
T u, v;
};
};
};
/// <summary>
/// Three component vector
/... |
/*
* Copyright (C) Research In Motion Limited 2010-2011. All rights reserved.
*
* 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 optio... |
// ------------------------------------------------------------------------------
// Copyright (c) 2020 GeometryFactory (FRANCE)
// Distributed under the Boost Software License, Version 1.0. (See accompany-
// ing file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
// ---------------------------------... |
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file ... |
#ifndef __SESSION_LAYER_THREADED_EXAMPLE__CTRL_BREAK_HANDLER__H__
#define __SESSION_LAYER_THREADED_EXAMPLE__CTRL_BREAK_HANDLER__H__
#ifdef WIN32
#include <windows.h>
#else
#include <unistd.h>
#include <signal.h>
#include <strings.h>
#endif
class CtrlBreakHandler
{
public:
static void init();
static void ex... |
/* Simple character translation test. */
/* { dg-do compile }
{ dg-require-iconv "IBM1047" }
{ dg-final { scan-assembler-not "string foobar" } } */
char *foo = "string foobar"; |
/*
* FreeRTOS V1.4.7
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* 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 with... |
// Copyright (c) 2018-2021, The DeroGold Developers
// Copyright (c) 2012-2017, The CryptoNote developers, The Bytecoin developers
// Copyright (c) 2018-2019, The TurtleCoin Developers
//
// Please see the included LICENSE file for more information.
#pragma once
#include <time.h>
namespace CryptoNote
{
struct IT... |
/*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... |
//===----------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... |
// Incluindo header do TAD e/ou bibliotecas necessárias
#include "ITEM_MATRIZ.h"
#include "MATRIZ_VOOS.h"
#include "VOO.h"
#include "LISTA_DE_VOOS.h"
#include <stdlib.h>
#include <stdio.h>
#include "../TAD_AUXILIAR/horario.h"
#include <time.h>
//Inicializa a matriz de voos
int MATRIZ_VOOS_inicializa(MATRIZ_VOOS *ponte... |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53-recovery-readiness/Route53RecoveryReadiness_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespa... |
/*
* amd76xrom.c
*
* Normal mappings of chips in physical memory
*/
#include <linux/module.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <asm/io.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/map.h>
#include <linux/mtd/cfi.h>
#include <linux/mtd/f... |
///////////////////////////////////////////////////////////
//
// Function Name : CountCap()
// Input : Integer
// Output : Integer
// Description : Accept String & Count The Capital Letters
// Author : Prasad Dangare
// Date : 22 Mar 2021
//
////////////////////////////////////... |
#ifndef __khrplatform_h_
#define __khrplatform_h_
/*
** Copyright (c) 2008-2018 The Khronos Group Inc.
**
** Permission is hereby granted, free of charge, to any person obtaining a
** copy of this software and/or associated documentation files (the
** "Materials"), to deal in the Materials without restriction, includi... |
//
// OAuth+Additions.h
//
// Created by Loren Brichter on 6/9/10.
// Copyright 2010 Loren Brichter. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface NSURL (OAuthAdditions)
+ (NSDictionary *)ab_parseURLQueryString:(NSString *)query;
- (NSString *)ab_actualPath;
@end
@interface NSString (OAut... |
//
// FAAnimationButtonScale.h
// FastAnimationWithPop
//
// Created by ZangChengwei on 14-6-26.
// Copyright (c) 2014年 WilliamZang. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "FastAnimationProtocol.h"
@interface FAAnimationButtonScale : NSObject<ControlFastAnimationProtocol>
@end |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* */
/* This file is part of the class library */
/* SoPlex --- the Sequential object-oriented simPlex. */
... |
#pragma once
#include "helper.h"
#include "nsmbw/types.h"
#include <string>
#include <vector>
#include <cstring>
typedef struct {
u32 addr;
union {
s32 si32;
u32 us32;
s16 si16;
u16 us16;
s8 si8;
u8 us8;
float floating;
char *str;
char... |
/*
* Copyright (C) 2008-2022 Ole André Vadla Ravnås <oleavr@nowsecure.com>
* Copyright (C) 2021 Francesco Tamagni <mrmacete@protonmail.ch>
*
* Licence: wxWindows Library Licence, Version 3.1
*/
#include "gumbacktracer.h"
#ifdef HAVE_WINDOWS
# include "backend-dbghelp/gumdbghelpbacktracer.h"
# include "arch-x86/g... |
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#else
#ifndef FOUNDATION_EXPORT
#if defined(__cplusplus)
#define FOUNDATION_EXPORT extern "C"
#else
#define FOUNDATION_EXPORT extern
#endif
#endif
#endif
FOUNDATION_EXPORT double Pods_pistaUITestsVersionNumber;
FOUNDATION_EXPORT const unsigned char Pods_pistaUITestsVersionStrin... |
/*
* =============================================================================
*
* Filename: rbtree-tst.c
*
* Description: rbtree testcase.
*
* Created: 09/02/2012 11:39:34 PM
*
* Author: Fu Haiping (forhappy), haipingf@gmail.com
* Company: ICT ( Institute Of Computing ... |
/*
* page.h: Various defines and such for MMU operations on the Sparc for
* the Linux kernel.
*
* Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu)
*/
#ifndef _SPARC_PAGE_H
#define _SPARC_PAGE_H
#define PAGE_SHIFT 12
#ifndef __ASSEMBLY__
/* I have my suspicions... -DaveM */
#define PAGE_SI... |
/*
Flirt, an SWF rendering library
Copyright (c) 2004-2006 Dave Hayden <dave@opaque.net>
All rights reserved.
http://www.opaque.net/flirt/
This code is distributed under the two-clause BSD license.
Read the LICENSE file or visit the URL above for details
*/
#ifndef DD_RECT_H_INCLUDED
#define DD_RECT_H_INCLUDE... |
#ifndef ADMINOTROSOP_H
#define ADMINOTROSOP_H
#include "SoldadosSoporte.h"
#include<string>
#include<fstream>
#include<vector>
#include<iostream>
using std::string;
using std::ofstream;
using std::ifstream;
using std::vector;
using std::cout;
class adminOtroSop
{
public:
adminOtroSop(string);
bool cerrarEscri... |
//
// NSString+Types.h
// app
//
// Created by Haren on 14-7-1.
// Copyright (c) 2015年 辣妈帮. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface NSString (NSString_Extended)
- (NSString *)urlencode;
- (NSString *)withPrefix:(NSString*)str;
- (NSString *)withTail:(NSString... |
/********************************************************************
* *
* THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. *
* USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
* GOVERNED BY A BSD-STYLE SOURCE LICENS... |
/**
* @file BoundaryConditions.h
* @author N. Fottner
* @date 2/8/19
*/
#pragma once
#include <array>
#include <vector>
#include "autopas/AutoPas.h"
/**
* This Class implements the Periodic Boudaries for an AutoPas Object
* The implementation was taken from "AutoPasInterfaceTest.cpp"
*/
template <typename Par... |
/** \file Duration.h
\brief Declaration of Duration class.
\authors Masaharu Hirayama, GSSC
James Peachey, HEASARC/GSSC
*/
#ifndef timeSystem_Duration_h
#define timeSystem_Duration_h
#include <iostream>
#include <limits>
#include "timeSystem/TimeConstant.h"
namespace st_stream {
class OStream;... |
#pragma once
#include <cstdint>
#include <list>
#include <string>
#include <vector>
#include "envoy/api/v2/core/address.pb.h"
#include "envoy/network/connection.h"
#include "envoy/network/drain_decision.h"
#include "envoy/network/filter.h"
#include "envoy/network/resolver.h"
#include "envoy/network/transport_socket.h... |
/*
* filter layer
* Copyright (c) 2007 Bobby Bingham
*
* This file is part of FFmpeg.
*
* FFmpeg 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 License, or (at your... |
/*
SDL_mixer: An audio mixer library based on the SDL library
Copyright (C) 1997-2012 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permissio... |
/*
*
* Copyright (C) 2005, OFFIS
*
* This software and supporting documentation were developed by
*
* Kuratorium OFFIS e.V.
* Healthcare Information and Communication Systems
* Escherweg 2
* D-26121 Oldenburg, Germany
*
* THIS SOFTWARE IS MADE AVAILABLE, AS IS, AND OFFIS MAKES NO WARRANTY
... |
//@doc
//@class AAFDescriptiveObject | Implementation class for AAFDescriptiveObject
#ifndef __ImplAAFDescriptiveObject_h__
#define __ImplAAFDescriptiveObject_h__
//=---------------------------------------------------------------------=
//
// This file was GENERATED for the AAF SDK
//
// $Id$ $Name$
//
// The conte... |
/*-------------------------------------------------------------------------
*
* parallel.c
* Infrastructure for launching parallel workers
*
* Portions Copyright (c) 1996-2018, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* sr... |
/*++
Copyright (c) 1991 - 2001 Microsoft Corporation
Module Name:
##### #### ### ##### ## ### ## ## ## ##
## ## ## ## # ## ## ## ### ## ## ## ##
## ## ## ### ## ## ## ## ## #### ## ##
## ## ## ### ## ## ## ## ## #### #######
... |
#ifndef DDM__MATRIX_H_INCLUDED
#define DDM__MATRIX_H_INCLUDED
#include "dart-impl/dart.h"
#include "../ddm/Team.h"
#include "../ddm/Pattern.h"
#include "../ddm/GlobRef.h"
#include "../ddm/GlobMem.h"
#include "../ddm/Allocator.h"
#include "../ddm/HView.h"
#include "../ddm/iterator/GlobIter.h"
#include "../ddm/matrix... |
/**
TMR2 Generated Driver API Header File
@Company
Microchip Technology Inc.
@File Name
tmr2.h
@Summary
This is the generated header file for the TMR2 driver using PIC10 / PIC12 / PIC16 / PIC18 MCUs
@Description
This header file provides APIs for driver for TMR2.
Generation Information... |
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by DeepPropInspector.rc
//
#define IDS_PROJNAME 100
#define IDR_DEEPPROPINSPECTOR 101
#define IDS_CLOCKWISE_PROP_STRINGS 101
#define IDR_ACADPIE 102
#define IDS_CATEGORY_PIE ... |
/*
cx88-i2c.c -- all the i2c code is here
Copyright (C) 1996,97,98 Ralph Metzler (rjkm@thp.uni-koeln.de)
& Marcus Metzler (mocm@thp.uni-koeln.de)
(c) 2002 Yurij Sysoev <yurij@naturesoft.net>
(c) 1999-2003 Gerd Knorr <kraxel@bytesex.org>
This program is free software; you can redistribute... |
//
// Generated by classdumpios 1.0.1 (64 bit) (iOS port by DreamDevLost)(Debug version compiled Sep 26 2020 13:48:20).
//
// Copyright (C) 1997-2019 Steve Nygard.
//
#import <CloudKit/CKRecordID.h>
#import "CPLEngineStoreUserIdentifier-Protocol.h"
@class NSString;
@interface CKRecordID (CPLCloudKitImplementat... |
/****************************************************************************
**
** Copyright (C) 2019 Klaralvdalens Datakonsult AB (KDAB).
** Contact: https://www.qt.io/licensing/
**
** This file is part of the Qt3D module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees holdin... |
/* config.h. Generated from config.h.in by configure. */
/* config.h.in. Generated from configure.ac by autoheader. */
/* Define if building universal (internal helper macro) */
/* #undef AC_APPLE_UNIVERSAL_BUILD */
/* Define if debugging info is desired */
/* #undef DBG_MJZ */
/* AF_PACKET support is available ... |
/*!
* iOS SDK
*
* Tencent is pleased to support the open source community by making
* Hippy available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company.
* All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the... |
/******************************************************************************
Copyright (c) 1999 Daniel Stenberg
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 wi... |
//
// Copyright 2019 Le Hoang Quyen. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// We don't use GLES from Apple framework.
// Instead we use GLES provided by MetalANGLE.
#define GLES_SILENCE_DEPRECATION
#define GL_SILENCE_DEPRECATION
... |
#ifndef FARM_NG_CALIBRATION_BASE_TO_CAMERA_CALIBRATOR_H_
#define FARM_NG_CALIBRATION_BASE_TO_CAMERA_CALIBRATOR_H_
#include "farm_ng/calibration/calibrator.pb.h"
#include "farm_ng/core/resource.pb.h"
#include "farm_ng/tractor/tractor.pb.h"
namespace farm_ng {
namespace tractor {
void CopyTractorStateToWheelState(
... |
/* Generated by RuntimeBrowser
Image: /System/Library/PrivateFrameworks/StoreKitUI.framework/StoreKitUI
*/
@interface SKUIFacebookViewElement : SKUIViewElement {
long long _facebookType;
NSString * _urlString;
}
@property (nonatomic, readonly) NSString *URLString;
@property (nonatomic, readonly) long lon... |
#ifndef LANDUNIT_VARCON_HH_
#define LANDUNIT_VARCON_HH_
static const int istsoil = 1 ;
static const int istcrop = 2 ;
static const int istice = 3 ;
static const int istice_mec = 4 ;
static const int istdlak = 5 ;
static const int istwet = 6 ;
static const int isturb_MIN = 7 ;
s... |
/* Copyright (c) 2013 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... |
// java-stack.h - Definitions for unwinding & inspecting the call stack.
/* Copyright (C) 2005, 2006 Free Software Foundation
This file is part of libgcj.
This software is copyrighted work licensed under the terms of the
Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
details. */
#ifndef __JV_STA... |
/* $Copyright:
*
* Copyright 1998-2000 by the Massachusetts Institute of Technology.
*
* All rights reserved.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation for any purpose and without fee is hereby granted,
* provided that the above copyright notice appear in all co... |
/*
* linux/fs/nfs/delegation.h
*
* Copyright (c) Trond Myklebust
*
* Definitions pertaining to NFS delegated files
*/
#ifndef FS_NFS_DELEGATION_H
#define FS_NFS_DELEGATION_H
#if IS_ENABLED(CONFIG_NFS_V4)
/*
* NFSv4 delegation
*/
struct nfs_delegation {
struct list_head super_list;
struct rpc_cred *cred;
str... |
/*
*
* ===================================
* HARP | Host ATM Research Platform
* ===================================
*
*
* This Host ATM Research Platform ("HARP") file (the "Software") is
* made available by Network Computing Services, Inc. ("NetworkCS")
* "AS IS". NetworkCS does not provide maintenance, i... |
// Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef TOOLS_GN_FILESYSTEM_UTILS_H_
#define TOOLS_GN_FILESYSTEM_UTILS_H_
#include <string>
#include "base/files/file_path.h"
#include "base/strings... |
#pragma once
#include <kvs/Type>
namespace kvs
{
/*===========================================================================*/
/**
* @brief Beta function class.
*/
/*===========================================================================*/
class BetaFunction
{
public:
BetaFunction(){}
kvs::Real64 ... |
#include "strstream.h"
#include <stdio.h>
int main()
{
printf("Hello, world!\n");
strstream s = strstream_allocDefault();
printf("{%d, %d, \"%s\"}\n", s.size, s.capacity, s.str);
FILE *fp;
fp = fopen("test.txt", "rb");
strstream_readFile(&s, fp, 0);
fclose(fp);
printf("{%d, %d, \"%s\"... |
/*
* This header is generated by classdump-dyld 1.5
* on Tuesday, November 10, 2020 at 10:14:40 PM Mountain Standard Time
* Operating System: Version 14.2 (Build 18K57)
* Image Source: /System/Library/PrivateFrameworks/AXMediaUt... |
// Copyright (c) 2009-2011, Tor M. Aamodt, Wilson W.L. Fung
// The University of British Columbia
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// Redistributions of source code must reta... |
//
// _TextView.h
// ChangyanDemo
//
// Created by 7 on 04/12/2017.
// Copyright © 2017 changyan-dev. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface _TextView : UITextView
/**
Set textView's placeholder text. Default is nil.
*/
@property(nullable, nonatomic,copy) IBInspectable NSString *placehol... |
/*
* Transaction.h
*
* Created on: 1-Oct-2021
* Authors: M Somasekhar, Aryan Mukerji
*/
#include <iostream>
#include <cstring>
#include <fstream>
#include <sstream>
using namespace std;
#define N 100
#ifndef TRANSACTION_H
#define TRANSACTION_H
extern long Mempool_size;
extern long Ledger_size;
extern lon... |
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_putchar.c :+: :+: :+: ... |
#ifndef LINE_H_INCLUDED
#define LINE_H_INCLUDED
#include <cassert>
#include "point.h"
#include "color.h"
using namespace std;
class line
{
private:
point p1, p2;
color c;
public:
// Initialize position and color.
line(point = point (0, 0), point = point(1, 1), color = BLACKCO... |
// David Eberly, Geometric Tools, Redmond WA 98052
// Copyright (c) 1998-2019
// Distributed under the Boost Software License, Version 1.0.
// https://www.boost.org/LICENSE_1_0.txt
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
// Version: 4.0.2019.08.13
#pragma once
#include <Mathematics/Logger.h>
#... |
/*
* SPDX-FileCopyrightText: 2017-2021 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef _ESP_BLE_MESH_COMMON_API_H_
#define _ESP_BLE_MESH_COMMON_API_H_
#include "esp_ble_mesh_defs.h"
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief Initialize BLE Mesh module.
*... |
/***************************************************************************
Zero Zone memory map
driver by Brad Oliver
CPU 1 : 68000, uses irq 1
0x000000 - 0x01ffff : ROM
0x080000 - 0x08000f : input ports and dipswitches
0x088000 - 0x0881ff : palette RAM, 256 total colors
0x09ce00 - 0x09d9ff : video ram, 48x32
0x0... |
// Compile with `gcc -g dwarf_parse_test.c -o dwarf_parse_test`
#include <stdint.h>
void test_one() {
return;
}
void test_two(int count) {
return;
}
int test_three(char letter) {
return 10;
}
char *test_four(uint8_t first, uint16_t second, uint32_t third) {
return "Hello";
}
int main() {
retur... |
#ifndef LIME_SYSTEM_CLIPBOARD_H
#define LIME_SYSTEM_CLIPBOARD_H
namespace lime {
class Clipboard {
public:
static const char* GetText ();
static bool HasText ();
static bool SetText (const char* text);
};
}
#endif |
/*****************************************************************************
* Copyright(C)2009-2019 by VSF Team *
* *
* Licensed under the Apache License, Version 2.0 (the "License"); *
* ... |
#pragma once
#include <scene/scene.h>
#include <managers/base_manager.h>
class SceneManager : public BaseManager
{
public:
SceneManager();
SceneManager(const SceneManager&) = delete;
SceneManager& operator=(const SceneManager&) = delete;
~SceneManager() = default;
[[nodiscard]] std::shared_ptr<Sc... |
/* $Xorg: Macros.c,v 1.4 2001/02/09 02:03:34 xorgcvs Exp $ */
/*
Copyright 1987, 1998 The Open Group
Permission to use, copy, modify, distribute, and sell this software and its
documentation for any purpose is hereby granted without fee, provided that
the above copyright notice appear in all copies and that both tha... |
/**
* @Author: bamtercelboo
* @Date: 2018/03/15
* @File: main.cpp
* @Contact: bamtercelboo@{gmail.com, 163.com}
* @Function:None
*/
#pragma once
#include<iostream>
#include<vector>
#include<string>
enum class model_name : int { skipgram = 1, cbow, subword, subchar_chinese, subradical, subcomponent};
enum class los... |
/*
* This header is generated by classdump-dyld 1.5
* on Wednesday, April 28, 2021 at 9:08:11 PM Mountain Standard Time
* Operating System: Version 14.5 (Build 18L204)
* Image Source: /System/Library/PrivateFrameworks/CoreKnowle... |
//
// FDFriendFactory.h
// FlameDragon
//
// Created by sui toney on 11-11-3.
// Copyright 2011 ms. All rights reserved.
//
#import "cocos2d.h"
#import "FDFriend.h"
@interface FDFriendFactory : NSObject {
}
+(FDFriend *) createFriendWithId:(int) identifier;
@end |
/*
* arch/xtensa/include/asm/traps.h
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Copyright (C) 2012 Tensilica Inc.
*/
#ifndef _XTENSA_TRAPS_H
#define _XTENSA_TRAPS_H
#include <asm... |
/**
/* Copyright (c) 2003by Marco Welti
/*
/* This document is bound by the QT Public License
/* (http://www.trolltech.com/licenses/qpl.html).
/* See License.txt for more information.
/*
/*
/*
/* ALL RIGHTS RESERVED.
/*
/* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
/* OR IMPLI... |
/*
* tbx RISC OS toolbox library
*
* Copyright (C) 2010 Alan Buckley All Rights Reserved.
*
* 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 lim... |
int f (int *x, int *y)
/*@modifies *x;@*/
/*@modifies *y;@*/
{
*x = 3;
*y = 7;
return 3;
} |
/*
* This header is generated by classdump-dyld 1.5
* on Wednesday, April 28, 2021 at 9:07:20 PM Mountain Standard Time
* Operating System: Version 14.5 (Build 18L204)
* Image Source: /System/Library/PrivateFrameworks/Sharing.fr... |
/**
* Copyright 2021 Huawei Technologies Co., Ltd
*
* 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... |
#ifndef __EVOLUTION_STEP__
#define __EVOLUTION_STEP__
#include <Utilities/TYPE_UTILITIES.h>
#include <json/json.h>
namespace Mechanics{
template<class TV> class SIMULATION;
template<class TV>
class EVOLUTION_STEP
{
typedef typename TV::Scalar T;
public:
T up_to_date_time;
std::vector<std::string> prereq... |
/*
* This header is generated by classdump-dyld 1.0
* on Tuesday, November 5, 2019 at 2:41:29 AM Mountain Standard Time
* Operating System: Version 13.0 (Build 17J586)
* Image Source: /System/Library/PrivateFrameworks/Home.framework/Home
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos.
... |
#ifndef ICONEDITOR_H
#define ICONEDITOR_H
/**
* 图标编辑控件 作者:feiyangqingyun(QQ:517216493) 2017-2-10
* 来源于Qt官方教材
* 1:可设置伸缩因子
* 2:可设置宫格线条颜色
* 3:可设置画笔颜色
* 4:可设置ico图片
*/
#include <QWidget>
#ifdef quc
#if (QT_VERSION < QT_VERSION_CHECK(5,7,0))
#include <QtDesigner/QDesignerExportWidget>
#else
#include <QtUiPlugin/QD... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2017 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef SAFECASH_HASH_H
#define SAFECASH_HASH_H
#include <crypto/ripemd160.h>
#i... |
/**
* Copyright 2019-2020 Huawei Technologies Co., Ltd
*
* 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 applicabl... |
/* Copyright 2020 sekigon-gonnoc
*
* 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) any later version.
*
* This program is distribute... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.