text
stringlengths
3.12k
18.7k
/** * \file obj-list.c * \brief Object list construction. * * Copyright (c) 1997-2007 <NAME>, <NAME>, <NAME> * Copyright (c) 2013 <NAME> * * This work is free software; you can redistribute it and/or modify it * under the terms of either: * * a) the GNU General Public License as published by the Free Software...
/* Copyright (c) 2009-2018 <NAME> <<EMAIL>> All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 and Eclipse Distribution License v1.0 which accompany this distribution. The Eclipse Public License is available at http://www.eclipse.o...
/* * wcstofp.c * * Implementation of ISO-C99 compatible wcstod(), wcstold(), and wcstof() * functions, placed into the "__mingw_" pseudo-namespace, with enhanced * C99 compatibility, and codeset coverage. * * * $Id$ * * Written by <NAME> <<EMAIL>> * Copyright (C) 2020, MinGW.org Project * * * Permission i...
/* * 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...
/* * This file is part of RGBDS. * * Copyright (c) 1997-2018, <NAME> and RGBDS contributors. * * SPDX-License-Identifier: MIT */ /* * FileStack routines */ #include <errno.h> #include <limits.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "asm/fstack.h" #include "a...
/* * Copyright (C) 2017 BlueKitchen GmbH * * 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 follo...
/**********************************************************************************/ /* MIT License */ /* */ /* Copyright (c) 2022 <NAME>, <NAME> */ /* */ /* Permission is hereby granted, free of charge, to any person obtaining a copy */ /* of this software and associated docum...
// SPDX-License-Identifier: GPL-2.0+ /* * board.c * * Board functions for Phytec phyCORE-AM335x R2 (PCL060 / PCM060) based boards * * Copyright (C) 2011, Texas Instruments, Incorporated - http://www.ti.com/ * Copyright (C) 2013 <NAME>, Lemonage Software GmbH * Copyright (C) 2015 <NAME>, PHYTEC Messtechnik GmbH ...
/* * Academic License - for use in teaching, academic research, and meeting * course requirements at degree granting institutions only. Not for * government, commercial, or other organizational use. * * WaterProcedure.c * * Code generation for function 'WaterProcedure' * */ /* Include files */ #include "Wate...
/* Copyright (C) 1995-1998 <NAME> (<EMAIL>) * All rights reserved. * * This package is an SSL implementation written * by <NAME>ung (<EMAIL>). * The implementation was written so as to conform with Netscapes SSL. * * This library is free for commercial and non-commercial use as long as * the following condition...
/* IBM_PROLOG_BEGIN_TAG */ /* * Copyright 2003,2016 IBM International Business Machines Corp. * * 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/LIC...
#include "inl.h" #include "agua.h" #include "estructuras.h" extern cpSpace * modChipmunk_cpEspacio; //typedef void (*cpSpaceBBQueryFunc)(cpShape *shape, void *data) // //void cpSpaceBBQuery( // cpSpace *space, cpBB bb, // cpLayers layers, cpGroup group, // cpSpaceBBQueryFunc func, void *data //) //float trr,x0x,y0x,...
#include "motor.h" #include "epos.h" #include "socketcan/socketcan.h" #include "socketcan/printd.h" #include "canopen/canopen.h" #include <math.h> #include <stdlib.h> #include <inttypes.h> int motor_pdo_fd = -1; //!< Process CAN-connection. int motor_cfg_fd = -1; //!< Configuration CAN-connection. static int mo...
/* * lxc: linux Container library * * (C) Copyright IBM Corp. 2007, 2008 * * Authors: * <NAME> <<EMAIL>.lez<EMAIL> at free.fr> * * 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; ...
/* * BIN to ABC .BAS file * <NAME> 5/2000 * * WAV conversion taken from ABCcas - by <NAME>, 2008 * * $Id: abc80.c,v 1.6 2014/10/01 13:15:31 stefano Exp $ */ #include "appmake.h" static char *binname = NULL; static char *crtfile = NULL; static char ...
/* * Copyright (C) 2013 Red Hat * Author: <NAME> <<EMAIL>> * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 as published by * the Free Software Foundation. * * This program is distributed in the hope that it will be useful,...
/* * Check: a unit test framework for C * Copyright (C) 2001, 2002 <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 your option)...
#include "gslib.h" #if defined(PARRSB) #include "parRSB.h" #endif #define MAXNV 8 /* maximum number of vertices per element */ typedef struct{ long long vtx[MAXNV]; long long eid; int proc; uint seq; } edata; #ifdef PARMETIS #include "parmetis.h" #include "defs.h" int parMETIS_partMesh(int *part, long long...
/* File: pencil_feat_label_layouter.c; Copyright and License: see below */ #include "pencil_feat_label_layouter.h" #include "trace.h" #include "util/string/utf8string.h" void pencil_feat_label_layouter_init( pencil_feat_label_layouter_t *this_, pencil_layout_data_t *layout_data, ...
#include <stdlib.h> #include <string.h> #include <stdio.h> #include "disas.h" #define CHECK_CONSTRAINT(x) if ((int)EMU_FMTS[i].x != -1 && EMU_FMTS[i].x != insn->x) continue; /* Returns the number of bytes the parsed instruction occupied */ // TODO: more robust validity checks uint16_t parse_insn(insn_t* insn, uint8_...
#ifdef _WIN32 #include <windows.h> #endif #include <sql.h> #include <sqlext.h> #include <sqltypes.h> #include <stdlib.h> #include <stdio.h> #include <string.h> #include <sql.h> #include <sqlext.h> #include <sqltypes.h> #define FALSE 0 #define TRUE 1 #define MAXBUFLEN 512 // Just a way of grouping together these two d...
/* * CDDL HEADER START * * The contents of this file are subject to the terms of the * Common Development and Distribution License, Version 1.0 only * (the "License"). You may not use this file except in compliance * with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * o...
/* * Copyright (c) 2013 <NAME> <<EMAIL>> * Copyright (c) 2018 <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 th...
/* $OpenLDAP: pkg/ldap/servers/slapd/tools/slapcommon.c,v 1.23.2.9 2003/03/24 03:40:52 kurt Exp $ */ /* * Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved. * COPYING RESTRICTIONS APPLY, see COPYRIGHT file */ /* slapcommon.c - common routine for the slap tools */ #include "portable.h" #include <stdi...
/* * Copyright (c) 2013-2015, University of Lugano * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright * notice, thi...
#include <X11/Xlib.h> #include <X11/Xutil.h> #include <X11/keysym.h> #include <X11/extensions/XShm.h> #include <sys/ipc.h> #include <sys/shm.h> #include <assert.h> #include <stdio.h> #include <string.h> #include <stdlib.h> #include "meh.h" #include "scale.h" struct data_t{ XImage *ximg; XShmSegmentInfo *shminfo; ...
/* -*- mode: C; c-basic-offset: 4 -*- */ /* ex: set shiftwidth=4 tabstop=4 expandtab: */ /* * Copyright (c) 2011, Georgia Tech Research Corporation * All rights reserved. * * Author(s): <NAME> <<EMAIL>> * Georgia Tech Humanoid Robotics Lab * Under Direction of Prof. Mike Stilman <<EMAIL>> * * * This file is pr...
/********************************************************************** * * PostGIS - Spatial Types for PostgreSQL * http://postgis.net * * PostGIS 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...
/* * LXF demuxer * Copyright (c) 2010 <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)...
#include <VP_Com/vp_com_error.h> #include <VP_Com/vp_com_socket.h> #include "vp_com_wifi.h" #include "vp_com_config_itf.h" #include <VP_Os/vp_os_malloc.h> #include <VP_Os/vp_os_print.h> #include <VP_Os/vp_os_delay.h> #ifdef USE_IWLIB # include <iwlib.h> #endif #include <netdb.h> #include <sys/socket.h> #include...
#include <linux/module.h> #include <linux/delay.h> #include <linux/spi/spi.h> #include <linux/mtd/spi-nor.h> #include <linux/mtd/mtd.h> #include <linux/mtd/cfi.h> #include <linux/mtd/partitions.h> static const char * const probes[] = { "ofpart", "bcm47xxpart", NULL }; struct bcm53xxsf { struct spi_device *spi; stru...
#include <stdio.h> #include <stdint.h> #include <stdlib.h> #include <stdarg.h> #include <string.h> #include <math.h> #include <retro_timers.h> #include "libretro.h" #include "remotepad.h" #ifdef RARCH_INTERNAL #include "internal_cores.h" #define NETRETROPAD_CORE_PREFIX(s) libretro_netretropad_##s #else #define NETRE...
/** * \file io.c * * \brief Input/Output related functions * * \authors <NAME> (École des Ponts - ParisTech) \n * <NAME> (École des Ponts - ParisTech) * * \copyright Copyright (c) 2016-2017, <NAME>, <NAME>, and École des Ponts - ParisTech \n * All rights reserved. \n * The 3-cla...
/* Copyright Joyent, Inc. and other Node contributors. 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 * righ...
/************************************************************************** * Copyright (c) 2001, 2002, 2003 by Acunia N.V. All rights reserved. * * * * This software is copyrighted by and is the sole property of Acunia N.V. * * and its licens...
/*- * Mach Operating System * Copyright (c) 1991,1990 Carnegie Mellon University * All Rights Reserved. * * Permission to use, copy, modify and distribute this software and its * documentation is hereby granted, provided that both the copyright * notice and this permission notice appear in all copies of the * s...
/* Copyright (C) 2015-2019 Parallel Realities This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in t...
/* * Driver for POSIX serial ports */ #include "dat.h" #include "fns.h" #include "error.h" #undef _POSIX_C_SOURCE /* for deveia-bsd.c */ #include <termios.h> enum { Devchar = 't', Ndataqid = 1, Nctlqid, Nstatqid, Nqid = 3, /* number of QIDs */ CTLS= 023, CTLQ= 021, Maxctl = 128, Maxfield = 32 }; ...
/* (C) Copyright 2006, 2007, 2008, 2009, 2010, 2011 <NAME> * (C) Copyright 2012, 2013 <NAME> * * This file is part of MCL. You can redistribute and/or modify MCL under the * terms of the GNU General Public License; either version 3 of the License or * (at your option) any later version. You should have recei...
/* -------------------------------------------------------------------------- * File: lpex7.c * Version 12.8.0 * -------------------------------------------------------------------------- * Licensed Materials - Property of IBM * 5725-A06 5725-A29 5724-Y48 5724-Y49 5724-Y54 5724-Y55 5655-Y21 * Copyright IBM Corpor...
/* * ux_text.c - Unix interface, text functions * * This file is part of Frotz. * * Frotz 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 late...
/* * Copyright (C) 2019 BlueKitchen GmbH * * 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 follo...
#define _GNU_SOURCE #include <ctype.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/wait.h> #include <termios.h> #include <unistd.h> typedef enum turing_machine_commands_e { MOVL, MOVR, INC, ...
/* suites.c * * Copyright (C) 2006-2014 wolfSSL Inc. * * This file is part of CyaSSL. * * CyaSSL 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) ...
#define D_LOGFAC DD_FAC(tests) #include <getopt.h> #include "daos_test.h" #include <daos/event.h> char USAGE[] = "ds_cross_conn_test <warm_tier_group> <cold_tier_group>"; /*Globals used in test*/ /*IDs and daos (not MPI) rank info*/ uuid_t warm_uuid; d_rank_t warm_ranks[8]; d_rank_list_t warm_svc; uuid_t cold_uuid; ...
/*- * Copyright (c) 2016 Varnish Software AS * All rights reserved. * * Author: <NAME> <<EMAIL>> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyr...
#include <stdint.h> #include <stdlib.h> #include <string.h> #include <SDL2/SDL.h> #include "gbemu.h" #include "video.h" #include "cpu.h" static uint32_t render_pixel(GPUContext *, uint8_t, uint8_t); static void render_tile(GBContext *, GPUContext *, uint8_t, GBCoordinates_p, unsigned int, uint...
#include <stdlib.h> #include <stdio.h> #include <string.h> #include <ctype.h> #include <stdbool.h> #include "scanner.h" #include "macros.h" #include "token.h" #include "keywords.h" Scanner *init_scanner(char *src) { Scanner *scanner = calloc(1, sizeof(Scanner)); scanner->src = src; scanner->src_size = strl...
/* $OpenBSD: procfs_vfsops.c,v 1.26 2010/09/23 18:43:37 oga Exp $ */ /* $NetBSD: procfs_vfsops.c,v 1.25 1996/02/09 22:40:53 christos Exp $ */ /* * Copyright (c) 1993 <NAME> * Copyright (c) 1993 * The Regents of the University of California. All rights reserved. * * This code is derived from software contributed ...
#include "msp430x26x.h" #include "i2c.h" //=========================== variables ======================================= /** Table of control registers. */ struct { volatile uint8_t* ctl0[2]; volatile uint8_t* ctl1[2]; volatile uint8_t* br0[2]; volatile uint8_t* ...
#include <TH/TH.h> #include <stdio.h> #include <stdint.h> #include "matmul.h" inline uint32_t encode_val(float* array, int n) { uint32_t sign, r = 0; for(int i=0; i<ENCODE_BIT && i<n; i++){ sign = array[i]>0; r |= (sign<<i); } return r; } void encode_rows_cpu_kernel(float *columns, uin...
/* * audioIO_alsa09.c alsa lowlevel acess * Copyright (C) 2008 <NAME> (JAGARL) <<EMAIL>> * branched from audio_alsa09.c in xsystem35-1.7.3-pre3 * * audio_alsa09.c alsa lowlevel acess (for 0.9.x) * $Id: audio_alsa09.c,v 1.7 2004/10/31 04:18:06 chikama Exp * * Copyright (C) 1997-1998 <NAME> (Wren) <<EMAIL>> *...
/* F F T F A S T . C * BRL-CAD * * Copyright (c) 2004-2021 United States Government as represented by * the U.S. Army Research Laboratory. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * version 2.1 as...
/* Spook Reference Implementation v1 * * Written in 2019 at UCLouvain (Belgium) by <NAME>, <NAME> * and <NAME>. * To the extent possible under law, the author(s) have dedicated all copyright * and related and neighboring rights to this software to the public domain * worldwide. This software is distributed ...
/* * Copyright 2014, General Dynamics C4 Systems * * This software may be distributed and modified according to the terms of * the GNU General Public License version 2. Note that NO WARRANTY is provided. * See "LICENSE_GPLv2.txt" for details. * * @TAG(GD_GPL) */ #include <config.h> #include <linker.h> #includ...
/* $XFree86: xc/programs/Xserver/hw/xfree86/os-support/sco/sco_mouse.c,v 3.12 2001/06/30 22:41:49 tsi Exp $ */ /* * Copyright 2001 by <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 a...
#include <stdio.h> // #include <conio.h> // #include <curses.h> // #include <process.h> #include <stdlib.h> #include <termios.h> static struct termios old, current; /* Initialize new terminal i/o settings */ void initTermios(int echo) { tcgetattr(0, &old); /* grab old terminal i/o settings */ current = ol...
/*- * Copyright (c) 2013-2018, Mellanox Technologies, 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, ...
/* * * 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"); y...
#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...
// printf, perror #include <stdio.h> // exit, atoi, srand, rand #include <stdlib.h> // memset, memcpy, strncpy #include <string.h> // getopt, optind, optarg #include <unistd.h> // time #include <time.h> // pthread_t, pthread_create, pthread_join #include <pthread.h> // gethostbyname, herror #include <netdb.h> // inet_a...
#include <stdio.h> /* #include <OpenGL/gl.h> */ #include "glfw.h" #include <OpenGL/glext.h> #include <OpenGL/gl3ext.h> #include <stdlib.h> #include <math.h> int circle_resolution = 102; const double pi = 3.141592; float t; float univar; GLuint uniID; static const GLchar *vertex_shader_source= { "attribute vec4...
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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 applic...
/* * Name: mxgpib.c * * Purpose: This program allows the user to communicate with the requested * GPIB address on a GPIB bus controlled by an MX server. * * Author: <NAME> * *-------------------------------------------------------------------------- * * Copyright 2018, 2020 Illinois Institute of ...
/** *********************************************************************************************************************** * Copyright (c) 2021, China Mobile Communications Group Co.,Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the ...
/* # This file is part of the Astrometry.net suite. # Licensed under a 3-clause BSD style license - see LICENSE */ /** * Accepts an augmented xylist that describes a field or set of fields to solve. * Reads a config file to find local indices, and merges information about the * indices with the job description t...
/** * Copyright (c) 2015 - 2020, Nordic Semiconductor ASA * * 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 no...
#include "duv.h" #include "utils.h" #include "loop.h" #include "handle.h" #include "req.h" #include "timer.h" #include "prepare.h" #include "check.h" #include "idle.h" #include "async.h" #include "stream.h" #include "tcp.h" #include "pipe.h" #include "tty.h" #include "misc.h" #include "fs.h" #include "dns.h" static co...
/* stroke.c Stroke to polygon conversion Copyright (c) 2009 <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, ...
#include <dirent.h> #include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <string.h> #include <sys/time.h> #include <sys/types.h> #include <time.h> #include <unistd.h> #include "lru_queue.h" #define MAX_FILENAME 128 #define MAX_FILE_SIZE 4096 #define CACHE_SIZE 49152 #define NUMBER_O...
/* cipher-ccm.c - CTR mode with CBC-MAC mode implementation * Copyright (C) 2013 <NAME> <<EMAIL>> * * This file is part of Libgcrypt. * * Libgcrypt 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;...
/* * Exynos Specific Extensions for Synopsys DW Multimedia Card Interface driver * * Copyright (C) 2012, Samsung Electronics Co., Ltd. * * 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; ei...
/*************************************************************************** * copyright : (C) 2004 by <NAME>,UPGM,FIT,VUT,Brno * * email : <EMAIL> * *************************************************************************** * ...
/* * epu_n_unit_ba_api.c * * Code generation for function 'epu_n_unit_ba_api' * * C source code generated on: Tue Oct 30 14:49:26 2012 * */ /* Include files */ #include "rt_nonfinite.h" #include "epu_n_unit_ba.h" #include "epu_n_unit_ba_api.h" #include "epu_n_unit_ba_emxutil.h" /* Type Definitions */ /* Named...
/* * Copyright (c) 2014,2016 The Linux Foundation. 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 version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in t...
/* * epu_n_unit_accumulator_api.c * * Code generation for function 'epu_n_unit_accumulator_api' * * C source code generated on: Fri Aug 31 09:23:48 2012 * */ /* Include files */ #include "rt_nonfinite.h" #include "epu_n_unit_accumulator.h" #include "epu_n_unit_accumulator_api.h" #include "epu_n_unit_accumulator...
#include "flow_filter.h" #include "qstack.h" #include "n21_queue.h" #include "circular_queue.h" #define SUCCESS 1 #define FAIL -1 #define MAX_FLOW_RULE 2048 #define APP_RETA_SIZE_MAX (ETH_RSS_RETA_SIZE_512 / RTE_RETA_GROUP_SIZE) #define MAX_PATTERN_NUM 8 #define SRC_IP ((0<<24) + (0<<16) + (0<<8) + 0) /* src ip ...
/* Teem: Tools to process and visualize scientific data and images Copyright (C) 2005 <NAME> Copyright (C) 2004, 2003, 2002, 2001, 2000, 1999, 1998 University of Utah This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (LGPL) as...
// Librerias #include "directorios.h" #include <errno.h> // Funciones /* Cuenta cuantos archivos y sub-directorios posee un directorio y cuantos bytes ocupan dichos archivos (sin contar los directorios) */ void informacionArchivos(Directorio *directorio) { // Variables struct dirent *fd; struct stat info; ...
/* Copyright (c) 2007, Stanford University * 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 condi...
/* This file is part of GNUnet. Copyright (C) 2015, 2016, 2017 GNUnet e.V. GNUnet 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, or (at your option) any later vers...
#include <stdio.h> #include <stdlib.h> #include <sqlite3ext.h> #include <sqliteInt.h> #include <btreeInt.h> #include <vdbeInt.h> #include "utils.h" // create table haha (id integer primary key, name string); // insert into haha (name) values ("alex"); // insert into haha (name) values ("betty"); // insert into haha (...
/*************************************************************************** * Copyright (c) 2009-2010 Open Information Security Foundation * Copyright (c) 2010-2013 Qualys, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided t...
/* * Copyright (c) 2010 Lawrence Livermore National Lab. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU * General Public License (GPL) Version 2, available from the file * COPYING in the main directory ...
/* * Copyright (c) 2010 The WebM project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributin...
// <NAME> // TCSS 372 - Mini Couse Project // This program simulates the MIPS computer by translating // assembly to binary and then performs those instructions. // This program assumes MIPS has 32 bit instructions and contains // only those instructions as defined on: // http://alumni.cs.ucr.edu/~vladimir/cs1...
/* * <NAME> (<EMAIL>) 2016 * * This example sets up fanotify to ask for permission before a file in the * current work directory can be opened. To ask for permission, this example * sends a notification event over a socket to a notification daemon. Please * see control_notifyd.c for an example of such a daemon. ...
/* im_abs() * * Copyright: 1990, <NAME>, based on im_powtra() * Author: <NAME> * Written on: 02/05/1990 * Modified on: * 5/5/93 J.Cupitt * - adapted from im_lintra to work with partial images * - complex and signed support added * 30/6/93 JC * - adapted for partial v2 * - ANSI conversion * - spe29873r6k3h(...
// This is an example program from the website www.microhowto.info // © 2012 <NAME> // Copying and distribution of this software, with or without modification, // is permitted in any medium without royalty. // This software is offered as-is, without any warranty. // Makes an inverse neighbour solicitation // Modified ...
/* * DMA helper functions * * Copyright (c) 2009 Red Hat * * This work is licensed under the terms of the GNU General Public License * (GNU GPL), version 2 or later. */ #include "sysemu/dma.h" #include "trace.h" #include "qemu/range.h" #include "qemu/thread.h" #include "qemu/main-loop.h" /* #define DEBUG_IOMMU...
/************************************************************************** * * Copyright 2008 VMware, Inc. * 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 wit...
/*- BSD 3-Clause License Copyright (c) 2020, Kempozer 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 o...
/* Copyright 2012-2015 <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 3 of the License, or (at your option) any later version. This program i...
/** * Copyright (C) Mellanox Technologies Ltd. 2021. ALL RIGHTS RESERVED. * * See file LICENSE for terms. */ #include "config.h" #include "tl_ucp_reduce.h" #include "tl_ucp_sendrecv.h" #include "core/ucc_progress_queue.h" #include "coll_patterns/sra_knomial.h" #include "utils/ucc_math.h" #include "utils/ucc_coll_...
/* quirc -- QR-code recognition library * Copyright (C) 2010-2012 <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 SOFT...
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright (C) 1998 by the FundsXpress, INC. * * All rights reserved. * * Export of this software from the United States of America may require * a specific license from the United States Government. It is the * responsibility of any person or ...
/* This file was downloaded from the CFITSIO utilities web page: http://heasarc.gsfc.nasa.gov/docs/software/fitsio/cexamples.html That page contains this text: You may freely modify, reuse, and redistribute these programs as you wish. We assume it was originally written by the CFITSIO authors (primarily...
#include "image.h" #define STB_IMAGE_IMPLEMENTATION #include "stb_image.h" extern mat4x4 view; Image * selene_create_image(const char * path) { Image * image = (Image*) malloc(sizeof(Image)); int w, h, comp; unsigned char * img = stbi_load(path, &(image->_width), &(image->_height), &comp, STBI_rgb_alpha); ...
/* * Copyright (c), Microsoft Open Technologies, Inc. * All rights reserved. * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * - Redistributions of source code must retain the above copyright notice, * this list...
/* Copyright 2013-present Facebook, Inc. * Licensed under the Apache License, Version 2.0 */ #include "watchman.h" /* These are the legacy rules functions. * They're going to be replaced by equivalent functionality * in the query engine */ void w_free_rules(struct watchman_rule *head) { struct watchman_rule *r;...