text stringlengths 9 948k |
|---|
/*******************************************************************************
* Copyright (C) 2005-2014 Alfresco Software Limited.
*
* This file is part of the Alfresco Mobile iOS App.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with th... |
/*******************************************************************************
*
* Module Name: dmresrcl.c - "Large" Resource Descriptor disassembly
*
******************************************************************************/
/******************************************************************************
*... |
/*-
* Copyright (c) 1991 The Regents of the University of California.
* All rights reserved.
*
* %sccs.include.proprietary.c%
*/
#ifndef lint
char copyright[] =
"@(#) Copyright (c) 1991 The Regents of the University of California.\n\
All rights reserved.\n";
#endif /* not lint */
#ifndef lint
static char sccsid... |
//////////////////////////////////////////////////////////////////////////
// InsertOperation.h
//
// Copyright (C) 2016 Microsoft Corp. All Rights Reserved
//////////////////////////////////////////////////////////////////////////
#pragma once
XTOOLS_NAMESPACE_BEGIN
NAMESPACE_BEGIN(Sync)
// Operation to insert a n... |
/*
* MikroSDK - MikroE Software Development Kit
* Copyright (c) 2019, MikroElektronika - www.mikroe.com
* 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... |
#pragma once
#include "MullModule.h"
namespace llvm {
class LLVMContext;
}
namespace mull {
class ModuleLoader;
class progress_counter;
class ModuleLoadingTask {
public:
using In = const std::vector<std::string>;
using Out = std::vector<std::unique_ptr<MullModule>>;
using iterator = In::const_iterator;
Mo... |
#ifndef BITCOINUNITS_H
#define BITCOINUNITS_H
#include "util.h"
#include <QString>
#include <QAbstractListModel>
// U+2009 THIN SPACE = UTF-8 E2 80 89
#define REAL_THIN_SP_CP 0x2009
#define REAL_THIN_SP_UTF8 "\xE2\x80\x89"
#define REAL_THIN_SP_HTML " "
// U+200A HAIR SPACE = UTF-8 E2 80 8A
#define HAIR_SP_CP... |
/*------------------------------------------------------------------*-
PC_IO_T1.H (v1.01)
------------------------------------------------------------------
- see PC_IO_T1.C for details.
COPYRIGHT
---------
This code is from the book:
PATTERNS FOR TIME-TRIGGERED EMBEDDED SYSTEMS by Michael J.... |
#include <stdio.h>
int main() {
printf("Pr0cness Monster\n");
while (1) {}
} |
/*
WARNING: THIS FILE IS AUTO-GENERATED. DO NOT MODIFY.
This file was generated from AccelWithCovarianceStamped_.idl using "rtiddsgen".
The rtiddsgen tool is part of the RTI Connext distribution.
For more information, type 'rtiddsgen -help' at a command shell
or consult the RTI Connext manual.
*/
#ifndef AccelWithCov... |
//
// Created by Khyber on 8/14/2019.
//
#pragma once
#include "src/main/LValue.h"
namespace scratch {
class List final : public LValue {
private:
public:
Lazy<TypeBase> elementType;
explicit List(std::string name) : LValue(ValueKind::list, std::move(name)) {}
... |
// Copyright (c) 2019-2021 WAZN Project
// Copyright (c) 2014-2020, The Monero Project
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are
// permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain th... |
/**
******************************************************************************
* @file stm32l0xx_ll_exti.c
* @author MCD Application Team
* @brief EXTI LL module driver.
******************************************************************************
* @attention
*
* <h2><center>© COPYRIGHT... |
/*!
* @section LICENSE
*
* (C) Copyright 2011~2014 Bosch Sensortec GmbH 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/LI... |
/* numa.c
* Parse NUMA-related files.
*/
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
#include <dirent.h>
#include <limits.h>
#include <ctype.h>
#include <unistd.h>
#include "lub/list.h"
#include "cpumask.h"
#include "numa.h"
int numa_list_compare(const void *first, const void ... |
#include "blinky.h"
#include <inttypes.h>
timer timerIndicationOn;
indication indicator;
movement movement_sensor;
enum state_enum { STATE_IDLE, STATE_DETECTED };
enum state_enum state = STATE_IDLE;
void blinky_init(timer timer_instance, indication indication_instance,
movement movement_instance) ... |
#pragma once
//------------------------------------------------------------------------------
/**
@class CCooldown
(C) 2016 n.lee
*/
#include <stdio.h>
#include <string>
#include <vector>
#include <map>
#include <float.h>
#define CD_WAITING_QUEUE_SIZE 8
//-------------------------------------------------... |
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Factories/Factory.h"
#include "VlcFileMediaSourceFactory.generated.h"
/**
* Implements a factory for UFileMediaSource objects.
*/
UCLASS(hidecategories=Object)
class UVlcFileMediaSourceFactory
: public UFactory
{
GENERATED_UCLAS... |
/* Generated by RuntimeBrowser
Image: /System/Library/PrivateFrameworks/CommunicationsSetupUI.framework/CommunicationsSetupUI
*/
@interface CKMultipleIDSSubscriptionsTableCell : PSTableCell {
UILabel * _centeredNameLabel;
UILabel * _nameLabel;
UILabel * _numberLabel;
}
@property (nonatomic, retain) UI... |
/*
* core.h - DesignWare HS OTG Controller common declarations
*
* Copyright (C) 2004-2013 Synopsys, Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the abo... |
/*
* CC Bootloader - Hardware Abstraction Layer
*
* Fergus Noble (c) 2011
*
* 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; version 2 of the License.
*
* This program is distributed in... |
/*
* This header is generated by classdump-dyld 1.0
* on Saturday, June 1, 2019 at 6:48:10 PM Mountain Standard Time
* Operating System: Version 12.1.1 (Build 16C5050a)
* Image Source: /System/Library/PrivateFrameworks/ChatKit.framework/ChatKit
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Li... |
#include "unity.h"
#include "SplitStrings.h"
/* Required by the unity test framework */
void setUp(){}
/* Required by the unity test framework */
void tearDown(){}
void test_SplitStrings(char *a)
{
TEST_ASSERT_EQUAL_STRING('"my","name","is","edcast","future","skills"',SplitStrings("my_name_is_edcast_future_skills"))... |
/*
* Copyright (C) 2010 Andreas Steffen
* HSR Hochschule fuer Technik Rapperswil
*
* 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) a... |
/* Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
/* Watchdog driver */
#include "clock.h"
#include "common.h"
#include "registers.h"
#include "gpio.h"
#include "hooks.h"
#include "task.h"
#in... |
/*
* Broadcom Proprietary and Confidential. Copyright 2016 Broadcom
* All Rights Reserved.
*
* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Broadcom Corporation;
* the contents of this file may not be disclosed to third parties, copied
* or duplicated in any form, in whole or in part, without the prior
* writt... |
#pragma once
namespace openloco::intro
{
enum class intro_state
{
none,
begin,
state_8 = 8,
state_9 = 9,
end = 254,
};
bool is_active();
intro_state state();
void state(intro_state state);
void update();
} |
/*
* lws-minimal-ws-server
*
* Copyright (C) 2018 Andy Green <andy@warmcat.com>
*
* This file is made available under the Creative Commons CC0 1.0
* Universal Public Domain Dedication.
*
* This demonstrates the most minimal http server you can make with lws.
*
* To keep it simple, it serves stuff in the subdi... |
//===- Attributor.h --- Module-wide attribute deduction ---------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... |
#include <stdlib.h>
#include <time.h>
bool hasSetSeed = false;
int SetSeed(){
srand(time(NULL));
return 0;
}
int GetRandomNumber(){
if (!hasSetSeed) {
SetSeed();
hasSetSeed = true;
}
return rand();
}
int GetRandomNumber(int max){
if (max <= 0) return -1;
else return GetRa... |
#ifndef _RTTTL_H
#define _RTTTL_H
#include <Arduino.h>
#include <Song.h>
// these tunes are in rtttl (ringtone) format. Declared here for limited RAM
#define RTTTL_CROATIA "croatia:d=64,o=6,b=160:4f#,p,4f#,p,4f#.,p,8e,p,8e,p,8d,p,4d,p,2a5,p,8g5,p,8f#5,p,8g5,p,8a5,p,2b5,p,8a5,p,8g5,p,8f#5,p,8g5,p,2a5,p,4f#,p,4f#,p,4f... |
// The MIT License (MIT)
//
// Copyright (c) 2015-2016 forkingdog ( https://github.com/forkingdog )
//
// 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 withou... |
#define pr_fmt(fmt) "SMP alternatives: " fmt
#include <linux/module.h>
#include <linux/sched.h>
#include <linux/mutex.h>
#include <linux/list.h>
#include <linux/stringify.h>
#include <linux/mm.h>
#include <linux/vmalloc.h>
#include <linux/memory.h>
#include <linux/stop_machine.h>
#include <linux/slab.h>
#include <linu... |
/* $Id$ */
/*
* Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com)
* Copyright (C) 2003-2008 Benny Prijono <benny@prijono.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; eit... |
/******************************************************************************
* $Id: rasterlitedataset.h 31167 2015-10-27 21:33:35Z goatbar $
*
* Project: GDAL Rasterlite driver
* Purpose: Implement GDAL Rasterlite support using OGR SQLite driver
* Author: Even Rouault, <even dot rouault at mines dash paris ... |
/*
Copyright 2017-2019 FUJITSU CLOUD TECHNOLOGIES LIMITED All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required b... |
/*
* This header is generated by classdump-dyld 1.0
* on Saturday, June 1, 2019 at 6:46:25 PM Mountain Standard Time
* Operating System: Version 12.1.1 (Build 16C5050a)
* Image Source: /System/Library/PrivateFrameworks/SiriTasks.framework/SiriTasks
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elia... |
// Lean compiler output
// Module: Lean.Elab.Quotation.Util
// Imports: Init Lean.Elab.Term
#include <lean/lean.h>
#if defined(__clang__)
#pragma clang diagnostic ignored "-Wunused-parameter"
#pragma clang diagnostic ignored "-Wunused-label"
#elif defined(__GNUC__) && !defined(__CLANG__)
#pragma GCC diagnostic ignored ... |
/*
* $Id: debug.c,v 1.5 2006/01/26 02:16:28 mclark Exp $
*
* Copyright (c) 2004, 2005 Metaparadigm Pte. Ltd.
* Michael Clark <michael@metaparadigm.com>
*
* This library is free software; you can redistribute it and/or modify
* it under the terms of the MIT license. See COPYING for details.
*
*/
#include "conf... |
// Copyright (c) 2006, Google Inc.
// 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 conditi... |
/*
PAKET( name,
TYPE ( pn, pr, member )
...
)
You may never reissue one of the pn arguments
*/
#if !defined(NL_PACKET) || !defined(NL_STRING) || !defined(NL_INTEGER) || !defined(NL_BIT) || !defined(NL_INT64)
#error "The macros NL_PACKET, NL_STRING, NL_INTEGER, NL_INT64 and NL_BIT needs to be defined"
#... |
//
// UIViewController+Transitioning.h
// https://github.com/LoongerTao/TLTransitions
//
// Created by 故乡的云 on 2018/10/31.
// Copyright © 2018 故乡的云. All rights reserved.
//
//================================================//
// 面向UIViewController
//================================================//
#import "TLGl... |
/*
* raid1.c : Multiple Devices driver for Linux
*
* Copyright (C) 1999, 2000, 2001 Ingo Molnar, Red Hat
*
* Copyright (C) 1996, 1997, 1998 Ingo Molnar, Miguel de Icaza, Gadi Oxman
*
* RAID-1 management functions.
*
* Better read-balancing code written by Mika Kuoppala <miku@iki.fi>, 2000
*
* Fixes to recons... |
//
// LiuAppDelegate.h
// LiuCategores
//
// Created by liukkk333 on 06/14/2019.
// Copyright (c) 2019 liukkk333. All rights reserved.
//
@import UIKit;
@interface LiuAppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end |
// Copyright 2004-present Facebook. All Rights Reserved.
#pragma once
#include <folly/Optional.h>
#include <folly/dynamic.h>
#include <jsi/jsi.h>
#include <react/core/ShadowNode.h>
#include <react/uimanager/ComponentDescriptorRegistry.h>
#include <react/uimanager/UIManagerDelegate.h>
namespace facebook {
namespace ... |
//
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. Licensed under the Apache License, Version 2.0.
// See License.txt in the project root for license information.
//
#import <Foundation/Foundation.h>
@class OneNotePickerController;
@protocol OneNotePickerControllerDelegate <NSObject>
@opti... |
/*
SDL - Simple DirectMedia Layer
Copyright (C) 1997-2009 Sam Lantinga
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 op... |
#include <sstream>
class pmrsg {
public:
static std::string rsg(const int size){
std::string output;
int N = size, M = 32;
string alphabet("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789");
for (int index = 0; index < N; index++)
{
string str;
str.reserve(M);
for (i... |
/*
* Copyright 2019 Gianluca Frison, Dimitris Kouzoupis, Robin Verschueren,
* Andrea Zanelli, Niels van Duijkeren, Jonathan Frey, Tommaso Sartor,
* Branimir Novoselnik, Rien Quirynen, Rezart Qelibari, Dang Doan,
* Jonas Koenemann, Yutao Chen, Tobias Schöls, Jonas Schlagenhauf, Moritz Diehl
*
* This file is part o... |
// Copyright (c) 2002
// Utrecht University (The Netherlands),
// ETH Zurich (Switzerland),
// INRIA Sophia-Antipolis (France),
// Max-Planck-Institute Saarbruecken (Germany),
// and Tel-Aviv University (Israel). All rights reserved.
//
// This file is part of CGAL (www.cgal.org)
//
// $URL: https://github.com/CGAL... |
/*
* Copyright (c) 2020 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
#include <string.h>
#include "libapplet_internal.h"
#include "applets/friends_la.h"
#include "runtime/hosversion.h"
static Result _friendsLaShow(const FriendsLaArg *arg, bool playStartupSound) {
Result rc=0;
Result rc2=0;
size_t readsize=0;
u32 version=0x1;
const void* arg_ptr = arg;
size_t arg... |
/*
The MIT License(MIT)
Copyright(c) 2015 Matt Guerrette
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, me... |
#pragma once
#ifndef __cplusplus
#include <stdbool.h>
#endif
#include <stddef.h>
typedef struct MemoryStream MemoryStream;
enum MemoryStream_Origin
{
MEMORYSTREAM_START,
MEMORYSTREAM_CURRENT,
MEMORYSTREAM_END
};
MemoryStream* MemoryStream_Create(bool free_buffer_when_destroyed);
void MemoryStream_Destroy(Memory... |
/*
* Copyright (C) 2009 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions a... |
//
// AppDelegate.h
// BBHyperbolicWaveAnimation
//
// Created by Biao on 16/7/1.
// Copyright © 2016年 Biao. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end |
/*
* Generated by asn1c-0.9.24 (http://lionet.info/asn1c)
* From ASN.1 module "X2AP-Containers"
* found in "/home/oainuc2/openairinterface5g/openair2/X2AP/MESSAGES/ASN1/R11.2/X2AP-Containers.asn"
* `asn1c -gen-PER`
*/
#ifndef _ProtocolExtensionField_H_
#define _ProtocolExtensionField_H_
#include <asn_applicat... |
/*
* Copyright 2010-2017 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" fil... |
#pragma once
#include "rational.h"
#include <map>
namespace smt
{
typedef size_t var;
class lin
{
public:
lin();
lin(const rational &known_term);
lin(const var v, const rational &c);
public:
lin operator+(const lin &right) const;
lin operator+(const rational &right) const;
friend lin operator+(const ra... |
/*=========================================================================
Program: OsiriX
Copyright (c) OsiriX Team
All rights reserved.
Distributed under GNU - LGPL
See http://www.osirix-viewer.com/copyright.html for details.
This software is distributed WITHOUT ANY WARRANTY; without even
... |
/* Macros */
#include <stdio.h>
#include "application.h"
#include "account.h"
#include "content.h"
#include "../config.h"
/* Global scope */
account * Account = NULL;
void
A_help ( void )
{
puts( "Usage: vkgrab [OPTIONS] <USER|GROUP>" );
puts( "" );
puts( "Options:" );
puts( " -T generate link ... |
/**
* @author Neo Xu (neo.xu1990@gmail.com)
* @license The MIT License (MIT)
*
* Copyright (c) 2019 Neo Xu
*
* 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, inc... |
/***********************************************************************
filename: polishcalc.c
author: Thomas van der Burgt
date: 2010-02-25
description:
The C Programming Language, second edition,
by Brian Kernighan and Dennis Ritchie
Exercise 4-5, page 79
... |
/**
* Copyright (c) 2019 Oticon A/S
*
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @brief Service B.2
*
* This code is auto-generated from the Excel Workbook
* 'GATT_Test_Databases.xlsm' Sheet: 'Large Database 3'
*/
#include <sys/byteorder.h>
#include <sys/printk.h>
#include <bluetooth/gatt.h>
#include "... |
#include <stdio.h>
#include <string.h>
#include <math.h>
int main(int argc, char* argv[]) {
int power = 5;
int start = 2;
int end = pow(9, 5) * 6;
int sum = 0;
for(int i = start; i <= end; i++) {
char s[128];
int len = sprintf(s, "%i", i);
int sum_pow = 0;
for(int j = 0; j < len; j++) {
sum_pow += ... |
/* -------------------------------------------------------------------------- */
/* Copyright 2002-2019, OpenNebula Project, OpenNebula Systems */
/* */
/* Licensed under the Apache License, Version 2.0 (the "License"); you may ... |
/*
* Copyright (C) 2012 Google Inc. 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 conditio... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE134_Uncontrolled_Format_String__char_file_snprintf_53d.c
Label Definition File: CWE134_Uncontrolled_Format_String.label.xml
Template File: sources-sinks-53d.tmpl.c
*/
/*
* @description
* CWE: 134 Uncontrolled Format String
* BadSource: file Read input from a file
* G... |
/*
* Copyright 2015-2022 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/l... |
/*
* This header is generated by classdump-dyld 1.0
* on Sunday, September 27, 2020 at 12:32:46 PM Mountain Standard Time
* Operating System: Version 14.0 (Build 18A373)
* Image Source: /usr/lib/libAWDSupportFramework.dylib
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos.
*/
#import <l... |
/* This file was automatically generated by CasADi.
The CasADi copyright holders make no ownership claim of its contents. */
#ifdef __cplusplus
extern "C" {
#endif
/* How to prefix internal symbols */
#ifdef CASADI_CODEGEN_PREFIX
#define CASADI_NAMESPACE_CONCAT(NS, ID) _CASADI_NAMESPACE_CONCAT(NS, ID)
#define _... |
/**
* @file oscc_check.h
* @brief common fault checking functions.
*
*/
#ifndef _OSCC_CHECK_H_
#define _OSCC_CHECK_H_
#include <stdint.h>
typedef struct {
//! Flag set if a fault condition has been detected and is being monitored.
bool monitoring_active;
//! The time (in ms) when the fault conditio... |
//===--- Availability.h - Swift Availability Structures ---------*- C++ -*-===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... |
/*
* This header is generated by classdump-dyld 1.5
* on Wednesday, April 28, 2021 at 9:10:20 PM Mountain Standard Time
* Operating System: Version 14.5 (Build 18L204)
* Image Source: /System/Library/Frameworks/TVMLKit.framework... |
#include "../include/equilibrer_index.h"
int id = 0;
/*
* === FUNCTION ======================================================================
* Name: afficher_tableau
* Description:
* =====================================================================================
*/
void afficher_tableau ( t_... |
/* ISC license. */
#include <skalibs/sysdeps.h>
#ifdef SKALIBS_HASSPLICE
#include <errno.h>
#include <skalibs/djbunix.h>
#include <skalibs/iobuffer.h>
static void iobufferk_nop (iobufferk *k)
{
(void)k ;
}
static void iobufferk_finish_0 (iobufferk *k)
{
register int e = errno ;
fd_close(k->p[1]) ;
errno = ... |
/* Generated by RuntimeBrowser
Image: /System/Library/PrivateFrameworks/Home.framework/Home
*/
@interface HFHumidifierDehumidifierServiceItem : HFServiceItem
+ (id)supportedServiceTypes;
- (void)_formatDescription:(out id*)arg1 controlDescription:(out id*)arg2 optionalDescriptions:(out id*)arg3 forResponse:(id)a... |
#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 PlaceholderTextFieldVersionNumber;
FOUNDATION_EXPORT const unsigned char PlaceholderTextFieldVersio... |
/*
* Copyright (c) 1998-2008 Apple Inc. All rights reserved.
*
* @APPLE_LICENSE_HEADER_START@
*
* The contents of this file constitute Original Code as defined in and
* are subject to the Apple Public Source License Version 1.1 (the
* "License"). You may not use this file except in compliance with the
* Licen... |
/*
# _____ ___ ____ ___ ____
# ____| | ____| | | |____|
# | ___| |____ ___| ____| | \ PS2DEV Open Source Project.
#-----------------------------------------------------------------------
# Copyright 2001-2004, ps2dev - http://www.ps2dev.org
# Licenced under Academic Free License ve... |
/** @file
* @brief MAVLink comm protocol generated from minimal.xml
* @see http://mavlink.org
*/
#pragma once
#ifndef MAVLINK_MINIMAL_H
#define MAVLINK_MINIMAL_H
#ifndef MAVLINK_H
#error Wrong include order: MAVLINK_MINIMAL.H MUST NOT BE DIRECTLY USED. Include mavlink.h from the same directory instead or set ... |
/**
******************************************************************************
* @file GPIO/GPIO_EXTI/Src/stm32f4xx_it.c
* @author MCD Application Team
* @version V1.3.4
* @date 06-May-2016
* @brief Main Interrupt Service Routines.
* This file provides template for all exceptions ha... |
/*
* SMP support for r8a7791
*
* Copyright (C) 2013 Renesas Solutions Corp.
* Copyright (C) 2013 Magnus Damm
*
* 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; version 2 of the License.
... |
/** @file
Helper routine and corresponding data struct used by USB Mouse Driver.
Copyright (c) 2004 - 2011, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. T... |
/*
* Copyright 2010-2017 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" fil... |
/*-
* BSD LICENSE
*
* Copyright (c) Intel Corporation.
* All rights reserved.
* Copyright (c) 2021 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* ar... |
/*
* MySQLBaseInfoDriver.h
*
* Created on: 2014年8月27日
* Author: fasiondog
*/
#pragma once
#ifndef MYSQLBASEINFODRIVER_H_
#define MYSQLBASEINFODRIVER_H_
#include "../../BaseInfoDriver.h"
#if defined(_MSC_VER)
#include <mysql.h>
#else
#include <mysql/mysql.h>
#endif
namespace hku {
class MySQLBase... |
#ifndef __wgl_wglext_h_
#define __wgl_wglext_h_ 1
#ifdef __cplusplus
extern "C" {
#endif
/*
** Copyright (c) 2013-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 th... |
#include <annotate/dclust.h>
int cmpd(const void *x, const void *y)
{
double xx = *(double*)x, yy = *(double*)y;
if (xx < yy) return -1;
if (xx > yy) return 1;
return 0;
}
int cmpi(const void *x, const void *y)
{
int xx = *(int*)x, yy = *(int*)y;
if (xx < yy) return -1;
if (xx > yy) return 1;
return... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE401_Memory_Leak__char_realloc_65b.c
Label Definition File: CWE401_Memory_Leak.c.label.xml
Template File: sources-sinks-65b.tmpl.c
*/
/*
* @description
* CWE: 401 Memory Leak
* BadSource: realloc Allocate data using realloc()
* GoodSource: Allocate data on the stack
... |
#pragma once
#ifndef OOSL_OPERATOR_ID_H
#define OOSL_OPERATOR_ID_H
namespace oosl{
namespace common{
enum class operator_id{
nil,
comma,
assignment,
compound_plus,
compound_minus,
compound_times,
compound_divide,
compound_modulus,
compound_bitwise_or,
compound_bitwise_xor,
compound... |
#ifdef __CINT__
#pragma link off all globals;
#pragma link off all classes;
#pragma link off all functions;
#pragma link C++ class stntuple::TTriggerAnaModule;
#pragma link C++ class stntuple::TTriggerAnaModule::Hist_t;
#pragma link C++ class stntuple::TTriggerAnaModule::EventHist_t;
#endif |
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include <vespa/searchcommon/attribute/iattributevector.h>
#include <vespa/searchlib/common/address_space.h>
#include <vespa/searchlib/datastore/datastore.h>
#include <vespa/searchlib/ut... |
/*
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 ... |
/**
******************************************************************************
* @file FatFs/FatFs_USBDisk_RTOS/Inc/main.h
* @author MCD Application Team
* @brief Header for main.c module
******************************************************************************
* @attention
*
* <h2><cent... |
// This code contains NVIDIA Confidential Information and is disclosed to you
// under a form of NVIDIA software license agreement provided separately to you.
//
// Notice
// NVIDIA Corporation and its licensors retain all intellectual property and
// proprietary rights in and to this software and related documentation... |
//
// BREthereumBase
// WalletKitCore Ethereum
//
// Created by Ed Gamble on 3/22/18.
// Copyright © 2018-2019 Breadwinner AG. All rights reserved.
//
// See the LICENSE file at the project root for license information.
// See the CONTRIBUTORS file at the project root for a list of contributors.
#ifndef BR_Ethe... |
///////////////////////////////////////////////////////////////////////////////
// Name: mac/dataobj2.h
// Purpose: declaration of standard wxDataObjectSimple-derived classes
// Author: David Webster (adapted from Robert Roebling's gtk port
// Modified by:
// Created: 10/21/99
// RCS-ID: $Id$
/... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.