text
stringlengths
7.55k
41.9k
/* * (C) Copyright 2002, <NAME>. * You may freely use this program, but: it offered strictly on an AS-IS, AT YOUR OWN * RISK basis, there is no warranty of fitness for any purpose, and the rest of the * usual yada-yada. Please keep this notice and the copyright in any distributions * or modifications. * * This i...
/* Copyright Massachusetts Institute of Technology 1985 */ #include "copyright.h" /* Copyright (C) 1993-1994, 2001-2019 Free Software Foundation, 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 Foun...
/* * Copyright 2015 Rockchip Electronics 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...
/** * (C) Copyright 2019 Intel Corporation. * * 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...
#include <TargetConditionals.h> /* config.h. Generated from config.h.in by configure. */ /* config.h.in. Generated from configure.ac by autoheader. */ /* Version number of bsdcpio */ #define BSDCPIO_VERSION_STRING "2.8.3" /* Version number of bsdtar */ #define BSDTAR_VERSION_STRING "2.8.3" /* Define to 1 if you...
/* * abc2midi - program to convert abc files to MIDI files. * Copyright (C) 1999 <NAME> * e-mail: <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...
/* Copyright (C) 1997,2006, <NAME> */ #include <math.h> #include <stdio.h> #include"simpson.h" double gauss( double (*func)(double),double a,double b, int n) { double const X2[2]={2.113249E-01,7.886751E-01 }; double const F2[2]={5.000000E-01,5.000000E-01 }; double const X3[3]={1.127017E-01,5.000000E-01 ,8.872...
// // Copyright (c) 2019 <NAME> <<EMAIL>> // Copyright (c) 2019 [anp/hsw] <<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...
/* * Copyright (C) 2007 <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 restriction, including * without limitation the rights to use, copy, mo...
// <NAME> <<EMAIL>> int test_func() { char source[21] = "the character string"; char dest[12]; // ruleid: raptor-incorrect-use-of-strncpy-stpncpy-strlcpy strncpy(dest, source, sizeof(source)-1); } // https://raw.githubusercontent.com/illumos/illumos-gate/61aaa916808c601f9ee36d96c05ee9dac211d09e/usr/src/cmd/whodo...
#include <ctype.h> #include <errno.h> #include <fcntl.h> #include <stdarg.h> #include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/ioctl.h> #include <sys/types.h> #include <termios.h> #include <time.h> #include <unistd.h> /* defines */ #define EDI_VERSION "0.0.1" #define EDI_TA...
/* / _____) _ | | ( (____ _____ ____ _| |_ _____ ____| |__ \____ \| ___ | (_ _) ___ |/ ___) _ \ _____) ) ____| | | || |_| ____( (___| | | | (______/|_____)_|_|_| \__)_____)\____)_| |_| (C)2013 Semtech Description: Ping-Pong implementation License: Revised BSD License, see LICE...
/* Copyright (c) 2020 M.A.X. Port Team * * 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, publi...
/* * *************************************************************************** * Copyright (C) 2015 Marvell International Ltd. * *************************************************************************** * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU Gener...
/* * ToRT - Tetris device with toy-grade OSEK/VDX-inspired RTOS * * emulator.c: Linux emulator for the "Tetris Device" * * Copyright (c) 2019, <NAME> <<EMAIL>> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following...
/* * CDDL HEADER START * * The contents of this file are subject to the terms of the * Common Development and Distribution License (the "License"). * You may not use this file except in compliance with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolar...
#include <stdlib.h> #include <stdio.h> #include <time.h> #include <pthread.h> #include "src/irc.h" int user_input_index = 0; int user_input_length = 0; char last_user_input[128]; char user_input[128]; int is_input_insert = 0; int flashing_indication = 0; #define SCREEN_DATA_LINE_COUNT 10 typedef struct pipe_data_typ...
/* $Id$ */ /* FuncContainer Obit function container process */ /*--------------------------------------------------------------------*/ /*; Copyright (C) 2005-2010 */ /*; Associated Universities, Inc. Washington DC, USA. */ /*; ...
/*************************************************************************************** * @file output.c * @version V1.0 * @date 18. Jan 2018 * * @note * VORAGO Technologies * * @note * Copyright (c) 2013-2016 VORAGO Technologies. * * @par * BY DOWNLOADING, INSTALLING OR USING THIS SOFTWARE, YOU...
// 0x07011680 - 0x07011698 static const Lights1 ttm_seg7_lights_07011680 = gdSPDefLights1( 0x7f, 0x7f, 0x7f, 0xff, 0xff, 0xff, 0x28, 0x28, 0x28 ); // 0x07011698 - 0x070116B0 static const Lights1 ttm_seg7_lights_07011698 = gdSPDefLights1( 0x5d, 0x5d, 0x5d, 0xbb, 0xbb, 0xbb, 0x28, 0x28, 0x28 ); // 0x070...
/* lib.c - various reusable stuff. * * Copyright 2006 <NAME> <<EMAIL>> */ #include "toys.h" void verror_msg(char *msg, int err, va_list va) { char *s = ": %s"; fprintf(stderr, "%s: ", toys.which->name); if (msg) vfprintf(stderr, msg, va); else s+=2; if (err) fprintf(stderr, s, strerror(err)); putc('\n...
/* turtlesc Simple array-based turtle graphics engine in C. Exports to BMP files. Author: <NAME>, James Madison University, August 2015 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 F...
/* -*- Mode: C; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Thread management for memcached. */ #include "memcached.h" #include <platform/cbassert.h> #include <stdio.h> #include <errno.h> #include <stdlib.h> #include <string.h> #include "log.h" #define ITEMS_PER_ALLOC 64 extern struct hash_op...
/* * Copyright (c) 2013-2014, ARM Limited and Contributors. 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 * l...
/****************************************************************** * librta library * Copyright (C) 2003-2014 <NAME> (<EMAIL>) * * This program is distributed under the terms of the MIT License. * See the file COPYING file. *****************************************************************/ /******************...
// Copyright 2021 DeepMind Technologies Limited // // 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 la...
/* ============================================================================ Name : dc2uddf.c Author : <NAME> Version : Copyright : Copyright (c) 2012-2013 <NAME> Based on code originally Copyright (C) 2009 <NAME> Description : A simple tool that utilizes libdivecomputer to dow...
#include "syscalls.h" #include "../lib.h" #include "syscall_linkage.h" #include "../filesystem.h" #include "../page.h" #include "../x86_desc.h" #include "../devices/keyboard.h" #include "../devices/rtc.h" #include "../schedule.h" typedef uint32_t function(); /* Jump tables for file operations based on file type */ ui...
/* * Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana * University Research and Technology * Corporation. All rights reserved. * Copyright (c) 2004-2006 The University of Tennessee and The University * of Tennessee Resea...
/* * Copyright (C) 2010 Google, Inc. * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundation, and * may be copied, distributed, and modified under those terms. * * This program is distributed in the hope that it will be useful, * ...
/* * Copyright (c) 2013-2016, 2018 by Farsight Security, 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, co...
/** * @file bl654_sensor.c * @brief Connects to BL654 Sensor and configures ESS service for notification. * * Copyright (c) 2020 Laird Connectivity * * SPDX-License-Identifier: Apache-2.0 */ #include <logging/log.h> #define LOG_LEVEL LOG_LEVEL_DBG LOG_MODULE_REGISTER(bl654_sensor); /***************************...
/* * MD4C: Markdown parser for C * (http://github.com/mity/md4c) * * Copyright (c) 2016-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 wi...
/* Copyright (C) 2010, 2011 <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 AUTHOR DISCLAIMS ...
/* Copyright (c) 2004-2013 uim Project https://github.com/uim/uim All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright not...
/* * (C) Gražvydas "notaz" Ignotas, 2012 * * This work is licensed under the terms of any of these licenses * (at your option): * - GNU GPL, version 2 or later. * - GNU LGPL, version 2.1 or later. * - MAME license. * See the COPYING file in the top-level directory. */ #include <stdio.h> #include <SDL.h> #i...
/* $OpenBSD: hello.c,v 1.56 2016/07/01 23:36:38 renato Exp $ */ /* * Copyright (c) 2013, 2016 <NAME> <<EMAIL>> * Copyright (c) 2009 <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 notic...
/* emd.c Last update: 3/14/98 An implementation of the Earth Movers Distance. Based of the solution for the Transportation problem as described in "Introduction to Mathematical Programming" by <NAME> and <NAME>, McGraw-Hill, 1990. Copyright (C) 1998 <NAME> Computer Science Department...
/* * SpanDSP - a series of DSP components for telephony * * lpc10_voicing.c - LPC10 low bit rate speech codec. * * Written by <NAME> <<EMAIL>> * * Copyright (C) 2006 <NAME> * * All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesse...
/* ---------------------------------------------------------------------------- * SAM Software Package License * ---------------------------------------------------------------------------- * Copyright (c) 2011, Atmel Corporation * * All rights reserved. * * Redistribution and use in source and binary f...
/*- * Copyright (c) 2002 <NAME> * Copyright (c) 2008 <NAME> * Copyright (c) 2018 <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 t...
/* Copyright (c) 2012 <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, distribute, sub...
/* * newtest.c * * Copyright (c) 2014 <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...
/* * libnogg: a decoder library for Ogg Vorbis streams * Copyright (c) 2014-2016 <NAME> <<EMAIL>> * * This software may be copied and redistributed under certain conditions; * see the file "COPYING" in the source code distribution for details. * NO WARRANTY is provided with this software. */ #include "include/n...
/* * This file is released under the terms of the Artistic License. Please see * the file LICENSE, included in this package, for details. * * Copyright (C) 2003-2006 <NAME> & Open Source Development Labs, Inc. * * Based on TPC-C Standard Specification Revision 5.0 Clause 2.8.2. */ #include <sys/types.h> #inclu...
#ifndef JSI_AMALGAMATION #include "jsiInt.h" #endif #include <errno.h> #include <sys/time.h> #ifdef HAVE_READLINE # include <readline/readline.h> # include <readline/history.h> #endif void* Jsi_Realloc(void *m,unsigned int size) { return realloc(m,size); } void* Jsi_Malloc(unsigned int size) { return malloc(size); } ...
#include "port_cfg.h" #define TAG "cfg" #ifdef CONFIG_MTK_ENABLE_MD1 static struct ccci_port md1_ccci_ports[] = { /* network port first for performace */ {CCCI_CCMNI1_TX, CCCI_CCMNI1_RX, 3, 3, 0xF4, 0xFF, 8, &net_port_ops, 0xF1, "ccmni0",}, {CCCI_CCMNI2_TX, CCCI_CCMNI2_RX, 3, 4, 0xF4, 0xFF, 8, &net_port_ops, 0x...
/* PDCurses */ #include <curspriv.h> /*man-start************************************************************** color ----- ### Synopsis bool has_colors(void); int start_color(void); int init_pair(short pair, short fg, short bg); int pair_content(short pair, short *fg, short *bg); int init_exten...
/************************************************************************ * * * Fast DCT for image compression scheme * * * * Author: <NAME>, CRAN UMR 7039, Nancy-Université, CNRS * * Date: march, 16 2012...
/* For copyright information, see olden_v1.0/COPYRIGHT */ #include <stdio.h> #include <stdlib.h> #include "defines.h" #if defined(__linux__) #include <malloc.h> #endif VERTEX_PTR *vp ; struct VERTEX *va ; EDGE_PTR *next ; VERTEX_PTR *org ; int num_vertices, num_edgeparts, stack_size ; int to_lincoln, to_off, to_3d_...
#include <zlib.h> #include <string.h> #include <math.h> #include <stdio.h> #include "util.h" #include "vcf.h" #include "memutil.h" #define VCF_GTYPE_MISSING -1 const char *vcf_fix_headers[] = {"#CHROM", "POS", "ID", "REF", "ALT", "QUAL", "FILTER", "INFO", "FORMAT"}; /** * Allocates memory for VCFInfo str...
/* * rule.c * * Created on: 20 sept. 2016 * Created by: <NAME> <<EMAIL>> */ #include <stdio.h> #include <errno.h> #include <libxml/xmlreader.h> #include "rule.h" #define str_equal(X,Y) xmlStrcmp( (const xmlChar*)X, (const xmlChar*)Y) == 0 enum time_unit {YEAR, MONTH, DAY, HOUR, MINUTE, SECOND, MILI_SECOND, ...
/* * Copyright (C) 2015 University of Oregon * * You may distribute under the terms of either the GNU General Public * License or the Apache License, as specified in the LICENSE file. * * For more information, see the LICENSE file. */ /* hmcmcgcbcaA.c - adapted from hmcmcgcbca_lek_800_v2.c This pulse sequ...
#include "log.h" void initInternMem(void){ static const char *fileSys = "SPIFFS"; ESP_LOGI(fileSys, "Initializing SPIFFS"); //spiffsSemaphore = xSemaphoreCreateBinary(); // if(spiffsSemaphore == NULL) { // ESP_LOGI(fileSys, "spiffs semaphore create failed"); // writeLog("spiffs semaph...
/* * Multi2Sim * Copyright (C) 2012 <NAME> (<EMAIL>) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * ...
/* * Copyright 2022 The University of Adelaide * * This file is part of CacheFX. * * 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-...
/* Copyright (C) 1995-2001 Activision, Inc. 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 your option) any later version. This library is distribu...
#include "c_img.h" #include "seamcarving.h" #include <stdio.h> #include <math.h> #define SQ(x) (x*x) void calc_energy(struct rgb_img* im, struct rgb_img** grad) { int height = im->height, width = im->width, red, blue, green; int rx, gx, bx, ry, gy, by; create_img(grad, height, width); for (int i = 0; i < height; i++) {...
#define LOG_TAG "MAIN" #include "ls_ble.h" #include "platform.h" #include "prf_diss.h" #include "log.h" #include "ls_dbg.h" #include "cpu.h" #include "lsuart.h" #include "builtin_timer.h" #include <string.h> #include "co_math.h" #include "io_config.h" #define UART_SVC_ADV_NAME "LS UART Server Mult Link" #define UART_S...
#include <longnam.h> #include <math.h> #include <stdlib.h> #include <string.h> #include "timeSystem/glastscorbit.h" /* Tolerance of 1 millisecond in checking time boundaries */ static const double time_tolerance = 1.e-3; /* in units of seconds */ /* Notes on the time tolerance /* <NAME>, GSSC /* October 20th, 2009...
/********************************************************************************** Avatar Tools Copyright (c) 2019, National Technology and Engineering Solutions of Sandia, LLC All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the foll...
/* wssedemo.c WS-Security plugin demo application. See comments below. gSOAP XML Web services tools Copyright (C) 2000-2008, <NAME>, Genivia Inc., All Rights Reserved. This part of the software is released under one of the following licenses: GPL or Genivia's license for commercial use. ----------------------------...
/*! \file \brief A parallel page-rank program using 1D distribution of the graph \date Started 5/29/2013 \author George */ #define _LARGEFILE64_SOURCE #include <GKlib.h> #include <mpi.h> #include <sys/types.h> #include <sys/time.h> #include <sys/resource.h> #include <sys/stat.h> #include <sys/mman.h> #include <fcntl....
#include "gpusd_driver.h" #include <math.h> #include <cuda.h> //#include <stdio.h> #if defined(WIN32) || defined(WIN64) // we'll need this for the high-resolution counter #include <windows.h> #define TIMESTAMP LARGE_INTEGER #define GET_TIMESTAMP(x) QueryPerformanceCounter(&x) #endif #define BATCH_SIZE 512 #define _...
/* Copyright (c) 2020, <NAME> <<EMAIL>>. All rights reserved. */ /* Analyze cribbage hands. Given a cribbage hand (six cards), which two cards should you discard to the crib to maximize your chances of getting the best score? */ #include <stdlib.h> #include <stddef.h> #include <stdio.h> #include <stdbool.h> #incl...
/* BEGIN_ICS_COPYRIGHT5 **************************************** Copyright (c) 2015-2017, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyrig...
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ #include "common.h" #include <sys/select.h> #include <sys/inotify.h> #include <sys/ioctl.h> #include <dirent.h> #include <sys/time.h> #include <sys/types.h> #include <unistd.h> #include <ccnet/job-mgr.h> #include "seafile-session.h" #inclu...
/* Copyright (C) 2009 <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 3 of the License, or (at your option) any later version. This program is distributed in the hope t...
/*- * Copyright (c) 2003-2007 <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...
#include "pbf_parser.h" /* Set string encoding to UTF8 See http://tenderlovemaking.com/2009/06/26/string-encoding-in-ruby-1-9-c-extensions.html */ static VALUE str_new(const char *str) { VALUE string = rb_str_new2(str); #ifdef HAVE_RUBY_ENCODING_H int enc = rb_enc_find_index("UTF-8"); if(enc != -1) rb_enc...
// SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB /* * Copyright (c) 2016 Mellanox Technologies Ltd. All rights reserved. * Copyright (c) 2015 System Fabric Works, Inc. All rights reserved. */ #include <linux/skbuff.h> #include <linux/if_arp.h> #include <linux/netdevice.h> #include <linux/if.h> #include <linux/if...
/**********************************************************************/ /* ____ ____ */ /* / /\/ / */ /* /___/ \ / */ /* \ \ \/ ...
/*- * Copyright (c) 2002, 2003 <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...
#include <stdlib.h> #include <sys/types.h> #include <sys/socket.h> #include <sys/uio.h> #include <netdb.h> #include <unistd.h> #include <fcntl.h> #include <string.h> #include <stdint.h> #include <errno.h> #include <stdio.h> #include "mcmc.h" // TODO: if there's a parse error or unknown status code, we likely have a /...
/* Copyright (c) 1998 - 2002 <NAME> <<EMAIL>> and <NAME> <<EMAIL>> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any lat...
/* (c) Copyright 2001-2009 The world wide DirectFB Open Source Community (directfb.org) (c) Copyright 2000-2004 Convergence (integrated media) GmbH All rights reserved. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License ...
/* * Copyright (C) <NAME> */ #include <ngx_config.h> #include <ngx_core.h> #include <ngx_http.h> typedef struct { u_char color; u_char dummy; u_short len; ngx_queue_t queue; ngx_msec_t last; ngx_uint_t excess; /* integer valu...
#include <stdlib.h> #include <stdio.h> #include <stdarg.h> #include <inttypes.h> #include <ctype.h> #include <string.h> #include <assert.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <unistd.h> #include "util.h" #include "parse.h" static Node *specializenode(Node *g, Tysubst *tsmap); Ty...
/* * Copyright (C) 2017 The Android Open Source Project * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation * files (the "Software"), to deal in the Software without * restriction, including without limitation the rights to use, copy, *...
//------------------------------------------------------------------------- /* Copyright (C) 1997, 2005 - 3D Realms Entertainment This file is part of Shadow Warrior version 1.2 Shadow Warrior is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as publish...
/* Memory management for efiemu */ /* * GRUB -- GRand Unified Bootloader * Copyright (C) 2009 Free Software Foundation, Inc. * * GRUB 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 versio...
#include <stdio.h> #include <stdlib.h> #include <time.h> #include <unistd.h> //_getch*/ #include <termios.h> //_getch*/ void input_manual(); void input_file(char *); void generator(); int choice1(); int choice2(); void print(); void rows(); void columns(); void block(); void inter(); int sudoku(); int checker(); vo...
/* * Copyright (c) 2014 - Qeo LLC * * The source code form of this Qeo Open Source Project component is subject * to the terms of the Clear BSD license. * * You can redistribute it and/or modify it under the terms of the Clear BSD * License (http://directory.fsf.org/wiki/License:ClearBSD). See LICENSE file * fo...
/* * FreeRTOS Kernel V10.2.1 * Copyright (C) 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in * the Software without restriction, includ...
/* * Copyright (c) 2016-2019, Swiss Federal Institute of Technology (ETH Zurich) * 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 c...
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\ * This is GNU Go, a Go program. Contact <EMAIL>, or see * * http://www.gnu.org/software/gnugo/ for more information. * * * * Copyright 1999, 2000, 2001, 2002, 2003...
/* * vmcs.c: create and manage mini-VT VM for APs to handle INIT-SIPI-SIPI * * Copyright (c) 2003-2010, Intel Corporation * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * * Redist...
/* ** Copyright (C) 2020-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, merg...
// Copyright 2020, <NAME> <<EMAIL>> // Licensed under the Apache License, Version 2.0. #include <stdio.h> #include <stdlib.h> #include <stdarg.h> #include <stdint.h> #include <stdbool.h> #include <strings.h> #include <string.h> #include <fcntl.h> #include <unistd.h> #include <sys/stat.h> #define nil 0 void error(co...
/*! * @file linux_mon.c * @brief File Operations OS wrapper functionality * @author mdaftedar * @sa wilc_wfi_netdevice.h * @date 01 MAR 2012 * @version 1.0 */ #include "wilc_wfi_cfgoperations.h" #include "linux_wlan_common.h" #include "wilc_wlan_if.h" #include "wilc_wlan.h" #ifdef WILC_FULLY_HOSTING_AP #...
/* Copyright 2019 Dolphin Interconnect Solutions AS 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 ...
/*////////////////////// // // MEXmultiResolution // // G.Sfikas 14 Mar 2008 ////////////////////////*/ #define EPS 10e-10 #define DIRECTIONS 2 #define NHOODSIZE 4 #define SQR(x) ((x)*(x)) #define MAXK 100 #define PAPARA printf("PAPARA!\n"); #include "mex.h" #include <stdlib.h> #include <math.h> ...
/* $OpenBSD: vme.c,v 1.51 2011/04/12 21:38:18 miod Exp $ */ /* * Copyright (c) 2004, <NAME>. * Copyright (c) 1999 <NAME>, Jr. * Copyright (c) 1995 <NAME> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditi...
/************************************************************************** * * * Copyright (C) 1988, 1989, 1990, Silicon Graphics, Inc. * * * * These coded instructions, statements, and computer programs contain * * unpublished proprietary information of Silicon Graphics, Inc., and...
/** * BXON - Binary eXchange Object Notation * Under MIT License * Copyright © <NAME> * https://github.com/nczeroshift/bxon * Version ??.??.?? * 2015-08-05 */ #include "bxon.h" #include <stdlib.h> #include <string.h> #define BXON_INIT_CAPACITY 10 #define BXON_READ(ctx,size,data) (ctx->read) (ctx,size,(ui...
/* packet-erspan.c * Routines for the disassembly of Cisco's ERSPAN protocol * * Copyright 2005 <NAME> (see AUTHORS file) * Updates for newer versions by <NAME> <jason at masker.net> * Updates to support ERSPAN3 by <NAME> <<EMAIL>> * * Wireshark - Network traffic analyzer * By Gerald Combs <<EMAIL>> * Copyrigh...
// SPDX-License-Identifier: GPL-2.0 /* * Intel Alder Lake PCH pinctrl/GPIO driver * * Copyright (C) 2020, Intel Corporation * Author: <NAME> <<EMAIL>> */ #include <linux/mod_devicetable.h> #include <linux/module.h> #include <linux/platform_device.h> #include <linux/pinctrl/pinctrl.h> #include "pinctrl-intel.h" ...
/* * If not stated otherwise in this file or this component's License file * the following copyright and licenses apply: * * Copyright 2017 RDK Management * * 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 cop...
/* Copyright(c) 1986 Association of Universities for Research in Astronomy Inc. */ #include <stdio.h> #include <ctype.h> #include <string.h> #include <stdlib.h> #include <unistd.h> #define import_spp #define import_error #include <iraf.h> #include "mkpkg.h" #include "extern.h" #include "../bootProto.h" /* DO_MKPK...
/* main.c raycasting program follows the explanation at permadi.com/tutorial/raycast/ differs in that it uses vectors and matrices but the pricipals are the same */ #include <stdio.h> #include <stdint.h> #include <stdlib.h> #include <math.h> #include "utility.h" #include "quickscreen.h" #include "vec...