text
stringlengths
9
948k
// 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...
// SPDX-License-Identifier: GPL-2.0-only /* * I2C client/driver for the ST M41T80 family of i2c rtc chips. * * Author: Alexander Bigga <ab@mycable.de> * * Based on m41t00.c by Mark A. Greer <mgreer@mvista.com> * * 2006 (c) mycable GmbH */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/bcd.h> #inc...
/* PipeWire * * Copyright © 2018 Wim Taymans * * 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, merg...
#include <stdio.h> #define countof(a) (sizeof(a) / sizeof((a)[0])) #include "float_test_vec.c" int main(void) { printf("floating point printf tests\n"); for (size_t i = 0; i < float_test_vec_size; i++) { PRINT_FLOAT; } return 0; }
#region Local Var var uLocal_0 = 0; var uLocal_1 = 0; var uLocal_2 = 0; int iLocal_3 = 0; int iLocal_4 = 0; int iLocal_5 = 0; int iLocal_6 = 0; int iLocal_7 = 0; int iLocal_8 = 0; int iLocal_9 = 0; int iLocal_10 = 0; int iLocal_11 = 0; int iLocal_12 = 0; int iLocal_13 = 0; var uLocal_14 = 0; var uLocal_...
char F2C_version[] = "20190311"; char xxxvers[] = "\n@(#) FORTRAN 77 to C Translator, VERSION 20190311\n";
/***************************************************************************** # * # Copyright 2019 AT&T Intellectual Property * # * # Li...
/* * 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...
/* * This header is generated by classdump-dyld 1.5 * on Tuesday, November 10, 2020 at 10:13:36 PM Mountain Standard Time * Operating System: Version 14.2 (Build 18K57) * Image Source: /System/Library/PrivateFrameworks/Espresso....
/* * * Copyright (c) 2020 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...
/* * Copyright (C) 2011 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...
//////////////////////////////////////////////////////////////////////////////// // // TYPHOON REST CLIENT // Copyright 2015, Typhoon Rest Client Contributors // All Rights Reserved. // // NOTICE: The authors permit you to use, modify, and distribute this file // in accordance with the terms of the license agreeme...
// Copyright (c) 2020-2021, NVIDIA CORPORATION & 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. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // /...
/* Author: Remi Matthey-Doret MIT License Copyright (c) 2017 Remi Matthey-Doret 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 limit...
/****************************************************************************** * * Copyright (C) 2015 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: ...
#pragma once #include "Buffer.h" namespace httplite { /// <summary> /// MessageBase is the base class to Request and Response /// Request and Response processing is very similar /// so the Recv and Send member functions do all the /// work, with only header processing defined by the /// derived types /// </sum...
/*- * Copyright (c) 2004 Robert N. M. Watson * 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...
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * NFS protocol definitions * * This file contains constants for Version 2 of the protocol. */ #ifndef _LINUX_NFS2_H #define _LINUX_NFS2_H #define NFS2_PORT 2049 #define NFS2_MAXDATA 8192 #define NFS2_MAXPATHLEN 1024 #define NFS2_MAXNAMLEN 255 #defin...
/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 1991, 1992 Linus Torvalds * Copyright (C) 2000, 2001, 2002 Andi Kleen, SuSE Labs */ #ifndef _ASM_X86_STACKTRACE_H #define _ASM_X86_STACKTRACE_H #include <linux/uaccess.h> #include <linux/ptrace.h> #include <asm/switch_to.h> enum stack_type { STACK_TYPE...
// // UIButton+Extension.h // App // // Created by weixhe on 16/4/25. // Copyright © 2016年 weixhe. All rights reserved. // #import <UIKit/UIKit.h> @interface UIButton (Extension) // title @property (nonatomic, strong) NSString *normalTitle; @property (nonatomic, strong) NSString *highlightedTitle; @property (non...
/* * Thermal throttle event support code (such as syslog messaging and rate * limiting) that was factored out from x86_64 (mce_intel.c) and i386 (p4.c). * * This allows consistent reporting of CPU thermal throttle events. * * Maintains a counter in /sys that keeps track of the number of thermal * events, such th...
#pragma once #include <windows.h> int lpwstricmp(LPWSTR s, LPWSTR t); wchar_t *new_xl12string(const char *text);
// // JMapSurroundingItem.h // JMapNavigationKit // // Created by Louie Yuen on 2017-05-05. // Copyright © 2017 Jibestream. All rights reserved. // #import <Foundation/Foundation.h> /** * The Surround Item Class */ @interface JMapSurroundingItem : NSObject /** * The distance between the point to the shape/ico...
#ifndef _HISTOGRAM_H_ #define _HISTOGRAM_H_ #include <stddef.h> #include <limits> /** * Bucketing histogram, sorts every incoming sample into bucket counters, giving a coarse * distribution. * * @tparam NumDividers number of dividers between buckets * @tparam T type of bucket limits * @tparam V type of count *...
// // 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 following disclaimer. // * Redistributions in bin...
// Copyright (c) 2012-2017, The CryptoNote developers, The Bytecoin developers // Copyright (c) 2018-2019, The Qwertycoin developers // // This file is part of Qwertycoin. // // Qwertycoin is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published...
/* * eeprom_addresses.c * * Created on: 24.01.2020 * Author: Yannick */ #include "eeprom_addresses.h" /* Add all used addresses to the VirtAddVarTab[] array. This is important for the eeprom emulation to correctly transfer between pages. This ensures that addresses that were once used are not copied again ...
typedef unsigned __int128 __jmp_buf[32];
/* @@@LICENSE * * Copyright (c) 2008-2012 Hewlett-Packard Development Company, L.P. * * 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 * * Unl...
// // HYBaseTableViewCell.h // HaoYuClient // // Created by 刘文强 on 2018/5/22. // Copyright © 2018年 LWQ. All rights reserved. // #import <UIKit/UIKit.h> //typedef void(^clickCellBlock)(NSIndexPath *indexPath); @interface HYBaseTableViewCell : UITableViewCell { CGFloat MARGIN; } @property (nonatomic, strong) HYB...
#pragma once #include <iostream> class Integer { int *m_pInt; public: //Default constructor Integer(); //Parameterized constructor Integer(int value); //Copy constructor Integer(const Integer &obj); //Move constructor Integer(Integer &&obj); //Copy assignment Integer & operator=(const Integer &obj) ; /...
/** ****************************************************************************** * @file stm32g4xx_ll_bus.h * @author MCD Application Team * @brief Header file of BUS LL module. @verbatim ##### RCC Limitations ##### =============================================================...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE479_Signal_Handler_Use_of_Non_Reentrant_Function__basic_18.c Label Definition File: CWE479_Signal_Handler_Use_of_Non_Reentrant_Function__basic.label.xml Template File: point-flaw-18.tmpl.c */ /* * @description * CWE: 479 Signal Handler Use of Non-Reentrant Function * ...
void StartProcs(); void RunProcs(); void AddProc( int (*func)( int n ), int p ); void SetReady( int n ); void SetDone( int n ); void SetError(); #define READY (1) #define DONE (0) struct proc { int (*func)( int n); int param; int state; };
#pragma once //used by eternal app //----Core--------------------------- #include "Eternal/Core/Application.h" #include "Eternal/Core/Layer.h" #include "Eternal/Core/Log.h" #include "Eternal/Core/Timestep.h" //----Input--------------------------- #include "Eternal/Core/Input.h" #include "Eternal/Core/KeyCodes.h" #in...
// ################################################################################################# // # << NEORV32 - RISC-V Single-Precision Floating-Point 'Zfinx' Extension Verification Program >> # // # ********************************************************************************************* # // # BSD 3-Clause...
/*====================================================================* - Copyright (C) 2001 Leptonica. 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 c...
/* * FreeRTOS Kernel V10.2.1 * Copyright (C) 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in * the Software without restriction, includ...
// -*- c++ -*- #ifndef ISA_MIPS_H #define ISA_MIPS_H #ifndef PIPELINE_H #error This file should be included in Pipeline.h #endif enum InstrFormat { IFORMAT_ITYPE, IFORMAT_REGIMM, IFORMAT_JTYPE, IFORMAT_RTYPE, IFORMAT_SPECIAL, }; enum { M_OP_SPECIAL = 0x0, /* R-type */ M_OP_REGIMM = 0x1, ...
#ifndef ENCODER_FBXSCENEEENCODER_H_ #define ENCODER_FBXSCENEEENCODER_H_ #define FBXSDK_NEW_API #include <iostream> #include <list> #include <vector> #include <ctime> #ifdef WIN32 #pragma warning( disable : 4100 ) #pragma warning( disable : 4512 ) #endif #include <fbxsdk.h> #include "Base.h" #include "StringU...
#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_bigWeiAPPVersionNumber; FOUNDATION_EXPORT const unsigned char Pods_bigWeiAPPVersionString[];
/* Copyright (C) 2004-2016 Free Software Foundation, Inc. This file is part of GCC. GCC 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, or (at your option) any later version. ...
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* main.c :+: :+: :+: ...
/* * This header is generated by classdump-dyld 1.5 * on Tuesday, November 10, 2020 at 10:11:58 PM Mountain Standard Time * Operating System: Version 14.2 (Build 18K57) * Image Source: /System/Library/Frameworks/Intents.framewor...
#ifndef _MESIO_H_ #define _MESIO_H_ #include "mpi.h" /*----------------------------------------------------------------------------- Set data-types used in MESIO Possible values for MESIO_INT_WIDTH: 32: use 32 bit signed integer 64: use 64 bit signed integer Possible values for MESIO_REAL_WIDTH: 64: ...
/*! \file gd32e230_usart.c \brief USART driver \version 2018-06-19, V1.0.0, firmware for GD32E230 */ /* Copyright (c) 2018, GigaDevice Semiconductor Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided tha...
/* * JaccardDistance.h * * Created on: 17.11.2014 * Author: Michael Hamann, Gerd Lindner */ #ifndef JACCARDDISTANCE_H_ #define JACCARDDISTANCE_H_ #include "NodeDistance.h" #include "../graph/Graph.h" #include "../auxiliary/Timer.h" namespace NetworKit { /** * @ingroup distance * Jaccard distance assig...
#import <Foundation/Foundation.h> #import "Registration.h" @interface TemplateRegistration : Registration @property (copy, nonatomic) NSString* bodyTemplate; @property (copy, nonatomic) NSString* expiry; @property (copy, nonatomic) NSString* templateName; + (NSString*) payloadWithDeviceToken:(NSString*)deviceToken b...
//========================================================================= // Copyright (C) 2012 The Elastos 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 // // ...
// // 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 <MMCommon/WXPBGeneratedMessage.h> @class BaseRequest, Remind; @interface SetFavRemindRequest : WXPBGeneratedMessage { } + (v...
/* This software and supporting documentation are distributed by * Institut Federatif de Recherche 49 * CEA/NeuroSpin, Batiment 145, * 91191 Gif-sur-Yvette cedex * France * * This software is governed by the CeCILL-B license under * French law and abiding by the rules of distribution of free soft...
#pragma once #include "Stream.h" #include "Channel.h" #include "TCPServer.h" class DebugMessage; class DebugPipeline { public: virtual ~DebugPipeline() = default; virtual bool Send(DebugMessage* message); virtual bool Initialize() = 0; virtual void Destroy() = 0; virtual bool IsAttached() = 0; }; class Channel...
/* * Author: Ethan Booker * Date: 2/15/2018 * Description: Using a function to return a pointer to an array */ #include <stdio.h> #include <stdlib.h> #include <time.h> // Function prototyping int * initalize_ary(int size); void print_ary(int *ary, int size); int print_sum(int *ary, int size); double print_avg...
// Copyright 2013 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 EXTENSIONS_BROWSER_API_SYSTEM_DISPLAY_SYSTEM_DISPLAY_API_H_ #define EXTENSIONS_BROWSER_API_SYSTEM_DISPLAY_SYSTEM_DISPLAY_API_H_ #include <string>...
/* * Copyright (c) 2016 Austin English * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This libra...
/* * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) * From ASN.1 module "E2AP-PDU-Contents" * found in "E2AP-PDU-Contents-v01.00.asn" * `asn1c -pdu=auto -fno-include-deps -fcompound-names -findirect-choice -gen-PER -gen-OER -no-gen-example` */ #ifndef _RICaction_NotAdmitted_List_H_ #define _RICaction_NotA...
/*This file is part of the FEBio source code and is licensed under the MIT license listed below. See Copyright-FEBio.txt for details. Copyright (c) 2020 University of Utah, The Trustees of Columbia University in the City of New York, and others. Permission is hereby granted, free of charge, to any person obtaining ...
/*====================================================================* - Copyright (C) 2001 Leptonica. 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 c...
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */ /* * Copyright (c) 2013 Los Alamos National Security, LLC. All rights * reseved. * Copyright (c) 2015 Research Organization for Information Science * and Technology (RIST). All rights reserved. ...
// // Created by lyonmu on 2021/9/1. // 放置通用功能函数的头文件 // #ifndef DATA_STRUCTURE_MASTER_H #define DATA_STRUCTURE_MASTER_H #endif //DATA_STRUCTURE_MASTER_H #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <time.h> void getRand(int *, int); void traverseArrays(int *, int); void sw...
/** * Copyright 2015 IBM Corp. * * 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 writing, so...
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. // #import "NSArray.h" @interface NSArray (InfoPlistOverlay) - (id)ib_overlayPlist:(id)arg1; - (id)ib_initialPlistOverlayInstance; - (Class)ib_immutableClassForPlistOverlay; @end
#ifndef PROCESS_H #define PROCESS_H #include <string> /* Basic class for Process representation It contains relevant attributes as shown below */ class Process { public: Process(int pid); int Pid(); // TODO: See src/process.cpp std::string User(); // TODO: See ...
/* * Copyright (c) 2017 Nordic Semiconductor ASA * Copyright (c) 2015 Runtime Inc * * SPDX-License-Identifier: Apache-2.0 */ #include "fcb.h" #include "fcb_priv.h" /* * Call 'cb' for every element in flash circular buffer. If fap is specified, * only elements with that flash_area are reported. */ int fcb_walk...
/***************************************************************************//** * @file * @brief EFR32FG14P_LDMA register and bit field definitions * @version 5.8.0 ******************************************************************************* * # License * <b>Copyright 2019 Silicon Laboratories Inc. www.silabs...
/* * Network Configuration Objects implementation * * Copyright 2013 Austin English * * 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 y...
#pragma once #include <Core/IUpdatable.h> #include <Core/IRenderable.h> #include <Core/IEventable.h> #include <Core/IInitializable.h> namespace ZEngine::Controllers { struct IController : public Core::IInitializable, public Core::IUpdatable, public Core::IEventable { IController() = default; ~IContr...
// // Copyright (C) 2013 Greg Landrum // // @@ All Rights Reserved @@ // This file is part of the RDKit. // The contents are covered by the terms of the BSD license // which is included in the file license.txt, found at the root // of the RDKit source tree. // #ifndef _RD_REDUCEDGRAPHS_H_ #define _RD_REDUCEDGRAP...
// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2014, Bin Meng <bmeng.cn@gmail.com> */ #include <common.h> #include <init.h> #include <mmc.h> #include <pci_ids.h> #include <asm/irq.h> #include <asm/mrccache.h> #include <asm/post.h> #include <asm/arch/iomap.h> #include <linux/bitops.h> /* GPIO SUS */ #define...
/******************************************************************************/ /* Copyright 2015 RCF */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); you may ...
#ifndef BARBU_FX_MARCHING_CUBE_H_ #define BARBU_FX_MARCHING_CUBE_H_ #include <vector> #include "core/graphics.h" #include "memory/assets/texture.h" #include "memory/assets/program.h" class Camera; // ---------------------------------------------------------------------------- class MarchingCube { private: // Nu...
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ /** * ============================================================================ * Project Name : ezbox configuration utilities * File Name : nv_json_http/nv_json_http.c * * Description : interface to configurate ezbox information * * Copyr...
$NetBSD: patch-src_dbinc_atomic.h,v 1.4 2020/06/29 13:24:55 ryoon Exp $ --- src/dbinc/atomic.h.orig 2017-04-13 14:06:20.000000000 +0000 +++ src/dbinc/atomic.h @@ -73,7 +73,7 @@ typedef struct { * These have no memory barriers; the caller must include them when necessary. */ #define atomic_read(p) ((p)->value) -#...
/* * Copyright 2017 Google * * 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 w...
/* * InitialConditions.h * * Created on: Oct 23, 2015 * Author: bazow */ #ifndef INITIALCONDITIONS_H_ #define INITIALCONDITIONS_H_ #include "../include/HydroInitialTmunu.h" void setInitialConditions(void * latticeParams, void * initCondParams, void * hydroParams, const char *rootDirectory); void setICFrom...
/* ------------------------------------------------------------------------- // WINX: a C++ template GUI library - MOST SIMPLE BUT EFFECTIVE // // This file is a part of the WINX Library. // The use and distribution terms for this software are covered by the // Common Public License 1.0 (http://opensource.org/licenses...
/* Generated by RuntimeBrowser Image: /System/Library/PrivateFrameworks/JITAppKit.framework/JITAppKit */ @interface MCLNotificationCenterObserver : NSObject { bool _enabled; NSString * _notification; id _object; } @property (nonatomic) bool enabled; @property (nonatomic, copy) NSString *notification...
/* * @file SLTResource.h * Saltr * * Copyright Teoken LLC. (c) 2014. All rights reserved. * Copying or usage of any piece of this source code without written notice from Teoken LLC is a major crime. * Այս կոդը Թեոկեն ՍՊԸ ընկերության սեփականությունն է: * Առանց գրավոր թույլտվության այս կոդի պատճենահանումը կամ օգտա...
#pragma once #include <glad/glad.h> #include "../Application.h" #include "../Camera.h" #include "../Mesh.h" #include "../Shader.h" #include "../Transform.h" #include "../math/Matrix4f.h" #include "ShadowMapPointFbo.h" #include <limits> #include <vector> class ShadowMapPointLight : public Application { public: Shado...
/* * This header is generated by classdump-dyld 1.0 * on Saturday, August 24, 2019 at 9:41:34 PM Mountain Standard Time * Operating System: Version 12.4 (Build 16M568) * Image Source: /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by El...
/* * This file is part of the SDWebImage package. * (c) Olivier Poitrey <rs@dailymotion.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ #import <Foundation/Foundation.h> #import "SDImageIOAnimatedCoder.h" /** Built in coder ...
// Copyright 2019 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #pragma once #include <netinet/in.h> #ifndef __Fuchsia__ #include <sys/un.h> #endif #include <iosfwd> #include "src/connectivity/overnet/deprecated/lib/v...
/* * Copyright (c) 2004-2009 Voltaire, Inc. All rights reserved. * Copyright (c) 2002-2005 Mellanox Technologies LTD. All rights reserved. * Copyright (c) 1996-2003 Intel Corporation. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed...
/* Generated by Cython 0.29.23 */ #ifndef PY_SSIZE_T_CLEAN #define PY_SSIZE_T_CLEAN #endif /* PY_SSIZE_T_CLEAN */ #include "Python.h" #ifndef Py_PYTHON_H #error Python headers needed to compile C extensions, please install development version of Python. #elif PY_VERSION_HEX < 0x02060000 || (0x03000000 <= PY_VERSIO...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE761_Free_Pointer_Not_at_Start_of_Buffer__wchar_t_file_53d.c Label Definition File: CWE761_Free_Pointer_Not_at_Start_of_Buffer.label.xml Template File: source-sinks-53d.tmpl.c */ /* * @description * CWE: 761 Free Pointer not at Start of Buffer * BadSource: file Read in...
/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2018-2021 Cisco Systems, Inc. All rights reserved. */ #include <stdlib.h> #include <fcntl.h> #include <unistd.h> #include <sys/types.h> #include <sys/socket.h> #include <sys/ioctl.h> #include <errno.h> #include <bsd/string.h> // for strlcpy #include <cne_...
#include <iostream> #include <string> #include <list> #include <string> #include <algorithm> using namespace std; namespace slackerz{ class slist{ public: std::vector<string> v; slist(vector<string> a){ v = a; } void append(string a){ ...
main(a,b,c,d){while(scanf("%d%d%d%d",&a,&b,&c,&d),a+b+c+d)printf("%d %d\n",c-b,d-a);}
#pragma once #include <SceneGraph\HermiteSpline.h> #include <vector> #include <Math/Vectorf.h> class Trajectoire { private : std::vector<HermiteSpline *> splines; public : Trajectoire(std::vector<Math::Vector3f> points, std::vector<Math::Vector3f> tangentes) { Math::Vector3f m1prec = Math::makeVector(0.0f, 0.0...
#ifndef BAMBOO_03_2048_H_ #define BAMBOO_03_2048_H_ #if ARDUINO >= 100 #include "Arduino.h" #else #include "WProgram.h" #endif #include "mozzi_pgmspace.h" #define BAMBOO_03_2048_NUM_CELLS 2048 #define BAMBOO_03_2048_SAMPLERATE 16384 CONSTTABLE_STORAGE(int8_t) BAMBOO_03_2048_DATA [] = {1, 1, -1, -1, 0, -1, 0, -1, ...
/*- * This file is provided under a dual BSD/GPLv2 license. When using or * redistributing this file, you may do so under either license. * * GPL LICENSE SUMMARY * * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under th...
/***************************************************************************** * * Copyright (c) 2000 - 2018, Lawrence Livermore National Security, LLC * Produced at the Lawrence Livermore National Laboratory * LLNL-CODE-442911 * All rights reserved. * * This file is part of VisIt. For details, see https://visit.llnl...
#ifndef _kiya_args_h_ #define _kiya_args_h_ #include <stdint.h> typedef struct kiya_args_t kiya_args_t; typedef struct kiya_args_pool_t kiya_args_pool_t; struct kiya_args_t { uintptr_t n; uintptr_t size; const char **argv; }; kiya_args_pool_t* kiya_args_pool_alloc(uintptr_t size); kiya_args_t* kiya_args_alloc(vo...
/*******************************************************************************/ /* */ /* Copyright (c) Microsoft Corporation. All rights reserved. */ /* ...
#ifndef XLsn0wModel_h #define XLsn0wModel_h #import "XLsn0wModelType.h" #import "NSObject+XLsn0wModel.h" #import "NSObject+XLsn0wConvert.h" #endif /* XLsn0wModel_h */
/// /// Copyright (c) 2016 Dropbox, Inc. All rights reserved. /// /// Auto-generated by Stone, do not modify. /// #import <Foundation/Foundation.h> #import <ObjectiveDropboxOfficial/DBSerializableProtocol.h> @class DBTEAMLOGSpaceCapsType; NS_ASSUME_NONNULL_BEGIN #pragma mark - API Object /// /// The `SpaceCapsTyp...
#pragma once // Name: S, Version: b #ifdef _MSC_VER #pragma pack(push, 0x01) #endif /*!!HELPER_DEF!!*/ /*!!DEFINE!!*/ namespace UFT { //--------------------------------------------------------------------------- // Enums //--------------------------------------------------------------------------- // Enum Slate...
#ifndef FS_CLI_H #define FS_CLI_H #include <iostream> #include <chrono> #include <thread> #include "term_utils.h" #include "file.h" #include "simulator.h" class FSCli { public: FSCli(); ~FSCli() {} int run(); private: enum options { FS_OPT_EXIT, FS_OPT_SEL_FAT, FS_OPT_SEL_JOB,...
// // CALayerMaskViewController.h // GradientColorDemo // // Created by ying on 2017/10/13. // Copyright © 2017年 ying. All rights reserved. // #import <UIKit/UIKit.h> @interface CALayerMaskViewController : UIViewController @end
#ifndef WIRE_H #define WIRE_H #include "tile.h" //The wire class. //When previous wire in an array is powered, the current wire will become powered. class Wire { public: Wire(); //Tile tile; bool powered; virtual ~Wire(); bool isOn(){return powered;}//a simple check to see i...