text stringlengths 5.8k 28.2k |
|---|
/*
* Copyright (C) 2008-2011 Freescale Semiconductor, Inc.
*
* See file CREDITS for list of people who contributed to this
* project.
*
* 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; ei... |
/*
* Copyright (c) 2004-2011 The University of Tennessee and The University
* of Tennessee Research Foundation. All rights
* reserved.
* Copyright (c) 2007-2012 Los Alamos National Security, LLC. All rights
* reserved.
* Copyright (c) 2013 ... |
#include <stdint.h>
#include <stddef.h>
#include <kernel.h>
#include <paging.h>
#include <system.h>
#include <task.h>
#include <klib.h>
#define MBITMAP_FULL ((0x100000000 / PAGE_SIZE) / 32)
size_t BITMAP_FULL = MBITMAP_FULL;
#define BITMAP_BASE (MEMORY_BASE / PAGE_SIZE)
typedef struct {
uint64_t base;
uint64_... |
/*
Copyright (C) 2003-2009 <NAME> <<EMAIL>>
This file is part of aubio.
aubio 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.
... |
/* 3c501.c: A 3Com 3c501 ethernet driver for linux. */
/*
Copyright (C) 1992,1993 <NAME>
Copyright 1993 United States Government as represented by the
Director, National Security Agency. This software may be used and
distributed according to the terms of the GNU Public License,
incorporated herei... |
// SPDX-License-Identifier: MIT
#include <stdint.h>
#include <endian.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include "rtg.h"
#include "config_file/config_file.h"
uint8_t rtg_u8[4];
uint16_t rtg_x[8], rtg_y[8];
uint16_t rtg_user[8];
uint16_t rtg_format;
uint32_t rtg_address[8];... |
/*
Copyright (c) 2019 <NAME> <<EMAIL>>
All rights reserved.
This source code is licensed under the BSD-style license found in the
LICENSE file in the root directory of this source tree.
*/
#include "cpu.h"
#include "tty.h"
// TODO implement "clear" command that initializes these variables,
// just like the c... |
/*
* sim-safe.c - sample functional simulator implementation
*
* This file is a part of the SimpleScalar tool suite written by
* <NAME> as a part of the Multiscalar Research Project.
*
* The tool suite is currently maintained by <NAME> and <NAME>.
*
* Copyright (C) 1994, 1995, 1996, 1997, 1998 by <NAME>
*
... |
/*
* %CopyrightBegin%
*
* Copyright Ericsson AB 1996-2020. 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
*
... |
/*
FreeRTOS V8.2.3 - Copyright (C) 2015 Real Time Engineers Ltd.
All rights reserved
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
This file is part of the FreeRTOS distribution.
FreeRTOS is free software; you can redistribute it and/or modify it under
the... |
/*
Teem: Tools to process and visualize scientific data and images
Copyright (C) 2005 <NAME>
Copyright (C) 2004, 2003, 2002, 2001, 2000, 1999, 1998 University of Utah
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... |
/*
* Copyright (C) 2014 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... |
/* Copyright (C) 2011-2016 OldTimes Software
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 ... |
#include <string.h>
#include "usb_common.h"
#include "usbd.h"
#include "usbd_msc.h"
/* MSC state machine */
enum STAT
{
STAT_CBW, /* receive CBW block */
STAT_CMD, /* process cmd */
STAT_CSW, /* send CSW */
STAT_RECEIVE, /* receive data */
STAT_SEND, /*... |
#define DT_DRV_COMPAT vishay_veml6030
#include <device.h>
#include <drivers/i2c.h>
#include <drivers/sensor.h>
#include <sys/__assert.h>
#include <logging/log.h>
#include <stdio.h>
#include <sensor/veml6030.h>
LOG_MODULE_REGISTER(VEML6030, CONFIG_SENSOR_LOG_LEVEL);
#define SENSOR_LOG_LEVEL_OFF 0
#define SENSOR... |
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <string.h>
#include "sfmm.h"
#include "helper.h"
/**
* All functions you make for the assignment must be implemented in this file.
* Do not submit your assignment with a main function in this file.
* If you submit with a main function in this file, ... |
/* idzp_rid.f -- translated by f2c (version 20100827).
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 ... |
#include "tabbing.h"
#include "file.h"
#include "gweb_string.h"
#include "log.h"
#include "resourceblock.h"
#include <assert.h>
#include <gtk/gtk.h>
#include <stdbool.h>
#include <stdio.h>
#include <string.h>
#include <webkit2/webkit2.h>
#define strstartswith(s1, s2) (gweb_strstartswith(s1, s2) == 0)
#define GWEB_NEW_... |
// Copyright 2015-2016 Espressif Systems (Shanghai) PTE 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 app... |
/**
* @file Server.c
* @author <NAME>
*
* @brief Implementation of the game's server
*
* Shared memory allocation, creation of sockets and all the backend
* functions that are expected from a server are implemented in
* this file. We handle the players requests and implement a chatting
* system
*
*/
#inclu... |
/*
* Copyright (c) 2006-2007 University of Houston. All rights reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
*
* $HEADER$
*/
#include "ADCL_internal.h"
int ADCL_hypo_req_confidence = 2;
static int next_attr_combination ( ADCL_attrset_t *attrset,
ADCL_attribute_t *active_... |
#include "connected_layer.h"
#include "convolutional_layer.h"
#include "batchnorm_layer.h"
#include "utils.h"
#include "opencl.h"
#include "blas.h"
#include "gemm.h"
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
layer make_connected_layer(int batch, int inputs, int outputs, ACTIVATION a... |
#include "Doom.h"
#include <String.h>
typedef struct { /* Respawn think logic */
Fixed x,y; /* X and Y to spawn at */
Word angle; /* Angle facing */
Word time; /* Time delay */
mobjinfo_t *InfoPtr; /* Item type */
} spawnthing_t;
/* Bit field for item spawning based on level */
static Word LevelBitMasks[5... |
///////////////////////////////////////////////////////////////////////////////////
// School: Brno University of Technology, Faculty of Information Technology //
// Course: Formal Languages and Compilers //
// Project: IFJ18 ... |
/*
* sha512.c --- The sha512 algorithm
*
* Copyright (C) 2004 <NAME> <<EMAIL>>
* (copied from libtomcrypt and then relicensed under GPLv2)
*
* %Begin-Header%
* This file may be redistributed under the terms of the GNU Library
* General Public License, version 2.
* %End-Header%
*/
#include "config.h"
#if HAV... |
/*
* Copyright (C) 2011 <NAME>
* Copyright (C) <NAME>, <NAME>, <NAME>,
* <NAME>, and <NAME>
*
* 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 or 3 of the License
... |
/*
min.c is part of the NUPACK software suite
Copyright (c) 2007 Caltech. All rights reserved.
Coded by: <NAME> 8/2001, <NAME> 1/2007
This collection of functions to calculate the energy of the minimum
fold on a subsequence of a DNA sequence, given various restraints.
*/
#include <stdio.h>
#include <stdlib.... |
#define thisprog "xe-ldas5-readclub1"
#define TITLE_STRING thisprog" v 6: 16.March.2019 [JRH]"
#define MAXLINELEN 1000
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <math.h>
#include <sys/stat.h> /* this and next header allow testing file exists using stat() function */
#include <errno.h>
/*****... |
/*
* nelder-mead.c
* ndt: n-dimensional tracer
*
* Copyright (c) 2018-2019 <NAME>. All rights reserved.
*/
#include <float.h>
#include <stdio.h>
#include "vectNd.h"
/* ---------------------------- */
typedef struct NMSample {
vectNd parameters;
double value;
} NMSample;
void nmSampleCopy(NMSample *dst,... |
/* GStreamer
* Copyright (C) 1999,2000 <NAME> <<EMAIL>>
* 2000 <NAME> <<EMAIL>>
* 2005 <NAME> <<EMAIL>>
*
* gstregistryxml.c: GstRegistry object, support routines
*
* This library is free software; you can redistribute it and/or
* modify it ulnder the terms of the GNU Libra... |
/*
* Copyright (c) 2007, 2008 University of Tsukuba
* Copyright (c) 2014 Igel Co., 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:
*
* 1. Redistributions of source code must retain the... |
/*The MIT License (MIT)
Copyright (c) 2014 <NAME>
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, pu... |
/* $NetBSD: zopen.c,v 1.8 2003/08/07 11:13:29 agc Exp $ */
/*-
* Copyright (c) 1985, 1986, 1992, 1993
* The Regents of the University of California. All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* <NAME> and <NAME>, derived from original
* work by <NAME> and <NAME>.
*
... |
/*
* ODBC Shell
* Copyright (C) 2011 Bindle Binaries <<EMAIL>>.
*
* @BINDLE_BINARIES_BSD_LICENSE_START@
*
* 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 ret... |
/*
* blocks_db.c
*
* Copyright 2020 <NAME> <<EMAIL>>
*
* The MIT License (MIT)
*
* 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 limitatio... |
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <signal.h>
#include <sys/types.h>
#include <dirent.h>
#include <errno.h>
#include <locale.h>
#include <ladspa.h>
#include "dsp.h"
#include "effect.h"
#include "util.h"
#define DEFAULT_CONFIG_DIR "/ladspa_dsp"
#define DEFAULT_XDG_CONFIG_DIR "/.con... |
#include <stdio.h>
#include <stdint.h>
#include <string.h>
// time _status enum value
#define NUMBER_OF_TIME_STATUS 11
#define UNKNOWN 20
#define APPROXIMATE 60
#define COARSEADJUSTING 80
#define COARSE 100
#define COARSESTEERING 120
#define F... |
/*
* GStreamer
* Copyright (C) 2009 <NAME> <<EMAIL>>
*
* 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, or (at your option) any later version.
... |
#include "lcd.h"
#include "lcdfont.h"
#define ST7789_SLPOUT 0x11
#define ST7789_NORON 0x13
#define ST7789_MADCTL 0x36 // Memory data access control
#define TFT_MAD_RGB 0x08
#define ST7789_COLMOD 0x3A
#define ST7789_PORCTRL 0xB2 // Porch control
#define ST7789_GCTRL ... |
#include "error.h"
#include "lexer.h"
#include "../lib/mstack.h"
#include "ast.h"
#include "parser.h"
//#include "symTable.h"
// ................................................... private prefix in expr
static
psPrefixOp_t parserPrefixNew( plexer_t lexer )
{
psPrefixOp_t prefix = gcMalloc( sizeof(struc... |
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <omp.h>
#include <mpi.h>
#include <dirent.h>
#include <sys/stat.h>
#include <errno.h>
#include "uq_ETCell.h"
int abscissa(int n, double *x, double *w);
/*
██ ███ ██ ██████ ██ ██ ████████
██ ████ ██ ██ ██ ██ ██ ██
██ ██ ██ ██ ██████ ... |
/*
* Copyright (c) 2012-2015 The nessDB Project Developers. All rights reserved.
* Code is licensed with BSD.
*
*/
#include "u.h"
#include "t.h"
#include "env.h"
#include "c.h"
#define PAIR_LIST_SIZE (5<<10)
int cache_xtable_hash_func(void *k)
{
struct cpair *c = (struct cpair*)k;
return (int)c->k;
}
int cac... |
#include <math.h>
#include <string.h>
#include <errno.h>
#include <assert.h>
#include <stdio.h>
#include "xwiigun.h"
#define MAX_TRACKING_DISTANCE 50.0f
// manual adjustment based on single Wii remote, needs to be configurable
#define ACCEL_CORR 20
#define ACCEL_IMPACT 0.7f
#define ACCEL_SMOOTH 0.5f
#define M_PI 3.... |
/* Linux ISDN subsystem, CISCO HDLC network interfaces
*
* Copyright 1994-1998 by <NAME> (<EMAIL>)
* 1995,96 by Thinking Objects Software GmbH Wuerzburg
* 1995,96 by <NAME> (<EMAIL>)
* 1999-2002 by <NAME> <<EMAIL>>
* 2001 by <NAME> <<EMAIL>>
*
* This softwar... |
#include <math.h>
#include "types.h"
#include "video.h"
#include "vga.h"
#include "screen.h"
#include "sdlport.h"
#include "opengl.h"
#include "openbor.h"
#include "gfxtypes.h"
#include "gfx.h"
#include "pngdec.h"
#include "SDL_opengles.h"
extern int videoMode;
#define nextpowerof2(x) pow(2,ceil(log(x)/log(2)))
#defi... |
/*
* uart.c
*
* Created on: Mar 12, 2014
* Author: <NAME>
* Updated on: Feb 7, 2015
* Author: <NAME>
*/
#include "uart.h"
#include "hal_general.h"
// uart.h includes project_settings.h which would define USE_MODULE_TASK if it is used
#ifdef USE_MODULE_TASK
#include "task.h"
#endif
// helper functio... |
#include <fcntl.h>
#include <ncurses.h> // needed for some definitions, see terminfo(3ncurses)
#include "internal.h"
// we found Sixel support -- set up the API
static inline void
setup_sixel_bitmaps(tinfo* ti){
ti->bitmap_supported = true;
ti->color_registers = 256; // assumed default [shrug]
ti->pixel_init = ... |
#include "afnd.h"
void debug(char msg[]){ // this function just for debug and track the program errors
int b;
printf("%s",msg);
scanf("%d",&b);
}
int newTransitionID (){
transitionIDS=transitionIDS+1;
return transitionIDS;
}
void resetTransitionID (){
transitionIDS=-1;
}
in... |
/* these code will be removed to sram.
* function: open the mmu, and jump to dram, for continuing resume*/
#include "./../super_i.h"
struct aw_mem_para mem_para_info;
extern char *__bss_start;
extern char *__bss_end;
#if (defined(CONFIG_ARCH_SUN8IW6P1) || defined(CONFIG_ARCH_SUN9IW1P1)) && defined(CONFIG_SUNXI_TRUS... |
///* Standard includes. */
#include <stdio.h>
#include <string.h>
//
///* FreeRTOS includes. */
#include "FreeRTOS.h"
#include "task.h"
#include "semphr.h"
#include "queue.h"
//
///* MQTT include. */
#include "aws_mqtt_agent.h"
//
///* Demo configurations. */
#include "aws_demo_config.h"
//
///* Require... |
#include <gb/gb.h>
#include <gb/cgb.h>
#include "defines.h"
#include "gamestate.h"
#include "set_banner.h"
#include "set_data_rle.h"
#include "background1.h"
#include "background1_dx.h"
#include "background2.h"
#include "background3.h"
#include "background4.h"
#include "background5.h"
#include "background5_sgb.h"
#incl... |
/****************************************************************************/
/* Lid Driven Cavity(LDC) - 2D simulation using MRT-LBM with a D2Q9 lattice */
/* */
/* Scheme: 2-Grid, Pull, Compute, Keep */
/* ... |
/**
* Copyright 2020 Huawei Technologies Co., Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... |
/*
* Copyright(C) 2014 <NAME>. All rights reserved.
*
*/
/*
* Copyright (c) 2009-2012, <NAME> <antirez at gmail dot com>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistr... |
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (the "License"). You may not use this file except in compliance
* with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* o... |
/*++
Copyright (c) 1990 - 1995 Microsoft Corporation
All rights reserved.
Module Name:
portredn.c
Abstract:
This module contains functions to handle port redirection.
Earlier this was done by localmon, the code is a modified version of
localmon code.
Author:
<NAME> (MuhuntS) ... |
/*
Amy - a chess playing program
Copyright (c) 2014, <NAME>
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 not... |
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
// allocare (creare) un array (OK)
// liberare (distruggere) un array (OK)
// ridimensionare un array (OK)
// copiare un array (OK)
// accedere ad array (OK)
// concatenare un array (ESERCIZIO)
// reverse array (OK)
// sort di array (ESE... |
// SPDX-License-Identifier: GPL-2.0+
/*
* Copyright (C) 2007 Atmel Corporation
*/
#include <common.h>
#include <clk.h>
#include <dm.h>
#include <fdtdec.h>
#include <spi.h>
#include <malloc.h>
#include <wait_bit.h>
#include <asm/io.h>
#include <asm/arch/clk.h>
#include <asm/arch/hardware.h>
#include <asm/arch/at91_spi... |
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <errno.h>
#include <math.h>
#include <sys/time.h>
#include <magenta/syscalls.h>
#include <sys/mman.h>
#include <mxio/io.h>
#include <magenta/device/display.h>
#include <magenta/device/ioctl.h>
#define MATH_3D_IM... |
#include "printf.h"
#include "private_kernel_interface.h"
#include "user_proc.h"
#include "queue.h"
#include "memman.h"
unsigned int num_clock_ticks = 0;
// DEBUG
void print_debug_proc_name(unsigned pid) {
switch (pid) {
case 0:
printf_direct("idle");
break;
case 1:
printf_direct("welcome"... |
/*****************************************************************************
*
* $Id: addcrc.c 19 2011-03-09 22:47:23Z mjeffe $
*
* DESCRITION
* appends a checksum of the record to the end of the record.
*
* NOTES
*
* TO DO
*
****************************************************************************/
... |
#include <stm32l1xx_rcc.h>
#include <stm32l1xx_gpio.h>
#include <string.h>
#include <spi.h>
#include <delay.h>
#include <nRF24.h>
const uint8_t RX_PW_PIPES[6] = {nRF24_REG_RX_PW_P0, nRF24_REG_RX_PW_P1, nRF24_REG_RX_PW_P2,
nRF24_REG_RX_PW_P3, nRF24_REG_RX_PW_P4, nRF24_REG_RX_PW_P5};
cons... |
/**********************************************************************
// QMT.C
//
// Copyright (c) 1992 - Microsoft Corp.
// All rights reserved.
// Microsoft Confidential
//
//
// Functions for handling reqular expressions.
//
***************************************************************... |
/**
* @file ExternalProtocolOut_Crc.c
* @brief crc checkout about student's datas.
* @author damom.li
* @date 2015-11-16
* @version 1.0.0.0
* @license Copyright(c) 2015 DJI Corporation Robomasters Department.
*/
#include "protocol_ext_crc.h"
static const uint8_t ext_crc8_init = 0xff;
static const uint8_... |
/* GStreamer
* Copyright (C) <2009> <NAME> <<EMAIL>>
* Copyright (C) <2009> <NAME> <<EMAIL>>
*
* 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... |
/*
debug.c
This file supplies cingb with useful debug-information.
*/
#include <stdio.h>
#include "globals.h"
#include "debug.h"
#include "z80.h"
#include "gameboy.h"
const char GB_SREG[][5]={"B","C","D","E","H","L","(HL)","A"};
const char GB_DREG[][3]={"BC","DE","HL","SP"};
const char GB_DPP[][3]={"BC","DE... |
/***************************************************************************/
/* */
/* pshglob.c */
/* */
/* Po... |
/* $Cambridge: exim/exim-src/src/exim_lock.c,v 1.3 2005/06/27 14:29:43 ph10 Exp $ */
/* A program to lock a file exactly as Exim would, for investigation of
interlocking problems.
Options: -fcntl use fcntl() lock
-flock use flock() lock
-lockfile use lock file
-mbx use mbx lo... |
/*-
* Copyright (c) 2007, <NAME>, <NAME> and <NAME>
* <<EMAIL>>
* 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 copyrigh... |
/*====================================================================*
- Copyright (C) 2001 Leptonica. 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 c... |
/* Public Domain Curses */
#include "pdcsdl.h"
/*man-start**************************************************************
pdckbd
------
### Synopsis
unsigned long PDC_get_input_fd(void);
### Description
PDC_get_input_fd() returns the file descriptor that PDCurses
reads its input from. It can be used for... |
/*
* Extension of Semtech Semtech-Cycleo Packet Forwarder.
* (C) 2015 Beta Research BV
*
* Description: Virtualization of nodes.
*
* License: Revised BSD License, see LICENSE.TXT file include in the project
* Maintainer: <NAME>
*/
/* fix an issue between POSIX and C99 */
#ifdef __MACH__
#elif __STDC_VERSI... |
/*******************************************************************************
* Copyright (c) 2013-2017, <NAME> <<EMAIL> *
* All rights reserved. *
* *
* This file is a ... |
/* spke21.f -- translated by f2c (version 19980913).
You must link the resulting object file with the libraries:
-lf2c -lm (in that order)
*/
#include "f2c.h"
/* Table of constant values */
static integer c__25 = 25;
static integer c__1 = 1;
/* $Procedure SPKE21 ( S/P Kernel, evaluate, type 21 ) */
/* Su... |
/* ********************************************************************************* */
/* ********************* Minimal Networking API ************************************ */
/* ********************************************************************************* */
// mnt.h June 15, 2006 Wetherbee
/* ******** p... |
/**
* mvt.c: This file is part of the PolyBench/GPU 1.0 test suite.
*
*
* Contact: <NAME> <<EMAIL>>
* <NAME> <<EMAIL>>
* Web address: http://www.cse.ohio-state.edu/~pouchet/software/polybench/GPU
*
* Updated by <NAME> (http://cTuning.org/lab/people/gfursin)
* to work with Collective Mind, OpenME plugin interfa... |
//evaluates the fit function at the specified point
long double eval2Par(long double x,long double y, const fit_results * fr)
{
return fr->a[0]*x*x + fr->a[1]*y*y
+ fr->a[2]*x*y + fr->a[3]*x
+ fr->a[4]*y + fr->a[5];
}
//determine uncertainty ellipse bounds for the vertex by intersection of fit function with plane d... |
#include "ota/ota_service.h"
#include <platform/platform_stdlib.h>
#include <osdep_service.h>
#include <rtl8721d_ota.h>
#include <flash_api.h>
#include <device_lock.h>
#include "aos/hal/flash.h"
#include "aos/kernel.h"
#include <ameba_soc.h>
static u32 alinknewImg2Addr = 0xFFFFFFFF;
char *HeadBuffer = NULL;
#define... |
#include "lib9.h"
#include "draw.h"
#include "tk.h"
#include "canvs.h"
#include "textw.h"
#include "kernel.h"
TkCtxt*
tknewctxt(Display *d)
{
TkCtxt *c;
c = malloc(sizeof(TkCtxt));
if(c == nil)
return nil;
c->lock = libqlalloc();
if(c->lock == nil){
free(c);
return nil;
}
if (tkextnnewctxt(c) != 0) {
fr... |
/*
* @XMHF_LICENSE_HEADER_START@
*
* eXtensible, Modular Hypervisor Framework (XMHF)
* Copyright (c) 2009-2012 Carnegie Mellon University
* Copyright (c) 2010-2012 VDG Inc.
* All Rights Reserved.
*
* Developed by: XMHF Team
* Carnegie Mellon University / CyLab
* VDG Inc.
* ... |
/* main.c - Application main entry point */
/*
* Copyright (c) 2016 Intel Corporation
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <logging/log.h>
LOG_MODULE_REGISTER(net_test, CONFIG_NET_ROUTE_LOG_LEVEL);
#include <zephyr/types.h>
#include <ztest.h>
#include <stdbool.h>
#include <stddef.h>
#include <stri... |
/*
* disk/psygnosis_c.c
*
* Custom format as used by various Psygnosis releases:
* The Killing Game Show
* Nitro
* Armour-Geddon (v2 format)
* Obitus (v2 format)
*
* Written in 2012 by <NAME>
*
* Various custom formats + variants on these disks.
* Most tracks are long (~105500 bits).
*/
#includ... |
/**
* @file gamehead.c
* @author
* <NAME>
* <NAME>
* <NAME>
* <NAME>
* <NAME>
* <NAME>
* @brief This .c file includes the most important function that allows us to launch the game and manage the current screen
* @version 0.7
* @date 2022-04-24
*
* @copyright Copyright (c) 2022
*
*/
#i... |
/**
* (C) Copyright 2019 Intel 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 law or... |
/*************************************************************************
Copyright (c) 2003-2007 Cavium Networks (<EMAIL>). 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 s... |
/*
* Common functions for all aircrack-ng tools
*
* Copyright (C) 2006-2016 <NAME> <<EMAIL>>
*
* 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
* ... |
/* config.h. Generated from config.h.in by configure. */
/* config.h.in. Generated from configure.in by autoheader. */
/*
* Copyright (C) 2004, 2005, 2007, 2008, 2012, 2014 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, an... |
#include "packet.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <zlib.h>
#include <arpa/inet.h>
#include <sys/types.h>
#include <time.h>
#include <math.h>
#include <errno.h>
#include <unistd.h>
/* Extra #includes */
/* Your code will be inserted here */
/* Package structure */
pkt_t* pkt_samp... |
/* $Id: $ */
/* vim: tabstop=4 shiftwidth=4 noexpandtab
* MiniUPnP project
* http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
* (c) 2018 <NAME>
* This software is subject to the conditions detailed
* in the LICENCE file provided within the distribution */
#include <sys/select.h>
#include <sys/time.h>
#i... |
#define _POSIX_C_SOURCE 200809L
#include <limits.h>
#include <wlr/types/wlr_cursor.h>
#include <wlr/util/edges.h>
#include "sway/desktop.h"
#include "sway/desktop/transaction.h"
#include "sway/input/cursor.h"
#include "sway/input/seat.h"
#include "sway/ipc-server.h"
#include "sway/output.h"
#include "sway/tree/arrange.... |
#if AMALGAMATION
# define INTERNAL static
# define EXTERNAL static
# include "context.c"
# include "util/argparse.c"
# include "util/hash.c"
# include "util/string.c"
# include "backend/x86_64/instr.c"
# include "backend/x86_64/dwarf.c"
# include "backend/x86_64/elf.c"
# include "backend/x86_64/abi.c"
# include "backen... |
#include <stdio.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <netinet/in.h>
#include <sys/socket.h>
#include <errno.h>
#include <arpa/inet.h> //inet_ntoa()
#include <unistd.h>
#include <fcntl.h>
#include <time.h>
#include <sys/param.h>
#include <sys/select.h>
#include <as... |
/*************************************************************************/
/* */
/* Language Technologies Institute */
/* Carnegie Mellon University */
/* ... |
/*
* Copyright (c) 2004-2010 The Trustees of Indiana University and Indiana
* University Research and Technology
* Corporation. All rights reserved.
* Copyright (c) 2004-2011 The University of Tennessee and The University
* of Tennessee Resea... |
// 0x07029078 - 0x07029168
static const Vtx inside_castle_seg7_vertex_07029078[] = {
{{{ -13, 614, -1037}, 0, { 0, 990}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 0, 717, -1043}, 0, { 114, 0}, {0xff, 0xff, 0xff, 0xff}}},
{{{ -13, 717, -1037}, 0, { 0, 0}, {0xff, 0xff, 0xff, 0... |
/* $OpenBSD: zaurus_kbd.c,v 1.31 2010/09/07 16:21:41 deraadt Exp $ */
/*
* Copyright (c) 2005 <NAME> <<EMAIL>>
*
* 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 a... |
/*-
* Copyright 2007 <NAME>
* 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 conditions and t... |
/*
* Copyright (c) 2014 Intel Corporation
*
* Driver for Bosch Sensortec BMP280 digital pressure sensor.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
*/
#define pr_fmt... |
/* sqUnixFBDev.c -- display driver for the Linux framebuffer
*
* Author: <NAME> <<EMAIL>>
*/
/* The framebuffer display driver was donated to the Squeak community by:
*
* Weather Dimensions, Inc.
* 13271 Skislope Way, Truckee, CA 96161
* http://www.weatherdimensions.com
*
* Copyright (C) 2003-2005 <NAME>
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.