text stringlengths 9 948k |
|---|
//
// CJUIKitToastUtil.h
// CJUIKitDemo
//
// Created by ciyouzen on 2017/2/25.
// Copyright © 2017年 dvlproad. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface CJUIKitToastUtil : NSObject {
}
+ (void)showMessage:(NSString *)message;
+ (void)showToast:(NSString *)t... |
//
// Generated by classdumpios 1.0.1 (64 bit) (iOS port by DreamDevLost)(Debug version compiled Jun 10 2020 10:03:13).
//
// Copyright (C) 1997-2019 Steve Nygard.
//
#import "CKKSGroupOperation.h"
#import "OctagonStateTransitionOperationProtocol-Protocol.h"
@class NSOperation, NSString, OTOperationDependencies... |
//
// SMKPlaylist.h
// SNRMusicKit
//
// Created by Indragie Karunaratne on 2012-08-21.
// Copyright (c) 2012 Indragie Karunaratne. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "SMKTrack.h"
#import "SMKContentSource.h"
#import "SMKUser.h"
#import "SMKContentObject.h"
#define SMKPlaylistLastI... |
// Copyright (c) 2017, Baidu.com, Inc. All Rights Reserved
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applic... |
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Copyright (c) Microsoft Corporation. All rights reserved.
/////////////////////////////////////////////////////////... |
/*
This file is part of:
NoahFrame
https://github.com/ketoo/NoahGameFrame
Copyright 2009 - 2021 NoahFrame(NoahGameFrame)
File creator: lvsheng.huang
NoahFrame is open-source software and you can redistribute it and/or modify
it under the terms of the License; b... |
/***********************************************************
Copyright 1991-1995 by Stichting Mathematisch Centrum, Amsterdam,
The Netherlands.
All Rights Reserved
Permission to use, copy, modify, and distribute this software and its
documentation for any purpose and without fee is hereby gran... |
//#include <ros.h>
#include <trajectory_msgs/JointTrajectory.h>
#include <trajectory_msgs/JointTrajectoryPoint.h>
//this script writes cpp file to instantiate JointTrajectory msg from yaml file"
trajectory_msgs::JointTrajectory generate_traj( )
{
trajectory_msgs::JointTrajectory traj;
traj.joint_... |
// 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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writ... |
#define init i_GRID
#define event e_GRID
#define query q_GRID
#define t_GRID 0
int i_GRID(), e_GRID(), q_GRID(); |
/*
* Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1997-2003 Internet Software Consortium.
*
* 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 permiss... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#ifndef __FX_REFERENCE_H__
#define __FX_REFERENCE_H__
#include <list>
#include "pal.h"
#include "fx_ver.h"
#include... |
/*
* Copyright (c) 2002-2003, Intel Corporation. All rights reserved.
* Created by: rusty.lynch REMOVE-THIS AT intel DOT com
* This file is licensed under the GPL license. For the full content
* of this license, see the COPYING file at the top level of this
* source tree.
Test case for assertion #12 of the s... |
/*************************************************************************************************/
/*!
* \file
*
* \brief HCI PHY command module.
*
* Copyright (c) 2016-2018 Arm Ltd. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file excep... |
/* Copyright 2015 Codethink 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 ... |
/*
* Copyright (c) 2020 Samsung Electronics Co., Ltd. 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... |
/*
* This header is generated by classdump-dyld 1.5
* on Wednesday, April 14, 2021 at 2:34:39 PM Mountain Standard Time
* Operating System: Version 14.4 (Build 18K802)
* Image Source: /System/Library/PrivateFrameworks/MDM.framew... |
/*
* QEMU fulong 2e mini pc support
*
* Copyright (c) 2008 yajin (yajin@vm-kernel.org)
* Copyright (c) 2009 chenming (chenming@rdc.faw.com.cn)
* Copyright (c) 2010 Huacai Chen (zltjiangshi@gmail.com)
* This code is licensed under the GNU GPL v2.
*
* Contributions after 2012-01-13 are licensed under the terms of... |
// Copyright (c) 2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_ZMQ_ZMQCONFIG_H
#define BITCOIN_ZMQ_ZMQCONFIG_H
#if defined(HAVE_CONFIG_H)
#include "config/dashdiff-config.h"
#e... |
// Copyright 2016 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef V8_SNAPSHOT_SERIALIZER_COMMON_H_
#define V8_SNAPSHOT_SERIALIZER_COMMON_H_
#include "src/address-map.h"
#include "src/base/bits.h"
#include "src... |
// Copyright (c) 2022 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... |
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
#import "SessionSelectControllerDelegate.h"
#import "ShareMessageConfirmLogicHelperDelegate.h"
#import "UIAlertViewDelegate.h"
#import "UITableViewDataSource.h... |
// Copyright (c) M5Stack. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
/**
* \par Copyright (C), 2016-2017, M5Stack
* \class M5Stack
* \brief A clone of M5Stack library with multiple devices support
* @file ESP32-Chimera-Core
* @au... |
/* Editor Settings: expandtabs and use 4 spaces for indentation
* ex: set softtabstop=4 tabstop=8 expandtab shiftwidth=4: *
* -*- mode: c, c-basic-offset: 4 -*- */
/*
* Copyright © BeyondTrust Software 2004 - 2019
* All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you m... |
/* $Id: Zima.c,v 1.1.1.1 2004/09/13 21:07:48 mstrout Exp $ */
#include <basic/bool.h>
#include <basic/assert.h>
#include <omega/pres_tree.h>
#include <petit/lang-interf.h>
#include <petit/Zima.h>
#include <petit/debug.h>
#include <petit/affine.h>
#include <petit/dddir.h>
#include <petit/notedd.h>
#include <petit/dd_mi... |
/*
Copyright (c) 2015, 2016 Oracle and/or its affiliates. All rights reserved.
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; version 2 of the License.
This program is distributed in the ... |
/*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... |
#ifndef ASTAR_H_
#define ASTAR_H_
/*
* astar.h
*
* Created on: Mar 21, 2017
* Author: Sam Reed
*/
#include <vector>
#include <string>
#include <ctime>
#include <cmath> // For sqrt and pow
#include <algorithm> // for max_element and sort
#include <queue> // for priority_queue
#include <iostream>
#include "ba... |
#ifndef BM_H_
#define BM_H_
// TODO(#267): bm does not enforce endianess at runtime
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <stdbool.h>
#include <stdarg.h>
#include <string.h>
#include <errno.h>
#include <ctype.h>
#include <inttypes.h>
#include "./sv.h"
#include "./typ... |
/**
* Copyright 2021 Alexandru Olaru.
* Distributed under the MIT license.
*/
#include<dxgmx/x86/gdt.h>
#include<dxgmx/types.h>
#include<dxgmx/attrs.h>
/* set to 1 by the cpu if
* the segment is accessed,
* defined just for completeness
*/
#define GDT_SEG_ACCESSED (1 << 0)
/* 1 for data/code segments, 0 o... |
/******************************************************************************
* Copyright (C) 2020 Xilinx, Inc. All rights reserved.
* SPDX-License-Identifier: MIT
******************************************************************************/
/************************************************************************... |
//#############################################################################
//
// FILE: pmbus.h
//
// TITLE: C28x PMBUS Driver
//
//#############################################################################
// $TI Release: F28004x Support Library v1.05.00.00 $
// $Release Date: Thu Oct 18 15:43:57 CDT 2018 $
... |
#pragma once
#include <json/json.h>
#include <memory>
#include <string>
#include <vector>
#include "binance-cxx-api/binance.h"
#include "binance-cxx-api/binance_websocket.h"
#include "binance-cxx-api/binance_logger.h"
#include "result.h"
#include "config_accessor.h"
#include "alias.h"
#include "data.h"
using name... |
#pragma once
void DvlNet_SendInfoRequest();
std::vector<std::string> DvlNet_GetGamelist();
void DvlNet_SetPassword(std::string pw); |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Copyright by The HDF Group. *
* Copyright by the Board of Trustees of the University of Illinois. *
* All rights reserved. *
* ... |
#pragma once
#include "dataPtr.h"
#include "type.h"
#include "typeDB.h"
namespace Typhoon::Reflection {
class ReferenceType : public Type {
public:
ReferenceType(TypeId typeID, const Type* referencedType, bool bIsConst);
const Type& getReferencedType() const {
return *referencedType;
}
bool isConst() const {
... |
/*!
* \file NvmCtxMgmt.c
*
* \brief NVM context management implementation
*
* \copyright Revised BSD License, see section \ref LICENSE.
*
* \code
* ______ _
* / _____) _ | |
* ( (____ _____ ____ _| |_ ___... |
//
// Copyright 2020 Staysail Systems, Inc. <info@staysail.tech>
// Copyright 2018 Capitar IT Group BV <info@capitar.com>
//
// This software is supplied under the terms of the MIT License, a
// copy of which should be located in the distribution where this
// file was obtained (LICENSE.txt). A copy of the license may... |
/* This file is generated from specs/discord/audit_log.endpoints-params.json, Please don't edit it. */
/**
* @file specs-code/discord/audit_log.endpoints-params.h
* @author cee-studio
* @date Jul 30 2021
* @brief Specs generated file
* @see https://discord.com/developers/docs/resources/audit-log
*/
/**
* @see ... |
/*
* This header is generated by classdump-dyld 1.5
* on Wednesday, April 28, 2021 at 9:05:53 PM Mountain Standard Time
* Operating System: Version 14.5 (Build 18L204)
* Image Source: /System/Library/PrivateFrameworks/AXMediaUti... |
/*
* Copyright 2013 The LibYuv 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 contributing p... |
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "buffer.h"
#define nearest_multiple_of(a, b) \
(((b) + ((a) - 1)) & ~((a) - 1))
size_t zz_buffer_resize(zz_buffer_t *self, size_t new_cap) {
if (self->cap == 0) {
fprintf(stderr, "zz_buffer_resize(): attempt to resize ext... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE78_OS_Command_Injection__wchar_t_environment_execlp_66a.c
Label Definition File: CWE78_OS_Command_Injection.strings.label.xml
Template File: sources-sink-66a.tmpl.c
*/
/*
* @description
* CWE: 78 OS Command Injection
* BadSource: environment Read input from an environ... |
/*
* This header is generated by classdump-dyld 1.0
* on Sunday, September 27, 2020 at 11:45:09 AM Mountain Standard Time
* Operating System: Version 14.0 (Build 18A373)
* Image Source: /System/Library/PrivateFrameworks/AppleAccountUI.framework/AppleAccountUI
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2... |
#define _GNU_SOURCE /* See feature_test_macros(7) */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <dlfcn.h>
#include "wrappedlibs.h"
#include "wrapper.h"
#include "bridge.h"
#include "librarian/library_private.h"
#include "x86emu.h"
#include "debug.h"
const char* libxdamageName = "libX... |
/*
* Copyright (c) 2014, STMicroelectronics International N.V.
* 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,
... |
/*
* fsm.h - {Link, IP} Control Protocol Finite State Machine definitions.
*
* Copyright (c) 1984-2000 Carnegie Mellon University. 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. R... |
#include <stdio.h>
#include "bstree.h"
static void imprimir_entero(int a) {
printf("%d ", a);
}
int main(int argc, char *argv[]) {
BSTree root = NULL;
root = bstree_insertar(root, 3);
root = bstree_insertar(root, 2);
root = bstree_insertar(root, 9);
root = bstree_insertar(root, 0);
root = bstree_inse... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE252_Unchecked_Return_Value__char_w32CreateNamedPipe_19.c
Label Definition File: CWE252_Unchecked_Return_Value.string.label.xml
Template File: point-flaw-19.tmpl.c
*/
/*
* @description
* CWE: 252 Unchecked Return Value
* Sinks: w32CreateNamedPipe
* GoodSink: Check ... |
/*
* Copyright (c) 2009, Swedish Institute of Computer Science
* 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
* no... |
/* linenoise.c -- guerrilla line editing library against the idea that a
* line editing lib needs to be 20,000 lines of C code.
*
* You can find the latest source code at:
*
* http://github.com/msteveb/linenoise
* (forked from http://github.com/antirez/linenoise)
*
* Does a number of crazy assumptions that ... |
/*
Copyright (C) 2018 MariaDB Corporation AB
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This l... |
/*************************************************************************/
/* scene_tree_dock.h */
/*************************************************************************/
/* This file is part of: */
/* ... |
//
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Mar 29 2017 23:22:24).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import <objc/NSObject.h>
@class NSString, NSURLSession, NSURLSessionTask;
@protocol WARequestTaskDelegate;
@interface WARequestTask ... |
#pragma once
#ifdef HZ_PLATFORM_WINDOWS
#if HZ_DYNAMIC_LINK
#ifdef HZ_BUILD_DLL
#define HAZEL_API __declspec(dllexport)
#else
#define HAZEL_API __declspec(dllimport)
#endif
#else
#define HAZEL_API
#endif
#else
#error Hazel only supports Windows!
#endif
#ifdef HZ_DEBUG
#define HZ_ENABLE_ASSERTS
#end... |
--- sysdeps/freebsd/proctime.c.orig 2016-11-27 18:05:03 UTC
+++ sysdeps/freebsd/proctime.c
@@ -92,8 +92,12 @@ glibtop_get_proc_time_p (glibtop *server
}
buf->frequency = (ci.stathz ? ci.stathz : ci.hz);
+#ifdef __DragonFly__
+ buf->rtime = 0; /* XXX TODO */
+#else
buf->rtime = pinfo [0].ki_runtime * buf->freque... |
#include "remove_nth_node_from_end_of_list.h"
#include <stdlib.h>
struct ListNode *removeNthFromEnd_19_1(struct ListNode *head, int n) {
struct ListNode dummy = {0, head};
struct ListNode *fast = &dummy, *slow = &dummy;
for (; n >= 0; --n)
fast = fast->next;
while (fast != NULL) {
slow... |
/*****************************************************************************
* FILE: bug6fix.c
* DESCRIPTION:
* This solution uses a mutex variable to protect the global sum while each
* thread updates it. A much more efficient method would be that used in the
* dotprod_mutex.c example.
* SOURCE: 07/06/05 Blais... |
######################################################
# Include file with machine-specific definitions #
# for building PDAF. #
# #
# Variant for Sun with Sun Studio 12 Compiler at AWI #
# without MPI. ... |
// Auto-generated file. Do not edit!
// Template: src/f32-igemm/wasmsimd-s4.c.in
// Generator: tools/xngen
//
// Copyright 2020 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
#include <assert.h>
#include <wasm_simd1... |
/* This file was generated by upbc (the upb compiler) from the input
* file:
*
* envoy/service/discovery/v3/ads.proto
*
* Do not edit -- your changes will be discarded when the file is
* regenerated. */
#include <stddef.h>
#include "upb/msg_internal.h"
#include "envoy/service/discovery/v3/ads.upb.h"
#include... |
//------------------------------------------------------------------------------
// GB_sel: hard-coded functions for selection operators
//------------------------------------------------------------------------------
// SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2020, All Rights Reserved.
// http://suitespars... |
#include <stdio.h>
int main () {
int n[ 10 ]; /* n is an array of 10 integers */
int i,j;
/* initialize elements of array n to 0 */
for ( i = 0; i < 10; i++ ) {
n[ i ] = i + 100; /* set element at location i to i + 100 */
}
/* output each array element's value */
for (j = 0;... |
/****************************************************************************
* Copyright 2019,2020 Thomas E. Dickey *
* Copyright 2002-2016,2017 Free Software Foundation, Inc. *
* *
* Permi... |
inherit "/cmds/spells/s/_shadow_evocation";
void create()
{
::create();
set_spell_name("shadow conjuration");
set_spell_level(([ "mage" : 4, "bard" : 4, "oracle" : 4, "magus" : 4 ]));
set_mystery("darkness");
set_domains("darkness");
set_spell_sphere("illusion");
set_syntax("cast CLASS shad... |
/*
* Copyright (C) 2014 Gil Mendes
*
* 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,... |
#pragma once
#include "cfl_widget.h"
#ifdef __cplusplus
extern "C" {
#endif
#define GROUP_DECLARE(widget) \
void widget##_begin(widget *self); \
void widget##_end(widget *self); ... |
/**
* Copyright 2020 Huawei Technologies Co., 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... |
/*
* token lex for finsh shell.
*
* COPYRIGHT (C) 2006 - 2013, RT-Thread Development Team
*
* This file is part of RT-Thread (http://www.rt-thread.org)
* Maintainer: bernard.xiong <bernard.xiong at gmail.com>
*
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modif... |
/**
* This header is generated by class-dump-z 0.2-0.
* class-dump-z is Copyright (C) 2009 by KennyTM~, licensed under GPLv3.
*
* Source: (null)
*/
#import "MTRGBanner.h"
@class NSArray, MTRGVideoBanner, NSString, MTRGImageData, NSNumber;
@interface MTRGNativeBanner : MTRGBanner {
NSString* _title;
NSString* ... |
/* List object implementation */
#include "Python.h"
#ifdef STDC_HEADERS
#include <stddef.h>
#else
#include <sys/types.h> /* For size_t */
#endif
/* Ensure ob_item has room for at least newsize elements, and set
* ob_size to newsize. If newsize > ob_size on entry, the content
* of the new slots at exit i... |
/*
This file was generated by KreMLin <https://github.com/FStarLang/kremlin>
KreMLin invocation: krml -verify -warn-error +9 -drop WasmSupport -tmpdir ./out -fsopt --cache_dir -fsopt ./out -fsopt --cache_checked_modules -skip-linking -skip-compilation -no-prefix HardCoding -no-prefix ParseDoor -no-prefix ParseIndi... |
/*-------------------------------------------------------------------------
*
* aio_posix.c
* Routines for POSIX AIO.
*
* The POSIX AIO API is provided by the kernels of at least FreeBSD, NetBSD,
* macOS, AIX and HP-UX. It's also provided by user space-managed threads in
* the runtime libraries of Linux (Glib... |
/*
* =====================================================================
* Version: 1.0
* Created: 01.09.2012 12:58:02
* Author: Miroslav Bendík
* Company: LinuxOS.sk
* =====================================================================
*/
#if MSDOS || __OS2__ || __NT__ || _... |
/*
* Copyright (C) 2005-2019 Centre National d'Etudes Spatiales (CNES)
*
* This file is part of Orfeo Toolbox
*
* https://www.orfeo-toolbox.org/
*
* 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 ... |
// RUN: rm -rf %t*
// RUN: 3c -base-dir=%S -addcr -alltypes -output-dir=%t.checkedALL2 %S/fptrarrstructcalleemulti1.c %s --
// RUN: 3c -base-dir=%S -addcr -output-dir=%t.checkedNOALL2 %S/fptrarrstructcalleemulti1.c %s --
// RUN: %clang -working-directory=%t.checkedNOALL2 -c fptrarrstructcalleemulti1.c fptrarrstructcall... |
/*
SPDX-License-Identifier: MIT
Parson 1.1.0 ( http://kgabis.github.com/parson/ )
Copyright (c) 2012 - 2020 Krzysztof Gabis
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restricti... |
/*
* FreeRTOS Common IO V0.1.3
* 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, incl... |
/*
* Copyright © 2007, 2008 Ryan Lortie
* Copyright © 2009, 2010 Codethink Limited
*
* 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 you... |
//
// XCNUserInterface.h
// xcnew
//
// Created by Ryosuke Ito on 2/13/20.
// Copyright © 2020 Ryosuke Ito. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
typedef NS_ENUM(NSUInteger, XCNUserInterface) {
XCNUserInterfaceStoryboard,
XCNUserInterfaceSwiftUI,
};
OBJC_EXPOR... |
// 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 SRC_LEDGER_BIN_FIDL_ERROR_NOTIFIER_ERROR_NOTIFIER_BINDING_H_
#define SRC_LEDGER_BIN_FIDL_ERROR_NOTIFIER_ERROR_NOTIFIER_BINDING_H_
#include <lib/fi... |
/*-------------------------------------------------------------------------
*
* nodeSubplan.h
*
*
*
* Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* src/include/executor/nodeSubplan.h
*
*------------------------... |
/* ----------------------------------------------------------------------------
* Copyright (c) Huawei Technologies Co., Ltd. 2013-2019. All rights reserved.
* Description: BinaryTree Private HeadFile
* Author: Huawei LiteOS Team
* Create: 2013-01-01
* Redistribution and use in source and binary forms, with or wit... |
#ifndef NET_GRPC_COMPILER_JAVA_GENERATOR_H_
#define NET_GRPC_COMPILER_JAVA_GENERATOR_H_
#include <stdlib.h> // for abort()
#include <iostream>
#include <string>
#include <google/protobuf/io/zero_copy_stream.h>
#include <google/protobuf/descriptor.h>
class LogHelper {
std::ostream* os;
bool abort;
public:
Lo... |
//
// BFTaskCompletionSource+Task.h
// Pods
//
// Created by Felix Dumit on 3/31/15.
//
//
#import <Bolts/BFTaskCompletionSource.h>
@class BFTask;
@interface BFTaskCompletionSource<__covariant ResultType> (Task)
- (void)setResultBasedOnTask:(BFTask *)taskk includingCancel:(BOOL)includeCancel;
- (void)setResultBa... |
// C++/WinRT v1.0.180227.3
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#pragma once
WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Activation {
struct BackgroundActivatedEventArgs;
}
WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Calls::Back... |
// AUTORIGHTS
// -------------------------------------------------------
// Copyright (C) 2011-2012 Ross Girshick
//
// This file is part of the voc-releaseX code
// (http://people.cs.uchicago.edu/~rbg/latent/)
// and is available under the terms of an MIT-like license
// provided in COPYING. Please retain this notice... |
#include <stdio.h>
#include <stdint.h>
#include <stddef.h>
#include <malloc.h>
#include <stdlib.h>
#include <string.h>
#define MIN(X, Y) (((X) < (Y)) ? (X) : (Y))
#define MAX(X, Y) (((X) > (Y)) ? (X) : (Y))
static int cmpfunc (const void * a, const void * b)
{
return ( ((int)*(uint8_t*)a) - ((int)*(uint8_t*)b) );
... |
//
// SkyNet Project
// Copyright (C) 2018 by Contributors <https://github.com/Tyill/skynet>
//
// This code is licensed under the MIT License.
//
// 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 So... |
#if !defined(_TRACE_KVM_BOOKE_H) || defined(TRACE_HEADER_MULTI_READ)
#define _TRACE_KVM_BOOKE_H
#include <linux/tracepoint.h>
#undef TRACE_SYSTEM
#define TRACE_SYSTEM kvm_booke
#define TRACE_INCLUDE_PATH .
#define TRACE_INCLUDE_FILE trace_booke
#define kvm_trace_symbol_exit \
{0, "CRITICAL"}, \
{1, "MACHINE_CHECK"... |
/*
* 金棒 (kanabō)
* Copyright (c) 2012 Kevin Birch <kmb@pobox.com>. All rights reserved.
*
* 金棒 is a tool to bludgeon YAML and JSON files from the shell: the strong
* made stronger.
*
* For more information, consult the README file in the project root.
*
* Distributed under an [MIT-style][license] license.
*
... |
/*
* Copyright (c) 2013 Oracle and/or its affiliates. All Rights Reserved.
*
* 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 late... |
/* Copyright (c) 2013-2014, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the... |
/* @STSHELL_LICENSE_START@
*
* __ _______ ___________
* / |/ / __ \/ ___/_ __/
* / /|_/ / / / /\__ \ / /
* / / / / /_/ /___/ // /
* /_/ /_/\____//____//_/
*
* Multi-Objective System Tuner
* Copyright (c) 2007-2022 Politecnico di Milano
*
* Development leader: Vittorio ... |
#ifndef KERBEROS_H
#define KERBEROS_H
#include <node.h>
#include <gssapi/gssapi.h>
#include <gssapi/gssapi_generic.h>
#include <gssapi/gssapi_krb5.h>
#include <node_object_wrap.h>
#include <v8.h>
extern "C" {
#include "kerberosgss.h"
}
using namespace v8;
using namespace node;
class Kerberos : public ObjectWrap ... |
//
// Generated by classdumpios 1.0.1 (64 bit) (iOS port by DreamDevLost)(Debug version compiled Jun 10 2020 10:03:13).
//
// Copyright (C) 1997-2019 Steve Nygard.
//
#import "_TtC6Arcade31LargeBreakoutCollectionViewCell.h"
@interface _TtC6Arcade32UpsellBreakoutCollectionViewCell : _TtC6Arcade31LargeBreakoutColl... |
/* 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... |
#include <stdio.h>
void scilab_rt_contour_d2d2d2i0d0d0_(int in00, int in01, double matrixin0[in00][in01],
int in10, int in11, double matrixin1[in10][in11],
int in20, int in21, double matrixin2[in20][in21],
int scalarin0,
double scalarin1,
double scalarin2)
{
int i;
int j;
double val0 = ... |
/*
* Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
* Copyright (c) 2020-2021 Huawei Device Co., Ltd. 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. Redist... |
#define TEST_DLL_EXPORT
#include "test.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
void greet(char *name)
{
printf("Hello, %s!\n", name);
}
char *name()
{
char buf[] = "Gopher";
char *n = malloc(strlen(buf) + 1);
strcpy(n, buf);
n[strlen(buf)] = '\0';
return n;
}
// gcc test... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.