text
stringlengths
9
948k
// // base_netinfo_query.h // sdt // // Created by elviswu on 2017/7/6. // Copyright © 2017年 Tencent. All rights reserved. // #ifndef base_netinfo_query_h #define base_netinfo_query_h #include <string> #include "mars/comm/socket/local_ipstack.h" class BaseNetInfo { public: BaseNetInfo(); ~BaseNetInfo(...
/* Copyright (c) 2018 Anakin Authors, Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by ...
#ifndef INCLUDED_REQLOG_INT_H #define INCLUDED_REQLOG_INT_H #include "list.h" #include "comdb2.h" #include "cdb2_constants.h" #include "cson_amalgamation_core.h" #include "sql.h" /* This used to be private to reqlog. Moving to a shared header since eventlog also needs access to reqlog internals. I am not sure ...
#include <pthread.h> #include <stddef.h> #include <string.h> #include <sys/mman.h> #include <zircon/process.h> #include <zircon/syscalls.h> #include <runtime/thread.h> #include <runtime/tls.h> #include "asan_impl.h" #include "futex_impl.h" #include "libc.h" #include "stdio_impl.h" #include "threads_impl.h" #include "...
// // HBHomeViewController.h // happyBycle // // Created by victor on 2017/5/18. // Copyright © 2017年 wsl. All rights reserved. // #import <UIKit/UIKit.h> #import "HBBaseViewController.h" @interface HBHomeViewController : HBBaseViewController @end
#pragma once #include "neuralnet/cpid.h" #include "neuralnet/superblock.h" #include "serialize.h" #include "uint256.h" #include <boost/optional.hpp> class CPubKey; namespace NN { //! //! \brief Contains the reward claim context embedded in each generated block. //! //! Gridcoin blocks require some auxiliary informa...
#pragma once /* Copyright (c) 2016 Rick van Miltenburg, NHTV Breda University of Applied Sciences 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 li...
// // Generated by classdumpios 1.0.1 (64 bit) (iOS port by DreamDevLost)(Debug version compiled Sep 26 2020 13:48:20). // // Copyright (C) 1997-2019 Steve Nygard. // #import "GKService.h" #import "GKProfileService-Protocol.h" @class NSString; @interface GKProfileService : GKService <GKProfileService> { } + (...
/* * Copyright 2020, Data61, CSIRO (ABN 41 687 119 230) * * SPDX-License-Identifier: GPL-2.0-only */ #include <assert.h> #include <arch/machine/registerset.h> const register_t msgRegisters[] = { X2, X3, X4, X5 }; compile_assert( consistent_message_registers, sizeof(msgRegisters) / sizeof(msgRegisters[...
/*! * Copyright (c) 2019 by Contributors * \file kernel/binary_reduce_common.h * \brief Common utilities for binary reduce operation. */ #ifndef DGL_KERNEL_BINARY_REDUCE_COMMON_H_ #define DGL_KERNEL_BINARY_REDUCE_COMMON_H_ #include <dgl/runtime/ndarray.h> #include <limits> #include <string> #include "./common.h...
/* * 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 ...
/** @file DevicePathToText protocol as defined in the UEFI 2.0 specification. (C) Copyright 2015 Hewlett-Packard Development Company, L.P.<BR> Copyright (c) 2013 - 2017, Intel Corporation. All rights reserved.<BR> This program and the accompanying materials are licensed and made available under the terms and condi...
// // SDLConnectionManagerType.h // SmartDeviceLink-iOS // // Created by Joel Fischer on 10/21/15. // Copyright © 2015 smartdevicelink. All rights reserved. // #import "SDLNotificationConstants.h" #import <Foundation/Foundation.h> @class SDLRPCRequest; @class SDLRegisterAppInterfaceResponse; NS_ASSUME_NONNULL_B...
/* decode_sse3d: Synth for SSE and extended 3DNow (yeah, the name is a relic) copyright 2006-2007 by Zuxy Meng/the mpg123 project - free software under the terms of the LGPL 2.1 see COPYING and AUTHORS files in distribution or http://mpg123.org initially written by the mysterious higway for MMX (apparently) then ...
#pragma once #include <cassert> #include "global.h" class table_t; class Catalog; class TxnManager; class Row_lock; class Row_mvcc; class Row_hekaton; class Row_ts; class Row_occ; class Row_tictoc; class Row_silo; class Row_f1; class Row_maat; class LocalityManager; class INDEX; class row_t { public: row_t() {};...
/************************************************************************* ** File: ** $Id: sc_test_utils.c 1.2 2016/02/04 16:03:12EST czogby Exp $ ** ** Purpose: ** This file contains unit test utilities for the SC application. ** ** References: ** Flight Software Branch C Coding Standard Version 1.2 ...
/* * Copyright 1993-2012 NVIDIA Corporation. All rights reserved. * * Please refer to the NVIDIA end user license agreement (EULA) associated * with this source code for terms and conditions that govern your use of * this software. Any use, reproduction, disclosure, or distribution of * this software and related...
/** * \addtogroup CkLdb */ /*@{*/ #ifndef LBDBH_H #define LBDBH_H #include "converse.h" #include "charm.h" #include "middle.h" #include <list> class LBDatabase;//Forward declaration //typedef float floatType; // type defined by build option #ifndef CMK_LBTIME_TYPE #define CMK_LBTIME_TYPE double #endif typedef CMK...
/* * This header is generated by classdump-dyld 1.0 * on Sunday, September 27, 2020 at 12:26:45 PM Mountain Standard Time * Operating System: Version 14.0 (Build 18A373) * Image Source: /System/Library/PrivateFrameworks/TVRemoteUI.framework/TVRemoteUI * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by E...
// Copyright 2019 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 THIRD_PARTY_BLINK_RENDERER_PLATFORM_GRAPHICS_GPU_WEBGPU_SWAP_BUFFER_PROVIDER_H_ #define THIRD_PARTY_BLINK_RENDERER_PLATFORM_GRAPHICS_GPU_WEBGPU_SW...
// Copyright 2015 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 BASE_TRACE_EVENT_PROCESS_MEMORY_DUMP_H_ #define BASE_TRACE_EVENT_PROCESS_MEMORY_DUMP_H_ #include "base/base_export.h" #include "base/trace_event/...
// 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_EXTENSIONS_EXTENSION_BROWSERTEST_H_ #define CHROME_BROWSER_EXTENSIONS_EXTENSION_BROWSERTEST_H_ #include <string> #include "ba...
// RobotBuilder Version: 2.0 // // This file was generated by RobotBuilder. It contains sections of // code that are automatically generated and assigned by robotbuilder. // These sections will be updated in the future when you export to // C++ from RobotBuilder. Do not put any code or make any change in // the blocks ...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE78_OS_Command_Injection__char_connect_socket_execvp_16.c Label Definition File: CWE78_OS_Command_Injection.no_path.label.xml Template File: sources-sink-16.tmpl.c */ /* * @description * CWE: 78 OS Command Injection * BadSource: connect_socket Read data using a connect...
/* * This header is generated by classdump-dyld 1.0 * on Sunday, September 27, 2020 at 11:54:17 AM Mountain Standard Time * Operating System: Version 14.0 (Build 18A373) * Image Source: /System/Library/PrivateFrameworks/CorePDF.framework/CorePDF * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias L...
/* * This header is generated by classdump-dyld 1.0 * on Sunday, September 27, 2020 at 11:43:41 AM Mountain Standard Time * Operating System: Version 14.0 (Build 18A373) * Image Source: /System/Library/Frameworks/PencilKit.framework/PencilKit * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limn...
#include "sf/Platform.h" #define sp_malloc(size) sf_malloc(size) #define sp_free(size) sf_free(size) #include "sp_tools_common.h" #include "ext/zstd.h" #include <assert.h> #include <string.h> #include <stdlib.h> const sp_format_info sp_format_infos[SP_FORMAT_COUNT] = { { SP_FORMAT_UNKNOWN, "SP_FORMAT_UNKNOWN", "(un...
/* 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 ...
/* * Copyright (c) 2004, 2005 Topspin Communications. All rights reserved. * Copyright (c) 2005 Sun Microsystems, Inc. All rights reserved. * Copyright (c) 2005, 2006, 2007 Cisco Systems, Inc. All rights reserved. * Copyright (c) 2005, 2006, 2007, 2008 Mellanox Technologies. All rights reserved. * Copyright (c) 2...
/* * Copyright (c) 2014 Marc André Tanner <mat at brain-dump.org> * * 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 ...
/* $Id: MultiResult.h $ */ /** @file * MS COM / XPCOM Abstraction Layer - MultiResult class declarations. */ /* * Copyright (C) 2008-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 redistr...
#include<stdlib.h> #include<stdio.h> #include<math.h> #include<afxtempl.h> //----------------------------- Constants -------------------------------------- #define ENTER 0x000d #define UP 0x4800 #define DOWN 0x5000 #define LEFT 0x4b00 #define RIGHT 0x4d00 #define BkSpace 0x0008 #define ESC 0x001b //d27 #define...
/** *********************************************************************************************************************** * Copyright (c) 2020, China Mobile Communications Group Co.,Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the...
#ifndef STDCHAIN_CORE_BLOCK_HEADER_H #define STDCHAIN_CORE_BLOCK_HEADER_H #include <vector> #include "boost/archive/text_oarchive.hpp" #include "boost/archive/text_iarchive.hpp" #include "type/blob/blob_256.h" class BlockHeader { public: int32_t version; Blob256 hashPrevBlock; Blob256 hashMerkleRoot; ...
/* * CDDL HEADER START * * The contents of this file are subject to the terms of the * Common Development and Distribution License (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 * or http://www.opensolar...
// MIT License // // Copyright (c) 2022 Kjetil Hvalstrand #include <png.h> #define __USE_INLINE__ #include <proto/graphics.h> uint32 argb_reverse(char *ptr) { uint32 ret; ret = (ptr[3] << 24) | (ptr[0] << 16) | (ptr[1] << 8) | ptr[2]; return ret; } uint32 rgb_to_argb(char *ptr) { uint32 ret; ret = 0xFF00000...
/******************************************************************************* Main Source File Company: Microchip Technology Inc. File Name: main.c Summary: This file contains the "main" function for a project. Description: This file contains the "main" function for a project. The ...
/* * This header is generated by classdump-dyld 1.5 * on Tuesday, November 10, 2020 at 10:14:49 PM Mountain Standard Time * Operating System: Version 14.2 (Build 18K57) * Image Source: /System/Library/Frameworks/VideoSubscriberA...
// Copyright 2016 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #ifndef CORE_FPDFAPI_FONT_CPDF_FONT_H_ #define CORE_FPDFAPI_FONT_CPDF_FONT_H_ ...
/* 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 not...
#ifndef dplyr_hybrid_row_number_h #define dplyr_hybrid_row_number_h #include <dplyr/hybrid/HybridVectorVectorResult.h> #include <dplyr/hybrid/Column.h> #include <dplyr/visitors/SliceVisitor.h> #include <dplyr/visitors/Comparer.h> #include <dplyr/hybrid/Expression.h> namespace dplyr { namespace hybrid { namespace in...
/* * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file. * * Copyright 2007-2020 Broadcom Inc. All rights reserved. */ #ifdef BSL_LOG_MODULE #error "BSL_LOG_MODULE redefined" #endif #define BSL_LOG_MODULE BSL_LS_BCMDNX_INITSEQDNX #inc...
/* * This header is generated by classdump-dyld 1.0 * on Saturday, June 1, 2019 at 6:50:48 PM Mountain Standard Time * Operating System: Version 12.1.1 (Build 16C5050a) * Image Source: /System/Library/PrivateFrameworks/ControlCenterUI.framework/ControlCenterUI * classdump-dyld is licensed under GPLv3, Copyright © 2013-...
/* This file is automatically generated. DO NOT EDIT! Instead, edit gen-unicode-tables.pl and re-run. */ #ifndef CHARTABLES_H #define CHARTABLES_H #define G_UNICODE_DATA_VERSION "5.0.0" #define G_UNICODE_LAST_CHAR 0x10ffff #define G_UNICODE_MAX_TABLE_INDEX 10000 #define G_UNICODE_LAST_CHAR_PART1 0x2FAFF #def...
/* Copyright (c) 2014 Wirebird Labs LLC. 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, including without limitation the rights to u...
/* * This file is a part of the open source stm32plus library. * Copyright (c) 2011,2012,2013 Andy Brown <www.andybrown.me.uk> * Please see website for licensing terms. */ #pragma once namespace stm32plus { namespace spiflash { /** * Fast Read command implementation */ template<class TSpi,...
//------------------------------------------------------------------------------ /* This file is part of MUSO: https://github.com/MUSO/MUSO Copyright (c) 2012, 2013 MUSO Labs Inc. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, p...
/* * Synopsys DesignWare Multimedia Card PCI Interface driver * * Copyright (C) 2012 Vayavya Labs Pvt. Ltd. * * 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 Licen...
// SPDX-License-Identifier: GPL-2.0-or-later /* * Support PCI/PCIe on PowerNV platforms * * Copyright 2011 Benjamin Herrenschmidt, IBM Corp. */ #include <linux/kernel.h> #include <linux/pci.h> #include <linux/delay.h> #include <linux/string.h> #include <linux/init.h> #include <linux/irq.h> #include <linux/io.h> #i...
//////////////////////////////////////////////////////////////////////////////// // The following FIT Protocol software provided may be used with FIT protocol // devices only and remains the copyrighted property of Garmin Canada Inc. // The software is being provided on an "as-is" basis and as an accommodation, // and ...
// Copyright (c) 2012-2015 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef ELETACOIN_DBWRAPPER_H #define ELETACOIN_DBWRAPPER_H #include "clientversion.h" #include "serialize.h" #include "stre...
// // DYSuperAliPayService.h // Pods-ZMSuperPay_Example // // Created by Lazyloading on 2020/6/29. // #import <Foundation/Foundation.h> #import "ZMSuperPayService.h" NS_ASSUME_NONNULL_BEGIN /** 支付宝支付 */ @interface ZMSuperPayAliService : ZMSuperPayService + (instancetype)shared; @end NS_ASSUME_NONNULL_END
/* * definition for store system information stsi * * Copyright IBM Corp. 2001, 2008 * * This program 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 Software Foundation. * * Author(s): Ulrich Weigand ...
/**************************************************************************** * * Copyright 2018 Samsung Electronics All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License\n"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License ...
/* dispn.c associated subroutines for matching sequences */ /* $Name: fa_34_26_5 $ - $Id: c_dispn.c,v 1.21 2005/10/25 20:22:52 wrp Exp $ */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <ctype.h> #include "defs.h" #include "structs.h" #include "param.h" #define XTERNAL #define YES 1 #define N...
/*** * * Copyright (c) 1996-2001, Valve LLC. All rights reserved. * * This product contains software technology licensed from Id * Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc. * All Rights Reserved. * * Use, distribution, and modification of this source code and/or resulting * obje...
/** * Copyright 2020 Huawei Technologies 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...
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
// // Copyright (c) 2017 Regents of the SIGNET lab, University of Padova. // 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 copyrigh...
/* * This header is generated by classdump-dyld 1.5 * on Wednesday, October 27, 2021 at 3:17:22 PM Mountain Standard Time * Operating System: Version 13.5.1 (Build 17F80) * Image Source: /System/Library/PrivateFrameworks/HomeKit...
/* ---------------------------------------------------------------------------- * GTSAM Copyright 2010, Georgia Tech Research Corporation, * Atlanta, Georgia 30332-0415 * All Rights Reserved * Authors: Frank Dellaert, et al. (see THANKS for the full author list) * See LICENSE for the license information * ----...
// 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_IMAGE_DECODER_IMAGE_DECODER_H_ #define CHROME_BROWSER_IMAGE_DECODER_IMAGE_DECODER_H_ #include <map> #include <string> #include...
#ifndef GEOMETRY_H_INCLUDED #define GEOMETRY_H_INCLUDED #include<cmath> template <typename T> class Vec2{ public: union{ struct{T x, y;}; struct{T u, v;}; }; Vec2():x(0), y(0) {}; Vec2(T x, T y):x(x), y(y) {}; inline const Vec2<T> operator+(const Vec2 v)const { return Vec2...
/* Timer.h */ //---------------------------------------------------------------------------------------- // // Project: CCore 3.00 // // Tag: Simple Mini // // License: Boost Software License - Version 1.0 - August 17th, 2003 // // see http://www.boost.org/LICENSE_1_0.txt or the local copy // // Copyrigh...
/* * This header is generated by classdump-dyld 1.0 * on Tuesday, November 5, 2019 at 2:40:51 AM Mountain Standard Time * Operating System: Version 13.0 (Build 17J586) * Image Source: /System/Library/PrivateFrameworks/GameCenterFoundation.framework/GameCenterFoundation * classdump-dyld is licensed under GPLv3, Copyrigh...
#ifndef CUSTOMSTREAMFLAGS_H #define CUSTOMSTREAMFLAGS_H #include <iostream> class CustomStreamFlags { public: static int CreateFlag(); static long& GetIWordValue(std::ios_base& ios, int index); static void SetIWordValue(std::ios_base& ios, int index, long value); }; #endif
#ifndef _trekmdl_h_ #define _trekmdl_h_ void ExportPaneFactories(INameSpace* pns); // // buttons with sounds for mouse hover and mouse clicks // TRef<ButtonPane> CreateTrekButton( ButtonFacePane* ppane, bool bToggle = false, SoundID soundClick = positiveButtonClickSound, float repeatRate = ...
#include <signal.h> #include <string.h> #include <stdio.h> #include <assert.h> #include <unistd.h> // Note: this program can only be used on macOS/darwin. void myhandler(int a) { write(2, "hello cont\n", 11); } void test(void) { struct sigaction act, oact; // Save Go's handler. if (sigaction(SIGWINCH,...
#import <Foundation/Foundation.h> #import <AppKit/AppKit.h> #import "Document.h" @interface GBCheatWindowController : NSObject <NSTableViewDelegate, NSTableViewDataSource, NSTextFieldDelegate> @property (weak) IBOutlet NSTableView *cheatsTable; @property (weak) IBOutlet NSTextField *addressField; @property (weak) IBOu...
/* ========================================================================== */ /* === UMFPACK_report_numeric =============================================== */ /* ========================================================================== */ /* -------------------------------------------------------------------------...
#define SCLERA_WIDTH 128 #define SCLERA_HEIGHT 128 const uint16_t sclera[SCLERA_HEIGHT][SCLERA_WIDTH] = { 0X0000, 0X0000, 0X0000, 0X0000, 0X0000, 0X0000, 0X0000, 0X0000, 0X0000, 0X0000, 0X0000, 0X0000, 0X0000, 0X0000, 0X0000, 0X0000, 0X0000, 0X0000, 0X0000, 0X0000, 0X0000, 0X0000, 0X0000, 0X0000, 0X0000, 0X00...
// This is a personal academic project. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++, C#, and Java: http://www.viva64.com #include <stdint.h> #include <lib.h> #include <moduleLoader.h> static void loadModule(uint8_t ** module, void * targetModuleAddress); static uint32_t readUint32(...
/****************************************************************************** * * Purpose: PCIDSK PCT segment interface class. * ****************************************************************************** * Copyright (c) 2015 * PCI Geomatics, 90 Allstate Parkway, Markham, Ontario, Canada. * * Permission i...
/* Copyright 2017, 2018 Bloomberg Finance 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 Unless required by applicable law or...
/* dither.h -- Various dithering algorithms. */ #ifndef IMAGE_DITHER_H #define IMAGE_DITHER_H #include "image.h" /* All procedures return a newly-allocated image. */ /* Threshold method. */ Image *Image_dither_threshold_y8_y1(Image *); Image *Image_dither_threshold_random_y8_y1(Image *); /* Using 2x2, 4x4 and 8x8 m...
/** @file @brief フォント @date 2007.03.25 @author Takashi SHUDO */ #ifndef INCLUDE_FONT_H #define INCLUDE_FONT_H #include "str.h" #include "graphics.h" #include "fontdata.h" #define FONT_FIXEDWIDTH 0 ///< 全フォントを固定幅で描画 #define FONT_PROPORTIONAL 1 ///< 各フォントの幅で描画 #define FONT_HATTR_LEFT 0 ///< 左寄せ #defin...
//----------------------------------------------------------------- // AliAnalysisTaskV0ForRAA class // This task is for analysing Lambda and K0s pt spectra in PbPb and // pp as well as with MC. The flag for pp and MC must be set // accordingly, default is PbPb data. // It works with ESD files only. //----------------...
/* * Copyright 2008, The Android Open Source Project * * 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 ...
// Magic Software, Inc. // http://www.magic-software.com // http://www.wild-magic.com // Copyright (c) 2003. All Rights Reserved // // The Wild Magic Library (WML) source code is supplied under the terms of // the license agreement http://www.magic-software.com/License/WildMagic.pdf // and may not be copied or disclos...
/* Copyright 1999-2019 ImageMagick Studio LLC, a non-profit organization dedicated to making software imaging solutions freely available. You may not use this file except in compliance with the License. obtain a copy of the License at https://imagemagick.org/script/license.php Unless required by ...
#include<vector> using namespace std; void get_graph(vector<int> adj[], int &v, bool flag); void edge_add(vector<int> adj[], int u, int v, int wt, bool flag=0); bool DFS(vector <int> adj[],int v,int st);
/* $NetBSD: humanize_number.c,v 1.8 2004/07/27 01:56:24 enami Exp $ */ /* * Copyright (c) 1997, 1998, 1999, 2002 The NetBSD Foundation, Inc. * All rights reserved. * * This code is derived from software contributed to The NetBSD Foundation * by Jason R. Thorpe of the Numerical Aerospace Simulation Facility, * NA...
// jingua.c inherit ITEM; void create() { set_name("金瓜", ({ "jin gua", "gua" })); set_weight(8000); if (clonep()) set_default_object(__FILE__); else { set("unit", "瓜"); set("long", "这是一只黄铜浇铸的镀金瓜状,透露出一股华贵气息。\n"); set("value", 5000); set("material", "copper"); ...
/* * 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...
// // ViewController.h // RVContainer // // Created by Badchoice on 17/5/17. // Copyright © 2017 Revo. All rights reserved. // #import <UIKit/UIKit.h> #import "TestClass.h" @interface ViewController : UIViewController @property (strong, nonatomic) IBOutlet TestClass *testObject; @end
/* * Copyright (c) 2021 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 ...
#include<stdio.h> unsigned p[10000000]={1}; int main() { int i=0,j=0,c=1; while (c<10000000) { if (p[i]*2<p[j]*3) { if (p[i]*2+1==p[c-1]) i++; else p[c++]=p[i++]*2+1; } else { if (p[j]*3+1==p[c-1]) j++; else p[c++]=p[j++]*3+1; } } while (scanf("%d",&c)!=EOF) printf("%d\n",p[c-1]); ...
#ifndef __LIB_7ZIP_H__ #define __LIB_7ZIP_H__ #include <string> #include <vector> #ifndef _WIN32 #define __int64 long long int typedef std::basic_string<wchar_t> wstring; typedef std::basic_string<char> string; #ifndef CLASS_E_CLASSNOTAVAILABLE #define CLASS_E_CLASSNOTAVAILABLE (0x80040111L) #endif #define FILE_BEGIN...
#include <math.h> #include <stdbool.h> #include <stdio.h> #include "../object/object.h" #include "collision.h" bool range_intersect(f32 min1, f32 max1, f32 min2, f32 max2) { return max1 >= min2 && min1 <= max2; } bool collision(Object *obj1, Object *obj2) { return range_intersect(obj1->position.x, obj1->posi...
// // AppodealBannerView.h // Appodeal // // Created by Stas Kochkin on 22/08/16. // Copyright © 2016 Appodeal, Inc. All rights reserved. // #import <Foundation/Foundation.h> #import <Appodeal/APDBannerView.h> #import <Appodeal/APDMRECView.h> #import <UIKit/UIKit.h> @class AppodealBannerView; /** * Banner view...
#if !defined(AFX_STDAFX_H____INCLUDED_) #define AFX_STDAFX_H____INCLUDED_ struct IFILE; IFILE *ifopen(const char *fname,const char *perm); size_t ifread(void* buf,size_t size,size_t count,IFILE *fp); size_t ifwrite(const void* buf,size_t size,size_t count,IFILE *fp); __int64 ifseek(IFILE *fp,__int64 offset,int flag...
/* # This file is part of the Astrometry.net suite. # Licensed under a 3-clause BSD style license - see LICENSE */ #include <stdio.h> #include <string.h> #include <math.h> #include <assert.h> #include <sys/types.h> #include <unistd.h> #include <stdarg.h> #include "os-features.h" #include "ioutils.h" #include "math...
// // Use this file to import your target's public headers that you would like to expose to Swift. // #include "ext.h" // standard Max include, always required #include "ext_obex.h" // required for new style Max object
/////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2012-2016 DreamWorks Animation LLC // // All rights reserved. This software is distributed under the // Mozilla Public License 2.0 ( http://www.mozilla.org/MPL/2.0/ ) // // Redistributions of source code must retain the abov...
// stdafx.h : include file for standard system include files, // or project specific include files that are used frequently, but // are changed infrequently // #if !defined(AFX_STDAFX_H__ECC7AB4B_B1B0_4CDB_9C0B_8B326D753C23__INCLUDED_) #define AFX_STDAFX_H__ECC7AB4B_B1B0_4CDB_9C0B_8B326D753C23__INCLUDED_ #if _M...
/******************************************************************************* * Copyright (C) 2020 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 ...
/* * 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...
$NetBSD: patch-playlist__file.c,v 1.3 2019/06/11 11:54:56 nia Exp $ flock is a BSD extension. XXX maybe this can be removed: https://github.com/illumos/illumos-gate/commit/7a5aac98bc37534537d4896efd4efd30627d221e --- playlist_file.c.orig 2014-08-30 02:31:51.000000000 +0000 +++ playlist_file.c @@ -90,9 +90,11 @@ stat...
// // EXTSynthesize.h // extobjc // // Created by Justin Spahr-Summers on 2012-09-04. // Copyright (C) 2012 Justin Spahr-Summers. // Released under the MIT license. // #import "EXTRuntimeExtensions.h" #import <objc/runtime.h> /** * \@ext_synthesizeAssociation synthesizes a property for a class using associated ...
/* 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 ...