text stringlengths 9 948k |
|---|
// Copyright lowRISC contributors.
// Licensed under the Apache License, Version 2.0, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0
#include "sw/device/lib/dif/dif_pwrmgr.h"
#include "sw/device/lib/base/bitfield.h"
#include "sw/device/lib/base/mmio.h"
#include "pwrmgr_regs.h" // Generated.
/**
*... |
/*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... |
#include <_ansi.h>
#include <_syslist.h>
#include <stdlib.h>
#include <unistd.h>
#include <reent.h>
#include <errno.h>
#include "asm.h"
#include "processor.h"
#include "system.h"
#if defined(HW_RVL)
u32 MALLOC_MEM2 __attribute__((weak)) = 1;
#endif
void* _DEFUN(__libogc_sbrk_r,(ptr,incr),
struct _reent *ptr _AND... |
///*********************************************************************************
//*
//* ECXcx
//* Author: Zhu Fei
//* Email: zhufei_13967158519@hotmail.com
//*
//*********************************************************************************/
#ifndef ECXcx_TYPES_H
#define ECXcx_TYPES_H
#include "ECX_Types.h"
... |
/*
* 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 ... |
/* gpssnmp - poll local gpsd for SNMP variables
*
* To build this:
* gcc -o gpssnmp gpssnmp.c -lgps
*
* Copyright 2016 David Taylor <gpsd@david.taylor.name>
*
* Copyright2018 by the GPSD project
* SPDX-License-Identifier: BSD-2-clause
*
*/
#include <gps.h>
#include <stdio.h>
#include <string.h>
static ... |
/*
* $Id: debug_kputchar2.c,v 1.3 2006-01-08 12:04:22 clib2devs Exp $
*/
#include "debug_headers.h"
/****************************************************************************/
VOID
KPutChar(UBYTE c)
{
kputc(c);
} |
#include "driver.h"
NTSTATUS
DriverEntry(_In_ PDRIVER_OBJECT DriverObject, _In_ PUNICODE_STRING RegistryPath)
{
WDF_DRIVER_CONFIG config;
NTSTATUS status;
WDF_OBJECT_ATTRIBUTES attributes;
WDF_OBJECT_ATTRIBUTES_INIT(&attributes);
attributes.EvtCleanupCallback = ntia_pcie_evt_driver_context_cleanup... |
int main(void)
{
double x1, x2;
double t, res;
x1 = __BUILTIN_DAED_DBETWEEN_WITH_ULP(-5.0, 5.0);
x2 = __BUILTIN_DAED_DBETWEEN_WITH_ULP(-20.0, 5.0);
t = (3*x1*x1 + 2*x2 - x1);
res = x1 + ((2*x1*(t/(x1*x1 + 1)) *
(t/(x1*x1 + 1) - 3) + x1*x1*(4*(t/(x1*x1 + 1))-6))*
(x1*x1 + 1) + 3*x1*x1*(t/(x... |
#ifndef INC_LOADER_H
#define INC_LOADER_H
#if defined(__cplusplus)
extern "C" {
#endif
typedef enum
{
RESULT_OK = 0x00,
RESULT_ERROR = 0x01,
RESULT_FLASH_ERROR = 0x02,
RESULT_HAS_FIRMWARE = 0x04,
RESULT_NO_FIRMWARE = 0x05,
RESULT_ALREADY_IN_FIRMWARE = 0x06,
RESULT_SOFT_ERROR = 0xE1,
RESULT_HAR... |
// ==++==
//
//
// Copyright (c) 2006 Microsoft Corporation. All rights reserved.
//
// The use and distribution terms for this software are contained in the file
// named license.txt, which can be found in the root of this distribution.
// By using this software in any fashion, you are agreeing to b... |
/*
* This header is generated by classdump-dyld 1.0
* on Sunday, June 7, 2020 at 11:28:09 AM Mountain Standard Time
* Operating System: Version 13.4.5 (Build 17L562)
* Image Source: /System/Library/PrivateFrameworks/SecurityFoundation.framework/SecurityFoundation
* classdump-dyld is licensed under GPLv3, Copyright © 20... |
#include <stdio.h>
#include <stdlib.h>
#include "bst.h"
int main()
{
int n;
scanf("%d", &n); // Reads the num of elements that will result in a tree
int heightOfDNsTree = 0, heightOfMentsTree = 0; // Heights of the trees
int *arrDN = malloc(n * sizeof(int)); // array that will store DN's tree numbers
for ... |
// Copyright (c) 2012-2014 The Bitcoin developers
// Copyright (c) 2014-2018 The Gdc developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_VERSION_H
#define BITCOIN_VERSION_H
/**
* network protocol version... |
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation.
// All rights reserved.
//
// This code is licensed under the MIT License.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated doc... |
/* CAMachines.h: Object encapsulating libspectrum machines
Copyright (c) 2005 Fredrick Meunier
$Id: CAMachines.h,v 1.1 2005/04/18 03:18:38 fred Exp $
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 Softwa... |
/*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% %
% ... |
/*-------------------------------------------------------------------------
*
* walmethods.c - implementations of different ways to write received wal
*
* NOTE! The caller must ensure that only one method is instantiated in
* any given program, and that it's only instantiated once!
*
* Portions Copyright (c) 1... |
/*
* $Id$
* 'OpenSSL for Ruby' project
* Copyright (C) 2001-2002 Michal Rokos <m.rokos@sh.cvut.cz>
* All rights reserved.
*/
/*
* This program is licensed under the same licence as Ruby.
* (See the file 'LICENCE'.)
*/
#include "ossl.h"
#define WrapX509Ext(klass, obj, ext) do { \
if (!(ext)) { \
ossl_rais... |
//
// Copyright (C) 2012 Andras Varga
//
// This program 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
// of the License, or (at your option) any later version.
//
// This program i... |
/*
* This header is generated by classdump-dyld 1.0
* on Sunday, September 27, 2020 at 11:51:50 AM Mountain Standard Time
* Operating System: Version 14.0 (Build 18A373)
* Image Source: /System/Library/PrivateFrameworks/HomeKitBackingStore.framework/HomeKitBackingStore
* classdump-dyld is licensed under GPLv3, Copyrigh... |
// Copyright (c) 2014-2018 The Dash Core developers
// Copyright (c) 2018-2018 The Buddie Core developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef MESSAGESIGNER_H
#define MESSAGESIGNER_H
#include "key.h"
/*... |
// Copyright 2014 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_COMPILER_JS_CONTEXT_SPECIALIZATION_H_
#define V8_COMPILER_JS_CONTEXT_SPECIALIZATION_H_
#include "src/compiler/graph-reducer.h"
#include "src... |
/*
* Copyright (c) 2015-2017, Renesas Electronics Corporation. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <debug.h>
#include <io_driver.h>
#include <io_storage.h>
#include <string.h>
#include "io_common.h"
#include "io_emmcdrv.h"
#include "io_private.h"
#include "emmc_config.h"
#in... |
#include <stdint.h>
#include <string.h>
#include "address.h"
#include "hash.h"
#include "hash_state.h"
#include "params.h"
#include "thash.h"
#include "utils.h"
#include "wots.h"
// TODO clarify address expectations, and make them more uniform.
// TODO i.e. do we expect types to be set already?
// TODO and do we expe... |
// BUG: unable to handle kernel paging request in kfree (2)
// https://syzkaller.appspot.com/bug?id=ae239a8b52cf47d202f7ca93d3e861499f9dffcd
// status:fixed
// autogenerated by syzkaller (http://github.com/google/syzkaller)
#define _GNU_SOURCE
#include <endian.h>
#include <stdint.h>
#include <stdio.h>
#include <string... |
/* -*- C -*- */
/*
* Copyright (c) 2020 Seagate Technology LLC and/or its 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
... |
#include "plateform.h"
#include "config.h"
#include "ppi.h"
#include "crtc.h"
#include "upd.h"
#include "vga.h"
#include "gestport.h"
u8 ReadPort(core_crocods_t *core, u16 port)
{
if (port == 0xfefe) {
return 0xaa; // CrocoDS Rompack
}
if (!(port & 0x0480) ) {
return(ReadUPD(... |
/*
* Copyright 2015-2016 Freescale Semiconductor, Inc.
* Copyright 2017 NXP
*
* SPDX-License-Identifier: GPL-2.0+
*/
#ifndef _EMAC_H_
#define _EMAC_H_
#define EMAC_IEVENT_REG 0x004
#define EMAC_IMASK_REG 0x008
#define EMAC_R_DES_ACTIVE_REG 0x010
#define EMAC_X_DES_ACTIVE_REG 0x014
#define EMAC_ECNTRL_REG 0x02... |
/* this file has been autogenerated by vtkNodeJsWrap */
/* editing this might proof futile */
#ifndef NATIVE_EXTENSION_VTK_VTKNETCDFCFREADERWRAP_H
#define NATIVE_EXTENSION_VTK_VTKNETCDFCFREADERWRAP_H
#include <nan.h>
#include <vtkSmartPointer.h>
#include <vtkNetCDFCFReader.h>
#include "vtkNetCDFReaderWrap.h"
#inclu... |
[0;1;31m[0m[0;1;35m[0m[0;1;35m[0m[0;1;35m[0mextern void __VERIFIER_error();
void __VERIFIER_assert(int cond)
{
if (!cond)
{
ERROR:
/* assert not proved */
__VERIFIER_error();
}
return;
}
unsigned int __VERIFIER_nondet_uint();
unsigned int SIZE;
int linear_search(int *a, int n, int q)
{
... |
// Copyright 2019 - University of Strathclyde, King's College London and Schlumberger Ltd
// This source code is licensed under the BSD license found in the LICENSE file in the root directory of this source tree.
#ifndef __INSTANTIATION
#define __INSTANTIATION
#include "FastEnvironment.h"
#include "SimpleEval.h"
#incl... |
#ifndef LIBGAV1_SRC_UTILS_SEGMENTATION_H_
#define LIBGAV1_SRC_UTILS_SEGMENTATION_H_
#include <cstdint>
#include "src/utils/constants.h"
namespace libgav1 {
// The corresponding segment feature constants in the AV1 spec are named
// SEG_LVL_xxx.
enum SegmentFeature : uint8_t {
kSegmentFeatureQuantizer,
kSegmentF... |
/****************************************************************************
* arch/arm/src/stm32f7/stm32_rtc_lowerhalf.c
*
* Copyright (C) 2015-2016, 2018 Gregory Nutt. All rights reserved.
* Authors: Gregory Nutt <gnutt@nuttx.org>
* David Sidrane <david_s5@nscdg.com>
*
* Redistribution and use ... |
#define HOME_DEN_SCORE 50
#define DEN_SCORE 25
#define BRIDGE_SCORE 10
#define TEMPLE_SCORE 30
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include "lizards.h"
#include "lizmisc.h"
static void calculate_points (world_t *world)
{
int i, x, y, *lizard_heads;
hex_... |
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSOutlineView.h"
__attribute__((visibility("hidden")))
@interface FI_TSidebarView : NSOutlineView
{
_Bool _shouldHandleCommandClickOnMouseUp;
_Bool _keyOnMouseDown... |
#include <stdio.h>
#include <stdlib.h>
void QuickSort(int* aNums, int* aIndex, int aHead, int aTail)
{
if (aHead >= aTail) {
return;
}
int mLeft = aHead, mRight = aTail, mNumTmp = aNums[mLeft], mIndexTmp = aIndex[mLeft];
while (mLeft < mRight) {
while (mLeft < mRight && aNums[mRight] >... |
/* Copyright (c) 2014-2015, The Linux Foundation. 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 o... |
#ifndef PROCESSOR_H
#define PROCESSOR_H
class Processor {
public:
float Utilization(); //calculate the ratio between difference in active time and difference in total time
private:
long curtActive=0;
long curtTotal=0;
float epsilon=0.0001; //avoid floating number overflowing
};
#endif |
#include "openswitch-idl.h"
#include "ovsdb-idl.h"
#include "vswitch-idl.h"
#include "openvswitch/vlog.h"
#include "IF_MIB_custom.h"
#include "IF_MIB_scalars_ovsdb_get.h"
#include <netinet/ether.h>
#include <net-snmp/net-snmp-config.h>
#include <net-snmp/net-snmp-features.h>
#include <net-snmp/net-snmp-includes.h>
#inc... |
/*
* Copyright (c) 2010 - 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 notice, ... |
/*
* Copyright 2017 Aaron Barany
*
* 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... |
#ifndef QTIPCSERVER_H
#define QTIPCSERVER_H
// Define curecoin-Qt message queue name
#define curecoinURI_QUEUE_NAME "curecoinURI"
void ipcScanRelay(int argc, char *argv[]);
void ipcInit(int argc, char *argv[]);
#endif // QTIPCSERVER_H |
#ifndef _REF_H_
#define _REF_H_
#include <stdint.h>
#include "type.h"
typedef enum {
TYPEID_PTR,
TYPEID_FLOAT,
TYPEID_ATOM,
TYPEID_LIST,
TYPEID_TUPLE,
TYPEID_MAP,
TYPEID_BINARY,
TYPEID_RECORD
} TypeId;
/* Ref type header consists of a single 32-bit field with the
* following layout:
* 32 ... |
//
// PoporAVPlayerVC.h
// linRunShengPi
//
// Created by popor on 2018/1/20.
// Copyright © 2018年 popor. All rights reserved.
#import <UIKit/UIKit.h>
#import "PoporAVPlayerVCProtocol.h"
@interface PoporAVPlayerVC : UIViewController <PoporAVPlayerVCProtocol>
- (instancetype)initWithDic:(NSDictionary *)dic;
- (v... |
/* SPDX-License-Identifier: BSD-2 */
/*
* Copyright (c) 2015 - 2018 Intel Corporation
* All rights reserved.
*/
#include <errno.h>
#include <inttypes.h>
#include <limits.h>
#include <string.h>
#include <stdio.h>
#ifndef _WIN32
#include <netdb.h>
#include <netinet/in.h>
#include <unistd.h>
#endif
#include "tss2_tpm... |
/*
* Copyright (c) 2015 Cisco and/or its 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 applicabl... |
//
// KECShareManager.h
// KidsEduCircl_2.0
//
// Created by jiong23 on 15/7/15.
// Copyright (c) 2015年 Chenjz. All rights reserved.
//
#import <Foundation/Foundation.h>
@class KECShare;
@protocol KECShareManagerDelegate <NSObject>
- (void)friendsReward;
@end
@interface KECShareManager : NSObject
@property (no... |
// ----------------------------------------------------------------------------
//
//
// Hierarchical Task Networks - HTN Implementation in C++
//
// Copyright (c) 2020, F.Lainard
// Original author: F.Lainard
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and ass... |
/*=========================================================================
Program: Visualization Toolkit
Module: vtkLagrangianBasicIntegrationModel.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
... |
/*
* 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" fil... |
//=========================================================
// src/big_battery_main.c: generated by Hardware Configurator
//
// This file will be updated when saving a document.
// leave the sections inside the "$[...]" comment tags alone
// or they will be overwritten!!
//==============================================... |
#include "kernel/feat2macros.h"
#include "kernel/template.h"
#include "kernel/PDEOperators/afc.h"
!**************************************************************
! Assemble the local bounds from the predicted solution
subroutine FEAT2_PP_TEMPLATE2(doBounds,__VectorName__,__AFCName__)(IedgeListIdx, Iedge... |
/* MIT License
*
* Copyright (c) 2016-2020 INRIA, CMU and Microsoft 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, including without limitation the r... |
/* Copyright 2020 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
/* Boten board configuration */
#ifndef __CROS_EC_BOARD_H
#define __CROS_EC_BOARD_H
/* Select Baseboard features */
#define VARIANT_DEDEDE_EC_IT8... |
/*
* vfio based device assignment support
*
* Copyright Red Hat, Inc. 2012
*
* Authors:
* Alex Williamson <alex.williamson@redhat.com>
*
* This work is licensed under the terms of the GNU GPL, version 2. See
* the COPYING file in the top-level directory.
*
* Based on qemu-kvm device-assignment:
* Adapted... |
/*
* This file is part of Maliit Plugins
*
* Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). All rights reserved.
* Copyright (C) 2012-2013 Canonical Ltd
*
* Contact: Mohammad Anwari <Mohammad.Anwari@nokia.com>
*
* Redistribution and use in source and binary forms, with or without modification... |
/*
* This file is part of the SDWebImage package.
* (c) Olivier Poitrey <rs@dailymotion.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
#import <Foundation/Foundation.h>
#import "SDImageIOAnimatedCoder.h"
// AVFileTypeHEIC/AVFileTy... |
/*
** vm.c - virtual machine for mruby
**
** See Copyright Notice in mruby.h
*/
#include <stddef.h>
#include <stdarg.h>
#ifndef MRB_WITHOUT_FLOAT
#include <math.h>
#endif
#include <mruby.h>
#include <mruby/array.h>
#include <mruby/class.h>
#include <mruby/hash.h>
#include <mruby/irep.h>
#include <mruby/numeric.h>
#inc... |
//
// SandboxHelper.h
// Yiyuanshe
//
// Created by GanPu on 11/14/13.
// Copyright (c) 2013 丁玉松. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface SandboxHelper : NSObject
+ (NSString *)homePath; // 程序主目录,可见子目录(3个):Documents、Library、tmp
+ (NSString *)appPath; // 程序目录,不能存任何东西
+... |
/* See LICENSE file for copyright and license details. */
/* appearance */
static const char *fonts[] = {
"monospace:size=10",
"Source Code Pro:size=10"
};
#define NUMCOLORS 4
static const char colors[NUMCOLORS][MAXCOLORS][8] = {
// border foreground background
{ "#444444", "#bbbbbb", "#222222" }, // ... |
// Copyright (c) 2015-2016 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
//
// File contains modifications by: The Gulden developers
// All modifications:
// Copyright (c) 2017-2018 The Gulden develo... |
#include "PrivateMediaRemote.h"
#ifndef PrivateMediaRemote_Functions_h
#define PrivateMediaRemote_Functions_h
void MRMediaRemoteRegisterForNowPlayingNotifications(dispatch_queue_t queue);
void MRMediaRemoteUnregisterForNowPlayingNotifications(void);
void MRMediaRemoteGetNowPlayingClient(dispatch_queue_t queue, MRMedi... |
/*-
* Copyright (c) 2004 Sam Leffler, Errno Consulting
* 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, th... |
// Copyright (c) 2014-2018 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_CRYPTO_COMMON_H
#define BITCOIN_CRYPTO_COMMON_H
#if defined(HAVE_CONFIG_H)
#include <config/spark-config.h>
... |
#pragma once
#include "trackable_memory_patch_base.h"
#include "../calling_convention.h"
#include "../original_function_call.h"
#include "../return_value_source.h"
namespace remod
{
class REMOD_CORE_EXPORT trackable_function_patch_base : public trackable_memory_patch_base
{
protected:
return_value_source m_ret_v... |
/*
* Copyright (c) 2014, Linaro Limited
* 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 conditi... |
#ifndef COSMOPOLITAN_LIBC_NT_TYPEDEF_IOAPCROUTINE_H_
#define COSMOPOLITAN_LIBC_NT_TYPEDEF_IOAPCROUTINE_H_
#include "libc/nt/struct/iostatusblock.h"
#if !(__ASSEMBLER__ + __LINKER__ + 0)
typedef void (*NtIoApcRoutine)(void *ApcContext,
struct NtIoStatusBlock *IoStatusBlock,
... |
/*
* Implementation of the Microsoft Installer (msi.dll)
*
* Copyright 2004 Aric Stewart for CodeWeavers
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of ... |
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "X2AP-PDU-Contents"
* found in "/home/vesh/openairinterface5g/openair2/X2AP/MESSAGES/ASN1/R14/x2ap-14.6.0.asn1"
* `asn1c -pdu=all -fcompound-names -fno-include-deps -gen-PER -gen-OER -no-gen-example -D /home/vesh/openairinterface5g/cmak... |
//------------------------------------------------------------------------------
// GB_Adot3B: hard-coded dot3 method for a semiring
//------------------------------------------------------------------------------
// SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2021, All Rights Reserved.
// SPDX-License-Identifi... |
/* This File is Part of LibFalcon.
* Copyright (c) 2018, Syed Nasim
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,... |
/*
* Copyright 2017 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... |
/****************************************************************************
* apps/examples/ustream/ustream.h
*
* 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 o... |
#ifndef TIRAMISU_test_h
#define TIRAMISU_test_h
#include "../reference/qblocks_2pt_parameters.h"
#define Nq P_Nq
#define Nc P_Nc
#define Ns P_Ns
#define Nw P_Nw
#define Nw2 P_Nw2
//#define Nw2 Nw*Nw
#define Nw2Hex P_Nw2Hex
#define Nperms P_Nperms
#define Lt P_Nt
#define Vsrc P_Vsrc
#define Vsnk P_Vsnk
#define Nsrc P... |
#include "../include/wgt.h"
#include "../include/mem.h"
short wloadsprites (color *pal, unsigned char *file, block *image_array, short start,
short end)
{
short maxsprite; /* maximum # of sprites in the file */
short startingsprite; /* First sprite in the file. Version <=3 = 1
Version 4 = 0 */
uns... |
//
// DateFormat.h
// EIntegrate
//
// Created by Granger on 2017/2/14.
// Copyright © 2017年 CGL. All rights reserved.
//
#import <Foundation/Foundation.h>
/// yyyy年M月d日
#define DATEFORMAT @"yyyy年M月d日"
/// yyyy年MM月dd日
#define DATEFORMAT2 @"yyyy年MM月dd日"
/// yyyy年MM月dd日 HH:mm:ss
#define DATEFORMAT... |
// -*- C++ -*-
//
// michael a.g. aïvázis
// orthologue
// (c) 1998-2018 all rights reserved
//
// code guard
#if !defined(pyre_journal_Renderer_h)
#define pyre_journal_Renderer_h
// place Renderer in namespace pyre::journal
namespace pyre {
namespace journal {
class Renderer;
}
}
// declaration
clas... |
/*
* Copyright (c) 2009 NLNet Labs. 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 ... |
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import <PhotoPrintProduct/KHFrameView.h>
#import "KHTreatmentRenderLayerDelegate.h"
#import "NSDraggingDestination.h"
@class KHLayout, KHProject, KHTreatmentRenderLayer, NSString... |
/*
* Copyright (c) 2015, Baser Kandehir, baser.kandehir@ieee.metu.edu.tr
*
* 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 r... |
/*
* Jitsi, the OpenSource Java VoIP and Instant Messaging client.
*
* Copyright @ 2015 Atlassian Pty 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.or... |
//*****************************************************************************
//
// bl_packet.h - The global variables and definitions of the boot loader.
//
// Copyright (c) 2006-2012 Texas Instruments Incorporated. All rights reserved.
// Software License Agreement
//
// Texas Instruments (TI) is supplying this s... |
/*
* Gmux driver for Apple laptops
*
* Copyright (C) Canonical Ltd. <seth.forshee@canonical.com>
* Copyright (C) 2010-2012 Andreas Heider <andreas@meetr.de>
*
* 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
* publis... |
#ifndef _MM_H
#define _MM_H
#define MEM_REGION_BEGIN 0x0
#define MEM_REGION_END 0x3C000000
#define PAGE_SIZE 4096
#define MAX_ORDER 8 // largest: PAGE_SIZE*2^(MAX_ORDER)
#define ALLOCABLE 0
#define ALLOCATED -1
#define C_NALLOCABLE -2
#define RESERVED ... |
/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file stm32f7xx_it.c
* @brief Interrupt Service Routines.
******************************************************************************
* @attention
*
* <h2><center>© Copyright (c) ... |
/*-------------------------------------------------------------------------
*
* bootstrap.c
* routines to support running postgres in 'bootstrap' mode
* bootstrap mode is used to create the initial template database
*
* Portions Copyright (c) 1996-2017, PostgreSQL Global Development Group
* Portions Copyright ... |
#pragma once
#include <SFML/Graphics.hpp>
namespace Renderer {
void initialise(sf::RenderWindow&);
sf::RenderWindow& getWindow();
void shutdown();
void update(const double&);
void queue(const sf::Drawable* s);
void render();
}; |
//
// MSDTEST_PODViewController.h
// MSDTest_pod
//
// Created by Firstmsdong on 04/07/2021.
// Copyright (c) 2021 Firstmsdong. All rights reserved.
//
@import UIKit;
@interface MSDTEST_PODViewController : UIViewController
@end |
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROMEOS_DBUS_FAKE_LEADERSHIP_DAEMON_MANAGER_CLIENT_H_
#define CHROMEOS_DBUS_FAKE_LEADERSHIP_DAEMON_MANAGER_CLIENT_H_
#include <map>
#include <st... |
/*
Copyright (c) 2015- present Advanced Micro Devices, 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 restriction, including without limitation the rights
to use... |
// BSD 3-Clause License
//
// Copyright (c) 2019, TIANBOT
// 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
/... |
/* Generated by CIL v. 1.7.0 */
/* print_CIL_Input is false */
struct _IO_FILE;
struct timeval;
extern float strtof(char const *str , char const *endptr ) ;
extern void signal(int sig , void *func ) ;
typedef struct _IO_FILE FILE;
extern int atoi(char const *s ) ;
extern double strtod(char const *str , char co... |
/*
* Copyright (C) 2011 Red Hat, Inc.
*
* This file is released under the GPL.
*/
#ifndef _LINUX_DM_BLOCK_MANAGER_H
#define _LINUX_DM_BLOCK_MANAGER_H
#include <linux/types.h>
#include <linux/blkdev.h>
/*----------------------------------------------------------------*/
/*
* Block number.
*/
typedef uint64_t d... |
// Copyright 2020-2021, Collabora, Ltd.
// SPDX-License-Identifier: BSL-1.0
/*!
* @file
* @brief Server mainloop details on Linux.
* @author Pete Black <pblack@collabora.com>
* @author Jakob Bornecrantz <jakob@collabora.com>
* @author Ryan Pavlik <ryan.pavlik@collabora.com>
* @ingroup ipc_server
*/
#include "x... |
// Copyright 2021 atframework
// @author OWenT, admin@owent.net
// @see https://github.com/gsl-lite/gsl-lite#features
#ifndef GSL_SELECT_GSL_H
#define GSL_SELECT_GSL_H
#pragma once
#include <config/atframe_utils_build_feature.h>
#include <config/compiler_features.h>
#include <std/explicit_declare.h>
// 1.Lifetime ... |
/*
* 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, and the entire permission notice in its entirety,
* including the disclaimer o... |
#ifndef HEYP_PROTO_CONSTRUCTORS_H_
#define HEYP_PROTO_CONSTRUCTORS_H_
#include <cstdint>
#include "absl/base/macros.h"
#include "absl/time/time.h"
#include "heyp/proto/heyp.pb.h"
namespace heyp {
struct FlowMarkerStruct {
std::string src_dc;
std::string dst_dc;
uint64_t host_id = 0;
std::string src_addr;
... |
/*
Copyright (C) 2016-2017 Xiongfa Li, <damao1222@live.com>
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... |
/**
* @file networkbaremetalmacaddress.h
*
*/
/* Copyright (C) 2018-2021 by Arjan van Vught mailto:info@orangepi-dmx.nl
*
* 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 restri... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.