text stringlengths 4 6.14k |
|---|
/** @file
*
* The header file for the Multiply class.
*
* @author Nicolas Bock <nicolas.bock@freeon.org>
* @author Matt Challacombe <matt.challacombe@freeon.org>
*/
#ifndef __MULTIPLY_H
#define __MULTIPLY_H
#include "multiply.decl.h"
/** A multiplication. */
class Multiply : public CBase_Multiply
{
private:
... |
/* /////////////////////////////////////////////////////////////////////////
* File: pantheios/implicit_link/bel.WindowsSyslog.WithCallback.h
*
* Purpose: Implicitly links in the Pantheios Windows-syslog Local Back-End Library
*
* Created: 25th August 2006
* Updated: 29th June 2016
*
* Home: http://panthe... |
//=============================================================================================================
/**
* @file sensorwidget.h
* @author Christoph Dinh <chdinh@nmr.mgh.harvard.edu>;
* Matti Hamalainen <msh@nmr.mgh.harvard.edu>
* @version 1.0
* @date May, 2014
*
* @section LICENSE
*
* C... |
#pragma once
#include <boost/signals2.hpp>
namespace q
{
namespace util
{
//signal/slots
typedef boost::signals2::connection Connection;
typedef boost::signals2::shared_connection_block Shared_Connection_Block;
template <class Signature>
class Signal : util::Noncopyable
{
public:
typedef boost::si... |
#ifndef _UEVENT_H
#define _UEVENT_H
struct uevent;
typedef int (*uevent_callback_t)(struct uevent *uevent, int sd, int mask,
void *userdata);
struct uevent
{
int max_slots;
int curr_slot;
int used_slots;
struct
{
uevent_callback_t callback;
void *userdata;
} fdmap[__FD_SETSIZE];
fd_set readfds;
fd... |
/**/
#include<stdio.h>
int main(void) {
int a, b, c, median, temp;
median = 0;
temp = 0;
printf("Please enter 3 numbers separated by spaces > ");
scanf ("%d%d%d", &a, &b, &c);
if (a>=b) {
temp = b;
b = a;
a = temp;
}
if (c>b)
median = b;
else if (c<b && c>a)
median = c;
else
... |
#ifndef RESULT_HANDLER_H
#define RESULT_HANDLER_H
// Public class ...
template<class T>
class ResultHandler {
public:
struct FinalFunctor {
virtual void __call(std::vector<T>* userList) = 0;
};
static void rowHandler(void* objects, int fieldCount, const char* row[])
{
T obj(fieldCou... |
/* Copyright (C) 2010 Mikkel Krautz <mikkel@krautz.dk>
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 ... |
#ifndef PARAM_H
#define PARAM_H
#define GAP 20
#define ALPHABET_SIZE 20
#endif
|
// Copyright 2017 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_ASH_TPM_FIRMWARE_UPDATE_H_
#define CHROME_BROWSER_ASH_TPM_FIRMWARE_UPDATE_H_
#include <memory>
#include <set>
#include "base/call... |
/**
* @file
*
* @brief Headers for dbusrecv plugin
*
* @copyright BSD License (see LICENSE.md or https://www.libelektra.org)
*
*/
#ifndef ELEKTRA_PLUGIN_DBUS_H
#define ELEKTRA_PLUGIN_DBUS_H
#include <kdbassert.h>
#include <kdbioplugin.h>
#include <kdbnotificationinternal.h>
#include <kdbplugin.h>
#include <db... |
#ifndef HASKELL_HPX_H
#define HASKELL_HPX_H
#include <hpx/hpx.h>
#include <stdint.h>
int haskell_hpx_trampoline(const hpx_action_t);
#endif
|
#ifndef __ConvertBuffer_h
#define __ConvertBuffer_h
#include "TypeInfo.h"
#include <cassert>
template <typename T>
inline void flipEndianness(T &val)
{
int mid = sizeof(T)/2;
char *data = reinterpret_cast<char*>(&val);
for (int i = 0; i < mid; ++i)
{
std::swap(data[i], data[sizeof(T) - i - 1]);
}
}... |
// Copyright (c) 2009, Whispersoft s.r.l.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of cond... |
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This file defines the browser-specific base::FeatureList features that are
// not shared with other process types.
#ifndef CHROME_BROWSER_BROWSER_FEAT... |
#pragma once
extern int b;
|
/*
* Copyright LWJGL. All rights reserved.
* License terms: https://www.lwjgl.org/license
* MACHINE GENERATED FILE, DO NOT EDIT
*/
#include "common_tools.h"
#include "opengles.h"
typedef void (APIENTRY *glBlendBarrierKHRPROC) (void);
EXTERN_C_ENTER
JNIEXPORT void JNICALL Java_org_lwjgl_opengles_KHRBlendEquationA... |
#ifndef __KERN_CPU_H__
#define __KERN_CPU_H__
#include <kern/conf.h>
#if (defined(__i386__) || defined(__i486__) \
|| defined(__i586__) || defined(__i686__) \
|| defined(__x86_64__) || defined(__amd64__))
#include <kern/unit/x86/cpuid.h>
#endif
//#define ... |
// RUN: jlang-cc -include %S/file_to_include.h -E %s -fno-caret-diagnostics 2>&1 >/dev/null | grep 'file successfully included' | count 1
// PR3464
|
/*
* Copyright (c) 2014, PocketCampus.Org
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of condi... |
/* $NetBSD: kcore.h,v 1.2 1998/08/31 14:43:40 tsubai Exp $ */
/*-
* Copyright (C) 1996 Wolfgang Solfrank.
* Copyright (C) 1996 TooLs GmbH.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:... |
#pragma once
#include <QtWidgets/qmainwindow.h>
#include <QtWidgets/QLabel>
#include <QtWidgets/QScrollArea>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QSpinBox>
#include <QtCore/QString>
#include "widgets.h"
namespace ccnt {
class Window : public QMainWindow {
public:
Window();
virtual ~Window();
void ... |
/*
Author: Ralph Drake
Class: CSI-140-05
Assignment: Final Project
Date Assigned: November 29th, 2016
Due Date: 17:00 EST, December 9th, 2016
Description:
A text-based exploration game
Certification of Authenticity:
I certify that this is entirely my own work, except where I have given
fully-docum... |
/*
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
* See the copyright notice in the ACK home directory, in the file "Copyright".
*/
/* $Id$ */
#include <time.h>
#include "system.h"
long sys_time()
{
return time((long *) 0);
}
|
/* Copyright 2013 Yahoo! Inc. */
/* See LICENSE in the root of the distribution for licensing details. */
#ifndef DONT_MULTI_INCLUDE_MDBM_ATOMIC_H
#define DONT_MULTI_INCLUDE_MDBM_ATOMIC_H
#include <stdint.h>
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <s... |
/*
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
* See the copyright notice in the ACK home directory, in the file "Copyright".
*/
/* $Id$ */
#define ANY_REGVAR 0x1
#define SL_REGVAR 0x2
#define DL_REGVAR 0x4
extern int rvused;
extern int nregvar[4];
extern int rvsize[4];
extern int r... |
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#import <ABI42_0_0React/ABI42_0_0RCTBridgeModule.h>
@interface ABI42_0_0RCTImageEditingManager : NSObject <ABI42_0_0RCTBridgeModul... |
/* Generated by re2c */
#line 1 "unicode_group_Sc.u--encoding-policy(ignore).re"
#include <stdio.h>
#define YYCTYPE unsigned int
bool scan(const YYCTYPE * start, const YYCTYPE * const limit)
{
__attribute__((unused)) const YYCTYPE * YYMARKER; // silence compiler warnings when YYMARKER is not used
# define YYCURSOR st... |
/* $NetBSD: pchb.c,v 1.1 2000/02/29 15:21:46 nonaka Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
* All rights reserved.
*
* This code is derived from software contributed to The NetBSD Foundation
* by Jason R. Thorpe.
*
* Redistribution and use in source and binary forms, with or without
* mod... |
//
//
// Created by rene on 08.01.14.
// Copyright 2014 . All rights reserved.
//
//
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import <XCTest/XCTest.h>
@interface OBBaseTestCase : XCTestCase
- (NSString *)screenshotWithName:(NSString *)name;
@end |
/**
* @brief Barnes-Hut T-SNE implementation O(Nlog(N))
*
* @file bh_tsne.h
* @author David Chan
* @date 2018-04-15
*/
#ifndef BH_TSNE_H
#define BH_TSNE_H
#include "common.h"
#include "include/options.h"
#include "include/util/cuda_utils.h"
#include "include/util/math_utils.h"
#include "include/util/matrix_bro... |
/// @file
/// @version 3.2
///
/// @section LICENSE
///
/// This program is free software; you can redistribute it and/or modify it under
/// the terms of the BSD license: http://opensource.org/licenses/BSD-3-Clause
///
/// @section DESCRIPTION
///
/// Represents an audio category.
#ifndef XAL_CATEGORY_H
#define X... |
// 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_OFFLINE_PAGES_ANDROID_DOWNLOADS_OFFLINE_PAGE_INFOBAR_DELEGATE_H_
#define CHROME_BROWSER_OFFLINE_PAGES_ANDROID_DOWNLOADS_OFFLINE_PAG... |
// Copyright 2019 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_BROWSER_BACKGROUND_SYNC_BACKGROUND_SYNC_SERVICE_IMPL_TEST_HARNESS_H_
#define CONTENT_BROWSER_BACKGROUND_SYNC_BACKGROUND_SYNC_SERVICE_IMPL_... |
/* HTTPIF.H - One line description.
* Copyright (C) 2001 Rob Fahrni. All rights reserved.
*
*/
#ifndef _HTTPIF_H
#define _HTTPIF_H
typedef long HTTPRC;
#define STR_PostVerb "POST\0"
#define STR_HttpVersion "HTTP/1.0\0"
enum eHTTP
{
eHTTPNOERROR = 0,
eHTTPCONNECTIONFAIL = 2,
};
class CHttpBase
{
public:
... |
/**
* Compile-time flags for defining application specific feature preferences.
*
* @file appFeatures.h
* @author Martin Turon
*
* @version 2004/8/8 mturon Initial version
*
* $Id: appFeatures.h,v 1.3 2005/01/27 07:10:43 husq Exp $
*/
/// FEATURE_LEDS -- powers up the LEDs for de... |
#ifndef _I810_STATE_H
#define _I810_STATE_H
#include "i810context.h"
extern void i810InitState( struct gl_context *ctx );
extern void i810InitStateFuncs( struct gl_context *ctx );
extern void i810PrintDirty( const char *msg, GLuint state );
extern void i810DrawBuffer(struct gl_context *ctx, GLenum mode );
extern voi... |
// Copyright 2021 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_PUBLIC_BROWSER_PROFILING_UTILS_H_
#define CONTENT_PUBLIC_BROWSER_PROFILING_UTILS_H_
#include "content/common/content_export.h"
namespace... |
//
// AgentsMapViewController.h
// mlcontroller
//
// Created by Francois Vessaz on 3/16/12.
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import <MapKit/MapKit.h>
#import "MainViewController.h"
@interface AgentsMapViewController : NSViewController <MKMapViewDelegate, M... |
#ifndef EM_HEADER_1
#define EM_HEADER_1
//! simple declarations
void em_void_func_void(void);
void em_void_func_int(int a);
void em_void_func_int_int(int a, int b);
void em_void_func_voidptr(void* p);
int em_int_func_int(int a);
int em_int_func_int_int(int a, int b);
int em_int_func_voidptr(void* p);
//! function p... |
/*
* Copyright (C) 2006-2009 Vincent Hanquez <tab@snarc.org>
*
* This program 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; version 2.1 or version 3.0 only.
*
* This program is distributed in t... |
#include <stdio.h>
void main(void)
{
int count = 0;
int ratio = 5;
int limit = 40;
while (count < limit) {
int rem = count % ratio;
if (rem) {
printf("Ratio hit! [%d]\n", count);
} else {
printf("No hit! [%d]\n", count);
}
count++;
}
}
|
#include "rr_array.h"
#include "rr_malloc.h"
array_t *
array_create(unsigned long n, size_t s) {
array_t *a;
unsigned long initial_number; /* initial number of elements in array, 1 by default */
a = rr_malloc(sizeof(array_t));
if (a == NULL) {
return NULL;
}
initial_number = n==0 ? 1 ... |
/**
* PANDA 3D SOFTWARE
* Copyright (c) Carnegie Mellon University. All rights reserved.
*
* All use of this software is subject to the terms of the revised BSD
* license. You should have received a copy of this license along
* with this source code in a file named "LICENSE."
*
* @file socket_address.h
* @au... |
#pragma once
#include "CGUIContextWidget.h"
#include <ionScene.h>
#include <Gwen/Controls/WindowControl.h>
#include <Gwen/Controls/HorizontalSlider.h>
class CMainState;
class CTerrainNodeManager;
class CGUITerrainControlWidget : public CGUIContextWidget
{
CTerrainNodeManager * Terrain;
CSceneNod... |
//%LICENSE////////////////////////////////////////////////////////////////
//
// Licensed to The Open Group (TOG) under one or more contributor license
// agreements. Refer to the OpenPegasusNOTICE.txt file distributed with
// this work for additional information regarding copyright ownership.
// Each contributor lice... |
/**
* \file
* \brief ARM execution and miscellany
*/
/*
* Copyright (c) 2007-2009, ETH Zurich.
* Copyright (c) 2015, Hewlett Packard Enterprise Development LP.
* All rights reserved.
*
* This file is distributed under the terms in the attached LICENSE file.
* If you do not find this file, copies can be found ... |
//
// AssetLibraryMultiSelect
//
// Copyright (c) 2013 Alexander Belliotti. All rights reserved.
//
#import <Foundation/Foundation.h>
@class ADBMovieScrollView;
@protocol ADBMovieDetailViewDelegate <NSObject>
- (void)playMovieInDetailView:(ADBMovieScrollView *)view;
@end
|
/*
*******************************************************************************
*
* Purpose: Keeps version information.
*
*******************************************************************************
* Copyright Monstrenyatko 2015.
*
* Distributed under the MIT License.
* (See accompanying file LICENSE or... |
// ----------------------------------------------------------------------------
// OpenGL Anti-Grain Geometry (GL-AGG) - Version 0.1
// A high quality OpenGL rendering engine for C
// Copyright (C) 2012 Nicolas P. Rougier. All rights reserved.
// Contact: Nicolas.Rougier@gmail.com
// https://github.com/rougier... |
/*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org/
Copyright (c) 2000-2016 Torus Knot Software Ltd
Permission is hereby granted, free of charge, to any person... |
/*
* Author: Noel Eck <noel.eck@intel.com>
* Copyright (c) 2015 Intel Corporation.
*
* This program and the accompanying materials are made available under the
* terms of the The MIT License which is available at
* https://opensource.org/licenses/MIT.
*
* SPDX-License-Identifier: MIT
*/
#pragma once
#include... |
//-------------------------------------------------------------------------------------------------------
// Copyright (C) Microsoft. All rights reserved.
// Copyright (c) 2021 ChakraCore Project Contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full lice... |
/*
* Copyright (c) 2005, 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
* n... |
/*
** my_putchar.c for 42sh in /u/all/jorge_d/svn/VSHsvn/trunk/lib
**
** Made by dimitri jorge
** Login <jorge_d@epitech.net>
**
** Started on Wed Apr 7 14:42:31 2010 dimitri jorge
** Last update Tue May 18 16:37:14 2010 julien di-marco
*/
#include <unistd.h>
#include <stdlib.h>
#include "lib.h"
void my_putcha... |
#ifndef WSOCKBAS_H
#define WSOCKBAS_H
#ifdef _WIN32
#include <windows.h>
VOID WINAPI WSBStartup(VOID);
VOID WINAPI WSBCleanup(VOID);
LONG WINAPI WSBOpenServer(LONG nPort);
VOID WINAPI WSBCloseServer(LONG nSocket);
LONG WINAPI WSBAccept(LONG nSocket);
LONG WINAPI WSBConnect(LPCSTR lpszHost, LONG nPort);
... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2017 The Bitcoin developers
// Distributed under the MIT software license, see the accompanying
// file license.txt or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_TXDB_H
#define BITCOIN_TXDB_H
#include "txdb-leveldb.h"
#endif ... |
#ifndef __REDIS_RIO_H
#define __REDIS_RIO_H
#include <stdio.h>
#include <stdint.h>
#include "sds.h"
/*
* RIO API 接口和状态
*/
struct _rio { /* 这个玩意非常类似于cpp中的类,所以一门语言什么的,关键还是看你怎么去使用它啦. */
/* Backend functions.
* Since this functions do not tolerate short writes or reads the return
* value is simplified to: zero on err... |
// Copyright (c) 2017 The Brave 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 BRAVE_COMMON_EXTENSIONS_URL_BINDINGS_H_
#define BRAVE_COMMON_EXTENSIONS_URL_BINDINGS_H_
#include "base/compiler_specific.h"
#include "base/macro... |
/*
* Generated by class-dump 3.4 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2012 by Steve Nygard.
*/
#import <IDEKit/IDEMediaResourceFoldingStrategy.h>
@interface IDEIOSMediaResourceFoldingStrategy : IDEMediaResourceFoldingStrategy
{
}
+ (id)sharedInstance;
- (id)defaultVariantF... |
#ifndef ULIST_H
#define ULIST_H
#endif |
//
// CDODataImporter.h
//
//
// Created by Luke Stringer on 28/07/2014.
//
//
#import <Foundation/Foundation.h>
@interface CDODataImporter : NSObject
@property (nonatomic, readonly) NSManagedObjectContext *managedObjectContext;
- (instancetype)initWithManagedObjectContext:(NSManagedObjectContext *)managedObjectC... |
/******************************************************************************
*
* file: Visitor.h
*
* Copyright (c) 2003, Michael E. Smoot .
* All rights reverved.
*
* See the file COPYING in the top directory of this distribution for
* more information.
*
* THE SOFTWARE IS PROVIDED _AS IS_, W... |
//
// Piece.h
// CGFLib-1
//
// Created by José Ricardo de Sousa Coutinho on 28/11/13.
// Copyright (c) 2013 me. All rights reserved.
//
#ifndef __CGFLib_1__Piece__
#define __CGFLib_1__Piece__
#define FREE 0
#define PLAYER1 1
#define PLAYER2 2
#include <iostream>
#include "PieceModel.h"
#include "TileModel.h"
#i... |
#include<stdio.h>
void main()
{
int i,j,a[10],max;
printf("Please enter Integer data:\n");
for(i=0;i<10;i++)
{
printf("a[%i]=",i);
scanf("%d",&a[i]);
}
printf("\nThe original numbers:\n");
for(i=0;i<10;i++)
printf("%5d",a[i]);
for(i=0;i<10;i++)
{
for(j=i+1;j<10;j++)
{
if(a[i]>a[j])
{
max=a[... |
/* Copyright (c) 2017 Nguyen Viet Giang. All rights reserved. */
#pragma once
#include <any/rt_types.h>
#include <any/actor.h>
#ifdef __cplusplus
extern "C" {
#endif
/// Add std-buffer library.
ANY_API void
astd_lib_add_string(
aloader_t* l);
/// Utility function to calculate the hash and length of string `s`.
... |
// Copyright (c) 2019 The Gulden developers
// Authored by: Willem de Jonge (willem@isnapp.nl)
// Distributed under the GULDEN software license, see the accompanying
// file COPYING
#ifndef WITNESS_REWARD_TEMPLATE_H
#define WITNESS_REWARD_TEMPLATE_H
#include "base58.h"
#include "amount.h"
#include <vector>
struct CW... |
//////////////////////////////////////////////////////////////////////////
// stdafx.h
//
// Precompiled header for the XTools Common library
//
// Copyright (C) 2015 Microsoft Corp. All Rights Reserved
//////////////////////////////////////////////////////////////////////////
#pragma once
#if defined(_WIN32)
# ifnd... |
struct {
int x, y;
} wat = {1, 2};
int main(void) {
int p = *(&wat.y);
return p;
}
|
//
// yas_audio_mac_io_core.h
//
#pragma once
#include <TargetConditionals.h>
#if (TARGET_OS_MAC && !TARGET_OS_IPHONE)
#include "yas_audio_io_core.h"
namespace yas::audio {
struct mac_io_core final : io_core {
~mac_io_core();
void set_render_handler(std::optional<io_render_f>) override;
void set_maxi... |
////////////////////////////////////////////////////
// Copyright (c) 2012 ICRL
// See the file LICENSE.txt for copying permission.
//
// Original Author: Randy Gaul
// Date: 7/20/2012
// Contact: r.gaul@digipen.edu
////////////////////////////////////////////////////
#ifndef CAMERAH
#define CAMERAH
#i... |
/* Copyright (c) 2008 Google 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... |
// ExtObject.h
// This file is part of the EScript programming language (https://github.com/EScript)
//
// Copyright (C) 2011-2013 Claudius Jähn <ClaudiusJ@live.de>
// Copyright (C) 2012 Benjamin Eikel <benjamin@eikel.org>
//
// Licensed under the MIT License. See LICENSE file for details.
// --------------------------... |
#pragma once
#include "gtest/gtest.h"
class TestMathFunctions :
public ::testing::Test
{
public:
TestMathFunctions();
virtual ~TestMathFunctions();
};
|
/*
* Copyright (C) 2018 Microhip / Atmel Corporation
* Wenyou.Yang <wenyou.yang@microchip.com>
*
* SPDX-License-Identifier: GPL-2.0+
*/
#include <common.h>
#include <clk-uclass.h>
#include <dm/device.h>
#include <linux/io.h>
#include <mach/at91_pmc.h>
#include "pmc.h"
DECLARE_GLOBAL_DATA_PTR;
stat... |
/* 26oct14abu
* (c) Software Lab. Alexander Burger
*/
#include "pico.h"
static void mark(any);
/* Mark data */
static void markTail(any x) {
while (isCell(x)) {
if (!(num(cdr(x)) & 1))
return;
*(long*)&cdr(x) &= ~1;
mark(cdr(x)), x = car(x);
}
if (!isTxt(x))
do {
... |
//
// ImageDetailModel.h
// Hey!XuanWu
//
// Created by Cao JianRong on 14-3-5.
// Copyright (c) 2014年 Cao JianRong. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface ImageDetailModel : NSObject
{
NSString *idImg;//照片id
NSString *nameImg;//照片名
NSString *fileImgName;//照片物理路径文件名
N... |
// This file is part of the HandwritingTextField package.
//
// For the full copyright and license information, please view the LICENSE file that was distributed with this source code.
// https://github.com/eelretep/HandwritingTextField
//
// FakeTouch.h
// HandwritingTextFieldTests
//
// Created by Peter Lee on 1/2... |
//
// TestWindowViewController.h
// test_jobQuestions
//
// Created by 张净南 on 2018/9/19.
// Copyright © 2018年 Jingnan Zhang. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface TestWindowViewController : UIViewController
@end
|
//
// zh_KeyboardView.h
// zhPopupController
//
// Created by zhanghao on 2017/9/13.
// Copyright © 2017年 snail-z. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface zhUnderlineTextField : UITextField
@property (nonatomic, strong) UIColor *underlineColor;
@end
@interface zh_KeyboardView : UIView
@prop... |
//
// GJGCCreateGroupMemberCountSheetViewController.h
// ZYChat
//
// Created by ZYVincent QQ:1003081775 on 15/11/20.
// Copyright (c) 2015年 ZYProSoft. QQ群:219357847 All rights reserved.
//
#import "BTActionSheetViewController.h"
@interface GJGCCreateGroupMemberCountSheetViewController : BTActionSheetViewContro... |
#include <avr/pgmspace.h>
#include "config.h"
#include "memstrings.h"
#ifdef TAPUINO_LANGUAGE_IT
const char S_DEFAULT_RECORD_DIR[] PROGMEM = "/salvataggi";
const char S_RECORDING[] PROGMEM = "Recording";
const char S_SELECT_RECORD_MODE[] PROGMEM = "Nome file:";
const char S_REC_MODE_MANUAL[] PROGMEM = "Manu... |
/*
* Generated by class-dump 3.4 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2012 by Steve Nygard.
*/
#import "DVTImageAndTextLayer.h"
@interface IDENavigationHUDImageAndTextLayer : DVTImageAndTextLayer
{
}
+ (id)defaultAttributes;
+ (struct CGColor *)defaultTextShadowColor;
@en... |
//
// NUPurchaseItem.h
// NextUserKit
//
// Created by NextUser on 11/18/15.
// Copyright © 2015 NextUser. All rights reserved.
//
#import <Foundation/Foundation.h>
/**
* This class represents a purchase item and is being used by NUPurchase factory methods when
* creating new purchase. Each purchase can conta... |
#ifndef PHENO_H
#define PHENO_H
#include <string>
#include <vector>
struct Phenotype
{
std::vector<std::string> ind;
std::vector<std::string> phe;
std::vector<std::string> env;
std::vector<std::string> blk;
std::vector< std::vector<double> > dat;
};
struct Covariate
{
std::vector<std::string>... |
// ProjectileCrashGrenade.h: interface for the ProjectileCrashGrenade class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_PROJECTILECRASHGRENADE_H__F8FC58D4_6DB9_4A30_9561_46570398EA0F__INCLUDED_)
#define AFX_PROJECTILECRASHGRENADE_H__F8FC58D4_6DB9_4A30_9561_46570398EA0F__... |
#ifndef DALI_LAYERS_GRU_H
#define DALI_LAYERS_GRU_H
#include <vector>
#include "dali/tensor/tensor.h"
#include "dali/layers/layers.h"
class GRU : public AbstractLayer {
typedef StackedInputLayer layer_type;
public:
int input_size;
int hidden_size;
StackedInputLayer reset_layer;
... |
/*
* This file is part of the MicroPython project, http://micropython.org/
*
* The MIT License (MIT)
*
* Copyright (c) 2020 Damien P. George
*
* 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 ... |
/* $NetBSD: multibyte.h,v 1.6 2013/08/18 20:03:48 joerg Exp $ */
/*-
* Copyright (c)2002 Citrus Project,
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source co... |
//-----------------------------------------------------------------------------
// Verve
// Copyright (C) - Violent Tulip
//-----------------------------------------------------------------------------
#ifndef _VT_VNETSTATE_H_
#define _VT_VNETSTATE_H_
#ifndef _NETCONNECTION_H_
#include "sim/netConnection.h"
#endif
#... |
/*
The MIT License (MIT)
Copyright (c) 2013 Marcel Pursche
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,... |
#import <Foundation/Foundation.h>
@interface RenderTreeImageItem : NSObject {
UIImage *image;
CGRect rect;
}
@property (nonatomic, retain) UIImage *image;
@property CGRect rect;
@end
|
//
// IMControlPhotoLibraryCollectionViewCell.h
// iMessageAttachment
//
// Created by Mark Prutskiy on 4/3/17.
// Copyright © 2017 HealthJoy. All rights reserved.
//
#import "IMControlCollectionViewCell.h"
@interface IMControlPhotoLibraryCollectionViewCell : IMControlCollectionViewCell
@end
|
//
// MHSingleton.h
// MHDevLibExample
//
// Created by apple on 16/5/16.
// Copyright © 2016年 Mike_He. All rights reserved.
//
/**
* Mike_He
* 用来快速单例化一个对象
*/
#ifndef MHSingleton_h
#define MHSingleton_h
// .h文件
#define MHSingletonH(name) + (instancetype)shared##name;
// .m文件
#if __has_feature(objc_arc)
#... |
#include <stdio.h>
//#include <stdbool.h>
#define TRUE 1
#define FALSE 0
#define printf_debug //printf
char *solution(const char *str, char target_c, const char *replace_c)
{
if( str == NULL || replace_c == NULL ){
return NULL;
}
printf("%s\n", str);
int rep_len = 0;
for(char *r = r... |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <ncurses.h>
int getUsSetpoint(){
float cm;
char key;
int us;
timeout(100);// 0.5sec.
printw("Press Enter for setup setpoint\n\r");
do{
us=readHcsr04();
cm=(float)us/58;
printw("%0... |
/*
* Copyright (c) 2011 The WebRTC 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 contribut... |
/*
* ircd-ratbox: A slightly useful ircd.
* m_webirc.c: Makes CGI:IRC users appear as coming from their real host
*
* Copyright (C) 1990 Jarkko Oikarinen and University of Oulu, Co Center
* Copyright (C) 1996-2002 Hybrid Development Team
* Copyright (C) 2002-2006 ircd-ratbox development team
*
* This prog... |
#include "command.h"
#include "device.h"
#include "firmware.h"
#include "profile.h"
#include "usb.h"
int hwload_mode = 1;
// Device list
usbdevice keyboard[DEV_MAX];
pthread_mutex_t devlistmutex = PTHREAD_MUTEX_INITIALIZER;
pthread_mutex_t devmutex[DEV_MAX] = { [0 ... DEV_MAX-1] = PTHREAD_MUTEX_INITIALIZER };
pthread... |
/*
* pic18f4510.c - device specific definitions
*/
#include "pic18f4610.c"
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.