text stringlengths 9 948k |
|---|
/* -*- mode: C; c-file-style: "gnu" -*- */
/* xdgmimealias.c: Private file. mmappable caches for mime data
*
* More info can be found at http://www.freedesktop.org/standards/
*
* Copyright (C) 2005 Matthias Clasen <mclasen@redhat.com>
*
* Licensed under the Academic Free License version 2.0
* Or under the foll... |
/**
* http://www.loyalty.org/~schoen/rsa/private-from-pq.c
*/
#include <stdlib.h>
#include <openssl/bn.h>
#include <openssl/rsa.h>
#include <openssl/engine.h>
int
main (int argc, char *argv[])
{
BIGNUM *n = BN_new ();
BIGNUM *d = BN_new ();
BIGNUM *e = BN_new ();
BIGNUM *p = BN_new ();
BIGNUM *q = BN_new... |
#pragma once
struct ipaddressinfo
{
const char* offical_ip;
const char* alias_ip;
const char* offical_name;
const char* alias_name;
}; |
//
// 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 <objc/NSObject.h>
@interface PDBarcodeServiceBarcodeEventResponse : NSObject
{
_Bool _transactionAvailable; // 8 = 0x8
}
@property(re... |
/*
* This header is generated by classdump-dyld 1.5
* on Wednesday, April 28, 2021 at 9:07:49 PM Mountain Standard Time
* Operating System: Version 14.5 (Build 18L204)
* Image Source: /System/Library/PrivateFrameworks/PairedSync... |
/**
Atomix project, ORILIB_SimpleEnergyTracker_i.c, TODO: insert summary here
Copyright (c) 2015 Stanford University
Released under the Apache License v2.0. See the LICENSE file for details.
Author(s): Manu Bansal
*/
#include "ORILIB_t.h"
#include "WIFILIB_util.h"
#include <c6x.h>
#if SYNC_BUFFER_SIZE_ENERGY != 80
#e... |
C $Header: /u/gcmpack/MITgcm/pkg/flt/FLT_BUFF.h,v 1.1 2011/08/31 21:41:55 jmc Exp $
C $Name: checkpoint65 $
CBOP
C !ROUTINE: FLT_BUFF.h
C !INTERFACE:
C #include FLT_BUFF.h
C !DESCRIPTION:
C *==========================================================*
C | FLT_BUFF.h
C | o Shared FLT Buffers... |
/**
******************************************************************************
* @file sd_diskio.c (based on sd_diskio_dma_rtos_template.c v2.0.2 as FreeRTOS is enabled)
* @brief SD Disk I/O driver
******************************************************************************
* This notice applies to... |
/**
* Copyright (c) 2014 - 2017, Nordic Semiconductor ASA
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,... |
/*
* This header is generated by classdump-dyld 1.5
* on Friday, April 30, 2021 at 11:33:13 AM Mountain Standard Time
* Operating System: Version 13.5.1 (Build 17F80)
* Image Source: /System/Library/Frameworks/Foundation.framewo... |
/*
* Generated by asn1c-0.9.22 (http://lionet.info/asn1c)
* From ASN.1 module "J2735MAPMESSAGE"
* found in "module.asn1"
* `asn1c -S/skeletons`
*/
#include <asn_internal.h>
#include "NodeList.h"
static asn_TYPE_member_t asn_MBR_NodeList_1[] = {
{ ATF_POINTER, 0, 0,
(ASN_TAG_CLASS_UNIVERSAL | (4 << 2)),
0... |
/* SPDX-License-Identifier: GPL-2.0 */
/*
* Support for Intel Camera Imaging ISP subsystem.
* Copyright (c) 2015, Intel Corporation.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free... |
/*
* Renesas R-Car D3 System Controller
*
* Copyright (C) 2017 Glider bvba
*
* 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.
*/
#include <linux/bug.h>
#include... |
/*
* This header is generated by classdump-dyld 1.5
* on Friday, April 30, 2021 at 11:36:09 AM Mountain Standard Time
* Operating System: Version 13.5.1 (Build 17F80)
* Image Source: /System/Library/Frameworks/Intents.framework/... |
/*
* This header is generated by classdump-dyld 1.0
* on Saturday, June 1, 2019 at 6:44:17 PM Mountain Standard Time
* Operating System: Version 12.1.1 (Build 16C5050a)
* Image Source: /System/Library/Frameworks/ModelIO.framework/ModelIO
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos.
... |
#include "builtin.h"
#include "lockfile.h"
#include "parse-options.h"
#include "refs.h"
#include "commit.h"
#include "tree.h"
#include "tree-walk.h"
#include "cache-tree.h"
#include "unpack-trees.h"
#include "dir.h"
#include "run-command.h"
#include "merge-recursive.h"
#include "branch.h"
#include "diff.h"
#include "re... |
/* vim: set expandtab ts=4 sw=4: */
/*
* You may redistribute this program 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) any later version.
*
* This program is distributed in the hope that it... |
/*
* kernel/xfs/archiver.c
*
* Copyright(c) 2007-2021 Jianjun Jiang <8192542@qq.com>
* Official site: http://xboot.org
* Mobile phone: +86-18665388956
* QQ: 8192542
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Softw... |
/*************************************************************************
* *
* YAP Prolog *
* *
* Yap Prolog was developed at NCCUP - Universidade do Porto *
* *
* Copyright L.Damas, V.S.Costa and Universidade do Porto 1985-2003 *
* ... |
// 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.
#include <lib/async/wait.h>
#include <lib/fidl-async/bind.h>
#include <lib/fidl/trace.h>
#include <stdlib.h>
#include <string.h>
#include <zircon/assert.h>... |
#import <ABI38_0_0EXFileSystem/ABI38_0_0EXFileSystem.h>
@interface ABI38_0_0EXFileSystemAssetLibraryHandler : NSObject <ABI38_0_0EXFileSystemHandler>
@end |
// Copyright 2019 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in w... |
/***************************************************************************//**
* @file
* @brief EFR32BG1B_ACMP register and bit field definitions
*******************************************************************************
* # License
* <b>Copyright 2021 Silicon Laboratories Inc. www.silabs.com</b>
*********... |
#ifndef _VULKAN_RENDER_PASS_H
#define _VULKAN_RENDER_PASS_H
#include "valkyrie/common.h"
namespace Vulkan {
typedef std::vector<VkSubpassDependency> SubpassDependencies;
typedef std::vector<VkAttachmentReference> AttachmentReferences;
struct Device;
struct Subpass {
Subpass();
~Subpass();
VkSubpassDescript... |
/*
Copyright (c) 2012, SMB Phone 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 conditions and the ... |
//
// KRArrowIconRowView.h
// KRUser
//
// Created by LX on 2017/12/18.
// Copyright © 2017年 Ace. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface KRArrowIconRowView : UIView
@property (nonatomic, copy) NSString *title;
@property (nonatomic, copy) NSString *subTitle;
@property (nonatomic, copy) NSStrin... |
/////////////////////////////////////////////////////////////////////////////
//
// BSD 3-Clause License
//
// Copyright (c) 2019, University of California, San Diego.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the follow... |
//*****************************************************************************
//
// startup_ewarm.c - Startup code for use with IAR's Embedded Workbench,
// version 5.
//
// Copyright (c) 2012 Texas Instruments Incorporated. All rights reserved.
// Software License Agreement
//
// Texas Instrument... |
/*=========================================================================
Program: Visualization Toolkit
Module: vtkImageSincInterpolator.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This so... |
/* Copyright 2016-2022 Intel Corporation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted for any purpose (including commercial purposes)
* provided that the following conditions are met:
*
* 1. Redistributions of source code must retain ... |
#include <cppunit/extensions/HelperMacros.h>
class DateTestSuite : public CPPUNIT_NS::TestFixture
{
CPPUNIT_TEST_SUITE(DateTestSuite);
CPPUNIT_TEST(testSetTimeUTC);
CPPUNIT_TEST(testSetTimeLocalTZ);
CPPUNIT_TEST_SUITE_END();
public:
void setUp();
void tearDown();
protected:
... |
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef IOS_CHROME_BROWSER_PROVIDERS_CHROMIUM_BROWSER_PROVIDER_H_
#define IOS_CHROME_BROWSER_PROVIDERS_CHROMIUM_BROWSER_PROVIDER_H_
#include "ios/public/... |
/*
Copyright 2021 Frank Jenner
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributi... |
#pragma once
#include <obliv.h>
void ocTlsOrDieBuffered(ProtocolDesc *pd, const char* remote_host, const char *port, size_t first_party_send_buffer_size, size_t second_party_send_buffer_size); |
/*
* twemproxy - A fast and lightweight proxy for memcached protocol.
* Copyright (C) 2011 Twitter, 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/lice... |
/* C program for Merge Sort */
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <omp.h>
#define getClock() ((double)clock()/CLOCKS_PER_SEC)
double begin,end;
// Merges two subarrays of arr[].
// First subarray is arr[l..m]
// Second subarray is arr[m+1..r]
void merge(int arr[], int l, int m, i... |
/* Lista Encadeada Simples - Singled-linked List */
/* TAD -> ADT - Abstract Data Type */
#include "list.h"
#include <stdlib.h>
#include <stdio.h>
struct cell;
typedef struct cell Cell;
struct cell {
int info;
struct cell *next;
};
struct list {
int size;
Cell* first, last;
};
List* creat_list() {
List *lst =... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2020 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_WALLET_WALLET_H
#define BITCOIN_WALLET_WALLET_H
#include <amount... |
#include <iostream>
using namespace std;
int doubler(int i)
{
return i*2;
}
int tripler(int i)
{
return i*3;
}
//function pointer
typedef int(*CHANGER)(int i);
int Change(int i)
{
CHANGER f;
if(i>5)
f = tripler;
else
f = doubler;
return f(i);
} |
/*
* Copyright 1997, Regents of the University of Minnesota
*
* timing.c
*
* This file contains routines that deal with timing Metis
*
* Started 7/24/97
* George
*
* $Id: timing.c,v 1.2 2005/09/16 15:04:12 levy Exp $
*
*/
#include <METIS/metis.h>
/*********************************************************... |
#ifndef COMPLIANT_KRYLOVSOLVER_H
#define COMPLIANT_KRYLOVSOLVER_H
#include "IterativeSolver.h"
#include "Response.h"
#include "../utils/krylov.h"
#include "../assembly/AssembledSystem.h"
#include <sofa/core/objectmodel/BaseObject.h>
#include "SubKKT.h"
template<class> struct schur;
struct kkt;
namespace sofa {
na... |
//
// MGCircleSpreadTransition.h
// MGTrasitionPractice
//
// Created by ming on 16/8/4.
// Copyright © 2016年 ming. All rights reserved.
//
#import <Foundation/Foundation.h>
typedef NS_ENUM(NSUInteger, MGCircleSpreadTransitionType) {
MGCircleSpreadTransitionTypePresent = 0,
MGCircleSpreadTransitionTypeDis... |
#ifndef __GBITS_H__
#define __GBITS_H__
#include <stdlib.h>
#include "GError.h"
namespace GClasses {
#define BITS_PER_BYTE 8
#define BITS_PER_UINT (BITS_PER_BYTE * sizeof(unsigned int))
/// Contains various functions for bit analysis
class GBits
{
public:
/// returns true iff the specified string is a valid floati... |
/*******************************************************************************
* Copyright (c) 2014 IBM Corp.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and Eclipse Distribution License v1.0 which accompany this d... |
//
// XHEmotionManagerView.h
// MessageDisplayExample
//
// Created by qtone-1 on 14-5-3.
// Copyright (c) 2014年 曾宪华 开发团队(http://iyilunba.com ) 本人QQ:543413507 本人QQ群(142557668). All rights reserved.
//
#import <UIKit/UIKit.h>
#import "XHEmotionManager.h"
#import "XHMacro.h"
#define kXHEmotionPerRowItemCount (kIsiP... |
//
// JWTAlgorithmNone.h
// JWT
//
// Created by Lobanov Dmitry on 16.10.15.
// Copyright © 2015 Karma. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "JWTAlgorithm.h"
@interface JWTAlgorithmNone : NSObject <JWTAlgorithm>
@end |
#ifdef __OBJC__
#import <UIKit/UIKit.h>
#else
#ifndef FOUNDATION_EXPORT
#if defined(__cplusplus)
#define FOUNDATION_EXPORT extern "C"
#else
#define FOUNDATION_EXPORT extern
#endif
#endif
#endif
FOUNDATION_EXPORT double Pods_SearchEngineVersionNumber;
FOUNDATION_EXPORT const unsigned char Pods_SearchEngineVersionStrin... |
/***************************************************************************//**
* @file
* @brief MGM12_LESENSE_CH register and bit field definitions
* @version 5.8.0
*******************************************************************************
* # License
* <b>Copyright 2019 Silicon Laboratories Inc. www.silab... |
/*
* Copyright (c) 2013-2020, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
#ifndef I2PTUNNEL_H__
#define I2PTUNNEL_H__
#include <inttypes.h>
#include <string>
#include <set>
#include <tuple>
#include <mem... |
#import <ContactsUI/CNCapabilitiesManager.h>
#import <ContactsUI/CNPropertyTTYAction.h>
#import <ContactsUI/CNPropertyTTYRelayAction.h>
#import <ContactsUI/CNContactViewServiceViewController.h>
#import <ContactsUI/CNContactViewExtensionContext.h>
#import <ContactsUI/CNCardActionGroupItem.h>
#import <ContactsUI/CNCardFa... |
// Copyright (c) 2007 GeometryFactory (France). All rights reserved.
//
// This file is part of CGAL (www.cgal.org); 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 3 of the License,
// or (at your opt... |
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "EUTRA-RRC-Definitions"
* found in "/home/user/openairinterface5g/openair2/RRC/LTE/MESSAGES/asn1c/ASN1_files/lte-rrc-14.7.0.asn1"
* `asn1c -pdu=all -fcompound-names -gen-PER -no-gen-OER -no-gen-example -D /home/user/openairinterface5g/c... |
/*
* 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 conditions a... |
/*
* This source file is part of RmlUi, the HTML/CSS Interface Middleware
*
* For the latest information, see http://github.com/mikke89/RmlUi
*
* Copyright (c) 2008-2010 CodePoint Ltd, Shift Technology Ltd
* Copyright (c) 2019 The RmlUi Team, and contributors
*
* Permission is hereby granted, free of charge, to... |
/* The copyright in this software is being made available under the BSD
* License, included below. This software may be subject to other third party
* and contributor rights, including patent rights, and no such rights are
* granted under this license.
*
* Copyright (c) 2010-2019, ITU/ISO/IEC
* All rights reserve... |
/* FFT_plugin.h
* This is a test plugin, you can use it as a demo.
* 2013-07-29 : by Zhi Zhou
*/
#ifndef __FFT_PLUGIN_H__
#define __FFT_PLUGIN_H__
#include <QtGui>
#include <v3d_interface.h>
class highpass3d_fftw : public QObject, public V3DPluginInterface2_1
{
Q_OBJECT
Q_INTERFACES(V3DPluginInterface2_1);
p... |
#ifndef GEOMETRY_2D_SEMIPLANE_H
#define GEOMETRY_2D_SEMIPLANE_H
#include "Constants.h"
#include "Geometry2D/Point.h"
#include "Geometry2D/Line.h"
namespace Geometry
{
namespace Geometry2D
{
struct Semiplane : public Line // 半平面类(半平面位于直线方向逆时针方向)
{
Semiplane();
Semiplane(const Point &, const Point &);
Se... |
/*
* 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
... |
#pragma once
#include <string>
#include "stdafx.h"
#include <iostream>
#include <iomanip>
#include <Windows.h>
#include <stdlib.h>
#include <fstream>
#include <sstream>
#include <vector>
using namespace std;
using std::cout;
using std::wcout;
#define STATUS_SUCCESS 0
#define STATUS_UNSUCCESSFUL ... |
/**
* @file heapoutofbounds2.c
* @brief Heap Memory leak example, 2 problems; heap block overrun, & no freeing
* @ref http://www.inf.udec.cl/~leo/teoX.pdf
* @details 2 problems; heap block overrun, 2. memory leak from x not freed
*
* gdb note; doing disassemble main, break *main+13, brea *main+41 (strategy... |
/**
Modified from https://github.com/juanjp600/pge.
Copyright (c) 2019 Juan Pablo Arce
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software fo... |
//
// myTextField.h
// AdmoreSDKCore
//
// Created by careyang on 2017/5/27.
// Copyright © 2017年 wanglin.sun. All rights reserved.
//
#import <UIKit/UIKit.h>
@class OpenTextField;
@protocol OpenTextFieldDelegate <NSObject>
- (void)my_textFieldDeleteBackward:(OpenTextField *)textField;
@end
@interface OpenTextFi... |
#import "DCLocation.h"
#import "DCManagedObjectUpdateProtocol.h"
@interface DCLocation (DC)<ManagedObjectUpdateProtocol>
@end |
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <idmlib/topic-models/common/stats.h>
#include <idmlib/topic-models/common/samplib.h>
/* extraneous functions */
double NEGINF = -0/1;
double epsilonValue = 1e-10;
#define BOUNDLO(x) (((x)<epsilonValue)?(epsilonValue):(x))
#define B... |
/*
* 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... |
// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
//-----------------------------------------------------------------------------
// Copyright 2000-2022 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
// See the top-level COPYRIGHT file for details.
// SPDX-License-Identifier: Apache-2... |
/*
* C Program to Find Nodes which are at Maximum Distance in Binary Tree
*/
#include <stdio.h>
#include <stdlib.h>
struct btnode
{
int value;
struct btnode *r,*l;
} *root = NULL, *temp = NULL;
void create();
void insert();
void add(struct btnode *t);
void maxdistance(struct btnode *t);
int count = 0, max ... |
/*
* Copyright (C) 2009 Matt Oswald
* Copyright (c) 2009-2010 Ricardo Quesada
* Copyright (c) 2010-2012 cocos2d-x.org
* Copyright (c) 2011 Zynga Inc.
* Copyright (c) 2011 Marco Tillemans
* Copyright (c) 2013-2014 Chukong Technologies Inc.
*
* http://www.cocos2d-x.org
*
* Permission is hereby granted... |
/*
* FreeRTOS Kernel V10.2.0
* Copyright (C) 2019 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... |
/** precompile header*/
/* Add C includes here */
#if defined __cplusplus
/* Add C++ includes here */
#include <iostream>
#include <Windows.h>
#include <winnt.h>
#include <QDebug>
#include <fstream>
#include <iostream>
#include <string>
#include <QCoreApplication>
#include <QList>
#include <QVariant>
#include <QObje... |
/********************************************************
Stanford Driving Software
Copyright (c) 2011 Stanford 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:
* Redistributions... |
//
// MVCViewController.h
// ArchitectureDesign
//
// Created by 李礼光 on 2020/4/11.
// Copyright © 2020 LG. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface MVCViewController : UIViewController
@end
NS_ASSUME_NONNULL_END |
/**
* Copyright (C) 2017 MongoDB Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be usef... |
/////////////////////////////////////////////////////////////////////////////////
// Copyright (c) Electronic Arts Inc. All rights reserved.
/////////////////////////////////////////////////////////////////////////////////
#ifndef EASTL_ATOMIC_INTERNAL_H
#define EASTL_ATOMIC_INTERNAL_H
#if defined(EASTL_PRAGMA_ONCE_... |
// Copyright (c) 2012-2017, The CryptoNote developers, The Bytecoin developers
// Copyright (c) 2016-2019, The Karbo developers
//
// This file is part of Karbo.
//
// Karbo 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... |
// Copyright (c) 2011-2017 The Cryptonote developers
// Copyright (c) 2017-2018 The Circle Foundation & Conceal Devs
// Copyright (c) 2018-2019 Conceal Network & Conceal Devs
// Copyright (c) 2019-2020 The Wallet 2 Wallet Team
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or ht... |
#pragma once
#include <vic/base/predef.h>
#include <vic/base/type.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef struct vic_forward_list_node vic_forward_list_node_t;
struct vic_forward_list_node {
vic_forward_list_node_t *_next;
};
#define vic_forward_list_node_init(__node) \
(__node)->_next = nil
#de... |
//
// Copyright 2011 Jeff Verkoeyen
//
// 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 t... |
//
// AppDelegate.h
// JYJAdViewController
//
// Created by JYJ on 2017/9/19.
// Copyright © 2017年 shanqi. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end |
/******************************************************************************
@file nvintf.h
@brief Function pointer interface to the NV API
Group: CMCU, LPC
Target Device: cc13x2_26x2
******************************************************************************
Copyright (c) 2018-2021, Texas Instrument... |
/// \file
/// Frequently needed typedefs.
#ifndef __MYTYPE_H_
#define __MYTYPE_H_
/// \def SINGLE determines whether single or double precision is built
#ifdef SINGLE
typedef float real_t; //!< define native type for CoMD as single precision
#define FMT1 "%g" //!< /def format argument for floats
#define EMT1 "%e"... |
/**
* @file
* DNS - host name to IP address resolver.
*
* @defgroup dns DNS
* @ingroup callbackstyle_api
*
* Implements a DNS host name to IP address resolver.
*
* The lwIP DNS resolver functions are used to lookup a host name and
* map it to a numerical IP address. It maintains a list of resolved
* hostname... |
// Generated by Haxe 3.4.7
#ifndef INCLUDED_haxe_CallStack
#define INCLUDED_haxe_CallStack
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS1(haxe,CallStack)
HX_DECLARE_CLASS1(haxe,StackItem)
namespace haxe{
class HXCPP_CLASS_ATTRIBUTES CallStack_obj : public hx::Object
{
public:
typedef hx::Object sup... |
// This file is part of Blend2D project <https://blend2d.com>
//
// See blend2d.h or LICENSE.md for license and copyright information
// SPDX-License-Identifier: Zlib
#ifndef BLEND2D_PIPELINE_JIT_FETCHSOLIDPART_P_H_INCLUDED
#define BLEND2D_PIPELINE_JIT_FETCHSOLIDPART_P_H_INCLUDED
#include "../../pipeline/jit/fetchpar... |
#ifndef QT_NO_QT_INCLUDE_WARN
#if defined(__GNUC__)
#warning "Inclusion of header files from include/Qt is deprecated."
#elif defined(_MSC_VER)
#pragma message("WARNING: Inclusion of header files from include/Qt is deprecated.")
#endif
#endif
#include "../Qt3Support/q3iconview.h" |
/*
* GPL HEADER START
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 only,
* as published by the Free Software Foundation.
*
* This program is distributed... |
/*-------------------------------------------------------------------------
*
* dynahash.c
* dynamic hash tables
*
* dynahash.c supports both local-to-a-backend hash tables and hash tables in
* shared memory. For shared hash tables, it is the caller's responsibility
* to provide appropriate access interlockin... |
/*
* Copyright (c) 2016 Intel Corporation
*
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @file
*
* SLIP driver using uart_pipe. This is meant for network connectivity between
* host and qemu. The host will need to run tunslip process.
*/
#define LOG_MODULE_NAME slip
#define LOG_LEVEL CONFIG_SLIP_LOG_LEVEL
... |
/*
* Deluxe Paint Animation demuxer
* Copyright (c) 2009 Peter Ross
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the Licen... |
/*
* Copyright 2019 Google
*
* 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 w... |
/* Copyright (C) 2002, 2003, 2004, 2005, 2007, 2008
Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Publ... |
//------------------------------------------------------------------------------
// GB_shallow_copy: create a shallow copy of a matrix
//------------------------------------------------------------------------------
// SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2022, All Rights Reserved.
// SPDX-License-Identif... |
/***************************************
* @file net_base.h
* @brief 网络库基本功能函数
* @details 大小端判断
32&64位系统判断
ntohll与htonl的实现
int32与int64序列/反序列化为char[4],char[8]
数据包头结构定义
在win平台测试过,linux平台未测试
* @author phata, wqvbjhc@gmail.com
* @date 2014-5-16
* @mod 2014-5-21 phata 包定义... |
//------------------------------------------------------------
// snakeoil (c) Alexis Constantin Link
// Distributed under the MIT license
//------------------------------------------------------------
#ifndef _SNAKEOIL_SHADE_BUFFER_TYPE_H_
#define _SNAKEOIL_SHADE_BUFFER_TYPE_H_
#include "typedefs.h"
#include "type.h"... |
// [ImGui] this is a slightly modified version of stb_textedit.h 1.12. Those changes would need to be pushed into
// nothings/stb [ImGui] - 2018-06: fixed undo/redo after pasting large amount of text (over 32 kb). Redo will still fail
// when undo buffers are exhausted, but text won't be corrupted (see nothings/stb iss... |
/*
* Copyright (c) 2009-2017 The University of Tennessee and The University
* of Tennessee Research Foundation. All rights
* reserved.
*/
#ifndef __GRID_2DCYCLIC_H__
#define __GRID_2DCYCLIC_H__
#include "parsec/parsec_config.h"
BEGIN_C_DECLS
/*********************... |
/** <!--
*
* Copyright (C) 2014 OpenVCX openvcx@gmail.com
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later ve... |
/*
* Copyright (c) 2003 Matteo Frigo
* Copyright (c) 2003 Massachusetts Institute of Technology
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at... |
#pragma once
#include"config.h"
class reverseWords {
public:
string Solution(string s) {
string tmp;
string world;
for (int i = (s.size() - 1); i >= 0; i--)
{
if (s[i] == ' ')
{
if (tmp.empty())
{
tmp = worl... |
/*
** $Id: lvm.c $
** Lua virtual machine
** See Copyright Notice in lua.h
*/
#define lvm_c
#define LUA_CORE
#include "lprefix.h"
#include <float.h>
#include <limits.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "lua.h"
#include "ldebug.h"
#include "ldo.h"
#include "lfunc... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.