text stringlengths 9 948k |
|---|
#pragma once
#include <webrtc/modules/video_capture/video_capture_impl.h>
#include <webrtc/modules/video_capture/video_capture.h>
#include "VosVideo.CameraPlayer/CameraPlayerBase.h"
namespace vosvideo
{
namespace camera
{
class CameraVideoCaptureImpl : public webrtc::videocapturemodule::VideoCaptureImpl
{
pub... |
// NOTE: This file was generated by the ServiceGenerator.
// ----------------------------------------------------------------------------
// API:
// Blogger API v3 (blogger/v3)
// Description:
// The Blogger API provides access to posts, comments and pages of a
// Blogger blog.
// Documentation:
// https://dev... |
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/random.h>
#include <linux/sched.h>
#include <linux/stat.h>
#include <linux/types.h>
#include <linux/fs.h>
#include <linux/export.h>
#include <linux/interrupt.h>
#include <linux/stacktrace.h>
#include <linux/fault-inject.h>
/*
* setup_fault_attr() is a ... |
/* $NetBSD: cryptosoft.h,v 1.2 2003/08/27 00:20:56 thorpej Exp $ */
/* $OpenBSD: cryptosoft.h,v 1.10 2002/04/22 23:10:09 deraadt Exp $ */
/*
* The author of this code is Angelos D. Keromytis (angelos@cis.upenn.edu)
*
* This code was written by Angelos D. Keromytis in Athens, Greece, in
* February 2000. Network Sec... |
/*
* This header is generated by classdump-dyld 1.0
* on Sunday, June 7, 2020 at 11:15:44 AM Mountain Standard Time
* Operating System: Version 13.4.5 (Build 17L562)
* Image Source: /System/Library/PrivateFrameworks/CoreDuet.framework/CoreDuet
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Lim... |
// Copyright 2006-2008 the V8 project authors. All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this lis... |
/* Copyright (c) 2020 vesoft inc. All rights reserved.
*
* This source code is licensed under Apache 2.0 License.
*/
#ifndef GRAPH_VISITOR_REWRITESYMEXPRVISITOR_H_
#define GRAPH_VISITOR_REWRITESYMEXPRVISITOR_H_
#include <memory>
#include "common/expression/ExprVisitor.h"
namespace nebula {
class Expression;
na... |
//
// LZURLEntity.h
// LZScaner
//
// Created by comst on 16/4/6.
// Copyright © 2016年 com.comst1314. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>
NS_ASSUME_NONNULL_BEGIN
@interface LZURLEntity : NSManagedObject
// Insert code here to declare functionality of your mana... |
//
// RoundingShapes.h
// RoundingShapes
//
// Created by Mohamed Nagi on 5/1/19.
// Copyright © 2019 Mohamed Nagi. All rights reserved.
//
#import <UIKit/UIKit.h>
//! Project version number for RoundingShapes.
FOUNDATION_EXPORT double RoundingShapesVersionNumber;
//! Project version string for RoundingShapes.
F... |
/*
Copyright (C) 2018-2020 Adrian Michel
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 ... |
// Copyright 2016 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_CHROME_EXTENSION_TEST_NOTIFICATION_OBSERVER_H_
#define CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSION_TEST_NOTIFICATION_OBSE... |
//Aqui van las constantes
void listar_soldados(int gravedad_heridas[MAX_SOLDADOS],int soldados[MAX_SOLDADOS], int total_soldados, int* cantidad_soldados, int soldados_disponibles[MAX_SOLDADOS]); |
#include <stdio.h>
#include "i_am_c.h"
void i_am_c()
{
printf(" Hello, I am C code.\n");
} |
/*
* Copyright 2019-2020 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... |
//
// QMChatShowRichTextController.h
// IMSDK
//
// Created by lishuijiao on 2020/10/21.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface QMChatShowRichTextController : UIViewController
@property (nonatomic, copy) NSString *urlStr;
//用于机器人表单消息附件展示
@property (nonatomic, assign)BOOL isForm;
@end
NS... |
/*
* c 2001 PPC 64 Team, IBM Corp
*
* 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.
*
* /pr... |
/*
* This header is generated by classdump-dyld 1.0
* on Saturday, June 1, 2019 at 6:51:27 PM Mountain Standard Time
* Operating System: Version 12.1.1 (Build 16C5050a)
* Image Source: /System/Library/PrivateFrameworks/NanoTimeKitCompanion.framework/NanoTimeKitCompanion
* classdump-dyld is licensed under GPLv3, Copyrig... |
/**************************************************************************
*
* Copyright 2007-2015 VMware, 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 Softwar... |
#ifndef NEMU_APU_TRIANGLE_H
#define NEMU_APU_TRIANGLE_H
#include <stdint.h>
#include <stdbool.h>
struct triangle {
uint8_t len_cnt;
uint8_t linear_cnt;
uint8_t linear_reload;
uint16_t timer: 11;
uint16_t reload: 11;
uint8_t sequence;
bool ctrl: 1;
bool linear_reloadflag: 1;
bool enabled: 1;
};
void... |
/*=========================================================================
Program: ParaView
Module: $RCSfile$
Copyright (c) 2013 Sandia Corporation, Kitware Inc.
All rights reserved.
ParaView is a free software; you can redistribute it and/or modify it
under the terms of the ParaView license v... |
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */
/*
* Copyright (c) 2012 Sandia National Laboratories. All rights reserved.
* Copyright (c) 2014-2015 Los Alamos National Security, LLC. All rights
* reserved.
* Copyright (c) 2014 Intel, Inc. All rights reserved.
* Co... |
/*
***********************************************************************************************************************
*
* Copyright (c) 2018-2019 Advanced Micro Devices, Inc. All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associ... |
/*
* This header is generated by classdump-dyld 1.5
* on Friday, April 30, 2021 at 11:36:17 AM Mountain Standard Time
* Operating System: Version 13.5.1 (Build 17F80)
* Image Source: /System/Library/PrivateFrameworks/SetupAssist... |
//
// LLamaAppManager.h
// Llama
//
// Created by Caleb Keitt on 11/16/19.
// Copyright © 2019 com.rider.llama. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface LLamaAppManager : NSObject
-(void)presentRootViewController;
#pragma mark - Singleton App Manager Object
... |
#ifndef GUICONSTANTS_H
#define GUICONSTANTS_H
/* Milliseconds between model updates */
static const int MODEL_UPDATE_DELAY = 250;
/* AskPassphraseDialog -- Maximum passphrase length */
static const int MAX_PASSPHRASE_SIZE = 1024;
/* AriesCoinGUI -- Size of icons in status bar */
static const int STATUSBAR_ICONSIZE =... |
/*******************************************************************************
* Author: Andrew Seligman
* Date: March 18, 2016
* File: logger.h
* Purpose: This file contains function prototypes for logger.c, which
* provides an interface for logging program events. A program
* ... |
/*
* Copyright 2014-present Facebook, 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 a... |
/*
* Copyright 2004-2010 Freescale Semiconductor, Inc. All Rights Reserved.
*/
/*
* The code contained herein is licensed under the GNU General Public
* License. You may obtain a copy of the GNU General Public License
* Version 2 or later at the following locations:
*
* http://www.opensource.org/licenses/gpl-li... |
/* Copyright (c) 2010-2011 Xiph.Org Foundation, Skype Limited
Written by Jean-Marc Valin and Koen Vos */
/*
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 abov... |
//
// MLCustomCollectionReusableView.h
// ViewControllers
//
// Created by Joachim Kret on 22.11.2014.
// Copyright (c) 2014 Joachim Kret. All rights reserved.
//
#import "MLCollectionReusableView.h"
@interface MLCustomCollectionReusableView : MLCollectionReusableView
@property (nonatomic, readonly, strong) IBOu... |
/*
* This header is generated by classdump-dyld 1.5
* on Wednesday, April 14, 2021 at 2:20:56 PM Mountain Standard Time
* Operating System: Version 14.4 (Build 18K802)
* Image Source: /System/Library/Frameworks/MetalPerformanceS... |
void POTENG(double* POTA,double* POTR,double* PTRF,long ProcID) {
LPOTR = 0.0;
LPTRF = 0.0;
curr_box = my_boxes[ProcID];
/*@;BEGIN(Nest12=Nest)@*/while (curr_box)
{
i = curr_box->coord[XDIR];
j = curr_box->coord[YDIR];
k = curr_box->coord[ZDIR];
/*@;BEGIN(Nest13=Nest)... |
#include "simple/logging.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
static Logger* log_a0 = NULL;
static Logger* log_a1 = NULL;
void test(int i) {
LOG_DEBUG(log_a0, "%d", i);
LOG_INFO(log_a0, "%d", i);
LOG_ERROR(log_a0, "%d", i);
LOG_FATAL(log_a0, "%d", i);
... |
/*
* Copyright (c) 1998-2000 Apple Computer, Inc. All rights reserved.
*
* @APPLE_OSREFERENCE_LICENSE_HEADER_START@
*
* This file contains Original Code and/or Modifications of Original Code
* as defined in and that are subject to the Apple Public Source License
* Version 2.0 (the 'License'). You may not use th... |
// Copyright (c) 2017 The PIVX developers
// Copyright (c) 2018 The alicoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef alicoin_BLOCKSIGNATURE_H
#define alicoin_BLOCKSIGNATURE_H
#include "key.h"
#include ... |
/*
*
* Copyright (c) 2020 Project CHIP Authors
* Copyright (c) 2019 Google LLC.
* 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
*
* h... |
#pragma once
#include "IParserTable.h"
#include "../Grammar/IGrammar.h"
#include <vector>
class ParserTable : public IParserTable
{
public:
void AddState(std::unique_ptr<IParserState> && state) override;
size_t GetStatesCount() const override;
IParserState& GetState(size_t index) override;
const IParserState& Get... |
/* Low-level parallel-port routines for 8255-based PC-style hardware.
*
* Authors: Phil Blundell <philb@gnu.org>
* Tim Waugh <tim@cyberelk.demon.co.uk>
* Jose Renau <renau@acm.org>
* David Campbell
* Andrea Arcangeli
*
* based on work by Grant Guenther <grant@torque.net> and Phil ... |
/*
* This header is generated by classdump-dyld 1.5
* on Wednesday, April 28, 2021 at 9:09:38 PM Mountain Standard Time
* Operating System: Version 14.5 (Build 18L204)
* Image Source: /System/Library/PrivateFrameworks/SiriVOX.fr... |
/* The copyright in this software is being made available under the BSD
* License, included below. This software may be subject to other third party
* and contributor rights, including patent rights, and no such rights are
* granted under this license.
*
* Copyright (c) 2010-2011, ITU/ISO/IEC
* All rights reser... |
#pragma once
#include "Array.h"
#include <map>
typedef std::map<uint8_t, ByteArray> tlvMap;
typedef std::map<uint8_t, ByteDynArray> tlvCreateMap;
class CTLV
{
tlvMap map;
public:
CTLV(ByteArray &data);
~CTLV(void);
ByteArray getValue(uint8_t Tag);
ByteArray *getTAG(uint8_t Tag);
};
class CTLVCreate
{
public:
... |
/*
* LevelFinest.h
*
* Created on: 10.01.2015
* Author: Michael
*/
#ifndef LEVELFINEST_H_
#define LEVELFINEST_H_
#include "Level.h"
namespace NetworKit {
/**
* @ingroup numerics
*/
class LevelFinest : public Level {
public:
LevelFinest();
LevelFinest(const CSRMatrix &A);
void coarseType(const Vecto... |
/* Generated by Snowball 2.1.0 - https://snowballstem.org/ */
#ifdef __cplusplus
extern "C" {
#endif
extern struct SN_env * finnish_ISO_8859_1_create_env(void);
extern void finnish_ISO_8859_1_close_env(struct SN_env * z);
extern int finnish_ISO_8859_1_stem(struct SN_env * z);
#ifdef __cplusplus
}
#endif |
/***********************************************************************
* Copyright (c) 2012, Baidu Inc. All rights reserved.
*
* Licensed under the BSD License
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* license.txt
**********... |
//
// AddSecondDirectoryRespBody.h
// Hey!XuanWu
//
// Created by Cao JianRong on 14-3-5.
// Copyright (c) 2014年 Cao JianRong. All rights reserved.
//
#import "RespBody.h"
@interface AddSecondDirectoryRespBody : RespBody
{
NSString *accountId;
}
@property (nonatomic, retain) NSString *accountId;
@end |
/*
* ARM optimized DSP utils
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later versio... |
/*-
* Copyright (c) 2002-2005 Sam Leffler, Errno Consulting
* 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
* notic... |
// 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 CHROMEOS_DISKS_SUSPEND_UNMOUNT_MANAGER_H_
#define CHROMEOS_DISKS_SUSPEND_UNMOUNT_MANAGER_H_
#include <set>
#include <string>
#include "base/comp... |
//
// RegHelper.c
//
// Copyright (c) 2002 by J Brown
// Freeware
//
// Implements registry helper functions
//
#include "WinSpy.h"
#include "RegHelper.h"
LONG GetSettingBinary(HKEY hkey, TCHAR szKeyName[], void *buf, ULONG nNumBytes)
{
DWORD type = REG_BINARY;
if (ERROR_SUCCESS == RegQueryValueEx(hkey,... |
/*
Copyright (c) 2018. The YARA Authors. 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 followi... |
// Copyright 2013-2019 Stanford University
//
// 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 ag... |
#pragma once
#include <type_traits>
#include <utility>
#include "macros/check.h"
#include "meta/misc.h"
#include "utils/mat.h"
namespace Graphics
{
template <typename T, CHECK_EXPR(std::declval<T &>().GetTransformableVertexPosition())>
constexpr auto &GetTransformableVertexPosition(T &vertex)
{
r... |
#import <Foundation/Foundation.h>
#import "WindowController.h"
@interface Window : NSObject{
CGRect _oldRestoreFrame;
}
@property (retain, nonatomic) WindowController *windowController;
@property (nonatomic, retain) WebView *webView;
- (id) initWithWebView:(WebView *)view;
- (void) open:(NSDictionary *)properti... |
/*
* Gophernicus
*
* Copyright (c) 2009-2018 Kim Holviala <kimholviala@fastmail.com>
* Copyright (c) 2019 Gophernicus Developers <gophernicus@gophernicus.org>
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the followi... |
// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.200117.5
#ifndef WINRT_Windows_System_Preview_2_H
#define WINRT_Windows_System_Preview_2_H
#include "winrt/impl/Windows.System.Preview.1.h"
WINRT_EXPORT namespace winrt::Windows::System::Preview
{
struct __declspec(empty_bases) TwoPanelHin... |
/*
* This header is generated by classdump-dyld 1.5
* on Tuesday, November 10, 2020 at 10:18:47 PM Mountain Standard Time
* Operating System: Version 14.2 (Build 18K57)
* Image Source: /usr/lib/libcoreroutine.dylib
... |
#include <sched/thread.h>
#include <sched/process.h>
#include <stdint.h>
#include <arch/cpu.h>
#include <arch/msr.h>
#include <modules.h>
#include <userspace.h>
#include <errno.h>
#define PRCTL_FS 1
#define PRCTL_GS 2
thread_t getCurrentThread(void) {
return (thread_t)pcpuRead64(currentThread);
}
void setCurrentThr... |
#include <complex.h>
#include <math.h>
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define FORCE_INLINE __attribute__((always_inline)) inline
FORCE_INLINE static int ctz(size_t N) {
int ctz1 = 0;
while (N) {
ctz1++;
N >>= 1;
}
return ctz1 - 1;
}
FORCE_INLINE static ... |
// Copyright (c) 2014-2017 The Bitrity Core developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef PRIVATESEND_H
#define PRIVATESEND_H
#include "chain.h"
#include "chainparams.h"
#include "primitives/transaction... |
/* Copyright (c) 2020 Dennis Wölfing
*
* 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 AUTHOR DISCLAI... |
// SPDX-License-Identifier: GPL-2.0
/*
* This code is used on x86_64 to create page table identity mappings on
* demand by building up a new set of page tables (or appending to the
* existing ones), and then switching over to them when ready.
*
* Copyright (C) 2015-2016 Yinghai Lu
* Copyright (C) 2016 Kees... |
//
// NEBaseViewController.h
// NLiteAVDemo
//
// Created by I am Groot on 2020/8/24.
// Copyright (c) 2021 NetEase, Inc. All rights reserved.
// Use of this source code is governed by a MIT license that can be found in the LICENSE file.
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface NEBaseViewContro... |
//
// 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 <Foundation/NSOperation.h>
@class NSTimer;
@interface CCDRetrieveClientCertificateOperation : NSOperation
{
_Bool _operationExecuting... |
/*++
Copyright(c) 1995 Microsoft Corporation
MODULE NAME
addrmap.h
ABSTRACT
Header file for address attributes database shared
between the automatic connection driver, the registry
and the automatic connection service.
AUTHOR
Anthony Discolo (adiscolo) 01-Sep-1995
REVISION HISTORY
--*/
//
// ... |
/* DO NOT EDIT
This file was automatically generated by Pidl
from winreg.idl and winreg.cnf.
Pidl is a perl based IDL compiler for DCE/RPC idl files.
It is maintained by the Samba team, not the Wireshark team.
Instructions on how to download and install Pidl can be
found at https://wiki.wireshark.org/Pidl
*/
#... |
/*=========================================================================
Program: The OpenIGTLink Library
Language: C
Web page: http://openigtlink.org/
Copyright (c) Insight Software Consortium. All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warran... |
//==============================================================================
// Constrained Materials Management and Production Planning Tool
//
// (C) Copyright IBM Corp. 1993, 2020 All Rights Reserved
//==============================================================================
#ifndef PipReqMgrH
#define Pip... |
/*
* Copyright (C) 2015-2017 Alibaba Group Holding Limited
*/
#include <stdio.h>
#include <string.h>
#include <assert.h>
#include <aos/aos.h>
#include <sal_arch.h>
#include <sal_ipaddr.h>
#include <sal.h>
#define TAG "sal_module"
sal_op_t *g_sal_module = NULL;
int sal_module_register(sal_op_t *module)
{
if (... |
/*
* Attention - this functionality doesn't work when Orace is not linked with
* correct runtime library. The combination "vcruntime140.dll" is working for
* PostgreSQL 12 (vcruntime140d.dll doesn't work). Probably this runtime should
* be same like Postgres server runtime (what is used can be detected by
* depend... |
/**
* Copyright (c) 2013 - 2017, Nordic Semiconductor ASA
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,... |
#include <SPI.h>
#include <nRF24L01.h>
#include <RF24.h>// Mehr infos: https://github.com/nRF24/RF24/blob/master/RF24.h
extern Config configSet;
extern Input_State stateInput;
extern Reciv_Package recivPackage;
extern int validateNumber;
RF24 radio(RADIO_CE, RADIO_CS);
int missingPackages = 0;
// ####################... |
///
/// Copyright (c) 2016 Dropbox, Inc. All rights reserved.
///
/// Auto-generated by Stone, do not modify.
///
#import <Foundation/Foundation.h>
#import "DBSerializableProtocol.h"
@class DBSHARINGLinkAction;
@class DBSHARINGLinkPermission;
@class DBSHARINGPermissionDeniedReason;
NS_ASSUME_NONNULL_BEGIN
#pragma ... |
// SPDX-License-Identifier: GPL-2.0+
/*
* Copyright (C) 2014 Panasonic Corporation
* Copyright (C) 2014-2015 Masahiro Yamada <yamada.masahiro@socionext.com>
*/
#include <common.h>
#include <log.h>
#include <asm/io.h>
#include <asm/unaligned.h>
#include <linux/delay.h>
#include <linux/mtd/rawnand.h>
#include ... |
/*
* Copyright (C) 2008 The Android Open Source Project
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* * Redistributions of source code must retain the above copyright
* notice, t... |
/*
* This header is generated by classdump-dyld 1.5
* on Wednesday, April 14, 2021 at 2:36:39 PM Mountain Standard Time
* Operating System: Version 14.4 (Build 18K802)
* Image Source: /System/Library/PrivateFrameworks/TextInputC... |
/*
* drivers/net/phy/marvell.c
*
* Driver for Marvell PHYs
*
* Author: Andy Fleming
*
* Copyright (c) 2004 Freescale Semiconductor, Inc.
*
* Copyright (c) 2013 Michael Stapelberg <michael@stapelberg.de>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the G... |
/****************************************************************************
**
** Copyright (C) 2017 Klaralvdalens Datakonsult AB (KDAB).
** Contact: https://www.qt.io/licensing/
**
** This file is part of the Qt3D module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees holdin... |
// ------------------------------------------------------------
// 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 Hostin... |
/* Copyright 2017 Pawnerd, 2019 Matthew de Verteuil
*
* 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 pr... |
/** Parse executable statements and blocks
* @file
*
* The parser translates the lexer's tokens into IR nodes
*
* This source file is part of the Cone Programming Language C compiler
* See Copyright Notice in conec.h
*/
#include "parser.h"
#include "../ir/ir.h"
#include "../shared/memory.h"
#include "../shared/e... |
/*
* Copyright (c) 2010, Yung-Yu Chen <yyc@solvcon.net>
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* - Redistributions of source code must retain the above copyright notice,
* ... |
// Copyright 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.
#ifndef PEERD_CONSTANTS_H_
#define PEERD_CONSTANTS_H_
namespace peerd {
namespace constants {
extern const char kSerbusServiceId[];
namespace mdns ... |
#include <context.h>
#include <MMU.h>
#include <heap.h>
#include <lib.h>
#include <pageAllocator.h>
context_t * context = AVOID_BSS;
static context_t * kernelContext = AVOID_BSS;
static context_t * processContext = AVOID_BSS;
static context_t * sharedContext = AVOID_BSS;
extern void ** moduleAddresses;
context_t * c... |
#include "rayfork-math.h"
#pragma region misc
rf_public float rf_next_pot(float it)
{
return powf(2, ceilf(logf(it) / logf(2)));
}
rf_public rf_vec2 rf_center_to_object(rf_sizef center_this, rf_rec to_this)
{
rf_vec2 result = { to_this.x + to_this.width / 2 - center_this.width / 2, to_this.y + to_this.height... |
/*
* Copyright (c) 2016, Alliance for Open Media. All rights reserved
*
* This source code is subject to the terms of the BSD 2 Clause License and
* the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
* was not distributed with this source code in the LICENSE file, you can
* obtain it at w... |
#include <stdio.h>
#include <stdlib.h>
char* rev(char*);
int length(char*);
int main()
{
printf("%d\n",length("computer"));
printf("\n%s",rev("computer"));
return 0;
}
int length(char *p)
{
int i;
for(i=0;*(p+i)!='\0';i++);
return(i);
}
char* rev(char *p)
{
int l,i;
char t;
f... |
// Copyright 2017 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 THIRD_PARTY_BLINK_RENDERER_PLATFORM_INSTRUMENTATION_RESOURCE_COORDINATOR_DOCUMENT_RESOURCE_COORDINATOR_H_
#define THIRD_PARTY_BLINK_RENDERER_PLATF... |
#pragma once
class Input
{
public:
static bool IsKeyPressed(int keyCode);
static bool IsMouseButtonPressed(int button);
static std::pair<float, float> GetMousePosition();
static float GetMouseX();
static float GetMouseY();
}; |
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (the "License"). You may not use this file except in compliance
* with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* o... |
//
// LJAlertView.h
// 7dmallStore
//
// Created by celink on 15/6/30.
// Copyright (c) 2015年 celink. All rights reserved.
//
#import <UIKit/UIKit.h>
typedef void(^CommitBlock)(NSInteger flag);
@interface LJAlertView : UIView
/** cancel 不回调, 其他从1开始依次累加 */
+(void)showAlertWithTitle:(NSString*)title
... |
/****************************************************************************
* boards/arm/lpc31xx/olimex-lpc-h3131/tools/crc32.c
*
* This file is a part of NuttX:
*
* Copyright (C) 2013 Gregory Nutt. All rights reserved.
*
* The logic in this file was developed by Gary S. Brown:
*
* COPYRIGHT (C) 1986 Gar... |
//
// DNViewControllerOne.h
// DNRouter_Example
//
// Created by Ming on 2019/4/18.
// Copyright © 2019 418589912@qq.com. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface DNViewControllerOne : UIViewController
@end
NS_ASSUME_NONNULL_END |
/* --COPYRIGHT--,BSD
* Copyright (c) 2016, Texas Instruments Incorporated
* 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 copy... |
/*============================================================================
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 (c) 2017-2018 Razor, Inc.
* All rights reserved.
*
* See the file LICENSE for redistribution information.
*/
#ifndef __razor_callback_function_h__
#define __razor_callback_function_h__
/*接收端反馈信息发送函数,是将接收端的信息反馈到发送端上*/
typedef void(*send_feedback_func)(void* handler, const uint8_t* payload, int payloa... |
//
// LYRUIKeyboardAccessoryView.h
// Layer-XDK-UI-iOS
//
// Created by Łukasz Przytuła on 28.03.2018.
// Copyright (c) 2017 Layer. 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 co... |
/*
* Performance events:
*
* Copyright (C) 2008-2009, Thomas Gleixner <tglx@linutronix.de>
* Copyright (C) 2008-2011, Red Hat, Inc., Ingo Molnar
* Copyright (C) 2008-2011, Red Hat, Inc., Peter Zijlstra
*
* Data type definitions, declarations, prototypes.
*
* Started by: Thomas Gleixner and Ingo Mol... |
/*
Copyright (c) 2017 TOSHIBA Digital Solutions Corporation
This program 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, either version 3 of the
License, or (at your option) any later version.
This... |
// 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 CHROME_BROWSER_UI_VIEWS_TABS_BASE_TAB_H_
#define CHROME_BROWSER_UI_VIEWS_TABS_BASE_TAB_H_
#pragma once
#include "base/memory/ref_counted.h"
#... |
/*
* mini-llvm-cpp.h: LLVM backend
*
* Authors:
* Zoltan Varga (vargaz@gmail.com)
*
* (C) 2009 Novell, Inc.
*/
#ifndef __MONO_MINI_LLVM_CPP_H__
#define __MONO_MINI_LLVM_CPP_H__
#include <glib.h>
#include "llvm-c/Core.h"
#include "llvm-c/ExecutionEngine.h"
G_BEGIN_DECLS
typedef enum {
LLVM_ATOMICRMW_OP_XC... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.