text stringlengths 9 948k |
|---|
/* ieee802154_nrf5.c - nRF5 802.15.4 driver */
/*
* Copyright (c) 2017 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: Apache-2.0
*/
#define LOG_MODULE_NAME ieee802154_nrf5
#if defined(CONFIG_IEEE802154_DRIVER_LOG_LEVEL)
#define LOG_LEVEL CONFIG_IEEE802154_DRIVER_LOG_LEVEL
#else
#define LOG_LEVEL LOG_LEVEL_... |
#pragma comment(lib, "comctl32.lib")
#pragma comment(lib, "Winmm.lib")
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
#define STRICT
#define OPTPARSE_IMPLEMENTATION
#define... |
// Copyright 2018 The Amber 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 agreed... |
/*
* Hub_CAN_Ex.c
*
* Created: 10/21/2013 4:14:22 PM
* Author: Digi-Key Design Support
*/
#include <avr/io.h>
#include <avr/interrupt.h>
#include "LED.h"
#include "Timer.h"
#include "can_lib.h"
#define ID_TAG_BASE 0x80
#define NB_TARGET 2 // 2 Sensor Nodes
#define DATA_BUFFER_SIZE 2 // Up to 8 bytes Max
#de... |
/*
* Export of symbols defined in assembler
*/
/* Tell string.h we don't want memcpy etc. as cpp defines */
#define EXPORT_SYMTAB_STROPS
#include <linux/module.h>
#include <linux/string.h>
#include <linux/types.h>
#include <asm/checksum.h>
#include <asm/uaccess.h>
#include <asm/ftrace.h>
/* string functions */
EX... |
#include <string.h>
#include <unistd.h>
#include <stdlib.h>
#include "MadOS.h"
#include "CfgUser.h"
#include "mod_Network.h"
#include "srv_TcpHandler.h"
#define CLIENT_Q_NUM 3
#define BUF_STEP_SIZ TCP_MSS
static void tcp_server(MadVptr exData);
void srvTcpServer_Init(void)
{
srvTcpHandler_Init();
madThreadCr... |
#pragma once
#include <chrono>
#include <thread>
#include <cstdint>
#include <iostream>
#include <functional>
// EXAMPLE USE 1:
//
// fork_join_scheduler fj;
//
// long fib(long i) {
// if (i <= 1) return 1;
// long l,r;
// fj.pardo([&] () { l = fib(i-1);},
// [&] () { r = fib(i-2);});
// return l ... |
#ifndef COUNT_OPERATIONS_H
#define COUNT_OPERATIONS_H
#include <vector>
#include <algorithm>
#include <cmath>
#include "iota.h"
#include "instrumented.h"
#include "table_util.h"
double normalized_by_n(double x, double n) { return x / n; }
double normalized_by_nlogn(double x, double n) {
return x / (n * (log(n) / ... |
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (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
* or http://www.opensolar... |
/*
* This header is generated by classdump-dyld 1.5
* on Wednesday, April 14, 2021 at 2:36:55 PM Mountain Standard Time
* Operating System: Version 14.4 (Build 18K802)
* Image Source: /System/Library/PrivateFrameworks/UIKitCore.... |
/*
* Copyright (c) 2011 Reinhard Tartler
*
* 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, pu... |
/*
* ACPI Sony Notebook Control Driver (SNC and SPIC)
*
* Copyright (C) 2004-2005 Stelian Pop <stelian@popies.net>
* Copyright (C) 2007-2009 Mattia Dongili <malattia@linux.it>
*
* Parts of this driver inspired from asus_acpi.c and ibm_acpi.c
* which are copyrighted by their respective authors.
*
* The SNY6001 ... |
/*
* Part of the library for fcntl
*
* size_t write(int fd,void *ptr, size_t len)
*
* djm 27/4/99
*
* Close a file descriptor, pretty well identical to
* fclose from the other stuff
*
* -----
* $Id: write.c,v 1.2 2013/03/03 23:51:10 pauloscustodio Exp $
*/
#include <sys/types.h>
#... |
/*
* Copyright (c) 2007, Michael Feathers, James Grenning and Bas Vodde
* 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... |
//
// IntoRobotSDKErrorInfo.h
// IntoRobotSDKDemo
//
// Created by 梁惠源 on 16/8/10.
// Copyright © 2016年 MOLMC. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface IntoRobotSDKErrorInfo : NSObject
+ (NSString *)httpStatusError:(NSError *)error;
@end |
//
// Copyright (c) .NET Foundation and Contributors
// See LICENSE file in the project root for full license information.
//
#ifndef FLASH_LLD_H
#define FLASH_LLD_H
#include "stm32_registry.h"
#include <hal_nf_community.h>
#if (HAL_NF_USE_STM32_FLASH == TRUE)
///////////////////////////////////////////////////////... |
/*
* This header is generated by classdump-dyld 1.5
* on Wednesday, October 27, 2021 at 3:17:27 PM Mountain Standard Time
* Operating System: Version 13.5.1 (Build 17F80)
* Image Source: /System/Library/PrivateFrameworks/HomeKit... |
/*
+----------------------------------------------------------------------+
| Zend Engine |
+----------------------------------------------------------------------+
| Copyright (c) 1998-2018 Zend Technologies Ltd. (http://www.zend.com) |
+---------... |
//
// TMSearchingController.h
// SearchVcTest
//
// Created by nigel.ning on 2020/8/5.
// Copyright © 2020 t8t. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "TMSearchingControllerProtocol.h"
NS_ASSUME_NONNULL_BEGIN
/**
当searchBar变成firstResponder第一响应者后显示的搜索中视图,通常为关联的模糊搜索列表页
@note 外部可选择继承此类或用自行实现TMSea... |
//
// BillViewController.h
// yituiyun
//
// Created by yituiyun on 2017/7/26.
// Copyright © 2017年 张强. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface BillViewController : UIViewController
@property (weak, nonatomic) IBOutlet UILabel *totalMoneyLabel;
@end |
/* Copyright (c) 2008 Travis Geiselbrecht
*
* Use of this source code is governed by a MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT
*/
/* some cruft we have to define when using the linux toolchain */
#include <unwind.h>
void *__dso_handle;
#if defined(__... |
/* Tokenizer implementation */
#include "Python.h"
#include <ctype.h>
#include <assert.h>
#include "tokenizer.h"
#include "errcode.h"
#include "unicodeobject.h"
#include "bytesobject.h"
#include "fileobject.h"
#include "codecs.h"
#include "abstract.h"
/* Alternate tab spacing */
#define ALTTABSIZE 1
#define is_po... |
/*=========================================================================
Program: VMTK
Module: $RCSfile: vtkvmtkPolyDataFVFELaplaceBeltramiStencil.h,v $
Language: C++
Date: $Date: 2006/04/06 16:46:44 $
Version: $Revision: 1.4 $
Copyright (c) Luca Antiga, David Steinman. All rights reserved... |
#ifndef A2M_INDEX_h
#define A2M_INDEX_h
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#define NB_CHARS 26
#define MORSE_MAX 4
#define MIN_ASCII 97
#define MAX_ASCII 122
/**
* Table mapping the 26 ascii characters
* from the English alphabet to
* their corresponding morse code strings
*/
typedef s... |
#pragma once
extern struct lua_State;
extern struct lua_Debug;
typedef hksInt32(*lua_CFunction)(lua_State*);
typedef void (*lua_Hook)(lua_State*, lua_Debug*); |
/*
* Copyright (c) 2020 Intel Corporation
*
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @file
* @brief Helper file for VNIC main application.
* This contains the following functions:
* remove_ipv4_ping_handler() -- Unregister IPv4 ping handler
* handle_ipv4_echo_reply() -- Handle IPv4 echo reply packet
... |
//
// msgpack::rpc::server - MessagePack-RPC for C++
//
// Copyright (C) 2010 FURUHASHI Sadayuki
//
// 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... |
//
// SqratMemberMethods: Member Methods
//
//
// Copyright (c) 2009 Brandon Jones
// Copyright 2011 Li-Cheng (Andy) Tai
//
// 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.
//
// Permi... |
#pragma once
// Generated 25 Feb 2016
#include "types.h"
#include "nativeCaller.h"
namespace PLAYER
{
static Ped GET_PLAYER_PED(Player player) { return invoke<Ped>(0x43A66C31C68491C0, player); } // 0x43A66C31C68491C0 0x6E31E993
static Ped GET_PLAYER_PED_SCRIPT_INDEX(Player player) { return invoke<Ped>(0x50FAC3A3E0... |
//----------------------------------------------------------------------------
//
// TSDuck - The MPEG Transport Stream Toolkit
// Copyright (c) 2005-2021, Thierry Lelegard
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the f... |
/**
* @file common.h
* @brief Header that should be included by every file.
*/
#ifndef _INC_COMMON_H
#define _INC_COMMON_H
#define SPHERE_DEF_PORT 2593
#define SPHERE_FILE "sphere" // file name prefix
#define SPHERE_TITLE "SphereServer"
#define SPHERE_SCRIPT ".scp"
#define SCRIPT_MAX_LINE_LEN 4096 // de... |
/* Microsoft Reference Implementation for TPM 2.0
*
* The copyright in this software is being made available under the BSD License,
* included below. This software may be subject to other third party and
* contributor rights, including patent rights, and no such rights are granted
* under this license.
*
* ... |
#pragma once
#include <Arduino.h>
#include <SIM808.h>
#include <E24.h>
#include "config/Hardware.h"
namespace hardware {
namespace sim808 {
extern SIM_SERIAL_TYPE simSerial;
extern SIM808 device;
void powerOn();
void powerOff();
void setup();
void gpsPowerOn();
void gpsPowerOff();
void networkPo... |
#if defined(PEGASUS_OS_HPUX)
# include "UNIX_AssociatedComponentExtentDeps_HPUX.h"
#elif defined(PEGASUS_OS_LINUX)
# include "UNIX_AssociatedComponentExtentDeps_LINUX.h"
#elif defined(PEGASUS_OS_DARWIN)
# include "UNIX_AssociatedComponentExtentDeps_DARWIN.h"
#elif defined(PEGASUS_OS_AIX)
# include "UNIX_AssociatedCompo... |
// 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 CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_MTP_DEVICE_ASYNC_DELEGATE_H_
#define CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_MTP_DEVICE_ASYNC_DELEGATE_H... |
/**
* ============================================================================
* Name : IGraphNode.h
* Part of : Simple OpenGL graphics engine framework
* Description : Abstract SceneGraph node
* Version : 1.00
* Author : Jani Immonen, <realdashdev@gmail.com>
* ===========================... |
/*
Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The OpenAirInterface Software Alliance licenses this file to You under
the OAI Publi... |
/*
* This header is generated by classdump-dyld 1.5
* on Wednesday, April 28, 2021 at 9:10:43 PM Mountain Standard Time
* Operating System: Version 14.5 (Build 18L204)
* Image Source: /System/Library/PrivateFrameworks/ActionKit.... |
//
// UAJournalMonthViewCell.h
// Diabetik
//
// Created by Nial Giacomelli on 30/12/2012.
// Copyright (c) 2013-2014 Nial Giacomelli
//
// 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 a... |
/* Copyright (c) 2015-2018, Linaro Limited
* All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef ODP_CLASSIFICATION_TESTSUITES_H_
#define ODP_CLASSIFICATION_TESTSUITES_H_
#include <odp_api.h>
#include <odp/helper/odph_api.h>
#include <odp_cunit_common.h>
#include <stdbool.h>
typedef str... |
/* This file is part of the Gudhi Library - https://gudhi.inria.fr/ - which is released under MIT.
* See file LICENSE or go to https://gudhi.inria.fr/licensing/ for full license details.
* Author(s): Siargey Kachanovich
*
* Copyright (C) 2019 Inria
*
* Modification(s):
* - YYYY/MM Autho... |
// Copyright (c) 2013 Intel Corporation. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef XWALK_APPLICATION_BROWSER_INSTALLER_TIZEN_PACKAGE_INSTALLER_H_
#define XWALK_APPLICATION_BROWSER_INSTALLER_TIZEN_PACKAGE_INSTALLER_H_
#include <... |
#ifndef COMMONTRANSFORMATION_H
#define COMMONTRANSFORMATION_H
#include "transformation.h"
#include "src/math/homogeneousvertex.h"
class CommonTransformation : public Transformation
{
public:
CommonTransformation(const Mat4 &matrix);
virtual void transform(Vec3 &vertex) const override;
virtual void resetO... |
/*
* File: random.h
* --------------
* This file exports functions for generating pseudorandom numbers.
*
* @version 2019/05/16
* - added randomColor that takes min/max RGB
* @version 2018/09/25
* - added doc comments for new documentation generation
* @version 2017/10/05
* - added randomFeedClear
* @versio... |
/**********************************************************************
Copyright(c) 2011-2017 Intel Corporation All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
* Redistributions of source co... |
/*
* Copyright 2014 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef GrGLSLShaderBuilder_DEFINED
# define GrGLSLShaderBuilder_DEFINED
# include "include/private/SkTDArray.h"
# include "src/gpu/GrAllocator.h"
# include "src/gpu/GrShad... |
/*
* Copyright (c) 2003, 2007-14 Matteo Frigo
* Copyright (c) 2003, 2007-14 Massachusetts Institute of Technology
*
* 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 ... |
//
// FSBoardView.h
// myhome
//
// Created by FudonFuchina on 2019/2/28.
// Copyright © 2019 fuhope. All rights reserved.
//
#import <UIKit/UIKit.h>
typedef NS_ENUM(NSInteger, FSActionType) {
FSActionTypeQRCode = 0, // 二维码
FSActionTypeLoanCounter, // 个人账本
FSActionType... |
// Auto-generated file. Do not edit!
// Template: src/qs8-gemm/c2-neon-mull-padal-dup.c.in
// Generator: tools/xngen
//
// Copyright 2021 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <... |
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
typedef struct { unsigned long offset; size_t size; char data[]; } patch;
size_t modify(FILE *f, const patch *p);
const char filename[] = "MSRGS.exe";
const int filesize = 1355776;
const patch p00001D97 = {0x00001D97, 1, {0xEB}};
const patch *modif[] = {&p00... |
//===-- MICmdCmdData.h ------------------------------------------*- 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
//
//===---------------------------... |
/*
* This header is generated by classdump-dyld 1.5
* on Friday, April 30, 2021 at 11:37:52 AM Mountain Standard Time
* Operating System: Version 13.5.1 (Build 17F80)
* Image Source: /System/Library/PrivateFrameworks/Proximity.f... |
/*
* 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 program is distributed in the hope that it will be use... |
/**
* Copyright (C) 2003, 2006 Apple Computer, Inc.
*
* 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 version.
*
... |
/*
This file is a part of libcds - Concurrent Data Structures library
(C) Copyright Maxim Khizhinsky (libcds.dev@gmail.com) 2006-2017
Source code repo: http://github.com/khizmax/libcds/
Download: http://sourceforge.net/projects/libcds/files/
Redistribution and use in source and binary forms, with... |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/redshift/Redshift_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/redshift/model/ResponseMetadata.... |
/* NetHack 3.7 eat.c $NHDT-Date: 1603507384 2020/10/24 02:43:04 $ $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.235 $ */
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
/*-Copyright (c) Robert Patrick Rankin, 2012. */
/* NetHack may be freely redistributed. See license for details. */
#include "... |
// Copyright (c) 2017-2018 The PIVX developers
// Copyright (c) 2020 The VIDA developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef VIDA_BLOCKSIGNATURE_H
#define VIDA_BLOCKSIGNATURE_H
#include "key.h"
#include "pri... |
/*
* 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
... |
/* A Bison parser, made by GNU Bison 2.3. */
/* Skeleton interface for Bison's Yacc-like parsers in C
Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU... |
// Geometric Tools, LLC
// Copyright (c) 1998-2014
// Distributed under the Boost Software License, Version 1.0.
// http://www.boost.org/LICENSE_1_0.txt
// http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
//
// File Version: 5.0.0 (2010/01/01)
#ifndef POLYSEGMENTS_H
#define POLYSEGMENTS_H
#include "Wm5Wind... |
/*
* Copyright (c) 2018-2021, NVIDIA CORPORATION. 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... |
/*
* Copyright 2018-2019, Intel Corporation
*
* 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 conditions and ... |
/*
This file is part of Mitsuba, a physically based rendering system.
Copyright (c) 2007-2014 by Wenzel Jakob and others.
Mitsuba is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License Version 3
as published by the Free Software Foundation.
... |
/*! \file OpenXTV4VInterface.h
\brief OpenXT V4V Interface
This interface provides access to OpenXT V4V
*/
#ifndef _OPENXTV4VINTERFACE_H
#define _OPENXTV4VINTERFACE_H
NTSTATUS V4VInitialize(PCHAR aBuffer, ULONG aInLen, PIO_STACK_LOCATION aStack, PIRP aIrp);
NTSTATUS V4VBind(void *aDeviceExtension, PCHAR aBuf... |
#ifndef O2SURVEYMONKEY_H
#define O2SURVEYMONKEY_H
#include "o0export.h"
#include "o2.h"
/// SurveyMonkey's dialect of OAuth 2.0
class O0_EXPORT O2SurveyMonkey: public O2 {
Q_OBJECT
public:
explicit O2SurveyMonkey(QObject *parent = 0);
};
#endif // O2SURVEYMONKEY_H |
/*
* QEMU rocker switch emulation - switch worlds
*
* Copyright (c) 2014 Scott Feldman <sfeldma@gmail.com>
*
* 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 Licens... |
#ifndef BUTTON_H
#define BUTTON_H
#include <SFML\Graphics.hpp>
#include <string>
class Button
{
public:
Button() = default;
Button(const std::string& imageFile, sf::Vector2f position = sf::Vector2f(0, 0));
void render(sf::RenderWindow& window);
sf::FloatRect getBounds() const;
sf::Vector2u getSize() const;
s... |
#if defined(LV_LVGL_H_INCLUDE_SIMPLE)
#include "lvgl.h"
#else
#include "lvgl/lvgl.h"
#endif
#ifndef LV_ATTRIBUTE_MEM_ALIGN
#define LV_ATTRIBUTE_MEM_ALIGN
#endif
#ifndef LV_ATTRIBUTE_IMG_HEART_ICON
#define LV_ATTRIBUTE_IMG_HEART_ICON
#endif
const LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_LARGE_CONST LV_ATTRIBUTE_IMG_HEART... |
// Copyright (c) 2021 The Eleccoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef ELECCOIN_UTIL_THREAD_H
#define ELECCOIN_UTIL_THREAD_H
#include <functional>
namespace util {
/**
* A wrapper for do-so... |
/*
** Copyright (C) 2005-2011 Erik de Castro Lopo <erikd@mega-nerd.com>
**
** 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.1 of the License, or
** (at your option) any... |
/* Generated by RuntimeBrowser
Image: /System/Library/Frameworks/CoreData.framework/CoreData
*/
@interface NSSQLLimitIntermediate : NSSQLIntermediate {
unsigned long long _limit;
}
- (id)generateSQLStringInContext:(id)arg1;
- (id)initWithLimit:(unsigned long long)arg1 inScope:(id)arg2;
@end |
/* Array object implementation */
/* An array is a uniform list -- all items have the same type.
The item type is restricted to simple C types like int or float */
#define PY_SSIZE_T_CLEAN
#include "Python.h"
#include "structmember.h"
#ifdef STDC_HEADERS
#include <stddef.h>
#else /* !STDC_HEADERS */
#ifdef HAVE_S... |
/** @file
Platform BDS customizations.
Copyright (c) 2004 - 2019, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "BdsPlatform.h"
#include <Guid/RootBridgesConnectedEventGroup.h>
#include <Guid/SerialPortLibVendor.h>
#include <Protocol/FirmwareVolume2.h>
#i... |
/**
*
* Author: Robert Krency
* Author: Austin Pringle
* Author: Anthony Stepich
*
* Assignment 1 for CSC 265.
*
*/
// CLASS PROVIDED: Clock (an ADT for a fraction)
//
// CONSTRUCTOR for the Clock class:
// Clock()
// Description: constructor will initialize Clock objects
// Preconditions: none
... |
/*******************************************************************************************
Copyright 2010 Broadcom Corporation. All rights reserved.
Unless you and Broadcom execute a separate written software license agreement
governing use of this software, this software is licensed to you under the
terms of the G... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
#include "testrunnerswitcher.h"
int main(void)
{
size_t failedTestCount = 0;
RUN_TEST_SUITE(JSONEncoder_UnitTests, failedTestCount);
return failedTestCount... |
// Copyright 2020 Google Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at:
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable la... |
/*
* Copyright (c) 2020, the SegueBaseOS developers.
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <AK/Types.h>
namespace JS {
struct Position {
size_t line { 0 };
size_t column { 0 };
};
struct SourceRange {
StringView filename;
Position start;
Position end;
};
} |
/*
* 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
... |
/**
* Polygon.h
*
* Draws lines between points of any length of lines.
*
* @author Drew Sommer
* @version 1.0.1
* @license MIT (https://mit-license.org)
*/
#ifndef POLYGON_H
#define POLYGON_H
#include <LinkedList.h>
#include "./Shape.h"
#include "../stepper/POS.h"
/**
* Polygon draws a shape with straigh... |
/**
* @file
* Main page documentation file.
*
* Copyright (C) 2006-2015, ARM Limited, All Rights Reserved
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You may obtain a copy of ... |
/**
* UGENE - Integrated Bioinformatics Tools.
* Copyright (C) 2008-2020 UniPro <ugene@unipro.ru>
* http://ugene.net
*
* 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
* ... |
#ifndef SHIM_STR_H
#define SHIM_STR_H
static inline
__attribute__((unused))
unsigned long strnlena(const CHAR8 *s, unsigned long n)
{
unsigned long i;
for (i = 0; i <= n; i++)
if (s[i] == '\0')
break;
return i;
}
static inline
__attribute__((unused))
CHAR8 *
strncpya(CHAR8 *dest, const CHAR8 *src, unsigned lo... |
#pragma once
#include <vcpkg/base/util.h>
#include <string>
namespace vcpkg::Metrics
{
struct Metrics : Util::ResourceBase
{
void set_send_metrics(bool should_send_metrics);
void set_print_metrics(bool should_print_metrics);
void set_user_information(const std::string& user_id, const ... |
#ifndef MASTERNODEMANAGER_H
#define MASTERNODEMANAGER_H
#include "util.h"
#include "sync.h"
#include <QMenu>
#include <QWidget>
#include <QTimer>
#include <QItemSelectionModel>
namespace Ui {
class MasternodeManager;
}
class ClientModel;
class WalletModel;
class QAbstractItemView;
class QItemSelectionModel;
QT... |
//
// Generated by the J2ObjC translator. DO NOT EDIT!
// source: android/platform/libcore/luni/src/main/java/javax/xml/xpath/XPath.java
//
#include "../../../J2ObjC_header.h"
#pragma push_macro("INCLUDE_ALL_JavaxXmlXpathXPath")
#ifdef RESTRICT_JavaxXmlXpathXPath
#define INCLUDE_ALL_JavaxXmlXpathXPath 0
#else
#def... |
/*!The Treasure Box Library
*
* 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 wr... |
/* Copyright (c) 1992-2008 The University of Tennessee. All rights reserved.
* See file COPYING in this directory for details. */
#ifdef __cplusplus
extern "C" {
#endif
#include "f2c.h"
#include "hypre_lapack.h"
/* Subroutine */ integer dlasq3_(integer *i0, integer *n0, doublereal *z__,
integer *pp, doublereal *... |
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "EUTRA-RRC-Definitions"
* found in "/home/lixh/enb_folder/openair2/RRC/LTE/MESSAGES/asn1c/ASN1_files/lte-rrc-14.7.0.asn1"
* `asn1c -pdu=all -fcompound-names -gen-PER -no-gen-OER -no-gen-example -D /home/lixh/enb_folder/cmake_targets/lte... |
/*
---------------------------------------------------------------------------
Open Asset Import Library (assimp)
---------------------------------------------------------------------------
Copyright (c) 2006-2021, assimp team
All rights reserved.
Redistribution and use of this software in source and binary forms,
w... |
/*-------------------------------------------------------------------------
*
* uuid.c
* Functions for the built-in type "uuid".
*
* Copyright (c) 2007-2017, PostgreSQL Global Development Group
*
* IDENTIFICATION
* src/backend/utils/adt/uuid.c
*
*-----------------------------------------------------------... |
/**
* @author Tilen MAJERLE
* @email tilen@majerle.eu
* @website http://stm32f4-discovery.net
* @link http://stm32f4-discovery.net/2015/07/hal-library-07-usart-for-stm32fxxx
* @version v1.2.1
* @ide Keil uVision
* @license MIT
* @brief USART Library for STM32Fxxx with receive interrupt
*
\verbatim... |
#include "printfWrapper.h"
void printf_wrapper(const char* fmt, ...) {
va_list args;
va_start(args, fmt);
vprintf(fmt, args);
va_end(args);
} |
/**
* @file main.c
* @brief
*
* Copyright (c) 2021 Bouffalolab team
*
* 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 ... |
/** @file
* @brief MAVLink comm protocol generated from standard.xml
* @see http://mavlink.org
*/
#pragma once
#ifndef MAVLINK_STANDARD_H
#define MAVLINK_STANDARD_H
#ifndef MAVLINK_H
#error Wrong include order: MAVLINK_STANDARD.H MUST NOT BE DIRECTLY USED. Include mavlink.h from the same directory instead or ... |
//Fix Kyurem White
#include "defines.h"
#include "../include/cries.h"
#include "../include/cry_data.h"
const struct ToneData gCryTable[NUM_SPECIES] =
{
[SPECIES_BULBASAUR] =
{
.type = 0x20,
.key = 0x3c,
.length = 0x0,
.pan_sweep = 0x0,
.wav = (u8*) 0x850fbc4,
.attack = 0xff,
.decay = 0x0,
.sustain =... |
#pragma once
#ifndef BINDABLE_HEAD_H
#define BINDABLE_HEAD_H
#include "IndexBuffer.h"
#include "PixelShader.h"
#include "VertexShader.h"
#include "VertexBuffer.h"
#endif // !BINDABLE_HEAD_H |
// Copyright 2018 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_CONNECTIVITY_BLUETOOTH_CORE_BT_HOST_DATA_SOCKET_CHANNEL_RELAY_H_
#define SRC_CONNECTIVITY_BLUETOOTH_CORE_BT_HOST_DATA_SOCKET_CHANNEL_RELAY_H_
... |
/*
* lib/krb4/stime.c
*
* Copyright 1985, 1986, 1987, 1988 by the Massachusetts Institute of
* Technology. All Rights Reserved.
*
* Export of this software from the United States of America may
* require a specific license from the United States Government.
* It is the responsibility of any person or organ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.