text stringlengths 7.55k 41.9k |
|---|
/** @file
Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <PiPei.h>
#include <Library/IoLib.h>
#include <Library/DebugLib.h>
#include <Omap3530/Omap3530.h>
#include <BeagleBoard.h>
#define NUM_PINS_SHARED 232
#define NUM_PINS_ABC 6
#defin... |
#include "include.h"
#include "arm_arch.h"
#include "target_util_pub.h"
#include "mem_pub.h"
#include "uart_pub.h"
#include "sys_rtos.h"
#include "bk_rtos_pub.h"
#include "error.h"
#include "fake_clock_pub.h"
#include "wlan_ui_pub.h"
#include "lwip/sockets.h"
#include "airkiss.h"
#include "mac_ie.h"
#def... |
/** @internal
** @file sift.c
** @author <NAME>
** @brief Scale Invariant Feature Transform (SIFT) - Driver
**/
/*
Copyright (C) 2007-12 <NAME> and <NAME>.
All rights reserved.
This file is part of the VLFeat library and is made available under
the terms of the BSD license (see the COPYING file).
*/
#de... |
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include <limits.h>
#include <time.h>
#include <assert.h>
typedef struct{
char name[21];
int** grid;
char symbol;
}Player;
void clear_buffer();
void initialize_player(Player* player);
void display_player(Player player);
void display_play... |
#ifndef lint
static const char RCSid[] = "$Id: pcond4.c,v 3.20 2015/08/21 05:48:28 greg Exp $";
#endif
/*
* Routines for veiling glare and loss of acuity.
*/
#include "pcond.h"
/************** VEILING STUFF *****************/
#define VADAPT 0.08 /* fraction of adaptation from veil */
static COLOR *veilimg = NUL... |
#include "display.h"
#include "ppm.h"
#include "events.h"
#include "cpu.h"
#include "opcodes.h"
#include "debug.h"
#include "logging.h"
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#include "controls_image.h"
#include "embedded_font.h"
#include "instruction_strings.h"
#include "SDL.h"
#include "SDL_ttf.h... |
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include "SDL2/SDL.h"
#include "libft.h"
#include "libsdl.h"
#include "doom_nukem.h"
/* Define window size */
#define W 1280
#define H 720
/* Define various vision related constants */
#define EyeHeight 6 // Camera height from floor when standing
... |
/*
* Copyright (C) 2009-2013 by
* <NAME> (<EMAIL>, <EMAIL>)
* <NAME> (<EMAIL>, <EMAIL>)
* <NAME> (<EMAIL>)
* ... and other members of the Reconstruction Team of David Haussler's
* lab (BME Dept. UCSC).
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and assoc... |
/**
* activate.c - Activates an FTL stream
*
* Copyright (c) 2015 <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
... |
/** @file HL_sys_main.c
* @brief Application main file
* @date 11-Dec-2018
* @version 04.07.01
*
* This file contains an empty main function,
* which can be used for the application.
*/
/*
* Copyright (C) 2009-2018 Texas Instruments Incorporated - www.ti.com
*
*
* Redistribution and use in source and ... |
/*
* liblx200 v0.8
* A library for controlling the Meade LX200 series scopes
*
* Copyright (C) 2000, <NAME>
*/
#include <fcntl.h>
#include <stdio.h>
#include <math.h>
#include <unistd.h>
#include <sys/time.h>
#include <time.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/ioctl.h>
#include <errno.h>
#... |
#ifndef _MSC_VER
#include <stdbool.h>
#include <sched.h>
#endif
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifdef _MSC_VER
#define snprintf _snprintf
#endif
#include "libretro.h"
#include "libretro_core_options.h"
#include "sound.h"
#include "memorymap.h"
#include "supervision.h"
... |
#include <assert.h> // assert
#include <string.h> // memcpy
#ifdef DEBUG
#include <stdio.h>
#endif
#include "subterranean.h"
// =====================================================================
// Constants
// =====================================================================
/... |
////////////////////////////////////////////////////////////////////////////
// **** FAST-CHESS **** //
// Trivial Chess Playing Program //
// Copyright (c) 2020 <NAME> //
// ... |
/* --------------------------------------------------------------------------
*
* File win32_time.c
* Description Time functions
* Author <NAME>
*
* --------------------------------------------------------------------------
*
* Copyright (C) 2010-2012 XMSoft. A... |
#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>
#include <string.h>
#include <sys/time.h>
#include <GL/gl.h>
#include <CNFG.h>
#include <chew.h>
#include <umka_api.h>
#include <stb_image.h>
#include "bindings.h"
#include "tophat.h"
extern th_global thg;
extern char *th_em_modulesrc[];
void _th_umka_bin... |
/*
* ldconfig - update shared library symlinks
*
* usage: ldconfig [-DvqnNX] [-f conf] [-C cache] [-r root] dir ...
* ldconfig -l [-Dv] lib ...
* ldconfig -p
* -D: debug mode, don't update links
* -v: verbose mode, print things as we go
* -q: quiet mode, don't print warnings
... |
/*********************************************************************
* Copyright 1993, University Corporation for Atmospheric Research
* See netcdf/README file for copying and redistribution conditions.
* $Header: /upc/share/CVS/netcdf-3/ncdump/ncdump.c,v 1.10 2002/01/27 20:02:37 russ Exp $
****************... |
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolar... |
/*
* Copyright (c) 2019-2020 vanaur.
*
* This file is part of RCL
* (see https://github.com/vanaur/The-Runtime-Core-Library).
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* r... |
/*
* snmptsmsm.c -- Implements RFC #5591
*
* This code implements a security model that assumes the local user
* that executed the agent is the user who's attributes are passed up
* by the transport underneath. The RFC describing this security
* model is RFC5591.
*/
#include <net-snmp/net-snmp-config.h>
#incl... |
#include <3ds.h>
#include <stdio.h>
#include <string.h>
#include <stdarg.h>
#include <malloc.h>
#include <unistd.h>
#include <sf2d.h>
#include <sftd.h>
#include "Verdana_ttf.h"
#include "actu.h"
#include "am.h"
#include "cfgs.h"
#include "frd.h"
#include "mcu.h"
#include "screenshot.h"
#include "utils.h"
#define SDK(a... |
/*
* Copyright (c) 2007, Novell Inc.
*
* This program is licensed under the BSD license, read LICENSE.BSD
* for further information
*/
/*
* repo_helix.c
*
* Parse 'helix' XML representation
* and create 'repo'
*
* A bit of history: "Helix Code" was the name of the company that
* wrote Red Carpet. The compa... |
/**********************************************************************
Bellfruit BD1 VFD module interface and emulation by J.Wallace
**********************************************************************/
#include "driver.h"
#include "bfm_bd1.h"
static struct
{
UINT8 type, // type of alpha display
chan... |
/*
* tui.c ncurses text user interface for TMON program
*
* Copyright (C) 2013 Intel Corporation. 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 or later as published by the Free Software Foundation.... |
#include <sys/param.h>
#include "trie.h"
#include "util/bsearch.h"
#include "sparse_vector.h"
#include "redisearch.h"
size_t __trieNode_Sizeof(t_len numChildren, t_len slen) {
return sizeof(TrieNode) + numChildren * sizeof(TrieNode *) + sizeof(rune) * (slen + 1);
}
TriePayload *triePayload_New(const char *payload, ... |
/** @author <EMAIL>
* @date 2021/9/21 16:52
* Copyright (c) All rights reserved.
*/
// In my computer, glibc's version is 2.17
#define _GNU_SOURCE
#ifdef __STDC_ALLOC_LIB__
#define __STDC_WANT_LIB_EXT2__ 1
#else
#define _POSIX_C_SOURCE 200809L
#endif
#define __USE_XOPEN2K8
// Use the Micro with condition comp... |
/*
* partx: tell the kernel about your disk's partitions
* [This is not an fdisk - adding and removing partitions
* is not a change of the disk, but just telling the kernel
* about presence and numbering of on-disk partitions.]
*
* aeb, 2000-03-21 -- sah is 42 now
*
* Copyright (C) 2010 <NAME> <<EMAIL>>
* ... |
/*********************************************************************
* The following code is part of the power modelling feature of VTR.
*
* For support:
* http://code.google.com/p/vtr-verilog-to-routing/wiki/Power
*
* or email:
* <EMAIL>
*
* If you are using power estimation for your researach ple... |
#include "include/usbld.h"
#include "include/ioman.h"
#include "include/hddsupport.h"
//#define TEST_WRITES
typedef struct // size = 1024
{
u32 checksum; // HDL uses 0xdeadfeed magic here
u32 magic;
char gamename[160];
u8 hdl_compat_flags;
u8 ops2l_compat_flags;
u8 dma_type;
u8 dma_mode;
... |
/*
* File: PV_vsi_sf.c
*
* Code generated for Simulink model 'PV_vsi_sf'.
*
* Model version : 1.64
* Simulink Coder version : 8.12 (R2017a) 16-Feb-2017
* C/C++ source code generated on : Wed Aug 15 13:48:18 2018
*
* Target selection: ert.tlc
* Embedded hardware selection: Intel->x86-6... |
/*
Name 1: <NAME>
UTEID 1: cc65542
*/
#include <stdio.h> /* standard input/output library */
#include <stdlib.h> /* Standard C Library */
#include <string.h> /* String operations library */
#include <ctype.h> /* Library for useful character operations */
#include <limits.h> /* Library for definitions o... |
#include "ml.h"
static int icvSymbolToType(char c)
{
static const char symbols[9] = "ucwsifdr";
const char* pos = strchr( symbols, c );
return (int)(pos - symbols);
}
int icvDecodeFormat( const char* dt, int* fmt_pairs, int max_len )
{
int fmt_pair_count = 0;
int i = 0, k = 0, len = dt ? (int)strl... |
/* Copyright 2014 Adobe Systems Incorporated (http://www.adobe.com/). All Rights Reserved.
This software is licensed as OpenSource, under the Apache License, Version 2.0.
This license is available at: http://opensource.org/licenses/Apache-2.0. */
/*
* Type 13 charstring support.
*/
/*
* Type 13 charstring o... |
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include "utone.h"
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif
#include "voc.h"
#ifndef MIN
#define MIN(A,B) ((A) < (B) ? (A) : (B))
#endif
#ifndef MAX
#define MAX(A,B) ((A) > (B) ? (A) : (B))
#endif
#define EPSILON 1.0e-38
#define MAX_TRANSI... |
#include <stdint.h>
#include <stddef.h>
#include <stdbool.h>
#include "decode.h"
#include "pcode.h"
int BitCount(uint32_t x)
{
int result = 0;
while(x) {
if(x&1) result += 1;
x>>=1;
}
return result;
}
bool BFXPreferred(uint32_t sf, uint32_t uns, uint32_t imms, uint32_t immr)
{
// must not match UBFIZ/SBFIX ... |
/*
* Copyright 2006 <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 restriction, including without limitation
* the rights to use, copy, modify, m... |
/*
* -----------------------------------------------------------------
* $Revision: 4396 $
* $Date: 2015-02-26 16:59:39 -0800 (Thu, 26 Feb 2015) $
* -----------------------------------------------------------------
* Programmer(s): <NAME> @ LLNL
* -----------------------------------------------------------------
... |
/*
vim: cindent
vim: background=dark
vim: tabstop=8 shiftwidth=8 expandtab
*/
#define _GNU_SOURCE
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdbool.h>
#include <curl/curl.h>
#include <libxml/parser.h>
#include <libxml/xpath.h>
#include <libxml/tree.h>
#include <libxml/xpathInternals.h>
#inclu... |
/*
* (C) Copyright 2016 Kurento (http://kurento.org/)
*
* 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 applicab... |
#include "../common.h"
#include "pcode.h"
enum { VARIABLE_ARGC = -1 };
// n -- number
// s -- string literal
// l -- label
// a -- array
// g -- global
// w -- world
// m -- map
// s -- script
// v -- variable
// g -- global
// w -- world
// m -- map
// s -- script
// e -- expression
// f -- function
... |
/* Model configuration:
* Converting a core model to a fully configured Plan7 search profile.
*
* Contents:
* 1. Profile configuration
* 2. Internal functions
* 3. Unit tests
* 4. Test driver
* 5. References
* 6. Copyright and license information
*/
#include "p7_config.h"
#include <math.h>
#inc... |
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <genericLogger.h>
#include <marpaESLIF.h>
static short inputReaderb(void *userDatavp, char **inputsp, size_t *inputlp, short *eofbp, short *characterStreambp, char **encodingsp, size_t *encodinglp);
#define UTF_8_STRING "UTF-8"
ty... |
/**
* @file kernel/arch/aarch64/main.c
* @brief Kernel C entry point and initialization for QEMU aarch64 'virt' machine.
*
* @copyright
* This file is part of ToaruOS and is released under the terms
* of the NCSA / University of Illinois License - see LICENSE.md
* Copyright (C) 2021-2022 <NAME>
*/
#include <st... |
/**
* @file utils/nat.c
* @author <NAME> <<EMAIL>>
*/
/*
* Copyright (c) 2020 CESNET z.s.p.o.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, is permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source cod... |
/*
* This Code Was Published By <NAME> 2000
* (ported to Linux/GLX by <NAME> using a lot
* of code from Mihael Vrbanec ports of other lessons)
* Code Was Created By <NAME> For NeHe Productions
* If You've Found This Code Useful, Please Let Me Know.
* Visit My Site At nehe.gamedev.net
*/
#include <stdio.h... |
/*
* This lexical analyzer uses the preprocessor to convert text into tokens.
* The lexical anayser discards white space, checks to see if identifiers
* are reserved words or typedef names, makes sure single characters
* are valid tokens, and converts preprocessor constants into the
* various C constants.
*/
... |
/* cert-parser.c
*
* This is a parser for X.509 ECC Certificates in PEM format that use
* ecdsa-sha keys.
*
* It consists of two parts:
* I) base64 decoding
* II) Parsing the decoded Certificate in its elements.
*
* Created on: 16.01.2013
* Author: <NAME> <<EMAIL>>
* Modified on: 24.04.2015... |
/***************************************************************************
* __________ __ ___.
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> ... |
#include <string.h>
/* defines, enums ------------------------------------------------------------- */
#define OVR_OVERRIDE_OBJECT_DESC 38
#define OVR_OVERRIDE_ROOM_DESC 39
#define AllocBuf ((void*)0xBB00)
#define NUM_ROOMS 111 /* including null room 0 */
#define NUM_OBJECTS 80
#define INSIDE 2048
... |
/*
Via Rhine driver, written for VT6102.
Uses the ethermii to control PHY.
Currently always copies on both, tx and rx.
rx side could be copy-free, and tx-side might be made
(almost) copy-free by using (possibly) two descriptors (if it allows
arbitrary tx lengths, which it should..): first for alignment and
sec... |
//
// Created by Vashon on 2020/7/28.
//
#include "homework_035.h"
// 方法一
LRUCache_1 *lRUCacheCreate_1(int capacity) {
LRUCache_1 *lruCache = malloc(sizeof(LRUCache_1));
assert(lruCache != NULL);
lruCache->length = 0;
lruCache->capacity = capacity;
lruCache->head = NULL;
return lruCache;
}
in... |
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolar... |
/*
* Copyright (C) 2010, <NAME>
* F.C. Donders Centre for Cognitive Neuroimaging, Radboud University Nijmegen,
* Kapittelweg 29, 6525 EN Nijmegen, The Netherlands
*
* This program is used for setting up a shared memory segment where CTFs Acq can
* write data to. This program picks up the data, copies it into a s... |
/*
* Copyright (c) 2004-2010 The Trustees of Indiana University and Indiana
* University Research and Technology
* Corporation. All rights reserved.
* Copyright (c) 2004-2008 The University of Tennessee and The University
* of Tennessee Resea... |
/*
ChibiOS - Copyright (C) 2016 <NAME>
This file is part of ChibiOS.
ChibiOS 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
(at your option) any later... |
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <pthread.h>
#include <string.h>
#include <sys/time.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <errno.h>
#include <math.h>
#define K 1024 //max_k_number
#define DATAWIDTH 16 //Bytes
typedef struct {
unsigned char fla... |
/*
* Copyright 2018-2019 Redis Labs Ltd. and Contributors
*
* This file is available under the Redis Labs Source Available License Agreement
*/
#include "tsdb.h"
#include "config.h"
#include "consts.h"
#include "endianconv.h"
#include "filter_iterator.h"
#include "indexer.h"
#include "module.h"
#include "series_it... |
/*
* Server-side directory object management
*
* Copyright (C) 2005 <NAME>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your optio... |
/* Copyright (c) 2016 <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, distri... |
/* ocsp_ext.c */
/* Written by <NAME> <<EMAIL>> for the OpenSSL
* project. */
/* History:
This file was transfered to Richard Levitte from CertCo by <NAME> in mid-spring 2000 to be included in OpenSSL or released
as a patch kit. */
/* ====================================================================
* Copy... |
#pragma GCC diagnostic ignored "-Wunused-function"
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
#include <dirent.h>
#include <errno.h>
#include <sys/utsname.h>
#include <sys/sysinfo.h>
#include <sys/statvfs.h>
#include <pci/pci.h>
#include <X11/Xlib.h>
#include ... |
/*++
/* NAME
/* verify 8
/* SUMMARY
/* Postfix address verification server
/* SYNOPSIS
/* \fBverify\fR [generic Postfix daemon options]
/* DESCRIPTION
/* The \fBverify\fR(8) address verification server maintains a record
/* of what recipient addresses are known to be deliverable or
/* undeliverable.
/*
/* Addresses are... |
////////////////////////////////////////////////////////////////////////////
// **** WAVPACK **** //
// Hybrid Lossless Wavefile Compressor //
// Copyright (c) 1998 - 2019 <NAME>. //
// ... |
/*
* l1oip_codec.c generic codec using lookup table
* -> conversion from a-Law to u-Law
* -> conversion from u-Law to a-Law
* -> compression by reducing the number of sample resolution to 4
*
* NOTE: It is not compatible with any standard codec like ADPCM.
*
* Author <NAME> (<EMAIL>)
*
* This program is ... |
#define NULL ((void*)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t; typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1
/* Forward d... |
/*
<NAME> A01422326
<NAME> A01410695
<NAME> A01024192
Proyect: Whiskey Poker ♥♦♣♠
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
// Signals library
#include <errno.h>
#include <signal.h>
// Sockets libraries
#include <netdb.h>
#include <sys/poll.h>
// Posix thread... |
/*
* fg_main_android.c
*
* The Android-specific windows message processing methods.
*
* Copyright (c) 1999-2000 <NAME>. All Rights Reserved.
* Written by <NAME>, <<EMAIL>>
* Copied for Platform code by <NAME> <karcaw at gmail.com>
* Copyright (C) 2012 <NAME>
*
* Permission is hereby granted, free of charge, ... |
/*
* Copyright (c) 2018, Intel Corporation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of co... |
/**
* @file waterSense.c
* \n Source File
* \n Outpour MSP430 Firmware
*
* \brief Routines to support water sensing algorithm.
*/
#include "outpour.h"
#include "CTS_Layer.h"
/***************************
* Module Data Definitions
**************************/
/**
* \def PERFORM_TEMPERATURE_ME... |
/**
* Copyright 2019 <NAME>
*/
#include "scu.h"
#include <sys/mman.h>
#include <stdio.h>
#include <fcntl.h>
#include <unistd.h>
#include <string.h>
#include <stdlib.h>
#define DANGEROUS "\033[1mDANGEROUS\033[0m"
unsigned int parse_range(unsigned int min, unsigned int max, unsigned int base, char* text);
void print_h... |
/*
* Dynomite - A thin, distributed replication layer for multi non-distributed storages.
* Copyright (C) 2015 Netflix, Inc.
*/
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <signal.h>
#include <getopt.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/utsname.h>
#include "dyn_core.h... |
#include "s.h"
#include "r.h"
#include "sparc.h"
#include <sys/mman.h>
#include <sys/resource.h>
Stacklet_t *Stacklets;
StackChain_t *StackChains;
Heap_t *Heaps;
int NumHeap = 20;
int NumStackChain = 200; /* 2 * NumThread */
int NumStacklet = 200; /* NumStackChain */
int NumStackletPerChain = 10; /* Initial size of a... |
/*
* Copyright (C) 2008 <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, or (at your option)
* any later version.
*
* This program is distributed in ... |
/* See LICENSE file for license and copyright information */
#include "callbacks.h"
#include "config.h"
#include "commands.h"
#include "completion.h"
#include "hints.h"
#include "jumanji.h"
#include "marks.h"
#include "quickmarks.h"
#include "shortcuts.h"
#include "session.h"
#include <girara/settings.h>
#include <gi... |
#pragma once
#include "can_msg_defs.h"
#include "can_pack_impl.h"
#define CAN_PACK_BPS_HEARTBEAT(msg_ptr, status_u8) \
can_pack_impl_u8((msg_ptr), SYSTEM_CAN_DEVICE_BMS_CARRIER, SYSTEM_CAN_MESSAGE_BPS_HEARTBEAT, 1, \
(status_u8), CAN_PACK_IMPL_EMPTY,... |
/*
* g722_1 - a library for the G.722.1 and Annex C codecs
*
* encoder.c
*
* Adapted by <NAME> <<EMAIL>> from the reference
* code supplied with ITU G.722.1, which is:
*
* (C) 2004 Polycom, Inc.
* All rights reserved.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY ... |
/*
# This file is part of the Astrometry.net suite.
# Licensed under a 3-clause BSD style license - see LICENSE
*/
#include <string.h>
#include <math.h>
#include <assert.h>
#include <cairo.h>
#include "os-features.h"
#include "plotannotations.h"
#include "hd.h"
#include "openngc.h"
#include "brightstars.h"
#inclu... |
/* newStitch - Experiments with new ways of stitching together alignments.
* Main thing is constructing a sparse rather than a full graph of
* nodes that could potentially follow other nodes. We make it
* sparse by only including edges for nodes that could *directly*
* follow another node. */
#include "common.h... |
//////////////////////////////////////
// <NAME>, NASA JPL/Caltech
// Copyright 2017
//////////////////////////////////////
#include "resamp.h"
#include <fftw3.h>
#include <omp.h>
#define SWAP4(a) (*(unsigned int *)&(a) = (((*(unsigned int *)&(a) & 0x000000ff) << 24) | ((*(unsigned int *)&(a) & 0x0000ff00)... |
#include <poser.h>
#include <survive.h>
#include <survive_reproject.h>
#include "epnp/epnp.h"
#include "linmath.h"
#include "survive_cal.h"
#include "survive_imu.h"
#include <math.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#define MAX_PT_PER_SWEEP SENSORS_PER_OBJECT
/*
More notes to self:
try ... |
/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file : main.c
* @brief : Main program body
******************************************************************************
* This notice applies to any and all portions of this ... |
/*********************************************************************
* (C) Copyright 2002 <NAME> University Freiburg
* Institute of Computer Science
*
* 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 S... |
/*
* This file is part of the GROMACS molecular simulation package.
*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team,
* check out http://www.gromacs.org for more information.
* Copyright (c) 2012, by the GROMACS development team, led by... |
/*
* mime.c, part of "ksmtp" project.
*
* Created on: 20.05.2015, 14:15
* Author: <NAME> <<EMAIL>>
*/
#include "mime.h"
int isUsAscii( const char * s )
{
while( *s )
{
if( (unsigned char)*s > 127 ) return 0;
s++;
}
return 1;
}
string mimeFileName( const char * name, const c... |
/*
* Filename: phantom_slam_host.c
* Author: <NAME>. University of York.
* Date: 28 March 2019
* Project: PHANTOM - Robot Demo
* Copyright: University of York
*
* Description: Program issues navigation commands to demo robot and builds SLAM map from read-back robot sensor data.
* ` ... |
/*
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, DISPLAYIN... |
#include <kore/kore.h>
#include <kore/http.h>
#include <openssl/sha.h>
#include <jansson.h>
#include <ctype.h>
#include <dirent.h>
#include <sys/statvfs.h>
#include "assets.h"
#include "snowflake.h"
#define URL "https://ssul.vertesine.com"
#define MESSAGE_ID 413
typedef struct
{
char *mime;
char *extension... |
/* Iperf commands
This example code is in the Public Domain (or CC0 licensed, at your option.)
Unless required by applicable law or agreed to in writing, this
software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS OF ANY KIND, either express or implied.
*/
#include <string.h>
#inc... |
/* zzekwpac.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;
/* $Procedure ZZEKWPAC ( EK, write paged array, character ) */
/* Subroutine */ int zzekw... |
/* SCCS Id: @(#)explode.c 3.4 2002/11/10 */
/* Copyright (C) 1990 by <NAME> */
/* NetHack may be freely redistributed. See license for details. */
#include "hack.h"
#ifdef OVL0
/* Note: Arrays are column first, while the screen is row first */
static int expl[3][3] = {
{ S_explode1, S_explode4, S_explode7 },
{ S_... |
/*
* coreSNTP v1.0.0
* Copyright (C) 2021 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, including with... |
#include "board.h"
#include "dmoc645.h"
// -------------------------------------------------------------
// Macro Definitions
#define CCAN_BAUD_RATE 500000 // Desired CAN Baud Rate
#define UART_BAUD_RATE 19200 // Desired UART Baud Rate
#define BUFFER_SIZE 8
// ---------------------------------------------... |
/*
* LEW-19710-1, CCSDS SOIS Electronic Data Sheet Implementation
*
* Copyright (c) 2020 United States Government as represented by
* the Administrator of the National Aeronautics and Space Administration.
* All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not... |
/*
HTTP session handling
Copyright (C) 1999-2021, <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 ... |
/*************************************************************************
eaf3d: Compute the empirical attainment function from a sequence of
non-dominated point sets (three-objective case)
---------------------------------------------------------------------
Copyright (c) 2009-2011
<NAME>... |
/* ======================================================================
tailfd
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, or (at your option)
any later version.
This progra... |
#include "include/my.h"
#include "include/screen.h"
#include "include/menu.h"
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <SFML/Graphics.h>
#include <math.h>
#include <SFML/Window/Export.h>
#include <SFML/Window/Keyboard.h>
#include "include/evolve.h"
#include <string.h>
#include <sys/stat.h>
... |
// imagew-resize.c
// Part of ImageWorsener, Copyright (c) 2011 by <NAME>.
// For more information, see the readme.txt file.
// The low-level resizing functions.
#include "imagew-config.h"
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include "imagew-internals.h"
#ifndef M_PI
#define M_PI 3.1415926535... |
/* firebase-upstream-server.c
** Firebase upstream messaging XMPP client (app server)
**
** Copyright (C) 2019 <NAME>
** Copyright (C) 2005-2009 Collecta, Inc.
**
** This software is provided AS-IS with no warranty, either express
** or implied.
**
** This program is licensed under the MIT licence.
**
** This program... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.