text stringlengths 9 948k |
|---|
/*
* Copyright 2010 Advanced Micro Devices, 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, m... |
#include "erl_nif.h"
#include "common/crypto/curl-p/ptrit.h" // ptrit_curl impl
#include "common/trinary/trit_ptrit.h" // trits <-> ptrits conversion
#include "common/trinary/trit_tryte.h" // trits <-> trytes conversion
#include "common/model/bundle.h" // bundle header
#include <string.h>
#define DEBUG 3
#if defined... |
// Copyright 2013 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_TEST_TEST_RENDER_FRAME_HOST_FACTORY_H_
#define CONTENT_TEST_TEST_RENDER_FRAME_HOST_FACTORY_H_
#include <stdint.h>
#include <memory>
#in... |
//
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Jun 6 2019 20:42:15).
//
// Copyright (C) 1997-2019 Steve Nygard.
//
#import <AppKit/NSRuleEditor.h>
@interface NSRuleEditor (DVTNSRuleEditorAdditions)
- (long long)dvt_addRowWithType:(unsigned long long)arg1 animate:(BOOL)arg2;
- (void)dvt_remo... |
#ifndef ISL_POLYNOMIAL_H
#define ISL_POLYNOMIAL_H
#include <isl/ctx.h>
#include <isl/constraint.h>
#include <isl/space.h>
#include <isl/set_type.h>
#include <isl/point.h>
#include <isl/printer.h>
#include <isl/union_set_type.h>
#include <isl/aff_type.h>
#include <isl/polynomial_type.h>
#include <isl/val.h>
#if define... |
/**
* @file target_reset.c
* @brief Target reset for the lpc812
*
* DAPLink Interface Firmware
* Copyright (c) 2009-2019, ARM Limited, 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 complia... |
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "E2AP-Containers"
* found in "spec/e2ap-v01.00.00.asn"
* `asn1c -pdu=auto -fincludes-quoted -fcompound-names -fno-include-deps -gen-PER -no-gen-OER -no-gen-example`
*/
#include "ProtocolIE-Field.h"
static const long asn_VAL_4_id_RICa... |
/****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the QtTest module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees holding valid commerc... |
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
__attribute__((visibility("hidden")))
@interface BUCocoaWindowController : NSObject
{
double _maxX;
double _minY;
struct vector<TNotificationCenter... |
#include "timer.h"
#include "../utils/cont.h"
#include "../utils/fast.h"
#include "../utils/err.h"
#include "../utils/attr.h"
#define NN_TIMER_STATE_IDLE (1)
#define NN_TIMER_STATE_ACTIVE (2)
#define NN_TIMER_STATE_STOPPING (3)
#define NN_TIMER_SRC_START_TASK (1)
#define NN_TIMER_SRC_STOP_TASK (2)
static void nn_ti... |
/**
* @file
* Public API declarations.
*/
#ifndef WAPI_H
#define WAPI_H
#ifdef __cplusplus
extern "C" {
#endif
#include <netinet/in.h>
#include <sys/socket.h>
#include <net/ethernet.h>
#include <linux/wireless.h>
/* Generic linked list (dummy) decleration. (No definition!) */
typedef struct wapi_list_t wapi_li... |
/*
* UnaryTerm.h
*
* Created on: Jan 17, 2013
* Author: belyaev
*/
#ifndef UNARYTERM_H_
#define UNARYTERM_H_
#include "Term/Term.h"
namespace borealis {
/** protobuf -> Term/UnaryTerm.proto
import "Term/Term.proto";
import "Util/UnaryArithType.proto";
package borealis.proto;
message UnaryTerm {
ext... |
#include <stdio.h>
int main()
{
int i;
printf ("entre com um numero de 1 a 10");
scanf ("%d",&i);
do
{
printf ("este numero esta incorreto");
}
while (i>10 || i<1);
return 0;
} |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-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 SDRT_MERKLEBLOCK_H
#define SDRT_MERKLEBLOCK_H
#include "serialize.h"
#in... |
// Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// ... |
//===- llvm/PassSupport.h - Pass Support code -------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... |
/* D B _ A N I M . C
* BRL-CAD
*
* Copyright (c) 1987-2021 United States Government as represented by
* the U.S. Army Research Laboratory.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* version 2.1 as... |
int factorial( int n)
{
if(n==1)return 1;
return n*factorial(n-1);
}
int main()
{
int facto;
facto = factorial(4);
return 0;
} |
//========================================================================
// Cursor & input mode tests
// Copyright (c) Camilla Löwy <elmindreda@glfw.org>
//
// 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... |
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class com_ctre_phoenix_motorcontrol_can_MotControllerJNI */
#ifndef _Included_com_ctre_phoenix_motorcontrol_can_MotControllerJNI
#define _Included_com_ctre_phoenix_motorcontrol_can_MotControllerJNI
#ifdef __cplusplus
extern "C" {
#end... |
#include <stdio.h>
#include <stdbool.h>
#include <stdlib.h>
#include <string.h>
const int dirs[8][2] = {
{-1, -1}, {-1, 0}, {-1, 1},
{ 0, -1}, { 0, 1},
{ 1, -1}, { 1, 0}, { 1, 1}
};
int personOnSeatNext(int l, int ll, char *b, size_t lines, size_t lineLen) {
int neibours = 0;
for (in... |
/**
* \file
*
* \brief SERCOM SPI master with vectored I/O driver configuration
*
* Copyright (c) 2015 Atmel Corporation. All rights reserved.
*
* \asf_license_start
*
* \page License
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the follo... |
/*
* This header is generated by classdump-dyld 1.0
* on Sunday, September 27, 2020 at 12:26:07 PM Mountain Standard Time
* Operating System: Version 14.0 (Build 18A373)
* Image Source: /System/Library/PrivateFrameworks/RemoteConfiguration.framework/RemoteConfiguration
* classdump-dyld is licensed under GPLv3, Copyrigh... |
// ****************************************************************************
//
// amdtpc_main.c
//! @file
//!
//! @brief Ambiq Micro AMDTP client.
//!
//! @{
//
// ****************************************************************************
//***********************************************************************... |
/** Function to shift the current view to the left/right
*
* @param: "arg->i" stores the number of tags to shift right (positive value)
* or left (negative value)
*/
void
shiftview(const Arg *arg) {
Arg shifted;
if(arg->i > 0) // left circular shift
shifted.ui = (selmon->tagset[selmon->seltags] << arg... |
/*
* This header is generated by classdump-dyld 1.0
* on Sunday, September 27, 2020 at 12:26:46 PM Mountain Standard Time
* Operating System: Version 14.0 (Build 18A373)
* Image Source: /System/Library/PrivateFrameworks/TestFlightCore.framework/TestFlightCore
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2... |
#pragma once
#include <vector> // buffers
#include <string> // writeStr(), readStr()
#include <cstring> // writeStr(const char *)
#include <iostream> // printBytes()
#include <iomanip> // printBytes()
class BinaryWriter {
private:
std::vector<unsigned char> _buffer;
public:
BinaryWriter(... |
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "NR-RRC-Definitions"
* found in "../../../rrc_15.5.1_asn.asn1"
* `asn1c -D ./rrc_out_hlal -fcompound-names -fno-include-deps -findirect-choice -gen-PER -no-gen-example`
*/
#include "SRS-Resource.h"
#include "SRS-SpatialRelationInfo.h... |
#ifndef HIRESTIMER_h
#define HIRESTIMER_h
#include "HardwareSpecific.h"
#include <stdint.h>
#include <stddef.h>
class HiResTimer {
protected:
uint64_t m_accumulator;
uint32_t m_timer;
uint32_t m_min;
uint32_t m_max;
uint32_t m_count;
bool m_timerValid;
public:
HiResTimer( void);
void r... |
/*
* $Id: amijoy.c,v 1.1.1.4 2003/10/14 08:08:07 sparq Exp $
*
* Copyright (c) 1998-2000 Vojtech Pavlik
*
* Sponsored by SuSE
*/
/*
* Driver for Amiga joysticks for Linux/m68k
*/
/*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public Licens... |
//
// Created by kkyse on 11/26/2017.
//
#include "unalias.h"
#include "../shell_utils.h"
#include "../aliases.h"
int unalias_cmd(const Command *const command) {
if (command->argc < 2) {
return einval("unalias requires an argument, the alias to remove\n");
}
const char *const value = command->arg... |
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "DSRC"
* found in "J2735_201603_ASN_CC.asn"
* `asn1c -gen-PER -fcompound-names -fincludes-quoted -fskeletons-copy`
*/
#include "NMEAcorrections.h"
static int
memb_regional_constraint_1(const asn_TYPE_descriptor_t *td, const void *spt... |
//
// PSMProgressIndicator.h
// PSMTabBarControl
//
// Created by John Pannell on 2/23/06.
// Copyright 2006 Positive Spin Media. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import "PSMTabBarControl.h"
@interface PSMProgressIndicator : NSProgressIndicator {
}
@end
@interface PSMTabBarControl (LayoutPlease)... |
#ifndef HALIDE_WRAP_EXTERN_STAGES_H
#define HALIDE_WRAP_EXTERN_STAGES_H
#include "Module.h"
/** \file
*
* Defines a pass over a Module that adds wrapper LoweredFuncs to any
* extern stages that need them */
namespace Halide {
namespace Internal {
/** Add wrappers for any LoweredFuncs that need them to support
*... |
#ifndef WDT_DIAG288_H
#define WDT_DIAG288_H
#include "hw/qdev-core.h"
#include "qom/object.h"
#define TYPE_WDT_DIAG288 "diag288"
typedef struct DIAG288Class DIAG288Class;
typedef struct DIAG288State DIAG288State;
DECLARE_OBJ_CHECKERS(DIAG288State, DIAG288Class,
DIAG288, TYPE_WDT_DIAG288)
#define... |
/*
* POK header
*
* The following file is a part of the POK project. Any modification should
* made according to the POK licence. You CANNOT use this file or a part of
* this file is this part of a file for your own project
*
* For more information on the POK licence, please see ou... |
/* This file is part of the Visual-Odometry-Cpp project.
* It is subject to the license terms in the LICENSE file
* found in the top-level directory of this distribution.
*
* Copyright (C) 2020 Manuel Kraus
*/
#ifndef VOCPP_MASTER_H
#define VOCPP_MASTER_H
#include<Vocpp_Interface/Frame.h>
#include<Vocpp_Interface/Del... |
/*
* Copyright (c) 2018 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <logging/log_output.h>
#include <logging/log_ctrl.h>
#include <logging/log.h>
#include <assert.h>
#include <ctype.h>
#include <time.h>
#define HEXDUMP_BYTES_IN_LINE 8
#define LOG_COLOR_CODE_DEFAULT "\x1B[0m"
#def... |
//
// DOUComment.h
// DoubanApiClient
//
// Created by Lin GUO on 5/19/12.
// Copyright (c) 2012 Douban Inc. All rights reserved.
//
#import "DOUObject.h"
@class DOUUser;
@interface DOUComment : DOUObject
@property (nonatomic, copy) NSString *identifier;
@property (nonatomic, copy) NSString *content;
@property... |
/* $Id: pgtable.h,v 1.1.1.4 2003/10/14 08:09:22 sparq Exp $ */
#ifndef _SPARC_PGTABLE_H
#define _SPARC_PGTABLE_H
/* asm-sparc/pgtable.h: Defines and functions used to work
* with Sparc page tables.
*
* Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu)
* Copyright (C) 1998 Jakub... |
/*-
* Copyright (c) 2015 Jason Lingle
*
* 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" AND THE... |
#include <gkyl_maxwell_kernels.h>
GKYL_CU_DH double maxwell_surfx_2x_ser_p2(const gkyl_maxwell_inp *meq, const double *wl, const double *wr, const double *dxl, const double *dxr, const double tau, const double *ql, const double *qr, double* GKYL_RESTRICT outl, double* GKYL_RESTRICT outr)
{
const double c = meq->c,... |
/*
Copyright (c) 2018, Richard Eakin - 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 and
the following... |
/*
* Copyright 2018 Aaron Barany
*
* 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... |
/*********************************************************\
* File: ShaderFunctionShadingNull.h *
*
* Copyright (C) 2002-2013 The PixelLight Team (http://www.pixellight.org/)
*
* This file is part of PixelLight.
*
* Permission is hereby granted, free of charge, to any person obtaining a co... |
#include "options.h"
#include "../ice_server/server.h"
#include <rawrtc/ice_gather_options.h>
#include <rawrtcc/code.h>
#include <re.h>
/*
* Destructor for an existing ICE gather options instance.
*/
static void rawrtc_ice_gather_options_destroy(void* arg) {
struct rawrtc_ice_gather_options* const options = arg;... |
/* D E M - G . C
* BRL-CAD
*
* Copyright (c) 2008-2014 United States Government as represented by
* the U.S. Army Research Laboratory.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* version 2.1 as pu... |
#pragma once
#include "Core.h"
#include "spdlog/spdlog.h"
#include "spdlog/fmt/ostr.h"
namespace Hazel
{
class HAZEL_API Log
{
public:
static void Init();
inline static std::shared_ptr<spdlog::logger>& GetCoreLogger() { return s_CoreLogger; }
inline static std::shared_ptr<spdlog::logger>& GetClientLogger() {... |
/**
* @file IxSspAcc.h
*
* @brief Header file for the IXP400 SSP Serial Port Access (IxSspAcc)
*
* @version $Revision: 1.1.1.1 $
*
* @par
* IXP400 SW Release version 2.0
*
* -- Copyright Notice --
*
* @par
* Copyright 2001-2005, Intel Corporation.
* All rights reserved.
*
* @par
* Redistribution a... |
/******* COPYRIGHT ************************************************
* *
* FlowVR *
* Template Library *
* ... |
/*
* This software is distributed under BSD 3-clause license (see LICENSE file).
*
* Authors: Soeren Sonnenburg, Soumyajit De, Yuyu Zhang, Sergey Lisitsyn
*/
#ifndef _CSTRINGPREPROC__H__
#define _CSTRINGPREPROC__H__
#include <shogun/lib/config.h>
#include <shogun/features/Features.h>
#include <shogun/features/St... |
/**
* Copyright (C) 2015 MongoDB Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,... |
#pragma once
#define USBOPEN_SUCCESS 0 /* no error */
#define USBOPEN_ERR_ACCESS 1 /* not enough permissions to open device */
#define USBOPEN_ERR_IO 2 /* I/O error */
#define USBOPEN_ERR_NOTFOUND 3 /* device not found */
#define USB_HID_REPORT_TYPE_INPUT 0x01
#define USB_HID_REPORT_TYPE_OUTPUT ... |
// Copyright (c) 2006-2009 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 NET_HTTP_HTTP_TRANSACTION_UNITTEST_H_
#define NET_HTTP_HTTP_TRANSACTION_UNITTEST_H_
#include "net/http/http_transaction.h"
#include <al... |
/* Generated by RuntimeBrowser
Image: /System/Library/PrivateFrameworks/CryptoTokenKit.framework/CryptoTokenKit
*/
@interface TKSmartCardSlotProxy : NSObject <TKProtocolSmartCardSlotNotification> {
NSHashTable * _cards;
TKSmartCardSlot * _slot;
}
@property (readonly) NSHashTable *cards;
- (void).cxx_dest... |
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "GameFramework/GameMode.h"
#include "deckGameMode.generated.h"
/**
*
*/
UCLASS()
class DECK_API AdeckGameMode : public AGameMode
{
GENERATED_BODY()
}; |
/*
* This header is generated by classdump-dyld 1.5
* on Wednesday, April 28, 2021 at 9:12:48 PM Mountain Standard Time
* Operating System: Version 14.5 (Build 18L204)
* Image Source: /System/Library/PrivateFrameworks/SiriPlayba... |
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import <UIKit/UIApplication.h>
#define _THREAD_PER_PAGE 50
@interface subjectTxt : NSObject {
id downloader_;
id subjectTxtPath_;
id boardData_;
id subjectTxtData_;
id backUpData_;
BOOL isRefined_;
int titleNum_;
int currentTitleTail_;
i... |
// Auto-generated file. Do not edit!
// Template: src/f32-qs8-vcvt/sse.c.in
// Generator: tools/xngen
//
// Copyright 2021 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <emmintrin.h>
#... |
/*
*
* arch/arm/probes/decode-arm.c
*
* Some code moved here from arch/arm/kernel/kprobes-arm.c
*
* Copyright (C) 2006, 2007 Motorola Inc.
*
* 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 Softwa... |
/*
* %CopyrightBegin%
*
* Copyright Ericsson AB 1998-2016. 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
... |
/*----------------------------------------------------------------------------
* RL-ARM - RTX
*----------------------------------------------------------------------------
* Name: RT_ROBIN.C
* Purpose: Round Robin Task switching
* Rev.: V4.70
*--------------------------------------------... |
/*
* This header is generated by classdump-dyld 1.5
* on Wednesday, October 27, 2021 at 3:17:58 PM Mountain Standard Time
* Operating System: Version 13.5.1 (Build 17F80)
* Image Source: /System/Library/PrivateFrameworks/HealthD... |
/*
* This header is generated by classdump-dyld 1.0
* on Sunday, September 27, 2020 at 11:53:34 AM Mountain Standard Time
* Operating System: Version 14.0 (Build 18A373)
* Image Source: /System/Library/Frameworks/SoundAnalysis.framework/SoundAnalysis
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by El... |
/* Copyright (c) 2018 vesoft inc. All rights reserved.
*
* This source code is licensed under Apache 2.0 License,
* attached with Common Clause Condition 1.0, found in the LICENSES directory.
*/
#ifndef GRAPH_SERVICE_GRAPHSERVICE_H_
#define GRAPH_SERVICE_GRAPHSERVICE_H_
#include "common/base/Base.h"
#include "gra... |
/**
* CSC232 - Data Structures with C++
* Missouri State University, Spring 2019
*
* @file Palindrome.h
* @author Jim Daehn <jdaehn@missouristate.edu>
*/
#ifndef LAB08_PALINDROME_H
#define LAB08_PALINDROME_H
#include <string>
/**
* A utility class that works with strings to create palindromes or assess stri... |
#pragma once
#include "config.h"
#include "Tools/GenericTool.h"
#include "Shapes/LineShape.h"
class LineTool : public GenericTool {
LineShape previewLine;
bool lineStarted = false;
public:
LineTool() : GenericTool(ToolType::LINE), previewLine({ 0, 0 }, { 0, 0 }, DEFAULT_LINE_THICKNESS, DEFAULT_LINE_COLOR) {}
... |
#pragma once
#ifndef FRACTION_H
#define FRACTION_H
#include<iostream>
using namespace std;
class Fraction
{
friend ostream &operator<<(ostream &, Fraction &);
public:
Fraction(double = 0.0, double = 0.0); // constructor
Fraction operator+(const Fraction &) const; // addition
Fraction operator-(const Fraction &) ... |
/*
Copyright (c) 2019 - 2020 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 deal
in the Software without restriction, including without limitation the rights
to use, ... |
/***********************************************************
Copyright 1987, 1988, 1994, 1998 The Open Group
Permission to use, copy, modify, distribute, and sell this software and its
documentation for any purpose is hereby granted without fee, provided that
the above copyright notice appear in all copies and that ... |
/*
* This header is generated by classdump-dyld 1.0
* on Sunday, June 7, 2020 at 11:43:34 AM Mountain Standard Time
* Operating System: Version 13.4.5 (Build 17L562)
* Image Source: /System/Library/PrivateFrameworks/HomeKitBackingStore.framework/HomeKitBackingStore
* classdump-dyld is licensed under GPLv3, Copyright © ... |
/*
* $Copyright Open Broadcom Corporation$
*
* $Id: linux_osl.h,v 1.2.48.2 2003/10/31 21:31:36 mthawani Exp $
*/
#include <arpa/inet.h>
#include <assert.h>
#include <ctype.h>
#include <errno.h>
#include <fcntl.h>
#include <netdb.h>
#include <netinet/tcp.h>
#include <stdio.h>
#incl... |
/**
* MIT License
*
* Copyright (c) 2017 Richard Moore <me@ricmoo.com>
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the ... |
/*
* Copyright 2022 Deep Learning on Flink 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 applicabl... |
#import <Foundation/NSGeometry.h>
#import <Foundation/NSRange.h>
#import <stdbool.h>
#import <stdint.h>
#import <stdlib.h>
#import <utils.h>
void* C_WebsiteDataStore_Alloc();
void* C_WKWebsiteDataStore_AllocWebsiteDataStore();
void* C_WKWebsiteDataStore_Autorelease(void* ptr);
void* C_WKWebsiteDataStore_Retain(void* ... |
/*
* Copyright (C) 2006-2013 Music Technology Group - Universitat Pompeu Fabra
*
* This file is part of Essentia
*
* Essentia is free software: you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License as published by the Free
* Software Foundation (FSF), either version... |
#include "TIMER0.h" |
/**
******************************************************************************
* @file TIM1/TIM1_Synchro/stm8l15x_it.c
* @author MCD Application Team
* @version V1.5.2
* @date 30-September-2014
* @brief Main Interrupt Service Routines.
* This file provides template for all peripheral... |
/*
* re_*comp and friends - compile REs
* This file #includes several others (see the bottom).
*
* Copyright (c) 1998, 1999 Henry Spencer. All rights reserved.
*
* Development of this software was funded, in part, by Cray Research Inc.,
* UUNET Communications Services Inc., Sun Microsystems Inc., and Scriptics
... |
#ifndef DATA_TAG_H_
#define DATA_TAG_H_
#include <string>
#include <ostream>
#include <memory>
#include <toolbox/types/id_type.h>
namespace data {
class Tag
{
public:
using Ptr = std::shared_ptr<Tag>;
using ConstPtr = std::shared_ptr<const Tag>;
public:
Tag() = default;
Tag(const std::string... |
/*
* Copyright (C) 2010 - 2014 Eluna Lua Engine <http://emudevs.com/>
* This program is free software licensed under GPL version 3
* Please see the included DOCS/LICENSE.md for more information
*/
#ifndef AURAMETHODS_H
#define AURAMETHODS_H
namespace LuaAura
{
int GetCaster(lua_State* L, Aura* aura)
{
... |
#pragma once
#include <ATen/Tensor.h>
#include <c10/core/TensorImpl.h>
#include <c10/util/Exception.h>
#include <c10/util/irange.h>
#include <ATen/MemoryOverlap.h>
#include <c10/core/MemoryFormat.h>
#include <c10/util/Metaprogramming.h>
namespace at {
namespace native {
struct NestedTensorImpl : public c10::TensorImp... |
/*******************************************************************************
SERIAL COMMUNICATION SERIAL PERIPHERAL INTERFACE(SERCOM0_SPI) PLIB
Company
Microchip Technology Inc.
File Name
plib_sercom0_spi_master.c
Summary
SERCOM0_SPI Master PLIB Implementation File.
Description
This fi... |
//
// NetImagesCollectionViewController.h
// ZZWidgetImageBrowserDemo
//
// Created by Jeff on 2017/8/2.
// Copyright © 2017年 Jeff. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface NetImagesCollectionViewController : UIViewController
@end |
/*************************************************************************************************************
Copyright 2015-2019, Silicon Laboratories, 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 Li... |
/*
* Copyright 2016 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 required by a... |
/*
* Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
* Copyright (C) 2004-2007 Red Hat, Inc. All rights reserved.
*
* This copyrighted material is made available to anyone wishing to use,
* modify, copy, or redistribute it subject to the terms and conditions
* of the GNU General Public Licen... |
//
// INStartCallIntent.h
// Intents
//
// Copyright (c) 2016-2021 Apple Inc. All rights reserved.
//
#import <Intents/INIntent.h>
#import <Intents/INIntentResolutionResult.h>
#import <Intents/INCallAudioRoute.h>
#import <Intents/INCallCapability.h>
#import <Intents/INCallDestinationType.h>
#import <Intents/INCall... |
//-----------------------------------------------------------------------------
// Copyright (c) 2012 GarageGames, 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 restrictio... |
#pragma once
#include "BOSS.h"
#include "JSONTools.h"
#include <memory>
#include "rapidjson/rapidjson.h"
#include "rapidjson/document.h"
namespace BOSS
{
class CombatSearchExperiment
{
std::string _name;
CombatSearchParameters _params;
RaceID _race;
std::vect... |
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#else
#ifndef FOUNDATION_EXPORT
#if defined(__cplusplus)
#define FOUNDATION_EXPORT extern "C"
#else
#define FOUNDATION_EXPORT extern
#endif
#endif
#endif
FOUNDATION_EXPORT double FazeKitVersionNumber;
FOUNDATION_EXPORT const unsigned char FazeKitVersionString[]; |
/*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org
Copyright (c) 2000-2014 Torus Knot Software Ltd
Permission is hereby granted, free of charge, to any pe... |
#ifndef DLANGLOCATOR_H
#define DLANGLOCATOR_H
#include <coreplugin/locator/ilocatorfilter.h>
#include <QObject>
namespace Core {
class IEditor;
}
namespace DlangEditor {
class DlangLocator : public Core::ILocatorFilter
{
Q_OBJECT
public:
DlangLocator();
~DlangLocator();
// pure Core::ILocatorFilte... |
// Copyright 2018 The Abseil 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 agre... |
#pragma once
#include <arpa/inet.h>
#include <cstdint>
// NOLINT(namespace-envoy)
// This file is part of the QUICHE platform implementation, and is not to be
// consumed or referenced directly by other Envoy code. It serves purely as a
// porting layer for QUICHE.
namespace spdy {
inline uint16_t SpdyNetToHost16... |
/** @file
DXE Dispatcher.
Step #1 - When a FV protocol is added to the system every driver in the FV
is added to the mDiscoveredList. The SOR, Before, and After Depex are
pre-processed as drivers are added to the mDiscoveredList. If an Apriori
file exists in the FV those drivers... |
/*
Racket prototypes and declarations for internal consumption.
*/
#ifndef __mzscheme_private__
#define __mzscheme_private__
// #define MZ_GC_STRESS_TESTING 1
#include "scheme.h"
#include "longdouble/longdouble.h"
#ifdef CIL_ANALYSIS
#define ROSYM __attribute__((__ROSYM__))
#define READ_ONLY __attr... |
/* Copyright (C) 2010-2019, The Regents of The University of Michigan.
All rights reserved.
This software was developed as part of the The Vulcan project in the Intelligent Robotics Lab
under the direction of Benjamin Kuipers, kuipers@umich.edu. Use of this code is governed by an
MIT-style License that can be foun... |
// This file is part of snark, a generic and flexible library for robotics research
// Copyright (c) 2011 The University of Sydney
// 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. Redistr... |
// Copyright 2013 Google Inc. 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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.