text stringlengths 9 948k |
|---|
/*-
* BSD LICENSE
*
* Copyright (c) Intel Corporation. All rights reserved.
* Copyright (c) 2020 Mellanox Technologies LTD. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
... |
// Copyright 2017 The Lynx Authors. All rights reserved.
#ifndef LYNX_RUNTIME_JSC_CLASS_WRAP_H_
#define LYNX_RUNTIME_JSC_CLASS_WRAP_H_
#include <string>
#include <vector>
#include <JavaScriptCore/JavaScript.h>
#include <third_party/JavaScriptCore/JavaScriptCore/JSObjectRef.h>
#include <third_party/JavaScriptCore/Java... |
#ifndef CIRCULARBUFFER_H
#define CIRCULARBUFFER_H
#include <stdint.h>
typedef struct {
uint8_t buf[64];
uint8_t* buf_end;
uint8_t* w;
uint8_t* r;
} CircularBuffer;
void cbInit(CircularBuffer* cb);
#define cbIsEmpty(cb) ((cb)->w==(cb)->r)
void cbWrite(CircularBuffer* cb, unsigned char data);
unsigned ... |
/*
Copyright (C) 2010-2012 Nokia Corporation and/or its subsidiary(-ies)
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later v... |
/*
Fontname: -ISAS-Song ti-Medium-R-Normal--24-240-72-72-c-240-GB2312.1980-0
Copyright: Copyright (c) 1988 The Institute of Software, Academia Sinica.
Glyphs: 233/7540
BBX Build Mode: 0
*/
const uint8_t u8g2_font_gb24st_t_2[12411] U8G2_FONT_SECTION("u8g2_font_gb24st_t_2") =
"\351\0\3\2\5\5\4\6\6\30\32\0\374... |
//
// AppDelegate.h
// 13_interview_block_auto_object
//
// Created by Ankui on 4/6/21.
//
#import <UIKit/UIKit.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@end |
#ifndef M04_EDITORS_SEQUENCE_EDITOR_RIGHT_CLICK_LIST_MENU_H_
#define M04_EDITORS_SEQUENCE_EDITOR_RIGHT_CLICK_LIST_MENU_H_
#include "m04/eventide/elements/ListMenu.h"
#include <vector>
#include "core/containers/arstring.h"
namespace m04 {
namespace editor {
class SequenceEditor;
}}
namespace m04 {
namespace editor {... |
/*--------------------------------------------------------------------*/
/*--- System call numbers for arm64-linux. ---*/
/*--- vki-scnums-arm64-linux.h ---*/
/*--------------------------------------------------------------------*/
/*
This file is part of ... |
/**
* Copyright (c) 2013, Ford Motor Company
* 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
* list of condi... |
/*
* Software License Agreement (BSD License)
*
* Copyright (c) 2018, Locus Robotics
* 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 re... |
#import "GPUImageTwoInputFilter.h"
@interface GPUImageDissolveBlendFilter : GPUImageTwoInputFilter {
GLint mixUniform;
}
// Mix ranges from 0.0 (only image 1) to 1.0 (only image 2), with 0.5 (half of either) as the normal level
@property (readwrite, nonatomic) CGFloat mix;
@end |
/****************************************************************************
Copyright (c) 2010-2012 cocos2d-x.org
Copyright (c) 2013-2016 Chukong Technologies Inc.
Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a ... |
/*
* This header is generated by classdump-dyld 1.0
* on Wednesday, March 22, 2017 at 9:06:53 AM Mountain Standard Time
* Operating System: Version 10.1 (Build 14U593)
* Image Source: /System/Library/Frameworks/MapKit.framework/MapKit
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos.
*/
... |
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_math.h :+: :+: :+: ... |
/*
This file is part of the Brother MFC/DCP backend for SANE.
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 prog... |
/**
* NeQuickG Ray properties Unit test
*
* @author Angela Aragon-Angel (maria-angeles.aragon@ec.europa.eu)
* @ingroup NeQuickG_JRC_UT
* @copyright Joint Research Centre (JRC), 2019<br>
* This software has been released as free and open source software
* under the terms of the European Union Public Licence (EU... |
//
// YLAudioPlayer.h
// TestToolsAndCategroys
//
// Created by MobbyDeveloper on 15/11/25.
// Copyright © 2015年 LYL. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <AVFoundation/AVFoundation.h>
@interface YLAudioPlayer : NSObject
/**
* 播放音效
*
* @param fileName 音效文件名
*/
+ (void)playSound... |
ssize_t write_all(int fd, const void *buf, size_t len);
int serial_resetup_port(int fd);
int serial_setup_port(int fd);
ssize_t read_nonblock(int fd, void *buf, size_t len);
int set_block(int fd);
int set_nonblock(int fd);
#include "fec-3.0.1/fixed.h"
void encode_rs_8(data_t *data, data_t *parity,int pad);
int decode_... |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* MIT License *
* *
* Copyright (c) 2020 Thomas AUBERT ... |
#pragma once
#include <dis6/FixedDatum.h>
#include <dis6/VariableDatum.h>
#include <vector>
#include <dis6/SimulationManagementWithReliabilityFamilyPdu.h>
#include <utils/DataStream.h>
#include <dis6/msLibMacro.h>
namespace DIS
{
// Section 5.3.12.6: request from a simulation manager to a managed entity to perform a... |
#pragma once
#include <string>
#include "rapidjson/document.h"
class JsonObject
{
public:
JsonObject(rapidjson::Document::AllocatorType& allocator)
:m_alloc(allocator)
{
m_value.SetObject();
}
void AddMember(const char *name, const char *value) { m_value.AddMember(name, value, m_alloc); }
void Add... |
#ifndef QT_COMPAT_H
#define QT_COMPAT_H
#include <qglobal.h>
#if QT_VERSION < QT_VERSION_CHECK(5, 7, 0)
// Add qOverload from Qt's qglobal.h
template <typename... Args>
struct QNonConstOverload
{
template <typename R, typename T>
constexpr auto operator()(R (T::*ptr)(Args...)) const noexcept -> decltype(ptr)
... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appl... |
/****************************************************************************/
/* aeabi_portable.c */
/* */
/* Copyright (c) 2006 Texas Instruments Incorporated */
/* h... |
/*=========================================================================
Program: Visualization Toolkit
Module: vtkLineRepresentation.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 softw... |
// Copyright (c) 2018-2018 Satoshi Nakamoto
// Copyright (c) 2018-2019 The 5GL developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef 5GL_INIT_H
#define 5GL_INIT_H
#include <string>
class CWallet;
namespace boost
... |
// Generated by Apple Swift version 2.1.1 (swiftlang-700.1.101.15 clang-700.1.81)
#pragma clang diagnostic push
#if defined(__has_include) && __has_include(<swift/objc-prologue.h>)
# include <swift/objc-prologue.h>
#endif
#pragma clang diagnostic ignored "-Wauto-import"
#include <objc/NSObject.h>
#include <stdint.h>
... |
// Copyright 2019 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 SRC_DEVELOPER_MEMORY_METRICS_SUMMARY_H_
#define SRC_DEVELOPER_MEMORY_METRICS_SUMMARY_H_
#include <zircon/types.h>
#include <regex>
#include <stri... |
/**********************************************************
* Copyright 2008-2009 VMware, 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 without
* restrict... |
#pragma once
//#include <iostream>
#ifdef USE_CUDA
#include <cuda_runtime.h>
#endif // USE_CUDA
#include <torchaudio/csrc/rnnt/macros.h>
#include <torchaudio/csrc/rnnt/types.h>
namespace torchaudio {
namespace rnnt {
typedef struct Options {
// the device to compute transducer loss.
device_t device_;
#ifdef US... |
#pragma once
#include "std_filesystem.h"
#include <chrono>
namespace died
{
class file_notify_info
{
public:
file_notify_info() = default;
template<typename StringAble>
explicit file_notify_info(StringAble&& s, unsigned long action = 0ul, unsigned long size = 0ul);
explicit operator bool() const noexc... |
/* Compiler implementation of the D programming language
* Copyright (C) 1999-2020 by The D Language Foundation, All Rights Reserved
* written by Walter Bright
* http://www.digitalmars.com
* Distributed under the Boost Software License, Version 1.0.
* http://www.boost.org/LICENSE_1_0.txt
* https://github.com/dlan... |
//===- InputSegment.h -------------------------------------------*- C++ -*-===//
//
// The LLVM Linker
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------... |
/*
* This header is generated by classdump-dyld 1.5
* on Friday, April 30, 2021 at 11:36:17 AM Mountain Standard Time
* Operating System: Version 13.5.1 (Build 17F80)
* Image Source: /System/Library/PrivateFrameworks/CoreUI.fram... |
#if 0
#elif defined(__arm64__) && __arm64__
// Generated by Apple Swift version 5.4 (swiftlang-1205.0.26.9 clang-1205.0.19.55)
#ifndef MCISTOREPAYMENT_SWIFT_H
#define MCISTOREPAYMENT_SWIFT_H
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wgcc-compat"
#if !defined(__has_include)
# define __has_include... |
/*
* This header is generated by classdump-dyld 1.5
* on Wednesday, April 28, 2021 at 9:08:49 PM Mountain Standard Time
* Operating System: Version 14.5 (Build 18L204)
* Image Source: /System/Library/AccessibilityBundles/UIKit.a... |
//
// NSString+Encode.h
// Owncloud iOs Client
//
// Copyright (C) 2014 ownCloud Inc. (http://www.owncloud.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 restriction, i... |
#ifndef REQUEST_H
# define REQUEST_H
# include <stdlib.h>
# include "libft.h"
# include "http.h"
# define PROTOCOL_1_0 1
# define PROTOCOL_1_1 2
# define PROTOCOL_2_0 3
# define METHOD_NUMBER 4
# define METHOD_GET 1
# define METHOD_HEAD 2
# define METHOD_POST 3
# define METHOD_PUT 4
# define POST_NUMBER 3
# def... |
/*
***********************************************************************************************************************
*
* Copyright (c) 2016-2019 Advanced Micro Devices, Inc. All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associ... |
// Copyright 2018 the V8 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.
#ifndef V8_OBJECTS_OBJECTS_DEFINITIONS_H_
#define V8_OBJECTS_OBJECTS_DEFINITIONS_H_
#include "src/init/heap-symbols.h"
#include "torque-generated/insta... |
//
// MTURL.h
// MTRouter
//
// Created by 范冬冬 on 2018/4/22.
// Copyright © 2018年 meitu. All rights reserved.
//
#import <Foundation/Foundation.h>
/**
urlStr对应的MTURL
*/
@interface MTURL : NSURL
/**
url的全路径,host+path,例如:http://aaa/bbb的absolutePath为 `aaa/bbb`
*/
@property (nonatomic, copy) NSString *absoluteP... |
#pragma once
#include "envoy/stream_info/stream_info.h"
#include "common/common/assert.h"
#include "common/stream_info/filter_state_impl.h"
#include "test/test_common/test_time.h"
namespace Envoy {
class TestStreamInfo : public StreamInfo::StreamInfo {
public:
TestStreamInfo() {
tm fake_time;
memset(&fak... |
/*
* 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 ... |
/*
FreeRTOS V9.0.0 - Copyright (C) 2016 Real Time Engineers Ltd.
All rights reserved
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
This file is part of the FreeRTOS distribution.
FreeRTOS is free software; you can redistribute it and/or modify it under
the terms of... |
/*
Phobos 3d
February 2012
Copyright (c) 2005-2013 Bruno Sanches http://code.google.com/p/phobos3d
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 ... |
#ifndef UTILS_H
#define UTILS_H
#define CMDBUFLEN 100
#define print_debug(str, ...) \
printf(str" - %s:%u\n", ##__VA_ARGS__, __FILE__, __LINE__);
#define print_err(str, ...) \
fprintf(stderr, str, ##__VA_ARGS__);
int run_cmd(char *cmd, ...);
uint32_t sum_every_16bit... |
// Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include <vespa/searchcore/proton/bucketdb/bucketdbhandler.h>
#include <vespa/searchcore/proton/bucketdb/bucket_create_notifier.h>
#include <vespa/searchcore/proton/test/bucketfactory.h>
#include <vespa/sea... |
/*
* This header is generated by classdump-dyld 1.0
* on Sunday, June 7, 2020 at 11:42:20 AM Mountain Standard Time
* Operating System: Version 13.4.5 (Build 17L562)
* Image Source: /System/Library/Frameworks/SwiftUI.framework/SwiftUI
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos.
*/
... |
//
// NTESAnimationImageView.h
// NERtcAudioChatroom
//
// Created by Netease on 2019/3/13.
// Copyright © 2019年 netease. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface NTESAnimationImageView : UIImageView
@property (nullable, nonatomic, copy) NSString *info;
- (void)startCu... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE457_Use_of_Uninitialized_Variable__struct_pointer_63a.c
Label Definition File: CWE457_Use_of_Uninitialized_Variable.c.label.xml
Template File: sources-sinks-63a.tmpl.c
*/
/*
* @description
* CWE: 457 Use of Uninitialized Variable
* BadSource: no_init Don't initialize ... |
#ifndef REGTEST
#include <threads.h>
int mtx_unlock(mtx_t* mtx)
{
if (--(*mtx) >= 0)
return thrd_success;
return thrd_error;
}
#endif
#ifdef TEST
#include "_PDCLIB_test.h"
int main(void) { return TEST_RESULTS; }
#endif |
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __SVM_H
#define __SVM_H
#include <uapi/asm/svm.h>
#include <uapi/asm/kvm.h>
/*
* 32-bit intercept words in the VMCB Control Area, starting
* at Byte offset 000h.
*/
enum intercept_words {
INTERCEPT_CR = 0,
INTERCEPT_DR,
INTERCEPT_EXCEPTION,
INTERCEPT_WORD3,
INTE... |
/*
* hw_def.h
*
* Created on: Oct 20, 2020
* Author: baram
*/
#ifndef SRC_HW_HW_DEF_H_
#define SRC_HW_HW_DEF_H_
#include "def.h"
#include "bsp.h"
#endif /* SRC_HW_HW_DEF_H_ */ |
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* mkg_file_create.c :+: :+: :+: ... |
/**
* MIT License
*
* Copyright (c) 2017 Thibaut Goetghebuer-Planchon <tessil@gmx.com>
*
* 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 limitati... |
/**
* author: UncP
* date: 2018-11-22
* license: BSD-3
**/
#include <stdio.h>
#include <assert.h>
#include "../blink/blink_tree.h"
/* a simple example as how to use blink tree */
int main()
{
static const char *hello = "hello";
static const char *world = "world";
blink_tree *bt = new_bl... |
/** @file
* Copyright (c) 2016-2020, Arm Limited or its affiliates. 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
*
* http... |
/*-
* Copyright (c) 1980 The Regents of the University of California.
* All rights reserved.
*
* %sccs.include.proprietary.c%
*/
#ifndef lint
static char sccsid[] = "@(#)derfc_.c 5.2 (Berkeley) 04/12/91";
#endif /* not lint */
double derfc_(x)
double *x;
{
double erfc();
return( erfc(*x) );
} |
// This is an open source non-commercial project. Dear PVS-Studio, please check
// it. PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
// TODO(ZyX-I): move to eval/executor
/// @file ex_eval.c
///
/// Functions for Ex command line for the +eval feature.
#include <assert.h>
#include <stdbool.h... |
#pragma once
#include <napi.h>
#include <nodegui/QtWidgets/QWidget/qwidget_macro.h>
#include <QPointer>
#include "nmenu.hpp"
class QMenuWrap : public Napi::ObjectWrap<QMenuWrap> {
QWIDGET_WRAPPED_METHODS_DECLARATION
private:
QPointer<NMenu> instance;
public:
static Napi::Object init(Napi::Env env, Napi::Obj... |
//#--------------------------------------------------------------
//
// File: hashmd5.h
//
// Synopsis: This file holds the declarations of the
// CHashMD5 class
//
//
// History: 9/23/97 MKarki Created
//
// Copyright (C) 1997-98 Microsoft Corporation
// All right... |
/*
Copyright (c) 2020 NetFoundry, 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
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, softwa... |
#include QMK_KEYBOARD_H
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT_all(
KC_F1, KC_F2, KC_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_DEL, KC_BSPC, KC_HOME,
KC_F3, KC_F4, KC_TAB, KC_Q, KC_W, ... |
/* Copyright (c) 2001, Stanford University
* All rights reserved.
*
* See the file LICENSE.txt for information on redistributing this software.
*/
#ifndef CR_PACKER_H
#define CR_PACKER_H
#ifdef DLLDATA
#undef DLLDATA
#endif
#define DLLDATA(type) DECLEXPORT(type)
#include <stdio.h> /* for sprintf() */
#include "... |
/*
* Copyright (C) 2012-2014 ARM Limited. All rights reserved.
*
* This program is free software and is provided to you under the terms of the GNU General Public License version 2
* as published by the Free Software Foundation, and any use by you of this program is subject to the terms of such GNU licence.
*
* ... |
/*
* ===================================================================
* TS 26.104
* R99 V3.5.0 2003-03
* REL-4 V4.4.0 2003-03
* REL-5 V5.1.0 2003-03
* 3GPP AMR Floating-point Speech Codec
* ===================================================================
*
*/
/*
* interf_dec.h
*
*
* Project:
... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appl... |
/* * Copyright (c) 2016 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:
*
* 1. Redistributions of source code must retain the above copyright
* notice, ... |
/*
* $Id$
*
* This is an example of using scatterv to send a matrix from one process to
* all others, with the matrix stored in Fortran order. Note the
* use of an explicit UB to enable the sources to overlap.
*
* This tests scatterv to make sure that it uses the datatype size and extent
* correctly. It requir... |
// Generated by https://github.com/juliettef/IconFontCppHeaders script GenerateIconFontCppHeaders.py for language C++11
// from https://raw.githubusercontent.com/FortAwesome/Font-Awesome/master/advanced-options/metadata/icons.yml
// for use with https://github.com/FortAwesome/Font-Awesome/blob/master/web-fonts-with-css... |
#include "rex_kmp.h"
////Example of sparse matrix-vector multiply, using CSR (compressed sparse row format).
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
// Add timing support
#include <sys/timeb.h>
#include <immintrin.h>
#define REAL float
double read_timer()
{
struct timeb tm;
ftime(&tm);
retur... |
#ifndef GETCH_H
#define GETCH_H
static void initTermios(int echo);
static void resetTermios(void);
static char getch_(int echo);
char getch(void);
#endif //GETCH_H |
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "S1AP-IEs"
* found in "../support/r14.4.0/36413-e40.asn"
* `asn1c -pdu=all -fcompound-names -findirect-choice -fno-include-deps`
*/
#include "S1AP_HandoverFlag.h"
/*
* This type is implemented using NativeEnumerated,
* so here we a... |
/* Copyright 2019 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 law or a... |
/*
* Support for MicroBlaze PVR (processor version register)
*
* Copyright (C) 2007-2009 Michal Simek <monstr@monstr.eu>
* Copyright (C) 2007-2009 PetaLogix
* Copyright (C) 2007 John Williams <john.williams@petalogix.com>
*
* This file is subject to the terms and conditions of the GNU General Public
* License. ... |
/*
* Copyright (c) 2005-2007, 2010 Genome Research Ltd.
* Author(s): James Bonfield
*
* 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 noti... |
/*
* This header is generated by classdump-dyld 1.0
* on Saturday, June 1, 2019 at 6:42:38 PM Mountain Standard Time
* Operating System: Version 12.1.1 (Build 16C5050a)
* Image Source: /System/Library/PrivateFrameworks/BaseBoard.framework/BaseBoard
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elia... |
#pragma once
namespace sublayout
{
struct UIHamburger
{
static void Start();
};
} |
/****************************************************************************
* FreeModbus Libary: A portable Modbus implementation for Modbus ASCII/RTU.
*
* Copyright (C) 2013 Armink <armink.ztl@gmail.com>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modifi... |
// Copyright (c) 2015-2018 William W. Fisher (at gmail dot com)
// This file is distributed under the MIT License.
#ifndef OFP_YAML_YTABLEIDS_H_
#define OFP_YAML_YTABLEIDS_H_
#include "ofp/tableidlist.h"
namespace ofp {
namespace detail {
struct TableIDInserter {};
} // namespace detail
} // namespace ofp
names... |
/*
** $Id: lvm.h,v 1.1 2008-05-13 21:06:59 morlando Exp $
** Lua virtual machine
** See Copyright Notice in lua.h
*/
#ifndef lvm_h
#define lvm_h
#include "ldo.h"
#include "lobject.h"
#include "ltm.h"
#define tostring(L,o) ((ttype(o) == LUA_TSTRING) || (luaV_tostring(L, o)))
#define tonumber(o,n) (ttype(o) == LUA_... |
/**
* (C) Copyright 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... |
#include "cerberus.h"
unsigned test(unsigned one , unsigned bit)
{
unsigned val= bit & 1;
unsigned zero= one >> 1;
val++;
return zero + ( val>> 1 );
}
int
main (void)
{
if (test (1,0) != 0)
abort ();
if (test (1,1) != 1)
abort ();
if (test (1,65535) != 1)
abort ();
exit (0);
... |
/*****************************************************************************
* *
* OpenNI 2.x Alpha *
* Copyright (C) 2012 PrimeSense Ltd. *
* ... |
/* -*- Mode: C; c-basic-offset:4 ; -*- */
/*
* (C) 2001 by Argonne National Laboratory.
* See COPYRIGHT in top-level directory.
*/
#include "mpi.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
/*
Mpiexec:main()
{
MPI_Init()
foreach option in (cmd line options)
parse standard mpiexec opt... |
// Copyright (c) 2021 PaddlePaddle 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... |
/* Start Header ************************************************************************/
/*!
\file SoulSystem.h
\project Exale
\author Lim Jia Hao, l.jiahao, 390006518 (100%)
\par l.jiahao\@digipen.edu
\date 3 April,2020
\brief This file contains the functions for... |
#pragma once
/*#
# m6581.h
MOS Technology 6581 emulator (aka SID)
based on tedplay (c) 2012 Attila Grosz, used under Unlicense http://unlicense.org/
Do this:
~~~C
#define CHIPS_IMPL
~~~
before you include this file in *one* C or C++ file to create the
implementation.
Optiona... |
#include "haribote.h"
#include "stdlibc.h"
void HariMain(void){
char *buf;
int win;
int i;
int x, y;
api_initmalloc();
buf = api_malloc(150 * 100);
win = api_openwin(buf, 150, 100, -1, "star1");
api_boxfillwin(win, 6, 26, 143, 93, 0); //黒
for(i = 0; i < 50; i ++){
... |
/*
* Copyright (c) 1991, 1993
* The Regents of the University of California. All rights reserved.
*
* The game adventure was originally written in Fortran by Will Crowther
* and Don Woods. It was later translated to C and enhanced by Jim
* Gillogly. This code is derived from software contributed to Berkeley
... |
/*------------------------------------------------------------------------------
upsd3400_hardware.h
Version:
February 22, 2005 Version 2.4 - Added the uPS3422.
October 1, 2004 Version 2.3 - Set the device's default voltage operation to 3V.
Added memory sizes for all parts in 3400 family and updated comments.
August ... |
/// @file eval/typval_convert.h
///
/// Contains set of macros used to convert (possibly recursive) typval_T into
/// something else. For these macros to work the following macros must be
/// defined:
/// @def TYPVAL_ENCODE_CONV_NIL
/// @brief Macros used to convert NIL value
///
/// Is called both for special diction... |
#pragma once
#include <memory>
#include <string>
#include <optional>
#include <QObject>
#include <QTimer>
#include <QColor>
#include <QFuture>
#include <QTransform>
#include "cereal/messaging/messaging.h"
#include "selfdrive/common/modeldata.h"
#include "selfdrive/common/params.h"
#include "selfdrive/common/timing.h... |
//
// AnnoFloatBarView.h
// MobileRTCSample
//
// Created by Chao Bai on 2018/6/12.
// Copyright © 2018 Zoom Video Communications, Inc. All rights reserved.
//
#import <UIKit/UIKit.h>
@protocol AnnoFloatBarViewDelegate <NSObject>
@optional
- (BOOL)onClickStartAnnotate;
- (BOOL)onClickStopAnnotate;
@end
@inter... |
//
// Copyright Aliaksei Levin (levlam@telegram.org), Arseny Smirnov (arseny30@gmail.com) 2014-2020
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#pragma once
#include "td/utils/port/config.h"
#include "td... |
/* BFD back-end for MS-DOS executables.
Copyright (C) 1990-2019 Free Software Foundation, Inc.
Written by Bryan Ford of the University of Utah.
Contributed by the Center for Software Science at the
University of Utah (pa-gdb-bugs@cs.utah.edu).
This file is part of BFD, the Binary File Descriptor librar... |
// Copyright 2017, OpenCensus 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... |
/*
* This header is generated by classdump-dyld 1.5
* on Tuesday, November 10, 2020 at 10:18:48 PM Mountain Standard Time
* Operating System: Version 14.2 (Build 18K57)
* Image Source: /usr/lib/libcoreroutine.dylib
... |
/*
* Copyright (c) 2016 Nordic Semiconductor ASA
* Copyright (c) 2016 Vinayak Kariappa Chettimada
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef _HCI_CONTROLLER_H_
#define _HCI_CONTROLLER_H_
#if defined(CONFIG_BT_HCI_ACL_FLOW_CONTROL)
extern s32_t hci_hbuf_total;
extern u32_t hci_hbuf_sent;
extern u32_... |
/* strerror.c -- strerror() replacement
Copyright (C) 1996 Uwe Ohse
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, or (at your option)
any later version.
This pr... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.