text stringlengths 9 948k |
|---|
#include <iostream>
#include <sys/socket.h>
#include <unistd.h>
#include <stdlib.h>
#include <errno.h>
#include <sys/types.h>
#include <netinet/in.h>
#include <stdio.h>
#include <string.h>
#include <pthread.h>
#include <mysql/mysql.h>
#include <time.h>
#include <queue>
#include <set>
#include "log.h"
#include "jsoncpp/... |
/****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the QtLocation module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL3$
** Commercial License Usage
** Licensees holding valid com... |
//---------------------------------------------------------------------
// <copyright file="_pManagerNetworkProtocol.h" company="Lenovo">
// Copyright (c) 2018-present, Lenovo. All rights reserved. Licensed under BSD, see COPYING.BSD file for details.
// </copyright>
//-------------------------------------------... |
/*
version.c -- SemVer version support
Copyright (c) All Rights Reserved. See details at the end of the file.
*/
/********************************** Includes **********************************/
#include "mpr-version.h"
#include "pcre.h"
/*********************************** Defines *******************... |
/*********************************************************************
*
* $Id: yjson.h 13562 2013-11-14 09:55:44Z mvuilleu $
*
* Simple JSON parser (actually a slightly enhanced lexer)
*
* - - - - - - - - - License information: - - - - - - - - -
*
* Copyright (C) 2011 and beyond by Yoctopuce Sarl, Switzerlan... |
/******************************************************************
light LED dimming control
Features:
- On/Off control
- Smooth dimming with duration
Supported Attributes:
- Switch
- Brightness
- Transition
http://www.github.com/rlisle/PhotonHome
Written by Ron Lisle
BSD license, check license.txt for... |
/* $NetBSD: display.h,v 1.1.1.1 2008/12/22 00:17:57 haad Exp $ */
/*
* Copyright (C) 2001-2004 Sistina Software, Inc. All rights reserved.
* Copyright (C) 2004-2007 Red Hat, Inc. All rights reserved.
*
* This file is part of LVM2.
*
* This copyrighted material is made available to anyone wishing to use,
* modif... |
/*
* Author: Tomi Jylhä-Ollila, Finland 2013-2014
*
* This file is part of Kunquat.
*
* CC0 1.0 Universal, http://creativecommons.org/publicdomain/zero/1.0/
*
* To the extent possible under law, Kunquat Affirmers have waived all
* copyright and related or neighboring rights to Kunquat.
*/
#include <string.h>... |
// The MIT License (MIT) - Copyright (c) 2018 Carlos Vidal
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT H... |
// Copyright (C) 2018 Vincent Chambrin
// This file is part of the Yasl project
// For conditions of distribution and use, see copyright notice in LICENSE
#ifndef YASL_CORE_FILEDEVICE_H
#define YASL_CORE_FILEDEVICE_H
#include "yasl/common/qobject-values.h"
#include "yasl/common/types.h"
#include <QFileDevice>
#inclu... |
/*
* Copyright (c) Contributors to the Open 3D Engine Project.
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#pragma once
#include <AzCore/DOM/DomBackend.h>
#include <AzCore/DOM/DomVisitor.h>
#include <AzCo... |
// Copyright (c) 2009-2019 The BitRub Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITRUB_WALLET_PSBTWALLET_H
#define BITRUB_WALLET_PSBTWALLET_H
#include <psbt.h>
#include <wallet/wallet.h>
/**
* Fi... |
/*
* Copyright (C) 2018 The Android Open Source Project
*
* 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 app... |
// PROGRAM-NAME : Hello, World!
// By Nisha
// PROGRAM-CODE :
#include <stdio.h>
int main()
{
int n,a[50],i,j,min,pos;
printf("Enter number of elements\n");
scanf("%d", &n);
printf("Enter array elements \n");
for (i = 0; i < n; i++)
scanf("%d", &a[i]);
for (i=0;i<n-1;i++)
{
min=a[i];
pos=i;
for(j=i+1;j<n;j... |
/*
This file is part of the implementation for the technical paper
Field-Aligned Online Surface Reconstruction
Nico Schertler, Marco Tarini, Wenzel Jakob, Misha Kazhdan, Stefan Gumhold, Daniele Panozzo
ACM TOG 36, 4, July 2017 (Proceedings of SIGGRAPH 2017)
Use of this source code is granted via a BSD-style l... |
// Options: --no-arrays --no-pointers --no-structs --no-unions --argc --no-bitfields --checksum --comma-operators --compound-assignment --concise --consts --divs --embedded-assigns --pre-incr-operator --pre-decr-operator --post-incr-operator --post-decr-operator --unary-plus-operator --jumps --longlong --int8 --uint8... |
#ifndef __GPIO_H__
#define __GPIO_H__
#include <resea.h>
#include <resea/gpio.h>
// GPIO_OUTPUT_PIN, GPIO_INPUT_PIN, GPIO_HIGH, GPIO_LOW
// are defined in resea/gpio.h
class _GPIO {
channel_t gpio_server;
public:
_GPIO();
void set_pin_mode(int pin, int mode);
void write(int pin, int value);
int... |
/*
* Copyright (c) 2001-2004 Swedish Institute of Computer Science.
* 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 not... |
/*
* Copyright (c) 2011 The Native Client Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include <errno.h>
#include <sys/stat.h>
#include "native_client/src/untrusted/nacl/nacl_irt.h"
int stat(const char *file, struct stat *... |
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 130000 && __IPHONE_OS_VERSION_MAX_ALLOWED < 140000
#import "Xcode_11_0_XCTest_CDStructures.h"
#import "Xcode_11_0_MXMInstrumental.h"
#import "Xcode_11_0_SharedHeader.h"
#import <Foundation/Foundation.h>
@protocol XCTMetric;
@class XCTPerformanceMeasurementTimestamp;
//
// ... |
///
/// Copyright (c) 2016 Dropbox, Inc. All rights reserved.
///
/// Auto-generated by Stone, do not modify.
///
#import <Foundation/Foundation.h>
#import "DBSerializableProtocol.h"
@class DBTEAMLOGAdminRole;
@class DBTEAMLOGMemberChangeAdminRoleDetails;
NS_ASSUME_NONNULL_BEGIN
#pragma mark - API Object
///
/// ... |
/*
Copyright 1986, 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 notice appear in suppor... |
//------------------------------------------------------------------------------
/*
This file is part of rippled: https://github.com/ripple/rippled
Copyright (c) 2012-2017 Ripple Labs Inc
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby gr... |
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
@class NSCalendar, NSMutableDictionary;
@interface PLAggregationProcessor : NSObject
{
NSCalendar *_calendar;
NSMutableDictionary *_curatedAssetCountB... |
/* vi:set ts=8 sts=4 sw=4 noet:
*
* VIM - Vi IMproved by Bram Moolenaar
*
* Do ":help uganda" in Vim to read copying and usage conditions.
* Do ":help credits" in Vim to see a list of people who contributed.
* See README.txt for an overview of the Vim source code.
*/
/*
* Python extensions by Paul Moore.
*... |
/*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010-2013 Facebook, Inc. (http://www.facebook.com) |
+---------... |
/*
* Author: doe300
*
* See the file "LICENSE" for the full license governing this code.
*/
#ifndef VC4CL_EXTENSIONS_H
#define VC4CL_EXTENSIONS_H
#include "_config.h"
#include "_overloads.h"
#include "_intrinsics.h"
/*
* Loop unroll pragma extension
*
* Defines "#pragma unroll <factor>"
*
* CLang supports ... |
#include <iostream>
using namespace std;
class graphValidTree{
public:
static int naive(int n);
}; |
/* Copyright (c) 2014 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "crc8.h"
uint8_t crc8(const void* vptr, uint32_t size) {
const uint8_t* data = vptr;
unsigned crc = 0;
uint32_t i, j;
/*
... |
/*
* Copyright 2018- The Pixie 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 applicable law or ag... |
//
// AppDelegate.h
// Banner
//
// Created by Ari on 16/10/13.
// Copyright © 2016年 com.Ari. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end |
#undef CONFIG_IP_PIMSM_V2 |
//
// BLogFormatter.h
// Pods
//
// Created by Edward on 31/7/17.
//
//
#ifndef BLogFormatter_h
#define BLogFormatter_h
#include <stdio.h>
#include <inttypes.h>
#include "BCommonDef.h"
void formatLogHeader(char *pBuf, BLogType eLogType, intmax_t nPID, intmax_t nTID, intmax_t nMainTID, const char *pTag, const cha... |
/*
* This header is generated by classdump-dyld 1.0
* on Sunday, September 27, 2020 at 11:41:13 AM Mountain Standard Time
* Operating System: Version 14.0 (Build 18A373)
* Image Source: /System/Library/Frameworks/NetworkExtension.framework/NetworkExtension
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016... |
/*
* This header is generated by classdump-dyld 1.0
* on Sunday, September 27, 2020 at 11:42:04 AM Mountain Standard Time
* Operating System: Version 14.0 (Build 18A373)
* Image Source: /System/Library/PrivateFrameworks/SAObjects.framework/SAObjects
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Eli... |
/*
* 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 ... |
#ifndef PCARD_H
#define PCARD_H
// Punch card (wrap guide) rendering.
#include <stdio.h>
#include "v_file.h"
#include "config.h"
#include "ui.h"
// As a rendered char background.
void punched_card__print_at_offset(const Config* const, const size_t);
#endif |
/*
* This header is generated by classdump-dyld 1.0
* on Sunday, June 7, 2020 at 11:12:27 AM Mountain Standard Time
* Operating System: Version 13.4.5 (Build 17L562)
* Image Source: /System/Library/Frameworks/Foundation.framework/Foundation
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneo... |
/*
* execute command tree
*/
#include "sh.h"
#include "c_test.h"
#include <ctype.h>
#include "ksh_stat.h"
/* Does ps4 get parameter substitutions done? */
#ifdef KSH
# define PS4_SUBSTITUTE(s) substitute((s), 0)
#else
# define PS4_SUBSTITUTE(s) (s)
#endif /* KSH */
static int comexec ARGS((struct op *t, struct tb... |
/* Copyright (C) 1991 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public License as
published by the Free Software Foundation; either version 2 of the
License, or (at your ... |
#ifndef _MSG_STATS_H_INCLUDED_
#define _MSG_STATS_H_INCLUDED_
/*++
/* NAME
/* msg_stats 3h
/* SUMMARY
/* message delivery profiling
/* SYNOPSIS
/* #include <msg_stats.h>
/* DESCRIPTION
/* .nf
/*
* System library.
*/
#include <sys/time.h>
#include <time.h>
#include <string.h>
/*
* Utility library.
*/
#inclu... |
#ifndef STK_SOCKET_H
#define STK_SOCKET_H
//#include "Stk.h"
#include <string>
#include <cstring>
#include <iostream>
#include <sstream>
#include <sys/socket.h>
#include <sys/types.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <unistd.h>
#include <fcntl.h>
#include <netinet/in.h>
#include <n... |
#ifndef GMARK_ATTRIBUTE_H
#define GMARK_ATTRIBUTE_H
#include <memory>
#include <map>
#include <iomanip>
#include <sstream>
#include <algorithm>
#include <codecvt>
#include "random_distribution.h"
#include "regex_parser/sre_parse.h"
#include "regex_parser/branch.h"
#include "regex_parser/subpattern_opcode.h"
#include "... |
/**
* \file
*
* \brief Autogenerated API include file for the Atmel Software Framework (ASF)
*
* Copyright (c) 2012 Atmel Corporation. All rights reserved.
*
* \asf_license_start
*
* \page License
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided t... |
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef ANDROID_WEBVIEW_BROWSER_PERMISSION_SIMPLE_PERMISSION_REQUEST_H_
#define ANDROID_WEBVIEW_BROWSER_PERMISSION_SIMPLE_PERMISSION_REQUEST_H_
#include ... |
/*
* Copyright (C) 2004-2007, 2009, 2011, 2013 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notic... |
/*
* Copyright (C) 2009 Wolfgang Mauerer <wolfgang.mauerer@siemens.com>.
*
* Xenomai 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 versi... |
/**
******************************************************************************
* @file CAN/CAN_Networking/main.c
* @author MCD Application Team
* @version V1.2.0
* @date 19-September-2013
* @brief Main program body
*****************************************************************************... |
/*
* linux/fs/ext4/inode.c
*
* Copyright (C) 1992, 1993, 1994, 1995
* Remy Card (card@masi.ibp.fr)
* Laboratoire MASI - Institut Blaise Pascal
* Universite Pierre et Marie Curie (Paris VI)
*
* from
*
* linux/fs/minix/inode.c
*
* Copyright (C) 1991, 1992 Linus Torvalds
*
* 64-bit file support on 64-b... |
/* This software and supporting documentation are distributed by
* Institut Federatif de Recherche 49
* CEA/NeuroSpin, Batiment 145,
* 91191 Gif-sur-Yvette cedex
* France
*
* This software is governed by the CeCILL-B license under
* French law and abiding by the rules of distribution of free soft... |
/*
03.Find Grade of Exam
*/
#include<stdio.h>
int main()
{
int mark;
scanf("%d",&mark);
if(mark < 100 && mark > 80)
{
printf("A+ Excellent !\n");
}
else if(mark > 75 && mark < 79)
{
printf("A Excellent !\n");
}
else if(mark > 70 && mark < 74)
{
printf... |
/*
* Generated by class-dump 3.3.4 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard.
*/
#import "NSNibControlConnector.h"
@interface NSNibControlConnector (IBConnectionIntegration)
- (id)ibDesignTimeConnection;
@end |
#include "strvect.c"
#include "degrade.h"
static int test_strvect_access(void)
{
addr pos;
const unicode *ptr;
size_t size;
test(StringBodyLength(5) == IdxSize + sizeoft(unicode) * 5, "StringBodyLength.1");
strvect_heap(&pos, 10);
test(PtrStringBase(pos) == posbodyr(pos), "PtrStringBase.1");
test(*(size_t *)Pt... |
/*
* This header is generated by classdump-dyld 1.0
* on Wednesday, March 22, 2017 at 9:09:23 AM Mountain Standard Time
* Operating System: Version 10.1 (Build 14U593)
* Image Source: /System/Library/PrivateFrameworks/HMFoundation.framework/HMFoundation
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by... |
/**
* @file collision_margin_data.h
* @brief This is used to store collision margin information
*
* It should be used to perform continuous contact checking.
*
* @author Levi Armstrong
* @date January 18, 2018
* @version TODO
* @bug No known bugs
*
* @copyright Copyright (c) 2018, Southwest Research Institut... |
#pragma once
//-------------------------------------------------------------------------------------------------
// <copyright file="wcawow64.h" company="Outercurve Foundation">
// Copyright (c) 2004, Outercurve Foundation.
// This software is released under Microsoft Reciprocal License (MS-RL).
// The license an... |
#ifndef DUMP_TABLE_H
#define DUMP_TABLE_H
#include "util/strbuf.h"
void dump_table(C4Runtime *c4, const char *tbl_name, StrBuf *buf);
#endif /* DUMP_H */ |
/***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* | (__| |_| | _ <| |___
* \___|\... |
#ifndef __SEER_CLIENT_SERVICE_TEST_H__
#define __SEER_CLIENT_SERVICE_TEST_H__
void addSeerClientService();
void modifySeerClientServiceManager();
void delSeerClientService();
void getSeerClientService();
#endif |
/**
* FreeRDP: A Remote Desktop Protocol Implementation
* GDI Clipping Functions
*
* Copyright 2010-2011 Marc-Andre Moreau <marcandre.moreau@gmail.com>
* Copyright 2016 Armin Novak <armin.novak@thincast.com>
* Copyright 2016 Thincast Technologies GmbH
*
* Licensed under the Apache License, Version 2.0 (the "Lic... |
#ifndef _SERIO_H
#define _SERIO_H
/*
* Copyright (C) 1999-2002 Vojtech Pavlik
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published by
* the Free Software Foundation.
*/
#include <linux/ioctl.h>
#define SPIOCSTYPE _... |
#ifndef __pandasdl_tilebatch_h__
#define __pandasdl_tilebatch_h__
#include "../../lib_include/GLEW/glew.h"
#include <GL/gl.h>
#include "../../lib_include/glm/glm.hpp"
#include "../../lib_include/glm/gtc/type_ptr.hpp"
#include "../general/game.h"
#include "texture_2D.h"
#include "shader.h"
#include "../math/vector2.h... |
/* set object implementation
Written and maintained by Raymond D. Hettinger <python@rcn.com>
Derived from Lib/sets.py and Objects/dictobject.c.
The basic lookup function used by all operations.
This is based on Algorithm D from Knuth Vol. 3, Sec. 6.4.
The initial probe index is computed as hash mod th... |
/*
* 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 "license" ... |
/**
* Copyright (C) 2013 MongoDB Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY ... |
/*
* Copyright (C) 2002-2003 Hewlett-Packard Co
* David Mosberger-Tang <davidm@hpl.hp.com>
*/
#ifndef _ASM_IA64_THREAD_INFO_H
#define _ASM_IA64_THREAD_INFO_H
#include <asm/offsets.h>
#include <asm/processor.h>
#include <asm/ptrace.h>
#define TI_TASK 0x00
#define TI_EXEC_DOMAIN 0x08
#define TI_FLAGS 0x10
#defin... |
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSView.h"
@class NSString;
@interface DVTInvalidDataIndicatorView : NSView
{
NSString *_alertMessage;
NSString *_alertInformativeText;
}
@property(copy) NSString... |
/*
* Copyright (c) 2020 Intel Corporation.
*
* SPDX-License-Identifier: Apache-2.0
*/
#define LOG_LEVEL CONFIG_IVSHMEM_LOG_LEVEL
#include <logging/log.h>
LOG_MODULE_REGISTER(ivshmem);
#include <errno.h>
#include <kernel.h>
#include <arch/cpu.h>
#include <soc.h>
#include <device.h>
#include <init.h>
#include <d... |
/*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, instal... |
#include "qnumber.h"
#include "util.h"
#include <stdio.h>
int QuantumNumberTest()
{
int status;
// accumulated error
int err = 0;
printf("Testing quantum number utility functions, for one U(1) symmetry...\n");
// load quantum numbers from disk
const size_t n0 = 12;
const size_t n1 = 10;
qnumber_t *q0 = (qn... |
#ifndef __E_CONFIGURATION_H__
#define __E_CONFIGURATION_H__
#include "EditorPanel.h"
struct HardwareInfo;
#define MAX_HISTOGRAM_SIZE 100
class E_Configuration : public EditorPanel
{
public:
E_Configuration();
~E_Configuration();
bool Draw (ImGuiIO& io) override;
bool CleanUp () override;
public:
void Update... |
/*
* fontconfig/src/fcint.h
*
* Copyright © 2000 Keith Packard
*
* 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 ... |
#ifndef MORPHOLOGY_H
#define MORPHOLOGY_H
#include <cstdio>
#include <cstdlib>
#include "common.h"
#define BLACK 0
#define WHITE 255
/*!
* \file morphology.h
*
* We use the van Herk/Gil-Werman (vHGW) algorithm, [van Herk,
* Patt. Recog. Let. 13, pp. 517-521, 1992; Gil and Werman,
* IEEE Trans PAMI 15(5), pp. 5... |
/* Copyright (c) 2013-2017 Mahmoud Fayed <msfclipper@yahoo.com> */
#include "ring.h"
/*
** Functions
** List
*/
RING_API List * ring_list_new_gc ( void *pState,int nSize )
{
List *pList ;
pList = (List *) ring_state_malloc(pState,sizeof(List));
if ( pList == NULL ) {
printf( RING_OOM ) ;
exit(0);
}
retur... |
//
// ResourceParser.h
// snowcrash
//
// Created by Zdenek Nemec on 5/4/13.
// Copyright (c) 2013 Apiary Inc. All rights reserved.
//
#ifndef SNOWCRASH_RESOURCEPARSER_H
#define SNOWCRASH_RESOURCEPARSER_H
#include "SectionParser.h"
#include "ActionParser.h"
#include "DataStructureGroupParser.h"
#include "HeadersP... |
/*
* FreeModbus Libary: Win32 Port
* Copyright (C) 2006 Christian Walter <wolti@sil.at>
*
* 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 (a... |
//
// TapsellAd.h
// TapsellSDKv3
//
// Created by Tapsell on 5/13/17.
// Copyright © 2017 Tapsell. All rights reserved.
//
#ifndef TapsellAd_h
#define TapsellAd_h
#import <Foundation/Foundation.h>
#import "TSAdRequestOptions.h"
#import "TSAdShowOptions.h"
@interface TapsellAd : NSObject
-(void)setAd:(id _Nulla... |
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#else
#ifndef FOUNDATION_EXPORT
#if defined(__cplusplus)
#define FOUNDATION_EXPORT extern "C"
#else
#define FOUNDATION_EXPORT extern
#endif
#endif
#endif
#import "MBDoraemonNetworkPlugin.h"
#import "MBKitManager.h"
#import "MBNetworkAlertController.h"
#import "MBNetworkDetailTab... |
/*
* Rubber Marbles - K Sheldrake
* rb-gtk.c
*
* This file is part of rubbermarbles.
*
* Copyright (C) 2016 Kevin Sheldrake <rtfcode at gmail.com>
* This work is free. You can redistribute it and/or modify it under the
* terms of the Do What The Fuck You Want To Public License, Version 2,
* as published by Sa... |
// Copyright 2013 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 appl... |
#ifndef DIRSIZ
#define DIRSIZ 14
#endif
struct dir
{
ino_t d_ino;
char d_name[DIRSIZ];
}; |
/*
* fs/f2fs/super.c
*
* Copyright (c) 2012 Samsung Electronics Co., Ltd.
* http://www.samsung.com/
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#include <... |
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CC_TEST_TEST_LAYER_TREE_FRAME_SINK_H_
#define CC_TEST_TEST_LAYER_TREE_FRAME_SINK_H_
#include <memory>
#include <set>
#include <vector>
#include ... |
/*
* Copyright: JessMA Open Source (ldcsaa@gmail.com)
*
* Author : Bruce Liang
* Website : http://www.jessma.org
* Project : https://github.com/ldcsaa
* Blog : http://www.cnblogs.com/ldcsaa
* Wiki : http://www.oschina.net/p/hp-socket
* QQ Group : 75375912, 44636872
*
* Licensed under the Apache License, Version 2.0 ... |
/*
* Generated by asn1c-0.9.24 (http://lionet.info/asn1c)
* From ASN.1 module "NBIOT-RRC-Definitions"
* found in "fixed_grammar.asn"
* `asn1c -gen-PER`
*/
#ifndef _NPRACH_Parameters_NB_r14_H_
#define _NPRACH_Parameters_NB_r14_H_
#include <asn_application.h>
/* Including external dependencies */
#include <Nat... |
/*
+----------------------------------------------------------------------+
| JONJ Version 5 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2016 The JONJ Group |
+-------... |
/**
* gcc zero.c -o zero && ./zero $input
*
* This approach uses a simple finite state machine to walk the integer in
* memory seeking the most-significant-bit. Once found it will accumulate the
* maximum count of consecutive zeros.
*/
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char *argv[]) {
if... |
//
// NestingWebViewController.h
//
// Copyright (c) 2019 dequanzhu
//
// 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 us... |
/*-------------------------------------------------------------------------
*
* allpaths.c
* Routines to find possible search paths for processing a query
*
* Portions Copyright (c) 1996-2018, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
*
* IDE... |
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "EUTRA-RRC-Definitions"
* found in "/home/user/openairinterface5g/openair2/RRC/LTE/MESSAGES/asn1c/ASN1_files/lte-rrc-14.7.0.asn1"
* `asn1c -pdu=all -fcompound-names -gen-PER -no-gen-OER -no-gen-example -D /home/user/openairinterface5g/c... |
/*
* Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission... |
/*
* Copyright (C) 2007, 2008 Apple 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 above copyright
* notice, this list of condit... |
/*
* Copyright (c) Contributors to the Open 3D Engine Project. For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#pragma once
#include <AzCore/Component/EntityId.h>
#include <AzCore/EBus/EBus.h>
#include <AzCore/... |
/*
american fuzzy lop++ - shared memory related code
-------------------------------------------------
Originally written by Michal Zalewski
Forkserver design by Jann Horn <jannhorn@googlemail.com>
Now maintained by Marc Heuse <mh@mh-sec.de>,
Heiko Eißfeldt <heiko.eissfeldt@hex... |
///////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2012-2013 DreamWorks Animation LLC
//
// All rights reserved. This software is distributed under the
// Mozilla Public License 2.0 ( http://www.mozilla.org/MPL/2.0/ )
//
// Redistributions of source code must retain the abov... |
/***
* This code is a part of EvoApproxLib library (ehw.fit.vutbr.cz/approxlib) distributed under The MIT License.
* When used, please cite the following article(s): PRABAKARAN B. S., MRAZEK V., VASICEK Z., SEKANINA L., SHAFIQUE M. ApproxFPGAs: Embracing ASIC-based Approximate Arithmetic Components for FPGA-Based Syste... |
//
// RMMemoryCache.h
//
// Copyright (c) 2008-2009, Route-Me Contributors
// 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 copyrig... |
/*-
* Copyright (c) 1982, 1986, 1993
* The Regents of the University of California. All rights reserved.
* (c) UNIX System Laboratories, Inc.
* All or some portions of this file are derived from material licensed
* to the University of California by American Telephone and Telegraph
* Co. or Unix System Laborator... |
/*
www.sourceforge.net/projects/tinyxml
Original code (2.0 and earlier )copyright (c) 2000-2006 Lee Thomason (www.grinninglizard.com)
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.
Permissio... |
/*
* IPv6 BSD socket options interface
* Linux INET6 implementation
*
* Authors:
* Pedro Roque <roque@di.fc.ul.pt>
*
* Based on linux/net/ipv4/ip_sockglue.c
*
* $Id: ipv6_sockglue.c,v 1.41 2002/02/01 22:01:04 davem Exp $
*
* This program is free software; you can redistribute it and/or
* modify it u... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.