text stringlengths 9 948k |
|---|
/*===================================================================
BlueBerry Platform
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 of MERCHANTABILITY or FITNESS... |
#ifndef __ErrorDialog__
#define __ErrorDialog__
/**
@file
Subclass of ErrorDialog, which is generated by wxFormBuilder.
*/
//// end generated include
/** Implementing ErrorDialog */
class MyErrorDialog : public ErrorDialog {
public:
/** Constructor */
MyErrorDialog(wxWindow* parent);
//// end generated... |
/*
* Copyright (c) 2016 Cadence Design Systems, Inc.
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @file
* @brief Xtensa specific kernel interface header
* This header contains the Xtensa specific kernel interface. It is included
* by the generic kernel interface header (include/arch/cpu.h)
*/
#ifndef ZEPHY... |
/*
* This header is generated by classdump-dyld 1.0
* on Sunday, June 7, 2020 at 11:28:19 AM Mountain Standard Time
* Operating System: Version 13.4.5 (Build 17L562)
* Image Source: /System/Library/PrivateFrameworks/WiFiKit.framework/WiFiKit
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limne... |
#pragma once
#include <vector>
#include <unordered_map>
#include <filesystem>
#include <fstream>
#include <string>
namespace ShaderGenerator
{
struct CompiledShader
{
uint64_t Key;
std::vector<uint8_t> ByteCode;
};
class CompiledShaderGroup
{
private:
std::vector<CompiledShader> _shaders;
... |
/* Copyright 2013-present Barefoot Networks, 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 la... |
/**********************************************************************
* Copyright (c) 2015 Pieter Wuille *
* Distributed under the MIT software license, see the accompanying *
* file COPYING or http://www.opensource.org/licenses/mit-license.php.*
*******************************... |
/*
* Copyright (C) 2019 Trinity. All rights reserved.
* Copyright (C) 2019 Wang LianJie <wlanjie888@gmail.com>
*
* 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.apac... |
//
// SloganCell.h
// MainPart
//
// Created by blacksky on 2020/3/3.
// Copyright © 2020 blacksky. All rights reserved.
//
#import "QMUITableViewCell.h"
@interface SloganCell : QMUITableViewCell
@property (nonatomic, strong) UILabel *title;
@property (nonatomic, strong) QMUIGridView *sloganGridView;
@end |
#include <config.h>
#include <check.h>
#include <stdlib.h>
#include "ksl/axis.h"
START_TEST(test_axis_create) {
ksl_vec3i_t axis = ksl_axis_getVector(KSL_AXIS_XYZ);
ck_assert(axis.x == 0);
ck_assert(axis.y == 1);
ck_assert(axis.z == 2);
}
END_TEST
Suite* axis_suite(void) {
Suite* s = suite_create("axis");... |
/**
* Copyright (C) 2021 Couchbase, 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, merge, pu... |
#pragma once
#include <Graphics\Graphics.h>
namespace DX
{
// Provides an interface for an application that owns DeviceResources to be notified of the device being lost or created.
interface IDeviceNotify
{
virtual void OnDeviceLost() = 0;
virtual void OnDeviceRestored() = 0;
};
// Controls all the DirectX ... |
/*
* Potential.h
*
* Created on: Jul 13, 2016
* Author: dbpc
*/
#ifndef POTENTIAL_H_
#define POTENTIAL_H_
#include <vector>
#include <complex>
/* We note that the only class that is passed in p - the number of terms in the far-field
* and near field Taylor series expansions is the class Potential
* Howe... |
//
// Created by Baoxing song on 2019-01-02.
//
#ifndef SONG_CNS_SMITHWATERMAN_H
#define SONG_CNS_SMITHWATERMAN_H
#include <string>
#include <stdio.h>
#include <algorithm>
#include <iostream>
#include <sstream>
#include <vector>
std::vector<uint32_t> SmithWaterman(int8_t *seq1, int8_t *seq2, const uint32_t &length1,... |
/*
* This header is generated by classdump-dyld 1.5
* on Wednesday, October 27, 2021 at 3:23:38 PM Mountain Standard Time
* Operating System: Version 13.5.1 (Build 17F80)
* Image Source: /System/Library/PrivateFrameworks/DialogE... |
/***
* ==++==
*
* Copyright (c) Microsoft Corporation. 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 a... |
/*
* 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 "../domain.h"
inherit armor "/std/armor";
inherit affixable DIR + "/lib/affixable";
inherit NOKICLIFFS_RESCUE_EFFECT_LIB;
inherit NOKICLIFFS_LIGHT_EFFECT_LIB;
private int should_do_affix_effect(string affix_name, string str) {
return affix_name == str && has_affix(str);
}
string query_short(void) {
st... |
/*
* TiDev Titanium Mobile
* Copyright TiDev, Inc. 04/07/2022-Present
* Licensed under the terms of the Apache Public License
* Please see the LICENSE included with this distribution for details.
*/
#ifndef PROXY_H
#define PROXY_H
#include "JavaObject.h"
#include "V8Util.h"
namespace titanium {
// The base clas... |
#ifndef _MSGOTHIC9_H_
#define _MSGOTHIC9_H_
#include "packedfont1.h"
namespace WoopsiUI {
/**
* MSGothic9 font.
*/
class MSGothic9 : public PackedFont1 {
public:
/**
* Constructor.
* @param fixedWidth Set to 0 for proportional or 1 for fixed width.
*/
MSGothic9(u8 fixedWidth = 0);
};
}
#endif |
/*
LUFA Library
Copyright (C) Dean Camera, 2013.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
Copyright 2013 Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purp... |
/*
***********************************************************************************************************************
*
* Copyright (c) 2014-2021 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... |
// Copyright 2018 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 MSD_VSI_BUFFER_H
#define MSD_VSI_BUFFER_H
#include "magma_util/macros.h"
#include "msd.h"
#include "platform_buffer.h"
class MsdVsiBuffer {
publ... |
/*
* memcpy.c
*
* $DragonFly: src/test/sysperf/memcpy.c,v 1.1 2004/04/29 16:14:53 dillon Exp $
*/
#include "blib.h"
int glob[16384];
void test_using(const char *ctl, char *buf, int bytes, void (*copyf)(const void *s1, void *d, size_t bytes));
#if 0
extern void docopy1(const void *s, void *d, size_t bytes);
exte... |
//
// Clear.h
// EpiInfo
//
// Created by John Copeland on 5/13/19.
//
#import "EnableDisableClear.h"
NS_ASSUME_NONNULL_BEGIN
@interface Clear : EnableDisableClear
@end
NS_ASSUME_NONNULL_END |
/*
* This header is generated by classdump-dyld 1.0
* on Tuesday, November 5, 2019 at 2:43:30 AM Mountain Standard Time
* Operating System: Version 13.0 (Build 17J586)
* Image Source: /System/Library/PrivateFrameworks/PhotosGraph.framework/PhotosGraph
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by E... |
/*
* File : padcofig.h
* http://www.openloongson.org/forum.php
* description:
* pad multiplex for smart loong(ls1c)
* Change Logs:
* Date Author Notes
* 2015-07-05 chinesebear first version
*/
#ifndef __PAD_H__
#define __PAD_H__
#include "ls1c.h"
void rt_pad_multipl... |
//
// UIImage+QIImage.h
// podFTDemo_Example
//
// Created by 卓鑫钊 on 2020/4/24.
// Copyright © 2020 qijiaenen. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface UIImage (QIImage)
@end
NS_ASSUME_NONNULL_END |
/*
* svcproc.h
*
* Service process (daemon) class.
*
* Portable Windows Library
*
* Copyright (c) 1993-1998 Equivalence Pty. Ltd.
*
* The contents of this file are subject to the Mozilla Public License
* Version 1.0 (the "License"); you may not use this file except in
* compliance with the License. You may o... |
/*
* Copyright (C) 2008 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditi... |
/**
****************************************************************************************
*
* @file app_spotar.c
*
* @brief Handling of ble spotar events and responses.
*
* Copyright (C) 2012. Dialog Semiconductor Ltd, unpublished work. This computer
* program includes Confidential, Proprietary Information ... |
#pragma once
#include <vector>
#include <filesystem>
namespace fs = std::filesystem;
#include "CASC.h"
#include "JSON.h"
#include "BinaryReader.h"
class Hierarchy {
public:
char tileset = 'L';
casc::CASC game_data;
json::JSON aliases;
fs::path map_directory;
fs::path warcraft_directory;
bool hd;
bool teen;... |
/*
* 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... |
/****************************************************************************
* FILE: serial_temp2D.c
* DESCRIPTION:
* simplified two-dimensional temperature equation domain decomposition.
* MODIFIED BY: Rita Borgo
* Last Revised: 25/10/14 Rita Borgo
***************************************************************... |
/* Copyright 2004,2007,2010,2011 ENSEIRB, INRIA & CNRS
**
** This file is part of the Scotch software package for static mapping,
** graph partitioning and sparse matrix ordering.
**
** This software is governed by the CeCILL-C license under French law
** and abiding by the rules of distribution of free software. You c... |
/*
* nghttp3
*
* Copyright (c) 2019 nghttp3 contributors
*
* 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,... |
/****************************************************************************
* include/nuttx/compiler.h
*
* Copyright (C) 2013 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted prov... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <butter/small_vector.h>
#include <react/renderer/core/RawPropsKey.h>
#include <react/renderer/core/RawPro... |
//--------------------------------------------------------------------------------------------------
// Copyright (c) YugaByte, 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
//
// ht... |
/* $NetBSD: lance.h,v 1.2 2008/12/14 18:46:33 christos Exp $ */
/*
* source in this file came from
* the Mach ethernet boot written by Leendert van Doorn.
*/
/* RAP functions as a select for RDP */
#define RDP_CSR0 0
#define RDP_CSR1 1
#define RDP_CSR2 2
#define RDP_CSR3 3
/* contents of csr0 */
#define CSR_ERR ... |
/* Copyright Joyent, Inc. and other Node contributors. 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 ... |
/*
Copyright (c) 2013, Ford Motor Company
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 the fo... |
// Copyright (C) 2018-2020 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
/**
* @brief A header file that provides wrapper for ICNNNetwork object
*
* @file ie_cnn_network.h
*/
#pragma once
#include <details/ie_exception_conversion.hpp>
#include <ie_icnn_network.hpp>
#include <map>
#include <memory>
#... |
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
QT_END_NAMESPACE
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
MainWindow(QWidget *parent = nullptr);
~MainWindow();
private slots:
void on_pushButton_clicked();... |
/**
* Cloud Manager API
* This API allows access to Cloud Manager programs, pipelines, and environments by an authorized technical account created through the Adobe I/O Console. The base url for this API is https://cloudmanager.adobe.io, e.g. to get the list of programs for an organization, you would make a GET request... |
/*
* Copyright (c) 1999-2001,2004,2011,2014 Apple Inc. All Rights Reserved.
*
* @APPLE_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 this fil... |
/*
* This header is generated by classdump-dyld 1.0
* on Sunday, September 27, 2020 at 11:54:02 AM Mountain Standard Time
* Operating System: Version 14.0 (Build 18A373)
* Image Source: /System/Library/PrivateFrameworks/CPAnalytics.framework/CPAnalytics
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by... |
/* omega copyright (c) 1987,1988,1989 by Laurence Raphael Brothers */
/* mon.c */
/* various functions to do with monsters */
#include "glob.h"
/* consider one monster's action */
void m_pulse(m)
struct monster *m;
{
int range = distance(m->x, m->y, Player.x,Player.y);
pol prev;
if (Time % 10 == 0)
if (... |
//
// UIImageViewAlignedSwift.h
// UIImageViewAlignedSwift
//
// Created by Shane Vitarana on 2/14/16.
//
//
#import <UIKit/UIKit.h>
//! Project version number for UIImageViewAlignedSwift.
FOUNDATION_EXPORT double UIImageViewAlignedSwiftVersionNumber;
//! Project version string for UIImageViewAlignedSwift.
FOUNDA... |
//
// LMLoginViewController.h
// LMQPLottery
//
// Created by 林宏敏 on 2017/11/10.
// Copyright © 2017年 我的彩票. All rights reserved.
//
#import "LMBaseController.h"
@interface LMLoginViewController : LMBaseController
@end |
/*
*
* @file digital_io.h
* @date 2016-07-08
*
* NOTE:
* This file is generated by DAVE. Any manual modification done to this file will be lost when the code is regenerated.
*
* @cond
***********************************************************************************************************************
* DIGI... |
#pragma once
#include <limits>
#include "Containers/Array2D.h"
namespace GRAPHICS
{
/// A depth buffer for keeping track of depth values during rendering.
/// Also known as z-buffering: https://en.wikipedia.org/wiki/Z-buffering.
class DepthBuffer
{
public:
// STATIC CONSTANTS.
/// ... |
#pragma once
//------------------------------------------------------------------------------
#if ORYOL_OPENGL
#include "Gfx/private/gl/glFactory.h"
#elif ORYOL_D3D11
#include "Gfx/private/d3d11/d3d11Factory.h"
#elif ORYOL_METAL
#include "Gfx/private/mtl/mtlFactory.h"
#else
#error "Platform not yet supported!"
#endif
... |
//
// 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 "GKService.h"
#import "GKMultiplayerService-Protocol.h"
@class NSString;
@interface GKMultiplayerMatchService : GKService <GKMultiplayer... |
/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/apprunner/AppRunner_EXPORTS.h>
#include <aws/apprunner/AppRunnerRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
... |
/* src/config/bitcoin-config.h. Generated from bitcoin-config.h.in by configure. */
/* src/config/bitcoin-config.h.in. Generated from configure.ac by autoheader. */
#ifndef BITCOIN_CONFIG_H
#define BITCOIN_CONFIG_H
/* Define if building universal (internal helper macro) */
/* #undef AC_APPLE_UNIVERSAL_BUILD */
... |
/* Copyright 2017 The TensorFlow 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 by applicable law or a... |
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "PBCodable.h"
#import "NSCopying.h"
@class NSMutableArray, NSString;
@interface PKProtobufPaymentClientUpdate : PBCodable <NSCopying>
{
NSMutableArray *_paymentSummar... |
#include "gdb/pwm_bitstream.h"
#include "macros.h"
#include <stdint.h>
void log_bits(uint8_t *buf, uint32_t nb_bits) {
for (int i=0; i<nb_bits; i++) {
int byte = i / 8;
int bit = i % 8;
int bit_val = (buf[byte] >> (7 - bit)) & 1;
//LOG("%s", bit_val ? "'" : ".");
LOG("%d", ... |
#include <string.h>
#include <stdint.h>
#include <stdbool.h>
#include "../Types.h"
#include "../Array.h"
#include "UnicodeData.h"
#include "UnicodeDataDbLength.h"
/*
* Private DataTypes
*
*/
typedef enum
{
DECOMP_TYPE_CANONICAL, // default
DECOMP_TYPE_FONT,
DECOMP_TYPE_NOBREAK,
DECOMP_TYPE_INITIAL,... |
/*
* Copyright(c) 2012-2019 Intel Corporation
* SPDX-License-Identifier: BSD-3-Clause-Clear
*/
const char *cas_strerr(int cas_error_code); |
// Copyright (c) 2011-2013 The Bitcoin developers
// Copyright (c) 2017-2019 The PIVX developers
// Copyright (c) 2021 The DECENOMY Core Developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_QT_CSVMODELW... |
#ifndef __V850_PGTABLE_H__
#define __V850_PGTABLE_H__
#include <linux/config.h>
#include <asm/page.h>
typedef pte_t *pte_addr_t;
#define pgd_present(pgd) (1) /* pages are always present on NO_MM */
#define pgd_none(pgd) (0)
#define pgd_bad(pgd) (0)
#define pgd_clear(pgdp) ((void)0)
#define pmd_offset(a, b) ((vo... |
/*
==============================================================================
This file is part of the JUCE library.
Copyright (c) 2020 - Raw Material Software Limited
JUCE is an open source library subject to commercial or open-source
licensing.
The code included in this file is provided under ... |
#ifndef SERVER_H
#define SERVER_H
#include <vector>
#include <mutex>
#include <map>
#include <unordered_map>
#include <memory>
#include <utility>
#include <upnp/upnp.h>
#include "InitOptions.h"
#include "AVHandler.h"
#include "AVStore.h"
#include "ContentDirectoryService.h"
#include "ConnectionManagerService.h"
#inclu... |
/* $Id: ikev2_proposal.c,v 1.30 2008/02/06 08:09:00 mk Exp $ */
/*
* Copyright (C) 2004 WIDE 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:
* 1. Redistributions of source code... |
// SPDX-License-Identifier: GPL-2.0
/*
* linux/fs/ext4/namei.c
*
* Copyright (C) 1992, 1993, 1994, 1995
* Remy Card (card@masi.ibp.fr)
* Laboratoire MASI - Institut Blaise Pascal
* Universite Pierre et Marie Curie (Paris VI)
*
* from
*
* linux/fs/minix/namei.c
*
* Copyright (C) 1991, 1992 Linus Torvald... |
/*MIT License
Copyright (c) 2018 MTA SZTAKI
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dist... |
/*
* Copyright 2017-2020 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 "... |
// Copyright 2011 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 list of ... |
#include <uapi/console.h>
#include <uapi/errno.h>
#include <stdio.h>
#include <string.h>
#include <time.h>
static int logpriority = LOG_DEBUG;
static int lognewline = 1;
/* kernel log ring buffer */
static char klog_buf[KLOG_NR_LINES][KLOG_LINE_SIZE];
static size_t klog_line;
static void putch(int c, void *arg)
{
... |
#include "main.h"
unsigned int convert_s(va_list args, buffer_t *output,
unsigned char flags, int wid, int prec, unsigned char len);
unsigned int convert_S(va_list args, buffer_t *output,
unsigned char flags, int wid, int prec, unsigned char len);
unsigned int convert_r(va_list args, buffer_t *output,
unsigned c... |
/*
** codegen.c - mruby code generator
**
** See Copyright Notice in mruby.h
*/
#include <ctype.h>
#include <limits.h>
#include <stdlib.h>
#include <string.h>
#include <mruby.h>
#include <mruby/compile.h>
#include <mruby/proc.h>
#include <mruby/numeric.h>
#include <mruby/string.h>
#include <mruby/debug.h>
#include "no... |
#include "unpipc.h"
#include "square.h"
int
main(int argc, char **argv)
{
CLIENT *cl;
square_in in;
square_out *outp;
if (argc != 3)
err_quit("usage: client <hostname> <integer-value>");
cl = Clnt_create(argv[1], SQUARE_PROG, SQUARE_VERS, "tcp");
in.arg1 = atol(argv[2]);
if ( (outp = squareproc_1(&in, cl)... |
/*
* FreeRTOS Kernel V10.3.1
* Copyright (C) 2020 Amazon.com, Inc. or its affiliates. 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, includ... |
/* 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 may not... |
#ifndef DBHANDLER_H
#define DBHANDLER_H
#include <QObject>
#include <QNetworkAccessManager>
#include <QNetworkReply>
class DBHandler : public QObject
{
Q_OBJECT
public:
explicit DBHandler(QObject *parent = nullptr,bool addToDB = false);
~DBHandler();
public slots:
void networkReplyReadyRead();
signal... |
/**
* \file
*
* \brief Autogenerated API include file for the Atmel Software Framework (ASF)
*
* Copyright (c) 2012 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 t... |
#include "cefau3.h"
#include "include/cef_version.h"
#define QUITAPPMESSAGE 0x696969
static HWND __main_window_message = NULL;
static MSG __main_message = { 0 };
const wchar_t *__window_message_class = L"Cef.Message";
typedef void(__stdcall * au3_func)();
//
// _____ ___ ___... |
#ifndef __AtRule_h__
#define __AtRule_h__
#include "Stylesheet.h"
#include "StylesheetStatement.h"
#include "../css/CssWriter.h"
#include "../Token.h"
#include "../TokenList.h"
class AtRule: public StylesheetStatement {
private:
Token keyword;
TokenList rule;
public:
AtRule(const Token& keyword);
virtual ~... |
/* 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 may not... |
#ifndef BOSS_H
#define BOSS_H
#define FRAMES_BETWEEN_BOSS_1_SHOTS 40
#define FRAMES_BETWEEN_BOSS_2_SHOTS 60
#define FRAMES_BETWEEN_BOSS_3_SHOTS 60
#define FRAMES_BETWEEN_BOSS_4_SHOTS 40
#define FRAMES_BETWEEN_BOSS_5_SHOTS 40
#define FRAMES_BETWEEN_BOSS_6_SHOTS 40
#define FRAMES_BETWEEN_BOSS_7_SHOTS 40
#define FRAMES_B... |
// Obj: /d/guiyun/obj/mujian.c
// Last Modified by winder on Jul. 9 2001
#include <weapon.h>
inherit SWORD;
void create()
{
set_name("木劍", ({ "mu jian", "jian" }));
set_weight(300);
if (clonep())
set_default_object(__FILE__);
else {
set("unit", "柄");
... |
#ifndef PROCESSOR_H
#define PROCESSOR_H
class Processor {
public:
float Utilization(); // Done: See src/processor.cpp
// Done: Declare any necessary private members
private:
float cpu_perc_, total_, total_d, prev_total_{0}, prev_active_{0}, active_, active_d;
};
#endif |
/* Simple C program that connects to MySQL Database server*/
#include <stdio.h>
#include </usr/lib/mysql/mysql-connector-c-6.1.9-linux-glibc2.5-x86_64/include/mysql.h>
main() {
MYSQL *conn;
MYSQL_RES *res;
MYSQL_ROW row;
char *server = "localhost";
char *user = "root";
char *password = "Passf1re"; /... |
/*-------------------------------------------------------------------------
*
* fe-exec.c
* functions related to sending a query down to the backend
*
* Portions Copyright (c) 1996-2015, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFIC... |
/*
* 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... |
// 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.
// FilePath is a container for pathnames stored in a platform's native string
// type, providing containers for manipulation in according with the
// ... |
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#import <UIKit/UIKit.h>
#import <ABI39_0_0React/ABI39_0_0RCTViewComponentView.h>
NS_ASSUME_NONNULL_BEGIN
@interface ABI39_0_0RCT... |
#pragma once
// Copyright 2019 Stellar Development Foundation and contributors. Licensed
// under the Apache License, Version 2.0. See the COPYING file at the root
// of this distribution or at http://www.apache.org/licenses/LICENSE-2.0
////////////////////////////////////////////////////////////////////////////////
... |
#define _POSIX_C_SOURCE 200809L
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <pthread.h>
#include <unistd.h>
#include <math.h>
#include <wiringPi.h>
#include "../util/error.h"
#include "../sensors/encoder/encoder.h"
#include "../motor/motor.h"
#include "../util/sleep.h"
#include "../util/json.h... |
#ifndef EFI_PROTOCOL_NETWORK_IPV6_H
#define EFI_PROTOCOL_NETWORK_IPV6_H
#include <EFI/Types.h>
#include <EFI/Protocol/Network/ManagedNetwork.h>
#define EFI_IP6_SERVICE_BINDING_PROTOCOL_GUID \
{ 0xEC835DD3, 0xFE0F, 0x617B, { 0xA6, 0x21, 0xB3, 0x50, 0xC3, 0xE1, 0x33, 0x88 } }
#define EFI_IP6_PROTOCOL_GUID \
{ ... |
/*!
\file
\brief Functions for the edge-based balancing
\date Started 7/23/97
\author George
\author Copyright 1997-2011, Regents of the University of Minnesota
\version\verbatim $Id: balance.c 10187 2011-06-13 13:46:57Z karypis $ \endverbatim
*/
#include "metislib.h"
/*******************************************... |
//
// RMBOAppDelegate.h
// RomiboClient
//
// Created by Doug Suriano on 12/1/13.
// Copyright (c) 2013 com.romibo. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface RMBOAppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end |
#ifndef dplyr_Result_CumSum_H
#define dplyr_Result_CumSum_H
namespace dplyr {
// REALSXP version
template <int RTYPE>
class CumSum : public Mutater<RTYPE, CumSum<RTYPE> > {
public:
CumSum(SEXP data_) : data(data_){}
void process_slice( Vector<RTYPE>& out, const SlicingIndex& index, co... |
// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0
/******************************************************************************
*
* Module Name: exdump - Interpreter debug output routines
*
* Copyright (C) 2000 - 2018, Intel Corp.
*
*****************************************************************************... |
// Copyright 2018 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_SERVICES_SECURE_CHANNEL_SINGLE_CLIENT_MESSAGE_PROXY_IMPL_H_
#define CHROMEOS_SERVICES_SECURE_CHANNEL_SINGLE_CLIENT_MESSAGE_PROXY_IMPL_H_
... |
// SPDX-FileCopyrightText: Copyright (c) 2021 Electronics and Telecommunications Research Institute
//
// SPDX-License-Identifier: GPL-3.0-or-later
#include "assemblyutility.h"
#include "localapic.h"
#include "mpconfigtable.h"
#include "multiprocessor.h"
#include "page.h"
#include "utility.h"
#include "console.h"
#inc... |
// Copyright 2022 The Google Research 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... |
/**
* \copyright
* Copyright (c) 2018, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/project/license
*
*/
#include <vector>
// using namespace std;
#ifdef OGS_F... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.