text stringlengths 7.55k 41.9k |
|---|
/*
Planarity-Related Graph Algorithms Project
Copyright (c) 1997-2010, <NAME>
All rights reserved. Includes a reference implementation of the following:
* <NAME>. "Simplified O(n) Algorithms for Planar Graph Embedding,
Kuratowski Subgraph Isolation, and Related Problems". Ph.D. Dissertation,
University of Victoria... |
/*
* This file is part of the coreboot project.
*
* Copyright (C) 2007-2009 coresystems GmbH
* Copyright (C) 2013 Google Inc.
* Copyright (C) 2015-2016 Intel Corp.
* Copyright (C) 2016 Siemens AG
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Pu... |
#include "mips32.h"
/* the output file descriptor, may not be explicitly used */
FILE *fd;
#define _tac_kind(tac) (((tac)->code).kind)
#define _tac_quadruple(tac) (((tac)->code).tac)
#define _reg_name(reg) regs[reg].name
struct VarDesc *select_var(char *name) {
for (struct VarDesc *var = vars; var != NULL; var =... |
/*
* File: sources.c
* Author: <NAME>
* Institution: Stanford University
* --------------------------------
* Right-hand sides for momentum and scalars, in the form rhs = dt*SOURCE at time step n.
*
* Copyright (C) 2005-2006 The Board of Trustees of the Leland Stanford Junior
* University. All Rights Reserved.... |
// SPDX-License-Identifier: GPL-2.0
/*
* Intel Emmitsburg 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"
... |
/*
* 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) 2015 The Regents of the University of California.
*
* 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... |
#include <curl/curl.h>
#include <dirent.h>
#include <errno.h>
#include <fcntl.h>
#include <libgen.h>
#include <libxml/parser.h>
#include <libxml/xpath.h>
#include <stdarg.h>
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <time.h>
#include <unistd.h>
#defin... |
/*
* Algoritmos e Estruturas de Dados 1
* Ciencia da Computacao
*
* Desenvolvido por:
* <NAME>
* <NAME>
*
* -------------------------------------
* -- GERENCIADOR DE ESTOQUE --
* -------------------------------------
*/
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <string... |
/* IBM_PROLOG_BEGIN_TAG */
/*
* Copyright 2003,2016 IBM International Business Machines Corp.
*
* 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/LIC... |
/* 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 condition... |
#include <stdio.h>
#include <string.h>
#include <signal.h>
#include <stdlib.h>
#include <stdbool.h>
#include <stdint.h>
#include <libevdev/libevdev.h>
#define SERVER_VERSION "InputServer 2.0"
#define MAX_CLIENTS 8
#define MAX_WAITING_CLIENTS 8
#include "../libs/easy_args.h"
#include "../libs/logger.h"
#include "../... |
/* SPDX-License-Identifier: BSD-2-Clause */
/*
* Copyright 2019 NXP
*/
/**
* PPC - Peripheral Clock Control
*/
#define PPC_XRDC_OFFSET 0x50
#define PPC_XRDC_CGC_OFFSET 30
#define PPC_XRDC_CGC_MASK 0x40000000
/**
* CR - Control Register
*/
#define XRDC_CR_GVLD_OFFSET 0
#define XRDC_CR_GVLD_MASK 0x1
#d... |
#include "PAWS.h"
typedef unsigned int size_t;
// BACKGROUND PATTERN GENERATOR
#define BKG_SOLID 0
#define BKG_5050_V 1
#define BKG_5050_H 2
#define BKG_CHKBRD_5 3
#define BKG_RAINBOW 4
#define BKG_SNOW 5
#define BKG_STATIC 6
#define BKG_CHKBRD_1 7
#define BKG_CHKBRD_2 8
#define BKG_CHKBRD_3 9
#define BKG_CHKBRD_4 10... |
/*
* Old network packet inspector I wrote long time ago
* No library needed, only Kernel API are used
*
* Strict C89 compliant
* -Wall -Wextra -std=c89 -pedantic -Wmissing-prototypes -Wstrict-prototypes \
* -Wold-style-definition
*
* Compilation:
* gcc -O2 -o netdump netdump.c
*
* Added filters, VXLAN supp... |
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <time.h>
#include <math.h>
#include <fcntl.h>
#include <sys/mman.h>
#include <signal.h>
#include <stdarg.h>
#include <getopt.h>
#include "clk.... |
#include <stdint.h>
#include <stdio.h>
#include "minigbs.h"
static const char* opcodes[] = {
[0x00] = "nop",
[0x01] = "ld bc, $%2hhx",
[0x02] = "ld [bc], a",
[0x03] = "inc bc",
[0x04] = "inc b",
[0x05] = "dec b",
[0x06] = "ld b, $%2hhx",
[0x07] = "rlca",
[0x08] = "ld [$%4hx], sp",
[0x09] = "add hl, bc",
[0x... |
/* MIT License
Copyright (c) 2016 <NAME> - Soliditec Solutions
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, mo... |
/*
* File: options.c
* Purpose: Options table and definitions.
*
* Copyright (c) 1997 <NAME>
*
* This work is free software; you can redistribute it and/or modify it
* under the terms of either:
*
* a) the GNU General Public License as published by the Free Software
* Foundation, version 2, or
*
* b) the... |
/*This program evaluates the differential equations for a photon's geodesic in a perturbed spacetime in SPHERICAL coordinates and restricted to RADIAL MOTION with a Runge-Kutta-Fehlberg 45 method.*/
/*This program solves the particular case for flat FRW perturbed spacetime with metric: $g_{ab} = {[g]}_{ab} + h_{ab}$. ... |
/*
* Copyright (c) 2007 Open Kernel Labs, Inc. (Copyright Holder).
* All rights reserved.
*
* 1. Redistribution and use of OKL4 (Software) in source and binary
* forms, with or without modification, are permitted provided that the
* following conditions are met:
*
* (a) Redistributions of source code must r... |
/*
* ical2html -- create an HTML table from icalendar data
*
* Makes a calendar for the *local* time zone. You can change what is
* "local" by setting the TZ environment variable, e.g.,
*
* export TZ=Europe/Paris
*
* Author: <NAME> <<EMAIL>>
* Created: 22 Sep 2002
*/
#include "config.h"
#include <stdio.h... |
/*
* nts_server.c - Network Time Security (NTS) server side support
* Copyright the NTPsec project contributors
* SPDX-License-Identifier: BSD-2-Clause
*
* Section references are to
* https://tools.ietf.org/html/draft-ietf-ntp-using-nts-for-ntp-15
*
*/
#include "config.h"
#include <signal.h>
#include <pthread.... |
/* diskmodel (version 1.1)
* Authors: <NAME>, <NAME>
* Contributors: <NAME>, <NAME>, <NAME>
*
* Copyright (c) of Carnegie Mellon University, 2003-2005
*
* This software is being provided by the copyright holders under the
* following license. By obtaining, using and/or copying this
* software, you agree that yo... |
/*
** {======================================================
** PATTERN MATCHING adapted from lstrlib.c of Lua 5.3.4
** Copyright (C) 1994-2017 Lua.org, PUC-Rio; see LUA_LICENSE
** =======================================================
*/
#include <ctype.h>
#include <stdarg.h>
#include <stddef.h>
#include <carp_stri... |
// SPDX-License-Identifier: MIT
// Copyright (c) 2019-2022 The Pybricks Authors
#include <stdbool.h>
#include <btstack_chipset_cc256x.h>
#undef UNUSED
#include <stm32f4xx_hal.h>
#include "pbio/uartdev.h"
#include "pbio/light_matrix.h"
#include "pbio/version.h"
#include "../../drv/adc/adc_stm32_hal.h"
#include "../.... |
/* ISC license. */
#include <string.h>
#include <sys/stat.h>
#include <sys/wait.h>
#include <unistd.h>
#include <errno.h>
#include <signal.h>
#include <skalibs/types.h>
#include <skalibs/cdb.h>
#include <skalibs/sgetopt.h>
#include <skalibs/buffer.h>
#include <skalibs/strerr2.h>
#include <skalibs/tai.h>
#include <ska... |
/* LiteX / VexRiscv Machine Mode Emulator */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <irq.h>
#include <uart.h>
#include <console.h>
#include <generated/csr.h>
#include <generated/mem.h>
#include "riscv.h"
#define LINUX_IMAGE_BASE MAIN_RAM_BASE + 0x00000000
#define LINUX_DTB_BASE MAIN_... |
/* ************************************************************************
* File: handler.h EmpireMUD 2.0b5 *
* Usage: header file: prototypes of handling and utility functions *
* *
* EmpireMUD cod... |
/**
* \file obj-util.c
* \brief Object utilities
*
* Copyright (c) 1997 <NAME>, <NAME>, <NAME>
*
* This work is free software; you can redistribute it and/or modify it
* under the terms of either:
*
* a) the GNU General Public License as published by the Free Software
* Foundation, version 2, or
*
* b) t... |
/*
* Linear Technology LTC3589,LTC3589-1 regulator support
*
* Copyright (c) 2014 <NAME> <<EMAIL>>, Pengutronix
*
* 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 Lice... |
#include "qpage.h"
/*
** global variables
*/
#ifndef lint
static char sccsid[] = "@(#)queue.c 1.22 07/07/98 <EMAIL>";
#endif
/*
** insert_jobs()
**
** This function inserts a page into the job list. Since each page
** may contain multiple recipients each with a possibly different
** paging service, each recipie... |
/*
Copyright 2015 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 law or agreed to in wri... |
/* Copyright (c) 2004, 2011, Oracle and/or its affiliates. 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 as published by
the Free Software Foundation; version 2 of the License.
This program is distributed in t... |
/*
* (c) Copyright 2002-2010, Ralink Technology, Inc.
* Copyright (C) 2014 <NAME> <<EMAIL>>
* Copyright (C) 2015 <NAME> <<EMAIL>>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2
* as published by the Free Software Foundatio... |
// Generated by HLC 4.2.1 (HL v4)
#define HLC_BOOT
#include <hlc.h>
#include <haxe/io/Path.h>
#include <hl/natives.h>
extern String s$;
extern String s$6666cd7;
int String_lastIndexOf(String,String,vdynamic*);
extern String s$28d397e;
extern hl_type t$_i32;
String String_substr(String,int,vdynamic*);
extern String s$5... |
/*
* This library is a crude ADC library for Beaglebone black .
*
* support "Single Channel Single Step" ADC sample control , not support Interrupt yet ,
*
*/
#include <stdio.h>
#include <stdlib.h>
#include <sys/mman.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <sched.h>
#include <fcntl.h>
#include <e... |
/* Copyright (C) 2007-2014 Open Information Security Foundation
*
* You can copy, redistribute or modify this Program under the terms of
* the GNU General Public License version 2 as published by the Free
* Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY... |
#include "plt_math.h"
#include <math.h>
#include "platypus/base/plt_macros.h"
#include "platypus/base/plt_simd.h"
inline Plt_Shape_Sphere plt_shape_sphere_make(float radius) {
return (Plt_Shape_Sphere) {
.radius = radius
};
}
inline Plt_Shape_Box plt_shape_box_make(Plt_Vector3f size) {
return (Plt_Shape_Box) {
... |
/*
* Copyright (c) 2008 <NAME> (tilman at xmms org)
*
* 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... |
/* etcal.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__2000 = 2000;
static integer c__1 = 1;
static integer c__12 = 12;
static integer c__6 = 6;
/* $Procedure... |
/*
* Copyright (C) 2014 BlueKitchen GmbH
*
* 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 follo... |
#include "hmTriDistance.h"
#include "hmVec3.h"
#include "hmUtility.h"
#include "hmConstants.h"
#include "hmVectorSizeT.h"
#include <float.h>
#include <math.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <sys/time.h>
#include<OpenCL/opencl.h>
void hmTriDistanceInitialize( hmTriDistance* distance... |
#define NULL ((void*)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t; typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1
/* Forward d... |
/*
* This file is part of the coreboot project.
*
* Copyright 2016 Google 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; version 2 of the License.
*
* This program is distribute... |
/* Internal format of COFF object file data structures, for GNU BFD.
This file is part of BFD, the Binary File Descriptor library. */
/* First, make "signed char" work, even on old compilers. */
#ifndef signed
#ifndef __STDC__
#define signed /**/
#endif
#endif
/********************** FILE HEADER ***************... |
/* 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.
*
* ... |
/*
* Micrel KS8851_MLL 16bit Network driver
* Copyright (c) 2011 <NAME> <<EMAIL>>
*
* SPDX-License-Identifier: GPL-2.0+
*/
#include <asm/io.h>
#include <common.h>
#include <command.h>
#include <malloc.h>
#include <net.h>
#include <miiphy.h>
#include "ks8851_mll.h"
#define DRIVERNAME "ks8851_mll"
#define MAX_... |
/*
* Copyright 2020 Makani Technologies 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 ... |
/*
* GRUB -- GRand Unified Bootloader
* Copyright (C) 2005,2006,2007,2008,2009,2010 Free Software Foundation, Inc.
*
* GRUB is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the... |
#include "trident.h"
#include "mixer.h"
/* global value */
DEV_STRUCT dev;
aud_sub_dev_conf_t aud_conf[3];
sub_dev_t sub_dev[3];
special_file_t special_file[3];
drv_t drv;
/* internal function */
static int dev_probe(void);
static int set_sample_rate(u32_t rate, int num);
static int set_stereo(u32_t stereo, int num);... |
/*
* Copyright (c) 2016 Idein Inc. ( http://idein.jp/ )
* All rights reserved.
*
* This software is licensed under a Modified (3-Clause) BSD License.
* You should have received a copy of this license along with this
* software. If not, contact the copyright holder above.
*/
#include "mkl.h"
#include <stdio.h>
#... |
/*! @file IROBOT.c
*
* @brief Module to control the iRobot.
*
* This contains the functions for communicating with the iRobot through the
* create open interface.
*
* @author A.Pope, K.Leone, C.Stewart, J.Lynch
* @date 02-09-2016
*/
#include "IR.h"
#include "EEPROM.h"
#include "USART.h"
#include "PATH.h"
... |
/*==========================================================
* Copyright 2020 QuickLogic Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licens... |
/* SPDX-License-Identifier: MIT
* Copyright (c) 2014-2021 <NAME>
*/
#include <assert.h>
#include <ctype.h>
#include <errno.h>
#include <fcntl.h>
#include <poll.h>
#include <pthread.h>
#include <signal.h>
#include <stdarg.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/... |
/*
Copyright <2017> <Scaleable and Concurrent Systems Lab;
Thayer School of Engineering at Dartmouth College>
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 restr... |
/*
* 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... |
/* Produced by CVXGEN, 2020-07-30 04:42:39 -0400. */
/* CVXGEN is Copyright (C) 2006-2017 <NAME>, <EMAIL>. */
/* The code in this file is Copyright (C) 2006-2017 <NAME>. */
/* CVXGEN, or solvers produced by CVXGEN, cannot be used for commercial */
/* applications without prior written permission from <NAME>. */
/* Fi... |
/*
* This file is a part of libacars
*
* Copyright (c) 2018-2021 <NAME> <<EMAIL>>
*/
#include <string.h> // memcpy(), strdup()
#include <sys/time.h> // struct timeval
#include "config.h" // WITH_LIBXML2
#ifdef WITH_LIBXML2
#include <libxml/tre... |
#include <cards_logic/basics.h>
#include <cards_logic/klondike.h>
#include <helpers/log.h>
#include <opengl/menus.h>
struct s_klondike_elements klondike_elements = {
.pool = {
.position = {.x = POS_DECK_X, .y = POS_UPPER_ELEMENTS},
.cards_offsets = {.x = 0, .y = 0},
.placed = 0, .max = REMAINING_DECK, ... |
#include "memory_map.h"
#define EMMC_BASE PERIPHERAL_VA_EMMC
#define SD_CMD_RSPNS_TYPE_NONE 0 // For no response
#define SD_CMD_RSPNS_TYPE_136 (1 << 16) // For response R2 (with CRC), R3,4 (no CRC)
#define SD_CMD_RSPNS_TYPE_48 (2 << 16) // For responses R1, R5, R6, R7 (with CRC)
#define SD_CMD_RSPNS_TYPE_48B ... |
/*
* 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.
*/
/* rna_cchtocsy_CCdec
3D (H)CCH-TOCSY utilizing SE or watergate.
Co... |
/*
Simplify a polygon model by collapsing multiple points together. This
is basically <NAME>'s method of simplifying polygon models.
This code borrows heavily from "plyshared".
<NAME>, August 1994
*/
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <strings.h>
#include <ply.h>
#include <sys/times... |
/*
* 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... |
/* CVS $Id: radius.c,v 1.1.1.1 2006/03/28 01:13:43 tjaqua Exp $
0.1 : Initial version based on mod_auth_radius code from the freeradius.org
*/
#include "radius.h"
#include <malloc.h>
#include "md5.h"
#include <netdb.h>
#include "includes.h"
#include <unistd.h>
#include <sys/stat.h>
#include <string.h>
#include <sys... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <math.h>
#include <omp.h>
#include "H2Pack.h"
#include "H2Pack_utils.h"
#include "CSRPlus.h"
#include "FSAI_precond.h"
// Calculate the square of distance of each pair of 2D points for KNN search
static void calc_2D_d... |
#include "libmathq15.h"
/***************** local defines *****************/
/***************** variable declarations *****************/
#if defined(SINE_TABLE_4BIT)
const q15_t sine_table[] = { 0, 3211, 6392, 9511, 12539, 15446, 18204, 20787,
23169, 25329, 27244, 28897, 30272, 31356, ... |
/*
* planet effect - written Sun Feb 11 2001
* Assumes OpenGL version 1.2 for specular textures.
*/
#include <GL/gl.h>
#include <GL/glu.h>
#include <GL/glut.h>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <time.h>
#include "main.h"
#include "stars.h"
#include "util.h"
#include "texture.h"
#in... |
#include <unistd.h>
#include "asf_sar.h"
#include "asf_raster.h"
#include "asf_complex.h"
#include <assert.h>
#define MAX_OTHER 10
typedef struct {
int line;
quadPolS2Float *buf;
FILE *fp;
meta_parameters *meta;
complexMatrix *r;
int hh_amp_band, hh_phase_band;
int hv_amp_band, hv_phase_band;
... |
#define _XOPEN_SOURCE 700
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
#include <string.h>
#include <netdb.h>
#include <arpa/inet.h>
#include <sys/wait.h>
#include <getopt.h>
#include <poll.h>
#include <sys/ipc.h>
#include <sys/msg.h>
#include <sys/un.h>
/*#include <openssl/applink.c>*/
#include <openssl/... |
/* <NAME>, jar 2019
-----------------------------------------------------
program, ktorý spočítá vzdialenosti C-alfa uhlíkových
atomov residuí od centra molekuly a naviac načita z PDB
suboru informacie o sekundárnej strukture (alfa-šroubovicích a beta-listech). Potom zobrazí graf reprezentující vzdálenost Calfa atomov ... |
/* ---- NUMBER THEORY ---- */
enum {
PK_PUBLIC =0,
PK_PRIVATE=1
};
int rand_prime(void *N, long len, prng_state *prng, int wprng);
/* ---- RSA ---- */
#ifdef LTC_MRSA
/* Min and Max RSA key sizes (in bits) */
#define MIN_RSA_SIZE 1024
#define MAX_RSA_SIZE 4096
/** RSA LTC_PKCS style key */
typedef ... |
/*
* hosts.c Copyright (C) 1992 <NAME>
* Copyright (C) 1993, 1994, 1995 <NAME>
* Copyright (C) 2002-2003 <NAME>
*
* mid to lowlevel SCSI driver interface
* Initial versions: <NAME>
* Subsequent revisions: Eric Youngdale
*
* <<EMAIL>>
*
* Jiffies wrap fixes (host->resetting), 3... |
/* Dia -- an diagram creation/manipulation program
* Copyright (C) 1998 <NAME>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any ... |
/*
* lib.c - library for command line tools
*
* Copyright (c) 2002-2007 Volkswagen Group Electronic Research
* 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 sour... |
// Copyright 2018 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <assert.h>
#include <fuchsia/hardware/bt/hci/c/banjo.h>
#include <fuchsia/hardware/serial/c/fidl.h>
#include <fuchsia/hardware/serialimpl/async/c/... |
/*
* The new sysinstall program.
*
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
* Copyright (c) 1995
* <NAME>. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permit... |
/*
* The Shadow Simulator
* See LICENSE for licensing information
*/
#include <elf.h>
#include <errno.h>
#include <glib.h>
#include <inttypes.h>
#include <link.h>
#include <netinet/in.h>
#include <pthread.h>
#include <stddef.h>
#include <sys/resource.h>
#include "lib/logger/logger.h"
#include "main/bindings/c/bind... |
/**************************************************************************//**
* @file Smpl_DrvPWM.c
* @version V1.00
* $Revision: 11 $
* $Date: 12/08/09 7:27p $
* @brief M051 Series PWM Generator and Capture Timer Driver Sample Code
*
* @note
* Copyright (C) 2011 Nuvoton Technology Corp. All ... |
/*
* (C) Copyright 2016 Rockchip Electronics Co., Ltd
* Author: <NAME> <<EMAIL>>
* SPDX-License-Identifier: GPL-2.0+
*/
#include <common.h>
#include <dm.h>
#include <errno.h>
#include <syscon.h>
#include <asm/io.h>
#include <asm/arch/clock.h>
#include <asm/arch/grf_rv1108.h>
#include <asm/arch/hardware.h>
#incl... |
/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file : main.c
* @brief : Main program body
******************************************************************************
* @attention
*
* <h2><center>© Copyri... |
/*
*Copyright(c)2004,Cisco URP imburses and Network Information Center in Beijing University of Posts and Telecommunications researches.
*
*All right reserved
*
*File Name:traceRouteCtlTable.h
*File Description:The head file of traceRouteCtlTable.c
*
*Current Version:1.0
*Author:ChenJing
*Date:2004.8.20
*/
... |
/* GStreamer
* Copyright (C) 2006 <NAME> <<EMAIL>>
* Copyright (C) 2004 <NAME> <<EMAIL>>
*
* gstmultipartdemux.c: multipart stream demuxer
*
* 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 F... |
/*
* Created on July 26, 2011, 10:51 AM
*/
#include "emmintrin.h"
#include "cmc.h"
#include "cmc_utils.h"
#include "cmc_gen_tally.h"
#include "../ecodes.h"
#ifdef DO_PAPI
#include "papi.h"
#endif
#ifdef DO_MPI
#include "mpi.h"
#endif
#define VECTOR_WIDTH 2
#ifndef SSE_SWITCH
#define SSE_SWITCH 1000
#endif
colDat... |
/*
* Copyright (c) 2001-2019, Arm Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause OR Arm's non-OSI source license
*
*/
#include <stdio.h>
#include <stdint.h>
/* Test engine and testAL headers*/
#include "test_engine.h"
#include "test_pal_mem.h"
#include "test_proj_otp.h"
... |
/*************************************************************************
* *
* $Id: s100_disk2.c 1995 2008-07-15 03:59:13Z hharte $ *
* *
* Copyright (c)... |
#ifndef lint
static const char RCSid[] = "$Id: mgf2rad.c,v 2.31 2016/10/03 18:16:45 greg Exp $";
#endif
/*
* Convert MGF (Materials and Geometry Format) to Radiance
*/
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include "platform.h"
#include "mgf_parser.h"
#include "color.h"
#inclu... |
/* Minimize
*
* ER, Thu Mar 6 16:40:59 EST 2014 [Janelia]
* SVN $Id:$
*/
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
#include <math.h>
#include <float.h>
#include "easel.h"
#include "esl_dmatrix.h"
#include "esl_minimizer.h"
#include "esl_vectorops.h"
... |
/*++ BUILD Version: 0009 // Increment this if a change has global effects
Copyright (c) 1987-1993 Microsoft Corporation
Module Name:
3connect.c
Abstract:
This module implements the tree connect SMB related routines. It also implements the
three flavours of this routine ( user level and sha... |
/* $OpenBSD: db_trace.c,v 1.10 2015/02/09 09:21:30 miod Exp $ */
/* $NetBSD: db_trace.c,v 1.23 2001/07/10 06:06:16 eeh Exp $ */
/*
* Mach Operating System
* Copyright (c) 1991,1990 Carnegie Mellon University
* All Rights Reserved.
*
* Permission to use, copy, modify and distribute this software and its
* documen... |
#include "lapack.h"
#include "handle.h"
#include "error.h"
#include <stdio.h>
#include <math.h>
#include "config.h"
#include "spotrf.fatbin.c"
static inline size_t min(size_t a, size_t b) { return (a < b) ? a : b; }
static inline size_t max(size_t a, size_t b) { return (a > b) ? a : b; }
static inline CUresult cuMemc... |
/*
* 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... |
// Start of server.h.
// Forward declarations of things that we technically don't know until
// the application header file is included, but which we need.
struct futhark_context_config;
struct futhark_context;
char *futhark_context_get_error(struct futhark_context *ctx);
int futhark_context_sync(struct futhark_contex... |
/*
* Copyright (c) 2012-2018 The Linux Foundation. All rights reserved.
*
* 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 SOFTWARE IS ... |
/*
** mouse:~ppr/src/pprd/pprd_load.c
** Copyright 1995--2010, Trinity College Computing Center.
** Written by <NAME>.
**
** This file is part of PPR. You can redistribute it and modify it under the
** terms of the revised BSD licence (without the advertising clause) as
** described in the accompanying file LICENSE.tx... |
/* HTTP File Server Example
This example code is in the Public Domain (or CC0 licensed, at your option.)
Unless required by applicable law or agreed to in writing, this
software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS OF ANY KIND, either express or implied.
*/
#include <stdio... |
/*
* Copyright (c) 2016-present, <NAME>, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under both the BSD-style license (found in the
* LICENSE file in the root directory of this source tree) and the GPLv2 (found
* in the COPYING file in the root directory of this source tree).
*/
#incl... |
/*************************************************************************\
* Copyright (c) 2010 UChicago Argonne LLC, as Operator of Argonne
* National Laboratory.
* Copyright (c) 2002 The Regents of the University of California, as
* Operator of Los Alamos National Laboratory.
* EPICS Base is distributed subject to a... |
/* Copyright 2011 <NAME>, <NAME>
See LICENSE for other credits and copying information
*/
/**
* \file obfs2.c
* \headerfile obfs2.h
* \brief Implements the 'obfs2' pluggable transport.
*
* \details We track the state of the obfs2 protocol in the
* <b>state</b> member of <b>obfs2_state_t</b>.
*
* The first s... |
/* Windows used in game */
#include <ncurses.h>
#include <stdlib.h>
#include <string.h>
#include "moves.h"
/* DEFINITIONS */
#define HUMAN_MODE 0
#define COMPU_MODE 1
#define BOARDS_WIN 0
#define MENU_WIN 1
#define NO_BOARDS 3
#define LOGO_WIDTH 62
#define LOGO_HEIGHT 5
/* WINDOWS */
WINDOW *main_win;
WINDOW ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.