text stringlengths 4 6.14k |
|---|
/****************************************************************************
**
** Copyright (C) 2017 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the QtOrganizer module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees holding valid co... |
/* vPFS: Virtualized Parallel File System:
* Performance Virtualization of Parallel File Systems
* Copyright (C) 2009-2012 Yiqi Xu Florida International University
* Laboratory of Virtualized Systems, Infrastructure and Applications (VISA)
*
* This program is free software: you can redistribute it and/or modify
... |
/*
* 2012+ Copyright (c) Alexey Ivanov <rbtz@ph34r.me>
* All rights reserved.
*
* This file is part of Eblob.
*
* Eblob 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 L... |
#ifndef MY_MULTIBODY_CREATOR
#define MY_MULTIBODY_CREATOR
#include "MultiBodyCreationInterface.h"
#include "LinearMath/btAlignedObjectArray.h"
struct GUIHelperInterface;
class btMultiBody;
class MyMultiBodyCreator : public MultiBodyCreationInterface
{
btMultiBody* m_bulletMultiBody;
struct GUIHelperInterfac... |
// Created file "Lib\src\MMC\ndmgriid"
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,... |
/*
*
* Copyright (C) 2015 Miroslav Krajicek (https://github.com/kaajo).
* All Rights Reserved.
*
* This file is part of WebCamCap.
*
* WebCamCap is free software: you can redistribute it and/or modify
* it under the terms of the GNU LGPL version 3 as published by
* the Free Software Foundation, either version... |
/*
* The CLFS block definition
*
* Copyright (C) 2010-2021, 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... |
/**************************************************************************//**
* @file drv_trimmer.h
* @brief Trimmer driver.
* @author A. Filyanov
******************************************************************************/
#ifndef _DRV_TRIMMER_H_
#define _DRV_TRIMMER_H_
//----------------------------------... |
// ============================================================================
//
// = LIBRARY
// ULib - c++ library
//
// = FILENAME
// mod_soap.h
//
// = AUTHOR
// Stefano Casazza
//
// ============================================================================
#ifndef U_MOD_SOAP_H
#define U_MOD_SOAP_H 1
... |
//
// UIView+PYUIKit.h
// PYUIKit
//
// Created by Push Chen on 7/30/13.
// Copyright (c) 2013 Push Lab. All rights reserved.
//
/*
LGPL V3 Lisence
This file is part of cleandns.
PYUIKit is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published ... |
/*
Copyright 2013-2021 Paul Colby
This file is part of QtAws.
QtAws 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 v... |
/*
Copyright 2013-2021 Paul Colby
This file is part of QtAws.
QtAws 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 v... |
/*
Copyright (C) 2007-2010 Kasidit Yusuf.
This file is part of WMouseXP.
WMouseXP 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.
WMouseXP... |
/*
* Copyright (C) 2017 Université Clermont Auvergne, CNRS/IN2P3, LPC
* Author: Valentin NIESS (niess@in2p3.fr)
*
* Topographic Utilities for tRansporting parTicules over Long rangEs (TURTLE)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General P... |
#pragma once
#include "Opcode.h"
namespace AISCRIPT
{
class Order_Region : public Opcode
{
public:
// Ctor
Order_Region(AISCRIPT::Enum::Enum n) : Opcode(n) {};
// Execute
virtual bool execute(aithread &thread) const;
};
}
|
#define QUEUE_ITEM_T int
#include <assert.h>
#define FSQLF_QUEUE_INIT_CAPACITY (1)
#include "queue.h"
#include "queue.c"
void test_queue()
{
QUEUE_ITEM_T item1 = 11;
QUEUE_ITEM_T item2 = 22;
QUEUE_ITEM_T item3 = 33;
QUEUE_ITEM_T item4 = 44;
QUEUE_ITEM_T tmp;
struct FSQLF_queue tq;
// A... |
/*
Copyright 2013-2021 Paul Colby
This file is part of QtAws.
QtAws 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 v... |
//
// Created by cub3d on 14/07/2018.
//
#ifndef UNKNOWN_DEVELOPMENT_TOOL_SOUND_H
#define UNKNOWN_DEVELOPMENT_TOOL_SOUND_H
#include <SDL_mixer.h>
namespace Unknown
{
class Sound
{
int channel = -1;
protected:
Mix_Chunk *chunk;
public:
Sound(Mix_Chunk *chunk);
void pl... |
#ifndef _CTYPE_H
#define _CTYPE_H
#define _UPPER 0x0001
#define _LOWER 0x0002
#define _DIGIT 0x0004
#define _SPACE 0x0008
#define _PUNCT 0x0010
#define _CNTRL 0x0020
#define _BLANK 0x0040
#define _XDIGIT 0x0080
#define _ALPHA (0x0100 | _UPPER | _LOWER)
#define _ALNUM (_... |
#include "artemis.h"
#include <assert.h>
static void *
handle_path(void *data) {
assert(data);
/* workers just crawl paths, for now */
entry_crawl((char *) data, &state_enter);
return data;
}
#include <stdlib.h>
#include <stdio.h>
#define MAX_THREADS 4
static void
print_usage(char *name)
{
fprintf(stderr, "[N... |
/* mpfr_get_flt -- convert a mpfr_t to a machine single precision float
Copyright 2009-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 and/or modify
it under the terms of... |
/*****************************************************************************
The Dark Mod GPL Source Code
This file is part of the The Dark Mod Source Code, originally based
on the Doom 3 GPL Source Code as published in 2011.
The Dark Mod Source Code is free software: you can redistribute it
... |
/*
* piGlow.c:
* Easy access to the Pimoroni PiGlow board.
*
* Copyright (c) 2013 Gordon Henderson.
***********************************************************************
* This file is part of wiringPi:
* https://projects.drogon.net/raspberry-pi/wiringpi/
*
* wiringPi is free software: you can redistribut... |
#include "tlpi_hdr.h"
#include <signal.h>
static void handler(int signum) {
char buf[64];
snprintf(buf, 63, "Caught signal %d (%s)\n", signum, strsignal(signum));
buf[63] = '\0';
write(STDOUT_FILENO, buf, strlen(buf));
}
int main(int argc, char *argv[]) {
struct sigaction sa;
sigemptyset(&sa... |
/*****************************************************************************
The Dark Mod GPL Source Code
This file is part of the The Dark Mod Source Code, originally based
on the Doom 3 GPL Source Code as published in 2011.
The Dark Mod Source Code is free software: you can redistribute ... |
/*
* Copyright CEA/DAM/DIF 2010
* Author: Philippe Deniel (philippe.deniel@cea.fr)
*
* --------------------------
*
* 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
* ver... |
/*
Copyright 2013-2021 Paul Colby
This file is part of QtAws.
QtAws 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 v... |
/*
** Copyright (C) 2009-2014 Mischa Sandberg <mischasan@gmail.com>
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU Lesser General Public License Version as
** published by the Free Software Foundation. You may not use, modify or
** distribute this program un... |
//
// ViewController.h
// MovieDb
//
// Created by Saqib Saud on 13/02/2015.
// Copyright (c) 2015 Saqib Saud. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "MDMFetchedResultsTableDataSource.h"
@interface PopularMoviesViewController : UITableViewController <UITabBarControllerDelegate, MDMFetchedResultsT... |
#pragma once
#include <string>
class GameEntity
{
public:
GameEntity(int x, int y);
int x() const {return _x;}
int y() const {return _y;}
std::string coords() const;
private:
int _x;
int _y;
};
|
#pragma once
#include <string>
#include <file.h>
namespace erebus {
/**
* The interface for the model.
*/
class IModel {
public:
/**
* Destructor.
*/
virtual ~IModel() {}
/**
* Loads a file.
*
* @param path the path to read the file from.
*/
virtual void loadFile(std::string path)=0;
/**
*... |
/*
* Copyright (C) 2015 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... |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/quicksight/QuickSight_EXPORTS.h>
#include <aws/quicksight/QuickSightRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace... |
/*
* Copyright 2010-2013 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 "lice... |
//
// MapView.h
// MU Bus Tracking
//
// Created by Jake Gregg on 2/24/14.
// Copyright (c) 2014 Jake Gregg. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <CoreLocation/CoreLocation.h>
#import "Route.h"
#import "SidebarViewController.h"
@interface MapView : UIView
@property (nonatomic, strong) NSArray*... |
/* -*- c++ -*- */
/*
* Copyright 2016 <+YOU OR YOUR COMPANY+>.
*
* This 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, or (at your option)
* any later version.
*
* This software i... |
/*
* Copyright (C) 2015 Hewlett-Packard Development Company, L.P.
*
* 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 requi... |
// UGGroup.h: interface for the UGGroup class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(UGGROUP_H)
#define UGGROUP_H
#include "Graphics3D/UGGraphics3DHeaders.h"
#include "Graphics3D/UGNode.h"
namespace UGC{
typedef UGArray<UGNode*>NodeList;
class GRAPHICS3D_API UGGroup:p... |
//
// LJBaseZhongViewController.h
// meishimeike
//
// Created by zhenglong duan on 20/03/2017.
// Copyright © 2017 zhenglong duan. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "LJcateStartViewController.h"
@interface LJBaseZhongViewController : UIViewController
@property (nonatomic,strong) NSArray *arr... |
//
// ResultViewController.h
// ConnectObjective-CSampleApp
//
// Created by Tapas Behera on 8/8/17.
// Copyright © 2017 Acuant. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "ViewController.h"
#import <AcuantMobileSDK/AcuantMobileSDKController.h>
@interface ResultViewController : UIViewController
@pr... |
//
// Created by k.leyfer on 11.09.2017.
//
#ifndef TOUCHLOGGER_DIRTY_POINTERCOORDS_H
#define TOUCHLOGGER_DIRTY_POINTERCOORDS_H
#include <stdint.h>
#include "../common.h"
#include "BitSet.h"
/*
* Pointer coordinate data.
*/
struct PointerCoords
{
enum
{
MAX_AXES = 30
}; // 30 so that sizeof(Poi... |
//
// ViewControl ler.h
// MyChat
//
// Created by Mac on 15/8/29.
// Copyright (c) 2015年 Zeng. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ViewController : UIViewController
//
@end
|
//
// lcl_config_components.h
// RestKit
//
// Created by Blake Watters on 6/8/11.
// Copyright (c) 2009-2012 RestKit. 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 L... |
/***************************************************************
*
* Copyright (C) 1990-2007, Condor Team, Computer Sciences Department,
* University of Wisconsin-Madison, WI.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you
* may not use this file except in compliance with the License. Y... |
//
// Person.h
// SNCommon
//
// Created by sam on 15/6/24.
// Copyright (c) 2015年 sam. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "SNCommon.h"
@interface Person : NSObject
SingletonH
@property (nonatomic, strong) NSString *name;
@end
|
//
// MKVehicleAnnotation.h
// iTrash
//
// Created by biid on 25/4/15.
// Copyright (c) 2015 shibboleth. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <MapKit/MapKit.h>
@interface MKVehicleAnnotation : NSObject <MKAnnotation>
@property (nonatomic, readonly) CLLocationCoordinate2D coordinate;... |
//
// OtherCell.h
// PetsMarket
//
// Created by tarena46 on 16/7/25.
// Copyright © 2016年 IOS1604GroupA. All rights reserved.
// 推荐界面下部单种宠物section的item
#import <UIKit/UIKit.h>
@interface OtherCell : UICollectionViewCell
@property(nonatomic)UIImageView *headIV;
@property(nonatomic)UILabel *titleLb;
@property(no... |
//
// Udpproxy2.h
// SmartlinkLib
//
// Created by wangmeng on 15/4/15.
// Copyright (c) 2015年 HF. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "HFSmartLinkDeviceInfo.h"
@interface Udpproxy2 : NSObject
+(instancetype)shareInstence;
-(void)CreateBindSocket;
-(void)send:(char*)shit;
-(void)send... |
/*
Menu callbacks and placeholders
by: Connor Douthat
2/18/2016
*/
void MenuExit(const char *key);
void MenuCreateVault(const char *key)
{
char db_path[256] = {0};
if(BrowseForOutput(FILE_TYPE_DB, db_path))
{
OpenVaultDialog(0, db_path);
}
}
void MenuBrowseVault(const char *key)
{
char db_path[256] = {0};
if(B... |
//
// ClearCacheTableViewCell.h
// 百思
//
// Created by 赵博 on 16/7/24.
// Copyright © 2016年 赵博. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ClearCacheTableViewCell : UITableViewCell
@end
|
#ifndef __PLDA__LDAModel__
#define __PLDA__LDAModel__
#include <string>
#include <vector>
#include <node.h>
namespace lda
{
class LDAModel : public node::ObjectWrap
{
public:
static void Init(v8::Handle<v8::Object> exports);
static v8::Handle<v8::Value> NewInstance(const v8::Arguments& args);
... |
/* Carrot -- Copyright (C) 2012 GoCarrot 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 law ... |
//
// ViewController.h
// DEMO
//
// Created by kylin on 16/10/21.
// Copyright © 2016年 kylin. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ViewController : UIViewController
@end
|
/**
https://github.com/BeamOfLight/shape_representation_models.git
resampling_chain_code.h
@author Denis Borisoglebskiy
@version 1.0 2016-10-04
*/
#pragma once
#ifndef SHAPE_REPRESENTATION_MODELS_RESAMPLING_CHAIN_CODE_H
#define SHAPE_REPRESENTATION_MODELS_RESAMPLING_CHAIN_CODE_H
#include <shape_r... |
#include <sys/eventfd.h>
#include <assert.h>
#include <unistd.h>
#include <stdio.h>
/* Makefile
all:
g++ -g -o eventfd_test main.cc -DHAVE_EVENTFD -lpthread
g++ -g -o pthread_cond_test main.cc -lpthread
clean:
rm -rf *.o
rm -rf *_test
*/
#include <pthread.h>
#include <stdlib.h>
cla... |
#ifndef _INCLUDED_ASW_SHIELDBUG_H
#define _INCLUDED_ASW_SHIELDBUG_H
#ifdef _WIN32
#pragma once
#endif
#include "asw_alien_shover.h"
DECLARE_AUTO_LIST( IShieldbugAutoList )
class CASW_Shieldbug : public CASW_Alien_Shover, public IShieldbugAutoList
{
DECLARE_CLASS( CASW_Shieldbug, CASW_Alien_Shover );
public:
DECLAR... |
//
// SFBuyShopItem.h
// SFE
//
// Created by ma c on 16/8/31.
// Copyright © 2016年 shifei. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface SFBuyShopItem : NSObject
/**商品ID*/
@property (copy, nonatomic) NSString *GoodsId;
/**商品缩略图*/
@property (copy, nonatomic) NSString *ImgView;
/**商品标题*/
@p... |
// Copyright (c) 2006-2008 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.
// This file is an internal atomic implementation, use base/atomicops.h instead.
#ifndef BASE_ATOMICOPS_INTERNALS_X86_MSVC_H_
#define BASE_ATOMI... |
// stdafx.h : ±ê׼ϵͳ°üº¬ÎļþµÄ°üº¬Îļþ£¬
// »òÊǾ³£Ê¹Óõ«²»³£¸ü¸ÄµÄ
// ÌØ¶¨ÓÚÏîÄ¿µÄ°üº¬Îļþ
//
#pragma once
#define WIN32_LEAN_AND_MEAN // ´Ó Windows Í·ÖÐÅųý¼«ÉÙʹÓõÄ×ÊÁÏ
#include <stdio.h>
#include <tchar.h>
#include <stdlib.h>
#include "C:\\Python27\\include\\python.h"
#pragma comment(lib, "C:\\Python27\\li... |
/*
* 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... |
//
// Macros.h
// ZJCommonProject
//
// Created by jyd on 16/1/27.
// Copyright © 2016年 jyd. All rights reserved.
//
// 自定义宏
//中文字体
#define CHINESE_FONT_NAME @"Heiti SC"
#define CHINESE_SYSTEM(x) [UIFont fontWithName:CHINESE_FONT_NAME size:x]
#define UNICODETOUTF16(x) (((((x - 0x10000) >>10) | 0xD800) << 16) |... |
#import <Foundation/Foundation.h>
#import "ACObject.h"
/**
* ARTIK Cloud API
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 2.0.0
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swag... |
//
// YYHMainViewController.h
// XiaoChengJia
//
// Created by yyh2016 on 16/8/27.
// Copyright © 2016年 yyh2016. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface YYHMainViewController : UITabBarController
@end
|
/**
* Appcelerator Titanium Mobile
* Copyright (c) 2009-2011 by count, Inc. All Rights Reserved.
* Licensed under the terms of the Apache Public License
* Please see the LICENSE included with this distribution for details.
*
* WARNING: This is generated code. Modify at your own risk and without support.
*/
#im... |
//
// ViewController.h
// testGit
//
// Created by tarena on 15/12/1.
// Copyright © 2015年 tarena. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ViewController : UIViewController
@end
|
//
// TOS_ExportTranslator.h
// SDKtopoos
//
/**
* Copyright 2014-present topoos
*
* 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
*... |
/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
//===--- DerivedConformances.h - Derived protocol conformance ---*- C++ -*-===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... |
/**
@file BNCURLFilter.h
@package Branch-SDK
@brief Manages a list of sensitive URLs such as login data that should not be handled by Branch.
@author Edward Smith
@date February 14, 2018
@copyright Copyright © 2018 Branch. All rights reserved.
*/
#if __has_feature(modu... |
//
// NSArray+MASAdditions.h
//
//
// Created by Daniel Hammond on 11/26/13.
//
//
#import "MASUtilities.h"
#import "MASConstraintMaker.h"
#import "MASViewAttribute.h"
@interface NSArray (MASAdditions)
/**
* Creates a MASConstraintMaker with each view in the callee.
* Any constraints defined are added to the... |
/* Copyright 2015 Samsung Electronics Co., LTD
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... |
/*
* Copyright 2015 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef SkWebpCodec_DEFINED
#define SkWebpCodec_DEFINED
#include "SkCodec.h"
#include "SkColorSpace.h"
#include "SkEncodedFormat.h"
#include "SkImageInfo.h"
#include "SkTypes... |
/* Simple example for Teensy USB Development Board
* http://www.pjrc.com/teensy/
* Copyright (c) 2008 PJRC.COM, LLC
*
* 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 restrictio... |
/*
** Nofrendo (c) 1998-2000 Matthew Conte (matt@conte.com)
**
**
** This program is free software; you can redistribute it and/or
** modify it under the terms of version 2 of the GNU Library General
** Public License as published by the Free Software Foundation.
**
** This program is distributed in the hope that it w... |
/* $OpenBSD: strlcat.c,v 1.13 2005/08/08 08:05:37 espie Exp $ */
/*
* Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com>
*
* 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 permiss... |
// Copyright 2012-2016 Google
// 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 wri... |
//
// UserSettingInfo+CoreDataClass.h
// Sharp Time
//
// Created by power on 2017/5/19.
// Copyright © 2017年 powertorque. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>
@class UserRecord;
NS_ASSUME_NONNULL_BEGIN
@interface UserSettingInfo : NSManagedObject
@end
NS_ASS... |
/** @file etk_spinner.h */
#ifndef _ETK_SPINNER_H_
#define _ETK_SPINNER_H_
#include "etk_range.h"
#include <Ecore.h>
#include "etk_types.h"
/**
* @defgroup Etk_Spinner Etk_Spinner
* @brief A spinner is a widget that allows the user to set the value of a setting
* @{
*/
/** Gets the type of a spinner */
#define E... |
/*
tau - http://github.com/cwestin/tau
Copyright 2013 Chris Westin
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... |
#include <X11/Xlib.h>
#include <X11/Xcursor/Xcursor.h>
#include <X11/Xresource.h>
#include <X11/Xutil.h>
#include <X11/keysym.h>
|
/*
* Copyright (C) 2012 Google 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 condition... |
int main()
{
int a = 2, b = 3, c;
int d[2] = {4, 2};
float m[2] = {1.5, 2.5};
char m2[2] = { 'a', 'b' };
c = a>=b;
print ("c 0");
printid(c);
c = d[0]>=d[1];
print ("c 1");
printid(c);
c = d[0]>=m[0];
print ("c 1");
printid(c);
c = m[0]>=m[1];
print ("c 0");
p... |
/*
* 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... |
/*
* BMKMapManager.h
* BMapKit
*
* Copyright 2011 Baidu Inc. All rights reserved.
*
*/
#import "BMKGeneralDelegate.h"
#import <UIKit/UIKit.h>
#import "BMKTypes.h"
enum EN_PERMISSION_STATUS
{
E_PERMISSION_OK = 0, // 授权验证通过
E_PERMISSION_SERVER_ERROR = -200, //服务端数据错误,无法解析服务端返回数据
E_PERMISSION_NETWORK_ERROR =... |
// Copyright 2005-2017 Michel Fortin
//
// 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... |
/*
* 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... |
/* $NetBSD: hdaudio_mixer.h,v 1.3 2009/09/07 11:49:27 jmcneill Exp $ */
/*
* Copyright (c) 2009 Precedence Technologies Ltd <support@precedence.co.uk>
* Copyright (c) 2009 Jared D. McNeill <jmcneill@invisible.ca>
* All rights reserved.
*
* This code is derived from software contributed to The NetBSD Foundation
*... |
#ifndef __CALLSTACK_H__
#define __CALLSTACK_H__
typedef struct {
void *stackptr;
void *funcaddr;
void *calladdr;
} callstack_t;
#define CALLSTACK_MAX_DEPTH 1024
static callstack_t __callstack[CALLSTACK_MAX_DEPTH];
static int __callstack_depth = 0;
static inline void callstack_push(int tid, void *stackptr, voi... |
/*
ChibiOS/NIL - Copyright (C) 2013,2014 Giovanni Di Sirio.
This file is part of ChibiOS/NIL.
ChibiOS/NIL 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 Licens... |
// Copyright 2021 gRPC 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 agreed to i... |
/*
*
* Copyright (C) 2011 Colin Patrick McCabe <cmccabe@alumni.cmu.edu>
*
* This is licensed under the Apache License, Version 2.0. See file COPYING.
*/
#ifndef DUTILS_UTIL_PLATFORM_SOCKET_DOT_H
#define DUTILS_UTIL_PLATFORM_SOCKET_DOT_H
enum {
WANT_O_CLOEXEC = 0x1,
WANT_TCP_NODELAY = 0x2,
};
/** Similar to ... |
/**
* Appcelerator Titanium Mobile
* Copyright (c) 2009-2011 by ScoreKeeper, Inc. All Rights Reserved.
* Licensed under the terms of the Apache Public License
* Please see the LICENSE included with this distribution for details.
*
* WARNING: This is generated code. Modify at your own risk and without support.
*... |
/* Copyright 2015 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... |
/* Copyright 2008 Justin Erenkrantz and Greg Stein
*
* 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... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appl... |
/*
* 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... |
#ifndef CONNECTION_H
#define CONNECTION_H
class CConnnction
{
public:
CConnection();
virtual ~CConnection();
protected:
int connect() = 0;
void disconnect() = 0;
};
#endif /* CONNECTION_H */
|
//
// UIImage+Utility.h
//
// Created by sho yakushiji on 2013/05/17.
// Copyright (c) 2013年 CALACULU. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UIImage (Utility)
+ (UIImage*)visitor_fastImageWithData:(NSData*)data;
+ (UIImage*)visitor_fastImageWithContentsOfFile:(NSString*)path;
- (UIImage*)vis... |
/****************************************************************************
*
* Copyright 2016 Samsung Electronics 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... |
//---------------------------------------------------------------------------
#ifndef MNVertexH
#define MNVertexH
#include <math.h>
//---------------------------------------------------------------------------
class MNVertex{
private:
double x;
double y;
double bulge; /*
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.