text stringlengths 9 948k |
|---|
#ifndef RNG_H
#define RNG_H
#include <stdint.h>
#include <stdlib.h>
#include <rng.h>
volatile int init_done = 0;
void rng_init();
uint32_t rng_get_bigint(uint32_t * BUFF, uint32_t words);
void rng_rst();
#if defined( __MIKROC_PRO_FOR_ARM__ )
void rng_pause();
#endif
#endif |
/* ../netlib/zlanhs.f -- translated by f2c (version 20100827). You must link the resulting object file with libf2c: on Microsoft Windows system, link with libf2c.lib;
on Linux or Unix systems, link with .../path/to/libf2c.a -lm or, if you install libf2c.a in a standard place, with -lf2c -lm -- in that order, at the en... |
/*
* Copyright (C) 2013 Google Inc. All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions ... |
/**
* \file types.h
* \brief Types definition
* \author Stephane Dallongeville
* \date 08/2011
*
* SGDK Types definition.
*/
#ifndef _TYPES_H_
#define _TYPES_H_
/**
* \def FALSE
* FALSE define (equivalent to 0).
*/
#ifndef FALSE
#define FALSE 0
#endif
/**
* \def TRUE
* TRUE define (equivalen... |
// -*-c++-*-
/*!
\file audio_codec.h
\brief audio message encoder/decoder Header File
*/
/*
*Copyright:
Copyright (C) Hidehisa AKIYAMA
This code 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; ... |
/*
This file is part of libmicrospdy
Copyright Copyright (C) 2012 Andrey Uzunov
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 3 of the License, or
(at your op... |
/*
* openssl.c
* Wrapper for OpenSSL library.
*
* Copyright (c) 2001 Marko Kreen
* 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 ab... |
#pragma once
#include <stdexcept>
#include <vector>
namespace ctranslate2 {
template <typename T>
class GenerationResult {
public:
std::vector<std::vector<T>> hypotheses;
std::vector<float> scores;
std::vector<std::vector<std::vector<float>>> attention;
GenerationResult(std::vector<std::vector... |
//
// IUser.h
// WJCoreDataAccess-example
//
// Created by 吴云海 on 16/9/10.
// Copyright © 2016年 WJ. All rights reserved.
//
#import <Foundation/Foundation.h>
@protocol IUser <NSObject>
-(NSString*)userId;
-(NSNumber*)age;
-(NSString*)name;
-(NSDate*)createTime;
@end |
#include "./gp_visual.h"
int scc(int code)
{
if (code < 0) {
fprintf(stderr, "SDL error: %s\n", SDL_GetError());
exit(1);
}
return code;
}
void *scp(void *ptr)
{
if (ptr == NULL) {
fprintf(stderr, "SDL error: %s\n", SDL_GetError());
exit(1);
}
return ptr;
}
v... |
//
// Copyright (c) 2017-2020 the rbfx project.
//
// 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, mer... |
// -*- C++ -*-
//=============================================================================
/**
* @file IO_SAP.h
*
* $Id: IO_SAP.h 935 2008-12-10 21:47:27Z mitza $
*
* @author Doug Schmidt
*/
//=============================================================================
#ifndef ACE_IO_SAP_H
#define A... |
/*
* This header is generated by classdump-dyld 1.0
* on Sunday, September 27, 2020 at 12:31:20 PM Mountain Standard Time
* Operating System: Version 14.0 (Build 18A373)
* Image Source: /System/Library/PrivateFrameworks/iWorkImport.framework/Frameworks/TSApplication.framework/TSApplication
* classdump-dyld is licensed ... |
//
// MultiFilterViewController.h
// GPUImageDemo
//
// Created by casa on 4/1/15.
// Copyright (c) 2015 alibaba. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface MultiFilterViewController : UIViewController
@end |
/**
******************************************************************************
* @file MDR32F9Qx_iwdg.h
* @author Milandr Application Team
* @version V2.0.0
* @date 06/05/2021
* @brief This file contains all the functions prototypes for the IWDG
* firmware library.
****************... |
//
// Generated by classdumpios 1.0.1 (64 bit) (iOS port by DreamDevLost)(Debug version compiled Sep 26 2020 13:48:20).
//
// Copyright (C) 1997-2019 Steve Nygard.
//
#import "NSObject-Protocol.h"
@class RMConnectionEndpoint;
@protocol RMConnectionLifecycleDelegate <NSObject>
- (void)endpointWasInvalidated:(RMC... |
/*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... |
/*
* Copyright (C) 1999-2001 Free Software Foundation, Inc.
* This file is part of the GNU LIBICONV Library.
*
* The GNU LIBICONV Library is free software; you can redistribute it
* and/or modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either ve... |
/*******************************************************************************
* Copyright 2019-2020 Microchip FPGA Embedded Systems Solutions.
*
* SPDX-License-Identifier: MIT
*
* MPFS HAL Embedded Software
*
*/
/*******************************************************************************
* @file mss_ddr... |
#ifndef _ACTION_H_
#define _ACTION_H_
#include "action/Command.h"
#include "basic/Object.h"
#include "display/Node.h"
#include <queue>
//Action is the base class for all actions
//Action base class provides basic services for all actions
class Action: public Object
{
public:
Node* host;
int duration;
bool isRepeat... |
#ifndef IMPORTFEFLOWMESH_H
#define IMPORTFEFLOWMESH_H
#include <QDialog>
#include <BasedClass/importfile.h>
#include <QFileDialog>
#include <QMessageBox>
using namespace std;
using namespace Eigen;
namespace Ui {
class importFeflowMesh;
}
class importFeflowMesh : public QDialog
{
Q_OBJECT
public:
explicit i... |
/*
* Copyright (c) 2006, Swedish Institute of Computer Science.
* 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
*... |
/*
* Copyright (c) 2010-2011 Atheros Communications Inc.
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" A... |
/*-
* Copyright (c) 1991, 1993
* The Regents of the University of California. All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* Kenneth Almquist.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the followi... |
/*
* Copyright(c) 2019 Intel Corporation
* SPDX - License - Identifier: BSD - 2 - Clause - Patent
*/
/*
* Copyright (c) 2016, Alliance for Open Media. All rights reserved
*
* This source code is subject to the terms of the BSD 2 Clause License and
* the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause L... |
/* 2of5.c - Handles Code 2 of 5 barcodes */
/*
libzint - the open source barcode library
Copyright (C) 2008 Robin Stuart <robin@zint.org.uk>
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redist... |
// Copyright (C) Simon A. F. Lund <simon.lund@samsung.com>
// Copyright (C) Niclas Hedam <n.hedam@samsung.com, nhed@itu.dk>
// SPDX-License-Identifier: Apache-2.0
#ifndef _XOPEN_SOURCE
#define _XOPEN_SOURCE 700
#endif
#include <xnvme_be.h>
#include <xnvme_be_nosys.h>
#ifdef XNVME_BE_HERMES_ENABLED
#include <errno.h>
#i... |
#import <Foundation/Foundation.h>
#import "ASPObject.h"
/**
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen
* Do not edit the class manually.
*/
@protocol ASPExifData
@end
@interface ASPExifData : ASPObject
@property(nonatomic) NSNu... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE78_OS_Command_Injection__char_file_execl_17.c
Label Definition File: CWE78_OS_Command_Injection.strings.label.xml
Template File: sources-sink-17.tmpl.c
*/
/*
* @description
* CWE: 78 OS Command Injection
* BadSource: file Read input from a file
* GoodSource: Fixed st... |
/*
* This header is generated by classdump-dyld 1.5
* on Wednesday, April 28, 2021 at 9:04:06 PM Mountain Standard Time
* Operating System: Version 14.5 (Build 18L204)
* Image Source: /System/Library/PrivateFrameworks/SAObjects.... |
/*
* ViewModeGroup.h
* Created by Zachary Ferguson
* Header for the ViewModeGroup class, a child class of the Fl_Group class
* for getting the viewing mode.
*/
#ifndef VIEWMODEGROUP_H
#define VIEWMODEGROUP_H
#include <FL/Fl_Group.H>
#include <FL/Fl_Round_Button.h>
enum ViewingMode { WIREFRAME, SOLID, BOTH };
c... |
// automatically generated by the FlatBuffers compiler, do not modify
#ifndef FLATBUFFERS_GENERATED_HEADER_FLATGEOBUF_H_
#define FLATBUFFERS_GENERATED_HEADER_FLATGEOBUF_H_
#include "flatbuffers/flatbuffers.h"
namespace FlatGeobuf {
struct Column;
struct Crs;
struct Header;
enum class GeometryType : uint8_t {
... |
/*-
* BSD LICENSE
*
* Copyright (c) Intel Corporation.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain the above copyri... |
//gcc -Wall -g -o exe2 exe2.2
#include "assert.h"
#include "stdbool.h"
#include "stdio.h"
#include "stdint.h"
#include "stdlib.h"
#include <string.h>
// An arbitrary pointer to represent an element in the vector.
typedef void* element_t;
// An expandable array of element_ts.
typedef struct vector_t {
size_t length;... |
/*
* 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 ... |
/** \file
* \brief Vbox Control.
*
* See Copyright Notice in "iup.h"
*/
#include <stdio.h>
#include <stdlib.h>
#include "iup.h"
#include "iupcbs.h"
#include "iup_object.h"
#include "iup_attrib.h"
#include "iup_str.h"
#include "iup_drv.h"
#include "iup_drvfont.h"
#include "iup_stdcontrols.h"
#include "iup_layout.... |
#ifndef RecoPixelVertexing_PixelVertexFinding_plugins_gpuClusterTracksByDensity_h
#define RecoPixelVertexing_PixelVertexFinding_plugins_gpuClusterTracksByDensity_h
#include <algorithm>
#include <cmath>
#include <cstdint>
#include "HeterogeneousCore/CUDAUtilities/interface/HistoContainer.h"
#include "HeterogeneousCore... |
/* Copyright Joyent, Inc. and other Node contributors. 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 without limitation the
* righ... |
//
// FMDatabaseAdditions.h
// fmkit
//
// Created by August Mueller on 10/30/05.
// Copyright 2005 Flying Meat Inc.. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface FMDatabase (FMDatabaseAdditions)
- (int) intForQuery:(NSString*)objs, ...;
- (long) longForQuery:(NSString*)objs, ...;
- (BOO... |
#pragma once
#include "Standard.h"
class Server;
// global server
extern Server* _server;
// quit flag
extern bool _quit;
// debug level flag
extern DEBUG _debug; |
// Copyright 2004-present Facebook. All Rights Reserved.
#import <Foundation/Foundation.h>
#import <JavaScriptCore/JSBase.h>
#import <UIKit/UIKit.h>
#import <ReactABI26_0_0/ABI26_0_0RCTDefines.h>
#import <ReactABI26_0_0/ABI26_0_0RCTInspectorPackagerConnection.h>
#if ABI26_0_0RCT_DEV
@interface ABI26_0_0RCTInspector... |
/*
* MPEG Layer 3 handling
*
* Copyright (C) 2002 Eric Pouech
* Copyright (C) 2009 CodeWeavers, Aric Stewart
* Copyright (C) 2010 Kristofer Henriksson
*
*
* 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 ... |
//////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2012, John Haddon. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributio... |
// SilvervineUE4Lua / devCAT studio
// Copyright 2016 - 2020. Nexon Korea Corporation. All rights reserved.
#pragma once
#include "CoreUObject.h"
#include "LuaNativeValue.h"
struct lua_State;
//
// lua와 UStruct를 주고받을 때 사용합니다.
//
namespace SUE4LuaUStruct
{
// FSUE4LuaVirtualMachine이 생성될 때 호출됩니다.
void Register(lu... |
// ----------------------------------------------------------------------------
// Copyright 2016-2017 ARM Ltd.
//
// SPDX-License-Identifier: Apache-2.0
//
// 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 ... |
/* omega (c) 1987,1988,1989 by Laurence Raphael Brothers */
/* scr.c */
/* functions that use curses routines directly */
/* plus a few file i/o stuff */
/* also some in file.c */
#ifdef MSDOS
# include "curses.h"
#else
# ifdef AMIGA
# include <curses210.h>
# else
# include <curses.h>
# endif
# include <sys/types.h>... |
// Exercise 3 from chapter 6
// This program receives two integers from the user and shows the result of dividing the first by the second.
#include<stdio.h>
int main( void )
{
int num1, num2;
printf( "Enter two integer numbers separated by a blank space:\n" );
scanf( "%i %i", &num1, &num2 );
if( nu... |
/*
Number of states in NFA = 4 (It stands for state q0, q1, q2, and q3)
Number of symbols in NFA = 2 (It stands for symbol 0 and 1)
Start State = 0 (It stands for state q0)
Final States = 1 (There is only one final/accepting state, named q3)
3
Transition Function
1 0 3 0 1 2 Transition for q0 -> q0 q0,q1,... |
/*
* Copyright (c) 2012 ITE Technology Corp. All Rights Reserved.
*/
/** @file encoder_memory.h
*
* @author
*/
#ifndef _ENCODER_MEMORY_H_
#define _ENCODER_MEMORY_H_
#ifdef __cplusplus
extern "C" {
#endif
//=============================================================================
// ... |
/****************************************************************************
**
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the demonstration applications of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage... |
// 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... |
/* SPDX-License-Identifier: GPL-2.0 */
/*
* Support for Medifield PNW Camera Imaging ISP subsystem.
*
* Copyright (c) 2010 Intel Corporation. All Rights Reserved.
*
* Copyright (c) 2010 Silicon Hive www.siliconhive.com.
*
* This program is free software; you can redistribute it and/or
* modify it under the term... |
/**
* (C) Copyright 2017-2020 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... |
/*
* Copyright 2012 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef GrEffectUnitTest_DEFINED
#define GrEffectUnitTest_DEFINED
#include "SkRandom.h"
#include "SkTArray.h"
#include "SkTypes.h"
class SkMatrix;
class GrDrawTargetCaps;
n... |
/******************************************************************************
* Code generated with sympy 0.7.6 *
* *
* See http://www.sympy.org/ for more information. *
... |
/* links.c - Handle links section. */
#include "common.h"
#include "hash.h"
#include "linefile.h"
#include "dystring.h"
#include "web.h"
#include "hui.h"
#include "hdb.h"
#include "hgGene.h"
#include "wikiTrack.h"
static char const rcsid[] = "$Id: links.c,v 1.38 2009/06/18 20:19:18 hiram Exp $";
struct link
/* A lin... |
/*
* This file is part of hat-trie.
*
* Copyright (c) 2011 by Daniel C. Jones <dcjones@cs.washington.edu>
*
* See ahtable.h for description of the Array Hash Table.
*
*/
#include "ahtable.h"
#include "misc.h"
#include "murmurhash3.h"
#include "portable_endian.h"
#include <assert.h>
#include <string.h>
const do... |
/*
* Copyright: JessMA Open Source (ldcsaa@gmail.com)
*
* Author : Bruce Liang
* Website : http://www.jessma.org
* Project : https://github.com/ldcsaa
* Blog : http://www.cnblogs.com/ldcsaa
* Wiki : http://www.oschina.net/p/hp-socket
* QQ Group : 75375912, 44636872
*
* Licensed under the Apache License, Ver... |
// Copyright (c) 2011-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOINARRAY_QT_TRAFFICGRAPHWIDGET_H
#define BITCOINARRAY_QT_TRAFFICGRAPHWIDGET_H
#include <QQueue>
#include <QWidge... |
/********************************************************************************
* Copyright (c) 2016-2019 Advanced Micro Devices, 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 de... |
#pragma once
#include <windows.h>
#include <stdio.h>
class chQTimer
{
public:
chQTimer(void);
~chQTimer(void);
char* getTimeElapsed();
float getTimeElapsed_float();
void reset();
private:
LARGE_INTEGER prevTime,currTime;
float timeElapsed,freq;
}; |
/*
Plugin-SDK (Grand Theft Auto 3) header file
Authors: GTA Community. See more here
https://github.com/DK22Pac/plugin-sdk
Do not delete this comment block. Respect others' work!
*/
#pragma once
#include "PluginBase.h"
#include "CEntity.h"
#include "CTreadable.h"
#include "CVector.h"
#include "CEntryIn... |
/*
* A iio driver for the light sensor TCS3772.
*
* IIO Light driver for monitoring ambient light intensity in lux and proximity
* ir.
*
* Copyright (c) 2013 - 2014, NVIDIA CORPORATION. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and condit... |
/*
* 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 terms found in... |
// Copyright 2010, Shuo Chen. All rights reserved.
// http://code.google.com/p/muduo/
//
// Use of this source code is governed by a BSD-style license
// that can be found in the License file.
// Author: Shuo Chen (chenshuo at chenshuo dot com)
//
// This is a public header file, it must only include public header fi... |
//
// ReceivedPacketProcessor.h
// libraries/networking/src
//
// Created by Brad Hefta-Gaub on 8/12/13.
// Copyright 2013 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
#ifndef hifi_ReceivedP... |
#pragma once
#include "widget.h"
#include "ui.h"
namespace dbuddy {
class Menu : public Widget {
public:
explicit Menu(Ui * ui) : Widget(ui) {}
void init() final;
};
} |
//
// PublishPerformViewController.h
// YS_iOS
//
// Created by 崔露凯 on 16/12/14.
// Copyright © 2016年 cuilukai. All rights reserved.
//
#import "BaseViewController.h"
@interface PublishPerformViewController : BaseViewController
@end |
/*
* socketTimeoutIO.c
*
* Socket Portability API
*
* Copyright 2001, 2010 by Anthony Howe. All rights reserved.
*/
#ifndef PRE_ASSIGNED_SET_SIZE
#define PRE_ASSIGNED_SET_SIZE 8
#endif
/***********************************************************************
*** No configuration below this point.
************... |
#pragma once
#include "Header.h"
#include "Database.h"
#include "BinaryFile.h"
#include "TextFile.h"
void main()
{
//initialize static variables
List apartments;
short int codeApartment = 0;
short int codeCommand = 0;
short int numCommand = 0;
short_term_history[N] = NULL;
//initialize database
makeEmptyListCo... |
/*
* Copyright (c) 2003, 2007-14 Matteo Frigo
* Copyright (c) 2003, 2007-14 Massachusetts Institute of Technology
*
* 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 ... |
// Tencent is pleased to support the open source community by making ncnn available.
//
// Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
//
// Licensed under the BSD 3-Clause License (the "License"); you may not use this file except
// in compliance with the License. You may obtain a copy ... |
/*
* Copyright (c) 1990, 1993, 1994
* The Regents of the University of California. All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* Margo Seltzer.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the follo... |
/******************** (C) COPYRIGHT 2008 STMicroelectronics ********************
* File Name : stm32f10x_sdio.h
* Author : MCD Application Team
* Version : V2.0.3
* Date : 09/22/2008
* Description : This file contains all the functions prototypes for the
* ... |
#include "libutf2gbk.h"
typedef struct
{
unsigned short unicode;
unsigned short gb2312;
}UNICODE_GB;
const int TABLE_LEN = 21792;
static UNICODE_GB unicode_gb_table[] = {//unicode到gb2312表
{ 0x00A4, 0xA1E8 }, { 0x00A7, 0xA1EC },
{ 0x00A8, 0xA1A7 }, { 0x00B0, 0xA1E3 }, { 0x00B1, 0xA1C0 }, { 0x00B7, 0xA1A4 }, { 0... |
/* definitions for MIDI file parsing code */
#include <stdio.h>
/*
extern int (*Mf_getc)();
extern void (*Mf_header)();
extern void (*Mf_trackstart)();
extern void (*Mf_trackend)();
extern void (*Mf_noteon)();
extern void (*Mf_noteoff)();
extern void (*Mf_pressure)();
extern void (*Mf_parameter)();
extern void (*Mf_pit... |
/** @file
* Copyright (c) 2019, Arm Limited or its affiliates. All rights reserved.
* SPDX-License-Identifier : Apache-2.0
*
* 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://... |
/****************************************************************************
* config/sim/src/sim_boot.c
*
* Copyright (C) 2014-2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitte... |
/*
* Amazon FreeRTOS
* Copyright (C) 2017 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 with... |
#pragma once
#include "Events/Event.h"
#include "Window/Window.h"
namespace Prism {
class Application
{
public:
Application();
virtual ~Application();
void Run();
void EventCallback(Event&);
virtual void OnEvent(Event&) = 0;
virtual void OnTick(float deltaT) = 0;
private:
std::unique_ptr<Window> m... |
/*******************************************************
Copyright (C) 1995 Greg Landrum
All rights reserved
This file is part of yaehmop.
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 ... |
/*++
Copyright (c) 2000-2001 Microsoft Corporation
Module Name:
brshcach.h
Abstract:
Header file for BrushCache
Environment:
Windows NT Unidriver.
Revision History:
04/12/99
Created it.
--*/
#ifndef _BRSHCACH_H_
#define _BRSHCACH_H_
#include "glpdev.h"
#include "rasdata.h"
#ifndef... |
/** Screenshot saver.
Copyright (c) 2017 Simon Zolin
*/
#include <fcom.h>
#include <FF/gui/loader.h>
#include <FF/gui/winapi.h>
#include <FF/pic/bmp.h>
#include <FF/data/parse.h>
#include <FF/time.h>
#include <FF/path.h>
extern const fcom_core *core;
extern const fcom_command *com;
#define dbglog(dbglev, fmt, ...)... |
#pragma once
#include <Veritas/Audio/AudioNode.h>
#include <Veritas/Definitions/Definitions.h>
namespace Veritas {
namespace Audio {
class AudioSource : public virtual AudioNode {
public:
AudioSource(uint32 framerate, FORMAT format, uint8 channels = 1, float32 timeSpan = 1.0f);... |
/*
* Copyright (c) 2013 Jens Schmer
* This file is distributed under the MIT License.
* Consult COPYING within this package for further information.
*/
#pragma once
#include <string>
#include <memory>
#include <chrono>
#include <RayTracer/RenderTarget/IRenderTarget.h>
class Scene;
class RayTracer {
public:
... |
/*
* This header is generated by classdump-dyld 1.0
* on Saturday, June 1, 2019 at 6:53:18 PM Mountain Standard Time
* Operating System: Version 12.1.1 (Build 16C5050a)
* Image Source: /System/Library/PrivateFrameworks/UIKitCore.framework/UIKitCore
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elia... |
#define _CRT_SECURE_NO_WARNINGS
// MapViewOfFile
#include <stdio.h>
#include <Windows.h>
#include <DbgHelp.h>
#include <psapi.h>
#include "lgdb_context.h"
#include "lgdb_event.h"
#include "lgdb_utility.h"
lgdb_process_ctx_t *lgdb_create_context() {
lgdb_process_ctx_t *ctx = (lgdb_process_ctx_t *)malloc(sizeof(l... |
#include <stdio.h>
int main()
{
printf("%c", getc(stdin));
return 0;
} |
/*
* %CopyrightBegin%
*
* Copyright Ericsson AB 1998-2011. 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
... |
/****************************************************************************
*
* Copyright 2012 - 2019 Vivante Corporation, Santa Clara, California.
* All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files ... |
/**
* Copyright (c) 2010 William Light <wrl@illest.net>
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" ... |
/* mm/ashmem.c
*
* Anonymous Shared Memory Subsystem, ashmem
*
* Copyright (C) 2008 Google, Inc.
*
* Robert Love <rlove@google.com>
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and m... |
/* SPDX-License-Identifier: GPL-2.0 */
/* Copyright (C) 2021, Intel Corporation. */
#ifndef _ICE_PTP_H_
#define _ICE_PTP_H_
#include <linux/ptp_clock_kernel.h>
#include <linux/kthread.h>
#include "ice_ptp_hw.h"
enum ice_ptp_pin_e810 {
GPIO_20 = 0,
GPIO_21,
GPIO_22,
GPIO_23,
NUM_PTP_PIN_E810
};
enum ice_ptp_pi... |
//
// CountlyConsentManager+Extension.h
// Apps
//
// Created by Kevin Chen on 2019/12/10.
// Copyright © 2019 appscomm. All rights reserved.
//
@interface CountlyConsentManager : NSObject
@end
NS_ASSUME_NONNULL_BEGIN
@interface CountlyConsentManager ()
@property (nonatomic, readonly) BOOL consentForAppleWatch... |
//===========================================
// Lumina-DE source code
// Copyright (c) 2014, Ken Moore
// Available under the 3-clause BSD license
// See the LICENSE file for full details
//===========================================
// This class is the interface to load all the different panel plugins
//=======... |
/*
* This file is part of the coreboot project.
*
* File taken from the Linux xgifb driver (v3.18.5)
* coreboot-specific includes added at top
*
* 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 Found... |
// os.h
// Runs on LM4F120/TM4C123/MSP432
// A very simple real time operating system with minimal features.
// Daniel Valvano
// February 8, 2016
/* This example accompanies the book
"Embedded Systems: Real Time Interfacing to ARM Cortex M Microcontrollers",
ISBN: 978-1463590154, Jonathan Valvano, copyright (c)... |
#pragma once
#include <stdint.h>
// This file is autogenerated!
namespace Blend {
enum Enum {
Zero, One, SrcColor, InvSrcColor, SrcAlpha, InvSrcAlpha, DestAlpha, InvDestAlpha, DestColor, InvDestColor, SrcAlphaSta, BlendFactor, InvBlendFactor, Src1Color, InvSrc1Color, Src1Alpha, InvSrc1Alpha, Count
};
enum Mask {... |
/*
* Copyright (C) 2007 Alexey Proskuryakov (ap@nypop.com)
*
* 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... |
//
// JMDigitField.h
// JMDigitField
//
// Created by xzm on 2020/9/23.
// 数字输入框
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@class JMDigitView;
@interface JMDigitField : UIControl <UIKeyInput, UITextInput>
/**
初始化一个数字输入框
@param initBlock 传入一个初始化 digit view 的 block
@param count 数字位数
@param leading 第一个数... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.