text
stringlengths
3.12k
18.7k
/*gcc library.c Descrizione della libreria utilizzata dalla create() <NAME>, 1995 */ #include <malloc.h> #include <string.h> #include <stdio.h> #include <stdlib.h> #include "library.h" int n_comp = 32; LIB_TYPE *library; char *pin_name[5]; char *pin_name_ffd[2]; char *pin_name_ffr[3]; char *pin_name_ffp[3]; ch...
#include <video_driver.h> #include <font.h> #include <lib.h> #define SCREEN_1 0 #define SCREEN_2 1 #define SCREEN_CHAR_WIDTH 128 #define SCREEN_CHAR_HEIGHT 48 #define SCREEN_LIMIT 60 #define WALL 128/2 void drawChar2(char c, int fc, int bc); void update_cursor(); void updateLines(); unsigned int screen_pixel_wid...
/* $OpenBSD: pop_root.c,v 1.5 2005/05/03 05:44:35 djm Exp $ */ /* * Main daemon code: invokes the actual POP handling routines. Most calls * to functions in other source files are done as a non-root user (either * POP_USER or the authenticated user). Depending on compile-time options * in params.h, the following f...
/* Copyright (C) 2006, 2007, 2009 Free Software Foundation, Inc. Contributed by <NAME> This file is part of the GNU Fortran 95 runtime library (libgfortran). Libgfortran 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 Fo...
/* * CGlib * * A Low-Level GPU Graphics and Utilities API * * Copyright (C) 2011 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, includin...
/*- * Copyright (c) 2014 UPLEX Nils Goroll Systemoptimierung * Copyright (c) 2014 Otto Gmbh & Co KG * All rights reserved * Use only with permission * * Author: <NAME> <<EMAIL>> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following cond...
/* * Copyright 2017 <NAME> <<EMAIL>> * * This file is part of HackRF. * * 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, or (at your option) * any later version. * * T...
#define _GNU_SOURCE /* asprintf */ #define _DEFAULT_SOURCE /* strsep */ #include <unistd.h> #include <string.h> #include <stdio.h> #include <stdlib.h> #include <errno.h> #undef JUDYERROR #define JUDYERROR(CallerFile, CallerLine, JudyFunc, JudyErrno, JudyErrID) \ { ...
#include "nibble.h" #include <immintrin.h> #pragma GCC target("avx2") typedef unsigned char u8v __attribute__((vector_size(32))); typedef unsigned short u16v __attribute__((vector_size(32))); typedef unsigned int u32v __attribute__((vector_size(32))); typedef unsigned long u64v __attribute__((vector_size(32))); type...
/* ** ATF to PNG ** Copyright <NAME> 2015 (yinqiang.zhu<at>gmail.com) ** */ #include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <string.h> #if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__ #define T32(x) (((x&0xff)<<24)|((x&0xff00)<<8)|((x&0xff0000)>>8)|((x&0xff000000)>>24)) #define T16(x) (((x&0xff)<...
/* This is the bit of VQSIM that runs in the forked process. It represents a single votequorum instance or, if you like, a 'node' in the cluster. */ #include <sys/types.h> #include <qb/qblog.h> #include <qb/qbloop.h> #include <qb/qbipc_common.h> #include <netinet/in.h> #include <sys/poll.h> #include <sys/socket...
/* Fault handler information. MacOSX version. Copyright (C) 1993-1999, 2002-2003 <NAME> <clisp.org at bruno> Copyright (C) 2003 <NAME> <gnu.org at bonzini> Used under BSD license with permission from <NAME> and <NAME>, 2005-03-10: http://sourceforge.net/mailarchive/message.php?msg_name=200503102200.32002.bruno%40c...
/** ****************************(C) COPYRIGHT 2016 DJI**************************** * @file can_receive.c/h * @brief ���can�豸�����շ����������ļ���ͨ��can�ж���ɽ��� * @note ���ļ�����freeRTOS���� * @history * Version Date Author Modification * V1.0.0 Dec-26-2018 ...
/** *********************************************************************************************************************** * Copyright (c) 2020, China Mobile Communications Group Co.,Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the...
/* test_base64.c ** libstrophe XMPP client library -- test routines for the base64 codec ** ** Copyright (C) 2005-2009 Collecta, Inc. ** ** This software is provided AS-IS with no warranty, either express ** or implied. ** ** This program is dual licensed under the MIT and GPLv3 licenses. */ #include <assert.h> #in...
/* * Copyright (C) 1998 <NAME> <sasha at aftercode.net> * Copyright (c) 1996 by <NAME> * * 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 opt...
/* * libsfn/libsfn.h * * Copyright (C) 2020 bzt (<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...
#include "lzs.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #define N 4096 // size of ring buffer #define F 18 // upper limit for match_length // encode string into position and length if match_length is greater than this #define THRESHOLD 2 #define NIL N // inde...
/* RetroArch - A frontend for libretro. * Copyright (C) 2018 - lifajucejo * Copyright (C) 2018 - m4xw * Copyright (C) 2018 - natinusala * * RetroArch 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 Softwar...
/*- * Copyright (c) 2011 <NAME>, Xenion Pty Ltd. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this lis...
/* * This file is part of the UCB release of Plan 9. It is subject to the license * terms in the LICENSE file found in the top-level directory of this * distribution and at http://akaros.cs.berkeley.edu/files/Plan9License. No * part of the UCB release of Plan 9, including this file, may be copied, * modified, prop...
/* Copyright 2021, <NAME> * This software is licensed under BSD 2-Clause License * See LICENSE.md for detailed info. */ #include <stdio.h> #include <stdlib.h> #include <stdbool.h> #include <unistd.h> #include <X11/Xlib.h> #include <X11/Xutil.h> #define CLIENT_MAX 256 #define MODKEY (Mod1Mask | ControlMask) #define...
// C Source File // Created 18/Nov/03; 17:43:41 #define USE_TI89 // Compile for TI-89 #define OPTIMIZE_ROM_CALLS // Use ROM Call Optimization #define SAVE_SCREEN // Save/Restore LCD Contents #include <tigcclib.h> // Include All Header Files #include "pong.h" #include "extgraph.h" ...
/*- * Copyright (c) 2008 <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...
/* * Copyright (C) 2020 Intel Corporation * SPDX-License-Identifier: MIT * */ #include "save-transplant.h" bool transplant_save_regs(vmi_instance_t vmi, const char *regf) { registers_t regs = {0}; if ( VMI_FAILURE == vmi_get_vcpuregs(vmi, &regs, 0) ) return false; FILE *f = fopen(regf, "w"); ...
/* Copyright (c) 2012, <NAME> <<EMAIL><AT><EMAIL>> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright * notice, thi...
#include <arpa/inet.h> #include <errno.h> #include <fcntl.h> #include <netdb.h> #include <netinet/in.h> #include <netinet/ip.h> #include <netinet/ip_icmp.h> #include <netinet/tcp.h> #include <netinet/udp.h> #include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/ioctl.h> #include <...
// // This file was generated by the Retargetable Decompiler // Website: https://retdec.com // Copyright (c) 2019 Retargetable Decompiler <<EMAIL>> // #include <stdint.h> #include <stdio.h> #include <stdlib.h> // ------------------------ Structures ------------------------ struct _IO_FILE { int32_t e0; }; // --...
/* Unix SMB/CIFS implementation. local testing of RPC binding string parsing Copyright (C) <NAME> 2004 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the...
/* (c) <NAME>. * Stamp: <NAME> */ #pragma once #include "c_rt_lib.h" #include <stdbool.h> #include "hash.h" #include "ptd.h" #include "singleton.h" #include "tct.h" typedef ImmT nast0bin_op_t0type; typedef ImmT nast0fun_label_t0type; typedef ImmT nast0variable_type_t0type; typedef ImmT nast0fun_def_t0type; ...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <time.h> #include <omp.h> #include "queue.h" #include "soundtracks.h" #include "colors.h" // A struct to keep track of the player score typedef struct score_tracking{ int *current_score; int highest_score; } st; void play(int di...
#define _POSIX_C_SOURCE 2 #include <unistd.h> #include <stdarg.h> #include <stdio.h> #include <string.h> #include <stdlib.h> #include <malloc.h> #include <assert.h> #include <png.h> #include <jpeglib.h> #include "libgifsplit.h" #define ERR_UNSPECIFIED 1 #define ERR_MAX_FRAMES 2 #define ERR_MAX_SIZE 3...
/** * The CC0 1.0 Universal is applied to this work. * * To the extent possible under law, <NAME> and <NAME> have * waived all copyright and related or neighboring rights to donky. * This work is published from the United States. * * Please see the copy of the CC0 included with this program for complete * infor...
// Generated by make-pins.py, do NOT edit! extern const pin_obj_t pin_AD_B0_12; extern const pin_af_obj_t pin_AD_B0_12_af[]; extern const pin_obj_t pin_AD_B0_02; extern const pin_af_obj_t pin_AD_B0_02_af[]; extern const pin_obj_t pin_AD_B0_03; extern const pin_af_obj_t pin_AD_B0_03_af[]; extern const pin_obj_t pin_AD_B...
/* * This file is part of the coreboot project. * * Copyright (C) 2016 Intel Corp. * Copyright (C) 2017 Siemens AG * (Written by <NAME> <<EMAIL>> for Intel Corp.) * * 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 * th...
////////////////////////////////////////////////////////////////////// //Subroutine to form graph's transfer matrix //Call from MATLAB: //[Num,Den]= make3mat(graph,dnodes,inodes) //IN: //graph - signal graph matrix //dnodes - vector of dependent nodes //inodes - vector of independent nodes //OUT: //Num - 3d nu...
#include <stdint.h> #include <string.h> #include "li.h" #define LI_RUNE_ERROR ((li_character_t)0xFFFD) #define LI_RUNE_MAX ((li_character_t)0x0010FFFF) static li_byte_t masks[4] = { 0x3F, /* 0011 1111 */ 0x1F, /* 0001 1111 */ 0x0F, /* 0000 1111 */ 0x07, /* 0000 0111 */ }; static li_byte_t t[] = { ...
/* * Copyright 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 wr...
#include "stddefx.h" /********/ /* USES */ /********/ /* libs ext. <>, our "" */ #include "misc.h" #include "calc.h" /* global header (opt.) and test's prototypes "" */ /* headers of this app. modules called */ /***************/ /* EXTERNALS */ /***************/ /**********************/ /* LOCAL DECLARATIONS ...
/* SPDX-License-Identifier: BSD-3-Clause * Copyright(c) 2017 Intel Corporation */ #include <rte_malloc.h> #include <rte_mbuf.h> #include <rte_cycles.h> #include <rte_ethdev.h> #include "rte_gro.h" #include "gro_tcp4.h" #include "gro_vxlan_tcp4.h" typedef void *(*gro_tbl_create_fn)(uint16_t socket_id, uint16_t ma...
/* Copyright (C) 1997-2001 Id Software, Inc. 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 distribut...
/* * Copyright (c) 2015 - 2019, <NAME> (<EMAIL>) * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE A...
#include <coldforce/core/co_std.h> #include <coldforce/http/co_sha1.h> //---------------------------------------------------------------------------// // sha1 //---------------------------------------------------------------------------// //---------------------------------------------------------------------------/...
// https://github.com/Infineon/mbedtls-optiga-trust-x/wiki // openssl s_server -tls1_2 -cipher ECDHE-ECDSA-AES128-CCM8 -accept 50000 -cert OPTIGA_Trust_X_InfineonTestServer_EndEntity.pem -key OPTIGA_Trust_X_InfineonTestServer_EndEntity_Key.pem -CAfile OPTIGA_Trust_X_trusted_CAs.pem -debug -state #include <string.h> #i...
#pragma once #include "game_math.h" #include "demo.h" // TODO: This should be set by the user script! int32 WorldSizeX = 348; int32 WorldSizeY = 448; real32 BulletSpeedMax = 16.0f; struct game_state; struct boss; struct boss_attack; struct projectile; struct particle; typedef void (*projectile_update_function)(game...
#include <math.h> #include "mex.h" #include "simulator.h" #include "pwl_interp_1d.h" #define PI 3.14159265 double euclidianDistance(double *x, double *y, int nElements); double euclidianNorm(double *x, int nElements); void nonlinIntegrate(int nElements, double *pos, double *newPos, double *vel, double loopTi...
#define _GNU_SOURCE #include <assert.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #ifdef DEBUG # define ASSERT(x) assert(x) #else # define ASSERT(x) #endif //#define MAX_KEY_COUNT 21 // small input #define MAX_KEY_COUNT 201 //large input /* *** chest *****************************************...
/* * Copyright (c) 2004 Apple Computer, Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in...
/******************************************************************************* * * This file is part of the General Hidden Markov Model Library, * GHMM version __VERSION__, see http://ghmm.org * * Filename: sclass_change.c * Authors: <NAME> * * Copyright (C) 1998-2004 <NAME> * Cop...
/* * CDDL HEADER START * * The contents of this file are subject to the terms of the * Common Development and Distribution License, Version 1.0 only * (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 * o...
#pragma once #define BLADE_DAMAGE 100 #define STATUE_DAMAGE 20 #define SPIKE_DAMAGE 15 #define TEETHTRAP_DAMAGE 400 #define FALLING_CEILING_DAMAGE 300 #define ROLLINGBALL_DAMAGE_AIR 100 #define ICICLE_DAMAGE 200 #define SPINBLADE_DAMAGE 100 #define HOOK_DAMAGE 50 #define PROP_DAMAGE 200 #define SPIKE...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** * @attention * * <h2><center>&copy; Copyright (c) ...
/* * (c) Copyright 1993, Silicon Graphics, Inc. * ALL RIGHTS RESERVED * Permission to use, copy, modify, and distribute this software for * any purpose and without fee is hereby granted, provided that the above * copyright notice appear in all copies and that both the copyright notice * and this permission noti...
/* * xin - X11 forwarded input receiver * Copyright (c) 2020 <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 copies. * * THE SOFTWARE IS...
/* Copyright (C) 1992-2010 I/O Performance, Inc. and the * United States Departments of Energy (DoE) and Defense (DoD) * * 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 ...
#include "sip-message.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #include <assert.h> #if defined(OS_WINDOWS) #if !defined(strcasecmp) #define strcasecmp _stricmp #endif #endif struct sip_message_t* sip_message_create(const uint8_t* data, int bytes) { struct sip_message_t* msg; msg = (struct s...
/*HP***************************************************************/ /* Header: prototypes for DBI */ /* */ /* Copyright: yafra.org, Dornacherweg 104 Basel */ /* Switzerland ...
/* * CRC-32 forcer (C) * * Copyright (c) 2021 Project Nayuki * https://www.nayuki.io/page/forcing-a-files-crc-to-any-value * * 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 ver...
/************************************************************************\ ** ** ** GrIP Prototype API Interface Library ** ** for ** ** ...
#include "main.h" #define ARRAY_SIZE(a) (sizeof(a) / sizeof(*a)) #include "Servo.h" #include "Lidar.h" #include "Speaker.h" #include "LED.h" uint8_256buff_t tx; // Creates tx buffer uint8_256buff_t rx; // Creates rx buffer Byte SCI_Port_TXRX_Status[2]; // Creates status bytes for 2 ports // Fun...
/* * Copyright (C) <NAME> * Copyright (C) Rap, Inc. */ #include <rap_config.h> #include <rap_core.h> #include <rap_http.h> static rap_int_t rap_http_static_handler(rap_http_request_t *r); static rap_int_t rap_http_static_init(rap_conf_t *cf); static rap_http_module_t rap_http_static_module_ctx = { NULL, ...
// // This source file is part of appleseed. // Visit https://appleseedhq.net/ for additional information and resources. // // This software is released under the MIT license. // // Copyright (c) 2015-2018 <NAME>, The appleseedhq Organization // // Permission is hereby granted, free of charge, to any person obtaining ...
/* file: gsfReader.c function: gsfReader purpose: to read in lonmin-latmin-depth triples from gmf files. date: 22 Nov 94 history: originally "readgmf" converted to "readgsf" for HMPS97 Improvements, Nov 1997 author: <NAME> additional history: reader and associated functions wer...
/* * Demonstrate how to display a two color, black and white bitmap image with no * transparency. * * The original source image is from: * <http://openclipart.org/detail/26728/aiga-litter-disposal-by-anonymous> * * The source image was converted from an SVG into a RGB bitmap using Inkscape. * It has no transpa...
/* $OpenBSD: ttext2.c,v 1.7 2009/10/27 23:59:23 deraadt Exp $ */ /* * 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...
////////////////////////////////////////////////////////////////////////////// // // This file is part of the Corona game engine. // For overview and more information on licensing please refer to README.md // Home page: https://github.com/coronalabs/corona // Contact: <EMAIL> // ///////////////////////////////////////...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <fcntl.h> #include <errno.h> #include <sys/stat.h> #include <sys/mman.h> #include <sys/user.h> #include <sys/ptrace.h> #include <sys/wait.h> #include "process_info.h" #include "operation.h" #include "elf_utils.h" #include "globals....
/* * $Id: unistd_translatea2u.c,v 1.7 2006-01-08 12:04:27 obarthel Exp $ * * :ts=4 * * Portable ISO 'C' (1994) runtime library for the Amiga computer * Copyright (c) 2002-2015 by <NAME> <obarthel (at) gmx.net> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modi...
/******************************************************************************* * Copyright (c) 1991, 2019 IBM Corp. and others * * This program and the accompanying materials are made available under * the terms of the Eclipse Public License 2.0 which accompanies this * distribution and is available at https://w...
/* * Copyright (c) 2007 Silicon Graphics, Inc. * 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. * * This program is distributed in the hope that it would be usefu...
#include <arch.h> #include <driver/vga.h> #include <zjunix/bootmm.h> #include <zjunix/utils.h> struct bootmm bmm; unsigned int firstusercode_start; unsigned int firstusercode_len; // const value for ENUM of mem_type char *mem_msg[] = {"Kernel code/data", "Mm Bitmap", "Vga Buffer", "Kernel page directory", "...
/* * Copyright (c) 2013, Google, Inc. All rights reserved * Copyright (c) 2013, NVIDIA 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"), to deal in the Software without restric...
#include "../include/common.h" #include "../include/misc.h" #include "../include/node_edit.h" #include "../include/table.h" #include "../include/asm.h" extern void asm_program( FILE *fp, SOURCE s, TABLE *tb); static void fprint_global_variable(FILE *fp, SOURCE s, TABLE *tb); static int get_stack_frame(TABLE *tb); sta...
/**************************************************************************//** * @file system_LPC17xx.c * @brief CMSIS Cortex-M3 Device Peripheral Access Layer Source File * for the NXP LPC17xx Device Series * @version V1.03 * @date 07. October 2009 * * @note * Copyright (C) 2009 ...
/* Planarity-Related Graph Algorithms Project Copyright (c) 1997-2010, <NAME> All rights reserved. Includes a reference implementation of the following: * <NAME>. "Simplified O(n) Algorithms for Planar Graph Embedding, Kuratowski Subgraph Isolation, and Related Problems". Ph.D. Dissertation, University of Victoria...
#include <shmem.h> #include <stdio.h> #include <hoover.h> #define VERTEX_TYPE 0 #define VERTEX_ID 1 #define CREATED_LAYERED 2 #define LAYERED_VERTEX 3 #define SENT_MSG 4 #define BASE_GRAPH 0 #define LAYERED_GRAPH 1 static int pe, npes; void start_time_step(hvr_vertex_iter_t *iter, hvr_set_t *couple_with, hv...
/** * A bigint number is represented as an array of 32 bit uint chunks. * Each chunk size is 9 numbers. * Chunks and numbers stored in chunks are stored backwards. * * Example of bigint number (for the sake of simplicity MODULO is equal to 1000): * n = "1234567890" * bn = [890, 567, 234, 1] * Such storage of ...
/* * Copyright (c) 1994, 1995, 1996 * 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: (1) source code distributions * retain the above copyright notice and this paragraph in its e...
/* Copyright (c) 2000-2004, 2007, 2009 <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...
// // smime.c // Krypt // // Created by marko on 11.04.19. // #include "smime.h" #include <openssl/bio.h> #include <openssl/cms.h> #include <openssl/err.h> #include <openssl/pem.h> #include <openssl/ssl.h> #include <openssl/crypto.h> #include <openssl/rand.h> #include "helper.h" /* converts PEM encode...
#include<stdint.h> #include<stdio.h> #include<stdlib.h> #include<chan.h> #include<pthread.h> #include"../data.h" #include"../func.h" chan_t * c1; chan_t * c2; chan_t * c3; chan_t * c4; chan_t * c5; chan_t * c6; chan_t * c7; chan_t * c8; void proc1Rt() { List_Prod_int_int v0; chan_recv_buf(c1, &v0, sizeof(List_P...
#include <string.h> #include <ctype.h> void _splitpath(const char *path, char *drive, char *dir, char *fname, char *ext) { const char *f, *e; int nbytes; f = strrchr (path, '/'); if (f) { /* Have a dir name. */ f++; if (dir) { nbytes = f - path; strn...
/************************************************* Copyright (C), 2019-2099, Horzon Info. Co.,Ltd. File name: hz_disk_mgr.c Author: tangss Version: 1.0 Date: 2019-11-02 Description: Others: **************************************************/ #include <stdarg.h> #include <stddef.h> //...
/* * CS342-Project1 * <NAME> 21201712 Section1 * * This program reads the files according to command line arguments and create and output file and report the * the lines which match with given keyword. To sort the linked list, merge sort is used. * */ #include <stdio.h> #include <stdlib.h> #include <string.h> ...
#include "Doom.h" #include <String.h> #include <IntMath.h> #define STRETCH(WIDTH,HEIGHT) (Fixed)((160.0/(float)WIDTH)*((float)HEIGHT/180.0)*2.2*65536) typedef struct { /* Actual structure of TEXTURE1 */ Word Count; /* Count of entries */ Word First; /* Starting resource # */ Word FlatCount; /* Count of fla...
/* * Copyright (c) 2021, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause * * The RPi4 has a single nonstandard PCI config region. It is broken into two * pieces, the root port config registers and a window to a single device's * config space which can move between dev...
#include <stdio.h> #include "KmsFncs.h" static def_dtm_shift *find_1_step(int dtm1, int dtm2,def_dtm_shift *datum_shifts, int n_shifts); static int find_2_steps(int dtm1, int dtm2,def_dtm_shift **o_shift1,def_dtm_shift **o_shift2, def_dtm_shift *datum_shifts, int n_shifts); #ifdef BOMBJACK typedef void* GRIM; t...
#include <stdio.h> #include <stdlib.h> #include <math.h> #include <unistd.h> #include <string.h> #include "hdf5.h" #include "e-bench.h" int read_metadata(char* filename, ECoGMeta* metadata) { int i; hid_t file_id; hid_t ECoGIndx_id, EIndx_id, ELbls_id, ELbls_memtype; hid_t ECoGIndx_space, EIn...
/* * Copyright (C) 2018-2020 Alibaba Group Holding Limited */ #include "avformat/avformat_utils.h" #include "avformat/demux_cls.h" #include "stream/stream.h" #define TAG "demux_mp3" #define MP3_SYNC_HDR_MAX (2*1024) static const uint8_t mp3_side_tbl[2][2] = { {32, 17}, {17, 9} }; ...
/* * * phy-hi3559av100-usb.c * * usb phy driver special for hi3559av100 * * Copyright (c) 2020 HiSilicon (Shanghai) Technologies CO., LIMITED. * * 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...
/* @(#) $Id: CpuModule_InternalState.c,v 1.9 2012-08-12 16:51:02 peschau Exp $ */ /*=========================================================================*/ /* Fellow */ /* 68000 internal state */ /* ...
/* Glidix GUI Copyright (c) 2014-2017, <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, this list of condition...
#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...
/* IBEX UK LTD http://www.ibexuk.com Electronic Product Design Specialists RELEASED SOFTWARE The MIT License (MIT) Copyright (c) 2013, IBEX UK Ltd, http://ibexuk.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to d...
/* GCVideo DVI Firmware Copyright (C) 2015-2017, <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...
/* io_sd_common.c By chishm (<NAME>) Common SD card routines SD routines partially based on sd.s by Romman Copyright (c) 2006 Michael "Chishm" Chisholm Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redis...
#include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <string.h> #include <getopt.h> #include <libgen.h> #include "dcal_api.h" #include "sess_opts.h" #include <libssh/libssh.h> #include <libssh/server.h> #define file_size 256 #define cert_size 1024 #define DUMPLOCATION {printf("%s: %d\n", __func__, __L...
#include "boss1.h" #include "level.h" #include "gfc_audio.h" #include "player.h" #include "simple_logger.h" #include "entity.h" #include "mount.h" #include "weapon.h" //ZOMBIEKING BOSS //Entity *playerTarget; //static int attackTimer = 0; int boss1_damage(Entity *self, int amount, Entity *source); void boss1_die(En...
// <NAME> // 2021-06-08 20:04:01 // // TODO (Brian) // - New User // - Login // - Session Cookies // - All Strings are in a HashMap // - Timing Regex (Frontend / Backend) // - HTTP Parsing Bug (Why?) (Library doesn't handle malformed inputs?) // // - Performance Tests // // Full Recipe Tests: // - x1000 Recipes /...
/******************************************************************************* * Vite Wallet for Ledger Nano S * (c) 2020 Vite Labs * * 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 * ...