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 |
|---|---|---|---|---|---|
/**
* Send commands to Purple via ~/.purple/control
*
* Originally by Eric Warmenhoven <eric@warmenhoven.org>
* Compile fixes/mini hacks Alex Bennee <alex@bennee.com>
* and Brian Tarricone <bjt23@users.sourceforge.net>
*/
/* system includes */
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <... | gabrieldelsaint/uol-messenger | src/public/pidgin/libpurple/plugins/filectl.c | C | gpl-2.0 | 6,389 |
/*
* CDE - Common Desktop Environment
*
* Copyright (c) 1993-2012, The Open Group. All rights reserved.
*
* These libraries and programs are free software; you can
* redistribute them and/or modify them under the terms of the GNU
* Lesser General Public License as published by the Free Software
* Foundation; ei... | sTeeLM/MINIME | toolkit/srpm/SOURCES/cde-2.2.4/programs/dthelp/parser/pass2/parser/parcount.c | C | gpl-2.0 | 1,446 |
/* This file contains all the functions required for the standalone
ip_conntrack module.
These are not required by the compatibility layer.
*/
/* (C) 1999-2001 Paul `Rusty' Russell
* (C) 2002-2005 Netfilter Core Team <coreteam@netfilter.org>
*
* This program is free software; you can redistribute it and/or m... | shaowei-wang/520board-v1-linux-2.6.21.x | net/ipv4/netfilter/ip_conntrack_standalone.c | C | gpl-2.0 | 25,592 |
/*
* Hardware-level driver for the SliceCOM board for Linux kernels 2.4.X
*
* Current maintainer / latest changes: Pasztor Szilard <don@itc.hu>
*
* Original author: Bartok Istvan <bartoki@itc.hu>
* Based on skeleton by Tivadar Szemethy <tiv@itc.hu>
*
* 0.51:
* - port for 2.4.x
* - clean up some code, mak... | robacklin/celinux | drivers/net/wan/comx-hw-munich.c | C | gpl-2.0 | 91,655 |
/* packet-tsp.c
* Routines for Time Synchronization Protocol (TSP) packet dissection
*
* Uwe Girlich <Uwe.Girlich@philosys.de>
*
* $Id: packet-tsp.c 45017 2012-09-20 02:03:38Z morriss $
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
*
* Copied ... | MavEtJu/wireshark-lean | epan/dissectors/packet-tsp.c | C | gpl-2.0 | 6,841 |
/*
* Copyright 2008, Freescale Semiconductor, Inc
* Andy Fleming
*
* Based vaguely on the Linux code
*
* 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
* ... | PA4WD/u-boot_h1502 | drivers/mmc/mmc.c | C | gpl-2.0 | 29,363 |
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
#include <fcntl.h>
#include <string.h>
#include <assert.h>
#include <sys/types.h>
#include <sys/stat.h>
// Simplifed xv6 shell.
#define MAXARGS 10
// All commands have at least a type. Have looked at the type, the code
// typically casts the *cmd to some spe... | jasonleaster/MIT_6_828_assignments_2012 | sh.c | C | gpl-2.0 | 6,124 |
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#include <linux/loop.h>
#include "bus-common-errors.h"
#include "bus-error.h"
#include "conf-files.h"
#include "copy.h"
#include "def.h"
#include "dirent-util.h"
#include "discover-image.h"
#include "dissect-image.h"
#include "errno-list.h"
#include "fd-util.h"
#includ... | phomes/systemd | src/portable/portable.c | C | gpl-2.0 | 51,682 |
/**
* eCryptfs: Linux filesystem encryption layer
*
* Copyright (C) 1997-2004 Erez Zadok
* Copyright (C) 2001-2004 Stony Brook University
* Copyright (C) 2004-2007 International Business Machines Corp.
* Author(s): Michael A. Halcrow <mahalcro@us.ibm.com>
* Michael C. Thompsion <mcthomps@us.ibm.co... | T-Macgnolia/android_kernel_lge_g4stylus-stock | fs/ecryptfs/inode.c | C | gpl-2.0 | 34,296 |
/*
* adapter.c
*
* Xilinx Ethernet Adapter component to interface XEmac component to Linux
*
* Author: MontaVista Software, Inc.
* source@mvista.com
*
* 2002-2005 (c) MontaVista Software, Inc. This file is licensed under the
* terms of the GNU General Public License version 2. This program is license... | fzqing/linux-2.6 | drivers/net/xilinx_emac/adapter.c | C | gpl-2.0 | 37,026 |
/* Target-dependent code for FreeBSD/i386.
Copyright (C) 2003-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 Software Foundation; either ver... | mickael-guene/binutils | gdb/i386-fbsd-tdep.c | C | gpl-2.0 | 14,057 |
/*
* $Id$
*
* Copyright (C) 2007 iptelorg GmbH
*
* This file is part of SIP-router, a free SIP server.
*
* SIP-router 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, o... | gbour/kamailio | cfg/cfg_struct.c | C | gpl-2.0 | 36,914 |
/* drivers/input/misc/gpio_event.c
*
* Copyright (C) 2007 Google, Inc.
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and modified under those terms.
*
* This program is distributed in t... | Awesomez/htc_glacier_kernel | drivers/input/misc/gpio_event.c | C | gpl-2.0 | 7,016 |
/*
* 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 ... | wjrsonic/openwrt | qca/src/qca-ssdk-shell/src/shell/shell_config.c | C | gpl-2.0 | 57,617 |
#include "../Utils/utils.h"
#include "../Methnum/methnum.h"
#include "../Var/var.h"
#include "../T0/t0.h"
#include "upot.h"
static inline double denf (Var * V ) { return 1 - 6* V->phi* V->phibar - 3* V->phi2* V->phibar2 + 4* (V->phi3 + V->phibar3) ;}
static inline double dphi_denf (Var * ... | AlexandreBiguet/NJLlikeModels | legacy/programs/njl-2-b/Upot/log.c | C | gpl-3.0 | 17,489 |
/*
img_tga.c - tga format load & save
Copyright (C) 2007 Uncle Mike
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This progr... | ShaunNoWay/xash3d | engine/common/imagelib/img_tga.c | C | gpl-3.0 | 8,358 |
#define AUBIO_UNSTABLE 1
#include <aubio.h>
#include "utils_tests.h"
// this file uses the unstable aubio api, please use aubio_source instead
// see src/io/source.h and tests/src/source/test-source.c
int main (int argc, char **argv)
{
uint_t err = 0;
if (argc < 2) {
err = 2;
PRINT_ERR("not enough argumen... | dafx/aubio | tests/src/io/test-source_apple_audio.c | C | gpl-3.0 | 1,939 |
/*
* irqtimer.c
*
* Created on: 12.04.2014
* Author: Jonathan Thaler
*/
#include "irqtimer.h"
#include "../hal/timer/timer_hal.h"
#define IRQTIMER_ADDR GPTIMER2_ADDR
void
irqTimerInit( uint32_t irqIntervalMs )
{
// stop timer, maybe was started bevore reset
irqTimerStop();
// TODO: disable post-mode
... | FHV-S1-FFPST/BOSS | kernel/src/timer/irqtimer.c | C | gpl-3.0 | 1,220 |
/*
* Map names to server_ids
*
* Copyright Volker Lendecke <vl@samba.org> 2014
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) an... | kernevil/samba | lib/util/server_id_db.c | C | gpl-3.0 | 7,551 |
/*------------------------------------------------------------------------
*
* Copyright (c) 1997-1998 by Cornell University.
*
* See the file "license.txt" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
*----------------------------------------------------... | ihmc/nomads | externals/dali-1.0/packages/pnm/pnmcast.c | C | gpl-3.0 | 2,076 |
/** @file array.c
*
* Source for the different array types used in Fuzzball. This is primarily
* used for MUF primitives.
*
* This file is part of Fuzzball MUCK. Please see LICENSE.md for details.
*/
#include <float.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "con... | revarbat/fuzzball | src/array.c | C | gpl-3.0 | 79,224 |
/* Test file for mpfr_atanh.
Copyright 2001-2015 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
The GNU MPFR Library is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as p... | evaautomation/mpfr | tests/tatanh.c | C | gpl-3.0 | 4,654 |
/* xfs.c - XFS. */
/*
* GRUB -- GRand Unified Bootloader
* Copyright (C) 2005,2006,2007,2008,2009 Free Software Foundation, Inc.
*
* GRUB 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 v... | a1ive/grub2-mod | grub-core/fs/xfs.c | C | gpl-3.0 | 30,640 |
/*
This file is part of SUPPL - the supplemental library for DOS
Copyright (C) 1996-2000 Steffen Kaiser
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 ... | joyent/sdcboot | freedos/source/command/suppl/src/dbgv_s12.c | C | mpl-2.0 | 1,700 |
/*!
\file diglib/port_init.c
\brief Vector library - portability (lower level functions)
Lower level functions for reading/writing/manipulating vectors.
This code is a quick hack to allow the writing of portable
binary data files.
The approach is to take known values and compare them against
the... | AsherBond/MondocosmOS | grass_trunk/lib/vector/diglib/port_init.c | C | agpl-3.0 | 7,584 |
/*
Copyright (C) 2014-2015 Jakob Frielingsdorf
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is di... | RonnySoak/libssa | src/algo/align.c | C | agpl-3.0 | 4,931 |
/*
* Intel PRO/1000 Linux driver
* Copyright(c) 1999 - 2015 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 distribute... | xuzhaokui/PF_RING | drivers/DNA/e1000e-3.2.4.2-DNA/src/manage.c | C | lgpl-2.1 | 9,408 |
/*
* Copyright © 2007 Chris Wilson
*
* Permission to use, copy, modify, distribute, and sell this software
* and its documentation for any purpose is hereby granted without
* fee, provided that the above copyright notice appear in all copies
* and that both that copyright notice and this permission notice
* appe... | pocketbook-free/browser | cairo-1.8.10/test/clip-empty.c | C | lgpl-2.1 | 2,177 |
/*
* wave.c -- wave filter
* Copyright (C) ?-2007 Leny Grisel <leny.grisel@laposte.net>
* Copyright (C) 2007 Jean-Baptiste Mardelle <jb@ader.ch>
*
* 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 Softwa... | mltframework/mlt | src/modules/kdenlive/filter_wave.c | C | lgpl-2.1 | 5,070 |
/*
* linux/drivers/media/platform/s5p-mfc/s5p_mfc_ctrl.c
*
* Copyright (c) 2010 Samsung Electronics Co., Ltd.
* http://www.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 Free Software Foundation;... | brammittendorff/PF_RING | linux-3.16.7-ckt9/drivers/media/platform/s5p-mfc/s5p_mfc_ctrl.c | C | lgpl-2.1 | 12,266 |
/*
Copyright (C) 2009 William Hart
This file is part of FLINT.
FLINT is free software: you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License (LGPL) as published
by the Free Software Foundation; either version 2.1 of the License, or
(at your option) a... | fredrik-johansson/flint2 | fmpz_poly/test/t-get_set_coeff_ui.c | C | lgpl-2.1 | 1,476 |
/*
Copyright (C) 2011-2012 Fredrik Johansson
This file is part of FLINT.
FLINT is free software: you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License (LGPL) as published
by the Free Software Foundation; either version 2.1 of the License, or
(at your... | wbhart/flint2 | fmpz_poly_mat/rref.c | C | lgpl-2.1 | 2,667 |
/*
Copyright (C) 2010 Sebastian Pancratz
This file is part of FLINT.
FLINT is free software: you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License (LGPL) as published
by the Free Software Foundation; either version 2.1 of the License, or
(at your opt... | dsroche/flint2 | fmpz/tdiv_q.c | C | lgpl-2.1 | 1,635 |
/*
* 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.
*/
/**
* @{
*
* @file
* @author Martine Lenders <mlenders@inf.fu-berlin.de>
* @}
*/
#... | A-Paul/RIOT | tests/lwip_sock_udp/stack.c | C | lgpl-2.1 | 13,762 |
/*
* compile with
* gcc helix_pred.c -lm -O9 -Wall -Wextra -ansi -pedantic -o helix.x
*/
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
#define MAXLENGTH 70000
enum {
A, C, D, E, F, G, H, I, K, L, M, N, P, Q, R, S, T, V, W, Y, X, Z, NR
};
enum {
CA, CB, CO, HN, HA, NH, NSHIFT
... | carlocamilloni/d2D | src/helix_pred.c | C | lgpl-2.1 | 9,076 |
/*
* Copyright (c) 2007 Athena Smartcard Solutions 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... | dirkx/OpenSC | src/libopensc/card-asepcos.c | C | lgpl-2.1 | 32,148 |
/* mosaic two images left/right or up/down
*
* 22/5/14
* - from vips_mosaic()
* 4/9/18
* - add docs for transform output
* 18/6/20 kleisauke
* - convert to vips8
*/
/*
This file is part of VIPS.
VIPS is free software; you can redistribute it and/or modify
it under the terms of the GNU Less... | lovell/libvips | libvips/mosaicing/mosaic.c | C | lgpl-2.1 | 9,555 |
/* GStreamer
* Copyright (C) <1999> Erik Walthinsen <omega@cse.ogi.edu>
* Copyright (C) <2009> Sebastian Dröge <sebastian.droege@collabora.co.uk>
*
* EffecTV:
* Copyright (C) 2001-2002 FUKUCHI Kentarou
*
* QuarkTV - motion disolver.
*
* EffecTV is free software. This library is free software;
* you can redis... | Distrotech/gst-plugins-good | gst/effectv/gstquark.c | C | lgpl-2.1 | 8,391 |
/*
Copyright (C) 2011 Sebastian Pancratz
This file is part of FLINT.
FLINT is free software: you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License (LGPL) as published
by the Free Software Foundation; either version 2.1 of the License, or
(at your opt... | jpflori/flint2 | nmod_poly/test/t-resultant_hgcd.c | C | lgpl-2.1 | 3,201 |
#include "clar_libgit2.h"
#include "fileops.h"
#include <ctype.h>
void test_repo_open__cleanup(void)
{
cl_git_sandbox_cleanup();
if (git_path_isdir("alternate"))
git_futils_rmdir_r("alternate", NULL, GIT_RMDIR_REMOVE_FILES);
}
void test_repo_open__bare_empty_repo(void)
{
git_repository *repo = cl_git_sandbox_in... | evhan/libgit2 | tests-clar/repo/open.c | C | lgpl-2.1 | 11,947 |
/*****************************************************************************
* dr_48.c
* Copyright (C) 2001-2011 VideoLAN
* $Id$
*
* Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr>
* Johan Bilien <jobi@via.ecp.fr>
*
* This library is free software; you can redistribute it and/or
* modify i... | vlc-mirror/libdvbpsi | src/descriptors/dr_48.c | C | lgpl-2.1 | 5,571 |
/*
* Copyright © 2008 Adrian Johnson
*
* 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... | zwcloud/ZWCloud.Cairo | source/Native/cairo/test/pdf-mime-data.c | C | lgpl-3.0 | 5,556 |
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* Copyright 2018 (c) Kontron Europe GmbH (Author: Rudolf Hoyler)
*/
#include "ua_plugin_network.h"
#include "u... | JayGro/open62541 | plugins/networking/ua_network_pubsub_ethernet.c | C | lgpl-3.0 | 15,708 |
/*
* Copyright (C) 2008 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | gokutek/ReverseKit | vm/hprof/Hprof.c | C | unlicense | 5,396 |
/*
* Copyright (c) 2017 Linaro Limited
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <stdlib.h>
#include <string.h>
#include <zephyr.h>
#include <misc/printk.h>
#include <shell/shell.h>
#include <flash.h>
#include <device.h>
#include <soc.h>
#define THIS_MODULE_NAME "flash"
/*
* When FLASH_DEV_NAME is av... | mbolivar/zephyr | samples/drivers/flash_shell/src/main.c | C | apache-2.0 | 12,995 |
/*
* %CopyrightBegin%
*
* Copyright Ericsson AB 1999-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
*
... | kvakvs/otp | lib/odbc/c_src/odbcserver.c | C | apache-2.0 | 83,128 |
/* *****************************************************************
*
* Copyright 2016 Samsung Electronics 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
*... | iotivity/iotivity | resource/csdk/security/provisioning/src/cloud/csr.c | C | apache-2.0 | 13,396 |
/* Copyright (c) 2007-2012 IETF Trust, CSIRO, Xiph.Org Foundation. All rights reserved.
Written by Jean-Marc Valin */
/*
This file is extracted from RFC6716. Please see that RFC for additional
information.
Redistribution and use in source and binary forms, with or without
modification, are permitted pr... | sergecodd/FireFox-OS | B2G/gecko/media/libopus/celt/vq.c | C | apache-2.0 | 11,724 |
/*
* 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 ... | andrzej-kaczmarek/incubator-mynewt-core | hw/mcu/stm/stm32f1xx/src/hal_i2c.c | C | apache-2.0 | 4,439 |
/**
* FreeRDP: A Remote Desktop Protocol Implementation
* RDP Codecs
*
* Copyright 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
... | MartinHaimberger/FreeRDP | libfreerdp/core/codecs.c | C | apache-2.0 | 5,819 |
/******************************************************************************
*
* Module Name: pstree - Parser op tree manipulation/traversal/search
*
*****************************************************************************/
/******************************************************************************
*
... | veritas-shine/minix3-rpi | minix/drivers/power/acpi/parser/pstree.c | C | apache-2.0 | 12,764 |
/**
* 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... | placrosse/ImpalaToGo | be/src/util/jni-helper.c | C | apache-2.0 | 19,791 |
/* $Id$
*
* 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 "Lice... | OBIGOGIT/etch | binding-c/runtime/c/src/main/transport/etch_plain_mailbox.c | C | apache-2.0 | 30,150 |
/*****************************************************************************
*
* Copyright (c) 1996-1999 ADVANCED MICRO DEVICES, INC. All Rights reserved.
*
* This software is unpublished and contains the trade secrets and
* confidential proprietary information of AMD. Unless otherwise
* provided in the Softwar... | markbb1957/FFalconSource | src/amd/lib-src/detect.c | C | bsd-2-clause | 1,987 |
/*-
* Copyright (c) 1982, 1992, 1993
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the abov... | dplbsd/zcaplib | head/sys/netipx/ipx_cksum.c | C | bsd-2-clause | 4,708 |
/*
* @TAG(OTHER_BSD)
*/
/**
* \file cpsw.c
*
* \brief CPSW device abstraction layer APIs.
*
* This file contains the device abstraction layer APIs for CPSW RGMII.
*/
/*
* Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/
*/
/*
* Redistribution and use in source and binary forms, w... | seL4/libsel4platsupport | src/plat/am335x/cpsw.c | C | bsd-2-clause | 45,362 |
/**
* \file mcasp.c
*
* \brief This file contains functions which configure McASP pins
*/
/*
* Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/
*/
/*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
... | gerryg400/anvilos | src/bsp/am335x/platform/evmAM335x/mcasp.c | C | bsd-3-clause | 3,973 |
/*
* Copyright (C) 2010-2012 Free Software Foundation, Inc.
*
* Author: Nikos Mavrogiannopoulos
*
* This file is part of GNUTLS.
*
* The GNUTLS 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 Found... | GaloisInc/hacrypto | src/C/gnutls/gnutls-3.2.12/lib/nettle/mpi.c | C | bsd-3-clause | 12,637 |
/*
* Code to handle displaying line numbers.
*
* Finding the line number of a given file position is rather tricky.
* We don't want to just start at the beginning of the file and
* count newlines, because that is slow for large files (and also
* wouldn't work if we couldn't get to the start of the file; e.g.
* i... | dscho/nmh | docs/historical/mh-6.8.5/miscellany/less-177/linenum.c | C | bsd-3-clause | 9,905 |
/*-
* Copyright (C) 2005 David Xu <davidxu@freebsd.org>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, t... | jrobhoward/SCADAbase | lib/libthr/arch/arm/arm/pthread_md.c | C | bsd-3-clause | 1,764 |
// 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/
// --------------------------------------------------... | dumganhar/libwebp | src/mux/muxedit.c | C | bsd-3-clause | 23,157 |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE785_Path_Manipulation_Function_Without_Max_Sized_Buffer__w32_06.c
Label Definition File: CWE785_Path_Manipulation_Function_Without_Max_Sized_Buffer__w32.label.xml
Template File: point-flaw-06.tmpl.c
*/
/*
* @description
* CWE: 785 Path Manipulation Function With... | JianpingZeng/xcc | xcc/test/juliet/testcases/CWE785_Path_Manipulation_Function_Without_Max_Sized_Buffer/CWE785_Path_Manipulation_Function_Without_Max_Sized_Buffer__w32_06.c | C | bsd-3-clause | 4,336 |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE190_Integer_Overflow__int_fgets_add_11.c
Label Definition File: CWE190_Integer_Overflow__int.label.xml
Template File: sources-sinks-11.tmpl.c
*/
/*
* @description
* CWE: 190 Integer Overflow
* BadSource: fgets Read data from the console using fgets()
* GoodS... | JianpingZeng/xcc | xcc/test/juliet/testcases/CWE190_Integer_Overflow/s02/CWE190_Integer_Overflow__int_fgets_add_11.c | C | bsd-3-clause | 5,940 |
/*
* disasm.c
* SDMSymbolTable
*
* Copyright (c) 2013, Sam Marshall
* 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... | samdmarshall/SDMSymbolTable | disasm.c | C | bsd-3-clause | 4,018 |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE134_Uncontrolled_Format_String__wchar_t_console_fprintf_68a.c
Label Definition File: CWE134_Uncontrolled_Format_String.label.xml
Template File: sources-sinks-68a.tmpl.c
*/
/*
* @description
* CWE: 134 Uncontrolled Format String
* BadSource: console Read input ... | JianpingZeng/xcc | xcc/test/juliet/testcases/CWE134_Uncontrolled_Format_String/s04/CWE134_Uncontrolled_Format_String__wchar_t_console_fprintf_68a.c | C | bsd-3-clause | 5,261 |
/*
* Copyright (c) 2016, The OpenThread Authors.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this ... | LeZhang2016/openthread | examples/platforms/da15000/logging.c | C | bsd-3-clause | 2,173 |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE195_Signed_to_Unsigned_Conversion_Error__negative_memmove_41.c
Label Definition File: CWE195_Signed_to_Unsigned_Conversion_Error.label.xml
Template File: sources-sink-41.tmpl.c
*/
/*
* @description
* CWE: 195 Signed to Unsigned Conversion Error
* BadSource: ne... | JianpingZeng/xcc | xcc/test/juliet/testcases/CWE195_Signed_to_Unsigned_Conversion_Error/s02/CWE195_Signed_to_Unsigned_Conversion_Error__negative_memmove_41.c | C | bsd-3-clause | 3,404 |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE563_Unused_Variable__unused_uninit_variable_long_15.c
Label Definition File: CWE563_Unused_Variable__unused_uninit_variable.label.xml
Template File: source-sinks-15.tmpl.c
*/
/*
* @description
* CWE: 563 Unused Variable
* BadSource: Initialize data
* Sinks:... | JianpingZeng/xcc | xcc/test/juliet/testcases/CWE563_Unused_Variable/CWE563_Unused_Variable__unused_uninit_variable_long_15.c | C | bsd-3-clause | 3,154 |
/*
* Copyright (c) 2016 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | endlessm/chromium-browser | third_party/webrtc/system_wrappers/source/cpu_features_linux.c | C | bsd-3-clause | 2,373 |
/************************************************************************
* *
* ROUTINES IN THIS FILE: *
* *
* ... | JianpingZeng/xcc | xcc/test/mediabench4/rasta/src/powspec.c | C | bsd-3-clause | 3,476 |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE127_Buffer_Underread__wchar_t_declare_memmove_53c.c
Label Definition File: CWE127_Buffer_Underread.stack.label.xml
Template File: sources-sink-53c.tmpl.c
*/
/*
* @description
* CWE: 127 Buffer Under-read
* BadSource: Set data pointer to before the allocated m... | JianpingZeng/xcc | xcc/test/juliet/testcases/CWE127_Buffer_Underread/s04/CWE127_Buffer_Underread__wchar_t_declare_memmove_53c.c | C | bsd-3-clause | 1,507 |
/**
* Copyright (C) Mellanox Technologies Ltd. 2001-2015. ALL RIGHTS RESERVED.
*
* $COPYRIGHT$
* $HEADER$
*/
#include "ucp_int.h"
static void ucp_worker_close_ifaces(ucp_worker_h worker)
{
ucp_rsc_index_t rsc_index;
for (rsc_index = 0; rsc_index < worker->context->num_tls; ++rsc_index) {
if (worker... | miked-mellanox/ucx | src/ucp/proto/worker.c | C | bsd-3-clause | 9,396 |
/*
* Zorro Device Name Tables
*
* Copyright (C) 1999--2000 Geert Uytterhoeven
*
* Based on the PCI version:
*
* Copyright 1992--1999 Drew Eckhardt, Frederic Potter,
* David Mosberger-Tang, Martin Mares
*/
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/zorro.h>
str... | AiJiaZone/linux-4.0 | virt/drivers/zorro/names.c | C | gpl-2.0 | 2,350 |
/*
HELPER.C
========
(c) Paul Griffiths, 1999
Email: mail@paulgriffiths.net
Implementation of sockets helper functions.
Many of these functions are adapted from, inspired by, or
otherwise shamelessly plagiarised from "Unix Network
Programming", W Richard Stevens (Prentice Hall).
*/
... | nevik-xx/psl1ght | samples/network/echoserv/source/helper.c | C | mit | 1,350 |
/**********************************************************************
variable.c -
$Author$
created at: Tue Apr 19 23:55:15 JST 1994
Copyright (C) 1993-2007 Yukihiro Matsumoto
Copyright (C) 2000 Network Applied Communication Laboratory, Inc.
Copyright (C) 2000 Information-technology Promotion Agency,... | tauplatform/tau | platform/shared/ruby/variable.c | C | mit | 69,838 |
/* Copyright (c) 2013-2014 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "str.h"
#include "strfuncs.h"
#include "net.h"
#include "uri-util.h"
#include "http-url.h"
#include "http-request.h"
/*
* HTTP URL parser
*/
struct http_url_parser {
struct uri_parser parser;
enum http_url_pa... | rplessl/dovecot-pop-uidl-proxy | src/lib-http/http-url.c | C | mit | 14,995 |
#include "ruby_vips.h"
static ID id_perceptual, id_relative_colorimetric, id_saturation,
id_absolute_colorimetric;
/*
* call-seq:
* im.lab_to_lch -> image
*
* Turn Lab to LCh.
*/
VALUE
img_lab_to_lch(VALUE obj)
{
RUBY_VIPS_UNARY(im_Lab2LCh);
}
/*
* call-seq:
* im.lch_to_lab -> image
*
* Turn ... | cloudinary/ruby-vips | ext/image_colour.c | C | mit | 10,417 |
#include "mycrypt.h"
#include <signal.h>
#define TAB_SIZE 32
struct _cipher_descriptor cipher_descriptor[TAB_SIZE] = {
{ NULL, 0, 0, 0, 0, 0, NULL, NULL, NULL, NULL, NULL },
{ NULL, 0, 0, 0, 0, 0, NULL, NULL, NULL, NULL, NULL },
{ NULL, 0, 0, 0, 0, 0, NULL, NULL, NULL, NULL, NULL },
{ NULL, 0, 0, 0, 0, 0, NULL, NU... | kocubinski/opentnl | libtomcrypt/crypt.c | C | gpl-2.0 | 12,681 |
/* Missing data interpolation with nonstationary filters */
/*
Copyright (C) 2010 University of Texas at Austin
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... | TobbeTripitaka/src | user/yliu/nmis.c | C | gpl-2.0 | 1,569 |
/*
* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
* above copyright not... | AngSanley/AngsaKernel_armani | drivers/staging/prima/CORE/MAC/src/pe/lim/limApi.c | C | gpl-2.0 | 70,871 |
/*
* Copyright (c) 2003-2006, Cluster File Systems, Inc, info@clusterfs.com
* Written by Alex Tomas <alex@clusterfs.com>
*
* Architecture independence:
* Copyright (c) 2005, Bull S.A.
* Written by Pierre Peiffer <pierre.peiffer@bull.net>
*
* This program is free software; you can redistribute it and/or modi... | vaginessa/Googy-Max3-Kernel | fs/ext4/extents.c | C | gpl-2.0 | 137,151 |
/*
* Linux Wireless Extensions support
*
* Copyright (C) 1999-2010, 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 Public License version 2 (the "G... | Krylon360/kernel_t759 | drivers/net/wireless/bcm4329/src/wl/sys/wl_iw.c | C | gpl-2.0 | 216,119 |
/*
* (C) Copyright 2003 Motorola Inc.
* Modified by Xianghua Xiao, X.Xiao@motorola.com
*
* (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
* ... | niamster/uboot-marvell-openrd-ultimate | cpu/mpc85xx/cpu_init.c | C | gpl-2.0 | 5,563 |
/* Copyright (C) 1997-2017 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 ... | NicoleRobin/glibc | sysdeps/unix/sysv/linux/setgroups.c | C | gpl-2.0 | 1,235 |
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* 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 la... | openshine/ModemManager | libmm-glib/mm-sms-properties.c | C | gpl-2.0 | 21,343 |
/*
* "SYSRQ" target extension for Xtables
* Copyright © Jan Engelhardt, 2008 - 2012
*
* Based upon the ipt_SYSRQ idea by Marek Zalem <marek [at] terminus sk>
*
* Security additions John Haxby <john.haxby [at] oracle com>
*
* This program is free software; you can redistribute it and/or
* modify it under the te... | mickvav/xtables-addons | extensions/xt_SYSRQ.c | C | gpl-2.0 | 10,046 |
/*
* This file is part of MPlayer.
*
* MPlayer 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.
*
* MPlayer is distributed in th... | ajeet17181/mplayer-android | command.c | C | gpl-2.0 | 120,505 |
/*
* Virtualized GPU Graphics
*
* Copyright (c) 2014-2015, NVIDIA 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 by the Free Software Foundation.
*
* Thi... | Jetson-TX1-AndroidTV/android_kernel_jetson_tx1_hdmi_primary | drivers/gpu/nvgpu/vgpu/gr_vgpu.c | C | gpl-2.0 | 23,268 |
#include <runtime/lib.h>
#include <kernel/uos.h>
#include <kernel/internal.h>
#include <pci/pci.h>
static unsigned long pcibios_find_entry (void)
{
/* This is the standard structure used to identify the entry point
* to the BIOS32 Service Directory. */
typedef union {
struct {
unsigned long signature; /* _32_... | tmg82/uos-embedded | sources/pci/pcibios.c | C | gpl-2.0 | 7,615 |
/*
* This file is part of the coreboot project.
*
* Copyright (C) 2008 Advanced Micro Devices, Inc.
* Copyright (C) 2008-2010 coresystems GmbH
*
* 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... | tidatida/coreboot | src/southbridge/nvidia/mcp55/azalia.c | C | gpl-2.0 | 7,023 |
/**
* @file 000.main.c
* @author The ArchC Team
* http://www.archc.org/
*
* Computer Systems Laboratory (LSC)
* IC-UNICAMP
* http://www.lsc.ic.unicamp.br
*
* @version 1.0
* @date Mon, 19 Jun 2006 15:33:21 -0300
* @brief It is a simple main functi... | wallento/ArchC | acstone/000.main.c | C | gpl-2.0 | 1,411 |
/* Copyright (c) 2013-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... | android-legacy/kernel | arch/arm/mach-msm/clock-rpm-8974.c | C | gpl-2.0 | 15,027 |
/* Copyright (c) 2012-2013, The Linux Foundation. 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 ... | simar7/singhdroid | camera/QCamera2/stack/mm-camera-test/src/mm_qcamera_app.c | C | gpl-2.0 | 27,512 |
/* GStreamer
* Copyright (C) <1999> Erik Walthinsen <omega@cse.ogi.edu>
* Copyright (C) <2004> Thomas Vander Stichele <thomas at apestaart dot org>
* Copyright (C) <2011> Collabora Ltd.
* Author: Sebastian Dröge <sebastian.droege@collabora.co.uk>
*
* This library is free software; you can redistribute it and/... | alessandrod/gst-plugins-base | gst/tcp/gsttcpclientsrc.c | C | gpl-2.0 | 14,906 |
/**
* host.c - DesignWare USB3 DRD Controller Host Glue
*
* Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com
*
* Authors: Felipe Balbi <balbi@ti.com>,
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
... | itgb/opCloudRouter | qca/src/linux/drivers/usb/dwc3/host.c | C | gpl-2.0 | 3,229 |
/*
* vgameobjs
*
* contains all of the vortex game objects and rendering
*
* 2005-12 Scott Lawrence
*
* 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 Lice... | ysei/podzilla2 | modules/vortex/vgamobjs.c | C | gpl-2.0 | 15,626 |
/*
* DA7213 ALSA SoC Codec Driver
*
* Copyright (c) 2013 Dialog Semiconductor
*
* Author: Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
* Based on DA9055 ALSA SoC codec driver.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public Licen... | dct2012/chromeos-3.14 | sound/soc/codecs/da7213.c | C | gpl-2.0 | 53,419 |
/*
* Copyright (C) 2003 Colin Walters <walters@verbum.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.... | dardevelin/rhythmbox-gnome-fork | tests/test-rhythmdb-tree-serialization.c | C | gpl-2.0 | 4,024 |
/*
* uvc_video.c -- USB Video Class driver - Video handling
*
* Copyright (C) 2011 Freescale Semiconductor, Inc.
* Copyright (C) 2005-2009
* Laurent Pinchart (laurent.pinchart@skynet.be)
*
* This program is free software; you can redistribute it and/or modify
* it under the t... | WXrock/imx53_kernel | drivers/media/video/uvc/uvc_video.c | C | gpl-2.0 | 35,176 |
/*
* Copyright (c) 2014 Intel Corporation, Inc. All rights reserved.
*
* This software is available to you under a choice of one of two
* licenses. You may choose to be licensed under the terms of the GNU
* General Public License (GPL) Version 2, available from the file
* COPYING in the main directory of this s... | soniczhao/libfabric | prov/sockets/src/sock_poll.c | C | gpl-2.0 | 5,612 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.