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 |
|---|---|---|---|---|---|
/*
* New driver for Marvell Yukon 2 chipset.
* Based on earlier sk98lin, and skge driver.
*
* This driver intentionally does not support all the features
* of the original driver such as link fail-over and link management because
* those should be done at higher levels.
*
* Copyright (C) 2005 Stephen Hemminger ... | tellapart/ubuntu-precise | drivers/net/ethernet/marvell/sky2.c | C | gpl-2.0 | 138,468 |
/*
* Copyright © 2006-2008 Intel Corporation
* Jesse Barnes <jesse.barnes@intel.com>
*
* 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 limitatio... | IGGYVIP/lge-kernel-e430 | drivers/gpu/drm/i915/intel_tv.c | C | gpl-2.0 | 50,120 |
/*
* sleep.c - x86-specific ACPI sleep support.
*
* Copyright (C) 2001-2003 Patrick Mochel
* Copyright (C) 2001-2003 Pavel Machek <pavel@ucw.cz>
*/
#include <linux/acpi.h>
#include <linux/bootmem.h>
#include <linux/memblock.h>
#include <linux/dmi.h>
#include <linux/cpumask.h>
#include <asm/segment.h>
#include <... | AdaLovelance/lxcGrsecKernels | linux-3.14.37/arch/x86/kernel/acpi/sleep.c | C | gpl-2.0 | 3,955 |
/* Copyright 2009 Gary Briggs
This file is part of obdgpslogger.
obdgpslogger 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.
obdgpslogger... | oesmith/obdgpslogger | src/obdinfo/obdservicecommands.c | C | gpl-2.0 | 3,617 |
/*****************************************************************************
* sepia.c : Sepia video plugin for vlc
*****************************************************************************
* Copyright (C) 2010 the VideoLAN team
* $Id: 7235537b25bcb9ed9ce30e38471655b0be92234f $
*
* Authors: Branko Kokanovic... | Jobq/vlc-mdc | modules/video_filter/sepia.c | C | gpl-2.0 | 21,477 |
/* LibTomCrypt, modular cryptographic library -- Tom St Denis
*
* LibTomCrypt is a library that provides various cryptographic
* algorithms in a highly modular and flexible manner.
*
* The library is free for all purposes without any express
* guarantee it works.
*
* Tom St Denis, tomstdenis@gmail.com, http://l... | Macavity/SkyFireEMU | src/tools/extractor/StormLib/src/libtomcrypt/src/pk/asn1/der_decode_printable_string.c | C | gpl-2.0 | 2,258 |
/*
Õâ·ÝdemoÓÃÓÚÑÝʾ»·Ðλº³åÇø
*/
#include <rtthread.h>
#include "rtdevice.h" //for rt_ringbuffer
#ifdef RT_USING_FINSH
#include <finsh.h>
#include <shell.h>
#endif
static rt_sem_t sem = RT_NULL;
static rt_uint8_t working_buffer[256];
struct rt_ringbuffer rb;
/* Ö¸ÏòÏ߳̿ØÖÆ¿éµÄÖ¸Õë */
static rt_thread_t tid1 = ... | kevin988/RealBoard4088 | software/rtthread_examples/examples/1_kernel_mem_ringbuffer/applications/demo.c | C | gpl-2.0 | 2,173 |
// $Id$
// This file is part of CDS Invenio.
// Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 CERN.
//
// CDS Invenio 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
// Lice... | ppiotr/Bibedit-some-refactoring | modules/miscutil/lib/intbitset_impl.c | C | gpl-2.0 | 13,509 |
/**********************************************************************
Freeciv - Copyright (C) 2004 - The Freeciv 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 Software Foundation; either version 2, ... | eric-stanley/freeciv-android | src/ai/aiferry.c | C | gpl-2.0 | 40,254 |
/*
* Copyright (c) 2012-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 ... | acuicultor/Radioactive-kernel-HAM | drivers/video/msm/mdss/mdss_mdp_pp.c | C | gpl-2.0 | 159,887 |
/*
* Broadcom Home Gateway Reference Design
* Web Page Configuration Support Routines
*
* Copyright 2001-2003, Broadcom Corporation
* All Rights Reserved.
*
* THIS SOFTWARE IS OFFERED "AS IS", AND BROADCOM GRANTS NO WARRANTIES OF ANY
* KIND, EXPRESS OR IMPLIED, BY STATUTE, COMMUNICATION OR OTHERWISE. BROADCOM
... | choushane/MaRa-a1a0a5aNaL | package/ezp-httpd/src/wl.c | C | gpl-2.0 | 68,931 |
/*
* MC146818 RTC emulation
*
* 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, or (at your option)
* any later version.
*
* This program is d... | hschauhan/xvisor-x86_64 | emulators/rtc/mc146818rtc.c | C | gpl-2.0 | 22,341 |
#include <stdio.h>
int xerbla_(char *, int *);
/* Subroutine */ int xerbla_(char *srname, int *info)
{
/* -- LAPACK auxiliary routine (version 2.0) --
Univ. of Tennessee, Univ. of California Berkeley, NAG Ltd.,
Courant Institute, Argonne National Lab, and Rice University
September 30, 19... | fuesika/teispice | src/ext/netlib/blas/SRC/xerbla.c | C | gpl-2.0 | 1,197 |
/******************************************************************************
*
* Module Name: tbxfroot - Find the root ACPI table (RSDT)
*
*****************************************************************************/
/*
* Copyright (C) 2000 - 2008, Intel Corp.
* All rights reserved.
*
* Redistribution and ... | janrinze/loox7xxport | drivers/acpi/tables/tbxfroot.c | C | gpl-2.0 | 8,359 |
/*
* Unix SMB/CIFS implementation.
* status reporting
* Copyright (C) Andrew Tridgell 1994-1998
* Copyright (C) James Peach 2005-2006
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; ei... | javierag/samba | source3/utils/status_profile.c | C | gpl-3.0 | 9,531 |
#include <stdio.h>
#include <stdlib.h>
#include<limits.h>
typedef struct Stack
{
int top;
unsigned capacity;
int* array;
}Stack;
Stack* createStack(unsigned capacity)
{
struct Stack* stack = (Stack*) malloc(sizeof(Stack));
stack->capacity = capacity;
stack->top = -1;
stack->array = (int*)... | algobook/Algo_Ds_Notes | Dynamic_Stack_Arrays/Dynamic_Stack.c | C | gpl-3.0 | 1,266 |
/*
* Generated by asn1c-0.9.24 (http://lionet.info/asn1c)
* From ASN.1 module "EUTRA-RRC-Definitions"
* found in "fixed_grammar.asn"
* `asn1c -gen-PER`
*/
#include "CellsToAddModListUTRA-TDD.h"
static asn_per_constraints_t asn_PER_type_CellsToAddModListUTRA_TDD_constr_1 GCC_NOTUSED = {
{ APC_UNCONSTRAINED, -1... | massar5289/openairinterface5G | cmake_targets/oaisim_build_oai/build/CMakeFiles/Rel10/CellsToAddModListUTRA-TDD.c | C | gpl-3.0 | 1,992 |
/*
* Copyright (c) 2003, 2007-8 Matteo Frigo
* Copyright (c) 2003, 2007-8 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 Li... | Eigenlabs/EigenD | lib_fftw/src/dft/simd/codelets/t1bv_64.c | C | gpl-3.0 | 64,983 |
/****************************************************************
* *
* Copyright 2009, 2011 Fidelity Information Services, Inc *
* *
* This source code contains the intellectual property *
* of its copyright holder(s), and is made available *
* under a license. If you do not know the terms of *
*... | TheTypoMaster/gtm | sr_port/op_setalsin2alsct.c | C | agpl-3.0 | 2,934 |
/* GDBus - GLib D-Bus Library
*
* Copyright (C) 2008-2010 Red Hat, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any... | tamaskenez/glib | gio/gdbusproxy.c | C | lgpl-2.1 | 111,421 |
/*
* filter_freeze.c -- simple frame freezing filter
* Copyright (C) 2007 Jean-Baptiste Mardelle <jb@kdenlive.org>
*
* 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
* versio... | zzhhui/mlt | src/modules/kdenlive/filter_freeze.c | C | lgpl-2.1 | 5,318 |
/*
* This file is part of the Soletta Project
*
* Copyright (C) 2015 Intel Corporation. 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... | ibriano/soletta | src/lib/common/sol-worker-thread-impl-riot.c | C | apache-2.0 | 6,257 |
/*
* Copyright (c) 2019 Intel Corporation.
* Copyright (c) 2020 Endian Technologies AB
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <logging/log.h>
LOG_MODULE_DECLARE(net_l2_ppp, CONFIG_NET_L2_PPP_LOG_LEVEL);
#include <net/net_core.h>
#include <net/net_pkt.h>
#include <net/ppp.h>
#include <net/dns_resolv... | zephyrproject-rtos/zephyr | subsys/net/l2/ppp/ipcp.c | C | apache-2.0 | 12,134 |
/*
* Copyright (c) 1998, 2001, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Fre... | andreagenso/java2scala | test/J2s/java/openjdk-6-src-b27/jdk/src/share/native/java/lang/fdlibm/src/e_scalb.c | C | apache-2.0 | 2,084 |
/**
******************************************************************************
* @file stm32f1xx_hal_flash.c
* @author MCD Application Team
* @brief FLASH HAL module driver.
* This file provides firmware functions to manage the following
* functionalities of the internal FLASH me... | ldts/zephyr | ext/hal/st/stm32cube/stm32f1xx/drivers/src/stm32f1xx_hal_flash.c | C | apache-2.0 | 30,212 |
/**
******************************************************************************
* @file stm32f4xx_fsmc.c
* @author MCD Application Team
* @version V1.2.1
* @date 19-September-2013
* @brief This file provides firmware functions to manage the following
* functionalities of the F... | CristianKrieger/InterfazAdquisicionNTSC | STM32F4xx_DSP_StdPeriph_Lib_V1.2.0/Libraries/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_fsmc.c | C | apache-2.0 | 42,000 |
/******************************************************************************
*
* Copyright (C) 1999-2012 Broadcom Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at:
*
... | krzychb/rtd-test-bed | components/bt/bluedroid/external/sbc/encoder/srce/sbc_packing.c | C | apache-2.0 | 10,878 |
/*
*
* Copyright 2015, Google Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of condi... | doubi-workshop/grpc | test/core/end2end/tests/invoke_large_request.c | C | bsd-3-clause | 8,632 |
/*****************************************************************************
Copyright (c) 2014, Intel Corp.
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 cod... | kortschak/OpenBLAS | lapack-netlib/LAPACKE/src/lapacke_cppcon.c | C | bsd-3-clause | 3,471 |
/*****************************************************************************
* Copyright (c) 2009, OpenJAUS.com
* All rights reserved.
*
* This file is part of OpenJAUS. OpenJAUS is distributed under the BSD
* license. See the LICENSE file for details.
*
* Redistribution and use in source and binary... | tectronics/openjaus.trial33c | libjaus/src/message/command/core/resumeMessage.c | C | bsd-3-clause | 15,466 |
// Copyright 2011 Google Inc. All Rights Reserved.
//
// This code is licensed under the same terms as WebM:
// Software License Agreement: http://www.webmproject.org/license/software/
// Additional IP Rights Grant: http://www.webmproject.org/license/additional/
// --------------------------------------------------... | CyanogenMod/android_external_webp | src/dec/alpha.c | C | bsd-3-clause | 4,679 |
/* bam2depth.c -- depth subcommand.
Copyright (C) 2011, 2012 Broad Institute.
Copyright (C) 2012-2014 Genome Research Ltd.
Author: Heng Li <lh3@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"),... | gatoravi/regtools | src/utils/samtools/bam2depth.c | C | mit | 12,714 |
/*
* Copyright © 2011 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, ... | graphstorm/graphstorm | third_party/cairo/test/joins-loop.c | C | mit | 2,721 |
/* GStreamer
* Copyright (C) <2011> Sebastian Dröge <sebastian.droege@collabora.co.uk>
* Copyright (C) <2011> Vincent Penquerch <vincent.penquerch@collabora.co.uk>
*
* 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... | jledet/gst-plugins-base | gst/playback/gstplaysinkconvertbin.c | C | gpl-2.0 | 20,343 |
/* Subroutines for insn-output.c for VAX.
Copyright (C) 1987, 1994, 1995, 1997, 1998, 1999, 2000, 2001, 2002,
2004, 2005, 2006, 2007, 2008, 2009
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 General Public Li... | ps3dev/gcc-4.5.2-PS3 | gcc/config/vax/vax.c | C | gpl-2.0 | 54,970 |
/*
* Copyright 2011-2015 Samy Al Bahra.
* Copyright 2011 David Joseph.
* 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... | olafhering/sysbench | third_party/concurrency_kit/ck/regressions/ck_barrier/validate/barrier_mcs.c | C | gpl-2.0 | 3,506 |
/*
* Support for HTC Magician PDA phones:
* i-mate JAM, O2 Xda mini, Orange SPV M500, Qtek s100, Qtek s110
* and T-Mobile MDA Compact.
*
* Copyright (c) 2006-2007 Philipp Zabel
*
* Based on hx4700.c, spitz.c and others.
*
* This program is free software; you can redistribute it and/or modify
* it under the te... | jkoelndorfer/android-kernel-msm | arch/arm/mach-pxa/magician.c | C | gpl-2.0 | 5,177 |
/* -----------------------------------------------------------------------------
* input.c
*
* Copyright (c) 2004, 2005, 2006, Vivek Mohan <vivek@sig9.com>
* All rights reserved. See LICENSE
* -----------------------------------------------------------------------------
*/
#include "extern.h"
#include "types.h"
#... | ineedblood/entmod | libudis86/input.c | C | gpl-2.0 | 6,126 |
/*
em28xx-core.c - driver for Empia EM2800/EM2820/2840 USB video capture devices
Copyright (C) 2005 Ludovico Cavedon <cavedon@sssup.it>
Markus Rechberger <mrechberger@gmail.com>
Mauro Carvalho Chehab <mchehab@infradead.org>
Sascha Sommer <saschasommer@freenet.de>
This program is free ... | jkoelndorfer/android-kernel-msm | drivers/media/video/em28xx/em28xx-core.c | C | gpl-2.0 | 22,529 |
/*
* common.c - C code for kernel entry and exit
* Copyright (c) 2015 Andrew Lutomirski
* GPL v2
*
* Based on asm and ptrace code by many authors. The code here originated
* in ptrace.c and signal.c.
*/
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/mm.h>
#include <linux/smp.h>
#include <li... | linuxium/ubuntu-xenial | arch/x86/entry/common.c | C | gpl-2.0 | 13,519 |
/* Copyright (C) 1995-2016 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 ... | Chilledheart/glibc | sysdeps/posix/utimes.c | C | gpl-2.0 | 1,315 |
/* Copyright (c) 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 hope... | gugu0das/android_kernel_samsung_jactivelteskt | drivers/media/platform/msm/camera_v2/pproc/cpp/msm_cpp.c | C | gpl-2.0 | 67,190 |
/*
* Copyright (C) 2000, 2001, 2002 Jeff Dike (jdike@karaya.com)
* Licensed under the GPL
*/
#include <stdio.h>
#include <unistd.h>
#include <signal.h>
#include <sched.h>
#include <errno.h>
#include <stdarg.h>
#include <stdlib.h>
#include <setjmp.h>
#include <sys/time.h>
#include <sys/ptrace.h>
#include <linux/ptra... | ipwndev/DSLinux-Mirror | linux-2.6.x/arch/um/os-Linux/tt.c | C | gpl-2.0 | 2,744 |
/*
* This file is part of the coreboot project.
*
* Copyright (C) 2015-2016 Patrick Rudolph
* Copyright (C) 2015 Timothy Pearson <tpearson@raptorengineeringinc.com>, Raptor Engineering
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License ... | librecore-org/librecore | src/drivers/lenovo/hybrid_graphics.c | C | gpl-2.0 | 4,138 |
/*
* Copyright (C) 2009 Vassilis Varveropoulos
* Copyright (C) 2010 The Paparazzi Team
*
* 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... | Fab7c4/paparazzi | sw/airborne/modules/sensors/baro_ets.c | C | gpl-2.0 | 5,913 |
/*
* YAFFS: Yet Another Flash File System. A NAND-flash specific file system.
*
* Copyright (C) 2002-2010 Aleph One Ltd.
* for Toby Churchill Ltd and Brightstar Engineering
*
* Created by Charles Manning <charles@aleph1.co.uk>
*
* This program is free software; you can redistribute it and/or modify
* it unde... | 52osworld/RealBoard4088 | software/lpcware_lpc408x/Examples/EMC/Emc_Yaffs/yaffs2/direct/basic-test/yaffs_fileem.c | C | gpl-2.0 | 3,661 |
/*
* deref.c
* compile command: gcc -g -o deref deref.c
* execute command: deref filename.texi > newfile.texi
* To: bob@gnu.ai.mit.edu
* Subject: another tool
* Date: 18 Dec 91 16:03:13 EST (Wed)
* From: gatech!skeeve!arnold@eddie.mit.edu (Arnold D. Robbins)
*
* Here is deref.c. It turns texinfo cross ... | aosm/gcc_legacy | texinfo/util/deref.c | C | gpl-2.0 | 4,591 |
/* arch/arm/mach-msm/pm2.c
*
* MSM Power Management Routines
*
* Copyright (C) 2007 Google, Inc.
* Copyright (c) 2008-2010, 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
* ma... | GKMADE/P2 | arch/arm/mach-msm/pm2.c | C | gpl-2.0 | 61,923 |
// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
*
* Copyright (C) 2010 GSyC/LibreSoft, Universidad Rey Juan Carlos.
*
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <stdbool.h>
#include "lib/sdp.h"
#include "lib/sdp_lib.h"
#include "lib/uuid.h"
#in... | cktakahasi/bluez | profiles/health/hdp_manager.c | C | gpl-2.0 | 1,891 |
/* Functions specific to running gdb native on IA-64 running
GNU/Linux.
Copyright (C) 1999-2017 Free Software Foundation, Inc.
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
the Free... | totalspectrum/binutils-propeller | gdb/ia64-linux-nat.c | C | gpl-2.0 | 24,649 |
/* arch/arm/mach-msm/rpc_server_handset.c
*
* Copyright (c) 2008-2010, 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... | wwenigma/cocktail-kernel-msm7x30 | arch/arm/mach-msm_origi/rpc_server_handset.c | C | gpl-2.0 | 22,095 |
#include <linux/platform_device.h>
#include <linux/spi/spi.h>
#include <linux/spi/spi_gpio.h>
#include <linux/gpio.h>
#include <linux/gpio_keys.h>
#include <linux/gpio_event.h>
#include <plat/devs.h>
#include <plat/gpio-cfg.h>
#include <linux/i2c.h>
#include <linux/i2c-gpio.h>
#include <linux/input.h>
#include <plat/ud... | civato/SphereEngine-Note8.0 | arch/arm/mach-exynos/sec-switch_max77693.c | C | gpl-2.0 | 18,827 |
/*
* Copyright (c) International Business Machines Corp., 2000-2003
* Portions Copyright (c) Christoph Hellwig, 2001-2002
*
* 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... | rohankataria/linuxScheduler | fs/jfs/jfs_logmgr.c | C | gpl-2.0 | 57,267 |
/*
* Two Levels Segregate Fit memory allocator (TLSF)
* Version 2.3.2
*
* Written by Miguel Masmano Tello <mimastel@doctor.upv.es>
*
* Thanks to Ismael Ripoll for his suggestions and reviews
*
* Copyright (C) 2007, 2006, 2005, 2004
*
* This code is released using a dual license strategy: GPL/LGPL
* You can c... | abligh/xen4.2-minideb | xen/common/xmalloc_tlsf.c | C | gpl-2.0 | 16,685 |
/* Copyright (C) 2002 Free Software Foundation.
Test -minline-all-stringops memset with various combinations of pointer
alignments and lengths to make sure builtin optimizations are correct.
PR target/6456.
Written by Michael Meissner, March 9, 2002.
Target by Roger Sayle, April 25, 2002. */
/* { dg... | unofficial-opensource-apple/gccfast | gcc/testsuite/gcc.dg/i386-memset-1.c | C | gpl-2.0 | 1,849 |
/***************************************************************************
* Copyright (C) 2010~2010 by CSSlayer *
* wengxt@gmail.com *
* *
* This pr... | yuyichao/fcitx | src/module/chttrans/chttrans.c | C | gpl-2.0 | 16,467 |
/*
* Asterisk -- An open source telephony toolkit.
*
* The iLBC code is from The IETF code base and is copyright The Internet Society (2004)
*
* Copyright (C) 1999 - 2005, Digium, Inc.
*
* Mark Spencer <markster@digium.com>
*
* See http://www.asterisk.org for more information about
* the Asterisk project. Ple... | rhuitl/uClinux | user/asterisk/codecs/codec_ilbc.c | C | gpl-2.0 | 6,310 |
/*
Unix SMB/CIFS implementation.
Samba KDB plugin for MIT Kerberos
Copyright (c) 2010 Simo Sorce <idra@samba.org>.
Copyright (c) 2014 Andreas Schneider <asn@samba.org>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License... | urisimchoni/samba | source4/kdc/mit-kdb/kdb_samba_principals.c | C | gpl-3.0 | 8,522 |
#pragma region Copyright (c) 2014-2016 OpenRCT2 Developers
/*****************************************************************************
* OpenRCT2, an open source clone of Roller Coaster Tycoon 2.
*
* OpenRCT2 is the work of many authors, a full list can be found in contributors.md
* For more information, visit h... | RussianHackers/OpenRCT2 | src/openrct2/ride/gentle/mini_helicopters.c | C | gpl-3.0 | 14,059 |
/*
Unix SMB/CIFS implementation.
Samba utility functions
Copyright (C) Andrew Tridgell 1992-1998
Copyright (C) Andrew Bartlett 2001-2004
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... | urisimchoni/samba | source3/rpc_server/samr/srv_samr_chgpasswd.c | C | gpl-3.0 | 32,227 |
/*
Unix SMB/CIFS implementation.
routines for marshalling/unmarshalling basic types
Copyright (C) Andrew Tridgell 2003
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 versi... | sathieu/samba | librpc/ndr/ndr_basic.c | C | gpl-3.0 | 37,446 |
/*
* Generated by asn1c-0.9.24 (http://lionet.info/asn1c)
* From ASN.1 module "EUTRA-RRC-Definitions"
* found in "36331-c10.asn"
* `asn1c -S /usr/local/share/asn1c -fcompound-names -fskeletons-copy -gen-PER`
*/
#include "P-Max.h"
int
P_Max_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
asn_app_cons... | yangchengwork/LTE-Cell-Scanner | asn1_test/LTE-BCCH-DL-SCH-decode/P-Max.c | C | agpl-3.0 | 4,631 |
/*
* Copyright (C) 2015 Nick van IJzendoorn <nijzendoorn@engineering-spirit.nl>
* 2017 HAW Hamburg
*
* 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 tests
* @... | aabadie/RIOT | tests/msg_avail/main.c | C | lgpl-2.1 | 1,499 |
/*
* Copyright (C) 2016 MUTEX NZ Ltd
*
* 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 auto_init_gnrc_netif
* @{
*
* @file
* @brief Auto initialization for the cc2538... | beurdouche/RIOT | sys/auto_init/netif/auto_init_cc2538_rf.c | C | lgpl-2.1 | 2,124 |
/*====================================================================*
- Copyright (C) 2001 Leptonica. 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 c... | deekoder/tess_two | tess-two/jni/com_googlecode_leptonica_android/src/prog/edgetest.c | C | apache-2.0 | 3,172 |
/*-------------------------------------------------------------------------
*
* dict_ispell.c
* Ispell dictionary interface
*
* Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/tsearch/dict_ispell.c,v 1.8 2009/01/01 17:23:48 momjian ... | Chibin/gpdb | src/backend/tsearch/dict_ispell.c | C | apache-2.0 | 3,285 |
#include "disp_de.h"
#include "disp_display.h"
#include "disp_event.h"
#include "disp_scaler.h"
#include "disp_clk.h"
#include "disp_lcd.h"
__s32 Image_init(__u32 screen_id)
{
image_clk_init(screen_id);
/* when access image registers, must open MODULE CLOCK of image */
image_clk_on(screen_id, 0);
DE_BE_Reg_Init(sc... | indashnet/InDashNet.Open.UN2000 | lichee/brandy/u-boot-2011.09/drivers/video_sunxi/sunxi_v1/de_bsp/de/disp_de.c | C | apache-2.0 | 8,048 |
/*****************************************************************************
Copyright (c) 2014, Intel Corp.
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 cod... | ryanrhymes/openblas | lib/OpenBLAS-0.2.19/lapack-netlib/LAPACKE/src/lapacke_zhetrf_rook.c | C | bsd-3-clause | 3,476 |
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolar... | dcui/FreeBSD-9.3_kernel | sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sha256.c | C | bsd-3-clause | 1,688 |
/*
Need to concatenate this file with something that defines:
LPTSTR path_dirs[];
LPTSTR progDll;
LPTSTR rtsDll;
int rtsOpts;
*/
#include <stdarg.h>
#include <stdio.h>
#include <windows.h>
#include <shlwapi.h>
#include "Rts.h"
void die(char *fmt, ...) {
va_list argp;
fprintf(stderr, "error: ");
va_star... | sdiehl/ghc | driver/utils/dynwrapper.c | C | bsd-3-clause | 4,642 |
// Copyright (c) 2008 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Written in NSPR style to also be suitable for adding to the NSS demo suite
/* memio is a simple NSPR I/O layer that lets you decouple NSS from
* t... | leighpauls/k2cro4 | net/base/nss_memio.c | C | bsd-3-clause | 14,011 |
/* **********************************************************
* Copyright (c) 2004-2007 VMware, Inc. All rights reserved.
* **********************************************************/
/*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following ... | DynamoRIO/drk | tools/DRload.c | C | bsd-3-clause | 11,933 |
/*
* linux/fs/vfat/namei.c
*
* Written 1992,1993 by Werner Almesberger
*
* Windows95/Windows NT compatible extended MSDOS filesystem
* by Gordon Chaffee Copyright (C) 1995. Send bug reports for the
* VFAT filesystem to <chaffee@cs.berkeley.edu>. Specify
* what file operation caused you trouble and... | samno1607/CyanPlus | fs/fat/namei_vfat.c | C | gpl-2.0 | 26,124 |
/*
* (C) Copyright 2000
* Wolfgang Denk, DENX Software Engineering, wd@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 S... | ff94315/hiwifi-openwrt-HC5661-HC5761 | target/linux/oxnas/image/boot/u-boot/board/ip860/ip860.c | C | gpl-2.0 | 8,331 |
/*
* Driver for AMBA serial ports
*
* Based on drivers/char/serial.c, by Linus Torvalds, Theodore Ts'o.
*
* Copyright 1999 ARM Limited
* Copyright (C) 2000 Deep Blue Solutions Ltd.
* Copyright (C) 2010 ST-Ericsson SA
*
* This program is free software; you can redistribute it and/or modify
* it under the ... | harryxue1999/linux | drivers/tty/serial/amba-pl011.c | C | gpl-2.0 | 61,714 |
// GENERATED CODE --- DO NOT EDIT ---
// Code is produced by sasmodels.gen from sasmodels/models/MODEL.c
#ifdef __OPENCL_VERSION__
# define USE_OPENCL
#endif
#define USE_KAHAN_SUMMATION 0
// If opencl is not available, then we are compiling a C function
// Note: if using a C++ compiler, then define kernel as extern ... | mads-bertelsen/McCode | mcxtrace-comps/share/sas_stickyhardsphere.c | C | gpl-2.0 | 11,531 |
/*
* 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 "common.h"
#include "git2/credential_helpers.h"
int git_credential_userpass(
git_credential... | ropensci/git2r | src/libgit2/src/transports/credential_helpers.c | C | gpl-2.0 | 1,894 |
/*
* 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.
*
* Code to handle x86 style IRQs plus some generic interrupt stuff.
*
* Copyright (C) 1992 Linus Torvalds
* Copyright (C) 1994 - 2000 Ralf... | ipwndev/DSLinux-Mirror | linux-2.6.x/arch/mips/kernel/irq.c | C | gpl-2.0 | 2,980 |
/*
* (C) Copyright 2010,2011
* NVIDIA Corporation <www.nvidia.com>
*
* 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 Software Fou... | itgb/opCloudRouter | qca/src/u-boot/board/nvidia/common/board.c | C | gpl-2.0 | 3,589 |
/* vi: set sw=4 ts=4: */
/*
* Mini grep implementation for busybox using libc regex.
*
* Copyright (C) 1999,2000,2001 by Lineo, inc. and Mark Whitley
* Copyright (C) 1999,2000,2001 by Mark Whitley <markw@codepoet.org>
*
* Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
*/
/* BB_AUDIT SU... | smx-smx/dsl-n55u-bender | release/src/router/busybox/findutils/grep.c | C | gpl-2.0 | 23,707 |
/*
* Keyboard class input driver for the NVIDIA Tegra SoC internal matrix
* keyboard controller
*
* Copyright (c) 2009-2011, NVIDIA Corporation.
*
* 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 Fou... | minghuadev/chromeos-kernel-3-8 | drivers/input/keyboard/tegra-kbc.c | C | gpl-2.0 | 21,692 |
/*
* libtcod 1.5.2
* Copyright (c) 2008,2009,2010,2012 Jice & Mingos
* 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
... | yrmvgh/BrogueR | src/libtcod-1.5.2/src/lex_c.c | C | agpl-3.0 | 18,073 |
/*
* Copyright (C) 2009-2011 Red Hat, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This l... | rmarwaha/libvirt1 | src/conf/netdev_vport_profile_conf.c | C | lgpl-2.1 | 10,018 |
/*
* Copyright (C) 2016 Freie Universität Berlin
*
* 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 tests
* @{
*
* @file
* @brief Test for UDP socks
*
* @autho... | aeneby/RIOT | tests/lwip_sock_udp/main.c | C | lgpl-2.1 | 63,419 |
/* **********************************************************
* Copyright (c) 2014 Google, Inc. All rights reserved.
* Copyright (c) 2003 VMware, Inc. All rights reserved.
* **********************************************************/
/*
* Redistribution and use in source and binary forms, with or without
* modi... | code4bones/dynamorio | suite/tests/win32/virtualfree.c | C | lgpl-2.1 | 2,047 |
/*------------------------------------------------------------------*-
2_01_12h.C (v1.00)
------------------------------------------------------------------
*** THIS IS A *HYBRID* SCHEDULER FOR STANDARD 8051 / 8052 ***
*** Uses T2 for timing, 16-bit auto reload ***
*** 12 MHz oscillator -> 1... | hyller/CodeLibrary | Patterns_for_Time_Triggered_Emb/34/DAC_Spee/2_01_12h.c | C | unlicense | 5,145 |
/***************************************************************************//**
* @file em_prs.c
* @brief Peripheral Reflex System (PRS) Peripheral API
* @version 5.1.2
*******************************************************************************
* @section License
* <b>Copyright 2016 Silicon Laboratorie... | crawford/arm-toolkit | src/arch/cortex-m3/emlib/src/em_prs.c | C | apache-2.0 | 5,505 |
/**
******************************************************************************
* @file stm32f4xx_ll_dma.c
* @author MCD Application Team
* @brief DMA LL module driver.
******************************************************************************
* @attention
*
* <h2><center>© COP... | andrzej-kaczmarek/apache-mynewt-core | hw/mcu/stm/stm32f4xx/src/ext/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_dma.c | C | apache-2.0 | 19,823 |
/**
* FreeRDP: A Remote Desktop Protocol Implementation
*
* Copyright 2011-2014 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 with the License.
* You may obtain a copy of the License at
*
* ... | xproax/FreeRDP | server/shadow/Win/win_shadow.c | C | apache-2.0 | 13,118 |
/* mbed Microcontroller Library
*******************************************************************************
* Copyright (c) 2015, STMicroelectronics
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following condition... | hjjeon0608/mbed_for_W7500P | libraries/mbed/targets/hal/TARGET_STM/TARGET_STM32F7/pwmout_api.c | C | apache-2.0 | 6,733 |
/*
* Copyright (c) 2013-2014, ARM Limited and Contributors. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice, this
* l... | Leo-Yan/arm-trusted-firmware | plat/juno/bl31_plat_setup.c | C | bsd-3-clause | 7,667 |
/*
* cblas_ctbmv.c
* The program is a C interface to ctbmv.
*
* Keita Teranishi 5/20/98
*
*/
#include "cblas.h"
#include "cblas_f77.h"
void cblas_ctbmv(const CBLAS_LAYOUT layout, const CBLAS_UPLO Uplo,
const CBLAS_TRANSPOSE TransA, const CBLAS_DIAG Diag,
const int N, const int K... | buffer51/OpenBLAS | lapack-netlib/CBLAS/src/cblas_ctbmv.c | C | bsd-3-clause | 3,945 |
/*
SiI8620 Linux Driver
Copyright (C) 2013 Silicon Image, 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 version 2.
This program is distributed AS-IS WITHOUT ANY WARRANTY of any
kind, whether ... | ztemt/NX506J_KitKat_kernel | drivers/video/msm/mdss/Sii8620/mhl_linux_tx_POLLING.c | C | gpl-2.0 | 92,253 |
/*
* linux/fs/namei.c
*
* Copyright (C) 1991, 1992 Linus Torvalds
*/
/*
* Some corrections by tytso.
*/
/* [Feb 1997 T. Schoebel-Theuer] Complete rewrite of the pathname
* lookup logic.
*/
/* [Feb-Apr 2000, AV] Rewrite to the new namespace architecture.
*/
#include <linux/init.h>
#include <linux/module.h... | grate-driver/linux-2.6 | fs/namei.c | C | gpl-2.0 | 72,160 |
#include <linux/vmalloc.h>
#include <linux/slab.h>
#include <linux/mm.h>
#include <linux/mman.h>
#include <linux/module.h>
#include "m4u_priv.h"
/* global variables */
int gM4U_log_to_uart = 2;
int gM4U_log_level = 2;
unsigned int gM4U_seed_mva = 0;
extern unsigned long gM4U_ProtectVA;
int m4u_test_alloc_dealloc(i... | andrea2107/android_kernel_xiaomi_hermes | drivers/misc/mediatek/m4u/2.0/m4u_debug.c | C | gpl-2.0 | 36,262 |
/*
* Bluetooth Broadcom GPIO and Low Power Mode control
*
* Copyright (C) 2011 Samsung Electronics Co., Ltd.
* Copyright (C) 2011 Google, 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 ... | CyanogenMod/android_kernel_samsung_trelte | drivers/bluetooth/bcm4339.c | C | gpl-2.0 | 8,961 |
/*
* handling privileged instructions
*
* Copyright IBM Corp. 2008, 2013
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License (version 2 only)
* as published by the Free Software Foundation.
*
* Author(s): Carsten Otte <cotte@de.ibm.... | fizista/Dorimanx-SG2-I9100-Kernel | arch/s390/kvm/priv.c | C | gpl-2.0 | 23,834 |
/*
* 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) 1994 - 2003, 06, 07 by Ralf Baechle (ralf@linux-mips.org)
* Copyright (C) 2007 MIPS Technologies, Inc.
*/
#include <linux/... | longman88/kernel-qspinlock | arch/mips/mm/cache.c | C | gpl-2.0 | 6,949 |
/*
* This file is part of the coreboot project.
*
* Copyright (C) 2005 AMD
* Written by Yinghai Lu <yinghai.lu@amd.com> for AMD.
*
* 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... | librecore-org/librecore | src/southbridge/broadcom/bcm5785/sb_pci_main.c | C | gpl-2.0 | 3,994 |
/*
* IPv6 Address [auto]configuration
* Linux INET6 implementation
*
* Authors:
* Pedro Roque <roque@di.fc.ul.pt>
* Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published ... | allwinner-zh/linux-3.4-sunxi | net/ipv6/addrconf.c | C | gpl-2.0 | 120,524 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.