text stringlengths 9 948k |
|---|
#pragma once
#include "LabelFrame.h"
#include "Localisation/StringManager.h"
#include "Map/Tile.h"
#include "Speed.hpp"
#include "Types.hpp"
#include "Utility/Numeric.hpp"
#include <cstdint>
#include <limits>
namespace OpenLoco
{
using namespace OpenLoco::Map;
namespace StationId
{
constexpr Stat... |
/*
* This file is part of AtomVM.
*
* Copyright 2019 Fred Dushin <fred@dushin.net>
*
* 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
... |
#include <stdio.h>
#include "stm8s.h"
#include "stm8s_it.h"
// TEST LED between vcc and PB5, no use
// Oscilloscope on PA3
// UART1_TX on PD5
// UART1_RX on PD6
// I2C SDA on PB5
// I2C SCL on PB4
#define delay(a) { TIM4_tout = a; while(TIM4_tout); }
#define tout() (TIM4_tout)
#define set_tout_ms(... |
/* The file is part of Snowman decompiler. */
/* See doc/licenses.asciidoc for the licensing information. */
#pragma once
//#include <nc/config.h>
#include <nc/core/arch/CapstoneInstruction.h>
namespace nc {
namespace arch {
namespace arm {
typedef core::arch::CapstoneInstruction<CS_ARCH_ARM, 4> ArmInstruction;
}... |
// 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 FLUTTER_SHELL_GPU_GPU_SURFACE_SOFTWARE_H_
#define FLUTTER_SHELL_GPU_GPU_SURFACE_SOFTWARE_H_
#include "flutter/fml/memory/weak_ptr.h"
#include "fl... |
/* Portions copyright (c) Facebook, Inc. and its affiliates. (http://www.facebook.com) */
#include "Python.h"
#include "structmember.h"
#include "weakrefobject.h"
#include "pycore_pyerrors.h"
/** facebook: USDT import */
#include "Include/folly/tracing/StaticTracepoint.h"
/*[clinic input]
module _asyncio
[clinic star... |
// Copyright (c) Facebook, Inc. and its affiliates. All rights reserved.
#ifndef PULSAR_NATIVE_CAMERA_H_
#define PULSAR_NATIVE_CAMERA_H_
#include <tuple>
#include "../global.h"
#include "../include/camera.h"
namespace pulsar {
namespace pytorch {
inline void fill_cam_vecs(
const torch::Tensor& pos_vec,
cons... |
/********************************************************************************
** Form generated from reading UI file 'sendmessagesdialog.ui'
**
** Created by: Qt User Interface Compiler version 5.5.1
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************... |
// Provides an efficient blocking version of moodycamel::ConcurrentQueue.
// ©2015 Cameron Desrochers. Distributed under the terms of the simplified
// BSD license, available at the top of concurrentqueue.h.
// Uses Jeff Preshing's semaphore implementation (under the terms of its
// separate zlib license, embedded belo... |
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 8.00.0613 */
/* @@MIDL_FILE_HEADING( ) */
/* verify that the <rpcndr.h> version is high enough to compile this file*/
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 5... |
#ifndef PIXELPART_FORCEFIELD_H
#define PIXELPART_FORCEFIELD_H
#include "PixelpartEffectResource.h"
#include "PixelpartCurve.h"
#include "PixelpartPath.h"
#include "ForceField.h"
#include "ParticleEngine.h"
#include <Godot.hpp>
#include <Reference.hpp>
namespace godot {
class PixelpartForceField : public Reference {
... |
//============================================================================
// Copyright (c) Kitware, Inc.
// All rights reserved.
// See LICENSE.txt for details.
// This software is distributed WITHOUT ANY WARRANTY; without even
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURPOSE... |
/*
* Editor main frame header
*
* This file is part of the "ForkENGINE" (Copyright (c) 2014 by Lukas Hermanns)
* See "LICENSE.txt" for license information.
*/
#ifndef __FORK_EDITOR_MAIN_FRAME_H__
#define __FORK_EDITOR_MAIN_FRAME_H__
#include "../../EditorView.h"
#include "IO/FileSystem/File.h"
#include <wx/fr... |
/*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be use... |
#include <stdio.h>
int add(int a, int b){
return a + b;
}
int sub(int a, int b){
return a - b;
}
int twice(int a){
return add(a,a);
}
int multiply(int a, int b){
return a*b;
}
int divide(int a, int b){
int res = a/b;
return res;
}
int decide(int a, int b, char mode){
int (*operator)... |
#include<stdio.h>
#include <sys/types.h>
#include <unistd.h>
void main(void)
{
fork();
fork();
fork();
printf("Hello world\n");
} |
//
// toolbox.h:
//
// Tools header for sbb_reg
//
// (20060211-20060924, cearn)
//
// === NOTES ===
// * This is a _small_ set of typedefs, #defines and inlines that can
// be found in tonclib, and might not represent the
// final forms.
#ifndef TOOLBOX_H
#define TOOLBOX_H
// === (tonc_types.h) ===========... |
#pragma once
namespace ChrTrcProfiler
{
namespace ChrTrcCompileTimeStr
{
/// @brief a simple class responsible for concatenating string literals at compile time.
/// in order to quickly concatenate compiletime strings, see the operator+(CTStr, CTStr)
/// @tparam the length of the string
template<size_t N>
... |
// Copyright 2015 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#ifndef CORE_FXCODEC_JBIG2_JBIG2_SDDPROC_H_
#define CORE_FXCODEC_JBIG2_JBIG2_S... |
// Copyright 2017 The Ray 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 agreed to i... |
#include "raylib.h"
#include "rlButton.h"
int main(void)
{
InitWindow(800,800,"rlButton Demo");
rlButton button = {
(Rectangle){800/2-120,800/2,250,100},
"Click Me :D"};
rlMouseCollider mouse = NewMouseCollider(0,0);
bool buttonPressed = false;
bool buttonHovered = false;
bool debug... |
/******************************************************************************
*
* Project: OpenCPN
* Purpose: Climatology Plugin
* Author: Sean D'Epagnier
*
***************************************************************************
* Copyright (C) 2013 by Sean D'Epagnier ... |
/**************************************************************************
*
* Copyright 2007 VMware, 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 w... |
/*
* FreeRTOS V202012.00
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. 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 without restriction, including ... |
#ifndef __CROP_OBSERVER_H__
#define __CROP_OBSERVER_H__
#include "singleton/GuiDescription.h"
#include "action/CreateInternalPlot.h"
class CropObserver {
public:
/*-----------------------------------------------------------------------*/
CropObserver() {
auto builder = GuiDescription::get_instance(... |
#ifndef __OBPF_H
#define __OBPF_H
#define TASK_COMM_LEN 16
#define MAX_FILENAME_LEN 127
struct event {
int pid;
int ppid;
unsigned exit_code;
unsigned long long duration_ns;
char comm[TASK_COMM_LEN];
char filename[MAX_FILENAME_LEN];
bool exit_event;
};
#endif /* __OBPF_H */ |
/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public Lic... |
/*
* This header is generated by classdump-dyld 1.5
* on Wednesday, April 28, 2021 at 9:02:27 PM Mountain Standard Time
* Operating System: Version 14.5 (Build 18L204)
* Image Source: /System/Library/PrivateFrameworks/GeoService... |
/******************************************************************************
*
* Module Name: aslload - compiler namespace load callbacks
*
*****************************************************************************/
/******************************************************************************
*
* 1. Copy... |
#import <UIKit/UIKit.h>
#import <QuartzCore/QuartzCore.h>
@interface UINavigationController (Transition)
- (void)pushViewController:(UIViewController *)toViewController
duration:(NSTimeInterval)duration
prelayouts:(void (^)(UIView *fromView, UIView *toView))preparation
... |
int bb0 (void)
{
return 0;
} |
/*
* This header is generated by classdump-dyld 1.5
* on Wednesday, April 28, 2021 at 9:07:21 PM Mountain Standard Time
* Operating System: Version 14.5 (Build 18L204)
* Image Source: /System/Library/PrivateFrameworks/VideoProce... |
// Copyright (c) 2012-2017, The CryptoNote developers, The Bytecoin developers
//
// This file is part of Bytecoin.
//
// Bytecoin 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 version 3 of t... |
/* Copyright (c) 2015 Ryan Castellucci, All Rights Reserved */
#define _LARGEFILE_SOURCE
#define _LARGEFILE64_SOURCE
#define DISABLE_LINUX_HUGEPAGES 1
#include <unistd.h>
#include <string.h>
#include <fcntl.h>
#include <stdlib.h>
#include <stdio.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
#incl... |
//
// Generated by classdumpios 1.0.1 (64 bit) (iOS port by DreamDevLost)(Debug version compiled Jun 10 2020 10:03:13).
//
// Copyright (C) 1997-2019 Steve Nygard.
//
#pragma mark Blocks
typedef void (^CDUnknownBlockType)(void); // return type and parameters are unknown
#pragma mark Named Structures
struct NSM... |
/****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the QtCore module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Licensees holding valid commer... |
/*
* Copyright (c) 2020 Cisco and/or its affiliates.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicabl... |
#pragma once
#include "../../Util/ShaderStructs.h"
#ifdef HLSL
RWTexture2D<float4> g_Normals : register(u0);
RWTexture2D<float4> g_BaseColors : register(u1);
RaytracingAccelerationStructure g_BVH : register(t0);
StructuredBuffer<RayTraceMeshInfo> g_MeshInfo : register(t1);
ByteAddressBuffer g_Indices : register(t2)... |
/******************************************************************************
MRF24W Driver RAW driver
Module for Microchip TCP/IP Stack
-Provides access to MRF24W WiFi controller
-Reference: MRF24W Data sheet, IEEE 802.11 Standard
******************************************************************************... |
/*
Copyright (C) 2014, The University of Texas at Austin
This file is part of libflame and is available under the 3-Clause
BSD license, which can be found in the LICENSE file at the top-level
directory, or at http://opensource.org/licenses/BSD-3-Clause
*/
#include "FLAME.h"
#define FLA_ALG_REFERENCE... |
/*
* Copyright 2002-2014 the original author or 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
*
* CC/LICENSE
*
* Unless required by applicable law or agreed to in wri... |
/*
* This file is part of the CMaNGOS Project. See AUTHORS file for Copyright information
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your o... |
#include "stdlib.h"
#include "stdio.h"
#include "/home/lillian/work/install_fpdebug/valgrind-3.7.0/fpdebug/fpdebug.h"
#include <gsl/gsl_sf.h>
int main(int argc, const char * argv[]) {
unsigned long int hexdouble;
double a;
sscanf(argv[1], "%lX", &hexdouble);
a = *(double*)(&hexdouble);
double result = gsl_sf_transport_... |
/*
* c64exp-resources.h
*
* Written by
* Andreas Boose <viceteam@t-online.de>
*
* This file is part of VICE, the Versatile Commodore Emulator.
* See README for copyright notice.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License a... |
/* ------------------------------------------
* Copyright (c) 2018, Synopsys, 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 copyr... |
/*
* This header is generated by classdump-dyld 1.5
* on Tuesday, November 10, 2020 at 10:11:41 PM Mountain Standard Time
* Operating System: Version 14.2 (Build 18K57)
* Image Source: /System/Library/PrivateFrameworks/CoreUI.fr... |
// Copyright (C) 2007 Davis E. King (davis@dlib.net)
// License: Boost Software License See LICENSE.txt for the full license.
#ifndef DLIB_SOLVE_QP2_USING_SMo_H__
#define DLIB_SOLVE_QP2_USING_SMo_H__
#include "optimization_solve_qp2_using_smo_abstract.h"
#include <cmath>
#include <limits>
#include <sstream>
#includ... |
/*
# _____ ___ ____ ___ ____
# ____| | ____| | | |____|
# | ___| |____ ___| ____| | \ PS2DEV Open Source Project.
#-----------------------------------------------------------------------
# Copyright (c) 2003 Marcus R. Brown <mrbrown@0xd6.org>
# Licenced under Academic Free License... |
// Copyright (c) 2004-2005 INRIA Sophia-Antipolis (France).
// Copyright (c) 2010 GeometryFactory Sarl (France)
// All rights reserved.
//
// This file is part of CGAL (www.cgal.org).
//
// $URL: https://github.com/CGAL/cgal/blob/releases/CGAL-5.0.2/Mesh_2/include/CGAL/Mesh_2/Clusters.h $
// $Id: Clusters.h 254d... |
// 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... |
#pragma once
#include <RingBuffer.h>
#include "Oeipffmpeg.h"
#include "OeipFree.h"
#define OEIP_AR_BUFFER_SIZE 64*1024
//限定非P格式的PCM数据,输入输出用一层指针就行,简单来说,只是针对采集设备
class AudioResample
{
public:
AudioResample();
~AudioResample();
private:
OeipAudioDesc sour = {};
OeipAudioDesc dest = {};
int32_t sourBlockAlign = 0;
... |
// Copyright 2012 the V8 project 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 V8_AST_AST_H_
#define V8_AST_AST_H_
#include <memory>
#include "src/ast/ast-value-factory.h"
#include "src/ast/modules.h"
#include "src/ast/va... |
/*
* This header is generated by classdump-dyld 1.0
* on Tuesday, November 5, 2019 at 2:38:50 AM Mountain Standard Time
* Operating System: Version 13.0 (Build 17J586)
* Image Source: /System/Library/PrivateFrameworks/AppStoreDaemon.framework/Support/appstored
* classdump-dyld is licensed under GPLv3, Copyright © 2013-... |
// 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_RENDERER_AUTOFILL_FAKE_CONTENT_PASSWORD_MANAGER_DRIVER_H_
#define CHROME_RENDERER_AUTOFILL_FAKE_CONTENT_PASSWORD_MANAGER_DRIVER_H_
#includ... |
#include <msp430.h>
#include "battery.h"
static battery_t* battery;
void battery_init(battery_t* bat) {
battery = bat;
/* Configure ADC10 with:
* Vcc/Vss reference
* 64x ADC10CLK cycles per conversion
* 50ksps reference buffer
* continuous conversion
* turn on the ADC10
*/
... |
/*
* Copyright (c) 2013-2014 Apple Inc. All Rights Reserved.
*
* @APPLE_LICENSE_HEADER_START@
*
* This file contains Original Code and/or Modifications of Original Code
* as defined in and that are subject to the Apple Public Source License
* Version 2.0 (the 'License'). You may not use this file except in
* co... |
#include <string>
const std::string& VERSION = "5.0"; |
/*--------------------------------------------------------------------------
Copyright (c) 2009,2011 The Linux Foundation. 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 ... |
/* Copyright (C) 2012-2017 IBM Corp.
* This program is 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) 2004-2020 Microchip Technology Inc. and its subsidiaries.
// SPDX-License-Identifier: MIT
#include <microchip/ethernet/phy/api.h>
#include <microchip/ethernet/switch/api.h>
#define MEPA_RC(expr) { mesa_rc __rc__ = (expr); if (__rc__ < MESA_RC_OK) return __rc__; }
#define true 1
#define false 0
typed... |
/*
* wpa_supplicant - WPA definitions
* Copyright (c) 2003-2007, Jouni Malinen <j@w1.fi>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* Alternatively, this software may ... |
#define PY_SSIZE_T_CLEAN
#include <Python.h>
#include "sundown/html.h"
struct renderopt {
struct html_renderopt html;
void *self;
};
extern struct sd_callbacks callback_funcs;
extern const char *method_names[];
extern const size_t method_count; |
//
// shoppingCarViewController.h
// zmu_ceshi
//
// Created by lee on 2017/12/22.
// Copyright © 2017年 Libiyong. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface shoppingCarViewController : UIViewController
@end |
//=================================================================================================
/*!
// \file blazemark/boost/Mat6Mat6Mult.h
// \brief Header file for the Boost 6D matrix/matrix multiplication kernel
//
// Copyright (C) 2013 Klaus Iglberger - All Rights Reserved
//
// This file is part of the Bla... |
#pragma once
#include <memory>
#include <string>
#include <unordered_map>
#include <utility>
#include "catalog/catalog.h"
#include "common/action_context.h"
#include "common/dedicated_thread_registry.h"
#include "common/managed_pointer.h"
#include "messenger/messenger.h"
#include "metrics/metrics_thread.h"
#include "... |
/*
* This file and its contents are licensed under the Apache License 2.0.
* Please see the included NOTICE for copyright information and
* LICENSE-APACHE for a copy of the license.
*/
#include <postgres.h>
#include <access/genam.h>
#include <access/heapam.h>
#include <access/htup_details.h>
#include <access/htup.h... |
// stb_c_lexer.h - v0.09 - public domain Sean Barrett 2013
// lexer for making little C-like languages with recursive-descent parsers
//
// This file provides both the interface and the implementation.
// To instantiate the implementation,
// #define STB_C_LEXER_IMPLEMENTATION
// in *ONE* source file, before #incl... |
// Copyright (c) 2012 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 ANDROID_WEBVIEW_BROWSER_AW_CONTENTS_H_
#define ANDROID_WEBVIEW_BROWSER_AW_CONTENTS_H_
#include <jni.h>
#include <list>
#include <memory>
#in... |
/*
* Copyright (c) 2017, Intel Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* the rights to use, copy, modify, merge, ... |
#pragma once
#include<string>
#include "textbox.h"
#include "logger.h"
class App; // forward declaration
class HelpScreen {
public:
HelpScreen(SDL_Renderer *, TTF_Font *, Logger *);
~HelpScreen() {}
void events(const SDL_Event *);
void update(App *);
void render(SDL_Renderer *);
private:
... |
/***************************************************************************//**
* @file
* @brief Network - Http Server Authentication Add-On
*******************************************************************************
* # License
* <b>Copyright 2018 Silicon Laboratories Inc. www.silabs.com</b>
***************... |
/*
* FreeModbus Libary: STR71x Port
* Copyright (C) 2006 Christian Walter <wolti@sil.at>
*
* 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
* version 2.1 of the License, or (... |
// -*- C++ -*-
//=============================================================================
/**
* @file LF_Strategy.h
*
* $Id: LF_Strategy.h 74014 2006-08-14 13:52:22Z johnnyw $
*
* @author Carlos O'Ryan <coryan@uci.edu>
*/
//=============================================================================
#i... |
// 0x0E0004E0
const GeoLayout geo_bitdw_0004E0[] = {
GEO_CULLING_RADIUS(2400),
GEO_OPEN_NODE(),
GEO_DISPLAY_LIST(LAYER_OPAQUE, bitdw_seg7_dl_0700A368),
GEO_CLOSE_NODE(),
GEO_END(),
}; |
//---------------------------------------------------
// Name: OpenNero : IrrSerialize
// Serialization functions for Irr things
//---------------------------------------------------
#ifndef _CORE_IRRLICHT_SERIALIZE_H_
#define _CORE_IRRLICHT_SERIALIZE_H_
#include <tinyxml.h> // keeps TinyXML from complaining abou... |
#ifndef Rose_FindRegisterDefs_H
#define Rose_FindRegisterDefs_H
#include "x86InstructionSemantics.h"
#include "integerOps.h"
#include "Registers.h"
/** A policy for x86InstructionSemantics.
*
* This policy keeps track of which registers (or parts of registers) are initialized. */
namespace FindRegisterDefs {
/**... |
#ifndef __INCLUDE_NUTTX_VERSION_H
#define __INCLUDE_NUTTX_VERSION_H
#define CONFIG_VERSION_STRING "7.8"
#define CONFIG_VERSION_MAJOR 7
#define CONFIG_VERSION_MINOR 8
#define CONFIG_VERSION_BUILD "0"
#define CONFIG_VERSION ((CONFIG_VERSION_MAJOR << 8) | (CONFIG_VERSION_MINOR))
#endif /* __INCLUDE_NUTTX_VERSION_H */ |
// SPDX-License-Identifier: GPL-2.0-only
/* Copyright(c) 2021 Intel Corporation. All rights reserved. */
#include <cxl.h>
#include "test/mock.h"
#include <core/core.h>
int match_nvdimm_bridge(struct device *dev, const void *data)
{
int index, rc = 0;
struct cxl_mock_ops *ops = get_cxl_mock_ops(&index);
const struct... |
/*-----------------------------------------------------------
Name: fisp
Author: fisper@163.com
Date: 2016.12
Copyright (c). All rights reserved.
------------------------------------------------------------*/
#pragma once
#include "scenedata.h"
#include "hwif.h"
namespace fisp
{
namespace share
{
class IMeshRe... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#pragma once
#include <cstring>
#define END (char)(-1)
class CommandLineOptions
{
public:
CommandLineOptions(int argc, char **argv, const char *opts) : m_argc(argc), m_sp(1), m_optind(1), m_argv(argv), m_opts(opts),
m_optarg(nullptr) {};
... |
/*
Copyright (c) 2015 Shaps Mohsenin. 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 f... |
/*
* WPA Supplicant / SSL/TLS interface functions for no TLS case
* Copyright (c) 2004, Jouni Malinen <j@w1.fi>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* Alternativ... |
/* laplace/graphics/utils.h
*
* Copyright (c) 2021 Mitya Selivanov
*
* This file is part of the Laplace project.
*
* Laplace is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
* th... |
/* Copyright 2021 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 ... |
/*******************************************************************************
* This file was generated by UI Builder.
* This file will be auto-generated each and everytime you save your project.
* Do not hand edit this file.
********************************************************************************/
#ifn... |
/*
* This file is part of F.A.T.E - the Fight And Travel game Engine.
* Copyright (c) 2015-2016 Yoan Lecoq (yoanlecoq.io at gmail.com)
*
* 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 softw... |
// Copyright (c) 2008 Max-Planck-Institute Saarbruecken (Germany).
// All rights reserved.
//
// This file is part of CGAL (www.cgal.org); 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 version 3 of the License... |
// main.h
/* Copyright(c) Vector Informatik GmbH.All rights reserved.
Licensed under the MIT license.See LICENSE file in the project root for details. */
#ifndef __MAIN_H_
#define __MAIN_H_
// Windows or Linux ?
#if defined(_WIN32) || defined(_WIN64)
#define _WIN
#if defined(_WIN32) && defined(_WIN64)
#u... |
/** @file
Main file for endfor and for shell level 1 functions.
(C) Copyright 2015 Hewlett-Packard Development Company, L.P.<BR>
Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of... |
// Copyright (c) 2012-2016, The CryptoNote developers, The Bytecoin developers
//
// This file is part of Karbo.
//
// Karbo 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 version 3 of the Lic... |
#include "stdio.h"
// secure_strncpy( destination array,
// size of destination array,
// copied string )
char * secure_strncpy(char *dst, size_t sizeDst, const char *src )
{
size_t lenSrc = strlen(src);
// is copied string shorter than destination?
if ( sizeDst > lenSrc )
{
ds... |
/***************************************************************************
* Original Diku Mud copyright (C) 1990, 1991 by Sebastian Hammer, *
* Michael Seifert, Hans Henrik St{rfeldt, Tom Madsen, and Katja Nyboe. *
* *
* Merc Diku Mud improvments copyright (C) 1992, 1993 by Michael *
* Ch... |
#include <sciTests.h>
#include <CUnit/CUnit.h>
#include <sci.h>
#include <sci_telegram_factory.h>
#include <rmemory.h>
void testEncode(){
unsigned char expected_telegram[] = {
0x30,
0x00, 0x11,
0x61, 0x62, 0x5F, 0x5F, 0x5F, 0x5F, 0x5F, 0x5F, 0x5F, 0x5F, 0x5F, 0x5F, 0x5F, 0x5F, ... |
/************************************************************************************
Filename : VrApi_Helpers.h
Content : Pure, stateless, inlined helper functions, used to initialize
parameters to the VrApi.
Created : March 2, 2015
Authors : J.M.P. van Waveren
Language : C... |
/**
* Copyright 2019-2020 Huawei Technologies Co., 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 applicabl... |
/*
* CMAC
* (C) 1999-2007,2014 Jack Lloyd
*
* Botan is released under the Simplified BSD License (see license.txt)
*/
#ifndef BOTAN_CMAC_H_
#define BOTAN_CMAC_H_
#include <botan/mac.h>
#include <botan/block_cipher.h>
BOTAN_FUTURE_INTERNAL_HEADER(cmac.h)
namespace Botan {
/**
* CMAC, also known as OMAC1
*/
class BO... |
/* $OpenBSD: destruct.c,v 1.9 2016/01/07 14:37:51 mestre Exp $ */
/* $NetBSD: destruct.c,v 1.3 1995/04/22 10:58:44 cgd Exp $ */
/*
* Copyright (c) 1980, 1993
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, ... |
/*----------------------------------------------------------------------------
* File: ooaofooa_DOC_PAR_class.h
*
* Class: paragraph (DOC_PAR)
* Component: ooaofooa
*
* your copyright statement can go here (from te_copyright.body)
*-----------------------------------------------------------------------... |
//
// GADNativeAdImage+Mediation.h
// Google Mobile Ads SDK
//
// Copyright 2015 Google. All rights reserved.
//
#import <GoogleMobileAds/GADNativeAdImage.h>
#import <GoogleMobileAds/GoogleMobileAdsDefines.h>
GAD_ASSUME_NONNULL_BEGIN
/// Provides additional GADNativeAdImage initializers.
@interface GADNativeAdIma... |
//
// MCAppDelegate.h
// MiracastSDK
//
// Created by Kun Wang on 08/30/2018.
// Copyright (c) 2018 Kun Wang. All rights reserved.
//
@import UIKit;
@interface MCAppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.