text stringlengths 9 948k |
|---|
/* Provide a more complete sys/time.h.
Copyright (C) 2007-2013 Free Software Foundation, Inc.
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, or (at your option)
any... |
/*
* Copyright (c) 2004-2007 The Trustees of Indiana University and Indiana
* University Research and Technology
* Corporation. All rights reserved.
* Copyright (c) 2004-2008 The University of Tennessee and The University
* of Tennessee Resea... |
//
// NSMutableAttributedString+Utilities.h
// myTool
//
// Created by lianyangyang on 16/9/26.
// Copyright © 2016年 Mac. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface NSMutableAttributedString (Utilities)
- (void)addAttributedWithString:(NSString *)string
... |
////////////////////////////////////////////////////////////////////////////////
/// DISCLAIMER
///
/// Copyright 2014-2016 ArangoDB GmbH, Cologne, Germany
/// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany
///
/// Licensed under the Apache License, Version 2.0 (the "License");
/// you may not use this file except... |
/********************************** (C) COPYRIGHT *******************************
* File Name : system_ch32v10x.c
* Author : WCH
* Version : V1.0.0
* Date : 2020/04/30
* Description : CH32V10x Device Peripheral Access Layer System Source File.
* Copyright (c) 2... |
#include <stdlib.h>
#include <curses.h>
int STARTX = 0;
int STARTY = 0;
int ENDX = 79;
int ENDY = 24;
#define CELL_CHAR '#'
#define TIME_OUT 300
typedef struct _state {
int oldstate;
int newstate;
}state;
void display(WINDOW *win, state **area, int startx, int starty, int endx, int endy);
void calc(state **area... |
/*
* This header is generated by classdump-dyld 1.5
* on Wednesday, April 14, 2021 at 2:27:43 PM Mountain Standard Time
* Operating System: Version 14.4 (Build 18K802)
* Image Source: /System/Library/PrivateFrameworks/WeatherFou... |
/*
* Test program for MSA instruction PCKEV.W
*
* Copyright (C) 2019 Wave Computing, Inc.
* Copyright (C) 2019 Aleksandar Markovic <amarkovic@wavecomp.com>
*
* 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
* th... |
//
// 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"
#import "HKActivitySummaryDataProviderObserver.h"
#import "HKValueDataProviderObserver.h"
#import "WDDashboardCellChartSource.h"
#import "WDDashboardCellPrimar... |
/****************************************************************************
* config/samv71-xult/src/sam_appinit.c
*
* Copyright (C) 2015-2016 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, a... |
// Copyright (c) 2021 PaddlePaddle Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless requir... |
#ifndef JetVertexMain_H
#define JetVertexMain_H
#include "DataFormats/JetReco/interface/CaloJet.h"
#include "DataFormats/TrackReco/interface/Track.h"
#include "DataFormats/TrackReco/interface/TrackFwd.h"
#include "MagneticField/Engine/interface/MagneticField.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#... |
#include "jit.h"
#include <stdlib.h>
#include <string.h>
#include <sys/mman.h>
#include <unistd.h>
#include "container/aa_tree.h"
#include "container/bb.h"
#include "error.h"
#include "instructions.h"
#include "jit_translate.h"
#include "rust.h"
struct jitted_instruction {
uint16_t vm_address;
struct instruction *i... |
#pragma once
#include "Engine\Component\BaseComponent.h"
#include "Game\Player\PlayerTriggerCallback.h"
#include "..\Engine\Engine\Physics\Events\OnCollisionEvent.h"
namespace SB
{
struct OnTriggerEnterEvent;
}
class BasePickup;
struct RoundEndMessage;
class PickupComponent : public SB::BaseComponent, public Play... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
#include <stdlib.h>
#include <stddef.h>
#include <stdbool.h>
#include <ctype.h>
#include "umock_c/umock_c_prod.h"
#include "azure_c_shared_utility/gballoc.h"
#include... |
/* Copyright (c) 2011 The WebM 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 in the root of the source */
/* tree. An additional intellectual property rights grant can be found */
/* in the file PATENTS. All con... |
#pragma once
#include "mvTypeBases.h"
namespace Marvel {
MV_REGISTER_WIDGET(mvListbox, MV_ITEM_DESC_DEFAULT, StorageValueTypes::String, 1);
class mvListbox : public mvStringPtrBase
{
public:
static void InsertParser(std::map<std::string, mvPythonParser>* parsers);
MV_APPLY_WIDGET_REGISTRATION(mvAppItemTyp... |
#pragma once
class CCamera
{
public:
void Update(float _deltaTime, XMFLOAT3 _player, bool _isFirstLevel);
inline XMFLOAT3 GetRotation() const { return m_rotation; }
inline XMFLOAT3 GetPosition() const { return m_position; }
inline void SetPos(XMFLOAT3 _pos) { m_position = _pos; }
inline float GetFOV() const { ret... |
/* file: kdtree_knn_classification_training_result.h */
/*******************************************************************************
* Copyright 2014-2017 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 ma... |
/*
* Copyright (c) 2018, Renesas Electronics Corporation. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
static uint64_t mstat_fix[] = {
/* 0x0000, */ 0x0000000000000000UL,
/* 0x0008, */ 0x0000000000000000UL,
/* 0x0010, */ 0x0000000000000000UL,
/* 0x0018, */ 0x0000000000000000UL,
/* 0x0020,... |
/*
Copyright 2016 OpenMarket Ltd
Copyright 2017 Vector Creations 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... |
#ifndef St_tofTDIGOnTrayC_h
#define St_tofTDIGOnTrayC_h
#include "TChair.h"
#include "tables/St_tofTDIGOnTray_Table.h"
class St_tofTDIGOnTrayC : public TChair {
public:
static St_tofTDIGOnTrayC* instance();
tofTDIGOnTray_st *Struct(Int_t i = 0) const {return ((St_tofTDIGOnTray*) Table())->GetTable()+i;}
UIn... |
/*
* Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/l... |
// Copyright 2022 Google 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 of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... |
#include "shared.h"
#include "traductor.h"
#include <QTextBrowser>
#include <qinputdialog.h>
#include <qstring.h>
#ifndef RUNNER_H
#define RUNNER_H
// EJECUCION DE PROGRAMA
static int cp = 1; //contador del programa
static bool inited = false;
QTextBrowser *outputConsole;
//Devuelve el valor en string de la vari... |
//------------------------------------------------------------------------------
// GB_unop: hard-coded functions for each built-in unary operator
//------------------------------------------------------------------------------
// SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2020, All Rights Reserved.
// http://... |
/*
* Copyright 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" f... |
#include<stdio.h>
main()
{
printf("wecome to ehsas institues ");
} |
/********************************************************************
*
* MAIN2MCU_PLS_INTRTR0 INTERRUPT MAP. header file
*
* Copyright (C) 2015-2019 Texas Instruments Incorporated.
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following condition... |
/****************************************************************************
Copyright (c) 2013-2016 Chukong Technologies Inc.
Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd.
https://adxeproject.github.io/
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and a... |
/*
* Copyright (C) 2019 The Android 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
/*
* INET An implementation of the TCP/IP protocol suite for the LINUX
* operating system. INET is implemented using the BSD Socket
* interface as the means of communication with the user level.
*
* Definitions for the UDP module.
*
* Version: @(#)udp.h 1.0.2 05/07/93
*
* Authors: Ross Biro
* Fred N. v... |
#ifndef __UTILITIES__
#include <stdlib.h>
#include "total_order.h"
int *get_random_int_array(const unsigned int n);
int is_sorted(const void *A, const unsigned int n,
const size_t elem_size,
total_order leq);
double test(void (*sort)(void *A, const unsigned int n,
... |
/* Posterior decoding algorithms; generic versions.
*
* Contents:
* 1. Posterior decoding algorithms.
* 2. Benchmark driver.
* 3. Unit tests.
* 4. Test driver.
* 5. Example.
* 6. Copyright and license information.
*/
#include "p7_config.h"
#include <math.h>
#include "easel.h"
#include "hmmer.h"
... |
/*
* Copyright (C) 2015 University of Oregon
*
* You may distribute under the terms of either the GNU General Public
* License or the Apache License, as specified in the LICENSE file.
*
* For more information, see the LICENSE file.
*/
/* gnoesyCNhsqc
3D C13,N15 edited noesy with separation via the carbon ... |
// Copyright (c) 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 CHROME_BROWSER_EXTENSIONS_ACTIVITY_LOG_ACTIVITY_DATABASE_H_
#define CHROME_BROWSER_EXTENSIONS_ACTIVITY_LOG_ACTIVITY_DATABASE_H_
#include <str... |
/*
* Workingset detection
*
* Copyright (C) 2013 Red Hat, Inc., Johannes Weiner
*/
#include <linux/memcontrol.h>
#include <linux/writeback.h>
#include <linux/pagemap.h>
#include <linux/atomic.h>
#include <linux/module.h>
#include <linux/swap.h>
#include <linux/fs.h>
#include <linux/mm.h>
/*
* Double CLOCK lists... |
// Copyright 2015 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 IOS_CHROME_APP_STARTUP_CHROME_APP_STARTUP_PARAMETERS_H_
#define IOS_CHROME_APP_STARTUP_CHROME_APP_STARTUP_PARAMETERS_H_
#import <UIKit/UIKit.h>
... |
/*
* lux OS kernel
* copyright (c) 2018 by Omar Mohammad
*/
#pragma once
#include <types.h>
#include <acpi.h>
/* HPET MMIO Registers */
#define HPET_CAP 0x0000
#define HPET_CONFIG 0x0010
#define HPET_INTR 0x0020
#define HPET_COUNTER 0x00F0
#define HPET_TN_CONFIG_CAP 0x0100
#define HPET_TN_COUNTER 0x01... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2017 The PIVX developers
// Copyright (c) 2018 The XIM developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#if... |
#import "GPUImageTwoInputFilter.h"
@interface GPUImageColorBlendFilter : GPUImageTwoInputFilter
@end |
/* -*- c++ -*- */
/*
* Copyright 2016 <+YOU OR YOUR COMPANY+>.
*
* This 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, or (at your option)
* any later version.
*
* This software i... |
/*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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
... |
//
// NSObject+HTMINoBase.h
// HTMIBaseMVVM
//
// Created by wlq on 2017/12/10.
// Copyright © 2017年 htmi. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface NSObject (HTMINoBase)
/**
去表征化参数列表
*/
@property (nonatomic, strong, readonly) NSDictionary *params;
/**
初始化方法
*/
- (instancetype)ini... |
#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 Pods_DependencyInjectionVersionNumber;
FOUNDATION_EXPORT const unsigned char Pods_DependencyInjecti... |
/*
* vim:ts=4:sw=4:expandtab
*
* i3status – Generates a status line for dzen2 or xmobar
*
* Copyright © 2008 Michael Stapelberg and contributors
* Copyright © 2009 Thorsten Toepper <atsutane at freethoughts dot de>
* Copyright © 2010 Axel Wagner <mail at merovius dot de>
* Copyright © 2010 Fernando Tarlá Cardos... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "smsh.h"
#define is_delim(x) ((x) == ' ' || (x) == '\t' )
char *next_cmd(char *prompt, FILE *fp)
{
char *buf;
int bufspace = 0;
int pos = 0;
int c;
printf("%s", prompt);
while ( (c = getc(fp)) != EOF ) {
if ( pos + 1 ... |
/*! Robust Euclidean norm computation
*
* Robust computation for computing the L2 (Euclidean) norm.
* While not impervious, this method resist Overflows and Underflows
*
* C equivalent to LAPACK's SNMR2 routine
* Sauce: http://www.netlib.org/lapack/explore-html/d7/df1/snrm2_8f_source.html
*
* notes:
* LA... |
/*
* Copyright (c) 2017 Nordic Semiconductor ASA
* Copyright (c) 2015 Runtime Inc
*
* SPDX-License-Identifier: Apache-2.0
*/
#include "fcb_test.h"
void fcb_test_init(void)
{
int rc;
struct fcb *fcb;
fcb = &test_fcb;
(void)memset(fcb, 0, sizeof(*fcb));
rc = fcb_init(TEST_FCB_FLASH_AREA_ID, fcb);
zassert_t... |
#ifndef DESCRIPTOR_H
#define DESCRIPTOR_H
#include <Eigen/Dense>
#include <vector>
#include <nlohmann/json.hpp>
#include "json.h"
class Structure;
class DescriptorValues;
class Descriptor {
public:
Descriptor();
std::string descriptor_name;
virtual DescriptorValues compute_struc(Structure &structure) = 0;
... |
/*
* Copyright (C) 2014 Intel Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... |
/*
* Copyright (c) 2003, 2006 Matteo Frigo
* Copyright (c) 2003, 2006 Massachusetts Institute of Technology
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the Licens... |
#pragma once
#ifndef __JSON_EXT_H__
#define __JSON_EXT_H__
#include "stdafx.h"
#include "json.hpp"
class JSON : public nlohmann::json
{
public:
operator std::wstring() const {
if (empty()) return {};
return MB2WC(dump());
}
};
#endif//__JSON_EXT_H__ |
#ifndef CPPNETLIB_NET_TIMER_ID_H_
#define CPPNETLIB_NET_TIMER_ID_H_
namespace cppnetlib {
namespace net {
class Timer;
class TimerID {
public:
TimerID() : timer_(nullptr), seq_id_(0) {}
TimerID(Timer* timer, int64_t seq_id) : timer_(timer), seq_id_(seq_id) {}
~TimerID() = default;
friend class TimerContain... |
/*
Copyright 2021 r-neal-kelly
*/
#pragma once
#include "nkr/z_macros_def.h"
#include "nkr/z_math_def.h"
#include "nkr/z_utils.h"
#include "nkr/z_array/stack_t_dec.h"
namespace nkr {
template <typename other_p>
inline constexpr c_bool_t
type_traits_i<array::stack_tg>::Is_Any()
{
ret... |
{
for (int c1 = 1; c1 <= n; c1 += 1)
for (int c2 = 1; c2 <= m; c2 += 1) {
s0(1, c1, c2, 0);
s1(1, c1, c2, 0);
}
for (int c1 = 1; c1 <= n; c1 += 1) {
s3(2, c1, 0, 0);
s2(2, c1, 0, 0);
}
for (int c1 = 1; c1 <= m; c1 += 1) {
for (int c3 = 1; c3 <= n; c3 += 1) {
s4(3, c1, 1, c3... |
/* NULL/EMPTY 0 */
#define SF_Unknown 0 /* sfc_GEOMETRY */
#define SF_Point 1
#define SF_LineString 2
#define SF_Polygon 3
#define SF_MultiPoint 4
#define SF_MultiLineString 5
#define SF_MultiPolygon 6
#define SF_GeometryCollection 7
#... |
/*
* This header is generated by classdump-dyld 1.0
* on Wednesday, March 22, 2017 at 9:03:10 AM Mountain Standard Time
* Operating System: Version 10.1 (Build 14U593)
* Image Source: /System/Library/Frameworks/AVFoundation.framework/AVFoundation
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias ... |
//
// NTESTeamReceiptDetailViewController.h
// NIM
//
// Created by chris on 2018/3/14.
// Copyright © 2018年 Netease. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface NTESTeamReceiptDetailViewController : UIViewController
@property(nonatomic, strong) IBOutlet UISegmentedControl *segmentControl;
@prope... |
// 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 WASM_RUN_UTILS_H
#define WASM_RUN_UTILS_H
#include <setjmp.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <array>
#inc... |
/*
* Copyright (c) 2007,2008,2009,2010 Mij <mij@sshguard.net>
*
* Permission to use, copy, modify, and 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"... |
/*
Author: Alexandre Boyer
Date-Create: 2018-08-15
This program contain the mathematics module of the program.
*/
// libraries required
#include <math.h>
unsigned long hash(unsigned char *str){
unsigned long hash = 5381;
int c;
while (c = *str++)
hash = ((hash << 5) + hash) + c; /* hash * 33 + c... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE127_Buffer_Underread__char_alloca_ncpy_51b.c
Label Definition File: CWE127_Buffer_Underread.stack.label.xml
Template File: sources-sink-51b.tmpl.c
*/
/*
* @description
* CWE: 127 Buffer Under-read
* BadSource: Set data pointer to before the allocated memory buffer
*... |
//===- ConvertVectorToLLVM.h - Utils to convert from the vector dialect ---===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... |
//
// Generated by classdumpios 1.0.1 (64 bit) (iOS port by DreamDevLost)(Debug version compiled Sep 26 2020 13:48:20).
//
// Copyright (C) 1997-2019 Steve Nygard.
//
#import "NSObject-Protocol.h"
@class SATVAirplay2HomeTheaterSpeakerPickerViewController;
@protocol SATVAirplay2HomeTheaterSpeaker;
@protocol SATV... |
//============================================================================
// Name : Flight.h
// Author : Rajko Zagorac
// Date :
// Copyright :
// Description :
//============================================================================
#pragma once
#include <string>
#include <iostream>
#i... |
/*!
* File HPMSOverlayTextAreaAdaptee.h
*/
#pragma once
#include <api/HPMSOverlayTextAreaAdapter.h>
#include <glm/gtc/quaternion.hpp>
#include <OgreOverlayContainer.h>
#include <OgreOverlayManager.h>
#include <OgreOverlay.h>
#include <OgreTextAreaOverlayElement.h>
#include <core/HPMSMaterialHelper.h>
#include <map>... |
/******************************************************************************
* Copyright (c) 2017 Sergey Alexandrov
*
* 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 restricti... |
/**************************************************
* Copyright (c) 2021 Amanch Esmailzadeh
* See LICENSE for details
**************************************************/
#ifndef KAI_ASSET_MANAGER_H
#define KAI_ASSET_MANAGER_H
#include "asset_type.h"
void init_asset_manager(void);
void destroy_asset_manager(void);... |
//------------------------------------------------------------------------------
// GB_AxB__lxor_ne_int32.c: matrix multiply for a single semiring
//------------------------------------------------------------------------------
// SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2022, All Rights Reserved.
// SPDX-Lic... |
/**
* \file
*
* \brief Component description for GCLK
*
* Copyright (c) 2018 Microchip Technology Inc.
*
* \asf_license_start
*
* \page License
*
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with ... |
// SPDX-License-Identifier: GPL-2.0
/*
* PCI support in ACPI
*
* Copyright (C) 2005 David Shaohua Li <shaohua.li@intel.com>
* Copyright (C) 2004 Tom Long Nguyen <tom.l.nguyen@intel.com>
* Copyright (C) 2004 Intel Corp.
*/
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/irqdomain.h>
#include <lin... |
// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.000000.0
#pragma once
#include "winrt/Component.Edge.h"
namespace winrt::Component::Edge::implementation
{
template <typename D, typename... I>
struct WINRT_EBO ThreeClass_base : implements<D, Component::Edge::IThreeClass, I...>
{
... |
#include <inttypes.h>
#include <stdarg.h>
#include <stdbool.h>
#include <string.h>
#include <math.h>
#include <assert.h>
#include "nvim/assert.h"
#include "nvim/vim.h"
#include "nvim/ascii.h"
#include "nvim/strings.h"
#include "nvim/file_search.h"
#include "nvim/buffer.h"
#include "nvim/charset.h"
#include "nvim/diff.... |
/* $NetBSD: dz_ibus.c,v 1.2 2003/12/13 23:04:37 ad Exp $ */
/*-
* Copyright (c) 2002, 2003 The NetBSD Foundation, Inc.
* All rights reserved.
*
* This code is derived from software contributed to The NetBSD Foundation
* by Andrew Doran.
*
* Redistribution and use in source and binary forms, with or without
* m... |
// code: 1
int main() { return 1 == 1.0; } |
#pragma once
template<class T> class ComplementaryFilter {
T m_WeightNew;
// Current filtered value.
T m_Current;
public:
ComplementaryFilter(T WeightNew, T Initial)
: m_WeightNew(WeightNew), m_Current(Initial)
{ }
void Filter(T New)
{
m_Current = (m_WeightNew * New + (100 - m_WeightNew) * ... |
/*
* Copyright 2009-2017 Alibaba Cloud 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... |
/*
* FUNCIONES COPIADAS DE LA LECCION 10 y 11 de TEORIA
* Sistemas operativos empotrados
* Gestión de excepciones del MC1322x
*/
#include "system.h"
/*****************************************************************************/
/**
* Tabla de manejadores
*/
extern volatile excep_handler_t _excep_handlers[e... |
/*
* This header is generated by classdump-dyld 1.5
* on Wednesday, April 14, 2021 at 2:35:05 PM Mountain Standard Time
* Operating System: Version 14.4 (Build 18K802)
* Image Source: /System/Library/PrivateFrameworks/PhotosGrap... |
/**
* This header is generated by class-dump-z 0.2-0.
* class-dump-z is Copyright (C) 2009 by KennyTM~, licensed under GPLv3.
*
* Source: (null)
*/
#import "VKClient-Structs.h"
#import "NSCacheDelegate.h"
#import <XXUnknownSuperclass.h> // Unknown library
@class NSOperationQueue, NSString, NSCache, NSObject;
@pr... |
// Copyright(C) 2019 Intel Corporation
// Licensed under the MIT License
#pragma once
#include <inference_engine.hpp>
#include "core/session/onnxruntime_cxx_api.h"
#include "contexts.h"
namespace onnxruntime {
namespace openvino_ep {
namespace backend_utils {
const std::string log_tag = "[OpenVINO-EP] ";
#ifndef N... |
#ifndef INCLUDED_PLUGIN_PTR
#define INCLUDED_PLUGIN_PTR
#pragma once
#include <memory>
#include "PlugIn.h"
struct PlugInDeleter
{
void operator ()(PlugIn* plugin)
{
plugin->destroy();
}
};
template <class T>
using plugin_ptr = std::unique_ptr<T, PlugInDeleter>;
#endif // INCLUDED_PLUGIN_PTR |
/*
* Copyright (C) 2009 Apple Inc. All rights reserved.
* Copyright (C) 2009 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the ... |
/*-------------------------------------------------------------------------
*
* ts_selfuncs.c
* Selectivity estimation functions for text search operators.
*
* Portions Copyright (c) 1996-2018, PostgreSQL Global Development Group
*
*
* IDENTIFICATION
* src/backend/tsearch/ts_selfuncs.c
*
*---------------... |
/*
* The olsr.org Optimized Link-State Routing daemon (olsrd)
* Copyright (c) 2004, Thomas Lopatic (thomas@lopatic.de)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributi... |
/*
* This header is generated by classdump-dyld 1.5
* on Friday, April 30, 2021 at 11:37:32 AM Mountain Standard Time
* Operating System: Version 13.5.1 (Build 17F80)
* Image Source: /System/Library/PrivateFrameworks/PassKitUI.f... |
/* apps/s_client.c */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
* This package is an SSL implementation written
* by Eric Young (eay@cryptsoft.com).
* The implementation was written so as to conform with Netscapes SSL.
*
* This library is free for commercial and non-comm... |
#pragma once
#include "SkillBase.h"
#include <SFML/Graphics.hpp>
#include <SFML/Window.hpp>
#include "GlobalEnum.h"
#include <iostream>
#include <list>
#include "IncludeAllBonusBox.h"
class BonusBoxBase;
class SkillWarCry : public SkillBase
{
private:
int language;
std::list<BonusBoxBase*> listAblazeTheFirebox;
sf... |
/*-
* Copyright (c) 2005-2007, Kohsuke Ohtani
* 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 o... |
/**
* Copyright 2018-2019 Dynatrace 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 of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... |
#pragma once
#include "pch.h"
/*
MAGMA 2.3.0, https://icl.utk.edu/magma/software/index.html
Matrix Algebra for GPU and Multicore Architectures
Device management
Utilities
*/
namespace MagmaBinding
{
//
extern "C" MAGMABINDINGS_API void printInfo();
extern "C" MAGMABINDINGS_API int start();
extern "C" MA... |
#pragma once
#include "Game/Core/Core.h"
#include "Volt/Game/SceneHook.h"
namespace Volt {
class Entity;
}
class GamePerfHook : public Volt::SceneHook {
public:
GamePerfHook ();
virtual ~GamePerfHook ();
virtual void OnUpdateStart ();
virtual void OnUpdateEnd ();
virtual void OnRenderStart ... |
// Copyright 2019 SoloKeys Developers
//
// Licensed under the Apache License, Version 2.0, <LICENSE-APACHE or
// http://apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or
// http://opensource.org/licenses/MIT>, at your option. This file may not be
// copied, modified, or distributed except according t... |
#ifndef LEANET_CHANNEL_H
#define LEANET_CHANNEL_H
#include "noncopyable.h"
#include "timestamp.h"
#include <functional>
namespace leanet {
class EventLoop;
//
// A selectable I/O channel.
//
// This class doesn't own the file descriptor
// The file descriptor could be a socket, an eventfd, a timerfd, or
// a signal... |
#ifndef NUITRACK_ORIENTATION_H_
#define NUITRACK_ORIENTATION_H_
namespace tdv
{
namespace nuitrack
{
/**
* @ingroup CommonElements_group
* @brief Stores the spatial orientation as a 3x3 rotation matrix.
*/
struct Orientation
{
/**
* @brief Constructs an orientation with the zero matrix
*/
Orientation()
{
m... |
/*
* jmemmgr.c
*
* This file was part of the Independent JPEG Group's software:
* Copyright (C) 1991-1997, Thomas G. Lane.
* It was modified by The libjpeg-turbo Project to include only code and
* information relevant to libjpeg-turbo.
* For conditions of distribution and use, see the accompanying README file.
... |
/* Copyright (c) 2014 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "clock.h"
#include "common.h"
#include "gpio.h"
#include "registers.h"
#include "system.h"
#include "task.h"
#include "uart.h"
#includ... |
#ifndef _CDL_H_
#define _CDL_H_
#define MAX_DEBUG_STRING_LENGTH 2048
#define MAX_DEBUG_FORMAT_STRING_LENGTH 1024
#define MAX_VERSIONLENGTH 27 // sizeof(2DWORDS)/(log 10 base 2) + 3 (seperators)
// == 64/3 +... |
/****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the QtXmlPatterns module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Licensees holding valid... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.