text stringlengths 9 948k |
|---|
/*
* Copyright (c) 1999 Peter Wemm <peter@FreeBSD.org>
* 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, th... |
// This file is a part of Julia. License is MIT: https://julialang.org/license
/*
implementations of built-in functions
*/
#include "platform.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <stdarg.h>
#include <setjmp.h>
#include <sys/types.h>
#include <errno.h>
#include <fcntl.h>
#include <i... |
/* cnaiapi_init.c - cnaiapi_init */
#include <cnaiapi.h>
#include <stdio.h>
#if defined(LINUX) || defined(SOLARIS)
pthread_mutex_t await_contact_mutex = PTHREAD_MUTEX_INITIALIZER;
pthread_mutex_t cname_mutex = PTHREAD_MUTEX_INITIALIZER;
pthread_mutex_t appname_mutex = PTHREAD_MUTEX_INITIALIZER;
#elif defined(WIN32... |
#include "cdata.h"
#include <stdio.h>
#include "test.h"
void print_int32(void *data)
{
int32_t *ptr = (int32_t *)data;
printf("%d\n", *ptr);
}
int test_adding_numbers()
{
bool result;
array_t array;
result = array_init(&array, sizeof(int32_t), 0, true);
if (!result) {
//printf("Could not create array... |
/************************************************************************************
sdutil.c--List time jumps in SD card
06-22-2014
SD card utility: zero card, check time gaps, hi/lo times on card.
*************************************************************************************/
/*
Hack of sdtimf.c
// Example--... |
/*
* This header is generated by classdump-dyld 1.0
* on Sunday, September 27, 2020 at 11:40:30 AM Mountain Standard Time
* Operating System: Version 14.0 (Build 18A373)
* Image Source: /System/Library/PrivateFrameworks/MediaRemote.framework/MediaRemote
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by... |
/******************************************************************************
** Filename: bitvec.h
** Purpose: Routines for manipulating bit vectors
** Author: Dan Johnson
** History: Wed Mar 7 17:52:45 1990, DSJ, Created.
**
** (c) Copyright Hewlett-Packard Company, 1988.
** L... |
// RUN: %libomptarget-compile-aarch64-unknown-linux-gnu -DSHARED -fPIC -shared -o %t.so && %clang %flags %s -o %t-aarch64-unknown-linux-gnu -ldl && %libomptarget-run-aarch64-unknown-linux-gnu %t.so 2>&1 | %fcheck-aarch64-unknown-linux-gnu
// RUN: %libomptarget-compile-powerpc64-ibm-linux-gnu -DSHARED -fPIC -shared -o %... |
#ifndef ACL_SIGNAL_TPL_GUARD
#pragma GCC error "DON'T use this file in your own projects!!! Use signal.h instead"
#endif
public:
Signal() {}
inline void operator()(As ... args) {
invoke(args...);
}
void subscribe(callback_t *cb) {
// Subscribing during invocation cannot guarantee whe... |
/* Copyright 2018, OpenSoft 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
* conditions a... |
/*-------------------------------------------------------------------------
*
* pg_hint_plan.c
* hinting on how to execute a query for PostgreSQL
*
* Copyright (c) 2012-2019, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
*
*-------------------------------------------------------------------------
*/
#include <s... |
#pragma once
#include "datatypes.h"
#include "com_ptr.h"
#include <windows.h>
#include <d3d11.h>
#include <vector>
#include <array>
#include <functional>
struct QueryHandle
{
unsigned queryIndex;
};
struct PerformanceQuery
{
com_ptr<ID3D11Query> disjoint;
com_ptr<ID3D11Query> start;
com_ptr<ID3D11Query> end;
un... |
/* MIT License
*
* Copyright (c) 2016-2020 INRIA, CMU and Microsoft 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 restriction, including without limitation the r... |
#include <stdio.h>
int main(void) {
int i = 2;
switch(i) {
case 0:
printf("case 0");
case 1:
printf("case 1");
break;
default:
printf("default");
break;
}
return 0;
} |
/*
* 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 ma... |
#pragma once
#include <stdio.h>
#include <vector>
#include "Texture.h"
#include <string.h>
#define png_infopp_NULL (png_infopp)NULL
#define int_p_NULL (int*)NULL
#include <vector>
#include <stdlib.h>
#include <malloc.h>
#include <png.h>
#include <pspdebug.h>
#include <pspgu.h>
#include <pspgum.h>
#include <psputils.... |
/*
* Copyright (c) 2004-2010 The Trustees of Indiana University and Indiana
* University Research and Technology
* Corporation. All rights reserved.
* Copyright (c) 2004-2011 The University of Tennessee and The University
* of Tennessee Resea... |
#ifndef BABYLON_MATERIALS_NODE_BLOCKS_COLOR_MERGER_BLOCK_H
#define BABYLON_MATERIALS_NODE_BLOCKS_COLOR_MERGER_BLOCK_H
#include <babylon/babylon_api.h>
#include <babylon/materials/node/node_material_block.h>
namespace BABYLON {
class ColorMergerBlock;
using ColorMergerBlockPtr = std::shared_ptr<ColorMergerBlock>;
/*... |
/*
===========================================================================
Doom 3 GPL Source Code
Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company.
This file is part of the Doom 3 GPL Source Code (?Doom 3 Source Code?).
Doom 3 Source Code is free software: you can redistribute it and/or modify... |
/*
==============================================================================
This file is part of the JUCE library - "Jules' Utility Class Extensions"
Copyright 2004-11 by Raw Material Software Ltd.
------------------------------------------------------------------------------
JUCE can be redistrib... |
$NetBSD: patch-action.c,v 1.2 2020/06/19 21:17:46 scole Exp $
Do not use alloca and strdupa which some platforms may not have
--- action.c.orig 2019-08-29 01:58:04.000000000 +0000
+++ action.c
@@ -2284,9 +2284,22 @@ static char *get_start(char *s, int n)
static int subpathname_fn(struct atom *atom, struct action_d... |
/*
* This header is generated by classdump-dyld 1.0
* on Sunday, June 7, 2020 at 11:24:16 AM Mountain Standard Time
* Operating System: Version 13.4.5 (Build 17L562)
* Image Source: /System/Library/PrivateFrameworks/TelephonyUtilities.framework/TelephonyUtilities
* classdump-dyld is licensed under GPLv3, Copyright © 20... |
/*
OZCollide - Collision Detection Library
Copyright (C) 2006-2014 by Igor Kravtchenko
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) an... |
//
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Jun 6 2019 20:12:56).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import <objc/NSObject.h>
#import <IDEKit/IDEURLHandler-Protocol.h>
@class NSString;
@interface IDESourceControlCloneURLHandler : NS... |
/* D S P L I N E . C
* BRL-CAD
*
* Copyright (c) 2004-2022 United States Government as represented by
* the U.S. Army Research Laboratory.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* version 2.1 a... |
/*
* Copyright 2008 Henri Verbeet 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.
*
*... |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kendra/Kendra_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace kendra
{
namespace Model
{
enum class DataSourceType
{
NOT_SET,
... |
/* Copyright (c) 2015, Linaro Limited
* All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
/**
* @file
*
* ODP errno API
*/
#ifndef ODP_PLAT_ERRNO_H_
#define ODP_PLAT_ERRNO_H_
#ifdef __cplusplus
extern "C" {
#endif
#include <odp/api/spec/errno.h>
#ifdef __cplusplus
}
#endif
#endif |
#pragma once
#ifndef FPPLUS_POLEVL_H
#define FPPLUS_POLEVL_H
#include <fpplus/eft.h>
inline static double muladd_horner15(double x, double c0, double c1, double c2, double c3, double c4, double c5, double c6, double c7, double c8, double c9, double c10, double c11, double c12, double c13, double c14, double c15) {
d... |
inherit "room/room";
reset(arg) {
if(arg) return;
add_exit("west","/wizards/grizzt/tower/2ndfloor1");
set_not_out(1);
short_desc = "An empty guestroom";
long_desc = "This small and simple room must be for the occasional guests \n"+
"of this tower. There are no expensive decorations o... |
//===-- sanitizer/asan_interface.h ------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... |
/****************************************************************************
* apps/nshlib/nsh_netcmds.c
*
* Copyright (C) 2007-2012, 2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are pe... |
#include <stdio.h>
/* RECURSIVE function that returns the position of the first appearance of a specified digit
in a positive number. The position of the digit is counted from the right and starts from 1.
If the required digit is not in the number, the function should return 0 */
int rDigitPos1(int num, int digit);
v... |
// *************************************************************************
//
// This File Is Automatically Generated by the StarBusIDL-to-C++ Compiler !
//
// Copyright (c) 2003
// Network Information Security Institute,Computer College,NUDT.
// ChangSha,Hunan,PRC
//
// All Rights Reserved
//
// ********************... |
/*
* Copyright 2010-2016 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"Singleton.h"
#include"Window.h"
#include"Scene.h"
#include<memory>
namespace NeneLabyrinth
{
namespace Core
{
class Application :
public Utility::Singleton<Application>
{
std::shared_ptr<Scene> scenes;
Core::Window* pWindow = nullptr;
void DoUpdata();
void DoRendering();
... |
/******************************************************************************
* Filename: hw_cpu_fpb_h
* Revised: 2017-01-31 09:37:48 +0100 (Tue, 31 Jan 2017)
* Revision: 48345
*
* Copyright (c) 2015 - 2017, Texas Instruments Incorporated
* All rights reserved.
*
* Redistribution and use in sour... |
/*|-----------------------------------------------------------------------------
*| This source code is provided under the Apache 2.0 license --
*| and is provided AS IS with no warranty or guarantee of fit for purpose. --
*| See the project's LICENSE.md for details. ... |
#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_AugPodsList_TestsVersionNumber;
FOUNDATION_EXPORT const unsigned char Pods_AugPodsList_TestsVe... |
#ifndef _MPxComponentShape
#define _MPxComponentShape
//-
// ==========================================================================
// Copyright (C) 1995 - 2006 Autodesk, Inc., and/or its licensors. All
// rights reserved.
//
// The coded instructions, statements, computer programs, and/or related
// material ... |
#include <gmp.h>
#include <stdio.h>
#include "../include/rsa.h"
int main() {
/* Initialization */
mpz_t m;
mpz_init(m);
bytestream_t msg, sign, cipher;
bs_init(msg);
bs_init(sign);
bs_init(cipher);
/* Print message */
bs_set_b(msg, "abc", 3);
mpz_set_bs(m, msg);
gmp_printf("Original message: %Zx\n", m);
... |
/*
* include/asm-sh/cpu-sh3/cacheflush.h
*
* Copyright (C) 1999 Niibe Yutaka
*
* 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.
*/
#ifndef __ASM_CPU_SH3_CACHEFLUSH_H
#define __ASM_CPU_SH3_CAC... |
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_SUPERVISED_USER_KIDS_CHROME_MANAGEMENT_KIDS_CHROME_MANAGEMENT_CLIENT_FACTORY_H_
#define CHROME_BROWSER_SUPERVISED_USER_KIDS_CHROME_... |
/**************************************************************************//**
* @file system_ARMCM3.c
* @brief CMSIS Device System Source File for
* ARMCM3 Device
* @version V1.0.2
* @date 15. November 2019
******************************************************************************/
/*
... |
#ifndef SVALJOINTEST_H_
#define SVALJOINTEST_H_
#include "UnitTest.h"
#include "../AM/AM.h"
#include "../AM/ROSAM.h"
#include "../Paths.h"
#include "../Operators/EMTuplePrinter.h"
#include "../Operators/Concat.h"
#include "../Operators/Operator.h"
#include "../Operators/NLJoin.h"
#include "../Wrappers/IntDataSource.h"... |
#include "disc_dfi.h"
#include "disc.h"
#include "ibm_disc_format.h"
#include "log.h"
#include "util.h"
#include <assert.h>
#include <string.h>
void
disc_dfi_load(struct disc_struct* p_disc) {
static const size_t k_max_dfi_track_size = (1024 * 1024);
uint32_t len;
uint8_t header[4];
uint8_t chunk[10];
int3... |
/*BHEADER**********************************************************************
* Copyright (c) 2008, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* This file is part of HYPRE. See file COPYRIGHT for details.
*
* HYPRE is free software; you can redistribute... |
/*
* Copyright (c) 2018 Yubico AB. All rights reserved.
* Use of this source code is governed by a BSD-style
* license that can be found in the LICENSE file.
*/
#ifndef _EXTERN_H
#define _EXTERN_H
#include <stdint.h>
#include "fido/types.h"
#include "blob.h"
/* aes256 */
int aes256_cbc_dec(const fido_blob_t *, ... |
/*
OV2311
*/
#ifndef ov2311MODES_H_
#define ov2311MODES_H_
struct sensor_regs ov2311_2MPix[] =
{
{0x0100, 0x00},
{0x0100, 0x01},
};
#define addreg(a, b) { a, b }
/*1600X1300*/
struct sensor_regs ov2311_mode1[] =
{
};
/*1280X720*/
struct sensor_regs ov2311_mode2[] =
{
};
/*6400X480*/
struct sensor_regs ov231... |
#import "LOTPlatformCompat.h"
// From http://github.com/ars/uicolor-utilities
#define CLAMP(val,min,max) MIN(MAX(val,min),max)
@interface UIColor (UIColor_Expanded)
@property (nonatomic, readonly) CGColorSpaceModel colorSpaceModel;
@property (nonatomic, readonly) BOOL canProvideRGBComponents;
@property (nonatomic,... |
/*****************************************************************************
* CVS File Information :
* $RCSfile$
* Author: patmiller $
* Date: 2007/06/11 14:12:52 $
* Revision: 1.2 $
****************************************************************************/
/*************************************... |
/*
Copyright (c) 2008, 2011 Gordon Gremme <gordon@gremme.org>
Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND TH... |
#ifndef SHARED_MEMORY_COMMAND_PROCESSOR_H
#define SHARED_MEMORY_COMMAND_PROCESSOR_H
#include "PhysicsCommandProcessorInterface.h"
class SharedMemoryCommandProcessor : public PhysicsCommandProcessorInterface
{
struct SharedMemoryCommandProcessorInternalData* m_data;
public:
SharedMemoryCommandProcessor();
virtua... |
/*
* This file Copyright (C) Mnemosyne LLC
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2
* as published by the Free Software Foundation.
*
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
*
* $Id: options.h 13381... |
/*
* 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... |
/*
* This header is generated by classdump-dyld 1.5
* on Wednesday, October 27, 2021 at 3:16:32 PM Mountain Standard Time
* Operating System: Version 13.5.1 (Build 17F80)
* Image Source: /System/Library/PrivateFrameworks/Workflo... |
/*
* Software License Agreement (BSD License)
*
* Copyright (c) 2020, Willow Garage, 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 ret... |
// Copyright (c) 2017-2018, NVIDIA CORPORATION. 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 requ... |
#ifndef HELLOSUBTABS_H
#define HELLOSUBTABS_H
#include "ui_HelloVariablesGUI.h"
namespace VAPoR {
class RenderParams;
class ParamsMgr;
class DataMgr;
} // namespace VAPoR
class HelloVariablesSubtab : public QWidget, public Ui_HelloVariablesGUI {
Q_OBJECT
public:
HelloVariablesSubtab(QWidget *parent);
... |
//
// TweetTableViewCell.h
// Twitter
//
// Created by Bob Leano on 1/30/17.
// Copyright © 2017 Y.CORP.YAHOO.COM\leano. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "Tweet.h"
@interface TweetTableViewCell : UITableViewCell
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *retweetContainerHeigh... |
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "PBCodable.h"
#import "NSCopying.h"
@class GEOPlaceResult;
__attribute__((visibility("hidden")))
@interface GEOBatchPlaceResult : PBCodable <NSCopying>
{
GEOPlaceResu... |
/**************************************************************************//**
* @file
* @brief efm32lg_letimer Register and Bit Field definitions
* @author Energy Micro AS
* @version 3.0.2
******************************************************************************
* @section License
* <b>(C) Copyright 2012 ... |
// Copyright 2018 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 FUCHSIA_ENGINE_BROWSER_WEB_ENGINE_BROWSER_MAIN_H_
#define FUCHSIA_ENGINE_BROWSER_WEB_ENGINE_BROWSER_MAIN_H_
#include <memory>
namespace content ... |
#import <QuartzCore/QuartzCore.h>
NS_ASSUME_NONNULL_BEGIN
@interface QRCaptureLayer : CALayer
@property (nonatomic, assign) BOOL isFullScreen;
- (void)configureCaptureContents:(UIImage *)image rect:(CGRect)contentRect;
@end
NS_ASSUME_NONNULL_END |
/*++
Copyright (c) 2017 Microsoft Corporation
Module Name:
<name>
Abstract:
<abstract>
Author:
Nikolaj Bjorner (nbjorner)
Lev Nachmanson (levnach)
Revision History:
--*/
#pragma once
#include "util/vector.h"
#include <utility>
#include "util/debug.h"
#include "util/buffer.h"
#include <unordered_... |
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
nextop = F8;
switch(nextop) {
case 0xC0:
case 0xC1:
case 0xC2:
case 0xC3:
case 0xC4:
case 0xC5:
case 0xC6:
case 0xC7: /* FADD */
#ifdef USE_FLOAT
... |
//ln -s /usr/libexec/qemu-kvm /usr/bin/qemu-kvm
//ln -s /usr/bin/qemu-kvm /usr/bin/qemu-kvm
//ln -s /usr/libexec/qemu-kvm /usr/bin/qemu-kvm
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <time.h>
#include <fcntl.h>
#include <sys/un.h>
#include <sys/socket.h>
#include <sys/types.... |
/* Copyright 2017 The TensorFlow Authors. 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 by applicable law or a... |
/*
* Adaptec AAC series RAID controller driver
* (c) Copyright 2001 Red Hat Inc.
*
* based on the old aacraid driver that is..
* Adaptec aacraid device driver for Linux.
*
* Copyright (c) 2000-2007 Adaptec, Inc. (aacraid@adaptec.com)
*
* This program is free software; you can redistribute it and/or modify
* i... |
/* F B F R E E . C
* BRL-CAD
*
* Copyright (c) 1986-2016 United States Government as represented by
* the U.S. Army Research Laboratory.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* version 2.1 as ... |
#include <stdio.h>
#include <jv.h>
#include <jq.h>
#include "_cgo_export.h"
static inline void callGoErrorHandler(void *data, jv it) {
goLibjqErrorHandler((GoUint64)data, it);
}
void install_jq_error_cb(jq_state *jq, GoUint64 id) {
jq_set_error_cb(jq, callGoErrorHandler, (void*)id);
} |
#ifndef __QUICKSORT_H__
#define __QUICKSORT_H__
class quickSort
{
public:
quickSort();
quickSort(double *input, int input_num);
quickSort(double *input, int *input_rank, int input_num);
quickSort(double *input, char **input_char, int input_num);
void input(double *input, int input_num);
void input(double ... |
#ifndef STK_MODALBAR_H
#define STK_MODALBAR_H
#include "Modal.h"
namespace stk {
/***************************************************/
/*! \class ModalBar
\brief STK resonant bar instrument class.
This class implements a number of different
struck bar instruments. It inherits from the
Modal class.
... |
//tabtenn.h -- a table-tennis base class
#ifndef TABTENN0_H_
#define TABTENN0_H_
#include <string>
using std::string;
//simple base class
class TableTennisPlayer {
private:
string firstname;
string lastname;
bool hasTable;
public:
TableTennisPlayer(const string & fn = "none",
const string & ln = "none",bool h... |
#include <kernaux/ntoa.h>
#include <assert.h>
#include <stddef.h>
#include <string.h>
static const char *str_end(const char *str)
{
for (;; ++str) if (*str == '\0') return str;
}
int main()
{
// kernaux_utoa
{
char buffer[KERNAUX_UTOA_MIN_BUFFER_SIZE + 3]; // more space for prefix
const c... |
//
// HourGridTableView.h
// nexusapp
//
// Created by Ren Liu on 9/3/13.
//
//
#import <UIKit/UIKit.h>
#import "NPEvent.h"
@protocol EventDayScrollViewDelegate <NSObject>
- (void)openEventDetail:(NPEvent*)event;
@end
// For event day view in NPScrollView
@interface EventDayScrollView : UIScrollView <UITableViewD... |
// automatically generated by m4 from headers in proto subdir
#ifndef __STRING_H__
#define __STRING_H__
#include <stddef.h>
#ifndef _SIZE_T_DEFINED
#define _SIZE_T_DEFINED
typedef unsigned int size_t;
#endif
#ifndef NULL
#define NULL ((void*)(0))
#endif
extern int __LIB__ bcmp(const void *b1,const voi... |
/**
* @file position_and_velocity_updater/default_updater.h
* @author Alexander Raß (alexander.rass@fau.de)
* @date July, 2013
* @brief This file contains the standard class for processing the velocity and position update of each particle.
*
* @copyright
* This project is released under the MIT License (MIT).
*
* ... |
/*
* Copyright 2016 Advanced Micro Devices, 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 rights to use, copy, modify, m... |
/* Generated by ioctls_gen.sh from definitions found in $linux/arch/s390/include/ tree. */
{ "asm/chsc.h", "CHSC_INFO_CCL", _IOC_READ|_IOC_WRITE, 0x6386, 0x1014 },
{ "asm/chsc.h", "CHSC_INFO_CHANNEL_PATH", _IOC_READ|_IOC_WRITE, 0x6382, 0x100c },
{ "asm/chsc.h", "CHSC_INFO_CI", _IOC_READ|_IOC_WRITE, 0x6385, 0x100c },
{ ... |
/* DataToC output of file <shadow_store_frag_glsl> */
extern int datatoc_shadow_store_frag_glsl_size;
extern char datatoc_shadow_store_frag_glsl[];
int datatoc_shadow_store_frag_glsl_size = 11519;
char datatoc_shadow_store_frag_glsl[] = {
}; |
/*
* This header is generated by classdump-dyld 1.5
* on Tuesday, November 10, 2020 at 10:20:13 PM Mountain Standard Time
* Operating System: Version 14.2 (Build 18K57)
* Image Source: /System/Library/PrivateFrameworks/Configura... |
/*
* Copyright (c) 2015 Juniper Networks, Inc. All rights reserved.
*/
#ifndef __VNSW_AGENT_VROUTER_KSYNC_KSYNC_FLOW_INDEX_MANAGER_H__
#define __VNSW_AGENT_VROUTER_KSYNC_KSYNC_FLOW_INDEX_MANAGER_H__
#include <tbb/mutex.h>
#include <pkt/flow_entry.h>
//////////////////////////////////////////////////////////////////... |
/*
* Copyright (c) 2014-2020 Intel, Inc. All rights reserved.
* Copyright (c) 2017 Cisco Systems, Inc. All rights reserved
* Copyright (c) 2017 Inria. All rights reserved.
* Copyright (c) 2021 Nanook Consulting. All rights reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
*
* $HEA... |
/* p_change.c */
#include "doomdef.h"
#include "p_local.h"
/*
==============================================================================
SECTOR HEIGHT CHANGING
= After modifying a sectors floor or ceiling height, call this
= routine to adjust the positions of all things that touch the
= sector.
=
= If a... |
// kuaihuo-strike.c 快活十三掌
// Last Modified by sir 10.22.2001
#include <ansi.h>
inherit SKILL;
string type() { return "martial"; }
string martialtype() { return "skill"; }
mapping *action = ({
([ "action" : "$N左手一拳直攻,右手如開似閉,封住對方出手,底下暗出撩陰腿,正是"GRN"「痛快淋漓」"NOR"",
"lvl" : 0,
"skill_name" : "痛快淋漓"
... |
#ifndef RASTERIZERGLES3_H
#define RASTERIZERGLES3_H
#include "servers/visual/rasterizer.h"
#include "rasterizer_storage_gles3.h"
#include "rasterizer_canvas_gles3.h"
#include "rasterizer_scene_gles3.h"
class RasterizerGLES3 : public Rasterizer {
static Rasterizer *_create_current();
RasterizerStorageGLES3 *stora... |
/*Program to read the three different integer from the user and display the largest among number them*/
#include <stdio.h>
#include <conio.h>
void main()
{
int a, b, c, l;
system("cls");
printf("Enter the three different number: ");
scanf("%d%d%d", &a, &b, &c);
if (a > b && b > c)
{
... |
//
// STSymbol.h
// stein
//
// Created by Kevin MacWhinnie on 2009/12/11.
// Copyright 2009 Stein Language. All rights reserved.
//
#import <Foundation/Foundation.h>
#ifndef STSymbol_h
#define STSymbol_h 1
@class STSymbol;
@class STCreationLocation;
///Look up a symbol in the process-wide symbol cache.
ST_EXT... |
/*
K.N.King "C Programming. A Modern Approach."
Programming project 3 p.177
Modify the repdigit.c program of Section 8.1
so that the user can enter more than one number
to be tested for repeated digits. The program
should terminate when the user enters a number
that's less than or equal to 0.
*/
#include <stdlib.h>
... |
/*
* Generic DES driver interface
* Keep this file hardware independent!
* Copyright (c) 1986 by Sun Microsystems, Inc.
*
* 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... |
/*
* This header is generated by classdump-dyld 1.0
* on Sunday, September 27, 2020 at 11:42:03 AM Mountain Standard Time
* Operating System: Version 14.0 (Build 18A373)
* Image Source: /System/Library/PrivateFrameworks/SAObjects.framework/SAObjects
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Eli... |
//========= Copyright 1996-2005, Valve Corporation, All rights reserved. ============//
//
// Purpose: CHud handles the message, calculation, and drawing the HUD
//
// $NoKeywords: $
//=============================================================================//
#ifndef HUD_H
#define HUD_H
#ifdef _WIN32
#pragma once
... |
//----------------------------------------------------------------------------
//
// TSDuck - The MPEG Transport Stream Toolkit
// Copyright (c) 2005-2022, Thierry Lelegard
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the f... |
#pragma once
namespace Ahwassa {
class VRController {
};
} |
/*
* Copyright (c) 2014 Kaprica Security, 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 rights
* to use, copy, modify, mer... |
/*
* ALSA SoC McASP Audio Layer for TI DAVINCI processor
*
* Multi-channel Audio Serial Port Driver
*
* Author: Nirmal Pandey <n-pandey@ti.com>,
* Suresh Rajashekara <suresh.r@ti.com>
* Steve Chen <schen@.mvista.com>
*
* Copyright: (C) 2009 MontaVista Software, Inc., <source@mvista.com>
* Co... |
/*
* Souffle - A Datalog Compiler
* Copyright (c) 2019, The Souffle Developers. All rights reserved
* Licensed under the Universal Permissive License v 1.0 as shown at:
* - https://opensource.org/licenses/UPL
* - <souffle root>/licenses/SOUFFLE-UPL.txt
*/
/********************************************************... |
/*
zip_unchange_archive.c -- undo global changes to ZIP archive
Copyright (C) 2006-2014 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <libzip@nih.at>
Redistribution and use in source and binary forms, with or without
mod... |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/auditmanager/AuditManager_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/auditmanager/model/ControlSetStatus.h>
#include <aws/core/utils/memory/st... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.