text stringlengths 9 948k |
|---|
// @(#)root/tree:$Id$
// Author: Rene Brun 12/01/96
/*************************************************************************
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* ... |
/*
* linux/arch/arm/mach-sa1100/pangolin.c
*/
#include <linux/config.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/tty.h>
#include <asm/hardware.h>
#include <asm/setup.h>
#include <asm/mach/arch.h>
#include <asm/mach/map.h>
#include <asm/mach/serial_sa1100.h>
#include "generic.h"
static str... |
/*
* This header is generated by classdump-dyld 1.0
* on Saturday, June 1, 2019 at 6:44:10 PM Mountain Standard Time
* Operating System: Version 12.1.1 (Build 16C5050a)
* Image Source: /System/Library/PrivateFrameworks/AppleAccount.framework/AppleAccount
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 b... |
/******************************************************************************\
* Copyright (C) 2012-2017 Leap Motion, Inc. All rights reserved. *
* Leap Motion proprietary and confidential. Not for distribution. *
* Use subject to the terms of the Leap Motion SDK Agreement available at ... |
//
// UIView+ACExtension.h
// Ablett
//
// Created by ablett on 16/6/8.
// Copyright © 2016年 ablett. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UIView (ACExtension)
/**
Create a snapshot image of the complete view hierarchy.
*/
- (nullable UIImage *)snapshotImage;
/**
Create a snapshot image ... |
#ifndef _QUECTEL_MD5_H
#define _QUECTEL_MD5_H
#include <stdint.h>
#include <stddef.h>
typedef struct md5_ctx {
uint32_t lo, hi;
uint32_t a, b, c, d;
unsigned char buffer[64];
} md5_ctx_t;
extern void md5_begin(md5_ctx_t *ctx);
extern void md5_hash(const void *data, size_t length, md5_ctx_t *ctx);
extern ... |
#pragma once
#include <vector>
#include <unordered_map>
#include <memory>
#include <boost/optional.hpp>
#include "storm/models/ModelType.h"
#include "storm/models/sparse/StateLabeling.h"
#include "storm/models/sparse/ChoiceLabeling.h"
#include "storm/storage/sparse/StateType.h"
#include "storm/storage/sparse/StateVal... |
#include <stdio.h>
#include <getdns/getdns.h>
#include <getdns/getdns_extra.h>
int main()
{
getdns_return_t r = GETDNS_RETURN_MEMORY_ERROR;
getdns_dict *dict = NULL;
unsigned char bladiebla_str[] = "bla die bla";
getdns_bindata bladiebla = { sizeof(bladiebla_str), bladiebla_str };
if (!(dict = getdns_dict_... |
/**
* \file
*/
#include <config.h>
#include <mono/utils/mono-compiler.h>
#ifndef DISABLE_JIT
#include "mini.h"
#include "ir-emit.h"
#include <mono/metadata/abi-details.h>
#include <mono/metadata/class-abi-details.h>
#define is_complex_isinst(klass) (mono_class_is_interface (klass) || m_class_get_rank (klass) || ... |
#pragma once
#include <map>
#include <Poco/Mutex.h>
#include "core/DevicePoller.h"
#include "core/PollableDevice.h"
namespace BeeeOn {
/**
* @brief PollingKeeper takes care of devices that are being polled.
* It cancels all polled devices it manages upon request or destruction
* to avoid leaking unstopped polle... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2015 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_WALLET_WALLET_H
#define BITCOIN_WALLET_WALLET_H
#include "amount... |
/*
* include/linux/fsl_devices.h
*
* Definitions for any platform device related flags or structures for
* Freescale processor devices
*
* Maintainer: Kumar Gala <galak@kernel.crashing.org>
*
* Copyright 2004,2012 Freescale Semiconductor, Inc
*
* This program is free software; you can redistribute it and/or ... |
#include <gsl/gsl_math.h>
#include "gsl_cblas.h"
#include "cblas.h"
void
cblas_drotg (double *a, double *b, double *c, double *s)
{
#define BASE double
#include "source_rotg.h"
#undef BASE
} |
/*
* Copyright (C) 2017 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... |
/* --COPYRIGHT--,BSD_EX
* Copyright (c) 2012, Texas Instruments Incorporated
* 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 c... |
/*-------------------------------------------------------------------------
*
* indextuple.c
* This file contains index tuple accessor and mutator routines,
* as well as various tuple utilities.
*
* Portions Copyright (c) 1996-2018, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents... |
//-----------------------------------------------------------------------------
// Torque
// Copyright GarageGames, LLC 2011
//-----------------------------------------------------------------------------
#ifndef _TORQUECONFIG_H_
#define _TORQUECONFIG_H_
//-------------------------------------------------------------... |
// Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required... |
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "S1AP-IEs"
* found in "/home/vesh/openairinterface5g/openair3/S1AP/MESSAGES/ASN1/R14/s1ap-14.5.0.asn1"
* `asn1c -pdu=all -fcompound-names -fno-include-deps -gen-PER -gen-OER -no-gen-example -D /home/vesh/openairinterface5g/cmake_targets... |
#ifndef BIT_ARRAY_H
#define BIT_ARRAY_H
//C headers
#include <stdint.h>
//C++ headers
#include <vector>
using namespace std;
inline void setBit64(vector<uint64_t> &bitArray, uint64_t index) {
bitArray[index >> 6] |= ((uint64_t)0x1 << (index & 0x3F));
}
//returns the number of set bits in value
inline uint64_t ... |
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROMEOS_SERVICES_DEVICE_SYNC_PUBLIC_CPP_FAKE_CLIENT_APP_METADATA_PROVIDER_H_
#define CHROMEOS_SERVICES_DEVICE_SYNC_PUBLIC_CPP_FAKE_CLIENT_APP_MET... |
// Copyright 2017 The Ray 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 to i... |
/* Generated by CIL v. 1.7.0 */
/* print_CIL_Input is false */
struct _IO_FILE;
struct timeval;
extern void signal(int sig , void *func ) ;
extern float strtof(char const *str , char const *endptr ) ;
typedef struct _IO_FILE FILE;
extern int atoi(char const *s ) ;
extern double strtod(char const *str , char co... |
// Copyright 2009-2019 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
#pragma once
#include "Group.h"
namespace ospray {
namespace cpp {
class Instance : public ManagedObject<OSPInstance, OSP_INSTANCE>
{
public:
Instance(Group &group);
Instance(OSPGroup group);
Instance(const Instance ©);
Ins... |
/* $OpenBSD: asn1test.c,v 1.3 2014/12/07 20:00:13 bcook Exp $ */
/*
* Copyright (c) 2014 Joel Sing <jsing@openbsd.org>
*
* 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 and this permission notice app... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#pragma once
#include "Scenario1_CustomControl.g.h"
namespace winrt::CppApp::implementation
{
struct Scenario1_CustomControl : Scenario1_CustomControlT<Scenario1_CustomControl>
{
Scenario1_CustomControl();
//void Succ... |
/*
* This file contains debug print support routines and globals.
*
* Copyright (c) 2008-2018 Red Hat, Inc.
*
* 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 co... |
/*
* Copyright (C) 2021 Huawei Device 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 o... |
/*MIT License
Copyright (c) 2018 MTA SZTAKI
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dist... |
//
// BDetailedUserWrapper.h
// XMPPChat
//
// Created by Benjamin Smiley-andrews on 19/08/2016.
// Copyright © 2016 deluge. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <ChatSDK/PUser.h>
@interface BDetailedUserWrapper : NSObject {
id<PUser> _user;
}
+(BDetailedUserWrapper *) wrapperWit... |
/********************************************************************************
** Form generated from reading UI file 'QGCHilXPlaneConfiguration.ui'
**
** Created by: Qt User Interface Compiler version 5.9.3
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
*************************... |
#ifndef PERFPARAMETERS_H_
#define PERFPARAMETERS_H_
#include <stdbool.h>
/**
During lazy computations, we can transform array containers into bitset
containers as
long as we can expect them to have ARRAY_LAZY_LOWERBOUND values.
*/
enum { ARRAY_LAZY_LOWERBOUND = 1024 };
/* default initial size of a run container
... |
#ifndef __NRF24_H__
#define __NRF24_H__
#include "stm32f4xx.h"
#include "bool.h"
#include "nRF24L01.h"
#include "nRF24_SPI.h"
#include "nRF24_Package.h"
/**
* Power Amplifier level.
*
* For use with setPALevel()
*/
typedef enum { RF24_PA_MIN = 0,RF24_PA_LOW, RF24_PA_HIGH, RF24_PA_MAX, RF24_PA_ERROR } rf24_pa_dbm... |
/***************************************************************************/
/* */
/* freetype.h */
/* */
/* Fr... |
/*
* Copyright (c) 2016 Wind River Systems, Inc.
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <kernel.h>
#include <kernel_structs.h>
#include <debug/object_tracing_common.h>
#include <toolchain.h>
#include <linker/sections.h>
#include <wait_q.h>
#include <misc/dlist.h>
#include <ksched.h>
#include <init.h>
... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE415_Double_Free__malloc_free_long_08.c
Label Definition File: CWE415_Double_Free__malloc_free.label.xml
Template File: sources-sinks-08.tmpl.c
*/
/*
* @description
* CWE: 415 Double Free
* BadSource: Allocate data using malloc() and Deallocate data using free()
* Go... |
//
// Created by Chris Young on 25/4/20.
//
#include <string>
#include <portmidi.h>
#ifndef MIDI_UTIL_H
#define MIDI_UTIL_H
std::string timestampString(PmTimestamp timestamp);
std::string midiNoteString(uint8_t note);
std::string midiChordString(std::vector<int> notes);
#endif //MIDI_UTIL_H |
/*****************************************************************
* Copyright (c) 2005 Tim de Jong, Brent Miszalski *
* *
* All rights reserved. *
* Distributed under the terms of the MIT License. *
****************************************************************... |
/*
* taskdtl_display.c
*
* Brief Description:
* A 'library' routine of sorts... invoked from another module/linked into
* other kernel module.
* Given the task structure pointer as a parameter, this function displays
* (via printk's) some of the task structure details.
*
* Author: Kaiwan N Billimoria <kaiwan ... |
/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* cx18 System Control Block initialization
*
* Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl>
* Copyright (C) 2008 Andy Walls <awalls@md.metrocast.net>
*/
#ifndef CX18_SCB_H
#define CX18_SCB_H
#include "cx18-mailbox.h"
/* NOTE: All ACK interrupts are... |
//
// UITextField+CJTextChangeBlock.h
// CJUIKitDemo
//
// Created by ciyouzen on 2015/12/23.
// Copyright © 2015年 dvlproad. All rights reserved.
//
//其他可参考:如何实现UITextField值变化的实时监视http://www.cocoachina.com/bbs/read.php?tid=233583
#import <UIKit/UIKit.h>
/**
* 可监听文本框文本发生变化了的block(包括在代码中setText以及在文本框视图中输入)
*/
@i... |
//
// api.h
//
// Created by Bassham, Lawrence E (Fed) on 9/6/17.
// Copyright © 2017 Bassham, Lawrence E (Fed). All rights reserved.
//
// This is a sample 'api.h' for use 'sign.c'
#ifndef api_h
#define api_h
// Available algorithms for different security levels
#define LightSaber 1
#define Saber 2
#define Fi... |
/* This file should be included into the _multipackmodule file */
/* $Revision$ */
/* module_methods:
{"_qagse", quadpack_qagse, METH_VARARGS, doc_qagse},
{"_qagie", quadpack_qagie, METH_VARARGS, doc_qagie},
{"_qagpe", quadpack_qagpe, METH_VARARGS, doc_qagpe},
{"_qawoe", quadpack_qawoe, METH_VARARGS, doc_qawoe}... |
// Tests for dumping the various datafow sets computed by the bounds widening
// analysis.
//
// RUN: %clang_cc1 -fdump-widened-bounds-dataflow-sets -verify \
// RUN: -verify-ignore-unexpected=note -verify-ignore-unexpected=warning %s \
// RUN: | FileCheck %s
int a;
void f1(_Nt_array_ptr<char> p : bounds(p, p + i), i... |
//-*-C++-*-
/***************************************************************************
*
* Copyright (C) 2011 by Willem van Straten
* Licensed under the Academic Free License version 2.1
*
***************************************************************************/
// psrchive/More/MEAL/MEAL/OrthogonalModes... |
/***************************************************************/
/* */
/* PROJECT NAME : Biquad */
/* FILE : iodefine.h */
/* DESCRIPTION : Definition of I/O Registers ... |
/*--------------------------------------------------------------*/
/* */
/* output_growth_basin */
/* */
/* output_growth_basin - creates output files objects. */
/* */
/* NAME */
/* output_growth_basin - outputs current contents of a basin. */
/* ... |
/*
* This header is generated by classdump-dyld 1.0
* on Sunday, September 27, 2020 at 11:42:35 AM Mountain Standard Time
* Operating System: Version 14.0 (Build 18A373)
* Image Source: /System/Library/Frameworks/EventKitUI.framework/EventKitUI
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Li... |
/*
* Copyright (c) 2020, Sergey Bugaev <bugaevc@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <AK/Function.h>
#include <AK/String.h>
#include <AK/Vector.h>
#include <stdio.h>
namespace Core {
class ArgsParser {
public:
ArgsParser();
enum class Required {
Yes... |
// Copyright 2021 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_APP_LIST_VIEWS_APP_LIST_BUBBLE_APPS_PAGE_H_
#define ASH_APP_LIST_VIEWS_APP_LIST_BUBBLE_APPS_PAGE_H_
#include <memory>
#include "ash/app_list... |
#pragma once
namespace ur
{
enum class DepthTestFunc
{
Never,
Less,
Equal,
LessThanOrEqual,
Greater,
NotEqual,
GreaterThanOrEqual,
Always
};
struct DepthTest
{
bool enabled = true;
DepthTestFunc function = DepthTestFunc::Less;
bool operator == (const DepthTest& ... |
/**********************************************************************
SLOW FOURIER TRANSFORM
wn_sft_vect(vector,len_i)
wn_inverse_sft_vect(vector,len_i)
**********************************************************************/
/****************************************************************************
... |
/**
******************************************************************************
* @file stm32f2xx_hal_adc_ex.c
* @author MCD Application Team
* @brief This file provides firmware functions to manage the following
* functionalities of the ADC extension peripheral:
* + Extended fe... |
#pragma once
#include "IAssetInterface.h"
#include "sge_utils/sge_utils.h"
#include <memory>
#include <string>
namespace sge {
struct AssetLibrary;
/// @brief Describes the current status of an asset.
enum AssetStatus : int {
AssetStatus_NotLoaded, ///< The assets seems to exist but it is not loaded.
AssetStatus... |
/*
* common definition
*
* Copyright (C) 2017 Intel Corporation. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
/**
* @file acrn_common.h
*
* @brief acrn common data structure for hypercall or ioctl
*/
#ifndef ACRN_COMMON_H
#define ACRN_COMMON_H
#include <types.h>
/*
* Common structure... |
#import <Foundation/Foundation.h>
#if TARGET_OS_IPHONE
#import "DDXML.h"
#endif
@interface NSXMLElement (XEP_0335)
- (NSXMLElement *)JSONContainer;
- (BOOL)isJSONContainer;
- (BOOL)hasJSONContainer;
- (NSString *)JSONContainerString;
- (NSData *)JSONContainerData;
- (id)JSONContainerObject;
- (void)addJSONContaine... |
#include "lua_libgit2.h"
int lua_git_libgit2_init (lua_State *L) {
if (lua_gettop(L) != 0) {
return luaL_error(L, "expecting no arguments");
}
git_libgit2_init();
return 1;
}
int lua_git_libgit2_shutdown (lua_State *L) {
if (lua_gettop(L) != 0) {
return luaL_error(L, "expecting no arguments");
}
git_lib... |
inherit "room/room";
reset(arg) {
if(!present("guard")) {
move_object(clone_object("/wizards/morgoth/town/npc/guard"),
this_object());
}
if(!present("guard")) {
move_object(clone_object("/wizards/morgoth/town/npc/guard"),
this_object());
}
if(arg) { return; }
add_exit("leave", "/wizards/morgoth/town/room... |
/*
* This header is generated by classdump-dyld 1.5
* on Tuesday, November 10, 2020 at 10:11:32 PM Mountain Standard Time
* Operating System: Version 14.2 (Build 18K57)
* Image Source: /System/Library/PrivateFrameworks/GeoServic... |
#ifndef __PACKETDETECTIONRULESIMPL_H__
#define __PACKETDETECTIONRULESIMPL_H__
#include <interfaces/PacketDetectionRules.h>
#include <pfcp/pfcp_pdr.h>
class PacketDetectionRulesImpl : public PacketDetectionRules
{
public:
PacketDetectionRulesImpl(pfcp_pdr_t_ &myPdr);
virtual ~PacketDetectionRulesImpl();
teid_t_ ... |
// Copyright (c) 2018-2018 The Pptp Core developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef GOVERNANCE_VALIDATORS_H
#define GOVERNANCE_VALIDATORS_H
#include <string>
#include <univalue.h>
class CProposalVa... |
/*
* Copyright 2011 Ytai Ben-Tsvi. 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
* con... |
/* $OpenBSD: pte.h,v 1.14 2008/11/26 14:10:23 claudio Exp $ */
/* $NetBSD: pte.h,v 1.7 2001/07/31 06:55:46 eeh Exp $ */
/*
* Copyright (c) 1996-1999 Eduardo Horvath
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met... |
/*
** 2015-06-06
**
** The author disclaims copyright to this source code. In place of
** a legal notice, here is a blessing:
**
** May you do good and not evil.
** May you find forgiveness for yourself and forgive others.
** May you share freely, never taking more than you give.
**
**************************... |
/* SPDX-License-Identifier: BSD-2 */
/*
* Copyright (c) 2018, Intel Corporation
* All rights reserved.
*/
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include "checks.h"
#include "db.h"
#include "list.h"
#include "pkcs11.h"
#include "session.h"
#include "session_... |
//
// SID_Line.h
// Fingerpaint
//
// Created by Peter Kämpf on 17.11.14.
// Copyright (c) 2014 STABILO digital. All rights reserved.
//
// Version 1.0 May 18, 2015
//
#import <Foundation/Foundation.h>
@interface PaintViewLine : NSObject
@property (assign, nonatomic) NSInteger penMode; // Which pa... |
#pragma once
#include "Aulys.h"
#include <cmath>
#include "GeometryEnum.h"
#define PI 3.14159265358979f
#define defhCWH 0.6584789485f
#define defhCWK 0.5773502692f
namespace App
{
constexpr float piOver(float n) {
return n == -1 ? 0 : PI / n;
};
template<typename T>
constexpr T lorentzDot(const glm::vec<3,... |
/****************************************************************************
Title: HD44780U LCD library
Author: Peter Fleury <pfleury@gmx.ch> http://tinyurl.com/peterfleury
License: GNU General Public License Version 3
File: $Id: lcd.c,v 1.15.2.2 2015/01/17 12:16:05 peter Exp $
Software: AVR-GCC 3... |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Hbase.Processor.deleteAllRow (Apache HBase 1.4.13 API)</title>
<link rel="stylesheet" type="text/css"... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#pragma once
#include <optional>
namespace onnxruntime {
using std::optional;
#ifndef ORT_NO_EXCEPTIONS
using std::bad_optional_access;
#endif
using std::nullopt;
using std::nullopt_t;
using std::in_place;
using std::i... |
#include <emote.h>
EMOTE( "~Name ~verbrelease uncontrollable, ear-splitting shrill giggles and ~verbbegin to hoppity skip around the room.@@squeeing","~Name ~verbrelease uncontrollable, ear-splitting shrill giggles and ~verbbegin to hoppity skip in a circle around ~targ.@@squeeing uncontrollably and hoppity skipping a... |
/*
+---------------------------------+
| |
| *** Marginals calculation *** |
| |
| Copyright (c) -tHE SWINe- 2013 |
| |
| Marginals.h |
|... |
#pragma once
#include <torch/csrc/jit/ir/ir.h>
#include <torch/csrc/jit/passes/onnx/constant_map.h>
#include <torch/csrc/onnx/onnx.h>
namespace torch {
namespace jit {
TORCH_API std::shared_ptr<Graph> ToONNX(
std::shared_ptr<Graph>& state,
::torch::onnx::OperatorExportTypes operator_export_type);
TORCH_API v... |
#ifndef LIGHTNING_COMMON_UTILS_H
#define LIGHTNING_COMMON_UTILS_H
#include "config.h"
#include <ccan/crypto/ripemd160/ripemd160.h>
#include <ccan/crypto/sha256/sha256.h>
#include <ccan/short_types/short_types.h>
#include <ccan/structeq/structeq.h>
#include <ccan/tal/tal.h>
#include <secp256k1.h>
extern secp256k1_conte... |
/*
* Copyright 2010-2011 INRIA Saclay
* Copyright 2011 Sven Verdoolaege
* Copyright 2012-2014 Ecole Normale Superieure
*
* Use of this software is governed by the MIT license
*
* Written by Sven Verdoolaege, INRIA Saclay - Ile-de-France,
* Parc Club Orsay Universite, ZAC des vignes, 4 rue Jacques Monod,
*... |
# 1 "benchmarks/ds-07-impl2.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "/usr/include/stdc-predef.h" 1 3 4
# 1 "<command-line>" 2
# 1 "benchmarks/ds-07-impl2.c"
# 1 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/bmc/dsverifier.h" 1
# 20 "/home/yashchopda/Desktop/dsverifier-v2.0.3-esbmc-v4.0-cbmc-5.6/b... |
#ifndef PALABRA_H
#define PALABRA_H
#include <string>
//#include <conio.h>
#include <vector>
using namespace std;
class Palabra
{
public:
Palabra(){}
Palabra(string idm1, std::vector<string> idm2):idioma1(idm1), idioma2(idm2){}
Palabra(string idm1):idioma1(idm1){}
string idioma1;
... |
/*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use of this software is governed by the License,
* or, if provided, by the license below or t... |
//Author: Kristo Kaas
//Ported for MSVC by: Brian Tegart
//
//Module name: SCCharacter.h
//Comes with: the GLPoem screensaver tutorial hosted at nehe.gamedev.net
//Copyright: see copyright.txt accompanying this source project
//Bugs/questions/suggestions/ideas: crispy@hot.ee
#ifndef _SCCHARACTER_H_
#define _SCCHARACTE... |
/* ----------------------------------------------------------------------------------------------- */
/* Copyright (c) 2014 - 2020 by Axel Kenzo, axelkenzo@mail.ru */
/* */
/* Файл ak_oi... |
/*
* This header is generated by classdump-dyld 1.0
* on Saturday, June 1, 2019 at 6:51:33 PM Mountain Standard Time
* Operating System: Version 12.1.1 (Build 16C5050a)
* Image Source: /System/Library/PrivateFrameworks/NewsUI.framework/NewsUI
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limn... |
// 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 MEDIA_CDM_CENC_DECRYPTOR_H_
#define MEDIA_CDM_CENC_DECRYPTOR_H_
#include "base/memory/ref_counted.h"
#include "media/base/media_export.h"
namesp... |
/****************************************************************************
* sched/irq/irq_spinlock.c
*
* Copyright 2017,2018 Sony Video & Sound Products Inc.
* Author: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
*
* Redistribution and use in source and binary forms, with or without
* modification, ... |
// Copyright 2014 Runtime.JS 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 copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law o... |
// This is an open source non-commercial project. Dear PVS-Studio, please check
// it. PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
// autocmd.c: Autocommand related functions
#include "nvim/autocmd.h"
#include "nvim/api/private/handle.h"
#include "nvim/ascii.h"
#include "nvim/buffer.h"
#... |
/*******************************************************************************
Description : oscillator interface
*******************************************************************************/
#ifndef _OSCILLATOR_H_
#define _OSCILLATOR_H_
#ifdef __cplusplus
extern "C" {
#endif
/**********************... |
// Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required... |
/* DirectInput HID Joystick device
*
* Copyright 2021 Rémi Bernon for CodeWeavers
*
* 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 you... |
#pragma once
#include "Types.h"
#ifdef __cplusplus
extern "C" {
#endif
extern char const *iggGetVersion(void);
extern void iggNewFrame(void);
extern void iggRender(void);
extern void iggEndFrame(void);
#ifdef __cplusplus
}
#endif |
/*
* Copyright (c) 2020 HiSilicon (Shanghai) Technologies CO., LIMITED.
*
* 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 l... |
using SideCar::Messages::Segment;
using SideCar::Messages::SegmentList;
// A simple tree structure.
// Knows that connections can only be formed between adjacent layers.
// Keeps all data in the first segment of the newest "flavor" layer.
// Merges all "leaves" into a single unsorted list.
class SegmentTree {
public:
... |
/*
* (C) Copyright 2013 ECMWF.
*
* This software is licensed under the terms of the Apache Licence Version 2.0
* which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
* In applying this licence, ECMWF does not waive the privileges and immunities
* granted to it by virtue of its status as an intergo... |
/****************************************************************************
**
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** You may use this file under the terms of th... |
/**
* Copyright (c) 2017 - 2018, Nordic Semiconductor ASA
*
* 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, th... |
/**
* Copyright (C) Mellanox Technologies Ltd. 2001-2015. ALL RIGHTS RESERVED.
*
* See file LICENSE for terms.
*/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include "dt_iov.h"
#include <ucs/debug/assert.h>
#include <ucs/sys/math.h>
#include <string.h>
#include <unistd.h>
void ucp_dt_iov_gather(void *... |
#ifndef BUFFER
#define BUFFER
#include <iostream>
#include <cstdlib>
#include "buftracer.h"
namespace tensorflow {
class Buffer{
public:
Buffer();
~Buffer();
void setid(int i);
int getid();
int getfield();
Buffer* getBref();
static BufTracer<Buffer> buf_tracer;
private:
int id;
int field;
... |
/*
* Copyright (c) 2008 James Molloy, Jörg Pfähler, Matthew Iselin
*
* 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 and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "A... |
#include<stdio.h>
int main()
{
int i, p;
char a[11];
scanf("%s", a);
for(i=0;a[i]!='\0';i++){
p=((a[i]=='$')&&(a[i]>='A'&&a[i]<='Z')||(a[i]>='a'&&a[i]<='z')&&(a[i]>='0'&&a[i]<='9'))?1:2;
if(p==2)
break;
}
if(p==1){
printf("password ok\n");
}else{
prin... |
/*
* USB HandSpring Visor, Palm m50x, and Sony Clie driver
* (supports all of the Palm OS USB devices)
*
* Copyright (C) 1999 - 2004
* Greg Kroah-Hartman (greg@kroah.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License version
... |
/*
Copyright 2015 Jun Wako <wakojun@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 License, or
(at your option) any later version.
This program is distributed in ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.