text stringlengths 6 1.35M |
|---|
/***************************************************************************
* Copyright (C) 2008 by Deryabin Andrew *
* andrew@it-optima.ru *
* *
* This pr... |
// Copyright (c) 2016, Baidu.com, Inc. All Rights Reserved
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#pragma once
#include "util/error_code.h"
namespace baidu {
namespace galaxy {
namespace collector {
class Collector {
public:
Collector() {}
virt... |
/*
* Copyright (c) 2017-2019, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef CORTEX_A57_H
#define CORTEX_A57_H
#include <lib/utils_def.h>
/* Cortex-A57 midr for revision 0 */
#define CORTEX_A57_MIDR U(0x410FD070)
/* Retention timer tick definitions */
#... |
//-----------------------------------------------------------------------------
// Copyright (C) 1993-1996 by id Software, Inc.
//
// This source is available for distribution and/or modification
// only under the terms of the DOOM Source Code License as
// published by id Software. All rights reserved.
//
// The sourc... |
/**
* Copyright (c) 2011 Jonathan Cameron
*
* 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 Foundation.
*
* Join together the various functionality of iio_simple_dummy driver
*/
#ifndef _... |
#ifndef FOOLIB_C_H
#define FOOLIB_C_H 1
#ifdef __cplusplus
extern "C" {
#endif
#include <stdint.h>
typedef int foolib_result_t;
#define FOOLIB_RESULT_SUCCESS 0
#define FOOLIB_RESULT_ERROR_ALLOC_FAILED 101
#define FOOLIB_RESULT_ERROR_BAD_STATE 102
#define FOOLIB_RESULT_ERROR_NOT_FOUND 103
typedef int foolib_object_t... |
void func() {
char* string = "Hello";
}
|
#pragma once
#include "CoreMinimal.h"
#include "Templates/SubclassOf.h"
#include "StandardItemUpgrade.h"
#include "EGooGunProjectileUpgrades.h"
#include "UpgradeValues.h"
#include "GooGunProjectileUpgrade.generated.h"
class AActor;
class AFSDPlayerState;
UCLASS(EditInlineNew, MinimalAPI)
class UGooGunProjectileUpgrad... |
//
// UIViewController+ScrollingStatusBar.h
//
// Created by 余洪江 on 16/03/01.
// Copyright © MRJ. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UIViewController (ScrollingStatusBar)
- (void)enableStatusBarScrollingAlongScrollView:(UIScrollView *)scrollView;
- (void)disableStatusBarScrollingAlongScrol... |
#ifndef _AP_IOMUX_REGS_H
#define _AP_IOMUX_REGS_H
enum{
I2S_IN1=0,
I2S_IN2,
I2S_IN3,
I2S_IN_51,
I2S_OUT1,
I2S_OUT2,
I2S_OUT3,
I2S_OUT_51,
SDMMC,
UART1,
UART2,
UART3,
UART4,
IIC1,
IIC2,
SPI1,
SPI2,
SPDIFIN1,
SPDIFIN2,
SPDIFIN3,
SPDIFIN4,
SPDIFOUT1,
SPDIFOUT2,
SPDIFOUT3,
SPDIFOUT4
};
enum{
OFF=... |
//--------------------------------------------------------------------------------------
// File: EffectCommon.h
//
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
//
// http://go.microsoft.com/fwlink/?LinkID=615561
//-----------------------------------------------... |
#pragma once
#include <stddef.h>
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
void nnp_fft8x8_with_offset_and_store__avx2(const float t[], float f[], size_t stride_t, size_t stride_f, uint32_t row_count, uint32_t column_count, uint32_t row_offset, uint32_t column_offset);
void nnp_fft8x8_with_offset_a... |
typedef unsigned char byte;
typedef struct rwl_s rwl;
/* This is from page.h */
struct Page_s {
int id;
long LSN;
byte *memAddr;
byte dirty;
struct Page_s *next;
struct Page_s *prev;
int queue;
int inCache;
rwl * rwlatch;
rwl * loadlatch;
};
typedef struct Page_s Page;
Page * loadPage(int xid,... |
//===- MIRYamlMapping.h - Describe mapping between MIR and YAML--*- 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
//
//===---------------------------... |
//
// MAMovieCell.h
// CollectionViewAndMore
//
// Created by Mahbub Ahmed on 4/4/17.
// Copyright © 2017 Mahbub Ahmed. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface MAMovieCell : UICollectionViewCell
//Movie image/poster outlet
@property (strong, nonatomic) IBOutlet UIImageView *moviePoster;
//Mov... |
package bfs.c.simple;
import java.util.Arrays;
class Test {
public static void main(String[] args) {
boolean[][] graph = {
{false, true, true, false, false, false},
{false, false, false, true, true, false},
{false, true, false, true, false, false},
... |
/**
* This file has no copyright assigned and is placed in the Public Domain.
* This file is part of the mingw-w64 runtime package.
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
*/
#include <stdio.h>
#include <io.h>
#include <errno.h>
#if !defined(__arm__) && !defined(__aarch64__) /*... |
//
// FeedDetailsModuleRouter.h
// Example
//
// Created by Alex Rudyak on 17/02/2016.
// Copyright © 2016 instinctools. All rights reserved.
//
#import "FeedDetailsModuleRouterInput.h"
@protocol RamblerViperModuleTransitionHandlerProtocol;
@interface FeedDetailsModuleRouter : NSObject <FeedDetailsModuleRouterIn... |
/*-
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
*
* This software was developed by the Computer Systems Engineering group
* at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and
* contributed to Berkeley.
*
* Redistribution and use in source and bi... |
// Copyright 2013 Room77 Inc. All Rights Reserved.
// Author: pramodg@room77.com (Pramod Gupta)
#ifndef _PUBLIC_UTIL_TIME_DURATION_H_
#define _PUBLIC_UTIL_TIME_DURATION_H_
#include <chrono>
#include <ratio>
namespace util {
namespace time {
// Durations with floating point numbers to record fraction of ticks.
typed... |
#import <UIKit/UIKit.h>
#import "FFEvent.h"
@protocol FFButtonAddEventWithPopoverProtocol <NSObject>
@required
- (void)addNewEvent:(FFEvent *)eventNew;
@end
@interface FFButtonAddEventWithPopover : UIButton
@property (nonatomic, strong) id<FFButtonAddEventWithPopoverProtocol> protocol;
@end
|
/*
* QEMU VMWARE VMXNET3 paravirtual NIC interface definitions
*
* Copyright (c) 2012 Ravello Systems LTD (http://ravellosystems.com)
*
* Developed by Daynix Computing LTD (http://www.daynix.com)
*
* Authors:
* Dmitry Fleytman <dmitry@daynix.com>
* Tamir Shomer <tamirs@daynix.com>
* Yan Vugenfirer <yan@daynix... |
//
// CoreGraphics+ASConvenience.h
// Texture
//
// Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
// Changes after 4/13/2017 are: Copyright (c) Pinterest, Inc. All rights reserved.
// Licensed under Apache 2.0: http://www.apache.org/licenses/LICENSE-2.0
//
#import <Foundation/Foundation.... |
#include <mruby.h>
#include <mruby/class.h>
#include <mruby/data.h>
#include <mruby/winapi.h>
#include <mruby/winapi/application.h>
#include <mruby/hash.h>
#include <mruby/winapi/window.h>
static struct mrb_data_type winapi_application_type = { "winapi_application", mrb_free };
struct winapi_application... |
// -*- C++ -*- Copyright (c) Microsoft Corporation; see license.txt
#ifndef MESH_PROCESSING_LIBHH_HH_H_
#define MESH_PROCESSING_LIBHH_HH_H_
// 1 2 3 4 5 6 7 8 9 10 11
//34567890123456789012345678901234567890123456789012345678901234567... |
/*
* jidctfst.c
*
* Copyright (C) 1994-1998, Thomas G. Lane.
* This file is part of the Independent JPEG Group's software.
* For conditions of distribution and use, see the accompanying README file.
*
* This file contains a fast, not so accurate integer implementation of the
* inverse DCT (Discrete Cosine Trans... |
/* CodeDetector - Uses InputQueue to detect input of codes. */
#ifndef CODE_DETECTOR_H
#define CODE_DETECTOR_H
#include "GameInput.h"
enum Code {
Code_PrevSteps1,
Code_PrevSteps2,
Code_NextSteps1,
Code_NextSteps2,
CODE_NEXT_SORT1,
CODE_NEXT_SORT2,
CODE_NEXT_SORT3,
CODE_NEXT_SORT4,
CODE_MODE_MENU1,
CODE_MOD... |
#pragma once //(C) 2019 Andy Heilveil, github/980f
#include <Print.h>
/* todo:
ARDUINO_ARCH_SAMD
ARDUINO_ARCH_SAM ARDUINO_SAM_DUE __SAM3X8E__
*/
#ifdef ARDUINO_ARCH_AVR
#define HaveEEPrinter 1
#include <EEPROM.h>
class EEPrinter : public Print {
unsigned ptr;
public:
explicit EEPrinter(int start): ptr... |
/* See LICENSE for license details. */
#include <stdint.h>
#include <sys/types.h>
/* Arbitrary size */
#define HISTSIZE 2000
/* macros */
#define MIN(a, b) ((a) < (b) ? (a) : (b))
#define MAX(a, b) ((a) < (b) ? (b) : (a))
#define LEN(a) (sizeof(a) / sizeof(a)[0])
#define BETWEEN(x, a, b) ((a) <= (x) && (x) ... |
/* Copyright (c) Microsoft Corporation. All rights reserved. */
#ifndef __IMAPIERROR_H_
#define __IMAPIERROR_H_
#include <winapifamily.h>
#pragma region Desktop Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
#include <winerror.h>
const HRESULT IMAPI_S_PROPERTIESIGNORED = MAKE_HRESULT(... |
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (the "License"). You may not use this file except in compliance
* with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* o... |
/*
* Copyright (C) 2017-2019 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include "runtime/command_queue/command_queue.h"
#include "runtime/device_queue/device_queue.h"
#include "runtime/helpers/get_info.h"
namespace NEO {
inline void releaseVirtualEvent(CommandQueue &commandQueue) {
... |
/*
* This header is generated by classdump-dyld 1.0
* on Sunday, September 27, 2020 at 11:52:14 AM Mountain Standard Time
* Operating System: Version 14.0 (Build 18A373)
* Image Source: /System/Library/PrivateFrameworks/CameraUI.framework/CameraUI
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias... |
#pragma once
#include <memory>
#include <QtWidgets/QWidget>
namespace Ui
{
class NamePropertyWidget;
}
namespace mtt
{
class Object;
class UndoStack;
class NamePropertyWidget : public QWidget
{
Q_OBJECT
public:
NamePropertyWidget(Object& object, UndoStack& undoStack);
NamePropertyWidget(co... |
/*
* This declarations of the PIC16LF1824T39A MCU.
*
* This file is part of the GNU PIC library for SDCC, originally
* created by Molnar Karoly <molnarkaroly@users.sf.net> 2016.
*
* This file is generated automatically by the cinc2h.pl, 2016-04-13 17:23:20 UTC.
*
* SDCC is licensed under the GNU Public license ... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE78_OS_Command_Injection__char_connect_socket_execl_53d.c
Label Definition File: CWE78_OS_Command_Injection.strings.label.xml
Template File: sources-sink-53d.tmpl.c
*/
/*
* @description
* CWE: 78 OS Command Injection
* BadSource: connect_socket Read data using ... |
/* T E X T U R E _ B U M P . C
* BRL-CAD / ADRT
*
* Copyright (c) 2002-2021 United States Government as represented by
* the U.S. Army Research Laboratory.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
*... |
// Copyright © Microsoft Open Technologies, 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
//
// THIS CODE... |
/*
================================================================================
Class: PlotUtils::POTCounter
A Class designed to Count POT_Used for a given
1) TChain
2) Playlist - A list of root files
Example Usage:
std::string playlist = "Input/Playlists/pl_MC_All.dat";
POTCount... |
/* See LICENSE file for copyright and license details. */
/* appearance */
static const unsigned int borderpx = 2; /* border pixel of windows */
static const unsigned int snap = 32; /* snap pixel */
static const int showbar = 1; /* 0 means no bar */
static const int topbar ... |
/**************************************************************************//**
* @file efr32bg13p_i2c.h
* @brief EFR32BG13P_I2C register and bit field definitions
* @version 5.4.0
******************************************************************************
* # License
* <b>Copyright 2017 Silicon Laboratories, ... |
/****************************************************************************
* Copyright (c) 2021, CEA
* 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 retai... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Docflow/DocumentInfo.proto
#ifndef PROTOBUF_Docflow_2fDocumentInfo_2eproto__INCLUDED
#define PROTOBUF_Docflow_2fDocumentInfo_2eproto__INCLUDED
#include <string>
#include <google/protobuf/stubs/common.h>
#if GOOGLE_PROTOBUF_VERSION < 2006000
#err... |
#ifndef __DBGPRINT_H_VER__
#define __DBGPRINT_H_VER__ 2012102423
// $Id: dbgprint.h,v e885f176d70a 2012/10/25 14:16:05 oliver $
#if (defined(_MSC_VER) && (_MSC_VER >= 1020)) || defined(__MCPP)
#pragma once
#endif // Check for "#pragma once" support
#ifdef __cplusplus
extern "C"
{
#endif // __cplusplus
LUA_API cons... |
/**
* The MIT License (MIT)
*
* Copyright (c) 2018 Alexey Ryabov
*
* 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 us... |
#ifndef PRODUCT_H
#define PRODUCT_H
#include <utility>
#include "Price.h"
class Store;
class Product
{
public:
Product(std::string name, std::string id, int weight, Price* price) : _name(std::move(name)), _id(std::move(id)), _weight(weight), _price(price) {};
void save_product_to_database();
std::s... |
// Copyright (c) 2008 Andrew Green. MIT License. http://www.zoolib.org
#ifndef __ZooLib_FunctionChain_h__
#define __ZooLib_FunctionChain_h__ 1
#include "zconfig.h"
#include "zoolib/Compat_MSVCStaticLib.h"
namespace ZooLib {
/**
\file
If you're using the MSVC or other linkers and putting a factory in a static librar... |
#ifndef WI_SHADERINTEROP_H
#define WI_SHADERINTEROP_H
#include "ConstantBufferMapping.h"
#include "SamplerMapping.h"
#include "ResourceMapping.h"
#ifdef __cplusplus // not invoking shader compiler, but included in engine source
// Application-side types:
typedef XMMATRIX matrix;
typedef XMFLOAT4X4 float4x4;
typede... |
//------------------------------------------------------------------------------
/*
Portions of this file are from Vpallab: https://github.com/vpallabs
Copyright (c) 2013 - 2014 - Vpallab.com.
Please visit http://www.vpallab.com/
This file is part of rippled: https://github.com/ripple/rippled
C... |
/**
* Copyright (c) 2017 - 2020, Nordic Semiconductor ASA
*
* 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 no... |
#pragma option push -b -a8 -pc -A- /*P_O_Push*/
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 3.01.75 */
/* at Fri Sep 18 16:27:35 1998
*/
/* Compiler settings for ad1ex.idl:
Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
e... |
#include "f2c.h"
#include "blaswrap.h"
/* Table of constant values */
static doublecomplex c_b1 = {1.,0.};
static integer c__1 = 1;
/* Subroutine */ int zlasyf_(char *uplo, integer *n, integer *nb, integer *kb,
doublecomplex *a, integer *lda, integer *ipiv, doublecomplex *w,
integer *ldw, integer *info)
{
/... |
/**
******************************************************************************
* @file stm32f3xx_hal_rcc.h
* @author MCD Application Team
* @version V1.1.1
* @date 19-June-2015
* @brief Header file of RCC HAL module.
****************************************************************************... |
// Copyright (C) 2016-2019 Semtech (International) AG. All rights reserved.
//
// This file is subject to the terms and conditions defined in file 'LICENSE',
// which is part of this source code package.
// This page intentionally left blank.
|
///////////////////////////////////////////////////////////////////////
// File: wordrec.h
// Description: wordrec class.
// Author: Samuel Charron
//
// (C) Copyright 2006, Google Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with ... |
/**
* Copyright (c) 2017 Saleem Rashid
*
* 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, publ... |
#ifndef UTIL_BARYCENTRIC_H
#define UTIL_BARYCENTRIC_H
#include <util_is_number.h>
#include <util_is_finite.h>
#include <OpenTissue/core/math/math_matrix3x3.h>
#include <OpenTissue/core/math/math_vector3.h>
#include <cmath>
#include <cassert>
namespace util
{
/*
* Compute Barycentric Coordinates.
* This meth... |
/*-------------------------------------------------------------------------
*
* dependency.c
* Routines to support inter-object dependencies.
*
*
* Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
... |
/*=========================================================================
Program: ParaView
Module: pqCustomFilterDefinitionWizard.h
Copyright (c) 2005-2008 Sandia Corporation, Kitware Inc.
All rights reserved.
ParaView is a free software; you can redistribute it and/or modify it
under the ter... |
/**********************************************************************************************
*
* raylib v4.0 - A simple and easy-to-use library to enjoy videogames programming (www.raylib.com)
*
* FEATURES:
* - NO external dependencies, all required libraries included with raylib
* - Multiplatform: W... |
/****************************************************************************
Copyright (c) 2010-2012 cocos2d-x.org
Copyright (c) 2009-2010 Ricardo Quesada
Copyright (c) 2011 Zynga Inc.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and asso... |
//
// XLPoint.h
// XLSphereView
//
// Created by 李亚坤 on 16/6/4.
// Copyright © 2016年 Kuture. All rights reserved.
//
#ifndef XLPoint_h
#define XLPoint_h
struct XLPoint {
CGFloat x;
CGFloat y;
CGFloat z;
};
typedef struct XLPoint XLPoint;
XLPoint XLPointMake(CGFloat x, CGFloat y, CGFloat z) {
XL... |
/*
* Automatically Tuned Linear Algebra Software v3.10.0
* (C) Copyright 1999 R. Clint Whaley
*
* 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... |
#ifndef CCPP_H_6686C8415AD5DD24C6915C15558EE902_Parameter__H
#define CCPP_H_6686C8415AD5DD24C6915C15558EE902_Parameter__H
#include "Parameter_.h"
#undef OS_API
#include "Parameter_Dcps.h"
#undef OS_API
#include <orb_abstraction.h>
#include "Parameter_Dcps_impl.h"
#endif /* CCPP_H_6686C8415AD5DD24C6915C15558EE902_Par... |
/*
* Copyright (C) 2019 Apple 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 conditions a... |
/* Rtl-level induction variable analysis.
Copyright (C) 2004-2015 Free Software Foundation, Inc.
This file is part of GCC.
GCC 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, or (at your opt... |
/* $NetBSD: cs4280.c,v 1.4.4.2 2000/07/19 19:22:36 augustss Exp $ */
/*
* Copyright (c) 1999, 2000 Tatoku Ogaito. 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 so... |
/*
* Backpack - Skyscanner's Design System
*
* Copyright 2018-2020 Skyscanner 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
*
... |
// This file is part of the Peano project. For conditions of distribution and
// use, please see the copyright notice at www.peano-framework.org
#ifndef _TARCH_PLOTTER_POINTDATA_VTK_TEXT_FILE_WRITER_H_
#define _TARCH_PLOTTER_POINTDATA_VTK_TEXT_FILE_WRITER_H_
#include "tarch/la/Vector.h"
#include "tarch/plotter/pointd... |
/* Copyright 2018 The TensorFlow 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
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable ... |
//
// ZFLandScaprWindow.h
// ZFPlayer
//
// Copyright (c) 2020年 任子丰 ( http://github.com/renzifeng )
//
// 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 with... |
/*
* This header is generated by classdump-dyld 1.5
* on Wednesday, October 27, 2021 at 3:23:22 PM Mountain Standard Time
* Operating System: Version 13.5.1 (Build 17F80)
* Image Source: /System/Library/AccessibilityBundles/Stor... |
//
// BlueToothListTableViewCell.h
// box-Authorizer
//
// Created by Yu Huang on 2018/3/13.
// Copyright © 2018年 2se. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "BlueToothListModel.h"
@interface BlueToothListTableViewCell : UITableViewCell
@property (nonatomic,strong) BlueToothListModel *model;
- ... |
//
// hsp3ext.cpp header
//
#ifndef __hsp3ext_h
#define __hsp3ext_h
#ifdef HSPWIN
#include "win32/hsp3ext_win.h"
#endif
#ifdef HSPIOS
#include "ios/hsp3ext_ios.h"
#endif
#ifdef HSPNDK
#include "ndk/hsp3ext_ndk.h"
#endif
#ifdef HSPLINUX
#include "linux/hsp3ext_linux.h"
#endif
#endif
|
/*===================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics.
All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without
even the implied warranty o... |
// board enforces
// in-state
// accel set/resume
// out-state
// cancel button
// regen paddle
// accel rising edge
// brake rising edge
// brake > 0mph
// 2m/s are added to be less restrictive
const struct lookup_t TESLA_LOOKUP_ANGLE_RATE_UP = {
{2., 7., 17.},
{... |
//
// OOOMiniAlert.h
// oneonone_stripped
//
// Created by Johan ten Broeke on 9/22/10.
// Copyright 2010 fullscreen.nl. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "cocos2d.h"
@interface OOOMiniAlert : CCLabelBMFont {
}
-(void)fade;
@end
|
// C++ informative line for the emacs editor: -*- C++ -*-
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Copyright by The HDF Group. *
* Copyright by the Board of Trustees of the University of Illinois. *
* All rights reserved. ... |
#pragma once
#include <cstdint>
#include <array>
#include <limits>
#include <zenload/zTypes.h>
#include <Tempest/Point>
class Npc;
class World;
class WayPoint;
class Serialize;
class MoveAlgo final {
public:
static const float closeToPointThreshold;
MoveAlgo(Npc& unit);
enum JumpCode : uint8_t {
... |
#ifndef test_functions_H
#define test_functions_H
#include <Eigen/Dense>
using namespace Eigen;
bool isEqualDouble(double a, double b, double epsilon);
Array<bool,Dynamic,1> isEqualArray1D(ArrayXd &a, ArrayXd &b, double epsilon);
Array<bool,Dynamic,Dynamic> isEqualArray2D(ArrayXXd &a, ArrayXXd &b, double epsilon)... |
#include "test-framework/unity.h"
#include "resistor_color_duo.h"
void setUp(void)
{
}
void tearDown(void)
{
}
static void test_brown_and_black(void)
{
uint16_t actual = color_code((resistor_band_t[]){ BROWN, BLACK });
TEST_ASSERT_EQUAL_UINT16(10, actual);
}
static void test_blue_and_grey(void)
{
TEST_IGNO... |
/*
* linux/arch/arm/mach-pnx4008/dma.c
*
* PNX4008 DMA registration and IRQ dispatching
*
* Author: Vitaly Wool
* Copyright: MontaVista Software Inc. (c) 2005
*
* Based on the code from Nicolas Pitre
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the G... |
/*
* Copyright (c) 2020 Nordic Semiconductor ASA. 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 r... |
#include <std.h>
#include "/d/dagger/phederia/phedefs.h"
inherit ROOM;
void create(){
::create();
set_property("light",2);
set_property("no teleport",1);
set_property("indoors",1);
set_short(
"Short"
);
set_long(
"Long"
"\n"
);
set_smell("default",
"Smell"
);
set_listen("default",
"Lis... |
/****************************************************************************
* lib/unistd/lib_access.c
*
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provi... |
/*
** Copyright 2005-2017 Solarflare Communications Inc.
** 7505 Irvine Center Drive, Irvine, CA 92618, USA
** Copyright 2002-2005 Level 5 Networks Inc.
**
** This program is free software; you can redistribute it and/or modify it
** under the terms of version 2 of the GNU General Public License ... |
/*
* 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 ... |
#include "DeviceBeep.h"
/**蜂鸣器初始化 */
void DeviceBeepInit(BEEP_STATUS initStatus)
{
GPIO_InitTypeDef GPIO_Initure;
__HAL_RCC_GPIOF_CLK_ENABLE(); //开启GPIOF时钟
GPIO_Initure.Pin=GPIO_PIN_8; //PF8
GPIO_Initure.Mode=GPIO_MODE_OUTPUT_PP; //推挽输出
GPIO_Initure.Pull=GPIO_PULLUP; //上拉
... |
//=========================================================================
// Copyright (C) 2012 The Elastos 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
//
// ... |
/**
* Copyright (c) 2019 - 2020, Nordic Semiconductor ASA
*
* 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 no... |
/*
* Copyright 2016 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 agreed to... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
#ifdef __cplusplus
#include <cstdlib>
#include <cstddef>
#include <cstdio>
#include <cstdint>
#else
#include <stdlib.h>
#include <stddef.h>
#include <stdio.h>
#include ... |
#if !defined(lint) && !defined(DOS)
static char rcsid[] = "$Id: composer.c 14001 2005-03-17 19:07:47Z hubert $";
#endif
/*
* Program: Pine composer routines
*
*
* Michael Seibel
* Networks and Distributed Computing
* Computing and Communications
* University of Washington
* Administration Builiding, AG-44
* Se... |
//
// Copyright (C) 2015-2018 Seagate Technology LLC and/or its Affiliates. Apache License, Version 2.0.
//
#pragma once
#ifndef __H0_M0INIT_H__
#define __H0_M0INIT_H__
struct m0_halon_interface;
extern struct m0_halon_interface *m0init_hi;
int m0_init_wrapper(void);
void m0_fini_wrapper(void);
#endif // __H0_M0IN... |
/**
* Copyright (c) 2013-2014 Tomas Dzetkulic
* Copyright (c) 2013-2014 Pavol Rusnak
*
* 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
... |
/*
* 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... |
/*
* This header is generated by classdump-dyld 1.0
* on Tuesday, November 5, 2019 at 2:44:29 AM Mountain Standard Time
* Operating System: Version 13.0 (Build 17J586)
* Image Source: /System/Library/PrivateFrameworks/SAObjects.framework/SAObjects
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias... |
#pragma once
#include "EHEnum.h"
void MiniDumpHandler(enumDumpDetectionLevel eLevel);
void BugTrapHandler(enumDumpDetectionLevel eLevel);
void UserDefinedHandler(enumDumpDetectionLevel eLevel);
void BugTrapMixHandler(enumDumpDetectionLevel eLevel);
|
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <omp.h>
#include "idl_export.h"
double double_max(double, double);
int gvf_natural(
long *iterations_ptr,
short *x_max_ptr, short *y_max_ptr,
double *dt_ptr,
double *u_idl, double *v_idl,
double *fx, double *fy,
double *g, double *h,
d... |
/*
* hex2bin - converts data in hexadecimal form to binary form
*
* Copyright (C) 2013 Jonathan Buhacoff <jonathan@buhacoff.net>
*
* BSD license.
*
* Input must contain only hex characters. Any other characters will result in an error
* printed to stderr and exit code 1. On success exit code is 0.
*
* Would ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.