text
stringlengths
5.8k
28.2k
#define GLFW_INCLUDE_GLCOREARB #define GLFW_INCLUDE_GLU #define GL_SILENCE_DEPRECATION #define XAM 70 #define YAM 70 #define SIDE 10 #define CITIES 7 #define IS_CAPITAL 1 #define IS_FRIENDLY 1 << 2 #define IS_GOOD 0 #define IS_BAD 1 #define IS_WAR 2 #define GREEN 0 #define BLUE 1 #define FAST 1 #include <GLFW/glf...
/*====================================================================== X Windows PCMCIA device control program cardinfo.c 1.35 2001/05/12 22:45:59 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...
#include <string.h> #include "errcodes.h" #include "memory.h" #define WNDO_INTERNALS #include "wndo.h" #include "ptrmacro.h" #ifdef DEBUG #define pj_stuff_pointers(d,b,np,num) \ { if((np) > 0) \ pj_stuff_pointers(d,b,(np)); \ else { \ boxf("stuff pointers %d #%d", (np), num);\ pj_stuff_pointers(...
/* (c) Copyright 2012-2013 DirectFB integrated media GmbH (c) Copyright 2001-2013 The world wide DirectFB Open Source Community (directfb.org) (c) Copyright 2000-2004 Convergence (integrated media) GmbH All rights reserved. Written by <NAME> <<EMAIL>>, <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 lat...
/***************************************************************************//** * @file * @brief I2S microphone driver ******************************************************************************* * # License * <b>Copyright 2020 Silicon Laboratories Inc. www.silabs.com</b> *************************************...
/*************************************************************************** * Copyright (C) 2008 by * * <NAME> <<EMAIL>> * * * * This program is free software; you ca...
/* * 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; either * version 2 of the License, or (at your option) any later version. * * This library is distributed in the hope that it...
/* Interface code for George Woltman's gwnum library Copyright 2004, 2005, 2006, 2008, 2011, 2012 <NAME>, <NAME>, <NAME>. Contains code based on the GWNUM library, copyright 2002-2005 <NAME>, Just For Fun Software, Inc. This file is part of the ECM Library. The ECM Library is free software; you can redistrib...
/*$ Copyright (c) 2014-2017, Azel All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the follow...
/* * Copyright (C) 2001-2003 Hewlett-Packard Co. * Contributed by <NAME> <<EMAIL>> * Copyright (C) 2006-2009 Intel Corporation * Contributed by <NAME> <<EMAIL>> * Contributed by <NAME> <<EMAIL>> * Contributed by <NAME> <<EMAIL>> * * This file is part of the ELILO, the EFI Linux boot loader. * * ELILO is f...
#include "util.h" #include <errno.h> #include <math.h> #include <png.h> #include <stdio.h> #include <stdlib.h> #include <string.h> char *load_file(const char *path) { FILE *file = fopen(path, "rb"); if (!file) { fprintf(stderr, "fopen %s failed: %d %s\n", path, errno, strerror(errno)); ...
/** * MIT License * * Copyright (c) 2019 Infineon Technologies AG * * 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...
/* * test_db-utils.c * * Copyright 2021 chehw <<EMAIL>> * * The MIT License * * 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 t...
#include <assert.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include "mm.h" #include "memlib.h" team_t team = { /* Team name */ "hello", /* First member's full name */ "world", /* First member's email address */ "<EMAIL>", /* Second member's full name (leave blank if none...
#include <math.h> #include <stdio.h> #include <assert.h> #include <string.h> #include <stdlib.h> #include "khmm.h" // new/delete hmm_par_t hmm_par_t *hmm_new_par(int m, int n) { hmm_par_t *hp; int i; assert(m > 0 && n > 0); hp = (hmm_par_t*)calloc(1, sizeof(hmm_par_t)); hp->m = m; hp->n = n; hp-...
// The Mordax Microkernel // (c) <NAME> 2013 <<EMAIL>> // Report bugs and issues on <http://github.com/skordal/mordax/issues> #include "debug.h" #include "kernel.h" #include "mm.h" #include "mmu.h" #include "stack.h" #include "utils.h" #ifndef CONFIG_PAGE_SIZE #error "page size not set, define CONFIG_PAGE_SIZE with t...
/* # Waste Management @author <NAME> Instructions: Step 1: Enter 1 for the functionalities of Municipal Authority: Enter 2 for the functionality of consumer: Step 2: Enter No of Areas Step 3: Enter No of Houses Step 4: Enter No of days Step 5: If Option ‘1’ is chosen in Step 1: ...
/* * Copyright (C) 2008 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Description: * History: <EMAIL>, 2017/04/21, create */ # include <stdbool.h> # include <openssl/sha.h> # include "ah_config.h" # include "ah_server.h" # include "ut_base64.h" # include "ut_sds.h" static http_svr *svr; static nw_state *state; static dict_t *methods; static rpc_clt *listener; static rpc_...
/* * Unix library interface for SANE * * Copyright 2000 <NAME> * Copyright 2021 <NAME> * * 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; either * version 2.1 of the License, or (...
/*--------------------------------------------------------------------------------- keyboard.h -- stdin integration for a simple keyboard Copyright (C) 2007 <NAME> (Dovoto) This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising...
/* * This file is part of the Black Magic Debug project. * * Copyright (C) 2011 Black Sphere Technologies Ltd. * Written by <NAME> <<EMAIL>> * * Copyright (C) 2018 <NAME> <<EMAIL>> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License ...
// 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...
/* $NetBSD: paths.c,v 1.41 2013/05/06 08:02:20 skrll Exp $ */ /* * Copyright 1996 <NAME> <<EMAIL>> * Copyright 2002 <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...
/* * hfsutils - tools for reading and writing Macintosh HFS volumes * Copyright (C) 1996, 1997 <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 ...
/* The MIT License (MIT) Copyright (c) 2016 <NAME> original Haraka implementations Copyright (c) 2017 Nagravision S.A. changes by <NAME>, <NAME>, 2017: improvements, non-ni versions Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** * @attention * * <h2><center>&copy; Copyright (c)...
/*! \file bcmltm_wb.c * * Logical Table Manager Working Buffer. * * This file contains routines to manage the working buffer space * required for table operations to assemble the data, such as * PTM format entry buffers, PTM memory parameters, field transforms input * and output, etc. * * Coordination of the w...
#include "memory.h" #include "error.h" #include "global.h" #include <string.h> #include <stdio.h> // Memory.c, provides functions for the interpreter to manipulate memory #define CHAR(s) (*s) #define resize(container, current) do { \ current *= 2; \ container = safe_realloc(container, current * sizeof(*container))...
#include <string.h> #include <stdio.h> #include <stdlib.h> #include <time.h> #include <getopt.h> #include <errno.h> #include "htslib/sam.h" #include "htslib/vcf.h" #include "htslib/vcfutils.h" #include "htslib/synced_bcf_reader.h" #include "htslib/khash.h" #include "htslib/hts.h" #include "htslib/kstring.h" #include "...
/** * \file z-color.c * \brief Generic color definitions * * Copyright (c) 1997 <NAME> * * This work is free software; you can redistribute it and/or modify it * under the terms of either: * * a) the GNU General Public License as published by the Free Software * Foundation, version 2, or * * b) the "Angb...
/* * This file is part of the 'Simple Sokoban' project. * * Copyright (C) <NAME> 2014 * * ---------------------------------------------------------------------- * 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 ...
/* * Copyright 2011 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 * on the rights to use, copy, modify, merge, publis...
/* rip.c - File for the fun ends Death or a total win UltraRogue: The Ultimate Adventure in the Dungeons of Doom Copyright (C) 1985, 1986, 1992, 1993, 1995 <NAME> All rights reserved. Based on "Advanced Rogue" Copyright (C) 1984, 1985 <NAME>, <NAME> All rights reserved. Based o...
/** * Behavior for bhvWigglerHead and bhvWigglerBody. * The bhvWigglerHead object controls the wiggler's behavior, and physically manifests * as the wiggler's head. The bhvWigglerBody objects represent the 3 tail body * parts, numbered 1 closest to the head, and 3 at the end of the tail. * Processing order is bhv...
/* * Copyright (c) 2021 <NAME> * Copyright (c) 2020 Asahi Linux contributors * Copyright (c) 1998-2014 Apple Computer, Inc. All rights reserved. * Copyright (c) 2005 Apple Computer, Inc. All rights reserved. * * IOKit prototypes and stub implementations from upstream IOKitLib sources. * DYLD_INTERPOSE macro from...
/* Program: mysar, File: mysar.c Copyright 2007, <NAME> <<EMAIL>> Source is based on MySar 1.x importer, written by David 'scuzzy' Todd <<EMAIL>> This file is part of mysar. mysar is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as publis...
/**************************************************************** Monkeymind - an experimental cogitive architecture ============================================================= Copyright 2013-2014 <NAME> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associa...
/* Copyright (c) 2011 <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 followin...
#include <stdio.h> #include <stdlib.h> #include "mpc.h" #include "lispy.h" #ifdef _WIN32 #include <string.h> static char buffer[2048]; char* readline(char* prompt) { fputs(prompt, stdout); fgets(buffer, 2048, stdin); char* cpy = malloc(strlen(buffer)+1); strcpy(cpy, buffer); cpy[strlen(cpy)-1] = ...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdint.h> #include <stdarg.h> #include <ctype.h> #include <assert.h> typedef uint32_t word; #define nil NULL enum { None = 0, W = 0777777, MAXMEM = 0200000, SYMLEN = 6, MAXSYM = 4000, }; enum SymType { SymValue = 1, SymPseudo, SymLabel = ...
/* * 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 all copies. * * THIS SOFTWARE ...
/* * cv.c * * Created: 2021/02/06 21:52:17 * Author: Y.Tsurui */ #include <avr/io.h> #include "cv.h" #include "cv_value.h" #include "cv_eeprom.h" uint8_t read_cv_raw(uint8_t CVnum) { return (eeprom_read_byte(val + CVnum)); } uint8_t read_cv(uint16_t CVnum) { if (CVnum > CV_COUNT) return (0); return (re...
/******************************************************************************* This is the driver for the GMAC on-chip Ethernet controller for ST SoCs. DWC Ether MAC 10/100/1000 Universal version 3.41a has been used for developing this code. This contains the functions to handle the dma and descriptors. ...
/* * main.c * * Created on: 15 mar. 2021 * Author: <NAME> and <NAME> */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <wiringPi.h> #define DEB volatile int measurement_flags = 0x00; volatile int output_flags = 0x00; float temp_crit_low = 5.0; float temp_crit_high =...
#include <stdint.h> #include <string.h> #include "nordic_common.h" #include "nrf.h" #include "app_error.h" #include "ble.h" #include "ble_hci.h" #include "ble_srv_common.h" #include "ble_advdata.h" #include "ble_advertising.h" #include "ble_conn_params.h" #include "bluchip_board.h" #include "softdevice_handler.h" #incl...
/** Author and Copyright 2018 <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 agree...
typedef struct screen_genres_item_t { uint32_t genre_id; char genre_string[ 256 ]; text_t* genre_text; char album_count_string[ 256 ]; text_t* album_count_text; uint32_t thumb_id; bitmap_t* bitmap; } screen_genres_item_t; typedef struct screen_genres_t { app_t* app; ...
#include "fs.h" #include "main.h" #include "touch.h" #include "utils.h" #include "include/vitaAudio.h" vitaAudio game_over, nope; extern unsigned char _binary_res_lives_png_start; extern unsigned char _binary_res_lives16p_png_start; void exitServices() { vita2d_free_texture(_lives16p); vita2d_free_texture(_lives...
#include <stdlib.h> #include <string.h> #include <stdint.h> #include <H5PLextern.h> #define H5Z_FILTER_CALIB 57836 static size_t H5Z_filter_calib(unsigned int flags, size_t cd_nelmts, const unsigned int cd_values[], size_t nbytes, size_t *buf_size, void **buf); #define CACHE_CALIB #define PEDES...
/* * Copyright (c) Medical Research Council 1994. All rights reserved. * * Permission to use, copy, modify and distribute this software and its * documentation for any purpose is hereby granted without fee, provided that * this copyright and notice appears in all copies. * * This file was written by <NAME>, <NAM...
// INFERNO #include <vfs.h> #include <kfs.h> #include <slab.h> #include <kmalloc.h> #include <kref.h> #include <string.h> #include <stdio.h> #include <assert.h> #include <error.h> #include <cpio.h> #include <pmap.h> #include <smp.h> #include <ip.h> /* * address resolution tables */ enum { NHASH = (1 << 6), NCACH...
/* * System Interface Library for games * Copyright (c) 2007-2020 <NAME> <<EMAIL>> * Released under the GNU GPL version 3 or later; NO WARRANTY is provided. * See the file COPYING.txt for details. * * src/test/utility/strtof.c: Tests for strtof(). */ #define FAIL_ACTION failed = 1 // Continue through failures...
/** @file rexmpp_tcp.c @brief TCP connection establishment. @author defanor <<EMAIL>> @date 2020 @copyright MIT license. */ #include <netdb.h> #include <arpa/nameser.h> #include <sys/socket.h> #include <sys/types.h> #include <errno.h> #include <memory.h> #include <sys/time.h> #include <unistd.h> #includ...
#include <stdlib.h> #include <htslib/hfile.h> #include <htslib/bgzf.h> #include "tabixfile.h" #include "utilities.h" static SEXP TABIXFILE_TAG = NULL; static const int TBX_INIT_SIZE = 32767; /* Convenience wrappers around bgzf_tell(), bgzf_seek(), bgzf_getline(), and tbx_itr_next(). */ static int64_t _tbx_tell(ht...
/*------------------------------------------------------------------------------ -- -- -- This software is confidential and proprietary and may be used -- -- only as expressly authorized by a licensing agreement from ...
/* tacc.c TACACS+ PAP authentication client * * Copyright (C) 2016-2017 Hewlett Packard Enterprise Development LP. * Copyright 1997-98 by <NAME> <<EMAIL>> * Portions copyright (c) 1989 Carnegie Mellon University. * * See http://www.ceti.com.pl/~kravietz/progs/tacacs.html * for details. * */ #include <stdio.h...
/* confdefs.h */ #define PACKAGE_NAME "man-db" #define PACKAGE_TARNAME "man-db" #define PACKAGE_VERSION "2.6.1" #define PACKAGE_STRING "man-db 2.6.1" #define PACKAGE_BUGREPORT "<EMAIL>" #define PACKAGE_URL "" #define PACKAGE "man-db" #define VERSION "2.6.1" #define STDC_HEADERS 1 #define HAVE_SYS_TYPES_H 1 #define HAVE...
/*++ /* NAME /* qmgr_active 3 /* SUMMARY /* active queue management /* SYNOPSIS /* #include "qmgr.h" /* /* void qmgr_active_feed(scan_info, queue_id) /* QMGR_SCAN *scan_info; /* const char *queue_id; /* /* void qmgr_active_drain() /* /* int qmgr_active_done(message) /* QMGR_MESSAGE *message; /* DESCRIPTION /* These fun...
/* H A N D L E . C * BRL-CAD * * Copyright (c) 2004-2021 United States Government as represented by * the U.S. Army Research Laboratory. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * version 2.1 as ...
/* * ______ * / ____/________ _____ __ ________ ______ __________ ___ * / / / ___/ __ `/_ / / / / / ___/ | /| / / __ `/ ___/ __ `__ \ * / /___/ / / /_/ / / /_/ /_/ (__ )| |/ |/ / /_/ / / / / / / / / * \____/_/ \__,_/ /___/\__, /____/ |__/|__/\__,_/_/ /_/ /_/ /_/ * /____...
/* * libx/color.c * * Copyright(c) 2007-2013 <NAME> <<EMAIL>> * official site: http://xboot.org * * 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 * (...
#define NULL ((void*)0) typedef unsigned long size_t; // Customize by platform. typedef long intptr_t; typedef unsigned long uintptr_t; typedef long scalar_t__; // Either arithmetic or pointer type. /* By default, we understand bool (as a convenience). */ typedef int bool; #define false 0 #define true 1 /* Forward d...
/***********************************************************************************/ /* options.h - the global variables for the program */ /* Copyright (C) 1998-2003 <NAME> <<EMAIL>> */ /* ...
/* * Copyright (c) 2021, Alliance for Open Media. All rights reserved * * This source code is subject to the terms of the BSD 2 Clause License and * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License * was not distributed with this source code in the LICENSE file, you can * obtain it at w...
/* vdexExtractor ----------------------------------------- <NAME> <<EMAIL>> Copyright 2017 - 2018 by CENSUS S.A. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the Lice...
/* * Copyright (C) 2018 <NAME> * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup usbus_cdc_acm * @{ * @file * * @author <NAME> <<EMAIL>> * @author <NAME> <<EMAIL>> * ...
#include <x86-64/asm.h> #include <kbdreg.h> #include <string.h> #include <assert.h> #include <kernel/console.h> #include <kernel/pic.h> static void cons_intr(int (*proc)(void)); static void cons_putc(int c); /* Stupid I/O delay routine necessitated by historical PC design flaws */ static void delay(void) { inb(0...
/* * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be use...
/*- * Copyright (c) 1991 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 copyright ...
/* $NetBSD: externs1.h,v 1.108 2021/04/18 17:36:18 rillig Exp $ */ /* * Copyright (c) 1994, 1995 <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 cod...
/* * Author: <NAME> <<EMAIL>> * * Copyright (c) 1996 <NAME> * Copyright (c) 1998-2002 <NAME> * Copyright (c) 2000-2002 <NAME> * Copyright (c) 2002 Dr. <NAME> * Copyright (c) 1999-2005 <NAME> * All rights reserved */ #include "config.h" #include <math.h> #include "mech.h" #include "mech.events.h" #...
/* SCTP kernel Implementation * Copyright (c) 2003 Hewlett-Packard Development Company, L.P * (C) Copyright IBM Corp. 2004 * * This file has test cases to test negative scenarios for getsockopt () * setsockopt () call for 1-1 style sockets * * setsockopt () Tests: * ------------------- * TEST1: setsockopt: Bad...
/* lpcnet_quant.c <NAME> Feb 2019 David's experimental quanisation functions for LPCNet */ #include <assert.h> #include <stdio.h> #include <stdlib.h> #include <math.h> #include "lpcnet_quant.h" #include "mbest.h" #include "freq.h" FILE *lpcnet_fsv = NULL; int lpcnet_verbose = 0; #define PITCH_MIN_PERIOD 32 #...
/* high level I/O */ #include <stdio.h> #include <math.h> #include <unistd.h> #include <strings.h> /* low level I/O */ #include <fcntl.h> #include <sys/time.h> #include <time.h> #ifdef HAVE_CONFIG_H #include <config.h> #endif /* ボディパラメータ */ #include <shvel-param.h> /* yp-spur用 */ #include <serial.h> #include <para...
/** * @file sirfilecache.c * @brief Internal log file management. * * This file and accompanying source code originated from <https://github.com/ryanlederman/sir>. * If you obtained it elsewhere, all bets are off. * * @author <NAME> <<EMAIL>> * @copyright * * The MIT License (MIT) * * Copyright (c) 2018 <NA...
/* * Copyright (C) 2021 Southern Storm Software, Pty Ltd. * * 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, ...
#include "stepper_parallel.h" #include "shallow2d.h" #ifdef _OPENMP #include <omp.h> #elif defined SYSTIME #include <sys/time.h> #endif #include <lua.h> #include <lauxlib.h> #include <lualib.h> #include <assert.h> #include <stdio.h> #include <stdlib.h> //ldoc on /** * # Driver code * * The driver code is where ...
#include "shader.h" #include "material.h" #include "fault.h" #include "array.h" #include "renderbuffer.h" #include "texture.h" #include "matrix.h" #include "spritepack.h" #include "screen.h" #include "label.h" #include "render.h" #include "blendmode.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #inclu...
//=============================================================================== // FILE: EM85FxxxN_GPIO.c // // Target: EM85FxxxN // // Compiler Keil // // Author: <NAME> Arthur (<NAME>) // // Date: 2016/11/21 //----------------------------------------------------------------------------- // Descripti...
/*- * SPDX-License-Identifier: BSD-2-Clause-FreeBSD * * Copyright 2005 <NAME> * All rights reserved * * Redistribution and use in source and binary forms, with or without * modification, are permitted providing that the following conditions * are met: * 1. Redistributions of source code must retain the above ...
#include <getopt.h> #include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <netdb.h> #include <netinet/in.h> #include <sys/socket.h> #include <sys/types.h> #include <unistd.h> #include <gnutls/gnutls.h> #include <gnutls/x509.h> #include <gnutls/ocsp.h> #include <curl/curl.h> #inclu...
/* * Copyright (c) 2013-2016, Wind River Systems, Inc. * * Redistribution and use in source and binary forms, with or without modification, are * permitted provided that the following conditions are met: * * 1) Redistributions of source code must retain the above copyright notice, * this list of conditions and t...
/* Copyright (c) 1996, 1999 <NAME> Copyright (c) 2007, 2009 <NAME> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify...
/* * This program only tracks the difference between system time * and audio time, as reported in snd_pcm_status(). It should be * helpful to verify the information reported by drivers. */ #include <stdio.h> #include <malloc.h> #include <unistd.h> #include <stdlib.h> #include <string.h> #include <getopt.h> #includ...
#ifndef lint static const char RCSid[] = "$Id: pmblur2.c,v 2.5 2012/10/13 05:18:18 greg Exp $"; #endif /* * pmblur2.c - program to computer better motion blur from ranimove frames. * * Created by <NAME> on 10/3/12. */ #include "copyright.h" #include "standard.h" #include "platform.h" #include "color.h" #inclu...
/********************************************************************** * Copyright (C) 1999-2013, International Business Machines * Corporation and others. All Rights Reserved. ***********************************************************************/ /*-------------------------------------------------------------...
/* $OpenBSD: route.c,v 1.66 2004/11/17 01:47:20 itojun Exp $ */ /* $NetBSD: route.c,v 1.15 1996/05/07 02:55:06 thorpej Exp $ */ /* * Copyright (c) 1983, 1988, 1993 * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modifica...
/* * fs/dax.c - Direct Access filesystem code * Copyright (c) 2013-2014 Intel Corporation * Author: <NAME> <<EMAIL>> * Author: <NAME> <<EMAIL>> * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, * version 2, as publishe...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** * @attention * * <h2><center>&copy; Copyri...
#include <core/os.h> #include <core/class.h> #include <core/engctx.h> #include <core/enum.h> #include <subdev/timer.h> #include <subdev/fb.h> #include <engine/graph.h> #include "nv20.h" #include "regs.h" /******************************************************************************* * Graphics object classes ***...
#include "Header.h" #include <stdio.h> #include "Winhugs.h" // have a max of 100Kb in the scroll window // old hugs was about 64Kb #define MAXIMUM_BUFFER 100000 // Buffer the RTF Window Handle // Only allow one RTF Window at a time HWND hRTF; BOOL PuttingChar = FALSE; DWORD Length = 0; DWORD OutputStart; typedef s...
/* $NetBSD: sbusreg.h,v 1.7 1999/06/07 05:28:03 eeh Exp $ */ /* * Copyright (c) 1996-1999 <NAME> * * 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 copyrig...
#include <stdio.h> #include <stdlib.h> #include <sys/types.h> #include <CL/cl.h> #include "CL_helper.h" #include "timing.h" #ifndef DEVICE #define DEVICE CL_DEVICE_TYPE_DEFAULT #endif #define TOL (0.001) #define STR_SIZE (256) #define MAX_PD (3.0e6) /* required precision in degrees */ #define ...
/* * Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requi...
/*-------------------------------------------------------------------- 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 ...
/* Metageek WiSPY interface * <NAME>/Dragorn <<EMAIL>> * * This code 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 ...
#include <string.h> #include <assert.h> #include <math.h> #include <stdlib.h> #include "integer.h" #include "compact_list.h" #include "panic.h" #define COMPACT_LIST_DEBUG #ifdef COMPACT_LIST_DEBUG static void show_bytes(CompactList *list) { unsigned char *pt = (unsigned char *) list; printf("bytes: "); f...
// SPDX-License-Identifier: BSD-3-Clause // //Copyright(c) 2021 AMD. All rights reserved. // //Author: <NAME> <<EMAIL>> // <NAME> <<EMAIL>> // <NAME> <<EMAIL>> #include <sof/atomic.h> #include <sof/audio/component.h> #include <sof/bit.h> #include <sof/drivers/acp_dai_dma.h> #include <sof/drivers/interrupt.h> #includ...