text stringlengths 7.55k 41.9k |
|---|
void host_arm64_ADD_IMM(codeblock_t *block, int dst_reg, int src_n_reg, uint32_t imm_data);
void host_arm64_ADD_REG(codeblock_t *block, int dst_reg, int src_n_reg, int src_m_reg, int shift);
void host_arm64_ADD_REG_LSR(codeblock_t *block, int dst_reg, int src_n_reg, int src_m_reg, int shift);
void host_arm64_ADD_V8B(co... |
//
// files.c
// lf - list files and directories (internal helper functions)
//
// Created by WestleyR <<EMAIL>> 2021-02-24
// Source code: https://github.com/WestleyR/list-files
//
// Copyright (c) 2021 WestleyR. All rights reserved.
// This software is licensed under a BSD 3-Clause Clear License.
// Consult the LIC... |
/* testfilechooser.c
* Copyright (C) 2003 Red Hat, Inc.
* Author: <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) ... |
/* Generic remote debugging interface for simulators.
Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
2002, 2004 Free Software Foundation, Inc.
Contributed by Cygnus Support.
<NAME> (<EMAIL>).
This file is part of GDB.
This program is free software; you can redistribute it and/or m... |
/*
* Copyright (c) 2016, Alliance for Open Media. All rights reserved
*
* This source code is subject to the terms of the BSD 2 Clause License and
* the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
* was not distributed with this source code in the LICENSE file, you can
* obtain it at w... |
/*
* Copyright (c) 2011 The FreeBSD Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of co... |
/*
Simple DirectMedia Layer
Copyright (C) 1997-2014 <NAME> <<EMAIL>>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any ... |
/* Copyright (c) 2012-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 of... |
/* -*- Mode: c; c-basic-offset: 2 -*-
*
* raptor_abbrev.c - Code common to abbreviating serializers (ttl/rdfxmla)
*
* Copyright (C) 2006, <NAME>
* Copyright (C) 2004-2008, <NAME> http://www.dajobe.org/
* Copyright (C) 2004-2005, University of Bristol, UK http://www.bristol.ac.uk/
* Copyright (C) 2005, <NAME> <EM... |
/* Copyright (GPL), 2004 <NAME> <EMAIL> or <EMAIL>
http://prdownloads.sourceforge.net/souptonuts/working_with_time.tar.gz?download
This program queries a timeserver on UDP port 123 and allows us to peek at
at the NTP timestamp format.
Run this program as follows:
$ ./queryTimeServer <timeserver>
... |
/* GStreamer Smart Video Encoder element
* Copyright (C) <2010> <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 op... |
/* Function for conversion of binary data to MSA.
*
* Contents:
* 1. The <esl_msa_hmmpgmd2msa> function
* 2. Test driver
*/
#include "p7_config.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "hmmer.h"
#include "hmmpgmd.h"
#include "esl_sqio.h"
/***********************************... |
#include "ComputeLISASNR.h"
/************ Parsing arguments function ************/
/* Parse command line to initialize GenTDITDparams object */
/* Masses are input in solar masses and distances in Mpc - converted in SI for the internals */
static void parse_args_ComputeLISASNR(ssize_t argc, char **argv, ComputeLISASN... |
/*
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
* University Research and Technology
* Corporation. All rights reserved.
* Copyright (c) 2004-2011 The University of Tennessee and The University
* of Tennessee Resea... |
//-----------------------------------------------------------------------------
// Copyright (C) 2015 Piwi
//
// This code is licensed to you under the terms of the GNU GPL, version 2 or,
// at your option, any later version. See the LICENSE.txt file for the text of
// the license.
//-----------------------------------... |
/* $Id$ */
/*--------------------------------------------------------------------*/
/*; Copyright (C) 2009-2019 */
/*; Associated Universities, Inc. Washington DC, USA. */
/*; */
/*; This ... |
/*
* hp100.h: Hewlett Packard HP10/100VG ANY LAN ethernet driver for Linux.
*
* Author: <NAME>, <<EMAIL>>
*
* Header file...
*
* This driver is based on the 'hpfepkt' crynwr packet driver.
*
* This source/code is public free; you can distribute it and/or modify
* it under terms of the GNU General Public Lic... |
/* Copyright (C) 1988-2010 by <NAME> and the
Institute of Global Environment and Society (IGES).
See file COPYRIGHT for more information.
Written by <NAME> and <NAME> */
#ifdef HAVE_CONFIG_H
#include "config.h"
/* If autoconfed, only include malloc.h when it's presen */
#ifdef HAVE_MALLOC_H
#include ... |
/*
** Copyright 2005-2018 Solarflare Communications Inc.
** 7505 Irvine Center Drive, Irvine, CA 92618, USA
** Copyright 2002-2005 Level 5 Networks Inc.
**
** 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 ... |
#define _SYSTEM
#include <assert.h>
#include <errno.h>
#include <math.h>
#include <stdlib.h>
#include <sys/param.h>
#include <sys/param.h>
#include <minix/dmap.h>
#include <minix/libminixfs.h>
#include <minix/syslib.h>
#include <minix/sysutil.h>
#include <minix/u64.h>
#include <minix/bdev.h>
#define BP_CLEAN ... |
// Tool to calculate word-word cooccurrence statistics for sentence aligned
// corpus of 2 languages.
//
// Copyright (c) 2014 The Board of Trustees of
// The Leland Stanford Junior University. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file ... |
/*
* Copyright (C) 2012-2013 <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
* the rights to use, copy, modify, merg... |
/*
* Copyright (C) 2016-2017 FIX94
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
#include <string.h>
#include <malloc.h>
#include <unistd.h>
#include <stdio.h>
#include <fat.h>
#include <sys/stat.h>
#include <polarssl/md5.h>
#include <... |
/*
* Copyright (c) 2016, <NAME> <<EMAIL>>
* All rights reserved.
*
* Based on the FatFs Module STM32 Sample Project,
* Copyright (c) 2014, ChaN
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are ... |
/*
* waave, a modular audio/video engine
*
* Copyright (C) 2012 <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 3 of the License, or
* (at your option) a... |
/*
* Copyright (c) 2013-2018 <NAME> <mat at brain-dump.org>
*
* 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... |
static const char* run_script =
"M.usage";
static const char* getopt_script =
"--- Simplified getopt, based on <NAME>'s Haskell GetOpt.<br>"
"-- Usage:"
"-- <ul>"
"-- <li><code>options = {Option {...}, ...}</br>"
"-- getopt.processArgs ()</code></li>"
"-- <li>Assumes <code>prog = {name[, banner] [, purpose]... |
/* Protein.c -- Functions to read both plain and compressed (gzip, deflate) files.
* Could have used zlib, but this is more fun.
*
* Author: <NAME> (2007)
*
* Matt is licensed under the GNU public license version 2.0.
*
* If you would like to license Matt in an enviroment where the GNU public license is
* unacc... |
/* Copyright (c) 2010 - 2020, Nordic Semiconductor ASA
* 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
* l... |
/**
* The MIT License (MIT)
*
* Copyright (c) 2013 <NAME> <<EMAIL>>
* Copyright (c) 2013 <NAME> <<EMAIL>>
* Copyright (c) 2013 <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
... |
#include <stdlib.h>
#include <string.h>
#include <strings.h>
#include <stdint.h>
#include "sds.h"
#include "dict.h"
#include "proxy.h"
#include "md5.h"
#define PROXY_NOTUSED(V) ((void) V)
struct redisKeyInfo;
typedef void *redisCommandProc(proxyContext *p, int argc, char **argv, struct redisK... |
/*
* This source herein may be modified and/or distributed by anybody who
* so desires, with the following restrictions:
* 1.) This notice shall not be removed.
* 2.) Credit shall not be taken for the creation of this source.
* 3.) This code is not to be traded, sold, or used for personal
* ga... |
/*
* Mr Pass. Brain the size of a planet!
*
* Proundly Created by <NAME>
* Share Freely Creative Commons SA-BY-NC 3.0.
*
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include "Game.h"
#include "mechanicalTurk.h"
#define DEFAULT_DISCIPLINES {STUDENT_BQN, STUDENT_MMONEY,... |
/******************************************************************************
* File Name : gps_poll.c
* Date First Issued : 08/09/2016
* Board : Sensor
* Description : GPS polling
*******************************************************************************/
/*
Poll the GPS UART to s... |
#include "nokialcd.h"
#include "img_brucon.h"
#include "img_map.h"
#include "img_westvleteren.h"
#include "font_opensans_10.h"
#include "brucon_nvs.h"
#include "sensor.h"
#include <freertos/task.h>
#include "bootloader_random.h"
extern TickType_t last_click;
spi_device_handle_t spi;
uint8_t driver;
uint16_t frame[RO... |
/*
* Copyright (c) 2017, OpenAV Productions,
* <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
* ... |
/*
* Send NSM notify calls to all hosts listed in /var/lib/sm
*
* Copyright (C) 2004-2006 <NAME> <<EMAIL>>
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/stat.h>
#include <sys/poll.h>
#include <sys/param.h>
#include <sys/syslog.h>
#include <arpa/ine... |
#include "mana/graphics/dualcontouring/octree.h"
const int MATERIAL_AIR = 0;
const int MATERIAL_SOLID = 1;
const float QEF_ERROR = 1e-6f;
const int QEF_SWEEPS = 4;
const ivec3 CHILD_MIN_OFFSETS[8] = {{{{0, 0, 0}}}, {{{0, 0, 1}}}, {{{0, 1, 0}}}, {{{0, 1, 1}}}, {{{1, 0, 0}}}, {{{1, 0, 1}}}, {{{1, 1, 0}}}, {{{1, 1, 1}}... |
#include <limits.h>
#include <dirent.h>
#include <stdio.h>
#include <sys/types.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <errno.h>
#include <sys/sendfile.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <utime.h>
#include <linux/types.h>
#include <linux/kdev_t.h>
#include <sys/statfs.h... |
#define NULL ((void*)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t; typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1
/* Forward d... |
/*++
/* NAME
/* dict 3
/* SUMMARY
/* dictionary manager
/* SYNOPSIS
/* #include <dict.h>
/*
/* void dict_register(dict_name, dict_info)
/* const char *dict_name;
/* DICT *dict_info;
/*
/* DICT *dict_handle(dict_name)
/* const char *dict_name;
/*
/* void dict_unregister(dict_name)
/* const char *dict_name;
/*
/* int dic... |
/* this setupcpu function comes from: */
/*==============================================================================*/
/* FILE : start16.asm*/
/**/
/* DESC : A 16 bit mode assembly language startup program, intended for*/
/* use with on Aspen SC520 platforms.*/
/**/
/* 11/16/2000 Added support for t... |
#include <assert.h>
#include <libnu/libnu.h>
/* HE test will pass on little-endian */
void test_validation_utf8() {
const char input0_ok[] = "при";
const char input1[] = "при\xA0\xC2"; /* misplaced lead and trail */
const char input2[] = "при\xC2"; /* start of 2-byte sequence */
const char input2_ok[] = "при\xC2... |
/*
* solar.c - Solar system bodies position routines for libsgp4ansi.
*
* References:
* https://www.celestrak.com/NORAD/documentation/spacetrk.pdf
* https://celestrak.com/publications/AIAA/2006-6753/
* IERS Bulletin - A (Vol. XXVIII No. 030)
* Fundamentals of Astrodynamics and Applications, D. Vallado, Second Ed... |
// +build
// Copyright 2019 syzkaller project authors. All rights reserved.
// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
#include <assert.h>
#include <fcntl.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <stdlib.h>
#include <stdio.h>
#incl... |
// ----------------------------------------------------------------------------------
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
// Author: Shihua (<NAME>, <EMAIL>
// ---------------------------------------------... |
/* $NetBSD: msdosfs_vnops.c,v 1.19 2017/04/13 17:10:12 christos Exp $ */
/*-
* SPDX-License-Identifier: BSD-4-Clause
*
* Copyright (C) 1994, 1995, 1997 <NAME>.
* Copyright (C) 1994, 1995, 1997 TooLs GmbH.
* All rights reserved.
* Original code by <NAME> (<EMAIL>) (see below).
*
* Redistribution and use in sour... |
/* File: startup_TM4C123GH6PM.c
* Purpose: startup file for TM4C123GH6PM Cortex-M4 device.
* Should be used with GCC 'GNU Tools ARM Embedded'
* Version: CMSIS 5.0.1
* Date: 2017-09-13
*
* Created from the CMSIS template for the specified device
* Quantum Leaps, www.state-machine.com
*
* NOTE:
* The f... |
#include <types.h>
#include <io.h>
#include <sf_mmap.h>
#include <clk.h>
#include <sys_manager.h>
#include "ddr_init.h"
/* this code is just for ddr3-1333 */
/* ----------------------local variable--------------------------------------- */
//some basic info about sdram, you can add or modify them here
//describe some ... |
/***************************************************************************
-= Psikyo Games =-
driver by <NAME> (<EMAIL>)
Note: if MAME_DEBUG is defined, pressing Z with:
Q shows layer 0
W shows layer 1
A shows t... |
/*
* disp.c
*
* DSP-BIOS Bridge driver support functions for TI OMAP processors.
*
* Node Dispatcher interface. Communicates with Resource Manager Server
* (RMS) on DSP. Access to RMS is synchronized in NODE.
*
* Copyright (C) 2005-2006 Texas Instruments, Inc.
*
* This package is free software; you can redis... |
/*
* Copyright (c) 2006 Apple Computer, Inc. All rights reserved.
*
* @APPLE_LICENSE_HEADER_START@
*
* This file contains Original Code and/or Modifications of Original Code
* as defined in and that are subject to the Apple Public Source License
* Version 2.0 (the 'License'). You may not use this file except in... |
/*************************************************************************/
/* Xania (M)ulti(U)ser(D)ungeon server source code */
/* (C) 1995-2000 Xania Development Team */
/* See the header to file: merc.h for original code copyrights */
/* ... |
/* Copyright 2009, UCAR/Unidata and OPeNDAP, Inc.
See the COPYRIGHT file for more information. */
#include "config.h"
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "ocinternal.h"
#include "ocdebug.h"
#include "oclog.h"
#define OCRCFILEENV "DAPR... |
#include <stdio.h>
#include <stdlib.h>
#include "util.h"
#include <mpi.h>
int world_size, world_rank,
gr1_rank, gr2_rank, gr3_rank, gr4_rank,
gr5_rank, gr6_rank, gr7_rank, gr8_rank,
gr9_rank, gr10_rank, gr11_rank, gr12_rank,
req_rank, proc1_rank, proc2_rank, proc3_rank,
gr1_size, gr2_size, gr3_size... |
/*
* items.c: manage items from MC (all the stuff from items.png).
*
* Written by T.Pierron, oct 2020
*/
#define ITEMS_IMPL
#include <string.h>
#include <stdlib.h>
#include <malloc.h>
#include <stdio.h>
#include <zlib.h>
#include "items.h"
#include "SIT.h"
#include "blocks.h"
#include "NBT2.h"
static struct Items... |
/**
Copyright (c) 2012-2015, <NAME> <<EMAIL>>
Copyright (c) 2012-2015, <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 ... |
/**
* Marlin 3D Printer Firmware
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 <NAME> / <NAME>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as ... |
/*************************************************************************
* Copyright (c) 2015, Synopsys, Inc. *
* All rights reserved. *
* *
* Redistribution and... |
#include <stdlib.h>
#include <string.h>
#include <stdint.h>
#include <stdbool.h>
#include <time.h> //For rand
#include <math.h> //pow, sqrt
#include "png_assist.h"
void invalid_input(){
printf("\nWrong number of arguments provided. This is the format\n");
printf("./DreamcastEyecatcherTool --input-image... |
/* @f5pl_realtime.c
**
** Realtime fast5_pipeline client.
** Runs on the head node and assigns work to worker nodes in realtime.
**
** @authors: <NAME> (<EMAIL>),
** <NAME> (<EMAIL>)
**
** MIT License
**
** Copyright (c) 2019 <NAME>, 2020 <NAME>
**
** Permission is hereby granted, free of charge... |
//------------------------------------------------------------------------------
// <copyright file="ar6k_events.c" company="Atheros">
// Copyright (c) 2007-2010 Atheros Corporation. All rights reserved.
//
//
// Permission to use, copy, modify, and/or distribute this software for any
// purpose with or without fee... |
#include "fly/fly.h"
#include <string.h>
#include <stdlib.h>
/* --------------------------------------------------------------------- */
#define E __EXT_KEY_BASE__
struct _kv {char *n; int v;};
static struct _kv kv[] =
{
// alphanumeric keys
{"A", 'A'}, {"B", 'B'}, {"C", 'C'}, {"D", 'D'}, {"E", 'E'}, {"F", ... |
#define thisprog "xe-ldas5-readdat2"
#define TITLE_STRING thisprog" v 0: 31.January.2019 [JRH]"
#define MAXLINELEN 1000
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <math.h>
#include <limits.h> /* to get maximum possible short value */
#include <sys/stat.h> /* this and next header allow testing... |
/* $XFree86: xc/extras/Mesa/src/mesa/drivers/dri/i915/i915_texstate.c,v 1.4 2005/03/29 04:00:28 tsi Exp $ */
/**************************************************************************
*
* Copyright 2003 Tungsten Graphics, Inc., <NAME>, Texas.
* All Rights Reserved.
*
* Permission is hereby granted, free of char... |
/*
* oclGaussCrack - OpenCL accelerated Gauss hash validator
*
* Copyright (C) 2012 <NAME> <<EMAIL>>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
... |
/*-
* Copyright (c) 1988, 1993
* The Regents of the University of California. All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* <NAME>.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditi... |
/*
* linux/ipc/sem.c
* Copyright (C) 1992 <NAME>
* Copyright (C) 1995 <NAME>, <NAME>
*
* IMPLEMENTATION NOTES ON CODE REWRITE (<NAME>, January 1995):
* This code underwent a massive rewrite in order to solve some problems
* with the original code. In particular the original code failed to
* wake up processes th... |
/* save to tiff
*
* 2/12/11
* - wrap a class around the tiff writer
* 17/3/12
* - argh xres/yres macro was wrong
* 26/1/14
* - add rgbjpeg flag
* 21/12/15
* - add properties flag
* 31/5/16
* - convert for jpg if jpg compression is on
* 19/10/17
* - predictor defaults to horizontal, reducing file size... |
/*
* Copyright (c) 2002-2008 <NAME>, <NAME>
* Copyright (c) 2002-2008 Atheros Communications, 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... |
/*
* File: ata.c
*
* Copyright (c) 2017-2018 <NAME>, <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, ... |
#define _GNU_SOURCE
#include <stdlib.h>
#include <stdint.h>
#include <limits.h>
#include <pthread.h>
#include <string.h>
#include <sys/mman.h>
#include <assert.h>
#include <errno.h>
#undef assert
#define assert(x) do { if (!(x)) __builtin_trap(); } while(0)
//#define assert(x)
static inline int a_ctz_32(uint32_t x)
{... |
/*
Info:
A preprocessing tool that trims an input graph while guaranteeting that the
maximal k-clique densest subgraph is untouched.
Feel free to use these lines as you wish.
This program is adopted from "kClistCore.c" publicly available at
https://github.com/maxdan94/kClist.
The theory behind this progr... |
/*
* Copyright (C) 2007 The Android Open Source Project
*
* 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 app... |
// Options: --no-argc --no-arrays --no-bitfields --checksum --concise --no-consts --no-float --no-inline-function --max-array-dim 3 --max-array-len-per-dim 10 --max-block-depth 5 --max-block-size 4 --max-expr-complexity 2 --max-funcs 1 --max-pointer-depth 2 --no-pointers --no-structs --no-unions --no-volatiles --no-b... |
// vim: cin:sts=4:sw=4
//#include <libircclient.h>
//#include <libirc_rfcnumeric.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdbool.h>
#include <malloc.h>
#include <string.h>
#include <search.h>
#include <pthread.h>
#include <math.h>
#include <stddef.h>
#include <time.h>
#include "config.h"
#include "boye... |
#include "stddefx.h"
/* TODO
*
* resample --clone clone.map bla.map bla.map
* levert geen foutmelding maar wel onzin data op
* tweede naam moet ongelijk eerste zijn blijkbaar
*
* oplossing gebruik misc/filesets.c
*/
/********/
/* USES */
/********/
/* libs ext. <>, our "" */
#include "mathx.h" /* M_2PI */
... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <dirent.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/mman.h>
#include <stdint.h>
#define STB_IMAGE_IMPLEMENTATION
#include "stb_image.h"
#define STB_IMAGE_WRITE_IMPLEMENTATION
#include "stb_image_write.h"
struct img_dt... |
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
//
//
// ============================================================================
// File: cppmunge.c
//
// ==================================================... |
/*
* Copyright (c) 2011 Institute of Geological & Nuclear Sciences 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. Redistributions of source code must retain the above copyright... |
#include "can-bridge-firmware.h"
//Select which Leaf generation you have
//#define LEAF_2011 //ZE0
#define LEAF_2014 //AZE0 (and env200!)
//Select which battery size you have
//#define BATTERY_40KWH
//#define BATTERY_30KWH
#define BATTERY_24KWH
//variables used for CurrentControl
volatile uint16_t max_cu... |
/* Constants and data structures for x86 CPU features.
This file is part of the GNU C Library.
Copyright (C) 2008-2020 Free Software Foundation, Inc.
The GNU C 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 ... |
/* ====================================================================
* The Apache Software License, Version 1.1
*
* Copyright (c) 2000-2002 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that... |
#include "appstate/common.h"
#include "appstate/transition_table.h"
#include "server.h"
#include <hammer/error.h>
#include <hammer/mem.h>
#include <hammer/net.h>
#include <hammer/time.h>
#include <hammer/vector.h>
#include <hammer/worldgen/biome.h>
#include <hammer/worldgen/climate.h>
#include <hammer/worldgen/planet.h... |
#include "balance_task.h"
#include "FreeRTOS.h"
#include "action_task.h"
#include "task.h"
struct _lobot_servo_ servos_array[18];
float Pitch_use;
float Roll_use;
float Pitch;
float Roll;
float Kp_Pitch = -0.05;
float Ki_Pitch = 0;
float Kd_Pitch = -0.1;
float Kp_Roll = 0.05;
float Ki_Roll = 0;
float Kd_Roll = 0.1;
... |
/*-
* BSD LICENSE
*
* Copyright(c) 2016-2017 Intel Corporation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain the above co... |
#include <SDL2/SDL.h>
#include "disp.h"
#include "harv.h"
#include "hold.h"
#include "loot.h"
#include "main.h"
#include "make.h"
#include "maps.h"
#include "play.h"
#include "rand.h"
struct h_data {
short int biome;
short int tile;
short int n_items;
short int item_id[9];
short int item_prob[9];
short int min[9... |
/* $Id: namegen.c 3078 2005-10-23 13:04:44Z tron $ */
#include "stdafx.h"
#include "openttd.h"
#include "debug.h"
#include "macros.h"
#include "namegen.h"
#include "table/namegen.h"
#include "table/namegen_rus.h"
static inline uint32 SeedChance(int shift_by, int max, uint32 seed)
{
return (GB(seed, shift_by, 16) * m... |
#include "path_generator.h"
#include "cqueue.h"
#include <string.h>
#include <stdio.h>
#include <pthread.h>
#include <stdlib.h>
#include <unistd.h>
#include <netdb.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <math.h>
#define BUFSIZE 1024
#define UDP_LISTE... |
#include "univLib.h"
#include "collide.h"
#include "userIntr.h"
///* ppocTL --- two points: top left (x, y)
// * ppocTR --- two points: top right (x, y)
// * ppocTML --- top midlle left (x, y) & top middle (x, y)
// * ppocTMR --- top middle (x, y) & top midlle right (x,y)
// * ppocBL --- two points: b... |
/******************************************************************************/
/* */
/* CONV (converter) for Agrif (Adaptive Grid Refinement In Fortran) */
/* ... |
#include "chip8.h"
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include "SDLRect.h"
uint16_t opcodesInit[OPCODE_SIZE] = {
0x0000, 0x1000, 0x2000, 0x3000, 0x4000, 0x5000, 0x6000, 0x7000,
0xA000, 0xB000, 0xC000, 0xD000, 0x8001, 0x8002, 0x8003, 0x8004,
0x8005, 0x8006, 0x8007, 0x8000, 0x800E, 0xE0... |
// Options: --no-argc --no-arrays --no-bitfields --checksum --concise --no-consts --no-float --no-inline-function --max-array-dim 3 --max-array-len-per-dim 10 --max-block-depth 5 --max-block-size 4 --max-expr-complexity 2 --max-funcs 1 --max-pointer-depth 2 --no-pointers --no-structs --no-unions --no-volatiles --no-b... |
/*
* deviceloopback.c
*
* This file contains the test / demo code to demonstrate the Audio component
* driver functionality on SYS/BIOS.
*
* Copyright (C) 2009-2017 Texas Instruments Incorporated - http://www.ti.com/
*
*
* Redistribution and use in source and binary forms, with or without
* modification, ar... |
// Copyright 2021 Fuzhou Rockchip Electronics Co., Ltd. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <assert.h>
#include <fcntl.h>
#include <getopt.h>
#include <signal.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>... |
/*
* Copyright (c) 2011 ITE Tech. Inc. All Rights Reserved.
*/
/** @file
* Castor3 keypad module.
*
* @author <NAME>
* @version 1.0
*/
#include "../itp_cfg.h"
#include "iic/mmp_iic.h"
#include <errno.h>
#include <pthread.h>
#include "openrtos/FreeRTOS.h" //must "include FreeRTOS.h" before "include queue.h"
#i... |
/*
* Copyright (c) 2003,2008 <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 conditi... |
/* special.c
* Copyright (c) 2011, <NAME>
* All rights reserved.
*/
#include <string.h>
#include <stdbool.h>
#include "special.h"
/*
u0000..u007F 00000000000000xxxxxxx 0xxxxxxx
u0080..u07FF 0000000000yyyyyxxxxxx 110yyyyy 10xxxxxx
u0800..uD7FF, uE000..uFFFF 00000zzzzyyyyyyxxxxxx 1... |
/* RetroArch - A frontend for libretro.
* Copyright (C) 2010-2014 - <NAME>
* Copyright (C) 2011-2017 - <NAME>
*
* RetroArch 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 Found-
* ation, either version 3 of the... |
/* Test file for mpfr_rint, mpfr_trunc, mpfr_floor, mpfr_ceil, mpfr_round,
mpfr_rint_trunc, mpfr_rint_floor, mpfr_rint_ceil, mpfr_rint_round.
Copyright 2002-2019 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
The GNU MPFR Library is f... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.