text stringlengths 9 948k |
|---|
/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file : main.c
* @brief : Main program body
******************************************************************************
** This notice applies to any and all portions of this... |
/*
* dbtype_ContainerPropertyEntity.h
*/
#ifndef DBTYPE_CONTAINERPROPERTYENTITY_H_
#define DBTYPE_CONTAINERPROPERTYENTITY_H_
#include <boost/serialization/access.hpp>
#include <boost/serialization/base_object.hpp>
#include <boost/serialization/split_member.hpp>
#include "dbtypes/dbtype_Entity.h"
#include "dbtypes/... |
//
// LTViewController.h
// LTCustomFunctions
//
// Created by 963527512@qq.com on 04/13/2017.
// Copyright (c) 2017 963527512@qq.com. All rights reserved.
//
@import UIKit;
@interface LTViewController : UIViewController
@end |
//
// UserInfoTool.h
// KeKeKit
//
// Created by KeKe on 3018/10/11.
// Copyright © 2021年 KeKe. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface UserInfoTool : NSObject
+(int)getNewValueWithKey:(NSString*)key isAutoSave:(BOOL)isautoSave;
+(int)getNewValueWithKey:(NSString*)key;
+(int)getNewVal... |
//
// ABXFAQTableViewCell.h
// Sample Project
//
// Created by Stuart Hall on 15/06/2014.
// Copyright (c) 2014 Appbot. All rights reserved.
//
@import UIKit;
@class ABXFaq;
@interface ABXFAQTableViewCell : UITableViewCell
- (void)setFAQ:(ABXFaq*)faq;
+ (CGFloat)heightForFAQ:(ABXFaq*)faq withWidth:(CGFloat)wid... |
/*
* This file is part of Espruino, a JavaScript interpreter for Microcontrollers
*
* Copyright (C) 2013 Gordon Williams <gw@pur3.co.uk>
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http... |
/*
* Copyright (c) 2009-2012, Pieter Noordhuis <pcnoordhuis at gmail dot com>
* 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 condition... |
//
// GameModeParameterValue.h
// Quickblox
//
// Created by Igor Khomenko on 6/25/12.
// Copyright (c) 2012 QuickBlox. All rights reserved.
//
#import "Common/Common.h" |
#pragma once
#include "handler/showhandler.h"
#include "scaleform/menus/factionmenu.h"
#include "scaleform/menus/statsmenu.h"
class KeyManager : public RE::BSTEventSink<RE::InputEvent*> {
public:
using EventResult = RE::BSEventNotifyControl;
using ShowMenu = MenuUtil::ShowMenu;
static KeyManager* GetSingl... |
/* +---------------------------------------------------------------------------+
| Mobile Robot Programming Toolkit (MRPT) |
| http://www.mrpt.org/ |
| ... |
/*
* Gamedev Framework (gf)
* Copyright (C) 2016-2021 Julien Bernard
*
* 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... |
// KRATOS ___| | | |
// \___ \ __| __| | | __| __| | | __| _` | |
// | | | | | ( | | | | ( | |
// _____/ \__|_| \__,_|\___|\__|\__,_|_| \__,_|_| MECHANICS
//
// License: BSD License
// license: structural_mechanics_applic... |
/**********************************************************************/
/* ____ ____ */
/* / /\/ / */
/* /___/ \ / */
/* \ \ \/ ... |
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*
* This file is part of xlslib -- A multiplatform, C/C++ library
* for dynamic generation of Excel(TM) files.
*
* Copyright 2010-2013 Ger Hobbelt All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or w... |
// Copyright (c) 2004-2012 Sergey Lyubka
//
// 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, pub... |
#ifndef DataFormats_L1Trigger_HGCalCluster_h
#define DataFormats_L1Trigger_HGCalCluster_h
#include "DataFormats/Common/interface/Ptr.h"
#include "DataFormats/L1Trigger/interface/BXVector.h"
#include "DataFormats/L1THGCal/interface/HGCalTriggerCell.h"
#include "DataFormats/L1THGCal/interface/HGCalClusterT.h"
namespac... |
// Copyright (c) 2009-2019 The Regents of the University of Michigan
// This file is part of the HOOMD-blue project, released under the BSD 3-Clause License.
#ifndef __PAIR_EVALUATOR_MOLIERE__
#define __PAIR_EVALUATOR_MOLIERE__
#ifndef NVCC
#include <string>
#endif
#include "hoomd/HOOMDMath.h"
/*! \file EvaluatorPa... |
/*
* Copyright 2004-2018 Cray Inc.
* Other additional copyright holders may be indicated within.
*
* The entirety of this work is 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
*
*... |
// Copyright (c) 2011-2013 The Carboncoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef COINCONTROLTREEWIDGET_H
#define COINCONTROLTREEWIDGET_H
#include <QKeyEvent>
#include <QTreeWidget>
class CoinCon... |
/******************************************************************************
* Copyright 2020 The Apollo 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
... |
/*
* Copyright (c) 2008, Willow Garage, 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 l... |
/*
* This header is generated by classdump-dyld 1.0
* on Saturday, June 1, 2019 at 6:46:03 PM Mountain Standard Time
* Operating System: Version 12.1.1 (Build 16C5050a)
* Image Source: /System/Library/PrivateFrameworks/AuthKitUI.framework/AuthKitUI
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elia... |
//===--- MetadataPath.h - Path for lazily finding type metadata -*- C++ -*-===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... |
/*******************************************************************************
System Tasks File
File Name:
tasks.c
Summary:
This file contains source code necessary to maintain system's polled tasks.
Description:
This file contains source code necessary to maintain system's polled tasks.
It... |
/*
* This header is generated by classdump-dyld 1.0
* on Saturday, June 1, 2019 at 6:51:31 PM Mountain Standard Time
* Operating System: Version 12.1.1 (Build 16C5050a)
* Image Source: /System/Library/PrivateFrameworks/NanoTimeKitCompanion.framework/NanoTimeKitCompanion
* classdump-dyld is licensed under GPLv3, Copyrig... |
// cell.h
//
#pragma once
#include "lograd.h"
#include "pin.h"
#include <vector>
using namespace std;
struct loss_pin_target{
output_pin *pin;
float target;
};
////////////////////////////////////////////////////////////////////////////
// CELL (BASE)
////////////////////////////////////////////////... |
// SPDX-License-Identifier: GPL-2.0+
/*
* Driver for USB Mass Storage compliant devices
* Unusual Devices File
*
* Current development and maintenance by:
* (c) 2000-2002 Matthew Dharm (mdharm-usb@one-eyed-alien.net)
*
* Initial work by:
* (c) 2000 Adam J. Richter (adam@yggdrasil.com), Yggdrasil Computing, ... |
/**
* @file Newton3Option.h
* @author F. Gratl
* @date 01/02/2019
*/
#pragma once
#include <set>
namespace autopas {
/**
* Possible choices for the particle data layout. Values consistent with bool.
*/
enum Newton3Option { disabled = 0, enabled = 1 };
/**
* Provides a way to iterate over the possible choices... |
// 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_EXTENSIONS_API_PROCESSES_PROCESSES_API_H__
#define CHROME_BROWSER_EXTENSIONS_API_PROCESSES_PROCESSES_API_H__
#include <vector>... |
/****************************************************************************
Copyright (c) 2014-2016 Chukong Technologies Inc.
Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associa... |
#ifndef PROJECT_HEADER_component337_17_H
#define PROJECT_HEADER_component337_17_H
int component337_17();
#endif // PROJECT_HEADER_component337_17_H |
// Greenplum Database
// Copyright (C) 2016 Pivotal Software, Inc.
#ifndef GPOPT_CHashedDistributions_H
#define GPOPT_CHashedDistributions_H
#include "gpopt/base/CDistributionSpec.h"
#include "gpopt/base/CDistributionSpecStrictHashed.h"
#include "gpos/memory/CMemoryPool.h"
#include "gpopt/base/CColRef.h"
namespace g... |
//------------------------------------------------------------------------------
// aeDict.h
//------------------------------------------------------------------------------
// Copyright (c) 2020 John Hughes
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and assoc... |
/*
* This file is part of the Bus Pirate project (http://code.google.com/p/the-bus-pirate/).
*
* Written and maintained by the Bus Pirate project.
*
* To the extent possible under law, the project has
* waived all copyright and related or neighboring rights to Bus Pirate. This
* work is published from United Sta... |
/*-
* Copyright (c) 2005 John Bicket
* 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... |
#include "types.h"
#include "defs.h"
#include "param.h"
#include "memlayout.h"
#include "mmu.h"
#include "x86.h"
#include "proc.h"
#include "spinlock.h"
struct {
struct spinlock lock;
struct proc proc[NPROC];
} ptable;
static struct proc *initproc;
int nextpid = 1;
extern void forkret(void);
extern void trapret(... |
#define DOWNLOAD "download"
#define UPLOAD "upload"
#define END_MARK "\r\n"
#define DEFAULT_MARK 'n'
#define DOWNLOAD_MARK 'd'
#define UPLOAD_MARK 'u'
#define FILESIZE_MARK 'f'
#define FILENAME_MARK 'k'
#define ENDF_MARK 'b'
#define MAX_BUFF 8192 |
#ifndef MESSAGE_PROCESSOR_H
#define MESSAGE_PROCESSOR_H
#include "Application.h"
#include <Message.h>
#include <Message_Queue.h>
extern int8_t Process_Incoming_Message (Message *message);
extern int8_t Process_Outgoing_Message (Message *message);
extern void Send_Acknowledgment (char *token, char *messageContent);
... |
//
// Created by vibhatha on 11/7/18.
//
#ifndef PSGDC_OPTARGS_H
#define PSGDC_OPTARGS_H
#include <iostream>
using namespace std;
class OptArgs {
private:
string dataset;
int features;
int trainingSamples;
int testingSamples;
double alpha;
bool isSplit = false;
double ratio = 0.80;
i... |
//
// Copyright (c) Samuel Défago. All rights reserved.
//
// License information is available from the LICENSE file.
//
#import <CoconutKit/CoconutKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface FooterView : HLSNibView
@property (nonatomic, weak, nullable) IBOutlet UILabel *label;
@end
NS_ASSUME_NONNULL_END |
#include "inc.h"
#include <assert.h>
#include <sys/exec.h>
#include <libexec.h>
#include <minix/param.h>
#include <machine/vmparam.h>
static int do_exec(int proc_e, char *exec, size_t exec_len, char *progname,
char *frame, int frame_len, vir_bytes ps_str);
static int exec_restart(int proc_e, int result, vir_bytes pc,... |
/*
+------------------------------------------------------------------------+
| Phalcon Framework |
+------------------------------------------------------------------------+
| Copyright (c) 2011-2014 Phalcon Team (http://www.phalconphp.com) |
+------... |
/*
* 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... |
#ifndef EXTRACTSLICEFROMIMAGE_H
#define EXTRACTSLICEFROMIMAGE_H
namespace ants
{
extern int ExtractSliceFromImage( std::vector<std::string>, // equivalent to argv of command line parameters to main()
std::ostream* out_stream // [optional] output stream to write
);... |
#if !defined(_RADIOLIB_SX1280_H)
#define _RADIOLIB_SX1280_H
#include "../../TypeDef.h"
#if !defined(RADIOLIB_EXCLUDE_SX128X)
#include "../../Module.h"
#include "SX128x.h"
#include "SX1281.h"
/*!
\class SX1280
\brief Derived class for %SX1280 modules.
*/
class SX1280: public SX1281 {
public:
/*!
\br... |
/**
* @file lv_test_list.h
*
*/
#ifndef LV_TEST_LIST_H
#define LV_TEST_LIST_H
#ifdef __cplusplus
extern "C" {
#endif
/*********************
* INCLUDES
*********************/
#include "../../../../lv_ex_conf.h"
#include "lvgl/lvgl.h"
#if USE_LV_LIST && USE_LV_TESTS
/*********************
* DEFINE... |
//
// MLCReshapeLayer.h
// MLCompute
//
// Copyright © 2019 Apple. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <MLCompute/MLCDefines.h>
#import <MLCompute/MLCTypes.h>
#import <MLCompute/MLCLayer.h>
@class MLCDevice;
@class MLCTensor;
NS_ASSUME_NONNULL_BEGIN
/*! @class MLCReshapeLayer
... |
/*
* libfdt - Flat Device Tree manipulation
* Copyright (C) 2012 David Gibson, IBM Corporation.
*
* libfdt is dual licensed: you can use it either under the terms of
* the GPL, or the BSD license, at your option.
*
* a) This library is free software; you can redistribute it and/or
* modify it under the ter... |
#include <include/SDL2/SDL_cpuinfo.h>
#include <celib/os/cpu.h>
int cpu_count() {
return SDL_GetCPUCount();
}
struct ce_os_cpu_a0 cpu_api = {
.count = cpu_count
};
struct ce_os_cpu_a0 *ce_os_cpu_a0 = &cpu_api; |
/* file: cosine_distance_types.h */
/*******************************************************************************
* Copyright 2014-2020 Intel Corporation
*
* 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 t... |
/*
* This header is generated by classdump-dyld 1.0
* on Sunday, September 27, 2020 at 11:42:26 AM Mountain Standard Time
* Operating System: Version 14.0 (Build 18A373)
* Image Source: /System/Library/PrivateFrameworks/ProactiveSupport.framework/ProactiveSupport
* classdump-dyld is licensed under GPLv3, Copyright © 20... |
#include <stdlib.h>
#include <stdio.h>
/*
fridge 0.0
Extract files from FRID archives (.DPK)
by hcs
*/
/*
32-bit, little endian
*/
int read32bit(char * buffer) {
unsigned char * buf = (unsigned char *)buffer;
return buf[0]|(buf[1]<<8)|(buf[2]<<16)|(buf[3]<<24);
}
int main(int argc, char ** argv) {
... |
//
// swypBonjourServiceListener.h
// swyp
//
// Created by Alexander List on 7/27/11.
// Copyright 2011 ExoMachina. Some rights reserved -- see included 'license' file.
//
#import <Foundation/Foundation.h>
#import "swypServerCandidate.h"
@class swypBonjourServiceListener;
@protocol swypBonjourServiceListenerDel... |
/**
* @copyright MIT License (c) 2020 Kushagra Agrawal and Kartik Venkat
* @file User.h
* @brief User Class implementation
* @author Kartik Venkat and Kushagra Agrawal
*/
#pragma once
#include <iostream>
#include <string>
#include <vector>
#include <opencv2/opencv.hpp>
/**
* @brief User class is responsible w... |
/*
* "$Id$"
*
* SGI image file format library routines for CUPS.
*
* Copyright 2007-2011 by Apple Inc.
* Copyright 1993-2005 by Easy Software Products.
*
* These coded instructions, statements, and computer programs are the
* property of Apple Inc. and are protected by Federal copyright
* law. Di... |
/*
* This header is generated by classdump-dyld 1.5
* on Wednesday, April 28, 2021 at 9:08:00 PM Mountain Standard Time
* Operating System: Version 14.5 (Build 18L204)
* Image Source: /System/Library/PrivateFrameworks/GameCenter... |
/**
******************************************************************************
* @file HomeKitPairList.h
* @author William Xu
* @version V1.0.0
* @date 05-Oct-2014
* @brief
******************************************************************************
* UNPUBLISHED PROPRIETARY SOURCE CODE
* Copyri... |
/*
* Copyright (c) 2014 Jerry Lundström <lundstrom.jerry@gmail.com>
* Copyright (c) 2014 .SE (The Internet Infrastructure Foundation).
* Copyright (c) 2014 OpenDNSSEC AB (svb)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that... |
// 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... |
/* RISC-V kernel boot stage */
#include <context.h>
#include <os/elf.h>
#include <pgtable.h>
#include <sbi.h>
typedef void (*kernel_entry_t)(unsigned long, uintptr_t);
extern unsigned char _elf_main[];
extern unsigned _length_main;
/********* setup memory mapping ***********/
uintptr_t alloc_page()
{
static uint... |
#ifndef FRAMES_H
#define FRAMES_H
#include <stddef.h>
#include "id3v2.h"
#include "u32_char.h"
int get_frame_data(const struct id3v2_tag *tag,
const struct id3v2_frame *frame,
u32_char *ubuf, size_t usize);
#endif /* FRAMES_H */ |
//BEGIN GENERATED CODE
//Cluster: CLASSIFIER_LINEAR
//NonCoherentDMA
#define HEAD_DMA_Flags 0x10020000
#define HEAD_DMA_RdAddr 0x10020001
#define HEAD_DMA_WrAddr 0x10020009
#define HEAD_DMA_CopyLen 0x10020011
//StreamDMA
#define HEAD_STREAM_DMA0_Flags 0x10020040
#define HEAD_STREAM_DMA0_RdAddr 0x10020044
#define HEAD_S... |
/*
* This header is generated by classdump-dyld 1.0
* on Sunday, September 27, 2020 at 11:41:02 AM Mountain Standard Time
* Operating System: Version 14.0 (Build 18A373)
* Image Source: /System/Library/PrivateFrameworks/ShareSheet.framework/ShareSheet
* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by E... |
//
// FLAnimatedImage.h
// Flipboard
//
// Created by Raphael Schaad on 7/8/13.
// Copyright (c) Flipboard. All rights reserved.
//
#import <UIKit/UIKit.h>
// Allow user classes conveniently just importing one header.
#import "FLAnimatedImageView.h"
#ifndef NS_DESIGNATED_INITIALIZER
#if __has_attribute(obj... |
/*=========================================================================
*
* Copyright Insight Software Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* h... |
/////////////////////////////////////////////////////////////////////////////
//
// File : qtc_hs_QUndoGroup_h.h
// Copyright : (c) David Harley 2010
// Project : qtHaskell
// Version : 1.1.4
// Modified : 2010-09-02 17:02:42
//
// Warning : this file is machine gen... |
/*
* Copyright (c) 2010 The WebM 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 contributin... |
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef DW_HDMI_AUDIO_H
#define DW_HDMI_AUDIO_H
struct dw_hdmi;
struct dw_hdmi_audio_data {
phys_addr_t phys;
void __iomem *base;
int irq;
struct dw_hdmi *hdmi;
u8 *(*get_eld)(struct dw_hdmi *hdmi);
};
struct dw_hdmi_i2s_audio_data {
struct dw_hdmi *hdmi;
void (*write)(... |
/* $NetBSD: map.c,v 1.51 2016/05/09 21:46:56 christos Exp $ */
/*-
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* Christos Zoulas of Cornell University.
*
* Redistribution and use in source and b... |
#pragma once
#include "QSkiaOpenGLWindow.h"
#include "SampleRender.h"
class SkiaGLWindow : public QSkiaOpenGLWindow {
Q_OBJECT
public:
virtual void draw(SkCanvas* canvas, int elapsed = 16) override
{
m_renderer.draw(canvas, elapsed, this->width(), this->height());
}
private:
SampleRender m_... |
/*
* Copyright 2018-2022 Redis Labs Ltd. and Contributors
*
* This file is available under the Redis Labs Source Available License Agreement
*/
#include "../algebraic_expression.h"
#include "utils.h"
#include "../../RG.h"
#include "../../util/rmalloc.h"
//---------------------------------------------------------------... |
// SPDX-License-Identifier: GPL-2.0
/* Copyright(c) 2018 Intel Corporation. */
#include <linux/bpf_trace.h>
#include <net/xdp_sock_drv.h>
#include <net/xdp.h>
#include "ixgbe.h"
#include "ixgbe_txrx_common.h"
struct xsk_buff_pool *ixgbe_xsk_pool(struct ixgbe_adapter *adapter,
struct ixgbe_ring *ring)
{
boo... |
#import <Foundation/Foundation.h>
/*
* Braze Public API: ABKTwitterUser
*/
NS_ASSUME_NONNULL_BEGIN
@interface ABKTwitterUser : NSObject
/*!
* The value returned from Twitter's Users API with key "description". Please refer to
* https://dev.twitter.com/overview/api/users for more information.
*/
@property (copy, ... |
/***************************************************************************//**
* @file
* @brief EFR32MG13P_CMU register and bit field definitions
* @version 5.8.0
*******************************************************************************
* # License
* <b>Copyright 2019 Silicon Laboratories Inc. www.silabs.... |
/******************************************************************************
*
* Copyright (C) 2017 Xilinx, Inc. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software wit... |
/*
* Copyright (c) 1991 Michael Landy
*
* Disclaimer: No guarantees of performance accompany this software,
* nor is any responsibility assumed on the part of the authors. All the
* software has been tested extensively and every effort has been made to
* insure its reliability.
*/
/*
* calcwarp.c - generate ... |
/*
The MIT License
Copyright (c) 2012 by Jorrit Tyberghein
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... |
#include "j_common.h"
#include <git2.h>
#include <jni.h>
#ifndef __GIT24J_TAG_H__
#define __GIT24J_TAG_H__
#ifdef __cplusplus
extern "C"
{
#endif
/** int git_tag_lookup_prefix(git_tag **out, git_repository *repo, const git_oid *id, size_t len); */
/** void git_tag_free(git_tag *tag); */
/* JNIEXPORT jint J... |
// 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 SRC_LIB_INSPECT_DEPRECATED_INSPECT_H_
#define SRC_LIB_INSPECT_DEPRECATED_INSPECT_H_
#include <lib/fit/defer.h>
#include <lib/fit/variant.h>
#inclu... |
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_SHEET_CONTROLLER_H_
#define CHROME_BROWSER_UI_VIEWS_PAYMENTS_PAYMENT_REQUEST_SHEET_CONTROLLER_H_
... |
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "LandscapeGrassType.generated.h"
USTRUCT()
struct FGrassVariety
{
GENERATED_USTRUCT_BODY()
UPROPERTY(EditAnywhere, Category=Grass)
class UStaticMesh* GrassMesh;
/* Instances per 10 square meters. */
UPROPERTY(EditAnywhere, Cate... |
//
// Created by denker on 5/15/21.
//
#ifndef AVP64_AARCH64_REGS_H
#define AVP64_AARCH64_REGS_H
#include "vcml.h"
#include <string.h>
#include "/scratch/denker/projects/avp64/deps/ocx-qemu-arm/unicorn/include/unicorn/arm.h"
#include "/scratch/denker/projects/avp64/deps/ocx-qemu-arm/unicorn/include/unicorn/arm64.h"
... |
#include <os.h>
#include <os_io_seproxyhal.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include "accountSenderView.h"
#include "base58check.h"
#include "cx.h"
#include "menu.h"
#include "responseCodes.h"
#include "sign.h"
#include "util.h"
static signCredentialDeploymentContext_t *ctx = &global.sign... |
/*
Test Whiskers with LEDs.c
Display whisker states in terminal. 1 = not pressed, 0 = pressed.
http://learn.parallax.com/activitybot/add-whisker-indicator-lights
*/
#include "simpletools.h" // Include simpletools header
int main() // main function
{
... |
#include "display.h"
#include "ports.h"
#include <stdint.h>
#include "../kernel/mem.h"
#include "../kernel/util.h"
void set_cursor(int offset) {
offset /= 2;
port_byte_out(REG_SCREEN_CTRL, 14);
port_byte_out(REG_SCREEN_DATA, (unsigned char) (offset >> 8));
port_byte_out(REG_SCREEN_CTRL, 15);
port_by... |
#include "moduleBase/IOBase.h"
#include <QString>
#include <QFile>
class QDomElement;
class QDomDocument;
namespace ConfigOption
{
class GeometryConfig;
class GlobalConfig;
class MeshConfig;
class PostConfig;
class ConfigDataBase;
class GlobalConfigReader
{
public:
GlobalConfigReader(QString filename, Conf... |
/*
* Copyright (c) 2017 Linaro Limited.
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <kernel.h>
#include <device.h>
#include <init.h>
#include <drivers/pinmux.h>
#include <sys/sys_io.h>
#include <pinmux/stm32/pinmux_stm32.h>
/* pin assignments for 96boards Neonkey board */
static const struct pin_config p... |
/*
* The MIT License (MIT)
*
* Copyright (c) [2015] [Marco Russi]
*
* 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 u... |
//===-- DWARFBaseDIE.h -----------------------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------... |
/*
* Copyright 1998 dirk116, dirk116@wallace.free.de
* Copyright 2003 Michael Pfeiffer
* All rights reserved. Distributed under the terms of the MIT License.
*/
#ifndef BARBERPOLE_H_
#define BARBERPOLE_H_
#include <View.h>
enum {
BARBERPOLE_FROM_RIGHT = 0,
BARBERPOLE_FROM_LEFT
};
enum {
BARBERPOLE_SIMPLE = 0... |
#include <u.h>
#include <libc.h>
#include <draw.h>
void
_setdrawop(Display *d, Drawop op)
{
uchar *a;
if(op != SoverD){
a = bufimage(d, 1+1);
if(a == 0)
return;
a[0] = 'O';
a[1] = op;
}
}
static void
draw1(Image *dst, Rectangle *r, Image *src, Point *p0, Image *mask, Point *p1, Drawop op)
{
uchar *a;
... |
// Copyright 2015 Google 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 applicable... |
/*
* Migrated to Discover: Ta Quang Trung
* Date: Nov 16, 2020
*/
#include "discover.h"
#include "stdlib.h"
void foo(int**, int*);
main(){
int **x, *y;
int *c, *d, e, f;
if(x)
{ x = &c; y = &e; }
else
{ x = &d; y = &f; }
foo(x,y);
__assert_may_alias(c, &e);
__assert_may_alias(d, &f);
__asse... |
//
// RCCoolSitesModel.h
// JLRubyChina
//
// Created by jimneylee on 13-12-12.
// Copyright (c) 2013年 jimneylee. All rights reserved.
//
@interface RCTopMembersModel : NIMutableTableViewModel
@property (nonatomic, strong) NSMutableArray* topMembersArray;
@property (nonatomic, assign) BOOL isLoading;
- (void)loa... |
// RUN: %clang_cc1 -std=c2x -ast-dump -Wno-unused %s | FileCheck --strict-whitespace %s
// CHECK: FunctionDecl 0x{{[^ ]*}} <{{.*}}:[[@LINE+1]]:1, line:{{[0-9]*}}:1> line:[[@LINE+1]]:6 func 'void (void)'
void func(void) {
// Ensure that we calculate the correct type from the literal suffix.
// Note: 0wb should cre... |
/*
* Copyright (c) 2006-2018, Synwit Technology Co.,Ltd.
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2018-12-10 Zohar_Lee first version
*/
#ifndef DRV_RTC_H__
#define DRV_RTC_H__
int rt_hw_rtc_init(void);
#endif |
/*******************************************************************************
*
* MODULE: type.c
*
********************************************************************************
*
* DESCRIPTION: C::B::C type names
*
********************************************************************************
*
* Copyright (c) ... |
/****************************************************************************
*
* ftrender.h
*
* FreeType renderer modules public interface (specification).
*
* Copyright (C) 1996-2020 by
* David Turner, Robert Wilhelm, and Werner Lemberg.
*
* This file is part of the FreeType project, and may only be used,
... |
/*********************************************************************
*
* $Id: yocto_pwmpowersource.h 28748 2017-10-03 08:23:39Z seb $
*
* Declares yFindPwmPowerSource(), the high-level API for PwmPowerSource functions
*
* - - - - - - - - - License information: - - - - - - - - -
*
* Copyright (C) 2011 and bey... |
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include "list.h"
#include "tree.h"
#define MAX_BYTES 256
void init_freq_array(uint32_t *freq){
for(uint16_t i = 0; i < MAX_BYTES; i++)
freq[i] = 0;
}
void calc_bytes_frequency_in_the_file(uint32_t *freq, FILE *file){
while(1){
uint8_t buffer;
frea... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.