text stringlengths 7.55k 41.9k |
|---|
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#define scrnX 36
#define scrnY 18
typedef struct vec2 {
int x, y;
} vec2;
typedef struct door {
vec2 pos, parentPos, pretarget;
struct door *target;
int keylevel;
} door;
typedef struct attack {
int dmg, cost, failCost, chance;
} attack;
... |
/***********************************************************************
* Copyright (c) 2016 <NAME> *
* Distributed under the MIT software license, see the accompanying *
* file COPYING or http://www.opensource.org/licenses/mit-license.php.*
***************************************... |
/*
Copyright (C) 2002-2008 <NAME> <<EMAIL>>
This file is part of Siproxd.
Siproxd 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 2009-2018 Sandia Corporation. Under the terms
// of Contract DE-NA0003525 with Sandia Corporation, the U.S.
// Government retains certain rights in this software.
//
// Copyright (c) 2009-2018, Sandia Corporation
// All rights reserved.
//
// Portions are copyright of other developers:
// See the file CONT... |
/*
* @file
* @brief
*
* @date 24.08.2012
* @author <NAME>
*/
/*
* hd.c
*
* IDE driver
*
* Copyright (C) 2002 <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. Redis... |
/*
* 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... |
#include <sys/types.h>
#include <stdint.h>
#include <string.h>
#include "telehash.h"
/* SHA2 core MIT license: https://github.com/fpgaminer/strong-arm
Copyright (c) 2012-2013, <EMAIL>
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the ... |
/*
* Copyright 2004-2005 The Unichrome Project [unichrome.sf.net]
*
* 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 us... |
// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
#include <errno.h>
#include <limits.h>
#include <signal.h>
#include <stdlib.h>
#include <pthread.h>
#include <unistd.h>
#include "config.h"
#ifdef HAVE_DL_ITE... |
/**
* Copyright (c) 2018, 2019, 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,... |
#include <stdio.h>
#include <stdlib.h>
#ifdef __APPLE__
#include <mysql/mysql.h>
#else
#include <mariadb/mysql.h>
#endif
#include <fcntl.h>
#include <string.h>
#include <unistd.h>
#include <getopt.h>
#define __USE_XOPEN
#include <time.h>
#include "trace.h"
typedef struct dependency {
int job_ids;
int switches... |
/*
** EPITECH PROJECT, 2021
** get_csfml_keys (Workspace)
** File description:
** display_sprite.c
*/
#include <stdlib.h>
#include "include/my_window.h"
#include "include/my_lib.h"
#include "include/my_maths.h"
#include "include/my_sprite.h"
#include "include/my_mouse.h"
#include "include/my_text.h"
#include "include/... |
#pragma once
//Alot of the comments are from the UEFI Specs 2.9, some comments are added in, I am also not using EFIAPI
//UEFI Specs is the reference I used for the code (PedroElFrijol)
#define EFI_SUCCESS 0 //Also similar to Return 0, you could use that if you'd like
//UEFI Data Types
typedef unsigned short int uint1... |
#include "scene.h"
#include<stdlib.h>
vertex_t ground_mesh[6] = {
// pos //texcoord //color //normal
{{-0.5f, 0.0f, -0.5f, 1.0f}, {0.0f, 8.0f}, { 1.0f, 0.0f, 0.0f, 1.0f }, { 0.0f, 1.0f, 0.0f, 0.0f}},
{{-0.5f, 0.0f, 0.5f, 1.0f}, {0.0f, 0.0f}, { 1.0f, 0.0f, 0.0f, 1.0f }, { 0.0f, 1.0f, 0.0f, ... |
#include "sdhost.h"
#include "io.h"
#include "data_type.h"
#include "string.h"
#include "vfs.h"
#include "mm.h"
#define BOOT_SECTOR_INDEX 2048
#define BLOCK_SIZE 512
// BIOS Parameter Block
// DOS 3.31 BPB
// 25 bytes
struct c_BPB {
// DOS 2.0 BPB
// 13 bytes
unsigned char bytes_per_sector[2];
unsign... |
/****************************************************************
Copyright (C) 1997-1998, 2000 Lucent Technologies
All Rights Reserved
Permission to use, copy, modify, and distribute this software and
its documentation for any purpose and without fee is hereby
granted, provided that the above copyright notice appear ... |
/* Create simple DB database from textual input.
Copyright (C) 1996-2000, 2011, 2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by <NAME> <<EMAIL>>, 1996.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesse... |
//
// Created by <NAME> on 10.07.2021.
//
#include "sprite.h"
#include "util.h"
#include "aabb.h"
#include "stl/vector.h"
#include "scene.h"
#include <glad/glad.h>
struct EZSprite {
unsigned int vao, vbo, ebo;
unsigned int vertexCount, indexCount;
unsigned int texture_slots;
unsigned int active;
... |
#include <stdlib.h>
#include <stdio.h>
#include <errno.h>
#include <string.h>
#include <assert.h>
#include <iconv.h>
#include <glib.h>
#include "sat_manager.h"
#include "util.h"
#define tabGsmUniMax2 9
#define tabGsmUniMax 42
static void _convert_gsm_to_utf8(unsigned char *dest, unsigned short *dest_len, unsigned c... |
#include "acquisition.h"
//______________________________________________________________________________
int AcquireData(int p,struct fpga myFPGA,struct adc myADC,unsigned long **timestamp,char *output_dir,int *MECH){
int ret_code = 0;
int adcID = myADC.fID;
if(adcID==3302) ret_code = AcquireDataSIS3302(p... |
#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... |
/**
* @file error_est.c
* @author <NAME>
*
* Naive error estimation algorithm for AmpliCI
*/
#include "amplici.h"
#include "ampliclust.h"
#include "statistics.h"
#include "lmath.h"
#include "io.h"
#include "error.h"
#include "error_est.h"
#include "util.h"
#include <R.h>
#define DEBUG 0
#define WEIGHTS_LOESS
#de... |
/* Dia -- an diagram creation/manipulation program
* Copyright (C) 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) any ... |
// SPDX-License-Identifier: GPL-2.0+
/*
* Driver for BCM6362 GPIO unit (pinctrl + GPIO)
*
* Copyright (C) 2021 <NAME> <<EMAIL>>
* Copyright (C) 2016 <NAME> <<EMAIL>>
*/
#include <linux/bits.h>
#include <linux/gpio/driver.h>
#include <linux/kernel.h>
#include <linux/of.h>
#include <linux/pinctrl/pinmux.h>
#include... |
// IN YOLOV2 DETECTION IS CALLED WITH ./DARKNET DETECT ..., WHICH CALLS
// TRAIN DETECTOR.C. THEREFORE THIS FILE IS A HIGHLY MODIFIED VERSION
// OF DETECTOR.C
#include "network.h"
#include "region_layer.h"
#include "cost_layer.h"
#include "utils.h"
#include "parser.h"
#include "box.h"
#include "demo.h"
#include "opt... |
#include <stdlib.h>
#include <string.h>
#include "grammar.h"
#include "cfggp.h"
#include "alloc.h"
/*******************************************************************************
* internal helper function prototypes
******************************************************************************/
static struct... |
/**
* @file debug.c
* @brief Test functions
*
* Functions that test all system functions
*
* @author <NAME>
* @date 08.10.2018
*
*/
/******************************************************************************
******************* I N C L U D E D E P E N D E N C I E S *******************
*****... |
/*
Este código simula a compra de produtos contidos no estoque de duas lojas diferentes, permite ao usuário que escolha os produtos que queira comprar, calcula o valor final da compra e armazena informações sobre o cliente.
*/
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#include <time.h>
//Declaração de P... |
/*------------------------------------------------------------------------------
$Id: template.c,v 1.4 2005/09/17 23:15:13 wntrmute Exp $
Basic Hello World
$Log: template.c,v $
Revision 1.4 2005/09/17 23:15:13 wntrmute
corrected iprintAt in templates
Revision 1.3 2005/09/05 00:32:20 wntrmute
removed refe... |
#include <kb_common_source.h>
#include "kb_HCMS-290X_display.h"
#include "kb_spi.h"
#include "kb_tick.h"
#include <stdio.h>
// base name change. Used with kb_msg(). See @kb_base.h
#ifdef KB_MSG_BASE
#undef KB_MSG_BASE
#define KB_MSG_BASE "HCMS-290X"
#endif
static const uint8_t fontTable[];
static inline void... |
/*
* ============================================================================
* Copyright (c) 2010 Marvell International, Ltd. All Rights Reserved
*
* Marvell Confidential
* ============================================================================
*/
/**
* \file mrvl_odma.c
* ... |
/*
PsychToolbox3/Source/Common/PsychSound/PsychSound.c
PROJECTS: PsychSound only.
AUTHORS:
mario.kleiner at tuebingen.mpg.de mk
PLATFORMS: OS X only for now, but should work on all platforms.
HISTORY:
10/14/05 mk Created
HOWTO BUILD:
This is a bit ugly at t... |
#include <getopt.h>
#include "capture.h"
static char* dev_name = "/dev/video0";
static enum io_method io = IO_METHOD_MMAP;
static struct buffer* buffers;
static unsigned n_buffers = 0;
static int frame_count = 10;
static int frames_per_sec = 30;
static int xioctl(int f... |
/*
* Program initialization and event loop
*
* Copyright 2006-2007 <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 rig... |
/**********************************************************************
Copyright(c) 2011-2016 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 co... |
/*
* Copyright (c) 1996, 2003 VIA Networking Technologies, Inc.
* All rights reserved.
*
* 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 opt... |
/**********************************************************
** DQ1 版「復活の呪文」解析&作成
** @(#) $Header: dq1.c, v 0.3 1998/05/31 yotti $
**
** 漢字コードは Shift_JIS か EUC-JP を仮定
** (どっちでもいいわけでは、ないが)
***********************************************************/
#include <stdio.h>
#include <stdlib.h>
#include <string.h> /* for memcmp... |
/*** links ***/
// https://viewsourcecode.org/snaptoken/kilo/02.enteringRawMode.html
// https://viewsourcecode.org/snaptoken/kilo/03.rawInputAndOutput.html
// https://viewsourcecode.org/snaptoken/kilo/04.aTextViewer.html
// https://viewsourcecode.org/snaptoken/kilo/05.aTextEditor.html
/*** includes ***/
// Step 59 -... |
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <ctype.h>
#include <stddef.h>
#include <stdio.h>
#include <stdarg.h>
#include "logger.h"
#include "pldstr.h"
/*-----------------------------------------------------------------\
Function Name : *PLD_strstr
Returns Type : char
----Parameter List... |
/*
* I2C Example project for the mcb32 toolchain
* Demonstrates the temperature sensor and display of the Basic IO Shield
* Make sure your Uno32-board has the correct jumper settings, as can be seen
* in the rightmost part of this picture:
* https://reference.digilentinc.com/_media/chipkit_uno32:jp6_jp8.png?w=300&... |
/*
* Prime generation using the bignum library and sieving.
*
* Copyright (c) 1995 <NAME>. All rights reserved.
* For licensing and other legal details, see the file legal.c.
*/
#ifndef HAVE_CONFIG_H
#define HAVE_CONFIG_H 0
#endif
#if HAVE_CONFIG_H
#include "config.h"
#endif
/*
* Some compilers complain about ... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <inttypes.h>
#include <unistd.h>
#include <poll.h>
#include <time.h>
#include <termios.h>
#include <assert.h>
#include <signal.h>
#include <getopt.h>
#include <pthread.h>
#include <sys/eventfd.h>
#include "qd.h"
volatile bool quit;
static bool qap_ch... |
#include "wc.h"
#include "iso2022.h"
#include "sjis.h"
#include "hz.h"
#include "big5.h"
#include "hkscs.h"
#include "gbk.h"
#include "gb18030.h"
#include "uhc.h"
#include "viet.h"
#include "priv.h"
#include "utf8.h"
static wc_gset gset_usascii[] = {
{WC_CCS_US_ASCII, WC_C_G0_CS94, 1},
{0, 0, 0},
};
#define gset_is... |
/*
* Porting to u-boot:
*
* (C) Copyright 2010
* <NAME>, DENX Software Engineering, <EMAIL>
*
* MX51 Linux framebuffer:
*
* (C) Copyright 2004-2010 Freescale Semiconductor, Inc.
*
* SPDX-License-Identifier: GPL-2.0+
*/
#include <common.h>
#include <asm/errno.h>
#include <asm/global_data.h>
#include <linux/s... |
/******************************************************************************
* File : Btn_SM_Module.c
* Function : Check button state and return short/long press or release events and states.
* description: Button state machine module. It realise button short/long press or release
* checking... |
#include <windows.h>
#include <setupapi.h>
#include <malloc.h>
#include "common.h"
#include "chs.h"
extern TCHAR ImeDataDirectory[MAX_PATH];
extern TCHAR szMsgBuf[];
extern BOOL g_bCHSWin98;
BYTE EmbName[IMENUM][MAXIMENAME]={
"winpy.emb",
"winsp.emb",
"winzm.emb"
// "winbx.emb"
};
BYTE ... |
//
// c2_rl.c
// cadet
//
// Created by <NAME> on 24.01.18.
// Copyright © 2018 UC Berkeley. All rights reserved.
//
#include "c2_rl.h"
#include "log.h"
#include "statistics.h"
#include "float_vector.h"
#include <stdio.h>
#include <math.h>
typedef struct {
Stats* stats;
// Record relevant information abo... |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in th... |
/*
* $QNXLicenseC:
* Copyright 2011, QNX Software Systems.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You
* may not reproduce, modify or distribute this software except in
* compliance with the License. You may obtain a copy of the License
* at: http://www.apache.org/licenses/... |
/*
* Copyright 2013 Red Hat Inc.
*
* 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, publish, d... |
/**
* ntfstruncate - Part of the Linux-NTFS project.
*
* Copyright (c) 2002-2005 <NAME>
*
* This utility will truncate a specified attribute belonging to a
* specified inode, i.e. file or directory, to a specified length.
*
* This program is free software; you can redistribute it and/or modify
* it under the t... |
/* Author: <NAME> (ORFEUS)
*
* Nov 2010
*
*
* based on original software by Guralp Systems Limited
*
*
*/
#include "project.h"
#include "plugin.h"
#include "map.h"
#include <math.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include "project.h"
#include <sys/socket.h>
#include <netdb.h>
... |
/*
Copyright (C) 1996-1997 Id Software, Inc.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distribut... |
/*
* (C) 2003-15 - ntop
*
* 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, publish, distribut... |
/*
* Copyright (c) 2021 hpmicro
*
* SPDX-License-Identifier: BSD-3-Clause
*
*/
/*---------------------------------------------------------------------
* Includes
---------------------------------------------------------------------
*/
#include "board.h"
#include "hpm_lcdc_drv.h"
#include "hpm_l1c_drv.h"
#includ... |
/* netd.c
* Core daemon routines.
*
* Ziproxy - the HTTP acceleration proxy
* This code is under the following conditions:
*
* ---------------------------------------------------------------------
* Copyright (c)2005-2014 <NAME>
*
* This program is free software; you can redistribute it and/or modify
* it und... |
/*
*
* ipac.h Defines for the Infineon (former Siemens) ISDN
* chip series
*
* Author <NAME> <<EMAIL>>
*
* Copyright 2009 by <NAME> <<EMAIL>>
*
* 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... |
/*
* Copyright (c) 2015-2018 Smithsonian Astrophysical Observatory
*/
/*
*
* _regcnts: data manipulation algorithms for regcnts
*
*/
#include "regcnts.h"
extern int optind;
#if __EMSCRIPTEN__
/* static pointers to the "real" structs so we can clean up on exit */
static Opts _opts=NULL;
static Data _src=NULL;
... |
/*
* @(#)epicreg.h 1.4 09/02/11
* SMC LAN83C171 EPIC/XF Fast Ethermet Controler register definisions
* This file is public domain. Coded by <NAME>
*/
/* register offset */
#define COMMAND 0x00 /* command register */
#define INTSTAT 0x04 /* interrupt status register */
#define INTMASK 0x08 /* interrupt MASK registe... |
/* Miscellaneous global declarations and portability cruft for GNU Make.
Copyright (C) 1988-2014 Free Software Foundation, Inc.
This file is part of GNU Make.
GNU Make 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
Foundati... |
/*
* $ cc -Wall -pedantic damper.c modules.conf.c -o damper -lnetfilter_queue -pthread -lrt
*/
#include <sys/socket.h>
#include <netinet/in.h>
#include <sys/ioctl.h>
#include <ctype.h>
#include <dirent.h>
#include <signal.h>
#include <linux/netfilter.h>
#include <libnetfilter_queue/libnetfilter_queue.h>
#include "d... |
/*
* Copyright (C) 2017 Marvell International Ltd.
*
* SPDX-License-Identifier: BSD-3-Clause
* https://spdx.org/licenses
*/
#include <ap810_aro.h>
#include <ap810_setup.h>
#include <ap810_init_clocks.h>
#include <eawg.h>
#include <errno.h>
#include <debug.h>
#include <mmio.h>
#include <mvebu_def.h>
#include <... |
#include "freertps/udp.h"
#include "freertps/spdp.h"
#include "freertps/disco.h"
#include "freertps/sub.h"
#include "freertps/pub.h"
#include <limits.h>
#include <string.h>
#include "freertps/psm.h"
#include "freertps/freertps.h"
#include "freertps/udp.h"
#include "freertps/disco.h"
#include <stdint.h>
#include <strin... |
// SPDX-License-Identifier: MIT
// Copyright © 2021 MetaWord Inc
// Copyright © 2019-2021 <NAME>
// This program is a barebones WebSocket echo client intended for efficiently
// stress testing RingSocket in parallel. It is NOT a full-fledged client,
// NOT secure, extremely half-assed in many other ways too, and shoul... |
/*
* The Yices SMT Solver. Copyright 2015 SRI International.
*
* This program may only be used subject to the noncommercial end user
* license agreement which is downloadable along with this program.
*/
#include "mcsat/nra/feasible_set_db.h"
#include "mcsat/utils/scope_holder.h"
#include "mcsat/tracing.h"
#inclu... |
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (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
* or http://www.opensolar... |
/*
* http.c
*
* RFC 2616 HTTP/1.1 Support Functions
*
* Copyright 2009, 2011 by <NAME>. All rights reserved.
*
* TODO
* - Add support for redirections.
* - Allow for extra headers in request.
* - Add HTTP/1.1 support for chunked reads.
* - Add HTTP/1.1 support for 100 CONTINUE, see RFC 2616 section 8.2.3... |
/*
* (C) Gražvydas "notaz" Ignotas, 2009-2010
*
* This work is licensed under the terms of any of these licenses
* (at your option):
* - GNU GPL, version 2 or later.
* - GNU LGPL, version 2.1 or later.
* - MAME license.
* See the COPYING file in the top-level directory.
*
* <random_info=mem_map>
* 0000000... |
/*
* 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.
*
* EOM.c
*
* Code generation for function 'EOM'
*
*/
/* Include files */
#include "EOM.h"
#inclu... |
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (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
* or http://www.opensolar... |
/* e2_msa
*
* ER, Sat Jul 6 09:11:17 EDT 2013 [Janelia]
* SVN $Id:$
*/
#include "p7_config.h"
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
#include <math.h>
#include <float.h>
#include "easel.h"
#include "esl_dmatrix.h"
#include "esl_getopts.h"
#incl... |
/*
* Copyright (c) 1997 <NAME> <<EMAIL>>
* Copyright (c) 1996 <NAME> (<EMAIL>)
* Copyright (c) 1996 <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 ... |
/*
* linux.c
* Detection of Linux file systems and boot codes
*
* Copyright (c) 2003-2006 <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 wi... |
// Trabalho 4 - SCC0215 - Organizacao de Arquivos
// <NAME> <NAME>
# include <stdio.h>
# include <stdlib.h>
# include <string.h>
# include "servidorregister.h"
# include "servidorheader.h"
# include "filecreateprint.h"
# include "util.h"
// Cria e inicializa um novo registro.
Register *createRegister(int id, doub... |
/**
* @file cppi_qmss_mgmt.c
*
* @brief
* This file holds all the APIs required to configure CPPI/QMSS LLDs and
* to send/receive data using PA/QM.
*
* \par
* ============================================================================
* @n (C) Copyright 2009, Texas Instruments, Inc.
*
... |
/* import.c - Import certificates
* Copyright (C) 2001, 2003, 2004, 2009 Free Software Foundation, Inc.
*
* This file is part of GnuPG.
*
* GnuPG 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 v... |
/*
* (C) Copyright 2005- ECMWF.
*
* This software is licensed under the terms of the Apache Licence Version 2.0
* which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
*
* In applying this licence, ECMWF does not waive the privileges and immunities granted to it by
* virtue of its status as an int... |
/*
* Copyright (c) 2015 <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,
* publish, ... |
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <stdint.h>
#include "rb.h"
// de-color a pointer
#define DC(p) ((rb_node*)((intptr_t)p & (~((intptr_t)1ul))))
// get the color of a pointer
#define GC(p) ((intptr_t)((intptr_t)p & ((intptr_t)1ul)))
// copy a pointer's color
#define CC(p, c) ((rb_n... |
/*
* Dummy testcase containing all Duktape public API functions. The functions
* are not actually called; this testcase can be used to ensure Duktape symbols
* are correctly exposed in a library (static or DLL) build.
*
* Technically this file must contain all actually exposed symbols, which is
* different ... |
/*!The Treasure Box Library
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... |
/*! \file
* \brief Main functions for the microcontroller
* \author <NAME> (<EMAIL>)
* \copyright 2013 <NAME>. Released under the MIT License
*/
#include <avr/io.h>
#include <avr/interrupt.h>
/*#include <avr/pgmspace.h>*/
#include <util/delay.h>
#include "serial.h"
#include "commands.h"
#include "bits.h... |
#include <ngx_config.h>
#include <ngx_core.h>
#include <ngx_http.h>
#include <openssl/bio.h>
#include <openssl/buffer.h>
#include <openssl/evp.h>
#include <openssl/hmac.h>
static const EVP_MD* evp_md = NULL;
#define AWS_S3_VARIABLE "s3_auth_token"
#define AWS_DATE_VARIABLE "aws_date"
static void* ngx_http_aws_auth_... |
/* A utility program originally written for the Linux OS SCSI subsystem.
* Copyright (C) 1999-2016 <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, or (at your op... |
#include "xlsxwriter.h"
// See the following URL to add more functions.
// USL: https://libxlsxwriter.github.io/working_with_formats.html
int name2row_c( const char* name )
{
return lxw_name_to_row( name ) + 1;
}
int name2col_c( const char* name )
{
return lxw_name_to_col( name ) + 1;
}
int name2row2_c( const c... |
/*
* 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... |
/*
* WPA Supplicant / Example program entrypoint
* Copyright (c) 2003-2005, <NAME> <<EMAIL>>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#include "include.h"
#include "uart_pub.h"
#include "includes.h"
#include "hostapd_cfg.h"
#include "common.h"
#inc... |
/*-------------------------------------------------------------------------
*
* hashstore.h
* Generalized routines for temporary hash tuple storage.
*
* IDENTIFICATION
* src/backend/utils/sort/hashstore.c
*
*-------------------------------------------------------------------------
*/
#include "postgres.h"... |
/* sum02.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__3 = 3;
static integer c__2 = 2;
/* $Procedure SUM02 ( DSKBRIEF, summarize type 2 segment ) */
/* Subr... |
/* Copyright 2013-2015 IBM Corp.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in ... |
/*
* mycvout.c
*
* Copyright (c) <NAME> 2003-2020
*
* Source code released under the GPL version 2
*
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include "str.h"
#include "strsearch.h"
#include "utf8.h"
#include "xml.h"
#include "fields.h"
#include "bibl.h"
#include "doi.h"
#... |
/*
* Copyright (c) 2016-2017, Cray 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:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of condit... |
/* Copyright 2015 the unarr project authors (see AUTHORS file).
License: LGPLv3 */
#include "rar.h"
#include "rarvm.h"
/* adapted from https://code.google.com/p/theunarchiver/source/browse/XADMaster/XADRARVirtualMachine.m */
/* adapted from https://code.google.com/p/theunarchiver/source/browse/XADMaster/XADRAR30Fi... |
/***************************************************************************
* Plug-in for PAS202BCB image sensor connected to the ZC0301 Image *
* Processor and Control Chip *
* *
* Copyright... |
/*
agrep.c - Approximate grep
This software is released under a BSD-style license.
See the file LICENSE for details and copyright.
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif /* HAVE_CONFIG_H */
#include <stdio.h>
#include <stdlib.h>
#include <locale.h>
#include <string.h>
#include <sys/types.h>
#includ... |
/*
* Open Surge Engine
* osspec.c - OS Specific Routines
* Copyright (C) 2009-2010, 2012-2013 <NAME> <<EMAIL>martf(at)gmail(dot)com>
* http://opensnc.sourceforge.net
*
* 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
*... |
/*
Copyright (c) 2015, Dust Networks. All rights reserved.
*/
#include "dn_common.h"
#include "stdio.h"
#include "string.h"
#include "cli_task.h"
#include "loc_task.h"
#include "dn_system.h"
#include "dn_onewire.h"
#include "dn_exe_hdr.h"
#include "Ver.h"
//=========================== defines =======================... |
/* Digger Remastered
Copyright (c) <NAME> 1998-2004 */
#include "def.h"
#include "sprite.h"
#include "input.h"
#include "hardware.h"
#include "digger.h"
#include "drawing.h"
#include "main.h"
#include "sound.h"
#include "monster.h"
#include "scores.h"
#include "bags.h"
#ifdef _WINDOWS
#include "win_dig.h"
#endif
... |
// This file is part of Deark.
// Copyright (C) 2017 <NAME>
// See the file COPYING for terms of use.
// ZOO compressed archive format
// The ZOO parser in this file was originally derived from unzoo.c v4.4
// by <NAME>.
// The original file had this notice:
/*
*A unzoo.c Tools ... |
/******************************************************************************
* xc_hvm_build.c
*
* 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;
* version 2.1 of the License.
*
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.