text
stringlengths
7.55k
41.9k
/* * Copyright (C) 2005 by <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, copy, modify, merge,...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <CL/cl.h> #include "ml_typedef.h" #include "mlcl.h" #include "pz_file.h" const ml_byte PS_OPEN_SOURCE = 0, PS_GET_PLATFORM_COUNT = 1, PS_INITIALIZE_PLATFORM_STRUCT = 2, PS_FETCH_PLATFORM ...
#include "framework/logger.h" #include "framework/maths.h" #include "framework/parsing.h" #include "framework/containers/ref.h" #include "framework/containers/strings.h" #include "framework/graphics/material.h" #include "framework/graphics/gpu_misc.h" #include "framework/graphics/gpu_objects.h" #include "framework/gr...
/** * @file menu_targets.c * @brief Contains the menu actions for the 'Targets' menu. * @author Copyright (c) 2019 Quantum Corporation */ #ifndef _GNU_SOURCE #define _GNU_SOURCE #endif #include <stdio.h> #include <stdlib.h> #include <cdk.h> #include <assert.h> #include "prototypes.h" #include "system.h" #include...
/* * LPDDR flash memory device operations. This module provides read, write, * erase, lock/unlock support for LPDDR flash memories * (C) 2008 <NAME> <<EMAIL>> * (C) 2008 <NAME> <<EMAIL>> * Many thanks to <NAME> for initial enabling * * This program is free software; you can redistribute it and/or * modify it un...
/* Caching facts about regions of the buffer, for optimization. Copyright (C) 1985, 1986, 1987, 1988, 1989, 1993, 1995 Free Software Foundation, Inc. This file is part of GNU Emacs. GNU Emacs is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published ...
/*------------------------------------------------------------------------- * * be-secure-gssapi.c * GSSAPI encryption support * * Portions Copyright (c) 2018-2019, PostgreSQL Global Development Group * * IDENTIFICATION * src/backend/libpq/be-secure-gssapi.c * *----------------------------------------------...
#include "spinc.h" #include "spdb.h" #include "sphtml.h" #include "sptinc.h" /* local data */ static char *fileStoreBuf; static MYSQL *toolSqlHandler; static char gloTabName[MIDDLE_BUF]; static char contSaveDic[NAMBUF_LEN]; static char modFileName[FNAME_LEN]; static char urlPatternStore[][PATTERN_LEN] = { "mofcom.g...
/** * \file * * \brief SAM toolkit demo application. * * Copyright (c) 2012-2018 Microchip Technology Inc. and its subsidiaries. * * \asf_license_start * * \page License * * Subject to your compliance with these terms, you may use Microchip * software and any derivatives exclusively with Microchip products....
/* -*- C -*- */ /* * Copyright (c) 2013-2020 Seagate Technology LLC and/or its Affiliates * * 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...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <stdarg.h> /*--------------------------------------------------------------------------*/ /* */ /* ISOTROPIC NONLINEAR DIFFUSION FILTE...
#include "emu.h" #include "includes/gstriker.h" //UINT16 *gs_videoram3; //UINT16 *gs_mixer_regs; UINT16 *gstriker_lineram; /*** VS920A (score tilemap) **********************************************/ /* VS920A - (Very) Simple tilemap chip ----------------------------------- - 1 Plane - Tile...
// lab4_skel.c // <NAME> // 11.12.08 #define F_CPU 16000000 // cpu speed in hertz #include <avr/io.h> #include <util/delay.h> #include <avr/interrupt.h> #include <string.h> #define DIG_ONE 0x01 #define DIG_TWO 0x11 #define DIG_THREE 0x31 #define DIG_FOUR 0x41 #define COLON 0x21 /* These are the routines...
/** * Sphere: the JavaScript game platform * Copyright (c) 2015-2022, <NAME> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the abov...
/* * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file. * * Copyright 2007-2020 Broadcom Inc. All rights reserved. */ /* * Feature : Trace Event, copy 'Ingress Pipeline: Station Move for Static L2 Source address' packets to CPU. *...
static char help[] = "Unstructured 2D FEM solution of nonlinear Poisson problem. Option prefix un_.\n" "Equation is\n" " - div( a(u,x,y) grad u ) = f(u,x,y)\n" "on arbitrary 2D polygonal domain, with boundary data g_D(x,y), g_N(x,y).\n" "Functions a(), f(), g_D(), g_N(), and u_exact() are given as formulas.\n" "Inp...
/* * Copyright (c) 2013, <NAME> <<EMAIL>> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this * list of condi...
/*** ------------------------------------------------------------------------------ *** * * Copyright (C) 2015, <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...
/******************************************************************************* * FILE NAME: user_routines.c <FRC VERSION> * * DESCRIPTION: * This file contains the default mappings of inputs * (like switches, joysticks, and buttons) to outputs on the RC. * * USAGE: * You can either modify this file to fit your...
#include <stdio.h> #include <math.h> #include <string.h> #include <stdlib.h> #include <cpgplot.h> #define CURRENT_COMP_MORSE "morse" #define TESTING "testing" #ifndef EXIT_FAILURE #define EXIT_FAILURE 1 #endif #ifndef EXIT_SUCCESS #define EXIT_SUCCESS 0 #endif // general variables double pi = 3.1415926; doubl...
/*- * Copyright (c) 2003-2009 RMI Corporation * 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 o...
#include <pthread.h> //> pthread_spinlock_t #include <limits.h> #include "alloc.h" #define CACHE_LINE_SIZE 64 #define MINVAL -999999 #define MAX(a, b) ((a) > (b) ? (a) : (b)) #define GET_BALANCE_FACTOR(node) ( node->leftHeight - node->rightHeight ) typedef struct avl_node { int key; int valid; //> Valid = 1 => ...
/* Dia -- an diagram creation/manipulation program * Copyright (C) 1998, 1999 <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...
/*-------------------------------------------------------------------- This source distribution is placed in the public domain by its author, <NAME>. You may use it for any purpose, free of charge, without having to notify anyone. I disclaim any responsibility for any errors. Optionally, please be nice and tell me if ...
/* File: startup_stm32f4xx.c * Purpose: startup file for stm32f4xx Cortex-M4 device. * Should be used with GCC 'GNU Tools ARM Embedded' * Version: CMSIS v4.2.0 * Date: 07 March 2015 * * Created from the CMSIS template for the specified device * Quantum Leaps, www.state-machine.com * * NOTE: The functi...
/* * fauxcon - virtual console connection for keyboard and mouse * * Licensed under the MIT License * Copyright (c) 2014 <NAME> <EMAIL> * See LICENSE.md for specifics. * * A simple utility to allow connecting to the CONSOLE keyboard and * mouse (TODO: add mouse passthrough) * * In its simplest mode, it takes ...
// Copyright 2018 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #pragma once #define KB(x) (x << 10) #define MB(x) (x << 20) #...
/** * EIA-FR - Embedded Systems 1 laboratory * * Abstract: LCLD - Liquid Crystal Display Controller * * Author: <NAME> * Date: 12.12.2013 */ #include <stdio.h> #include <string.h> #include <stdbool.h> #include <imx27_clock.h> #include "lcdc.h" #define LCD_BITMAP_SIZE (LCD_WIDTH*LCD_HEIGHT*2) /* Bit defi...
/* Steg, by <NAME> Convert an ASCII message into a series of sine waves. This work is made available under the Creative Commons Attribution license. https://creativecommons.org/licenses/by/4.0/ */ #include <math.h> #include <stdint.h> #include <stdio.h> #include <string.h> #include <unistd.h> #include "wavfile.c"...
/* * This software is copyrighted as noted below. It may be freely copied, * modified, and redistributed, provided that the copyright notice is * preserved on all copies. * * There is no warranty or other guarantee of fitness for this software, * it is provided solely "as is". Bug reports or fixes may be sent ...
/* * Copyright (C) 2018 FIX94 * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. */ #include <stdio.h> #include <stdbool.h> #include <inttypes.h> #include <string.h> #include "../mapper_h/common.h" #include "../mapper.h" #include "../mem.h" ...
/* dskrb2.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 doublereal c_b4 = .33333333333333331; /* $Procedure DSKRB2 ( DSK, determine range bounds for plate set ) */ /* Su...
/* * * trousers - An open source TCG Software Stack * Deep Quote * Author: <NAME> <<EMAIL>> * */ #include <stdlib.h> #include <stdio.h> #include <string.h> #include <inttypes.h> #include "trousers/tss.h" #include "trousers/trousers.h" #include "trousers_types.h" #include "spi_utils.h" #include "capabilities.h"...
/************************************************************************* snaphu main source file Written by <NAME> Copyright 2002 Board of Trustees, Leland Stanford Jr. University Please see the supporting documentation for terms of use. No warranty. *******************************************************...
/* ################################################# * # stochastic simulation of adapting populations # * # with varying constraint type # * # and exponential mutation kernel # * ################################################# * * 2012-2015, <NAME>, <EMAIL> * * * ##########...
/* 2015 - tiny Thumb2 disassembler based on winedbg code */ #include <stdio.h> #include <stdlib.h> #include <string.h> #define ARM_INSN_SIZE 4 #define THUMB_INSN_SIZE 2 #define THUMB2_INSN_SIZE 4 #define ROR32(n, r) (((n) >> (r)) | ((n) << (32 - (r)))) #define get_cond(ins) tbl_cond[(ins >> 28) & 0x0f...
#include<stdio.h> //********************************************// //** bound and body are two functions that **// //** are used in CPU parallel **// //** bound : PML boundary part **// //** body : real medium part **// //********************************************// do...
/* * File: rasterize.c * * Triangle setup and rasterization. The algorithm uses the plane equation to compute * attributes per pixel. * * This polygon rasterize code was originally part of an "algorithm simulator" * used to develop GPU hardware, firmware and drivers. * * Accordingly, this code is really low-l...
/******************************************************************************* * Copyright (c) 2009-2014, MAV'RIC Development Team * 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...
/* * Copyright (C) 2009 <NAME> <<EMAIL>> * * This file may be redistributed under the terms of the * GNU Lesser General Public License. */ #include <ctype.h> #include <limits.h> #include <dirent.h> #include <fcntl.h> #include "at.h" #include "mangle.h" #include "mountP.h" #include "pathnames.h" static inline ch...
/* Copyright (c) 2014, <NAME> * 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. Redistributions of source code must retain the above copyright notice, * ...
#include "picoquic_internal.h" /* * Author: <NAME> * Copyright (c) 2017, Private Octopus, Inc. * All rights reserved. * * 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...
#include "univ.h" Line *Lsent; Rectangle Trect; Attrib Attributes; int CharsWide; Line FakeLine; Image *Osbm; char Tilde; #ifdef SCROLL static Image *Bkup; #endif void DoubleOutline( Image *b, Rectangle r ){ extern Image *padcols[]; border(b, r, Outlinewidth, padcols[BORD], ZPoint); } void HeavyBorder( Pad *p ){ ...
/* * contexthub_pm.c * * functions for sensorhub pm * * Copyright (c) 2012-2019 Huawei Technologies Co., Ltd. * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundation, and * may be copied, distributed, and modified under those ter...
#include <inc/cl_init.h> #include "../inc/cl_tools.h" #include "../inc/cl_log.h" #include "../inc/cl_init.h" // The class name with package path. #define CLASS_JNI_TEST com_rhino_jnitest_jni_test_JniTest #define JNI_TEST_NAME(FUNC) NAME2(CLASS_JNI_TEST, FUNC) #define CLASS_TEST_OBJ_PARAM "com/rhino/jnitest/jni/te...
/* * CDDL HEADER START * * The contents of this file are subject to the terms of the * Common Development and Distribution License, Version 1.0 only * (the "License"). You may not use this file except in compliance * with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * o...
/* ------------------------------------------------------------------ * Copyright (C) 2016 <NAME>. * Based on wavreader.c, copyright (C) 2009 <NAME>, * from libfdk-aac's aac-enc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. ...
/* * Tulip Indicators * https://tulipindicators.org/ * Copyright (c) 2010-2018 Tulip Charts LLC * <NAME> (<EMAIL>) * * This file is part of Tulip Indicators. * * Tulip Indicators is free software: you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as published b...
/** * @file main.c * @author <NAME> <<EMAIL>> * @date Wed May 16 16:03:10 2012 * @version $Id: main.c 3017 2012-12-07 10:56:20Z bcagri $ * * @brief Main entry point for running join implementations with given command * line parameters. * * (c) 2012, ETH Zurich, Systems Group * * @mainpage Main-Memo...
/****************************************************************************** * * * Copyright (C) 2018 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except ...
/* * RTMP input format * Copyright (c) 2009 <NAME> * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your o...
/*- * Copyright (c) 2001 <NAME> * Copyright (c) 2002 - 2008 <NAME> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * - Redistributions of source code must retain the above copyrigh...
/* $Id: tables.c,v 1.10 2005-02-16 21:08:49 martin Exp $ */ #include "tables.h" table_t knight_position = { -15,-10,-6,-5,-5,-6,-10,-15,BAD,BAD,BAD,BAD,BAD,BAD,BAD,BAD, -8,-7,-2,+0,+0,-2,-7,-8,BAD,BAD,BAD,BAD,BAD,BAD,BAD,BAD, -5,-2,+5,+5,+5,+5,-2,-5,BAD,BAD,BAD,BAD,BAD,BAD,BAD,BAD, -4,+0,+5,+10,+10,+5,+0,-4,B...
/* * OMAP5 thermal driver. * * Copyright (C) 2011-2012 Texas Instruments Inc. * Contact: * <NAME> <<EMAIL>> * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundation, and * may be copied, distributed, and modified under those terms...
/* * SPDX-License-Identifier: BSD-3-Clause * Copyright(c) 2020 Ericsson AB */ #include "common_tp.h" #include "ctl.h" #include "epoll_reg.h" #include "log_tp.h" #include "log_utls.h" #include "util.h" #include "xcm.h" #include "xcm_addr.h" #include "xcm_addr_limits.h" #include "xcm_tp.h" #include <arpa/inet.h> #in...
/* * Copyright (c) 1983, 1993, 1994 * 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 above...
#include "video.h" #include <stdlib.h> #include <stdio.h> #include <string.h> // full line 341 dots // nes layout: 256x240 = 32x30 of 8x8 tiles // hblank: 85 dots ? // vblank: 20 lines // 1 cpu tick = 3 dots // palette taken here: // https://en.wikipedia.org/wiki/List_of_video_game_console_palettes#NES xColor nesPa...
/******************************************************************************* * Copyright (C) Marvell International Ltd. and its affiliates * * This software file (the "File") is owned and distributed by Marvell * International Ltd. and/or its affiliates ("Marvell") under the following * alternative licensing t...
#include "common.h" #define BASE_START_AGE 15 /* History starts at this age */ #define REPEAT_EVENTS false /* Can background events repeat */ /* tokens which will be replaced in descriptions and events #they# : he or she #their# : his or her #them# : him or her #gender# : man or woman #age# : current age #aan# : a o...
/* * Copyright © 2009 Apple Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * 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 not...
/* * Copyright (c) 2014, <NAME> <<EMAIL>> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this * list of condi...
#include <stdio.h> #include <stdlib.h> #include <stdbool.h> #include <string.h> #include <time.h> #include <poll.h> #include <errno.h> #include "types/myTypes.h" #include "cerver/game/game.h" #include "cerver/game/player.h" #include "cerver/game/lobby.h" #include "collections/dllist.h" #include "collections/avl.h"...
#include <errno.h> #include "nl80211.h" #include "iw.h" static int parse_rate_chunk(const char *arg, __u8 *nss, __u16 *mcs, unsigned int mode) { unsigned int count, i; unsigned int inss, mcs_start, mcs_end, tab[12]; unsigned int max_mcs = 0, max_nss = 0; *nss = 0; *mcs = 0; if (mode == NL80211_TXRATE_HE) { ...
/* ----- Pic Render Routines _RenderOverlay cseg 00006379 00000005 _RenderPic cseg 0000637E 00000030 _PicCmdLoop cseg 000063AE 0000001F _EnablePicDraw cseg 000063CD 00000021 _DsablePicDraw cseg 000063EE...
/* * Copyright (c) 2015 The WebM 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 contributin...
#line 1 "parser.rl" /** * Copyright (c) 2005 <NAME> * You can redistribute it and/or modify it under the same terms as Ruby. */ #include "parser.h" #include <stdio.h> #include <assert.h> #include <stdlib.h> #include <ctype.h> #include <string.h> #define LEN(AT, FPC) (FPC - buffer - parser->AT) #define MARK(M,FPC) (...
/* SPDX-License-Identifier: BSD-3-Clause * Copyright(c) 2018 Intel Corporation */ #include <string.h> #include <rte_bus_vdev.h> #include <rte_common.h> #include <rte_ethdev.h> #include <rte_eth_ring.h> #include <rte_eventdev.h> #include <rte_event_eth_tx_adapter.h> #include <rte_mbuf.h> #include <rte_mempool.h> #in...
#include <errno.h> #include <poll.h> #include <limits.h> #include <setjmp.h> #include <stdio.h> #include <string.h> #include <stdlib.h> #include <time.h> #include <arpa/inet.h> #include <sys/types.h> #include <sys/time.h> #include <dirent.h> #include <fcntl.h> #include <unistd.h> /* for getopts */ #include <net/if_ar...
#pragma ident "%Z%%M% %I% %E% SMI" /* ** ** The author disclaims copyright to this source code. In place of ** a legal notice, here is a blessing: ** ** May you do good and not evil. ** May you find forgiveness for yourself and forgive others. ** May you share freely, never taking more than you give. ** ***...
/* i1620_dp.c: IBM 1311 disk simulator Copyright (c) 2002-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 limitation the ...
/* $Id: warlords.c,v 1.46 2014/02/05 21:53:19 moonsdad Exp $ */ /****************************************************************************** * Warlords And Scumbags * * warlords.c -- The Client main file. * *************...
/* zep.c, Zep Emacs, Public Domain, <NAME>, 2017, Derived from: Anthony's Editor January 93 */ #include <stdlib.h> #include <assert.h> #include <curses.h> #include <stdio.h> #include <fcntl.h> #include <sys/stat.h> #include <ctype.h> #include <string.h> #include <unistd.h> #define E_NAME "zep" #define E_VERS...
/**** BSIM4.6.2 Released by Wenwei Yang 07/31/2008 ****/ /**** BSIM4.6.4 Update ngspice 08/22/2009 ****/ /********** * Copyright 2006 Regents of the University of California. All rights reserved. * File: b4noi.c of BSIM4.6.2. * Author: 2000 <NAME> * Authors: 2001- <NAME>, <NAME>, <NAME>, <NAME>. * Authors: 2006- <...
/* * iostream.c: Buffered file input and output streams with automatic error * checking and extra features such as gzip compression. */ /* * Copyright (C) 2012 <NAME> * Copyright (C) 2012, 2013, 2014 <NAME> * * This file is part of FLASH, a fast tool to merge overlapping paired-end * reads. * * FLASH is fre...
/*-------------- Telecommunications & Signal Processing Lab --------------- McGill University Routine: int AFfRdAlaw (AFILE *AFp, float Dbuff[], int Nreq) int AFfRdMulaw (AFILE *AFp, float Dbuff[], int Nreq) int AFfRdMulawR (AFILE *AFp, float Dbuff[], int Nreq) Purpose: Read 8-bit...
/********************************************************************** Copyright(c) 2011-2016 Intel Corporation All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source co...
#include <stdio.h> #include <avr/io.h> #include <avr/interrupt.h> #include <avr/wdt.h> #include <avr/pgmspace.h> #include <avr/sleep.h> #include "bits.h" #include "usb.h" #include "radio.h" #include "cc1101.h" #define RED1 7 #define GREEN1 6 #define GREEN2 5 #define RED2 4 #define printf_P(x, ...) enum { // No...
/*++ Copyright (c) 1997-1999 Microsoft Corporation --*/ // NTRAID#NTBUG9-553896-2002/03/19-yasuho-: mandatory changes #include "pdev.h" #include "lgcomp.h" // // File: LGCOMP.C // // Implementations of LG compression algprithms on the // LG "Raster 1" printers. // // printer command: // <9B>...
#include "config.h" #include <stdlib.h> #include <stdio.h> #include <unistd.h> #include <string.h> #include "mp_msg.h" #include "osdep/timer.h" #include "input/input.h" #include "stream.h" #include "libmpdemux/demuxer.h" #include "stream_dvdnav.h" #include "libvo/video_out.h" #include "libavutil/common.h" #include "sp...
/** * SECTION:element-ebur128 * * Calculates the EBU-R 128 Loudness of an Audio-Stream and emits them as * Message * * <refsect2> * <title>Example launch line</title> * |[ * gst-launch-1.0 -m audiotestsrc ! \ audio/x-raw,format=S16LE,channels=2,rate=48000 ! \ ebur128 ! autoaudiosink * ]| * </refs...
/* sendip.c - main program code for sendip * Copyright 2001 <NAME> <<EMAIL>> * Distributed under the GPL. See LICENSE. * Bug reports, patches, comments etc to <EMAIL> * ChangeLog since 2.0 release: * 27/11/2001 compact_string() moved to compact.c * 27/11/2001 change search path for libs to include <foo>.so * 23...
/* Many of the following #defines are completely unused for the nonce. For each character, its code point in code page 437, Unicode, and page 8859-1 are given. The first is used for non-wide builds in Win32 console, DOS, SDL, and OS/2. Unicode is used for all wide builds, and for the non-wide build of WinGUI. ...
/* $OpenBSD: cgthree.c,v 1.35 2003/08/01 19:24:47 miod Exp $ */ /* * Copyright (c) 2001 <NAME> (<EMAIL>) * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source co...
/* * Marvell Wireless LAN device driver: AP specific command handling * * Copyright (C) 2012, Marvell International Ltd. * * This software file (the "File") is distributed by Marvell International * Ltd. under the terms of the GNU General Public License Version 2, June 1991 * (the "License"). You may use, redis...
#include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "chunk.h" #include "common.h" #include "compiler.h" #include "log.h" #include "memory.h" #include "object.h" #include "scanner.h" #ifdef DEBUG_PRINT_CODE #include "debug.h" #endif typedef struct { Token current; Token pre...
/* The MIT License (MIT) * * Copyright (c) 2018 Monetra Technologies, 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 righ...
/* SM64 Level Script Decoder shygoo 2017 License: MIT */ #include <stdio.h> #include <stdint.h> #include <stdlib.h> #include <stdarg.h> #include <string.h> #include "lsdec.h" #define LSD_MAX_SCRIPTS 70 #define LSD_INDENT_STR " " #define SWAP16(i) ((((i) & 0xFF) << 8) | (((i) & 0xFF00) >> 8)) #define SWAP32(i)...
/* Copyright (c) 2011 The Regents of the University of California * <NAME> <<EMAIL>> * See LICENSE for details. * * Kernel utility functions for sending events and notifications (IPIs) to * processes. */ #include <ucq.h> #include <bitmask.h> #include <event.h> #include <atomic.h> #include <process.h> #include <sm...
#include "MSPd.h" #define MAXGRAINS (512) // just for present to get lower overhead #define MAXSCALE (8192) #define OBJECT_NAME "granule~" static t_class *granule_class; typedef struct { float amplitude; float panL; float panR; long delay; // samples to wait until event starts long duration;// length in...
/* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The OpenAirInterface Software Alliance licenses this file to You under the OAI Publi...
/* packet-mtp2.c * Routines for MTP2 dissection * It is hopefully (needs testing) compliant to * ITU-T Q.703 and Q.703 Annex A. * * Copyright 2001, 2004 <NAME> <tuexen [AT] fh-muenster.de> * * Wireshark - Network traffic analyzer * By <NAME> <<EMAIL>> * Copyright 1998 <NAME> * * Copied from packet-m2pa.c * ...
/***************************************************************************/ /* */ /* cffobjs.c */ /* */ /* Op...
/* * @brief SPI master ROM API declarations and functions * * @note * Copyright(C) NXP Semiconductors, 2014 * All rights reserved. * * @par * Software that is described herein is for illustrative purposes only * which provides customers with programming information regarding the * LPC products. This software...
//#define myprintf(a, b, rest...) printf (a, b, ## rest) #define Exception( type, response ) CSL_Exception (type, 0, response ) #define _Context_ _O_->OVT_Context #define _CSL_ _O_->OVT_CSL #define _Compiler_ _Context_->Compiler0 #define _Interpreter_ _Context_->Interpreter0 #define _ReadLiner_ _Context_->ReadLiner0 ...
/** * (C) Copyright 2016-2018 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 l...
/******************************************************************************* * Copyright 2017-2018 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.apa...
/* ffi-test-main.c -- try hard to break the FFI from C * * Author: <EMAIL> * * Based on a similar test suite in libffi, which contains the following text... * * Copyright (c) 1996, 1997, 1998, 2002, 2003 Red Hat, Inc. * * Permission is hereby granted, free of charge, to any person obtaining * a copy of th...
//----------------------------------------------------------------------------- // <NAME>, April 2006 // iZsh <izsh at fail0verflow.com>, 2014 // // This code is licensed to you under the terms of the GNU GPL, version 2 or, // at your option, any later version. See the LICENSE.txt file for the text of // the license. /...
/* --------------------------------------------------------------------------------------------- */ /* Small System Framework */ /* */ /* ssfsha2.c ...
/*************************************************************************\ * Copyright (c) 2002 <NAME>, DIRO, Université de Montréal. * SEE: LICENSE \*************************************************************************/ #define _CRT_SECURE_NO_WARNINGS #include "util.h" #include "chrono.h" #include "mystr.h" #i...