text stringlengths 7.55k 41.9k |
|---|
/*
Copyright (c) 2012, Yahoo! Inc. All rights reserved.
Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
Author: <NAME>
*/
/**
* Prediction function using Monte-Carlo mean
* This implements the transduction leaning: When building the LDA topic model,
* ... |
/*
* BPFd (Berkeley Packet Filter daemon)
*
* Copyright (C) 2017 <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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*... |
/**
******************************************************************************
* File Name : main.c
* Description : Main program body
******************************************************************************
** This notice applies to any and all portions of this file
* that are not ... |
/*
* ept.c - encoded parse tree for protocol fingerprinting
*
* Copyright (c) 2019 Cisco Systems, Inc. All rights reserved. License at
* https://github.com/cisco/mercury/blob/master/LICENSE
*/
#include <ctype.h> /* for isprint() */
#include "ept.h"
#include "utils.h"
/* utility functions */
void encode_... |
// Program scheduler - Scheduler process.
/* Code authors:
* <NAME> - 16/0023777
* <NAME> - 16/0008166
* <NAME> - 16/0032458
* <NAME> - 16/0019311
*/
// Compiler includes:
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <float.h>
#include <signal.h>
#include <string.h>
#include <sys/ipc.h>
#in... |
#include "alles.h"
#include "sine_lutset.h"
#include "impulse_lutset.h"
#include "triangle_lutset.h"
#include "pcm.h"
// We only allow a couple of KS oscs as they're RAM hogs
#define MAX_KS_BUFFER_LEN 802 // 44100/55 -- 55Hz (A1) lowest we can go for KS
#define KS_OSCS 1
float ** ks_buffer;
uint8_t ks_polyphony_ind... |
/*
* Copyright (c) 2007-2008 Cisco, Inc. All rights reserved.
* Copyright (c) 2004-2007 The University of Tennessee and The University
* of Tennessee Research Foundation. All rights
* reserved.
* Copyright (c) 2008-2009 Sun Microsystems, Inc. All rights reserved.
... |
#include "LKH.h"
#define maxNeighbors POPMUSIC_MaxNeighbors
#define trials POPMUSIC_Trials
#define NB_RES POPMUSIC_Solutions
#define SAMPLE_SIZE POPMUSIC_SampleSize
#define d(a, b) (((a) == (b) ? 0 : D(a, b)\
- (a)->Pi - (b)->Pi) / Precision)
static void build_path(int n, int *path, int nb_clust);
s... |
#include "MapGenerator.h"
#include "BlockID.h"
#include "ErrorHandler.h"
#include "ExtMath.h"
#include "Funcs.h"
#include "Noise.h"
#include "Platform.h"
#include "Random.h"
#include "TreeGen.h"
void FlatgrassGen_MapSet(Int32 yStart, Int32 yEnd, BlockID block) {
yStart = max(yStart, 0); yEnd = max(yEnd, ... |
/******************************************************************************
*
* Copyright (C) 2015 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:
... |
/*
* Copyright (c) 1986 Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*/
#include <sys/param.h>
#include <sys/user.h>
#include <sys/proc.h>
#include <sys/signalvar.h>
#include <sys/inode.h>
#include <... |
/* $OpenBSD: uscanner.c,v 1.44 2011/01/25 20:03:36 jakemsr Exp $ */
/* $NetBSD: uscanner.c,v 1.40 2003/01/27 00:32:44 wiz Exp $ */
/*
* Copyright (c) 2000 The NetBSD Foundation, Inc.
* All rights reserved.
*
* This code is derived from software contributed to The NetBSD Foundation
* by <NAME> (<EMAIL>) at
* Carl... |
#include <string.h>
#include <assert.h>
#include <unistd.h>
#include "htslib/kstring.h"
#include "sam_header.h"
#include "sam.h"
#include "bam.h"
#include "htslib/faidx.h"
bam_header_t *bam_header_dup(const bam_header_t *h0); /*in sam.c*/
static void replace_cigar(bam1_t *b, int n, uint32_t *cigar)
{
if (n != b->cor... |
/*
ssh-keygen.c
Authors:
<NAME> <<EMAIL>>
<NAME> <<EMAIL>>
<NAME> <<EMAIL>>
<NAME> <<EMAIL>>
Copyright (C) 1997-1998 SSH Communications Security Oy, Espoo, Finland
All rights reserved.
A tool for generating and manipulating private keys.
*/
/*
* $Log: ssh-keygen2.c,v $
... |
/* config/unconfig.h. Generated from configure.ac by autogen.sh. */
/* Define to 1 to call abort() on panics (internal errors), for debugging. */
/* #undef ABORT_ON_PANIC */
/* Define if building universal (internal helper macro) */
/* #undef AC_APPLE_UNIVERSAL_BUILD */
/* Define to 1 if compiled with the `-fdata-... |
/*
* btrfs.c -- readonly btrfs support for syslinux
* Some data structures are derivated from btrfs-tools-0.19 ctree.h
* Copyright 2009 Intel Corporation; author: <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... |
/*
* Copyright 2016 Rockchip Electronics 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 applicabl... |
//feature test macros: explicitly requesting additional features by defining one or more of the feature macros
#define _DEFAULT_SOURCE ////If you define this macro, most features are included apart from X/Open, LFS and GNU extensions: the effect is to enable features from the 2008 edition of POSIX, as well as certain B... |
// SPDX-License-Identifier: GPL-2.0
/*
* Key setup facility for FS encryption support.
*
* Copyright (C) 2015, Google, Inc.
*
* Originally written by <NAME>, <NAME>, and <NAME>.
* Heavily modified since then.
*/
#include <crypto/aes.h>
#include <crypto/sha.h>
#include <crypto/skcipher.h>
#include <linux/key.h>
... |
/*
* LibGtoint: an analytical GTO integral library for C and Fortran.
*
* Copyright (c) 2020-2021 <NAME>. 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... |
/*
*
* set the parameters for isolines
*
*/
#ifndef lint
static char RCSid[] = "$Id: isolwin.c,v 1.2 2004/07/07 04:00:27 pturner Exp $";
#endif
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <Xm/Xm.h>
#include <Xm/BulletinB.h>
#include <Xm/DialogS.h>
#include <Xm/Frame.h>
#include <Xm/Label.h... |
/*s: kernel/devices/screen/devdraw.c */
#include "u.h"
#include "../port/lib.h"
#include "../port/error.h"
#include "mem.h"
#include "dat.h"
#include "fns.h"
#include <draw.h>
#include <marshal.h>
#include <memdraw.h>
#include <memlayer.h>
#include <cursor.h>
#include "portscreen.h... |
//////////////////////////////////////////////////////
// UDT4 stream interface implementation
// Copyright 2020, <NAME><<EMAIL>>
//////////////////////////////////////////////////////
#include <stdlib.h>
#include <assert.h>
#include "UDT4/src/udtc.h"
#include "uvudt.h"
// consume UDT Os fd event
static void udt_con... |
/*
* aQuantia Corporation Network Driver
* Copyright (C) 2014-2017 aQuantia Corporation. All rights reserved
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation.
*... |
// Defines higher-level functions C library functions: those that are
// documented in man section 3. (See `man man`).
//
// Throughout: we set errno=ENOTSUP if we hit unimplemented code paths.
#include <assert.h>
#include <dlfcn.h>
#include <errno.h>
#include <fcntl.h>
#include <glib.h>
#include <ifaddrs.h>
#include ... |
/*
* net.c
*
* Network client driver.
*/
/*
* Copyright (C) 2001-2006 <NAME>
*
* 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.
*
* This program is distributed in the hop... |
#include <stdio.h>
#include "util.h"
#include "symbol.h"
#include "temp.h"
#include "tree.h"
#include "absyn.h"
#include "assem.h"
#include "frame.h"
#include "graph.h"
#include "color.h"
#include "liveness.h"
#include "table.h"
typedef struct ctx COL_ctx;
struct ctx {
G_graph nodes;
Temp_map precolored;
Temp_t... |
/*
* Copyright (c) 2004,2005 <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 conditi... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <openssl/evp.h>
#include <openssl/sha.h>
#include "common.h"
#include "counter.h"
#include "u2f.h"
#define KEY_LEN 15 // in bytes
#define VAL_LEN 5 // in bytes
#define KEY_VAL_WORDS 5 // in words
#define... |
/*
Crown Copyright 2014 AWE.
This file is part of TyphonIO.
Released under the BSD 3-clause license.
For more details see license.txt
*/
/*
* Simple unstructured mesh with 2 chunks
* with Material dataset containing 6 materials + mixed cells
* and 2 Quant dataset
*/
#ifdef PARALLEL
#include "mpi.h"
... |
/* at1700.c: A network device driver for the Allied Telesis AT1700.
Written 1993-94 by <NAME>.
Copyright 1993 United States Government as represented by the
Director, National Security Agency.
This software may be used and distributed according to the terms
of the GNU Public License, incorporated herein by ref... |
/* P2P 程序客户端
*
* 文件名:P2PClient.c
*
* 日期:2011-05-31
*
* 作者:jamesxie(<EMAIL>)
*
*/
#include <stdio.h>
#include "proto.h"
#include "android/log.h"
UserList *head = NULL;
//这个记录用户登陆的时间
time_t logintime = 0;
#define COMMANDMAXC 256
#define MAXRETRY 5
int PrimaryUDP;
char UserName[10];
char ServerIP[20];... |
/*
* 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... |
/**
*
* This is an implementation of Sentence Break Buffer
* It is still in development and could contain bugs
* If you will find bugs in SBS, you could try to create an
* issue in the forked repository:
*
* https://github.com/maxkoryukov/ccextractor/issues
* Only SBS-related bugs!
*
* IMPORTANT: SBS is color... |
/*
* Public domain.
* Operations on 4x4 matrices (FPU version).
*/
#include <agar/core/core.h>
#include <agar/math/m.h>
const M_MatrixOps44 mMatOps44_FPU = {
"scalar",
M_MatrixZero44_FPU,
M_MatrixZero44v_FPU,
M_MatrixIdentity44_FPU,
M_MatrixIdentity44v_FPU,
M_MatrixTranspose44_FPU,
M_MatrixTranspose44p_FPU,... |
/*
* Academic License - for use in teaching, academic research, and meeting
* course requirements at degree granting institutions only. Not for
* government, commercial, or other organizational use.
*
* sprdmpF116.c
*
* Code generation for function 'sprdmpF116'
*
*/
/* Include files */
#include <string.h>
#i... |
#define _CRT_SECURE_NO_WARNINGS
#pragma warning(disable:4996)
#pragma warning(disable:4703)
#pragma warning(disable:4996)
#pragma warning(disable:4664)
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include "hxa.h"
#define FALSE 0
#define TRUE !FALSE
double hxa_util_parce_floating_point(char... |
/* Create tuned thresholds for various algorithms. */
/*
Copyright (C) 1999, 2000 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
The GNU MP 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 Sof... |
#include"driver/hd.h"
#include"kernel/task.h"
#include"fs/fatxe.h"
#include"fs/file.h"
#include"fs/dir.h"
#include"fs/fat.h"
uint32_t fat_start_lba;
uint32_t fat_sectors;
uint32_t data_start_lba;
uint32_t root_dir_start_lba;
uint32_t sector_per_cluster;
struct dbr dbr;
struct fsinfo fsinfo;
struct dir dir_root;
sta... |
/**
Program: sugpass
Created by <NAME> <<EMAIL>>
Initial version: 06 Jan 2014
Updated 22 Jan 2015 - added to GitHub and renamed to 'sugpass' to
remove any confusion with 'passgen' which is also on GitHib, but
written in Go. Also added more Doxygen integration. Added '-q'
command line option as ... |
/* For now, I'll just break compat. for systems whose libc
* doesn't comform to POSIX.1-2008, so I can use scandir(),
* which greatly simplifies the code in ncd_iface_up().
*
* TODO: Implement a path for POSIX.1-2001 libraries in
* the subdirectory scanning routine, in ncd_iface_up(),
* and then change this back... |
/**
* \file
*
* \brief MEGA-1284P Xplained Example
*
* Copyright (c) 2014 Atmel Corporation. All rights reserved.
*
* \asf_license_start
*
* \page License
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
... |
/*
* "Copyright (c) 2010-2011 The Regents of the University of Michigan.
* 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 ab... |
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
* Copyright 1993 OpenVision Technologies, Inc., All Rights Reserved
*/
/*
* Copyright (C) 1998 by the FundsXpress, INC.
*
* All rights reserved.
*
* Export of this software from the United States of America may require
* a specific license from... |
/*
* Copyright (c) 2017 <NAME>
* Copyright (c) 2020 <NAME> <<EMAIL>>
*
* SPDX-License-Identifier: Apache-2.0
*/
#define DT_DRV_COMPAT atmel_sam_i2c_twim
/** @file
* @brief I2C bus (TWIM) driver for Atmel SAM4L MCU family.
*
* I2C Master Mode with 7/10 bit addressing is currently supported.
* Very long transf... |
#include <hre/config.h>
#include <limits.h>
#include <stdlib.h>
#include <dm/dm.h>
#include <hre/user.h>
#include <ltsmin-lib/ltsmin-standard.h>
#include <pins-lib/pins.h>
#include <pins-lib/pins-util.h>
#include <pins-lib/por/pins2pins-por-check.h>
#include <pins-lib/por/pins2pins-por.h>
#include <pins-lib/por/por-i... |
/* Support for fully folding sub-trees of an expression for C compiler.
Copyright (C) 1992-2018 Free Software Foundation, Inc.
This file is part of GCC.
GCC 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; eit... |
/* blocked.c - generic support for blocking operations like BLPOP & WAIT.
*
* Copyright (c) 2009-2012, <NAME> <<EMAIL> at <EMAIL> dot <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:... |
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
File lusol7a
lu7add lu7cyc lu7elm lu7for lu7rnk lu7zap
Utilities for LUSOL's update routines.
lu7for is the most important -- the forward sweep.
01 May 2002: Derived from LUSOL's original lu7a.f file.
01 May 2002:... |
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <math.h>
#include <fftw3.h>
#define PLUS 1
#define MINU 2
#define CHG 3
#define GUID 4
#define LSNR 8
#define VIST 16
#define BRPT 32
#define CUT 64
#define LAWN 128
#define TREE 128
#define NFFT 32 /* size of FFT */
#define STEP NFFT/2 /* stepsiz... |
/*
* Red Pixel, a violent game.
* Copyright (C) 1999 Psyk Software.
*
* Players.
*/
#include <string.h>
#include "a4aux.h"
#include "backpack.h"
#include "blod.h"
#include "blood.h"
#include "bullet.h"
#include "corpse.h"
#include "engine.h"
#include "explo.h"
#include "gameloop.h"
#include "globals.h"
#incl... |
/* 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... |
/* mbed Microcontroller Library
* (C)Copyright TOSHIBA ELECTRONIC DEVICES & STORAGE CORPORATION 2018 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://... |
/* spkr10.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 integer c__8 = 8;
static integer c__7 = 7;
static integer c__14 = 14;
/* $Procedure SPKR... |
/**** Preprocessor macros for Spex. ****/
/* Undefine macros from a previous include (avoids "redefine" warnings). */
# undef real_dp
# undef complex_dp
# undef integer_dp
# undef int_dp
# undef MCOMPLEX_dp
# undef MINV
# undef MCONJG
# undef MUNIT
# undef MBYTES
# undef MMCOMPLEX
# undef Inv
# undef NoInv
# undef... |
/*
* Original Authors: <NAME>, <NAME>, rewritten in C by <NAME>.
* An approximate SEIR epidemic model with sub-compartments in E and I
* Adjusted for two population groups by <NAME> and given an R interface.
* Add vaccination code, as discussed with <NAME> and <NAME>.
*/
#include <assert.h>
#include <math.h>
#inc... |
/*******************************************************************************
* Copyright 2016-2019 Intel 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.apa... |
#include "declaration.h"
#include "statement.h"
#include "eval.h"
#include "expression.h"
#include "symtab.h"
#include "type.h"
#include <lacc/token.h>
#include <lacc/cli.h>
#include <assert.h>
/* Parser consumes whole declaration statements, which can include multiple
* definitions. For example 'int foo = 1, bar = ... |
#include "crypto_core_mult3sntrup1013.h"
#include "crypto_core_multsntrup1013_ntt.h"
#include "crypto_decode_1013xint16.h"
#include "crypto_encode_1013xint16.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 ... |
#include <math.h>
#include <stdio.h>
#include <string.h>
#include <GLES2/gl2.h>
#include "cube.h"
#include "door.h"
#include "fence.h"
#include "item.h"
#include "matrix.h"
#include "pw.h"
#include "util.h"
#define POST {{P06, P00, P06}, {P10, P16, P10}}
#define SLAT1 {{P07, P04, P10}, {P09, P06, P16}}
#define SLAT2 ... |
/*
* TURBULENCE
*
* Functions for defining Sub-grid scale (SGS) models for Large-Eddy Simulation.
*
*/
#include <stdlib.h>
#include <stdio.h>
#include <math.h> /* sqrt() */
#include "type.h" /*the "real" type */
#include "def.h" /* Definitions, parameters */
#include "global.h" /* global... |
/* rview_matrix - functions to diagonalize
* Contents:
*
* ER, Sun Jun 3 13:07:02 EDT 2018
* SVN $Id:$
*/
#include "rview_config.h"
#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_dmat... |
/* hcaStormToBundles - Convert a HCA formatted tagStorm to a directory full of bundles.. */
#include "common.h"
#include "linefile.h"
#include "hash.h"
#include "options.h"
#include "tagStorm.h"
#include "jsonParse.h"
#include "tagToJson.h"
#include "portable.h"
#include "csv.h"
#include "uuid.h"
#include "tagSchema.h"... |
/* parseoptions.c -- options handling
* Copyright(C) 1999-2001 <NAME>
* Under GPL, see the COPYING file for more information about
* the license. */
/* $Id$ */
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/time.h>
#include <ctype.h>
#include <sys/socket.h>
#include <n... |
#include <core/os.h>
#include <core/class.h>
#include <core/engctx.h>
#include <core/handle.h>
#include <core/enum.h>
#include <subdev/timer.h>
#include <subdev/fb.h>
#include <engine/graph.h>
#include <engine/fifo.h>
#include "nv20.h"
#include "regs.h"
/*************************************************************... |
// aesrng.c - make sure you compile with -O2 -maes
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdint.h>
#include <unistd.h>
#include <stddef.h>
#include <fcntl.h>
#include "llhash.h"
#define CH_32(x,y,z) (((x) & (y)) ^ (~(x) & (z)))
#define MAJ_32(x,y,z) (((x) & (y)) ^ ((x) & (z)) ^ ((y) & (... |
// 0x0700F090 - 0x0700F0A8
static const Lights1 ttc_seg7_lights_0700F090 = gdSPDefLights1(
0x7f, 0x7f, 0x7f,
0xff, 0xff, 0xff, 0x28, 0x28, 0x28
);
// 0x0700F0A8 - 0x0700F188
static const Vtx ttc_seg7_vertex_0700F0A8[] = {
{{{ 20, -665, 20}, 0, { 95, 1492}, {0x38, 0x00, 0x71, 0xff}}},
{{{ ... |
#include <float.h>
#include <math.h>
#include <stdio.h>
#include <string.h>
#include <sys/time.h>
#include <sys/stat.h>
#if defined(__APPLE__)
#include <OpenCL/OpenCL.h>
#else
#include <CL/cl.h>
#include <omp.h>
#endif
#define MAX_PLATFORMS 8
#define MAX_DEVICES 32
#define MAX_INFO_STRING 256
#define ... |
/* $NetBSD: flsc.c,v 1.29 2002/01/28 09:56:55 aymeric Exp $ */
/*
* Copyright (c) 1997 <NAME>
* Copyright (c) 1995 <NAME>
* Copyright (c) 1994 <NAME>
* Copyright (c) 1982, 1990 The Regents of the University of California.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or with... |
#include "includes.h"
static void lc_addName(struct fs *fs, struct cdir *cdir, ino_t ino, char *name,
mode_t mode, uint16_t len, ino_t lastIno,
enum lc_changeType ctype);
/* Return the type of changed based on inode number */
static inline enum lc_changeType
lc_changeInod... |
/*
* BlueALSA - bluealsa-dbus.c
* Copyright (c) 2016-2019 <NAME>
*
* This file is a part of bluez-alsa.
*
* This project is licensed under the terms of the MIT license.
*
*/
#include "bluealsa-dbus.h"
#include <errno.h>
#include <fcntl.h>
#include <pthread.h>
#include <stdbool.h>
#include <string.h>
#include ... |
/*
* Copyright 2000-2018 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the OpenSSL license (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/lice... |
/*
THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO
END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A
ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS
IN USING, DISPLAYING, A... |
/************************************************************************
MATLAB - PCx interface
<NAME>
Department of Mathematics and Statistics
Old Dominion University
August 2000
***********************************************************************/
#include "PCx_mex.h"
/**************************************... |
/*
* sha2.c
*
* Version 1.0.0beta1
*
* Written by <NAME> <<EMAIL>>
*
* Copyright 2000 <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 ... |
/* $Header: /home/schj/src/vamps_0.99g/src/deffile.lib/RCS/memlist.c,v 1.9 1999/01/06 12:13:01 schj Alpha $
*/
/* $RCSfile: memlist.c,v $
* $Author: schj $
* $Date: 1999/01/06 12:13:01 $ */
/*F:memlist.c
*
* Functions use to create and maintain a memory list of a vamps
* input file. This allows for speedup, e... |
// Generated by HLC 4.2.1 (HL v4)
#define HLC_BOOT
#include <hlc.h>
#include <hxsl/SharedShader.h>
#include <hxsl/Serializer.h>
extern hl_type t$haxe_ds_IntMap;
void haxe_ds_IntMap_new(haxe__ds__IntMap);
extern hl_type t$hxsl_ShaderGlobal;
#include <hl/natives.h>
hl__types__ArrayObj hl_types_ArrayObj_alloc(varray*);
e... |
/********************************************************************
* Copyright (c) 2014, <NAME>
* All rights reserved.
*
* License: BSD3
********************************************************************/
#include "quickcheck4c.h"
#include <stdint.h>
#include <limits.h>
#include <stdio.h>
#include <string.h... |
# include <math.h>
# include <stdio.h>
# include <stdlib.h>
# include <string.h>
# include <hstio.h> /* defines HST I/O functions */
# include "calnic.h" /* defines NICMOS data structures */
# include "calnica.h" /* defines CALNICA data structures */
# define THRESH 3.0 /* default bar detection threshold */
/* N_DOB... |
#include "../lib.h"
#include "chess.h"
#include <stdint.h>
static BOARD board;
static uint64_t pawn[] = {
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x180000000, 0x1FF8000000,
0xFFFF000000, 0x1FFFF800000, 0x1FFFF800000, 0x3FFFFC00000, 0x1FFFF800000, 0xFFFF000000, ... |
/*
* JFFS2 -- Journalling Flash File System, Version 2.
*
* Copyright (C) 2001-2003 Red Hat, Inc.
*
* Created by <NAME> <<EMAIL>>
*
* For licensing information, see the file 'LICENCE' in this directory.
*
* $Id: fs.c,v 1.32 2003/10/11 11:47:23 dwmw2 Exp $
*
*/
#include <linux/version.h>
#include <linux/conf... |
/***********************************************************************
* iTELEX server
************************************************************************
* Copyright (c) 2020, <NAME>, DL5UY
* Licensed under the MIT License,
* see LICENSE
********************************************************************... |
#pragma once
#include <stdlib.h>
#include <string.h>
// ==============
// INIT HEADERS
// ==============
#define _SGC_INIT_HEADERS_N(_1, _2, _3, _4, _5, _6, _7, NAME, ...) NAME
#define SGC_INIT_HEADERS(...) \
_SGC_INIT_HEADERS_N(__VA_ARGS__, _SGC_INIT_HEADERS7, _SG... |
/*
* Copyright © 2011 <NAME> <<EMAIL>>
* 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, inc... |
float gps_eph = GPS_hAcc; //m
//test gggg
//test git
//test git on sublime
float _w_xy_gps_v = 2.0f;
float _w_xy_gps_p = 1.0f;
float _w_acc_bias = 0.05f;
float _w_xy_res_v = 0.5f;
float _delay_gps = 0.5f; //0.35 0.5f gps 0.1 msf
//msf test
// _delay_gps =0.1f;
float _w_xy_vision_p = 7.0... |
#include "u.h"
#include "../port/lib.h"
#include "mem.h"
#include "dat.h"
#include "fns.h"
#include "ureg.h"
#include "io.h"
#include "../port/error.h"
void noted(Ureg*, Ureg**, ulong);
void rfnote(Ureg**);
void kernfault(Ureg*, int);
void illegal(Ureg *);
void fen(Ureg *);
char *regname[]={
"type", "a0", "a1",
"a... |
/*
* Copyright (C) 2014 Freescale Semiconductor
*
* SPDX-License-Identifier: GPL-2.0+
*/
#include <common.h>
#include <asm/io.h>
#include <asm/types.h>
#include <malloc.h>
#include <net.h>
#include <hwconfig.h>
#include <phy.h>
#include <linux/compat.h>
#include "ldpaa_eth.h"
#undef CONFIG_PHYLIB
static int init... |
/**
******************************************************************************
* @file bma2x2_user.c
* @author <NAME>
* @version V1.0.0
* @date 21-May-2015
* @brief bma2x2 sensor control demo.
******************************************************************************
* UNPUBLISHED PROP... |
/*************************************************************************
* *
* $Id: n8vem.c 1995 2008-07-15 03:59:13Z hharte $ *
* *
* Copyright (c)... |
/**
* MIT License
*
* Copyright (c) 2019 Infineon Technologies AG
*
* 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 u... |
// SPDX-License-Identifier: GPL-2.0
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <libelf.h>
#include <gelf.h>
#include <errno.h>
#include <unistd.h>
#include <string.h>
#include <stdbool.h>
#include <stdlib.h>
#include <linux/bpf.h>
#include <linux/filter.h>
#include <linu... |
/*
* main.c - Example project for UT.6.02x Embedded Systems - Shape the World
* <NAME> and <NAME>
* July 14, 2015
* Hardware requirements
TM4C123 LaunchPad, optional Nokia5110
CC3100 wifi booster and
an internet access point with OPEN, WPA, or WEP security
* derived from TI's getweather... |
/* Copyright (c) 2007, Nokia Corporation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of con... |
/*
* Virtio Network Device
*
* Copyright IBM, Corp. 2007
*
* Authors:
* <NAME> <<EMAIL>>
*
* This work is licensed under the terms of the GNU GPL, version 2. See
* the COPYING file in the top-level directory.
*
*/
#include "virtio.h"
#include "net.h"
#include "qemu-timer.h"
#include "virtio-net.h"
#def... |
/*
* Copyright (c) 2004-2010 The Trustees of Indiana University and Indiana
* University Research and Technology
* Corporation. All rights reserved.
* Copyright (c) 2004-2011 The University of Tennessee and The University
* of Tennessee Resea... |
/* elfedit.c -- Update the ELF header of an ELF format file
Copyright 2010
Free Software Foundation, Inc.
This file is part of GNU Binutils.
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 Fou... |
/* Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the... |
/* coewav.f -- translated by f2c (version 20000121).
You must link the resulting object file with the libraries:
-lf2c -lm (in that order)
*/
#include "f2c.h"
/* Common Block Declarations */
struct {
doublereal c__[50];
} coefs_;
#define coefs_1 coefs_
/* coewav.for <NAME> 8... |
/*
* sim-eio.c - external I/O trace generator
*
* This file is a part of the SimpleScalar tool suite written by
* <NAME> as a part of the Multiscalar Research Project.
*
* The tool suite is currently maintained by <NAME> and <NAME>.
*
* Copyright (C) 1994, 1995, 1996, 1997, 1998 by <NAME>
*
* This source f... |
#include <stdio.h>
#include "bitmask.h"
#include "nanorq.h"
#include "precode.h"
struct oti_common {
size_t F; /* input size in bytes */
size_t T; /* the symbol size in octets, which MUST be a multiple of Al */
size_t Al; /* byte alignment, 0 < Al <= 8, 4 is recommended */
};
struct oti_scheme {
size_t Z; ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.