text stringlengths 9 948k |
|---|
/**
test_cvmhlabn_exec.c
uses cvmhlabn's model api,
model_init, model_setparam, model_query, model_finalize
**/
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <unistd.h>
#include <getopt.h>
#include <assert.h>
#include "cvmhlabn.h"
#include "unittest_defs.h"
#includ... |
/*
* Copyright (c) 2013 ASMlover. 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 ofconditions ... |
/*
This file is part of cpp-ethereum.
cpp-ethereum 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 the License, or
(at your option) any later version.
cpp-ethereum is distributed in the... |
/*
* This header is generated by classdump-dyld 1.5
* on Friday, April 30, 2021 at 11:37:23 AM Mountain Standard Time
* Operating System: Version 13.5.1 (Build 17F80)
* Image Source: /System/Library/PrivateFrameworks/Email.frame... |
/** @file auto.c
* @brief File for autonomous code
*
* This file should contain the user autonomous() function and any functions related to it.
*
* PROS contains FreeRTOS (http://www.freertos.org) whose source code may be
* obtained from http://sourceforge.net/projects/freertos/files/ or on request.
*/
#include... |
/*
* Note: this file originally auto-generated by mib2c using
* : mib2c.scalar.conf,v 1.9 2005/01/07 09:37:18 dts12 Exp $
*/
#ifndef VPNEASEMIB_H
#define VPNEASEMIB_H
/* function declarations */
void init_vpneaseMIB(void);
Netsnmp_Node_Handler handle_vpneaseHealthCheckErrors;
Netsnmp_Node_Handler handle_vpne... |
#pragma once
#include "torch/csrc/jit/ir.h"
namespace torch { namespace jit {
// NB: Be sure to run DCE before fusion, because dead instructions
// can prevent fusion opportunities from being exploited.
// On Windows will noop, NYI
TORCH_API void FuseGraph(std::shared_ptr<Graph>& graph);
}} |
/* 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 by applicable law or... |
/*
* This header is generated by classdump-dyld 1.0
* on Sunday, September 27, 2020 at 11:54:44 AM Mountain Standard Time
* Operating System: Version 14.0 (Build 18A373)
* Image Source: /System/Library/PrivateFrameworks/MetricsKit.framework/MetricsKit
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by E... |
@import Foundation;
@class JSContext;
@interface JSBAccounts : NSObject
+ (void)addScriptingSupportToContext:(JSContext *)context;
@end |
#pragma once
#include <vector>
#include "mon-info.h"
#include "tag-version.h"
using std::vector;
struct monster_info_flag_name
{
monster_info_flags flag;
string short_singular; // HUD display (empty to not show)
string long_singular; // Targeter display
string plural; // HUD display in groups (empty... |
/*
* INET An implementation of the TCP/IP protocol suite for the LINUX
* operating system. INET is implemented using the BSD Socket
* interface as the means of communication with the user level.
*
* PF_INET protocol family socket handler.
*
* Authors: Ross Biro
* Fred N. van Kempen, <waltje@uWalt.NL.Mugn... |
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (C) 2017 Red Hat, Inc.
*/
#include <linux/cred.h>
#include <linux/file.h>
#include <linux/mount.h>
#include <linux/xattr.h>
#include <linux/uio.h>
#include <linux/uaccess.h>
#include <linux/splice.h>
#include <linux/security.h>
#include <linux/mm.h>
#include <l... |
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (C) 2012,2013 - ARM Ltd
* Author: Marc Zyngier <marc.zyngier@arm.com>
*
* Derived from arch/arm/include/kvm_emulate.h
* Copyright (C) 2012 - Virtual Open Systems and Columbia University
* Author: Christoffer Dall <c.dall@virtualopensystems.com>
*/
#ifnd... |
#ifndef __DRM_LEGACY_H__
#define __DRM_LEGACY_H__
/*
* Copyright (c) 2014 David Herrmann <dh.herrmann@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, i... |
/*
* Copyright 2003, 2004, 2005, 2006 PathScale, Inc. All Rights Reserved.
*/
/* Remote target system call callback support.
Copyright 1997 Free Software Foundation, Inc.
Contributed by Cygnus Solutions.
This file is part of GDB.
This program is free software; you can redistribute it and/or modify
it under ... |
/**
******************************************************************************
* @file BSP/Src/sdram_dma.c
* @author MCD Application Team
* @brief This example code shows how to use the SDRAM Driver
******************************************************************************
* @attention
*
... |
#include "kernel/types.h"
#include "kernel/stat.h"
#include "user/user.h"
int
main(int argc, char *argv[])
{
if(argc < 2){
fprintf(2, "Usage: time outs\n");
exit(1);
}
int time = atoi(argv[1]);
sleep(time);
exit(0);
}//
// Created by rikka on 2022/2/22.
// |
/*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org/
Copyright (c) 2000-2011 Torus Knot Software Ltd
Permission is hereby granted, free of charge, to any person obta... |
// Copyright (c) the JPEG XL 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 LIB_JXL_DEC_NOISE_H_
#define LIB_JXL_DEC_NOISE_H_
// Noise synthesis. Currently disabled.
#include <stddef.h>
#include <stdint.h>
#inc... |
//ROOM: /d/yanziwu/zuijing.c
inherit ROOM;
void create()
{
set("short", "綴錦樓");
set("long", @LONG
地面鋪着大紅地毯,房中佈置得珠光寶氣,各種珠寶,古玩擺放
得琳琅滿目,你看了頗為心動,很想順手拿走幾件,但又有些不敢。
角落裏有一架紅木樓梯。
LONG );
set("exits", ([
"west" : __DIR__"canheju",
"east" : __DIR__"jiashan",
]));
s... |
/****************************************************************************
Copyright (c) 2008-2010 Ricardo Quesada
Copyright (c) 2009 Jason Booth
Copyright (c) 2009 Robert J Payne
Copyright (c) 2010-2012 cocos2d-x.org
Copyright (c) 2011 Zynga Inc.
Copyright (c) 2013-2016 Chukong Technologies Inc.
Copy... |
/** @file
SMBASE relocation for hot-plugged CPUs.
Copyright (c) 2020, Red Hat, Inc.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Base.h> // BASE_1MB
#include <Library/BaseLib.h> // CpuPause()
#include <Library/BaseMemoryLib.h> // CopyMem()
#... |
/* Copyright (C) 1991, 1996-1999, 2000, 2011 Free Software Foundation, Inc.
This file is part of the GNU C Library.
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 Free Software Foundation; either
v... |
/*
* Copyright (c) 2012-2014 Bastian Koppelmann C-Lab/University Paderborn
*
* 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... |
/* +------------------------------------------------------------------------+
| Mobile Robot Programming Toolkit (MRPT) |
| http://www.mrpt.org/ |
| |
| Cop... |
#pragma once
#include "xsecurity/AES.hpp"
#include "xsecurity/DE0.hpp"
namespace u
{
} |
/* DO NOT EDIT! GENERATED AUTOMATICALLY! */
/* Test the Unicode character type functions.
Copyright (C) 2007 Free Software Foundation, Inc.
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;... |
/***************************************************************************//**
* \file cyip_pass.h
*
* \brief
* PASS IP definitions
*
* \note
* Generator version: 1.2.0.117
* Database revision: rev#1059753
*
********************************************************************************
* \copyright
* Copyright 2016... |
/*
* vim:sw=4 ts=8
*/
/*
* Copyright (c) 2009 David McCullough <david.mccullough@securecomputing.com>
*
* Copyright (c) 2003-2007 Cavium Networks (support@cavium.com). All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the ... |
/*
* This header is generated by classdump-dyld 1.5
* on Wednesday, October 27, 2021 at 3:18:34 PM Mountain Standard Time
* Operating System: Version 13.5.1 (Build 17F80)
* Image Source: /System/Library/PrivateFrameworks/AppSSOK... |
/* Copyright (c) <2003-2019> <Newton Game Dynamics>
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
*
* Permission is granted to anyone to use this software for any purpose,
* includi... |
/*
* tkWinX.c --
*
* This file contains Windows emulation procedures for X routines.
*
* Copyright (c) 1995-1996 Sun Microsystems, Inc.
* Copyright (c) 1994 Software Research Associates, Inc.
*
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ... |
#ifndef PLUGIN_JSON_H
#define PLUGIN_JSON_H
#include "4DPluginAPI.h"
#include <string>
#include <vector>
#include <map>
#include <iostream> // std::cout
#include <iterator> // std::back_inserter
#include <vector> // std::vector
#include <algorithm> // std::copy
#ifdef __APPLE__
#include <CoreFoundati... |
/*
* %CopyrightBegin%
*
* Copyright Ericsson AB 2001-2021. 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
... |
/*
Based on the SG C Tools 1.7
(C) 1993 Steve Goldsmith
$Id: circleivdc.c,v 1.1 2008/06/23 17:34:32 stefano Exp $
*/
#include <stdlib.h>
#include <c128/vdc.h>
/* draw circle in 640 x 680 interlace bit map using bresenham's algorithm */
void circleivdc(int XC, int YC, int R)
{
int P, X, Y;
X = 0; /* ... |
/********************************************************************************
** Form generated from reading UI file 'creategroupwidget.ui'
**
** Created by: Qt User Interface Compiler version 5.10.1
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************... |
/**********************************************************************
speaker.h
Sound driver to emulate a simple speaker,
driven by one or more output bits
**********************************************************************/
#pragma once
#ifndef __SPEAKER_H__
#define __SPEAKER_H__
#include "devleg... |
//
// TM & (c) 2017 Lucasfilm Entertainment Company Ltd. and Lucasfilm Ltd.
// All rights reserved. See LICENSE.txt for license.
//
#ifndef MATERIALX_SHADERNODE_H
#define MATERIALX_SHADERNODE_H
/// @file
/// Classes for nodes created during shader generation
#include <MaterialXGenShader/Library.h>
#include <Materi... |
//===- llvm/ADT/IntervalMap.h - A sorted interval map -----------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... |
/* Copyright 2021 The TensorFlow 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 by applicable law or a... |
#pragma once
#include <functional>
#include "envoy/config/subscription.h"
#include "envoy/init/init.h"
#include "envoy/server/listener_manager.h"
#include "common/common/logger.h"
#include "api/lds.pb.h"
namespace Envoy {
namespace Server {
/**
* LDS API implementation that fetches via Subscription.
*/
class Ld... |
/*!
* \file OxFactoryOfFunctions.h
* \author Konrad Werys
* \date 2018/08/18
*/
#ifndef Tomato_OXFACTORYOFFUNCTIONS_H
#define Tomato_OXFACTORYOFFUNCTIONS_H
#include "CmakeConfigForTomato.h"
#include "tomatolib_export.h"
#include "OxModel.h"
namespace Ox {
template<typename TYPE>
class TomatoOptions;
... |
//===--- Clang.h - Clang Tool and ToolChain Implementations ====-*- 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
//
//===---------------------------... |
/*
* GIP_mcu.c
*
* Created: 28/01/2022 7:58:52
* Author : blue
*/
#define F_CPU 3686400L
#include <avr/io.h>
#include <util/delay.h>
#include <avr/interrupt.h>
#include <stdlib.h>
#include <RpiCommunication.h>
#include <HallSensor.h>
#define HANDBRAKE PORTC7
char resp_char = 255;
enum InstructionCodes ICodes;
enu... |
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <sys/shm.h>
#include <sys/types.h>
#include <sys/wait.h>
#include "ipc.h"
int create_shm()
{
// TODO
}
void run_child(const int shm_id, const size_t child_number, const size_t size)
{
// TODO
}
void run_parent(const int shm_id)
{
// TO... |
#ifndef __INC_CLC7CONTROLLER_H
#define __INC_CLC7CONTROLLER_H
#include"ILC7Controller.h"
#include"CLC7PluginRegistry.h"
#include"CLC7TaskScheduler.h"
#include"CLC7WorkQueueFactory.h"
#include"CLC7ActionCategory.h"
#include"CLC7Action.h"
#include"CLC7HistoricalData.h"
#include"CLC7Settings.h"
#include"CLC7CoreSettings... |
/* main.c - main line routines */
/* SimpleScalar(TM) Tool Suite
* Copyright (C) 1994-2003 by Todd M. Austin, Ph.D. and SimpleScalar, LLC.
* All Rights Reserved.
*
* THIS IS A LEGAL DOCUMENT, BY USING SIMPLESCALAR,
* YOU ARE AGREEING TO THESE TERMS AND CONDITIONS.
*
* No portion of this work may be used by a... |
/*
* Copyright (C) 2004 Benjamin Herrenschmuidt (benh@kernel.crashing.org),
* IBM Corp.
*
* 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 ... |
/*
* Copyright (c) 1996, 2003 VIA Networking Technologies, Inc.
* 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; either version 2 of the License, or
* (at your opt... |
/*****************************************************************************
* *
* File: mv88x201x.c *
* $Revision: 1.12 $ *
* $... |
/*
* Clk driver for NXP LPC18xx/LPC43xx Clock Control Unit (CCU)
*
* Copyright (C) 2015 Joachim Eastwood <manabian@gmail.com>
*
* This file is licensed under the terms of the GNU General Public
* License version 2. This program is licensed "as is" without any
* warranty of any kind, whether express or implied.
... |
/* Copyright 2019. Uecker Lab, University Medical Center Goettingen.
* All rights reserved. Use of this source code is governed by
* a BSD-style license which can be found in the LICENSE file.
*
* Authors: Xiaoqing Wang, Martin Uecker
*/
#include <stdlib.h>
#include <complex.h>
#include <math.h>
#include <stdboo... |
//
// RCColorSelector.h
// RCCoreKit
//
// Created by xuefeng on 2021/12/29.
//
#import <RCCoreKit/RCCoreKit.h>
#import "RCConfigObject.h"
@class RCColorValue;
@class RCColorSelectorValue;
NS_ASSUME_NONNULL_BEGIN
@interface RCColorSelector : RCConfigObject
@property (nonatomic, strong, nullable) RCColorSelectorV... |
#include <chili.h>
#ifndef CHI_INTERN
# define CHI_INTERN
#endif
#ifndef CHI_EXTERN
# define CHI_EXTERN extern
#endif
#define CHI_AUTO(n, i, f) typeof (i) n __attribute__ ((cleanup(chi_auto_##f))) = (i)
#define CHI_DEFINE_AUTO(t, f) CHI_INL void chi_auto_##f(t* p) { if (*p) f(*p); }
#define CHI_DEFINE_AUTO_LO... |
/****************************************************************************
* config/ekk-lm3s9b96/src/lm_appinit.c
*
* Copyright (C) 2012, 2016 Gregory Nutt. All rights reserved.
* Authors: Gregory Nutt <gnutt@nuttx.org>
* Jose Pablo Rojas V. <jrojas@nx-engineering.com>
*
* Redistribution and us... |
/*
* Copyright (c) 2011, The Iconfactory. All rights reserved.
*
* Copyright (c) 2015 Microsoft 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:
*
* 1. Redistributions of source code mus... |
//
// CardExamples.h
// CardExamples
//
// Created by Kyle Newsome on 6/29/18.
// Copyright © 2018 Bitwit. All rights reserved.
//
#import <UIKit/UIKit.h>
//! Project version number for CardExamples.
FOUNDATION_EXPORT double CardExamplesVersionNumber;
//! Project version string for CardExamples.
FOUNDATION_EXPOR... |
#ifndef _MEM_FILE_H_
#define _MEM_FILE_H_
#include <memory>
#include <algorithm>
#include <vector>
#include <iostream>
namespace hstd {
// メモリに全部展開しちゃうよ
class FileManager {
public:
typedef std::shared_ptr<FILE> FilePtr;
private:
FilePtr fp_;
std::vector<unsigned char> buffer_;
int now_index_;
bool skip_if_re... |
/*
* This header is generated by classdump-dyld 1.0
* on Sunday, September 27, 2020 at 11:54:19 AM Mountain Standard Time
* Operating System: Version 14.0 (Build 18A373)
* Image Source: /System/Library/PrivateFrameworks/CoreThemeDefinition.framework/CoreThemeDefinition
* classdump-dyld is licensed under GPLv3, Copyrigh... |
/*
* fnv - Fowler/Noll/Vo- hash code
*
* @(#) $Revision: 5.4 $
* @(#) $Id: fnv.h,v 5.4 2009/07/30 22:49:13 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/fnv/RCS/fnv.h,v $
*
***
*
* Fowler/Noll/Vo- hash
*
* The basis of this hash algorithm was taken from an idea sent
* as reviewer comments to the IEEE POSI... |
//
// debug.h
// headstart
//
#define Assert(x) NSAssert(x, @"Assert")
#ifdef DEBUG
#define Verify(x) Assert(x)
#define LOG(...) NSLog(__VA_ARGS__)
#else
#define Verify(x) x
#define LOG(...)
#endif |
/*
* Copyright (C) 2008 Torch Mobile Inc. All rights reserved.
* (http://www.torchmobile.com/)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License,... |
/*
include/linux/comedidev.h
header file for kernel-only structures, variables, and constants
COMEDI - Linux Control and Measurement Device Interface
Copyright (C) 1997-2000 David A. Schleef <ds@schleef.org>
This program is free software; you can redistribute it and/or modify
it under the term... |
#ifndef TRUTHTABLE_TOKENIZER_H
#define TRUTHTABLE_TOKENIZER_H
#include <iostream>
#include <vector>
enum class State
{
START_STATE,
XOR_STATE,
IMPLICATION_STATE,
TOKEN_STATE,
STOP_STATE,
INVALID_STATE,
};
class Tokenizer
{
private:
std::string m_input;
unsigned int m_current_index;
... |
//
// UITradeMallCell.h
// YJOTC
//
// Created by 周勇 on 2018/8/14.
// Copyright © 2018年 前海数交平台运营. All rights reserved.
//
#import <UIKit/UIKit.h>
@protocol UITradeMallCellDelegate <NSObject>
-(void)didClickPanKouListWith:(NSDictionary *)dataDic;
@end
@interface UITradeMallCell : UITableViewCell
@property (w... |
//
// TabBar.h
// OC_1_NotElderSister
//
// Created by 一泓明峰 on 16/2/29.
// Copyright © 2016年 RJ. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface TabBar : UITabBar
@end |
// Copyright 2018 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... |
#ifndef __FILTER_BASE_H
#define __FILTER_BASE_H
#include <string>
#include <vector>
#include "object.h"
class MoleculeBase;
//-------------------------------------------------
//
/// \brief Abstract base class used to define filters based via an arbritary internal function.
///
/// \details DETAILED USER'S DESCRIP... |
#include "sqlite3.h"
#include <caml/mlvalues.h>
#include <caml/custom.h>
#include <caml/alloc.h>
#include <caml/intext.h>
#include <caml/fail.h>
#include <caml/callback.h>
#include <caml/memory.h>
#include <stdio.h>
#include <string.h>
#define WRAP(x) do{if ((x) != SQLITE_OK){\
sqlite3_error(x);\
return Val_u... |
/**
* \file
*
* \brief Header file for SAMDA1G15A
*
* Copyright (c) 2017 Atmel Corporation. All rights reserved.
*
* \asf_license_start
*
* \page License
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
*... |
/**********
Copyright 1990 Regents of the University of California. All rights reserved.
Author: 1985 Gordon Jacobs
**********/
#include "spice.h"
#include <stdio.h>
#include "util.h"
#include "swdefs.h"
void
SWdestroy(inModel)
GENmodel **inModel;
{
SWmodel **model = (SWmodel**)inModel;
SWinstance *here;... |
// dear imgui, v1.67
// (internal structures/api)
// You may use this file to debug, understand or extend ImGui features but we don't provide any guarantee of forward compatibility!
// Set:
// #define IMGUI_DEFINE_MATH_OPERATORS
// To implement maths operators for ImVec2 (disabled by default to not collide with usin... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
#pragma once
namespace D3D9on12
{
} |
//
// DLFCellNode.h
// TimeLine
//
// CREATED BY: Dylan
// FOLLOW:
// BLOG: http://www.jianshu.com/users/81c4380481c1/latest_articles
// FACEBOOK: https://www.facebook.com/Dylanccccc
// TWITTER: https://twitter.com/Dylanccccc
// LICENSE: MIT
//
#import <AsyncDisplayKit/AsyncDisplayKit.h>
@cl... |
/*=============================================================================
Copyright (c) 2013 Ville Ruusutie
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... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
// Interface between the GC and EE
//
#ifndef __GCENV_EE_H__
#define __GCENV_EE_H__
struct ScanContext;
class Crawl... |
#include <liblinux/linux.h>
extern inline linux_error_t linux_utimensat_time32(linux_fd_t dfd, char const* filename, struct linux_timespec32* t, int flags); |
#pragma once
#include "Components/Position.h"
#include "Components/Tile.h"
#include "ViewPort.h"
#include "Hazel/Scene/Entity.h"
#include "GELayer/Layer.h"
#include "GEEvent/KeyEvent.h"
#include "GERender/Texture.h"
#include <glm/glm.hpp>
class HazelDashLayer : public Hazel::Layer
{
public:
HazelDashLayer();
virt... |
#include "types.h"
#include "defs.h"
#include "param.h"
#include "memlayout.h"
#include "mmu.h"
#include "proc.h"
#include "x86.h"
#include "syscall.h"
// User code makes a system call with INT T_SYSCALL.
// System call number in %eax.
// Arguments on the stack, from the user call to the C
// library system call funct... |
/// ISaver.h
/// \author ohanedan ( oznhndn@gmail.com )
#ifndef ISAVER_H
#define ISAVER_H
#include <QObject>
#include <memory>
#include "barcode.hpp"
#include "settings.hpp"
class ISaver : public QObject
{
Q_OBJECT
public:
ISaver();
virtual ~ISaver();
virtual std::shared_ptr<Settings> getSettings() = 0;
vi... |
/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file : main.c
* @brief : Main program body
******************************************************************************
* @attention
*
* <h2><center>© Copyright (c) ... |
#include <stdarg.h>
#include <stddef.h>
#include <setjmp.h>
#include <stdint.h>
#include <stdbool.h>
#include <cmocka.h>
#include "common/bip32.h"
static void test_bip32_format(void **state) {
(void) state;
char output[30];
bool b = false;
b = bip32_path_format((const uint32_t[5]){0x8000002C, 0x800... |
/**************************************************************************/
/* */
/* Copyright (c) Microsoft Corporation. All rights reserved. */
/* */
/* Thi... |
/*
*
* Copyright 2015, 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 condi... |
#include <stdio.h>
struct details
{
char name[20];
int age;
int weight;
};
void disp(struct details);
int main()
{
struct details b1 = {"Subhadeep", 21, 70};
disp(b1);
return 0;
}
void disp(struct details b1)
{
printf("%s %d %d", b1.name, b1.age, b1.weight);
} |
//
// Generated by the J2ObjC translator. DO NOT EDIT!
// source: /Users/chinthan/Framework/Logger/ConvertCode/OnePoint/Runtime/Common/AliasMap/IAlias.java
//
// Created by chinthan on 1/15/14.
//
@protocol IAlias <NSObject>
- (NSString *)getName;
- (long)getIndex;
- (void)setIndexWithLong:(long)value;
- (id)getRe... |
/**
* FreeRDP: A Remote Desktop Protocol Implementation
* Geometry tracking Virtual Channel Extension
*
* Copyright 2017 David Fort <contact@hardening-consulting.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 ... |
#ifndef BITCOIN_CHAINPARAMSSEEDS_H
#define BITCOIN_CHAINPARAMSSEEDS_H
/**
* List of fixed seed nodes for the picscoin network
* AUTOGENERATED by contrib/seeds/generate-seeds.py
*
* Each line contains a 16-byte IPv6 address and a port.
* IPv4 as well as onion addresses are wrapped inside an IPv6 address accordingly... |
/* $NetBSD: z8530var.h,v 1.3 1998/08/26 11:44:06 tsubai Exp $ */
/*
* Copyright (c) 1994 Gordon W. Ross
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
*
* This software was developed by the Computer Systems Engineering group
* at Lawrence Berkeley Laboratory under... |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef APL_WASM_GRAPHIC_PATTERN_H
#define APL_WASM_GRAPHIC_PATTERN_H
#include "apl/apl.h"
#include <emscripten/bind.h>
namespace apl {
namespace wasm {
namespace internal {
struct GraphicPatternMeth... |
/*-
* Copyright 2005,2007,2009 Colin Percival
* 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 o... |
#include <drivers/include/ps2.h>
#include <include/debug.h>
#include <kernel/include/console.h>
#include <kernel/include/proc.h>
#include <kernel/include/syscall.h>
#include <stddef.h>
static int sys_console_print(int64_t *argptr);
static int sys_proc_sleep(int64_t *argptr);
static int sys_proc_exit(int64_t *argptr);
... |
#include <stdarg.h>
#include <stdint.h>
#include <stdio.h>
#include <time.h>
#define SECOND 1000000000ul
static struct timespec time_diff(
struct timespec cur,
struct timespec old);
void log_error(const char *const fmt, ...)
{
va_list args;
va_start(args, fmt);
fprintf(stderr, "[ERROR]: ");
vfprintf(stderr, ... |
/*
LUFA Library
Copyright (C) Dean Camera, 2014.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purp... |
/* Generated by RuntimeBrowser
Image: /System/Library/PrivateFrameworks/PersonalizationPortraitInternals.framework/PersonalizationPortraitInternals
*/
@interface PPPBContactNameRecord : PBCodable <NSCopying> {
unsigned char _changeType;
NSMutableArray * _cityNames;
NSString * _firstName;
struct { ... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE415_Double_Free__malloc_free_struct_52c.c
Label Definition File: CWE415_Double_Free__malloc_free.label.xml
Template File: sources-sinks-52c.tmpl.c
*/
/*
* @description
* CWE: 415 Double Free
* BadSource: Allocate data using malloc() and Deallocate data using free()
... |
// SoftEther VPN Source Code - Developer Edition Master Branch
// Cedar Communication Module
//
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
//
// Copyright (c) Daiyuu Nobori.
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
// Copyright (c) SoftEther Corporation.
// ... |
#ifndef INCLUDED_ENTITY_PLUGINS_BICYCLE_ENTITY_H
#define INCLUDED_ENTITY_PLUGINS_BICYCLE_ENTITY_H
#include <scenario_entities/entity_base.h>
namespace entity_plugins
{
struct BicycleEntity
: public scenario_entities::EntityBase
{
BicycleEntity();
};
} // namespace entity_plugins
#endif // INCLUDED_ENTITY_PLUGI... |
/*
$Id: amf.h 231 2011-06-27 13:46:19Z marc.noirot $
FLV Metadata updater
Copyright (C) 2007-2012 Marc Noirot <marc.noirot AT gmail.com>
This file is part of FLVMeta.
FLVMeta is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as publi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.