text stringlengths 9 948k |
|---|
// SPDX-License-Identifier: GPL-2.0-or-later
/*
* OSS emulation layer for the mixer interface
* Copyright (c) by Jaroslav Kysela <perex@perex.cz>
*/
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/time.h>
#include <linux/string.h>
#include <linux/module.h>
#include <linux/compat.h>
#include <sound... |
/* Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root.
*/
#pragma once
#include "atn/ATN.h"
#include "misc/IntervalSet.h"
#include "support/CPPUtils.h"
#include "atn/PredictionCo... |
/* Do not edit this file. It was automatically generated. */
#ifndef HEADER_Process
#define HEADER_Process
/*
htop - Process.h
(C) 2004-2015 Hisham H. Muhammad
Released under the GNU GPL, see the COPYING file
in the source distribution for its full text.
*/
#ifdef MAJOR_IN_MKDEV
#elif defined(MAJOR_IN_SYSMACROS) || \... |
/*
* @brief LPC82x DMA chip driver
*
* @note
* Copyright(C) NXP Semiconductors, 2013
* All rights reserved.
*
* @par
* Software that is described herein is for illustrative purposes only
* which provides customers with programming information regarding the
* LPC products. This software is supplied "AS IS" wi... |
#ifndef DESKTOPAPPS_H
#define DESKTOPAPPS_H
#include <QStringList>
extern QStringList DesktopApps();
#endif // DESKTOPAPPS_H |
/*
* Occurance.h
*
* Created on: Nov 6, 2015
* Author: mrhs
*/
#include "Document.h"
#include "Term.h"
#include <string>
#include <vector>
#ifndef OCCURANCE_H_
#define OCCURANCE_H_
using namespace std;
class Occurance {
public:
Occurance(Document* doc);
virtual ~Occurance();
void pushAddr(int addr);
... |
#include <string.h>
#include <stdint.h>
#include "jerry.h"
#include "os.h"
#include "net_init.h"
#include "network_init.h"
#include "wifi_api.h"
#include "lwip/netif.h"
#include "lwip/tcpip.h"
#include "lwip/sockets.h"
#include "ethernetif.h"
#include "lwip/sockets.h"
#include "netif/etharp.h"
#include "microlattice... |
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "EUTRA-RRC-Definitions"
* found in "/home/lixh/ue_folder/openair2/RRC/LTE/MESSAGES/asn1c/ASN1_files/lte-rrc-14.7.0.asn1"
* `asn1c -pdu=all -fcompound-names -gen-PER -no-gen-OER -no-gen-example -D /home/lixh/ue_folder/cmake_targets/lte_b... |
#ifndef CAFFE2_CORE_STORAGE_H_
#define CAFFE2_CORE_STORAGE_H_
#include <cstddef>
#include <cstdint>
#include <fstream>
#include <sstream>
#include <type_traits>
#include <typeinfo>
#include <vector>
#include "caffe2/core/allocator.h"
#include "caffe2/core/common.h"
#include "caffe2/core/context.h"
#include "caffe2/co... |
//
// ReactNativeSupportNoARC.h
// Detox
//
// Created by Leo Natan (Wix) on 3/27/19.
// Copyright © 2019 Wix. All rights reserved.
//
#import <Foundation/Foundation.h> |
// <tr1/shared_ptr.h> -*- C++ -*-
// Copyright (C) 2007-2017 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library 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 Foundatio... |
/*
* Copyright (c) 2002-2008 Sam Leffler, Errno Consulting
* Copyright (c) 2002-2008 Atheros Communications, Inc.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appe... |
/*
* This header is generated by classdump-dyld 1.5
* on Friday, April 30, 2021 at 11:35:19 AM Mountain Standard Time
* Operating System: Version 13.5.1 (Build 17F80)
* Image Source: /System/Library/Frameworks/CoreTelephony.fram... |
#include "stdio.h"
#include "stdlib.h"
#include "limits.h"
#define MAX_VEX_NUM 100
short int adj[MAX_VEX_NUM][MAX_VEX_NUM];
int dist[MAX_VEX_NUM][MAX_VEX_NUM];
int pred[MAX_VEX_NUM][MAX_VEX_NUM];
void floyd_warshall (int vex_num) {
for (int i = 0; i < vex_num; i++)
for (int j = 0; j < vex_num; j++) {
... |
/*
* This header is generated by classdump-dyld 1.5
* on Friday, April 30, 2021 at 11:35:38 AM Mountain Standard Time
* Operating System: Version 13.5.1 (Build 17F80)
* Image Source: /System/Library/PrivateFrameworks/IMFoundatio... |
#ifndef LIB_OBSTACLE_OBSTACLE_H__
#define LIB_OBSTACLE_OBSTACLE_H__
#include "screen_info.h"
#include <cinttypes>
class Obstacle {
public:
explicit Obstacle(Asset obstacle_asset);
~Obstacle() {}
void UpdateYPosition();
int16_t GetYPosition() const;
bool CollidesWith(const Player& player) const;
private:
... |
/* Modified RJudd June 27, 1998 */
/* SPAWARSYSCEN D881 */
/**********************************************************************
// For TASP VSIPL Documentation and Code neither the United States /
// Government, the United States Navy, nor any of their employees, /
// makes any warranty, express or implied, in... |
/*
Image buffer with color space conversion
Copyright 2014 Ahmet Inan <xdsopl@gmail.com>
*/
#pragma once
#include <stdlib.h>
#include <math.h>
struct image {
float *buffer;
int width, height, total;
char *name;
};
void delete_image(struct image *image)
{
free(image->buffer);
free(image);
}
struct image *new_... |
/*
* utils.c - various utility functions used in pppd.
*
* Copyright (c) 1999-2002 Paul Mackerras. 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 mu... |
/*
*
* (c) 2007 Pengutronix, Sascha Hauer <s.hauer@pengutronix.de>
*
* See file CREDITS for list of people who contributed to this
* project.
*
* 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 Found... |
extern void __VERIFIER_error() __attribute__ ((__noreturn__));
void __VERIFIER_assert(int cond) { if(!(cond)) { ERROR: __VERIFIER_error(); } }
#define N 100
int main ( ) {
int a [N];
int i = 0;
while ( i < N ) {
a[i] = 42;
i = i + 1;
}
i = 0;
while ( i < N ) {
a[i] = 43;
i = i + 1;
}
i... |
/* ==========================================
Unity Project - A Test Framework for C
Copyright (c) 2007-21 Mike Karlesky, Mark VanderVoord, Greg Williams
[Released under MIT License. Please refer to license.txt for details]
========================================== */
#ifndef UNITY_FRAMEWORK_H
#define UNIT... |
// Copyright 2007-2010 Baptiste Lepilleur
// Distributed under MIT license, or public domain if desired and
// recognized in your jurisdiction.
// See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE
#ifndef LIB_JSONCPP_JSON_TOOL_H_INCLUDED
# define LIB_JSONCPP_JSON_TOOL_H_INCLUDED
/* This he... |
/*
* TI DaVinci DM646X EVM board
*
* Derived from: arch/arm/mach-davinci/board-evm.c
* Copyright (C) 2006 Texas Instruments.
*
* (C) 2007-2008, MontaVista Software, Inc.
*
* This file is licensed under the terms of the GNU General Public License
* version 2. This program is licensed "as is" without any warrant... |
/*
* Arm SCP/MCP Software
* Copyright (c) 2015-2019, Arm Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <fwk_element.h>
#include <fwk_macros.h>
#include <fwk_module.h>
#include <mod_pik_clock.h>
#include <sgm775_pik.h>
#include <system_clock.h>
/*
* Rate loo... |
#pragma once
#include <core/gpu/mesh.h>
#include <vector>
#include "Opponent.h"
class Character {
public:
Character();
Character(Mesh* playerPart);
~Character();
glm::vec3 getPos();
void setPos(glm::vec3 pos);
Mesh* getCharacterPartMesh();
glm::mat4 getPlayerPartModelMatrix(int select);
glm::mat4 getHitBoxM... |
/* -*- linux-c -*- ------------------------------------------------------- *
*
* Copyright 2002-2004 H. Peter Anvin - 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 Foun... |
/*
* Copyright (c) 2009-2016, 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 conditions are met:
*
* * Redistributions of source code must retain the above co... |
/*
Simple DirectMedia Layer
Copyright (C) 1997-2013 Sam Lantinga <slouken@libsdl.org>
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 ... |
//===- MapFile.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
//
//===---------------------------... |
/* Generated by Cython 0.29.20 */
#define PY_SSIZE_T_CLEAN
#include "Python.h"
#ifndef Py_PYTHON_H
#error Python headers needed to compile C extensions, please install development version of Python.
#elif PY_VERSION_HEX < 0x02060000 || (0x03000000 <= PY_VERSION_HEX && PY_VERSION_HEX < 0x03030000)
#error Cython... |
/***************************************************************************//**
* @file
* @brief Routines for the Calendar Common plugin.
*******************************************************************************
* # License
* <b>Copyright 2018 Silicon Laboratories Inc. www.silabs.com</b>
******************... |
#ifndef KRITI_MATH__COLOUR_H
#define KRITI_MATH__COLOUR_H
#include <string>
#include <cmath>
namespace Kriti {
namespace Math {
class Colour {
private:
double m_r, m_g, m_b, m_a;
public:
Colour() : m_r(0), m_g(0), m_b(0), m_a(1) {}
Colour(double r, double g, double b, double a = 1.0)
: m_r(r), m_... |
// 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... |
/**
******************************************************************************
* @file stm32f4xx_hal_dac.c
* @author MCD Application Team
* @version V1.5.2
* @date 22-September-2016
* @brief DAC HAL module driver.
* This file provides firmware functions to manage the following
* ... |
/*
* SGI FREE SOFTWARE LICENSE B (Version 2.0, Sept. 18, 2008)
* Copyright (C) 1991-2000 Silicon Graphics, Inc. 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 wi... |
/*
* Copyright (c) 2017-2018 The Linux Foundation. All rights reserved.
*
* 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 ... |
#ifndef _STRUCTURE_
#define _STRUCTURE_
#include <vector>
using namespace std;
#define MIN_LOOP (3)
#define MAX_INT_LOOP_SIZE (30)
#define MAX_HEADER_LENGTH (1000)
// Define the pairability array.
/*
Extended implementation of t_structure class to read stacking/danglings from the file.
*/
class t_structure
{
publi... |
/*
* WinDrawLib
* Copyright (c) 2015-2017 Martin Mitas
*
* 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, mo... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE78_OS_Command_Injection__wchar_t_listen_socket_system_32.c
Label Definition File: CWE78_OS_Command_Injection.fullpath.label.xml
Template File: sources-sink-32.tmpl.c
*/
/*
* @description
* CWE: 78 OS Command Injection
* BadSource: listen_socket Read data using a liste... |
/*
* ESP BLE Mesh Example
*
* SPDX-FileCopyrightText: 2021 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Unlicense OR CC0-1.0
*/
#ifndef _WIFI_UNIT_H
#define _WIFI_UNIT_H
#include "esp_wifi_types.h"
#include "esp_wifi.h"
#include "esp_event.h"
#include "esp_log.h"
#include "esp_timer.h"
#incl... |
/* Copyright (c) 2009 Nordic Semiconductor. All Rights Reserved.
*
* The information contained herein is confidential property of Nordic
* Semiconductor ASA.Terms and conditions of usage are described in detail
* in NORDIC SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT.
*
* Licensees are granted free, non-t... |
// https://gist.github.com/asford/544323a5da7dddad2c9174490eb5ed06
#pragma once
#include <nncase/runtime/compiler_defs.h>
#include <pybind11/pybind11.h>
#include <iostream>
#include <streambuf>
namespace py = pybind11;
/// A stream buffer getting data from and putting data into a Python file object
/** The aims are... |
/*****************************************************************************
h6280.h Portable Hu6280 emulator interface
Copyright (c) 1999 Bryan McPhail, mish@tendril.force9.net
This source code is based (with permission!) on the 6502 emulator by
Juergen Buchmueller. It is released as part of the Mame emulato... |
//
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import <objc/NSObject.h>
@class APBToygerRemoteConfig, NSString;
@interface APBToygerBioBisConfigManager : NSObject
{
_Bool _isL... |
/*
* nl80211 userspace tool
*
* Copyright 2007, 2008 Johannes Berg <johannes@sipsolutions.net>
*/
#include <errno.h>
#include <stdio.h>
#include <string.h>
#include <net/if.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <stdbool.h>
#include <netlink/genl/genl.h>
#i... |
/*
* This header is generated by classdump-dyld 1.5
* on Wednesday, April 14, 2021 at 2:21:03 PM Mountain Standard Time
* Operating System: Version 14.4 (Build 18K802)
* Image Source: /System/Library/Frameworks/CoreMotion.framew... |
// EnergyTypes.h
//
#pragma once
#include "XmlLib\SaxContentElement.h"
// Special note - The "Unknown" entries of each enum must be entry 0 in the
// enum map as this is used by the SAX loaders to check for badly loaded values
// these enumerations are used across multiple object types
// energy types
enum EnergyTy... |
/**
*
* \file
*
* \brief This module contains NMC1500 M2M driver APIs declarations.
*
* Copyright (c) 2016-2018 Microchip Technology Inc. and its subsidiaries.
*
* \asf_license_start
*
* \page License
*
* Subject to your compliance with these terms, you may use Microchip
* software and any derivatives excl... |
//
// NIMTeamMuteMemberListViewController.h
// NIMKit
//
// Created by Genning-Work on 2019/12/13.
// Copyright © 2019 NetEase. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "NIMTeamMemberListDataSource.h"
NS_ASSUME_NONNULL_BEGIN
@interface NIMTeamMuteMemberListViewController : UIViewController
- (ins... |
/* Copyright (c) 2014, Google Inc.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS... |
/*ckwg +29
* Copyright 2018-2019 by Kitware, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice,
* this li... |
/* USER CODE BEGIN Header */
/**
******************************************************************************
* File Name : stm32f4xx_hal_msp.c
* Description : This file provides code for the MSP Initialization
* and de-Initialization codes.
****************************... |
#ifndef ZSWCMETRIC_H
#define ZSWCMETRIC_H
#include <utility>
#include "tz_swc_tree.h"
class ZSwcTree;
class ZSwcMetric
{
public:
ZSwcMetric();
/*!
* \brief Measure spatial distance between \a tree1 and \a tree2
*
* Always returns 0 if tree1 or tree2 is null or empty.
*/
virtual double measureDista... |
// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2010 Gael Guennebaud <gael.guennebaud@inria.fr>
//
// Eigen 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 Soft... |
/*
* linux/arch/arm/kernel/traps.c
*
* Copyright (C) 1995-2009 Russell King
* Fragments that appear the same as linux/arch/i386/kernel/traps.c (C) Linus Torvalds
*
* 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
* publ... |
// Copyright 2016 Google LLC
//
// 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 ... |
/*
+----------------------------------------------------------------------+
| PHP Version 5 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2004 The PHP Group |
+--------------... |
// Copyright 2018 The Fuchsia 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 LIB_FIDL_CPP_BINDING_SET_H_
#define LIB_FIDL_CPP_BINDING_SET_H_
#include <lib/fit/function.h>
#include <algorithm>
#include <memory>
#include <ut... |
#include <stdio.h>
#include "bams.h"
int
cmp_int(const void *first, const void *second)
{
int a = *(int *) first;
int b = *(int *) second;
if (a < b)
return -1;
if (a > b)
return 1;
return 0;
}
int
main(int argc, char *argv[])
{
int a, tc, n;
unsigned long inv;
BAMS *b... |
/**********************************************************************
*
* Copyright (c) 2012-2019 Barbara Geller
* Copyright (C) 2015 The Qt Company Ltd.
*
* You may use this file under the terms of the 2-Clause BSD license
* provided with KitchenSink or available at:
*
* https://opensource.org/licenses/BSD-2-Clause
... |
/*====================================================================*
- Copyright (C) 2001 Leptonica. 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 c... |
//
// Created by huangjy on 2018/11/14.
//
#ifndef NATIVE_JS_ANDROID_JAVASCRIPTCORE_H
#define NATIVE_JS_ANDROID_JAVASCRIPTCORE_H
#include <jni.h>
#include <string>
#include <android/log.h>
#define NATIVE(package, rettype, method) \
extern "C" JNIEXPORT rettype JNICALL Java_com_hummer_core_jni_##package##_##method
#... |
/* 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
... |
#ifndef RPCCONSOLE_H
#define RPCCONSOLE_H
#include <QWidget>
namespace Ui {
class RPCConsole;
}
class ClientModel;
/** Local Bitcoin RPC console. */
class RPCConsole: public QWidget
{
Q_OBJECT
public:
explicit RPCConsole(QWidget *parent = 0);
~RPCConsole();
void setClientModel(ClientModel *mode... |
#ifndef _MESSI_COMMON_STRINGUTIL_H
#define _MESSI_COMMON_STRINGUTIL_H
#include "types.h"
#include "MCResult.h"
MESSI_NAMESPACE_START
class StringUtil {
public:
static std::string charToHex(unsigned char ch);
static std::string toHex(const char *src, size_t len);
static std::string toHex(... |
/*
* This header is generated by classdump-dyld 1.0
* on Sunday, September 27, 2020 at 11:42:41 AM Mountain Standard Time
* Operating System: Version 14.0 (Build 18A373)
* Image Source: /System/Library/Frameworks/SafariServices.framework/SafariServices
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by ... |
/*
* Copyright 2010-2017 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 "license" fil... |
#include <types.h>
#include <stdarg.h>
#include <kern/unistd.h>
#include <lib.h>
#include <synch.h>
#include <vfs.h> // for vfs_sync()
#include <thread.h> // for thread_panic();
#include <machine/pcb.h> // for md_panic()
#include <machine/spl.h>
/* Flags word for DEBUG() macro. */
u_int32_t dbflags = 0... |
/** @file
PCI Hot Plug support functions declaration for PCI Bus module.
Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
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 ... |
//===- PassDetail.h - Optimizer code gen Pass class details -----*- 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
//
//===---------------------------... |
#include <limits.h> /* for INT_MAX */
#include <stdio.h> /* for fprintf etc */
#include <stdlib.h> /* for free etc */
#include <string.h> /* for strlen */
#include "header.h"
/* Define this to get warning messages when optimisations can't be used. */
/* #define OPTIMISATION_WARNINGS */
/* recursive use: */
stat... |
// Copyright (c) 1997
// Utrecht University (The Netherlands),
// ETH Zurich (Switzerland),
// INRIA Sophia-Antipolis (France),
// Max-Planck-Institute Saarbruecken (Germany),
// and Tel-Aviv University (Israel). All rights reserved.
//
// This file is part of CGAL (www.cgal.org); you can redistribute it and/or
// ... |
#ifndef _JH_CLI_PARAMETERS_TYPES_H_
#define _JH_CLI_PARAMETERS_TYPES_H_
#include <stdlib.h>
#define JH_PARAMETERS_COUNT 2
#define JH_PARAMETERS_DEFAULT_MAIN_STORAGE_FILENAME "storage.txt"
#define JH_PARAMETERS_DEFAULT_TEMP_STORAGE_PREFIX "/tmp/jabberhive-storage/storage_thread_"
struct JH_parameters
{
const c... |
// Douglas Hill, April 2015
@import UIKit;
@interface ViewController : UIViewController
/// Designated initialiser
- (instancetype)init __attribute((objc_designated_initializer));
@end |
//
// Copyright 2020 Google 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 agreed to... |
//#####################################################################
// Copyright 2009, Jon Gretarsson.
// This file is part of PhysBAM whose distribution is governed by the license contained in the accompanying file PHYSBAM_COPYRIGHT.txt.
//#####################################################################
// Na... |
#ifndef PROJECT_HEADER_testComponent272_52_H
#define PROJECT_HEADER_testComponent272_52_H
int testComponent272_52();
#endif // PROJECT_HEADER_testComponent272_52_H |
//*****************************************************************************
//
//! \file xsysctl.h
//! \brief Prototypes for the System Manager Driver.
//! Prototypes for the Clock Controller Driver.
//! \version V2.2.1.0
//! \date 8/2/2012
//! \author CooCox
//! \copy
//!
//! Copyright (c) 2011, CooCox
//! All r... |
//
// QMView.h
// testBuyChannel_Example
//
// Created by qiaoming on 2018/8/31.
// Copyright © 2018年 qiaoming1990321. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface QMView : UIView
@end |
//
// TM & (c) 2017 Lucasfilm Entertainment Company Ltd. and Lucasfilm Ltd.
// All rights reserved. See LICENSE.txt for license.
//
#ifndef MATERIALX_COMPOUNDNODE_H
#define MATERIALX_COMPOUNDNODE_H
#include <MaterialXGenShader/ShaderNodeImpl.h>
#include <MaterialXGenShader/ShaderGraph.h>
#include <MaterialXGenShader... |
#ifndef sproto_h
#define sproto_h
#include <stddef.h>
struct sproto;
struct sproto_type;
#define SPROTO_REQUEST 0
#define SPROTO_RESPONSE 1
// type (sproto_arg.type)
#define SPROTO_TINTEGER 0
#define SPROTO_TBOOLEAN 1
#define SPROTO_TSTRING 2
#define SPROTO_TSTRUCT 3
// sub type of string (sproto_arg.extra)
#defin... |
#include <stdio.h>
#include <string.h>
#include <math.h>
#include <stdlib.h>
//Complete the following function.
int find_nth_term(int n, int a, int b, int c) {
switch(n)
{
case 1:
return a;
case 2:
return b;
case 3:
return c;
default:
return find_nth_term(n - 1, a, b... |
//
// WJUrlRouterManager.h
// WJRouter
//
// Created by Minsol on 2018/12/28.
// Copyright © 2018 A8. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "WJUrlRequestHander.h"
@interface WJUrlRouterManager : NSObject
+ (instancetype)sharedManager;
- (void)openURLWithRequest:(WJUrlRequest *)urlReq... |
/* Copyright Joyent, Inc. and other Node contributors. 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
* righ... |
/*
* This header is generated by classdump-dyld 1.0
* on Saturday, June 1, 2019 at 6:47:04 PM Mountain Standard Time
* Operating System: Version 12.1.1 (Build 16C5050a)
* Image Source: /System/Library/PrivateFrameworks/BookLibrary.framework/BookLibrary
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by ... |
/* SPDX-License-Identifier: BSD-3-Clause
* Copyright(c) 2010-2013 Intel Corporation.
* Copyright(c) 2014 6WIND S.A.
*/
#include <string.h>
#include <stdlib.h>
#include <rte_string_fns.h>
#include "rte_kvargs.h"
/*
* Receive a string with a list of arguments following the pattern
* key=value,key=value,... and i... |
/* Copyright (c) 2006-2012, DNSPod 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:
*
* 1. Redistributions of source code must retain the above copyright notice, this
* list of condit... |
/*
* Copyright (c) , Arm Limited and affiliates.
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2... |
/**
******************************************************************************
* @file stm32f7xx_hal_adc.h
* @author MCD Application Team
* @brief Header file of ADC HAL module.
******************************************************************************
* @attention
*
* <h2><center>© C... |
#pragma once
#include <list>
#include "Vec.h"
class Component;
class DrawComponent;
class GameObject
{
DrawComponent* drawComponent = nullptr;
std::list<Component*> components;
public:
GameObject();
~GameObject();
Vec3f position;
Vec3f rotation;
Vec3f scale = Vec3f(1, 1, 1);
void addComponent(Component*... |
#define VERSION "0.33" |
/** @file
Declares functions for allocating resizable data from regions.
*/
#ifndef CREGION_SRC_ALLOC_GROWABLE_H
#define CREGION_SRC_ALLOC_GROWABLE_H
#include "region.h"
extern void *CR_RegionAllocGrowable(CR_Region *r, size_t size);
extern void *CR_EnsureCapacity(void *ptr, size_t size)
#ifdef __GNUC__
__attribut... |
/**
* Copyright (c) 2015-present, Parse, LLC.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#import <Foun... |
#pragma once
#include <fstream>
#include "envoy/config/transport_socket/capture/v2alpha/capture.pb.h"
#include "envoy/data/tap/v2alpha/capture.pb.h"
#include "envoy/event/timer.h"
#include "envoy/network/transport_socket.h"
namespace Envoy {
namespace Extensions {
namespace TransportSockets {
namespace Capture {
cl... |
// SPDX-License-Identifier: GPL-2.0
/*
* Serial Attached SCSI (SAS) Event processing
*
* Copyright (C) 2005 Adaptec, Inc. All rights reserved.
* Copyright (C) 2005 Luben Tuikov <luben_tuikov@adaptec.com>
*/
#include <linux/export.h>
#include <scsi/scsi_host.h>
#include "sas_internal.h"
int sas_queue_work(struct... |
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by WimTiVoServer.rc
//
#define IDP_OLE_INIT_FAILED 100
#define IDS_APP_TITLE 103
#define IDP_SOCKETS_INIT_FAILED 104
#define IDB_WRITESMALL 110
#define IDB_WRITELARGE 111
#define IDB_MA... |
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#include <float.h>
#include <math.h>
#include <omp.h>
#include "camera.h"
#include "dielectric.h"
#include "hit_record.h"
#include "hittable.h"
#include "hittable_list.h"
#include "lambertian.h"
#include "material.h"
#include "metal.h"
#in... |
//
// XQ_CategoryTableViewCell.h
// ListeningFM
//
// Created by apple on 16/9/24.
// Copyright © 2016年 Ma Baihui. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "XQ_HotRecommendsViewController.h"
@interface XQ_CategoryTableViewCell : UITableViewCell
/**传值数组*/
@property (nonatomic, retain) NSMutableArray... |
/* $NetBSD: logwtmpx.c,v 1.2 2003/08/07 16:44:59 agc Exp $ */
/*
* Copyright (c) 1988, 1993
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.