text stringlengths 7.55k 41.9k |
|---|
/*-------------------------------------------------------------------------
*
* gistvacuum.c
* vacuuming routines for the postgres GiST index access method.
*
*
* Portions Copyright (c) 1996-2019, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* I... |
/*
* This file is part of the ESO Common Pipeline Library
* Copyright (C) 2001-2017 European Southern Observatory
*
* 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 ... |
/* sidereal.c - created 2007 by <NAME> (<EMAIL>) */
/* gcc -ansi -O3 -lcurses -o sidereal sidereal.c */
/* */
/* make position_index_from_observe_location/eight_from_eight do something */
/* smarter, so... |
/*
Driver for VES1893 and VES1993 QPSK Demodulators
Copyright (C) 1999 Convergence Integrated Media GmbH <<EMAIL>>
Copyright (C) 2001 <NAME> <<EMAIL>>
Copyright (C) 2002 <NAME> <<EMAIL>>
Copyright (C) 2002-2003 <NAME> <<EMAIL>>
This program is free software; you can redistribute it and/or modi... |
/*
* Copyright (c) 2015, <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 the... |
/*------------------------------------------------------------------------------------ */
/* Implementation of the double pipe ECHO hash function in its 256-bit outputs variant.*/
/* Optimized for ANSI C, 32-bit mode */
/* ... |
#include <stdio.h>
#include <math.h>
#include <omp.h>
#include "ofmo-twoint.h"
#ifndef false
#define false 0
#endif
#ifndef true
#define true 1
#endif
#define HALF 0.5e0
#define ONE 1.e0
#define ZERO 0.e0
#define EPS_PS4 1.e-30
#define EPS_ERI 1.e-15
#define OFMO_EBUF_FULL 1
#define OFMO_EBUF_NOF... |
/*
* Copyright (c) 2018-2019, Swiss Federal Institute of Technology (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 2007-2009 (c) <NAME> <<EMAIL>>
*
* This file is part of the ZBar Bar Code Reader.
*
* The ZBar Bar Code Reader is free software; you can redistribute it
* and/or modify it under the terms of the GNU Lesser Public License as... |
#include <stdio.h>
long zz() { return 0x00000000L; }
long zs() { return 0x0000ffffL; }
long zu() { return 0x00007fffL; }
long sz() { return 0xffff0000L; }
long ss() { return 0xffffffffL; }
long su() { return 0xffff7fffL; }
long uz() { return 0x7fff0000L; }
long us() { return 0x7fffffffL; }
long uu() { return 0x7fff7... |
/*
*
*/
/* Copyright (c) 1998, 2006, Oracle. All rights reserved. */
/*
NAME
odci.h - Oracle Data Cartridge Interface definitions
DESCRIPTION
This file contains Oracle Data Cartridge Interface definitions. These
include the ODCI Types and Constants.
RELATED DOCUMENTS
INSPECTION... |
/* Copyright 2011 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... |
/* Copyright <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 in writing, software
... |
/*
* Copyright (c) 2005-2017 National Technology & Engineering Solutions
* of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with
* NTESS, the U.S. Government retains certain rights in this software.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitt... |
/*
* This file is part of the coreboot project.
*
* Copyright (C) 2012 <NAME> <<EMAIL>>
* Copyright (C) 2013 <NAME> <<EMAIL>>
* Copyright (C) 2007-2012 Allwinner Technology Co., Ltd.
* <NAME> <<EMAIL>>
* <NAME> <<EMAIL>>
* Copyright (C) 2013 <NAME> <<EMAIL>>
*
* This program is free software; you can redistr... |
/* $NetBSD: lfs_balloc.c,v 1.87 2015/09/01 06:08:37 dholland Exp $ */
/*-
* Copyright (c) 1999, 2000, 2001, 2002, 2003 The NetBSD Foundation, Inc.
* All rights reserved.
*
* This code is derived from software contributed to The NetBSD Foundation
* by <NAME> <<EMAIL>>.
*
* Redistribution and use in source and bi... |
/*
* Copyright 2016 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/license.h... |
#include <assert.h>
#include <errno.h>
#include <fcntl.h>
#include <ctype.h>
#include <pthread.h>
#include <stdbool.h>
#include <stdatomic.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/select.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <sys/types.h>
#include... |
/*
Copyright 2019, The Regents of the University of California.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this l... |
/* GStreamer
* Copyright (C) 2012 Smart TV Alliance
* Author: <NAME> <<EMAIL>>, Collabora Ltd.
*
* gstmssdemux.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 the Free Software Foundation; either
* ver... |
/* ckr02.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__2 = 2;
static integer c__6 = 6;
static integer c__7 = 7;
/* $Procedure CKR02 ( C-kernel, read pointing ... |
/*
* Low level Mbed OS PDM Audio HAL driver implementation for PSoC 6 PDM-PCM
* controller circuit on Future Electronics Sequana board.
*
* Copyright (c) 2019 Future Electronics
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
... |
/**
* @file shifter.c
* @brief setuid utility to setup and interactively enter a shifter env
*
* @author <NAME> <<EMAIL>>
*/
/* Shifter, Copyright (c) 2015, The Regents of the University of California,
* through Lawrence Berkeley National Laboratory (subject to receipt of any
* required approvals from the U.S... |
//https://people.ece.cornell.edu/land/courses/ece4760/PIC32/PLIB_examples/plib_examples/uart/uart_interrupt/source/uart_interrupt.c
/*
* File: TFT, keypad, DAC, LED, PORT EXPANDER test
* With serial interface to PuTTY console
* Author: <NAME>
* For use with Se<NAME>'s Big Board
* http://pe... |
/*
* db_gdbm.c - bindings for gdbm
*
* This file is part of zsh, the Z shell.
*
* Copyright (c) 2008 <NAME>
* All rights reserved.
*
* Modifications copyright (c) 2017 <NAME>
* All rights reserved.
*
* Permission is hereby granted, without written agreement and without
* license or royalty fees, to use, cop... |
/*H************************************************************
* FILENAME: mmml-desktop-synthesizer.c
* DESCRIPTION: Micro Music Macro Language (μMML) Desktop
* Synthesizer
*
* NOTES: Converts .mmmldata files to .wav for playback.
*
* The wave building code was adapted from... |
/*
* linux/kernel/hd.c
*
* Copyright (C) 1991, 1992 <NAME>
*/
/*
* This is the low-level hd interrupt support. It traverses the
* request-list, using interrupts to jump between functions. As
* all the functions are called within interrupts, we may not
* sleep. Special care is recommended.
*
* modified b... |
#define _GNU_SOURCE
#include <stdlib.h>
#include <stdio.h>
#include <stdint.h>
#include <err.h>
#include <sysexits.h>
#include <string.h>
#include <unistd.h>
#include <htslib/khash.h>
#include "cache.h"
#include "util.h"
#include "lists.h"
uint32_t CACHE_NAME_SPACE = 0;
void *_cache[10] =
{NULL, NULL, NULL, NULL... |
#include "game_state.h"
#include <SDL2/SDL.h>
#include <SDL2/SDL_image.h>
#include <SDL_FontCache.h>
#ifdef EMSCRIPTEN
#include <emscripten.h>
#endif
#include "game_logic.h"
#include "renderer.h"
#include "input.h"
// Definition of the program state, changes in the end of each state to the one defined... |
uint version=1000;
char verlet='B';
USERV uv[]=
{
{ "A~", argvg, 0, PARASN, POINTER, PARTYP },
{ "A0", &argvg[0], 0, STRASN|POIASN, POINTER, POITYP },
{ "A1", &argvg[1], 0, STRASN|POIASN, POINTER, POITYP },
{ "A2", &argvg[2], 0, STRASN|POIASN, POINTER, POITYP },
{ "A3", &argvg[3], ... |
/*
* This file is released under the terms of the Artistic License. Please see
* the file LICENSE, included in this package, for details.
*
* Copyright (C) 2007-2010 <NAME>
*
* Based on TPC-E Standard Specification Revision 1.10.0.
*/
#include <sys/types.h>
#include <unistd.h>
#include <inttypes.h>
#include <p... |
#include <string.h>
#include <jni.h>
#include "sq.h"
#include <stdarg.h>
#include <android/log.h>
#include <sqaio.h>
#include <dirent.h>
#include <time.h>
#include <errno.h>
#include <string.h>
#include <sys/param.h>
#include <sys/stat.h>
#ifndef SQUEAK_BUILTIN_PLUGIN
# error "SQUEAK_BUILTIN_PLUGIN must be defined"
#... |
/*
* 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 "boardpaint.h"
#include "mainpaint.h"
#include <stdlib.h>
#include <process.h>
#include <time.h>
#include <stdio.h>
#include <math.h>
HBITMAP backbuffer = NULL;
HDC backbuffDC = NULL;
COLORREF bacteriaColor = RGB(0, 255, 0);
int maxGeneValue = 6;
BOOL ThreadRun = FALSE;
BOOL ThreadPaused = FALSE;
FILE *o... |
/*
* Copyright 2019 GoPro Inc.
*
* 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, Vers... |
/*
* This file is not a part of the OpenMV project.
* Initiative of <NAME> (<EMAIL>)
*
* OV7670 driver.
*
*/
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include "sccb.h"
#include "ov7670.h"
#include "ov7670_regs.h"
#include <stdio.h>
/*
static const uint8_t default_regs[][2] = {
{GAIN , 0x0... |
/******************************************************************************
Application entry point.
Contains the main loop and the hardware initialization.
******************************************************************************/
#include <stdio.h>
#include <stdbool.h>
#include <platform.h>
#incl... |
#define FASTLED_INTERNAL
#define __PROG_TYPES_COMPAT__
#include <stdint.h>
#include <math.h>
#include "color_types.h"
#include "color_ops.h"
#include "colorutils.h"
#include "hsv2rgb.h"
#include "colorpalettes.h"
void fill_solid(RGB *leds, int numToFill, RGB color)
{
for (int i = 0; i < numToFill; ++i) {
leds[i] =... |
/** @file xmidi.c
@brief
This file contains MIDI-related routines.
These routines were adapted from ScrummVM/Exult engine source code.
TwinEngine: a Little Big Adventure engine
Copyright (C) 2013 The TwinEngine team
Copyright (C) 2013 The ScrummVM/ExultEngine team
This program is free software; you can redis... |
/*
$RCSfile$
Copyright (C) 1996-1997 Id Software, 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 2
of the License, or (at your option) any later version.
This program i... |
#include "game_state.h"
#include "window.h"
#include "hex.h"
#include "macros.h"
#include "time_utils.h"
#include "bump_allocator.h"
#include "text.h"
#include "test_boards.h"
#include "macros.h"
#include "audio.h"
#include <stdlib.h>
#include <inttypes.h>
#define ROTATION_TIME_MS 150
#define ROTATION_MAX_SCALE 1.5f
#... |
#include <string.h>
#include <mpi.h>
#include <fftw3.h>
#include <fftw3-mpi.h>
#include <pfft.h>
#include <fastpm/libfastpm.h>
#include <fastpm/logging.h>
#include <fastpm/transfer.h>
#include "pmpfft.h"
static MPI_Datatype MPI_PTRDIFF = (MPI_Datatype) 0;
#if FASTPM_FFT_PRECISION == 64
#define plan_dft_r2c pfft... |
#include "fmd_priv.h"
#include <assert.h>
#include <ctype.h>
#include <errno.h>
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
/* Documentation */
/* 1. https://www.awaresystems.be/imaging/tiff/specification/TIFF6.pdf */
/* 2. https://www.awaresystems.be/imaging/tiff.html */
/* Set to 1 to enable tracin... |
// Copyright (c) 1989 The Regents of the University of California.
// This file is free software, distributed under the BSD license.
// A very new version of the age old favorite Hunt-The-Wumpus game that has
// been a part of the BSD distribution of Unix for longer than us old folk
// would care to remember.
#includ... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int addressBus = 0;
unsigned char mem[0xFFFF] = { 0 };
struct i8080 cpu;
struct i8080* p = &cpu;
char buffer[80]; // for displaying reg dump
int currentAndNext[6]; // store the just executed and next to be executed instructions for display
void MemWrite(in... |
/// DDS file support, does decoding, _not_ direct uploading
/// (use SOIL for that ;-)
#pragma warning(disable:4018)
#pragma warning(disable:4996)
/// A bunch of DirectDraw Surface structures and flags
typedef struct {
unsigned int dwMagic;
unsigned int dwSize;
unsigned int dwFlags;
unsigned ... |
#include <stdio.h>
#include <stdlib.h>
#include <pthread.h>
#include <errno.h>
#include <string.h>
#include "debug.h"
#include "box86context.h"
#include "custommem.h"
#include "dynarec.h"
#include "emu/x86emu_private.h"
#include "tools/bridge_private.h"
#include "x86run.h"
#include "x86emu.h"
#include "box86stack.h"
#... |
/*
* Algorithm 642 collected algorithms from ACM.
* Algorithm appeared in ACM-Trans. Math. Software, Vol.12, No. 2,
* Jun., 1986, p. 150.
*
* Subroutine Name - cubgcv
*
* Author - M.F.Hutchinson
* CSIRO Division of Mathematics and Statistics
* ... |
#include "atsvr_wlan.h"
#include "atsvr_core.h"
#include "at_server.h"
#include "atsvr_cmd.h"
#include "at_server.h"
#include "string.h"
#include "stdio.h"
#include "stdlib.h"
#include "include.h"
#include "wlan_ui_pub.h"
#include "rw_msg_pub.h"
#include "mem_pub.h"
#include "rtos_pub.h"
#include "generi... |
#include <libwebsockets.h>
#include "private-lib-core.h"
//#define LWS_COOKIE_DEBUG
#if defined(LWS_COOKIE_DEBUG)
#define lwsl_cookie lwsl_notice
#else
#define lwsl_cookie lwsl_debug
#endif
#define LWS_COOKIE_MAX_CACHE_NAME_LEN 128
#define lws_tolower(_c) (((_c) >= 'A' && (_c) <= 'Z') ? \
(char)((_c) + ... |
/* Copyright (c) 2003, 2004 <NAME> */
#include <Python.h>
#include "pydparser.h"
#include "swigpyrun.h"
#define d_interface(_p) ((D_ParserPyInterface*)((Parser*)_p)->pinterface1)
#define d_dpt(_p) (((Parser*)_p)->t)
static int my_final_action(void *new_ps, void **children, int n_children, int pn_offset,
struct ... |
/***************************************************************************//**
* @file display.c
* @brief Display interface.
* @version 5.3.2
*******************************************************************************
* # License
* <b>Copyright 2015 Silicon Labs, Inc. http://www.silabs.com</b>
************... |
/*
Copyright (c) 1999 - The XFree86 Project Inc.
Written by <NAME>
*/
/* $XFree86: xc/programs/Xserver/Xext/xf86dga2.c,v 1.25 2006/03/21 03:56:25 dawes Exp $ */
#define NEED_REPLIES
#define NEED_EVENTS
#include <X11/X.h>
#include <X11/Xproto.h>
#include "misc.h"
#include "dixstruct.h"
#include "dixevents.h"
#i... |
/*-
* Copyright (c) 2006 <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 unmodified, this... |
#define KEYS 45
static Key keys_dialer[KEYS] = {
{ "Esc", 0, XK_Escape, 1 },
{ "1!", 0, XK_1, 1 },
{ "2@", 0, XK_2, 1 },
{ "3#", 0, XK_3, 1 },
{ "-_", 0, XK_minus, 1 },
{ ",<", 0, XK_comma, 1 },
{ 0 }, /* New row */
{ "Shift", 0, XK_Shift_L, 1 }, ... |
/*
* Copyright (C) 2022 skgleba
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
#define AES_BLOCKLEN 16
#define AES_KEYLEN AES_BLOCKLEN // 128bit
#define AES_keyExpSize 176
struct AES_ctx {
uint8_t RoundKey[AES_keyExpSize];
uin... |
/* Altera Nios II opcode list.
Copyright (C) 2012, 2013 Free Software Foundation, Inc.
Contributed by <NAME> (<EMAIL>).
Contributed by Mentor Graphics, Inc.
This file is part of the GNU opcodes library.
This library is free software; you can redistribute it and/or modify
it under the terms of the GN... |
/*
develop by <NAME>
email: <EMAIL>
This file have some empty lines GAP in some parts of the code
this is only for match some number of line between this file crackbtcshell_noaesni.c and the aesni version crackbtcshell.c
*/
#include <stdio.h>
#include <stdint.h>
#include <stdbool.h>
#include <string.... |
/* Copyright (C) 1995-1998 <NAME> (<EMAIL>)
* All rights reserved.
*
* This package is an SSL implementation written
* by <NAME>ung (<EMAIL>).
* The implementation was written so as to conform with Netscapes SSL.
*
* This library is free for commercial and non-commercial use as long as
* the following condition... |
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <assert.h>
#define HUMAN_PLAYER 0
#define GREEDY_AI_PLAYER 1
#define E -1 //for empty
typedef struct {
int type;
int turn_score;
int id;
int threshold;
int win_count;
} player;
player* create_player(int type, int id, int threshold... |
/* $Id$ */
/*
* Copyright (c) 2015, 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... |
/*
* Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation.
*
* This program is distributed in the hope... |
#include <linux/device.h>
#include <linux/dma-mapping.h>
#include <linux/amba/bus.h>
#include <linux/amba/clcd.h>
#include <linux/platform_data/video-clcd-versatile.h>
#include <linux/of.h>
#include <linux/of_graph.h>
#include <linux/regmap.h>
#include <linux/mfd/syscon.h>
#include <linux/bitops.h>
#include "amba-clcd-... |
/* lil-gp Genetic Programming System, version 1.0, 11 July 1995
* Copyright (C) 1995 Michigan State University
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of version 2 of the GNU General Public License as
* published by the Free Software Foundation.
*
* ... |
/*
* Copyright (c) 2011-2012, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in ... |
#ifndef lint
static const char RCSid[] = "$Id: bsdfrep.c,v 2.13 2013/03/24 17:22:23 greg Exp $";
#endif
/*
* Support BSDF representation as radial basis functions.
*
* <NAME>
*/
#define _USE_MATH_DEFINES
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include "rtio.h"
#include "resolu.h"
#include "bsdfr... |
#include <stdlib.h>
#include <string.h>
#include <shadowdive/sprite.h>
#include "game/protos/object.h"
#include "game/protos/object_specializer.h"
#include "game/objects/arena_constraints.h"
#include "game/game_state_type.h"
#include "video/video.h"
#include "utils/log.h"
#include "utils/miscmath.h"
#define UNUSED(x) ... |
/***************************************************************************
* __________ __ ___.
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> ... |
/*
* URB OHCI HCD (Host Controller Driver) for USB.
*
* (C) Copyright 1999 <NAME> <<EMAIL>>
* (C) Copyright 2000-2001 <NAME> <<EMAIL>>
*
* usb-ohci.h
*/
static int cc_to_error[16] = {
/* mapping of the OHCI CC status to error codes */
/* No Error */ USB_ST_NOERROR,
/* CRC Error */ ... |
/*
* 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... |
/*
* Copyright (c) 2005-2021 Imperas Software Ltd., www.imperas.com
*
* 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 requir... |
/***********************************************************************/
/* */
/* FILE :intprg.c */
/* DATE :Sun, Dec 27, 2009 */
/* DESCRIPTION :Interru... |
/*******************************************************************************
MIT License
Copyright (c) 2018 <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, inclu... |
#include <string.h>
#include <process.h>
#include <vfs.h>
#include <elf.h>
#include <ipc.h>
#include <sct.h>
#include <worker.h>
typedef struct {
uint32_t sc_id, a, b, c, d, e; // a: ebx, b: ecx, c: edx, d: esi, e: edi
} sc_args_t;
typedef uint32_t (*syscall_handler_t)(sc_args_t);
static syscall_handler_t sc_han... |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* */
/* This file is part of the program */
/* GCG --- Generic Column Generation */
... |
// Ozunshrink / Old ZIP Unshrink - A single-header-file C/C++ library for
// decompressing ZIP "Shrink" (method 1) compression
// By <NAME>
//
// This file, normally named ozunshrink.h, hereinafter referred to as "this
// file" or "this software", is an independent software library. It is okay to
// distribute this fil... |
#include <asm/pgalloc.h>
#include <asm/uaccess.h>
#include <asm/pgtable.h>
#include <asm/tlb.h>
#include <asm/tlbflush.h>
#include <linux/syscalls.h>
#include <linux/hugetlb.h>
#include <linux/kernel.h>
#include <linux/mm_types.h>
#include <linux/rwsem.h>
#include <linux/sched/mm.h>
#include <linux/pagewalk.h>
#include... |
/*
* Demangle VC++ symbols into C function prototypes
*
* Copyright 2000 <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 you... |
/* Tool Palette
*
* A tool palette widget shows groups of toolbar items as a grid of icons
* or a list of names.
*/
#include <string.h>
#include <gtk/gtk.h>
static GtkWidget *window = NULL;
static void load_icon_items (GtkToolPalette *palette);
static void load_toggle_items (GtkToolPalette *palette);
static void... |
// SPDX-License-Identifier: GPL-2.0-only
/*
* SpanDSP - a series of DSP components for telephony
*
* echo.c - A line echo canceller. This code is being developed
* against and partially complies with G168.
*
* Written by <NAME> <<EMAIL>>
* and <NAME> <david_at_rowetel_dot_com>
*
* Copyright (... |
/*
* Copyright (c) 2006-2007, Apple 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:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of con... |
/* $NetBSD: rl.c,v 1.5 2000/06/05 00:09:18 matt Exp $ */
/*
* Copyright (c) 2000 Ludd, University of Lule}, Sweden. 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 s... |
/*
Unix SMB/CIFS implementation.
Password and authentication handling
Copyright (C) <NAME> 1992-1998
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 Lice... |
/* Copyright (c) 2006, 2009, Nokia 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:
*
* * Redistributions of source code must retain the above copyright
* notice, this list ... |
/**************************************************************************//**
* @file main.c
* @version V3.00
* $Revision: 2 $
* $Date: 16/10/25 4:26p $
* @brief
* Demonstrate how a Slave use PDMA Rx mode receive data from a Master(Loopback).
* @note
* Copyright (C) 2016 Nuvoton Technol... |
// SPDX-License-Identifier: BSD-3-Clause
/* Copyright(c) 2019 Broadcom All rights reserved. */
#include <inttypes.h>
#include <stdbool.h>
#include <rte_bitmap.h>
#include <rte_byteorder.h>
#include <rte_malloc.h>
#include <rte_memory.h>
#if defined(RTE_ARCH_X86)
#include <tmmintrin.h>
#else
#error "bnxt vector pmd: u... |
/*
No copyright is claimed in the United States under Title 17, U.S. Code.
All Other 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 limitat... |
/*
* unicode.c
*
* Helper unicode functions/values to determine the
* types of unicode characters.
*/
#include "utf8.h"
#include "unicode.h"
typedef struct {
unsigned int value;
unsigned short info;
} unicodeinfo_t;
static unicodeinfo_t unicodeinfo[] = {
{ 48, UNICODE_NUMBER }, /* 0 */
{ 49, UNICODE_NUMBER... |
#include "path.h"
#include "linmath_d.h"
#include "obj_parser.h"
#include "color.h"
#include "display.h"
#include <sys/mman.h>
#include <stdio.h>
#include <assert.h>
#include <stdlib.h>
#include <stdint.h>
#include <stdbool.h>
#include <float.h>
#include <string.h>
#include <time.h>
#include <math.h>
#include <unistd.... |
/**
@file netif_ft900.c
*/
/*
* ============================================================================
* History
* =======
* 2017-03-15 : Created
*
* (C) Copyright Bridgetek Pte Ltd
* ============================================================================
*
* This source code ("the Software") is ... |
/*
* TNETV107X: Pinmux configuration
*
* SPDX-License-Identifier: GPL-2.0+
*/
#include <common.h>
#include <asm/io.h>
#include <asm/arch/clock.h>
#include <asm/arch/mux.h>
#define MUX_MODE_1 0x00
#define MUX_MODE_2 0x04
#define MUX_MODE_3 0x0c
#define MUX_MODE_4 0x1c
#define MUX_DEBUG 0
static const struct... |
/* lambda calculus with church encoding in C
<NAME> <<EMAIL>>
inspired by http://experthuman.com/programming-with-nothing
*/
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <gc/gc.h>
typedef struct functor *F;
/* call f with args until _, left-associative */
#define CALL(f, ...) call(f, _... |
#pragma ident "@(#)__libmcr_pow.c 1.10 04/04/09 SMI"
/* ************************************************************ */
/*
* Copyright (c) 2002 Sun Microsystems, Inc. All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or
* without modification, are permitted provided that the f... |
////////////////////////////////////////////////////////////////////////////////
// Copyright (c) Jonathan(<NAME> 2014. This file is part of LNZ. //
////////////////////////////////////////////////////////////////////////////////
// Main entry point.
#include "lnz.h"
#include <stdio.h>
#include "math.h"... |
/*
* engineoutput.c - split-off backe-end from Engine output (PV) by HGM
*
* Author: <NAME> (Dec 2005)
*
* Copyright 2005 <NAME>
*
* Enhancements Copyright 1995, 2009, 2010, 2011, 2012, 2013, 2014,
* 2015, 2016 Free Software Foundation, Inc.
*
* ----------------------------------------------------------------... |
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include <sys/ioctl.h>
#include <sys/mman.h>
#include <string.h>
#include <stdint.h>
#include <linux/kvm.h>
#include <uchar.h>
/* CR0 bits */
#define CR0_PE 1u
#define CR0_MP (1U << 1)
#define CR0_EM (1U << 2)
#define CR0... |
/*
Copyright (C) 1999-2007 id Software, Inc. and contributors.
For a list of contributors, see the accompanying CONTRIBUTORS file.
This file is part of GtkRadiant.
GtkRadiant is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
... |
/*Interpolate etopo bathymetry to a coarser grid. */
/*Uses the same mehod as gridgen matlab coade*/
#include "bathy_interp.h"
#include <glib.h>
#include <netcdf.h>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#define max(a, b) (((a) > (b)) ? (a) : (b))
#define min(a, b) (((a) < (b)) ? (a) : (b))
fl... |
/* GStreamer
* Copyright (C) 2018 <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 "packet.h"
#include "pack.h"
#include <string.h>
#include <assert.h>
#if crypto_secretbox_MACBYTES != 16
#error "Expected crypto_secretbox_MACBYTES to be 16"
#endif
#if crypto_secretbox_KEYBYTES != 32
#error "Expected crypto_secretbox_KEYBYTES to be 32"
#endif
#if crypto_generichash_BYTES != 32
#error "Expe... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.