text stringlengths 9 948k |
|---|
//
// DMCompP.H
//
// Private include for DMCompos.DLL
//
// Copyright (c) 1997-1998 Microsoft Corporation
//
//
#ifndef _DMCOMPP_
#define _DMCOMPP_
#define ALL_TRACK_GROUPS 0xffffffff
extern long g_cComponent;
// Class factory
//
class CDirectMusicPersonalityFactory : public IClassFactory
{
public:
// IUnknown... |
#pragma once
#include "Timer.h"
#include <string>
#include <unordered_map>
#include <memory>
#include <sys/epoll.h>
#include <functional>
#include <sys/epoll.h>
class EventLoop;
class HttpData;
class Channel
{
private:
typedef std::function<void()> CallBack;//事件的回调处理
EventLoop *loop_;//所属的Eventloop
int ... |
/*
* ====================================================
* Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
*
* Developed at SunPro, a Sun Microsystems, Inc. business.
* Permission to use, copy, modify, and distribute this
* software is freely granted, provided that this notice
* is preserved.
... |
// ListOfPrimitives.h: interface for the CIntermediateRepresentation class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(LISTOFPRIMITIVES_H)
#define LISTOFPRIMITIVES_H
#include "GCompiler.h"
#include <list>
#define DEFAULT_WIDTH 140
#define DEFAULT_HEIGHT 100
#define NUMBER_... |
/**
* \copyright
* Copyright (c) 2012-2019, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/project/license
*/
#pragma once
#include <iosfwd>
#include <string>
#in... |
/*
This program is free software; you can redistribute it and/or modify it under
the terms of the European Union Public Licence - EUPL v.1.1 as published by
the European Commission.
This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCH... |
/*
* linux/arch/arm/kernel/armksyms.c
*
* Copyright (C) 2000 Russell King
*
* 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/module.h>
#include <linux/strin... |
/*
* This header is generated by classdump-dyld 1.5
* on Wednesday, October 27, 2021 at 3:23:20 PM Mountain Standard Time
* Operating System: Version 13.5.1 (Build 17F80)
* Image Source: /System/Library/AccessibilityBundles/UIKi... |
#pragma once
#include "WAVM/Inline/BasicTypes.h"
#include "WAVM/Logging/Logging.h"
#include "WAVM/Platform/File.h"
#include "WAVM/VFS/VFS.h"
#include <vector>
namespace WAVM {
inline bool loadFile(const char* filename, std::vector<U8>& outFileContents)
{
VFS::Result result;
VFS::VFD* vfd = nullptr;
{
resu... |
/*
* Copyright 2010-2017 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" fil... |
/*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2017 - ROLI Ltd.
JUCE is an open source library subject to commercial or open-source
licensing.
The code included in this file is provided under the terms of the ISC... |
#ifndef ESMIDIINTERFACE_H_
#define ESMIDIINTERFACE_H_
#include "ESDataTypes.h"
#include <map>
#include <string>
namespace ESSynth {
class ESMidiInterface {
public:
virtual ESInt32Type Initialize() = 0;
virtual ESInt32Type OpenInputInterface(ESInt32Type interfaceId) = 0;
virtual ESInt32Type Start() = ... |
// $Id: btree_map.h 130 2011-05-18 08:24:25Z tb $
/** \file btree_map.h
* Contains the specialized B+ tree template class btree_map
*/
/*
* STX B+ Tree Template Classes v0.8.6
* Copyright (C) 2008-2011 Timo Bingmann
*
* This library is free software; you can redistribute it and/or modify it
* under the terms of... |
/*
* This header is generated by classdump-dyld 1.0
* on Sunday, September 27, 2020 at 11:51:34 AM Mountain Standard Time
* Operating System: Version 14.0 (Build 18A373)
* Image Source: /System/Library/PrivateFrameworks/AVConference.framework/AVConference
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 ... |
#ifndef OUT_NOOUTPUT_H
#define OUT_NOOUTPUT_H
#include "../OutputMethod.h"
class Application;
#include <iostream>
class Out_NoOutput : public OutputMethod
{
private:
protected:
public:
Out_NoOutput(MethodType id, std::shared_ptr<Tool> owner) : OutputMethod{ id, owner }
{
this->type = MethodType::out_noOutput;
... |
////////////////////////////////////////////////////////////////////////////////
// Copyright 2017 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.apac... |
// David Eberly, Geometric Tools, Redmond WA 98052
// Copyright (c) 1998-2019
// Distributed under the Boost Software License, Version 1.0.
// https://www.boost.org/LICENSE_1_0.txt
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
// Version: 4.0.2019.08.13
#pragma once
#include <Mathematics/Vector4.h>
... |
//
// iCadeUnityLink.h
// Unity-iPhone
//
// Created by Matthew Klundt on 12/11/12.
//
//
#import <Foundation/Foundation.h>
#import "iCadeReaderView.h"
@interface iCadeUnityLink : NSObject <iCadeEventDelegate> {
int joystickNum;
}
@end |
/* calstis8 -- Sum repeatobs data */
# include <stdio.h>
# include <stdlib.h> /* calloc */
# include <string.h>
# include <c_iraf.h> /* for c_irafinit */
# include "../stis.h"
# include "calstis8.h"
# include "../stiserr.h"
/* This is the main module for calstis8. It gets the input and output
file names, cali... |
#ifndef __REQUEST_H
#define __REQUEST_H
#include <vector>
#include <functional>
#include <iostream>
using namespace std;
namespace ramulator
{
//-----------------------------
// User defined member
// ----------------------------
struct UDF{
long burstIdx;
long reqIdx;
int p... |
#ifndef LICENSE_H
#define LICENSE_H
#include <QDialog>
#include <QMouseEvent>
namespace Ui {
class LICENSE;
}
class LICENSE : public QDialog
{
Q_OBJECT
public:
explicit LICENSE(QWidget *parent = nullptr);
~LICENSE();
bool License;
void mouseMoveEvent(QMouseEvent *event);
void mousePressEvent... |
/*
* Copyright (c) 2007 Mans Rullgard
*
* 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 lat... |
/*
* This header is generated by classdump-dyld 1.0
* on Saturday, August 24, 2019 at 9:48:30 PM Mountain Standard Time
* Operating System: Version 12.4 (Build 16M568)
* Image Source: /System/Library/AccessibilityBundles/UIKit.axbundle/UIKit
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limne... |
#pragma once
#include <cstdint>
#include <array>
#include <vector>
#include <set>
#include <map>
#include <string>
#include <cassert>
#include <glm/vec3.hpp>
#include <GameDefinitions/BaseTypes.h>
namespace bg3se
{
enum class ValueType : uint32_t
{
None = 0,
Integer = 1,
Integer64 = 2,
Real = 3,
String = 4,
Gu... |
//
// AppDelegate.h
// TestHarness
//
// Created by Kevin Ballard on 9/29/04.
// Copyright 2004 TildeSoft. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@interface AppDelegate : NSObject {
NSArray *plugins;
NSImage *currentImage;
NSString *artist;
NSString *album;
NSString *song;
NSNumber *compilation;
I... |
/*
* machine_kexec.c - handle transition of Linux booting another kernel
* Copyright (C) 2002-2005 Eric Biederman <ebiederm@xmission.com>
*
* This source code is licensed under the GNU General Public License,
* Version 2. See the file COPYING for more details.
*/
#include <linux/mm.h>
#include <linux/kexec.h>
... |
/*
* This file is part of the OpenMV project.
* Copyright (c) 2013/2014 Ibrahim Abdelkader <i.abdalkader@gmail.com>
* This work is licensed under the MIT license, see the file LICENSE for details.
*
* MP assertions.
*
*/
#ifndef __PY_ASSERT_H__
#define __PY_ASSERT_H__
#define PY_ASSERT_TRUE(cond) ... |
/*
* Mesa 3-D graphics library
* Version: 6.5.2
*
* Copyright (C) 1999-2006 Brian Paul All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, ... |
// Copyright (C) 2014 - Andrea Tagliasacchi
#pragma once
#include "GL/glew.h" ///< must be included before GLFW
#include "GL/glfw.h"
#include "shader_helpers.h"
/// Convenience constants
static const int ONE = 1;
static const bool DONT_NORMALIZE = false;
static const bool DONT_TRANSPOSE = false;
static const int ZERO... |
/* ========================================================================== */
/* === UMF_singletons ======================================================= */
/* ========================================================================== */
/* -------------------------------------------------------------------------... |
/*
LUFA Library
Copyright (C) Dean Camera, 2011.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
Copyright 2011 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purp... |
class NOVTABLE resampler_entry : public dsp_entry
{
public:
virtual bool is_conversion_supported(unsigned p_srate_from,unsigned p_srate_to) = 0;
virtual bool create_preset(dsp_preset & p_out,unsigned p_target_srate,float p_qualityscale) = 0;//p_qualityscale is 0...1
virtual float get_priority() = 0;//value is 0...1,... |
/*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2020 - Raw Material Software Limited
JUCE is an open source library subject to commercial or open-source
licensing.
The code included in this file is provided under ... |
// Copyright (c) 2007 Fernando Luis Cacciola Carballal. All rights reserved.
//
// This file is part of CGAL (www.cgal.org).
// 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 opti... |
/**
* Copyright (C) 2017, Daniel Thuerck
* TU Darmstadt - Graphics, Capture and Massively Parallel Computing
* All rights reserved.
*
* This software may be modified and distributed under the terms
* of the BSD license. See the LICENSE file for details.
*/
#include "header/timer.h"
NS_MAPMAP_BEGIN
_timer::
_t... |
// SPDX-License-Identifier: GPL-2.0
/* Copyright (C) 2007-2019 B.A.T.M.A.N. contributors:
*
* Marek Lindner, Simon Wunderlich, Antonio Quartulli
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of version 2 of the GNU General Public
* License as published by the Free ... |
//
// Note.h
// synth1
//
// Created by Mathias Dietrich on 31.05.20.
// Copyright © 2020 Flipotronics. All rights reserved.
//
#ifndef Note_h
#define Note_h
struct Note{
int midiNote;
int midiVelocity;
int tickLength;
double freq;
int sampleLength;
int startClock;
int endClock;
... |
/*
* NimBLEEddystoneURL.h
*
* Created: on March 15 2020
* Author H2zero
*
* Originally:
*
* BLEEddystoneURL.h
*
* Created on: Mar 12, 2018
* Author: pcbreflux
*/
#ifndef _NIMBLEEddystoneURL_H_
#define _NIMBLEEddystoneURL_H_
#if defined(CONFIG_BT_ENABLED) && defined(CONFIG_NIMBLE_ENABLED)
#inclu... |
/*******************************************************************************************************
Programs for Arduino - Copyright of the author Stuart Robinson - 16/12/19
This program is supplied as is, it is up to the user of the program to decide if the program is
suitable for the intended purpose and ... |
#ifndef __MODULEFADETOBLACK_H__
#define __MODULEFADETOBLACK_H__
#include "Module.h"
#include "SDL\include\SDL_rect.h"
class ModuleFadeToBlack : public Module
{
public:
ModuleFadeToBlack();
~ModuleFadeToBlack();
bool Start();
update_status Update();
bool FadeToBlack(Module* module_off, Module* module_on, float t... |
/* mbed UniGraphic library - Abstract protocol class
* Copyright (c) 2015 Giuliano Dianda
* Released under the MIT License: http://mbed.org/license/mit
*/
/** @file Protocols.h
*/
#ifndef Protocols_H
#define Protocols_H
#include "mbed.h"
#define RGB24to16(r,g,b) (((r&0xF8)<<8)|((g&0xFC)<<3)|((b&0xF8)>>3)) //5 r... |
#include "clapack.h"
/* Table of constant values */
static integer c__1 = 1;
static doublereal c_b12 = 1.;
static integer c_n1 = -1;
/* Subroutine */ int dgetrs_(char* trans, integer* n, integer* nrhs,
doublereal* a, integer* lda, integer* ipiv, doublereal* b, integer *
... |
/****************************************************************************
****************************************************************************
***
*** This header was automatically generated from a Linux kernel header
*** of the same name, to make information necessary for userspace to
*** call i... |
// Copyright (c) 2012 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 CHROME_BROWSER_CRASH_UPLOAD_LIST_H_
#define CHROME_BROWSER_CRASH_UPLOAD_LIST_H_
#include "base/memory/ref_counted.h"
#include "components/upl... |
//
// FSTabView.h
// FSUIKit
//
// Created by FudonFuchina on 2021/8/7.
//
#import "FSView.h"
NS_ASSUME_NONNULL_BEGIN
@interface FSTabView : FSView
@property (nonatomic, strong) UILabel *label;
// 是否选中,由外界记录
@property (nonatomic, assign) BOOL selected;
@property (nonatomic, copy) void (^selected... |
/*
* This source file is part of RmlUi, the HTML/CSS Interface Middleware
*
* For the latest information, see http://github.com/mikke89/RmlUi
*
* Copyright (c) 2008-2010 CodePoint Ltd, Shift Technology Ltd
* Copyright (c) 2019 The RmlUi Team, and contributors
*
* Permission is hereby granted, free of charge, to... |
/*
* Copyright (C) the libgit2 contributors. All rights reserved.
*
* This file is part of libgit2, distributed under the GNU GPL v2 with
* a Linking Exception. For full terms see the included COPYING file.
*/
#ifndef INCLUDE_git_deprecated_h__
#define INCLUDE_git_deprecated_h__
#include "attr.h"
#include "config... |
#ifndef __CURL_CURLVER_H
#define __CURL_CURLVER_H
/***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* | (__| |_| ... |
//-----------------------------------
// Copyright Pierric Gimmig 2013-2017
//-----------------------------------
#pragma once
#include <atomic>
#include <memory>
#include <string>
#include <thread>
#include <vector>
#include "LinuxTracingSession.h"
#include "Message.h"
#include "ProcessUtils.h"
#include "StringManag... |
//
// 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"
@protocol QZCommonVideoViewDelegate <NSObject>
@optional
- (double)getVideoDuration;
- (double)getVideoPlayCurrentTime;
- (_Bool)isMuted;
- (_Bool)isPlaying;
... |
/* ========================================================================== */
/* === UMFPACK_qsymbolic ==================================================== */
/* ========================================================================== */
/* -------------------------------------------------------------------------... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <netinet/in.h>
#include <sys/select.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <errno.h>
#include <arpa/inet.h>
#include <unistd.h>
#include "log.h"
#include "scpi-def.h"
#ifdef WITH_SYSTEMD
#include "sd-helper.h"
#endif
#define SCPI... |
//
// Generated by classdumpios 1.0.1 (64 bit) (iOS port by DreamDevLost)(Debug version compiled Sep 26 2020 13:48:20).
//
// Copyright (C) 1997-2019 Steve Nygard.
//
#import "MTPodcastDatabaseDebugProvider.h"
@interface MTPodcastDatabaseWalDebugProvider : MTPodcastDatabaseDebugProvider
{
}
- (id)debugDataFileN... |
#include "ip6.h"
#include <string.h>
#include "sorted_array.h"
static int
addr_cmp(struct in6_addr const *a, struct in6_addr const *b)
{
/* The addresses are stored in big endian. */
return memcmp(a, b, sizeof(uint32_t[4]));
}
/* a == b? */
static bool
addr_equals(struct in6_addr const *a, struct in6_addr const *b... |
/* linenoise.c -- guerrilla line editing library against the idea that a
* line editing lib needs to be 20,000 lines of C code.
*
* You can find the original source code at:
* http://github.com/antirez/linenoise
*
* Does a number of crazy assumptions that happen to be true in 99.9999% of
* the 2010 UNIX comput... |
//OPTIMISED : COMPLEXITY O(n)
#include<stdio.h>
/*void f()
{
int i,a[30],c, n;
printf("Enter the limit \n");
scanf("%d",&n);
for(i=0; i<n*3-1; i++)
scanf("%d",&a[i]);
i=0;
A:
c=1;
while(a[i]==a[++i])
c++;
if(c==2)
printf("%d", a[i-1]);
else
goto A;
... |
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "socket_client.h"
#include "system_config.h"
#include "algorithms.h"
void usage(char *name);
int main(int argc, char **argv) {
//server_info *(*algorithm)(system_config*,server_group*,job_info) = &all_to_largest;
algorithm_t a = ALL_TO_LARGEST;
i... |
// SPDX-License-Identifier: GPL-2.0
/*
* Hidraw Userspace Example
*
* Copyright (c) 2010 Alan Ott <alan@signal11.us>
* Copyright (c) 2010 Signal 11 Software
*
* The code may be used by anyone for any purpose,
* and can serve as a starting point for developing
* applications using hidraw.
*/
/* Linux */
#inclu... |
/*
Copyright (c) 2012-2015, Pierre-Olivier Latour
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions a... |
//
// 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 GEOMapFeatureAccess;
__attribute__((visibility("hidden")))
@interface GEORouteRoadMatcher : NSObject
{
GEOMapFeatureAccess *_mapFeatureAccess;
}
-... |
#ifndef LIBCRAFT_NET_SERVER_SERVER_H
#define LIBCRAFT_NET_SERVER_SERVER_H
#include <stddef.h>
#include <libcraft/threading/loop.h>
#include <libcraft/ids.h>
typedef craft_id_t craft_server_t;
typedef craft_id_t craft_server_client_t;
craft_server_t craft_server_create();
void craft_server_free(craft_server_t server)... |
// 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 MEDIA_CAPTURE_VIDEO_VIDEO_CAPTURE_DEVICE_DESCRIPTOR_H_
#define MEDIA_CAPTURE_VIDEO_VIDEO_CAPTURE_DEVICE_DESCRIPTOR_H_
#include <string>
#include ... |
#ifndef __libgl_h__
#define __libgl_h__
#include "libglxgl.h"
typedef __GLXextFuncPtr (*__GLXGetCachedProcAddressPtr)(const GLubyte *);
extern void __glXWrapperInit(__GLXGetCachedProcAddressPtr pGetProcAddress);
#endif |
/**************************************************************************
*
* Copyright 2009 VMware, Inc.
* All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the
* "Software"), to deal in the Software wit... |
/*
* Copyright (C) 2014 Traphandler
* Copyright (C) 2014 Free Electrons
* Copyright (C) 2014 Atmel
*
* Author: Jean-Jacques Hiblot <jjhiblot@traphandler.com>
* Author: Boris BREZILLON <boris.brezillon@free-electrons.com>
*
* This program is free software; you can redistribute it and/or modify it
* under the te... |
/*=========================================================================
Program: Visualization Toolkit
Module: vtkAbstractPolygonalHandleRepresentation3D.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for deta... |
/*
* Copyright (c) 2012, 2013, 2014 Nicira, 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 by applicable... |
/*============================================================================
This file is part of FLINT.
FLINT 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, o... |
/* NextAssemblyUsageOccurrence.h
* BRL-CAD
*
* Copyright (c) 1994-2021 United States Government as represented by
* the U.S. Army Research Laboratory.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* version ... |
//
// QuestionHeaderView.h
// chose
//
// Created by aa on 2019/12/2.
// Copyright © 2019 aa. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "QuestionModel.h"
NS_ASSUME_NONNULL_BEGIN
@interface QuestionHeaderView : UIView
@property(strong,nonatomic)QuestionModel*questionModel;
@end
NS_ASSUME_NONNULL_... |
// SPDX-License-Identifier: Apache-2.0
/**
* Copyright (C) 2020 Parichay Kapoor <pk.kapoor@samsung.com>
*
* @file fc_layer.h
* @date 14 May 2020
* @brief This is Fully Connected Layer Class of Neural Network
* @see https://github.com/nnstreamer/nntrainer
* @author Jijoong Moon <jijoong.moon@samsung.com>
... |
/* than.c: ANSI THREADS MANAGER
*
* $Id$
* Copyright (c) 2001-2020 Ravenbrook Limited. See end of file for license.
*
* This is a single-threaded implementation of the threads manager.
* Has stubs for thread suspension.
* <design/thread-manager#.impl.an>.
*/
#include "mpm.h"
SRCID(than, "$Id$");
typed... |
/* libFLAC - Free Lossless Audio Codec library
* Copyright (C) 2012 Xiph.org Foundation
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* - Redistributions of source code must retain the above copyright
* n... |
/*
* Copyright (c) [2020] Huawei Technologies Co.,Ltd.All rights reserved.
*
* OpenArkCompiler is licensed under the Mulan PSL v1.
* You can use this software according to the terms and conditions of the Mulan PSL v1.
* You may obtain a copy of Mulan PSL v1 at:
*
* http://license.coscl.org.cn/MulanPSL
*
* ... |
hidden int
rta_put_address(struct nlmsghdr *msg, int type, struct sockaddr *adr);
hidden struct rtattr *rta_get(struct nlmsghdr *m, struct rtattr *p, int offset);
hidden void *rta_put(struct nlmsghdr *m, int type, int len);
hidden int rtnetlink_request(struct nlmsghdr *msg, int buflen, struct sockaddr_nl *adr); |
/*
* 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 ... |
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "S1AP-PDU-Descriptions"
* found in "/home/lixh/ue_folder/openair3/S1AP/MESSAGES/ASN1/R14/s1ap-14.5.0.asn1"
* `asn1c -pdu=all -fcompound-names -gen-PER -no-gen-OER -no-gen-example -fno-include-deps -D /home/lixh/ue_folder/cmake_targets/l... |
// The MIT License (MIT)
//
// Copyright (c) 2016 Northeastern University
//
// 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
... |
//
// SearchCityController.h
// SRClimate
//
// Created by https://github.com/guowilling on 16/4/15.
// Copyright © 2016年 SR. All rights reserved.
//
#import <UIKit/UIKit.h>
@protocol AddCityControllerDelegate <NSObject>
- (void)addCityControllerDidAddCity:(NSString *)city;
@end
@interface AddCityController : ... |
//
// MMPSliderTableViewCell.h
// MiniMonsterIOS
//
// Created by Anton Gubarenko on 05.12.15.
// Copyright © 2015 Anton Gubarenko. All rights reserved.
//
#import "MMPDataTableViewCell.h"
#import "MMPSliderDelegate.h"
extern NSString* const kMMPSliderTableViewCellIdentifier;
extern const CGFloat kMMPSliderTableV... |
/**
* This file was generated from "9.bmp" using...
*
* file2c -dcn jg10_9 -f 9.bmp 9.bmp ../romfs_9.h
*
*/
const char jg10_9[] = {
0x42, 0x4D, 0xD0, 0x22, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x36, 0x00, 0x00, 0x00, 0x28, 0x00,
0x00, 0x00, 0x36, 0x00, 0x00, 0x00, 0x36, 0x00, 0x00, 0x00, 0x01, 0x00, 0x18, 0x00, 0... |
/* Copyright (C) 2013-2020 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 Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the ... |
#ifndef PROCESS_H
#define PROCESS_H
#include <string>
/*
Basic class for Process representation
It contains relevant attributes as shown below
*/
class Process {
public:
Process(int pid) : pid_(pid) {}
int Pid() const; // TODO: See src/process.cpp
std::string User(); ... |
/*
* Copyright 2010-2017 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" fil... |
/*===================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics.
All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without
even the implied warranty o... |
/* Open Sensor Platform Project
* https://github.com/sensorplatforms/open-sensor-platform
*
* Copyright (C) 2015 Audience 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
*
* ... |
#include <stdio.h>
#include <stdlib.h>
#include <inttypes.h>
#include <pthread.h>
#include "curl-websocket.h"
#include "websockets.h"
#include "cee-utils.h"
#define CURLE_CHECK(ws, ecode) \
VASSERT_S(CURLE_OK == ecode, "[%s] (CURLE code: %d) %s", \
ws->tag, ... |
//
// CXAlertItem.h
// CXAlertViewDemo
//
// Created by ChrisXu on 13/9/12.
// Copyright (c) 2013年 ChrisXu. All rights reserved.
//
#import <UIKit/UIKit.h>
//#import "CXAlertView.h"
typedef NS_ENUM(NSInteger, CXAlertViewButtonType) {
CXAlertViewButtonTypeDefault = 0,
CXAlertViewButtonTypeCustom = 1,
CX... |
#ifndef __SCENE_SELECT_H__
#define __SCENE_SELECT_H__
#include "Module.h"
#include "Animation.h"
struct SDL_Texture;
class MapSelect : public Module
{
public:
//Constructor
MapSelect(bool startEnabled);
//Destructor
~MapSelect();
// Called when the module is activated
// Loads the necessary textures for the ... |
#import <Foundation/Foundation.h>
#include "std/string.hpp"
#include "std/vector.hpp"
@interface MWMTextToSpeech : NSObject
- (instancetype)init;
- (BOOL)isEnable;
- (void)enable;
- (void)disable;
- (void)playTurnNotifications;
@end |
#ifndef _USG_PARTICLE_EDITOR_RIBBON_INSTANCE_H_
#define _USG_PARTICLE_EDITOR_RIBBON_INSTANCE_H_
#include "Engine/Particles/RibbonTrail.h"
#include "Engine/Particles/Scripted/EffectGroup.pb.h"
#include "Engine/GUI/GuiItems.h"
#include "Engine/GUI/GuiWindow.h"
#include "Engine/GUI/IMGuiRenderer.h"
#include "FileList.h"
... |
/**
******************************************************************************
* @file hk32f030m_adc.h
* @version V1.0.0
* @date 2019-08-05
* @author Rakan.Z/Jane.li
******************************************************************************
*/
/* Define to prevent recursive inclusion ---... |
#include "calc.h"
Coef one_z()
{
Coef r;
NEWZ(r.z);
mpz_init(r.z);
mpz_set_si(r.z,1);
return r;
}
void print_mpz(mpz_ptr a)
{
mpz_out_str(stdout,10,a);
printf("\n");
}
char *print_z(Coef a)
{
char *cbuf;
cbuf = (char *)MALLOC(mpz_sizeinbase(a.z,10) + 2);
if ( a.z == 0 ){
sprintf(cbuf,"0");
... |
/** @file
Header file for the DxePolicyBoardConfig Library.
Copyright (c) 2020, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#ifndef _DXE_POLICY_BOARD_CONFIG_LIB_H_
#define _DXE_POLICY_BOARD_CONFIG_LIB_H_
#include <Protocol/MePolicy.h>
#include <Protocol/SaPolic... |
#ifndef NEURONBRANCHTREE_H
#define NEURONBRANCHTREE_H
#include "basic_surf_objs.h"
#include <vector>
#include <iostream>
using namespace std;
template<typename T>
double dis(T node1, T node2){
double a = (node1.x - node2.x)*(node1.x - node2.x) + (node1.y - node2.y)*(node1.y - node2.y) + (node1.z - node2.z)*(node1.z... |
// Copyright (c) 2018, The AZUR Developers, The TURTLECOIN Developers
//
// Please see the included LICENSE file for more information.
#pragma once
#include <Wallet/WalletGreen.h>
bool fusionTX(CryptoNote::WalletGreen &wallet,
CryptoNote::TransactionParameters p,
uint64_t height);
bool... |
/*
* Copyright (c) 2009-2012, Salvatore Sanfilippo <antirez at gmail dot com>
* 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 co... |
// SPDX-License-Identifier: GPL-2.0-only
/*
* stacktrace.c : stacktracing APIs needed by rest of kernel
* (wrappers over ARC dwarf based unwinder)
*
* Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
*
* vineetg: aug 2009
* -Implemented CONFIG_STACKTRACE APIs, primarily save_stack_t... |
/*
* Copyright (C) 2020 Inria
*
* 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 boards_adafruit-clue
* @{
* @file
* @brief Implementation for managing the nrfut... |
#import "TGWebSearchResult.h"
#import "TGModernMediaListItem.h"
@protocol TGWebSearchListItem <TGModernMediaListItem>
- (id<TGWebSearchResult>)webSearchResult;
@end |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.