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 |
|---|---|---|---|---|---|
/*
specFlux~
Copyright 2009 William Brent
This file is part of timbreID.
timbreID 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 later version.
timbre... | wbrent/timbreID | src/specFlux~.c | C | gpl-3.0 | 19,182 |
/*
SSSD
IPA Provider Common Functions
Authors:
Simo Sorce <ssorce@redhat.com>
Copyright (C) 2009 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 ... | fidencio/sssd | src/providers/ipa/ipa_common.c | C | gpl-3.0 | 43,630 |
/*
* =====================================================================================
*
* Filename: myIPC.c
*
* Description: datos para compartir
*
* Version: 1.0
* Created: 24/11/14 03:04:54
* Revision: none
* Compiler: gcc
*
* Author: YOUR NAME (),
... | IndeterminateAccount/C-Nostandar | libgeneral/myIPC.c | C | gpl-3.0 | 12,453 |
/*
* Copyright (C) 2007-2009 Daniel Prevost <dprevost@photonsoftware.org>
*
* This file is part of Photon (photonsoftware.org).
*
* This file may be distributed and/or modified under the terms of the
* GNU General Public License version 2 or version 3 as published by the
* Free Software Foundation and appearing... | dprevost/photon | src/API/Tests/Folder/Status.c | C | gpl-3.0 | 3,600 |
/*
* This file is part of elfninja
* Copyright (C) 2017 Alexandre Monti
*
* 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 later... | monti-tls/ElfNinja | elfninja/elfninja/src/phdr_add.c | C | gpl-3.0 | 6,033 |
/* poison.c */
#include <stdio.h>
#include <stdlib.h>
#include "poison.h"
#include "poisons_list.h"
int poisons_list_find_free_index(PoisonsList *pl);
void poisons_list_init(PoisonsList *pl, int length)
{
int i;
poison_init();
if (length<=0) {
pl->poisons = NULL;
pl->active = NULL;
pl->length = 0... | FabioZTessitore/snake | C/lib/poisons_list/poisons_list.c | C | gpl-3.0 | 1,796 |
/*
* via-pmu event device for reporting some events that come through the PMU
*
* Copyright 2006 Johannes Berg <johannes@sipsolutions.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 by
* the Free Software Foundation... | williamfdevine/PrettyLinux | drivers/macintosh/via-pmu-event.c | C | gpl-3.0 | 2,160 |
/*
* Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
* From ASN.1 module "PMCPDLCMessageSetVersion1"
* found in "../../../dumpvdl2.asn1/atn-b1_cpdlc-v1.asn1"
* `asn1c -fcompound-names -fincludes-quoted -gen-PER`
*/
#include "ReportingPoints.h"
static asn_TYPE_member_t asn_MBR_ReportingPoints_1[] = {
{ AT... | szpajder/dumpvdl2 | src/asn1/ReportingPoints.c | C | gpl-3.0 | 2,440 |
#include <stdio.h>
void foo(unsigned int param) { printf("foo %X\n", param); }
int main()
{
unsigned char opcode;
printf("Checking for 0xCC breakpoint at foo()...\n");
opcode = (*(unsigned char*)((unsigned long)&foo)) & 0xFF;
if (opcode == 0xCC)
printf("Breakpoint found - DEBUGGER DETECTED!\n... | RuiKuang/dao-linux | examples/breakpoint.c | C | gpl-3.0 | 527 |
/* vim: set et sw=4 ts=4 sts=4 : */
/********************************************************************\
* 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 *
* ... | liudf0716/apfree_wifidog | src/commandline.c | C | gpl-3.0 | 6,446 |
/*
Unix SMB/CIFS implementation.
test suite for netlogon rpc operations
Copyright (C) Andrew Tridgell 2003
Copyright (C) Andrew Bartlett <abartlet@samba.org> 2003-2004
Copyright (C) Tim Potter 2003
Copyright (C) Matthias Dieter Wallnöfer 2009-2010
This program is free software; y... | rchicoli/samba | source4/torture/rpc/netlogon.c | C | gpl-3.0 | 135,997 |
#include "radl_lib.h"
#include <unistd.h>
int main(){
radl_init_lib();
long long datediff = time(NULL) - radl_gettime()/1000000000;
radl_duration_t datedelta = radl_gettime() - radl_gettime();
int correct = -1 <= datediff && datediff <= 0 && datedelta > -2000;
return !correct;
}
| SRI-CSL/radler | radl_lib/test/test_time.c | C | gpl-3.0 | 286 |
/*
cuavraw - custom version of raspistill for CanberraUAV
Based on RaspiStill.c
Copyright (c) 2013, Broadcom Europe Ltd
Copyright (c) 2013, James Hughes
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:... | CanberraUAV/cuav | capturescripts/RasPi/cuavraw.c | C | gpl-3.0 | 69,851 |
#include <gwaei/gwaei.h>
#include <gwaei/addvocabularywindow-private.h>
G_MODULE_EXPORT void
gw_addvocabularywindow_add_cb (GtkWidget *widget, gpointer data)
{
GwAddVocabularyWindow *window;
GwAddVocabularyWindowPrivate *priv;
GwAddVocabularyWindowClass *klass;
GtkListStore *wordstore;
const gcha... | pv/gwaei-stuff | src/gwaei/addvocabularywindow-callbacks.c | C | gpl-3.0 | 6,339 |
#include <stdio.h>
int main(void)
{
int term_cnt, limit;
double time, power_of_2;
printf("Enter the number of terms you want: ");
scanf("%d", &limit);
for (time = 0, power_of_2 = 1, term_cnt = 1; term_cnt < limit; term_cnt++, power_of_2 *= 2) {
time += 1 / power_of_2;
printf("time ... | suicidejack/c_primer_plus | ch6/zeno.c | C | gpl-3.0 | 385 |
/*
* Copyright (C) 2009, 2010 Krzesimir Nowak
*
* This file is part of libggraph.
*
* libggraph 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 opt... | krnowak/libggraph | gsgraph/gsegraphnode.c | C | gpl-3.0 | 5,707 |
/*
* dogechat-tcl.c - tcl plugin for DogeChat
*
* Copyright (C) 2008-2010 Dmitry Kobylin <fnfal@academ.tsc.ru>
* Copyright (C) 2008-2016 Sébastien Helleu <flashcode@flashtux.org>
*
* This file is part of DogeChat, the extensible chat client.
*
* DogeChat is free software; you can redistribute it and/or modify
... | nyuszika7h/weechat | src/plugins/tcl/dogechat-tcl.c | C | gpl-3.0 | 25,828 |
/*JWHGPLHERE*/
/*
* ProcessData.c
*
* Author: James W Hegeman
*
*/
#include "DLPstd.h"
#include "LdarReader.h"
#include "Triangulate.h"
#include "DistLdarProcFVar.h"
#include "ProcessData.h"
typedef struct VarWeight {
int dx;
int dy;
int weight;
} VarWeight_t;
void *ProcessData(void *workerID) {
#i... | sar-vivek/dist-ldar-proc-1 | ProcessData.c | C | gpl-3.0 | 3,829 |
/* ss2sbc.c
*
* Copyright 2006-2012 David G. Barnes, Paul Bourke, Christopher Fluke
*
* This file is part of S2PLOT.
*
* S2PLOT 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 L... | mivp/s2plot | examples/ss2sbc.c | C | gpl-3.0 | 1,952 |
/*
SSSD
LDAP ID backend operation retry logic and connection cache
Authors:
Eugene Indenbom <eindenbom@gmail.com>
Copyright (C) 2008-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
... | sgallagher/sssd | src/providers/ldap/sdap_id_op.c | C | gpl-3.0 | 28,356 |
# FROM: https://www.scantool.net/forum/index.php?topic=794.0
#include <stdio.h>
#include <fcntl.h>
#include <termios.h>
#include <unistd.h>
void read_pid(int location);
int fd;
FILE *stdoutfile;
main () {
int ret,i;
struct termios term_struct;
stdoutfile = fopen("results","a+");
if(stdoutfile == NUL... | jantman/python-obd | elmscan-linux/scantool-modified/test2.c | C | gpl-3.0 | 1,734 |
/****************************************************************************************
Implementation of About Window GUI Interface of SVM Pixel Extraction Utility
Author: Ashis Kumar Das
Email: akd.bracu@gmail.com
GitHub: https://github.com/AKD92
*****... | AKD92/SVM-PE-Pixel-Extraction-Utility-Program | src/About_Window.c | C | gpl-3.0 | 4,918 |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <sys/time.h>
#include <time.h>
int main(int argc, char *argv[]){
if (argc!=5) {
printf("Error!\nUsage: ./create_stim network_X network_Y lamda total_time_in_ms.\n");
return 0;
}
int network_x = atoi(argv[1]); //network dime... | GeorgeChatzikonstantis/infoli | tools/iapp/random/curr_generator.c | C | gpl-3.0 | 1,870 |
#include <stdio.h>
#include "../print.h"
#include "../digit-lnn.h"
#include "../arit.h"
#include "../primes.h"
T factorial_T (T x);
int main(int argc, char ** argv)
{
if (argc != 2)
{
puts("Usage: is_prime NUMBER\n");
return 0;
}
unsigned long long xll = atoll(argv[1]);
T x = (T) xll;
... | smnicolas/lna | tests0/old/testis-prime.c | C | gpl-3.0 | 518 |
#include <Python.h>
#define UNREFERENCED_PARAMETER(p)
#if defined(_MSC_VER)
# define inline __declspec(inline)
# pragma warning(disable: 4127)
# undef UNREFERENCED_PARAMETER
# define UNREFERENCED_PARAMETER(p) (p)
#elif !defined(__GNUC__)
# define inline
#endif
static inline int isline(char ch) {
switch (ch) {
case ... | DMOJ/judge | dmoj/checkers/_checker.c | C | agpl-3.0 | 2,578 |
#include <stdio.h>
#include <string.h>
#include <openssl/bio.h>
#include <openssl/ssl.h>
#include <openssl/err.h>
#include <openssl/rand.h>
#include "core/core.h"
#include "dime/common/dcrypto.h"
#include "dime/common/misc.h"
#include "dime/common/error.h"
#include "providers/symbols.h"
#include "providers/prime/p... | lavabit/libdime | src/providers/dime/common/crypto.c | C | agpl-3.0 | 27,270 |
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include "status_notification.h"
OpenAPI_status_notification_t *OpenAPI_status_notification_create(
OpenAPI_status_info_t *status_info,
OpenAPI_small_data_rate_status_t *small_data_rate_status,
OpenAPI_apn_rate_status_t *apn_rate_status
)
{
Op... | acetcom/nextepc | lib/sbi/openapi/model/status_notification.c | C | agpl-3.0 | 5,565 |
/*****************************************************************************
@(#) $RCSfile: cd-llc.c,v $ $Name: $($Revision: 1.1.2.3 $) $Date: 2011-09-02 08:46:32 $
-----------------------------------------------------------------------------
Copyright (c) 2008-2013 Monavacon Limited <http://www.monavacon.com... | 0x7678/openss7 | src/drivers/cd-llc.c | C | agpl-3.0 | 32,666 |
/****************************************************************
* *
* 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_port/op_zshow.c | C | agpl-3.0 | 4,270 |
/*
* Copyright 1995-2018 The OpenSSL Project Authors. All Rights Reserved.
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved
* Copyright 2005 Nokia. All rights reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the Lice... | FriendSoftwareLabs/friendup | libs-ext/openssl/ssl/statem/statem_srvr.c | C | agpl-3.0 | 143,940 |
/**
* @brief ATMI tpimport function implementation (Common version)
*
* @file tpimport.c
*/
/* -----------------------------------------------------------------------------
* Enduro/X Middleware Platform for Distributed Transaction Processing
* Copyright (C) 2009-2016, ATR Baltic, Ltd. All Rights Reserved.
* Cop... | endurox-dev/endurox | libatmi/tpimport.c | C | agpl-3.0 | 12,461 |
/*
* Clutter.
*
* An OpenGL based 'interactive canvas' library.
*
* Authored By Matthew Allum <mallum@openedhand.com>
*
* Copyright (C) 2006 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... | Distrotech/clutter | clutter/clutter-main.c | C | lgpl-2.1 | 107,473 |
/*
* Copyright (C) 2007-2010 Red Hat, Inc.
* Copyright (C) 2009 IBM Corp.
*
* 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)... | rbu/libvirt | src/util/ebtables.c | C | lgpl-2.1 | 10,187 |
/*
* Copyright 2009 Red Hat Inc., Durham, North Carolina.
* 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.1 of the License, or (at your... | Hexadorsimal/openscap | src/common/debug.c | C | lgpl-2.1 | 6,471 |
/*
* Copyright (c) 2019-2022 Sander van der Burg
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to
* use, copy, modify, m... | svanderburg/disnix | src/libnixxml/nixxml-node.c | C | lgpl-2.1 | 2,726 |
/*
* ws-node - C library to support lightweight websocket based service node
*
* Copyright (C) 2015 yquant.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:
* vers... | yquant/ws-node | src/lib/conf_mgr.c | C | lgpl-2.1 | 3,991 |
/* $Id: sound.c,v 1.6 2001/09/28 12:10:07 sandervl Exp $ */
//******************************************************************************
// MMPM/2 to OSS interface translation layer
//
// Copyright 2000 Sander van Leeuwen (sandervl@xs4all.nl)
//
// This program is free software; you can redistribute it and/or
... | OS2World/DRV-SBLiveOS2 | lib32/sound.c | C | lgpl-2.1 | 18,245 |
/**
* compat.c
*
* Copyright (c) 2014
* libchewing Core Team. See ChangeLog for details.
*
* See the file "COPYING" for information on usage and redistribution
* of this file.
*/
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <string.h>
#include "taigi-utf8-util.h"
/* for compatibility */... | bbyykk/libtaigi | src/compat.c | C | lgpl-2.1 | 1,661 |
/*
* Farstream - Farstream RTP Sub Stream
*
* Copyright 2007-2009 Collabora Ltd.
* @author: Olivier Crete <olivier.crete@collabora.co.uk>
* Copyright 2007-2009 Nokia Corp.
*
* fs-rtp-substream.c - A Farstream RTP Substream gobject
*
* This library is free software; you can redistribute it and/or
* modify it ... | shadeslayer/farstream | gst/fsrtpconference/fs-rtp-substream.c | C | lgpl-2.1 | 41,679 |
/*
* File: cleanup2.c
*
*
* --------------------------------------------------------------------------
*
* pthreads-win32 - POSIX Threads Library for Win32
* Copyright(C) 1998 John E. Bossom
* Copyright(C) 1999-2021 pthreads-win32 / pthreads4w contributors
*
* Homepage1: http://sourceware.... | GerHobbelt/pthread-win32 | tests/cleanup2.c | C | lgpl-2.1 | 4,977 |
/*
*********************************************************************************************************
* uC/OS-II
* The Real-Time Kernel
* MESSAGE QUEUE MANAGEMENT
*
* ... | binhfile/raspi | app/third-party/Micrium/Software/uCOS-II/Source/os_q.c | C | lgpl-2.1 | 42,667 |
/********************************************************************
* Description: control.c
* emcmotController() is the main loop running at the servo cycle
* rate. All state logic and trajectory calcs are called from here.
*
* Derived from a work by Fred Proctor & Will Shackleford
*
* Author:
* License: GPL V... | ikcalB/linuxcnc-mirror | src/emc/motion/control.c | C | lgpl-2.1 | 74,736 |
/*
* openvz_conf.c: config functions for managing OpenVZ VEs
*
* Copyright (C) 2010-2012 Red Hat, Inc.
* Copyright (C) 2006, 2007 Binary Karma
* Copyright (C) 2006 Shuveb Hussain
* Copyright (C) 2007 Anoop Joe Cyriac
*
* This library is free software; you can redistribute it and/or
* modify it under the terms ... | emaste/libvirt | src/openvz/openvz_conf.c | C | lgpl-2.1 | 30,897 |
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 2 -*- */
/* vim: set sw=2 et: */
/* pager object */
/*
* Copyright (C) 2001 Havoc Pennington
* Copyright (C) 2003 Kim Woelders
* Copyright (C) 2003 Red Hat, Inc.
* Copyright (C) 2003, 2005-2007 Vincent Untz
*
* This library is free software; you ... | mate-desktop/libmatewnck | libmatewnck/pager.c | C | lgpl-2.1 | 90,419 |
/*
* Cogl
*
* An object oriented GL/GLES Abstraction/Utility Layer
*
* Copyright (C) 2007,2008,2009 Intel Corporation.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
*... | tardyp/clutter | clutter/cogl/gles/cogl-primitives.c | C | lgpl-2.1 | 13,455 |
/*
Copyright (C) 2011, 2010 Sebastian Pancratz
This file is part of FLINT.
FLINT 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 yo... | fredrik-johansson/flint2 | fmpz_poly/derivative.c | C | lgpl-2.1 | 980 |
/*
* function: ReplayGain support for Wave files (http://www.replaygain.org)
*
* Reads in a Vorbis file, figures out the peak and ReplayGain levels and
* applies the Gain tags to the Wave file
*
* This program is distributed under the GNU General Public License, version
* 2.1. A copy of this license is i... | ycollet/wavegain | wavegain.c | C | lgpl-2.1 | 19,133 |
/*
* Copyright (C) 2015 Freie Universität Berlin
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/**
* @ingroup tests
* @{
*
* @file
* @brief Test application for the PCD854... | DipSwitch/RIOT | tests/driver_pcd8544/main.c | C | lgpl-2.1 | 3,742 |
/* WARNING: THIS FILE IS AUTOMATICALLY GENERATED FROM A .SM FILE.
* Changes made here will certainly be overwritten.
*/
/*
* (C) 2001 Clemson University and The University of Chicago
*
* See COPYING in top-level directory.
*/
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#... | acberk/trunk | src/server/setparam.c | C | lgpl-2.1 | 10,771 |
/* GAIL - The GNOME Accessibility Implementation Library
* Copyright 2001, 2002, 2003 Sun Microsystems 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 of t... | pocketbook-free/browser | gail-1.18.0/gail/gailcontainer.c | C | lgpl-2.1 | 9,629 |
/*
* installation_proxy.c
* com.apple.mobile.installation_proxy service implementation.
*
* Copyright (c) 2010-2015 Martin Szulecki All Rights Reserved.
* Copyright (c) 2010-2013 Nikias Bassen, All Rights Reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of ... | libimobiledevice/libimobiledevice | src/installation_proxy.c | C | lgpl-2.1 | 34,368 |
/*
Copyright (C) 2009 William Hart
This file is part of FLINT.
FLINT 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) a... | wbhart/flint2 | fmpz/divides.c | C | lgpl-2.1 | 2,283 |
/*
* PKCS15 emulation layer for Portugal eID card.
*
* Copyright (C) 2016, Nuno Goncalves <nunojpg@gmail.com>
* Copyright (C) 2009, Joao Poupino <joao.poupino@ist.utl.pt>
* Copyright (C) 2004, Martin Paljak <martin@martinpaljak.net>
*
* This library is free software; you can redistribute it and/or
* modify it u... | martinpaljak/OpenSC | src/libopensc/pkcs15-pteid.c | C | lgpl-2.1 | 10,863 |
/* $Id$ */
/***
This file is part of avahi.
avahi 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.
avahi is distribu... | sunilghai/avahi-clone | avahi-common/dbus.c | C | lgpl-2.1 | 4,319 |
/* Libmacro - A multi-platform, extendable macro and hotkey C library
Copyright (C) 2013 Jonathan Pelletier, New Paradigm Software
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; eithe... | Funmungus/Libmacro-Legacy | src/util/none/p_mcrstring.c | C | lgpl-2.1 | 1,792 |
/*
* (C) Copyright 2001-2006 Wojtek Kaniewski <wojtekka@irc.pl>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License Version
* 2.1 as published by the Free Software Foundation.
*
* This program is distributed in the hope that ... | clokep/libgadu | test/automatic/connect.c | C | lgpl-2.1 | 33,336 |
/* $Id: oo_syscall.c,v 1.1 2005/02/06 22:49:35 smilcke Exp $ */
/*
* oo_syscall.c
* Autor: Stefan Milcke
* Erstellt am: 30.01.2005
* Letzte Aenderung am: 30.01.2005
*
*/
#include <lxcommon.h>
// Undefined syscalls
#define LX_UNDEF_SYSCALL(name) \
void name(void) \
{NOT_IMPLEMENTED();}
L... | OS2World/DRV-LXAPI32 | os2/os2/oo_syscall.c | C | lgpl-2.1 | 2,489 |
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8; -*- */
/*
*
* Authors: Bertrand Guiheneuf <bertrand@helixcode.com>
*
* Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of version 2 of the GNU ... | gcampax/evolution-data-server | camel/camel-data-wrapper.c | C | lgpl-2.1 | 31,452 |
/*
* Copyright (c) 2014 Citrix Systems, 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.
*
* Th... | OpenXT/surfman | surfman/src/resolution.c | C | lgpl-2.1 | 6,328 |
/*
* 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) any later version.
*
* FFmpeg is distributed... | uei/FFmpeg_Eagle | ffmpeg_source/libavcodec/pthread_frame.c | C | lgpl-2.1 | 29,445 |
/* mpfr_add1sp -- internal function to perform a "real" addition
All the op must have the same precision
Copyright 2004-2019 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... | blipvert/metapost | source/libs/mpfr/mpfr-src/src/add1sp.c | C | lgpl-3.0 | 31,107 |
/*
* SPSW - Drivers for the serial port, https://github.com/aploese/spsw/
* Copyright (C) 2009-2021, Arne Plöse and individual contributors as indicated
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* This is free software; you can redistribute... | aploese/spsw | de.ibapl.spsw.jniprovider/src/main/native/spsw-jni.c | C | lgpl-3.0 | 5,828 |
/* radare2 - LGPL - Copyright 2009-2017 - pancake */
#include <stddef.h>
#include <stdbool.h>
#include "r_core.h"
static const char *help_msg_e[] = {
"Usage:", "e [var[=value]]", "Evaluable vars",
"e","?asm.bytes", "show description",
"e", "??", "list config vars with description",
"e", " a", "get value of var 'a... | xarkes/radare2 | libr/core/cmd_eval.c | C | lgpl-3.0 | 12,513 |
// Created file "Lib\src\mfuuid\X64\mfinternal_i"
typedef struct _GUID
{
unsigned long Data1;
unsigned short Data2;
unsigned short Data3;
unsigned char Data4[8];
} GUID;
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
extern const GUID name = { l, w1, w2, { b1, b2, b3... | Frankie-PellesC/fSDK | Lib/src/mfuuid/X64/mfinternal_i0000003D.c | C | lgpl-3.0 | 462 |
/*
* Shows information obtained from a Windows Shortcut File (LNK)
*
* Copyright (C) 2009-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 ... | libyal/liblnk | lnktools/lnkinfo.c | C | lgpl-3.0 | 6,925 |
/*****************************************************************************
* Written by Chris Dunlap <cdunlap@llnl.gov>.
* Copyright (C) 2007-2018 Lawrence Livermore National Security, LLC.
* Copyright (C) 2002-2007 The Regents of the University of California.
* UCRL-CODE-155910.
*
* This file is part of... | cgvarela/munge | src/libcommon/posignal.c | C | lgpl-3.0 | 2,427 |
// Created file "Lib\src\Shell32\X64\shguid"
typedef struct _GUID
{
unsigned long Data1;
unsigned short Data2;
unsigned short Data3;
unsigned char Data4[8];
} GUID;
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
extern const GUID name = { l, w1, w2, { b1, b2, b3, b4... | Frankie-PellesC/fSDK | Lib/src/shell32/X64/shguid00000034.c | C | lgpl-3.0 | 453 |
/*
* Copyright (C) 2016 Nikhil AP
*
* 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 later version.
*
* This program i... | niks3089/csperf | src/csperf_server.c | C | lgpl-3.0 | 16,254 |
// Created file "Lib\src\Svcguid\iid"
typedef struct _GUID
{
unsigned long Data1;
unsigned short Data2;
unsigned short Data3;
unsigned char Data4[8];
} GUID;
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
extern const GUID name = { l, w1, w2, { b1, b2, b3, b4, b5, ... | Frankie-PellesC/fSDK | Lib/src/Svcguid/iid000000F0.c | C | lgpl-3.0 | 448 |
/* crypto/md4/md4test.c */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@cryptsoft.com).
* The implementation was written so as to conform with Netscapes SSL.
*
* This library is free for commercial ... | Orav/kbengine | kbe/src/lib/dependencies/openssl/crypto/md4/md4test.c | C | lgpl-3.0 | 4,984 |
/* radare - LGPL - Copyright 2009-2016 - pancake, nibble */
#include <r_types.h>
#include <r_list.h>
#include <r_flags.h>
#include <r_core.h>
#include <r_bin.h>
#include <string.h>
#define HASNEXT_FOREVER 1
#define in_function(fn,y) ((y) >= (fn)->addr && (y) < ((fn)->addr + r_anal_fcn_size (fn)))
#define HINTCMD_A... | prazzb/radare2 | libr/core/anal.c | C | lgpl-3.0 | 86,827 |
/*
* Password keep functions
*
* Copyright (C) 2011-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 F... | libyal/libbde | libbde/libbde_password_keep.c | C | lgpl-3.0 | 3,412 |
/* Demo program for OLED 128x64 SSD1306 controller
* using DMA transfers.
* Warren Gay Mon Dec 25 10:22:33 2017
*
* Important! You must have a pullup resistor on the NSS
* line in order that the NSS (/CS) SPI output
* functions correctly as a chip select. The
* SPI peripheral configures NSS pin a... | ve3wwg/stm32f103c8t6 | rtos/oled_dma/main.c | C | lgpl-3.0 | 10,198 |
// Created file "Lib\src\Uuid\i_mshtml"
typedef struct _GUID
{
unsigned long Data1;
unsigned short Data2;
unsigned short Data3;
unsigned char Data4[8];
} GUID;
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
extern const GUID name = { l, w1, w2, { b1, b2, b3, b4, b5... | Frankie-PellesC/fSDK | Lib/src/Uuid/i_mshtml0000021D.c | C | lgpl-3.0 | 452 |
/*-
* Copyright (C) 2010, Romain Tartiere.
*
* 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 3 of the License, or (at your
* option) any later version.
*
* This p... | bettse/libfreefare | test/test_mifare_desfire_ev1_aes.c | C | lgpl-3.0 | 38,790 |
// Created file "Lib\src\Uuid\shguids"
typedef struct _GUID
{
unsigned long Data1;
unsigned short Data2;
unsigned short Data3;
unsigned char Data4[8];
} GUID;
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
extern const GUID name = { l, w1, w2, { b1, b2, b3, b4, b5,... | Frankie-PellesC/fSDK | Lib/src/Uuid/shguids0000007C.c | C | lgpl-3.0 | 453 |
// Created file "Lib\src\dmoguids\dmoguids"
typedef struct _GUID
{
unsigned long Data1;
unsigned short Data2;
unsigned short Data3;
unsigned char Data4[8];
} GUID;
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
extern const GUID name = { l, w1, w2, { b1, b2, b3, b4,... | Frankie-PellesC/fSDK | Lib/src/dmoguids/dmoguids0000007A.c | C | lgpl-3.0 | 482 |
// Created file "Lib\src\Uuid\wincodec_uuid"
typedef struct _GUID
{
unsigned long Data1;
unsigned short Data2;
unsigned short Data3;
unsigned char Data4[8];
} GUID;
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
extern const GUID name = { l, w1, w2, { b1, b2, b3, b4... | Frankie-PellesC/fSDK | Lib/src/Uuid/wincodec_uuid0000003A.c | C | lgpl-3.0 | 468 |
#include <stdio.h>
#include <xmp.h>
#pragma xmp nodes p[*]
#pragma xmp template t[2:10]
#pragma xmp distribute t[block] onto p
int a[10];
#pragma xmp align a[i] with t[i+2]
int main(void){
#pragma xmp loop on t[i]
for(int i=2;i<10;i++)
a[i] = i;
#pragma xmp task on p[0]
{
printf("PASS\n")... | omni-compiler/omni-compiler | tests/XMP/global-view/align/C/offset.c | C | lgpl-3.0 | 344 |
// Created file "Lib\src\ksuser\guids"
typedef struct _GUID
{
unsigned long Data1;
unsigned short Data2;
unsigned short Data3;
unsigned char Data4[8];
} GUID;
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
extern const GUID name = { l, w1, w2, { b1, b2, b3, b4, b5,... | Frankie-PellesC/fSDK | Lib/src/ksuser/guids00000136.c | C | lgpl-3.0 | 475 |
/* Write a declaration for an array that initializes certain locations
of the array to specific values. The array should be called char_values
and contain 3 × 6 × 4 × 5 unsigned characters.
The following locations should be statically initialized to
these values:
____________________________________________________... | Mugurell/Learning | C/Reek - Pointers On C/Ch 8/Ex1_array_init.c | C | unlicense | 1,587 |
/*
** Suleyman Muhammad
**
** ECE 8473: OSP
** Assignment 3 Problem #4
**
** Countdown to Fall Break:
** Program to compute the number of days, hours, minutes and seconds left
** until Fall break 2010.
*/
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <errno.h>
#include <time.h>
int time_conv(t... | SMan23/Grad-Work_Backup | c_files_2011330/opsys/osp_s/a03/count_dwn.c | C | unlicense | 1,442 |
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_strclr.c :+: :+: :+: ... | tac4ttack/rtv1 | libft/ft_strclr.c | C | unlicense | 1,061 |
#include <stdio.h>
int main(void)
{
for(;;)
;
return 0;
} | Mugurell/Learning | C/Gookin_CAIO/book 5 - Disk/infiniteloop.c | C | unlicense | 72 |
#include <pthread.h>
#include <stdio.h>
#include <math.h>
float pot, div; // variables globales
int bandera;
float resultado;
void potencia(int *argv){
while(1){
if (bandera == 2){
sleep(2);
}
else{
float z=1;
int i=0;
printf("Thread %x \n",pthread_self()); //Se imprime el Id. del Hilo creado
if... | josuepl/SO | hilop - copia.c | C | unlicense | 1,898 |
/* System library. */
#include "StdAfx.h"
#ifndef ACL_PREPARE_COMPILE
#include "stdlib/acl_define.h"
#include <stdlib.h> /* 44BSD stdarg.h uses abort() */
#include <stdarg.h>
#include <string.h>
#ifdef ACL_BCB_COMPILER
#pragma hdrstop
#endif
/* Utility library. */
#include "stdlib/acl_mymalloc.h"
... | hankwing/Squirrel | library/acl/lib_acl/src/stdlib/string/acl_concatenate.c | C | apache-2.0 | 1,026 |
/*
Copyright 2016 Robert Elder Software Inc.
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 b... | RobertElderSoftware/recc | emulators/c/op-cpu.c | C | apache-2.0 | 15,442 |
/*
* Copyright 2016 Will Mason
*
* 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 la... | mexicowilly/Yella | agent/common/ptr_vector.c | C | apache-2.0 | 6,097 |
/*
Copyright (C) 2016-2017 Xiongfa Li, <damao1222@live.com>
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... | damao1222/dmb | src/tests/dmbbinlist_test.c | C | apache-2.0 | 6,665 |
/*
* The Clear BSD License
* Copyright (c) 2015, Freescale Semiconductor, Inc.
* Copyright 2016-2017 NXP
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted (subject to the limitations in the disclaimer below) provided
* that the followin... | AubrCool/rt-thread | bsp/imxrt/Libraries/imxrt1021/devices/MIMXRT1021/drivers/fsl_trng.c | C | apache-2.0 | 72,059 |
#include "HelloWorldAndroidJNI.h"
jstring JNICALL hello(JNIEnv * env, jobject obj) {
return (*env)->NewStringUTF(env, "Hello World from JNI!");
}
jint JNICALL add(JNIEnv * env, jobject obj, jint value1, jint value2) {
return (value1 + value2);
}
// ----------------------------------------------------------------... | sbt-android-mill/sbt-android-mill | src/sbt-test/android-mill/HelloWorldJNI/src/main/jni/HelloWorldAndroidJNI.c | C | apache-2.0 | 1,663 |
/*
* =====================================================================================
*
* Filename: testac97.c
*
* Description:
*
* Version: 1.0
* Created: 05/10/2012 08:07:46 PM
* Revision: none
* Compiler: gcc
*
* Author: DAI ZHENGHUA (), djx.zhenghu... | zhenghuadai/uefi-programming | book/audio/testac97.c | C | apache-2.0 | 4,236 |
#include "dlmalloc.h"
#ifdef WIN32
#pragma warning( disable : 4146 ) /* no "unsigned" warnings */
#endif /* WIN32 */
#include <stdio.h> /* for printing in malloc_stats */
#ifndef LACKS_ERRNO_H
#include <errno.h> /* for MALLOC_FAILURE_ACTION */
#endif /* LACKS_ERRNO_H */
#if FOOTERS
#include <time.h> ... | birderyu/GSystem | source/gcore/dlmalloc.c | C | apache-2.0 | 132,201 |
/*
* Copyright (C) 2015 University of Oregon
*
* You may distribute under the terms of either the GNU General Public
* License or the Apache License, as specified in the LICENSE file.
*
* For more information, see the LICENSE file.
*/
/*
*/
/*-------------------------------------------------------------------... | OpenVnmrJ/OpenVnmrJ | src/vwacq/simplex.c | C | apache-2.0 | 44,221 |
/*
* Copyright 2017 Daniil Kazantsev
*
* 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 wr... | dkazanc/TomoPhantom | Wrappers/MATLAB/src/TomoP2DSinoNum.c | C | apache-2.0 | 2,526 |
/*
* ZMap Copyright 2013 Regents of the University of Michigan
*
* 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
*/
#include <stdlib.h>
#includ... | scarito/zmap | src/probe_modules/module_upnp.c | C | apache-2.0 | 9,428 |
/*
* Mesa 3-D graphics library
*
* Copyright (C) 1999-2008 Brian Paul All Rights Reserved.
* Copyright (C) 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 dea... | execunix/vinos | xsrc/external/mit/MesaLib/dist/src/mesa/main/varray.c | C | apache-2.0 | 61,552 |
/* $Id$ */
/******************************************************************************
*
* (c) Copyright 2011 Xilinx, Inc. All rights reserved.
*
* This file contains confidential and proprietary information of Xilinx, Inc.
* and is protected under U.S. and international copyright and other
* intellectual property ... | asm2750/Neopixel_TX_Core | demo/neopixel_sdk/neopixel_test_bsp/mojo_mb/libsrc/iomodule_v1_04_a/src/xiomodule_extra.c | C | apache-2.0 | 5,947 |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Copyright by The HDF Group. *
* Copyright by the Board of Trustees of the University of Illinois. *
* All rights reserved. *
* ... | vfonov/ITK | Modules/ThirdParty/HDF5/src/itkhdf5/src/H5Toh.c | C | apache-2.0 | 7,334 |
/*
* 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 ... | Denisss025/wsfcpp | wsf_c/axis2c/axiom/src/om/om_children_qname_iterator.c | C | apache-2.0 | 5,748 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.