text stringlengths 9 948k |
|---|
// 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 GPU_COMMAND_BUFFER_CLIENT_RASTER_IMPLEMENTATION_H_
#define GPU_COMMAND_BUFFER_CLIENT_RASTER_IMPLEMENTATION_H_
#include <stddef.h>
#include <stdin... |
//====== Copyright © 1996-2008, Valve Corporation, All rights reserved. =======
//
// Purpose: interface to steam managing network connections between game clients & servers
//
//=============================================================================
#ifndef ISTEAMNETWORKING
#define ISTEAMNETWORKING
#ifdef _WIN3... |
#include <stdlib.h>
#include <string.h>
#include <mruby.h>
#include <mruby/array.h>
#include <mruby/irep.h>
#include <mruby/variable.h>
// Assumes this is produced by builder.nix
#include "irep.c"
int
main(int argc, char **argv)
{
int i;
mrb_value ARGV;
mrb_sym dollar_zero;
mrb_sym program_name;
mrb_state *mrb ... |
/*
* rmgrdesc.h
*
* pg_waldump resource managers declaration
*
* src/bin/pg_waldump/rmgrdesc.h
*/
#ifndef RMGRDESC_H
#define RMGRDESC_H
#include "access/xlogreader.h"
#include "lib/stringinfo.h"
typedef struct RmgrDescData
{
const char *rm_name;
void (*rm_desc) (StringInfo buf, XLogReaderState *record);
con... |
/*
* (c) Copyright 2016 Hewlett Packard Enterprise Development LP
*
* 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 2018 The Cartographer 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... |
//
// AssociativeArray.h
// SocializeSDK
//
// Created by Nathaniel Griswold on 2/8/12.
// Copyright (c) 2012 Socialize, Inc. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface NSArray (Associative)
- (NSDictionary*)dictionaryFromPairs;
@end |
/* $NetBSD: dhcp6.h,v 1.10 2015/07/09 10:15:34 roy Exp $ */
/*
* dhcpcd - DHCP client daemon
* Copyright (c) 2006-2015 Roy Marples <roy@marples.name>
* All rights reserved
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* ... |
// ImGui License:
// The MIT License (MIT)
// Copyright (c) 2014-2015 Omar Cornut and ImGui contributors
// 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 wi... |
/*
* Copyright 2016 Wink Saville
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
// Copyright 2020 Endless Mobile, Inc.
// Portions 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.
#pragma once
#include <memory>
#include <mutex>
#include <ostream>
#include <sstream>
namespace zypak::d... |
//
// CheckInViewController.h
// GamerSearch
//
// Created by Masaki EBATA on 2014/10/28.
// Copyright (c) 2014年 Masaki EBATA. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface CheckInViewController : UITableViewController
@end |
/*
* Copyright (c) 2000-2016 Apple Inc. All rights reserved.
*
* @APPLE_OSREFERENCE_LICENSE_HEADER_START@
*
* This file contains Original Code and/or Modifications of Original Code
* as defined in and that are subject to the Apple Public Source License
* Version 2.0 (the 'License'). You may not use this file exc... |
/*-
* Copyright (c) 2003 Mathew Kanner
* 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 condi... |
#pragma once
#include "CoreMinimal.h"
#include "../StorableInstance.h"
#include "../../PrimaryDataAssetClasses/SummonDataAsset.h"
#include "UObject/NoExportTypes.h"
#include "SummonInstance.generated.h"
/// A Player relative instance of a USummonBase
UCLASS(BlueprintType)
class UNTITLED_DECKRPG_API USummonInstance ... |
/**
* @copyright Copyright (c) 2017 B-com http://www.b-com.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 copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... |
#import <Flutter/Flutter.h>
@interface DataImporterPlugin : NSObject<FlutterPlugin>
@end |
//
// MobiRewardedVideo.h
// MobiPubSDK
//
// Created by 刘峰 on 2020/6/9.
//
#import <Foundation/Foundation.h>
@protocol MobiRewardedVideoDelegate;
@class MobiRewardedVideoReward;
@class MobiRewardedVideoModel;
@interface MobiRewardedVideo : NSObject
@property (nonatomic, copy) NSString *posid;
@property (nonatom... |
/* Copyright (C) 2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2003.
The GNU C 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... |
/* zpotrf.f -- translated by f2c (version 20061008).
You must link the resulting object file with libf2c:
on Microsoft Windows system, link with libf2c.lib;
on Linux or Unix systems, link with .../path/to/libf2c.a -lm
or, if you install libf2c.a in a standard place, with -lf2c -lm
-- in that order, at the end of... |
// 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 ASH_LOGIN_UI_LOGIN_EXPANDED_PUBLIC_ACCOUNT_VIEW_H_
#define ASH_LOGIN_UI_LOGIN_EXPANDED_PUBLIC_ACCOUNT_VIEW_H_
#include "ash/ash_export.h"
#includ... |
/*
* ***************************************************************************
* Copyright (C) 2016 Marvell International Ltd.
* ***************************************************************************
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided tha... |
/*
Copyright 2020 <Pierre Constantineau>
3-Clause BSD License
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 and the follow... |
/* The Image Registration Toolkit (IRTK)
*
* Copyright 2008-2015 Imperial College London
*
* 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... |
/*-
* Copyright (c) 2008, 2009 Reinoud Zandijk
* 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 ... |
//
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Mar 29 2017 23:22:24).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import "POPAnimatableProperty.h"
@class NSString;
@interface POPPlaceholderAnimatableProperty : POPAnimatableProperty
{
NSString... |
#ifndef LIST_FIND_TEMPLATE_H
#define LIST_FIND_TEMPLATE_H
#include <iostream>
#include <list>
#include <string>
#include <algorithm>
namespace ListFindTemplateBasedUtil {
template<typename T>
bool contains(std::list<T> &list_object, const T &element) {
// find will return an iterator
auto it... |
/**
* APSKeychainWrapper
* Copyright (c) 2016 by Axway. All Rights Reserved.
* Licensed under the terms of the Apache Public License
* Please see the LICENSE included with this distribution for details.
*/
#import <Foundation/Foundation.h>
/**
The error domain used to create new errors.
*/
typedef NSString *APS... |
/* $NetBSD: exec_script.c,v 1.18 1997/07/08 02:32:02 christos Exp $ */
/*
* Copyright (c) 1993, 1994, 1996 Christopher G. Demetriou
* 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. R... |
/*
* author: Thomas Yao
*/
#ifndef _TERM_INFOS_READER_H_
#define _TERM_INFOS_READER_H_
#include "field_info.h"
#include "term_enum.h"
#include "term_posting.h"
#include "term_info.h"
#include "../store/directory.h"
struct _term_infos_reader
{
struct _directory* dir;
char* segment;
struct _field_infos* fis;
... |
//
// ngx_http_google_response.h
// nginx
//
// Created by Cube on 14/12/15.
// Copyright (c) 2014年 Cube. All rights reserved.
//
#ifndef _NGX_HTTP_GOOGLE_RESPONSE_H
#define _NGX_HTTP_GOOGLE_RESPONSE_H
#include "ngx_http_google_filter_module.h"
ngx_int_t
ngx_http_google_response_header_filter(ngx_http_request_t ... |
#ifndef WIBBLE_NET_HTTP_H
#define WIBBLE_NET_HTTP_H
/*
* net/http - HTTP server utilities
*
* Copyright (C) 2010 Enrico Zini <enrico@enricozini.org>
*
* 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 ... |
/*
FreeRTOS.org V4.4.0 - Copyright (C) 2003-2007 Richard Barry.
This file is part of the FreeRTOS.org distribution.
FreeRTOS.org 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 Licen... |
// Copyright 2020 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 COMPONENTS_ARC_ENTERPRISE_SNAPSHOT_REBOOT_CONTROLLER_H_
#define COMPONENTS_ARC_ENTERPRISE_SNAPSHOT_REBOOT_CONTROLLER_H_
#include "base/memory/wea... |
// $Id: Sequence_T.h 84191 2009-01-19 16:32:41Z vzykov $
#include "tao/Unbounded_Octet_Sequence_T.h"
#include "tao/Unbounded_Value_Sequence_T.h"
#include "tao/Unbounded_Basic_String_Sequence_T.h"
#include "tao/Unbounded_BD_String_Sequence_T.h"
#include "tao/Unbounded_Object_Reference_Sequence_T.h"
#include "tao/Unboun... |
#ifndef RAPIDVERTEX_H
#define RAPIDVERTEX_H
#include <iostream>
#include "Math/Point3D.h"
#include "Math/Vector3D.h"
#include "RapidVertexSmear.h"
class RapidVertex {
public:
RapidVertex(double x, double y, double z)
: nPVTracks_(5), vertexTrue_(x, y, z) {smearVertex();}
ROOT::Math::XYZPoint getVertex(bool... |
//===--- ModuleFormat.h - The internals of serialized modules ---*- C++ -*-===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... |
/*
* 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
#include <AzCore/Outcome/Outcome.h>
#include <AzCore/RTTI/BehaviorContext.h>
#includ... |
/*
FUSE: Filesystem in Userspace
Copyright (C) 2001-2006 Miklos Szeredi <miklos@szeredi.hu>
This program can be distributed under the terms of the GNU GPL.
See the file COPYING.
*/
#ifdef FUSE_MAINLINE
#include <linux/fuse.h>
#else
#include "fuse_kernel.h"
#include <linux/version.h>
#include <linux/utsname.h... |
/*
* Copyright 2011-2013 Blender Foundation
*
* 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 ag... |
// Enabling this will force app to do a hard crash instead of a nice exit when UnhandledException
// is thrown. This will force iOS to generate a standard crash report, that can be submitted to
// iTunes by app users and inspected by developers.
#define ENABLE_IOS_CRASH_REPORTING 1
// Enabling this will add a custom O... |
#define JEMALLOC_MUTEX_C_
#include "jemalloc/internal/jemalloc_preamble.h"
#include "jemalloc/internal/jemalloc_internal_includes.h"
#include "jemalloc/internal/assert.h"
#include "jemalloc/internal/malloc_io.h"
#include "jemalloc/internal/spin.h"
#ifndef _CRT_SPINCOUNT
#define _CRT_SPINCOUNT 4000
#endif
/*********... |
/*
* Copyright (C) 2016 Texas Instruments Incorporated - http://www.ti.com/
*
* 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... |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* */
/* File....: list.h */
/* Name....: List Functions */
... |
/*
* Copyright (c) 2006 The Trustees of Indiana University and Indiana
* University Research and Technology
* Corporation. All rights reserved.
* Copyright (c) 2006 The Technical University of Chemnitz. All
* rights reserved.
*
* Author(s): Torsten Hoefl... |
/* LzmaDec.h -- LZMA Decoder
2018-04-21 : Igor Pavlov : Public domain */
#ifndef __LZMA_DEC_H
#define __LZMA_DEC_H
#include "7zTypes.h"
EXTERN_C_BEGIN
/* #define _LZMA_PROB32 */
/* _LZMA_PROB32 can increase the speed on some CPUs,
but memory usage for CLzmaDec::probs will be doubled in that case */
typedef
#ifd... |
/*
Copyright (C) 2000, 2001 Silicon Graphics, Inc. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it
under the terms of version 2.1 of the GNU Lesser General Public License
as published by the Free Software Foundation.
This program is distributed in the hope tha... |
/*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* hpc3.h: Definitions for SGI HPC3 controller
*
* Copyright (C) 1996 David S. Miller
* Copyright (C) 1998 Ralf Baechle
*/
#ifndef _SGI_H... |
#ifndef WINDOW_H
#define WINDOW_H
#include <vector>
#include <map>
#include <Windows.h>
#include "Control.h"
#include "UserInterface.h"
class Window
{
std::map<int, Control*> controls;
UserInterface* parentUI;
int lastUsedId;
std::mutex* synchronizer;
std::mutex* msgSynchronizer;
public:
Window();
... |
/*
* Copyright (c) 2014 empirer <empirer64@gmail.com>
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Software without
* restriction, including without limitation the rights to use,
* copy, m... |
// SPDX-License-Identifier: MIT
// This KAT test only generates a subset of the NIST KAT files.
// To extract the subset from a submission file, use the command:
// cat PQCsignKAT_whatever.rsp | head -n 10 | tail -n 8
#include <assert.h>
#include <errno.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.... |
//
// Copyright 2009-2011 Facebook
//
// 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... |
/*
NSPrintInfo+Extensions.h
AJRInterface
Copyright © 2021, AJ Raftis and AJRFoundation authors
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 cop... |
/***************************************************************************
# Copyright (c) 2015, NVIDIA 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 sourc... |
/*! Memory management */
#pragma once
#include <types/basic.h>
void *k_mem_init ( void *segment, size_t size );
void *kmalloc ( size_t size );
int kfree ( void *chunk );
struct _kobject_t_; typedef struct _kobject_t_ kobject_t; |
//*****************************************************************************
//
// fontcm36i.c - Font definition for the 36 point Cm italic font.
//
// Copyright (c) 2008-2010 Texas Instruments Incorporated. All rights reserved.
// Software License Agreement
//
// Texas Instruments (TI) is supplying this software f... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2017 The PIVX developers
// Copyright (c) 2018 The dutcoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
... |
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "EUTRA-RRC-Definitions"
* found in "/home/user/openairinterface5g/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/user/openairinterface5g/c... |
typedef unsigned char undefined;
typedef unsigned char bool;
typedef unsigned char byte;
typedef unsigned int dword;
typedef long long longlong;
typedef unsigned char uchar;
typedef unsigned int uint;
typedef unsigned long ulong;
typedef unsigned long long ulonglong;
typedef unsigned char ... |
/*
* Copyright (c) 2019, The OpenThread Authors.
* 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 ... |
// ThumbnailFilePanel
#ifndef _THUMBNAILFILEPANEL_H
#define _THUMBNAILFILEPANEL_H
#include <FilePanel.h>
#include <View.h>
#include <Bitmap.h>
#include <StringView.h>
class ThumbnailView : public BView
{
public:
ThumbnailView (BRect frame, const char *name, uint32 resizingMode, uint32 flags);
virtual ~Thumbna... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <time.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
#include <signal.h>
#include <errno.h>
#include <arpa/inet.h>
#include "dask.h"
#include "conio.h"
#include "cpgplot.h"
#include <fft... |
/* C implementation for the date/time type documented at
* http://www.zope.org/Members/fdrake/DateTimeWiki/FrontPage
*/
#define PY_SSIZE_T_CLEAN
#include "Python.h"
#include "modsupport.h"
#include "structmember.h"
#include <time.h>
#include "timefuncs.h"
/* Differentiate between building the core module and b... |
#include "operations.h"
#include "controlbits.h"
#include "randombytes.h"
#include "crypto_hash.h"
#include "encrypt.h"
#include "decrypt.h"
#include "params.h"
#include "sk_gen.h"
#include "pk_gen.h"
#include "util.h"
#include <stdint.h>
#include <string.h>
/* check if the padding bits of pk are all zero */
static ... |
// Feb. 6, 1999 by Winder
inherit ROOM;
void create()
{
set("short", "湖心小島");
set("long", @LONG
你來到湖心的小島上。這裏鳥語花香,彩蝶紛飛,景色宜人,空
氣中彷彿有種玉蘭香的味道。
LONG
);
set("outdoors","shiliang");
set("no_clean_up", 0);
set("exits", ([
"south" : __DIR__"xiaodao",
"nort... |
/* Test Utils
*
* From: https://github.com/PokemonAutomation/Arduino-Source
*
*
*/
#ifndef PokemonAutomation_Tests_TestUtils_H
#define PokemonAutomation_Tests_TestUtils_H
#include "ClientSource/Connection/BotBase.h"
#include "ClientSource/Connection/BotBaseMessage.h"
#include "CommonFramework/AudioPipelin... |
#pragma once
#include"FileBase.h"
#include"Screen.h"
#include"TagBase.h"
#define _TEST_MODE_
//Scan files for tags
void FileScan(); |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-licens... |
/* Copyright 2007-2016 QReal Research Group, Yurii Litvinov
*
* 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 a... |
/* packet-dhcpfo.c
* Routines for ISC DHCP Server failover protocol dissection
* Copyright 2004, M. Ortega y Strupp <moys@loplof.de>
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
/*
* This imple... |
// 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 LIB_FIDL_LLCPP_TRAITS_H_
#define LIB_FIDL_LLCPP_TRAITS_H_
#include <lib/fidl/internal.h>
#ifdef __Fuchsia__
#include <lib/zx/object.h>
#endif
#inc... |
/*
* This file is part of the libopencm3 project.
*
* Copyright (C) 2010 Piotr Esden-Tempski <piotr@esden.net>,
* Copyright (C) 2012 chrysn <chrysn@fsfe.org>
*
* 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
* t... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2020 The Pexa Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef PEXA_NET_H
#define PEXA_NET_H
#include <addrdb.h>
#include <addrman.h>
#inc... |
/**
* Copyright (c) 2017, Martin Roth (mhroth@gmail.com)
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" A... |
/**************************************************************************/
/*!
@file bmp.h
@author K. Townsend (microBuilder.eu)
@section LICENSE
Software License Agreement (BSD License)
Copyright (c) 2010, microBuilder SARL
All rights reserved.
Redistribution and use in source ... |
/**
* DHT22-Pico v0.2.0 by Eleanor McMurtry (2021)
* Loosely based on code by Caroline Dunn: https://github.com/carolinedunn/pico-weather-station
**/
#ifndef DHT22_PICO_H
#define DHT22_PICO_H
#include "pico/stdlib.h"
#define DHT_OK 0
#define DHT_ERR_CHECKSUM 1
#define DHT_ERR_NAN 2
typedef... |
//===-- ClangUserExpression.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
//
//===---------------------------... |
/*
** parse_object_angle.c for rt in /home/fourri_l/Projects/MUL_2013_rtracer
**
** Made by Laurent Fourrier
** Login <fourri_l@epitech.net>
**
** Started on Wed Jun 4 13:06:41 2014 Laurent Fourrier
** Last update Wed Jun 4 13:10:09 2014 Laurent Fourrier
*/
#include <tds.h>
#include "object.h"
#include "parsing... |
// Copyright (c) 2009-2014 The Bitcoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_CLIENTVERSION_H
#define BITCOIN_CLIENTVERSION_H
#if defined(HAVE_CONFIG_H)
#include "config/polariscoin-config.h"... |
#ifndef SERVERAPI_H
#define SERVERAPI_H
#include <map>
#include <string>
namespace gms {
class ServerData;
/**
* @brief The main entry point to the GMS web-service API.
* This is the entry point to the GMS web-service API. The specified URL and arguments
* will be queried to determine the appropriate service to ... |
// __BEGIN_LICENSE__
// Copyright (c) 2006-2013, United States Government as represented by the
// Administrator of the National Aeronautics and Space Administration. All
// rights reserved.
//
// The NASA Vision Workbench is licensed under the Apache License,
// Version 2.0 (the "License"); you may not use this f... |
/*
This file is part of the implementation for the technical paper
Field-Aligned Online Surface Reconstruction
Nico Schertler, Marco Tarini, Wenzel Jakob, Misha Kazhdan, Stefan Gumhold, Daniele Panozzo
ACM TOG 36, 4, July 2017 (Proceedings of SIGGRAPH 2017)
Use of this source code is granted via a BSD-style l... |
/* 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.
*
* Copyright (c) 2010-2017, ITU/ISO/IEC
* All rights reserve... |
//
// RideRequestTypeHeaderCollectionReusableView.h
// RideDriver
//
// Created by Roberto Abreu on 10/30/17.
// Copyright © 2017 FuelMe LLC. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface RideRequestTypeHeaderCollectionReusableView : UICollectionReusableView
@property (weak, nonatomic) IBOutlet UILa... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE190_Integer_Overflow__int_max_add_51a.c
Label Definition File: CWE190_Integer_Overflow__int.label.xml
Template File: sources-sinks-51a.tmpl.c
*/
/*
* @description
* CWE: 190 Integer Overflow
* BadSource: max Set data to the max value for int
* GoodSource: Set data to... |
//
// arrowsImage.h
// xfrubiks
//
// Created by L on 16/6/26.
// Copyright © 2016年 xfteam. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface ArrowsImage : NSObject
+ (UIImageView *)getRightImage;
+ (UIImageView *)getLeftImage;
+ (UIImageView *)getUpImage;
+ (UIImageView *)getDownImage;
@end |
/*
* Unit tests for file functions in Wine
*
* Copyright (c) 2002 Jakob Eriksson
*
* 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 the License, or (at your... |
/**
* Copyright 2021 Huawei Technologies Co., Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... |
/*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org
Copyright (c) 2000-2014 Torus Knot Software Ltd
Permission is hereby granted, free of charge, to any person obtai... |
/* $OpenBSD: cmd-server-info.c,v 1.25 2011/04/19 20:12:47 matthew Exp $ */
/*
* Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice an... |
#ifndef PLAYFAIR_PRINTER_H
#define PLAYFAIR_PRINTER_H
#include "keyFileManager.h"
#include "matrixManager.h"
#include <stddef.h>
void printStructures(KEYFILE keyfile, MATRIX playfairMatrix);
void printKeyFile(KEYFILE keyFile);
void printMatrix(char **matrix, size_t dimension);
void printWrongNumberOfParameters(int... |
/* --------------------------------------------------------------- */
/* -- Copyright (c) 1994, 1995 Computer Sciences Department, -- */
/* -- University of Wisconsin-Madison, subject to the terms -- */
/* -- and conditions given in the file COPYRIGHT. All Rights -- */
/* -- Reserved. ... |
// Copyright (c) 2011-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_QT_GUICONSTANTS_... |
// 1. (a) 编写程序读一条消息,然后逆序打印出这条消息:
// 提示:一次读取消息中的一个字符(用getchar函数),
// 并且把这些字符存储在数组中,当数组满了或者读到字符'\n'时停止读操作。
// (b) 修改上述程序,用指针代替整数来跟踪数组中的当前位置。
#include <stdio.h>
int main() {
// read message
printf("Enter a message: ");
char a[100];
int str_len = 0;
char ch = getchar();
while (ch != '\n' && str_l... |
// Copyright (c) 2012-2013 The PPCoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef PPCOIN_KERNEL_H
#define PPCOIN_KERNEL_H
#include "main.h"
// To decrease granularity of timestamp
// Supposed to be 2^... |
#pragma once
#include <stddef.h> // for size_t
#include "vrpn_Analog.h" // for vrpn_Analog
#include "vrpn_BaseClass.h" // for vrpn_BaseClass
#include "vrpn_Button.h" // for vrpn_Button_Filter
#include "vrpn_Configure.h" // for VRPN_CALLBACK, VR... |
//
// Created by Alexandru Andronache on 04/12/2019.
//
#ifndef TEST_TESTCLASS_H
#define TEST_TESTCLASS_H
#include <gtest/gtest.h>
class Tests2020Day07 : public testing::Test {
};
#endif //TEST_TESTCLASS_H |
//
// WJStackView.h
// WJCommon-master
//
// Created by 吴云海 on 16/6/12.
// Copyright © 2016年 WJ. All rights reserved.
//
#import "BaseWJView.h"
typedef NS_ENUM(NSInteger, WJStackViewAxis) {
WJStackViewAxisHorizontal,
WJStackViewAxisVertical,
};
/**
* 由于UIStackView 9.0 才支持,所以先使用一个简单的替换
*/
@interface W... |
#include <errno.h>
#include <unistd.h>
#include <stdlib.h>
#include <notcurses/notcurses.h>
#include "internal.h" // internal headers
static inline wchar_t
capboolbool(unsigned utf8, bool cap){
// FIXME these fancy glyphs aren't reliable enough yet (they're not
// usually present on the linux console, for instance... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2013 The Bitcoin developers
// Copyright (c) 2016-2018 The QBICcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_WALLETDB_H
#def... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.