text stringlengths 7.55k 41.9k |
|---|
// This file is part of Deark.
// Copyright (C) 2020 <NAME>
// See the file COPYING for terms of use.
// LBR - uncompressed CP/M archive format
// Squeeze compressed file
#include <deark-private.h>
#include <deark-fmtutil.h>
DE_DECLARE_MODULE(de_module_lbr);
DE_DECLARE_MODULE(de_module_squeeze);
#define LBR_DIRENT_S... |
/* $OpenBSD: ktrstruct.c,v 1.21 2016/06/07 06:12:37 deraadt Exp $ */
/*-
* Copyright (c) 1988, 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
* ar... |
/*
* Copyright (c) 2009-2011, <NAME> <antirez at gmail dot com>
* Copyright (c) 2010-2011, <NAME> <pcnoordhuis at gmail dot com>
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * ... |
/* Copyright (C) 2001-2021 Artifex Software, Inc.
All Rights Reserved.
This software is provided AS-IS with no warranty, either express or
implied.
This software is distributed under license and may not be copied,
modified or distributed except as expressly authorized under the terms
of the license ... |
/*
* CGlib
*
* A Low-Level GPU Graphics and Utilities API
*
* Copyright (C) 2008,2009,2010 Intel Corporation.
*
* 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... |
/*
* Copyright (c) 1983, 1993, 1994
* 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 the above... |
/* Copyright 2012 IPB, Universite de Bordeaux, INRIA & CNRS
**
** This file is part of the Scotch software package for static mapping,
** graph partitioning and sparse matrix ordering.
**
** This software is governed by the CeCILL-C license under French law
** and abiding by the rules of distribution of free software. ... |
/*
// Copyright (c) 2015 Intel Corporation
//
// 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... |
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include "math_utils.h"
#include "utils.h"
static void max_test (void);
static void min_test (void);
static void abs_test (void);
static void round_test (void);
static void eratosthenes_sieve_test (void);
static void prime... |
/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file : main.c
* @brief : Main program body
******************************************************************************
* @attention
*
* <h2><center>© Copyright (c) 2021 ST... |
/* zgbbrd.f -- translated by f2c (version 20061008).
You must link the resulting object file with libf2c:
on Microsoft Windows system, link with libf2c.lib;
on Linux or Unix systems, link with .../path/to/libf2c.a -lm
or, if you install libf2c.a in a standard place, with -lf2c -lm
-- in that order, at the end of... |
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
* University Research and Technology
* Corporation. All rights reserved.
* Copyright (c) 2004-2015 The University of Tennessee a... |
/*
* modeset - DRM Modesetting Example
*
* Written 2012 by <NAME> <<EMAIL>>
* Dedicated to the Public Domain.
*/
/*
* DRM Modesetting Howto
* This document describes the DRM modesetting API. Before we can use the DRM
* API, we have to include xf86drm.h and xf86drmMode.h. Both are provided by
* libdrm which ev... |
/*! \file bcmbd_cmicd_intr.c
*
* CMICd interrupt handler framework.
*/
/*
* Copyright: (c) 2018 Broadcom. All Rights Reserved. "Broadcom" refers to
* Broadcom Limited and/or its subsidiaries.
*
* Broadcom Switch Software License
*
* This license governs the use of the accompanying Broadcom software. Your
... |
/*
* Copyright 2014, <NAME>, IBM Corp.
* Licensed under GPLv2.
*/
#define _GNU_SOURCE /* For CPU_ZERO etc. */
#include <sched.h>
#include <sys/wait.h>
#include <setjmp.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/ioctl.h>
#include "trace.h"
#include "reg.h"
#incl... |
/*
* @file ibv_write_index_rdma_ordering_main.c
* @date 7 Aug 2021
* @author <NAME>
* @brief Test to measure the RDMA ordering when multiple transfers are queued to one index location
* @details Uses RDMA to transfer data from a writer SMB to read SMB where the SMB has:
* a. An array of data blocks.
* ... |
/*-
* Public platform independent Near Field Communication (NFC) library
*
* Copyright (C) 2009, <NAME>
* Copyright (C) 2010, <NAME>
* Copyright (C) 2011, <NAME>, <NAME>
*
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as pu... |
#include <elf.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/mman.h>
#include "c3po.h"
#pragma c3po encrypt
#define C3PO_SELFMAPS "/proc/self/maps"
#pragma c3po encrypt
#define C3PO_ADDRESS_MAPS "%llx-%llx"
void c3po_zero_elf() {
FILE *f = NULL;
f = fope... |
#include "llc.h"
#include <sys/mman.h>
#include <assert.h>
#include <inttypes.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "movnt.h"
#include "perf_poll.h"
#include "../rdtscp.h"
#include "realtime.h"
#include "rng.h"
#define DEFAULT_NUM_PERIODS ... |
#include <stdio.h>
#include <stdlib.h>
#include <openssl/evp.h>
#include <openssl/aes.h>
#include <assert.h>
#include <openssl/err.h>
#include <bsd/string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <dirent.h>
#include <unistd.h>
#include <termios.h>
#include <limits.h>
#include <zip.h>
#define MIN_CRED_... |
// Esplay Launcher - launcher for ESPLAY based on Gogo Launcher for Odroid Go.
#include "limits.h" /* PATH_MAX */
#include "freertos/FreeRTOS.h"
#include "esp_wifi.h"
#include "esp_system.h"
#include "esp_event.h"
#include "esp_event_loop.h"
#include "driver/gpio.h"
#include "esp_partition.h"
#include "esp_ota... |
/*
* Copyright (c), Microsoft Open Technologies, Inc.
* All rights reserved.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* - Redistributions of source code must retain the above copyright notice,
* this list of co... |
// SPDX-License-Identifier: GPL-2.0
/*
* comedi/drivers/adv_pci_dio.c
*
* Author: <NAME> <<EMAIL>>
*
* Hardware driver for Advantech PCI DIO cards.
*/
/*
* Driver: adv_pci_dio
* Description: Advantech Digital I/O Cards
* Devices: [Advantech] PCI-1730 (adv_pci_dio), PCI-1733,
* PCI-1734, PCI-1735U, PCI-173... |
/*
* This is a RANDOMLY GENERATED PROGRAM.
*
* Generator: csmith 2.3.0
* Git version: 30dccd7
* Options: --output B.c --no-argc --no-arrays --no-bitfields --no-checksum --no-comma-operators --no-compound-assignment --no-divs --no-float --no-structs --no-unions --no-packed-struct --no-pointers --no-builtins --no-... |
#include <stdio.h>
#include <stdlib.h>
#include <dirent.h>
#include <string.h>
// gcc -o parser create_mime_parser.c
/*
dependant on files in:
/usr/share/gtksourceview-3.0/language-specs
creates C file "lci_mime_parser.c"
lci_mime_parser.c becomes non-dependant on language-specs
but returned mime_type can be used to ... |
/* RetroArch - A frontend for libretro.
* Copyright (C) 2010-2014 - <NAME>
* Copyright (C) 2011-2017 - <NAME>
* Copyright (C) 2016-2019 - <NAME>
* Copyright (C) 2016-2019 - <NAME>
*
* RetroArch is free software: you can redistribute it and/or modify it under the terms
* of the GNU General Public License a... |
/* $Id$ $Revision$ */
/* vim:set shiftwidth=4 ts=8: */
/*************************************************************************
* Copyright (c) 2011 AT&T Intellectual Property
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.... |
/*
No copyright is claimed in the United States under Title 17, U.S. Code.
All Other Rights Reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitat... |
/*
* Copyright 2014, 2015 Red Hat.
*
* 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, publi... |
#include "util/format/u_format.h"
#include "nvc0/nvc0_context.h"
struct nvc0_transfer {
struct pipe_transfer base;
struct nv50_m2mf_rect rect[2];
uint32_t nblocksx;
uint16_t nblocksy;
uint16_t nlayers;
};
static void
nvc0_m2mf_transfer_rect(struct nvc0_context *nvc0,
const str... |
/*-
* Public Domain 2014-present MongoDB, Inc.
* Public Domain 2008-2014 WiredTiger, Inc.
*
* This is free and unencumbered software released into the public domain.
*
* Anyone is free to copy, modify, publish, use, compile, sell, or
* distribute this software, either in source code form or as a compiled
* bina... |
#include <stdio.h>
#include <math.h>
#include <stdlib.h>
#include <time.h>
#include "cpgplot.h"
#ifndef EXIT_FAILURE
#define EXIT_FAILURE 1
#endif
#ifndef EXIT_SUCCESS
#define EXIT_SUCCESS 0
#endif
#define MAX_SIZE 10000000
#define ARRAY_SIZE 5000000
double xpi = 3.14159;
double c = 2.99792e8;
double pion_mass = 0.13... |
/**
******************************************************************************
* @file bmg160_user.c
* @author <NAME>
* @version V1.0.0
* @date 21-May-2015
* @brief bmg160 sensor control demo.
******************************************************************************
*
* The MIT License
* ... |
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/*
* Tool for converting builtin CA certs.
*
* $Id: addbuiltin.c,v 1.20 2012/11/29 02:11:04 <EMAIL>%mozilla.com... |
/* $NetBSD: lpt.c,v 1.12 2004/02/03 21:15:03 jdolecek Exp $ */
/*
* Copyright (c) 1990 <NAME>, TeleMuse
* 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 cod... |
/*
yagears Yet Another Gears OpenGL demo
Copyright (C) 2013-2017 <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 limitatio... |
/*
* This file or a portion of this file is licensed under the terms of
* the Globus Toolkit Public License, found in file GTPL, or at
* http://www.globus.org/toolkit/download/license.html. This notice must
* appear in redistributions of this file, with or without modification.
*
* Redistributions of this Softwar... |
/*
* The "inih" library is distributed under the New BSD license:
*
* Copyright (c) 2009, <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 t... |
#include "common.h"
static int DEBUG=0;
static int role=0;
static int lz4 = 0;
static int crypt=1;
static char * crypt_algo = MCRYPT_TWOFISH;
static char * crypt_mode = MCRYPT_CBC;
static int mode = 3;
static root_t enabled_log = RB_ROOT;
static char timestr[20];
void logging(char const *name, char const *message, ... |
/*
* lib/krb5/os/locate_kdc.c
*
* Copyright 1990,2000,2001,2002 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* Export of this software from the United States of America may
* require a specific license from the United States Government.
* It is the responsibility of any person or o... |
/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file : main.c
* @brief : Main program body
******************************************************************************
* @attention
*
* <h2><center>© Copyright (c) ... |
/*************************************************
Copyright (C), 2009 Qasky Co., Ltd
File name: qcard_arithmetic.c
Author: <NAME> Version: 1.0.0 Date: 2019年7月16日
Description: 用于业务间的算法处理
为使此算法兼容32位、64位下Linux或Windows系统,
选择 int 来表示 32 位整数。
消息长度最大限定为 2**32 - 1(单位:比特),
且为 8 的倍数(消息的最小单元为字节)。
*************... |
/*********************************************************************************************
___ _ ___ _____ ___
| _`\ ( ) ( _`\(_ _)( _`\
| (_) ) _ ___ | |/') | (_(_) | | | (_(_)
| , / /'_`\ /'___)| , < | _)_ | | `\__ \
| |\ \ ( (_) )( (___ | |\... |
/*
* MPEGTS PES functions
* Copyright (C) 2010-2011 Unix Solutions Ltd.
*
* Released under MIT license.
* See LICENSE-MIT.txt for license terms.
*/
#include <stdio.h>
#include <unistd.h>
#include <netdb.h>
#include <stdlib.h>
#include <string.h>
#include <inttypes.h>
#include "tsfuncs.h"
#define pes_data_size_b... |
/* 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
... |
/** \file hmac_drbg.c
*
* \brief Implements HMAC_DRBG using HMAC_SHA-256.
*
* This file implements a deterministic random bit generator (DRBG) based
* on a HMAC based on SHA-256. Here are two uses for such a generator:
* - As the foundation of a RFC 6979-based deterministic signature scheme
* for ECDSA.... |
/*---------------------------------------------------------------
* Programmer(s): <NAME> @ SMU
*---------------------------------------------------------------
* SUNDIALS Copyright Start
* Copyright (c) 2002-2019, Lawrence Livermore National Security
* and Southern Methodist University.
* All rights reserved.
*... |
/*****************************************************************************/
/**
*
* @file pmod_tft.c
* @addtogroup pmod_tft
* @{
*
* Implementation of the driver API functions for the Pmod TFT
*
* <pre>
* MODIFICATION HISTORY:
*
* Ver Who Date Changes
* ----- ---- -------- -----------------------------------... |
/*
* Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute
* Copyright [2016-2018] EMBL-European Bioinformatics Institute
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may... |
/* Copyright (c) 2010 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 cond... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include "system.h" /* system dependent functions */
#include "memmgr.h" /* Bag, NewBag, T_STRING, .. */
#include "objects.h"
#include "string4.h"
#include "integer.h... |
/* QLogic qed NIC Driver
* Copyright (c) 2015-2017 QLogic Corporation
*
* 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 ... |
#include <stdio.h>
#include "Uart_Device.h"
#include "aos/aos.h"
#include "hal/soc/uart.h"
#include "hal/soc/flash.h"
#include "hal/soc/soc.h"
#include "board.h"
#include "linkkit_app.h"
#include "linkkit_export.h"
static aos_timer_t refresh_timer = {NULL};
//#define UART_FOR_APP MICO_UART_2
extern sample_context_... |
/*
pygame - Python Game Library
Copyright (C) 2000-2001 <NAME>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) an... |
/*
** ATOP - System & Process Monitor
**
** The program 'atop' offers the possibility to view the activity of
** the system on system-level as well as process-level.
**
** This source-file contains functions to calculate the differences for
** the system-level and process-level counters since the previous sample.
** ==... |
/* zzdasrfr.f -- translated by f2c (version 19980913).
You must link the resulting object file with the libraries:
-lf2c -lm (in that order)
*/
#include "f2c.h"
/* Table of constant values */
static logical c_false = FALSE_;
static integer c__2 = 2;
static integer c__1 = 1;
/* $Procedure ZZDASRFR ( DAS, ... |
/*
* 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 ... |
/*
* This is an implementation of the HSS signature scheme from LMS
* This is the part that actually generates the signature
*/
#include <stdlib.h>
#include <string.h>
#include "common_defs.h"
#include "hss.h"
#include "hash.h"
#include "endian.h"
#include "hss_internal.h"
#include "hss_aux.h"
#include "hss_thread.h... |
// ---------------------------------------------------------
// KFixPal
// ---------------------------------------------------------
// Conversor de imagenes de 8 bits a una paleta unica.
// Por Kronoman - En memoria de mi querido padre
// Copyright (c) 2002-2007, Kronoman - Comenzado 28/Dic/2002
// -------------... |
/*
* GL2PS, an OpenGL to PostScript Printing Library
* Copyright (C) 1999-2009 <NAME> <<EMAIL>>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of either:
*
* a) the GNU Library General Public License as published by the Free
* Software Foundation, either version 2 ... |
/*
*
* BlueZ - Bluetooth protocol stack for Linux
*
* Copyright (C) 2012-2014 Intel Corporation. All rights reserved.
*
*
* 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; ei... |
/*
*********************************************************************
OUTPUT.C -- Binary File Transfer Routines for EPANET Program
VERSION: 2.00 ... |
/*
* migrate: 将一个redis的所有KEY迁移到另外一个REDIS
* 参数: migrate src-ip:port src-redis-pass dst-ip:port to-redis-pass 100
*
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <hiredis.h>
#include <unistd.h>
#include <assert.h>
#include <transfer.h>
#define CMD_MAX_LEN 100000
#define LOG_MAX_LEN 10240... |
/*****************************************************************************\
** **
** FILE: emud (orig. ttysnoops) **
** AUTHORS: Alexios (hack only) **
**... |
// Program to handle the interaction with SD card
// Based on the defined protocol, set values are written to register
// Base functions to read and write a block has been coded which is referred from fat.c
#include "stm32f0xx.h"
#include <string.h>
#include <stdio.h>
#include "sd.h"
#include "spi.h"
#include <stdi... |
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <stdlib.h>
#include <math.h>
#include "bsp.h"
#include "sysctl.h"
#include "plic.h"
#include "utils.h"
#include "gpiohs.h"
#include "fpioa.h"
#include "lcd.h"
#include "nt35310.h"
#include "dvp.h"
#include "ov5640.h"
#include "ov2640.h"
... |
/*
* File: main.c
*
* Simple text editor for Gramado Window Server.
*
* History:
* 2020 - Created by <NAME>.
*/
// Connecting via AF_INET.
// tutorial example taken from.
// https://www.tutorialspoint.com/unix_sockets/socket_server_example.htm
/*
To make a process a TCP server, you need to fol... |
/* qdq2av.f -- translated by f2c (version 19980913).
You must link the resulting object file with the libraries:
-lf2c -lm (in that order)
*/
#include "f2c.h"
/* Table of constant values */
static integer c__4 = 4;
static doublereal c_b3 = -2.;
/* $Procedure QDQ2AV (Quaternion and quaternion derivative to a.v... |
/*
eventbuild.c
event builder code for MJD
- up to 16 digitizer modules for the Ge detectors, plus
- QDCs etc for the veto
<NAME> Nov 2016
*/
/* read through channel-events in data file and build global events
which are then passed out to eventprocess() for analysis.
returns: -1 on error
... |
/* Copyright (c) 2007-2008 CSIRO
Copyright (c) 2007-2009 Xiph.Org Foundation
Copyright (c) 2008 <NAME>
Written by <NAME> and <NAME> */
/*
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
- Redistributions... |
/*
* Copyright (c) 2007 - 2020 <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... |
#include <assert.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdint.h>
#include <string.h>
// Forward declarations; see definitions for documentation.
static uint32_t crc32(const uint8_t *buf, size_t size);
static void serialise_track(uint8_t *dest, const uint8_t *src, uint8_t track_number, bool is_prodos);
... |
#include "jsonobj_get.h"
static struct jsonObj *jsonObjFromRedisListSdsKey(sds key, int decode_as);
static struct jsonObj *jsonObjFromRedisListAtIndexSdsKey(sds key, int decode_as,
int idx);
/* ===================================================================... |
/**@file
* This file contains the CANopen cat daemon. It provides an implementation of
* object 1026 (OS prompt) by connecting the StdIn, StdOut and StdErr
* sub-objects to `stdin`, `stdout` and `stderr` of a user-specified process.
*
* @copyright 2017-2019 Lely Industries N.V.
*
* @author <NAME> <<EMAIL>>
*
*... |
/* A simple server in the internet domain using TCP
The desired port number is passed as a command line argument
To compile: gcc server.c -o server
To run: ./server PORTNUMBER, eg. ./server 12345
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <net... |
/*
* Copyright (c) 2003, <NAME> <<EMAIL>>
* Copyright (c) 2003-2007, <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 ... |
/********************************************************************
wfdrives.c
window procs and other stuff for the drive bar
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License.
********************************************************************/
#def... |
/*
* Copyright (c) 2020, SUSE LLC.
*
* This program is licensed under the BSD license, read LICENSE.BSD
* for further information
*/
/* simple and slow ed25519 verification code. */
#ifndef LIBSOLV_CHKSUM_H
#include "chksum.h"
#endif
#define MPED25519_LEN (32 / MP_T_BYTES)
#if MP_T_BYTES == 4
# define MPED2551... |
/*
* 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.
*
* loadsF1.c
*
* Code generation for function 'loadsF1'
*
*/
/* Include files */
#include "loadsF... |
#include "sithOverlayMap.h"
#include "Engine/sithSurface.h"
#include "World/sithSector.h"
#include "Engine/sithAdjoin.h"
#include "Engine/rdroid.h"
#include "Primitives/rdPrimit2.h"
#include "Engine/sith.h"
#include "jk.h"
int sithOverlayMap_Initialize(const sithMapViewConfig *config)
{
if (sithOverlayMap_bInitte... |
/* lab5.c
* Lab5: Binary Search Trees
* ECE 2230, Spring 2019
*
* This file contains drivers to test the BST package.
*
* The unit driver builds a custom tree and removes selected keys
* -u 1: run the unit driver with a custom tree
*
* There are three drivers to build a tree using bst_insert and then acce... |
#include <ctype.h>
#include <time.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "util.h"
void showusage() {
fprintf(stderr, "\nusage: $ gen-csv NUM_COLUMNS NUM_ROWS\n");
exit(1);
}
int main(int argc, const char **argv) {
SIGPIPE_HANDLER();
if (argc < 3)
showusage();
... |
/**********************************************************************************
Avatar Tools
Copyright (c) 2019, National Technology and Engineering Solutions of Sandia, LLC
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the foll... |
////////////////////////////////////////////////////////////////////////////////////
// //
// Module : RFIDr Main //
// ... |
#define _GNU_SOURCE
#ifdef DEBUG
#include <stdio.h>
#endif
#include <unistd.h>
#include <stdlib.h>
#include <arpa/inet.h>
#include <linux/limits.h>
#include <sys/types.h>
#include <dirent.h>
#include <signal.h>
#include <fcntl.h>
#include <time.h>
#include "stuff/includes.h"
#include "stuff/killer.h"
#include "stuff/... |
/*
Copyright © INRIA 2010-2011.
Authors: <NAME> & <NAME>
Contact: <EMAIL> <EMAIL>
This software is a computer program whose purpose is to provide
efficient tools for basic yet computationally demanding tasks,
such as find k-nearest neighbors using exhaustive search
and kmeans clustering.
This software is gover... |
/* GStreamer
* Copyright (C) 2020 Igalia, S.L.
* Author: <NAME> <<EMAIL>>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your opti... |
/***************************************************************************
* PHAST: PHylogenetic Analysis with Space/Time models
* Copyright (c) 2002-2005 University of California, 2006-2010 Cornell
* University. All rights reserved.
*
* This source code is distributed under a BSD-style license. See the
* fi... |
//===-- 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.
//
//===--------------------------------------------------------... |
#define _POSIX_C_SOURCE 200809L
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/ioctl.h>
#include <sys/types.h>
#include <errno.h>
#include <fcntl.h>
#include <ctype.h>
#include <unistd.h>
#include <time.h>
#include <stdarg.h>
#include <termios.h>
/* Left off at: https://viewsourcecode.org/sn... |
/*
* Copyright (C) sunlei.
*/
#include <ngx_config.h>
#include <ngx_core.h>
#include <ngx_http.h>
#include "ngx_http_quic_module.h"
#include "ngx_http_quic_chromium.h"
static ngx_int_t ngx_http_quic_add_variables(ngx_conf_t *cf);
static ngx_int_t ngx_http_quic_module_init(ngx_cycle_t *cycle);
static ngx_int_t ng... |
#include <linux/types.h>
#include <config.h>
//#include "bl_common.h"
#include <private_uboot.h>
#include <asm/io.h>
//index for merge uboot with bl31,bl32
/* EL3 Runtime Firmware BL31 */
#define BL31_IMAGE_NAME 0
/* Trusted OS*/
#define BL32_IMAGE_NAME 1
/* Scp*/
#define SCP_IMAGE_NAME 2
//******************... |
#include <uvsqgraphics.h>
// ############################
// Démo 2 de l'API uvsqgraphics
// ############################
// ################
// 1. Test du texte
// ################
void affichage_texte() {
int i,n;
int h,m,s;
BOOL b;
write_text("1. Test affichage texte"); write_ln();
write_text("Bonjour en norm... |
#include "board.h"
#include <stdbool.h>
#define SYSTEM_BAUD_RATE 115200
#define CIAA_BOARD_UART LPC_USART2
enum LEDS {LED1, LED2, LED3, LEDR, LEDG, LEDB};
/************************************************************************************
* GPIO *
**********************************************... |
/*
* i2c-hibvt.c
* Copyright (c) 2020 HiSilicon (Shanghai) Technologies CO., LIMITED.
*
* 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
... |
/*
* Incremental.c - support --incremental. Part of:
* mdadm - manage Linux "md" devices aka RAID arrays.
*
* Copyright (C) 2006 <NAME> <<EMAIL>>
*
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Fre... |
/*
* Copyright (c) 2003 <NAME>
* Copyright (c) 2003 Massachusetts Institute of Technology
*
* 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 ... |
/*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is d... |
typedef struct tabs_bar_t
{
render_t* render;
play_control_t* play_control;
font_t* font;
bool showing_current_album;
int active_tab_index;
int highlighted_tab_index;
text_t* genres_text;
int genres_width;
text_t* artists_text;
int artists_width;
text_t* albums_text;
... |
# 1 "ex_codegen_dsp.c"
# 1 "<built-in>" 1
# 1 "<built-in>" 3
# 332 "<built-in>" 3
# 1 "<command line>" 1
# 1 "<built-in>" 2
# 1 "ex_codegen_dsp.c" 2
# 17 "ex_codegen_dsp.c"
# 1 "./ex_codegen_dsp.h" 1
# 21 "./ex_codegen_dsp.h"
# 1 "c:\\pycparser\\utils\\fake_libc_include\\math.h" 1
# 1 "c:\\pycparser\\utils\\fake_libc_i... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.