text stringlengths 5.8k 28.2k |
|---|
/*
* Copyright (c) 2015-2018 Nexenta Systems, inc.
*
* This file is part of EdgeFS Project
* (see https://github.com/Nexenta/edgefs).
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional informat... |
//---------------------------------------------------------------------------
// Copyright (C) 2000 Dallas Semiconductor Corporation, 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"),
// t... |
/* SPDX-License-Identifier: BSD-3-Clause
* Copyright(c) 2010-2014 Intel Corporation
*/
#include <string.h>
#include <sys/types.h>
#include <sys/file.h>
#include <dirent.h>
#include <fcntl.h>
#include <stdint.h>
#include <stdlib.h>
#include <stdio.h>
#include <fnmatch.h>
#include <inttypes.h>
#include <stdarg.h>
#inc... |
/* 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 ... |
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolar... |
/*
* Copyright 2019 Tresys Technology, 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... |
/************************************************************************/
/* */
/* RCPP - Resource Compiler Pre-Processor for NT system */
/* */
/* CHARMAP.C - Character mapping arrays */
/* */
/* 06-Dec-90 w-BrianM Update for NT from PM SDK RCPP */
/* */
/*************... |
/* steptest.c: TEST FOR ARENA STEPPING
*
* $Id$
* Copyright (c) 1998-2020 Ravenbrook Limited. See end of file for license.
*
* Loosely based on <code/amcss.c>.
*/
#include "fmtdy.h"
#include "fmtdytst.h"
#include "testlib.h"
#include "mpslib.h"
#include "mpm.h"
#include "mpscamc.h"
#include "mpsavm.h"
#include ... |
/*---------------------------------------------------------------------------------
nehe lesson 6 port to GX by shagkur
---------------------------------------------------------------------------------*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <malloc.h>
#include <math.h>
#include <gccor... |
/* SPDX-License-Identifier: MIT */
#include "display.h"
#include "adt.h"
#include "assert.h"
#include "dcp.h"
#include "dcp_iboot.h"
#include "fb.h"
#include "memory.h"
#include "string.h"
#include "utils.h"
#include "xnuboot.h"
#define DISPLAY_STATUS_DELAY 100
#define DISPLAY_STATUS_RETRIES 20
#define COMPARE(a, ... |
/* $OpenBSD: ugold.c,v 1.7 2014/12/11 18:39:27 mpi Exp $ */
/*
* Copyright (c) 2013 <NAME> <<EMAIL>>
* Copyright (c) 2013 <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 th... |
/*
* ng_one2many.c
*
* Copyright (c) 2000 Whistle Communications, Inc.
* All rights reserved.
*
* Subject to the following obligations and disclaimer of warranty, use and
* redistribution of this software, in source or object code forms, with or
* without modifications are expressly permitted by Whistle Commu... |
/*
* Copyright (c) 2001-2003 <NAME>.
* All rights reserved.
*/
/* __START_OF_JASPER_LICENSE__
*
* JasPer Software License
*
* IMAGE POWER JPEG-2000 PUBLIC LICENSE
* ************************************
*
* GRANT:
*
* Permission is hereby granted, free of charge, to any person (the "User")
* obtaining ... |
/*************************************************************************/
/* */
/* Language Technologies Institute */
/* Carnegie Mellon University */
/* ... |
/*
* Copyright (C) 2015-2017 Alibaba Group Holding Limited
*/
#include <aos/aos.h>
#include "lvgl/lvgl.h"
#include <k_api.h>
#include "sensor_display.h"
#include "sensor.h"
#include "st7789.h"
#include "soc_init.h"
LV_IMG_DECLARE(AliOS_Things_logo);
LV_IMG_DECLARE(weather);
LV_IMG_DECLARE(house);
#define MAX_MSG_B... |
/** @addtogroup usb_file USB peripheral API
* @ingroup peripheral_apis
*
* @sa usb_defines
* @copyright See @ref lgpl_license
*/
/*
* This file is part of the libopencm3 project.
*
* Copyright (C) 2011 <NAME> <<EMAIL>>
* Copyright (C) 2015 <NAME> <<EMAIL>>
*
* This library is free software: you can redistrib... |
/*
* manager.c
*
* Created on: Dec 8, 2015
* Author: <NAME>
* Description: See manager.h
*/
#include <pthread.h>
#include <jemalloc/jemalloc.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <time.h>
#include <inttypes.h>
#include <locale.h>
#include <string.h>
#include "options.h"
#in... |
/* sierra-desc.c:
*
* Copyright 2002 <NAME> <<EMAIL>>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*... |
/*
Copyright (C) 2006-2007 <NAME>
This program 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 3 of the License, or
(at your option) any later version.
This program is distributed i... |
#include "mex.h"
#include "matrix.h"
#include "math.h"
#include <stdlib.h>
#include "string.h"
#include <stdio.h>
#define exp2(a) (1 << (a))
#define mod2(a,d) ((a) % exp2(d))
#define tree2lin(h,k) (exp2(h-1) - 1 + k)
#define idx1d(a,b,dim1) (a + (b)*(dim1))
#define idx1d3(a,b,c,dim1,dim2) (a + (b)*(dim1) + (c)*(dim2)*... |
/* @source cacheebeyesearch application
**
** Prepares EMBOSS server cachefile for EBI EB-eye search domains.
**
**
** 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
**... |
/* annoGratorGpVar -- integrate pgSNP or VCF with gene pred and make gpFx predictions */
/* Copyright (C) 2014 The Regents of the University of California
* See README in this or parent directory for licensing information. */
#include "annoGratorGpVar.h"
#include "genePred.h"
#include "pgSnp.h"
#include "vcf.h"
#in... |
#include <stdint.h>
#include "rpi-SmartStart.h"
#include "mmu.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 effect
APTABLE_NO_EL0 = 1, // Access at EL0 not permitted, regardless of permissions in su... |
/*
* Copyright © 2016 Intel Corporation
*
* 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... |
/*
* 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... |
/********************************************
Name: snap_decompressor
Author: <NAME>
School: Delft Univsersity of Technology
Date: 12th July, 2018
Function: This a program to test the hardware Snappy decompressor,
it will read compressed data from a file, send the command
to the FPGA (or FPGA simulation). A... |
/* $XFree86: xc/programs/Xserver/hw/xfree86/vga256/drivers/et4000/tseng_acl.c,v 3.6.2.7 1997/05/25 05:06:49 dawes Exp $ */
#include "misc.h"
#include "xf86.h"
#include "xf86_OSlib.h"
#include "tseng.h"
#include "tseng_acl.h"
extern void TsengAccelInit();
ByteP W32Buffer;
LongP MBP0, MBP1, MBP2;
ByteP MMU_CONTROL;... |
/*
* Tencent is pleased to support the open source community by making IoT Hub
available.
* Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved.
* Licensed under the MIT License (the "License"); you may not use this file
except in
* compliance with the License. You may obtain a copy of the... |
/*
* Copyright 2001-2004 Red Hat Inc., Durham, North Carolina.
*
* 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 limi... |
// Hey there. Please feel free to only grade this assignment up to the point where
// it makes up for any points I might have lost in the fourth assignment. (At the
// time of writing this the points are not yet visible.) I'm certain that you have
// a lot to do, and points above the maximum won't do me any good anywa... |
/*
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... |
/*
Copyright (c) 2003-2013 uim Project https://github.com/uim/uim
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
not... |
/*-
* Copyright 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 condit... |
/*
* Copyright 2010 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/*
* Copyright (c) 2008 Atheros Communications Inc.
*
* 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... |
/*!
* salsa20.c - salsa20 for C89
* Copyright (c) 2019-2020, <NAME> (MIT License).
* https://github.com/bcoin-org/libtorsion
*
* Resources
* https://en.wikipedia.org/wiki/Salsa20
* https://cr.yp.to/snuffle.html
* https://cr.yp.to/snuffle/spec.pdf
* https://cr.yp.to/snuffle/812.pdf
* http://www.ecryp... |
/* pru1_statemachine_dma.c: state machine for bus master DMA
Copyright (c) 2018, <NAME>
<EMAIL>, www.retrocmp.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, includi... |
/* $NetBSD: spec.c,v 1.3 2008/04/29 05:46:09 martin Exp $ */
/*-
* Copyright (c) 1989, 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:
... |
//
// main.c
// MatchAnalysis
//
// Created by 黄文海 on 2018/1/23.
// Copyright © 2018年 huang. All rights reserved.
//
#include <stdio.h>
#include <stdlib.h>
#include "Util.h"
#include <string.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include<stdlib.h>
int fd;
char buff... |
/* Trackball routines */
/* Aggregation of Ball.c, BallAux.c, BallMath.c */
#ifdef WINDOWS
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#endif
/***** Ball.c *****/
/* <NAME>, 1993 */
#include <GL/gl.h>
#include "ball.h"
/*#include "BallMath.h" */
#ifndef FALSE
#define FALSE 0
#endif
#ifndef TRUE
#define TRUE (!F... |
/* dqagse.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... |
#include <stdlib.h>
#include <stdio.h>
#include <stdint.h>
#include <stdbool.h>
#include <SDL.h>
#include "instruction.c"
#include "graphics.c"
const SDL_Scancode KEYS[16] = {
SDL_SCANCODE_1, SDL_SCANCODE_2, SDL_SCANCODE_3, SDL_SCANCODE_4,
SDL_SCANCODE_Q, SDL_SCANCODE_W, SDL_SCANCODE_E, SDL_SCANCODE_R,... |
///////////////////////////////////////////////////////////////////////////////
// sts_mixer.h - v0.01
// written 2016 by <NAME>
//
// LICENSE
// Public domain. See "unlicense" statement at the end of this file.
//
// ABOUT
// A simple stereo audio mixer which is capable of mixing samples and audio streams.
// ... |
/* ************************************************************************
* Copyright 2013 Advanced Micro Devices, 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... |
/*
* File: tvd.c
* Author: <NAME> and <NAME>
* Institution: Stanford University
* --------------------------------
* This file contains the TVD scalar-computing functions.
*
* Copyright (C) 2005-2006 The Board of Trustees of the Leland Stanford Junior
* University. All Rights Reserved.
*
*/
#inclu... |
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <gst/gst-i18n-plugin.h>
#include "gsttcpclientsrc.h"
#include "gsttcpsrcstats.h"
#include "gsttcp.h"
#include <stdio.h>
GST_DEBUG_CATEGORY_STATIC (tcpclientsrc_debug);
#define GST_CAT_DEFAULT tcpclientsrc_debug
#define MAX_READ_SIZE 4 * 1024
... |
/*
* 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... |
/*
$Id: mnerc.c 327 2014-02-09 13:06:55Z adavie $
the DASM macro assembler (aka small systems cross assembler)
Copyright (c) 1988-2002 by <NAME>.
Copyright (c) 1995 by Olaf "<NAME>.
Copyright (c) 2003-2008 by <NAME>.
Copyright (c) 2008 by <NAME>.
This program is free software; you can red... |
/*
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
* Copyright (C) 2005-2014, <NAME> <<EMAIL>>
*
* Version: MPL 1.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the Lic... |
/*! \file waypoint_guidance.c
* \brief Waypoint tracker get_guidance law
*
* \details Designed by <NAME>. Waypoints specified as relative distances start (0,0) point is the point where autopilot is switched
* \ingroup guidance_fcns
*
* \author SZTAKI
* \author Systems and Control Laboratory
* \copyright Copyri... |
/* mnsphe.f -- translated by f2c (version 19961017).
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 integer c__3 = 3;
static integer c__9 = 9;
/* cccccccccccccccccccccccccccccccccccccccccc... |
#include "cglm/types.h"
#include "cgltf/cgltf.h"
#include "util/common.h"
#include "data/array.h"
#include "smClip.h"
#include "smPose.h"
#include "smSkeleton.h"
#include "smSkinnedMesh.h"
#include "smTrack.h"
#include "smTransformTrack.h"
// helpers
cgltf_data *gltf_loader_load_file(const char *path) {
cgltf_opti... |
/**
************************************************************
* @file gizwits_product.c
* @brief Gizwits control protocol processing, and platform-related hardware initialization
* @author Gizwits
* @date 2017-07-19
* @version V03030000
* @copyright Gizwits
*
* @note ... |
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include "forge.h"
#include "hxa.h"
#include "hxa_utils.h"
#define _CRT_SECURE_NO_WARNINGS
#pragma warning(disable:4996)
#pragma warning(disable:4703)
#pragma warning(disable:4996)
#pragma warning(disable:4664)
#define FALSE 0
#define TRUE !FALS... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "../sha1.h"
#define DEBUG_SHA1 0
/* "static" variable undefined at end of file.
* Must be a define instead of a variable to
* be accepted with const variables.
*/
#define SHA1_BLOCK_SIZE 64
/* Extend an existing SHA1 hash, passing the given hash... |
/**
* MIT License
*
* Copyright (c) 2021 Klatu Networks, 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, c... |
/* Copyright (C) 2000 MySQL AB
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 License.
This program is distributed in the hope that it will be useful,
but WIT... |
/***************************************************************************************
* Title: Series Elastic Actuator Exceptional Library (SEALibexc)
* Includes:
* 1- Higher order disturbance observer (Sariyildiz DF)
*
* Dependencies: BCM2835 from airspayce.com/mikem/bcm2835/
* Author: <NAME>
* Da... |
/*----------------------------------------------------------------------*/
/* BIBLIOGRAPHY */
/* Dole, <NAME>. "Formation of Planetary Systems by Aggregation: */
/* a Computer Simulation" October 1969, Rand Corporation Paper */
/* P-4226. ... |
/* sysex.c -- example program showing how to send and receive sysex
messages
Messages are stored in a file using 2-digit hexadecimal numbers,
one per byte, separated by blanks, with up to 32 numbers per line:
F0 14 A7 4B ...
*/
#include "stdio.h"
#include "stdlib.h"
#include "assert.h"
#include "portmi... |
/* omega copyright (c) 1987,1988,1989 by <NAME> */
/* lev.c */
#include "glob.h"
/* Functions dealing with dungeon and country levels aside from actual
level structure generation */
/* monsters for tactical encounters */
void make_country_monsters(terrain)
short terrain;
{
pml tml,ml=NULL;
static int plains[10]... |
#include "untar.h"
char *empty_string = "";
entry_callbacks_t *read_tar_callbacks = NULL;
unsigned char *read_buffer = NULL;
header_t header;
header_translated_t header_translated;
void *read_context_data = NULL;
int num_blocks;
int num_blocks_iterator;
int current_data_size;
int entry_index;
int empty_count;
int rece... |
/*
Recompress a JPEG file while attempting to keep visual quality the same
by using structural similarity (SSIM) as a metric. Does a binary search
between JPEG quality 40 and 95 to find the best match. Also makes sure
that huffman tables are optimized if they weren't already.
*/
#include <getopt.h>
#in... |
#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... |
#include <atmel_start.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "main.h"
/*
Memory Layout
[ROW0 PWM0] [ROW1 PWM0] ... [ROW7 PWM0]
...
[ROW0 PWM7] [ROW1 PWM7] ... [ROW7 PWM7]
*/
const uint8_t MX = 32; // Horizontal pixels
const uint8_t MY = 8; // Packed Vertical pixels
const... |
#define _GNU_SOURCE
#define _POSIX_C_SOURCE 200809L
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <fcntl.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <assert.h>
#include <pthread.h>
#include "jobType.h"
#include "positions.h"
#include <math.h>
#include "utils.h"
... |
/*
* Copyright (c) 2018, GreenWaves Technologies, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* o Redistributions of source code must retain the above copyright notice, this list... |
/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file : main.c
* @brief : Main program body
******************************************************************************
** This notice applies to any and all portions of thi... |
/*
BTSR VM:
Will use direct linking and assume a non-modifiable program space.
*/
#define BTSR1_REG_R0 0
#define BTSR1_REG_R1 1
#define BTSR1_REG_R2 2
#define BTSR1_REG_R3 3
#define BTSR1_REG_R4 4
#define BTSR1_REG_R5 5
#define BTSR1_REG_R6 6
#define BTSR1_REG_R7 7
#define BTSR1_REG_R8 8
#define BTSR1_REG_R9 9
#defin... |
/*
* Two Levels Segregate Fit memory allocator (TLSF)
* Version 2.1
*
* Written by <NAME> <<EMAIL>>
*
* Thanks to <NAME> for his suggestions and reviews
*
* Copyright (C) 2005, 2004
*
* This code is released using a dual license strategy: GPL/LGPL
* You can choose the licence that better fits your requiremen... |
#include <stdint.h>
#include <string.h>
#include "ieee.h"
#include "../readstat_bits.h"
/* These routines are modified versions of those found in SAS publication TS-140,
* "RECORD LAYOUT OF A SAS VERSION 5 OR 6 DATA SET IN SAS TRANSPORT (XPORT) FORMAT"
* https://support.sas.com/techsup/technote/ts140.pdf
*
* Modi... |
/*
* tel-plugin-atmodem
*
* Copyright (c) 2012 Samsung Electronics Co., Ltd. All rights reserved.
*
* Contact: <NAME> <<EMAIL>>
*
* 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
*
* ... |
/******************************************************************************
*
* $Id: FST_AK09912.c 983 2013-02-08 04:43:03Z miyazaki.hr $
*
* -- Copyright Notice --
*
* Copyright (c) 2004 Asahi Kasei Microdevices Corporation, Japan
* All Rights Reserved.
*
* This software program is the proprietary program... |
/*
* ESPRESSIF MIT License
*
* Copyright (c) 2018 <ESPRESSIF SYSTEMS (SHANGHAI) PTE LTD>
*
* Permission is hereby granted for use on all ESPRESSIF SYSTEMS products, in which case,
* it is free of charge, to any person obtaining a copy of this software and associated
* documentation files (the "Software"), to dea... |
/* The copyright in this software is being made available under the BSD
* License, included below. This software may be subject to other third party
* and contributor rights, including patent rights, and no such rights are
* granted under this license.
*
* Copyright (c) 2010-2014, ITU/ISO/IEC
* All rights reserved.
*
*... |
/*
* Copyright (c) 2006-2008 Voltaire, Inc. All rights reserved.
*
* This software is available to you under a choice of one of two
* licenses. You may choose to be licensed under the terms of the GNU
* General Public License (GPL) Version 2, available from the file
* COPYING in the main directory of this source... |
/*-
* Copyright (c) 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:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions an... |
/**************************************************************************
*
* Copyright 2012 <NAME> <<EMAIL>>
* 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... |
//
// Created by jmalcy on 12/5/20.
//
#include "client.h"
#include "common.h"
#include "configParser.h"
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <stdlib.h>
#include <ctype.h>
#include <openssl/md5.h>
// TODO: Implement AES encryption?
int main(int argc, const char *argv[]) {
dfc config;
... |
/*
String handling tests
Copyright (C) 2001-2007, <NAME> <<EMAIL>>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later ve... |
#include <stdio.h>
#include "stk_env_api.h"
#include "stk_service_api.h"
#include "stk_sequence_api.h"
#include "stk_data_flow.h"
#include "stk_data_flow_api.h"
#include "stk_udp_listener_api.h"
#include "stk_udp_client_api.h"
#include "stk_data_flow_api.h"
#include <poll.h>
#include <errno.h>
#include <string.h>
#inc... |
/** @file
* Implementacja modułu inputParser.h
*
* @author <NAME> <<EMAIL>>
* @date 17.05.2020
*/
#include <inttypes.h>
#include <sys/ioctl.h>
#include "display.h"
#include "inputParser.h"
/** Białe znaki, które oddzialają parametry funckji.
*/
static const char WHITE_CHARS[] = " \t\v\f\r";
/** Ciąg znaków, k... |
/*! \file host_main.c this file has the functions used by the host process.
*This process retrieves problems from files and sends them to the MPPA to be computed.
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/stat.h>
#include <time.h>
#include <omp.h>
#include "sett... |
#ifdef COMPILE_FOR_TEST
#include <assert.h>
#define assume(cond) assert(cond)
#endif
void main(int argc, char* argv[]) {
int x_0_0;//CREST_scheduler::lock_0
int x_0_1;//CREST_scheduler::lock_0
int x_0_2;//CREST_scheduler::lock_0
int x_0_3;//CREST_scheduler::lock_0
int x_0_4;//CREST_scheduler::lock_0
int x_1_0;//m... |
#define _XOPEN_SOURCE 600
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <time.h>
#include <ctype.h>
#include <curl/curl.h>
#include "json.h"
#include "buffer.h"
static struct {
char *username;
char *token;
char *useragent;
char *filenameformat;
} config = {0};
int
loadcf... |
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <assert.h>
#include <errno.h>
#include "SDL.h"
#include "audio.h"
#include "video.h"
#include "log.h"
#include "rom.h"
#include "cpu.h"
#include "apu.h"
#include "ppu.h"
#ifdef PLATFORM_PS2
#include "rom_data.h"
#endif
SDL_Color sdl_colors[0x40] = {... |
#include "main.h"
//Macro definition
#define BUFLEN 1024 /* コマンド用のバッファの大きさ */
#define MAXARGNUM 256 /* 最大の引数の数 */
char precommand[]="!!";
char default_prompt[]="Command : ";
char prompt_str[512];
char *BuiltinCommand[]={
"cd",
"pushd",
"dirs",
"popd",
"prompt",
"alias",
"unalias"... |
/**
* Copyright (c) 2021, Nutanix, Inc.
*
* Author(s): <EMAIL>
*
* Conntrack-Migrator v.1.0 is dual licensed under the BSD 3 Clause License or
* the GNU General Public License version 2.
*/
/**
* Entry point for the conntrack_migrator process.
*
* Responsibilites:
* 1. On the source hypervisor, this proce... |
/*
* 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... |
/* exif-mnote-data-canon.c
*
* Copyright (c) 2002, 2003 <NAME> <<EMAIL>>
* Copyright (c) 2003 <NAME> <<EMAIL>>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2... |
// SPDX-License-Identifier: GPL-2.0
/*
* KVM dirty page logging performance test
*
* Based on dirty_log_test.c
*
* Copyright (C) 2018, Red Hat, Inc.
* Copyright (C) 2020, Google, Inc.
*/
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <pthread.h>
#include <linux/bitmap.h>
#include "kvm_util.h... |
#include <stdio.h>
#include <string.h>
#include <tonc.h>
#include "menu.h"
#include "fonts.h"
#include "all_gfx.h"
// --------------------------------------------------------------------
// PROTOTYPES
// --------------------------------------------------------------------
// --- bmp16, bmp8, chr4 slide... |
/*
Copyright (C) 2005 <NAME>
The Gnome Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public License as
published by the Free Software Foundation; either version 2 of the
License, or (at your option) any later version.
The Gnome Library ... |
/* bt801.c
*
* ITU-R BT.801-1 625-line, 50 field/s, 100/0/75/0 colour bar generator for
* Linear Systems Ltd. SMPTE 259M-C boards.
*
* Copyright (C) 2008-2010 Linear Systems Ltd. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided t... |
/*-
* Copyright (c) 2010 by Panasas, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice immediately at t... |
/*
This is an example of how to hook up evhttp with bufferevent_ssl
It just GETs an https URL given on the command-line and prints the response
body to stdout.
Actually, it also accepts plain http URLs to make it easy to compare http vs
https code paths.
Loosely based on le-proxy.c.
*/
// Get rid of OS... |
/*
* Copyright (c) 2015 <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, merge, publish, dis... |
/*
* Copyright (c) 1980, 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... |
/*****************************************************************************
* url.c: Test for url encoding/decoding stuff
*****************************************************************************
* Copyright (C) 2006 <NAME>
* $Id: ab02571ac77b83acc765e05f0c9ee5452f5dfc8b $
*
* This program is free software... |
// :vim ts=4 sw=4 noet:
/*
==================================================================================
Copyright (c) 2020 AT&T Intellectual Property.
Copyright (c) 2020 <NAME>.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Y... |
/*
* ZMap Copyright 2013 Regents of the University of Michigan
*
* 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
*/
// module responsible for p... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.