text stringlengths 5.8k 28.2k |
|---|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <time.h>
#include <inttypes.h>
#include <curl/curl.h>
#include <3ds.h>
#include "checksum.h"
#include "slot1.h"
#include "cfgu.h"
#include "fs.h"
#include "curl.h"
u8 workbuf[0xC00]={0};
u8 *usmlist;
const char *yellow="\x1b[33;1... |
/**
\brief A BSP module which abstracts away the "bsp_timer" and "radiotimer"
modules behind the "sctimer".
\author <NAME> <<EMAIL>>, May 2012.
\author <NAME> <<EMAIL>>, May 2012.
*/
#include "opendefs.h"
#include "bsp_timer.h"
#include "radiotimer.h"
#include "sctimer.h"
#include "debugpins.h"
... |
/*
$Id$
Copyright 1989-2014 MINES ParisTech
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 distr... |
#include <assert.h>
#include <dirent.h>
#include <err.h>
#include <errno.h>
#include <fcntl.h>
#include <openssl/md5.h>
#include <openssl/sha.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <unistd.h>
#include "sqlite3.h"
#define MAX_STACK_SIZE 128
#define BUFFER_SIZE 409... |
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include "av1/common/reconinter.h"
#include "av1/common/reconintra.h"
#include "av1/encoder/interintra_ml_data_collect.h"
#include "av1/encoder/reconinter_enc.h"
#define BORDER_SIZE 4 // Only generate data with a border of 4 pixels.
// Static references to... |
/*
* File: sound/soc/blackfin/bf5xx-i2s.c
* Author: <NAME> <<EMAIL>>
*
* Created: Tue June 06 2008
* Description: Blackfin I2S CPU DAI driver
*
* Modified:
* Copyright 2008 Analog Devices Inc.
*
* Bugs: Enter bugs at http://blackfin.uclinux.org/
*
* This program is ... |
/*
libpaillier - A library implementing the Paillier cryptosystem.
Copyright (C) 2006 SRI International.
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... |
#define _XOPEN_SOURCE 500
#include <fcntl.h>
#include <ftw.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <libelf.h>
#include <gelf.h>
#ifndef R_X86_64_COPY
#define R_X86_64_COPY 5
#endif
#ifndef STT_GNU_IFUNC
#define STT_GNU_IFUNC 10
#endif
#ifndef... |
#include "anime_global.h"
#include "anime.h"
#include "anime_tree.h"
#define DEBUG 1
enum { INT_ANIME_TREE_TOP = sizeof(int_anime_tree_t) == 1 ? UINT8_MAX : sizeof(int_anime_tree_t) == 2 ? UINT16_MAX : sizeof(int_anime_tree_t) == 4 ? UINT32_MAX : sizeof(int_anime_tree_t) == 8 ? UINT64_MAX : -1 };
enum { INT_ANIME_T... |
#include <stdio.h>
#include <float.h>
#include <string.h>
#include <stdlib.h>
#include <time.h>
#include "diffusionMin.h"
#include "util.h"
/* Store the "node" influencer into the "UsersLD" tree. */
void StoreInfluencer(int node, int id, double time)
{
struct Influencer *influencer = malloc(sizeof(struct Influencer))... |
/* File: mrqminbd.c
Date: February 22, 1999
By: <NAME>
Implements a Marquardt-Levenberg least-squares minimization to
find a set of parameters p to fit a nonlinear function f(p, x)
to a data set.
Modified from Numerical Recipes in C:
1) parameters can have upper & lower bounds
2) the c... |
/*
* Copyright 2004 PathScale, Inc. All Rights Reserved.
*/
/*
Copyright (C) 2000, 2001 Silicon Graphics, Inc. All Rights Reserved.
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 Sof... |
#define t_start 0.00005
#define t_byte 0.0000001
#include <stdio.h>
#include <mpi.h>
#include <stdlib.h>
#include "tiles.h"
#include "alloc.h"
#define max(x,y) ((x)>(y)?(x):(y))
#define min(x,y) ((x)<(y)?(x):(y))
void init_tile_data(int rank, int nprocs, int mesh_width, int mesh_height, struct TileData* tile_data) {
... |
/*
* ISC License
*
* Copyright (C) 1990-2018 by
* <NAME>
* <NAME>
* <NAME>
* Delft University of Technology
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appea... |
#include "windows.h"
#include "hbapi.h"
#include "math.h"
HB_FUNC( BEGIN_ROTATE )
{
HDC hDc = (HDC) hb_parnl( 1 );
int nGraphicsMode = SetGraphicsMode(hDc, GM_ADVANCED);
XFORM xform;
double fangle;
int m_iAngle = hb_parni( 2 );
POINT centerPt;
centerPt.y = hb_parni( 3 );
centerPt.x = hb_parni(... |
#pragma once
/**
* Copyright <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... |
//Copyright (c) 2018-2019, ARM Limited. All rights reserved.
//
//SPDX-License-Identifier: BSD-3-Clause
#define NDEBUG
#include <assert.h>
#include <stdbool.h>
#include <stdio.h>
#include <math.h>
#include <string.h>
#include "AArch64cryptolib.h"
#define MAX_LINE_LEN 128
#define cipher_mode_t armv8_ci... |
/*
* mkbootimg/fat.c
*
* Copyright (C) 2017 - 2021 bzt (<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 the rights to us... |
/*This file has been prepared for Doxygen automatic documentation generation.*/
/*! \file *********************************************************************
*
* \brief FreeRTOS port source for AVR32 UC3.
*
* - Compiler: GNU GCC for AVR32
* - Supported devices: All AVR32 devices can be used.
*... |
/**********
Copyright 1990 Regents of the University of California. All rights reserved.
Author: 1998 <NAME>, <NAME> and <NAME>
File: b3soipdnoi.c 98/5/01
Modified by <NAME> 02/3/5
Modified by <NAME> 2002
**********/
/*
* Revision 2.2.3 02/3/5 <NAME>
* BSIMPD2.2.3 release
*/
#include "ngspice/ngspice.... |
/* ../netlib/zlaed0.f -- translated by f2c (version 20100827). 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 en... |
// Copyright (C) 2018 Synopsys, Inc. All rights reserved worldwide.
//
// This file is part of bsdiff-thh, a branch of bsdiff.
// It is distributed by permission of the original author, but without endorsement.
// The Synopsys copyright reaffirms the original author''s copyright, included here verbatim:
/*-
* Copyrig... |
/* ========================================
*
* Copyright YOUR COMPANY, THE YEAR
* All Rights Reserved
* UNPUBLISHED, LICENSED SOFTWARE.
*
* CONFIDENTIAL AND PROPRIETARY INFORMATION
* WHICH IS THE PROPERTY OF your company.
*
* ========================================
*/
#include "CAPSENS.h"
#include "DISPLA... |
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright 2016, <NAME>, IBM Corp.
*
* This traverses the kernel virtual memory and dumps the pages that are in
* the hash pagetable, along with their flags to
* /sys/kernel/debug/kernel_hash_pagetable.
*
* If radix is enabled then there is no hash page table and so n... |
/* ----------------------------------------------------------------- */
/* The Speech Signal Processing Toolkit (SPTK) */
/* developed by SPTK Working Group */
/* http://sp-tk.sourceforge.net/ */
/* -----------------------------... |
#include<stdio.h>
#include<stdlib.h>
#include<stdbool.h>
#include<conio.h>
#include<time.h>
#include"listesF.h"
#include"couleurs.h"
#ifdef _WIN32
#include <windows.h>
#define couleur SetConsoleTextAttribute
#else
#include<unistd.h>
#endif
#define DEBUG
HANDLE console;
// *************************************
//... |
#include "PlayerController.h"
#include "PlayerPhysics.h"
#include "../TimeMeasurement.h"
#include "../Window.h"
#include "../Map/Block.h"
#include <assert.h>
static void OnLeftMouseButton(PlayerController* pC)
{
if(!pC->player->pointingAtBlock)
return;
Player* p = pC->player;
int32_t x = p->blockPointed... |
/*
* Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
* See https://llvm.org/LICENSE.txt for license information.
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
*
*/
/** \file commopt.h
\brief macros, definitions, and prototypes for communications module
*/
#define MAX... |
/*Daala video codec
Copyright (c) 2013 Daala project contributors. 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... |
/*
* The MIT License (MIT)
*
* Copyright (c) 2015 - 2016 Samsung Electronics
* <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 ... |
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#include <assert.h>
#include "nlr.h"
#include "misc.h"
#include "mpconfig.h"
#include "qstr.h"
#include "obj.h"
#include "map.h"
#include "runtime0.h"
#include "runtime.h"
/******************************************************************************/
// cl... |
/*
Teem: Tools to process and visualize scientific data and images
Copyright (C) 2005 <NAME>
Copyright (C) 2004, 2003, 2002, 2001, 2000, 1999, 1998 University of Utah
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public License
(LGPL) as... |
/*
* ipneigh.c "ip neigh".
*
* 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.
*
* Authors: <NAME>, <<EMAIL>>... |
#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... |
/*
* "$Id: rastertozj.c,v 1.1 2001/08/30 19:37:33 mike Exp $"
*
* Zjiang printer filter for the Common UNIX
* Printing System (CUPS).
*
* Copyright 2007-2011 by Zjiang .
*
* Contents:
*
* Setup() - Prepare the printer for printing.
* StartPage() - Start a page of graphics.
* EndPage() ... |
/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/savage/savage_dga.c,v 1.9 2004/12/07 15:59:20 tsi Exp $ */
/*
* Copyright (C) 1994-2000 The XFree86 Project, Inc.
* All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentat... |
/*
*
* vm.c - Virtual Machine using kmz80.c for KSSPLAY written by <NAME> 2001.
*
* 2001-06-15 : Version 0.00
*
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include "mmap.h"
#include "vm.h"
/* Callback functions from KMZ80 */
static uint32_t memread(VM *vm, ui... |
/*
* Copyright (c) 2000 Silicon Graphics, Inc. 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 Free Software Foundation.
*
* This program is distributed in the hope that it w... |
/* F B S E R V . C
* BRL-CAD
*
* Copyright (c) 2004-2021 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 ... |
/*
* ssl_client_cert_pw_providers.c: providers for
* SVN_AUTH_CRED_SSL_CLIENT_CERT_PW
*
* ====================================================================
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with th... |
/*-
* Copyright (c) 2001 The FreeBSD Project
* 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 o... |
// The MIT License (MIT)
//
// Copyright (c) 2013 <NAME>, <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, ... |
/*-
* Copyright 2003-2005 <NAME>
* All rights reserved
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted providing that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions... |
/*
** ifind (inode find)
** The Sleuth Kit
**
** Given an image and block number, identify which inode it is used by
**
** <NAME> [carrier <at> sleuthkit [dot] org]
** Copyright (c) 2006-2011 <NAME>, Basis Technology. All Rights reserved
** Copyright (c) 2003-2005 <NAME>. All rights reserved
**
** TASK
** Copyright ... |
/* Copyright (c) 1994-1996 <NAME>, see README for licence details */
#include <stdio.h>
#include <signal.h>
#include <errno.h>
#include <stdlib.h>
#include <unistd.h>
#include <X11/X.h>
#include <X11/Xos.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <X11/Xatom.h>
#ifdef SHAPE
#include <X11/extensions/shape.h... |
/*
* Copyright (c) 1993, 1994, 1995 <NAME> <<EMAIL>>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this... |
#include <CNFG3D.h>
#include <unistd.h>
#include <os_generic.h>
#include <string.h>
#include <math.h>
#include <spreadgine_vr.h>
#include <spreadgine_util.h>
#include <spreadgine_remote.h>
#include <stdarg.h>
#include "modules/textboxes.h"
#include "modules/ttyinput.h"
TextBox * tbfocus;
void HandleKeypress( int ch, ... |
// SPDX-License-Identifier: GPL-2.0
/*
* Copyright (C) 2013 - 2015 Fujitsu Semiconductor, Ltd
* <NAME> <<EMAIL>>
* Copyright (C) 2015 Linaro Ltd <NAME> <<EMAIL>>
* Copyright (C) 2019 Socionext Inc.
* <NAME> <<EMAIL>>
*/
#include <linux/bits.h>
#include <linux/clk.h>
#include <linux/del... |
/* Copyright (c) 2010 The Native Client Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
/*
* ncdecodex87.c - Handles x87 instructions.
*
* Note: These instructions are derived from tabler A-10 in Appendx
* section A.2.7 - x87... |
#include<stdio.h>
#include<stdlib.h>
#include<stdbool.h>
#include<math.h>
#include<assert.h>
//#define DEBUG
#define NUM_LEVELS 11
typedef struct node node;
typedef struct llist llist;
struct node {
void *start_addr;
void *end_addr;
int size;
node *next;
node *prev;
};
struct llist {
node *head;
node *tail;
... |
/*
* Copyright (c) 2003 <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, dis... |
/* sha256.c - an implementation of SHA-256/224 hash functions
* based on FIPS 180-3 (Federal Information Processing Standart).
*
* Copyright: 2010-2012 <NAME> <<EMAIL>>
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "S... |
/* $Id: roff.h,v 1.69 2019/03/04 13:01:57 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 <NAME> <<EMAIL>>
* Copyright (c) 2013-2015, 2017-2019 <NAME> <<EMAIL>>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the a... |
/*========================================================================*
* COPYRIGHT: *
* Freescale Semiconductor, INC. All Rights Reserved. You are hereby *
* granted a copyright license to use, modify, and distribute the *
* SOFTWARE so ... |
// Copyright 2020 Espressif Systems (Shanghai) Co. Ltd.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by appli... |
#include <stdio.h>
#include "utils.h"
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <klee/klee.h>
//remember which obj is being requested
int pendingHttpObj;
//to remember for whom the proxy is fetching the missing obj
int waitingClientIP;
int waitingClientPort;
Link linkParser(char *linksLineS... |
/*
* Copyright (c) 2009-2020, <NAME>
* Copyright (c) 2004-2008, SWITCH - Teleinformatikdienste fuer Lehre und Forschung
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Re... |
#include <SDL2/SDL.h>
#include <stdint.h>
#include <time.h>
#define VROWS (32)
#define VCOLS (64)
#define BYTES (4096)
#define START (0x0200)
#define VSIZE (16)
#define SSIZE (12)
#define BFONT (80)
static uint64_t vmem[VROWS];
static uint16_t pc = START;
static uint16_t I;
static uint16_t s[SSIZE];
static uint16_t ... |
#include "live_api.h"
#include <string.h>
#include <stdio.h>
#include "live_api_parse.h"
#include "send.h"
#include "receive.h"
#include "mqtt.h"
// TODO tune these values
#define KEEPALIVE_INTERVAL 30
#define MQTT_TIMEOUT 30
#define OFFLINE_REQUEST_INTERVAL 5
typedef struct {
char username[LIVE_API_MAX_USERNAME_... |
#include <rb_tree.h>
#include <paging.h>
#include <logging.h>
#include <mem_alloc.h>
#define MAGIC (uint32_t)0xa1b2c3d4 /* last bit is ignored */
#define set_magic(block) ((block)->magic = ((MAGIC & ~(1 << 0)) | ((block)->magic & (1 << 0))))
#define check_magic(block) (((block... |
/*
* TMC4361.c
*
* Created on: 18.07.2017
* Author: LK
*/
#include "TMC4361.h"
// => SPI wrapper
// Send [length] bytes stored in the [data] array over SPI and overwrite [data]
// with the replies. data[0] is the first byte sent and received.
extern void tmc4361_readWriteArray(uint8_t channel, ... |
/*
* Sysctl operations for Coda filesystem
* Original version: (C) 1996 <NAME> and <NAME>
* Rewritten for Linux 2.1. (C) 1997 Carnegie Mellon University
*
* Carnegie Mellon encourages users to contribute improvements to
* the Coda project. Contact <NAME> (<EMAIL>).
*
* CODA operation statistics
* (c) March, ... |
/* Target-dependent code for the IA-64 for GDB, the GNU debugger.
Copyright (C) 2010 Free Software Foundation, Inc.
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 Software Foun... |
/*******************************************************************************
Copyright 2018 Google 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
https://www.apache... |
// -*- tab-width: 8; Mode: C++; c-basic-offset: 8; indent-tabs-mode: -*- t -*-
/*
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 3 of the License, or
(at your option) any l... |
#include "trab2.h"
// HBD
bool print_memory_usage=false;
struct _solucao_t {
size_t pos_A;
size_t pos_B;
struct _solucao_t *proximo;
};
// função para calcular o mínimo de uma lista terminada em NAN
static double
s_min(double list[]){
double *p=list;
double min= *p;
while (!isnan(*... |
/*
* Copyright (c) 2015-2018 Nexenta Systems, inc.
*
* This file is part of EdgeFS Project
* (see https://github.com/Nexenta/edgefs).
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional informat... |
/**
* \file
*
* \brief Unit tests for FreeRTOS SPI Interface Layer.
*
* Copyright (c) 2011-2018 Microchip Technology Inc. and its subsidiaries.
*
* \asf_license_start
*
* \page License
*
* Subject to your compliance with these terms, you may use Microchip
* software and any derivatives exclusively with Micr... |
/*
* This file is part of Jehanne.
*
* Copyright (C) 2017-2018 <NAME> <<EMAIL>>
*
* This is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, version 3 of the License.
*
* Jehanne is distributed in ... |
//
// video_stage_tcp.c
// ARDroneEngine
//
// Created by nicolas on 15/07/11.
// Copyright 2011 Parrot. All rights reserved.
//
#include "video_stage_tcp.h"
#include <VP_Os/vp_os_malloc.h>
#include <VP_Os/vp_os_print.h>
#include <video_encapsulation.h>
#include <VP_Os/vp_os_assert.h>
/* CONFIGURATION */
#define... |
/*****************************************************************************************
Copyright (c) 2002, 2016 The UbixOS Project
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are
permitted provided that the following conditions are met:
Redistribution... |
#include "mpeg4-hevc.h"
#include <stdio.h>
#include <string.h>
#include <assert.h>
#define H265_VPS 32
#define H265_SPS 33
#define H265_PPS 34
#define H265_PREFIX_SEI 39
#define H265_SUFFIX_SEI 40
static uint8_t* w32(uint8_t* p, uint32_t v)
{
*p++ = (uint8_t)(v >> 24);
*p++ = (uint8_t)(v >> 16);
*p++ = (uint8_t... |
/**
* \file math_crypto.c
* \author <NAME> - <NAME>
* \date 2017
* \brief contient les fonctions concernant les mathematiques en cryptographie
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <tomcrypt.h>
#include <gmp.h>
#include <math.h>
#include <stdint.h>
#include <string.h>
#include "pg... |
#include <stdio.h>
#include <string.h>
#include <inttypes.h>
#include "event-parse.h"
typedef unsigned long sector_t;
typedef uint64_t u64;
typedef unsigned int u32;
/*
* SCSI opcodes
*/
#define TEST_UNIT_READY 0x00
#define REZERO_UNIT 0x01
#define REQUEST_SENSE 0x03
#define FORMAT_UNIT 0x04
#define RE... |
/*
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, merge, publish, distrib... |
/*! \file bcmltm_fa_track.c
*
* Logical Table Manager Field Adaptation
*
* Logical Table Tracking Index calculations
*
* This file contains the LTM FA stage functions for Logical Table
* Tracking Index calculations.
* The Tracking Index is a combination of the device parameters
* required to identify a unique ... |
/**
@file fatfs/utils/mmc_fmt.c
@par Edit History
- [1.0] [Mike Gore] Initial revision of file.
@par Copyright © 2014 Mike Gore, Inc. All rights reserved.
*/
/*** MMC Unlocker *************************************************************
*
* File Name : mmcfmt.c
* Title : Multi-Media Card Unlock... |
/*
* @brief USB Band Width test and WCID examples for USB ROM API.
*
*
* @note
* Copyright(C) NXP Semiconductors, 2013
* All rights reserved.
*
* @par
* Software that is described herein is for illustrative purposes only
* which provides customers with programming information regarding the
* LPC p... |
#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... |
/* $Id$ */
/*--------------------------------------------------------------------*/
/*; Copyright (C) 2006,2019 */
/*; Associated Universities, Inc. Washington DC, USA. */
/*; */
/*; This ... |
/*-
* SPDX-License-Identifier: BSD-2-Clause OR GPL-2.0
*
* Copyright (c) 2006 Mellanox Technologies Ltd. All rights reserved.
*
* This software is available to you under a choice of one of two
* licenses. You may choose to be licensed under the terms of the GNU
* General Public License (GPL) Version 2, availab... |
#include <libopencm3/cm3/common.h>
#include <libopencm3/cm3/vector.h>
#include <libopencm3/cm3/scb.h>
#include <libopencm3/cm3/nvic.h>
#include <libopencm3/usb/usbd.h>
#include <libopencm3/usb/cdc.h>
#include <libopencm3/efm32/cmu.h>
#include <libopencm3/efm32/gpio.h>
#include <libopencm3/efm32/common/prs_common.h>
#in... |
/* --------------------------------------------------------------------------
* For this unit test we will simulate a temperature supervisor, that will
* trigger an alarm on overtemperature and has to be reset by a keypress, once
* the temperature has gone down.
* ---------------------------------------------------... |
/*
* Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009
* <NAME> <<EMAIL>>.
*
* This file is part of JamVM.
*
* 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 ... |
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <gst/gst.h>
#include <gst/app/app.h>
#include "utils.h"
#include "recording-data.h"
typedef struct gst_reader {
GstElement *pipeline;
GstElement *urisource;
GstElement *parsebin;
GstBus *bus;
gint next_stream_id;
GMutex stream_lock;
GList *s... |
/*
* aestest.c - test AES functions
* $Id: eaxtest.c,v 1.1 2006-04-07 03:06:19 kensaku Exp $
*/
/*
* based on test vectors in the paper
* <NAME>, <NAME>, <NAME>,
* "The EAX Mode of Operation
* (A Two-Pass Authenticated-Encryption Scheme
* Optimized for Simplicity and Efficiency)"
*/
/*
* Usa... |
/*****************************************
* TITLE: Bagdad's Thief
* AUTHOR: <NAME>
******************************************/
/*****************************************
I am making a platform game where the player
has to reach the goal line at the end of
a long scrolling map.
The player can run, jump, frontflip... |
/* ====================================================================
* Copyright (c) 1996-2000 Carnegie Mellon University. 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. Red... |
/*
* Copyright (c) 2015 Fujitsu Ltd.
* Copyright (c) International Business Machines Corp., 2001
*
* 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 3 of the License, or
* (... |
/*
* Copyright (c) 2010-2012 Apple Inc. All Rights Reserved.
*
* @APPLE_LICENSE_HEADER_START@
*
* This file contains Original Code and/or Modifications of Original Code
* as defined in and that are subject to the Apple Public Source License
* Version 2.0 (the 'License'). You may not use this file except in
* ... |
/* basep.c
*/
/*
Basepractice Sever robot by <NAME>
Based on Ted Hadleys practice server and Vanilla 2.2 puck
*/
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <sys/types.h>
#include <sys/time.h>
#include <sys/resource.h>
#include <signal.h>
#include <sys/file.h>
#includ... |
/*
* Copyright (C) 2007 Novell, Inc (http://www.novell.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 use, copy, m... |
/*
* Functions for controlling Si Labs Transceivers
*
* for Pico Balloon Tracker using HC12 radio module and GPS
* HC12 Module with STM8S003F3 processor and silabs Si4463 Radio
*
* Derived Work Copyright (c) 2018 Imperial College Space Society
* From original work Copyright (C) 2014 <NAME> <richardeoin>
*
* Permiss... |
#include <stdio.h>
#include <errno.h>
#include <unistd.h>
#include <stdlib.h>
#include <stdarg.h>
#include <stdbool.h>
#include <string.h>
#include <limits.h>
#include <syslog.h>
#include <signal.h>
//#include <pwd.h>
//#include <grp.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/select.h>
#include <... |
#include <stdio.h>
#include <stdarg.h>
#include <string.h>
#include <assert.h>
#include "symbols.h"
#include "file.h"
#include "nodes.h"
#include "types.h"
#include "variables.h"
///////////////////
// file pointers //
///////////////////
static FILE *ast_ptr = NULL; // ast input/output
//////////
// misc //
/... |
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
#include <assert.h>
#include <netdb.h>
#include <xok/sysinfo.h>
#include <xok/sys_ucall.h>
#include <exos/netinet/hosttable.h>
#include <exos/osdecl.h>
#include <xio/xio_net_wrap.h>
static xio_nwinfo_t nwinfo;
#define DIRECT_XMIT
static struct ae_recv outp... |
// 0x0700ECC8 - 0x0700ED98
static const Vtx ttm_seg7_vertex_0700ECC8[] = {
{{{ 262, 151, -248}, 0, { -1684, 960}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 9, 151, -286}, 0, { -770, -1426}, {0xff, 0xff, 0xff, 0xff}}},
{{{ 8, 202, -479}, 0, { -2444, -2382}, {0xff, 0xff, 0xff, 0xff}}},
... |
//---------------------------------------------------------------------------------------
// Smile Programming Language Interpreter
// Copyright 2004-2019 <NAME>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obta... |
/* code for parsing arguments from command line for CRISP and for parsing the input file with information about BAM file and pool sizes
*/
//void init_parser(struct OPTIONS* options);
int optparser(int argc, char* argv[],struct OPTIONS* options);
int parse_arguments(int argc,char* argv[],struct OPTIONS* options,ch... |
/* This file is part of ToaruOS and is released under the terms
* of the NCSA / University of Illinois License - see LICENSE.md
* Copyright (C) 2013-2014 <NAME>
*
* GL teapot with shaders.
*/
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <unistd.h>
#include <GL/gl.h>
#include <GL/glu.h>
#inclu... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.