text
stringlengths
9
948k
/*------------------------------------------------------------------------- * * execCurrent.c * executor support for WHERE CURRENT OF cursor * * Portions Copyright (c) 1996-2018, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * * src/backend/executor...
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. // #pragma mark Blocks typedef void (^CDUnknownBlockType)(void); // return type and parameters are unknown #pragma mark Named Structures struct NSArray { Class _field1; }; stru...
/*************************************************************************** * * * Copyright (C) 2018 by arkceajin@gmail.com * * * * MIT Lic...
/* Copyright (c) 2003-2004, Roger Dingledine. * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson. * Copyright (c) 2007-2017, The Tor Project, Inc. */ /* See LICENSE for licensing information */ /** * \file dns.c * \brief Implements a local cache for DNS results for Tor servers. * This is implemented as a...
/* * libjingle * Copyright 2004 Google Inc. * * 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 fo...
#include "soft_uart.h" // You have to adjust BIT_CLOCK_COUNT and START_TIMER // / STOP_TIMER for different baud rates / CPU clocks. // The current values are for 9600 baud and CPU clock = 8 MHz. #define BAUDRATE (9600) #if BAUDRATE==9600 # define BIT_CLOCK_COUNT (104) #else # error You have to define a baud rat...
// // Created by furture on 2018/8/25. // #ifndef WEEXRENDERER_IMAGE_H #define WEEXRENDERER_IMAGE_H #include "View.h" #include <render/core/rendering/RenderImage.h> namespace weexuikit { class ImageView : public View { public: ImageView(UIContext *context, Node *node); virtual void applyDe...
/** *********************************************************************************************************************** * 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...
// Copyright (c) 2006-2013, Andrey N. Sabelnikov, www.sabelnikov.net // 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 // noti...
#include "genatest_common.h" /* A shuffled set of integers. */ const int GENATEST_INT_SET[] = { 59,88,16,29,108,12,42,63,0,35,4,111,61,113,109,50,15,30,56,107,82,2,58, 23,80,38,7,13,76,52,100,67,21,18,9,87,66,6,70,11,60,65,72,73,48,79,57,49, 101,51,32,8,31,40,115,99,74,17,3,53,84,41,94,20,62,85,110,47,54,96,33,2...
// Copyright 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 CC_QUADS_SOLID_COLOR_DRAW_QUAD_H_ #define CC_QUADS_SOLID_COLOR_DRAW_QUAD_H_ #include "base/memory/scoped_ptr.h" #include "cc/base/cc_export.h" #i...
//////////////////////////////////////////////////////////////////////////////// // Jan Horacek // jan.horacek@seznam.cz // Diversity 2013 // 08.05.2013 //////////////////////////////////////////////////////////////////////////////// // rbtStrg.h: header file for myStrg virtual class ///////////////////////////////////...
/* * Copyright (c) 2018 NVIDIA CORPORATION. All rights reserved. * * NVIDIA Corporation and its licensors retain all intellectual property and proprietary * rights in and to this software, related documentation and any modifications thereto. * Any use, reproduction, disclosure or distribution of this software and rela...
/* Module : HookImportFunction.h Purpose: Defines the interface for code to hook a call to any imported Win32 SDK Created: PJN / 23-10-1999 Copyright (c) 1999 by PJ Naughter. All rights reserved. */ #ifndef __HOOKIMPORTFUNCTION_H__ #define __HOOKIMPORTFUNCTION_H__ ////////////// Structures /////////////////////...
// // ToString.h // Chilli Source // Created by Ian Copland on 25/02/2014. // // The MIT License (MIT) // // Copyright (c) 2014 Tag Games Limited // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // ...
#pragma once #if DS_PLATFORM_WINDOWS extern DawnStar::UniquePtr<DawnStar::Application> DawnStar::CreateApplication(); int main(int argc, char** argv) { auto app = DawnStar::CreateApplication(); app->Run(); app->Close(); return 0; } #endif // DS_PLATFORM_WINDOWS
#pragma once // Copyright (c) 2021 DNV AS // // Distributed under the Boost Software License, Version 1.0. // See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt #include "Quantity.h" #include "NamedQuantity.h" #include "IPhenomenon.h" namespace DNVS {namespace MoFa {namespace ...
// // WDButton.h // Inkpad // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. // // Copyright (c) 2010-2013 Steve Sprang // #import <UIKit/UIKit.h> @interface...
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* utils.c :+: :+: :+: ...
// Dan Wolf // CSVWriter.h #include <fstream> #include <vector> #ifndef CONVOLUTION_CSVWRITER_H #define CONVOLUTION_CSVWRITER_H class CSVWriter { private: const char *filename; std::ofstream outFile; public: explicit CSVWriter(const char *filename); ~CSVWriter(); void Write(const std::vector<f...
/* Generated by CIL v. 1.3.7 */ /* print_CIL_Input is true */ int KernelMode ; int Executive ; int s ; int UNLOADED ; int NP ; int DC ; int SKIP1 ; int SKIP2 ; int MPR1 ; int MPR3 ; int IPC ; int pended ; int compFptr ; int compRegistered ; int lowerDriverReturn ; int setEventCalled ; int customIrp ; ...
/* * Copyright (c) 2020, Lawrence Livermore National Security, LLC. * Produced at the Lawrence Livermore National Laboratory. * * Copyright 2020, UT-Battelle, LLC. * * LLNL-CODE-741539 * All rights reserved. * * This is the license for UnifyFS. * For details, see https://github.com/LLNL/UnifyFS. * Please rea...
/* * Copyright 2018-present MongoDB, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
#include "lists.h" int _strlen_recursion(char *s); /** * add_node - adds a new node at the beginning of a list_t list. * @head: pointer to the first element of the list. * @str: string to set in the new node. * Return: address of the new element, or NULL if it failed **/ list_t *add_node(list_t **head, const cha...
/* Copyright 2019 Triad National Security, LLC. All rights reserved. This file is part of the MSTK project. Please see the license file at the root of this repository or at https://github.com/MeshToolkit/MSTK/blob/master/LICENSE */ #include <stdio.h> #include <stdlib.h> #include "MSTK.h" #ifdef __cplusplus extern "...
#pragma once #include "envoy/common/pure.h" #include "envoy/common/random_generator.h" #include "envoy/event/deferred_deletable.h" #include "envoy/network/connection.h" #include "envoy/network/drain_decision.h" #include "envoy/network/filter.h" #include "envoy/stats/timespan.h" #include "source/common/buffer/buffer_i...
// // firhilb_decim_example.c // // Hilbert transform: 2:1 real-to-complex decimator. This example // demonstrates the functionality of firhilb (finite impulse response // Hilbert transform) decimator which converts a real time series // into a complex one with half the number of samples. The input // is a real-value...
#define _POSIX_C_SOURCE 200809L #include <getopt.h> #include <pango/pangocairo.h> #include <signal.h> #include <stdbool.h> #include <stdlib.h> #include <stdio.h> #include <string.h> #include <sys/stat.h> #include <sys/types.h> #include <sys/wait.h> #include <sys/un.h> #include <unistd.h> #include <wlr/util/log.h> #incl...
/*! * @file balDef.h * @brief * @author belmayze * * Copyright (c) 2020 belmayze. All rights reserved. */ #pragma once // C++ #include <cassert> // ---------------------------------------------------------------------------- // プラットフォーム #define BAL_PLATFORM_WIN (0x0) #if defined(_WIN32) # define BAL_PLA...
/* Teem: Tools to process and visualize scientific data and images Copyright (C) 2008, 2007, 2006, 2005 Gordon Kindlmann Copyright (C) 2004, 2003, 2002, 2001, 2000, 1999, 1998 University of Utah This library is free software; you can redistribute it and/or modify it under the terms of the GNU...
/* * Copyright (C) 2004-2007, 2009, 2013, 2014 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 2003 Internet Software Consortium. * * 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...
/* GTK - The GIMP Toolkit * gtkrecentchoosermenu.c - Recently used items menu widget * Copyright (C) 2005, Emmanuele Bassi * * 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 ...
#ifndef _FFCALLBACK_H_ #define _FFCALLBACK_H_ #include "ffbuffer.h" #include "ffinternal.h" typedef void (*ffcb_fun_t)(ffop_h op, void * arg); typedef struct ffcallback{ ffcb_fun_t cb; void * arg; } ffcallback_t; int ffcallback_execute(ffop_t * op, ffbuffer_set_t * mem); int ffcallback_tostring(ffop_t * op,...
// 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 CHROME_BROWSER_EXTENSIONS_API_SYSTEM_INFO_SYSTEM_INFO_API_H_ #define CHROME_BROWSER_EXTENSIONS_API_SYSTEM_INFO_SYSTEM_INFO_API_H_ #include "exten...
/* This code is a modified version of an algorithm forming part of the software program Finite Element Method Magnetics (FEMM), authored by David Meeker. The original software code is subject to the Aladdin Free Public Licence version 8, November 18, 1999. For more information on FEMM see www.femm....
#ifndef __MCreadcpu__ #define __MCreadcpu__ typedef enum { Dreg, Areg, Aind, Aipi, Apdi, Ad16, Ad8r, absw, absl, PC16, PC8r, imm, imm0, imm1, imm2, immi, am_unknown, am_illg } amodes; typedef enum { i_ILLG, i_OR, i_AND, i_EOR, i_ORSR, i_ANDSR, i_EORSR, i_SUB, i_SUBA, i_SUBX, i_SBCD, i_ADD, i_ADDA...
/* * Copyright (c) 2017 Intel Corporation * * SPDX-License-Identifier: Apache-2.0 */ #include <string.h> #include <zephyr/types.h> #include <stdbool.h> #include <ztest.h> /* Don't confuse doxygen with missing files */ /** * @cond INTERNAL_HIDDEN */ /* The file.inc contains characters from 0 to 255 */ static con...
/* $OpenBSD: if_devar.h,v 1.9 1999/01/11 04:31:14 jason Exp $ */ /* $NetBSD: if_devar.h,v 1.13 1997/06/08 18:46:36 thorpej Exp $ */ /*- * Copyright (c) 1994-1997 Matt Thomas (matt@3am-software.com) * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are pe...
/** * Author: Ulf Lundstrom * Date: 2009-03-21 * License: CC0 * Source: tinyKACTL * Description: Returns twice the signed area of a polygon. * Clockwise enumeration gives negative area. Watch out for overflow if using int as T! * Status: Tested with unitTest, Kattis problems polygonarea and wrapping and UVa Onl...
/** * \file mon-predicate.h * \brief Monster predicates * * Copyright (c) 1997-2007 Ben Harrison, James E. Wilson, Robert A. Koeneke * Copyright (c) 2017 Nick McConnell * * This work is free software; you can redistribute it and/or modify it * under the terms of either: * * a) the GNU General Public License a...
#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_DBrainDocumentFlow_TestsVersionNumber; FOUNDATION_EXPORT const unsigned char Pods_DBrainDocume...
/* * Copyright (c) 2014, Roland Bock * 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 conditi...
/**************************************************************************** * config/mbed/src/lpc17_appinit.c * * Copyright (C) 2010, 2016 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary forms, with or without * modification, are p...
// Copyright (c) Athena Dev Teams - Licensed under GNU GPL // For more information, see LICENCE in the main folder #ifndef __ACCOUNT_H_INCLUDED__ #define __ACCOUNT_H_INCLUDED__ #include "../common/cbasetypes.h" #include "../common/mmo.h" // ACCOUNT_REG2_NUM typedef struct AccountDB AccountDB; typedef struct AccountD...
#pragma once #include "UnrealEnginePython.h" #if ENGINE_MINOR_VERSION < 18 #include "Runtime/CoreUObject/Public/Misc/StringAssetReference.h" #endif typedef struct { PyObject_HEAD /* Type-specific fields go here. */ FStringAssetReference fstring_asset_reference; } ue_PyFStringAssetReference; PyObject *py_ue_new...
#include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <math.h> #include <test.h> #include <time.h> #include <intrin.h> int getrand(int max) { return rand() % max; } int main() { static int8_t* list[60]; int i=0, x, j, count = 0; int time1, time2; size_t size; long tottime = 0; long starttime; in...
// Copyright 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 IOS_CHROME_BROWSER_WEB_TAB_ID_TAB_HELPER_H_ #define IOS_CHROME_BROWSER_WEB_TAB_ID_TAB_HELPER_H_ #include "base/macros.h" #import "ios/web/public/...
#ifndef MEASUREMENT_PACKAGE_H_ #define MEASUREMENT_PACKAGE_H_ #include "Eigen/Dense" class MeasurementPackage { public: long timestamp_; enum SensorType { LASER, RADAR } sensor_type_; Eigen::VectorXd raw_measurements_; }; #endif /* MEASUREMENT_PACKAGE_H_ */
/******************************************************************** * (C) 2019 Michael Toutonghi * * Distributed under the MIT software license, see the accompanying * file COPYING or http://www.opensource.org/licenses/mit-license.php. * * This defines the public blockchains as a service (PBaaS) notarization ...
/* +----------------------------------------------------------------------+ | PHP Version 7 | +----------------------------------------------------------------------+ | This source file is subject to version 3.01 of the PHP license, | | that is ...
/* * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be use...
/* * This header is generated by classdump-dyld 1.0 * on Saturday, August 24, 2019 at 9:49:16 PM Mountain Standard Time * Operating System: Version 12.4 (Build 16M568) * Image Source: /System/Library/PrivateFrameworks/Symptoms.framework/Frameworks/SymptomEvaluator.framework/SymptomEvaluator * classdump-dyld is licensed...
/***************************************************************************************** * * * OpenSpace * * ...
/** * @section License * * The MIT License (MIT) * * Copyright (c) 2014-2017, Erik Moqvist * * 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...
#include <syslog.h> #include <fcntl.h> #include <sys/resource.h> #include <stdlib.h> #include <stdio.h> #include <signal.h> #include <unistd.h> #include <sys/types.h> #include <sys/stat.h> #include <sys/file.h> #include <time.h> #include <syslog.h> #include <string.h> #include <stdarg.h> #include <errno.h> #define...
#ifdef HAVE_CONFIG_H #include "../../../ext_config.h" #endif #include <php.h> #include "../../../php_ext.h" #include "../../../ext.h" #include <Zend/zend_operators.h> #include <Zend/zend_exceptions.h> #include <Zend/zend_interfaces.h> #include "kernel/main.h" #include "kernel/array.h" #include "kernel/object.h" #inc...
/* ---------------------------------------------------------------------- * Project: NMSIS DSP Library * Title: riscv_linear_interp_q15.c * Description: Q15 linear interpolation * * $Date: 23 April 2021 * $Revision: V1.9.0 * * Target Processor: RISC-V Cores * ----------------------------...
#include <stdlib.h> #include <stdio.h> // source: http://stackoverflow.com/questions/6563120/what-does-posix-memalign-memalign-do void *malloc_aligned(size_t alignment, size_t bytes) { // we need to allocate enough storage for the requested bytes, some // book-keeping (to store the location returned by malloc...
#ifndef ADDRESS_BOOK_H #define ADDRESS_BOOK_H #include <string> #include <vector> #include <iostream> #include <memory> #include "Entry.h" struct AddressBook{ std::vector<std::unique_ptr<Entry>> addresses; void add(Entry* entry){ addresses.emplace_back(entry); } void print(){ for(int...
/* * Copyright (c) 2010 The WebM project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributin...
#pragma once #include "gdal.h" #include "gdal_priv.h" #include "iostream" #include "boost/lexical_cast.hpp" #include "boost/algorithm/string.hpp" //using namespace boost; //using namespace boost::algorithm; using namespace std; class ExifReader { public: //ExifReader(); //~ExifReader(); void readImageLon...
#ifndef QT_NO_QT_INCLUDE_WARN #if defined(__GNUC__) #warning "Inclusion of header files from include/Qt is deprecated." #elif defined(_MSC_VER) #pragma message("WARNING: Inclusion of header files from include/Qt is deprecated.") #endif #endif #include "../QtGui/qinputcontextfactory.h"
/* linux/arch/arm/mach-s3c2443/dma.c * * Copyright (c) 2007 Simtec Electronics * Ben Dooks <ben@simtec.co.uk> * * S3C2443 DMA selection * * http://armlinux.simtec.co.uk/ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as...
// // 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 "GKAnalyticsService-Protocol.h" @class NSString; @interface GKAnalyticsService : GKService <GKAnalyticsService> { ...
//+------------------------------------------------------------------------- // // Microsoft Windows // // Copyright (C) Microsoft Corporation, 1998 - 1999 // // File: csw97sht.h // //-------------------------------------------------------------------------- // csw97sht.h: interface for the CWizard97PropertyS...
//=============================================================================---- // Copyright © 2016 NaturalPoint, Inc. All Rights Reserved. // // This software is provided by the copyright holders and contributors "as is" and // any express or implied warranties, including, but not limited to, the implied // warra...
#ifndef __dom150Swept_surface_h__ #define __dom150Swept_surface_h__ #include <dae/daeDocument.h> #include <1.5/dom/domTypes.h> #include <1.5/dom/domElements.h> #include <1.5/dom/domCurve.h> #include <1.5/dom/domExtra.h> class DAE; namespace ColladaDOM150 { /** * Describes a surface of linear extrusion ("extruded ...
#include <unistd.h> #include "fdpopen.h" int main() { int ls = fdpopen("ls -l","r"); int more = fdpopen("more","w"); char data[128]; ssize_t len; do { len = read(ls,data,128); write(more,data,len); }while(len == 128); fdpclose(ls); fdpclose(more); ret...
// RUN: %libomp-compile-and-run // The runtime currently does not get dependency information from GCC. // UNSUPPORTED: gcc #include <stdio.h> #include <omp.h> #include <pthread.h> #include "omp_my_sleep.h" /* With task dependencies one can generate proxy tasks from an explicit task being executed by a serial task t...
/* * Copyright (c) 2000-2005, 2007-2008 Todd C. Miller <Todd.Miller@courtesan.com> * * Permission to use, copy, modify, and 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 SOFTWAR...
#ifndef NAMED_LAYER_H #define NAMED_LAYER_H #include "userstyle.h" #include <memory> #include <vector> namespace SldParser { class NamedLayerPrivate; class NamedLayer { public: explicit NamedLayer(NamedLayerPrivate&); ~NamedLayer(); std::string nodeName() const; NamedLayer(const NamedLaye...
/* * Copyright (c) 1996, 2003 VIA Networking Technologies, Inc. * 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 Foundation; either version 2 of the License, or * (at your opt...
/* SPDX-License-Identifier: GPL-2.0 OR MIT */ /************************************************************************** * * Copyright 2021 VMware, Inc., Palo Alto, CA., USA * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the ...
#include<stdio.h> #include<stdlib.h> typedef struct data { int a,b; } data; data gd; int g; //Test the taint kill int ioctl0(int ua) { gd->a = ua; printf("%d\n",gd->a); gd->a = 0; return 0; } //Test the taint overwrite int ioctl1(int ua) { gd->b = ua; printf("%d\n",gd->b); gd->b = g;...
/* * This header is generated by classdump-dyld 1.0 * on Saturday, August 24, 2019 at 9:45:15 PM Mountain Standard Time * Operating System: Version 12.4 (Build 16M568) * Image Source: /System/Library/Frameworks/ContactsUI.framework/ContactsUI * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limn...
#ifndef _PARSER_H #define _PARSER_H #include "structures/structures.h" huo_ast *parse(struct Tokens *tokens); #endif
#include <stdio.h> #include <sched.h> int main (void) { int policy; policy = sched_getscheduler (0); switch (policy) { case SCHED_OTHER: printf ("policy is normal\n"); break; case SCHED_RR: printf ("policy is round-robin\n"); break; case SCHED_FIFO: printf ("policy is first-in, first-out\n");...
#ifndef MUPDF_FITZ_HASH_H #define MUPDF_FITZ_HASH_H #include "mupdf/fitz/system.h" #include "mupdf/fitz/context.h" /* * Generic hash-table with fixed-length keys. */ typedef struct fz_hash_table_s fz_hash_table; fz_hash_table *fz_new_hash_table(fz_context *ctx, int initialsize, int keylen, int lock); void fz_empt...
//================================================================================================= /*! // \file blaze/math/lapack/gesv.h // \brief Header file for the LAPACK general linear system solver functions (gesv) // // Copyright (C) 2012-2019 Klaus Iglberger - All Rights Reserved // // This file is part of ...
/**************************************************************************** **************************************************************************** *** *** This header was automatically generated from a Linux kernel header *** of the same name, to make information necessary for userspace to *** call i...
/* * Copyright 2011-2020 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the Apache License 2.0 (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy * in the file LICENSE in the source distribution or at * https://www.openssl.org/source/l...
// // RFBeanUtil.h // ECUtils // // Created by kiri on 15/6/14. // Copyright (c) 2015年 kiri. All rights reserved. // #import <Foundation/Foundation.h> #import "RFBeanProperty.h" #import "RFBeanPropertyAnnotation.h" @interface RFBeanUtil : NSObject /*! * shallow copy. Pointer & union is also copied. * @note ob...
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2012-2014 The Bitcoin developers // Copyright (c) 2015-2018 The PIVX developers // Copyright (c) 2019 The RESQ developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php....
/* This file was generated by upbc (the upb compiler) from the input * file: * * envoy/type/matcher/v3/value.proto * * Do not edit -- your changes will be discarded when the file is * regenerated. */ #include <stddef.h> #include "upb/msg_internal.h" #include "envoy/type/matcher/v3/value.upb.h" #include "envo...
/* * Generated by asn1c-0.9.28 (http://lionet.info/asn1c) * From ASN.1 module "Ver2-ULP-Components" * found in "../ver2-ulp-components.asn" * `asn1c -fcompound-names -gen-PER` */ #include "RTD.h" static int memb_rTDValue_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, asn_app_constraint_failed_f *...
// 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 bina...
/* * 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 <ABI42_0_0React/core/ConcreteComponentDescriptor.h> #include "ABI42_0_0AndroidTextInputShadowNode.h" #inclu...
/* * Copyright (c) 2007-2017 Nicira, Inc. * * 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 useful, but * WITHOUT...
#ifndef COIN_SOVECTOROUTPUT_H #define COIN_SOVECTOROUTPUT_H /**************************************************************************\ * Copyright (c) Kongsberg Oil & Gas Technologies AS * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted ...
#ifndef LHAT_NAMELESS_PRINTER_H #define LHAT_NAMELESS_PRINTER_H #include <string> #include <vector> #include "lhat/nameless/ast.h" namespace lhat { namespace nameless { // Constructs lambda expressions from ASTs. class Printer { public: // Outputs the lambda expression corresponding to term in out. static void ...
#ifndef GUMBO_STRING_BUFFER_H_ #define GUMBO_STRING_BUFFER_H_ #include <stdbool.h> #include <stddef.h> #include "nokogiri_gumbo.h" #ifdef __cplusplus extern "C" { #endif // A struct representing a mutable, growable string. This consists of a // heap-allocated buffer that may grow (by doubling) as necessary. When //...
/* dmenu: specific build by jyand */ static int topbar = 0 ; /* -fn option overrides fonts[0]; default X11 font or font set */ static const char *fonts[] = { "monospace:size=12" } ; static const char *prompt = "dmenu rice by jyan > " ; static const char *colors[SchemeLast][2] = { /* fg ...
#include <limits.h> #define max(a, b) (((a) > (b)) ? (a) : (b)) #define min(a, b) (((a) < (b)) ? (a) : (b)) int findUnsortedSubarray(int* nums, int numsSize) { int maxleft = nums[0], minright = nums[numsSize - 1]; int left = 1, right = 0; for (int i = 1; i < numsSize; ++i) { maxleft = max(maxleft, nums[i]); m...
/* * Win32 virtual memory functions * * Copyright 1997, 2002 Alexandre Julliard * * 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 ...
/* * The Clear BSD License * Copyright 2016-2017 NXP * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted (subject to the limitations in the * disclaimer below) provided that the following conditions are met: * * * Redistributions of source code mus...
// -*-c++-*- #ifndef __Spinor_h__ #define __Spinor_h__ #include <math.h> #include "FourVector.h" class Complex { long double Re,Im; public: Complex(long double R=0, long double I=0) : Re(R), Im(I) {}; inline Complex operator*(const Complex& b...
#ifndef __AGCSectors_h__ #define __AGCSectors_h__ ///////////////////////////////////////////////////////////////////////////// // AGCSectors.h : Declaration of the CAGCSectors class. // #include "resource.h" #include "IAGCCollectionImpl.h" ///////////////////////////////////////////////////////////////////////////...
// Copyright 2015 The Goma 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 DEVTOOLS_GOMA_CLIENT_SUBPROCESS_OPTION_SETTER_H_ #define DEVTOOLS_GOMA_CLIENT_SUBPROCESS_OPTION_SETTER_H_ #include "atomic_stats_counter.h" #include...
/* @(#) pf_inner.c 98/03/16 1.7 */ /*************************************************************** ** Inner Interpreter for Forth based on 'C' ** ** Author: Phil Burk ** Copyright 1994 3DO, Phil Burk, Larry Polansky, David Rosenboom ** ** Permission to use, copy, modify, and/or distribute this ** software for a...
/* $Id: long_tag.c,v 1.3 2006/03/23 14:54:02 dron Exp $ */ /* * Copyright (c) 2004, Andrey Kiselev <dron@ak4719.spb.edu> * * Permission to use, copy, modify, distribute, and sell this software and * its documentation for any purpose is hereby granted without fee, provided * that (i) the above copyright notices ...