text stringlengths 5.8k 28.2k |
|---|
/*
* Copyright (C) 2015 University of Oregon
*
* You may distribute under the terms of either the GNU General Public
* License or the Apache License, as specified in the LICENSE file.
*
* For more information, see the LICENSE file.
*/
/* gNhmqcnoesyNhsqc.c
DESCRIPTION and INSTRUCTION:
This pulse sequence ... |
//#include "clone_3.h"
//#include "naruto.h"
//#include "r2d2.h"
//#include "image.h"
#include "maca.h"
#define DEBUG_MODE
#define BLOCK_WIDTH 16
#define BLOCK_HEIGHT 16
#define TOTAL_SLAVES 5
#define MASTER_NODE 0
#define SLV1_NODE 1
#define SLV2_NODE 2
#define SLV3_NODE 3
#define SLV4_NODE 4
#define SLV5_NODE 5
... |
#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.
voi... |
/*
* This file is part of the coreboot project.
*
* Copyright (C) 2005 Linux Networx
* (Written by <NAME> <<EMAIL>> for Linux Networx)
*
* 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; v... |
/*
* $Id: cfi.c 1366 2008-09-26 22:14:08Z arniml $
*
* Copyright (C) 2002, 2003 ETC s.r.o.
*
* 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 you... |
/*
Copyright (C) 2015 <>< <NAME>
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, dist... |
/*
* Copyright (c) <NAME>.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "apple2tc/a2io.h"
#include "apple2tc/apple2iodefs.h"
#include "apple2tc/sokol/sokol_app.h"
#include "apple2tc/sokol/sokol_audio.h"
#include "apple2tc... |
/*
* Copyright (c) 1983, 1988, 1993
* 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... |
/*
* (C) Copyright 2003-2004
* <NAME>, DENX Software Engineering, <EMAIL>.
*
* (C) Copyright 2004
* <NAME>, Freescale Semiconductor, <EMAIL>.
*
* (C) Copyright 2004
* <NAME>, TQ-Systems GmbH, <EMAIL>
*
* (C) Copyright 2008
* <NAME>, DENX Software Engineering, <EMAIL>.
*
* See file CREDITS for list of peopl... |
/* File ListC/ListVM/ListVM/listmachine.c
A unified-stack abstract machine and garbage collector
for list-C, a variant of micro-C with cons cells.
<EMAIL> * 2009-11-17, 2012-02-08
<EMAIL> 2019-10-21: Created 64 bit support where the tagging is
unchanged 32 bits fitting the book. The additional 32 bits are simply
not u... |
/*
Converts a JPEG file to WebP file format while attempting to keep visual
quality the same by using structural similarity (SSIM) as a metric. Does
a binary search between quality settings 1 and 99 to find the best match.
*/
#include <getopt.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdint.h>
#i... |
/*
ADC test for the STM32G031 Project
Configuration is 115200 8-N-1. Only "\n" is sent. Receiving terminal should add \r
(e.g. use add CR function in "minicom")
Linux:
stty -F /dev/ttyUSB0 sane 115200 && cat /dev/ttyUSB0
or stty -F /dev/ttyUSB0 sane 115200 igncr && cat /dev/ttyUSB0
screen /... |
/*
* Based on acpi.c from coreboot
*
* Copyright (C) 2015, <NAME> <<EMAIL>>
*
* SPDX-License-Identifier: GPL-2.0+
*/
#include <common.h>
#include <cpu.h>
#include <dm.h>
#include <dm/uclass-internal.h>
#include <dm/lists.h>
#include <asm/acpi_table.h>
#include <asm/cpu.h>
#include <asm/ioapic.h>
#include <asm/la... |
/*
* Clock setup for SMDK5250 board based on EXYNOS5
*
* Copyright (C) 2012 Samsung Electronics
*
* See file CREDITS for list of people who contributed to this
* project.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* publis... |
/*
* This file is part of the coreboot project.
*
* Copyright (C) 2003 <NAME> <<EMAIL>>
* Copyright (C) 2009 <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; version 2 ... |
/*
** Purpose: KIT_TO Packet Table.
**
** Notes:
** None
**
** License:
** Written by <NAME>, licensed under the copyleft GNU General
** Public License (GPL).
**
** References:
** 1. OpenSatKit Object-based Application Developer's Guide.
** 2. cFS Application Developer's Guide.
**
*/
/*
** Include Files:
*/
... |
// Map.c ... implementation of Map type
// (a specialised version of the Map ADT)
// You can change this as much as you want
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include "Map.h"
#include "Places.h"
typedef struct vNode *VList;
struct vNode {
LocationID v; // ALICANTE, etc
TransportID... |
#include "linne_coder.h"
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <assert.h>
#include "linne_utility.h"
/* メモリアラインメント */
#define LINNECODER_MEMORY_ALIGNMENT 16
/* 再帰的ライス符号の商部分の閾値 これ以上の大きさの商はガンマ符号化 */
#define LINNECODER_QUOTPART_THRESHOULD 16
/* 固定パラメータ符号を使うか否かの閾値 */
#define LINNECODER_LOW_TH... |
/*
Copyright 2010 SourceGear, LLC
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, sof... |
/**
* @file ofmo-projection.c
*
* 射影演算子を作成する関数を定義したファイル
* */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include "ofmo-def.h"
#include "ofmo-data.h"
#include "ofmo-prof.h"
#include "ofmo-mat.h"
#include "ofmo-basis.h"
static int NLMO = 0;
static int NFUNC = 0;
//static int NAO ... |
/* sub_cm-test.c
* EPN, 09.18.06
* Easeled: EPN, Fri Nov 30 13:35:14 2007
*
* Build many submodels from a template CM by choosing
* random model start and end positions.
* Compare the submodels to the corresponding stretch of
* main model by determining the expected number of
* times each state is entered.
* ... |
/*
VIA Unichrome driver
*/
#include <stdlib.h>
#include <stdio.h> /* for printf */
#include <string.h> /* for memset */
#include <unistd.h>
#include "vga.h"
#include "libvga.h"
#include "driver.h"
#include "vgarelvgaio.h"
/* New style driver interface. */
#include "timing.h"
#include "vgaregs.h"
#include "interfac... |
/*
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... |
/*
/*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:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disc... |
#include "../common/gba.h"
#include "../common/random.h"
typedef struct {
int16 position[2];
const char* whatSay;
} object;
#define MAX_OBJECT_COUNT 10
object objects[MAX_OBJECT_COUNT];
int objectCount = 0;
void AddObject(int x, int y, const char* whatSay){
objects[objectCount].position[0] = x;
objects[objectCo... |
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (C) 2020 BAIKAL ELECTRONICS, JSC
*
* Authors:
* <NAME> <<EMAIL>>
* <NAME> <<EMAIL>>
*
* Baikal-T1 CCU Dividers clock driver
*/
#define pr_fmt(fmt) "bt1-ccu-div: " fmt
#include <linux/kernel.h>
#include <linux/printk.h>
#include <linux/slab.h>
#includ... |
#define AddressLength 33
#define EncodedAddressLength 52
#define AddressVersion 0x42
#include "account.h"
#include "currency.h"
#define TXN_NORMAL 0
#define TXN_GOVERNANCE 1
#define TXN_REDEPLOY 2
#define TXN_FEEDELEGATION 3
#define TXN_TRANSFER 4
#define TXN_CALL 5
... |
/*****************************************************************************
* Author: <NAME> *
* Student ID: XXXXXXXXXXX *
* Login Name: XXXXXXXXXXX *
* T... |
#include "internal.h"
#include "compat.h"
#include <ctype.h>
/* special formats only used by rc_richpresence_display_part_t.display_type. must not overlap other RC_FORMAT values */
enum {
RC_FORMAT_STRING = 101,
RC_FORMAT_LOOKUP = 102,
RC_FORMAT_UNKNOWN_MACRO = 103
};
static rc_memref_value_t* rc_alloc_helper... |
#include "core/apu.h"
#include <stdio.h>
#include <stdlib.h>
#include "core/mmu.h"
u8 duty_table[4][8] = {
{ 0, 0, 0, 0, 0, 0, 0, 1 },
{ 1, 0, 0, 0, 0, 0, 0, 1 },
{ 1, 0, 0, 0, 0, 1, 1, 1 },
{ 0, 1, 1, 1, 1, 1, 1, 0 }
};
bool timer_tick(timer_t* timer)
{
if (!timer->counter || --t... |
/*Daala video codec
Copyright (c) 2012 Daala project contributors. 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 o... |
/*
* Copyright © 2014-2017 Broadcom
*
* 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... |
#include "s.h"
#include "r.h"
#include "sparc.h"
#include "gcinline.h"
/*
General Comment:
Using switch statements to dispatch on the "type" of objects
causes gcc to "optimize" the code into a jump table. The jump
table turns out to be slower than a sequence of if-then-else
statements because
(1) Some cases ar... |
/*************************************************************************
> File Name: expressionEvaluation1.c
> Author: HaoJie
> Mail: <EMAIL>
> Created Time: 2018年08月6日 星期一 17h22m3s
************************************************************************/
#include <stdio.h>
#include "sequentialStack.h"
#include <ct... |
/* $NetBSD: cp.c,v 1.53 2009/10/08 20:36:41 pooka Exp $ */
/*
* Copyright (c) 1988, 1993, 1994
* The Regents of the University of California. All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* <NAME> of Auspex Systems Inc.
*
* Redistribution and use in source and binary fo... |
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MIT
*
* Portions created by <NAME> are Copyright (c) 2012-2013
* <NAME>. All Rights Reserved.
*
* Portions created by VMware are Copyright (c) 2007-2012 VMware, Inc.
* All Rights Reserved.
*
* Portions created by <NAME> are Copyright (c) 2009-2010
* VMware, Inc... |
#include <fs/fat32.h>
#include <lib/blib.h>
#include <drivers/disk.h>
#include <lib/libc.h>
#include <lib/print.h>
#include <mm/pmm.h>
#include <stdbool.h>
#define FAT32_LFN_MAX_ENTRIES 20
#define FAT32_LFN_MAX_FILENAME_LENGTH (FAT32_LFN_MAX_ENTRIES * 13 + 1)
#define FAT32_VALID_SIGNATURE_1 0x28
#define FAT32_VALID_S... |
/*
* ident.c
*
* create git identifier lines of the form "name <email> date"
*
* Copyright (C) 2005 <NAME>
*/
#include "cache.h"
#include "config.h"
static struct strbuf git_default_name = STRBUF_INIT;
static struct strbuf git_default_email = STRBUF_INIT;
static struct strbuf git_default_date = STRBUF_INIT;
stat... |
/*
* Minimum Viable Product
*
*
*
*/
#include <stdlib.h>
#include <stdio.h>
#include <stdbool.h>
#include <math.h>
#include <SDL2/SDL.h>
#define TILES_WIDE 6
#define TILES_HIGH 1
#define TILE_SIZE 16
#define SCALE 64
#define ENEMIES 8
typedef unsigned char byte; // Holds at least values 0-255.
typedef unsigned... |
//
// BeatDetect.c
//
//
// Created by <NAME> on 06/03/2013.
// Copyright (c) 2013 <NAME>. All rights reserved.
//
#import "BeatDetect.h"
#import "MathematicalFunctions.h"
#import "ConvenienceFunctions.h"
#define MAX(x, y) (((x) > (y)) ? (x) : (y))
#define MIN(x, y) (((x) < (y)) ? (x) : (y))
BeatDetect32 *BeatDet... |
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <dirent.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <libswscale/swscale.h>
#include <jpeglib.h>
#include <png.h>
#include <luaT.h>
#include <TH/TH.h>
static int logging = 0; // Put 1 for debugging messages... |
/*
* 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.
*/
/* Feature : TCB
*
* Usage : BCM.0> cint tcb_wred.c
*
* config : tcb_egr_config.bcm
*
* Log f... |
/*----------------------------------------------------------------------------
* Copyright (c) <2016-2018>, <Huawei Technologies Co., Ltd>
* 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. R... |
/*
* lxc: linux Container library
*
* Copyright © 2012 Oracle.
*
* Authors:
* <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 Lic... |
/* Copyright (c) 2003 <NAME> <mba2000 ioplex.com>
*
* The MIT License
*
* 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 ... |
/* P I X B O R D E R . C
* BRL-CAD
*
* Copyright (c) 1996-2016 United States Government as represented by
* the U.S. Army Research Laboratory.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* version 2.1 ... |
/*
* Copyright (c) 2020 <NAME>
*
* SPDX-License-Identifier: MIT
*/
#include <string.h>
#include <ctype.h>
#include <kernel/kstdio.h>
#include <kernel/panic.h>
#include <kernel/arch/arch_asm.h>
#include <kernel/fdt.h>
#define FDT_MAGIC (0xd00dfeed)
#define FDT_INVALID (0x00000000)
#define FDT_BEGIN_NODE (0x000... |
#include "gnarl.h"
#include <unistd.h>
#include <esp_nimble_hci.h>
#include <esp_timer.h>
#include <host/ble_gap.h>
#include <host/util/util.h>
#include <nimble/nimble_port.h>
#include <nimble/nimble_port_freertos.h>
#include <nvs_flash.h>
#include <services/gap/ble_svc_gap.h>
#include <services/gatt/ble_svc_gatt.h>
... |
/*
* Copyright 2011-2012, The TenDRA Project.
* Copyright 1997, United Kingdom Secretary of State for Defence.
*
* See doc/copyright/ for the full copyright terms.
*/
/* dump_distr.c
Idea is to avoid dumping of s-registers and register parameters
if there is a simple route through a procedure which only use... |
#include "crypto_core_multsntrup761.h"
#include "crypto_core_multsntrup761_ntt.h"
#include "crypto_decode_761xint16.h"
#include "crypto_encode_761xint16.h"
#include <immintrin.h>
typedef int8_t int8;
typedef int16_t int16;
#define int16x16 __m256i
#define load_x16(p) _mm256_loadu_si256((int16x16 *) (p))
#define store... |
/*
Copyright (C) Paul
<EMAIL>
/home/renwh/sscctest
/home/renwh/mylib.so
/nginx stop的时候添加一行关闭动态链接库文件的程序:未添加
for nginx.conf
location /sscctest {
flag;
}
*/
#include <ngx_config.h>
#include <ngx_core.h>
#include <ngx_http.h>
#include <dlfcn.h> //显式调用动态链接库文件需要加载的头文件
#include <ngx_http_sscctest_... |
/* genePredToGtf - Convert genePred table or file to gtf.. */
#include "common.h"
#include "linefile.h"
#include "hash.h"
#include "options.h"
#include "obscure.h"
#include "jksql.h"
#include "genePred.h"
#include "genePredReader.h"
static char const rcsid[] = "$Id: genePredToGtf.c,v 1.17 2008/11/17 22:35:20 markd Exp... |
/**
* Copyright (c) 2018, Nordic Semiconductor ASA
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, t... |
/*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*
** **
** This file forms part of the Underworld geophysics modelling application. **
** ... |
/*
* Copyright (c) 2020 Raspberry Pi (Trading) Ltd.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include "pico.h"
#include "hardware/regs/clocks.h"
#include "hardware/platform_defs.h"
#include "hardware/clocks.h"
#include "hardware/watchdog.h"
#include "hardware/pll.h"
#include "hardware/xosc.h"
#include "hardwar... |
/**
* Copyright (C) 2020 Axis Communications AB, Lund, Sweden
*
* 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 b... |
/**
* libpsd - Photoshop file formats (*.psd) decode library
* Copyright (C) 2004-2007 Graphest Software.
*
* libpsd is the legal property of its developers, whose names are too numerous
* to list here. Please refer to the COPYRIGHT file distributed with this
* source distribution.
*
* This program is ... |
// SPDX-License-Identifier: GPL-2.0
/*
* Copyright (C) 2016 CNEX Labs
* Initial release: <NAME> <<EMAIL>>
* <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 Softwa... |
//////////////////////////////////////////////////////////////////////
//// ////
//// Interrupt-driven Ethernet MAC transmit test code ////
//// ////
//// Description ... |
/*
* @brief I2C example
* This example show how to use the I2C interface
*
* @note
* Copyright(C) NXP Semiconductors, 2013
* All rights reserved.
*
* @par
* Software that is described herein is for illustrative purposes only
* which provides customers with programming information regarding the
* L... |
#define _GNU_SOURCE
#include <stdlib.h>
#include <malloc.h>
#include <unistd.h>
#include <fcntl.h>
#include <libaio.h>
#include <assert.h>
#include "utils.h"
#include "logSpeed.h"
#include "aioRequests.h"
extern int keepRunning;
extern int singlePosition;
extern int flushEvery;
extern size_t waitEvery;
#define DISP... |
/**
* VOCLIST.C - Simple C Array-List Class.
*
* Lists are doubly-linked, with the value being a pointer to an arbitrary
* external object. The life cycle of the external object is not managed
* by the list. An unusual feature is that an array index is supported to
* permit randomly accessing the list as an arr... |
#include <stdio.h>
/// The custom configuration of our platform.
#include "eth_config.h"
// TODO: Add PT to get SCTLR working...(?)
#include <string.h>
#include "eip.h"
#include "emac_core.h"
#define ETHERTYPE_ETHERNET 0x0800U
#define ETHERTYPE_ARP 0x0806U
//----
// VLAN
// VLAN tagging adds 4 bytes ... |
// SPDX-License-Identifier: GPL-2.0
/*
* Intel Jasper Lake PCH pinctrl/GPIO driver
*
* Copyright (C) 2020, Intel Corporation
* Author: <NAME> <<EMAIL>>
*/
#include <linux/mod_devicetable.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/pinctrl/pinctrl.h>
#include "pinctrl-intel.h"... |
/*
* $Id: irrd_prototypes.h,v 1.26 2002/10/17 20:02:30 ljb Exp $
* originally Id: irrd_prototypes.h,v 1.46 1998/08/03 17:29:08 gerald Exp
*/
/* char *my_fgets (irr_database_t *db, FILE *fp); */
/* update */
int add_irr_object (irr_database_t *database, irr_object_t *irr_object);
irr_object_t *load_irr_object (ir... |
/*
* Promizer_10c.c Copyright (C) 1997 Asle / ReDoX
* Copyright (C) 2006-2007 <NAME>
*
* Converts PM10c packed MODs back to PTK MODs
*
* claudio's note: Now this one can be *heavily* optimized...
*/
#include <string.h>
#include <stdlib.h>
#include "prowiz.h"
static int test_p10c... |
/*
* 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... |
/* Spa A2DP aptX codec
*
* Copyright © 2020 <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify... |
/* Texas A&M University
** Electronic Systems Engineering Technology
** ESET-420 Capstone II ** Author: <NAME>
** File: SerialComm.c
** --------
** Contains Tasks, Threads, and Functions pertaining to
** the backchannel UART serial port (USCI_A1) and
** inter-device comm (USCI_A0).
*/
#include "SourceCode/SerialComm.h... |
/* mbed Microcontroller Library
* Copyright (c) 2006-2013 ARM Limited
*
* 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 re... |
/* sctp.c - stream control transmission protocol
*
*/
#include <stdlib.h>
#include <sys/types.h>
#include <netinet/in.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <memory.h>
#include <string.h>
#include <ctype.h>
#include "sendip_module.h"
#include "ipv6ext.h"
#include "sctp.h"
#include "crc32.h"
#incl... |
#include "generator.h"
#include <assert.h>
#include <base/base.h>
#include "area.h"
#include "digger.h"
#include "dungeon.h"
#include "dungeon_options.h"
#include "periodic_check.h"
#include "tile.h"
struct area *
generator_add_area(struct generator *generator,
enum area_type area_type,
... |
/*
*
* Top Level Hardware Operating Functions for Ztex Multi-FPGA board.
*
* This software is Copyright (c) 2016 <NAME>
* [denis_burykin yahoo com], [denis-burykin2014 yandex ru]
* and it is hereby released to the general public under the following terms:
* Redistribution and use in source and binary form... |
/*
* Copyright (C) 2008 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
/*
FingerJetFX OSE -- Fingerprint Feature Extractor, Open Source Edition
Copyright (c) 2011 by DigitalPersona, Inc. All rights reserved.
DigitalPersona, FingerJet, and FingerJetFX are registered trademarks
or trademarks of DigitalPersona, Inc. in the United States and other
countries.
Finger... |
/* MODULE: auth_krb5 */
/* COPYRIGHT
* Copyright (c) 1997 Messaging Direct Ltd.
* 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 (c) 1980, 1992, 1993
* 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 abov... |
/*
bpck.c (c) 1996-8 <NAME> <<EMAIL>>
Under the terms of the GNU General Public License.
bpck.c is a low-level protocol driver for the MicroSolutions
"backpack" parallel port IDE adapter.
*/
/* Changes:
1.01 GRG 1998.05.05 init_proto, release_proto, pi->delay
1.02 GRG 1998.08.15 default ... |
/*
* My personal implementation of the blake2B hash algorithm in C99.
* based on this psudocode https://en.wikipedia.org/wiki/BLAKE_%28hash_function%29#BLAKE2
* and refrences from https://github.com/BLAKE2/BLAKE2/
*
* This implementation is not a full implimentation since it can only access 2^64 bytes instead o... |
/*--------------------------------------------------------------------
This source distribution is placed in the public domain by its author,
<NAME>. You may use it for any purpose, free of charge,
without having to notify anyone. I disclaim any responsibility for any
errors.
Optionally, please be nice and tell me if ... |
/*
* Copyright (C) Mellanox Technologies Ltd. 2021. ALL RIGHTS RESERVED.
* See file LICENSE for terms.
*/
#include "ucc_sbgp.h"
#include "ucc_topo.h"
#include "utils/ucc_log.h"
#include "utils/ucc_malloc.h"
#include "utils/ucc_math.h"
#include "utils/ucc_compiler_def.h"
#include <limits.h>
static char *ucc_sbgp_t... |
/* Copyright (C) 2004, 2005 <NAME> <morten at afdelingp.dk>
*
* $Id$
*
* 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... |
#include <string.h>
#include <ctype.h>
#include <asm.h>
#include <decoder.h>
#include <encoder.h>
#include "std.h"
#include "libsym.h"
#include "types.h"
#include "fields.h"
#include "state.h"
#include "ssDCmd.h"
BOOL evalExpr(const char *expr, unsigned base, REG *retval);
typedef enum { AsmStart, AsmPred, AsmMnem, A... |
// SPDX-License-Identifier: (GPL-2.0 OR MIT)
/* Google virtual Ethernet (gve) driver
*
* Copyright (C) 2015-2019 Google, Inc.
*/
#include "gve.h"
#include "gve_adminq.h"
#include <linux/etherdevice.h>
static void gve_rx_remove_from_block(struct gve_priv *priv, int queue_idx)
{
struct gve_notify_block *block =
... |
/*
* Copyright (c) 1999, <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 a... |
/* process_options.c from Intel.
* Modified by <NAME>
*
Copyright (c) 2010, Intel Corporation
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain... |
#include <arpa/inet.h>
#include <assert.h>
#include <fcntl.h>
#include <limits.h>
#include <mtcp_api.h>
#include <mtcp_epoll.h>
#include <netinet/in.h>
#include <pthread.h>
#include <signal.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/queue.h>
#include <sys/socket.h>
#... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <termios.h> /* POSIX terminal control definitions */
#include <ctype.h>
#include <alt_types.h>
#include <io.h>
#include "alt_types.h"
#include "sys/alt_irq.h"
#include "altera_nios2_qsys_irq.h"
#include "altera_a... |
/* dasadd.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;
/* $Procedure DASADD ( DAS, add data, double precision ) */
/* Subroutine */ int dasadd_(intege... |
#include "add-load-save.h"
#include "gfftypes.h"
#include "popup.h"
#include "window-main.h"
#include "sol_textbox.h"
#include "mouse.h"
#include "ds-load-save.h"
#include "gff.h"
#include "gff-char.h"
#include "port.h"
#include "settings.h"
#include "gpl.h"
#include "player.h"
#define SAVE_FORMAT "save%02d.sav"
stat... |
#include <net-snmp/net-snmp-config.h>
#include <net-snmp/net-snmp-includes.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <regex.h>
#include <libintl.h>
#include <locale.h>
#include <time.h>
#include <unistd.h>
/* undef variables of net-snmp-config.h */
#undef PACKAGE_BUGREPORT
#un... |
/*
Copyright (C) 1997-2001 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 is distributed in th... |
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "bwt.h"
#include "bntseq.h"
#include "bwtsw2.h"
#include "kstring.h"
#ifndef _NO_SSE2
#include "ksw.h"
#else
#include "stdaln.h"
#endif
#define MIN_RATIO 0.8
#define OUTLIER_BOUND 2.0
#define MAX_STDDEV 4.0
#define EXT_STDDEV ... |
////////////////////////////////////////////////////////////
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/time.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include <ctype.h>
#include <limits.h>
#include <omp.h>
#include "types.h"
#include "util.h"
#include "random.h... |
/**
* MIT License
*
* Copyright (c) 2018 <NAME>, https://github.com/ilwoong
*
* 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 limita... |
/* GELL 15.26: include file for the module: "cntrl" */
/* translation done: "Sat Oct 7 17 20:53:31 " */
/* impure LLM3 predefined */
extern Ptr GIdlink, GIllink, GIfcons, GIevalst;
extern Ptr GIhashtab;
extern Ptr GIfcons;
extern Ptr GImstack;
extern Ptr GIbvar;
extern Ptr GMundef;
extern Ptr... |
/*
* Copyright 2019 Xilinx, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
/*
* ---- The Unbalanced Tree Search (UTS) Benchmark ----
*
* Copyright (c) 2010 See AUTHORS file for copyright holders
*
* This file is part of the unbalanced tree search benchmark. This
* project is licensed under the MIT Open Source license. See the LICENSE
* file for copyright and licensing i... |
/************************************************************
* HMMER - Biological sequence analysis with HMMs
* Copyright 1992-1995 <NAME>
*
* This source code is distributed under the terms of the
* GNU General Public License. See the files COPYING and
* GNULICENSE for details.
*
***********************... |
/* Copyright (c) 2007, <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 conditio... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.