code stringlengths 1.03k 250k | repo_name stringlengths 7 70 | path stringlengths 4 177 | language stringclasses 1
value | license stringclasses 15
values | size int64 1.03k 250k |
|---|---|---|---|---|---|
// $Id$ --*- c -*--
// Copyright (C) 2004 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
//
// 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.
//
// Th... | linux-vserver/util-vserver | lib/syscall_getvxinfo.c | C | gpl-2.0 | 1,378 |
/*
* Boot order test cases.
*
* Copyright (c) 2013 Red Hat Inc.
*
* Authors:
* Michael S. Tsirkin <mst@redhat.com>,
*
* This work is licensed under the terms of the GNU GPL, version 2 or later.
* See the COPYING file in the top-level directory.
*/
#include "qemu/osdep.h"
#include <glib/gstdio.h>
#include "q... | gongleiarei/qemu | tests/bios-tables-test.c | C | gpl-2.0 | 28,712 |
/*
* crc10.c
* $Id: crc10.c 45015 2012-09-20 01:29:52Z morriss $
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as... | MavEtJu/wireshark-lean | wsutil/crc10.c | C | gpl-2.0 | 4,080 |
/*
* TI QSPI driver
*
* Copyright (C) 2013, Texas Instruments, Incorporated
*
* SPDX-License-Identifier: GPL-2.0+
*/
#include <common.h>
#include <asm/io.h>
#include <asm/arch/omap.h>
#include <malloc.h>
#include <spi.h>
#include <asm/gpio.h>
#include <asm/omap_gpio.h>
#include <asm/omap_common.h>
#include <asm/... | latelee/coreboot | payloads/external/U-Boot/u-boot/drivers/spi/ti_qspi.c | C | gpl-2.0 | 9,606 |
/*
* Common CPU TLB handling
*
* Copyright (c) 2003 Fabrice Bellard
*
* 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 of the License, or (at your option) any ... | palmer-dabbelt/riscv-qemu | cputlb.c | C | gpl-2.0 | 17,734 |
#include <inttypes.h>
#include <avr/io.h>
#include "uart.h"
void UARTInit(void)
{
//UCSRB |= (1<<TXEN); // UART TX einschalten
//UCSRC |= (1<<URSEL)|(3<<UCSZ0); // Asynchron 8N1
//UCSRB |= ( 1 << RXEN ); // RX aktivieren
//UCSRB |= ( 1 << RXCIE ); // RX interrupt aktivieren
//UCSRC = (1 <<... | shangdawei/usbprog | usbprogPIC/firmware2/uart.c | C | gpl-2.0 | 2,931 |
/*
* (C) Copyright IBM Corp. 2004, 2005
* Copyright (c) 2005, Intel Corporation
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation.
*
* This program is distribut... | rajashreer7/autotest-client-tests | linux-tools/openhpi/openhpi2-conformancetest/src/events/saHpiEventGet/7.c | C | gpl-2.0 | 2,240 |
/*
* IBM PowerPC iSeries Virtual I/O Infrastructure Support.
*
* Copyright (c) 2005 Stephen Rothwell, IBM Corp.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either ... | zrafa/linuxkernel | linux-2.6.17.new/arch/powerpc/platforms/iseries/vio.c | C | gpl-2.0 | 3,585 |
/* Copyright (c) 2008-2009, 2012 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 i... | hanjin1987/hw_msm8x25_kernel | drivers/video/msm/mdp_vsync.c | C | gpl-2.0 | 12,982 |
/*
sane-desc.c -- generate list of supported SANE devices
Copyright (C) 2002-2006 Henning Meier-Geinitz <henning@meier-geinitz.de>
Copyright (C) 2004 Jose Gato <jgato@gsyc.escet.urjc.es> (XML output)
Copyright (C) 2006 Mattias Ellert <mattias.ellert@tsl.uu.se> (plist output)
Copyright (C) 2009 Dr. Ing. ... | miurahr/sane-backends | tools/sane-desc.c | C | gpl-2.0 | 101,274 |
/* $Id: MemDetect.c $ */
/** @file
* MemDetect.c
*/
/*
* Copyright (C) 2012 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* you can redistribute it and/or modify it under the terms of the GNU
* Genera... | heidsoft/VirtualBox | src/VBox/Devices/EFI/Firmware/VBoxPkg/PlatformPei/MemDetect.c | C | gpl-2.0 | 4,683 |
/*
* NET3 Protocol independent device support routines.
*
* 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.
*
... | sominn/android_kernel_samsung_golden | net/core/dev.c | C | gpl-2.0 | 162,625 |
/* drivers/misc/lowmemorykiller.c
*
* The lowmemorykiller driver lets user-space specify a set of memory thresholds
* where processes with a range of oom_score_adj values will get killed. Specify
* the minimum oom_score_adj values in
* /sys/module/lowmemorykiller/parameters/adj and the number of free pages in
* /... | Ander-Alvarez/CoffeeKernel | drivers/staging/android/lowmemorykiller.c | C | gpl-2.0 | 23,240 |
/*
* linux/mm/memory.c
*
* Copyright (C) 1991, 1992, 1993, 1994 Linus Torvalds
*/
/*
* demand-loading started 01.12.91 - seems it is high on the list of
* things wanted, and it should be easy to implement. - Linus
*/
/*
* Ok, demand-loading was easy, shared pages a little bit tricker. Shared
* pages start... | myjang0507/slte | mm/memory.c | C | gpl-2.0 | 122,319 |
/*
*
* bluez-tools - a set of tools to manage bluetooth devices for linux
*
* Copyright (C) 2010 Alexander Orlenko <zxteam@gmail.com>
*
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Found... | embedian/blues-tools | src/lib/bluez/health_channel.c | C | gpl-2.0 | 7,770 |
/*
* idle-task scheduling class.
*
* (NOTE: these are not related to SCHED_IDLE tasks which are
* handled in sched_fair.c)
*/
#ifdef CONFIG_SMP
static int
select_task_rq_idle(struct task_struct *p, int sd_flag, int flags)
{
return task_cpu(p); /* IDLE tasks as never migrated */
}
#endif /* CONFIG_SMP */
/*
* I... | h8rift/android_kernel_htc_holiday | kernel/sched_idletask.c | C | gpl-2.0 | 2,178 |
/*
* Misc utility routines for accessing chip-specific features
* of the SiliconBackplane-based Broadcom chips.
*
* Copyright (C) 1999-2014, Broadcom Corporation
*
* Unless you and Broadcom execute a separate written software license
* agreement governing use of this software, this software is licensed to ... | shminer/LG-F460-Kernel | drivers/net/wireless/bcmdhd/src/shared/siutils.c | C | gpl-2.0 | 77,111 |
/******************************************************************************
*
* Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as
* published by the ... | RealDigitalMediaAndroid/linux-imx6 | drivers/net/wireless/rtlwifi/rtl8821as/hal/rtl8812a/rtl8812a_cmd.c | C | gpl-2.0 | 84,611 |
/* Copyright (c) 2010-2012, Code Aurora Forum. 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 the ho... | dekadev/Deka-kernel-CM10.1-3.0 | arch/arm/mach-msm/devices-msm8x60.c | C | gpl-2.0 | 58,880 |
/*
* Linux device driver for RTL8187
*
* Copyright 2007 Michael Wu <flamingice@sourmilk.net>
* Copyright 2007 Andrea Merello <andreamrl@tiscali.it>
*
* Based on the r8187 driver, which is:
* Copyright 2005 Andrea Merello <andreamrl@tiscali.it>, et al.
*
* The driver was extended to the RTL8187B in 2008 by:
* ... | Kernelhacker/2.6.38.3-Adam | drivers/net/wireless/rtl818x/rtl8187/dev.c | C | gpl-2.0 | 47,547 |
/*
* Implementation of IWebBrowser interface for WebBrowser control
*
* Copyright 2001 John R. Sheets (for CodeWeavers)
* Copyright 2005 Jacek Caban
*
* 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 S... | svn2github/reactos | dll/win32/ieframe/webbrowser.c | C | gpl-2.0 | 38,977 |
/* packet-aastra-aasp.c
* Routines for AASP (Aastra Signalling Protocol) packet dissection.
* Copyright 2011, Marek Tews <marek.tews@gmail.com>
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
*
* This program is free software; you can redistribute ... | ryandoyle/wireshark | epan/dissectors/packet-aastra-aasp.c | C | gpl-2.0 | 19,455 |
/*-
* Copyright (c) 2003-2007 Tim Kientzle
* 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 c... | DDTChen/CookieVLC | vlc/extras/tools/cmake/Utilities/cmlibarchive/libarchive/archive_write_open_filename.c | C | gpl-2.0 | 4,793 |
/*
* linux/drivers/cpufreq/cpufreq.c
*
* Copyright (C) 2001 Russell King
* (C) 2002 - 2003 Dominik Brodowski <linux@brodo.de>
* (C) 2013 Viresh Kumar <viresh.kumar@linaro.org>
*
* Oct 2005 - Ashok Raj <ashok.raj@intel.com>
* Added handling for CPU hotplug
* Feb 2006 - Jacob Shin <jaco... | pro4tlzz/P9000-Kernel | drivers/cpufreq/cpufreq.c | C | gpl-2.0 | 68,437 |
/*
* A fast, small, non-recursive O(nlog n) sort for the Linux kernel
*
* Jan 23 2005 Matt Mackall <mpm@selenic.com>
*/
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/sort.h>
#include <linux/slab.h>
static void u32_swap(void *a, void *b, int size)
{
u32 t = *(u32 *)a;
*(u32 *)a = *(u32 *)b... | jazzsir/iamroot-linux-arm10c | lib/sort.c | C | gpl-2.0 | 2,710 |
#include <stdint.h>
#include <device/pci_def.h>
#include <arch/io.h>
#include <device/pnp_def.h>
#include <arch/romcc_io.h>
#include <cpu/x86/lapic.h>
#include <stdlib.h>
#include <console/console.h>
#include "southbridge/intel/i82801ex/early_smbus.c"
#include "northbridge/intel/e7520/raminit.h"
#include "superio/winbo... | michaelforney/coreboot | src/mainboard/supermicro/x6dhr_ig2/romstage.c | C | gpl-2.0 | 2,673 |
/* packet-llcgprs.c
* Routines for Logical Link Control GPRS dissection ETSI 4.64(TS 101 351 V8.7.0)
* Copyright 2000, Josef Korelus <jkor@quick.cz>
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
*
* This program is free software; you can redistri... | kevincox/wireshark | epan/dissectors/packet-gprs-llc.c | C | gpl-2.0 | 44,927 |
/*
* Copyright (c) 2013, 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 the hope ... | SlimRoms/kernel_samsung_mondrianwifi | sound/soc/msm/qdsp6v2/msm-lsm-client.c | C | gpl-2.0 | 10,817 |
/*
* Copyright (C) 2008 Google, Inc.
* Copyright (c) 2008-2012, Code Aurora Forum. All rights reserved.
*
* 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.
*
*... | rqmok/android_kernel_huawei_u8800 | arch/arm/mach-msm/devices-msm7x30.c | C | gpl-2.0 | 27,763 |
/*
* Copyright (c) 1990 The Regents of the University of California.
* All rights reserved.
*
* Redistribution and use in source and binary forms are permitted
* provided that the above copyright notice and this paragraph are
* duplicated in all such forms and that any documentation,
* advertising materials, and... | tommythorn/yari | shared/cacao-related/newlib-1.15.0/newlib/libc/stdio/vasprintf.c | C | gpl-2.0 | 1,955 |
/*
* Copyright 2003, 2004, 2005, 2006 PathScale, Inc. All Rights Reserved.
*/
/* ELF strtab with GC and suffix merging support.
Copyright 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
Written by Jakub Jelinek <jakub@redhat.com>.
This file is part of BFD, the Binary File Descriptor library.
Thi... | uhhpctools/openuh-openacc | osprey/cygnus/bfd/elf-strtab.c | C | gpl-3.0 | 9,404 |
/******************************************************************************
* Spine Runtimes Software License v2.5
*
* Copyright (c) 2013-2016, Esoteric Software
* All rights reserved.
*
* You are granted a perpetual, non-exclusive, non-sublicensable, and
* non-transferable license to use, install, execute, ... | 9matan/FuzzyTower | cocos2d/cocos/editor-support/spine/PathAttachment.c | C | gpl-3.0 | 2,371 |
/*
* This file is part of Cleanflight.
*
* Cleanflight 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.
*
* Cleanflight is distr... | gamani/betaflight-bak | src/main/flight/altitudehold.c | C | gpl-3.0 | 10,194 |
/*
* This file is part of the libsigrok project.
*
* Copyright (C) 2010 Uwe Hermann <uwe@hermann-uwe.de>
* Copyright (C) 2011 Olivier Fauchon <olivier@aixmarseille.com>
* Copyright (C) 2012 Alexandru Gagniuc <mr.nuke.me@gmail.com>
* Copyright (C) 2015 Bartosz Golaszewski <bgolaszewski@baylibre.com>
*
* This pro... | mrnuke/libsigrok | src/hardware/demo/demo.c | C | gpl-3.0 | 24,798 |
// Copyright (c) Athena Dev Teams - Licensed under GNU GPL
// For more information, see LICENCE in the main folder
#include "../common/mmo.h"
#include "../common/core.h"
#include "../common/timer.h"
#include "../common/utils.h" // findfile()
#include "../common/socket.h"
#include "../common/malloc.h"
#include "../comm... | elvisete/emulador | src/common/plugins.c | C | gpl-3.0 | 10,785 |
/*
* This file is part of Cleanflight.
*
* Cleanflight 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.
*
* Cleanflight is distr... | flagadajones/cleanflight | src/main/drivers/pwm_rx.c | C | gpl-3.0 | 10,481 |
/*
* Copyright (c) 2005 Apple Computer, Inc. All rights reserved.
*
* @APPLE_LICENSE_HEADER_START@
*
* This file contains Original Code and/or Modifications of Original Code
* as defined in and that are subject to the Apple Public Source License
* Version 2.0 (the 'License'). You may not use this file except in... | darlinghq/darling | src/dyld/unit-tests/test-cases/weak-override/foo.c | C | gpl-3.0 | 1,179 |
/*
* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (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.mozilla.org/MPL/... | tmhorne/celtx | security/nss/lib/freebl/ecl/ecp_jm.c | C | mpl-2.0 | 10,458 |
/*********************************************************
* Copyright (C) 2006 VMware, Inc. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation version 2 and no later ver... | vyatta/open-vm-tools | modules/linux/vmhgfs/page.c | C | lgpl-2.1 | 37,362 |
/* Work around platform bugs in stat.
Copyright (C) 2009-2015 Free Software Foundation, Inc.
This program 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
... | skamithi/hacked-libvirt | gnulib/lib/stat.c | C | lgpl-2.1 | 4,557 |
/*
* This file is part of Cockpit.
*
* Copyright (C) 2016 Red Hat, Inc.
*
* Cockpit 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 l... | vanloswang/cockpit | src/bridge/cockpitdbusprocess.c | C | lgpl-2.1 | 4,990 |
/* base class for all resample operations
*
* properties:
* - one in, one out
* - not point-to-point
* - size can change in any way
* - bands, type, format etc. all fixed
*/
/*
Copyright (C) 1991-2005 The National Gallery
This library is free software; you can redistribute it and/or
modify it ... | leiyangyou/libvips | libvips/resample/resample.c | C | lgpl-2.1 | 3,128 |
/*
* Copyright (C) the libgit2 contributors. All rights reserved.
*
* This file is part of libgit2, distributed under the GNU GPL v2 with
* a Linking Exception. For full terms see the included COPYING file.
*/
#include "refs.h"
#include "hash.h"
#include "repository.h"
#include "fileops.h"
#include "filebuf.h"
#i... | jeffhostetler/public_libgit2 | src/refs.c | C | lgpl-2.1 | 28,578 |
/*
* M_APM - mapm_gcd.c
*
* Copyright (C) 2001 - 2007 Michael C. Ring
*
* Permission to use, copy, and distribute this software and its
* documentation for any purpose with or without fee is hereby granted,
* provided that the above copyright notice appear in all copies and
* that both that copyrigh... | bgarrels/zorba | src/zorbatypes/mapm/mapm_gcd.c | C | apache-2.0 | 5,530 |
/* Copyright JS Foundation and other contributors, http://js.foundation
*
* 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 r... | dbatyai/jerryscript | jerry-core/jmem/jmem-allocator.c | C | apache-2.0 | 6,171 |
/**
* C Object System
* COS testsuites - range
*
* Copyright 2006+ Laurent Deniau <laurent.deniau@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apach... | zhuyadong/COS | CosStd/tests/src/ut_xrange.c | C | apache-2.0 | 12,302 |
/*
* INET An implementation of the TCP/IP protocol suite for the LINUX
* operating system. INET is implemented using the BSD Socket
* interface as the means of communication with the user level.
*
* Implementation of the Transmission Control Protocol(TCP).
*
* Authors: Ross Biro
* Fred N. van Kempen, <wa... | sorbo/tcpcrypt | kernel/linux/linux-2.6.32/net/ipv4/tcp_output.c | C | bsd-2-clause | 77,137 |
/* * Copyright (c) 2014, 2015 Zhang Xianyi
* 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... | liyancas/OpenVML | reference/vexp.c | C | bsd-2-clause | 1,885 |
/*
FreeRTOS V7.6.0 - Copyright (C) 2013 Real Time Engineers Ltd.
All rights reserved
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
***************************************************************************
* ... | jedediahfrey/STM32F4-Discovery_FW_V1.1.0_Makefiles | FreeRTOS/FreeRTOS/Demo/RX100-RSK_Renesas_e2studio/RTOSDemo/ParTest.c | C | bsd-3-clause | 6,037 |
/* ../netlib/sla_gbrpvgrw.f -- translated by f2c (version 20100827). You must link the resulting object file with libf2c: on Microsoft Windows system, link with libf2c.lib;
on Linux or Unix systems, link with .../path/to/libf2c.a -lm or, if you install libf2c.a in a standard place, with -lf2c -lm -- in that order, at ... | yaowee/libflame | src/map/lapack2flamec/f2c/c/sla_gbrpvgrw.c | C | bsd-3-clause | 6,256 |
/*
* Copyright (c) 2018, Alliance for Open Media. All rights reserved
*
* This source code is subject to the terms of the BSD 2 Clause License and
* the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
* was not distributed with this source code in the LICENSE file, you can
* obtain it at w... | endlessm/chromium-browser | third_party/libaom/source/libaom/av1/encoder/hash_motion.c | C | bsd-3-clause | 17,624 |
/* -----------------------------------------------------------------------------
*
* (c) The GHC Team 2000
*
* RTS GTK Front Panel (callbacks)
*
* ---------------------------------------------------------------------------*/
#ifdef RTS_GTK_FRONTPANEL
#include "Rts.h"
#include <gtk/gtk.h>
#include "VisCallback... | nomeata/ghc | rts/VisCallbacks.c | C | bsd-3-clause | 1,617 |
/**
* \file
*
* \brief USB Device Human Interface Device (HID) generic interface.
*
* Copyright (c) 2009-2014 Atmel Corporation. All rights reserved.
*
* \asf_license_start
*
* \page License
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that th... | femtoio/femto-usb-blink-example | blinky/common/services/usb/class/hid/device/generic/udi_hid_generic.c | C | mit | 9,659 |
/*
* RELIC is an Efficient LIbrary for Cryptography
* Copyright (c) 2009 RELIC Authors
*
* This file is part of RELIC. RELIC is legal property of its developers,
* whose names are not listed here. Please refer to the COPYRIGHT file
* for contact information.
*
* RELIC is free software; you can redistribute it a... | PIVX-Project/PIVX | src/chiabls/contrib/relic/src/low/gmp/relic_fb_shift_low.c | C | mit | 2,290 |
/*****************************************************************************
* *
* -------------------------------- heap.c -------------------------------- *
* *
****... | namoamitabha/StudyNotes | master-algorithm-with-c/src/source/heap.c | C | mit | 13,637 |
/*
* (C) Copyright 2007
* Stefan Roese, DENX Software Engineering, sr@denx.de.
*
* 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 So... | diverger/uboot-lpc32xx | board/zeus/zeus.c | C | gpl-2.0 | 9,830 |
/*****************************************************************************
Copyright(c) 2012 FCI Inc. All Rights Reserved
File name : fc8150_spib.c
Description : fc8150 host interface
*******************************************************************************/
#include "fci_types.h"
#include "fc8150_re... | peat-psuwit/android_kernel_lge_w7ds | drivers/broadcast/oneseg/fc8150/drv/fc8150_spib.c | C | gpl-2.0 | 5,038 |
/* This testcase is part of GDB, the GNU debugger.
Copyright 2008-2020 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 Foundation; either version 3 of the License, or
... | mattstock/binutils-bexkat1 | gdb/testsuite/gdb.reverse/getresuid-reverse.c | C | gpl-2.0 | 1,054 |
/*
* Linux IPv6 multicast routing support for BSD pim6sd
* Based on net/ipv4/ipmr.c.
*
* (c) 2004 Mickael Hoerdt, <hoerdt@clarinet.u-strasbg.fr>
* LSIIT Laboratory, Strasbourg, France
* (c) 2004 Jean-Philippe Andriot, <jean-philippe.andriot@6WIND.com>
* 6WIND, Paris, France
* Copyright (C)2007,2008 USAGI/WIDE... | ryncsn/jordan-kernel | net/ipv6/ip6mr.c | C | gpl-2.0 | 40,844 |
/*
* An implementation of the Acorn Econet and AUN protocols.
* Philip Blundell <philb@gnu.org>
*
* 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... | dduval/kernel-rhel4 | net/econet/af_econet.c | C | gpl-2.0 | 25,180 |
/*
* Copyright (c) 2002 The FFmpeg Project
*
* 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) an... | alts/silver_rocket | Extdeps/ffmpeg/src/libavcodec/wmv2dec.c | C | gpl-2.0 | 14,812 |
/* Misc. support for CPU family crisv10f.
THIS FILE IS MACHINE GENERATED WITH CGEN.
Copyright 1996-2020 Free Software Foundation, Inc.
This file is part of the GNU simulators.
This file is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by... | mattstock/binutils-bexkat1 | sim/cris/cpuv10.c | C | gpl-2.0 | 8,742 |
/*
* linux/mm/page_alloc.c
*
* Manages the free list, the system allocates free pages here.
* Note that kmalloc() lives in slab.c
*
* Copyright (C) 1991, 1992, 1993, 1994 Linus Torvalds
* Swap reorganised 29.12.95, Stephen Tweedie
* Support of BIGMEM added by Gerhard Wichert, Siemens AG, July 1999
* Re... | bigbiff/android_kernel_samsung_zeroflte | mm/page_alloc.c | C | gpl-2.0 | 178,526 |
/*
* Copyright (C) 2007-2012 Sourcefire, Inc.
*
* Authors: Tomasz Kojm
*
* 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... | Distrotech/clamav | clamscan/clamscan.c | C | gpl-2.0 | 12,594 |
/* linux/arch/arm/mach-s5pv210/setup-sdhci.c
*
* Copyright (c) 2009-2010 Samsung Electronics Co., Ltd.
* http://www.samsung.com/
*
* S5PV210 - Helper functions for settign up SDHCI device(s) (HSMMC)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General... | dalinaum/kernel-180l | arch/arm/mach-s5pv210/setup-sdhci.c | C | gpl-2.0 | 11,051 |
/*
* Broadcom Dongle Host Driver (DHD), Linux-specific network interface
* Basically selected code segments from usb-cdc.c and usb-rndis.c
*
* Copyright (C) 1999-2014, Broadcom Corporation
*
* Unless you and Broadcom execute a separate written software license
* agreement governing use of this software, th... | RyanAM/gs5-kernel | drivers/net/wireless/bcmdhd/dhd_linux.c | C | gpl-2.0 | 204,165 |
/*
* ibuf_driver: A test driver for the infinite string structure.
*
* Copyright (c) 2006, Mike Mueller & Bob Rossi
* Subject to the terms of the GNU General Public Licence
*/
/* Standard Includes */
#if HAVE_CONFIG_H
#include "config.h"
#endif /* HAVE_CONFIG_H */
#if HAVE_STDIO_H
#include <stdio.h>
#endif /* HA... | 0x90sled/cgdb | lib/adt/ibuf_driver.c | C | gpl-2.0 | 5,024 |
/*
Low Level Linux Driver for the IBM Microchannel SCSI Subsystem for
Linux Kernel >= 2.4.0.
Copyright (c) 1995 Strom Systems, Inc. under the terms of the GNU
General Public License. Written by Martin Kolinek, December 1995.
Further development by: Chris Beauregard, Klaus Kudielka, Michael Lang
See the file Docum... | ipwndev/DSLinux-Mirror | linux-2.6.x/drivers/scsi/ibmmca.c | C | gpl-2.0 | 97,224 |
/*
* Asterisk -- An open source telephony toolkit.
*
* Copyright (C) 1999 - 2005, Digium, Inc.
*
* Mark Spencer <markster@digium.com>
*
* See http://www.asterisk.org for more information about
* the Asterisk project. Please do not directly contact
* any of the maintainers of this project for assistance;
* the... | mojolingo/asterisk | apps/app_transfer.c | C | gpl-2.0 | 3,669 |
/*
* sd.c Copyright (C) 1992 Drew Eckhardt
* Copyright (C) 1993, 1994, 1995, 1999 Eric Youngdale
*
* Linux scsi disk driver
* Initial versions: Drew Eckhardt
* Subsequent revisions: Eric Youngdale
* Modification history:
* - Drew Eckhardt <drew@colorado.edu> o... | RoadRunnr/net-next | drivers/scsi/sd.c | C | gpl-2.0 | 93,739 |
/*
* linux/mm/page_alloc.c
*
* Manages the free list, the system allocates free pages here.
* Note that kmalloc() lives in slab.c
*
* Copyright (C) 1991, 1992, 1993, 1994 Linus Torvalds
* Swap reorganised 29.12.95, Stephen Tweedie
* Support of BIGMEM added by Gerhard Wichert, Siemens AG, July 1999
* Re... | mordiford/saki-op2-kernel | mm/page_alloc.c | C | gpl-2.0 | 185,320 |
/*
* Copyright (c) 2000-2005 Silicon Graphics, Inc.
* All Rights Reserved.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it would be ... | arokux/linux | fs/xfs/xfs_buf_item.c | C | gpl-2.0 | 32,900 |
/* Copyright (c) 2011-2012, 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 the... | StanTRC/lge-kernel-e400 | drivers/video/msm/mdp4_overlay_writeback.c | C | gpl-2.0 | 19,504 |
/*
* H.263 parser
* Copyright (c) 2002-2004 Michael Niedermayer <michaelni@gmx.at>
*
* This file is part of Libav.
*
* Libav 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... | DDTChen/CookieVLC | vlc/contrib/android/ffmpeg/libavcodec/h263_parser.c | C | gpl-2.0 | 2,425 |
/*
* PF_INET6 socket protocol family
* Linux INET6 implementation
*
* Authors:
* Pedro Roque <roque@di.fc.ul.pt>
*
* Adapted from linux/net/ipv4/af_inet.c
*
* Fixes:
* piggy, Karl Knutson : Socket protocol table
* Hideaki YOSHIFUJI : sin6_scope_id support
* Arnaldo Melo : check proc_net_create return,... | clearwater/chumby-linux | net/ipv6/af_inet6.c | C | gpl-2.0 | 26,555 |
/*
* jabberd - Jabber Open Source Server
* Copyright (c) 2002 Jeremie Miller, Thomas Muldowney,
* Ryan Eatmon, Robert Norris
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Found... | jas4711/jabberd2 | storage/authreg_db.c | C | gpl-2.0 | 9,162 |
/*
* Copyright(c) 2008 - 2009 Atheros Corporation. All rights reserved.
*
* Derived from Intel e1000 driver
* Copyright(c) 1999 - 2005 Intel Corporation. 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 publish... | bgat/linux-multi-v7 | drivers/net/ethernet/atheros/atl1c/atl1c_main.c | C | gpl-2.0 | 79,436 |
/*
* Code to deal with the PReP residual data.
*
* Written by: Cort Dougan (cort@cs.nmt.edu)
* Improved _greatly_ and rewritten by Gabriel Paubert (paubert@iram.es)
*
* This file is based on the following documentation:
*
* IBM Power Personal Systems Architecture
* Residual Data
* Document Number: PPS-AR-FW... | namgk/kernel-tut | arch/ppc/platforms/residual.c | C | gpl-2.0 | 28,926 |
/*
* Driver for CM3602A30P Proximity and Light Sensor chip whick works on MSM7225/MSM7227.
*
* Copyright 2008 Hanson Lin and James Tsai, FIH/CMCS
*
* 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 ... | z71/android_kernel_commtiva_z71 | drivers/input/lightproxisensor/LPSCM3602.c | C | gpl-2.0 | 14,192 |
/* Implementation of the MAXLOC intrinsic
Copyright (C) 2002-2021 Free Software Foundation, Inc.
Contributed by Paul Brook <paul@nowt.org>
This file is part of the GNU Fortran runtime library (libgfortran).
Libgfortran is free software; you can redistribute it and/or
modify it under the terms of the GNU General... | Gurgel100/gcc | libgfortran/generated/maxloc1_8_i8.c | C | gpl-2.0 | 14,592 |
/* Utility to update paths from internal to external forms.
Copyright (C) 1997-2021 Free Software Foundation, Inc.
This file is part of GCC.
GCC is free software; you can redistribute it and/or modify it under
the terms of the GNU Library General Public License as published by
the Free Software Foundation; either ... | Gurgel100/gcc | gcc/prefix.c | C | gpl-2.0 | 8,865 |
/* format_term.c - terminal output format module
* Copyright (C) 2000-2009 Jason Jordan <shnutils@freeshell.org>
*
* 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
* ... | alexkhmara/shntool | src/format_term.c | C | gpl-2.0 | 1,544 |
/* BFD back-end for Motorola MCore COFF/PE
Copyright (C) 1999-2016 Free Software Foundation, Inc.
This file is part of BFD, the Binary File Descriptor library.
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 F... | freak97/binutils | bfd/coff-mcore.c | C | gpl-2.0 | 18,155 |
/*
* Mac80211 STA API for ST-Ericsson CW1200 drivers
*
* Copyright (c) 2010, ST-Ericsson
* Author: Dmitry Tarnyagin <dmitry.tarnyagin@lockless.no>
*
* 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 ... | LairdCP/laird-linux-backports | drivers/net/wireless/cw1200/sta.c | C | gpl-2.0 | 65,658 |
#include <rtthread.h>
#include <rtgui/dc_hw.h>
#include <rtgui/image.h>
#include <rtgui/rtgui_system.h>
#include <rtgui/image_hdc.h>
#include <rtgui/blit.h>
#define HDC_MAGIC_LEN 4
struct rtgui_image_hdc
{
rt_bool_t is_loaded;
/* hdc image information */
rt_uint16_t byte_per_pixel;
rt_uint16_t ... | kevin988/RealBoard4088 | software/rtthread_examples/rtgui/common/image_hdc.c | C | gpl-2.0 | 9,923 |
/* linalg/condest.c
*
* Copyright (C) 2016 Patrick Alken
*
* 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.
*
... | liigo/gsl-vc2015 | src/linalg/condest.c | C | gpl-3.0 | 8,319 |
/* -*- buffer-read-only: t -*- vi: set ro: */
/* DO NOT EDIT! GENERATED AUTOMATICALLY! */
/* getopt_long and getopt_long_only entry points for GNU getopt.
Copyright (C) 1987-1994, 1996-1998, 2004, 2006, 2009-2013 Free Software
Foundation, Inc.
This file is part of the GNU C Library.
This program is free so... | SmartisanTech/T1Tar | gnu/getopt1.c | C | gpl-3.0 | 4,548 |
/*
* LCL (LossLess Codec Library) Codec
* Copyright (c) 2002-2004 Roberto Togni
*
* 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 ... | google-code/avbin | ffmpeg/libavcodec/lclenc.c | C | gpl-3.0 | 5,870 |
/* Copyright (c) 2014 Nordic Semiconductor. All Rights Reserved.
*
* The information contained herein is property of Nordic Semiconductor ASA.
* Terms and conditions of usage are described in detail in NORDIC
* SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT.
*
* Licensees are granted free, non-transferable use... | dptechnics/Espruino | targetlibs/nrf5x/nrf51_sdk/components/serialization/common/transport/ser_hal_transport.c | C | mpl-2.0 | 14,414 |
/*
* Copyright (C) Tildeslash Ltd. All rights reserved.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License version 3.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even th... | AsydSolutions/monit | src/process/sysdep_OPENBSD.c | C | agpl-3.0 | 9,638 |
/* valaliteral.c generated by valac, the Vala compiler
* generated from valaliteral.vala, do not modify */
/* valaliteral.vala
*
* Copyright (C) 2006-2008 Jürg Billeter
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as pu... | Distrotech/vala | vala/valaliteral.c | C | lgpl-2.1 | 13,223 |
/*
* jquant1.c
*
* Copyright (C) 1991-1996, Thomas G. Lane.
* This file is part of the Independent JPEG Group's software.
* For conditions of distribution and use, see the accompanying README file.
*
* This file contains 1-pass color quantization (color mapping) routines.
* These routines provide mappin... | dariusliep/LogViewer | thirdparty/wxWidgets-3.0.0/src/jpeg/jquant1.c | C | lgpl-3.0 | 32,213 |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Copyright by The HDF Group. *
* Copyright by the Board of Trustees of the University of Illinois. *
* All rights reserved. *
* ... | biospi/seamass-windeps | src/hdf5-1.10.0-patch1/src/H5Stest.c | C | apache-2.0 | 4,398 |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | techhead/wsf_php_dist | wsf_c/axis2c/samples/codegen/client/interop_doc2/test_echo_string.c | C | apache-2.0 | 2,230 |
/**
* @file
* Transmission Control Protocol for IP
*
* This file contains common functions for the TCP implementation, such as functinos
* for manipulating the data structures and the TCP timer functions. TCP functions
* related to input and output is found in tcp_in.c and tcp_out.c respectively.
*
*/
/*
* Co... | daiyinger/esp-idf | components/lwip/core/tcp.c | C | apache-2.0 | 64,976 |
/*
* Copyright (C) 2014 Michael Brown <mbrown@fensystems.co.uk>.
*
* 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 any later version.
*
* This progr... | 4km3/netboot | third_party/ipxe/src/hci/commands/profstat_cmd.c | C | apache-2.0 | 1,969 |
/* filesys.c -- filesystem specific functions.
$Id: filesys.c,v 1.6 2004/07/30 17:17:40 karl Exp $
Copyright (C) 1993, 1997, 1998, 2000, 2002, 2003, 2004 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 Lice... | dplbsd/soc2013 | head/contrib/texinfo/info/filesys.c | C | bsd-2-clause | 19,720 |
/* Redis CLI (command line interface)
*
* Copyright (c) 2009-2012, Salvatore Sanfilippo <antirez at gmail dot com>
* 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 o... | lrita/redis-2.8.24-with-comment | src/redis-cli.c | C | bsd-3-clause | 75,592 |
/*
** Copyright 2001-2004, Travis Geiselbrecht. All rights reserved.
** Distributed under the terms of the NewOS License.
*/
#include <boot/stage2.h>
#include <kernel/kernel.h>
#include <sys/types.h>
#include <kernel/arch/int.h>
#include <kernel/arch/cpu.h>
#include <kernel/console.h>
#include <kernel/debug.h>
#inc... | dioptre/newos | kernel/arch/x86_64/arch_timer.c | C | bsd-3-clause | 2,116 |
/*
* WPA Supplicant - Basic AP mode support routines
* Copyright (c) 2003-2009, Jouni Malinen <j@w1.fi>
* Copyright (c) 2009, Atheros Communications
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#include "utils/includes.h"
#include "utils/common.h"
#... | kelvincheung/rt_hostap | wpa_supplicant/ap.c | C | bsd-3-clause | 36,734 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.