text stringlengths 9 948k |
|---|
/******************************************************************************
*
* Module Name: acapps - common include for ACPI applications/tools
*
*****************************************************************************/
/*
* Copyright (C) 2000 - 2014, Intel Corp.
* All rights reserved.
*
* Redistribu... |
#include <string.h>
#include "assert.h"
#include "configuration.h"
#include "convert.h"
#include "entry.h"
#ifdef __GLIBC__
#include "error.h"
#endif
#include "err.h"
#include "heap.h"
#include "log.h"
#include "membership.h"
#include "progress.h"
#include "queue.h"
#include "replication.h"
#include "request.h"
#inclu... |
//*****************************************************************************
//
// buttons.h - Prototypes for the DK-TM4C129X development board buttons driver.
//
// Copyright (c) 2013-2017 Texas Instruments Incorporated. All rights reserved.
// Software License Agreement
//
// Texas Instruments (TI) is supplying ... |
// Copyright (c) 2014-2017 The Dash Core developers
// Copyright (c) 2018-2018 The Zixx developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef GOVERNANCE_VOTEDB_H
#define GOVERNANCE_VOTEDB_H
#include <list>
#inc... |
/*
Erbele - Based on Fraise 3.7.3 based on Smultron by Peter Borg
Current Maintainer (since 2016):
Andreas Bentele: abentele.github@icloud.com (https://github.com/abentele/Erbele)
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. Yo... |
#include <AUnit.h>
#include "../src/checksum.h"
test(checksum_calculate) {
String givenInput = "V,Ardumower Sunray,1.0.189,1,73";
unsigned char expectedChecksum = 0x58;
ArduMower::Checksum uut;
uut.update(givenInput);
assertEqual(uut.value(), expectedChecksum);
} |
#include "smack.h"
// @expect verified
int main(void) {
int x = 1;
if (__VERIFIER_nondet_int()) {
x++;
} else {
x--;
}
assert(x == 0 || x == 2);
return 0;
} |
/*
Macros for temporary debug traces.
Copyright (c) 2008 Marc Vertes <mvertes@free.fr>
Enclose your statements with t_X() to instrument
your code and output automatic smart traces with
filename, function, line number and value of expression.
X follows the printf(3) convention for types and can be:
c (ch... |
//
// LPDistanceMatrixElement.h
// ChargeJuice
//
// Created by Luka Penger on 13/07/14.
// Copyright (c) 2014 izzivizzi. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "LPDistance.h"
#import "LPDuration.h"
@interface LPDistanceMatrixElement : NSObject <NSCoding>
@property (nonatomic, strong)... |
/* Copyright (C) 1999,2003,2007,2008,2009 Free Software Foundation, Inc.
*
* 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
* ri... |
/**********************************************************************************************************************
This file is part of the Control Toolbox (https://github.com/ethz-adrl/control-toolbox), copyright by ETH Zurich.
Licensed under the BSD-2 license (see LICENSE file in main directory)
****************... |
#include<stdio.h>
#include<conio.h>
int Prime(int);
int main()
{
int No=0,Res=0;
printf("\nEnter any number to check whether it is Prime or Not =>");
scanf("%d",&No);
Res=Prime(No);
if(Res==1)
{
printf("\n Entered Number is equal to its Reverse . Therefore , Given Number is palindro... |
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
@interface VoipMonoMsgIdkeyReport : NSObject
{
}
+ (void)pushKitFormMsgOkShowNotification;
+ (void)pushKitRoomInfoBroken;
+ (void)pushKitRoomInfoEmpty;
+ (voi... |
/* Copyright (c) 2018 Peter Kondratyuk. All Rights Reserved.
*
* You may use, distribute and modify the code in this file under the terms of the MIT Open Source license, however
* if this file is included as part of a larger project, the project as a whole may be distributed under a different
* license.
*
* MIT license... |
/**************************************************************************//**
* @file main.c
* @version V3.00
* @brief Show the usage of GPIO interrupt function.
*
* SPDX-License-Identifier: Apache-2.0
* @copyright (C) 2016 Nuvoton Technology Corp. All rights reserved.
*********************************... |
/*
rewinddir -- rewind a directory stream
last edit: 25-Apr-1987 D A Gwyn
This is not simply a call to seekdir(), because seekdir()
will use the current buffer whenever possible and we need
rewinddir() to forget about buffered data.
*/
#include <sys/types.h>
#include "dirent.h"
#ifdef COHERENT
#include <errno... |
//
// AppDelegate.h
// NxhTest
//
// Created by apple on 2017/8/15.
// Copyright © 2017年 JiangWei. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end |
#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_FFTabbar_TestsVersionNumber;
FOUNDATION_EXPORT const unsigned char Pods_FFTabbar_TestsVersionS... |
#include <stdlib.h>
#include <stdio.h>
#include <errno.h>
#include <string.h>
#include <stdarg.h>
#include <stdnoreturn.h>
noreturn void
panic(char const *fmt, ...)
{
va_list ap;
va_start(ap, fmt);
vfprintf(stderr, fmt, ap);
fputc('\n', stderr);
va_end(ap);
exit(EXIT_FAI... |
#include <cstdlib>
#include <cctype>
#include <string>
#include <map>
#include <iostream>
#include <fstream>
using namespace std;
namespace automata {
using namespace std;
// Returns if whitespace was read before beginning of input
// Slight problem: Doesn't work perfectly with cin
bool getInput (istream& inp, st... |
/*
* OpenVPN -- An application to securely tunnel IP networks
* over a single UDP port, with support for SSL/TLS-based
* session authentication and key exchange,
* packet encryption, packet authentication, and
* packet compression.
*
* Copyright (C) 2002-2017 Ope... |
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@cryptsoft.com).
* The implementation was written so as to conform with Netscapes SSL.
*
* This library is free for commercial and non-commercial use as long as
... |
/*
* gkpro @ 2020-10-07
* Nexus Library
* Argument parsing header
*/
#pragma once
#include <algorithm>
#include <variant>
#include <any>
#include <map>
#include <optional>
#include <stdexcept>
#include <string>
#include <string_view>
#include <vector>
namespace nxs::ex {
class ValuelessArgException : publi... |
/*
* This header is generated by classdump-dyld 1.0
* on Sunday, September 27, 2020 at 11:44:51 AM Mountain Standard Time
* Operating System: Version 14.0 (Build 18A373)
* Image Source: /System/Library/Assistant/Plugins/Media.assistantBundle/Media
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias... |
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
@class IMSimulatedDaemonController, NSArray, NSData, NSString;
@protocol IMSimulatedDaemonListener
- (void)simulatedDaemon:(IMSimulatedDaemonController *)arg1 willSendBalloonPayloa... |
/*
* FFM (ffserver live feed) demuxer
* Copyright (c) 2001 Fabrice Bellard
*
* 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 th... |
/*
* Copyright 2018-2019 Redis Labs Ltd. and Contributors
*
* This file is available under the Redis Labs Source Available License Agreement
*/
#ifndef __TOKEN_H__
#define __TOKEN_H__
#include <stdlib.h>
typedef struct {
int64_t longval;
double dval;
char *strval;
char *s; // token string
int pos; // posi... |
//Maxime VINCENT, Hugues GUILLEUS
#ifndef VUE_H
#define VUE_H
#include "graphics.h"
#include "../modele/modele.h"
#include "../controleur/partie.h"
#include "../controleur/menu.h"
// ############################################
// ISTY
//
//
// Maxime Vincent, Hugues G
//
//
// SOMMAIR... |
/* Generated by RuntimeBrowser
Image: /System/Library/PrivateFrameworks/MediaRemote.framework/Versions/A/MediaRemote
*/
@interface MRApplicationActivity : NSObject <NSMutableCopying, NSSecureCoding> {
int _creatorProcessID;
NSString * _primaryApplicationDisplayID;
NSString * _secondaryApplicationDispl... |
/**
******************************************************************************
* @file usbh_conf.h
* @author MCD Application Team
* @brief General low level driver configuration
******************************************************************************
* @attention
*
* Copyright (c) 2018 S... |
/*
Open Asset Import Library (assimp)
----------------------------------------------------------------------
Copyright (c) 2006-2016, assimp team
All rights reserved.
Redistribution and use of this software in source and binary forms,
with or without modification, are permitted provided that the
following conditions ... |
/** @addtogroup gpio_file
@author @htmlonly © @endhtmlonly 2009 Uwe Hermann <uwe@hermann-uwe.de>
*/
/*
* This file is part of the libopencm3 project.
*
* Copyright (C) 2009 Uwe Hermann <uwe@hermann-uwe.de>
*
* This library is free software: you can redistribute it and/or modify
* it under the terms of the... |
/*
* Name: OgreTextFindThread.h
* Project: OgreKit
*
* Creation Date: Sep 26 2003
* Author: Isao Sonobe <sonoisa (AT) muse (DOT) ocn (DOT) ne (DOT) jp>
* Copyright: Copyright (c) 2003 Isao Sonobe, All rights reserved.
* License: OgreKit License
*
* Encoding: UTF8
* Tabsize: 4
*/
#import <Cocoa/Cocoa.h>
#imp... |
/*
* Copyright 2017 MapD Technologies, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law o... |
/*
* Generated by asn1c-0.9.24 (http://lionet.info/asn1c)
* From ASN.1 module "S1AP-IEs"
* found in "S1AP-IEs.asn"
*/
#include "S1ap-CauseProtocol.h"
int S1ap_CauseProtocol_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
asn_app_constraint_failed_f *ctfailcb,
... |
/**
* vnc2rdp: proxy for RDP client connect to VNC server
*
* Copyright 2014 Yiwei Li <leeyiw@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org... |
/*
* Copyright (C) 2017 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... |
#ifndef NET_UNIX_DOMAIN_SOCKET_H_
#define NET_UNIX_DOMAIN_SOCKET_H_
#include "base/macros.h"
#include "net/socket/socket.h"
namespace net {
class UnixDomainSocket : public Socket {
public:
UnixDomainSocket(UnixDomainSocket&& socket) noexcept;
~UnixDomainSocket() override;
UnixDomainSocket& operator=(Uni... |
/*
* (C) Copyright 2016-2019 Intel Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... |
/** \file
* \brief Draw Functions
*
* See Copyright Notice in "iup.h"
*/
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <memory.h>
#include <gtk/gtk.h>
#include "iup.h"
#include "iup_attrib.h"
#include "iup_class.h"
#include "iup_str.h"
#include "iup_object.h"
#include "iup_image.h"
#includ... |
#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_Delaunay_TestsVersionNumber;
FOUNDATION_EXPORT const unsigned char Pods_Delaunay_TestsVersionS... |
/*
* xusb: Generic USB test program
* Copyright © 2009-2012 Pete Batard <pete@akeo.ie>
* Contributions to Mass Storage by Alan Stern.
*
* 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 Foundati... |
/*
* SSM4567 amplifier audio driver
*
* Copyright 2014 Google Chromium project.
* Author: Anatol Pomozov <anatol@chromium.org>
*
* Based on code copyright/by:
* Copyright 2013 Analog Devices Inc.
*
* Licensed under the GPL-2.
*/
#include <linux/module.h>
#include <linux/init.h>
#include <linux/i2c.h>
#inc... |
#pragma once
#include <QJsonObject>
#include <QJsonArray>
#include "AbstractParameters.h"
class RegisterParameters : public AbstractParameters
{
public:
RegisterParameters() = default;
QString Nickname;
QString Password;
void read(const QJsonObject& json) override;
void write(QJsonObject& json) const override... |
/**
******************************************************************************
* @file stm32f4xx_hash_md5.c
* @author MCD Application Team
* @version V1.1.0
* @date 11-January-2013
* @brief This file provides high level functions to compute the HASH MD5 and
* HMAC MD5 Digest of an in... |
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_replace.c :+: :+: :+: ... |
// Copyright (c) 2018 The PIVX developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef DIRTYDEEDS_ZDIDTRACKER_H
#define DIRTYDEEDS_ZDIDTRACKER_H
#include "primitives/zerocoin.h"
#include <list>
class CDeterministicM... |
/*
Copyright (C) 2016-2017 Alexander Borisov
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.1 of the License, or (at your option) any later version.
This library is ... |
//
// JSMenubarController.h
// Pusher
//
// Created by Javier Soto on 10/23/13.
// Copyright (c) 2013 JavierSoto. All rights reserved.
//
#import <Foundation/Foundation.h>
#define STATUS_ITEM_VIEW_WIDTH 24.0
@class StatusItemView;
@interface JSMenubarController : NSObject
@property BOOL hasActiveIcon;
@propert... |
// Generated by gencpp from file kinova_msgs/StopRequest.msg
// DO NOT EDIT!
#ifndef KINOVA_MSGS_MESSAGE_STOPREQUEST_H
#define KINOVA_MSGS_MESSAGE_STOPREQUEST_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include ... |
/*
* FreeRTOS Kernel V10.1.0
* Copyright (C) 2018 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, includ... |
/*
* Copyright 2013 The Netty Project
*
* The Netty Project licenses this file to you 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 ... |
////////////////////////////////////////////////////////////////////////////////
/// DISCLAIMER
///
/// Copyright 2016 ArangoDB GmbH, Cologne, Germany
///
/// 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) 2020 Vivante Corporation
*
* 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 ... |
//
// FTPresetProperty.h
// FTMobileAgent
//
// Created by 胡蕾蕾 on 2020/10/23.
// Copyright © 2020 hll. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "FTMobileConfig.h"
NS_ASSUME_NONNULL_BEGIN
@interface FTPresetProperty : NSObject
@property (nonatomic, assign) BOOL isSignin;
@property (nonatom... |
#include <stdio.h>
#include <stdlib.h>
#include "oimage.h"
#include "oexif.h"
int main(int argc, char **argv) {
init();
printf("arc %d\n", argc);
char *filename, *ofilename;
if (argc > 1) {
filename = argv[1];
} else {
filename = "/Users/cescobaz/omedia/to-import/wait/"
"E399459F-476E-... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_NET_H
#define BITCOIN_NET_H
#include "bloom.h"
#include "compat.h... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE121_Stack_Based_Buffer_Overflow__CWE193_wchar_t_alloca_memmove_66b.c
Label Definition File: CWE121_Stack_Based_Buffer_Overflow__CWE193.label.xml
Template File: sources-sink-66b.tmpl.c
*/
/*
* @description
* CWE: 121 Stack Based Buffer Overflow
* BadSource: Point data... |
/* cat.c
Compares two files. */
#include <stdio.h>
#include <syscall.h>
int
main (int argc, char *argv[])
{
int fd[2];
if (argc != 3)
{
printf ("usage: cmp A B\n");
return EXIT_FAILURE;
}
/* Open files. */
fd[0] = open (argv[1]);
if (fd[0] < 0)
{
printf ("%s: open failed\... |
/**
* @copyright
* Copyright (C) 2020 Assured Information Security, Inc.
*
* @copyright
* 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 limitatio... |
/*
* jcapistd.c
*
* Copyright (C) 1994-1996, Thomas G. Lane.
* This file is part of the Independent JPEG Group's software.
* For conditions of distribution and use, see the accompanying README file.
*
* This file contains application interface code for the compression half
* of the JPEG library. These are the ... |
/*
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!
*/
#include "PluginBase.h"
namespace plugin {
META_BEGIN(CGeneral::GetAngleBetweenPoints)
static int address;
stati... |
/*
* linux/fs/affs/inode.c
*
* (c) 1996 Hans-Joachim Widmaier - Rewritten
*
* (C) 1993 Ray Burr - Modified for Amiga FFS filesystem.
*
* (C) 1992 Eric Youngdale Modified for ISO 9660 filesystem.
*
* (C) 1991 Linus Torvalds - minix filesystem
*/
#include <linux/module.h>
#include <linux/init.h>
#incl... |
// ***************************************************************
// Copyright (c) 2021 Jittor. All Rights Reserved.
// Maintainers:
// Guoye Yang <498731903@qq.com>
// Dun Liang <randonlang@gmail.com>.
//
// This file is subject to the terms and conditions defined in
// file 'LICENSE.txt', which is part o... |
#include "mmt_core.h"
#include "plugin_defs.h"
#include "extraction_lib.h"
#include "../mmt_common_internal_include.h"
/////////////// PROTOCOL INTERNAL CODE GOES HERE ///////////////////
/////////////// END OF PROTOCOL INTERNAL CODE ///////////////////
int init_proto_go_struct() {
protocol_t * protocol_stru... |
#pragma once
struct zmap_header_type;
struct gdrv_bitmap8;
enum class FieldTypes : int16_t
{
// One 16 bit signed integer
ShortValue = 0,
// Sprite bitmap, 8bpp, indexed color
Bitmap8bit = 1,
Unknown2 = 2,
// Group name, char[]. Not all groups have names.
GroupName = 3,
Unknown4 = 4,
// Palette, contai... |
/*
* Copyright (c) 2014, Ford Motor Company
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice, this
* list of condit... |
/* Copyright ©2007-2010 Kris Maglione <maglione.k at Gmail>
* Copyright ©2004-2006 Anselm R. Garbe <garbeam at gmail dot com>
* See LICENSE file for license details.
*/
#include <errno.h>
#include <netdb.h>
#include <netinet/in.h>
#include <signal.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#includ... |
#ifndef _OSMAND_CORE_ACCESS_LOCK_COUNTER_P_H_
#define _OSMAND_CORE_ACCESS_LOCK_COUNTER_P_H_
#include "stdlib_common.h"
#include "QtExtensions.h"
#include <QMutex>
#include <QWaitCondition>
#include "OsmAndCore.h"
#include "PrivateImplementation.h"
namespace OsmAnd
{
class AccessLockCounter;
class AccessLock... |
/*
* (MPSAFE)
*
* Copyright (c) 1991 Regents of the University of California.
* Copyright (c) 1994 John S. Dyson
* Copyright (c) 1994 David Greenman
* Copyright (c) 2003 Peter Wemm
* Copyright (c) 2005-2008 Alan L. Cox <alc@cs.rice.edu>
* Copyright (c) 2008, 2009 The DragonFly Project.
* Copyright (c) 2008, 20... |
/* keywords */
DEF(TOK_INT, "int")
DEF(TOK_VOID, "void")
DEF(TOK_CHAR, "char")
DEF(TOK_IF, "if")
DEF(TOK_ELSE, "else")
DEF(TOK_WHILE, "while")
DEF(TOK_BREAK, "break")
DEF(TOK_RETURN, "return")
DEF(TOK_FOR, "for")
DEF(TOK_EXTERN, "extern")
DEF(TOK_STATIC, "static")
... |
/*
* Copyright (C) 2006, 2008 Valery Kholodkov
* Client body reception code Copyright (c) 2002-2007 Igor Sysoev
* Temporary file name generation code Copyright (c) 2002-2007 Igor Sysoev
*/
#include <ngx_config.h>
#include <ngx_core.h>
#include <ngx_http.h>
#include <nginx.h>
#if (NGX_HAVE_OPENSSL_MD5_H)
#include <... |
#include <msp430.h>
#include <math.h>
typedef unsigned char uchar;
#define SCROL_CTL 0x40 //Scroll image up by SL rows (SL = last 5 bits), range:0-63
#define SET_MIRROR_COL 0xA0 //Normal mirror SEG (column) mapping (set bit0 to mirror columns)
#define SET_MIRROR_ROW 0xC0 //Normal mir... |
/*
* Copyright (C) 2015-2016 Hewlett-Packard Enterprise Development Company, L.P.
* 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.ap... |
/*
* This header is generated by classdump-dyld 1.5
* on Wednesday, October 27, 2021 at 3:18:16 PM Mountain Standard Time
* Operating System: Version 13.5.1 (Build 17F80)
* Image Source: /System/Library/PrivateFrameworks/Workflo... |
/*
* utils.h
*
* Created on: 08.02.2012
* Author: Till Lorentzen
*
*/
#ifndef UTILS_H_
#define UTILS_H_
#include <sys/socket.h>
/**
* This function copies the given value returned from the dht into the target sockaddr_storage
* This is very helpful, because all normal socket functions can handle the sock... |
/*
* Generated by class-dump 3.3.4 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard.
*/
#import "IDEBuildable-Protocol.h"
@class DVTFileDataType, DVTFilePath, NSDictionary, NSString;
@protocol IDEBuildableProduct <IDEBuildable>
@property(readonly) NSDictionary *co... |
#include <xml_node.h>
static ID decorate, decorate_bang;
#ifdef DEBUG
static void debug_node_dealloc(xmlNodePtr x)
{
NOKOGIRI_DEBUG_START(x)
NOKOGIRI_DEBUG_END(x)
}
#else
# define debug_node_dealloc 0
#endif
static void mark(xmlNodePtr node)
{
rb_gc_mark(DOC_RUBY_OBJECT(node->doc));
}
/* :nodoc: */
typedef x... |
/*****************************************************************************
* jlp_camera_thread.h
*
* JLP_CameraThread
*
* JLP version 06/09/2015
*
*****************************************************************************/
#ifndef _jlp_camera_thread_h_
#define _jlp_camera_thread_h_
// --------------------------... |
/*
User.h
Tag class for OpenPGP User packet types to inherit from
Copyright (c) 2013 - 2018 Jason Lee @ calccrypto at gmail.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... |
/* $NetBSD: ipaq_atmelgpio.c,v 1.2 2001/08/02 18:51:01 ichiro Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc. All rights reserved.
*
* This code is derived from software contributed to The NetBSD Foundation
* by Ichiro FUKUHARA (ichiro@ichiro.org).
*
* Redistribution and use in source and binary f... |
#import <UIKit/UIKit.h>
@interface UIImage (ConventionalC)
-(NSData*)pngRepresentation;
@end |
version https://git-lfs.github.com/spec/v1
oid sha256:9776fd6a49584e3b561ebfa6f9cef2a85ec08ef7f53b95671ff87d3135add408
size 2094 |
/*
*-----------------------------------------------------------------------------
* File : TraceLog.h
* Version : 1.0
* Project : OpenSOAP
* Module : OpenSOAP TraceLog Class
* Date : 2003/12/17
* Author : Conchan
* Copyright(C) Technoface Corporation
* http://www.technoface.co.jp/
*
* The OpenSOAP Project
... |
#pragma once
//
// FILE: radar.h
// AUTHOR: Rob Tillaart
// VERSION: see RADAR_LIB_VERSION
// PURPOSE: Arduino library for a pan tilt radar.
// URL: https://github.com/RobTillaart/RADAR
#include "Arduino.h"
#define RADAR_LIB_VERSION (F("0.1.5"))
// TODO # positions in a begin() or constructor?
#if... |
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_ASH_CROSTINI_CROSTINI_SHELF_UTILS_H_
#define CHROME_BROWSER_ASH_CROSTINI_CROSTINI_SHELF_UTILS_H_
#include <string>
#include "base/... |
/*
* Copyright 2011 Jacek Caban for CodeWeavers
*
* 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.1 of the License, or (at your option) any later version.
*
* T... |
// -*- fundamental -*-
/////////////////////////////////////////////////////////////////////////
// $Id: rombios.c,v 1.16 2008/08/14 20:04:33 cuizheng Exp $
/////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2002 MandrakeSoft S.A.
//
// MandrakeSoft S.A.
// 43, rue d'... |
//
// RequestTipRefreshFooter.h
// ZhongLv
//
// Created by zhongke on 2018/11/29.
// Copyright © 2018年 iOSlmm. All rights reserved.
//
#import "MJRefreshAutoNormalFooter.h"
NS_ASSUME_NONNULL_BEGIN
@interface RequestTipRefreshFooter : MJRefreshAutoNormalFooter
@property (nonatomic, strong) NSString *name;
@en... |
// Copyright 2019 The Fuchsia 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 SRC_VIRTUALIZATION_LIB_GUEST_INTERACTION_TEST_INTEGRATION_TEST_LIB_H_
#define SRC_VIRTUALIZATION_LIB_GUEST_INTERACTION_TEST_INTEGRATION_TEST_LIB_H_... |
/*
* Copyright (C) 2008 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 (c) 2009 Dave Gamble
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, copy, modify, merge, publish, dist... |
// pcache.h
namespace Core
{
typedef struct PgHdr PgHdr;
typedef struct PCache PCache;
struct ICachePage
{
void *Buffer; // The content of the page
void *Extra; // Extra information associated with the page
};
class IPCache
{
public:
__device__ virtual RC Init() = 0;
__device__ virtual void Shutdown(... |
/******************************************************************************
*
* Copyright (C) 2010 - 2015 Xilinx, Inc. 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 Soft... |
/*
* This header is generated by classdump-dyld 1.5
* on Tuesday, November 10, 2020 at 10:21:31 PM Mountain Standard Time
* Operating System: Version 14.2 (Build 18K57)
* Image Source: /System/Library/PrivateFrameworks/SiriOntol... |
/*
* Copyright (c) 2012 The Native Client Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
/*
* Checks that CPU ID features match instructions found in executable.
*/
#include <stdlib.h>
#include <string.h>
#include "native_c... |
/**
* \brief Instance header file for ATSAMC21J18AU
*
* Copyright (c) 2021 Microchip Technology Inc. and its subsidiaries.
*
* Subject to your compliance with these terms, you may use Microchip software and any derivatives
* exclusively with Microchip products. It is your responsibility to comply with third party... |
#include <stdio.h>
#include <memory.h>
int main(void)
{
int N;
scanf("%d", &N);
int ch[10002];
memset(ch,0,sizeof(ch));
int num;
int i;
for(i=0;i<N;i++)
{
scanf("%d", &num);
ch[num]++;
}
for(i=0;i<10001;i++)
{
while(ch[i]--)
printf("%d\n", i);
}
} |
/* Copyright 2011-2018 Bas van den Berg
*
* 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 agr... |
//
// Process_WINCE.h
//
// Library: Foundation
// Package: Processes
// Module: Process
//
// Definition of the ProcessImpl class for WIN32.
//
// Copyright (c) 2004-2010, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// SPDX-License-Identifier: BSL-1.0
//
#ifndef Foundation_Process_WINCE_I... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.