text stringlengths 9 948k |
|---|
//
// NSString+LocalizedString.h
// FBBClientService
//
// Created by azhen on 2020/9/2.
//
#import <Foundation/Foundation.h>
#undef NSLocalizedString
NS_ASSUME_NONNULL_BEGIN
@interface NSString (LocalizedString)
+ (NSString *)localizedStringForKey:(NSString *)key
value:(NSString *)... |
/*
* Copyright (C) 2020 Ligang Wang <ligangwangs@gmail.com>
*
* unit test for utility functions
*/
#include "clib/math.h"
#include "test.h"
TEST(test_math, pow)
{
ASSERT_EQ(1, pow_int(2, 0));
ASSERT_EQ(2, pow_int(2, 1));
ASSERT_EQ(4, pow_int(2, 2));
ASSERT_EQ(16, pow_int(2, 4));
ASSERT_EQ(32, p... |
/****************************************************************************************/
/* Typing.h */
/****************************************************************************************/
/* Copyright (c) 2020-2021 Muller Castro. ... |
/* Copyright Statement:
*
* This software/firmware and related documentation ("MediaTek Software") are
* protected under relevant copyright laws. The information contained herein is
* confidential and proprietary to MediaTek Inc. and/or its licensors. Without
* the prior written permission of MediaTek inc. and/or ... |
// Copyright (c) FIRST and other WPILib contributors.
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#pragma once
#include <frc/AnalogGyro.h>
#include <frc/AnalogInput.h>
#include <frc/Encoder.h>
#include <frc/drive/Diff... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-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.
#ifndef BITCOIN_TXMEMPOOL_H
#define BITCOIN_TXMEMPOOL_H
#include <map>
#include ... |
#pragma once
#include "fastring.h"
#include <string>
#include <vector>
#include <map>
#include <set>
#include <unordered_map>
#include <unordered_set>
namespace str {
/**
* split a string
* split("x y z", ' '); -> [ "x", "y", "z" ]
* split("|x|y|", '|'); -> [ "", "x", "y" ]
* split("xooy", "oo"); ... |
/*
* This header is generated by classdump-dyld 1.0
* on Sunday, September 27, 2020 at 11:43:38 AM Mountain Standard Time
* Operating System: Version 14.0 (Build 18A373)
* Image Source: /System/Library/PrivateFrameworks/SecurityFoundation.framework/SecurityFoundation
* classdump-dyld is licensed under GPLv3, Copyright ... |
/* SPDX-License-Identifier: BSD-3-Clause
*
* Copyright(c) 2018 Intel Corporation. All rights reserved.
*
* Author: Liam Girdwood <liam.r.girdwood@linux.intel.com>
* Keyon Jie <yang.jie@linux.intel.com>
*/
/**
* \file include/ipc/dai.h
* \brief IPC DAI definitions
* \author Liam Girdwood <liam.r.girdwo... |
/* -*- Mode: C; c-basic-offset:4 ; -*- */
/*
* (C) 2001 by Argonne National Laboratory.
* See COPYRIGHT in top-level directory.
*/
#include "mpichconf.h"
#include "mpimem.h"
#include <string.h>
/* FIXME: Delete this file (functionality switched to MPIU_DBG_MSG interface */
#define MAX_DEBUG_NAME 256
/*
... |
#include "../include/funcoes-gerais.h"
// Função que abre o arquivo e o coloca em uma struct com algumas flags
s_file_t *openfile(char *filename, char *openmode){
s_file_t *file = (s_file_t *)malloc(1 * sizeof(s_file_t));
file->fp = NULL;
// Flag de arquivo vazio
file->EmptyFile = '0';
// Caso seja o stdin, admit... |
/******************************************************************************
* $Id: dgnlibp.h $
*
* Project: Microstation DGN Access Library
* Purpose: Internal (privatE) datastructures, and prototypes for DGN Access
* Library.
* Author: Frank Warmerdam, warmerdam@pobox.com
*
*****************... |
# 1 "benchmarks/ds-03-impl1.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/usr/include/stdc-predef.h" 1 3 4
# 1 "<command-line>" 2
# 1 "benchmarks/ds-03-impl1.c"
# 1 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/dsverifier.h" 1
# 20 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/b... |
#ifndef _WC_GBK_H
#define _WC_GBK_H
#define WC_GBK_NOSTATE 0
#define WC_GBK_MBYTE1 1 /* 0x81 - 0xA0, 0xA1 - 0xFE */
#define WC_GBK_MAP_C0 0x0
#define WC_GBK_MAP_GL 0x1
#define WC_GBK_MAP_C1 0x2
#define WC_GBK_MAP_LB 0x4
#define WC_GBK_MAP_UB (0x8 | WC_GBK_MAP_LB)
#define WC_GBK_MAP_80 (0x10 | WC_GBK_MAP_LB)
#define... |
#pragma once
#include "../base/Singleton.h"
#include "AbstractTextureImplementation.h"
namespace globjects
{
class TextureImplementation_DirectStateAccessEXT : public AbstractTextureImplementation
, public Singleton<TextureImplementation_DirectStateAccessEXT>
{
public:
TextureImplementation_DirectSta... |
/* Copyright (c) 2021 Mitya Selivanov
*
* This file is part of the Laplace project.
*
* Laplace is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
* the MIT License for more details.
... |
/***********************************************************************
*
* pppoe.c
*
* Implementation of user-space PPPoE redirector for Linux.
*
* Copyright (C) 2000-2012 by Roaring Penguin Software Inc.
*
* This program may be distributed according to the terms of the GNU
* General Public License, version 2 or (at ... |
/*
* Copyright 2011 Red Hat Inc.
*
* 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, publish, d... |
/******************************************************************************
*
* This module is a confidential and proprietary property of RealTek and
* possession or use of this module requires written permission of RealTek.
*
* Copyright(c) 2016, Realtek Semiconductor Corporation. All rights reserved.
... |
/*-
* Copyright (c) 2008 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 condit... |
/*
* This header is generated by classdump-dyld 1.0
* on Saturday, August 24, 2019 at 9:48:19 PM Mountain Standard Time
* Operating System: Version 12.4 (Build 16M568)
* Image Source: /System/Library/PrivateFrameworks/SecurityFoundation.framework/SecurityFoundation
* classdump-dyld is licensed under GPLv3, Copyright © ... |
/*
* Front End for The Small C+ Compiler
*
* Based on the frontend from zcc096 but substantially
* reworked
*
* Each file is now processed in turn (all the way through)
* And then everything is linked at the end, this makes it
* quite a bit nicer, and a bit more standard - saves ha... |
/**
* This file is part of "SI" version 2.3.0
* A header only c++ library that provides type safety and user defined literals
* for handling pyhsical values defined in the International System of
* Units
*
* https://github.com/bernedom/SI
*
* SPDX-License-Identifier: MIT
*
**/
#pragma once
#include "length.h... |
//
// NSString+Size.h
// XiuXiuTuanGou
//
// Created by 王克博 on 2018/8/17.
// Copyright © 2018年 XiuXiuTuanGou. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface NSString (Size)
//根据 字体,最大宽高 计算 字符串最大宽度
- (CGSize)getTextSizeWith:(UIFont *)font maxWidth:(CGFloat)maxWidth maxHeight:(CGFloat)maxHeig... |
/* GBNclient.c */
/* Witten by Kevin Colin and Luke Connors */
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h> /* memset() */
#include <sys/time.h> /* select() */
#include <... |
/*
* Copyright (C) 2010 University of Szeged
* Copyright (C) 2010 Zoltan Herczeg
*
* 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,... |
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#else
#ifndef FOUNDATION_EXPORT
#if defined(__cplusplus)
#define FOUNDATION_EXPORT extern "C"
#else
#define FOUNDATION_EXPORT extern
#endif
#endif
#endif
FOUNDATION_EXPORT double jarvis_network_iosVersionNumber;
FOUNDATION_EXPORT const unsigned char jarvis_network_iosVersionStr... |
/*!
\file CPerfProfiler.h
\date 07.01.2020
\authors Kasimov Ildar
*/
#pragma once
#include "IProfiler.h"
#include "../core/CBaseObject.h"
#include "../utils/ITimer.h"
#include <string>
#include <stack>
#include <thread>
#include <unordered_map>
namespace TDEngine2
{
/*!
class CPerfProfiler
\brief The int... |
/****************************************************************************/
/// @file MSDevice_Tripinfo.h
/// @author Daniel Krajzewicz
/// @author Michael Behrisch
/// @author Jakob Erdmann
/// @date Fri, 30.01.2009
/// @version $Id$
///
// A device which collects info on the vehicle trip
/****************... |
/**
** @file common.h - mruby common platform definition"
**
** See Copyright Notice in mruby.h
*/
#ifndef MRUBY_COMMON_H
#define MRUBY_COMMON_H
#ifdef __APPLE__
#ifndef __TARGETCONDITIONALS__
#include "TargetConditionals.h"
#endif
#endif
#ifdef __cplusplus
#ifdef MRB_ENABLE_CXX_ABI
#define MRB_BEGIN_DECL
#def... |
/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file : main.c
* @brief : Main program body
******************************************************************************
* @attention
*
* <h2><center>© Copyright (c) ... |
#include <std.h>
#include <move.h>
#include <daemons.h>
#include "/d/atoyatl/tecqumin/tecqumin.h"
inherit J_ROOM;
string long_desc();
string view_gate();
void create()
{
::create();
set_indoors(0);
set_property("light", 2);
set_terrain(JUNGLE);
set_travel(GAME_TRACK);
set_name("Before some ca... |
/* Benjamin DELPY `gentilkiwi`
https://blog.gentilkiwi.com
benjamin@gentilkiwi.com
Licence : https://creativecommons.org/licenses/by/4.0/
*/
#include "kuhl_m_iis.h"
const KUHL_M_C kuhl_m_c_iis[] = {
{kuhl_m_iis_apphost, L"apphost", NULL},
};
const KUHL_M kuhl_m_iis = {
L"iis", L"IIS XML Config module", NULL,
A... |
// Copyright (c) 2013, Grzegorz Swiatek. 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 con... |
/**
* Copyright (c) 2012-2014 Luke Dashjr
* 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
* t... |
#include <std.h>
#include "../elf.h"
inherit MONSTER;
int step;
int guards;
void reply_snarl(string str);
void reply_yell(string str);
void reply_ask(string str);
void create() {
::create();
set_name("gatekeeper");
set_id( ({"gatekeeper","elf","feanor","Faenor"}) );
set_short("Feanor, Ashta'Rathai's Gate... |
/*
* Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
* Copyright (C) 2004-2006 Red Hat, Inc. All rights reserved.
*
* This copyrighted material is made available to anyone wishing to use,
* modify, copy, or redistribute it subject to the terms and conditions
* of the GNU General Public Licen... |
#ifndef RecoTauTag_ImpactParameter_TrackTools_h
#define RecoTauTag_ImpactParameter_TrackTools_h
/* From SimpleFits Package
* Designed an written by
* author: Ian M. Nugent
* Humboldt Foundations
*/
#include "TMatrixT.h"
#include "TMatrixTSym.h"
#include "TVector3.h"
#include "RecoTauTag/ImpactParameter/interface/... |
#ifndef FS_RANDOM_FILE_H
#define FS_RANDOM_FILE_H
#include <stdint.h>
namespace fs {
bool random_file(const char* filename, uint64_t len);
}
#endif // FS_RANDOM_FILE_H |
//
// MMSingleStackManager.h
// LooseLeaf
//
// Created by Adam Wulf on 6/4/13.
// Copyright (c) 2013 Milestone Made, LLC. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "MMPaperStackView.h"
@interface MMSingleStackManager : NSObject {
UIView* visibleStack;
UIView* bezelStack;
UIVi... |
/*
* Copyright (c) 2020, Matthew Olsson <mattco@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#define JS_ENUMERATE_ERROR_TYPES(M) \
M(ArrayMaxSize, "Maximum array size exceeded") ... |
/*
* Syscall interface to knfsd.
*
* Copyright (C) 1995, 1996 Olaf Kirch <okir@monad.swb.de>
*/
#include <linux/slab.h>
#include <linux/namei.h>
#include <linux/ctype.h>
#include <linux/sunrpc/svcsock.h>
#include <linux/lockd/lockd.h>
#include <linux/sunrpc/addr.h>
#include <linux/sunrpc/gss_api.h>
#include <linu... |
/*
* Copyright (C) 2008-2012 Daisuke Aoyama <aoyama@peach.ne.jp>.
* 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
* ... |
/*-------------------------------------------------------------------------
*
* namespace.h
* prototypes for functions in backend/catalog/namespace.c
*
*
* Portions Copyright (c) 1996-2021, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* src/incl... |
#pragma once
#include <ATen/ATen.h>
#include <ATen/core/List.h>
#include <ATen/native/quantized/cpu/fbgemm_utils.h>
#include <ATen/native/quantized/cpu/qnnpack_utils.h>
#include <tuple>
/* Convolution prepacked parameters serialization.
*
* Version 1
*
* - Fields:
* 1. weight
* 2. bias
* 3. stride x kSpat... |
/*
* This header is generated by classdump-dyld 1.5
* on Wednesday, April 28, 2021 at 9:01:48 PM Mountain Standard Time
* Operating System: Version 14.5 (Build 18L204)
* Image Source: /System/Library/PrivateFrameworks/PowerLog.f... |
//
// Generated by gen_resource_source.py
//
#ifndef _COM_IBM_ICU_IMPL_DATA_ICUDT58B_SHI_TFNG_RES_H
#define _COM_IBM_ICU_IMPL_DATA_ICUDT58B_SHI_TFNG_RES_H
static jbyte _com_ibm_icu_impl_data_icudt58b_shi_Tfng_res[] = {
0x00, 0x20, 0xDA, 0x27, 0x00, 0x14, 0x00, 0x00, 0x01, 0x00,
0x02, 0x00, 0x52, 0x65, 0x73, 0x42,... |
/*
* TOPPERS/HRP Kernel
* Toyohashi Open Platform for Embedded Real-Time Systems/
* High Reliable system Profile Kernel
*
* Copyright (C) 2015-2016 by Ushio Laboratory
* Graduate School of Engineering Science, Osaka Univ., JAPAN
* Copyright (C) 2015-2019 by Embedded and Real-Time Syste... |
//============================================================================
// Copyright (c) Kitware, Inc.
// All rights reserved.
// See LICENSE.txt for details.
//
// This software is distributed WITHOUT ANY WARRANTY; without even
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURP... |
// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2008 Gael Guennebaud <gael.guennebaud@inria.fr>
// Copyright (C) 2006-2008 Benoit Jacob <jacob.benoit.1@gmail.com>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If ... |
/*
* Helper functions for tests using sockets
*
* Copyright 2015-2018 Red Hat, Inc.
*
* 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) version 3 of ... |
#ifndef ELF_H
#define ELF_H
#include "elf64.h"
#include "elf_common.h"
#include <stdint.h>
// Swapped
#define SELF_MAGIC 0x1D3D154F
#define ELF_MAGIC 0x464C457F
typedef struct {
uint32_t props;
uint32_t reserved;
uint64_t offset;
uint64_t file_size;
uint64_t memory_size;
} SelfEntry;
// SELF Header from:... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE190_Integer_Overflow__short_rand_square_51a.c
Label Definition File: CWE190_Integer_Overflow.label.xml
Template File: sources-sinks-51a.tmpl.c
*/
/*
* @description
* CWE: 190 Integer Overflow
* BadSource: rand Set data to result of rand()
* GoodSource: Set data to a ... |
/*
* This header is generated by classdump-dyld 1.0
* on Tuesday, November 5, 2019 at 2:46:06 AM Mountain Standard Time
* Operating System: Version 13.0 (Build 17J586)
* Image Source: /System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias... |
/*
** Copyright (c) 2018,2020 Valve Corporation
** Copyright (c) 2018,2020 LunarG, 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.... |
/*
* Copyright (C) 2014 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 app... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2019 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
// Compile-time verification of assumptions we make.
#ifndef BITCOIN_COMPAT_ASSU... |
/*
* Generated by util/mkerr.pl DO NOT EDIT
* Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the OpenSSL license (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or... |
///////////////////////////////////////////////////////////////////////////////
// BSD 3-Clause License
//
// Copyright (c) 2018-2020, The Regents of the University of California
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that... |
/*
* Automatically generated by genbuiltins.py, do not edit!
*/
#include "duk_internal.h"
#if defined(DUK_USE_ROM_STRINGS)
#error ROM support not enabled, rerun make_dist.py with --rom-support
#else /* DUK_USE_ROM_STRINGS */
DUK_INTERNAL const duk_uint8_t duk_strings_data[1049] = {
79,104,209,144,168,105,6,78,182... |
/*
* Copyright (c) 2013 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 contribut... |
// Copyright (c) 2012 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 CHROME_BROWSER_PRERENDER_PRERENDER_HANDLE_H_
#define CHROME_BROWSER_PRERENDER_PRERENDER_HANDLE_H_
#include <memory>
#include "base/macros.h"... |
/*
* Copyright © 2019 Google, Inc.
*
* 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, publish,... |
#import <UIKit/UIKit.h>
@interface InputView : UIView
+(instancetype)view;
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UITextField *textfield;
@property (weak, nonatomic) IBOutlet UILabel *detailLabel;
@property (weak, nonatomic) IBOutlet UIButton *button;
@end |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* 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/. */
#ifndef GMPServiceParent_h_
#defin... |
//
// BMKVersion.h
// BMapKit
//
// Copyright 2011 Baidu Inc. All rights reserved.
//
#import <UIKit/UIKit.h>
/*****更新日志:*****
V0.1.0: 测试版
支持地图浏览,基础操作
支持POI搜索
支持路线搜索
支持地理编码功能
--------------------
V1.0.0:正式发布版
地图浏览,操作,多点触摸,动画
标注,覆盖物
POI、路线搜索
地理编码、反地理编码
定位图层
--------------------
V1.1.0:
离线地图支持
-----... |
#ifndef DNA_REPLICATION_PARTICLEACTIVATIONBEHAVIOR_H
#define DNA_REPLICATION_PARTICLEACTIVATIONBEHAVIOR_H
#include "Particle.h"
namespace DNAReplication {
/**
* Abstract class modeling the activation behavior of particles
*/
class ParticleActivationBehavior {
public:
/// Determines wh... |
#pragma once
#include "ukr.h"
#include "omp.h"
#include "transpose.h"
#include "gen_ukr_A6B2gemm_1_64_56_56_64_1_1.h"
#include "gen_ukr_A4B2gemm_1_64_56_56_64_1_1.h"
void testrun(float* A ,float*B, float*C, float*oriB ){
int tid = omp_get_thread_num();
int Nx = 56;
int Ny = 56;
int Nh = 1;
long long As... |
/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file : usbd_desc.c
* @version : v2.0_Cube
* @brief : This file implements the USB device descriptors.
*******************************************************************... |
/* SPDX-License-Identifier: LGPL-2.1+ */
#include <unistd.h>
#include "alloc-util.h"
#include "escape.h"
#include "fd-util.h"
#include "fileio.h"
#include "generator.h"
#include "mkdir.h"
#include "proc-cmdline.h"
#include "specifier.h"
#include "strv.h"
static const char* arg_dest = NULL;
static char** arg_commands... |
// Copyright 2018 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 SHELL_BROWSER_EXTENSIONS_ELECTRON_EXTENSION_LOADER_H_
#define SHELL_BROWSER_EXTENSIONS_ELECTRON_EXTENSION_LOADER_H_
#include <memory>
#include <s... |
// 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 requir... |
// 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_ATTESTATION_ATTESTATION_CONSTANTS_H_
#define CHROMEOS_ATTESTATION_ATTESTATION_CONSTANTS_H_
#include "chromeos/chromeos_export.h"
na... |
/**
* FreeRDP: A Remote Desktop Protocol Implementation
* Base64 Encoding & Decoding
*
* Copyright 2011-2012 Marc-Andre Moreau <marcandre.moreau@gmail.com>
*
* 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 co... |
/*
// Copyright (c) 2016 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... |
/**************************************************************************//**
* @file efr32mg1b132f256gm48.h
* @brief CMSIS Cortex-M Peripheral Access Layer Header File
* for EFR32MG1B132F256GM48
* @version 5.2.1
******************************************************************************
* # License
... |
// Copyright (c) 2012 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.
//
// TCP cubic send side congestion algorithm, emulates the behavior of
// TCP cubic.
#ifndef NET_QUIC_CONGESTION_CONTROL_TCP_CUBIC_SENDER_H_
#define... |
//
// AbstractPOSTAPICall.h
//
//
// Created by Kamil Burczyk on 29.03.2013.
// Copyright (c) 2013 Kamil Burczyk. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "AFHTTPClient.h"
extern NSString *const kServerURLString;
@interface AbstractPOSTAPICall : NSObject
- (void) executeAPICallWithSuc... |
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#else
#ifndef FOUNDATION_EXPORT
#if defined(__cplusplus)
#define FOUNDATION_EXPORT extern "C"
#else
#define FOUNDATION_EXPORT extern
#endif
#endif
#endif
FOUNDATION_EXPORT double Pods_MoreTargetVersionNumber;
FOUNDATION_EXPORT const unsigned char Pods_MoreTargetVersionString[]; |
/*
Copyright 2011 Twitter, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this work except in compliance with the License.
You may obtain a copy of the License in the LICENSE file, or at:
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or ag... |
#include "util.h"
#include "export.h"
#include "bsp_mesh.h"
stl_object *stl_from_polys(klist_t(poly) *polygons) {
stl_object *stl = stl_alloc(NULL, polygons->size);
kliter_t(poly) *iter = kl_begin(polygons);
stl_facet *facet = stl->facets;
poly_t *poly = NULL;
for(; iter != kl_end(polygons); iter = kl_next(iter)... |
/*****************************************************************************
*
* Copyright 2013 Altera 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 sour... |
// Copyright 2009 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... |
#ifdef CONFIG_MIPS_GOLDFISH
#include <asm/mach-goldfish/time.h>
#endif |
/*
BitzOS (BOS) V0.2.3 - Copyright (C) 2017-2020 Hexabitz
All rights reserved
File Name : BOS.h
Description : Header file for Bitz Operating System (BOS).
*/
/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef BOS_H
#define BOS_H
/* Includes -------------... |
// SPDX-License-Identifier: GPL-2.0
/*
* sysctl_net_ipv6.c: sysctl interface to net IPV6 subsystem.
*
* Changes:
* YOSHIFUJI Hideaki @USAGI: added icmp sysctl table.
*/
#include <linux/mm.h>
#include <linux/sysctl.h>
#include <linux/in6.h>
#include <linux/ipv6.h>
#include <linux/slab.h>
#include <linux/export.h>
... |
/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file : usbd_cdc_if.h
* @version : v2.0_Cube
* @brief : Header for usbd_cdc_if.c file.
******************************************************************************
* ... |
/*
* Copyright (c) Contributors to the Open 3D Engine Project.
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#pragma once
#if !defined(Q_MOC_RUN)
#include <GemRepo/GemRepoModel.h>
#include <LinkWidget.h>
#i... |
#ifndef _VTKT_RANSFORM_H_
#define _VTKT_RANSFORM_H_
#include <vtkPoints.h>
#include <vtkPolyData.h>
#include <vtkCamera.h>
#include <vtkMatrix4x4.h>
#include <vtkTransformPolyDataFilter.h>
#include <vtkMatrixToHomogeneousTransform.h>
#include "../LinearAlgebra/Matrix.h"
#include <list>
using namespace std;
using name... |
/*
* If not stated otherwise in this file or this component's Licenses.txt file the
* following copyright and licenses apply:
*
* Copyright 2015 RDK Management
*
* 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 ... |
/*
* This header is generated by classdump-dyld 1.5
* on Wednesday, October 27, 2021 at 3:18:25 PM Mountain Standard Time
* Operating System: Version 13.5.1 (Build 17F80)
* Image Source: /System/Library/Frameworks/MetalPerforman... |
//
// HttpLib.h
// BTLock
//
// Created by Rongkun Wu on 2021/4/25.
// Copyright © 2021 kone. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
//定义 Delegate 协议
@protocol HttpDelegate <NSObject>
- (void)onUserLoign :(NSDictionary *)pNSDictionary;
- (void)onUserRegister :(NSDicti... |
/*
SDLPoP, a port/conversion of the DOS game Prince of Persia.
Copyright (C) 2013-2019 Dávid Nagy
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 3 of the License, or
(at your option)... |
/* Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
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 ... |
/*
* Allwinner EMAC MDIO interface driver
*
* Copyright 2012-2013 Stefan Roese <sr@denx.de>
* Copyright 2013 Maxime Ripard <maxime.ripard@free-electrons.com>
*
* Based on the Linux driver provided by Allwinner:
* Copyright (C) 1997 Sten Wang
*
* This file is licensed under the terms of the GNU General Public
... |
#ifndef CONFIG_H
#define CONFIG_H
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
typedef struct CNCDDRAWCONFIG
{
RECT window_rect;
int window_state;
char ini_path[MAX_PATH];
char game_path[MAX_PATH];
char process_file_name[MAX_PATH];
int save_settings;
} CNCDDRAWCONFIG;
extern CNCDDRAWCON... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_NET_H
#define BITCOIN_NET_H
#include <deque>
#include <boost/array... |
#include <stdio.h>
#include <stdlib.h>
#include <sys/time.h>
#include <string.h>
typedef struct
{
int *memory, size, capacity;
} Input;
typedef struct
{
int part1;
int part2;
} Results;
typedef struct
{
int *memory;
int pointer;
int running;
int input;
int output;
} IntCodeComputer;
c... |
/*******************************************************************************
* arch/arm/src/samd5e5/sam_i2c_master.c
*
* Copyright (C) 2013-2014, 2018 Gregory Nutt. All rights reserved.
* Copyright (C) 2015 Filament - www.filament.com
* Author: Matt Thompson <mthompson@hexwave.com>
* Author: Alan Carv... |
#include "../ecu.h"
void set_images(){
const int xres = vinfo.xres;
const int yres = vinfo.yres;
int index = 0;
//int dist = (xres - SYMBOL_WIDTH * SYMBOL_UPPER_NUM) / (SYMBOL_UPPER_NUM + 1);
//int upper_y = 20;
// ----------------------------- //
// -------- BACKGROUNDS -------- //
// ---------------------... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.