text
stringlengths
9
948k
/* *Filename: clocks.h *Author: Stanislav Subrt *Year: 2014 */ #ifndef CLOCKS_H #define CLOCKS_H extern void clk_Init(void); #endif //end of CLOCKS_H
/* * This header is generated by classdump-dyld 1.5 * on Wednesday, April 28, 2021 at 9:09:30 PM Mountain Standard Time * Operating System: Version 14.5 (Build 18L204) * Image Source: /System/Library/PrivateFrameworks/Memories.f...
/* * This header is generated by classdump-dyld 1.5 * on Friday, April 30, 2021 at 11:37:07 AM Mountain Standard Time * Operating System: Version 13.5.1 (Build 17F80) * Image Source: /System/Library/Frameworks/HealthKit.framewor...
// // Created by daniel on 18/08/2021. // #ifndef GLPKTEST_TRAJECTORYLIKELIHOODPMF_H #define GLPKTEST_TRAJECTORYLIKELIHOODPMF_H #include "ConvexPMF.h" #include "AgentStateObservation.h" //template<typename AGENT> //class TrajectoryLikelihoodPMF { //public: // // TrajectoryLikelihoodPMF(const Trajectory<AGENT> &re...
#pragma once #include <stddef.h> #include <stdint.h> class ConnectionFlowControl final { public: explicit ConnectionFlowControl(uint64_t connection_id); ~ConnectionFlowControl(); // Connection flow control initialization window size int64_t Initialize(); // Returns the size of the WINDOW_UPDATE f...
/**************************************************************************** * Copyright (c) 1993, 1994 * Century Computing, Inc. * ALL RIGHTS RESERVED * * The software (programs, data bases and/or documentation) on or in * any media can not be reproduced, disclosed, or used except under...
// 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...
/**************************************************************************** * mm/mm_heap/mm_initialize.c * * 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 owners...
#ifndef DDI_UTIL_H #define DDI_UTIL_H /** @file @brief Miscellaneous utility functions. */ #include <stdlib.h> /** @brief Join two strings by a delimiter. @note The strings are joined by the delimiter only if the length of the first string is greater than 0. @param[in,out] to First and destination ...
/* * Just any arbitrary offset to the start of the vmalloc VM area: the * current 8MB value just means that there will be a 8MB "hole" after the * physical memory until the kernel virtual memory starts. That means that * any out-of-bounds memory accesses will hopefully be caught. * The vmalloc() routines leaves a...
/* Copyright (c) 2012 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
/* Copyright (c) 2015-2021 The Khronos Group Inc. * Copyright (c) 2015-2021 Valve Corporation * Copyright (c) 2015-2021 LunarG, Inc. * Copyright (C) 2015-2021 Google Inc. * Modifications Copyright (C) 2020 Advanced Micro Devices, Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "L...
static const struct Animation anim_1F[] = { 1, 189, 0, 0, 0x15, ANIMINDEX_NUMPARTS(anim_1F_indices), anim_1F_values, anim_1F_indices, 0, }; static const u16 anim_1F_indices[] = { 0x0001, 0x0000, 0x0015, 0x0001, 0x0015, 0x0016, 0x0001, 0x0000, 0x0001, 0x002B, 0x0001, 0x0000, ...
/****************************************************************************** * Darmstadtium - a library of data structures * Ds_str - a string library * One of the Bohr Game Libraries (see chaoslizard.org/devel/bohr) * Copyright (C) 2008 Charles Lindsay. Some rights reserved; see COPYING. * $Id: ds_str.h 323 2008-0...
/* * Generated by util/mkerr.pl DO NOT EDIT * Copyright 1995-2020 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...
/** * @file wcc.c * @author Mike Scott * @author Kealan McCusker * @date 28th April 2016 * @brief AMCL Wang / Chow Choo (WCC) definitions * * LICENSE * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for ...
///////////////////////////////////////////////////////////////////////// /// /// /// YARP - Yet Another Robotic Platform (c) 2001-2003 /// /// /// /// #...
// // Distributed Linear Algebra with Future (DLAF) // // Copyright (c) 2018-2021, ETH Zurich // All rights reserved. // // Please, refer to the LICENSE file in the root directory. // SPDX-License-Identifier: BSD-3-Clause // #include "gtest/gtest.h" #include "dlaf/communication/communicator_grid.h" #include "dlaf/comm...
/********************************************************************** Audacity: A Digital Audio Editor Nyquist.h Dominic Mazzoni **********************************************************************/ #ifndef __AUDACITY_EFFECT_NYQUIST__ #define __AUDACITY_EFFECT_NYQUIST__ #include <wx/button.h> #include <...
/* Copyright (c) 2001 Matej Pfajfar. * Copyright (c) 2001-2004, Roger Dingledine. * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson. * Copyright (c) 2007-2016, The Tor Project, Inc. */ /* See LICENSE for licensing information */ /** * \file policies.h * \brief Header file for policies.c. **/ #ifndef T...
#include "em_private.h" /* $Id$ */ void CC_bhdnam(int op, arith n, char *s, arith off, int i) { /* BSS or HOL with size n, initial value a dnam(s, off), and flag i */ PS(op); CST(n); COMMA(); NOFF(s, off); COMMA(); CST((arith) i); NL(); }
#pragma once #include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <stdint.h> #include <assert.h> #include <exception> // System.String struct String_t; // System.Char[] struct CharU5BU5D_t3416858730; // System.IFormatProvider struct IFormatProvider_t3436592966...
/* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2010-2013 Facebook, Inc. (http://www.facebook.com) | | Copyrigh...
/* +----------------------------------------------------------------------+ | Open Swoole | +----------------------------------------------------------------------+ | This source file is subject to version 2.0 of the Apache license, | | that is bundl...
/* Generated by RuntimeBrowser Image: /System/Library/PrivateFrameworks/VideoProcessing.framework/VideoProcessing */ @interface VCPVideoFCRFaceDetector : VCPVideoFaceDetector { FCRFaceDetector * _faceDetector; } + (struct CGAffineTransform { double x1; double x2; double x3; double x4; double x5; double x6; })...
/* * This header is generated by classdump-dyld 1.0 * on Sunday, June 7, 2020 at 11:18:02 AM Mountain Standard Time * Operating System: Version 13.4.5 (Build 17L562) * Image Source: /System/Library/Frameworks/ContactsUI.framework/ContactsUI * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneo...
#include <stdio.h> #include <caml/alloc.h> #include <caml/callback.h> #include <caml/memory.h> #include <caml/mlvalues.h> #include <string.h> #include "config.h" #ifdef USE_WIN32 #include "ReveryWin32.h" #include <combaseapi.h> #include <windows.h> #elif USE_COCOA #include "ReveryCocoa.h" #import "ReveryAppDelegate.h...
// // ListCollectionModel.h // 108tian // // Created by SUN on 15-7-17. // Copyright (c) 2015年 www.sun.com. All rights reserved. // #import <Foundation/Foundation.h> @interface ListCollectionModel : NSObject @property (nonatomic,strong) NSString *cityEnName; @property (nonatomic,strong) NSString *cityId; @proper...
/////////////////////////////////////////////////////////////////////////////// // Name: cocoa/tooltip.h // Purpose: wxToolTip class - tooltip control // Author: Ryan Norton // Modified by: // Created: 31.01.99 // RCS-ID: $Id: tooltip.h,v 1.2.4.1 2005/09/25 20:46:16 MW Exp $ // Copyright: (c)...
// // Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard. // #import <swiftCore/_TtCs12_SwiftObject.h> @interface _TtC9T1Twitter30DirectMessageSettingsViewModel : _TtCs12_SwiftObject { // Err...
/**************************************************************************** * * Copyright (c) 2012-2015 PX4 Development Team. 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. Red...
/* * SDMMobileDevice.h * SDMMobileDevice * * Copyright (c) 2014, Sam Marshall * 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 abov...
/* ---------------------------------------------------------------------- * Copyright (C) 2010-2014 ARM Limited. All rights reserved. * * $Date: 19. March 2015 * $Revision: V.1.4.5 * * Project: CMSIS DSP Library * Title: arm_mat_cmplx_mult_q31.c * * Description: Floating-point matrix multiplication....
//---------------------------------------------------- #ifndef BoneH #define BoneH // refs class CBone; #define BI_NONE (u16(-1)) #define OGF_IKDATA_VERSION 0x0001 #define MAX_BONE_PARAMS 4 class ENGINE_API CBoneInstance; // callback typedef void _BCL BoneCallbackFunction (CBoneInstance* P); typedef BoneCall...
// // TOMSViewController.h // Example // // Created by Tom König on 28/10/14. // Copyright (c) 2014 tomknig. All rights reserved. // #import <UIKit/UIKit.h> @interface TOMSViewController : UIViewController @end
/* Copyright (c) Facebook, Inc. and its affiliates. (http://www.facebook.com) */ #pragma once #include "globals.h" #include "runtime.h" namespace py { RawObject memoryviewGetitem(Thread* thread, const MemoryView& view, word index); RawObject memoryviewGetslice(Thread* thread, const MemoryView& view, word start, ...
/* * Copyright(c) 2019 Intel Corporation * * This source code is subject to the terms of the BSD 2 Clause License and * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License * was not distributed with this source code in the LICENSE file, you can * obtain it at https://www.aomedia.org/license/soft...
/* * This header is generated by classdump-dyld 1.0 * on Sunday, June 7, 2020 at 11:24:27 AM Mountain Standard Time * Operating System: Version 13.4.5 (Build 17L562) * Image Source: /System/Library/PrivateFrameworks/Message.framework/Message * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limne...
/**************************************************************************** * VCGLib o o * * Visual and Computer Graphics Library o o * * _ O _ * * Copyri...
/*========================================================================= * * Copyright NumFOCUS * * 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 * * https://www.apache.o...
// MIT License // Copyright (c) 2020 Evan Pezent // 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...
/** * Functions for allocating memory * * @version $Revision:: 201 $$Date:: 2015-11-04 #$ * @copyright Copyright (c) 2004 to the present, Mauricio Villegas <mauvilsa@upv.es> */ #include "mem.h" #include <stdlib.h> #include <stdio.h> #include <string.h> //#define bfree(M,b) free((char**)M-b) void bfree( void* ...
#include <stdint.h> // uint*_t #include <stdbool.h> // bool #include <stddef.h> // size_t #include <string.h> // memset, explicit_bzero #include <os.h> #include <cx.h> #include "da_handler.h" #include "da_ui.h" #include "da_response.h" #include "../../sw.h" #include "../../globals.h" #include "../../context.h"...
/* Generated by RuntimeBrowser Image: /System/Library/PrivateFrameworks/DoNotDisturbServer.framework/DoNotDisturbServer */ @interface DNDSEventBehaviorResolution : NSObject <NSCopying> { NSUUID * _UUID; NSString * _clientIdentifier; NSDate * _date; DNDClientEventBehavior * _eventBehavior; unsig...
/* Extended Module Player * Copyright (C) 1996-2021 Claudio Matsuoka and Hipolito Carraro Jr * * 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 limi...
#include "mathc/float.h" #include "e/e.h" #include "r/r.h" #include "u/u.h" #include "camera.h" #include "game.h" static void main_loop(float dtime); int main() { puts("Gyronaut"); e_window_init("Gyronaut"); e_input_init(); e_gui_init(); r_render_init(e_window); // init r_text_de...
// ////////////////////////////////////////////////////////////////////////////// // // Copyright 2014 Autodesk, Inc. All rights reserved. // // Use of this software is subject to the terms of the Autodesk license // agreement provided at the time of installation or download, or which // otherwise accompanies th...
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* 41:Pandigital_prime.c :+: :+: :+: ...
void main(int N) { //if (N < 0) return; int z, w = 1; for(int n = 1; n < N; n++) { z = 1; for(int m = 1; m < N; m++) { if (__VERIFIER_nondet_int()) { z = 2 * z; } } w = 2 * w + z; } __VERIFIER_print_hull(z); __VERIFIER_print_hull(w); }
/* Copyright 2019 Diligent Graphics LLC * * 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 * * THE SOFTWARE IS PROVIDED "AS...
/* * Copyright (c) 2016 Laurent Pinchart <laurent.pinchart@ideasonboard.com> * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, provided that * the above copyright notice appear in all copies and that both that copyright *...
/* ef_acos.c -- float version of e_acos.c. * Conversion to float by Ian Lance Taylor, Cygnus Support, ian@cygnus.com. */ /* * ==================================================== * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. * * Developed at SunPro, a Sun Microsystems, Inc. business. * Per...
/*------------------------------------------------------------------------------ * Copyright (C) 2003-2006 Ben van Klinken and the CLucene Team * * Distributable under the terms of either the Apache License (Version 2.0) or * the GNU Lesser General Public License, as specified in the COPYING file. -------------------...
/************************************************************************* * Console script * ------------------------------------------------------------------------ * Copyright (c) 2014-2018 Vladimir Sviridov <v.shtille@gmail.com> * * This software is provided 'as-is', without any express or implied * warranty. I...
/* * 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...
/*****************************************************************/ /* Biblioteca vetor | PROG2 | MIEEC | 2020/21 */ /*****************************************************************/ #ifndef VETOR_H /** * registo para armazenar cada elemento (apenas uma string neste caso) */ typedef struct { c...
#define BENCH_DIM 2 #define BENCH_FPP 17 #define BENCH_RAD 2 #include "common.h" double kernel_stencil(SB_TYPE *A1, int compsize, int timestep, bool scop) { double start_time = sb_time(), end_time = 0.0; int dimsize = compsize + BENCH_RAD * 2; SB_TYPE (*A)[dimsize][dimsize] = (SB_TYPE (*)[dimsize][dimsize])A1; ...
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. // #import <AppleMediaServices/AMSMetricsEvent.h> __attribute__((visibility("hidden"))) @interface AMSFollowUpMetricsEvent : AMSMetricsEvent { } + (id)eventFromMetricsDictionary:(id)...
/* * 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...
/* * Copyright Mellanox Technologies, Ltd. 2001-2016. * This software product is licensed under Apache version 2, as detailed in * the COPYING file. */ #include <malloc.h> #include <string.h> #include <sai-api-class.h> #include <sai-log.h> #include <sai-netdev.h> #include <util.h> #include <sai-vendor.h> #include ...
/* * Copyright 1995, 1996 Perforce Software. All rights reserved. * * This file is part of Perforce - the FAST SCM System. */ /* * StrDict.h - a set/get dictionary interface * * Classes: * * StrDict - a GetVar/PutVar dictionary interface * * Methods: * */ class Error; class StrVarName : public StrRef {...
// Copyright (c) 2012 Marshall A. Greenblatt. 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 ...
/** ****************************************************************************** * Xenia : Xbox 360 Emulator Research Project * ****************************************************************************** * Copyright 2016 Ben Vanik. All rights reserved. ...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <netdb.h> #include <netinet/in.h> #include <arpa/inet.h> #include <sys/epoll.h> #include <unistd.h> #include <errno.h> #include <signal.h> #include <pthread.h> #include <mongoc/mongoc.h> #include <bson/bson.h> #include "define_macro_functions.h" #inc...
/* Copyright (c) 2015-2017 Nordic Semiconductor ASA * * 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 *...
/*************************************************************************** * * $Id: StHltTrack.h,v 2.1 2011/02/01 19:45:47 ullrich Exp $ * * Author: Liang Xue, Aihong Tang, Jan 2011 *************************************************************************** * * Description: * ********************************...
/* * halm/platform/lpc/lpc43xx/system_defs.h * Copyright (C) 2014 xent * Project is distributed under the terms of the MIT License */ #ifndef HALM_PLATFORM_LPC_LPC43XX_SYSTEM_DEFS_H_ #define HALM_PLATFORM_LPC_LPC43XX_SYSTEM_DEFS_H_ /*----------------------------------------------------------------------------*/ #i...
/// @file /// @ingroup minapi /// @copyright Copyright 2018 The Min-API Authors. All rights reserved. /// @license Use of this source code is governed by the MIT License found in the License.md file. #pragma once namespace c74 { namespace min { /// The base class for all template specializations of sample_operato...
#ifndef __TAB_FUNCS_EXPLODE_H #define __TAB_FUNCS_EXPLODE_H struct SeqWithPrev : public obj::SeqBase { obj::Object* seq; obj::Object* prev; void wrap(obj::Object* s) { seq = s; prev = nullptr; } obj::Object* next() { obj::Object* ret = (prev ? prev : seq->next()); ...
/* * Stanford Enetfilter subroutines for tcpdump * * Based on the MERIT NNstat etherifrt.c and the Ultrix pcap-pf.c * subroutines. * * Rayan Zachariassen, CA*Net */ #include <sys/types.h> #include <sys/time.h> #include <sys/file.h> #include <sys/ioctl.h> #include <sys/socket.h> #include <net/if.h> #include <ne...
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/proton/Proton_EXPORTS.h> #include <aws/proton/ProtonRequest.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <utility> namespace Aws { namespace Proton { namesp...
#ifndef MCUCORE_SRC_STRING_COMPARE_H_ #define MCUCORE_SRC_STRING_COMPARE_H_ // Defines string comparison methods for ProgmemStringView and StringView // instances. Ideally these allow us to write code that doesn't worry about // whether a string is stored in RAM or PROGMEM, but in practice it isn't clear // this is of...
#pragma once #include "../Window.h" #include "../Graph.h" #include "../GUI.h" #include "../../Options.h" class MainWindow : public Graph_lib::Window { public: MainWindow(Point tl, const std::string& title, char* iconSrc, int width = 350, int height = 150); //default width and height should always be ...
#ifndef DYNARRAY_H #define DYNARRAY_H #include <stddef.h> /* simple dynamic array of pointers */ typedef struct { int count; int capacity; void** items; } dynarray_t; #define DYNARRAY_INITIALIZER { 0, 0, NULL } void dynarray_init( dynarray_t *a ); void dynarray_done( dynarray_t *a ); void dynarray_app...
/* Copyright 2021 BowToes (bow.toes@mailfence.com) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in ...
// Copyright (c) 2015-2020 The C1pzo Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef C1PZO_ZMQ_ZMQABSTRACTNOTIFIER_H #define C1PZO_ZMQ_ZMQABSTRACTNOTIFIER_H #include <util/memory.h> #include <memory> #i...
#ifndef ALIANAPHOTON_H #define ALIANAPHOTON_H /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * See cxx source for full Copyright notice */ //_________________________________________________________________________ /// \class AliAnaPhoton /// \ingroup CaloTrackCorrelationsAnalysis /...
/*************************************************************************/ /* panel_container.h */ /*************************************************************************/ /* This file is part of: */ /* ...
/* * Allocation functions (malloc) * * Copyright (c) 2014, 2015 Gregor Richards * * Permission to use, copy, modify, and/or 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 SOFTW...
/******************************************************************************* * * Copyright (c) 2011, 2012, 2013, 2014, 2015 Olaf Bergmann (TZI) and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * and Eclipse Di...
// // Non-Degree Granting Education License -- for use at non-degree // granting, nonprofit, educational organizations only. Not for // government, commercial, or other organizational use. // // abeles_single.h // // Code generation for function 'abeles_single' // #ifndef ABELES_SINGLE_H #define ABELES_SINGLE_H // In...
/** * Copyright (c) 2015-present, 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. */ #import <F...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2012 The Bitcoin developers // Copyright (c) PWR Bitcoin team // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef PWRCOIN_MINER_H #define PWRCOIN_MINER_H ...
#include <stdlib.h> #include <stdio.h> #include <assert.h> #include "greatest.h" /* Define a suite, compiled seperately. */ SUITE_EXTERN(other_suite); /* Declare a local suite. */ SUITE(suite); enum foo_t { FOO_1, FOO_2, FOO_3 }; static const char *foo_str(enum foo_t v); /* Just test against random ints, to show a...
#include "types.h" #include "stat.h" #include "user.h" #include "fcntl.h" int main(int argc, char *argv[]) { int pid; if (argc >= 2) { pid = atoi(argv[1]); getUsage(pid); } else { printf(1, "Comando incorreto. Uso apropriado: getUsage pid."); } exit(); }
include(__link__.m4) #ifndef __OBSTACK_H__ #define __OBSTACK_H__ #include <alloc/obstack.h> #endif
#ifndef CONSTRAINT_HPP #define CONSTRAINT_HPP #include "point.h" class View; class Constraint { public: enum ConstraintType { widthAnchor, heightAnchor, leadingAnchor, trailingAnchor, bottomAnchor, topAnchor, centerXAnchor, centerYAnchor, undeterminedAnchor }; Constraint(); // A constraint is...
/* rnaSecStr.c was originally generated by the autoSql program, which also * generated rnaSecStr.h and rnaSecStr.sql. This module links the database and * the RAM representation of objects. */ /* Copyright (C) 2014 The Regents of the University of California * See README in this or parent directory for licensing...
/* $NetBSD: io.c,v 1.10 1997/10/10 12:32:32 lukem Exp $ */ /*- * Copyright (c) 1980, 1993 * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * ...
/* * This file is a stress test for the pthread_cond_init function. * The steps are: * -> Create some threads * -> each thread loops on initializing and destroying a mutex variable */ #include <hthread.h> #include <stdlib.h> #include <stdio.h> #define NUMBER_OF_TESTS 10000 #define NUMBER_OF_THREADS 50 struc...
// Copyright (c) 2019 Google LLC // // 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 agreed to ...
/* * Copyright (c) 2004-present, 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. * */ #pra...
// // ModalViewController.h // Runner // // Created by Xiao Yu on 7/26/17. // Copyright © 2017 The Chromium Authors. All rights reserved. // #import <UIKit/UIKit.h> @interface ModalViewController : UIViewController @end
/* pad.c * * Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 * by Larry Wall and others * * You may distribute under the terms of either the GNU General Public * License or the Artistic License, as specified in the README file. */ /* * 'Anyway: there was this Mr. Frodo left an orphan and...
#include <stdio.h> int main() { int n, a, b, x=0, max = 0, i; scanf(" %d", &n); for(i=0; i<n; i++) { scanf(" %d %d", &a, &b); x= (x-a)+b; if(x>max) { max = x; } } printf("%d\n", max); return 0; }
#include <assert.h> #include <stdio.h> #include <imp/runtime.h> #include <imp/object.h> #include <imp/builtin/string.h> #include <imp/builtin/general.h> #include <imp/builtin/route.h> static FILE *File_getRaw(iObject *self){ assert(iObject_isValid(self)); FILE **fpp = iObject_getDataDeep(self, "__data"); if(!fp...
/* * Copyright (c) 2013, 2015, Oracle and/or its affiliates. All Rights reserved * * The Universal Permissive License (UPL), Version 1.0 * * Subject to the condition set forth below, permission is hereby granted to any person obtaining a copy of this software, * associated documentation and/or data (collectivel...
/** * \class WalletManager * \brief This class handles everything related to the wallet file, like * writing/reading the wallet file to/from disk, encrypting/decrypting * sensible data and state updates. The wallet file format is based on JSON, * see doc/wallet/format.md for specifics. * Before calling any ...
// ================== Check default CPU on each major architecture // RUN: %clang -target arm -mcpu=generic -### -c %s 2>&1 | FileCheck -check-prefix=CHECK-GENERIC %s // CHECK-GENERIC: "-cc1"{{.*}} "-triple" "armv4t-{{.*}} "-target-cpu" "generic" // RUN: %clang -target armeb -mcpu=generic -### -c %s 2>&1 | FileCheck -...
/* * Copyright 2009-2017 Alibaba Cloud 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...