text
stringlengths
3.12k
18.7k
#include "rct_nxt_output.h" /* * General NXT USB stuff */ #define USB_ID_VENDOR_LEGO 0x0694 #define USB_ID_PRODUCT_NXT 0x0002 #define USB_TIMEOUT 1000 #define USB_STATUS_SUCCESS 0x00 #define NXT_BUFF_LEN 100 #define NXT_RESPONSE_MAX 1024 #define NXT_NAME_LEN 15 #define NXT_FILENAME...
#include <debug.h> #include <stdarg.h> #include <interrupts.h> #include <cputables.h> #include <asm.h> #include <printf.h> #include <lock.h> #include "drivers/serial.h" void dbg_showregs(void *r, const char *file, int line, const char *function) { REGISTERS *regs = r; CR0 cr0 = readcr0(); CR2 cr2 = readcr2...
// See LICENSE for license details. #include <stdio.h> #include <stdlib.h> #include "platform.h" #include <string.h> #include "plic/plic_driver.h" #include "encoding.h" #include <unistd.h> #ifndef _SIFIVE_COREPLEXIP_ARTY_H #error 'global_interrupts' demo only supported for Coreplex IP Eval Kits #endif // Global Inst...
/* * This file is part of GreatFET * * GlitchKit common functionality */ #include <stdbool.h> #include "glitchkit.h" #include <greatfet_core.h> #include <gpio.h> #include <gpio_lpc.h> #include <gpio_scu.h> #include <libopencm3/lpc43xx/scu.h> #include <libopencm3/lpc43xx/cgu.h> // FIXME: make synchronization ex...
/**************************************************************************** NAME ais_json.c - deserialize AIS JSON DESCRIPTION This module uses the generic JSON parser to get data from AIS representations to libgps structures. ***************************************************************************/ #inc...
#include <stdio.h> #include <stdlib.h> #include <sys/types.h> #include <sys/time.h> #include <unistd.h> #include <math.h> #include <float.h> #include <omp.h> #ifdef DP #define REAL double #else #define REAL float #endif //int NB= BSIZE; int BSIZE; #define HACKFOR 128 #define max(a,b)( ((a) > (b)) ? (a) : (b) ) doubl...
#include <errno.h> #include <unistd.h> #include <stdio.h> #include <string.h> #include <sys/socket.h> #include <sys/time.h> #include <netinet/in.h> #include <netdb.h> #include "crc.h" #include "dllayer.h" #include "dlsendto.h" static int sk; static struct sockaddr_in server_remote; static unsigned char seq = 0; static...
/* * MikroSDK - MikroE Software Development Kit * Copyright© 2020 MikroElektronika d.o.o. * * 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 ...
/* Copyright 2012, Google Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditi...
/* vcfToBed - Convert VCF to BED9+ with optional extra fields. * Extra VCF tags get placed into a separate tab file for later indexing.. */ #include "common.h" #include "linefile.h" #include "hash.h" #include "options.h" #include "vcf.h" #include "dnautil.h" // how many extra fields can we put into the bigBed itself...
/* linux/arch/arm/mach-s3c2410/s3c2440-irq.c * * Copyright (c) 2003,2004 Simtec Electronics * <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 Li...
#include "project.h" #define LED_ON 0u #define LED_OFF 1u //Variables calculos interrupccion uint16 contador_ms = 0; uint16 max_s_contador = 10; uint16 distancia_cm; uint16 distancia_cambio = 15; //Cm //Variables contador ADC int16 ADCmilivoltios = 0; int16 ADCcuentas = 0; // Definición de funciones de movimiento. ...
/* ``Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribute...
#include <assert.h> #include "abcc_drv_cfg.h" #include "abcc_port.h" #include "abcc_sys_adapt.h" #include "abcc_sys_adapt_spi.h" #include "abcc.h" #include "tivaware/inc/hw_types.h" #include "tivaware/inc/hw_memmap.h" #include "tivaware/driverlib/sysctl.h" #include "tivaware/inc/hw_ints.h" #include "t...
/*****************************************************************************\ ** ** ** FILE: clubread.c ** ** AUTHORS: Alexios ** **...
/* Copyright (c) 2012, <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 copyright * notice, this list of conditions and...
/* Copyright (c) 2017 - 2018, Nordic Semiconductor ASA * 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 *...
/* * Copyright 2011-2016 The Pkcs11Interop 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...
#define TC_HASH_IMPLEMENTATION #include "../tc_hash.h" #include <stdlib.h> #include <stdio.h> #include <ctype.h> #include <errno.h> #define RBUF_SIZE 65536 #define HASH_FILE_S(LHASH,SHASH,UHASH,FNAME) \ do { ...
#include <limits.h> #include <stdint.h> #include <stdlib.h> #include <string.h> #include "asprintf.h" #include "dynamodb_request.h" #include "dynamodb_request_queue.h" #include "events.h" #include "http.h" #include "insecure_memzero.h" #include "json.h" #include "parsenum.h" #include "serverpool.h" #include "sock.h" #...
/*! * mem_scan is a POC memory editor that uses the mach_vm kernel calls to scan, read, and write * integer memory regions of other userland processes. Included in the project is an example target * that can be tested against. * * It must be run as root to attach to userland processes. * * Options * -...
#include "analysisPcap.h" uint32 hash_5_tuple(struct flowTuple *pkt){ uint32 hash_index = 0; //hash_index = pkt->src_ip % PRIME; hash_index = (pkt->src_ip + pkt->dst_ip + (uint32) pkt->src_port + (uint32) pkt->dst_port) % PRIME; return hash_index; } void analysisInitial(tBigFlowTable *bigFlowTable, tBigFlowTable...
/** MPEG. Copyright (c) 2013 <NAME> */ /* MPEG-HEADER [CRC16] ([XING-TAG LAME-TAG] | FRAME-DATA...) ... */ #pragma once #include <FF/audio/pcm.h> #include <FF/array.h> #include <avpack/mpeg1-read.h> #include <avpack/mp3-write.h> enum FFMPG_R { FFMPG_RWARN = -2, FFMPG_RERR, FFMPG_RHDR, FFMPG_RDATA, FFMPG_...
/* * Copyright (c) 2019, Xilinx Inc. and Contributors. All rights reserved. * * SPDX-License-Identifier: MIT */ #include <dfx-mgr/accel.h> #include <dfx-mgr/assert.h> #include <dfx-mgr/device.h> #include <dfx-mgr/print.h> #include <dfx-mgr/shell.h> #include <errno.h> #include <stdio.h> #include <stdlib.h> #include...
/* * Copyright (c) 2008-2018, <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 li...
/** * ftpServer.c * * <NAME> and <NAME>, CS410P ALSP, 7/26/2019 * * This is the SERVER code for the myFTP program. The server * listens over a connection with the client for incoming requests. */ #include "ftpUtil.h" const char *FILE_OK = "received command"; const int BAD_CMD = -1; const int L_INFO = 1; const ...
/* * Load and run static executables * * objcopy -I binary -O elf64-x86-64 -B i386 ./lib/linux/libscope.so ./lib/linux/libscope.o * gcc -Wall -g src/scope.c -ldl -lrt -o scope ./lib/linux/libscope.o */ #define _GNU_SOURCE #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <fcntl.h> #include <sys/...
/* * Planet listing * * $Id$ * * Copyright 1999-2004 <NAME> under the ARTISTIC LICENSE. (See LICENSE). */ #include "c_defs.h" #include "context.h" #include "global.h" #include "datatypes.h" #include "color.h" #include "conf.h" #include "conqcom.h" #include "conqlb.h" #include "gldisplay.h" #include "node.h" #in...
/* * Memory and machine-specific definitions. Used in C and assembler. */ /* * Sizes */ #define BI2BY 8 /* bits per byte */ #define BI2WD 32 /* bits per word */ #define BY2WD 4 /* bytes per word */ #define BY2V 8 /* bytes per double word */ #define BY2PG 4096 /* bytes per page */ #define WD2PG (BY...
/* * Copyright (c) 2014 ASMlover. 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 ofconditions ...
//KryptoPal - Simulator Mining //Oleh: Kelompok 12 untuk Kuliah Pemrograman Lanjut Teknik Komputer FTUI (ENCE602003) // <NAME> - 2006522631 // <NAME> - 2006526296 // <NAME> - 2006468762 // <NAME> - 2006577611 //Kontribusi: // <NAME>: fungsi mining // <NAME>: fungsi main (...
/* * sfnedit/m_props.c * * Copyright (C) 2020 bzt (<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, co...
/****************************************************************************** * * Relay card control utility: Main module * * Description: * This software is used to controls different type of relays cards. * There are 3 ways to control the relays: * 1. via command line * 2. via web interface usin...
/** @file A brief file description @section license License Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you und...
// // NavyUIKit.h // NavyUIKit // // Created by Astraea尊 on 16/01/10. // Copyright © 2016年 Astraea尊. All rights reserved. // #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> #import "NVSingleton.h" #import "NVViewController.h" #import "NVGlassViewController.h" #import "NVGlassMainViewController.h" #impo...
/* * Copyright 2015 The Native Client Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ /* * NaCl Service Runtime. Transferrable Mach-based shared memory objects. */ #include "native_client/src/include/build_config.h" #include...
/* * xbuiltin.c: constants/global symbols for C++ compiler. * Copyright (C) Codemist Ltd., 1988-1993 * Copyright (C) Acorn Computers Ltd., 1988-1990. * Copyright (C) Advanced RISC Machines Limited, 1992, 1994 * SPDX-Licence-Identifier: Apache-2.0 * All rights reserved. */ /* * RCS $Revision$ * Checkin $Date$ ...
/* This file is provided under a dual BSD/GPLv2 license. When using or redistributing this file, you may do so under either license. GPL LICENSE SUMMARY Copyright(c) 2010-2011 Texas Instruments Incorporated, All rights reserved. This program is free software; you can redistribute it and/or modify it ...
/** ****************************************************************************** * @file usart.c * @brief This file provides code for the configuration * of the USART instances. ****************************************************************************** * @attention * * <h2><center>&c...
/* * This file is part of the coreboot project. * * Copyright (C) 2006 Tyan * Copyright (C) 2006 AMD * Written by <NAME> <<EMAIL>> for Tyan and AMD. * * Copyright (C) 2007 University of Mannheim * Written by <NAME> <<EMAIL>> for University of Mannheim * Copyright (C) 2009 University of Heidelberg * Written by...
#include <sys/types.h> #include <sys/module.h> #include <sys/systm.h> #include <sys/errno.h> #include <sys/param.h> #include <sys/kernel.h> #include <sys/proc.h> #include <sys/conf.h> #include <sys/uio.h> #include <sys/filedesc.h> #include <sys/file.h> #include <sys/syscallsubr.h> #include <sys/fcntl.h> #include <sys/s...
/********************************************************************* * File Name : util.c * Description : Provide some utilities. * Author : <NAME> * Create Date : 2012-11-27 ********************************************************************/ #include <stdio.h> #include <stdlib.h> #include <string...
/****************************************************************************** * * Copyright (C) 2006-2017 by * The Salk Institute for Biological Studies and * Pittsburgh Supercomputing Center, Carnegie Mellon University * * Use of this source code is governed by an MIT-style * license that can be found in the ...
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Fluent Bit * ========== * Copyright (C) 2019 The Fluent Bit Authors * Copyright (C) 2015-2018 Treasure Data Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in co...
/* uri.c -- helper functions for URI treatment * * Copyright (C) 2010--2012,2015-2016 <NAME> <<EMAIL>> * * This file is part of the CoAP library libcoap. Please see * README for terms of use. */ #include "coap_config.h" #if defined(HAVE_ASSERT_H) && !defined(assert) # include <assert.h> #endif #if defined(HAV...
/* * * Copyright 2015, Google Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of condi...
/* ** LuaJIT VM builder: IR folding hash table generator. ** Copyright (C) 2005-2014 <NAME>. See Copyright Notice in luajit.h */ #include "buildvm.h" #include "lj_obj.h" #include "lj_ir.h" /* Context for the folding hash table generator. */ static int lineno; static int funcidx; static uint32_t foldkeys[BUILD_MAX_FOL...
/* $OpenBSD: kern_timeout.c,v 1.18 2003/06/03 12:05:25 art Exp $ */ /* * Copyright (c) 2001 <NAME> <<EMAIL>> * Copyright (c) 2000-2001 <NAME> <<EMAIL>> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditio...
// firstresponder.c // ContentCGI // // Created by Dr. <NAME> on 2018-05-08. // Copyright © 2018-2021 Dr. <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 o...
/* * Copyright © 2018-2020 IBM 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 law or ...
/*************************************************************************** * __________ __ ___. * Open \______ \ ____ ____ | | _\_ |__ _______ ___ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / * Jukebox | | ( <_> ) \___| < | \_\ ( <_> ...
#include "../src/notification.c" #include "greatest.h" #include "helpers.h" #include "../src/option_parser.h" #include "../src/settings.h" #include "../src/icon.h" extern const char *base; TEST test_notification_is_duplicate_field(char **field, struct notification *a, ...
/*************************************************************************** * PHAST: PHylogenetic Analysis with Space/Time models * Copyright (c) 2002-2005 University of California, 2006-2010 Cornell * University. All rights reserved. * * This source code is distributed under a BSD-style license. See the * fi...
/* *(C) Copyright 2005-2008 Netstal Maschinen AG * <NAME> (<EMAIL>) * * This source code is free software; you can redistribute it * and/or modify it in source code form under the terms of the GNU * General Public License as published by the Free Software * Foundation; either version 2 of the Lice...
/* * Copyright (c) 2014 The DragonFly Project. All rights reserved. * * This code is derived from software contributed to The DragonFly Project * by <NAME> <<EMAIL>> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are...
/*! * \file main.c * * \brief Ping-Pong implementation * * \copyright Revised BSD License, see section \ref LICENSE. * * \code * ______ _ * / _____) _ | | * ( (____ _____ ____ _| |_ _____ ____| |__ * ...
/* Copyright 2015 The Chromium OS Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "dcrypto.h" #include "internal.h" #include <assert.h> #ifdef CONFIG_WATCHDOG extern void watchdog_reload(void); #else static inline void...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
/* * Copyright (c) 2011 Samsung Electronics Co., Ltd. * Authors: * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * <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 re...
/* $OpenBSD: fpu_explode.c,v 1.4 2003/06/02 23:27:48 millert Exp $ */ /* $NetBSD: fpu_explode.c,v 1.2 1996/04/30 11:52:18 briggs Exp $ */ /* * Copyright (c) 1992, 1993 * The Regents of the University of California. All rights reserved. * * This software was developed by the Computer Systems Engineering group * a...
/* Copyright (c) 2018, Google Inc. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS...
/* * Copyright 2013 Freescale Semiconductor, Inc. * Copyright 2018-2019 NXP * * MikroBUS: bee click board(MRF24J40MA) application demo * * 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; e...
// // Skiplist.c // skiplist // // Created by Gguomingyue on 2019/4/16. // Copyright © 2019 Gmingyue. All rights reserved. // #include "Skiplist.h" void node_init(struct node * node) { // 所有值都初始化为0 memset(node, 0, sizeof(struct node)); } void skip_list_init(struct skip_list * sl) { node_init(&sl->hea...
/************************** * bignum_math.c -- an outline for CLab1 * * orginially written by <NAME> * modified by <NAME> **************************/ #include <stdio.h> #include <stdlib.h> #include <string.h> #include "bignum_math.h" /* * Returns true if the given char is a digit from 0 to 9 */ bool is_digit...
/* Copyright (c) 2012-2015, <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 con...
/* File: golay23.c * Title: Encoder/decoder for a binary (23,12,7) Golay code * Author: <NAME> (<EMAIL>) * Date: August 1994 * * The binary (23,12,7) Golay code is an example of a perfect code, that is, * the number of syndromes equals the number of correctable error patterns. * The minimum distance is ...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <assert.h> #include <sys/socket.h> #include <sys/types.h> #include <sys/stat.h> #include <sys/ioctl.h> #include <netdb.h> #include <fcntl.h> #include <signal.h> #include <linux/if.h> #include <linux/if_tun.h> /* * The following li...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <ncurses.h> #include <ctype.h> #include <math.h> #include "data.h" #include "lang.h" #include "users.h" #include "repos.h" #include "commits.h" #include "queries.h" #include "generic.h" #include "g3.h" /** * \brief Função removenewlineFromString ...
/* * ODBC Shell * Copyright (C) 2011 Bindle Binaries <<EMAIL>>. * * @BINDLE_BINARIES_BSD_LICENSE_START@ * * 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 ret...
#include "common.h" #include "bed.h" #include "cheapcgi.h" #include "hash.h" #include "linefile.h" #include "dnautil.h" void usage() { errAbort("mergeAffyFiles - Combines an Affy 1lq file describing a chip layout, a\n" "nmer file from nmerAlign aligning the oligos in the genome, and a series\n" "of .cel files for ...
#pragma once #include "stm32f1xx_hal.h" // ############################### DO-NOT-TOUCH SETTINGS ############################### #define PWM_FREQ 16000 // PWM frequency in Hz #define DEAD_TIME 32 // PWM deadtime #define DELAY_IN_MAIN_LOOP 5 // in ms. default 5. it is independent of...
/* * IgorPlug-USB IR Receiver * * Copyright (C) 2014 <NAME> <<EMAIL>> * * Supports the standard homebrew IgorPlugUSB receiver with Igor's firmware. * See http://www.cesko.host.sk/IgorPlugUSB/IgorPlug-USB%20(AVR)_eng.htm * * Based on the lirc_igorplugusb.c driver: * Copyright (C) 2004 <NAME> * <<EMAIL>> * * ...
/* * ==================================================== * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. * * Developed at SunPro, a Sun Microsystems, Inc. business. * Permission to use, copy, modify, and distribute this * software is freely granted, provided that this notice * is preserved. ...
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ /* Ordnance Survey Grid Reference functions (c) <NAME> 2005-2012 */ /* - www.movable-type.co.uk/scripts/gridref.js */ /* - www.movable-type...
/* * libplayerc : a Player client library * Copyright (C) <NAME> 2002-2003 * * 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) a...
/********************************************************** * Copyright 2009-2015 VMware, Inc. 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 * restrict...
/** @file cwlib.c * @brief CONIX WASM Library (CWLib) * @see cwlib.h for documentation * * Copyright (C) Wiselab CMU. * @date April, 2020 * * @todo Implement timeout handlers setup by user */ #include <unistd.h> #include <signal.h> #include <stdio.h> #include <poll.h> #include <stdbool.h> #include <string.h...
/* -*- c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* ==================================================================== * Copyright (c) 2015 Carnegie Mellon University. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that ...
/* vddc.h 1.1 85/07/21 */ /* ** Header file for the VDDC (Versabus Direct Disk Controller) Driver */ #define NSECPTRK 32 /* #sectors/track - fixed by VDDC */ #define SECTSIZ 512 /* sector size fixed by VDDC */ #define L2SIZ 9 /* log2 of sector size */ #define L2BSIZ 10 /* log2 of block size */ #define NVDDRV 3 /...
#include <assert.h> #include <ctype.h> #include <limits.h> #include <stdbool.h> #include <stdint.h> #include <stdio.h> #include <string.h> #include <time.h> #include "sres.h" #define FLAG_0 0x01 #define FLAG_1 0x02 #define FLAG_b 0x04 #define FLAG_c 0x08 #define FLAG_s 0x10 typedef bool handler(struct dtime *dt, tim...
/* * Copyright (C) 2001-2004 Sistina Software, Inc. All rights reserved. * Copyright (C) 2004-2011 Red Hat, Inc. All rights reserved. * * This file is part of the device-mapper userspace tools. * * This copyrighted material is made available to anyone wishing to use, * modify, copy, or redistribute it subject to...
/* * Copyright (c) 2019 <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 option) any later vers...
/***************************************************************************** * Copyright Statement: * -------------------- * This software is protected by Copyright and the information contained * herein is confidential. The software may not be copied and the information * contained herein may not be used or dis...
/*- * Copyright (c) 2014 ENEA Software AB * Copyright (c) 2014 Nokia * * SPDX-License-Identifier: BSD-3-Clause */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include "ofpi_log.h" #include "ofpi_cli.h" #include "ofpi_avl.h" #include "ofpi_rt_lookup.h" #include "ofpi_stat.h" #include "ofpi_util...
#include <libintl.h> #include <stdlib.h> #include <string.h> #include <errno.h> #include <limits.h> #include <sys/stat.h> #include <ctype.h> #include "locale_impl.h" #include "libc.h" #include "atomic.h" struct binding { struct binding *next; int dirlen; volatile int active; char *domainname; char *dirname; char...
/* * Support program to produce Rex Addins * * djm 21/6/2001 after <NAME> * * $Id: rex6000.c,v 1.8 2016-07-11 20:34:58 dom Exp $ */ #include "appmake.h" static char icon[5*32]; /* Yes, this icon is stolen from the other Rex SDK */ static uint8_t icon_default [5*32] = { 0x00,0x00,0x00,0x00,0x00, ...
/* * Copyright (C) 2009-2011 by <NAME> (<EMAIL>) * * Released under the MIT license, see LICENSE.txt */ #include <assert.h> #include <limits.h> #include <stdio.h> #include <string.h> #include <stdlib.h> #include <time.h> #include <getopt.h> #include <inttypes.h> #include <sys/types.h> #include <sys/param.h> #inclu...
/********************************************************************************/ /* */ /* TPM variables that are not stack allocated */ /* Written by <NAME> */ /* IBM Thomas J. Watson Research Center */ /* $Id: Global.c 1047 2017-07-20 18:27:34Z kgoldman $ */ /* *...
/* * Copyright (c) 2004-2007 The Trustees of Indiana University and Indiana * University Research and Technology * Corporation. All rights reserved. * Copyright (c) 2004-2011 The University of Tennessee and The University * of Tennessee Resea...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <errno.h> #include "lexer.h" #define err(...) fprintf(stderr, __VA_ARGS__) enum { false, true }; char keywords_strings[] = "int\nfloat\nvoid\nreturn\n"; unsigned char keywords_types[] = { TYPE_INT, TYPE_FLOAT, TYPE_VOID, RETURN }; int next_token (T...
/* KallistiOS 2.0.0 gltest.c (c)2014 <NAME>. (c)2001 <NAME> */ #include <kos.h> #include <GL/gl.h> #include <GL/glu.h> #include <GL/glut.h> /* This is a really simple KallistiGL example. It shows off several things: basic matrix control, perspective, and controlling the image with map...
// SPDX-License-Identifier: GPL-2.0-only /* * Driver for the TAOS evaluation modules * These devices include an I2C master which can be controlled over the * serial port. * * Copyright (C) 2007 <NAME> <<EMAIL>> */ #include <linux/delay.h> #include <linux/module.h> #include <linux/slab.h> #include <linux/interrup...
/* * Copyright (c) 2018-2019, <NAME>, * Written by <NAME>, <EMAIL> * * BSD Open Source License. * 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...
/******************************************************************************* * Copyright (c) 2012-2017, <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: * * Redistribut...
/*----------------------------------------------------------------------------- * MurmurHash3 was written by <NAME>, and is placed in the public * domain. * * This implementation was written by <NAME>, and is also public domain. * * This is a portable ANSI C implementation of MurmurHash3_x86_32 (Murmur3A) * with...
/* * 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 agreed to...
#include "kernel.h" #define MAX_LENGTH 40 extern struct TIMERCTL timerctl; void main(){ struct BOOTINFO *binfo; struct FIFO32 fifo; binfo = (struct BOOTINFO *) ADR_BOOTINFO; char s[MAX_LENGTH]; char mcursor[256]; // mouse and keyboard data int fifobuf[BUF_LEN]; struct TIMER *timer, *timer2, *timer3; in...
#ifdef __linux__ #define _XOPEN_SOURCE #define _XOPEN_SOURCE_EXTENDED #endif /* __linux___ */ #include <stdlib.h> #include <ctype.h> #include <string.h> #include <stdio.h> #ifdef __linux__ #include <sysexits.h> #endif /* lwIP stuff */ #include "lwip/opt.h" #include "lwip/init.h" #include "lwip/mem.h" #include "lwip/m...
/***************************************************************************** Copyright (c) 2018-2021, Intel Corporation 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 ...
/*************************************************************************** * PHAST: PHylogenetic Analysis with Space/Time models * Copyright (c) 2002-2005 University of California, 2006-2010 Cornell * University. All rights reserved. * * This source code is distributed under a BSD-style license. See the * fi...