text stringlengths 9 948k |
|---|
/*
* slots_table.h
*
* Created on: Dec 3, 2019
* Author: root
*/
#ifndef SRC_SLOTS_TABLE_H_
#define SRC_SLOTS_TABLE_H_
extern const char *slot_table[];
#endif /* SRC_SLOTS_TABLE_H_ */ |
/* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not... |
/* Copyright (c) 2001 Matej Pfajfar.
* Copyright (c) 2001-2004, Roger Dingledine.
* Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
* Copyright (c) 2007-2020, The Tor Project, Inc. */
/* See LICENSE for licensing information */
/**
* \file router.h
* \brief Header file for router.c.
**/
#ifndef TOR_R... |
// Copyright 2019, Intel Corporation
#pragma once
#include <string>
#include "mlir/IR/Dialect.h"
namespace pmlc {
namespace dialect {
namespace stripe {
struct TensorDim;
class Dialect : public mlir::Dialect {
public:
explicit Dialect(mlir::MLIRContext* ctx);
static llvm::StringRef getDialectNamespace() { r... |
// Copyright (c) 2012-2017, The CryptoNote developers, The Bytecoin developers
// Copyright (c) 2018-2019, The DeployCoin Developers
//
// Please see the included LICENSE file for more information.
#pragma once
#include <cryptonotecore/BlockchainCache.h>
#include <map>
namespace CryptoNote
{
struct KeyOutputInfo... |
//
// AlertView.h
// SmarkPark
//
// Created by SandClock on 2018/5/23.
// Copyright © 2018年 PmMaster. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface AlertView : NSObject
+ (void)showMsg:(NSString *)msg icon:(NSString *)icon view:(UIView *)view;
+ (void)showMsg:(NSString *)msg;
+ (void)sh... |
DECL|HAL_HCD_Connect_Callback|function|__weak void HAL_HCD_Connect_Callback(HCD_HandleTypeDef *hhcd)
DECL|HAL_HCD_DeInit|function|HAL_StatusTypeDef HAL_HCD_DeInit(HCD_HandleTypeDef *hhcd)
DECL|HAL_HCD_Disconnect_Callback|function|__weak void HAL_HCD_Disconnect_Callback(HCD_HandleTypeDef *hhcd)
DECL|HAL_HCD_GetCurrentFr... |
/* Copyright (C) 1989, 1995, 1996 Aladdin Enterprises. All rights reserved.
This file is part of Aladdin Ghostscript.
Aladdin Ghostscript is distributed with NO WARRANTY OF ANY KIND. No author
or distributor accepts any responsibility for the consequences of using it,
or for whether it serves any partic... |
// Last Modified by: Salva, latorre@cimne.upc.edu
#if !defined KRATOS_SHIP_ELEMENT_3D_H_INCLUDED
#define KRATOS_SHIP_ELEMENT_3D_H_INCLUDED
// System includes
#include <string>
// Project includes
#include "includes/define.h"
#include "includes/node.h"
#include "includes/element.h"
#include "geometries/geometry.h"
#i... |
/* cpotrf.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... |
// ***************************************************************
// QRGenerateManager - Creation date: 07/19/2018
// -------------------------------------------------------------
// Robinson Technologies Copyright (C) 2018 - All Rights Reserved
//
// **************************************************************... |
/*
* Copyright (C) Yichun Zhang (agentzh)
*/
#ifndef DDEBUG
#define DDEBUG 0
#endif
#include "ddebug.h"
#if (NGX_PCRE)
#include "ngx_stream_lua_regex.h"
#include "ngx_stream_lua_pcrefix.h"
#include "ngx_stream_lua_script.h"
#include "ngx_stream_lua_pcrefix.h"
#include "ngx_stream_lua_util.h"
#include <pcre.h>
... |
////////////////////////////////////////////////////////////////////////////////
// Filename: terrainshaderclass.h
////////////////////////////////////////////////////////////////////////////////
//////////////
// INCLUDES //
//////////////
#include <d3d11.h>
#include <d3dx10math.h>
#include <d3dx11async.h>
#include <... |
/*
* Copyright (c) 2015 Intel Corporation
*
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @file
* @brief Quark D2000 Interrupt Controller (MVIC)
*
* This module is based on the standard Local APIC and IO APIC source modules.
* This modules combines these modules into one source module that exports the
* sam... |
//
// HomeCyCleViewCell.h
// Project
//
// Created by Chenyi on 2019/9/5.
// Copyright © 2019 Chenyi. All rights reserved.
//
#import <UIKit/UIKit.h>
@class FLAnimatedImageView;
NS_ASSUME_NONNULL_BEGIN
UIKIT_EXTERN NSString *const kHomeCyCleViewCellID;
@interface HomeCyCleViewCell : UICollectionViewCell
@property ... |
/*=========================================================================
Program: ParaView
Module: vtkSMRenderViewProxy.h
Copyright (c) Kitware, Inc.
All rights reserved.
See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
This software is distributed WITHOUT ANY WARR... |
/* $NetBSD: bus.h,v 1.12 1997/10/01 08:25:15 fvdl Exp $ */
/*-
* Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
* All rights reserved.
*
* This code is derived from software contributed to The NetBSD Foundation
* by Jason R. Thorpe of the Numerical Aerospace Simulation Facility,
* NASA Ames Research Center... |
#pragma once
#include "mtl/sdk.h"
#include "mtl/win32/module.h"
namespace mtl {
template<class T>
class window_class : public WNDCLASSEXW
{
public:
window_class()
{
cbSize = sizeof(WNDCLASSEX);
style = CS_HREDRAW | CS_VREDRAW;
lpfnWndProc = &window... |
#pragma once
#include <memory>
#include <openssl/pkcs12.h>
#include <openssl/pem.h>
#include <openssl/err.h>
#include <openssl/evp.h>
#include <openssl/x509.h>
#include <EFS/private_key.h>
#include <EFS/certificate_file.h>
class PKCS12Archive
{
private:
EVP_PKEY* _key = nullptr;
X509* _cert = nullptr;
STACK_OF(X5... |
/* -*- linux-c -*-
*
* (C) Copyright IBM Corp. 2005
*
* This program 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. This
* file and program are licensed under a BSD style license. See
* ... |
/*
* Copyright (c) 2016 Christian Franke <nobody@nowhere.ws>
*
* 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, cop... |
/*=========================================================================
Program: Visualization Toolkit
Module: $RCSfile$
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software is distrib... |
//
// sort.h
//
// Functions for merge sort, quicksort, and a hybrid sort.
// You SHOULD modify this file.
//
// IMPORTANT NOTE: For this particular assignment you may not add
// any additional utility functions.
//
// Copyright 2019 David Kopec
//
// Permission is hereby granted, free of charge, to any person... |
/**********************************************************************************
*
* The MIT License (MIT)
* Copyright (c) 2015 Lemberg Solutions Limited
* Permission is hereby granted, free of charge, to any person obtaining a copy
*... |
//
// 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 <iTunesStoreUI/SUBarButtonItem.h>
@class UIBarButtonItem;
@protocol ServiceBridgedNavigationItemProxy;
@interface ServiceBridgedBarButton... |
/*
* FreeRTOS Kernel V10.0.1
* Copyright (C) 2017 Amazon.com, Inc. or its affiliates. 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, includ... |
//
// BMIdentityView.h
// Bitmessage
//
// Created by Steve Dekorte on 2/13/14.
// Copyright (c) 2014 voluntary.net. All rights reserved.
//
#import "BMContactView.h"
@interface BMIdentityView : BMContactView
@end |
/*
Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
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; version 2 of the License.
This program is distributed i... |
/**
******************************************************************************
* @file QSPI/QSPI_ReadWrite_DMA/Src/main.c
* @author MCD Application Team
* @brief This example describes how to configure and use QuadSPI through
* the STM32F7xx HAL API.
**************************************... |
/*
* Copyright (c) 1990, 1991, 1993, 1994, 1995, 1996
* 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: (1) source code distributions
* retain the above copyright notice and this ... |
// Copyright (c) 2015-2016 Nuxi, https://nuxi.nl/
//
// SPDX-License-Identifier: BSD-2-Clause
#include <fenv.h>
#include "fenv_impl.h"
int fesetenv(const fenv_t *envp) {
#if defined(__aarch64__)
// Set control and status register.
msr_fpcr(envp->__fpcr);
msr_fpsr(envp->__fpsr);
return 0;
#elif defined(__arm_... |
#ifndef TYPES_H
#define TYPES_H
#include <modules/module.h>
#if !defined(__cplusplus)
#include <stdbool.h>
#endif
#include <stddef.h>
#include <stdint.h>
#include <errno.h>
// This gives us all the runtime functions
#include <runtime/std.h>
#include <sys/kheap.h>
#include <io/console.h>
// Include panic functions
#... |
/*
* 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... |
/*
* QEMU USB EHCI Emulation
*
* Copyright(c) 2008 Emutex Ltd. (address@hidden)
* Copyright(c) 2011-2012 Red Hat, Inc.
*
* Red Hat Authors:
* Gerd Hoffmann <kraxel@redhat.com>
* Hans de Goede <hdegoede@redhat.com>
*
* EHCI project was started by Mark Burkley, with contributions by
* Niels de Vos. David S. ... |
/*
Copyright (c) 1999 - 2010, Vodafone Group Services Ltd
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 co... |
// Copyright 2015 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_COMPILER_JS_INTRINSIC_LOWERING_H_
#define V8_COMPILER_JS_INTRINSIC_LOWERING_H_
#include "src/base/compiler-specific.h"
#include "src/compile... |
#ifndef FIX43_TRADECAPTUREREPORT_H
#define FIX43_TRADECAPTUREREPORT_H
#include "Message.h"
namespace FIX43
{
class TradeCaptureReport : public Message
{
public:
TradeCaptureReport() : Message(MsgType()) {}
TradeCaptureReport(const FIX::Message& m) : Message(m) {}
TradeCaptureReport(const Message& m... |
/**
* @file init.h
* @brief Initialization functionality.
*
*/
#ifndef _OSCC_THROTTLE_INIT_H_
#define _OSCC_THROTTLE_INIT_H_
// ****************************************************************************
// Function: init_globals
//
// Purpose: Initialize values of global variables.
//
// Returns: v... |
/*++
Copyright (c) 2006 Microsoft Corporation
Module Name:
dl_mk_magic_sets.h
Abstract:
<abstract>
Author:
Krystof Hoder (t-khoder) 2010-10-4.
Revision History:
--*/
#ifndef DL_MK_MAGIC_SETS_H_
#define DL_MK_MAGIC_SETS_H_
#include<utility>
#include"map.h"
#include"obj_pair_hashtable.h"
#include"d... |
/*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... |
#include <u.h>
#include <libc.h>
#include "fmtdef.h"
int
runevsnprint(Rune *buf, int len, char *fmt, va_list args)
{
Fmt f;
if(len <= 0)
return -1;
f.runes = 1;
f.start = buf;
f.to = buf;
f.stop = buf + len - 1;
f.flush = nil;
f.farg = nil;
f.nfmt = 0;
VA_COPY(f.args,args);
dofmt(&f, fmt);
VA_END(f.args... |
//
// Created by canyie on 2020/3/15.
//
#ifndef PINE_JIT_H
#define PINE_JIT_H
#include <memory>
#include "../utils/macros.h"
#include "thread.h"
#include "../utils/log.h"
#include "../utils/member.h"
#include "../utils/elf_img.h"
namespace pine::art {
class JitCompiler final {
public:
std::unique_pt... |
#include "C.h"
int get_value_from_c(void) {
return 5;
} |
/* Generated by RuntimeBrowser
Image: /System/Library/Frameworks/SpriteKit.framework/SpriteKit
*/
@interface SKSoundSource : NSObject {
NSMutableArray * _buffers;
unsigned int _sourceId;
}
@property (nonatomic, readonly) int completedBufferCount;
@property (nonatomic) double gain;
@property (nonatomic, r... |
//---------------------------------------------------------------------------
/*
TVP2 ( T Visual Presenter 2 ) A script authoring tool
Copyright (C) 2000-2007 W.Dee <dee@kikyou.info> and contributors
See details of license at "license.txt"
*/
//----------------------------------------------------------------------... |
#include <stdio.h>
void update(int *a,int *b) {
int temp = *a;
*a = *a + *b;
*b = temp - *b;
if(*b < 0){
*b = -(*b);
}
}
int main() {
int a, b;
int *pa = &a, *pb = &b;
scanf("%d %d", &a, &b);
update(pa, pb);
printf("%d\n%d", a, b);
return 0;
} |
/*=========================================================================
Program: ALBA (Agile Library for Biomedical Applications)
Module: NVectorTest
Authors: Daniele Giunchi
Copyright (c) BIC
All rights reserved. See Copyright.txt or
This software is distributed WITHOUT ANY WARRANTY; without even
the i... |
/* C H G T R E E . C
* BRL-CAD
*
* Copyright (c) 1985-2019 United States Government as represented by
* the U.S. Army Research Laboratory.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* version 2.1 as... |
#include <header.h>
void routin1(void){
duty_cycle = 0;
DDRA = 0x00;
duty_cycle = PINA;
duty_cycle = ((duty_cycle*90)/255) + 5;
duty_cycle = floor((duty_cycle*255)/100);
OCR0 = duty_cycle;
} |
/*
* This header is generated by classdump-dyld 1.5
* on Wednesday, October 27, 2021 at 3:23:04 PM Mountain Standard Time
* Operating System: Version 13.5.1 (Build 17F80)
* Image Source: /System/Library/PrivateFrameworks/VideosU... |
/*
* Change Logs:
* Date Author Notes
* 2021-04-20 liuhy the first version
*
* Copyright (C) 2021 Shanghai Eastsoft Microelectronics Co., Ltd. All rights reserved.
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the License); you ... |
/********************************************************************************
** Form generated from reading UI file 'tradingdialog.ui'
**
** Created by: Qt User Interface Compiler version 5.5.1
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
*************************************... |
/*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... |
#include "hardware.h"
#include "lcd.h"
#include "lpc_2148.h"
#include "type.h"
#include "utils.h"
#include "pwm.h"
#include "imu.h"
#include "motor.h"
#include "filter.h"
#include "miscellaneous.h"
#include "lpc_uart.h"
#include "uart.h"
#include "pid.h"
#include "math.h"
#include "uart_isr.h"
#include "lpc_vic.h"
#inc... |
#include "queue.h"
IG_Queue * IG_Queue_new(IG_QueueType type){
// Init queue
IG_Queue* queue = (IG_Queue*)malloc(sizeof(IG_Queue));
queue->size = 0;
queue->front = NULL;
queue->end = NULL;
queue->type = type;
// Init mutex for this specific queue
pthread_mutex_init(&queue->mutex,NULL);
//only init sem on bl... |
#include "rfcommon.h"
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
#include <inttypes.h>
#include <assert.h>
#include <unistd.h>
#include <errno.h>
#include <time.h>
#include <string.h>
#include <wiringPi.h>
#define RECORD_PIN (2) /* pin number used by default */
#define RECORD_SI... |
#pragma once
#include <Core/Models/BlockHeader.h>
#include <Core/Config.h>
#include <Database/BlockDb.h>
class PoWValidator
{
public:
PoWValidator(const Config& config, std::shared_ptr<const IBlockDB> pBlockDB);
bool IsPoWValid(const BlockHeader& header, const BlockHeader& previousHeader) const;
private:
uint64_... |
/******************************************************************************\
* Project: Module Subsystem Interface to SP Interpreter Core *
* Authors: Iconoclast *
* Release: 2018.12.18 ... |
#include "cio.h"
/*
* How to call this from Ruby: verbatim code inside ``
* run Ruby extconf.rb # `./extconf.rb` or `ruby extconf.rb`
* run `make`
* run `make install`
* This will install the correct package for your operating system. Currently only tested on Mac OSX 10.10
*
* From Ruby:
* require 'CIO'
* ... |
// Parts of this file are originally copyright (c) 2012-2013 The Cryptonote developers
// Copyright (c) 2014-2018, The Monero Project
// Copyright (c) 2014-2018, The Aeon Project
// Copyright (c) 2018, The TurtleCoin Developers
//
// Please see the included LICENSE file for more information.
#include <assert.h>
#inclu... |
#ifndef MESH_H
#define MESH_H
#include <sstream>
#include <string>
#include <vector>
#include "ObjWriter.h"
struct Mesh {
virtual ~Mesh() { }
virtual std::string getObj() = 0;
};
#endif |
/* Generated by RuntimeBrowser
Image: /System/Library/PrivateFrameworks/HealthDaemon.framework/HealthDaemon
*/
@interface HDActivityAWDActivityExerciseMinuteHour : PBCodable <NSCopying> {
long long _exerciseMinutes;
struct {
unsigned int exerciseMinutes : 1;
unsigned int hourSinceMidnigh... |
/*
* Copyright (c) 2006-2018, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2012-05-15 lgnq first version.
* 2012-05-28 bernard change interfaces
* 2013-02-20 bernard use RT_SERIAL_RB_BUFSZ to define
* ... |
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright 2002-2005, Instant802 Networks, Inc.
* Copyright 2005-2006, Devicescape Software, Inc.
* Copyright 2006-2007 Jiri Benc <jbenc@suse.cz>
* Copyright 2007 Johannes Berg <johannes@sipsolutions.net>
* Copyright 2013-2014 Intel Mobile Communications GmbH
* Copyri... |
#include "server.h"
// Checks, wether user specified input correctly.
void mx_argv_validator(int argc) {
char *msg;
if (argc != 2) {
mx_write_to_log("usage: ./server PORT\n", 2);
exit(1);
}
} |
#include <stdlib.h>
#include "buffer.h"
#include "cmark.h"
#include "utf8.h"
#include "render.h"
#include "node.h"
#include "cmark_ctype.h"
static CMARK_INLINE void S_cr(cmark_renderer *renderer) {
if (renderer->need_cr < 1) {
renderer->need_cr = 1;
}
}
static CMARK_INLINE void S_blankline(cmark_renderer *ren... |
#ifndef TIMER_H
#define TIMER_H
#include <thread>
#include <chrono>
class Timer {
// async exec
thread Thread;
bool Alive = false;
// how many times we call a function
long CallNumber = -1L;
// counter on how many times a certain function is called
long repeat_count = -1L;
// interval between function calls
... |
// =============================================================================
// PROJECT CHRONO - http://projectchrono.org
//
// Copyright (c) 2014 projectchrono.org
// All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found
// in the LICENSE file at the top level of t... |
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Components/ActorComponent.h"
#include "ARPGCharacterMovementComponent.generated.h"
UCLASS( ClassGroup=(Custom), meta=(BlueprintSpawnableComponent) )
class ARPG_API UARPGCharacterMovementCom... |
/* markdown: a C implementation of John Gruber's Markdown markup language.
*
* Copyright (C) 2007 David L Parsons.
* The redistribution terms are provided in the COPYRIGHT file that must
* be distributed with this source code.
*/
#include <stdio.h>
#include <string.h>
#include <stdarg.h>
#include <stdlib.h>
#inclu... |
/*
Samsung S5H1409 VSB/QAM demodulator driver
Copyright (C) 2006 Steven Toth <stoth@linuxtv.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 2 of the License, ... |
/*
* Copyright (c) 2018-2021, NVIDIA 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... |
/*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... |
// 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_DEVELOPER_DEBUG_ZXDB_SYMBOLS_CODE_BLOCK_H_
#define SRC_DEVELOPER_DEBUG_ZXDB_SYMBOLS_CODE_BLOCK_H_
#include <vector>
#include "src/developer/d... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: data/proto/example.proto
#ifndef PROTOBUF_data_2fproto_2fexample_2eproto__INCLUDED
#define PROTOBUF_data_2fproto_2fexample_2eproto__INCLUDED
#include <string>
#include <google/protobuf/stubs/common.h>
#if GOOGLE_PROTOBUF_VERSION < 2005000
#error... |
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** 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... |
link ../../../Protobuf/objectivec/GPBExtensionInternals.h |
#ifdef COMPILE_FOR_TEST
#include <assert.h>
#define assume(cond) assert(cond)
#endif
void main(int argc, char* argv[]) {
int x_0_0;//global::nr_of_pushes
int x_0_1;//global::nr_of_pushes
int x_0_2;//global::nr_of_pushes
int x_0_3;//global::nr_of_pushes
int x_1_0;//global::nr_of_pops
int x_1_1;//global::nr_of_pops... |
/*
* STMicroelectronics accelerometers driver
*
* Copyright 2012-2013 STMicroelectronics Inc.
*
* Denis Ciocca <denis.ciocca@st.com>
*
* Licensed under the GPL-2.
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/spi/spi.h>
#include <linux/iio/iio.h>
#include <linu... |
/** @file
Library used for sorting routines.
Copyright (c) 2019, Intel Corporation. All rights reserved. <BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <PiPei.h>
#include <Library/BaseLib.h>
#include <Library/BaseMemoryLib.h>
#include <Library/DebugLib.h>
#include <Library/SortLib.h>
/**
Ins... |
/*
Copyright (C) 2000-2003, Institute of Computing Technology, Chinese Academy of Sciences
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 ab... |
/*
* This header is generated by classdump-dyld 1.0
* on Sunday, June 7, 2020 at 11:23:48 AM Mountain Standard Time
* Operating System: Version 13.4.5 (Build 17L562)
* Image Source: /System/Library/Frameworks/MapKit.framework/MapKit
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos.
*/
... |
//
// OLNavigationBarButton.h
// OLModule_Example
//
// Created by LiYang on 2019/5/21.
// Copyright © 2019 Unrealplace. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
// 相对于标题的位置
// 如果没有标题则该属性无效
typedef NS_ENUM(NSInteger , OLPositionStyle)
{
// 文字与图片居中
OLPositionStyleCenter = 0,... |
/**
* Module defining IO interface to an IMU.
* \author: Jason Ziglar <jpz@vt.edu>
* \date: 02/22/2015
*/
#ifndef _IOMODULE_h_
#define _IOMODULE_h_
#include <cstring>
#include <stdint.h>
namespace kvh
{
/**
* Interface to IO for reading IMU data.
*/
class IOModule
{
public:
IOModule();
virtual ~IOModule();... |
/*
* Copyright (c) 2016 - Qeo LLC
*
* The source code form of this Qeo Open Source Project component is subject
* to the terms of the Clear BSD license.
*
* You can redistribute it and/or modify it under the terms of the Clear BSD
* License (http://directory.fsf.org/wiki/License:ClearBSD). See LICENSE file
* fo... |
#ifndef FLYWHEEL_COMMAND_H
#define FLYWHEEL_COMMAND_H
#include "../Command.h"
#include "../FlywheelController.h"
// Provides a command which handles changes to the flywheel assembly.
class FlywheelCommand : public Command {
public:
FlywheelCommand(FlywheelController* controller);
~FlywheelCommand... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2020 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_SCRIPT_INTERPRETER_H
#define BITCOIN_SCRIPT_INTERPRETER_H
#inclu... |
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "NGAP-IEs"
* found in "asn.1/Information Element Definitions.asn1"
* `asn1c -pdu=all -fcompound-names -fno-include-deps -findirect-choice -gen-PER -D src`
*/
#include "Ngap_AreaScopeOfMDT-NR.h"
#include "Ngap_CellBasedMDT-NR.h"
#incl... |
/****************************************************************************
* fs/mqueue/mq_unlink.c
*
* Copyright (C) 2007, 2009, 2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permi... |
#ifndef _ERRNO_H
#define _ERRNO_H
#include <mini-os/errno-base.h>
typedef int error_t;
#define EDEADLK 35 /* Resource deadlock would occur */
#define ENAMETOOLONG 36 /* File name too long */
#define ENOLCK 37 /* No record locks available */
#define ENOSYS 38 /* Function not implemented */
#define ENOTEMPTY 39 /* ... |
/*=========================================================================
Program: Visualization Toolkit
Module: vtkWeakPointerBase.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software... |
//
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
@class NSArray;
@protocol T1StatusMediaTimelineObserverPrefetcher
- (void)fetchMediasForStatuses:(NSArray *)arg1;
@end |
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* env3d.c :+: :+: :+: ... |
//
// VROBodySurfaceRenderer.h
// ViroRenderer
//
// Created by Raj Advani on 5/29/19.
// Copyright © 2019 Viro Media. 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... |
/* ---------------------------------------------------------------------------- */
/* Atmel Microcontroller Software Support */
/* SAM Software Package License */
/* --------------------------------------------------------------------... |
#include <stdio.h>
#include <stdlib.h>
typedef struct No{
char valor[20];
struct No *proximo;
} TipoNo;
typedef TipoNo *TipoPonteiro;
TipoPonteiro p[];
int main(){
//char valor[20];
int i=0;
char resp;
do{
printf("Digite uma palavra: ");
p[i] = (TipoPonteiro*)malloc(sizeof(Tipo... |
/*
* Copyright 2004 Mike McCormack for CodeWeavers
* Copyright 2006 Rob Shearman for CodeWeavers
* Copyright 2008, 2011 Hans Leidekker for CodeWeavers
* Copyright 2009 Juan Lang
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* Licen... |
/*
* This header is generated by classdump-dyld 1.0
* on Sunday, September 27, 2020 at 11:41:21 AM Mountain Standard Time
* Operating System: Version 14.0 (Build 18A373)
* Image Source: /System/Library/PrivateFrameworks/CallHistory.framework/CallHistory
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by... |
#pragma once
#include <memory>
#include <string>
#include <vector>
#include "WAVM/IR/FeatureSpec.h"
#include "WAVM/IR/Types.h"
#include "WAVM/IR/Value.h"
#include "WAVM/Inline/Assert.h"
#include "WAVM/Inline/BasicTypes.h"
#include "WAVM/Platform/Diagnostics.h"
// Declare some types to avoid including the full definit... |
/**
* \file
*
* \brief SAM SERCOM USART Driver
*
* Copyright (c) 2012-2018 Microchip Technology Inc. and its subsidiaries.
*
* \asf_license_start
*
* \page License
*
* Subject to your compliance with these terms, you may use Microchip
* software and any derivatives exclusively with Microchip products.
* It... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.