text stringlengths 7.55k 41.9k |
|---|
#include "backend.h"
#include "runtime/data_layout.h"
#include "runtime/builtins.h"
#include <stddef.h>
#include <stdbool.h>
#include <stdio.h>
#include <string.h>
#include <stdint.h>
#include <stdlib.h>
#include <limits.h>
#include <assert.h>
#include <sys/mman.h>
#include <errno.h>
/************** General utils **... |
/* TipToi Datafile Tool
Copyright(c) 2013 <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, d... |
/*******************************************************************************
* T3 Keyboard v1.0
*
* Copyright 2014 <NAME> (<EMAIL>)
*
* 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
... |
/* This is a sample implementation of a libssh based SSH server */
/*
Copyright 2003-2009 <NAME>
Copyright 2018 <NAME>
This file is part of the SSH Library
You are free to copy this file, modify it in any way, consider it being public
domain. This does not apply to the rest of the library though, but it is
allowed to... |
#include <Python.h>
#include <numpy/ndarrayobject.h>
void
weights_gauss_radau004004 (const double *restrict sigma, int n, int ssi, int ssr,
double *restrict omega, int wsi, int wsl, int wsr)
{
int i;
double acc, sigma0, sigma1, sigma2, sigma3, omega1, omega6, omega14, omega0, omega9p, omega8p,
omega10m, ... |
#include "Doom.h"
#include <IntMath.h>
#define MAXBOB (16<<FRACBITS) /* 16 pixels of bobbing up and down */
#define SLOWTURNTICS 10 /* Time before fast turning */
static Boolean onground; /* True if the player is on the ground */
static LongWord forwardmove[2] = {0x38000>>2,0x60000>>2};
static LongWord sidemove[2... |
/* Test file for mpfr_set.
Copyright 2001-2020 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
The GNU MPFR Library is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as pub... |
/*
Mouse Switching Software
for Linux and Unix based operating systems
BSD 3-Clause License
Copyright (c) 2020, WEY Technology AG
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 ... |
/* Siconos is a program dedicated to modeling, simulation and control
* of non smooth dynamical systems.
*
* Copyright 2018 INRIA.
*
* 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
*
*... |
// (C) 2005-2006 <NAME>
// This file is available under the MIT/X license, see COPYING
#include "nutmerge.h"
#include <string.h>
#define mmioFOURCC(ch0, ch1, ch2, ch3) ((ch0) | ((ch1) << 8) | ((ch2) << 16) | ((ch3) << 24))
#define strFOURCC(str) mmioFOURCC((str)[0], (str)[1], (str)[2], (str)[3])
#define FREAD(file, ... |
/*
* MC148818 RTC Emulator.
*
* 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 without... |
/* zzinpdt.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__1 = 1;
static doublereal c_b16 = 1e-12;
/* $Procedure ZZINPDT ( DSK, in planetodetic element? ) */
/*... |
#include "fs.h"
void setb(void *s, unsigned int i) {
unsigned char *v = s;
v += i>>3; // adds the offset divided by 8 (offset in bytes instead of bits)
// i%8 refers to which bit in the byte specified by v it refers to
// 7 - (i&8) iis because it is a little endian architecture
*v |= 1<<(7-(i%8)); //... |
/* $OpenBSD: cal.c,v 1.25 2009/10/27 23:59:36 deraadt Exp $ */
/* $NetBSD: cal.c,v 1.6 1995/03/26 03:10:24 glass Exp $ */
/*
* Copyright (c) 1989, 1993, 1994
* The Regents of the University of California. All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* <NAME>.
*
* Redis... |
/* w.h (wasm interface) -- esl */
#pragma once
/* wasm binary types */
typedef enum valtype {
VT_UNKN = 0,
BT_VOID = 0x40,
RT_EXTERNREF = 0x6F,
RT_FUNCREF = 0x70,
VT_V128 = 0x7B,
VT_F64 = 0x7C,
VT_F32 = 0x7D,
VT_I64 = 0x7E,
VT_I32 = 0x7F
} valtype_t;
typedef enum functype {
FT... |
/**
* @file pmc_common.c
* @note Copyright (C) 2012 <NAME> <<EMAIL>>
* @note Copyright (C) 2013 <NAME> <<EMAIL>>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the ... |
/*
* Copyright 1997, Regents of the University of Minnesota
*
* initbalance.c
*
* This file contains code that computes an initial partitioning
*
* Started 3/4/96
* George
*
* $Id: initbalance.c,v 1.4 2003/07/30 21:18:52 karypis Exp $
*/
#include <parmetislib.h>
/******************************************... |
/* Remote debugging interface to m32r and mon2000 ROM monitors for GDB,
the GNU debugger.
Copyright (C) 1996-2014 Free Software Foundation, Inc.
Adapted by <NAME> of Cygnus Support.
This file is part of GDB.
This program is free software; you can redistribute it and/or modify
it under the terms o... |
#include "param.h"
#include "types.h"
#include "defs.h"
#include "x86.h"
#include "memlayout.h"
#include "mmu.h"
#include "proc.h"
#include "elf.h"
extern char data[]; // defined by kernel.ld
pde_t *kpgdir; // for use in scheduler()
// Set up CPU's kernel segment descriptors.
// Run once on entry on each CPU.
void
... |
#if !defined(lint) && !defined(DOS)
static char rcsid[] = "$Id: sort.c 1142 2008-08-13 17:22:21Z <EMAIL> $";
#endif
/*
* ========================================================================
* Copyright 2013-2020 <NAME>
* Copyright 2006-2007 University of Washington
*
* Licensed under the Apache License, Versi... |
/*
american fuzzy lop++ - wrapper for GNU ld
-----------------------------------------
Written by <NAME> <<EMAIL>> for afl++
Maintained by <NAME> <<EMAIL>>,
<NAME> <<EMAIL>>
<NAME> <<EMAIL>>
<NAME> <<EMAIL>>
Copyright 2019-2020 AFLplusplus Project. All rights... |
#ifndef __APPLE__
# define _POSIX_C_SOURCE 199309L
#endif
#include <SDL.h>
#include <matlib.h>
#include <renderlib.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#define WIDTH 800
#define HEIGHT 600
#define UPDATE_INTERVAL 2.0f
static SDL_Window *window = NULL;
static SDL_GLContext *context = NULL;
enu... |
/**
* \file
* \brief NFS-populated file cache for HTTP server
*
* This very stupid "cache" assumes that:
* All regular files in a hardcoded NFS mount point are cached at startup
* The contents of the cache never change nor expire
*/
/*
* Copyright (c) 2008, ETH Zurich.
* All rights reserved.
*
* This file... |
#include "all.h"
#include "io.h"
#include "mem.h"
enum
{
Rownid = 0x00, /* own ID/CDB size register */
Eaf = 0x08, /* enable advanced features */
Fs16MHz = 0x80, /* frequency select */
Rcontrol = 0x01, /* control register */
Hsp = 0x01, /* halt on scsi parity error */
Idi = 0x04, /* interme... |
/*******************************************************************************
* Copyright (C) Marvell International Ltd. and its affiliates
*
* This software file (the "File") is owned and distributed by Marvell
* International Ltd. and/or its affiliates ("Marvell") under the following
* alternative licensing t... |
/******************************************************************************
* Copyright 1998-2019 Lawrence Livermore National Security, LLC and other
* HYPRE Project Developers. See the top-level COPYRIGHT file for details.
*
* SPDX-License-Identifier: (Apache-2.0 OR MIT)
**************************************... |
/*
* Copyright (c) 2011-2018 Cisco Systems, Inc. All rights reserved
* Copyright (c) 2013-2020 Intel, Inc. All rights reserved.
* Copyright (c) 2016-2017 Research Organization for Information Science
* and Technology (RIST). All rights reserved.
* $COPYRIGHT$
*
* Additional copyrights m... |
/*
* Copyright (c) 2012 Mellanox Technologies LTD. All rights reserved.
* Copyright (c) 2004-2009 Voltaire 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, ... |
/*-
* Copyright (c) 2006 <NAME>. All rights reserved.
* Copyright (c) 2010 <NAME>. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the abov... |
/* This file is part of the YAZ toolkit.
* Copyright (C) <NAME>
* See the file LICENSE for details.
*/
#if HAVE_CONFIG_H
#include <config.h>
#endif
#include <string.h>
#include <yaz/ccl_xml.h>
#include <yaz/log.h>
#include <yaz/test.h>
static int tst_ccl_query(CCL_bibset bibset,
const cha... |
/* This code was generated by Usuba.
See https://github.com/DadaIsCrazy/usuba. */
/* Do NOT change the order of those define/include */
#define NO_RUNTIME
#ifndef BITS_PER_REG
#define BITS_PER_REG 64
#endif
/* including the architecture specific .h */
#include "STD.h"
/* auxiliary functions */
/* main function ... |
/*-
* SPDX-License-Identifier: BSD-2-Clause
*
* Copyright (c) 2019 <NAME> <<EMAIL>>
*
* This software was developed by SRI International and the University of
* Cambridge Computer Laboratory (Department of Computer Science and
* Technology) under DARPA contract HR0011-18-C-0016 ("ECATS"), as part of the
* DARPA... |
/* clock-pro.c
*
* Clock-pro is to simulate the LIRS algorithm, where replacement actions
* are taken only when there is a page fault. On a hit, only reference bit is set.
*
* Author: <NAME> 9/29/05
*/
/* Input File:
* trace file(.trc)
* ... |
/*++
Copyright (c) 1998 Gemplus Development
Name:
gprelcmd.c
Description:
This module holds the functions used for the PC Card I/O.
Environment:
Kernel Mode
Revision History:
06/04/99: (<NAME> + <NAME>)
- Code Review
24/03/99: V1.00.004 (Y. Nadeau)
- ... |
//LCF=0x156875A0;name=memmgr.c;part=kernel;
#define _COMPILING_MEMORY_MANAGER_
#include "kernel.h"
#include <headers/x86.h>
#include <headers/Loader.h>
void GDT_Init();
#define KERNEL_PD ((ulong*)KernelPageDir)
uint32 UsableMemoryCount;
uint32 MemoryManagerOptions;
//#define MEM_DEBUG
//----------------PHYSICAL-... |
/*********************************************************************************************************
* Software License Agreement (BSD License) *
* Author: <NAME> <<EMAIL>> *
* *
* Copyright (c) 2013, WIDE Project and NICT *... |
//////////////////////////////////////////////////////////////////////////////
//Copyright 2008
// <NAME>, <NAME>, <NAME>, <NAME>, <NAME>
//////////////////////////////////////////////////////////////////////////////
// This file is part of Teyjus. //
// ... |
#include "amoslib.h"
#include <math.h>
/* print a binary value, e.g. "%10010110101101" */
static void print_binary(FILE *out, uint32_t value) {
char buf[33], *p = &buf[33];
*--p = '\0';
do {*--p = value & 1 ? '1' : '0'; value >>= 1; } while (value);
fprintf(out, "%%%s", p);
}
/* print a floating point... |
/* The MIT License (MIT)
*
* Copyright (c) 2018 Monetra Technologies, 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 without limitation the righ... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include <ctype.h>
#include "ast.h"
#define DEBUG (0)
#define assertf(cond, ...) do { \
if (!(cond)) { fprintf(stderr, __VA_ARGS__); return NULL; } \
} while (0)
#define assert_parsed(parser, tkn, ...) \
if ((parser)->token ... |
#include <stdio.h>
//
// General parameters
//
const int m = 10; // Spacing between dimension blocks in generated tensors
//
// Convolution parameters
//
// Case 1: 3x3 conv, 10x10 feature map, 2 channel blocks in, 2 channel blocks out, 2x2 bits
const int iprec = 2; ... |
/* $Id: gpsutils.c 4108 2006-12-08 11:48:31Z esr $ */
/* gpsutils.c -- code shared between low-level and high-level interfaces */
#include <sys/types.h>
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include <stdarg.h>
#include <time.h>
//sk #include "gpsd_config.h"
#... |
/*
* gstrtponviftimestamp.h
*
* Copyright (C) 2014 Axis Communications AB
* Author: <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 th... |
const char *usage_text =
"rtset file\n"
"\n"
"Configure real-time priorities with a centralized configuration file.\n"
"\n"
" file Path to config file. If '-', read from stdin.\n";
#define _GNU_SOURCE
#include <dirent.h>
#include <inttypes.h>
#include <regex.h>
#include <sched.h>
#include <stdarg.h>
#include <stdint... |
#include "f2c.h"
#include "blaswrap.h"
/* Table of constant values */
static doublecomplex c_b1 = {0.,0.};
static doublecomplex c_b2 = {1.,0.};
static integer c__1 = 1;
/* Subroutine */ int zhpt21_(integer *itype, char *uplo, integer *n, integer *
kband, doublecomplex *ap, doublereal *d__, doublereal *e,
doubleco... |
/*
* Copyright (c) 2009-2012, Newcastle University, UK.
* 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, ... |
//------------------------------------------------------------------------------
// LAGraph_FastGraphletTransform: fast graphlet transform
//------------------------------------------------------------------------------
// LAGraph, (c) 2021 by The LAGraph Contributors, All Rights Reserved.
// SPDX-License-Identifier: ... |
//
// CIEEngine.c
// CIESDK
//
// Created by <NAME> on 26.02.2020.
//
#include <stdio.h>
#include <string.h>
#include "CIEEngine.h"
#include "CIEEngineHelper.h"
#include <openssl/engine.h>
#include <openssl/ec.h>
#include <openssl/bn.h>
#include <openssl/ecdsa.h>
#include <openssl/ecdh.h>
unsigned char* cie_certif... |
/*
Copyright (C) 2008 <NAME>
This program 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.
This program is distributed in the... |
/*-------------------------------------------------------------------------
*
* pathman_workers.c
*
* There are two purposes of this subsystem:
*
* * Create new partitions for INSERT in separate transaction
* * Process concurrent partitioning operations
*
* Background worker API is used for both cases.
... |
/*
* Copyright (C) 1985-1992 New York University
*
* This file is part of the Ada/Ed-C system. See the Ada/Ed README file for
* warranty (none) and distribution info and also the GNU General Public
* License for more details.
*/
/* Lexical scanner for ADA
One line of text at a time is read in using getli... |
/*
mips2c
<NAME>, 2019/2020
"I should probably be studying..."
todo:
- support for macros
- write more tests
- there should be unit testing written with Check in C
- doesn't display text accurately rn when parsing
- bubble sort still isn't working? why? try re-downloading,
why does some syntax have... |
/*
Copyright (c) 2012 <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(s),
this list of conditions and the fol... |
/*====================================================================================
EVS Codec 3GPP TS26.443 Oct 20, 2015. Version 12.4.0
====================================================================================*/
#include <math.h>
#include "options.h"
#include "cnst.h"
#include "rom_com.h"
#include... |
//#include <stdlib.h>
#include <dirent.h>
#include <spiffs.h>
#include <stdint.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/mman.h>
#include <arpa/inet.h>
#include "../../../../app/platform/config.h"
//... |
/********************************************************
** Authors: <NAME>, <EMAIL>
** <NAME>, <EMAIL>
** <NAME> (DTNbox project supervisor), <EMAIL>
**
** Copyright 2018 University of Bologna
** Released under GPLv3. See LICENSE.txt for details.
**
********************************... |
/*
* Copyright (c) 2016, <NAME> and <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 c... |
/*
This code allows the user to build King model for nbody dynamics of star clusters.
It is based on a Fortran code by <NAME>, modified by <NAME> and
converted to C by <NAME>.
*/
#include<stdlib.h>
#include<stdio.h>
#include<math.h>
#include"kingmodel.h"
#define MIN(a,b) (((a)<(b))?(a):(b))
#define MAX(a,b) (((a)... |
/*-
* Copyright (c) 2014-present MongoDB, Inc.
* Copyright (c) 2008-2014 WiredTiger, Inc.
* All rights reserved.
*
* See the file LICENSE for redistribution information.
*/
#include <assert.h>
#include "util.h"
#include "util_dump.h"
#define STRING_MATCH_CONFIG(s, item) \
(strncmp(s, (item).str, (item).len)... |
/*==========================================================
File: bsp.c
Author: _pragma
Description: Loads Quake3 BSP maps and handles collision
detection.
Note: Most of this is largely converted from the C++ code
of the gametutorials.com Quake3 BSP tutorial.
==================... |
/*
** Copyright (C) 1989 by <NAME>.
**
** Permission to use, copy, modify, and distribute this software and its
** documentation for any purpose and without fee is hereby granted, provided
** that the above copyright notice appear in all copies and that both that
** copyright notice and this permission notice appear in... |
/* PipeWire
*
* Copyright © 2021 <NAME> <<EMAIL>>
* Copyright © 2021 <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 limitatio... |
/*
* Copyright (c) 2007, 2008 University of Tsukuba
* 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 ... |
/*
* (C) Copyright 2002, <NAME>.
* You may freely use this program, but: it offered strictly on an AS-IS, AT YOUR OWN
* RISK basis, there is no warranty of fitness for any purpose, and the rest of the
* usual yada-yada. Please keep this notice and the copyright in any distributions
* or modifications.
*
* This i... |
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <stlink.h>
#include <helper.h>
#include "flash_loader.h"
#define FLASH_REGS_BANK2_OFS 0x40
#define FLASH_BANK2_START_ADDR 0x08080000
#define STM32F0_WDG_KR 0x40003000
#define STM32H7_WDG_KR 0x58004800
#define STM32F0_WDG_KR_KE... |
/**************************************************************************
*
* Copyright 2013 <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 Softwar... |
/*
Copyright (c) 2017 Miouyouyou <Myy>
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,
publ... |
/*
Copyright (c) 2019, <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 following disclaimer... |
// This version of Keyboard.c has been heavily modified from the original demo in Dean Camera's LUFA repository.
// Effectively I have used combinations of my own functions in addition to functions from the following .c files:
// - Keyboard.c at https://github.com/abcminiuser/lufa/tree/790ac4d125c1c5d72016b52c2b9ad58f5... |
/* bme680.c - Driver for Bosch Sensortec's BME680 temperature, pressure,
* humidity and gas sensor
*
* https://www.bosch-sensortec.com/bst/products/all_products/bme680
*/
/*
* Copyright (c) 2018 Bosch Sensortec GmbH
*
* SPDX-License-Identifier: Apache-2.0
*/
#define DT_DRV_COMPAT bosch_bme680
#include "bme68... |
/*
* Copyright (c) 2011, National Survey and Cadastre, Denmark
* (<NAME>), <EMAIL>
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE S... |
/**
* Copyright 2021 Huawei Technologies Co., Ltd
*
* 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... |
/* liblas */
#include <liblas.h>
#ifdef HAVE_LIBGEOTIFF
#include <geotiff.h>
#include <geo_normalize.h>
#endif
/* std */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "lascommon.h"
static const char * LASPointClassification [] = {
"Created, never classified",
"Unclassified",
"Ground",
... |
#define NEED_REPLIES
#define NEED_EVENTS
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
#endif
#include <string.h>
#include <X11/X.h>
#include <X11/Xproto.h>
#include "misc.h"
#include "os.h"
#include "dixstruct.h"
#include "resource.h"
#include "scrnintstr.h"
#include "extnsionst.h"
#include "servermd.h"
#include... |
/* calc_signal.c -- based on m3d2s.f by <NAME>
* <NAME>
*
* This module contains the main interface to the signal calculation
* code.
*
* To use:
* -- call signal_calc_init. This will initialize geometry, fields,
* drift velocities etc.
* -- call get_signal
*
*/
/* TODO: see FIXME's below
charge_t... |
#include <lib9.h>
typedef struct Instr Instr;
struct Instr
{
ulong w;
ulong addr;
uchar op; /* super opcode */
uchar cond; /* bits 28-31 */
uchar store; /* bit 20 */
uchar rd; /* bits 12-15 */
uchar rn; /* bits 16-19 */
uchar rs; /* bits 0-11 */
long imm; /* rotated imm */
char* curr; /* f... |
/*
* Copyright (C) 2012 Red Hat Inc.
*
* 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
* ... |
/*
* Copyright (c) 2020 Gscienty <<EMAIL>>
*
* Distributed under the MIT software license, see the accompan ying
* file LICENSE or https://www.opensource.org/licenses/mit-lice nse.php .
*
*/
#include "yuv.h"
#include <tmmintrin.h>
#include <string.h>
#include <stdio.h>
static int vvc_rgb2yuv_yuyv(uint8_t *cons... |
/* $Id: mdoc_argv.c,v 1.119 2018/12/21 17:15:19 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 <NAME> <<EMAIL>>
* Copyright (c) 2012, 2014-2018 <NAME> <<EMAIL>>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the ... |
/* $OpenBSD: kroute.c,v 1.79 2016/02/06 19:30:52 krw Exp $ */
/*
* Copyright 2012 <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.
... |
/*
* 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... |
/**
* @file gravity.c
* @brief Gravity calculation on a grid using an FFT.
* @author <NAME> <<EMAIL>>, <NAME> <<EMAIL>>
*
* @details This is a 2D FFT poisson solver for periodic and shearing sheet boxes.
* It has not been well tested yet, so use with caution.
* Furthermore, it is not parallelized yet.
* ... |
/* Tables for conversion from and to IBM1046.
Copyright (C) 2000-2020 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by <NAME> <<EMAIL>>, 2000.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Publi... |
/*-------------------------------------------------------------------------
*
* foresoram.c
* Implementation of non-recursive forst-oram algorithm.
*
* Original paper URL: https://eprint.iacr.org/2013/280.pdf
*
* This implementation shifts the respectability of dealing with errors that
* may happen when wri... |
/* cchkgt.f -- translated by f2c (version 20061008).
You must link the resulting object file with libf2c:
on Microsoft Windows system, link with libf2c.lib;
on Linux or Unix systems, link with .../path/to/libf2c.a -lm
or, if you install libf2c.a in a standard place, with -lf2c -lm
-- in that order, at the end of... |
/*
* 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... |
/* GStreamer
*
* unit test for rawvideoparse
*
* Copyright (C) <2016> <NAME> <dv at pseudoterminal dot org>
*
* 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 ... |
#define _GNU_SOURCE
#include "util.h"
#include "fakefuse.h"
#include <arpa/inet.h>
#include <err.h>
#include <libmnl/libmnl.h>
#include <libnftnl/chain.h>
#include <libnftnl/expr.h>
#include <libnftnl/rule.h>
#include <libnftnl/table.h>
#include <linux/netfilter.h>
#include <linux/netfilter/nf_tables.h>
#include <linux... |
/*
* Copyright (c) 2016, <NAME>. All rights reserved.
* Copyrights licensed under the BSD License.
* See the accompanying LICENSE file for terms.
* See the accompanying ATTRIB file for attributions/credits.
*/
#include "vcpu.h"
#include "vm_mem.h"
#include "emu.h"
#include "conf.h"
#include "emu_syscall.h"
#inclu... |
/*
* 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 ... |
/* <NAME>: une sorte de spamd minimaliste. */
// Pour tester le temps que serait bloqué un message:
// cc -DTEST -o /tmp/paf2 exim.paf2.c && /tmp/paf2 <fichier RFC 822>
#include <stdio.h>
#include <fcntl.h>
#include <math.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <ctype.h>
#include <sys/... |
/*-
* html.c
* This file is part of libmetha
*
* Copyright (c) 2008, <NAME> <<EMAIL>>
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* T... |
#include "myos.h"
#include "memory.h"
#include "process.h"
#include "semaphore.h"
#include "FIFO.h"
#include "nios2_ctrl_reg_macros.h"
#include <stdio.h>
#define NULL 0
#define _0 0x3F
#define _1 0x06
#define _2 0x5B
#define _3 0x4F
#define _4 0x66
#define _5 0x6D
#define _6 0x7D
#define _7 0x07
#define _8 0x7F
#defi... |
/*
* Copyright 2015 Advanced Micro Devices, Inc.
* All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights... |
// <NAME>
// &
//<NAME>
/*
* ======== main.c ========
*/
/* XDCtools Header files */
#include <xdc/std.h>
#include <xdc/runtime/System.h>
#include <ti/sysbios/BIOS.h>
#include <ti/sysbios/knl/Task.h>
#include <ti/sysbios/knl/Clock.h>
#include <stdio.h>
#include <string.h>
/* TI-RTOS Header files *... |
/*
* Copyright 2004,2011 <NAME> <<EMAIL>>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of co... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <dirent.h>
#include <switch.h>
#include <SDL2/SDL.h>
#include <SDL2/SDL_events.h>
#include <SDL2/SDL_image.h>
#include <SDL2/SDL_ttf.h>
#include <SDL2/SDL_mixer.h>
#define UNLOCKED 0
#define LOCKED 1
#define SOLVED 1
#define MA... |
/* $Id$ $Revision$ */
/* vim:set shiftwidth=4 ts=8: */
/*************************************************************************
* Copyright (c) 2011 AT&T Intellectual Property
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.... |
/***************************************************************************
*
* __________ __ ___.
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
* Jukebox | | ( <_> ) \___| < | \_\ ( <... |
#include <net-snmp/net-snmp-config.h>
#include <net-snmp/net-snmp-includes.h>
#include <net-snmp/agent/net-snmp-agent-includes.h>
#include <net-snmp/agent/agent_callbacks.h>
#include <sys/types.h>
#include <sys/stat.h>
#ifdef HAVE_SYS_SYSMACROS_H
#include <sys/sysmacros.h> /* major() */
#endif
#include <math.h>
#includ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.