text stringlengths 4 6.14k |
|---|
/*
Copyright 2010-2013 SourceGear, 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 writing, softwar... |
/*
* Copyright 2017 MongoDB, 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 ... |
//
// AppDelegate.h
// Soulscour
//
// Created by lanou on 16/10/27.
// Copyright © 2016年 lanou. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
|
/*
ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
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... |
/* 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... |
//
// PizzaPickupService.h
//
// Definition of the PizzaPickupService class.
//
// Copyright (c) 2006-2016, Applied Informatics Software Engineering GmbH.
// All rights reserved.
//
// SPDX-License-Identifier: GPL-3.0-only
//
#ifndef PizzaPickupService_INCLUDED
#define PizzaPickupService_INCLUDED
#include "Pizzeria... |
#include <stdio.h>
main () {
int A,B,C,D;
printf ("\n** CALCULAR UMA EQUACAO QUADRATICA ** \n");
printf ("\nQual o valor de A? ");
scanf ("%i",&A);
printf ("Qual o valor de B? ");
scanf ("%i",&B);
printf ("Qual o valor de C? ");
scanf ("%i",&C);
D = B * B - 4 * A * C;
p... |
/*
* Copyright 2013 David Farrell
*
* 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... |
////////////////////////////////////////////////////////////////////////////////
/// DISCLAIMER
///
/// Copyright 2014-2016 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... |
/*
** Authors: Simone Mutti <simone.mutti@unibg.it>
** Enrico Bacis <enrico.bacis@unibg.it>
**
** Copyright 2015, Università degli Studi di Bergamo
**
** 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 ... |
/*
* FreeModbus Libary: A portable Modbus implementation for Modbus ASCII/RTU.
* Copyright (c) 2006 Christian Walter <wolti@sil.at>
* 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. ... |
/* Copyright 2021 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 2012 Brian Ellis
*
* 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 ... |
//
// File: SequenceReader.h
// Purpose: Provides an abstract interface to an image sequence reader. Its
// initial purpose was to easily deal with both image sequences and
// videos in OpenCV using a unified interface to simplify client code.
// Author: Vlad Morariu
// Created: 2009-05-13
//
// Copyright (c) 200... |
#ifndef _ESBMC_SOLVERS_SMT_SMT_ARRAY_H_
#define _ESBMC_SOLVERS_SMT_SMT_ARRAY_H_
#include "smt_conv.h"
// Interface definition for array manipulation
class array_iface
{
public:
// This constructor makes this not qualify as an abstract interface, but
// meh.
array_iface(bool _b, bool inf) : supports_bools_in_ar... |
/*******************************************************************************
* Copyright 2017 MINRES Technologies GmbH
*
* 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:... |
/* -------------------------------------------------------------------------- */
/* Copyright 2002-2014, OpenNebula Project (OpenNebula.org), C12G Labs */
/* */
/* Licensed under the Apache License, Version 2.0 (the "License"); you may ... |
#if !defined(AFX_ROSTERNAMESSET_H__EC473CC1_5B18_11D2_839B_00400548A44F__INCLUDED_)
#define AFX_ROSTERNAMESSET_H__EC473CC1_5B18_11D2_839B_00400548A44F__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// RosterNamesSet.h : header file
//
//////////////////////////////////////////////////////////... |
/*
Noel Lopes is an Assistant Professor at the Polytechnic Institute of Guarda, Portugal
Copyright (C) 2009, 2010, 2011, 2012 Noel de Jesus Mendonça Lopes
This file is part of GPUMLib.
GPUMLib is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as p... |
#ifndef LIBERATION_SANS_20PT_H
#define LIBERATION_SANS_20PT_H
#include "fonts-tdf.h"
/* Font data for Liberation Sans 20pt */
extern const font_info_t liberation_sans_20pt_font_info;
#endif
|
/*=========================================================================
*
* 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... |
#pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
// Mono.Security.X509.X509Certificate
struct X509Certificate_t1623369439;
// System.Byte[]
struct ByteU5BU5D_t4260760469;
// System.String
struct String_t;
#include "mscorlib_System_... |
/* $NetBSD: sdmmcchip.h,v 1.4 2011/05/18 01:07:17 dyoung Exp $ */
/* $OpenBSD: sdmmcchip.h,v 1.3 2007/05/31 10:09:01 uwe Exp $ */
/*
* Copyright (c) 2006 Uwe Stuehler <uwe@openbsd.org>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provide... |
/**
* Appcelerator Titanium Mobile
* Copyright (c) 2010 by NodeACS, 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.
*/
#import... |
//
// WGMainViewController.h
// WeygoIPhone
//
// Created by muma on 2016/10/24.
// Copyright © 2016年 weygo.com. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface WGMainViewController : UITabBarController
- (void)openSideBarViewController;
- (void)closeSideBarViewController;
@end
|
#pragma once
#include <string>
#include <tuple>
#include <vector>
#include <boost/numeric/ublas/io.hpp>
#include <boost/numeric/ublas/matrix.hpp>
#include <boost/numeric/ublas/vector.hpp>
#include "pmlc/util/math/polynomial.h"
namespace pmlc::util::math {
class Matrix : public boost::numeric::ublas::matrix<Rationa... |
extern int v3p_netlib_dlatrs_(
char *uplo,
char *trans,
char *diag,
char *normin,
v3p_netlib_integer *n,
v3p_netlib_doublereal *a,
v3p_netlib_integer *lda,
v3p_netlib_doublereal *x,
v3p_netlib_doublereal *scale,
v3p_netlib_doublereal *cnorm,
v3p_netlib_integer *info,
v3p_netlib_ftnle... |
#include <stdio.h>
#include <stdlib.h>
#include "include/Status.h"
void heapAdjust(int h[], int s, int m)
{// 构建序列h[s, m]的堆(完全二叉树),堆顶h[1]为序列的最大值,s > 0
int rc = h[s];
for(int j = 2*s; j <= m; j *= 2)
{// 遍历一棵完全二叉树,j指向二叉树的左树
if((j < m) && (h[j] < h[j+1])) j++; //若右子树大于左子树,取右子树
if(rc > h[j]) break; //若根比子树大,不需要交换... |
#pragma once
#include <memory>
#include "envoy/common/pure.h"
namespace Envoy {
namespace Upstream {
/**
* A monitor for "passive" health check events that might happen on every thread. For example, if a
* special HTTP header is received, the data plane may decide to fast fail a host to avoid waiting
* for the f... |
/*=========================================================================
*
* 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
*
* ... |
// COMMON SETTINGS
// ----------------------------------------------------------------------------------------------
// These settings are used in both SW UART, HW UART and SPI mode
// ----------------------------------------------------------------------------------------------
#define BUFSIZE 1... |
#ifndef SEARCHABLE_H
#define SEARCHABLE_H
#include <QRegExp>
#include <QStringList>
#include "Subject.h"
class Searchable : public Subject
{
public:
virtual ~Searchable() {}
void Search(const QStringList& keywords,
const Qt::CaseSensitivity& caseSensitive,
QRegExp::PatternSyntax syntax = QRegEx... |
#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>
#include "codegen/il2cpp-codegen.h"
#include "mscorlib_System_Predicate_1_gen3781873254MethodDeclarations.h"
// System.Void System.Predicate... |
#pragma once
#include <libclient/net_cl_exports.h>
#include <libdariadb/meas.h>
#include <libdariadb/query.h>
#include <libdariadb/stat.h>
#include <libdariadb/timeutil.h>
#include <libdariadb/utils/async/locker.h>
#include <common/net_common.h>
#include <functional>
#include <memory>
#include <string>
namespace dari... |
#include <stdio.h>
int main(void){
int ni, nf, dez, cen, uni;
printf("Digite o número: ");
scanf("%d", &ni);
cen = ni / 100;
dez = (ni / 10) % 10;
uni = ni % 10;
nf = uni * 100 + dez * 10 + cen;
printf("O número invertido é %d\n", nf);
return 0;
}
|
//
// Copyright 2014, 2015 Razer 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... |
//
// MessageViewController.h
// 新浪微博
//
// Created by 郑雨鑫 on 15/11/10.
// Copyright © 2015年 郑雨鑫. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface MessageViewController : UITableViewController
@end
|
//
// smbBuffer.h
// test
//
// Created by trekvn on 4/13/17.
// Copyright © 2017 trekvn. All rights reserved.
//
#ifdef __OBJC__
#import <Foundation/Foundation.h>
/*!Hold a pointer and the size of its data
*/
typedef struct
{
void *data; /// Data pointed
size_t size; /// Size in byte of the po... |
/**
* Appcelerator Titanium Mobile
* Copyright (c) 2009-2011 by CascadeXmas, 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.
*... |
//
// FacadeAppDelegate.h
// Facade
//
// Created by Carlo Chung on 11/15/10.
// Copyright 2010 Carlo Chung. All rights reserved.
//
#import <UIKit/UIKit.h>
@class FacadeViewController;
@interface FacadeAppDelegate : NSObject <UIApplicationDelegate> {
UIWindow *window;
FacadeViewController *viewControlle... |
/*
* 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 2019 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 applicab... |
//
// HMAppDelegate.h
// 网易新闻
//
// Created by apple on 14-7-25.
// Copyright (c) 2014年 heima. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface HMAppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
|
/*
* Copyright (c) 2005-2006 Institute for System Programming
* Russian Academy of Sciences
* 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://w... |
//
// SAMMidViewController.h
#import <UIKit/UIKit.h>
@interface SAMMidViewController : UIViewController
@end
|
//
// WPCopyPath.h
// WinPaths
//
// Created by Timothy on 5/27/14.
// Copyright (c) 2014 Timothy Woodford.
//
// 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://w... |
// 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 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 Game Engine
//
// 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/li... |
/**
Atomix project, ORILIB_Interleaver48.c, TODO: insert summary here
Copyright (c) 2015 Stanford University
Released under the Apache License v2.0. See the LICENSE file for details.
Author(s): Manu Bansal
*/
#include <osl/inc/swpform.h>
#include <src/DSP_ifft16x16/c66/DSP_ifft16x16.h>
#include "ORILIB_t.h"
/** Tab... |
/*
Copyright 2016 Vanderbilt University
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... |
/*
* SPDX-FileCopyrightText: 2020-2022 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
#pragma once
#define IDF_PERFORMANCE_MIN_AES_CBC_THROUGHPUT_MBSEC 43
// SHA256 hardware throughput at 240MHz, threshold set lower than worst case
#define IDF_PERFORMANC... |
/*
* Copyright (c) 2018 <Carlos Chacón>
* 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 ... |
//
// AudioStreamer.h
// StreamingAudioPlayer
//
// Created by Matt Gallagher on 27/09/08.
// Copyright 2008 Matt Gallagher. All rights reserved.
//
// Permission is given to use this source code file, free of charge, in any
// project, commercial or otherwise, entirely at your risk, with the condition
// that a... |
//
// MGRepoCommitsViewModel.h
// MVVMGitHub
//
// Created by XingJie on 2017/6/16.
// Copyright © 2017年 xingjie. All rights reserved.
//
#import "MGViewModel.h"
extern NSString *const kRepoForKnowCommits;
extern NSString *const kSHAForKnowCommits;
@interface MGRepoCommitsViewModel : MGViewModel<MGTableViewModel... |
void MVM_mast_to_cu(MVMThreadContext *tc, MVMObject *mast, MVMObject *types, MVMRegister *res);
void MVM_mast_to_file(MVMThreadContext *tc, MVMObject *mast, MVMObject *types, MVMString *filename);
|
/*
* Copyright 2014 Nutiteq Llc. All rights reserved.
* Copying and using this code is allowed only according
* to license terms, as given in https://www.nutiteq.com/license/
*/
#ifndef _NUTI_MAPNIKVT_TILESYMBOLIZERFACTORY_H_
#define _NUTI_MAPNIKVT_TILESYMBOLIZERFACTORY_H_
#include "MapParser.h"
namespace Nuti {... |
/*
* Copyright (C) Igor Sysoev
* Copyright (C) Nginx, Inc.
*/
#ifndef _NGX_ARRAY_H_INCLUDED_
#define _NGX_ARRAY_H_INCLUDED_
#include <ngx_config.h>
#include <ngx_core.h>
typedef struct {
void *elts; //元素集合
ngx_uint_t nelts; //当前元素个数
size_t size; //元素大小
ngx_uint_t nalloc; //数组大... |
//
// MWBackgroundLayer.h
// TweaksDemo
//
// Created by Tudor Munteanu on 11/07/14.
// Copyright 2014 moWOW Studios. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "cocos2d.h"
@interface MWBackgroundLayer : CCLayer
+ (MWBackgroundLayer *)background;
@end
|
//=================================================================================================
/*!
// \file blaze/Math.h
// \brief Header file for the inclusion of the math module of the Blaze library
//
// Copyright (C) 2012-2017 Klaus Iglberger - All Rights Reserved
//
// This file is part of the Blaze libra... |
#include "pthread.h"
#include "util/memory.h"
struct thread_info
{
void *(*entry)(void *);
void *param;
};
static DWORD WINAPI entry_point(void *parameter)
{
struct thread_info *ti = (struct thread_info *) parameter;
ti->entry(ti->param);
free(ti);
return 0;
}
int pthread_attr_init(pthread_attr_t *attr)
{
/* ... |
/*
[BSD-style license for Stamina and Charisma]
* Copyright (c) 1997-2009, Sylvain Demongeot
* 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 th... |
#ifndef __MONO_NATIVE_MSCORLIB_SYSTEM_REFLECTION_TARGETEXCEPTION_H
#define __MONO_NATIVE_MSCORLIB_SYSTEM_REFLECTION_TARGETEXCEPTION_H
#include <mscorlib/System/mscorlib_System_ApplicationException.h>
#include <mscorlib/System/mscorlib_System_String.h>
#include <mscorlib/System/mscorlib_System_Exception.h>
#include <ms... |
/*
* Copyright (C) 2008 Apple 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 a... |
#include "stdlibrary.h"
extern "C" {
CONCEPT_DLL_API ON_CREATE_CONTEXT MANAGEMENT_PARAMETERS;
CONCEPT_FUNCTION(MSWRead)
CONCEPT_FUNCTION(MSWMeta)
}
|
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#pragma once
/**
* A level viewport toolbar widget that is placed in a viewport
*/
class UNREALED_API SViewportToolBar : public SCompoundWidget
{
public:
SLATE_BEGIN_ARGS( SViewportToolBar ){}
SLATE_END_ARGS()
void Construct( const FArguments& InArgs... |
#ifndef _MAINFRAME_H_
#define _MAINFRAME_H_
/* ----------------------------------------------------------------------------
* Copyright (C) 2009-2011 by egnite GmbH
* Copyright (C) 2005-2006 by egnite Software GmbH
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of th... |
/**
* @file
* @brief Tests array utilities.
*
* @date 14.03.11
* @author Nikolay Korotky
*/
#include <embox/test.h>
#include <stdint.h>
#include <util/array.h>
EMBOX_TEST_SUITE("util/array test");
/* Spread array unaligned head regression. */
/* Pointer size struct. */
struct unaligned {
void *foo;
};
/* D... |
/**
@file fragmentShader.h
@author Andrew Krause - contact@alienbug.net
@date 07.12.12
Wrapper for GLSL fragment shader
*/
#ifndef VISAGE_FRAGMENT_SHADER_H
#define VISAGE_FRAGMENT_SHADER_H
#include <glee.h>
#include <SFML/System.hpp>
#include <SFML/Window.hpp>
#include "resourceManager.h"
namesp... |
#pragma once
#include "Iop_Module.h"
#include "../ISO9660/ISO9660.h"
#include "zip/ZipArchiveWriter.h"
#include "zip/ZipArchiveReader.h"
class CIopBios;
namespace Iop
{
class CCdvdman : public CModule
{
public:
enum CDVD_STATUS
{
CDVD_STATUS_STOPPED = 0,
CDVD_STATUS_SPINNING = 2,
C... |
#ifndef ERRC_H_
#define ERRC_H_
enum {
SUCCESS = 0,
ERROR = 1,
POOL_MALLOC_ERROR= 100,
};
#endif /* ERRC_H_ */
|
/*
* Copyright (c) 2010-2011 Juli Mallett. 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 cond... |
/* JAMS
* (c) 2014 Justin Gottula
* The source code of this project is distributed under the terms of the
* simplified BSD license. See the LICENSE file for details.
*/
#ifndef JAMS_IO_STDFILE_H
#define JAMS_IO_STDFILE_H
#include "std.h"
void stdfile_open(void);
void stdfile_close(void);
#endif
|
/*
* This file is part of GPaste.
*
* Copyright (c) 2010-2018, Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
*/
#if !defined (__G_PASTE_H_INSIDE__) && !defined (G_PASTE_COMPILATION)
#error "Only <gpaste.h> can be included directly."
#endif
#ifndef __G_PASTE_CLIPBOARD_H__
#define __G_PASTE_CLIPBOARD_H__
#incl... |
/*
Bullet Continuous Collision Detection and Physics Library
Copyright (c) 2003-2006 Erwin Coumans http://continuousphysics.com/Bullet/
This software is provided 'as-is', without any express or implied warranty.
In no event will the authors be held liable for any damages arising from the use of this software.
P... |
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "MovieSceneObjectManager.h"
#include "SequencerPossessedObject.h"
#include "SequencerMovieSceneObjectManager.generated.h"
/**
* Movie scene object manager used by Sequencer.
*/
UCLASS(BlueprintType, MinimalAPI)
class USequencerMovi... |
#ifndef MYON_FMPLAYER_COMMON_H_INCLUDED
#define MYON_FMPLAYER_COMMON_H_INCLUDED
#include <stddef.h>
#include <stdbool.h>
void *fmplayer_load_data(const char *name, size_t size);
struct fmdriver_work;
struct ppz8;
struct opna;
struct opna_timer;
void fmplayer_init_work_opna(
struct fmdriver_work *work,
struct ppz... |
/* 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... |
/* Copyright (c) 1985-2012, B-Core (UK) Ltd
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 foll... |
/*
* Copyright (C) Yichun Zhang (agentzh)
*/
#ifndef DDEBUG
#define DDEBUG 0
#endif
#include "ddebug.h"
#include <ngx_core.h>
#include <ngx_http.h>
#include "ngx_http_drizzle_quoting.h"
ngx_int_t
ngx_http_drizzle_check_int(ngx_str_t *value, void *data)
{
/* TODO */
return NGX_OK;
... |
/*
* Copyright (c) 2013 Ambroz Bizjak
* 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... |
/* IDT */
#define IDT_ENTRY_MAX 128
#define IDT_FLAGS_NONE 0x0
#define IDT_FLAGS_VALID 0x1
#define IDT_FLAGS_ENABLE 0x2
/* GCI */
#define IDT_GCI_START_NUM 5
#define IDT_GCI_KMC_NUM (IDT_GCI_START_NUM + GCI_KMC_NUM)
/* DPS */
#define IDT_DPS_UTIM64_NUM 36
#define IDT_DPS_LS_NUM 37
/* FAULT */
#define IDT_PAGEFAULT_NU... |
/*
* Copyright (c) 2014 Jos Kuijpers. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of condition... |
struct KeypointMatchEntry
{
int index;
string file;
int x;
int y;
vector<float> descriptor;
};
struct DepthImage
{
static vec3f makePt(int x, int y, float depth);
void load(const string &filename);
void filter();
void saveDebug();
void makePointCloud();
Grid2f rawDepths;
Grid2f smoothDepths;
Grid2<vec3f... |
#pragma once
#include <vector>
#include <ncs/sim/DeviceDescription.h>
namespace ncs {
namespace sim {
class MachineDescription {
public:
MachineDescription(const std::vector<DeviceDescription*>& devices);
const std::vector<DeviceDescription*>& getDevices() const;
static MachineDescription* getThisMachine(unsi... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "intellibot.h"
void usage(char *path)
{
fprintf(stderr, "USAGE: %s <db>\n", path);
exit(1);
}
int main(int argc, char *argv[])
{
INTELLIBOT *bot;
ROW *rows, *row;
COLUMN *column;
if (argc != 2)
us... |
#ifndef GENETIC_REGION_H_
#define GENETIC_REGION_H_
#include "genetic_mapping.h"
#include <boost/geometry/geometries/point.hpp>
#include <boost/geometry/geometries/box.hpp>
namespace bg = boost::geometry;
class genetic_region : public genetic_mapping {
public:
typedef pos_t coord_t;
typedef bg::model::poin... |
#ifndef EXTENSION_H_
#define EXTENSION_H_
#include <openssl/x509.h>
#include <openssl/x509v3.h>
#include <libcryptosec/Base64.h>
#include "ObjectIdentifier.h"
#include "ObjectIdentifierFactory.h"
#include <libcryptosec/exception/CertificationException.h>
class Extension
{
public:
enum Name
{
UNKNOWN,
KEY_USA... |
// Copyright 2018 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 ASH_ASSISTANT_UI_DIALOG_PLATE_MIC_VIEW_H_
#define ASH_ASSISTANT_UI_DIALOG_PLATE_MIC_VIEW_H_
#include "ash/assistant/model/assistant_interaction_m... |
//
// Megalog.h
// eXplora MuSe
//
// Created by Nicolò Tosi on 7/17/13.
// Copyright (c) 2013 MobFarm. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "DDLog.h"
#if DEBUG
static const int ddLogLevel = LOG_LEVEL_VERBOSE;
#else
// TODO: change this when we can deploy safely
// static const int dd... |
// Copyright (c) 2013 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_TEST_CHROMEDRIVER_CHROME_PERFORMANCE_LOGGER_H_
#define CHROME_TEST_CHROMEDRIVER_CHROME_PERFORMANCE_LOGGER_H_
#include "base/basictypes... |
///////////////////////////////////////////////////////////////////////////////
// Name: SherpaEvent.h
// Purpose:
// Author: Joe Yates
// Modified by:
// Created: 11/10/2004
// RCS-ID: $Id: SherpaEvent.h,v 1.1.1.1 2006/01/24 22:13:19 titusd Exp $
// Copyright: (c) BID Snc
// License: BS... |
/*****************************************************************************
Copyright (c) 2011, Intel Corp.
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 cod... |
#include "code.h"
/**
* Returns whether or not the Code is a termination code.
*/
int is_termination_code(const Code code) { return code == CODE_QUIT || code == CODE_CLOSE; }
|
/*
* ARC++
*
* Copyright (c) 2007-2008 Steven Noonan.
*
* Licensed under the New BSD License.
*
*/
#ifndef __included_soundsystem_openal_h
#define __included_soundsystem_openal_h
#ifdef USE_OPENAL
#ifdef TARGET_OS_WINDOWS
# include <al.h>
# include <alc.h>
#elif defined(TARGET_OS_MACOSX)
# include ... |
/**
* Copyright (c) 2015-present, Horcrux.
* All rights reserved.
*
* This source code is licensed under the MIT-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#import "ABI38_0_0RNSVGRenderableManager.h"
@interface ABI38_0_0RNSVGRectManager : ABI38_0_0RNSVGRenderableMana... |
// 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_APP_CHROME_CRASH_REPORTER_CLIENT_WIN_H_
#define CHROME_APP_CHROME_CRASH_REPORTER_CLIENT_WIN_H_
#include "base/macros.h"
#include "componen... |
/*-
* Copyright (c) 2013 Nathan Whitehorn
* 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 co... |
#ifndef TRAJECTORY_H
#define TRAJECTORY_H
#include <ros/assert.h>
#include <serializable/serializable.h>
#include <eigen_extensions/eigen_extensions.h>
namespace clams
{
class Trajectory : public Serializable
{
public:
Trajectory() {}
//! Deep copy
Trajectory(const Trajectory& other);
//! Dee... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE78_OS_Command_Injection__wchar_t_connect_socket_system_66b.c
Label Definition File: CWE78_OS_Command_Injection.one_string.label.xml
Template File: sources-sink-66b.tmpl.c
*/
/*
* @description
* CWE: 78 OS Command Injection
* BadSource: connect_socket Read data... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.