text stringlengths 5.8k 28.2k |
|---|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
typedef struct Token {
enum {
TOKEN_ID, TOKEN_INT, TOKEN_SEMICOLON,
TOKEN_LPAREN, TOKEN_RPAREN, TOKEN_LBRACE, TOKEN_RBRACE,
TOKEN_MINUS, TOKEN_TILDE, TOKEN_BANG,
TOKEN_PLUS, TOKEN_MUL, TOKEN_DIV
} type... |
/* zzfovaxi.f -- translated by f2c (version 19980913).
You must link the resulting object file with the libraries:
-lf2c -lm (in that order)
*/
#include "f2c.h"
/* Table of constant values */
static integer c__3 = 3;
/* $Procedure ZZFOVAXI ( Generate an axis vector for polygonal FOV ) */
/* Subroutine */ in... |
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdbool.h>
#include <stdint.h>
#include "geohex3.h"
#include "pow.h"
typedef uint64_t area_num_t;
static const char* GEOHEX3_HASH_KEY = "<KEY>";
static const long double GEOHEX3_HASH_DEG = GEOHEX3_PI / 6.0L;
// inner funct... |
/* -*- linux-c -*-
*
* Copyright (C) Copyright Nokia Siemens Networks 2010
* (C) Copyright <NAME> 2011
*
* 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. This
* file and... |
/*----------------------------------------------------------------------------
* Copyright (c) <2016-2018>, <Huawei Technologies Co., Ltd>
* 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. R... |
/*
Dynamic texture generation.
Copyright (C) 2000-2001 <NAME>.
Copyright (C) 2000-2001 Ragnvald "Despair" Maartmann-Moe IV
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
... |
/******************************************************************************
* Copyright (c) 2019 - 2020 Xilinx, Inc. All rights reserved.
* SPDX-License-Identifier: MIT
******************************************************************************/
#include "xpm_common.h"
#include "xpm_node.h"
#include "xpm_reg... |
/*
File: MFiSAP.c
Package: Apple CarPlay Communication Plug-in.
Abstract: n/a
Version: 410.12
Disclaimer: IMPORTANT: This Apple software is supplied to you, by Apple Inc. ("Apple"), in your
capacity as a current, and in good standing, Licensee in the MFi Licensing Program. Use of this
Apple software is... |
/* fir.c
This file is part of a program that implements a Software-Defined Radio.
Copyright (C) 2013, 2016 <NAME>, NR0V
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 Lice... |
/**
* @file shmman.c
* @author <NAME> <<EMAIL>>
*/
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/ipc.h>
#include <sys/shm.h>
#include "shmman.h"
#include "atomic.h"
#include "hwfunctions.h"
#define MAX_SVSHMSEG 25 /* maximum number of System V shared memory segments objects */
#define... |
/*
* Copyright (C) 2016 The Android Open Source Project
*
* 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 app... |
/* Copyright 2011 <NAME>, <NAME>
This file is part of libkoki
libkoki 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 the License, or
(at your option) any later version.
li... |
# include <stdio.h>
# include <stdlib.h>
# include <math.h>
# include "splice.h"
# define NON_ZERO_SLOPE (1.e-4)
typedef struct { /* for sorting on dwl */
double wl;
double dwl;
} Pair;
static int CreateWl (SpecArray *, int, Spectrum *);
static void Getdwl (Spectrum *,
double *, double *, double *, double *, dou... |
/* -----------------------------------------------------------------------------
* regSift3D.c
* -----------------------------------------------------------------------------
* Copyright (c) 2015-2016 <NAME> et al., see LICENSE for details.
* -------------------------------------------------------------------------... |
/*
* This file and its contents are supplied under the terms of the
* Common Development and Distribution License ("CDDL"), version 1.0.
* You may only use this file in accordance with the terms of version
* 1.0 of the CDDL.
*
* A full copy of the text of the CDDL should have accompanied this
* source. A copy o... |
/*
american fuzzy lop++ - grammar mutator
--------------------------------------
Written by <NAME>
Copyright 2020 AFLplusplus Project. 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 obt... |
/**
* @file pseudoshell.c
* @brief A toy 'script' like utility.
* @details This toy program is an example how pseudo terminals can
* be used. When started, it starts a new shell. Whatever is typed in this new shell
* is saved to a temporary file.
* @author <NAME> (ato013)
* @date 2015-Apr-01
* @par History
* <... |
#include <stdlib.h>
#include <string.h>
#include "pspgl_internal.h"
#include "pspgl_texobj.h"
#include "pspgl_matrix.h"
struct pspgl_saved_attrib
{
GLbitfield attrmask;
struct clear clear;
struct current current;
struct scissor_test scissor_test;
struct lights lights;
struct material material;
struct polygon ... |
//////////////////////////////////////////////////////////////////
#include<stdio.h>
#include<stdlib.h>
#include "isitek.h"
void read_geometry(FILE *file, int *n_nodes, struct NODE **node, int *n_faces, struct FACE **face, int *n_elements, struct ELEMENT **element);
void process_geometry(int n_nodes, struct NODE *no... |
/* ******************************************
For n0 belonging to the numbers less than 2^k that remain to be excluded,
one may want to see if n0 joins the path of any numbers n0 - deltaN <= n < n0
in the same j<=k steps having undergone the same c increases.
It can be shown that...
deltaN <= 2^(k - minC)
The ... |
#include <string.h>
#include <os/os.h>
#include <decadriver/deca_device_api.h>
#include <decadriver/deca_regs.h>
#include <decartls/instance.h>
// NOTE: the maximum RX timeout is ~ 65ms
#define ADDR16_TO_ANCHOR_N(x) (x & (~0x80))
static void tag_enable_rx(uint32 dlyTime) {
instance_data_t* inst = instance_get_... |
/**
* @file
* @brief Application Timer module
*
* @copyright 2018 Silicon Laboratories Inc.
*/
/* Z-Wave includes */
#include <AppTimer.h>
#include <SwTimerLiaison.h>
#include <SizeOf.h>
#include <ZW_system_startup_api.h>
#include <zpal_retention_register.h>
//#define DEBUGPRINT
#include "DebugPrint.h"
#include <Fre... |
//+----------------------------------------------------------------------------
//
// File: resource.h
//
// Module: CMDIAL32.DLL
//
// Synopsis: Resource ID definitions
//
// Copyright (c) 1996-1998 Microsoft Corporation
//
// Author: quintinb Created Header 08/17/99
//
//+-------------... |
#include <Drawframework.h>
void read_object3d_from_file(FILE* f, object3d* obj) {
fscanf(f, "%d\n", &obj->n);
printf("Reading %d points\n", obj->n);
for (int i=0; i<obj->n; i++) {
fscanf(f, "%lf %lf %lf", &obj->xs[i], &obj->ys[i], &obj->zs[i]);
}
printf("done reading points\n");
fscanf(... |
/** EMULib Emulation Library *********************************/
/** **/
/** Floppy.c **/
/** **/
/** This file implements functions to operate on 720kB **/
... |
//
// Projekt 2
// <NAME>
// Partnerom tohto projektu je Železničná spoločnosť Slovensko
//
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
typedef struct zaznam{
char kategoria[51];
char mesto[51];
char ulica[101];
int rozloha;
int cena;
char popis[201];
s... |
/**
* @file pwm.c
* @brief PWM Generator for EFM32GG
* @version 1.0
*
* @note Can use any timer
*
* @note The HFPERCLOCK is used as clock source
*
* @note Pinout and Ports for EFM32GG990
*
* Timer | Channel | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 |
* ------|---------|----|----|----|----|-... |
//
//
//
//This file contains only functions for main_gs.c
//
//
#include <CL/cl.h>
#include <sys/time.h>
#include <string.h>
//read the INPUTFILE
void parainit(int * Nx, int * Ny, int * Tmax, int * plotgap, double * Lx, double * Ly, double * dt, double * Du, double * Dv, double * A, double *B ){
int intcomm[4];
do... |
/**
******************************************************************************
* @file : Int_Sensors.c
* @brief : Sensors Management
******************************************************************************
* @attention
*
* <h2><center>© Copyright (c) 2019 STMicroelectronics.
* ... |
#include<stdio.h> //printf
#include<string.h> //strlen
#include<stdlib.h> //malloc
#include<sys/socket.h> //you know what this is for
#include<errno.h> //For errno - the error number
#include<netdb.h> //hostent
#include<arpa/inet.h> //inet_addr , inet_ntoa , ntohs etc
#include<netinet/in.h>
#include<unistd.h> ... |
// Copyright (c) 2012-2013 The Cryptonote developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
// Portions Copyright (c) 2018 The Monero developers
// Portions Copyright (c) 2018 The TurtleCoin Developers
#include <std... |
#include "cache.h"
#include "quote.h"
#include "argv-array.h"
int quote_path_fully = 1;
static inline int need_bs_quote(char c)
{
return (c == '\'' || c == '!');
}
/* Help to copy the thing properly quoted for the shell safety.
* any single quote is replaced with '\'', any exclamation point
* is replaced with '\!... |
/*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be use... |
/*
* 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... |
/****************************************************************************
*
* t42objs.c
*
* Type 42 objects manager (body).
*
* Copyright (C) 2002-2019 by
* <NAME>.
*
* This file is part of the FreeType project, and may only be used,
* modified, and distributed under the terms of the FreeType ... |
/* netscreen.c
*
* Juniper NetScreen snoop output parser
* Created by re-using a lot of code from cosine.c
* Copyright (c) 2007 by <NAME> <<EMAIL>>
*
* Wiretap Library
* Copyright (c) 1998 by <NAME> <<EMAIL>>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the ... |
/*
FreeRTOS V9.0.0rc2 - 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
... |
/* --------------------------------------------------------------------
* jpeg2ps
* convert JPEG files to compressed PostScript Level 2 or 3 EPS
*
* (C) <NAME> 1994-2002
*
* ------------------------------------------------------------------*/
#define VERSION "V1.9"
#include <stdio.h>
#include <time.h... |
/*
* QuickJS libuv bindings
*
* Copyright (c) 2019-present <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 righ... |
/***********************************************************************
* *
* MEME++ *
* Copyright 1994-2017, The Regents of the University of California *
* Author: <NAME> ... |
/*
* This file is part of the TREZOR project, https://trezor.io/
*
* Copyright (c) SatoshiLabs
*
* 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 3 of the License, or
* (at... |
/*
* Copyright 2017-2020 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/l... |
// SPDX-License-Identifier: GPL-2.0-only
/*
* TDA9950 Consumer Electronics Control driver
*
* The NXP TDA9950 implements the HDMI Consumer Electronics Control
* interface. The host interface is similar to a mailbox: the data
* registers starting at REG_CDR0 are written to send a command to the
* internal CPU, a... |
/*-
* SPDX-License-Identifier: BSD-3-Clause
*
* Copyright (c) 2019-2020 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 permi... |
#include "matrix.h"
#include <ncurses.h>
#include <stdlib.h>
#include <time.h>
#include <string.h>
WINDOW *matrixWin;
WINDOW *previewWin;
WINDOW *holdWin;
int matrix[matrixRows][matrixCols];
//the tetris matrix is 22 tall and 10 wide
//only the bottom 20 rows should ever be displayed
int minoNow = BLANK;
//the curr... |
/* Sarien - A Sierra AGI resource interpreter engine
* Amiga files Copyright (C) 1999-2001 <NAME>
*
* $Id: amiga.c,v 1.18 2002/11/16 01:20:21 cmatsuoka Exp $
*
* 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 Fre... |
#include <common.h>
#include <malloc.h>
#include "fb_con.h"
#include "canvas_utils.h"
#include "video_hal.h"
#include "boot_gui_config.h"
#define BUF_WIDTH_ALIGN_BYTE 4
#define BUF_WIDTH_ALIGN_BIT (BUF_WIDTH_ALIGN_BYTE << 3)
#define MY_ALIGN(x, a) (((x) + (a) - 1L) & ~((a) - 1L))
framebuffer_t g_fb_list[FRAMEBUFFER... |
/*
* Copyright (C) 2004, 2005, 2007-2009, 2011-2015 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2001, 2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copy... |
/*
* acpi_decode.c: Routines to decode ACPI static tables.
*
* Copyright (c) 2020, <NAME> <EMAIL>
*
* 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 c... |
/* BEEBS ludcmp benchmark
MDH WCET BENCHMARK SUITE.
*************************************************************************
* *
* SNU-RT Benchmark Suite for Worst Case Timing Analysis *
* ========================... |
/******************************************************************************/
/* */
/* Copyright (c) 2013-2015, <NAME>, KAIST */
/* All rights reserved. */
/* ... |
/**
* \file
*
* \brief Plot widget implementation
*
* Copyright (c) 2012-2018 Microchip Technology Inc. and its subsidiaries.
*
* \asf_license_start
*
* \page License
*
* Subject to your compliance with these terms, you may use Microchip
* software and any derivatives exclusively with Microchip products.
*... |
/*
* concurrentBufferManager.c
*
* Created on: Oct 19, 2009
* Author: sears
*/
#include <stasis/util/concurrentHash.h>
#include <stasis/replacementPolicy.h>
#include <stasis/bufferPool.h>
#include <stasis/pageHandle.h>
#include <stasis/flags.h>
//#define STRESS_TEST_WRITEBACK 1 // if defined, writeback as m... |
/*
* Copyright (c) 1986 Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*
* @(#)init_main.c 2.5 (2.11BSD GTE) 1997/9/26
*/
/*
* Copyright (c) 1982, 1986, 1989, 1991, 1992, 1993
* The Regents of the ... |
/* Standalone DNS parsing, RFC10350
*
* Copyright (c) 2003 <NAME> <<EMAIL>>
* Copyright (c) 2016-2021 <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:
* * Redistribut... |
/*************/
/* mdiorgb.c */
/*************/
/*******************/
/* System includes */
/*******************/
#include <windows.h>
/****************/
/* Self include */
/****************/
#include "mdiorgb.h"
/******************/
/* Other includes */
/******************/
#include "mio.h"
#include "mdiowingraph.... |
// Copyright (c) FIRST and other WPILib contributors.
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#pragma once
#include <stdint.h>
typedef enum {
CTR_OKAY, // No Error - Function executed as expected
CTR_Rx... |
#include "syntaxVars.h"
#include "lexicalCheck.h"
#include "interpreterLexical.h"
#include "interpreterSyntax.h"
int spc_num_nword (char *buf);
//----------------------------------------------------------------------------------------------------
void container_const_name (names_table *Names_table, char name[NA... |
/* hwdrv_apci3120.h */
/*
* Copyright (C) 2004,2005 ADDI-DATA GmbH for the source code of this module.
*
* ADDI-DATA GmbH
* Dieselstrasse 3
* D-77833 Ottersweier
* Tel: +19(0)7223/9493-0
* Fax: +49(0)7223/9493-92
* http://www.addi-data-com
* <EMAIL>
*
* This program is free software; you can redistribute ... |
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <errno.h>
#include "soundfunctions.h"
/*
IMPORTANT: USE PROPER FILE EXTENSIONS (e.g. .wav or .cs229).
(e.g. "filename.wav" cannot be passed as "filename" It must be passed as filename.wav
or this program will not recognize it.)
This pr... |
#include "Rcs_math.h"
#include "Rcs_macros.h"
#include "Rcs_mesh.h"
#include <float.h>
/*******************************************************************************
Graphics Gems III: Arvo, James, Fast Random Rotation Matrices,
p. 117-120, code: p. 463-464
from http://tog.acm.org/resou... |
/*
* SHELL-AES Reference C Implementation
*
* Copyright 2015:
* <NAME> <<EMAIL>>
* <<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
* L... |
#define MAX_FM_FFTSIZE 32
#define MAX_FM_FFTN 5
#define CWDETECT_CLEARED 0
#define CWDETECT_SEARCH_SPEED 1
#define CWDETECT_ERROR 4
#define CWDETECT_WAVEFORM_ESTABLISHED 5
#define CWDETECT_SOME_PARTS_FITTED 6
#define CWDETECT_LIMITS_FOUND 10 //test for flag>=
#define CWDETECT_REGION_INITIATED 11
#define CWDETECT_REG... |
/**
* csci4211 Fall 2011
* Programming Assignment: Simple File Sharing System
*
* peer.c - main peer program source file
*/
#include <arpa/inet.h>
#include <dirent.h>
#include <errno.h>
#include <fcntl.h>
#include <limits.h>
#include <netdb.h>
#include <netinet/in.h>
#include <signal.h>
#include <stdio.h>
#includ... |
/*
* Copyright © 2008 <NAME>
* All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modif... |
/*
* Copyright (c) 2006-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... |
/*
WebDAV property manipulation
Copyright (C) 2000-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 optio... |
#define _GNU_SOURCE
#include <stdio.h>
#include <stdlib.h>
#include <zlib.h>
#include <stdint.h>
#include <time.h>
#include <string.h>
#include <fcntl.h>
#include <setjmp.h>
#include <assert.h>
#include <signal.h>
#include "stl-u.h"
#define SB_MAGIC 0x7853544c /* 'xSTL' */
/* 0x4c545378*/
#define S... |
#include <stdio.h>
#include <string.h>
#include <math.h>
#include <assert.h>
#include "rotations.h"
#define ROT_EPSILON 1e-12
#define SQ(a) ((a)*(a))
static inline int
feq (double a, double b) {
return fabs (a - b) < 1e-9;
}
static inline int
qeq (double *q, double a, double b, double c, double d)
{
return... |
#include "compiler.h"
#include "stylecompiler.gen.h"
#include "transform.h"
#include "../alloc.h"
#include "ast.h"
#include "eval.h"
#include "../memarena.h"
#include "../strhash.h"
#include "../style_bytecode.h"
#include "../floatutil.h"
static char fa(float f) {
short f16 = f32_to_f16(f);
char *c = (char*)&f16;... |
/* $Id: comwin.c,v 1.1 1995/04/13 16:25:49 pturner Exp pturner $
*
* Command Panel
*
*/
#include <config.h>
#include <stdio.h>
#include <Xm/Xm.h>
#include <Xm/DialogS.h>
#include <Xm/BulletinB.h>
#include <Xm/Frame.h>
#include <Xm/FileSB.h>
#include <Xm/Command.h>
#include <Xm/PushB.h>
#include <Xm/RowColumn.h>
... |
#include <math.h> // required for sqrt(), fabs();
#include <stdio.h> // required for exit
#include <stdlib.h> // required for malloc(), free();
#include <float.h> // required for DBL_EPSILON
#include <string.h> // required for memcpy()
#include <time.h>
#define FMAX(a,b) ((a) > (b) ? (a) : (b))
void freema... |
/*
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... |
/*============================================================================
WCSLIB 4.24 - an implementation of the FITS WCS standard.
Copyright (C) 1995-2014, <NAME>
This file is part of WCSLIB.
WCSLIB is free software: you can redistribute it and/or modify it under the
terms of the GNU Lesser General P... |
/*
* proxy.c - A proxy server, support GET and CONNET HTTP method
* usage: proxy <port>
*/
#include <malloc.h>
#include <stdio.h>
#include <errno.h>
#include <unistd.h>
#include <stdlib.h>
#include <resolv.h>
#include <string.h>
#include <netdb.h>
#include <sys/time.h>
#include <sys/types.h>
#include <sys/select.h... |
/*
* tool
*
* SPDX-License-Identifier: BSD-3 2-Clause
* Copyright (C) 2019 GE
* Author: <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, version 2 of the
* Li... |
/*
-----------------------------------------------------------------------------
$Id: net_rudp.c,v 1.25 2008/03/20 16:58:42 cnepveu Exp $
-----------------------------------------------------------------------------
Copyright (c) 2001-2007 Hexago Inc. All rights reserved.
For license information refer to CLIENT-L... |
/*
* (C) Copyright 2003
* <NAME>, DENX Software Engineering, <EMAIL>.
*
* (C) Copyright 2010
* <NAME>, <NAME>
*
* 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 Lice... |
/*
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 Publi... |
/*
No copyright is claimed in the United States under Title 17, U.S. Code.
All Other Rights Reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitat... |
/* um_lat_pong.c - performance measurement tool. */
/*
Copyright (c) 2021-2022 Informatica Corporation
Permission is granted to licensees to use or alter this software for any
purpose, including commercial applications, according to the terms laid
out in the Software License Agreement.
This source code examp... |
/*
* Copyright (c) 2013 Jonas 'Sortie' Termansen.
*
* 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 copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUT... |
/*
* Copyright (C) 2015-2017 Texas Instruments Incorporated - http://www.ti.com/
*
* 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
* ... |
/**
* @file install.c
*/
#include <url.h>
#include "spm.h"
/**
* Check for the existence of `$ROOT/var/.spm_root`
* @param path
* @return yes=1, no=0
*/
int spm_hierarchy_is_root(SPM_Hierarchy *fs) {
if (exists(fs->rootrec) != 0) {
return 0;
}
return 1;
}
/**
* Initialize (not populate) a s... |
/*
Copyright (c) 2016, <NAME>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following discl... |
// SPDX-License-Identifier: GPL-2.0
/*
* The Virtual DVB test driver serves as a reference DVB driver and helps
* validate the existing APIs in the media subsystem. It can also aid
* developers working on userspace applications.
*
* The vidtv tuner should support common TV standards such as
* DVB-T/T2/S/S2, ISDB-... |
/**
* 1. mark all allocated object to be unused (0);
* 2. mark objects can be reached from `root` to be used (1);
* 3. [at runtime] mark objects can be reached from `frames` to be used (1);
* 4. [at native call] mark objects in tm->local_obj_list to be used(1);
* 5. release objects which are marked unused (0).
* ... |
/****************************************************************************
* (c) Copyright 2007 Wi-Fi Alliance. All Rights Reserved
*
*
* LICENSE
*
* License is granted only to Wi-Fi Alliance members and designated
* contractors ($B!H(BAuthorized Licensees$B!I(B)..AN Authorized Licensees are gra... |
/*****************************************************************************
* dec.c : audio output API towards decoders
*****************************************************************************
* Copyright (C) 2002-2007 VLC authors and VideoLAN
* $Id: c25f249fbf4ac8b69c11bd003d1ac72da8cddf55 $
*
* Authors:... |
#include <ncurses.h>
#include <stdio.h>
#include <string.h>
#include <sys/time.h>
#include <unistd.h>
/* Very slow seed: 686846853 */
#include "dungeon.h"
#include "pc.h"
#include "npc.h"
#include "move.h"
#include "utils.h"
const char *victory =
"\n o\n"
" ... |
/* $Id: geoid.c 3666 2006-10-26 23:11:51Z ckuethe $ */
/*
* geoid.c -- ECEF to WGS84 conversions, including ellipsoid-to-MSL height
*
* Geoid separation code by <NAME>, from data by <NAME>.
* ECEF conversion by <NAME>.
*/
#include <sys/types.h>
#include <math.h>
//sk #include "gpsd_config.h"
#include "gps.h"
s... |
/* runType - run time type system for paraFlow. */
/* Copyright 2005 <NAME>. All rights reserved. */
#include "common.h"
#include "hash.h"
#include "dystring.h"
#include "../compiler/pfPreamble.h"
#include "runType.h"
struct _pf_type **_pf_type_table;
static int _pf_type_table_size;
static struct _pf_base *_pf_base... |
/******************************************************************************
* Copyright (C) 2006 by NTRU Cryptosystems, Inc. *
* ---ALL RIGHTS RESERVED--- *
* *
... |
/*
* Copyright (c) 2014-2016,2019 <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 cond... |
/*
MIT License
Copyright (c) 2021 PCSX-Redux authors
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... |
/*
(c) Copyright 2012-2013 DirectFB integrated media GmbH
(c) Copyright 2001-2013 The world wide DirectFB Open Source Community (directfb.org)
(c) Copyright 2000-2004 Convergence (integrated media) GmbH
All rights reserved.
Written by <NAME> <<EMAIL>>,
<NAME> <<EMAIL>>,
<... |
#include "rod_proto.h"
void file_name (char *name, char *work_dir, int task_number)
{
static char name0[] = {'0','1','2','3','4','5','6','7','8','9'};
int index;
if (work_dir != '\0')
{
for (index = strlen(name); index > 0; index--)
name[index+strlen(work_dir)]=name[index-1];
name[strlen(w... |
/* Includes */
//#include <PWM_OLD.h>
#include "stm32f4xx.h"
#include "stm32f4_discovery.h"
#include <stdio.h>
#include <math.h>
#include <stdlib.h>
#include "UART_RPI.h"
#include "ENCODERS.h"
#include "PWM_NEW.h"
#include "GPIOS_DIRECTIONS.h"
/* Private macro */
#define sample_time 0.050;
... |
/* libsha.c
* Copyright (C) 平成25(2013)年 梅濁酒(umedoblock)
* FIP180 SECURE HASH STANDARD
* refs: http://www.itl.nist.gov/fipspubs/fip180-1.htm
*/
/* sha1.c 見てて思う。よく完成させたなー。
* 正味の話、あれは滅茶苦茶だぜー。
* さっぱり分からんわ。余りの分かりにくさに再利用するの止めたもん。
* 構造体とか知らずに、ブリブリ実装を頑張っていたんだなー。
* C 言語好きだったもんねー。
*/
/* fip180-1.html の使用する用語上、
* "text... |
/*
*--------------------------------------
* Program Name: TDEFENSE
* Author: commandblockguy
* License:
* Description: Reverse Tower Defense
*--------------------------------------
*/
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <tice.h>
#include <math.h>
#include <stdio.h>
#include <s... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.