text stringlengths 4 6.14k |
|---|
#ifndef __NET_TC_MIR_H
#define __NET_TC_MIR_H
#include <net/act_api.h>
struct tcf_mirred {
struct tcf_common common;
int tcfm_eaction;
int tcfm_ifindex;
int tcfm_ok_push;
struct net_device *tcfm_dev;
struct list_head tcfm_list;
};
#define to_mirred(pc) \
container_of(pc, struct tcf_mirred, common)
#endi... |
// Copyright (c) 2011 The LevelDB Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. See the AUTHORS file for names of contributors.
//
// Must not be included from any .h files to avoid polluting the namespace
// with macros.
#ifndef S... |
/* SPDX-License-Identifier: GPL-2.0 or BSD-3-Clause */
/* Authors: Bernard Metzler <bmt@zurich.ibm.com> */
/* Copyright (c) 2008-2019, IBM Corporation */
#ifndef _SIW_MEM_H
#define _SIW_MEM_H
struct siw_umem *siw_umem_get(u64 start, u64 len, bool writable);
void siw_umem_release(struct siw_umem *umem, bool dirty);
s... |
/* $Id: cache.h,v 1.6 2004/03/11 18:08:05 lethal Exp $
*
* include/asm-sh/cache.h
*
* Copyright 1999 (C) Niibe Yutaka
* Copyright 2002, 2003 (C) Paul Mundt
*/
#ifndef __ASM_SH_CACHE_H
#define __ASM_SH_CACHE_H
#ifdef __KERNEL__
#include <linux/init.h>
#include <cpu/cache.h>
#define L1_CACHE_BYTES (1 << L1_CACHE... |
/*
'aes_xcbc.c' Obfuscated by COBF (Version 1.06 2006-01-07 by BB) at Fri Oct 12 22:15:16 2012
*/
#include"cobf.h"
#ifdef _WIN32
#if defined( UNDER_CE) && defined( bb337) || ! defined( bb329)
#define bb355 1
#define bb332 1
#else
#define bb351 bb343
#define bb333 1
#define bb331 1
#endif
#define bb348 1
#include"unc... |
/*
* watchdog_core.c
*
* (c) Copyright 2008-2011 Alan Cox <alan@lxorguk.ukuu.org.uk>,
* All Rights Reserved.
*
* (c) Copyright 2008-2011 Wim Van Sebroeck <wim@iguana.be>.
*
* This source code is part of the generic code that can be used
* by all the watchdog timer drivers.
*
* Based on source code of th... |
// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Copyright 2016 IBM Corporation.
*/
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/irq.h>
#include <linux/smp.h>
#include <linux/interrupt.h>
#include <linux/cpu.h>
#include <linux/of.h>
#include <asm/smp.h>
#include <asm/irq.h>
#include <asm/errno... |
/* SPDX-License-Identifier: GPL-2.0-or-later */
/* -*- mode: c; c-basic-offset: 8; -*-
* vim: noexpandtab sw=8 ts=8 sts=0:
*
* dlmconvert.h
*
* Copyright (C) 2004 Oracle. All rights reserved.
*/
#ifndef DLMCONVERT_H
#define DLMCONVERT_H
enum dlm_status dlmconvert_master(struct dlm_ctxt *dlm,
struct dlm_l... |
/* Copyright (c) 2008-2009, Code Aurora Forum. 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 lis... |
/*
* Copyright (C) 2005 Sigmatel Inc
*
* Copyright 2008 Freescale Semiconductor, Inc. All Rights Reserved.
* Copyright 2008 Embedded Alley Solutions, Inc All Rights Reserved.
*/
/*
* The code contained herein is licensed under the GNU General Public
* License. You may obtain a copy of the GNU General Public Lic... |
/* $OpenBSD: intr.h,v 1.45 2015/09/13 20:38:45 kettenis Exp $ */
/*
* Copyright (c) 2001-2004 Opsycon AB (www.opsycon.se / www.opsycon.com)
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions ... |
/*
* Copyright (c) 2015-2016, Fred Morcos <fred.morcos@gmail.com>
*
* 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... |
/* $OpenBSD: ptrace.h,v 1.4 2011/11/10 22:48:13 deraadt Exp $ */
/*
* Copyright (c) 2005 Michael Shalayeff
* All rights reserved.
*
* 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 permissi... |
//
// This source file is part of appleseed.
// Visit http://appleseedhq.net/ for additional information and resources.
//
// This software is released under the MIT license.
//
// Copyright (c) 2010-2013 Francois Beaune, Jupiter Jazz Limited
// Copyright (c) 2014-2017 Francois Beaune, The appleseedhq Organization
//
... |
/* bzflag
* Copyright (c) 1993-2012 Tim Riker
*
* This package is free software; you can redistribute it and/or
* modify it under the terms of the license found in the file
* named COPYING that should have accompanied this file.
*
* THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
* IMPLIED WARRAN... |
/*
* The MIT License (MIT)
*
* Copyright (c) 2013 Zoltán Nyikos
*
* 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... |
/*
* Generated by class-dump 3.3.4 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard.
*/
#import "UIView.h"
@class NSString, NSTimer, STRunCaloriesLabel, STRunDistanceLabel, STRunPaceLabel, STRunProgressView, STRunTimeLabel, SWRunWorkoutProxy, UIButton, UIImageView,... |
/*
* Generated by class-dump 3.3.4 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard.
*/
#import <UIKit/UIStatusBarLegacyStyleAttributes.h>
// Not exported
@interface UIStatusBarAssistantEyesFreeStyleAttributes : UIStatusBarLegacyStyleAttributes
{
}
- (double)glowA... |
// Copyright (c) 2014 Mark Dodwell.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
// documentation files (the "Software"), to deal in the Software without restriction, including without limitation the
// rights to use, copy, modify, merge, publish, di... |
// Copyright (c) 2011-2016 The Cryptonote developers
// Copyright (c) 2014-2017 XDN-project developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#pragma once
#include <string.h>
#include <tuple>
#include <boost/uuid/u... |
/*
* =============================================================================
*
* Filename: cqi_pool.c
*
* Description: connection queue item pool.
*
* Created: 10/18/2012 07:56:53 PM
*
* Author: Fu Haiping (forhappy), haipingf@gmail.com
* Company: ICT ( Institute Of C... |
#pragma once
#include "base/Ref.h"
#include "math/vec3.h"
#include "math/mat4.h"
#include "math/quat.h"
#include "base/component/BaseComponent.h"
#include "base/Vector.h"
class Transform : public BaseComponent
{
public:
Transform(GameObject* owner = nullptr);
virtual ~Transform();
public:
virtual vo... |
#include "pci.h"
#include "pciids.h"
#include "kstdio.h"
#include "heap.h"
#include "ehci.h"
#define headerAddress(bus,dev,func,reg) \
((uint32_t)((((bus) & 0xFF) << 16) | (((dev) & 0x1F) << 11) | \
(((func) & 0x07) << 8) | (((reg) & 0x3F) << 2) | 0x80000000L)) \
uint8_t pci_read_8(int bus, int dev, int fu... |
#pragma once
#include "Task.h"
namespace vlp {
class WaitTask : public Task {
public:
void run(Engine& engine) override;
};
} |
//
// CORTransparentViewController.h
// CORKit
//
// Created by Seiya Sasaki on 2014/02/20.
// Copyright (c) 2014年 Seiya Sasaki. All rights reserved.
//
#import <UIKit/UIKit.h>
typedef void (^CORTransparentPresentCompletion)();
@interface CORTransparentViewController : UIViewController
- (void)presentTransparen... |
//
// EFDataSource.h
// Pods
//
// Created by Ilya Sedov on 30/04/16.
//
//
#import <Foundation/Foundation.h>
@class EFCellModel;
@protocol EFDataSource <NSObject>
@required
- (NSInteger)count;
- (EFCellModel *)objectAtIndex:(NSInteger)index;
- (void)add:(EFCellModel *)object;
- (void)removeAtIndex:(NSIntege... |
#pragma once
#define FILE_NAME_MAX 512
#define FILE_PATH_MAX 512
typedef struct linked_list_s linked_list;
typedef struct list_item_s list_item;
typedef struct meta_info_s {
char name[0x100];
char compatible[0x10];
char description[0x200];
char developer[0x100];
char devsite[0x100];
char added[0x100];... |
#ifndef BLOWFISH_H
#define BLOWFISH_H
/////////////////////////////////////////////////////////////////////////
// ** NOTICE **
/////////////////////////////////////////////////////////////////////////
// The following resources are required by this module (or submodules):
//
#define BLOWFISHDATA ... |
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: An extra interface implemented by the material system
// implementation of vgui::ISurface
//
// $Revision: $
// $NoKeywords: $
//===========================================================================//
#ifndef IMATSYSTEMS... |
/*
* @file sample.c
* @author Akagi201
* @date 2014/12/06
*/
#include <stdio.h>
#include "bytes2str.h""
int main(void) {
char in[] = {0xC8, 0x32, 0x9B, 0xFD, 0x0E, 0x01};
char out[32] = {0};
int olen = sizeof(out);
bytes2str(in, 6, out, &olen);
printf("out: %s, olen: %d\n", out, olen);
... |
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
@class NSArray;
@protocol DVTLineGraphLayerDataSource <NSObject>
- (NSArray *)lineDataForBounds:(struct _DVTGraphBounds)arg1;
@end
|
//
// AppDelegate.h
// wufeng_cocoapods
//
// Created by tomodel on 2017/3/4.
// Copyright © 2017年 tomodel. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
|
/*++
Copyright (c) 2011 Microsoft Corporation
Module Name:
smt_arith.h
Abstract:
Arithmetic solver for smt::solver
Author:
Leonardo de Moura (leonardo) 2011-06-25.
Revision History:
--*/
#ifndef _SMT_ARITH_H_
#define _SMT_ARITH_H_
#include"ast.h"
#include"smt_solver_types.h"
#include"params.h"
... |
//
// FAQViewController.h
// AKG
//
// Created by Fabian Ehlert on 01.02.14.
// Copyright (c) 2014 Fabian Ehlert. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface FAQViewController : UIViewController
@end
|
/*
* FTGL - OpenGL font library
*
* Copyright (c) 2001-2004 Henry Maddocks <ftgl@opengl.geek.nz>
*
* 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
* wit... |
/**
******************************************************************************
* @file CRYP/CRYP_TDESECBmode/stm32f4xx_it.c
* @author MCD Application Team
* @version V1.8.0
* @date 04-November-2016
* @brief Main Interrupt Service Routines.
* This file provides template for al... |
//-----------------------------------------------------------------------------
// Copyright (c) 2012 GarageGames, LLC
//
// 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 restrictio... |
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//
#pragma once
#include "windows.h"
#include "targetver.h"
#include <string>
// Headers for CppUnitTest
//#include "CppUnitTest.h"
// TODO: refe... |
// Copyright (c) 2011-2016 The Cryptonote developers
// Copyright (c) 2014-2017 XDN-project developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <string.h>
#include "context.h"
void
makecontext(uctx *ucp, voi... |
/*
Copyright (c) 2015 - 2021 Advanced Micro Devices, 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 without restriction, including without limitation the rights
to use, c... |
//=====================================================================
// Copyright 2016 (c), Advanced Micro Devices, Inc. All rights reserved.
//
/// \author AMD Developer Tools Team
/// \file osSynchronizationObjectLocker.h
///
//=====================================================================
//--------------... |
/////////////////////////////////////////////////////////////////////////////
// Name: wx/gtk/slider.h
// Purpose:
// Author: Robert Roebling
// Id: $Id: slider.h,v 1.20 2005/08/02 22:57:57 MW Exp $
// Copyright: (c) 1998 Robert Roebling
// Licence: wxWindows licence
/////////////////////////... |
//
// ViewController.h
// XSInfoView
//
// Created by 薛纪杰 on 3/16/16.
// Copyright © 2016 薛纪杰. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ViewController : UIViewController
@end
|
#include "math.h"
#include "robot.h"
#include "stdio.h"
#include "stdlib.h"
#include "sys/time.h"
#include "time.h"
#define TIMES 500
int get_info(int argc, char **argv, double *arms, double *angles, double *gx, double *gy);
void moveArm(int arm, double angle);
void output(mat3_t m, double error, struct timeval tv, c... |
#pragma once
//-----------------------------------------------------------------------------
// Copyright (c) 2013 GarageGames, LLC
//
// 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 witho... |
void menu_top(void);
void menu_Mchar2(void); // motor
void menu_Mchar3(void); // motor
void menu_Schar2(void); // sensor
|
//
// AppController.h
// Spotify Menubar
//
// Created by Ruaridh Thomson on 06/06/2010.
// Copyright 2010 Life Up North/Ruaridh Thomson. All rights reserved.
//
// This software is distributed under licence. Use of this software
// implies agreement with all terms and conditions of the accompanying
// software lic... |
/* Copyright (c) 2017, The Tor Project, Inc. */
/* See LICENSE for licensing information */
/**
* \file test_hs_cell.c
* \brief Test hidden service cell functionality.
*/
#define HS_INTROPOINT_PRIVATE
#define HS_SERVICE_PRIVATE
#include "test.h"
#include "test_helpers.h"
#include "log_test_helpers.h"
#include "c... |
//
// LeftTableViewController.h
// WangYiNEWS
//
// Created by lanou3g on 15/11/22.
// Copyright © 2015年 lanou3g. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface LeftTableViewController : UITableViewController
@end
|
#ifndef HKBGETWORLDFROMMODELMODIFIER_H
#define HKBGETWORLDFROMMODELMODIFIER_H
#include "hkbmodifier.h"
class hkbGetWorldFromModelModifier final: public hkbModifier
{
friend class GetWorldFromModelModifierUI;
public:
hkbGetWorldFromModelModifier(HkxFile *parent, long ref = 0);
hkbGetWorldFromModelModifier&... |
struct stat;
struct rtcdate;
// system calls
int fork(void);
int exit(void) __attribute__((noreturn));
int wait(void);
int pipe(int*);
int write(int, void*, int);
int read(int, void*, int);
int close(int);
int kill(int);
int exec(char*, char**);
int open(char*, int);
int mknod(char*, short, short);
int unlink(char*);
... |
#include "utility/vector.h"
#include "utility/direction.h"
#include <math.h>
static Vector DIRECTIONS[DIRECTION_POOL_SIZE];
void Direction_init() {
double angle = 0.;
int id;
for (id = 0; id < DIRECTION_POOL_SIZE; ++id) {
Vector_set( &DIRECTIONS[id], cos(angle), -sin(angle) );
angle -= ... |
#include <stdlib.h>
#include "sway/commands.h"
#include "log.h"
struct cmd_results *bar_cmd_secondary_button(int argc, char **argv) {
// TODO TRAY
return cmd_results_new(CMD_INVALID, "secondary_button", "TODO TRAY");
}
|
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//
#import "NSObject.h"
#import "SChartDataPointMapper.h"
@interface SChartRadialDataPointMapper : NSObject <SChartDataPointMapper>
{
id <SChartRadialDataPointMapperSource> _sour... |
#ifndef SIDECAR_GUI_PPIWIDGET_PATHSETTING_H // -*- C++ -*-
#define SIDECAR_GUI_PPIWIDGET_PATHSETTING_H
#include "QtWidgets/QLabel"
#include "QtWidgets/QPushButton"
#include "GUI/StringSetting.h"
namespace SideCar {
namespace GUI {
class PathSetting : public StringSetting {
Q_OBJECT
public:
PathSetting(Prese... |
//
// FMAPIManager.h
// car2go_sample
//
// Created by Jonghyun Kim on 2017/05/29.
// Copyright © 2017 kokaru. All rights reserved.
//
typedef void (^apisuccess)(NSURLSessionDataTask *sessionDataTask, id responseObject);
typedef void (^apifailure)(NSURLSessionDataTask *sessionDataTask, NSError *error);
@interface... |
//
// Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC All rights reserved
// LICENSE: Atomic Game Engine Editor and Tools EULA
// Please see LICENSE_ATOMIC_EDITOR_AND_TOOLS.md in repository root for
// license information: https://github.com/AtomicGameEngine/AtomicGameEngine
//
#pragma once
#include <Atomic/Core/Obje... |
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//
#pragma once
#include <KcCommon.h> |
/*
* Copyright (c) 2014 Nutanix Inc. All rights reserved.
*
* Author: cui@nutanix.com
*
* 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 limitatio... |
//
// DSRHomeTableViewController.h
// 倒数日
//
// Created by 马婷婷 on 15/8/13.
// Copyright © 2015年 Cara. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface DSRHomeTableViewController : UITableViewController
@end
|
#pragma once
#include "p2List.h"
#include "Globals.h"
#include "Module.h"
#include "Dummy.h"
#include "ModuleWindow.h"
#include "ModuleRender.h"
#include "ModuleTextures.h"
#include "ModuleInput.h"
#include "ModuleSceneIntro.h"
class Application
{
public:
ModuleRender* renderer;
ModuleWindow* window;
ModuleTexture... |
#include <stdlib.h>
#include <limits.h>
#include <unistd.h>
#include <core/os.h>
#include <core/object.h>
#include <core/class.h>
#ifndef ENABLE
#define ENABLE NV_DEVICE_DISABLE_MMIO
#endif
#ifndef DEBUG0
#define DEBUG0 0ULL
#endif
int
main(int argc, char **argv)
{
struct nouveau_object *client;
struct nouveau_obj... |
//
// Resource.h
// Chilli Source
// Created by Ian Copland on 07/07/2014.
//
// The MIT License (MIT)
//
// Copyright (c) 2014 Tag Games Limited
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// ... |
#ifndef KALI_UI_NATIVE_WIDGETS_BASE_INCLUDED
#define KALI_UI_NATIVE_WIDGETS_BASE_INCLUDED
#include "kali/function.h"
#include "kali/containers.h"
#include "kali/ui/base.h"
// ............................................................................
namespace kali {
namespace ui {
namespace native {
namespa... |
/***************************** Include Files *******************************/
#include "example_core_lite.h"
#include "xparameters.h"
#include <stdio.h>
#include <stdlib.h>
#include "xil_io.h"
/************************** Constant Definitions ***************************/
uint32_t a_tests[] = {1,321097,45,4294967295,0,... |
#ifndef ICT_MYSTRING_H__
#define ICT_MYSTRING_H__
namespace ict{
class MyString{
private:
char* data_;
int len_;
// utility
int strlen(const char* str)const;
void strcpy(char* des, const char* src)const;
void strcat(char* des, const char* src)const;
int strcmp(const char*... |
//
// Card.h
// Matchismo
//
// Created by Horia Jurcut on 01/07/16.
// Copyright © 2016 Horia Jurcut. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface Card : NSObject
@property (strong, nonatomic) NSString *contents;
@property (nonatomic, getter=isChosen) BOOL chosen;
@property (nonatomic, g... |
// pin_io_macros.h
//
// Makes it easy to define pins as logical names and then use those names
// throughout the program. Not the most efficient method for multiple pins
// on the same port but otherwise makes coding easier and more transportable.
//
// by Paul Duke 2012
#ifndef PIN_IO_MACROS
#define PIN_IO_MACRO... |
void inplace(double *invec, double *outvec, int n, int m) {
int i;
for (i=0; i < n; i++) {
outvec[i] = 2*invec[i];
}
}
|
/*
* ==================================================================================
*
* Filename: poller.h
*
* Description:
*
* Verson: 1.0
* Created: 2016-03-09
* Compiler: g++
*
* Author: Jiewei Wei <weijieweijerry@163.com>
* Company: S... |
#pragma once
#include "afxwin.h"
#include "CM5/ListCtrlEx.h"
#include "CM5/CStatic/staticex.h"
// CBoatMonitorViewer form view
class CBoatMonitorViewer : public CFormView
{
DECLARE_DYNCREATE(CBoatMonitorViewer)
public:
CBoatMonitorViewer(); // protected constructor used by dynamic creation
virtual ~CBo... |
/*
** my_putchar.c for my_putchar in /home/soto_a/my_funcs
**
** Made by adam kaso
** Login <soto_a@epitech.net>
**
** Started on Wed Oct 1 10:04:23 2014 adam kaso
** Last update Fri Jan 16 14:28:51 2015 Kaso Soto
*/
#include "my.h"
void my_putchar(char c)
{
if (write(1, &c, 1) == -1)
exit(EXIT_FAILURE);
... |
/**
* @file pifacedigital.h
* @brief A simple static library for controlling PiFace Digital.
* See mcp23s17.h for more register definitions.
*
* Copyright (C) 2013 Thomas Preston <thomas.preston@openlx.org.uk>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the ... |
#pragma once
#include <type_traits>
namespace funcpp::typeclass::eq {
template <typename T>
struct eq_class<T, std::enable_if_t<std::is_scalar<T>::value>> : std::true_type {
static bool
equal(T const& a, T const& b) {
return a == b;
}
};
} |
/* main7-3.c ¼ìÑébo7-3.cµÄÖ÷³ÌÐò */
#include"c1.h"
typedef char InfoType;
#define MAX_Info 80 /* ÐÅÏ¢×Ö·û´®×î´ó³¤¶È+1 */
#define MAX_VERTEX_NAME 3 /* ¶¥µã×Ö·û´®×î´ó³¤¶È+1 */
typedef char VertexType[MAX_VERTEX_NAME];
#include"c7-3.h"
#include"bo7-3.c"
Status visit(VertexType v)
{
printf("%s ",v);
retur... |
#pragma once
#include "Vector2.h"
class Aabb
{
public:
Aabb() = default;
Aabb(const Vector2& origin, const Vector2& halfExtents);
Aabb(const SDL_Rect& rect);
Aabb& Union(const Aabb& other);
float MinX() const;
float MaxX() const;
float MinY() const;
float MaxY() const;
void ToRe... |
/**************************************************************************
The MIT License (MIT)
Copyright (c) 2015 Dmitry Sovetov
https://github.com/dmsovetov
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to ... |
struct pair
{
int m[2];
};
struct pair f(void);
main()
{
return f().m[0]; // not an lvalue, can't `operator.'
// need better warning
}
|
//---------------------------------------------------------------------
// Copyright (c) 2009 Maksym Diachenko, Viktor Reutskyy, Anton Suchov.
//
// 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 Sof... |
//
// ZSLargeCell.h
// ZSPhotoBrowser
//
// Created by zuoshen on 2017/8/7.
// Copyright © 2017年 zuoshen. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface ZSLargeCell : UITableViewCell
-(void)setImageUrl:(NSString*)url;
@end
|
#include <assert.h>
#include <string.h>
#include "binson_writer.h"
/*
{
"A": "B",
"B": 1,
"C": 3.0,
"D": false,
"E": "0x0102",
"F": {
},
"G": [
false,
"A",
"0x0102",
1,
5.142912663207646E25,
false,
false,
false,
false,
false,
false,
false,
false... |
//
// AudioComponent.h
// VideoEditor2
//
// Created by Sukrit Sunama on 1/31/56 BE.
// Copyright (c) 2556 Afternoon Tea Break. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <AVFoundation/AVFoundation.h>
@class VEAudioComposition;
@interface VEAudioComponent : NSObject {
VEAudioCompositio... |
/************************************************************
* * Hyphenate CONFIDENTIAL
* __________________
* Copyright (C) 2016 Hyphenate Inc. All rights reserved.
*
* NOTICE: All information contained herein is, and remains
* the property of Hyphenate Inc.
* Dissemination of this information or reproduction... |
/****************************************************************************
**
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtCore module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** ... |
#include<stdio.h>
#include<string.h>
int main(){
char izr[1000], ts='a', tb='A';
int i, br=0;
fgets(izr, 1000, stdin);
for(;ts<='z' && tb<='Z';ts++, tb++){
br=0;
for(i=0; i<strlen(izr); i++){
if(izr[i] == ts || izr[i] == tb){
br++;
}
}
... |
//
// BaseRequset.h
// DrinkingW
//
// Created by 王宏洋 on 2016/12/23.
// Copyright © 2016年 WHY. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <ReactiveObjC/ReactiveObjC.h>
#import "APIClient.h"
@interface BaseRequset : NSObject<RequestConstraint>
@property (nonatomic, strong, readonly) NSDate... |
//
// SoundManager.h
// Jam
//
// Created by Ostap on 23.11.14.
//
//
#ifndef __Jam__SoundManager__
#define __Jam__SoundManager__
#include "cocos2d.h"
#include "audio/include/AudioEngine.h"
using namespace cocos2d;
using namespace ui;
USING_NS_CC;
enum Sounds {
sound_best_loop,
sound_drop_item,
soun... |
#import <Foundation/Foundation.h>
#import "SQDAPI.h"
#import "UIColor+Util.h"
#import "UIView+Util.h"
#import "UIImage+Util.h"
#import "UIImageView+Util.h"
#import "AFHTTPRequestOperationManager+Util.h"
@interface Util : NSObject
//通过颜色来生成一个纯色图片
+ (UIImage *)getImageFromColor:(UIColor *)color withFrame:(CGRect )fram... |
#include "cpu.h"
void CCF(cpu_state_t *state,
enum ARG_TYPE arg0, union REG_INPUT i0,
enum ARG_TYPE arg1, union REG_INPUT i1)
{
cpu_set_carry(state, !cpu_carry(state));
cpu_set_subtract(state, 0);
cpu_set_half_carry(state, 0);
}
|
#ifndef SEMANT_H
#define SEMANT_H
#include "ast.h"
void Semant_check(Prog_t);
#endif
|
#ifdef __OBJC__
#import <Cocoa/Cocoa.h>
#else
#ifndef FOUNDATION_EXPORT
#if defined(__cplusplus)
#define FOUNDATION_EXPORT extern "C"
#else
#define FOUNDATION_EXPORT extern
#endif
#endif
#endif
FOUNDATION_EXPORT double SnapKitVersionNumber;
FOUNDATION_EXPORT const unsigned char SnapKitVersionString[];
|
#include <string>
#include <cpprest/json.h>
#include "MediaFileManifest.h"
namespace vosvideo
{
namespace mediafile
{
class FileSegmenter
{
public:
FileSegmenter(const std::wstring& path){}
virtual ~FileSegmenter(){}
virtual std::shared_ptr<MediaFileManifest> GetManifest() = 0;
};
... |
//
// HelloUserViewController.h
// HelloUser
//
// Created by Abraham Williams on 9/28/09.
// Copyright __MyCompanyName__ 2009. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface HelloUserViewController : UIViewController <UITextFieldDelegate> {
IBOutlet UILabel *helloLabel;
IBOutlet UITextField *name... |
#include "plugins.h"
#include "btlog.h"
#include <dlfcn.h>
#include <stdlib.h>
#include <string.h>
const struct object_vtable plugin_vtable = {
(void (*) (void *)) plugin_delete,
(void * (*) (const void *)) plugin_copy,
NULL
};
struct plugin * plugin_create (const char * filename) {
void * handle ... |
#ifndef FRAMING_H_
#define FRAMING_H_
#include "stddef.h"
#include "stdint.h"
void initialize_framing();
// Outgoing data
// Set storage for the outgoing frame
void outgoing_storage(uint8_t * buf, uint32_t bufSize);
void begin_frame();
void append(uint8_t byte);
void append2(uint16_t twobytes);
void append4(uint32_t... |
//
// ZYMusic.h
// ZY的音乐
//
// Created by 张亚超 on 15/10/31.
// Copyright © 2015年 zhaoyan. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface ZYMusic : NSObject
/**<dict>
<key>name</key>
<string>月半小夜曲</string>
<key>filename</key>
<string>1201111234.mp3</string>
<key>lrcname</key>
<string>月半小夜曲.lrc... |
//
// PictureCell.h
// SDWebImageLoadImageAnimation
//
// Created by YouXianMing on 15/4/30.
// Copyright (c) 2015年 YouXianMing. All rights reserved.
//
#import "CustomAdapterTypeCell.h"
@interface PictureCell : CustomAdapterTypeCell
@end
|
//
// UIViewController+Sliding.h
// whitewolfdemo
//
// This App has been generated using IBM Mobile UI Builder
//
#import <UIKit/UIKit.h>
@import ECSlidingViewController;
@interface UIViewController (Sliding)
/**
It's added left button on navigation bar to show left view controller.
*/
- (void)ro_addLeftSlidi... |
/*++
Copyright (c) 2006 Microsoft Corporation
Module Name:
z3_solver_params.h
Abstract:
<abstract>
Author:
Leonardo de Moura (leonardo) 2007-06-11.
Revision History:
--*/
#ifndef _Z3_SOLVER_PARAMS_H_
#define _Z3_SOLVER_PARAMS_H_
#include"ini_file.h"
struct z3_solver_params {
bool m_ast_ll_... |
#pragma once
#include "saiga/core/camera/camera.h"
#include "saiga/opengl/shader/basic_shaders.h"
#include "saiga/opengl/vertex.h"
#include "saiga/opengl/vertexBuffer.h"
#include "LinearMath/btIDebugDraw.h"
#include "btBulletDynamicsCommon.h"
namespace Saiga
{
class GLDebugDrawer : public btIDebugDraw
{
private... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.