text stringlengths 4 6.14k |
|---|
#include<stdio.h>
// automatic type conversions in function calls
main()
{
extern int i;// What does extern do? Does it have an effect on the output?
double x=3.00;
long j=34L;
f(j,x);
}
f(float f,short p)
{
printf("%f ",f);
printf("%d",p);
}
|
#pragma once
#include <stdint.h>
#pragma warning (push, 0)
#define DBGHELP_TRANSLATE_TCHAR
#define NOMINMAX
#include <windows.h>
#include <atlbase.h>
#include <mmsystem.h>
#include <tlhelp32.h>
#include <psapi.h>
#include <dbghelp.h>
#include <QtCore>
#include <QtConcurrent>
#include <QtWidgets>
#include <QtGui>
#... |
/*
* indextree.h
*
* Created on: 2012-11-26
* Author: kevin
*/
#ifndef INDEXTREE_HPP__
#define INDEXTREE_HPP__
#include <set>
#include "container/vector.hpp"
#include "container/string.hpp"
namespace zl
{
class IndexTreeNode;
struct IndexTreeNodeCompare
{
bool operator()(IndexTreeNode*... |
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_struct_lib.h :+: :+: :+: ... |
#include <stdint.h>
#include "tool.h"
#include "file.h"
#pragma pack(1)
struct fat12_bs {
uint8_t bootjmp[3];
uint8_t oem_name[8];
uint16_t byt_per_sector;
uint8_t sect_per_clust;
uint16_t reserved_sectors;
uint8_t fat_amnt;
uint16_t dir_entry_count;
uint16_t total_sectors;
uint8_t media_type;
uint16_t secto... |
/*********************************************************************************************
* Name : projectLoader.h
* Description : Loads the project file to memory
********************************************************************************************/
#pragma once
#ifndef _VSMAKE_PROJECT_LOADER_H_
#de... |
/*
* alt_sys_init.c - HAL initialization source
*
* Machine generated for CPU 'cpu' in SOPC Builder design 'dtb_system'
* SOPC Builder design path: ../../dtb/dtb_system.sopcinfo
*
* Generated: Tue Jan 20 08:11:51 CET 2015
*/
/*
* DO NOT MODIFY THIS FILE
*
* Changing this file will have subtle consequences
*... |
// CodeLocation.h
// Declares the CodeLocation class representing a container for a share-able Allocation's code location
#ifndef CODELOCATION_H
#define CODELOCATION_H
#include <memory>
#include <QString>
/** Represents a single code location in the memoryspace of the examined process,
together with any... |
#include "tap.h"
#include "test.h"
#include "bson.h"
#include <string.h>
void
test_bson_cursor_new (void)
{
bson *b;
bson_cursor *c;
ok (bson_cursor_new (NULL) == NULL,
"bson_cursor_new(NULL) should fail");
b = bson_new ();
ok (bson_cursor_new (b) == NULL,
"bson_cursor_new() should fail with a... |
// Copyright (c) PLUMgrid, Inc.
// Licensed under the Apache License, Version 2.0 (the "License")
#include <bcc/proto.h>
// physical endpoint manager (pem) tables which connects VMs and bridges
// <ifindex_in, ifindex_out>
BPF_TABLE("hash", u32, u32, pem_dest, 256);
// <0, tx_pkts>
BPF_TABLE("array", u32, u32, pem_sta... |
#ifndef _ELNET_UTIL_H
#define _ELNET_UTIL_H
#ifdef __cplusplus
extern "C" {
#endif
void standardise_data(double **x, double *y, int N, int p,
double *xm, double *xs,
double *ym, double *ys);
double **new_matrix(int n, int m);
double **copy_matrix(double... |
/******************************************************************************
* $Id: parsexsd.h 57b6aec245c1a56e51fed67ce205928d67cb0038 2015-11-26 14:14:41Z Even Rouault $
*
* Project: GML Reader
* Purpose: Implementation of GMLParseXSD()
* Author: Frank Warmerdam, warmerdam@pobox.com
*
******************... |
//
// ParkifyFrontPageViewControllerViewController.h
// Parkify2
//
// Created by Me on 7/8/12.
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ParkifySignInPageViewController : UIViewController <UITextFieldDelegate>
@property (weak, nonatomic) IBOutlet UITextFi... |
/* Copyright 2014-2017 Rsyn
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in wr... |
/*
* Copyright (c) 2016, Intel Corporation
* 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 c... |
////////////////////////////////////////////////////////////////////////////
// Module : alife_spawn_registry_header.h
// Created : 15.01.2003
// Modified : 12.05.2004
// Author : Dmitriy Iassenev
// Description : ALife spawn registry header
////////////////////////////////////////////////////////////////////////... |
#pragma once
#include "Socket.h"
#include "TaskThread.h"
#include "xTime.h"
#include "xEntry.h"
enum NPState
{
NP_CREATE = 0,
NP_VERIFIED,
NP_ESTABLISH,
NP_DISCONNECT,
NP_CLOSE,
};
class TaskThread;
class NetProcessor : public xEntry
{
friend class LogGate;
public:
NetProcessor(const char *n);
virtual ~NetP... |
#pragma once
#include <Cutelyst/Controller>
namespace crrc
{
class Departments : public Cutelyst::Controller
{
Q_OBJECT
public:
explicit Departments( QObject* parent = nullptr ) : Controller( parent ) {}
~Departments() = default;
C_ATTR( index, :Path( "/departments" ) : Args( 0 ) )
void in... |
//
// Consumer.h
// PaynetEasyTransfer
//
// Created by Sergey Anisiforov on 23/03/17.
// Copyright © 2017 payneteasy. All rights reserved.
//
#import "ConsumerProtocol.h"
@interface Consumer : NSObject <ConsumerProtocol>
@property (nonatomic, strong) NSString *deviceNumber;
@end
|
/*
* Конфигурация сервера по умолчанию.
*
* Copyright (C) 1992-1995 Cronyx Ltd.
* Автор: Сергей Вакуленко, vak@cronyx.ru
* Wed Feb 8 18:29:31 MSK 1995
*/
#define VERSION "E-mail to News Gate, Version 1.0"
#define COPYRIGHT "Copyright (C) 1995 Cronyx Ltd."
extern char *MAILDIR, *NEWSSPOOLDIR, *LOGFILE, *CONFIG... |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/opensearch/OpenSearchService_EXPORTS.h>
#include <aws/opensearch/OpenSearchServiceRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace A... |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53-recovery-control-config/Route53RecoveryControlConfig_EXPORTS.h>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
name... |
//
// AppDelegate.h
// 画矩形
//
// Created by wangju on 15/12/15.
// Copyright © 2015年 wangju. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
|
//
// MessageVerify.h
// MyChat
//
// Created by Mac on 15/9/2.
// Copyright © 2015年 Zeng. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface MessageVerify : NSObject
/**
* @brief 获得唯一实例
*
* @return 返回唯一实例
*/
+ (instancetype)shareInstance;
/**
* @brief 验证手机号
*
* @param tel 需验证的手机号
*... |
/*
Copyright 2013 KLab 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 or agreed ... |
/*
* 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... |
#pragma once
#include<glm/glm.hpp>
#include<glm/gtc/matrix_transform.hpp>
#include<GL\glew.h>
namespace Engine {
class Camera
{
public:
Camera();
~Camera();
void init(int width, int height);
void update();
glm::vec2 convertToWorldCoordonates(glm::vec2 screenCoords);
bool checkIfInVie... |
/*
* %CopyrightBegin%
*
* Copyright Ericsson AB 2001-2018. 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
... |
/**
* Copyright (c) 2015 - 2017, 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,... |
//
// NCPersonPickerVC.h
// NestContact
//
// Created by sunny on 13-10-8.
// Copyright (c) 2013年 sunny. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface NCPersonPickerVC : UIViewController
@end
|
//
// HFPhotoViewController.h
// HFHS
//
// Created by Mark Glagola on 3/5/13.
// Copyright (c) 2013 Mark Glagola. All rights reserved.
//
#import "HFViewController.h"
#import "PunchScrollView.h"
#import "YIPopupTextView.h"
@interface HFPhotoViewController : HFViewController <UIGestureRecognizerDelegate, PunchScr... |
/*
MIT Copyright Notice
Copyright 2003 M.I.T.
Permission is hereby granted, without written agreement or royalty fee, to use,
copy, modify, and distribute this software and its documentation for any
purpose, provided that the above copyright notice and the following three
paragraphs appear in all copies of this ... |
#ifndef CONFIG_H_
#define CONFIG_H_
#include <stdbool.h>
#include <inttypes.h>
enum ConfigFileAttr {
ATTR_SERVERS = 1,
ATTR_CLIENTS,
ATTR_MSG_SIZE,
ATTR_NUM_CONCURR_MSGS,
};
struct ConfigInfo {
int num_servers;
int num_clients;
char **servers; /* list of servers */
char **c... |
#ifndef MULTIPLY_H
#define MULTIPLY_H
// The function passed to pthread_create
// Params: threadID
void* multiplyBlock(void*);
// The function to parse the number of threads from the
// command line
// Params: int argc, char** argv
int parse_number_threads(int, char**);
//Prints the usage of the binary from the ter... |
#import <Foundation/Foundation.h>
#import "PBObject.h"
/**
* Location Intelligence APIs
* Incorporate our extensive geodata into everyday applications, business processes and workflows.
*
* OpenAPI spec version: 8.5.0
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com... |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef nsHyphenator_h__
#define n... |
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0... |
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/* plugins/kdb/ldap/libkdb_ldap/kdb_xdr.c */
/*
* Copyright 1995 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* Export of this software from the United States of America may
* require a specific license from the United Stat... |
#include<stdio.h>
int main(){
printf("hello world!\n");
return 0;
}
|
/*
* Copyright 2015 The Foundry Visionmongers 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
*
* Neither the name of The Foundry nor t... |
/** @file
* @brief main fuse_kafka source
**/
#include "version.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#define _GNU_SOURCE
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include <sys/time.h>
#include <stdarg.h>
#include <stdlib.h>
#include "time_queue.c... |
/*
* 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... |
/**
Licensed Materials - Property of IBM
(C) Copyright 2015 IBM Corp.
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific la... |
#pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include <assert.h>
#include <exception>
// UIGrid
struct UIGrid_t2503122938;
// System.Collections.Generic.List`1<UnityEngine.Transform>
struct List_1_t1081512082;
// UnityEngine.Tra... |
/* GNU Mailutils -- a suite of utilities for electronic mail
Copyright (C) 2003, 2007, 2010 Free Software Foundation, Inc.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
... |
/*
* Copyright (c) 2015, Freescale Semiconductor, 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:
*
* o Redistributions of source code must retain the above copyright notice, this list... |
#ifndef K_ARCHIVE_TAR_TARENTRYHEADER_H
#define K_ARCHIVE_TAR_TARENTRYHEADER_H
#include "TarHelper.h"
class TarHeader_checkSum_Test;
namespace K {
/**
* this header struct describes one entry (file)
* within a .tar archive.
* it can be used for both, reading and writing .tar files.
*/
struct TarEntryHeader... |
//
// PayDoneViewModel.h
// Sfj
//
// Created by M on 2017/6/1.
// Copyright © 2017年 dabao. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface PayDoneViewModel : NSObject<UITableViewDelegate, UITableViewDataSource>
@end
|
/////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2009-2011 Alan Wright. All rights reserved.
// Distributable under the terms of either the Apache License (Version 2.0)
// or the GNU Lesser General Public License.
////////////////////////////////////////////////////////////... |
/*
* Copyright 2020 Makani Technologies 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... |
//
// SMTPClientSessionTest.h
//
// Definition of the SMTPClientSessionTest class.
//
// Copyright (c) 2005-2006, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// SPDX-License-Identifier: BSL-1.0
//
#ifndef SMTPClientSessionTest_INCLUDED
#define SMTPClientSessionTest_INCLUDED
#include "Poco... |
/*
* 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... |
#include "nit.common.h"
extern const int COLOR_list__List__get_node;
extern const int COLOR_abstract_collection__Container__item;
val* list__List___91d_93d(val* self, long p0);
extern const int COLOR_abstract_collection__Sequence_FT0;
extern const int COLOR_abstract_collection__Container__item_61d;
void list__List___91... |
//
// Copyright 2016 Jeff Bush
//
// 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... |
static const char * fallback_ui_file =
"<ui>\n"
" <menubar name='main-window-menu'>\n"
" <menu action='file-menu'>\n"
" <menuitem action='open-torrent-menu'/>\n"
" <menuitem action='open-torrent-from-url'/>\n"
" <menuitem action='new-torrent'/>\n"
" <separator/>\n"
... |
#ifndef CDispatch_h__
#define CDispatch_h__
#include "DispatchInterface.h"
#include <QString>
#include "BaseDatas.h"
/**
* @class <CDispatch>
* @brief 时间调度清除数据.
*
* 这里是类的详细描述
* @note 这里是注意事项
* @see DispatchInterface
*/
class CDispatch : public DispatchInterface
{
Q_OBJECT
public:
CDispatch(QL... |
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include "rt.h"
#include "get_next_line.h"
double inter_plan(t_vector *v, t_point *eye, t_object *object)
{
t_plan_infos *p;
p = (t_plan_infos*)object;
p->obj.k = 0;
if (v->z == 0)
return (0);
p->obj.k = -((eye->z + p->z) / v->z);
if (p->obj... |
//
// LGLineController.h
// LGPdf
//
// Created by Luna Gao on 16/9/9.
// Copyright © 2016年 luna.gao. All rights reserved.
//
#ifndef __LGLineController
#import <Foundation/Foundation.h>
#import "LGPdfLine.h"
@interface LGLineController : NSObject
- (void)add:(LGPdfLine *)element withContext:(CGContextRef)pdfCo... |
//
// KYArcTab.h
// KYArcTab
//
// Created by Kaijie Yu on 2/1/12.
// Copyright (c) 2012 Kjuly. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <QuartzCore/QuartzCore.h>
// For debuging graphics
//#define KY_ARCTAB_DEBUG_GRAPHICS 1
// View Basic
//#define kKYArcTabViewHeight CGRectGetHeight([UIScreen ma... |
////////////////////////////////////////////////////////////////////////////////
/// DISCLAIMER
///
/// Copyright 2014-2017 ArangoDB GmbH, Cologne, Germany
/// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except... |
/*
Copyright (c) 2011, Siemens Corporate Research a Division of Siemens 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.... |
//
// Generated by the J2ObjC translator. DO NOT EDIT!
// source: /Users/tball/tmp/j2objc/testing/mockito/build_result/java/org/mockito/internal/configuration/injection/scanner/MockScanner.java
//
#ifndef _OrgMockitoInternalConfigurationInjectionScannerMockScanner_H_
#define _OrgMockitoInternalConfigurationInjectio... |
/**
* Appcelerator Titanium Mobile
* Copyright (c) 2010 by imyredmine, 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.
*/
#imp... |
#pragma once
#include <cstdint>
struct ip4_addr {
uint32_t addr;
};
typedef struct ip4_addr ip4_addr_t;
|
// Copyright 2017-2020 The Verible 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 o... |
#include "esp_spi_flash.h"
int spi_flash_get_chip_size()
{
return (1024 * 1024 * 1024);
} |
/**
* @file: host.h
* Assertion related routines of Utils library for scheme compiler project
* @defgroup Asserts Assertions
* @brief Assertion routines/macros
* @ingroup Utils
*/
/*
* Copyright (C) 2012 MIPT Scheme Compiler team
*/
#pragma once
#ifndef UTILS_HOST_H
#define UTILS_HOST_H
/* System headers */
... |
/**
* 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... |
#pragma once
#include "source/common/protobuf/utility.h"
#include "source/extensions/filters/http/cache/http_cache.h"
#include "absl/base/thread_annotations.h"
#include "absl/container/flat_hash_map.h"
#include "absl/synchronization/mutex.h"
// included to make code_format happy
#include "envoy/extensions/cache/simp... |
// Copyright (c) 2014 Luca Marturana. All rights reserved.
// Licensed under Apache 2.0, see LICENSE for details
#pragma once
#include <string>
#include <redis3m/connection.h>
#include <redis3m/command.h>
#include <map>
#include <stdexcept>
namespace redis3m
{
namespace patterns
{
template<typename Model>
/**
* @b... |
/* Web Polygraph http://www.web-polygraph.org/
* Copyright 2003-2011 The Measurement Factory
* Licensed under the Apache License, Version 2.0 */
#ifndef POLYGRAPH__RUNTIME_PERSISTWORKSETMGR_H
#define POLYGRAPH__RUNTIME_PERSISTWORKSETMGR_H
#include "base/UniqId.h"
class String;
class IBStream;
class OBStream... |
/*
* 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 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 2017 American Printing House for the Blind 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 ap... |
//
// XYTrendViewModel.h
// WUO
//
// Created by mofeini on 17/1/3.
// Copyright © 2017年 com.test.demo. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "XYHTTPResponseInfo.h"
#import "XYTrendItem.h"
@interface XYTrendViewModel : NSObject
@property (nonatomic, strong) XYHTTPResponseInfo *info;
@property ... |
//
// ARCURLNavigatorPattern.h
// ARCo Example
//
// Created by GREGORY GENTLING on 9/10/11.
// Copyright (c) 2011 __MyCompanyName__. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "ARCPatternTEXT.h"
#import "ARCURLPattern.h"
@interface ARCURLNavigatorPattern : ARCURLPattern {
Class ... |
//
// PGTSConnectionPrivate.h
// BaseTen
//
// Copyright 2006-2010 Marko Karppinen & Co. 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
//
// http://www.apache.org/licenses/LI... |
// RISC-V rv32iac Sanity Checks -*- C -*-
// Copyright lowRISC contributors.
// Licensed under the Apache License, Version 2.0, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0
#include "utils.h"
// Architecture-Specific Preprocessor Definitions:
CHECK_DEFINED_EQ(__riscv_xlen, 32);
#define HAS_M 0
... |
//
// ogles_gpgpu project - GPGPU for mobile devices and embedded systems using OpenGL ES 2.0
//
// Author: Markus Konrad <post@mkonrad.net>, Winter 2014/2015
// http://www.mkonrad.net
//
// See LICENSE file in project repository root for the license.
//
/**
* Base class for filter (fragment shader only) processors... |
/*******************************************************************************
**NOTE** This code was generated by a tool and will occasionally be
overwritten. We welcome comments and issues regarding this code; they will be
addressed in the generation tool. If you wish to submit pull requests, please
do so for th... |
/**
*@cond doxygenLibsbmlInternal
**
*
* @file OutputCompressor.h
* @brief utility class for output compression
* @author Akiya Jouraku
*
*
* <!--------------------------------------------------------------------------
* This file is part of libSBML. Please visit http://sbml.org for more
* information... |
/**
\file uart3.h
\author G. Icking-Konert
\date 2013-11-22
\version 0.1
\brief implementation of UART3 / LINUART functions & macros
implementation of UART3 / LINUART functions and macros for send & receive.
Optional functionality via #define:
- USE_UART234_TXE_ISR: use TXE int... |
// Copyright 2022 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... |
// Copyright 2010-2014 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... |
//
// QMPublicHeader.h
// QQMusic
//
// Created by xwmedia01 on 17/3/2.
// Copyright © 2017年 xwmedia01. All rights reserved.
//
#ifndef QMPublicHeader_h
#define QMPublicHeader_h
#import "UIImageView+WebCache.h"
#import "AFNetworking.h"
#import "UIView+Toast.h"
#import "UIView+Extension.h"
#import "NSObject+Cat... |
#pragma once
#include <string>
namespace Atlas
{
class Shader
{
public:
unsigned int atlasID;
std::string name;
unsigned int glProgramID;
// Common Shader variables
int texLoc;
int viewLoc;
int projLoc;
int modelLoc;
// Lighting shader variables
//int _ambientLightColour... |
/*
* DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl\nsICSSUnprefixingService.idl
*/
#ifndef __gen_nsICSSUnprefixingService_h__
#define __gen_nsICSSUnprefixingService_h__
#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif
/* For IDL files that don't want to include root IDL file... |
/*D************************************************************/
/* modul: free a buffer */
/* */
/* copyright: yafra.org, Basel, Switzerland */
/**************************************************************/
#include ... |
//
// Copyright 2012 Lolay, 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 or agre... |
/* 参考akQuan的思路,记录最晚开始时间,使用暴力的全局搜索
* 获得最好结果。
*/
#include <stdio.h>
#include <time.h>
#include <string.h>
int a[30][4], n, vis[30];
int sum, max;
void dfs(int time)
{
int i;
for (i = 0; i < n; i++) {
if (a[i][3]>=time && vis[i] == 0) {
sum += a[i][0];
vis[i] = 1... |
/**
* @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... |
/*
* 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... |
//
// YLMind.c
// YLSinaBlog
//
// Created by LongMa on 15/11/29.
// Copyright © 2015年 LongMa. All rights reserved.
//
/*
aece6e0 HEAD@{8}: clone: from https://github.com/Dast1990/sinaBlogOC.git
V1.在tabBarC基础上显示了4个子控制器的界面。设置了pch文件,测试用的xib。设置了子控制器的leftBarButtonItem属性,待完善自定义导航控制器。
V2.写UIView分类,方直接.size,.x 等快速代码
V3... |
#include "pd_ringbuffer.h"
#include "pd_log.h"
int pd_ringbuffer_init(struct PdRingBuffer *rb)
{
int ret = 0;
if (NULL == rb)
{
PD_LOG(WARN, "ringbuffer null pointer");
ret = -1;
}
else if (NULL == (rb->buf = (char*)malloc(PD_RING_BUF_LEN)))
{
PD_LOG(WARN, "alloc ringbuffer fail, this=%p", rb);... |
/**
******************************************************************************
* @file TIM/TIM_OCToggle/stm32f4xx_conf.h
* @author MCD Application Team
* @version V1.2.0
* @date 19-September-2013
* @brief Library configuration file.
***************************************************... |
/*
* Copyright 2010-2016 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... |
//===-- tsan_clock.h --------------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... |
//
// NIMLocationContentConfig.h
// NIMKit
//
// Created by amao on 9/15/15.
// Copyright (c) 2015 NetEase. All rights reserved.
//
#import "NIMBaseSessionContentConfig.h"
@interface NIMLocationContentConfig : NIMBaseSessionContentConfig<NIMSessionContentConfig>
@end
|
/*
* 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... |
/**
* @license Apache-2.0
*
* Copyright (c) 2021 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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.