text
stringlengths
3.08k
10.5k
/*********************************************************************** A minimal example of a new proj.4 projection implementation ...and a verbose justification for some highly intrusive code surgery ************************************************************************ **The brief version:** In an a...
/* ********************************************************************************************************************** * * the Embedded Secure Bootloader System * * * Copyright(C), 2006-2014, Allwinnertech Co., Ltd. * All Rights Reserved * * File ...
/* Copyright (c) 2012, <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 conditions and the following ...
#include "common/include/inttypes.h" #include "common/include/compiler.h" #include "common/include/idt.h" #include "common/include/msr.h" #include "hal/include/setup.h" #include "hal/include/lib.h" #include "hal/include/mem.h" #include "hal/include/int.h" #include "hal/include/mp.h" /* * General int handler */ stat...
#include <stdint.h> #include <pico_stack.h> #include <pico_ipv4.h> #include <pico_dns_client.h> #include "utils.h" extern int IPV6_MODE; /*** START UDP DNS CLIENT ***/ /* ./test/vde_sock_start.sh echo 1 > /proc/sys/net/ipv4/ip_forward iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE iptables -A FORWAR...
/* * This file is part of the coreboot project. * * Copyright (C) 2011 The Chromium OS Authors. All rights reserved. * Copyright (C) 2013 Sage Electronic Engineering, LLC. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published ...
/* 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 may not...
#include <sys/socket.h> #include <sys/types.h> #include <netinet/in.h> #include <netdb.h> #include <stdio.h> #include <string.h> #include <stdlib.h> #include <unistd.h> #include <errno.h> #include <arpa/inet.h> #include <pthread.h> #define MSG_LEN 1024 //shared variables int sockfd = 0; int disconnect = 0; void recv...
/* asm2bf * * Copyright (C) <NAME>logos Szewczyk 2017-2020 & maviek 2019. * License: MIT * * 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 2012 Red Hat 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, publish, d...
#include <stdio.h> #include <math.h> #include <stdlib.h> #define NMAX 20 #define NDIM 2 void center_of_mass(int N, double mass[NMAX], double r[NMAX][NDIM], double rcm[NDIM]); double angular_mom(int N, double mass[NMAX], double r[NMAX][NDIM], double v[NMAX][NDIM]); double kinetic_energy(int N, double mass...
#include<assert.h> #include<stdio.h> #include<stdlib.h> #define MAX 32767 #define LIMIT 15000 void quicksort(double *,int,int); int partition(double *,int,int); void mergesort(double *,int,int); void merge(double *,int,int,int); void heapsort(double [],int); void buildmaxheap(double [],int); void maxheapify(double ...
/*============================================================================= * Copyright (c) 2020 by Cryptographic Engineering Research Group (CERG) * ECE Department, George Mason University * Fairfax, VA, U.S.A. * Author: <NAME> Licensed under the Apache License, Version 2.0 (the "License"); you may not use thi...
/* * Arm SCP/MCP Software * Copyright (c) 2020, Arm Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause * * Description: * MORELLO MCP System Support. */ #include "config_clock.h" #include <mod_clock.h> #include <mod_morello_mcp_system.h> #include <mod_pik_clock.h> #in...
/* * uifontsvicii.c - generate fonts used by the x64(sc)/xscpu64/x64dtv/vsid uis * * Written by * groepaz <<EMAIL>> * * This file is part of VICE, the Versatile Commodore Emulator. * See README for copyright notice. * * This program is free software; you can redistribute it and/or modify * it under the ter...
// SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) /* Copyright (c) 2021 Facebook */ #include <stdint.h> #include <stdlib.h> #include <stdio.h> #include <errno.h> #include <linux/err.h> #include "hashmap.h" #include "libbpf_internal.h" #include "strset.h" struct strset { void *strs_data; size_t strs_data_len; s...
/* * Copyright (C) Nginx, Inc. */ #include <ngx_config.h> #include <ngx_core.h> #include <ngx_http.h> #include <ngx_md5.h> typedef struct { ngx_http_complex_value_t *hash; ngx_str_t secret; } ngx_http_hash_access_loc_conf_t; static ngx_int_t ngx_http_hash_access_handler(ngx_http_reque...
#include <stdio.h> #include <stdlib.h> #include <sys/types.h> #include <sys/socket.h> //"in" per "sockaddr_in" #include <netinet/in.h> //"fcntl" per la funzione "fcntl" #include <fcntl.h> #include <string.h> #include <time.h> void closeSocket(int sock) { close(sock); return; } char* decode(char* x) { int len=s...
/* * task.c * * Created on: 2017.1.25 * Author: xzy47 */ #include <stdlib.h> #include "lightos.h" #include "task.h" #define HW32_REG(ADDRESS) (*((volatile unsigned long *)(ADDRESS))) l_base_t l_curTaskID = 0; l_base_t l_nextTaskID = 0; l_uint8_t l_taskNumber = 0; l_tick_t l_nextWeakTick = -1; l_sp_t l...
#include "custom_function.h" int length = 0; // struct settings *settings; struct settings* settings; void setSubnetMask(struct dhcp_msg *packet) { //Subnet Mast '1' packet->option[length] = 0x01; // 1 packet->option[length+1] = 0x04; // len // int *ip = ipFromString(SUBNET_IP); packet...
/* * Copyright (c) 2003, 2006 <NAME> * Copyright (c) 2003, 2006 Massachusetts Institute of Technology * * 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 ...
/*****************************************************************************\ (C) 1997-98 <NAME> $Id: abcd_compose.c,v 1.2 2000-05-08 11:33:34 biere Exp $ \*****************************************************************************/ #include "abcd.h" #include "abcd_node.h" #include "abcd_cache.h" #include "abcd_u...
/* * Copyright (c) 2019-2021 The University of Tennessee and The University * of Tennessee Research Foundation. All rights * reserved. */ #include "cuda_test_internal.h" /* Timming */ double sync_time_elapsed = 0.0; /** * @brief init operator * * @param [in] es...
 #include <sis_file.h> #include <sis_malloc.h> s_sis_file *sis_file_create() { s_sis_file * o =sis_malloc(sizeof(s_sis_file)); memset(o, 0, sizeof(s_sis_file)); return o; } void sis_file_destroy(s_sis_file *file_) { sis_free(file_); } s_sis_sds sis_file_read_to_sds(const char *fn_) { s_sis_file_hand...
