text stringlengths 5.8k 28.2k |
|---|
#include <stdlib.h>
#include <time.h>
#include <string.h>
#include <libakrypt.h>
/* --------------------------------------------------------------------------------------------- */
int bckey_test( ak_oid );
int hmac_test( ak_oid );
int signkey_test( ak_oid );
/* определяем функцию, которая будет имитировать чт... |
/* Extended Module Player
* Copyright (C) 1996-2018 <NAME> and <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... |
/* fs.c --- creating, opening and closing filesystems
*
* ====================================================================
* 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... |
/*
* Copyright 2013-2016 <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, p... |
// SPDX-License-Identifier: GPL-2.0+
/*
* Microchip PIC32 SPI controller driver.
*
* Copyright (c) 2015, Microchip Technology Inc.
* <NAME> <<EMAIL>>
*/
#include <common.h>
#include <clk.h>
#include <dm.h>
#include <log.h>
#include <asm/global_data.h>
#include <linux/bitops.h>
#include <linux/compat.h>
#incl... |
/**
* Copyright 1993 Network Computing Devices, Inc.
*
* Permission to use, copy, modify, distribute, and sell this software and
* its documentation for any purpose is hereby granted without fee, provided
* that the above copyright notice appear in all copies and that both that
* copyright notice and this permiss... |
/*
* ADIS16201 Dual-Axis Digital Inclinometer and Accelerometer
*
* Copyright 2010 Analog Devices Inc.
*
* Licensed under the GPL-2 or later.
*/
#include <linux/delay.h>
#include <linux/mutex.h>
#include <linux/device.h>
#include <linux/kernel.h>
#include <linux/spi/spi.h>
#include <linux/slab.h>
#include <linux... |
/* listing.h - listing file */
/* (c) in 2020-2021 by <NAME> and <NAME> */
#include "vasm.h"
#define MADDR(x) ((unsigned long long)((x)&taddrmask))
#define USEDMASK (USED|EXPORT|COMMON|WEAK|LOCAL|ABSLABEL)
typedef struct {
const char *fmtname;
void (*fmtfunction)(char *,section *);
} list_formats;
int produce_l... |
/**
* @file alarm.c
* @brief
* @author xiaowine (<EMAIL>)
* @version 01.00
* @date 2020-10-12
*
* @copyright Copyright (c) {2020} xiaowine
*
* @par 修改日志:
* <table>
* <tr><th>Date <th>Version <th>Author <th>Description
* <tr><td>2020-10-12 <td>1.0 <td>wangh <td>内容
* </table>
* *********... |
#define _GNU_SOURCE
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <stdbool.h>
#include <string.h>
#include <errno.h>
#include <fcntl.h>
#include <linux/kvm.h>
#include <sys/ioctl.h>
#include <sys/ioctl.h>
#include <sys/mman.h>
#include <sys/stat.h>
#include <sys/types.h>
#incl... |
#include "global.h"
#include "graph_file_reader.h"
#include "db_node.h"
#include "cmd.h"
#include "file_util.h"
int graph_file_fseek(GraphFileReader *file, off_t offset, int whence)
{
if(file_filter_isstdin(&file->fltr)) die("Cannot fseek on STDIN");
if(graph_file_is_buffered(file))
return fseek_buf(file->fh, ... |
/************************************************************************
SYRO for volca sample
comprss PCM
***********************************************************************/
#include <stdlib.h>
#include <string.h>
#include "korg_syro_type.h"
#include "korg_syro_volcasample.h"
#include "korg_syro_func.h"
#inc... |
/* -*- C -*- */
/*
* Copyright (c) 2014-2020 Seagate Technology LLC 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
*
* http://www.apache.org/licenses/LICENSE... |
/*
* Parse and rearrange a svnadmin dump.
* Create the dump with:
* svnadmin dump --incremental -r<startrev>:<endrev> <repository> >outfile
*
* Licensed under a two-clause BSD-style license.
* See LICENSE for details.
*/
#include "cache.h"
#include "fast_export.h"
#include "line_buffer.h"
#include "strbuf.h"
#i... |
/*
* Copyright 2020 u-blox 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 or agreed to in w... |
/*
* This is a test which demonstrates many features of the Screen
* Object rendering model:
*
* - GMR-to-screen blits from multiple GMRFBs onto multiple screens
* - SVGA3D-to-screen blits, with scaling, onto multiple screens
* - screen-to-GMR blits
* - Video Overlay with GMRs and Screen Objects
*
* Fo... |
/*
* Copyright (c) 2018-2021 <NAME>
*/
#include <exec/types.h>
#include <exec/ports.h>
#include <exec/tasks.h>
#include <exec/memory.h>
#include <libraries/dos.h>
#include <libraries/dosextens.h>
#include <proto/dos.h>
#include <proto/exec.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <ti... |
//---------------------------------------------------------------------------------------
// Smile Programming Language Interpreter
// Copyright 2004-2019 <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 obta... |
#define _GNU_SOURCE
#include <sys/syscall.h>
#include <sys/mman.h>
#include <sys/wait.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <unistd.h>
#include <pthread.h>
#include <errno.h>
#include <linux/sched.h>
#include <linux/limits.h>
#include <fcntl.h>
#include <sys/prctl.h>
#include <asm/prctl... |
/* cknr04.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__2 = 2;
static integer c__6 = 6;
static integer c__12 = 12;
/* $Procedure CKNR04 ( C-kernel, numbe... |
/* $NetBSD: bztzsc.c,v 1.17 2002/01/28 09:56:52 aymeric Exp $ */
/*
* Copyright (c) 1997 <NAME>
* Copyright (c) 1996 <NAME>
* Copyright (c) 1982, 1990 The Regents of the University of California.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are pe... |
/* Copyright (c) 20XX 9front
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distri... |
/*
Author: <NAME> (c) 1997
Guillou-Quisquater signature scheme. See "Handbook
of Applied Cryptography" by <NAME> et al
pages 450 - 451. Also see Section 14.5.2 page 612.
*/
#include <malloc.h>
#include <mem.h>
#include <stdio.h>
#include <time.h>
#include "lip.h"
#define CRT_SIZE 128l
#define DEBUG
#define ... |
/* $OpenBSD: i80321_clock.c,v 1.11 2016/01/31 00:14:50 jsg Exp $ */
/*
* Copyright (c) 2006 <NAME> <<EMAIL>>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in al... |
/* $Id$ */
/*
* Copyright (c) 2003-2006 <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 code must retain the above copyright
* notice, th... |
/*!
*
* Code from: https://wiki.openssl.org/index.php/SSL/TLS_Client
*
* Get certificats from server
* https://superuser.com/questions/97201/how-to-save-a-remote-server-ssl-certificate-locally-as-a-file
* openssl s_client -showcerts -connect server.edu:443 </dev/null 2>/dev/null|openssl x509 -outform PEM >my... |
/*
* Copyright 2013 <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 ... |
/*
Copyright 2010-2013 SourceGear, 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 or agreed to in writing, softwar... |
/*BEGIN_HEADER
*
* Copyright (C) 2020 <NAME>.
*
* https://github.com/MahdiSafsafi/AMED
*
* See licence file 'LICENCE' for use and distribution rights.
*
*END_HEADER*/
typedef amed_x86_iflags amed_db_iflags;
#define AMED_CPL_RING0 1
/* vector length */
#define RVL128 0
#define RVL256 1
#define RVL512 2
#define MK_RV... |
/* Copyright (C) 2000 The PARI group.
This file is part of the PARI/GP package.
PARI/GP 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. It is distributed in the hope that it will be useful, but WITHOUT
ANY WARR... |
/* zmess.c: Message test
*
* $Id$
* Copyright (c) 2008-2020 Ravenbrook Limited. See end of file for license.
* Portions copyright (C) 2002 Global Graphics Software.
*
* OBJECTIVE
*
* Test MPS messages. In particular:
* - Check prompt finalization even when there are several segs
* of guardians. This te... |
/***************************************************************/
/* Copyright 1989, ZSoft Corporation */
/* All Rights Reserved. */
/* ... |
// Copyright 2021 <NAME>
// SPDX-License-Identifier: Apache-2.0
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "blake2b_data.h"
#include "crypto/iota_crypto.h"
#include "unity/unity.h"
#include "pbkdf2_vectors.h"
void setUp(void) {}
void tearDown(void) {}
// BLAKE2 hash fu... |
/* $NetBSD: hydra.c,v 1.16 2003/06/23 11:00:59 martin Exp $ */
/*-
* Copyright (c) 2002 <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 re... |
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <math.h>
#define F_CPU 16000000L
#define X_STEPS_PER_MM 320.0
#define Y_STEPS_PER_MM 320.0
#define Z_STEPS_PER_MM 200.0
#define E_STEPS_PER_MM 287.0
#define X_UM_PER_STEP (1000.0 / X_STEPS_PER_MM)
#define Y_UM_PER_STEP (1000.0 / Y_STEPS_PER_MM)
#d... |
// ColorCal.c
//
// Author: <NAME>
// Date: 2/16/09
#include "ColorCal.h"
// Globals
IOUSBDeviceInterface **ccDevice = NULL;
bool exitFunctionRegistered = false;
void mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])
{
IOUSBDevRequest request;
char command[256], buffer[64];
int i;
// Ver... |
/*
* interpreter.c
*
* Created on: 01.05.2018
* Author: DF4IAH
*/
/* Includes ------------------------------------------------------------------*/
#include <sys/_stdint.h>
#include <cmsis_os.h>
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
#include "FreeRTOS.h"
#include "stm3... |
// The MIT License (MIT)
// Copyright (c) 2015 <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, co... |
/* fswebcam - Small and simple webcam for *nix */
/*============================================================*/
/* Copyright (C)2005-2011 <NAME> <<EMAIL>> */
/* */
/* This program is distributed under the terms of the GNU */
/* General Pub... |
/**
* MIT License
*/
#include "main.h"
#include "spi.h"
#include "tim.h"
#include "gpio.h"
#include "lib/ringbuf.h"
#include "lib/serial.h"
#include "lib/serial_cli.h"
#include "lib/oled.h"
#define ENABLE_DEBUG_PRINT 1 /* by default print scan results to the serial port */
#define DEBUG_VIRTUAL_DIGITS 0 /* print ... |
/*
* Copyright 2016, FUJITSU TECHNOLOGY SOLUTIONS GMBH
* Copyright 2016-2017, Intel Corporation
*
* 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 co... |
// https://github.com/32bitmicro/newlib-nano-1.0/blob/master/newlib/libc/machine/xstormy16/tiny-malloc.c
/* A replacement malloc with:
- Much reduced code size;
- Smaller RAM footprint;
- The ability to handle downward-growing heaps;
but
- Slower;
- Probably higher memory fragmentation;
- Doesn't ... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <getopt.h>
#include <ctype.h>
#include "aiocommon.h"
#include "aiousb.h"
struct opts AIO_OPTIONS = {
-1, /* int64_t num_scans; */
10000, /* int64... |
// #define UID_ERL_LOAD_NFS
/*
* %CopyrightBegin%
*
* Copyright Ericsson AB 2000-2009. All Rights Reserved.
*
* The contents of this file are subject to the Erlang Public License,
* Version 1.1, (the "License"); you may not use this file except in
* compliance with the License. You should have received a copy o... |
/**
* Various binning and weighting routines for aperture pixel tables.
*
*/
#include <math.h>
#include <gsl/gsl_vector.h>
#include <gsl/gsl_matrix.h>
#include "spc_trace_functions.h"
#include "aXe_utils.h"
#include "aXe_grism.h"
#include "spc_spc.h"
#include "spc_driz.h"
#include "aper_conf.h"
#include "spce_outp... |
#define _POSIX_C_SOURCE 200809L
#include "pila.h"
#include <string.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
/* -------------------------------- DEFINICIONES -------------------------------- */
typedef struct nodo nodo_t;
typedef int (*avl_comparar_clave_t) (const char *, const char *);
type... |
/******************************************************************************
* Copyright (c) 2004, 2008 IBM Corporation
* All rights reserved.
* This program and the accompanying materials
* are made available under the terms of the BSD License
* which accompanies this distribution, and is available at
* http:... |
#include <stdio.h>
#include <stdlib.h>
#include "../lib/mersennetlib/SFMT.h"
#include <stdint.h>
#include <stdbool.h>
#include <math.h>
#include <string.h>
#define GREEN_C "\033[92m"
#define RED_C "\033[91m"
#define END_C "\033[0m" // Return to normal color
#define ERRORHEADER "\033[1m\033[91mError:\0... |
/*
* Copyright (c) 2012-2013 Etnaviv 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... |
/* packet-cip.h
* Routines for CIP (Common Industrial Protocol) dissection
* CIP Home: www.odva.org
*
* Copyright 2004
* <NAME> <<EMAIL>>
* <NAME> <<EMAIL>>
*
* Added support for Connection Configuration Object
* r<NAME>ley * Copyright 2007
*
* Wireshark - Network traffic analyzer
* By <NAME> <<EMAIL>>
*... |
/* ====================================================================
* The Apache Software License, Version 1.1
*
* Copyright (c) 2000 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the ... |
/* SPDX-License-Identifier: BSD-2-Clause */
/*******************************************************************************
* Copyright 2017-2018, Fraunhofer SIT sponsored by Infineon Technologies AG
* All rights reserved.
*******************************************************************************/
#ifdef HAVE... |
//
// Created by bytedance on 2020/12/8.
//
/*
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, Ve... |
/*
* 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 ... |
/**************************************************************************/
/* */
/* Copyright (c) Microsoft Corporation. All rights reserved. */
/* */
/* Thi... |
/*
* Pufferfish2 - an adaptive, cache-hard password hashing scheme
*
* Copyright 2015, <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 restricti... |
/*
* (C) Copyright 2011 <NAME>
* Copyright 2017, DornerWorks, Ltd.
*
* Ported to seL4
*
* <NAME> <<EMAIL>>
*
* Based on Xilinx gmac driver:
* (C) Copyright 2011 Xilinx
*
* SPDX-License-Identifier: GPL-2.0+
*/
#include "common.h"
#include "../io.h"
#include "../unimplemented.h"
#include "miiphy.h"
#include ... |
/*$
Copyright (c) 2014-2017, Azel
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 and the follow... |
/*
* Copyright 2014 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 b... |
/*=====================================================================
======= COPYRIGHT NOTICE =======
Copyright (C) 1996, Carnegie Mellon University, Cambridge University,
<NAME> and <NAME>.
All rights reserved.
This software is made available for research purposes only. It may be
redistribut... |
#include <stdio.h>
#include "config.h"
#include "error_codes.h"
#include "info_text.h"
#include "jpeg_handler.h"
#include "str_utils.h"
#include <jpeglib.h>
#include <setjmp.h>
#include <stdio.h>
#include <string.h>
// temp file name constant values
#define TMP_FILE_NAME "-edited.tmp"
#define TMP_FILE_NAME_LEN strle... |
void createMapUI(WarContext* context)
{
WarMap* map = context->map;
WarPlayerInfo* player = &map->players[0];
vec2 leftTopPanel = rectTopLeft(map->leftTopPanel);
vec2 leftBottomPanel = rectTopLeft(map->leftBottomPanel);
vec2 topPanel = rectTopLeft(map->topPanel);
vec2 rightPanel = rectTopLeft(m... |
#include <assert.h>
#include <float.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <gkyl_alloc.h>
#include <gkyl_array.h>
#include <gkyl_array_ops.h>
#include <gkyl_array_rio.h>
#include <gkyl_block_topo.h>
#include <gkyl_fv_proj.h>
#include <gkyl_moment.h>
#... |
/**
PWM Generated Driver File
@Company
Microchip Technology Inc.
@File Name
pwm.c
@Summary
This is the generated driver implementation file for the PWM driver using PIC24 / dsPIC33 / PIC32MM MCUs
@Description
This source file provides APIs for PWM.
Generation Information :
Prod... |
/**
* Copyright (c) Analog Devices Inc, 2020
* All Rights Reserved.
*
* @file imu.c
* @date 3/18/2020
* @author <NAME> (<EMAIL>)
* @brief Implementation for iSensor-SPI-Buffer IMU interfacing module
**/
#include "reg.h"
#include "imu.h"
#include "main.h"
#include "timer.h"
#include "stm32f3xx_hal.h"... |
/* Copyright Statement:
*
* This software/firmware and related documentation ("MediaTek Software") are
* protected under relevant copyright laws. The information contained herein
* is confidential and proprietary to MediaTek Inc. and/or its licensors.
* Without the prior written permission of MediaTek inc. and/or ... |
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
// It is not part of the C standard library
// #include <conio.h>
#include <ncurses.h>
#include <string.h>
#include <signal.h>
#include <unistd.h>
// #define WIDTH 10
// #define HEIGHT 10
// #define TOTAL_SIZE 100
// #define PLAYER 'P'
#define GOLD 'G'
// #def... |
#include "tracking.h" // data structures definitions
void init_data()
{
unsigned char i;
//%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%//
// listBlob structture initailization
//some structure datas must be resetted respect to the previous acquisition
NnewBlob = 0 ;
if (NB_BLOB > 0 ){
... |
/*
* Simple Path Tracing implementation.
*
* <NAME>
*
* Limitation:
*
* o No QMC sampling.
* o No parallel rendering and multi threading.
* o HDRI IBL light only(distant environment map).
* o Perspective camera only(orthogonal camera is not supported).
*
*
* TODO:
*
* o QMC
* o MPI Parallel... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include "list.h"
#include <stdbool.h>
#include <memory.h>
#include <time.h>
#define MAX_N 10000 // 点の数の最大値
#define INF 100000000 // 無限大の定義
#define SWAP(a, b){a ^= b; b ^= a; a ^= b;}
double lambda = 0.0;//要件等
char fileName[51];
int num =... |
/*
* Copyright 2017-2018, 2020 NXP
* All rights reserved.
*
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include "fsl_video_common.h"
#include "fsl_display.h"
#include "fsl_adv7535.h"
/*******************************************************************************
* Definitions
******************************... |
/* This example code is placed in the public domain. */
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <netinet/in.h>
#include <sys/select.h>
#include <netdb.h>
#include <string.h>... |
/* $XFree86: xc/lib/GL/glx/compsize.c,v 1.8 2004/04/08 10:07:33 alanh Exp $ */
/*
** License Applicability. Except to the extent portions of this file are
** made subject to an alternative license as permitted in the SGI Free
** Software License B, Version 1.1 (the "License"), the contents of this
** file are subject o... |
#ifndef lint
static char rcsid[] = "$Id: dial.c,v 0.2 2005/08/23 14:55:34 epi Exp $";
/* Author = <NAME> <<EMAIL>> - dial.c, v 0.2 2005/08/23 14:55:34 */
#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include "tlibrary.h"
#include "kvlist.h"
#include "convert.h"
#include... |
// Copyright 2013 Pervasive Displays, Inc.
//
// 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 a... |
// Copyright 2015-2016 Espressif Systems (Shanghai) PTE 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 appl... |
/*
* Copyright (c) 2000 by Conectiva S.A. (http://www.conectiva.com)
*
* 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... |
#include <stdio.h>
#include <unistd.h>
#include <time.h>
#include "uxn.h"
#pragma GCC diagnostic push
#pragma clang diagnostic push
#pragma GCC diagnostic ignored "-Wpedantic"
#pragma clang diagnostic ignored "-Wtypedef-redefinition"
#include <SDL.h>
#include "devices/system.h"
#include "devices/screen.h"
#include "de... |
#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... |
/*----------------------------------------------------------------
* JumboMem memory server: Message Passing Interface (MPI) slaves
*
* By <NAME> <<EMAIL>>
*----------------------------------------------------------------*/
/*
* Copyright (C) 2010 Los Alamos National Security, LLC
*
* This material was produced... |
/*
* Copyright (C) 2017 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 o... |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\
* This is GNU Go, a Go program. Contact <EMAIL>, or see *
* http://www.gnu.org/software/gnugo/ for more information. *
* *
* Copyright 1999, 2000, 2001, 2002, 2003... |
/*
* pklib.c
*
* This file is part of the ttf2pk package.
*
* Copyright 1997-1999 by
* <NAME> <<EMAIL>>
* <NAME> <<EMAIL>>
*/
/*
* This code has been derived from the program gsftopk.
* Here the original copyright.
*/
/*
* Copyright (c) 1994 <NAME>. All rights reserved.
*
* Redistribu... |
/*
* Copyright (c) 2021, Alibaba Group Holding Limited
*
* 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 ... |
#include <stdbool.h>
#include <avr/wdt.h>
#include <avr/interrupt.h>
#include <avr/io.h>
#include <util/delay.h>
#include "kicker_commands.h"
#include "pins.h"
// kicker parameters
#define MAX_KICK_STRENGTH 255.0f
#define MIN_EFFECTIVE_KICK_FET_EN_TIME 0.8f
#define MAX_EFFECTIVE_KICK_FET_EN_TIME 10.0f
#define KICK_... |
/*
* Copyright 2007 Freescale Semiconductor, Inc.
*
* 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 that it will be useful,
* but WI... |
/* Portable C version of des() function */
#include "des.h"
/* Tables defined in the Data Encryption Standard documents
* Three of these tables, the initial permutation, the final
* permutation and the expansion operator, are regular enough that
* for speed, we hard-code them. They're here for reference only.
* A... |
/* This is an independent implementation of the encryption algorithm: */
/* */
/* RIJNDAEL by <NAME> and <NAME> */
/* */
/* which is a candidate algori... |
/*
* Copyright (C) 2014 CodeWeavers, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, p... |
/*! \file bcma_bcmlt_field_parse.c
*
* Field parse and format functions.
*/
/*
* Copyright: (c) 2018 Broadcom. All Rights Reserved. "Broadcom" refers to
* Broadcom Limited and/or its subsidiaries.
*
* Broadcom Switch Software License
*
* This license governs the use of the accompanying Broadcom software. Yo... |
/*$Header: /data/petsun4/data1/src_solaris/analyzeto4dfp/RCS/analyzeto4dfp.c,v 1.20 2009/03/18 04:00:25 avi Exp $*/
/*$Log: analyzeto4dfp.c,v $
* Revision 1.20 2009/03/18 04:00:25 avi
* imgl type long -> int (64 bin environment compatible)
*
* Revision 1.19 2008/05/08 23:52:33 avi
* force output ifh voxsiz p... |
/* ============================================================================
* Copyright (c) Texas Instruments Inc 2002, 2003, 2004, 2005
*
* Use of this software is controlled by the terms and conditions found in the
* license agreement under which this software has been supplied.
* =============... |
/*
* Copyright (c) 2007, 2008, 2009, 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 <stdint.h>... |
#include <HAL/Drivers/x86/Interrupts/IDT/IDT.h>
static void Interrupt_DumpExceptionStack(interrupt_stackstate thestack) {
terminal_printf("\nGS: %h. FS: %h. ES: %h. DS: %h.", thestack.gs, thestack.fs, thestack.es, thestack.ds);
terminal_printf("EDI: %h. ESI: %h. EBP: %h. ESP: %h. EBX: %h. ECX: %h. EAX: %h. EDX: %... |
/* $XFree86: xc/extras/Mesa/src/mesa/drivers/dri/r200/r200_span.c,v 1.2 2004/12/13 22:40:53 tsi Exp $ */
/*
Copyright (C) The Weather Channel, Inc. 2002. All Rights Reserved.
The Weather Channel (TM) funded Tungsten Graphics to develop the
initial release of the Radeon 8500 driver under the XFree86 license.
This not... |
/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file : main.c
* @brief : Main program body
******************************************************************************
* @attention
*
* <h2><center>© Copyright (c) ... |
/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file : main.c
* @brief : Main program body
******************************************************************************
* @attention
*
* <h2><center>© Copyright (c) ... |
/* Copyright (C) <NAME>
* See /doc/license/NOTICE.Plan9-9k.txt for details about the licensing.
*/
/* Portions of this file are Copyright (C) 9front's team.
* See /doc/license/9front-mit for details about the licensing.
* See http://code.9front.org/hg/plan9front/ for a list of authors.
*/
#include "u.h"
#include "... |
// netio.c
#include "features.h"
#include <sys/socket.h>
#include <netinet/ip_icmp.h>
#include <netinet/icmp6.h>
#include <arpa/inet.h>
#include <stdint.h>
#include <stdio.h>
#include <stddef.h>
#include <stdbool.h>
#include <errno.h>
#include <glib.h>
#include "record.h"
#include "timeutil.h"
#include "checksum.h"
... |
/* $OpenBSD: tls_prf.c,v 1.5 2021/03/24 19:02:35 jsing Exp $ */
/*
* Copyright (c) 2017 <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 cop... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.