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
/* * Copyright (C) 2017 OTA keys S.A. * * 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 * @brief Device driver implementation for the LSM6DSL 3D accelerometer/gyroscop...
TobiasFredersdorf/RIOT
drivers/lsm6dsl/lsm6dsl.c
C
lgpl-2.1
6,294
/* GTK - The GIMP Toolkit * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the Lice...
ystk/debian-gtk-2.0
gtk/gtkprogressbar.c
C
lgpl-2.1
42,390
/* * (C) Copyright 2013 Kurento (http://kurento.org/) * * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser General Public License * (LGPL) version 2.1 which accompanies this distribution, and is available at * http://www.gnu.org/licenses/lgpl-...
TribeMedia/kms-filters
src/gst-plugins/opencvfilter/opencvfilter.c
C
lgpl-2.1
1,000
/* * Copyright (c) 2021 Red Hat. * * 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 distrib...
adfernandes/pcp
src/pmdas/linux_sockets/ss_refresh.c
C
lgpl-2.1
1,909
/* * Copyright (C) 2014 Freie Universität Berlin * Copyright (C) 2014 PHYTEC Messtechnik GmbH * Copyright (C) 2015-2018 Eistec AB * * 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. */ /** * @...
rfuentess/RIOT
cpu/kinetis/periph/i2c.c
C
lgpl-2.1
17,878
/* GTK - The GIMP Toolkit * Copyright (C) 2010 Carlos Garnacho <carlosg@gnome.org> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your o...
linuxmint/gtk
gtk/deprecated/gtkthemingengine.c
C
lgpl-2.1
88,123
/********************************************************************* * * This is based on code created by Peter Harvey, * (pharvey@codebydesign.com). * * Modified and extended by Nick Gorham * (nick@lurcher.org). * * Any bugs or problems should be considered the fault of Nick and not * Peter. * * copyright...
kadler/unixODBC
DriverManager/SQLGetStmtAttrW.c
C
lgpl-2.1
10,597
/* * Auto-Generated On: 07/11/2013 16:02 * Author: Lauren Schmidt */ #if (defined(RONE_V9) || defined(RONE_V12)) #include "roneos.h" const char MIDIFile_Boogie[] = { 0x4d, 0x54, 0x68, 0x64, 0x00, 0x00, 0x00, 0x06, 0x00, 0x00, 0x00, 0x01, 0x00, 0x78, 0x4d, 0x54, 0x72, 0x6b, 0x00, 0x00, 0x34, 0xb9, 0x00, 0xff, 0...
yucnet/rone
software/system/roneos/src/Audio/ConvertedMIDIFiles/MIDIFile_Boogie.c
C
lgpl-3.0
84,790
/* mpfr_add_ui -- add a floating-point number with a machine integer Copyright 2000-2004, 2006-2016 Free Software Foundation, Inc. Contributed by the AriC and Caramba 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 ...
comius/haskell-mpfr
deps/mpfr/src/add_ui.c
C
lgpl-3.0
2,140
static char rcsid[] = "$Id$"; /* * $TSUKUBA_Release: Omni OpenMP Compiler 3 $ * $TSUKUBA_Copyright: * PLEASE DESCRIBE LICENSE AGREEMENT HERE * $ */ /* error case of for 014: * incr-expr ¤Ë / ¤ò»È¤Ã¤¿¾ì¹ç¡¢¥¨¥é¡¼¤Ë¤Ê¤ë¤³¤È¤ò³Îǧ * * canonical shape is : * for (init-expr; var logical-op b; incr-expr) * ...
omni-compiler/omni-compiler
tests/old/C-test/directive/wkshr/for/err_for_014.c
C
lgpl-3.0
1,537
/* This file is an image processing operation for GEGL * * GEGL 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 3 of the License, or (at your option) any later version. * * GEGL ...
GNOME/gegl
operations/external/webp-load.c
C
lgpl-3.0
8,661
/* This work is licensed under a Creative Commons CCZero 1.0 Universal License. * See http://creativecommons.org/publicdomain/zero/1.0/ for more information. */ #include <signal.h> #include <open62541.h> #include "custom_datatype.h" UA_Boolean running = true; static void stopHandler(int sig) { UA_LOG_INFO(UA_Lo...
reza-ebrahimi/open62541
examples/custom_datatype/server_types_custom.c
C
lgpl-3.0
2,737
#include <linux/limits.h> #include <sys/types.h> #include <unistd.h> typedef struct configure_s { const char *path; /* # chars in a path name including nul */ pid_t pid; int (*fp)(void); } configure_t; int dlfunc(void); configure_t g_conf = {NULL, -1, dlfunc}; int dlfunc(void) { int ret = 0; g_conf.pid = getp...
nibaozhu/project_x
src/test/test_dlopen/dynamic.c
C
unlicense
341
/* * cleanup.c: handle cleaning up workqueue items * * ==================================================================== * 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 ...
centic9/subversion-ppa
subversion/libsvn_wc/cleanup.c
C
apache-2.0
6,677
/************************************************************************/ /* */ /* Board_Data.c -- Board Customization Data for Digilent chipKIT Max32 */ /* */ /************************************************************************/ /* Author: Gene Apperson */ /* Co...
UECIDE/chipKIT-core
uecide/boards/ermetris-magneto/Board_Data.c
C
apache-2.0
24,595
/* $NetBSD: atomic_and_32_cas.c,v 1.10 2014/06/23 21:53:45 joerg Exp $ */ /*- * Copyright (c) 2007 The NetBSD Foundation, Inc. * All rights reserved. * * This code is derived from software contributed to The NetBSD Foundation * by Jason R. Thorpe. * * Redistribution and use in source and binary forms, with or w...
execunix/vinos
common/lib/libc/atomic/atomic_and_32_cas.c
C
apache-2.0
2,515
/* 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 applicable law or agreed to in writing, software distributed under the License is...
mhammond/couchdb
src/couchdb/couch_erl_driver.c
C
apache-2.0
5,539
/* * Copyright (C) 2008 Michael Brown <mbrown@fensystems.co.uk>. * * 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 any later version. * * This progr...
4km3/netboot
third_party/ipxe/src/net/udp/slam.c
C
apache-2.0
21,209
#if defined(CONFIG_MTK_HDMI_SUPPORT) #include <linux/string.h> #include <linux/time.h> #include <linux/uaccess.h> #include <linux/debugfs.h> #include <mach/mt_typedefs.h> #if defined(CONFIG_MTK_INTERNAL_HDMI_SUPPORT) #include "internal_hdmi_drv.h" #elif defined(MTK_INTERNAL_MHL_SUPPORT) #include "inter_mhl_drv.h" #...
zhengdejin/X1_Code
kernel-3.10/drivers/misc/mediatek/ext_disp/mt8127/debug.c
C
apache-2.0
6,070
/** * FreeRDP: A Remote Desktop Protocol Implementation * T.124 Generic Conference Control (GCC) * * Copyright 2011 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 obta...
itsmikeeng/FreeRDP
libfreerdp/core/gcc.c
C
apache-2.0
44,052
/** @file RNG Driver to produce the UEFI Random Number Generator protocol. The driver will use the new RDRAND instruction to produce high-quality, high-performance entropy and random number. RNG Algoritnms defined in UEFI 2.4: - EFI_RNG_ALGORITHM_SP800_90_CTR_256_GUID - Supported (RDRAND impl...
google/google-ctf
third_party/edk2/SecurityPkg/RandomNumberGenerator/RngDxe/RngDxe.c
C
apache-2.0
7,818
/* * cli_sensor.c * * Created on: Jun 22, 2014 * Author: liyixiao */ #include "ev3api.h" #include "app.h" #include "syssvc/serial.h" #include <unistd.h> #include <ctype.h> #include <string.h> static const CliMenuEntry* select_sensor() { static const CliMenuEntry entry_tab[] = { { .key = '1', .title = "S...
ev3rt-git/ev3rt-hrp2-sdk
workspace/helloev3/cli_sensor.c
C
apache-2.0
20,261
#include <stdint.h> #include <stdarg.h> #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <string.h> #include <openssl/hmac.h> #include "inc.h" #include "tcpcrypt_ctl.h" #include "tcpcrypt.h" #include "tcpcryptd.h" #include "crypto.h" #include "profile.h" #define MAC_SIZE 20 static struct tc_sciphe...
daedalus/tcpcrypt
user/src/crypto_hmac.c
C
bsd-2-clause
1,933
/*- * Copyright (c) 1982, 1986, 1988, 1991, 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 ret...
dplbsd/zcaplib
head/sys/kern/uipc_mbuf.c
C
bsd-2-clause
54,143
/*- * Copyright (c) 1996 - 2001 Brian Somers <brian@Awfulhak.org> * based on work by Toshiharu OHNO <tony-o@iij.ad.jp> * Internet Initiative Japan, Inc (IIJ) * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permit...
dplbsd/zcaplib
head/usr.sbin/ppp/ipcp.c
C
bsd-2-clause
44,044
/*- * Copyright (c) 2002, 2003 Sam Leffler, Errno Consulting * 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...
dplbsd/zcaplib
head/tools/tools/crypto/hifnstats.c
C
bsd-2-clause
2,464
/* * * Copyright 2015, Google Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of condi...
doubi-workshop/grpc
test/core/util/port_posix.c
C
bsd-3-clause
9,791
/* This file has been autogenerated by Ivory * Compiler version 0.1.0.0 */ #include "mavlink_auth_key_msg.h" void mavlink_auth_key_msg_send(const struct auth_key_msg* n_var0, uint8_t* n_var1, uint8_t n_var2[80U]) { uint8_t n_local0[32U] = {}; uint8_t* n_ref1 = n_local0; co...
smaccm/smaccm
models/Flight/source/mavlink_auth_key_msg.c
C
bsd-3-clause
1,522
// Test that a heapified global gets the correct initializer #include <csolve.h> int x = 5; void main () { int *y = &x; csolve_assert (*y == 5); }
ucsd-progsys/csolve-bak
tests/postests/heapified_global_init.c
C
bsd-3-clause
159
/* * SSL client demonstration program * * Copyright (C) 2006-2013, Brainspark B.V. * * This file is part of PolarSSL (http://www.polarssl.org) * Lead Maintainer: Paul Bakker <polarssl_maintainer at polarssl.org> * * All rights reserved. * * This program is free software; you can redistribute it and/or m...
GaloisInc/hacrypto
src/C/polarssl/polarssl-1.3.7/programs/ssl/ssl_client1.c
C
bsd-3-clause
8,118
/* * * Copyright 2015, Google Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of condi...
ppietrasa/grpc
test/core/security/oauth2_utils.c
C
bsd-3-clause
4,450
/* Copyright 2020 The Chromium OS Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ /* * Thunderbolt alternate mode support * Refer to USB Type-C Cable and Connector Specification Release 2.0 Section F */ #include "atomic.h" #i...
coreboot/chrome-ec
common/usbc/tbt_alt_mode.c
C
bsd-3-clause
17,413
/* --------------------------------------------------------------------------- * * (c) The GHC Team, 2001-2005 * * Accessing OS threads functionality in a (mostly) OS-independent * manner. * * --------------------------------------------------------------------------*/ #include "Rts.h" #include <windows.h> #inc...
shlevy/ghc
rts/win32/OSThreads.c
C
bsd-3-clause
16,947
/* Copyright (c) 2014, Linaro Limited * All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ /* enable strtok */ #ifndef _GNU_SOURCE #define _GNU_SOURCE #endif #include <stdlib.h> #include <string.h> #include <openssl/des.h> #include <openssl/rand.h> #include <openssl/hmac.h> #include <openssl/e...
semihalf-berestovskyy-andriy/odp-thunderx
example/ipsec/odp_ipsec_stream.c
C
bsd-3-clause
15,691
// clang-format off // clang-format on /** * @file * * This file was automatically generated using `kdb gen highlevel`. * Any changes will be overwritten, when the file is regenerated. * * @copyright BSD Zero Clause License * * Copyright (c) Elektra Initiative (https://www.libelektra.org) * * Permis...
ElektraInitiative/libelektra
tests/shell/gen/highlevel/struct.expected.c
C
bsd-3-clause
15,133
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE127_Buffer_Underread__char_declare_memcpy_03.c Label Definition File: CWE127_Buffer_Underread.stack.label.xml Template File: sources-sink-03.tmpl.c */ /* * @description * CWE: 127 Buffer Under-read * BadSource: Set data pointer to before the allocated memory ...
JianpingZeng/xcc
xcc/test/juliet/testcases/CWE127_Buffer_Underread/s01/CWE127_Buffer_Underread__char_declare_memcpy_03.c
C
bsd-3-clause
3,889
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE606_Unchecked_Loop_Condition__char_file_66a.c Label Definition File: CWE606_Unchecked_Loop_Condition.label.xml Template File: sources-sinks-66a.tmpl.c */ /* * @description * CWE: 606 Unchecked Input For Loop Condition * BadSource: file Read input from a file ...
JianpingZeng/xcc
xcc/test/juliet/testcases/CWE606_Unchecked_Loop_Condition/CWE606_Unchecked_Loop_Condition__char_file_66a.c
C
bsd-3-clause
4,529
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE191_Integer_Underflow__short_min_sub_04.c Label Definition File: CWE191_Integer_Underflow.label.xml Template File: sources-sinks-04.tmpl.c */ /* * @description * CWE: 191 Integer Underflow * BadSource: min Set data to the min value for short * GoodSource: Se...
JianpingZeng/xcc
xcc/test/juliet/testcases/CWE191_Integer_Underflow/s03/CWE191_Integer_Underflow__short_min_sub_04.c
C
bsd-3-clause
5,045
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE121_Stack_Based_Buffer_Overflow__CWE806_wchar_t_alloca_ncat_53a.c Label Definition File: CWE121_Stack_Based_Buffer_Overflow__CWE806.label.xml Template File: sources-sink-53a.tmpl.c */ /* * @description * CWE: 121 Stack Based Buffer Overflow * BadSource: Initi...
JianpingZeng/xcc
xcc/test/juliet/testcases/CWE121_Stack_Based_Buffer_Overflow/s07/CWE121_Stack_Based_Buffer_Overflow__CWE806_wchar_t_alloca_ncat_53a.c
C
bsd-3-clause
2,969
#include <stdio.h> #include <string.h> #define SPHERE_LIBRARY_CODE #include <sp/sphere.h> long sp_ntohl(long t){ static enum SP_sample_byte_fmt sbf = SP_sbf_null; if (sbf == SP_sbf_null) sbf = get_natural_sbf(4); if (sbf == SP_sbf_3210) return(t); if (sbf == SP_sbf_1032){ swap_short(t); return(t...
JianpingZeng/xcc
xcc/test/mediabench4/rasta/src/sphere2/nist/src/lib/sp/sp_ntoh.c
C
bsd-3-clause
655
/* * Copyright (c) 2004, 2005, 2006 TADA AB - Taby Sweden * Distributed under the terms shown in the file COPYRIGHT * found in the root folder of this project or at * http://eng.tada.se/osprojects/COPYRIGHT.html * * @author Thomas Hallgren */ #include "pljava/Backend.h" #include "pljava/Exception.h" #include "pl...
ChiralBehaviors/pljava
C/pljava/SubXactListener.c
C
bsd-3-clause
3,266
/* FreeRTOS V8.2.1 - Copyright (C) 2015 Real Time Engineers Ltd. All rights reserved VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION. This file is part of the FreeRTOS distribution. FreeRTOS is free software; you can redistribute it and/or modify it under the terms of...
jaafarbarek/pyrtos
micropython-1.5/stmhal/rtos/portable/GCC/ARM_CM7/r0p1/port.c
C
mit
28,816
// // CBPingPong.c // cbitcoin // // Created by Matthew Mitchell on 19/07/2012. // Copyright (c) 2012 Matthew Mitchell // // This file is part of cbitcoin. It is subject to the license terms // in the LICENSE file found in the top-level directory of this // distribution and at http://www.cbitcoin.com/license.h...
MatthewLM/cbitcoin
src/CBPingPong.c
C
mit
2,380
#include<stdio.h> int main() { float fst,scd,max; int i; scanf("%f",&fst); max=fst; i=1; while(i<3){ scanf("%f",&scd); if(scd>max)max=scd; i++; } printf("%.1f",max); return 0; }
Enchak/c-programming-homework
B/02/13/task02.c
C
mit
185
/* * This file is part of the OpenMV project. * * Copyright (c) 2013-2021 Ibrahim Abdelkader <iabdalkader@openmv.io> * Copyright (c) 2013-2021 Kwabena W. Agyeman <kwagyeman@openmv.io> * * This work is licensed under the MIT license, see the file LICENSE for details. * * Common data structures. */ #include "iml...
openmv/openmv
src/omv/imlib/collections.c
C
mit
10,753
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- * * Copyright (C) 1998, 1999, 2000 Martin K, Petersen <mkp@mkp.net> * Copyright (C) 2007 William Jon McCann <mccann@jhu.edu> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General P...
gfunkmonk2/mate-display-manager
gui/simple-chooser/mdm-host-chooser-widget.c
C
gpl-2.0
30,221
/* Copyright (C) 2001, 2002, 2003, 2007, 2009 Red Hat, Inc. Written by Jakub Jelinek <jakub@redhat.com>, 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, or (at you...
jkkm/prelink
src/cxx.c
C
gpl-2.0
16,872
/* * Copyright (c) 2012-2014 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 noti...
sultanqasim/android_kernel_motorola_otus
drivers/staging/prima/CORE/HDD/src/wlan_hdd_hostapd.c
C
gpl-2.0
154,299
/* ºóµµ¼ö¸¦ ¼¼±â À§ÇÑ ÇÁ·Î±×·¥ÀÌ´Ù. »ç¿ë¹ø : freq < in_sorted > out_with_frequency À¯´Ð½º ¸í·É¾î uniq -c·Î ´ëüÇÒ ¼ö ÀÖ´Ù */ #include <stdio.h> #include <string.h> main() { char categ[BUFSIZ]; char precat[BUFSIZ]; int freq; gets(precat); freq = 1; while(gets(categ) != NULL) { if (! strcmp(precat, categ...
jincreator/kts
tools/freq.c
C
gpl-2.0
578
/******************************************************************************* * Copyright 2010 Broadcom Corporation. All rights reserved. * * @file drivers/input/misc/bma222.c * * Unless you and Broadcom execute a separate written software license agreement * governing use of this software, this software is licens...
SandPox/kernel_collection
drivers/misc/bma222.c
C
gpl-2.0
29,943
/* Test the `vabau8' ARM Neon intrinsic. */ /* This file was autogenerated by neon-testgen. */ /* { dg-do assemble } */ /* { dg-require-effective-target arm_neon_ok } */ /* { dg-options "-save-temps -O0" } */ /* { dg-add-options arm_neon } */ #include "arm_neon.h" void test_vabau8 (void) { uint8x8_t out_uint8x8_...
ccompiler4pic32/pic32-gcc
gcc/testsuite/gcc.target/arm/neon/vabau8.c
C
gpl-2.0
651
#include "cache.h" #include "object-store.h" #include "repository.h" #include "object.h" #include "blob.h" #include "tree.h" #include "tree-walk.h" #include "commit.h" #include "tag.h" #include "fsck.h" #include "refs.h" #include "utf8.h" #include "decorate.h" #include "oidset.h" #include "packfile.h" #include "submodu...
devzero2000/git-core
fsck.c
C
gpl-2.0
28,847
/* SPDX-License-Identifier: LGPL-2.1+ */ /*** This file is part of systemd. Copyright 2010 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 Li...
Mic92/systemd
src/core/transaction.c
C
gpl-2.0
43,403
#include <linux/component.h> #include <linux/export.h> #include <linux/list.h> #include <linux/of_graph.h> #include <drm/drmP.h> #include <drm/drm_crtc.h> #include <drm/drm_of.h> static void drm_release_of(struct device *dev, void *data) { of_node_put(data); } /** * drm_crtc_port_mask - find the mask of a registere...
sjp38/linux.doc_trans_membarrier
drivers/gpu/drm/drm_of.c
C
gpl-2.0
4,788
/* Test the `vqdmulh_lanes32' ARM Neon intrinsic. */ /* This file was autogenerated by neon-testgen. */ /* { dg-do assemble } */ /* { dg-require-effective-target arm_neon_ok } */ /* { dg-options "-save-temps -O0" } */ /* { dg-add-options arm_neon } */ #include "arm_neon.h" void test_vqdmulh_lanes32 (void) { int3...
ccompiler4pic32/pic32-gcc
gcc/testsuite/gcc.target/arm/neon/vqdmulh_lanes32.c
C
gpl-2.0
657
/* * This file has been modified for the cdrkit suite. * * The behaviour and appearence of the program code below can differ to a major * extent from the version distributed by the original author(s). * * For details, see Changelog file distributed with the cdrkit package. If you * received this file from anothe...
Distrotech/cdrkit
wodim/crc16.c
C
gpl-2.0
5,353
/* packet-dcerpc-secidmap.c * * Routines for dcerpc DCE Security ID Mapper * Copyright 2002, Jaime Fournier <Jaime.Fournier@hush.com> * This information is based off the released idl files from opengroup. * ftp://ftp.opengroup.org/pub/dce122/dce/src/security.tar.gz security/idl/rsecidmap.idl * * Wireshark - Net...
zzqcn/wireshark
epan/dissectors/packet-dcerpc-secidmap.c
C
gpl-2.0
2,064
/* * core.c -- Voltage/Current Regulator framework. * * Copyright 2007, 2008 Wolfson Microelectronics PLC. * Copyright 2008 SlimLogic Ltd. * * Author: Liam Girdwood <lrg@slimlogic.co.uk> * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Pub...
tejasjadhav/android_kernel_mocha
drivers/regulator/core.c
C
gpl-2.0
119,722
/* * ngene-dvb.c: nGene PCIe bridge driver - DVB functions * * Copyright (C) 2005-2007 Micronas * * Copyright (C) 2008-2009 Ralph Metzler <rjkm@metzlerbros.de> * Modifications for new nGene firmware, * support for EEPROM-copying, * support ...
heptalium/rpi-sources-3.16
drivers/media/pci/ngene/ngene-dvb.c
C
gpl-2.0
6,681
/* * H-TCP congestion control. The algorithm is detailed in: * R.N.Shorten, D.J.Leith: * "H-TCP: TCP for high-speed and long-distance networks" * Proc. PFLDnet, Argonne, 2004. * http://www.hamilton.ie/net/htcp3.pdf */ #include <linux/mm.h> #include <linux/module.h> #include <net/tcp.h> #define ALPHA_BASE (1...
usv299792458/kernel
net/ipv4/tcp_htcp.c
C
gpl-2.0
7,435
/* Copyright (c) 2013 The Linux Foundation. All rights reserved. * * Copyright (c) 2010-2011, 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 th...
itgb/opCloudRouter
qca/src/linux/sound/soc/ipq/ipq-pcm-voip.c
C
gpl-2.0
11,029
/****************************************************************************** * * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved. * * This program 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 ...
willemwouters/orangepi_kernel
drivers/net/wireless/rtl8189es/os_dep/linux/os_intfs.c
C
gpl-2.0
105,314
/* * Originally from efivars.c, * * Copyright (C) 2001,2003,2004 Dell <Matt_Domsch@dell.com> * Copyright (C) 2004 Intel Corporation <matthew.e.tolentino@intel.com> * * This code takes all variables accessible from EFI runtime and * exports them via sysfs * * This program is free software; you can redistribut...
geiti94/NEMESIS_KERNEL_N5
drivers/firmware/efi/efivars.c
C
gpl-2.0
15,987
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */ /* NetworkManager system settings service * * 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 th...
binli/NetworkManager
src/settings/nm-settings-error.c
C
gpl-2.0
3,436
/* * gsm 06.10 decoder, Microsoft variant * Copyright (c) 2010 Reimar Döffinger <Reimar.Doeffinger@gmx.de> * * This file is part of Libav. * * Libav 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 Foundatio...
DDTChen/CookieVLC
vlc/contrib/android/ffmpeg/libavcodec/msgsmdec.c
C
gpl-2.0
1,345
#include <linux/module.h> #include <linux/slab.h> #include <linux/aee.h> #include <linux/xlog.h> #include <linux/utsname.h> #include <linux/sched.h> #include <linux/list.h> #include <linux/init.h> #include <linux/smp.h> #include <linux/mt_sched_mon.h> #include <linux/io.h> #include <linux/delay.h> #include <linux/hardi...
CryToCry96/android_kernel_mt6572
mediatek/kernel/drivers/aee/common/wdt-handler.c
C
gpl-2.0
13,726
/* -*- linux-c -*- * Statistics Aggregation * Copyright (C) 2005-2008 Red Hat Inc. * Copyright (C) 2006 Intel Corporation * * This file is part of systemtap, and is free software. You can * redistribute it and/or modify it under the terms of the GNU General * Public License (GPL); either version 2, or (at your ...
android-ia/platform_external_systemtap
runtime/stat.c
C
gpl-2.0
6,133
/* * Disk Array driver for HP SA 5xxx and 6xxx Controllers * Copyright 2000, 2006 Hewlett-Packard Development Company, L.P. * * 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;...
laitianli/kernel-change_linux-2.6.18
drivers/block/cciss.c
C
gpl-2.0
97,715
/*- * Copyright (c) 1980 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 above copyright ...
ghmajx/asuswrt-merlin
release/src/router/util-linux/misc-utils/whereis.c
C
gpl-2.0
8,419
/* *************************************************************************** * Ralink Tech Inc. * 4F, No. 2 Technology 5th Rd. * Science-based Industrial Park * Hsin-chu, Taiwan, R.O.C. * * (c) Copyright 2002, Ralink Technology, Inc. * * All rights reserved. Ralink's source code is an unpublished work and t...
jchuang1977/openwrt
package/lean/mt/drivers/mt_wifi/src/mt_wifi/embedded/ap/ap_wds_inf.c
C
gpl-2.0
2,958
/* * lib/reed_solomon/decode_rs.c * * Overview: * Generic Reed Solomon encoder / decoder library * * Copyright 2002, Phil Karn, KA9Q * May be used under the terms of the GNU General Public License (GPL) * * Adaption to the kernel by Thomas Gleixner (tglx@linutronix.de) * * $Id: decode_rs.c,v 1.1.1.1 2010/0...
sancome/linux-3.x
lib/reed_solomon/decode_rs.c
C
gpl-2.0
6,961
#include <linux/bootmem.h> #include <linux/linkage.h> #include <linux/bitops.h> #include <linux/kernel.h> #include <linux/module.h> #include <linux/percpu.h> #include <linux/string.h> #include <linux/delay.h> #include <linux/sched.h> #include <linux/init.h> #include <linux/kgdb.h> #include <linux/smp.h> #include <linux...
weritos666/Vee7
arch/x86/kernel/cpu/common.c
C
gpl-2.0
31,828
/** * @file * * @brief Set Time of Clock * @ingroup POSIXAPI */ /* * COPYRIGHT (c) 1989-2007. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be * found in the file LICENSE in this distribution or at * http://www.rtems.com/license/LICENSE. */...
heshamelmatary/rtems-gsoc2013
cpukit/posix/src/clocksettime.c
C
gpl-2.0
1,287
/* * Bitbanging I2C bus driver using the GPIO API * * Copyright (C) 2007 Atmel Corporation * * 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. */ #include <linux/i2c.h> #include ...
mifl/android_kernel_pantech_p9090
drivers/i2c/busses/i2c-gpio.c
C
gpl-2.0
5,678
/* * acpi_thermal.c - ACPI Thermal Zone Driver ($Revision: 40 $) * * Copyright (C) 2001, 2002 Andy Grover <andrew.grover@intel.com> * Copyright (C) 2001, 2002 Paul Diefenbaugh <paul.s.diefenbaugh@intel.com> * * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * * This program is fr...
sensysnetworks/uClinux
linux-2.4.x/drivers/acpi/thermal.c
C
gpl-2.0
33,130
#include <stdio.h> #include <string.h> #include <stdlib.h> #include <sched.h> #include <time.h> #include <rk_api.h> #define MAX_RESOURCE_SET_NAME_LEN 20 #define MEGABYTE (1024*1024UL) int main(int argc, char *argv[]){ int i; int rd; if (argc < 2) { printf("show_reserve_info: needs rd\n"); return -1; } rd =...
leeymcj/linuxrk-tk1
mcrkmod/utils/mem-reserve/show_mem_reserve_info.c
C
gpl-2.0
436
/* 2-D shot gather multiple prediction (SRME) The axes in the input are {offset,shot,frequency} The axes in the output are {prediction(if stack=n),offset,shot,frequency} */ /* Copyright (C) 2009 University of Texas at Austin This program is free software; you can redistribute it and/or modify it under the ter...
TobbeTripitaka/src
user/yliu/Mmultiple.c
C
gpl-2.0
8,217
/* SPDX-License-Identifier: LGPL-2.1+ */ /*** Copyright © 2013 Intel Corporation Authors: Nathaniel Chen <nathaniel.chen@intel.com> ***/ #include <dirent.h> #include <errno.h> #include <fcntl.h> #include <stdio.h> #include <stdio_ext.h> #include <stdlib.h> #include <string.h> #include "alloc-util.h" #incl...
whot/systemd
src/core/smack-setup.c
C
gpl-2.0
14,369
/* Definitions for GCC. Part of the machine description for CRIS. Copyright (C) 1998-2013 Free Software Foundation, Inc. Contributed by Axis Communications. Written by Hans-Peter Nilsson. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU Genera...
Hellybean/SaberMod_ROM_Toolchain
gcc/config/cris/cris.c
C
gpl-2.0
127,774
/*------------------------------------------------------------------------------ © A J S Hamilton 2001 ------------------------------------------------------------------------------*/ #include "manglefn.h" /*------------------------------------------------------------------------------ Parse option <fopt> to -f<fopt...
jgagneastro/FireHose_OLD
3-XIDL/23-XIDL/idlutils/src/mangle2.2/src/parse_fopt.c
C
gpl-2.0
4,009
/* Copyright (C) 2009 ST-Ericsson SA * Copyright (C) 2009 STMicroelectronics * * 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...
cocafe/i9070_kernel_CoCore_Refresh
drivers/usb/musb/stm_musb_dma.c
C
gpl-2.0
20,289
/* * linux/drivers/mmc/core/core.c * * Copyright (C) 2003-2004 Russell King, All Rights Reserved. * SD support Copyright (C) 2004 Ian Molton, All Rights Reserved. * Copyright (C) 2005-2008 Pierre Ossman, All Rights Reserved. * MMCv4 support Copyright (C) 2006 Philip Langdale, All Rights Reserved. * * This ...
itgb/opCloudRouter
qca/src/linux/drivers/mmc/core/core.c
C
gpl-2.0
81,779
/* * Copyright (c) 2001-2003 Swedish Institute of Computer Science. * All rights reserved. * * Copyright (c) 2001, 2002, 2003 Xilinx, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * ar...
abantam/pmtud
nsc/lwip-HEAD/contrib/ports/v2pro/netif/xemacif.c
C
gpl-2.0
16,258
/* * Copyright (c) International Business Machines Corp., 2009 * Some wrappers for clone functionality. Thrown together by Serge Hallyn * <serue@us.ibm.com> based on existing clone usage in ltp. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Publi...
chenhuacai/ltp
lib/cloner.c
C
gpl-2.0
4,841
/* Gpredict: Real-time satellite tracking and orbit prediction program Copyright (C) 2001-2017 Alexandru Csete, OZ9AEC. 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 o...
mstfkaratas/gpredict
src/sat-pref-conditions.c
C
gpl-2.0
14,986
/* Write a function that receives the root of a binary tree and traverses * the tree doing zig zags, printing each node along the way. * EXAMPLE * For this tree: * * 1 * / \ * / \ * / \ * 2 3 * / \ / \ * 4 5 6 7 * / \ * 8 9 ...
jindal25/interview-questions
trees_graphs/zig_zag/solution.c
C
gpl-2.0
2,399
/* this file is part of atril, a mate document viewer * * Copyright (C) 2008 Carlos Garcia Campos <carlosgc@gnome.org> * * Atril 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 L...
monsta/atril
libdocument/ev-page.c
C
gpl-2.0
1,576
/* $Header: /cvsroot/lesstif/lesstif/test/Xm/dynamic_drag/transfer_bitmap.c,v 1.2 2001/05/23 14:03:36 amai Exp $ */ #include <Xm/Xm.h> #include <Xm/DragDrop.h> extern GC gc; void transfer_bitmap(w, closure, seltype, type, value, length, format) Widget w; XtPointer closure; Atom *seltype; ...
melanj/lesstif
test/Xm/dynamic_drag/transfer_bitmap.c
C
gpl-2.0
2,010
/* packet-hclnfsd.c * Routines for hclnfsd (Hummingbird NFS Daemon) dissection * Copyright 2001, Mike Frisch <frisch@hummingbird.com> * * $Id$ * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * Copyright 1998 Gerald Combs * * Copied from packet-ypserv.c * * This program is f...
masonh/wireshark
epan/dissectors/packet-hclnfsd.c
C
gpl-2.0
24,413
/* * ACPI implementation * * Copyright (c) 2006 Fabrice Bellard * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License version 2 as published by the Free Software Foundation. * * This library is distributed in the hope that it wi...
jamieiles/qemu
hw/acpi_piix4.c
C
gpl-2.0
15,623
/* SANE - Scanner Access Now Easy. Copyright (C) 2007-2009 Nicolas Martin, <nicols-guest at alioth dot debian dot org> Copyright (C) 2006-2007 Wittawat Yamwong <wittawat@web.de> Copyright (C) 2011-2012 Rolf Bensch <rolf at bensch hyphen online dot de> This file is part of the SANE package. This progra...
rudimeier/sane-backends
backend/pixma_mp810.c
C
gpl-2.0
70,514
/* * Freescale STMP37XX/STMP378X Real Time Clock driver * * Copyright (c) 2007 Sigmatel, Inc. * Peter Hartley, <peter.hartley@sigmatel.com> * * Copyright 2008 Freescale Semiconductor, Inc. All Rights Reserved. * Copyright 2008 Embedded Alley Solutions, Inc All Rights Reserved. * Copyright 2011 Wolfram Sang, Pen...
IxLabs/lguest64
drivers/rtc/rtc-stmp3xxx.c
C
gpl-2.0
7,778
/* * COPYRIGHT * * PCB, interactive printed circuit board design * Copyright (C) 1994,1995,1996, 2005 Thomas Nau * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Fou...
alyoshin/geda-pcb
src/change.c
C
gpl-2.0
63,650
/* * parse.c * * Copyright (C) Charles 'Buck' Krasic - April 2000 * Copyright (C) Erik Walthinsen - April 2000 * * This file is part of libdv, a free DV (IEC 61834/SMPTE 314M) * codec. * * libdv is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser Public ...
petterreinholdtsen/cinelerra-hv
quicktime/thirdparty/libdv-0.104/libdv/parse.c
C
gpl-2.0
27,592
// $Id$ --*- c -*-- // Copyright (C) 2004 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> // Copyright (C) 2006 Daniel Hokka Zakrisson // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Fou...
linux-vserver/util-vserver
lib/syscall_getspacemask.c
C
gpl-2.0
1,409
/* * Copyright (c) 2013-2015, 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 ...
shminer/android_kernel_lge_f460
sound/soc/msm/qdsp6v2/q6lsm.c
C
gpl-2.0
31,289
/* * MIPS SPRAM support * * 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. * * Copyright (C) 2007, 2008 MIPS Tech...
IngenicSemiconductor/kernel-inwatch
arch/mips/kernel/spram.c
C
gpl-2.0
4,782
/* * This file is part of the libsigrok project. * * Copyright (C) 2013 Marc Schink <sigrok-dev@marcschink.de> * Copyright (C) 2019 Gerhard Sittig <gerhard.sittig@gmx.net> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published ...
uwehermann/libsigrok
src/input/csv.c
C
gpl-3.0
57,376
/* Mutation routines */ # include <stdio.h> # include <stdlib.h> # include <math.h> # include "nsga2.h" # include "rand.h" /* Function to perform mutation in a population */ void mutation_pop (population *pop, Global global,int *nrealmut,int *nbinmut) { int i; for (i=0; i<global.popsize; i++) { m...
svn2github/pyopt
pyOpt/pyNSGA2/source/mutation.c
C
gpl-3.0
2,544
/* * This file is part of Cleanflight and Betaflight. * * Cleanflight and Betaflight are free software. You can redistribute * this software and/or modify this software under the terms of the * GNU General Public License as published by the Free Software * Foundation, either version 3 of the License, or (at your ...
kc10kevin/betaflight
src/main/fc/rc_adjustments.c
C
gpl-3.0
33,633