text stringlengths 9 948k |
|---|
/*
* These files are taken from the MCF523X source code example package
* which is available on the Freescale website. Freescale explicitly
* grants the redistribution and modification of these source files.
* The complete licensing information is available in the file
* LICENSE_FREESCALE.TXT.
*
* File: mcf523... |
#include "stdio.h"
#include "stdlib.h"
#include "time.h"
// 插入排序
void insert_sort(int *a,int length){
int tmp ;
int i,j;
for (i = 1; i < length; ++i)
{
for ( tmp=a[i],j=i-1 ; j>=0 && a[j] > tmp ; j--)
{
a[j+1]=a[j];
}
// j+1是插入的位置
a[j+1]... |
/*
* FreeRTOS V202107.00
* Copyright (C) 2020 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, including ... |
/*****************************************************************-*-c-*-*\
* * *
* ##### * Copyright (c) 2000 Giovanni Squillero *
* ###### * http://staff.polito.it/giovanni.squillero/ *
* ### \ * ... |
/*! @file
@brief 指差しカーソル
@author Uchi
@date 2013年1月29日
*/
/*
Copyright (C) 2013, Uchi
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this sof... |
/* Copyright 2020 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
/* TCPM on ITE chip it8xxx2 with embedded TCPC */
#include "common.h"
#include "config.h"
#include "console.h"
#include "it83xx_pd.h"
#include "re... |
// 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_SSL_CLIENT_CERTIFICATE_SELECTOR_H_
#define CHROME_BROWSER_SSL_CLIENT_CERTIFICATE_SELECTOR_H_
#include "base/callback_forward.h... |
/**********************************************
* CONFIDENTIAL AND PROPRIETARY
*
* The information contained herein is the confidential and the exclusive property of
* ZIH Corp. This document, and the information contained herein, shall not be copied, reproduced, published,
* displayed or distributed, in whole o... |
#include "../../crypto/dh/dh.h" |
#ifndef SAPOTACHE_INTERFACE_H
#define SAPOTACHE_INTERFACE_H
#include <stdlib.h>
/* Positions */
struct position { unsigned int x,y; };
/* Cards */
/* Recall that each card possess a long and a short side. All the
cards are described here such as the horizontal side is the longest.
This description will be consider... |
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_arg_check_go.c :+: :+: :+: ... |
#pragma once
#include "GPUEventEstimatorP.h"
#include "DefaultEstimatorsKC.cuh"
#include "TypeTraits.h"
#include "TracerLib/DeviceMemory.h"
class GPUEventEstimatorBasic final
: public GPUEventEstimator<BasicEstimatorData,
EstimateEventBasic,
TerminateE... |
/*
Copyright (c) 2002 by Tomohiro KUBOTA
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, publish, distribu... |
/*
* Copyright (C) 2012 Indragie Karunaratne <i@indragie.com>
* 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... |
// Copyright (c) 2019 The PIVX Core Developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef COLDSTAKINGWIDGET_H
#define COLDSTAKINGWIDGET_H
#include "qt/concrete/pwidget.h"
#include "qt/concrete/furabstractlistitemde... |
#include <ccan/block_pool/block_pool.h>
#include <ccan/block_pool/block_pool.c>
#include <ccan/tap/tap.h>
struct alloc_record {
size_t size;
char *ptr;
};
static int compar_alloc_record_by_ptr(const void *ap, const void *bp) {
const struct alloc_record *a=ap, *b=bp;
if (a->ptr < b->ptr)
return -1;
else if (a... |
/* v3_purp.c */
/*
* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL project
* 2001.
*/
/* ====================================================================
* Copyright (c) 1999-2004 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or wit... |
/* SPDX-License-Identifier: GPL-2.0+ */
#ifndef BCM2835_MFD_PM_H
#define BCM2835_MFD_PM_H
#include <linux/regmap.h>
struct bcm2835_pm {
struct device *dev;
void __iomem *base;
void __iomem *asb;
void __iomem *rpivid_asb;
};
#endif /* BCM2835_MFD_PM_H */ |
#include <errno.h>
#include "character.h"
#include "constant.h"
#include "hashtable.h"
#include "strtype.h"
#include "symbol.h"
/*
* character check
*/
_g int isbasechar(unicode x)
{
return isBaseChar(x);
}
_g int isuppercase(unicode x)
{
return isUpperCase(x);
}
_g int islowercase(unicode x)
{
return isLowerC... |
/*--------------------------------------------------------------------------------------------------
*
* yb_scan.c
* YugaByte catalog scan API.
* This is used to access data from YugaByte's system catalog tables.
*
* Copyright (c) YugaByte, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "Licen... |
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* 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/. */
#ifndef NSCLIENTRECT_H_
#define NS... |
/****************************************************************************
**
** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtGui module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees ... |
/*
* Server-side socket management
*
* Copyright (C) 1999 Marcus Meissner, Ove Kåven
*
* 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 ... |
// 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 THIRD_PARTY_BLINK_RENDERER_PLATFORM_GRAPHICS_CANVAS_HEURISTIC_PARAMETERS_H_
#define THIRD_PARTY_BLINK_RENDERER_PLATFORM_GRAPHICS_CANVAS_HEURISTIC_... |
#pragma once
#include <iostream>
namespace smash {
class Sphere {
public:
float positionX;
float positionY;
float positionZ;
float velocityX;
float velocityY;
float velocityZ;
float radius;
float mass;
Sphere(void);
void step(float);
};
} |
#pragma once
#include <Windows.h>
namespace sparky {
class Timer
{
private:
LARGE_INTEGER m_Start;
double m_Frequency;
public:
Timer()
{
LARGE_INTEGER frequency;
QueryPerformanceFrequency(&frequency);
m_Frequency = 1.0 / frequency.QuadPart;
QueryPerformanceCounter(&m_Start);
}
void rese... |
#ifndef _PORTRULE_INCLUDED_
#define _PORTRULE_INCLUDED_
#include "WLBS_Root.h"
////////////////////////////////////////////////////////////////////////////////
//
// class CWLBS_PortRule
//
// Purpose: This class executes IWbemServices methods on behalf of the provider
// and supports the MOF node configurat... |
/*
ChibiOS - Copyright (C) 2017 Theodore Ateba
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 ... |
/*
* Copyright 2017-2019 Autoware Foundation. 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 requi... |
/* $NetBSD: bus.h,v 1.12 1997/10/01 08:25:15 fvdl Exp $ */
/*-
* SPDX-License-Identifier: (BSD-2-Clause-NetBSD AND BSD-4-Clause)
*
* Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
* All rights reserved.
*
* This code is derived from software contributed to The NetBSD Foundation
* by Jason R. Thorpe of the... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
/*
* Copyright (c) 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
... |
#pragma once
#include "mathUtils.h"
//! An %ODE to be solved by QssIntegrator
class QssOde
{
public:
QssOde() {}
virtual ~QssOde() {}
//! Evaluate the %ODE function. The %ODE should have the form:
//! \f[ y' = q(y) - d(y) \f]
//! @param t Time [s] at which to evaluate the equations
//! @param ... |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/guardduty/GuardDuty_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace GuardDuty
{
namespace Model
{
enum class FindingPublishingFreque... |
/*
Copyright 1999-2009 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
http://www.imagemagick.org/script/license.php
Unless required ... |
/***
* ==++==
*
* Copyright (c) Microsoft Corporation. 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 a... |
#if !__has_include(<AVFCore/AVAssetExportSession.h>)
/*
File: AVAssetExportSession.h
Framework: AVFoundation
Copyright 2010-2020 Apple Inc. All rights reserved.
*/
#import <AVFoundation/AVBase.h>
#import <AVFoundation/AVMediaFormat.h>
#import <AVFoundation/AVAudioProcessingSettings.h>
#import <Foundation/Fou... |
/*
* This header is generated by classdump-dyld 1.5
* on Friday, April 30, 2021 at 11:35:05 AM Mountain Standard Time
* Operating System: Version 13.5.1 (Build 17F80)
* Image Source: /System/Library/PrivateFrameworks/UIKitCore.f... |
/* Generated by RuntimeBrowser
Image: /System/Library/PrivateFrameworks/PowerlogCore.framework/PowerlogCore
*/
@interface PLActivityCriterion : NSObject {
<PLActivityCriterionDelegate> * _delegate;
bool _satisfied;
}
@property <PLActivityCriterionDelegate> *delegate;
@property (nonatomic) bool satisfied;... |
//
// JMDefine.h
// JSONModelDemo_iOS
//
// Created by nobby heell on 2019/1/5.
// Copyright © 2019年 Zhuoqian Zhou ltd. All rights reserved.
//
#ifndef JMDefine_h
#define JMDefine_h
@class FMResultSet;
typedef void(^FMDBCompletionBlock)(NSError *err, FMResultSet* rsl);
typedef void(^FMDBUpdateCompletionBlock)(NSEr... |
// See LICENSE for license details.
#ifndef _RISCV_MMU_H
#define _RISCV_MMU_H
#include "decode.h"
#include "trap.h"
#include "common.h"
#include "config.h"
#include "sim.h"
#include "processor.h"
#include "memtracer.h"
#include <stdlib.h>
#include <vector>
// virtual memory configuration
#define PGSHIFT 12
const reg... |
/* Topology Builder Bruce D. Ray
IUPUI Physics Dept. NMR Center
402 N. Blackford St.
Indianapolis, IN 46202
USA
force field comparison header compare_FF.h
*/
#include "similars.h"
#include "mol2.h"
#include "amber_FF.h"
#include "GMX_FF.h"
#include "block_memory.h"
#define MAXCHAR 256
e... |
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <string.h>
#include <math.h>
#include "mcce.h"
extern int rm_comment(char *target, char *str);
int main(int argc, char *argv[]) {
int i_arg, i, i_res,i_conf,k_res,k_conf,n_atom,n_prot;
FILE *fp, *pdb_fp;
char outpdb[256], list[256], sbuff[25... |
/*
* git.c
*
* Copyright (C) 2012-20 - ntop.org
*
* This module 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 3 of the License, or
* (at your option) any later version.
*
* Th... |
//===- AST.h - Node definition for the CAL AST ----------------------------===//
//
// Part of the StreamBlocks Project, under the Apache License v2.0
// with LLVM Exceptions. See https://llvm.org/LICENSE.txt for license
// information. SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===-------------------... |
// SPDX-License-Identifier: BSD-3-Clause
//
// Copyright 2019 NXP
//
// Author: Daniel Baluta <daniel.baluta@nxp.com>
#include <sof/dma.h>
#include <sof/io.h>
#include <platform/dma.h>
#include <errno.h>
#include <stdint.h>
#include <string.h>
#include <config.h>
static inline void edma_write(struct dma *dma, uint32_... |
/*******************************************************************
* _________ _____ _____ ____ _____ ___ ____ *
* |_ ___ | |_ _| |_ _| |_ \|_ _| |_ ||_ _| *
* | |_ \_| | | | | | \ | | | |_/ / *
* | _| | | _ | | | |\... |
/*
Copyright (c) 2005-2016, University of Oxford.
All rights reserved.
University of Oxford means the Chancellor, Masters and Scholars of the
University of Oxford, having an administrative office at Wellington
Square, Oxford OX1 2JD, UK.
This file is part of Aboria.
Redistribution and use in source and binary forms... |
/*
* linux/drivers/regulator/aat2870-regulator.c
*
* Copyright (c) 2011, NVIDIA Corporation.
* Author: Jin Park <jinyoungp@nvidia.com>
*
* 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 published by the Free Software Fou... |
// Copyright 2016 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_MODULES_PAYMENTS_PAYMENT_APP_SERVICE_WORKER_REGISTRATION_H_
#define THIRD_PARTY_BLINK_RENDERER_MODULES_PAYMENTS_PAYMENT... |
#ifndef LEDEVICEYEELIGHT_H
#define LEDEVICEYEELIGHT_H
// LedDevice includes
#include <leddevice/LedDevice.h>
// Qt includes
#include <QTcpSocket>
#include <QHostAddress>
#include <QTcpServer>
#include <QColor>
#include <chrono>
// Constants
namespace {
// List of State Information
const char API_METHOD_POWER[] = "... |
/**
* Copyright 2020-2022 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 applicabl... |
/*
*
* Copyright 2015 gRPC 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 agree... |
/***************************************************************************
Copyright 2016 Hewlett Packard Enterprise Development LP.
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 ... |
#include "config.h"
#include "kernel/kernel.h"
#include "arch/common/elf_boot.h"
#include "libopenbios/sys_info.h"
#include "context.h"
#include "boot.h"
#define printf printk
#ifdef CONFIG_DEBUG_BOOT
#define debug printk
#else
#define debug(x...)
#endif
uint64_t qemu_mem_size;
unsigned long va_shift;
void collect_m... |
// SPDX-License-Identifier: GPL-2.0
/* Copyright (c) 2017 - 2018 Covalent IO, Inc. http://covalent.io */
#include <linux/skmsg.h>
#include <linux/filter.h>
#include <linux/bpf.h>
#include <linux/init.h>
#include <linux/wait.h>
#include <net/inet_common.h>
#include <net/tls.h>
static int bpf_tcp_ingress(struct sock *... |
// Serial Parrot C program for LM-8 architecture
extern void write(unsigned int port, unsigned int value);
extern unsigned int read(unsigned int port);
extern void draw_sprite(unsigned int x, unsigned int y, char* sprite);
extern void draw_pixel(unsigned int x, unsigned int y, unsigned int color);
extern void print(ch... |
/*
* driver.c - driver support
*
* (C) 2006-2007 Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
* Shaohua Li <shaohua.li@intel.com>
* Adam Belay <abelay@novell.com>
*
* This code is licenced under the GPL.
*/
#include <linux/mutex.h>
#include <linux/module.h>
#include <linux/sc... |
//**********************************************************************;
// Copyright (c) 2015-2018, 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. Redistributions... |
/****************************************************************************
Copyright (c) 2010 cocos2d-x.org
http://www.cocos2d-x.org
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 res... |
/*
* 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 file is part of Calamares - <https://github.com/calamares> ===
*
* SPDX-FileCopyrightText: 2019 Collabora Ltd <arnaud.ferraris@collabora.com>
* SPDX-FileCopyrightText: 2019 Adriaan de Groot <groot@kde.org>
*
* Calamares is free software: you can redistribute it and/or modify
* it under the te... |
/*
* Arm SCP/MCP Software
* Copyright (c) 2020-2021, Arm Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef MCP_RDDANIEL_MMAP_MCP_H
#define MCP_RDDANIEL_MMAP_MCP_H
#define MCP_ROM_BASE 0x00000000
#define MCP_RAM0_BASE 0x00800000
#define MCP_RA... |
#include "client.h"
static int get_node_index(t_list* chats, int chat_id) {
t_list *tmp = chats;
while (tmp) {
if (((t_chat_info*)tmp->data)->chat_id == chat_id)
return ((t_chat_info*)tmp->data)->node_index;
tmp = tmp->next;
}
return -1;
}
void mx_go_to_dialog(t_info*info,... |
#pragma once
#include <diesel.h>
float clamp(float d, float minValue, float maxValue);
float calculate_rotation(const ds::vec2& v);
bool is_inside(const ds::vec2& pos, const ds::vec2& p, const ds::vec2& r);
namespace math {
bool collides(const ds::vec2& p1, float r1, const ds::vec2& p2, float r2);
bool line_cir... |
/******************************************************************************
* Copyright (c) Intel Corporation - All rights reserved. *
* This file is part of the LIBXSMM library. *
* *
... |
//===-- DWARFAbbreviationDeclaration.h --------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... |
//
// -----------------------------------------------------------------------------
// File: random.h
// -----------------------------------------------------------------------------
//
// This header defines the recommended Uniform Random Bit Generator (URBG)
// types for use within the abel Random library. These type... |
/*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010-2015 Facebook, Inc. (http://www.facebook.com) |
+---------... |
//------------------------------------------------------------------------------
// GB_AxB__times_min_uint64.c: matrix multiply for a single semiring
//------------------------------------------------------------------------------
// SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2021, All Rights Reserved.
// SPDX-... |
// ==============================================================
// File generated by Vivado(TM) HLS - High-Level Synthesis from C, C++ and SystemC
// Version: 2017.3
// Copyright (C) 1986-2017 Xilinx, Inc. All Rights Reserved.
//
// ==============================================================
#ifndef XV_GAMMA_LUT_... |
/******************************************************************************
* Copyright (C) 2007 - Ikaro Games www.ikarogames.com *
* *
* This program is free software; you can redistribute it and/or *
... |
/* Copyright (c) 2021 vesoft inc. All rights reserved.
*
* This source code is licensed under Apache 2.0 License.
*/
#ifndef STORAGE_ADMIN_GETLEADERPROCESSOR_H_
#define STORAGE_ADMIN_GETLEADERPROCESSOR_H_
#include "common/base/Base.h"
#include "kvstore/NebulaStore.h"
#include "storage/BaseProcessor.h"
#include "st... |
/** @file
*
* Copyright (c) 2011-2015, ARM Limited. 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/l... |
/* $FreeBSD: src/contrib/cpio/src/util.c,v 1.2 2005/10/01 05:52:40 tjr Exp $ */
/* util.c - Several utility routines for cpio.
Copyright (C) 1990, 1991, 1992, 2001, 2004 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General P... |
#pragma once
#include <ING/EntryPoint/EntryPoint.h>
#include <string>
#include "GetRootName.h"
#include <filesystem>
/**
* Include String
*/
#include <ING/Utils/String/String.h>
namespace ING {
namespace Utils {
namespace Path {
ING_API WString GetDirectoryPath(const WString& pathStr);
}
}
} |
/*=========================================================================
Program: Visualization Toolkit
Module: vtkPGenericIOReader.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software is dist... |
#pragma once
#include <array>
#include <Common/SipHash.h>
#include <Common/Arena.h>
#include <Common/UInt128.h>
#include <Common/HashTable/Hash.h>
#include <Common/memcpySmall.h>
#include <Common/assert_cast.h>
#include <Core/Defines.h>
#include <common/StringRef.h>
#include <Columns/IColumn.h>
#include <Columns/Colu... |
/*
Copyright (c) 2007-2017 by Jakob Schröter <js@camaya.net>
This file is part of the gloox library. http://camaya.net/gloox
This software is distributed under a license. The full license
agreement can be found in the file LICENSE in this distribution.
This software may not be copied, modified, sold or distr... |
#include <ngx_http.h>
static char *ngx_http_ndg_echo(ngx_conf_t* cf, ngx_command_t *cmd, void *conf);
static void *ngx_http_ndg_echo_create_loc_conf(ngx_conf_t* cf);
static ngx_int_t ngx_http_ndg_echo_handler(ngx_http_request_t *r);
typedef struct {
ngx_str_t msg; //存储配置文件里的字符串
} ngx_http_ndg_echo_loc_conf_t... |
/* Generated by RuntimeBrowser
Image: /System/Library/PrivateFrameworks/PhotosUICore.framework/PhotosUICore
*/
@interface PXSeenAssetSettingsViewController : UIViewController <UITableViewDataSource, UITableViewDelegate> {
PHFetchResult * _fetchResult;
UITableView * _tableView;
}
@property (readonly, copy)... |
/*
+----------------------------------------------------------------------+
| Copyright (c) The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is ... |
/*******************************************************************************
System Interrupts File
Company:
Microchip Technology Inc.
File Name:
interrupt.c
Summary:
Interrupt vectors mapping
Description:
This file maps all the interrupt vectors to their corresponding
implementatio... |
/**
* Copyright 2019-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 applicabl... |
/*
* Copyright (c) 2012, 2013, Joel Bodenmann aka Tectu <joel@unormal.org>
* Copyright (c) 2012, 2013, Andrew Hannam aka inmarket
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * R... |
// biu_reg.h 6-18-2010
// gen_biu Ver 1.0 generated by weili.su
#define xd_p_reg_pd_a (*(volatile byte xdata *) 0xEC02)
#define p_reg_pd_a 0xEC02
#define reg_pd_a_pos 0
#define reg_pd_a_len 6
#define reg_pd_a_lsb 0
#define xd_r_reg_lo_cal (*(volatile byte xdata *) 0xEC02)
#define r_reg_lo_cal 0xEC02
#define r... |
// Copyright 2021 The Wuffs 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed... |
// SPDX-License-Identifier: Apache-2.0
/*
* Copyright (C) 2014 Intel Corporation
*
*/
#define _GNU_SOURCE
#include <stdbool.h>
#include "emulator/bthost.h"
#include "lib/bluetooth.h"
#include "android/utils.h"
#include "src/shared/tester.h"
#include "src/shared/queue.h"
#include "tester-main.h"
static struct queu... |
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __PERF_MACHINE_H
#define __PERF_MACHINE_H
#include <sys/types.h>
#include <linux/rbtree.h>
#include "map_groups.h"
#include "dso.h"
#include "event.h"
#include "rwsem.h"
struct addr_location;
struct branch_stack;
struct perf_evsel;
struct perf_sample;
struct symbol;
stru... |
/*
* Copyright 2015 The Android Open Source Project
*
* 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 applica... |
/*
* Copyright 2018 Google
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... |
/*
File: DriverSupport.h
Contains: Driver Support Interfaces.
Version: Technology: Sustem 8
Release: QuickTime 6.0.2
Copyright: (c) 1985-2001 by Apple Computer, Inc., all rights reserved
Bugs?: For bug reports, consult the following page on
... |
/** @file
UEFI Dxe DebugLib constructor that prevent some debug service after ExitBootServices event,
because some pointer is nulled at that phase.
Copyright (c) 2018, Microsoft Corporation
Copyright (c) 2015 - 2019, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**... |
/*
* nextpnr -- Next Generation Place and Route
*
* Copyright (C) 2018 David Shah <david@symbioticeda.com>
*
* 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 appe... |
/* $OpenBSD: ohash_init.c,v 1.2 2004/06/22 20:00:16 espie Exp $ */
/* ex:ts=8 sw=4:
*/
/* Copyright (c) 1999, 2004 Marc Espie <espie@openbsd.org>
*
* 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 a... |
#ifndef __EVENTPIPE_H__
#define __EVENTPIPE_H__
#include "ep-rt-config.h"
#ifdef ENABLE_PERFTRACING
#include "ep-types.h"
#include "ep-stack-contents.h"
#include "ep-rt.h"
/*
* Globals and volatile access functions.
*/
static
inline
EventPipeState
ep_volatile_load_eventpipe_state (void)
{
extern volatile EventPi... |
/***************************************************************************************************
* Copyright 2020 NVIDIA Corporation. All rights reserved.
**************************************************************************************************/
/// \file
/// \brief Main factory function.
#ifndef MI_NEU... |
//
// WeftViewController.h
// weft
//
// Created by Matthew Mower on 16/07/2019.
// Copyright © 2019 TAON. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@class WeftApplication;
NS_ASSUME_NONNULL_BEGIN
@interface WeftViewController : NSViewController
@property (readonly) NSString *source;
@property (readonly)... |
//
// DDQDependencyHeader.h
//
// Copyright © 2017年 DDQ. All rights reserved.
#ifndef DDQDependencyHeader_h
#define DDQDependencyHeader_h
#import <Masonry/Masonry.h>
#import <MJRefresh/MJRefresh.h>
#import <MJExtension/MJExtension.h>
#import <MBProgressHUD/MBProgressHUD.h>
#import <AFNetworking/AFNetworking.h>
#imp... |
/*****************************************************************************
Copyright (c) 2014, Intel Corp.
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 cod... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.