text
stringlengths
9
948k
/* Copyright (c) Facebook, Inc. and its affiliates. (http://www.facebook.com) */ #pragma once #include <functional> #include <string> #include "gtest/gtest.h" #include "handles.h" #include "objects.h" #include "runtime.h" // Define EXPECT_DEBUG_ONLY_DEATH, which is like gtest's // EXPECT_DEBUG_DEATH, except that it...
// // AppMacro.h // LSSampleInOC // // Created by LuckyStrike on 2017/11/16. // Copyright © 2017年 LuckyStrike. All rights reserved. // #ifndef AppMacro_h #define AppMacro_h #import <Foundation/Foundation.h> /** 测试开关 */ #define DEBUG 1 /********************************************** DEB...
// Copyright 2020 Espressif Systems (Shanghai) PTE 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 applic...
// // TextAnnotViewController.h // PDFViewer // // Created by strong on 13-7-11. // // #import <UIKit/UIKit.h> @protocol saveTextAnnotDelegate <NSObject> -(void)OnSaveTextAnnot :(NSString *)textAnnot subject:(NSString *)subject; @end @interface TextAnnotViewController : UIViewController { id<saveTextAnnotDel...
// Re-write of find_halos.c from the original 21cmFAST // ComputeHaloField takes in a k_space box of the linear overdensity field // and filters it on decreasing scales in order to find virialized halos. // Virialized halos are defined according to the linear critical overdensity. // ComputeHaloField outputs a cube w...
#ifndef __wrapper_Info_decl_Pythia_8_212_EM_h__ #define __wrapper_Info_decl_Pythia_8_212_EM_h__ #include <cstddef> #include "forward_decls_wrapper_classes.h" #include "gambit/Backends/wrapperbase.hpp" #include "abstract_Info.h" #include <ostream> #include <string> #include <vector> #include <map> #include "identifica...
/****************************************************************************** * Copyright 2018 The Apollo Authors. 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 ...
#include "../../../../../src/xmlpatterns/environment/qstaticcompatibilitycontext_p.h"
/* * Copyright 1996-2019 Cyberbotics 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 ...
#ifndef PROBEWRITER_20210719_H #define PROBEWRITER_20210719_H #include "form/BoundaryMap.h" #include "form/FiniteElementFunction.h" #include "geometry/Curvilinear.h" #include "io/Probe.h" #include "mesh/LocalSimplexMesh.h" #include <mneme/span.hpp> #include <mpi.h> #include <cstddef> #include <fstream> #include <mem...
////////////////////////////////////////////////////////////////////////////// // // Copyright (C) Microsoft Corporation. All Rights Reserved. // // File: d3dx9anim.h // Content: D3DX mesh types and functions // ////////////////////////////////////////////////////////////////////////////// #ifndef __D3DX9...
// // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // * Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // * Redistributions in bin...
#pragma once #include "Object.h" #include <vector> #include <variant> namespace Ubpa::UDRefl { using ParamList = std::vector<TypeID>; class ArgsView { public: ArgsView(ArgsBuffer buffer, const ParamList& paramList) : buffer{ buffer }, paramList{ paramList }{} ArgsBuffer GetBuffer() const noexcept { return b...
/****************************************************** * File: asciimation.c * * This is implementation of asciimation * ******************************************************/ #include "asciimation.h" #include <dirent.h> #include <unistd.h> #include <stdio.h> #include <stdlib.h> #include <string.h> static int get_nu...
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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 applic...
/* * Copyright (C) 2017 Twitter, 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 agr...
/* * This file is part of the coreboot project. * * Copyright (C) 2011 Google 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 program is distrib...
#include "config.h" #define LIBSSH_STATIC #include <errno.h> #include "torture.h" #include "libssh/libssh.h" static void torture_ssh_init(void **state) { int rc; (void) state; rc = ssh_init(); assert_int_equal(rc, SSH_OK); rc = ssh_finalize(); assert_int_equal(rc, SSH_OK); } static void to...
#pragma once ////////////////////////////////////////////////////////////////////////// template<class T> class LeakObjectDetect { public: LeakObjectDetect() { (getCounter().numObjects) += 1; // std::cout << getLeakedObjectClassName() << ", count:" << getCounter().numObjects << std::endl; ...
/******************************************************************************* * File Name: SPILCD_ss0_m.c * Version 2.20 * * Description: * This file contains API to enable firmware control of a Pins component. * ******************************************************************************** * Copyright 2008-201...
/***************************************************************************** * RUN EMBEDDED OBJECT METHODS, ACCESS OBJECT ATTRIBUTES * handles attribute fetch, debugging, input/output conversions; * there is no module to reload here: assumes a known object; ******************************************************...
/* ===================================================================== * Project: PULP DSP Library * Title: plp_mat_sub_f32_parallel.c * Description: parallel 32-bit floating-point matrix subtraction glue code * * $Date: 1. July 2020 * $Revision: V0 * * Target Processor: PULP cores * =...
#ifndef GIM_BOX_SET_H_INCLUDED #define GIM_BOX_SET_H_INCLUDED /*! \file gim_box_set.h \author Francisco Leon Najera */ /* This source file is part of GIMPACT Library. For the latest info, see http://gimpact.sourceforge.net/ Copyright (c) 2007 Francisco Leon Najera. C.C. 80087371. email: projectileman@yahoo.com Thi...
/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2003-2018, Intel Corporation. All rights reserved. * Intel Management Engine Interface (Intel MEI) Linux driver */ #ifndef _MEI_DEV_H_ #define _MEI_DEV_H_ #include <linux/types.h> #include <linux/cdev.h> #include <linux/poll.h> #include <linux/mei.h> #inclu...
/************************************************/ /* */ /* AIMP Programming Interface */ /* v3.60 build 1455 */ /* */ /* Artem Izmaylov */ /* ...
// Copyright 2014 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 COMPONENTS_SEARCH_PROVIDER_LOGOS_LOGO_OBSERVER_H_ #define COMPONENTS_SEARCH_PROVIDER_LOGOS_LOGO_OBSERVER_H_ #include "components/search_provider_...
#ifndef EVAL_H #define EVAL_H #include "parser/ast_parser/ast.h" #include "eval/object.h" #include "eval/hashmap.h" obj* eval_ast (hashmap *heap, ast_node *head); #endif
/** * @license Apache-2.0 * * Copyright (c) 2020 The Stdlib 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 a...
/* * This header is generated by classdump-dyld 1.0 * on Saturday, June 1, 2019 at 6:45:30 PM Mountain Standard Time * Operating System: Version 12.1.1 (Build 16C5050a) * Image Source: /System/Library/PrivateFrameworks/iTunesCloud.framework/iTunesCloud * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by ...
// Copyright (C) 2011 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_ANY_FUNCTION_RETURN #error "You aren't supposed to directly #include this file. #include <dlib/any.h> instead." #endif #ifdef DLIB_ANY_FUNCTION_RETURN // This file contains ...
/* * Copyright 2000-2016 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the OpenSSL license (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/lice...
/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2014 Torus Knot Software Ltd Permission is hereby granted, free of charge, to any person obta...
/* $OpenBSD: canohost.c,v 1.73 2016/03/07 19:02:43 djm Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland * All rights reserved * Functions for returning the canonical host name of the remote site. * * As far as I am concerned, the...
/* * Copyright (c) 2021, Liav A. <liavalb@hotmail.co.il> * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include <AK/String.h> #include <AK/Types.h> #include <Kernel/Bus/PCI/Device.h> #include <Kernel/Graphics/Definitions.h> #include <Kernel/Graphics/FramebufferDevice.h> #include <Kernel/Graphics/VGACo...
int minTimeToVisitAllPoints(int** points, int pointsSize, int* pointsColSize){ int minSize = 0; for(int i=1; i<pointsSize; i++) { int X0 = points[i-1][0]; int X1 = points[i][0]; int Y0 = points[i-1][1]; int Y1 = points[i][1]; int diffX = abs(X1-X0);...
/* * Copyright 2011-present Facebook, 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 a...
#ifndef _X_SOCKET_H__ #define _X_SOCKET_H__ #define MAX_LISTEN_QUEUE 5 #ifdef __cplusplus extern "C" { #endif void x_set_sock_default_opt(int s); void x_set_sock_no_delay(int s); int x_set_sock_no_block(int s); int x_create_tcp_server(const char *ip, int port); int x_accept(int listen_fd, char *ip, int *port); i...
/* * Copyright 2017-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0/ * * or in the "...
/* * file: ledbutton.h * created: 20160612 * author(s): mr-augustine * * Declares the functions used for a SPST pushbutton that has an LED indicator. * The actual button I used for this was from Radio Shack (# 275-0009). * * Regardless of the button's initial physical state (pressed or unpressed), * this libra...
/* * 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) 2019 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: * 1. Redistributions of source code must ...
/* * Copyright (c) 2009-2012, Pieter Noordhuis <pcnoordhuis at gmail dot com> * Copyright (c) 2009-2012, Salvatore Sanfilippo <antirez at gmail dot com> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following condition...
/* * This header is generated by classdump-dyld 1.0 * on Sunday, September 27, 2020 at 12:26:21 PM Mountain Standard Time * Operating System: Version 14.0 (Build 18A373) * Image Source: /System/Library/PrivateFrameworks/SiriPlaybackControlIntents.framework/SiriPlaybackControlIntents * classdump-dyld is licensed under G...
extern char *optarg; extern __attribute__((__nothrow__)) int(__attribute__((__nonnull__(1), __leaf__)) chown)(char const *__file, unsigned int __owner, unsigned int __group); int make_path(unsigned int owner, unsigned int group) { int...
/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ /* ------------------------------------------------------------------------- */ /* */ /* i2c.h - definitions for the i2c-bus interface */ /* */ /* ------------------------------------------------------------------------- */...
/* -*- Mode: C; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright 2014-2019 Couchbase, 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 * * ...
// // LXCPopoverView.h // LiuMeiTuanIpad // // Created by 刘晓晨 on 2017/5/17. // Copyright © 2017年 刘晓晨. All rights reserved. // #import <UIKit/UIKit.h> @interface LXCPopoverView : UIView +(instancetype)popoverView; @property (weak, nonatomic) IBOutlet UITableView *leftTableView; @property (weak, nonatomic) IBOutle...
/******************************************************************************* * File Name: SW1.c * Version 2.20 * * Description: * This file contains API to enable firmware control of a Pins component. * * Note: * ******************************************************************************** * Copyright 2008-20...
#pragma once #include "wlib.h" #include "global.h" #include <Dali.h> //comms #include <Repository.h> //comms __interface ILoginConfigPreferences { bool ShowConfigPreference(IConfig *config); //true if changed config }; __interface IConfig; struct STRUCT_DALI { StlLinked<Dali::IDali> m_dali; std::_tstrin...
/*------------------------------------------------------------------------- * * trigger.c * PostgreSQL TRIGGERs support code. * * Portions Copyright (c) 1996-2016, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION * src/backend/com...
/* $OpenLDAP$ */ /* This work is part of OpenLDAP Software <http://www.openldap.org/>. * * Copyright 1999-2019 The OpenLDAP Foundation. * Portions Copyright 2001-2003 Pierangelo Masarati. * Portions Copyright 1999-2003 Howard Chu. * All rights reserved. * * Redistribution and use in source and binary forms, with...
/* Copyright (c) 2017, Lawrence Livermore National Security, LLC. Produced at the Lawrence Livermore National Laboratory Written by Chunhua Liao, Pei-Hung Lin, Joshua Asplund, Markus Schordan, and Ian Karlin (email: liao6@llnl.gov, lin32@llnl.gov, asplund1@llnl.gov, schordan1@llnl.gov, karlin1@llnl.gov) LLNL-CODE-73214...
/* * 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 ...
///*|----------------------------------------------------------------------------- // *| This source code is provided under the Apache 2.0 license -- // *| and is provided AS IS with no warranty or guarantee of fit for purpose. -- // *| See the project's LICENSE.md for details. ...
/* { dg-do compile } */ /* { dg-options "-fdump-tree-original" } */ typedef unsigned vec __attribute__ ((vector_size (4 * sizeof (int)))); void f (vec *x) { *x = (*x << 4) << 3; } /* { dg-final { scan-tree-dump "<< 7" "original" } } */
// dlgdsgen.h : header file // #ifndef DLGDSGEN ///////////////////////////////////////////////////////////////////////////// // CDlgDsGeneral dialog class CDlgDsGeneral : public CPropertyPage { DECLARE_DYNCREATE(CDlgDsGeneral) // Construction public: CDlgDsGeneral(); ~CDlgDsGeneral(); void PreDialog( CDataSet...
/* * This file is part of the GROMACS molecular simulation package. * * Copyright (c) 2010,2011,2012,2013,2014 by the GROMACS development team. * Copyright (c) 2015,2018,2019,2020,2021, by the GROMACS development team, led by * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl, * and including many o...
/***************************************************************************/ /* */ /* ftoutln.c */ /* */ /* Fr...
// 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...
/* ---------------------------------------------------------------------- * Copyright (C) 2010-2014 ARM Limited. All rights reserved. * * $Date: 31. July 2014 * $Revision: V1.4.4 * * Project: CMSIS DSP Library * Title: arm_const_structs.c * * Description: This file has constant structs that are...
#pragma once #include "frame/config.h" #ifdef MODULE_MASK #include <ee0/GameObj.h> #include <wx/dialog.h> #include <wx/aui/framemanager.h> namespace ee0 { class RenderContext; class WindowContext; } ECS_WORLD_DECL namespace eone { class WxPreviewPanel; class WxStagePage; namespace mask { class WxEditDialog : p...
/* * This header is generated by classdump-dyld 1.5 * on Wednesday, April 28, 2021 at 9:08:34 PM Mountain Standard Time * Operating System: Version 14.5 (Build 18L204) * Image Source: /System/Library/PrivateFrameworks/ProVideo.f...
/***********************************************************************; * Copyright (c) 2015 - 2017, Intel Corporation * 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. Redistributio...
/* Copyright (C) 1996-2016 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published b...
/* * Copyright (c) 2016 Intel Corporation. * Copyright (c) 2013-2015 Wind River Systems, Inc. * * SPDX-License-Identifier: Apache-2.0 */ /** * @file * @brief Atmel SAM3X MCU series initialization code * * This module provides routines to initialize and support board-level hardware * for the Atmel SAM3X serie...
#ifndef LINUX_MSI_H #define LINUX_MSI_H #include <linux/kobject.h> #include <linux/list.h> struct msi_msg { u32 address_lo; /* low 32 bits of msi message address */ u32 address_hi; /* high 32 bits of msi message address */ u32 data; /* 16 bits of msi message data */ }; extern int pci_msi_ignore_mask; /* Helper f...
/* GIO - GLib Input, Output and Streaming Library * * Copyright © 2009 Codethink Limited * * This program 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 of the licence or (at * ...
/* * AVI demuxer * Copyright (c) 2001 Fabrice Bellard * * This file is part of FFmpeg. * * FFmpeg 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 you...
#ifndef CC_GUI_H #define CC_GUI_H #include "Input.h" #include "Event.h" #include "VertexStructs.h" /* Describes and manages 2D GUI elements on screen. Copyright 2014-2017 ClassicalSharp | Licensed under BSD-3 */ enum GuiAnchor { ANCHOR_MIN, /* = offset */ ANCHOR_CENTRE, /* = (axis/2) - (size/2) - offse...
// AsmJit - Machine code generation for C++ // // * Official AsmJit Home Page: https://asmjit.com // * Official Github Repository: https://github.com/asmjit/asmjit // // Copyright (c) 2008-2020 The AsmJit Authors // // This software is provided 'as-is', without any express or implied // warranty. In no event will the...
/** * \file tal_pib.h * * \brief This file contains the prototypes for TAL PIB functions. * * Copyright (c) 2013-2015 Atmel Corporation. All rights reserved. * * \asf_license_start * * \page License * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided...
/** * FreeRDP: A Remote Desktop Protocol Implementation * Client Channels * * Copyright 2014 Marc-Andre Moreau <marcandre.moreau@gmail.com> * * 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 Licens...
// Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved. // Full license terms provided in LICENSE.md file. #ifndef CAFFE_ROS_TENSOR_NET_H #define CAFFE_ROS_TENSOR_NET_H #include <ros/ros.h> #include <NvInfer.h> #include <opencv2/opencv.hpp> // REVIEW alexeyk: OpenCV that comes with JetPack 3.2 is compiled wit...
#include "repo.h" int repo_create(char *name) { char *nFullpath, *rPath; struct stat rStat; int ret = GITORIUM_ERROR; config_lookup_string(&aCfg, "repositories", (const char **)&rPath); nFullpath = malloc(sizeof(char) * (strlen(rPath) + strlen(name) + strlen(".git") + 1)); if (NULL == nFullpath) return GITOR...
/** \file * \brief Declaration of a c-planarity testing algorithm, * based on a completely connected graph extension. * * \author Karsten Klein, Markus Chimani * * \par License: * This file is part of the Open Graph Drawing Framework (OGDF). * * \par * Copyright (C)<br> * See README.txt in the root directory...
// (C) Copyright Kirill Lykov 2012. // // Distributed under the FreeBSD Software License (See accompanying file license.txt) #ifndef TRAITS_VTK_H_ #define TRAITS_VTK_H_ #ifdef USE_VTK #include <vtkStructuredPointsReader.h> #include <vtkStructuredPointsWriter.h> #include <vtkStructuredPoints.h> #include <vtkXMLImage...
/*************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | * / __| | | | |_) | | * | (__| |_| | _ <| |___ * \___|\...
// // TJOrderDetailModel.h // FreelyHeath // // Created by L on 2018/1/11. // Copyright © 2018年 深圳乐易住智能科技股份有限公司. All rights reserved. // #import <Foundation/Foundation.h> @interface TJOrderDetailModel : NSObject @property (nonatomic,copy)NSString *name; @property (nonatomic,copy)NSString *patientname; @property ...
/********************************************************************************************** * * raudio - A simple and easy-to-use audio library based on mini_al * * FEATURES: * - Manage audio device (init/close) * - Load and unload audio files * - Format wave data (sample rate, size, channels)...
#ifndef MACDOCKICONHANDLER_H #define MACDOCKICONHANDLER_H #include <QtCore/QObject> #include <QMainWindow> QT_BEGIN_NAMESPACE class QIcon; class QMenu; class QWidget; QT_END_NAMESPACE #ifdef __OBJC__ @class DockIconClickEventHandler; #else class DockIconClickEventHandler; #endif /** Macintosh-specific dock icon han...
/*------------------------------------------------------------------------- * * pg_extension.h * definition of the system "extension" relation (pg_extension) * along with the relation's initial contents. * * * Portions Copyright (c) 1996-2017, PostgreSQL Global Development Group * Portions Copyright (...
/* * SendChannelEndTable.h * * Component responsible for sending data out onto the network. * * Created on: 14 Jan 2010 * Author: db434 */ #ifndef SENDCHANNELENDTABLE_H_ #define SENDCHANNELENDTABLE_H_ #include "../../../LokiComponent.h" #include "../../../Network/FIFOs/NetworkFIFO.h" #include "../../../N...
/* Test of fbufmode() function. Copyright (C) 2007-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 version 3 of the License, or (at your opti...
/* Video Core Copyright (c) 2014 James G. Hurley 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, merge, ...
#ifndef Py_PYCORECONFIG_H #define Py_PYCORECONFIG_H #ifdef __cplusplus extern "C" { #endif #ifndef Py_LIMITED_API typedef struct { const char *prefix; const char *msg; int user_err; } _PyInitError; /* Almost all errors causing Python initialization to fail */ #ifdef _MSC_VER /* Visual Studio 2015 does...
// // TransitioningContext.h // Transition // // Created by kimiLin on 2017/2/5. // Copyright © 2017年 KimiLin. All rights reserved. // #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> @interface TransitioningContext : NSObject<UIViewControllerContextTransitioning> - (instancetype)initWithContainer:(UIVie...
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* plugins/kdb/ldap/ldap_exp.c */ /* * Copyright (c) 2004-2005, Novell, 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: *...
#include "client_command_parser.h" #include "commands_format.h" #include <string.h> #include <stdio.h> #define CLIENT_DELIMITER " " static bool check_trailing_stuff(void) { char *token = strtok(NULL, CLIENT_DELIMITER); return token == NULL; } static bool parse_register(char *username) { char *toke...
#pragma once #include "WeightedDirectedLinkGraph.h" template<class T, class W = int, class E = _DefaultWeightedEdgeType<W>> class WeightedUndirectedLinkGraph :public WeightedDirectedLinkGraph<T, W, E> { public: using typename GraphBase<T, W>::VertexType; using typename GraphBase<T, W>::WeightType; using typename...
/* p12_attr.c */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 1999. */ /* ==================================================================== * Copyright (c) 1999 The OpenSSL Project. All rights reserved. * * Redistribution and use in source and binary forms, with or without *...
/////////////////////////////////////////////////////////////////////////////// // Authors: Ilgweon Kang and Lutong Wang // (respective Ph.D. advisors: Chung-Kuan Cheng, Andrew B. Kahng), // based on Dr. Jingwei Lu with ePlace and ePlace-MS // // Many subsequent improvements were made by Ming...
// // CustomeAdapter.h // RCTVideo // // Created by Muhammad Dwairi on 11/21/19. // Copyright © 2019 Facebook. All rights reserved. // #import <Foundation/Foundation.h> #import <YouboraAVPlayerAdapter/YBAVPlayerAdapter.h> NS_ASSUME_NONNULL_BEGIN @interface CustomAdapter : YBAVPlayerAdapter @property NSDictionar...
/* * This header is generated by classdump-dyld 1.0 * on Saturday, June 1, 2019 at 6:53:17 PM Mountain Standard Time * Operating System: Version 12.1.1 (Build 16C5050a) * Image Source: /System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elia...
/* * GPL HEADER START * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * 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. * * This program is distributed...
/** \file real_utilities.h \brief A simple template based interface to some common C float/double constants to ease writing of templated code. */ #pragma once #include "core_defines.h" #ifdef _USE_MATH_DEFINES #include <math.h> #else #define _USE_MATH_DEFINES #include <math.h> #undef _USE_MATH_DEFINES #endif #i...
// // DynamicFactory.h // // $Id: //poco/1.7/Foundation/include/Poco/DynamicFactory.h#1 $ // // Library: Foundation // Package: Core // Module: DynamicFactory // // Definition of the DynamicFactory class. // // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. // and Contributors. // // SPDX-Lice...
// // Created by Martin Bompaire on 22/10/15. // #ifndef LIB_INCLUDE_TICK_SOLVER_SGD_H_ #define LIB_INCLUDE_TICK_SOLVER_SGD_H_ // License: BSD 3 clause #include "sto_solver.h" #include "tick/base_model/model.h" #include "tick/prox/prox.h" template <class T> class DLL_PUBLIC TSGD : public TStoSolver<T> { protected:...
// // Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 30 2020 21:18:12). // // Copyright (C) 1997-2019 Steve Nygard. // #import <objc/NSObject.h> #import <DVTFoundation/DVTAccountBasedSession-Protocol.h> @class DVTDeveloperAccount, DVTDeveloperAccountSession, DVTDispatchLock, DVTLogAspect, NSDa...
/**************************************************************************** * * * OpenNI 1.x Alpha * * Copyright (C) 2011 PrimeSense Ltd. * * ...
#ifndef MADARA_KNOWLEDGE_ENGINE_UPDATE_TYPES #define MADARA_KNOWLEDGE_ENGINE_UPDATE_TYPES namespace madara { namespace knowledge { enum { ASSIGNMENT = 0, MULTIPLE_ASSIGNMENT = 1 }; } } #endif // MADARA_KNOWLEDGE_ENGINE_UPDATE_TYPES