text stringlengths 9 948k |
|---|
// -*- C++ -*-
// $Id: Routing_Slip_Queue.h 1861 2011-08-31 16:18:08Z mesnierp $
#ifndef TAO_NOTIFY_ROUTING_SLIP_QUEUE_H
#define TAO_NOTIFY_ROUTING_SLIP_QUEUE_H
#include /**/ "ace/pre.h"
#include "orbsvcs/Notify/Routing_Slip.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
T... |
/* VMPROF
*
* statistical sampling profiler specifically designed to profile programs
* which run on a Virtual Machine and/or bytecode interpreter, such as Python,
* etc.
*
* The logic to dump the C stack traces is partly stolen from the code in gperftools.
* The file "getpc.h" has been entirely copied from gper... |
/*-
* Copyright 2004 The Unichrome Project. 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,... |
/*
* An implementation of the TwoFish algorithm
* Copyright (c) 2015 Supraja Meedinti
*
* 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
* versio... |
// Copyright 2019 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_OBJECTS_TAGGED_IMPL_INL_H_
#define V8_OBJECTS_TAGGED_IMPL_INL_H_
#include "src/objects/tagged-impl.h"
#ifdef V8_COMPRESS_POINTERS
#include ... |
/*
* Canonical XML implementation test program
* (http://www.w3.org/TR/2001/REC-xml-c14n-20010315)
*
* See Copyright for the status of this software.
*
* Author: Aleksey Sanin <aleksey@aleksey.com>
*/
#include "libxml.h"
#if defined(LIBXML_C14N_ENABLED) && defined(LIBXML_OUTPUT_ENABLED)
#include <stdio.h>
#inc... |
#ifndef CG_TEXTURE_H
#define CG_TEXTURE_H
#include "stdafx.h"
#include "Component.h"
#include "Reflection.h"
CG_BEGIN
class Texture :public Component
{
public:
PTSTR bmpFile = L".\\texture.bmp";
PBITMAPFILEHEADER pBmpFileHeader;
PBITMAPINFO pBmpInfo;
PBYTE pBits;
LONG bmpWidth;
LONG bmpHeight;
bool LoadMap();
};... |
//
// PlaneDetector.h
// Project ARM
//
// Created by Migy Yabut on 12/09/2018.
// Copyright © 2018 Migy Yabut. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <SceneKit/SceneKit.h>
@interface PlaneDetector : NSObject
+ (SCNVector4)detectPlaneWithPoints:(NSArray <NSValue* >*)points;
@end |
//
// SCMQRCodeScanner.h
// LiveScanner
//
// Created by David Wisti on 2/15/12.
// Copyright (c) 2012 Shortcut Media AG. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "SCMQRCodeScannerDelegate.h"
@interface SCMQRCodeScanner : NSObject
@property (nonatomic, assign, readwrite) id <SCMQRCodeSc... |
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (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
* or http://www.opensolar... |
/*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... |
/*
Contributors: Nicola Zonta
Copyright Schrodinger, LLC. All rights reserved
*/
#ifndef COORDGEN_FRAGMENTER_H
#define COORDGEN_FRAGMENTER_H
#include <vector>
class sketcherMinimizerFragment;
class sketcherMinimizerMolecule;
class sketcherMinimizerBond;
class sketcherMinimizerRing;
class sketcherMinimizerAtom... |
// 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 EXTENSIONS_BROWSER_API_APP_WINDOW_APP_WINDOW_API_H_
#define EXTENSIONS_BROWSER_API_APP_WINDOW_APP_WINDOW_API_H_
#include "extensions/browser/... |
/*
* Copyright (c) 2020-2021, Linus Groh <linusg@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <LibCrypto/BigInt/SignedBigInteger.h>
#include <LibJS/Heap/Cell.h>
namespace JS {
class BigInt final : public Cell {
public:
explicit BigInt(Crypto::SignedBigInteger);
virt... |
#include "cass.h"
#include "parse.h"
#include "st1201/st1201.h"
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
static void test_st1201_uint8(struct line line);
int main(void)
{
FILE *stream = fopen(ST1201_TEST_DATA_FILEPATH, "r");
cass_cond(stream != NULL);
char row[256];
unsigned nrow = ... |
/***********************************************************************************************************************************
Restore File
***********************************************************************************************************************************/
#include "build.auto.h"
#include <fcntl.... |
/*
* This header is generated by classdump-dyld 1.5
* on Wednesday, October 27, 2021 at 3:16:37 PM Mountain Standard Time
* Operating System: Version 13.5.1 (Build 17F80)
* Image Source: /System/Library/PrivateFrameworks/AvatarU... |
/*===================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center,
Division of Medical and Biological Informatics.
All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without
even the implied warranty o... |
#ifndef BOOST_OBJECT_TESTS_H
#define BOOST_OBJECT_TESTS_H
#include <boost/test/unit_test.hpp>
#define BOOST_OBJECT_TEST_DYNAMIC_CAST(DYNCAST_RESULT,TO,FROM) \
TO * DYNCAST_RESULT = dynamic_cast < TO * > ( FROM ); \
BOOST_REQUIRE(DYNCAST_RESULT!=0);
#define BOOST_OBJECT_TEST_CASE(name) ... |
/* Redis benchmark utility.
*
* Copyright (c) 2009-2012, Salvatore Sanfilippo <antirez at gmail dot com>
* 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 c... |
#include "cli_parse.h"
#include "cli_read.h"
#include "core_format.h"
String cli_read_string(const CliInvocation* invoc, const CliId id, const String defaultVal) {
CliParseValues values = cli_parse_values(invoc, id);
return values.count ? *values.values : defaultVal;
}
i64 cli_read_i64(const CliInvocation* invoc,... |
//#include <mutex>
#include "NczPlayer.h"
#include "NczPlayerManager.h"
#ifndef NCZFILTEREDPLAYERLIST
#define NCZFILTEREDPLAYERLIST
/*
Gives a list to Systems.
May be used to iterate over all players in the filter specifyed
in one frame.
*/
class NczFilteredPlayersList
{
public:
NczFilteredPlayersList();
virtual... |
/*******************************************************************************
*
* COPYRIGHT(c) 2020, China Mobile IOT
*
* 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 th... |
/* Copyright 1985 Massachusetts Institute of Technology */
#include <u.h>
#include <libc.h>
#include <draw.h>
#include <event.h>
#define add addpt
#define sub subpt
int wind = 1;
typedef enum{
Odd=1,
Nonzero=~0
}Windrule;
#include "catback.p"
#include "eyes.p"
#define CATWID 150 /* width of body bitmap */
#define ... |
#ifndef UKF_H
#define UKF_H
#include "measurement_package.h"
#include "Eigen/Dense"
#include <vector>
#include <string>
#include <fstream>
class UKF {
public:
///* initially set to false, set to true in first call of ProcessMeasurement
bool is_initialized_;
///* if this is false, laser measurements will be ig... |
#include <stdio.h>
int main(void)
{
printf("Tony Shaw\n");
printf("Tony\nShaw\n");
printf("Tony ");
printf("Shaw\n");
return 0;
} |
/* node.c: DECnet node
------------------------------------------------------------------------------
Copyright (c) 2012, Robert M. A. Jarratt
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... |
// SPDX-License-Identifier: GPL-2.0
/*
* Copyright (C) 2011 STRATO. All rights reserved.
*/
#include <linux/mm.h>
#include <linux/rbtree.h>
#include <trace/events/btrfs.h>
#include "ctree.h"
#include "disk-io.h"
#include "backref.h"
#include "ulist.h"
#include "transaction.h"
#include "delayed-ref.h"
#include "lock... |
#ifndef MINER_H
#define MINER_H
#include "uint256.h"
class CBlock;
class CBlockIndex;
class CReserveKey;
void GenerateBitcoins(bool fGenerate);
void ThreadBitcoinMiner(void* parg);
CBlock* CreateNewBlock(CReserveKey& reservekey);
void IncrementExtraNonce(CBlock* pblock, CBlockIndex* pindexPrev, unsigned int& nExtraNo... |
/****************************************************************************
****************************************************************************
***
*** This header was automatically generated from a Linux kernel header
*** of the same name, to make information necessary for userspace to
*** call i... |
// Copyright (c) Microsoft Corporation
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
#pragma once
#if !XSAPI_NO_PPL
#include "xsapi-cpp/system.h"
#include "xsapi-cpp/multiplayer.h"
#include "xsapi-cpp/title_storage.h"
#include "xsapi-cpp/profile.h"
#include "xs... |
/*********************************************************************************
*
* Inviwo - Interactive Visualization Workshop
*
* Copyright (c) 2014-2018 Inviwo Foundation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided th... |
//------------------------------------------------------------------------------
// File: ComBase.h
//
// Desc: DirectShow base classes - defines a class hierarchy for creating
// COM objects.
//
// Copyright (c) 1992-2001 Microsoft Corporation. All rights reserved.
//--------------------------------------------... |
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/mman.h>
int main() {
#define FILENAME "/tmp/traceloop-test.data"
open(FILENAME, O_RDWR, 0);
open(FILENAME, O_RDWR, 0);
return 0;
} |
//
// Copyright 2009-2011 Facebook
//
// 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... |
/*
==============================================================================
This file is part of the iPlug 2 library. Copyright (C) the iPlug 2 developers.
See LICENSE.txt for more info.
==============================================================================
*/
#pragma once
/**
* @file
* Ut... |
//
// SDiOSVersion.h
// SDVersion
//
// Copyright (c) 2016 Sebastian Dobrincu. All rights reserved.
//
#import <TargetConditionals.h>
#import <Foundation/Foundation.h>
typedef NS_ENUM(NSInteger, DeviceVersion){
UnknownDevice = 0,
Simulator = 1,
iPhone4 = 3,
iPhone... |
/*
* This header is generated by classdump-dyld 1.0
* on Sunday, September 27, 2020 at 11:43:42 AM Mountain Standard Time
* Operating System: Version 14.0 (Build 18A373)
* Image Source: /System/Library/PrivateFrameworks/DiagnosticExtensionsDaemon.framework/DiagnosticExtensionsDaemon
* classdump-dyld is licensed under G... |
#ifndef BSL_COMMAND_INTERPRETER_H
#define BSL_COMMAND_INTERPRETER_H
// Empty file for possible future use
#endif |
/* -*- mode: c; tab-width: 4; c-basic-offset: 3; c-file-style: "linux" -*- */
//
// Copyright (c) 2009, Wei Mingzhi <whistler_wmz@users.sf.net>.
// All rights reserved.
//
// This file is part of SDLPAL.
//
// SDLPAL is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public... |
/**
* @file op_get_config.c
* @author Radek Krejci <rkrejci@cesnet.cz>
* @author Michal Vasko <mvasko@cesnet.cz>
* @brief NETCONF <get> and <get-config> operations implementation
*
* Copyright (c) 2016 CESNET, z.s.p.o.
*
* This source code is licensed under BSD 3-Clause License (the "License").
* You may not u... |
/*
* File: unistd.c
*
* Unix standard.
*
* History:
* 2019 - Created by Fred Nora.
*/
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/mman.h>
//#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
//system calls.
#include <stubs/gramado.h>
#define UNISTD_SYSTEMCALL_FORK ... |
#pragma once
namespace CurrentThread {
extern __thread int t_cachedTid;
extern __thread char t_tidString[32];
extern __thread int t_tidStringLength;
extern __thread const char* t_threadName;
void cacheTid();
inline int tid() {
if (__builtin_expect(t_cachedTid == 0, 0)) {
cacheTid();
}
return t_cach... |
/* ============================================================================ */
/* Copyright (c) 2017, Texas Instruments Incorporated */
/* All rights reserved. */
/* ... |
// This file is part of KWIVER, and is distributed under the
// OSI-approved BSD 3-Clause License. See top-level LICENSE file or
// https://github.com/Kitware/kwiver/blob/master/LICENSE for details.
/**
* \file
* \brief Header for MVG triangulate_landmarks algorithm
*/
#ifndef KWIVER_ARROWS_MVG_TRIANGULATE_LANDMAR... |
/* md5.c
*
* Copyright (C) 2006-2012 Sawtooth Consulting Ltd.
*
* This file is part of CyaSSL.
*
* CyaSSL 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... |
// Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef GARNET_LIB_VULKAN_TESTS_VKLATENCY_SKIA_GPU_PAINTER_H_
#define GARNET_LIB_VULKAN_TESTS_VKLATENCY_SKIA_GPU_PAINTER_H_
#include <fuchsia/ui/input/cpp... |
// Copyright (c) 2018 Thomas Zueblin
//
// Author: Thomas Zueblin (thomas.zueblin@gmail.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 limit... |
// test all functionalities of the library
#include <stdio.h>
#include <stdint.h>
#include "core.h"
#include <time.h>
#include "iocore.h"
#include "imcore.h"
int main()
{
imlab_mkdir("results");
char filename[128];
uint8_t value[3] = {255, 255, 0};
matrix_t *img = matrix_create(uint8_t, 100, 100, 3... |
/* Exercise 5-14
*
* Modify the sort program to handle a -r flag, which indicates sorting in
* reverse (decreasing) order. Be sure that -r works with -n.
*/
#include <ctype.h>
#include <stdio.h>
#include <string.h>
#include "lines.h"
#include "quicksort.h"
int cmpstr(char *, char *);
int numcmp(char *, char *);
... |
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
/*=============================================================================
Lightmass.h: lightmass import/export definitions.
=============================================================================*/
#ifndef __LIGHTMASS_H__
#define __LIGHTMASS_H_... |
/*
* Copyright 1999-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 (c) 2006-2010 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.
// A Predictor object is instantiated once in the browser process, and manages
// both preresolution of hostnames, as well as TCP/IP preconnectio... |
#define _GNU_SOURCE
#include <stdbool.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
static inline bool is_space_at(const char *ptr)
{
char c = *ptr;
return c == ' ' || c == '\t' || c == '\n';
}
static inline bool is_alpha(const char v)
{
return (v >= 'a' && v <= 'z') || (v >= 'A' && v <= 'Z');
}
... |
#ifndef __TEST_H__
#define __TEST_H__
#include "pins_define.h" // 第一层:硬件定义层(串口、引脚)
#include "bios.h" // 第二层:基本输入输出数据层
#include "relay_op.h" // 第三层:基本继电器运算
// 采用延时模式
#define TEST_DELAY 300
void test_A() // 遍历测试A是否正常工作
{
for (long i = 0; i < 65536; i++)
{
Serial.print(F("set_A = ")); // 打印当前设定值
... |
#pragma once
#include "image_writer.h"
#include "type/graphics_types.h"
#include <memory>
#include <mutex>
#include <queue>
#include <vector>
class Async_Image_Writer
{
public:
struct Buf_Entry {
unsigned index; //!< Write sequence number. Writes sequentially in acending order.
Rbg_Frame::Row... |
/*
* Copyright (c) 2014 The WebRTC 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 contribut... |
/*-----------------------------------------------------------------------------------------------
The MIT License (MIT)
Copyright (c) 2015-2019 OSRE ( Open Source Render Engine ) by Kim Kulling
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation f... |
//
// AppDelegate.h
// ReadTxt
//
// Created by 向伟 on 2019/4/1.
// Copyright © 2019 Edwin. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end |
/**
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you ... |
/*
Copyright (C) 1996-1997 Id Software, 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 2
of the License, or (at your option) any later version.
This program is distributed in th... |
#ifndef __PHLIBC_ASSERT_H
#define __PHLIBC_ASSERT_H
#ifdef NDEBUG
#define assert(exp)
#else
#define assert(exp) (void)((exp) || (_PHAssert(#exp, __FILE__, __LINE__),0))
#endif
#if defined(__cplusplus)
extern "C" {
#endif
void _PHAssert(const char *expr, const char *file, int line);
#if defined(__cplusplus)
} /* ext... |
/*
* URL Cache Tests
*
* Copyright 2008 Robert Shearman for CodeWeavers
*
* 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; either
* version 2.1 of the License, or (at your option) ... |
/*
* Name: d_scipe_dio.c
*
* Purpose: MX input and output drivers to control SCIPE actuators as if they
* were digital output registers and SCIPE detectors as if they
* were digital input registers.
*
* Author: William Lavender
*
*---------------------------------------------------------... |
/*
* linux/arch/arm26/kernel/armksyms.c
*
* Copyright (C) 2003 Ian Molton
*
* 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 <linux/module.h>
#include <linux/modul... |
// Copyright (c) 2019 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 required... |
/*
* Copyright (c) 2017, RISE SICS
* 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 condition... |
/*
* This header is generated by classdump-dyld 1.5
* on Wednesday, April 14, 2021 at 2:27:38 PM Mountain Standard Time
* Operating System: Version 14.4 (Build 18K802)
* Image Source: /System/Library/PrivateFrameworks/MediaPlayb... |
//------------------------------------------------------------------------------
// GB_AxB: hard-coded functions for semiring: C<M>=A*B or A'*B
//------------------------------------------------------------------------------
// SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2020, All Rights Reserved.
// http://sui... |
#ifdef __CINT__
/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* See cxx source for full Copyright notice */
#pragma link off all globals;
#pragma link off all classes;
#pragma link off all functions;
#pragma link C++ class AliAnalysisTaskReducedEventProcess... |
#ifndef STRING_IMPROVED_H
#define STRING_IMPROVED_H
#include <stdlib.h>
#include <string>
#include <limits>
#include <vector>
#include <map>
#include <sstream>
#include <iomanip>
/*
The improved string class. while this class is not always the most efficient in terms of execution speed.
It does provide a lot ... |
//
// GameViewController.h
// CSE394Project2SpaceGame
//
// Copyright (c) 2015 Adam. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <SpriteKit/SpriteKit.h>
@interface GameViewController : UIViewController
@end |
/***************************************************************************//**
* @file
* @brief CMSIS Cortex-M Peripheral Access Layer Header File
* for EFM32JG1B200F256GM32
* @version 5.8.0
*******************************************************************************
* # License
* <b>Copyright 2019 S... |
#ifndef _BALL_QUERY_GPU
#define _BALL_QUERY_GPU
#ifdef __cplusplus
extern "C" {
#endif
void query_ball_point_kernel_wrapper(int b, int n, int m, float radius,
int nsample, const float *xyz,
const float *new_xyz, const int *fps_idx, int *idx,
cudaStream_t stream);
#ifdef __cplusplus
}
#endi... |
#pragma once
#include <type_traits>
#include <Kokkos_Core.hpp>
#if defined(KOKKOS_ENABLE_CUDA) && defined(KOKKOS_ENABLE_CUDA_LAMBDA)
#define DEVICE_LAMBDA [=] __device__
#else
#define DEVICE_LAMBDA [=]
#endif
#include <xolotl/core/network/ReactionNetworkTraits.h>
#include <xolotl/core/network/detail/ClusterSet.h>
#... |
/*
* Copyright (C) 2012 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:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and t... |
// 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_CHROMEOS_DRIVE_FILE_CHANGE_H_
#define CHROME_BROWSER_CHROMEOS_DRIVE_FILE_CHANGE_H_
#include <deque>
#include <map>
#include <s... |
/*
* Copyright (c) 2007-2017, SUSE Inc.
*
* This program is licensed under the BSD license, read LICENSE.BSD
* for further information
*/
/*
* rules.c
*
* SAT based dependency solver
*/
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <assert.h>
#include "solver.h"
#in... |
/**
* Copyright 2017 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... |
/*
* Copyright (c) 2015-2020 Industrial Technology Research Institute.
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
... |
/* 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... |
#pragma once
#include <common/safe_vector.h>
#include <nextalign/nextalign.h>
#include <istream>
#include <map>
#include <optional>
#include <stdexcept>
#include <string>
namespace Nextclade {
class Tree;
class TreeImpl;
class TreeNode;
struct QCRulesConfigMissingData {
bool enabled;
double missingD... |
/*
* This header is generated by classdump-dyld 1.0
* on Tuesday, November 5, 2019 at 2:41:58 AM Mountain Standard Time
* Operating System: Version 13.0 (Build 17J586)
* Image Source: /System/Library/PrivateFrameworks/IDSFoundation.framework/IDSFoundation
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 ... |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/sesv2/SESV2_EXPORTS.h>
#include <aws/sesv2/SESV2Request.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Http
{
class UR... |
/*
* svghelper.c - helper functions for outputting svg
*
* (C) Copyright 2009 Intel Corporation
*
* Authors:
* Arjan van de Ven <arjan@linux.intel.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 the Free... |
/******************************************************************************
* Copyright 2020 ETC 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/l... |
#ifndef _RW2CHIPC_H_
#define _RW2CHIPC_H_
#ifdef __cplusplus
extern "C" {
#endif
#include <sfork.h>
typedef __attribute__ ((warn_unused_result))
int (*rwchildcb_t) (fd_t rd, fd_t wr, void *restrict) ;
typedef __attribute__ ((warn_unused_result))
int (*rwparentcb_t) (pid_t, fd_t rd, fd_t wr, void *restrict) ;
int r... |
#include "types.h"
#include "user.h"
int main(int argc, char *argv[])
{
int PScheduler(void);
printf(1, "\n This program tests the correctness of your lab#2\n");
PScheduler();
return 0;
}
int PScheduler(void){
// use this part to test the priority scheduler. Assuming that the prioritie... |
// © 2017 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html
// stringoptions.h
// created: 2017jun08 Markus W. Scherer
#ifndef __STRINGOPTIONS_H__
#define __STRINGOPTIONS_H__
#include <unicode/utypes.h>
/**
* \file
* \brief C API: Bit set option bit constants fo... |
#include "vmm.h"
#include <utils/debug.h>
#include <utils/string.h>
#define PAGE_DIRECTORY_BASE 0xFFFFF000
#define PAGE_TABLE_BASE 0xFFC00000
#define get_page_directory_index(x) (((x) >> 22) & 0x3ff)
#define get_page_table_entry_index(x) (((x) >> 12) & 0x3ff)
#define get_aligned_address(x) (x & ~0xfff)
#define is_pa... |
/*-------------------------------------------------------------------------
*
* pathnode.h
* prototypes for pathnode.c, relnode.c.
*
*
* Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $PostgreSQL$
*
*---------... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
// DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen
#pragma once
class RadioMenuFlyoutItemProperties
{
public:
RadioMenuFlyoutItemPr... |
// Copyright 2022 PingCAP, 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 agreed to i... |
//
// ExpandableTableViewCell.h
// ExpandableTable
//
// Created by Manpreet Singh on 06/12/13.
// Copyright (c) 2013 Manpreet Singh. All rights reserved.
//
#import <UIKit/UIKit.h>
@class ExpandableTableViewController;
@interface ExpandableTableViewCell : UITableViewCell
@property (strong, nonatomic) IBOutlet UIL... |
//
// ButtonDemoViewController.h
// Demo
//
// Created by zhangyu528 on 2019/4/19.
// Copyright © 2019 zhangyu528. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface ButtonDemoViewController : UIViewController
@end
NS_ASSUME_NONNULL_END |
// Extrude 3D model (e3d) Copyright ©2011 Adrian Kennard
// STL processing functions
//
// 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)... |
/*
* This header is generated by classdump-dyld 1.0
* on Saturday, August 24, 2019 at 9:49:55 PM Mountain Standard Time
* Operating System: Version 12.4 (Build 16M568)
* Image Source: /System/Library/PrivateFrameworks/ConfigurationEngineModel.framework/ConfigurationEngineModel
* classdump-dyld is licensed under GPLv3, ... |
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the Lic... |
/* -*- tab-width : 2 -*- */
#include "util.h"
#ifndef HAVE_WINDOWS_H
char* uname_s(void) {
char *p,*p2;
p2=remove_char("\r\n",p=system_("uname"));
s(p);
return downcase(p2);
}
char* uname_m(void) {
char *p=system_("uname -m");
char *p2;
p2=remove_char("\r\n",p);
s(p);
if(strcmp(p2,"i686")==0) {
... |
/*
* 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 terms found in... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.