text
stringlengths
7.55k
41.9k
/*- * Copyright (c) 1997, 1998, 2000 <NAME>. * Copyright (c) 1997, 1998, 1999 <NAME>. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the ...
/* * Copyright (c) 2012 <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, pu...
/* ZEsarUX ZX Second-Emulator And Released for UniX Copyright (C) 2013 <NAME> This file is part of ZEsarUX. ZEsarUX is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of th...
// SPDX-License-Identifier: GPL-2.0+ /* * Menlosystems M53Menlo board * * Copyright (C) 2012-2017 <NAME> <<EMAIL>> * Copyright (C) 2014-2017 <NAME> <<EMAIL>> */ #include <common.h> #include <asm/io.h> #include <asm/arch/imx-regs.h> #include <asm/arch/sys_proto.h> #include <asm/arch/crm_regs.h> #include <asm/arch/...
#include "main/glheader.h" #include "main/macros.h" #include "main/mtypes.h" #include "main/enums.h" #include "main/bufferobj.h" #include "main/convolve.h" #include "main/context.h" #include "main/formats.h" #include "main/texcompress.h" #include "main/texstore.h" #include "main/texgetimage.h" #include "main/texobj.h"...
/* 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 of the License * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without e...
/* * SPDX-License-Identifier: GPL-2.0-or-later OR Apache-2.0 * Copyright (C) 2015-2020 Industrial Technology Research Institute * * * * */ #include <linux/types.h> #include <linux/version.h> #include <linux/kernel.h> #include <linux/wait.h> #include "config/lfsm_setting.h" #include "config/lfsm_feature_setting...
/************************************************************************** * * Copyright 2009 <NAME>. * All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the * "Software"), to deal in the Software without ...
/** ****************************************************************************** * @file ee.c * @author MCD Application Team * @brief Implementation of the EEPROM emulator ***************************************************************************** * @attention * * <h2><center>&copy; Copyright ...
#include "tic.h" typedef unsigned int size_t; typedef int wchar_t; typedef struct { int quot; int rem; } div_t; typedef struct { long quot; long rem; } ldiv_t; typedef int (*__compar_fn_t)(const void *, const void *); extern void abort(void) __attribute__((__noreturn__)); extern int abs(int __i) __attribute__((__co...
/* * Copyright (c) Huawei Technologies Co., Ltd. 2020-2020. All rights reserved. * Description: hi35xx i2c driver implement. * Author: yanghaizhou * Create: 2020-07-25 */ #include "asm/platform.h" #include "device_resource_if.h" #include "hdf_device_desc.h" #include "hdf_log.h" #include "i2c_core.h" #include "i2c...
/* * RTP Demux element * * Copyright (C) 2005 Nokia Corporation. * @author <NAME> <<EMAIL>> * * Loosely based on GStreamer gstdecodebin * Copyright (C) <2004> <NAME> <<EMAIL>> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * Li...
// esp_dev_os.cpp : Defines the entry point for the console application. // #include "windows.h" #include "esp/esp.h" #include "esp/apps/esp_mqtt_client_api.h" #include "esp/apps/esp_cayenne.h" #include "mqtt_client.h" #include "mqtt_client_api.h" #include "http_server.h" #include "station_manager.h" #include "netcon...
/*************************************************************************** Copyright (c) 2021, The OpenBLAS Project All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must...
/* * Copyright (c) 2013 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. */ /* * Send Management Frame * * Userspace helper which sends management frames via nl80211. This * can be used to inject frames used for...
#include <string.h> #include <stdlib.h> #include <limits.h> #include <unistd.h> #include <math.h> #include "internal.h" #include "object/object.h" #include "object/system.h" #include "object/minteger.h" #include "mem.h" static digit_t darylshift(digit_t *, digit_t *, size_t, int); static void daryrshift(digit_t *, dig...
/* packet-bacnet.c * Routines for BACnet (NPDU) dissection * Copyright 2001, <NAME> <<EMAIL>>, FH Dortmund * Enhanced by <NAME>, 2005, <<EMAIL>> * * Wireshark - Network traffic analyzer * By <NAME> <<EMAIL>> * Copyright 1998 <NAME> * * Copied from README.developer,v 1.23 * * This program is free software; yo...
enum Register { REG_RL0, REG_RL1, REG_RL2, REG_RL3, REG_RL4, REG_RL5, REG_RL6, REG_RL7, REG_RH0, REG_RH1, REG_RH2, REG_RH3, REG_RH4, REG_RH5, REG_RH6, REG_RH7, REG_R0, REG_R1, REG_R2, REG_R3, REG_R4, REG_R5, REG_R6, REG_R7, REG_R1_0, REG_R3_2, REG_R5_4, REG_R7_6, REG_P0, REG_P1, REG_P2, REG_P3, REG_P4, REG_P5...
/* This example code is in the Public Domain (or CC0 licensed, at your option.) Unless required by applicable law or agreed to in writing, this software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ #include "freertos/FreeRTOS.h" #include "...
/* Generic PS4API Payload written by Black Panther/AlmightySo. THANK YOU TO THE FOLLOWING IN NO ORDER: 2much4u, Bad ChoicesZ, CTurt, qwertyoruiop, kr105rlz, Z80, and Zecaxco */ #include "ps4.h" #include <inttypes.h> //#include <unistd.h> #define CTL_KERN 1 #define KERN_PROC 14 #define KERN_PROC_PID 1 typedef int ...
/* Unix SMB/Netbios implementation. Version 1.9. a partial implementation of DES designed for use in the SMB authentication protocol Copyright (C) <NAME> 1998 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as publish...
/* Lzma decompressor for Linux kernel. Shamelessly snarfed *from busybox 1.1.1 * *Linux kernel adaptation *Copyright (C) 2006 Alain < <EMAIL> > * *Based on small lzma deflate implementation/Small range coder *implementation for lzma. *Copyright (C) 2006 <NAME> < <EMAIL> > * *Based on LzmaDecode.c from the L...
/*- * Copyright (c) 1997, 2002 <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 conditio...
/*****************************************************************************\ * Tseng Labs ET6000, ET6100 and ET6300 graphics driver for BeOS 5. * Copyright (c) 2003-2004, <NAME>. \*****************************************************************************/ /* standard kernel driver stuff */ #include <KernelExpo...
/* Copyright 2018 Canaan Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
/* * Copyright (C) 2019-2020 Alibaba Group Holding Limited */ #include <yoc/aui_cloud.h> #include <yoc_config.h> #include <aos/log.h> #include <aos/kv.h> #include <aos/ringbuffer.h> #include <yoc/eventid.h> #include <yoc/uservice.h> #include <librws.h> #include <rws_socket.h> #include <cJSON.h> #include "aui_cloud_im...
/* Simple Asteroids game with vector graphics * using my vector graphics library that can display on an oscilloscope or in a window * * I'm releasing this code under the WTFPL. You can do whatever you like with * it, though I'd appreciate credit and thanks if you find it useful or fun. * See LICENSE.txt for detail...
/* * (C) Copyright 2007-2010 * <NAME>, DENX Software Engineering, <EMAIL>. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of * the License, or (at your option) any lat...
#include <windows.h> #include <string.h> #include <sys/stat.h> // mkdir #include <sys/types.h> #include "kgsdk/Framework.h" #include "kgsdk/Framework2D.h" #include "kgsdk/FrameworkAudio.h" #include "../common/emu.h" #include "../common/lprintf.h" #include "../common/arm_utils.h" #include "../common/config.h" #includ...
/* * ===================================================================================== * * Filename: kmer_count.c * * Description: * * Version: 0.1 * Created: 07/20/2013 17:00:00 * Revision: none * Compiler: gcc * * Author: <NAME>, * Company: ...
#include <pebble.h> #include "animation.h" /* appmessage + persist keys */ enum { KEY_INVERTED = 0, KEY_VIBRATE_5 = 1, KEY_FLICK = 2, KEY_FLICK_STYLE = 3 }; /* flick view styles */ enum { FLICK_STYLE_A = 0, FLICK_STYLE_B = 1, FLICK_STYLE_C = 2 }; /* period for which the date is visible on accelerometer flick ...
/* * Copyright 2010-2016, Tarantool AUTHORS, please see AUTHORS file. * * 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 lis...
/***************************************************************************//** * @file cf_hdmi.c ******************************************************************************** * Copyright 2013(c) Analog Devices, Inc. * * All rights reserved. * * Redistribution and use in source and binary forms, with or w...
/* Copyright 2015 Google Inc. 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 required by applicable law or agreed to in wri...
/////////////////////////////////////////////////////////////////////////////// // // // MIT X11 license, Copyright (c) 2005-2006 by: // // // ...
/* * zramctl - control compressed block devices in RAM * * Copyright (c) 2014 <NAME> <<EMAIL>> * Copyright (C) 2014 <NAME> <<EMAIL>> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation. * ...
#include <stdio.h> #include <stdlib.h> #include <ctype.h> #include <math.h> #include "KmsFncs.h" /*the bulding blocks of a transformation*/ #define PTG 0 /*proj to geo*/ #define GTC 1 /*geo to cartesian*/ #define DGE 3 /*differential way to geoE*/ #define TCTC 5 /*simple way to crt_ta...
/****************************************************************************** * * Copyright(c) 2007 - 2017 Realtek Corporation. * * This program is free software; you can redistribute it and/or modify it * under the terms of version 2 of the GNU General Public License as * published by the Free Software Foundat...
/* Copyright (C) 1996-2001 Id Software, Inc. Copyright (C) 2002-2009 <NAME> and others Copyright (C) 2011-2016 OldTimes Software 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 ...
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* lib/krb5/os/locate_kdc.c - Get addresses for realm KDCs and other servers */ /* * Copyright 1990,2000,2001,2002,2003,2004,2006,2008 Massachusetts Institute of * Technology. All Rights Reserved. * * Export of this software from the United States of ...
/** * FreeRDP: A Remote Desktop Protocol Implementation * RPC over HTTP * * Copyright 2012 Fujitsu Technology Solutions GmbH * Copyright 2012 <NAME> <<EMAIL>> * Copyright 2012 <NAME> <<EMAIL>> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance w...
#include <stdio.h> #include <string.h> #include "CuTest.h" #include "cards.h" #include "hands.h" #define OUTPUT_LENGTH 512 // Error messages should not exceed this length. static char ranks[] = " 23456789TJQKA"; //static char suits[] = " chds"; //static size_t ranksLength = 13; //static size_t suitsLength = 4; voi...
#define VM_MEM_SZ (16*1024) #ifdef ARCH_32BIT #define RETURN_ADDRESS_CANARY (uint32_t)0x00C41132 /* "CALLER" */ #endif #ifdef ARCH_64BIT #define RETURN_ADDRESS_CANARY (uint64_t)0x00C4113200C41132 /* "CALLERCALLER" */ #endif #ifdef ARCH_64BIT #define REGWIDTH 64 #define REGTYPE uint64_t /* register type */ #defi...
/*! \file \brief A parallel spherical k-means program \date Started 4/20/2013 \author George */ #include <GKlib.h> #include <bdmpi.h> #include <sys/types.h> #include <sys/time.h> #include <sys/resource.h> #include <unistd.h> /**************************************************************************/ /* data struct...
/* Copyright (c) 2010-2013, The Linux Foundation. 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 ...
/* =============================================================================== Name : lpc1769.c Author : $(author) Version : Copyright : $(copyright) Description : main definition =============================================================================== */ #include "lpc1769.h" #include ...
/* Get info from stack frames; convert between frames, blocks, functions and pc values. Copyright 1986, 1987, 1988, 1989, 1991 Free Software Foundation, Inc. This file is part of GDB. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as pub...
/* * Copyright © 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, pub...
// Fona_main.c // Runs on MSP432 // Test Fona SMS functions // inputs from BP-BASSENSORSMKII // TMP117 temperature // HDC2030 temperature and humidity // OPT3001 light intensity // BMI160/BMM150 9-axis IMU // Daniel and <NAME> // July 26, 2021 /* This example accompanies the book "Embedded Systems: Intr...
/* Topology Builder <NAME> IUPUI Physics Dept. NMR Center 402 N. Blackford St. Indianapolis, IN 46202 USA Functions to read amber forcefield parm files read_amber.c NOTICE: This is a derivative work based on study of the routines found in the antechamber 1.27 programs parmchk and pre...
/* * This file has been generated with https://github.com/ShellCode33/NIST-Test-Vectors */ struct test_vectors { unsigned int COUNT; unsigned int L; unsigned int KI_size_in_bytes; const unsigned char *KI; unsigned int IVlen; unsigned int IV_size_in_bytes; const unsigned char *IV; unsi...
// vim: ts=4 sw=4 et : /* Made by: KorG */ #include <unistd.h> #include <stdio.h> #include <stdlib.h> #include <sys/time.h> #include <string.h> // TODO add to itmmorgue.h // TODO add -lm for Linux #include <math.h> // TODO HERE: // 1. place cities // 2. place roads // 3. fix memory leaks (add free() for subarea_t, sub...
#include <elf.h> #include <stdio.h> #include <stdlib.h> #include <sys/machelf.h> void printELFHeader(Elf32_Ehdr ehdr); void printProgramHeader(Elf32_Phdr phdr); void printSectionHeader(Elf32_Shdr shdr); void sec_flags(unsigned int flags); void elf_flags(unsigned int flags); void printSymTable(Elf32_Sym sym); int mai...
/* * Copyright (c) 2009, 2010, ETH Zurich. * All rights reserved. * * This file is distributed under the terms in the attached LICENSE file. * If you do not find this file, copies can be found by writing to: * ETH Zurich D-INFK, Haldeneggsteig 4, CH-8092 Zurich. Attn: Systems Group. */ #include <barrelfish/barr...
/* * Copyright (c) 2016-2019, 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 ...
// toys/android/getprop.c struct getprop_data { size_t size; char **nv; // name/value pairs: even=name, odd=value }; // toys/example/hello.c struct hello_data { int unused; }; // toys/example/skeleton.c struct skeleton_data { union { struct { char *b_string; long c_number; struct arg_...
#include "dag.h" #include <assert.h> #include <stdbool.h> #include "bounded.h" #include "callonce.h" #include "prefix.h" #include "rsort.h" #include "sha256.h" #include "tag.h" #include "uword.h" #include "unreachable.h" /* Prepends Simplicity tag prefixes to a string literal 's'. */ #define COMMITMENT_TAG(s) SIMPLIC...
/* $Id: tunemode.c,v 1.11 2008/03/13 19:37:05 cegger Exp $ *********************************************************************** Copyright (C) 1998 <NAME> <EMAIL> User mode program for timing-list-driver. Allows interactive adjust- ment of modes. This software is placed in the public domain and can b...
#include "opcodes.h" #include "debug.h" #include <stdlib.h> #include <stdio.h> instruction_t _opcode_table[] = { { "ADC", 0x69, IMMEDIATE, 2, 0, 0, REV_6502 }, { "ADC", 0x65, ZERO_PAGE, 3, 0, 0, REV_6502 }, { "ADC", 0x75, ZERO_PAGE_X, 4, 0, 0, REV_6502 }, { "ADC", 0x6D, AB...
/* main.c - Application main entry point */ /* * Copyright (c) 2016 Intel Corporation * * SPDX-License-Identifier: Apache-2.0 */ #define LOG_MODULE_NAME net_test #define NET_LOG_LEVEL CONFIG_NET_ARP_LOG_LEVEL #include <zephyr.h> #include <linker/sections.h> #include <tc_util.h> #include <zephyr/types.h> #inclu...
/* zxidcurl.c - libcurl interface for making SOAP calls and getting metadata * Copyright (c) 2013-2015 Synergetics NV (<EMAIL>), All Rights Reserved. * Copyright (c) 2010-2011 <NAME> (<EMAIL>), All Rights Reserved. * Copyright (c) 2006-2008 Symlabs (<EMAIL>), All Rights Reserved. * Author: <NAME> (<EMAIL>) * Thi...
/* * Copyright 2018, University Corporation for Atmospheric Research * See netcdf/COPYRIGHT file for copying and redistribution conditions. */ #include "config.h" #include <assert.h> #include <stdlib.h> #include <stdio.h> #include <errno.h> #include <string.h> #ifdef HAVE_UNISTD_H #include <unistd.h> #endif #ifdef ...
/* * zyxbcm.c - based on <NAME>'s spw303v.c * * Copyright (C) 2014 <NAME> <<EMAIL>> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your optio...
/* * Wacom W8001 penabled serial touchscreen driver * * Copyright (c) 2008 <NAME> * Copyright (c) 2010 Red Hat, Inc. * Copyright (c) 2010 - 2011 <NAME>, Wacom. <<EMAIL>> * * 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 a...
/* * General DV muxer/demuxer * Copyright (c) 2003 <NAME> * * Many thanks to <NAME> <<EMAIL>> for providing wealth * of DV technical info. * * Raw DV format * Copyright (c) 2002 <NAME> * * 50 Mbps (DVCPRO50) and 100 Mbps (DVCPRO HD) support * Copyright (c) 2006 <NAME> <<EMAIL>> * Funded by BBC Research & De...
/* GStreamer * * unit test for the id3tag element * * Copyright (C) 2006 <NAME> <tim centricular net> * * 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 th...
/* * Copyright 2021, Cypress Semiconductor Corporation (an Infineon company) * SPDX-License-Identifier: Apache-2.0 * * 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.a...
#include "../FourQ_api.h" #include "../FourQ_internal.h" #include "../FourQ_params.h" #include "../random.h" #include "test_extras.h" #include<stdio.h> #include<string.h> #include <string.h> #include <time.h> #include <stdlib.h> #include <time.h> #include "blake2.h" #include <math.h> // Benchmark and test parameters...
/*++ /* NAME /* tok822_parse 3 /* SUMMARY /* RFC 822 address parser /* SYNOPSIS /* #include <tok822.h> /* /* TOK822 *tok822_scan_limit(str, tailp, limit) /* const char *str; /* TOK822 **tailp; /* int limit; /* /* TOK822 *tok822_scan(str, tailp) /* const char *str; /* TOK822 **tailp; /* /* TOK822 *tok822_parse_limit(str...
#include "ms.h" #include "msenum.h" #include "mslimit.h" #include "msdefault.h" #include "msstruct.h" #include "msglobal.h" #include "msfunction.h" /* November 22, 2001 */ /* initialize sphere grid */ struct spheregrid *init_sgrid (long gnspheres, double *gcenters, double *gradii) { int k; long s; double p1, p2; ...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include "main.h" #include "stuff.h" #include "help.h" #include "ui.h" #include "rules.h" #include "item.h" #include "options.h" #ifdef TSL_CONSOLE #include "glyph.h" #endif /* sprintf(page, "Dual-Wield lets you wield two weapons at the same time. For ever...
/***** spin: pangen7.c *****/ /* * This file is part of the public release of Spin. It is subject to the * terms in the LICENSE file that is included in this source directory. * Tool documentation is available at http://spinroot.com */ #include <stdlib.h> #include <assert.h> #include "spin.h" #include "y.tab.h" #...
/* * Copyright (c) 1993-1997, Silicon Graphics, Inc. * ALL RIGHTS RESERVED * Permission to use, copy, modify, and distribute this software for * any purpose and without fee is hereby granted, provided that the above * copyright notice appear in all copies and that both the copyright notice * and this permission...
/* $OpenBSD: ubsa.c,v 1.64 2015/03/14 03:38:49 jsg Exp $ */ /* $NetBSD: ubsa.c,v 1.5 2002/11/25 00:51:33 fvdl Exp $ */ /*- * Copyright (c) 2002, <NAME> <kan.<EMAIL>>. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the follo...
/*---------------------------------------------------------------------------*\ Original copyright FILE........: AKSLSPD.C TYPE........: Turbo C COMPANY.....: Voicetronix AUTHOR......: <NAME> DATE CREATED: 24/2/93 Heavily modified by <NAME> (fixed-point, optimizations, additi...
/** * Copyright 2021 astro. All rights reserved. * Use of this source code is governed by a BSD-style * license that can be found in the LICENSE file. */ /** * @file amk_gpio.h * @brief generic pin implementation */ #pragma once #if defined(NRF52832_XXAA) || defined(NRF52840_XXAA) #include "nrf_gpio.h" ...
#include "nebm_lib.h" #include "math.h" #include <stdlib.h> void cross_product(double *restrict output, double * A, double * B){ /* Cross product between arrays A and B, assuming they * have length = 3 * Every resulting component is stored in the *output array */ output[0] = A[1] * B[2] - A[2] ...
/****************************************************************************** * * Copyright (C) 2012 Ittiam Systems Pvt Ltd, Bangalore * * 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: * * h...
#ident "@(#) $Id: udp.c,v 1.2 2013/12/04 20:50:43 jdavid Exp $" /* Copyright (c) 2010, <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 t...
/*- * Copyright(c) 2002-2011 Exar Corp. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification are permitted provided the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list of cond...
#include <xmmintrin.h> #include <emmintrin.h> #include <pmmintrin.h> #include <stdlib.h> #include <stdio.h> #include <string.h> #include <unistd.h> #include "render_buffers.h" #include "render_core.h" #include "render_threads.h" #include "mm_math.c" uint32 materials_rgb[NUM_MATERIALS]; float materials_diff[NUM_MATERIA...
/* * ====================================================================== * Copyright (c) 2010-2012 Marvell International, Ltd. All Rights Reserved * * Marvell Confidential * ====================================================================== */ /// dec fuser configuration #includ...
/* * This file is part of the coreboot project. * * Copyright (C) 2009 coresystems GmbH * Copyright (C) 2011 The Chromium OS Authors. All rights reserved. * Copyright (C) 2013-2014 Sage Electronic Engineering, LLC. * * This program is free software; you can redistribute it and/or * modify it under the terms of ...
// This file is part of Deark. // Copyright (C) 2020 <NAME> // See the file COPYING for terms of use. // Functions related to Huffman coding decompression #define DE_NOT_IN_MODULE #include "deark-private.h" #include "deark-fmtutil.h" #define NODE_REF_TYPE u32 #define MAX_MAX_NODES 66000 struct huffman_nval_pointer...
/** * @file options.c * @author <NAME> * * Command-line options handling. * * Note about formatting. Line widths are at 80 characters, not because we live * in the 60's but to help force good coding and to reduce complexity. Function * predeclarations may break this rule so that the entire prototype can be *...
/* header.h Larn is copyrighted 1986 by <NAME>. */ /* $DragonFly: src/games/larn/header.h,v 1.5 2006/08/26 17:05:05 pavalos Exp $ */ #include <fcntl.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <termcap.h> #include <time.h> #include <unistd.h> #define MAXLEVEL 11 /* max # levels in the dung...
/* * Copyright (c) 2005-2007,2009,2011 Apple Inc. All Rights Reserved. * * @APPLE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file exce...
/* Copyright 2022 raid5atemyhomework Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, ...
/* * wipefs - utility to wipe filesystems from device * * Copyright (C) 2009 Red Hat, Inc. All rights reserved. * Written by <NAME> <<EMAIL>> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Founda...
/* * msn.c * * Copyright (C) 2009-2011 by ipoque GmbH * Copyright (C) 2011-20 - ntop.org * * This file is part of nDPI, an open source deep packet inspection * library based on the OpenDPI and PACE technology by ipoque GmbH * * nDPI is free software: you can redistribute it and/or modify * it under the terms ...
/* * Copyright 2005-2014 ECMWF. * * This software is licensed under the terms of the Apache Licence Version 2.0 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. * * In applying this licence, ECMWF does not waive the privileges and immunities granted to it by * virtue of its status as an int...
/* node.c */ /* Synchronet BBS Node control program */ /* $Id: node.c,v 1.26 2013/10/05 14:30:48 deuce Exp $ */ /**************************************************************************** * @format.tab-size 4 (Plain Text/Source Code File Header) * * @format.use-tabs true (see http://www.synchro.net/ptsc_hdr.h...
/* $Id$ */ /* function call & execution time statistics */ #include <limits.h> #include <stdio.h> #include <assert.h> #include <sys/time.h> #ifdef MPI_solaris86 #include <sys/processor.h> #include <sys/procset.h> #endif #include "smidef.h" #include "mpid.h" #include "smidev.h" #include "smistat.h" #ifdef DMALLOC #i...
/*_ ed.h Tue Mar 29 1988 Modified by: <NAME> */ /* * This file is the general header file for all parts of the MicroEMACS * display editor. It contains definitions used by everyone, and it contains * the stuff you have to edit to create a version of the editor for a specific * operating system and terminal...
// utils.c #include "global.h" #include "blowfish.h" /* =============================================================================== LOG THE QUERY AND REPLY Conditionally log the incoming query and our reply =============================================================================== */ void LogTheQueryAndRe...
/* * Copyright (c) 2021 hpmicro * * SPDX-License-Identifier: BSD-3-Clause * */ /*---------------------------------------------------------------------* * Includes *---------------------------------------------------------------------*/ #include "board.h" #include "hpm_enet_drv.h" #include "hpm_enet_soc_drv.h" ...
#include "links.h" #define SMBCLIENT 0 #define SMBC 1 #define N_CLIENTS 2 int smb_client = 0; struct smb_connection_info { int client; int list; int cl; int ntext; char text[1]; }; void smb_got_data(struct connection *); void smb_got_text(struct connection *); void end_smb_connection(struct connection *); int...
/* Copyright 2015 Google Inc. 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 required by applicable law or agreed to in wri...
/* * Copyright (C) 2012 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...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <time.h> #if 0 typedef unsigned char byte; typedef signed char sbyte; typedef unsigned short u16; typedef signed short s16; typedef unsigned int u32; typedef signed int s32; typedef unsigned long long u64; typedef signed long long ...