text stringlengths 5.8k 28.2k |
|---|
/*
* Copyright (c) 2009 <NAME> <<EMAIL>>
* Copyright (c) 2009 <NAME> <<EMAIL>>
* All rights reserved.
*
* This source code is a modified version of the CoreFoundation sources released by Apple Inc. under
* the terms of the BSD-style license (see below).
*
* For information about changes from the origin... |
// Written by <NAME>
#include <Python.h>
#include "meflib.h"
#define EPSILON 0.0001
#define FLOAT_EQUAL(x,y) ( ((y - EPSILON) < x) && (x <( y + EPSILON)) )
#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
/* Python methods definitions and help */
static char pymef3_file_docstring[] =
"This submodule provides ... |
/*
* Copyright (c) 1996-2001 <NAME>.
* See README file for details.
*/
#include "local.h"
extern lfit lf;
extern design des;
extern void fitoptions();
static double hmin, gmin, sig2, pen, vr, tb;
#define BGCV 1
#define BCP 2
#define BIND 3
INT procvbind(des,lf,v)
design *des;
lfit *lf;
INT v;
{ double s0, ... |
/*
* ISC License
*
* Copyright (C) 1984-2018 by
* <NAME>
* <NAME>
* <NAME>
* Delft University of Technology
*
* 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 appea... |
/* .DST (Tajima) embroidery file read/write routines
* Format comments are thanks to <EMAIL> who's
* notes appeared at http://www.wotsit.org under Tajima Format.
*/
/* returns the value of the n-th bit in a */
#define BIT(a, n) \
((a & (1 << n)) >> n)
/* returns the value of the n-th bit in a */
#define SETBIT... |
/*
STARS.C
Starfield simulator screensaver.
History:
6/17/91 stevecat ported to NT Windows
2/10/92 stevecat snapped to latest ported to NT Windows
*/
#include <windows.h>
#include <scrnsave.h>
#include <commctrl.h>
#include "stars.dlg"
#include "strings.h"
#includ... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdint.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <dirent.h>
#include <fcntl.h>
#include <limits.h>
#include <errno.h>
#include <time.h>
#include "libzdb.h"
#include "libzdb_private.h"
#if 0
// dump a data entry
stat... |
/*
* Программатор flash-памяти для микроконтроллеров TI MSP430.
*
* Copyright (C) 2009 <NAME>
*
* Этот файл распространяется в надежде, что он окажется полезным, но
* БЕЗ КАКИХ БЫ ТО НИ БЫЛО ГАРАНТИЙНЫХ ОБЯЗАТЕЛЬСТВ; в том числе без косвенных
* гарантийных обязательств, связанных с ПОТРЕБИТЕЛЬСКИМИ СВОЙСТВАМИ и
... |
#include "m68k.h"
#include "m68kcpu.h"
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <strings.h>
#include <glib.h>
#define RAYGUI_IMPLEMENTATION
#include "raygui.h"
#include "raylib.h"
#include "plugin.h"
#define screenWidth 1280
#define screenHeight 720
/*
TODO still very work in progress !... |
//Incluindo bibliotecas padrões necessárias
#include <stdio.h>
#include <stdlib.h>
//Incluindo TADs auxiliares
#include "TAD_AUXILIAR/horario.h"
//Incluindo TADs Globais
#include "TAD/VOO.h"
#include "TAD/LISTA_DE_VOOS.h"
#include "TAD/ITEM_MATRIZ.h"
#include "TAD/MATRIZ_VOOS.h"
//Definindo variáveis globais para a ... |
/*
* PSP Software Development Kit - http://www.pspdev.org
* -----------------------------------------------------------------------
* Licensed under the BSD license, see LICENSE in PSPSDK root for details.
*
* rendertarget.c - Sample to demonstrate usage of ofscreen
* texture as a render target
... |
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* des_algorithm.c :+: :+: :+: ... |
/*
* Copyright (C) 2016-2018 Marvell International Ltd.
* This program is provided "as is" without any warranty of any kind,
* and is distributed under the applicable Marvell proprietary limited use
* license agreement.
*/
/* BPHY driver for F95 */
#include <arch_helpers.h>
#include <assert.h>
#include <debug.h>... |
/* The lwlib interface to Athena widgets.
Copyright (C) 1993 <NAME> <<EMAIL>>
This file is part of the Lucid Widget Library.
The Lucid Widget Library 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 ve... |
/*
* mm.c
*
* <NAME> 1600012782
* Use segregated free list
*
*
*/
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "mm.h"
#include "memlib.h"
/* If you want debugging output, use the following macro. When you hand
* in, remove the #define DEBUG line.... |
#ifndef lint
static const char RCSid[] = "$Id: clrtab.c,v 2.19 2011/05/20 02:06:39 greg Exp $";
#endif
/*
* Simple median-cut color quantization based on colortab.c
*/
#include "copyright.h"
#include <string.h>
#include "standard.h"
#include "color.h"
#include "clrtab.h"
/* histogram resolution */
#define NRE... |
/*
* File: notch.c
*
*
* --- THIS FILE GENERATED BY S-FUNCTION BUILDER: 3.0 ---
*
* This file is an S-function produced by the S-Function
* Builder which only recognizes certain fields. Changes made
* outside these fields will be lost the next time the block is
* used to load, edit, and resav... |
/*
* IP Duplicator (RFC 5227 Attack)
* ipdup.c
*
* Written by <NAME>
* Feb 2015
*
* This program exploits RFC 5227 section 4.1.1:
* http://tools.ietf.org/html/rfc5227#section-2.1.1
*
* If during this period, from the beginning of the probing process
* until ANNOUNCE_WAIT seconds after the last probe pack... |
/* sgfcon.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__1 = 1;
static integer c__2 = 2;
/* $Procedure SGFCON ( Generic Segments: Fetch constants ) */
/* ... |
/* Generic support for remote debugging interfaces.
Copyright 1993 Free Software Foundation, Inc.
This file is part of GDB.
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 th... |
#include <stdlib.h>
#include <stdio.h>
#include "sapnwrfc.h"
static RFC_FUNCTION_DESC_HANDLE bapiFlightGetlistDesc, bapiFlightGetdetailDesc, bapiCommitDesc,
bapiFlbookingCreateDesc;
static RFC_FUNCTION_HANDLE bapiFlightGetlist, bapiFlightGetdetail, bapiCommit,
bapiFlbookingCreate;
RFC_RC lookupMetaData(RFC_CONNE... |
/* gmres.c
*
* Copyright (C) 2014 <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 3 of the License, or (at
* your option) any later version.
*
* This program ... |
/*
Copyright (c) 2008 - 2010, <NAME>, Johannes Kepler University.
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, mo... |
#include <console.h>
#include "keyboard.h"
#include <types.h>
#include "keyboard.h"
#include "naiveConsole.h"
#include "pid.h"
#include <lib.h>
#include "idtLoader.h"
extern u8 _getKeyCode();
typedef enum
{
MOD_FLAG_SHIFT = 1,
MOD_FLAG_CTRL = 2,
MOD_FLAG_ALT = 4
} ModFlag;
typedef enum
{
KEY_ESC,
... |
/* javascript - some little helper routines to manage our javascript.
* We don't do much javascript - just occassionally use it so that
* when they select something from a pull-down, it will go hit the server to
* figure out how to reload other control options based on the choice.
* (For instance if they change th... |
/* Author: <NAME> <<EMAIL>>
* Date : May 2009
*
* Copyright 2010 Howard Hughes Medical Institute.
* All rights reserved.
* Use is subject to Janelia Farm Research Campus Software Copyright 1.1
* license terms (http://license.janelia.org/license/jfrc_copyright_1_1.html).
*/
/*
* svdcomp - SVD decomposition ro... |
/*--------------------------------------------------------------------
* $Id$
*
* This file is part of libRadtran.
* Copyright (c) 1997-2012 by <NAME>, <NAME>,
* <NAME>, <NAME>
*
* ######### Contact info: http://www.libradtran.org #########
*
* This program is free software; you can... |
#include <unistd.h>
#include <stdbool.h>
#include <stdint.h>
#include <inttypes.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
const int rounds = 12;
const int BYTES = 8; // BITS / 8
uint8_t *toArray(uint64_t value)
{
uint8_t *new = malloc(sizeof(uint8_t) * BYTES);
for(int i = 0; i < BYTES; i... |
#include <stdio.h>
#include <stdlib.h>
#include <inttypes.h>
#include <ctype.h>
#include <string.h>
#define ERROR(...) do{\
printf("ERROR: " __VA_ARGS__);\
puts("");\
exit(-1);\
}while(0)
#define OUTBUF_SIZE 1024
#define SYMTABLE_SIZE 256
#define UNRESOLVEDTABLE_SIZE 512
#define NO_DATA 0
#define DIRECTIVE_DE... |
#include "jkGUIGameplay.h"
#include "General/Darray.h"
#include "General/stdBitmap.h"
#include "General/stdFont.h"
#include "General/stdStrTable.h"
#include "General/stdFileUtil.h"
#include "Engine/rdMaterial.h" // TODO move stdVBuffer
#include "stdPlatform.h"
#include "jk.h"
#include "Gui/jkGUIRend.h"
#include "Gui/j... |
/* libwmf (convert/wmf2fig.c): library for wmf conversion
Copyright (C) 2000 - various; see CREDITS, ChangeLog, and sources
The libwmf 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; e... |
/* Copyright (c) 2002 <NAME>
** EMBL, Meyerhofstrasse 1, 69917 Heidelberg, Germany
** Email: <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 Licens... |
/*
* Copyright (c) 2019-2021, Arm Limited. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*
*/
#include <stdint.h>
#include "firewall.h"
#define FIREWALL_COMPONENT_SIZE (0x10000)
#define FIREWALL_MAX_COMPONENTS (0x20)
#define FIREWALL_COMMON_REG_OFFSET (0xFA0)
struct _firewall_common... |
/**
******************************************************************************
* @file Font8.cpp
* @author MCD Application Team
* @version V1.0.0
* @date 18-February-2014
* @brief This file provides text Font8.
******************************************************************************
*... |
/* Copyright (c) <NAME>, 1997. */
/* This program is freely distributable without licensing fees and is
provided without guarantee or warrantee expressed or implied. This
program is -not- in the public domain. */
/* X compile line: cc -o scalebias scalebias.c -ltiff -lglut -lGLU -lGL -lXmu -lXext -lX11 -lm */
... |
/**************************************************************************
*
* Copyright 2008 HPCNL-KICS, UET, Lahore, PAKISTAN.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification,are permitted provided that the following conditions
* are met:
*
* ... |
/*
* Copyright (c) 2020 <NAME>
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <logging/log.h>
LOG_MODULE_REGISTER(ctr, CONFIG_LOG_DEFAULT_LEVEL);
#include "controller.h"
#include "lcd.h"
#include "buttons.h"
#include "clock.h"
#include "output.h"
#include <string.h>
#include <stdio.h>
#define CTRL_STACK_... |
/*
Copyright (C) 1997, <NAME>
*/
#include "chep_crt.h"
#include "s_files.h"
#include "screen.h"
#include "file_scr.h"
#include "read_mdl.h"
#include "process.h"
whohow liminsp, LimQ;
whohow limout;
int ZWmax=1000, ZWmin=-1000;
int nin, nout, n_x; /* Number of X-particles */
shortstr processch="";
char... |
/*
* Copyright 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" file ... |
/* 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 not... |
//*****************************************************************************
//
// Copyright (C) 2014 Texas Instruments Incorporated - http://www.ti.com/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//
// R... |
/* Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include <fcntl.h>
#include <stdint.h>
#include <sys/mman.h>
#include <sys/types.h>
#include <syslog.h>
#include "cras_audio_area.h"
#include ... |
/*
* md5.c
*
* Implements the MD5 Message-Digest Algorithm as specified in
* RFC 1321. This implementation is a simple one, in that it
* needs every input byte to be buffered before doing any
* calculations. I do not expect this file to be used for
* general purpose MD5'ing of large amounts ... |
/* $Id$ $Revision$ */
/* vim:set shiftwidth=4 ts=8: */
/*************************************************************************
* Copyright (c) 2011 AT&T Intellectual Property
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.... |
/* File imresize.c
* June 12, 2007
* By <NAME>, Harvard-Smithsonian Center for Astrophysics
* Send bug reports to <EMAIL>
Copyright (C) 2006-2007
Smithsonian Astrophysical Observatory, Cambridge, MA USA
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU ... |
/*
* Copyright (C) 2018 Orange by <NAME>
*
* Implements a LZFX-based compressor/decompressor built on top of the lzfx codebase.
* The compressor isn't compatible with LZF but reduces the memory requirements of the
* decompressor so it can run with only ~4kB of memory and without the backing of a file
*
* Copyrig... |
/*
*******************************************************************************
* Copyright (c) 2021, STMicroelectronics
* All rights reserved.
*
* This software component is licensed by ST under BSD 3-Clause license,
* the "License"; You may not use this file except in compliance with the
* License. You may ... |
/*
* SPDX-FileCopyrightText: 2019-2022 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
#include "sdkconfig.h"
#include "string.h"
#include "esp_attr.h"
#include "esp_err.h"
#include "esp_types.h"
#include "esp_log.h"
#include "spiram_psram.h"
#include "esp32s3/rom/ets_sys.h"
#include... |
/**
* || ____ _ __
* +------+ / __ )(_) /_______________ _____ ___
* | 0xBC | / __ / / __/ ___/ ___/ __ `/_ / / _ \
* +------+ / /_/ / / /_/ /__/ / / /_/ / / /_/ __/
* || || /_____/_/\__/\___/_/ \__,_/ /___/\___/
*
* Crazyflie control firmware
*
* Copyright (C) 2011-2012 Bi... |
//
// main.c
// Vi_Project
// Mini Proyecto
// TC2025 Grupo 01 Programación Avanzada
//
// Creado por <NAME>, <NAME> y <NAME> el 08/09/20.
// Ultima versión: 20/09/2020
//
// Characteristics that the project have
// Open file
// Disable CTRL+Z and CTRL+C to quit program
// Switch between text editing mode ... |
/*
* This code released into the public domain 21 July 2008
*
* This program does the equivalent of:
* gphoto2 --shell
* > set-config capture=1
* > capture-image-and-download
* compile with gcc -Wall -o canon-capture -lgphoto2 canon-capture.c
*
* Taken from: http://credentiality2.blogspot.com/2008/07/lin... |
/*-
* Copyright 1996-1998 <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... |
/***************************************************************************//**
* \file cy_crypto_core_ecc_ecdsa.c
* \version 2.20
*
* \brief
* This file provides constant and parameters for the API for the ECC ECDSA
* in the Crypto driver.
*
**************************************************************************... |
/*
* Copyright (C) 2012 Intel Corporation. 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 Software without restriction, including
* without limitation the rights to use, ... |
#include "uart.h"
#include <stdio.h>
#include <stdlib.h>
#define MMIO_BASE 0x3F000000
#define PM_RSTC ((volatile unsigned int*)(MMIO_BASE+0x0010001c))
#define PM_RSTS ((volatile unsigned int*)(MMIO_BASE+0x00100020))
#define PM_WDOG ((volatile unsigned int*)(MMIO_BASE+0x00100024))
#define ... |
/* mpfr_exp -- exponential of a floating-point number
Copyright 1999, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
Contributed by the Arenaire and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
The GNU MPFR Library is free software; you can redi... |
/*
* Copyright (C) 2021 skgleba
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
#include <psp2/kernel/processmgr.h>
#include <psp2/kernel/modulemgr.h>
#include <psp2/io/fcntl.h>
#include <psp2/io/devctl.h>
#include <psp2/ctrl.h>
#includ... |
// SPDX-License-Identifier: MIT
// Copyright (c) 2018-2020 The Pybricks Authors
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
#include <pbio/math.h>
#include <pbio/trajectory.h>
static int64_t as_mcount(int32_t count, int32_t count_ext) {
return ((int64_t)count) * 1000 + count_ext;
}
static void ... |
/*
* Copyright (c) 2005-2021 Imperas Software Ltd., www.imperas.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://www.apache.org/licenses/LICENSE-2.0
*
* Unless requir... |
/*
FreeRTOS V9.0.0 - Copyright (C) 2016 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... |
/*
* 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 DARPA contract BG 91-66 and
* contributed to Berkeley.
*
* All advertising materials mentioning fea... |
/*
* Dwarf - A minimalist 16-bit RISC CPU
*
* asm.c: Crude, brutal and unforgiving assembly language translator
*
* Copyright (c) 2017, <NAME> <<EMAIL>>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following condit... |
/*
* Copyright 2010 Red Hat Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish, d... |
/*
comedi/drivers/ni_at_ao.c
Driver for NI AT-AO-6/10 boards
COMEDI - Linux Control and Measurement Device Interface
Copyright (C) 2000,2002 <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 b... |
/***********************************************************************
**
** REBOL [R3] Language Interpreter and Run-time Environment
**
** Copyright 2012 REBOL Technologies
** REBOL is a trademark of REBOL Technologies
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this... |
/*
* 2014 (c) <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 WARRANTIES
WITH REGARD TO... |
/*
Copyright 2021 <NAME>.
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 in writing, softwar... |
/*
* nginx (c) <NAME>
* this module (C) <NAME> <<EMAIL>>
*/
#include <ngx_config.h>
#include <ngx_core.h>
#include <ngx_http.h>
#if (NGX_HAVE_OPENSSL_MD5_H)
#include <openssl/md5.h>
#else
#include <md5.h>
#endif
#if (NGX_OPENSSL_MD5)
#define MD5Init MD5_Init
#define MD5Update MD5_Update
#define MD5Final ... |
/*-
* Copyright 2009 <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... |
/** @file tc.c
@author <NAME>
@date 30 November 2010
@brief Timer counter routines for AT91SAM7 and SAM4S
@note Only TIOAx can be driven at present.
*/
#include "tc.h"
#include "irq.h"
#include "pio.h"
#include "mcu.h"
#include "bits.h"
#include "pinmap.h"
/* The SAM7 has one ... |
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the Licen... |
/* This module is just a proof of concept. It is not fully tested. Do not use it in production. */
#include <Python.h> /* includes string.h */
/* This assumes little-endianness */
#define ucs_amp (Py_UNICODE) '&'
#define ucs_lt (Py_UNICODE) '<'
#define ucs_gt (Py_UNICODE) '>'
#define ucs_slash (Py_UNICODE) '\\'
#d... |
/* Test EDNS handling in the stub resolver.
Copyright (C) 2016-2020 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 Softwa... |
#include "serial.h"
#include <libopencm3/stm32/rcc.h>
#include <libopencm3/stm32/gpio.h>
#include <libopencm3/stm32/usart.h>
#include <libopencm3/cm3/nvic.h>
#include <errno.h>
#include <stdio.h>
#include <unistd.h>
// See the inspiring file:
// https://github.com/libopencm3/libopencm3-examples/blob/master/examples/s... |
/*
Copyright (C) 1997, <NAME>
*/
#include "syst.h"
#include "syst2.h"
#include "physics.h"
#include "parser.h"
#include "ghosts.h"
#include "prepdiag.h"
#include "rfactor.h"
void copysmonom(s_monom src,s_monom* dst)
{vmrec rec;
vmptr vs, vd;
dst->c = src.c;
vs = src.v;
vd = &rec;
while (vs !... |
/* Slightly modified versions of routines from
* Press, <NAME>., <NAME>, <NAME> and
* <NAME>, 1986, "Numerical Recipes: The Art of
* Scientific Computing" (Fortran), Cambrigde University Press.
*
* svdfit on p. 518.
* svbksb on pp. 57-58.
* svdcmp on pp. 60-64.
* svdvar on p. 519.
*/
#include <stdio.h... |
/* Test expression evaluation (print nothing and exit 0 if successful).
Copyright 2000-2004 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
The GNU MP Library is free software; you can redistribute it and/or modify
it under the terms of either:
* the GNU Lesser General Public License as pu... |
/*
* ISC License
*
* Copyright (C) 2003-2018 by
* <NAME>
* <NAME>
* <NAME>
* Delft University of Technology
*
* 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 appea... |
#include "io.h"
#include "sCatPrintf.h"
#define _FILE_OFFSET_BITS 64
#define _LARGEFILE_SOURCE 1
#define _LARGE_FILE
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <time.h>
#include <sys/times.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.... |
/**
* Copyright 2015 Comcast Cable Communications Management, 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requir... |
/*$Header: /data/petsun4/data1/src_solaris/actmapf_4dfp/RCS/mat_algebra.c,v 1.4 2010/04/25 04:06:58 avi Exp $*/
/*$Log: mat_algebra.c,v $
* Revision 1.4 2010/04/25 04:06:58 avi
* options -J and -c
*
* Revision 1.3 2010/02/15 05:35:51 avi
* options -I and -m
*
* Revision 1.2 2009/12/01 05:32:40 avi
* op... |
#include "defs.h"
#include "globals.h"
#include "types.h"
#include <math.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/times.h>
#include <time.h>
#include <unistd.h>
char GG1[] = "%W% %G%";
/*
Sobre una configuración con una sóla conexión, procede sin paso de testigo y
simula una cola G/G... |
/*
* embedded IPsec
* Copyright (c) 2003 <NAME> and <NAME>, HTI Biel/Bienne
* 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 ab... |
/* =========FOR INTERNAL USE ONLY. NO DISTRIBUTION PLEASE ========== */
/*********************************************************************
Copyright 1999-2007, University of Cincinnati. All rights reserved.
By using this software the USER indicates that he or she has read,
understood and will comply with the f... |
// gsm_dev_os.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include "windows.h"
#include "gsm/gsm.h"
#include "gsm/apps/gsm_mqtt_client_api.h"
#include "gsm/gsm_mem.h"
static void main_thread(void* arg);
DWORD main_thread_id;
static gsmr_t gsm_evt(gsm_evt_t* evt);
static gsmr_t ... |
/***********************************************************************
* *
* This software is part of the ast package *
* Copyright (c) 1992-2010 AT&T Intellectual Property *
* and i... |
/*
* Host AP (software wireless LAN access point) user space daemon for
* Host AP kernel driver / Driver interface for development testing
* Copyright (c) 2004-2005, <NAME> <<EMAIL>>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License ver... |
/*
* GStreamer
* Copyright (C) 2010 Texas Instruments, Inc
*
* 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 versi... |
/*
* XDD - a data movement and benchmarking toolkit
*
* Copyright (C) 1992-23 I/O Performance, Inc.
* Copyright (C) 2009-23 UT-Battelle, LLC
*
* This 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
* F... |
/****************************************************************************/
/* */
/* The FreeType project - a free and portable quality TrueType renderer. */
/* */
/* ... |
/**
******************************************************************************
* File Name : SPI.c
* Description : This file provides code for the configuration
* of the SPI instances.
******************************************************************************
... |
/* memsize.c - MemTest-86 Version 3.3
*
* Released under version 2 of the Gnu Public License.
* By <NAME>
*/
#include "test.h"
#include "defs.h"
#include "config.h"
short e820_nr;
short firmware = FIRMWARE_UNKNOWN;
short memsz_mode = SZ_MODE_EXT;
static ulong alt_mem_k;
static ulong ext_mem_k;
static struct e82... |
/*-
* Copyright (c) 1999 <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 a... |
#include <uwsgi.h>
extern struct uwsgi_server uwsgi;
/*
Exceptions management
generally exceptions are printed in the logs, but if you enable
an exception manager they will be stored in a (relatively big) uwsgi packet
with the following structure.
"vars" -> keyval of request vars
"backtrace" -> list of backt... |
/* dump © 2019 <NAME>
* This program is distributable under the terms of the 2-clause BSD license.
* See COPYING.cpmish in the distribution root directory for more information.
*
* A traditional CP/M stat.com clone. This implements the unbelievably baroque
* and poorly-thought-out stat user interface as closely a... |
/* zztwovxf.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__6 = 6;
static integer c__3 = 3;
/* $Procedure ZZTWOVXF ( Two states defining a frame transformation ... |
/**
* @file state_estimator.c
*
*/
#include <stdio.h>
#include <math.h>
#include <rc/math/filter.h>
#include <rc/math/kalman.h>
#include <rc/math/quaternion.h>
#include <rc/math/matrix.h>
#include <rc/math/other.h>
#include <rc/start_stop.h>
#include <rc/led.h>
#include <rc/mpu.h>
#include <rc/adc.h>
#include <rc/t... |
#include <string.h>
#include <stdlib.h>
#include <stdint.h>
#include <tlhash.h>
/*********************************************************************
* Declarations of the utility functions for obtaining hashes, found *
* at the bottom of this file. *
************************... |
/* pdp1_dcs.c: PDP-1D terminal multiplexor simulator
Copyright (c) 2006-2008, <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 limit... |
// pddx.c This is shmem/pthread version of ddx
#include <stdio.h>
#include <pthread.h>
#include <stdlib.h>
#include <assert.h>
#include <semaphore.h>
#include <unistd.h>
#include "ftw_param.h"
#include "ftw_prng.h"
#include "ftw_types.h"
#include "ftw_std.h"
#include "pddx.h"
pthread_t *threads; // the threads... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.