text stringlengths 5.8k 28.2k |
|---|
#include <errno.h>
#include <math.h>
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <harfbuzz/hb.h>
#include <schrift.h>
#include <utf8proc.h>
#include <buchstabensuppe.h>
#define FALLBACK_CODEPOINT 0xFFFD
#define FONT_SCALE_MULTIPLIER 1
#define LOG... |
/*-------------------------------------------------------------------------
*
* tsvector2.c
* I/O functions for tsvector2
*
* Portions Copyright (c) 1996-2018, PostgreSQL Global Development Group
* Portions Copyright (c) 2018, PostgresPro
*
*--------------------------------------------------------------------... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <unistd.h>
static int leniv=4;
static int useshex;
static char *myfgets(char *str, int len, FILE *file) {
char *pt, *end;
int ch;
for ( pt = str, end = str+len-1; pt<end && (ch=getc(file))!=EOF && ch!='\r' && ch!='\n';... |
/* zzdsksbi.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__24 = 24;
static integer c__8 = 8;
static integer c__3 = 3;
/* $Procedure ZZDSKSBI ( DSK, initialize ... |
#include <string.h>
/* defines, enums ------------------------------------------------------------- */
#define OVR_OVERRIDE_OBJECT_DESC 38
#define OVR_OVERRIDE_ROOM_DESC 39
#define AllocBuf ((void*)0xBB00)
#define NUM_OBJECTS 80
#define NUM_ROOMS 111 /* including null room 0 */
#define A_GO 43
#def... |
/* solve_operators.c -- Functions for several mu-calculus operations.
* Also consider solve.c
*
*
* SCL; 2012-2015
*/
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include "logging.h"
#include "solve.h"
#include "solve_support.h"
extern specification_t spc;
DdNode *compute... |
/*----------------------------------------------------------------------
File : patred.c
Contents: pattern set reduction
Author : <NAME>
History : 2015.08.19 file created
2015.08.19 bugs in function psr_reduce() fixed
----------------------------------------------------------------------*/
#incl... |
/************************************************************/
/********* Interval Censoring data analysis ***********/
/********* by <NAME> on 6/7/07 **********/
/************************************************************/
/*** accepted data file: first p colmuns are covariates, last 2 columns ... |
#include "parse.h"
static FILE *parse_logfile;
static void indent(int length);
static void print_key(char *s);
static void print_ast_member(Member *member, int idt);
static void print_ast_members(Member *members, int idt);
static char *type_kind_string(TypeKind kind);
static void print_ast_type(Type *type, int idt)... |
/*
* inband_telemetry.c
*
* Created on: Jan 03, 2022
* Author: nhnghia
*/
#include "proto_int.h"
#include "proto_int_report.h"
#include "mmt_tcpip_protocols.h"
#include "../mmt_common_internal_include.h"
// indicates an INT header in the packet
#define IPv4_DSCP_INT 0x20
struct _iphdr {
#if BYTE_ORDER ==... |
#include "spvm_native.h"
#include <time.h>
#include <string.h>
#include <stdlib.h>
#include <ctype.h>
#include <locale.h>
static const char* MFILE = "Webkit/Time.c";
// https://code.woboq.org/userspace/glibc/timezone/private.h.html
#define SECSPERMIN 60
#define MINSPERHOUR 60
#define HOURSPERDAY ... |
/*------------------------------------------\
|This file contain functions and definitions|
|used to make the simulator. |
\------------------------------------------*/
#include "reflet.h"
static void run_inst(reflet* vm);
static int byteExchanged(const reflet* vm, bool stack_b);
static void check_align... |
/*
* biop.c
*/
/*
* Copyright (C) 2005, <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 of the License, or
* (at your option) any later version.
*
* This pro... |
/*
* Copyright 2017 <NAME>
*
* See LICENCE for the full copyright terms.
*/
#include <assert.h>
#include <stddef.h>
#include <stdlib.h>
#include <limits.h>
#include <errno.h>
#include <adt/alloc.h>
#include <adt/set.h>
#include <adt/stateset.h>
#include <adt/edgeset.h>
#include <adt/tupleset.h>
#include <fsm/fsm... |
/***************************************************************************
*
* This file is provided under a dual BSD/GPLv2 license. When using or
* redistributing this file, you may do so under either license.
*
* GPL LICENSE SUMMARY
*
* Copyright(c) 2007-2021 Intel Corporation. All rights reserved.
... |
/* This project is based on the MIPS Assembler of CS61C in UC Berkeley.
The framework of this project is been modified to be suitable for RISC-V
in CS110 course in ShanghaiTech University by <NAME> in March 2019.
Updated by <NAME> and <NAME> in March 2021.
*/
#include <stdio.h>
#include <string.h>
#include <s... |
/* Copyright (C) 2001-2021 Artifex Software, Inc.
All Rights Reserved.
This software is provided AS-IS with no warranty, either express or
implied.
This software is distributed under license and may not be copied,
modified or distributed except as expressly authorized under the terms
of the license ... |
/*
Copyright (C) 2009-2010 Samsung Electronics
Copyright (C) 2009-2010 ProFUSION embedded systems
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 t... |
#include "lagrelax.h"
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <assert.h>
#include <stdio.h>
#include <float.h>
double my_cb (void *data, double *mul, double *subg)
{
lagrelax_t *lr = (lagrelax_t*) data;
lagrelax_eval(lr, lr->bundle_lrs->x0, lr->bundle_lrs->x1, mul, subg);
return lr->... |
/*
* rlm_eap_ikev2.c - Handles that are called from eap
*
* This file is part of rlm_eap_ikev2 freeRADIUS module which implements
* EAP-IKEv2 protocol functionality.
*
* 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... |
/*
* name.c
*
* mangle names w/ and w/o commas
*
* Copyright (c) <NAME> 2004-2020
*
* Source code released under the GPL version 2
*
*/
#include <stdio.h>
#include <ctype.h>
#include <string.h>
#include "utf8.h"
#include "unicode.h"
#include "is_ws.h"
#include "str.h"
#include "fields.h"
#include "slist.h"
#in... |
/*
* This file is part of TISEAN
*
* Copyright (c) 1998-2007 <NAME>, <NAME>, <NAME>
*
* TISEAN 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... |
#include "ZUC.h"
/* ——————————————————————- */
typedef unsigned char u8;
typedef unsigned int u32;
/* ——————————————————————- */
/* the state registers of LFSR */
u32 LFSR_S0;
u32 LFSR_S1;
u32 LFSR_S2;
u32 LFSR_S3;
u32 LFSR_S4;
u32 LFSR_S5;
u32 LFSR_S6;
u32 LFSR_S7;
u32 LFSR_S8;
u32 LFSR_S9;
u32 LFSR_S10;
u32 LFSR_S11... |
/*
This example code is in the Public Domain (or CC0 licensed, at your option.)
The names of Turcotronics, Robello and TuT may not be used to endorse or promote
products derived from this software without specific prior written permission.
Unless required by applicable law or agreed to in writing, thi... |
// =====================================================================
// $Revision: 290 $ $Date: 2007-03-04 22:01:54 -0800 (Sun, 04 Mar 2007) $
//
// Driver for BCLS: a bound-constrained least-squares solver.
//
// 25 Aug 05: Original version.
// <NAME>
// <EMAIL>
// University of Br... |
/*
* stylelist.c
* Copyright (C) 1998-2005 <NAME>; Released under GNU GPL
*
* Description:
* Build, read and destroy a list of Word style information
*/
#include <stdlib.h>
#include <stddef.h>
#include <ctype.h>
#include "antiword.h"
/*
* Private structure to hide the way the information
* is stored from the... |
// Copyright (C) 2009-2013 <NAME> <<EMAIL>>
//
// 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. You may not use, modify or
// distribute this program under any other version of the ... |
/*
* This file is part of the GROMACS molecular simulation package.
*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team,
* check out http://www.gromacs.org for more information.
* Copyright (c) 2012,2013, by the GROMACS development team, l... |
#include <stun.h>
// ret
// 0: No error
// 1: socket creation error
// 2: timeout setting error
// 3: invalid server ip
// 4: socket binding error
// 5: sending error
// 6: receiving error
// 7: buffer overflow
int sendSTUNPacket(ip_address* addr, bool change_addr, bool change_port, unsigned short local_port, short co... |
/*
* Copy me if you can.
* by 20h
*/
#include <unistd.h>
#include <stdarg.h>
#include <string.h>
#include <memory.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <time.h>
#include <netdb.h>
#include <sys/socket.h>
#include <sys/stat.h>
#include <netinet/in.h>
#include <neti... |
/*
* TI Touch Screen driver
*
* Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation version 2.
*
* This program is di... |
/* GStreamer
* Copyright (C) <2005> <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.
*
... |
/* _EXECUTE_TEST_C_
*
* MEMSIM GUPS TEST EXECUTION
*
*/
#include <stdio.h>
#include <stdlib.h>
#include <inttypes.h>
#include <string.h>
#include "mem_sim.h"
/* --------------------------------------------- GUPS MACROS */
#define POLY 0x0000000000000007UL
#define PERIOD 1317624576693539401L
/* ----------... |
// Options: --no-arrays --no-pointers --no-structs --no-unions --argc --no-bitfields --checksum --comma-operators --compound-assignment --concise --consts --divs --embedded-assigns --pre-incr-operator --pre-decr-operator --post-incr-operator --post-decr-operator --unary-plus-operator --jumps --longlong --int8 --uint8... |
/* Linux driver for devices based on the DiBcom DiB0700 USB bridge
*
* 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, version 2.
*
* Copyright (C) 2005-6 DiBcom, SA
*/
#include "dib0700.h... |
/*
* Open Surge Engine
* enemy.c - baddies
* Copyright (C) 2008-2010 <NAME> <alemartf(at)gmail(dot)com>
* http://opensnc.sourceforge.net
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation... |
/*
** Copyright (c) , 2004, <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 conditi... |
/* This is a pretty messy implementation of space invaders, but I hope it gets the
* point across as a neat way of showing off some of the rendering.
* As far as "magic numbers" go, most of them are just constants I found that
* worked, except for a few sizes (64 slots in all the arrays, for example), and
* thin... |
/*
*
* Created on: Oct 28, 2013
* Author: liyixiao
*/
#include "am1808.h"
#include "t_stddef.h"
#include "t_syslog.h"
#include "btstack/btstack.h"
#include "bt_control_cc256x.h"
#include "remote_device_db.h"
#include "tl16c550.h"
#include "kernel_cfg.h"
#include "driver_common.h"
#include "string.h"
#include... |
/*-
* Copyright (c) 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 a... |
/* $OpenBSD: tcpcib.c,v 1.8 2014/12/10 12:27:57 mikeb Exp $ */
/*
* Copyright (c) 2012 <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 cop... |
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include "gui.h"
#include "gui_config.h"
static int imin( int a, int b ) { return a < b ? a : b; }
static int imax( int a, int b ) { return a > b ? a : b; }
static int point_in_box( BBox *b, int x, int y )
{
return x >= b->x0
&& x <= b->x1
&& y >= b->y0
&... |
/*
Author: <NAME> <<EMAIL>>
Copyright (c) 2015 Cromulence LLC
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, m... |
/****************************************************************************/
/*
* A simple program to manipulate flat files
*
* Copyright (C) 2001-2003 SnapGear Inc, <EMAIL>
* Copyright (C) 2001 Lineo, <EMAIL>
*
* This is Free Software, under the GNU Public Licence v2 or greater.
*
*/
/***********************... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "cutils.h"
#include "iomem.h"
#include "virtio.h"
#include "machine.h"
void virt_machine_run(VirtMachine* opaque);
VirtMachine* myvm;
VirtMachineParams myparam;
// library stubs
void
console_write(void* ctx, const uint8_t* buf, int len){
}
void
c... |
/**
******************************************************************************
* File Name : relay.c
* Created : 03/31/2016
* Version : 1.0
* Author : <NAME>
* Description : Relay setup functions.
* License : The MIT Open-source License (M... |
//
// Created by palulukan on 6/26/20.
//
#include "dl11.h"
#include "log.h"
#include "task_scheduler.h"
#include <string.h>
#include <assert.h>
#include <stdlib.h>
#define DL11_IRQ_PRIORITY 4
#define DL11_XMIT_TIME_MS 1
// RCSR - Receiver Status Register
// Bit Designation
// 0 RDR ENB (Reader Enable)
// 1 ... |
/*
* Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... |
/* Copyright (c) 2013-2015 <NAME>
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "psp2-context.h"
#include <mgba/core/blip_buf.h>
#include <mgba/core... |
/***************************************************************************
* Copyright (C) 2004, 2006 Symbian Software Ltd. *
* All rights reserved. *
* Copyright (C) 2007, 2008 <NAME>, <EMAIL> *
* All rights reserved.... |
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (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
* or http://www.opensolar... |
/* Test clCreateSubDevices
Copyright (C) 2015 <NAME> <<EMAIL>>
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 <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "video.h"
// C64 vic interrupts
#define VIC_IRQ_RASTER 0x01
#define VIC_IRQ_SPRBGR 0x02
#define VIC_IRQ_SPRSPR 0x04
#define VIC_IRQ_LPEN 0x08
extern int xscr;
extern int yscr;
extern unsigned char col;
extern unsigned char ink;
extern unsigned char ... |
/* falloc.c - The file space management routines for dbm. */
/* This file is part of GDBM, the GNU data base manager.
Copyright (C) 1990-1991, 1993-1994, 2007, 2011, 2013, 2017 Free
Software Foundation, Inc.
GDBM is free software; you can redistribute it and/or modify
it under the terms of the GNU General... |
/*
* Written by Dr <NAME> (<EMAIL>) for the OpenSSL project
* 2000.
*/
/* ====================================================================
* Copyright (c) 2000-2004 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted ... |
/**
* Code adapted from Arduino-JTAG;
* portions copyright (c) 2015 <NAME> <marcelo.jimenez (at) gmail (dot) com>.
* portions copyright (c) 2019 <NAME> <<EMAIL>>
* portions copyright (c) 2019 Great Scott Gadgets <<EMAIL>>
*/
#include <ftdi.h>
#include <string.h>
#include <stdio.h>
#include <stdint.h>
#in... |
/*
* Copyright (c) 2007, 2008 University of Tsukuba
* Copyright (c) 2010 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... |
/* Copyright 2003-2018, University Corporation for Atmospheric
* Research. See the COPYRIGHT file for copying and redistribution
* conditions.
*/
/**
* @file @internal Internal netcdf-4 functions for filters
*
* This file contains functions internal to the netcdf4 library. None of
* the functions in this file ar... |
#include <pthread.h> //> pthread_spinlock_t
#include <limits.h>
#include "alloc.h"
#define MINVAL -999999
#define CACHE_LINE_SIZE 64
typedef struct bst_node {
int key;
int valid; //> Valid = 1 => node exists, otherwise valid = 0
struct bst_node *pred;
struct bst_node *succ;
struct bst_node *parent;
struct b... |
/* FPACK
* <NAME>, NOAO, with a few enhancements by <NAME>, HEASARC
*
* Calls fits_img_compress in the CFITSIO library by <NAME>, HEASARC
*/
#include <ctype.h>
/* #include <signal.h> */
#include "fitsio.h"
#include "fpack.h"
/* ================================================================== */
int main(int arg... |
//
// Copyright (c) 2017 Intel Corporation
//
// 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, p... |
/* -*- Mode: c; tab-width: 8; c-basic-offset: 4; indent-tabs-mode: t; -*- */
/* cairo - a vector graphics library with display and print output
*
* Copyright © 2002 University of Southern California
* Copyright © 2005 Red Hat, Inc.
* Copyright © 2009 <NAME>
*
* This library is free software; you can redistribute ... |
/*
* Eeprom object for Microchip PIC32MX microcontroller.
*
* @file eeprom.c
* @author <NAME>
* @copyright 2004 - 2020 <NAME>
*
* This file is part of CANopenNode, an opensource CANopen Stack.
* Project home page is <https://github.com/CANopenNode/CANopenNode>.
* For more information on CANopen s... |
/*
* Copyright 2020 <NAME> <<EMAIL>>
* Copyright 1998-2007 <NAME> <<EMAIL>>.
*
* 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
* r... |
/*
* cangen.c - CAN frames generator for testing purposes
*
* Copyright (c) 2002-2007 Volkswagen Group Electronic Research
* 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. Redistrib... |
/* Copyright 2020 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 "mock/tcpci_i2c_mock.h"
#include "task.h"
#include "tcpci.h"
#include "test_util.h"
#include "timer.h"
#ifndef TEST_BUILD
#error "Mocks s... |
/*
* This file is part of the Sofia-SIP package
*
* Copyright (C) 2006 Nokia Corporation.
*
* Contact: <NAME> <<EMAIL>>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* as published by the Free Software Foundation;... |
/*
* -----------------------------------------------------------------
* $Revision: 1.2 $
* $Date: 2007/04/06 20:33:30 $
* -----------------------------------------------------------------
* Programmer(s): <NAME> @ LLNL
* -----------------------------------------------------------------
* Copyright (c) 2005, The... |
/*
* This file is part of the MicroPython project, http://micropython.org/
*
* The MIT License (MIT)
*
* Copyright (c) 2020 <NAME> for Adafruit Industries LLC
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), ... |
/* Copyright (c) 2017, <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 the... |
/*
* siteHash.c
*
* Copyright(c) 1998 - 2009 Texas Instruments. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* m... |
/* cgeesx.f -- translated by f2c (version 20061008).
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 of... |
/*
Copyright (c) 2021, <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 the follow... |
// SPDX-License-Identifier: GPL-2.0+
/* NetworkManager Applet -- allow user control over networking
*
* <NAME> <<EMAIL>>
*
* Copyright 2007 - 2014 Red Hat, Inc.
*/
#include "nm-default.h"
#include "nma-private.h"
#include <ctype.h>
#include <string.h>
#include "eap-method.h"
#include "wireless-security.h"
#incl... |
/* ********************************************************************************************* */
/* * C Template for Kernel Execution * */
/* * Author: <NAME> * */
/* ********************************... |
/*****************************************************************
* SQUID - a library of functions for biological sequence analysis
* Copyright (C) 1992-2002 Washington University School of Medicine
*
* This source code is freely distributed under the terms of the
* GNU General Public License. See the fi... |
#define _SAME70_TARGET_UART_C_SRC
//-------------------------MODULES USED-------------------------------------
#include <stdint.h>
#include "same70_target_uart.h"
//-------------------------DEFINITIONS AND MACORS---------------------------
//-------------------------TYPEDEFS AND STRUCTURES-----------------------... |
/* $Id: ml_SN_intr.c,v 1.1.1.4 2003/10/14 08:07:23 sparq Exp $
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Copyright (C) 1992-1997, 2000-2002 Silicon Graphics, Inc. All Rights Reser... |
/**
* @file
* Ein-/Ausgabe-Modul.
* Das Modul kapselt die Ein- und Ausgabe-Funktionalitaet (insbesondere die GLUT-
* Callbacks) des Programms.
*
* Bestandteil einer Uebung im Rahmen des Moduls Praktikum Grundlagen der Computergrafik
* an der FH Wedel.
*
* @author <NAME>, <NAME>
*/
/* ---- System Header einb... |
// SPDX-License-Identifier: GPL-2.0
/* Copyright (c) 2019 Facebook */
#include <netinet/in.h>
#include <arpa/inet.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <bpf/bpf.h>
#include <bpf/libbpf.h>
#include <linux/compiler.h>
#include "network_helpers.h"
#include "cgroup_he... |
/*-
* Copyright (c) 1980, 1993
* The Regents of the University of California. All rights reserved.
*
* %sccs.include.redist.c%
*/
#ifndef lint
static char copyright[] =
"@(#) Copyright (c) 1980, 1993\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */
#ifndef lint
st... |
#include <string.h>
#include <mpi.h>
#include <math.h>
#include <alloca.h>
#include <gsl/gsl_errno.h>
#include <gsl/gsl_math.h>
#include <gsl/gsl_integration.h>
#include <fastpm/libfastpm.h>
#include <fastpm/logging.h>
#include <fastpm/string.h>
#include "pmpfft.h"
void
fastpm_powerspectrum_init(FastPMPowerSpectrum ... |
/*
* rmm.c
*
* DSP-BIOS Bridge driver support functions for TI OMAP processors.
*
* Copyright (C) 2005-2006 Texas Instruments, Inc.
*
* This package 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 Found... |
#include "matrix.h"
// Documentation for MPC
// http://www.multiprecision.org/downloads/mpc-1.2.1.pdf
long modd(long A, long B) {
if (B == 0) return -1;
long k = A/B;
long rtn = A - k*B;
if (rtn < 0) rtn += B;
return rtn;
}
matrix_t * make_matrix(long col, long row) {
matrix_t * rtn = (matrix_t *) malloc(siz... |
/*************************************************
*
* filename: cleaner.c
*
* CSC 552 LFS Project Phase 1
*
* <NAME> <EMAIL>
*
* <NAME> <EMAIL>
*
* A LFS layer header definition
*************************************************/
#include "log.h"
#include "fsmeta.h"
#include "cleaner.h"
int avail_seg_c... |
/* $Id: nexh.h,v 1.1.1.1 2002/07/02 14:57:34 oye Exp $ */
# define NEXRAD_FILE_NAME "ARCHIVE2"
/* message types
*/
# define DIGITAL_RADAR_DATA 1
# define RDA_STATUS_DATA 2
# define PERFORMANCE_MAINTENANCE_DATA 3
# define CONSOLE_MESSAGE_A2G 4
# define MAINTEN... |
/* cDnaAligns - Objects to read and score sets of cDNA alignments. Filtering decissions are
* not made here*/
/* Copyright (C) 2013 The Regents of the University of California
* See README in this or parent directory for licensing information. */
#include "common.h"
#include "cDnaAligns.h"
#include "cDnaStats.h"
#i... |
#include "common.h"
#include "config.h"
#include "defaults.h"
#include "controller.h"
#include "breathing.h"
#include "platform.h"
#include <adaptation.h>
#include <math.h>
#include <string.h>
//----------------------------------------------------------
// Private defines
//-------------------------------------------... |
/* $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.... |
/*
* Copyright (c) 2016-2018, The Linux Foundation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted (subject to the limitations in the
* disclaimer below) provided that the following conditions are met:
*
* * Redistributions of source c... |
/****************************************************************************
*
* Copyright (c) 2013-2014 PX4 Development Team. All rights reserved.
* Author: <NAME> <<EMAIL>>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following condi... |
/*****************************************************************************
* Copyright (c) 2017, Cisco Systems, Inc.
* All rights reserved.
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* 1. Redistributions of so... |
/* tinymix.c
**
** Copyright 2011, The Android Open Source Project
**
** 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... |
/*-
* Copyright (c) 1980, 1989, 1993
* The Regents of the University of California. 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 abov... |
#include <stdio.h>
#include <unistd.h>
#include <errno.h>
#include <string.h>
#include <stdlib.h>
#define MAX_LINE 80 /* 80 chars per line, per command, should be enough. */
/* The setup function below will not return any value, but it will just: read
in the next command line; separate it into distinct arguments (usin... |
/*-------------------------------------------------------------------------------
* EDACS96 rtl_fm decoder
*
*
* rtl_fm sample rate 28.8kHz (3*9600baud - 3 samples per symbol)
*
*
* XTAL Labs
* 3 V 2016
*-----------------------------------------------------------------------------*/
#define _GNU_SO... |
/*
* s2mu005-irq.c - Interrupt controller support for s2mu005
*
* Copyright (C) 2015 Samsung Electronics Co.Ltd
*
*
* 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 "MSPd.h"
static t_class *sigseq_class;
#define MAX_VEC 2048
#define MAX_SEQ 1024
#define internal_clock 1
#define EXTERNAL_CLOCK 2
#define OBJECT_NAME "sigseq~"
typedef struct _sigseq
{
t_object x_obj;
float x_f;
// Variables Here
float *sequence;
float *trigger_vec; // stores vector with trigg... |
/*-
* CAM ioctl compatibility shims
*
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2013 <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. Redistribution... |
/*
X G N O K I I
A Linux/Unix GUI for the mobile phones.
This file is part of gnokii.
Copyright (C) 1999 <NAME>., <NAME>
& 1999-2005 <NAME>.
Copyright (C) 2002 <NAME>
*/
#include "config.h"
#include <string.h>
#include <gtk/gtk.h>
#include "misc.h"
#include "gnokii.h"
#include "xgnokii_common.h"
#inc... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.