text stringlengths 7.55k 41.9k |
|---|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
typedef enum {true =1, false = !true}bool;
typedef char* string;
#define BIN 2
#define BASE_FOUR 4
#define COMSIZE 4
#define WORDSIZ 10
#define BASE_FOUR_WORD_SIZ 4
#define ENTRY_GLOB_ADDRESS -100 /* set as address when there is decleration ... |
/**
* @brief Colored Oled Display Driver
* @author <NAME>
* @date December 11, 2018
* @version 1.0
*
*/
#include "ssd1331.h"
#include "ssd1331reg.h"
#include "simpletools.h"
void SSD1331_cmd(char);
void SSD1331_write(char);
// font 5x7 in 8x8 format line by line
long Font_57[] = {0x1f1f1f1f, 0x1f... |
/*
* Copyright 2014 MongoDB, Inc.
*
* 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 to ... |
// SPDX-License-Identifier: GPL-2.0
/*
* rtl8712_efuse.c
*
* Copyright(c) 2007 - 2010 Realtek Corporation. All rights reserved.
* Linux device driver for RTL8192SU
*
* Modifications for inclusion into the Linux staging tree are
* Copyright(c) 2010 <NAME>. All rights reserved.
*
* Contact information:
* WLAN F... |
/*++ BUILD Version: 0009 // Increment this if a change has global effects
Copyright (c) 1987-1993 Microsoft Corporation
Module Name:
midatlas.c
Abstract:
This module defines the data structure used in mapping MIDS to the
corresponding requests/contexts associated with them.
Author:
... |
/*
* 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 distributed in the hope that it will be use... |
/* Copyright 2020 HPS/SAFARI Research Groups
*
* 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,... |
/*
$Id$
*======================================================================
*
* DISCLAIMER
*
* This material was prepared as an account of work sponsored by an
* agency of the United States Government. Neither the United States
* Government nor the United States Department of Energy, nor Battelle,
* nor a... |
#include "driver2.h"
#include "wheelforces.h"
#include "cars.h"
#include "main.h"
#include "gamesnd.h"
#include "debris.h"
#include "handling.h"
#include "cosmetic.h"
#include "dr2roads.h"
#include "mission.h"
#include "pad.h"
#include "sound.h"
#include "glaunch.h"
#include "system.h"
#include "INLINE_C.H"
#include "... |
/*BHEADER**********************************************************************
* Copyright (c) 2008, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* This file is part of HYPRE. See file COPYRIGHT for details.
*
* HYPRE is free software; you can redistribute... |
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 1996, by <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... |
/* 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 regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not... |
/*-
* Copyright (c) 1980, 1988, 1991, 1993
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain th... |
/*
* replay.c : entry point for replay RA functions for ra_serf
*
* ====================================================================
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional... |
/**
******************************************************************************
* @file lib_NDEF_Handover.c
* @author MMY Application Team
* @version 1.3.2
* @date 28-Feb-2022
* @brief This file helps to manage a NDEF Handover message.
* @ingroup libNDEF_Handover
***************************... |
/* Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*
* Functions for loading a kernel from disk.
* (Firmware portion)
*/
#include "sysincludes.h"
#include "2sysincludes.h"
#include "2common.h"
... |
/* ====================================================================
* Copyright (c) 1995-2004 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. Redi... |
/*
* Copyright (c) 2011 The WebM project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributin... |
////////////////////////////////////////////////////////////////////////////////
// //
// MIT X11 license, Copyright (c) 2005-2006 by: //
// ... |
/***********************license start***************
* Author: <NAME>
*
* Contact: <EMAIL>
* This file is part of the OCTEON SDK
*
* Copyright (c) 2003-2008 <NAME>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License, Version 2, as
* publ... |
/*
* Copyright (c) 2016-2017 Hisilicon Limited.
*
* 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, available from the file
* COPYING in the main directory of this source tree, or the
* ... |
/* Capstone Disassembly Engine */
/* M68K Backend by <NAME> <<EMAIL>> 2015-2016 */
#ifdef _MSC_VER
// Disable security warnings for strcat & sprintf
#ifndef _CRT_SECURE_NO_WARNINGS
#define _CRT_SECURE_NO_WARNINGS
#endif
//Banned API Usage : strcat / sprintf is a Banned API as listed in dontuse.h for
//security purpos... |
/*************************************************************************//**
* @file system_LM3S811.c
* @brief CMSIS Cortex-M# Core Device System File for Device LM3S811
* @version CMSIS v4.00
* @date 07 March 2015
*
* @note Created from the CMSIS template for the specified device
* Q... |
/*
** File: cfe_es_perf.c
**
** Copyright (c) 2004-2012, United States government as represented by the
** administrator of the National Aeronautics Space Administration.
** All rights reserved. This software(cFE) was created at NASA's Goddard
** Space Flight Center pursuant to government contracts.... |
/*-
* Free/Libre Near Field Communication (NFC) library
*
* Libnfc historical contributors:
* Copyright (C) 2009 <NAME>
* Copyright (C) 2009-2013 <NAME>
* Copyright (C) 2010-2012 <NAME>
* Copyright (C) 2010-2013 <NAME>
* Copyright (C) 2012-2013 <NAME>
* See AUTHORS file for a more comprehensive list of co... |
/**
* @file kernel/video/lfbvideo.c
* @brief Shared linear framebuffer drivers for qemu/bochs/vbox, vmware,
* and platforms that can modeset in the bootloader.
*
* Detects a small set of video devices that can be configured with simple
* port writes and provides a runtime modesetting API for them. For oth... |
/*
* Copyright (C) 2010 <NAME>
* Copyright (C) 2010 <NAME> <<EMAIL>>
*
* 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
* witho... |
/*
** Copyright (c) 2011 <NAME>
**
** This program is free software; you can redistribute it and/or
** modify it under the terms of the Simplified BSD License (also
** known as the "2-Clause License" or "FreeBSD License".)
**
** This program is distributed in the hope that it will be useful,
** but without any warranty... |
/******************************************************************************/
/* */
/* Copyright (c) 1990-2016, KAIST */
/* All rights reserved. ... |
/*----------------------------------------------------------------------------
* Copyright (c) <2016-2018>, <Huawei Technologies Co., Ltd>
* 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. R... |
/*
* imdct.c
* Copyright (C) 2000-2003 <NAME> <<EMAIL>>
* Copyright (C) 1999-2000 <NAME> <<EMAIL>>
*
* The ifft algorithms in this file have been largely inspired by Dan
* Bernstein's work, djbfft, available at http://cr.yp.to/djbfft.html
*
* This file is part of a52dec, a free ATSC A-52 stream decoder.
* See... |
/*=============================================================================
* Copyright (c) 2020 by Cryptographic Engineering Research Group (CERG)
* ECE Department, George Mason University
* Fairfax, VA, U.S.A.
* Author: <NAME>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use th... |
/***************************************************************/
/* */
/* PROJECT NAME : TesteADC */
/* FILE : iodefine_ext.h */
/* DESCRIPTION : Definition of Extended SFRs ... |
/*** File wcslib/zpxpos.c
*** October 31, 2012
*** By <NAME>, <EMAIL>
*** Modified from tnxpos.c by <NAME>, <EMAIL>
*** Harvard-Smithsonian Center for Astrophysics
*** After IRAF mwcs/wfzpx.x
*** Copyright (C) 1998-2012
*** Smithsonian Astrophysical Observatory, Cambridge, MA, USA
This library is free softw... |
/* _______ _____ _ ___ _______ _ _____
* |__ __|_ _| \ | \ \ / / ____| | |_ _|
* | | | | | \| |\ \_/ / | | | | |
* | | | | | . ` | \ /| | | | | |
* | | _| |_| |\ | | | | |____| |____ _| |_
* |_| |_____|_| \_| |_| \_____|______|_____|
*
* Author: ... |
/* TODO */
/* 1) _fdata symbol section and value saved in special section. */
/* 2) elfpic binary to work. */
/* This causes a null section header to be inserted. */
/* #define OBJDUMP_COMPAT */
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <string.h>
#... |
//
// RKHostMonitor.c
// RadarKit
//
// Created by <NAME> on 2/24/18.
// Copyright © <NAME>. All rights reserved.
//
#include <RadarKit/RKHostMonitor.h>
#define RKHostMonitorPacketSize 64
//
// The following structures are obtained from an example from Apple:
// https://developer.apple.com/library/content/sample... |
/* IBM_PROLOG_BEGIN_TAG */
/*
* Copyright 2003,2016 IBM International Business Machines Corp.
*
* 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/LIC... |
/*
Copyright (c) 2015, <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 and the following disclaim... |
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <memory.h>
#include <sys/types.h>
#include <unistd.h>
#include <sys/time.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <netdb.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
#include <sys/param.h>
#include <netinet/in.h>
#include <arpa/i... |
/****************************************************************************
*
* This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
*
* Copyright 2007-2019 Broadcom Inc. All rights reserved.
*
*/
/* This file is automatically gener... |
#include "utils.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
unsigned long power (unsigned long val, unsigned exp) {
if (exp < 1) return 1;
return val*power(val, exp - 1);
}
#define DOIS_ELEVADO_A_31_MENOS_1 2147483647
#define MENOS_DOIS_ELEVADO_A_31 -2147483648
const short num_... |
/*
* File: math_cache.c
* Author: <NAME> <<EMAIL>>
* Description:
* math_cache.c is part of ASCYLIB
*
* The MIT License (MIT)
*
* Copyright (c) 2014 <NAME> <<EMAIL>>
* Distributed Programming Lab (LPD), EPFL
*
* Permission is hereby granted, free of charge, to any person obtaining a ... |
/******************** (C) COPYRIGHT 2013 **************************************
* File Name : se3.c
* Author : deh
* Date First Issued : 07/19/2013
* Board : sensor board RxT6 w STM32F103RGT6
* Description : sensor w shaft encoder
***********************************************... |
// __________ ___ ______ _
// / ____/ __ \____ / (_)___ ___ / ____/___ ____ _(_)___ ___
// / /_ / / / / __ \/ / / __ \/ _ \ / __/ / __ \/ __ `/ / __ \/ _ \
// / __/ / /_/ / / / / / / / / / __/ / /___/ / / / /_/ / / / / / __/
// /_/ \____/_/ /_/_/_/_/ /... |
/* ====================================================================
* Copyright (c) 1999-2010 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. Redi... |
/*
* Kernel module help for s390.
*
* S390 version
* Copyright IBM Corp. 2002, 2003
* Author(s): <NAME> (<EMAIL>)
* <NAME> (<EMAIL>)
*
* based on i386 version
* Copyright (C) 2001 <NAME>.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU... |
//===-- RegisterInfos_x86_64.h ----------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... |
/*
* 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 distributed in the hope that it will be use... |
/*
** 2016-12-17
**
** The author disclaims copyright to this source code. In place of
** a legal notice, here is a blessing:
**
** May you do good and not evil.
** May you find forgiveness for yourself and forgive others.
** May you share freely, never taking more than you give.
**
**************************... |
/**************************************************************************************************
* *
* This file is part of HPIPM. *
* ... |
/* C type extensions */
typedef unsigned char uint8_t;
typedef char int8_t;
typedef unsigned short int uint16_t;
typedef short int int16_t;
typedef unsigned int uint32_t;
typedef int int32_t;
typedef unsigned long long uint64_t;
typedef long long int64_t;
typedef unsigned long size_t;
typedef void ... |
/***************************************
OSM router.
Part of the Routino routing software.
******************/ /******************
This file Copyright 2008-2013 <NAME>
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... |
/********************************
* MCCE library header file
********************************/
#include <stdio.h>
/*--- Constants ---*/
/* Constants for geometry transformation recorder */
#define VERSION "MCCE2.4"
#define USERERR -1
#define MAXCHAR_LINE 160
#define DUMMY_GDBM "~temp.dbm.XXXXXX"
#define FN_RU... |
/*-
* Copyright (c) 2013-2016 <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 list ... |
/* HTTP Server
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.
*/
#ifdef LINUX_BUILD
#include... |
/* This code was generated by Usuba.
See https://github.com/DadaIsCrazy/usuba.
From the file "samples/usuba/present.ua" (included below). */
#include <stdint.h>
/* Do NOT change the order of those define/include */
#ifndef BITS_PER_REG
#define BITS_PER_REG 8
#endif
/* including the architecture specific .h */
... |
/*******************************************************************************
Equites (c) 1984 Alpha Denshi Co./Sega
Bull Fighter (c) 1984 Alpha Denshi Co./Sega
The Koukouyakyuh (c) 1985 Alpha Denshi Co.
Splendor Blast (c) 1985 Alpha Denshi Co.
High Voltage (c) 1985 Alpha Denshi Co.
drivers... |
#include <libpq-fe.h>
#include <postgres.h>
#include <mb/pg_wchar.h>
#include <catalog/pg_type.h>
#include <utils/errcodes.h>
/* Undefine constants Postgres also defines */
#undef PACKAGE_BUGREPORT
#undef PACKAGE_NAME
#undef PACKAGE_STRING
#undef PACKAGE_TARNAME
#undef PACKAGE_VERSION
#ifdef _WIN32
/* On Windows this... |
/***
* Author: <NAME>
***/
/*** INCLUDES ***/
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <ctype.h>
#include <time.h>
#include <fcntl.h>
/*** MACROS ***/
#define TIME_BUFFER_SIZE 7
#define HISTORY_GROWTH_S... |
/*
* Amanda, The Advanced Maryland Automatic Network Disk Archiver
* Copyright (c) 1991-1999 University of Maryland at College Park
* All Rights Reserved.
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
*... |
#include <stdlib.h>
#include <sys/types.h>
#include <unistd.h>
#include <signal.h>
#include <pf/pf.h>
#include <px/px.h>
#include <pf/pf.g.h>
#include <px/px.g.h>
#include <config.h>
/*
PF: VM interpreter and Stack primitive functions.
The code in this file is partitioned in two classes:
pf_ linear stack... |
/****************************************************************************
** VOARGS.C -- Procedures for commandline argument handling. We also do
** some of the heavy lifting for registry and object resolution.
**
** <NAME>, NOAO, June 2007
*/
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#in... |
/*
Copyright 2015 Google Inc. All rights reserved.
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 to in wri... |
/* $Id: stun_auth.c 4890 2014-08-19 00:54:34Z bennylp $ */
/*
* Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com)
* Copyright (C) 2003-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
* th... |
#include "mafJoinTypes.h"
#include "mafTree.h"
#include "common.h"
#include "genome.h"
#include "malnCompCompMap.h"
#include "malnComp.h"
#include "malnBlk.h"
#include "sonLibTree.h"
#include "sonLibList.h"
#include "sonLibString.h"
/*
* Object for containing and manipulating parsed tree and mapping to the order
* o... |
/*
* Builtin "git tag"
*
* Copyright (c) 2007 <NAME> <<EMAIL>>,
* <NAME> <<EMAIL>>
* Based on git-tag.sh and mktag.c by <NAME>.
*/
#include "cache.h"
#include "builtin.h"
#include "refs.h"
#include "tag.h"
#include "run-command.h"
#include "parse-options.h"
#include "diff.h"
#include "revision... |
/* -*- Mode: C; c-basic-offset:4 ; -*- */
/*
* (C) 2001 by Argonne National Laboratory.
* See COPYRIGHT in top-level directory.
*/
#include "mpidimpl.h"
/*S
* MPIDI_VCRT - virtual connection reference table
*
* handle - this element is not used, but exists so that we may use the
* MPIU_Object routines f... |
/*
* Copyright (c) 1999-2012 Apple Inc. All rights reserved.
*
* @APPLE_OSREFERENCE_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 ex... |
/***************************************************************************
vidhrdw.c
***************************************************************************/
#include "driver.h"
#include "vidhrdw/generic.h"
#include <math.h>
data16_t *nemesis_videoram1b;
data16_t *nemesis_videoram2b;
data16_t *n... |
/*
fixedCodebookSearch.c
Copyright (C) 2011 Belledonne Communications, Grenoble, France
Author : <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 (a... |
/*
* Copyright (c) 2006
* <NAME> <<EMAIL>>
* <NAME> <<EMAIL>>
* <NAME> <<EMAIL>>
*
* Decrypt a AES-128 encrypted disk image given the encryption key
* and the hmacsha1key of the image. These two keys can be found
* out by running hdiutil attach with -debug on the disk image.
*
* Permission is hereby granted, ... |
/*
* IMS Open Corpus Workbench (CWB)
* Copyright (C) 1993-2006 by IMS, University of Stuttgart
* Copyright (C) 2007- by the respective contributers (see file AUTHORS)
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as publi... |
#include <stddef.h>
#include <stdint.h>
#include <stdbool.h>
/* define DEBUG to have VGA output sent to Bochs terminal instead, and no delays */
#define bochs_break() __asm__ __volatile__("xchg %%bx, %%bx");
#define bochs_print_char(c) outportb(0xe9, c);
#define choice(selection) selection[randint(0, sizeof(selection... |
#ifdef COMPILE_FOR_TEST
#include <assert.h>
#define assume(cond) assert(cond)
#endif
void main(int argc, char* argv[]) {
int x_0_0;//sh_buf.outcnt
int x_0_1;//sh_buf.outcnt
int x_0_2;//sh_buf.outcnt
int x_0_3;//sh_buf.outcnt
int x_0_4;//sh_buf.outcnt
int x_1_0;//sh_buf.outbuf[0]
int x_1_1;//sh_buf.outbuf[0]
int... |
/*****************************************************************************
FILE: convert_sentinel_to_espa.c
PURPOSE: Contains functions for reading Sentinel-2 1C products and writing to
the ESPA raw binary format.
PROJECT: Land Satellites Data System Science Research and Development (LSRD)
at the USGS EROS
LI... |
/************************************************************************************
Written by: <NAME>, NEX Robotics Pvt. Ltd.
Edited by: <NAME>, NEX Robotics Pvt. Ltd.
AVR Studio Version 4.17, Build 666
Date: 26th December 2010
This experiment demonstrates the application of a simple line follower rob... |
/* $OpenBSD: i82365_cbus.c,v 1.3 2015/03/13 12:12:42 aoyama Exp $ */
/* $NetBSD: i82365_isa.c,v 1.11 1998/06/09 07:25:00 thorpej Exp $ */
/*
* Copyright (c) 1997 <NAME>. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the foll... |
/******************************************************************************/
/* */
/* Copyright (c) 1990-2016, KAIST */
/* All rights reserved. ... |
/*
$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... |
#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... |
/* Hello World Example
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 <stdio.h>
#i... |
/*-
* Copyright (c) 2010-2011 Solarflare Communications, Inc.
* All rights reserved.
*
* This software was developed in part by <NAME> under contract for
* Solarflare Communications, Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the follo... |
/* $OpenBSD: if_iwm.c,v 1.39 2015/03/23 00:35:19 jsg Exp $ */
/*
* Copyright (c) 2014 genu<NAME> <<EMAIL>>
* Copyright (c) 2014 Fixup Software Ltd.
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice... |
/* Copyright (C) 1996-2001 Id Software, Inc.
Copyright (C) 2002-2009 <NAME> and others
Copyright (C) 2011-2016 OldTimes Software
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
... |
/* Copyright (C) 2005-2011, <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:
- Redistributions of source code must retain the above copyright notice,
this list of co... |
/**
* Copyright (c) 2018, 2019, 2020, 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, ... |
/* mc9xgate-opc.c -- Freescale XGATE opcode list
Copyright 1999, 2000, 2002, 2005, 2007 Free Software Foundation, Inc.
Written by <NAME> (<EMAIL>)
This file is part of the GNU opcodes library.
This library is free software; you can redistribute it and/or modify
it under the terms of the GNU General Pub... |
#include <kernel/system.h>
#include <kernel/proc.h>
#include <vfs.h>
#include <kernel/kernel.h>
#include <kernel/schedule.h>
#include <mm/kalloc.h>
#include <mm/kmalloc.h>
#include <mm/shm.h>
#include <kstring.h>
#include <kprintf.h>
#include <elf.h>
static proc_t _proc_table[PROC_MAX];
__attribute__((__aligned__(PAGE... |
/******************************************************************************
Copyright (c) 1992, 1995, 1996 Xerox Corporation. All rights reserved.
Portions of this code were written by <NAME>, aka ghond.
Use and copying of this software and preparation of derivative works based
upon this software are permi... |
#include <math.h>
#include <float.h>
#include <stdint.h>
#include <limits.h>
#include "apriltag_quad_contour.h"
#include "contour.h"
#include "box.h"
#include "lm.h"
#include "math_util.h"
/*
TODO:
- play with chunk size in box threshold?
- parallelize finding contours
DONE:
- april-style debug vis... |
// X11 GUI for Arduino oscilloscope
// Copyright (c) 2021 <NAME>
// MIT License
// device
#define DEV "/dev/ttyACM0"
// actual input voltage range
#define Vmin -5.0
#define Vmax 5.0
// square size
#define SQ 50
// squares in a quadrant
#define SQX 5
#define SQY 4
// border width
const int B=10;
// channel colors
const... |
#include <stdio.h>
#include <stdlib.h>
#include <netmain.h>
#include <math.h>
#include <_stack.h>
#include <std.h>
#include <tsk.h>
#include <log.h> //(S0305)
#include <mem.h> // (S0305)
#include <hw_dspcache.h> // (S0305)
#include <soc_OMAPL138.h>
#include "ADC.h"
#include "dsplib.... |
/* - FOX - A tool for testing Open-Channel SSDs
* - Engine 5. Rewrite like log-structured file systems
*
* Copyright (C) 2016, IT University of Copenhagen. All rights reserved.
* Written by <NAME> <<EMAIL>>
*
* Funding support provided by CAPES Foundation, Ministry of Education
* of Brazil, Brasilia - DF 7... |
/* gbGetTestSubset - generate a test subset of the genbank and refseq data */
/* Copyright (C) 2011 The Regents of the University of California
* See kent/LICENSE or http://genome.ucsc.edu/license/ for licensing information. */
#include "gbIndex.h"
#include "gbGenome.h"
#include "gbEntry.h"
#include "gbProcessed.h"... |
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <malloc.h>
#include <stdint.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <shadow.h>
#include "myCommand.h"
#include "myThread.h"
#include "mySocket.h"
UserMnag userMnag;
... |
/******************************************************************************/
/* Important Fall 2020 CSCI 402 usage information: */
/* */
/* This fils is part of CSCI 402 kernel programming assignments at USC. ... |
#include "mm.h"
#include "bootloader.h"
#include "data_type.h"
#include "string.h"
#include "time.h"
// TODO: remove uart
#include "io.h"
#define mask 0xffffffffffffffff
#define m_size_mask 0xfffffffffffffff0
#define m_used_bit 0x0000000000000001
#define m_last_chunk_bit 0x0000000000000002
#define page_start(addr) ((... |
/*
* ndpiex.c
* Copyright (C) 2015 by QXIP BV
* Copyright (C) 2012 by <NAME>
* Copyright (C) 2009-2010 by ipoque GmbH
*
* This 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 ver... |
/* $OpenBSD: anreg.h,v 1.9 2003/10/21 18:58:48 jmc Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
* <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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.