text stringlengths 9 948k |
|---|
///////////////////////////////////////////////////////////
// ofxSheetItem.h
// Implementation of the Class ofxSheetItem
// Created on: 26-jun-2015 11:32:45
// Original author: Christopher
///////////////////////////////////////////////////////////
#if !defined(EA_8793D2FD_9A4C_401c_8A1A_994DBB96EDD0__INCLUD... |
//sitar_loggger.h
#ifndef SITAR_LOGGER_H
#define SITAR_LOGGER_H
#include<iostream>
#include<fstream>
#include<sstream>
#include<ostream>
#include<string>
#include<cassert>
#ifdef SITAR_ENABLE_LOGGING
namespace sitar{
class logger
{
public:
inline void setOstream(std::ostream* os){_logstream =os;}
inli... |
//+---------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1992-2011.
//
// File: wcmapi.h
//
// Contents: Windows Connection Manager API Prototypes and Definitions
//
//------------------------------------------------------... |
/* Definitions for RTEMS based ARM systems using ELF
Copyright (C) 2000, 2002, 2005 Free Software Foundation, Inc.
This file is part of GCC.
GCC 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; e... |
/*
* 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... |
// Copyright 2020 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... |
// ======================================================================
/*!
* \file NFmiDataModifierConstant.h
* \brief Interface of class NFmiDataModifierConstant
*/
// ======================================================================
#pragma once
#include "NFmiDataModifier.h"
//! Undocumented
class NFmiD... |
//
// NSMutableString+Kit.h
// BXlive
//
// Created by bxlive on 16/7/19.
// Copyright © 2016年 lei. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface NSMutableString (Kit)
+(NSMutableAttributedString *)settext:(NSString *)text;
/**
* 设置文字不同颜色
*
* @param str 要设置的字符串
* @param rangeStr... |
/*
* If not stated otherwise in this file or this component's Licenses.txt file the
* following copyright and licenses apply:
*
* Copyright 2015 RDK Management
*
* 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 ... |
#ifndef _CALJULIANDAYNUMBER_
#define _CALJULIANDAYNUMBER_
/**
*File: calJulianDayNumber.h
*Description:
this file declares class calJulianDayNumber
*Version: 1.0 "@(#) calJulianDayNumber. header. ver. 1.0. Premalatha, Vidyadhar Mudkavi, CTFD, NAL."
*Dependencies:
*Authors: Premalatha, Vidyadhar Mudkav... |
//****************************************************************************************
//
// Copyright (c) 2015-2020, Yoshifumi Nakamura <nakamura@riken.jp>
// Copyright (c) 2015-2020, Yuta Mukai <mukai.yuta@fujitsu.com>
// Copyright (c) 2018-2020, Ken-Ichi Ishikawa <ishikawa@theo.phys.sci.hirosima-u.ac... |
/*
Copyright 2015, 2017, Bloomberg Finance 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 required by applicable law o... |
/*
* Copyright (c) 2008-2013 Apple Inc. All rights reserved.
*
* @APPLE_APACHE_LICENSE_HEADER_START@
*
* 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/lic... |
#include <room.h>
inherit ROOM;
void create()
{
set("short", "汇英酒楼");
set("long", @LONG
汇英酒楼在整个京城中,也算是小有名气的了。酒楼里面
雕梁画壁,装饰有如宫殿,你可以在这里打听到各地的风土人
情。店小二里外忙得不可开交,接待着南腔北调的客人。楼里
桌椅洁净。座中客人衣饰豪奢,十九是富商大贾。
LONG);
set("exits", ([
"north" : __DIR__"yong_1",
"up" : "/b/yitian/... |
/*
* This file is part of the coreboot project.
*
* Copyright 2015 Google Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program is distribute... |
#include <threads.h>
#include <xboxkrnl/xboxkrnl.h>
int thrd_sleep (const struct timespec *duration, struct timespec *remaining)
{
LARGE_INTEGER interval; // Units of 100 nanoseconds
NTSTATUS status;
DWORD oldTickCount;
oldTickCount = KeTickCount;
// Convert the s+ns interval into 100ns units (ro... |
/*
* Copyright (c) 2018 Cisco and/or its affiliates.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicabl... |
//
// ViewController.h
// LewPickerControllerDemo
//
// Created by pljhonglu on 16/2/26.
// Copyright © 2016年 pljhonglu. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ViewController : UIViewController
@end |
/** @file
Instance of SMM IO check library.
SMM IO check library library implementation. This library consumes GCD to collect all valid
IO space defined by a platform.
A platform may have its own SmmIoLib instance to exclude more IO space.
Copyright (c) 2017, Intel Corporation. All rights reserved.<BR>
SP... |
/*
* The MIT License (MIT)
*
* Copyright 2015 Sony Corporation
*
* 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,... |
/*
* * Copyright 2017 IBM Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... |
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "ITIS"
* found in "../J2735_201603DA.ASN"
* `asn1c -gen-PER -fcompound-names -fincludes-quoted -S/home/gmb/TMX-OAM/Build/asn1c/skeletons`
*/
#ifndef _ITIScodesAndText_H_
#define _ITIScodesAndText_H_
#include "asn_application.h"
/* ... |
#include "clar_libgit2.h"
#include "futils.h"
#include "git2/reflog.h"
#include "reflog.h"
#include "refs.h"
#include "ref_helpers.h"
static const char *loose_tag_ref_name = "refs/tags/e90810b";
static const char *packed_head_name = "refs/heads/packed";
static const char *packed_test_head_name = "refs/heads/packed-te... |
/*
*
* Copyright 2015 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 agree... |
/*++
Copyright (c) 1999 Microsoft Corporation
Module Name:
resource.h
Abstract:
Resource header file.
Author:
Wesley Witt (wesw) 18-Dec-1998
Revision History:
--*/
#define IDC_STATIC -1
#define IDI_CDROM 201
#define IDD_SFC_CD_PROMPT ... |
#ifndef CENTEREDCHECKBOXWIDGET_H
#define CENTEREDCHECKBOXWIDGET_H
#include <QWidget>
#include <QCheckBox>
class CenteredCheckBoxWidget : public QWidget
{
Q_OBJECT
public:
explicit CenteredCheckBoxWidget(QWidget *parent = 0);
QCheckBox *checkBox() const;
private:
QCheckBox *checkbox;
};
#endif // C... |
#pragma once
#include "Core/Camera/Camera.h"
#include "Common/primitive_type.h"
#include "FileIO/SDL/TCommandInterface.h"
#include "Core/Camera/PerspectiveCamera.h"
namespace ph
{
class PinholeCamera final : public PerspectiveCamera, public TCommandInterface<PinholeCamera>
{
public:
void genSensedRay(const Vector2R... |
// 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 COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_ANDROID_AFFILIATION_AFFILIATION_DATABASE_H_
#define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_ANDROID_AFFI... |
/*
The MIT License (MIT)
Copyright (c) 2016 MIPP
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, merge, publish,... |
/*
* This header is generated by classdump-dyld 1.0
* on Saturday, August 24, 2019 at 9:45:37 PM Mountain Standard Time
* Operating System: Version 12.4 (Build 16M568)
* Image Source: /System/Library/PrivateFrameworks/MusicLibrary.framework/MusicLibrary
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by... |
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Misc/MonolithicHeaderBoilerplate.h"
MONOLITHIC_HEADER_BOILERPLATE()
#include "Json.h"
#include "JsonObjectConverter.h"
#include "JsonObjectWrapper.h" |
/*
ARPACK++ v1.2 2/20/2000
c++ interface to ARPACK code.
MODULE ARLSpDef.h.
ALTERED version of slu_sdefs.h slu_ddefs.h slu_cdefs.h slu_zdefs.h
(from SuperLU 3.0 package).
*/
#ifndef __SUPERLU_SP_DEFS /* allow multiple inclusions */
#define __SUPERLU_SP_DEFS
/*
* File name: sp_defs.h
* Purpose: ... |
30 mtime=1440116301.654479271
30 atime=1440176525.745216063
30 ctime=1440177385.569331481 |
/*
*
* Copyright (c) 2005-2021 Imperas Software Ltd., www.imperas.com
*
* The contents of this file are provided under the Software License
* Agreement that you accepted before downloading this file.
*
* This source forms part of the Software and can be used for educational,
* training, and demonstration purpos... |
//
// AlbumPickerController.h
//
// Created by ELC on 2/15/11.
// Copyright 2011 ELC Technologies. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <AssetsLibrary/AssetsLibrary.h>
#import "ELCAssetSelectionDelegate.h"
@interface ELCAlbumPickerController : UITableViewController <ELCAssetSelectionDelegate>
@... |
#import <Foundation/Foundation.h>
@interface SwrveQACampaignInfo : NSObject
typedef enum {
SWRVE_CAMPAIGN_IAM = 0,
SWRVE_CAMPAIGN_CONVERSATION = 1
} SwrveCampaignType;
// Macro to convert SwrveCampaignType to NSString
#define swrveCampaignTypeToString(enum) [@[@"iam",@"conversation"] objectAtIndex:enum]
@pro... |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0/
*
* or in the "license" ... |
/*
Copyright (c) 2010 - 2018, Nordic Semiconductor ASA 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 conditio... |
//
// NSArray+GSExtention.h
// Pods
//
// Created by Gantulga on 6/17/16.
//
//
#import <Foundation/Foundation.h>
@interface NSMutableArray (GSExtention)
- (void) removeAllNull;
@end |
#pragma once
#include <SDL2/SDL.h>
#include <glib.h>
#define MEH_EXEC_RES_COVER "cover"
#define MEH_EXEC_RES_FANART "fanart"
#define MEH_EXEC_RES_SCREENSHOT "screenshot"
#define MEH_EXEC_RES_VIDEO "video"
struct App;
typedef struct ExecutableResource {
int id;
int executable_id;
gchar* type;
gchar* filepath;
... |
/*-
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
*
* Copyright (c) 2003 John Baldwin <jhb@FreeBSD.org>
* Copyright (c) 2018 Intel Corporation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* a... |
/* SPDX-License-Identifier: GPL-2.0 */
/*
* include/linux/memory.h - generic memory definition
*
* This is mainly for topological representation. We define the
* basic "struct memory_block" here, which can be embedded in per-arch
* definitions or NUMA information.
*
* Basic handling of the devices is done in dri... |
/*
* Software License Agreement (BSD License)
*
* Copyright (c) 2014-2015, Timm Linder, Social Robotics Lab, University of Freiburg
* Copyright (c) 2006-2012, Matthias Luber, Luciano Spinello and Kai O. Arras, Social Robotics Laboratory and
* Oscar Martinez, Autonomous Intelligent Systems, University of Freiburg
*... |
/**
* \file types.h
* \brief Types definition
* \author Stephane Dallongeville
* \date 08/2011
*
* SGDK Types definition.
*/
#ifndef _TYPES_H_
#define _TYPES_H_
/**
* \def FALSE
* FALSE define (equivalent to 0).
*/
#ifndef FALSE
#define FALSE 0
#endif
/**
* \def TRUE
* TRUE define (equivalen... |
//
// Copyright (c) 2016 - 2017 Mesh Consultants Inc.
// 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, ... |
#include<stdio.h>
double min(double,double);
int main()
{
double x,y;
printf("Please input two double number:");
while((scanf("%lf %lf",&x,&y))==2)
{
printf("%.2lf is smaller.\n",min(x,y));
printf("Next two values(q to quit):");
}
printf("bye!\n");
return 0;
}
double min(double x,double y)
{
return x<y?x:y... |
// -*- C++ -*-
//=============================================================================
/**
* @file os_in.h
*
* Internet address family
*
* @author Don Hinton <dhinton@dresystems.com>
* @author This code was originally in various places including ace/OS.h.
*/
//====================================... |
/*=========================================================================
*
* Copyright Insight Software Consortium
*
* 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
*
* h... |
/*
Open Asset Import Library (assimp)
----------------------------------------------------------------------
Copyright (c) 2006-2017, assimp team
All rights reserved.
Redistribution and use of this software in source and binary forms,
with or without modification, are permitted provided that the
following conditions... |
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSOperation.h"
@class NSTimer;
@interface MTTimedOperation : NSOperation
{
NSTimer *_optimer; // 24 = 0x18
CDUnknownBlockType _mainBlock; // 32 = 0x20
_Bool _... |
/*
Copyright 2016-present the Material Components for iOS authors. 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 requ... |
/*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be use... |
#ifndef COLA_SONIDO_H
#define COLA_SONIDO_H
//#include <queue>
#include <vector>
#include "../sonido/sonido.h"
#include "../controlador_audio_sdl/controlador_audio_sdl.h"
#include "../../herramientas/log_base/log_base.h"
extern DLibH::Log_base LOG;
/*
La cola de sonido no es más que una envoltura para una cola de p... |
/*-
* Copyright (c) 2008-2009 Ariff Abdullah <ariff@FreeBSD.org>
* 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
* ... |
#pragma once
#include <Core/BackgroundSchedulePool.h>
#include <DataTypes/DataTypeInterval.h>
#include <Interpreters/InterpreterSelectQuery.h>
#include <Storages/IStorage.h>
#include <Poco/Logger.h>
#include <base/shared_ptr_helper.h>
#include <mutex>
namespace DB
{
class IAST;
class WindowViewSource;
using ASTPtr =... |
/*++
Copyright (c) 2011 Microsoft Corporation
Module Name:
expr_substitution.h
Abstract:
expr -> expr substitution
Author:
Leonardo (leonardo) 2011-04-29
Notes:
--*/
#pragma once
#include "ast/ast.h"
class expr_substitution {
ast_manager & m_manager;
obj_map<... |
/*
* Copyright (C) 2014 MongoDB Inc. All Rights Reserved.
*
* 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... |
//
// twoSum.h
// AlgorithmNotice
//
// Created by zzg on 2019/9/18.
// Copyright © 2019 zzg. All rights reserved.
// 两数之和
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface twoSum : NSObject
- (void)twoSum;
@end
NS_ASSUME_NONNULL_END |
/*
* Copyright (c) 2018 Samsung Electronics Co., Ltd. All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unle... |
/****************************************************************************
* net/devif/ipv6_input.c
* Device driver IPv6 packet receipt interface
*
* Copyright (C) 2015, 2017 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Adapted for NuttX from logic in uIP which also has ... |
// Copyright (c) 2020, Viktor Larsson
// 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 c... |
/*
* This header is generated by classdump-dyld 1.0
* on Wednesday, March 22, 2017 at 9:04:14 AM Mountain Standard Time
* Operating System: Version 10.1 (Build 14U593)
* Image Source: /System/Library/PrivateFrameworks/SAObjects.framework/SAObjects
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "primes_32.h"
#include "primelist_32.h"
#define YES 1
#define NO 0
#define NPRIMES 1000
int primes[NPRIMES];
#ifdef __STDC__
int init_prime_32(void)
#else
int init_prime_32()
#endif
{
int i, j, obtained = 0, isprime;
for(i=3; i < MINPRIME; i... |
//
// YumiMobileAppStore.h
// YumiMobileAds
//
// Created by 王泽永 on 2019/6/11.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface YumiMobileAppStore : NSObject
- (instancetype)initWithItunesLink:(NSString *)linkUrl;
- (void)present;
@end
NS_ASSUME_NONNULL_END |
#include <u.h>
#include <libc.h>
#include <bio.h>
typedef void* pointer;
#define div dcdiv
#define FATAL 0
#define NFATAL 1
#define BLK sizeof(Blk)
#define PTRSZ sizeof(int*)
#define HEADSZ 1024
#define STKSZ 100
#define RDSKSZ 100
#define TBLSZ 256
#define ARRAYST 221
#define MAXIND 2048
#define NL 1
#define NG 2
#... |
//
// 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 NSDictionary, NSString;
@interface SRCSCommandStringsTable : NSObject
{
NSString *_localeIdentifier;
NSDictionary *_commandStringsCache;
}
+ (... |
/*
* ESPRESSIF MIT License
*
* Copyright (c) 2019 <ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD>
*
* Permission is hereby granted for use on all ESPRESSIF SYSTEMS products, in which case,
* it is free of charge, to any person obtaining a copy of this software and associated
* documentation files (the "Software"), to de... |
/*
* dbdcd.c
*
* DSP-BIOS Bridge driver support functions for TI OMAP processors.
*
* This file contains the implementation of the DSP/BIOS Bridge
* Configuration Database (DCD).
*
* Notes:
* The fxn dcd_get_objects can apply a callback fxn to each DCD object
* that is located in a specified COFF file. A... |
//
// Copyright (c) SRG SSR. All rights reserved.
//
// License information is available from the LICENSE file.
//
@import UIKit;
NS_ASSUME_NONNULL_BEGIN
@interface UIApplication (SRGMediaPlayer)
@property (nonatomic, readonly, nullable) UIWindow *srgmediaplayer_mainWindow;
@end
NS_ASSUME_NONNULL_END |
/*
* Copyright 2009-2017 Alibaba Cloud 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... |
//
// Generated by class-dump 3.5b1 (64 bit) (Debug version compiled Dec 3 2019 19:59:57).
//
// Copyright (C) 1997-2019 Steve Nygard.
//
#import <MailCore/NSObject-Protocol.h>
@protocol MCNetworkTracker <NSObject>
@property(readonly, nonatomic) BOOL networkIsLimited;
@end |
#ifndef C0P_PARAM_OBJECTS_SURFER__US_0O1__SURFTIMEPREFACTOR_1O0_GROUP_HOMOGENEOUS_MEMBER_AGENT_CHOICE_H
#define C0P_PARAM_OBJECTS_SURFER__US_0O1__SURFTIMEPREFACTOR_1O0_GROUP_HOMOGENEOUS_MEMBER_AGENT_CHOICE_H
#pragma once
// THIS FILE SHOULD NOT BE EDITED DIRECTLY BY THE USERS.
// THIS FILE WILL BE AUTOMATICALLY EDITED... |
/*
* "$Id: ide_visualc.cxx 7586 2010-05-03 20:10:13Z ianmacarthur $"
*/
#define FLTK_DATADIR "C:/FLTK"
#define FLTK_DOCDIR "C:/FLTK/DOC"
#define BORDER_WIDTH 2
#define HAVE_GL 1
#define HAVE_GL_GLU_H 1
#define USE_COLORMAP 1
#define HAVE_XDBE 0
#define USE_XDBE HAVE_XDBE
#define HAVE_OVERLAY 0
#define HAVE_GL_OVERLAY... |
#pragma once
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <stdlib.h>
#include <stdio.h>
#include <malloc.h>
#include <memory.h>
#include <tchar.h>
#include "skinwindow.h"
#include "resource.h"
#define SHOWINT(hWnd, i) \
{\
char buffer[10];\
sprintf(buffer, "%d", i);\
MessageBox(hWnd, buffer, "", M... |
#include <stdio.h>
#include <stdlib.h>
//protótipos
double fat(int);
double combinacao(int n, int r);
double arranjo(int n, int p);
main(){
int num1, num2;
printf("Programa que calcula a combinacao de n a p -> C(n,p)\n");
printf("e o Arranjo de n a p -> A(n,p)\n");
printf("Digite o primeiro numero: ");
... |
/* SPDX-License-Identifier: GPL-2.0+ */
/*
* Copyright (c) 2017 Microchip Technology Inc. All rights reserved.
*/
#include <console.h>
#include <time.h>
#include <watchdog.h>
#include <linux/bitops.h>
#include <linux/delay.h>
#include <linux/errno.h>
/* USB Vendor Requests */
#define USB_VENDOR_REQUEST_WRITE_REGIST... |
//
// UWBrowserCollectionViewCell.h
// Pods
//
// Created by 小六 on 3月17日.
//
//
#import <UIKit/UIKit.h>
@interface UWBrowserCollectionViewCell : UICollectionViewCell
@end |
/*
* Copyright (c) 2021, NVIDIA CORPORATION. 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 requir... |
/**********************************************************************
* Copyright (c) 2013, 2014, 2015 Pieter Wuille, Gregory Maxwell *
* Distributed under the MIT software license, see the accompanying *
* file COPYING or http://www.opensource.org/licenses/mit-license.php.*
*******************************... |
/***************************************************************************
video.c
Functions to emulate the video hardware of the machine.
***************************************************************************/
#include "driver.h"
static tilemap *bg_tilemap;
PALETTE_INIT( kchamp )
{
int i, red, green,... |
/*
* POK header
*
* The following file is a part of the POK project. Any modification should
* made according to the POK licence. You CANNOT use this file or a part of
* this file is this part of a file for your own project
*
* For more information on the POK licence, please see ou... |
#ifndef dplyr_check_supported_type_H
#define dplyr_check_supported_type_H
namespace dplyr {
enum SupportedType {
DPLYR_LGLSXP = LGLSXP,
DPLYR_INTSXP = INTSXP,
DPLYR_REALSXP = REALSXP,
DPLYR_CPLXSXP = CPLXSXP,
DPLYR_STRSXP = STRSXP,
DPLYR_VECSXP = VECSXP
};
inline SupportedType check_sup... |
//***************************************************************************/
// This software is released under the 2-Clause BSD license, included
// below.
//
// Copyright (c) 2019, Aous Naman
// Copyright (c) 2019, Kakadu Software Pty Ltd, Australia
// Copyright (c) 2019, The University of New South Wales, Austral... |
// -----------------------------------------------------------------------------------------
// <copyright file="auth.h" company="Microsoft">
// Copyright 2013 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the ... |
#include <stdio.h>
#include "conftuning.h"
void conftuning_init()
{
_confTuning.keyFile = NULL;
}
void conftuning_load()
{
conftuning_unload();
_confTuning.keyFile = g_key_file_new();
int status = g_key_file_load_from_file(_confTuning.keyFile, "tuning.conf",
... |
/** @file
Load Pe32 Image protocol enables loading and unloading EFI images into memory and executing those images.
This protocol uses File Device Path to get an EFI image.
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#ifndef __LOAD_PE32... |
/*
* This header is generated by classdump-dyld 1.5
* on Friday, April 30, 2021 at 11:37:20 AM Mountain Standard Time
* Operating System: Version 13.5.1 (Build 17F80)
* Image Source: /System/Library/PrivateFrameworks/InstallCoor... |
/* Copyright 2022 Cypress Semiconductor Corporation (an Infineon company) or
* an affiliate of Cypress Semiconductor Corporation
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may... |
/* -*- coding: utf-8 -*-
* -----------------------------------------------------------------------------
* Copyright © 2016, HST Project.
* Please see the COPYING file in this distribution for license details.
* -----------------------------------------------------------------------------
*/
#include "id-set.h"
... |
/* $XFree86: xc/programs/Xserver/hw/xfree86/accel/et4000w32/cfb.w32/w32zerarc.c,v 3.4 1996/12/23 06:35:06 dawes Exp $ */
/************************************************************
Copyright (c) 1989 X Consortium
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and asso... |
// 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 CHROME_BROWSER_CHROMEOS_ARC_AUTH_ARC_BACKGROUND_AUTH_CODE_FETCHER_H_
#define CHROME_BROWSER_CHROMEOS_ARC_AUTH_ARC_BACKGROUND_AUTH_CODE_FETCHER_H_
... |
// Copyright (c) 2019 The PIVX developers
// Copyright (c) 2020 The AVC developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef COINRANDOMNESSPROOF_H_
#define COINRANDOMNESSPROOF_H_
#include "Params.h"
#include "... |
/*
*
* Copyright (c) 2020-2021 Project CHIP Authors
* Copyright (c) 2013-2017 Nest Labs, 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
... |
/*
* This header is generated by classdump-dyld 1.5
* on Tuesday, November 10, 2020 at 10:21:21 PM Mountain Standard Time
* Operating System: Version 14.2 (Build 18K57)
* Image Source: /System/Library/PrivateFrameworks/ShazamKit... |
#pragma once
#include "zeek/packet_analysis/Analyzer.h"
#include "zeek/packet_analysis/Component.h"
namespace zeek::packet_analysis::PacketDemo {
class LLCDemo : public Analyzer {
public:
LLCDemo();
~LLCDemo() override = default;
bool AnalyzePacket(size_t len, const uint8_t* data, Packet* packet) override;
sta... |
#include <coldforce/coldforce_net.h>
#include <stdio.h>
#include <string.h>
// my app object
typedef struct
{
co_app_t base_app;
// my app data
co_tcp_client_t* client;
co_timer_t* retry_timer;
} my_app;
void my_connect(my_app* self);
void on_my_tcp_receive(my_app* self, co_tcp_client_t* client)
{... |
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_striteri.c :+: :+: :+: ... |
/*
* NASA Docket No. GSC-18,370-1, and identified as "Operating System Abstraction Layer"
*
* Copyright (c) 2019 United States Government as represented by
* the Administrator of the National Aeronautics and Space Administration.
* All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the... |
/*
* 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... |
/****************************************************************************
* libs/libc/netdb/lib_dnsclien.c
*
* Copyright (C) 2007, 2009, 2012, 2014-2016 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* mod... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.