text stringlengths 7.55k 41.9k |
|---|
/***
* MIT License
*
* Copyright (c) 2020-2021 <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, mo... |
#include <expat.h>
#include <sqlite3.h>
#include <stdio.h>
#include <unistd.h>
#include <magic.h>
#include <getopt.h>
#include "xml.c"
#include "string.c"
#include "sha256.c"
#define sqlite3_bind_text_name(S, N, V) (sqlite3_bind_text((S), sqlite3_bind_parameter_index((S), (N)), (V), -1, NULL))
#define sqlite3_bind_in... |
#include <assert.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include "coco.h"
#define GARE "ECS15"
#define NOXLS
#define NODUMP
#define CONSO
#define NOCONVER
#define PLOT 0
/* PLOTS E CONVERGENCIA */
#define PLOTGERA 10
#define CONVAVAL 10
#include <math.h>
#i... |
/**************************************************************************
*
* Copyright 2008 HPCNL-KICS, UET, Lahore, PAKISTAN.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification,are permitted provided that the following conditions
* are met:
*
* ... |
// SPDX-License-Identifier: GPL-2.0
/*
* Sony ACX565AKM LCD Panel driver
*
* Copyright (C) 2019 Texas Instruments Incorporated
*
* Based on the omapdrm-specific panel-sony-acx565akm driver
*
* Copyright (C) 2010 Nokia Corporation
* Author: <NAME> <<EMAIL>>
*/
/*
* TODO (to be addressed with hardware access t... |
/*
Copyright (C) 1997-2001 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... |
/*-
* Copyright (c) 1994,1995 <NAME>, <NAME>
* Copyright (c) 2000 <NAME> <<EMAIL>>
* 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 sour... |
/*
eventprocess.c
event processing code for MJD
- up to 16 digitizer modules for the Ge detectors, plus
- QDCs etc for the veto
<NAME> Nov 2016
*/
/* Process the global events that have been built in eventbuild()
- extract energy, PSA cuts, etc
- create histograms
returns: -1 on error,
... |
/*
Copyright 2021 - <NAME>
Licensed under a MIT license displayed at the bottom of this document.
*/
//SX1280LT Includes
//*************************************************************
// LoRa Modem Settings
//*************************************************************
//
//LoRa spreading factors
#define LORA... |
/* GStreamer
* Copyright (C) <2006> <NAME> <<EMAIL>>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
... |
/*
* rt.c
*
* Copyright (c) 2013 Juniper Networks, Inc. All rights reserved.
*/
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <errno.h>
#include <stdlib.h>
#include <stdbool.h>
#include <getopt.h>
#include <inttypes.h>
#include <fcntl.h>
#include <sys/types.h>
#include ... |
/*
* Copyright 2000, International Business Machines Corporation and others.
* All Rights Reserved.
*
* This software has been released under the terms of the IBM Public
* License. For details, see the LICENSE file in the top-level source
* directory or online at http://www.openafs.org/dl/license10.html
*/
/*
... |
/*
* Copyright (c) 2007, 2008, 2009, 2010, 2011, 2012, ETH Zurich.
* All rights reserved.
*
* This file is distributed under the terms in the attached LICENSE file.
* If you do not find this file, copies can be found by writing to:
* ETH Zurich D-INFK, Haldeneggsteig 4, CH-8092 Zurich. Attn: Systems Group.
*/
#... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <mpi.h>
/* Pull in the CBLAS header. */
#ifdef _MACOSX
#include <Accelerate/Accelerate.h>
#else
#ifdef _ATLAS
#include <cblas.h>
#else
#include <gsl_cblas.h>
#endif /* _ATLAS */
#endif /* _MACOSX */
#include "ScaleME.h"
#include "precision.h"
#inc... |
#include "ht1632c.h"
#include <assert.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <time.h>
#include <unistd.h>
#include <wiringPiSPI.h>
#include <wiringPi.h>
#include "panelconfig.h"
/*
* commands written to the chip consist of a 3 bit "ID", followed by
* either 9 bi... |
/* -*- indent-tabs-mode:t; tab-width: 8; c-basic-offset: 8 -*- */
/*
Copyright (c) 2015, <NAME>
Copyright (c) 2012, <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... |
/*
The MIT License (MIT)
Copyright (c) 2014 UnicornRaceEngineering
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, modif... |
/* packet-iso15765.c
* Routines for iso15765 protocol packet disassembly
*
* Wireshark - Network traffic analyzer
* By <NAME> <<EMAIL>>
* Copyright 1998 <NAME>
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "config.h"
#include <epan/packet.h>
#include <epan/prefs.h>
#include <epan/decode_as.h>
#inc... |
/* GStreamer
* Copyright (C) 2011 Entropy Wave Inc <<EMAIL>>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later vers... |
// File: mumps/util/util_key.c
//
// module database - Key Utilities
/* Copyright (c) 1999 - 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 met:
*
* 1. Redistribution... |
#include <walpng.h>
byte q2pal[768]=
{
0, 0, 0, 15, 15, 15, 31, 31, 31, 47, 47, 47,
63, 63, 63, 75, 75, 75, 91, 91, 91, 107, 107, 107,
123, 123, 123, 139, 139, 139, 155, 155, 155, 171, 171, 171,
187, 187, 187, 203, 203, 203, 219, 219, 219, 235, 235, 235,
99, 75, 35, 91, 67, 3... |
/* Pawn disassembler - crude, but (perhaps) useful
*
* Copyright (c) ITB CompuPhase, 2007-2015
*
* 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/lice... |
/*
* Copyright (c) 2015 Google 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... |
/* --------------------------------------------------------------------------
* File: socpex1.c
* Version 12.8.0
* --------------------------------------------------------------------------
* Licensed Materials - Property of IBM
* 5725-A06 5725-A29 5724-Y48 5724-Y49 5724-Y54 5724-Y55 5655-Y21
* Copyright IBM Corp... |
// Copyright 2014 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.
// Implementation of runtime/debug.WriteHeapDump. Writes all
// objects in the heap plus additional info (roots, threads,
// finalizers, etc.) to a file.
// T... |
#include <usb/device/cdc-serial/CDCDSerialDriver.h>
#include <board.h>
#include <stdio.h>
#include <string.h>
#include <limits.h>
#include <math.h>
#include "timer.h"
#include "console.h"
#include "sound.h"
#include "write.h"
#include "spi.h"
#include "tools/reflash.h"
#include "cc1101.h"
#include "status.h"
#include ... |
#include "inet_dsi_panel.h"
#include <linux/sys_config.h>
extern s32 bsp_disp_get_panel_info(u32 screen_id, disp_panel_para *info);
static void LCD_power_on(u32 sel);
static void LCD_power_off(u32 sel);
static void LCD_bl_open(u32 sel);
static void LCD_bl_close(u32 sel);
static void LCD_panel_init(u32 sel);
... |
/* -XT
* $KK: SmeThreeD.c,v 0.3 92/11/04 xx:xx:xx keithley Exp $
* <NAME>, Kapteyn Astronomical Institute, Groningen The Netherlands,
* February 2001: modified for use with non-default visuals.
*/
/***********************************************************
Copyright 1987, 1988 by Digital Equipment Corporation,... |
/* UIP "helper"
* Implements the UIP application
* These has to be first currently, becuase on PC platform
* UIP_HTONS *HAS TO* be redefined by the uip version
* This is pretty UGLY
**/
#include "uip_port.h"
#include <sdk_config.h>
#include <lib/type.h>
#include <lib/tcp_buffer.h>
#include <lib/sf_malloc.h>
#inc... |
#include "main.h"
#include "utils.h"
#include "openvg.h"
#include "VG/vgu.h"
#include "GLES/gl.h"
#define FLOAT_FROM_26_6(x) ( (VGfloat)x / 64.0f )
typedef struct {
VGFont vg_font;
FT_Face ft_face;
} openvg_font_t;
typedef struct openvg_font_cache_entry_t {
struct openvg_font_cache_entry_t *next;
open... |
/*************************************************************************
* FILE: read-mhmm.c
* AUTHOR: <NAME>
* CREATE DATE: 8-12-97
* PROJECT: MHMM
* COPYRIGHT: 1997-2008, WSN
* DESCRIPTION: Functions for reading HMMs in MHMM format.
*************************************************************************/
#... |
/* $NetBSD: aic7xxx_seeprom.c,v 1.6 2001/11/13 13:14:34 lukem Exp $ */
/*
* Product specific probe and attach routines for:
* 3940, 2940, aic7895, aic7890, aic7880,
* aic7870, aic7860 and aic7850 SCSI controllers
*
* These are the SEEPROM-reading functions only. They were split off from
* the ... |
/*
* Copyright (c) 2006-2021, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
*/
#include <rtthread.h>
#include <system_LPC177x_8x.h>
#include "LPC177x_8x.h"
#include "sdram.h"
//LPC_EMC_TypeDef * const g_pEMC = ((LPC_EMC_TypeDef*) LPC_E... |
/*
* Copyright (c) 2012-2019, Triad National Security, LLC.
* All rights Reserved.
*
* Copyright 2012-2019. Triad National Security, LLC. This material was produced
* under U.S. Government contract 89233218CNA000001 for Los Alamos National
* Laboratory (LANL), which is operated by Triad National Security, LLC... |
/**
* Copyright (C) Mellanox Technologies Ltd. 2001-2014. ALL RIGHTS RESERVED.
*
* See file LICENSE for terms.
*/
#include "ucp_context.h"
#include <ucs/config/parser.h>
#include <ucs/algorithm/crc.h>
#include <ucs/datastruct/mpool.inl>
#include <ucs/datastruct/queue.h>
#include <ucs/debug/log.h>
#include <ucs/... |
#include <emmintrin.h>
#include <linux/limits.h>
#include <linux/vfio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <unistd.h>
#include "device.h"
#include "e1000_type.h"
#include "e1000.h"
#include "libixy-vfio.h"
#include "log.h"
#include "memory.h"
#include "interrupts.h"
#include "pci.h... |
#include <stdio.h>
#include <malloc.h>
#include <stdlib.h>
#include <string.h>
//#define DEBUG_PRINTF(fmt, ...) fprintf(stderr, fmt, ##__VA_ARGS__)
#define DEBUG_PRINTF(fmt, ...)
#define DEBUG_PRINTF2(fmt, ...) fprintf(stderr, fmt, ##__VA_ARGS__)
//#define DEBUG_PRINTF2(fmt, ...)
void cause_segfault() {
int *i =... |
/*
* (C) Copyright 2000-2004
* <NAME>, DENX Software Engineering, <EMAIL>.
*
* Derived from FADS860T definitions by <NAME>, <NAME>,
* and <NAME>
*
* Modified by, <NAME>, Arabella Software Ltd., <EMAIL>
*
* This header file contains values common to all FADS family boards.
*
* See file CREDITS for list of peo... |
/*
* Portions of this file taken from the Linux kernel,
* Copyright 1991-2009 <NAME> and contributors
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
... |
// Copyright 2009 <NAME> (gribble [at] cs.washington.edu).
// May 22nd, 2009.
//
// This file contains the code we use to grade your assignment.
// The code is strategically invoked in various places in your
// project, and tests things you produce against their correct
// values. You can use these tests to help you d... |
/*!
LTC3676: Power management solution for application processors
@verbatim
The LTC3676 is a complete power management solution for advanced portable
application processor-based systems. The device contains four synchronous
step-down DC/DC converters for core, memory, I/O, and system on-chip (SoC)
rails and t... |
/*
* This file is part of Espruino, a JavaScript interpreter for Microcontrollers
*
* Copyright (C) 2013 <NAME> <<EMAIL>>
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/... |
#include <ctype.h>
#include <stdarg.h>
#include "lib.h"
#include "plumbing.h"
#include "plugin_hv/plugin_hv.h"
uint32_t _forward_to_etr(void *data,struct db_node *rn);
FILE *flog;
int _daemon;
int _virtual;
/* support function */
/* create new mapping */
void *
generic_mapping_new(struct prefix *eid)
{
struct db... |
/**
*
* \file
*
* \brief WINC1500 MQTT chat example.
*
* Copyright (c) 2015 Atmel Corporation. All rights reserved.
*
* \asf_license_start
*
* \page License
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
... |
/*
Copyright (c) 2021-2022 jdeokkim
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... |
/* vohttpd: simple, light weight, embedded web server.
*
* author: <NAME>(<EMAIL>)
* compile: cc -g vohttpd.c vohttpdext.c -o vohttpd
*
* TODO: add auth function.
* move to plugin loader compose.
* TODO: add https function.
* maybe use polarSSL.
*/
#include <stdlib.h>
#include <memory.h>
#include <stdio.... |
/*-
* Copyright (c) 2000 - 2006 <NAME> <<EMAIL>>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this lis... |
/*
* Copyright (c) GRATE-DRIVER project
*
* 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, pub... |
// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Author: <NAME> <<EMAIL>>
* Copyright (C) 2018-2019 SUSE LLC.
*/
#define _GNU_SOURCE
#include <fcntl.h>
#include <sched.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <sys/mount.h>
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
#include "../k... |
/*
HCBUILD.C
contains:
BuildCode
BuildEvent
BuildObject
BuildProperty
BuildRoutine
BuildVerb
Inherit
ReplaceRoutine
for the Hugo Compiler
Copyright (c) 1995-2009 by <NAME>
*/
#include "hcheader.h"
/* Object information:
parent, sibling, and child,
attribute set(s),
address in property tab... |
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define INT_AMOUNT 4
#define PRIME (((uint32_t)1 << 31) - 1)
volatile char hint[] =
"You should really find where functions go dynamically....\n If you are "
"really persistent you should try to void* that god ... |
/*
* FILE: sha2.c
* AUTHOR: <NAME> - http://www.aarongifford.com/
*
* Copyright (c) 2000-2001, <NAME>
* All rights reserved.
*
* Modified by <NAME> to fit in ldns, and not clash with any
* system-defined SHA code.
* Changes:
* - Renamed (external) functions and constants to fit ldns style
* - Removed _End a... |
//MTE 241 - Lab 5 - Creating your own game
//Game name: King of the LCD
//Group 20
//All code written by <NAME> and <NAME>
#include <lpc17xx.h>
#include "stdio.h"
#include "uart.h"
#include "GLCD.h"
#include <cmsis_os2.h>
#include "random.h"
#include "lfsr113.h"
#include <stdbool.h>
#define MAX_ROW_LCD ... |
/*
Copyright 2016 Vanderbilt University
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... |
/**
* Copyright 2020 Huawei Technologies Co., Ltd
*
* 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... |
/*
gcc whetsmp.c cpuidc64.o cpuida64.o -m64 -lrt -lc -lm -O3 -o whetsMP64
gcc whetsmp.c cpuidc.o cpuida.o -lrt -lc -lm -O3 -o whetsMP32
*/
#include <stdio.h>
#include "cpuidh.h"
#include <stdlib.h>
#include <unistd.h>
#include <math.h>
#include <inttypes.h>
#include <stdint.h>
#include <ctype.h>
#include <string.... |
#include "param.h"
#include "types.h"
#include "defs.h"
#include "x86.h"
#include "memlayout.h"
#include "mmu.h"
#include "proc.h"
#include "elf.h"
extern char data[]; // defined by kernel.ld
pde_t *kpgdir; // for use in scheduler()
static char buff[PGSIZE];
// Set up CPU's kernel segment descriptors.
// Run once o... |
/*
* This file is part of The Lost Vikings Library/Tools
*
* <NAME>, 2016, <<EMAIL>>
*
* To the extent possible under law, the author(s) have dedicated all
* copyright and related and neighboring rights to this software to
* the public domain worldwide. This software is distributed without
* any warranty. You ... |
/*
* 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... |
/*
* Copyright (c) 2001-2003, <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 condit... |
// SPDX-License-Identifier: GPL-2.0+
/*
* Copyright 2018 NXP
*
* <NAME> <<EMAIL>>
*/
#include "imagetool.h"
#include <image.h>
#include "imximage.h"
#include "compiler.h"
static uint32_t ap_start_addr, sld_start_addr, sld_src_off;
static char *ap_img, *sld_img, *signed_hdmi;
static imx_header_v3_t imx_header[2];... |
/*-
* Copyright (c) 1989, 1992, 1993
* The Regents of the University of California. All rights reserved.
*
* This code is derived from software developed by the Computer Systems
* Engineering group at Lawrence Berkeley Laboratory under DARPA contract
* BG 91-66 and contributed to Berkeley.
*
* Redistribution a... |
/*
* This file is part of UBIFS.
*
* Copyright (C) 2006, 2007 Nokia Corporation.
*
* 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 Foundation.
*
* This program is distributed in the hope ... |
/*
Copyright (c) 2013, Dust Networks. All rights reserved.
*/
#include "dn_common.h"
#include "string.h"
#include "stdio.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"
#include <string.h>
#include <ctype.h>
//===================... |
/* QLogic qed NIC Driver
* Copyright (c) 2015 QLogic Corporation
*
* This software is available under the terms of the GNU General Public License
* (GPL) Version 2, available from the file COPYING in the main directory of
* this source tree.
*/
#include <linux/types.h>
#include <asm/byteorder.h>
#include <linux/... |
/*
* PIPE A simple thread-safe FIFO
*
* Version: @(#)pipe.c 0.0.1 09/07/14
* Authors: <NAME>, <<EMAIL>>
* <NAME> <<EMAIL>>
* <NAME>, <<EMAI... |
/******************************************************************************
* @section DESCRIPTION
*
* Initialize output structures.
*****************************************************************************/
#include <vic_driver_shared_image.h>
/************************************************************... |
/*
*----------------------------------------------------------------------
* Copyright (C) <NAME>, 2018
*
* 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, inc... |
#include <unistd.h>
#include <stdio.h>
#include <stdarg.h>
#include <signal.h>
#include <fcntl.h>
#include <errno.h>
#include <string.h>
#include <time.h>
#include "libnagios.h"
#define MSG_DELIM "\1\0\0" /**< message limiter - note this ends up being
\1\0\0\0 on the wire as "" strings null-terminate */
#defin... |
#define VERSION "0.9"
/*
* unlzexe ver 0.5 (PC-VAN UTJ44266 Kou )
* UNLZEXE converts the compressed file by lzexe(ver.0.90,0.91) to the
* UNcompressed executable one.
*
* usage: UNLZEXE packedfile[.EXE] [unpackedfile.EXE]
v0.6 <NAME>, <NAME>, <EMAIL>, Jul 91
Problem reported by T.Salmi (<EMAIL>) with UNLZEXE ... |
// typespoof_e2xs
#include <inttypes.h>
#include <stdio.h>
#ifdef FW_365
#include "../../../enso/365/nsbl.h"
#else
#include "../../../enso/360/nsbl.h"
#endif
#include "../../../enso/ex_defs.h"
// per-fw offsets
#ifdef FW_365
#define LOADSM_KA_NOP_1 0x51016cf2
#define LOADSM_KA_NOP_2 0x51016cf4
#define LOADSM_K... |
/*
* Android Event Injector
*
* Copyright (c) 2013 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
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later... |
/*
* libwebsockets - small server side websockets and web server implementation
*
* Copyright (C) 2010 <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 the Free Software Foundation:
* ver... |
// PORTIONS OF THIS FILE HAVE BEEN REMOVED FOR THE 2017 RELEASE
// Most of the missing code can be claimed from any id Tech 3 game, e.g. Enemy Territory.
// https://github.com/id-Software/Enemy-Territory/
// game.c - main game library interaction
#include "g_main.h"
#include "g_game.h"
#include "../q_strings.h"
#incl... |
/**
* Copyright (c) 2021 OceanBase
* OceanBase Database Proxy(ODP) is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ... |
/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public Lic... |
/*
* @Author: <NAME>
* @Date: 2016-11-29 11:33:44
* @Last Modified by: ksvbka
* @Last Modified time: 2017-04-02 10:39:36
*/
#include "mpu6050.h"
#include "i2c.h"
#include "utility.h"
/*Debug*/
#include "uart.h"
/* Register define */
#define MPU6050_ADDRESS 0x68 // Address MPU6050 0b01101... |
#include "kvm/builtin-run.h"
#include "kvm/builtin-setup.h"
#include "kvm/virtio-balloon.h"
#include "kvm/virtio-console.h"
#include "kvm/parse-options.h"
#include "kvm/8250-serial.h"
#include "kvm/framebuffer.h"
#include "kvm/disk-image.h"
#include "kvm/threadpool.h"
#include "kvm/virtio-scsi.h"
#include "kvm/virtio-... |
#include <stdlib.h>
#include <stdio.h>
#include <stdint.h>
#include <math.h>
#include <ctype.h>
#include <pthread.h>
#include "common/c5.h"
#include "common/string_util.h"
#include "imagesource/image_u8.h"
#include "vx_codes.h"
#include "vx_program.h"
#include "vx_resc.h"
#include "vxo_chain.h"
#include "vxo_mat.h"
#... |
/*
* Unix Domain Sockets Implementation (PF_UNIX, PF_LOCAL)
* This code handles requests generated by operations on /dev/uds
*
* The interface to UNIX domain sockets is similar to the interface to network
* sockets. There is a character device (/dev/uds) and this server is a
* 'driver' for that device.
*/
#incl... |
/*-
* Copyright (c) 2014-present MongoDB, Inc.
* Copyright (c) 2008-2014 WiredTiger, Inc.
* All rights reserved.
*
* See the file LICENSE for redistribution information.
*/
#include "wt_internal.h"
/*
* __lsm_meta_read_v0 --
* Read v0 of LSM metadata.
*/
static int
__lsm_meta_read_v0(WT_SESSION_IMPL *ses... |
/*
*
* The Abandoned Farm House Adventure
*
* <NAME> <<EMAIL>>
*
* Written in standard C but designed to run on the Apple Replica 1
* using the CC65 6502 assembler.
*
* Copyright 2012-2014 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compl... |
/*******************************************************************************
*
* Font metric data for ITC Avant Garde Gothic Book
*
* Copyright 2001 <NAME>
*
*
* See dlls/wineps/data/COPYRIGHTS for font copyright information.
*
*/
#include "psdrv.h"
#include "data/agl.h"
/*
* Glyph metrics
*/
static... |
#include "../sqdb/sqdb2.h"
#include "pixie.h"
#include "mongoose.h"
#include "dsquirrel.h"
#include <string.h>
#include "manuf.h"
#include "display.h"
#include "sprintf_s.h"
#if 0
static bool has_name(struct NVPair *nv, const char *name)
{
UNUSEDPARM(name);
while (nv) {
if (strcmp(nv->name, name) == 0)
... |
/*!
* \file lr1110_system.c
*
* \brief System driver implementation for LR1110
*
* Revised BSD License
* Copyright Semtech Corporation 2020. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions ... |
/* Copyright (c) 2006, Nokia Corporation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of con... |
/* SPDX-License-Identifier: GPL-2.0+ */
/*
* Copyright 2000-2002 by <NAME>, licensing governed by reiserfs/README
*
* GRUB -- GRand Unified Bootloader
* Copyright (C) 2000, 2001 Free Software Foundation, Inc.
*
* (C) Copyright 2003 - 2004
* Sysgo AG, <www.elinos.com>, <NAME> <<EMAIL>>
*
*/
/* An imple... |
// SPDX-License-Identifier: GPL-2.0
/******************************************************************************
*
* Copyright(c) 2007 - 2012 Realtek Corporation. All rights reserved.
*
******************************************************************************/
#define _RTW_PWRCTRL_C_
#include <osdep_servic... |
/* ziproxylogtool.c
* Ziproxy log analyser.
*
* Ziproxy - the HTTP acceleration proxy
* This code is under the following conditions:
*
* ---------------------------------------------------------------------
* Copyright (c)2006-2014 <NAME>
*
* This program is free software; you can redistribute it and/or modify... |
static int no_file_rotation = 0;
/* Copyright (c) 2002 <NAME> Released under the terms of the
* GNU GPL version 2; Extensions to original to do multiple files,
* mmap, etc (C) per the DataSeries/COPYING file */
#ifndef __linux__
#error "Are you loco? This is Linux only!"
#endif
#ifndef __GNUC__
#error "Need __built... |
#include "phylip.h"
#include "disc.h"
#include "wagner.h"
/* version 3.6. (c) Copyright 1993-2004 by the University of Washington.
Written by <NAME>, <NAME>, <NAME>, and <NAME>.
Permission is granted to copy and use this program provided no fee is
charged for it and provided that this copyright notice is not... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "des.h"
int initial_key_permutaion[] = {57, 49, 41, 33, 25, 17, 9,
1, 58, 50, 42, 34, 26, 18,
10, 2, 59, 51, 43, 35, 27,
19, 11, 3, 60, 52, 44, 36,
63, 55, 47, 39, 31, 23, 15,
7, 62, 54, 46... |
// Modified by <NAME> 8/1/2018
// MODIFIED BY SILE SHU 2017.6
// os.c
// Runs on LM4F120/TM4C123
// A very simple real time operating system with minimal features.
// <NAME>
// January 29, 2015
/* This example accompanies the book
"Embedded Systems: Real Time Interfacing to ARM Cortex M Microcontrollers",
... |
/* Support for printing C++ values for GDB, the GNU debugger.
Copyright 1986, 1988, 1989, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
2000, 2001, 2002, 2003
Free Software Foundation, Inc.
This file is part of GDB.
This program is free software; you can redistribute it and/or modify
it under the terms ... |
#include <errno.h>
#include <fcntl.h>
#include <sys/mman.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <sys/stat.h>
#include "../pcapdb.h"
#include "../keys.h"
#include "../output.h"
#include "ordered_set.h"
#include "search.h"
// Where we are in a subindex tree.
// The ind... |
/* -- translated by f2c (version 20100827).
You must link the resulting object file with libf2c:
on Microsoft Windows system, link with libf2c.lib;
on Linux or Unix systems, link with .../path/to/libf2c.a -lm
or, if you install libf2c.a in a standard place, with -lf2c -lm
-- in that order, at the end of the com... |
/*
ZEsarUX ZX Second-Emulator And Released for UniX
Copyright (C) 2013 <NAME>
This file is part of ZEsarUX.
ZEsarUX is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of th... |
/*
Copyright (C) Intel Corp. 2006. All Rights Reserved.
Intel funded Tungsten Graphics to
develop this 3D driver.
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, inclu... |
#ifndef BUILD_LK
#include <linux/string.h>
#include <linux/gpio.h>
#include <linux/pinctrl/consumer.h>
#endif
#ifdef BUILD_LK
#include <platform/mt_gpio.h>
#include <platform/mt_pmic.h>
#include <platform/mt_i2c.h>
#include <platform/upmu_common.h>
#include "ddp_hal.h"
#else
#include <mach/mt_gpio.h>
#include <mach/mt... |
/*** Z80Em: Portable Z80 emulator *******************************************/
/*** ***/
/*** Z80Dasm.h ***/
/*** ***/
/***... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.