text stringlengths 9 948k |
|---|
/****************************************************************************
* arch/arm/src/imxrt/imxrt_wdog.h
*
* 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 o... |
/*
* This file is part of the MicroPython project, http://micropython.org/
*
* The MIT License (MIT)
*
* Copyright (c) 2013, 2014 Damien P. George
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* i... |
#pragma once
#include "common.h"
#include <random>
// Game information
template <typename _Data>
struct InfoT {
using Data = _Data;
using State = typename Data::State;
// Meta info for this game.
const MetaInfo meta;
// Game data (state, etc)
// Note that data should have the following metho... |
// Automatically generated file, do not edit.
#pragma once
inline constexpr uint8_t Lights[] = {
17, 24,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x07,0x07,0x07,0xff,0xff,0xff,0xff,0xff,0xff,0xff,
0xff,0xff,0xff,0xff,0x07,0x07,0x07,0x05,0... |
/* Copy UTF-8 string.
Copyright (C) 1999, 2002, 2006, 2009-2018 Free Software Foundation, Inc.
Written by Bruno Haible <bruno@clisp.org>, 2002.
This program 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 Softwa... |
#ifndef CC_BASE_DISTRIBUTION_H
#define CC_BASE_DISTRIBUTION_H
#include <string>
#include <random>
#include <map>
#include "cc/cc_component.h"
#include "core/comps/cc_mt19937.h"
namespace cc
{
/**
TODO: Implement a total weight function.
TODO: Possibly rename size as it's weird.
*/
//! Int... |
/*
Copyright (C) 2014 Parrot SA
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 conditions and the following dis... |
/*
* jabberd - Jabber Open Source Server
* Copyright (c) 2002-2004 Jeremie Miller, Thomas Muldowney,
* Ryan Eatmon, Robert Norris
*
* 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 Soft... |
/*
* Copyright (c) 2003-2017 Rony Shapiro <ronys@pwsafe.org>.
* All rights reserved. Use of the code is allowed under the
* Artistic License 2.0 terms, as specified in the LICENSE file
* distributed with this code, or available from
* http://www.opensource.org/licenses/artistic-license-2.0.php
*/
#pragma once
// Impor... |
/**********************************************************************
* File: ChildWidget.h
* Description: ChildWidget functions
* Author: Marcel Kolodziejczyk
* Created: 2010-01-06
*
* (C) Copyright 2010, Marcel Kolodziejczyk
* (C) Copyright 2011-2014, Zdenko Podobny
* (C) Copyright 2012, Zohar Gofer... |
#ifndef __TYPEDEF_H__
#define __TYPEDEF_H__
#include <stdint.h>
#include <stdbool.h>
using namespace std;
#define CHAR8 char
#define UINT8 uint8_t
#define UINT16 uint16_t
#define UINT32 uint32_t
#define UINT64 uint64_t
#define UIN... |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/ec2/EC2_EXPORTS.h>
#include <aws/ec2/EC2Request.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace EC2
{
namespace Model
{
... |
//==============================================================================
//
// sensor_epsonG364PDC0.h - Epson G364PDC0 sensor specific definitions
//
//
// THE SOFTWARE IS RELEASED INTO THE PUBLIC DOMAIN.
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT... |
// 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_EDK_SYSTEM_MESSAGE_IN_TRANSIT_QUEUE_H_
#define MOJO_EDK_SYSTEM_MESSAGE_IN_TRANSIT_QUEUE_H_
#include <deque>
#include "base/memory/scoped_pt... |
// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Driver for NXP PN533 NFC Chip - core functions
*
* Copyright (C) 2011 Instituto Nokia de Tecnologia
* Copyright (C) 2012-2013 Tieto Poland
*/
#include <linux/device.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/nfc.... |
/* Copyright (c) 2006-2012 Filip Wasilewski <http://en.ig.ma/> */
/* See COPYING for license details. */
#include "templating.h"
#ifndef TYPE
#error TYPE must be defined here.
#else
#include "common.h"
#if defined _MSC_VER
#define restrict __restrict
#elif defined __GNUC__
#define restrict __restrict__
#endif
/* P... |
/*
* Copyright (C) 2003, 2004 Stefan Leichter
* Copyright (C) 2005, 2006 Detlef Riekenberg
* Copyright (C) 2006 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; e... |
/*
Copyright (C) 2015 CS416/CS516
This program can be distributed under the terms of the GNU GPLv3.
See the file COPYING.
*/
#ifndef _BLOCK_H_
#define _BLOCK_H_
#define BLOCK_SIZE 512
void disk_open(const char *diskfile_path);
void disk_close();
int block_read(const int block_num, void *buf);
int block_write(... |
/******************************************************************************
*
* Copyright(c) 2012 - 2014 Intel Corporation. All rights reserved.
* Copyright(c) 2013 - 2015 Intel Mobile Communications GmbH
* Copyright(c) 2016 - 2017 Intel Deutschland GmbH
* All rights reserved.
*
* Redistribution and use in s... |
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "NR-RRC-Definitions"
* found in "/home/labadmin/hlal/rrc_15.3_asn.asn1"
* `asn1c -D ./15_3_rrc/ -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example`
*/
#ifndef _NAICS_Capability_Entry_H_
#define _NAICS_Capabi... |
// Copyright (c) 2011-2013 The Moneta developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef MONETA_QT_TRANSACTIONDESCDIALOG_H
#define MONETA_QT_TRANSACTIONDESCDIALOG_H
#include <QDialog>
namespace Ui {
cla... |
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "WXPBGeneratedMessage.h"
@class BaseResponse, NSString;
@interface GetChatRoomUpgradeStatusResp : WXPBGeneratedMessage
{
}
+ (void)initialize;
// Remaining properties
@p... |
#include <std.h>
#include "/d/islands/tonerra/areadefs.h"
inherit ROOM;
void create(){
::create();
set_terrain(VILLAGE);
set_travel(DIRT_ROAD);
set_short("A jungle village");
set_long(
@DESC
You are walking along the western side of the village.
There are tall wooden posts that surround the village
making... |
// Copyright (c) Facebook, Inc. and its affiliates.
#ifndef _CUDA_UTILS_H
#define _CUDA_UTILS_H
#include <ATen/ATen.h>
#include <ATen/cuda/CUDAContext.h>
#include <cmath>
#include <cuda.h>
#include <cuda_runtime.h>
#include <vector>
#define TOTAL_THREADS 512
inline int opt_n_threads(int work_size) {
const int p... |
// Copyright (c) 2011-2016 The Bitcoin Core developers
// Copyright (c) 2021 The Wondercoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef WONDERCOIN_QT_RECENTREQUESTSTABLEMODEL_H
#define WONDERCOIN_QT_R... |
//
// RTAbridged_cast.h
//
// File generated by Magnet rest2mobile 1.1 - Feb 7, 2015 11:25:59 AM
// @See Also: http://developer.magnet.com
//
/** Generated from json example
{
"name" : "Tobey Maguire",
"id" : "162660340",
"characters" : [ "Spider-Man/Peter Parker" ]
}
*/
#import <Rest2Mobile/Rest2Mobile.h>
... |
/*
* Copyright (c) 2014, Daniele Alessandrelli.
* 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... |
// Copyright 2016 Google Inc. All Rights Reserved.
//
// Use of this source code is governed by a BSD-style license
// that can be found in the COPYING file in the root of the source
// tree. An additional intellectual property rights grant can be found
// in the file PATENTS. All contributing project authors may
// be... |
/* ========================= eCAL LICENSE =================================
*
* Copyright (C) 2016 - 2019 Continental 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
*
* ... |
/*
* Copyright (c) 2020-2022, Andreas Kling <kling@serenityos.org>
* Copyright (c) 2021-2022, Linus Groh <linusg@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <AK/RefCounted.h>
#include <AK/Variant.h>
#include <LibGfx/AffineTransform.h>
#include <LibGfx/Color.h>
#include <Lib... |
//===== Copyright � 1996-2005, Valve Corporation, All rights reserved. ======//
//
// Purpose:
//
// $NoKeywords: $
//===========================================================================//
#ifndef SELECTION3D_H
#define SELECTION3D_H
#ifdef _WIN32
#pragma once
#endif
#include "Box3D.h"
#include "MapClass.h" ... |
// Copyright (c) 2018 The Chromium Embedded Framework Authors. All rights
// reserved. Use of this source code is governed by a BSD-style license that
// can be found in the LICENSE file.
//
// ---------------------------------------------------------------------------
//
// This file was generated by the CEF translato... |
/*
Video Core
Copyright (c) 2014 James G. Hurley
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, ... |
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2004-2010 The Trustees of Indiana University and Indiana
* University Research and Technology
* Corporation. All rights reserved.
* Copyright (c) 2015 Los Alamos National Security,... |
/**
*****************************************************************************************
* Copyright(c) 2015, Realtek Semiconductor Corporation. All rights reserved.
*****************************************************************************************
* @file mesh_cmd.c
* @brief Source file for ... |
#ifndef SCENEOBJECT_H
#define SCENEOBJECT_H
#include "vertex.h"
class Scene;
class SceneObject
{
public:
typedef enum _O_TYPE{
CUBE,
SPHERE,
}O_TYPE;
SceneObject(O_TYPE t, const V3& pos, int texture);
virtual ~SceneObject();
virtual void Render();
virtual bool Update(const Sc... |
/*
* This header is generated by classdump-dyld 1.0
* on Monday, September 28, 2020 at 5:54:58 PM Mountain Standard Time
* Operating System: Version 14.0 (Build 18A373)
* Image Source: /System/Library/PrivateFrameworks/PhotosUIC... |
// Copyright 2016 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_WASM_OBJECTS_H_
#define V8_WASM_OBJECTS_H_
#include "src/objects-inl.h"
#include "src/wasm/managed.h"
namespace v8 {
namespace internal {
n... |
// Created by Ed Gamble on 1/23/2018
// Copyright (c) 2018 ravenwallet LLC.
//
// 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 ri... |
//
// GPPURLHandler.h
// Google+ iOS SDK
//
// Copyright 2013 Google Inc.
//
// Use of this SDK is subject to the Google+ Platform Terms of Service:
// https://developers.google.com/+/terms
//
#import <Foundation/Foundation.h>
@interface GPPURLHandler : NSObject
// Calls |handleURL:sourceApplication:annotation:... |
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (c) 2013, The Linux Foundation. All rights reserved.
*/
#include <linux/kernel.h>
#include <linux/bitops.h>
#include <linux/err.h>
#include <linux/platform_device.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/of_device.h>
#include <linux/cl... |
// Copyright CERN and copyright holders of ALICE O2. This software is
// distributed under the terms of the GNU General Public License v3 (GPL
// Version 3), copied verbatim in the file "COPYING".
//
// See http://alice-o2.web.cern.ch/license for full licensing information.
//
// In applying this license CERN does not ... |
/*
* This header is generated by classdump-dyld 1.5
* on Wednesday, April 28, 2021 at 9:10:25 PM Mountain Standard Time
* Operating System: Version 14.5 (Build 18L204)
* Image Source: /System/Library/PrivateFrameworks/ATVLegacyC... |
/*
* Copyright 2014-2016 Nippon Telegraph and Telephone 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 requi... |
// Copyright (C) 2016 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html
/*
**********************************************************************
* Copyright (c) 2004-2011, International Business Machines
* Corporation and others. All Rights Reserved.
***************... |
// Copyright (c) 2011-2013 The Bitcoin developers
// Copyright (c) 2017-2018 The PIVX developers
// Copyright (c) 2018-2019 The ZCore developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_QT_GUIUTIL_H
#d... |
/*-
* Copyright (c) 2010 Isilon Systems, Inc.
* Copyright (c) 2010 iX Systems, Inc.
* Copyright (c) 2010 Panasas, Inc.
* Copyright (c) 2013, 2014 Mellanox Technologies, Ltd.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that ... |
/*
* canplayer.c - replay a compact CAN frame logfile to CAN devices
*
* Copyright (c) 2002-2007 Volkswagen Group Electronic Research
* 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... |
/*++
Copyright (c) Microsoft Corporation.
Licensed under the MIT License.
--*/
#define SEND_PACKET_SHORT_HEADER_TYPE 0xff
inline
uint8_t
QuicKeyTypeToPacketType(
QUIC_PACKET_KEY_TYPE KeyType
)
{
switch (KeyType) {
case QUIC_PACKET_KEY_INITIAL: return QUIC_INITIAL;
case QUIC_PACKET_K... |
/* main.c - Application main entry point */
/*
* Copyright (c) 2017 Intel Corporation
* Additional Copyright (c) 2018 Espressif Systems (Shanghai) PTE LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <stdio.h>
#include <string.h>
#include "esp_log.h"
#include "nvs_flash.h"
#include "esp_bt.h"
#include "... |
#include <stdlib.h>
#include <string.h>
int charCompare(const void *left, const void *right)
{
const char leftChar = *((const char*)left);
const char rightChar = *((const char*)right);
if (leftChar < rightChar) {
return -1;
}
else if (leftChar > rightChar) {
return 1;
}
... |
// UIImage+Alpha.h
// Created by Trevor Harmon on 9/20/09.
// Free for personal or commercial use, with or without modification.
// No warranty is expressed or implied.
// Helper methods for adding an alpha layer to an image
@interface UIImage (Alpha)
- (BOOL)hasAlpha;
- (UIImage *)imageWithAlpha;
- (UIImage *)transpa... |
/*
* PMC-Sierra SPC 8001 SAS/SATA based host adapters driver
*
* Copyright (c) 2008-2009 USI Co., Ltd.
* 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 cod... |
#ifndef AE_DESKTOP_PLUGIN_LIB_H
#define AE_DESKTOP_PLUGIN_LIB_H
#include "dynlib_export.h"
/** The name of the function which creates a plugin. */
const char *const createDesktopPluginFuncName = "createDesktopPlugin";
/** The name of the function which deletes a plugin. */
const char *const deleteDesktopPluginFuncNa... |
#ifndef CONFIG_H
#define CONFIG_H
/* Exported configuration */
#include "llvm/Config/llvm-config.h"
/* Bug report URL. */
#define BUG_REPORT_URL "https://bugs.llvm.org/"
/* Define to 1 to enable backtraces, and to 0 otherwise. */
/* #undef ENABLE_BACKTRACES */
/* Define to 1 to enable crash overrides, and to 0 othe... |
// Copyright 1998-2018 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "UObject/ObjectMacros.h"
#include "GameFramework/Actor.h"
#include "Pixel2DAnimInstance.h"
#include "Pixel2DComponent.h"
#include "Pixel2DActor.generated.h"
/**
* An instance of a UPixel2DAnimInstance in a lev... |
// Copyright (c) 2011-2016 The Youngseokcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef YOUNGSEOKCOIN_WALLET_COINCONTROL_H
#define YOUNGSEOKCOIN_WALLET_COINCONTROL_H
#include "policy/feerate.h"
#inc... |
/*
Copyright (c) 2010-2016, Mathieu Labbe - IntRoLab - Universite de Sherbrooke
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
... |
#pragma once
#include <iostream>
class Ksztalt
{
public:
Ksztalt();
//Ksztalt(Kwadrat k);
void wypisz(std::ostream&) const;
float polePow() const;
};
class Kwadrat
:public Ksztalt
{
public:
Kwadrat(int bok);
int bok();
private:
int m_bok;
};
void wypisz(Ksztalt& ksz);
void wypisz(Kwadrat k); |
/****************************************************************************
* boards/arm/lpc17xx_40xx/lpc4088-devkit/src/lpc17_40_djoystick.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 i... |
#ifndef MIDI_H
#define MIDI_H
#include "../ckvm.h"
typedef struct _CKVMIDI *CKVMIDI;
CKVMIDI ckvmidi_open(CKVM vm);
/* call these to dispatch MIDI messages to the ckv objects who are listening for them */
void ckvmidi_dispatch_note_on(CKVMIDI midi, int channel, int note, float velocity);
void ckvmidi_dispatch_key_p... |
/*
* Keycode and keysyms conversion tables for curses
*
* Copyright (c) 2005 Andrzej Zaborowski <balrog@zabor.org>
*
* 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 restrict... |
// Created by John Åkerblom 2015-03-13
#ifndef __HERO_H_DEF__
#define __HERO_H_DEF__
#include <stdint.h>
#pragma pack(push, 1)
#define HDE_HERO_DIRECTION_NORTH 0
#define HDE_HERO_DIRECTION_NORTHEAST 1
#define HDE_HERO_DIRECTION_EAST 2
#define HDE_HERO_DIRECTION_SOUTHEAST 3
#define HDE_HERO_DIR... |
/* linalg/hermtd.c
*
* Copyright (C) 2001, 2007, 2009 Brian Gough
*
* 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 option) any later vers... |
/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the OAI Public Lic... |
/* This 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 can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef IPADDRESS_H
#define IPADDRESS_H
#include <QHostAddress>
class IPAddress final {
public:
static IPAddr... |
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 6.00.0361 */
/* Compiler settings for msoeapi.idl:
Oicf, W1, Zp8, env=Win32 (32b run)
protocol : dce , ms_ext, c_ext
error checks: allocation ref bounds_check enum stub_data
VC __dec... |
//
// WIHDWalletService.h
// WeIdentityService
//
// Created by tank on 2021/1/4.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface WIHDWalletService : NSObject
@end
NS_ASSUME_NONNULL_END |
/*
* Converts CPI to FEN based on an ordering given in README
* ONLY ENCODES THE DIAGRAM
*
* This program works for positions with
* No enpassant
* No castling available
*/
#include "hashtable.h"
#include "hashtable_itr.h"
#include <stdlib.h>
#include <stdio.h>
#include <gmp.h>
#include <string.h> /* for me... |
#pragma once
#include "raylib.h"
#include "SimpleSprites.h"
#include <cstdlib>
#include <ctime>
#include <list>
class FallingFactorys
{
public:
public:
static SimpleSprites* spriteMasters;
static size_t spriteCount;
static std::list<SimpleSprites*> tanks;
static void init();
static SimpleSprites * getRandom();// ... |
/***************************************************************************
* __________ __ ___.
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> ... |
//
// CLJStringSeq.h
// PersistentStructure
//
// Created by Robert Widmann on 3/27/14.
// Copyright (c) 2014 CodaFi. All rights reserved.
// Released under the MIT license.
//
#import "CLJAbstractSeq.h"
#import "CLJIIndexedSeq.h"
@interface CLJStringSeq : CLJAbstractSeq <CLJIIndexedSeq>
- (id)initWithString:(N... |
/* VKGL (c) 2018 Dominik Witczak
*
* This code is licensed under MIT license (see LICENSE.txt for details)
*/
#ifndef VKGL_GL_BLEND_EQUATION_H
#define VKGL_GL_BLEND_EQUATION_H
#include "OpenGL/types.h"
namespace OpenGL
{
void VKGL_APIENTRY vkglBlendEquation(GLenum mode);
void vkglBlendEquation_with_valida... |
/* $OpenLDAP$ */
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
*
* Copyright 1998-2021 The OpenLDAP Foundation.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted only as authorized by the OpenLDAP
* Public License.
... |
/*
* pgp-encrypt.c
* OpenPGP encrypt.
*
* Copyright (c) 2005 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 above cop... |
//
// FSAllBirthdayController.h
// myhome
//
// Created by FudonFuchina on 2016/12/29.
// Copyright © 2016年 fuhope. All rights reserved.
//
#import "FSBaseController.h"
@interface FSAllBirthdayController : FSBaseController
@property (nonatomic,copy) NSString *password;
@end |
/*
* Jitsi, the OpenSource Java VoIP and Instant Messaging client.
*
* Copyright @ 2015 Atlassian Pty 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.or... |
//
// Geometry.h
// ZWUtilityKit
//
// Created by chenzw on 15/9/21.
// Copyright (c) 2015年 zwchen. All rights reserved.
//
#import <CoreGraphics/CoreGraphics.h>
#pragma mark - CGPoint
/*
* @brief:获取两点的距离
*/
double CGPointGetDistance(CGPoint point1, CGPoint point2);
#pragma mark - CGSize
inline CGSize CGSiz... |
/*
* Copyright (C) 2008, 2012 Apple 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 condit... |
#ifndef _ASM_GENERIC_BITOPS_NON_ATOMIC_H_
#define _ASM_GENERIC_BITOPS_NON_ATOMIC_H_
#include <asm/types.h>
/**
* __set_bit - Set a bit in memory
* @nr: the bit to set
* @addr: the address to start counting from
*
* Unlike set_bit(), this function is non-atomic and may be reordered.
* If it's called on the same ... |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/es/ElasticsearchService_EXPORTS.h>
#include <aws/es/model/DomainInformation.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/es/model/OutboundCrossClusterSe... |
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* s3c24xx/s3c64xx SoC series Camera Interface (CAMIF) driver
*
* Copyright (C) 2012 Sylwester Nawrocki <sylvester.nawrocki@gmail.com>
*/
#ifndef MEDIA_S3C_CAMIF_
#define MEDIA_S3C_CAMIF_
#include <linux/i2c.h>
#include <media/v4l2-mediabus.h>
/**
* struct s3c_camif_... |
/*
* Copyright 2014-2017 Real Logic 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 or agree... |
/* main.c -- Initialization of components
*
* Copyright 2012-2017 AOL Inc. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this Software except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/lice... |
// Copyright (c) 2015 Fabian Barkhau <fabian.barkhau@gmail.com>
// License: MIT (see LICENSE file)
#ifndef PANEL_MODULES_ALL_H
#define PANEL_MODULES_ALL_H
#include <src/lib/common.h>
#include <src/scenes/panel/modules/lfo.h>
#include <src/scenes/panel/modules/fm_ctrl.h>
/////////
// BPM //
/////////
void module_bpm... |
#define _GNU_SOURCE
#include "i2c.h"
#include "is5351A_clkGEN.h"
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <math.h>
#include <time.h>
#include <unistd.h>
#include "../include/ref_gen_registers.h"
//GLOBAL VAR DECLARATION START*********************... |
// Copyright (c) 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_ZMQ_ZMQCONFIG_H
#define BITCOIN_ZMQ_ZMQCONFIG_H
#if defined(HAVE_CONFIG_H)
#include "config/kts-config.h"
#endif
... |
/*
* linux/drivers/clocksource/zevio-timer.c
*
* Copyright (C) 2013 Daniel Tang <tangrs@tangrs.id.au>
*
* 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.
*
*/
#include <linu... |
#pragma once
#include <Arduino.h>
#include "sensor.h"
#include <Adafruit_PM25AQI.h>
class PMSA003_Sensor : public Sensor {
public:
PMSA003_Sensor(uint16_t update_frequency, uint16_t accuracy, uint16_t precision, boolean calibrated) : Sensor(update_frequency, accuracy, precision, calibrated) {};
void begin();
... |
// Help functions.
// Author: Xiaohan Fei (feixh@cs.ucla.edu)
#pragma once
#include <algorithm>
#include <vector>
#include "alias.h"
namespace xivo {
// Project matrix Hx onto the left nullspace of Hf via Givens rotations.
// i.e., A' * Hf = 0 and we compute Hx <- A' * Hx
// This can be achieved first concatenate Hf... |
#pragma once
/**
* Include Entry Point
*/
#include <ING\EntryPoint\EntryPoint.h>
/**
* Include Rendering Pass
*/
#include <ING/Rendering/Pass/Pass.h>
namespace ING {
class Camera;
namespace Rendering {
namespace StandardRP {
class ING_API GBufferPass : public IPass
{
/**
* Construct... |
/*
* Copyright 2014-2019 Real Logic 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 or agree... |
/*============================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center (DKFZ)
All rights reserved.
Use of this source code is governed by a 3-clause BSD license that can be
found in the LICENSE file.
=================... |
/* Copyright Statement:
*
* (C) 2005-2016 MediaTek Inc. All rights reserved.
*
* This software/firmware and related documentation ("MediaTek Software") are
* protected under relevant copyright laws. The information contained herein
* is confidential and proprietary to MediaTek Inc. ("MediaTek") and/or its licens... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE427_Uncontrolled_Search_Path_Element__wchar_t_file_10.c
Label Definition File: CWE427_Uncontrolled_Search_Path_Element.label.xml
Template File: sources-sink-10.tmpl.c
*/
/*
* @description
* CWE: 427 Uncontrolled Search Path Element
* BadSource: file Read input from a ... |
#pragma once
#include <Eigen/Dense>
#include <opencv2/core/core.hpp>
#include "camplex/CameraCalibration.h"
#include "argus_msgs/FiducialDetection.h"
#include "argus_msgs/ImageFiducialDetections.h"
#include "argus_utils/geometry/PoseSE2.h"
#include "argus_utils/geometry/PoseSE3.h"
#include "geometry_msgs/Point.h"
#... |
#include <net-snmp/net-snmp-config.h>
#include <net-snmp/net-snmp-features.h>
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
#if HAVE_STRING_H
#include <string.h>
#else
#include <strings.h>
#endif
netsnmp_feature_require(ulong_instance)
netsnmp_feature_require(register_read_only_table_data)
netsnmp_feature_require(t... |
//this file was generated by ../../../../../../scripts/onnx_generator/OperatorTemplate.py
#include "operator__ai_onnx__add__1.h"
#include "tracing.h"
#include "utils.h"
operator_status
prepare_operator__ai_onnx__add__1(
Onnx__NodeProto *ctx
)
{
TRACE_ENTRY(1);
TRACE_NODE(2, true, ctx->onnx_node);
/* ... |
//
// IFMShareItemCell.h
// IFMShareDemo
//
// Created by 刘刚 on 2017/8/11.
// Copyright © 2017年 刘刚. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "IFMShareItem.h"
NS_ASSUME_NONNULL_BEGIN
extern NSString *const kCellIdentifier_IFMShareItemCell;// 循环利用的id
@interface IFMShareItemCell : UICollectionViewC... |
#pragma once
#include "selection_results.h"
#include <catboost/libs/data/data_provider.h>
#include <catboost/libs/eval_result/eval_result.h>
#include <catboost/libs/helpers/restorable_rng.h>
#include <catboost/libs/loggers/catboost_logger_helpers.h>
#include <catboost/private/libs/labels/label_converter.h>
#include <... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.