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 |
|---|---|---|---|---|---|
/*!The Treasure Box Library
*
* 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 ... | tboox/xmake | core/src/tbox/src/tbox/container/element/obj.c | C | apache-2.0 | 3,622 |
/*
============================================================================
Name : settings.c
Author : B. Eschrich
Version : 1.00
Copyright : Copyright (c) 2016-2017 by B. Eschrich (EoF)
Description : Global settings and command line options
=================================================... | britus/carprotect | src/settings.c | C | apache-2.0 | 3,476 |
/**
* @license Apache-2.0
*
* Copyright (c) 2020 The Stdlib Authors.
*
* 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 a... | stdlib-js/stdlib | lib/node_modules/@stdlib/stats/base/dsnanmeanwd/benchmark/c/benchmark.length.c | C | apache-2.0 | 3,278 |
/**********************************************************************
* $Id: avc_bin.c,v 1.30 2008/07/23 20:51:38 dmorissette Exp $
*
* Name: avc_bin.c
* Project: Arc/Info vector coverage (AVC) BIN->E00 conversion library
* Language: ANSI C
* Purpose: Binary files access functions.
* Author: Daniel Mo... | blairdgeo/node-gdal | deps/libgdal/gdal/ogr/ogrsf_frmts/avc/avc_bin.c | C | apache-2.0 | 96,531 |
/*
* Topaz - SWG Binary Syntax
*
* Implementation of the TCG Storage Working Group (SWG) binary syntax, as
* outlined in the SWG Core Specification, and as used within the TCG Opal,
* Enterprise, and other SED interface standards.
*
* Copyright (c) 2016, T Parys
* All rights reserved.
*
* Redistribution and ... | tparys/topaz | src/topaz/syntax.c | C | bsd-2-clause | 24,306 |
/*******************************************************/
/* "C" Language Integrated Production System */
/* */
/* CLIPS Version 6.24 06/02/06 */
/* */
/* ... | DrItanium/electron | dffnxfun.c | C | bsd-2-clause | 34,758 |
/**
* @file /Tzar/src/libc/stdio/setbuf.c
* @author zanethorn
* @version 1.0
* @date Feb 22, 2018
*
* @section LICENSE
*
* BSD 2-clause License
*
* Copyright (c) 2018 Zane Thorn
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following ... | zanethorn/Tzar | src/libc/stdio/setbuf.c | C | bsd-2-clause | 1,553 |
#include "evas_common.h"
#include "evas_blend_private.h"
void scale_rgba_in_to_out_clip_sample_internal(RGBA_Image *src, RGBA_Image *dst, RGBA_Draw_Context *dc, int src_region_x, int src_region_y, int src_region_w, int src_region_h, int dst_region_x, int dst_region_y, int dst_region_w, int dst_region_h);
#ifndef BUIL... | nashidau/Evas-Next | src/lib/engines/common/evas_scale_sample.c | C | bsd-2-clause | 10,628 |
/* $Id$ */
/*
* Copyright (c) 2004-2011 Axel Andersson
* 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
* no... | nark/wirebot | wirebot/main.c | C | bsd-2-clause | 13,291 |
// Name: cat2.c
// Author: Matayoshi
// Version: 2.1.0
// Last Update: 2011/03/09 Wed
/*
History-----------------------
[+] add; [-] remove; [x] bug fix; [=] optimize;
--Ver.2.1.0(2011/03/09 Wed)
a æØè¶Ìwè@\ðÇÁ
--Ver.2.0.2(2010/06/18 Fri)
x wvbZ[WðC³
= ÇÝÝ@\ðüÇ
--... | matayoshi/tools | cat2.c | C | bsd-2-clause | 7,082 |
/*
* Copyright (c) 2016, Linaro Limited
* Copyright (c) 2014, STMicroelectronics International N.V.
* 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 mu... | matt2048/optee_os | core/arch/arm/kernel/thread.c | C | bsd-2-clause | 33,377 |
/*-
* Copyright (c) 1997-2002 The Protein Laboratory, University of Copenhagen
* 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 co... | run4flat/Primo | img/ic_conv.c | C | bsd-2-clause | 20,933 |
/*
* Copyright 2019 Shannon F. Stewman
*
* See LICENCE for the full copyright terms.
*/
#include <assert.h>
#include <string.h>
#include <stdlib.h>
#include <stdint.h>
#include <fsm/fsm.h>
#include <adt/alloc.h>
#include <adt/stateset.h>
#include <adt/hashset.h>
/*
* TODO: now fsm_state_t is a numeric index, t... | katef/libfsm | src/adt/stateset.c | C | bsd-2-clause | 11,309 |
/*
Copyright (c) 2015-2016 Kamil Rytarowski
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 list of conditions an... | krytarowski/bociek | src/window-gtk.c | C | bsd-2-clause | 3,066 |
/*
* Copyright (C) 1984-2012 Mark Nudelman
* Modified for POSIX compliance by Garrett D'Amore.
* Copyright 2017 Garrett D'Amore <garrett@damore.org>
*
* You may distribute under the terms of either the GNU General Public
* License or the Less License, as specified in the README file.
*
* For more information, ... | gdamore/less-fork | optfunc.c | C | bsd-2-clause | 10,329 |
/*
Copyright (c) 2015, David P. Discher
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 conditions and the followin... | daviddpd/dpdChatFabric | src/bin/dpdChatFabric-client.c | C | bsd-2-clause | 7,599 |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE134_Uncontrolled_Format_String__wchar_t_file_snprintf_22b.c
Label Definition File: CWE134_Uncontrolled_Format_String.label.xml
Template File: sources-sinks-22b.tmpl.c
*/
/*
* @description
* CWE: 134 Uncontrolled Format String
* BadSource: file Read input from ... | JianpingZeng/xcc | xcc/test/juliet/testcases/CWE134_Uncontrolled_Format_String/s05/CWE134_Uncontrolled_Format_String__wchar_t_file_snprintf_22b.c | C | bsd-3-clause | 3,574 |
/* $OpenBSD: evp_lib.c,v 1.15 2017/01/29 17:49:23 beck Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@cryptsoft.com).
* The implementation was written so as to conform with Netscapes SSL.
*
* This li... | GaloisInc/hacrypto | src/C/libressl/libressl-2.7.2/crypto/evp/evp_lib.c | C | bsd-3-clause | 7,952 |
/*------------------------------------------------------------------------------
*
* Copyright (c) 2011, EURid. All rights reserved.
* The YADIFA TM software product is provided under the BSD 3-clause license:
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provide... | lye/yadifa | lib/dnscore/src/bytearray_output_stream.c | C | bsd-3-clause | 6,071 |
/* $NetBSD: ncr53cxxx.c,v 1.2 2000/04/25 16:01:16 bouyer Exp $ */
/*
* Copyright (c) 1995,1999 Michael L. Hitch
* 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 so... | MarginC/kame | netbsd/sys/dev/microcode/siop/ncr53cxxx.c | C | bsd-3-clause | 30,799 |
/*
* Copyright (c) 2015, Stefan Lankes, RWTH Aachen University
* 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
* n... | stlankes/HermitCore | tools/proxy.c | C | bsd-3-clause | 19,579 |
/*
* RFC 1321 compliant MD5 implementation
*
* Copyright (C) 2001-2003 Christophe Devine
*
* 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
* (a... | olebole/astrometry.net | util/md5.c | C | bsd-3-clause | 7,467 |
/* $OpenBSD: x_sig.c,v 1.7 2014/06/12 15:49:27 deraadt Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@cryptsoft.com).
* The implementation was written so as to conform with Netscapes SSL.
*
* This li... | GaloisInc/hacrypto | src/C/libssl/HEAD/src/crypto/asn1/x_sig.c | C | bsd-3-clause | 3,510 |
/* BFD support for the FRV processor.
Copyright 2002, 2003, 2004 Free Software Foundation, Inc.
This file is part of BFD, the Binary File Descriptor library.
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 F... | shaotuanchen/sunflower_exp | tools/source/binutils-2.16.1/bfd/cpu-frv.c | C | bsd-3-clause | 2,434 |
// $Id$
/*
Classic skip list library
> Created (Julienne Walker): April 11, 2004
> Updated (Julienne Walker): August 19, 2005
based on code released to the publicdata domain by Julienne Walker
*/
#include "jsw_rand.h"
#include "jsw_slib.h"
#ifdef WITH_SHARED_TABLES
#include "shared.h"
#endif
#ifdef __... | flightaware/speedtables | ctables/skiplists/jsw_slib.c | C | bsd-3-clause | 14,312 |
/* SPDX-License-Identifier: BSD-3-Clause */
#include <errno.h>
#include <inttypes.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "files.h"
#include "log.h"
#include "tpm2.h"
#include "tpm2_tool.h"
typedef struct tpm_activatecred_ctx tpm_activatecred_ctx;
#define MAX_AUX_S... | 01org/tpm2.0-tools | tools/tpm2_activatecredential.c | C | bsd-3-clause | 10,304 |
/*
* Copyright (c) 2014 The WebM 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 contributin... | zofuthan/libvpx | vp10/encoder/aq_complexity.c | C | bsd-3-clause | 6,068 |
/*
* Copyright (c) 2017, 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 ... | JakubBrachTieto/openthread | examples/platforms/cc2652/platform.c | C | bsd-3-clause | 2,712 |
/*
* logsumexp2_emxutil.c
*
* Code generation for function 'logsumexp2_emxutil'
*
* C source code generated on: Tue Jan 14 10:28:31 2014
*
*/
/* Include files */
#include "rt_nonfinite.h"
#include "logsumexp2.h"
#include "logsumexp2_emxutil.h"
/* Function Definitions */
void emxEnsureCapacity(const emlrtStack ... | cwcyau/oncosnpseq | test/codegen/mex/logsumexp2/logsumexp2_emxutil.c | C | bsd-3-clause | 5,240 |
/*-
* Copyright (c) 2005-2006 The FreeBSD Project
* All rights reserved.
*
* Author: Victor Cruceru <soc-victor@freebsd.org>
*
* Redistribution of this software and documentation and use in source and
* binary forms, with or without modification, are permitted provided that
* the following conditions are met:
... | jhbsz/OSI-OS | usr.sbin/bsnmpd/modules/snmp_hostres/hostres_snmp.c | C | bsd-3-clause | 5,523 |
/**********************************************************************
* denki_blocks *
**********************************************************************
* *
*gui.c: ... | vsiles/LoutreBlocks | src/gfx.c | C | bsd-3-clause | 8,255 |
/* $OpenBSD: phantomas.c,v 1.1 2002/12/18 23:52:45 mickey Exp $ */
/*
* Copyright (c) 2002 Michael Shalayeff
* 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 sourc... | MarginC/kame | openbsd/sys/arch/hppa/dev/phantomas.c | C | bsd-3-clause | 2,761 |
/**
******************************************************************************
* @file tsl_linrot.c
* @author MCD Application Team
* @version V2.2.0
* @date 01-february-2016
* @brief This file contains all functions to manage Linear and Rotary sensors.
*********************************... | lpodkalicki/blog | stm32/STM32Cube_FW_F0_V1.9.0/Middlewares/ST/STM32_TouchSensing_Library/src/tsl_linrot.c | C | bsd-3-clause | 61,160 |
/*
Copyright (c) 2011-2013, ESN Social Software AB and Jonas Tarnstrom
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 o... | TomAugspurger/pandas | pandas/_libs/src/ujson/lib/ultrajsondec.c | C | bsd-3-clause | 31,018 |
/*
* npy_ctors.c -
*
* */
#include <stdlib.h>
#include <ctype.h>
#include <memory.h>
#include "npy_config.h"
#include "npy_utils.h"
#include "npy_api.h"
#include "npy_arrayobject.h"
#include "npy_internal.h"
/* TODO: Remove these declarations once PyArray_INCREF, etc refactored. */
extern int PyArray_INCREF(void... | teoliphant/numpy-refactor | libndarray/src/npy_ctors.c | C | bsd-3-clause | 53,012 |
/*
* Copyright (c) 2015 Cisco and/or its affiliates.
* 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 applicabl... | wfnex/openbras | src/VPP/src/vppinfra/bihash_template.c | C | bsd-3-clause | 15,727 |
/* $OpenBSD: fpu_subr.c,v 1.1 2001/09/08 22:33:51 jason Exp $ */
/* $NetBSD: fpu_subr.c,v 1.3 1996/03/14 19:42:01 christos Exp $ */
/*
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
*
* This software was developed by the Computer Systems Engineering group
* at Lawr... | MarginC/kame | openbsd/sys/arch/sparc64/fpu/fpu_subr.c | C | bsd-3-clause | 6,469 |
/*
Generates contents of opcode switch from ip_spec.t
Call is:
mkswitch prefix ip_spec.t cases [ functions ]
Note:
The u flag has been implemented by just copying and adjusting the
code for 2, which is almost identical to that for 4. When this has
stabilized, combine.
*/
/* $Id$ */
#include <stdio.h>
exter... | Godzil/ack | util/int/switch/mkswitch.c | C | bsd-3-clause | 6,064 |
// Simple program to send and record ping packets from neighbors over time.
// No complicated MAC or timing is used. Rahter, this is meant to discover
// asymmetric paths present in the environment.
//
// Temporary results are stored into flash. Writting to flash is known to be
// expensive, but with fresh batteries ... | turon/mantis | src/test/asymmetry/2420_asym_test.c | C | bsd-3-clause | 3,537 |
#include "globalincludefile.h"
#include "modbus_code_function.h"
#include "modbus_slave_registers.h"
#include "modbus_slave_function.h"
//------------------------------------------------------
// Чтение значений из нескольких регистров хранения
//------------------------------------------------------
uint8_t ModBus_... | Kefir0192/MModBus | sources/modbus/src/modbus_slave_function.c | C | bsd-3-clause | 11,610 |
/* ========================================================================= */
/* ------------------------------------------------------------------------- */
/*!
\file template.c
\date March 2014
\author Nicu Tofan
\brief implementation of a template
*/
/* --------------------------------------... | TNick/xpotepu | logic/template.c | C | bsd-3-clause | 3,220 |
#ifndef TH_GENERIC_FILE
#define TH_GENERIC_FILE "generic/THLapack.c"
#else
void THLapack_(gesv)(int n, int nrhs, real *a, int lda, int *ipiv, real *b, int ldb, int* info)
{
#ifdef __LAPACK__
#if defined(TH_REAL_IS_DOUBLE)
extern void dgesv_(int *n, int *nrhs, double *a, int *lda, int *ipiv, double *b, int *ldb, int ... | soumith/TH | libraries/TH/generic/THLapack.c | C | bsd-3-clause | 2,805 |
/* ECE-C433 Project 2
* Part 1b
* Author: Sean Barag
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <netinet/in.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <pcap/pcap.h>
void main()
{
/* check for root uid :) */
if( getuid() != 0 )
{
fprintf(stderr, "... | sjbarag/ECE-C433 | proj2/p1b.c | C | bsd-3-clause | 2,204 |
/**
* @file test_process.c
* @author Michal Vasko <mvasko@cesnet.cz>
* @brief test for concurrent execution of several sysrepo processes
*
* @copyright
* Copyright (c) 2018 - 2021 Deutsche Telekom AG.
* Copyright (c) 2018 - 2021 CESNET, z.s.p.o.
*
* This source code is licensed under BSD 3-Clause License (the ... | sysrepo/sysrepo | tests/test_process.c | C | bsd-3-clause | 18,503 |
/*****************************************************************************
Copyright (c) 2011, 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... | jmfranck/pyspecdata | lapack-3.4.0/lapacke/src/lapacke_dbbcsd_work.c | C | bsd-3-clause | 8,662 |
/******************************************************************************
*
* PROJECT: Carnegie Mellon Planetary Rover Project
* Task Control Architecture
*
* (c) Copyright 1991 Christopher Fedor and Reid Simmons. All rights reserved.
*
* MODULE: resources
*
* FILE: res.c
*
* ABSTRACT:
* ... | languitar/ipc | src/res.c | C | bsd-3-clause | 59,742 |
#include <pthread.h>
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <unistd.h>
#include <assert.h>
#define THREAD_SIZE 8
void *job1(void *arg)
{
pthread_t pid = pthread_self();
sleep(1);
printf("job1: print %p\n", arg);
printf("job1: pthread_self: %lu\n", pid);
sleep(1);
r... | zhaochenyou/Tips | cpp/stl/c/pthread/thread.c | C | bsd-3-clause | 1,701 |
/*-
* Copyright (c) 2011-2012 Michihiro NAKAJIMA
* 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 lis... | TigerBSD/TigerBSD | FreeBSD/contrib/libarchive/libarchive/archive_write_set_format_7zip.c | C | isc | 56,623 |
/*-
* Copyright (c) 2002 by Thomas Moestl <tmm@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
* noti... | TigerBSD/TigerBSD | FreeBSD/usr.sbin/ofwdump/ofwdump.c | C | isc | 6,219 |
/*
* svnlook.c: Subversion server inspection tool main file.
*
* ====================================================================
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional inf... | eriknstr/ThinkPad-FreeBSD-setup | FreeBSD/contrib/subversion/subversion/svnlook/svnlook.c | C | isc | 92,775 |
/*
** Copyright (c) 2007 D. Richard Hipp
**
** This program is free software; you can redistribute it and/or
** modify it under the terms of the Simplified BSD License (also
** known as the "2-Clause License" or "FreeBSD License".)
** This program is distributed in the hope that it will be useful,
** but without any w... | BBBSnowball/ori | libdiffmerge/merge3.c | C | isc | 14,905 |
#include "f2c.h"
#include "blaswrap.h"
/* Subroutine */ int dgtts2_(integer *itrans, integer *n, integer *nrhs,
doublereal *dl, doublereal *d__, doublereal *du, doublereal *du2,
integer *ipiv, doublereal *b, integer *ldb)
{
/* System generated locals */
integer b_dim1, b_offset, i__1, i__2;
/* Local v... | dacap/loseface | third_party/clapack/SRC/dgtts2.c | C | mit | 6,452 |
/* Copyright Joyent, Inc. and other Node contributors. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
* deal in the Software without restriction, including without limitation the
* righ... | x684867/nemesis | src/node/deps/uv/src/win/fs-event.c | C | mit | 15,654 |
/*
* Copyright (c) 2012, 2013, Joel Bodenmann aka Tectu <joel@unormal.org>
* Copyright (c) 2012, 2013, Andrew Hannam aka inmarket
*
* All rights reserved.
*
* uRedistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * ... | BeyondCloud/uRock | Middlewares/ugfx/demos/modules/gdisp/multiple_displays/main.c | C | mit | 4,366 |
/* crypto/rc2/rc2cfb64.c */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@cryptsoft.com).
* The implementation was written so as to conform with Netscapes SSL.
*
* This library is free for commercial and non... | NickAger/elm-slider | ServerSlider/HTTPServer/Packages/COpenSSL-0.14.0/Sources/rc2cfb64.c | C | mit | 5,034 |
/* ______ ___ ___
* /\ _ \ /\_ \ /\_ \
* \ \ \L\ \\//\ \ \//\ \ __ __ _ __ ___
* \ \ __ \ \ \ \ \ \ \ /'__`\ /'_ `\/\`'__\/ __`\
* \ \ \/\ \ \_\ \_ \_\ \_/\ __//\ \L\ \ \ \//\ \L\ \
* \ \_\ \_\/\____\/\____\ \____\ \____ \ \_\\ \____/
* ... | tsteinholz/CPP-SRHS | Libraries/allegro5-5.1/src/linux/lhaptic.c | C | mit | 20,739 |
/*******************************************************************************
* File Name: USBFS_1_vnd.c
* Version 2.70
*
* Description:
* USB vendor request handler.
*
* Note:
*
********************************************************************************
* Copyright 2008-2013, Cypress Semiconductor Corporation... | btodoroff/simaces | Joystick.cydsn/Generated_Source/PSoC5/USBFS_1_vnd.c | C | mit | 2,933 |
/****************************************************************************
*
* Copyright (C) 2012 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. Redistri... | darknight-007/Firmware | src/drivers/boards/px4fmu-v4/px4fmu_usb.c | C | mit | 4,078 |
/* OpenCL runtime library: clCreateProgramWithBinary()
Copyright (c) 2012 Pekka Jääskeläinen / Tampere University of Technology
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 with... | sting47/pocl | lib/CL/clCreateProgramWithBinary.c | C | mit | 5,229 |
/*==========================================================================*/
/*cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc*/
/*==========================================================================*/
/* */
/* ... | yuhangwang/PINY | src/interface/intra_params/set_params/set_res_bond_params.c | C | epl-1.0 | 7,404 |
/*
Copyright (C) 2003-2004 Douglas Thain and the University of Wisconsin
Copyright (C) 2005- The University of Notre Dame
This software is distributed under the GNU General Public License.
See the file COPYING for details.
*/
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <err... | matz-e/cctools | wavefront/src/wavefront_master.c | C | gpl-2.0 | 8,938 |
#include <linux/init.h>
#include <linux/mm.h>
#include <linux/spinlock.h>
#include <linux/smp.h>
#include <linux/interrupt.h>
#include <linux/module.h>
#include <linux/cpu.h>
#include <asm/tlbflush.h>
#include <asm/mmu_context.h>
#include <asm/cache.h>
#include <asm/apic.h>
#include <asm/uv/uv.h>
DEFINE_PER_CPU_SHAR... | dh-electronics/linux-imx25 | arch/x86/mm/tlb.c | C | gpl-2.0 | 9,457 |
/* Copyright (C) 2010-2019 The RetroArch team
*
* ---------------------------------------------------------------------------------------
* The following license statement only applies to this file (vfs_implementation_cdrom.c).
* ---------------------------------------------------------------------------------------
*... | libretro/reicast-emulator | core/libretro-common/vfs/vfs_implementation_cdrom.c | C | gpl-2.0 | 13,760 |
/*
* processor.c
*
* Syslink driver support functions for TI OMAP processors.
*
* Copyright (C) 2009-2010 Texas Instruments, Inc.
*
* This package 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 Foundat... | r3d4/samsung_kernel_nowplus | drivers/dsp/syslink/procmgr/processor.c | C | gpl-2.0 | 11,748 |
/*
* This file is part of the UCB release of Plan 9. It is subject to the license
* terms in the LICENSE file found in the top-level directory of this
* distribution and at http://akaros.cs.berkeley.edu/files/Plan9License. No
* part of the UCB release of Plan 9, including this file, may be copied,
* modified, pro... | brho/plan9 | sys/src/cmd/auth/factotum/p9sk1.c | C | gpl-2.0 | 10,247 |
/*
* Copyright (c) 2013 - 2015, Freescale Semiconductor, 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:
*
* o Redistributions of source code must retain the above copyright not... | wrh2/ECE411 | Vendor Firmware/platform/system/src/clock/MK22F51212/fsl_clock_MK22F51212.c | C | gpl-2.0 | 31,469 |
/*
* ircd-ratbox: A slightly useful ircd.
* m_trace.c: Traces a path to a client/server.
*
* Copyright (C) 1990 Jarkko Oikarinen and University of Oulu, Co Center
* Copyright (C) 1996-2002 Hybrid Development Team
* Copyright (C) 2002-2005 ircd-ratbox development team
*
* This program is free software; you... | Elemental-IRCd/elemental-ircd | modules/m_trace.c | C | gpl-2.0 | 12,104 |
/*
* Copyright (C) 2007 Oracle. 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 v2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHO... | mdbooth/partclone | src/btrfs/extent-tree.c | C | gpl-2.0 | 87,811 |
#include <net-snmp/net-snmp-config.h>
#if HAVE_STRING_H
#include <string.h>
#else
#include <strings.h>
#endif
#include <net-snmp/net-snmp-includes.h>
#include <net-snmp/agent/net-snmp-agent-includes.h>
#include <net-snmp/agent/cache_handler.h>
static netsnmp_cache *cache_head = NULL;
static int cache_o... | ingran/balzac | package/teltonika-snmpd/src/agent/helpers/cache_handler.c | C | gpl-2.0 | 20,109 |
/*
* Copyright (C) 2013 Samsung Electronics. 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 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be u... | caplio/android_kernel_samsung_hltedcm | drivers/sensors/cm3323.c | C | gpl-2.0 | 14,488 |
/*
* varcpuload: Simple tool to create reproducable artifical sustained load on
* a machine.
*
* Copyright (C) 2008-2012 Red Hat, Inc.
* Authors: Phil Knirsch
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as publish... | fcelda/tuned | experiments/varcpuload.c | C | gpl-2.0 | 5,100 |
/* LibTomMath, multiple-precision integer library -- Tom St Denis
*
* LibTomMath is a library that provides multiple-precision
* integer arithmetic as well as number theoretic functionality.
*
* The library was designed directly after the MPI library by
* Michael Fromberger but has been written from scratch with
... | kidmaple/CoolWall | user/dropbear/libtommath/bn_mp_sqrt.c | C | gpl-2.0 | 1,695 |
// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Copyright (c) Linux Test Project, 2003-2021
* Copyright (c) 2014 Cyril Hrubis <chrubis@suse.cz>
* Copyright (c) International Business Machines Corp., 2001
* 07/2001 Ported by Wayne Boyer
*/
/*\
* [Description]
*
* Verify that fchown(2) invoked by super-user:
... | linux-test-project/ltp | testcases/kernel/syscalls/fchown/fchown02.c | C | gpl-2.0 | 2,249 |
/*
This file is part of Warzone 2100.
Copyright (C) 1999-2004 Eidos Interactive
Copyright (C) 2005-2009 Warzone Resurrection Project
Warzone 2100 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... | venkatarajasekhar/wzgraphicsmods | src/scriptextern.c | C | gpl-2.0 | 5,081 |
/*
* Copyright (C) 2010 Google, Inc.
* Author: Dima Zavin <dima@android.com>
*
* Copyright (C) 2010-2012 NVIDIA Corporation
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and modified un... | ac100-ru/picasso-kernel | drivers/staging/tegra/media/avp/avp.c | C | gpl-2.0 | 50,363 |
/***************************************************************************** \
* task_cgroup_cpuset.c - cpuset cgroup subsystem for task/cgroup
*****************************************************************************
* Copyright (C) 2009 CEA/DAM/DIF
* Written by Matthieu Hautreux <matthieu.hautreux@cea.fr... | chaos/slurm | src/plugins/task/cgroup/task_cgroup_cpuset.c | C | gpl-2.0 | 20,996 |
#include <sys/types.h>
#include <unistd.h>
#include <dirent.h>
#include <errno.h>
#include <stdio.h>
#include <string.h>
#include <popt.h>
#include <stdlib.h>
#include <libsmbclient.h>
#include "get_auth_data_fn.h"
static void
no_auth_data_fn(const char * pServer,
const char * pShare,
c... | bowlofstew/enterprise-search | src/scanSMB/testbrowse.c | C | gpl-2.0 | 6,656 |
/* SPDX-License-Identifier: BSD-3-Clause
* Copyright(c) 2014-2018 Broadcom
* All rights reserved.
*/
#include <inttypes.h>
#include <rte_cycles.h>
#include <rte_malloc.h>
#include "bnxt.h"
#include "bnxt_irq.h"
#include "bnxt_ring.h"
#include "hsi_struct_def_dpdk.h"
/*
* Interrupts
*/
void bnxt_int_handler(vo... | grivet/dpdk | drivers/net/bnxt/bnxt_irq.c | C | gpl-2.0 | 3,751 |
/*
*
* Copyright (C) 2010 Google, Inc.
*
* Author:
* Colin Cross <ccross@google.com>
*
* Copyright (C) 2010-2011 NVIDIA Corporation.
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and... | TripNRaVeR/tripndroid-endeavoru-3.1.10-htc | arch/arm/mach-tegra/dvfs.c | C | gpl-2.0 | 20,183 |
/**************************************************************************************************
$Id: data.c,v 1.35 2006/01/18 20:46:46 bboy Exp $
Copyright (C) 2002-2005 Don Moore <bboy@bboy.net>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public... | martinandrino/geomydns | src/mydns/data.c | C | gpl-2.0 | 4,375 |
/*
* Copyright (C) 2009 Intel Corporation
*
* 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) version 3.
*
* This library is... | mikmakmuk/syncevolution_n9 | src/gtk-ui/sync-ui.c | C | gpl-2.0 | 124,733 |
/*****************************************************************************
*
* \file
*
* \brief 32-bit NLMS filtering
*
* This file show a way to use the 32-bit NLMS filter function and print the output signal
* through the USART.
*
* Copyright (c) 2009 Atmel Corporation. All rights reserved.
*
* \asf_li... | ngwese/mod | xdk-asf-3.17.0/avr32/services/dsp/dsplib/examples/dsp32_nlms/nlms_example.c | C | gpl-2.0 | 8,053 |
/*
* linux/fs/jbd2/journal.c
*
* Written by Stephen C. Tweedie <sct@redhat.com>, 1998
*
* Copyright 1998 Red Hat corp --- All Rights Reserved
*
* This file is part of the Linux kernel and is made available under
* the terms of the GNU General Public License, version 2, or at your
* option, any later version, i... | robcore/S4-AEL-Kernel-Lollipop | fs/jbd2/journal.c | C | gpl-2.0 | 71,799 |
/*
* Backlight Driver for the KB3886 Backlight
*
* Copyright (c) 2007-2008 Claudio Nieder
*
* Based on corgi_bl.c by Richard Purdie and kb3886 driver by Robert Woerle
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License vers... | Jackeagle/android_kernel_sony_c2305 | drivers/video/backlight/kb3886_bl.c | C | gpl-2.0 | 5,159 |
/*
*********************************************************************************************************
* uC/GUI
* Universal graphic software for embedded applications
*
* (c) Copyright 2002, Micrium Inc., Weston, FL
* ... | weiqiangdragonite/blog_tmp | unix_linux/arm_asm/uCGUI/OK6410/src/uCGUI/backup/GUI/Core/GUI_CursorCrossS.c | C | gpl-2.0 | 1,476 |
/* GMODULE - GLIB wrapper code for dynamic module loading
* Copyright (C) 1998, 2000 Tim Janik
*
* dyld (Darwin) GMODULE implementation
* Copyright (C) 2001 Dan Winship
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as pub... | teamfx/openjfx-10-dev-rt | modules/javafx.media/src/main/native/gstreamer/3rd_party/glib/glib-2.42.1/gmodule/gmodule-dyld.c | C | gpl-2.0 | 3,979 |
/*
* 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: Healthcheckrs child process handling.
*
* Author: Alexandre Cassen, <acassen@linux-... | xmllovemm/keepalived_modify | keepalived/check/check_daemon.c | C | gpl-2.0 | 6,908 |
/*
* This file is part of the coreboot project.
*
* Copyright (C) 2006 AMD
* (Written by Yinghai Lu <yinghailu@amd.com> for AMD)
* Copyright (C) 2006 MSI
* (Written by Bingxun Shi <bingxunshi@gmail.com> for MSI)
* Copyright (C) 2008 Rudolf Marek <r.marek@assembler.cz>
*
* This program is free software; you can... | alterapraxisptyltd/lenovo-g505s | src/mainboard/asus/m2v/romstage.c | C | gpl-2.0 | 8,231 |
/*
* Copyright (c) International Business Machines Corp., 2001
*
* 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.... | heluxie/LTP | testcases/kernel/syscalls/setreuid/setreuid04.c | C | gpl-2.0 | 3,656 |
/* Source for:
* Cypress TrueTouch(TM) Standard Product I2C touchscreen driver.
* drivers/input/touchscreen/cyttsp-i2c.c
*
* Copyright (C) 2009, 2010 Cypress Semiconductor, Inc.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* vers... | argakon/android_kernel_swift | drivers/input/touchscreen/cyttsp-i2c.c | C | gpl-2.0 | 75,453 |
/*
* linux/arch/arm/kernel/traps.c
*
* Copyright (C) 1995-2009 Russell King
* Fragments that appear the same as linux/arch/i386/kernel/traps.c (C) Linus Torvalds
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* publ... | Xluco/kernel_smp601 | arch/arm/kernel/traps.c | C | gpl-2.0 | 21,055 |
/*
* MUSB OTG driver virtual root hub support
*
* Copyright 2005 Mentor Graphics Corporation
* Copyright (C) 2005-2006 by Texas Instruments
* Copyright (C) 2006-2007 Nokia Corporation
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
... | CyberGrandChallenge/linux-source-3.13.11-ckt21-cgc | drivers/usb/musb/musb_virthub.c | C | gpl-2.0 | 12,120 |
/****************************************************************************/
/*
* ksserial.c -- basic UART driver for KS8695 UART
*
* (C) Copyright 2003, Greg Ungerer <gerg@snapgear.com>
*
* This driver is loosely based on the serial_ks8695.c driver
* by Kam Lee/Micrel. But this code is intended to use the old... | sensysnetworks/uClinux | linux-2.4.x/drivers/char/serial_ks8695.c | C | gpl-2.0 | 23,722 |
/*
* 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... | lshabc1231/noring-kernel | drivers/staging/prima/CORE/MAC/src/pe/lim/limProcessLmmMessages.c | C | gpl-2.0 | 25,441 |
/**
******************************************************************************
* @file I2C/I2C_TwoBoards_ComDMA/Src/stm32f4xx_hal_msp.c
* @author MCD Application Team
* @version V1.0.1
* @date 09-October-2015
* @brief HAL MSP module.
************************************************... | kamfor/STMF4 | STM/Projects/STM32F410xx-Nucleo/Examples/I2C/I2C_TwoBoards_ComDMA/Src/stm32f4xx_hal_msp.c | C | gpl-2.0 | 8,458 |
/* dir.c: AFS filesystem directory handling
*
* Copyright (C) 2002 Red Hat, Inc. All Rights Reserved.
* Written by David Howells (dhowells@redhat.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Softwar... | lirunlong/linux-2.6.20 | fs/afs/dir.c | C | gpl-2.0 | 16,898 |
/*
* Based on arch/arm/kernel/ptrace.c
*
* By Ross Biro 1/23/92
* edited by Linus Torvalds
* ARM modifications Copyright (C) 2000 Russell King
* Copyright (C) 2012 ARM 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 ... | XePeleato/ALE-L21_ESAL | arch/arm64/kernel/ptrace.c | C | gpl-2.0 | 26,115 |
/*******************************************************************************
Copyright (C) Marvell International Ltd. and its affiliates
This software file (the "File") is owned and distributed by Marvell
International Ltd. and/or its affiliates ("Marvell") under the following
alternative licensing terms. Once yo... | jameshilliard/prism | arch/arm/plat-feroceon/mv_drivers_lsp/mv_tpm/core/tpm_init.c | C | gpl-2.0 | 156,456 |
/*
* Linux/PA-RISC Project (http://www.parisc-linux.org/)
*
* Floating-point emulation code
* Copyright (C) 2001 Hewlett-Packard (Paul Bame) <bame@debian.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
* ... | nslu2/linux-2.4.x | arch/parisc/math-emu/sfcmp.c | C | gpl-2.0 | 4,502 |
/*
* Copyright (C) 2013 Samsung Electronics. 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 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be u... | xDARKMATT3Rx/xDARKMATT3Rx_Kernel_BPH1 | drivers/sensors/bma255.c | C | gpl-2.0 | 36,700 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.