text stringlengths 9 948k |
|---|
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include "mpc.h"
#ifdef _WIN32
#include <string.h>
static char buffer[2048];
/* Fake readline function */
char* readline(char* prompt) {
fputs(prompt, stdout);
fgets(buffer, 2048, stdin);
char* cpy = malloc(strlen(buffer)+1);
strcpy(cpy, buff... |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* */
/* This file is part of the HiGHS linear optimization suite */
/* */
/* Written an... |
// 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 may... |
/* zconf.h -- configuration of the zlib compression library
* Copyright (C) 1995-2004 Jean-loup Gailly.
* For conditions of distribution and use, see copyright notice in zlib.h
*/
/* @(#) $Id: zconf.h,v 3.8 2004/12/15 05:52:38 bryner%brianryner.com Exp $ */
#ifndef ZCONF_H
#define ZCONF_H
/* This include does pre... |
/***********************************************************************************************************************************
Parse Error Yaml
***********************************************************************************************************************************/
#ifndef BUILD_ERROR_PARSE_H
#define B... |
//
// 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 <objc/NSObject.h>
@class ACCStatInfoAccumulator, NSDate, NSString;
@interface ACCMemUsageStatInfo : NSObject
{
NSString *_name; // 8 ... |
#pragma once
#include "envoy/config/filter/listener/original_src/v2alpha1/original_src.pb.h"
namespace Envoy {
namespace Extensions {
namespace ListenerFilters {
namespace OriginalSrc {
class Config {
public:
Config() = default;
Config(const envoy::config::filter::listener::original_src::v2alpha1::OriginalSrc& co... |
/** @file
* Copyright (c) 2019, Arm Limited or its affiliates. All rights reserved.
* SPDX-License-Identifier : Apache-2.0
*
* 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://... |
#ifndef CHANGE_WORKER_H
#define CHANGE_WORKER_H
#include <QDialog>
namespace Ui {
class change_worker;
}
class STaskPool;
class change_worker: public QDialog {
Q_OBJECT
public:
explicit change_worker(QWidget* parent = nullptr, STaskPool* pool_ = nullptr);
change_worker(STaskPool* pool_);
~cha... |
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "NGAP-IEs"
* found in "./support/ngap-r15.2.0/Information-Element-Definitions.asn1"
* `asn1c -D ./common -gen-PER -pdu=all -fcompound-names -findirect-choice -fno-include-deps -no-gen-example`
*/
#ifndef _NGAP_PacketDelayBudget_H_
#de... |
#include "output_best_effort_stream_internal.h"
#include "../submessage_internal.h"
#include "seq_num_internal.h"
#include <ucdr/microcdr.h>
//==================================================================
// PUBLIC
//==================================================================... |
#include "common.h"
extern DWORD MediaChange;
extern int Check_D_MediaFmt(struct us_data *);
static BYTE MS_Init[] = {
0x90, 0xF0, 0x15, 0xE0, 0xF5, 0x1C, 0x11, 0x2C,
0x90, 0xFF, 0x09, 0xE0, 0x30, 0xE1, 0x06, 0x90,
0xFF, 0x23, 0x74, 0x80, 0xF0, 0x90, 0xFF, 0x09,
0xE0, 0x30, 0xE5, 0xFC, 0x51, 0x59, 0x75, 0x3F,
0x00, ... |
// FileStreams.h
#ifndef __FILESTREAMS_H
#define __FILESTREAMS_H
#if defined(_WIN32) || defined(ENV_UNIX)
#define USE_WIN_FILE
#endif
#ifdef USE_WIN_FILE
#include "../../Windows/FileIO.h"
#else
#include "../../Common/C_FileIO.h"
#endif
#include "../../Common/MyCom.h"
#include "../IStream.h"
class CInFileStream:
... |
/*
goahead-openssl.c - OpensSSL socket layer for GoAhead
This is the interface between GoAhead and the OpenSSL stack.
Copyright (c) All Rights Reserved. See details at the end of the file.
*/
/************************************ Include *********************************/
#include "goahead.h"
#if M... |
// Copyright 2008, 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 conditions ... |
// AirMap Platform SDK
// Copyright © 2018 AirMap, Inc. 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 requir... |
/* mbed Microcontroller Library
*******************************************************************************
* Copyright (c) 2014, STMicroelectronics
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following condition... |
/*
* Do not modify this file; it is automatically
* generated and any modifications will be overwritten.
*
* @(#) xdc-B06
*/
#ifndef xdc_services_global__
#define xdc_services_global__
#endif /* xdc_services_global__ */ |
#define JPEG_LIB_VERSION 62
#define LIBJPEG_TURBO_VERSION 2.0.3
#define LIBJPEG_TURBO_VERSION_NUMBER 2000003
#define C_ARITH_CODING_SUPPORTED
#define D_ARITH_CODING_SUPPORTED
#define MEM_SRCDST_SUPPORTED
/* #undef WITH_SIMD */
#define BITS_IN_JSAMPLE 8 /* use 8 or 12 */
#define HAVE_STDDEF_H
#define HAVE_ST... |
/*-------------------------------------------------------------------------
*
* socket.c
* Microsoft Windows Win32 Socket Functions
*
* Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
*
* IDENTIFICATION
* src/backend/port/win32/socket.c
*
*--------------------------------------------... |
/*
* This header is generated by classdump-dyld 1.0
* on Saturday, August 24, 2019 at 9:50:56 PM Mountain Standard Time
* Operating System: Version 12.4 (Build 16M568)
* Image Source: /System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias... |
/*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2012, Willow Garage, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following... |
/* vi:set ts=8 sts=4 sw=4 noet:
*
* VIM - Vi IMproved by Bram Moolenaar
*
* Do ":help uganda" in Vim to read copying and usage conditions.
* Do ":help credits" in Vim to see a list of people who contributed.
* See README.txt for an overview of the Vim source code.
*/
/*
* viminfo.c: viminfo related functions
... |
//=================================================================================================
/*!
// \file blaze/math/lapack/clapack/ungql.h
// \brief Header file for the CLAPACK ungql wrapper functions
//
// Copyright (C) 2013 Klaus Iglberger - All Rights Reserved
//
// This file is part of the Blaze library... |
//
// 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"
@class FBKVOController;
@interface NSObject (FBKVOController)
@property(retain, nonatomic) FBKVOController *KVOControllerNonRetaining;
@property(retain, nonat... |
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_strcmp.c :+: :+: :+: ... |
//=====================================================================
// Copyright 2016 (c), Advanced Micro Devices, Inc. All rights reserved.
//
/// \author AMD Developer Tools Team
/// \file osPortAddress.h
///
//=====================================================================
//------------------------------... |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespa... |
/*
* This header is generated by classdump-dyld 1.0
* on Saturday, June 1, 2019 at 6:46:33 PM Mountain Standard Time
* Operating System: Version 12.1.1 (Build 16C5050a)
* Image Source: /System/Library/PrivateFrameworks/CompanionSync.framework/CompanionSync
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016... |
/*
* 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
... |
/*
* This header is generated by classdump-dyld 1.5
* on Wednesday, April 14, 2021 at 2:36:03 PM Mountain Standard Time
* Operating System: Version 14.4 (Build 18K802)
* Image Source: /System/Library/PrivateFrameworks/SiriOntolo... |
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <net/if.h>
#include "cmnalib/network_interface.h"
#include "cmnalib/logger.h"
int set_if_flags(char *ifname, short flags, int skfd)
{
stru... |
/*
* Tencent is pleased to support the open source community by making
* WCDB available.
*
* Copyright (C) 2017 THL A29 Limited, a Tencent company.
* All rights reserved.
*
* Licensed under the BSD 3-Clause License (the "License"); you may not use
* this file except in compliance with the License. You may obtai... |
//
// Copyright (c) 2013, Ford Motor Company
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// Redistributions of source code must retain the above copyright notice, this
// list of condit... |
/*-
* Copyright (c) 1990 The Regents of the University of California.
* Copyright (c) 2008 The DragonFly Project.
* All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* William Jolitz and Don Ahn.
*
* Redistribution and use in source and binary forms, with or without
* modif... |
#include <std.h>
#include "elf.h"
inherit STABLE;
void create(){
object ob;
::create();
set_terrain(HUT);
set_travel(DIRT_ROAD);
set_name("Wooden hut");
set_short("Ashata Rathai stables");
set_long(
"%^BOLD%^An animal ranch%^RESET%^ \n"+
"%^GREEN%^You are standing in a strang... |
/* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the... |
/*
* Copyright (C) 2012 Igalia S.L.
*
* 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 and the following dis... |
/*
* Copyright (c) 2014, Stanislav Vorobiov
* 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 ... |
/*
* Copyright (c) 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015 Nicira, 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
*
*... |
//++Dubrovnik.CodeGenerator System_Data_Entity_Core_Objects_ObjectStateEntry.h
//
// Managed class : ObjectStateEntry
//
//
// Frameworks
//
#import <Dubrovnik/Dubrovnik.h>
//
// Optional extra import. Not auto generated. Add manually to project only if required.
//
#if __has_include("System_Data_Entity_Core_Objects_... |
#include <stddef.h>
extern nanafy_status add_nanafy_symname_table (char*, size_t, nanafy_symname_table*, size_t*);
#include <stddef.h>
extern int copy_nanafy_symname_table (nanafy_symname_table*, nanafy_symname_table*);
#include <stddef.h>
extern int extend_nanafy_symname_table (size_t, size_t, nanafy_symname_table*... |
/***************************************************************************
*
* Arquitectura de Computadores.
* Departamento de Informática de Sistemas y Computadores (DISCA)
* Universidad Politècnica de Valencia.
*
* Autor: Sergio Sáez (ssaez@disca.upv.es)
* Pedro López (plopez@gap.upv.es)
*
* Fichero: con... |
/**
* @file
* Address Resolution Protocol module for IP over Ethernet
*
* Functionally, ARP is divided into two parts. The first maps an IP address
* to a physical address when sending a packet, and the second part answers
* requests from other machines for our physical address.
*
* This implementation complies... |
//
// defs.h
//
// Created by Axis Sivitz on 12/19/13.
// Copyright (c) 2013 Axis Sivitz. All rights reserved.
//
#ifndef flip_defs_h
#define flip_defs_h
#if TARGET_OS_IPHONE
#define glMapBuffer glMapBufferOES
#define glUnmapBuffer glUnmapBufferOES
#define GL_WRITE_ONLY GL_WRITE_ONLY_OES
#define glBindVertexArray... |
/*
* Copyright 2016 Google Inc. 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 ag... |
#ifndef INCLUDED_openfl_display_InterpolationMethod
#define INCLUDED_openfl_display_InterpolationMethod
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS2(openfl,display,InterpolationMethod)
namespace openfl{
namespace display{
class InterpolationMethod_obj : public hx::EnumBase_obj
{
typedef hx::EnumBase... |
/*
* led_with_pot.c
*
* Created: 20-05-2019 15:35:43
* Author : Tharun Jagadeesh
*/
#include <avr/io.h>
#define F_CPU 1000000
#include <util/delay.h>
#include <stdlib.h>
void PWM_init()
{
TCCR0=(1<<WGM00) | (1<<WGM01) | (1<<COM01) | (1<<CS00);
DDRB|=(1<<PB3);
}
int main(void)
{
DDRA=0x00;
DDRB=0xFF;
_del... |
#ifndef VTKINFOVISLAYOUT_EXPORT_H
#define VTKINFOVISLAYOUT_EXPORT_H
#ifdef VTKINFOVISLAYOUT_STATIC_DEFINE
# define VTKINFOVISLAYOUT_EXPORT
# define VTKINFOVISLAYOUT_NO_EXPORT
#else
# ifndef VTKINFOVISLAYOUT_EXPORT
# ifdef vtkInfovisLayout_EXPORTS
/* We are building this library */
# define VTKINFOVI... |
#include <stdio.h>
#include <string.h>
#define LEN 50
void removelf(char *s) {
for (int i = 0; s[i] != '\0'; i++) {
if (s[i] == 10 || s[i] == 13) {
s[i] = '\0';
break;
}
}
}
int strcontains(const char *substr, const char *str) {
unsigned subcount = 0;
for (int i = 0; i < str... |
/***********************************************************************************************************************
* DISCLAIMER
* This software is supplied by Renesas Electronics Corporation and is only intended for use with Renesas products. No
* other uses are authorized. This software is owned by Renesas El... |
SUBROUTINE ana_humid (ng, tile, model)
!
!! svn $Id: ana_humid.h 889 2018-02-10 03:32:52Z arango $
!!======================================================================
!! Copyright (c) 2002-2018 The ROMS/TOMS Group !
!! Licensed under a MIT/X style license !
!!... |
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "Components/StaticMeshComponent.h"
#include "TankBarrel.generated.h"
/**
*
*/
UCLASS(meta = (BlueprintSpawnableComponent)) //, hidecategories = ("Collision"))
class BATTLETANK_API UTankBarrel : public UStaticMeshC... |
#include <stdio.h>
#include <stdlib.h>
void print_array(int* array, int size){
for(int i = 0; i < size; i++){
printf("%d ", array[i]);
}
printf("\n");
}
void swap (int* array, int i, int j){
int tmp;
tmp = array[i];
array[i] = array[j];
array[j] = tmp;
return;
}
void bubble_sort(in... |
/*
* Copyright (c) 2016, 2017 ARM Limited.
*
* SPDX-License-Identifier: MIT
*
* 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... |
/* Copyright (c) 2018 vesoft inc. All rights reserved.
*
* This source code is licensed under Apache 2.0 License.
*/
#ifndef PARSER_GRAPHSCANNER_H_
#define PARSER_GRAPHSCANNER_H_
#include "common/base/Base.h"
// Only include FlexLexer.h if it hasn't been already included
#if !defined(yyFlexLexerOnce)
#include <Fle... |
#include <libcouchbase/couchbase.h>
#include <string.h>
#include <stdlib.h>
static void die(lcb_error_t rc, const char *msg)
{
fprintf(stderr, "%s failed. (0x%x, %s)\n", msg, rc, lcb_strerror(NULL, rc));
exit(EXIT_FAILURE);
}
int main(int argc, char **argv)
{
lcb_t instance;
struct lcb_create_st cropt... |
/*
* 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 distributed in the hope that it will be use... |
/*
* This header is generated by classdump-dyld 1.0
* on Sunday, September 27, 2020 at 11:51:46 AM Mountain Standard Time
* Operating System: Version 14.0 (Build 18A373)
* Image Source: /System/Library/PrivateFrameworks/PersonalizationPortraitInternals.framework/PersonalizationPortraitInternals
* classdump-dyld is lice... |
/*
Expression Evaluator Library (NS-EEL) v2
Copyright (C) 2004-2013 Cockos Incorporated
Copyright (C) 1999-2003 Nullsoft, Inc.
nseel-eval.c
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 t... |
/*
* Copyright (c) 2014, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
#pragma onc... |
// OCHamcrest by Jon Reid, https://qualitycoding.org/
// Copyright 2018 hamcrest.org. See LICENSE.txt
#import <OCHamcrest/HCBaseMatcher.h>
NS_ASSUME_NONNULL_BEGIN
/*!
* @abstract Provides a custom description to another matcher.
*/
@interface HCDescribedAs : HCBaseMatcher
- (instancetype)initWithDescription:(N... |
/* This file was generated by syncqt. */
#ifndef QT_QTNFC_VERSION_H
#define QT_QTNFC_VERSION_H
#define QTNFC_VERSION_STR "5.15.2"
#define QTNFC_VERSION 0x050F02
#endif // QT_QTNFC_VERSION_H |
/*
*
* Copyright (c) 2022 Project CHIP Authors
*
* 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 requir... |
// inclusion guard
#ifndef _UPDATER_HPMC_CLUSTERS_
#define _UPDATER_HPMC_CLUSTERS_
/*! \file UpdaterBoxClusters.h
\brief Declaration of UpdaterBoxClusters
*/
#include "hoomd/Updater.h"
#include "hoomd/RandomNumbers.h"
#include "hoomd/RNGIdentifiers.h"
#include <set>
#include <list>
#include "Moves.h"
#include "... |
/* This testcase is part of GDB, the GNU debugger.
Copyright 2010-2014 Free Software Foundation, Inc.
Contributed by Pierre Muller.
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; ei... |
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include "queue.h"
void initialize(queue *q)
{
q->count = 0;
q->front = NULL;
q->rear = NULL;
q->has_new_messages = (short int *)malloc(devices_info.number_of_devices * sizeof(short int));
if (q->has_new_messages == NULL)
{
fprintf(stderr, ... |
#ifndef AUTOUPDATEDIALOG_H
#define AUTOUPDATEDIALOG_H
#include <QDebug>
#include <QDialog>
#include <QDir>
#include <QFile>
#include <QMessageBox>
#include <QNetworkAccessManager>
#include <QNetworkReply>
#include <QNetworkRequest>
#include <QProcess>
#include <QTextEdit>
#include <QTextStream>
#include <QtMath>
name... |
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "BehaviorTree/Tasks/BTTask_BlackboardBase.h"
#include "GameFramework/Pawn.h"
#include "BehaviorTree/BehaviorTreeComponent.h"
#include "BehaviorTree/BehaviorTreeTypes.h"
#include "UObject/UObje... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently,
// but are changed infrequently
#pragma once
#ifndef STRICT
#define STRICT
#endif
#include "tar... |
/*
* WMA compatible codec
* Copyright (c) 2002-2007 The FFmpeg Project
*
* 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 Li... |
#ifndef BABYLON_INSPECTOR_COMPONENTS_ACTION_TABS_TABS_PROPERTY_GRIDS_MATERIALS_BACKGROUND_MATERIAL_PROPERTY_GRID_COMPONENT_H
#define BABYLON_INSPECTOR_COMPONENTS_ACTION_TABS_TABS_PROPERTY_GRIDS_MATERIALS_BACKGROUND_MATERIAL_PROPERTY_GRID_COMPONENT_H
#include <memory>
#include <babylon/babylon_api.h>
#include <babylon... |
/* pngrutil.c - utilities to read a PNG file
*
* Last changed in libpng 1.2.45 [July 7, 2011]
* Copyright (c) 1998-2011 Glenn Randers-Pehrson
* Copyright (c) 2010-2013, The Linux Foundation. All rights reserved.
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.88 Copyright (c) 1995, 1996 Guy ... |
// -*- C++ -*-
//=============================================================================
/**
* @file Asynch_Reply_Dispatcher_Base.h
*
* $Id: Asynch_Reply_Dispatcher_Base.h 85001 2009-03-31 10:06:45Z msmit $
*
* @author Alexander Babu Arulanthu <alex@cs.wustl.edu>
* @author Jeff Parsons <parsons@cs.wust... |
/* { dg-do compile } */
/* { dg-options "-O -fstrict-aliasing -fdump-tree-optimized" } */
struct A
{
int i;
};
struct B
{
struct A a;
int j;
};
int foo (struct A *p, struct B *q)
{
p->i = 0;
q->j = 1;
return p->i;
}
/* { dg-final { scan-tree-dump "return 0;" "optimized" } } */ |
/*
** $Id: luac.c,v 1.69 2011/11/29 17:46:33 lhf Exp $
** Lua compiler (saves bytecodes to files; also list bytecodes)
** See Copyright Notice in lua.h
*/
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define luac_c
#define LUA_CORE
#include "lua.h"
#include "lauxlib.h"
#include "lob... |
/*=========================================================================
*
* Copyright Insight Software Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* h... |
#pragma once
/**
author: paulson
createTime: 2021-12-15
Tel or qq: 911477285
*/
#include <string>
#include <map>
#include "PDFObj.h"
#include <stdlib.h>
class CPDF
{
public:
CPDF(const std::string& pdfPath);
virtual ~CPDF();
protected:
std::string m_pdfPath;
FILE *m_pdfFD;
std::map<unsigned int,CPDFOb... |
/************************************************************************
Copyright (c) 2005-2011 by Juphoon System Software, Inc.
All rights reserved.
This software is confidential and proprietary to Juphoon System,
Inc. No part of this software may be reproduced, stored, tra... |
//
// WindowFromPointEx.c
//
// Copyright (c) 2002 by J Brown
// Freeware
//
// HWND WindowFromPointEx(POINT pt)
//
// Provides a better implementation of WindowFromPoint.
// This function can return any window under the mouse,
// including controls nested inside group-boxes, nested
// dialogs etc.
//
#define STR... |
#include <nchan_module.h>
#include <assert.h>
#include "redis_nginx_adapter.h"
#include <util/nchan_msg.h>
#include <util/nchan_rbtree.h>
#include <store/store_common.h>
#include "cluster.h"
//#define DBG(fmt, args...) ngx_log_error(NGX_LOG_WARN, ngx_cycle->log, 0, "REDISTORE(CLUSTER): " fmt, ##args)
#define DBG(ar... |
//
// BTSettings.h
// bitheri
//
// Copyright 2014 http://Bither.net
//
// 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
//
// Unles... |
/*
es-ES.h - localization for Spanish - Spain for Tasmota
Copyright (C) 2020 Adrian Scillato
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your... |
/*
*
* Copyright (c) 2022 Project CHIP Authors
*
* 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 requir... |
//
// XMPPConfig.h
// XMPPSample
//
// Created by lewis on 14-3-27.
// Copyright (c) 2014年 com.lanou3g. All rights reserved.
//
#ifndef XMPPSample_XMPPConfig_h
#define XMPPSample_XMPPConfig_h
// xmpp 文件夹只是通过 oc 代码去实现了xmpp协议,xmpp 只是协议,只是一个规则
// 在android 中也有一套实现了xmpp 协议的代码.
//这套代码通过实现了xmpp协议来给我们提过xmpp服务.
//open... |
/*
* Copyright (c) 2015, Xerox Corporation (Xerox) and Palo Alto Research Center, Inc (PARC)
* 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... |
/*
* Copyright (c) 2014-2016 Alibaba Group. All rights reserved.
* License-Identifier: Apache-2.0
*
* 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... |
#include "clapack.h"
/* Subroutine */ int dlazq3_(integer *i0, integer *n0, doublereal *z__,
integer *pp, doublereal *dmin__, doublereal *sigma, doublereal *desig,
doublereal *qmax, integer *nfail, integer *iter, integer *ndiv,
logical *ieee, integer *ttype, doublereal *dmin1, doublereal *dmin2,
doublereal *d... |
/*
*
* Intel Management Engine Interface (Intel MEI) Linux driver
* Copyright (c) 2003-2012, Intel Corporation.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation... |
/*
Copyright (c) 2013, Ford Motor Company
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice, this
list of conditions and the fo... |
/******************************************************************************
*
* Copyright (C) 2018-2019 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 Softwar... |
#ifndef SRC_NODE_PERF_H_
#define SRC_NODE_PERF_H_
#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS
#include "node.h"
#include "node_perf_common.h"
#include "env.h"
#include "base-object-inl.h"
#include "v8.h"
#include "uv.h"
#include <string>
namespace node {
namespace performance {
using v8::FunctionCallb... |
//
// NSObject+YYModel.h
// YYKit <https://github.com/ibireme/YYKit>
//
// Created by ibireme on 15/5/10.
// Copyright (c) 2015 ibireme.
//
// This source code is licensed under the MIT-style license found in the
// LICENSE file in the root directory of this source tree.
//
#import <Foundation/Foundation.h>
NS_... |
/*
* DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/rel-2.0-xr-osx64-bld/build/netwerk/streamconv/public/nsIDirIndexListener.idl
*/
#ifndef __gen_nsIDirIndexListener_h__
#define __gen_nsIDirIndexListener_h__
#ifndef __gen_nsIStreamListener_h__
#include "nsIStreamListener.h"
#endif
/* For IDL files that d... |
// Copyright (c) 2012 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_CERTIFICATE_MANAGER_MODEL_H_
#define CHROME_BROWSER_CERTIFICATE_MANAGER_MODEL_H_
#include <map>
#include <string>
#include "b... |
/*
* This header is generated by classdump-dyld 1.5
* on Tuesday, November 10, 2020 at 10:20:07 PM Mountain Standard Time
* Operating System: Version 14.2 (Build 18K57)
* Image Source: /System/Library/PrivateFrameworks/CMCapture... |
#ifdef DEBUG
# define DEBUG_PRINT(x) printf x
#else
# define DEBUG_PRINT(x) do {} while (0)
#endif |
/*
* xlogdefs.h
*
* Postgres transaction log manager record pointer and
* timeline number definitions
*
* Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $PostgreSQL$
*/
#ifndef XLOG_DEFS_H
#define XLOG_DEFS_H
#i... |
//
// SmartISODateFormatter_tvOS.h
// SmartISODateFormatter-tvOS
//
// Created by Alessio Moiso on 29/03/2019.
// Copyright © 2019 MrAsterisco. All rights reserved.
//
#import <UIKit/UIKit.h>
//! Project version number for SmartISODateFormatter_tvOS.
FOUNDATION_EXPORT double SmartISODateFormatter_tvOSVersionNumbe... |
#pragma once
#include <locale>
#include "scanner.h"
namespace compiler::parser
{
template<typename _Base>
struct skipper_iteration_policy : public _Base
{
typedef _Base base_type;
template<typename _Scanner>
void skip(_Scanner const& scan) const
{
while (!_Base::at_end(scan) && std::isspace(_Base::get(... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.