text stringlengths 7.55k 41.9k |
|---|
/*
* Copyright (C) 2021 Southern Storm Software, Pty Ltd.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, ... |
/*
* Copyright (c) 2020 <<NAME>> MIT License
*
* HomeKit GarageDoor Project
*/
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <freertos/FreeRTOS.h>
#include <freertos/task.h>
#include "freertos/queue.h"
#include <esp_event.h>
#include <esp_log.h>
#include <hap.h>
#include <hap_apple_servs.h>... |
/***********************************************************************
* *
* This software is part of the ast package *
* Copyright (c) 1992-2010 AT&T Intellectual Property *
* and i... |
/*
* Copyright (C) 2016 <NAME> <<EMAIL>>
* 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, including without limitation
* the rights to use,... |
/*---------------------------------------------------------------------------------
Este codigo se ha implementado basandose en el ejemplo "Simple sprite demo" de
dovoto y otro de <NAME>
---------------------------------------------------------------------------------*/
#include <nds.h>
#include <stdio.h>
#inc... |
/* Redis Object implementation.
*
* Copyright (c) 2009-2012, <NAME> <antirez at gmail dot com>
* 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 r... |
#include "Event.h"
#include "UUID.h"
#include "Clock.h"
uint8_t Reset_Device () {
// TODO: Reset_Timeline ();
Initialize_Channels ();
Apply_Channels ();
return TRUE;
}
Event* Create_Event (char *uuid, Action *action, char *state) {
// Allocate memory for action construct.
Event *event = (Event *) malloc (si... |
/*
Via Rhine driver, written for VT6102.
Uses the ethermii to control PHY.
Currently always copies on both, tx and rx.
rx side could be copy-free, and tx-side might be made
(almost) copy-free by using (possibly) two descriptors (if it allows
arbitrary tx lengths, which it should..): first for alignment and
seco... |
#include "esp_event.h"
#include "esp_log.h"
#include "esp_netif.h"
#include "esp_smartconfig.h"
#include "esp_system.h"
#include "esp_wifi.h"
#include "esp_wpa2.h"
#include "freertos/FreeRTOS.h"
#include "freertos/event_groups.h"
#include "freertos/queue.h"
#include "freertos/semphr.h"
#include "freertos/task.h"
#inclu... |
#include "config.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <ctype.h>
// PCRE
#include <pcre.h>
#include "r3.h"
#include "r3_str.h"
#include "slug.h"
#include "zmalloc.h"
#define CHECK_PTR(ptr) if (ptr == NULL) return NULL;
// String value as the index http://judy.so... |
/**
* @file fp12.c
* @author <NAME>
* @date 19th May 2015
* @brief AMCL Fp^12 functions
* @note FP12 elements are of the form a+i.b+i^2.c
*
* LICENSE
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for ... |
#include "object.c"
#include "code.h"
#include "degrade.h"
/*
* Header
*/
static int test_sizecheck(void)
{
#if defined(LISP_ARCH_32BIT)
test((SYMBOL_INDEX_SIZE % 2) == 0, "object_h1");
RETURN;
#else
return 0;
#endif
}
/*
* object
*/
static int test_nil(void)
{
addr left, right;
Nil = Unbound;
nil_heap(... |
/* keepass2john utility (modified KeeCracker) written in March of 2012
* by <NAME>. keepass2john processes input KeePass 1.x and 2.x
* database files into a format suitable for use with JtR. This software
* is Copyright (c) 2012, <NAME> <dhiru.kholia at gmail.com> and it
* is hereby released under GPL license.
*
... |
/* Copyright (c) 2015, 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 list of con... |
/*
* this is a list of Ascii-Roman type chars, for terminal this list
* is the same for Ascii-Italic and Ascii-Bold, but on the typesetter
* the accents for Ascii-Italic are different--hence each font has the
* different tables
*/
#define num( X ) ( X - 'a' + 1 )
comb ** vt100aico;
comb ** vt100abco;
static fch... |
/*
* From coreboot southbridge/intel/bd82x6x/lpc.c
*
* Copyright (C) 2008-2009 coresystems GmbH
*
* SPDX-License-Identifier: GPL-2.0
*/
#include <common.h>
#include <dm.h>
#include <errno.h>
#include <fdtdec.h>
#include <rtc.h>
#include <pci.h>
#include <asm/intel_regs.h>
#include <asm/interrupt.h>
#include <asm... |
// Copyright (c) 2017, Lawrence Livermore National Security, LLC. Produced at
// the Lawrence Livermore National Laboratory. LLNL-CODE-734707. All Rights
// reserved. See files LICENSE and NOTICE for details.
//
// This file is part of CEED, a collection of benchmarks, miniapps, software
// libraries and APIs for effic... |
/*
* 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:
* ... |
#include <uwsgi.h>
#include <curl/curl.h>
#include <jansson.h>
extern struct uwsgi_server uwsgi;
#define DOCKER_SOCKET "/var/run/docker.sock"
#define DOCKER_API "1.24"
static struct uwsgi_docker {
int emperor;
int debug;
int emperor_required;
char *socket;
char *vassal_socket_dir;
} udocker;
static struct uwsg... |
#include <emu51.h>
#include "instr.h"
#include "helpers.h"
/* Implementations of 8051/8052 instructions.
*
* The functions should return 0 on success or an error code on error.
*/
/* disable unused parameter warning when using gcc */
#ifdef __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunu... |
/* Copyright © 2019 - 2021, <NAME>. All rights reserved.
*
* This program is built for programming challenge,
* https://www.aiforsea.com/traffic-management
*
* This program provides a simple command-line interface to filter traffic
* demand dataset.
*/
#include <assert.h>
#include <ctype.h>
#include <stdio.h>
#... |
// SPDX-License-Identifier: GPL-2.0-only
/*
* Battery driver for Maxim MAX8925
*
* Copyright (c) 2009-2010 Marvell International Ltd.
* <NAME> <<EMAIL>>
*/
#include <linux/module.h>
#include <linux/err.h>
#include <linux/slab.h>
#include <linux/of.h>
#include <linux/i2c.h>
#include <linux/interrupt.h>
#include <l... |
/*
*
* Copyright (c) 2015 <NAME> <<EMAIL>>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This... |
/*
* iterate.c
*
* Code generation for function 'iterate'
*
*/
/* Include files */
#include "iterate.h"
#include "addAineqConstr.h"
#include "addBoundToActiveSetMatrix_.h"
#include "blas.h"
#include "checkStoppingAndUpdateFval.h"
#include "checkUnboundedOrIllPosed.h"
#include "computeFval_ReuseHx.h"
#include "com... |
/*
* Copyright (c) 2011-2018 <NAME>. All rights reserved.
*
* Developed by: <NAME>
* http://github.com/klange/nyancat
* http://nyancat.dakko.us
*
* 40-column support by: <NAME>
* http://github.com/Peetz0r/nyancat
* ... |
/*
* This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
*
* Copyright 2007-2020 Broadcom Inc. All rights reserved.
*/
/*
* MPLS-TP Section OAM will be a super set of MPLS-TP LSP OAM and PWE OAM by running OAM at {portxVlan}
* c... |
/*
* Phoenix-RTOS
*
* Generic ata controller driver
*
* Copyright 2012, 2018 Phoenix Systems
* Author: <NAME>, <NAME>
*
* This file is part of Phoenix-RTOS.
*
* %LICENSE%
*/
#include <errno.h>
#include <stdlib.h>
#include <stdint.h>
#include <stdio.h>
#include <unistd.h>
#include <string.h>
#include <arch/... |
/* clcomm.f -- translated by f2c (version 19980913).
You must link the resulting object file with the libraries:
-lf2c -lm (in that order)
*/
#include "f2c.h"
/* Table of constant values */
static integer c__5 = 5;
static logical c_true = TRUE_;
static integer c__6 = 6;
static integer c__18 = 18;
static intege... |
/**
******************************************************************************
* @file i2c.c
* @brief This file provides code for the configuration
* of the I2C instances.
******************************************************************************
* @attention
*
* <h2><cente... |
/*-
* SPDX-License-Identifier: BSD-4-Clause
*
* Copyright (C) 1994, 1995, 1997 <NAME>.
* Copyright (C) 1994, 1995, 1997 TooLs GmbH.
* All rights reserved.
* Original code by <NAME> (<EMAIL>) (see below).
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provid... |
/*
* Copyright (c) 2006-2015 <NAME> (<EMAIL>), ZigWap LLC
*
* License: MIT
*/ ... |
/* $OpenBSD: dns.c,v 1.83 2015/10/28 07:28:13 gilles Exp $ */
/*
* Copyright (c) 2008 <NAME> <<EMAIL>>
* Copyright (c) 2009 <NAME> <<EMAIL>>
* Copyright (c) 2011-2014 <NAME> <<EMAIL>>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provid... |
/**
******************************************************************************
* @file DFSDM/DFSDM_AudioRecord/Src/main.c
* @author MCD Application Team
* @brief This example describes how to use DFSDM HAL API to realize
* audio recording.
*******************************************... |
#include "xdns.h"
#include <stdio.h>
#include <stdlib.h> /* malloc() */
#include <unistd.h> /* getpid() */
#include <string.h>
#include <errno.h>
#include <ctype.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <netinet/in.h>
#include <netdb.h>
#define PORT 53
int xdns_debug = 0;
... |
#define __T_INTERNAL
#include "pst.h"
// will be undefined at the end
#define __T_CALLOC ((pst_node_t*)calloc(1, sizeof(struct t_node)))
static void _t_hash_init(void) {
#ifndef __T_NOHASH
unsigned char _t_ok = 0;
#define _T_OK (_t_ok++)
#define _T_NOT (__T_VOCAB_LEN)
_t_hash_values[0] = _T_OK ; // \0
... |
/**
* Copyright 2008 Digital Bazaar, Inc.
*
* This file is part of librdfa.
*
* librdfa is Free Software, and can be licensed under any of the
* following three licenses:
*
* 1. GNU Lesser General Public License (LGPL) V2.1 or any
* newer version
* 2. GNU General Public License (GPL) V2 or ... |
/*$
Copyright (c) 2014-2017, Azel
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the follow... |
#include "httpserver.h"
#include "swiot_platform.h"
#include "swiot_common.h"
#define DATA_TICK_TIMEOUT 60000
#define DEAD_TICK_TIMEOUT 10000
#define LIST_SIZE 2
#define STEP_SIZE 2
#define CLIENT_READ_BUFSIZE 512
#define CLIENT_WRITE_BUFSIZE 512
#define AGLIN(x) (((x)/4) * 4 + 4)
#define WORKING 0
#define EXITING 1
#... |
/*
* Copyright (c) 2003 <NAME>
* Copyright (c) 2003 Massachusetts Institute of Technology
*
* 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 ... |
#include "include/fileSystem.h"
#include "asm/libasm.h"
#include "drivers/include/console.h"
#include "drivers/include/kb_driver.h"
#include "include/malloc.h"
#include "include/memoryManager.h"
#include "include/mutex.h"
#include "include/process.h"
#include "include/scheduler.h"
#include "include/stdlib.h"
#define B... |
/*
* Copyright (c) 2021 <NAME>
* Copyright (c) 2010 <NAME>
*/
#include "stest.h"
#include <string.h>
#include <setjmp.h>
#ifdef STEST_INTERNAL_TESTS
static int stest_last_passed = 0;
#endif
#define STEST_RET_ERROR (-1)
#define STEST_RET_OK 0
#define STEST_RET_FAILED_COUNT(tests_failed_count) (tests_failed_count)
... |
/******************************************************************************
LSM9DS0.c
LSM9DS0 Library Source File
Author:
<NAME> “Chris” Baek @ Wireless Health Institute, UCLA
Based on C++ libraries by:
<NAME> @ SparkFun Electronics
Original Creation Date: February 14, 2014 (Happy Valentines Day!)
Modif... |
/****************************************************************************
* Copyright (C) 2014 by <NAME>, <NAME>, *
* <NAME> *
* *
* This file is part of the glmgen library... |
/*----------------------------------------------------------------------*/
/* BIBLIOGRAPHY */
/* Dole, <NAME>. "Formation of Planetary Systems by Aggregation: */
/* a Computer Simulation" October 1969, Rand Corporation Paper */
/* P-4226. */
/*--------------------------------------------... |
#include "im_trace.h"
#include <stdint.h>
#include <string.h>
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/syscall.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include <pthread.h>
#include <math.h>
#define RAND_RANGE 32767
// The fastrand functions h... |
/*
* Copyright (c) 2004-2008 Voltaire Inc. All rights reserved.
* Copyright (c) 2007 Xsigo Systems Inc. All rights reserved.
*
* This software is available to you under a choice of one of two
* licenses. You may choose to be licensed under the terms of the GNU
* General Public License (GPL) Version 2, availabl... |
/* Copyright 2019 <NAME>. All rights reserved */
// https://www.c64-wiki.com/wiki/BASIC_token
/*
* Simple .prg viewer
*/
#include <stddef.h>
#include <assert.h>
#include <stdio.h>
#include <string.h>
#include <stdbool.h>
#include <stdint.h>
#include <ctype.h>
#include <ncurses.h>
#include "6510.h"
// max 202 bloc... |
/*
Copyright (c) 2017, <NAME>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disc... |
/*
* i2c tv tuner chip device driver
* controls microtune tuners, mt2032 + mt2050 at the moment.
*
* This "mt20xx" module was split apart from the original "tuner" module.
*/
#include <linux/delay.h>
#include <linux/i2c.h>
#include <linux/slab.h>
#include <linux/videodev2.h>
#include "tuner-i2c.h"
#include "mt20xx... |
/*
* This file contains the Montecito PMU register description tables
* and pmc checker used by perfmon.c.
*
* Copyright (c) 2005-2006 Hewlett-Packard Development Company, L.P.
* Contributed by <NAME> <<EMAIL>>
*/
static int pfm_mont_pmc_check(struct task_struct *task, pfm_context_t *ctx, unsigned i... |
/*------------------------------------------------------------------------*/
/* STM32F100: MMCv3/SDv1/SDv2 (SPI mode) control module */
/*------------------------------------------------------------------------*/
/*
/ Copyright (C) 2018, ChaN, all right reserved.
/
/ * This software is a free softwar... |
void _Exit() {} ;
void _IO_feof() {} ;
void _IO_getc() {} ;
void _IO_putc() {} ;
void _IO_puts() {} ;
void __assert_fail() {} ;
void __ctype_b_loc() {} ;
void __ctype_get_mb_cur_max() {} ;
void __ctype_tolower_loc() {} ;
void __ctype_toupper_loc() {} ;
void __cxa_atexit() {} ;
void __cxa_finalize() {} ;
void __errno_lo... |
// Options: --no-arrays --no-pointers --no-structs --no-unions --argc --no-bitfields --checksum --comma-operators --compound-assignment --concise --consts --divs --embedded-assigns --pre-incr-operator --pre-decr-operator --post-incr-operator --post-decr-operator --unary-plus-operator --jumps --longlong --int8 --uint8... |
/*
* validator/val_nsec.c - validator NSEC denial of existance functions.
*
* Copyright (c) 2007, NLnet Labs. All rights reserved.
*
* This software is open source.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are... |
/* DGen font, generated by pbm2df from "dgenfont_8x13.pbm" */
#include <stdio.h> /* for NULL definition */
static const short _glyph_20[] = {-1};
static const short _glyph_21[] = {19, 8, 8, 8, 8, 8, 8, 16, -1};
static const short _glyph_22[] = {18, 3, 5, 3, 5, 3, -1};
static const short _glyph_23[] = {26, 3, 5... |
/**
* @file
* @brief show list pci's devices
*
* @date 11.04.11
* @author <NAME>
* @author <NAME>
*/
#include <stddef.h>
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <inttypes.h>
#include <util/array.h>
#include <drivers/pci/pci.h>
#include <drivers/pci/pci_repo.h>
#include <drivers/pci... |
/*
* Copyright (C) the libgit2 contributors. All rights reserved.
*
* This file is part of libgit2, distributed under the GNU GPL v2 with
* a Linking Exception. For full terms see the included COPYING file.
*/
#include BOSS_LIBGIT2_U_common_h //original-code:"common.h"
#include "diff.h"
#include "diff_patch.h"
#in... |
// chiaharvestgraph.c
//
// (c)2021 by <NAME>.
// XCH Donations: xch1zfgqfqfdse3e2x2z9lscm6dx9cvd5j2jjc7pdemxjqp0xp05xzps602592
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <assert.h>
#include <math.h>
#include <fcntl.h>
#include <dirent.h>
#include <sys/inotify.h>
#include <sys/select.h>
#inclu... |
/* ===================================================
* file: crgEval2z.c
* ---------------------------------------------------
* purpose: convert a u/v position into an
* elevation
* ---------------------------------------------------
* based on routines by Dr. <NAME>, Daimler AG
* -----... |
/* $Id: upnpstun.c,v 1.5 2020/04/21 21:21:59 nanard Exp $ */
/* vim: tabstop=4 shiftwidth=4 noexpandtab
* MiniUPnP project
* http://miniupnp.free.fr/ or https://miniupnp.tuxfamily.org/
* (c) 2020 <NAME>
* (c) 2018 <NAME>
* This software is subject to the conditions detailed
* in the LICENCE file provided within t... |
/*
copyright (c) 2003-2013 uim Project http://code.google.com/p/uim/
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
... |
#include "util_request.h"
char *query(char *str_request, size_t int_request_length, size_t *int_query_length) {
char *str_return = NULL;
SDEFINE_VAR_ALL(str_uri);
// find the form_data by request type
if (strncmp(str_request, "GET ", 4) == 0) {
size_t int_uri_length = 0;
str_uri = str_uri_path(str_request, in... |
/* Copyright 1999-2003 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 version 2 as
* published by the Free Software Foundation.
*/
/* System library */
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#... |
/*
* Sibyl server functions
*/
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include <string.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <signal.h>
#include <limits.h>
#include <sys/time.h>
#include <syslog.h>
#include <termios.h>
#include <netinet/in.h>
#include <netdb... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <unistd.h>
#include <dirent.h>
#include "MJDSort.h"
#define VERBOSE 0
unsigned int get_skim_time(char * fname);
/* ------------------------------------------------------------ */
int main(int argc, char **argv) {
MJDetInfo De... |
/* ====================================================================
* 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 t... |
/*
** Copyright 2005-2017 Solarflare Communications Inc.
** 7505 Irvine Center Drive, Irvine, CA 92618, USA
** Copyright 2002-2005 Level 5 Networks Inc.
**
** 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 ... |
/* $NetBSD: mongoose.c,v 1.8 2003/11/28 19:03:03 chs Exp $ */
/* $OpenBSD: mongoose.c,v 1.7 2000/08/15 19:42:56 mickey Exp $ */
/*
* Copyright (c) 1998,1999 <NAME>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the followi... |
//
// BRBIP32Sequence.c
//
// Created by <NAME> on 8/19/15.
// Copyright (c) 2015 breadwallet LLC
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including wi... |
/*
* audioSample_io.c
*
* This file contains the test / demo code to demonstrate the Audio component
* driver functionality on SYS/BIOS 6.
*
* Copyright (C) 2017-2019 Texas Instruments Incorporated - http://www.ti.com/
*
*
* Redistribution and use in source and binary forms, with or without
* modification, ... |
/*
* ISC License
*
* Copyright (C) 1991-2018 by
* <NAME>
* <NAME>
* Delft University of Technology
*
* 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 c... |
/*
* grep - search a file for a pattern
*
* <NAME>, Freiburg i. Br., Germany, April 2001.
*/
/*
* Copyright (c) 2003 <NAME>
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
*
... |
/******************************************************************************
* File Name : gate.c
* Date : 10/11/2013
* Board : F4-Discovery
* Description : USB PC<->CAN gateway
*******************************************************************************/
/*
TODO
10-21... |
//les structures:
typedef struct{
int jour;
int mois;
int anne;
}Date;
typedef struct {
char now[256];
int numero;
char localisation[256];
int proprietaire;
float solde_actuel;
float ancien_solde;
char derniere_operation;
char mt_de_passe[256];
} compteBancaire;
typedef struct... |
/*
* Copyright 2007 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/*
* usr/src/cmd/cmd-inet/usr.bin/telnet/kerberos5.c
*
* Copyright (c) 1991, 1993
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, w... |
/*
* Copyright (c) 2007 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2007, 2008 Mellanox Technologies. All rights reserved.
*
* This software is available to you under a choice of one of two
* licenses. You may choose to be licensed under the terms of the GNU
* General Public License (GPL) Version 2... |
/*
* $Id: $
*
* Copyright (c) 2020 <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 copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE... |
#include "Doom.h"
#include "string.h"
#include "stdio.h"
#include "wad_loader.h"
#include "tools.h"
#include "filestream.h"
#include "filestreamfunctions.h"
#define MAX_MAPS_NUM 32
#define MAX_BLOCKMAP_SIZE 65536
int loadingFix;
const char* mapLumpNames[ML_TOTAL] = {
"THINGS",
"LINEDEFS",
"SIDEDEFS",
"VERT... |
#include <assert.h>
#include <malloc.h>
#include <math.h>
#include <string.h>
#include "ite/itu.h"
#include "itu_cfg.h"
#include "itu_private.h"
static const char curveName[] = "ITUCurve";
void ituCurveExit(ITUWidget* widget)
{
ITUCurve* curve = (ITUCurve*) widget;
assert(widget);
ITU_ASSERT_THREAD();
... |
/*
* xen-hvmctx.c
*
* Print out the contents of a HVM save record in a human-readable way.
*
* <NAME> <<EMAIL>>
* Copyright (c) 2008 Citrix Systems, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to... |
/*
* som.c
*
* Implementation of Kohonen's Self Organizing Map (V3.0).
*
*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
*
* This file part of: SExtractor
*
* Copyright: (C) 1995-2010 <NAME> -- IAP/CNRS/UPMC
*
* License: GNU General Public License
*
* SExtractor is free software: you... |
static char rng_module_doc[] =
"GSL Random-number generators implemented as C extension types.\n\
\n\
Use rng(Random-number generator types) to create an instance of a new\n\
random generator. All known random generator types are listed below. The\n\
different distributions are methods of the random generator instances... |
#include <string.h>
#include "smt_defs.h"
#include "smt.h"
#include "smt_user_defs.h"
#ifdef SMT_DEBUG
const char* SMT_FINAL_STATE_STR = "SMT_FINAL_STATE";
const char* SMT_ENTRY_STATE_STR = "SMT_ENTRY_STATE";
const char* SMT_HISTORY_STATE_STR = "SMT_HISTORY_STATE";
#endif
/* ------------------- Internal data structu... |
/******************************************************************************
* Copyright (c) 2009 - 2012 Marvell International, Ltd. All Rights Reserved
*
* Marvell Confidential
******************************************************************************/
/**
*
* \file pip_pqcmd.c
*... |
/**
* php-libui (http://toknot.com)
*
* @copyright Copyright (c) 2019 <NAME> (Toknot.com)
* @license http://toknot.com/LICENSE.txt New BSD License
* @link https://github.com/chopins/php-libui
* @version 0.1
*/
struct tm {
int tm_sec;
int tm_min;
int tm_hour;
int tm_mday;
int tm_... |
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (the "License"). You may not use this file except in compliance
* with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* o... |
#include "datafilter.h"
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include <errno.h>
#include <assert.h>
#define FILTER_MT_NAME ("c3966aca-6037-11dc-9675-00e081225ce5-" VERSION)
struct Filter_;
typedef const unsigned char * (*AlgorithmFunction)
(struct Filter_ *filter,
const unsigned char *in... |
#define NULL ((void*)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t; typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1
/* Forward d... |
/*
* 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... |
/*************************************************************************
* libsaim 1.0
* ------------------------------------------------------------------------
* Copyright (c) 2016 <NAME> <<EMAIL>>
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be ... |
/* GStreamer
* Copyright (C) 1999,2000 <NAME> <<EMAIL>>
* 2000 <NAME> <<EMAIL>>
* 2005 <NAME> <<EMAIL>>
*
* gstfdsrc.c:
*
* 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... |
/*
This file contains routines that handle background processing:
CalcBack
X1DBack
SmoothBack
Revision history:
----------------
20 Feb 97 - Implemented (I.Busko)
11 Apr 97 - OPR 33790: flag background values that had more than 30%
of their pixels affected by ser... |
/*
* Copyright (c) 2004-2010 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... |
/*
* Copyright 1995-2018 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the OpenSSL license (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/lice... |
/*
* nsiproxy.sys icmp_echo implementation
*
* Copyright 2021 <NAME>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any... |
/*
* Temporal Key Integrity Protocol (CCMP)
* Copyright (c) 2010, <NAME> <<EMAIL>>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#include "utils/includes.h"
#include "utils/common.h"
#include "utils/crc32.h"
#include "common/ieee802_11_defs.h"
#includ... |
/*****************************************************************************
gif_font.c - utility font handling and simple drawing for the GIF library
****************************************************************************/
#define _CRT_SECURE_NO_WARNINGS 1
#include <string.h>
#include <stdlib.h>
#include ... |
/***********************************************************************
Copyright (c) 2006-2012, Skype Limited. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, (subject to the limitations in the disclaimer below)
are permitted provided that the following conditi... |
/**
MIT License
Copyright (c) 2020 <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, publish... |
/* config.h.win32.in Merged from two versions generated by configure for gcc and MSVC. */
/* config.h. Generated by configure. */
/* config.h.in. Generated from configure.ac by autoheader. */
/* Define if building universal (internal helper macro) */
/* #undef AC_APPLE_UNIVERSAL_BUILD */
/* define if asm blocks ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.