/* ----------------------------------------------------------------------- * * * Copyright 2003 <NAME> - All Rights Reserved * * Based on the Linux installer program for SYSLINUX by <NAME> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General...
/** @file * Copyright (c) 2018, Arm Limited or its affiliates. All rights reserved. * SPDX-License-Identifier : Apache-2.0 * * 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://...
//--------------------------------------------------------------------------- // Copyright (C) 2001 <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 ...
#include <pci/pci_driver_client.h> #include <pci/pci_driver_client_debug.h> #include <if/pci_driver_client_defs.h> #include <barrelfish/capabilities.h> #include <barrelfish/debug.h> #include <int_route/int_route_client.h> // This is only here for PCIARG defines, remove me! #include <pci/pci.h> // End const int PCI_CH...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> typedef struct stack { int top; unsigned max; int *data; } Stack; typedef struct stack2{ int top; unsigned max; double *data; } Stack2; int isEmpty(Stack *stack) { if (stack->top == -1) { return 1; } ...
#include <stdio.h> #include "pebble_os.h" #include "pebble_app.h" #include "pebble_fonts.h" #include "xprintf.h" #include "num2words-en.h" #include "rand.h" #define MY_UUID { 0x6D, 0x57, 0xBE, 0xFA, 0x8B, 0x81, 0x4B, 0xF4, 0x81, 0xE3, 0xAB, 0x14, 0x20, 0x70, 0xAB, 0xCD } PBL_APP_INFO(MY_UUID, "Memento Mor...
/* * Copyright (C) 2010. See COPYRIGHT in top-level directory. */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <mpi.h> #include <armci.h> #include <armci_internals.h> #include <debug.h> #include <gmr.h> /** Fatal error, print the message and abort the program with the provided * error cod...
/* * MIT License * * Copyright 2018 <NAME> for HAW Hamburg * * 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, cop...
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */ /* * Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana * University Research and Technology * Corporation. All rights reserved. * Copyright (c) 2004-2005 The University of Tennessee a...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdbool.h> #include <pthread.h> #include <unistd.h> #define QT_TRENS 10 // Um mutex para uso geral pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER; // Como cada trem só pode alertar os trens que estão na espera da sua interseção, cada interseção ...
/*************************************************************************** * * * Intend C - Embeddable Scripting Language * * * * Copyrig...
/* USI port and pin definitions. */ #define USI_OUT_REG PORTB //!< USI port output register. #define USI_DIR_REG DDRB //!< USI port direction register. #define USI_CLOCK_PIN PORTB7 //!< USI clock I/O pin. #define USI_DATAIN_PIN PORTB5 //!< USI data input pin. #define USI_DATAOUT_PIN PORTB6 //!< USI data out...
/** * This overlay adds OCF specific virtual attributes. * * Virtual Attribute list: * ocfMail: <EMAIL> into */ #include "portable.h" #include <stdio.h> #include <ac/string.h> #include <ac/socket.h> #include "slap.h" #include "config.h" // https://github.com/ocf/ocflib/blob/555dd97e22858396a311ef2addfe8ff7...
/* * Copyright (c) 2009-2011, Newcastle University, UK. * 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, ...
#include <pthread.h> #include <stdio.h> #include <stdlib.h> #include <time.h> #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> #include <stdint.h> #define FALSE 0 #define TRUE 1 void treatInput(char *inputMessage, char *errorMessage, int *parameter); void createThreads(int threadsNumber, int bubble); ...
////////////////////////////////////////////////////////////////////////////////////// // Mystic OS Copyright 2012-2013 (c) <NAME> // The software is provided 'as is'. // The original author is not responsible for any harm which may result from use of this software or its source code // See also my 3d game engine --> ...
// File: mumps/mv1api/mv1api_var.c // // MV1 Connection API library /* Copyright (c) 2016 * <NAME>. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of sou...
#include <stdlib.h> #include <stdio.h> #include "platform.h" #include "xparameters.h" #include "fsl.h" #include "xtmrctr_l.h" #include "xil_printf.h" #include "xaxidma.h" #define N 4 #define DMA_DEVICE_ID XPAR_AXIDMA_0_DEVICE_ID // DMA configuration int DMAConfig(u16 dmaDeviceId, XAxiDma* axidma) { XAxiDma_Config ...
/* * Copyright 2014 The Chromium Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include <ctype.h> #include <dirent.h> #include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include <...
#include <string.h> #include "frt_priorityqueue.h" FrtPriorityQueue *frt_pq_new(unsigned int type_size, int capa, frt_lt_ft less_than, frt_free_ft free_elem) { FrtPriorityQueue *pq = FRT_ALLOC(FrtPriorityQueue); pq->type_size = (type_size > sizeof(void *)) ? (type_size / sizeof(void *)) : 1; pq->void_size ...
/* Unix SMB/CIFS implementation. 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 2 of the License, or (at your option) ...
/* * Copyright 2013-2014 sgminer developers (see AUTHORS.md) * Copyright 2011-2013 <NAME> * Copyright 2011-2012 <NAME> * Copyright 2010 <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 Found...
#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 "yaz.h" // decoder implementation by thakis of http://www.amnoid.de // encoder implementation by shevious, with bug fixes by notwa #define MAX_RUNLEN (0xFF + 0x12) static u32 Yaz_SimpleEncode(u8* src, s32 size, s32 pos, u32* pMatchPos) { s32 numBytes = 1; s32 matchPos = 0; s32 startPos = pos - 0x1000; ...
/* * HVM e820 support. * * <NAME>, <EMAIL> * Copyright (c) 2005, International Business Machines Corporation. * Copyright (c) 2006, <NAME>, XenSource Inc. * Copyright (c) 2011, Citrix Inc. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU Ge...
/* Based on the sample lpc1769 project by <NAME> * http://www.freddiechopin.info/ */ #include <stdint.h> #include "inc/LPC17xx.h" #include "config.h" #include "hdr/hdr_sc.h" #include "gpio.h" void flash_latency(uint32_t frequency) { uint32_t wait_states; wait_states = frequency / 20000000; // 1 CLK per 20MHz if...
#include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <errno.h> #include "secp256k1_recovery.h" secp256k1_context *context; // PORT application // Read one char from stdin or exit(1) if stdin is closed as per Erlang port // requirements unsigned char take_char(){...
/* Copyright (c) 2007 <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, distri...
/* * Copyright 2021 The UAPKI Project Authors. * Copyright 2004 <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 ...
/* playmidi.c -- play MIDI files using libtimidity and libao * Copyright (C) 2004 <NAME> <<EMAIL>> * This example is distributed in the hope that it will be useful, * but WITHOUT ANY WARRENTY; without event the implied warrenty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. */ #include <stdio.h> #inclu...
#define _POSIX_C_SOURCE 200809L #define _GNU_SOURCE #include <fcntl.h> #include <sys/types.h> #include <sys/stat.h> #include <signal.h> #include <stdio.h> /** * verify.c * * the main() for ./verify, a standalone position verifier * */ #include <stdlib.h> #include <string.h> #include "positions.h" #include "util...
/** * Copyright 2017 <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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
// -*- tab-width:4 ; indent-tabs-mode:nil -*- #include <hre/config.h> #include <mpi.h> #include <stddef.h> #include <hre-mpi/user.h> #include <ltsmin-reduce-dist/seg-lts.h> #include <ltsmin-reduce-dist/sig-array.h> #include <util-lib/fast_hash.h> #include <hre/stringindex.h> static int mpi_nodes; static int mpi_me; ...
/* * Copyright (C) 2011 <NAME> ( http://amarullz.com/ ) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * File Name : stm32f4xx_hal_msp.c * Description : This file provides code for the MSP Initialization * and de-Initialization codes. **********************...
#include "internal/common/helpers.h" #include <glib-object.h> gboolean g_ptr_array_equal (gconstpointer a, gconstpointer b) { return g_ptr_array_equal_with_equal_func (a, b, g_direct_equal); } gboolean g_ptr_...
/*s: lib_networking/libip/readipifc.c */ #include <u.h> #include <libc.h> #include <ctype.h> #include <ip.h> /*s: function [[findfield]] */ static char* findfield(char *name, char **f, int n) { int i; for(i = 0; i < n-1; i++) if(strcmp(f[i], name) == 0) return f[i+1]; return ""; } /*e:...
/* HTTP Restful API Server This example code is in the Public Domain (or CC0 licensed, at your option.) Unless required by applicable law or agreed to in writing, this software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ #include <string....
#include "dhcp.h" #include "../../../../utils.h" #include <arpa/inet.h> #include <stdio.h> #include <string.h> #include <unistd.h> #define DHCP_IP_SIZE \ sizeof(struct ip) + sizeof(struct udphdr) + sizeof(struct dhcp) #define DHCP_UDP_SIZE sizeof(struct udphdr) + sizeof(struct dhcp) enum { DHCPDISCOVER = 1, DHCPOFFE...
/************************************************************** * Word Blast * * Description: This program takes a file from the command line * and n number of threads, then splits the data into n chunks * and creates n threads which process the data and find all * occurrences of words 6 or more characters long. * **...
#include<sys/pmmgr.h> #include<sys/sbunix.h> #include<sys/utility.h> #include<sys/defs.h> //set bitmap //size of physical memory in blocks uint64_t memory_size_in_frames=0; //number of blocks currently in use uint64_t memory_used_frames=0; //memory map bit array uint64_t* memory_map=0; void mem_map_set(uint64_t bit...
/* * HKDF implementation -- RFC 5869 * * Copyright (C) 2016-2018, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * 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 Lic...
#include <utils.h> #include <stdlib.h> #include <string.h> mimas_u8 _mimas_max_u8(mimas_u8 x, mimas_u8 y) { return x > y ? x : y; } mimas_i32 _mimas_min_i32(mimas_i32 x, mimas_i32 y) { return x < y ? x : y; } mimas_i32 _mimas_max_i32(mimas_i32 x, mimas_i32 y) { return x > y ? x : y; } Mimas_Rect _mimas...
#include "Lennar_Jones.h" world *makeSystem(){ world *pW = (world *)malloc(sizeof(world)); assert(pW); pW -> X = (vectorRN)malloc(N * sizeof(vectorR)); assert(pW -> X); pW -> step = 0; pW -> seed = -time(NULL); pW -> Naccep = 0; int i; for (i = 0; i < N; i++){ pW -> X[i][0] ...
/* Test notification. Copyright (c) 1994 by the Trustees of Dartmouth College; see the file 'Copyright' in the distribution for conditions of use. */ #include "../port.h" #include <stdlib.h> #include <stdio.h> #include <syslog.h> #include <netdb.h> #include <ctype.h> #include <sys/socket.h> #include <net...
/*============================================================================== >File name: IRQ_HANDLERS.c >Brief: Handlers of interrups here. watch NVIC table in misc.h and startup_stm32f10x_md.s for handlers >Author: LL >Date: 08.05.2018 >Version: 1.0 ========================...
/** * Name: zpsm_app.c * Description: Application that receives signal from kernel module that intercepts * packets and sends a message through serial port * Author: * Copyright: */ //SYSTEM INCLUDES #include <sys/types.h> #include <sys/socket.h> #include <linux/netlink.h> #include <stdlib.h> #include <stri...
#define CPPECC_IMPLEMENTATION #include "cppecc.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> static const cppecc_u64 Increment = 0x14057B7EF767814FULL; static const cppecc_u64 Multiplier = 0x5851F42D4C957F2DULL; static cppecc_u64 state_; cppecc_u32 rotr32(cppecc_u32 x, cppecc_u32 r)...
#include <stdint.h> #include <stddef.h> #include <stdlib.h> #include <string.h> #include <ir/tx.h> #include <ir/rx.h> #include <ir/generic.h> #include <ir/debug.h> typedef enum { ir_state_idle, ir_state_header_mark, ir_state_header_space, ir_state_bit_mark, ir_state_bit_space, ir_state_foo...
/* * * BlueZ - Bluetooth protocol stack for Linux * * Copyright (C) 2004-2010 <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,...
/**************************************************************************** * arch/arm/src/armv7-a/arm_doirq.c * * Copyright (C) 2013-2015 <NAME>. All rights reserved. * Author: <NAME> <<EMAIL>> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided th...
/** * Copyright 2020 Huawei Technologies Co., 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...
/* * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the OpenSSL license (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy * in the file LICENSE in the source distribution or at * https://www.openssl.org/source/lice...
/* * Copyright (c) 2018 Cypress * SPDX-License-Identifier: Apache-2.0 */ /** @file * @brief UART driver for Cypress PSoC6 MCU family. * * Note: * - Error handling is not implemented. * - The driver works only in polling mode, interrupt mode is not implemented. */ #include <device.h> #include <errno.h> #includ...
#include <stdio.h> #define NUM_LINES 100 #define LINE_LEN 25 typedef enum {BEFORE_SONG, IN_SONG_AND_LINE, IN_SONG_BETWEEN} state_t; state_t state = BEFORE_SONG; int half = 1; FILE *fp; FILE *ofp; unsigned char prev_ch, curr_ch; unsigned char lines[NUM_LINES][LINE_LEN]; unsigned char separator[NUM_LINES][LINE_LEN];...
/* * Copyright (c) 2012 <NAME> * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later vers...
/* * (C) Copyright 2000-2002 * <NAME>, DENX Software Engineering, <EMAIL>. * * (C) Copyright 2002 (440 port) * <NAME>, Artesyn Communication Producs, <EMAIL> * * (C) Copyright 2003 (440GX port) * <NAME>, Sandburst Corporation, <EMAIL> * * (C) Copyright 2008 (PPC440X05 port for Virtex 5 FX) * <NAME>-Universid...
/* * Copyright (C) 2008 Freescale Semiconductor, Inc. * <NAME> <<EMAIL>> * port from the libata of linux kernel * * 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 * ...
/* * LRC lyrics file format decoder * Copyright (c) 2014 StarBrilliant <<EMAIL>> * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1...
/* * Copyright (C) 2015 Red Hat, Inc. * * Author: <NAME> * * This file is part of GnuTLS. * * GnuTLS is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your opt...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/types.h> #include <stlink.h> #include <helper.h> static void usage(void) { puts("st-info --version"); puts("st-info --probe [--connect-under-reset] [--hot-plug] [--freq=<kHz>]"); puts("st-info --serial"); puts("st-info --flash [...
/* Unix SMB/CIFS implementation. client dgram calls Copyright (C) <NAME> 1994-1998 Copyright (C) <NAME> 2001 Copyright (C) <NAME> 2001 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 Fou...
/***************************************************************************//** * @file main.c * @brief ISP tool main function * @version 0x32 * @date 14, June, 2017 * * @note * Copyright (C) 2017-2018 Nuvoton Technology Corp. All rights reserved. ***************************************************...
/*- * Copyright (c) 2001 <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 ...
/* * Copyright (c) 2019-2021 <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, pub...
/* test_kfunc.c -- kt_fisher_exact() unit tests Copyright (C) 2020 University of Glasgow. Author: <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, i...
/* * How to setup clock using clock driver functions: * * 1. CLOCK_SetSimSafeDivs, to make sure core clock, bus clock, flexbus clock * and flash clock are in allowed range during clock mode switch. * * 2. Call CLOCK_Osc0Init to setup OSC clock, if it is used in target mode. * * 3. Call CLOCK_SetMcgliteConfig...
/* * This file is part of project l3roamd. It's copyrighted by the contributors * recorded in the version control history of the file, available from * its original location https://github.com/freifunk-gluon/l3roamd. * * SPDX-License-Identifier: BSD-2-Clause */ #include "util.h" #include "error.h" #include "l3ro...
/* * The MIT License (MIT) * * Copyright (c) 2020 Raspberry Pi (Trading) Ltd. * Copyright (c) 2021, <NAME> (tinyusb.org) * * 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 rest...
/* $OpenBSD: etodec.c,v 1.1 2011/07/02 18:11:01 martynas Exp $ */ /* * Copyright (c) 2008 <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 ...
/* $Id: x86.c,v 1.6 2005/03/14 01:48:42 mikpe Exp $ * x86-specific code. * * Copyright (C) 1999-2004 <NAME> */ #include <stdio.h> #include <stdlib.h> #include "libperfctr.h" #include "arch.h" void do_print(FILE *resfile, const struct perfctr_cpu_control *cpu_control, const struct perfctr_sum_ctrs *s...
/*************************************************************************** ** The BSD 3-Clause License. http://www.opensource.org/licenses/BSD-3-Clause ** ** This file is part of 'MinGW-W64' project. ** Copyright (c) 2011,2012,2013,2014 by niXman (i dotty nixman doggy gmail dotty com) ** Copyright (c) 2012,2013,2014...
/* Author By: <NAME> * Licence: MIT https://choosealicense.com/licenses/mit/ * Adapted from pong.c which has the following license notice: * Author: <NAME> * License: Licensed under the Creative Commons Attribution License. */ #define BLC 4 #define RESET 7 #define CMD_ADDR 0x4000 #define DATA_ADDR 0x4100...
//TODO: MOVE IT!!! /**********************(C) COPYRIGHT 2017 e-Design Co.,Ltd.********************* * FileName : Disk.c * Description : * Author : SNAKE * History : *******************************************************************************/ #include "Disk.h" #include "msdusb_scsi.h" #i...
/** * FreeRDP: A Remote Desktop Protocol Implementation * Android Event System * * Copyright 2013 <NAME> * Copyright 2013 Thincast Technologies GmbH, Author: <NAME> * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * fi...
/* * This file and its contents are licensed under the Timescale License. * Please see the included NOTICE for copyright information and * LICENSE-TIMESCALE for a copy of the license. */ #include <postgres.h> #include <nodes/extensible.h> #include <nodes/execnodes.h> #include <nodes/nodeFuncs.h> #include <executor/...