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
#include "mupdf/pdf.h" #include <ft2build.h> #include FT_FREETYPE_H #include FT_ADVANCES_H #define ALLOWED_TEXT_POS_ERROR (0.001f) typedef struct pdf_device_s pdf_device; typedef struct gstate_s gstate; struct gstate_s { /* The first few entries aren't really graphics state things, but * they are recorded here ...
PuzzleFlow/mupdf
source/pdf/pdf-device.c
C
agpl-3.0
38,110
/* * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) * From ASN.1 module "NGAP-IEs" * found in "../support/ngap-r16.4.0/38413-g40.asn" * `asn1c -pdu=all -fcompound-names -findirect-choice -fno-include-deps -no-gen-BER -no-gen-XER -no-gen-OER -no-gen-UPER` */ #include "NGAP_PDUSessionResourceSetupUnsuccessf...
acetcom/nextepc
lib/asn1c/ngap/NGAP_PDUSessionResourceSetupUnsuccessfulTransfer.c
C
agpl-3.0
4,383
/** ****************************************************************************** * @file QSPI/QSPI_ReadWrite_IT/Src/stm32f4xx_it.c * @author MCD Application Team * @version V1.0.3 * @date 29-January-2016 * @brief Main Interrupt Service Routines. * This file provides template fo...
mariobarbareschi/stm32-compiler-docker
STM32Cube_FW_F4_V1.11.0/Projects/STM32469I_EVAL/Examples/QSPI/QSPI_ReadWrite_IT/Src/stm32f4xx_it.c
C
agpl-3.0
5,673
/***************************************************************************** @(#) $RCSfile: tua_as.c,v $ $Name: $($Revision: 1.1.2.3 $) $Date: 2011-09-02 08:46:57 $ ----------------------------------------------------------------------------- Copyright (c) 2008-2011 Monavacon Limited <http://www.monavacon.com...
0x7678/openss7
src/modules/tua_as.c
C
agpl-3.0
4,680
/***************************************************************************** @(#) File: src/drivers/v401p.other.c ----------------------------------------------------------------------------- Copyright (c) 2008-2015 Monavacon Limited <http://www.monavacon.com/> Copyright (c) 2001-2008 OpenSS7 Corporation <ht...
kerr-huang/openss7
src/drivers/v401p.other.c
C
agpl-3.0
87,888
/* Copyright (C) 2001-2020 Artifex Software, Inc. All Rights Reserved. This software is provided AS-IS with no warranty, either express or implied. This software is distributed under license and may not be copied, modified or distributed except as expressly authorized under the terms of the license ...
papyrussolution/OpenPapyrus
Src/OSF/jbig2dec/jbig2_mmr.c
C
agpl-3.0
22,653
/* pngwrite.c - general routines to write a PNG file * * Last changed in libpng 1.6.19 [November 12, 2015] * Copyright (c) 1998-2002,2004,2006-2015 Glenn Randers-Pehrson * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) * (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.) * * This ...
papyrussolution/OpenPapyrus
Src/OSF/LibPNG/pngwrite.c
C
agpl-3.0
67,122
/**************************************************************** * * * Copyright 2009, 2014 Fidelity Information Services, Inc * * * * This source code contains the intellectual property * * of its copyright holder(s), and is made available * * under a license. If you do not know the terms of * *...
CoherentLogic/fis-gtm-netbsd
sr_unix/ojchildioclean.c
C
agpl-3.0
2,985
/* GStreamer Editing Services * Copyright (C) 2009 Edward Hervey <edward.hervey@collabora.co.uk> * 2009 Nokia Corporation * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Founda...
guofengzh/gst-app-dev
t_ext_depreciated/ges-appsrc-clip.c
C
agpl-3.0
5,908
/**************************************************************** * * * Copyright 2001, 2014 Fidelity Information Services, Inc * * * * This source code contains the intellectual property * * of its copyright holder(s), and is made available * * under a license. If you do not know the terms of * *...
CoherentLogic/fis-gtm-netbsd
sr_unix/mu_getlst.c
C
agpl-3.0
5,773
/* * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the Apache License 2.0 (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy * in the file LICENSE in the source distribution or at * https://www.openssl.org/source/l...
FriendSoftwareLabs/friendup
libs-ext/openssl/crypto/evp/e_bf.c
C
agpl-3.0
1,188
/* * Copyright (C) 2015 Martine Lenders <mlenders@inf.fu-berlin.de> * * 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 sys_shell_commands * @{ * * @file * * @author ...
tfar/RIOT
sys/shell/commands/sc_icmpv6_echo.c
C
lgpl-2.1
10,260
/* * Raw Video Codec * Copyright (c) 2001 Fabrice Bellard. * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the Licen...
blstream/OpenVideoHub
libav/libavcodec/raw.c
C
lgpl-2.1
2,385
/* * $Id: lxplib.c,v 1.2 2008/10/24 22:25:45 jbj Exp $ * * LuaExpat: Lua bind for Expat library * * Copyright © 2003-2007 The Kepler Project. * * 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...
ystk/tools-yocto1-rpm
lua/local/lxplib.c
C
lgpl-2.1
16,661
/* * regerror - error-code expansion * * Copyright (c) 1998, 1999 Henry Spencer. All rights reserved. * * Development of this software was funded, in part, by Cray Research Inc., * UUNET Communications Services Inc., Sun Microsystems Inc., and Scriptics * Corporation, none of whom are responsible for the result...
lamby/pkg-swi-prolog
packages/xpce/src/rgx/regerror.c
C
lgpl-2.1
3,530
/* * Copyright (C) 2007-2012 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This l...
mithleshvrts/libvirt-0.10.2
src/util/virnetdevtap.c
C
lgpl-2.1
10,726
/* * Copyright (C) 2010 Red Hat, Inc. * Copyright IBM Corp. 2008 * * lxc_conf.c: config functions for managing linux containers * * Authors: * David L. Leskovec <dlesko at linux.vnet.ibm.com> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser Gener...
jeckersb/libvirt
src/lxc/lxc_conf.c
C
lgpl-2.1
7,606
/* * File: condvar5.c * * * -------------------------------------------------------------------------- * * Pthreads-win32 - POSIX Threads Library for Win32 * Copyright(C) 1998 John E. Bossom * Copyright(C) 1999,2005 Pthreads-win32 contributors * * Contact Email: rpj@callisto.canberra.edu....
VFR-maniac/pthreads-win32
tests/condvar5.c
C
lgpl-2.1
4,278
/* Feel free to use this example code in any way you see fit (Public Domain) */ #include <sys/types.h> #ifndef _WIN32 #include <sys/select.h> #include <sys/socket.h> #else #include <winsock2.h> #endif #include <microhttpd.h> #include <stdio.h> #include <string.h> #include <stdlib.h> #if defined(_MSC_VER) && _MSC_V...
svn2github/libmicrohttpd
doc/examples/simplepost.c
C
lgpl-2.1
4,889
/* Copyright (C) 2018 Fredrik Johansson This file is part of Arb. Arb is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (LGPL) as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) ...
fredrik-johansson/arb
arb/approx_dot.c
C
lgpl-2.1
16,893
/* * Clutter. * * An OpenGL based 'interactive canvas' library. * * Authored By Matthew Allum <mallum@openedhand.com> * * Copyright (C) 2008 OpenedHand * * 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...
rkudiyarov/clutter_osx
clutter/cogl/pango/cogl-pango-render.c
C
lgpl-2.1
22,112
/****************************** Module Header ******************************\ * * Module Name: _pmfddlg.c * * PM helper functions sample - file/directory dialog related code * * Copyright (c) WPS Toolkit Project - Christian Langanke 2004 * * $Id: _pmfddlg.c,v 1.1 2008-12-22 18:12:51 cla Exp $ * * ======================...
OS2World/LIB-WPS-wpstk
samples/pm/_pmfddlg.c
C
lgpl-2.1
6,090
// $RCSfile: rexxpipe.c,v $ // $Title: RexxIPC named pipes API. $ // Copyright (c) Serge Brisson 1994, 1995. #define INCL_RXFUNC #define INCL_DOSFILEMGR #define INCL_DOSNMPIPES #define INCL_DOSERRORS #include <rexxsaa.h> #define __TILED__ #include <stdlib.h> #include <string.h> #include "rxapiutl.h" #include "rexxi...
OS2World/LIB-REXX-RexxIPC
rexxpipe.c
C
lgpl-2.1
24,909
/* ________ _____ ____________ ___ __ )____ ___ /_______ ___/_ /__________________ _______ ___ __ __ |_ / / / __/ _ \____ \_ __/_ ___/ _ \ __ `/_ __ `__ \ _ /_/ /_ /_/ // /_ / __/___/ // /_ _ / / __/ /_/ /_ / / / / / /_____/ _\__, / \__/ \___//____/ \__/ /_/ \___/\__,...
simpleigh/bytestream.c
tests/stream.c
C
lgpl-2.1
6,627
/* * Copyright (C) 2010 Stefan Walter * * This program 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 progra...
stefwalter/gcr
ui/gcr-key-widget.c
C
lgpl-2.1
5,977
/* * Copyright (c) 2012-2015 Red Hat. * Copyright (c) 2000,2004,2005 Silicon Graphics, Inc. All Rights Reserved. * * 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...
prasincs/pcp
src/libpcp/src/auxconnect.c
C
lgpl-2.1
35,861
#include <stdio.h> #define MONTHS 12 #define YEARS 5 int main(void) { const float rain[YEARS][MONTHS] = { {4.3, 4.3, 4.3, 3.0, 2.0, 1.2, 0.2, 0.2, 0.4, 2.4, 3.5, 6.6}, {8.5, 8.2, 1.2, 1.6, 2.4, 0.0, 5.2, 0.9, 0.3, 0.9, 1.4, 7.3}, {9.1, 8.5, 6.7, 4.3, 2.1, 0.8, 0.2, 0.2, 1.1, 2.3, 6.1, 8.4}, {7.2, 9.9, 8....
wcnnbdk1/hello_world
CLearning/CPrimerPlus/chap10/rain.c
C
lgpl-2.1
1,142
/* ********************************************************** * Copyright (c) 2011-2012 Google, Inc. All rights reserved. * **********************************************************/ /* * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following ...
stden/drmemory
dynamorio/ext/drsyms/drsyms_linux.c
C
lgpl-2.1
9,576
/** ****************************************************************************** * @file stm32f4xx_dcmi.c * @author MCD Application Team * @version V1.7.0 * @date 22-April-2016 * @brief This file provides firmware functions to manage the following * functionalities of the DCMI ...
HardWrMan/SuperDumperFW
lib/STM32F4xx_StdPeriph_Driver/src/stm32f4xx_dcmi.c
C
lgpl-3.0
18,781
/* * vim:expandtab:shiftwidth=8:tabstop=8: * * Copyright CEA/DAM/DIF (2008) * contributeur : Philippe DENIEL philippe.deniel@cea.fr * Thomas LEIBOVICI thomas.leibovici@cea.fr * * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser Gen...
alangenfeld/cloud-nfs
MainNFSD/fuse_binding.c
C
lgpl-3.0
11,895
#ifdef HAVE_CONFIG_H #include "config.h" #endif #include <string.h> #include "posixdb_internal.h" #include "stuff_alloc.h" #include "fsal_types.h" #include "fsal.h" /** * fsal_posixdb_getChildren: * retrieve all the children of a directory handle. * * \param p_conn (input) * Database connection * \param ...
alangenfeld/cloud-nfs
FSAL/FSAL_POSIX/DBExt/PGSQL/posixdb_getChildren.c
C
lgpl-3.0
3,443
/* * Copyright (C) 2011-2017 goblinhack@gmail.com * * See the LICENSE file for license. */ #include "python.h" #include "main.h" #include "py_thing.h" PyObject *thing_new_ (PyObject *obj, PyObject *args, PyObject *keywds) { PyObject *py_class = 0; const char *tp_name; long int thing_id = 0; stati...
goblinhack/MundusMeus
src/py_thing.c
C
lgpl-3.0
37,141
/******************************************************************************* * This file is part of mdcore. * Coypright (c) 2010 Pedro Gonnet (gonnet@maths.ox.ac.uk) * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as publis...
stephanmg/mdcore
examples/neon/neon.c
C
lgpl-3.0
12,231
#include <QRect> #include "ORect.h" #include <caml/mlvalues.h> #include <caml/memory.h> #include <cassert> #include "debug.h" ORect::ORect() { DEBUG("%p [0x%lx]->%s\n", this, maybe_obj(), __PRETTY_FUNCTION__); } ORect::~ORect() { DEBUG("%p [0x%lx]->%s\n", this, maybe_obj(), __PRETTY_FUNCTION__); } OQRect:...
mrvn/ocaml-qt5
src/qt5/src/ORect_stubs.c
C
lgpl-3.0
3,386
#include <avr/io.h> #include <util/delay.h> #include <stdio.h> #include "i2c.h" #define TWI_BAUD(F_SYS, F_TWI) ((F_SYS / (2 * F_TWI)) - 5) void starti2c(void) { TWIE.MASTER.CTRLB = TWI_MASTER_SMEN_bm; TWIE.MASTER.BAUD = TWI_BAUD(F_CPU, 10000); TWIE.MASTER.CTRLA = TWI_MASTER_ENABLE_bm; TWIE.MASTER.STATUS = TWI_MAS...
artnavsegda/avrnavsegda
eclipse/xmega/prototype/i2c.c
C
lgpl-3.0
1,288
/* ** $Id$ */ #include "mystring.h" #include "structs.h" #include "textinput_mcc.h" #include "textinput_cfg.h" #include "misc.h" #include "render.h" #include "buffers.h" #ifdef MBX void findurls(struct Data *data) { } AUDIOBASE; #else #include "extensions.h" #include "extedit.h" #include "rev.h" #include "cat.h" ...
amiga-mui/textinput
mcc/string.c
C
lgpl-3.0
117,295
/* * Volume functions * * Copyright (C) 2010-2022, Joachim Metz <joachim.metz@gmail.com> * * Refer to AUTHORS for acknowledgements. * * This program 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 Foundati...
libyal/libfsntfs
libfsntfs/libfsntfs_volume.c
C
lgpl-3.0
94,289
/* * mysql.c * * Copyright (C) 2009-2011 by ipoque GmbH * Copyright (C) 2011-15 - ntop.org * * This file is part of nDPI, an open source deep packet inspection * library based on the OpenDPI and PACE technology by ipoque GmbH * * nDPI is free software: you can redistribute it and/or modify * it under the ter...
dsokoloski/nDPI
src/lib/protocols/mysql.c
C
lgpl-3.0
3,045
#ifdef HAVE_CONFIG_H # include <config.h> #endif #include <limits.h> #include <stdio.h> #include <sys/stat.h> #include <sys/mman.h> #include <fcntl.h> #include <unistd.h> #include <errno.h> #include <Eina.h> #include <Eet.h> #include <Ecore.h> #include <Ecore_File.h> #define EFREET_MODULE_LOG_DOM /* no logging in thi...
maikodaraine/EnlightenmentUbuntu
core/efl/src/tests/efreet/efreet_icon_cache_dump.c
C
unlicense
2,755
/* intersperse.c */ /* Alternate a character through an array. */ /* This code is released to the public domain. */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <termios.h> #include <unistd.h> /* Declare an array and fill it with data. */ char myarray[8] = {...
mooseman/pdfpc
intersperse2.c
C
unlicense
1,912
// This code is provided as an example only and is not guaranteed by FTDI. FTDI accept no responsibility for any // issues resulting from its use. The developer of the final application incorporating any parts of this sample // project is responsible for ensuring its safe and correct operation and for any conequenc...
cbrx-fw/ft801
FT_800_main.c
C
unlicense
18,190
/* * Copyright (c) 2016 Intel Corporation * Copyright (c) 2016 Wind River Systems, Inc. * * SPDX-License-Identifier: Apache-2.0 */ /** * @file * * Workqueue support functions */ #include <kernel_structs.h> #include <wait_q.h> #include <spinlock.h> #include <errno.h> #include <stdbool.h> #define WORKQUEUE_TH...
GiulianoFranchetto/zephyr
kernel/work_q.c
C
apache-2.0
2,855
/* Copyright (C) 2017 haniu (niuhao.cn@gmail.com) * * 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...
newser/TitanSDK
platform/source/log/layout/tt_log_layout_syslog3164.c
C
apache-2.0
5,181
#include <stdio.h> #include <string.h> #include <stdlib.h> typedef struct { char robot[110]; } robotic; int main() { int c,n,i,num,pos; char arr[110],b[10]; scanf("%d",&c); robotic lf[110]; while(c--) { scanf("%d",&n); getchar(); num = 0; ...
knroy/Competitive-Programming
UVA/12503 - Robot Instructions.c
C
apache-2.0
1,129
/* * Copyright (c) 2018 Nordic Semiconductor ASA * Copyright (c) 2015 Runtime Inc * * SPDX-License-Identifier: Apache-2.0 */ #include <stdlib.h> #include <string.h> #include "settings_test.h" #include "settings_priv.h" u8_t val8; u16_t val16; u64_t val64; int test_get_called; int test_set_called; int test_comm...
punitvara/zephyr
tests/subsys/settings/nffs/src/settings_test_nffs.c
C
apache-2.0
5,773
/************************************************************************** * FreeDOS 32 Unicode support library * * by Salvo Isaja * * * * Copyright (C)...
easion/os_sdk
libc/libc/unicode/convers.c
C
apache-2.0
2,981
#include <stdio.h> #include <errno.h> #include <stdlib.h> #include <string.h> #include <assert.h> #include <pthread.h> #include "blossom.h" #if defined(__linux__) #include <sched.h> #elif defined(__freebsd__) #include <sys/param.h> #include <sys/cpuset.h> typedef cpuset_t cpu_set_t; #else #error "Need cpu_set_t defini...
dankamongmen/libblossom
src/libblossom/blossom.c
C
apache-2.0
9,972
/* $NetBSD: bsd_strerror.c,v 1.1.1.2.4.1 2014/12/24 00:05:20 riz Exp $ */ #include <config.h> #if !HAVE_STRERROR /* * Copyright (c) 1988 Regents of the University of California. * All rights reserved. * * Redistribution and use in source and binary forms are permitted * provided that the above copyright notice a...
execunix/vinos
external/bsd/ntp/dist/libntp/bsd_strerror.c
C
apache-2.0
1,455
/* $NetBSD: lwdgabn.c,v 1.3 2012/06/05 00:39:01 christos Exp $ */ /* * Copyright (C) 2004-2007, 2009 Internet Systems Consortium, Inc. ("ISC") * Copyright (C) 2000, 2001 Internet Software Consortium. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is he...
execunix/vinos
external/bsd/bind/dist/bin/named/lwdgabn.c
C
apache-2.0
16,881
/* * os init code */ /* Copyright 1987, 1998 The Open Group Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission n...
execunix/vinos
xsrc/external/mit/xfs/dist/os/osinit.c
C
apache-2.0
2,645
/* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); y...
astitcher/qpid-proton-old
proton-c/src/windows/driver.c
C
apache-2.0
23,421
/************************************************************************** * * Copyright 2009 VMware, Inc. * 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 wit...
execunix/vinos
xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/draw/draw_gs.c
C
apache-2.0
31,485
/* +----------------------------------------------------------------------+ | Swoole | +----------------------------------------------------------------------+ | This source file is subject to version 2.0 of the Apache license, | | that is bundl...
LinkedDestiny/swoole-src
src/core/hashmap.c
C
apache-2.0
16,605
/* * %CopyrightBegin% * * Copyright Ericsson AB 1999-2017. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * ...
RaimoNiskanen/otp
erts/emulator/beam/erl_bits.c
C
apache-2.0
48,755
/* * gadgetd-core.c * Copyright (c) 2014 Samsung Electronics Co., Ltd. * * 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 requ...
gadgetd/gadgetd
src/gadgetd-core.c
C
apache-2.0
7,307
/* * blink.c: * Standard "blink" program in wiringPi. Blinks an LED connected * to the first GPIO pin. * * Copyright (c) 2012-2013 Gordon Henderson. <projects@drogon.net> *********************************************************************** * This file is part of wiringPi: * https://projects.drogon.net/raspbe...
RipZ/beerbox
pwm/pwm.c
C
apache-2.0
1,731
// Copyright 2021 The IREE Authors // // Licensed under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception #include "iree/task/api.h" #include <stdbool.h> #include <string.h> #include "iree/base/interna...
google/iree
iree/task/api.c
C
apache-2.0
5,156
/** <!-- * * Copyright (C) 2014 OpenVCX openvcx@gmail.com * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later ve...
openvcx/openvcx
openvsx/src/codecs/mpeg2.c
C
apache-2.0
9,569
/* * %CopyrightBegin% * * Copyright Ericsson AB 1997-2014. All Rights Reserved. * * The contents of this file are subject to the Erlang Public License, * Version 1.1, (the "License"); you may not use this file except in * compliance with the License. You should have received a copy of the * Erlang Public Licens...
mosaic-cloud/mosaic-distribution-dependencies
dependencies/otp/17.1/erts/emulator/drivers/win32/win_efile.c
C
apache-2.0
53,879
/* $NetBSD: deliver_pass.c,v 1.1.1.2 2011/03/02 19:32:13 tron Exp $ */ /*++ /* NAME /* deliver_pass 3 /* SUMMARY /* deliver request pass_through /* SYNOPSIS /* #include <deliver_request.h> /* /* int deliver_pass(class, service, request, recipient) /* const char *class; /* const char *service; /* DELIVER_REQUEST *reque...
execunix/vinos
external/ibm-public/postfix/dist/src/global/deliver_pass.c
C
apache-2.0
7,619
#include <errno.h> #include <stddef.h> #include <string.h> #include "ct-head/log.h" #include "wavfile.h" uint8_t ctss_wavfile_save(const char *path, const int16_t *data, uint32_t rate, uint8_t bits, uint8_t channel...
thi-ng/synstack
src/wavfile.c
C
apache-2.0
2,158
/* Siconos is a program dedicated to modeling, simulation and control * of non smooth dynamical systems. * * Copyright 2016 INRIA. * * 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 * *...
bremond/siconos
numerics/src/LCP/LinearComplementarity_DefaultSolverOptions.c
C
apache-2.0
3,248
#include "W7500x_dualtimer.h" #include "common.h" #include "W7500x_board.h" #include "timerHandler.h" #include "dhcp.h" static volatile uint16_t msec_cnt = 0; static volatile uint8_t sec_cnt = 0; static volatile uint8_t min_cnt = 0; static volatile uint32_t hour_cnt = 0; // For main routine extern uin...
hkjung/REST-web-server-WIZwiki-W7500eco-uVision5
Projects/HTTP_Server_RESTAPI/src/PlatformHandler/timerHandler.c
C
apache-2.0
2,377
/* Copyright 2015 The Ranger <ranger@risk.ee> 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 ...
theranger/mod_vhost_ldapx
src/hook_itk.c
C
apache-2.0
2,104
/* This example code is in the Public Domain (or CC0 licensed, at your option.) Unless required by applicable law or agreed to in writing, this software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ /****************************************...
krzychb/rtd-test-bed
examples/bluetooth/gatt_server/main/gatts_demo.c
C
apache-2.0
33,082
/** * @license Apache-2.0 * * Copyright (c) 2018 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/math/base/special/cround/benchmark/c/benchmark.c
C
apache-2.0
2,883
/* Siconos is a program dedicated to modeling, simulation and control * of non smooth dynamical systems. * * Copyright 2022 INRIA. * * 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 * *...
siconos/siconos
numerics/src/tools/min_merit.c
C
apache-2.0
2,266
/* * Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use * this file except in compliance with the License. A copy of the License is * located at * * http://aws.amazon.com/apache2.0/ * * or in the "licen...
LiberatorUSA/GUCEF
dependencies/aws-c-common/.cbmc-batch/jobs/aws_string_eq_byte_buf_ignore_case/aws_string_eq_byte_buf_ignore_case_harness.c
C
apache-2.0
1,430
/** * @license Apache-2.0 * * Copyright (c) 2021 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/strided/base/binary/src/ti_z_as_zz_z.c
C
apache-2.0
2,663
/* Copyright (c) 2010 by Johannes Lieder Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribu...
hhool/transmission
libtransmission/tr-lpd.c
C
apache-2.0
22,080
/* Safe automatic memory allocation. Copyright (C) 2003, 2006-2007, 2009-2013 Free Software Foundation, Inc. Written by Bruno Haible <bruno@clisp.org>, 2003. 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...
onepremise/Mingle
mingle/libmingle/malloca.c
C
apache-2.0
4,997
/* * %CopyrightBegin% * * Copyright Ericsson AB 2001-2016. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
legoscia/otp
lib/erl_interface/test/ei_print_SUITE_data/ei_print_test.c
C
apache-2.0
6,506
/* * Copyright (c) 2016, 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 notice, this list...
scottdarch/Noer
FRDMK66NoEr/SDK_2.1_FRDM-K66F-GCC-Full/boards/frdmk66f/multiprocessor_examples/erpc_client_matrix_multiply_spi/main_client.c
C
apache-2.0
6,401
/* * VFW capture interface * Copyright (c) 2006-2008 Ramiro Polla * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License...
yangchaojiang/yjPlay
ffmpeg/src/main/jni/ffmpeg/libavdevice/vfwcap.c
C
apache-2.0
14,918
#ifndef lint static char *RCSid() { return RCSid("$Id: set.c,v 1.354.2.6 2013/09/11 23:38:37 sfeam Exp $"); } #endif /* GNUPLOT - set.c */ /*[ * Copyright 1986 - 1993, 1998, 2004 Thomas Williams, Colin Kelley * * Permission to use, copy, and distribute this software and its * documentation for any purpose with ...
wallamejorge/ADSD_ProyectoFinal_VestibulumSensorium
CodigosCBeagleBoneBlack/gnuplot-4.6.4/src/set.c
C
apache-2.0
157,303
January 12, 2018 14:04:10 Library.fmp12 - showSubsectionsInThisSection -1- test: setup: showSubsectionsInThisSection # # Go to Field [ ] #Set all variables needed for performing various #scripts while in test setup mode. If [ $$setupTestSection = "" ] Set Variable [ $$setupTestSection; Value:testSection::_Ltag ] Set Va...
HelpGiveThanks/Library
scripts/test/setup/showSubsectionsInThisSection.c
C
apache-2.0
1,912
#include <netinet/in.h> #include <stdio.h> #include <stdlib.h> #include <strings.h> #include <unistd.h> #include "myutil.h" #include "simpleEchoTCPServer.h" #define MSG_SIZE 6 int main() { // create socket int sd = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); if(sd == -1) { perror("failed to create...
cyberroadie/sctp-examples
simple/c/tcp/server/simpleEchoTCPServer.c
C
bsd-2-clause
1,764
#define TESTTT 0x1234 #ifdef ENABLE_QAC_TEST #pragma PRQA_MESSAGES_OFF 0292 #endif /********************************************************************************************************************* * Library : Data Flash Access Library for Renesas RH850 devices * * File Name : $Source: r_fdl_hw_ac...
bk1472/rh850_osek
prj/fbl/CBD1500748_D04_Rh850/BSW/Flash_XD1/FlashLib/r_fdl_hw_access.c
C
bsd-2-clause
113,112
/** @file FSP 1.1 support library functions Copyright (c) 2016, Intel Corporation. All rights reserved.<BR> This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license ma...
LeeLeahy/quarkfsp
Library/Fsp1_1Lib/Fsp1_1Lib.c
C
bsd-2-clause
9,029
/* * Copyright (c) 2010, Andrea Mazzoleni. 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 c...
amadvance/tommyds
tommyds/tommyhashlin.c
C
bsd-2-clause
9,740
#define JEMALLOC_HUGE_C_ #include "jemalloc/internal/jemalloc_internal.h" /******************************************************************************/ static extent_node_t * huge_node_get(const void *ptr) { extent_node_t *node; node = chunk_lookup(ptr, true); assert(!extent_node_achunk_get(node)); return (n...
lvfeng1130/jemalloc
src/huge.c
C
bsd-2-clause
11,016
#include "stack.h" #include <assert.h> #include <limits.h> #include <stdio.h> #include <stdlib.h> int main(void) { struct stack_node *n; struct stack *s; int i; int item; int vals[10] = { 2, 0, -1, 5, 6, 2, 7, 9, 100, -40 }; /* test make_node() */ n = NUL...
jrgoldfinemiddleton/data-structures-c
stack/main.c
C
bsd-2-clause
1,280
/* Copyright (c) 2012, Broadcom Europe Ltd. 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 ...
beyondscreen/rpi_ws281x
mailbox.c
C
bsd-2-clause
7,911
/* * Scriptable, asynchronous network packet generator/analyzer. * * Copyright (c) 2015, Alessandro Ghedini * 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...
ghedo/pktizr
src/netdev.c
C
bsd-2-clause
3,035
/****************************************************************************** * * Module Name: aslmessages.c - Compiler error/warning message strings * *****************************************************************************/ /****************************************************************************** *...
cmsd2/ChrisOS
libs/acpica/source/compiler/aslmessages.c
C
bsd-2-clause
24,945
/*- * Copyright (c) 2001 Michael Smith * 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 condi...
MarginC/kame
freebsd5/sys/dev/ciss/ciss.c
C
bsd-3-clause
100,089
/* This file is part of the YAZ toolkit. * Copyright (C) 1995-2013 Index Data * See the file LICENSE for details. */ /** * \file timing.c * \brief Timing Utilities */ #if HAVE_CONFIG_H #include <config.h> #endif #ifdef WIN32 #include <windows.h> #endif #include <stdlib.h> #if HAVE_SYS_TIMES_H #include <sys/ti...
nla/yaz
src/timing.c
C
bsd-3-clause
3,365
/* --------------------------------------------------------------- */ /* The HMM-Based Speech Synthesis System (HTS): version 1.1b */ /* HTS Working Group */ /* */ /* Department ...
minigeek/MMDAgent
Library_Flite/src/cg/cst_mlsa.c
C
bsd-3-clause
17,872
#include "compiler.h" #include "inputmng.h" #include "taskmng.h" #include "sdlkbd.h" #include "vramhdl.h" #include "menubase.h" #include "sysmenu.h" BOOL task_avail; void sighandler(int signo) { (void)signo; task_avail = FALSE; } void taskmng_initialize(void) { task_avail = TRUE; } void taskmng_exit(void) ...
masaki-furuta/xnp2
src/sdl2/taskmng.c
C
bsd-3-clause
1,877
/* $KAME: radix_art.c,v 1.16 2007/06/14 12:09:42 itojun Exp $ */ /* $NetBSD: radix.c,v 1.14 2000/03/30 09:45:38 augustss Exp $ */ /* * Copyright (C) 2000 WIDE Project. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the foll...
MarginC/kame
kame/sys/net/radix_art.c
C
bsd-3-clause
29,325
/* -*- Mode: C; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * memcached - memory caching daemon * * http://www.danga.com/memcached/ * * Copyright 2003 Danga Interactive, Inc. All rights reserved. * * Use and distribution licensed under the BSD license. See * the LICENSE file for...
abhinavdangeti/memcached
daemon/memcached.c
C
bsd-3-clause
228,702
/* linux/arch/arm/mach-s3c2410/clock.c * * Copyright (c) 2004-2005 Simtec Electronics * Ben Dooks <ben@simtec.co.uk> * * S3C2410 Clock control support * * Based on, and code from linux/arch/arm/mach-versatile/clock.c ** ** Copyright (C) 2004 ARM Limited. ** Written by Deep Blue Solutions Limited. * * * T...
ut-osa/syncchar
linux-2.6.16-unmod/arch/arm/mach-s3c2410/clock.c
C
bsd-3-clause
9,896
/* * Copyright (c) 2012-2017, RISE SICS AB * 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 c...
nvt/veloxvm
core/expr-list.c
C
bsd-3-clause
11,446
/********************************************************************* * Copyright 1993, UCAR/Unidata * See netcdf/COPYRIGHT file for copying and redistribution conditions. * $Header: /upc/share/CVS/netcdf-3/ncgen/genj.c,v 1.2 2010/05/17 23:26:44 dmh Exp $ *****************************************************...
gnu3ra/SCC15HPCRepast
INSTALLATION/netcdf-4.2.1.1/ncgen/genj.c
C
bsd-3-clause
17,270
/* $OpenBSD: cast.c,v 1.2 2000/06/06 06:49:47 deraadt Exp $ */ /*- * CAST-128 in C * Written by Steve Reid <sreid@sea-to-sky.net> * 100% Public Domain - no warranty * Released 1997.10.11 */ #include <sys/cdefs.h> __FBSDID("$FreeBSD: releng/9.3/sys/opencrypto/cast.c 171238 2007-07-05 06:59:14Z peter $")...
dcui/FreeBSD-9.3_kernel
sys/opencrypto/cast.c
C
bsd-3-clause
8,005
/* * (c) copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands. * See the copyright notice in the ACK home directory, in the file "Copyright". * * * Module: CARDINAL operations with overflow checking * Author: Ceriel J.H. Jacobs * Version: $Header: /cvsup/minix/src/lib/ack/libm2/ucheck.c,v 1.1 200...
EchoLiao/minix-study
lib/ack/libm2/ucheck.c
C
bsd-3-clause
1,129
/* $FreeBSD: src/sys/alpha/tlsb/mcclock_tlsb.c,v 1.7 2000/03/18 07:46:34 mjacob Exp $ */ /* $NetBSD: mcclock_tlsb.c,v 1.8 1998/05/13 02:50:29 thorpej Exp $ */ /* * Copyright (c) 1997, 2000 by Matthew Jacob * NASA AMES Research Center. * All rights reserved. * * Redistribution and use in source and binary forms, w...
MarginC/kame
freebsd5/sys/alpha/tlsb/mcclock_tlsb.c
C
bsd-3-clause
3,796
// Copyright (c) 2013, Thomas L. Falch // For conditions of distribution and use, see the accompanying LICENSE and README files // This file is a part of the Scattered Point Visualization application // developed at the Norwegian University of Science and Technology #include <stdlib.h> #include <stdio.h> #include <a...
acelster/scatter-pt-viz
test.c
C
bsd-3-clause
13,404
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE78_OS_Command_Injection__char_console_popen_67b.c Label Definition File: CWE78_OS_Command_Injection.one_string.label.xml Template File: sources-sink-67b.tmpl.c */ /* * @description * CWE: 78 OS Command Injection * BadSource: console Read input from the console...
JianpingZeng/xcc
xcc/test/juliet/testcases/CWE78_OS_Command_Injection/s02/CWE78_OS_Command_Injection__char_console_popen_67b.c
C
bsd-3-clause
2,069
/* $Id$ */ /* "compression module */ /*****************************************************************************/ /* */ /* The compression software is a python module implemented in C that, when */ /* accessed through the pyfits module, s...
spacetelescope/PyFITS
src/compressionmodule.c
C
bsd-3-clause
37,153