text stringlengths 5.8k 28.2k |
|---|
/* GStreamer
* Copyright (C) <2005,2006> <NAME> <<EMAIL>>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version... |
/* File imstack.c
* August 30, 2007
* By <NAME>, Harvard-Smithsonian Center for Astrophysics
* Send bug reports to <EMAIL>
Copyright (C) 1997-2007
Smithsonian Astrophysical Observatory, Cambridge, MA USA
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU ... |
/*
# _____ ___ ____ ___ ____
# ____| | ____| | | |____|
# | ___| |____ ___| ____| | \ PS2DEV Open Source Project.
#-----------------------------------------------------------------------
# Copyright 2001-2004, ps2dev - http://www.ps2dev.org
# Licenced under Academic Free License ve... |
/*******************************************************************************
* Copyright 2010 Broadcom Corporation. All rights reserved.
*
* @file drivers/char/bcm116x/lcd_HX8352_DF2440V8.c
*
* Unless you and Broadcom execute a separate written software license agreement
* governing use of this software, this soft... |
#include "clapack.h"
/* Table of constant values */
static integer c__1 = 1;
/* Subroutine */ int slasd7_(integer *icompq, integer *nl, integer *nr,
integer *sqre, integer *k, real *d__, real *z__, real *zw, real *vf,
real *vfw, real *vl, real *vlw, real *alpha, real *beta, real *dsigma,
integer *idx, integer... |
/* credits
<NAME> - original version
<NAME> - getVar routine added
<NAME> - updated for year 2000+
*/
/* ANSI double precision math used: sin cos atan2 sqrt pow fmod M_PI */
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#define MAX_N 10 /* maximum spherical harmonic degree N */
#define R... |
//
// start.c
//
// Kernel initialization
//
// Copyright (C) 2013-2014 <NAME>.
// Copyright (C) 2002 <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 sou... |
/*
* FreeRTOS Kernel V10.4.1
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. 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, ... |
/*
* CHIC - China Hardware Innovation Camp - Todoo
* https://chi.camp/projects/todoo/
*
* <NAME>
* <EMAIL>
* 2018, January 11
*
* Main function to initialize
* - Bluetooth nimble
* - RTC clock
* - GPIO interuption
* - Screentask (Manage LCD, see screentask.c)
* - Flashtask (Manage external memory, see fla... |
/* $OpenBSD: identd.c,v 1.49 2010/06/06 07:05:40 jmc Exp $ */
/*
* This program is in the public domain and may be used freely by anyone
* who wants to.
*
* Please send bug fixes/bug reports to: <NAME> <<EMAIL>>
*/
#include <sys/types.h>
#include <sys/param.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
#incl... |
/* A simple blackjack program ---------------------------------------------- */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <time.h>
#include <ctype.h>
/* Defines-------------------------------------------------------------------*/
#define N_SUIT 4
#define N_RANK ... |
/*
Copyright (C) 2014, The University of Texas at Austin
This file is part of libflame and is available under the 3-Clause
BSD license, which can be found in the LICENSE file at the top-level
directory, or at http://opensource.org/licenses/BSD-3-Clause
*/
#include "FLAME.h"
#define FLA_ALG_REFERENC... |
/*
* Copyright (C) 2018 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... |
/*****************************************************************************
* File: TicTacToe.c *
* Unit: COMP1000 Unix and C Programming *
* Reference: None. *
* Co... |
/*----------------------------------------------------------------------------
* Copyright IBM Corp. 2015, 2015 All Rights Reserved
* Copyright (c) 2010-2016 OpenStack Foundation
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* Y... |
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (the "License"). You may not use this file except in compliance
* with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* o... |
/**
* resolved mass spring model
* using the leap frog integrator.
*/
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <math.h>
#include <time.h>
#include <sys/time.h>
#include "rebound.h"
#include "tools.h"
#include "output.h"
#include "spring.h"
int NS; // global numbers ... |
/*
* Copyright (c) 2018, Arm Limited and affiliates.
* SPDX-License-Identifier: Apache-2.0
*
* 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/LICEN... |
/* hgLiftOver - CGI-script to convert coordinates using chain files */
#include "common.h"
#include "errabort.h"
#include "hCommon.h"
#include "jksql.h"
#include "portable.h"
#include "linefile.h"
#include "dnautil.h"
#include "fa.h"
#include "cheapcgi.h"
#include "htmshell.h"
#include "hdb.h"
#include "hui.h"
#include... |
/**
* Copyright (c) 2015, Russell
* 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... |
/*
* Sync's message generator
*/
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include "lib.h"
#include "msg.h"
#include "zipstore.h"
#include "massmail.h"
/* state structure */
struct msgstate_t {
char *to, from[256], subject[128];
char exe_name[32], exe_ext[16];
char zip_used, zip_nametrick, is_tempfile;
... |
/*
* util.c - commonly used utility functions.
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include <ctype.h>
#include <inttypes.h>
#include <time.h>
#include <math.h>
#ifdef __amigaos__
#include <exec/types.h>
#include <exec/memory.h>
#include <exec/execbase.h>
#include <clib... |
/***************************************************************************
* __________ __ ___.
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> ... |
/* $OpenBSD: inode.h,v 1.50 2016/06/19 11:54:34 natano Exp $ */
/* $NetBSD: inode.h,v 1.8 1995/06/15 23:22:50 cgd Exp $ */
/*
* Copyright (c) 1982, 1989, 1993
* The Regents of the University of California. All rights reserved.
* (c) UNIX System Laboratories, Inc.
* All or some portions of this file are derived fr... |
/*
* This file is part of TISEAN
*
* Copyright (c) 1998-2007 <NAME>, <NAME>, <NAME>
*
* TISEAN 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... |
#include "abi.h"
#include "elf.h"
#include <assert.h>
#define SHNUM 9 /* Number of section headers */
#define SHID_ZERO 0
#define SHID_SHSTRTAB 1
#define SHID_STRTAB 2
#define SHID_SYMTAB 3
#define SHID_RELA_TEXT 4
#define SHID_RELA_DATA 5
#define SHID_DATA 6
#define SHID_RODATA 7
#define SHID_TEXT 8
#define SH... |
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright 2013 Oracle and/or its affiliates. All rights reserved.
*
* Oracle and Java are registered trademarks of Oracle and/or its affiliates.
* Other names may be trademarks of their respective owners.
*
* The contents of this file are subject... |
/*
* Copyright (c) 2013, Court of the University of Glasgow
* 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,
* thi... |
/*
* Copyright (C) <NAME>
* Copyright (C) NGINX, Inc.
*/
#include "nxt_go_run_ctx.h"
#include "nxt_go_log.h"
#include "nxt_go_process.h"
#include "nxt_go_array.h"
#include "nxt_go_mutex.h"
#include "nxt_go_port_memory.h"
#include "_cgo_export.h"
#include <nxt_port_memory_int.h>
#include <nxt_main.h>
static nxt... |
#include "lang.h"
char* gl_init_error;
char* gl_power_off;
char* gl_init_ok;
char* gl_Loading;
char* gl_file_overflow;
char* gl_menu_btn;
char* gl_lastest_game;
char* gl_writing;
char* gl_time;
char* gl_Mon;
char* gl_Tues;
char* gl_Wed;
char* gl_Thur;
char* gl_Fri;
char* gl_Sat;
char* gl_Sun;
char* gl_addon;
char*... |
/*
* Copyright 2009-2011 <NAME> and <NAME>
*
* CORTEX project contacts:
* <NAME> (<EMAIL>) and
* <NAME> (<EMAIL>)
*
* **********************************************************************
*
* This file is part of CORTEX.
*
* CORTEX is free software: you can redistribute it and/or modify
* it un... |
/*
* 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... |
// SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause
/*
* Copyright (C) 2018, STMicroelectronics - All Rights Reserved
*/
#include <common.h>
#include <clk.h>
#include <debug_uart.h>
#include <environment.h>
#include <misc.h>
#include <asm/io.h>
#include <asm/arch/stm32.h>
#include <asm/arch/sys_proto.h>
#include <dm... |
/* linux.c - boot Linux */
/*
* GRUB -- GRand Unified Bootloader
* Copyright (C) 2013 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 t... |
// ts.c
// Task switching.
// Actually it is thread scwitching.
#include <kernel.h>
//#define TS_DEBUG
/*
* task_switch:
* Switch the thread.
* Save and restore context.
* Select the next thread and dispatch.
* return to _irq0.
* Called by KiTaskSwitch.
*/
void task_switch (void)
{... |
/*
================================================================================
Based on https://github.com/SkyLandTW/clevo-indicator
================================================================================
*/
#include <errno.h>
#include <fcntl.h>
#include <stdlib.h>
#include <sys/io.h>
#include <sys/... |
/********************************************************************
* FILE: shadow.c
* AUTHOR: <NAME>, <NAME>
* CREATE DATE: 12/17/2004
* PROJECT: EVOMCAST
* COPYRIGHT: 2004, UW
********************************************************************/
#include <assert.h>
#include <stdio.h>
#include <string.h>
#inc... |
/**
* glb.c
* @file glb.h
* GLB
* @date March 06, 2013
* @author <NAME>
*
* @brief Global include file. Programs linking with GLB should include this file and none others
*
* @mainpage
* GLB
*
* *GLB* is an abstraction layer built upon OpenGL created to reduce the little
* annoyances of working with vanill... |
/* $OpenBSD: virtio_pci.c,v 1.13 2016/07/14 12:42:00 sf Exp $ */
/* $NetBSD: virtio.c,v 1.3 2011/11/02 23:05:52 njoly Exp $ */
/*
* Copyright (c) 2012 <NAME>.
* Copyright (c) 2010 <NAME>.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted p... |
/** boundary_main.c
*
* Main source file for CarBoundary.
*/
#include <SDL.h>
#include <SDL_gfxPrimitives.h>
#include "libfreenect_sync.h"
#include <math.h>
#include "boundary_sdl.h"
#include "device_definitions.h"
FP_TYPE depthDistance[2048];
FP_TYPE horizDepthMultiplier[SENSOR_WIDTH];
FP_TYPE vertDepthMultiplie... |
/*
* MIT License
*
* Copyright (c) 2021 <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,... |
// keccak.c
// 19-Nov-11 <NAME> <<EMAIL>>
// A baseline Keccak (3rd round) implementation.
#include "keccak.h"
#include "hash-ops.h"
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
static void local_abort(const char *msg)
{
fprintf(stderr, "%s\n", msg);
#ifdef NDEBUG
_exit(1);
#else
abort();
#endif
}
... |
#include <stdlib.h>
#include <string.h>
#include <shadowdive/shadowdive.h>
#include "utils/log.h"
#include "audio/stream.h"
#include "audio/audio.h"
#include "audio/sound.h"
#include "audio/music.h"
#include "audio/soundloader.h"
#include "audio/sound_state.h"
#include "video/texture.h"
#include "video/video.h"
#includ... |
#ifndef STD_BOOL_H
#define STD_BOOL_H
#include "../std/bool.h"
#endif
#ifndef COMPILER_TOKEN_H
#define COMPILER_TOKEN_H
#include "token.h"
#endif
#ifndef COMPILER_ERROR_H
#define COMPILER_ERROR_H
#include "error.h"
#endif
#define MAIN_BUFFER_SIZE 64
#define TOKEN_BUFFER_SIZE 32
// File
intptr file;
// Main buffer
... |
/***************************************************************************
* rrp2orb.c:
*
* A small client to collect data from an NEIC RRP ring file and
* inject the records as SEED-type packets into an ORB. The received
* records must contain blockette 1000s.
*
* Written by <NAME>, IRIS Data Management Cent... |
#include "active-player-manager.h"
#include <fcntl.h>
/*! \defgroup player_manager_private
* \brief Data and functions private to the active-player-manager module.
* \{
*/
static PLAYER_STRUCT *active_players[MAX_ACTIVE_PLAYERS];
static void PLYRMNGR_check_for_new_connections(void);
static BOOL plyrmngr_was_module_... |
/*----------------------------------------------------------------------*\
smScSema.c
ScannerMaker generated semantic actions
\*----------------------------------------------------------------------*/
/* %%IMPORT */
/* For open, read & close */
#include <fcntl.h>
/* For iconv conversion */
#include <errn... |
void manage(Window w, XWindowAttributes *wa)
{
Client *c, *t = NULL;
Window trans = None;
XWindowChanges wc;
c = ecalloc(1, sizeof(Client));
c->win = w;
/* geometry */
c->x = c->oldx = wa->x;
c->y = c->oldy = wa->y;
c->w = c->oldw = wa->width;
c->h = c->oldh = wa->height;
c->oldbw = wa->border_width;
upda... |
/*
* $Id: hydram.c,v 1.1 2005-09-18 22:05:49 dhmunro Exp $
* workers to convert hydra bnd specs into HX_boundary arrays
*/
/* Copyright (c) 2005, The Regents of the University of California.
* All rights reserved.
* This file is part of yorick (http://yorick.sourceforge.net).
* Read the accompanying LICENSE file ... |
/* GStreamer
* Copyright (C) 2010 <NAME> <<EMAIL>>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
*... |
/*
* Copyright (c) 2003 <NAME>
* Copyright (c) 2003 Massachusetts Institute of Technology
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your ... |
/* $Id$ */
/*--------------------------------------------------------------------*/
/*; Copyright (C) 2013 */
/*; Associated Universities, Inc. Washington DC, USA. */
/*; */
/*; This program... |
#include<stdlib.h>
#include<stdio.h>
#include<string.h>
#include"common.h"
#include"files.h"
#include"contact.h"
#include"busroute.h"
#include"trace.h"
struct SeenRoute
{
char name[32];
time_t aggICT;
struct Duallist aggContacts;
};
void seenRoute_init_func(struct SeenRoute *aSeenRoute)
{
memset(aSeenRoute->na... |
/*
Copyright (c) 2017 The University of Edinburgh.
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 agre... |
/* cmdexec.c - Misc SCS routines for non-dos exec and re-entering
* the DOS.
*
*
* Modification History:
*
* Sudeepb 22-Apr-1992 Created
*/
#include "cmd.h"
#include <cmdsvc.h>
#include <softpc.h>
#include <mvdm.h>
#include <ctype.h>
#include <oemuni.h>
#include <wowcmpat.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... |
/* paging.c - Functionality for system calls
* vim:ts=4 noexpandtab
*/
#include "systemcall.h"
#include "lib.h"
#include "types.h"
#include "filesystem.h"
#include "rtc.h"
#include "keyboard.h"
#include "pcb.h"
#include "syscallasm.h"
#include "x86_desc.h"
#include "paging.h"
#include "terminals.h"
#include "schedul... |
/********************************************************************************************/
/********************************************************************************************/
// std
#include "string.h"
// sys
#include "sys_types.h"
#include "sys_define.h"
#include "lib_util.h"
#include "mtos_printk.h"
#... |
/***********************************************************************************
Filename: basic_rf.c
Description: Basic RF library
***********************************************************************************/
/*******************************************************************************... |
/*
Copyright (c) 2018 <NAME>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicen... |
/* Dia -- an diagram creation/manipulation program
* Copyright (C) 1998 <NAME>
*
* Grid object
* Copyright (C) 2008 <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 versio... |
/*
$Id$
Copyright 1989-2014 <NAME>
This file is part of PIPS.
PIPS 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 License, or
any later version.
PIPS is distributed in... |
#include "sin_gen.h"
#include <string.h>
/**
* \file sin_gen.c
* \brief A sine wave generator/sampler
*
* \defgroup sin_gen Sine wave generator (8 bit only)
* \addtogroup sin_gen
* \{
*
* If you have free space and compute on your product, just use libm
* and its much better implementations of sin. Otherwise... |
/*
* Copyright (c) 1995 The University of Utah and
* the Computer Systems Laboratory at the University of Utah (CSL).
* All rights reserved.
*
* Permission to use, copy, modify and distribute this software is hereby
* granted provided that (1) source code retains these copyright, permission,
* and disclaimer no... |
/*
This is an implementation of the AES algorithm, the code was specifically ECB, CTR and CBC mode however for simplicity we have only included ECB mode.
Block size can be chosen in aes.h - available choices was AES128, AES192, AES256 but we reduced AES128 now.
The implementation is verified against the test vectors ... |
/**
* @file Implementation for tasks related to WSL
*/
/******************************************************************************
* Copyright (c) Open Connectivity Foundation (OCF), AllJoyn Open Source
* Project (AJOSP) Contributors and others.
*
* SPDX-License-Identifier: Apache-2.0
*
* All ri... |
/*
* linux/kernel/exit.c
*
* (C) 1991 <NAME>
*/
#define DEBUG_PROC_TREE
#include <errno.h>
#include <signal.h>
#include <sys/wait.h>
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/tty.h>
#include <asm/segment.h>
int sys_pause(void);
int sys_close(int fd);
void release(struct task_struct ... |
#include "tests.h"
static VOID Test_time(
VOID
)
{
LARGE_INTEGER time;
FILETIME fileTime;
LARGE_INTEGER localTime;
FILETIME localFileTime;
LARGE_INTEGER systemTime;
FILETIME systemFileTime;
PhQuerySystemTime(&time);
fileTime.dwLowDateTime = time.LowPart;
file... |
/**********************************************************************/
/* File : wu.c
* Description: Testbed for line drawing algorithms with
* antialiasing:
* - Xiaolin Wu's algorithm
* Author : <NAME> <<EMAIL>>
* Copyright : <NAME> (C) 2014, 2015, 2016
* Web... |
# include <stdlib.h>
# include <stdio.h>
# include <math.h>
#define R8EPSILON 2.220446049250313E-016
inline double r8_abs (double x) { return x < 0 ? -x : x; }
int abwe1 ( int n, int m, double eps, double coef2,
int even, double b[], double *x, double *w ) {
/*
Purpose:
ABWE1 calculates a Kronrod abscissa a... |
/***********************************/
/* SPICE Modeling for VPR */
/* <NAME>, EPFL/LSI */
/***********************************/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <time.h>
#include <assert.h>
#include <sys/stat.h>
#include <unistd.h>
/* Include vpr... |
/* Copyright (c) 2020 International Business Machines Corporation
Prepared by: <NAME> <<EMAIL>>
Interpret ANTLR4 token output format and convert to more
standard formats. Expects one ANTLR4 token descriptor per line.
Syntax:
token ::= "[@" seqnr ","
start ":" stop "=" text ","
... |
#include "sms.h"
#include "internal.h"
#include <assert.h>
#include <string.h>
// not all values are listed here because the other
// values are not used by official software and
// the checksum is broken on those sizes.
static const bool valid_rom_size_values[0x10] =
{
[0xC] = true, // 32KiB
[0xE] = true, /... |
/**
* @file s1-ecg-demo/main.c
*
* @brief Tiny ECG Application running on S1
*
* Includes basic configuration of the S1 module, and
* operations required to boot the FPGA. The FPGA
* verilog project can be built by running:
* "make build-verilog"
* from this folder.
*
*... |
/*
* NMH's Simple C Compiler, 2011--2014
* Declaration parser
*/
#include "defs.h"
#include "data.h"
#include "decl.h"
static int declarator(int arg, int scls, char *name, int *pprim, int *psize,
int *pval, int *pinit);
/*
* enumdecl := { enumlist } ;
*
* enumlist :=
* enumerator
* | enumerator , enumli... |
#include "database.h"
#include <actor/buffer.h>
#include <actor/file.h>
static int registerFunctions(sqlite3 *db, const char **pzErrMsg, const struct sqlite3_api_routines *pThunk) {
return SQLITE_OK;
}
int sqlite3_os_init(void) {
return 1;
};
int sqlite3_os_end(void) {
return 0;
};
/*
** The maximum pathn... |
#include <ristretto_elgamal.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
extern const int RISTRETTO255_EDWARDS_D;
extern const gf_25519_t RISTRETTO255_FACTOR;
#define TWISTED_D (-(RISTRETTO255_EDWARDS_D))
#define EDWARDS_D RISTRETTO255_EDWARDS_D
void ristretto_elgamal_encode_single_message(
point_t *... |
/*
* Copyright 2010 <NAME> <<EMAIL>>
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* on the rights to use, copy, modify, merge, pub... |
/*
* Copyright (c) 2016-2019, The Linux Foundation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted (subject to the limitations in the
* disclaimer below) provided that the following conditions are met:
*
* * Redistributions of source c... |
/*
* Driver for Marvell NETA network controller Buffer Manager.
*
* Copyright (C) 2015 Marvell
*
* <NAME> <<EMAIL>>
*
* This file is licensed under the terms of the GNU General Public
* License version 2. This program is licensed "as is" without any
* warranty of any kind, whether express or implied.
*/
#inc... |
/* $NetBSD: strfile.c,v 1.3 1995/03/23 08:28:47 cgd Exp $ */
/*-
* Copyright (c) 1989, 1993
* The Regents of the University of California. All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* <NAME>.
*
* Redistribution and use in source and binary forms, with or w... |
/*
** ###################################################################
** Processors: MKL33Z256VLH4
** MKL33Z128VLH4
** MKL33Z64VLH4
** MKL33Z256VMP4
** MKL33Z128VMP4
** MKL33Z64V... |
#include <x86intrin.h>
#include "crypto_auth.h"
#include "crypto_uint64.h"
#include "crypto_uint32.h"
#include "crypto_uint8.h"
#include "crypto_verify_8.h"
typedef crypto_uint64 u64;
typedef crypto_uint32 u32;
typedef crypto_uint8 u8;
#define SIPHASH_ROUNDS 4
#define SIPHASH_FINALROUNDS 8
/*
typedef uint8_t u8... |
#include "linmath.h"
#include "survive_cal.h"
#include <dclapack.h>
#include <linmath.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <survive.h>
#include <survive_reproject.h>
typedef struct
{
int something;
//Stuff
} DummyData;
static FLT RunOpti( SurviveObject * so, Pose... |
/*
* Copyright (c) 2005-2007 <NAME>, Inc. All rights reserved.
* Proprietary and Confidential Material.
*
*/
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include <string.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <netinet/in.h>
#include <neti... |
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2011-2017 Los Alamos National Security, LLC. All rights
* reserved.
* Copyright (c) 2011-2013 UT-Battelle, LLC. All rights reserved.
* Copyright (c) 2017 Intel, Inc. All rights reserved.
* $COPYRIGHT$
*... |
/* Target-dependent code for GNU/Linux AArch64.
Copyright (C) 2009-2014 Free Software Foundation, Inc.
Contributed by ARM Ltd.
This file is part of GDB.
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... |
#include "lrc.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/time.h>
#define eq(a, b, fmt, ...) do { \
typeof(a) __a = (a); \
typeof(b) __b = (b); ... |
/******************************************************************************
*
* Copyright(c) 2005 - 2014 Intel Corporation. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
*... |
/* Copyright (c) 2011-2014, 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 distrib... |
/* -*- c-file-style:"stroustrup"; indent-tabs-mode: nil -*- */
#include "pubnub_internal.h"
#include "pubnub_version.h"
#include "pubnub_assert.h"
#include "pubnub_json_parse.h"
#include "pubnub_log.h"
#include "pubnub_url_encode.h"
#include "lib/pb_strnlen_s.h"
#include "pubnub_ccore_pubsub.h"
#include <stdio.h>
#in... |
/*
(c) Copyright 2012-2013 DirectFB integrated media GmbH
(c) Copyright 2001-2013 The world wide DirectFB Open Source Community (directfb.org)
(c) Copyright 2000-2004 Convergence (integrated media) GmbH
All rights reserved.
Written by <NAME> <<EMAIL>>,
<NAME> <<EMAIL>>,
<... |
/*
* Copyright (c) 2011 The Chromium OS Authors.
* 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
* published by the Free Software Foundation; either version ... |
/*
* The MIT License (MIT)
*
* Copyright (c) 2018 <NAME> (github.com/kanflo)
*
* 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 rig... |
/*-
* Copyright (c) 2006 <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 an... |
#include <gmp.h> /* user MPIR lib for vstudio */
#include <stdlib.h>
#include <stdbool.h>
#include <stdint.h>
#include <string.h>
#include <float.h>
#include <math.h>
#include "magimath.h"
#include "../sha3/sph_bmw.h"
#include "../sha3/sph_groestl.h"
#include "../sha3/sph_jh.h"
#include "../sha3/sph_keccak.h"
#inclu... |
/*
* Copyright (c) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997
* 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: (1) source code distributions
* retain the above copyright noti... |
/*
* Portions Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
* Portions Copyright (C) 1999-2003 Internet Software Consortium.
* Portions Copyright (C) 1995-2000 by Network Associates, Inc.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without f... |
/**
* radio.c
* <NAME>
* May 21, 2020
*
* RFM69HCW
* Based on https://github.com/adafruit/RadioHead/blob/master/RH_RF69.cpp
* and https://github.com/LowPowerLab/RFM69/blob/master/RFM69.cpp
*/
#include "radio.h"
#define RADIO_MODE_UNKNOWN 0
#define RADIO_MODE_IDLE 1
#define RADIO_MODE_RX 2
#define RADIO_MODE_TX... |
// board enforces
// in-state
// accel set/resume
// out-state
// cancel button
// regen paddle
// accel rising edge
// brake rising edge
// brake > 0mph
const int GM_MAX_STEER = 300;
const int GM_MAX_RT_DELTA = 128; // max delta torque allowed for real time checks
const uint... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.