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 |
|---|---|---|---|---|---|
//*****************************************************************************
//
// fontcmss46b.c - Font definition for the 46 point Cmss bold font.
//
// Copyright (c) 2008-2010 Texas Instruments Incorporated. All rights reserved.
// Software License Agreement
//
// Texas Instruments (TI) is supplying this softwar... | vastsoun/bbmc-starterware | grlib/fonts/fontcmss46b.c | C | bsd-3-clause | 32,274 |
#include <omp.h>
#include <math.h>
#define ceild(n,d) ceil(((double)(n))/((double)(d)))
#define floord(n,d) floor(((double)(n))/((double)(d)))
#define max(x,y) ((x) > (y)? (x) : (y))
#define min(x,y) ((x) < (y)? (x) : (y))
/*
* Order-1, 3D 7 point stencil
* Adapted from PLUTO and Pochoir test bench
*
* Tare... | tareqmalas/girih | pluto_examples/gen_kernels/lbpar_3d7pt4_4_8_64/3d7pt.lbpar.c | C | bsd-3-clause | 7,590 |
/*
* Copyright © 2018-2019, VideoLAN and dav1d authors
* Copyright © 2018-2019, Two Orioles, LLC
* 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 ... | endlessm/chromium-browser | third_party/dav1d/libdav1d/src/itx_tmpl.c | C | bsd-3-clause | 9,450 |
/* Copyright (c) 2007-2016, The Tor Project, Inc. */
/* See LICENSE for licensing information */
/**
* \file geoip.c
* \brief Functions related to maintaining an IP-to-country database;
* to summarizing client connections by country to entry guards, bridges,
* and directory servers; and for statistics on answering... | BreakoutCoin/Breakout-Chain-Client | src/tor/or/geoip.c | C | mit | 58,156 |
/* swdp-m0sub.c
*
* Copyright 2015 Brian Swetland <swetland@frotz.net>
*
* 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 ... | nvll/lk | app/mdebug/swd-m0sub.c | C | mit | 4,971 |
/*
* Changes:
* Jan 22, 2010: Created (Cristiano Giuffrida)
*/
#include "inc.h"
/*===========================================================================*
* do_up *
*===========================================================================*/
PUBLIC int do_up(m_ptr)
message *m_p... | ducis/operating-system-labs | src.clean/servers/rs/request.c | C | mit | 19,836 |
/***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* | (__| |_| | _ <| |___
* \___|\... | sidhujag/devcoin-wallet | src/curl/lib/asyn-ares.c | C | mit | 19,853 |
/*
* Syscall interface to knfsd.
*
* Copyright (C) 1995, 1996 Olaf Kirch <okir@monad.swb.de>
*/
#include <linux/slab.h>
#include <linux/namei.h>
#include <linux/ctype.h>
#include <linux/sunrpc/svcsock.h>
#include <linux/lockd/lockd.h>
#include <linux/sunrpc/addr.h>
#include <linux/sunrpc/gss_api.h>
#include <linu... | zoobab/vzkernel | fs/nfsd/nfsctl.c | C | gpl-2.0 | 31,358 |
/*
* Copyright (C) 2012 Spreadtrum Communications 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 hope that it w... | voltagex/kernel-sprdb2g_gonk4.0_6821 | arch/arm/mach-sc8825/board_sp6825gb/board.c | C | gpl-2.0 | 11,412 |
/*
* Secure Digital Host Controller Interface ACPI driver.
*
* Copyright (c) 2012, 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.
*
* Th... | wgoossens/linux-nios2 | drivers/mmc/host/sdhci-acpi.c | C | gpl-2.0 | 10,570 |
// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
*
* Copyright (C) 2013 Intel Corporation. All rights reserved.
*
*
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include <stdbool.h>
#include <glib... | cktakahasi/bluez | tools/sco-tester.c | C | gpl-2.0 | 18,002 |
/*
* Soft: Keepalived is a failover program for the LVS project
* <www.linuxvirtualserver.org>. It monitor & manipulate
* a loadbalanced server pool using multi-layer checks.
*
* Part: NETLINK kernel command channel.
*
* Author: Alexandre Cassen, <acassen@linux-vs.org... | xmllovemm/keepalived_modify | keepalived/vrrp/vrrp_netlink.c | C | gpl-2.0 | 18,234 |
/*
* Note: this file originally auto-generated by mib2c using
* : mib2c.int_watch.conf 13957 2005-12-20 15:33:08Z tanders $
*/
#include <net-snmp/net-snmp-config.h>
#include <net-snmp/net-snmp-includes.h>
#include <net-snmp/agent/net-snmp-agent-includes.h>
#include "statPPTP.h"
#include "triton.h"
/*
* Th... | musman2012/commented-accel | accel-pppd/extra/net-snmp/statPPTP.c | C | gpl-2.0 | 3,252 |
/*
* Copyright (C) 2011-2012 Freescale Semiconductor, Inc. All Rights Reserved.
*/
/*
* Modifyed by: Edison Fernández <edison.fernandez@ridgerun.com>
* Added support to use it with Nitrogen6x
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public ... | captivo/linux-captivo | drivers/media/platform/mxc/capture/tc358743_h2c.c | C | gpl-2.0 | 111,500 |
/*
* vhost-vdpa
*
* Copyright(c) 2017-2018 Intel Corporation.
* Copyright(c) 2020 Red Hat, Inc.
*
* This work is licensed under the terms of the GNU GPL, version 2 or later.
* See the COPYING file in the top-level directory.
*
*/
#include "qemu/osdep.h"
#include <linux/vhost.h>
#include <linux/vfio.h>
#incl... | dslutz/qemu | hw/virtio/vhost-vdpa.c | C | gpl-2.0 | 14,501 |
/* *
* Copyright (C) 2009 Texas Instruments Inc
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This progr... | merlinholland/kernel | drivers/media/video/davinci/dm365_aew.c | C | gpl-2.0 | 22,941 |
/*
* COM1 NS16550 support
* originally from linux source (arch/ppc/boot/ns16550.c)
* modified to use CONFIG_SYS_ISA_MEM and new defines
*/
#include <config.h>
#include <ns16550.h>
#define LCRVAL LCR_8N1 /* 8 data, 1 stop, no parity */
#define MCRVAL (MCR_DTR | MCR_RTS) /* RTS/DTR */
#define FCRVAL (FCR_FIFO... | diverger/uboot-lpc32xx | drivers/serial/ns16550.c | C | gpl-2.0 | 1,977 |
/*
* ProFTPD - mod_sftp RFC4716 keystore
* Copyright (c) 2008-2016 TJ Saunders
*
* 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... | pghmcfc/proftpd | contrib/mod_sftp/rfc4716.c | C | gpl-2.0 | 16,496 |
/* packet-hdmi.c
* Routines for HDMI dissection
* Copyright 2014 Martin Kaiser <martin@kaiser.cx>
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the ... | jfzazo/wireshark-hwgen | src/epan/dissectors/packet-hdmi.c | C | gpl-2.0 | 10,017 |
/*****************************************************************************/
/* */
/* Ittiam WPS SOFTWARE */
/* */
... | voltagex/kernel-sprdb2g_gonk4.0_6821 | drivers/net/wireless/trout/mac/src/Library/WPS/Protocols/wps_key.c | C | gpl-2.0 | 14,127 |
/* SPDX-License-Identifier: GPL-2.0-only */
#include <delay.h>
#include <device/mmio.h>
#include <console/console.h>
#include <console/uart.h>
#include <soc/addressmap.h>
#include <soc/otp.h>
/*
* This is a driver for the eMemory EG004K32TQ028XW01 NeoFuse
* One-Time-Programmable (OTP) memory used within the SiFive ... | felixsinger/coreboot | src/soc/sifive/fu540/otp.c | C | gpl-2.0 | 2,193 |
/* -*- C -*-
//C- -------------------------------------------------------------------
//C- DjView4
//C- Copyright (c) 2006 Leon Bottou
//C-
//C- This software is subject to, and may be distributed under, the
//C- GNU General Public License, either version 2 of the license,
//C- or (at your option) any later version. ... | Stannislav/djvulibre-3.5.25 | tools/tiff2pdf.c | C | gpl-2.0 | 159,904 |
/*
* Copyright (c) 1999-2005 Petko Manolov (petkan@users.sourceforge.net)
*
* 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.
*
* ChangeLog:
* .... Most of the time spent on re... | ipwndev/DSLinux-Mirror | linux-2.6.x/drivers/usb/net/pegasus.c | C | gpl-2.0 | 36,647 |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
* vim:expandtab:shiftwidth=2:tabstop=2: */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use thi... | EpicCM/SPH-D700-Kernel | external/webkit/WebCore/plugins/gtk/gtk2xtbin.c | C | gpl-2.0 | 26,348 |
/* Separate lexical analyzer for GNU C++.
Copyright (C) 1987, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
1999, 2000, 2001, 2002, 2003, 2004, 2005, 2007, 2008, 2010
Free Software Foundation, Inc.
Hacked by Michael Tiemann (tiemann@cygnus.com)
This file is part of GCC.
GCC is free software; you can red... | h4ck3rm1k3/gcc | gcc/cp/lex.c | C | gpl-2.0 | 19,780 |
/* packet-forces.c
* RFC 5810
* Routines for dissecting IETF ForCES protocol layer messages.Now support the following TML types:TCP+UDP,SCTP.
* Copyright 2009, NDSC & Zhejiang Gongshang University,Fenggen Jia <fgjia@mail.zjgsu.edu.cn or fenggen.jia@gmail.com>
*
* $Id$
*
* Wireshark - Network traffic analyzer
* ... | slowfranklin/wireshark | epan/dissectors/packet-forces.c | C | gpl-2.0 | 41,483 |
/* Duplicate handle for selection of locales.
Copyright (C) 1997, 2000, 2001 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of th... | nslu2/glibc | locale/duplocale.c | C | gpl-2.0 | 1,954 |
/* packet-bpkmreq.c
* Routines for Baseline Privacy Key Management Request dissection
* Copyright 2002, Anand V. Narwani <anand[AT]narwani.org>
*
* $Id: packet-bpkmreq.c 45015 2012-09-20 01:29:52Z morriss $
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald... | P1sec/LTE_monitor_c2xx | wireshark/plugins/docsis/packet-bpkmreq.c | C | gpl-2.0 | 4,716 |
/* hostlist_sctp.c 2008 Stig Bjorlykke
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Sof... | morynicz/pyroshark | ui/gtk/hostlist_sctp.c | C | gpl-2.0 | 2,658 |
/*
* Fence mechanism for dma-buf and to allow for asynchronous dma access
*
* Copyright (C) 2012 Canonical Ltd
* Copyright (C) 2012 Texas Instruments
*
* Authors:
* Rob Clark <robdclark@gmail.com>
* Maarten Lankhorst <maarten.lankhorst@canonical.com>
*
* This program is free software; you can redistribute it ... | kofemann/linux-redpatch | drivers/base/fence.c | C | gpl-2.0 | 11,942 |
/* Copyright (C) 1991, 1993, 1995, 1996, 1997 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
... | nslu2/glibc | sysdeps/generic/system.c | C | gpl-2.0 | 1,207 |
/*
* Asterisk -- An open source telephony toolkit.
*
* Copyright (C) 2007-2008, Trinity College Computing Center
* Written by David Chappell <David.Chappell@trincoll.edu>
*
* See http://www.asterisk.org for more information about
* the Asterisk project. Please do not directly contact
* any of the maintainers of... | leedm777/asterisk | apps/app_readexten.c | C | gpl-2.0 | 8,312 |
/*
* arch/arm/mach-tegra/board-smba1002.c
*
* Copyright (C) 2011 Eduardo José Tagle <ejtagle@tutopia.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 those terms.
*... | fosser2/android-tegra-nv-3.1.10-rel-15r7 | arch/arm/mach-tegra/board-smba1002.c | C | gpl-2.0 | 6,001 |
/*
* This file is part of Cleanflight.
*
* Cleanflight is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Cleanflight is distr... | chickadee-tech/betaflight | src/main/target/STM32F3DISCOVERY/target.c | C | gpl-3.0 | 5,121 |
/*
Copyright (C) 2000, 2001 Silicon Graphics, Inc. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it
under the terms of version 2.1 of the GNU Lesser General Public License
as published by the Free Software Foundation.
This program is distributed in the hope tha... | uhhpctools/openuh-openacc | osprey/libfi/mpp_scan/scanmax_sp_6.c | C | gpl-3.0 | 3,247 |
/*********************************************************************/
/* */
/* Optimized BLAS libraries */
/* By Kazushige Goto <kgoto@tacc.utexas.edu> */
/* ... | cnr-isti-vclab/meshlab | unsupported/plugins_unsupported/external/GotoBLAS2/driver/others/memory_qalloc.c | C | gpl-3.0 | 2,015 |
/*
Copyright 2005, 2006, 2007 Dennis van Weeren
Copyright 2008, 2009 Jakub Bednarski
This file is part of Minimig
Minimig 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 y... | rkrajnc/minimig-mist | fw/ctrl/menu.c | C | gpl-3.0 | 80,458 |
/*
* This file is part of Cleanflight.
*
* Cleanflight is free software. You can redistribute
* this software and/or modify this software under the terms of the
* GNU General Public License as published by the Free Software
* Foundation, either version 3 of the License, or (at your option)
* any later version.
... | cleanflight/cleanflight | src/main/drivers/compass/compass_ak8963.c | C | gpl-3.0 | 14,689 |
/* GIMP - The GNU Image Manipulation Program
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
*
* gimpuiconfigurer.c
* Copyright (C) 2009 Martin Nordholts <martinn@src.gnome.org>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License a... | mardy/gimb | app/gui/gimpuiconfigurer.c | C | gpl-3.0 | 20,013 |
/*
* This file is part of the libsigrok project.
*
* Copyright (C) 2010 Uwe Hermann <uwe@hermann-uwe.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 2 of the License,... | uwehermann/libsigrok | src/strutil.c | C | gpl-3.0 | 30,226 |
/*
This file is part of the FreeRTOS.org distribution.
FreeRTOS.org 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 and modified by the FreeRTOS exception.
FreeRTOS.org is distrib... | RobsonRojas/frertos-udemy | Keil-FreeRTOS-Sample-Project/Keil-FreeRTOS/FreeRTOSv9.0.0/FreeRTOS/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/FEC.c | C | gpl-3.0 | 20,040 |
/**CFile****************************************************************
FileName [ioReadBaf.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Command processing package.]
Synopsis [Procedures to read AIG in the binary format.]
Author [Alan Mishchenko]
Affiliatio... | Kinghsy/490_core | lib/abc/src/base/io/ioReadBaf.c | C | gpl-3.0 | 5,781 |
#include <parmetislib.h>
/* Byte-wise swap two items of size SIZE. */
#define QSSWAP(a, b, stmp) do { stmp = (a); (a) = (b); (b) = stmp; } while (0)
/* Discontinue quicksort algorithm when partition gets below this size.
This particular magic number was chosen to work best on a Sun 4/260. */
#define MAX_THRESH 20... | DominicJones/cfdpack | lib/ParMetis-3.1.1/ParMETISLib/ikeyvalsort.c | C | gpl-3.0 | 4,929 |
/* GIO - GLib Input, Output and Streaming Library
*
* Copyright (C) 2006-2007 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 ... | staceyson/glib-2.0 | gio/gappinfo.c | C | lgpl-2.1 | 28,691 |
/*
* Copyright (c) 2012 Citrix Systems, 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.
*
* Th... | OpenXT/surfman | plugins/glgfx/glgfx.c | C | lgpl-2.1 | 31,356 |
/*****************************************************************************
* schroedinger.c: Dirac decoder module making use of libschroedinger.
* (http://www.bbc.co.uk/rd/projects/dirac/index.shtml)
* (http://diracvideo.org)
********************************************************************... | xkfz007/vlc | modules/codec/schroedinger.c | C | lgpl-2.1 | 57,647 |
/**
******************************************************************************
* @file stm32wbxx_hal_pcd_ex.c
* @author MCD Application Team
* @brief PCD Extended HAL module driver.
* This file provides firmware functions to manage the following
* functionalities of the USB... | prefetchnta/crhack | src/naked/arm-stm32/stm32wbxx/stm32wbxx_hal_pcd_ex.c | C | lgpl-2.1 | 9,702 |
/* radare - LGPL - Copyright 2014-2015 - pancake */
#include "r_util/r_str.h"
#include <r_util.h>
/* dex/dwarf uleb128 implementation */
R_API const ut8 *r_uleb128(const ut8 *data, int datalen, ut64 *v, const char **error) {
ut8 c;
ut64 s, sum = 0;
const ut8 *data_end;
bool malformed_uleb = true;
if (v) {
*v ... | wargio/radare2 | libr/util/uleb128.c | C | lgpl-3.0 | 8,753 |
/*
* XDD - a data movement and benchmarking toolkit
*
* Copyright (C) 1992-2013 I/O Performance, Inc.
* Copyright (C) 2009-2013 UT-Battelle, LLC
*
* This 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
... | eunsungc/gt6-RAMSES_8_5 | xdd-7.0.0.rc-ramses3/src/bx/bx_worker_thread.c | C | apache-2.0 | 7,048 |
/**
* FreeRDP: A Remote Desktop Protocol Implementation
* T.124 Generic Conference Control (GCC)
*
* Copyright 2011 Marc-Andre Moreau <marcandre.moreau@gmail.com>
* Copyright 2014 Norbert Federa <norbert.federa@thincast.com>
* Copyright 2014 DI (FH) Martin Haimberger <martin.haimberger@thincast.com>
*
* License... | cedrozor/FreeRDP | libfreerdp/core/gcc.c | C | apache-2.0 | 59,329 |
/* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not... | rectang/lucy | core/LucyX/Search/ProximityMatcher.c | C | apache-2.0 | 12,748 |
/*-
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* Chris Torek.
*
* Copyright (c) 2011 The FreeBSD Foundation
* All rights reserved.
* Portions of this software were developed by David Chisnall
... | jrobhoward/SCADAbase | lib/libc/stdio/vfwprintf.c | C | bsd-3-clause | 28,031 |
/*
* Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
* Copyright Siemens AG 2020
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* htt... | jens-maus/amissl | openssl/test/http_test.c | C | bsd-3-clause | 12,328 |
/**
* OpenAL cross platform audio library
* Copyright (C) 1999-2007 by authors.
* 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 op... | DKGL/DKGL | DK/lib/OpenAL/OpenAL32/alFilter.c | C | bsd-3-clause | 17,106 |
/*
*
* 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... | ppietrasa/grpc | test/core/end2end/tests/payload.c | C | bsd-3-clause | 10,278 |
/****************************************************************************
*
* Copyright (C) 2012-2019 PX4 Development Team. 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. Redi... | acfloria/Firmware | src/systemcmds/tests/test_ppm_loopback.c | C | bsd-3-clause | 5,363 |
/* Copyright (c) 2009-2013 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "net.h"
#include "ioloop.h"
#include "hash.h"
#include "strescape.h"
#include "fd-set-nonblock.h"
#include "login-proxy-state.h"
#include <unistd.h>
#include <fcntl.h>
#define NOTIFY_RETRY_REOPEN_MSECS (60*1000)
s... | Distrotech/dovecot | src/login-common/login-proxy-state.c | C | mit | 3,843 |
/*
* MP3 muxer
* Copyright (c) 2003 Fabrice Bellard
*
* 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 ... | retsu0/FFmepg-Android | jni/ffmpeg/libavformat/mp3enc.c | C | mit | 16,996 |
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
console.c
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Forrest Yu, 2005
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
/*
回车键: 把光标移到第一列
换行键: 把光标前进到下一行
*/
#include "type.h"
#i... | RongbinZhuang/simpleOS | ver0/reference/chapter7/i/kernel/console.c | C | mit | 1,638 |
/*
LUFA Library
Copyright (C) Dean Camera, 2015.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
Copyright 2015 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purp... | ManCaveMade/QuarkOne-Bootloader | src/LUFA/LUFA/Drivers/Peripheral/XMEGA/Serial_XMEGA.c | C | mit | 3,057 |
/******************************************************************************
*
* Module Name: dswscope - Scope stack manipulation
*
*****************************************************************************/
/******************************************************************************
*
* 1. Copyright No... | aclements/sv6 | kernel/acpica/source/components/dispatcher/dswscope.c | C | mit | 11,237 |
/*******************************************************************************
* Copyright (c) 2002, 2010 QNX Software Systems and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distributio... | nikll/pty4j | native/openpty.c | C | epl-1.0 | 1,746 |
/*
* Copyright (c) 2011 Synaptics Incorporated
* Copyright (c) 2011 Unixphere
*
* 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 ... | kirilllavrov/android_kernel_huawei_s10101l | drivers/input/touchscreen/rmi4/rmi_spi.c | C | gpl-2.0 | 21,706 |
/*
*
* This source code is part of
*
* G R O M A C S
*
* GROningen MAchine for Chemical Simulations
*
* VERSION 3.2.0
* Written by David van der Spoel, Erik Lindahl, Berk Hess, and others.
* Copyright (c) 1991-2000, University of G... | tectronics/force-distribution-analysis.gromacs-4-5-3 | src/mdlib/vsite.c | C | gpl-2.0 | 39,717 |
/* Copyright (c) 2009-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... | tenorntex/lhbalanced | drivers/usb/otg/msm72k_otg.c | C | gpl-2.0 | 74,497 |
/*
* linux/drivers/mmc/core/core.c
*
* Copyright (C) 2003-2004 Russell King, All Rights Reserved.
* SD support Copyright (C) 2004 Ian Molton, All Rights Reserved.
* Copyright (C) 2005-2008 Pierre Ossman, All Rights Reserved.
* MMCv4 support Copyright (C) 2006 Philip Langdale, All Rights Reserved.
*
* This ... | SmithGitHu/linux | drivers/mmc/core/core.c | C | gpl-2.0 | 69,002 |
// SPDX-License-Identifier: GPL-2.0+
/*
* linux/fs/jbd2/commit.c
*
* Written by Stephen C. Tweedie <sct@redhat.com>, 1998
*
* Copyright 1998 Red Hat corp --- All Rights Reserved
*
* Journal commit routines for the generic filesystem journaling code;
* part of the ext2fs journaling system.
*/
#include <linux/t... | Fe-Pi/linux | fs/jbd2/commit.c | C | gpl-2.0 | 34,815 |
/**********************************************************************
*
* Copyright (C) Imagination Technologies Ltd. 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 by... | nushor/samsung_aries_ics_OLD | drivers/gpu/pvr/pvr/module.c | C | gpl-2.0 | 17,128 |
/* driver/i2c/chip/tap6185.c
*
* TI rt5501 Speaker Amp
*
* Copyright (C) 2010 HTC 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 be copied, distributed, and modified under those terms.
*
* This pr... | Buckmarble/Lunar_kernel_sense_m7 | drivers/i2c/chips/rt5501.c | C | gpl-2.0 | 30,535 |
/************************************************************************
* $Id: minibidi.c 6910 2006-11-18 15:10:48Z simon $
*
* ------------
* Description:
* ------------
* This is an implemention of Unicode's Bidirectional Algorithm
* (known as UAX #9).
*
* http://www.unicode.org/reports/tr9/
*
* Author... | hackpascal/line-is-not-emulator | src/puttyline/putty-0.60/minibidi.c | C | gpl-2.0 | 55,967 |
/*
* xHCI host controller driver
*
* Copyright (C) 2008 Intel Corp.
*
* Author: Sarah Sharp
* Some code borrowed from the Linux EHCI driver.
*
* 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 Soft... | olear/R104 | drivers/usb/host/xhci-hub.c | C | gpl-2.0 | 32,288 |
/******************************************************************************
** $Id$
**
** Copyright (C) 2006-2007 ascolab GmbH. All Rights Reserved.
** Web: http://www.ascolab.com
**
** This program is free software; you can redistribute it and/or
** modify it under the terms of the GNU General Public License
** a... | RayHightower/wireshark | plugins/opcua/opcua_application_layer.c | C | gpl-2.0 | 3,905 |
/*
* drivers/video/radeonfb.c
* framebuffer driver for ATI Radeon chipset video boards
*
* Copyright 2000 Ani Joshi <ajoshi@kernel.crashing.org>
*
*
* ChangeLog:
* 2000-08-03 initial version 0.0.1
* 2000-09-10 more bug fixes, public release 0.0.5
* 2001-02-19 mode bug fixes, 0.0.7
* 2001-07-05 fixed scrollin... | marcelo-duffles/linux-rat-2.6.10 | drivers/video/radeonfb.c | C | gpl-2.0 | 88,606 |
/***************************************************************************
* Copyright (C) 2011 by Broadcom Corporation *
* Evan Hunter - ehunter@broadcom.com *
* *
* This pr... | yangshanjin/openOCD | src/rtos/rtos_embkernel_stackings.c | C | gpl-2.0 | 2,609 |
/*
* tkMacMenubutton.c --
*
* This file implements the Macintosh specific portion of the
* menubutton widget.
*
* Copyright (c) 1996 by Sun Microsystems, Inc.
*
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
* RCS: @(#) $I... | AndresGG/sn-8.4 | tk/mac/tkMacMenubutton.c | C | gpl-2.0 | 9,411 |
/* Copyright (c) 2011-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... | Nico60/kernel_lge_hammerhead | drivers/gpu/msm/kgsl_iommu.c | C | gpl-2.0 | 61,701 |
/*
* Copyright (c) International Business Machines Corp., 2006
* Copyright (c) Nokia Corporation, 2006, 2007
*
* 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 Licen... | carlos-wong/l430_kernel | drivers/mtd_bak/ubi/io.c | C | gpl-2.0 | 38,031 |
/*
polygon clipping functions. harry eaton implemented the algorithm
described in "A Closed Set of Algorithms for Performing Set
Operations on Polygonal Regions in the Plane" which the original
code did not do. I also modified it for integer coordinates
and faster computation. The lic... | szdiy/pcb-temorary | src/polygon1.c | C | gpl-2.0 | 83,865 |
/* GStreamer
* Copyright (C) <2003> David A. Schleef <ds@schleef.org>
*
* 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 l... | loveyoupeng/rt | modules/media/src/main/native/gstreamer/gstreamer-lite/gstreamer/gst/gstvalue.c | C | gpl-2.0 | 140,229 |
/*
* thinkpad_acpi.c - ThinkPad ACPI Extras
*
*
* Copyright (C) 2004-2005 Borislav Deianov <borislav@users.sf.net>
* Copyright (C) 2006-2009 Henrique de Moraes Holschuh <hmh@hmh.eng.br>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public L... | naota/hfsplus | drivers/platform/x86/thinkpad_acpi.c | C | gpl-2.0 | 235,029 |
/*
* Broadcom Dongle Host Driver (DHD), Linux-specific network interface
* Basically selected code segments from usb-cdc.c and usb-rndis.c
*
* Copyright (C) 1999-2012, Broadcom Corporation
*
* Unless you and Broadcom execute a separate written software license
* agreement governing use of this software, th... | htc-first/android_kernel_htc_msm8930aa | drivers/net/wireless/bcmdhd_4334/dhd_linux.c | C | gpl-2.0 | 156,615 |
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/device.h>
#include <linux/slab.h>
#include <linux/i2c.h>
#include <linux/pm.h>
#include <linux/gpio.h>
#include <linux/delay.h>
#include <linux/workqueue.h>
#include <linux/wakelock.h> /* wake_lock, unlock */
#include <mach... | JellyBeanNitro/kernel-iproj-3.4 | drivers/broadcast/tdmb/t3900/src/broadcast_t3900.c | C | gpl-2.0 | 8,113 |
/* $Id: macucs.c 5322 2005-02-16 23:30:10Z owen $ */
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <time.h>
#include "putty.h"
#include "charset.h"
#include "terminal.h"
#include "misc.h"
#include "mac.h"
/*
* Mac Unicode-handling routines.
*
* BJH:
* What we _should_ do is to use the Text ... | supertanglang/line-is-not-emulator | src/puttyline/putty-0.60/mac/macucs.c | C | gpl-2.0 | 3,763 |
/*****************************************************************************/
/* */
/* Copyright 1999 - 2003, Huawei Tech. Co., Ltd. */
/* ALL RIGHTS RESERVED ... | gabry3795/android_kernel_huawei_mt7_l09 | drivers/vendor/hisi/modem/med/hi6930/osa/src/v_int.c | C | gpl-2.0 | 3,786 |
/*
* Copyright (c) 2014, 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 notice appear in all copies.
* THE SOFTWARE IS PROVIDED "AS ... | paul-chambers/netgear-r7800 | package/qca-ssdk-shell/src/src/fal_uk/fal_cosmap.c | C | gpl-2.0 | 5,610 |
/*
ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio.
This file is part of ChibiOS.
ChibiOS 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
... | serdzz/ChibiOS | os/rt/src/chschd.c | C | gpl-3.0 | 19,314 |
/*
Unix SMB/CIFS implementation.
DNS server utils
Copyright (C) 2010 Kai Blin <kai@samba.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 3 of the License, or
... | framon/samba | source4/dns_server/dns_utils.c | C | gpl-3.0 | 10,153 |
/* -*- c-basic-offset: 4; indent-tabs-mode: nil -*- */
/* ====================================================================
* Copyright (c) 2008 Carnegie Mellon University. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that ... | michael-chi/jumbo | v1/robot-node/stt/pocketsphinx/src/libpocketsphinx/ngram_search_fwdflat.c | C | gpl-3.0 | 33,675 |
#if defined(__ppc__) || defined(__ppc64__)
/* -----------------------------------------------------------------------
ffi.c - Copyright (c) 1998 Geoffrey Keating
PowerPC Foreign Function Interface
Darwin ABI support (c) 2001 John Hornkvist
AIX ABI support (c) 2002 Free Software Foundation, Inc.
Permi... | LubosD/darling | src/libffi/powerpc/ppc-ffi_darwin.c | C | gpl-3.0 | 43,697 |
/** **************************************************************************
* request.c
*
* Copyright 2008 Bryan Ischo <bryan@ischo.com>
*
* This file is part of libs3.
*
* libs3 is free software: you can redistribute it and/or modify it under the
* terms of the GNU General Public License as published by ... | irods/libs3_original | src/request.c | C | gpl-3.0 | 50,518 |
/* liblxcapi
*
* Copyright © 2012 Serge Hallyn <serge.hallyn@ubuntu.com>.
* Copyright © 2012 Canonical 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.
*
* This progra... | Blub/lxc | src/tests/shutdowntest.c | C | lgpl-2.1 | 2,671 |
/* **********************************************************
* Copyright (c) 2012 Google, Inc. All rights reserved.
* Copyright (c) 2009 VMware, Inc. All rights reserved.
* **********************************************************/
/*
* Redistribution and use in source and binary forms, with or without
* mo... | bl4ckic3/dynamorio | tools/nudgeunix.c | C | lgpl-2.1 | 5,878 |
/* linalg/tridiag.c
*
* Copyright (C) 1996, 1997, 1998, 1999, 2000, 2002, 2004, 2007 Gerard Jungman, Brian Gough, David Necas
*
* 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 ver... | PeterWolf-tw/NeoPraat | sources_5401/external/gsl/gsl_linalg__tridiag.c | C | lgpl-3.0 | 15,815 |
/*
** Copyright 2001, Travis Geiselbrecht. All rights reserved.
** Distributed under the terms of the NewOS License.
*/
#include <boot/stage2.h>
#include <boot/shared/openfirmware.h>
#include <kernel/kernel.h>
#include <arch/cpu.h>
#include <libc/string.h>
#include "stage2_priv.h"
static unsigned int primary_hash(unsi... | dioptre/newos | boot/ppc/stage2_mmu.c | C | bsd-3-clause | 16,217 |
/*
* FFV1 encoder template
*
* Copyright (c) 2003-2016 Michael Niedermayer <michaelni@gmx.at>
*
* 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
... | endlessm/chromium-browser | third_party/ffmpeg/libavcodec/ffv1enc_template.c | C | bsd-3-clause | 7,075 |
/*
* Copyright (c) 2015, Texas Instruments Incorporated - http://www.ti.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:
* 1. Redistributions of source code must retain the above copy... | MohamedSeliem/contiki | cpu/cc26xx-cc13xx/rf-core/smartrf-settings.c | C | bsd-3-clause | 6,889 |
/* ../netlib/dgehrd.f -- translated by f2c (version 20100827). You must link the resulting object file with libf2c: on Microsoft Windows system, link with libf2c.lib;
on Linux or Unix systems, link with .../path/to/libf2c.a -lm or, if you install libf2c.a in a standard place, with -lf2c -lm -- in that order, at the en... | alishakiba/libflame | src/map/lapack2flamec/f2c/c/dgehrd.c | C | bsd-3-clause | 13,475 |
/*
Copyright (C) 2014, The University of Texas at Austin
This file is part of libflame and is available under the 3-Clause
BSD license, which can be found in the LICENSE file at the top-level
directory, or at http://opensource.org/licenses/BSD-3-Clause
*/
#include "FLAME.h"
FLA_Error FLA_Bsvd_find_... | yaowee/libflame | src/lapack/dec/bsvd/v/flamec/old/FLA_Bsvd_find_split.c | C | bsd-3-clause | 1,885 |
/* The latency monitor allows to easily observe the sources of latency
* in a Redis instance using the LATENCY command. Different latency
* sources are monitored, like disk I/O, execution of commands, fork
* system call, and so forth.
*
* ----------------------------------------------------------------------------... | Zheaoli/redis_read | src/latency.c | C | bsd-3-clause | 27,309 |
/*<html><pre> -<a href="qh-qhull.htm"
>-------------------------------</a><a name="TOP">-</a>
libqhull.c
Quickhull algorithm for convex hulls
qhull() and top-level routines
see qh-qhull.htm, libqhull.h, unix.c
see qhull_a.h for internal functions
Copyright (c) 1993-... | spirit-code/spirit | thirdparty/qhull/src/libqhull/libqhull.c | C | mit | 51,960 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.