code stringlengths 6 250k | repo_name stringlengths 5 70 | path stringlengths 3 177 | language stringclasses 1
value | license stringclasses 15
values | size int64 6 250k |
|---|---|---|---|---|---|
/******************************************************************************
*
* Copyright (C) 2002 - 2015 Xilinx, 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 Softw... | mosass/SixpodSW | sixpod_freertos901_xilinx_bsp_0/ps7_cortexa9_0/libsrc/gpio_v4_3/src/xgpio.c | C | mit | 10,109 |
/*
* net/sched/cls_route.c ROUTE4 classifier.
*
* 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.
*
* Authors:... | impedimentToProgress/UCI-BlueChip | snapgear_linux/linux-2.6.21.1/net/sched/cls_route.c | C | mit | 12,909 |
/**
* @file
*
* Implements the workaround for erratum 419.
*
* Returns the table of initialization steps to perform at
* AmdInitEarly.
*
* @xrefitem bom "File Content Label" "Release Content"
* @e project: AGESA
* @e sub-project: CPU/FAMILY/0x10/RevD/HY
* @e \$Revision$ @e \$Date$
*
*/
/*
********... | DarkDefender/coreboot | src/vendorcode/amd/agesa/f10/Proc/CPU/Family/0x10/RevD/HY/F10HyInitEarlyTable.c | C | gpl-2.0 | 6,106 |
/*
* intel_pstate.c: Native P state management for Intel processors
*
* (C) Copyright 2012 Intel Corporation
* Author: Dirk Brandewie <dirk.j.brandewie@intel.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... | minipli/linux-grsec | drivers/cpufreq/intel_pstate.c | C | gpl-2.0 | 69,188 |
/*
* drivers/mmc/host/sdhci-msm.c - Qualcomm MSM SDHCI Platform
* driver source file
*
* Copyright (c) 2012-2014, The Linux Foundation. All rights reserved.
* Copyright (C) 2013 Sony Mobile Communications Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the G... | Tommy-Geenexus/sony_sources | drivers/mmc/host/sdhci-msm.c | C | gpl-2.0 | 95,353 |
/*
* drivers/video/sun3i/disp/OSAL/OSAL_Dma.c
*
* (C) Copyright 2007-2012
* Allwinner Technology Co., Ltd. <www.allwinnertech.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 Foundation; eithe... | no-cannabis/linux-matrix1 | drivers/video/sun3i/disp/OSAL/OSAL_Dma.c | C | gpl-2.0 | 9,842 |
/*
* 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.
*
* PF_INET protocol family socket handler.
*
* Authors: Ross Biro
* Fred N. van Kempen, <waltje@uWalt.NL.Mugn... | moonman/linux-stable | net/ipv4/af_inet.c | C | gpl-2.0 | 46,239 |
/*
* Copyright(c) 2011-2016 Intel Corporation. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to u... | val2k/linux | drivers/gpu/drm/i915/gvt/execlist.c | C | gpl-2.0 | 27,155 |
/* $Id: transport_tcp.c 3745 2011-09-08 06:47:28Z bennylp $ */
/*
* Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com)
* Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License ... | wkritzinger/asuswrt-merlin | release/src/router/asusnatnl/pjproject-1.12/pjmedia/src/pjmedia/transport_tcp.c | C | gpl-2.0 | 29,403 |
/*
* flexible mmap layout support
*
* Copyright 2003-2004 Red Hat Inc., Durham, North Carolina.
* 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; either version 2... | mdalexca/marlin | arch/powerpc/mm/mmap.c | C | gpl-2.0 | 3,057 |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main(int argc, char *argv[])
{
int i, j, k;
do {
if (i == 1)
for(j = 0 ; j < k ; k++)
printf("1\n");
if (i == 2)
printf("2\n");
} while (i != 3);
return 0;
}
| chubbymaggie/reverse | tests/if4.c | C | gpl-3.0 | 296 |
/*
---------------------------------------------------------------------------
Copyright (c) 1998-2010, Brian Gladman, Worcester, UK. All rights reserved.
The redistribution and use of this software (with or without changes)
is allowed without the payment of fees or royalties provided that:
source code distribution... | ColossusCoinXT/ColossusCoinXT | src/minizip/aes/aestab.c | C | mit | 15,242 |
/*
* EnGenius ESR900 board support
*
* Copyright (C) 2008-2012 Gabor Juhos <juhosg@openwrt.org>
* Copyright (C) 2008 Imre Kaloz <kaloz@openwrt.org>
*
* 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 th... | pastcompute/openwrt-barrier-breaker-hardening | target/linux/ar71xx/files/arch/mips/ath79/mach-esr900.c | C | gpl-2.0 | 5,337 |
// SPDX-License-Identifier: GPL-2.0-only
/*
* call-path.h: Manipulate a tree data structure containing function call paths
* Copyright (c) 2014, Intel Corporation.
*/
#include <linux/rbtree.h>
#include <linux/list.h>
#include "util.h"
#include "call-path.h"
static void call_path__init(struct call_path *cp, struct... | koct9i/linux | tools/perf/util/call-path.c | C | gpl-2.0 | 2,480 |
/*
* Carsten Langgaard, carstenl@mips.com
* Copyright (C) 1999,2000 MIPS Technologies, Inc. All rights reserved.
*
* This program is free software; you can distribute it and/or modify it
* under the terms of the GNU General Public License (Version 2) as
* published by the Free Software Foundation.
*
* This... | jmesmon/linux-2.4.37.y | arch/mips/mips-boards/atlas/atlas_setup.c | C | gpl-2.0 | 3,630 |
/*
* Panasonic HotKey and LCD brightness control driver
* (C) 2004 Hiroshi Miura <miura@da-cha.org>
* (C) 2004 NTT DATA Intellilink Co. http://www.intellilink.co.jp/
* (C) YOKOTA Hiroshi <yokota (at) netlab. is. tsukuba. ac. jp>
* (C) 2004 David Bronaugh <dbronaugh>
* (C) 2006-2008 Harald Welte <laforge@gnu... | xobs/linux-2.6.28.mx233-falconwing | drivers/misc/panasonic-laptop.c | C | gpl-2.0 | 20,334 |
/*
* DFU transfer routines
*
* This is supposed to be a general DFU implementation, as specified in the
* USB DFU 1.0 and 1.1 specification.
*
* The code was originally intended to interface with a USB device running the
* "sam7dfu" firmware (see http://www.openpcd.org/) on an AT91SAM7 processor.
*
* Copyright... | bufferoverflow/dfu-util | src/dfu_load.c | C | gpl-2.0 | 5,132 |
// RUN: rm -rf %t && mkdir -p %t
// RUN: xcrun -sdk %target-sdk-name %clang -c -arch %target-cpu %s -o %t/SegmentAlignment.o
// RUN: %target-build-swift %S/Inputs/SegmentAlignment.swift -Xlinker %t/SegmentAlignment.o -o %t/a.out
// RUN: %target-run %t/a.out | %FileCheck %s
// REQUIRES: executable_test
// REQUIRES: CP... | codestergit/swift | test/stdlib/SegmentAlignment.c | C | apache-2.0 | 1,586 |
/*
Copyright (c) 2016 Anton Valentinov Kirilov
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
associated documentation files (the "Software"), to deal in the Software without restriction,
including without limitation the rights to use, copy, modify, merge, publish... | actframework/FrameworkBenchmarks | frameworks/C/h2o/src/utility.c | C | bsd-3-clause | 2,441 |
#include <errno.h>
#include <stdlib.h>
#include <string.h>
#include "zdtmtst.h"
const char *test_doc = "Check that environment didn't change";
const char *test_author = "Pavel Emelianov <xemul@parallels.com>";
char *envname;
TEST_OPTION(envname, string, "environment variable name", 1);
int main(int argc, char **arg... | efiop/criu | test/zdtm/static/env00.c | C | lgpl-2.1 | 734 |
/*
* VGICv3 MMIO handling functions
*
* 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 WARR... | eva-oss/linux | virt/kvm/arm/vgic/vgic-mmio-v3.c | C | gpl-2.0 | 25,477 |
/* Copyright (c) 2011-2014, 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... | GalaxyTab4/android_kernel_samsung_matissevewifi | drivers/firmware/qcom/tz_log.c | C | gpl-2.0 | 18,754 |
/* CoreChip-sz SR9800 one chip USB 2.0 Ethernet Devices
*
* Author : Liu Junliang <liujunliang_ljl@163.com>
*
* Based on asix_common.c, asix_devices.c
*
* 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 any
* kind, wh... | shminer/kernel-msm-3.18 | drivers/net/usb/sr9800.c | C | gpl-2.0 | 21,051 |
/*
* linux/drivers/gpio/pl061.c
*
* Copyright (C) 2008, 2009 Provigent 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
* published by the Free Software Foundation.
*
* Driver for the ARM PrimeCell(tm) General Pu... | damienyong/Kernel-3.0.8 | kernel/drivers/gpio/pl061.c | C | gpl-2.0 | 9,093 |
/* Copyright (C) 2000-2014 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C 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 ... | vvavrychuk/glibc | sysdeps/unix/sysv/linux/getclktck.c | C | gpl-2.0 | 997 |
/*
* Copyright (c) 2012 Stefano Sabatini
*
* 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) any ... | bob-the-hamster/commandergenius | project/jni/ffmpeg/libavfilter/vf_bbox.c | C | lgpl-2.1 | 3,376 |
/* Copyright (c) 2012-2013, 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... | supersonicninja/L01FJBKERNEL | drivers/iommu/msm_iommu_dev-v1.c | C | gpl-2.0 | 13,039 |
/* Handle initialization things in C++.
Copyright (C) 1987-2015 Free Software Foundation, Inc.
Contributed by Michael Tiemann (tiemann@cygnus.com)
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 S... | nguyentu1602/gcc | gcc/cp/init.c | C | gpl-2.0 | 139,584 |
/* Copyright (C) 1997, 2001 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Philip Blundell <pjb27@cam.ac.uk>, 1997.
The GNU C 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... | Bytewerk/uClinux-ipcam | uClibc/libc/inet/gai_strerror.c | C | gpl-2.0 | 2,216 |
/*
* Copyright (C) 2009, 2011 Renesas Solutions Corp.
* Copyright (C) 2009 Kuninori Morimoto <morimoto.kuninori@renesas.com>
* Copyright (C) 2011 Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
*
* SPDX-License-Identifier: GPL-2.0+
*/
#include <common.h>
#include <command.h>
#include <asm/io.h>
#include <as... | mdxy2010/forlinux-ok6410 | u-boot15/board/renesas/ecovec/ecovec.c | C | gpl-2.0 | 2,224 |
/**************************************************************************
* Copyright (c) 2007-2011, Intel Corporation.
* All Rights Reserved.
*
* 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... | aberlemont/linux | drivers/gpu/drm/gma500/framebuffer.c | C | gpl-2.0 | 20,624 |
/*
* Copyright (C) 2003, Axis Communications AB.
*/
#include <linux/sched.h>
#include <linux/mm.h>
#include <linux/kernel.h>
#include <linux/signal.h>
#include <linux/errno.h>
#include <linux/wait.h>
#include <linux/ptrace.h>
#include <linux/unistd.h>
#include <linux/stddef.h>
#include <linux/syscalls.h>
#include <l... | janrinze/loox7xxport.loox2624 | arch/cris/arch-v32/kernel/signal.c | C | gpl-2.0 | 18,274 |
/*
* Machine check exception handling CPU-side for power7 and power8
*
* 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 vers... | aberlemont/linux | arch/powerpc/kernel/mce_power.c | C | gpl-2.0 | 17,182 |
#include "cs.h"
/* C = A' */
cs *cs_transpose (const cs *A, int values)
{
int p, q, j, *Cp, *Ci, n, m, *Ap, *Ai, *w ;
double *Cx, *Ax ;
cs *C ;
if (!CS_CSC (A)) return (NULL) ; /* check inputs */
m = A->m ; n = A->n ; Ap = A->p ; Ai = A->i ; Ax = A->x ;
C = cs_spalloc (n, m, Ap [n], values && Ax... | pydsigner/naev | lib/csparse/cs_transpose.c | C | gpl-3.0 | 915 |
/*
* 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 of source code must retain the above co... | JRHZRD/swapdb | swap-redis-4.0.0/src/t_list.c | C | bsd-2-clause | 34,290 |
/*-------------------------------------------------------------------------
* drawElements Base Portability Library
* -------------------------------------
*
* Copyright 2014 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in ... | endlessm/chromium-browser | third_party/angle/third_party/VK-GL-CTS/src/framework/delibs/debase/deRandom.c | C | bsd-3-clause | 3,640 |
// SPDX-License-Identifier: GPL-2.0
/*
* remote processor messaging bus
*
* Copyright (C) 2011 Texas Instruments, Inc.
* Copyright (C) 2011 Google, Inc.
*
* Ohad Ben-Cohen <ohad@wizery.com>
* Brian Swetland <swetland@google.com>
*/
#define pr_fmt(fmt) "%s: " fmt, __func__
#include <linux/kernel.h>
#include <l... | kronat/linux | drivers/rpmsg/rpmsg_core.c | C | gpl-2.0 | 17,145 |
/*
LZ4 HC - High Compression Mode of LZ4
Copyright (C) 2011-2017, Yann Collet.
BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php)
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met... | ps2dev/ps2-packer | stub/lz4/lz4hc.c | C | gpl-2.0 | 66,385 |
/* Intel(R) Gigabit Ethernet Linux driver
* Copyright(c) 2007-2014 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 dist... | elopez/linux | drivers/net/ethernet/intel/igb/igb_main.c | C | gpl-2.0 | 220,510 |
/*
* Samsung S5P SoC series DP (Display Port) interface driver.
*
* Copyright (c) 2011 Samsung Electronics Co., Ltd.
* Author: Jingoo Han <jg1.han@samsung.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
* Fr... | garwynn/D710SPR_FL24_Kernel | drivers/video/s5p-dp.c | C | gpl-2.0 | 67,895 |
/*
* Copyright (C) 2007
*
* Author: Eric Biederman <ebiederm@xmision.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 Foundation, version 2 of the
* License.
*/
#include <linux/module.... | janrinze/loox7xxport.loox2624 | ipc/ipc_sysctl.c | C | gpl-2.0 | 4,164 |
/*
* SDIO access interface for drivers - linux specific (pci only)
*
* Copyright (C) 1999-2011, Broadcom Corporation
*
* Unless you and Broadcom execute a separate written software license
* agreement governing use of this software, this software is licensed to you
* under the terms of the GNU General P... | j1nx/Openlinux.Amlogic.M3 | drivers/amlogic/wifi/broadcm_40181/bcmsdh_linux.c | C | gpl-2.0 | 19,391 |
/**
* FreeRDP: A Remote Desktop Protocol Implementation
* Device Redirection Virtual Channel
*
* Copyright 2010-2011 Vic Lee
* Copyright 2010-2012 Marc-Andre Moreau <marcandre.moreau@gmail.com>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance w... | vaginessa/FreeRDP | channels/rdpdr/client/rdpdr_capabilities.c | C | apache-2.0 | 5,560 |
/*
* Linux INET6 implementation
* FIB front-end.
*
* Authors:
* Pedro Roque <roque@di.fc.ul.pt>
*
* 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 ... | Nick73/King_Kernel | net/ipv6/route.c | C | gpl-2.0 | 73,698 |
/* Copyright (c) 2015, 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 hope... | CaptainThrowback/kernel_htc_m8gpe | arch/arm/mach-msm/scm-mpu.c | C | gpl-2.0 | 2,456 |
// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Copyright (C) 2019 Oracle. All Rights Reserved.
* Author: Darrick J. Wong <darrick.wong@oracle.com>
*/
#include "xfs.h"
#include "xfs_fs.h"
#include "xfs_shared.h"
#include "xfs_format.h"
#include "xfs_log_format.h"
#include "xfs_trans_resv.h"
#include "xfs_mount.h"... | chenshuo/linux-study | fs/xfs/xfs_iwalk.c | C | gpl-2.0 | 20,150 |
/*
* bcache setup/teardown code, and some metadata io - read a superblock and
* figure out what to do with it.
*
* Copyright 2010, 2011 Kent Overstreet <kent.overstreet@gmail.com>
* Copyright 2012 Google, Inc.
*/
#include "bcache.h"
#include "btree.h"
#include "debug.h"
#include "request.h"
#include <linux/buff... | ddk50/cbc-linux-kernel | drivers/md/bcache/super.c | C | gpl-2.0 | 47,583 |
/* radare - LGPL - Copyright 2009-2015 - nibble, pancake */
#include <r_types.h>
#include <r_util.h>
#include <r_lib.h>
#include <r_bin.h>
#include "mach0/fatmach0.h"
static RBinXtrData * extract(RBin *bin, int idx);
static RList * extractall(RBin *bin);
static RBinXtrData * oneshot(const ut8 *buf, ut64 size, int idx... | four0four/radare2 | libr/bin/p/bin_xtr_fatmach0.c | C | gpl-3.0 | 4,579 |
/* Copyright (C) 2006-2015 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Jakub Jelinek <jakub@redhat.com>, 2006.
The GNU C 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 t... | quan-na/glibc | nptl/tst-mutexpp10.c | C | gpl-2.0 | 7,099 |
/*
* linux/arch/arm/mach-exynos/midas-gpio.c
*
* Copyright (c) 2010 Samsung Electronics Co., Ltd.
* http://www.samsung.com/
*
* EXYNOS - GPIO setting in set board
*
* 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
* pu... | emwno/android_kernel_N7100 | arch/arm/mach-exynos/t0-gpio.c | C | gpl-2.0 | 61,560 |
/*
* Copyright 2008 Cisco Systems, Inc. All rights reserved.
* Copyright 2007 Nuova Systems, Inc. All rights reserved.
*
* This program is free software; you may 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 ... | augustayu/fastsocket | kernel/drivers/scsi/fnic/fnic_fcs.c | C | gpl-2.0 | 35,056 |
/******************************************************************************
* xc_foreign_memory.c
*
* Functions for mapping foreign domain's memory.
*
* 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 Fre... | flexiant/xen | tools/libxc/xc_foreign_memory.c | C | gpl-2.0 | 3,812 |
/*
* Copyright (c) 1997-2007 Kungliga Tekniska Högskolan
* (Royal Institute of Technology, Stockholm, Sweden).
* 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 ... | kamenim/samba | source4/heimdal/kdc/kerberos5.c | C | gpl-3.0 | 50,738 |
/*
* KMVC decoder
* Copyright (c) 2006 Konstantin Shishkov
*
* 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 (a... | endlessm/chromium-browser | third_party/ffmpeg/libavcodec/kmvc.c | C | bsd-3-clause | 16,290 |
/*
* 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... | eagleeyetom/android_kernel_mediatek | drivers/misc/mediatek/combo/drv_wlan/mt6628/wlan/mgmt/scan.c | C | gpl-2.0 | 106,258 |
/* SPDX-License-Identifier: LGPL-2.1+ */
#include "alloc-util.h"
#include "def.h"
#include "dns-domain.h"
#include "extract-word.h"
#include "string-util.h"
#include "timesyncd-conf.h"
#include "timesyncd-manager.h"
#include "timesyncd-server.h"
int manager_parse_server_string(Manager *m, ServerType type, const char ... | dsd/systemd | src/timesync/timesyncd-conf.c | C | gpl-2.0 | 3,958 |
/*
* Marvell Wireless LAN device driver: major functions
*
* Copyright (C) 2011, Marvell International Ltd.
*
* This software file (the "File") is distributed by Marvell International
* Ltd. under the terms of the GNU General Public License Version 2, June 1991
* (the "License"). You may use, redistribute and/o... | crseanpaul/exynos-drm-next | drivers/net/wireless/mwifiex/main.c | C | gpl-2.0 | 28,493 |
/**
* @file
* @author Daniel Blazevic <daniel.blazevic@gmail.com>
* @date 2014
* @brief Get Alarm Summary Request
*
* @section LICENSE
*
* Copyright (C) 2014 Daniel Blazevic <daniel.blazevic@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and ass... | tjaffri/msiot-samples | AllJoyn/Samples/BACnetAdapter/bacnet-stack-0.8.2/demo/handler/s_get_alarm_sum.c | C | mit | 4,051 |
#define DYNALIB_IMPORT
#include <string.h>
#include "rt_dynalib.h"
| sergeuz/firmware | rt-dynalib/src/rt_dynalib.c | C | gpl-3.0 | 68 |
/*
* %CopyrightBegin%
*
* Copyright Ericsson AB 1998-2016. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | fenollp/otp | lib/erl_interface/src/not_used/send_link.c | C | apache-2.0 | 2,718 |
/* This file is part of the Emulex RoCE Device Driver for
* RoCE (RDMA over Converged Ethernet) adapters.
* Copyright (C) 2012-2015 Emulex. All rights reserved.
* EMULEX and SLI are trademarks of Emulex.
* www.emulex.com
*
* This software is available to you under a choice of one of two licenses.
* You may choos... | mikedlowis-prototypes/albase | source/kernel/drivers/infiniband/hw/ocrdma/ocrdma_stats.c | C | bsd-2-clause | 29,790 |
/* Test the `vrndpq_f32' ARM Neon intrinsic. */
/* This file was autogenerated by neon-testgen. */
/* { dg-do assemble } */
/* { dg-require-effective-target arm_v8_neon_ok } */
/* { dg-options "-save-temps -O0" } */
/* { dg-add-options arm_v8_neon } */
#include "arm_neon.h"
void test_vrndpqf32 (void)
{
float32x4... | 0x7F800000/gcc | gcc/testsuite/gcc.target/arm/neon/vrndpqf32.c | C | gpl-2.0 | 591 |
/* PR c/65179 */
/* { dg-do compile } */
/* { dg-options "-O -Wextra" } */
/* { dg-additional-options "-std=c++03" { target c++ } } */
/* { dg-additional-options "-std=c90" { target c } } */
enum E {
A = 0 << 1,
B = 1 << 1,
C = -1 << 1, /* { dg-bogus "left shift of negative value" } */
D = 0 >> 1,
E = 1 >> 1... | evaautomation/gcc-linaro | gcc/testsuite/c-c++-common/Wshift-negative-value-6.c | C | gpl-2.0 | 938 |
#include <linux/amlogic/ge2d/ge2d.h>
static inline void _stretchblt(ge2d_context_t *wq,
int src_x, int src_y, int src_w, int src_h,
int dst_x, int dst_y, int dst_w, int dst_h, int block)
{
ge2d_cmd_t *ge2d_cmd_cfg = ge2d_wq_get_cmd(wq);
ge2d_cmd_cfg->src1_x_... | peyo-hd/kernel_odrc | drivers/amlogic/display/ge2d/stretchblt.c | C | gpl-2.0 | 3,770 |
/*******************************************************************************
* Filename: target_core_tmr.c
*
* This file contains SPC-3 task management infrastructure
*
* (c) Copyright 2009-2012 RisingTide Systems LLC.
*
* Nicholas A. Bellinger <nab@kernel.org>
*
* This program is free software; you can r... | augustayu/fastsocket | kernel/drivers/target/target_core_tmr.c | C | gpl-2.0 | 11,651 |
// SPDX-License-Identifier: GPL-2.0
#include <linux/init.h>
#include <linux/static_call.h>
#include <linux/bug.h>
#include <linux/smp.h>
#include <linux/sort.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/cpu.h>
#include <linux/processor.h>
#include <asm/sections.h>
extern struct static_call_site... | rperier/linux-rockchip | kernel/static_call.c | C | gpl-2.0 | 12,655 |
/* CPU control.
* (C) 2001, 2002, 2003, 2004 Rusty Russell
*
* This code is licenced under the GPL.
*/
#include <linux/proc_fs.h>
#include <linux/smp.h>
#include <linux/init.h>
#include <linux/notifier.h>
#include <linux/sched.h>
#include <linux/unistd.h>
#include <linux/cpu.h>
#include <linux/module.h>
#include <l... | docent-net/kernel-2.6.11.12 | kernel/cpu.c | C | gpl-2.0 | 4,265 |
/*
* linux/drivers/clocksource/timer-sp.c
*
* Copyright (C) 1999 - 2003 ARM Limited
* Copyright (C) 2000 Deep Blue Solutions 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; eith... | mkvdv/au-linux-kernel-autumn-2017 | linux/drivers/clocksource/timer-sp804.c | C | gpl-3.0 | 7,728 |
/*
* Copyright © 2016 Intel Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, pub... | hannes/linux | drivers/gpu/drm/i915/intel_lpe_audio.c | C | gpl-2.0 | 10,493 |
/*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Copyright (C) 1992 Ross Biro
* Copyright (C) Linus Torvalds
* Copyright (C) 1994, 95, 96, 97, 98, 2000 Ralf Baechle
* Copyright (C) 199... | qzhuyan/linux | arch/mips/kernel/ptrace.c | C | gpl-2.0 | 36,295 |
/*
bttv-i2c.c -- all the i2c code is here
bttv - Bt848 frame grabber driver
Copyright (C) 1996,97,98 Ralph Metzler (rjkm@thp.uni-koeln.de)
& Marcus Metzler (mocm@thp.uni-koeln.de)
(c) 1999-2003 Gerd Knorr <kraxel@bytesex.org>
(c) 2005 Mauro Carvalho Chehab <mchehab@infradead.org>
- Mul... | nandra/omap_850_kernel | drivers/media/video/bt8xx/bttv-i2c.c | C | gpl-2.0 | 11,990 |
/*
* DECnet An implementation of the DECnet protocol suite for the LINUX
* operating system. DECnet is implemented using the BSD Socket
* interface as the means of communication with the user level.
*
* DECnet Network Services Protocol (Output)
*
* Author: Edu... | xtreamerdev/linux-xtr | net/decnet/dn_nsp_out.c | C | gpl-2.0 | 19,331 |
/******************************************************************************
* mt_gpio.c - MTKLinux GPIO Device Driver
*
* Copyright 2008-2009 MediaTek Co.,Ltd.
*
* DESCRIPTION:
* This file provid the other drivers GPIO relative functions
*
****************************************************************... | lbule/ALPS.L0.MP6.V3.18_LCSH6795_LWT_L_KERNEL | drivers/misc/mediatek/gpio/mt_gpio_core.c | C | gpl-2.0 | 18,979 |
/*
* Freescale eSDHC controller driver.
*
* Copyright (c) 2007, 2010, 2012 Freescale Semiconductor, Inc.
* Copyright (c) 2009 MontaVista Software, Inc.
*
* Authors: Xiaobo Xie <X.Xie@freescale.com>
* Anton Vorontsov <avorontsov@ru.mvista.com>
*
* This program is free software; you can redistribute it and/o... | dastuam/linux37-beaglebone | drivers/mmc/host/sdhci-of-esdhc.c | C | gpl-2.0 | 6,728 |
/*
AIX-specific printcap loading
Copyright (C) Jean-Pierre.Boulard@univ-rennes1.fr 1996
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... | javierag/samba | source3/printing/print_aix.c | C | gpl-3.0 | 3,492 |
/*
* nghttp2 - HTTP/2 C Library
*
* Copyright (c) 2013 Tatsuhiro Tsujikawa
*
* 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... | eaglewu/swoole | thirdparty/nghttp2/nghttp2_hd_huffman.c | C | apache-2.0 | 6,466 |
/* { dg-options "-mgp64 (-mips16)" } */
/* { dg-final { scan-assembler "\tdiv\t" } } */
/* { dg-final { scan-assembler "\tmflo\t" } } */
/* { dg-final { scan-assembler-not "\tmfhi\t" } } */
typedef int SI __attribute__((mode(SI)));
MIPS16 SI
f (SI x, SI y)
{
return x / y;
}
| selmentdev/selment-toolchain | source/gcc-latest/gcc/testsuite/gcc.target/mips/div-9.c | C | gpl-3.0 | 279 |
/***************************************************************************
*
* Copyright (C) 2007-2008 SMSC
*
* 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 ... | JijonHyuni/HyperKernel-JB | virt/drivers/net/usb/smsc95xx.c | C | gpl-2.0 | 33,893 |
/*
comedi/drivers/jr3_pci.c
hardware driver for JR3/PCI force sensor board
COMEDI - Linux Control and Measurement Device Interface
Copyright (C) 2007 Anders Blomdell <anders.blomdell@control.lth.se>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General ... | jiangweifeng04/linux_kernel_2_6_32 | linux-2.6.32.61/drivers/staging/comedi/drivers/jr3_pci.c | C | gpl-2.0 | 25,586 |
/*
* RFC 3389 comfort noise generator
* Copyright (c) 2012 Martin Storsjo
*
* 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... | ShawnKoo/avplayer-1 | third_party/android/ffmpeg_2.0/jni/ffmpeg/libavcodec/cngenc.c | C | gpl-3.0 | 3,537 |
/*
* Copyright (c) 2014-2015, Ericsson AB. All rights reserved.
* Copyright (c) 2014, Centricular Ltd
* Author: Sebastian Dröge <sebastian@centricular.com>
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
*... | pererikb/openwebrtc | local/owr_image_renderer.c | C | bsd-2-clause | 12,708 |
/*
* Copyright © 2010 Intel Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, pub... | Evervolv/android_kernel_htc_msm8974 | drivers/gpu/drm/gma500/mdfld_dsi_output.c | C | gpl-2.0 | 14,862 |
/* Misc. support for CPU family lm32bf.
THIS FILE IS MACHINE GENERATED WITH CGEN.
Copyright 1996-2013 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
... | hzq1001/or1k-src | sim/lm32/cpu.c | C | gpl-2.0 | 1,765 |
/* Copyright (c) 2008-2009, 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... | Evervolv/android_kernel_htc_msm8974 | arch/arm/mach-msm/mpp.c | C | gpl-2.0 | 2,226 |
#include "headers.h"
static BOOLEAN MatchSrcIpv6Address(S_CLASSIFIER_RULE *pstClassifierRule,IPV6Header *pstIpv6Header);
static BOOLEAN MatchDestIpv6Address(S_CLASSIFIER_RULE *pstClassifierRule,IPV6Header *pstIpv6Header);
static VOID DumpIpv6Header(IPV6Header *pstIpv6Header);
static UCHAR * GetNextIPV6ChainedHeader(U... | Evervolv/android_kernel_htc_msm8974 | drivers/staging/bcm/IPv6Protocol.c | C | gpl-2.0 | 11,817 |
/*
* Author: Thomas Ingleby <thomas.c.ingleby@intel.com>
* Copyright (c) 2014 Intel Corporation.
*
* 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
* with... | twobitcircus/galileo-data-painting | node_modules_intel/mraa/examples/gpio_read6.c | C | mit | 1,669 |
// SPDX-License-Identifier: GPL-2.0-only
/*
* Signal Handling for ARC
*
* Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
*
* vineetg: Jan 2010 (Restarting of timer related syscalls)
*
* vineetg: Nov 2009 (Everything needed for TIF_RESTORE_SIGMASK)
* -do_signal() supports TIF_RESTORE... | GuillaumeSeren/linux | arch/arc/kernel/signal.c | C | gpl-2.0 | 11,280 |
/*
LUFA Library
Copyright (C) Dean Camera, 2014.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purp... | RIVeR-Lab/walrus | walrus_firmware/walrus_bootloader/src/LUFA/Drivers/USB/Core/XMEGA/Template/Template_Endpoint_Control_W.c | C | bsd-3-clause | 2,994 |
/* $NoKeywords:$ */
/**
* @file
*
* AMD Family_15 Orochi thermal initialization
*
* Performs processor thermal initialization.
*
* @xrefitem bom "File Content Label" "Release Content"
* @e project: AGESA
* @e sub-project: CPU/Family/0x15/OR
* @e \$Revision: 55600 $ @e \$Date: 2011-06-23 12:39:18 -0600... | lkundrak/coreboot | src/vendorcode/amd/agesa/f15/Proc/CPU/Family/0x15/OR/cpuF15OrSoftwareThermal.c | C | gpl-2.0 | 5,582 |
/* $NoKeywords:$ */
/**
* @file
*
* AMD Family_10 Power Plane Initialization
*
* Performs the "BIOS Requirements for Power Plane Initialization" as described
* in the BKDG.
*
* @xrefitem bom "File Content Label" "Release Content"
* @e project: AGESA
* @e sub-project: CPU/F10
* @e \$Revision: 56279 $ ... | BTDC/coreboot | src/vendorcode/amd/agesa/f15/Proc/CPU/Family/0x10/cpuF10PowerPlane.c | C | gpl-2.0 | 18,693 |
/*
* Copyright (c) 2003, 2011, Oracle and/or its affiliates. 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
* no... | frohoff/jdk8u-jdk | src/share/demo/jvmti/hprof/hprof_loader.c | C | gpl-2.0 | 8,122 |
/* $Id: xscuwdt.c,v 1.1.2.1 2011/01/20 04:04:40 sadanan Exp $ */
/******************************************************************************
*
* Copyright (C) 2010 - 2015 Xilinx, Inc. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associ... | andrewandrepowell/zybo_petalinux | zybo_petalinux_webcam/zybo_petalinux_webcam.sdk/standalone_bsp_0/ps7_cortexa9_0/libsrc/scuwdt_v2_1/src/xscuwdt.c | C | gpl-3.0 | 6,868 |
for (int c0 = 2; c0 <= n + m; c0 += 1)
for (int c1 = max(1, -m + c0); c1 <= min(n, c0 - 1); c1 += 1)
S1(c1, c0 - c1);
| endlessm/chromium-browser | third_party/llvm/polly/lib/External/isl/test_inputs/codegen/cloog/wavefront.c | C | bsd-3-clause | 124 |
/* Copyright (C) 2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Bao Duong <bduong@progress.com>, 2003.
The GNU C 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 Fre... | Bytewerk/uClinux-ipcam | uClibc/test/nptl/tst-cleanup2.c | C | gpl-2.0 | 1,621 |
/* linux/arch/arm/mach-exynos4/mach-universal_c210.c
*
* Copyright (c) 2010 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 version 2 as
* published by the Free Software Foundation.
*/
#include <linux/pl... | EPDCenter/android_kernel_allwinner_a31_unusual | arch/arm/mach-exynos/mach-universal_c210.c | C | gpl-2.0 | 27,019 |
/* Copyright (C) 2016 B.A.T.M.A.N. contributors:
*
* Matthias Schiffer
*
* 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 Free Software Foundation.
*
* This program is distributed in the hope that it ... | bas-t/linux_media | net/batman-adv/netlink.c | C | gpl-2.0 | 16,171 |
/* semaphore.c: FR-V semaphores
*
* Copyright (C) 2003 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com)
* - Derived from lib/rwsem-spinlock.c
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as pu... | ghmajx/asuswrt-merlin | release/src-rt/linux/linux-2.6/arch/frv/kernel/semaphore.c | C | gpl-2.0 | 3,665 |
/* { dg-do compile }
/* { dg-options "-Os -march=pentium4 -mtune=prescott" } */
/* { dg-require-effective-target ilp32 } */
register char foo asm("edi");
char x;
int bar() {
foo = x;
}
/* { dg-final { scan-assembler "movz" } } */
| SanDisk-Open-Source/SSD_Dashboard | uefi/gcc/gcc-4.6.3/gcc/testsuite/gcc.target/i386/movq.c | C | gpl-2.0 | 233 |
/*
comedi/drivers/pcmad.c
Hardware driver for Winsystems PCM-A/D12 and PCM-A/D16
COMEDI - Linux Control and Measurement Device Interface
Copyright (C) 2000,2001 David A. Schleef <ds@schleef.org>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU ... | KOala888/GB_kernel | linux_kernel_galaxyplayer-master/drivers/staging/comedi/drivers/pcmad.c | C | gpl-2.0 | 4,341 |
/*
* Copyright (c) 2010-2011 Atheros Communications 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 notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" A... | JijonHyuni/HyperKernel-JB | virt/drivers/net/wireless/ath/ath9k/ar9003_calib.c | C | gpl-2.0 | 25,376 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.