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 |
|---|---|---|---|---|---|
/* ide-runner.c
*
* Copyright © 2016 Christian Hergert <chergert@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, either version 3 of the License, or
* (at your option) any l... | albfan/gnome-builder | src/libide/runner/ide-runner.c | C | gpl-3.0 | 37,892 |
/*
* gnome-keyring
*
* Copyright (C) 2011 Collabora Ltd.
*
* 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 versi... | chriskmanx/qmole | QMOLEDEV/gnome-keyring-3.1.4/pkcs11/gkm/gkm-generic-key.c | C | gpl-3.0 | 5,593 |
#include <stdio.h>
/*
Pattern
isDsPresent, TempL, TempH, Config, CRC
*/
#define PRESENCE_FLAG 0
#define MATCH_DSID_FLAG 1
#define MATCH_CRC_FLAG 2
#define PRESENT_FAN_FLAG 3
#define FAN_ON 4
#define ALARM_ON 5
#define STX 0x02
#define ETX 0x03
#define SIZEBUF 8
typedef enum _bool {false=0, true=1} bool;
typedef str... | pworkshop/FanReg | tools/ch2code.c | C | gpl-3.0 | 3,561 |
//===========================================================================
//
// w_cosh.c
//
// Part of the standard mathematical function library
//
//===========================================================================
//####ECOSGPLCOPYRIGHTBEGIN####
// -------------------------------------------
... | luebbers/reconos | core/ecos/ecos-patched/ecos/packages/language/c/libm/current/src/double/ieee754-api/w_cosh.c | C | gpl-3.0 | 3,434 |
/*
* Support for the GPIO/IRQ expander chips present on several HTC phones.
* These are implemented in CPLD chips present on the board.
*
* Copyright (c) 2007 Kevin O'Connor <kevin@koconnor.net>
* Copyright (c) 2007 Philipp Zabel <philipp.zabel@gmail.com>
*
* This file may be distributed under the terms of the G... | williamfdevine/PrettyLinux | drivers/gpio/gpio-htc-egpio.c | C | gpl-3.0 | 11,206 |
/* Pcsx - Pc Psx Emulator
* Copyright (C) 1999-2003 Pcsx 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 vers... | SonofUgly/PCSX-Reloaded | win32/gui/ConfigurePlugins.c | C | gpl-3.0 | 21,275 |
/**
* output.c
* Author: Jan Viktorin <xvikto03 (at) stud.fit.vutbr.cz>
*
* 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) an... | jviki/kcpsm3 | src/output.c | C | gpl-3.0 | 1,980 |
/**
******************************************************************************
* File Name : USB_OTG.c
* Description : This file provides code for the configuration
* of the USB_OTG instances.
***********************************************************************... | SL-RU/osfi-z | hw/z1/Src/usb_otg.c | C | gpl-3.0 | 5,106 |
/******************************************************************************
*
* Module Name: exresnte - AML Interpreter object resolution
*
*****************************************************************************/
/*
* Copyright (C) 2000 - 2016, Intel Corp.
* All rights reserved.
*
* Redistribution an... | williamfdevine/PrettyLinux | drivers/acpi/acpica/exresnte.c | C | gpl-3.0 | 8,730 |
#include <stdio.h>
#include <stdlib.h>
#include "recpt1core.h"
#include "version.h"
#include <sys/poll.h>
#include <linux/dvb/dmx.h>
#include <linux/dvb/frontend.h>
#define ISDB_T_NODE_LIMIT 24 // 32:ARIB limit 24:program maximum
#define ISDB_T_SLOT_LIMIT 8
/* globals */
boolean f_exit = FALSE;
char bs_channe... | inn1983/recdvb | recpt1core.c | C | gpl-3.0 | 5,977 |
/*
* Copyright (c) 2000-2003 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 License, or (at your option) ... | AirStash/AirStashPlayer | extra/ffmpeg/ffmpeg.c | C | gpl-3.0 | 159,586 |
/*
* mpatrol
* A library for controlling and tracing dynamic memory allocations.
* Copyright (C) 1997-2008 Graeme S. Roy <graemeroy@users.sourceforge.net>
*
* 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 F... | groleo/mpatrol | tools/dmalloc.c | C | gpl-3.0 | 22,466 |
// Copyright 2011-2014 Mars Saxman
//
// 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 software for any purpose,
// including commercia... | marssaxman/radian | runtime/containers/list-single.c | C | gpl-3.0 | 8,669 |
/**
******************************************************************************
* @file usb_hcd_int.c
* @author MCD Application Team
* @version V2.0.0
* @date 22-July-2011
* @brief Host driver interrupt subroutines
************************************************************************... | autosportlabs/uubt | src/STM32F4-Discovery_FW_V1.0.1/Libraries/STM32_USB_OTG_Driver/src/usb_hcd_int.c | C | gpl-3.0 | 22,265 |
/*
Mantis PCI bridge driver
Copyright (C) Manu Abraham (abraham.manu@gmail.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; either version 2 of the License, or
(at your option) any later v... | williamfdevine/PrettyLinux | drivers/media/pci/mantis/mantis_dma.c | C | gpl-3.0 | 6,371 |
/**
******************************************************************************
* @file DMA2D/DMA2D_RegToMemWithLCD/Src/stm32f4xx_it.c
* @author MCD Application Team
* @version V1.1.0
* @date 17-February-2017
* @brief Main Interrupt Service Routines.
* This file provides templ... | TRothfelder/Multicopter | libs/STM32Cube_FW_F4_V1.16.0/Projects/STM32469I_EVAL/Examples/DMA2D/DMA2D_RegToMemWithLCD/Src/stm32f4xx_it.c | C | gpl-3.0 | 6,309 |
/* GnuTLS glue for GNU Emacs.
Copyright (C) 2010-2014 Free Software Foundation, Inc.
This file is part of GNU Emacs.
GNU Emacs is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, ... | jockej/guile-emacs | src/gnutls.c | C | gpl-3.0 | 40,615 |
/* Minibuffer input and completion.
Copyright (C) 1985-1986, 1993-2013 Free Software Foundation, Inc.
This file is part of GNU Emacs.
GNU Emacs is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 o... | jave/xwidget-emacs | src/minibuf.c | C | gpl-3.0 | 71,982 |
//********************************************************************************************
//*
//* This file is part of Egoboo.
//*
//* Egoboo 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... | penguinflyer5234/egoboo | egolib/src/egolib/Lua/lua_console.c | C | gpl-3.0 | 8,551 |
/**
******************************************************************************
* @file usb_endp.c
* @author MCD Application Team
* @version V4.0.0
* @date 21-January-2013
* @brief Endpoint routines
******************************************************************************
* @att... | derElektrobesen/ecg_analizer | src/usb_endp.c | C | gpl-3.0 | 3,619 |
/*
SSSD
nsssrv_netgroup.c
Authors:
Stephen Gallagher <sgallagh@redhat.com>
Copyright (C) 2010 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 ver... | sgallagher/sssd | src/responder/nss/nsssrv_netgroup.c | C | gpl-3.0 | 35,079 |
/*
* Parser.c
*
* Created on: Aug 26, 2017
* Author: maanu
*/
#include "Main.h"
#include "Lexer.h"
#include "Parser.h"
/*
* <program> ::= <statement>
* <statement> ::= <id> = <expr>
* | <expr>
* <expr> ::= <str>
* | <func>(<expr>)
* | <addtive_expr>
* <multiplicative_expr> ... | navilera/Hexane | src/Parser.c | C | gpl-3.0 | 5,974 |
/* Test of dropping uid/gid privileges of the current process permanently.
Copyright (C) 2009-2014 Free Software Foundation, 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 ve... | Distrotech/coreutils | gnulib/tests/test-idpriv-drop.c | C | gpl-3.0 | 3,389 |
/**
* This module implements the unit tests for AT Client API.
*
* Copyright (C) Sierra Wireless Inc.
*
*/
#include "legato.h"
#include "interfaces.h"
#include "defs.h"
//--------------------------------------------------------------------------------------------------
/**
* Client timeout in seconds
*/
//----... | legatoproject/legato-af | apps/test/atServices/atClientUnitTest/main.c | C | mpl-2.0 | 10,860 |
/*
* Copyright (C) 2002-2016 Internet Systems Consortium, Inc. ("ISC")
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
/*! \file */
#include <config.h>
#i... | tjaalton/bind9 | lib/isccfg/namedconf.c | C | mpl-2.0 | 107,705 |
# include <worldlib.h>
# include <worldlib/proximity.h>
# include <devlib.h>
# include <type.h>
# include <data.h>
/*
* This keeps track of forward and reverse relations between objects and
* object details. This replaces the PLACEMENT_D service. By distributing
* this, we can scale to larger worlds and not run int... | jgsmith/second-contract | mud/usr/WorldLib/lib/comp/relations.c | C | agpl-3.0 | 10,335 |
#include "util.h"
#include "ihm.h"
int main ( int argc, char *argv[] )
{
static const char* database_filename = "data.db";
char *mot, *nom_joueur;
short choix, nombre_tours, numero_tour, score = 0;
short numero_mot_courant = 0;
LISTE_MOT *liste_mots;
TABLEAU_SCORE *tableau_scores_1, *tableau_... | pythoniste/jeu_du_pendu | main.c | C | agpl-3.0 | 2,933 |
/* -*- Mode: c; c-basic-offset: 4; indent-tabs-mode: t; tab-width: 8; -*- */
/* cairo - a vector graphics library with display and print output
*
* Copyright � 2008 Mozilla Corporation
*
* This library is free software; you can redistribute it and/or
* modify it either under the terms of the GNU Lesser General Pub... | papyrussolution/OpenPapyrus | Src/OSF/CAIRO-1160/SRC/cairo-quartz-font.c | C | agpl-3.0 | 27,866 |
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
* soup-request.c: Protocol-independent streaming request interface
*
* Copyright (C) 2009, 2010 Red Hat, Inc.
* Copyright (C) 2010, Igalia S.L.
*
* This library is free software; you can redistribute it and/or
* modify it under the te... | ahmedammar/platform_external_gst_libsoup | libsoup/soup-request.c | C | lgpl-2.1 | 7,338 |
/*
* LPC 2000 Loader, http://www.pjrc.com/arm/lpc2k_pgm
* Copyright (c) 2004, PJRC.COM, LLC, <paul@pjrc.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; either version 2
* of the Li... | patacongo/RIOT | boards/msba2-common/tools/src/ihex.c | C | lgpl-2.1 | 6,657 |
/* folder/index testing */
#include <string.h>
#include "camel-test.h"
#include "camel-test-provider.h"
#include "messages.h"
#include "folders.h"
#include "session.h"
#include "camel/camel-exception.h"
#include "camel/camel-service.h"
#include "camel/camel-store.h"
#include "camel/camel-folder.h"
#include "camel/c... | community-ssu/evolution-data-server | camel/tests/folder/test9.c | C | lgpl-2.1 | 7,943 |
/*
* ion/de/draw.c
*
* Copyright (c) Tuomo Valkonen 1999-2009.
*
* See the included file LICENSE for details.
*/
#include <string.h>
#include <limits.h>
#include <ioncore/global.h>
#include <ioncore/common.h>
#include <ioncore/gr.h>
#include <ioncore/gr-util.h>
#include "brush.h"
#include "font.h"
#include "pri... | neg-serg/notion | de/draw.c | C | lgpl-2.1 | 17,469 |
/**
* OpenAL cross platform audio library
* Copyright (C) 1999-2010 by authors.
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your op... | BeamNG/openal-soft | Alc/panning.c | C | lgpl-2.1 | 20,794 |
/*
* Copyright (C) 2021 Grilo Project
*
* 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; version 2.1 of
* the License, or (at your option) any later version.
*
* This library is di... | GNOME/grilo | tests/operations.c | C | lgpl-2.1 | 5,104 |
/* StarPU --- Runtime system for heterogeneous multicore architectures.
*
* Copyright (C) 2012, 2013, 2015 CNRS
*
* StarPU 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 th... | joao-lima/starpu-1.2.0rc2 | mpi/tests/mpi_reduction_kernels.c | C | lgpl-2.1 | 1,964 |
/*
***********************************************************************
*
* (c) Copyright 2008 Armadeus project
* Fabien Marteau <fabien.marteau@armadeus.com>
* Generic driver for Wishbone led IP
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General ... | xcthulhu/periphondemand | src/library/components/led/drivers_templates/armadeus/g_led.c | C | lgpl-2.1 | 9,351 |
/* GStreamer Editing Services Pitivi Formatter
* Copyright (C) 2011-2012 Mathieu Duponchelle <seeed@laposte.net>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version ... | pitivi/gst-editing-services | ges/ges-pitivi-formatter.c | C | lgpl-2.1 | 22,723 |
#include "private-libwebsockets.h"
struct libwebsocket *libwebsocket_client_connect_2(
struct libwebsocket_context *context,
struct libwebsocket *wsi
) {
struct libwebsocket_pollfd pfd;
#ifdef LWS_USE_IPV6
struct sockaddr_in6 server_addr6;
struct sockaddr_in6 client_addr6;
struct addrinfo hints, *result;
#endif
... | GroundControl-Solutions/libwebsockets | lib/client-handshake.c | C | lgpl-2.1 | 12,420 |
/*
* Copyright (C) 2003 Red Hat, Inc.
*
* This is free software; you can redistribute it and/or modify it under
* the terms of the GNU Library General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is dist... | thiagoarrais/console | src/vtexft.c | C | lgpl-2.1 | 24,849 |
//-----------------------------------------------------------------------------
//
// ImageLib Utility Sources
// Copyright (C) 2000-2002 by Denton Woods
// Last modified: 05/25/2002 <--Y2K Compliant! =]
//
// Filename: src-ILU/src/ilu_rotate.c
//
// Description: Rotates an image.
//
//---------------------------------... | balp/DevIL | src-ILU/src/ilu_rotate.c | C | lgpl-2.1 | 11,853 |
#ifdef SH7722_DEBUG_JPEG
#define DIRECT_ENABLE_DEBUG
#endif
#include <stdio.h>
#undef HAVE_STDLIB_H
#include <config.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include <string.h>
#include <stdarg.h>
#include <fcntl.h>
#include <asm/types.h>
#include <direct/debug.h>
#include... | ecbtnrt/my-dfb | gfxdrivers/sh772x/sh7722_jpeg.c | C | lgpl-2.1 | 15,760 |
/** RTAPI is a library providing a uniform API for several real time
operating systems. As of ver 2.0, RTLinux and RTAI are supported.
*/
/********************************************************************
* Description: rtl_rtapi.c
* This file, 'rtl_rtapi.c', implements the realtime
* ... | yishinli/emc2 | src/rtapi/rtl_rtapi.c | C | lgpl-2.1 | 51,380 |
/**
* OpenAL cross platform audio library
* Copyright (C) 1999-2007 by authors.
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your op... | soundsrc/openal-soft | Alc/alcConfig.c | C | lgpl-2.1 | 8,761 |
/**
@file dsmetool.c
Dsmetool can be used to send commands to DSME.
<p>
Copyright (C) 2004-2010 Nokia Corporation.
@author Ismo Laitinen <ismo.laitinen@nokia.com>
@author Semi Malinen <semi.malinen@nokia.com>
This file is part of Dsme.
Dsme is free software; you can redistribute it and/or mo... | spiiroin/dsme | test/dsmetest.c | C | lgpl-2.1 | 4,876 |
/*
* Seahorse
*
* Copyright (C) 2008 Stefan Walter
* Copyright (C) 2011 Collabora Ltd.
*
* 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, o... | ueno/seahorse | libseahorse/seahorse-object.c | C | lgpl-2.1 | 14,856 |
/*
* Copyright (c) 1995-2001,2003 Silicon Graphics, 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
* option) any... | ryandoyle/pcp_original | src/pminfo/pminfo.c | C | lgpl-2.1 | 19,325 |
/*
* anon-int64.c --
*
* int64 anonymization functions.
*
* Numbers are mapped into range [lower, upper] (inclusive). Clearly,
* number of distinct input numbers has to be <= (upper - lower + 1),
* i.e. the total number of distinct numbers we can generate.
*
* Copyright (c) 2005 Juergen Schoenwaelder
*/
#inc... | wikimedia/analytics-libanon | src/anon-int64.c | C | lgpl-2.1 | 9,098 |
/*
* Copyright (C) 2002 Red Hat, Inc.
*
* This is free software; you can redistribute it and/or modify it under
* the terms of the GNU Library General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is dist... | thiagoarrais/console | src/matcher.c | C | lgpl-2.1 | 5,871 |
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- */
/* GdkPixbuf library - Simple animation support
*
* Copyright (C) 1999 The Free Software Foundation
*
* Authors: Jonathan Blandford <jrb@redhat.com>
* Havoc Pennington <hp@redhat.com>
*
* This library is free software; you can... | GNOME/gdk-pixbuf | gdk-pixbuf/gdk-pixbuf-animation.c | C | lgpl-2.1 | 34,978 |
/* namespace object implementation */
#include "Python.h"
#include "structmember.h"
typedef struct {
PyObject_HEAD
PyObject *ns_dict;
} _PyNamespaceObject;
static PyMemberDef namespace_members[] = {
{"__dict__", T_OBJECT, offsetof(_PyNamespaceObject, ns_dict), READONLY},
{NULL}
};
... | Orav/kbengine | kbe/src/lib/python/Objects/namespaceobject.c | C | lgpl-3.0 | 7,807 |
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <pthread.h>
#include <errno.h>
#include "thread_barrier.h"
const thread_barrier_t THREAD_BARRIER_INITIALIZER = {
PTHREAD_COND_INITIALIZER,
PTHREAD_MUTEX_INITIALIZER,
0,
0,
0,
false,
false,
};
int thread_barrier_init(thre... | bravo-t/NN | C/src/thread_barrier.c | C | lgpl-3.0 | 2,467 |
/*
RExOS - embedded RTOS
Copyright (c) 2011-2019, RExOS team
All rights reserved.
author: Alexey E. Kramarenko (alexeyk13@yandex.ru)
*/
#include "ksystime.h"
#include "kernel_config.h"
#include "dbg.h"
#include "kernel.h"
#include <string.h>
#include "../userspace/error.h"
#include "kstdlib.h"
#includ... | alexeyk13/rexos | kernel/ksystime.c | C | lgpl-3.0 | 7,008 |
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <MemoryModule.h>
typedef void (*FooFunc)(const char *name);
unsigned char *ReadAllBytes(const char *filePath, size_t *size) {
assert(filePath != NULL);
assert(size != NULL);
FILE *fp;
fopen_s(&fp, filePath, "rb");
if (fp == NULL) return N... | myd7349/Ongoing-Study | cpp/CMake/vcpkg/memorymodule_test/memorymodule_test.c | C | lgpl-3.0 | 1,500 |
/**
* @file
* Test driver for stack library.
*
* @author Matthew Balint, mbalint@gmail.com
* @date November 2014
*
* @copyright
* Copyright (c) 2014 by Matthew Balint.
*
* This file is part of https://github.com/mjbalint/stack
*
* https://github.com/mjbalint/stack is free software: you can
* ... | mjbalint/stack | src/stack_test.c | C | lgpl-3.0 | 4,272 |
/* $Id: ncbi_lb.c 451391 2014-11-06 15:31:05Z lavr $
* ===========================================================================
*
* PUBLIC DOMAIN NOTICE
* National Center for Biotechnology Information
*
* This software/database is a "United States Government Work" unde... | kyungtaekLIM/PSI-BLASTexB | src/ncbi-blast-2.5.0+/c++/src/connect/ncbi_lb.c | C | lgpl-3.0 | 6,774 |
/**
@file log.c
@brief create .log file
@author Eugene Kolivoshko (ekolivoshko@gmail.com)
@date August 9 2015
@version 1.0
@copyright GNU Public License.
*/
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
#include <Windows.h>
#define LOGFILE "mdRun.log" /**< all ReportM... | zhekan/durkMD | src/out/log.c | C | lgpl-3.0 | 2,876 |
/*======================================================================*\
* Safe Recursive mutex implementation.
* Diego Nehab, 12/3/2001
* RCS Id: $Id: srm.c,v 1.2 2001/12/14 21:55:13 diego Exp $
\*======================================================================*/
#include <stdlib.h>
#include "pt.h"
... | kveratis/GameCode4 | Source/GCC4/3rdParty/luaplus51-all/Src/Modules/luathread/srm.c | C | lgpl-3.0 | 2,460 |
/*
* This file is part of the LAIK library.
* Copyright (c) 2018 Alexander Kurtz <alexander@kurtz.be>
*
* LAIK 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, version 3 or later.
*
* LAIK is dis... | envelope-project/laik | src/backends/tcp/socket.c | C | lgpl-3.0 | 13,618 |
/*
* gpio.c:
* Swiss-Army-Knife, Set-UID command-line interface to the Raspberry
* Pi's GPIO.
* Copyright (c) 2012-2014 Gordon Henderson
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
*
* wiringPi ... | synthead/wiringPi | gpio/gpio.c | C | lgpl-3.0 | 32,518 |
/* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* Copyright (C) 2013 Kouhei Sutou <kou@clear-code.com>
*
* 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 ve... | groonga/groonga-gobject | groonga-gobject/ggrn-error.c | C | lgpl-3.0 | 8,118 |
/*****************************************************************************
* Product: Blinky example, Arduino-UNO board, preemptive QK-nano kernel
* Last Updated for Version: 5.4.0
* Date of the Last Update: 2015-04-08
*
* Q u a n t u m L e a P s
* ------------------------... | hyller/GladiatorCots | QP/v5.4.2/qpn/examples/avr/blinky_arduino-uno/qk/gnu/bsp.c | C | unlicense | 4,682 |
/*
* Copyright (c) 2002-2007, Communications and Remote Sensing Laboratory, Universite catholique de Louvain (UCL), Belgium
* Copyright (c) 2002-2007, Professor Benoit Macq
* Copyright (c) 2001-2003, David Janssens
* Copyright (c) 2002-2003, Yannick Verschueren
* Copyright (c) 2003-2007, Francois-Olivier Devaux an... | mike10004/nbis-upstream | openjpeg/src/lib/openjpeg/codec/image_to_j2k.c | C | unlicense | 62,538 |
/*
* rdcolmap.c
*
* Copyright (C) 1994-1996, 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 implements djpeg's "-map file" switch. It reads a source image
* and constructs a colormap to be s... | mike10004/nbis-upstream | ijg/src/lib/jpegb/rdcolmap.c | C | unlicense | 6,845 |
/*======================================================
//º¯ÊýÃû£ºsdminv
//¹¦ÄÜÃèÊö£º¶Ô³ÆÕý¶¨¾ØÕóÔµØÇóÄæ
//ÊäÈë²ÎÊý£ºmat Ö¸Ïò´ý·Ö½âµÄ¾ØÕóµÄÖ¸Õë
n ¾ØÕó½×Êý
//·µ»ØÖµ£ºÕûÐÍ¡£ÔËÐгɹ¦Ôò·µ»Ø1,ʧ°ÜÔò·µ»Ø0
=========================================================*/
#include "stdio.h"
#include "stdlib.h"
#include... | zhangrxiang/learn-c | basic/data-structure/Chap4/sdminv.c | C | apache-2.0 | 1,855 |
/* $NetBSD: trm.c,v 1.36 2014/03/29 19:28:25 christos Exp $ */
/*-
* Copyright (c) 2002 Izumi Tsutsui. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code mu... | execunix/vinos | sys/dev/pci/trm.c | C | apache-2.0 | 69,409 |
/*-------------------------------------------------------------------------
*
* translator.c
* Author: Ying Ni yni6@hawk.iit.edu
* One-line description
*
* Here starts the more detailed description where we
* explain in more detail how this works.
*
*----------------------------------------... | IITDBGroup/gprom | src/analysis_and_translate/translator.c | C | apache-2.0 | 4,130 |
/* Copyright JS Foundation and other contributors, http://js.foundation
*
* 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 r... | bzsolt/jerryscript | targets/nuttx-stm32f4/jerry_main.c | C | apache-2.0 | 12,130 |
/***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* | (__| |_| | _ <| |___
* \___|\... | LiberatorUSA/GUCEF | dependencies/curl/docs/examples/pop3-noop.c | C | apache-2.0 | 2,161 |
/*
* Generated by asn1c-0.9.22.1409 (http://lionet.info/asn1c)
* From ASN.1 module "SPNEGO"
* found in "spnego.asn1"
* `asn1c -fnative-types -fskeletons-copy -fcompound-names`
*/
#include "asn_internal.h"
#include "MechTypeList.h"
static asn_TYPE_member_t asn_MBR_MechTypeList_1[] = {
{ ATF_POINTER, 0, 0,
(... | FreeRDP/FreeRDP-old | libfreerdp-asn1/MechTypeList.c | C | apache-2.0 | 1,527 |
/*
* File : board.c
* This file is part of RT-Thread RTOS
* COPYRIGHT (C) 2009, RT-Thread Development Team
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rt-thread.org/license/LICENSE
*
* Change Logs:
* Date Author... | yongli3/rt-thread | bsp/stm32f4xx-HAL/drivers/board.c | C | apache-2.0 | 8,747 |
/*
* ORIGINAL COPYRIGHT STATEMENT:
*
* Copyright (c) 1994 Winning Strategies, 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:
* 1. Redistributions of source code must retain the ab... | easion/os_sdk | bash-2.05/examples/loadables/getconf.c | C | apache-2.0 | 34,127 |
/**
* FreeRDP: A Remote Desktop Protocol Implementation
* Digital Sound Processing - FFMPEG backend
*
* Copyright 2018 Armin Novak <armin.novak@thincast.com>
* Copyright 2018 Thincast Technologies GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in comp... | rjcorrig/FreeRDP | libfreerdp/codec/dsp_ffmpeg.c | C | apache-2.0 | 14,139 |
/*
************************************************************************************************************************
* eNand
* Nand flash driver scan module
*
* Copyright(C), 2008-2009, Soft... | OLIMEX/DIY-LAPTOP | SOFTWARE/A64-TERES/u-boot_new/arch/arm/cpu/armv8/wine/nand/nand_bsp/nfc_for_boot0/src/nand_scan_for_boot.c | C | apache-2.0 | 8,760 |
/*
* Copyright (c) 2015 Red Hat, Inc.
*
* This file is licensed to you under your choice of the GNU Lesser
* General Public License, version 2.1 or any later version (LGPLv2.1 or
* later), or the Apache License 2.0.
*/
#define _GNU_SOURCE
#include <errno.h>
#include <assert.h>
#include <sys/types.h>
#include <s... | open-iscsi/tcmu-runner | glfs.c | C | apache-2.0 | 23,472 |
/*
Copyright 2012 Google Inc. 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
Unless required by applicable law or agreed to in ... | miguelinux/gooda | gooda-analyzer/kernels/conditional_jmp/cond_jmp16_nt.c | C | apache-2.0 | 2,292 |
/*
* Copyright 2005,2010 WSO2, Inc. http://wso2.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... | MI-LA01/kt_wso2-php5.3 | src/wsf.c | C | apache-2.0 | 80,507 |
/* LibTomCrypt, modular cryptographic library -- Tom St Denis
*
* LibTomCrypt is a library that provides various cryptographic
* algorithms in a highly modular and flexible manner.
*
* The library is free for all purposes without any express
* guarantee it works.
*/
#include "tomcrypt_private.h"
/**
@file cry... | google/google-ctf | third_party/tomcrypt/src/misc/crypt/crypt_unregister_hash.c | C | apache-2.0 | 1,140 |
/*
* Copyright 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 "license" file a... | alexeblee/s2n | pq-crypto/bike_r1/bike_r1_kem.c | C | apache-2.0 | 8,134 |
/* sc1_sys.c: SC1 simulator interface
Copyright (c) 2005-2007, SiCortex, Inc. All rights reserved.
Based on SIMH; SIMH copyrights attached.
Copyright (c) 2005, Robert M Supnik
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation f... | sergev/SiCortex-sc1 | sc1_sys.c | C | apache-2.0 | 54,332 |
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/* lib/krb5/krb/gic_keytab.c */
/*
* Copyright (C) 2002, 2003, 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 S... | drankye/kerb-token | krb5/src/lib/krb5/krb/gic_keytab.c | C | apache-2.0 | 12,358 |
/**
*Licensed to the Apache Software Foundation (ASF) under one
*or more contributor license agreements. See the NOTICE file
*distributed with this work for additional information
*regarding copyright ownership. The ASF licenses this file
*to you under the Apache License, Version 2.0 (the
*"License"); you may n... | marcojansen/android-inaetics | celix/shell/private/src/log_command.c | C | apache-2.0 | 3,144 |
/*
Copyright 2010-2013 SourceGear, LLC
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, softwar... | glycerine/vj | src/veracity/src/libraries/wc/wc2scan/sg_wc_prescan_row.c | C | apache-2.0 | 2,441 |
/*
* Copyright (c) 2016 Cisco and/or its affiliates.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicabl... | muharif/vpp | vnet/vnet/lisp-gpe/lisp_gpe.c | C | apache-2.0 | 18,936 |
#include "nit__transform.sep.0.h"
/* method transform#ToolContext#opt_no_shortcut_range for (self: ToolContext): OptionBool */
val* nit__transform___ToolContext___opt_no_shortcut_range(val* self) {
val* var /* : OptionBool */;
val* var1 /* : OptionBool */;
var1 = self->attrs[COLOR_nit__transform__ToolContext___opt_no_s... | colinvidal/nit | c_src/nit__transform.sep.1.c | C | apache-2.0 | 121,450 |
#include "libmockspotify.h"
#include "util.h"
sp_track *
mocksp_track_create(const char *name, int num_artists, sp_artist **artists, sp_album *album,
int duration, int popularity, int disc, int index, sp_error error,
bool is_loaded, sp_track_availability availability, sp_track_o... | mopidy/libmockspotify | src/track.c | C | apache-2.0 | 2,989 |
/*
* Copyright (c) 2015 Cisco and/or its affiliates.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicabl... | muharif/vpp | vnet/vnet/ethernet/node.c | C | apache-2.0 | 37,450 |
/* Generic definitions */
#define PACKAGE it.unimi.dsi.fastutil.doubles
#define VALUE_PACKAGE it.unimi.dsi.fastutil.chars
/* Assertions (useful to generate conditional code) */
#unassert keyclass
#assert keyclass(Double)
#unassert keys
#assert keys(primitive)
#unassert valueclass
#assert valueclass(Character)
#unass... | karussell/fastutil | src/it/unimi/dsi/fastutil/doubles/AbstractDouble2CharSortedMap.c | C | apache-2.0 | 15,455 |
#include "imesample.h"
#include "helper.h"
#include <stdarg.h>
/**********************************************************************/
/* */
/* UI_IsIMEMessage(message) */
/* ... | ruixj/windowsIME | imesample/helper.c | C | apache-2.0 | 2,021 |
/*
* hostapd - Driver operations
* Copyright (c) 2009-2010, Jouni Malinen <j@w1.fi>
*
* This software may be distributed under the terms of the BSD license.
* See README for more details.
*/
#include "utils/includes.h"
#include "utils/common.h"
#include "drivers/driver.h"
#include "common/ieee802_11_defs.h"
#in... | Xperia-Nicki/android_platform_sony_nicki | external/wpa_supplicant_8/src/ap/ap_drv_ops.c | C | apache-2.0 | 15,643 |
/*
* solver-api.c
*
* Created on: Nov 14, 2012
* Author: laurynas
*/
#include "solverapi.h"
#include "solverapi_utils.h"
#include "utils/builtins.h"
#include "access/htup_details.h"
// For PostgreSQL 9.3.1 security
#include "miscadmin.h"
#include "lib/stringinfo.h"
#include "utils/guc.h"
#ifdef PG_MODULE_... | aau-daisy/solvedb | SolverAPI/solverapi.c | C | apache-2.0 | 6,757 |
/*
* Copyright 1993-2002 Christopher Seiwald and Perforce Software, Inc.
*
* This file is part of Jam - see jam.c for Copyright information.
*/
/* This file is ALSO:
* Copyright 2001-2004 David Abrahams.
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE_1... | romanzenka/myrimatch | freicore/libraries/boost-build/engine/search.c | C | apache-2.0 | 7,015 |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | mike-jumper/incubator-guacamole-server | src/protocols/ssh/client.c | C | apache-2.0 | 3,783 |
/* $NetBSD: ip_frag.c,v 1.3 2012/07/22 14:27:51 darrenr Exp $ */
/*
* Copyright (C) 2012 by Darren Reed.
*
* See the IPFILTER.LICENCE file for details on licencing.
*/
#if defined(KERNEL) || defined(_KERNEL)
# undef KERNEL
# undef _KERNEL
# define KERNEL 1
# define _KERNEL 1
#endif
#include <sys/errn... | execunix/vinos | sys/external/bsd/ipf/netinet/ip_frag.c | C | apache-2.0 | 41,512 |
/**
* xrdp: A Remote Desktop Protocol server.
*
* Copyright (C) Jay Sorg 2004-2012
*
* 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
... | nogginware/xrdp-ng | sesman/config.c | C | apache-2.0 | 11,171 |
/*
** mrb_fm3gpio.c - FM3 GPIO
**
**
*/
#include "mruby.h"
#include "mruby/class.h"
#include "mruby/value.h"
#define INPUT 0
#define OUTPUT 1
#define LOW 0
#define HIGH 1
#define PFR_GPIO 0
#define PFR_INOUT 1
#define T_ADE 0
#define T_SPSR 1
#define NUM_GPIO 16
#define T_PFR 0
#define T_PCR 1... | ossforumjp-app-IoT/mruby-fm3gpio | src/mrb_fm3gpio.c | C | apache-2.0 | 7,685 |
#include <errno.h>
#include <stdbool.h>
#include <sys/fcntl.h>
#include <unistd.h>
#include <link_protocol.h>
#include <hwpl.h>
#include <dev/usb.h>
#include <dev/pio.h>
#include <dev/usbfifo.h>
#include <usb_dev.h>
#include <hwpl/core.h>
#include <hwpl/debug.h>
#include <usb_dev_typedefs.h>
#include <usb_dev_defs.h... | CoActionOS/CoActionOS-HW | CoAction-mbed/link_phy_usb.c | C | apache-2.0 | 12,643 |
/* BLINK.C - Implements the blink stuff
*
* Copyright 1993-2015 CIX Online Ltd, 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/... | cixonline/ameol | Ameol232/blink.c | C | apache-2.0 | 62,212 |
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <jni.h>
#include <android/log.h>
#include "SyncCommon.h"
#include "MemoryCardApiJni.h"
# ifndef uint
# define uint unsigned int
# endif
# ifndef uchar
# define uchar unsigned char
# endif
# ifnd... | billzbh/XML2Java | iMateInterface/jni/memorycard/MemoryCardApi.c | C | apache-2.0 | 32,126 |
/* main.c - Application main entry point */
/*
* Copyright (c) 2015 Intel Corporation
*
* 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.... | mirzak/zephyr-os | tests/net/buf/src/main.c | C | apache-2.0 | 14,141 |
/*
* Copyright 2012 Samsung Electronics Co., Ltd
*
* Licensed under the Flora License, Version 1.1 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://floralicense.org/license/
*
* Unless required by applicable law or agree... | minjinsong/tizen-music-player | src/common/mp-util.c | C | apache-2.0 | 42,328 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.