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 |
|---|---|---|---|---|---|
/* radare2 - LGPL - Copyright 2017 - condret */
#include <r_util.h>
#include <r_types.h>
ut32 get_msb(ut32 v) {
int i;
for (i = 31; i > (-1); i--) {
if (v & (0x1 << i)) {
return (v & (0x1 << i));
}
}
return 0;
}
R_API RIDPool* r_id_pool_new(ut32 start_id, ut32 last_id) {
RIDPool* pool = NULL;
if (start_... | Maijin/radare2 | libr/util/idpool.c | C | gpl-3.0 | 4,681 |
/* Part of SWI-Prolog
Author: Jan Wielemaker
E-mail: J.Wielemaker@vu.nl
WWW: http://www.swi-prolog.org
Copyright (c) 1999-2011, University of Amsterdam
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permit... | edechter/swipl-devel | src/win32/console/edit.c | C | lgpl-2.1 | 16,384 |
/**************************************************************************/
/* */
/* OCaml */
/* */
/* ... | gerdstolpmann/ocaml | runtime/globroots.c | C | lgpl-2.1 | 6,109 |
/****************************************************************************
* sched/pthread_condwait.c
*
* Copyright (C) 2007-2009, 2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are per... | gcds/project_xxx | nuttx/sched/pthread_condwait.c | C | bsd-3-clause | 4,507 |
/*
* Copyright (c) 2016-2020, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <assert.h>
#include <stdint.h>
#include <string.h>
#include <lib/mmio.h>
#include <lib/fconf/fconf.h>
#include <plat/arm/common/plat_arm.h>
#include <plat/arm/common/fconf_nv_cntr... | jenswi-linaro/arm-trusted-firmware | plat/arm/board/fvp/fvp_trusted_boot.c | C | bsd-3-clause | 1,842 |
/**
* @file
* lwIP network interface abstraction
*
* @defgroup netif Network interface (NETIF)
* @ingroup callbackstyle_api
*
* @defgroup netif_ip4 IPv4 address handling
* @ingroup netif
*
* @defgroup netif_ip6 IPv6 address handling
* @ingroup netif
*
* @defgroup netif_cd Client data handling
* Store ... | chinesebear/rtt-net | rtt-2.1/components/net/lwip-2.0.0/src/core/netif.c | C | mit | 37,448 |
/*
* This file is part of the MicroPython project, http://micropython.org/
*
* The MIT License (MIT)
*
* Copyright (c) 2014 Paul Sokolovsky
*
* 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 S... | ignorabimus/micropython-c-api | micropython/extmod/moduhashlib.c | C | mit | 5,524 |
/*
* ath79-mbox.c -- ALSA MBOX DMA management functions
*
* Copyright (c) 2013 The Linux Foundation. All rights reserved.
*
* 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 no... | male-puppies/opwrt12 | target/linux/ar71xx/files/sound/soc/ath79/ath79-mbox.c | C | gpl-2.0 | 7,215 |
// SPDX-License-Identifier: GPL-2.0
/*
* Functions for working with device tree overlays
*
* Copyright (C) 2012 Pantelis Antoniou <panto@antoniou-consulting.com>
* Copyright (C) 2012 Texas Instruments Inc.
*/
#define pr_fmt(fmt) "OF: overlay: " fmt
#include <linux/kernel.h>
#include <linux/module.h>
#include <li... | Pingmin/linux | drivers/of/overlay.c | C | gpl-2.0 | 34,958 |
/*
* Freescale SSI ALSA SoC Digital Audio Interface (DAI) driver
*
* Author: Timur Tabi <timur@freescale.com>
*
* Copyright 2007-2015 Freescale Semiconductor, Inc.
*
* This file is licensed under the terms of the GNU General Public License
* version 2. This program is licensed "as is" without any warranty of a... | FEDEVEL/openrex-linux-3.14 | sound/soc/fsl/fsl_ssi.c | C | gpl-2.0 | 46,256 |
/*
* Copyright (c) 2003, 2007-14 Matteo Frigo
* Copyright (c) 2003, 2007-14 Massachusetts Institute of Technology
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the ... | Starlink/fftw | rdft/scalar/r2cb/r2cbIII_16.c | C | gpl-2.0 | 10,274 |
/* testlib.c for c++ - test expectlib */
#include <stdio.h>
#include "expect.h"
extern "C" {
extern int write(...);
extern int strlen(...);
}
void
timedout()
{
fprintf(stderr,"timed out\n");
exit(-1);
}
char move[100];
void
read_first_move(int fd)
{
if (EXP_TIMEOUT == exp_expectl(fd,exp_glob,"first\r\n1.*\r\n... | atmark-techno/atmark-dist | user/expect/expect-5.43.0/example/chesslib++.c | C | gpl-2.0 | 1,443 |
/*
* refclock_ulink - clock driver for Ultralink WWVB receiver
*/
/***********************************************************************
* *
* Copyright (c) David L. Mills 1992-1998 *
* ... | rhuitl/uClinux | user/ntp/ntpd/refclock_ulink.c | C | gpl-2.0 | 17,372 |
/*
* Driver O/S-independent utility routines
*
* $Copyright Open Broadcom Corporation$
* $Id: bcmutils.c 496061 2014-08-11 06:14:48Z $
*/
#include <bcm_cfg.h>
#include <typedefs.h>
#include <bcmdefs.h>
#include <stdarg.h>
#ifdef BCMDRIVER
#include <osl.h>
#include <bcmutils.h>
#else /* !BCMDRIVER */
#include <... | s20121035/rk3288_android5.1_repo | kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/bcmutils.c | C | gpl-3.0 | 77,626 |
/* Only eth0 supported for now
*
* (C) Copyright 2003
* Thomas.Lange@corelatus.se
*
* SPDX-License-Identifier: GPL-2.0+
*/
#include <config.h>
#if defined(CONFIG_SYS_DISCOVER_PHY)
#error "PHY not supported yet"
/* We just assume that we are running 100FD for now */
/* We all use switches, right? ;-) */
#endif
/... | guileschool/beagleboard | u-boot/arch/mips/mach-au1x00/au1x00_eth.c | C | mit | 7,093 |
/******************************************************************************
* Spine Runtimes Software License
* Version 2
*
* Copyright (c) 2013, Esoteric Software
* All rights reserved.
*
* You are granted a perpetual, non-exclusive, non-sublicensable and
* non-transferable license to install, execute an... | RichardRanft/Torque6 | src/spine/EventData.c | C | mit | 2,042 |
/*
* $Id:$
*
* Copyright (C) 2012 Piotr Esden-Tempski <piotr@esden.net>
*
* This file is part of paparazzi.
*
* paparazzi 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, or (at your ... | arbuzarbuz/paparazzi | sw/airborne/lisa/test_can.c | C | gpl-2.0 | 2,489 |
/* Copyright (c) 2010-2011, 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... | lyfkevin/Wind_iproj_JB_kernel_old | lge/lge_board/batman/gpiomux_lge_325.c | C | gpl-2.0 | 33,789 |
/* { dg-final { check-function-bodies "**" "" "-DCHECK_ASM" } } */
#include "test_sve_acle.h"
/*
** qdmlalt_lane_0_s64_tied1:
** sqdmlalt z0\.d, z4\.s, z5\.s\[0\]
** ret
*/
TEST_DUAL_Z (qdmlalt_lane_0_s64_tied1, svint64_t, svint32_t,
z0 = svqdmlalt_lane_s64 (z0, z4, z5, 0),
z0 = svqdmlalt_lane (z0, z4, z5... | Gurgel100/gcc | gcc/testsuite/gcc.target/aarch64/sve2/acle/asm/qdmlalt_lane_s64.c | C | gpl-2.0 | 1,699 |
/* RxRPC point-to-point transport session management
*
* Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.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 Fre... | ircncl/linux-grsec-incremental | net/rxrpc/ar-transport.c | C | gpl-2.0 | 7,246 |
/* Copyright (c) 2011-2012, Code Aurora Forum. All rights reserved.
*
* HTC: elite machine driver which defines board-specific data
* Copy from sound/soc/msm/msm8960.c
*
* 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
* o... | kbc-developers/android_kernel_htc_msm8960 | arch/arm/mach-msm/htc/elite/board-elite-audio.c | C | gpl-2.0 | 49,618 |
/*
* Common code for the NVMe target.
* Copyright (c) 2015-2016 HGST, a Western Digital Company.
*
* 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 pro... | paulluo/linux | drivers/nvme/target/core.c | C | gpl-2.0 | 24,383 |
/* Copyright (C) 2008 Rodolfo Giometti <giometti@linux.it>
* Copyright (C) 2008 Eurotech S.p.A. <info@eurotech.it>
* Based on a previous work by Copyright (C) 2008 Texas Instruments, Inc.
*
* Copyright (c) 2011, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it ... | atila1974/AK-OnePlusOne-CAF | drivers/power/bq27541_fuelgauger.c | C | gpl-2.0 | 50,014 |
/*
* linux/fs/inode.c
*
* (C) 1997 Linus Torvalds
*/
#include <linux/fs.h>
#include <linux/mm.h>
#include <linux/dcache.h>
#include <linux/init.h>
#include <linux/quotaops.h>
#include <linux/slab.h>
#include <linux/writeback.h>
#include <linux/module.h>
#include <linux/backing-dev.h>
#include <linux/wait.h>
#inclu... | liquidware/liquidware_beagleboard_android_kernel | fs/inode.c | C | gpl-2.0 | 43,307 |
/*
* drivers/i2c/busses/i2c-tegra.c
*
* Copyright (C) 2010 Google, Inc.
* Author: Colin Cross <ccross@android.com>
*
* Copyright (C) 2010-2012 NVIDIA Corporation
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may... | aureljared/pulsar | drivers/i2c/busses/i2c-tegra.c | C | gpl-2.0 | 31,045 |
/*
* Copyright (C) 2008 The Android Open Source Project
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* * Redistributions of source code must retain the above copyright
* notice, t... | infraredbg/Lenovo_A820_kernel_kk | bionic/libc/arch-x86/bionic/__set_tls.c | C | gpl-2.0 | 2,960 |
/*
** I/O library.
** Copyright (C) 2005-2017 Mike Pall. See Copyright Notice in luajit.h
**
** Major portions taken verbatim or adapted from the Lua interpreter.
** Copyright (C) 1994-2011 Lua.org, PUC-Rio. See Copyright Notice in lua.h
*/
#include <errno.h>
#include <stdio.h>
#define lib_io_c
#define LUA_LIB
#incl... | team-parasol/parasol | src/fluid/luajit-2.0.5/src/lib_io.c | C | lgpl-2.1 | 13,724 |
/**
* Copyright (C) 2014 Martin Landsmann <Martin.Landsmann@HAW-Hamburg.de>
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup net_fib
* @{
*
* @file
* @brief Fu... | yogo1212/RIOT | sys/net/network_layer/fib/fib.c | C | lgpl-2.1 | 56,622 |
/*= -*- c-basic-offset: 4; indent-tabs-mode: nil; -*-
*
* librsync -- the library for network deltas
* $Id: msg.c,v 1.15 2003/06/12 05:47:22 wayned Exp $
*
* Copyright (C) 2000, 2001 by Martin Pool <mbp@samba.org>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of... | kaseya/librsync | msg.c | C | lgpl-2.1 | 2,883 |
#include "board.h"
#include "uart.h"
#include "app_util_platform.h"
#include "nrf_drv_common.h"
#include "nrf_systick.h"
#include "nrf_rtc.h"
#include "nrf_drv_clock.h"
#include "softdevice_handler.h"
#include "nrf_drv_uart.h"
#include "nrf_gpio.h"
#include <rtthread.h>
#include <rthw.h>
#if 0
/*********************... | igou/rt-thread | bsp/nrf52832/board/board.c | C | apache-2.0 | 6,920 |
/*
* linux/mm/vmscan.c
*
* Copyright (C) 1991, 1992, 1993, 1994 Linus Torvalds
*
* Swap reorganised 29.12.95, Stephen Tweedie.
* kswapd added: 7.1.96 sct
* Removed kswapd_ctl limits, and swap out as many pages as needed
* to bring the system back to freepages.high: 2.4.97, Rik van Riel.
* Zone aware k... | artefvck/X_Artefvck | mm/vmscan.c | C | gpl-2.0 | 104,394 |
/*
* Copyright (c) 2013-2015, Mellanox Technologies. 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 of th... | michael2012z/myKernel | drivers/net/ethernet/mellanox/mlx5/core/health.c | C | gpl-2.0 | 11,503 |
/*
* File : touch.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2010 - 2012, RT-Thread Develop Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rt-thread.org/license/LICENSE
*
* Change Logs:
* Date Aut... | zhangzq71/rt-thread | bsp/mini2440/drivers/touch.c | C | gpl-2.0 | 10,961 |
/*
* Gadget Function Driver for MTP
*
* Copyright (C) 2010 Google, Inc.
* Author: Mike Lockwood <lockwood@android.com>
*
* 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 t... | transi/kernel_amazon_bowser-common | drivers/usb/gadget/f_mtp.c | C | gpl-2.0 | 32,603 |
/*
* Real-Time Scheduling Class (mapped to the SCHED_FIFO and SCHED_RR
* policies)
*/
#include "sched.h"
#include <linux/slab.h>
#include <trace/events/sched.h>
int sched_rr_timeslice = RR_TIMESLICE;
static int do_sched_rt_period_timer(struct rt_bandwidth *rt_b, int overrun);
struct rt_bandwidth def_rt_bandwidt... | BlissRoms-Kernels/kernel_motorola_BlissPure | kernel/sched/rt.c | C | gpl-2.0 | 51,646 |
/*
* (C) Copyright 2003-2006
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*
* (C) Copyright 2004
* Mark Jonas, Freescale Semiconductor, mark.jonas@motorola.com.
*
* (C) Copyright 2004-2006
* Martin Krause, TQ-Systems GmbH, martin.krause@tqs.de
*
* See file CREDITS for list of people who contributed... | eldarerathis/FIREFIREFIRE-Multiboot-PoC | board/tqm5200/tqm5200.c | C | gpl-2.0 | 16,892 |
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/*
* test_ocspchecker.c
*
* Test OcspChecker function
*
*/
#include "testutil.h"
#include "testutil_nss.h"
s... | Yukarumya/Yukarum-Redfoxes | security/nss/cmd/libpkix/pkix/top/test_ocsp.c | C | mpl-2.0 | 9,426 |
/* Implementation of the SET_EXPONENT intrinsic
Copyright 2003 Free Software Foundation, Inc.
Contributed by Richard Henderson <rth@redhat.com>.
This file is part of the GNU Fortran 95 runtime library (libgfortran).
Libgfortran is free software; you can redistribute it and/or
modify it under the terms of the GN... | shaotuanchen/sunflower_exp | tools/source/gcc-4.2.4/libgfortran/generated/set_exponent_r16.c | C | bsd-3-clause | 1,802 |
/*
* Builtin "git tag"
*
* Copyright (c) 2007 Kristian Høgsberg <krh@redhat.com>,
* Carlos Rica <jasampler@gmail.com>
* Based on git-tag.sh and mktag.c by Linus Torvalds.
*/
#include "cache.h"
#include "builtin.h"
#include "refs.h"
#include "tag.h"
#include "run-command.h"
#include "parse-opti... | TigerKid001/git | builtin/tag.c | C | gpl-2.0 | 13,238 |
// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Linux Socket Filter - Kernel level socket filtering
*
* Based on the design of the Berkeley Packet Filter. The new
* internal format has been designed by PLUMgrid:
*
* Copyright (c) 2011 - 2014 PLUMgrid, http://plumgrid.com
*
* Authors:
*
* Jay Schulist <jschl... | koct9i/linux | net/core/filter.c | C | gpl-2.0 | 234,767 |
/* savage_bci.c -- BCI support for Savage
*
* Copyright 2004 Felix Kuehling
* 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 wit... | kv193/buildroot | linux/linux-kernel/drivers/gpu/drm/savage/savage_bci.c | C | gpl-2.0 | 31,167 |
/*
* Block driver for media (i.e., flash cards)
*
* Copyright 2002 Hewlett-Packard Company
* Copyright 2005-2008 Pierre Ossman
*
* Use consistent with the GNU GPL is permitted,
* provided that this copyright notice is
* preserved in its entirety in all copies and derived works.
*
* HEWLETT-PACKARD COMPANY MAK... | npf-ati/linux-2.6-imx | drivers/mmc/card/block.c | C | gpl-2.0 | 67,016 |
/*
* Copyright (C) 2007 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | bq/aquaris-E4 | sound/soc/mediatek/mt_soc_audio_v3/AudDrv_Clk.c | C | gpl-2.0 | 28,643 |
/*
* drivers/gpu/ion/ion.c
*
* Copyright (C) 2011 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 hop... | HelllGuest/boom_kernel_sprout_kk | drivers/gpu/ion/ion.c | C | gpl-2.0 | 48,833 |
/**************************************************************************
* Copyright (c) 2007, 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 Foundat... | BenzoPlayer/kernel_asus_fugu | drivers/staging/imgtec/intel/video/common/psb_mmu.c | C | gpl-2.0 | 29,451 |
/*
* Copyright (C) 2011-2014 MediaTek Inc.
*
* 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, but WITHOUT ANY WARRAN... | vredniiy/sprout | drivers/misc/mediatek/accdet/accdet_drv.c | C | gpl-2.0 | 4,055 |
/*
* linux/kernel/seccomp.c
*
* Copyright 2004-2005 Andrea Arcangeli <andrea@cpushare.com>
*
* Copyright (C) 2012 Google, Inc.
* Will Drewry <wad@chromium.org>
*
* This defines a simple but solid secure-computing facility.
*
* Mode 1 uses a fixed list of allowed system calls.
* Mode 2 allows user-defined sy... | Elite-Kernels/Elite_angler | kernel/seccomp.c | C | gpl-2.0 | 22,899 |
/*--------------------------------------------------------------------*/
/*--- Platform-specific syscalls stuff. syswrap-ppc64-aix5.c ---*/
/*--------------------------------------------------------------------*/
/*
This file is part of Valgrind, a dynamic binary instrumentation
framework.
Copyright (... | MicroTrustRepos/microkernel | src/l4/pkg/valgrind/src/valgrind-3.6.0-svn/coregrind/m_syswrap/syswrap-ppc64-aix5.c | C | gpl-2.0 | 30,484 |
/*
* linux/arch/arm/mach-mmp/brownstone.c
*
* Support for the Marvell Brownstone Development Platform.
*
* Copyright (C) 2009-2010 Marvell International Ltd.
*
* 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
* publ... | chase2534/gtab47.freekern | arch/arm/mach-mmp/brownstone.c | C | gpl-2.0 | 7,186 |
/*
* 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... | GameTheory-/android_kernel_g4stylusn2 | net/ipv4/tcp_input.c | C | gpl-2.0 | 170,266 |
/* mpq_div -- divide two rational numbers.
Copyright 1991, 1994, 1995, 1996, 2000, 2001 Free Software Foundation, Inc.
This file is part of the GNU MP Library.
The GNU MP 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 Fr... | carthy/beard.gmp | mpq/div.c | C | gpl-3.0 | 2,833 |
/*
* ref.c: reference counting
*
* Copyright (C) 2009-2011 David Lutterkort
*
* 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 opti... | camptocamp/augeas-debian | src/ref.c | C | lgpl-2.1 | 1,339 |
/**
******************************************************************************
* @file stm32h7xx_hal_sram.c
* @author MCD Application Team
* @brief SRAM HAL module driver.
* This file provides a generic firmware to drive SRAM memories
* mounted as external device.
*
@verbatim... | adfernandes/mbed | targets/TARGET_STM/TARGET_STM32H7/STM32Cube_FW/STM32H7xx_HAL_Driver/stm32h7xx_hal_sram.c | C | apache-2.0 | 33,824 |
//
// Copyright(C) 1993-1996 Id Software, Inc.
// Copyright(C) 2005-2014 Simon Howard
//
// 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... | WarlockD/crispy-doom | stm32/chocolate/chocdoom/f_wipe.c | C | gpl-2.0 | 5,076 |
/**
* @file
*
* AMD Family_10 Hydra Logical ID Table
*
* @xrefitem bom "File Content Label" "Release Content"
* @e project: AGESA
* @e sub-project: CPU/FAMILY/0x10
* @e \$Revision: 6261 $ @e \$Date: 2008-06-04 17:38:17 -0500 (Wed, 04 Jun 2008) $
*
*/
/*
***********************************************... | hustcalm/coreboot-hacking | src/vendorcode/amd/agesa/f10/Proc/CPU/Family/0x10/RevD/HY/F10HyLogicalIdTables.c | C | gpl-2.0 | 4,284 |
/* -*- Mode:C; c-basic-offset:4; tab-width:4; indent-tabs-mode:nil -*- */
/*
* vmx_fault.c: handling VMX architecture-related VM exits
* 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 Lic... | jamesbulpin/xcp-xen-4.1 | xen/arch/ia64/vmx/vmx_fault.c | C | gpl-2.0 | 19,082 |
/* $OpenBSD: strdup.c,v 1.6 2005/08/08 08:05:37 espie Exp $ */
/*
* Copyright (c) 1988, 1993
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
... | amenglar/freenos | lib/libc/string/strdup.c | C | gpl-3.0 | 1,906 |
/*
* Copyright (c) 2016 Thomas Pornin <pornin@bolet.org>
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, ... | Themaister/RetroArch | deps/bearssl-0.6/src/rsa/rsa_ssl_decrypt.c | C | gpl-3.0 | 1,751 |
/*
* QEMU System Emulator block driver
*
* Copyright (c) 2003 Fabrice Bellard
*
* 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 ri... | AnttiLukats/orp | third-party/qemu-orp/block.c | C | apache-2.0 | 173,814 |
/*
* linux/mm/vmscan.c
*
* Copyright (C) 1991, 1992, 1993, 1994 Linus Torvalds
*
* Swap reorganised 29.12.95, Stephen Tweedie.
* kswapd added: 7.1.96 sct
* Removed kswapd_ctl limits, and swap out as many pages as needed
* to bring the system back to freepages.high: 2.4.97, Rik van Riel.
* Zone aware k... | Basler/linux-usb-zerocopy | mm/vmscan.c | C | gpl-2.0 | 112,737 |
/* Copyright (C) 2000 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 of the License.
This program is distributed in the hope that it will be useful,
but WIT... | drakeos/Dracore | dep/mysqllite/strings/my_vsnprintf.c | C | gpl-2.0 | 18,158 |
/*
* linux/drivers/video/ti81xx/vpss/dctrl.c
*
* VPSS display controller driver for TI 81XX
*
* Copyright (C) 2009 TI
* Author: Yihe Hu <yihehu@ti.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 Sof... | nazgee/igep-kernel | drivers/video/ti81xx/vpss/dctrl.c | C | gpl-2.0 | 61,473 |
/*-------------------------------------------------------------------------
_fsreturnval.c - Floating point library in optimized assembly for 8051
Copyright (c) 2004, Paul Stoffregen, paul@pjrc.com
This library is free software; you can redistribute it and/or modify it
under the terms of the GNU General P... | PinguinoIDE/pinguino-compilers | windows64/p8/share/sdcc/lib/src/_fsreturnval.c | C | gpl-2.0 | 2,557 |
// SPDX-License-Identifier: GPL-2.0-only
/*
* e750-wm9705.c -- SoC audio for e750
*
* Copyright 2007 (c) Ian Molton <spyro@f2s.com>
*/
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/gpio.h>
#include <sound/core.h>
#include <sound/pcm.h>
#include <sound/soc.h>
#include <mach/audio.h>
#... | koct9i/linux | sound/soc/pxa/e750_wm9705.c | C | gpl-2.0 | 3,657 |
/* Copyright (c) 2011, 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 hope th... | sgs3/SGH-T999V_Kernel | drivers/video/msm/mipi_tc358764_dsi2lvds.c | C | gpl-2.0 | 24,068 |
/* GStreamer base utils library missing plugins support
* Copyright (C) 2006 Tim-Philipp Müller <tim centricular net>
*
* This library 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
* ver... | 166MMX/openjdk.java.net-openjfx-8u40-rt | modules/media/src/main/native/gstreamer/gstreamer-lite/gst-plugins-base/gst-libs/gst/pbutils/missing-plugins.c | C | gpl-2.0 | 25,421 |
/******************************************************************************/
/* Copyright (c) Crackerjack Project., 2007 */
/* */
/* This program is free software; you can redistribute it and/or modify ... | itnihao/ltp | testcases/kernel/syscalls/rt_sigaction/rt_sigaction02.c | C | gpl-2.0 | 4,240 |
/*
* zsmalloc memory allocator
*
* Copyright (C) 2011 Nitin Gupta
* Copyright (C) 2012, 2013 Minchan Kim
*
* This code is released using a dual license strategy: BSD/GPL
* You can choose the license that better fits your requirements.
*
* Released under the terms of 3-clause BSD License
* Released under the ... | amarchandole/capprobe_mptcp | mm/zsmalloc.c | C | gpl-2.0 | 46,986 |
/*
* QEMU i8255x (PRO100) emulation
*
* Copyright (C) 2006-2011 Stefan Weil
*
* Portions of the code are copies from grub / etherboot eepro100.c
* and linux e100.c.
*
* 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
*... | piyushroshan/xen-4.3.2 | tools/qemu-xen/hw/eepro100.c | C | gpl-2.0 | 70,695 |
/*
* (C) Copyright David Brownell 2000-2002
* Copyright (c) 2005 MontaVista Software
*
* 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
* optio... | ut-osa/laminar | linux-2.6.22.6/drivers/usb/host/ehci-fsl.c | C | bsd-3-clause | 9,011 |
/*
* pci_irq.c - ACPI PCI Interrupt Routing ($Revision: 11 $)
*
* Copyright (C) 2001, 2002 Andy Grover <andrew.grover@intel.com>
* Copyright (C) 2001, 2002 Paul Diefenbaugh <paul.s.diefenbaugh@intel.com>
* Copyright (C) 2002 Dominik Brodowski <devel@brodo.de>
* (c) Copyright 2008 Hewlett-Packard Develo... | Fe-Pi/linux | drivers/acpi/pci_irq.c | C | gpl-2.0 | 14,413 |
/* aes256_dec.c */
/*
This file is part of the AVR-Crypto-Lib.
Copyright (C) 2008 Daniel Otte (daniel.otte@rub.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, either version ... | muccc/luftschleuse2 | software/avr-crypto-lib/aes/aes256_dec.c | C | gpl-3.0 | 1,072 |
/*
* Copyright (C) Igor Sysoev
* Copyright (C) Nginx, Inc.
*/
#include <ngx_config.h>
#include <ngx_core.h>
#include <ngx_http.h>
typedef struct {
uint32_t percent;
ngx_http_variable_value_t value;
} ngx_http_split_clients_part_t;
typedef struct {
ngx_http_complex_value_t v... | huangjilaiqin/nginx | src/http/modules/ngx_http_split_clients_module.c | C | mit | 6,443 |
/*
* Ioctl handler
* Linux ethernet bridge
*
* Authors:
* Lennert Buytenhek <buytenh@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 (... | getitnowmarketing/archos_kernel_27 | net/bridge/br_ioctl.c | C | gpl-2.0 | 9,288 |
#include <linux/string.h>
#include <linux/timer.h>
#include <linux/workqueue.h>
#include <linux/platform_device.h>
#include <mach/am_regs.h>
#include <linux/amports/canvas.h>
#include <linux/amports/vframe.h>
#include <linux/amports/vframe_provider.h>
#include "deinterlace.h"
#ifdef DEBUG
unsigned di_pre_underflow =... | j1nx/Openlinux.Amlogic.M3 | drivers/amlogic/amports/deinterlace.c | C | gpl-2.0 | 136,980 |
/* Top-level LTO routines.
Copyright (C) 2009-2015 Free Software Foundation, Inc.
Contributed by CodeSourcery, 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 General Public License as published by the Free
Software Foundation; either vers... | apc-llc/gcc-5.1.1-knc | gcc/lto/lto.c | C | gpl-2.0 | 103,409 |
/*
* LPC32xx SSP interface (SPI mode)
*
* (C) Copyright 2014 DENX Software Engineering GmbH
* Written-by: Albert ARIBAUD <albert.aribaud@3adev.fr>
*
* SPDX-License-Identifier: GPL-2.0+
*/
#include <common.h>
#include <linux/compat.h>
#include <asm/io.h>
#include <malloc.h>
#include <spi.h>
#include <asm/ar... | mdxy2010/forlinux-ok6410 | u-boot15/drivers/spi/lpc32xx_ssp.c | C | gpl-2.0 | 3,430 |
/*
* TI OMAP I2C master mode driver
*
* Copyright (C) 2003 MontaVista Software, Inc.
* Copyright (C) 2004 Texas Instruments.
*
* Updated to work with multiple I2C interfaces on 24xx by
* Tony Lindgren <tony@atomide.com> and Imre Deak <imre.deak@nokia.com>
* Copyright (C) 2005 Nokia Corporation
*
* Cleaned up ... | janrinze/loox7xxport.loox2624 | drivers/i2c/busses/i2c-omap.c | C | gpl-2.0 | 18,070 |
/*
* Copyright 2015 Advanced Micro Devices, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, m... | endocode/linux | drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c | C | gpl-2.0 | 9,245 |
/*
* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
*
* 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 not... | monishk10/moshi_cancro | drivers/staging/prima/CORE/HDD/src/wlan_hdd_softap_tx_rx.c | C | gpl-2.0 | 71,439 |
/*******************************************************************************
Intel 10 Gigabit PCI Express Linux driver
Copyright(c) 1999 - 2013 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,
ver... | HarveyHunt/linux | drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82598.c | C | gpl-2.0 | 8,776 |
/* Basic C++ demangling support for GDB.
Copyright (C) 1991-2013 Free Software Foundation, Inc.
Written by Fred Fish at Cygnus Support.
This file is part of GDB.
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
... | dje42/gdb | gdb/demangle.c | C | gpl-2.0 | 7,136 |
/*
ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010,
2011,2012,2013 Giovanni Di Sirio.
This file is part of ChibiOS/RT.
ChibiOS/RT 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 Softw... | kvzhao/Embedded-ROS | os/ports/GCC/ARMCMx/STM32L1xx/vectors.c | C | gpl-3.0 | 9,889 |
/*
* Copyright (C) 2005-2009 Junjiro R. Okajima
*
* This program, aufs 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... | ArthySundaram/firstrepo | ubuntu/aufs/inode.c | C | gpl-2.0 | 9,534 |
// SPDX-License-Identifier: GPL-2.0
/*
* USB4 specific functionality
*
* Copyright (C) 2019, Intel Corporation
* Authors: Mika Westerberg <mika.westerberg@linux.intel.com>
* Rajmohan Mani <rajmohan.mani@intel.com>
*/
#include <linux/delay.h>
#include <linux/ktime.h>
#include "tb.h"
#define USB4_DATA_DWORDS... | c0d3z3r0/linux-rockchip | drivers/thunderbolt/usb4.c | C | gpl-2.0 | 17,878 |
/*
Simple DirectMedia Layer
Copyright (C) 1997-2018 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this ... | joncampbell123/dosbox-rewrite | vs2015/sdl2/src/audio/psp/SDL_pspaudio.c | C | gpl-2.0 | 5,604 |
/*
* Digital Audio (PCM) abstract layer
* Copyright (c) by Jaroslav Kysela <perex@perex.cz>
*
*
* 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; only version 2 of the License.
*
... | alexey6600/M8_Sense_7.00 | sound/core/pcm_native.c | C | gpl-2.0 | 100,040 |
/***************************************************************************//**
* \file cyutils.c
* \version 5.40
*
* \brief Provides a function to handle 24-bit value writes.
*
********************************************************************************
* \copyright
* Copyright 2008-2016, Cypress Semiconductor Co... | techdude101/code | PSoC BLE/WS_UARTDeepSleepWakeUp/UARTDeepSleepWakeUp.cydsn/codegentemp/cyutils.c | C | gpl-3.0 | 2,399 |
/* GStreamer
* Copyright (C) <2013> Wim Taymans <wim.taymans@gmail.com>
*
* This library 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
* version 2 of the License, or (at your option) any... | google/aistreams | third_party/gstreamer/tests/benchmarks/gstpoolstress.c | C | apache-2.0 | 2,862 |
// Inferno utils/5c/sgen.c
// http://code.google.com/p/inferno-os/source/browse/utils/5c/sgen.c
//
// Copyright © 1994-1999 Lucent Technologies Inc. All rights reserved.
// Portions Copyright © 1995-1997 C H Forsyth (forsyth@terzarima.net)
// Portions Copyright © 1997-1999 Vita Nuova Limited
// Portions Copyright © 20... | eternalNight/ucore_app_go | src/cmd/5c/sgen.c | C | bsd-3-clause | 5,060 |
// SPDX-License-Identifier: GPL-2.0
/*
* Workingset detection
*
* Copyright (C) 2013 Red Hat, Inc., Johannes Weiner
*/
#include <linux/memcontrol.h>
#include <linux/mm_inline.h>
#include <linux/writeback.h>
#include <linux/shmem_fs.h>
#include <linux/pagemap.h>
#include <linux/atomic.h>
#include <linux/module.h>
#... | openwrt-es/linux | mm/workingset.c | C | gpl-2.0 | 21,841 |
// SPDX-License-Identifier: GPL-2.0
/*
* Volume Management Device driver
* Copyright (c) 2015, Intel Corporation.
*/
#include <linux/device.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/msi.h>
#include <linux/pci.h>
#include <linux/srcu.h>... | BPI-SINOVOIP/BPI-Mainline-kernel | linux-5.4/drivers/pci/controller/vmd.c | C | gpl-2.0 | 23,241 |
/* sam_header.c -- basic SAM/BAM header API.
Copyright (C) 2009-2013 Genome Research Ltd.
Author: Petr Danecek <pd3@sanger.ac.uk>
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... | hanfang/scikit-ribo | tools/samtools-1.2/sam_header.c | C | gpl-2.0 | 22,559 |
/* packet-smrse.c
* Routines for SMRSE Short Message Relay Service packet dissection
* Ronnie Sahlberg 2004
*
* 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 t... | frenos/wireshark | asn1/smrse/packet-smrse-template.c | C | gpl-2.0 | 5,066 |
#if !defined(_FXFT_VERSION_) || _FXFT_VERSION_ == 2501
/***************************************************************************/
/* */
/* truetype.c */
/* ... | s20121035/rk3288_android5.1_repo | external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/truetype/fxft_truetype.c | C | gpl-3.0 | 1,828 |
/* eepro.c: Intel EtherExpress Pro/10 device driver for Linux. */
/*
Written 1994, 1995,1996 by Bao C. Ha.
Copyright (C) 1994, 1995,1996 by Bao C. Ha.
This software may be used and distributed
according to the terms of the GNU General Public License,
incorporated herein by reference.
The author may be reached ... | stevelord/PR30 | linux-2.6.31/drivers/net/eepro.c | C | gpl-2.0 | 52,171 |
/*
* chap.c - Challenge Handshake Authentication Protocol.
*
* Copyright (c) 1993 The Australian National University.
* 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 th... | lizhuobin1981/rtems_test | cpukit/pppd/chap.c | C | gpl-2.0 | 21,275 |
/*
* 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.
*
* ROUTE - implementation of the IP router.
*
* Authors: Ross Biro
* Fred N. van Kempen, <waltje@uWalt.NL.Mug... | Andiry/prd | net/ipv4/route.c | C | gpl-2.0 | 68,241 |
#include <linux/init.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/device.h>
#include <linux/kdev_t.h>
#include <linux/fs.h>
#include <linux/cdev.h>
#include <linux/platform_device.h>
#include <linux/dma-mapping.h>
#include <linux/mm_types.h>
#include <linux/mm.h>
#incl... | valascus/android_p8000_kernel_nougat | drivers/misc/mediatek/videocodec/mt6735/videocodec_kernel_driver_D1.c | C | gpl-3.0 | 104,623 |
/*
* linux/ipc/namespace.c
* Copyright (C) 2006 Pavel Emelyanov <xemul@openvz.org> OpenVZ, SWsoft Inc.
*/
#include <linux/ipc.h>
#include <linux/msg.h>
#include <linux/ipc_namespace.h>
#include <linux/rcupdate.h>
#include <linux/nsproxy.h>
#include <linux/slab.h>
#include <linux/fs.h>
#include <linux/mount.h>
#incl... | augustayu/fastsocket | kernel/ipc/namespace.c | C | gpl-2.0 | 4,437 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.