text stringlengths 7.55k 41.9k |
|---|
// (c) 2018-2020 minim.co
// unum wl driver APIs, used only by platforms that are based on
// on Broadcom wl drivers and can access APIs in BCM's libshared
// Note: wt_wl_mk_if_list() must be called before the functions
// capable of resolving phys/interfaces/indices can be used
#include "unum.h"
/* Temporary,... |
/* LICENSE */
/**
* @file B5_Sha256.c
* @date 22/03/2016
* @brief This file includes the implementation of the functions for computing the SHA256 and HMAC-SHA256 algorithms. See \ref B5_Sha256.h .
*
*/
#include "sha256.h"
void B5_SHA256_GETUINT32(uint32_t *n,const uint8_t *b, int32_t i)
{
*n = ( (u... |
// K functions for solace
#ifdef _WIN32
#include <Windows.h>
#else
#include <unistd.h>
#endif
#include <fcntl.h>
#include <assert.h>
#include <string.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <pthread.h>
#include "k.h"
#include "solace_k.h"
int callbackcounter,
msg_recv,
msg_sent,
callbac... |
/* sgfref.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__6 = 6;
static integer c__5 = 5;
static integer c__7 = 7;
/* $Procedure SGFREF ( Generic Segments: Fetc... |
/*
* QEMU Intel i82596 (Apricot) emulation
*
* Copyright (c) 2019 <NAME> <<EMAIL>>
* This work is licensed under the GNU GPL license version 2 or later.
*
* This software was written to be compatible with the specification:
* https://www.intel.com/assets/pdf/general/82596ca.pdf
*/
#include "qemu/osdep.h"
#incl... |
/*
* $Id: space_graph.c 39792 2011-08-30 09:15:55Z nexyon $
*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* 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, o... |
/**
* The MIT License (MIT)
*
* Copyright (c) 2014 MoboPlayer.com
*
* 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... |
/*
* ________________________________________________________________________________________________________
* Copyright (c) 2015-2015 InvenSense Inc. All rights reserved.
*
* This software, related documentation and any modifications thereto (collectively “Software”) is subject
* to InvenSense and its licen... |
/*
* Copyright (c) 2013 Qualcomm Atheros, Inc.
* 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 code ... |
/*
* Library: thread_mgr - manage and interface with a set of threads
* File Name: thread_mgr.c
*/
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <pthread.h>
#include <fcntl.h>
#include <errno.h>
#include <signal.h>
#include <unistd.h>
#include "log_mgr.h"
#include "thread_mgr.h"
#include "hash... |
/* krd_trace.c
* Copyright 2014 <NAME> and Tokyo Institute of Technology
* This program is licensed under the terms of the New BSD License.
* See LICENSE for full details
*
* krd_trace.c: store and read KRD traces
*/
#include "loi.h"
#include "krd_common.h"
#include <stdio.h>
#include <sys/types.h>
#include <s... |
/*
* 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... |
/*
* descriptions + helper functions for simple dvb plls.
*
* (c) 2004 <NAME> <<EMAIL>> [SuSE Labs]
*
* 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, o... |
/*
* Byte-oriented AES-256 implementation.
* All lookup tables replaced with 'on the fly' calculations.
*
* Copyright (c) 2007-2011 <NAME>, http://www.literatecode.com
* Other contributors: <NAME>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is here... |
/*
* Copyright (C) 2007 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
/* dlaqz4.f -- translated by f2c (version 20160102). You must link the resulting object file with libf2c: on Microsoft Windows system, link with libf2c.lib;
on Linux or Unix systems, link with .../path/to/libf2c.a -lm or, if you install libf2c.a in a standard place, with -lf2c -lm -- in that order, at the end of the c... |
/*
* Copyright (c) 2004, 2005, 2006 TADA AB - Taby Sweden
* Distributed under the terms shown in the file COPYRIGHT
* found in the root folder of this project or at
* http://eng.tada.se/osprojects/COPYRIGHT.html
*
* @author <NAME>
*/
#include <postgres.h>
#include <fmgr.h>
#include <funcapi.h>
#include <parser/p... |
/****************************************/
/* Sparse Matrix algorithms for CLASS */
/* 15/11 2010 */
/* <NAME> */
/****************************************/
/* This module is used for solving sparse linear systems, arising
when doing Newton iterations in evolver_ndf... |
/*
* Copyright(c) 2017 - 2020 Intel Corporation.
*
* This file is provided under a dual BSD/GPLv2 license. When using or
* redistributing this file, you may do so under either license.
*
* GPL LICENSE SUMMARY
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of vers... |
/**************************************************************************
Copyright 2000, 2001 ATI Technologies Inc., Ontario, Canada, and
VA Linux Systems Inc., Fremont, California.
All Rights Reserved.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this softw... |
/*
* $Id: vhdl.c 652 2008-04-18 03:51:47Z elliotth $
*
* Copyright (c) 2008, <NAME>
*
* This source code is released for free distribution under the terms of the
* GNU General Public License.
*
* This module contains functions for generating tags for VHDL files.
*/
/*
* INCLUDE FILES
*/
#i... |
#include <efi.h>
#include <efilib.h>
#include <stdint.h>
#include "lib_uefi.h"
#include "vm_setup.h"
#include "vmx_emu.h"
#include "regs.h"
#include "string.h"
#include "smp.h"
FEATURES features;
void set_guest_selector(uint64_t gdt_base, uint32_t reg, uint64_t sel){
uint64_t base;
uint32_t limit;
uint32_t att... |
/* *********************************************************************
* Broadcom Common Firmware Environment (CFE)
*
* OHCI defs File: ohci.h
*
* Open Host controller interface definitions
*
* Author: <NAME> (<EMAIL>)
*
********************************************... |
#include "enc28j60.h"
#include <msp430.h>
#include <stdint.h>
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
#include "spi.h"
#include "uart.h"
#include "stack.h"
#include "mem.h"
#include "cpu.h"
#define TX_START (0x1FFF - 0x600)
#define RX_END (TX_START-1)
volatile bool enc_idle;
static uint8_t enc... |
#ifndef lint
static const char RCSid[] = "$Id: mksource.c,v 2.9 2021/01/15 20:56:50 greg Exp $";
#endif
/*
* Generate distant sources corresponding to the given environment map
*/
#include "ray.h"
#include "random.h"
#include "resolu.h"
#define NTRUNKBR 4 /* number of branches at trunk */
#define NTRUNKVERT 4 /* ... |
/*
* Copyright (c) 2021 <NAME>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL W... |
//
// Copyright(C) 1993-1996 Id Software, Inc.
// Copyright(C) 2005-2014 <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 ... |
/*
* libwebsockets-test-client - libwebsockets test implementation
*
* Copyright (C) 2011 <NAME> <<EMAIL>>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation:
* version 2.1 of t... |
#include <AvailabilityMacros.h>
#include <mach/thread_policy.h>
#include <mach/mach.h>
#include <mach/mach_traps.h>
#include <mach/mach_error.h>
#include <mach/mach_time.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/errno.h>
#include <sys/kern_memory... |
/*
* 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 ... |
/*
* jdmainct.c
*
* This file was part of the Independent JPEG Group's software:
* Copyright (C) 1994-1996, <NAME>.
* libjpeg-turbo Modifications:
* Copyright (C) 2010, <NAME>.
* For conditions of distribution and use, see the accompanying README file.
*
* This file contains the main buffer controller for deco... |
/*
* Copyright (C) 2014-2015 Freescale Semiconductor, Inc.
* Copyright (C) <NAME>
* Copyright (C) UDOO Team
*
* Author: <NAME> <<EMAIL>>
* Author: <NAME> <<EMAIL>>
*
* SPDX-License-Identifier: GPL-2.0+
*/
#include <asm/arch/clock.h>
#include <asm/arch/crm_regs.h>
#include <asm/arch/imx-regs.h>
#include <asm/a... |
/** Kernel Simulator - Assignment 2, Part II
*
* Carleton University
* Department of System and Computer Engineering
* SYSC 4001 - Operating Systems
*
* @authors <NAME>, 100848232
* <NAME>, 101148695
* @version 1.0
* @release March 5, 2021
*
* This program generates an executable file that simulat... |
#include <stdio.h>
int print_hash_value = 1;
static void platform_main_begin(void)
{
}
static unsigned crc32_tab[256];
static unsigned crc32_context = 0xFFFFFFFFUL;
static void
crc32_gentab (void)
{
unsigned crc;
unsigned poly = 0xEDB88320UL;
int i, j;
for (i = 0; i < 256; i++) {
crc = i;
for (j = 8; j > 0; j--... |
/*
* Copyright © 2008 Red Hat, Inc.
* Partly based on code Copyright © 2000 SuSE, Inc.
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
* the above copyright notice appear in all copies and that both that
... |
/*
$Id$
*======================================================================
*
* DISCLAIMER
*
* This material was prepared as an account of work sponsored by an
* agency of the United States Government. Neither the United States
* Government nor the United States Department of Energy, nor Battelle,
* nor a... |
#include <include/rs41.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "bitops.h"
#include "decode/framer.h"
#include "decode/ecc/crc.h"
#include "decode/xdata.h"
#include "frame.h"
#include "gps/ecef.h"
#include "gps/time.h"
#include "physics.h"
#include "subframe.h"
typedef struct {
int initi... |
/* Namco System NA1/2 Video Hardware */
/*
TODO:
- dynamic screen resolution (changes between emeralda test mode and normal game)
- non-shadow pixels for sprites flagged to enable shadows have bad colors
*/
#include "emu.h"
#include "includes/namcona1.h"
#define NAMCONA1_NUM_TILEMAPS 4
/* public varia... |
#include "common.h"
static void restore_edge(const int groups, const int kind_opt, int* restrict edge, int* restrict restored_line, const int* restrict restored_edge)
{
if(kind_opt != D_1G_OPT && kind_opt != D_2G_OPT)
ERROR("Wrong kind_opt: %d\n", kind_opt);
#pragma omp parallel for
for(int i=0;i<groups*kind_... |
/* @(#)fancy.c 8.1 (Berkeley) 5/31/93 */
/* $NetBSD: fancy.c,v 1.15 2020/04/22 23:36:26 joerg Exp $ */
/*
* Copyright (c) 1980, 1993
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided ... |
/* Copyright (c) Nordic Semiconductor ASA
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this
* list of ... |
/* -*- Mode: C; indent-tabs-mode:nil; c-basic-offset: 8-*- */
/*
* This file is part of The Croco Library
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of version 2.1 of the GNU Lesser General Public
* License as published by the Free Software Foundation.
*
* This... |
/* Copyright 2018 Espressif Systems (Shanghai) PTE 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 applic... |
/*!
\file
\brief Functions that deal with prunning the number of adjacent subdomains in kmetis
\date Started 7/15/98
\author George
\author Copyright 1997-2009, Regents of the University of Minnesota
\version $Id: minconn.c 10513 2011-07-07 22:06:03Z karypis $
*/
#include "metislib.h"
/***************************... |
/* © 2014 Sigma Designs, Inc. This is an unpublished work protected by Sigma
* Designs, Inc. as a trade secret, and is not to be used or disclosed except as
* provided Z-Wave Controller Development Kit Limited License Agreement. All
* rights reserved.
*
* Notice: All information contained herein is confidential an... |
/*
*
* BlueZ - Bluetooth protocol stack for Linux
*
* Copyright (C) 2000-2001 Qualcomm Incorporated
* Copyright (C) 2002-2003 <NAME> <<EMAIL>>
* Copyright (C) 2002-2010 <NAME> <<EMAIL>>
*
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General ... |
//Teensy 3.0
//Memory
#define FLASH_SIZE 131072 //bytes
#define RAM_SIZE 16384 //bytes
#define EEPROM_SIZE 2048 //bytes
//UART
#define NUM_UART 3
#define UART_REG_OFFSET(port) (0x1000 * (port))
#define UART_REG_BASE(port) (0x4006A000 + UART_REG_OFFSET(port))
//hardware pin assignments for each UART
#define UART0_TX... |
#include "camera.h"
void setviewport(camera_t * camera, const float l,const float r,const float t,const float b,const float near,const float far){
camera_t * curcam = camera;
curcam->l = l;
curcam->r = r;
curcam->t = t;
curcam->b = b;
curcam->n = near;
curcam->f = far;
}
void config_camera(camera_t * camera,... |
/*
* Copyright (c) 2021 ecoPlanos <<EMAIL>>
*
* 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... |
/*************************************************************************\
* Copyright (c) 2012 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 subj... |
// smartpng - png support functions for smartfx
#include "zlib.h"
#include "smartpng.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
// filters
#define PNG_FILTER_VALUE_NONE 0
#define PNG_FILTER_VALUE_SUB 1
#define PNG_FILTER_VALUE_UP 2
#define PNG_FILTER_VALUE_AVG 3
#define PNG_F... |
#include "md5.h"
#include <string.h>
/* Code here is largely based off OpenSSL's implementation; see https://www.openssl.org/ for more details */
/*
* Engage compiler specific rotate intrinsic function if available.
*/
#undef ROTATE
#ifndef PEDANTIC
# if defined(_MSC_VER)
# define ROTATE(a,n) _lrotl(a,n)
# elif ... |
/* diags2.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__4 = 4;
static doublereal c_b6 = 1.;
static integer c__2 = 2;
/* $Procedure DIAGS2 ( Diagonalize symm... |
#include<stdio.h>
#include<drawlib.h>
#include<time.h>
#include<stdlib.h>
int cdraw();
int cmove();
int kcase(int b);
int Dup();
int Sup();
int Fset();
int FLA();
int Fsta();
int Fsw();
void Timecou();
void End();
void OP();
//**********************キャラクターのドット絵**********************
int MC[4][18][14] = {{{0,0,0,0,0,0,0,... |
/*
* Copyright (c) 1998 <NAME>
* All rights reserved.
*
* Redistribution and use in source and binary forms are freely
* permitted provided that the above copyright notice and this
* paragraph and the following disclaimer are duplicated in all
* such forms.
*
* This software is provided "AS IS" and without any... |
#include "param.h"
#include "types.h"
#include "defs.h"
#include "x86.h"
#include "memlayout.h"
#include "mmu.h"
#include "proc.h"
#include "elf.h"
extern char data[]; // defined by kernel.ld
pde_t *kpgdir; // for use in scheduler()
// Set up CPU's kernel segment descriptors.
// Run once on entry on each CPU.
void
... |
/*
* Copyright © 2015-2017 Broadcom
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, publish... |
/*
Copyright (c) 2017, Plume Design Inc. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the... |
/* $OpenBSD: part.c,v 1.90 2021/07/11 19:43:19 krw Exp $ */
/*
* Copyright (c) 1997 <NAME>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* TH... |
/********************************************/
/* libVecMat3: -llapck -lblas -lm */
/* -lScalar -lIO */
/* */
/* Three-dimensional Euclidean space vector */
/* and matrix library. */
/* ... |
/**************************************************************************
* sdc3grid_kernel.c
*
* Author: <NAME>
* Date: 2011 jan 02
* Rev: 2011 apr 13
*
* Summary: Sample density estimation using gridding and de-gridding.
* This code is a simple implementation of the sample density
* ... |
/* testmerge.c
* Copyright (C) 2003 <NAME>
*
* 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.
*
* This li... |
/****************************************************************************/
/* */
/* Copyright (C) 1991-2000, all rights reserved */
/* <NAME>, <NAME>, and <NAME> */
/* See file "README" f... |
// Cryptographic permutation-based UUID generator
//
// Generator properties, in constant space and time:
// * Guaranteed never to collide with itself.
// * Can determine if it previously output a particular UUID.
// * Unfeasible to predict future outputs without the key.
//
// Also includes marshalling routines to sto... |
/**
* \file demoPwrMgmnt.c
*
* \brief Functions used Power management implementation are defined here
*
*/
/*
* Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/
*/
/*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the f... |
/*++
/* NAME
/* xsasl_dovecot_server 3
/* SUMMARY
/* Dovecot SASL server-side plug-in
/* SYNOPSIS
/* XSASL_SERVER_IMPL *xsasl_dovecot_server_init(server_type, appl_name)
/* const char *server_type;
/* const char *appl_name;
/* DESCRIPTION
/* This module implements the Dovecot SASL server-side authentication
/* plug-in.... |
/* Copyright (c) 2020 Intel Corporation. All Rights Reserved.
* Copyright (c) 2020 <NAME> <<EMAIL>>
* Author: <NAME> <<EMAIL>>
*
* sample command:
./fake-enc --codec=VP9 --preset=0 --framecount=120
*/
#include <stdio.h>
#include <string.h>
#include <libmebo.h>
#include <getopt.h>
#include <stdlib.h>
#includ... |
typedef signed char __int8_t;
typedef unsigned char __uint8_t;
typedef short int __int16_t;
typedef short unsigned int __uint16_t;
typedef long int __int32_t;
typedef long unsigned int __uint32_t;
typedef long long int __int64_t;
typedef long long unsigned int __uint64_t;
typedef signed char __int_least8_t;
typedef uns... |
/*
* Tegra GK20A GPU Debugger Driver Register Ops
*
* Copyright (c) 2013-2018, NVIDIA CORPORATION. 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 restr... |
/* sane - Scanner Access Now Easy.
Copyright (C) 1996, 1997 <NAME>
This file is part of the SANE package.
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
Lic... |
/*
* lxc: linux Container library
*
* Copyright © 2016 Canonical Ltd.
*
* Authors:
* <NAME> <<EMAIL>>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of ... |
/* Copyright (c) (2018,2019) Apple Inc. All rights reserved.
*
* corecrypto is licensed under Apple Inc.’s Internal Use License Agreement (which
* is contained in the License.txt file distributed with corecrypto) and only to
* people who accept that license. IMPORTANT: Any license rights granted to you by
* App... |
/*-------------------------------------------------------------*/
/*--- Compression machinery (not incl block sorting) ---*/
/*--- compress.c ---*/
/*-------------------------------------------------------------*/
/* ---------------------------------------------------... |
/*
* Copyright (C) the libgit2 contributors. All rights reserved.
*
* This file is part of libgit2, distributed under the GNU GPL v2 with
* a Linking Exception. For full terms see the included COPYING file.
*/
#include "blame_git.h"
#include "commit.h"
#include "blob.h"
#include "xdiff/xinclude.h"
#include "diff... |
/*
* Copyright (c) 2019-2020, <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 lis... |
/*
* wpa_supplicant - MBO
*
* Copyright(c) 2015 Intel Deutschland GmbH
* Contact Information:
* Intel Linux Wireless <<EMAIL>>
* Intel Corporation, 5200 N.E. <NAME>, Hillsboro, OR 97124-6497
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#include "u... |
#define _GNU_SOURCE
#include "errno.h"
#include "os_generic.h"
#include "survive_config.h"
#include "survive_default_devices.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <survive.h>
#include "pcap/usb.h"
#include <pcap.h>
#include "driver_vive.h"
#include <libusb-1.0/libusb.h>
#include <p... |
#include "mupdf/fitz.h"
#include "xps-imp.h"
#include "../fitz/fitz-imp.h"
#include <ft2build.h>
#include FT_FREETYPE_H
#include FT_ADVANCES_H
static inline int ishex(int a)
{
return (a >= 'A' && a <= 'F') ||
(a >= 'a' && a <= 'f') ||
(a >= '0' && a <= '9');
}
static inline int unhex(int a)
{
if (a >= 'A' && a... |
/*
* (C) Copyright 2006
* <NAME>, DENX Software Engineering, <EMAIL>.
*
* 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 Fo... |
//#define ARM_MATH_CM3
/* C Libraries */
#include "uart.h"
#include <stdbool.h>
#include <stdint.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
/* emf Libraries */
#include "em_cmu.h"
#include "em_adc.h"
#include "em_dma.h"
#include "dmactrl.h"
#include "em_gpio.h"
#include "em_prs.h"
#include "em_timer... |
/* $XConsortium: fetabs.h,v 1.3 94/04/17 20:34:46 rws Exp $ */
/**** module fetabs.h ****/
/******************************************************************************
Copyright (c) 1993, 1994 X Consortium
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated... |
/*************************************************************************/
/* Lid Driven Cavity(LDC) - 3D simulation using LBM with a D3Q19 lattice */
/* */
/* Scheme: 3-Grid, Pull, Compute, Keep */
/* ... |
/* P P - F B . C
* BRL-CAD
*
* Copyright (c) 1986-2014 United States Government as represented by
* the U.S. Army Research Laboratory.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* version 2.1 as p... |
/* Free for all implementation of the md5 hash algorithm
**********************************************************************
** md5.c **
** RSA Data Security, Inc. md5 Message Digest Algorithm **
** Created: 2/17/90 RLR ... |
/*
Multiplicação de matrizes convencional, em bloco, convencional com POSIX threads e em blocos com POSIX threads.
ATENÇÃO!!!
Para entender onde e como fazer alterações no código leia o arquivo "README".
Nele constam detalhes de em qual código fonte e quais var... |
#include "u.h"
#include "../port/lib.h"
#include "mem.h"
#include "dat.h"
#include "fns.h"
#include "../port/error.h"
#include "io.h"
#include <draw.h>
#include <memdraw.h>
#include <cursor.h>
#include "screen.h"
enum {
Backgnd = 0xFF, /* white */
Foregnd = 0x00, /* black */
};
#define DPRINT if(1)iprint
static ... |
/******************************************************************************
*
* Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
*
* 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 ... |
#include "math.h"
/* Merging the nlplant.c (lofi) and nlplant_hifi.c to use
same equations of motion, navigation equations and use
own look-up tables decided by a flag. */
void atmos(double,double,double*); /* Used by both */
void accels(double*,double*,double*); /* Used... |
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2011-2012 Los Alamos National Security, LLC. All rights
* reserved.
* 2014 Mellanox Technologies, Inc.
* All rights reserved.
* Copyright (c) 2015-2016 Intel, Inc. A... |
/*
* Copyright (C) 2021 - This file is part of libecc project
*
* Authors:
* <NAME> <<EMAIL>>
* <NAME> <<EMAIL>>
*
* This software is licensed under a dual BSD and GPL v2 license.
* See LICENSE file at the root folder of the project.
*/
#include "aff_pt.h"
/* NOTE: Edwards here implies Twisted E... |
#include "tv11.h"
#include <sys/poll.h>
#include <pthread.h>
/* maximum:
* 256 framebuffers
* 64 keyboards
* 16 video switch inputs (buffers) per section
* 32 video switch outputs (displays)
*/
enum {
WIDTH = 576,
HEIGHT = 454
};
enum {
TVLO = 060000,
TVHI = TVLO + WIDTH*HEIGHT/8,
CSA = 0157776,
CREG = 07... |
/*******************************************************************************
* Copyright (C) Marvell International Ltd. and its affiliates
*
* This software file (the "File") is owned and distributed by Marvell
* International Ltd. and/or its affiliates ("Marvell") under the following
* alternative licensing t... |
/*
* Copyright 2002-2011, The TenDRA Project.
* Copyright 1997, United Kingdom Secretary of State for Defence.
* Copyright 1993, Open Software Foundation, Inc.
*
* See doc/copyright/ for the full copyright terms.
*/
/*
* The main procedure defined here is evaluated which outputs
* assembler for data. The param... |
#include "mainGame.h"
#include "macros.h"
#include "video_gr.h"
#include <string.h>
#include <stdio.h>
#include <stdbool.h>
#include "rtc.h"
#include "textRender.h"
#define g_maxRoadSpeed 8;
static double lastScore = 0;
static double score = 0;
static double scoreSpeed = 1;
static bool isNight = false;
static bool was... |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* */
/* This file is part of the program and library */
/* SCIP --- Solving Constraint Integer Programs */
... |
/* Copyright (c) <NAME>, 1994. */
/**
* (c) Copyright 1993, 1994, Silicon Graphics, Inc.
* ALL RIGHTS RESERVED
* Permission to use, copy, modify, and distribute this software for
* any purpose and without fee is hereby granted, provided that the above
* copyright notice appear in all copies and that bo... |
/*
* ssss version 0.5 - Copyright 2005,2006 <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 later version.
*
*... |
/*
asc2mid:
Converts ascii to midi. Ascii is in format output by mid2asc in one
of several modes, or it can be in a more mixed format.
Time of an event can be determined by one of
(i) BA+CR: Bar number+Crotchet within bar
(ii) CR: Crotchet number from the very start
(iii) DT: ... |
/*
* Copyright (c) 2004 <NAME> <<EMAIL>>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is d... |
//
// main.c
// iOSVNCServer
//
// Created by <NAME> on 28/06/2016.
// Copyright © 2016 TestingBot. All rights reserved.
//
#include <stdio.h>
#include <stdint.h>
#include <getopt.h>
#include <time.h>
#include <rfb/rfb.h>
#include <rfb/keysym.h>
#include <png.h>
#include <curl/curl.h>
#include "./vendor/jsmn/jsmn... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.