text stringlengths 7.55k 41.9k |
|---|
/* et2lst.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 doublereal c_b4 = 0.;
static doublereal c_b6 = 1.;
static integer c__10 = 10;
static integer c__2 = 2;
static inte... |
/*
vdexExtractor
-----------------------------------------
<NAME> <<EMAIL>>
Copyright 2017 - 2018 by CENSUS S.A. 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 Lice... |
/* The MIT License (MIT)
*
* Copyright (c) 2020 Monetra Technologies, LLC.
*
* 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... |
/*
* ========================================================================
* Copyright 2013-2021 <NAME>
*
* 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.apa... |
/*
* Copyright 2016 ETH Zurich
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... |
/*-
* Copyright (c) 2002-2003,2010 <NAME>
* Copyright (c) 1996 <NAME>, <NAME>, <NAME>
* Copyright (c) 1994 <NAME>
*
* Idea and grammar partially left from:
* Copyright (c) 1993 <NAME>
*
* Redistribution and use in source forms, with and without modification,
* are permitted provided that this entire comment ap... |
/*
* Copyright (C) 2014 BlueKitchen GmbH
*
* 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 follo... |
/* $NetBSD: akbdmap.h,v 1.2.22.1 2003/06/02 14:42:32 tron Exp $ */
/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
* All rights reserved.
*
* This code is derived from software contributed to The NetBSD Foundation
* by <NAME>.
*
* Redistribution and use in source and binary forms, with or without
* modifi... |
/*
* GLX Hardware Device Driver for Intel i810
* Copyright (C) 1999 <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rig... |
/**************************************************************************
* Name : rnglobal.h
* Title : Extern definitions of the rendering global vars (other than
* state variables).
* Author : <NAME>
* Created : 11 May 1995
*
* Copyright : 1995-2022 Imagination Technologies (c)... |
/*
* Copyright 2015, International Business Machines
*
* 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 applica... |
/**
* mjpeg.c
*
* This is external code. Converts between avi and mpeg/jpeg.
*
* $Id: mjpeg.c 12931 2007-12-17 18:20:48Z theeth $
*
* ***** BEGIN GPL/BL DUAL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* a... |
// SPDX-License-Identifier: GPL-2.0
//
// Register map access API - SPI AVMM support
//
// Copyright (C) 2018-2020 Intel Corporation. All rights reserved.
#include <linux/module.h>
#include <linux/regmap.h>
#include <linux/spi/spi.h>
/*
* This driver implements the regmap operations for a generic SPI
* master to ac... |
/*****************************************************************************/
/* */
/* C H E E S E */
/* */
... |
#include<stdio.h>
#include<string.h>
#include<math.h>
void Subkey_Gen();
void hexToBin(char master_Key64[]);
void hexToBin_Text(char plain_Text64[]);
void Perm_Divide(int permuted_Master[]);
void Perm_C1(int binary_Master_Key64[]);
void IP_Text(int binary_Plain_Text64[]);
void Perm_C2(int subKeys[][57]);
void Text_Per... |
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <math.h>
#include <ctype.h>
#include <string.h>
#include "util.h"
#include "minig.h"
/* global data */
extern struct {
double gain[6]; /* energy calibration */
int ical, nterms;
int disp, loch, hich, locnt, nchs;... |
/**
* zfec -- fast forward error correction library with Python interface
*/
#include "fec.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <malloc.h>
static void* (*fec_malloc)(size_t) = malloc;
static void (*fec_free)(void *) = free;
void fec_set_allocator(void* (*new_... |
#pragma once
#include <emmintrin.h>
#define MATH_USE_SSE 1
#define SHUFFLE_MASK(A0, A1, B2, B3) ((A0) | ((A1)<<2) | ((B2)<<4) | ((B3)<<6))
#define VECTOR_REPLICATE(v, i) _mm_shuffle_ps(v, v, SHUFFLE_MASK(i, i, i, i))
namespace SSE
{
static const __m128 zero = _mm_setzero_ps();
static const __m128 one = _mm_set_ps... |
/*
* Ideas originally taken from this research paper by <NAME>:
* "A Fast New DES Implementation in Software"
* Specifically, Biham pointed out that 64 encryptions can be done in
* parallel on 64 bit machines, and S-Boxes can be calculated with
* simple gate logic.
*
*/
#include <stdio.h>
#include <stdint.... |
/*
* Copyright (C) by Argonne National Laboratory
* See COPYRIGHT in top-level directory
*/
#include "mpl.h"
#include <assert.h>
#define GAVL_TREE_NODE_INIT(node_ptr, addr, len, val) \
do { \
(node_ptr)->height = 1; \
... |
/*
* Copyright 2013 Advanced Micro Devices, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* on the rights to use, copy, modify... |
#define REDIS_VERSION "0.07"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <unistd.h>
#include <signal.h>
#include <sys/wait.h>
#include <errno.h>
#include <assert.h>
#include <ctype.h>
#include <stdarg.h>
#include <inttypes.h>
#include <arpa/inet.h>
#include <sys/stat.h>
#inclu... |
/****************************************************************************
*
* FINAL BATTLE EXAM
*
* Student name: <NAME>
*
* WARNING! REMEMBER:
* - Program must compile. No compiling program is a 0 in the mark.
* - Program must be perfectly tabulated and spaced.
* - Program must follow required nam... |
/*****************************************************************************
NAME:Patch.c
SYNOPSIS:
Encapsulates global-independent routines for SAR processing
a patch of input data.
DESCRIPTION:
A "patch" is any contiguous rectangle of SAR data. To
conserve memory, SAR processing is done o... |
#include "config.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <signal.h>
#include <getopt.h>
#ifdef HAVE_IO_H
#include <fcntl.h>
#include <io.h>
#endif
#include <inttypes.h>
#include "mpeg2.h"
#include "video_out.h"
#include "convert.h"
#include "gettimeofday.h"
#define B... |
/*
* Copyright (C), 2000-2004 by the monit project group.
* All Rights Reserved.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of the
* License, or (at your option) a... |
/**************************************************************************
* File Name : utils.c
* Author :
* Version : 1.0
* Date :
* Description :
*
* Copyright (c) 2014 Winner Microelectronics Co., Ltd... |
/*
* -----------------------------------------------------------------
* Programmer(s): <NAME> and <NAME> @ SMU
* Based on idaFoodWeb_bnd.c and parallelized with OpenMP
* -----------------------------------------------------------------
* SUNDIALS Copyright Start
* Copyright (c) 2002-2022, Lawrence Livermore... |
/******************************************************************************
* Copyright 1998-2019 Lawrence Livermore National Security, LLC and other
* HYPRE Project Developers. See the top-level COPYRIGHT file for details.
*
* SPDX-License-Identifier: (Apache-2.0 OR MIT)
**************************************... |
/*
* Copyright (c) 2016 Xilinx, Inc. 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... |
#include <stdint.h>
#include <stdlib.h>
extern const char haas_help_text[];
// Options to control how MicroPython is built for this port,
// overriding defaults in py/mpconfig.h.
// system endianness
#define MP_ENDIANNESS_LITTLE (1)
// You can disable the built-in MicroPython compiler by setting t... |
/*************************************************
*
* filename: lfs.c
*
* CSC 552 LFS Project Phase 1
*
* <NAME> <EMAIL>
*
* <NAME> <EMAIL>
*
* A LFS layer header definition
*************************************************/
#define FUSE_USE_VERSION 26
#include <fuse.h>
#include <stdio.h>
#include <g... |
// Safety-relevant steering constants for Volkswagen
const int VOLKSWAGEN_MAX_STEER = 300; // 3.0 Nm (EPS side max of 3.0Nm with fault if violated)
const int VOLKSWAGEN_MAX_RT_DELTA = 75; // 4 max rate up * 50Hz send rate * 250000 RT interval / 1000000 = 50 ; 50 * 1.5 for safety pad = 75
const... |
/*--------------------------------------------------------------------
* $Id$
*
* This file is part of libRadtran.
* Copyright (c) 1997-2012 by <NAME>, <NAME>,
* <NAME>, <NAME>
*
* ######### Contact info: http://www.libradtran.org #########
*
* This program is free software; you can... |
/*
* geany_encoding=koi8-r
* usb_lib.c
*
* Copyright 2018 <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 p... |
/*
* cangw.c - manage PF_CAN netlink gateway
*
* Copyright (c) 2010 Volkswagen Group Electronic Research
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source c... |
// File: mumps/database/db_buffer.c
//
// module database - Buffer Management Database Functions
/* 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 ... |
#include "w25qxx.h"
#include <stdio.h>
#define W25QXX_DUMMY_BYTE 0xA5
w25qxx_t w25qxx;
//W25qxx_Spi 读写一个字节
//Data:要写入的字节
//返回值:读取到的字节
uint8_t W25qxx_Spi(uint8_t Data)
{
uint8_t ret;
HAL_SPI_TransmitReceive(&_W25QXX_SPI,&Data,&ret,1,100);
return ret;
}
//读取芯片ID
//返回值如下:
//0XEF13,表示芯片型号为W25Q80
//... |
#pragma pack(1)
#include <libxtf/xtf_reader.h>
#include <stdio.h>
#include <fcntl.h>
#include <stdlib.h>
#include <string.h>
//Here you can comment out more decending from highest to have less printout, comment all to have none from the XTF
//#define M_VERBOSE_XTF_0
//#define M_VERBOSE_XTF_1
//#define M_VERBOSE_XTF_... |
#include <stdio.h>
#include <netdb.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netinet/in_systm.h>
#include <arpa/inet.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <time.h>
#ifdef __USE_BSD
#un... |
/*
* Copyright (c) 2017, MammothDB
* 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 conditions ... |
/*****************************************************************************\
** **
** FILE: write.c **
** AUTHORS: Alexios **
**... |
/*
* CMD - Wine-compatible command line interface - batch interface.
*
* Copyright (C) 1999 <NAME>
* Copyright (C) 2007 <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; ei... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <limits.h>
#include <math.h>
#include "defs.h"
#include "mem.h"
#include "common.h"
#include "context.h"
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
static uint64_t XHASH(uint64_t x){
return (x * 786433 + 196613) ... |
////////////////////////////////////////////////////////////////////////////
// **** WAVPACK **** //
// Hybrid Lossless Wavefile Compressor //
// Copyright (c) 1998 - 2013 Conifer Software. //
// ... |
#include "flecs_private.h"
/** Convert time to double */
static
double ecs_time_to_double(
ecs_time_t t)
{
double result;
result = t.sec;
return result + (double)t.nanosec / (double)1000000000;;
}
static
ecs_time_t ecs_time_sub(
ecs_time_t t1,
ecs_time_t t2)
{
ecs_time_t result;
if (t... |
/*
* Copyright (c) 1983, 1993
* The Regents of the University of California. 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 copyr... |
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
#include <math.h>
#include <stdbool.h>
#include <time.h>
#include <GL/glew.h>
#ifdef FREEGLUT
#include <GL/freeglut.h>
#else
#include <GLUT/glut.h>
#endif
#include "kuhl-util.h"
#include "vecmat.h"
#include "dgr.h"
#include "projmat.h"
#include "viewmat.h"
#i... |
/*
* Copyright (C) 2011 <NAME> <<EMAIL>>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, pu... |
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include <math.h>
#include "ParSHUM_verbose.h"
#include "ParSHUM_enum.h"
#include "ParSHUM_auxiliary.h"
ParSHUM_verbose_parms
ParSHUM_verbose_default_parms()
{
ParSHUM_verbose_parms self = cal... |
/* LS_fft_mex.c
*
* compile with "mex -largeArrayDims -lmwlapack"
*
* As the FFT trick grid may be large, here we enforce using
* size_t: for (large-sized) grid indexing
* ptrdiff_t: to address negative offsets from grid center
* instead of mwSize and mwSignedIndex
*
* some acronyms used:
* _ctor: cons... |
/*
* WCMD - Wine-compatible command line interface.
*
* Copyright (C) 1999 - 2001 <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 ... |
/*
*********************************************************************
INPFILE.C -- Save Input Function for EPANET Program
VERSION: 2.00
DATE: 5/8/00
3/1/01
11/19/01
6/24/02
8/15/07 (2.00.11)
2/14/08 (2.00.12)
AUTHOR: <NAME>
... |
/*
============================================================================
Author : <NAME>
============================================================================
Copyright (c) 2016 <NAME>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated... |
/*
* Copyright (c) 2019-2020, The Linux Foundation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted (subject to the limitations in the
* disclaimer below) provided that the following conditions are met:
*
* * Redistributions of source c... |
#include "./simon13.h"
/****************************************************************************/
/* FONCTION */
/****************************************************************************/
int main(int argc,char *argv[])
{
ouvrir_fenetre(T_ECRANX,T_ECRANY);
affiche_s... |
/******************************************************************************
* INCLUDES
*****************************************************************************/
#include "base.h"
#include "cpd.h"
#include "matrix.h"
#include "mttkrp.h"
#include "timer.h"
#include "thd_info.h"
#include "util.h"
#include <m... |
/*
* Projekt: IFJ05
* Resitele: xbarin02, xdudka00, xfilak01, xhefka00, xhradi08
*
* Soubor: expr.c - Zpracovani vyrazu (volano z modulu "parser")
* Autor: <NAME>, xdudka00
*/
#define STACK_INIT_SIZE 256 // Pocatecni velikost stacku (pocet polozek)
#include "ifj05.h"
#include "scanner.h"
#include "parser.h"
#i... |
/*
Copyright 2020-2021 <NAME>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,... |
/*
* Copyright (c) 2011-2021, <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... |
/*
*------------------------------------------------------------------
* Copyright (c) 2008-2016 Cisco and/or its affiliates.
* 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:
*
* ht... |
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <omp.h>
#include <assert.h>
#include <math.h>
#include "mkl.h"
#include "helper.h"
#include "filehandling.h"
#include "eigenvalues.h"
#include "backtransformation.h"
void showHelp();
int main (int argc, char **argv)
{
/*******... |
#define NULL ((void*)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t; typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1
/* Forward d... |
/** ***************************************************************************
* @file processNMEAGPS.c
*
* THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
* KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
* P... |
/* $OpenBSD: uhidev.c,v 1.41 2011/01/25 20:03:36 jakemsr Exp $ */
/* $NetBSD: uhidev.c,v 1.14 2003/03/11 16:44:00 augustss Exp $ */
/*
* Copyright (c) 2001 The NetBSD Foundation, Inc.
* All rights reserved.
*
* This code is derived from software contributed to The NetBSD Foundation
* by <NAME> (<EMAIL>) at
* Car... |
// Generated by TOOLS/matroska.py, do not edit manually
#define EBML_ID_EBML 0x1a45dfa3
#define EBML_ID_EBMLVERSION 0x4286
#define EBML_ID_EBMLREADVERSION 0x42f7
#define EBML_ID_EBMLMAXIDLENGTH 0x42f2
#define EBML_ID_EBMLMAXSIZELENGTH ... |
/** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*
*
* This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
*
* Copyright 2007-2020 Broadcom Inc. All rights reserved.
*
* File: cint_crps_erpp_config.c
* relat... |
/* vi:set ts=8 sts=4 sw=4:
*
* VIM - Vi IMproved by <NAME>
*
* Do ":help uganda" in Vim to read copying and usage conditions.
* Do ":help credits" in Vim to see a list of people who contributed.
* See README.txt for an overview of the Vim source code.
*/
/*
* os_macosx.c -- election of os_mac.c or os_unix.c
... |
/* Copyright (C) 1996-2001 Id Software, Inc.
Copyright (C) 2002-2009 <NAME> and others
Copyright (C) 2011-2016 OldTimes Software
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
... |
#include "panaroia/panaroia.h"
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdbool.h>
#include <time.h>
#include "log.h"
#define __FILENAME__ (strrchr(__FILE__, '/') ? strrchr(__FILE__, '/') + 1 : __FILE__)
#define pnria_trace(...) log_log(LOG_TRACE, __FILENAME__, __LINE_... |
/*
* Copyright (c) 2008 <NAME>
* Copyright (c) 2012 <NAME> <<EMAIL>>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to... |
/*************************************************/
/* Atoms: -llapack -lblas -lm */
/* -lVecMat3 -lVecMat -lScalar -lIO */
/* */
/* Physical constants, macros, and configuration */
/* operators for atomistic simulations. */
/* ... |
/*****************************************************************************\
* Copyright (C) 2001-2007 The Regents of the University of California.
* Copyright (C) 2007-2014 Lawrence Livermore National Security, LLC.
* Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
* Written by <NAME> <... |
/*-
* Copyright (c) 2017 The FreeBSD Foundation
* All rights reserved.
*
* This software was developed by <NAME> under sponsorship from
* the FreeBSD Foundation.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met... |
/*
* Full unroll implementation of aes-128
*
* Author: LuoPeng (<EMAIL>)
* Time: 2017.08.02
*/
#include <stdint.h>
#include <stdio.h>
#include "aes.h"
/*
* round constants
*/
static uint8_t RC[] = {0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80, 0x1b, 0x36};
/*
* Sbox
*/
static uint8_t SBOX[256] = {
... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "task.h"
static void add_buffer( struct task* );
static void write_opc( struct task*, int );
static void write_arg( struct task*, int );
static void write_args( struct task* );
static void add_immediate( struct task*, int );
static void remove_immedi... |
/*
* OOXML JSON Internals
*
* Copyright (C) 2014-2020 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
*
* Authors: <NAME>
*
* 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... |
#include <math.h>
#include <stdlib.h>
#include <stdio.h>
#include "../reader/reader.h"
#include "../plotter/plotter.h"
static float pi = 3.141592653;
struct spinchain {
float *spins;
float *spinssecond;
float *randomzcoupling;
int size;
float timestep;
float time;
float J; //dipolecoupling constant
float Delt... |
/**********************************************************************
*
* PostGIS - Spatial Types for PostgreSQL
* http://postgis.net
*
* Copyright (C) 2001-2003 Refractions Research Inc.
*
* This is free software; you can redistribute and/or modify it under
* the terms of the GNU General Public Licence. See ... |
/* util.c
*
* Copyright (c) 1992-1999 by <NAME>.
* All rights reserved.
*
*/
// This is a subset of NcFTP's util.c.
#include "syshdrs.h"
#include "util.h"
uid_t gUid;
char gUser[32];
char gHome[256];
char gShell[256];
char gOurDirectoryPath[260];
char gOurInstallationPath[260];
static const unsigned char B64E... |
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
#include "common.h"
#define DEBUG_FLAG SEAFILE_DEBUG_MERGE
#include "log.h"
#include "seafile-error.h"
#include <stdlib.h>
#include <sys/stat.h>
#include <glib/gstdio.h>
#include "seafile-session.h"
#include "utils.h"
#include "fs-mgr.h"
... |
/* -*- Mode: C; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
* arcus-memcached - Arcus memory cache server
* Copyright 2010-2014 NAVER Corp.
* Copyright 2015 JaM2in Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance wi... |
/*
abdrive.c library source
*/
#include "abdrive.h" // Include servo lib funct defs
#include "simpletools.h"
#include "simpletext.h"
#include "fdserial.h"
#include <string.h>
/*
#ifdef interactive_development_mode
dprint(xbee, "B After ramp distRampL = %d\n", distRampL);
#endif
*/
void dr... |
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2014-2020 Intel, Inc. All rights reserved.
* Copyright (c) 2014-2019 Research Organization for Information Science
* and Technology (RIST). All rights reserved.
* Copyright (c) 2014-2015 <NAME> <<EMAIL>>.
* ... |
//
// gravity_optimizer.c
// gravity
//
// Created by <NAME> on 24/09/14.
// Copyright (c) 2014 CreoLabs. All rights reserved.
//
// Some optimizations taken from: http://www.compileroptimizations.com/
#include "gravity_hash.h"
#include "gravity_optimizer.h"
#include "gravity_opcodes.h"
#include "gravity_ircode.h... |
/* $Id$ */
/* Summarize contents of ASDM */
/*--------------------------------------------------------------------*/
/*; Copyright (C) 2010-2019 */
/*; Associated Universities, Inc. Washington DC, USA. */
/*; ... |
/* <NAME> and <NAME>
* 11/4/11
*/
#include "cassandra.h"
#include <stdio.h>
#include <assert.h>
#include <sys/time.h>
#include <stdlib.h>
#include <string.h>
#include <transport/thrift_socket.h>
#include <transport/thrift_transport.h>
#include <transport/thrift_framed_transport.h>
#include <transport/thrift_server_t... |
/*
* Copyright (c) 2015 - 2017, Nordic Semiconductor ASA
*
* All rights reserved.
*
* Use in source and binary forms, redistribution in binary form only, with
* or without modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions in binary form, except as ... |
/*-
* Copyright (c) 2016 <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... |
#define NULL ((void*)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t; typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1
/* Forward d... |
/************************************************************************/
/* crpalign - Chinese Restaurant Process string pair aligner */
/* Copyright © 2013 <NAME> */
/* */
/* This file is part of... |
/*
* -- Distributed SuperLU routine (version 2.0) --
* Lawrence Berkeley National Lab, Univ. of California Berkeley.
* March 15, 2003
*
*/
#include <math.h>
#include "superlu_zdefs.h"
/*
* Gather A from the distributed compressed row format to
* global A in compressed column format.
*/
int pzCompRow_loc_to_C... |
/*
@file tft.c / tft.cpp
@brief TFT handling functions for EVE_Test project
@version 1.15
@date 2020-12-28
@author <NAME>
@section History
1.0
- initial release
1.1
- added a simple .png image that is drawn beneath the clock just as example of how it could be done
1.2
- replaced the clock with a scrolling ... |
#include <stdbool.h>
#include <stdint.h>
#include "SMSlib.h"
const uint32_t patterns[] = {
/* Public-domain 8x8 font from https://github.com/dhepper/font8x8 */
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* U+0020 (space) */
0x18, 0x3c, 0x3c, 0x18, 0x18, 0x00, 0x18, 0x00, /* U+0021 (!) */
0x6c,... |
/*
Copyright 2015 Google Inc. 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 required by applicable law or agreed to in wri... |
/*
CF3
Copyright (c) 2015 ishiura-lab.
Released under the MIT license.
https://github.com/ishiura-compiler/CF3/MIT-LICENSE.md
*/
#include<stdio.h>
#include<stdint.h>
#include<stdlib.h>
#include"test1.h"
uint32_t x2 = 2802U;
uint64_t x4 = UINT64_MAX;
uint16_t x43 = UINT16_MAX;
uint32_t x44 = 168616U;
uint32_t x21... |
/* Debug register code for the i386.
Copyright (C) 2009-2014 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 of the GNU General Public License as published by
the Free Software Foundation; either version 3... |
/*-------------------------------------------------------------------------
*
* vacuum_ao.c
* VACUUM support for append-only tables.
*
*
* Portions Copyright (c) 2016, Pivotal Inc
* Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University o... |
/* TUI support I/O functions.
Copyright (C) 1998-2017 Free Software Foundation, Inc.
Contributed by Hewlett-Packard Company.
This file is part of GDB.
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 ... |
// SPDX-License-Identifier: GPL-2.0
// SPI to CAN driver for the Texas Instruments TCAN4x5x
// Copyright (C) 2018-19 Texas Instruments Incorporated - http://www.ti.com/
#include <linux/regmap.h>
#include <linux/spi/spi.h>
#include <linux/regulator/consumer.h>
#include <linux/gpio/consumer.h>
#include "m_can.h"
#def... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.