text
stringlengths
9
948k
// 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 MEDIA_BASE_DECODER_BUFFER_QUEUE_H_ #define MEDIA_BASE_DECODER_BUFFER_QUEUE_H_ #include <deque> #include "base/memory/ref_counted.h" #include...
// // 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" @interface IBMarketingVersion : NSObject { } + (BOOL)isVersion:(id)arg1 greaterThanOrEqualToVersion:(id)arg2; + (BOOL)isVersion:(id)arg1 greaterThanVersion:(i...
/* * Secret Labs' Regular Expression Engine * * regular expression matching engine * * partial history: * 1999-10-24 fl created (based on existing template matcher code) * 2000-03-06 fl first alpha, sort of * 2000-08-01 fl fixes for 1.6b1 * 2000-08-07 fl use PyOS_CheckStack() if available * 2000-09-20 fl ...
// Copyright (c) 2011 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_UI_VIEWS_TABS_BASE_TAB_STRIP_H_ #define CHROME_BROWSER_UI_VIEWS_TABS_BASE_TAB_STRIP_H_ #pragma once #include <vector> #includ...
/* GDB variable objects API. Copyright (C) 1999-2016 Free Software Foundation, 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; either version 3 of the License, or (at your option)...
/* * sha1_alt.c * * Copyright (C) 2018, Arm Limited, 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://www....
/* Generated by Cython 0.24 */ #define 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_VERSION_HEX && PY_VERSION_HEX < 0x03020000) #error Cython re...
{ .cfg_mode = IPC_PRINT_ADDITIVE_GRAY8_DETAIL, .cfg_name = "Mono Print Detail additive 1bit", .mono_nColor = true, // 8bit gray input .imagew = 0, // Image Width .imageh = 0, // Image Height .bpp = 1, ...
/** * Copyright (c) 2017-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. */ #ifndef PCA...
#include <math.h> #include <stdio.h> #define NRANSI #include "../include/Variables.h" // ------------- THE FUNCTIONAL FORMS --------------- // // For all CHIS except CHI200 double coeff(double *par,double x){ return par[21] + (par[1] + par[2]*(154.0/x) + par[3]*(154.0/x)*(154.0/x) + par[4]*(154.0/x)*(154.0/x)*(1...
/* * MIT License * * Copyright(c) 2011-2020 The Maintainers of Nanvix * * 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 * ...
/* * stdio/sprintf.c * * This file is part of JunOS C Library. * * Copyright (C) 2016, Liu Xiaofeng <lxf.junos@aliyun.com> * Licensed under MIT, http://opensource.org/licenses/MIT. */ #include <stdio.h> #include <string.h> #include <stdarg.h> int sprintf(char * buf, const char *fmt,...) { va_list ap; i...
// Copyright (C) 2018-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include "normalize_kernel_base.h" namespace kernel_selector { class NormalizeKernelWithinSpatialRef : public NormalizeKernelBase { public: NormalizeKernelWithinSpatialRef() : NormalizeKernelBase("normalize_gpu_w...
/******************************************************************************* * Copyright (C) 2020 Intel Corporation * * SPDX-License-Identifier: MIT ******************************************************************************/ #pragma once #include "inference_backend/image_inference.h" #include <inference_...
/* * Amazon FreeRTOS Platform V1.1.0 * 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...
/* * Copyright (c) 2005 Novell, Inc. * All Rights Reserved. * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the GNU General Public License as * published by the Free Software Foundation. * * This program is distributed in the hope that it will be use...
// Copyright (c) 2017 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 GPU_COMMAND_BUFFER_CLIENT_RASTER_IMPLEMENTATION_GLES_H_ #define GPU_COMMAND_BUFFER_CLIENT_RASTER_IMPLEMENTATION_GLES_H_ #include "base/memory...
// // CommentSectionController.h // IGListKitDemo // // Created by gxy on 2018/6/5. // Copyright © 2018年 gxy. All rights reserved. // #import <IGListKit/IGListKit.h> @interface CommentSectionController : IGListSectionController @end
/* * Copyright (c) 2018 Samsung Electronics Co., Ltd. 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 * * Unle...
/* **** Notes Display events. //*/ # define CALEND # define CAR # include "../../../incl/config.h" signed(__cdecl cals_display_events(cals_roll_t(*argp))) { /* **** DATA, BSS and STACK */ auto cals_event_t *ev; auto time_t t; auto signed i,r; auto signed short flag; /* **** CODE/TEXT */ if(!argp) return(0x00); e...
#define OPTIONAL_RF_CLK #include "profile.h" #include "ingsoc.h" #include "platform_api.h" #include "FreeRTOS.h" #include "task.h" #include <stdio.h> #include "io_interf.h" #include "blink.h" #include "rf_util.h" uint32_t cb_hard_fault(hard_fault_info_t *info, void *_) { platform_printf("HARDFAULT:\nPC : 0x%08X\nL...
#include "bmpimage.h" //Include your own code from HW10 and modify this file #ifdef TEST_HEADERVALID int Is_BMPHeader_Valid(BMPHeader* header, FILE *fptr) { // Make sure this is a BMP file //Check for header->type if (header->type != 0x4D42) { fprintf(stderr, "Incorrect magic number\n"); return 0; } ...
/* PipeWire * * Copyright © 2020 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...
//------------------------------------------------------------------------------ // GB_Asaxpy3B: hard-coded saxpy3 method for a semiring //------------------------------------------------------------------------------ // SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2021, All Rights Reserved. // SPDX-License-Iden...
#ifndef V3D_PYTHON_CONVERT_QBOOL_H_ #define V3D_PYTHON_CONVERT_QBOOL_H_ /* * convert_qbool.h * * Created on: Dec 23, 2010 * Author: cmbruns * * Interconvert between QString and python string. * Warning: use of this technique might be incompatible with * PyQt or PySide */ // Call this from within BOO...
/* * This header is generated by classdump-dyld 1.5 * on Friday, April 30, 2021 at 11:36:05 AM Mountain Standard Time * Operating System: Version 13.5.1 (Build 17F80) * Image Source: /System/Library/Frameworks/Photos.framework/P...
/* Copyright 2016 OpenMarket 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 or agreed to ...
#pragma once #include "inttypes.h" int hpm_query(); void hpm_setup();
// // 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 <UIKit/UIView.h> @class MFSwipeTableCell, NSArray, UIColor; @interface MFSwipeButtonsView : UIView { NSArray *_buttons; ...
//======================================================================== // GLFW 3.4 Win32 - www.glfw.org //------------------------------------------------------------------------ // Copyright (c) 2002-2006 Marcus Geelnard // Copyright (c) 2006-2019 Camilla Löwy <elmindreda@glfw.org> // // This software is provided ...
/** ****************************************************************************** * @file stm32f7xx_hal_dcmi_ex.c * @author MCD Application Team * @version V1.2.0 * @date 30-December-2016 * @brief Empty file; This file is no longer used to handle the Black&White * feature. Its content i...
/* ---------------------------------------------------------------------------- * Copyright (c) Huawei Technologies Co., Ltd. 2021-2021. All rights reserved. * Description: Flash Adaptor Implementation * Author: Huawei LiteOS Team * Create: 2021-04-21 * Redistribution and use in source and binary forms, with or wi...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE121_Stack_Based_Buffer_Overflow__CWE805_wchar_t_alloca_ncpy_53c.c Label Definition File: CWE121_Stack_Based_Buffer_Overflow__CWE805.string.label.xml Template File: sources-sink-53c.tmpl.c */ /* * @description * CWE: 121 Stack Based Buffer Overflow * BadSource: Set da...
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. // @class CountryInfo, CountryListSelector; @protocol CountryListSelectorDelegate - (void)countryList:(CountryListSelector *)arg1 didSelectCountry:(CountryInfo *)arg2; @end
#include "mono-math.h" #ifndef HAVE_SIGNBIT int mono_signbit_float (float x) { union { float f; int i; } u; u.f = x; return u.i < 0; } int mono_signbit_double (double x) { union { double d; int i[2]; } u; u.d = x; #if G_BYTE_ORDER == G_LITTLE_ENDIAN return u.i [1] < 0; #else return u.i [0] < 0; #endif } ...
/** ****************************************************************************** * @file gardening_control_win.c * @author MCD Application Team * @brief gardening control functions ****************************************************************************** * @attention * * <h2><center>&copy; ...
/* strncasecmp.c -- case insensitive string comparator Copyright (C) 1998-1999, 2005-2007, 2009-2018 Free Software Foundation, 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; either ...
/* This file, getcolsb.c, contains routines that read data elements from */ /* a FITS image or table, with signed char (signed byte) data type. */ /* The FITSIO software was written by William Pence at the High Energy */ /* Astrophysic Science Archive Research Center (HEASARC) at the NASA */ /* G...
/* * Copyright (c) 2008-2011 Atheros Communications Inc. * * 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 IS" A...
// temporary file #ifndef _TYPES_H #define _TYPES_H #define WIN32_LEAN_AND_MEAN #include "resource.h" #include <windows.h> #include <mmsystem.h> #include <stdio.h> #include <stdlib.h> #include <ddraw.h> #include <dsound.h> #include <io.h> #include <math.h> #include <time.h> #include <process.h> #include <shlobj.h> ...
/* * LedDfen.h * * Created on: Jan 26, 2018 * Author: casti */ #ifndef SRC_SUBSYS_XMLPARSING_LEDDEFN_H_ #define SRC_SUBSYS_XMLPARSING_LEDDEFN_H_ // C++ Includes #include <iostream> // FRC includes // Team 302 includes #include <subsys/components/TrueColors.h> // Third Party Includes #include <thirdPart...
/* Copyright 2015 Google Inc. All Rights Reserved. Distributed under MIT license. See file LICENSE for detail or copy at https://opensource.org/licenses/MIT */ /* Function for fast encoding of an input fragment, independently from the input history. This function uses one-pass processing: when we find a back...
#ifndef INCLUDES_MYSQL_SQL_LIST_H #define INCLUDES_MYSQL_SQL_LIST_H /* Copyright (c) 2000, 2015, Oracle and/or its affiliates. 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 as published by the Free Software Founda...
/* * * Confidential Information of Telekinesys Research Limited (t/a Havok). Not for disclosure or distribution without Havok's * prior written consent. This software contains code, techniques and know-how which is confidential and proprietary to Havok. * Product and Trade Secret source code contains trade secrets ...
/* * Author: Tomi Jylhä-Ollila, Finland 2013-2014 * * This file is part of Kunquat. * * CC0 1.0 Universal, http://creativecommons.org/publicdomain/zero/1.0/ * * To the extent possible under law, Kunquat Affirmers have waived all * copyright and related or neighboring rights to Kunquat. */ #include <handle_ut...
#ifndef __j1PARTICLESCLASSIC_H__ #define __j1PARTICLESCLASSIC_H__ #include "j1Module.h" #include "p2Animation.h" #include "p2Log.h" #include "p2Point.h" #include <list> //#include "j1Collision.h" #define MAX_ACTIVE_PARTICLES 500 struct SDL_Texture; //struct Collider; enum COLLIDER_TYPE; struct Particle // only dumb...
#include <stdio.h> int main(void){ int number = 0; int result = 0; printf("Enter a number: "); scanf("%d", &number); if(number >= 0 && number <= 9) result = 1; else if(number >= 10 && number <= 99) result = 2; else if(number >= 100 && number <= 999) result = 3; el...
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <unordered_map> #include <vector> struct SimpleGraph { void add_edge(uint32_t pred, uint32_t succ) { ...
#include <math.h> #include <stdio.h> #include <stdlib.h> #include <time.h> int game(char you, char computer) { if (you == computer) return -1; if (you == 's' && computer == 'p') return 0; else if (you == 'p' && computer == 's') return 1; if (you == 's' && computer == 'z') ...
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ADDRCONF_H #define _ADDRCONF_H #define MAX_RTR_SOLICITATIONS -1 /* unlimited */ #define RTR_SOLICITATION_INTERVAL (4*HZ) #define RTR_SOLICITATION_MAX_INTERVAL (3600*HZ) /* 1 hour */ #define MIN_VALID_LIFETIME (2*3600) /* 2 hours */ #define TEMP_VALID_LIFETIME (7*86...
#include<stdio.h> int main(){ int n[]={1,2,3,4}; int m[]={} for(i=3;i>=0;i--){ ; } }
//: ---------------------------------------------------------------------------- //: \file: url_router.h //: \details: TODO //: \author: Reed P. Morrison //: \date: 08/08/2015 //: ---------------------------------------------------------------------------- #ifndef _URL_ROUTER_H #define _URL_ROUTER_H //: -------...
// -*- C++ -*- //========================================================================== /** * @file Mem_Map.h * * @author Douglas C. Schmidt <schmidt@cs.wustl.edu> */ //========================================================================== #ifndef ACE_MEM_MAP_H #define ACE_MEM_MAP_H #include /**/ "a...
/* * * BlueZ - Bluetooth protocol stack for Linux * * Copyright (C) 2013-2014 Intel Corporation * * * 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 o...
#pragma once #include "Repository_Includes.h" template<typename TargetType, typename InputType> TargetType Round(InputType value, requires(TargetType,check(strip_modifiers(TargetType), is_integral) && check(InputType,is_arithmetic) && (check(InputType,!is_integral)))) { InputType remain = value - (InputType)((TargetT...
#include <fcntl.h> #include <netinet/in.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/socket.h> #include <sys/types.h> #include <sys/uio.h> #include <unistd.h> #include "basic_io.h" #define BACKLOG 4 /*************************************************** ** General IO Routines for the s...
/* init.c - initialize mdb backend */ /* $OpenLDAP$ */ /* This work is part of OpenLDAP Software <http://www.openldap.org/>. * * Copyright 2000-2016 The OpenLDAP Foundation. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted only as authoriz...
/* * This header is generated by classdump-dyld 1.0 * on Tuesday, November 5, 2019 at 2:46:28 AM Mountain Standard Time * Operating System: Version 13.0 (Build 17J586) * Image Source: /System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias...
/** ****************************************************************************** * @file stm32l4xx_ll_crs.h * @author MCD Application Team * @version V1.7.2 * @date 16-June-2017 * @brief CRS LL module driver. ****************************************************************************** * @at...
#ifndef NOBUILD_H_ #define NOBUILD_H_ #ifndef _WIN32 # define _POSIX_C_SOURCE 200809L # include <sys/types.h> # include <sys/wait.h> # include <sys/stat.h> # include <unistd.h> # include <dirent.h> # include <fcntl.h> # define PATH_SEP "/" typedef pid_t Pid; typedef int Fd; #else # define WI...
// MESSAGE HIL_CONTROLS PACKING #define MAVLINK_MSG_ID_HIL_CONTROLS 91 typedef struct __mavlink_hil_controls_t { uint64_t time_usec; ///< Timestamp (microseconds since UNIX epoch or microseconds since system boot) float roll_ailerons; ///< Control output -1 .. 1 float pitch_elevator; ///< Control output -1 .. 1 f...
/*ckwg +29 * Copyright 2017-2018 by Kitware, 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 li...
// // NSCoder+TFEasyCoder.h // TFEasyCoder // // Created by ztf on 16/10/26. // Copyright © 2016年 ztf. All rights reserved. // #import <UIKit/UIKit.h> #import <Foundation/Foundation.h> @interface NSCoder (TFEasyCoder) //superclass pros NSObject -(NSCoder *(^)(NSArray * accessibilityElements))set_acc...
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. #include "testrunnerswitcher.h" int main(void) { size_t failedTestCount = 0; RUN_TEST_SUITE(event_publisher_task_ut, failedTestCount); return failedTestCou...
#pragma once #include <array> #include <chrono> #include <string> #include "json/json.h" #include <Windows.h> #define OpenSDK_Success(x) ((x) == 0) #define Assert_S(x) do { LOG_TO_FILE_ASSERT_IF(!OpenSDK_Success(x), LOG::error, "code: %d, desc: %s", OpenSDK_GetLastErrorCode(), OpenSDK_GetLastErrorDesc()) } while (0) ...
// The MIT License (MIT) // // Copyright (c) 2019 Hellobike Group // // 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,...
#include <sys/types.h> #include <sys/time.h> #include <sys/resource.h> #include <signal.h> #include <stdio.h> int keep_going, count, alternate, seconds; struct rusage prior, now; void finish() { keep_going = 0; } main(int argc, char *argv[]) { struct itimerval itv; u_long msecs, key1[8], key2[8]; char *k1, *...
// 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_CHROMEOS_DRIVE_DRIVE_WEBAPPS_REGISTRY_H_ #define CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_WEBAPPS_REGISTRY_H_ #include <map> #inclu...
/* * Copyright 2012 ZXing 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 required by applicable law or agreed ...
/*++ Copyright (c) 2006, 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. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php...
/* * Copyright 2017 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef GrMtlTexture_DEFINED #define GrMtlTexture_DEFINED #include "GrTexture.h" #import <Metal/Metal.h> class GrMtlGpu; class GrMtlTexture : public GrTexture { public: ...
/*- * Copyright (c) 2006 Verdens Gang AS * Copyright (c) 2006-2015 Varnish Software AS * All rights reserved. * * Author: Poul-Henning Kamp <phk@phk.freebsd.dk> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met:...
/* * Copyright (c) 2020, The OpenThread Authors. * 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 ...
#include "minunit.h" #include "real_md.h" #include <stdio.h> #include <string.h> int tests_run = 0; static char *array_test(){ mu_assert("real_symbols[0] != NOP", !strcmp(real_symbols[0], "NOP")); mu_assert("real_symbols[22] != HALT", !strcmp(real_symbols[22], "HALT")); mu_assert("0.num_ops != 0", real...
#include <errno.h> #include "locks.h" #include "smp.h" #include "signals.h" #include "Rts.h" #include "sm/GC.h" #include "RtsSignals.h" #include "Task.h" #include <runtime_reqs.h> #include <assert.h> #define LOCK_FREE 0 #define LOCK_TAKEN 1 #define LOCK_CLOSED 0xbadbadFF int halvm_acq...
/* * Copyright 2015, 2016 Hans Leidekker for CodeWeavers * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version...
/**************************************************************************** * arch/arm/src/kinetis/kinetis_irq.c * * Copyright (C) 2011, 2013-2015 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary forms, with or without * modificatio...
// // NSString+Extra.h // CashierChoke // // Created by zjs on 2019/9/16. // Copyright © 2019 zjs. All rights reserved. // #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN static NSString *const XCColorKey = @"color"; static NSString *const XCFontKey = @"font"; static NSString ...
#ifndef __NV50_KMS_CORE_H__ #define __NV50_KMS_CORE_H__ #include "disp.h" #include "atom.h" #include "crc.h" #include <nouveau_encoder.h> struct nv50_core { const struct nv50_core_func *func; struct nv50_dmac chan; bool assign_windows; }; int nv50_core_new(struct nouveau_drm *, struct nv50_core **); void nv50_core...
/* sym_ids.c Copyright 2000, 2001, 2002 Free Software Foundation, Inc. This file is part of GNU Binutils. 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 Lice...
#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_LimitInputTextVersionNumber; FOUNDATION_EXPORT const unsigned char Pods_LimitInputTextVersionS...
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2014-2016 ArangoDB GmbH, Cologne, Germany /// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except...
// Created by tales.luna 22/09/2017 #ifndef MEGAMIND_SENSORS_H #define MEGAMIND_SENSORS_H // Define board pins uint8_t pinLights = D5, // LED pinTemperature = A0, // LM35 pinLuminosity = D0; // LDR // Sensors values double temperature; // Define I/O of sensors pins void setu...
/* * Licensed to Systerel under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. * Systerel licenses this file to you under the Apache * License, Version 2.0 (the "License"); you may not use this * file except ...
/* * rtGetInf.c * * Code generation for function 'geteigen' * * C source code generated on: Sat Feb 11 19:17:45 2017 * */ /* * Abstract: * MATLAB for code generation function to initialize non-finite, Inf and MinusInf */ #include "rtGetInf.h" #define NumBitsPerChar 8U /* Function: rtGetInf ===========...
#include "postgres.h" #include "fmgr.h" #include "miscadmin.h" #include "postmaster/postmaster.h" #include "postmaster/bgworker.h" #include "storage/s_lock.h" #include "storage/spin.h" #include "storage/proc.h" #include "storage/pg_sema.h" #include "storage/shmem.h" #include "datatype/timestamp.h" #include "utils/porta...
#pragma once #include "quantization/Observer.h" #include "utils.h" namespace torch_ipex { using namespace torch_ipex::cpu::lp::int8; class AutoOptConfig { public: static AutoOptConfig& singleton() { static AutoOptConfig auto_opt_conf; return auto_opt_conf; } public: inline void set_auto_dnnl(bool aut...
// Copyright 2010 Cyrus Najmabadi // // 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 distribut...
/* Copyright (c) 2013-2019, The Linux Foundation. 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 condition...
// SPDX-License-Identifier: GPL-2.0+ /* Copyright (C) 2018 Broadcom */ /** * DOC: Broadcom V3D scheduling * * The shared DRM GPU scheduler is used to coordinate submitting jobs * to the hardware. Each DRM fd (roughly a client process) gets its * own scheduler entity, which will process jobs in order. The GPU *...
// kickout.c #include <ansi.h> #include <command.h> inherit F_CLEAN_UP; void kickout_player(object me, object ob); int main(object me, string arg) { object ob; if (!SECURITY_D->valid_grant(me, "(arch)")) return 0; if (!arg) return notify_fail("你要踢谁?\n"); ob = LOGIN_D->find_body(ar...
/*============================================================================== | SOURCE: findr.c | | DATE: | | AUTHOR: Alex Zielinski | | DESC: |=============================================================================*/ #include <stdio.h> #include <string.h> #include <stdlib.h> #include <sys/sysi...
/* Copyright (c) 2016, Google Inc. * * 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 IS" AND THE AUTHOR DISCLAIMS...
/** \file KX_VehicleWrapper.h * \ingroup ketsji */ #ifndef KX_VEHICLE_WRAPPER #define KX_VEHICLE_WRAPPER #include "Value.h" #include "PHY_DynamicTypes.h" class PHY_IVehicle; class PHY_IMotionState; #include <vector> ///Python interface to physics vehicles (primarily 4-wheel cars and 2wheel bikes) class KX_Vehicl...
// Copyright (c) 2014-2019, The Monero Project // // 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 o...
// // TEDocument.h // TerrainEditor // #import <Cocoa/Cocoa.h> #import "UtilityVector.h" @interface TEDocument : NSPersistentDocument - (IBAction)loadModels:(id)sender; @end ////////////////////////////////////////////////////////////////// // extern const UtilityVector3 TEDefaultTerrainLightDirection;
/* * This declarations of the PIC16F877 MCU. * * This file is part of the GNU PIC library for SDCC, originally * created by Molnar Karoly <molnarkaroly@users.sf.net> 2016. * * This file is generated automatically by the cinc2h.pl, 2016-04-13 17:23:00 UTC. * * SDCC is licensed under the GNU Public license (GPL) ...
/**************************************************************************** **************************************************************************** *** *** This header was automatically generated from a Linux kernel header *** of the same name, to make information necessary for userspace to *** call i...
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/actions/sdk/v2/interactionmodel/prompt/content/static_list_prompt.proto #ifndef PROTOBUF_INCLUDED_google_2factions_2fsdk_2fv2_2finteractionmodel_2fprompt_2fcontent_2fstatic_5flist_5fprompt_2eproto #define PROTOBUF_INCLUDED_google_2factions_2...
/*! \file usbd_pwr.c \brief USB device power management driver \version 2017-02-10, V1.0.0, firmware for GD32F30x \version 2018-10-10, V1.1.0, firmware for GD32F30x \version 2018-12-25, V2.0.0, firmware for GD32F30x */ /* Copyright (c) 2018, GigaDevice Semiconductor Inc. All rights reser...