text stringlengths 7.55k 41.9k |
|---|
/* pru1_statemachine_dma.c: state machine for QBUS master DMA
Copyright (c) 2018-2020, <NAME>
<EMAIL>, www.retrocmp.com
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, i... |
//
// Copyright (c) 2017 The Khronos Group 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... |
/*
Header:
Code for the throttle-steering-position board located
in the Dashboard-Left Enclosure
Author:
@author coreyacl
*/
/*----- Includes -----*/
#include <stdio.h>
// #include <stdlib.io>
#include <string.h>
#include <avr/io.h>
#include <avr/interrupt.h>
#include <util/delay.h>
#include "can_api.h"
#i... |
/*
** Copyright (C) 2005-2020 by Carnegie Mellon University.
**
** @OPENSOURCE_LICENSE_START@
** See license information in ../../LICENSE.txt
** @OPENSOURCE_LICENSE_END@
*/
/*
** rwgroup
**
** rwgroup is a 'fuzzy uniq' utility that can be used to group together
** records into 'groups' of fields; to work properly, it
... |
# include <stdio.h>
#include "hstcal.h"
# include "hstio.h"
# include "xtables.h"
# include "wf3.h"
# include "wf3info.h"
# include "hstcalerr.h"
# define FULL_FRAME_READOUT 1
# define SUBARRAY_READOUT 2
# define BINNED_READOUT 3
# define NUMCOLS 28
typedef struct {
IRAFPointer tp; /* pointer to table d... |
/*
* Copyright 2013-2017 Guardtime, Inc.
*
* This file is part of the Guardtime client SDK.
*
* 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/LICENS... |
/* cranberry-server. A small C web server application with lua scripting,
* session and sqlite support. https://github.com/jahnf/cranberry-server
* For licensing see LICENSE file or
* https://github.com/jahnf/cranberry-server/blob/master/LICENSE
*/
/** @file http_request.c */
#include "http_defines.h"
#define HTT... |
/*! \file rm_hash_utils.c
*
* Util functions for hash resource manager
*
* This file contains utility functions for hash resource manager
*/
/*
* Copyright: (c) 2018 Broadcom. All Rights Reserved. "Broadcom" refers to
* Broadcom Limited and/or its subsidiaries.
*
* Broadcom Switch Software License
*
* Thi... |
/**
* \file ntpdate.c
* \brief ntpdate source
*
* \author <NAME>
* \author Copyright (C) 2008-2019 <NAME>
*
* \note Options for source edition: tab = 2 spaces
*/
/*
*=====================================================================
* This code will query a ntp server for the local time and display
* it.... |
//
// BRStellarDecode.c
// WalletKitCore
//
// Created by <NAME> on 5/21/2019.
// Copyright © 2019 Breadwinner AG. All rights reserved.
//
// See the LICENSE file at the project root for license information.
// See the CONTRIBUTORS file at the project root for a list of contributors.
//
#include "BRStellarDecode.... |
/*
* Copyright © 2014 <NAME>
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
* the above copyright notice appear in all copies and that both that copyright
* notice and this permission notice appear in sup... |
/* USER CODE BEGIN Header */
/*
Autores: <NAME> (2016116214) e <NAME> (2016193815)
Turma: PL2
*/
/* USER CODE END Header */
/* Includes ------------------------------------------------------------------*/
#include "main.h"
#include "cmsis_os.h"
/* Private includes ---------------------------------------------------... |
/* See LICENSE for licence details. */
/* for jpeg */
#include <jpeglib.h>
/* for png */
#include <png.h>
/* for tiff */
#include <tiffio.h>
/* for gif/bmp/(ico not supported) */
#include "libnsgif.h"
#include "libnsbmp.h"
//#define STB_IMAGE_IMPLEMENTATION
/* to remove math.h dependency */
//#define STBI_NO_HDR
/... |
/*-
* Copyright (c) 2013 <NAME>
* All rights reserved.
*
* This software was developed by SRI International and the University of
* Cambridge Computer Laboratory under DARPA/AFRL contract FA8750-10-C-0237
* ("CTSRD"), as part of the DARPA CRASH research programme.
*
* @BERI_LICENSE_HEADER_START@
*
* Licensed ... |
/**
******************************************************************************
* File Name : main.c
* Description : Main program body
******************************************************************************
*
* COPYRIGHT(c) 2016 STMicroelectronics
*
* Redistribution and use in ... |
#include <stdio.h>
#include <stdlib.h>
#include <hz/hz.h>
#include <hz/backends/hz-vulkan.h>
#include <minmax.h>
#define STB_IMAGE_WRITE_IMPLEMENTATION
#include "stb_image_write.h"
#define ARRAYSIZE(x) (sizeof(x)/sizeof((x)[0]))
typedef struct {
GLFWwindow *window;
HzImplVulkan *vk_impl;
} App;
static void... |
/*
* Copyright (C) 2015 University of Oregon
*
* You may distribute under the terms of either the GNU General Public
* License or the Apache License, as specified in the LICENSE file.
*
* For more information, see the LICENSE file.
*/
/* gnoesyNhsqc.c
This pulse sequence will allow one to perform the foll... |
// Copyright (c) 1992 The Regents of the University of California.
// This file is free software, distributed under the BSD license.
//
// Drop4
//
// Score code for Drop4, by <NAME> (<EMAIL>)
// modified 22 January 1992, to limit the number of entries any one
// person has. This feature was removed in 2016.
//
// Rena... |
/* Allow messing with the radio bands and the US gsm lock
*
* Copyright (c) 2015 mionica @ xda
*
* disclaimer #1: if this breaks your phone, you shouldn't have used it
* disclaimer #2: if you don't understand what this does, stay away!
*/
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <... |
/**********************************************************************
* AVR-BASED FREQUENCY COUNTER *
* *
* Author: <NAME> *
* Date: 2020-11-29 ... |
// detect for ip
// collision by "arp/ndp delete -> ping -> arg/ndp get" sequence
//
// This is part of the CBSD Project
//
// return 1 if records exist
// return 0 if not
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include <sys/socket.h>
#includ... |
/*-
* Copyright (c) 2016, <NAME>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice, this
* list of conditions an... |
/******************** (C) COPYRIGHT 2011 **************************************
* File Name : dateselect.c
* Hacker : deh
* Date First Issued : 12/20/2011
* Board : STM32F103VxT6_pod_mm
* Description : Send data/time to POD and store download to file
**********************************... |
/* $Id: music_gui.c 3339 2005-12-24 20:54:31Z tron $ */
#include "stdafx.h"
#include "openttd.h"
#include "table/strings.h"
#include "functions.h"
#include "window.h"
#include "gfx.h"
#include "sound.h"
#include "hal.h"
#include "macros.h"
#include "variables.h"
static byte _music_wnd_cursong;
static bool _song_is_ac... |
/*
* 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 disclaimer.
*
* 2. Redistribu... |
#include <gsl/gsl_matrix.h>
#include "cimple_safe_mode.h"
/**
* Adds a node to the beginning of the list
*/
void push_burn_node(burn_graph_node ** head,
abstract_state *state)
{
burn_graph_node * new_node;
new_node = malloc(sizeof(burn_graph_node));
new_node->state = state;
new_... |
#include <errno.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <GL/glut.h>
const float g_cube_vbuffer[] = {
-0.5, -0.5, 0.5, // 0 back top left
0.5, -0.5, 0.5, // 1 back top right
0.5, 0.5, 0.5, // 2 back bottom right
-0.5, 0.5, 0.5, // 3 back bottom left
-0.... |
/*-
* Copyright 2009 <NAME>, 2011 ArtForz
* 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... |
#include <kernel.h>
#include <t_syslog.h>
#include <t_stdlib.h>
#include "syssvc/serial.h"
#include "syssvc/syslog.h"
#include "kernel_cfg.h"
#include "driver_common.h"
#define PIN_MASK(pin) (1 << (pin % 32))
#define PIN_CTRL(pin) (&GPIO01 + (pin / 32))
#define MUX_CFG(pinno, muxreg, mode_mask, mux_mode)\
{ ... |
// Copyright (c) 1980, InfoCom Computers and Communications, Cambridge MA 02142
// All rights reserved, commercial usage strictly prohibited.
// Written by <NAME>.
// Revisions Copyright (c) 2021, <NAME> (<NAME>).
#include <stdio.h>
#include "extern.h"
#include "common.h"
static int cxappl(int);
// Save game state
vo... |
/*-
* Copyright (c) 2000, 2001 <NAME>
* Copyright (c) 2000 BSDi
* 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
* ... |
/* glpmpl05.c */
/***********************************************************************
* This code is part of GLPK (GNU Linear Programming Kit).
*
* Authors: <NAME> <<EMAIL>>
* <NAME> <<EMAIL>>
*
* Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008,
* 2009, 2010 <NAME>, Department for ... |
/*-
* SPDX-License-Identifier: BSD-2-Clause
*
* Copyright (c) 2018 <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 copyrig... |
/*
* Copyright 2019 <NAME>, <NAME>, <NAME>,
* <NAME>, <NAME>, <NAME>, <NAME>,
* <NAME>, <NAME>, <NAME>, <NAME>,
* <NAME>, <NAME>, <NAME>, <NAME>, <NAME>
*
* This file is part of acados.
*
* The 2-Clause BSD License
*
* Redistribution and use in source and binary forms, with or without
* modification, are per... |
#define enableInterrupts() {__asm__("rim\n");} /* enable interrupts */
#define disableInterrupts() {__asm__("sim\n");} /* disable interrupts */
#define rim() {__asm__("rim\n");} /* enable interrupts */
#define sim() {__asm__("sim\n");} /* disable interrupts */
#define nop() ... |
/*
* DiskSim Storage Subsystem Simulation Environment (Version 4.0)
* Revision Authors: <NAME>, <NAME>
* Contributors: <NAME>, <NAME>, <NAME>
*
* Copyright (c) of Carnegie Mellon University, 2001-2008.
*
* This software is being provided by the copyright holders under the
* following license. By obtaining, usin... |
#include <curl/curl.h>
#include <json-c/json.h>
#include <ncurses.h>
#include <regex.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
char MAIL[128], PASS[128], AUTH[32];
const char *API_KEY;
struct list_item {
char title[128];
char... |
/*
* Copyright (c) 1980, 1990, 1993
* The Regents of the University of California. All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* <NAME> at The University of Melbourne.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted... |
/*
* Copyright (c) 2011-2014 The Khronos Group Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and/or associated documentation files (the
* "Materials"), to deal in the Materials without restriction, including
* without limitation the rights to use, copy, m... |
/*
* 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... |
/* 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) 2015 - 2020 Xilinx, Inc. All rights reserved.
* SPDX-License-Identifier: MIT
******************************************************************************/
#include "xpfw_events.h"
#include "xpfw_interrupts.h"
static st... |
#include <stdlib.h>
#include <string.h>
#include "x3.h"
#include "x3common.h"
void x3init(int *pargc, char ***pargv)
{
gtk_init(pargc, pargv);
x3initqs();
}
static void
x3_getfirst_callback(GtkWidget *widget, gpointer data)
{
GtkWidget **pwidget = (GtkWidget **)data;
if (*pwidget == NULL)
*pwidget ... |
//*************************************************************
//*** ΠΛΣ50 "Βασικές Εξειδικεύσεις σε Θεωρία και Λογισμικό" ***
//*** Εργασία Ε02 - Θέμα 3 ***
//*** ***
//*** Ακ.έτος 2016-17 ... |
/**
******************************************************************************
* @file : main.c
* @brief : Main program body
******************************************************************************
** This notice applies to any and all portions of this file
* that are not betwe... |
/* Dia -- an diagram creation/manipulation program
* Copyright (C) 1998, 1999 <NAME>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option... |
/*
** Copyright (c) 2005, <NAME>
**
** This file is part of commfind.
**
** Commfind 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.... |
/* Copyright 2018 SiFive, Inc */
/* SPDX-License-Identifier: Apache-2.0 */
/*
* This example sets up the CPU to service local interrupts using
* the CLIC vectored mode of operation. SiFive GPIO's are configured as inputs
* to support a hardware platform like the Arty 100T with buttons
* that are connected to the l... |
/*
This file is part of ParTI!.
ParTI! is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
published by the Free Software Foundation, either version 3 of
the License, or (at your option) any later version.
ParTI! is distributed... |
/* C port of files in slatec_src.tgz, with time stamp from 1999 Nov 18:
d9lgmc.f
dcsevl.f
dgamlm.f
dgamma.f
dlngam.f
dlnrel.f
initds.f
d1mach.f
http://cm.bell-labs.com/netlib/slatec/
*/
#include <math.h>
#include <stdio.h>
#include "lib_c.h"
#ifdef _WIN32
#define round(db... |
#define BTSHAS_OPVTY_NONE 0x00 //None
#define BTSHAS_OPVTY_IMM 0x01 //#Imm
#define BTSHAS_OPVTY_REG 0x02 //Reg
#define BTSHAS_OPVTY_NAME 0x03 //Name
#define BTSHAS_OPVTY_DRREG 0x04 //@Reg
#define BTSHAS_OPVTY_DRREGI 0x05 //@Reg+
#define BTSHAS_OPVTY_DRREGD 0x06 //@-Reg
#define BTSHAS_OPVTY_RRMEM 0x08 //@(Reg,Reg)
#de... |
/*
* Copyright (c) 2016 Priv<EMAIL> IT <<EMAIL>>. All rights reserved.
* Redistribution and modifications are permitted subject to BSD license.
*/
#include <string.h>
#include "gost28147.h"
#include "gost34_311.h"
#include "byte_array_internal.h"
#include "byte_utils_internal.h"
#include "macros_internal.h"
#unde... |
#define _LARGEFILE64_SOURCE
#define LOG_TAG "f2fs_sparseblock"
#include <cutils/log.h>
#include <errno.h>
#include <fcntl.h>
#include <f2fs_fs.h>
#include <linux/types.h>
#include <malloc.h>
#include <string.h>
#include <sys/stat.h>
#include "f2fs_sparseblock.h"
#define D_DISP_u32(ptr, member) \
do { ... |
/* This file contains:
doDQI
OpenBpixTab
ReadBpixTab
CloseBpixTab
DQINormal
FirstLast
*/
# include <stdio.h>
# include <string.h>
#include "hstcal.h"
# include "xtables.h"
# include "hstio.h"
# include "wf3.h"
# include "wf3info.h"
# include "hstcalerr.h"
# include "wf3dq.h"
# define MIN(a,b) (a < b ? a : b)
... |
#include "hns.h"
extern _Bool debug;
extern int fd_hof1[2];
extern int fd_hof2[2];
/*Ordena o vector de 11 posiçoes com apontadores para as estroturas*/
_Bool ordena(hall_of **top){
unsigned short int i, j;
if(top[0]==NULL){
top[0]=top[10];
top[10]=NULL;
return 1;
}
/*Procura o Indice para colucar o j... |
#include "mesh.h"
// TO DO: implementation of atomic integer encoding
ccmapView_t *atomicContactMap(atom_t *iAtomList, int iAtom, atom_t *jAtomList, int jAtom, double ctc_dist, bool bEncoded) {
//assert(!bEncoded);
#ifdef DEBUG
fprintf(stderr, "Starting atomicContactMap\n");
#endif
bool ... |
/*
To add:
- Track what SSIDs clients are asking for (up to 20?)
- Find IP addresses for clients
-
*/
#include <stdio.h>
#include <signal.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <net/if.h>
#include <linux/if_packet.h>
#include <linux/if_ether.h>
#include <ar... |
#include <unistd.h>
#include "iic/mmp_iic.h"
#include "capture_module/gc0328.h"
#include "capture_module.h"
//=============================================================================
// Constant Definition
//=============================================================================
#define SEN... |
/* =========================================================================
A particle library for raylib (https://github.com/raysan5/raylib) to be
used as a header only library.
WARNING: This is a very early alpha version so take care when using.
Make sure to #define LIB_RAY_PARTICLES_IMPL in exact... |
/*
* Samsung Exynos5 SoC series FIMC-IS driver
*
* exynos5 fimc-is pipe functions
*
* Copyright (c) 2015 Samsung Electronics Co., Ltd
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Fou... |
#include <stdio.h>
#include <time.h>
#include "../../headers/utils/map_utils.h"
ErrorCode map_utils_tryBuy(Map *m, int costE, int costDD) {
// Check that the player has enough E
if (map_getNumberE(m) >= costE) {
// Check that the player has enough DD
if (map_getNumberDD(m) >= costDD) {
... |
/*
Example 16
Interface: Semi-Structured interface (SStruct)
Compile with: make ex16
Sample run: mpirun -np 4 ex16 -n 10
To see options: ex16 -help
Description: This code solves the 2D Laplace equation using a high order
Q3 finite element discretization. Specific... |
/*
* File: game-cmd.c
* Purpose: Handles the queueing of game commands.
*
* Copyright (c) 2008-9 <NAME>
*
* This work is free software; you can redistribute it and/or modify it
* under the terms of either:
*
* a) the GNU General Public License as published by the Free Software
* Foundation, version 2, or
... |
/* SPDX-License-Identifier: BSD-3-Clause
* Copyright (c) 2020 <NAME>
*/
#include <inttypes.h>
#include <io.h>
#include <rte_eal_paging.h>
#include <rte_errno.h>
#include "eal_internal_cfg.h"
#include "eal_memalloc.h"
#include "eal_memcfg.h"
#include "eal_options.h"
#include "eal_private.h"
#include "eal_windows.h"... |
/*
* Copyright (C) 2018 BlueKitchen GmbH
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the follo... |
#include "unit.h"
#include "decimal.h"
#include "mp_decimal.h"
#include "mp_extension_types.h"
#include "msgpuck.h"
#include <limits.h>
#include <string.h>
#include <inttypes.h>
#include <float.h> /* DBL_DIG */
#define success(x) x
#define failure(x) NULL
#define dectest(a, b, type, cast) ({\
decimal_t t, u, v, w;\
... |
/* Extended Module Player
* Copyright (C) 1996-2010 <NAME> and <NAME>
*
* This file is part of the Extended Module Player and is distributed
* under the terms of the GNU General Public License. See doc/COPYING
* for more information.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "med.h... |
/*
*
* Copyright (c) 2012 <NAME>, <NAME>
*
* 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
* without limitation the rights to ... |
/*
* Copyright (c) 2016 Intel Corporation.
*
* SPDX-License-Identifier: Apache-2.0
*/
#define LOG_MODULE_NAME ieee802154_bm_serial
#define LOG_LEVEL CONFIG_IEEE802154_DRIVER_LOG_LEVEL
#include <logging/log.h>
LOG_MODULE_REGISTER(LOG_MODULE_NAME);
#include <errno.h>
#include <kernel.h>
#include <arch/cpu.h>
#in... |
/*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2014, <NAME>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are m... |
/** ***************************************************************************
* @file filter.c iir and fir digital filter implementations
*
* THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
* KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
* IMPLIED WARRANTIES OF MERCHA... |
#include <stdlib.h>
#include "ia32_implicit.h"
#include "ia32_insn.h"
#include "ia32_reg.h"
#include "x86_operand_list.h"
/* Conventions: Register operands which are aliases of another register
* operand (e.g. AX in one operand and AL in another) assume that the
* operands are different registers and that alia... |
/*
* cramfsck - check a cramfs file system
*
* Copyright (C) 2000-2002 Transmeta Corporation
*
* 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 y... |
// Inferno utils/5l/asm.c
// http://code.google.com/p/inferno-os/source/browse/utils/5l/asm.c
//
// Copyright © 1994-1999 Lucent Technologies Inc. All rights reserved.
// Portions Copyright © 1995-1997 <NAME> (<EMAIL>)
// Portions Copyright © 1997-1999 Vita Nuova Limited
// Portions Copyright © 2000-2007 Vita Nuova Ho... |
/* BEGIN PN: , Added by h84013687, 2013.08.13*/
#ifndef BUILD_LK
#include <linux/string.h>
#endif
#include "lcm_drv.h"
#ifdef BUILD_LK
#include <platform/disp_drv_platform.h>
#include <string.h>
#elif defined(BUILD_UBOOT)
#include <asm/arch/mt_gpio.h>
#else
//#include <linux/delay.h>
#include <mach/mt... |
/*
Copyright 2011-2017 <NAME> <http://drobilla.net>
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.
THIS SOFTWARE IS PROVIDED "AS IS" AND THE AUTH... |
/*
* Copyright (c) 2015 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, including without limitation
* the rights to use, copy, modify, merge, p... |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* */
/* This file is part of the program and library */
/* SCIP --- Solving Constraint Integer Programs */
... |
/* Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.
*/
#include <stdio.h>
#include <ctype.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include "sgiUtil.h"
/*
* SGI2GIF.C -- Read an IRAF SGI bitmap file on standard input and convert
* to a GIF format image on stand... |
#include "u.h"
#include "../port/lib.h"
#include "mem.h"
#include "dat.h"
#include "fns.h"
#include "io.h"
#include "ureg.h"
#include "init.h"
#include <ctype.h>
uchar *sp; /* stack pointer for /boot */
extern PCArch nsx20, generic, ncr3170;
PCArch *arch;
PCArch *knownarch[] =
{
&nsx20,
&ncr3170,
&generic,
};
/... |
/* ====================================================================
* Copyright (c) 1997-2000 Carnegie Mellon University. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Red... |
/*
* dasdinfo - Display unique DASD ID, either UID or volser
*
* Copyright IBM Corp. 2007, 2017
*
* s390-tools is free software; you can redistribute it and/or modify
* it under the terms of the MIT license. See LICENSE for details.
*/
#include <dirent.h>
#include <errno.h>
#include <fcntl.h>
#include <ftw.h>
#... |
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (the "License"). You may not use this file except in compliance
* with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* o... |
/*
* A simple demo/test program using criu's --inherit-fd command line
* option to restore a process with (1) an external pipe and (2) a
* new log file.
*
* Note that it's possible to restore the process without --inherit-fd,
* but when it reads from or writes to the pipe, it will get a broken
* pipe signal.
*
... |
/*******************************************************************************
*** Author: <NAME>
*** email: <EMAIL>
*** License: MIT 2019
*******************************************************************************/
#include <string.h> /* strlen, strcmp, strchr, strncpy, strpbrk */
#include <stdio.h>
... |
#include "geminc.h"
#include "gemprm.h"
#include "pgprm.h"
#include "vgstruct.h"
#include "drwids.h"
void check_dist ( float *e1_lats, float *e1_lons, int npts1,
float *e2_lats, float *e2_lons, int npts2, float tlrnc,
int *nomatch, int *contype);
Boolean verify_type ( VG_DBStruct *... |
#pragma once
#include "ast_kinds.h"
#include "src_map.h"
#include "ast_flags.h"
#include "symbol_table.h"
#include "generic_inst_map.h"
#include "utils/threading.h"
#include "utils/c_extensions.h"
#include "utils/list.h"
#include "type_map.h"
#include "token.h"
#define VOID_ELEM ((ast_elem*)&PRIMITIVES[PT_VOID])
#defi... |
#include "functions.h"
//==============================================================================
// Read and load necessary data from a parameter file (parameters.txt)
//==============================================================================
void load_parameters(char *paramPath, int *_dim, int *_nbNodesB... |
#include <stdio.h>
#include <stddef.h>
#include <stdint.h>
#include <stdlib.h>
#include <time.h>
#include <string.h>
#include <mpi.h>
#include "mpsort.h"
#include "internal.h"
#include "mp-mpiu.h"
#include "internal-parallel.h"
static int _mpsort_mpi_options = 0;
/* mpi version of radix sort;
*
* each caller pr... |
#include <u.h>
#include <libc.h>
#include <bio.h>
#include <mach.h>
#include <ctype.h>
#include "dat.h"
char *prefix = "";
static TypeList *thash[1021];
static TypeList *namehash[1021];
static TypeList *alltypes;
static uint
hash(uint num, uint num1)
{
return (num*1009 + num1*1013) % nelem(thash);
}
static uint
sh... |
/* Copyright (c) 2018, Linaro Limited
* All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <stdio.h>
#include <string.h>
#include <stdint.h>
#include <inttypes.h>
#include <odp_api.h>
#define KB 1024
#define MB (1024 * 1024)
#define MAX_HUGE_PAGES 32
static... |
#include <AudioUnit/AudioUnit.h>
#include <CoreFoundation/CFString.h>
#include <CoreAudio/CoreAudio.h>
#include <unistd.h>
#include <errno.h>
#include <obs-module.h>
#include <util/threading.h>
#include <util/c99defs.h>
#include "mac-helpers.h"
#include "audio-device-enum.h"
#define PROPERTY_DEFAULT_DEVICE kAudioHar... |
/*
* JPEG decoding engine for DCT-baseline
*
* copyrights 2003 by nikq | nikq::club.
*
* history::
* 2003/04/28 | added OSASK-GUI ( by H.Kawai )
* 2003/05/12 | optimized DCT ( 20-bits fixed point, etc...) -> line 407-464 ( by I.Tak. )
* 2003/09/27 | PICTURE0.BIN(DLL)用に改造 ( by くーみん )
* 2003/09/28 ... |
#include <math.h>
#include <stdio.h>
#include <mymalloc.h>
#include "types.h"
#include "dist_fun.h"
#include "bitstrings.h"
#include "unbump_anchor.h"
#include "unbump_side_chains.h"
#include "intra_bump_check.h"
#include "find_all_bumps.h"
#include "calc_score_from_terms.h"
#include "docking_features.h"
#include <dist... |
/* GTK - The GIMP Toolkit
* Copyright (C) 2010 <NAME> <<EMAIL>>
* Copyright (C) 2011 Red Hat, Inc.
*
* Authors: <NAME> <<EMAIL>>
* <NAME> <<EMAIL>>
*
* 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 t... |
/* The MIT License (MIT)
*
* Copyright (c) 2018 Monetra Technologies, LLC.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the righ... |
/*
* Driver for Digigram miXart soundcards
*
* DSP firmware management
*
* Copyright (c) 2003 by Digigram <<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 versio... |
/* Copyright (c) 2012 Nordic Semiconductor. All Rights Reserved.
*
* The information contained herein is property of Nordic Semiconductor ASA.
* Terms and conditions of usage are described in detail in NORDIC
* SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT.
*
* Licensees are granted free, non-transferable use... |
// Shop simulator in C v14
// Author: <NAME>
// Multi-Paradigm Programming, GMIT 2020
// Lecturer: dr <NAME>
// ===== ===== ===== ===== ===== =====
// Importing external libraries
// ===== ===== ===== ===== ===== =====
#include <stdio.h> // for reading files(?)
#include <string.h>
#include <stdlib.h> // required for ... |
/*
* Copyright(c) 2019 Intel Corporation
* 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 LICENS... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.