text stringlengths 5.8k 28.2k |
|---|
/***************************************************************************
* Description:
* Classify peaks in a bed file according to features found in a GFF.
*
* History:
* Date Name Modification
* 2021-04-05 <NAME>
*********************************************************************... |
/* GStreamer
* Copyright (C) <2009> <NAME> <<EMAIL>>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <ctype.h>
//#define TGVLZ_NOMAIN
//#include "tgvlz1.c"
#if 1
typedef unsigned char byte;
typedef unsigned short u16;
typedef unsigned int u32;
typedef unsigned long long u64;
#endif
typedef unsigned short word;
typedef struct
{
b... |
/*
* Copyright (c) 2013, Institute for Pervasive Computing, ETH Zurich
* 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
... |
/*
* Copyright (C) 2013-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
* Copyright (C) 2007-2013 Sourcefire, Inc.
*
* Authors: <NAME>, <NAME>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* ... |
/*
* linux/fs/umsdos/ioctl.c
*
* Written 1993 by <NAME>
*
* Extended MS-DOS ioctl directory handling functions
*
* Changes:
* 11/07/2003 <NAME> <<EMAIL>>
* - audit copy_to_user/put_user in umsdos_ioctl_fill.
*/
#include <asm/uaccess.h>
#include <linux/errno.h>
#include <linux/mm.h>... |
/*
* Dissector for the Sony FeliCa Protocol
*
* References:
* http://www.sony.net/Products/felica/business/tech-support/data/fl_usmnl_1.2.pdf
* http://www.sony.net/Products/felica/business/tech-support/data/fp_usmnl_1.11.pdf
* http://www.sony.net/Products/felica/business/tech-support/data/format_sequence_guidelin... |
// <NAME> 2019 project
// hash sha256 alogrithm
// Input and Output operations performed
#include <stdio.h>
// provides a set of typedefs that specify exact-width integer types
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
//----------Macros-------------
//macros are used as these are one statement func... |
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolar... |
// SPDX-License-Identifier: GPL-2.0+
/*
* (C) Copyright 2018 Cisco Systems, Inc.
*
* Author: <NAME> <<EMAIL>>
*/
#include <asm/global_data.h>
#include <asm/io.h>
#include <command.h>
#include <config.h>
#include <dm.h>
#include <errno.h>
#include <fdtdec.h>
#include <linux/bitops.h>
#include <linux/delay.h>
#incl... |
// This Demo was written by <NAME>. Nov 2008.
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <time.h>
#include <string.h>
#include "chipmunk_private.h"
#include "drawSpace.h"
#include "ChipmunkDemo.h"
#define WIDTH 600
#define HEIGHT 400
#define SINGMAX 10 // Maximum number of singularities per b... |
/*
* Copyright (c) 2015 <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, merge,
* publish, ... |
/*
Codelet from MILEPOST project: http://cTuning.org/project-milepost
Updated by <NAME> to work with Collective Mind Framework
3 "./psymodel.codelet__17.wrapper.c" 3 4
*/
#include <stdio.h>
int __astex_write_message(const char * format, ...);
int __astex_write_output(const char * format, ...);
void __... |
/******************************************************************************
* Projekt - Zaklady pocitacove grafiky - IZG
* <EMAIL>
*
* $Id: student.c 416 2015-03-10 08:07:46Z spanel $
*/
#include "student.h"
#include "transform.h"
#include "fragment.h"
#include <memory.h>
#include <math.h>
/... |
/*
* tclib.c - termcap interface
*
* \author <NAME>
* \date 27 Jul 92
*
* This file provides an interface to the unix termcap library. All
* display functions should go through this file. This file was originally
* written for support under Borland C on the IBM PC, so it has calls
* to functions that were de... |
#include <osl/osl.h>
#include <osl/extensions/dependence.h>
#include <candl/candl.h>
#include <candl/dependence.h>
#include <isl/ctx.h>
#include <isl/set.h>
#include <isl/map.h>
#include <assert.h>
#include <stdio.h>
#include <string.h>
#include "convert.h"
#include "graph.h"
#include "linked_list.h"
#include "path... |
/* include/HsUnixConfig.h. Generated from HsUnixConfig.h.in by configure. */
/* include/HsUnixConfig.h.in. Generated from configure.ac by autoheader. */
/* The value of SIGABRT. */
#define CONST_SIGABRT 6
/* The value of SIGALRM. */
#define CONST_SIGALRM 14
/* The value of SIGBUS. */
#define CONST_SIGBUS 7
/* T... |
#include <stdio.h>
#include <unistd.h>
#include <string.h>
#include <time.h>
#include <stdlib.h>
#include <errno.h>
#include <getopt.h>
#include <sys/types.h>
#include <sys/stat.h>
#include "automaton/2d_automaton.h"
#include "automaton/rule.h"
#include "automaton/wolfram_automaton.h"
#include "utils/utils.h"
#include ... |
/* $OpenBSD: piixpm.c,v 1.39 2013/10/01 20:06:02 sf Exp $ */
/*
* Copyright (c) 2005, 2006 <NAME> <<EMAIL>>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all... |
/*
* FreeRTOS Kernel V10.3.0
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. 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 restriction, includ... |
/* @ Author: <NAME> @ Version: */
/* */
/* @ Creation Date: 10.19.89 @ Modification Date: */
/* */
/*********... |
/*
* audio_parser.c, helper parser for audio codec data
*
* Copyright (c) 2009-2010 Wind River Systems, 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... |
#include <stdint.h>
#define TEST_CASES_COUNT 3
/** \brief Address Resolution Protocol (request)
\param Hardware type: Ethernet (1)
\param Protocol type: IPv4 (0x0800)
\param Hardware size: 6
\param Protocol size: 4
\param Opcode: request (1)
\par... |
/*
# This file is part of the Astrometry.net suite.
# Licensed under a 3-clause BSD style license - see LICENSE
*/
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include "tpv.h"
#include "starutil.h"
#include "mathutil.h"
/*******************************
NOTE, this... |
/*
Copyright (c) 2021 <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, merge, publish, distribute, su... |
// SPDX-License-Identifier: GPL-2.0+
/*
* Copyright (C) 2016 Nexell Co., Ltd.
*
* Author: <NAME> <<EMAIL>>
*/
#include <config.h>
#include <common.h>
#include <errno.h>
#include <log.h>
#include <asm/arch/reset.h>
#include <asm/arch/nexell.h>
#include <asm/arch/display.h>
#include "soc/s5pxx18_soc_disptop.h"
#in... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "strings_t.h"
#define FAIL() printf("Failed at [%d] line\n", __LINE__)
int string_init_test()
{
string_t* s1 = string_init("Hello");
//check proper mem allocation
if (s1 == (void*) 0) {
FAIL(); goto failure;
}
//check ... |
#include <stdint.h>
#include <stdio.h>
#include<sys/types.h>
#include<sys/socket.h>
#include<netinet/in.h>
#include<arpa/inet.h>
#include<unistd.h>
#include<stdlib.h>
#include<string.h>
#include<netdb.h>
#include<errno.h>
#include <openssl/err.h>
#include <openssl/conf.h>
#include <openssl/pem.h>
#include <openssl/ran... |
/*
* Copyright (c) 2013-2017 The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, 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 noti... |
//**********************************************************************;
// Copyright (c) 2015-2018, Intel Corporation
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// 1. Redistributions... |
/******************************************************************************
*
* XILINX IS PROVIDING THIS DESIGN, CODE, OR INFORMATION "AS IS"
* AS A COURTESY TO YOU, SOLELY FOR USE IN DEVELOPING PROGRAMS AND
* SOLUTIONS FOR XILINX DEVICES. BY PROVIDING THIS DESIGN, CODE,
* OR INFORMATION AS ONE POSSIBLE IMPLEM... |
#include "mmt_core.h"
#include "plugin_defs.h"
#include "extraction_lib.h"
#include "../mmt_common_internal_include.h"
/////////////// PROTOCOL INTERNAL CODE GOES HERE ///////////////////
#define MMT_JABBER_STUN_TIMEOUT 30
#define MMT_JABBER_FT_TIMEOUT 5
/* unused
static uint32_t jabber_stu... |
/*
* Academic License - for use in teaching, academic research, and meeting
* course requirements at degree granting institutions only. Not for
* government, commercial, or other organizational use.
*
* simpleEKFQuat.c
*
* Code generation for function 'simpleEKFQuat'
*
*/
/* Include files */
#include <string... |
/*
Copyright (C) 2013 <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 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it w... |
/*
* 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... |
#define SYS_CNTRL (*((volatile unsigned long *) 0x80010000))
#define UART_CNTRL (*((volatile unsigned long *) 0x80020000))
#define UART_SEND (*((volatile unsigned long *) 0x80020010))
#define UART_REC (*((volatile unsigned long *) 0x80020020))
#define GPIO_0_DIR_SET (*((volatile unsigned long *) 0x80030000))
#de... |
/*
* This file Copyright (C) 2008 <NAME> <<EMAIL>>
*
* This file is licensed by the GPL version 2. Works owned by the
* Transmission project are granted a special exemption to clause 2(b)
* so that the bulk of its code can remain under the MIT license.
* This exemption does not extend to derived works not owned ... |
#define DEBUG 0
#define _GNU_SOURCE
#include <math.h>
#include <stdio.h>
#include <string.h>
#include <glib.h>
#include "minialloc.h"
#include "sentence.h"
#include "lmheap.h"
#include "lm.h"
#include "fastsubs.h"
#include "heap.h"
guint fs_niter = 0; /* number of pops for performance analysis */
static LM lm1;
stat... |
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
#include <stdint.h>
#include <ctype.h>
#include <inttypes.h>
#ifndef _WIN32
#include <termios.h>
#include <unistd.h>
//this emulates conio.h's getch().
//via http://cboard.cprogramming.com/faq-board/27714-faq-there-getch-conio-equival... |
/*
* MagicKit assembler
* ----
* This program was originaly a 6502 assembler written by <NAME>,
* it has been modified and enhanced to support the PC Engine and NES consoles.
*
* This program is freeware. You are free to distribute, use and modifiy it
* as you wish.
*
* Enjoy!
* ----
* Or... |
/*
* Copyright (c) 2002
* <NAME> and the University of Washington.
* 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
*... |
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolar... |
#include "lib/neslib.h"
#include "lib/boilerplate.h"
#include "bin/build_info.h"
#include "src/title.h"
#include "src/level.h"
#include "src/globals.h"
#include "src/hud.h"
#include "src/sprite.h"
#include "src/movement.h"
#include "levels/processed/lvl1_tiles.h"
// Suggestion: Define smart names for your banks and us... |
/*
* Copyright (c) 2014, 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, CAB F.78, Universitaetstr 6, CH-8092 Zurich.
*/
#include <stdio.h>
#include <stdlib.h>
#... |
/***************************************************************************/
/* */
/* t1objs.c */
/* */
/* Ty... |
/* Copyright (c) 2019, SWITCH */
/* See LICENSE for licensing information. */
#include <ctype.h>
#include <stdlib.h>
#include <string.h>
#include <regex.h>
#include <arpa/inet.h>
#include "debug.h"
#include "gconfig.h"
#include "hash.h"
#include "list.h"
#include "radmsg.h"
#include "rewrite.h"
#include "util.h"
stat... |
/*
* libwebsockets - small server side websockets and web server implementation
*
* Copyright (C) 2010 - 2019 <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... |
/*
* The library is not extensively tested and only
* meant as a simple explanation and for inspiration.
* NO WARRANTY of ANY KIND is provided.
*/
#include <stdbool.h>
#include <stdint.h>
#include <string.h>
#include <math.h>
#include "app_bmp280.h"
#include "nrf_gpio.h"
#include "nrf_drv_bmp280_twi.h"
#inclu... |
#include <inttypes.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <assert.h>
#include <errno.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/mman.h>
#include "diskhash.h"
#include "primes.h"
#include "rtable.h"
enum {
HT_FLAG_CAN_WRITE... |
/*
* Copyright (c) 1999-2000 Image Power, Inc. and the University of
* British Columbia.
* Copyright (c) 2001-2003 <NAME>.
* All rights reserved.
*/
/* __START_OF_JASPER_LICENSE__
*
* JasPer Software License
*
* IMAGE POWER JPEG-2000 PUBLIC LICENSE
* ************************************
*
* GRANT:
* ... |
/* This testcase is part of GDB, the GNU debugger.
Copyright 1996-2015 Free Software Foundation, Inc.
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 3 of the License, or
... |
/*
* QEMU PC keyboard emulation
*
* Copyright (c) 2003 <NAME>
* Copyright (c) 2006 Openedhand 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 wit... |
/*
* image.c
*
* Created on: 2020年11月11日
* Author: 王尚祺
*/
#include "image.h"
int f[10 * CAMERA_H];//考察连通域联通性
//每个白条子属性
typedef struct {
uint8_t left;//左边界
uint8_t right;//右边界
int connect_num;//连通标记(号)
}range;
//每行的所有白条子
typedef struct {
uint8_t num;//每行白条数量
range area[white_n... |
/*
* GLX Hardware Device Driver for Intel i810
* Copyright (C) 1999 <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 rig... |
/*
* Copyright (c) 2018, 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... |
#include <astera/sys.h>
#include <astera/debug.h>
#include <math.h>
#if defined(__linux__) || defined(__unix__) || defined(__FreeBSD__) || \
defined(__APPLE__)
#include <unistd.h>
#endif
#if defined(_WIN32) || defined(_WIN64)
#include <windows.h>
#else
#include <time.h>
#endif
#include <stdlib.h>
#if !defined(A... |
/* Copyright (c) 2010-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:
* * Redistributions of source code must retain the above copyright
* notice, this list of con... |
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2015-2019 Yandex LLC
* Copyright (c) 2015-2019 <NAME> <<EMAIL>>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of... |
#include "opt3101.h"
#include <msp.h>
#include "../inc/I2CB1.h"
#include "../inc/Clock.h"
// edited by Valvano and Valvano 12/22/2019
// hardware
// GND ground
// VIN 3.3V
// SDA OPT3101 pin 14 <> P6.4 I2C data SDA_S
// SCL OPT3101 pin 13 <- P6.5 I2C clock SCL_S
// GP1 OPT3101 pin 11 -> P6.2/AUXR/GP1 inp... |
#ifdef _WIN32
#define _WIN32_WINDOWS 0xBAD
#define _WIN32_WINNT 0x0400
#include <windows.h>
#endif
#include <SDL/SDL.h>
#include <GL/gl.h>
#include <GL/glu.h>
#include <GL/glext.h>
#include <stdio.h>
#include <math.h>
#include <string.h>
#include "Log.h"
#ifdef _WIN32
HWND hWndMain=NULL;
HINSTANCE hInst... |
/**************************************************************************
*
* Copyright (C) 2006-2007 <NAME> <<EMAIL>>
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restri... |
/* ecm_ntt.c - high level poly functions to interface between ecm and sp
Copyright 2005, 2006, 2007, 2008, 2009, 2011, 2012 <NAME>,
<NAME>, <NAME>.
This file is part of the ECM Library.
The ECM Library is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License... |
#include "vproxy_xdp.h"
#include <linux/if_link.h>
#include <errno.h>
#include <net/if.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include "vproxy_checksum.h"
extern struct bpf_object* load_bpf_object_file(const char* filename, int ifindex);
extern int xdp_link_attach(int ifin... |
/* $NetBSD: net.c,v 1.8.2.14 1997/12/26 02:39:49 perry Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
* All rights reserved.
*
* Written by <NAME> for Piermont Information Systems Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided t... |
/* SPDX-License-Identifier: BSD-3-Clause
* Copyright(C) 2019 Marvell International Ltd.
*/
#include "otx2_ethdev.h"
int
otx2_nix_rss_tbl_init(struct otx2_eth_dev *dev,
uint8_t group, uint16_t *ind_tbl)
{
struct otx2_rss_info *rss = &dev->rss_info;
struct otx2_mbox *mbox = dev->mbox;
struct nix_aq_enq_req... |
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/pci.h>
#include <linux/i2o.h>
static void i2o_report_util_cmd(u8 cmd);
static void i2o_report_exec_cmd(u8 cmd);
static void i2o_report_fail_status(u8 req_status, u32 * msg);
static void i2o_report_common_status(u8 req_status);
static void i2o_report_c... |
/**
* The MIT License (MIT)
*
* Copyright (c) 2017 <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... |
/*############################################################################
# Copyright 2016-2017 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# ht... |
/*
Pokemon Sword & Shield Fast Egg Hatching
Logic by kirbunkle aka <NAME>
Based on the LUFA library's Low-Level Joystick Demo
(C) Dean Camera
Based on the HORI's Pokken Tournament Pro Pad design
(C) HORI
This project implements a modified version of HORI's Pokken Tournament Pro Pad
USB descriptors to allow for the cr... |
/*
* Copyright (c) 2001-2019, Arm Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause OR Arm’s non-OSI source license
*/
#include "secureboot_basetypes.h"
#include "util_asn1_parser.h"
#include "util_x509_parser.h"
#include "sb_x509_error.h"
#include "sb_x509_cert_parser.h"
#inc... |
/* buildcmd.c -- build command lines from a list of arguments.
Copyright (C) 1990, 91, 92, 93, 94, 2000, 2003, 2005, 2006,
2007, 2008 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as pub... |
/* ************************************************************************
* File: mobact.c Part of CircleMUD *
* Usage: Functions for generating intelligent (?) behavior in mobiles *
* *
* All right... |
#include <pebble.h>
#include "keys.h"
#include "text.h"
#include "configs.h"
#include "clock.h"
static bool weather_enabled;
static bool use_celsius;
static int last_update = 0;
static int last_successful_update = 0;
static int weather_interval = 30;
static char* weather_conditions[] = {
"\U0000F07B", // 'unknown... |
/*
* Copyright © 2016 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... |
/**
***************************************************************************
* @file HipAlgorithm.c
* @author ADI
* @version V1.1.0
* @date 06-July-2011
* @brief Realize Pedometer based on the new Hip Algorithm.
*
*********************************************************************... |
/**
* Smarc
*
* Copyright (c) 2009-2011 Institut Télécom - Télécom Paristech
* Télécom ParisTech / dept. TSI
*
* Authors : <NAME>, <NAME>
*
* This file is part of Smarc.
*
* Smarc is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as publishe... |
/**
* (C) Copyright 2019 Intel Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... |
/*
* Copyright (c) 2011 <NAME>, Xenion Pty Ltd
* Copyright (c) 2008 <NAME>, <NAME>
* Copyright (c) 2008 Atheros Communications, 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 pe... |
/*
Changes by <NAME>, Freiburg i. Br., Germany, December 2002.
Sccsid @(#)awk.h 1.23 (gritter) 12/25/04>
*/
/* UNIX(R) Regular Expression Tools
Copyright (C) 2001 Caldera International, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Genera... |
/* $Id: vidmodes.c,v 1.14 2009/02/10 09:15:29 deuce Exp $ */
#include <stdlib.h>
#include "vidmodes.h"
struct video_params vparams[49] = {
/* BW 40x25 */
{BW40, GREYSCALE_PALETTE, 40, 25, 14, 15, 16, 8},
/* CO 40x25 */
{C40, COLOUR_PALETTE, 40, 25, 14, 15, 16, 8},
/* BW 80x25 */
{BW80, GREYSCALE_PALETTE, 80, 2... |
# include <stdio.h>
# include <string.h>
#include "hstcal.h"
# include "hstio.h"
# include "acs.h"
# include "acsrej.h"
# include "rej.h"
# include "hstcalerr.h"
# include "acsinfo.h"
# include "getacskeys.h"
static int getACSnsegn (Hdr *, char *, multiamp *, multiamp *);
static int checkgn (multia... |
/* gri_stddev.c: GRI-909 standard devices
Copyright (c) 2001-2008, <NAME>
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
t... |
#include "../include/raft/uv.h"
#include <stdio.h>
#include <string.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include "../include/raft.h"
#include "assert.h"
#include "byte.h"
#include "configuration.h"
#include "entry.h"
#include "logging.h"
#include "snapshot.h"
#include "uv.h"
#include "... |
/* 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 may not... |
/*
* OTA_Msg_MO.c
*
* Created on: Aug 26, 2011
* Author: wlai
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <OTA_Def.h>
#ifndef EMBEDDED
#include <time.h>
#endif
void Msg_set_Seq_ID(OTA_Message* p, UInt16 seqid);
UInt16 Msg_get_Seq_ID(OTA_Message* p);
void Msg_set_Event_Code(OTA_... |
/* cdwFindSymlinkable - Find files under wrangle dir that could be symlinked to the file under cdw/ to save space. */
#include <utime.h>
#include "common.h"
#include "linefile.h"
#include "filePath.h"
#include "portable.h"
#include "md5.h"
#include "hash.h"
#include "options.h"
#include "cdw.h"
#include "cdwLib.h"
boo... |
#include "trophy.h"
#include "util.h"
#include "debug.h"
#include "np_trophy.h"
#include <vitasdk.h>
#include <taihen.h>
#define HOOKS_NUM 4
static SceUID hooks[HOOKS_NUM] = {};
static tai_hook_ref_t refs[HOOKS_NUM] = {};
static SceNpTrophyContext context = -1;
static SceUID trophyMutex = -1, trophySema = -1;
sta... |
/* C library for spike fitting, a re-implementation of Matlab fitting.
See spikefit.mw for any missing documentation, and MEX calling setup.
Barnett 2/12/15 start.
*/
#include "spikefit.h"
//----------------------------------------------------------------------------
void spikemod(double* W, int M, int T, int K... |
/* AAPPLI- APPLICABLES FOR ADVENTURERS */
/*COPYRIGHT 1980, INFOCOM COMPUTERS AND COMMUNICATIONS, CAMBRIDGE MA. 02142*/
/* ALL RIGHTS RESERVED, COMMERCIAL USAGE STRICTLY PROHIBITED */
/* WRITTEN BY <NAME> */
#include "funcs.h"
#include "vars.h"
logical aappli_(ri)
integer ri;
{
/* System generated locals */
... |
#include "asf.h"
#include "asf_meta.h"
#include "asf_vector.h"
#include "asf_endian.h"
#include "asf_license.h"
#include "convert2vector_help.h"
#include <stdio.h>
#include <ctype.h>
static int iscsv(char *file)
{
char *ext = findExt(file);
if (!ext) {
char *csvfile = appendExt(file, ".csv");
int ret = fil... |
#include <pebble.h>
enum {
STORAGE_WATERCNT_ML =23, // <-- no longer used, replaced by STORAGE_DRINKS
STORAGE_DAY,
STORAGE_GOAL_ML,
STORAGE_DRINKS,
STORAGE_ACTIVE_DRINK_TYPE,
};
#define DEFAULT_GOAL 5000
typedef enum {
DT_WATER_100ML =0,
DT_WATER_200ML =1,
DT_WATER_250ML =2,
DT_WATER_333ML =3,
// ... |
/*
OpenRTOS V8.2.3 - Copyright (C) Wittenstein High Integrity Systems.
OpenRTOS is distributed exclusively by Wittenstein High Integrity Systems,
and is subject to the terms of the License granted to your organization,
including its warranties and limitations on distribution. It cannot be
copied ... |
/*
* Copyright © 2017-2019 The OpenEBS Authors
*
* 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 a... |
/*
* MIT License
*
* Copyright (c) 2020 <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, m... |
/* ----------------------------------------------------------------- */
/* The Speech Signal Processing Toolkit (SPTK) */
/* developed by SPTK Working Group */
/* http://sp-tk.sourceforge.net/ */
/* -----------------------------... |
/*
This file is part of HiParTI!.
HiParTI! 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 3 of
the License, or (at your option) any later version.
HiParTI! is distr... |
/**
* \file
*
* \brief GUI Management Task.
*
* Copyright (c) 2014 Atmel Corporation. All rights reserved.
*
* \asf_license_start
*
* \page License
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Re... |
/*
* Tencent is pleased to support the open source community by making TBase available.
*
* Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved.
*
* TBase is licensed under the BSD 3-Clause License, except for the third-party component listed below.
*
* A copy of the BSD 3-Clause Li... |
/*
* Copyright 2016 Capital One Services, LLC
*
* 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... |
/* author: <NAME> */
/* git: https://github.com/josefdolezal */
#ifndef __PROGTEST__
#include <stdio.h>
#include <assert.h>
#endif /* __PROGTEST__ */
int digitalClock ( int y1, int m1, int d1, int h1, int i1,
int y2, int m2, int d2, int h2, int i2, long long int * consumption );
int overeniDat(int ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.