text stringlengths 4 6.14k |
|---|
/*
* Calcurse - text-based organizer
*
* Copyright (c) 2004-2011 calcurse Development Team <misc@calcurse.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:
*
* - Redistribution... |
/*Copyright (c) 1985-2012, B-Core (UK) Ltd
Permission is hereby granted, free of charge, to any person or organization
obtaining a copy of the software and accompanying documentation covered by
this license (the "Software") to use, reproduce, display, distribute,
execute, and transmit the Software, and to prepare deri... |
#include "universe.h"
#define YES 1
#define NO 0
// Static pattern will match an allowed catalyzer if:
// 0 = Is On, Off or Unknown
// 1 = Is On or Unknown
// 2 = Is Off
// 4 = Is Off or Unknown
static int block [4] [6] [6] =
{{{0, 4, 2, 2, 4, 0},
{4, 4, 4, 4, 4, 4},
{4, 4, 1, 1, 4, 4},
{4, 4, 1, 1, 4, 4},
... |
#include "abilities.h"
#include <assert.h>
#include <stdbool.h>
#include <stdlib.h>
#include <string.h>
#include <base/base.h>
#include <mechanics/mechanics.h>
static int
special_NPC_roll(struct rnd *rnd,
enum ability_flag flags,
enum ability_flag flag);
struct abilities *
abiliti... |
/**************************************************************************************************
**************************************************************************************************
BSD 3-Clause License (https://www.tldrlegal.com/l/bsd3)
Copyright (c) 2014 Andrés Solís Montero <http:... |
#if defined(__WIN32)
#include <SDL2/SDL_ttf.h>
#else
#include <SDL_ttf.h>
#endif
|
/*
Copyright (c) 2010-2011, BILD digital GmbH & Co. KG
All rights reserved.
BSD License
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
notic... |
/*
* CSS Media Query Evaluator
*
* Copyright (C) 2006 Kimmo Kinnunen <kimmo.t.kinnunen@nokia.com>.
*
* 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 copy... |
/**
* Copyright (c) 2015-present, Horcrux.
* All rights reserved.
*
* This source code is licensed under the MIT-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#import "ABI41_0_0RNSVGRenderableManager.h"
@interface ABI41_0_0RNSVGEllipseManager : ABI41_0_0RNSVGRenderableM... |
/*
Copyright (c) 1999 - 2010, Vodafone Group Services Ltd
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 condit... |
/*=========================================================================
Program: Visualization Toolkit
Module: vtkConeSource.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software is d... |
#ifndef IDC_STATIC
#define IDC_STATIC (-1)
#endif
#define IDC_EDIT1 1002
#define IDC_BROWSE1 1003
#define IDS_APP_TITLE 1004
#define IDR_TREEFROG_QT50_MSI 1050
#define IDR_TREEFROG_QT51_MSI 10... |
/**
*
* @file core_cplghe.c
*
* PLASMA core_blas kernel
* PLASMA is a software package provided by Univ. of Tennessee,
* Univ. of California Berkeley and Univ. of Colorado Denver
*
* @version 2.4.2
* @author Piotr Luszczek
* @author Pierre Lemarinier
* @author Mathieu Faverge
* @date 2010-11-15
* @gener... |
/** @file
Internal include file for Status Code Handler Driver.
Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>
(C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of... |
#include <stdio.h>
#include <string.h>
#include <unistd.h>
int main(int argc, char **argv){
if (argc<3 || argc>4) {
fprintf(stderr,"USAGE: ln [-s] file linkname\n");
return 1;
}
if (argc==3) {if (link(argv[1],argv[2])==-1){
perror("ln");
return 1;
} else return 0;}... |
// Copyright 2015 The Cobalt 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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by ap... |
/*
*
* Font_Handler.h
* Rad Adventure Development
*
* Created by Oliver Plunkett.
* Copyright 2010 Dunsany Interactive. All rights reserved.
*
*/
#ifndef FONT_HANDLER_H
#define FONT_HANDLER_H
#include "Font.h"
#define NUM_CHARS_PER_LINE 16
#define FONT_Y_START 0
#define FONT_X_SIZE 32
#define FONT_Y_SIZE 3... |
/*-
* Copyright (c) 2008 Isilon Inc http://www.isilon.com/
* Authors: Doug Rabson <dfr@rabson.org>
* Developed with Red Inc: Alfred Perlstein <alfred@freebsd.org>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:... |
/*
* This file is part of `et engine`
* Copyright 2009-2016 by Sergey Reznik
* Please, modify content only if you know what are you doing.
*
*/
#pragma once
#include <et/core/tasks.h>
#include <et/core/criticalsection.h>
namespace et
{
class TaskPool
{
public:
TaskPool();
~TaskPool();
... |
/*******************************************************************************
@file libisten_test.c
*//**
Tests the isten library
*******************************************************************************/
#include <stdio.h>
#include "libisten.h"
int
main(void)
{
int passT1 = 0;
int passT2 ... |
/*============================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center (DKFZ)
All rights reserved.
Use of this source code is governed by a 3-clause BSD license that can be
found in the LICENSE file.
=================... |
/*
Copyright (c) 2008-2013, Northwestern University
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice,
this list of conditions a... |
/*
Copyright (c) 1999 - 2010, Vodafone Group Services Ltd
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 condit... |
/**/
#include <stdio.h>
#include <math.h>
int main(void)
{
int num1, num2, num3, num4, num_smallest;
printf("Please enter 4 numbers separated by spaces > ");
scanf("%d%d%d%d",&num1,&num2,&num3,&num4);
if ((num1 < num2) && (num1 < num3) && (num1 < num4))
{
num_smallest = num1;
printf("%d is the... |
/*
* Copyright (c) 2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
#pragma once... |
/* $NetBSD: reloc.h,v 1.6 1996/10/07 03:15:03 jonathan Exp $ */
/*-
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met... |
//
// SDLRPCStruct.h
#import <Foundation/Foundation.h>
#import "NSNumber+NumberType.h"
NS_ASSUME_NONNULL_BEGIN
/// Superclass of all RPC-related structs and messages
@interface SDLRPCStruct : NSObject <NSCopying>
/// The store that contains RPC data
@property (strong, nonatomic, readonly) NSMutableDictionary<NSS... |
/*
* 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 <UIKit/UIKit.h>
#import <ABI44_0_0React/ABI44_0_0RCTComponentViewProtocol.h>
NS_ASSUME_NONNULL_BEGIN
/*
* Holds a nativ... |
#pragma once
#include "afxwin.h"
#include "ChannelAssignmentWnd.h"
// CConfigurationPage dialog
class CConfigurationPage : public CPropertyPage
{
DECLARE_DYNAMIC(CConfigurationPage)
public:
CConfigurationPage(COMMCONFIG *CommConfig, CString COMPortName);
virtual ~CConfigurationPage();
// Dialog Data
enum { IDD ... |
/*
BLIS
An object-based framework for developing high-performance BLAS-like
libraries.
Copyright (C) 2014, The University of Texas
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
- Redistributi... |
#ifndef VLR_VEHICLE_H_
#define VLR_VEHICLE_H_
#include "MKZ_constants.h"
#include "Global.h"
namespace vlr {
typedef struct {
int torque_mode;
double max_steering, max_throttle, max_brake, max_torque;
double max_wheel_angle, max_wheel_rate;
double steering_ratio, wheel_base, imu_to_cg_dist;
double a, b, ... |
/**
* Compile to WASM
*
* emcc sort.c -Os -s BINARYEN=1 -s WASM=1 -s SIDE_MODULE=1 -s EXPORTED_FUNCTIONS="['_sort', '_setup']" -o sort.wasm
*
* Compile to asm.js
*
* emcc sort.c -s EXPORTED_FUNCTIONS="['_sort', '_setup']" -O2 -s SIDE_MODULE=0 -s WASM=0 -o sort.asm.js
*
*/
#include <stdio.h>
void bubble_... |
//
// SMOPSyncProcess.h
// SM1Password Sync
//
// Created by sam on 3/18/13.
// Copyright 2013 Sam Marshall. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import "SMOPFunctions.h"
@protocol SMOPSyncProcessDelegate <NSObject>
-(void)syncItemNumber:(NSUInteger)item ofTotal:(NSUInteger)count;
@end
@interface SMO... |
/* Copyright (c) 2010-2019, Delft University of Technology
* All rigths reserved
*
* This file is part of the Tudat. Redistribution and use in source and
* binary forms, with or without modification, are permitted exclusively
* under the terms of the Modified BSD license. You should have received
*... |
// 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.
#ifndef MEDIA_LEARNING_IMPL_FISHER_IRIS_DATASET_H_
#define MEDIA_LEARNING_IMPL_FISHER_IRIS_DATASET_H_
#include <vector>
#include "base/memory/ref_counte... |
/*
* @HEADER
*
* ***********************************************************************
*
* Zoltan Toolkit for Load-balancing, Partitioning, Ordering and Coloring
* Copyright 2012 Sandia Corporation
*
* Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
* the U.S. Govern... |
#pragma once
#include <arpa/inet.h>
namespace hare {
namespace net {
namespace sockets {
int createNonblockingOrDie(sa_family_t family);
int connect(const int sockfd, const struct sockaddr *addr);
void bindOrDie(const int sockfd, const struct sockaddr *addr);
void listenOrDie(const int sockfd);
int accept(... |
/*
* 2007 2013 Copyright Northwestern University
*
* Distributed under the OSI-approved BSD 3-Clause License.
* See http://ncip.github.com/annotation-and-image-markup/LICENSE.txt for details.
*/
#ifndef _ALTOVA_INCLUDED_AIMXML_ALTOVA__ALTOVA_CreferencedDicomObjectCollectionType
#define _ALTOVA_INCLUDED_AI... |
// 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 MOJO_PUBLIC_CPP_BINDINGS_STRING_TRAITS_STRING_PIECE_H_
#define MOJO_PUBLIC_CPP_BINDINGS_STRING_TRAITS_STRING_PIECE_H_
#include "base/strings/stri... |
/*
* Copyright 2008 The Native Client Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can
* be found in the LICENSE file.
*/
// Portable representation of scriptable NaClDesc.
#ifndef NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_DESC_BASED_HANDLE_H_
#define NATIVE_CLIENT_SRC_TR... |
/*
* File: wbt_mq_cluster.c
* Author: fcten
*
* Created on 2017年6月9日, 下午7:16
*/
#include "wbt_mq_cluster.h" |
/* manually created file to be able to use pomp2_region_info.* files
* from OPARI2 component */
#if !defined(__STDC_VERSION__) || (__STDC_VERSION__ < 199901L)
/* Translator is not ISO/IEC 9899:1999-compliant. */
#if !defined(restrict)
#define restrict
#endif
#endif
|
/* $NetBSD: intr.h,v 1.5 1996/05/13 06:11:28 mycroft Exp $ */
/*
* Copyright (c) 1996 Charles M. Hannum. 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... |
/* Standard includes. */
#include <stdio.h>
#include "AHRS.h"
#include "OSConfig.h"
/* Library includes. */
#include "spi.h"
#include "ledTask.h"
#include "flashTask.h"
#include "AHRSEKF.h"
/*
* Configure the clocks, GPIO and other peripherals as required by the demo.
*/
static void prvSetupHardware( void );
int ... |
/**
* Copyright (c) 2015-present, Horcrux.
* All rights reserved.
*
* This source code is licensed under the MIT-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#import <Foundation/Foundation.h>
#import "ABI38_0_0RNSVGGroup.h"
@interface ABI38_0_0RNSVGText : ABI38_0_0RNSV... |
#pragma once
#include "Entity/Component.h"
#include "Scene3D/Entity.h"
#include "Reflection/Reflection.h"
namespace DAVA
{
class SnapToLandscapeControllerComponent : public Component
{
public:
SnapToLandscapeControllerComponent();
Component* Clone(Entity* toEntity) override;
void Serialize(KeyedArchive* ... |
// Copyright (c) 2011 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_COMMON_NATIVE_WEB_KEYBOARD_EVENT_H_
#define CONTENT_COMMON_NATIVE_WEB_KEYBOARD_EVENT_H_
#pragma once
#include "base/basictypes.h"
#in... |
/*
* $Id: XMMainWindowController.h,v 1.14 2008/10/24 12:22:02 hfriederich Exp $
*
* Copyright (c) 2005-2008 XMeeting Project ("http://xmeeting.sf.net").
* All rights reserved.
* Copyright (c) 2005-2008 Hannes Friederich. All rights reserved.
*/
#ifndef __XM_MAIN_WINDOW_CONTROLLER_H__
#define __XM_MAIN_WINDOW_CON... |
/*
*
* All codes and statements are licensed equally to the lib-c-generic library.
*
*
*
* compile with built library:
* gcc -i<pathToLibcgeneric> <pathToLibcgeneric>/libs/libcgen.a tutorial.c -o tutorial
*
*
* compile with installed library:
* gcc -lcgeneric tutorial.c -o tutorial
*
*
*/
//incl... |
// Copyright 2004-present Facebook. All Rights Reserved.
#pragma once
#include "yarpl/Refcounted.h"
#include "yarpl/observable/Subscriptions.h"
#include <folly/ExceptionWrapper.h>
#include <glog/logging.h>
namespace yarpl {
namespace observable {
template <typename T>
class Observer : public virtual Refcounted, p... |
#import <UIKit/UIKit.h>
@interface bsKeyboard : NSObject
+ (void)hideKeyboard;
+ (void)__hideKeyboardRecursion:(UIView *)view;
@end
|
/* $NetBSD: db_interface.c,v 1.25 1998/07/04 22:18:27 jonathan Exp $ */
/*
* Mach Operating System
* Copyright (c) 1992 Carnegie Mellon University
* All Rights Reserved.
*
* Permission to use, copy, modify and distribute this software and its
* documentation is hereby granted, provided that both the copyright
... |
// 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.
#ifndef COMPONENTS_DOWNLOAD_DATABASE_DOWNLOAD_DB_IMPL_H_
#define COMPONENTS_DOWNLOAD_DATABASE_DOWNLOAD_DB_IMPL_H_
#include <string>
#include <vector>
#i... |
/* $OpenBSD: conf.c,v 1.2 1997/09/14 07:02:05 downsj Exp $ */
/* $NetBSD: conf.c,v 1.12 1996/10/14 07:29:15 thorpej Exp $ */
/*
* Copyright (c) 1982, 1986, 1990, 1993
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modif... |
/**
* \file premake.h
* \brief Program-wide constants and definitions.
* \author Copyright (c) 2002-2015 Jason Perkins and the Premake project
*/
#define lua_c
#include "lua.h"
#include "lauxlib.h"
#include "lualib.h"
#define PREMAKE_VERSION "5.0.0-dev"
#define PREMAKE_COPYRIGHT "Copyright (C) 2002... |
#ifndef _PLUGIN_REGISTRATION_H_INCLUDED_
#define _PLUGIN_REGISTRATION_H_INCLUDED_
#include "OPS_Core/Plugins/IPlugin.h"
#include <string>
typedef OPS::Core::IPlugin& (*PluginInstanceFunction)();
void registerStaticPluginInstanceFunction(const std::string& pluginName,
PluginInstanceFunction pluginInstanceFunction);... |
/*
* Copyright (C) 2013 Motorola Mobility LLC. 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 lis... |
/******************************************************************************
**
** Copyright (C) 2009-2011 Kyle Lutz <kyle.r.lutz@gmail.com>
** All rights reserved.
**
** This file is a part of the chemkit project. For more information
** see <http://www.chemkit.org>.
**
** Redistribution and use in source and binar... |
// 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 DEVICE_GAMEPAD_GAMEPAD_MONITOR_H_
#define DEVICE_GAMEPAD_GAMEPAD_MONITOR_H_
#include "base/compiler_specific.h"
#include "base/macros.h"
#inc... |
/*-
* Copyright (c) 1998 Doug Rabson <dfr@freebsd.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:
* 1. Redistributions of source code must retain the above copyright
* notice, th... |
// 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 UI_VIEWS_BUBBLE_BUBBLE_FRAME_VIEW_H_
#define UI_VIEWS_BUBBLE_BUBBLE_FRAME_VIEW_H_
#include "base/basictypes.h"
#include "base/compiler_specif... |
// Copyright (c) 2011 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_PROFILES_PROFILE_INFO_INTERFACE_H_
#define CHROME_BROWSER_PROFILES_PROFILE_INFO_INTERFACE_H_
#include "base/files/file_path.h"... |
//
// ViewController.h
// Blomaga
//
// Created by mtgto on 1/26/13.
// Copyright (c) 2013 mtgto. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "ShowURLDelegate.h"
@interface ViewController : UIViewController<UIWebViewDelegate, ShowURLDelegate>
@property (weak, nonatomic) IBOutlet UIWebView *webView;
- ... |
/*
Project : Wolf Engine. Copyright(c) Pooya Eimandar (http://PooyaEimandar.com) . All rights reserved.
Source : Please direct any bug to https://github.com/PooyaEimandar/Wolf.Engine/issues
Website : http://WolfSource.io
Name : scene.h
Description : The media player of Wolf.Engine, the media sample i... |
//
// SRCustomSwitch.h
// CustomUISwitch
//
// Created by 郭伟林 on 2017/6/28.
// Copyright © 2017年 SR. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface SRCustomSwitch : UIView
@property (nonatomic, strong) UIColor *onDotColor;
@property (nonatomic, strong) UIColor *onBarColor;
@property (nonatomic, stro... |
#pragma once
#include "game/Window.h"
#include "game/Cursor.h"
#include "game/gui/GuiWindowButton.h"
class GuiComponent;
class GameWindow;
class MainMenuWindow : public Window {
public:
// Ctor and dtor ///////////////////////////////////////////////////////////
// Ctor for a MainMenuWindow
// playWindow - Wind... |
/* For use in comm programs written in Lattice C; allows calling XProtocol
library functions directly without glue routines. */
long XProtocolCleanup(struct XPR_IO *);
long XProtocolSetup(struct XPR_IO *);
long XProtocolSend(struct XPR_IO *);
long XProtocolReceive(struct XPR_IO *);
#ifdef __GNUC__
# include "inlin... |
extern std::wstring g_datapath;
|
// RUN: %ucc -DS_OR_U=struct %s; [ $? -ne 0 ]
// RUN: %ucc -DS_OR_U=union %s -o %t
// RUN: %t; [ $? -eq 1 ]
union f;
#define DECAY(x) (0, x)
main()
{
return _Generic(
DECAY(*(__typeof((*(struct A { int (*i)(union f); } *)0).i))0)
, char: 5, int (*)(S_OR_U f): 1);
}
|
#ifndef COMMON_VECTOR_TYPES
#define COMMON_VECTOR_TYPES
#include "VM/types.h"
#include "templates/tvec2d.h"
#include "templates/tvec3d.h"
#include "templates/tvec4d.h"
namespace anl
{
//typedef rhs4D<float> SRGBA;
struct SRGBA
{
SRGBA() : r(0), g(0), b(0), a(0){}
SRGBA(int al) : r(a), g(a), b(a), a(al) {}
... |
/*
Text Designer Outline Text Library
Copyright (c) 2009 Wong Shao Voon
The Code Project Open License (CPOL)
http://www.codeproject.com/info/cpol10.aspx
*/
#ifndef _TEXTGRADOUTLINESTRATEGY_H_
#define _TEXTGRADOUTLINESTRATEGY_H_
#include <Gdiplus.h>
#include <vector>
#include "TextImplGetHeight.h"
namespace TextDe... |
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by XMLSign.rc
//
#define IDS_PROJNAME 100
#define IDR_SIGNATURE 101
#define IDC_SIGOK 101
#define IDR_CERTIFICATE 102
#define IDS_SIGNEW 102
#defi... |
/* Generated by CIL v. 1.7.0 */
/* print_CIL_Input is false */
struct _IO_FILE;
struct timeval;
extern float strtof(char const *str , char const *endptr ) ;
extern void signal(int sig , void *func ) ;
typedef struct _IO_FILE FILE;
extern int atoi(char const *s ) ;
extern double strtod(char const *str , char co... |
int test ();
|
#pragma once
#include "DataFrame.h"
#include "Mess.h"
/*
完成下面数据模型的实现:
1.数据库表的实现
2.数据条目的实现
*/
/*****************数据库表************/
/*
为了数据库文件的实现方便,需要添加一个隐藏列_ROW_STATE_TAG_来表示某行是否被删除
*/
class Table : public DataFrame {
Table(); //所有表都默认有一个_ROW_STATE_TAG_列来标记某行是否被删除
Bytes toByt... |
/*-------------------------------------------------------------------------
*
* getaddrinfo.h
* Support getaddrinfo() on platforms that don't have it.
*
* Note: we use our own routines on platforms that don't HAVE_STRUCT_ADDRINFO,
* whether or not the library routine getaddrinfo() can be found. This
* policy ... |
/**
******************************************************************************
* @file IWDG/stm32f4xx_it.c
* @author MCD Application Team
* @version V1.0.0
* @date 19-September-2011
* @brief Main Interrupt Service Routines.
* This file provides template for all exceptions handler an... |
//
// Copyright 2020 Staysail Systems, Inc. <info@staysail.tech>
// Copyright 2018 Capitar IT Group BV <info@capitar.com>
//
// This software is supplied under the terms of the MIT License, a
// copy of which should be located in the distribution where this
// file was obtained (LICENSE.txt). A copy of the license may... |
//
// SyncanoResponse_Notifications.h
// Syncano
//
// Created by Syncano Inc. on 09/01/14.
// Copyright (c) 2014 Syncano Inc. All rights reserved.
//
#import "SyncanoResponse.h"
@interface SyncanoResponse_Notifications_GetHistory : SyncanoResponse
/**
Requested list of notification history entries
*/
@proper... |
/**
* \file
*
* \brief Configuration file for the timeout example
*
* Copyright (C) 2014 Atmel Corporation. All rights reserved.
*
* \asf_license_start
*
* \page License
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following condition... |
/*
* Generated by class-dump 3.4 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2012 by Steve Nygard.
*/
#import "NSObject.h"
@class NSString;
@interface NSObject (IDEModelObjectConformanceString)
@property(readonly) NSString *navigableItem_conformanceString;
@end
|
/**************************************************************************
*
* Copyright 2009 VMware, 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 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "lice... |
#include "pysam.h"
#include <stdlib.h>
#include <string.h>
#include "bam.h"
// currently, this function ONLY works if each read has one hit
void bam_mating_core(bamFile in, bamFile out)
{
bam_header_t *header;
bam1_t *b[2];
int curr, has_prev;
header = bam_header_read(in);
bam_header_write(out, header);
b[0] ... |
/**
* \file
*
* \brief FreeRTOS demo application configuration file.
*
* Copyright (C) 2014 Atmel Corporation. All rights reserved.
*
* \asf_license_start
*
* \page License
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following condit... |
#include <stdio.h>
#include <stdlib.h>
#define N 10000+100
int num[N];
int compare (const void *_a, const void *_b) {
int *a = (int*)_a;
int *b = (int*)_b;
return *a-*b;
}
int main() {
int n, q, t;
int i, j, c;
c = 1;
while (scanf ("%d%d", &n, &q) == 2) {
if (n == 0 && q == 0) break;
for (i=... |
#if defined(PEGASUS_OS_HPUX)
# include "UNIX_DeviceSAPImplementationPrivate_HPUX.h"
#elif defined(PEGASUS_OS_LINUX)
# include "UNIX_DeviceSAPImplementationPrivate_LINUX.h"
#elif defined(PEGASUS_OS_DARWIN)
# include "UNIX_DeviceSAPImplementationPrivate_DARWIN.h"
#elif defined(PEGASUS_OS_AIX)
# include "UNIX_DeviceSAPIm... |
//
// AFBrowserViewController.h
// AdformSDK
//
// Created by Vladas on 07/07/14.
// Copyright (c) 2014 adform. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
/**
Internal browser used for MRAID open function.
It opens an add from URL in a new modal viewController with web browser.
*/
... |
#pragma once
#include <string>
#include <vector>
#include <stdarg.h>
// todo: cstr versions
std::string NarrowString(const std::wstring& wide);
std::wstring WidenString(const std::string& narrow);
// Remove all trailing \n characters from the input string.
std::wstring StripTrailingEndl(const std::wstring& str);
std:... |
// This file is part of SWGANH which is released under the MIT license.
// See file LICENSE or go to http://swganh.com/LICENSE
#pragma once
#include <cstdint>
#include <string>
#include "swganh/byte_buffer.h"
#include "swganh_core/messages/obj_controller_message.h"
namespace swganh
{
namespace messages
{
namespace c... |
//%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... |
//
// CRViewController.h
// Criollo
//
// Created by Cătălin Stan on 5/17/14.
// Copyright (c) 2014 Catalin Stan. All rights reserved.
//
#import <Criollo/CRRouteController.h>
#import <Criollo/CRTypes.h>
#import <Foundation/Foundation.h>
@class CRView, CRRequest, CRResponse;
NS_ASSUME_NONNULL_BEGIN
@interface C... |
#ifndef __LINESTREAMBUFFER_H__
#define __LINESTREAMBUFFER_H__
class LineStreamBuffer
{
public:
template <typename T> LineStreamBuffer(T* object, void (T::*method)(const char* line))
{
m_target = new Target<T>(object, method);
}
~LineStreamBuffer()
{
Flush();
delete m_target;
}
void HandleText(const char... |
/*
本ソースリストは2017/11/2に下記からダウンロードしたものです。
改変部以外は原作者の権利が継続します。
https://learn.adafruit.com/096-mini-color-oled/wiring
2017/11/2 国野 亘
*/
// Font structures for newer Adafruit_GFX (1.1 and later).
// Example fonts are included in 'Fonts' directory.
// To use a font in your Arduino sketch, #include the corresponding .h
// ... |
/*
* mousedrv.c - Mouse handling for OS/2
*
* Written by
* Thomas Bretz <tbretz@uni-sw.gwdg.de>
*
* This file is part of VICE, the Versatile Commodore Emulator.
* See README for copyright notice.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Genera... |
/**
* \file base64.h
*
* Copyright (C) 2006-2010, Brainspark B.V.
*
* This file is part of PolarSSL (http://www.polarssl.org)
* Lead Maintainer: Paul Bakker <polarssl_maintainer at polarssl.org>
*
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under... |
#include <gb/gb.h>
#include <gb/console.h>
#include <stdio.h>
#include <string.h>
UBYTE vbl_cnt, tim_cnt;
void vbl()
{
/* Upon IRQ, interrupts are automatically disabled */
vbl_cnt++;
}
void tim()
{
/* Upon IRQ, interrupts are automatically disabled */
tim_cnt++;
}
void print_counter()
{
UBYTE cnt;
/* ... |
//
// Region+Extensions.h
// PinballMap
//
// Created by Frank Michael on 12/28/14.
// Copyright (c) 2014 Frank Michael Sanchez. All rights reserved.
//
#import "Region.h"
@interface Region (Extensions)
- (NSUInteger)numberOfLocations;
- (NSUInteger)numberOfLocalMachines;
@end
|
//
// RazeEffects.h
//
// Created by Rob Visentin on 4/17/15.
// Copyright (c) 2015 Raizlabs. All rights reserved.
//
#import <Foundation/Foundation.h>
FOUNDATION_EXPORT double RazeEffectsVersionNumber;
FOUNDATION_EXPORT const unsigned char RazeEffectsVersionString[];
#import <RazeEffects/RZXEffect.h>
#import <Ra... |
#pragma once
class fft {
public:
fft();
~fft();
/* Calculate the power spectrum */
void powerSpectrum(int start, int half, float *data, int windowSize,float *magnitude,float *phase, float *power, float *avg_power);
/* ... the inverse */
void inversePowerSpectrum(int start, int half, int windowSize, float ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.