text stringlengths 5.8k 28.2k |
|---|
#include "renderlib.h"
#include "render.h"
#include "font.h"
#include "utils.h"
#include "z80.h"
#include "z80opcodes.h"
#include "mmu.h"
#include "display.h"
#include "debugger.h"
extern Font* defaultFont;
extern uint8_t mode;
extern uint8_t modeRender;
Debugger* dbg = NULL;
Debugger* DBGInit()
{
Debugger* ct... |
#define _DEFAULT_SOURCE
#define _BSD_SOURCE
#define _GNU_SOURCE
#include <ctype.h>
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdarg.h>
#include <time.h>
#include "terminal.h"
#include "support.h"
#include "buffer.h"
#include "todo.h"
#define TODO_VERSION "0.0.1"
#define TODO_OFFSET 6
#define... |
/**
\file troposphere.c
\brief GNSS core 'c' function library: GPS tropospheric calculations
\author <NAME> (GDM)
\date 2007-11-29
\since 2005-08-22
\b REFERENCES \n
- RTCA, 2001. MINIMUM OPERATIONAL PERFORMANCE STANDARDS FOR GLOBAL POSITIONING SYSTEM/WIDE AREA
AUGMENTATION SYSTEM AIRBORNE EQUIPMENT. RTCA/D... |
/* main.c
*
* This is the entry point for the system. System init
* is performed, then the main app is kicked off.
*/
#include "isrLib.h"
#include "scriptLib.h"
#include "etpu_init.h"
#include "etpu_util_ext.h"
#include "etpu_ms1553_mt.h"
#include "etpu_ms1553_isr.h"
// eTPU configuration
#define MT_RX_CHAN ... |
/* jc_test.h Copyright 2016- <NAME>
*
* https://github.com/JCash
*
* BRIEF:
*
* A tiny single header C/C++ test framework
* Made sure to compile with hardest warning/error levels possible
*
* HISTORY:
*
* 0.2 2016-12-29 Added stdbool.h. Some C99 compile warnings
* 0.1 Initial version
*
* USAG... |
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/module.h>
#include <asm/io.h>
#include <asm/delay.h>
#include <asm/page.h>
#include <linux/proc_fs.h>
#include <linux/sched.h>
#include <asm/uaccess.h>
#define jiffiespersec HZ
#define surf_standby 2
#define surf_active 4
#define surf_boot 5
#defin... |
/********************************************************
* *
* Licensed under the Academic Free License version 3.0 *
* *
********************************************************/
#include <stdlib.h>
#include... |
/*
* options.c:
*
*
*/
#include "config.h"
#include <sys/types.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <net/if.h>
#include "iftop.h"
#include "options.h"
#include "cf... |
/*
* This file is part of the coreboot project.
*
* Copyright (C) 2007-2009 coresystems GmbH
*
* 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; version 2 of
* the License.
*
* This prog... |
/*
Copyright (C) 1997-2001 Id Software, Inc.
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 distribut... |
#include "clib-log.h"
#include <time.h>
#include <stdio.h>
#include <fcntl.h>
#include <errno.h>
#include <unistd.h>
#include <stdlib.h>
#include <stdarg.h>
#include <stdint.h>
#include <string.h>
#include <pthread.h>
#include <sys/uio.h>
#include <sys/time.h>
#include <sys/stat.h>
#include <sys/types.h>
#define LOG_... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <signal.h>
#include <semaphore.h>
#include <pthread.h>
#include <ctype.h>
#include <stdint.h>
#include <fcntl.h> // for open
int client = 0;
int thread_close = 0;
char *strlwr(char *str)... |
/* $XFree86: xc/programs/Xserver/hw/xfree86/accel/i128/i128reg.h,v 3.5.2.1 1997/05/23 12:19:39 dawes Exp $ */
/*
* Copyright 1994 by <NAME> <<EMAIL>>
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
* the ab... |
#include <arpa/inet.h>
#include <errno.h>
#include <fcntl.h> /* Added for the nonblocking socket */
#include <netinet/in.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/mman.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <unistd.h>
#include "config.h"
enum... |
/*++
/* NAME
/* qmgr 3h
/* SUMMARY
/* queue manager data structures
/* SYNOPSIS
/* #include "qmgr.h"
/* DESCRIPTION
/* .nf
/*
* System library.
*/
#include <sys/time.h>
#include <time.h>
/*
* Utility library.
*/
#include <vstream.h>
#include <scan_dir.h>
/*
* Global library.
*/
#include <recipient_lis... |
/* SCTP kernel Implementation
* (C) Copyright IBM Corp. 2001, 2003
* Copyright (C) 1999 Cisco
* Copyright (C) 1999-2000 Motorola
# Copyright (C) 2001 Nokia
* Copyright (C) 2001 <NAME>
*
* The SCTP implementation is free software;
* you can redistribute it and/or modify it under the terms of
* the GNU General P... |
/* crypto/bn/bn_mont.c */
/* Copyright (C) 1995-1998 <NAME> (<EMAIL>)
* All rights reserved.
*
* This package is an SSL implementation written
* by <NAME> (<EMAIL>).
* The implementation was written so as to conform with Netscapes SSL.
*
* This library is free for commercial and non-commercial use as long as
*... |
/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file : main.c
* @brief : Main program body
******************************************************************************
* This notice applies to any and all portions of... |
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <string.h>
#include <unistd.h>
#include <signal.h>
#include <sys/wait.h>
#include <arpa/inet.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <pthread.h>
#define BOARD_SIZE 5
#define NAME_SIZE 10
#define BUF_SIZE 100
#define BACKLOG 3
#define... |
#pragma once
void MultiplyMatrices4by4OpenGL_FLOAT(float *result, float *matrix1,
float *matrix2) {
result[0] = matrix1[0] * matrix2[0] +
matrix1[4] * matrix2[1] +
matrix1[8] * matrix2[2] +
matrix1[12] * matrix2[3];
result[4] = matrix1... |
/**
* Copyright (C) 2011-2012 <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 option) any later version.
*
* This ... |
//---------------------------------------------------------------------------
#include <string.h> //strncpy
#include <stdio.h> //printf
#include <stdlib.h> //abs
#include "melpe_pc/melpe.h" //voice codec
#include "hw_pc/sound.h" //audio grabbing and playing
#include "hw_pc/comport.h" //COM port
#include "crp_p... |
/*
* Copyright (c) 2012 Qualcomm Atheros, Inc.
*
* 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 appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUT... |
/*
* rfcomm_pppd.c
*/
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2001-2008 <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. Redistribu... |
/*
* Copyright (c) 2006, Swedish Institute of Computer Science
* 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
* no... |
/*
* Copyright (c) 2013, Red Hat Inc.
*
* 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 conditions and the
*... |
/*
* linux and CPU test
*
* Copyright (c) 2003 <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.
*... |
//------------------------------------------------------------------------------
// mrt-metal.c
//------------------------------------------------------------------------------
#include <stddef.h> /* offsetof */
#include "osxentry.h"
#include "sokol_gfx.h"
#define HANDMADE_MATH_IMPLEMENTATION
#define HANDMADE_MATH... |
/**************************************************************************
* Microsoft COCO Toolbox. version 2.0
* Data, paper, and tutorials available at: http://mscoco.org/
* Code written by <NAME> and <NAME>, 2015.
* Licensed under the Simplified BSD License [see coco/license.txt]
****************************... |
/*
* Copyright (C) 2015-2018 Alibaba Group Holding Limited
*/
#include "iot_import.h"
#include "utils_list.h"
#include "iotx_utils.h"
#include "shadow.h"
#include "shadow_common.h"
#include "shadow_update.h"
#include "shadow_delta.h"
#include "shadow_debug.h"
/* check return code */
#define CHECK_RETURN_CODE(r... |
/* P R E V I E W . C
* BRL-CAD
*
* Copyright (c) 2008-2021 United States Government as represented by
* the U.S. Army Research Laboratory.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* version 2.1 ... |
const char *SIGN_caps_c="{FILESIGN=caps.c:20141031194212+0900:e4a4048df60febb0:<EMAIL>:RWKPTzv2hBaBCzPYzSPRSIHNo3FJPoEDX1rP+4jNypQKgmautsLYGkFVrnfDxWGbIG8lvH4tIKxkB7HvZSsUbYxh1xnqqp4bfHByo8Nh9SphmAlRkhozJGWihWhIrenwZborq5QKW2CAHq0ImLNhffu9nYOY/XxBoEvXW34tU6o=}";
/*//////////////////////////////////////////////////////... |
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* Fluent Bit
* ==========
* Copyright (C) 2015-2022 The Fluent Bit Authors
*
* 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... |
#include <ross.h>
#include <doryta_config.h>
#include "driver/neuron.h"
#include "model-loaders/hardcoded/five_neurons.h"
#include "model-loaders/hardcoded/gameoflife.h"
#include "model-loaders/hardcoded/random_spikes.h"
#include "model-loaders/regular_io/load_neurons.h"
#include "model-loaders/regular_io/load_spikes.h... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdbool.h>
#include <lwip/sockets.h>
#include "lwip/dns.h"
#include "lwip/inet.h"
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "freertos/semphr.h"
#include "freertos/queue.h"
#include "freertos/timers.h"
#include "esp_wifi.h"
#i... |
/*
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
* University Research and Technology
* Corporation. All rights reserved.
* Copyright (c) 2004-2005 The University of Tennessee and The University
* of Tennessee Resea... |
/*
* Copyright (C) 2018 Intel Corporation. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*
* this file contains vmcs operations which is vcpu related
*/
#include <types.h>
#include <errno.h>
#include <bits.h>
#include <irq.h>
#include <mmu.h>
#include <vcpu.h>
#include <vm.h>
#include <vmx.h>
#i... |
/*
Copyright (c) 1991-1999 <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, publi... |
/*
Author: <NAME> <<EMAIL>>
Copyright (c) 2015 Cromulence LLC
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... |
#include <sys/socket.h>
#include <sys/types.h>
#include <sys/poll.h>
#include <sys/time.h>
#include <netinet/in.h>
#include <netdb.h>
#include <stdio.h>
#include <string.h>
#include <assert.h>
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include <arpa/inet.h>
#include <fcntl.h>
#include <uuid/uuid.h>
#in... |
/* GStreamer
* Copyright (C) 1999 <NAME> <<EMAIL>>
* 2001 <NAME> <<EMAIL>>
* 2003 <NAME> <wingo at pobox.com>
* 2016 <NAME> <<EMAIL>>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* Licens... |
#include <a.h>
#include <aora.h>
#include "config/b.h"
/* TODO: add building only if file in $in(-target) or $depfile has been changed */
/* TODO: building cross-b (prefixing commands) */
/* TODO: cross-building with b (prefixing output files) */
#define debg(...) writefmt(1, __VA_ARGS__);
int cflag, iflag, vflag;
ch... |
/* connect */
/* pb-c.h and pb-c.c files are generated by protoc-c tool. */
#include "availability.pb-c.h"
#include "commands.pb-c.h"
#include "frame_stream.pb-c.h"
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <stdbool.h>
#include <string.h>
#include <sys/types.h>
#include <sys/socket.h>
#inclu... |
/**
* @file lv_style.c
*
*/
/*********************
* INCLUDES
*********************/
#include "../../lv_conf.h"
#include "lv_style.h"
#include "lv_obj.h"
#include "../lv_misc/lv_mem.h"
/*********************
* DEFINES
*********************/
#if USE_LV_ANIMATION
#define LV_STYLE_ANIM_RES 256
#define... |
/* See LICENSE file for copyright and license details. */
struct rule {
const char *devregex;
const char *user;
const char *group;
int mode;
const char *path;
const char *cmd;
} rules[] = {
//tty
{ "console", "root", "tty", 0600, NULL, NULL },
{ "pty.*", "root", "... |
/* Sample system-dependent communications i/o routines for embedded Kermit. */
/*
Author: <NAME>.
Copyright (C) 1995, 2011.
Trustees of Columbia University in the City of New York.
All rights reserved.
See kermit.c for license.
*/
/*
The sample i/o routines for UNIX that provide packet i/o
functions on ... |
/*
* Academic License - for use in teaching, academic research, and meeting
* course requirements at degree granting institutions only. Not for
* government, commercial, or other organizational use.
*
* computeForwardKinematicsFast.c
*
* Code generation for function 'computeForwardKinematicsFast'
*
*/
/* Inc... |
/*
* Copyright (c) 2001-2019, Arm Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause OR Arm’s non-OSI source license
*/
/************* Include Files ****************/
#include <stdint.h>
#include <string.h>
#include "cc_pal_log.h"
#include "cc_prod_error.h"
#include "prod_hw_... |
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2009-2013 <NAME>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain th... |
/*
* Copyright (c) 2004-2010, <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 list of condi... |
// Authors: <NAME>, <NAME>
// NetID: ac1678, mme94
#include "my_vm.h"
void * physical_memory = NULL;
pde_t ** page_dir;
char * vp_bitmap;
int vp_bitmap_len;
char * pp_bitmap;
int pp_bitmap_len;
int totalBitLen;
int pageOffsetLen;
int pdeOffsetLen;
int pteOffsetLen;
int address_mat1;
int address_mat2;
int addres... |
// File: hw5.c
// Solution by <NAME>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#define BUF 128 // ASSUMPTION: LINE BUFFER SIZE
#define LEN 5 // ASSUMPTION: # OF LINES
typedef enum { false, true } bool;
struct stall {
char stall_reg[4]; // Duplicate register.
int instruc_t... |
#include "hash_align.h"
#include "macros.h"
void g_add_sort(unsigned int **arr, unsigned int value, unsigned int idx,
unsigned int *i, unsigned int *k)
{
arr[0][*i] = value;
arr[1][*i] = idx;
++*i;
++*k;
}
void g_merge_sort(unsigned int **arr1, unsigned int n1,
unsigned int **arr2, unsigned int n2... |
/******************************************************************************
*
* Copyright (c) 2014, Intel Corporation.
* 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.
*
... |
#include "nesapu.h"
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
// extern char noizes[0x20000];
nesAPU* apuCreate(aextmrd cb, void* d) {
nesAPU* apu = (nesAPU*)malloc(sizeof(nesAPU));
memset(apu, 0x00, sizeof(nesAPU));
apu->mrd = cb;
apu->data = d;
apu->wdiv = 3729;
return apu;
}
void apuDestro... |
/*-------------------------------------------------------------------------
*
* libpq_source.c
* Functions for fetching files from a remote server via libpq.
*
* Copyright (c) 2013-2022, PostgreSQL Global Development Group
*
*-------------------------------------------------------------------------
*/
#includ... |
/*
Copyright: <NAME>, 2016-2017
License: MIT except for any non-public-domain algorithms (none that I'm aware
of), which might be subject to their own licenses.
Feel free to copy, use and enjoy in accordance with to the license(s).
*/
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#include "fio_sha1.h"
#include <stri... |
/***************************************************************************
* __________ __ ___.
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> ... |
/*
* This file and its contents are licensed under the Timescale License.
* Please see the included NOTICE for copyright information and
* LICENSE-TIMESCALE for a copy of the license.
*/
#include <postgres.h>
#include <miscadmin.h>
#include <parser/parse_coerce.h>
#include <jsonb_utils.h>
#include <utils/builtins... |
//////////////////////////////////////////////////////////////////////////////////////////////
//
// USER DRIVER ROUTINES DECLARATION (PROCESSOR DEPENDENT)
//
// (c) Copyright 2018, <NAME>, Selangor, MALAYSIA
// All Rights Reserved
//
///////////////////////////////////////////////////////////////////////... |
/*
* Copyright (C) 2014 BlueKitchen GmbH
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the follo... |
/*
* spectrumMngmntMgr.c
*
* Copyright(c) 1998 - 2009 Texas Instruments. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without... |
/* Copyright (c) 2007 Atmel 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 conditions ... |
/*
* compose persistent device path
*
* Copyright (C) 2009-2011 <NAME> <<EMAIL>>
*
* Logic based on Hannes Reinecke's shell script.
*
* 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, eit... |
/*
Measure the entropy level dynamically from the Infinite Noise Multiplier.
The theory behind this is simple. The next bit from the INM TRNG can be
guessed, based on the previous bits, by measuring how often a 0 or 1 occurs
given the previous bits. Update these statistics dynamically, and use them to
determine how ... |
/*
* Copyright 2010 <NAME> <<EMAIL>>
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* on the rights to use, copy, modify, merge, pub... |
/* -*- c-file-style: "k&r"; indent-tabs-mode: nil; -*- */
/*********************************************************************
* The MIT License (MIT)
*
* Copyright (c) 2013,2014 Genome Institute of Singapore
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and ass... |
/* packet-mrp_mmrp.c
* Routines for MMRP (MRP Multiple Mac Registration Protocol) dissection
* Copyright 2011, <NAME> <johannes.jochen[AT]belden.com>
*
*
* Based on the code from packet-mrp-msrp.c (MSRP) from
* <NAME> <tatcitty[AT]harman.com> and <NAME> <craig.gunther[AT]harman.com>
* Copyright 2010
*
* Wiresh... |
#include "system_calls.h"
#include "terminal.h"
#include "keyboard.h"
#include "rtc.h"
#include "file_system.h"
#include "x86_desc.h"
#include "paging.h"
#include "lib.h"
#define IN_USE 1
#define NOT_IN_USE 0
int process_flag[MAX_NUM_FILE] = {NOT_IN_USE, NOT_IN_USE, NOT_IN_USE,
NOT_IN_USE, NOT_IN_USE, NOT_IN_USE}... |
// Copyright (c) <NAME> - Licensed under GNU GPL
// For more information, see LICENCE in the main folder
#include "cbasetypes.h"
#include "showmsg.h"
#include "socket.h"
#include "utils.h"
#include <stdlib.h>
#include <string.h>
#include <math.h> // floor()
#ifdef WIN32
#include "winapi.h"
#ifndef F_OK
#define F... |
// SPDX-License-Identifier: GPL-2.0-or-later
/* P9 gzip sample code for demonstrating the P9 NX hardware interface.
* Not intended for productive uses or for performance or compression
* ratio measurements. For simplicity of demonstration, this sample
* code compresses in to fixed Huffman blocks only (Deflate btyp... |
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include <stdlib.h>
#include <llvm-c/Core.h>
#include <llvm-c/Analysis.h>
#include "khash.h"
// The lexer returns tokens [0-255] if it is an unknown character, otherwise one
// of these for known things.
typedef enum {
tok_eof = -1,
// commands
to... |
/* ========================================
*
* 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 "DISPLAY... |
/*
dataset.c
this file is part of ustar_mp
author: <NAME> <<EMAIL>>
owner: DIBAF - University of Tuscia, Viterbo, Italy
scientific contact: <NAME> <<EMAIL>>
*/
/* includes */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <assert.h>
#include "dataset.h"
... |
/*
* iocccsize - IOCCC Source Size Tool
*
* "You are not expected to understand this" :-)
*
* Public Domain 1992, 2015, 2018, 2019 by <NAME>. All rights released.
* See:
* https://github.com/SirWumpus/iocccsize
* IOCCC mods in 2019-2022 by chongo (<NAME>) ^oo^
*
* SYNOPSIS
*
* iocccsize [-ihvV] prog.c
* ... |
/*
* CompilerDetect.h
* ----------------
* Purpose: Detect current compiler and provide readable version test macros.
* Notes : (currently none)
* Authors: OpenMPT Devs
* The OpenMPT source code is released under the BSD license. Read LICENSE for more details.
*/
#pragma once
#define MPT_COMPILER_MAKE_VERS... |
static char help[] = "Solves a linear system in parallel with KSP.\n\
Input parameters include:\n\
-view_exact_sol : write exact solution vector to stdout\n\
-n <mesh_n> : number of mesh points in y-direction\n\n";
/*T
Concepts: KSP^basic parallel example;
Processors: n
T*/
/*
Include "petscksp.h... |
/* Copyright (c) 2013-2014, The Linux Foundation. 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... |
/*
* Copyright (c) 2005-2021 Imperas Software Ltd., www.imperas.com
*
* 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 requir... |
#include <stdio.h>
#include <stdbool.h>
#include <stdlib.h>
#include <stdint.h>
#include <unistd.h>
#include <string.h>
#include <math.h>
#include <pthread.h>
#include <assert.h>
#include <vectors.h>
#include <tides.h>
//
// defines
//
// the earth.surface array is ordered with the 360 equator values first;
// to si... |
/*
* File: proj1.c
* Author: <NAME> (99074)
* Description: A Kanban-like program in C.
*/
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <ctype.h>
/* CONSTANTS */
#define TRUE 1
#define FALSE 0
#define NO_CHAR_FOUND 0 /* flag to indicate that no relevant character was found. */
#define ... |
/**
* \file
*
* \brief AVR XMEGA EDMA example 2
*
* Copyright (c) 2014-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 Microchip products.
* I... |
/*****************************************************************************
*
* \file
*
* \brief GUI
*
* Copyright (c) 2014 Atmel Corporation. All rights reserved.
*
* \asf_license_start
*
* \page License
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitte... |
/*
* GDMcommunication routines
* (c)2001 Queen of England, (c)2002,2003 <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
* ... |
/*
* Copyright (C) 2013
* Md <NAME> (<EMAIL>)
*
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <math.h>
#include <openobj3d.h>
#include <SDL.h>
#include <GL/gl.h>
OOJ_Mesh Object1;
/* Program Control */
int shut = 0;
int fps = 0;
/* Texture Parameters */
int Mode = ... |
#include"mex.h"
#include"matrix.h"
#include"string.h"
#include"math.h"
#define NSY_IMG_IN prhs[0]
#define SIGMA_IN prhs[1]
#define S_IN prhs[2]
#define K_IN prhs[3]
#define alpha_IN prhs[4]
#define h_IN prhs[5]
#define IMAGE_OUT plhs[0]
#de... |
/*
* Copyright (C) 2019 GreenWaves Technologies
*
* 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 l... |
/*
<NAME> 201201168
<NAME> 201201177
TEAM NAME : @@Malloc@@
Submission Date: 10-03-2014
* In this approach, a block is allocated by simply incrementing
* the brk pointer. Realloc is implemented directly using mm_malloc and mm_free.
*
* NOTE TO STUDENTS: Replace this header comment with your own header
* co... |
/** <!--
*
* Copyright (C) 2014 OpenVCX <EMAIL>
*
* This program 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, either version 3 of the
* License, or (at your option) any later version.
*
... |
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#define MAX(a,b) ((a) > (b) ? a : b)
#define MIN(a,b) ((a) < (b) ? a : b)
#include <GL/glew.h>
#include "../c3dlas/c3dlas.h"
#include "text.h"
#include "../EACSMB/src/utilities.h"
FT_Library ftLib = NULL;
static void makeVertices(TextRenderInfo* tri, ... |
#include <stdio.h>
#include <getopt.h>
#include <stdlib.h>
#include <errno.h>
#include <string.h>
#include <unistd.h>
#include <limits.h>
#include <time.h>
#include <math.h>
#include <sys/stat.h>
#include "ook.h"
#include "datum.h"
int verbose=0;
static time_t oldestDatum = 0;
static struct datum temperature[3];
sta... |
/* 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, me... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdint.h>
#include <sys/stat.h>
#include <sys/wait.h>
#include <errno.h>
#include <rte_eal.h>
#include <rte_malloc.h>
#include <rte_hash.h>
#include <rte_jhash.h>
#include <rte_launch.h>
#include <rte_lcore.h>
#include <rte_ring.h>
#include <netine... |
/**************************************************************************/
/* */
/* Copyright (c) Microsoft Corporation. All rights reserved. */
/* */
/* Thi... |
/* Copyright (C) 2015-2018 <NAME> <<EMAIL>>
* See /doc/license/gpl-2.0.txt for details about the licensing.
*/
/* Copyright (C) <NAME>
* See /doc/license/NOTICE.Plan9-9k.txt for details about the licensing.
*/
#include "u.h"
#include "../port/lib.h"
#include "mem.h"
#include "dat.h"
#include "fns.h"
#include "ureg... |
/* $NetBSD: reporter.c,v 1.1.1.3 2009/12/02 00:25:55 haad Exp $ */
/*
* Copyright (C) 2001-2004 Sistina Software, Inc. All rights reserved.
* Copyright (C) 2004-2009 Red Hat, Inc. All rights reserved.
*
* This file is part of LVM2.
*
* This copyrighted material is made available to anyone wishing to use,
* modi... |
/*-
* Copyright (c) 1988 <NAME>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions a... |
/*
* Copyright (c) 2021, suncloudsmoon and the Dirt Emulator contributors.
*
* 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
... |
#include <math.h>
#include <stdlib.h>
#define PI 3.141592653589793238
#define HALF_PI (PI*0.5)
#define TWO_PI (PI*2.0)
#define EPSLN 1.0e-10
#define R2D 57.2957795131
/*
#define D2R 0.0174532925199
*/
#define D2R 1.745329251994328e-2
#define S2R 4.848136811095359e-6
#define OK 0
#define ERROR -1
#defin... |
/*
* Copyright 2016-2020 NXP
* All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
//#include "bl_context.h"
#include "bl_flexspi.h"
#include "bootloader_common.h"
#include "fsl_device_registers.h"
#include "microseconds.h"
//#include "property.h"
#include "target_config.h"
#if BL_FEATURE_SEMC_NAND_... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.