text stringlengths 9 948k |
|---|
/*
* Copyright (C) Advanced Micro Devices, Inc. 2019. ALL RIGHTS RESERVED.
* See file LICENSE for terms.
*/
#include "rocm_copy_md.h"
#include <uct/rocm/base/rocm_base.h>
#include <string.h>
#include <limits.h>
#include <ucs/debug/log.h>
#include <ucs/sys/sys.h>
#include <ucs/debug/memtrack.h>
#include <ucs/type/... |
//
// MTXURLRequestSerialization.h
// MTXNetworking Example
//
// Created by MTX on 2019/4/14.
// Copyright © 2019 MTX Software Technology Co.,Ltd. All rights reserved.
//
// AFURLRequestSerialization.h
// Copyright (c) 2011–2016 Alamofire Software Foundation ( http://alamofire.org/ )
//
// Permission is hereby gr... |
#ifndef GXX_CREADER_H
#define GXX_CREADER_H
#include <string>
#include <gxx/buffer.h>
namespace gxx {
struct chars_set_checker {
gxx::buffer pattern;
bool tgt;
chars_set_checker(gxx::buffer _pattern, bool _tgt = true) : pattern(_pattern), tgt(_tgt) {}
bool operator()(char c) {
... |
/* Generated by RuntimeBrowser
Image: /System/Library/PrivateFrameworks/iWorkImport.framework/iWorkImport
*/
@interface TSCH3DRayPickRenderProcessor : TSCH3DRetargetRenderProcessor {
TSCH3DDataBuffer * mBuffer;
NSMutableArray * mPickedPoints;
struct tvec2<float> {
union {
float x;... |
// Copyright (c) 2011 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 CONTENT_RENDERER_PEPPER_PPB_PROXY_IMPL_H_
#define CONTENT_RENDERER_PEPPER_PPB_PROXY_IMPL_H_
struct PPB_Proxy_Private;
namespace content {
c... |
// 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_OBJECTS_VISITING_INL_H_
#define V8_OBJECTS_VISITING_INL_H_
namespace v8 {
namespace internal {
template<typename StaticVisitor>
void Stati... |
#ifndef RIPPLE_PROTOCOL_PROTOCOL_H_INCLUDED
#define RIPPLE_PROTOCOL_PROTOCOL_H_INCLUDED
#include <ripple/basics/base_uint.h>
#include <ripple/basics/ByteUtilities.h>
#include <cstdint>
namespace ripple {
std::size_t constexpr txMinSizeBytes = 32;
std::size_t constexpr txMaxSizeBytes = megabytes(1);
std::size_t... |
/*
* (C) 2003-2006 Gabest
* (C) 2006-2018 see Authors.txt
*
* This file is part of MPC-BE.
*
* MPC-BE 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 opt... |
/*
* This header is generated by classdump-dyld 1.5
* on Wednesday, October 27, 2021 at 3:17:06 PM Mountain Standard Time
* Operating System: Version 13.5.1 (Build 17F80)
* Image Source: /System/Library/PrivateFrameworks/MapsSug... |
//
// 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... |
//
// Generated by the J2ObjC translator. DO NOT EDIT!
// source: android/libcore/luni/src/main/java/java/util/FormatFlagsConversionMismatchException.java
//
#include "../../J2ObjC_header.h"
#pragma push_macro("JavaUtilFormatFlagsConversionMismatchException_INCLUDE_ALL")
#ifdef JavaUtilFormatFlagsConversionMismatc... |
//
// Created by tairy on 2020/11/21.
//
#include "string.h"
#include "list.h"
#include "util.h"
/**
* 初始化链表
* @param list
* @param destroy
*/
void list_init(struct list *list, void (*destroy)(void *data)) {
list->size = 0;
list->destroy = destroy;
list->head = NULL;
list->tail = NULL;
}
/**
* 销... |
/**
* Copyright (C) 2018-present MongoDB, Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the Server Side Public License, version 1,
* as published by MongoDB, Inc.
*
* This program is distributed in the hope that it will be useful,
* but W... |
// 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 BITCOIN_QT_RECENTREQUESTSTABLEMODEL_H
#define BITCOIN_QT_RECENTREQUESTSTABLEMODEL_H
#include "walletmodel.h"
#inclu... |
/*!
\file system_gd32f1x0.c
\brief CMSIS Cortex-M3 Device Peripheral Access Layer Source File for
GD32F1x0 Device Series
*/
/* Copyright (c) 2012 ARM LIMITED
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that t... |
/* Routines for reading bedTabix formatted files. bedTabix files are bed files indexed by tabix. Indexing
* works like vcfTabix does.
*
* This file is copyright 2016 Jim Kent, but license is hereby
* granted for all use - public, private or commercial. */
#ifndef BEDTABIX_H
#define BEDTABIX_H
#include "linefile.h... |
/*
* This header is generated by classdump-dyld 1.0
* on Sunday, September 27, 2020 at 11:52:26 AM Mountain Standard Time
* Operating System: Version 14.0 (Build 18A373)
* Image Source: /System/Library/PrivateFrameworks/CloudKitDaemon.framework/CloudKitDaemon
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2... |
//=========================================================================
// Copyright (C) 2012 The Elastos Open Source Project
//
// 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
//
// ... |
#import <UIKit/UIKit.h>
@interface TGModernConversationGenericContextResultsAssociatedPanelSwitchPm : UIView
@property (nonatomic, copy) void (^pressed)();
@property (nonatomic, strong) NSString *title;
- (void)setBackgroundColor:(UIColor *)backgroundColor separatorColor:(UIColor *)separatorColor accentColor:(UIColo... |
/*
* Copyright 2018, Andrew Lindesay <apl@lindesay.co.nz>.
* All rights reserved. Distributed under the terms of the MIT License.
*/
#ifndef REPOSITORY_URL_UTILS_H
#define REPOSITORY_URL_UTILS_H
#include <Url.h>
class RepositoryUrlUtils {
public:
static void NormalizeUrl(BUrl& url);
static bool EqualsNo... |
//
// YZMoviePlayerView.h
// MoviePlayer
//
// Created by wyz on 16/3/30.
// Copyright © 2016年 wyz. All rights reserved.
//
#import <UIKit/UIKit.h>
typedef void (^PlayButtonBlock)();
@interface YZMoviePlayerView : UIView
/**标题 */
@property (nonatomic, copy) NSString *title;
/**是否正在播放 */
@property (nonatomic, a... |
#ifndef __SCRIPTINGPARTICLES_H__
#define __SCRIPTINGPARTICLES_H__
#include "BrokenCore.h"
BE_BEGIN_NAMESPACE
class BROKEN_API ScriptingParticles {
public:
ScriptingParticles();
~ScriptingParticles();
public:
void ActivateParticleEmitter(uint gameobject_UUID) const;
void DeactivateParticleEmitter(uint gameobject_... |
/*
* Copyright (c) Facebook, Inc. and 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 applic... |
/*
* Copyright 2020 OmniSci, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... |
#ifndef _fb654ad0_db5f_4387_ba52_53c0a5f3b023_
#define _fb654ad0_db5f_4387_ba52_53c0a5f3b023_
#include "SettingsWindow.h"
#include "OpenSaveFileDialog.h"
#include "CodeGenerator.h"
#include "StateController.h"
#include "MainPaneControl.h"
#include "sigslot.h"
namespace tools
{
class EditorState :
public StateCont... |
#include "lvgl_rtt_drv.h"
#include "lvgl.h"
#include <rtthread.h>
#include <rtdevice.h>
#include "lvgl_rtt_theme.h"
static void lvgl_demo_run(void *p)
{
lv_theme_t *th = lv_theme_material_init(210, LV_FONT_DEFAULT);
lv_test_theme(th);
while(1)
{
rt_thread_delay(RT_TICK_PER_SECOND/100);... |
// SPDX-FileCopyrightText: 2021 deroad <wargio@libero.it>
// SPDX-License-Identifier: LGPL-3.0-only
#include <rz_util.h>
#include <rz_msg_digest.h>
#include "minunit.h"
typedef struct {
const ut8 *input;
size_t input_size;
const char *algo;
const char *expected;
} hash_data_t;
typedef struct {
const ut8 *input;... |
/*****************************************************************************
* Copyright (C) 2008-2011 Massachusetts Institute of Technology *
* *
* Permission is hereby granted, free of charge, to any person obtaining *
* ... |
// Copyright (c) YugaByte, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
// in compliance with the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writ... |
/*
* (C) Copyright 2005-2009
* BuS Elektronik GmbH & Co.KG <esw@bus-elektonik.de>
*
* (C) Copyright 2000-2003
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*
* See file CREDITS for list of people who contributed to this
* project.
*
* This program is free software; you can redistribute it and/or
* ... |
/* ipm_quark_se.h - Quark SE mailbox driver */
/*
* Copyright (c) 2015 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... |
#pragma once
#include <vector>
#include <BokutachiHook/framework.h>
//https://guidedhacking.com/threads/how-to-hack-any-game-first-internal-hack-dll-tutorial.12142/
namespace mem
{
bool Detour32(void* src, void* dst, int len);
uintptr_t FindDMAAddy(uintptr_t ptr, const std::vector<unsigned int>& offsets);
} |
/*
* Generated by class-dump 3.3.4 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard.
*/
#import <DevToolsInterface/PBXInspectorPaneModule.h>
#import "NSTextViewDelegate-Protocol.h"
#import "PBXSourceLexerDelegate-Protocol.h"
@class NSButton, NSTextField, NSTextVie... |
/*
* 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) 2004-2005 The Trustees of Indiana University and Indiana
* University Research and Technology
* Corporation. All rights reserved.
* Copyright (c) 2004-2005 The University of Tennessee and The University
* of Tennessee Resea... |
#ifndef GAME_SERVER_ENTITIES_WALL_H
#define GAME_SERVER_ENTITIES_WALL_H
#include <game/server/entity.h>
class CWall : public CEntity
{
public:
CWall(CGameWorld *pGameWorld, vec2 Pos, vec2 Pos2, int Owner);
void Reset();
virtual void Tick();
virtual void Snap(int SnappingClient);
vec2 m_StartPos;
vec2 m_EndPos... |
/**
* @file
*
* Neighbor discovery and stateless address autoconfiguration for IPv6.
* Aims to be compliant with RFC 4861 (Neighbor discovery) and RFC 4862
* (Address autoconfiguration).
*/
/*
* Copyright (c) 2010 Inico Technologies Ltd.
* All rights reserved.
*
* Redistribution and use in source and binary ... |
/*
* 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 Apache License... |
#ifndef BUILTINS_H
#define BUILTINS_H
#ifdef _WIN32
#ifndef NO_SOCKET
// must be included before windows.h
#include <winsock2.h>
#endif
#endif
#include "doops.h"
#include "js_engine.h"
#define DEFAULT_FRAMEWORK_DIR "framework"
#ifndef WITH_DUKTAPE
js_object_type global_stash(JS_CONTEXT ctx... |
/*! @file */
/*
Copyright (C) 2008, kobake
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.
Permission is granted to anyone to use this software for any purpose,
including commercial ap... |
#pragma once
#include <Core/ResourceManager/Resource.h>
#include <FmodPlugin/FmodPluginDLL.h>
typedef ezTypedResourceHandle<class ezFmodSoundEventResource> ezFmodSoundEventResourceHandle;
typedef ezTypedResourceHandle<class ezFmodSoundBankResource> ezFmodSoundBankResourceHandle;
struct EZ_FMODPLUGIN_DLL ezFmodSoundE... |
/**
* @file HTTP_Response.h
*
* @author Martin Corino <mcorino@remedy.nl>
*/
#ifndef ACE_HTTP_RESPONSE_H
#define ACE_HTTP_RESPONSE_H
#include /**/ "ace/pre.h"
#include /**/ "ace/config-all.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
#include "ace/Containers_T.h"
#in... |
// Triangle.h
// Draws a square.
#ifndef TRIANGLE_H
#define TRIANGLE_H
#include <sys/types.h>
#include <string>
#include "Polygon.h"
class Triangle : public Polygon {
public:
Triangle() = default;
Triangle(double sideLength) : Polygon(3, sideLength) {};
};
#endif |
/******************************************************************************
Copyright (c) 1996 - 2004 -- University of Washington
******************************************************************************/
#ifndef __DEFAULT_MD_BARRIER_H_
#define __DEFAULT_MD_BARRIER_H_
#ifndef _BarrierSynch
vo... |
// SPDX-License-Identifier: GPL-2.0
// RTC driver for ChromeOS Embedded Controller.
//
// Copyright (C) 2017 Google, Inc.
// Author: Stephen Barber <smbarber@chromium.org>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/platform_data/cros_ec_commands.h>
#include <linux/platform_data/cros_ec_proto.h... |
/*-
* Copyright (c) 2008-2016 Varnish Software AS
* All rights reserved.
*
* Author: Guillaume Quintard <guillaume.quintard@gmail.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 s... |
//
// UIView+MASAdditions.h
// Masonry
//
// Created by Jonas Budelmann on 20/07/13.
// Copyright (c) 2013 cloudling. All rights reserved.
//
#import "MASUtilities.h"
#import "MASConstraintMaker.h"
#import "MASViewAttribute.h"
/**
* Provides constraint maker block
* and convience methods for creating MASViewAt... |
#ifndef LIST_H
#define LIST_H
#include "item.h"
typedef struct {
int numElements;
char *name;
Item *first;
Item *last;
} list_t;
Item *nodeAlloc();
void freeItem( Item *node );
void initList( list_t *list_p );
int listCount( list_t *list );
Item* onList( list_t *list, char *board); // return an item with sa... |
//
// SparkViewAnimator.h
// SparkDemo
//
// Created by fengbang on 2019/8/16.
// Copyright © 2019 王颖博. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "FireworkSpark.h"
NS_ASSUME_NONNULL_BEGIN
@protocol SparkViewAnimator <NSObject>
- (void)animate:(FireworkSpark *)spark duration:(NSTimeInterval... |
/*-
* Copyright (c) 2008-2014 WiredTiger, Inc.
* All rights reserved.
*
* See the file LICENSE for redistribution information.
*/
#include "wt_internal.h"
/*
* There's no malloc interface, WiredTiger never calls malloc.
*
* The problem is an application might allocate memory, write secret stuff in
* it, free... |
// 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 MEDIA_BASE_AUDIO_DECODER_CONFIG_H_
#define MEDIA_BASE_AUDIO_DECODER_CONFIG_H_
#include <vector>
#include "base/basictypes.h"
#include "base/... |
/**
* Copyright 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 applicable law... |
/*
* Copyright 2012 Red Hat Inc.
*
* 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, publish, d... |
#include <stdint.h>
void motors_init();
void motors_loop();
#define DUTY_MAX 200
#define MOTOR_WEAPON 0
#define MOTOR_LEFT 1
#define MOTOR_RIGHT 2
void set_motor_direction_duty(uint8_t motor_id, int16_t direction_and_duty);
void motors_all_off();
void enable_motor_brake(uint8_t motor_id); |
/*
* Copyright 2017 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef GrCCCoverageProcessor_DEFINED
#define GrCCCoverageProcessor_DEFINED
#include "include/private/SkNx.h"
#include "src/gpu/GrCaps.h"
#include "src/gpu/GrGeometryProcesso... |
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
#pragma once
namespace Transp... |
//
// Copyright (c) 2017 ZJULearning. All rights reserved.
//
// This source code is licensed under the MIT license.
//
#ifndef EFANNA2E_GRAPH_H
#define EFANNA2E_GRAPH_H
#include <cstddef>
#include <vector>
#include <mutex>
#include <string.h>
namespace efanna2e {
struct Neighbor {
unsigned id;
float distan... |
/*
* 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 ... |
/*
*
* Copyright 2015 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... |
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
#include "LeasLayr.h"
#include... |
/*
*
* University of Luxembourg
* Laboratory of Algorithmics, Cryptology and Security (LACS)
*
* FELICS - Fair Evaluation of Lightweight Cryptographic Systems
*
* Copyright (C) 2015 University of Luxembourg
*
* Written in 2015 by Daniel Dinu <dumitru-daniel.dinu@uni.lu>
*
* This file is part of FELICS.
*
*... |
/*
* QEMU VMWARE VMXNET* paravirtual NICs - TX packets abstractions
*
* Copyright (c) 2012 Ravello Systems LTD (http://ravellosystems.com)
*
* Developed by Daynix Computing LTD (http://www.daynix.com)
*
* Authors:
* Dmitry Fleytman <dmitry@daynix.com>
* Tamir Shomer <tamirs@daynix.com>
* Yan Vugenfirer <yan@d... |
/*
* Copyright (c) 2000-2001 Sendmail, Inc. and its suppliers.
* All rights reserved.
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* Chris Torek.
*
* By using this file, you agree to the te... |
/*
* 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... |
/*
* Copyright (c) 2020 Samsung Electronics Co., Ltd. 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
*
* Unle... |
//---------------------------------------------------------------------------
// Greenplum Database
// Copyright (C) 2012 EMC Corp.
//
// @filename:
// CParseHandlerLogicalWindow.h
//
// @doc:
// Parse handler for parsing a logical window operator
//
//-----------------------------------------------------------------... |
/** ffbase: merge-sort implementation
2020, Simon Zolin
*/
/* Merge sort algorithm:
{ n0 ... nMid ... nLast }
. if the number of elements is small: use insertion-sort algorithm
. sort elements in range [n0..nMid)
. sort elements in range [nMid..nLast]
. merge both sorted arrays together into temporary storage
. copy d... |
// Copyright 2020 The Fuchsia 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 SRC_UI_SCENIC_LIB_FLATLAND_DEFAULT_FLATLAND_PRESENTER_H_
#define SRC_UI_SCENIC_LIB_FLATLAND_DEFAULT_FLATLAND_PRESENTER_H_
#include <fuchsia/ui/sce... |
/* Pulse counter module - Example
For other examples please check:
https://github.com/espressif/esp-idf/tree/master/examples
This example code is in the Public Domain (or CC0 licensed, at your option.)
Unless required by applicable law or agreed to in writing, this
software is distributed on an "AS IS... |
/* mbed Microcontroller Library
*******************************************************************************
* Copyright (c) 2014, STMicroelectronics
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following condition... |
/*
* This header is generated by classdump-dyld 1.5
* on Friday, April 30, 2021 at 11:36:54 AM Mountain Standard Time
* Operating System: Version 13.5.1 (Build 17F80)
* Image Source: /System/Library/Frameworks/NetworkExtension.f... |
/*
* Copyright 2010-2012 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 "lice... |
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
/* dbus-pipe-win.c windows related pipe implementation
*
* Copyright (C) 2002, 2003, 2006 Red Hat, Inc.
* Copyright (C) 2003 CodeFactory AB
*
* Licensed under the Academic Free License version 2.1
*
* This program is free software; you can red... |
/*
* ===========================================================================
* Loom SDK
* Copyright 2011, 2012, 2013
* The Game Engine Company, 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 o... |
//
// BinzDealListController.h
// XiaoTuanTuanHD
//
// Created by 张彬 on 2018/9/30.
// Copyright © 2018 bin.z. All rights reserved.
// 团购列表(基类)
#import <UIKit/UIKit.h>
@class BinzDeal;
@interface BinzDealListController : UICollectionViewController
/** 团购数据 */
@property (nonatomic, strong) NSMutableArray<BinzDea... |
// Copyright 2020, Kay Hayen, mailto:kay.hayen@gmail.com
//
// Part of "Nuitka", an optimizing Python compiler that is compatible and
// integrates with CPython, but also works on its own.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in co... |
/*
* Copyright (c) 2008-2020 Stefan Krah. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of co... |
#ifndef CONSTANTGRID__H
#define CONSTANTGRID__H
#include <string>
#include <disenum/Enumeration.h>
namespace DIS {
class ConstantGrid : public Enumeration {
public:
static ConstantGrid CONSTANT_GRID;
static ConstantGrid UPDATED_GRID;
/** Returns the string description associated with the enumerat... |
//32 bits
#include <sys/mman.h>
#include <sys/stat.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <elf.h>
#include <fcntl.h>
#include <unistd.h>
#include "Instruction.h"
#include "Computer.h"
void* loadFile(char* filename){
int fd;
struct stat sb;
void* fileBase;
fd = ... |
//
// YYTextSelectionView.h
// YYText <https://github.com/ibireme/YYText>
//
// Created by ibireme on 15/2/25.
// Copyright (c) 2015 ibireme.
//
// This source code is licensed under the MIT-style license found in the
// LICENSE file in the root directory of this source tree.
//
#import <UIKit/UIKit.h>
#if __ha... |
#ifndef TRAIN_GFX_SHADER_H
#define TRAIN_GFX_SHADER_H
#include "../ogl.h"
#include <string>
#include "../res/vertex-definition.h"
namespace train {
namespace gfx {
class ShaderProgram {
GLuint vertexShader;
GLuint fragmentShader;
GLuint program;
public:
... |
/******************************************************************************
* SOFA, Simulation Open-Framework Architecture, development version *
* (c) 2006-2017 INRIA, USTL, UJF, CNRS, MGH *
* *
... |
// Copyright (c) YugaByte, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
// in compliance with the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writ... |
//
// CountryEntity+CoreDataProperties.h
// YaTraslator
//
// Created by Мартынов Дмитрий on 10/05/17.
// Copyright © 2017 Мартынов Дмитрий. All rights reserved.
//
// Choose "Create NSManagedObject Subclass…" from the Core Data editor menu
// to delete and recreate this implementation file for your updated model... |
/*
* Copyright (C) 2012 BMW Car IT GmbH
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... |
#ifndef PHYSICS2D_DYNAMICS_JOINT_POINT_H
#define PHYSICS2D_DYNAMICS_JOINT_POINT_H
#include "joint.h"
namespace Physics2D
{
struct PointJointPrimitive
{
Body* bodyA;
Vector2 localPointA;
Vector2 targetPoint;
Vector2 normal;
real damping = 0.0;
real stiffness = 0.0;
real frequency = 8;
real maxForce = ... |
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/* Coding Buffer Implementation */
/*
* Implementation
*
* Encoding mode
*
* The encoding buffer is filled from bottom (lowest address) to top
* (highest address). This makes it easier to expand the buffer,
* since realloc preserves t... |
/**
* @file
* Address Resolution Protocol module for IP over Ethernet
*
* Functionally, ARP is divided into two parts. The first maps an IP address
* to a physical address when sending a packet, and the second part answers
* requests from other machines for our physical address.
*
* This implementation complies... |
#pragma once
#include "global.h"
#include "Level/LevelDynamicTile.h"
class InteractComponent;
class CheckpointTile final : public LevelDynamicTile {
public:
CheckpointTile(LevelScreen* levelScreen);
bool init(const LevelTileProperties& properties) override;
void loadAnimation(int skinNr) override;
void onRightC... |
/*
+----------------------------------------------------------------------+
| Swoole |
+----------------------------------------------------------------------+
| This source file is subject to version 2.0 of the Apache license, |
| that is bundled wi... |
/****************************************************************************
* arch/arm/src/tiva/tiva_irq.c
*
* Copyright (C) 2009, 2011, 2013-2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modificatio... |
/*
* Arm SCP/MCP Software
* Copyright (c) 2019-2020, Arm Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <stdbool.h>
#include <fwk_id.h>
#include <fwk_interrupt.h>
#include <fwk_mm.h>
#include <fwk_module.h>
#include <fwk_status.h>
#include <mod_dw_apb_i2c.h>
#i... |
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2020 The PIVX developers
// Copyright (c) 2020 The JDCOIN developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef MASTERNODE_PAYMENTS_H
#define ... |
/*
* 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... |
/* Generated automatically. DO NOT EDIT! */
#define SIMD_HEADER "simd-generic128.h"
#include "../common/q1fv_2.c" |
#define LENGTH 16
/* md5hl.c
* ----------------------------------------------------------------------------
* "THE BEER-WARE LICENSE" (Revision 42):
* <phk@FreeBSD.org> wrote this file. As long as you retain this notice you
* can do whatever you want with this stuff. If we meet some day, and you think
* this stuf... |
#import <Foundation/Foundation.h>
#import "YapDatabase.h"
NS_ASSUME_NONNULL_BEGIN
/**
* The connection pool class was designed to help you optimize background read-only transactions.
* As a reminder:
*
* - You're encouraged to use a dedicated read-only connection for the main thread.
* https://github.com/yaps... |
//
// SKTableViewController.h
// MJRefreshExample
//
// Created by Code_Hou on 2017/4/9.
// Copyright © 2017年 侯森魁. All rights reserved.
//
#import <UIKit/UIKit.h>
//#define SKPerformSelectorLeakWarning(Stuff) \
//_Pragma("clang diagnostic push") \
//_Pragma("clang diagnostic ignored \"-Warc-performSelector-leaks\"... |
/*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2017 - ROLI Ltd.
JUCE is an open source library subject to commercial or open-source
licensing.
By using JUCE, you agree to the terms of both the JUCE 5 End-User Lic... |
// SPDX-License-Identifier: GPL-2.0
/*
* GPL HEADER START
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 only,
* as published by the Free Software Foundatio... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.