text
stringlengths
9
948k
/** * Copyright (C) 2015 MongoDB Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * This program is distributed in the hope that it will be usef...
//===-- fixunssfsi.c - Implement __fixunssfsi -----------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
/* */ #include "ldns/config.h" #include <ldns/ldns.h> void print_data_ar(const uint8_t *data, const size_t len) { size_t i; for (i = 0; i < len; i++) { printf("%02x ", data[i]); } } int test_base64_encode(uint8_t *data, size_t data_len, const char *expect_result) { int result; char *text; size_t text_...
#include <stdio.h> /* --- Struct/Union Declarations --- */ struct S0 { signed f0 : 25; signed f1 : 12; unsigned char f2; signed : 0; signed f3 : 7; volatile signed f4 : 25; }; static struct S0 g_102 = {5332, 50, 0xADL, 4, -1877}; /* VOLATILE GLOBAL g_102 */ /* ---------------------------------------- */ in...
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. // #import <IDEInterfaceBuilderCocoaIntegration/IBCocoaWindowAndDrawerObjectLibraryAsset.h> @interface IBCocoaWindowAndDrawerLibraryObjectTemplate : IBCocoaWindowAndDrawerObjectLibrar...
// // LXCircleBrowser.h // XiaoLiuRetail // // Created by MacBook pro on 16/5/19. // Copyright © 2016年 福中. All rights reserved. // #import <UIKit/UIKit.h> #import "LXCircleBrowserCell.h" typedef void(^BackBlock)(NSInteger index); @interface LXCircleBrowser : UIView<UICollectionViewDelegateFlowLayout,UICollectio...
//removed references to old gods - Circe 7/30/19 #include <std.h> inherit "/d/common/obj/weapon/hhlance.c"; int FLAG; void create(){ ::create(); set_name("Smoldering Lance"); set_short("%^BOLD%^%^BLACK%^Sm%^RESET%^%^RED%^o%^BOLD%^%^BLACK%^l"+ "d%^RESET%^%^RED%^e%^BOLD%^%^BLACK%^ring L%^RESET%^"+ "%^RE...
/* * Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
/** * @file case.h * @brief Numerical parameters and body defination for 2D two-phase dambreak flow. * @author Chi Zhang and Xiangyu Hu */ /** * @brief SPHinXsys Library. */ #include "sphinxsys.h" /** * @brief Namespace cite here. */ using namespace SPH; /** * @brief Basic geometry parameters and nume...
/* * This header is generated by classdump-dyld 1.0 * on Sunday, September 27, 2020 at 11:53:29 AM Mountain Standard Time * Operating System: Version 14.0 (Build 18A373) * Image Source: /System/Library/Frameworks/PDFKit.framework/PDFKit * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos. *...
/* See https://www.RoxXxtar.com/bmc for more details Copyright (c) 2020 RoxXxtar.com Licensed under the MIT license. See LICENSE file in the project root for full license information. Handle reading analog multiplexer, currently only CH74HC4067 is supported Value passed must be 10-bits */ #ifndef BMC_MUX_I...
#include <stdio.h> #include <stdlib.h> #include <stddef.h> #include <ctype.h> #include <string.h> #ifdef EVHTP_HAS_SYS_TYPES #include <sys/types.h> #endif #include "internal.h" #include "evhtp/parser.h" #include "evhtp/config.h" #if '\n' != '\x0a' || 'A' != 65 #error "You have somehow found a non-ASCII host. We can'...
/* * Copyright (c) 2019, Linaro Limited. * * SPDX-License-Identifier: Apache-2.0 */ #define DT_DRV_COMPAT nxp_imx_gpt #include <drivers/counter.h> #include <fsl_gpt.h> #include <logging/log.h> LOG_MODULE_REGISTER(mcux_gpt, CONFIG_COUNTER_LOG_LEVEL); struct mcux_gpt_config { /* info must be first element */ st...
// // NSString+TFKit.h // AnalysisAFNetworking // // Created by Twisted Fate on 2018/12/19. // Copyright © 2018 TwistedFate. All rights reserved. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @interface NSString (TFKit) + (NSString *)tf_stringFromDate:(NSDate *)date; - (NSString *)tf_MD5String; ...
#pragma once #include "Scene.h" #include <glm/vec3.hpp> class BreakOutScene : public Scene { public: BreakOutScene(); ~BreakOutScene(); private: void AddBrick(glm::vec2 size, glm::vec2 position, glm::vec3 color); void LoadLevel(); void LoadBackground(); void LoadPaddle(); };
/* Copyright 2010-2013 SourceGear, 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 in writing, softwar...
/* * CDDL HEADER START * * The contents of this file are subject to the terms of the * Common Development and Distribution License, Version 1.0 only * (the "License"). You may not use this file except in compliance * with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * o...
// // CSCustomField.h // CreateSend // // Copyright (c) 2012 Campaign Monitor. All rights reserved. // #import <Foundation/Foundation.h> typedef enum { CSCustomFieldTextDataType, CSCustomFieldNumberDataType, CSCustomFieldMultiSelectOneDataType, CSCustomFieldMultiSelectManyDataType, CSCustomFiel...
// // File: Splines.h // // Function: Various cubic spline utilities // // Copyright: Andrew Willmott 2018 // #ifndef SPLINES_H #define SPLINES_H #include <math.h> #include <vector> #include <cstdlib> #ifndef SL_ASSERT #define SL_ASSERT(X) #endif #ifndef SL_VEC2F_CONVERT #define SL_VEC2F_CONVERT...
#pragma once // includes #include <AK/String.h> namespace HackStudio { enum class Language { Unknown, Cpp, JavaScript, GML, Ini, Shell, }; Language language_from_file_extension(const String&); Language language_from_name(const String&); }
#ifndef DataFormats_Common_RefHolder__h #define DataFormats_Common_RefHolder__h #include "DataFormats/Common/interface/CMS_CLASS_VERSION.h" #include "DataFormats/Common/interface/RefHolderBase.h" #include "DataFormats/Provenance/interface/ProductID.h" #include "FWCore/Utilities/interface/OffsetToBase.h" #include <memo...
/* * Copyright (C) 2022 Red Hat * * 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 disclaimer...
/**************************************************************************** * * Copyright (c) 2015 PX4 Development Team. All rights reserved. * Author: Ben Dyer <ben_dyer@mac.com> * Pavel Kirienko <pavel.kirienko@zubax.com> * David Sidrane <david_s5@nscdg.com> * * Redistribu...
/* * TOPPERS/ASP Kernel * Toyohashi Open Platform for Embedded Real-Time Systems/ * Advanced Standard Profile Kernel * * Copyright (C) 2015 by Embedded and Real-Time Systems Laboratory * Graduate School of Information Science, Nagoya Univ., JAPAN * * 上記著作権者は,以下の(1)~(4)の条件を満たす場合に限り,本ソ...
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * * This package is an SSL implementation written * by Eric Young (eay@cryptsoft.com). * The implementation was written so as to conform with Netscapes SSL. * * This library is free for commercial and non-commercial use as long as ...
#ifndef INDIRECTION_H #define INDIRECTION_H #include <cstdlib> class IndexExprValue; class WorkItemExpr; enum IndirectionType { INT, FLOAT, DOUBLE, UNDEF }; // Expression for the indirection, created by analysis pass. struct ArgIndirectionRegionExpr { ArgIndirectionRegionExpr(unsigned id, unsigned pos, u...
// // MyConsole.h // 1352978 // // Created by Breezewish on 13-12-5. // Copyright (c) 2013年 Breezewish. All rights reserved. // #ifndef ___352978__MyConsole__ #define ___352978__MyConsole__ #include <iostream> #include <iomanip> #include <map> #include <vector> #include "MyString.h" typedef std::ostream& (*manip...
#ifndef PQCLEAN_NTRULPR1013_AVX2_CRYPTO_ENCODE_1013XINT16_H #define PQCLEAN_NTRULPR1013_AVX2_CRYPTO_ENCODE_1013XINT16_H #include <stdint.h> #define PQCLEAN_NTRULPR1013_AVX2_crypto_encode_1013xint16_STRBYTES 2026 #define PQCLEAN_NTRULPR1013_AVX2_crypto_encode_1013xint16_ITEMS 1013 #define PQCLEAN_NTRULPR1013_AVX2_crypt...
/* * 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 ...
// Copyright (c) 2021 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // // --------------------------------------------------------------------------- // // This file was generated by the CEF translato...
#include "software/ai/world/ball.h" #include "software/ai/world/field.h" #include "software/ai/world/team.h" namespace Evaluation { /** * Returns the robot that either has the ball, or is the closest to having it (and * therefore has the most "presence" over the ball) * * @param team The team c...
#ifndef GUI_H #define GUI_H /* SDL libs */ #include "bot.h" #include "map.h" #include <SDL/SDL.h> // -lSDL #include <SDL/SDL_image.h> // -lSDL_image #include <SDL/SDL_mixer.h> // -lSDL_mixer #include <SDL/SDL_ttf.h> // -lSDL_ttf #include <math.h> #include <time.h> #define NB_SPRITES_P_LINE 4 // Sprites par li...
/* { dg-do run } */ /* { dg-options "-O2 -mavx512f" } */ /* { dg-require-effective-target avx512f } */ #define AVX512F #include "avx512f-helper.h" #define SIZE (AVX512F_LEN / 32) #include "avx512f-mask-type.h" static void CALC (MASK_TYPE *res, int *src1, int *src2) { int i; *res = 0; MASK_TYPE one = 1; for...
/* Copyright (c) 2015 Shaps Mohsenin. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the f...
/* * Copyright (c) 2001-2004 Swedish Institute of Computer Science. * 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 ...
// // CironnupKit.h // CironnupKit // // Created by Tomoya Hirano on 2018/10/20. // Copyright © 2018 Tomoya Hirano. All rights reserved. // #import <UIKit/UIKit.h> //! Project version number for CironnupKit. FOUNDATION_EXPORT double CironnupKitVersionNumber; //! Project version string for CironnupKit. FOUNDATION...
/********************* */ /*! \file File.h ** \verbatim ** Top contributors (to current version): ** Guy Katz ** This file is part of the Reluplex project. ** Copyright (c) 2016-2017 by the authors listed in the file AUTHORS ** (in the top-level source dire...
/* * If not stated otherwise in this file or this component's LICENSE file the * following copyright and licenses apply: * * Copyright 2014 RDK Management * * 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...
/* $Id: init.h $ */ /** @file * IPRT - Ring-3 initialization. */ /* * Copyright (C) 2006-2015 Oracle Corporation * * This file is part of VirtualBox Open Source Edition (OSE), as * available from http://www.virtualbox.org. This file is free software; * you can redistribute it and/or modify it under the terms of...
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. // #import "SBUIStarkScreenAnimationController.h" @class SBAlert, UIView; @interface SBUIStarkAnimationZoomDownApp : SBUIStarkScreenAnimationController { SBAlert *_alertImpersona...
/* @file: GLVertexBufferEct.h/.cpp This file contains helper function to create a vertex buffer object and to load data into the vertex buffer. It can simplify the content creation since the vertex buffer call is mostly repetative. The class extends the functions in VertexBuffer by buffers with GL_DYNAMIC_DRAW usag...
/**************************************************************************** ** $Id$ ** ** Copyright (C) 2001-2006 Trolltech AS. All rights reserved. ** ** This file is part of the Qt Script for Applications framework (QSA). ** ** This file may be distributed and/or modified under the terms of the ** GNU General Publ...
// ------------------------------------------------------------------------------- // From frontPanel.cpp for use in other programs. // In other programs, include the following line: // #include "frontPanel.h" void lightsStatusAddressData( byte status8bits, unsigned int address16bits, byte data8bits); byte fpTogg...
/*- * Copyright (c) 2008-2011 Varnish Software AS * All rights reserved. * * Author: Poul-Henning Kamp <phk@phk.freebsd.dk> * * SPDX-License-Identifier: BSD-2-Clause * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * ar...
/* * Generated by asn1c-0.9.27 (http://lionet.info/asn1c) * From ASN.1 module "DSRC" * found in "../J2735_R41_Source_mod.ASN" * `asn1c -gen-PER -fcompound-names -fincludes-quoted` */ #include "NodeAttributeSet.h" static asn_TYPE_member_t asn_MBR_NodeAttributeSet_1[] = { { ATF_POINTER, 7, offsetof(struct NodeA...
// Copyright 2021 the deepx authors. // Author: Xingfei Li (xingfeili@tencent.com) // #pragma once #include <deepx_core/common/any_map.h> #include <deepx_core/common/stream.h> #include <deepx_core/graph/graph.h> #include <deepx_core/graph/tensor_map.h> #include <deepx_core/tensor/data_type.h> #include <functional> #in...
/* Copyright (C) 2012 by Fabian Deitelhoff (FH@FabianDeitelhoff.de) and Christof Geisler (christof.geisler@stud.fh-swf.de) This file is part of the project SolarSystemSimulation. SolarSystemSimulation is free software: you can redistribute it and/or modify it under the terms of the GNU General...
/*========================================================================= Program: Visualization Toolkit Module: vtkQuad.h Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This software is distrib...
/********************************************************************************** * Copyright (c) 2008-2012 The Khronos Group Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and/or associated documentation files (the * "Materials"), to deal in the Material...
// // MPNativeCache.h // MoPub // // Copyright (c) 2014 MoPub. All rights reserved. // #import <Foundation/Foundation.h> @interface MPNativeCache : NSObject + (instancetype)sharedCache; /* * Do NOT call any of the following methods on the main thread, potentially lengthy wait for disk IO */ - (BOOL)cachedDataE...
/* * STM32 Projects * * Copyright (c) 2018 - Terence M. Darwen - tmdarwen.com * * The MIT License * * 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 wit...
#pragma once #include "Common.h" #include <algorithm> #include "MoveArray.h" #include "Hash.h" #include "Map.hpp" #include "Unit.h" #include "GraphViz.hpp" #include "Array.hpp" typedef boost::shared_ptr<SparCraft::Map> MapPtr; namespace SparCraft { class GameState { Map * ...
/* * THIS FILE WAS AUTOGENERATED BY make_exports.awk * * This is an ugly hack that needs to be here, so * that libtool will link all of the APR functions * into server regardless of whether the base server * uses them. */ #include "apache_noprobes.h" #include "ap_compat.h" #include "ap_config_auto.h" #include "...
// // AppDelegate.h // iOS_Example // // Created by Sven Herzberg on 28.06.15. // // #import <UIKit/UIKit.h> @interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
/** * ESP8266.c * * Driver for the ESP8266. * * Notes: * - This file depends on ESP8266_RxBuf.h (ring buffer driver used for * buffering incoming data) and AS1.h (serial device driver). The dependency * hierarchy is illustrated below. * * ESP8266.h * + ESP8266_RxBuf.h (ring buffer driver used ...
/* Generated by RuntimeBrowser Image: /System/Library/PrivateFrameworks/DocumentCamera.framework/DocumentCamera */ @interface ICDocCamViewControllerMeshTransform : NSObject <CAAnimationDelegate> { UIImageView * _animationImageView; id /* block */ _imageMeshAnimationCompletionBlock; ICDocCamImageQuad *...
#ifndef _LINUX_KPROBES_H #define _LINUX_KPROBES_H /* * Kernel Probes (KProbes) * include/linux/kprobes.h * * 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...
/** * \brief Component description for ISI * * Copyright (c) 2019 Microchip Technology Inc. and its subsidiaries. * * Subject to your compliance with these terms, you may use Microchip software and any derivatives * exclusively with Microchip products. It is your responsibility to comply with third party license ...
#include <std.h> #include "/d/dagger/marsh/tower/short.h" inherit TROOM; void create() { ::create(); set_property("light",0); set_property("indoors",1); set_property("no teleport",1); set_long("%^RED%^" "The small and narrow hallway is made of the same %^BOLD%^" "blood-red%^RESET%^%^RED%^ stone a...
/* * Copyright(c) 2019 Intel Corporation * SPDX - License - Identifier: BSD - 2 - Clause - Patent */ #ifndef EbComputeSAD_C_h #define EbComputeSAD_C_h #include "EbDefinitions.h" #ifdef __cplusplus extern "C" { #endif uint32_t fast_loop_nx_m_sad_kernel( uint8_t *src, // input parameter, s...
/* * Copyright (c) 2009, University of Colombo School of Computing * 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 * ...
#include "urp.h" int urp_memcmp(URPTR a, URPTR b, size_t n) { size_t i; for (i = 0; i < n; ++i) { uint8_t a_byte = urp_read_byte(a + i); uint8_t b_byte = urp_read_byte(b + i); if (a_byte != b_byte) return (int)a_byte - (int)b_byte; } return 0; }
#ifndef HEADER_CURL_TELNET_H #define HEADER_CURL_TELNET_H /*************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | * / __| | | | |_) | | * | (...
/* * This file is part of the coreboot project. * * Copyright (C) 2011 Advanced Micro Devices, Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; version 2 of the License. * * This ...
#ifndef ACCELEROMETER_H_INCLUDED #define ACCELEROMETER_H_INCLUDED /*--------------------------------------------------------- Accelerometer.h ---------------------------------------------------------*/ #include "xmain.h" void InitAccelerometer(void); void SetupAccelerometer(void); void DoAccelerometer(void); BOOL ...
/********************************************************************************* * * Inviwo - Interactive Visualization Workshop * * Copyright (c) 2016-2021 Inviwo Foundation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided th...
/** ****************************************************************************** * @file FMC/FMC_SDRAM_Basic/stm32f4xx_it.c * @author MCD Application Team * @version V1.8.0 * @date 04-November-2016 * @brief Main Interrupt Service Routines. * This file provides template for all excepti...
/* NetHack 3.6 do.c $NHDT-Date: 1576181796 2019/12/12 20:16:36 $ $NHDT-Branch: NetHack-3.6 $:$NHDT-Revision: 1.197 $ */ /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */ /*-Copyright (c) Derek S. Ray, 2015. */ /* NetHack may be freely redistributed. See license for details. */ /* Contains code for...
#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_plinkerVersionNumber; FOUNDATION_EXPORT const unsigned char Pods_plinkerVersionString[];
// Copyright 2016-2019 myStrom AG // // 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 wr...
// Copyright (c) 2014-2018 Bauhaus-Universitaet Weimar // This Software is distributed under the Modified BSD License, see license.txt. // // Virtual Reality and Visualization Research Group // Faculty of Media, Bauhaus-Universitaet Weimar // http://www.uni-weimar.de/medien/vr #ifndef LAMURE_VTCONFIG_H #define LAMURE...
/* * Copyright (c) 2020 Huawei Device Co., Ltd. * 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 ...
/** * \brief Instance header file for ATSAME54P20A * * Copyright (c) 2021 Microchip Technology Inc. and its subsidiaries. * * Subject to your compliance with these terms, you may use Microchip software and any derivatives * exclusively with Microchip products. It is your responsibility to comply with third party ...
/* * Copyright (c) 1983, 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: * 1. Redistributions of source code must retain the above co...
/* * alt_sys_init.c - HAL initialization source * * Machine generated for CPU 'nios2_gen2_0' in SOPC Builder design 'blinkled' * SOPC Builder design path: ../../blinkled.sopcinfo * * Generated: Tue Sep 04 08:30:54 BRT 2018 */ /* * DO NOT MODIFY THIS FILE * * Changing this file will have subtle consequences ...
/* ** print.c - Kernel.#p ** ** See Copyright Notice in mruby.h */ #include "mruby.h" #include "mruby/string.h" #include "mruby/variable.h" #ifndef MRB_DISABLE_STDIO static void printstr(mrb_value obj, FILE *stream) { if (mrb_string_p(obj)) { fwrite(RSTRING_PTR(obj), RSTRING_LEN(obj), 1, stream); putc('\n',...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin developers // Copyright (c) 2011-2013 The PPCoin developers // Copyright (c) 2013-2014 The NovaCoin Developers // Copyright (c) 2014-2018 The BlackCoin Developers // Copyright (c) 2015-2020 The PIVX developers // Copyright (c) 2020-2021 ...
/*++ Copyright (c) Microsoft Corporation. All rights reserved. Module Name: ndisguid.h Abstract: GUID definitions for NDIS objects. Environment: User/Kernel mode Revision History: --*/ #pragma once #include <winapifamily.h> #pragma region Desktop Family #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITIO...
/* New getargs implementation */ #include "Python.h" #include <ctype.h> #ifdef __cplusplus extern "C" { #endif int PyArg_Parse(PyObject *, const char *, ...); int PyArg_ParseTuple(PyObject *, const char *, ...); int PyArg_VaParse(PyObject *, const char *, va_list); int PyArg_ParseTupleAndKeywords(PyObject *, PyObj...
/* Copyright (c) 2017 Griefer@Work * * * * This software is provided 'as-is', without any express or implied * * warranty. In no event will the authors be held liable for any damages * ...
/* * Copyright (c) 2010-2011 Florian Forster <ff at octo.it> * * 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 SOFTWARE IS PROVIDED "AS...
/*++ Copyright (c) 2004, Intel Corporation All rights reserved. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. ...
#include <stdlib.h> // malloc, free #include <string.h> // memcmp #include <glad/glad.h> #include <GLFW/glfw3.h> #include "shoveler/collider.h" #include "shoveler/colliders.h" #include "shoveler/controller.h" #include "shoveler/log.h" #include "shoveler/input.h" #include "shoveler/types.h" static void keyHandler(Sho...
#ifndef _SECP256K1_RECOVERY_ # define _SECP256K1_RECOVERY_ # include "secp256k1.h" # ifdef __cplusplus extern "C" { # endif /** Opaque data structured that holds a parsed ECDSA signature, * supporting pubkey recovery. * * The exact representation of data inside is implementation defined and not * guaranteed t...
#include <stdio.h> #include <stdlib.h> #include <stdbool.h> /*****************************************************************/ /**************************** Structs ****************************/ /*****************************************************************/ //node typedef struct _sl_node{ unsigned int key; un...
// // EEOContactRequestInfo.h // EEOEntity // // Created by HeQian on 2016/12/26. // Copyright © 2016年 jiangmin. All rights reserved. // #import "EEOMessageCenterInfo.h" #import "EEOUserInfo.h" typedef NS_ENUM(NSUInteger,ReplyFlag) { ReplyFlag_NonReply,//未回复 ReplyFlag_Agree,//自己同意 ReplyFlag_Rejected,...
/////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////// #ifndef _GV_PS3_AUDIO_H_ #define _GV_PS3_AUDIO_H_ /////////////////////////////////////////////////////////////////////////////// /////////////////////////////...
#include <stdio.h> #include <stdlib.h> #include <string.h> int main() { FILE *fptr; int depth_increase_count = 0; fptr = fopen("../input.txt", "rb"); char line [1000]; int vals[4]; int count = 0; while(fgets(line, sizeof line, fptr) != NULL) { count += 1; vals[0] = vals[1];...
// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py // REQUIRES: riscv-registered-target // RUN: %clang_cc1 -triple riscv64 -target-feature +f -target-feature +d \ // RUN: -target-feature +experimental-v -target-feature +zfh \ // RUN: -disable-O0-optnone -emit-llvm %s -o - | opt -S -mem2re...
/** \file * \brief Declaration of the wrapper class of the Boyer-Myrvold planarity test * * \author Jens Schmidt, Markus Chimani * * * \par License: * This file is part of the Open Graph Drawing Framework (OGDF). * * \par * Copyright (C)<br> * See README.md in the OGDF root directory for details. * * \par ...
#pragma once #include <stdint.h> #include <cstring> namespace BDO { uint32_t decompress(uint8_t *in, uint8_t *out); // uint32_t calculatePackCRC(uint8_t *data, uint32_t length); }
//------------------------------------------------------------------------------ // // Copyright (c) Microsoft Corporation. // All rights reserved. // // This code is licensed under the MIT License. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated doc...
#ifndef LOGICCONTROLLER_H #define LOGICCONTROLLER_H #include "Controller.h" #include "PickUpController.h" #include "DropOffController.h" #include "SearchController.h" #include "ObstacleController.h" #include "DriveController.h" #include "RangeController.h" #include "ManualWaypointController.h" #include <vector> #incl...
// // DummyViewController.h // DPBorderIconTextField // // Created by Kostas on 22/12/16. // Copyright © 2016 Kostas Antonopoulos. All rights reserved. // #import <UIKit/UIKit.h> #import "DPBorderIconTextField.h" @interface DummyViewController : UIViewController<UITextFieldDelegate>{ } @property (weak, nona...
/********************************************************************** * pftsymbol.c * Write symbol information to a temporary container * * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary forms, with or with...
// // ViewController.h // Example // // Created by joshua li on 15/9/15. // // #import <UIKit/UIKit.h> @interface ViewController : UIViewController @end
// // AuthViewController.m // // Copyright (c) 2016 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 requir...
/* FreeRTOS V6.0.4 - Copyright (C) 2010 Real Time Engineers Ltd. *************************************************************************** * * * If you are: * * ...
/*************************************************************************************************** * Copyright (c) 2017-2020, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions are me...
#line 1 "src/scanner_mb.rl" /* scanner.rl -*-C-*- */ #include <ctype.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <wchar.h> #include <wctype.h> #include "global.h" #include "internal.h" #define RET goto ret; #define STRIP(c) do { \ strip_char = c; \ goto ret; ...