text stringlengths 9 948k |
|---|
/** @file
The firmware file related definitions in PI.
Copyright (c) 2006 - 2017, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
@par Revision Reference:
PI Version 1.6.
**/
#ifndef __PI_FIRMWARE_FILE_H__
#define __PI_FIRMWARE_FILE_H__
#pragma pack(1)
///
/// Used to... |
/* SPDX-License-Identifier: GPL-2.0 */
/*
* Cadence CDNSP DRD Driver.
*
* Copyright (C) 2020 Cadence.
*
* Author: Pawel Laszczak <pawell@cadence.com>
*
* Code based on Linux XHCI driver.
* Origin: Copyright (C) 2008 Intel Corp.
*/
#ifndef __LINUX_CDNSP_GADGET_H
#define __LINUX_CDNSP_GADGET_H
#include <linux/i... |
/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the Apache Licens... |
#ifndef RecHitPropagator_H
#define RecHitPropagator_H
#include "TrackingTools/TrajectoryState/interface/TrajectoryStateOnSurface.h"
class TrackingRecHit;
class MagneticField;
class Plane;
class dso_hidden RecHitPropagator {
public:
TrajectoryStateOnSurface propagate(const TrackingRecHit& hit,
... |
/***********************************************************************************
* *
* This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
*
* Copyrigh... |
/* Code generated by IfcQuery EXPRESS generator, www.ifcquery.com */
#pragma once
#include <vector>
#include <map>
#include <sstream>
#include <string>
#include "ifcpp/model/GlobalDefines.h"
#include "ifcpp/model/BasicTypes.h"
#include "ifcpp/model/BuildingObject.h"
#include "IfcGeometricRepresentationItem.h"
class IFC... |
#ifndef _core_ietf_rfc_7231_status_continue
#define _core_ietf_rfc_7231_status_continue ::core_ietf_rfc_7231_status_continue
inline constexpr auto core_ietf_rfc_7231_status_continue = 100;
#endif |
/************************************************************************************
* arch/arm/src/lpc17xx/hardware/lpc17_wdt.h
*
* Copyright (C) 2010, 2013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* m... |
#include <stdlib.h>
#include <stdio.h>
#include <stdbool.h>
#include "../src/stack.h"
bool ass(int cond) {
if (cond) {
printf(".");
return true;
} else {
printf("F");
return false;
}
}
/**
* @brief Test for stack_new function
*/
bool test_stack_new() {
bool result = true;
printf("stack.h: ... |
// --------------------------------------------------------------------------
// OpenMS -- Open-Source Mass Spectrometry
// --------------------------------------------------------------------------
// Copyright The OpenMS Team -- Eberhard Karls University Tuebingen,
// ETH Zurich, and Freie Universit... |
//
// RMFoundation.h
//
// Copyright (c) 2008-2012, Route-Me Contributors
// 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 copyrigh... |
/*-
* Copyright (c) 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. Redistributions of source code must retain the above copyright
* notice, this list of c... |
/*
**********************************************************************************************************************
*
* the Embedded Secure Bootloader System
*
*
* Copyright(C), 2006-2014, Allwinnertech Co., Ltd.
* All Rights Reserved
*
* File ... |
#include "acc_testsuite.h"
#ifndef T1
//T1:parallel,syntactic,V:1.0-2.7
int test1(){
int err = 0;
srand(SEED);
real_t * a = (real_t *)malloc(10 * n * sizeof(real_t));
real_t avg = 0.0;
for (int x = 0; x < 10 * n; ++x){
a[x] = rand() / (real_t)(RAND_MAX / 10);
avg += a[x]/(n * 10);
... |
//
//
// This software is provided under the LGPL in March 2009 by the
// Cluster Science Centre
// QSAS team,
// Imperial College, London
//
// Copyright (C) 2009 Imperial College, London
// Copyright (C) 2009-2016 Alan W. Irwin
//
// This is free software; you can redistribute it and/or modify
// it under the terms... |
/* Test code for the functions in rand.c
Copyright 2016 Allen B. Downey
License: MIT License https://opensource.org/licenses/MIT
*/
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <sys/resource.h>
#include <sys/time.h>
#include <sys/times.h>
#include <sys/types.h>
#include <unistd.h>
#include "ran... |
//
// Core.h
// Core
//
// Created by hbkim on 2021/01/26.
//
#import <Foundation/Foundation.h>
//! Project version number for Core.
FOUNDATION_EXPORT double CoreVersionNumber;
//! Project version string for Core.
FOUNDATION_EXPORT const unsigned char CoreVersionString[];
// In this header, you should import all... |
/**
* \file PnlWznmSbsRec.h
* job handler for job PnlWznmSbsRec (declarations)
* \copyright (C) 2016-2020 MPSI Technologies GmbH
* \author Alexander Wirthmueller (auto-generation)
* \date created: 28 Nov 2020
*/
// IP header --- ABOVE
#ifndef PNLWZNMSBSREC_H
#define PNLWZNMSBSREC_H
// IP include.spec --- INSERT... |
// Copyright (C) 2002-2011 Nikolaus Gebhardt
// This file is part of the "Irrlicht Engine".
// For conditions of distribution and use, see copyright notice in irrlicht.h
#ifndef __I_TRIANGLE_SELECTOR_H_INCLUDED__
#define __I_TRIANGLE_SELECTOR_H_INCLUDED__
#include "IReferenceCounted.h"
#include "triangle3d.h"
#includ... |
/*
* Automatically Generated from Mathematica.
* Thu 4 Nov 2021 17:01:42 GMT-04:00
*/
#ifndef H_RIGHT_TOE_ROLL_H
#define H_RIGHT_TOE_ROLL_H
#include <Eigen/Dense>
Eigen::Matrix<double,4,4> H_right_toe_roll(const Eigen::Matrix<double,36,1> &var1);
#endif |
/*
* Copyright 2016 The WebRTC 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 contributing ... |
#ifndef ROOTSTON_CURSOR_H
#define ROOTSTON_CURSOR_H
#include "rootston/seat.h"
enum roots_cursor_mode {
ROOTS_CURSOR_PASSTHROUGH = 0,
ROOTS_CURSOR_MOVE = 1,
ROOTS_CURSOR_RESIZE = 2,
ROOTS_CURSOR_ROTATE = 3,
};
struct roots_cursor {
struct roots_seat *seat;
struct wlr_cursor *cursor;
const char *default_xcurs... |
#import <Foundation/Foundation.h>
#import <CoreGraphics/CoreGraphics.h>
#import <UIKit/UIControl.h>
#import <UIKit/UIKitDefines.h>
#import <QuartzCore/QuartzCore.h>
@import UIKit;
@import JavaScriptCore;
@protocol JSBUIControl;
@protocol JSBUISlider <JSExport, JSBUIControl>
#pragma clang diagnostic push
#pragma cla... |
/*
// Copyright (c) 2019-2020 Intel Corporation
//
// 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 l... |
/**
********************************************************************************
\file syncu.c
\brief Implementation of user sync module
This file contains the implementation of the sync module which is responsible
for handliny SyncReq/SyncResp frames used with PollResponse Chaining.
\ingroup module_syncu
***... |
#define mu_assert(message, test) do { if (!(test)) return message; } while (0);
#define mu_run_test(test) do { char *message = test(); tests_run++; \
if (message) return message; } while (0)
extern int tests_run; |
#pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "UnityEngine_UnityEngine_Object1021602117.h"
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offsetof"
#pragma clang diagnosti... |
/* Copyright (C) 2015 Atsushi Togo */
/* All rights reserved. */
/* This file is part of spglib. */
/* 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 abov... |
/*!
* @file list.h
* @brief Declarations for functions that operate on lists.
*/
#ifndef _METERPRETER_COMMON_LIST_H
#define _METERPRETER_COMMON_LIST_H
/*! @brief Container struct for data the lives in a list. */
typedef struct _NODE
{
struct _NODE * next; ///< Pointer to the next node in the list.
struct _NODE *... |
//
// UIButton+JKNAdditions.h
// PAJKCardApp
//
// Created by wangweishun on 7/15/14.
// Copyright (c) 2014 Ping An Health Insurance Company of China, Ltd. All rights reserved.
//
#import <UIKit/UIKit.h>
typedef NS_ENUM(NSInteger, JKNButtonTitlePostionType) {
JKNButtonTitlePostionTypeBottom = 0, // tex... |
#ifndef RBIMPL_ATTR_NORETURN_H /*-*-C++-*-vi:se ft=cpp:*/
#define RBIMPL_ATTR_NORETURN_H
/**
* @file
* @author Ruby developers <ruby-core@ruby-lang.org>
* @copyright This file is a part of the programming language Ruby.
* Permission is hereby granted, to either ... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <time.h>
/* Demo program for the Oxford University Computing Laboratory
implementation of Gilbert, Johnson and Keerthi's algorithm for
computing the minimum distance between two convex polyhedra.
(c) Oxford University C... |
#include "modules/modules.h"
#include "modules/log.h"
#include "modules/filesystem.h"
#include "modules/config.h"
#include "card10-version.h"
#include "gfx.h"
#include "display.h"
#include "leds.h"
#include "version-splash.h"
#include "FreeRTOS.h"
#include "task.h"
#include "mxc_delay.h"
#include <stdlib.h>
#include... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2017 The Dash developers
// Copyright (c) 2017 The BitNodes developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license... |
/*****************************************************************
*
* Various APIs for Lab 2 of OS469
* Copyright: Uday Savagaonkar, Jan 2002
*
*****************************************************************/
#ifndef _LAB2_API_H_
#define _LAB2_API_H_
#define NULL (void *)0x0
#define INVALID_SEM -1
typedef un... |
/*
* Updated to C++, zedwood.com 2012
* Based on Olivier Gay's version
* See Modified BSD License below:
*
* FIPS 180-2 SHA-224/256/384/512 implementation
* Issue date: 04/30/2005
* http://www.ouah.org/ogay/sha2/
*
* Copyright (C) 2005, 2007 Olivier Gay <olivier.gay@a3.epfl.ch>
* All rights reserved.
*
* R... |
/******************************************************************
*
* uSQL for C++
*
* Copyright (C) Satoshi Konno 2012
*
* This is licensed under BSD-style license, see file COPYING.
*
******************************************************************/
#ifndef _USQL_SQLTRANSACTION_H_
#define _USQL_SQLTRANSACTION_H_... |
#pragma once
#ifndef jitasm_Backend_x86_64_h__
#define jitasm_Backend_x86_64_h__
#include "jitasm.x86_64.h"
#include "jitasm.Backend.x86.h"
namespace jitasm
{
namespace x86_64
{
struct Backend : jitasm::x86::Backend
{
Backend(void * buffaddr = nullptr, size_t buffsize = 0) : jitasm::... |
//===- DebugFrameDataSubsection.h ------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===--------------------------------------------------------... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define BUFFER 256
#define TABLE_SIZE 26
typedef char * hashtable_direct;
int hash_direct(char);
void hashinsert(char, hashtable_direct);
void main()
{
int n;
scanf("%d", &n);
char * words[n];
hashtable_direct ht[n];
for (int i = 0; i < n; i++) {
wo... |
/*
* Copyright (C) 2005-2006 Atmel Corporation
*
* 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 Foundation; either version... |
/*!
* \file
* \brief AudioMUX Click example
*
* # Description
* The following demo shows basic click functionality:
* Initializes AudioMUX device to work with the desired configurations and
* shows a message on uart when playing is started.
*
* The demo application is composed of two sections :
*
* ## App... |
#include <msp430.h>
#include "buzzer.h"
#include "libTimer.h"
void buzzer_init(){
timerAUpmode();
P2SEL2 &= ~(BIT6 | BIT7);
P2SEL &= ~BIT7;
P2SEL |= BIT6;
P2DIR = BIT6;
}
void buzzer_set_period(short cycles)
{
CCR0 = cycles;
CCR1 = cycles >> 1;
}
void buzzer_off()
{
buzzer_set_period(0);
}
static in... |
/*
* Author: Landon Fuller <landonf@plausible.coop>
*
* Copyright (c) 2012-2013 Plausible Labs Cooperative, 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 Softwa... |
/*
* TCP/IP or UDP/IP networking functions
*
* Copyright (C) 2006-2015, ARM Limited, All Rights Reserved
* 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 t... |
/* _longjmp_unwind -- Clean up stack frames unwound by longjmp. Hurd version.
Copyright (C) 1995-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
Lice... |
#include <math.h>
#include <assert.h>
double acosh(double x)
{
assert(0); // Not implemented
return 0.0;
}
float acoshf(float x)
{
assert(0); // Not implemented
return 0.0;
}
long double acoshl(long double x)
{
assert(0); // Not implemented
return 0.0;
} |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kendra/Kendra_EXPORTS.h>
#include <aws/kendra/KendraRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/kendra/model/S3Path.h>
#include <aws/core/utils... |
/*
* Assembly testing and benchmarking tool
* Copyright (c) 2015 Henrik Gramner
* Copyright (c) 2008 Loren Merritt
*
* This file is part of FFmpeg.
*
* FFmpeg 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... |
/*
* Copyright 2017-present varchar.io
*
* 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... |
/*
* This header is generated by classdump-dyld 1.5
* on Wednesday, April 28, 2021 at 9:03:10 PM Mountain Standard Time
* Operating System: Version 14.5 (Build 18L204)
* Image Source: /System/Library/Frameworks/CloudKit.framewor... |
#pragma once
#include <stdint.h>
#include <vector>
#include <string>
#include "il2cpp-config.h"
struct Il2CppAssembly;
struct Il2CppAssemblyName;
struct Il2CppImage;
struct Il2CppArray;
namespace il2cpp
{
namespace vm
{
typedef std::vector<const Il2CppAssembly*> AssemblyVector;
typedef std::vector<const Il2CppAssemb... |
#include <ansi.h>
#include <room.h>
inherit ROOM;
void create()
{
set("short", "广场");
set("long",@long
这里是一个平平开阔的大广场,广场上有昆仑派的弟子在
习武,前面不远处是一个巨大的石屏风,后面就是昆仑派的前
厅了,西面和东面仍然是广场。
long);
set("exits",([
"north" : __DIR__"shanlu04",
"south" : __DIR__"pingfeng",
... |
// Copyright 2016 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#ifndef CORE_FPDFAPI_PARSER_CPDF_DICTIONARY_H_
#define CORE_FPDFAPI_PARSER_CPD... |
// Copyright 2021 Proyectos y Sistemas de Mantenimiento SL (eProsima).
//
// 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 re... |
/*
MusicXML Library
Copyright (C) Grame 2006-2013
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/.
Grame Research Laboratory, 11, cours de Verdun Gensoul 69002 Ly... |
#include <math.h>
#include <values.h>
#include <stdio.h>
struct FLOAT {
unsigned int mantissa:23;
unsigned int exp:8;
unsigned int sign:1;
};
union FLT {
struct FLOAT vals;
float flt;
};
void shownum(union FLT val)
{
unsigned int bit;
//printf ("%4.15f\n", val.flt);
printf ("%e %f\n", val.flt, v... |
/**
******************************************************************************
* @file stm32l4xx_ll_exti.h
* @author MCD Application Team
* @version V1.7.1
* @date 21-April-2017
* @brief Header file of EXTI LL module.
***************************************************************************... |
/*
* Configuation settings for the Renesas Solutions r0p7734 board
*
* Copyright (C) 2010, 2011 Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
*
* SPDX-License-Identifier: GPL-2.0+
*/
#ifndef __R0P7734_H
#define __R0P7734_H
#define CONFIG_CPU_SH7734 1
#define CONFIG_R0P7734 1
#define CONFIG_400MHZ_MODE 1... |
/**
* \file dnn/test/common/checker.h
* MegEngine is Licensed under the Apache License, Version 2.0 (the "License")
*
* Copyright (c) 2014-2021 Megvii Inc. All rights reserved.
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" ... |
/*
************************************************************************************************************************
* uC/OS-III
* The Real-Time Kernel
*
* (c) Copyright 2009-2014... |
//
// client.h
// YCSB-C
//
// Created by Jinglei Ren on 12/10/14.
// Copyright (c) 2014 Jinglei Ren <jinglei@ren.systems>.
//
#ifndef YCSB_C_CLIENT_H_
#define YCSB_C_CLIENT_H_
#include <string>
#include "db.h"
#include "core_workload.h"
#include "utils.h"
namespace ycsbc {
class Client {
public:
... |
//------------------------------------------------------------------------------
/*
This file is part of rippled: https://github.com/ripple/rippled
Copyright (c) 2012, 2013 Ripple Labs Inc.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby ... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE253_Incorrect_Check_of_Return_Value__wchar_t_rename_15.c
Label Definition File: CWE253_Incorrect_Check_of_Return_Value.string.label.xml
Template File: point-flaw-15.tmpl.c
*/
/*
* @description
* CWE: 253 Incorrect Check of Return Value
* Sinks: rename
* GoodSink: ... |
// OCMockito by Jon Reid, https://qualitycoding.org/
// Copyright 2017 Jonathan M. Reid. See LICENSE.txt
#import <Foundation/Foundation.h>
#import "MKTNonObjectArgumentMatching.h"
NS_ASSUME_NONNULL_BEGIN
@interface MKTBaseMockObject : NSProxy <MKTNonObjectArgumentMatching>
+ (BOOL)isMockObject:(id)object;
- (in... |
/*=========================================================================
Program: ParaView
Module: vtkQuartileChartRepresentation.h
Copyright (c) Kitware, Inc.
All rights reserved.
See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
This software is distributed WITHOU... |
extern float __VERIFIER_nondet_float(void);
extern int __VERIFIER_nondet_int(void);
typedef enum {false, true} bool;
bool __VERIFIER_nondet_bool(void) {
return __VERIFIER_nondet_int() != 0;
}
int main()
{
int run, _x_run;
int sm8_l, _x_sm8_l;
bool _EL_U_572, _x__EL_U_572;
int sm8_loop_len, _x_sm8_loop_len;
bool _EL_... |
#include "os_virt_mem.h"
#define MIN_VIRT_SIZE PAGE_SIZE
#define MIN_CHUNK_SIZE 256
// arbitrary maximum no. of mappings
#define MAXM_MAP 4096
typedef struct chunk {
struct chunk *next;
} chunk;
struct {
chunk top;
chunk *list;
size_t list_size, chunk_size;
size_t map_count;
void *map_track[M... |
/*# Copyright (C) 2021 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 applicable la... |
/**
******************************************************************************
* File Name : SPI.c
* Description : This file provides code for the configuration
* of the SPI instances.
******************************************************************************
** ... |
/* BEGIN_LEGAL
Copyright (c) 2021 Intel Corporation
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 ... |
/*###############################################################################
#
# Copyright 2020 NVIDIA Corporation
#
# 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, ... |
// Copyright (c) 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 CHROMEOS_TPM_STUB_INSTALL_ATTRIBUTES_H_
#define CHROMEOS_TPM_STUB_INSTALL_ATTRIBUTES_H_
#include <string>
#include "chromeos/tpm/install_att... |
/*
* Copyright (c) 2022 Baidu.com, Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ... |
/*
* Copyright (C) 2016-2022 T-Head Semiconductor Co., Ltd. All rights reserved.
*
* 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
*
* www.apache.... |
// SPDX-License-Identifier: GPL-2.0-only
/*
* Driver for the enhanced rotary controller on pxa930 and pxa935
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/interrupt.h>
#include <linux/input.h>
#include <linux/platform_device.h>
#include <linux/io.h>
#include <linux/slab.h>
#include <linux/p... |
/*
* Copyright (c) 2007 Bobby Bingham
*
* 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 your option) any lat... |
/*******************************************************************************
* (c) Copyright 2008-2013 Microsemi SoC Products Group. All rights reserved.
*
* SVN $Revision: 7375 $
* SVN $Date: 2015-05-01 19:27:40 +0530 (Fri, 01 May 2015) $
*/
#ifndef HAL_ASSERT_HEADER
#define HAL_ASSERT_HEADER
#ifdef MSCC_NO... |
/**************************************************************************
*
* Copyright 2007 Tungsten Graphics, Inc., Cedar Park, Texas.
* All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the
* "Softwar... |
/*
* SMP initialisation and IPI support
* Based on arch/arm64/kernel/smp.c
*
* Copyright (C) 2012 ARM Ltd.
* Copyright (C) 2015 Regents of the University of California
* Copyright (C) 2017 SiFive
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Pu... |
//===--- CastOptimizer.h ----------------------------------*- C++ -*-------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... |
// ---------------------------------------------------------------------
//
// Copyright (c) 2019 - 2019 by the IBAMR developers
// All rights reserved.
//
// This file is part of IBAMR.
//
// IBAMR is free software and is distributed under the 3-clause BSD
// license. The full text of the license can be found in the f... |
/**@file
* This file is part of the I/O library; it contains the implementation of the
* timer queue.
*
* @see lely/io2/tqueue.h
*
* @copyright 2015-2020 Lely Industries N.V.
*
* @author J. S. Seldenthuis <jseldenthuis@lely.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may no... |
/**
* File: crc32.h
*
* This code is part of Data Transfer Security Protocol (DTSP) library.
*
* Optimised ANSI C code for CRC32C Cyclic Redundancy-Check Code.
*
* @author Gary S. Brown
* @author Alexander Lokhman <alex.lokhman@gmail.com>
*
* Copyright (c) 2015 Alexander Lokhman
*
* Permission is hereby gra... |
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2018 The PIVX developers
// Copyright (c) 2017-2018 The HUZU developers
// Copyright (c) 2018 The ZIJA developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license... |
/**
* @file simple.c
* @author Radek Krejci <rkrejci@cesnet.cz>
* @brief Simple testing plugins implementation
*
* Copyright (c) 2021 CESNET, z.s.p.o.
*
* This source code is licensed under BSD 3-Clause License (the "License").
* You may not use this file except in compliance with the License.
* You may obtain... |
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import <ExchangeWebServices/XSChoiceDefinition.h>
#import "XSDefinitionProvider.h"
@class NSString;
@interface EWSExtendedPropertyTypeValueDefinition : XSChoiceDefinition <XSDef... |
// A basic clang -cc1 command-line, and simple environment check.
// RUN: %clang %s -### -no-canonical-prefixes -target msp430 --sysroot="" 2>&1 \
// RUN: | FileCheck -check-prefix=CC1 %s
// CC1: clang{{.*}} "-cc1" "-triple" "msp430"
// RUN: %clang %s -### -no-canonical-prefixes -target msp430 \
// RUN: --gcc-too... |
#ifndef RING_ARRAY_H
#define RING_ARRAY_H
/**
* \brief this class represents a ring array, that is, a circular array. The
* array has a fixed capacity, and it is possible to insert elements in it
* until it becomes full. Any attempt to insert more elements in a filled array
* will abort the program.
*/
template <... |
/*
* Copyright 2010-2016 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" file... |
/** \file
* \brief GTK Driver keyboard mapping
*
* See Copyright Notice in "iup.h"
*/
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
#if GTK_CHECK_VERSION(3, 0, 0)
#include <gdk/gdkkeysyms-compat.h>
#endif
#include <stdlib.h>
#include <stdio.h>
#include "iup.h"
#include "iupcbs.h"
#include "iupkey.... |
/* $OpenBSD: v3_genn.c,v 1.9 2014/07/11 08:44:49 jsing Exp $ */
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
* project 1999.
*/
/* ====================================================================
* Copyright (c) 1999-2008 The OpenSSL Project. All rights reserved.
*
* Redistribution an... |
/*
* Copyright (c) 2016-2017 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 ... |
/*
* This header is generated by classdump-dyld 1.5
* on Tuesday, November 10, 2020 at 10:19:02 PM Mountain Standard Time
* Operating System: Version 14.2 (Build 18K57)
* Image Source: /System/Library/Frameworks/MetalPerformance... |
#ifndef STATE_H
#define STATE_H
#include <Arduino.h>
// State Struct
typedef struct
{
volatile byte pulseCount;
volatile unsigned long recordNum;
volatile bool logging;
volatile bool flag4;
volatile bool serialOn;
volatile bool SDin;
volatile bool readMag;
const char filename[12] = "datalog.csv";
} S... |
/**
******************************************************************************
* @file stm32f1xx_ll_bus.h
* @author MCD Application Team
* @brief Header file of BUS LL module.
@verbatim
##### RCC Limitations #####
=============================================... |
#pragma once
#include "AggressiveMonster.h"
class cGhast :
public cAggressiveMonster
{
typedef cAggressiveMonster super;
public:
cGhast(void);
CLASS_PROTODEF(cGhast)
virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = nullptr) override;
virtual bool Attack(std::chrono::milliseconds a_Dt) overri... |
#pragma once
#include "envoy/common/exception.h"
#include "extensions/filters/network/dubbo_proxy/filters/filter.h"
#include "extensions/filters/network/dubbo_proxy/metadata.h"
#include "extensions/filters/network/dubbo_proxy/protocol.h"
#include "extensions/filters/network/dubbo_proxy/serializer.h"
namespace Envoy ... |
//-----------------------------------------------------------------------------------
// The confidential and proprietary information contained in this file may
// only be used by a person authorised under and to the extent permitted
// by a subsisting licensing agreement from ARM Limited or its affiliates
/... |
/*
/ _____) _ | |
( (____ _____ ____ _| |_ _____ ____| |__
\____ \| ___ | (_ _) ___ |/ ___) _ \
_____) ) ____| | | || |_| ____( (___| | | |
(______/|_____)_|_|_| \__)_____)\____)_| |_|
(C)2013 Semtech
Description: Target board general functions implementation
License: Revised B... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.