code
stringlengths
6
250k
repo_name
stringlengths
5
70
path
stringlengths
3
177
language
stringclasses
1 value
license
stringclasses
15 values
size
int64
6
250k
/* * cblas_cdotu_sub.c * * The program is a C interface to cdotu. * It calls the fortran wrapper before calling cdotu. * * Written by Keita Teranishi. 2/11/1998 * */ #include "cblas.h" #include "cblas_f77.h" void cblas_cdotu_sub( const int N, const void *X, const int incX, const void *Y, con...
ryanrhymes/openblas
lib/OpenBLAS-0.2.19/lapack-netlib/CBLAS/src/cblas_cdotu_sub.c
C
bsd-3-clause
569
/* crypto/des/cbc_enc.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...
GaloisInc/hacrypto
src/C/NetBSD-7.0/crypto/external/bsd/openssl/lib/libdes/ocbc_enc.c
C
bsd-3-clause
3,277
/*- * Copyright (c) 1998 - 2008 Søren Schmidt <sos@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 * n...
jrobhoward/SCADAbase
sys/dev/ata/chipsets/ata-amd.c
C
bsd-3-clause
4,971
/* * Copyright 1993-2002 Christopher Seiwald and Perforce Software, Inc. * * This file is part of Jam - see jam.c for Copyright information. */ /* * pathunix.c - manipulate file names on UNIX, NT, OS2, AmigaOS * * External routines: * * path_parse() - split a file name into dir/base/suffix/member ...
masson2013/heterogeneous_hthreads
extra/ftjam/pathunix.c
C
bsd-3-clause
5,493
/* * Copyright (c) Facebook, Inc. * All rights reserved. * * This source code is licensed under both the BSD-style license (found in the * LICENSE file in the root directory of this source tree) and the GPLv2 (found * in the COPYING file in the root directory of this source tree). * You may select, at your optio...
paulcruz74/zstd
tests/fuzz/huf_round_trip.c
C
bsd-3-clause
4,616
/*** Copyright (c), The Regents of the University of California *** *** For more information please refer to files in the COPYRIGHT directory ***/ /* See pamAuthRequest.h for a description of this API call.*/ #include <sys/wait.h> #include "pamAuthRequest.h" #include "genQuery.h" #include "reGlobalsExter...
iPlantCollaborativeOpenSource/irods-3.3.1-iplant
server/api/src/rsPamAuthRequest.c
C
bsd-3-clause
4,677
/***********************license start*************** * Copyright (c) 2003-2010 Cavium Networks (support@cavium.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: * * * Redistrib...
dcui/FreeBSD-9.3_kernel
sys/contrib/octeon-sdk/cvmx-flash.c
C
bsd-3-clause
23,011
/** * @file tcpSetup.c * @provides tcpSetup, tcpIss * * $Id: tcpSetup.c 2020 2009-08-13 17:50:08Z mschul $ */ /* Embedded Xinu, Copyright (C) 2009. All rights reserved. */ #include <stddef.h> #include <clock.h> #include <network.h> #include <semaphore.h> #include <tcp.h> static uint tcpIss(void); /** * Intial...
robixnai/xinu-arm
device/tcp/tcpSetup.c
C
bsd-3-clause
2,063
/* * jdphuff.c * * Copyright (C) 1995-1997, Thomas G. Lane. * This file is part of the Independent JPEG Group's software. * For conditions of distribution and use, see the accompanying README file. * * This file contains Huffman entropy decoding routines for progressive JPEG. * * Much of the complexity here has to do w...
AkumaKing/Xeu
jpeg-6b/jdphuff.c
C
mit
20,136
/* Generated by CIL v. 1.7.0 */ /* print_CIL_Input is false */ struct _IO_FILE; struct timeval; extern void signal(int sig , void *func ) ; extern float strtof(char const *str , char const *endptr ) ; typedef struct _IO_FILE FILE; extern int atoi(char const *s ) ; extern double strtod(char const *str , char co...
tum-i22/obfuscated-programs
tigress-generated-programs/empty-Seed4-RandomFuns-Type_short-ControlStructures_10-BB2-ForBound_constant-Operators_all.c
C
mit
2,917
/* * This file is part of the Micro Python project, http://micropython.org/ * * The MIT License (MIT) * * Copyright (c) 2013, 2014 Damien P. George * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * ...
xhat/micropython
stmhal/modstm.c
C
mit
5,130
#include <errno.h> #include <string.h> #include <strings.h> #include "sway/commands.h" #include "sway/container.h" struct cmd_results *cmd_default_floating_border(int argc, char **argv) { struct cmd_results *error = NULL; if ((error = checkarg(argc, "default_floating_border", EXPECTED_AT_LEAST, 1))) { return error...
johalun/sway
sway/commands/default_floating_border.c
C
mit
1,348
#include "plumber.h" int sporth_eqfil(sporth_stack *stack, void *ud) { plumber_data *pd = ud; SPFLOAT input; SPFLOAT output; SPFLOAT freq; SPFLOAT bw; SPFLOAT gain; sp_eqfil *eqfil; switch(pd->mode) { case PLUMBER_CREATE: #ifdef DEBUG_MODE plumber_print(pd, "eqfil:...
aure/Sporth
ugens/eqfil.c
C
mit
1,902
#include "f2c.h" #include "blaswrap.h" /* Table of constant values */ static integer c__1 = 1; /* Subroutine */ int dlasd7_(integer *icompq, integer *nl, integer *nr, integer *sqre, integer *k, doublereal *d__, doublereal *z__, doublereal *zw, doublereal *vf, doublereal *vfw, doublereal *vl, doublereal *vlw, d...
dacap/loseface
third_party/clapack/SRC/dlasd7.c
C
mit
14,877
#include "lualib.h" #include "lauxlib.h" #include "platform.h" #include "auxmods.h" #include "lrotable.h" #include "c_stdlib.h" #include "c_string.h" #include "user_interface.h" static inline uint32_t _getCycleCount(void) { uint32_t cycles; __asm__ __volatile__("rsr %0,ccount":"=a" (cycles)); return cycles; } /...
tasdomas/nodemcu-build
fw/nodemcu-firmware/app/modules/ws2812.c
C
mit
4,814
/* * RELIC is an Efficient LIbrary for Cryptography * Copyright (c) 2009 RELIC Authors * * This file is part of RELIC. RELIC is legal property of its developers, * whose names are not listed here. Please refer to the COPYRIGHT file * for contact information. * * RELIC is free software; you can redistribute it a...
PIVX-Project/PIVX
src/chiabls/contrib/relic/src/low/easy/relic_fb_srt_low.c
C
mit
6,448
/* bam_md.c -- calmd subcommand. Copyright (C) 2009-2011, 2014-2015, 2019-2020 Genome Research Ltd. Portions copyright (C) 2009-2011 Broad Institute. Author: Heng Li <lh3@sanger.ac.uk> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentat...
pysam-developers/pysam
samtools/bam_md.c
C
mit
14,924
/* bgzip.c -- Block compression/decompression utility. Copyright (C) 2008, 2009 Broad Institute / Massachusetts Institute of Technology Copyright (C) 2010, 2013, 2014 Genome Research Ltd. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documenta...
gkno/vt
lib/htslib/bgzip.c
C
mit
10,222
/* * Paparazzi mcu0 $Id: pprz_transport.c 929 2006-06-02 12:11:37Z poine $ * * Copyright (C) 2006 Pascal Brisset, Antoine Drouin * Copyright (C) 2010 ENAC * * This file is part of paparazzi. * * paparazzi is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public L...
BrandoJS/Paparazzi_vtol
sw/airborne/modules/core/extra_pprz_dl.c
C
gpl-2.0
1,178
/* Stub version of getaddrinfo function. Copyright (C) 1996, 2002 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...
stephenR/glibc-fpp
posix/getaddrinfo.c
C
gpl-2.0
1,234
/* * inode.c * * Copyright (c) 1999 Al Smith * * Portions derived from work (c) 1995,1996 Christian Vogelgsang, * and from work (c) 1998 Mike Shaver. */ #include <linux/efs_fs.h> #include <linux/efs_fs_sb.h> static inline void extent_copy(efs_extent *src, efs_extent *dst) { /* * this is slightl...
jur/linux-2.2.1-ps2
fs/efs/inode.c
C
gpl-2.0
8,467
/* * drivers/base/power/runtime.c - Helper functions for device run-time PM * * Copyright (c) 2009 Rafael J. Wysocki <rjw@sisk.pl>, Novell Inc. * * This file is released under the GPLv2. */ #include <linux/sched.h> #include <linux/pm_runtime.h> #include <linux/jiffies.h> static int __pm_runtime_resume(struct de...
mantera/WX_435_Kernel-CM7
drivers/base/power/runtime.c
C
gpl-2.0
27,193
/* * ReactOS kernel * Copyright (C) 2001, 2002 ReactOS Team * * 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 versio...
rickerliang/reactos-mirror2
drivers/storage/scsiport/scsiport.c
C
gpl-2.0
208,543
/* Copyright (c) 2009-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...
muhviehstah/N915FY-MM-Kernel
drivers/video/msm/mdss/mdss_debug.c
C
gpl-2.0
21,692
/* * Copyright (C) 2011-2014 MediaTek Inc. * * This program is free software: you can redistribute it and/or modify it under the terms of the * GNU General Public License version 2 as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRAN...
rock12/ALPS.L0.MT6580.SMT.DEV.P1.4_K80_KERNEL
drivers/misc/mediatek/connectivity/common_detect/drv_init/common_drv_init.c
C
gpl-2.0
2,887
/* * IP Payload Compression Protocol (IPComp) for IPv6 - RFC3173 * * Copyright (C)2003 USAGI/WIDE Project * * Author Mitsuru KANDA <mk@linux-ipv6.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 Soft...
camelguo/linux-2.6-trimedia
net/ipv6/ipcomp6.c
C
gpl-2.0
11,507
/* * Copyright 2015 Advanced Micro Devices, Inc. * * 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, m...
HarveyHunt/linux
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
C
gpl-2.0
136,797
/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/ /*** This file is part of systemd. Copyright 2012 Lennart Poettering systemd 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...
rhvgoyal/systemd
src/journal-remote/journal-gatewayd.c
C
gpl-2.0
33,800
/* Copyright (C) 2014 Open Information Security Foundation * * You can copy, redistribute or modify this Program under the terms of * the GNU General Public License version 2 as published by the Free * Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARR...
jasonish/suricata
src/util-lua.c
C
gpl-2.0
9,686
/* * * arch/arm/mach-meson/meson.c * * Copyright (C) 2010 AMLOGIC, INC. * * License terms: GNU General Public License (GPL) version 2 * Platform machine definition. */ #include <linux/kernel.h> #include <linux/init.h> #include <linux/mm.h> #include <linux/sched.h> #include <linux/interrupt.h> #include <linux/i...
fards/ainol_elfii_kernel
arch/arm/mach-meson3/board-m3-reff11-mrvl.c
C
gpl-2.0
63,094
/* Copyright (c) 2013, Motorola Mobility, LLC. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the hope that it will be us...
tycoo/moto_x_kernel
drivers/video/msm/msm_fb_quickdraw.c
C
gpl-2.0
17,843
/* Implementation of the ALL intrinsic Copyright 2002, 2007, 2009, 2010 Free Software Foundation, Inc. Contributed by Paul Brook <paul@nowt.org> This file is part of the GNU Fortran runtime library (libgfortran). Libgfortran is free software; you can redistribute it and/or modify it under the terms of the GNU G...
pgavin/or1k-gcc
libgfortran/generated/all_l8.c
C
gpl-2.0
5,721
/* Implementation of POSIX directory browsing functions and types for Win32. Author: Kevlin Henney (kevlin@acm.org, kevlin@curbralan.com) History: Created March 1997. Updated June 2003. Rights: See end of file. */ #include <dirent.h> #include <errno.h> #include <io.h> /* _findfirst and...
hsccr/gvsbuild
patches/fontconfig/dirent.c
C
gpl-2.0
3,173
/* * xen paravirt block device backend * * (c) Gerd Hoffmann <kraxel@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 Software Foundation; under version 2 of the License. * * This program...
Aaron0927/xen-4.2.1
tools/qemu-xen/hw/xen_disk.c
C
gpl-2.0
24,686
/* Copyright (C) 2005-2014 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the ...
rilian-la-te/glibc
sysdeps/unix/sysv/linux/mkdirat.c
C
gpl-2.0
1,261
/* * Copyright © 2006-2007 Intel Corporation * Copyright (c) 2006 Dave Airlie <airlied@linux.ie> * * 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...
mturquette/linux-omap
drivers/gpu/drm/i915/intel_lvds.c
C
gpl-2.0
31,424
/* * Copyright (C) 2009-2010 Paparazzi Team * * This file is part of paparazzi. * * paparazzi is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later version. ...
lplp8899/paparazzi
sw/airborne/fms/overo_test_spi_link.c
C
gpl-2.0
5,197
/*** This file is part of systemd. Copyright 2012 Lennart Poettering systemd 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 ve...
mohan43u/systemd
src/journal-remote/journal-gatewayd.c
C
gpl-2.0
34,285
/* * Amlogic Meson HDMI Transmitter Driver * frame buffer driver-----------HDMI_TX * Copyright (C) 2010 Amlogic, 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 versi...
jmarcet/linux-amlogic
arch/arm/mach-meson8/hdmi_tx_hw/hdmi_tx_reg.c
C
gpl-2.0
4,376
/****************************************************************************** * * Module Name: exstore - AML Interpreter object store support * *****************************************************************************/ /* * Copyright (C) 2000 - 2008, Intel Corp. * All rights reserved. * * Redistribution...
janrinze/loox7xxport
drivers/acpi/executer/exstore.c
C
gpl-2.0
21,099
/* * resume.c - Functions for waking devices up. * * Copyright (c) 2003 Patrick Mochel * Copyright (c) 2003 Open Source Development Labs * * This file is released under the GPLv2 * */ #include <linux/device.h> #include "../base.h" #include "power.h" /** * resume_device - Restore state for one device. * @de...
odit/rv042
linux/kernel_2.6/linux/drivers/base/power/resume.c
C
gpl-2.0
2,433
/* * Copyright (c) 1996, 2003 VIA Networking Technologies, Inc. * All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your opt...
gzdaoke/linux2.6.32_kernel
drivers/staging/vt6656/main_usb.c
C
gpl-2.0
63,561
/* * linux/fs/namespace.c * * (C) Copyright Al Viro 2000, 2001 * Released under GPL v2. * * Based on code from fs/super.c, copyright Linus Torvalds and others. * Heavily rewritten. */ #include <linux/syscalls.h> #include <linux/slab.h> #include <linux/sched.h> #include <linux/spinlock.h> #include <linux/percp...
jolicloud/jolicloud-robby-kernel
fs/namespace.c
C
gpl-2.0
64,607
/* * * 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/gmxlib/maths.c
C
gpl-2.0
18,654
/* * Copyright (c) 2003 Bob Deblier * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library ...
mainak1986/beecrypt-4.2.1_new
mpnumber.c
C
gpl-2.0
4,741
/**************************************************************************** * Driver for Solarflare Solarstorm network controllers and boards * Copyright 2005-2006 Fen Systems Ltd. * Copyright 2005-2011 Solarflare Communications Inc. * * This program is free software; you can redistribute it and/or modify it * ...
davem330/net-next
drivers/net/ethernet/sfc/efx.c
C
gpl-2.0
72,772
/* -*- mode: c; indent-tabs-mode: nil -*- */ /* * Copyright 2000, 2002, 2003, 2007, 2008 by the Massachusetts Institute of Technology. * All Rights Reserved. * * Export of this software from the United States of America may * require a specific license from the United States Government. * It is the responsibi...
rhuitl/uClinux
lib/libkrb5/lib/gssapi/krb5/init_sec_context.c
C
gpl-2.0
33,246
/* SPDX-License-Identifier: LGPL-2.1+ */ #include "bus-locator.h" #include "macro.h" const BusLocator* const bus_home_mgr = &(BusLocator){ .destination = "org.freedesktop.home1", .path = "/org/freedesktop/home1", .interface = "org.freedesktop.home1.Manager", }; const BusLocator* const bus_imp...
hramrach/systemd
src/shared/bus-locator.c
C
gpl-2.0
6,588
/* drivers/misc/lowmemorykiller.c * * The lowmemorykiller driver lets user-space specify a set of memory thresholds * where processes with a range of oom_score_adj values will get killed. Specify * the minimum oom_score_adj values in * /sys/module/lowmemorykiller/parameters/adj and the number of free pages in * /...
skinzor/henkate_kernel_j5-stock
drivers/staging/android/lowmemorykiller.c
C
gpl-2.0
20,920
/*** This file is part of systemd. Copyright 2015 Lennart Poettering systemd 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 ve...
petrosagg/systemd
src/nspawn/nspawn-cgroup.c
C
gpl-2.0
6,038
/* * nodeinfo.c: Helper routines for OS specific node information * * Copyright (C) 2006-2008, 2010-2014 Red Hat, Inc. * Copyright (C) 2006 Daniel P. Berrange * * 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 ...
aurex-linux/libvirt
src/nodeinfo.c
C
gpl-2.0
56,665
/* Copyright (c) 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 hope...
TheTypoMaster/android_kernel_htc_a31ul
drivers/power/qpnp-vm-bms-htc.c
C
gpl-2.0
99,659
#include <glyr/glyr.h> #include <glyr/cache.h> #include <glib.h> #include <stdlib.h> void do_insert (GlyrQuery * q, GlyrDatabase * db, char * artist, char * album) { glyr_query_init (q); glyr_opt_artist (q,artist); glyr_opt_album (q,album); glyr_opt_type (q,GLYR_GET_COVERART); GlyrMemCache * c = g...
rwstauner/glyr
src/examples/dbtest.c
C
gpl-3.0
1,214
#include <asf_terrcorr.h> #include <stdio.h> #include <assert.h> #include <gsl/gsl_spline.h> #include <asf_raster.h> #include "float_image.h" #include "vector.h" static float height_shift(meta_parameters *meta, double h, double incid) { // shift RIGHT in ascending images, LEFT in descending //double sh...
asfadmin/ASF_MapReady
src/libasf_terrcorr/sr_tc.c
C
gpl-3.0
13,482
/* Copyright (c) 1997-2003 Guenter Geiger, Miller Puckette, Larry Troxler, * Winfried Ritsch, Karl MacMillan, and others. * For information on usage and redistribution, and for a DISCLAIMER OF ALL * WARRANTIES, see the file, "LICENSE.txt," in this distribution. */ /* this file inputs and outputs audio using the OSS A...
martinjaroszewicz/mjRandom
src/s_audio_oss.c
C
gpl-3.0
27,380
/* * Copyright (C) 2019 HAW Hamburg * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * @file * @brief Test application for GNRC LoRaWAN * * @author...
basilfx/RIOT
examples/gnrc_lorawan/main.c
C
lgpl-2.1
2,606
/* ** LuaFileSystem ** Copyright Kepler Project 2003 (http://www.keplerproject.org/luafilesystem) ** ** File system manipulation library. ** This library offers these functions: ** lfs.attributes (filepath [, attributename]) ** lfs.chdir (path) ** lfs.currentdir () ** lfs.dir (path) ** lfs.lock (fh, mode) ** ...
risteaandrei/price_checker
lib/civetweb/src/third_party/lfs.c
C
lgpl-3.0
24,950
/* ========================================================================= * This file is part of NITRO * ========================================================================= * * (C) Copyright 2004 - 2014, MDA Information Systems LLC * * NITRO is free software; you can redistribute it and/or modify * it ...
bradh/six-library
externals/nitro/modules/java/nitf/src/jni/source/nitf_GraphicSegment.c
C
lgpl-3.0
2,404
// SPDX-License-Identifier: Apache-2.0 /* Copyright 2013-2017 IBM Corp. */ #include <stdlib.h> #include <stdio.h> #include <limits.h> #include <unistd.h> #include <dirent.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <string.h> #include <libflash/file.h> #include "arch_flash.h" int ar...
open-power/skiboot
external/common/arch_flash_unknown.c
C
apache-2.0
805
// REQUIRES: aarch64-registered-target // RUN: %clang_cc1 -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and-returns -S -O1 -Werror -Wall -emit-llvm -o - %s | FileCheck %s // RUN: %clang_cc1 -DSVE_OVERLOADED_FORMS -triple aarch64-none-linux-gnu -target-feature +sve -fallow-half-arguments-and...
google/llvm-propeller
clang/test/CodeGen/aarch64-sve-intrinsics/acle_sve_zip2.c
C
apache-2.0
7,009
/***************************************************************************** Copyright (c) 2014, Intel Corp. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source cod...
xianyi/OpenBLAS
lapack-netlib/LAPACKE/src/lapacke_cpocon.c
C
bsd-3-clause
3,515
/* * Copyright (c) 2010 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...
PPCDroid/external-libvpx
vp8/encoder/ethreading.c
C
bsd-3-clause
18,959
/* DVB USB framework compliant Linux driver for the Hauppauge WinTV-NOVA-T usb2 * DVB-T receiver. * * Copyright (C) 2004-5 Patrick Boettcher (patrick.boettcher@desy.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 t...
chaoling/test123
linux-2.6.39/drivers/media/dvb/dvb-usb/nova-t-usb2.c
C
gpl-2.0
6,366
/* * SPU mm fault handler * * (C) Copyright IBM Deutschland Entwicklung GmbH 2007 * * Author: Arnd Bergmann <arndb@de.ibm.com> * Author: Jeremy Kerr <jk@ozlabs.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 *...
JijonHyuni/HyperKernel-JB
virt/arch/powerpc/platforms/cell/spu_fault.c
C
gpl-2.0
2,350
/* * Copyright 2013 Broadcom Corporation. * * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> #include <asm/io.h> #include <asm/mach-types.h> #include <mmc.h> #include <asm/kona-common/kona_sdhci.h> #include <asm/kona-common/clk.h> #include <asm/arch/sysmap.h> #include <usb.h> #include <usb/dwc2_udc.h> #...
guileschool/beagleboard
u-boot/board/broadcom/bcm23550_w1d/bcm23550_w1d.c
C
mit
2,368
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_strlcat.c :+: :+: :+: ...
NowakAydm/anowak
minishell/libft/sources/ft_strlcat.c
C
cc0-1.0
1,153
/* * 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 WITHOUT ANY WARRANTY; without even the implied warranty of ...
cvarta/debian-kernel-btrfs-backport
src/btrfs-progs/props.c
C
gpl-2.0
4,541
/* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % % % ...
sudocoda/boynamedsu-wp
sweethart/magick/decorate.c
C
gpl-2.0
34,339
/* ptrace.c */ /* By Ross Biro 1/23/92 */ /* * Pentium III FXSR, SSE support * Gareth Hughes <gareth@valinux.com>, May 2000 */ #include <linux/kernel.h> #include <linux/sched.h> #include <linux/mm.h> #include <linux/smp.h> #include <linux/smp_lock.h> #include <linux/errno.h> #include <linux/ptrace.h> #include <linu...
QiuLihua83/linux-2.4.0
arch/i386/kernel/ptrace.c
C
gpl-2.0
12,059
#include "Segment.h" #include "LKH.h" #include "Sequence.h" /* * The PatchCycles function attempts to improve the tour by patching the * M >= 2 cycles that would appear if the move defined by t[1..2k] and * incl[1..2k] was made. If the composite move results in a shorter * tour, then the move is made, and the f...
julesy89/ttp-cpp
vendor/LKH-2.0.7/SRC/PatchCycles.c
C
gpl-2.0
10,708
/* UI_FILE - a generic STDIO like output stream. Copyright (C) 1999, 2000, 2001, 2002, 2007, 2008, 2009, 2010, 2011 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 publ...
epicsdeb/rtems-gdb
gdb/ui-file.c
C
gpl-2.0
16,279
#include <math.h> #include "gmx_blas.h" #include "gmx_lapack.h" #include "lapack_limits.h" void F77_FUNC(ssyevr,SSYEVR)(const char *jobz, const char *range, const char *uplo, int *n, float *a, int *lda, float *vl, float *vu, int * il, int *iu, float *abstol, int *m, float *w, float *z__, int *ldz, int *isuppz, f...
aar2163/GROMACS
src/gmxlib/gmx_lapack/ssyevr.c
C
gpl-2.0
6,439
/* * (C) Copyright 2015 Linaro * Peter Griffin <peter.griffin@linaro.org> * * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> #include <dm.h> #include <dm/platform_data/serial_pl01x.h> #include <errno.h> #include <malloc.h> #include <netdev.h> #include <asm/io.h> #include <usb.h> #include <power/hi6553_pm...
mdxy2010/forlinux-ok6410
u-boot15/board/hisilicon/hikey/hikey.c
C
gpl-2.0
8,778
/* Process st_?tim updates marked for a diskfs node. Copyright (C) 1994, 1996, 1999, 2000, 2007, 2009 Free Software Foundation, Inc. This file is part of the GNU Hurd. The GNU Hurd is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published...
projectgnu/hurd
libdiskfs/node-times.c
C
gpl-2.0
2,435
/* Local prediction-error filter estimation in patches */ /* Copyright (C) 2004 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 License...
zxtstarry/src
user/gee/lopef.c
C
gpl-2.0
2,320
/* * upap.c - User/Password Authentication Protocol. * * Copyright (c) 1989 Carnegie Mellon University. * All rights reserved. * * Redistribution and use in source and binary forms are permitted * provided that the above copyright notice and this paragraph are * duplicated in all such forms and that any documen...
nmacs/lm3s-uclinux
user/pppd-2.3/pppd/upap.c
C
gpl-2.0
13,751
/* * sun4i, sun5i and sun7i specific clock code * * (C) Copyright 2007-2012 * Allwinner Technology Co., Ltd. <www.allwinnertech.com> * Tom Cubie <tangliang@allwinnertech.com> * * (C) Copyright 2013 Luke Kenneth Casson Leighton <lkcl@lkcl.net> * * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> #incl...
SVoxel/R9000
git_home/u-boot.git/arch/arm/cpu/armv7/sunxi/clock_sun4i.c
C
gpl-2.0
6,222
/* * cmc623.c * * driver supporting CMC623 ImageConverter functions for Samsung P3 device * * COPYRIGHT(C) Samsung Electronics Co., Ltd. 2006-2010 All Right Reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by ...
Grarak/grakernel-n1
drivers/video/tegra/cmc623.c
C
gpl-2.0
32,467
/* Copyright 2017 Jason Williams * * 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 program is distribute...
paxy97/qmk_firmware
quantum/color.c
C
gpl-2.0
1,881
/* * PReP pci functions. * Originally by Gary Thomas * rewritten and updated by Cort Dougan (cort@cs.nmt.edu) * * The motherboard routes/maps will disappear shortly. -- Cort */ #include <linux/config.h> #include <linux/types.h> #include <linux/pci.h> #include <linux/kernel.h> #include <linux/init.h> #include <a...
zrafa/linuxkernel
linux-2.6.17.new/arch/ppc/platforms/prep_pci.c
C
gpl-2.0
40,084
#include <pthread.h> #include <assert.h> #include "hwdec.h" struct mp_hwdec_devices { pthread_mutex_t lock; struct mp_hwdec_ctx *hwctx; void (*load_api)(void *ctx, enum hwdec_type type); void *load_api_ctx; }; struct mp_hwdec_devices *hwdec_devices_create(void) { struct mp_hwdec_devices *devs =...
enoposix/mpv
video/hwdec.c
C
gpl-2.0
2,520
/* * Copyright (C) 2008 Ben Skeggs. * All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the * "Software"), to deal in the Software without restriction, including * without limitation the rights to use, copy...
Werdo/Clickarm_Kernel_3.8
drivers/gpu/drm/nouveau/nouveau_gem.c
C
gpl-2.0
21,976
#include "cache.h" #include "commit.h" #include "tag.h" #include "diff.h" #include "revision.h" #include "progress.h" #include "list-objects.h" #include "pack.h" #include "pack-bitmap.h" #include "pack-revindex.h" #include "pack-objects.h" /* * An entry on the bitmap index, representing the bitmap for a given * comm...
nodakai/git
pack-bitmap.c
C
gpl-2.0
25,630
/* * kernel/power/tuxonice_power_off.c * * Copyright (C) 2006-2010 Nigel Cunningham (nigel at tuxonice net) * * This file is released under the GPLv2. * * Support for powering down. */ #include <linux/device.h> #include <linux/suspend.h> #include <linux/mm.h> #include <linux/pm.h> #include <linux/reboot.h> #in...
rimistri/mediatek
mt6732/kernel/kernel/power/tuxonice_power_off.c
C
gpl-2.0
6,826
/* * Routines providing a simple monitor for use on the PowerMac. * * Copyright (C) 1996-2005 Paul Mackerras. * Copyright (C) 2001 PPC64 Team, IBM Corp * Copyrignt (C) 2006 Michael Ellerman, IBM Corp * * This program is free software; you can redistribute it and/or * modify it under the terms of the G...
lordeko/android_kernel_samsung_hlte
arch/powerpc/xmon/xmon.c
C
gpl-2.0
68,455
/* USB Driver for GSM modems Copyright (C) 2005 Matthias Urlichs <smurf@smurf.noris.de> This driver is free software; you can redistribute it and/or modify it under the terms of Version 2 of the GNU General Public License as published by the Free Software Foundation. Portions copied from the Keyspan dri...
MyOpenCommunity/linux-davinci-medium
drivers/usb/serial/option.c
C
gpl-2.0
73,187
/* * Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation * All rights reserved. * * This file is part of the GtkSourceView widget. * * 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 ...
DarkRainX/ufoai
src/libs/gtksourceview/gtksourceview-i18n.c
C
gpl-2.0
3,211
/* Copyright (c) 2011-2015, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the...
Nico60/android_kernel_lge_msm8992
drivers/slimbus/slimbus.c
C
gpl-2.0
86,885
/* * * scanmem.c : interfaces Copyright (C) 2006,2007,2009 Tavis Ormandy <taviso@sdf.lonestar.org> Copyright (C) 2009 Eli Dupree <elidupree@charter.net> Copyright (C) 2009,2010 WANG Lu <coolwanglu@gmail.com> This program is free software; you can redistribute it and/or modify it under the term...
coolwanglu/scanmem_
scanmem.c
C
gpl-3.0
6,857
/* * fs/fs-writeback.c * * Copyright (C) 2002, Linus Torvalds. * * Contains all the functions related to writing back and waiting * upon dirty inodes against superblocks, and writing back dirty * pages against inodes. ie: data writeback. Writeout of the * inode itself is not handled here. * * 10Apr2002 Andr...
eabatalov/au-linux-kernel-autumn-2017
linux/fs/fs-writeback.c
C
gpl-3.0
72,224
/* Copyright (C) 2018 Magnus Lång and Tuan Phong Ngo * This benchmark is part of SWSC */ #include <assert.h> #include <stdint.h> #include <stdatomic.h> #include <pthread.h> atomic_int vars[3]; atomic_int atom_2_r3_0; void *t0(void *arg){ label_1:; atomic_store_explicit(&vars[0], 1, memory_order_seq_cst); ato...
nidhugg/nidhugg
tests/litmus/C-tests/Z6.5+sync+eieio+sync.c
C
gpl-3.0
1,595
/* * This file is part of ccid-utils * Copyright (c) 2008 Gianni Tedesco <gianni@scaramanga.co.uk> * Released under the terms of the GNU GPL version 3 */ #include <ccid.h> #include <list.h> #include <emv.h> #include <ber.h> #include "emv-internal.h" static int bop_atc(const uint8_t *ptr, size_t len, void *priv) { ...
12019/ccid-utils
src/emv_trm.c
C
gpl-3.0
1,260
/* Simple DirectMedia Layer Copyright (C) 1997-2019 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
libcrosswind/libcrosswind
external/sdl2/SDL2-2/src/test/SDL_test_font.c
C
gpl-3.0
85,099
/* Disable floating-point exceptions. Copyright (C) 1999-2016 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Andreas Jaeger <aj@suse.de>, 1999. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Pu...
geminy/aidear
oss/glibc/glibc-2.24/math/fedisblxcpt.c
C
gpl-3.0
1,023
#include "common.h" #ifdef _MGINCORE_RES //data of "folder.ico" unsigned char _mgir_ico_folder_data[]={ 0x00,0x00,0x01,0x00,0x02,0x00,0x10,0x10, 0x10,0x00,0x00,0x00,0x00,0x00,0x28,0x01, 0x00,0x00,0x26,0x00,0x00,0x00,0x20,0x20, 0x10,0x00,0x00,0x00,0x00,0x00,0xE8,0x02, 0x00,0x00,0x4E,0x01,0x00,0x00,0x28,0x00, 0x00...
pengdu/libminigui
src/sysres/icon/folder.ico.c
C
gpl-3.0
5,727
/*====================================================================* - Copyright (C) 2001 Leptonica. All rights reserved. - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions - are met: - 1. Redistributions of source c...
deekoder/tess_two
tess-two/jni/com_googlecode_leptonica_android/src/prog/webpio_reg.c
C
apache-2.0
4,559
#include <winpr/crt.h> #include <winpr/thread.h> #include <winpr/collections.h> static void* message_queue_consumer_thread(void* arg) { wMessage message; wMessageQueue* queue; queue = (wMessageQueue*) arg; while (MessageQueue_Wait(queue)) { if (MessageQueue_Peek(queue, &message, TRUE)) { if (message.id ...
xproax/FreeRDP
winpr/libwinpr/utils/test/TestMessageQueue.c
C
apache-2.0
1,162
#include "includes.h" typedef struct _TEST_ELEMENT { PCSTR name; int age; } TEST_ELEMENT, *PTEST_ELEMENT; int arrLen = 5; TEST_ELEMENT arrTestData[] = { {"user1", 1}, {"user2", 2}, {"user3", 3}, ...
schatt/lightwave
vmdir/tools/test/dequetest/main.c
C
apache-2.0
3,065
/* $Id: drv_MatrixOrbitalGX.c 975 2009-02-27 18:50:20Z abbas $ * $URL: https://ssl.bulix.org/svn/lcd4linux/trunk/drv_MatrixOrbitalGX.c $ * * driver for Matrix Orbital GX Series Graphic(240x64) displays from matrixorbital.com * * Copyright (C) 2009 Abbas Kosan <abbaskosan@gmail.com> * Copyright (C) 2005, 2006, 200...
Johny-C/smartwatch-repo
lcd4linux/drv_MatrixOrbitalGX.c
C
apache-2.0
15,046
/* A client for the Postgres logical replication protocol, comparable to * pg_recvlogical but adapted to our needs. The protocol is documented here: * http://www.postgresql.org/docs/9.4/static/protocol-replication.html */ #include "replication.h" #include <stdarg.h> #include <string.h> #include <arpa/inet.h> #inclu...
scbrady/bottledwater-pg
client/replication.c
C
apache-2.0
14,066