text stringlengths 4 6.14k |
|---|
// -----------------------------------------------------------------------------
// Copyright 2012-2021 Patrick Näf (herzbube@herzbube.ch)
//
// 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
... |
// Copyright (c) 2008, 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:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of condi... |
/**
* Copyright 2017 BitTorrent 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 to in wr... |
//
// LQYSeeBigViewController.h
// baisibudejie
//
// Created by shasha on 15/11/3.
// Copyright © 2015年 shasha. All rights reserved.
//
#import <UIKit/UIKit.h>
@class LQYTopic;
@interface LQYSeeBigViewController : UIViewController
@property (nonatomic, strong) LQYTopic *topic; /**< 模型 */
@end
|
/******************************************************************************
* Copyright 2019 The Apollo 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
... |
//
// PartialStreamTest.h
//
// Definition of the PartialStreamTest class.
//
// Copyright (c) 2007, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// SPDX-License-Identifier: BSL-1.0
//
#ifndef PartialStreamTest_INCLUDED
#define PartialStreamTest_INCLUDED
#include "Poco/Zip/Zip.h"
#include ... |
// Copyright 2015 Heidelberg University Copyright and related rights are
// licensed under the Solderpad Hardware License, Version 0.51 (the "License");
// you may not use this file except in compliance with the License. You may obtain
// a copy of the License at http://solderpad.org/licenses/SHL-0.51. Unless
// requir... |
//
// RKDynamicObjectMapping.h
// RestKit
//
// Created by Blake Watters on 7/28/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... |
/**
* Appcelerator Titanium Mobile
* Copyright (c) 2010-2011 by sample_project, 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.... |
//
// AppDelegate.h
// kedashixunDemo
//
// Created by wangbing on 16/5/8.
// Copyright © 2016年 wangbing. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <BaiduMapAPI_Map/BMKMapView.h>//只引入所需的单个头文件
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *w... |
/*
* 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 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... |
/*
* action()
*
* Preform any action that is needed with this article
*
* Copyright 1994 Timothy Pozar
*
*/
#include "anpa.h"
char doit[BUFSIZE];
action()
{
sprintf(doit,act,tmpfnp,tmpfnp,tmpfnp);
if(debug_level > 4)
printf("Running: %s\n",doit);
system(doit);
return(TRUE);
}
|
/****************************************************************************
* Copyright 2014-2015 Trefilov Dmitrij *
* *
* Licensed under the Apache License, Version 2.0 (the "License"); *
* you ma... |
/*
Literate version 1.0, August 2010
Copyright 2010 Ryan Walklin
Based on Smultron version 3.6b1, 2009-09-12
Written by Peter Borg, pgw3@mac.com
Find the latest version at http://smultron.sourceforge.net
Copyright 2004-2009 Peter Borg
Licensed under the Apache License, Version 2.0 (the "License"); you may not use t... |
//
// 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 writing, software
// distributed u... |
//
// ViewController.h
// Dizainer
//
// Created by m2sar on 03/10/2016.
// Copyright © 2016 UPMC. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ViewController : UIViewController
- (void)updateView:(int)value;
@end
|
#include "plugin/file/element.h"
#include "common/file.h"
#include <stdio.h>
#include <stdarg.h>
#include <stddef.h>
#include <setjmp.h>
#include <stdlib.h>
#include <cmocka.h>
static void compare(void** arg)
{
element* elem1;
element* elem2;
attribute* attr;
int rc;
elem1 = create_element(u"funky... |
/*
* SPDX-FileCopyrightText: 2010-2022 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
// This file defines GPIO lookup macros for available UART IO_MUX pins on ESP32.
#ifndef _SOC_UART_CHANNEL_H
#define _SOC_UART_CHANNEL_H
//UART channels
#define UART_GPIO1_DIRECT_CHANNEL UA... |
/**
*EG1302A
*Fernando Urbina
*2/4/2014
*Assignment 08
*/
//Example program #1 from Chapter 6 of
//Absoulte Beginner's Guide to C, #rd Edition
//File Chapter6ex1.c
//This program pairs three kids with their favorite superhero
#include <stdio.h>
#include <string.h>
int main()
{
char Kid1[12];
//Kid1 can hold an... |
/*
Copyright 2015 Google Inc. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in wri... |
//
// LCLiveQuery_Internal.h
// LeanCloud
//
// Created by zapcannon87 on 26/03/2018.
// Copyright © 2018 LeanCloud Inc. All rights reserved.
//
#import "LCLiveQuery.h"
@interface LCLiveQuery ()
- (void)resubscribe;
@end
|
/*
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.... |
/* Copyright 2017-present Samsung Electronics Co., Ltd. and other contributors
*
* 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
*
* U... |
/*
* 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 (C) 2014 ZYYX, 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 2017 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 BASE_NUMERICS_SAFE_MATH_ARM_IMPL_H_
#define BASE_NUMERICS_SAFE_MATH_ARM_IMPL_H_
#include <cassert>
#include <limits>
#include <type_traits>
#inc... |
//
// UIImageViewTap.h
// Momento
//
// Created by Michael Waterfall on 04/11/2009.
// Copyright 2009 d3i. All rights reserved.
//
#import <Foundation/Foundation.h>
@protocol MWTapDetectingImageViewDelegate;
@interface MWTapDetectingImageView : UIImageView {
id <MWTapDetectingImageViewDelegate> tapDelegate;
... |
/*
* Copyright 2015 Cagdas Caglak
*
* 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 t... |
/*******************************************************************************
Copyright © 2015, STMicroelectronics International N.V.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributi... |
/* Copyright Abandoned 1996,1999 TCX DataKonsult AB & Monty Program KB
& Detron HB, 1996, 1999-2004, 2007 MySQL AB.
This file is public domain and comes with NO WARRANTY of any kind
*/
/* Version numbers for protocol & mysqld */
#ifndef _mysql_version_h
#define _mysql_version_h
#define PROTOCOL_VERSION ... |
//
// ZFSettingGroup.h
// ZFSetting
//
// Created by 任子丰 on 15/9/19.
// Copyright (c) 2013年 任子丰. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface ZFSettingGroup : NSObject
@property (nonatomic, copy) NSString *header; // 头部标题
@property (nonatomic, copy) NSString *footer; // 尾部标题
@property (non... |
/*
* 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 "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include <assert.h>
#include <exception>
// System.ObjectDisposedException
struct ObjectDisposedException_t973246880;
// System.String
struct String_t;
// System.Runtime.Serialization... |
/**
@file ConnectionCOM.h
@author Lime Microsystems (www.limemicro.com)
@brief Class for data communications through COM port
*/
#ifndef CONNECTION_COM_PORT_H
#define CONNECTION_COM_PORT_H
#ifndef __unix__
#include "windows.h"
#endif
#include "IConnection.h"
#include <string>
#include <vector>
class Conne... |
/**
*******************************************************************************
* ConnectionManager.cpp *
* *
* Tcp connection manager: ... |
/*
* 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... |
// Copyright 2020 The Pigweed 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agre... |
/******************************************************************************
* Copyright 2017 The Apollo 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
... |
#pragma once
#include "AbstractPointsSchemaHandler.h"
class RendermanPointsSchemaHandler : public AbstractPointsSchemaHandler
{
public:
RendermanPointsSchemaHandler();
virtual ~RendermanPointsSchemaHandler();
protected:
virtual void EmitPoints(Alembic::AbcGeom::IPoints& points,
Alembic::Abc::index_t i_... |
/*
Copyright 1999-2019 ImageMagick Studio LLC, a non-profit organization
dedicated to making software imaging solutions freely available.
You may not use this file except in compliance with the License. You may
obtain a copy of the License at
https://imagemagick.org/script/license.php
Unless req... |
#ifndef _CONTEXT_H
#define _CONTEXT_H
#include "Connection.h"
#include <vector>
#include <string>
#include <unordered_map>
class Context {
public:
void addConnection( Connection c );
void setGoal( std::vector<std::string> stops );
struct CtNode {
CtNode( std::string name ) { mName = name; }
... |
/*
* 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... |
//
// ViewController.h
// LxVolumeManagerDemo
//
#import <UIKit/UIKit.h>
@interface ViewController : UIViewController
@end
|
/**
*
* .. invisible:
* _ _ _____ _ _____ _____
*
* | | | | ___| | | ___/ ___|
*
* | | | | |__ | | | |__ \ `--.
*
* | | | | __|| | | __| `--. \
*
* \ \_/ / |___| |___| |___/\__/ /
*
* \___/\____/\_____|____/\____/
*
* Licensed to the Apache Software Foundation (ASF) u... |
/*
* 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... |
//
// Created by Pedro Soares on 26/03/17.
//
#ifndef COMPOSITOR_Downloader_H
#define COMPOSITOR_Downloader_H
#include <iostream>
#include <curlpp/cURLpp.hpp>
#include <curlpp/Easy.hpp>
#include <curlpp/Options.hpp>
#include <nlohmann/json/json.hpp>
#include "../Controller/ProgressCallback.h"
using namespace std;
us... |
#ifndef debug_header
#define debug_header
void telemetry();
String padding(String text, int size);
#endif |
/*
Copyright 2014 Software Reliability Lab, ETH Zurich
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... |
/**
@file Algorithms.h
@author Lime Microsystems
@brief Header for Algorithms.cpp
*/
#ifndef ALGORITHMS_H
#define ALGORITHMS_H
class ConnectionManager;
enum {MIMO_A, MIMO_B, MIMO_BOTH};
enum {//RBB Band_id
RBB_1_4MHZ, RBB_3_0MHZ, RBB_5_0MHZ, RBB_10_0MHZ, RBB_15_0MHZ, RBB_20MHZ, //Low Band
RBB_37_0MHZ, RBB_66_0MHZ,... |
// 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... |
#pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
// System.Array
struct Il2CppArray;
#include "mscorlib_System_ValueType4014882752.h"
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winvalid-offse... |
//
// ZJPhotoBrowserCell.h
// test--图片浏览器
//
// Created by YZJ on 15/6/29.
// Copyright (c) 2015年 YZJ. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "ZJPhotoModel.h"
@class ZJPhotoBrowserCell;
@protocol ZJPhotoBrowserCellDelegate <NSObject>
@optional;
- (void)photoBrowserCellWillHide:(ZJPhotoBrowserC... |
/* simulated SC MSP register */
#include "sicortex/ice9/ice9_scb_spec_sw.h"
#define SCMSPBASE (ICE9_RA_ScbAtnChip)
#define SCMSPEND (ICE9_RAE_ScbAtnChip)
#define SCMSPSIZE (SCMSPEND - SCMSPBASE)
|
/*
This file is part of MAMBO, a low-overhead dynamic binary modification tool:
https://github.com/beehive-lab/mambo
Copyright 2017 The University of Manchester
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obta... |
/**
* Appcelerator Titanium Mobile
* Copyright (c) 2009-2013 by Appcelerator, 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 (C) 2012 Adobe Systems Incorporated. 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 ... |
#ifndef DSA_BROKER_ROOT_H
#define DSA_BROKER_ROOT_H
#if defined(_MSC_VER)
#pragma once
#endif
#include "responder/node_model.h"
namespace dsa {
class RemoteNodeGroup;
class DsBroker;
class BrokerPubRoot;
class BrokerRoot : public NodeModel {
friend class DsBroker;
ref_<RemoteNodeGroup> _downstream_root;
ref_<... |
/******************************************************************************
* Copyright 2017 The Apollo 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
... |
/*
* Copyright (©) 2015 Lucas Maugère, Thomas Mijieux
*
* 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 ... |
// ===================================================
// WARNING: THIS IS A GENERATED FILE. DO NOT EDIT!
// ===================================================
//---------------------------------------------------------------------------------------
// Smile Programming Language Interpreter
// Copyright 2004-2019... |
/******************************************************************************
*
* package: Log4Qt
* file: rollingfileappender.h
* created: September 2007
* author: Martin Heinrich
*
*
* Copyright 2007 Martin Heinrich
*
* Licensed under the Apache License, Version 2.0 (the "License");
... |
#pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
// System.IAsyncResult
struct IAsyncResult_t2754620036;
// System.AsyncCallback
struct AsyncCallback_t1369114871;
// System.Object
struct Il2CppObject;
#include "mscorlib_System_Mult... |
//
// LQNewsList.h
// 美发沙龙网
//
// Created by admin on 15/8/6.
// Copyright (c) 2015年 美发沙龙网. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface LQNewsList : NSObject
@property (nonatomic, copy ) NSString *err_code;
@property (nonatomic, copy ) NSString *err_msg;
@property (nonatomic, copy ) N... |
/*
* SPDX-FileCopyrightText: 2020-2022 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
#pragma once
#include "esp_err.h"
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief This helper function creates and starts a task which wraps `tud_task()`.
*
* The wrapper function basical... |
//
// AppDelegate.h
// BBCellAnimation
//
// Created by Biao on 16/4/14.
// Copyright © 2016年 Biao. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
|
// Almon David Ing
// Ctr. Perceptual Systems, University of Texas at Austin
// Compiled July 11, 2009 using Microsoft Visual C++ 2008 on 32-bit Windows Vista
#include "mex.h"
#include "math.h"
#include "memory.h"
#include "QuickSort.cpp"
#ifndef null
#define null 0
#endif
//#ifndef DEBUG_MEXPRINTF
// #define DEBUG_... |
/*
Thread.h - An runnable object
Thread is responsable for holding the "action" for something,
also, it responds if it "should" or "should not" run, based on
the current time;
For instructions, go to https://github.com/ivanseidel/ArduinoThread
Created by Ivan Seidel Gomes, March, 2013.
Released into the publ... |
/*******************************************************************************
* Copyright (c) 2015-2018 Skymind, Inc.
*
* This program and the accompanying materials are made available under the
* terms of the Apache License, Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0.
*
*... |
//
// CMLocation.h
// MoveUp
//
// Created by sayyou2012 on 17/5/25.
// Copyright © 2017年 sayyou2012. All rights reserved.
//
#import "Location.h"
#import "LocationProtocolInMovingVC.h"
#import "LocationProtocolInMovingTraceMapVC.h"
@interface CMLocation : Location <LocationProtocolInMovingVC,LocationProtocolInMo... |
////////////////////////////////////////////////////////////////////////////////
// GAURDS
////////////////////////////////////////////////////////////////////////////////
#ifndef __A2DDISTANCESET4_H__
#define __A2DDISTANCESET4_H__
//+-----------------------------------------------------------------------------
//
//... |
#ifndef NTRP_COMPLEXITY_PERF_H
#define NTRP_COMPLEXITY_PERF_H
/**
* @file Declaration of Perf
*
* Copyright (C) 2010 Arthur D. Cherba
* 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, eit... |
#ifndef __SMILE_PARSING_PARSEINCLUDE_H__
#define __SMILE_PARSING_PARSEINCLUDE_H__
#ifndef __SMILE_PARSING_PARSER_H__
#include <smile/parsing/parser.h>
#endif
#ifndef __SMILE_ENV_MODULES_H__
#include <smile/env/modules.h>
#endif
SMILE_API_FUNC ModuleInfo Stdio_Main(void);
#endif |
//
// ViewController.h
// ProjectBase
//
// Created by 向云飞 on 16/7/26.
// Copyright © 2016年 向云飞. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ViewController : UIViewController
@end
|
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#include <time.h>
#include <math.h>
#define PI 3.141592653589793238462643383279502884197169399375105
#define PI_TIMES_2 6.283185307179586476925286766559005768394338798750210
#define PI_OVER_2 1.5707963267948966192... |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/amplifyuibuilder/AmplifyUIBuilder_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class Amazon... |
//===----------------------------------------------------------------------===//
//
// Peloton
//
// cuckoo_map.h
//
// Identification: src/include/container/cuckoo_map.h
//
// Copyright (c) 2015-16, Carnegie Mellon University Database Group
//
//===----------------------------------------------... |
/*
* Copyright 2014-2017 Real Logic 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 or agree... |
/*=========================================================================
*
* 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... |
// Copyright 2016-2019 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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to... |
#include <stdio.h>
#include <stdbool.h>
int function(bool enter) {
if(enter) {
printf("I'm in!\n");
} else {
printf("The answer is 42\n");
}
}
int main(int argc, char *argv[])
{
function(argc>1);
return 0;
}
|
//===--- ASTTypeIDs.h - AST Type Ids ----------------------------*- C++ -*-===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2019 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/LICENSE.... |
/*
* Copyright 2019 Volvo Cars
*
* 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, Vers... |
//
// LoginViewController.h
// delicacy-kitchen
//
// Created by 舒志凌 on 16/8/4.
// Copyright © 2016年 Winner. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface LoginViewController : UIViewController
@end
|
/*
* Copyright (c) 2015-2021 Hanspeter Portner (dev@open-music-kontrollers.ch)
*
* This is free software: you can redistribute it and/or modify
* it under the terms of the Artistic License 2.0 as published by
* The Perl Foundation.
*
* This source is distributed in the hope that it will be useful,
* but WITHOUT... |
/*
The JTAG Whisperer: An Arduino library for JTAG.
By Mike Tsao <http://github.com/sowbug>.
Copyright © 2012 Mike Tsao. Use, modification, and distribution are
subject to the BSD-style license as described in the accompanying
LICENSE file.
See README for complete attributions.
*/
#ifndef INCLUDE_JTAG_W... |
/*
This file is part of the WebKit open source project.
This file has been generated by generate-bindings.pl. DO NOT MODIFY!
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation... |
/*
* Copyright (C) Igor Sysoev
* Copyright (C) Nginx, Inc.
*/
#ifndef _NGX_CRYPT_H_INCLUDED_
#define _NGX_CRYPT_H_INCLUDED_
#include <ngx_config.h>
#include <ngx_core.h>
ngx_int_t ngx_crypt(ngx_pool_t *pool, u_char *key, u_char *salt,
u_char **encrypted);
#endif /* _NGX_CRYPT_H_INCLUD... |
//
// MainViewController.h
// GLParticles1
//
// Created by GRITS on 3/14/14.
// Copyright (c) 2014 GRITS. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <GLKit/GLKit.h>
#define IPAD_X_RESOLUTION 1024
#define IPAD_Y_RESOLUTION 768
@interface MainViewController : GLKViewController
//- (void)tapDetected:... |
/*
Copyright 2009-2011 Urban Airship 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 conditions and the... |
/* Copyright (c) 2005, Regents of Massachusetts Institute of Technology,
* Brandeis University, Brown University, and University of Massachusetts
* Boston. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following condit... |
#ifndef MODELS_SESSION_H
#define MODELS_SESSION_H
#include "sqlite3.h"
typedef struct Session {
int id;
int createdAt;
int accountId;
char *sessionId;
} Session;
Session *sessionNew(int, int, int, char *);
Session *sessionGetBySId(sqlite3 *, char *);
Session *sessionCreate(sqlite3 *, char *, char *)... |
//
// DTHTMLElementTest.h
// DTCoreText
//
// Created by Hubert SARRET on 11/04/13.
// Copyright (c) 2013 Drobnik.com. All rights reserved.
//
#import <DTCoreText/DTCoreText.h>
#import <XCTest/XCTest.h>
@interface DTHTMLElementTest : XCTestCase
@end
|
//
// MenuViewController.h
// PL
//
// Created by René Swoboda on 23/04/14.
// Copyright (c) 2014 productlayer. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "ProductLayerViewController.h"
@interface MenuViewController : ProductLayerViewController
- (IBAction)unwindToMenu:(UIStoryboardSegue *)unwindSeg... |
/*********************************************************************************
*
* Inviwo - Interactive Visualization Workshop
*
* Copyright (c) 2013-2016 Inviwo Foundation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided th... |
/*
* Copyright 2014, NICTA
*
* This software may be distributed and modified according to the terms of
* the BSD 2-Clause license. Note that NO WARRANTY is provided.
* See "LICENSE_BSD2.txt" for details.
*
* @TAG(NICTA_BSD)
*/
#ifndef __LIBSEL4_ARCH_CONSTANTS_H
#define __LIBSEL4_ARCH_CONSTANTS_H
#include <aut... |
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "ModuleInterface.h"
#include "SceneOutlinerFwd.h"
/**
* Implements the Scene Outliner module.
*/
class FSceneOutlinerModule
: public IModuleInterface
{
public:
/**
* Creates a scene outliner widget
*
* @param InitOptions ... |
/**
* Copyright (c) 2015, Chao Wang <hit9@icloud.com>
*/
#include <assert.h>
#include <stdio.h>
#include "bench.h"
#include "datetime.h"
/**
* buf_bench
*/
void case_buf_puts(struct bench_ctx *ctx);
static struct bench_case buf_bench_cases[] = {
{"buf_puts", &case_buf_puts, 10000},
{"buf_puts", &case_buf... |
/**
* @file
*
* @date Nov 13, 2020
* @author Anton Bondarev
*/
#include <wchar.h>
#include <wctype.h>
int wcsncasecmp(const wchar_t *ws1, const wchar_t *ws2, size_t n) {
wchar_t c1, c2;
if (n == 0) {
return 0;
}
for (; *ws1; ws1++, ws2++) {
c1 = towlower(*ws1);
c2 = towlower(*ws2);
if (c1 != c2) {
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.