text stringlengths 9 948k |
|---|
#ifndef __MODULE_TIMER_H__
#define __MODULE_TIMER_H__
#include "Module.h"
class ModuleTimer : public Module
{
public:
ModuleTimer(const char* name, bool start_enabled = true);
~ModuleTimer();
bool Init();
update_status PreUpdate();
float GetDeltaTime()const;
private:
INT64 frequency;
float ticks_per_ms;
IN... |
/***************************************************************************
Copyright (c) 2020-2021 Lars Wessels
This file a part of the "CO2-Ampel" source code.
https://github.com/lrswss/co2ampel
Published under Apache 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... |
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
* Copyright 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* Export of this software from the United States of America may
* require a specific license from the United States Government.
* It is the responsibility ... |
#ifndef PS2KB_H_58kqNZE1lPLHABnbSkX5nULKeZvzrV8u
#define PS2KB_H_58kqNZE1lPLHABnbSkX5nULKeZvzrV8u
#include <stdint.h>
enum keyboard_layout {
KEYBOARD_LAYOUT_QWERTY,
KEYBOARD_LAYOUT_COLEMAK,
};
void init_ps2_keyboard(enum keyboard_layout layout);
void ps2_key_event(uint8_t scancode);
enum keycode {
... |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/sagemaker/SageMaker_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResu... |
/*
* Copyright 2016 xyzxqs (xyzxqs@gmail.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 applicable law or... |
//
// ReleaseModel.h
// ReleaseManager
//
// Created by Lomtev on 20.05.2019.
// Copyright © 2019 Александр Ломтев. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "ReleaseNetworkService.h"
#import "ReleaseViewDelegate.h"
#import "AppDelegate.h"
@import CoreData;
NS_ASSUME_NONNULL_BEGIN
/**
К... |
/*
* This header is generated by classdump-dyld 1.0
* on Saturday, June 1, 2019 at 6:43:20 PM Mountain Standard Time
* Operating System: Version 12.1.1 (Build 16C5050a)
* Image Source: /System/Library/Frameworks/AVFoundation.framework/AVFoundation
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias... |
/* $NetBSD: atomic_op_asm.h,v 1.6 2011/01/17 18:11:09 joerg Exp $ */
/*-
* Copyright (c) 2007 The NetBSD Foundation, Inc.
* All rights reserved.
*
* This code is derived from software contributed to The NetBSD Foundation
* by Jason R. Thorpe.
*
* Redistribution and use in source and binary forms, with or withou... |
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
int main(int argc, char *argv[])
{
if (argc != 2) {
return 2;
}
char *key = (char *) malloc(0x20);
strncpy (key, "f222e18ee5a3d7bf8c47e055d47b8830", 0x20);
for (int i = 0; i < 0x20; i++) {
if (argv[1][i] != key[i])
return 0;
}
printf ("You win... |
#include "syslib.h"
int sys_vmctl(endpoint_t who, int param, u32_t value)
{
message m;
int r;
m.SVMCTL_WHO = who;
m.SVMCTL_PARAM = param;
m.SVMCTL_VALUE = value;
r = _kernel_call(SYS_VMCTL, &m);
return(r);
}
/* Get page directory base register */
int sys_vmctl_get_pdbr(endpoint_t who, u32_t *pdbr)
{
... |
/*
*
Copyright 1990, 1998 The Open Group
Permission to use, copy, modify, distribute, and sell this software and its
documentation for any purpose is hereby granted without fee, provided that
the above copyright notice appear in all copies and that both that
copyright notice and this permission notice appear in supp... |
/*
* Driver for MT9V022, MT9V024, MT9V032, and MT9V034 CMOS Image Sensors
*
* Copyright (C) 2010, Laurent Pinchart <laurent.pinchart@ideasonboard.com>
*
* Based on the MT9M001 driver,
*
* Copyright (C) 2008, Guennadi Liakhovetski <kernel@pengutronix.de>
*
* This program is free software; you can redistribute i... |
// Copyright 2014 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 MOJO_SERVICES_SURFACES_PUBLIC_CPP_SURFACES_UTILS_H_
#define MOJO_SERVICES_SURFACES_PUBLIC_CPP_SURFACES_UTILS_H_
#include "surfaces/public/interfa... |
/*-
* Copyright (c) 2014-2016 MongoDB, Inc.
* Copyright (c) 2008-2014 WiredTiger, Inc.
* All rights reserved.
*
* See the file LICENSE for redistribution information.
*/
/*
* Default hash table size; use a prime number of buckets rather than assuming
* a good hash (Reference Sedgewick, Algorithms in C, "Hash F... |
/*
* This header is generated by classdump-dyld 1.5
* on Wednesday, April 14, 2021 at 2:23:28 PM Mountain Standard Time
* Operating System: Version 14.4 (Build 18K802)
* Image Source: /System/Library/PrivateFrameworks/SAObjects.... |
/*
* This header is generated by classdump-dyld 1.0
* on Sunday, September 27, 2020 at 11:41:24 AM Mountain Standard Time
* Operating System: Version 14.0 (Build 18A373)
* Image Source: /System/Library/PrivateFrameworks/ProactiveSuggestionClientModel.framework/ProactiveSuggestionClientModel
* classdump-dyld is licensed... |
/*
* plugin.c
*/
#include "private.h"
#include "lub/string.h"
#include "lub/list.h"
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <assert.h>
#include <dlfcn.h>
/**********************************************************
* SYM functions *
*************... |
include <linux/bpf_perf_event.h> |
/*
* Copyright © 2020 Amazon.com, Inc. or its affiliates.
* 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
... |
// See LICENSE for license details.
#ifndef RISCV_CSR_ENCODING_H
#define RISCV_CSR_ENCODING_H
#define MSTATUS_UIE 0x00000001
#define MSTATUS_SIE 0x00000002
#define MSTATUS_HIE 0x00000004
#define MSTATUS_MIE 0x00000008
#define MSTATUS_UPIE 0x00000010
#define MSTATUS_SPIE 0... |
/*
* Tencent is pleased to support the open source community by making IoT Hub available.
* Copyright (C) 2016 THL A29 Limited, a Tencent company. All rights reserved.
* Licensed under the MIT License (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the L... |
#include "InstallMode.h"
@interface InstallOptions : NSObject
@property InstallMode installMode;
@property int minimumBackgroundDuration;
-(void)encodeWithCoder:(NSCoder*)encoder;
-(id)initWithCoder:(NSCoder*)decoder;
@end |
// ItemSystemFor380.h: interface for the CItemSystemFor380 class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_ITEMSYSTEMFOR380_H__F545D1C3_2C57_497F_961A_77B689252FFE__INCLUDED_)
#define AFX_ITEMSYSTEMFOR380_H__F545D1C3_2C57_497F_961A_77B689252FFE__INCLUDED_
#if _MSC_VER... |
/* Generated by Nim Compiler v0.15.0 */
/* (c) 2016 Andreas Rumpf */
/* The generated code is subject to the original license. */
#define NIM_INTBITS 64
#include "nimbase.h"
typedef struct Ropeobj177006 Ropeobj177006;
typedef struct TNimType TNimType;
typedef struct TNimNode TNimNode;
typedef struct TY527153 TY52715... |
#pragma once
class Mouse
{
}; |
#include "./LibraryManageFunct.h"
MainConfig GetConfig(void)
{
MainConfig tmp;
FILE * config = fopen(MAIN_CONFIG_FILE, "rt");
if(config)
{
fscanf(config, "%u", &tmp.AutoLoad);
fscanf(config, "%u", &tmp.MaxDays);
fscanf(config, "%u", &tmp.Books);
fscanf(config, "%u", &tmp... |
/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file stm32l4xx_it.c
* @brief Interrupt Service Routines.
******************************************************************************
* @attention
*
* <h2><center>© Copyright (c) ... |
# include <ctype.h>
# define START 5
# define TRUE 1
# define FALSE 0
typedef int BOOLEAN;
typedef char *string;
# include <stdio.h>
# include "tokens.h"
static token numeric_case(token_stream tstream_ptr,token token_ptr,
char ch,char token_str[], int token_ind);
static token error_or_eo... |
__device__ float schlick(float cosine, float ref_idx) {
float r0 = (1.0f - ref_idx) / (1.0f + ref_idx);
r0 = r0 * r0;
return r0 + (1.0f - r0)*pow((1.0f - cosine), 5.0f);
}
__device__ bool refract(const vec3& v, const vec3& n, float ni_over_nt, vec3& refracted) {
vec3 uv = unit_vector(v);
float dt = dot(uv, n);
f... |
//------------------------------------------------------------------------------
// GB_unaryop: hard-coded functions for each built-in unary operator
//------------------------------------------------------------------------------
// SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2019, All Rights Reserved.
// http... |
/*
* This header is generated by classdump-dyld 1.0
* on Sunday, September 27, 2020 at 11:41:47 AM Mountain Standard Time
* Operating System: Version 14.0 (Build 18A373)
* Image Source: /System/Library/PrivateFrameworks/CalendarFoundation.framework/CalendarFoundation
* classdump-dyld is licensed under GPLv3, Copyright ... |
// Copyright 2015-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 app... |
/*
* This header is generated by classdump-dyld 1.0
* on Tuesday, November 5, 2019 at 2:47:18 AM Mountain Standard Time
* Operating System: Version 13.0 (Build 17J586)
* Image Source: /System/Library/PrivateFrameworks/iTunesCloud.framework/iTunesCloud
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by E... |
//##########################################################################
//# #
//# CCLIB #
//# #
//# This pr... |
/*
* Copyright 2013 Google Inc.
* Copyright © 2008 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... |
// Copyright 2017 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... |
//
// Utility.h
//
// Library: CppParser
// Package: CppParser
// Module: Utility
//
// Definition of the Utility class.
//
// Copyright (c) 2006, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// SPDX-License-Identifier: BSL-1.0
//
#ifndef CppParser_Utility_INCLUDED
#define CppParser_Utility... |
//
// _ _ ______ _ _ _ _ _ _ _
// | \ | | | ____| | (_) | (_) | | | |
// | \| | ___ | |__ __| |_| |_ _ _ __ __ _| | | |
// | . ` |/ _ \ | __| / _` | | __| | '_ \ / _` | | | |
// | |\ | (_) | | |___| (_| | | |_| | | | | (_| |_|_|_|
// |_| \_|\___/ |______\__,_|_|\... |
#define _GNU_SOURCE
#define SYSCALL_NO_TLS 1
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <stddef.h>
#include <string.h>
#include <unistd.h>
#include <stdint.h>
#include <elf.h>
#include <sys/mman.h>
#include <limits.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <errno.h>
#include <link.h>... |
/*
* Copyright (c) 2006 Oracle. All rights reserved.
*
* This software is available to you under a choice of one of two
* licenses. You may choose to be licensed under the terms of the GNU
* General Public License (GPL) Version 2, available from the file
* COPYING in the main directory of this source tree, or t... |
/****************************************************************************
* boards/xtensa/esp32s3/common/src/esp32s3_board_spiflash.c
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional informa... |
//
// FirstViewController.h
// JKDraggingView
//
// Created by albert on 2017/3/21.
// Copyright © 2017年 albert. All rights reserved.
//
#import "MyViewController.h"
@interface FirstViewController : MyViewController
@end |
/* +------------------------------------------------------------------------+
| Mobile Robot Programming Toolkit (MRPT) |
| http://www.mrpt.org/ |
| |
| Cop... |
/**
******************************************************************************
* @file tfm_bl2_shared_data.h
* @author MCD Application Team
* @brief Header for tfm_bl2_shared_data.c module
******************************************************************************
* @attention
*
* <h2><cent... |
/*
* Copyright 2010 Rasmus Toftdahl Olesen <rasmus@sequanto.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 require... |
/*
* Copyright (C) 2013 Red Hat
* Author: Rob Clark <robdclark@gmail.com>
*
* 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 righ... |
/*
* This header is generated by classdump-dyld 1.0
* on Sunday, September 27, 2020 at 11:54:48 AM Mountain Standard Time
* Operating System: Version 14.0 (Build 18A373)
* Image Source: /System/Library/PrivateFrameworks/NanoPassKit.framework/NanoPassKit
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by... |
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
* vim: set ts=8 sts=4 et sw=4 tw=99:
*
* Copyright 2015 Mozilla Foundation
*
* 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... |
/******************************************/
/*** Level Data for CHAPTER05_LEVEL0101 ***/
/******************************************/
#include "agbtypes.h"
/******************************************************************************/
u16 CHAPTER05_LEVEL0101_BACK_WIDTH=32;
u16 CHAPTER05_LEVEL0101_BACK_HEIGHT=32;
... |
/* Compile a C# program.
Copyright (C) 2003, 2009-2016 Free Software Foundation, Inc.
Written by Bruno Haible <bruno@clisp.org>, 2003.
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; e... |
/*
Copyright (c) 2014, 2015 InternetWide.org and the ARPA2.net project
All rights reserved. See file LICENSE for exact terms (2-clause BSD license).
Adriaan de Groot <groot@kde.org>
*/
#ifndef STEAMWORKS_CRANK_H
#define STEAMWORKS_CRANK_H
#include <memory>
#include "verb.h"
class CrankDispatcher : public VerbDispa... |
/* Copyright 2020 Jaakko Keränen <jaakko.keranen@iki.fi>
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 following... |
//
// UIImage+FGLUtil.h
// question
//
// Created by 陈昕 on 15/7/13.
// Copyright (c) 2015年 陈昕. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <AssetsLibrary/AssetsLibrary.h>
@interface UIImage (FGLUtil)
- (UIImage*)fgl_scaledToSize:(CGSize)targetSize;
+ (UIImage *)fgl_imageWithColor:(UIColor *)aColor;
... |
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "CDStructures.h"
#import "DVTOperation-Protocol.h"
@class IDESourceControlRequest, NSArray, NSString;
@interface IDESourceControlOperation : DVTOperation
{
NSArray *_r... |
/*
* This header is generated by classdump-dyld 1.0
* on Sunday, September 27, 2020 at 11:45:10 AM Mountain Standard Time
* Operating System: Version 14.0 (Build 18A373)
* Image Source: /System/Library/PrivateFrameworks/AppPredictionInternal.framework/AppPredictionInternal
* classdump-dyld is licensed under GPLv3, Copy... |
/*
* arch/arm/include/asm/atomic.h
*
* Copyright (C) 1996 Russell King.
* Copyright (C) 2002 Deep Blue Solutions Ltd.
*
* 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.
*/
#... |
#ifndef GLHEADERS_H_
#define GLHEADERS_H_
//#define QT_NO_OPENGL_ES_2
#ifdef _WIN32
#include <GL/glew.h>
#else
#define GL3_PROTOTYPES
#include <gl3.h>
#endif
#include <GL/glu.h>
#include <QDebug>
#include <QString>
#ifdef CC_GL_DEBUG_
static GLenum gl_err = 0;
#define CE() gl_err = glGetError();\
if (gl_er... |
#include "consts.h"
#include "params.h"
#include "rejsample.h"
#include "rounding.h"
#include <immintrin.h>
#include <stdint.h>
#include <string.h>
#define _mm256_blendv_epi32(a,b,mask) \
_mm256_castps_si256(_mm256_blendv_ps(_mm256_castsi256_ps(a), \
_mm256_castsi256_ps(b),... |
/******************************************************************************
* Copyright (C) 2019 - 2020 Xilinx, Inc. All rights reserved.
* SPDX-License-Identifier: MIT
******************************************************************************/
/***************************************************************... |
#include <stdio.h>
int main(void){
int n;
for (n = 2; n < 60; n = n +13){
printf("%d \n", n);
}
return 0;
} |
#ifndef REGISTER_GENERATED_14_H
#define REGISTER_GENERATED_14_H
#include <iostream>
#include <mpi2/mpi2.h>
#include <mf/loss/l1.h>
#include <mf/loss/nzsl.h>
namespace mf {
}
namespace mf {
}
namespace mf {
typedef SumLoss<NzslLoss, L1Loss>SumLoss_NzslLoss_L1Loss;
}
MPI2_TYPE_TRAITS2(mf::SumLoss, mf::NzslLo... |
#ifndef XPARAMETERS_H /* prevent circular inclusions */
#define XPARAMETERS_H /* by using protection macros */
/* Definitions for bus frequencies */
#define XPAR_CPU_M_AXI_DP_FREQ_HZ 100000000
/******************************************************************/
/* Canonical definitions for bus frequencies */
/***... |
/**
******************************************************************************
* @file ADC/ADC1_DMA/gd32f10x_conf.h
* @author MCU SD
* @version V1.0
* @date 26-Dec-2014
* @brief Library configuration file.
******************************************************************************
*/
/... |
/*
*
* Copyright (c) 2020-2021 Project CHIP 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/LI... |
/* Public domain */
static const AP_FlagNames apWidgetFlagNames[] = {
{ "focusable", AG_WIDGET_FOCUSABLE },
{ "focused", AG_WIDGET_FOCUSED },
{ "unfocusedMotion", AG_WIDGET_UNFOCUSED_MOTION },
{ "unfocusedButtonUp", AG_WIDGET_UNFOCUSED_BUTTONUP },
{ "unfocusedButtonDown", AG_WIDGET_UNFOCUSED_BUTTONDOWN },
... |
/*
* MicroDVD subtitle demuxer
* Copyright (c) 2010 Aurelien Jacobs <aurel@gnuage.org>
* Copyright (c) 2012 Clément Bœsch <u pkh me>
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published... |
/******************************************************************************
* Copyright (C) 2008 - Ikaro Games www.ikarogames.com *
* *
* This program is free software; you can redistribute it and/or *
... |
// Copyright 2014 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 MEDIA_BASE_RENDERER_FACTORY_H_
#define MEDIA_BASE_RENDERER_FACTORY_H_
#include <memory>
#include "base/macros.h"
#include "base/memory/ref_count... |
//-----------------------------------------------------------------------------
// About imgui_impl_opengl3_loader.h:
//
// We embed our own OpenGL loader to not require user to provide their own or to have to use ours,
// which proved to be endless problems for users.
// Our loader is custom-generated, based on gl3w b... |
// 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 CSSFontVariationSettingsInterpolationType_h
#define CSSFontVariationSettingsInterpolationType_h
#include "core/animation/CSSInterpolationType.h"
... |
// Copyright (c) 2016 Antony Arciuolo. See License.txt regarding use.
// unit test framework implementation
#pragma once
#include <oSystem/process_stats_monitor.h>
#include <oSystem/golden_image.h>
#include <oBase/unit_test.h>
#include <oString/path.h>
class ouro_unit_test_framework : public ouro::unit_test::framewo... |
// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2008-2014 Gael Guennebaud <gael.guennebaud@inria.fr>
//
// 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 c... |
/* The MIT License
Copyright (c) 2008 Genome Research Ltd (GRL).
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... |
/*
* Copyright (c) 2021 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <ztress.h>
#include <sys/printk.h>
#include <random/rand32.h>
#include <string.h>
/* Timer used for adjusting contexts backoff time to get optimal CPU load. */
static void ctrl_timeout(struct k_timer *timer);
K_TI... |
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#ifndef __AP_INERTIAL_SENSOR_H__
#define __AP_INERTIAL_SENSOR_H__
// Gyro and Accelerometer calibration criteria
#define AP_INERTIAL_SENSOR_ACCEL_TOT_MAX_OFFSET_CHANGE 4.0f
#define AP_INERTIAL_SENSOR_ACCEL_MAX_OFFSET 250.0f
#i... |
/* mbed Microcontroller Library
* Copyright (c) 2006-2013 ARM Limited
*
* 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 re... |
/* crypto/bn/bn.h */
/* Copyright (C) 1995-1997 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@cryptsoft.com).
* The implementation was written so as to conform with Netscapes SSL.
*
* This library is free for commercial and non-comme... |
/*
* Copyright(c) 2018 Intel Corporation
* SPDX - License - Identifier: BSD - 2 - Clause - Patent
*/
#include <stdlib.h>
#include <string.h>
#include "EbDefinitions.h"
#include "EbSystemResourceManager.h"
#include "EbPictureControlSet.h"
#include "EbSequenceControlSet.h"
#include "EbPictureBufferDesc.h"
#include "EbE... |
#pragma once
// Copyright (c) 2019 Christoffer Lerno. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
#include "common.h"
const char* expand_path(const char* path);
char *read_file(const char *path, size_t *return_size);
int filename_to_m... |
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
*/
#pragma once
// Including SDKDDKVer.h defines the highest available Windows platform.
// If you wish to build your application fo... |
#pragma once
#include "FSNode.h"
#include "Network/NetworkDefinitions.h"
#include <BufferMutableView.h>
#include <BufferView.h>
#include <PathView.h>
#include <Result.h>
#include <Rule5.h>
#include <Types.h>
#include <UniquePointer.h>
class FileDescription
{
public:
NON_MOVABLE(FileDescription)
NON_COPYABLE(FileD... |
// Copyright 2015-2016 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 app... |
/* Copyright (C) 2000-2019 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C 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 ... |
#ifndef MXP_MESSAGE_ACKNOWLEDGE
#define MXP_MESSAGE_ACKNOWLEDGE
/* Copyright (c) 2009-2010 Tyrell Corporation & Moyshe Ben Rabi.
The contents of this file are subject to the Mozilla Public License
Version 1.1 (the "License"); you may not use this file except in
compliance with the License. You may obtain a c... |
#include <rtthread.h>
#include <rtdevice.h>
#include "nrf_drv_saadc.h"
#include "nrf_log.h"
#include "bsp_adc_dri.h"
#include "board.h"
#define adc_printf(...) rt_kprintf(__VA_ARGS__)
#define ADC_MEASURE_TIMES 4
#define ADC_MEASURE_ACCURACY 14 //NRFX_SAADC_CONFIG_RESOLUTION =3
#define ADC_MEASURE_RE... |
/*
** $Id: lua.c,v 1.206.1.1 2013/04/12 18:48:47 roberto Exp $
** Lua stand-alone interpreter
** See Copyright Notice in lua.h
*/
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define lua_c
#include "lua.h"
#include "lauxlib.h"
#include "lualib.h"
#if !defined(LUA_PROMPT)
#define... |
// SPDX-License-Identifier: GPL-2.0
#include <linux/compat.h>
#include <linux/errno.h>
#include <linux/sched.h>
#include <linux/sched/mm.h>
#include <linux/syscalls.h>
#include <linux/mm.h>
#include <linux/fs.h>
#include <linux/smp.h>
#include <linux/sem.h>
#include <linux/msg.h>
#include <linux/shm.h>
#include <linux/... |
/*******************************************************************************
* File Name: RIGHT_MOTOR.h
* Version 2.10
*
* Description:
* This file provides constants and parameter values for the RIGHT_MOTOR
* component.
*
* Note:
* None
*
*************************************************************************... |
//
// MDMExpectedFrameProtocol.h
// MDM
//
// Created by Alekseenko Oleg on 02.06.14.
// Copyright (c) 2014 Hyperboloid. All rights reserved.
//
#import <Foundation/Foundation.h>
@protocol MDMExpectedFrameProtocol <NSObject>
@optional
- (void)mdm_updateLayoutAnimated:(BOOL)animated;
@end |
#include "lmmin.h"
#include <stdio.h>
/* fit model: a plane p0 + p1*tx + p2*tz */
double f( double tx, double tz, const double *p )
{
return p[0] + p[1]*tx + p[2]*tz;
}
/* data structure to transmit arrays and fit model */
typedef struct {
double *tx, *tz;
double *y;
double (*f)( double tx, double tz,... |
/*******************************************************************
*
* CAUTION: This file is automatically generated by HSI.
* Version:
* DO NOT EDIT.
*
* Copyright (C) 2010-2015 Xilinx, Inc. All Rights Reserved.*
*Permission is hereby granted, free of charge, to any person obtaining a copy
*of this software and ass... |
/** \file MtasProcessor.h
*
* Header file for MTAS analysis
*/
#ifndef __MTAS_PROCESSOR_H_
#define __MTAS_PROCESSOR_H_
#include "RawEvent.h"
#include "EventProcessor.h"
#include <vector>
#include <map>
class DetectorSummary;
class RawEvent;
class ChanEvent;
/**
* \brief Handles detectors of type dssd_front and d... |
struct alphatrack_icmd {
unsigned char cmd[12];
};
struct alphatrack_ocmd {
unsigned char cmd[8];
};
/* These are unused by the present driver but provide documentation for the
* userspace API.
*/
enum LightID {
LIGHT_EQ = 0,
LIGHT_OUT,
LIGHT_F2,
LIGHT_SEND,
LIGHT_IN,
LIGHT_F1,
LIGHT_PAN,
LIGHT_UNDEF1,
L... |
/*
* DO NOT EDIT. THIS FILE IS GENERATED FROM e:/builds/moz2_slave/rel-m-rel-xr-w32-bld/build/dom/interfaces/html/nsIDOMHTMLEmbedElement.idl
*/
#ifndef __gen_nsIDOMHTMLEmbedElement_h__
#define __gen_nsIDOMHTMLEmbedElement_h__
#ifndef __gen_nsIDOMHTMLElement_h__
#include "nsIDOMHTMLElement.h"
#endif
/* For IDL fi... |
/*
* This header is generated by classdump-dyld 1.0
* on Tuesday, November 5, 2019 at 2:38:45 AM Mountain Standard Time
* Operating System: Version 13.0 (Build 17J586)
* Image Source: /System/Library/PrivateFrameworks/AppStoreDaemon.framework/AppStoreDaemon
* classdump-dyld is licensed under GPLv3, Copyright © 2013-201... |
#pragma once
#include "Poly/Core/Core.h"
#include "Poly/Rendering/Core/API/GraphicsTypes.h"
namespace Poly
{
struct ShaderDesc
{
std::string EntryPoint = "main";
FShaderStage ShaderStage = FShaderStage::NONE;
std::vector<char> ShaderCode;
};
class Shader
{
public:
CLASS_ABSTRACT(Shader);
/**
*... |
// 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... |
/* Bill Ryder - bryder@sgi.com - wrote the FTDI_SIO implementation */
/* Thanx to FTDI for so kindly providing details of the protocol required */
/* to talk to the device */
/* Thanx to gkh and the rest of the usb dev group for all code I have assimilated :-) */
#include <linux/config.h>
#include <linux/kernel.h>
#... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.