text stringlengths 3.12k 18.7k |
|---|
#include <stdio.h>
#include <stdlib.h>
/*
//Datastructure Manual//
data formate: real of data put in int data,"structpoint" of recode data put in *prior(prior struct of location) and *next(next struct of location)
//Function Manual//
Function_1:auto create data, and put it(data) in "doublelist of node"
Function_2:p... |
/***************************************************************************
* __________ __ ___.
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> ... |
/*-
* Copyright (c) 2020 Varnish Software AS
* All rights reserved.
*
* Author: <NAME> <<EMAIL>>
*
* SPDX-License-Identifier: BSD-2-Clause
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistribution... |
#include <stdlib.h>
#include <stdbool.h>
#include <stdio.h>
#include <string.h>
#include <stdarg.h>
#include <errno.h>
#include <assert.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
const char *program_name;
static void
fatal_error(char *format, ...)
{
va_list ap;
fprintf(stderr, "%s: erro... |
#include <math.h>
#define DEG2RAD 0.01745329252f
inline float fdegsin(float v) { return (float) sin((double) (v * DEG2RAD)); }
inline float fdegcos(float v) { return (float) cos((double) (v * DEG2RAD)); }
inline void getIdentityMat(float m[16]) {
m[0] = 1.0f; m[4] = 0.0f; m[8] = 0.0f; m[12] = 0.0f;
m[1] = 0.0f... |
/* crypto/pkcs7/pkcs7err.c */
/* ====================================================================
* Copyright (c) 1999 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met... |
#include "BMP_load.h"
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <math.h>
#define BITMAP_ID 0x4D42
/// Bitmap file header structure.
typedef struct
{
U16 type; // Specifies the image type; must be BM (0x4D42).
U32 size; // Specifies the size in bytes... |
/*
* Copyright (C) 2018 Oracle. All Rights Reserved.
*
* Author: <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 (at your option... |
/********************************************************************
* BenchIT - Performance Measurement for Scientific Applications
* Contact: <EMAIL>
*
* $Id: kernel_main.c 1 2009-09-11 12:26:19Z william $
* $URL: svn+ssh://<EMAIL>.de/svn-base/benchit-root/BenchITv6/kernel/utilities/skeleton/php/0/0/0/kernel_ma... |
#include <stdio.h>
#include <stdlib.h>
typedef char object_t;
typedef struct trie_n_t {
char this_char;
struct trie_n_t* next;
struct trie_n_t* list;
/* possibly additional information*/
} trie_node_t;
typedef trie_node_t node_t;
// ____________________________________________________________________... |
/*******************************************************************************
* Copyright 2018 <NAME> (<EMAIL>)
* Original Copyright 2016 Microchip Technology Inc. (www.microchip.com)
*
* Derived from the PIC24FJ256GB210 Explorer bootloader example
* Modified for the OpenMicroBoard hardware by <NAME>
* ... |
#include <assert.h>
#include "frehd.h"
#include "action.h"
#include "trs_hard.h"
#include "trs_extra.h"
#include "loader_xtrs.h"
typedef uint8_t (*IO_READ_CB)();
typedef void (*IO_WRITE_CB)(uint8_t);
static uint8_t trs_read_wp() {
return state_wp;
}
static uint8_t trs_read_control() {
return state_control;
}
... |
/**
* Copyright 2021 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... |
/* @(#)time2str.c version 1.7 created 96/12/06 07:06:13
%% functions to convert time (or angle) to string
LANGUAGE: C
ENVIRONMENT: Any
*/
/* includes */
#include <ctype.h>
#include <string.h>
#include <stdio.h>
#include "MATHCNST.H"
#include "vlb.h"
char *mjd2str ( long mjd, char *pstring );
/****... |
/*
* Copyright (C) 2009 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... |
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may... |
/*
* This code contains changes by
* <NAME>, Freiburg i. Br., Germany, 2002. All rights reserved.
*
* Conditions 1, 2, and 4 and the no-warranty notice below apply
* to these changes.
*
*
* Copyright (c) 1980, 1993
* The Regents of the University of California. All rights reserved.
*
* Redistribution ... |
/***************************************************************************
vidhrdw.c
Functions to emulate the video hardware of the machine.
***************************************************************************/
#include "driver.h"
#include "vidhrdw/generic.h"
unsigned char *megazone_scrollx... |
/*
* Copyright 1997 through 2004 by <NAME> (TSI @ UQV), <EMAIL>
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
* the above copyright notice appear in all copies and that both that copyright
* notice and t... |
/*
* Copyright [1999-2017] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
*
* 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.o... |
/**
Onion HTTP server library
Copyright (C) 2010-2018 <NAME> and others
This library is free software; you can redistribute it and/or
modify it under the terms of, at your choice:
a. the Apache License Version 2.0.
b. the GNU General Public License as published by the
Free Software Foundation; either v... |
/* Copyright 2008-2017 <NAME>
This file is part of ASMotor.
ASMotor 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.
... |
/* zebra NETNS ID handling routines
* those routines are implemented locally to avoid having external dependencies.
* Copyright (C) 2018 6WIND
*
* 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 Foundat... |
#include <stdio.h>
#include "internal/cryptlib.h"
#include <openssl/dilithium.h>
#include <openssl/objects.h>
#include <openssl/x509.h>
#include "internal/x509_int.h"
#include "dilithium_locl.h"
#include "dilithium-params.h"
#include "dilithium-polyvec.h"
#include "dilithium-poly.h"
#include "dilithium-packing.h"
#incl... |
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include "game_utils.h"
#include "video.h"
typedef struct grid
{
int width;
int height;
u_int8_t *grid;
int *white_cells;
int white_cells_len;
} grid;
void fill_white_cells(grid *grid);
int *get_array_of_neighbours(grid *grid, int coord);
... |
/*
* This file is part of the HCAN tools suite.
*
* HCAN 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.
*
* HCAN is dist... |
/*!
@file lzmadiff/lzmadiff.c
@brief Command-line executable to create LZMA2 streams that represent
the difference between two files.
@author <NAME>
@copyright Copyright 2021 CrowdStrike, Inc.
*/
/*
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software ... |
/*
* Academic License - for use in teaching, academic research, and meeting
* course requirements at degree granting institutions only. Not for
* government, commercial, or other organizational use.
* File: xgeqp3.c
*
* MATLAB Coder version : 3.3
* C/C++ source code generated on : 22-Jan-2019 16:55:... |
#include "rtc.h" // <= own header (optional)
#include <string.h>
#include "sd_spi.h" // <= own header (optional)
#include "sapi.h" // <= sAPI header
#include "ff.h" // <= Biblioteca FAT FS
#define FILE "Muestras.txt"
#define BUFFER_SIZE 200
static char uartBuff[10];
static FATFS fs; // <-- ... |
// This file is part of Deark.
// Copyright (C) 2019 <NAME>
// See the file COPYING for terms of use.
// AFCP metadata
// (AXS File Concatenation Protocol)
#include <deark-config.h>
#include <deark-private.h>
#include <deark-fmtutil.h>
DE_DECLARE_MODULE(de_module_afcp);
#define CODE_IPTC 0x49505443U
#define CODE_Nai... |
#include <cpu/x86/idt.h>
#include <cpu/x86/ports.h>
#include <cpu/x86/pic.h>
#include <cpu/x86/isr.h>
#include <drivers/screen.h>
#include <stdlib.h>
idtr_t idt_ptr;
idt_entry_t idt[256];
void enable_interrupts() {
__asm__ volatile ("sti");
}
void disable_interrupts() {
__asm__ volatile ("cli")... |
/*=========================================================================
Program: Visualization Toolkit
Module: vtkWrapPythonEnum.c
Copyright (c) <NAME>, <NAME>, <NAME>
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software is distributed WITH... |
/* GStreamer
* Copyright (C) 2011 <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.
*
*... |
/**
* (C) Copyright 2016 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) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <time.h>
#include <fcntl.h>
#include <string.h>
#include <math.h>
#include <errno.h>
#ifdef WIN64
... |
/*
* this file is part of szl.
*
* Copyright (c) 2016, 2017 <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 ... |
#include "surface.h"
// Std libs
#include <stdlib.h>
#include <stdio.h>
// Unix
#include <sys/mman.h>
#include <unistd.h>
// Blusher
#include "application.h"
#include "utils.h"
#include <blusher/core/log.h>
#include <blusher/core/collections.h>
//=============
// Drawing
//=============
static struct wl_buffer* cre... |
// https://github.com/ImagicTheCat/ljuv
// MIT license (see LICENSE or src/ljuv.lua)
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
#include <lua.h>
#include <lauxlib.h>
#include <lualib.h>
#include <uv.h>
// Object multi-threaded reference counting.
typedef struct ljuv_object{
uint32_t count;
void... |
/* Funções do TAD Lista de Processos */
#include "listaDeProcessos.h"
/* Protótipos de funções extras (miscelânea) */
void inicializaCelulasDisp(TListaDeProcessos* plista);
int achaAnterior(TListaDeProcessos* plista, TProcesso processo, Celula* vendoCelula);
void getConteudo(TProcesso processo);
/* Inicialização da ... |
/*
* Vortex OpenSplice
*
* This software and documentation are Copyright 2006 to TO_YEAR ADLINK
* Technology Limited, its affiliated companies and licensors. All rights
* reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file e... |
#include "spoilertranslator.h"
#include "addresses.h"
void writePedestal(FILE* spoiler_log, int choice)
{
char pedestal_rooms[NUMBER_PEDESTALS][8] =
{
"SR3",
"CC1",
"CC3",
"CC3B",
"CC4",
"CC5",
"CC8",
"CC8B",
"CC9",
"CC10",
... |
/*
* Copyright (c) 1991 <NAME>
*
* Disclaimer: No guarantees of performance accompany this software,
* nor is any responsibility assumed on the part of the authors. All the
* software has been tested extensively and every effort has been made to
* insure its reliability.
*/
/*
* hc_bin.c - binary-tree coding... |
/*
* Copyright (C) ST-Ericsson SA 2010
*
* Author: <NAME> <<EMAIL>> for ST-Ericsson
* License terms: GNU General Public License (GPL) version 2
*/
#include <linux/kernel.h>
#include <linux/platform_device.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/gpio.h>
#include <linux/amba/bus.h>
#in... |
#define ALIGN 32
#define VECTOR_SIZE 8
#define SHIFT1 1
#define SHIFT2 2
#define Nx 9000
#define REAL_Nx (Nx + SHIFT2)
#define Ny 9000
#define Nt 111
#define Xa 0.0f
#define Xb 4.0f
#define Ya 0.0f
#define Yb 4.0f
#define hx ((Xb - Xa) / (Nx - 1))
#define hy ((Yb - Ya) / (Ny - 1))
#define coeff1 (0.2f / ((1.0f / ... |
/* Glib preferences & matched GTK+ dialog.
*
* (c) 2011 by gatopeich, licensed under a Creative Commons Attribution 3.0
* Unported License: http://creativecommons.org/licenses/by/3.0/
* Briefly: Use it however suits you better and just give me due credit.
*
* TODO:
* - Temp range selection.
*/
#include <gtk/g... |
/*
* Copyright 2017, Data61, CSIRO (ABN 41 687 119 230)
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <sel4utils/slab.h>
#include <vka/capops.h>
#include <vka/object.h>
#include <utils/attribute.h>
typedef struct {
/* number of objects in the slab */
seL4_CPtr n;
/* next free object in the sla... |
/* -------------------------------- shado.h --------------------------------- */
/* -- Includes -- {{{ */
#define _DEFAULT_SOURCE
#define _BSD_SOURCE
#define _GNU_SOURCE
#include <ctype.h>
#include <errno.h>
#include <fcntl.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys... |
#define _POSIX_C_SOURCE 200212L // enable posix_memalign
#include <stdlib.h>
#include <stdio.h>
#include <stdint.h>
#include <math.h>
#include <string.h>
#include <assert.h>
#include <stdbool.h>
#include <errno.h>
#include <dirent.h>
#include "benchmark.h"
#include "chromiumbase64.h"
#include "fastavxbase64.h"
#inclu... |
/** Simple C Unit Test Framework - Implementation.
*
* \author <NAME>
* \copyright MIT License.
*/
#define SCUNIT_C
#define _GNU_SOURCE
#include "scunit.h"
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <unistd.h>
/* protects agains redefinition of main... |
/* Copyright (c) 2017 <NAME>
*
* Permission to use, copy, modify, and/or 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 "AS IS" AND THE AUTHOR DISCLAIMS ALL W... |
#define NULL ((void*)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t; typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1
/* Forward d... |
// SPDX-License-Identifier: GPL-2.0
#include "nv20.h"
#include "regs.h"
#include <core/gpuobj.h>
#include <engine/fifo.h>
#include <engine/fifo/chan.h>
/*******************************************************************************
* PGRAPH context
******************************************************************... |
#include <allegro.h>
#include "fpge.h"
#include "maingui.h"
#include "makemap.h"
#include "drawmap.h"
#include "pgf.h"
#include "terr.h"
#include "unitutil.h"
#include "filename.h"
#define MM_FG_COLOR GUI_FG_COLOR
#define MM_BG_COLOR GUI_EDIT_COLOR
#define MM_SCREEN_COLOR GUI_BG_COLOR
#define MM_X 10
#define MM_Y ... |
#include "huffman.h"
#include <stdbool.h>
#include <stdlib.h>
#include <stdio.h>
#include "debogage.h"
#define TAILLE_CODE_MAX 16
//Définition des status de fonction
typedef enum statut statut;
enum statut{
ERREUR,
OK,
SENTINELLE1 //##MODIF
};
//Définition des types de noeud
typedef enum type_noeud type_noeud;
... |
/* $XConsortium: LookupCmap.c,v 1.10 94/04/17 20:16:11 rws Exp $ */
/*
Copyright (c) 1989 X Consortium
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 l... |
/*
* The default font.
* Copyright (c) 1995, 1996, 1997 <NAME>.
*
* Author: <NAME> <<EMAIL>>
*/
/*
* Enscript 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... |
/* $OpenBSD: headers.c,v 1.19 2010/11/05 15:23:18 ratchov Exp $ */
/*
* Copyright (c) 2008 <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 all ... |
/************************************************************************************[lrat-check.c]
Copyright (c) 2017 <NAME>, The University of Texas at Austin.
Last edit, June 10, 2017
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
associated documentation files (th... |
#include "vector4.h"
#include "util.h"
#include <math.h> /* sqrt */
void vector4_blend(vector4* target, const vector4* vector, const vector4* other, const float amount)
{
const float one_minus_amount = 1.0f - amount;
target->tuples[0] = vector->tuples[0] * amount + other->tuples[0] * one_minus_amount;
... |
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <assert.h>
#include <inttypes.h>
#include <time.h>
#include "platform-udp.h"
#include "zhe.h"
#include "zhe-tracing.h"
#include "zhe-assert.h"
#include "zhe-config-deriv.h" /* for ZTIME_TO_SECu32 */
#include "zhe-util.h"
#define... |
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#include "type.h"
#include "list.h"
#include "symbol.h"
#include "error.h"
#include "expression.h"
#define DEFINE_TYPE(ty) \
const struct type* type_##ty; \
const struct type* type_##ty##_v; \
#define INIT_TYPE(ty, TY) \
type_##ty = type_new(TYPE_##T... |
//
// This file was generated by the Retargetable Decompiler
// Website: https://retdec.com
// Copyright (c) 2019 Retargetable Decompiler <<EMAIL>>
//
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
// ------------------------ Structures ------------------------
struct _IO_FILE {
int32_t e0;
};
// --... |
/*
* Copyright (c) 2007 - 2015 <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, publi... |
/*
auxilliary functions for hapcut2.c
*/
int detect_long_reads(struct fragment* Flist,int fragments)
{
int i=0;
int long_reads=0;
float mean_snps_per_read = 0;
if (AUTODETECT_LONGREADS){
for (i = 0; i < fragments; i++){
mean_snps_per_read += Flist[i].calls;
}
mean_s... |
/* Finding correspondences between particles in a set of images.
References:
[1] http://en.wikipedia.org/wiki/Tree_traversal#Depth-first
*/
#include <stdlib.h>
#include <stdio.h>
#include "typedefs.h"
#include "globals.h"
#include "calibration.h"
#include "parameters.h"
#include "epi.h"
#include "btree.h"
/* adva... |
/*
* 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... |
//
// Created by sdfedorov on 14/01/2021.
//
#include "idt.h"
struct idt_pointer {
unsigned short limit;
unsigned int base;
} __attribute__((packed));
struct idt_entry {
unsigned short int offset_lowerbits;
unsigned short int selector;
unsigned char zero;
unsigned char flags;
unsigned sho... |
#define NULL ((void*)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t; typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1
/* Forward d... |
/*
* tegracam_v4l2 - tegra camera framework for v4l2 support
*
* Copyright (c) 2018-2019, NVIDIA CORPORATION. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free... |
/* $Id$ */
/*
* Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com)
* Copyright (C) 2003-2008 <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 ... |
/**
******************************************************************************
* @file settings_win.c
* @author MCD Application Team
* @brief settings functions
******************************************************************************
* @attention
*
* Copyright (c) 2016 STMicroelectronics... |
/* WindowLab - an X11 window manager
* Copyright (c) 2001-2010 <NAME>
* me at <EMAIL>
* http://nickgravgaard.com/windowlab/
*
* 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 versio... |
/*
* $Id: guage.c,v 1.65 2012/11/30 10:43:31 tom Exp $
*
* guage.c -- implements the gauge dialog
*
* Copyright 2000-2011,2012 <NAME>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License, version 2.1
* as published by the F... |
#include <dlfcn.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <unistd.h>
char *interp = "/tmp/l/bitbucket/fs/fs_test/interp/interp.native";
char *log_txt = "/tmp/log.txt";
char *errarr[] = {
/* 0 */ "FIXMEmissingerrorcode",
/* 1 */ "EPERM",
/* 2 */ "ENOENT",
/* 3 */ "... |
/*$Header: /data/petsun4/data1/src_solaris/scale_4dfp/RCS/scale_4dfp.c,v 1.14 2007/07/05 05:01:52 avi Exp $*/
/*$Log: scale_4dfp.c,v $
* Revision 1.14 2007/07/05 05:01:52 avi
* startrec() -> startrece()
*
* Revision 1.13 2006/09/29 23:36:57 avi
* Solaris 10
*
* Revision 1.12 2004/09/23 20:58:31 rsachs
... |
/* symtable.c - Alore symbol table
Copyright (c) 2010-2011 <NAME>
Alore is licensed under the terms of the MIT license. See the file
LICENSE.txt in the distribution.
*/
#include "symtable.h"
#include "memberid.h"
#include "class.h"
#include "parse.h"
#include "cutil.h"
#include "mem.h"
#include "gc.h"
#inc... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "runCEA.h"
#include "valuables.h"
T_CEA CEA[3]; // parameter for chamber, throat, exit
void set_CEA(void){
make_inp();
run_CEA();
get_CEA_param();
}
// rewrite CEA input file here to your required parameters
void make_inp(void){
FILE *fp;
fp ... |
/*****************************************************************************
*
* \file
*
* \brief IMA/DVI ADPCM functions usage
*
* Copyright (c) 2014 Atmel Corporation. All rights reserved.
*
* \asf_license_start
*
* \page License
*
* Redistribution and use in source and binary forms, with or without
* ... |
/*
* Test program, which can detect problems with nearest neighbout scaling
* implementation. Also SRC and OVER opetations tested for 16bpp and 32bpp
* images.
*
* Just run it without any command line arguments, and it will report either
* "scaling test passed" - everything is ok
* "scaling test failed!" - t... |
#include <pspctrl.h>
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <string.h>
#include <GLES/egl.h>
#include <GLES/gl.h>
#include "glchk.h"
extern unsigned char logo_start[];
struct Vertex
{
float u, v;
unsigned int color;
float x,y,z;
};
static const
struct Vertex __attribute__((aligned(1... |
//
// epics-relay
//
// <NAME>, Brookhaven National Laboratory
//
//
// BSD 3-Clause License
//
// Copyright (c) 2021, Brookhaven Science Associates
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditio... |
/*
* Copyright 2016-2017, Intel Corporation
*
* 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 conditions and ... |
// Copyright (C) 2021 <NAME>
#include <stdio.h>
#include "pico/stdlib.h"
#include "pico/multicore.h"
#include "hardware/pio.h"
#include "hardware/dma.h"
#include "hardware/clocks.h"
#include "hardware/irq.h"
#include "hardware/structs/bus_ctrl.h"
#include "hardware/regs/busctrl.h"
#include "hardware/structs/ssi.h"
#in... |
//
// Copyright (c) 2013 <NAME> <EMAIL>
//
// 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,
// including commer... |
/* **************************************************************************
* _ _____ _ _____
* / \ |__ / | | |__ /
* / _ \ / / | | / /
* / ___ \ / /_ | | / /_
* /_/ \_\/____| |_| /____| LED RING LIGHT
*
* Copyr... |
/*
* Copyright 2002-2011, The TenDRA Project.
* Copyright 1997, United Kingdom Secretary of State for Defence.
*
* See doc/copyright/ for the full copyright terms.
*/
#include <string.h>
#include <stdio.h>
#include "defs.h"
#include "streams.h"
#include "enc_nos.h"
#include "errors.h"
#include <shared/xalloc.h>... |
/*
* @DEC_COPYRIGHT@
*/
/*
* HISTORY
* $Log: scon_api.c,v $
* $EndLog$
*/
/*****************************************************************************
** Copyright (c) Digital Equipment Corporation, 1997 **
** ... |
/*
Ficheiro: atds.c
Autor: <NAME>
Descrição: Funções para a manipulação das ATDS do atds.h
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "atds.h"
#include "functions.h"
/* = Funções da lista ======================================================= */
/* Criar nova node na list... |
#include "Common.h"
#include "hardware.h"
// There are specific files, radiohardware.h and
// radiohardware.c that specifically deal with the
// wireless radio
#include "radiohardware.h"
// For certain functions called in the configure... routines
#include "cm_ir.h"
#include "cm_radio.h"
#include "MRF24J40.h"
void c... |
/*
* 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 ... |
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <ctype.h>
#include <stdint.h>
#include "huff.h"
#include "bitfile.h"
// create a new huffcoder structure
struct huffchar * huffchar_new(char ch, int f){
struct huffchar * this = malloc(sizeof(struct huffchar));
this->freq = f;
this->u.c = c... |
/* $NetBSD: ucb1200reg.h,v 1.7 2001/09/15 12:47:08 uch Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
* All rights reserved.
*
* This code is derived from software contributed to The NetBSD Foundation
* by UCHIYAMA Yasushi.
*
* Redistribution and use in source and binary forms, with or without
*... |
/******************************************************************************
* @section DESCRIPTION
*
* This routine reads in a library of vegetation parameters for all vegetation
* classes used in the model. The veg class number is used to reference the
* information in this library.
************************... |
/*
* Copyright 2015-2018 Yubico AB
*
* 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... |
//
// Copyright (C) 2013 Seagate Technology LLC and/or its Affiliates. Apache License, Version 2.0.
//
// See the accompanying COPYING file for license information.
//
// rpclite is an abstraction layer over RPC
//
// The purpose of this library is to hide all the details of Mero RPC that are
// not necessary for the ... |
typedef struct Dosboot Dosboot;
typedef struct Dosboot32 Dosboot32;
typedef struct Dosbpb Dosbpb;
typedef struct Dosdir Dosdir;
typedef struct Dospart Dospart;
typedef struct Dosptr Dosptr;
typedef struct Fatinfo Fatinfo;
typedef struct Xfs Xfs;
typedef struct Xfile Xfile;
struct Dospart{
uchar... |
/* GStreamer
* Copyright (C) <2003> <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.
*
... |
/*-
* Copyright (c) 2009-2010 The FreeBSD Foundation
* All rights reserved.
*
* This software was developed by <NAME> under sponsorship from
* the FreeBSD Foundation.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* ar... |
/*
* mon_register65816.c - The VICE built-in monitor 65816/65802 register functions.
*
* Written by
* <NAME> <<EMAIL>>
*
* This file is part of VICE, the Versatile Commodore Emulator.
* See README for copyright notice.
*
* This program is free software; you can redistribute it and/or modify
* it under the ... |
/**
* Copyright (c) 2021 <NAME> <u at one u x dot o r g>
*
* 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 ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.