text
stringlengths
7.55k
41.9k
/* * This file is part of ToaruOS and is released under the terms * of the NCSA / University of Illinois License - see LICENSE.md * Copyright (C) 2021 <NAME> */ #include <stdlib.h> #include <assert.h> #include <unistd.h> #include <dirent.h> #include <fcntl.h> #include <time.h> #include <sched.h> #include <math.h> ...
/* * Copyright (C) 2014-2015 NagraVision * * 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 ...
/* * Copyright 2017 AVSystem <<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 agr...
/* ximage-loader.c --- converts image files or data to XImages or Pixmap. * xscreensaver, Copyright (c) 1998-2018 <NAME> <<EMAIL>> * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, provided that * the above copyright notic...
/* * Copyright 2021, 2022 Misha * Copyright 2021, 2022 NSG650 * Copyright 2021, 2022 Sebastian * * 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/...
/* * Copyright (c) 2017 Igel Co., 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 list of condit...
/*************************************************************************** Copyright (c) 2013 - 2017, The OpenBLAS Project 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 co...
#ifndef PROGRESS_CHAPTER #define PROGRESS_CHAPTER -1 #endif #ifndef PROGRESS_PAGE #define PROGRESS_PAGE -1 #endif #ifndef PROGRESS_YEAR #define PROGRESS_YEAR -1 #endif #ifndef PROGRESS_MONTH #define PROGRESS_MONTH -1 #endif #ifndef PROGRESS_DAY #define PROGRESS_DAY -1 #endif #ifndef PROGRESS_HOUR #defin...
// Copyright 2017 The Wuffs Authors. // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed...
//============================================================================ // VARS NOT REFERENCED BY C CODE //============================================================================ #ifndef VER #define VER "unknown" #endif #ifndef REV #define REV "unk" #endif // // constants // #define FALSE 0 #define T...
/* * MemTest86+ V5 Specific code (GPL V2.0) * By <NAME>, <EMAIL> * http://www.canardpc.com - http://www.memtest.org */ #include "test.h" #include "io.h" #include "pci.h" #include "msr.h" #include "spd.h" #include "screen_buffer.h" #include "jedec_id.h" #define NULL 0 #define SMBHSTSTS smbusbas...
/* * lws-minimal-secure-streams-alexa * * This file is made available under the Creative Commons CC0 1.0 * Universal Public Domain Dedication. */ #include <libwebsockets.h> #include <string.h> #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> #include <fcntl.h> #include <mpg123.h> #include "priva...
#include "dungeon.h" #include <stdlib.h> #include <stdbool.h> #define BLANK (-2) #define CORRIDOR (-1) #define NODE_UNUSED (-2) #define NODE_CROSS (-1) #define BFS_MAX_DEPTH 8 typedef struct _BOARD { int *board; int width; int height; } BOARD; typedef struct _PANEL { int r[2]; int size[2]; int ...
#include "kobalt/cgen.h" #include "kobalt/error.h" #include "kobalt/options.h" #include "abl/mem.h" #include "abl/uid.h" #include "abl/fs.h" #include "abl/log.h" #include "kobalt/type.h" #include "abl/strstack.h" #include "abl/str.h" #include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #inclu...
/* gmx_amide_charge.c contains subroutines used for manipulating atomic * charges and called by g_amide. * * Written by <NAME> (2015) */ #include "gmx_amide_bond.h" #include "gmx_amide_charge.h" /* Charge file format. * * A charge map file contains two types of entries. The REPLACE entry * specifies global...
/*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~* ** ** ** This file forms part of the Underworld geophysics modelling application. ** ** ...
/* Test exercising buffer overflow warnings emitted for raw memory and string manipulation builtins involving ranges of sizes and strings of varying lengths. */ /* { dg-do compile } */ /* { dg-options "-O2 -ftrack-macro-expansion=0" } */ #define INT_MAX __INT_MAX__ #define PTRDIFF_MAX __PTRDIFF_MAX__ #def...
#include <signal.h> #include <stdio.h> #include <stdbool.h> #include <string.h> #include <stdlib.h> #include <unistd.h> #include <sys/types.h> #include <pthread.h> #include <time.h> #include "main.h" const int QUIT = 0; const int INIT = 1; const int KILL = 2; const int LIST = 3; const int DUMP = 4; const int DUMP_ACCS...
#include "postgres.h" #include "parser/parse_type.h" #include "parser/scanner.h" #include "plora_kwlist.h" #include "plpgsql.h" #include "plora_gram.h" #define PG_KEYWORD(a,b,c) {a,b,c} const ScanKeyword plora_reserved_keywords[] = { PG_KEYWORD("all", POK_ALL, RESERVED_KEYWORD), PG_KEYWORD("alter", POK_ALTER, RES...
/* * This file is part of the TREZOR project, https://trezor.io/ * * Copyright (C) 2014 <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 3 of the L...
#include "includes.h" uint8_t hub75_buff[HUB75_PANEL_WIDTH/8 * HUB75_PANEL_HEIGHT]; uint8_t hub75_color = HUB75_Color_Pink; uint8_t hub75_blink = 0; uint8_t hub75_panel_buff[HUB75_PANEL_WIDTH * HUB75_PANEL_HEIGHT / 2 * 3]; void send_clock(void) { HUB75_CLK_H(); HUB75_CLK_L(); } void send_latch(uns...
/*- * Copyright (c) 1998 - 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 lis...
#include <stm32l1xx_rcc.h> #include <string.h> // For memset #include <delay.h> #include <uart.h> #include <wolk.h> #include <GPS.h> GPS_Data_TypeDef GPSData; // Parsed GPS information bool GPS_new_data; // TRUE if received new GPS packet bool GPS_parsed; ...
/*** B4SOI 12/16/2010 Released by Tanvir Morshed ***/ /********** * Copyright 2010 Regents of the University of California. All rights reserved. * Authors: 1998 <NAME>, <NAME> and <NAME> * Authors: 1999-2004 <NAME>, <NAME>, <NAME>, b3soinoi.c * Authors: 2005- <NAME>, <NAME>, <NAME>, <NAME>. * Authors: 2009- <...
/* jargrep.c - main functions for jargrep utility Copyright (C) 2002, 2003 Free Software Foundation Copyright (C) 1999, 2000 <NAME> Copyright (C) 2000 <NAME> Parts of this program are base on Bryan Burns work with fastjar Copyright (C) 1999. This program is free software; you can redistribute it and...
/* * LibXDiff by <NAME> ( File Differential Library ) * Copyright (C) 2003-2006 <NAME>, <NAME> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the L...
/*- * Copyright (c) 2004, 2005 <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...
/* * This file is part of the coreboot project. * * Copyright (C) 2009 coresystems GmbH * Copyright (C) 2014 Google 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; version 2 of th...
// GloVe: Global Vectors for Word Representation // // Copyright (c) 2014 The Board of Trustees of // The Leland Stanford Junior University. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obt...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** * @attention * * <h2><center>&copy; Copyright (c) ...
/** ****************************************************************************** * @file Display/LCD_AnimatedPictureFromSDCard/Src/main.c * @author MCD Application Team * @brief This file provides main program functions ****************************************************************************** *...
/******************************************************************************* * Ledger App - Bitcoin Wallet * (c) 2016-2019 Ledger * * 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 * ...
//******************************************************************* //Author: <NAME> // <NAME> // <NAME> // //Date: October 2014 // //Description: Demonstration code for Terraswarm near-field radio // To be used with USRP radio receiver // Measures & Transmitts temperature eve...
/* Copyright 2020 CanCyber Foundation & EPST Authors 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 ...
/* Copyright (c) 2010-2011 The Chromium OS Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. * * TPM command library. */ #include <stdint.h> #include <string.h> #include <openssl/hmac.h> #include <openssl/rand.h> #include <openssl/r...
/* Copyright (c) 2000, 2010, Oracle and/or its affiliates. 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; version 2 of the License. This program is distributed i...
/** * Copyright (C) 2020 Axis Communications AB, Lund, Sweden * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
/* @(#) implementation of packet-io functions for udpxy * * Copyright 2008-2011 <NAME> (<EMAIL>) * * This file is part of udpxy. * * udpxy 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...
#include "petiga.h" typedef struct { PetscReal nu; PetscScalar fx,fy,fz; TS ts; /* XXX */ } AppCtx; void Tau(PetscReal J[3][3],PetscReal dt, PetscScalar u[],PetscReal nu, PetscScalar *tauM,PetscScalar *tauC) { PetscReal C_I = 1.0/12.0; PetscInt i,j,k; PetscReal G[3][3] = {{0}}; for...
/* * Copyright 2010 <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, distrib...
#define _DEFAULT_SOURCE /* strdup(), mkstemp() */ #include <fcntl.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <assert.h> #include <unistd.h> #include <sys/mman.h> #include <sys/stat.h> #include <Judy.h> #include <traildb.h> #include <tdb_io.h> #include <tdb_bits.h> #include <xxhash/xxhash...
#include "u.h" #include "../port/lib.h" #include "mem.h" #include "dat.h" #include "fns.h" #include "../port/error.h" Ref pidalloc; Ref noteidalloc; struct { Lock; Proc *arena; Proc *free; }procalloc; struct { Lock; Waitq *free; }waitqalloc; typedef struct { Lock; Proc *head; Proc *tail; int n; } Schedq; ...
// // Copyright (c) 2019-2022 yanggaofeng // #include <yangavutil/video/YangPicConvert.h> #include <yangutil/yangtype.h> #include <stdio.h> #include <stdlib.h> #include <string.h> typedef struct RGB24{ uint8_t b; uint8_t g; uint8_t r; }RGB24 ; #define MY(a,b,c) (( a...
#ifndef lint static const char RCSid[] = "$Id: rholo.c,v 3.80 2018/10/05 19:19:16 greg Exp $"; #endif /* * Radiance holodeck generation controller */ #include <stdio.h> #include <time.h> #include <signal.h> #include <sys/stat.h> #include <string.h> #include "platform.h" #include "rterror.h" #include "resolu.h" #inc...
#include <string.h> #include <stdio.h> #if !defined(__APPLE__) #include <malloc.h> #endif #include <IL/il.h> #include <IL/ilu.h> /* This program (ilur) 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, ei...
/*---------------------------------------------------------------------- * * pgquarrel -- comparing database schemas * * aggregate.c * Generate AGGREGATE commands * * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * CREATE AGGREGATE * DROP AGGREGATE * ALTER AGGREGATE * COMMENT ON AGGREGATE * * TODO *...
/* * This file and its contents are supplied under the terms of the * Common Development and Distribution License ("CDDL"), version 1.0. * You may only use this file in accordance with the terms of version * 1.0 of the CDDL. * * A full copy of the text of the CDDL should have accompanied this * source. A copy o...
/* * SDL_sound -- An abstract sound format decoding API. * Copyright (C) 2001 <NAME>. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at...
/* Copyright (c) 2020, Caltech IPAC. This code is released with a BSD 3-clause license. License information is at https://github.com/Caltech-IPAC/nexsciTAP/blob/master/LICENSE */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <inttypes.h> #include <float.h> #include <math.h> #include <ti...
typedef struct Alarms Alarms; typedef struct Block Block; typedef struct Blist Blist; typedef struct Chan Chan; typedef struct Crypt Crypt; typedef struct Dev Dev; typedef struct Dirtab Dirtab; typedef struct Egrp Egrp; typedef struct Evalue Evalue; typedef struct Etherpkt Etherpkt; typedef struct Fgrp Fgrp; typedef st...
/* Copyright 2017 <NAME> Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions...
/* * Licensed to the OpenAirInterface (OAI) Software Alliance under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The OpenAirInterface Software Alliance licenses this file to You under * the OAI Public Lic...
/** * \file ********************************************************************* * * \brief AVR477QTouch buttons handling implementation. * * Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries. * * \asf_license_start * * \page License * * Subject to your compliance with these terms, you ...
/* * vxworks_pcihw.c * * Author: <NAME> <<EMAIL>> * * Copyright: * Copyright (c) 2002, 2003 SFNT Finland Oy. * Copyright: * Copyright (c) 2002, 2003 SFNT Finland Oy. * All rights reserved * * VxWorks implementation of the SSH PCI hardware API (sshpcihw.h). * * This file works on most ix86...
/* * domain_update.c */ #include <jansson.h> #include <arpa/inet.h> #include <netinet/in.h> #include <rte_ring.h> #include <rte_rwlock.h> #include "webserver.h" #include "db_update.h" #include "domain_update.h" #include "util.h" #include "netdev.h" #include "view_update.h" #define DOMAIN_HASH_SIZE 0x3FFFF #def...
/******************************************************************************* * Copyright (C) Marvell International Ltd. and its affiliates * * This software file (the "File") is owned and distributed by Marvell * International Ltd. and/or its affiliates ("Marvell") under the following * alternative licensing t...
/* CF3 Copyright (c) 2015 ishiura-lab. Released under the MIT license. https://github.com/ishiura-compiler/CF3/MIT-LICENSE.md */ #include<stdio.h> #include<stdint.h> #include<stdlib.h> #include"test1.h" int8_t x2 = INT8_MAX; uint32_t x75 = UINT32_MAX; int8_t x76 = 11; int8_t x230 = 5; volatile int8_t x231 = -1; ...
#include <stdio.h> #include <stdlib.h> #include <memory.h> #include <string.h> #include <stdint.h> #include <unistd.h> #include <fcntl.h> #define int int64_t int MAX_SIZE; int *code, *code_dump, *stack; char *data; int *pc, *sp, *bp; int ax, cycle; // instruction set enum {IMM, LEA, JMP, JZ, ...
/* * Copyright (C) 2014 by * <NAME> (<EMAIL>, <EMAIL>) * ... and other members of the Reconstruction Team of <NAME>'s * lab (BME Dept. UCSC). * * 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 ...
#include "xmfract.h" #include "fractype.h" #include "macros.h" #include "helpdefs.h" #include "mpmath.h" #include "globals.h" #include "prototyp.h" #ifndef NO_IDENT #ident "$Id: formula_params.c,v 1.400 1995/06/20 15:39:23 darryl Exp $" #endif /* static functions */ static void get_formula_name_cb (Widget w, XtPoi...
/* * Copyright (c) 2005-2019, <NAME> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list of conditi...
/* usermode_packet.c Copyright: Copyright (c) 2002, 2003 SFNT Finland Oy. All rights reserved. This file implements the packet manipulation functions for the usermode interceptor. */ #include "sshincludes.h" #include "sshrand.h" #include "sshmutex.h" #include "sshcondition.h" #include "ss...
#include "mex.h" #include "math.h" #include "common.c" /* * This function MSFM2D calculates the shortest distance from a list of * points to all other pixels in an image, using the *Multistencil Fast Marching Method (MSFM). This method gives more accurate *distances by using second order derivatives and cross neig...
#pragma once #define MAX_SCRIPT_VARS 16 #define MAX_SCRIPT_SIZE 255 struct GAME_SCRIPT_THREAD { uint8_t Pad1[20]; // +00 uintptr_t dwScriptIP; // +20 uint8_t Pad2[36]; // +24 uint32_t dwLocalVar[32]; // +60 uint32_t dwTimers[2]; // +188 uint8_t Pad3[33]; // +196 uint8_t condResult; // +229 uint8_t P...
// annotated by chrono since 2016 // // * ngx_debug_point // * ngx_spawn_process // * ngx_signal_handler // * ngx_init_signals // * ngx_process_get_status /* * Copyright (C) <NAME> * Copyright (C) Nginx, Inc. */ #include <ngx_config.h> #include <ngx_core.h> #include <ngx_event.h> #include <ngx_channel.h> // 标记u...
/* * Copyright 2018 <NAME> * * 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 AUTHOR DISCLAIMS...
#include <linux/kernel.h> #include <linux/init.h> #include <linux/types.h> #include <linux/module.h> #include <linux/list.h> #include <linux/pci.h> #include <linux/dma-mapping.h> #include <linux/pagemap.h> #include <linux/sched.h> #include <linux/dmapool.h> #include <linux/mempool.h> #include <linux/spinlock.h> #includ...
/* procmgr -- init-like process manager * https://github.com/CylonicRaider/procmgr */ /* Main program */ #define _GNU_SOURCE #include <errno.h> #include <fcntl.h> #include <stdio.h> #include <signal.h> #include <string.h> #include <strings.h> #include <unistd.h> #include <sys/select.h> #include <sys/stat.h> #include...
/* * DCA encoder * Copyright (C) 2008 <NAME> * 2010 <NAME> * 2011 <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;...
/* SPDX-License-Identifier: MIT * Copyright (c) 2014-2021 <NAME> */ #include "../inc/kos_array.h" #include "../inc/kos_bytecode.h" #include "../inc/kos_constants.h" #include "../inc/kos_instance.h" #include "../inc/kos_entity.h" #include "../inc/kos_error.h" #include "../inc/kos_module.h" #include "../inc/kos_object...
/* Copyright (c) 2019 <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) 2011 The Chromium OS Authors. * * See file CREDITS for list of people who contributed to this * project. * * 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 versi...
/* See LICENSE for license details */ #include <cv_test.h> #include <cv_main.h> #include <cv_options/cv_options_desc.h> #include <cv_options/cv_options.h> #include <cv_options/cv_options_it.h> #include <cv_debug/cv_debug.h> #include <cv_algo/cv_array.h> #include <cv_thread/cv_thread.h> #include <cv_thread/cv_thread_de...
/* encodePatchTdb - Lay a trackDb.ra file from the pipeline gently on top of the trackDb system. */ #include "common.h" #include "linefile.h" #include "hash.h" #include "localmem.h" #include "options.h" #include "obscure.h" #include "errabort.h" #include "dystring.h" #include "portable.h" #include "ra.h" static char c...
/* ---------------------------------------------------------------------------- * SAM Software Package License * ---------------------------------------------------------------------------- * Copyright (c) 2014, Atmel Corporation * * All rights reserved. * * Redistribution and use in source and binary f...
// ******************************************************************************************* // ******************************************************************************************* // // File: debugger.c // Date: 5th September 2019 // Purpose: Debugger code // Author: <NAME> (<EMAIL>) // // ************...
/* * Copyright (c) 2000 <NAME> <<EMAIL>> * Copyright (c) 2001 <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 c...
/* remerge.c implements update via merging new postings with the old index * * written nml 2003-06-01 * */ #include "firstinclude.h" #include "index.h" #include "_index.h" #include "def.h" #include "btbulk.h" #include "fdset.h" #include "_postings.h" #include "postings.h" #include "iobtree.h" #include "str.h" #...
/* * Copyright (c) 2006 QLogic, Inc. All rights reserved. * Copyright (c) 2005, 2006 PathScale, 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 fro...
/*++ /* NAME /* multi_server 3 /* SUMMARY /* skeleton multi-threaded mail subsystem /* SYNOPSIS /* #include <mail_server.h> /* /* NORETURN multi_server_main(argc, argv, service, key, value, ...) /* int argc; /* char **argv; /* void (*service)(VSTREAM *stream, char *service_name, char **argv); /* int key; /* /* void mul...
#include <fs/ntfs.h> #include <mm/pmm.h> #include <lib/print.h> #include <stdbool.h> // created using documentation from: // https://dubeyko.com/development/FileSystems/NTFS/ntfsdoc.pdf // This is the total size of a file record, including the attributes // TODO: calculate this #define MIN_FILE_RECORD_SIZE 1024 //...
#include <string.h> #include <X11/cursorfont.h> #include <X11/Xlib.h> #include <sys/wait.h> #include <signal.h> #include "menu.h" #include "util.h" #include "ywm.h" #include "event.h" GC black_gc = NULL; GC focused_light_grey_gc = NULL; GC focused_dark_grey_gc = NULL; GC unfocused_light_grey_gc = NULL; GC unfocused_d...
/* Copyright (c) 2004-2017 Dovecot authors, see the included COPYING file */ #include "lib.h" #include "array.h" #include "buffer.h" #include "istream.h" #include "ostream.h" #include "str.h" #include "write-full.h" #include "message-parser.h" #include "mbox-storage.h" #include "mbox-sync-private.h" #include "istream-...
/******************************************************************************* * - FILE: bounded_fwdbck_sparse.c * - DESC: Bounded Forward/Backward Algorithm * (Sparse Space) *******************************************************************************/ /* imports */ #include <stdio.h> #i...
/* *|------------------------------------------------------------------------------- *| This source code is provided under the Apache 2.0 license and is provided -- *| AS IS with no warranty or guarantee of fit for purpose. See the project's -- *| LICENSE.md for details. -- *| Copyright <NAME> 2015....
/* Copyright 2018 The Chromium OS Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. * * The board-specific quirks needed by firmware updater. */ #include <assert.h> #include <stdio.h> #include <string.h> #include <sys/types.h> #incl...
/* * Copyright 2020 <NAME> * * 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 AUTHOR DISCLAIMS...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** * @attention * * Copyright (c) 2022 STMicroelectro...
/* * libuwifi - Userspace Wifi Library * * Copyright (C) 2005-2016 <NAME> (<EMAIL>) * * This source code is licensed under the GNU Lesser General Public License, * Version 3. See the file COPYING for more details. */ #include "platform.h" #include "util.h" #include "wlan80211.h" #include "wlan_util.h" #include ...
/* vim: tabstop=4 shiftwidth=4 noexpandtab * This file is part of ToaruOS and is released under the terms * of the NCSA / University of Illinois License - see LICENSE.md * Copyright (C) 2011-2014 <NAME> * Copyright (C) 2012 <NAME> * * Syscall Tables * */ #include <system.h> #include <process.h> #include <loggin...
// // Created by <NAME> on 28/05/2021. // #include "big_numbers.h" #include <stdlib.h> #include <stdio.h> #include <string.h> #include <ctype.h> int validate(const char *number) { if (number == NULL) return -1; if (strlen(number) <= 0 ) return 2; if (*(number) == 48 && strlen(number) > 1) return 2; // in ...
#include <string.h> #include "hkdf-sha.h" #include "mu_bignum.h" #include "mu_srp.h" #ifdef SRP_DEBUG #include <stdio.h> #define srp_print printf static void hex_dbg(char *name, void *buf, int buf_len) { char *p = (char *)buf; int i; srp_print("%s (%d): ", name, buf_len); for (i = 0; i < buf_len; i++) { if (i ...
#ifdef HAVE_CONFIG_H #include "config.h" #endif #include <kernaux/cmdline.h> #include <assert.h> #include <stdbool.h> #include <stddef.h> #include <stdlib.h> #include <string.h> #define ARGV_COUNT_MAX 100 #define BUFFER_SIZE 4096 static void test( const char *cmdline, size_t argv_count_max, size_t buffe...
// tsserror.c // // Copyright 2010 bitpick <<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 yo...
/* mkpasswd.c: Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015 Red Hat, Inc. This file is part of Cygwin. This software is a copyrighted work licensed under the terms of the Cygwin license. Please consult the file "CYGWIN_LICENSE" for ...
#include <stdio.h> #include <string.h> #include <stdlib.h> #include <stdint.h> #define MAX(x,y) ((x)>(y)?(x):(y)) #define MIN(x,y) ((x)<(y)?(x):(y)) #define S 2 #define K 3 #define MAX_BETA_LENGTH 1024 #define Tn 4 #define Tm 28 #define Tr 26 #define Tc 32 #define OnChipIB_Width 65 #define OnChipIB_Height 53 #defin...
/* * This program is one of the genome analysis tools. * This program calculates signals around summits(with fixed length) or regions. * See usage for detail. */ #include "parse_chr.h" #include "write_tab.h" #include "sort_list.h" #include "argument.h" #include "ga_my.h" #include <stdio.h> #include <stdlib.h> #in...
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* syscall_info.c :+: :+: :+: ...
/* * si5351.c * * Created: Jan 2020 * Author: Arjan Si5351 principle: ================= +-------+ +-------+ +------+ - Fxtal --> | * MSN | -- Fvco --> | / MSi | --> | / Ri | -- Fout --> +-------+ +-------+ +------+ ---Derivation of Fout--- ...
#include <assert.h> #include <errno.h> #include <float.h> #include <limits.h> #include <math.h> #include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <errol.h> #include <gmp.h> #include <inttypes.h> /* * local function declarations */ static bool opt_long(char...