text stringlengths 4 6.14k |
|---|
/*
* Copyright (c) 2012, The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
*
* 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 a... |
/*
* MPLS GSO Support
*
* Authors: Simon Horman (horms@verge.net.au)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version
* 2 of the License, or (at your option) any later ve... |
// SPDX-License-Identifier: GPL-2.0
/* Copyright(c) 2009-2012 Realtek Corporation.*/
#include "../wifi.h"
#include "../usb.h"
#include "reg.h"
#include "led.h"
static void _rtl92cu_init_led(struct ieee80211_hw *hw,
struct rtl_led *pled, enum rtl_led_pin ledpin)
{
pled->hw = hw;
pled->ledpin = ledpin;
ple... |
// Copyright 2013 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 CONTENT_SHELL_APP_PATHS_MAC_H_
#define CONTENT_SHELL_APP_PATHS_MAC_H_
namespace base {
class FilePath;
}
// Sets up base::mac::FrameworkBundle.
... |
#ifndef HEADER_CURL_LDAP_H
#define HEADER_CURL_LDAP_H
/***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* | (__| ... |
/*
* Copyright 1992, Linus Torvalds.
* Copyright 2010 Tilera Corporation. 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.
*
* This program is di... |
/* SPDX-License-Identifier: GPL-2.0 */
/* $Id: entity.h,v 1.4 2004/03/21 17:26:01 armin Exp $ */
#ifndef __DIVAS_USER_MODE_IDI_ENTITY__
#define __DIVAS_USER_MODE_IDI_ENTITY__
#define DIVA_UM_IDI_RC_PENDING 0x00000001
#define DIVA_UM_IDI_REMOVE_PENDING 0x00000002
#define DIVA_UM_IDI_TX_FLOW_CONTROL 0x00000004
#d... |
/*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Copyright (C) 2013 by John Crispin <john@phrozen.org>
*/
#include <linux/clockchips.h>
#include <linux/clocksource.h>
#include <linux/in... |
/*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version
* 2 of the License, or (at your option) any later version.
*/
#ifndef _ASM_GENERIC_PCI_BRIDGE_H
#define _ASM_GENERIC_PCI_BR... |
/*
* LCD panel driver for Sharp LS037V7DW01
*
* Copyright (C) 2008 Nokia Corporation
* Author: Tomi Valkeinen <tomi.valkeinen@nokia.com>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published by
* the Free Software F... |
//******************************************************************************
//
// Copyright (c) 2015 Microsoft Corporation. All rights reserved.
//
// This code is licensed under the MIT License (MIT).
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LI... |
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _ASM_POWERPC_SECTIONS_H
#define _ASM_POWERPC_SECTIONS_H
#ifdef __KERNEL__
#include <linux/elf.h>
#include <linux/uaccess.h>
#define arch_is_kernel_initmem_freed arch_is_kernel_initmem_freed
#include <asm-generic/sections.h>
extern bool init_mem_is_free;
static inline ... |
/*
* Backlight Driver for HP Jornada 680
*
* Copyright (c) 2005 Andriy Skulysh
*
* Based on Sharp's Corgi Backlight Driver
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*/
#include... |
/*
* Copyright (C) 2007
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*
* See file CREDITS for list of people who contributed to this
* project.
*
* 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 S... |
/* drivers/misc/lowmemorykiller.c
*
* The lowmemorykiller driver lets user-space specify a set of memory thresholds
* where processes with a range of oom_score_adj values will get killed. Specify
* the minimum oom_score_adj values in
* /sys/module/lowmemorykiller/parameters/adj and the number of free pages in
* /... |
/* linux/arch/arm/mach-s5p64x0/include/mach/s5p64x0-clock.h
*
* Copyright (c) 2010 Samsung Electronics Co., Ltd.
* http://www.samsung.com
*
* Header file for s5p64x0 clock support
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License ver... |
/* { dg-do preprocess } */
/* { dg-options "-P -dU" } */
/* { dg-final { scan-file-not cmdlne-dU-23.i "__FILE__" } } */
#ifdef __FILE__
#endif
|
/* Alpha VMS external format of Extended Global Symbol Directory.
Copyright 2010 Free Software Foundation, Inc.
Written by Tristan Gingold <gingold@adacore.com>, AdaCore.
This file is part of BFD, the Binary File Descriptor library.
This program is free software; you can redistribute it and/or modify
... |
#include <linux/i2c.h>
#include <linux/sii8240.h>
#include "../../video/edid.h"
struct sii8240_platform_data *platform_init_data(struct i2c_client *client);
/*
int platform_ap_hdmi_hdcp_auth(struct sii8240_data *sii8240);
void platform_mhl_hpd_handler(bool value);
bool platform_hdmi_hpd_status(void);
*/
|
/*
* idprom.c: Routines to load the idprom into kernel addresses and
* interpret the data contained within.
*
* Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu)
* Sun3/3x models added by David Monro (davidm@psrg.cs.usyd.edu.au)
*/
#include <linux/module.h>
#include <linux/kernel.h>
#include ... |
/*
* Copyright (C) 2010 Francisco Jerez.
* All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use,... |
/* Copyright (c) 2011-2015, 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... |
#ifndef __OPENCV_OLD_CXMISC_H__
#define __OPENCV_OLD_CXMISC_H__
#include "opencv2/core/internal.hpp"
#endif
|
// SPDX-License-Identifier: GPL-2.0
/*
* Copyright IBM Corp. 2001,2008
*
* This file contains the IRQ specific code for hvc_console
*
*/
#include <linux/interrupt.h>
#include "hvc_console.h"
static irqreturn_t hvc_handle_interrupt(int irq, void *dev_instance)
{
/* if hvc_poll request a repoll, then kick the hv... |
/*
* rsrc_mgr.c -- Resource management routines and/or wrappers
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* The initial developer of the original code is David A. Hind... |
//
// DDNSDictionary+Safe.m
// IOSDuoduo
//
// Created by 东邪 on 14-5-29.
// Copyright (c) 2014年 dujia. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface NSDictionary(Safe)
- (id)safeObjectForKey:(id)key;
- (int)intValueForKey:(id)key;
- (double)doubleValueForKey:(id)key;
- (NSString*)stringVal... |
#include<gtk/gtk.h>
#include<glade/glade.h>
void
yes_button_enter_cb(GtkWidget *widget)
{
gtk_button_set_label(GTK_BUTTON(yes_button), "Zebbi 3aleik!");
gtk_widget_set_sensitive(GTK_BUTTON(yes_button), FALSE);
}
void
yes_button_leave_cb(GtkWidget *widget)
{
gtk_button_set_label(GTK_BUTTON(yes_button), "Of Course!"... |
#pragma once
#include <QMainWindow>
#include <QPalette>
#include <QSplitter>
#include <QStackedWidget>
#include <QTabBar>
#include "contextmenu.h"
#include "errorwidget.h"
#include "neovimconnector.h"
#include "scrollbar.h"
#include "shell.h"
#include "tabline.h"
#include "treeview.h"
namespace NeovimQt {
class Mai... |
/* ISC license. */
#include <s6-dns/s6dns-domain.h>
unsigned int s6dns_domain_encodelist (s6dns_domain_t *list, unsigned int n)
{
unsigned int i = 0 ;
for (; i < n ; i++)
if (!s6dns_domain_encode(list + i)) break ;
return i ;
}
|
//
// Copyright (c) 2014, Andy Best
//
// 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 permission notice appear in all copies.
//
// THE SOFTWARE IS PROVIDED "AS IS" AND THE ... |
#include <assert.h>
#include <errno.h>
#include <pthread.h>
#include <stdbool.h>
#include <stdlib.h>
#include <sysexits.h>
#include <bsd/bsd.h>
#include "array.h"
#include "dir.h"
#include "dir-print.h"
#include "dir-parse.h"
#include "dir-diff.h"
#include "net.h"
#include "util.h"
int main(const int argc, char **argv... |
#ifndef CARP_INSTRUCTIONS_H
#define CARP_INSTRUCTIONS_H
/* make instruction numbers easier on the eyes */
typedef enum {
CARP_INSTR_UNDEF = -1,
CARP_INSTR_HALT ,
CARP_INSTR_NOP ,
CARP_INSTR_LOADR,
CARP_INSTR_LOAD ,
CARP_INSTR_STORE,
CARP_INSTR_MOV ,
CARP_INSTR_ADD ,
CARP_INSTR_SUB ,
CARP_INSTR_... |
/* See LICENSE file for copyright and license details. */
#include "key.h"
static void key_handleplay(struct info *, int, wint_t);
static void key_handlesearch(struct info *, int, wint_t);
static void key_handleselect(struct info *, int, wint_t);
static void key_handlestart(struct info *, int, wint_t);
void
key_hand... |
/*
* Copyright (c) 2008 James Molloy, Jörg Pfähler, Matthew Iselin
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "A... |
#include "../mk.h"
typedef struct _mk_writer_context {
uint8_t *buffer;
uv_fs_t *write_req;
} mk_writer_context;
static mk_page *mk_get_writable_page(mk_collection *collection)
{
if (collection->writable_page == NULL) {
#if MK_DEBUG
fprintf(stderr, "Debug: Allocating new page for collection %s\n", collection-... |
//
// UIViewController+DimBankground.h
// DimBackgroundOC
//
// Created by GK on 2016/11/16.
// Copyright © 2016年 GK. All rights reserved.
//
#import <UIKit/UIKit.h>
enum Direction {
kIn , kOut
};
@interface UIViewController (DimBankground)
- (void)dim:(enum Direction) direction color:(UIColor *)color alpha... |
//
// HDRouter.h
// Pods
//
// Created by mrdaios on 15/8/17.
//
//
#import <Foundation/Foundation.h>
@protocol HDViewProtocol;
@protocol HDViewModelProtocol;
@interface HDRouter : NSObject
/**
* ViewModel <=> ViewController
*/
@property (nonatomic, strong, readonly) NSMutableDictionary *viewModelViewMappings;... |
#include <stdio.h>
#include <rslib.h>
#include <string.h>
#define TARGET "Reed Solomon Tests"
#include <test.h>
static struct rs_control *rs_decoder;
int main()
{
INIT_TEST();
rs_decoder = init_rs (10, 0x409, 0, 1, 6);
int blocks = 32;
unsigned char data8[blocks];
char *parity_data;
uin... |
//
// BFDisplayEventProtocol.h
// HomePage https://github.com/wans3112/BFDisplayEvent
//
// Created by wans on 2017/4/12.
// Copyright © 2017年 wans,www.wans3112.cn All rights reserved.
//
#ifndef BFDisplayEventProtocol_h
#define BFDisplayEventProtocol_h
#import "BFEventModel.h"
/**
参数传递block
@param eventModel... |
// To check if a library is compiled with CocoaPods you
// can use the `COCOAPODS` macro definition which is
// defined in the xcconfigs so it is available in
// headers also when they are imported in the client
// project.
// AFNetworking
#define COCOAPODS_POD_AVAILABLE_AFNetworking
#define COCOAPODS_VERSION_MAJOR_... |
//
// YYBBConfig.h
// YYBBSDK
//
// Created by Wang_Ruzhou on 2018/9/10.
//
#import <Foundation/Foundation.h>
#import <YYModel/NSObject+YYModel.h>
@interface YYBBURL : NSObject
@property (nonatomic, copy) NSString *afActivate;
@property (nonatomic, copy) NSString *firebaseInitialize;
@end
@interface YYBBConf... |
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "MMUIViewController.h"
@interface MMWebLoginController : MMUIViewController
{
}
- (void)viewDidUnload;
- (void)viewDidLoad;
- (id)init;
- (void)beginScan;
- (void)onBack;
... |
#ifndef IMAPC_STORAGE_H
#define IMAPC_STORAGE_H
#include "index-storage.h"
#include "imapc-settings.h"
#define IMAPC_STORAGE_NAME "imapc"
#define IMAPC_LIST_ESCAPE_CHAR '%'
#define IMAPC_LIST_BROKEN_CHAR '~'
struct imap_arg;
struct imapc_untagged_reply;
struct imapc_command_reply;
struct imapc_mailbox;
struct imapc_... |
#ifndef MONGOMANAGER_H
#define MONGOMANAGER_H
#include <bsoncxx/builder/stream/document.hpp>
#include <bsoncxx/json.hpp>
#include <bsoncxx/exception/exception.hpp>
#include <mongocxx/exception/bulk_write_exception.hpp>
#include <mongocxx/client.hpp>
#include <mongocxx/instance.hpp>
#include <iostream>
#include <chro... |
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
private slots:
void on_calcButton_clicked();
void on_clearButton_clicked();
... |
#pragma once
#include <vector>
#include <unordered_map>
#include <memory>
#include "Utils/StringId.h"
#include "Utils/Types.h"
#include "Math/Matrix.h"
#include "ObjectComponent.h"
namespace oakvr
{
class Object;
using ObjectSharedPointer = sp < Object > ;
using ObjectUniquePointer = up < Object > ;
using Objec... |
/*
* Generated by class-dump 3.3.4 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard.
*/
#import "NSObject.h"
@class PBCodable;
@interface AWDMetricContainer : NSObject
{
PBCodable *_metric;
unsigned int _metricId;
}
@property(readonly, nonatomic) unsigned... |
#include <signal.h>
#include <unistd.h>
#include <stdio.h>
int num_int = 0;
int num_tstp = 0;
int total =0;
void handler_sigint(){
num_int ++;
total++;
}
void handler_sigtstp(){
num_tstp ++;
total++;
}
int main(int argc, char** argv){
struct sigaction act_int, act_tstp;
act_int.sa_handler = handler_sigint;
si... |
// To check if a library is compiled with CocoaPods you
// can use the `COCOAPODS` macro definition which is
// defined in the xcconfigs so it is available in
// headers also when they are imported in the client
// project.
// Expecta
#define COCOAPODS_POD_AVAILABLE_Expecta
#define COCOAPODS_VERSION_MAJOR_Expecta 0
... |
/* Copyright 2013 Google Inc. All Rights Reserved.
Distributed under MIT license.
See file LICENSE for detail or copy at https://opensource.org/licenses/MIT
*/
/* API for Brotli decompression */
#ifndef BROTLI_DEC_DECODE_H_
#define BROTLI_DEC_DECODE_H_
#include "./state.h"
#include "./types.h"
#if defined(__... |
/* $Id: volume_wrap.h 454 2010-09-08 21:40:28Z anders.e.e.wallin $
*
* Copyright 2010 Anders Wallin (anders.e.e.wallin "at" gmail.com)
*
* This file is part of OpenCAMlib.
*
* OpenCAMlib is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as publ... |
#include "utils.h"
// void timer_config(void){
// }
void delay(uint16_t period_ms){
struct tcc_config tcc_cfg;
tcc_get_config_defaults(&tcc_cfg, TCC1);
tcc_cfg.counter.clock_prescaler = TCC_CLOCK_PRESCALER_DIV8; // 8MHz
tcc_init(&tcc_instance, TCC1, &tcc_cfg);
tcc_enable(&tcc_instance);
... |
/// =======================================================================
/// Class Definitions {messageName}
/// =======================================================================
class {messageName}Message : public ProtoIO
{{
public:
{messageName}Message();
~{messageNam... |
/* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE78_OS_Command_Injection__wchar_t_file_w32_execv_22a.c
Label Definition File: CWE78_OS_Command_Injection.strings.label.xml
Template File: sources-sink-22a.tmpl.c
*/
/*
* @description
* CWE: 78 OS Command Injection
* BadSource: file Read input from a file
* Go... |
//
// ProductFilterResultTableAdapter.h
// TianJiCloud
//
// Created by 朱鹏 on 2017/8/10.
// Copyright © 2017年 TianJiMoney. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "ProductFilterResultConfigurateProtocol.h"
@interface ProductFilterResultTableAdapter : NSObject<UITableViewDataSource,UITab... |
/*
* Copyright (C) 2015 Francois Doray <francois.doray@gmail.com>
*
* 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; only
* version 2.1 of the License.
*
* This library is distribu... |
#include <stdlib.h>
#include <stdio.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <netinet/in.h>
#include <signal.h>
#include <string.h>
#include <errno.h>
#include <fcntl.h>
#include <arpa/inet.h>
#define IP_ADD "153.19.1.202"
int main()
{
//definitions
int sd, size, bits;
int num = 0;
struct soc... |
// Copyright (c) 2011-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_QT_SPLASHSCREEN_H
#define BITCOIN_QT_SPLASHSCREEN_H
#include <QSplashScreen>
class NetworkStyle;
... |
#include "minunit.h"
#include <terror/instruction.h>
#include <terror/vmmethod.h>
#include <assert.h>
static VMMethod *method = NULL;
static long *literals = NULL;
static Instruction **instructions = NULL;
void setup()
{
literals = calloc(3, sizeof(long));
literals[0] = (long)"123";
literals[1] = (long)123;
l... |
/*
multiboot.h : Stuff for multiboot.
(C)2012-2013 Marisa Kirisame, UnSX Team.
Part of AliceOS, the Alice Operating System.
Released under the MIT License.
*/
/* defines */
#define MULTIBOOT_MAGIC 0x1BADB002
#define MULTIBOOT_EAX_MAGIC 0x2BADB002
#define MULTIBOOT_FLAG_MEM 0x001
#define MULTIBOOT_FLAG... |
//
// Header.h
// ZgChess
//
// Created by 谢伟健 on 15-2-15.
// Copyright (c) 2015年 wk. All rights reserved.
//
// Github: https://github.com/WelkinXie/FiveInARow
//
#ifndef ZgChess_Header_h
#define ZgChess_Header_h
#define rgba(r, g, b, a) [SKColor colorWithRed:r/255.0f green:g/255.0f blue:b/255.0f alpha:a]
#def... |
// Copyright 2011-2018 Nicholas J. Kain <njkain at gmail dot com>
// SPDX-License-Identifier: MIT
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <string.h>
#include <stdint.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <arpa/inet.h>
#include <errno.h>
#include <limits.... |
#ifndef __NEURAL_NETWORK__H
#define __NEURAL_NETWORK__H
#include <string>
#include <fstream>
#include <cassert>
#include "layer.h"
#include "input_layer.h"
#include "hidden_layer.h"
#include "output_layer.h"
#include "weight_matrix.h"
#include "helper.h"
class NeuralNetwork {
private:
int n_outputs;
InputLayer ... |
// To check if a library is compiled with CocoaPods you
// can use the `COCOAPODS` macro definition which is
// defined in the xcconfigs so it is available in
// headers also when they are imported in the client
// project.
// WaitBlock
#define COCOAPODS_POD_AVAILABLE_WaitBlock
#define COCOAPODS_VERSION_MAJOR_WaitBl... |
/*
* AVFRAMEINFO.h
* Define AVFRAME Info
* Created on:2013-08-12
* Last update on:2013-10-07
* Author: UBIA
*
*
*/
#ifndef _AVFRAME_INFO_H_
#define _AVFRAME_INFO_H_
/* CODEC ID */
typedef enum
{
MEDIA_CODEC_UNKNOWN = 0x00,
MEDIA_CODEC_VIDEO_MPEG4 = 0x4C,
MEDIA_CODEC_VIDEO_H263 = 0x4D,
MEDIA_COD... |
/**
* @file
* @brief Contains the TPZGenPartialGrid class which implements the generation of a geometric grid.
*/
//
// Author: MISAEL LUIS SANTANA MANDUJANO/Philippe Devloo
//
// File: tpargrid.h
//
// Class: tparrid
//
// Obs.: Gera uma malha retangular:
//
// Versao: 06 / 1996.
//
#ifndef _TPZPARGRIDHH_
#d... |
#pragma once
#include <string>
#include <gloperate/gloperate_api.h>
#include <signalzeug/Signal.h>
namespace gloperate
{
class AbstractData;
class AbstractStage;
class GLOPERATE_API AbstractInputSlot
{
friend class AbstractStage;
public:
AbstractInputSlot(const std::string & name = "");
virtual ~A... |
/*
* 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
namespace facebook {
namespace memcache {
namespace mcrouter {
/**
* This function will issue a metaget to the ro... |
// This file is part of the cube - ica/cuda - software package
// Copyright © 2010-2013 Christian Kellner <kellner@bio.lmu.de>
// License: MIT (see LICENSE.BSD-MIT)
#ifndef CUBE_BLAS_H
#define CUBE_BLAS_H
#ifdef __cplusplus
extern "C" {
#endif
#include "cube.h"
enum _cube_blas_op_t {
CUBE_BLAS_OP_N = 0,
CUBE_BL... |
//
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 30 2020 21:18:12).
//
// Copyright (C) 1997-2019 Steve Nygard.
//
#import <AppKit/NSTableCellView.h>
@class MISSING_TYPE, NSImageView, NSTextField;
@interface _TtC6IDEKit32IDEAccountPrefsPaneTableCellView : NSTableCellView
{
MISSING_TYPE... |
//-----------------------------------------------------------------------------
// Copyright (c) 2015 Andrew Mac
//
// 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, inc... |
/*
*
*
*
*/
#ifndef RENDER_H
#define RENDER_H
void render_init ();
void render_pixel_delay (uint8_t pixel_delay);
void render_phrase_delay (uint8_t phrase_delay);
void render_stable_delay (uint8_t delay);
#endif
|
// Testable main
#ifndef TEST
#define MAIN main
#else
#define MAIN testable_main
#endif
int MAIN(void) {
return 0;
} |
//
// RMNofications.h
//
// Copyright (c) 2008-2009, Route-Me Contributors
// 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 copyrig... |
//
// DEMOContainerViewController.h
// fluidArchitecture
//
// Created by Moritz Ellerbrock on 26.09.17.
// Copyright © 2017 fluidmobile GmbH. All rights reserved.
//
#import "DEMOViewController.h"
#import "DEMOContainerContracts.h"
@interface DEMOContainerViewController : DEMOViewController <DEMOContainerViewInp... |
#pragma once
#include "enum_accessqualifier.h"
#include "enum_addressingmodel.h"
#include "enum_builtin.h"
#include "enum_decoration.h"
#include "enum_dimensionality.h"
#include "enum_executionmode.h"
#include "enum_executionmodel.h"
#include "enum_executionscope.h"
#include "enum_fpfastmathmode.h"
#include "enum_fpro... |
#include "stdio.h"
int main(int argc, char *argv[]) {
char numeroStr[4];
char potenciaStr[4];
int numero, potencia, resultado;
resultado = 1;
printf("Introduzca un numero: ");
fgets(numeroStr, sizeof(numeroStr), stdin):
printf("Introduzca una potencia: ");
fgets(potenciaStr, sizeof(... |
//
// PLKThermometerBottomLayer.h
// Dress
//
// Created by Sean Pilkenton on 7/22/13.
// Copyright (c) 2013 Patricio Enterprises. All rights reserved.
//
#import <QuartzCore/QuartzCore.h>
@interface SPThermometerBottomLayer : CALayer
+ (id)layerWithRadius:(CGFloat)radius color:(UIColor *)color;
@end
|
// T42Frame.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// T42Frame frame
struct TalkEditChars {
CHAR m_cErase;
CHAR m_kill;
CHAR m_wErase;
};
class T42View;
class T42Frame : public CFrameWnd
{
DECLARE_DYNCREATE(T42Frame)
// Attributes
publi... |
/**
******************************************************************************
* @file stm32_assert.h
* @author MCD Application Team
* @version $VERSION$
* @date $DATE$
* @brief STM32 assert template file.
* This file should be copied to the application folder and renamed
*... |
//
// RITLTabBarItem.h
// XiaoNongDingClient
//
// Created by YueWen on 2017/5/4.
// Copyright © 2017年 ryden. All rights reserved.
//
#import "RITLButton.h"
NS_ASSUME_NONNULL_BEGIN
/// 自定义的UITabBarItem
@interface RITLButtonItem : RITLButton
/// 保证图片的带下,默认为(23,23) //保证最小的
@property (nonatomic, assign)CGSize imag... |
#import <UIKit/UIKit.h>
@interface UIFont (Marvel)
+ (instancetype)marvelRegularFontOfSize:(CGFloat)size;
+ (instancetype)marvelItalicFontOfSize:(CGFloat)size;
+ (instancetype)marvelBoldFontOfSize:(CGFloat)size;
+ (instancetype)marvelBoldItalicFontOfSize:(CGFloat)size;
@end
|
//
// GlossyButton.h
// MarathonMegan
//
// Created by Jennifer Duffey on 2/23/13.
//
//
#import <UIKit/UIKit.h>
@interface GlossyButton : UIButton
@property (nonatomic, strong) UIColor *buttonBackgroundColor, *buttonTextColor;
@property (nonatomic, assign) MarathonMeganColor meganColor;
- (id)initWithBackground... |
/*
* 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 <folly/portability/GMock.h>
#include <quic/dsr/frontend/PacketBuilder.h>
namespace quic::test {
class Mo... |
// ***************************************************************************
// BamReader.h (c) 2009 Derek Barnett, Michael Str�mberg
// Marth Lab, Department of Biology, Boston College
// ---------------------------------------------------------------------------
// Last modified: 18 November 2012 (DB)
// ----------... |
#pragma once
#include "engine/core/types.h"
namespace sandbox {
void ecs_init_physics_clean(void);
void ecs_update_physics_clean(r32 dt);
}
|
//
// NSMutableString+MSOSDKAdditions.h
// Pods
//
// Created by John Setting on 4/6/17.
//
//
#import <Foundation/Foundation.h>
@interface NSMutableString (MSOSDKAdditions)
- (nullable NSMutableString *)mso_string_escape;
- (nullable NSMutableString *)mso_string_unescape;
@end
|
//
// VersionName.h
//
// Created by Alex Bonine 07/19/2012
//
#import <Cordova/CDVPlugin.h>
@interface VersionName : CDVPlugin
- (void) getVersionName:(CDVInvokedUrlCommand*)command;
@end
|
#ifndef GUI_CLASSES_H
#define GUI_CLASSES_H
#include "tetrisdata.h"
#include <gui/panel.h>
#include <gui/label.h>
#include <gui/button.h>
#include <gui/textfield.h>
#include <gui/checkbox.h>
#include <gui/flowlayout.h>
#include <gui/borderlayout.h>
#include <gui/combobox.h>
#include <gui/progressbar.h>
namespace {
... |
/*
* The MIT License (MIT)
* Copyright (c) 2015 SK PLANET. 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 r... |
// author BOSS
#pragma once // added by BOSS
/*
* Copyright 2005-2017 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the OpenSSL license (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distributi... |
//
// TAKUserDefaultsViewCell.h
//
// Created by Takahiro Oishi
// Copyright (c) 2014 Takahiro Oishi. All rights reserved.
// Released under the MIT license.
//
#import <UIKit/UIKit.h>
@interface TAKUserDefaultsViewCell : UITableViewCell
- (void)bindWithKey:(NSString *)key value:(id)value;
- (CGFloat)calculateH... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/*
* File: Base64.h
* Author: ckarner
*
* Created on December 12, 2015, 9:40 PM
*/
#ifndef BASE64_H
#define BASE64_H
#includ... |
/*
* This file is part of the UnTech Editor Suite.
* Copyright (c) 2016 - 2021, Marcus Rowe <undisbeliever@gmail.com>.
* Distributed under The MIT License: https://opensource.org/licenses/MIT
*/
#pragma once
#include "imgui.h"
namespace UnTech::Gui {
class AnimationTimer {
private:
float _time;
static_... |
//
// CompanyViewHelper.h
// TLChat
//
// Created by 戴王炯 on 4/26/16.
// Copyright © 2016 李伯坤. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface CompanyViewHelper : NSObject
@property (nonatomic, strong) NSMutableArray *companyData;
@property (nonatomic, strong) NSMutableArray *funData;
@end
|
#ifndef __ModuleSceneIntro_H__
#define __ModuleSceneIntro_H__
#include "Module.h"
#include "Globals.h"
#include "Primitive.h"
#include "Geometry.h"
#include "Mesh.h"
#include <list>
//#include "PhysBody3D.h"
struct PhysBody3D;
class ModuleSceneIntro : public Module
{
public:
ModuleSceneIntro(Application* app, con... |
/*
* Configuration for Amlogic Meson GXBB SoCs
* (C) Copyright 2016 Beniamino Galvani <b.galvani@gmail.com>
*
* SPDX-License-Identifier: GPL-2.0+
*/
#ifndef __MESON_GXBB_COMMON_CONFIG_H
#define __MESON_GXBB_COMMON_CONFIG_H
#define CONFIG_CPU_ARMV8
#define CONFIG_REMAKE_ELF
#define CONFIG_NR_DRAM_BANKS 1
#define... |
//==========================================================
// CasaEngine - Free C++ 3D engine
//
// Copyright (C) 2004-2005 Laurent Gomila
//
// 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;... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <malloc.h>
#include <ctype.h>
#define PATHLEN 256
#define CMDLEN 512
#define MAXARGS 500
#define ALIASALLOC 20
#define STDIN 0
#define STDOUT 1
#define MAXSOURCE 10
#ifndef isblank
#define isblank(ch) (((ch) == ' ') || ((ch) == '\t'))
#endif
... |
// Copyright (c) 2014, Kelp Heavy Weaponry
// MasterLog project -- see MasterLog licencing for details.
// File access
namespace MasterLog {
namespace Storage {
int configure(Configuration const& config);
}} // File : MasterLog
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.