text stringlengths 5.8k 28.2k |
|---|
#include <stdio.h> // s/printf , perror,
#include <getopt.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <time.h>
#include <glib.h>
#include "sapo_broker.h"
#include "sapo_broker_xml.h"
/*
#define ADW_QUEUE_STRING "\
<adw-queue>\
<operation>\
<operation_id> 1 </operation_id>\
<... |
/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file : main.c
* @brief : Main program body
******************************************************************************
* @attention
*
* <h2><center>© Copyri... |
/* @(#)sys_arch.c
* Copyright (c) 2001-2003 Swedish Institute of Computer Science.
* 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 retai... |
/*******************************************************************************
* Copyright (C) 2020 Intel Corporation
*
* SPDX-License-Identifier: MIT
******************************************************************************/
#include "metaaggregate.h"
#include <gst/gst.h>
gboolean buffer_attach_roi_meta_f... |
/*
* burst.c -- explode digests into individual messages
*
* This code is Copyright (c) 2002, by the authors of nmh. See the
* COPYRIGHT file in the root directory of the nmh distribution for
* complete copyright information.
*/
#include <h/mh.h>
#include <h/utils.h>
#include <h/mhparse.h>
#define BURST_SWITC... |
#include "util.h"
/***************
* Versioning *
***************/
const char *osqp_version(void) {
return OSQP_VERSION;
}
/************************************
* Printing Constants to set Layout *
************************************/
#ifdef PRINTING
#define HEADER_LINE_LEN 65
#endif
/*********************... |
/*
** Licensed under Attribution 4.0 International (CC BY 4.0)
** https://creativecommons.org/licenses/by/4.0/
**
** Code was taken from http://www.shdon.com/dos/sound
** by <NAME>.
** This is a derived/modified version by <NAME> <<EMAIL>>
*/
/***************************************************************************... |
/* $OpenBSD: acx111.c,v 1.23 2015/11/24 13:45:06 mpi Exp $ */
/*
* Copyright (c) 2006 <NAME> <<EMAIL>>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copi... |
/*
Copyright 2005-2011 - <NAME> - All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are
permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of
conditions and the foll... |
// SPDX-License-Identifier: GPL-2.0+
/*
* Copyright (c) 2011 The Chromium OS Authors.
*/
/* Tegra20 pin multiplexing functions */
#include <common.h>
#include <asm/io.h>
#include <asm/arch/pinmux.h>
/*
* This defines the order of the pin mux control bits in the registers. For
* some reason there is no correspend... |
/* An expandable hash tables datatype.
Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
Contributed by <NAME> (<EMAIL>).
This file is part of the libiberty library.
Libiberty is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as pub... |
/*
* Copyright (c) 2003 Sun Microsystems, 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:
*
* Redistribution of source code must retain the above copyright
* notice, this list of c... |
#include "stdlib.h"
#include "shared-module/vectorio/__init__.h"
#include "shared-bindings/vectorio/VectorShape.h"
#include "py/runtime.h"
#include "shared-bindings/time/__init__.h"
#include "shared-bindings/displayio/ColorConverter.h"
#include "shared-bindings/displayio/Palette.h"
#include "shared-bindings/vectori... |
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <strings.h>
#include <string.h>
#include <pthread.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
#include <signal.h>
#include <setjmp.h>
#define encrypted c
#de... |
/* XPM */
static const char *const xpm_icon_0[] = {
/* columns rows colors chars-per-pixel */
"16 16 80 1",
" c #555452",
". c #60605D",
"X c #686764",
"o c #7A7876",
"O c #9A9895",
"+ c #A09E9B",
"@ c #A09F9B",
"# c #A2A19D",
"$ c #A6A5A1",
"% c #A9A8A4",
"& c #ABA9A5",
"* c #ADACA8",
"= c #B2B0AC",
"- c #B9B7B3",
";... |
/*
* Routines to access hardware
*
* Copyright (c) 2013 Realtek Semiconductor Corp.
*
* This module is a confidential and proprietary property of RealTek and
* possession or use of this module requires written permission of RealTek.
*/
#include "ameba_soc.h"
#include "timers.h"
typedef struct
... |
/*
* Copyright (c) 2014 Kaprica Security, 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, mer... |
/*
* Copyright (c) 2009 <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, mer... |
// 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>).
// The common block structures and variable declarations used in dungeon.
// These are the structures wh... |
/**
* @section License
*
* The MIT License (MIT)
*
* Copyright (c) 2014-2017, <NAME>
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Software without
* restriction, including without limit... |
// General ________________________________________________________________________
#define TXTMODE 0x03
#define GFXMODE 0x13
// Text mode (0x03) constants _____________________________________________________
#define TXTBUFFER 0xB8000 // physical address
#define NCOLS 80
#define NROWS 25
#... |
/*******************************************************************************
@file uart.c
@brief UART Driver for K64F. Non-Blocking and using FIFO feature.
@author <NAME>, <NAME>, <NAME>, <NAME>, <NAME>
******************************************************************************/
/***************... |
/*
Dada uma matriz de dimensoes LxC, com digitos decimais (0-9),
procurar por palavras nas linhas da matriz. As palavras a serem
procuradas tem tamanhos variaveis nao maiores que C caracteres validos
(sem contar o '\0') e assume-se que elas aparecem apenas uma vez na matriz,
i.e., nao se repetem.
No final, a aplicaca... |
#include <sys/cdefs.h>
#include <sys/_null.h>
#include <string.h>
#include <include/glo.h>
#include <include/printk.h>
#include <include/proto.h>
#include <include/ktypes.h>
#include <include/wait_queue.h>
#include "include/arch_proto.h"
#include "include/interrupt.h"
#include "include/apic.h"
#include "include/keyb... |
// #include <stdlib.h>
// #include <stdio.h>
// #include <sys/resource.h>
// #include <sys/time.h>
#define KEYLEN 4 // words
#define BLOCKLEN 4 // words
#define NUMROUNDS 10 // rounds
/* calculating the sbox and rcon is beyond the complexity of this project. Credit to https://github.com/kokke/tiny-AES-c/blob... |
#include "raff.h"
#include <assert.h>
#include <stdlib.h>
#include <stdio.h>
typedef struct raff_Alloc {
struct raff_Alloc* next;
char data[];
} raff_Alloc;
typedef struct raff_File {
raff_Alloc* allocs;
raff_Chunk* chunk;
size_t size;
char data[];
} raff_File;
typedef enum raff_Type {
... |
/*
* Copyright (c) 2011 Surfnet
* Copyright (c) 2011 .SE (The Internet Infrastructure Foundation).
* Copyright (c) 2011 OpenDNSSEC AB (svb)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are me... |
/*
* Copyright (c) 2004-2010 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... |
#include "tinyrely.h"
#include "telossource.h"
#include <pthread.h>
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
uint8_t suid=0;
int relyfd = 0;
uint8_t ackdsn = 0;
ConnStr connections[RELY_MAX_CONNECTIONS];
pthread_t recvthread;
bool done = FALSE;
pthread_mutex_t conn_mutex = {0, ... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include "psrfits.h"
void usage()
{
printf( "splice_psrfits from VCSTools %s\n", VERSION_BEAMFORMER );
printf( "usage: splice_psrfits <file 1> <file 2> ..... <basefilename>\n\n" );
printf( "Utility to splice psrfits files together... |
/*
* bmp280.c
*
* Created on: Aug 23, 2021
* Author: kus
*/
#include "bmp280.h"
#include "spi.h"
uint8_t reg_T1l=0x88;
uint8_t reg_T2l=0x8A;
uint8_t reg_T3l=0x8C;
uint8_t reg_P1l=0x8E;
uint8_t reg_P2l=0x90;
uint8_t reg_P3l=0x92;
uint8_t reg_P4l=0x94;
uint8_t reg_P5l=0x96;
uint8_t reg_P6l=0x98;
uint8_t reg... |
#include "compiler.h"
int compiler_run(char* m, char* buffer) {
// Remember current position in the buffer
uint32_t current = 0;
// Rememeber current position in the code memory
uint32_t ccurrent = 0;
// Store current character
char c = 0;
// Store the last instruction
char* ins = hmalloc(4);
// ... |
#define CVG_META_DATA /* To define the global variables for metadata */
#include "cvgcmn.h"
#include "drwids.h"
#include "pgprm.h"
static void print_object(FILE *outfp, PlacementSet placements, CMDObject object);
static void dump_objects(char *output, CMDObjectSet objects, PlacementSet placements);
void cvg_lo... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#define GLOBAl_MODE 0
#define LOCAL_MODE 1
#define FIFO 2
#define LRU 3
int fl_Mode,gp_Mode;
int tlb_MaxSize; int tlbTreeSize = 0; int physpages;
int* tlbHits, *pageFaults, *pageOuts, *avs;
int free_frame_count =0;
int pageTable_count = ... |
/******************************Module*Header*******************************\
* Module Name: hardware.c
*
* Contains all the code that touches the display hardware.
*
* Copyright (c) 1994-1995 Microsoft Corporation
\**************************************************************************/
#include "precomp.h"... |
//
// Raspberry Tank HTTP Remote Control script
// <NAME>, April 2014
// http://raspberrytank.ianrenton.com
//
// Based on the Raspberry Pi GPIO example by <NAME>
// (http://elinux.org/Rpi_Low-level_peripherals#GPIO_Driving_Example_.28C.29)
// ...and I2C Compass/Rangefinder code by <NAME>, from robot-electronics.co.uk... |
// 0x0700C158 - 0x0700C238
static const Vtx bitdw_seg7_vertex_0700C158[] = {
{{{ -716, 256, 307}, 0, { 1948, 0}, {0x65, 0xff, 0xb2, 0xff}}},
{{{ -716, 256, -306}, 0, { 32, 0}, {0x65, 0xff, 0xb2, 0xff}}},
{{{ -1023, 215, -306}, 0, { 32, 926}, {0x65, 0xff, 0xb2, 0xff}}},
... |
#include <math.h>
#include "mex.h"
#include "matrix.h"
/*
* This function is based on cleaning up f2c translation of Fortran
* code found at Netlib/Specfun. The original Fortran code was
* written by <NAME>, 1990. The translation was performed by
* <NAME>, 2008.
*/
double calerf(double x, int jint)
{
/* co... |
#include "carray.h"
#include "dtype_transfer.h"
#include "common/strided_loops.h"
#include "assign.h"
#include "shape.h"
#include "common/common.h"
#include "common/exceptions.h"
#include "php.h"
#include "descriptor.h"
#include "common/strided_loops.h"
/*************************** DTYPE CAST FUNCTIONS ***************... |
/* Copyright 2015-2018 The MathWorks, Inc. */
#include "coder_assumptions_hwimpl.h"
#include <stddef.h>
#include <limits.h>
/* CA_CHECK_FLOATING_POINT_ENABLED controls whether floating point
* checks are executed. */
#ifndef CA_CHECK_FLOATING_POINT_ENABLED
#error "CA_CHECK_FLOATING_POINT_ENABLED should always b... |
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <glib.h>
#include <stdlib.h>
#include <string.h>
#include "goom_core.h"
#include "goom_tools.h"
#include "filters.h"
#include "lines.h"
/*#define VERBOSE */
#ifdef VERBOSE
#include <stdio.h>
#endif
#define STOP_SPEED 128
void
goom_init (GoomData * goomdata, ... |
#include "lib_ccx.h"
#include "ccx_common_timing.h"
#include "ccx_common_constants.h"
#include "ccx_common_structs.h"
#include "ccx_common_common.h"
/* Provide the current time since the file (or the first file) started
* in ms using PTS time information.
* Requires: frames_since_ref_time, current_tref
*/
// Count... |
/******************************************************************************
* @file
* @copyright Copyright 2015 GNSS Sensor Ltd. All right reserved.
* @author <NAME> - <EMAIL>
* @brief Boot procedure of copying FW image into SRAM with the debug
* signals.
*************************************... |
/* netFilter - Filter out parts of net.. */
/* Copyright (C) 2014 The Regents of the University of California
* See README in this or parent directory for licensing information. */
#include "common.h"
#include "linefile.h"
#include "hash.h"
#include "options.h"
#include "chainNet.h"
void usage()
/* Explain usage a... |
/*
Copyright (C) 2015-2020 IoT.bzh
author: <NAME> <<EMAIL>>
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... |
/*******************************************************************************
* (c) 2019 IoTeX Foundation
*
* 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.or... |
typedef struct PNGReader {
const void *buffer;
size_t bytes;
uintptr_t position;
uintptr_t idatBytesRemaining;
const uint8_t *idatPointer;
bool error;
uint8_t zlibByte, zlibBitsRemaining;
} PNGReader;
uint32_t ByteSwap32(uint32_t x) {
return ((x & 0xFF000000) >> 24)
| ((x & 0x000000FF) << 24)... |
#include "view.h"
GPoint view_centre;
int view_crown_ray;
int view_inner_crown_ray;
int view_inner_circle_ray;
GColor view_colday;
GColor view_colnit;
GColor view_col1;
GColor view_col2;
GColor view_col3;
GColor view_col4;
GFont view_dial_font;
GFont view_main_font;
GRect view_window_bounds;
// GBitmap *view_bitmap_b... |
/*
* Virtual Console over PlayStation GPU.
* FIXME: Virtual screen resolution is not supported now !!!
*/
#undef FBCONDEBUG
#include <linux/config.h>
#include <linux/module.h>
#include <linux/types.h>
#include <linux/sched.h>
#include <linux/fs.h>
#include <linux/kernel.h>
#include <linux/delay.h> /* MSch: for IRQ... |
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <assert.h>
#include <unistd.h>
#include <pthread.h>
#include <sys/types.h>
#include "../../../redisql_lib/src/CDeps/SQLite/include/sqlite3.h"
#define utf8_printf fprintf
/*
** Render output like fprintf(). This should not be used on anything that
*... |
#include "iovents.h"
#include "msg_io.h"
#include "nadmin.h"
#include "tcp_proxy.h"
static void InitRwBuff (RwBuff_t* newBuff) {
newBuff->buffLen = RW_MAX_BUFF_LEN;
newBuff->buffOffset = 0;
newBuff->dataLen = 0;
}
static void InitConn (TcpProxyConn_t * tpConn) {
tpConn->iovConn = NULL;
tpConn->... |
#include "../include/string.h"
#ifdef ADS_STRING_EXTENDED
#include "../include/list.h"
#endif
#include <stdlib.h>
#include <stdio.h>
#include <memory.h>
#include <string.h>
#include <ctype.h>
static inline void
ads_string_init_optimized(ads_string_t* str) {
str->capacity = BASIC_SIZE; // capacity is the size of ba... |
/*
* Copyright (c) 2014, Mentor Graphics Corporation
* All rights reserved.
* Copyright (c) 2017 Xilinx, Inc.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
/**************************************************************************
* FILE NAME
*
* platform_info.c
*
* DESCRIPTION
*
* This file d... |
/* This file is concerned with allocating and freeing arbitrary-size blocks of
* physical memory.
*/
#define _SYSTEM 1
#include <minix/com.h>
#include <minix/callnr.h>
#include <minix/type.h>
#include <minix/config.h>
#include <minix/const.h>
#include <minix/sysutil.h>
#include <minix/syslib.h>
#include <minix/debu... |
/* { dg-do compile }
{ dg-options "-O2 -Wall -Wformat-overflow=1 -ftrack-macro-expansion=0" }
{ dg-require-effective-target int32plus } */
typedef __SIZE_TYPE__ size_t;
typedef __WCHAR_TYPE__ wchar_t;
#define INT_MAX __INT_MAX__
#define INT_MIN (-INT_MAX - 1)
/* When debugging, define LINE to the line number ... |
/*
* YAFFS: Yet Another Flash File System. A NAND-flash specific file system.
*
* Copyright (C) 2002-2011 Aleph One Ltd.
* for Toby Churchill Ltd and Brightstar Engineering
*
* Created by <NAME> <<EMAIL>>
* <NAME>ane modifications flagged NCB
* Endian handling patches by James Ng.
* mkyaffs2image hacks by NC... |
/**
* Source for main, see README.md for more info
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <getopt.h>
#include <ctype.h>
#include <stdbool.h>
#include <math.h>
#include <time.h>
#include "collection.h"
#include "common.h"
#include "rlutil.h"
#define DEBUG 0
// FP... |
#include "testhelper.h"
#include "frt_search.h"
#include "test.h"
// #undef close
#define FILTER_DOCS_SIZE 10
#define ARRAY_SIZE 20
struct FilterData {
const char *num;
const char *date;
const char *flipflop;
};
static ID num, date, flipflop;
void prepare_filter_index(FrtStore *store)
{
int i;
... |
#include "kvm/8250-serial.h"
#include "kvm/read-write.h"
#include "kvm/ioport.h"
#include "kvm/mutex.h"
#include "kvm/util.h"
#include "kvm/term.h"
#include "kvm/kvm.h"
#include "kvm/fdt.h"
#include <linux/types.h>
#include <linux/serial_reg.h>
#include <pthread.h>
/*
* This fakes a U6_16550A. The fifo len needs t... |
/*////////////////////////////////////////////////////////////////////////
Copyright (c) 2000 <NAME> and ETL,AIST,MITI
Copyright (c) 2001-2006 National Institute of Advanced Industrial Science and Technology (AIST)
AIST-Product-ID: 2000-ETL-198715-01, H14PRO-049, H15PRO-165, H18PRO-443
Permission to use this material ... |
/*
CmdRestartGame cseg 00002472 0000009F
CmdRestoreGame cseg 00002512 0000019E
_StateRead cseg 000026B0 00000075
CmdUnknown170 cseg 00002726 0000002D
CmdSaveGame cseg 00002753 00000173
_StateWrite ... |
// 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... |
/*****************************************************************************
jpeg2kopam
******************************************************************************
Convert a JPEG-2000 code stream image to a PNM or PAM
By <NAME>, San Jose CA 2002.10.26
*************************... |
/*
* Copyright (C) 2007, <NAME> <<EMAIL>>
*
* (C) Copyright 2008-2010 Freescale Semiconductor, Inc.
*
* See file CREDITS for list of people who contributed to this
* project.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* pu... |
/*
FreeRTOS V9.0.0 - Copyright (C) 2016 Real Time Engineers Ltd.
All rights reserved
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
This file is part of the FreeRTOS distribution.
FreeRTOS is free software; you can redistribute it and/or modify it under
the... |
/*-
* Copyright (c) 2008-2009 Varnish Software AS
* All rights reserved.
*
* Author: <NAME> <<EMAIL>>
*
* SPDX-License-Identifier: BSD-2-Clause
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistrib... |
/* $OpenBSD: creator.c,v 1.22 2002/09/10 03:18:59 jason Exp $ */
/*
* Copyright (c) 2002 <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 c... |
/*
Copyright (c) 2015, Plume Design 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 conditions and the... |
// SPDX-License-Identifier: GPL-2.0-only
/****************************************************************************
* Driver for Solarflare network controllers and boards
* Copyright 2019 Solarflare Communications Inc.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms... |
/*
* Copyright (c) 2009-2011, <NAME> <antirez at gmail dot com>
* Copyright (c) 2010-2011, <NAME> <pcnoordhuis at gmail dot com>
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * ... |
/*
* Dynamic Lua binding to GObject using dynamic gobject-introspection.
*
* Copyright (c) 2010, 2011 <NAME>
* Licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
*
* GObject and GTypeInstance handling.
*/
#include <string.h>
#include "lgi.h"
/* lightuserdata key to registry, ... |
#include <stdbool.h>
#include <stdlib.h>
#include <string.h>
#include "gb.h"
const GB_cartridge_t GB_cart_defs[256] = {
// From http://gbdev.gg8.se/wiki/articles/The_Cartridge_Header#0147_-_Cartridge_Type
/* MBC RAM BAT. RTC RUMB. */
{ GB_NO_MBC, false, false, false, false}, // 00h ROM O... |
#include "termdriver.h"
// This entire driver requires unibilium
#ifdef HAVE_UNIBILIUM
#include "unibilium.h"
#include <stdarg.h>
#include <string.h>
/* I would love if terminfo gave us these extra strings, but it does not. At a
* minor risk of non-portability, define them here.
*/
struct TermInfoExtraStrings {
... |
/** function for converting YUV420p data to the RGB format (but without any special upconverting)
* It's completely written in nasm-x86-assembly for intel processors supporting SSSE3 and higher.
* The target dstStep (6th parameter) must be a multiple of 16.
* srcStep[0] must be (target dstStep) / 4 or bigger and src... |
/* Tables for conversion from and to IBM1167.
Copyright (C) 2005-2015 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by <NAME> <<EMAIL>>, 2005.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Publi... |
/*
*
* Copyright (c) 2007-2018, University of California / Singapore Management University
* <NAME> <<EMAIL>> <<EMAIL>>
* <NAME> <<EMAIL>>
* <NAME> <<EMAIL>>
* <NAME> <<EMAIL>>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without... |
/*
* Copyright (c) 2015, 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 copyright
* notice, this li... |
/***************************************************************************
Copyright (c) 2017, The OpenBLAS 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... |
/*
========================================================================
D O O M R e t r o
The classic, refined DOOM source port. For Windows PC.
========================================================================
Copyright © 1993-2012 id Software LLC, a ZeniMax Media c... |
/*
------------------------------------------------------------------------------
Licensing information can be found at the end of the file.
------------------------------------------------------------------------------
pixelfont.h - v0.1 - Custom pixel font format builder and renderer.
Do this:
#define PIXELFON... |
#include "XSbench_header.h"
////////////////////////////////////////////////////////////////////////////////////
// BASELINE FUNCTIONS
////////////////////////////////////////////////////////////////////////////////////
// All "baseline" code is at the top of this file. The baseline code is a simple
// implementation ... |
// Meridian 59, Copyright 1994-2012 <NAME> and <NAME>.
// All rights reserved.
//
// This software is distributed under a license that is described in
// the LICENSE file that accompanies it.
//
// Meridian is a registered trademark.
#include "client.h"
d3d_driver_profile gD3DDriverProfile;
DWORD gBlendCaps = (D3DPBL... |
/*
Copyright (c) 2005-2013 uim Project http://code.google.com/p/uim/
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 n... |
/*
Copyright (c) 2008-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, merge, publish, dist... |
/*
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 no... |
/**
* Copyright (c) 2017-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#include "... |
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include <string.h>
#include <Python.h>
#include "extra.h"
#include "common.h"
#include "wsgi.h"
extern char *server_name;
extern char *server_port;
extern int debug;
/*
This procdure analyse uri and return a Python dictionary with every p... |
/*
* Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
* University Research and Technology
* Corporation. All rights reserved.
* Copyright (c) 2004-2005 The University of Tennessee and The University
* of Tennessee Resea... |
/*
* public domain sha256 crypt implementation
*
* original sha crypt design: http://people.redhat.com/drepper/SHA-crypt.txt
* in this implementation at least 32bit int is assumed,
* key length is limited, the $5$ prefix is mandatory, '\n' and ':' is rejected
* in the salt and rounds= setting must contain a... |
// SPDX-License-Identifier: MIT
// Copyright (C) 2021 <NAME>
#include <inttypes.h>
#include <string.h>
#include <stdio.h>
#include "exchg/decimal.h"
#define ARRAY_SIZE(x) sizeof(x) / sizeof(*x)
static int ret;
const static struct {
char *a;
char *b;
char *want_add;
char *want_sub;
char *want_mul;
} arithmetic... |
#include "internal.h"
#include "render2d_shbin.h"
C2Di_Context __C2Di_Context;
static C3D_Mtx s_projTop, s_projBot;
static int uLoc_mdlvMtx, uLoc_projMtx;
static void C2Di_FrameEndHook(void* unused)
{
C2Di_Context* ctx = C2Di_GetContext();
C2Di_FlushVtxBuf();
ctx->vtxBufPos = 0;
ctx->vtxBufLastPos = 0;
}
bool C2... |
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include <stdlib.h>
#include "result.h"
#include "dataTab.h"
#include "symtab.h"
#include "sql.tab.h"
#define RESULTROWSIZE 1000
#define RESULTCOLSIZE 1000
static void print();
static void make_condition();
static void output_result();
static void make_with_one... |
// SPDX-License-Identifier: GPL-2.0+
/*
* common.c
*
* common board functions for B&R boards
*
* Copyright (C) 2013 <NAME> <<EMAIL>>
* Bernecker & Rainer Industrieelektronik GmbH - http://www.br-automation.com
*
*/
#include <version.h>
#include <common.h>
#include <env.h>
#include <fdtdec.h>
#include <i2c.h>
#i... |
/*
* entries-dump.c : dump pre-1.6 svn_wc_* output for python
*
* ====================================================================
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional i... |
/* FCE Ultra - NES/Famicom Emulator
*
* Copyright notice for this file:
* Copyright (C) 2006 CaH4e3
*
* 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
... |
#include "samtools.pysam.h"
/* bam_reheader.c -- reheader subcommand.
Copyright (C) 2010 Broad Institute.
Copyright (C) 2012-2015 Genome Research Ltd.
Author: <NAME> <<EMAIL>>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation file... |
/**
* @file tsl2561.c
*
* ESP-IDF driver for TSL2561 light-to-digital converter
*
* Ported from esp-open-rtos
*
* Copyright (C) 2016 <NAME> <https://github.com/bschwind>\n
* Copyright (C) 2018 <NAME> <<EMAIL>>
*
* BSD Licensed as described in the file LICENSE
*/
#include <freertos/FreeRTOS.h>
#include <free... |
/* BitOps.chpl:1 */
void __init_BitOps(void) {
chpl_bool T1;
T1 = (!__run_BitOps_firsttime19);
if (T1) {
goto _end___init_BitOps;
}
__run_BitOps_firsttime19 = false;
_end___init_BitOps:;
return;
}
/* BitOps.chpl:48 */
uint64_t bitMatMultOr(uint64_t x, uint64_t y, int32_t _ln, _string _fn) {
uint64_... |
/*====================================================================*
- Copyright (C) 2001 Leptonica. All rights reserved.
- This software is distributed in the hope that it will be
- useful, but with NO WARRANTY OF ANY KIND.
- No author or distributor accepts responsibility to anyone for the
- consequence... |
/**
*
* Copyright 2021 by Guangzhou Easy EAI Technologny Co.,Ltd.
* website: www.easy-eai.com
*
* Author: CHM <<EMAIL>>
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Se... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.