text stringlengths 5.8k 28.2k |
|---|
/*
* Copyright (c) 1997-1999, 2003 Massachusetts Institute of Technology
*
* 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 ... |
/*******************************************************************************
* Copyright (c) 2013-2017, <NAME> <<EMAIL> *
* All rights reserved. *
* *
* This file is a ... |
/*
* This file or a portion of this file is licensed under the terms of
* the Globus Toolkit Public License, found in file GTPL, or at
* http://www.globus.org/toolkit/download/license.html. This notice must
* appear in redistributions of this file, with or without modification.
*
* Redistributions of this Softwar... |
#include "f2c.h"
#include "blaswrap.h"
/* Table of constant values */
static integer c__2 = 2;
/* Subroutine */ int dget32_(doublereal *rmax, integer *lmax, integer *ninfo,
integer *knt)
{
/* Initialized data */
static integer itval[32] /* was [2][2][8] */ = { 8,4,2,1,4,8,1,2,2,1,8,
4,1,2,4,8,9,4,2,1... |
/*
* Library to connect to NOSQL databases with 'memcached' binary protocol.
*
* Copyright (C) March 2018, November 2018. <NAME>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
* following conditions are met:
*
* Redist... |
/*
******************************************************************
udp-broadcast-relay
Relays UDP broadcasts to other networks, forging
the sender address.
Copyright (c) 2003 <NAME> <<EMAIL>>
Based upon:
udp_broadcast_fw ; Forwards UDP broadcast packets to all local
interfaces as though they originated from sen... |
/******************************************************************************
* Copyright 2020 The Firmament Authors. All Rights Reserved.
*
* 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 ... |
#include <stdint.h>
#include <stdbool.h>
#include "libopencm3/stm32/rcc.h"
#include "libopencm3/stm32/gpio.h"
#include "libopencm3/stm32/timer.h"
#include "libopencm3/stm32/adc.h"
#include "libopencm3/cm3/systick.h"
#include "libopencm3/cm3/nvic.h"
#include "libopencm3/cm3/cortex.h"
#define SYSTICK_FRQ (1000)
/* Lowe... |
/*
Copyright (c) 2017 <NAME> <<EMAIL>>
Copyright (c) 2017 Center for Bioinformatics, University of Hamburg
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 cop... |
/**
* @autor <NAME>
* @date 11.12.2011
*
* @info Program slouzi k serazeni radku dle ceskeho razeni.
* @param --loc = lokalizace
* @param soubor1 = vstupni soubor
* @param soubor2 = vystupni soubor
*
* @motd I used to write in C, then I took an arrow to the knee...
*/
#include <stdio.h>
#include <stdlib.h>
#... |
#include <types.h>
#include <screen.h>
#include <terminal.h>
#include "pci.h"
#include "uhci.h"
#include "pio.h"
#include <pci.h>
#include <kernel.h>
#include <interrupt.h>
#include <pit.h>
#include <mem_mgr.h>
//#define USB_DEBUG
// -------------------------------------------------------------------------
// Documen... |
/* $Id: getmode.c $ */
/** @file
* VirtualBox X11 Additions graphics driver dynamic video mode functions.
*/
/*
* Copyright (C) 2006-2014 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* you can redistr... |
/*
* search.c: Rog-O-Matic XIV (CMU) Tue Mar 19 21:48:54 1985
* Copyright (C) 1985 <NAME>, <NAME>, <NAME>, and <NAME>
*
* This file contains the very basic search mechanisms for exploration etc.
*/
#include "search.h"
#include <curses.h>
#include <stdio.h>
#include "command.h"
#include "debug.h"
#include "global... |
/* $XConsortium: mifax.c /main/9 1995/12/04 15:33:46 dpw $ */
/* $XFree86: xc/programs/Xserver/XIE/mixie/import/mifax.c,v 3.1 1996/08/20 13:16:25 dawes Exp $ */
/* AGE Logic - Oct 15 1995 - <NAME> */
/**** module mifax.c ****/
/******************************************************************************
Copyright (c... |
/* Copyright (c) 2010, 2011 <NAME> <<EMAIL>>
* See the file COPYRIGHT for details.
*/
/**
* stuff for reading objects from a stream
*/
#include <string.h>
#include <ctype.h>
#include <stdlib.h>
#include <stdio.h>
#include <errno.h>
#include <sysexits.h>
#include "strbuf.h"
#include "signals.h"
#include "names.h"
#... |
/*-
* Copyright (c) 2003-2007 <NAME>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditi... |
#include <stdbool.h>
#include <stdint.h>
#include "include/mbox.h"
#include "include/mmu.h"
#include "include/multicore.h"
#include "include/gpu_memory.h"
/* REFERENCE FOR STAGE 1 NEXT LEVEL ENTRY */
/* ARMv8-A_Architecture_Reference_Manual_(Issue_A.a).pdf D5-1776 */
typedef enum {
APTABLE_NOEFFECT = 0, // No effe... |
/*
* Copyright (c) 2014 The DragonFly Project. All rights reserved.
*
* This code is derived from software contributed to The DragonFly Project
* by <NAME> <<EMAIL>>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are... |
/**
* bAtari-Basic
* Copyright (c) 2021
*
* 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 pro... |
#include <stdio.h>
#include <math.h>
#include "stm32f4xx.h"
#include "algorithms.h"
#include "vars.h"
#define ADC_CURRENT 0.02
#define ADC_VOLTAGE 0.013
#define ONE_SQRT3 0.577350269
#define TWO_SQRT3 1.154700538
#define K1 500
#define K2 0.00336
#define TWO_PI 6.28318530
#define CHAR_120_DEG 85
#defin... |
#include "cpu/instr.h"
instr_func opcode_entry[256] = {
/* 0x00 - 0x03*/ inv, inv, inv, inv,
/* 0x04 - 0x07*/ inv, inv, inv, inv,
/* 0x08 - 0x0b*/ inv, inv, inv, inv,
/* 0x0c - 0x0f*/ inv, inv, inv, opcode_2_byte,
/* 0x10 - 0x13*/ inv, inv, inv, inv,
/* 0x14 - 0x17*/ inv, inv, inv, inv,
/* ... |
// SPDX-License-Identifier: MIT
// Copyright (C) 2021 <NAME>
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <time.h>
#include <unistd.h>
#include <ctype.h>
#include <errno.h>
#include <getopt.h>
#include "common/jbfs.h"
#include "versio... |
//Necessary header files are included
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
//Few Global Variables:
int NO_COUNTERS;//First line of input-No of counters maintained
int BUFF_SIZE;//Buffer size of each counter
int firsttime=1;//A constant which is used for executing a few statements only duri... |
/* GMRES.f -- translated by f2c (version of 20 August 1993 13:15:44).
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__1 = 1;
static doublereal c_b7 = -1.;
static doublereal c_b8 = 1.;
static doublereal ... |
/* $XFree86: xc/extras/Mesa/src/mesa/drivers/dri/radeon/radeon_context.c,v 1.4 2004/12/10 15:30:10 alanh Exp $ */
/**************************************************************************
Copyright 2000, 2001 ATI Technologies Inc., Ontario, Canada, and
VA Linux Systems Inc., Fremont, California.... |
/* wvWare
* Copyright (C) <NAME>, <NAME>, and others
*
* 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 ... |
/* $NetBSD: if_tr_pcmcia.c,v 1.7 2001/12/15 13:23:22 soren Exp $ */
/*
* Copyright (c) 2000 <NAME>. All rights reserved.
* Copyright (c) 2000 <NAME>. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
... |
/******************************************************************************
*
* Copyright (C) 2016 Spreadtrum Corporation
*
* 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:
*
* ... |
/*
* 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 ... |
/*
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, modify, mer... |
/* module.c -- nid lookup utilities
*
* Copyright (C) 2016 <NAME>
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
#include <psp2kern/types.h>
#include <psp2kern/kernel/cpu.h>
#include <psp2kern/kernel/modulemgr.h>
#include <ps... |
/*
* This file is a part of libacars
*
* Copyright (c) 2018-2021 <NAME> <<EMAIL>>
*/
#include <sys/time.h> // struct timeval
#include <string.h> // strdup
#include <libacars/macros.h> // la_assert
#include <libacars/hash.h> // la_hash
#include <libaca... |
/*
Level.c contains the code for loading levels (which are in an ASCII format
and parsed with a 'reasonable' degree of intelligence) and preprocessing
them for game use.
It can also produce a condensed version of the current level state
(suitable for saving and loading of games, used elsewhere to retain s... |
/*
* Copyright 2020 Makani Technologies LLC
*
* 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 ... |
/*
* display_functions.c
*
* Created: 09.03.2019 16:25:39
* Author: ole
*/
#include <avr/io.h>
#include <stdbool.h>
#include <string.h>
#include <stddef.h>
#include "display_functions.h"
static bool sc_bit = SHIFTDISPLAY;
static bool shift = SHIFTDIRECTION;
static bool autoshift = ENABLE_SHIFT;
s... |
#include "ov2640.h"
#include "ov2640cfg.h"
#include "sccb.h"
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "esp_log.h"
static const char *TAG = "OV2640";
#define SCCB_ID 0X30 //OV2640的ID
#define delay_ms(a) vTaskDelay(a / portTICK_RATE_MS);
//初始化OV2640,XCLK输入12MHz时钟
//配置完... |
/*
* jsapi.c
* JavaScript bindings for Sparkling
* Created by <NAME> on 01/09/2014.
*
* Licensed under the 2-clause BSD License
*/
#include <stdlib.h>
#include <string.h>
#include <stdint.h>
#include <math.h>
#include "api.h"
#include "ctx.h"
#include "private.h"
#include "func.h"
#include "str.h"
#include "ar... |
#include "vpn-ws.h"
#include <netdb.h>
#include <regex.h>
int vpn_ws_full_write(int fd, uint8_t *buf, size_t len) {
size_t remains = len;
uint8_t *ptr = buf;
while(remains > 0) {
ssize_t wlen = write(fd, ptr, remains);
if (wlen <= 0) {
if (wlen < 0 && (errno == EAGAIN || err... |
//MPU6050 I2C library for ARM STM32F103xx Microcontrollers - Main source file
//Has bit, byte and buffer I2C R/W functions
// 23/05/2012 by <NAME> <<EMAIL>>
// Changelog:
// 2012-05-23 - initial release. Thanks to <NAME> <<EMAIL>> for his AVR/Arduino
// based MPU6050 development which inspired me ... |
/*
Winc.c - (c) 2000 by <NAME>
color mulg graphics
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 prog... |
/* 生成sample for Regression */
/* theta12, m21 fixed */
/* theta23, theta13, m31 flat distribution in 3 sigma range */
/* deltacp flat distribution in 0~360 */
/* 使用方式(產100K組) : ./sample_regression <filename.h5> <num> */
/* Caution: `num` should not greater than 1000. */
#include <stdio.h>
#include <stdlib.h>
#includ... |
/*
* OpenTyrian: A modern cross-platform port of Tyrian
* Copyright (C) 2007-2009 The OpenTyrian Development Team
*
* 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... |
/* Simple session layer for multiple perf events. */
/*
* Copyright (c) 2015, Intel Corporation
* Author: <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 s... |
#include <stdio.h>
#include <stdlib.h>
#include "header/data.h"
#include "header/game.h"
#include "header/screen.h"
PlayerType playerType;
// These arrays below store progress data in Integer. (Not structure)
int playerData[PT_SIZE][PA_SIZE];
int monsterData[MT_SIZE][MA_SIZE];
int itemData[IT_SIZE][IA_SIZE];
int dun... |
#include "drv_qmi8658.h"
#include <stdio.h>
#include <stdint.h>
#include <math.h>
//#include "esp32/rom/ets_sys.h"
#define QMI8658_SLAVE_ADDR_L 0x6a
#define QMI8658_SLAVE_ADDR_H 0x6a
#define I2C_MASTER_NUM I2C_NUM_1
double gyro_x_calib = 4.246f,gyro_y_calib = -27.252f,gyro_z_calib = -5.940f;
enum
{
AXIS_X = 0,
... |
// SPDX-FileCopyrightText: 2022 <NAME> for Adafruit Industries
//
// SPDX-License-Identifier: MIT
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <string.h>
#pragma GCC push_options
#pragma GCC optimize("-O3")
typedef struct mfm_io mfm_io_t;
#ifndef MFM_IO_MMIO
#define MFM_IO_MMIO (0)
#endif
/... |
/*
260607 - <NAME>
*/
#include <curses.h> // For NCurses
#include <stdio.h> // Standard library
#include <unistd.h> // For sleep()
#include <string.h> // For strlen()
// Menu choices
char *menu_choices[] = {
"Play", // menu_choices[0] = address of array of chars containing "Play\0"
"Settings (not available)",... |
/*
* Copyright (c) 2008-2012 the MansOS team. 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... |
/*
* ex: set tabstop=4 ai expandtab softtabstop=4 shiftwidth=4:
* -*- mode: c-basic-indent: 4; tab-width: 4; indent-tabls-mode: nil -*-
* $Id$
*/
/************************************************************************
* *
* ... |
/*
* autor: <NAME>
* fecha: Tue 06 Feb 2018 05:10:24 PM CST
* descripcion: Genera un arbol de huffman, comprimiendo el archivo
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
// las descripciones de las funciones se encuentran en practica_2.h
#include "practica_2.h"
int main(int argc, char **argv) {... |
/*<NAME>*/
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <dc_application/command_line.h>
#include <dc_application/config.h>
#include <dc_application/options.h>
#include <dc_posix/dc_fcntl.h>
#include <dc_posix/dc_string.h>
#include <dc_posix/dc_unistd.h>
#include <dc_posix/sys/dc_stat.h>
#include ... |
/* Copyright 2002 Colorado State University */
/* All Rights Reserved */
/*****************************************************************************
**
** FILE: create_soil.c
**
** FUNCTION: void create_soil()
**
** PURPO... |
#include <Arduino.h>
#include <SPI.h>
/*
**************************************************************************************************
ProMiniLoRaTracker_V1 Programs
Copyright of the author <NAME> - 02/07/2015 15:00
These programs may be used free of charge for personal, recreational and educational purp... |
/*
* Mathlib : A C Library of Special Functions
* Copyright (C) 1998 <NAME>
* Copyright (C) 2000-2015 The R Core Team
* Copyright (C) 2005-2015 The R Foundation
*
* 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
*... |
////////////////////////////////////////////////////////////////////////////////
// //
// MIT X11 license, Copyright (c) 2005-2006 by: //
// ... |
/*
* MUSL standalone interpreter.
* This file implements a standalone scripting language
* built on top of the MUSL.
* It is also intended to serve as an example of how to
* embed MUSL in your own application, and adds some
* file handling functions to demonstrate adding your own
* functions to the interpreter.
... |
// MIT License
//
// Copyright (c) 2019 <NAME>, <NAME>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modi... |
/*************************************************************************\
* Copyright (c) 2009 UChicago Argonne LLC, as Operator of Argonne
* National Laboratory.
* Copyright (c) 2002 The Regents of the University of California, as
* Operator of Los Alamos National Laboratory.
* EPICS BASE is distributed subj... |
#include "jkEpisode.h"
#include "World/sithThing.h"
#include "World/jkSaber.h"
#include "stdPlatform.h"
#include "Main/jkRes.h"
#include "Main/Main.h"
#include "Main/jkStrings.h"
#include "General/stdFileUtil.h"
#include "General/stdFnames.h"
#include "General/stdString.h"
#include "Win95/Windows.h"
#include "Cog/jkCo... |
/*
* Copyright (c) 2012-2015, L3a,
* <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:
*
* - Redistributions of source code must retain the above copyright notice,
* ... |
/* *INDENT-OFF* */
/*INDENT OFF*/
/* Description: re_config - read a simple configuration file using a regular expression
*/
/******************************************************************************
* This software is covered by the zlib/libpng license.
* The zlib/libpng license is a recognized open source licens... |
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <GL/glut.h>
#include <math.h>
#include <string.h>
#define _NUM_ORDINATES 4
#define _NUM_LINES 100
#define _ROTATION 5
typedef struct _rect {
double points[_NUM_ORDINATES];
struct _rect *next;
} Rect;
enum _clipping_types {
_unclipped,
_clipped... |
/*
# Copyright (C) 2009-2013 <NAME>
# University of Tokyo / CNRS, 2009
#
# This file is part of porject DisPerSE
#
# Author : <NAME>
# Contact : <EMAIL>
#
# Licenses : This file is 'dual-licensed', you have to choose one
# of the two licenses below to apply.
#
... |
/*
* Copyright (C) 2014 Texas Instruments Incorporated
*
* 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 condit... |
/******************************************************************************/
/* Copyright (C) 2011 Garz&Fricke GmbH */
/* No use or disclosure of this information in any form without */
/* the written permission of the author */
/***********************************************... |
/****************************************************************************
* Copyright (C) 2021 by NQMCyber Ltd *
* *
* This file is part of EDGESec. *
* ... |
#include "Configuration.h"
#include "Utils.h"
#include "ini/ini.h"
//Macros for default values that appear multiple times in this file.
#define DEFAULT_CHUNK_RENDER_RADIUS 16
#define DEFAULT_BLOCK_BREAK_RADIUS 5
#define DEFAULT_CHUNK_WIDTH 32
#define DEFAULT_CHUNK_HEIGHT 256
#define DEFAULT_BLOCK_SIZE 0.1f
//General... |
/*
* vim:ts=4:sw=4:expandtab
*
* © 2010 <NAME>
*
* See LICENSE for licensing information
*
*/
#include <X11/Xlib.h>
#include <cairo.h>
#include <cairo/cairo-xcb.h>
#include <ev.h>
#include <math.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <xcb/xcb.h>
#include "blu... |
/*
* Unit test suite for dir functions
*
* Copyright 2006 CodeWeavers, <NAME>
*
* 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; either
* version 2.1 of the License, or (at your op... |
/*
* (C) Copyright 2017- 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... |
/*************************************************************************
* *
* ROUTINES IN THIS FILE: *
* *
* ... |
#include "connect.h"
#include "replication.h"
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#include <sys/time.h>
#include <unistd.h> /* k4m */
#include <internal/pqexpbuffer.h>
/* Wrap around a function call to bail on error. */
#define check(err, call) { err = call; if (err) return err; }
/* Similar... |
/******************************************************************************/
/* */
/* Copyright (c) 1990-2016, KAIST */
/* All rights reserved. ... |
/******************************************************************************
* mkelf32.c
*
* Usage: elf-prefix <in-image> <out-image> <load-base>
*
* Converts an Elf32 or Elf64 executable binary <in-image> into a simple Elf32
* image <out-image> comprising a single chunk to be loaded at <load-base>.
*/
#i... |
/*
* id Quake II CIN File Demuxer
* Copyright (c) 2003 The ffmpeg Project
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the... |
/* sneigh.f -- translated by f2c (version 20190311).
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... |
// bindgen-flags: --rust-target 1.0 --with-derive-hash --with-derive-partialeq --with-derive-eq --rustified-enum .*
typedef unsigned char uint8_t;
typedef unsigned short uint16_t;
typedef unsigned int uint32_t;
typedef unsigned long long uint64_t;
/**
* Simple flags are used for rte_eth_conf.rxmode.mq_mode.
*/
#de... |
/******************************************************************************
R M N E T C L I . C
Copyright (c) 2013-2014, The Linux Foundation. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* ... |
/*
* GPL HEADER START
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 only,
* as published by the Free Software Foundation.
*
* This program is distributed... |
/**
* @file range.c
* @author <NAME>
* @date 2014.09.03
* @brief Ranging protocol
*
* MIT License
*
* Copyright (c) 2022 <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
... |
/*
By <NAME> <<EMAIL>>
100% Public Domain
-----------------
Modified 7/98
By <NAME> <<EMAIL>>
Still 100% Public Domain
Corrected a problem which generated improper hash values on 16 bit machines
Routine SHA1Update changed from
void SHA1Update(SHA1_CTX* context, unsigned char* data, unsigned int
len)
to
void SHA1Upd... |
/*
* tinfgzip.c - tiny gzip decompressor
* tinflate.c - tiny inflate
*
* The original source headers as below for licence compliance and in
* full acknowledgement of the originitor contributions. Modified by
* <NAME> 2018 to provide lightweight stream inflate for NodeMCU
* Lua. Modifications are under the ... |
// Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: MIT-0
#include<stdio.h>
#include<errno.h>
#include<strings.h>
#include<stdlib.h>
#include"client_connection.h"
#include"service_socks.h"
#include"log.h"
#include"socks4.h"
#include"socks5.h"
#include"safe_blocking_r... |
/* binTest - test bin functionality */
/* Copyright (C) 2011 The Regents of the University of California
* See README in this or parent directory for licensing information. */
#include "common.h"
#include "options.h"
#include "obscure.h"
#include "jksql.h"
#include "dystring.h"
#include "hdb.h"
#include "binRange.h"... |
#include "result_processor.h"
#include "query.h"
#include "extension.h"
#include <util/minmax_heap.h>
#include "ext/default.h"
#include "rmutil/rm_assert.h"
/*******************************************************************************************************************
* General Result Processor Helper functions... |
/*-
* Copyright (c) 2015 <NAME> <<EMAIL>>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of co... |
#include "mica.h"
#include "hrd.h"
int is_power_of_2(int x) {
return (x == 1 || x == 2 || x == 4 || x == 8 || x == 16 || x == 32 ||
x == 64 || x == 128 || x == 256 || x == 512 || x == 1024 ||
x == 2048 || x == 4096 || x == 8192 || x == 16384 || x == 32768 ||
x == 65536 || x == 131072 ||... |
/* sspt21.f -- translated by f2c (version 20061008).
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... |
/*-
* Copyright (c) 2014-2018 MongoDB, Inc.
* Copyright (c) 2008-2014 WiredTiger, Inc.
* All rights reserved.
*
* See the file LICENSE for redistribution information.
*/
#include "wt_internal.h"
/*
* Compaction is the place where the underlying block manager becomes visible
* in the higher engine btree and AP... |
/* Copyright 2000-2005 The Apache Software Foundation or its licensors, as
* applicable.
*
* 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-... |
#include <stdio.h>
#include <stdlib.h>
#include "pico/stdlib.h"
#include "pico/bootrom.h"
#include "hardware/pio.h"
#include "hardware/dma.h"
#include "hardware/gpio.h"
#include "hyperram.pio.h"
const uint CAPTURE_PIN_BASE = 2;
const uint CAPTURE_PIN_COUNT = 16;
const uint CAPTURE_N_SAMPLES = 160 * 2;
// GPIO 2-9 =... |
/* $Id: output.c,v 1.21 2016/04/14 13:20:10 kristaps Exp $ */
/*
* Copyright (c) 2015, 2016 <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... |
/*
* Support for Intel Camera Imaging ISP subsystem.
* Copyright (c) 2015, Intel Corporation.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation.
*
* This progra... |
/*
* Copyright (c) 2016 Nordic Semiconductor. All Rights Reserved.
*
* The information contained herein is confidential property of Nordic Semiconductor. The use,
* copying, transfer or disclosure of such information is prohibited except by express written
* agreement with Nordic Semiconductor.
*
*/
#inc... |
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include "mystring.h"
#include "generic_vector.h"
#include "assocarray.h"
#include "status.h"
void Intro(void); //"HANGMAN" ASCII Art
// Primary driver for each round of hangman
void EvilHangman(int word_size, int guesses, int display_words);
// Tests ea... |
/*
* Copyright (c) 2020 Deomid "rojer" Ryabkov
* All rights reserved
*
* 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 re... |
/* $OpenBSD: nma.c,v 1.7 2009/10/27 23:59:52 deraadt Exp $ */
/*
* Copyright (c) 1995 <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 retai... |
/*
* Copyright (c) 2015 <NAME>
*
* Use of this source code is governed by a MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT
*/
#include <dev/virtio/net.h>
#include <stdlib.h>
#include <lk/debug.h>
#include <assert.h>
#include <lk/trace.h>
#include <lk/compile... |
/* (C) <NAME> 1999*/
/*#include <malloc.h>
// For DOS only*/
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <time.h>
#include "cgi.h"
#include "cgitbl.h"
/* Функция идентификации пользователя по хосту, ip, имени пользователя и
пароля. Не реализована */
int IdentUser(char *szHost, char *szIP, char... |
#include "vxo_objmtl.h"
#include <stdlib.h>
#include <math.h>
#include <assert.h>
#include <libgen.h>
#include <stdio.h>
#include <float.h>
#include "vx_codes.h"
#include "vx_colors.h"
#include "vx_style.h"
#include "vx_resc.h"
#include "vxo_chain.h"
#include "vxo_mesh.h"
#include "vxo_lines.h"
#include "vx/math/ma... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.