text stringlengths 9 948k |
|---|
#pragma once
#include "DGLShader.h"
class DGLFragmentShader :
public DGLShader
{
DClass(DGLFragmentShader)
public:
DGLFragmentShader(DResourceLoader* loader);
~DGLFragmentShader();
}; |
// Copyright (c) Omar Boukli-Hacene 2021. All Rights Reserved.
// Distributed under an MIT-style license that can be
// found in the LICENSE file.
// SPDX-License-Identifier: MIT
#ifndef INIT_H_
#define INIT_H_
#include <cassert>
#include "tromino.h"
#include "trmn_graph.h"
#include "trmn_graph_vt.h"
#ifdef _WIND... |
// Copyright (c) 2019-2020 The Bigbang developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef XENGINE_EVENT_EVENTPROC_H
#define XENGINE_EVENT_EVENTPROC_H
#include <boost/thread/condition_variable.hpp>
#include <... |
/*
OpenGL loader generated by glad 0.1.27 on Sat Sep 1 00:14:12 2018.
Language/Generator: C/C++
Specification: gl
APIs: gl=3.3
Profile: core
Extensions:
GL_3DFX_multisample,
GL_3DFX_tbuffer,
GL_3DFX_texture_compression_FXT1,
GL_AMD_blend_minmax_factor,
... |
// StreamUtils - github.com/bblanchon/ArduinoStreamUtils
// Copyright Benoit Blanchon 2019-2022
// MIT License
#pragma once
#include "Print.h"
struct Stream : Print {
virtual int available() = 0;
virtual int read() = 0;
virtual int peek() = 0;
size_t readBytes(char *buffer, size_t length) {
size_t count... |
/********************************************************************************************************
* @file hci.c
*
* @brief for TLSR chips
*
* @author telink
* @date Sep. 30, 2010
*
* @par Copyright (c) 2018, Telink Semiconductor (Shanghai) Co., Ltd.
* All rights reserved.
*... |
/***************************************************************************//**
* @file
* @brief CMSIS Cortex-M Peripheral Access Layer Header File
* for EFM32JG1B200F128GM48
* @version 5.8.0
*******************************************************************************
* # License
* <b>Copyright 2019 S... |
/*
* GIT - The information manager from hell
*
* Copyright (C) 2000-2002 Michael R. Elkins <me@mutt.org>
* Copyright (C) 2002-2004 Oswald Buddenhagen <ossi@users.sf.net>
* Copyright (C) 2004 Theodore Y. Ts'o <tytso@mit.edu>
* Copyright (C) 2006 Mike McCormack
* Copyright (C) 2006 Christian Couder
*
* This pro... |
/*=========================================================================
Program: Visualization Toolkit
Module: vtkPLSDynaReader.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software i... |
// SPDX-License-Identifier: GPL-2.0
/*
* Intel Speed Select Interface: MMIO Interface
* Copyright (c) 2019, Intel Corporation.
* All rights reserved.
*
* Author: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
*/
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/sched/signal.h>
#include ... |
/* mbed Microcontroller Library
*
* SPDX-License-Identifier: BSD-3-Clause
*******************************************************************************
* Copyright (c) 2018, STMicroelectronics
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are per... |
/* -*- C -*- */
/*
* Copyright (c) 2021 Seagate Technology LLC 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
... |
//
// CIViewController.h
// musicXML
//
// Created by tanhui on 2017/9/15.
// Copyright © 2017年 tanhuiya. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface CIViewController : UITableViewController
@end |
/**
******************************************************************************
* @file stm32l0xx.h
* @author MCD Application Team
* @brief CMSIS Cortex-M0+ Device Peripheral Access Layer Header File.
* This file contains all the peripheral register's definitions, bits
* definit... |
/*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use of this software is governed by the License,
* or, if provided, by the license below or t... |
/*
* Copyright (c) 2018, GreenWaves Technologies, 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:
*
* o Redistributions of source code must retain the above copyright notice, this list... |
#include "liblang.h"
/* lang_apply_fun: apply the function referred to by word to x, y, a, b */
double lang_apply_fun(lang_word_t word, double x, double y, double a, double b)
{
MAKE_KOSHER(a);
MAKE_KOSHER(b);
if (LANG_WORD_IS_CONST(word)) {
return LANG_WORD_TO_CONST(word);
}
switch(word)... |
// If you are compiling dlib as a shared library and installing it somewhere on your system
// then it is important that any programs that use dlib agree on the state of the
// DLIB_ASSERT statements (i.e. they are either always on or always off). Therefore,
// uncomment one of the following lines to force all DLIB_AS... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE122_Heap_Based_Buffer_Overflow__CWE135_17.c
Label Definition File: CWE122_Heap_Based_Buffer_Overflow__CWE135.label.xml
Template File: sources-sinks-17.tmpl.c
*/
/*
* @description
* CWE: 122 Heap Based Buffer Overflow
* BadSource: Void pointer to a wchar_t array
* Go... |
/*
---------------------------------------------------------------------
Title: I/O in C
Developer:Kevin Chevalier
Labels: io
Difficulty:Easy
---------------------------------------------------------------------
=====================================================================
Description
=======... |
/*
* Copyright (c) 2014, Freescale Semiconductor, 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:
*
* o Redistributions of source code must retain the above copyright notice, this list... |
/* Copyright (c) 1982, Regents, University of California */
#include <sys/cdefs.h>
#ifndef lint
__RCSID("$Id: nargs.c,v 1.1 2014/12/11 17:12:17 christos Exp $");
#endif
#include <stdlib.h>
#include "global.h"
int
nargs(intptr_t arg) /* this is only here for address calculation */
{
/* We don't support these hacks */... |
#pragma once
class MaskTile : public Entity {
private:
static Texture* _maskTexture;
void _ParseSprites(std::string) override;
public:
MaskTile();
~MaskTile();
void ParseData(std::string, Texture*&, std::vector<std::string> = std::vector<std::string>()) override;
void HandleStates() override;
void HandleCol... |
//
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import "SimpleImgInfo.h"
@class CMessageWrap, NSString;
@interface SimpleMsgInfo : SimpleImgInfo
{
unsigned int m_uiMsgLocalID;
... |
#ifndef CRYPTOPP_AUTHENC_H
#define CRYPTOPP_AUTHENC_H
#include "cryptlib.h"
#include "secblock.h"
NAMESPACE_BEGIN(CryptoPP)
//! .
class CRYPTOPP_DLL CRYPTOPP_NO_VTABLE AuthenticatedSymmetricCipherBase : public AuthenticatedSymmetricCipher
{
public:
AuthenticatedSymmetricCipherBase() : m_state(State_Start) {}
bool... |
/* **********************************************************
* Copyright (c) 2011-2013 Google, Inc. All rights reserved.
* **********************************************************/
/*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following ... |
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "../library/commonUtils/arrayOperations.h"
void countedUnattainableVertex(bool* alreadyArray, int edges, int vertex, int** matrix, int fromVertex)
{
for (int i = 0; i < edges; ++i) {
if (matrix[fromVertex - 1][i] == 1... |
/*
CF3
Copyright (c) 2015 ishiura-lab.
Released under the MIT license.
https://github.com/ishiura-compiler/CF3/MIT-LICENSE.md
*/
#include<stdio.h>
#include<stdint.h>
#include<stdlib.h>
#include"test1.h"
int16_t x2 = 0;
volatile uint32_t x5 = 46U;
int8_t x9 = INT8_MAX;
int8_t x13 = INT8_MIN;
uint16_t x15 = 3U;
vol... |
#pragma once
#include <stdint.h>
#include <stdbool.h>
#include "keys.h"
#include "os_cx.h"
#include "types.h"
#include "ui.h"
#include "uint256.h"
size_t nano_avax_to_string(char *const dest, size_t const buff_size, uint64_t const nano_avax);
size_t wei_to_gwei_string(char *const dest, size_t const buff_size, uint64... |
#ifndef ESCHER_MESSAGE_TABLE_CELL_WITH_CHEVRON_H
#define ESCHER_MESSAGE_TABLE_CELL_WITH_CHEVRON_H
#include <escher/message_table_cell.h>
#include <escher/chevron_view.h>
namespace Escher {
class MessageTableCellWithChevron : public MessageTableCell {
public:
MessageTableCellWithChevron(I18n::Message message = (I18... |
/*
* Copyright (c) Contributors to the Open 3D Engine Project.
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#pragma once
#include <AzCore/std/typetraits/intrinsics.h>
namespace AZStd
{
using std::is_ba... |
/* ../netlib/clarf.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 end... |
/* Copyright 2018 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... |
/*
* (c) Copyright 2015 Hewlett Packard Enterprise Development LP
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License. You may obtain
* a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless ... |
/** @file HL_pinmux.c
* @brief PINMUX Driver Implementation File
* @date 20.May.2014
* @version 04.00.00
*
*/
/* (c) Texas Instruments 2009-2013, All rights reserved. */
/* Include Files */
#include "HL_pinmux.h"
#define PINMUX_GIOB_DISABLE_HET2_ENABLE(state) \
(pinMuxReg->PINMUX[179] = (pinMuxR... |
#define _NAND_TEST_DEV_C_
#include "nand_type.h"
#include "nand_blk.h"
#include "nand_dev.h"
struct nand_kobject *s_nand_kobj2;
extern struct _nand_info *p_nand_info;
extern struct kobj_type ktype;
extern struct _nftl_blk nftl_blk_head;
extern struct _nand_partition *build_nand_partition(struct _nand_phy_partition *... |
// Copyright 2019 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 CHROMEOS_SERVICES_DEVICE_SYNC_FAKE_CRYPTAUTH_FEATURE_STATUS_GETTER_H_
#define CHROMEOS_SERVICES_DEVICE_SYNC_FAKE_CRYPTAUTH_FEATURE_STATUS_GETTER_H... |
#ifndef NPY_SIMD
#error "Not a standalone header"
#endif
#ifndef _NPY_SIMD_AVX2_CVT_H
#define _NPY_SIMD_AVX2_CVT_H
// convert mask types to integer types
#define npyv_cvt_u8_b8(A) A
#define npyv_cvt_s8_b8(A) A
#define npyv_cvt_u16_b16(A) A
#define npyv_cvt_s16_b16(A) A
#define npyv_cvt_u32_b32(A) A
#define np... |
#include <sys/param.h>
#include <sys/stat.h>
#include <unistd.h>
#include <string.h>
#include <syslog.h>
#include <sys/file.h>
#include <fcntl.h>
#include <dirent.h>
#include <stdio.h>
#include <time.h>
#include "glconf.h"
char * read_conf_datapath ( char *rootpath, char *confpath ) {
FILE *fp;
char datapath[255];... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
//*****************************************************************************
// File: gdbjit.h
//
//
// Header fi... |
/*
* This source file is part of RmlUi, the HTML/CSS Interface Middleware
*
* For the latest information, see http://github.com/mikke89/RmlUi
*
* Copyright (c) 2008-2010 CodePoint Ltd, Shift Technology Ltd
* Copyright (c) 2019 The RmlUi Team, and contributors
*
* Permission is hereby granted, free of charge, to... |
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "NGAP-IEs"
* found in "asn/NGAP-IEs.asn"
* `asn1c -fcompound-names -findirect-choice -fno-include-deps -gen-PER -no-gen-OER -no-gen-example -D ngap -pdu=all`
*/
#include "NGAP_PDUSessionResourceFailedToSetupListSURes.h"
#include "NGA... |
#ifndef RAY_MARCHER_H
#define RAY_MARCHER_H
#include "renderer/vmapp.h"
class Context;
class RayMarcher {
public:
RayMarcher(Context& ctx);
void render(vk::CommandBuffer commandBuffer);
~RayMarcher();
private:
void initPipeline();
vk::DescriptorPool descPool;
vk::DescriptorSetLayout desc... |
/*
* Copyright 2009 Vincent Povirk
* Copyright 2016 Dmitry Timoshkov
*
* 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 (at your option) any ... |
/** Track queue.
Copyright (c) 2015 Simon Zolin */
#include <fmedia.h>
#include <FF/list.h>
#include <FF/data/m3u.h>
#include <FFOS/dir.h>
#include <FFOS/random.h>
#undef syserrlog
#define infolog(...) fmed_infolog(core, NULL, "queue", __VA_ARGS__)
#define dbglog0(...) fmed_dbglog(core, NULL, "queue", __VA_ARGS__)... |
#import <Foundation/Foundation.h>
#import "CedarDouble.h"
#import "CDRFake.h"
#import <sstream>
#import <string>
@interface CDRProtocolFake : CDRFake
- (id)initWithClass:(Class)klass forProtocols:(NSArray *)protocols requireExplicitStubs:(BOOL)requireExplicitStubs;
@end
id CDR_fake_for(BOOL require_explicit_stubs,... |
/*=============================================================================
NifTK: A software platform for medical image computing.
Copyright (c) University College London (UCL). All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY o... |
#ifndef SIMDJSON_ERROR_H
#define SIMDJSON_ERROR_H
#include <string>
namespace simdjson {
/**
* All possible errors returned by simdjson.
*/
enum error_code {
SUCCESS = 0, ///< No error
SUCCESS_AND_HAS_MORE, ///< No error and buffer still has more data
CAPACITY, ///< This pars... |
//------------------------------------------------------------------------------
// GB_unaryop: hard-coded functions for each built-in unary operator
//------------------------------------------------------------------------------
// SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2020, All Rights Reserved.
// http... |
/*
* Copyright (c) 2013-2016, Roland Bock
* 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 copyright notice, this
* list of cond... |
/**********************************************************************/
/* ____ ____ */
/* / /\/ / */
/* /___/ \ / */
/* \ \ \/ ... |
lamebus.o: ../../dev/lamebus/lamebus.c ../../include/types.h \
../../include/kern/types.h includelinks/kern/machine/types.h \
includelinks/machine/types.h ../../include/lib.h ../../include/cdefs.h \
opt-noasserts.h ../../include/cpu.h ../../include/spinlock.h \
../../include/hangman.h opt-hangman.h includelinks/mac... |
/**
* Copyright (c) 2018 Slavnejshev Filipp
* This file is licensed under the terms of the MIT license.
*/
#pragma once
#include <gamebase/GameBaseAPI.h>
#include <gamebase/impl/skin/base/ComboBoxSkin.h>
#include <gamebase/impl/relbox/IRelativeBox.h>
#include <gamebase/impl/tools/ObjectsCollection.h>
#include <gam... |
/*******************************************************************************
** File: cfe_psp_timer.c
**
**
** Copyright (c) 2004-2011, United States Government as represented by
** Administrator for The National Aeronautics and Space Administration.
** All Rights Reserved.
**
** This is gove... |
/*-
* Copyright 2016 Vsevolod Stakhov
*
* 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... |
#include <stdint.h>
#include <stdlib.h>
#include "RVCOS.h"
#define EXPECTED_RETURN 5
TThreadID MainThreadID, LowThreadID, HighThreadID;
void WriteString(const char *str){
const char *Ptr = str;
while(*Ptr){
Ptr++;
}
RVCWriteText(str,Ptr-str);
}
TThreadReturn LowPriorityThread(voi... |
//
// PAViewController.h
// PlayableAdsPreviewer
//
// Created by wzy2010416033@163.com on 09/29/2017.
// Copyright (c) 2017 wzy2010416033@163.com. All rights reserved.
//
@import UIKit;
@interface PAViewController : UIViewController
@end |
/* $Id: getifaddr.c,v 1.28 2022/02/19 18:58:25 nanard Exp $ */
/* vim: tabstop=4 shiftwidth=4 noexpandtab
* MiniUPnP project
* http://miniupnp.free.fr/ or https://miniupnp.tuxfamily.org/
* (c) 2006-2022 Thomas Bernard
* This software is subject to the conditions detailed
* in the LICENCE file provided within the d... |
/*
* This header is generated by classdump-dyld 1.5
* on Wednesday, April 28, 2021 at 9:14:37 PM Mountain Standard Time
* Operating System: Version 14.5 (Build 18L204)
* Image Source: /System/Library/PrivateFrameworks/WorkflowKi... |
//
// FMSearchTokenAttachmentCell.h
// Duoduo
//
// Created by zuoye on 14-1-23.
// Copyright (c) 2014年 zuoye. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@interface FMSearchTokenAttachmentCell : NSTokenFieldCell
@end |
// A simple program that builds a sqrt table
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
int main (int argc, char *argv[])
{
int i;
double result;
// make sure we have enough arguments
if (argc < 2)
{
return 1;
}
// open the outpu... |
/* TA-LIB Copyright (c) 1999-2008, Mario Fortier
* 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 copyright
* notice, this lis... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin Developers
// Copyright (c) 2011-2012 Litecoin Developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
//
// Why base-58 instead of stand... |
/* Copyright (C) 2000-2015 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 ... |
/*
* Halftone.h
* Copyright 1999-2000 Y.Takagi. All Rights Reserved.
*/
#ifndef __HALFTONE_H
#define __HALFTONE_H
#include <GraphicsDefs.h>
// definition for B_RGB32 (=B_RGB32_LITTLE) and B_RGBA32
typedef struct {
uchar blue;
uchar green;
uchar red;
uchar alpha; // unused in B_RGB32
} ColorRGB32Little;
// de... |
//
// NSArray+Extension.h
// DNProject
//
// Created by zjs on 2018/5/21.
// Copyright © 2018年 zjs. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface NSArray (Extension)
/** 数组转 json 字符串*/
- (nullable NSString *)dn_toJsonStrng;
/** 数组倒序 */
- (NSArray *)dn_reverse;
@en... |
/*
* Copyright (c) 2010-2016 Richard Geldreich, Jr. and Binomial LLC
* Copyright (c) 2020 FrozenStorm Interactive, Yoann Potinet
*
* 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.
... |
//////////////////////////////////////////////////////////////////////
// neep.h Copyright (c) 2018 Dario Ghersi and Sean West //
// Version: 20181223 //
// Goal: Survival analysis with the minimum p-value method and //
// empirically estimated null ... |
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_str_is_printable.c :+: :+: :+: ... |
/**
* Copyright (c) 2018 - 2020, Nordic Semiconductor ASA
*
* 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, th... |
/* vi:set ts=8 sts=4 sw=4 noet:
*
* VIM - Vi IMproved by Bram Moolenaar
*
* Do ":help uganda" in Vim to read copying and usage conditions.
* Do ":help credits" in Vim to see a list of people who contributed.
* See README.txt for an overview of the Vim source code.
*/
/*
* vim9type.c: handling of types
*/
#d... |
/*
* This file is part of the GROMACS molecular simulation package.
*
* Copyright (c) 2012,2013, by the GROMACS development team, led by
* David van der Spoel, Berk Hess, Erik Lindahl, and including many
* others, as listed in the AUTHORS file in the top-level source
* directory and at http://www.gromacs.org.
*
... |
/* -*- Mode: C; c-basic-offset:4 ; -*- */
/*
*
* (C) 2001 by Argonne National Laboratory.
* See COPYRIGHT in top-level directory.
*/
#include "mpiimpl.h"
/* -- Begin Profiling Symbol Block for routine MPI_Ssend */
#if defined(HAVE_PRAGMA_WEAK)
#pragma weak MPI_Ssend = PMPI_Ssend
#elif defined(HAVE_PRAGMA_HP... |
@import Foundation;
FOUNDATION_EXPORT double SQLiteVersionNumber;
FOUNDATION_EXPORT const unsigned char SQLiteVersionString[];
#import <SQLite/SQLite-Bridging.h> |
/*
* Copyright 2018, Decawave Limited, All Rights Reserved
*
* 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 un... |
//
// QIMWorkMomentView.h
// QIMUIKit
//
// Created by lilu on 2019/1/29.
// Copyright © 2019 QIM. All rights reserved.
//
#import "QIMCommonUIFramework.h"
#import "QIMWorkMomentModel.h"
NS_ASSUME_NONNULL_BEGIN
typedef void(^cellTagSelectBlock)(QIMWorkMomentTagModel * _Nonnull model);
@protocol MomentViewDelegat... |
#include "wtime.h"
#include <stdlib.h>
/* Prototype */
void wtime( double * );
/*****************************************************************/
/****** E L A P S E D _ T I M E ******/
/*****************************************************************/
double elapsed_time( void )
{
... |
/* =====================================================================
* Project: PULP DSP Library
* Title: plp_mat_fill_I_i16.c
* Description: 16-bit integer identity matrix creation glue code
*
* $Date: 16. July 2020
* $Revision: V0
*
* Target Processor: PULP cores
* ================... |
//
// Copyright 2016 Pixar
//
// Licensed under the Apache License, Version 2.0 (the "Apache License")
// with the following modification; you may not use this file except in
// compliance with the Apache License and the following modification to it:
// Section 6. Trademarks. is deleted and replaced with:
//
// 6. Trad... |
#ifndef WIN1_MAP_H
#define WIN1_MAP_H
#define win1_data_length 61
const unsigned char win1_data[] = {
255, 0, 0, 15, 255, 1, 0, 0, 14, 255, 255, 2, 0, 0, 38, 1,
1, 2, 3, 2, 3, 2, 7, 4, 1, 1, 2, 15, 14, 63, 48, 255,
192, 255, 0, 255, 0, 223, 32, 191, 64, 2... |
/* Generated by RuntimeBrowser
Image: /System/Library/Frameworks/UIKit.framework/UIKit
*/
@interface UIPrintPanelWindow : UIWindow
- (bool)_canAffectStatusBarAppearance;
@end |
/* coap-server.c -- Example CoAP server using Contiki and libcoap
*
* Copyright (C) 2011 Olaf Bergmann <bergmann@tzi.org>
*
* 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... |
#pragma once
#include <QMainWindow>
#include <QModelIndex>
#include "EventHandler.h"
#include "SocketReader.h"
#include "ScreenStreamer.h"
#include "NodeNameDialog.h"
#include "NodeModel.h"
QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
QT_END_NAMESPACE
struct Command;
struct ImageConverterInterface;
class Q... |
//
// AudioQueuePlayer.h
// iPhoneLib,
// Helper Functions and Classes for Ordinary Application Development on iPhone
//
// Created by meinside on 10. 05. 22.
//
// last update: 10.10.12.
//
#pragma once
#import <Foundation/Foundation.h>
//needs: AudioToolbox.framework
#import <AudioToolbox/AudioToolbox.h>
#de... |
/*
*
* Copyright 2016 gRPC authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... |
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/list.h>
#include <linux/io.h>
#include <linux/clk.h>
#include <linux/clk/mmp.h>
#include "addr-map.h"
#include "common.h"
#include "clock.h"
/*
* APB clock register offsets for PXA168
*/
#define APBC_UART1 APBC_REG(0x000)
#... |
/*
$Author = Sargis Ananyan;
$Corp = RedM Inc;
$Web = https://redm.pro/;
$Lincese = BSD 3;
$Name = mLang;
$Description = A programming language for web programming.;
*/
#pragma once
#include "../common.h"
#include "trie.h"
template <typename T> struct Helper {
Trie <T*> trie;
T* on_fail;
explicit Helper (T* on... |
/*++
Copyright (c) 2015 Microsoft Corporation
Module Name:
seq_rewriter.h
Abstract:
Basic rewriting rules for sequences constraints.
Author:
Nikolaj Bjorner (nbjorner) 2015-12-5
Notes:
--*/
#pragma once
#include "ast/seq_decl_plugin.h"
#include "ast/ast_pp.h"
#include "ast/arith_decl_plugin.h"
#inc... |
//
// YSCButterflyViewController.h
// YSCAnimationDemo
//
// Created by yushichao on 16/8/25.
// Copyright © 2016年 YSC. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface YSCButterflyViewController : UIViewController
@end |
// SPDX-License-Identifier: GPL-2.0+
/* Copyright (c) 2018-2019 Hisilicon Limited. */
#include <linux/debugfs.h>
#include <linux/device.h>
#include "hnae3.h"
#include "hns3_debugfs.h"
#include "hns3_enet.h"
static struct dentry *hns3_dbgfs_root;
static struct hns3_dbg_dentry_info hns3_dbg_dentry[] = {
{
.name = ... |
// Copyright (c) 2011, Marin Saric <marin.saric@gmail.com>
// All rights reserved.
//
// This file is a part of LibHand. LibHand is open-source software. You can
// redistribute it and/or modify it under the terms of the LibHand
// license. The LibHand license is the BSD license with an added clause that
// requires ac... |
/***************************************************************************
* *
* Porting Note *
* *
* Add the v... |
/**
* \file touch.h
*
* \brief Function prototypes for the Touch interface
*/
/*
* Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/
*/
/*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*... |
/**
Copyright 2009-2018 National Technology and Engineering Solutions of Sandia,
LLC (NTESS). Under the terms of Contract DE-NA-0003525, the U.S. Government
retains certain rights in this software.
Sandia National Laboratories is a multimission laboratory managed and operated
by National Technology and Engineering... |
/*-
* BSD LICENSE
*
* Copyright(c) 2010-2017 Intel Corporation. All rights reserved.
* 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... |
/*
ssheap_aka.c
Copyright:
Copyright (c) 2002-2007 SFNT Finland Oy.
All Rights Reserved.
*/
#include "sshincludes.h"
#include "sshbuffer.h"
#include "sshcrypt.h"
#include "ssheap.h"
#include "ssheapi.h"
#include "ssheap_packet.h"
#include "ssheap_aka.h"
#define SSH_DEBUG_MODULE "SshEapAka"
#ifdef SS... |
#ifndef __I_STR_H__
#define __I_STR_H__
#include "mgtype.h"
#define I_STR "i_str"
typedef struct {
void (*mem_cpy)(void *dst, void *src, _u32 sz);
_s32 (*mem_cmp)(void *, void *, _u32);
void (*mem_set)(void *, _u8, _u32);
_u32 (*str_len)(_str_t);
_s32 (*str_cmp)(_str_t, _str_t);
_s32 (*str_ncmp)(_str_t, _str_t... |
/**
******************************************************************************
* @file usb_core.h
* @author MCD Application Team
* @version V4.0.0
* @date 28-August-2012
* @brief Standard protocol processing functions prototypes
****************************************************************... |
// Copyright 2018 AntorFR
//
// 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 writin... |
/*
==============================================================================
This file is part of the JUCE examples.
Copyright (c) 2017 - ROLI Ltd.
The code included in this file is provided under the terms of the ISC license
http://www.isc.org/downloads/software-support-policy/isc-license. Permiss... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.