text stringlengths 4 6.14k |
|---|
/*******************************************************************************
* File Name: SW2.c
* Version 2.10
*
* Description:
* This file contains API to enable firmware control of a Pins component.
*
* Note:
*
********************************************************************************
* Copyright 2008-20... |
/* Header for GDB line completion.
Copyright (C) 2000 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; either version 2 of the License, or
(at your option... |
/*
* Copyright (c) 2008 Intel Corporation
* Author: Matthew Wilcox <willy@linux.intel.com>
*
* Distributed under the terms of the GNU GPL, version 2
*
* Please see kernel/semaphore.c for documentation of these functions
*/
#ifndef __LINUX_SEMAPHORE_H
#define __LINUX_SEMAPHORE_H
#include <linux/list.h>
#include ... |
//
// BFLabel.h
// OpenShop
//
// Created by Petr Škorňok on 20.01.16.
// Copyright © 2016 Business-Factory. All rights reserved.
//
@import UIKit;
NS_ASSUME_NONNULL_BEGIN
/**
* `BFAlignedImageButton` extends `UIButton` to reposition button's image at the right edge
* of the title text.
*/
IB_DESIGNABLE
@inte... |
// view_pypad_errors.h
//
// View the Edit Log for a PyPAD Instance
//
// (C) Copyright 2018-2019 Fred Gleason <fredg@paravelsystems.com>
//
// 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 Softw... |
/* Masquerade. Simple mapping which alters range to a local IP address
(depending on route). */
/* (C) 1999-2001 Paul `Rusty' Russell
* (C) 2002-2006 Netfilter Core Team <coreteam@netfilter.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Pub... |
#ifndef __UOS_ASSERT__H_
#define __UOS_ASSERT__H_ 1
/* This prints an "Assertion failed" message and aborts. */
#ifdef NDEBUG
# define __assert_fail(a,b,c,d) __assert_fail_ndebug()
void __assert_fail_ndebug ();
#else
void __assert_fail (const char *expr, const char *file,
unsigned line, const char *func);
#... |
/*
* error.c -- Error handling routines
*
* Copyright (C) 2010-2012, Computing Systems Laboratory (CSLab)
* Copyright (C) 2010-2012, Vasileios Karakasis
*/
#include <errno.h>
#include <stdarg.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "error.h"
#define ERRMSG_LEN 4096
char *pr... |
/*
* Copyright (C) 2011 Apple 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:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of condi... |
/*
* Generated by class-dump 3.1.2.
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2007 by Steve Nygard.
*/
#import "SBAlert.h"
@class NSString;
@interface SBCallFailureAlert : SBAlert
{
int _causeCode; // 48 = 0x30
NSString *_address; // 52 = 0x34
int _uid; // 56 = 0x38
struc... |
/*
* linux/init/version.c
*
* Copyright (C) 1992 Theodore Ts'o
*
* May be freely distributed as part of Linux.
*/
#include <linux/compile.h>
#include <linux/module.h>
#include <linux/uts.h>
#include <linux/utsname.h>
#include <linux/utsrelease.h>
#include <linux/version.h>
#ifndef CONFIG_KALLSYMS
#define ve... |
/*
* Copyright (C) 1996-2022 The Squid Software Foundation and contributors
*
* Squid software is distributed under GPLv2+ license and includes
* contributions from numerous individuals and organizations.
* Please see the COPYING and CONTRIBUTORS files for details.
*/
#ifndef SQUID_IOSTATS_H_
#define SQUID_IOSTA... |
/*
* Copyright (C) 2007 Francois Gouget
*
* 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) any later version.
*
* This libr... |
int a,b,c;
int main()
{
float a,b;
a = 7.5;
c = a;
if (c > 7.1)
{
int a,b;
a = c+3*(10/9);
b = a/2/2;
printf("%d",b);
}
printf("%g",a);
printf("%d",c);
}
|
/*
* @file libservo.c
*
* @author Andy Lindsay
*
* @copyright
* Copyright (C) Parallax, Inc. 2013. All Rights MIT Licensed.
*
* @brief Project and test harness for the servo library for standard servos.
*/
void pulse_outCtr(int pin, int time);
#include "servo.h"
//#include "servoAux.h"
#include "simpletools.h"
int m... |
/* time.h
written by Marc Singer
26 Aug 2008
Copyright (C) 2008 Marc Singer
-----------
DESCRIPTION
-----------
*/
#if !defined (__TIME_H__)
# define __TIME_H__
/* ----- Includes */
#include <linux/types.h>
/* ----- Types */
//typedef signed long time_t;
struct tm {
int tm_sec; ... |
/*
* * Copyright (C) 2006-2011 Anders Brander <anders@brander.dk>,
* * Anders Kvist <akv@lnxbx.dk> and Klaus Post <klauspost@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; e... |
/*
* group_box.h - LMMS-groupbox
*
* Copyright (c) 2005-2008 Tobias Doerffel <tobydox/at/users.sourceforge.net>
*
* This file is part of Linux MultiMedia Studio - http://lmms.sourceforge.net
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
... |
/*
* Android build config for libusb
* Copyright © 2012-2013 RealVNC Ltd. <toby.gray@realvnc.com>
* Copyright © 2013-2016 Martin Marinov <martintzvetomirov@gmail.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as publis... |
/**
* \file
*
* \brief Board configuration
*
* Copyright (c) 2012 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:
*
* 1. Red... |
/*
* Copyright (c) 2015 Cedric Hnyda <chnyda@suse.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.
*
* Thi... |
#ifndef HZPI_H
#define HZPI_H
#include "structures.h"
struct common *hzpi(void);
#endif /* HZPI_H */
|
#include <xc.h>
#include <stdio.h>
#include "usart.h"
void
putch(unsigned char byte)
{
/* output one byte */
while(!TXIF) /* set when register is empty */
continue;
TXREG = byte;
}
unsigned char
getch() {
/* retrieve one byte */
while(!RCIF) /* set when register is not empty */
continue;
return RCREG;
}... |
/* repdoc.c -- Program to strip doc-strings from C source
Copyright (C) 1993, 1994 John Harper <john@dcs.warwick.ac.uk>
$Id$
This file is part of Jade.
Jade 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 ... |
/*
** File: evisimagedisplaywidget.h
** Author: Peter J. Ersts ( ersts at amnh.org )
** Creation Date: 2007-03-13
**
** Copyright ( c ) 2007, American Museum of Natural History. All rights reserved.
**
** This library/program is free software; you can redistribute it
** and/or modify it under the terms of the GNU Libra... |
#include <errno.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include "i2cbusses.h"
#include "util.h"
#include "i2c-dev.h" //I2C_SMBUS* Enums
#include "i2c_set.h"
#include <fcntl.h>
#include <sys/ioctl.h>
static int check_funcs(int file, int size, int pec)
{
unsigned long funcs;
... |
//
// Copyright(C) 2014 Night Dive Studios, 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; either version 2
// of the License, or (at your option) any later version.
//
// This progr... |
/*
* Copyright (C) 2007 MontaVista Software Inc.
* Copyright (C) 2006 Texas Instruments 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; either version 2 of the License, or
* (at you... |
#ifndef __PLAYER_INFO_H
#define __PLAYER_INFO_H
#include <qframe.h>
#include <qlabel.h>
class QPixmap;
#include <qlcdnumber.h>
#include <qcolor.h>
class PlayerInfo:public QFrame
{
Q_OBJECT
public:
PlayerInfo(int pnr,QWidget *parent=0,const char *name=0);
public slots:
void setHitpoints(int h);
void setEne... |
/* This file is part of the KDE project
* Copyright (C) 2013 Camilla Boemann <cbo@boemann.dk>
*
* 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, o... |
#include <stdio.h>
#include <fcntl.h>
#ifdef _WIN32
#include <io.h>
#endif
int main(int argc, char **argv)
{
int n = 0;
int c;
if (argc > 1)
printf("unsigned char %s[] = {\n", argv[1]);
#ifdef _WIN32
_setmode(_fileno(stdin), _O_BINARY);
#endif
do
{
printf("\t");
whi... |
/*
* Author: MontaVista Software, Inc. <source@mvista.com>
*
* 2005 (c) MontaVista Software, Inc. 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.
*/
#include <linux/init.h>
#inc... |
#ifndef EDIAG_H_
#define EDIAG_H_
void kinetic_energy(int N, int DIM, double *mass, double complex *vel);
void potential_energy(int N, int DIM, double *mass, double complex *pos);
void energy_diagnostics(int N, int DIM, double *mass, double complex *pos, double complex *vel);
#endif // EDIAG_H_
|
//KK defines safe_malloc, safe_realloc
#include<stdio.h>
#include<stdlib.h>
static inline void* safe_malloc(size_t size){
void* p;
if ((p = malloc(size))==NULL){
fprintf(stderr, "ERROR: Out of Memory\n");
fflush(stderr);
fprintf(stdout, "ERROR: Out of Memory\n");
fflush(stdout);
exit(EXIT_... |
/*----------------------------------------------------------------------*\
| ___ ____ __ __ ___ _ _______ |
| / _ \ _ __ ___ _ __ / ___|| \/ |/ _ \| |/ / ____| _ _ |
| | | | | '_ \ / _ \ '_ \\___ \| |\/| | | | | ' /| _| _| |_ _| |_ |
| | |_| | |_) | ... |
/****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance w... |
///////////////////////////////////////////////////////////////////////////////
// BOSSA
//
// Copyright (C) 2011-2012 ShumaTech http://www.shumatech.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 Softwa... |
#ifdef TI83P
# include <ti83pdefs.h>
# include <ti83p.h>
unsigned char CkOdd(void *ptr) __naked
{
ptr;
__asm
push af
push bc
push de
push hl
push ix
push iy
ld iy,#flags___dw
ld hl,#14
add hl,sp
ld a,(hl)
inc hl
ld h,(hl)
ld l,a
BCALL(_CkOdd___db)
pop iy
pop ix
pop hl
ld l,#1
jr z,___doneZZ125
dec l
___doneZZ125:
pop ... |
// Copyright 2012 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_WIN32_HEADERS_H_
#define V8_WIN32_HEADERS_H_
#ifndef WIN32_LEAN_AND_MEAN
// WIN32_LEAN_AND_MEAN implies NOCRYPT and NOGDI.
#define WIN32_LEA... |
#pragma once
#define LIN_MAX_FRAME_TYPES 4
#define LIN_UNCONDITIONAL_FRAME_INDEX 0
#define LIN_EVENT_FRAME_INDEX 1
#define LIN_SPORADIC_FRAME_INDEX 2
#define LIN_DIAGNOSTIC_FRAME_INDEX 3
#define LIN_MAX_SIGNAL_TYPES 2
#define LIN_NORMAL_SIGNAL 0
#define LIN... |
/* -*-c++-*-
This file is part of the IC reverse engineering tool degate.
Copyright 2008, 2009 by Martin Schobert
Degate 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, ... |
/* Copyright 2008 Mattias Norrby
*
* This file is part of Test Dept..
*
* Test Dept. 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 ve... |
/*
* Broadcom Proprietary and Confidential. Copyright 2016 Broadcom
* All Rights Reserved.
*
* This is UNPUBLISHED PROPRIETARY SOURCE CODE of Broadcom Corporation;
* the contents of this file may not be disclosed to third parties, copied
* or duplicated in any form, in whole or in part, without the prior
* writt... |
// EPOS Memory Segment Abstraction Declarations
#ifndef __segment_h
#define __segment_h
#include <mmu.h>
__BEGIN_SYS
class Segment: public MMU::Chunk
{
private:
typedef MMU::Chunk Chunk;
public:
typedef CPU::Phy_Addr Phy_Addr;
typedef MMU::Flags Flags;
public:
Segment(unsigned int bytes, const Col... |
/* Test of <math.h> substitute.
Copyright (C) 2007-2017 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; either version 3 of the License, or
(at your opti... |
/* Routines to insert, append and delete FITS cards from a header.
These routines allow FITS cards to be inserted, appended and deleted
by keyword value.
The insertion routines format a new card with the supplied keyword and
value and insert it after indicated card. The append routines add new
cards t... |
/* Jaro Mail gnome keyring handler
Originally from some Gnome example code, slightly modified
Copyright (C) 2012 Denis Roio <jaromil@dyne.org>
* This source code is free software; you can redistribute it and/or
* modify it under the terms of the GNU Public License as published
* by the Free Software ... |
#ifndef LIBA7_INCLUDED
#define LIBA7_INCLUDED
typedef int bool ;
struct gpsStruct {//GPRMC
int timeZone;
bool flagRead; // flag used by the parser, when a valid sentence has begun
bool flagDataReady; // valid GPS fix and data available, user can call reader functions
bool flagDa... |
#include <linux/init.h>
#include <linux/ip.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/netfilter.h>
#include <linux/netfilter_ipv4.h>
#include <linux/proc_fs.h>
#include <linux/seq_file.h>
#include <linux/skbuff.h>
#include <linux/udp.h>
#define PORT 3615
static unsigned short int portnum =... |
/* -*- c++ -*- */
/*
* Copyright 2014 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
* GNU Radio 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, or (at your option... |
///\file
/******************************************************************************
The MIT License(MIT)
Embedded Template Library.
https://github.com/ETLCPP/etl
https://www.etlcpp.com
Copyright(c) 2017 jwellbelove
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software an... |
/************************************************************************
*
* This file is part of MetaCortex
*
* Authors:
* Richard M. Leggett (richard.leggett@earlham.ac.uk) and
* Martin Ayling (martin.ayling@earlham.ac.uk)
*
* MetaCortex is free software: you can redistribute it and/or modify
* it u... |
/****************************************************************************/
/// @file MSActuatedTrafficLightLogic.h
/// @author Daniel Krajzewicz
/// @author Michael Behrisch
/// @date Sept 2002
/// @version $Id: MSActuatedTrafficLightLogic.h 14425 2013-08-16 20:11:47Z behrisch $
///
// An actuated (adaptive... |
/****************************************************************\
* *
* Protein <-> DNA comparison model *
* *
* Guy St.C. Slater.. mailto:guy@ebi.ac.uk ... |
/*
* File: ximatga.h
* Purpose: TARGA Image Class Loader and Writer
*/
/* ==========================================================
* CxImageTGA (c) 05/Jan/2002 Davide Pizzolato - www.xdp.it
* For conditions of distribution and use, see copyright notice in ximage.h
*
* Parts of the code come from Paintl... |
// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
// All rights not expressly granted are reserved.
//
// This software is distributed under the terms of the GNU General Public
// License v3 (GPL Version 3), copied verbatim... |
#pragma once
#include "kernel/kernel_hlemodule.h"
namespace mic
{
class Module : public kernel::HleModuleImpl<Module>
{
public:
virtual void initialise() override;
public:
static void RegisterFunctions();
private:
static void registerCoreFunctions();
};
} // namespace mic
|
/******************************************************************************
*
* Copyright (C) 2004 - 2014 Xilinx, Inc. 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 Softw... |
// Mark Stankus 1999 (c)
// TestIO.c
#include "Source.hpp"
#include "Sink.hpp"
#include "Command.hpp"
#include "MyOstream.hpp"
void _GetInteger(Source & so, Sink & si) {
int x;
so >> x;
so.shouldBeEnd();
GBStream << "integer:" << x << '\n';
si.noOutput();
};
AddingCommand temp1TestIO("GetInteger",1,_GetIn... |
/*
This file is part of Telegram Desktop,
the official desktop version of Telegram messaging app, see https://telegram.org
Telegram Desktop 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 ... |
/*
* find next grib header
*
* file = what do you think?
* pos = initial position to start looking at ( = 0 for 1st call)
* returns with position of next grib header (units=bytes)
* len_grib = length of the grib record (bytes)
* buffer[buf_len] = buffer for reading/writing
*
* returns (char *) to start ... |
// Fastcgi Daemon - framework for design highload FastCGI applications on C++
// Copyright (C) 2011 Ilya Golubtsov <golubtsov@yandex-team.ru>
// 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; ... |
/****************************************************************************
**
** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the documentation of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** You may use this file under the terms ... |
/****************************************************************************
**
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the QtXmlPatterns module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:L... |
/*
Copyright (C) 2010 William Hart
Copyright (C) 2011 Fredrik Johansson
This file is part of FLINT.
FLINT is free software: you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License (LGPL) as published
by the Free Software Foundation; either version 2.1 ... |
/****************************************************************************
**
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the QtXmlPatterns module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:L... |
/****************************************************************************
**
** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the Qt Designer of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees h... |
///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version Apr 10 2012)
// http://www.wxformbuilder.org/
//
// PLEASE DO "NOT" EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////
#ifndef __DIALOG_LAYERS_SE... |
/*
* Copyright (C) 2009 Nokia Corporation.
*
* Contact: Marius Vollmer <marius.vollmer@nokia.com>
*
* This library 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 published by the Free Software Foundation.
*
* This library i... |
/*
* Copyright (c) 2013 - 2014, Freescale Semiconductor, 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:
*
* o Redistributions of source code must retain the above copyright notice, th... |
#ifndef IVL_entity_H
#define IVL_entity_H
/*
* Copyright (c) 2011-2014 Stephen Williams (steve@icarus.com)
*
* This source code is free software; you can redistribute it
* and/or modify it in source code form under the terms of the GNU
* General Public License as published by the Free Software
* Found... |
/****************************************************************************
**
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the plugins of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Comme... |
/*
* This file is part of hildon-status-menu
*
* Copyright (C) 2006, 2007, 2008 Nokia Corporation.
*
* Based on main.c from hildon-desktop.
*
* This library 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 published by the ... |
// -*- Mode: C++; tab-width: 2; -*-
// vi: set ts=2:
//
// $Id: icons.h,v 1.1 2004/04/16 11:24:47 amoll Exp $
// this file contains the icons needed by BALLView in XPM format
// the application icon - the BALL bucky (64x64)
extern const char* bucky_64x64_xpm[];
|
/***************************************************************************
begin : Fri Feb 15 2008
copyright : (C) 2008-2017 by Martin Preuss
email : martin@libchipcard.de
***************************************************************************
* Please see toplevel file COPYI... |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Copyright by The HDF Group. *
* Copyright by the Board of Trustees of the University of Illinois. *
* All rights reserved. *
* ... |
#ifndef CONNECT_GLOBAL_H
#define CONNECT_GLOBAL_H
#include "Connect_global.h"
#include <QObject>
#if defined(CONNECT_LIBRARY)
# define CONNECTSHARED_EXPORT Q_DECL_EXPORT
#else
# define CONNECTSHARED_EXPORT Q_DECL_IMPORT
#endif
#endif // CONNECT_GLOBAL_H
|
/*************************************************************************\
* Copyright (C) Michael Kerrisk, 2014. *
* *
* This program is free software. You may use, modify, and redistribute it *
* under the term... |
#ifndef _MM_H
#define _MM_H
#define PAGE_SIZE 4096 // 定义内存页面的大小(字节数)。
// 取空闲页面函数。返回页面地址。扫描页面映射数组mem_map[]取空闲页面。
extern unsigned long get_free_page (void);
// 在指定物理地址处放置一页面。在页目录和页表中放置指定页面信息。
extern unsigned long put_page (unsigned long page, unsigned long address);
// 释放物理地址addr 开始的一页面内存。修改页面映射数组mem_map[]中引用次数信息。
ext... |
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* Copyright (C) 2009 Hiroyuki Ikezoe <poincare@ikezoe.net>
*
* 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... |
/********************************************************************************
* Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
* *
* This software is distributed under the terms of the ... |
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/**
* Contains a handy indexed triangle class.
* \file IceIndexedTriangle.h
* \author Pierre Terdiman
* \date Jan... |
/**
******************************************************************************
* @file ADC/ADC_AnalogWatchdog/Inc/main.h
* @author MCD Application Team
* @version V1.3.0
* @date 18-December-2015
* @brief Header for main.c module
*********************************************************... |
/*
* Copyright (C) 2008 The Android Open Source Project
*
* 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 app... |
#include <sys/types.h>
#include "seek.h"
#define SET 0 /* sigh */
int seek_set(fd,pos) int fd; seek_pos pos;
{ if (lseek(fd,(off_t) pos,SET) == -1) return -1; return 0; }
|
#include "debug.h"
#include "graphics.h"
#include "output.h"
#include "list.h"
#include "signal.h"
#include "string.h"
struct element* systemlog = NULL;
void haltdump(char* msg, int err)
{
int eax, ebx, ecx, edx, esi, edi;
int* stack;
asm volatile ("" // Load variables with initial register states.
... |
//
// JingXuanModel.h
// The weekend to play
//
// Created by scjy on 16/1/8.
// Copyright © 2016年 秦俊珍. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface JingXuanModel : NSObject
@property (nonatomic, copy) NSString *title;
@property (nonatomic, copy) NSString *image;
@property (nonatomic, copy... |
/*
* Copyright 2008-2010 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... |
#pragma once
#include "common/protobuf/protobuf.h"
#include "absl/types/optional.h"
namespace Envoy {
namespace Config {
class ApiTypeOracle {
public:
/**
* Based on a given message, determine if there exists an earlier version of
* this message. If so, return the descriptor for the earlier
* message, to... |
/*
* 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... |
@import Foundation;
@interface OBAServiceAlertsModel : NSObject
@property (nonatomic) NSUInteger unreadCount;
@property (nonatomic) NSUInteger totalCount;
@property (nonatomic,strong) NSString * unreadMaxSeverity;
@property (nonatomic,strong) NSString * maxSeverity;
@end
|
/*
* Copyright 2014 CyberVision, 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 agr... |
/**
* FreeRDP: A Remote Desktop Protocol Implementation
*
* Copyright 2014 Marc-Andre Moreau <marcandre.moreau@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http... |
/**
* Copyright (c) 2013 by Appcelerator, Inc. All Rights Reserved.
* Licensed under the terms of the Apache Public License
* Please see the LICENSE included with this distribution for details.
*
* This generated code and related technologies are covered by patents
* or patents pending by Appcelerator, Inc.
*/
... |
#ifndef __PROBABILISTICEGOMOTION_H
#define __PROBABILISTICEGOMOTION_H
/**
* @file ProbabilisticEgomotion.h
* @brief Declarations for functions used for 3D egomotion estimation.
* Code for computing Egomotion from correspondence probability distributions.
* the function compute3Dmotion provides the entire public inter... |
/***********************************************************************
Copyright 2006-2009 Ma Bingyao
Copyright 2013 Gao Chunhui, Liu Tao
These sources is free software. Redistributions of source code must
retain the above copyright notice. Redistributions in binary form
must reproduce the above copyright no... |
/*
* Copyright (c) 2017-2018, Arm Limited and affiliates.
* SPDX-License-Identifier: BSD-3-Clause
*
* 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 copyri... |
/* $NetBSD: amiga.c,v 1.8 2013/06/14 03:54:43 msaitoh Exp $ */
/*-
* Copyright (c) 1999, 2002 The NetBSD Foundation, Inc.
* All rights reserved.
*
* This code is derived from software contributed to The NetBSD Foundation
* by Michael Hitch.
*
* This code is derived from software contributed to The NetBSD Founda... |
#pragma once
#include "envoy/stats/scope.h"
#include "envoy/stats/stats_macros.h"
#include "source/common/common/thread.h"
namespace Envoy {
namespace Http {
namespace Http1 {
/**
* All stats for the HTTP/1 codec. @see stats_macros.h
*/
#define ALL_HTTP1_CODEC_STATS(COUNTER) ... |
/*
* Copyright (c) 2008-2015, NVIDIA CORPORATION. All rights reserved.
*
* NVIDIA CORPORATION and its licensors retain all intellectual property
* and proprietary rights in and to this software, related documentation
* and any modifications thereto. Any use, reproduction, disclosure or
* distribution of this so... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.