text stringlengths 9 948k |
|---|
#ifndef _ONE_WIRE_H
#define _ONE_WIRE_H
#include "tools.h"
#include "lcd.h"
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
#include <ArduinoLog.h>
#include <OneWire.h>
#include <DallasTemperature.h>
#include <Arduino.h>
#include "config.h" // Should be after Arduino.h
void checkSensors();
extern bool hasLCD;
exte... |
/*
* macOS app bundler Maven plugin
* Copyright 2019 Christian Robert
*
* 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 requi... |
/****************************************************************************
*
* Copyright (c) 2020 Vivante Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without ... |
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* live.c :+: :+: :+: ... |
#include <errno.h>
#include <stdint.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <byteswap.h>
#include <gpxe/in.h>
#include <gpxe/ip6.h>
#include <gpxe/ndp.h>
#include <gpxe/list.h>
#include <gpxe/icmp6.h>
#include <gpxe/tcpip.h>
#include <gpxe/socket.h>
#include <gpxe/iobuf.h>
#include <gpxe/... |
/* Copyright 1988,1990,1993,1994 by Paul Vixie
* All rights reserved
*
* Distribute freely, except: don't remove my name from the source or
* documentation (don't take credit for my work), mark your changes (don't
* get me blamed for your possible bugs), don't alter or remove this
* notice. May be sold if builda... |
//
// RKRequestQueue.h
// RestKit
//
// Created by Blake Watters on 12/1/10.
// Copyright (c) 2009-2012 RestKit. 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 a... |
/**********************************************************************
inits.c -
$Author$
created at: Tue Dec 28 16:01:58 JST 1993
Copyright (C) 1993-2007 Yukihiro Matsumoto
**********************************************************************/
#include "internal.h"
#define CALL(n) {void Init_##n(void);... |
/** @file
* Copyright (c) 2017, ARM Limited or its affiliates. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* ... |
// Copyright (c) 2018-2020, Zhirnov Andrey. For more information see 'LICENSE'
#pragma once
#include "stl/Common.h"
namespace AE::STL
{
class AnyTypeRef;
class AnyTypeCRef;
//
// Reference to Any type
//
class AnyTypeRef
{
// types
private:
template <typename T>
using NonAnyTypeRef = DisableIf< IsCo... |
/*
* CAROBOT SwissCHEESE (SC) Library v0.1
*
*
*
* created on Aug 2017
* by Jacky Lau
*
* 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 o... |
/*
* Copyright (C) 2012 Google 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:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditio... |
// 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_FAKE_LOGIN_DETACHABLE_BASE_MODEL_H_
#define ASH_LOGIN_UI_FAKE_LOGIN_DETACHABLE_BASE_MODEL_H_
#include <map>
#include <string>
#incl... |
/*************************************************************************/
/* gl_view.h */
/*************************************************************************/
/* This file is part of: */
/* ... |
/*
* This header is generated by classdump-dyld 1.0
* on Sunday, September 27, 2020 at 11:52:47 AM Mountain Standard Time
* Operating System: Version 14.0 (Build 18A373)
* Image Source: /System/Library/PrivateFrameworks/CloudDocsDaemon.framework/CloudDocsDaemon
* classdump-dyld is licensed under GPLv3, Copyright © 2013... |
/*
* @Description: In User Settings Edit
* @Author: your name
* @Date: 2019-10-08 09:35:07
* @LastEditTime: 2019-10-10 15:57:17
* @LastEditors: Please set LastEditors
*/
#include "Adafruit_NeoPixel.h"
class RGB : public Adafruit_NeoPixel
{
public:
RGB() : Adafruit_NeoPixel(NUMPIXELS, RGB_PIN, NEO_GRB + NEO_KHZ... |
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* init2.c :+: :+: :+: ... |
//*****************************************************************************
//
// startup_gcc.c - Startup code for use with GNU tools.
//
// Copyright (c) 2012-2014 Texas Instruments Incorporated. All rights reserved.
// Software License Agreement
//
// Texas Instruments (TI) is supplying this software for use so... |
/*
* Histogram.h
*
* This source file is part of the FoundationDB open source project
*
* Copyright 2013-2018 Apple Inc. and the FoundationDB project 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... |
/*
* Copyright (c) 2015-2020, Renesas Electronics Corporation. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef PWRC_H
#define PWRC_H
#define PPOFFR_OFF 0x0
#define PPONR_OFF 0x4
#define PCOFFR_OFF 0x8
#define PWKUPR_OFF 0xc
#define PSYSR_OFF 0x10
#define PWKUPR_WEN (1ull << 31)
#... |
#pragma once
// Handy base class to create non-copyable but movable classes
class DONonCopyable
{
public:
DONonCopyable(const DONonCopyable&) = delete;
DONonCopyable& operator=(const DONonCopyable&) = delete;
DONonCopyable(DONonCopyable&&) noexcept = default;
DONonCopyable& operator=(DONonCopyable&&) ... |
#ifndef OPENSIM_OSIMCOMMON_H_
#define OPENSIM_OSIMCOMMON_H_
/* -------------------------------------------------------------------------- *
* OpenSim: osimCommon.h *
* -------------------------------------------------------------------------- *
* The OpenSim API i... |
#include "../../include/csl.h"
int64
GetTerminalWidth ( )
{
#ifdef TIOCGSIZE
struct ttysize ts ;
ioctl ( STDIN_FILENO, TIOCGSIZE, &ts ) ;
//cols = ts.ts_cols ;
//lines = ts.ts_lines;
return ts.ts_cols ;
#elif defined(TIOCGWINSZ)
struct winsize ts ;
ioctl ( STDIN_FILENO, TIOCGWINSZ, &ts ) ;
... |
/*******************************************************************\
Module:
Author: Daniel Kroening, kroening@kroening.com
\*******************************************************************/
#ifndef CPROVER_UTIL_ARITH_TOOLS_H
#define CPROVER_UTIL_ARITH_TOOLS_H
#include "invariant.h"
#include "mp_arith.h"
#inc... |
#include <std.h>
inherit "/d/attaya/spec/cliff";
void create(){
::create();
set_name("black tunnel.");
set_short("%^BOLD%^%^BLACK%^Black tunnel");
set_property("indoors",1);
set_property("light",0);
set_long("%^BOLD%^%^BLACK%^Black tunnel
%^BOLD%^%^BLACK%^This is a dark tunnel that leads up and down. Me... |
//
// Generated by classdumpios 1.0.1 (64 bit) (iOS port by DreamDevLost)(Debug version compiled Sep 26 2020 13:48:20).
//
// Copyright (C) 1997-2019 Steve Nygard.
//
#import "QueueAwareOperation.h"
@class NSNumber, NSURL;
@interface UpdateArtistStoreIDsByBulkLibraryMatchLookupOperation : QueueAwareOperation
{
... |
//-----------------------------------------------------------------------------
//
// File: extension.h
// Copyright (C) 1994-1997 Microsoft Corporation
// All rights reserved.
//
//
//
//-----------------------------------------------------------------------------
#pragma once
#include <esputil.h> |
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... |
/*
* This file Copyright (C) 2008 Charles Kerr <charles@rebelbase.com>
*
* This file is licensed by the GPL version 2. Works owned by the
* Transmission project are granted a special exemption to clause 2(b)
* so that the bulk of its code can remain under the MIT license.
* This exemption does not extend to deri... |
#include "hip/hip_runtime_api.h"
#include "rocsolver.h"
#include "rocblas.h"
#ifdef __cplusplus
extern "C" {
#endif
extern ROCSOLVER_EXPORT __inline rocsolver_status rocsolver_create_handle(rocsolver_handle *handle);
extern ROCSOLVER_EXPORT __inline rocsolver_status rocsolver_destroy_handle(rocsolver_handle handle);
/... |
/*-
* Copyright (c) 2002-2018 The UbixOS Project.
* All rights reserved.
*
* This was developed by Christopher W. Olsen for the UbixOS Project.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted
* provided that the following conditions are met:
*
* 1) Redistribut... |
#pragma once
#include "CoreMinimal.h"
#include "Templates/SubclassOf.h"
#include "Components/ActorComponent.h"
#include "ItemLoadout.h"
#include "PlayerProgress.h"
#include "ActiveCampaingMission.h"
#include "SaveGameStatePerkItem.h"
#include "ItemUpgradeSelection.h"
#include "CharacterProgress.h"
#include "SaveGameSta... |
/**
* @file
* alljoyn_aboutdata is responsible for storing data for the org.alljoyn.About interface.
*/
/******************************************************************************
* Copyright AllSeen Alliance. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for any... |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the Lic... |
/*
Unix SMB/CIFS implementation.
DNS server handler for queries
Copyright (C) 2010 Kai Blin <kai@samba.org>
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 th... |
/*
* Copyright 2021 The UAPKI Project Authors.
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
*
* 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 ab... |
#define VERSION "Mongrel2/1.10.0" |
/*
* Copyright (C) 2019 Alexander Borisov
*
* Author: Alexander Borisov <borisov@lexbor.com>
*/
/*
* Caution!
* This file generated by the script "utils/lexbor/encoding/single-byte.py"!
* Do not change this file!
*/
#include <unit/test.h>
#include <lexbor/encoding/encoding.h>
#include <lexbor/encoding/single... |
/*
* This header is generated by classdump-dyld 1.0
* on Saturday, June 1, 2019 at 6:45:58 PM Mountain Standard Time
* Operating System: Version 12.1.1 (Build 16C5050a)
* Image Source: /usr/lib/libmecabra.dylib
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos.
*/
#import <libmecabra.dy... |
/*
* AAC decoder
* Copyright (c) 2005-2006 Oded Shimon ( ods15 ods15 dyndns org )
* Copyright (c) 2006-2007 Maxim Gavrilov ( maxim.gavrilov gmail com )
* Copyright (c) 2008-2013 Alex Converse <alex.converse@gmail.com>
*
* AAC LATM decoder
* Copyright (c) 2008-2010 Paul Kendall <paul@kcbbs.gen.nz>
* Copyright (c... |
// 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 UI_COMPOSITOR_LAYER_ANIMATOR_H_
#define UI_COMPOSITOR_LAYER_ANIMATOR_H_
#include <deque>
#include <vector>
#include "base/compiler_specific.... |
#ifndef AGTM_H
#define AGTM_H
#include "postgres.h"
#include "miscadmin.h"
#include "fmgr.h"
#include "access/clog.h"
#include "agtm/agtm_msg.h"
#include "agtm/agtm_protocol.h"
#include "catalog/pg_database.h"
#include "datatype/timestamp.h"
#include "lib/stringinfo.h"
#include "nodes/primnodes.h"
#include "tcop/dest... |
/*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% %
% ... |
//
// MachODocument.h
// Mach-O Browser
//
// Created by David Schweinsberg on 29/10/09.
// Copyright 2009 David Schweinsberg. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@interface MachODocument : NSDocument
@property(strong, readonly) NSArray *machObjects;
@end |
#pragma once
#include <opencv2\opencv.hpp>
#include <numeric>
#include "Utils.h"
using namespace std;
using namespace cv;
const int MAX_SIZE = 10;
const bool USE_WIGHTED_MEAN = true;
/*
* Location of points
* Using history
* History implemented using queue
*/
class Location
{
public:
Location();
Location(cons... |
#include <stdint.h>
#include <stdbool.h>
#include <stdio.h>
#include <string.h>
#include <openssl/evp.h>
#include "twocats.h"
#define KEY_SIZE 32
#define SALT_SIZE 16
static void usage(char *format, ...) {
va_list ap;
va_start(ap, format);
vfprintf(stderr, (char *)format, ap);
va_end(ap);
fprintf(... |
/*
Name: imath.h
Purpose: Arbitrary precision integer arithmetic routines.
Author: M. J. Fromberger <http://www.dartmouth.edu/~sting/>
Info: Id: imath.h 21 2006-04-02 18:58:36Z sting
Copyright (C) 2002 Michael J. Fromberger, All Rights Reserved.
Permission is hereby granted, free of charge, to any perso... |
/****************************************************************************
**
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtCore module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees... |
/*
* Copyright (C) 2008 Jonathan Cameron
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* max1363_ring.c
*/
#include <linux/interrupt.h>
#include <linux/slab.h>
#include ... |
#include "util/iqm.h"
#include "util/exe_io.h"
#include "util/cache.h"
#include <string.h>
ex_model_t *ex_iqm_load_model(ex_scene_t *scene, const char *path, uint8_t flags)
{
// check if its already in the cache
ex_model_t *m_cache = ex_cache_get_model(path);
if (m_cache != NULL)
return m_cache;
printf("L... |
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Actor.h"
#include "AFPS_Weapon.generated.h"
extern TAutoConsoleVariable<bool> CVarDrawDebugWeapon;
class USkeletalMeshComponent;
class AAFPSCharacter;
//=====================... |
// Copyright (c) 2010 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.
// This is the simplest possible C Pepper plugin that does nothing. If you're
// using C++, you will want to look at stub.cc which uses the more conve... |
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_putendl_fd.c :+: :+: :+: ... |
#include <errno.h>
#include "ferret.h"
#include "except.h"
#include "hash.h"
#include "hashset.h"
#include "threading.h"
/* Object Map */
static HashTable *object_map;
/* IDs */
ID id_new;
ID id_call;
ID id_eql;
ID id_hash;
ID id_capacity;
ID id_less_than;
ID id_lt;
ID id_is_directory;
ID id_close;
ID id_cclass;
ID i... |
/*
* Copyright 2015-2018 Yubico AB
*
* 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 i... |
// Copyright (c) 2011 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 IPC_IPC_LOGGING_H_
#define IPC_IPC_LOGGING_H_
#include "ipc/ipc_message.h" // For IPC_MESSAGE_LOG_ENABLED.
#ifdef IPC_MESSAGE_LOG_ENABLED
... |
/*-----------------------------------------------------------------------------
* $RCSfile: sendreq.c,v $
*
* See Copyright for the status of this software.
*
* The OpenSOAP Project
* http://opensoap.jp/
*-----------------------------------------------------------------------------
*/
#if (!defined(_WIN32)) || ... |
/* Generated by RuntimeBrowser
Image: /System/Library/PrivateFrameworks/AppPredictionInternal.framework/AppPredictionInternal
*/
@interface ATXAppLaunchMicroLocation : NSObject {
_ATXDuetHelper * _duetHelper;
_PASLock * _lock;
NSString * _path;
NSObject<OS_dispatch_queue> * _queue;
}
- (void).cxx_... |
/*
* This header is generated by classdump-dyld 1.5
* on Wednesday, October 27, 2021 at 3:22:42 PM Mountain Standard Time
* Operating System: Version 13.5.1 (Build 17F80)
* Image Source: /System/Library/PrivateFrameworks/OfficeI... |
#pragma once
#include "Game.h"
#include "GameSystem.h"
#include "IEventListener.h"
#include "Actions\PlayCardAction.h"
using namespace PinnedDownCore;
using namespace PinnedDownNet::Events;
namespace PinnedDownGameplay
{
namespace Systems
{
class CardPlayingSystem : public GameSystem, public IEventListener
{
... |
#ifndef SS_SS_H
#define SS_SS_H
#include "StreamSummary.h"
#include <algorithm>
using namespace std;
class SS : public Abstract{
public:
SS(uint32_t _SIZE):Abstract((char *)"SS"){
summary = new StreamSummary(_SIZE);
}
~SS(){
delete summary;
}
void Insert(const data_type item){
... |
#ifndef __SOUND_RAWMIDI_H
#define __SOUND_RAWMIDI_H
/*
* Abstract layer for MIDI v1.0 stream
* Copyright (c) by Jaroslav Kysela <perex@perex.cz>
*
*
* 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 So... |
/**************************************************************************//**
* @file core_cm3.h
* @brief CMSIS Cortex-M3 Core Peripheral Access Layer Header File
* @version V5.1.0
* @date 13. March 2019
******************************************************************************/
/*
* Copyright (... |
//*****************************************************************************
//
// usb_host_msc.c - Example program for reading files from a USB flash drive.
//
// Copyright (c) 2013-2014 Texas Instruments Incorporated. All rights reserved.
// Software License Agreement
//
// Texas Instruments (TI) is supplying th... |
/*
* Timer32.c
*
* Created on: 6 янв. 2021 г.
* Author: wl
*/
#include "msp.h"
#include "CortexM.h"
#include "resources.h"
volatile unsigned int timer_busy = 0;
void Timer32_Init(void) {
TIMER32_1->CONTROL = TIMER32_CONTROL_MODE | TIMER32_CONTROL_ONESHOT |
TIMER32_CONTROL_PRESCALE_1 | TIMER3... |
/*** Autogenerated by WIDL 1.6 from include/mshtmhst.idl - Do not edit ***/
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 475
#endif
#include <rpc.h>
#include <rpcndr.h>
#ifndef COM_NO_WINDOWS_H
#include <windows.h>
#include <ole2.h>
#endif
#ifndef __mshtmhst_h__
#define __mshtmhst_h__... |
/* Copyright 2019 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 law or... |
#pragma once
#include "XEON/core/layer.h"
namespace XEON {
class InstrumentorLayer : public Layer {
public:
void onUpdate(Timestep delta) override;
void onImGuiRender() override;
};
} |
/*
Copyright (c) 2003 Hewlett-Packard Development Company, L.P.
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, me... |
/*
* Leet Text Wrangler v2
*
* Converts any given phrase to lowercase then to 1337/leet speak, then also to ASCII, SHA512 and Base64.
* By: MrMnemonic7 (mrmnemonic7@protonmail.ch)
* Released under the MIT license.
*
* Compile with: gcc -DDEBUG -DUSE_SSL -o tw leet2.c -lcrypto
*/
#include <stdio.h>
#include <st... |
/////////////////////////////////////////////////////////////////////
//
// 腾讯云通信服务 IMSDK
//
// 模块名称:V2TIMManager
//
// TIM SDK 2.0 版的接口,相比于 1.0 版本更加简洁易用,接入速度更快,高级特性接口详见:
// - V2TIMManager+Message.h 消息相关的高级功能接口,比如图片消息,视频消息,消息撤回,消息已读等功能。
// - V2TIMManager+APNS.h 推送相关的高级功能接口,主要用于开启消息推送功能。
// - V2... |
//**************************************************************************
//**
//** r_bsp.c : Heretic 2 : Raven Software, Corp.
//**
//** $RCSfile: r_bsp.c,v $
//** $Revision: 1.2 $
//** $Date: 95/07/13 15:17:10 $
//** $Author: cjr $
//**
//**************************************************************************
... |
//----------------------------------------------------------------------------
// ObjectWindows
// Copyright (c) 1995, 1996 by Borland International, All Rights Reserved
//
/// \file
/// Definition of helper classes for Pane Splitters
//----------------------------------------------------------------------------
#if !... |
/* Wine Vulkan ICD implementation
*
* Copyright 2017 Roderick Colenbrander
*
* 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 option... |
#ifndef TRAFFICOBJECT_H
#define TRAFFICOBJECT_H
#include <vector>
#include <thread>
#include <mutex>
enum ObjectType
{
noObject,
objectVehicle,
objectIntersection,
objectStreet,
trafficLight
};
class TrafficObject
{
public:
// constructor / desctructor
TrafficObject();
~TrafficObject(... |
// Copyright (c) 2013, Facebook, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
//
// Copyright (c) 2011 The... |
#include "red_black_tree.h"
#include <assert.h>
/***********************************************************************/
/* FUNCTION: RBTreeCreate */
/**/
/* INPUTS: All the inputs are names of functions. CompFunc takes two */
/* void pointers to keys and returns 1 if the first arguement is */
/* "greater than... |
// ByteStream.h
// Interfaces to the cByteBuffer class representing a ringbuffer of bytes
#pragma once
// fwd:
class cUUID;
/** An object that can store incoming bytes and lets its clients read the bytes sequentially
The bytes are stored in a ringbuffer of constant size; if more than that size
is requested... |
/**
* @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 ... |
#ifndef HSVERSIONS_H
#define HSVERSIONS_H
#if 0
IMPORTANT! If you put extra tabs/spaces in these macro definitions,
you will screw up the layout where they are used in case expressions!
(This is cpp-dependent, of course)
#endif
/* Useful in the headers that we share with the RTS */
#define COMPILING_GHC 1
/* Pul... |
/* ****************************************************************** **
** OpenSees - Open System for Earthquake Engineering Simulation **
** Pacific Earthquake Engineering Research Center **
** **
** ... |
/* $XFree86$ */ /* -*- mode: c; c-basic-offset: 3 -*- */
/*
* Copyright 2000 Gareth Hughes
* All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, ... |
/**
* Copyright 2019-2020 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 applicabl... |
/*
* machinarium.
*
* cooperative multitasking engine.
*/
#include <machinarium.h>
#include <machinarium_private.h>
MACHINE_API machine_cond_t*
machine_cond_create(void)
{
mm_cond_t *cond = malloc(sizeof(mm_cond_t));
if (cond == NULL) {
mm_errno_set(ENOMEM);
return NULL;
}
mm_cond_init(cond);
return (mach... |
/*
Copyright (c) 2020 Zachary Mudd
Copyright (c) 2019-2020 San Diego State University Rocket Project
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitati... |
/*
* Copyright (c) 2016 Nordic Semiconductor ASA
* Copyright (c) 2016 Vinayak Kariappa Chettimada
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef _CTRL_H_
#define _CTRL_H_
/*****************************************************************************
* Zephyr Kconfig defined
********************************... |
//
// GetStoreAddReserveRequest.h
// jiabasha
//
// Created by 金伟城 on 17/2/15.
// Copyright © 2017年 hunbohui. All rights reserved.
//
#import "BaseRequest.h"
@interface GetStoreAddReserveRequest : BaseRequest
@end |
// Copyright 2014 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 CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_JAVASCRIPT_DIALOG_MANAGER_H_
#define CONTENT_SHELL_BROWSER_LAYOUT_TEST_LAYOUT_TEST_JAVASCRIPT_DIALOG... |
//
// Copyright(c) 2016-2017 benikabocha.
// Distributed under the MIT License (http://opensource.org/licenses/MIT)
//
#ifndef SABA_BASE_FILE_H_
#define SABA_BASE_FILE_H_
#include <cstdio>
#include <vector>
#include <cstdint>
#include <string>
namespace saba
{
class File
{
public:
using Offset = int64_t;
Fi... |
// REQUIRES: memprof-64-bits
// Stress test dynamic TLS + dlopen + threads.
//
// RUN: %clang_memprof -x c -DSO_NAME=f0 %s -shared -o %t-f0.so -fPIC
// RUN: %clang_memprof -x c -DSO_NAME=f1 %s -shared -o %t-f1.so -fPIC
// RUN: %clang_memprof -x c -DSO_NAME=f2 %s -shared -o %t-f2.so -fPIC
// RUN: %clang_memprof %s -ldl ... |
// Copyright (C) 2019 - 2022 by Pedro Mendes, Rector and Visitors of the
// University of Virginia, University of Heidelberg, and University
// of Connecticut School of Medicine.
// All rights reserved.
// Copyright (C) 2017 - 2018 by Pedro Mendes, Virginia Tech Intellectual
// Properties, Inc., University of Heidelbe... |
// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2010 Gael Guennebaud <gael.guennebaud@inria.fr>
// Copyright (C) 2010-2016 Konstantinos Margaritis <markos@freevec.org>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0... |
/***
** Created by Aleksey Volkov on 2019-03-21.
***/
#include <nrf_log.h>
#include <nrf_log_ctrl.h>
#include <sensors/include/sensors.h>
#include <include/i2c.h>
#include "nrfx_timer.h"
#include "app_timer.h"
#include "timers.h"
#include "opt3001.h"
#define SENSOR_DELAY_READ APP_TIMER_T... |
/*
* Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use... |
/* $NetBSD: fd.c,v 1.28 1998/02/24 13:02:54 leo Exp $ */
/*
* Copyright (c) 1995 Leo Weppelman.
* 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 r... |
/*
* Copyright 2000-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 at
* https://www.openssl.org/source/lice... |
#include <stdarg.h>
#include <stddef.h>
#include <setjmp.h>
#include "cmockery.h"
#define free our_free
static void our_free(void* ptr);
#include "../memprot.c"
static bool is_assert_checking =
#ifdef USE_ASSERT_CHECKING
true;
#else
false;
#endif
#define EXPECT_EXCEPTION() \
expect_any(ExceptionalConditio... |
/* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */
/*
* linux/can/netlink.h
*
* Definitions for the CAN netlink interface
*
* Copyright (c) 2009 Wolfgang Grandegger <wg@grandegger.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the version 2... |
/* Generated by RuntimeBrowser
Image: /System/Library/Frameworks/ReplayKit.framework/ReplayKit
*/
@interface RPBroadcastController : NSObject {
NSString * _broadcastExtensionBundleID;
NSURL * _broadcastURL;
<RPBroadcastControllerDelegate> * _delegate;
NSDictionary * _serviceInfo;
}
@property (nona... |
/*
* testcode/unitmain.h - unit test main program for unbound.
*
* Copyright (c) 2007, NLnet Labs. All rights reserved.
*
* This software is open source.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.