text stringlengths 4 6.14k |
|---|
#pragma once
class TypeFind {
public:
static LRESULT Handler(NMHDR* hdr, int subItemFrom = 0, int subItemCnt = 1);
};
|
//
// ViewController.h
// 82-MapKit框架
//
// Created by yhp on 2017/8/3.
// Copyright © 2017年 YouHuaPei. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ViewController : UIViewController
@end
|
#include "unit_tests.h"
///
Suite * check_cmdq_suite (void)
{
Suite *s = suite_create("greenev");
/* Core test case */
TCase *tc_core = tcase_create("cmdq");
tcase_add_test(tc_core, unittest_cmdq_01);
tcase_add_test(tc_core, unittest_cmdq_02);
tcase_add_test(tc_core, unittest_cmdq_03);
tcase_add_test(tc_core,... |
#include <stdio.h>
int main()
{
int counter = 0;
int is3 = 3;
int i = 0;
for(i = 0; i < 1000; i+=5){
if(is3 == 3){
is3 = 1;
continue;
}
counter += i;
is3++;
}
for(i = 0; i < 1000; i+=3){
counter += i;
}
printf("sum: %d\n", counter);
return 0;
}
|
#pragma once
#include "alien.h"
#include "enemy_bullet.h"
#include "player_missile.h"
#include "shield.h"
#include "spaceship.h"
#include <vector>
#include <string>
#include <istream>
class GameState
{
public:
GameState(std::istream &&mapFile);
void logState();
const std::vector<Alien>& aliens() const { ... |
#pragma once
#include <QLabel>
#include <QPixmap>
#include <QWidget>
class PixmapDisplay :
public QLabel
{
public:
PixmapDisplay(QWidget *parent);
public slots:
void onFrameAcquired(QPixmap pm);
void onFrameTimeReceived(quint64 t);
private:
QWidget *parent;
bool flowStarted = false;
};
|
// Copyright lowRISC contributors.
// Licensed under the Apache License, Version 2.0, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0
#ifndef OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_DRIVERS_HMAC_H_
#define OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_DRIVERS_HMAC_H_
#include <stddef.h>
#include <stdint.h>
... |
/* $NetBSD: pcap-septel.h,v 1.1.1.4 2013/12/31 16:57:20 christos Exp $ */
/*
* pcap-septel.c: Packet capture interface for Intel Septel card
*
* The functionality of this code attempts to mimic that of pcap-linux as much
* as possible. This code is only needed when compiling in the Intel/Septel
* card code at th... |
/*
* 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 ... |
//
// AppDelegate.h
// MMPostcodeTextField
//
// Created by Cornelis van der Bent on 26/10/15.
// Copyright © 2015 meaning-matters. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow* window;
@end
|
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// Licensed under the MIT license.
extern "C" const char* app_center_unity_crashes_error_report_incident_identifier(void* errorReport);
extern "C" const char* app_center_unity_crashes_error_report_reporter_key(void* errorReport);
extern "C" const char* ... |
//
// AppDelegate.h
// RAAGNavigationDrawer
//
// Created by Vikram Bisht on 8/22/15.
// Copyright (c) 2015 Anurag Bisht. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
|
/*
* This file is part of the OpenKinect Project. http://www.openkinect.org
*
* Copyright (c) 2010 individual OpenKinect contributors. See the CONTRIB file
* for details.
*
* This code is licensed to you under the terms of the Apache License, version
* 2.0, or, at your option, the terms of the GNU General Public... |
//
// LoadingView_TypeOne.h
// CARFamily
//
// Created by imac on 2017/8/30.
// Copyright © 2017年 GuangZhouWeiControl. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface LoadingView_TypeOne : UIView
@property (nonatomic , strong) UIColor *borderColor; //108 108 108
@property (nonatomic , strong) UIColor... |
// Copyright 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 in ... |
/*
** $Id: lapi.h,v 2.2.1.1 2007/12/27 13:02:25 roberto Exp $
** Auxiliary functions from Lua API
** See Copyright Notice in lua.h
*/
#ifndef portesp_math_h
#define portesp_math_h
double __strtod(const char* str, char** endptr);
void __tiny_fload_to_string(char *buf, const char *fmt, float val);
#endif
|
//
// JMErrorView.h
//
// Copyright © 2016 Jumio Corporation All rights reserved.
//
#import <UIKit/UIKit.h>
#import <JumioCore/JMBaseView.h>
@class JMAlertView;
@class JMThemeableButton;
@protocol JMAlertViewDelegate <NSObject>
@optional
- (void)alertViewDidConfirm:(JMAlertView*)alertView;
- (void)alertViewDidCa... |
//
// UITextField+Placeholder.h
// BSBDJ
//
// Created by Maskmale on 17/4/24.
// Copyright © 2017年 Maskmale. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UITextField (Placeholder)
@property UIColor *placeholderColor;
-(void)setMBB_Placeholder:(NSString *)placeholder;
@end
|
/*
* Copyright © 2011 Michael Willekes
*
* 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 ... |
/*************************************************
* Public Constants
*************************************************/
// OCTAVE -1
#define NOTE_C_1 0
#define NOTE_D_b1 1
#define NOTE_D_1 2
#define NOTE_E_b1 3
#define NOTE_E_1 4
#define NOTE_F_1 5
#define NOTE_G_b1 6
#define NOTE_G_1 7
#define NOTE_... |
// Copyright 2015 The Gemmlowp 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 required by ... |
/* Copyright 2020 The TensorFlow 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 required by applicable law or a... |
/*
* Copyright (c) 2016, https://github.com/nebula-im
* 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
*
* U... |
//
// AttachmentPushService.h
// mage-ios-sdk
//
//
@import AFNetworking;
extern NSString * const kAttachmentBackgroundSessionIdentifier;
@interface AttachmentPushService : AFHTTPSessionManager
@property (copy) void (^backgroundSessionCompletionHandler)(void);
+ (instancetype) singleton;
- (void) start;
- (void... |
// RUN: %clam -O0 --lower-unsigned-icmp --crab-inter --crab-dom=int --crab-track=mem --crab-heap-analysis=cs-sea-dsa --crab-check=assert --crab-sanity-checks "%s" 2>&1 | OutputCheck %s
// CHECK: ^1 Number of total safe checks$
// XFAIL: *
/** Same as test-arr-4.c but with --crab-track=mem **/
extern int nd ();
exte... |
//
// UIButton+CLExtensions.h
// CLMediaPicker
//
// Copyright [2015] [Cromulent Labs, 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... |
/*
* Copyright 2016 Hewlett Packard Enterprise Development LP
*
* 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... |
/** @file
*
* A brief file description
*
* @section license License
*
* 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... |
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include "i_index_writer.h"
#include <vespa/searchcore/proton/common/feeddebugger.h>
namespace proton {
class IndexWriter : public IIndexWriter,
private FeedDebugger {
private:
... |
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#else
#ifndef FOUNDATION_EXPORT
#if defined(__cplusplus)
#define FOUNDATION_EXPORT extern "C"
#else
#define FOUNDATION_EXPORT extern
#endif
#endif
#endif
FOUNDATION_EXPORT double Pods_OAuth1_ExampleVersionNumber;
FOUNDATION_EXPORT const unsigned char Pods_OAuth1_ExampleVersionS... |
/*
* Copyright 2021 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 applica... |
/*############################################################################
# Copyright 2017-2019 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# ht... |
/*! @file AppDelegate.h
@brief GTMAppAuth SDK iOS Example
@copyright
Copyright 2016 Google Inc.
@copydetails
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 a... |
/* Copyright (c) 2022 PaddlePaddle 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 required by applicable law or... |
//
// MMSierraTabStyle.h
// --------------------
//
// Based on MMYosemiteTabStyle.h by Ajin Man Tuladhar
// Created by Ajin Isaiah Carew on 04/16/2017
// Copyright 2017 Isaiah Carew. All rights reserved.
//
#if __has_feature(modules)
@import Cocoa;
#else
#import <Cocoa/Cocoa.h>
#endif
#import "MMTabStyle.h"
NS_... |
//
// ZJShopClassCell1.h
// WifeButler
//
// Created by .... on 16/5/29.
// Copyright © 2016年 zjtd. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ZJShopClassCell1 : UICollectionViewCell
@property (weak, nonatomic) IBOutlet UIImageView *imgView;
@property (weak, nonatomic) IBOutlet UILabel *nameLabel;... |
#ifndef B_H_INCLUDED
#define B_H_INCLUDED
namespace B{
void f(char);
void f(int);
};
#endif // B_H_INCLUDED
|
/*
* 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_C.h
// TableBarView
//
// Created by runo on 17/7/25.
// Copyright © 2017年 com.runo. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ViewController_C : UIViewController
@end
|
/*
* SGI FREE SOFTWARE LICENSE B (Version 2.0, Sept. 18, 2008)
* Copyright (C) 1991-2000 Silicon Graphics, Inc. All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software wi... |
//
// JSMessageInputView.h
//
// Created by Jesse Squires on 2/12/13.
// Copyright (c) 2013 Hexed Bits. All rights reserved.
//
// http://www.hexedbits.com
//
//
// Largely based on work by Sam Soffes
// https://github.com/soffes
//
// SSMessagesViewController
// https://github.com/soffes/ssmessage... |
//
// CIAPIGetActiveStopLimitOrderRequest.h
// CIAPI
//
// Copyright 2011 Adam Wright/CityIndex. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "CIAPIObjectRequest.h"
// <p>Queries for a active stop limit order with a specified order id. It will r
// eturn a null value if the order doesn't ex... |
#ifndef MACHINA_SOC_H
#define MACHINA_SOC_H
#include <sys/types.h>
#define CPU_FIQ_MODE (0x0011)
#define CPU_HYP_MODE (0x001A)
#define CPU_SVC_MODE (0x0013)
#define CPU_IRQ_MODE (0x0012)
#define CPU_ABORT_MODE (0x0017)
#define CPU_UNDEF_MODE (0x001B)
#define CPU_SYSTEM_MODE... |
class Vertex;
class Face;
class Edge
{
public:
Vertex *vertex, *midVertex;
Edge *next;
Edge *pair;
Face *face;
Edge();
~Edge();
private:
};
|
#include "json.h"
#include "network.h"
#include "screen.h"
#include "threads.h"
#include "lock.h"
#include <stdio.h>
mutex *m1;
mutex *m2;
void th1()
{
mutex_lock(m1);
printf("%i\n",1);
mutex_unlock(m1);
}
void th2()
{
mutex_lock(m2);
printf("%i\n",2);
mutex_unlock(m2);
}
int main(int ar... |
/*
* Copyright (C) 2017 Ptarmigan Project
* SPDX-License-Identifier: Apache-2.0
*
* 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 lic... |
#include "ch.h"
#include "hal.h"
/*
* Application entry point.
*/
int main(void) {
halInit();
chSysInit();
for (;;) {
palTogglePad(GPIOC, GPIOC_LED);
chThdSleepMilliseconds(500);
}
return CH_SUCCESS;
}
|
/* Copyright (c) 2022 PaddlePaddle 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 required by applicable law or... |
/*
* pluginglueAWSLAMBDARUNTIME: Library to push AWS Lambda work into the platform
*
* Copyright (C) 1998 - 2020. Dinand Vanvelzen
*
* 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... |
#import <UIKit/UIKit.h>
FOUNDATION_EXPORT double Pods_ProjectWithDependenciesTestsVersionNumber;
FOUNDATION_EXPORT const unsigned char Pods_ProjectWithDependenciesTestsVersionString[];
|
/* Web Polygraph http://www.web-polygraph.org/
* Copyright 2003-2011 The Measurement Factory
* Licensed under the Apache License, Version 2.0 */
#ifndef POLYGRAPH__CSM_GZIPENCODER_H
#define POLYGRAPH__CSM_GZIPENCODER_H
#include "csm/BodyIter.h"
namespace zlib {
class Deflator;
}
class GzipEncoder: public B... |
/*
* Copyright (C) 2017 Google 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 agree... |
/* -*- Mode: C; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
#pragma once
#cmakedefine HAVE_BACKTRACE 1
#cmakedefine HAVE_DLADDR 1
#cmakedefine HAVE_PTHREAD_SETNAME_NP 1
#ifdef WIN32
#include <winsock2.h>
#include <ws2tcpip.h>
#include <windows.h>
#else
#if !defined(__cplusplus) && !defined(linux)... |
/* Copyright 2017 APPNEXUS 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 writing, softw... |
// Copyright 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 in ... |
/******************************************************************************
*
* Copyright (C) 2014 The Android Open Source Project
* Copyright 2002 - 2004 Open Interface North America, Inc. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file... |
/*
* Copyright (c) 2010, 2011, 2013, 2014 Nicira, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appl... |
namespace simdjson {
namespace SIMDJSON_IMPLEMENTATION {
// This is a near copy of include/error.h's implementation_simdjson_result_base, except it doesn't use std::pair
// so we can avoid inlining errors
// TODO reconcile these!
/**
* The result of a simdjson operation that could fail.
*
* Gives the option of read... |
//
// CountdownVCDemo.h
// Tools
//
// Created by 张书孟 on 2017/10/16.
// Copyright © 2017年 张书孟. All rights reserved.
//
#import "BaseViewController.h"
@interface CountdownVCDemo : BaseViewController
@end
|
//
// CDTCreateQueryIndexOperation.h
// ObjectiveCloudant
//
// Created by Rhys Short on 22/09/2015.
// Copyright (c) 2015 IBM Corp.
//
// 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
// ... |
/**
* Appcelerator Titanium Mobile
* Copyright (c) 2009-2011 by Alloy_Custom_Fonts, 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 supp... |
//
// NSDate+Extention.h
// 微博
//
// Created by FuYu on 15/11/4.
// Copyright © 2015年 FuYu. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface NSDate (Extention)
- (BOOL)isThisYear;
- (BOOL)isYesterday;
- (BOOL)isToday;
@end
|
/*
* Timer.h
*
* Created on: 11 Dec 2014
* Author: Ville
*/
#ifndef TIMER_H_
#define TIMER_H_
#include "Base.h"
namespace Gain {
class Timer: public Gain::Base {
private:
typedef Gain::Base super;
public:
Timer();
virtual ~Timer();
virtual void updateG(float time, float deltaTime... |
////////////////////////////////////////////////////////////////////////////////
/// DISCLAIMER
///
/// Copyright 2017 ArangoDB GmbH, Cologne, Germany
///
/// 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... |
/**
*Course: EG1302A - spring 2014
*Name: Hassan Almotairi
*Date Created: 02/13/2014
*Assignment: Assignment10
*/
#include <stdio.h>
#include <stdlib.h>
int main()
{
float total;
int quantity;
float price;
printf("how much was the item that you bought?\n");
scanf("%f", &price)... |
#include "UI.h"
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include <unistd.h>
#include <ctype.h>
#include <ncurses.h>
typedef struct UI {
WINDOW *console_win;
WINDOW *printer_win;
} UI;
UI *UI_create() {
UI *self = calloc(1, sizeof(UI));
initscr();
// raw();
cbreak();... |
// This file is a part of the IncludeOS unikernel - www.includeos.org
//
// Copyright 2017 Oslo and Akershus University College of Applied Sciences
// and Alfred Bratterud
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may... |
#ifndef PARSE_TEST_H
#define PARSE_TEST_H
#include <cppunit/extensions/HelperMacros.h>
class ParseTest : public CppUnit::TestFixture
{
CPPUNIT_TEST_SUITE( ParseTest );
CPPUNIT_TEST( parseTest );
CPPUNIT_TEST_SUITE_END();
public:
void parseTest();
};
#endif // SIMPLE_TEST_H
|
/*
Copyright 2014, Jernej Kovacic
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
... |
/*===========================================================================
_____ _____ _____ _____
___| _|__ __|_ |__ __|__ |__ __| __ |__ ______
| \ / | || \ || | || |/ / ||___ |
| \/ | || \ || \ || \ ||___ |
|__/\__... |
//===-- namegen.h - decls for 'NameGen' class --======================//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===---------------------------------------------------------------... |
/*******************************************************************************
* 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.
*
*... |
/*
* 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-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 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... |
#import "DockManeuver.h"
@interface DockManeuver (Addons)
-(NSString*)asString;
-(NSComparisonResult)compareTo:(DockManeuver*)other;
-(BOOL)isSpin;
-(BOOL)isFlank;
-(BOOL)isComeAbout;
@end
|
/* Copyright 2017 R. Thomas
* Copyright 2017 Quarkslab
*
* 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 appli... |
/*
* 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 may ... |
/*
* DO NOT EDIT. THIS FILE IS GENERATED FROM e:/builds/moz2_slave/rel-2.0-xr-w32-bld/build/content/html/content/public/nsIPhonetic.idl
*/
#ifndef __gen_nsIPhonetic_h__
#define __gen_nsIPhonetic_h__
#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif
/* For IDL files that don't want to include root IDL... |
//
// SearchViewController.h
// banlv
//
// Created by lcy on 16/5/6.
// Copyright © 2016年 llz. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface SearchViewController : UIViewController
@property (nonatomic,copy)NSString *cityId;
@property (nonatomic,copy)NSString *cityName;
@property(nonatomic,strong... |
/*
*
* 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 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 Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include "queryterm.h"
#include <vespa/searchlib/fef/blueprint.h>
namespace search::features {
struct AttributeMatchParams {
AttributeMatchParams() :
attrInfo(nullptr), attribute(nullptr... |
//
// $Id: Singleton.h 1211 2010-06-13 15:11:59Z boman $
//
#ifndef SINGLETON_H
#define SINGLETON_H
#include <iostream>
/**
* @brief A basic implementation of the singleton pattern
*/
template <class T> class Singleton
{
public:
static T &getInstance();
static void destroy();
private:
static T *insta... |
#import <Cordova/CDVPlugin.h>
enum CDVDataSourceType {
DataSourceTypeComp = 0,
DataSourceTypeDraw,
DataSourceTypeFiles,
DataSourceTypeLibrary,
DataSourceTypePhotos,
DataSourceTypePSMix,
DataSourceTypeSketch,
DataSourceTypeLine,
DataSourceTypeBrush
};
typedef NSUInteger CDVDataSource... |
#pragma once
#include "../../include/nn/LogSoftMax.h"
namespace cpptorch
{
namespace serializer
{
template<typename T, GPUFlag F>
class LogSoftMax : public nn::LogSoftMax<T, F>
{
public:
void unserialize(const object_torch *obj, object_reader<T, F> *mb)
... |
/*=========================================================================
*
* 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... |
//
// MineViewController.h
// QuFaXian
//
// Created by licong on 16/5/6.
// Copyright © 2016年 Sugar. All rights reserved.
//
#import "QFXCustomViewController.h"
@interface MineViewController : QFXCustomViewController
@end
|
/**
* microcsp
* Copyright (c) 2015 Michael E. Goldsby
*
* 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 ... |
#include "global.h"
#include "robot.h"
robot_t *robot_init (int nneurons, int nsynapses, int maxfactor)
{
robot_t *r;
neuron_t *n;
synapse_t *s;
assert (nneurons > 0);
assert (nsynapses > 0);
r = calloc (1, sizeof(robot_t) + sizeof(neuron_t) * nneurons);
assert (r != 0);
r->nneurons = nneurons;
maxfactor *=... |
/*
* Copyright 2017-2021 AVSystem <avsystem@avsystem.com>
*
* 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... |
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#endif
FOUNDATION_EXPORT double Pods_programmeerprojectVersionNumber;
FOUNDATION_EXPORT const unsigned char Pods_programmeerprojectVersionString[];
|
/* -*- 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... |
/***********************************************************************//**
* JsKeywordSet.h
* Enlight Script
*
* Created by Ryoutarou Kishi on 2009/10/22.
* Copyright 2009 Altoterras Corporation. All rights reserved.
*
**//***********************************************************************/
#ifndef _ES_KWS... |
// Copyright 2018 Espressif Systems (Shanghai) PTE 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 applic... |
/* Copyright 2016 Codethink 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 agreed to ... |
/*
*
* Copyright 2020 Asylo 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... |
/*!The Treasure Box Library
*
* 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) 2008 The Board of Trustees of The Leland Stanford Junior University */
/* Copyright (c) 2011, 2012 Open Networking Foundation */
/* Copyright (c) 2012, 2013 Big Switch Networks, Inc. */
/* See the file LICENSE.loci which should have been included in the source distribution */
#ifdef __GNUC__
#ifdef __... |
/*
* DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/rel-2.0-xr-osx64-bld/build/xpcom/base/nsIDebug2.idl
*/
#ifndef __gen_nsIDebug2_h__
#define __gen_nsIDebug2_h__
#ifndef __gen_nsIDebug_h__
#include "nsIDebug.h"
#endif
/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#d... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.