text
stringlengths 2
100k
| meta
dict |
---|---|
/*!
* @header BAKit.h
*
* @brief BAKit
*
* @author ๅ็ฑ
* @copyright Copyright ยฉ 2016ๅนด ๅ็ฑ. All rights reserved.
* @version V1.0
*/
// _ooOoo_
// o8888888o
// 88" . "88
// (| -_- |)
// O\ = /O
// ____/`---'\____
// . ' \\| |// `.
// / \\||| : |||// \
// / _||||| -:- |||||- \
// | | \\\ - /// | |
// | \_| ''\---/'' | |
// \ .-\__ `-` ___/-. /
// ___`. .' /--.--\ `. . __
// ."" '< `.___\_<|>_/___.' >'"".
// | | : `- \`.;`\ _ /`;.`/ - ` : | |
// \ \ `-. \_ __\ /__ _/ .-` / /
// ======`-.____`-.___\_____/___.-`____.-'======
// `=---='
//
// .............................................
// ไฝ็ฅ้ๆฅผ BUG่พๆ
// ไฝๆฐ:
// ๅๅญๆฅผ้ๅๅญ้ด๏ผๅๅญ้ด้็จๅบๅ๏ผ
// ็จๅบไบบๅๅ็จๅบ๏ผๅๆฟ็จๅบๆข้
้ฑใ
// ้
้ๅชๅจ็ฝไธๅ๏ผ้
้่ฟๆฅ็ฝไธ็ ๏ผ
// ้
้้
้ๆฅๅคๆฅ๏ผ็ฝไธ็ฝไธๅนดๅคๅนดใ
// ไฝๆฟ่ๆญป็ต่้ด๏ผไธๆฟ้ ่บฌ่ๆฟๅ๏ผ
// ๅฅ้ฉฐๅฎ้ฉฌ่ดต่
่ถฃ๏ผๅ
ฌไบค่ช่ก็จๅบๅใ
// ๅซไบบ็ฌๆๅฟ็ฏ็ซ๏ผๆ็ฌ่ชๅทฑๅฝๅคช่ดฑ๏ผ
// ไธ่งๆปก่กๆผไบฎๅฆน๏ผๅชไธชๅฝๅพ็จๅบๅ๏ผ
/*
*********************************************************************************
*
* ๅจไฝฟ็จ BAKit ็่ฟ็จไธญๅฆๆๅบ็ฐ bug ่ฏทๅๆถไปฅไปฅไธไปปๆไธ็งๆนๅผ่็ณปๆ๏ผๆไผๅๆถไฟฎๅค bug
*
* QQ : ๅฏไปฅๆทปๅ iosๅผๅๆๆฏ็พค 479663605 ๅจ่ฟ้ๆพๅฐๆ(ๅ็ฑ1616ใ137361770ใ)
* ๅพฎๅ : ๅ็ฑ1616
* Email : [email protected]
* GitHub : https://github.com/boai
* BAHome : https://github.com/BAHome
* ๅๅฎข : http://boaihome.com
*********************************************************************************
*/
#ifndef BAKit_ConfigurationDefine_h
#define BAKit_ConfigurationDefine_h
#ifndef __OPTIMIZE__
#define NSLog(...) NSLog(__VA_ARGS__)
#else
#define NSLog(...){}
#endif
#pragma mark - weak / strong
#define BAKit_WeakSelf @BAKit_Weakify(self);
#define BAKit_StrongSelf @BAKit_Strongify(self);
/*๏ผ
* ๅผบๅผฑๅผ็จ่ฝฌๆข๏ผ็จไบ่งฃๅณไปฃ็ ๅ๏ผblock๏ผไธๅผบๅผ็จselfไน้ด็ๅพช็ฏๅผ็จ้ฎ้ข
* ่ฐ็จๆนๅผ: `@BAKit_Weakify`ๅฎ็ฐๅผฑๅผ็จ่ฝฌๆข๏ผ`@BAKit_Strongify`ๅฎ็ฐๅผบๅผ็จ่ฝฌๆข
*
* ็คบไพ๏ผ
* @BAKit_Weakify
* [obj block:^{
* @strongify_self
* self.property = something;
* }];
*/
#ifndef BAKit_Weakify
#if DEBUG
#if __has_feature(objc_arc)
#define BAKit_Weakify(object) autoreleasepool{} __weak __typeof__(object) weak##_##object = object;
#else
#define BAKit_Weakify(object) autoreleasepool{} __block __typeof__(object) block##_##object = object;
#endif
#else
#if __has_feature(objc_arc)
#define BAKit_Weakify(object) try{} @finally{} {} __weak __typeof__(object) weak##_##object = object;
#else
#define BAKit_Weakify(object) try{} @finally{} {} __block __typeof__(object) block##_##object = object;
#endif
#endif
#endif
/*๏ผ
* ๅผบๅผฑๅผ็จ่ฝฌๆข๏ผ็จไบ่งฃๅณไปฃ็ ๅ๏ผblock๏ผไธๅผบๅผ็จๅฏน่ฑกไน้ด็ๅพช็ฏๅผ็จ้ฎ้ข
* ่ฐ็จๆนๅผ: `@BAKit_Weakify(object)`ๅฎ็ฐๅผฑๅผ็จ่ฝฌๆข๏ผ`@BAKit_Strongify(object)`ๅฎ็ฐๅผบๅผ็จ่ฝฌๆข
*
* ็คบไพ๏ผ
* @BAKit_Weakify(object)
* [obj block:^{
* @BAKit_Strongify(object)
* strong_object = something;
* }];
*/
#ifndef BAKit_Strongify
#if DEBUG
#if __has_feature(objc_arc)
#define BAKit_Strongify(object) autoreleasepool{} __typeof__(object) object = weak##_##object;
#else
#define BAKit_Strongify(object) autoreleasepool{} __typeof__(object) object = block##_##object;
#endif
#else
#if __has_feature(objc_arc)
#define BAKit_Strongify(object) try{} @finally{} __typeof__(object) object = weak##_##object;
#else
#define BAKit_Strongify(object) try{} @finally{} __typeof__(object) object = block##_##object;
#endif
#endif
#endif
/*! ่ทๅsharedApplication */
#define BAKit_SharedApplication [UIApplication sharedApplication]
// ๆไฝ็ณป็ป็ๆฌๅท
#define BAKit_IOS_VERSION ([[[UIDevice currentDevice] systemVersion] floatValue])
/*! ไธป็บฟ็จๅๆญฅ้ๅ */
#define dispatch_main_sync_safe(block)\
if ([NSThread isMainThread]) {\
block();\
} else {\
dispatch_sync(dispatch_get_main_queue(), block);\
}
/*! ไธป็บฟ็จๅผๆญฅ้ๅ */
#define dispatch_main_async_safe(block)\
if ([NSThread isMainThread]) {\
block();\
} else {\
dispatch_async(dispatch_get_main_queue(), block);\
}
#pragma mark - runtime
#import <objc/runtime.h>
/*! runtime set */
#define BAKit_Objc_setObj(key, value) objc_setAssociatedObject(self, key, value, OBJC_ASSOCIATION_RETAIN_NONATOMIC)
/*! runtime setCopy */
#define BAKit_Objc_setObjCOPY(key, value) objc_setAssociatedObject(self, key, value, OBJC_ASSOCIATION_COPY)
/*! runtime get */
#define BAKit_Objc_getObj objc_getAssociatedObject(self, _cmd)
/*! runtime exchangeMethod */
#define BAKit_Objc_exchangeMethodAToB(originalSelector,swizzledSelector) { \
Method originalMethod = class_getInstanceMethod(self, originalSelector); \
Method swizzledMethod = class_getInstanceMethod(self, swizzledSelector); \
if (class_addMethod(self, originalSelector, method_getImplementation(swizzledMethod), method_getTypeEncoding(swizzledMethod))) { \
class_replaceMethod(self, swizzledSelector, method_getImplementation(originalMethod), method_getTypeEncoding(originalMethod)); \
} else { \
method_exchangeImplementations(originalMethod, swizzledMethod); \
} \
}
#pragma mark - ็ฎๅ่ญฆๅๆก
/*! view ็จ BAKit_ShowAlertWithMsg */
#define BAKit_ShowAlertWithMsg(msg) [[[UIAlertView alloc] initWithTitle:@"ๆธฉ้ฆจๆ็คบ" message:(msg) delegate:nil cancelButtonTitle:@"็กฎ ๅฎ" otherButtonTitles:nil] show];
/*! VC ็จ BAKit_ShowAlertWithMsg */
#define BAKit_ShowAlertWithMsg_ios8(msg) UIAlertController *alert = [UIAlertController alertControllerWithTitle:@"ๆธฉ้ฆจๆ็คบ" message:msg preferredStyle:UIAlertControllerStyleAlert];\
UIAlertAction *sureAction = [UIAlertAction actionWithTitle:@"็กฎ ๅฎ" style:UIAlertActionStyleDefault handler:nil];\
[alert addAction:sureAction];\
[self presentViewController:alert animated:YES completion:nil];
#pragma mark - color
CG_INLINE UIColor *
BAKit_Color_RGBA_pod(u_char r,u_char g, u_char b, u_char a) {
return [UIColor colorWithRed:r/255.0f green:g/255.0f blue:b/255.0f alpha:a];
}
CG_INLINE UIColor *
BAKit_Color_RGB_pod(u_char r,u_char g, u_char b) {
return BAKit_Color_RGBA_pod(r, g, b, 1.0);
}
CG_INLINE UIColor *
BAKit_Color_RGBValue_pod(UInt32 rgbValue){
return [UIColor colorWithRed:((rgbValue & 0xff0000) >> 16) / 255.0f
green:((rgbValue & 0xff00) >> 8) / 255.0f
blue:(rgbValue & 0xff) / 255.0f
alpha:1.0f];
}
CG_INLINE UIColor *
BAKit_Color_RGBAValue_pod(UInt32 rgbaValue){
return [UIColor colorWithRed:((rgbaValue & 0xff000000) >> 24) / 255.0f
green:((rgbaValue & 0xff0000) >> 16) / 255.0f
blue:((rgbaValue & 0xff00) >> 8) / 255.0f
alpha:(rgbaValue & 0xff) / 255.0f];
}
CG_INLINE UIColor *
BAKit_Color_RandomRGB_pod(){
return BAKit_Color_RGBValue_pod(arc4random_uniform(0xffffff));
}
CG_INLINE UIColor *
BAKit_Color_RandomRGBA_pod(){
return BAKit_Color_RGBAValue_pod(arc4random_uniform(0xffffffff));
}
#define BAKit_Color_Translucent_pod [UIColor colorWithRed:0.3f green:0.3f blue:0.3f alpha:0.5f]
#define BAKit_Color_White_pod [UIColor whiteColor]
#define BAKit_Color_Clear_pod [UIColor clearColor]
#define BAKit_Color_Black_pod [UIColor blackColor]
#define BAKit_Color_White_pod [UIColor whiteColor]
#define BAKit_Color_Red_pod [UIColor redColor]
#define BAKit_Color_Green_pod [UIColor greenColor]
#define BAKit_Color_Orange_pod [UIColor orangeColor]
#define BAKit_Color_Yellow_pod [UIColor yellowColor]
/*! ็ฐ่ฒ */
#define BAKit_Color_Gray_1_pod BAKit_Color_RGB_pod(53, 60, 70)
#define BAKit_Color_Gray_2_pod BAKit_Color_RGB_pod(73, 80, 90)
#define BAKit_Color_Gray_3_pod BAKit_Color_RGB_pod(93, 100, 110)
#define BAKit_Color_Gray_4_pod BAKit_Color_RGB_pod(113, 120, 130)
#define BAKit_Color_Gray_5_pod BAKit_Color_RGB_pod(133, 140, 150)
#define BAKit_Color_Gray_6_pod BAKit_Color_RGB_pod(153, 160, 170)
#define BAKit_Color_Gray_7_pod BAKit_Color_RGB_pod(173, 180, 190)
#define BAKit_Color_Gray_8_pod BAKit_Color_RGB_pod(196, 200, 208)
#define BAKit_Color_Gray_9_pod BAKit_Color_RGB_pod(216, 220, 228)
#define BAKit_Color_Gray_10_pod BAKit_Color_RGB_pod(240, 240, 240)
#define BAKit_Color_Gray_11_pod BAKit_Color_RGB_pod(248, 248, 248)
#pragma mark - Margin
#define BAKit_Margin_1_pod BAKit_Flat_pod(1)
#define BAKit_Margin_2_pod BAKit_Flat_pod(2)
#define BAKit_Margin_5_pod BAKit_Flat_pod(5)
#define BAKit_Margin_10_pod BAKit_Flat_pod(10)
#define BAKit_Margin_15_pod BAKit_Flat_pod(15)
#define BAKit_Margin_20_pod BAKit_Flat_pod(20)
#define BAKit_Margin_25_pod BAKit_Flat_pod(25)
#define BAKit_Margin_30_pod BAKit_Flat_pod(30)
#define BAKit_Margin_35_pod BAKit_Flat_pod(35)
#define BAKit_Margin_40_pod BAKit_Flat_pod(40)
#define BAKit_Margin_44_pod BAKit_Flat_pod(44)
#define BAKit_Margin_50_pod BAKit_Flat_pod(50)
#define BAKit_Margin_100_pod BAKit_Flat_pod(100)
#define BAKit_Margin_150_pod BAKit_Flat_pod(150)
#define BAKit_ImageName(imageName) [UIImage imageNamed:imageName]
#pragma mark - NotiCenter other
#define BAKit_NotiCenter [NSNotificationCenter defaultCenter]
#define BAKit_NSUserDefaults [NSUserDefaults standardUserDefaults]
/*! ่ทๅsharedApplication */
#define BAKit_SharedApplication [UIApplication sharedApplication]
/*! ็จsafariๆๅผURL */
#define BAKit_OpenUrl(urlStr) [BAKit_SharedApplication openURL:[NSURL URLWithString:urlStr]]
/*! ๅคๅถๆๅญๅ
ๅฎน */
#define BAKit_CopyContent(content) [[UIPasteboard generalPasteboard] setString:content]
/*!
* ่ทๅๅฑๅนๅฎฝๅบฆๅ้ซๅบฆ
*/
#define BAKit_SCREEN_WIDTH ((([UIApplication sharedApplication].statusBarOrientation == UIInterfaceOrientationPortrait) || ([UIApplication sharedApplication].statusBarOrientation == UIInterfaceOrientationPortraitUpsideDown)) ? [[UIScreen mainScreen] bounds].size.width : [[UIScreen mainScreen] bounds].size.height)
#define BAKit_SCREEN_HEIGHT ((([UIApplication sharedApplication].statusBarOrientation == UIInterfaceOrientationPortrait) || ([UIApplication sharedApplication].statusBarOrientation == UIInterfaceOrientationPortraitUpsideDown)) ? [[UIScreen mainScreen] bounds].size.height : [[UIScreen mainScreen] bounds].size.width)
// iOS 11.0 ็ view.safeAreaInsets
#define BAKit_ViewSafeAreaInsets(view) ({UIEdgeInsets i; if(@available(iOS 11.0, *)) {i = view.safeAreaInsets;} else {i = UIEdgeInsetsZero;} i;})
// iOS 11 ไธไธ็ scrollview ็้้
#define BAKit_AdjustsScrollViewInsetNever(controller,view) if(@available(iOS 11.0, *)) {view.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever;} else if([controller isKindOfClass:[UIViewController class]]) {controller.automaticallyAdjustsScrollViewInsets = false;}
#define BAKit_BaseScreenWidth 320.0f
#define BAKit_BaseScreenHeight 568.0f
/*! ๅฑๅน้้
๏ผ5Sๆ ๅๅฑๅน๏ผ320 * 568๏ผ */
// iPhone 7 ๅฑๅน๏ผ375 * 667
//376/320 =
//667/568 =
#define BAKit_ScaleXAndWidth BAKit_SCREEN_WIDTH/BAKit_BaseScreenWidth
#define BAKit_ScaleYAndHeight BAKit_SCREEN_HEIGHT/BAKit_BaseScreenHeight
#define BAKit_ScreenScale ([[UIScreen mainScreen] scale])
CG_INLINE BOOL
BAKit_stringIsBlank_pod(NSString *string) {
NSCharacterSet *blank = [NSCharacterSet whitespaceAndNewlineCharacterSet];
for (NSInteger i = 0; i < string.length; ++i) {
unichar c = [string characterAtIndex:i];
if (![blank characterIsMember:c]) {
return NO;
}
}
return YES;
}
/**
* ๅบไบๆๅฎ็ๅๆฐ๏ผๅฏนไผ ่ฟๆฅ็ floatValue ่ฟ่กๅ็ด ๅๆดใ่ฅๆๅฎๅๆฐไธบ0๏ผๅ่กจ็คบไปฅๅฝๅ่ฎพๅค็ๅฑๅนๅๆฐไธบๅใ
*
* ไพๅฆไผ ่ฟๆฅ โ2.1โ๏ผๅจ 2x ๅๆฐไธไผ่ฟๅ 2.5๏ผ0.5pt ๅฏนๅบ 1px๏ผ๏ผๅจ 3x ๅๆฐไธไผ่ฟๅ 2.333๏ผ0.333pt ๅฏนๅบ 1px๏ผใ
*/
CG_INLINE CGFloat
BAKit_FlatSpecificScale_pod(CGFloat floatValue, CGFloat scale) {
scale = scale == 0 ? BAKit_ScreenScale : scale;
CGFloat flattedValue = ceil(floatValue * scale) / scale;
return flattedValue;
}
/**
* ๅบไบๅฝๅ่ฎพๅค็ๅฑๅนๅๆฐ๏ผๅฏนไผ ่ฟๆฅ็ floatValue ่ฟ่กๅ็ด ๅๆดใ
*
* ๆณจๆๅฆๆๅจ Core Graphic ็ปๅพ้ไฝฟ็จๆถ๏ผ่ฆๆณจๆๅฝๅ็ปๅธ็ๅๆฐๆฏๅฆๅ่ฎพๅคๅฑๅนๅๆฐไธ่ด๏ผ่ฅไธไธ่ด๏ผไธๅฏไฝฟ็จ flat() ๅฝๆฐ๏ผ่ๅบ่ฏฅ็จ flatSpecificScale
*/
CG_INLINE CGFloat
BAKit_Flat_pod(CGFloat floatValue) {
return BAKit_FlatSpecificScale_pod(floatValue, 0);
}
/// ๅฐไธไธชCGSizeๅ็ด ๅฏน้ฝ
CG_INLINE CGSize
BAKit_CGSizeFlatted_pod(CGSize size) {
return CGSizeMake(BAKit_Flat_pod(size.width), BAKit_Flat_pod(size.height));
}
/// ๅๅปบไธไธชๅ็ด ๅฏน้ฝ็CGRect
CG_INLINE CGRect
BAKit_CGRectFlatMake_pod(CGFloat x, CGFloat y, CGFloat width, CGFloat height) {
return CGRectMake(BAKit_Flat_pod(x), BAKit_Flat_pod(y), BAKit_Flat_pod(width), BAKit_Flat_pod(height));
}
/**
่ฎก็ฎๅๆฐใๆ นๆฎ array.countใๆฏ่กๅคๅฐไธช item๏ผ่ฎก็ฎๅๆฐใ
@param array array
@param rowCount ๆฏ่กๅคๅฐไธช item
@return ๅๆฐ
*/
CG_INLINE NSInteger
BAKit_getColumnCountWithArrayAndRowCount_pod(NSArray *array, NSInteger rowCount){
NSUInteger count = array.count;
NSUInteger i = 0;
if (count % rowCount == 0) {
i = count / rowCount;
} else {
i = count / rowCount + 1;
}
return i;
}
#endif /* BAKit_ConfigurationDefine_h */
| {
"pile_set_name": "Github"
} |
drwxr-xr-x 0:0 1.2 MB โโโ bin
-rwxr-xr-x 0:0 1.1 MB โ โโโ [
-rwxr-xr-x 0:0 0 B โ โโโ [[ โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ acpid โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ add-shell โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ addgroup โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ adduser โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ adjtimex โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ ar โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ arch โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ arp โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ arping โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ ash โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ awk โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ base64 โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ basename โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ beep โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ blkdiscard โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ blkid โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ blockdev โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ bootchartd โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ brctl โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ bunzip2 โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ busybox โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ bzcat โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ bzip2 โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ cal โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ cat โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ chat โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ chattr โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ chgrp โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ chmod โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ chown โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ chpasswd โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ chpst โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ chroot โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ chrt โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ chvt โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ cksum โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ clear โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ cmp โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ comm โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ conspy โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ cp โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ cpio โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ crond โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ crontab โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ cryptpw โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ cttyhack โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ cut โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ date โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ dc โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ dd โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ deallocvt โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ delgroup โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ deluser โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ depmod โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ devmem โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ df โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ dhcprelay โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ diff โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ dirname โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ dmesg โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ dnsd โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ dnsdomainname โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ dos2unix โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ dpkg โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ dpkg-deb โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ du โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ dumpkmap โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ dumpleases โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ echo โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ ed โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ egrep โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ eject โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ env โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ envdir โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ envuidgid โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ ether-wake โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ expand โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ expr โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ factor โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ fakeidentd โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ fallocate โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ false โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ fatattr โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ fbset โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ fbsplash โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ fdflush โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ fdformat โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ fdisk โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ fgconsole โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ fgrep โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ find โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ findfs โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ flock โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ fold โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ free โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ freeramdisk โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ fsck โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ fsck.minix โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ fsfreeze โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ fstrim โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ fsync โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ ftpd โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ ftpget โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ ftpput โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ fuser โ bin/[
-rwxr-xr-x 0:0 78 kB โ โโโ getconf
-rwxr-xr-x 0:0 0 B โ โโโ getopt โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ getty โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ grep โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ groups โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ gunzip โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ gzip โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ halt โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ hd โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ hdparm โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ head โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ hexdump โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ hexedit โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ hostid โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ hostname โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ httpd โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ hush โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ hwclock โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ i2cdetect โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ i2cdump โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ i2cget โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ i2cset โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ id โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ ifconfig โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ ifdown โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ ifenslave โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ ifplugd โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ ifup โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ inetd โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ init โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ insmod โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ install โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ ionice โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ iostat โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ ip โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ ipaddr โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ ipcalc โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ ipcrm โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ ipcs โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ iplink โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ ipneigh โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ iproute โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ iprule โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ iptunnel โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ kbd_mode โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ kill โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ killall โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ killall5 โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ klogd โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ last โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ less โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ link โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ linux32 โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ linux64 โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ linuxrc โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ ln โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ loadfont โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ loadkmap โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ logger โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ login โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ logname โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ logread โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ losetup โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ lpd โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ lpq โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ lpr โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ ls โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ lsattr โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ lsmod โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ lsof โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ lspci โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ lsscsi โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ lsusb โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ lzcat โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ lzma โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ lzop โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ makedevs โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ makemime โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ man โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ md5sum โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ mdev โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ mesg โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ microcom โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ mkdir โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ mkdosfs โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ mke2fs โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ mkfifo โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ mkfs.ext2 โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ mkfs.minix โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ mkfs.vfat โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ mknod โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ mkpasswd โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ mkswap โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ mktemp โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ modinfo โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ modprobe โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ more โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ mount โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ mountpoint โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ mpstat โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ mt โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ mv โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ nameif โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ nanddump โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ nandwrite โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ nbd-client โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ nc โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ netstat โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ nice โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ nl โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ nmeter โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ nohup โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ nproc โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ nsenter โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ nslookup โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ ntpd โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ nuke โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ od โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ openvt โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ partprobe โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ passwd โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ paste โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ patch โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ pgrep โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ pidof โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ ping โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ ping6 โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ pipe_progress โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ pivot_root โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ pkill โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ pmap โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ popmaildir โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ poweroff โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ powertop โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ printenv โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ printf โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ ps โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ pscan โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ pstree โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ pwd โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ pwdx โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ raidautorun โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ rdate โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ rdev โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ readahead โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ readlink โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ readprofile โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ realpath โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ reboot โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ reformime โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ remove-shell โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ renice โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ reset โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ resize โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ resume โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ rev โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ rm โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ rmdir โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ rmmod โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ route โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ rpm โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ rpm2cpio โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ rtcwake โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ run-init โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ run-parts โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ runlevel โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ runsv โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ runsvdir โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ rx โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ script โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ scriptreplay โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ sed โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ sendmail โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ seq โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ setarch โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ setconsole โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ setfattr โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ setfont โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ setkeycodes โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ setlogcons โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ setpriv โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ setserial โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ setsid โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ setuidgid โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ sh โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ sha1sum โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ sha256sum โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ sha3sum โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ sha512sum โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ showkey โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ shred โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ shuf โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ slattach โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ sleep โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ smemcap โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ softlimit โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ sort โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ split โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ ssl_client โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ start-stop-daemon โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ stat โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ strings โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ stty โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ su โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ sulogin โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ sum โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ sv โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ svc โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ svlogd โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ svok โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ swapoff โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ swapon โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ switch_root โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ sync โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ sysctl โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ syslogd โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ tac โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ tail โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ tar โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ taskset โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ tc โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ tcpsvd โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ tee โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ telnet โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ telnetd โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ test โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ tftp โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ tftpd โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ time โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ timeout โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ top โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ touch โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ tr โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ traceroute โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ traceroute6 โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ true โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ truncate โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ tty โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ ttysize โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ tunctl โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ ubiattach โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ ubidetach โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ ubimkvol โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ ubirename โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ ubirmvol โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ ubirsvol โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ ubiupdatevol โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ udhcpc โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ udhcpd โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ udpsvd โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ uevent โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ umount โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ uname โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ unexpand โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ uniq โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ unix2dos โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ unlink โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ unlzma โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ unshare โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ unxz โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ unzip โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ uptime โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ users โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ usleep โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ uudecode โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ uuencode โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ vconfig โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ vi โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ vlock โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ volname โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ w โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ wall โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ watch โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ watchdog โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ wc โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ wget โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ which โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ who โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ whoami โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ whois โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ xargs โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ xxd โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ xz โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ xzcat โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ yes โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ zcat โ bin/[
-rwxr-xr-x 0:0 0 B โ โโโ zcip โ bin/[
drwxr-xr-x 0:0 0 B โโโ dev
drwxr-xr-x 0:0 1.0 kB โโโ etc
-rw-rw-r-- 0:0 307 B โ โโโ group
-rw-r--r-- 0:0 127 B โ โโโ localtime
drwxr-xr-x 0:0 0 B โ โโโ network
drwxr-xr-x 0:0 0 B โ โ โโโ if-down.d
drwxr-xr-x 0:0 0 B โ โ โโโ if-post-down.d
drwxr-xr-x 0:0 0 B โ โ โโโ if-pre-up.d
drwxr-xr-x 0:0 0 B โ โ โโโ if-up.d
-rw-r--r-- 0:0 340 B โ โโโ passwd
-rw------- 0:0 243 B โ โโโ shadow
drwxr-xr-x 65534:65534 0 B โโโ home
drwx------ 0:0 0 B โโโ root
drwxrwxrwx 0:0 0 B โโโ tmp
drwxr-xr-x 0:0 0 B โโโ usr
drwxr-xr-x 1:1 0 B โ โโโ sbin
drwxr-xr-x 0:0 0 B โโโ var
drwxr-xr-x 0:0 0 B โโโ spool
drwxr-xr-x 8:8 0 B โ โโโ mail
drwxr-xr-x 0:0 0 B โโโ www
| {
"pile_set_name": "Github"
} |
package cty
import (
"fmt"
)
type typeSet struct {
typeImplSigil
ElementTypeT Type
}
// Set creates a set type with the given element Type.
//
// Set types are CollectionType implementations.
func Set(elem Type) Type {
return Type{
typeSet{
ElementTypeT: elem,
},
}
}
// Equals returns true if the other Type is a set whose element type is
// equal to that of the receiver.
func (t typeSet) Equals(other Type) bool {
ot, isSet := other.typeImpl.(typeSet)
if !isSet {
return false
}
return t.ElementTypeT.Equals(ot.ElementTypeT)
}
func (t typeSet) FriendlyName() string {
return "set of " + t.ElementTypeT.FriendlyName()
}
func (t typeSet) ElementType() Type {
return t.ElementTypeT
}
func (t typeSet) GoString() string {
return fmt.Sprintf("cty.Set(%#v)", t.ElementTypeT)
}
// IsSetType returns true if the given type is a list type, regardless of its
// element type.
func (t Type) IsSetType() bool {
_, ok := t.typeImpl.(typeSet)
return ok
}
// SetElementType is a convenience method that checks if the given type is
// a set type, returning a pointer to its element type if so and nil
// otherwise. This is intended to allow convenient conditional branches,
// like so:
//
// if et := t.SetElementType(); et != nil {
// // Do something with *et
// }
func (t Type) SetElementType() *Type {
if lt, ok := t.typeImpl.(typeSet); ok {
return <.ElementTypeT
}
return nil
}
| {
"pile_set_name": "Github"
} |
import React from "react";
import PropTypes from "prop-types";
import classNames from "classnames";
const NavPortfolioIcon = ({ className }) => (
<svg
viewBox="0 0 24 24"
className={classNames("nav-portfolio-icon", { [className]: className })}
>
<g
id="Symbols"
stroke="none"
strokeWidth="1"
fill="none"
fillRule="evenodd"
strokeLinecap="round"
strokeLinejoin="round"
>
<g id="Icon/Portfolio" stroke="#FFFFFF">
<path
d="M11.9999332,7.72416029 C13.2322058,7.72416029 13.6306535,7.72416029 14.8619543,7.72416029 C15.1603042,7.72416029 15.2516556,7.63475251 15.2516556,7.34320537 C15.2526274,6.65904142 15.2526274,6.59392923 15.2516556,5.90976528 C15.2516556,5.62988003 15.1544732,5.52783853 14.8784753,5.52783853 C12.4012964,5.52589488 11.5907954,5.52589488 9.11361654,5.52783853 C8.84442135,5.52783853 8.74918262,5.62696456 8.74918262,5.8942161 C8.7482108,6.57157728 8.7482108,6.63085853 8.7482108,7.30821971 C8.7482108,7.64835804 8.8220694,7.72416029 9.15734861,7.72416029 L11.9999332,7.72416029 Z M11.9882713,20.9691467 C9.08057453,20.9691467 6.17287775,20.9681749 3.2661528,20.9701186 C2.79773373,20.9701186 2.39539868,20.8379505 2.16410462,20.4054889 C2.07469683,20.2402789 2.00764099,20.0391114 2.00764099,19.853493 C1.99792275,16.1838864 1.9998664,12.5133079 2.00083822,8.84175765 C2.00181004,8.18966389 2.49744018,7.72901941 3.20395607,7.72513212 C4.07859748,7.72124482 4.95129525,7.72416029 5.82496484,7.72416029 C6.14469486,7.72416029 6.22632806,7.64058345 6.22632806,7.3159943 C6.22729988,6.63085853 6.22632806,5.73289335 6.22729988,5.0487294 C6.22924353,3.87282261 7.04168822,3.01664585 8.21370771,3.00984309 C10.7355904,2.99623755 13.2594168,2.99720938 15.7822714,3.00984309 C16.9504036,3.01567403 17.7725665,3.87865356 17.7735383,5.04775758 C17.7745102,5.73872429 17.7735383,6.64349224 17.7735383,7.33543078 C17.7745102,7.6425271 17.8561434,7.72416029 18.1710143,7.72416029 C19.043712,7.72416029 19.9173816,7.72124482 20.7910512,7.72513212 C21.4091311,7.72804759 21.8542264,8.06915774 21.9776481,8.62892824 C21.9961127,8.71639238 21.9990282,8.80968747 21.9990282,8.90006708 C22,12.5123361 22,16.1236333 22,19.7359023 C22,20.4890658 21.5451865,20.9584567 20.7900794,20.9672031 C20.1904641,20.9749777 19.5908488,20.9691467 18.9902617,20.9691467 L11.9882713,20.9691467 Z"
id="Page-1"
/>
</g>
</g>
</svg>
);
export default NavPortfolioIcon;
NavPortfolioIcon.propTypes = {
className: PropTypes.string
};
NavPortfolioIcon.defaultProps = {
className: null
};
| {
"pile_set_name": "Github"
} |
/*
This file is part of Ext JS 4.2
Copyright (c) 2011-2013 Sencha Inc
Contact: http://www.sencha.com/contact
GNU General Public License Usage
This file may be used under the terms of the GNU General Public License version 3.0 as
published by the Free Software Foundation and appearing in the file LICENSE included in the
packaging of this file.
Please review the following information to ensure the GNU General Public License version 3.0
requirements will be met: http://www.gnu.org/copyleft/gpl.html.
If you are unsure which license is appropriate for your use, please contact the sales department
at http://www.sencha.com/contact.
Build date: 2013-05-16 14:36:50 (f9be68accb407158ba2b1be2c226a6ce1f649314)
*/
/**
* @class Ext.chart.series.Line
* @extends Ext.chart.series.Cartesian
*
* Creates a Line Chart. A Line Chart is a useful visualization technique to display quantitative information for different
* categories or other real values (as opposed to the bar chart), that can show some progression (or regression) in the dataset.
* As with all other series, the Line Series must be appended in the *series* Chart array configuration. See the Chart
* documentation for more information. A typical configuration object for the line series could be:
*
* @example
* var store = Ext.create('Ext.data.JsonStore', {
* fields: ['name', 'data1', 'data2', 'data3', 'data4', 'data5'],
* data: [
* { 'name': 'metric one', 'data1': 10, 'data2': 12, 'data3': 14, 'data4': 8, 'data5': 13 },
* { 'name': 'metric two', 'data1': 7, 'data2': 8, 'data3': 16, 'data4': 10, 'data5': 3 },
* { 'name': 'metric three', 'data1': 5, 'data2': 2, 'data3': 14, 'data4': 12, 'data5': 7 },
* { 'name': 'metric four', 'data1': 2, 'data2': 14, 'data3': 6, 'data4': 1, 'data5': 23 },
* { 'name': 'metric five', 'data1': 4, 'data2': 4, 'data3': 36, 'data4': 13, 'data5': 33 }
* ]
* });
*
* Ext.create('Ext.chart.Chart', {
* renderTo: Ext.getBody(),
* width: 500,
* height: 300,
* animate: true,
* store: store,
* axes: [
* {
* type: 'Numeric',
* position: 'left',
* fields: ['data1', 'data2'],
* label: {
* renderer: Ext.util.Format.numberRenderer('0,0')
* },
* title: 'Sample Values',
* grid: true,
* minimum: 0
* },
* {
* type: 'Category',
* position: 'bottom',
* fields: ['name'],
* title: 'Sample Metrics'
* }
* ],
* series: [
* {
* type: 'line',
* highlight: {
* size: 7,
* radius: 7
* },
* axis: 'left',
* xField: 'name',
* yField: 'data1',
* markerConfig: {
* type: 'cross',
* size: 4,
* radius: 4,
* 'stroke-width': 0
* }
* },
* {
* type: 'line',
* highlight: {
* size: 7,
* radius: 7
* },
* axis: 'left',
* fill: true,
* xField: 'name',
* yField: 'data2',
* markerConfig: {
* type: 'circle',
* size: 4,
* radius: 4,
* 'stroke-width': 0
* }
* }
* ]
* });
*
* In this configuration we're adding two series (or lines), one bound to the `data1`
* property of the store and the other to `data3`. The type for both configurations is
* `line`. The `xField` for both series is the same, the name propert of the store.
* Both line series share the same axis, the left axis. You can set particular marker
* configuration by adding properties onto the markerConfig object. Both series have
* an object as highlight so that markers animate smoothly to the properties in highlight
* when hovered. The second series has `fill=true` which means that the line will also
* have an area below it of the same color.
*
* **Note:** In the series definition remember to explicitly set the axis to bind the
* values of the line series to. This can be done by using the `axis` configuration property.
*/
Ext.define('Ext.chart.series.Line', {
/* Begin Definitions */
extend: 'Ext.chart.series.Cartesian',
alternateClassName: ['Ext.chart.LineSeries', 'Ext.chart.LineChart'],
requires: ['Ext.chart.axis.Axis', 'Ext.chart.Shape', 'Ext.draw.Draw', 'Ext.fx.Anim'],
/* End Definitions */
type: 'line',
alias: 'series.line',
/**
* @cfg {Number} selectionTolerance
* The offset distance from the cursor position to the line series to trigger events (then used for highlighting series, etc).
*/
selectionTolerance: 20,
/**
* @cfg {Boolean} showMarkers
* Whether markers should be displayed at the data points along the line. If true,
* then the {@link #markerConfig} config item will determine the markers' styling.
*/
showMarkers: true,
/**
* @cfg {Object} markerConfig
* The display style for the markers. Only used if {@link #showMarkers} is true.
* The markerConfig is a configuration object containing the same set of properties defined in
* the Sprite class. For example, if we were to set red circles as markers to the line series we could
* pass the object:
*
<pre><code>
markerConfig: {
type: 'circle',
radius: 4,
'fill': '#f00'
}
</code></pre>
*/
markerConfig: {},
/**
* @cfg {Object} style
* An object containing style properties for the visualization lines and fill.
* These styles will override the theme styles. The following are valid style properties:
*
* - `stroke` - an rgb or hex color string for the background color of the line
* - `stroke-width` - the width of the stroke (integer)
* - `fill` - the background fill color string (hex or rgb), only works if {@link #fill} is `true`
* - `opacity` - the opacity of the line and the fill color (decimal)
*
* Example usage:
*
* style: {
* stroke: '#00ff00',
* 'stroke-width': 10,
* fill: '#80A080',
* opacity: 0.2
* }
*/
style: {},
/**
* @cfg {Boolean/Number} smooth
* If set to `true` or a non-zero number, the line will be smoothed/rounded around its points; otherwise
* straight line segments will be drawn.
*
* A numeric value is interpreted as a divisor of the horizontal distance between consecutive points in
* the line; larger numbers result in sharper curves while smaller numbers result in smoother curves.
*
* If set to `true` then a default numeric value of 3 will be used. Defaults to `false`.
*/
smooth: false,
/**
* @private Default numeric smoothing value to be used when {@link #smooth} = true.
*/
defaultSmoothness: 3,
/**
* @cfg {Boolean} fill
* If true, the area below the line will be filled in using the {@link #style eefill} and
* {@link #style opacity} config properties. Defaults to false.
*/
fill: false,
constructor: function(config) {
this.callParent(arguments);
var me = this,
surface = me.chart.surface,
shadow = me.chart.shadow,
i, l;
config.highlightCfg = Ext.Object.merge({ 'stroke-width': 3 }, config.highlightCfg);
Ext.apply(me, config, {
shadowAttributes: [{
"stroke-width": 6,
"stroke-opacity": 0.05,
stroke: 'rgb(0, 0, 0)',
translate: {
x: 1,
y: 1
}
}, {
"stroke-width": 4,
"stroke-opacity": 0.1,
stroke: 'rgb(0, 0, 0)',
translate: {
x: 1,
y: 1
}
}, {
"stroke-width": 2,
"stroke-opacity": 0.15,
stroke: 'rgb(0, 0, 0)',
translate: {
x: 1,
y: 1
}
}]
});
me.group = surface.getGroup(me.seriesId);
if (me.showMarkers) {
me.markerGroup = surface.getGroup(me.seriesId + '-markers');
}
if (shadow) {
for (i = 0, l = me.shadowAttributes.length; i < l; i++) {
me.shadowGroups.push(surface.getGroup(me.seriesId + '-shadows' + i));
}
}
},
// @private makes an average of points when there are more data points than pixels to be rendered.
shrink: function(xValues, yValues, size) {
// Start at the 2nd point...
var len = xValues.length,
ratio = Math.floor(len / size),
i = 1,
xSum = 0,
ySum = 0,
xRes = [+xValues[0]],
yRes = [+yValues[0]];
for (; i < len; ++i) {
xSum += +xValues[i] || 0;
ySum += +yValues[i] || 0;
if (i % ratio == 0) {
xRes.push(xSum/ratio);
yRes.push(ySum/ratio);
xSum = 0;
ySum = 0;
}
}
return {
x: xRes,
y: yRes
};
},
/**
* Draws the series for the current chart.
*/
drawSeries: function() {
var me = this,
chart = me.chart,
chartAxes = chart.axes,
store = chart.getChartStore(),
data = store.data.items,
record,
storeCount = store.getCount(),
surface = me.chart.surface,
bbox = {},
group = me.group,
showMarkers = me.showMarkers,
markerGroup = me.markerGroup,
enableShadows = chart.shadow,
shadowGroups = me.shadowGroups,
shadowAttributes = me.shadowAttributes,
smooth = me.smooth,
lnsh = shadowGroups.length,
dummyPath = ["M"],
path = ["M"],
renderPath = ["M"],
smoothPath = ["M"],
markerIndex = chart.markerIndex,
axes = [].concat(me.axis),
shadowBarAttr,
xValues = [],
xValueMap = {},
yValues = [],
yValueMap = {},
onbreak = false,
storeIndices = [],
markerStyle = Ext.apply({}, me.markerStyle),
seriesStyle = me.seriesStyle,
colorArrayStyle = me.colorArrayStyle,
colorArrayLength = colorArrayStyle && colorArrayStyle.length || 0,
isNumber = Ext.isNumber,
seriesIdx = me.seriesIdx,
boundAxes = me.getAxesForXAndYFields(),
boundXAxis = boundAxes.xAxis,
boundYAxis = boundAxes.yAxis,
xAxisType = boundXAxis ? chartAxes.get(boundXAxis).type : '',
yAxisType = boundYAxis ? chartAxes.get(boundYAxis).type : '',
shadows, shadow, shindex, fromPath, fill, fillPath, rendererAttributes,
x, y, prevX, prevY, firstX, firstY, markerCount, i, j, ln, axis, ends, marker, markerAux, item, xValue,
yValue, coords, xScale, yScale, minX, maxX, minY, maxY, line, animation, endMarkerStyle,
endLineStyle, type, count, opacity, lineOpacity, fillOpacity, fillDefaultValue;
if (me.fireEvent('beforedraw', me) === false) {
return;
}
//if store is empty or the series is excluded in the legend then there's nothing to draw.
if (!storeCount || me.seriesIsHidden) {
me.hide();
me.items = [];
if (me.line) {
me.line.hide(true);
if (me.line.shadows) {
shadows = me.line.shadows;
for (j = 0, lnsh = shadows.length; j < lnsh; j++) {
shadow = shadows[j];
shadow.hide(true);
}
}
if (me.fillPath) {
me.fillPath.hide(true);
}
}
me.line = null;
me.fillPath = null;
return;
}
//prepare style objects for line and markers
endMarkerStyle = Ext.apply(markerStyle || {}, me.markerConfig, {
fill: me.seriesStyle.fill || colorArrayStyle[me.themeIdx % colorArrayStyle.length]
});
type = endMarkerStyle.type;
delete endMarkerStyle.type;
endLineStyle = seriesStyle;
//if no stroke with is specified force it to 0.5 because this is
//about making *lines*
if (!endLineStyle['stroke-width']) {
endLineStyle['stroke-width'] = 0.5;
}
//set opacity values
opacity = 'opacity' in endLineStyle ? endLineStyle.opacity : 1;
fillDefaultValue = 'opacity' in endLineStyle ? endLineStyle.opacity : 0.3;
lineOpacity = 'lineOpacity' in endLineStyle ? endLineStyle.lineOpacity : opacity;
fillOpacity = 'fillOpacity' in endLineStyle ? endLineStyle.fillOpacity : fillDefaultValue;
//If we're using a time axis and we need to translate the points,
//then reuse the first markers as the last markers.
if (markerIndex && markerGroup && markerGroup.getCount()) {
for (i = 0; i < markerIndex; i++) {
marker = markerGroup.getAt(i);
markerGroup.remove(marker);
markerGroup.add(marker);
markerAux = markerGroup.getAt(markerGroup.getCount() - 2);
marker.setAttributes({
x: 0,
y: 0,
translate: {
x: markerAux.attr.translation.x,
y: markerAux.attr.translation.y
}
}, true);
}
}
me.unHighlightItem();
me.cleanHighlights();
me.setBBox();
bbox = me.bbox;
me.clipRect = [bbox.x, bbox.y, bbox.width, bbox.height];
if (axis = chartAxes.get(boundXAxis)) {
ends = axis.applyData();
minX = ends.from;
maxX = ends.to;
}
if (axis = chartAxes.get(boundYAxis)) {
ends = axis.applyData();
minY = ends.from;
maxY = ends.to;
}
// If a field was specified without a corresponding axis, create one to get bounds
if (me.xField && !Ext.isNumber(minX)) {
axis = me.getMinMaxXValues();
minX = axis[0];
maxX = axis[1];
}
if (me.yField && !Ext.isNumber(minY)) {
axis = me.getMinMaxYValues();
minY = axis[0];
maxY = axis[1];
}
if (isNaN(minX)) {
minX = 0;
xScale = bbox.width / ((storeCount - 1) || 1);
}
else {
xScale = bbox.width / ((maxX - minX) || (storeCount -1) || 1);
}
if (isNaN(minY)) {
minY = 0;
yScale = bbox.height / ((storeCount - 1) || 1);
}
else {
yScale = bbox.height / ((maxY - minY) || (storeCount - 1) || 1);
}
// Extract all x and y values from the store
for (i = 0, ln = data.length; i < ln; i++) {
record = data[i];
xValue = record.get(me.xField);
if (xAxisType == 'Time' && typeof xValue == "string") {
xValue = Date.parse(xValue);
}
// Ensure a value
if (typeof xValue == 'string' || typeof xValue == 'object' && !Ext.isDate(xValue)
//set as uniform distribution if the axis is a category axis.
|| boundXAxis && chartAxes.get(boundXAxis) && chartAxes.get(boundXAxis).type == 'Category') {
if (xValue in xValueMap) {
xValue = xValueMap[xValue];
} else {
xValue = xValueMap[xValue] = i;
}
}
// Filter out values that don't fit within the pan/zoom buffer area
yValue = record.get(me.yField);
if (yAxisType == 'Time' && typeof yValue == "string") {
yValue = Date.parse(yValue);
}
//skip undefined values
if (typeof yValue == 'undefined' || (typeof yValue == 'string' && !yValue)) {
//<debug warn>
if (Ext.isDefined(Ext.global.console)) {
Ext.global.console.warn("[Ext.chart.series.Line] Skipping a store element with an undefined value at ", record, xValue, yValue);
}
//</debug>
continue;
}
// Ensure a value
if (typeof yValue == 'string' || typeof yValue == 'object' && !Ext.isDate(yValue)
//set as uniform distribution if the axis is a category axis.
|| boundYAxis && chartAxes.get(boundYAxis) && chartAxes.get(boundYAxis).type == 'Category') {
yValue = i;
}
storeIndices.push(i);
xValues.push(xValue);
yValues.push(yValue);
}
ln = xValues.length;
if (ln > bbox.width) {
coords = me.shrink(xValues, yValues, bbox.width);
xValues = coords.x;
yValues = coords.y;
}
me.items = [];
count = 0;
ln = xValues.length;
for (i = 0; i < ln; i++) {
xValue = xValues[i];
yValue = yValues[i];
if (yValue === false) {
if (path.length == 1) {
path = [];
}
onbreak = true;
me.items.push(false);
continue;
} else {
x = (bbox.x + (xValue - minX) * xScale).toFixed(2);
y = ((bbox.y + bbox.height) - (yValue - minY) * yScale).toFixed(2);
if (onbreak) {
onbreak = false;
path.push('M');
}
path = path.concat([x, y]);
}
if ((typeof firstY == 'undefined') && (typeof y != 'undefined')) {
firstY = y;
firstX = x;
}
// If this is the first line, create a dummypath to animate in from.
if (!me.line || chart.resizing) {
dummyPath = dummyPath.concat([x, bbox.y + bbox.height / 2]);
}
// When resizing, reset before animating
if (chart.animate && chart.resizing && me.line) {
me.line.setAttributes({
path: dummyPath,
opacity: lineOpacity
}, true);
if (me.fillPath) {
me.fillPath.setAttributes({
path: dummyPath,
opacity: fillOpacity
}, true);
}
if (me.line.shadows) {
shadows = me.line.shadows;
for (j = 0, lnsh = shadows.length; j < lnsh; j++) {
shadow = shadows[j];
shadow.setAttributes({
path: dummyPath
}, true);
}
}
}
if (showMarkers) {
marker = markerGroup.getAt(count++);
if (!marker) {
marker = Ext.chart.Shape[type](surface, Ext.apply({
group: [group, markerGroup],
x: 0, y: 0,
translate: {
x: +(prevX || x),
y: prevY || (bbox.y + bbox.height / 2)
},
value: '"' + xValue + ', ' + yValue + '"',
zIndex: 4000
}, endMarkerStyle));
marker._to = {
translate: {
x: +x,
y: +y
}
};
} else {
marker.setAttributes({
value: '"' + xValue + ', ' + yValue + '"',
x: 0, y: 0,
hidden: false
}, true);
marker._to = {
translate: {
x: +x,
y: +y
}
};
}
}
me.items.push({
series: me,
value: [xValue, yValue],
point: [x, y],
sprite: marker,
storeItem: store.getAt(storeIndices[i])
});
prevX = x;
prevY = y;
}
if (path.length <= 1) {
//nothing to be rendered
return;
}
if (me.smooth) {
smoothPath = Ext.draw.Draw.smooth(path, isNumber(smooth) ? smooth : me.defaultSmoothness);
}
renderPath = smooth ? smoothPath : path;
//Correct path if we're animating timeAxis intervals
if (chart.markerIndex && me.previousPath) {
fromPath = me.previousPath;
if (!smooth) {
Ext.Array.erase(fromPath, 1, 2);
}
} else {
fromPath = path;
}
// Only create a line if one doesn't exist.
if (!me.line) {
me.line = surface.add(Ext.apply({
type: 'path',
group: group,
path: dummyPath,
stroke: endLineStyle.stroke || endLineStyle.fill
}, endLineStyle || {}));
me
//set configuration opacity
me.line.setAttributes({
opacity: lineOpacity
}, true);
if (enableShadows) {
me.line.setAttributes(Ext.apply({}, me.shadowOptions), true);
}
//unset fill here (there's always a default fill withing the themes).
me.line.setAttributes({
fill: 'none',
zIndex: 3000
});
if (!endLineStyle.stroke && colorArrayLength) {
me.line.setAttributes({
stroke: colorArrayStyle[me.themeIdx % colorArrayLength]
}, true);
}
if (enableShadows) {
//create shadows
shadows = me.line.shadows = [];
for (shindex = 0; shindex < lnsh; shindex++) {
shadowBarAttr = shadowAttributes[shindex];
shadowBarAttr = Ext.apply({}, shadowBarAttr, { path: dummyPath });
shadow = surface.add(Ext.apply({}, {
type: 'path',
group: shadowGroups[shindex]
}, shadowBarAttr));
shadows.push(shadow);
}
}
}
if (me.fill) {
fillPath = renderPath.concat([
["L", x, bbox.y + bbox.height],
["L", firstX, bbox.y + bbox.height],
["L", firstX, firstY]
]);
if (!me.fillPath) {
me.fillPath = surface.add({
group: group,
type: 'path',
fill: endLineStyle.fill || colorArrayStyle[me.themeIdx % colorArrayLength],
path: dummyPath
});
}
}
markerCount = showMarkers && markerGroup.getCount();
if (chart.animate) {
fill = me.fill;
line = me.line;
//Add renderer to line. There is not unique record associated with this.
rendererAttributes = me.renderer(line, false, { path: renderPath }, i, store);
Ext.apply(rendererAttributes, endLineStyle || {}, {
stroke: endLineStyle.stroke || endLineStyle.fill
});
//fill should not be used here but when drawing the special fill path object
delete rendererAttributes.fill;
line.show(true);
if (chart.markerIndex && me.previousPath) {
me.animation = animation = me.onAnimate(line, {
to: rendererAttributes,
from: {
path: fromPath
}
});
} else {
me.animation = animation = me.onAnimate(line, {
to: rendererAttributes
});
}
//animate shadows
if (enableShadows) {
shadows = line.shadows;
for(j = 0; j < lnsh; j++) {
shadows[j].show(true);
if (chart.markerIndex && me.previousPath) {
me.onAnimate(shadows[j], {
to: { path: renderPath },
from: { path: fromPath }
});
} else {
me.onAnimate(shadows[j], {
to: { path: renderPath }
});
}
}
}
//animate fill path
if (fill) {
me.fillPath.show(true);
me.onAnimate(me.fillPath, {
to: Ext.apply({}, {
path: fillPath,
fill: endLineStyle.fill || colorArrayStyle[me.themeIdx % colorArrayLength],
'stroke-width': 0,
opacity: fillOpacity
}, endLineStyle || {})
});
}
//animate markers
if (showMarkers) {
count = 0;
for(i = 0; i < ln; i++) {
if (me.items[i]) {
item = markerGroup.getAt(count++);
if (item) {
rendererAttributes = me.renderer(item, store.getAt(i), item._to, i, store);
me.onAnimate(item, {
to: Ext.applyIf(rendererAttributes, endMarkerStyle || {})
});
item.show(true);
}
}
}
for(; count < markerCount; count++) {
item = markerGroup.getAt(count);
item.hide(true);
}
// for(i = 0; i < (chart.markerIndex || 0)-1; i++) {
// item = markerGroup.getAt(i);
// item.hide(true);
// }
}
} else {
rendererAttributes = me.renderer(me.line, false, { path: renderPath, hidden: false }, i, store);
Ext.apply(rendererAttributes, endLineStyle || {}, {
stroke: endLineStyle.stroke || endLineStyle.fill
});
//fill should not be used here but when drawing the special fill path object
delete rendererAttributes.fill;
me.line.setAttributes(rendererAttributes, true);
me.line.setAttributes({
opacity: lineOpacity
}, true);
//set path for shadows
if (enableShadows) {
shadows = me.line.shadows;
for(j = 0; j < lnsh; j++) {
shadows[j].setAttributes({
path: renderPath,
hidden: false
}, true);
}
}
if (me.fill) {
me.fillPath.setAttributes({
path: fillPath,
hidden: false,
opacity: fillOpacity
}, true);
}
if (showMarkers) {
count = 0;
for(i = 0; i < ln; i++) {
if (me.items[i]) {
item = markerGroup.getAt(count++);
if (item) {
rendererAttributes = me.renderer(item, store.getAt(i), item._to, i, store);
item.setAttributes(Ext.apply(endMarkerStyle || {}, rendererAttributes || {}), true);
if (!item.attr.hidden) {
item.show(true);
}
}
}
}
for(; count < markerCount; count++) {
item = markerGroup.getAt(count);
item.hide(true);
}
}
}
if (chart.markerIndex) {
if (me.smooth) {
Ext.Array.erase(path, 1, 2);
} else {
Ext.Array.splice(path, 1, 0, path[1], path[2]);
}
me.previousPath = path;
}
me.renderLabels();
me.renderCallouts();
me.fireEvent('draw', me);
},
// @private called when a label is to be created.
onCreateLabel: function(storeItem, item, i, display) {
var me = this,
group = me.labelsGroup,
config = me.label,
bbox = me.bbox,
endLabelStyle = Ext.apply({}, config, me.seriesLabelStyle || {});
return me.chart.surface.add(Ext.apply({
'type': 'text',
'text-anchor': 'middle',
'group': group,
'x': Number(item.point[0]),
'y': bbox.y + bbox.height / 2
}, endLabelStyle || {}));
},
// @private called when a label is to be positioned.
onPlaceLabel: function(label, storeItem, item, i, display, animate, index) {
var me = this,
chart = me.chart,
resizing = chart.resizing,
config = me.label,
format = config.renderer,
field = config.field,
bbox = me.bbox,
x = Number(item.point[0]),
y = Number(item.point[1]),
radius = item.sprite.attr.radius,
labelBox, markerBox, width, height, xOffset, yOffset;
label.setAttributes({
text: format(storeItem.get(field), label, storeItem, item, i, display, animate, index),
hidden: true
}, true);
//TODO(nicolas): find out why width/height values in circle bounding boxes are undefined.
markerBox = item.sprite.getBBox();
markerBox.width = markerBox.width || (radius * 2);
markerBox.height = markerBox.height || (radius * 2);
labelBox = label.getBBox();
width = labelBox.width/2;
height = labelBox.height/2;
if (display == 'rotate') {
//correct label position to fit into the box
xOffset = markerBox.width/2 + width + height/2;
if (x + xOffset + width > bbox.x + bbox.width) {
x -= xOffset;
} else {
x += xOffset;
}
label.setAttributes({
'rotation': {
x: x,
y: y,
degrees: -45
}
}, true);
} else if (display == 'under' || display == 'over') {
label.setAttributes({
'rotation': {
degrees: 0
}
}, true);
//correct label position to fit into the box
if (x < bbox.x + width) {
x = bbox.x + width;
} else if (x + width > bbox.x + bbox.width) {
x = bbox.x + bbox.width - width;
}
yOffset = markerBox.height/2 + height;
y = y + (display == 'over' ? -yOffset : yOffset);
if (y < bbox.y + height) {
y += 2 * yOffset;
} else if (y + height > bbox.y + bbox.height) {
y -= 2 * yOffset;
}
}
if (me.chart.animate && !me.chart.resizing) {
label.show(true);
me.onAnimate(label, {
to: {
x: x,
y: y
}
});
} else {
label.setAttributes({
x: x,
y: y
}, true);
if (resizing && me.animation) {
me.animation.on('afteranimate', function() {
label.show(true);
});
} else {
label.show(true);
}
}
},
// @private Overriding highlights.js highlightItem method.
highlightItem: function() {
var me = this,
line = me.line;
me.callParent(arguments);
if (line && !me.highlighted) {
if (!('__strokeWidth' in line)) {
line.__strokeWidth = parseFloat(line.attr['stroke-width']) || 0;
}
if (line.__anim) {
line.__anim.paused = true;
}
line.__anim = new Ext.fx.Anim({
target: line,
to: {
'stroke-width': line.__strokeWidth + 3
}
});
me.highlighted = true;
}
},
// @private Overriding highlights.js unHighlightItem method.
unHighlightItem: function() {
var me = this,
line = me.line,
width;
me.callParent(arguments);
if (line && me.highlighted) {
width = line.__strokeWidth || parseFloat(line.attr['stroke-width']) || 0;
line.__anim = new Ext.fx.Anim({
target: line,
to: {
'stroke-width': width
}
});
me.highlighted = false;
}
},
// @private called when a callout needs to be placed.
onPlaceCallout : function(callout, storeItem, item, i, display, animate, index) {
if (!display) {
return;
}
var me = this,
chart = me.chart,
surface = chart.surface,
resizing = chart.resizing,
config = me.callouts,
items = me.items,
prev = i == 0? false : items[i -1].point,
next = (i == items.length -1)? false : items[i +1].point,
cur = [+item.point[0], +item.point[1]],
dir, norm, normal, a, aprev, anext,
offsetFromViz = config.offsetFromViz || 30,
offsetToSide = config.offsetToSide || 10,
offsetBox = config.offsetBox || 3,
boxx, boxy, boxw, boxh,
p, clipRect = me.clipRect,
bbox = {
width: config.styles.width || 10,
height: config.styles.height || 10
},
x, y;
//get the right two points
if (!prev) {
prev = cur;
}
if (!next) {
next = cur;
}
a = (next[1] - prev[1]) / (next[0] - prev[0]);
aprev = (cur[1] - prev[1]) / (cur[0] - prev[0]);
anext = (next[1] - cur[1]) / (next[0] - cur[0]);
norm = Math.sqrt(1 + a * a);
dir = [1 / norm, a / norm];
normal = [-dir[1], dir[0]];
//keep the label always on the outer part of the "elbow"
if (aprev > 0 && anext < 0 && normal[1] < 0
|| aprev < 0 && anext > 0 && normal[1] > 0) {
normal[0] *= -1;
normal[1] *= -1;
} else if (Math.abs(aprev) < Math.abs(anext) && normal[0] < 0
|| Math.abs(aprev) > Math.abs(anext) && normal[0] > 0) {
normal[0] *= -1;
normal[1] *= -1;
}
//position
x = cur[0] + normal[0] * offsetFromViz;
y = cur[1] + normal[1] * offsetFromViz;
//box position and dimensions
boxx = x + (normal[0] > 0? 0 : -(bbox.width + 2 * offsetBox));
boxy = y - bbox.height /2 - offsetBox;
boxw = bbox.width + 2 * offsetBox;
boxh = bbox.height + 2 * offsetBox;
//now check if we're out of bounds and invert the normal vector correspondingly
//this may add new overlaps between labels (but labels won't be out of bounds).
if (boxx < clipRect[0] || (boxx + boxw) > (clipRect[0] + clipRect[2])) {
normal[0] *= -1;
}
if (boxy < clipRect[1] || (boxy + boxh) > (clipRect[1] + clipRect[3])) {
normal[1] *= -1;
}
//update positions
x = cur[0] + normal[0] * offsetFromViz;
y = cur[1] + normal[1] * offsetFromViz;
//update box position and dimensions
boxx = x + (normal[0] > 0? 0 : -(bbox.width + 2 * offsetBox));
boxy = y - bbox.height /2 - offsetBox;
boxw = bbox.width + 2 * offsetBox;
boxh = bbox.height + 2 * offsetBox;
if (chart.animate) {
//set the line from the middle of the pie to the box.
me.onAnimate(callout.lines, {
to: {
path: ["M", cur[0], cur[1], "L", x, y, "Z"]
}
});
//set component position
if (callout.panel) {
callout.panel.setPosition(boxx, boxy, true);
}
}
else {
//set the line from the middle of the pie to the box.
callout.lines.setAttributes({
path: ["M", cur[0], cur[1], "L", x, y, "Z"]
}, true);
//set component position
if (callout.panel) {
callout.panel.setPosition(boxx, boxy);
}
}
for (p in callout) {
callout[p].show(true);
}
},
isItemInPoint: function(x, y, item, i) {
var me = this,
items = me.items,
tolerance = me.selectionTolerance,
result = null,
prevItem,
nextItem,
prevPoint,
nextPoint,
ln,
x1,
y1,
x2,
y2,
xIntersect,
yIntersect,
dist1, dist2, dist, midx, midy,
sqrt = Math.sqrt, abs = Math.abs;
nextItem = items[i];
prevItem = i && items[i - 1];
if (i >= ln) {
prevItem = items[ln - 1];
}
prevPoint = prevItem && prevItem.point;
nextPoint = nextItem && nextItem.point;
x1 = prevItem ? prevPoint[0] : nextPoint[0] - tolerance;
y1 = prevItem ? prevPoint[1] : nextPoint[1];
x2 = nextItem ? nextPoint[0] : prevPoint[0] + tolerance;
y2 = nextItem ? nextPoint[1] : prevPoint[1];
dist1 = sqrt((x - x1) * (x - x1) + (y - y1) * (y - y1));
dist2 = sqrt((x - x2) * (x - x2) + (y - y2) * (y - y2));
dist = Math.min(dist1, dist2);
if (dist <= tolerance) {
return dist == dist1? prevItem : nextItem;
}
return false;
},
// @private toggle visibility of all series elements (markers, sprites).
toggleAll: function(show) {
var me = this,
i, ln, shadow, shadows;
if (!show) {
Ext.chart.series.Cartesian.prototype.hideAll.call(me);
}
else {
Ext.chart.series.Cartesian.prototype.showAll.call(me);
}
if (me.line) {
me.line.setAttributes({
hidden: !show
}, true);
//hide shadows too
if (me.line.shadows) {
for (i = 0, shadows = me.line.shadows, ln = shadows.length; i < ln; i++) {
shadow = shadows[i];
shadow.setAttributes({
hidden: !show
}, true);
}
}
}
if (me.fillPath) {
me.fillPath.setAttributes({
hidden: !show
}, true);
}
},
// @private hide all series elements (markers, sprites).
hideAll: function() {
this.toggleAll(false);
},
// @private hide all series elements (markers, sprites).
showAll: function() {
this.toggleAll(true);
}
});
| {
"pile_set_name": "Github"
} |
//
// Created by liuyubobobo on 5/5/17.
//
#ifndef INC_06_PATH_COMPRESSION_UNIONFIND4_H
#define INC_06_PATH_COMPRESSION_UNIONFIND4_H
#include <cassert>
using namespace std;
// ๆไปฌ็็ฌฌๅ็Union-Find
namespace UF4{
class UnionFind{
private:
int* rank; // rank[i]่กจ็คบไปฅiไธบๆ น็้ๅๆ่กจ็คบ็ๆ ็ๅฑๆฐ
int* parent; // parent[i]่กจ็คบ็ฌฌiไธชๅ
็ด ๆๆๅ็็ถ่็น
int count; // ๆฐๆฎไธชๆฐ
public:
// ๆ้ ๅฝๆฐ
UnionFind(int count){
parent = new int[count];
rank = new int[count];
this->count = count;
for( int i = 0 ; i < count ; i ++ ){
parent[i] = i;
rank[i] = 1;
}
}
// ๆๆๅฝๆฐ
~UnionFind(){
delete[] parent;
delete[] rank;
}
// ๆฅๆพ่ฟ็จ, ๆฅๆพๅ
็ด pๆๅฏนๅบ็้ๅ็ผๅท
// O(h)ๅคๆๅบฆ, hไธบๆ ็้ซๅบฆ
int find(int p){
assert( p >= 0 && p < count );
// ไธๆญๅปๆฅ่ฏข่ชๅทฑ็็ถไบฒ่็น, ็ดๅฐๅฐ่พพๆ น่็น
// ๆ น่็น็็น็น: parent[p] == p
while( p != parent[p] )
p = parent[p];
return p;
}
// ๆฅ็ๅ
็ด pๅๅ
็ด qๆฏๅฆๆๅฑไธไธช้ๅ
// O(h)ๅคๆๅบฆ, hไธบๆ ็้ซๅบฆ
bool isConnected( int p , int q ){
return find(p) == find(q);
}
// ๅๅนถๅ
็ด pๅๅ
็ด qๆๅฑ็้ๅ
// O(h)ๅคๆๅบฆ, hไธบๆ ็้ซๅบฆ
void unionElements(int p, int q){
int pRoot = find(p);
int qRoot = find(q);
if( pRoot == qRoot )
return;
// ๆ นๆฎไธคไธชๅ
็ด ๆๅจๆ ็ๅ
็ด ไธชๆฐไธๅๅคๆญๅๅนถๆนๅ
// ๅฐๅ
็ด ไธชๆฐๅฐ็้ๅๅๅนถๅฐๅ
็ด ไธชๆฐๅค็้ๅไธ
if( rank[pRoot] < rank[qRoot] ){
parent[pRoot] = qRoot;
}
else if( rank[qRoot] < rank[pRoot]){
parent[qRoot] = pRoot;
}
else{ // rank[pRoot] == rank[qRoot]
parent[pRoot] = qRoot;
rank[qRoot] += 1; // ๆญคๆถ, ๆ็ปดๆคrank็ๅผ
}
}
};
}
#endif //INC_06_PATH_COMPRESSION_UNIONFIND4_H
| {
"pile_set_name": "Github"
} |
<div class="conteudo-logout">
<h2 class="aba">Publicidade</h2>
<div id='div-gpt-ad-1372386456620-3' style='width:300px; height:600px;' class="publicidadeLogout">
<script type='text/javascript'>
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1372386456620-3'); });
</script>
</div>
</div>
<div class="conteudo-logout">
<h2 class="aba">Publicidade</h2>
<div id='div-gpt-ad-1372386456620-3' style='width:300px; height:600px;' class="publicidadeLogout">
<script type='text/javascript'>
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1372386456620-3'); });
</script>
</div>
</div>
<img id="nerdinho-logout" src="<?php echo HOST;?>templates/default/images/ilustra-nerdinho-logout.png" /> | {
"pile_set_name": "Github"
} |
function p=nodeprob(t,j)
%NODEPROB Node probability.
% P=NODEPROB(T) returns an N-element vector P of the probabilities of the
% nodes in the tree T, where N is the number of nodes. The probability
% of a node is computed as the proportion of observations from the
% original data that satisfy the conditions for the node. For a
% classification tree, this proportion is adjusted for any prior
% probabilities assigned to each class.
%
% P=NODEPROB(T,J) takes an array J of node numbers and returns the
% probabilities for the specified nodes.
%
% See also CLASSREGTREE, CLASSREGTREE/NUMNODES, CLASSREGTREE/NODESIZE.
% Copyright 2006-2007 The MathWorks, Inc.
% $Revision: 1.1.8.1 $ $Date: 2007/02/02 23:22:01 $
if nargin>=2 && ~validatenodes(t,j)
error('stats:classregtree:nodeprob:InvalidNode',...
'J must be an array of node numbers or a logical array of the proper size.');
end
if nargin<2
p = t.nodeprob;
else
p = t.nodeprob(j,:);
end
| {
"pile_set_name": "Github"
} |
// RUN: %clang_cc1 %s -triple i686-pc-win32 -fms-extensions -fexceptions -fcxx-exceptions -emit-llvm -o - -std=c++11 | FileCheck %s
int f(int);
void test_catch() {
try {
f(1);
} catch (int) {
f(2);
} catch (double) {
f(3);
}
}
// CHECK-LABEL: define dso_local void @"?test_catch@@YAXXZ"(
// CHECK: invoke i32 @"?f@@YAHH@Z"(i32 1)
// CHECK: to label %[[NORMAL:.*]] unwind label %[[CATCHSWITCH:.*]]
// CHECK: [[CATCHSWITCH]]
// CHECK: %[[CATCHSWITCHPAD:.*]] = catchswitch within none [label %[[CATCH_INT:.*]], label %[[CATCH_DOUBLE:.*]]] unwind to caller
// CHECK: [[CATCH_INT]]
// CHECK: %[[CATCHPAD_INT:.*]] = catchpad within %[[CATCHSWITCHPAD]] [%rtti.TypeDescriptor2* @"??_R0H@8", i32 0, i8* null]
// CHECK: call i32 @"?f@@YAHH@Z"(i32 2)
// CHECK: catchret from %[[CATCHPAD_INT]] to label %[[LEAVE_INT_CATCH:.*]]
// CHECK: [[LEAVE_INT_CATCH]]
// CHECK: br label %[[LEAVE_FUNC:.*]]
// CHECK: [[LEAVE_FUNC]]
// CHECK: ret void
// CHECK: [[CATCH_DOUBLE]]
// CHECK: %[[CATCHPAD_DOUBLE:.*]] = catchpad within %[[CATCHSWITCHPAD]] [%rtti.TypeDescriptor2* @"??_R0N@8", i32 0, i8* null]
// CHECK: call i32 @"?f@@YAHH@Z"(i32 3)
// CHECK: catchret from %[[CATCHPAD_DOUBLE]] to label %[[LEAVE_DOUBLE_CATCH:.*]]
// CHECK: [[LEAVE_DOUBLE_CATCH]]
// CHECK: br label %[[LEAVE_FUNC]]
// CHECK: [[NORMAL]]
// CHECK: br label %[[LEAVE_FUNC]]
struct Cleanup {
~Cleanup() { f(-1); }
};
void test_cleanup() {
Cleanup C;
f(1);
}
// CHECK-LABEL: define dso_local {{.*}} @"?test_cleanup@@YAXXZ"(
// CHECK: invoke i32 @"?f@@YAHH@Z"(i32 1)
// CHECK: to label %[[LEAVE_FUNC:.*]] unwind label %[[CLEANUP:.*]]
// CHECK: [[LEAVE_FUNC]]
// CHECK: call x86_thiscallcc void @"??1Cleanup@@QAE@XZ"(
// CHECK: ret void
// CHECK: [[CLEANUP]]
// CHECK: %[[CLEANUPPAD:.*]] = cleanuppad within none []
// CHECK: call x86_thiscallcc void @"??1Cleanup@@QAE@XZ"(
// CHECK: cleanupret from %[[CLEANUPPAD]] unwind to caller
// CHECK-LABEL: define {{.*}} void @"??1Cleanup@@QAE@XZ"(
// CHECK: invoke i32 @"?f@@YAHH@Z"(i32 -1)
// CHECK: to label %[[LEAVE_FUNC:.*]] unwind label %[[TERMINATE:.*]]
// CHECK: [[LEAVE_FUNC]]
// CHECK: ret void
// CHECK: [[TERMINATE]]
// CHECK: %[[CLEANUPPAD:.*]] = cleanuppad within none []
// CHECK-NEXT: call void @"?terminate@@YAXXZ"() {{.*}} [ "funclet"(token %[[CLEANUPPAD]]) ]
| {
"pile_set_name": "Github"
} |
/*
Copyright 2017 The Kubernetes Authors.
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 writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package args
import (
"fmt"
"path"
"github.com/spf13/pflag"
codegenutil "k8s.io/code-generator/pkg/util"
"k8s.io/gengo/args"
)
// CustomArgs is used by the gengo framework to pass args specific to this generator.
type CustomArgs struct {
// PluralExceptions specify list of exceptions used when pluralizing certain types.
// For example 'Endpoints:Endpoints', otherwise the pluralizer will generate 'Endpointes'.
PluralExceptions []string
}
// NewDefaults returns default arguments for the generator.
func NewDefaults() (*args.GeneratorArgs, *CustomArgs) {
genericArgs := args.Default().WithoutDefaultFlagParsing()
customArgs := &CustomArgs{
PluralExceptions: []string{"Endpoints:Endpoints"},
}
genericArgs.CustomArgs = customArgs
if pkg := codegenutil.CurrentPackage(); len(pkg) != 0 {
genericArgs.OutputPackagePath = path.Join(pkg, "pkg/client/listers")
}
return genericArgs, customArgs
}
// AddFlags add the generator flags to the flag set.
func (ca *CustomArgs) AddFlags(fs *pflag.FlagSet) {
fs.StringSliceVar(&ca.PluralExceptions, "plural-exceptions", ca.PluralExceptions, "list of comma separated plural exception definitions in Type:PluralizedType format")
}
// Validate checks the given arguments.
func Validate(genericArgs *args.GeneratorArgs) error {
_ = genericArgs.CustomArgs.(*CustomArgs)
if len(genericArgs.OutputPackagePath) == 0 {
return fmt.Errorf("output package cannot be empty")
}
return nil
}
| {
"pile_set_name": "Github"
} |
<?php
namespace Neos\Flow\Error;
/*
* This file is part of the Neos.Flow package.
*
* (c) Contributors of the Neos Project - www.neos.io
*
* This package is Open Source Software. For the full copyright and license
* information, please view the LICENSE file which was distributed with this
* source code.
*/
use Neos\Flow\Annotations as Flow;
use Neos\Flow\Http\Helper\ResponseInformationHelper;
/**
* A quite exception handler which catches but ignores any exception.
*
* @Flow\Scope("singleton")
*/
class ProductionExceptionHandler extends AbstractExceptionHandler
{
/**
* Echoes an exception for the web.
*
* @param \Throwable $exception
* @return void
*/
protected function echoExceptionWeb($exception)
{
$statusCode = ($exception instanceof WithHttpStatusInterface) ? $exception->getStatusCode() : 500;
$statusMessage = ResponseInformationHelper::getStatusMessageByCode($statusCode);
$referenceCode = ($exception instanceof WithReferenceCodeInterface) ? $exception->getReferenceCode() : null;
if (!headers_sent()) {
header(sprintf('HTTP/1.1 %s %s', $statusCode, $statusMessage));
}
try {
if (isset($this->renderingOptions['templatePathAndFilename'])) {
try {
echo $this->buildView($exception, $this->renderingOptions)->render();
} catch (\Throwable $throwable) {
$this->renderStatically($statusCode, $throwable);
}
} else {
echo $this->renderStatically($statusCode, $referenceCode);
}
} catch (\Exception $innerException) {
$message = $this->throwableStorage->logThrowable($innerException);
$this->logger->critical($message);
}
}
/**
* Returns the statically rendered exception message
*
* @param integer $statusCode
* @param string $referenceCode
* @return string
*/
protected function renderStatically(int $statusCode, ?string $referenceCode): string
{
$statusMessage = ResponseInformationHelper::getStatusMessageByCode($statusCode);
$referenceCodeMessage = ($referenceCode !== null) ? '<p>When contacting the maintainer of this application please mention the following reference code:<br /><br />' . $referenceCode . '</p>' : '';
return '<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>' . $statusCode . ' ' . $statusMessage . '</title>
<style type="text/css">
body {
font-family: Helvetica, Arial, sans-serif;
margin: 50px;
}
h1 {
color: #00ADEE;
font-weight: normal;
}
</style>
</head>
<body>
<h1>' . $statusCode . ' ' . $statusMessage . '</h1>
<p>An internal error occurred.</p>
' . $referenceCodeMessage . '
</body>
</html>';
}
}
| {
"pile_set_name": "Github"
} |
<!--
@license
Copyright 2016 The TensorFlow 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 applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<dom-module id="tf-globals">
<script src="globals.js"></script>
</dom-module>
| {
"pile_set_name": "Github"
} |
---
title: "Active vs inactive relationship guidance"
description: Guidance for using active or inactive model relationships.
author: peter-myers
ms.reviewer: asaxton
ms.service: powerbi
ms.subservice: powerbi-desktop
ms.topic: conceptual
ms.date: 03/02/2020
ms.author: v-pemyer
---
# Active vs inactive relationship guidance
This article targets you as a data modeler working with Power BI Desktop. It provides you with guidance on when to create active or inactive model relationships. By default, active relationships propagate filters to other tables. Inactive relationship, however, only propagate filters when a DAX expression activates (uses) the relationship.
[!INCLUDE [relationships-prerequisite-reading](includes/relationships-prerequisite-reading.md)]
## Active relationships
Generally, we recommend defining active relationships whenever possible. They widen the scope and potential of how your model can be used by report authors, and users working with Q&A.
Consider an example of an Import model designed to analyze airline flight on-time performance (OTP). The model has a **Flight** table, which is a fact-type table storing one row per flight. Each row records the flight date, flight number, departure and arrival airports, and any delay time (in minutes). There's also an **Airport** table, which is a dimension-type table storing one row per airport. Each row describes the airport code, airport name, and the country.
Here's a partial model diagram of the two tables.

There are two model relationships between the **Flight** and **Airport** tables. In the **Flight** table, the **DepartureAirport** and **ArrivalAirport** columns relate to the **Airport** column of the **Airport** table. In star schema design, the **Airport** table is described as a [role-playing dimension](star-schema.md#role-playing-dimensions). In this model, the two roles are _departure airport_ and _arrival airport_.
While this design works well for relational star schema designs, it doesn't for Power BI models. It's because model relationships are paths for filter propagation, and these paths must be deterministic. For this reason, a model cannot have multiple active relationships between two tables. Thereforeโas described in this exampleโone relationship is active while the other is inactive (represented by the dashed line). Specifically, it's the relationship to the **ArrivalAirport** column that's active. This means filters applied to the **Airport** table automatically propagate to the **ArrivalAirport** column of the **Flight** table.
This model design imposes severe limitations on how the data can be reported. Specifically, it's not possible to filter the **Airport** table to automatically isolate flight details for a departure airport. As reporting requirements involve filtering (or grouping) by departure and arrival airports _at the same time_, two active relationships are needed. Translating this requirement into a Power BI model design means the model must have two airport tables.
Here's the improved model design.

The model now has two airport tables: **Departure Airport** and **Arrival Airport**. The model relationships between these tables and the **Flight** table are active. Notice also that the column names in the **Departure Airport** and **Arrival Airport** tables are prefixed with the word _Departure_ or _Arrival_.
The improved model design supports producing the following report design.

The report page filters by Melbourne as the departure airport, and the table visual groups by arrival airports.
> [!NOTE]
> For Import models, the additional table has resulted in an increased model size, and longer refresh times. As such, it contradicts the recommendations described in the [Data reduction techniques for Import modeling](import-modeling-data-reduction.md) article. However, in the example, the requirement to have only active relationships overrides these recommendations.
>
> Further, it's common that dimension-type tables contain low row counts relative to fact-type table row counts. So, the increased model size and refresh times aren't likely to be excessively large.
### Refactoring methodology
Here's a methodology to refactor a model from a single role-playing dimension-type table, to a design with _one table per role_.
1. Remove any inactive relationships.
2. Consider renaming the role-playing dimension-type table to better describe its role. In the example, the **Airport** table is related to the **ArrivalAirport** column of the **Flight** table, so it's renamed as **Arrival Airport**.
3. Create a copy of the role-playing table, providing it with a name that reflects its role. If it's an Import table, we recommend defining a calculated table. If it's a DirectQuery table, you can duplicate the Power Query query.
In the example, the **Departure Airport** table was created by using the following calculated table definition.
```dax
Departure Airport = 'Arrival Airport'
```
4. Create an active relationship to relate the new table.
5. Consider renaming the columns in the tables so they accurately reflect their role. In the example, all columns are prefixed with the word _Departure_ or _Arrival_. These names ensure report visuals, by default, will have self-describing and non-ambiguous labels. It also improves the Q&A experience, allowing users to easily write their questions.
6. Consider adding descriptions to role-playing tables. (In the **Fields** pane, a description appears in a tooltip when a report author hovers their cursor over the table.) This way, you can communicate any additional filter propagation details to your report authors.
## Inactive relationships
In specific circumstances, inactive relationships can address special reporting needs.
Let's now consider different model and reporting requirements:
- A sales model contains a **Sales** table that has two date columns: **OrderDate** and **ShipDate**
- Each row in the **Sales** table records a single order
- Date filters are almost always applied to the **OrderDate** column, which always stores a valid date
- Only one measure requires date filter propagation to the **ShipDate** column, which can contain BLANKs (until the order is shipped)
- There's no requirement to simultaneously filter (or group by) order _and_ ship date periods
Here's a partial model diagram of the two tables.

There are two model relationships between the **Sales** and **Date** tables. In the **Sales** table, the **OrderDate** and **ShipDate** columns relate to the **Date** column of the **Date** table. In this model, the two roles for the **Date** table are _order date_ and _ship date_. It's the relationship to the **OrderDate** column that's active.
All of the six measuresโexcept oneโmust filter by the **OrderDate** column. The **Orders Shipped** measure, however, must filter by the **ShipDate** column.
Here's the **Orders** measure definition. It simply counts the rows of the **Sales** table within the filter context. Any filters applied to the **Date** table will propagate to the **OrderDate** column.
```dax
Orders = COUNTROWS(Sales)
```
Here's the **Orders Shipped** measure definition. It uses the [USERELATIONSHIP](/dax/userelationship-function-dax) DAX function, which activates filter propagation for a specific relationship only during the evaluation of the expression. In this example, the relationship to the **ShipDate** column is used.
```dax
Orders Shipped =
CALCULATE(
COUNTROWS(Sales)
,USERELATIONSHIP('Date'[Date], Sales[ShipDate])
)
```
This model design supports producing the following report design.

The report page filters by quarter 2019 Q4. The table visual groups by month and displays various sales statistics. The **Orders** and **Orders Shipped** measures produce different results. They each use the same summarization logic (count rows of the **Sales** table), but different **Date** table filter propagation.
Notice that the quarter slicer includes a BLANK item. This slicer item appears as a result of [table expansion](../transform-model/desktop-relationships-understand.md#regular-relationships). While each **Sales** table row has an order date, some rows have a BLANK ship dateโthese orders are yet to be shipped. Table expansion considers inactive relationships too, and so BLANKs can appear due to BLANKs on the many-side of the relationship, or due to data integrity issues.
## Recommendations
In summary, we recommend defining active relationships whenever possible. They widen the scope and potential of how your model can be used by report authors, and users working with Q&A. It means that role-playing dimension-type tables should be duplicated in your model.
In specific circumstances, however, you can define one or more inactive relationships for a role-playing dimension-type table. You can consider this design when:
- There's no requirement for report visuals to simultaneously filter by different roles
- You use the USERELATIONSHIP DAX function to activate a specific relationship for relevant model calculations
## Next steps
For more information related to this article, check out the following resources:
- [Model relationships in Power BI Desktop](../transform-model/desktop-relationships-understand.md)
- [Understand star schema and the importance for Power BI](star-schema.md)
- [Relationship troubleshooting guidance](relationships-troubleshoot.md)
- Questions? [Try asking the Power BI Community](https://community.powerbi.com/)
- Suggestions? [Contribute ideas to improve Power BI](https://ideas.powerbi.com/)
| {
"pile_set_name": "Github"
} |
//===----------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
// REQUIRES: locale.ru_RU.UTF-8
// <locale>
// template <class Facet> locale(const locale& other, Facet* f);
#include <locale>
#include <new>
#include <cassert>
#include "count_new.hpp"
#include "test_macros.h"
#include "platform_support.h" // locale name macros
void check(const std::locale& loc)
{
assert(std::has_facet<std::collate<char> >(loc));
assert(std::has_facet<std::collate<wchar_t> >(loc));
assert(std::has_facet<std::ctype<char> >(loc));
assert(std::has_facet<std::ctype<wchar_t> >(loc));
assert((std::has_facet<std::codecvt<char, char, std::mbstate_t> >(loc)));
assert((std::has_facet<std::codecvt<char16_t, char, std::mbstate_t> >(loc)));
assert((std::has_facet<std::codecvt<char32_t, char, std::mbstate_t> >(loc)));
assert((std::has_facet<std::codecvt<wchar_t, char, std::mbstate_t> >(loc)));
assert((std::has_facet<std::moneypunct<char> >(loc)));
assert((std::has_facet<std::moneypunct<wchar_t> >(loc)));
assert((std::has_facet<std::money_get<char> >(loc)));
assert((std::has_facet<std::money_get<wchar_t> >(loc)));
assert((std::has_facet<std::money_put<char> >(loc)));
assert((std::has_facet<std::money_put<wchar_t> >(loc)));
assert((std::has_facet<std::numpunct<char> >(loc)));
assert((std::has_facet<std::numpunct<wchar_t> >(loc)));
assert((std::has_facet<std::num_get<char> >(loc)));
assert((std::has_facet<std::num_get<wchar_t> >(loc)));
assert((std::has_facet<std::num_put<char> >(loc)));
assert((std::has_facet<std::num_put<wchar_t> >(loc)));
assert((std::has_facet<std::time_get<char> >(loc)));
assert((std::has_facet<std::time_get<wchar_t> >(loc)));
assert((std::has_facet<std::time_put<char> >(loc)));
assert((std::has_facet<std::time_put<wchar_t> >(loc)));
assert((std::has_facet<std::messages<char> >(loc)));
assert((std::has_facet<std::messages<wchar_t> >(loc)));
}
struct my_facet
: public std::locale::facet
{
int test() const {return 5;}
static std::locale::id id;
};
std::locale::id my_facet::id;
int main(int, char**)
{
{
std::locale loc(LOCALE_ru_RU_UTF_8);
check(loc);
std::locale loc2(loc, new my_facet);
check(loc2);
assert((std::has_facet<my_facet>(loc2)));
const my_facet& f = std::use_facet<my_facet>(loc2);
assert(f.test() == 5);
}
assert(globalMemCounter.checkOutstandingNewEq(0));
{
std::locale loc;
check(loc);
std::locale loc2(loc, (std::ctype<char>*)0);
check(loc2);
assert(loc == loc2);
}
assert(globalMemCounter.checkOutstandingNewEq(0));
return 0;
}
| {
"pile_set_name": "Github"
} |
// This file is part of Eigen, a lightweight C++ template library
// for linear algebra.
//
// Copyright (C) 2008-2009 Gael Guennebaud <[email protected]>
//
// This Source Code Form is subject to the terms of the Mozilla
// Public License v. 2.0. If a copy of the MPL was not distributed
// with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
#ifndef EIGEN_SELFADJOINT_MATRIX_VECTOR_H
#define EIGEN_SELFADJOINT_MATRIX_VECTOR_H
namespace Eigen {
namespace internal {
/* Optimized selfadjoint matrix * vector product:
* This algorithm processes 2 columns at onces that allows to both reduce
* the number of load/stores of the result by a factor 2 and to reduce
* the instruction dependency.
*/
template<typename Scalar, typename Index, int StorageOrder, int UpLo, bool ConjugateLhs, bool ConjugateRhs, int Version=Specialized>
struct selfadjoint_matrix_vector_product;
template<typename Scalar, typename Index, int StorageOrder, int UpLo, bool ConjugateLhs, bool ConjugateRhs, int Version>
struct selfadjoint_matrix_vector_product
{
static EIGEN_DONT_INLINE void run(
Index size,
const Scalar* lhs, Index lhsStride,
const Scalar* _rhs, Index rhsIncr,
Scalar* res,
Scalar alpha);
};
template<typename Scalar, typename Index, int StorageOrder, int UpLo, bool ConjugateLhs, bool ConjugateRhs, int Version>
EIGEN_DONT_INLINE void selfadjoint_matrix_vector_product<Scalar,Index,StorageOrder,UpLo,ConjugateLhs,ConjugateRhs,Version>::run(
Index size,
const Scalar* lhs, Index lhsStride,
const Scalar* _rhs, Index rhsIncr,
Scalar* res,
Scalar alpha)
{
typedef typename packet_traits<Scalar>::type Packet;
const Index PacketSize = sizeof(Packet)/sizeof(Scalar);
enum {
IsRowMajor = StorageOrder==RowMajor ? 1 : 0,
IsLower = UpLo == Lower ? 1 : 0,
FirstTriangular = IsRowMajor == IsLower
};
conj_helper<Scalar,Scalar,NumTraits<Scalar>::IsComplex && EIGEN_LOGICAL_XOR(ConjugateLhs, IsRowMajor), ConjugateRhs> cj0;
conj_helper<Scalar,Scalar,NumTraits<Scalar>::IsComplex && EIGEN_LOGICAL_XOR(ConjugateLhs, !IsRowMajor), ConjugateRhs> cj1;
conj_helper<Scalar,Scalar,NumTraits<Scalar>::IsComplex, ConjugateRhs> cjd;
conj_helper<Packet,Packet,NumTraits<Scalar>::IsComplex && EIGEN_LOGICAL_XOR(ConjugateLhs, IsRowMajor), ConjugateRhs> pcj0;
conj_helper<Packet,Packet,NumTraits<Scalar>::IsComplex && EIGEN_LOGICAL_XOR(ConjugateLhs, !IsRowMajor), ConjugateRhs> pcj1;
Scalar cjAlpha = ConjugateRhs ? numext::conj(alpha) : alpha;
// FIXME this copy is now handled outside product_selfadjoint_vector, so it could probably be removed.
// if the rhs is not sequentially stored in memory we copy it to a temporary buffer,
// this is because we need to extract packets
ei_declare_aligned_stack_constructed_variable(Scalar,rhs,size,rhsIncr==1 ? const_cast<Scalar*>(_rhs) : 0);
if (rhsIncr!=1)
{
const Scalar* it = _rhs;
for (Index i=0; i<size; ++i, it+=rhsIncr)
rhs[i] = *it;
}
Index bound = (std::max)(Index(0),size-8) & 0xfffffffe;
if (FirstTriangular)
bound = size - bound;
for (Index j=FirstTriangular ? bound : 0;
j<(FirstTriangular ? size : bound);j+=2)
{
const Scalar* EIGEN_RESTRICT A0 = lhs + j*lhsStride;
const Scalar* EIGEN_RESTRICT A1 = lhs + (j+1)*lhsStride;
Scalar t0 = cjAlpha * rhs[j];
Packet ptmp0 = pset1<Packet>(t0);
Scalar t1 = cjAlpha * rhs[j+1];
Packet ptmp1 = pset1<Packet>(t1);
Scalar t2(0);
Packet ptmp2 = pset1<Packet>(t2);
Scalar t3(0);
Packet ptmp3 = pset1<Packet>(t3);
size_t starti = FirstTriangular ? 0 : j+2;
size_t endi = FirstTriangular ? j : size;
size_t alignedStart = (starti) + internal::first_aligned(&res[starti], endi-starti);
size_t alignedEnd = alignedStart + ((endi-alignedStart)/(PacketSize))*(PacketSize);
// TODO make sure this product is a real * complex and that the rhs is properly conjugated if needed
res[j] += cjd.pmul(numext::real(A0[j]), t0);
res[j+1] += cjd.pmul(numext::real(A1[j+1]), t1);
if(FirstTriangular)
{
res[j] += cj0.pmul(A1[j], t1);
t3 += cj1.pmul(A1[j], rhs[j]);
}
else
{
res[j+1] += cj0.pmul(A0[j+1],t0);
t2 += cj1.pmul(A0[j+1], rhs[j+1]);
}
for (size_t i=starti; i<alignedStart; ++i)
{
res[i] += t0 * A0[i] + t1 * A1[i];
t2 += numext::conj(A0[i]) * rhs[i];
t3 += numext::conj(A1[i]) * rhs[i];
}
// Yes this an optimization for gcc 4.3 and 4.4 (=> huge speed up)
// gcc 4.2 does this optimization automatically.
const Scalar* EIGEN_RESTRICT a0It = A0 + alignedStart;
const Scalar* EIGEN_RESTRICT a1It = A1 + alignedStart;
const Scalar* EIGEN_RESTRICT rhsIt = rhs + alignedStart;
Scalar* EIGEN_RESTRICT resIt = res + alignedStart;
for (size_t i=alignedStart; i<alignedEnd; i+=PacketSize)
{
Packet A0i = ploadu<Packet>(a0It); a0It += PacketSize;
Packet A1i = ploadu<Packet>(a1It); a1It += PacketSize;
Packet Bi = ploadu<Packet>(rhsIt); rhsIt += PacketSize; // FIXME should be aligned in most cases
Packet Xi = pload <Packet>(resIt);
Xi = pcj0.pmadd(A0i,ptmp0, pcj0.pmadd(A1i,ptmp1,Xi));
ptmp2 = pcj1.pmadd(A0i, Bi, ptmp2);
ptmp3 = pcj1.pmadd(A1i, Bi, ptmp3);
pstore(resIt,Xi); resIt += PacketSize;
}
for (size_t i=alignedEnd; i<endi; i++)
{
res[i] += cj0.pmul(A0[i], t0) + cj0.pmul(A1[i],t1);
t2 += cj1.pmul(A0[i], rhs[i]);
t3 += cj1.pmul(A1[i], rhs[i]);
}
res[j] += alpha * (t2 + predux(ptmp2));
res[j+1] += alpha * (t3 + predux(ptmp3));
}
for (Index j=FirstTriangular ? 0 : bound;j<(FirstTriangular ? bound : size);j++)
{
const Scalar* EIGEN_RESTRICT A0 = lhs + j*lhsStride;
Scalar t1 = cjAlpha * rhs[j];
Scalar t2(0);
// TODO make sure this product is a real * complex and that the rhs is properly conjugated if needed
res[j] += cjd.pmul(numext::real(A0[j]), t1);
for (Index i=FirstTriangular ? 0 : j+1; i<(FirstTriangular ? j : size); i++)
{
res[i] += cj0.pmul(A0[i], t1);
t2 += cj1.pmul(A0[i], rhs[i]);
}
res[j] += alpha * t2;
}
}
} // end namespace internal
/***************************************************************************
* Wrapper to product_selfadjoint_vector
***************************************************************************/
namespace internal {
template<typename Lhs, int LhsMode, typename Rhs>
struct traits<SelfadjointProductMatrix<Lhs,LhsMode,false,Rhs,0,true> >
: traits<ProductBase<SelfadjointProductMatrix<Lhs,LhsMode,false,Rhs,0,true>, Lhs, Rhs> >
{};
}
template<typename Lhs, int LhsMode, typename Rhs>
struct SelfadjointProductMatrix<Lhs,LhsMode,false,Rhs,0,true>
: public ProductBase<SelfadjointProductMatrix<Lhs,LhsMode,false,Rhs,0,true>, Lhs, Rhs >
{
EIGEN_PRODUCT_PUBLIC_INTERFACE(SelfadjointProductMatrix)
enum {
LhsUpLo = LhsMode&(Upper|Lower)
};
SelfadjointProductMatrix(const Lhs& lhs, const Rhs& rhs) : Base(lhs,rhs) {}
template<typename Dest> void scaleAndAddTo(Dest& dest, const Scalar& alpha) const
{
typedef typename Dest::Scalar ResScalar;
typedef typename Base::RhsScalar RhsScalar;
typedef Map<Matrix<ResScalar,Dynamic,1>, Aligned> MappedDest;
eigen_assert(dest.rows()==m_lhs.rows() && dest.cols()==m_rhs.cols());
typename internal::add_const_on_value_type<ActualLhsType>::type lhs = LhsBlasTraits::extract(m_lhs);
typename internal::add_const_on_value_type<ActualRhsType>::type rhs = RhsBlasTraits::extract(m_rhs);
Scalar actualAlpha = alpha * LhsBlasTraits::extractScalarFactor(m_lhs)
* RhsBlasTraits::extractScalarFactor(m_rhs);
enum {
EvalToDest = (Dest::InnerStrideAtCompileTime==1),
UseRhs = (_ActualRhsType::InnerStrideAtCompileTime==1)
};
internal::gemv_static_vector_if<ResScalar,Dest::SizeAtCompileTime,Dest::MaxSizeAtCompileTime,!EvalToDest> static_dest;
internal::gemv_static_vector_if<RhsScalar,_ActualRhsType::SizeAtCompileTime,_ActualRhsType::MaxSizeAtCompileTime,!UseRhs> static_rhs;
ei_declare_aligned_stack_constructed_variable(ResScalar,actualDestPtr,dest.size(),
EvalToDest ? dest.data() : static_dest.data());
ei_declare_aligned_stack_constructed_variable(RhsScalar,actualRhsPtr,rhs.size(),
UseRhs ? const_cast<RhsScalar*>(rhs.data()) : static_rhs.data());
if(!EvalToDest)
{
#ifdef EIGEN_DENSE_STORAGE_CTOR_PLUGIN
int size = dest.size();
EIGEN_DENSE_STORAGE_CTOR_PLUGIN
#endif
MappedDest(actualDestPtr, dest.size()) = dest;
}
if(!UseRhs)
{
#ifdef EIGEN_DENSE_STORAGE_CTOR_PLUGIN
int size = rhs.size();
EIGEN_DENSE_STORAGE_CTOR_PLUGIN
#endif
Map<typename _ActualRhsType::PlainObject>(actualRhsPtr, rhs.size()) = rhs;
}
internal::selfadjoint_matrix_vector_product<Scalar, Index, (internal::traits<_ActualLhsType>::Flags&RowMajorBit) ? RowMajor : ColMajor, int(LhsUpLo), bool(LhsBlasTraits::NeedToConjugate), bool(RhsBlasTraits::NeedToConjugate)>::run
(
lhs.rows(), // size
&lhs.coeffRef(0,0), lhs.outerStride(), // lhs info
actualRhsPtr, 1, // rhs info
actualDestPtr, // result info
actualAlpha // scale factor
);
if(!EvalToDest)
dest = MappedDest(actualDestPtr, dest.size());
}
};
namespace internal {
template<typename Lhs, typename Rhs, int RhsMode>
struct traits<SelfadjointProductMatrix<Lhs,0,true,Rhs,RhsMode,false> >
: traits<ProductBase<SelfadjointProductMatrix<Lhs,0,true,Rhs,RhsMode,false>, Lhs, Rhs> >
{};
}
template<typename Lhs, typename Rhs, int RhsMode>
struct SelfadjointProductMatrix<Lhs,0,true,Rhs,RhsMode,false>
: public ProductBase<SelfadjointProductMatrix<Lhs,0,true,Rhs,RhsMode,false>, Lhs, Rhs >
{
EIGEN_PRODUCT_PUBLIC_INTERFACE(SelfadjointProductMatrix)
enum {
RhsUpLo = RhsMode&(Upper|Lower)
};
SelfadjointProductMatrix(const Lhs& lhs, const Rhs& rhs) : Base(lhs,rhs) {}
template<typename Dest> void scaleAndAddTo(Dest& dest, const Scalar& alpha) const
{
// let's simply transpose the product
Transpose<Dest> destT(dest);
SelfadjointProductMatrix<Transpose<const Rhs>, int(RhsUpLo)==Upper ? Lower : Upper, false,
Transpose<const Lhs>, 0, true>(m_rhs.transpose(), m_lhs.transpose()).scaleAndAddTo(destT, alpha);
}
};
} // end namespace Eigen
#endif // EIGEN_SELFADJOINT_MATRIX_VECTOR_H
| {
"pile_set_name": "Github"
} |
import React from 'react';
import {
Container,
Badge,
Group,
} from 'amazeui-touch';
const styles = [
null,
'primary',
'secondary',
'success',
'warning',
'alert',
'dark',
];
class BadgeExample extends React.Component {
render() {
return (
<Container {...this.props}>
<Group
header="้ป่ฎคๅฝข็ถ"
>
{
styles.map((amStyle, i) => {
return (
<Badge
amStyle={amStyle}
key={i}
>
{amStyle || 'default'}
</Badge>
);
})
}
</Group>
<Group
header="Rounded"
>
{
styles.map((amStyle, i) => {
return (
<Badge
amStyle={amStyle}
key={i}
rounded
>
{i}
</Badge>
);
})
}
</Group>
</Container>
);
}
}
export default BadgeExample;
| {
"pile_set_name": "Github"
} |
/*
* Camel ApiMethod Enumeration generated by camel-api-component-maven-plugin
*/
package org.apache.camel.component.twilio.internal;
import java.lang.reflect.Method;
import java.util.List;
import com.twilio.rest.api.v2010.account.Key;
import org.apache.camel.support.component.ApiMethod;
import org.apache.camel.support.component.ApiMethodArg;
import org.apache.camel.support.component.ApiMethodImpl;
import static org.apache.camel.support.component.ApiMethodArg.arg;
/**
* Camel {@link ApiMethod} Enumeration for com.twilio.rest.api.v2010.account.Key
*/
public enum KeyApiMethod implements ApiMethod {
DELETER(
com.twilio.rest.api.v2010.account.KeyDeleter.class,
"deleter",
arg("pathSid", String.class)),
DELETER_1(
com.twilio.rest.api.v2010.account.KeyDeleter.class,
"deleter",
arg("pathAccountSid", String.class),
arg("pathSid", String.class)),
FETCHER(
com.twilio.rest.api.v2010.account.KeyFetcher.class,
"fetcher",
arg("pathSid", String.class)),
FETCHER_1(
com.twilio.rest.api.v2010.account.KeyFetcher.class,
"fetcher",
arg("pathAccountSid", String.class),
arg("pathSid", String.class)),
READER(
com.twilio.rest.api.v2010.account.KeyReader.class,
"reader"),
READER_1(
com.twilio.rest.api.v2010.account.KeyReader.class,
"reader",
arg("pathAccountSid", String.class)),
UPDATER(
com.twilio.rest.api.v2010.account.KeyUpdater.class,
"updater",
arg("pathSid", String.class)),
UPDATER_1(
com.twilio.rest.api.v2010.account.KeyUpdater.class,
"updater",
arg("pathAccountSid", String.class),
arg("pathSid", String.class));
private final ApiMethod apiMethod;
private KeyApiMethod(Class<?> resultType, String name, ApiMethodArg... args) {
this.apiMethod = new ApiMethodImpl(Key.class, resultType, name, args);
}
@Override
public String getName() { return apiMethod.getName(); }
@Override
public Class<?> getResultType() { return apiMethod.getResultType(); }
@Override
public List<String> getArgNames() { return apiMethod.getArgNames(); }
@Override
public List<Class<?>> getArgTypes() { return apiMethod.getArgTypes(); }
@Override
public Method getMethod() { return apiMethod.getMethod(); }
}
| {
"pile_set_name": "Github"
} |
fileFormatVersion: 2
guid: 0e6116764ce6028409774abe48658b5a
DDSImporter:
userData:
| {
"pile_set_name": "Github"
} |
.class Landroid/support/v4/view/a/e;
.super Ljava/lang/Object;
# direct methods
.method constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static a(Landroid/view/accessibility/AccessibilityEvent;)I
.locals 1
invoke-virtual {p0}, Landroid/view/accessibility/AccessibilityEvent;->getRecordCount()I
move-result v0
return v0
.end method
.method public static a(Landroid/view/accessibility/AccessibilityEvent;I)Ljava/lang/Object;
.locals 1
invoke-virtual {p0, p1}, Landroid/view/accessibility/AccessibilityEvent;->getRecord(I)Landroid/view/accessibility/AccessibilityRecord;
move-result-object v0
return-object v0
.end method
.method public static a(Landroid/view/accessibility/AccessibilityEvent;Ljava/lang/Object;)V
.locals 0
check-cast p1, Landroid/view/accessibility/AccessibilityRecord;
invoke-virtual {p0, p1}, Landroid/view/accessibility/AccessibilityEvent;->appendRecord(Landroid/view/accessibility/AccessibilityRecord;)V
return-void
.end method
.method public static a(Landroid/view/accessibility/AccessibilityEvent;Z)V
.locals 0
invoke-virtual {p0, p1}, Landroid/view/accessibility/AccessibilityEvent;->setScrollable(Z)V
return-void
.end method
| {
"pile_set_name": "Github"
} |
INRIA Sophia-Antipolis (France)
| {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<solution name="com.mbeddr.mpsutil.refactoring.rt" uuid="8f16104e-22e6-406d-8251-ef9688474557" moduleVersion="0" pluginKind="PLUGIN_OTHER" compileInMPS="true">
<models>
<modelRoot contentPath="${module}" type="default">
<sourceRoot location="models" />
</modelRoot>
</models>
<facets>
<facet type="java">
<classes generated="true" path="${module}/classes_gen" />
</facet>
</facets>
<sourcePath />
<dependencies>
<dependency reexport="false">3f233e7f-b8a6-46d2-a57f-795d56775243(Annotations)</dependency>
<dependency reexport="false">6354ebe7-c22a-4a0f-ac54-50b52ab9b065(JDK)</dependency>
<dependency reexport="false">6ed54515-acc8-4d1e-a16c-9fd6cfe951ea(MPS.Core)</dependency>
<dependency reexport="false">1ed103c3-3aa6-49b7-9c21-6765ee11f224(MPS.Editor)</dependency>
<dependency reexport="false">498d89d2-c2e9-11e2-ad49-6cf049e62fe5(MPS.IDEA)</dependency>
<dependency reexport="false">5b1f863d-65a0-41a6-a801-33896be24202(jetbrains.mps.ide.editor)</dependency>
</dependencies>
<languageVersions>
<language slang="l:f3061a53-9226-4cc5-a443-f952ceaf5816:jetbrains.mps.baseLanguage" version="11" />
<language slang="l:fd392034-7849-419d-9071-12563d152375:jetbrains.mps.baseLanguage.closures" version="0" />
<language slang="l:83888646-71ce-4f1c-9c53-c54016f6ad4f:jetbrains.mps.baseLanguage.collections" version="1" />
<language slang="l:ceab5195-25ea-4f22-9b92-103b95ca8c0c:jetbrains.mps.lang.core" version="2" />
<language slang="l:446c26eb-2b7b-4bf0-9b35-f83fa582753e:jetbrains.mps.lang.modelapi" version="0" />
<language slang="l:7866978e-a0f0-4cc7-81bc-4d213d9375e1:jetbrains.mps.lang.smodel" version="17" />
<language slang="l:9ded098b-ad6a-4657-bfd9-48636cfe8bc3:jetbrains.mps.lang.traceable" version="0" />
</languageVersions>
<dependencyVersions>
<module reference="3f233e7f-b8a6-46d2-a57f-795d56775243(Annotations)" version="0" />
<module reference="6354ebe7-c22a-4a0f-ac54-50b52ab9b065(JDK)" version="0" />
<module reference="6ed54515-acc8-4d1e-a16c-9fd6cfe951ea(MPS.Core)" version="0" />
<module reference="1ed103c3-3aa6-49b7-9c21-6765ee11f224(MPS.Editor)" version="0" />
<module reference="498d89d2-c2e9-11e2-ad49-6cf049e62fe5(MPS.IDEA)" version="0" />
<module reference="8865b7a8-5271-43d3-884c-6fd1d9cfdd34(MPS.OpenAPI)" version="0" />
<module reference="742f6602-5a2f-4313-aa6e-ae1cd4ffdc61(MPS.Platform)" version="0" />
<module reference="8f16104e-22e6-406d-8251-ef9688474557(com.mbeddr.mpsutil.refactoring.rt)" version="0" />
<module reference="5b1f863d-65a0-41a6-a801-33896be24202(jetbrains.mps.ide.editor)" version="0" />
<module reference="9e98f4e2-decf-4e97-bf80-9109e8b759aa(jetbrains.mps.lang.feedback.context)" version="0" />
</dependencyVersions>
</solution>
| {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
android:text="@string/frontproxy_enable"
android:gravity="left"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingLeft="10dp"/>
<Switch
android:id="@+id/sw_frontproxy_enable"
android:layout_width="fill_parent"
android:layout_height="wrap_content"/>
<TextView
android:text="@string/frontproxy_type"
android:gravity="left"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingLeft="10dp"/>
<Spinner
android:id="@+id/sp_frontproxy_type"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:entries="@array/frontproxy_type_entry"/>
<TextView
android:text="@string/frontproxy_addr"
android:gravity="left"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingLeft="10dp"/>
<EditText
android:id="@+id/et_frontproxy_addr"
android:layout_width="fill_parent"
android:layout_height="wrap_content"/>
<TextView
android:text="@string/frontproxy_port"
android:gravity="left"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingLeft="10dp"/>
<EditText
android:id="@+id/et_frontproxy_port"
android:layout_width="fill_parent"
android:layout_height="wrap_content"/>
<TextView
android:text="@string/frontproxy_username"
android:gravity="left"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingLeft="10dp"/>
<EditText
android:id="@+id/et_frontproxy_username"
android:layout_width="fill_parent"
android:layout_height="wrap_content"/>
<TextView
android:text="@string/frontproxy_password"
android:gravity="left"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingLeft="10dp"/>
<EditText
android:id="@+id/et_frontproxy_password"
android:layout_width="fill_parent"
android:layout_height="wrap_content"/>
</LinearLayout>
| {
"pile_set_name": "Github"
} |
#!/bin/bash
set -e
not_installed() {
! command -v $1 > /dev/null 2>&1
}
if not_installed ginkgo; then
echo "# ginkgo is not installed! run the following command:"
echo " go install github.com/onsi/ginkgo/ginkgo"
exit 1
fi
cd $(dirname $0)/..
ginkgo -r -p -race
| {
"pile_set_name": "Github"
} |
#
# test/Makefile
#
DIR= test
TOP= ..
CC= cc
INCLUDES= -I$(TOP) -I../include $(KRB5_INCLUDES)
CFLAG= -g
MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
PERL= perl
# KRB5 stuff
KRB5_INCLUDES=
LIBKRB5=
TEST= igetest.c
PEX_LIBS=
EX_LIBS= #-lnsl -lsocket
CFLAGS= $(INCLUDES) $(CFLAG)
GENERAL=Makefile maketests.com \
tests.com testenc.com tx509.com trsa.com tcrl.com tsid.com treq.com \
tpkcs7.com tpkcs7d.com tverify.com testgen.com testss.com testssl.com \
testca.com VMSca-response.1 VMSca-response.2
DLIBCRYPTO= ../libcrypto.a
DLIBSSL= ../libssl.a
LIBCRYPTO= -L.. -lcrypto
LIBSSL= -L.. -lssl
BNTEST= bntest
ECTEST= ectest
ECDSATEST= ecdsatest
ECDHTEST= ecdhtest
EXPTEST= exptest
IDEATEST= ideatest
SHATEST= shatest
SHA1TEST= sha1test
SHA256TEST= sha256t
SHA512TEST= sha512t
MDC2TEST= mdc2test
RMDTEST= rmdtest
MD2TEST= md2test
MD4TEST= md4test
MD5TEST= md5test
HMACTEST= hmactest
WPTEST= wp_test
RC2TEST= rc2test
RC4TEST= rc4test
RC5TEST= rc5test
BFTEST= bftest
CASTTEST= casttest
DESTEST= destest
RANDTEST= randtest
DHTEST= dhtest
DSATEST= dsatest
METHTEST= methtest
SSLTEST= ssltest
RSATEST= rsa_test
ENGINETEST= enginetest
EVPTEST= evp_test
EVPEXTRATEST=evp_extra_test
IGETEST= igetest
JPAKETEST= jpaketest
SRPTEST= srptest
V3NAMETEST= v3nametest
ASN1TEST= asn1test
HEARTBEATTEST= heartbeat_test
CONSTTIMETEST= constant_time_test
TESTS= alltests
EXE= $(BNTEST)$(EXE_EXT) $(ECTEST)$(EXE_EXT) $(ECDSATEST)$(EXE_EXT) $(ECDHTEST)$(EXE_EXT) $(IDEATEST)$(EXE_EXT) \
$(MD2TEST)$(EXE_EXT) $(MD4TEST)$(EXE_EXT) $(MD5TEST)$(EXE_EXT) $(HMACTEST)$(EXE_EXT) $(WPTEST)$(EXE_EXT) \
$(RC2TEST)$(EXE_EXT) $(RC4TEST)$(EXE_EXT) $(RC5TEST)$(EXE_EXT) \
$(DESTEST)$(EXE_EXT) $(SHATEST)$(EXE_EXT) $(SHA1TEST)$(EXE_EXT) $(SHA256TEST)$(EXE_EXT) $(SHA512TEST)$(EXE_EXT) \
$(MDC2TEST)$(EXE_EXT) $(RMDTEST)$(EXE_EXT) \
$(RANDTEST)$(EXE_EXT) $(DHTEST)$(EXE_EXT) $(ENGINETEST)$(EXE_EXT) \
$(BFTEST)$(EXE_EXT) $(CASTTEST)$(EXE_EXT) $(SSLTEST)$(EXE_EXT) $(EXPTEST)$(EXE_EXT) $(DSATEST)$(EXE_EXT) $(RSATEST)$(EXE_EXT) \
$(EVPTEST)$(EXE_EXT) $(EVPEXTRATEST)$(EXE_EXT) $(IGETEST)$(EXE_EXT) $(JPAKETEST)$(EXE_EXT) $(SRPTEST)$(EXE_EXT) \
$(ASN1TEST)$(EXE_EXT) $(V3NAMETEST)$(EXE_EXT) $(HEARTBEATTEST)$(EXE_EXT) \
$(CONSTTIMETEST)$(EXE_EXT)
# $(METHTEST)$(EXE_EXT)
OBJ= $(BNTEST).o $(ECTEST).o $(ECDSATEST).o $(ECDHTEST).o $(IDEATEST).o \
$(MD2TEST).o $(MD4TEST).o $(MD5TEST).o \
$(HMACTEST).o $(WPTEST).o \
$(RC2TEST).o $(RC4TEST).o $(RC5TEST).o \
$(DESTEST).o $(SHATEST).o $(SHA1TEST).o $(SHA256TEST).o $(SHA512TEST).o \
$(MDC2TEST).o $(RMDTEST).o \
$(RANDTEST).o $(DHTEST).o $(ENGINETEST).o $(CASTTEST).o \
$(BFTEST).o $(SSLTEST).o $(DSATEST).o $(EXPTEST).o $(RSATEST).o \
$(EVPTEST).o $(EVPEXTRATEST).o $(IGETEST).o $(JPAKETEST).o $(ASN1TEST).o $(V3NAMETEST).o \
$(HEARTBEATTEST).o $(CONSTTIMETEST).o
SRC= $(BNTEST).c $(ECTEST).c $(ECDSATEST).c $(ECDHTEST).c $(IDEATEST).c \
$(MD2TEST).c $(MD4TEST).c $(MD5TEST).c \
$(HMACTEST).c $(WPTEST).c \
$(RC2TEST).c $(RC4TEST).c $(RC5TEST).c \
$(DESTEST).c $(SHATEST).c $(SHA1TEST).c $(MDC2TEST).c $(RMDTEST).c \
$(RANDTEST).c $(DHTEST).c $(ENGINETEST).c $(CASTTEST).c \
$(BFTEST).c $(SSLTEST).c $(DSATEST).c $(EXPTEST).c $(RSATEST).c \
$(EVPTEST).c $(EVPEXTRATEST).c $(IGETEST).c $(JPAKETEST).c $(SRPTEST).c $(ASN1TEST).c \
$(V3NAMETEST).c $(HEARTBEATTEST).c $(CONSTTIMETEST).c
EXHEADER=
HEADER= testutil.h $(EXHEADER)
ALL= $(GENERAL) $(SRC) $(HEADER)
top:
(cd ..; $(MAKE) DIRS=$(DIR) TESTS=$(TESTS) all)
all: exe
exe: $(EXE) dummytest$(EXE_EXT)
files:
$(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
links:
generate: $(SRC)
$(SRC):
@sh $(TOP)/util/point.sh dummytest.c $@
errors:
install:
tags:
ctags $(SRC)
tests: exe apps $(TESTS)
apps:
@(cd ..; $(MAKE) DIRS=apps all)
alltests: \
test_des test_idea test_sha test_md4 test_md5 test_hmac \
test_md2 test_mdc2 test_wp \
test_rmd test_rc2 test_rc4 test_rc5 test_bf test_cast test_aes \
test_rand test_bn test_ec test_ecdsa test_ecdh \
test_enc test_x509 test_rsa test_crl test_sid \
test_gen test_req test_pkcs7 test_verify test_dh test_dsa \
test_ss test_ca test_engine test_evp test_evp_extra test_ssl test_tsa test_ige \
test_jpake test_srp test_cms test_ocsp test_v3name test_heartbeat \
test_constant_time
test_evp: $(EVPTEST)$(EXE_EXT) evptests.txt
../util/shlib_wrap.sh ./$(EVPTEST) evptests.txt
test_evp_extra: $(EVPEXTRATEST)$(EXE_EXT)
../util/shlib_wrap.sh ./$(EVPEXTRATEST)
test_des: $(DESTEST)$(EXE_EXT)
../util/shlib_wrap.sh ./$(DESTEST)
test_idea: $(IDEATEST)$(EXE_EXT)
../util/shlib_wrap.sh ./$(IDEATEST)
test_sha: $(SHATEST)$(EXE_EXT) $(SHA1TEST)$(EXE_EXT) $(SHA256TEST)$(EXE_EXT) $(SHA512TEST)$(EXE_EXT)
../util/shlib_wrap.sh ./$(SHATEST)
../util/shlib_wrap.sh ./$(SHA1TEST)
../util/shlib_wrap.sh ./$(SHA256TEST)
../util/shlib_wrap.sh ./$(SHA512TEST)
test_mdc2: $(MDC2TEST)$(EXE_EXT)
../util/shlib_wrap.sh ./$(MDC2TEST)
test_md5: $(MD5TEST)$(EXE_EXT)
../util/shlib_wrap.sh ./$(MD5TEST)
test_md4: $(MD4TEST)$(EXE_EXT)
../util/shlib_wrap.sh ./$(MD4TEST)
test_hmac: $(HMACTEST)$(EXE_EXT)
../util/shlib_wrap.sh ./$(HMACTEST)
test_wp: $(WPTEST)$(EXE_EXT)
../util/shlib_wrap.sh ./$(WPTEST)
test_md2: $(MD2TEST)$(EXE_EXT)
../util/shlib_wrap.sh ./$(MD2TEST)
test_rmd: $(RMDTEST)$(EXE_EXT)
../util/shlib_wrap.sh ./$(RMDTEST)
test_bf: $(BFTEST)$(EXE_EXT)
../util/shlib_wrap.sh ./$(BFTEST)
test_cast: $(CASTTEST)$(EXE_EXT)
../util/shlib_wrap.sh ./$(CASTTEST)
test_rc2: $(RC2TEST)$(EXE_EXT)
../util/shlib_wrap.sh ./$(RC2TEST)
test_rc4: $(RC4TEST)$(EXE_EXT)
../util/shlib_wrap.sh ./$(RC4TEST)
test_rc5: $(RC5TEST)$(EXE_EXT)
../util/shlib_wrap.sh ./$(RC5TEST)
test_rand: $(RANDTEST)$(EXE_EXT)
../util/shlib_wrap.sh ./$(RANDTEST)
test_enc: ../apps/openssl$(EXE_EXT) testenc
@sh ./testenc
test_x509: ../apps/openssl$(EXE_EXT) tx509 testx509.pem v3-cert1.pem v3-cert2.pem
echo test normal x509v1 certificate
sh ./tx509 2>/dev/null
echo test first x509v3 certificate
sh ./tx509 v3-cert1.pem 2>/dev/null
echo test second x509v3 certificate
sh ./tx509 v3-cert2.pem 2>/dev/null
test_rsa: $(RSATEST)$(EXE_EXT) ../apps/openssl$(EXE_EXT) trsa testrsa.pem
@sh ./trsa 2>/dev/null
../util/shlib_wrap.sh ./$(RSATEST)
test_crl: ../apps/openssl$(EXE_EXT) tcrl testcrl.pem
@sh ./tcrl 2>/dev/null
test_sid: ../apps/openssl$(EXE_EXT) tsid testsid.pem
@sh ./tsid 2>/dev/null
test_req: ../apps/openssl$(EXE_EXT) treq testreq.pem testreq2.pem
@sh ./treq 2>/dev/null
@sh ./treq testreq2.pem 2>/dev/null
test_pkcs7: ../apps/openssl$(EXE_EXT) tpkcs7 tpkcs7d testp7.pem pkcs7-1.pem
@sh ./tpkcs7 2>/dev/null
@sh ./tpkcs7d 2>/dev/null
test_bn: $(BNTEST)$(EXE_EXT) $(EXPTEST)$(EXE_EXT) bctest
@echo starting big number library test, could take a while...
@../util/shlib_wrap.sh ./$(BNTEST) >tmp.bntest
@echo quit >>tmp.bntest
@echo "running bc"
@<tmp.bntest sh -c "`sh ./bctest ignore`" | $(PERL) -e '$$i=0; while (<STDIN>) {if (/^test (.*)/) {print STDERR "\nverify $$1";} elsif (!/^0$$/) {die "\nFailed! bc: $$_";} else {print STDERR "."; $$i++;}} print STDERR "\n$$i tests passed\n"'
@echo 'test a^b%c implementations'
../util/shlib_wrap.sh ./$(EXPTEST)
test_ec: $(ECTEST)$(EXE_EXT)
@echo 'test elliptic curves'
../util/shlib_wrap.sh ./$(ECTEST)
test_ecdsa: $(ECDSATEST)$(EXE_EXT)
@echo 'test ecdsa'
../util/shlib_wrap.sh ./$(ECDSATEST)
test_ecdh: $(ECDHTEST)$(EXE_EXT)
@echo 'test ecdh'
../util/shlib_wrap.sh ./$(ECDHTEST)
test_verify: ../apps/openssl$(EXE_EXT)
@echo "The following command should have some OK's and some failures"
@echo "There are definitly a few expired certificates"
../util/shlib_wrap.sh ../apps/openssl verify -CApath ../certs/demo ../certs/demo/*.pem
test_dh: $(DHTEST)$(EXE_EXT)
@echo "Generate a set of DH parameters"
../util/shlib_wrap.sh ./$(DHTEST)
test_dsa: $(DSATEST)$(EXE_EXT)
@echo "Generate a set of DSA parameters"
../util/shlib_wrap.sh ./$(DSATEST)
../util/shlib_wrap.sh ./$(DSATEST) -app2_1
test_gen testreq.pem: ../apps/openssl$(EXE_EXT) testgen test.cnf
@echo "Generate and verify a certificate request"
@sh ./testgen
test_ss keyU.ss certU.ss certCA.ss certP1.ss keyP1.ss certP2.ss keyP2.ss \
intP1.ss intP2.ss: testss CAss.cnf Uss.cnf P1ss.cnf P2ss.cnf \
../apps/openssl$(EXE_EXT)
@echo "Generate and certify a test certificate"
@sh ./testss
@cat certCA.ss certU.ss > intP1.ss
@cat certCA.ss certU.ss certP1.ss > intP2.ss
test_engine: $(ENGINETEST)$(EXE_EXT)
@echo "Manipulate the ENGINE structures"
../util/shlib_wrap.sh ./$(ENGINETEST)
test_ssl: keyU.ss certU.ss certCA.ss certP1.ss keyP1.ss certP2.ss keyP2.ss \
intP1.ss intP2.ss $(SSLTEST)$(EXE_EXT) testssl testsslproxy \
../apps/server2.pem serverinfo.pem
@echo "test SSL protocol"
@if [ -n "$(FIPSCANLIB)" ]; then \
sh ./testfipsssl keyU.ss certU.ss certCA.ss; \
fi
../util/shlib_wrap.sh ./$(SSLTEST) -test_cipherlist
@sh ./testssl keyU.ss certU.ss certCA.ss
@sh ./testsslproxy keyP1.ss certP1.ss intP1.ss
@sh ./testsslproxy keyP2.ss certP2.ss intP2.ss
test_ca: ../apps/openssl$(EXE_EXT) testca CAss.cnf Uss.cnf
@if ../util/shlib_wrap.sh ../apps/openssl no-rsa; then \
echo "skipping CA.sh test -- requires RSA"; \
else \
echo "Generate and certify a test certificate via the 'ca' program"; \
sh ./testca; \
fi
test_aes: #$(AESTEST)
# @echo "test Rijndael"
# ../util/shlib_wrap.sh ./$(AESTEST)
test_tsa: ../apps/openssl$(EXE_EXT) testtsa CAtsa.cnf ../util/shlib_wrap.sh
@if ../util/shlib_wrap.sh ../apps/openssl no-rsa; then \
echo "skipping testtsa test -- requires RSA"; \
else \
sh ./testtsa; \
fi
test_ige: $(IGETEST)$(EXE_EXT)
@echo "Test IGE mode"
../util/shlib_wrap.sh ./$(IGETEST)
test_jpake: $(JPAKETEST)$(EXE_EXT)
@echo "Test JPAKE"
../util/shlib_wrap.sh ./$(JPAKETEST)
test_cms: ../apps/openssl$(EXE_EXT) cms-test.pl smcont.txt
@echo "CMS consistency test"
$(PERL) cms-test.pl
test_srp: $(SRPTEST)$(EXE_EXT)
@echo "Test SRP"
../util/shlib_wrap.sh ./srptest
test_ocsp: ../apps/openssl$(EXE_EXT) tocsp
@echo "Test OCSP"
@sh ./tocsp
test_v3name: $(V3NAMETEST)$(EXE_EXT)
@echo "Test X509v3_check_*"
../util/shlib_wrap.sh ./$(V3NAMETEST)
test_heartbeat: $(HEARTBEATTEST)$(EXE_EXT)
../util/shlib_wrap.sh ./$(HEARTBEATTEST)
test_constant_time: $(CONSTTIMETEST)$(EXE_EXT)
@echo "Test constant time utilites"
../util/shlib_wrap.sh ./$(CONSTTIMETEST)
lint:
lint -DLINT $(INCLUDES) $(SRC)>fluff
depend:
@if [ -z "$(THIS)" ]; then \
$(MAKE) -f $(TOP)/Makefile reflect THIS=$@; \
else \
$(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(SRC); \
fi
dclean:
$(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
mv -f Makefile.new $(MAKEFILE)
rm -f $(SRC) $(SHA256TEST).c $(SHA512TEST).c evptests.txt newkey.pem testkey.pem \
testreq.pem
clean:
rm -f .rnd tmp.bntest tmp.bctest *.o *.obj *.dll lib tags core .pure .nfs* *.old *.bak fluff $(EXE) *.ss *.srl log dummytest
$(DLIBSSL):
(cd ..; $(MAKE) DIRS=ssl all)
$(DLIBCRYPTO):
(cd ..; $(MAKE) DIRS=crypto all)
BUILD_CMD=shlib_target=; if [ -n "$(SHARED_LIBS)" ]; then \
shlib_target="$(SHLIB_TARGET)"; \
fi; \
LIBRARIES="$(LIBSSL) $(LIBCRYPTO) $(LIBKRB5)"; \
$(MAKE) -f $(TOP)/Makefile.shared -e \
CC="$${CC}" APPNAME=$$target$(EXE_EXT) OBJECTS="$$target.o" \
LIBDEPS="$(PEX_LIBS) $$LIBRARIES $(EX_LIBS)" \
link_app.$${shlib_target}
FIPS_BUILD_CMD=shlib_target=; if [ -n "$(SHARED_LIBS)" ]; then \
shlib_target="$(SHLIB_TARGET)"; \
fi; \
LIBRARIES="$(LIBSSL) $(LIBCRYPTO) $(LIBKRB5)"; \
if [ -z "$(SHARED_LIBS)" -a -n "$(FIPSCANLIB)" ] ; then \
FIPSLD_CC="$(CC)"; CC=$(FIPSDIR)/bin/fipsld; export CC FIPSLD_CC; \
fi; \
$(MAKE) -f $(TOP)/Makefile.shared -e \
CC="$${CC}" APPNAME=$$target$(EXE_EXT) OBJECTS="$$target.o" \
LIBDEPS="$(PEX_LIBS) $$LIBRARIES $(EX_LIBS)" \
link_app.$${shlib_target}
BUILD_CMD_STATIC=shlib_target=; \
LIBRARIES="$(DLIBSSL) $(DLIBCRYPTO) $(LIBKRB5)"; \
$(MAKE) -f $(TOP)/Makefile.shared -e \
APPNAME=$$target$(EXE_EXT) OBJECTS="$$target.o" \
LIBDEPS="$(PEX_LIBS) $$LIBRARIES $(EX_LIBS)" \
link_app.$${shlib_target}
$(RSATEST)$(EXE_EXT): $(RSATEST).o $(DLIBCRYPTO)
@target=$(RSATEST); $(BUILD_CMD)
$(BNTEST)$(EXE_EXT): $(BNTEST).o $(DLIBCRYPTO)
@target=$(BNTEST); $(BUILD_CMD)
$(ECTEST)$(EXE_EXT): $(ECTEST).o $(DLIBCRYPTO)
@target=$(ECTEST); $(BUILD_CMD)
$(EXPTEST)$(EXE_EXT): $(EXPTEST).o $(DLIBCRYPTO)
@target=$(EXPTEST); $(BUILD_CMD)
$(IDEATEST)$(EXE_EXT): $(IDEATEST).o $(DLIBCRYPTO)
@target=$(IDEATEST); $(BUILD_CMD)
$(MD2TEST)$(EXE_EXT): $(MD2TEST).o $(DLIBCRYPTO)
@target=$(MD2TEST); $(BUILD_CMD)
$(SHATEST)$(EXE_EXT): $(SHATEST).o $(DLIBCRYPTO)
@target=$(SHATEST); $(BUILD_CMD)
$(SHA1TEST)$(EXE_EXT): $(SHA1TEST).o $(DLIBCRYPTO)
@target=$(SHA1TEST); $(BUILD_CMD)
$(SHA256TEST)$(EXE_EXT): $(SHA256TEST).o $(DLIBCRYPTO)
@target=$(SHA256TEST); $(BUILD_CMD)
$(SHA512TEST)$(EXE_EXT): $(SHA512TEST).o $(DLIBCRYPTO)
@target=$(SHA512TEST); $(BUILD_CMD)
$(RMDTEST)$(EXE_EXT): $(RMDTEST).o $(DLIBCRYPTO)
@target=$(RMDTEST); $(BUILD_CMD)
$(MDC2TEST)$(EXE_EXT): $(MDC2TEST).o $(DLIBCRYPTO)
@target=$(MDC2TEST); $(BUILD_CMD)
$(MD4TEST)$(EXE_EXT): $(MD4TEST).o $(DLIBCRYPTO)
@target=$(MD4TEST); $(BUILD_CMD)
$(MD5TEST)$(EXE_EXT): $(MD5TEST).o $(DLIBCRYPTO)
@target=$(MD5TEST); $(BUILD_CMD)
$(HMACTEST)$(EXE_EXT): $(HMACTEST).o $(DLIBCRYPTO)
@target=$(HMACTEST); $(BUILD_CMD)
$(WPTEST)$(EXE_EXT): $(WPTEST).o $(DLIBCRYPTO)
@target=$(WPTEST); $(BUILD_CMD)
$(RC2TEST)$(EXE_EXT): $(RC2TEST).o $(DLIBCRYPTO)
@target=$(RC2TEST); $(BUILD_CMD)
$(BFTEST)$(EXE_EXT): $(BFTEST).o $(DLIBCRYPTO)
@target=$(BFTEST); $(BUILD_CMD)
$(CASTTEST)$(EXE_EXT): $(CASTTEST).o $(DLIBCRYPTO)
@target=$(CASTTEST); $(BUILD_CMD)
$(RC4TEST)$(EXE_EXT): $(RC4TEST).o $(DLIBCRYPTO)
@target=$(RC4TEST); $(BUILD_CMD)
$(RC5TEST)$(EXE_EXT): $(RC5TEST).o $(DLIBCRYPTO)
@target=$(RC5TEST); $(BUILD_CMD)
$(DESTEST)$(EXE_EXT): $(DESTEST).o $(DLIBCRYPTO)
@target=$(DESTEST); $(BUILD_CMD)
$(RANDTEST)$(EXE_EXT): $(RANDTEST).o $(DLIBCRYPTO)
@target=$(RANDTEST); $(BUILD_CMD)
$(DHTEST)$(EXE_EXT): $(DHTEST).o $(DLIBCRYPTO)
@target=$(DHTEST); $(BUILD_CMD)
$(DSATEST)$(EXE_EXT): $(DSATEST).o $(DLIBCRYPTO)
@target=$(DSATEST); $(BUILD_CMD)
$(METHTEST)$(EXE_EXT): $(METHTEST).o $(DLIBCRYPTO)
@target=$(METHTEST); $(BUILD_CMD)
$(SSLTEST)$(EXE_EXT): $(SSLTEST).o $(DLIBSSL) $(DLIBCRYPTO)
@target=$(SSLTEST); $(FIPS_BUILD_CMD)
$(ENGINETEST)$(EXE_EXT): $(ENGINETEST).o $(DLIBCRYPTO)
@target=$(ENGINETEST); $(BUILD_CMD)
$(EVPTEST)$(EXE_EXT): $(EVPTEST).o $(DLIBCRYPTO)
@target=$(EVPTEST); $(BUILD_CMD)
$(EVPEXTRATEST)$(EXE_EXT): $(EVPEXTRATEST).o $(DLIBCRYPTO)
@target=$(EVPEXTRATEST); $(BUILD_CMD)
$(ECDSATEST)$(EXE_EXT): $(ECDSATEST).o $(DLIBCRYPTO)
@target=$(ECDSATEST); $(BUILD_CMD)
$(ECDHTEST)$(EXE_EXT): $(ECDHTEST).o $(DLIBCRYPTO)
@target=$(ECDHTEST); $(BUILD_CMD)
$(IGETEST)$(EXE_EXT): $(IGETEST).o $(DLIBCRYPTO)
@target=$(IGETEST); $(BUILD_CMD)
$(JPAKETEST)$(EXE_EXT): $(JPAKETEST).o $(DLIBCRYPTO)
@target=$(JPAKETEST); $(BUILD_CMD)
$(ASN1TEST)$(EXE_EXT): $(ASN1TEST).o $(DLIBCRYPTO)
@target=$(ASN1TEST); $(BUILD_CMD)
$(SRPTEST)$(EXE_EXT): $(SRPTEST).o $(DLIBCRYPTO)
@target=$(SRPTEST); $(BUILD_CMD)
$(V3NAMETEST)$(EXE_EXT): $(V3NAMETEST).o $(DLIBCRYPTO)
@target=$(V3NAMETEST); $(BUILD_CMD)
$(HEARTBEATTEST)$(EXE_EXT): $(HEARTBEATTEST).o $(DLIBCRYPTO)
@target=$(HEARTBEATTEST); $(BUILD_CMD_STATIC)
$(CONSTTIMETEST)$(EXE_EXT): $(CONSTTIMETEST).o
@target=$(CONSTTIMETEST) $(BUILD_CMD)
#$(AESTEST).o: $(AESTEST).c
# $(CC) -c $(CFLAGS) -DINTERMEDIATE_VALUE_KAT -DTRACE_KAT_MCT $(AESTEST).c
#$(AESTEST)$(EXE_EXT): $(AESTEST).o $(DLIBCRYPTO)
# if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \
# $(CC) -o $(AESTEST)$(EXE_EXT) $(CFLAGS) $(AESTEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \
# else \
# $(CC) -o $(AESTEST)$(EXE_EXT) $(CFLAGS) $(AESTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \
# fi
dummytest$(EXE_EXT): dummytest.o $(DLIBCRYPTO)
@target=dummytest; $(BUILD_CMD)
# DO NOT DELETE THIS LINE -- make depend depends on it.
asn1test.o: ../include/openssl/asn1.h ../include/openssl/asn1_mac.h
asn1test.o: ../include/openssl/bio.h ../include/openssl/buffer.h
asn1test.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
asn1test.o: ../include/openssl/ec.h ../include/openssl/ecdh.h
asn1test.o: ../include/openssl/ecdsa.h ../include/openssl/evp.h
asn1test.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h
asn1test.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h
asn1test.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
asn1test.o: ../include/openssl/pkcs7.h ../include/openssl/safestack.h
asn1test.o: ../include/openssl/sha.h ../include/openssl/stack.h
asn1test.o: ../include/openssl/symhacks.h ../include/openssl/x509.h
asn1test.o: ../include/openssl/x509_vfy.h asn1test.c
bftest.o: ../e_os.h ../include/openssl/blowfish.h ../include/openssl/e_os2.h
bftest.o: ../include/openssl/opensslconf.h bftest.c
bntest.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
bntest.o: ../include/openssl/bn.h ../include/openssl/buffer.h
bntest.o: ../include/openssl/crypto.h ../include/openssl/dh.h
bntest.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h
bntest.o: ../include/openssl/ec.h ../include/openssl/ecdh.h
bntest.o: ../include/openssl/ecdsa.h ../include/openssl/err.h
bntest.o: ../include/openssl/evp.h ../include/openssl/lhash.h
bntest.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h
bntest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
bntest.o: ../include/openssl/ossl_typ.h ../include/openssl/pkcs7.h
bntest.o: ../include/openssl/rand.h ../include/openssl/rsa.h
bntest.o: ../include/openssl/safestack.h ../include/openssl/sha.h
bntest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h
bntest.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h bntest.c
casttest.o: ../e_os.h ../include/openssl/cast.h ../include/openssl/e_os2.h
casttest.o: ../include/openssl/opensslconf.h casttest.c
constant_time_test.o: ../crypto/constant_time_locl.h ../e_os.h
constant_time_test.o: ../include/openssl/e_os2.h
constant_time_test.o: ../include/openssl/opensslconf.h constant_time_test.c
destest.o: ../include/openssl/des.h ../include/openssl/des_old.h
destest.o: ../include/openssl/e_os2.h ../include/openssl/opensslconf.h
destest.o: ../include/openssl/ossl_typ.h ../include/openssl/safestack.h
destest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h
destest.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h destest.c
dhtest.o: ../e_os.h ../include/openssl/bio.h ../include/openssl/bn.h
dhtest.o: ../include/openssl/crypto.h ../include/openssl/dh.h
dhtest.o: ../include/openssl/e_os2.h ../include/openssl/err.h
dhtest.o: ../include/openssl/lhash.h ../include/openssl/opensslconf.h
dhtest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
dhtest.o: ../include/openssl/rand.h ../include/openssl/safestack.h
dhtest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h dhtest.c
dsatest.o: ../e_os.h ../include/openssl/bio.h ../include/openssl/bn.h
dsatest.o: ../include/openssl/crypto.h ../include/openssl/dh.h
dsatest.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h
dsatest.o: ../include/openssl/err.h ../include/openssl/lhash.h
dsatest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
dsatest.o: ../include/openssl/ossl_typ.h ../include/openssl/rand.h
dsatest.o: ../include/openssl/safestack.h ../include/openssl/stack.h
dsatest.o: ../include/openssl/symhacks.h dsatest.c
ecdhtest.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
ecdhtest.o: ../include/openssl/bn.h ../include/openssl/crypto.h
ecdhtest.o: ../include/openssl/e_os2.h ../include/openssl/ec.h
ecdhtest.o: ../include/openssl/ecdh.h ../include/openssl/err.h
ecdhtest.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h
ecdhtest.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h
ecdhtest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
ecdhtest.o: ../include/openssl/rand.h ../include/openssl/safestack.h
ecdhtest.o: ../include/openssl/sha.h ../include/openssl/stack.h
ecdhtest.o: ../include/openssl/symhacks.h ecdhtest.c
ecdsatest.o: ../include/openssl/asn1.h ../include/openssl/bio.h
ecdsatest.o: ../include/openssl/bn.h ../include/openssl/buffer.h
ecdsatest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
ecdsatest.o: ../include/openssl/ec.h ../include/openssl/ecdh.h
ecdsatest.o: ../include/openssl/ecdsa.h ../include/openssl/engine.h
ecdsatest.o: ../include/openssl/err.h ../include/openssl/evp.h
ecdsatest.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h
ecdsatest.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h
ecdsatest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
ecdsatest.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h
ecdsatest.o: ../include/openssl/safestack.h ../include/openssl/sha.h
ecdsatest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h
ecdsatest.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h
ecdsatest.o: ecdsatest.c
ectest.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
ectest.o: ../include/openssl/bn.h ../include/openssl/buffer.h
ectest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
ectest.o: ../include/openssl/ec.h ../include/openssl/ecdh.h
ectest.o: ../include/openssl/ecdsa.h ../include/openssl/engine.h
ectest.o: ../include/openssl/err.h ../include/openssl/evp.h
ectest.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h
ectest.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h
ectest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
ectest.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h
ectest.o: ../include/openssl/safestack.h ../include/openssl/sha.h
ectest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h
ectest.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h ectest.c
enginetest.o: ../include/openssl/asn1.h ../include/openssl/bio.h
enginetest.o: ../include/openssl/buffer.h ../include/openssl/crypto.h
enginetest.o: ../include/openssl/e_os2.h ../include/openssl/ec.h
enginetest.o: ../include/openssl/ecdh.h ../include/openssl/ecdsa.h
enginetest.o: ../include/openssl/engine.h ../include/openssl/err.h
enginetest.o: ../include/openssl/evp.h ../include/openssl/lhash.h
enginetest.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h
enginetest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
enginetest.o: ../include/openssl/ossl_typ.h ../include/openssl/pkcs7.h
enginetest.o: ../include/openssl/safestack.h ../include/openssl/sha.h
enginetest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h
enginetest.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h
enginetest.o: enginetest.c
evp_extra_test.o: ../include/openssl/asn1.h ../include/openssl/bio.h
evp_extra_test.o: ../include/openssl/buffer.h ../include/openssl/crypto.h
evp_extra_test.o: ../include/openssl/e_os2.h ../include/openssl/ec.h
evp_extra_test.o: ../include/openssl/ecdh.h ../include/openssl/ecdsa.h
evp_extra_test.o: ../include/openssl/err.h ../include/openssl/evp.h
evp_extra_test.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h
evp_extra_test.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h
evp_extra_test.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
evp_extra_test.o: ../include/openssl/pkcs7.h ../include/openssl/rsa.h
evp_extra_test.o: ../include/openssl/safestack.h ../include/openssl/sha.h
evp_extra_test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h
evp_extra_test.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h
evp_extra_test.o: evp_extra_test.c
evp_test.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
evp_test.o: ../include/openssl/buffer.h ../include/openssl/conf.h
evp_test.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
evp_test.o: ../include/openssl/ec.h ../include/openssl/ecdh.h
evp_test.o: ../include/openssl/ecdsa.h ../include/openssl/engine.h
evp_test.o: ../include/openssl/err.h ../include/openssl/evp.h
evp_test.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h
evp_test.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h
evp_test.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
evp_test.o: ../include/openssl/pkcs7.h ../include/openssl/safestack.h
evp_test.o: ../include/openssl/sha.h ../include/openssl/stack.h
evp_test.o: ../include/openssl/symhacks.h ../include/openssl/x509.h
evp_test.o: ../include/openssl/x509_vfy.h evp_test.c
exptest.o: ../e_os.h ../include/openssl/bio.h ../include/openssl/bn.h
exptest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
exptest.o: ../include/openssl/err.h ../include/openssl/lhash.h
exptest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
exptest.o: ../include/openssl/ossl_typ.h ../include/openssl/rand.h
exptest.o: ../include/openssl/safestack.h ../include/openssl/stack.h
exptest.o: ../include/openssl/symhacks.h exptest.c
heartbeat_test.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
heartbeat_test.o: ../include/openssl/buffer.h ../include/openssl/comp.h
heartbeat_test.o: ../include/openssl/crypto.h ../include/openssl/dsa.h
heartbeat_test.o: ../include/openssl/dtls1.h ../include/openssl/e_os2.h
heartbeat_test.o: ../include/openssl/ec.h ../include/openssl/ecdh.h
heartbeat_test.o: ../include/openssl/ecdsa.h ../include/openssl/err.h
heartbeat_test.o: ../include/openssl/evp.h ../include/openssl/hmac.h
heartbeat_test.o: ../include/openssl/kssl.h ../include/openssl/lhash.h
heartbeat_test.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h
heartbeat_test.o: ../include/openssl/opensslconf.h
heartbeat_test.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
heartbeat_test.o: ../include/openssl/pem.h ../include/openssl/pem2.h
heartbeat_test.o: ../include/openssl/pkcs7.h ../include/openssl/pqueue.h
heartbeat_test.o: ../include/openssl/rsa.h ../include/openssl/safestack.h
heartbeat_test.o: ../include/openssl/sha.h ../include/openssl/srtp.h
heartbeat_test.o: ../include/openssl/ssl.h ../include/openssl/ssl2.h
heartbeat_test.o: ../include/openssl/ssl23.h ../include/openssl/ssl3.h
heartbeat_test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h
heartbeat_test.o: ../include/openssl/tls1.h ../include/openssl/x509.h
heartbeat_test.o: ../include/openssl/x509_vfy.h ../ssl/ssl_locl.h
heartbeat_test.o: ../test/testutil.h heartbeat_test.c
hmactest.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
hmactest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
hmactest.o: ../include/openssl/evp.h ../include/openssl/hmac.h
hmactest.o: ../include/openssl/md5.h ../include/openssl/obj_mac.h
hmactest.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h
hmactest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
hmactest.o: ../include/openssl/safestack.h ../include/openssl/stack.h
hmactest.o: ../include/openssl/symhacks.h hmactest.c
ideatest.o: ../e_os.h ../include/openssl/e_os2.h ../include/openssl/idea.h
ideatest.o: ../include/openssl/opensslconf.h ideatest.c
igetest.o: ../include/openssl/aes.h ../include/openssl/e_os2.h
igetest.o: ../include/openssl/opensslconf.h ../include/openssl/ossl_typ.h
igetest.o: ../include/openssl/rand.h igetest.c
jpaketest.o: ../include/openssl/buffer.h ../include/openssl/crypto.h
jpaketest.o: ../include/openssl/e_os2.h ../include/openssl/opensslconf.h
jpaketest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
jpaketest.o: ../include/openssl/safestack.h ../include/openssl/stack.h
jpaketest.o: ../include/openssl/symhacks.h jpaketest.c
md2test.o: ../include/openssl/buffer.h ../include/openssl/crypto.h
md2test.o: ../include/openssl/e_os2.h ../include/openssl/opensslconf.h
md2test.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
md2test.o: ../include/openssl/safestack.h ../include/openssl/stack.h
md2test.o: ../include/openssl/symhacks.h md2test.c
md4test.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
md4test.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
md4test.o: ../include/openssl/evp.h ../include/openssl/md4.h
md4test.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h
md4test.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
md4test.o: ../include/openssl/ossl_typ.h ../include/openssl/safestack.h
md4test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h md4test.c
md5test.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
md5test.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
md5test.o: ../include/openssl/evp.h ../include/openssl/md5.h
md5test.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h
md5test.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
md5test.o: ../include/openssl/ossl_typ.h ../include/openssl/safestack.h
md5test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h md5test.c
mdc2test.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
mdc2test.o: ../include/openssl/crypto.h ../include/openssl/des.h
mdc2test.o: ../include/openssl/des_old.h ../include/openssl/e_os2.h
mdc2test.o: ../include/openssl/evp.h ../include/openssl/mdc2.h
mdc2test.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h
mdc2test.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
mdc2test.o: ../include/openssl/ossl_typ.h ../include/openssl/safestack.h
mdc2test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h
mdc2test.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h mdc2test.c
randtest.o: ../e_os.h ../include/openssl/e_os2.h
randtest.o: ../include/openssl/opensslconf.h ../include/openssl/ossl_typ.h
randtest.o: ../include/openssl/rand.h randtest.c
rc2test.o: ../e_os.h ../include/openssl/e_os2.h
rc2test.o: ../include/openssl/opensslconf.h ../include/openssl/rc2.h rc2test.c
rc4test.o: ../e_os.h ../include/openssl/e_os2.h
rc4test.o: ../include/openssl/opensslconf.h ../include/openssl/rc4.h
rc4test.o: ../include/openssl/sha.h rc4test.c
rc5test.o: ../include/openssl/buffer.h ../include/openssl/crypto.h
rc5test.o: ../include/openssl/e_os2.h ../include/openssl/opensslconf.h
rc5test.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
rc5test.o: ../include/openssl/safestack.h ../include/openssl/stack.h
rc5test.o: ../include/openssl/symhacks.h rc5test.c
rmdtest.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
rmdtest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
rmdtest.o: ../include/openssl/evp.h ../include/openssl/obj_mac.h
rmdtest.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h
rmdtest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
rmdtest.o: ../include/openssl/ripemd.h ../include/openssl/safestack.h
rmdtest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h rmdtest.c
rsa_test.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
rsa_test.o: ../include/openssl/bn.h ../include/openssl/crypto.h
rsa_test.o: ../include/openssl/e_os2.h ../include/openssl/err.h
rsa_test.o: ../include/openssl/lhash.h ../include/openssl/opensslconf.h
rsa_test.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
rsa_test.o: ../include/openssl/rand.h ../include/openssl/rsa.h
rsa_test.o: ../include/openssl/safestack.h ../include/openssl/stack.h
rsa_test.o: ../include/openssl/symhacks.h rsa_test.c
sha1test.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
sha1test.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
sha1test.o: ../include/openssl/evp.h ../include/openssl/obj_mac.h
sha1test.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h
sha1test.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
sha1test.o: ../include/openssl/safestack.h ../include/openssl/sha.h
sha1test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h sha1test.c
shatest.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
shatest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
shatest.o: ../include/openssl/evp.h ../include/openssl/obj_mac.h
shatest.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h
shatest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
shatest.o: ../include/openssl/safestack.h ../include/openssl/sha.h
shatest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h shatest.c
srptest.o: ../include/openssl/bio.h ../include/openssl/bn.h
srptest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
srptest.o: ../include/openssl/err.h ../include/openssl/lhash.h
srptest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
srptest.o: ../include/openssl/ossl_typ.h ../include/openssl/rand.h
srptest.o: ../include/openssl/safestack.h ../include/openssl/srp.h
srptest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h srptest.c
ssltest.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
ssltest.o: ../include/openssl/bn.h ../include/openssl/buffer.h
ssltest.o: ../include/openssl/comp.h ../include/openssl/conf.h
ssltest.o: ../include/openssl/crypto.h ../include/openssl/dh.h
ssltest.o: ../include/openssl/dsa.h ../include/openssl/dtls1.h
ssltest.o: ../include/openssl/e_os2.h ../include/openssl/ec.h
ssltest.o: ../include/openssl/ecdh.h ../include/openssl/ecdsa.h
ssltest.o: ../include/openssl/engine.h ../include/openssl/err.h
ssltest.o: ../include/openssl/evp.h ../include/openssl/hmac.h
ssltest.o: ../include/openssl/kssl.h ../include/openssl/lhash.h
ssltest.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h
ssltest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
ssltest.o: ../include/openssl/ossl_typ.h ../include/openssl/pem.h
ssltest.o: ../include/openssl/pem2.h ../include/openssl/pkcs7.h
ssltest.o: ../include/openssl/pqueue.h ../include/openssl/rand.h
ssltest.o: ../include/openssl/rsa.h ../include/openssl/safestack.h
ssltest.o: ../include/openssl/sha.h ../include/openssl/srp.h
ssltest.o: ../include/openssl/srtp.h ../include/openssl/ssl.h
ssltest.o: ../include/openssl/ssl2.h ../include/openssl/ssl23.h
ssltest.o: ../include/openssl/ssl3.h ../include/openssl/stack.h
ssltest.o: ../include/openssl/symhacks.h ../include/openssl/tls1.h
ssltest.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h
ssltest.o: ../include/openssl/x509v3.h ssltest.c
v3nametest.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
v3nametest.o: ../include/openssl/buffer.h ../include/openssl/conf.h
v3nametest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
v3nametest.o: ../include/openssl/ec.h ../include/openssl/ecdh.h
v3nametest.o: ../include/openssl/ecdsa.h ../include/openssl/evp.h
v3nametest.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h
v3nametest.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h
v3nametest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
v3nametest.o: ../include/openssl/pkcs7.h ../include/openssl/safestack.h
v3nametest.o: ../include/openssl/sha.h ../include/openssl/stack.h
v3nametest.o: ../include/openssl/symhacks.h ../include/openssl/x509.h
v3nametest.o: ../include/openssl/x509_vfy.h ../include/openssl/x509v3.h
v3nametest.o: v3nametest.c
wp_test.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
wp_test.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
wp_test.o: ../include/openssl/ossl_typ.h ../include/openssl/safestack.h
wp_test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h
wp_test.o: ../include/openssl/whrlpool.h wp_test.c
| {
"pile_set_name": "Github"
} |
op {
graph_op_name: "MatrixSolveLs"
endpoint {
name: "linalg.MatrixSolveLs"
}
}
| {
"pile_set_name": "Github"
} |
// Typography.less
// Headings, body text, lists, code, and more for a versatile and durable typography system
// ----------------------------------------------------------------------------------------
// BODY TEXT
// ---------
p {
margin: 0 0 @baseLineHeight / 2;
font-family: @baseFontFamily;
font-size: @baseFontSize;
line-height: @baseLineHeight;
small {
font-size: @baseFontSize - 2;
color: @grayLight;
}
}
.lead {
margin-bottom: @baseLineHeight;
font-size: 20px;
font-weight: 200;
line-height: @baseLineHeight * 1.5;
}
// HEADINGS
// --------
h1, h2, h3, h4, h5, h6 {
margin: 0;
font-family: @headingsFontFamily;
font-weight: @headingsFontWeight;
color: @headingsColor;
text-rendering: optimizelegibility; // Fix the character spacing for headings
small {
font-weight: normal;
color: @grayLight;
}
}
h1 {
font-size: 30px;
line-height: @baseLineHeight * 2;
small {
font-size: 18px;
}
}
h2 {
font-size: 24px;
line-height: @baseLineHeight * 2;
small {
font-size: 18px;
}
}
h3 {
line-height: @baseLineHeight * 1.5;
font-size: 18px;
small {
font-size: 14px;
}
}
h4, h5, h6 {
line-height: @baseLineHeight;
}
h4 {
font-size: 14px;
small {
font-size: 12px;
}
}
h5 {
font-size: 12px;
}
h6 {
font-size: 11px;
color: @grayLight;
text-transform: uppercase;
}
// Page header
.page-header {
padding-bottom: @baseLineHeight - 1;
margin: @baseLineHeight 0;
border-bottom: 1px solid @grayLighter;
}
.page-header h1 {
line-height: 1;
}
// LISTS
// -----
// Unordered and Ordered lists
ul, ol {
padding: 0;
margin: 0 0 @baseLineHeight / 2 25px;
}
ul ul,
ul ol,
ol ol,
ol ul {
margin-bottom: 0;
}
ul {
list-style: disc;
}
ol {
list-style: decimal;
}
li {
line-height: @baseLineHeight;
}
ul.unstyled,
ol.unstyled {
margin-left: 0;
list-style: none;
}
// Description Lists
dl {
margin-bottom: @baseLineHeight;
}
dt,
dd {
line-height: @baseLineHeight;
}
dt {
font-weight: bold;
line-height: @baseLineHeight - 1; // fix jank Helvetica Neue font bug
}
dd {
margin-left: @baseLineHeight / 2;
}
// Horizontal layout (like forms)
.dl-horizontal {
dt {
float: left;
clear: left;
width: 120px;
text-align: right;
}
dd {
margin-left: 130px;
}
}
// MISC
// ----
// Horizontal rules
hr {
margin: 2 0;
border: 0;
border-top: @hrWidth solid @hrBorder;
border-bottom: 1px solid @white;
}
// Emphasis
strong {
font-weight: bold;
}
em {
font-style: italic;
}
.muted {
color: @grayLight;
}
// Abbreviations and acronyms
abbr[title] {
border-bottom: 1px dotted #ddd;
cursor: help;
}
abbr.initialism {
font-size: 90%;
text-transform: uppercase;
}
// Blockquotes
blockquote {
padding: 0 0 0 15px;
margin: 0 0 @baseLineHeight;
border-left: 5px solid @grayLighter;
p {
margin-bottom: 0;
#font > .shorthand(16px,300,@baseLineHeight * 1.25);
}
small {
display: block;
line-height: @baseLineHeight;
color: @grayLight;
&:before {
content: '\2014 \00A0';
}
}
// Float right with text-align: right
&.pull-right {
float: right;
padding-left: 0;
padding-right: 15px;
border-left: 0;
border-right: 5px solid @grayLighter;
p,
small {
text-align: right;
}
}
}
// Quotes
q:before,
q:after,
blockquote:before,
blockquote:after {
content: "";
}
// Addresses
address {
display: block;
margin-bottom: @baseLineHeight;
line-height: @baseLineHeight;
font-style: normal;
}
// Misc
small {
font-size: 100%;
}
cite {
font-style: normal;
}
| {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.tencentcloudapi.live.v20180801.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class DescribeVisitTopSumInfoListRequest extends AbstractModel{
/**
* ่ตทๅงๆถ้ด็น๏ผๆ ผๅผไธบyyyy-mm-dd HH:MM:SSใ
*/
@SerializedName("StartTime")
@Expose
private String StartTime;
/**
* ็ปๆๆถ้ด็น๏ผๆ ผๅผไธบyyyy-mm-dd HH:MM:SS
ๆถ้ด่ทจๅบฆๅจ(0,4ๅฐๆถ]๏ผๆฏๆๆ่ฟ1ๅคฉๆฐๆฎๆฅ่ฏขใ
*/
@SerializedName("EndTime")
@Expose
private String EndTime;
/**
* ๅณฐๅผๆๆ ๏ผๅฏ้ๅผๅ
ๆฌโDomainโ๏ผโStreamIdโใ
*/
@SerializedName("TopIndex")
@Expose
private String TopIndex;
/**
* ๆญๆพๅๅ๏ผ้ป่ฎคไธบไธๅกซ๏ผ่กจ็คบๆฑๆปไฝๆฐๆฎใ
*/
@SerializedName("PlayDomains")
@Expose
private String [] PlayDomains;
/**
* ้กตๅท๏ผ
่ๅดๆฏ[1,1000]๏ผ
้ป่ฎคๅผๆฏ1ใ
*/
@SerializedName("PageNum")
@Expose
private Long PageNum;
/**
* ๆฏ้กตไธชๆฐ๏ผ่ๅดๆฏ[1,1000]๏ผ
้ป่ฎคๅผๆฏ20ใ
*/
@SerializedName("PageSize")
@Expose
private Long PageSize;
/**
* ๆๅบๆๆ ๏ผๅฏ้ๅผๅ
ๆฌโ AvgFluxPerSecondโ๏ผโTotalRequestโ๏ผ้ป่ฎค๏ผ,โTotalFluxโใ
*/
@SerializedName("OrderParam")
@Expose
private String OrderParam;
/**
* Get ่ตทๅงๆถ้ด็น๏ผๆ ผๅผไธบyyyy-mm-dd HH:MM:SSใ
* @return StartTime ่ตทๅงๆถ้ด็น๏ผๆ ผๅผไธบyyyy-mm-dd HH:MM:SSใ
*/
public String getStartTime() {
return this.StartTime;
}
/**
* Set ่ตทๅงๆถ้ด็น๏ผๆ ผๅผไธบyyyy-mm-dd HH:MM:SSใ
* @param StartTime ่ตทๅงๆถ้ด็น๏ผๆ ผๅผไธบyyyy-mm-dd HH:MM:SSใ
*/
public void setStartTime(String StartTime) {
this.StartTime = StartTime;
}
/**
* Get ็ปๆๆถ้ด็น๏ผๆ ผๅผไธบyyyy-mm-dd HH:MM:SS
ๆถ้ด่ทจๅบฆๅจ(0,4ๅฐๆถ]๏ผๆฏๆๆ่ฟ1ๅคฉๆฐๆฎๆฅ่ฏขใ
* @return EndTime ็ปๆๆถ้ด็น๏ผๆ ผๅผไธบyyyy-mm-dd HH:MM:SS
ๆถ้ด่ทจๅบฆๅจ(0,4ๅฐๆถ]๏ผๆฏๆๆ่ฟ1ๅคฉๆฐๆฎๆฅ่ฏขใ
*/
public String getEndTime() {
return this.EndTime;
}
/**
* Set ็ปๆๆถ้ด็น๏ผๆ ผๅผไธบyyyy-mm-dd HH:MM:SS
ๆถ้ด่ทจๅบฆๅจ(0,4ๅฐๆถ]๏ผๆฏๆๆ่ฟ1ๅคฉๆฐๆฎๆฅ่ฏขใ
* @param EndTime ็ปๆๆถ้ด็น๏ผๆ ผๅผไธบyyyy-mm-dd HH:MM:SS
ๆถ้ด่ทจๅบฆๅจ(0,4ๅฐๆถ]๏ผๆฏๆๆ่ฟ1ๅคฉๆฐๆฎๆฅ่ฏขใ
*/
public void setEndTime(String EndTime) {
this.EndTime = EndTime;
}
/**
* Get ๅณฐๅผๆๆ ๏ผๅฏ้ๅผๅ
ๆฌโDomainโ๏ผโStreamIdโใ
* @return TopIndex ๅณฐๅผๆๆ ๏ผๅฏ้ๅผๅ
ๆฌโDomainโ๏ผโStreamIdโใ
*/
public String getTopIndex() {
return this.TopIndex;
}
/**
* Set ๅณฐๅผๆๆ ๏ผๅฏ้ๅผๅ
ๆฌโDomainโ๏ผโStreamIdโใ
* @param TopIndex ๅณฐๅผๆๆ ๏ผๅฏ้ๅผๅ
ๆฌโDomainโ๏ผโStreamIdโใ
*/
public void setTopIndex(String TopIndex) {
this.TopIndex = TopIndex;
}
/**
* Get ๆญๆพๅๅ๏ผ้ป่ฎคไธบไธๅกซ๏ผ่กจ็คบๆฑๆปไฝๆฐๆฎใ
* @return PlayDomains ๆญๆพๅๅ๏ผ้ป่ฎคไธบไธๅกซ๏ผ่กจ็คบๆฑๆปไฝๆฐๆฎใ
*/
public String [] getPlayDomains() {
return this.PlayDomains;
}
/**
* Set ๆญๆพๅๅ๏ผ้ป่ฎคไธบไธๅกซ๏ผ่กจ็คบๆฑๆปไฝๆฐๆฎใ
* @param PlayDomains ๆญๆพๅๅ๏ผ้ป่ฎคไธบไธๅกซ๏ผ่กจ็คบๆฑๆปไฝๆฐๆฎใ
*/
public void setPlayDomains(String [] PlayDomains) {
this.PlayDomains = PlayDomains;
}
/**
* Get ้กตๅท๏ผ
่ๅดๆฏ[1,1000]๏ผ
้ป่ฎคๅผๆฏ1ใ
* @return PageNum ้กตๅท๏ผ
่ๅดๆฏ[1,1000]๏ผ
้ป่ฎคๅผๆฏ1ใ
*/
public Long getPageNum() {
return this.PageNum;
}
/**
* Set ้กตๅท๏ผ
่ๅดๆฏ[1,1000]๏ผ
้ป่ฎคๅผๆฏ1ใ
* @param PageNum ้กตๅท๏ผ
่ๅดๆฏ[1,1000]๏ผ
้ป่ฎคๅผๆฏ1ใ
*/
public void setPageNum(Long PageNum) {
this.PageNum = PageNum;
}
/**
* Get ๆฏ้กตไธชๆฐ๏ผ่ๅดๆฏ[1,1000]๏ผ
้ป่ฎคๅผๆฏ20ใ
* @return PageSize ๆฏ้กตไธชๆฐ๏ผ่ๅดๆฏ[1,1000]๏ผ
้ป่ฎคๅผๆฏ20ใ
*/
public Long getPageSize() {
return this.PageSize;
}
/**
* Set ๆฏ้กตไธชๆฐ๏ผ่ๅดๆฏ[1,1000]๏ผ
้ป่ฎคๅผๆฏ20ใ
* @param PageSize ๆฏ้กตไธชๆฐ๏ผ่ๅดๆฏ[1,1000]๏ผ
้ป่ฎคๅผๆฏ20ใ
*/
public void setPageSize(Long PageSize) {
this.PageSize = PageSize;
}
/**
* Get ๆๅบๆๆ ๏ผๅฏ้ๅผๅ
ๆฌโ AvgFluxPerSecondโ๏ผโTotalRequestโ๏ผ้ป่ฎค๏ผ,โTotalFluxโใ
* @return OrderParam ๆๅบๆๆ ๏ผๅฏ้ๅผๅ
ๆฌโ AvgFluxPerSecondโ๏ผโTotalRequestโ๏ผ้ป่ฎค๏ผ,โTotalFluxโใ
*/
public String getOrderParam() {
return this.OrderParam;
}
/**
* Set ๆๅบๆๆ ๏ผๅฏ้ๅผๅ
ๆฌโ AvgFluxPerSecondโ๏ผโTotalRequestโ๏ผ้ป่ฎค๏ผ,โTotalFluxโใ
* @param OrderParam ๆๅบๆๆ ๏ผๅฏ้ๅผๅ
ๆฌโ AvgFluxPerSecondโ๏ผโTotalRequestโ๏ผ้ป่ฎค๏ผ,โTotalFluxโใ
*/
public void setOrderParam(String OrderParam) {
this.OrderParam = OrderParam;
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap<String, String> map, String prefix) {
this.setParamSimple(map, prefix + "StartTime", this.StartTime);
this.setParamSimple(map, prefix + "EndTime", this.EndTime);
this.setParamSimple(map, prefix + "TopIndex", this.TopIndex);
this.setParamArraySimple(map, prefix + "PlayDomains.", this.PlayDomains);
this.setParamSimple(map, prefix + "PageNum", this.PageNum);
this.setParamSimple(map, prefix + "PageSize", this.PageSize);
this.setParamSimple(map, prefix + "OrderParam", this.OrderParam);
}
}
| {
"pile_set_name": "Github"
} |
<component name="libraryTable">
<library name="Maven: org.springframework.boot:spring-boot-starter-jdbc:1.4.1.RELEASE">
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-jdbc/1.4.1.RELEASE/spring-boot-starter-jdbc-1.4.1.RELEASE.jar!/" />
</CLASSES>
<JAVADOC>
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-jdbc/1.4.1.RELEASE/spring-boot-starter-jdbc-1.4.1.RELEASE-javadoc.jar!/" />
</JAVADOC>
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/springframework/boot/spring-boot-starter-jdbc/1.4.1.RELEASE/spring-boot-starter-jdbc-1.4.1.RELEASE-sources.jar!/" />
</SOURCES>
</library>
</component> | {
"pile_set_name": "Github"
} |
-debug
-target:library
-nowarn:0169
-langversion:4
-out:'Temp/Unity.TextMeshPro.dll'
-nostdlib
-optimize
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/PlaybackEngines/iOSSupport/Variations/il2cpp/Managed/UnityEngine.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/PlaybackEngines/iOSSupport/Variations/il2cpp/Managed/UnityEngine.AIModule.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/PlaybackEngines/iOSSupport/Variations/il2cpp/Managed/UnityEngine.ARModule.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/PlaybackEngines/iOSSupport/Variations/il2cpp/Managed/UnityEngine.AccessibilityModule.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/PlaybackEngines/iOSSupport/Variations/il2cpp/Managed/UnityEngine.AnimationModule.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/PlaybackEngines/iOSSupport/Variations/il2cpp/Managed/UnityEngine.AssetBundleModule.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/PlaybackEngines/iOSSupport/Variations/il2cpp/Managed/UnityEngine.AudioModule.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/PlaybackEngines/iOSSupport/Variations/il2cpp/Managed/UnityEngine.BaselibModule.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/PlaybackEngines/iOSSupport/Variations/il2cpp/Managed/UnityEngine.ClothModule.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/PlaybackEngines/iOSSupport/Variations/il2cpp/Managed/UnityEngine.CloudWebServicesModule.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/PlaybackEngines/iOSSupport/Variations/il2cpp/Managed/UnityEngine.CoreModule.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/PlaybackEngines/iOSSupport/Variations/il2cpp/Managed/UnityEngine.CrashReportingModule.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/PlaybackEngines/iOSSupport/Variations/il2cpp/Managed/UnityEngine.DirectorModule.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/PlaybackEngines/iOSSupport/Variations/il2cpp/Managed/UnityEngine.FacebookModule.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/PlaybackEngines/iOSSupport/Variations/il2cpp/Managed/UnityEngine.FileSystemHttpModule.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/PlaybackEngines/iOSSupport/Variations/il2cpp/Managed/UnityEngine.GameCenterModule.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/PlaybackEngines/iOSSupport/Variations/il2cpp/Managed/UnityEngine.GridModule.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/PlaybackEngines/iOSSupport/Variations/il2cpp/Managed/UnityEngine.HotReloadModule.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/PlaybackEngines/iOSSupport/Variations/il2cpp/Managed/UnityEngine.IMGUIModule.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/PlaybackEngines/iOSSupport/Variations/il2cpp/Managed/UnityEngine.ImageConversionModule.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/PlaybackEngines/iOSSupport/Variations/il2cpp/Managed/UnityEngine.InputModule.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/PlaybackEngines/iOSSupport/Variations/il2cpp/Managed/UnityEngine.JSONSerializeModule.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/PlaybackEngines/iOSSupport/Variations/il2cpp/Managed/UnityEngine.LocalizationModule.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/PlaybackEngines/iOSSupport/Variations/il2cpp/Managed/UnityEngine.ParticleSystemModule.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/PlaybackEngines/iOSSupport/Variations/il2cpp/Managed/UnityEngine.ParticlesLegacyModule.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/PlaybackEngines/iOSSupport/Variations/il2cpp/Managed/UnityEngine.PerformanceReportingModule.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/PlaybackEngines/iOSSupport/Variations/il2cpp/Managed/UnityEngine.PhysicsModule.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/PlaybackEngines/iOSSupport/Variations/il2cpp/Managed/UnityEngine.Physics2DModule.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/PlaybackEngines/iOSSupport/Variations/il2cpp/Managed/UnityEngine.ProfilerModule.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/PlaybackEngines/iOSSupport/Variations/il2cpp/Managed/UnityEngine.ScreenCaptureModule.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/PlaybackEngines/iOSSupport/Variations/il2cpp/Managed/UnityEngine.SharedInternalsModule.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/PlaybackEngines/iOSSupport/Variations/il2cpp/Managed/UnityEngine.SpatialTrackingModule.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/PlaybackEngines/iOSSupport/Variations/il2cpp/Managed/UnityEngine.SpriteMaskModule.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/PlaybackEngines/iOSSupport/Variations/il2cpp/Managed/UnityEngine.SpriteShapeModule.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/PlaybackEngines/iOSSupport/Variations/il2cpp/Managed/UnityEngine.StreamingModule.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/PlaybackEngines/iOSSupport/Variations/il2cpp/Managed/UnityEngine.StyleSheetsModule.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/PlaybackEngines/iOSSupport/Variations/il2cpp/Managed/UnityEngine.SubstanceModule.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/PlaybackEngines/iOSSupport/Variations/il2cpp/Managed/UnityEngine.TLSModule.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/PlaybackEngines/iOSSupport/Variations/il2cpp/Managed/UnityEngine.TerrainModule.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/PlaybackEngines/iOSSupport/Variations/il2cpp/Managed/UnityEngine.TerrainPhysicsModule.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/PlaybackEngines/iOSSupport/Variations/il2cpp/Managed/UnityEngine.TextRenderingModule.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/PlaybackEngines/iOSSupport/Variations/il2cpp/Managed/UnityEngine.TilemapModule.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/PlaybackEngines/iOSSupport/Variations/il2cpp/Managed/UnityEngine.TimelineModule.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/PlaybackEngines/iOSSupport/Variations/il2cpp/Managed/UnityEngine.UIModule.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/PlaybackEngines/iOSSupport/Variations/il2cpp/Managed/UnityEngine.UIElementsModule.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/PlaybackEngines/iOSSupport/Variations/il2cpp/Managed/UnityEngine.UNETModule.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/PlaybackEngines/iOSSupport/Variations/il2cpp/Managed/UnityEngine.UmbraModule.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/PlaybackEngines/iOSSupport/Variations/il2cpp/Managed/UnityEngine.UnityAnalyticsModule.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/PlaybackEngines/iOSSupport/Variations/il2cpp/Managed/UnityEngine.UnityConnectModule.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/PlaybackEngines/iOSSupport/Variations/il2cpp/Managed/UnityEngine.UnityWebRequestModule.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/PlaybackEngines/iOSSupport/Variations/il2cpp/Managed/UnityEngine.UnityWebRequestAssetBundleModule.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/PlaybackEngines/iOSSupport/Variations/il2cpp/Managed/UnityEngine.UnityWebRequestAudioModule.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/PlaybackEngines/iOSSupport/Variations/il2cpp/Managed/UnityEngine.UnityWebRequestTextureModule.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/PlaybackEngines/iOSSupport/Variations/il2cpp/Managed/UnityEngine.UnityWebRequestWWWModule.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/PlaybackEngines/iOSSupport/Variations/il2cpp/Managed/UnityEngine.VRModule.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/PlaybackEngines/iOSSupport/Variations/il2cpp/Managed/UnityEngine.VehiclesModule.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/PlaybackEngines/iOSSupport/Variations/il2cpp/Managed/UnityEngine.VideoModule.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/PlaybackEngines/iOSSupport/Variations/il2cpp/Managed/UnityEngine.WindModule.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/PlaybackEngines/iOSSupport/Variations/il2cpp/Managed/UnityEngine.XRModule.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/Unity.app/Contents/UnityExtensions/Unity/GUISystem/Standalone/UnityEngine.UI.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/Unity.app/Contents/UnityExtensions/Unity/TestRunner/UnityEngine.TestRunner.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/Unity.app/Contents/UnityExtensions/Unity/TestRunner/net35/unity-custom/nunit.framework.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/Unity.app/Contents/UnityExtensions/Unity/Timeline/Runtime/UnityEngine.Timeline.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/Unity.app/Contents/UnityExtensions/Unity/Networking/Standalone/UnityEngine.Networking.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/Unity.app/Contents/UnityExtensions/Unity/UnitySpatialTracking/Runtime/UnityEngine.SpatialTracking.dll'
-r:'Assets/Plugins/Google.ProtocolBuffers.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/Unity.app/Contents/MonoBleedingEdge/lib/mono/unity/mscorlib.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/Unity.app/Contents/MonoBleedingEdge/lib/mono/unity/System.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/Unity.app/Contents/MonoBleedingEdge/lib/mono/unity/System.Core.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/Unity.app/Contents/MonoBleedingEdge/lib/mono/unity/System.Runtime.Serialization.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/Unity.app/Contents/MonoBleedingEdge/lib/mono/unity/System.Xml.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/Unity.app/Contents/MonoBleedingEdge/lib/mono/unity/System.Xml.Linq.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/Unity.app/Contents/MonoBleedingEdge/lib/mono/unity/UnityScript.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/Unity.app/Contents/MonoBleedingEdge/lib/mono/unity/UnityScript.Lang.dll'
-r:'/Volumes/TrapBookPro/Unity/2018.2.7f1/Unity.app/Contents/MonoBleedingEdge/lib/mono/unity/Boo.Lang.dll'
-define:UNITY_5_3_OR_NEWER
-define:UNITY_5_4_OR_NEWER
-define:UNITY_5_5_OR_NEWER
-define:UNITY_5_6_OR_NEWER
-define:UNITY_2017_1_OR_NEWER
-define:UNITY_2017_2_OR_NEWER
-define:UNITY_2017_3_OR_NEWER
-define:UNITY_2017_4_OR_NEWER
-define:UNITY_2018_1_OR_NEWER
-define:UNITY_2018_2_OR_NEWER
-define:UNITY_2018_2_7
-define:UNITY_2018_2
-define:UNITY_2018
-define:ENABLE_AUDIO
-define:ENABLE_CACHING
-define:ENABLE_CLOTH
-define:ENABLE_MICROPHONE
-define:ENABLE_MULTIPLE_DISPLAYS
-define:ENABLE_PHYSICS
-define:ENABLE_SPRITES
-define:ENABLE_GRID
-define:ENABLE_TILEMAP
-define:ENABLE_TERRAIN
-define:ENABLE_TEXTURE_STREAMING
-define:ENABLE_DIRECTOR
-define:ENABLE_UNET
-define:ENABLE_LZMA
-define:ENABLE_UNITYEVENTS
-define:ENABLE_WEBCAM
-define:ENABLE_WWW
-define:ENABLE_CLOUD_SERVICES_COLLAB
-define:ENABLE_CLOUD_SERVICES_COLLAB_SOFTLOCKS
-define:ENABLE_CLOUD_HUB
-define:ENABLE_CLOUD_PROJECT_ID
-define:ENABLE_CLOUD_SERVICES_USE_WEBREQUEST
-define:ENABLE_CLOUD_SERVICES_UNET
-define:ENABLE_CLOUD_SERVICES_BUILD
-define:ENABLE_CLOUD_LICENSE
-define:ENABLE_EDITOR_HUB
-define:ENABLE_EDITOR_HUB_LICENSE
-define:ENABLE_WEBSOCKET_CLIENT
-define:ENABLE_DIRECTOR_AUDIO
-define:ENABLE_DIRECTOR_TEXTURE
-define:ENABLE_TIMELINE
-define:ENABLE_EDITOR_METRICS
-define:ENABLE_EDITOR_METRICS_CACHING
-define:ENABLE_MANAGED_JOBS
-define:ENABLE_MANAGED_TRANSFORM_JOBS
-define:ENABLE_MANAGED_ANIMATION_JOBS
-define:INCLUDE_DYNAMIC_GI
-define:INCLUDE_GI
-define:ENABLE_MONO_BDWGC
-define:PLATFORM_SUPPORTS_MONO
-define:INCLUDE_PUBNUB
-define:ENABLE_VIDEO
-define:ENABLE_PACKMAN
-define:ENABLE_CUSTOM_RENDER_TEXTURE
-define:ENABLE_LOCALIZATION
-define:ENABLE_RUNTIME_GI
-define:ENABLE_SUBSTANCE
-define:ENABLE_GAMECENTER
-define:ENABLE_NETWORK
-define:ENABLE_UNITYWEBREQUEST
-define:ENABLE_CLOUD_SERVICES
-define:ENABLE_CLOUD_SERVICES_ADS
-define:ENABLE_CLOUD_SERVICES_ANALYTICS
-define:ENABLE_CLOUD_SERVICES_PURCHASING
-define:ENABLE_CLOUD_SERVICES_CRASH_REPORTING
-define:ENABLE_CLOUD_SERVICES_IOS_NATIVE_CRASH_REPORTING
-define:PLAYERCONNECTION_LISTENS_FIXED_PORT
-define:DEBUGGER_LISTENS_FIXED_PORT
-define:PLATFORM_SUPPORTS_ADS_ID
-define:SUPPORT_ENVIRONMENT_VARIABLES
-define:PLATFORM_SUPPORTS_PROFILER
-define:PLATFORM_HAS_NO_SUPPORT_FOR_BUCKET_ALLOCATOR
-define:STRICTCPP_NEW_DELETE_SIGNATURES
-define:HAS_NEON_SKINNING
-define:UNITY_GFX_USE_PLATFORM_VSYNC
-define:UNITY_INPUT_SIMULATE_EVENTS
-define:PLATFORM_ALWAYS_USES_STDOUT_FOR_LOG
-define:ENABLE_CRUNCH_TEXTURE_COMPRESSION
-define:ENABLE_UNITYADS_RUNTIME
-define:UNITY_UNITYADS_API
-define:PLATFORM_IOS
-define:UNITY_IOS
-define:PLATFORM_IPHONE
-define:UNITY_IPHONE
-define:UNITY_IPHONE_API
-define:SUPPORT_MULTIPLE_DISPLAYS
-define:ENABLE_VR
-define:ENABLE_AR
-define:ENABLE_SPATIALTRACKING
-define:ENABLE_IL2CPP
-define:NET_2_0_SUBSET
-define:UNITY_PRO_LICENSE
-define:ENABLE_IOS_ON_DEMAND_RESOURCES
-define:ENABLE_IOS_APP_SLICING
-define:UNITY_HAS_GOOGLEVR
'/Users/andrewnakas/Library/Unity/cache/packages/packages.unity.com/[email protected]/Scripts/Runtime/FastAction.cs'
'/Users/andrewnakas/Library/Unity/cache/packages/packages.unity.com/[email protected]/Scripts/Runtime/MaterialReferenceManager.cs'
'/Users/andrewnakas/Library/Unity/cache/packages/packages.unity.com/[email protected]/Scripts/Runtime/PackageResourceImporterWindow.cs'
'/Users/andrewnakas/Library/Unity/cache/packages/packages.unity.com/[email protected]/Scripts/Runtime/TextContainer.cs'
'/Users/andrewnakas/Library/Unity/cache/packages/packages.unity.com/[email protected]/Scripts/Runtime/TextMeshPro.cs'
'/Users/andrewnakas/Library/Unity/cache/packages/packages.unity.com/[email protected]/Scripts/Runtime/TextMeshProUGUI.cs'
'/Users/andrewnakas/Library/Unity/cache/packages/packages.unity.com/[email protected]/Scripts/Runtime/TMP_Asset.cs'
'/Users/andrewnakas/Library/Unity/cache/packages/packages.unity.com/[email protected]/Scripts/Runtime/TMP_ColorGradient.cs'
'/Users/andrewnakas/Library/Unity/cache/packages/packages.unity.com/[email protected]/Scripts/Runtime/TMP_Compatibility.cs'
'/Users/andrewnakas/Library/Unity/cache/packages/packages.unity.com/[email protected]/Scripts/Runtime/TMP_CoroutineTween.cs'
'/Users/andrewnakas/Library/Unity/cache/packages/packages.unity.com/[email protected]/Scripts/Runtime/TMP_DefaultControls.cs'
'/Users/andrewnakas/Library/Unity/cache/packages/packages.unity.com/[email protected]/Scripts/Runtime/TMP_Dropdown.cs'
'/Users/andrewnakas/Library/Unity/cache/packages/packages.unity.com/[email protected]/Scripts/Runtime/TMP_FontAsset.cs'
'/Users/andrewnakas/Library/Unity/cache/packages/packages.unity.com/[email protected]/Scripts/Runtime/TMP_InputField.cs'
'/Users/andrewnakas/Library/Unity/cache/packages/packages.unity.com/[email protected]/Scripts/Runtime/TMP_InputValidator.cs'
'/Users/andrewnakas/Library/Unity/cache/packages/packages.unity.com/[email protected]/Scripts/Runtime/TMP_LineInfo.cs'
'/Users/andrewnakas/Library/Unity/cache/packages/packages.unity.com/[email protected]/Scripts/Runtime/TMP_ListPool.cs'
'/Users/andrewnakas/Library/Unity/cache/packages/packages.unity.com/[email protected]/Scripts/Runtime/TMP_MaterialManager.cs'
'/Users/andrewnakas/Library/Unity/cache/packages/packages.unity.com/[email protected]/Scripts/Runtime/TMP_MeshInfo.cs'
'/Users/andrewnakas/Library/Unity/cache/packages/packages.unity.com/[email protected]/Scripts/Runtime/TMP_ObjectPool.cs'
'/Users/andrewnakas/Library/Unity/cache/packages/packages.unity.com/[email protected]/Scripts/Runtime/TMP_ScrollbarEventHandler.cs'
'/Users/andrewnakas/Library/Unity/cache/packages/packages.unity.com/[email protected]/Scripts/Runtime/TMP_SelectionCaret.cs'
'/Users/andrewnakas/Library/Unity/cache/packages/packages.unity.com/[email protected]/Scripts/Runtime/TMP_Settings.cs'
'/Users/andrewnakas/Library/Unity/cache/packages/packages.unity.com/[email protected]/Scripts/Runtime/TMP_Sprite.cs'
'/Users/andrewnakas/Library/Unity/cache/packages/packages.unity.com/[email protected]/Scripts/Runtime/TMP_SpriteAnimator.cs'
'/Users/andrewnakas/Library/Unity/cache/packages/packages.unity.com/[email protected]/Scripts/Runtime/TMP_SpriteAsset.cs'
'/Users/andrewnakas/Library/Unity/cache/packages/packages.unity.com/[email protected]/Scripts/Runtime/TMP_SpriteAssetImportFormats.cs'
'/Users/andrewnakas/Library/Unity/cache/packages/packages.unity.com/[email protected]/Scripts/Runtime/TMP_Style.cs'
'/Users/andrewnakas/Library/Unity/cache/packages/packages.unity.com/[email protected]/Scripts/Runtime/TMP_StyleSheet.cs'
'/Users/andrewnakas/Library/Unity/cache/packages/packages.unity.com/[email protected]/Scripts/Runtime/TMP_SubMesh.cs'
'/Users/andrewnakas/Library/Unity/cache/packages/packages.unity.com/[email protected]/Scripts/Runtime/TMP_SubMeshUI.cs'
'/Users/andrewnakas/Library/Unity/cache/packages/packages.unity.com/[email protected]/Scripts/Runtime/TMP_Text.cs'
'/Users/andrewnakas/Library/Unity/cache/packages/packages.unity.com/[email protected]/Scripts/Runtime/TMP_TextElement.cs'
'/Users/andrewnakas/Library/Unity/cache/packages/packages.unity.com/[email protected]/Scripts/Runtime/TMP_TextInfo.cs'
'/Users/andrewnakas/Library/Unity/cache/packages/packages.unity.com/[email protected]/Scripts/Runtime/TMP_TextUtilities.cs'
'/Users/andrewnakas/Library/Unity/cache/packages/packages.unity.com/[email protected]/Scripts/Runtime/TMP_UpdateManager.cs'
'/Users/andrewnakas/Library/Unity/cache/packages/packages.unity.com/[email protected]/Scripts/Runtime/TMP_UpdateRegistery.cs'
'/Users/andrewnakas/Library/Unity/cache/packages/packages.unity.com/[email protected]/Scripts/Runtime/TMP_XmlTagStack.cs'
'/Users/andrewnakas/Library/Unity/cache/packages/packages.unity.com/[email protected]/Scripts/Runtime/TMPro_EventManager.cs'
'/Users/andrewnakas/Library/Unity/cache/packages/packages.unity.com/[email protected]/Scripts/Runtime/TMPro_ExtensionMethods.cs'
'/Users/andrewnakas/Library/Unity/cache/packages/packages.unity.com/[email protected]/Scripts/Runtime/TMPro_FontUtilities.cs'
'/Users/andrewnakas/Library/Unity/cache/packages/packages.unity.com/[email protected]/Scripts/Runtime/TMPro_MeshUtilities.cs'
'/Users/andrewnakas/Library/Unity/cache/packages/packages.unity.com/[email protected]/Scripts/Runtime/TMPro_Private.cs'
'/Users/andrewnakas/Library/Unity/cache/packages/packages.unity.com/[email protected]/Scripts/Runtime/TMPro_ShaderUtilities.cs'
'/Users/andrewnakas/Library/Unity/cache/packages/packages.unity.com/[email protected]/Scripts/Runtime/TMPro_UGUI_Private.cs'
-lib:'/Volumes/TrapBookPro/Unity/2018.2.7f1/Unity.app/Contents/MonoBleedingEdge/lib/mono/unity'
| {
"pile_set_name": "Github"
} |
# -*- coding: utf-8 -*-
"""
markupsafe
~~~~~~~~~~
Implements a Markup string.
:copyright: (c) 2010 by Armin Ronacher.
:license: BSD, see LICENSE for more details.
"""
import re
import string
from collections import Mapping
from markupsafe._compat import text_type, string_types, int_types, \
unichr, iteritems, PY2
__all__ = ['Markup', 'soft_unicode', 'escape', 'escape_silent']
_striptags_re = re.compile(r'(<!--.*?-->|<[^>]*>)')
_entity_re = re.compile(r'&([^;]+);')
class Markup(text_type):
r"""Marks a string as being safe for inclusion in HTML/XML output without
needing to be escaped. This implements the `__html__` interface a couple
of frameworks and web applications use. :class:`Markup` is a direct
subclass of `unicode` and provides all the methods of `unicode` just that
it escapes arguments passed and always returns `Markup`.
The `escape` function returns markup objects so that double escaping can't
happen.
The constructor of the :class:`Markup` class can be used for three
different things: When passed an unicode object it's assumed to be safe,
when passed an object with an HTML representation (has an `__html__`
method) that representation is used, otherwise the object passed is
converted into a unicode string and then assumed to be safe:
>>> Markup("Hello <em>World</em>!")
Markup(u'Hello <em>World</em>!')
>>> class Foo(object):
... def __html__(self):
... return '<a href="#">foo</a>'
...
>>> Markup(Foo())
Markup(u'<a href="#">foo</a>')
If you want object passed being always treated as unsafe you can use the
:meth:`escape` classmethod to create a :class:`Markup` object:
>>> Markup.escape("Hello <em>World</em>!")
Markup(u'Hello <em>World</em>!')
Operations on a markup string are markup aware which means that all
arguments are passed through the :func:`escape` function:
>>> em = Markup("<em>%s</em>")
>>> em % "foo & bar"
Markup(u'<em>foo & bar</em>')
>>> strong = Markup("<strong>%(text)s</strong>")
>>> strong % {'text': '<blink>hacker here</blink>'}
Markup(u'<strong><blink>hacker here</blink></strong>')
>>> Markup("<em>Hello</em> ") + "<foo>"
Markup(u'<em>Hello</em> <foo>')
"""
__slots__ = ()
def __new__(cls, base=u'', encoding=None, errors='strict'):
if hasattr(base, '__html__'):
base = base.__html__()
if encoding is None:
return text_type.__new__(cls, base)
return text_type.__new__(cls, base, encoding, errors)
def __html__(self):
return self
def __add__(self, other):
if isinstance(other, string_types) or hasattr(other, '__html__'):
return self.__class__(super(Markup, self).__add__(self.escape(other)))
return NotImplemented
def __radd__(self, other):
if hasattr(other, '__html__') or isinstance(other, string_types):
return self.escape(other).__add__(self)
return NotImplemented
def __mul__(self, num):
if isinstance(num, int_types):
return self.__class__(text_type.__mul__(self, num))
return NotImplemented
__rmul__ = __mul__
def __mod__(self, arg):
if isinstance(arg, tuple):
arg = tuple(_MarkupEscapeHelper(x, self.escape) for x in arg)
else:
arg = _MarkupEscapeHelper(arg, self.escape)
return self.__class__(text_type.__mod__(self, arg))
def __repr__(self):
return '%s(%s)' % (
self.__class__.__name__,
text_type.__repr__(self)
)
def join(self, seq):
return self.__class__(text_type.join(self, map(self.escape, seq)))
join.__doc__ = text_type.join.__doc__
def split(self, *args, **kwargs):
return list(map(self.__class__, text_type.split(self, *args, **kwargs)))
split.__doc__ = text_type.split.__doc__
def rsplit(self, *args, **kwargs):
return list(map(self.__class__, text_type.rsplit(self, *args, **kwargs)))
rsplit.__doc__ = text_type.rsplit.__doc__
def splitlines(self, *args, **kwargs):
return list(map(self.__class__, text_type.splitlines(
self, *args, **kwargs)))
splitlines.__doc__ = text_type.splitlines.__doc__
def unescape(self):
r"""Unescape markup again into an text_type string. This also resolves
known HTML4 and XHTML entities:
>>> Markup("Main » <em>About</em>").unescape()
u'Main \xbb <em>About</em>'
"""
from markupsafe._constants import HTML_ENTITIES
def handle_match(m):
name = m.group(1)
if name in HTML_ENTITIES:
return unichr(HTML_ENTITIES[name])
try:
if name[:2] in ('#x', '#X'):
return unichr(int(name[2:], 16))
elif name.startswith('#'):
return unichr(int(name[1:]))
except ValueError:
pass
return u''
return _entity_re.sub(handle_match, text_type(self))
def striptags(self):
r"""Unescape markup into an text_type string and strip all tags. This
also resolves known HTML4 and XHTML entities. Whitespace is
normalized to one:
>>> Markup("Main » <em>About</em>").striptags()
u'Main \xbb About'
"""
stripped = u' '.join(_striptags_re.sub('', self).split())
return Markup(stripped).unescape()
@classmethod
def escape(cls, s):
"""Escape the string. Works like :func:`escape` with the difference
that for subclasses of :class:`Markup` this function would return the
correct subclass.
"""
rv = escape(s)
if rv.__class__ is not cls:
return cls(rv)
return rv
def make_simple_escaping_wrapper(name):
orig = getattr(text_type, name)
def func(self, *args, **kwargs):
args = _escape_argspec(list(args), enumerate(args), self.escape)
_escape_argspec(kwargs, iteritems(kwargs), self.escape)
return self.__class__(orig(self, *args, **kwargs))
func.__name__ = orig.__name__
func.__doc__ = orig.__doc__
return func
for method in '__getitem__', 'capitalize', \
'title', 'lower', 'upper', 'replace', 'ljust', \
'rjust', 'lstrip', 'rstrip', 'center', 'strip', \
'translate', 'expandtabs', 'swapcase', 'zfill':
locals()[method] = make_simple_escaping_wrapper(method)
# new in python 2.5
if hasattr(text_type, 'partition'):
def partition(self, sep):
return tuple(map(self.__class__,
text_type.partition(self, self.escape(sep))))
def rpartition(self, sep):
return tuple(map(self.__class__,
text_type.rpartition(self, self.escape(sep))))
# new in python 2.6
if hasattr(text_type, 'format'):
def format(*args, **kwargs):
self, args = args[0], args[1:]
formatter = EscapeFormatter(self.escape)
kwargs = _MagicFormatMapping(args, kwargs)
return self.__class__(formatter.vformat(self, args, kwargs))
def __html_format__(self, format_spec):
if format_spec:
raise ValueError('Unsupported format specification '
'for Markup.')
return self
# not in python 3
if hasattr(text_type, '__getslice__'):
__getslice__ = make_simple_escaping_wrapper('__getslice__')
del method, make_simple_escaping_wrapper
class _MagicFormatMapping(Mapping):
"""This class implements a dummy wrapper to fix a bug in the Python
standard library for string formatting.
See http://bugs.python.org/issue13598 for information about why
this is necessary.
"""
def __init__(self, args, kwargs):
self._args = args
self._kwargs = kwargs
self._last_index = 0
def __getitem__(self, key):
if key == '':
idx = self._last_index
self._last_index += 1
try:
return self._args[idx]
except LookupError:
pass
key = str(idx)
return self._kwargs[key]
def __iter__(self):
return iter(self._kwargs)
def __len__(self):
return len(self._kwargs)
if hasattr(text_type, 'format'):
class EscapeFormatter(string.Formatter):
def __init__(self, escape):
self.escape = escape
def format_field(self, value, format_spec):
if hasattr(value, '__html_format__'):
rv = value.__html_format__(format_spec)
elif hasattr(value, '__html__'):
if format_spec:
raise ValueError('No format specification allowed '
'when formatting an object with '
'its __html__ method.')
rv = value.__html__()
else:
rv = string.Formatter.format_field(self, value, format_spec)
return text_type(self.escape(rv))
def _escape_argspec(obj, iterable, escape):
"""Helper for various string-wrapped functions."""
for key, value in iterable:
if hasattr(value, '__html__') or isinstance(value, string_types):
obj[key] = escape(value)
return obj
class _MarkupEscapeHelper(object):
"""Helper for Markup.__mod__"""
def __init__(self, obj, escape):
self.obj = obj
self.escape = escape
__getitem__ = lambda s, x: _MarkupEscapeHelper(s.obj[x], s.escape)
__unicode__ = __str__ = lambda s: text_type(s.escape(s.obj))
__repr__ = lambda s: str(s.escape(repr(s.obj)))
__int__ = lambda s: int(s.obj)
__float__ = lambda s: float(s.obj)
# we have to import it down here as the speedups and native
# modules imports the markup type which is define above.
try:
from markupsafe._speedups import escape, escape_silent, soft_unicode
except ImportError:
from markupsafe._native import escape, escape_silent, soft_unicode
if not PY2:
soft_str = soft_unicode
__all__.append('soft_str')
| {
"pile_set_name": "Github"
} |
# /* **************************************************************************
# * *
# * (C) Copyright Paul Mensonides 2002.
# * Distributed under the Boost Software License, Version 1.0. (See
# * accompanying file LICENSE_1_0.txt or copy at
# * http://www.boost.org/LICENSE_1_0.txt)
# * *
# ************************************************************************** */
#
# /* See http://www.boost.org for most recent version. */
#
# ifndef BOOST_PREPROCESSOR_SEQ_REVERSE_HPP
# define BOOST_PREPROCESSOR_SEQ_REVERSE_HPP
#
# include <boost/preprocessor/config/config.hpp>
# include <boost/preprocessor/facilities/empty.hpp>
# include <boost/preprocessor/seq/fold_left.hpp>
#
# /* BOOST_PP_SEQ_REVERSE */
#
# if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_EDG()
# define BOOST_PP_SEQ_REVERSE(seq) BOOST_PP_SEQ_FOLD_LEFT(BOOST_PP_SEQ_REVERSE_O, BOOST_PP_EMPTY, seq)()
# else
# define BOOST_PP_SEQ_REVERSE(seq) BOOST_PP_SEQ_REVERSE_I(seq)
# define BOOST_PP_SEQ_REVERSE_I(seq) BOOST_PP_SEQ_FOLD_LEFT(BOOST_PP_SEQ_REVERSE_O, BOOST_PP_EMPTY, seq)()
# endif
#
# define BOOST_PP_SEQ_REVERSE_O(s, state, elem) (elem) state
#
# /* BOOST_PP_SEQ_REVERSE_S */
#
# if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_EDG()
# define BOOST_PP_SEQ_REVERSE_S(s, seq) BOOST_PP_SEQ_FOLD_LEFT_ ## s(BOOST_PP_SEQ_REVERSE_O, BOOST_PP_EMPTY, seq)()
# else
# define BOOST_PP_SEQ_REVERSE_S(s, seq) BOOST_PP_SEQ_REVERSE_S_I(s, seq)
# define BOOST_PP_SEQ_REVERSE_S_I(s, seq) BOOST_PP_SEQ_FOLD_LEFT_ ## s(BOOST_PP_SEQ_REVERSE_O, BOOST_PP_EMPTY, seq)()
# endif
#
# endif
| {
"pile_set_name": "Github"
} |
/*
* Copyright (c) 2000-2004 Apple Computer, Inc. All rights reserved.
*
* @APPLE_OSREFERENCE_LICENSE_HEADER_START@
*
* This file contains Original Code and/or Modifications of Original Code
* as defined in and that are subject to the Apple Public Source License
* Version 2.0 (the 'License'). You may not use this file except in
* compliance with the License. The rights granted to you under the License
* may not be used to create, or enable the creation or redistribution of,
* unlawful or unlicensed copies of an Apple operating system, or to
* circumvent, violate, or enable the circumvention or violation of, any
* terms of an Apple operating system software license agreement.
*
* Please obtain a copy of the License at
* http://www.opensource.apple.com/apsl/ and read it before using this file.
*
* The Original Code and all software distributed under the License are
* distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
* EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
* INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
* Please see the License for the specific language governing rights and
* limitations under the License.
*
* @APPLE_OSREFERENCE_LICENSE_HEADER_END@
*/
#ifndef _KERN_SPL_H_
#define _KERN_SPL_H_
#include <machine/machine_routines.h>
typedef unsigned spl_t;
#define splhigh() (spl_t) ml_set_interrupts_enabled(FALSE)
#define splsched() (spl_t) ml_set_interrupts_enabled(FALSE)
#define splclock() (spl_t) ml_set_interrupts_enabled(FALSE)
#define splx(x) (void) ml_set_interrupts_enabled(x)
#define spllo() (void) ml_set_interrupts_enabled(TRUE)
#endif /* _KERN_SPL_H_ */
| {
"pile_set_name": "Github"
} |
------------------------------------------------------------------------------
-- query_list.lua --
------------------------------------------------------------------------------
function QueryList(own_table, rows)
local current_query
local _query_list = {
------------------------------------------------
-- Table info varibles --
------------------------------------------------
--class name
__classname__ = QUERY_LIST,
-- Own Table
own_table = own_table,
-- Stack of data rows
_stack = {},
------------------------------------------------
-- Metamethods --
------------------------------------------------
-- Get n-th position value from Query stack
------------------------------------------------
-- @position {integer} position element is stack
--
-- @return {Query Instance} Table row instance
-- in n-th position
------------------------------------------------
__index = function (self, position)
if Type.is.int(position) and position >= 1 then
return self._stack[position]
end
end,
__call = function (self)
return pairs(self._stack)
end,
getPureData = function (self)
local ret = {}
for _,v in pairs(self._stack) do
table.insert(ret, v:getPureData())
end
return ret
end,
------------------------------------------------
-- User methods --
------------------------------------------------
-- Add new Query Instance to stack
add = function (self, QueryInstance)
table.insert(self._stack, QueryInstance)
end,
save = function(self)
local params = {}
for _, query in pairs(self._stack) do
local kv,needPrimaryKey = query:getSaveKv()
local param = {}
param["kv"] = kv
param["needPrimaryKey"] = needPrimaryKey
table.insert(params, param)
end
local results = lua_thread.postToThreadSync(own_table.cacheThreadId,"orm.cache","batchInsert",own_table.__tablename__,params)
for i, query in ipairs(self._stack) do
query:setPrimaryKey(params[i]["needPrimaryKey"],results[i]["rowId"]);
end
end,
-- Get count of values in stack
count = function (self)
return #self._stack
end,
update = function (self)
for _, query in pairs(self._stack) do
query:update()
end
end,
-- Remove from database all elements from stack
delete = function (self)
for _, query in pairs(self._stack) do
query:delete()
end
self._stack = {}
end
}
setmetatable(_query_list, {__index = _query_list.__index,
__len = _query_list.count,
__call = _query_list.__call})
for _, row in pairs(rows) do
_query_list:add(Query(own_table, row))
end
return _query_list
end
return QueryList | {
"pile_set_name": "Github"
} |
// Copyright David Abrahams 2002.
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef LVALUE_FROM_PYTYPE_DWA2002130_HPP
# define LVALUE_FROM_PYTYPE_DWA2002130_HPP
# include <boost/python/detail/prefix.hpp>
#ifndef BOOST_PYTHON_NO_PY_SIGNATURES
# include <boost/python/converter/pytype_function.hpp>
#endif
# include <boost/python/type_id.hpp>
# include <boost/python/converter/registry.hpp>
# include <boost/python/detail/void_ptr.hpp>
namespace boost { namespace python {
namespace detail
{
// Given a pointer-to-function of 1 parameter returning a reference
// type, return the type_id of the function's return type.
template <class T, class U>
inline type_info extractor_type_id(T&(*)(U))
{
return type_id<T>();
}
// A function generator whose static execute() function is an lvalue
// from_python converter using the given Extractor. U is expected to
// be the actual type of the PyObject instance from which the result
// is being extracted.
template <class Extractor, class U>
struct normalized_extractor
{
static inline void* execute(PyObject* op)
{
typedef typename boost::add_reference<U>::type param;
return &Extractor::execute(
boost::python::detail::void_ptr_to_reference(
op, (param(*)())0 )
);
}
};
// Given an Extractor type and a pointer to its execute function,
// return a new object whose static execute function does the same
// job but is a conforming lvalue from_python conversion function.
//
// usage: normalize<Extractor>(&Extractor::execute)
template <class Extractor, class T, class U>
inline normalized_extractor<Extractor,U>
normalize(T(*)(U), Extractor* = 0)
{
return normalized_extractor<Extractor, U>();
}
}
// An Extractor which extracts the given member from a Python object
// whose instances are stored as InstanceType.
template <class InstanceType, class MemberType, MemberType (InstanceType::*member)>
struct extract_member
{
static MemberType& execute(InstanceType& c)
{
(void)Py_TYPE(&c); // static assertion
return c.*member;
}
};
// An Extractor which simply extracts the entire python object
// instance of InstanceType.
template <class InstanceType>
struct extract_identity
{
static InstanceType& execute(InstanceType& c)
{
(void)Py_TYPE(&c); // static assertion
return c;
}
};
// Registers a from_python conversion which extracts lvalues using
// Extractor's static execute function from Python objects whose type
// object is python_type.
template <class Extractor, PyTypeObject const* python_type>
struct lvalue_from_pytype
{
lvalue_from_pytype()
{
converter::registry::insert
( &extract
, detail::extractor_type_id(&Extractor::execute)
#ifndef BOOST_PYTHON_NO_PY_SIGNATURES
, &get_pytype
#endif
);
}
private:
static void* extract(PyObject* op)
{
return PyObject_TypeCheck(op, const_cast<PyTypeObject*>(python_type))
? const_cast<void*>(
static_cast<void const volatile*>(
detail::normalize<Extractor>(&Extractor::execute).execute(op)))
: 0
;
}
#ifndef BOOST_PYTHON_NO_PY_SIGNATURES
static PyTypeObject const*get_pytype() { return python_type; }
#endif
};
}} // namespace boost::python
#endif // LVALUE_FROM_PYTYPE_DWA2002130_HPP
| {
"pile_set_name": "Github"
} |
๏ปฟ@model ContactFormViewModel
@{
AddTitleSegment(T["Support Options"]);
}
<div style="background: url(/plato.site/content/images/bg10.png) top right no-repeat;">
<section class="page">
<div class="container">
<div class="row">
<div class="col-12">
<h1 class="text-uppercase display-4 text-primary font-weight-bold">
Support
</h1>
<h2 class="font-weight-light">
Your self-hosted support explained
</h2>
<a name="business-support"></a>
</div>
</div>
</div>
</section>
<section class="page">
<div class="container">
<div class="row">
<div class="col-12">
<div class="mt-4 w-100 p-4 bg-white box-shadow">
<img src="~/plato.site/content/images/logo.png" alt="Plato Logo" title="Plato Logo" class="max-w-40 align-middle mr-2" />
<h3 class="d-inline-block align-middle font-weight-bold text-uppercase text-primary">Business Support</h3>
<hr />
<p class="font-weight-bold">
Included with all self-hosted business plans
</p>
<p>
If you require guaranteed priority technical support for your self-hosted Plato installation our business support package lets you connect directly to lead Plato developers to obtain in-depth priority technical support through email or in real-time over the Phone or Zoom.
</p>
<p>
With an active self hosted business plan you'll receive...
</p>
<ol class="list-inline">
<li class="d-block my-2">
<i class="fal fa-check text-primary mr-2"></i>
Access to all the latest minor and major updates
</li>
<li class="d-block my-2">
<i class="fal fa-check text-primary mr-2"></i>
Priority email & phone support direct from Plato developers
</li>
<li class="d-block my-2">
<i class="fal fa-check text-primary mr-2"></i>
A guaranteed response via email within 48 hours (usually quicker)
</li>
<li class="d-block my-2">
<i class="fal fa-check text-primary mr-2"></i>
Escalation to real-time remote assistance within 72 hours if needed
</li>
<li class="d-block my-2">
<i class="fal fa-check text-primary mr-2"></i>
Access to complete C# source code with customization advice & guidance
</li>
<li class="d-block my-2">
<i class="fal fa-check text-primary mr-2"></i>
Access to the Plato GitHub repository so you can open issues or contribute
</li>
<li class="d-block my-2">
<i class="fal fa-check text-primary mr-2"></i>
Ongoing priority assistance with customizations & upgrades
</li>
<li class="d-block my-2">
<i class="fal fa-check text-primary mr-2"></i>
Supporter status within <a asp-route-area="Plato.Core" asp-route-controller="Home" asp-route-action="Index">our community</a> guaranteeing a priority response
</li>
</ol>
<p>
<a asp-route-controller="Pricing" asp-route-action="Index" class="btn btn-lg btn-primary">
See Pricing<i class="fal fa-arrow-right ml-1"></i>
</a>
<a name="enterprise-support"></a>
</p>
</div>
<div class="mt-4 w-100 p-4 bg-white box-shadow">
<img src="~/plato.site/content/images/logo.png" alt="Plato Logo" title="Plato Logo" class="max-w-40 align-middle mr-2" />
<h3 class="d-inline-block align-middle font-weight-bold text-uppercase text-primary">Enterprise Support</h3>
<hr />
<p class="font-weight-bold">
Included with all self-hosted enterprise plans
</p>
<p>
Our enterprise support is the highest level of support we offer. Enterprise support offers all the benefits of our <a asp-fragment="business-support">business support</a> ensuring you receive guaranteed priority technical support but also includes the following additional benefits...
</p>
<ol class="list-inline">
<li class="d-block my-2">
<div class="list-left list-left-24">
<i class="fal fa-check text-primary mt-1"></i>
</div>
<div class="list-body">
Up to 6 hours (usually three 2 hour calls) of personal training from Plato product developers via GotoMeeting, Zoom or Microsoft Teams to assist with on-boarding, employee training, installation, integrations or anything else to help you succeed with Plato
</div>
</li>
<li class="d-block p-0 my-2">
<div class="list-left list-left-24">
<i class="fal fa-check text-primary mt-1"></i>
</div>
<div class="list-body">
We will work with you to develop & deliver a unique theme for your Plato installation. We will present up-to 5 unique mock-ups until you are 100% happy our Plato theme perfectly matches your brand or existing web site. Please allow 10 business days for this process.
</div>
</li>
</ol>
<p>
<a asp-route-controller="Pricing" asp-route-action="Index" class="btn btn-lg btn-primary">
See Pricing<i class="fal fa-arrow-right ml-1"></i>
</a>
</p>
</div>
<div class="w-100 p-4 bg-white box-shadow">
<img src="~/plato.site/content/images/logo.png" alt="Plato Logo" title="Plato Logo" class="max-w-40 align-middle mr-2" />
<h3 class="d-inline-block align-bottom font-weight-bold text-uppercase text-primary">Here to Help</h3>
<hr />
<div class="row">
<div class="col-lg-6">
<p class="font-weight-bold">
Community
</p>
<p>
We will always assist with any questions posted within the Plato community. Use the button below to jump to the Plato community to post your question or report your issue.
</p>
<p>
<a asp-route-area="Plato.Core" asp-route-controller="Home" asp-route-action="Index" class="btn btn-lg btn-primary">Goto Community<i class="fal fa-arrow-right ml-1"></i></a>
</p>
</div>
<div class="col-lg-6">
<p class="font-weight-bold">
Email & Phone
</p>
<p>
If you prefer to keep things just between us use the button below to send us a message or contact us via email or phone.
</p>
<a asp-route-area="Plato.Site" asp-route-controller="Company" asp-route-action="Contact" class="btn btn-lg btn-primary">Contact Us<i class="fal fa-arrow-right ml-1"></i></a>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
</div> | {
"pile_set_name": "Github"
} |
HaskellTokenType.{-# ('{-#')
HaskellTokenType.PRAGMA (' LANGUAGE ForeignFunctionInterface, InterruptibleFFI, CApiFFI ')
HaskellTokenType.#-} ('#-}')
WHITE_SPACE ('\n')
HaskellTokenType.module ('module')
WHITE_SPACE (' ')
HaskellTokenType.conidRegexp ('FFI00002')
WHITE_SPACE (' ')
HaskellTokenType.where ('where')
WHITE_SPACE ('\n\n')
HaskellTokenType.foreign ('foreign')
WHITE_SPACE (' ')
HaskellTokenType.import ('import')
WHITE_SPACE (' ')
HaskellTokenType.varidRegexp ('ccall')
WHITE_SPACE (' ')
HaskellTokenType.varidRegexp ('interruptible')
WHITE_SPACE ('\n ')
HaskellTokenType." ('"')
HaskellTokenType.STRINGTOKEN ('sleep')
HaskellTokenType." ('"')
WHITE_SPACE (' ')
HaskellTokenType.varidRegexp ('sleep')
WHITE_SPACE (' ')
HaskellTokenType.:: ('::')
WHITE_SPACE (' ')
HaskellTokenType.conidRegexp ('CUint')
WHITE_SPACE (' ')
HaskellTokenType.-> ('->')
WHITE_SPACE (' ')
HaskellTokenType.conidRegexp ('IO')
WHITE_SPACE (' ')
HaskellTokenType.conidRegexp ('CUint')
WHITE_SPACE ('\n\n')
HaskellTokenType.foreign ('foreign')
WHITE_SPACE (' ')
HaskellTokenType.import ('import')
WHITE_SPACE (' ')
HaskellTokenType.varidRegexp ('ccall')
WHITE_SPACE (' ')
HaskellTokenType.varidRegexp ('safe')
WHITE_SPACE (' ')
HaskellTokenType." ('"')
HaskellTokenType.STRINGTOKEN ('wool-common.h wool_init')
HaskellTokenType." ('"')
WHITE_SPACE (' ')
HaskellTokenType.varidRegexp ('initWool')
WHITE_SPACE (' ')
HaskellTokenType.:: ('::')
WHITE_SPACE (' ')
HaskellTokenType.conidRegexp ('CInt')
WHITE_SPACE (' ')
HaskellTokenType.-> ('->')
WHITE_SPACE (' ')
HaskellTokenType.conidRegexp ('Ptr')
WHITE_SPACE (' ')
HaskellTokenType.conidRegexp ('CString')
WHITE_SPACE (' ')
HaskellTokenType.-> ('->')
WHITE_SPACE (' ')
HaskellTokenType.conidRegexp ('IO')
WHITE_SPACE (' ')
HaskellTokenType.conidRegexp ('CInt')
WHITE_SPACE ('\n')
HaskellTokenType.foreign ('foreign')
WHITE_SPACE (' ')
HaskellTokenType.import ('import')
WHITE_SPACE (' ')
HaskellTokenType.varidRegexp ('jvm')
WHITE_SPACE (' ')
HaskellTokenType.varidRegexp ('interruptible')
WHITE_SPACE (' ')
HaskellTokenType." ('"')
HaskellTokenType.STRINGTOKEN ('wool-common.h wool_init2')
HaskellTokenType." ('"')
WHITE_SPACE (' ')
HaskellTokenType.varidRegexp ('initWool2')
WHITE_SPACE (' ')
HaskellTokenType.:: ('::')
WHITE_SPACE (' ')
HaskellTokenType.conidRegexp ('CInt')
WHITE_SPACE (' ')
HaskellTokenType.-> ('->')
WHITE_SPACE (' ')
HaskellTokenType.conidRegexp ('Ptr')
WHITE_SPACE (' ')
HaskellTokenType.conidRegexp ('CString')
WHITE_SPACE (' ')
HaskellTokenType.-> ('->')
WHITE_SPACE (' ')
HaskellTokenType.conidRegexp ('IO')
WHITE_SPACE (' ')
HaskellTokenType.conidRegexp ('CInt') | {
"pile_set_name": "Github"
} |
/**
* This Source Code Form is subject to the terms of the Mozilla Public License,
* v. 2.0. If a copy of the MPL was not distributed with this file, You can
* obtain one at http://mozilla.org/MPL/2.0/. OpenMRS is also distributed under
* the terms of the Healthcare Disclaimer located at http://openmrs.org/license.
*
* Copyright (C) OpenMRS Inc. OpenMRS is a registered trademark and the OpenMRS
* graphic logo is a trademark of OpenMRS Inc.
*/
package org.openmrs.api.db;
import org.springframework.context.ApplicationEvent;
/**
* Represents an event object raised whenever a {@link org.hibernate.search.FullTextQuery} object is
* created. Events are fired via the spring application event mechanism, listeners have to implement
* {@link org.springframework.context.ApplicationListener} and set the Type parameter value to
* FullTextQueryCreatedEvent, it also implies that listeners MUST be registered as spring beans in
* order to be discovered.
*
* @see FullTextQueryAndEntityClass
* @since 2.3.0
*/
public class FullTextQueryCreatedEvent extends ApplicationEvent {
/**
* @see ApplicationEvent#ApplicationEvent(java.lang.Object)
*/
public FullTextQueryCreatedEvent(FullTextQueryAndEntityClass queryAndClass) {
super(queryAndClass);
}
}
| {
"pile_set_name": "Github"
} |
/*
* This file is part of RskJ
* Copyright (C) 2017 RSK Labs Ltd.
*
* 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, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package co.rsk.remasc;
import co.rsk.core.Coin;
import co.rsk.core.RskAddress;
import org.ethereum.core.BlockHeader;
import org.ethereum.util.RLP;
import org.ethereum.util.RLPElement;
import org.ethereum.util.RLPList;
import org.bouncycastle.util.BigIntegers;
import java.math.BigInteger;
import java.util.ArrayList;
/**
* Siblings are part of the remasc contract state
* Sibling information is added to contract state as blocks are processed and removed when no longer needed.
* @author Oscar Guindzberg
*/
public class Sibling {
// Hash of the sibling block
private final byte[] hash;
// Coinbase address of the sibling block
private final RskAddress coinbase;
// Fees paid by the sibling block
private final Coin paidFees;
// Coinbase address of the block that included the sibling block as uncle
private final RskAddress includedBlockCoinbase;
// Height of the block that included the sibling block as uncle
private final long includedHeight;
// Number of uncles
private final int uncleCount;
public Sibling(BlockHeader blockHeader, RskAddress includedBlockCoinbase, long includedHeight){
this(blockHeader.getHash().getBytes(),
blockHeader.getCoinbase(),
includedBlockCoinbase,
blockHeader.getPaidFees(),
includedHeight,
blockHeader.getUncleCount());
}
private Sibling(byte[] hash, RskAddress coinbase, RskAddress includedBlockCoinbase, Coin paidFees, long includedHeight, int uncleCount) {
this.hash = hash;
this.coinbase = coinbase;
this.paidFees = paidFees;
this.includedBlockCoinbase = includedBlockCoinbase;
this.includedHeight = includedHeight;
this.uncleCount = uncleCount;
}
public byte[] getHash() {
return hash;
}
public RskAddress getCoinbase() {
return coinbase;
}
public Coin getPaidFees() {
return paidFees;
}
public RskAddress getIncludedBlockCoinbase() {
return includedBlockCoinbase;
}
public long getIncludedHeight() {
return includedHeight;
}
public int getUncleCount() { return uncleCount; }
public byte[] getEncoded() {
byte[] rlpHash = RLP.encodeElement(this.hash);
byte[] rlpCoinbase = RLP.encodeRskAddress(this.coinbase);
byte[] rlpIncludedBlockCoinbase = RLP.encodeRskAddress(this.includedBlockCoinbase);
byte[] rlpPaidFees = RLP.encodeCoin(this.paidFees);
byte[] rlpIncludedHeight = RLP.encodeBigInteger(BigInteger.valueOf(this.includedHeight));
byte[] rlpUncleCount = RLP.encodeBigInteger(BigInteger.valueOf((this.uncleCount)));
return RLP.encodeList(rlpHash, rlpCoinbase, rlpIncludedBlockCoinbase, rlpPaidFees, rlpIncludedHeight, rlpUncleCount);
}
public static Sibling create(byte[] data) {
ArrayList<RLPElement> params = RLP.decode2(data);
RLPList sibling = (RLPList) params.get(0);
byte[] hash = sibling.get(0).getRLPData();
RskAddress coinbase = RLP.parseRskAddress(sibling.get(1).getRLPData());
RskAddress includedBlockCoinbase = RLP.parseRskAddress(sibling.get(2).getRLPData());
Coin paidFees = RLP.parseCoin(sibling.get(3).getRLPData());
byte[] bytesIncludedHeight = sibling.get(4).getRLPData();
RLPElement uncleCountElement = sibling.get(5);
byte[] bytesUncleCount = uncleCountElement != null? uncleCountElement.getRLPData():null;
long includedHeight = bytesIncludedHeight == null ? 0 : BigIntegers.fromUnsignedByteArray(bytesIncludedHeight).longValue();
int uncleCount = bytesUncleCount == null ? 0 : BigIntegers.fromUnsignedByteArray(bytesUncleCount).intValue();
return new Sibling(hash, coinbase, includedBlockCoinbase, paidFees, includedHeight, uncleCount);
}
}
| {
"pile_set_name": "Github"
} |
# dataset settings
dataset_type = 'CocoDataset'
data_root = '/gpfs01/bethge/data/coco/'
img_norm_cfg = dict(mean=[123.675, 116.28, 103.53], std=[1, 1, 1], to_rgb=True)
data = dict(
imgs_per_gpu=8,
workers_per_gpu=3,
test=dict(
type=dataset_type,
ann_file=data_root + 'annotations/instances_val2017.json',
img_prefix=data_root + 'val2017/',
img_scale=(512, 512),
img_norm_cfg=img_norm_cfg,
size_divisor=None,
flip_ratio=0,
with_mask=False,
with_label=False,
test_mode=True,
resize_keep_ratio=False)) | {
"pile_set_name": "Github"
} |
local TradeSkillUITypes =
{
Tables =
{
},
};
APIDocumentation:AddDocumentationTable(TradeSkillUITypes); | {
"pile_set_name": "Github"
} |
'use strict';
/**
* Module dependencies.
*/
var PhoneNumberUtil = require('..').PhoneNumberUtil;
var PNF = require('..').PhoneNumberFormat;
var PNT = require('..').PhoneNumberType;
var should = require('should');
/**
* Instances.
*/
var phoneUtil = PhoneNumberUtil.getInstance();
/**
* Test `PhoneUtil`.
*/
describe('PhoneUtil', function() {
var validNumbers = [
'202-456-1414',
'(202) 456-1414',
'+1 (202) 456-1414',
'202.456.1414',
'202/4561414',
'1 202 456 1414',
'+12024561414',
'1 202-456-1414'
];
describe('International Format', function() {
it('should format a number in the international format', function() {
validNumbers.forEach(function(value) {
var phoneNumber = phoneUtil.parseAndKeepRawInput(value, 'US');
phoneUtil.format(phoneNumber, PNF.INTERNATIONAL).should.equal('+1 202-456-1414');
});
});
});
describe('E164 Format', function() {
it('should format a number in the E164 format', function() {
validNumbers.forEach(function(value) {
var phoneNumber = phoneUtil.parseAndKeepRawInput(value, 'US');
phoneUtil.format(phoneNumber, PNF.E164).should.equal('+12024561414');
});
});
});
describe('National Format', function() {
it('should format a number in the national format', function() {
validNumbers.forEach(function(value) {
var phoneNumber = phoneUtil.parseAndKeepRawInput(value, 'US');
phoneUtil.format(phoneNumber, PNF.NATIONAL).should.equal('(202) 456-1414');
});
});
});
describe('RFC3966 Format', function() {
it('should format a number in the RFC3966 format', function() {
validNumbers.forEach(function(value) {
var phoneNumber = phoneUtil.parseAndKeepRawInput(value, 'US');
phoneUtil.format(phoneNumber, PNF.RFC3966).should.equal('tel:+1-202-456-1414');
});
});
});
describe('Phone Number Type', function() {
it('should return a valid phone number type', function() {
var phoneNumber = phoneUtil.parseAndKeepRawInput(validNumbers[0], 'US');
phoneUtil.getNumberType(phoneNumber).should.equal(PNT.FIXED_LINE_OR_MOBILE);
});
});
describe('Malformatted Number', function() {
it('should throw an error when attempting to format a malformatted number', function() {
try {
phoneUtil.parseAndKeepRawInput('111111111111111111111', 'US');
should.fail();
} catch (e) {
e.should.be.an.instanceOf(Error);
e.message.should.equal('The string supplied is too long to be a phone number');
}
});
it('should return a reason for an invalid number', function() {
var phoneNumber = phoneUtil.parseAndKeepRawInput('123456', 'US');
phoneUtil.isPossibleNumber(phoneNumber).should.be.false();
phoneUtil.isPossibleNumberWithReason(phoneNumber).should.equal(PhoneNumberUtil.ValidationResult.TOO_SHORT);
});
});
});
| {
"pile_set_name": "Github"
} |
/** \file
* \brief Computes the orthogonal representation of a planar
* representation of a UML graph using the simple flow
* approach.
*
* \author Karsten Klein
*
* \par License:
* This file is part of the Open Graph Drawing Framework (OGDF).
*
* \par
* Copyright (C)<br>
* See README.md in the OGDF root directory for details.
*
* \par
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* Version 2 or 3 as published by the Free Software Foundation;
* see the file LICENSE.txt included in the packaging of this file
* for details.
*
* \par
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* \par
* You should have received a copy of the GNU General Public
* License along with this program; if not, see
* http://www.gnu.org/copyleft/gpl.html
*/
#pragma once
#include <ogdf/orthogonal/OrthoRep.h>
#include <ogdf/uml/PlanRepUML.h>
namespace ogdf {
class OGDF_EXPORT OrthoShaper
{
public:
//! Types of network nodes: nodes and faces
enum class NetworkNodeType { low, high, inner, outer };
OrthoShaper() {
setDefaultSettings();
}
~OrthoShaper() { }
// Given a planar representation for a UML graph and its planar
// combinatorial embedding, call() produces an orthogonal
// representation using Tamassias bend minimization algorithm
// with a flow network where every flow unit defines 90 degree angle
// in traditional mode.
void call(PlanRepUML &PG,
CombinatorialEmbedding &E,
OrthoRep &OR,
bool fourPlanar = true);
void call(PlanRep &PG,
CombinatorialEmbedding &E,
OrthoRep &OR,
bool fourPlanar = true);
//sets the default settings used in the standard constructor
void setDefaultSettings()
{
m_distributeEdges = true; // true; //try to distribute edges to all node sides
m_fourPlanar = true; //do not allow zero degree angles at high degree
m_allowLowZero = false; //do allow zero degree at low degree nodes
m_multiAlign = true;//true; //start/end side of multi edges match
m_traditional = true;//true; //prefer 3/1 flow at degree 2 (false: 2/2)
m_deg4free = false; //allow free angle assignment at degree four
m_align = false; //align nodes on same hierarchy level
m_startBoundBendsPerEdge = 0; //don't use bound on bend number per edge
}
// returns option distributeEdges
bool distributeEdges() { return m_distributeEdges; }
// sets option distributeEdges to b
void distributeEdges(bool b) { m_distributeEdges = b; }
// returns option multiAlign
bool multiAlign() { return m_multiAlign; }
// sets option multiAlign to b
void multiAlign(bool b) { m_multiAlign = b; }
// returns option traditional
bool traditional() { return m_traditional; }
// sets option traditional to b
void traditional(bool b) { m_traditional = b; }
//returns option deg4free
bool fixDegreeFourAngles() { return m_deg4free; }
//sets option deg4free
void fixDegreeFourAngles(bool b) { m_deg4free = b; }
//alignment of brothers in hierarchies
void align(bool al) {m_align = al;}
bool align() {return m_align;}
//! Set bound for number of bends per edge (none if set to 0). If shape
//! flow computation is unsuccessful, the bound is increased iteratively.
void setBendBound(int i){ OGDF_ASSERT(i >= 0); m_startBoundBendsPerEdge = i;}
int getBendBound(){return m_startBoundBendsPerEdge;}
private:
//! distribute edges among all sides if degree > 4
bool m_distributeEdges;
//! should the input graph be four planar
//! (no zero degree)
bool m_fourPlanar;
//! allow low degree nodes zero degree
//! (to low for zero...)
bool m_allowLowZero;
//! multi edges aligned on the same side
bool m_multiAlign;
//! allow degree four nodes free angle assignment
bool m_deg4free;
/**
* Do not prefer 180-degree angles.
* Traditional is not tamassia,
* traditional is a kandinsky-ILP-like network with node supply 4,
* not traditional interprets angle flow zero as 180 degree, "flow
* through the node"
*/
bool m_traditional;
//! Try to achieve an alignment in hierarchy levels
bool m_align;
/**
* Bound on the number of bends per edge for flow.
* If == 0, no bound is used.
*
* A maximum number of bends per edge can be specified in
* m_startBoundBendsPerEdge. If the algorithm is not successful in
* producing a bend minimal representation subject to
* startBoundBendsPerEdge, it successively enhances the bound by
* one trying to compute an orthogonal representation.
*
* Using m_startBoundBendsPerEdge may not produce a bend minimal
* representation in general.
*/
int m_startBoundBendsPerEdge;
//! Set angle boundary.
//! Warning: sets upper AND lower bounds, therefore may interfere with existing bounds
void setAngleBound(
edge netArc,
int angle,
EdgeArray<int>& lowB,
EdgeArray<int>& upB,
EdgeArray<edge>& aTwin,
bool maxBound = true)
{
// preliminary
OGDF_ASSERT(!m_traditional);
const int angleId = angle / 90;
const edge e2 = aTwin[netArc];
OGDF_ASSERT(angleId >= 0);
OGDF_ASSERT(angleId <= 2);
if (maxBound) {
lowB[netArc] = 2 - angleId;
upB[netArc] = 2;
if (e2) {
upB[e2] = lowB[e2] = 0;
}
} else {
upB[netArc] = 2 - angleId;
lowB[netArc] = 0;
if (e2) {
upB[e2] = 2;
lowB[e2] = 0;
}
}
}
};
}
| {
"pile_set_name": "Github"
} |
name: bprint
ID: 6
format:
field:unsigned short common_type; offset:0; size:2; signed:0;
field:unsigned char common_flags; offset:2; size:1; signed:0;
field:unsigned char common_preempt_count; offset:3; size:1; signed:0;
field:int common_pid; offset:4; size:4; signed:1;
field:unsigned long ip; offset:8; size:8; signed:0;
field:const char * fmt; offset:16; size:8; signed:0;
field:u32 buf; offset:24; size:0; signed:0;
print fmt: "%ps: %s", (void *)REC->ip, REC->fmt
| {
"pile_set_name": "Github"
} |
/*
* Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The OpenAirInterface Software Alliance licenses this file to You under
* the terms found in the LICENSE file in the root of this source tree.
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*-------------------------------------------------------------------------------
* For more information about the OpenAirInterface (OAI) Software Alliance:
* [email protected]
*/
/*! \file mme_app_main.c
\brief
\author Sebastien ROUX, Lionel Gauthier
\company Eurecom
\email: [email protected]
*/
#include <stdio.h>
#include <string.h>
#include <stdbool.h>
#include <stdint.h>
#include <pthread.h>
#include "bstrlib.h"
#include "dynamic_memory_check.h"
#include "log.h"
#include "intertask_interface.h"
#include "itti_free_defined_msg.h"
#include "mme_config.h"
#include "nas_network.h"
#include "timer.h"
#include "mme_app_extern.h"
#include "mme_app_ue_context.h"
#include "mme_app_defs.h"
#include "mme_app_statistics.h"
#include "service303_message_utils.h"
#include "service303.h"
#include "common_defs.h"
#include "mme_app_edns_emulation.h"
#include "nas_proc.h"
#include "3gpp_36.401.h"
#include "common_types.h"
#include "hashtable.h"
#include "intertask_interface_types.h"
#include "itti_types.h"
#include "mme_app_messages_types.h"
#include "mme_app_state.h"
#include "obj_hashtable.h"
#include "s11_messages_types.h"
#include "s1ap_messages_types.h"
#include "sctp_messages_types.h"
#include "timer_messages_types.h"
static void _check_mme_healthy_and_notify_service(void);
static bool _is_mme_app_healthy(void);
static void mme_app_exit(void);
bool mme_hss_associated = false;
bool mme_sctp_bounded = false;
task_zmq_ctx_t mme_app_task_zmq_ctx;
static int handle_message(zloop_t* loop, zsock_t* reader, void* arg) {
zframe_t* msg_frame = zframe_recv(reader);
assert(msg_frame);
MessageDef* received_message_p = (MessageDef*) zframe_data(msg_frame);
imsi64_t imsi64 = itti_get_associated_imsi(received_message_p);
mme_app_desc_t* mme_app_desc_p = get_mme_nas_state(false);
switch (ITTI_MSG_ID(received_message_p)) {
case MESSAGE_TEST: {
OAI_FPRINTF_INFO("TASK_MME_APP received MESSAGE_TEST\n");
} break;
case MME_APP_INITIAL_CONTEXT_SETUP_RSP: {
mme_app_handle_initial_context_setup_rsp(
&MME_APP_INITIAL_CONTEXT_SETUP_RSP(received_message_p));
} break;
case S6A_CANCEL_LOCATION_REQ: {
/*
* Check cancellation-type and handle it if it is SUBSCRIPTION_WITHDRAWAL.
* For any other cancellation-type log it and ignore it.
*/
mme_app_handle_s6a_cancel_location_req(
mme_app_desc_p, &received_message_p->ittiMsg.s6a_cancel_location_req);
} break;
case MME_APP_UPLINK_DATA_IND: {
nas_proc_ul_transfer_ind(
MME_APP_UL_DATA_IND(received_message_p).ue_id,
MME_APP_UL_DATA_IND(received_message_p).tai,
MME_APP_UL_DATA_IND(received_message_p).cgi,
&MME_APP_UL_DATA_IND(received_message_p).nas_msg);
} break;
case S11_CREATE_BEARER_REQUEST: {
mme_app_handle_s11_create_bearer_req(
mme_app_desc_p,
&received_message_p->ittiMsg.s11_create_bearer_request);
} break;
case S6A_RESET_REQ: {
mme_app_handle_s6a_reset_req(&received_message_p->ittiMsg.s6a_reset_req);
} break;
case S11_CREATE_SESSION_RESPONSE: {
mme_app_handle_create_sess_resp(
mme_app_desc_p,
&received_message_p->ittiMsg.s11_create_session_response);
} break;
case S11_MODIFY_BEARER_RESPONSE: {
ue_mm_context_t* ue_context_p = NULL;
OAILOG_INFO(
LOG_MME_APP, "Received S11 MODIFY BEARER RESPONSE from SPGW\n");
ue_context_p = mme_ue_context_exists_s11_teid(
&mme_app_desc_p->mme_ue_contexts,
received_message_p->ittiMsg.s11_modify_bearer_response.teid);
if (ue_context_p == NULL) {
OAILOG_WARNING(
LOG_MME_APP, "We didn't find this teid in list of UE: %08x\n",
received_message_p->ittiMsg.s11_modify_bearer_response.teid);
} else {
OAILOG_DEBUG(
LOG_MME_APP,
"S11 MODIFY BEARER RESPONSE local S11 teid = " TEID_FMT "\n",
received_message_p->ittiMsg.s11_modify_bearer_response.teid);
if (!ue_context_p->path_switch_req) {
/* Updating statistics */
mme_app_handle_modify_bearer_rsp(
&received_message_p->ittiMsg.s11_modify_bearer_response,
ue_context_p);
update_mme_app_stats_s1u_bearer_add();
mme_app_handle_modify_bearer_rsp(
&received_message_p->ittiMsg.s11_modify_bearer_response,
ue_context_p);
} else {
mme_app_handle_path_switch_req_ack(
&received_message_p->ittiMsg.s11_modify_bearer_response,
ue_context_p);
ue_context_p->path_switch_req = false;
}
}
} break;
case S11_RELEASE_ACCESS_BEARERS_RESPONSE: {
mme_app_handle_release_access_bearers_resp(
mme_app_desc_p,
&received_message_p->ittiMsg.s11_release_access_bearers_response);
} break;
case S11_DELETE_SESSION_RESPONSE: {
mme_app_handle_delete_session_rsp(
mme_app_desc_p,
&received_message_p->ittiMsg.s11_delete_session_response);
} break;
case S11_SUSPEND_ACKNOWLEDGE: {
mme_app_handle_suspend_acknowledge(
mme_app_desc_p, &received_message_p->ittiMsg.s11_suspend_acknowledge);
} break;
case S1AP_E_RAB_SETUP_RSP: {
mme_app_handle_e_rab_setup_rsp(&S1AP_E_RAB_SETUP_RSP(received_message_p));
} break;
case S1AP_E_RAB_REL_RSP: {
mme_app_handle_e_rab_rel_rsp(&S1AP_E_RAB_REL_RSP(received_message_p));
} break;
case S1AP_INITIAL_UE_MESSAGE: {
imsi64 = mme_app_handle_initial_ue_message(
mme_app_desc_p, &S1AP_INITIAL_UE_MESSAGE(received_message_p));
} break;
case S6A_UPDATE_LOCATION_ANS: {
/*
* We received the update location answer message from HSS -> Handle it
*/
OAILOG_INFO(
LOG_MME_APP, "Received S6A Update Location Answer from S6A\n");
mme_app_handle_s6a_update_location_ans(
mme_app_desc_p, &received_message_p->ittiMsg.s6a_update_location_ans);
} break;
case S1AP_ENB_INITIATED_RESET_REQ: {
mme_app_handle_enb_reset_req(
&S1AP_ENB_INITIATED_RESET_REQ(received_message_p));
} break;
case S11_PAGING_REQUEST: {
const char* imsi = received_message_p->ittiMsg.s11_paging_request.imsi;
OAILOG_DEBUG(
LOG_MME_APP, "MME handling paging request for IMSI%s\n", imsi);
if (mme_app_handle_initial_paging_request(mme_app_desc_p, imsi) !=
RETURNok) {
OAILOG_ERROR(
LOG_MME_APP, "Failed to send paging request to S1AP for IMSI%s\n",
imsi);
}
} break;
case MME_APP_INITIAL_CONTEXT_SETUP_FAILURE: {
mme_app_handle_initial_context_setup_failure(
&MME_APP_INITIAL_CONTEXT_SETUP_FAILURE(received_message_p));
} break;
case TIMER_HAS_EXPIRED: {
/*
* Check statistic timer
*/
if (!timer_exists(
received_message_p->ittiMsg.timer_has_expired.timer_id)) {
OAILOG_WARNING(
LOG_MME_APP,
"Timer expiry signal received for timer \
%lu, but it has already been deleted\n",
received_message_p->ittiMsg.timer_has_expired.timer_id);
break;
}
if (received_message_p->ittiMsg.timer_has_expired.timer_id ==
mme_app_desc_p->statistic_timer_id) {
mme_app_statistics_display();
} else if (received_message_p->ittiMsg.timer_has_expired.arg != NULL) {
mme_app_nas_timer_handle_signal_expiry(
TIMER_HAS_EXPIRED(received_message_p).timer_id,
TIMER_HAS_EXPIRED(received_message_p).arg, &imsi64);
}
timer_handle_expired(
received_message_p->ittiMsg.timer_has_expired.timer_id);
} break;
case S1AP_UE_CAPABILITIES_IND: {
mme_app_handle_s1ap_ue_capabilities_ind(
&received_message_p->ittiMsg.s1ap_ue_cap_ind);
} break;
case S1AP_UE_CONTEXT_RELEASE_REQ: {
mme_app_handle_s1ap_ue_context_release_req(
&received_message_p->ittiMsg.s1ap_ue_context_release_req);
} break;
case S1AP_UE_CONTEXT_MODIFICATION_RESPONSE: {
mme_app_handle_s1ap_ue_context_modification_resp(
&received_message_p->ittiMsg.s1ap_ue_context_mod_response);
} break;
case S1AP_UE_CONTEXT_MODIFICATION_FAILURE: {
mme_app_handle_s1ap_ue_context_modification_fail(
&received_message_p->ittiMsg.s1ap_ue_context_mod_failure);
} break;
case S1AP_UE_CONTEXT_RELEASE_COMPLETE: {
mme_app_handle_s1ap_ue_context_release_complete(
mme_app_desc_p,
&received_message_p->ittiMsg.s1ap_ue_context_release_complete);
} break;
case S1AP_ENB_DEREGISTERED_IND: {
mme_app_handle_enb_deregister_ind(
&received_message_p->ittiMsg.s1ap_eNB_deregistered_ind);
} break;
case ACTIVATE_MESSAGE: {
mme_hss_associated = true;
_check_mme_healthy_and_notify_service();
} break;
case SCTP_MME_SERVER_INITIALIZED: {
mme_sctp_bounded =
&received_message_p->ittiMsg.sctp_mme_server_initialized.successful;
_check_mme_healthy_and_notify_service();
} break;
case S6A_PURGE_UE_ANS: {
mme_app_handle_s6a_purge_ue_ans(
&received_message_p->ittiMsg.s6a_purge_ue_ans);
} break;
case SGSAP_LOCATION_UPDATE_ACC: {
/*Received SGSAP Location Update Accept message from SGS task*/
OAILOG_INFO(
LOG_MME_APP, "Received SGSAP Location Update Accept from SGS\n");
mme_app_handle_sgsap_location_update_acc(
mme_app_desc_p,
&received_message_p->ittiMsg.sgsap_location_update_acc);
} break;
case SGSAP_LOCATION_UPDATE_REJ: {
/*Received SGSAP Location Update Reject message from SGS task*/
mme_app_handle_sgsap_location_update_rej(
mme_app_desc_p,
&received_message_p->ittiMsg.sgsap_location_update_rej);
} break;
case SGSAP_ALERT_REQUEST: {
/*Received SGSAP Alert Request message from SGS task*/
mme_app_handle_sgsap_alert_request(
mme_app_desc_p, &received_message_p->ittiMsg.sgsap_alert_request);
} break;
case SGSAP_VLR_RESET_INDICATION: {
/*Received SGSAP Reset Indication from SGS task*/
mme_app_handle_sgsap_reset_indication(
&received_message_p->ittiMsg.sgsap_vlr_reset_indication);
} break;
case SGSAP_PAGING_REQUEST: {
mme_app_handle_sgsap_paging_request(
mme_app_desc_p, &received_message_p->ittiMsg.sgsap_paging_request);
} break;
case SGSAP_SERVICE_ABORT_REQ: {
mme_app_handle_sgsap_service_abort_request(
mme_app_desc_p, &received_message_p->ittiMsg.sgsap_service_abort_req);
} break;
case SGSAP_EPS_DETACH_ACK: {
mme_app_handle_sgs_eps_detach_ack(
mme_app_desc_p, &received_message_p->ittiMsg.sgsap_eps_detach_ack);
} break;
case SGSAP_IMSI_DETACH_ACK: {
mme_app_handle_sgs_imsi_detach_ack(
mme_app_desc_p, &received_message_p->ittiMsg.sgsap_imsi_detach_ack);
} break;
case S11_MODIFY_UE_AMBR_REQUEST: {
mme_app_handle_modify_ue_ambr_request(
mme_app_desc_p, &S11_MODIFY_UE_AMBR_REQUEST(received_message_p));
} break;
case S11_NW_INITIATED_ACTIVATE_BEARER_REQUEST: {
mme_app_handle_nw_init_ded_bearer_actv_req(
mme_app_desc_p,
&received_message_p->ittiMsg.s11_nw_init_actv_bearer_request);
} break;
case SGSAP_STATUS: {
mme_app_handle_sgs_status_message(
mme_app_desc_p, &received_message_p->ittiMsg.sgsap_status);
} break;
case S11_NW_INITIATED_DEACTIVATE_BEARER_REQUEST: {
mme_app_handle_nw_init_bearer_deactv_req(
mme_app_desc_p,
&received_message_p->ittiMsg.s11_nw_init_deactv_bearer_request);
} break;
case S1AP_PATH_SWITCH_REQUEST: {
mme_app_handle_path_switch_request(
mme_app_desc_p, &S1AP_PATH_SWITCH_REQUEST(received_message_p));
} break;
case S6A_AUTH_INFO_ANS: {
/*
* We received the authentication vectors from HSS,
* Normally should trigger an authentication procedure towards UE.
*/
nas_proc_authentication_info_answer(
mme_app_desc_p, &S6A_AUTH_INFO_ANS(received_message_p));
} break;
case MME_APP_DOWNLINK_DATA_CNF: {
bstring nas_msg = NULL;
nas_proc_dl_transfer_cnf(
MME_APP_DL_DATA_CNF(received_message_p).ue_id,
MME_APP_DL_DATA_CNF(received_message_p).err_code, &nas_msg);
} break;
case MME_APP_DOWNLINK_DATA_REJ: {
nas_proc_dl_transfer_rej(
MME_APP_DL_DATA_REJ(received_message_p).ue_id,
MME_APP_DL_DATA_REJ(received_message_p).err_code,
&MME_APP_DL_DATA_REJ(received_message_p).nas_msg);
} break;
case SGSAP_DOWNLINK_UNITDATA: {
/* We received the Downlink Unitdata from MSC, trigger a
* Downlink Nas Transport message to UE.
*/
nas_proc_downlink_unitdata(&SGSAP_DOWNLINK_UNITDATA(received_message_p));
} break;
case SGSAP_RELEASE_REQ: {
/* We received the SGS Release request from MSC,to indicate that there
* are no more NAS messages to be exchanged between the VLR and the UE,
* or when a further exchange of NAS messages for the specified UE is
* not possible due to an error.
*/
nas_proc_sgs_release_req(&SGSAP_RELEASE_REQ(received_message_p));
} break;
case SGSAP_MM_INFORMATION_REQ: {
// Received SGSAP MM Information Request message from SGS task
nas_proc_cs_domain_mm_information_request(
&SGSAP_MM_INFORMATION_REQ(received_message_p));
} break;
case TERMINATE_MESSAGE: {
itti_free_msg_content(received_message_p);
zframe_destroy(&msg_frame);
mme_app_exit();
} break;
case RECOVERY_MESSAGE: {
OAILOG_INFO(LOG_MME_APP, "Received RECOVERY_MESSAGE \n");
mme_app_recover_timers_for_all_ues();
} break;
default: {
OAILOG_ERROR(
LOG_MME_APP, "Unknown message (%s) received with message Id: %d\n",
ITTI_MSG_NAME(received_message_p), ITTI_MSG_ID(received_message_p));
} break;
}
put_mme_nas_state();
put_mme_ue_state(mme_app_desc_p, imsi64);
itti_free_msg_content(received_message_p);
zframe_destroy(&msg_frame);
return 0;
}
//------------------------------------------------------------------------------
static void* mme_app_thread(__attribute__((unused)) void* args) {
itti_mark_task_ready(TASK_MME_APP);
init_task_context(
TASK_MME_APP,
(task_id_t[]){TASK_SPGW_APP, TASK_SGS, TASK_S11, TASK_S6A, TASK_S1AP,
TASK_SERVICE303},
6, handle_message, &mme_app_task_zmq_ctx);
// Service started, but not healthy yet
send_app_health_to_service303(&mme_app_task_zmq_ctx, TASK_MME_APP, false);
zloop_start(mme_app_task_zmq_ctx.event_loop);
mme_app_exit();
return NULL;
}
//------------------------------------------------------------------------------
int mme_app_init(const mme_config_t* mme_config_p) {
OAILOG_FUNC_IN(LOG_MME_APP);
if (mme_nas_state_init(mme_config_p)) {
OAILOG_FUNC_RETURN(LOG_MME_APP, RETURNerror);
}
if (mme_app_edns_init(mme_config_p)) {
OAILOG_FUNC_RETURN(LOG_MME_APP, RETURNerror);
}
// Initialise NAS module
nas_network_initialize(mme_config_p);
/*
* Create the thread associated with MME applicative layer
*/
if (itti_create_task(TASK_MME_APP, &mme_app_thread, NULL) < 0) {
OAILOG_ERROR(LOG_MME_APP, "MME APP create task failed\n");
OAILOG_FUNC_RETURN(LOG_MME_APP, RETURNerror);
}
OAILOG_DEBUG(LOG_MME_APP, "Initializing MME applicative layer: DONE\n");
OAILOG_FUNC_RETURN(LOG_MME_APP, RETURNok);
}
static void _check_mme_healthy_and_notify_service(void) {
if (_is_mme_app_healthy()) {
send_app_health_to_service303(&mme_app_task_zmq_ctx, TASK_MME_APP, true);
}
}
static bool _is_mme_app_healthy(void) {
return mme_hss_associated && mme_sctp_bounded;
}
//------------------------------------------------------------------------------
static void mme_app_exit(void) {
destroy_task_context(&mme_app_task_zmq_ctx);
put_mme_nas_state();
mme_app_edns_exit();
clear_mme_nas_state();
// Clean-up NAS module
nas_network_cleanup();
mme_config_exit();
OAI_FPRINTF_INFO("TASK_MME_APP terminated\n");
pthread_exit(NULL);
}
| {
"pile_set_name": "Github"
} |
# -*- coding: utf-8 -*-
#
# This file is part of CERN Open Data Portal.
# Copyright (C) 2018 CERN.
#
# CERN Open Data Portal 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.
#
# CERN Open Data Portal is distributed in the hope that it will be
# useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with CERN Open Data Portal; if not, write to the
# Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
# MA 02111-1307, USA.
#
# In applying this license, CERN does not
# waive the privileges and immunities granted to it by virtue of its status
# as an Intergovernmental Organization or submit itself to any jurisdiction.
"""."""
# This file is just Python, with a touch of Django which means
# you can inherit and tweak settings to your hearts content.
# For Docker, the following environment variables are supported:
# SENTRY_POSTGRES_HOST
# SENTRY_POSTGRES_PORT
# SENTRY_DB_NAME
# SENTRY_DB_USER
# SENTRY_DB_PASSWORD
# SENTRY_RABBITMQ_HOST
# SENTRY_RABBITMQ_USERNAME
# SENTRY_RABBITMQ_PASSWORD
# SENTRY_RABBITMQ_VHOST
# SENTRY_REDIS_HOST
# SENTRY_REDIS_PASSWORD
# SENTRY_REDIS_PORT
# SENTRY_REDIS_DB
# SENTRY_MEMCACHED_HOST
# SENTRY_MEMCACHED_PORT
# SENTRY_FILESTORE_DIR
# SENTRY_SERVER_EMAIL
# SENTRY_EMAIL_HOST
# SENTRY_EMAIL_PORT
# SENTRY_EMAIL_USER
# SENTRY_EMAIL_PASSWORD
# SENTRY_EMAIL_USE_TLS
# SENTRY_ENABLE_EMAIL_REPLIES
# SENTRY_SMTP_HOSTNAME
# SENTRY_MAILGUN_API_KEY
# GITHUB_APP_ID
# GITHUB_API_SECRET
import os
# SENTRY_SINGLE_ORGANIZATION
# SENTRY_SECRET_KEY
import os.path
from sentry.conf.server import * # NOQA
CONF_ROOT = os.path.dirname(__file__)
postgres = env('SENTRY_POSTGRES_HOST') or \
(env('POSTGRES_PORT_5432_TCP_ADDR') and 'postgres')
if postgres:
DATABASES = {
'default': {
'ENGINE': 'sentry.db.postgres',
'NAME': (
env('SENTRY_DB_NAME') or
env('POSTGRES_ENV_POSTGRES_USER') or
'postgres'
),
'USER': (
env('SENTRY_DB_USER') or
env('POSTGRES_ENV_POSTGRES_USER') or
'postgres'
),
'PASSWORD': (
env('SENTRY_DB_PASSWORD') or
env('POSTGRES_ENV_POSTGRES_PASSWORD') or
''
),
'HOST': postgres,
'PORT': (
env('SENTRY_POSTGRES_PORT') or
''
),
'OPTIONS': {
'autocommit': True,
},
},
}
# You should not change this setting after your database has been created
# unless you have altered all schemas first
SENTRY_USE_BIG_INTS = True
# If you're expecting any kind of real traffic on Sentry, we highly recommend
# configuring the CACHES and Redis settings
###########
# General #
###########
# Instruct Sentry that this install intends to be run by a single organization
# and thus various UI optimizations should be enabled.
SENTRY_SINGLE_ORGANIZATION = env('SENTRY_SINGLE_ORGANIZATION', True)
#########
# Redis #
#########
# Generic Redis configuration used as defaults for various things including:
# Buffers, Quotas, TSDB
redis = env('SENTRY_REDIS_HOST') \
or (env('REDIS_PORT_6379_TCP_ADDR') and 'redis')
if not redis:
raise Exception('Error: REDIS_PORT_6379_TCP_ADDR'
'(or SENTRY_REDIS_HOST) is undefined, '
'did you forget to `--link` a redis container?')
redis_password = env('SENTRY_REDIS_PASSWORD') or ''
redis_port = env('SENTRY_REDIS_PORT') or '6379'
redis_db = env('SENTRY_REDIS_DB') or '0'
SENTRY_OPTIONS.update({
'redis.clusters': {
'default': {
'hosts': {
0: {
'host': redis,
'password': redis_password,
'port': redis_port,
'db': redis_db,
},
},
},
},
})
#########
# Cache #
#########
# Sentry currently utilizes two separate mechanisms. While CACHES is not a
# requirement, it will optimize several high throughput patterns.
memcached = env('SENTRY_MEMCACHED_HOST') or \
(env('MEMCACHED_PORT_11211_TCP_ADDR') and 'memcached')
if memcached:
memcached_port = (
env('SENTRY_MEMCACHED_PORT') or
'11211'
)
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
'LOCATION': [memcached + ':' + memcached_port],
'TIMEOUT': 3600,
}
}
# A primary cache is required for things such as processing events
SENTRY_CACHE = 'sentry.cache.redis.RedisCache'
#########
# Queue #
#########
# See https://docs.getsentry.com/on-premise/server/queue/ for more
# information on configuring your queue broker and workers. Sentry relies
# on a Python framework called Celery to manage queues.
rabbitmq = env('SENTRY_RABBITMQ_HOST') \
or (env('RABBITMQ_PORT_5672_TCP_ADDR') and 'rabbitmq')
if rabbitmq:
BROKER_URL = (
'amqp://' + (
env('SENTRY_RABBITMQ_USERNAME') or
env('RABBITMQ_ENV_RABBITMQ_DEFAULT_USER') or
'guest'
) + ':' + (
env('SENTRY_RABBITMQ_PASSWORD') or
env('RABBITMQ_ENV_RABBITMQ_DEFAULT_PASS') or
'guest'
) + '@' + rabbitmq + '/' + (
env('SENTRY_RABBITMQ_VHOST') or
env('RABBITMQ_ENV_RABBITMQ_DEFAULT_VHOST') or
'/'
)
)
else:
BROKER_URL = 'redis://:' + redis_password + \
'@' + redis + \
':' + redis_port + \
'/' + redis_db
###############
# Rate Limits #
###############
# Rate limits apply to notification handlers and are enforced per-project
# automatically.
SENTRY_RATELIMITER = 'sentry.ratelimits.redis.RedisRateLimiter'
##################
# Update Buffers #
##################
# Buffers (combined with queueing) act as an intermediate layer between the
# database and the storage API. They will greatly improve efficiency on large
# numbers of the same events being sent to the API in a short amount of time.
# read: if you send any kind of real data to Sentry, you should enable buffers
SENTRY_BUFFER = 'sentry.buffer.redis.RedisBuffer'
##########
# Quotas #
##########
# Quotas allow you to rate limit individual projects or the Sentry install as
# a whole.
SENTRY_QUOTAS = 'sentry.quotas.redis.RedisQuota'
########
# TSDB #
########
# The TSDB is used for building charts as well as making things like per-rate
# alerts possible.
SENTRY_TSDB = 'sentry.tsdb.redis.RedisTSDB'
###########
# Digests #
###########
# The digest backend powers notification summaries.
SENTRY_DIGESTS = 'sentry.digests.backends.redis.RedisBackend'
################
# File storage #
################
# Uploaded media uses these `filestore` settings. The available
# backends are either `filesystem` or `s3`.
SENTRY_OPTIONS['filestore.backend'] = 'filesystem'
SENTRY_OPTIONS['filestore.options'] = {
'location': env('SENTRY_FILESTORE_DIR'),
}
##############
# Web Server #
##############
# If you're using a reverse SSL proxy, you should enable the X-Forwarded-Proto
# header and set `SENTRY_USE_SSL=1`
if env('SENTRY_USE_SSL', False):
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
SESSION_COOKIE_SECURE = True
CSRF_COOKIE_SECURE = True
SOCIAL_AUTH_REDIRECT_IS_HTTPS = True
SENTRY_WEB_HOST = '0.0.0.0'
SENTRY_WEB_PORT = 9000
SENTRY_WEB_OPTIONS = {
# 'workers': 3, # the number of web workers
}
###############
# Mail Server #
###############
# No mail server.
SENTRY_OPTIONS['mail.backend'] = 'dummy'
# The email address to send on behalf of
SENTRY_OPTIONS['mail.from'] = env('SENTRY_SERVER_EMAIL') or 'root@localhost'
# If you're using mailgun for inbound mail, set your API key and configure a
# route to forward to /api/hooks/mailgun/inbound/
SENTRY_OPTIONS['mail.mailgun-api-key'] = env('SENTRY_MAILGUN_API_KEY') or ''
# If this value ever becomes compromised, it's important to regenerate your
# SENTRY_SECRET_KEY. Changing this value will result in all current sessions
# being invalidated.
secret_key = env('SENTRY_SECRET_KEY')
if not secret_key:
raise Exception('Error: SENTRY_SECRET_KEY is '
'undefined, run `generate-secret-key` '
'and set to -e SENTRY_SECRET_KEY')
if 'SENTRY_RUNNING_UWSGI' not in os.environ and len(secret_key) < 32:
print('!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!')
print('!! CAUTION !!')
print('!! Your SENTRY_SECRET_KEY is potentially insecure. !!')
print('!! We recommend at least 32 characters long. !!')
print('!! Regenerate with `generate-secret-key`. !!')
print('!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!')
SENTRY_OPTIONS['system.secret-key'] = secret_key
if 'GITHUB_APP_ID' in os.environ:
GITHUB_EXTENDED_PERMISSIONS = ['repo']
GITHUB_APP_ID = env('GITHUB_APP_ID')
GITHUB_API_SECRET = env('GITHUB_API_SECRET')
if 'BITBUCKET_CONSUMER_KEY' in os.environ:
BITBUCKET_CONSUMER_KEY = env('BITBUCKET_CONSUMER_KEY')
BITBUCKET_CONSUMER_SECRET = env('BITBUCKET_CONSUMER_SECRET')
SENTRY_PUBLIC = True
SENTRY_BEACON = False
SENTRY_FEATURES['auth:register'] = True
# # URI Prefixes for generating DSN URLs
# # (Defaults to URL_PREFIX by default)
# SENTRY_ENDPOINT = None
# SENTRY_PUBLIC_ENDPOINT = None
| {
"pile_set_name": "Github"
} |
<?php
/**
* Copyright ยฉ Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);
namespace Magento\Framework\App\Test\Unit;
use Magento\Framework\App\Area;
use Magento\Framework\App\DesignInterface;
use Magento\Framework\App\ObjectManager\ConfigLoader;
use Magento\Framework\App\Request\Http;
use Magento\Framework\App\ScopeInterface;
use Magento\Framework\App\ScopeResolverInterface;
use Magento\Framework\Event\ManagerInterface;
use Magento\Framework\ObjectManagerInterface;
use Magento\Framework\Phrase;
use Magento\Framework\Phrase\RendererInterface;
use Magento\Framework\TestFramework\Unit\Helper\ObjectManager;
use Magento\Framework\TranslateInterface;
use Magento\Framework\View\DesignExceptions;
use PHPUnit\Framework\MockObject\MockObject;
use PHPUnit\Framework\TestCase;
use Psr\Log\LoggerInterface;
/**
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
*/
class AreaTest extends TestCase
{
const SCOPE_ID = '1';
/**
* @var ObjectManager
*/
protected $objectManager;
/**
* @var ManagerInterface|MockObject
*/
protected $eventManagerMock;
/**
* @var ObjectManagerInterface|MockObject
*/
protected $objectManagerMock;
/**
* @var ConfigLoader|MockObject
*/
protected $diConfigLoaderMock;
/**
* @var TranslateInterface|MockObject
*/
protected $translatorMock;
/**
* @var LoggerInterface|MockObject
*/
protected $loggerMock;
/**
* @var DesignInterface|MockObject
*/
protected $designMock;
/**
* @var ScopeResolverInterface|MockObject
*/
protected $scopeResolverMock;
/**
* @var DesignExceptions|MockObject
*/
protected $designExceptionsMock;
/**
* @var string
*/
protected $areaCode;
/**
* @var Area
*/
protected $object;
/** @var RendererInterface */
private $defaultRenderer;
protected function setUp(): void
{
$this->defaultRenderer = Phrase::getRenderer();
$this->objectManager = new ObjectManager($this);
$this->loggerMock = $this->getMockBuilder(LoggerInterface::class)
->disableOriginalConstructor()
->getMockForAbstractClass();
$this->eventManagerMock = $this->getMockBuilder(ManagerInterface::class)
->disableOriginalConstructor()
->getMockForAbstractClass();
$this->translatorMock = $this->getMockBuilder(TranslateInterface::class)
->disableOriginalConstructor()
->getMockForAbstractClass();
$this->diConfigLoaderMock = $this->getMockBuilder(ConfigLoader::class)
->disableOriginalConstructor()
->getMock();
$this->objectManagerMock = $this->getMockBuilder(ObjectManagerInterface::class)
->disableOriginalConstructor()
->getMockForAbstractClass();
$this->designMock = $this->getMockBuilder(DesignInterface::class)
->disableOriginalConstructor()
->getMockForAbstractClass();
$this->scopeResolverMock = $this->getMockBuilder(ScopeResolverInterface::class)
->disableOriginalConstructor()
->getMockForAbstractClass();
$scopeMock = $this->getMockBuilder(ScopeInterface::class)
->disableOriginalConstructor()
->getMockForAbstractClass();
$scopeMock->expects($this->any())
->method('getId')
->willReturn(self::SCOPE_ID);
$this->scopeResolverMock->expects($this->any())
->method('getScope')
->willReturn($scopeMock);
$this->designExceptionsMock = $this->getMockBuilder(DesignExceptions::class)
->disableOriginalConstructor()
->getMock();
$this->areaCode = Area::AREA_FRONTEND;
$this->object = $this->objectManager->getObject(
Area::class,
[
'logger' => $this->loggerMock,
'objectManager' => $this->objectManagerMock,
'eventManager' => $this->eventManagerMock,
'translator' => $this->translatorMock,
'diConfigLoader' => $this->diConfigLoaderMock,
'design' => $this->designMock,
'scopeResolver' => $this->scopeResolverMock,
'designExceptions' => $this->designExceptionsMock,
'areaCode' => $this->areaCode,
]
);
}
protected function tearDown(): void
{
Phrase::setRenderer($this->defaultRenderer);
}
public function testLoadConfig()
{
$this->verifyLoadConfig();
$this->object->load(Area::PART_CONFIG);
}
public function testLoadTranslate()
{
$this->translatorMock->expects($this->once())
->method('loadData');
$renderMock = $this->getMockBuilder(RendererInterface::class)
->disableOriginalConstructor()
->getMockForAbstractClass();
$this->objectManagerMock->expects($this->once())
->method('get')
->with(RendererInterface::class)
->willReturn($renderMock);
$this->object->load(Area::PART_TRANSLATE);
}
public function testLoadDesign()
{
$designMock = $this->getMockBuilder(\Magento\Framework\View\DesignInterface::class)
->disableOriginalConstructor()
->getMock();
$this->objectManagerMock->expects($this->once())
->method('get')
->with(\Magento\Framework\View\DesignInterface::class)
->willReturn($designMock);
$designMock->expects($this->once())
->method('setArea')
->with($this->areaCode)
->willReturnSelf();
$designMock->expects($this->once())
->method('setDefaultDesignTheme');
$this->object->load(Area::PART_DESIGN);
}
public function testLoadUnknownPart()
{
$this->objectManagerMock->expects($this->never())
->method('configure');
$this->objectManagerMock->expects($this->never())
->method('get');
$this->object->load('unknown part');
}
public function testLoad()
{
$this->verifyLoadConfig();
$this->translatorMock->expects($this->once())
->method('loadData');
$renderMock = $this->getMockBuilder(RendererInterface::class)
->disableOriginalConstructor()
->getMockForAbstractClass();
$designMock = $this->getMockBuilder(\Magento\Framework\View\DesignInterface::class)
->disableOriginalConstructor()
->getMock();
$designMock->expects($this->once())
->method('setArea')
->with($this->areaCode)
->willReturnSelf();
$designMock->expects($this->once())
->method('setDefaultDesignTheme');
$this->objectManagerMock->expects($this->exactly(2))
->method('get')
->willReturnMap([
[RendererInterface::class, $renderMock],
[\Magento\Framework\View\DesignInterface::class, $designMock],
]);
$this->object->load();
}
private function verifyLoadConfig()
{
$configs = ['dummy configs'];
$this->diConfigLoaderMock->expects($this->once())
->method('load')
->with($this->areaCode)
->willReturn($configs);
$this->objectManagerMock->expects($this->once())
->method('configure')
->with($configs);
}
public function testDetectDesign()
{
$this->designExceptionsMock->expects($this->never())
->method('getThemeByRequest');
$this->designMock->expects($this->once())
->method('loadChange')
->with(self::SCOPE_ID)
->willReturnSelf();
$designMock = $this->getMockBuilder(\Magento\Framework\View\DesignInterface::class)
->disableOriginalConstructor()
->getMock();
$this->objectManagerMock->expects($this->once())
->method('get')
->with(\Magento\Framework\View\DesignInterface::class)
->willReturn($designMock);
$this->designMock->expects($this->once())
->method('changeDesign')
->with($designMock)
->willReturnSelf();
$this->object->detectDesign();
}
/**
* @param string|bool $value
* @param int $callNum
* @param int $callNum2
* @dataProvider detectDesignByRequestDataProvider
*/
public function testDetectDesignByRequest($value, $callNum, $callNum2)
{
$this->designExceptionsMock->expects($this->once())
->method('getThemeByRequest')
->willReturn($value);
$designMock = $this->getMockBuilder(\Magento\Framework\View\DesignInterface::class)
->disableOriginalConstructor()
->getMock();
$designMock->expects($this->exactly($callNum))
->method('setDesignTheme');
$this->objectManagerMock->expects($this->once())
->method('get')
->with(\Magento\Framework\View\DesignInterface::class)
->willReturn($designMock);
$this->designMock->expects($this->exactly($callNum2))
->method('loadChange')
->with(self::SCOPE_ID)
->willReturnSelf();
$this->designMock->expects($this->exactly($callNum2))
->method('changeDesign')
->with($designMock)
->willReturnSelf();
$requestMock = $this->getMockBuilder(Http::class)
->disableOriginalConstructor()
->getMock();
$this->object->detectDesign($requestMock);
}
/**
* @return array
*/
public function detectDesignByRequestDataProvider()
{
return [
[false, 0, 1],
['theme', 1, 0],
];
}
public function testDetectDesignByRequestWithException()
{
$exception = new \Exception('exception');
$this->designExceptionsMock->expects($this->once())
->method('getThemeByRequest')
->willThrowException($exception);
$designMock = $this->getMockBuilder(\Magento\Framework\View\DesignInterface::class)
->disableOriginalConstructor()
->getMock();
$designMock->expects($this->never())
->method('setDesignTheme');
$this->objectManagerMock->expects($this->once())
->method('get')
->with(\Magento\Framework\View\DesignInterface::class)
->willReturn($designMock);
$this->designMock->expects($this->once())
->method('loadChange')
->with(self::SCOPE_ID)
->willReturnSelf();
$this->designMock->expects($this->once())
->method('changeDesign')
->with($designMock)
->willReturnSelf();
$requestMock = $this->getMockBuilder(Http::class)
->disableOriginalConstructor()
->getMock();
$this->loggerMock->expects($this->once())
->method('critical')
->with($exception);
$this->object->detectDesign($requestMock);
}
}
| {
"pile_set_name": "Github"
} |
# X-COM 1 (UFO: Enemy Unknown) ruleset
# For documentation on these values, see http://ufopaedia.org/index.php?title=Rulesets_(OpenXcom)
startingTime:
second: 0
minute: 0
hour: 12
weekday: 6
day: 1
month: 1
year: 1999
costEngineer: 25000
costScientist: 30000
timePersonnel: 72
initialFunding: 6000
alienFuel: [STR_ELERIUM_115, 50]
fontName: Font.dat | {
"pile_set_name": "Github"
} |
import torch
import torch.nn.functional as F
from torch import nn
from torchvision import models
from utils import initialize_weights
from utils.misc import Conv2dDeformable
from .config import res101_path
class _PyramidPoolingModule(nn.Module):
def __init__(self, in_dim, reduction_dim, setting):
super(_PyramidPoolingModule, self).__init__()
self.features = []
for s in setting:
self.features.append(nn.Sequential(
nn.AdaptiveAvgPool2d(s),
nn.Conv2d(in_dim, reduction_dim, kernel_size=1, bias=False),
nn.BatchNorm2d(reduction_dim, momentum=.95),
nn.ReLU(inplace=True)
))
self.features = nn.ModuleList(self.features)
def forward(self, x):
x_size = x.size()
out = [x]
for f in self.features:
out.append(F.upsample(f(x), x_size[2:], mode='bilinear'))
out = torch.cat(out, 1)
return out
class PSPNet(nn.Module):
def __init__(self, num_classes, pretrained=True, use_aux=True):
super(PSPNet, self).__init__()
self.use_aux = use_aux
resnet = models.resnet101()
if pretrained:
resnet.load_state_dict(torch.load(res101_path))
self.layer0 = nn.Sequential(resnet.conv1, resnet.bn1, resnet.relu, resnet.maxpool)
self.layer1, self.layer2, self.layer3, self.layer4 = resnet.layer1, resnet.layer2, resnet.layer3, resnet.layer4
for n, m in self.layer3.named_modules():
if 'conv2' in n:
m.dilation, m.padding, m.stride = (2, 2), (2, 2), (1, 1)
elif 'downsample.0' in n:
m.stride = (1, 1)
for n, m in self.layer4.named_modules():
if 'conv2' in n:
m.dilation, m.padding, m.stride = (4, 4), (4, 4), (1, 1)
elif 'downsample.0' in n:
m.stride = (1, 1)
self.ppm = _PyramidPoolingModule(2048, 512, (1, 2, 3, 6))
self.final = nn.Sequential(
nn.Conv2d(4096, 512, kernel_size=3, padding=1, bias=False),
nn.BatchNorm2d(512, momentum=.95),
nn.ReLU(inplace=True),
nn.Dropout(0.1),
nn.Conv2d(512, num_classes, kernel_size=1)
)
if use_aux:
self.aux_logits = nn.Conv2d(1024, num_classes, kernel_size=1)
initialize_weights(self.aux_logits)
initialize_weights(self.ppm, self.final)
def forward(self, x):
x_size = x.size()
x = self.layer0(x)
x = self.layer1(x)
x = self.layer2(x)
x = self.layer3(x)
if self.training and self.use_aux:
aux = self.aux_logits(x)
x = self.layer4(x)
x = self.ppm(x)
x = self.final(x)
if self.training and self.use_aux:
return F.upsample(x, x_size[2:], mode='bilinear'), F.upsample(aux, x_size[2:], mode='bilinear')
return F.upsample(x, x_size[2:], mode='bilinear')
# just a try, not recommend to use
class PSPNetDeform(nn.Module):
def __init__(self, num_classes, input_size, pretrained=True, use_aux=True):
super(PSPNetDeform, self).__init__()
self.input_size = input_size
self.use_aux = use_aux
resnet = models.resnet101()
if pretrained:
resnet.load_state_dict(torch.load(res101_path))
self.layer0 = nn.Sequential(resnet.conv1, resnet.bn1, resnet.relu, resnet.maxpool)
self.layer1 = resnet.layer1
self.layer2 = resnet.layer2
self.layer3 = resnet.layer3
self.layer4 = resnet.layer4
for n, m in self.layer3.named_modules():
if 'conv2' in n:
m.padding = (1, 1)
m.stride = (1, 1)
elif 'downsample.0' in n:
m.stride = (1, 1)
for n, m in self.layer4.named_modules():
if 'conv2' in n:
m.padding = (1, 1)
m.stride = (1, 1)
elif 'downsample.0' in n:
m.stride = (1, 1)
for idx in range(len(self.layer3)):
self.layer3[idx].conv2 = Conv2dDeformable(self.layer3[idx].conv2)
for idx in range(len(self.layer4)):
self.layer4[idx].conv2 = Conv2dDeformable(self.layer4[idx].conv2)
self.ppm = _PyramidPoolingModule(2048, 512, (1, 2, 3, 6))
self.final = nn.Sequential(
nn.Conv2d(4096, 512, kernel_size=3, padding=1, bias=False),
nn.BatchNorm2d(512, momentum=.95),
nn.ReLU(inplace=True),
nn.Dropout(0.1),
nn.Conv2d(512, num_classes, kernel_size=1)
)
if use_aux:
self.aux_logits = nn.Conv2d(1024, num_classes, kernel_size=1)
initialize_weights(self.aux_logits)
initialize_weights(self.ppm, self.final)
def forward(self, x):
x = self.layer0(x)
x = self.layer1(x)
x = self.layer2(x)
x = self.layer3(x)
if self.training and self.use_aux:
aux = self.aux_logits(x)
x = self.layer4(x)
x = self.ppm(x)
x = self.final(x)
if self.training and self.use_aux:
return F.upsample(x, self.input_size, mode='bilinear'), F.upsample(aux, self.input_size, mode='bilinear')
return F.upsample(x, self.input_size, mode='bilinear')
| {
"pile_set_name": "Github"
} |
from __future__ import absolute_import, print_function
from . import common_info
from . import c_spec
#----------------------------------------------------------------------------
# The "standard" conversion classes
#----------------------------------------------------------------------------
default = [c_spec.int_converter(),
c_spec.float_converter(),
c_spec.complex_converter(),
c_spec.unicode_converter(),
c_spec.string_converter(),
c_spec.list_converter(),
c_spec.dict_converter(),
c_spec.tuple_converter(),
c_spec.file_converter(),
c_spec.instance_converter(),]
#----------------------------------------------------------------------------
# add numpy array converters to the default
# converter list.
#----------------------------------------------------------------------------
try:
from . import standard_array_spec
default.append(standard_array_spec.array_converter())
except ImportError:
pass
#----------------------------------------------------------------------------
# add numpy scalar converters to the default
# converter list.
#----------------------------------------------------------------------------
try:
from . import numpy_scalar_spec
default.append(numpy_scalar_spec.numpy_complex_scalar_converter())
except ImportError:
pass
#----------------------------------------------------------------------------
# Add VTK support
#----------------------------------------------------------------------------
try:
from . import vtk_spec
default.insert(0,vtk_spec.vtk_converter())
except IndexError:
pass
#----------------------------------------------------------------------------
# Add "sentinal" catchall converter
#
# if everything else fails, this one is the last hope (it always works)
#----------------------------------------------------------------------------
default.append(c_spec.catchall_converter())
standard_info = [common_info.basic_module_info()]
standard_info += [x.generate_build_info() for x in default]
#----------------------------------------------------------------------------
# Blitz conversion classes
#
# same as default, but will convert numpy arrays to blitz C++ classes
#----------------------------------------------------------------------------
try:
from . import blitz_spec
blitz = [blitz_spec.array_converter()] + default
#-----------------------------------
# Add "sentinal" catchall converter
#
# if everything else fails, this one
# is the last hope (it always works)
#-----------------------------------
blitz.append(c_spec.catchall_converter())
except:
pass
| {
"pile_set_name": "Github"
} |
// Spacelab 4.1.0
// Bootswatch
//
// Color system
//
$white: #fff !default;
$gray-100: #f8f9fa !default;
$gray-200: #eee !default;
$gray-300: #dee2e6 !default;
$gray-400: #ced4da !default;
$gray-500: #999 !default;
$gray-600: #777 !default;
$gray-700: #495057 !default;
$gray-800: #333 !default;
$gray-900: #2d2d2d !default;
$black: #000 !default;
$blue: #446E9B !default;
$indigo: #6610f2 !default;
$purple: #6f42c1 !default;
$pink: #e83e8c !default;
$red: #CD0200 !default;
$orange: #fd7e14 !default;
$yellow: #D47500 !default;
$green: #3CB521 !default;
$teal: #20c997 !default;
$cyan: #3399F3 !default;
$primary: $blue !default;
$secondary: $gray-500 !default;
$success: $green !default;
$info: $cyan !default;
$warning: $yellow !default;
$danger: $red !default;
$light: $gray-200 !default;
$dark: $gray-800 !default;
$yiq-contrasted-threshold: 200 !default;
// Body
$body-color: $gray-600 !default;
// Links
$link-color: $info !default;
// Fonts
$font-family-sans-serif: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !default;
$headings-color: $gray-900 !default;
// Navbar
$navbar-dark-color: rgba($white,.75) !default;
$navbar-dark-hover-color: $white !default;
$navbar-light-color: rgba($black,.4) !default;
$navbar-light-hover-color: $info !default;
$navbar-light-active-color: $info !default;
| {
"pile_set_name": "Github"
} |
#include <signal.h>
#include <errno.h>
int sigaddset(sigset_t *set, int sig)
{
unsigned s = sig-1;
if (s >= _NSIG-1 || sig-32U < 3) {
errno = EINVAL;
return -1;
}
set->__bits[s/8/sizeof *set->__bits] |= 1UL<<(s&8*sizeof *set->__bits-1);
return 0;
}
| {
"pile_set_name": "Github"
} |
#!/usr/bin/env python
""" pygame.examples.glcube
Draw a cube on the screen.
Amazing.
Every frame we orbit the camera around a small amount
creating the illusion of a spinning object.
First we setup some points of a multicolored cube. Then we then go through
a semi-unoptimized loop to draw the cube points onto the screen.
OpenGL does all the hard work for us. :]
Keyboard Controls
-----------------
* ESCAPE key to quit
* f key to toggle fullscreen.
"""
import math
import ctypes
import pygame as pg
try:
import OpenGL.GL as GL
import OpenGL.GLU as GLU
except ImportError:
print("pyopengl missing. The GLCUBE example requires: pyopengl numpy")
raise SystemExit
try:
from numpy import array, dot, eye, zeros, float32, uint32
except ImportError:
print("numpy missing. The GLCUBE example requires: pyopengl numpy")
raise SystemExit
# do we want to use the 'modern' OpenGL API or the old one?
# This example shows you how to do both.
USE_MODERN_GL = True
# Some simple data for a colored cube here we have the 3D point position
# and color for each corner. A list of indices describes each face, and a
# list of indices describes each edge.
CUBE_POINTS = (
(0.5, -0.5, -0.5),
(0.5, 0.5, -0.5),
(-0.5, 0.5, -0.5),
(-0.5, -0.5, -0.5),
(0.5, -0.5, 0.5),
(0.5, 0.5, 0.5),
(-0.5, -0.5, 0.5),
(-0.5, 0.5, 0.5),
)
# colors are 0-1 floating values
CUBE_COLORS = (
(1, 0, 0),
(1, 1, 0),
(0, 1, 0),
(0, 0, 0),
(1, 0, 1),
(1, 1, 1),
(0, 0, 1),
(0, 1, 1),
)
CUBE_QUAD_VERTS = (
(0, 1, 2, 3),
(3, 2, 7, 6),
(6, 7, 5, 4),
(4, 5, 1, 0),
(1, 5, 7, 2),
(4, 0, 3, 6),
)
CUBE_EDGES = (
(0, 1),
(0, 3),
(0, 4),
(2, 1),
(2, 3),
(2, 7),
(6, 3),
(6, 4),
(6, 7),
(5, 1),
(5, 4),
(5, 7),
)
def translate(matrix, x=0.0, y=0.0, z=0.0):
"""
Translate (move) a matrix in the x, y and z axes.
:param matrix: Matrix to translate.
:param x: direction and magnitude to translate in x axis. Defaults to 0.
:param y: direction and magnitude to translate in y axis. Defaults to 0.
:param z: direction and magnitude to translate in z axis. Defaults to 0.
:return: The translated matrix.
"""
translation_matrix = array(
[
[1.0, 0.0, 0.0, x],
[0.0, 1.0, 0.0, y],
[0.0, 0.0, 1.0, z],
[0.0, 0.0, 0.0, 1.0],
],
dtype=matrix.dtype,
).T
matrix[...] = dot(matrix, translation_matrix)
return matrix
def frustum(left, right, bottom, top, znear, zfar):
"""
Build a perspective matrix from the clipping planes, or camera 'frustrum'
volume.
:param left: left position of the near clipping plane.
:param right: right position of the near clipping plane.
:param bottom: bottom position of the near clipping plane.
:param top: top position of the near clipping plane.
:param znear: z depth of the near clipping plane.
:param zfar: z depth of the far clipping plane.
:return: A perspective matrix.
"""
perspective_matrix = zeros((4, 4), dtype=float32)
perspective_matrix[0, 0] = +2.0 * znear / (right - left)
perspective_matrix[2, 0] = (right + left) / (right - left)
perspective_matrix[1, 1] = +2.0 * znear / (top - bottom)
perspective_matrix[3, 1] = (top + bottom) / (top - bottom)
perspective_matrix[2, 2] = -(zfar + znear) / (zfar - znear)
perspective_matrix[3, 2] = -2.0 * znear * zfar / (zfar - znear)
perspective_matrix[2, 3] = -1.0
return perspective_matrix
def perspective(fovy, aspect, znear, zfar):
"""
Build a perspective matrix from field of view, aspect ratio and depth
planes.
:param fovy: the field of view angle in the y axis.
:param aspect: aspect ratio of our view port.
:param znear: z depth of the near clipping plane.
:param zfar: z depth of the far clipping plane.
:return: A perspective matrix.
"""
h = math.tan(fovy / 360.0 * math.pi) * znear
w = h * aspect
return frustum(-w, w, -h, h, znear, zfar)
def rotate(matrix, angle, x, y, z):
"""
Rotate a matrix around an axis.
:param matrix: The matrix to rotate.
:param angle: The angle to rotate by.
:param x: x of axis to rotate around.
:param y: y of axis to rotate around.
:param z: z of axis to rotate around.
:return: The rotated matrix
"""
angle = math.pi * angle / 180
c, s = math.cos(angle), math.sin(angle)
n = math.sqrt(x * x + y * y + z * z)
x, y, z = x / n, y / n, z / n
cx, cy, cz = (1 - c) * x, (1 - c) * y, (1 - c) * z
rotation_matrix = array(
[
[cx * x + c, cy * x - z * s, cz * x + y * s, 0],
[cx * y + z * s, cy * y + c, cz * y - x * s, 0],
[cx * z - y * s, cy * z + x * s, cz * z + c, 0],
[0, 0, 0, 1],
],
dtype=matrix.dtype,
).T
matrix[...] = dot(matrix, rotation_matrix)
return matrix
class Rotation:
"""
Data class that stores rotation angles in three axes.
"""
def __init__(self):
self.theta = 20
self.phi = 40
self.psi = 25
def drawcube_old():
"""
Draw the cube using the old open GL methods pre 3.2 core context.
"""
allpoints = list(zip(CUBE_POINTS, CUBE_COLORS))
GL.glBegin(GL.GL_QUADS)
for face in CUBE_QUAD_VERTS:
for vert in face:
pos, color = allpoints[vert]
GL.glColor3fv(color)
GL.glVertex3fv(pos)
GL.glEnd()
GL.glColor3f(1.0, 1.0, 1.0)
GL.glBegin(GL.GL_LINES)
for line in CUBE_EDGES:
for vert in line:
pos, color = allpoints[vert]
GL.glVertex3fv(pos)
GL.glEnd()
def init_gl_stuff_old():
"""
Initialise open GL, prior to core context 3.2
"""
GL.glEnable(GL.GL_DEPTH_TEST) # use our zbuffer
# setup the camera
GL.glMatrixMode(GL.GL_PROJECTION)
GL.glLoadIdentity()
GLU.gluPerspective(45.0, 640 / 480.0, 0.1, 100.0) # setup lens
GL.glTranslatef(0.0, 0.0, -3.0) # move back
GL.glRotatef(25, 1, 0, 0) # orbit higher
def init_gl_modern(display_size):
"""
Initialise open GL in the 'modern' open GL style for open GL versions
greater than 3.1.
:param display_size: Size of the window/viewport.
"""
# Create shaders
# --------------------------------------
vertex_code = """
#version 150
uniform mat4 model;
uniform mat4 view;
uniform mat4 projection;
uniform vec4 colour_mul;
uniform vec4 colour_add;
in vec4 vertex_colour; // vertex colour in
in vec3 vertex_position;
out vec4 vertex_color_out; // vertex colour out
void main()
{
vertex_color_out = (colour_mul * vertex_colour) + colour_add;
gl_Position = projection * view * model * vec4(vertex_position, 1.0);
}
"""
fragment_code = """
#version 150
in vec4 vertex_color_out; // vertex colour from vertex shader
out vec4 fragColor;
void main()
{
fragColor = vertex_color_out;
}
"""
program = GL.glCreateProgram()
vertex = GL.glCreateShader(GL.GL_VERTEX_SHADER)
fragment = GL.glCreateShader(GL.GL_FRAGMENT_SHADER)
GL.glShaderSource(vertex, vertex_code)
GL.glCompileShader(vertex)
# this logs issues the shader compiler finds.
log = GL.glGetShaderInfoLog(vertex)
if isinstance(log, bytes):
log = log.decode()
for line in log.split("\n"):
print(line)
GL.glAttachShader(program, vertex)
GL.glShaderSource(fragment, fragment_code)
GL.glCompileShader(fragment)
# this logs issues the shader compiler finds.
log = GL.glGetShaderInfoLog(fragment)
if isinstance(log, bytes):
log = log.decode()
for line in log.split("\n"):
print(line)
GL.glAttachShader(program, fragment)
GL.glValidateProgram(program)
GL.glLinkProgram(program)
GL.glDetachShader(program, vertex)
GL.glDetachShader(program, fragment)
GL.glUseProgram(program)
# Create vertex buffers and shader constants
# ------------------------------------------
# Cube Data
vertices = zeros(
8, [("vertex_position", float32, 3), ("vertex_colour", float32, 4)]
)
vertices["vertex_position"] = [
[1, 1, 1],
[-1, 1, 1],
[-1, -1, 1],
[1, -1, 1],
[1, -1, -1],
[1, 1, -1],
[-1, 1, -1],
[-1, -1, -1],
]
vertices["vertex_colour"] = [
[0, 1, 1, 1],
[0, 0, 1, 1],
[0, 0, 0, 1],
[0, 1, 0, 1],
[1, 1, 0, 1],
[1, 1, 1, 1],
[1, 0, 1, 1],
[1, 0, 0, 1],
]
filled_cube_indices = array(
[
0,
1,
2,
0,
2,
3,
0,
3,
4,
0,
4,
5,
0,
5,
6,
0,
6,
1,
1,
6,
7,
1,
7,
2,
7,
4,
3,
7,
3,
2,
4,
7,
6,
4,
6,
5,
],
dtype=uint32,
)
outline_cube_indices = array(
[0, 1, 1, 2, 2, 3, 3, 0, 4, 7, 7, 6, 6, 5, 5, 4, 0, 5, 1, 6, 2, 7, 3, 4],
dtype=uint32,
)
shader_data = {"buffer": {}, "constants": {}}
GL.glBindVertexArray(GL.glGenVertexArrays(1)) # Have to do this first
shader_data["buffer"]["vertices"] = GL.glGenBuffers(1)
GL.glBindBuffer(GL.GL_ARRAY_BUFFER, shader_data["buffer"]["vertices"])
GL.glBufferData(GL.GL_ARRAY_BUFFER, vertices.nbytes, vertices, GL.GL_DYNAMIC_DRAW)
stride = vertices.strides[0]
offset = ctypes.c_void_p(0)
loc = GL.glGetAttribLocation(program, "vertex_position")
GL.glEnableVertexAttribArray(loc)
GL.glVertexAttribPointer(loc, 3, GL.GL_FLOAT, False, stride, offset)
offset = ctypes.c_void_p(vertices.dtype["vertex_position"].itemsize)
loc = GL.glGetAttribLocation(program, "vertex_colour")
GL.glEnableVertexAttribArray(loc)
GL.glVertexAttribPointer(loc, 4, GL.GL_FLOAT, False, stride, offset)
shader_data["buffer"]["filled"] = GL.glGenBuffers(1)
GL.glBindBuffer(GL.GL_ELEMENT_ARRAY_BUFFER, shader_data["buffer"]["filled"])
GL.glBufferData(
GL.GL_ELEMENT_ARRAY_BUFFER,
filled_cube_indices.nbytes,
filled_cube_indices,
GL.GL_STATIC_DRAW,
)
shader_data["buffer"]["outline"] = GL.glGenBuffers(1)
GL.glBindBuffer(GL.GL_ELEMENT_ARRAY_BUFFER, shader_data["buffer"]["outline"])
GL.glBufferData(
GL.GL_ELEMENT_ARRAY_BUFFER,
outline_cube_indices.nbytes,
outline_cube_indices,
GL.GL_STATIC_DRAW,
)
shader_data["constants"]["model"] = GL.glGetUniformLocation(program, "model")
GL.glUniformMatrix4fv(shader_data["constants"]["model"], 1, False, eye(4))
shader_data["constants"]["view"] = GL.glGetUniformLocation(program, "view")
view = translate(eye(4), z=-6)
GL.glUniformMatrix4fv(shader_data["constants"]["view"], 1, False, view)
shader_data["constants"]["projection"] = GL.glGetUniformLocation(
program, "projection"
)
GL.glUniformMatrix4fv(shader_data["constants"]["projection"], 1, False, eye(4))
# This colour is multiplied with the base vertex colour in producing
# the final output
shader_data["constants"]["colour_mul"] = GL.glGetUniformLocation(
program, "colour_mul"
)
GL.glUniform4f(shader_data["constants"]["colour_mul"], 1, 1, 1, 1)
# This colour is added on to the base vertex colour in producing
# the final output
shader_data["constants"]["colour_add"] = GL.glGetUniformLocation(
program, "colour_add"
)
GL.glUniform4f(shader_data["constants"]["colour_add"], 0, 0, 0, 0)
# Set GL drawing data
# -------------------
GL.glClearColor(0, 0, 0, 0)
GL.glPolygonOffset(1, 1)
GL.glEnable(GL.GL_LINE_SMOOTH)
GL.glBlendFunc(GL.GL_SRC_ALPHA, GL.GL_ONE_MINUS_SRC_ALPHA)
GL.glDepthFunc(GL.GL_LESS)
GL.glHint(GL.GL_LINE_SMOOTH_HINT, GL.GL_NICEST)
GL.glLineWidth(1.0)
projection = perspective(45.0, display_size[0] / float(display_size[1]), 2.0, 100.0)
GL.glUniformMatrix4fv(shader_data["constants"]["projection"], 1, False, projection)
return shader_data, filled_cube_indices, outline_cube_indices
def draw_cube_modern(shader_data, filled_cube_indices, outline_cube_indices, rotation):
"""
Draw a cube in the 'modern' Open GL style, for post 3.1 versions of
open GL.
:param shader_data: compile vertex & pixel shader data for drawing a cube.
:param filled_cube_indices: the indices to draw the 'filled' cube.
:param outline_cube_indices: the indices to draw the 'outline' cube.
:param rotation: the current rotations to apply.
"""
GL.glClear(GL.GL_COLOR_BUFFER_BIT | GL.GL_DEPTH_BUFFER_BIT)
# Filled cube
GL.glDisable(GL.GL_BLEND)
GL.glEnable(GL.GL_DEPTH_TEST)
GL.glEnable(GL.GL_POLYGON_OFFSET_FILL)
GL.glUniform4f(shader_data["constants"]["colour_mul"], 1, 1, 1, 1)
GL.glUniform4f(shader_data["constants"]["colour_add"], 0, 0, 0, 0.0)
GL.glBindBuffer(GL.GL_ELEMENT_ARRAY_BUFFER, shader_data["buffer"]["filled"])
GL.glDrawElements(
GL.GL_TRIANGLES, len(filled_cube_indices), GL.GL_UNSIGNED_INT, None
)
# Outlined cube
GL.glDisable(GL.GL_POLYGON_OFFSET_FILL)
GL.glEnable(GL.GL_BLEND)
GL.glUniform4f(shader_data["constants"]["colour_mul"], 0, 0, 0, 0.0)
GL.glUniform4f(shader_data["constants"]["colour_add"], 1, 1, 1, 1.0)
GL.glBindBuffer(GL.GL_ELEMENT_ARRAY_BUFFER, shader_data["buffer"]["outline"])
GL.glDrawElements(GL.GL_LINES, len(outline_cube_indices), GL.GL_UNSIGNED_INT, None)
# Rotate cube
# rotation.theta += 1.0 # degrees
rotation.phi += 1.0 # degrees
# rotation.psi += 1.0 # degrees
model = eye(4, dtype=float32)
# rotate(model, rotation.theta, 0, 0, 1)
rotate(model, rotation.phi, 0, 1, 0)
rotate(model, rotation.psi, 1, 0, 0)
GL.glUniformMatrix4fv(shader_data["constants"]["model"], 1, False, model)
def main():
"""run the demo """
# initialize pygame and setup an opengl display
pg.init()
gl_version = (3, 0) # GL Version number (Major, Minor)
if USE_MODERN_GL:
gl_version = (3, 2) # GL Version number (Major, Minor)
# By setting these attributes we can choose which Open GL Profile
# to use, profiles greater than 3.2 use a different rendering path
pg.display.gl_set_attribute(pg.GL_CONTEXT_MAJOR_VERSION, gl_version[0])
pg.display.gl_set_attribute(pg.GL_CONTEXT_MINOR_VERSION, gl_version[1])
pg.display.gl_set_attribute(
pg.GL_CONTEXT_PROFILE_MASK, pg.GL_CONTEXT_PROFILE_CORE
)
fullscreen = False # start in windowed mode
display_size = (640, 480)
pg.display.set_mode(display_size, pg.OPENGL | pg.DOUBLEBUF | pg.RESIZABLE)
if USE_MODERN_GL:
gpu, f_indices, o_indices = init_gl_modern(display_size)
rotation = Rotation()
else:
init_gl_stuff_old()
going = True
while going:
# check for quit'n events
events = pg.event.get()
for event in events:
if event.type == pg.QUIT or (
event.type == pg.KEYDOWN and event.key == pg.K_ESCAPE
):
going = False
elif event.type == pg.KEYDOWN and event.key == pg.K_f:
if not fullscreen:
print("Changing to FULLSCREEN")
pg.display.set_mode(
(640, 480), pg.OPENGL | pg.DOUBLEBUF | pg.FULLSCREEN
)
else:
print("Changing to windowed mode")
pg.display.set_mode((640, 480), pg.OPENGL | pg.DOUBLEBUF)
fullscreen = not fullscreen
if gl_version[0] >= 4 or (gl_version[0] == 3 and gl_version[1] >= 2):
gpu, f_indices, o_indices = init_gl_modern(display_size)
rotation = Rotation()
else:
init_gl_stuff_old()
if USE_MODERN_GL:
draw_cube_modern(gpu, f_indices, o_indices, rotation)
else:
# clear screen and move camera
GL.glClear(GL.GL_COLOR_BUFFER_BIT | GL.GL_DEPTH_BUFFER_BIT)
# orbit camera around by 1 degree
GL.glRotatef(1, 0, 1, 0)
drawcube_old()
pg.display.flip()
pg.time.wait(10)
if __name__ == "__main__":
main()
| {
"pile_set_name": "Github"
} |
// Copyright 2019 The Prometheus Authors
// 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 writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package procfs
import (
"bufio"
"bytes"
"strconv"
"strings"
"github.com/prometheus/procfs/internal/util"
)
// CPUInfo contains general information about a system CPU found in /proc/cpuinfo
type CPUInfo struct {
Processor uint
VendorID string
CPUFamily string
Model string
ModelName string
Stepping string
Microcode string
CPUMHz float64
CacheSize string
PhysicalID string
Siblings uint
CoreID string
CPUCores uint
APICID string
InitialAPICID string
FPU string
FPUException string
CPUIDLevel uint
WP string
Flags []string
Bugs []string
BogoMips float64
CLFlushSize uint
CacheAlignment uint
AddressSizes string
PowerManagement string
}
// CPUInfo returns information about current system CPUs.
// See https://www.kernel.org/doc/Documentation/filesystems/proc.txt
func (fs FS) CPUInfo() ([]CPUInfo, error) {
data, err := util.ReadFileNoStat(fs.proc.Path("cpuinfo"))
if err != nil {
return nil, err
}
return parseCPUInfo(data)
}
// parseCPUInfo parses data from /proc/cpuinfo
func parseCPUInfo(info []byte) ([]CPUInfo, error) {
cpuinfo := []CPUInfo{}
i := -1
scanner := bufio.NewScanner(bytes.NewReader(info))
for scanner.Scan() {
line := scanner.Text()
if strings.TrimSpace(line) == "" {
continue
}
field := strings.SplitN(line, ": ", 2)
switch strings.TrimSpace(field[0]) {
case "processor":
cpuinfo = append(cpuinfo, CPUInfo{}) // start of the next processor
i++
v, err := strconv.ParseUint(field[1], 0, 32)
if err != nil {
return nil, err
}
cpuinfo[i].Processor = uint(v)
case "vendor_id":
cpuinfo[i].VendorID = field[1]
case "cpu family":
cpuinfo[i].CPUFamily = field[1]
case "model":
cpuinfo[i].Model = field[1]
case "model name":
cpuinfo[i].ModelName = field[1]
case "stepping":
cpuinfo[i].Stepping = field[1]
case "microcode":
cpuinfo[i].Microcode = field[1]
case "cpu MHz":
v, err := strconv.ParseFloat(field[1], 64)
if err != nil {
return nil, err
}
cpuinfo[i].CPUMHz = v
case "cache size":
cpuinfo[i].CacheSize = field[1]
case "physical id":
cpuinfo[i].PhysicalID = field[1]
case "siblings":
v, err := strconv.ParseUint(field[1], 0, 32)
if err != nil {
return nil, err
}
cpuinfo[i].Siblings = uint(v)
case "core id":
cpuinfo[i].CoreID = field[1]
case "cpu cores":
v, err := strconv.ParseUint(field[1], 0, 32)
if err != nil {
return nil, err
}
cpuinfo[i].CPUCores = uint(v)
case "apicid":
cpuinfo[i].APICID = field[1]
case "initial apicid":
cpuinfo[i].InitialAPICID = field[1]
case "fpu":
cpuinfo[i].FPU = field[1]
case "fpu_exception":
cpuinfo[i].FPUException = field[1]
case "cpuid level":
v, err := strconv.ParseUint(field[1], 0, 32)
if err != nil {
return nil, err
}
cpuinfo[i].CPUIDLevel = uint(v)
case "wp":
cpuinfo[i].WP = field[1]
case "flags":
cpuinfo[i].Flags = strings.Fields(field[1])
case "bugs":
cpuinfo[i].Bugs = strings.Fields(field[1])
case "bogomips":
v, err := strconv.ParseFloat(field[1], 64)
if err != nil {
return nil, err
}
cpuinfo[i].BogoMips = v
case "clflush size":
v, err := strconv.ParseUint(field[1], 0, 32)
if err != nil {
return nil, err
}
cpuinfo[i].CLFlushSize = uint(v)
case "cache_alignment":
v, err := strconv.ParseUint(field[1], 0, 32)
if err != nil {
return nil, err
}
cpuinfo[i].CacheAlignment = uint(v)
case "address sizes":
cpuinfo[i].AddressSizes = field[1]
case "power management":
cpuinfo[i].PowerManagement = field[1]
}
}
return cpuinfo, nil
}
| {
"pile_set_name": "Github"
} |
/*
(c) 2014-2015 Glen Joseph Fernandes
<glenjofe -at- gmail.com>
Distributed under the Boost Software
License, Version 1.0.
http://boost.org/LICENSE_1_0.txt
*/
#ifndef BOOST_ALIGN_ALIGNED_DELETE_FORWARD_HPP
#define BOOST_ALIGN_ALIGNED_DELETE_FORWARD_HPP
namespace boost {
namespace alignment {
struct aligned_delete;
} /* .alignment */
} /* .boost */
#endif
| {
"pile_set_name": "Github"
} |
#!/bin/sh
# Clean up
if [ -d .git/modules/lol ]; then
echo "Warning: found old submodule directory .git/modules/lol"
exit 1
fi
# Check that the repository is properly set up
if [ ! -x "./src/3rdparty/lolengine/bootstrap" ]; then
cat << EOF
Error: cannot execute src/3rdparty/lolengine/bootstrap
Did you configure the Lol Engine submodule? The following may help:
git submodule update --init --recursive
EOF
exit 1
fi
# Bootstrap this project first, using the Lol Engine script
./src/3rdparty/lolengine/bootstrap
# Then bootstrap Lol Engine itself
(cd src/3rdparty/lolengine && ./bootstrap)
| {
"pile_set_name": "Github"
} |
/* SystemJS module definition */
declare var module: NodeModule;
interface NodeModule {
id: string;
}
declare module '*.json' {
const value: any;
export default value;
}
| {
"pile_set_name": "Github"
} |
/*
* This file is part of WebLookAndFeel library.
*
* WebLookAndFeel library 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 3 of the License, or
* (at your option) any later version.
*
* WebLookAndFeel library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with WebLookAndFeel library. If not, see <http://www.gnu.org/licenses/>.
*/
package com.alee.extended.statusbar;
import com.alee.api.annotations.NotNull;
import com.alee.managers.style.AbstractComponentDescriptor;
import com.alee.managers.style.StyleId;
/**
* Abstract descriptor for {@link WebStatusBar} component.
* Extend this class for creating custom {@link WebStatusBar} descriptors.
*
* @param <C> {@link WebStatusBar} type
* @param <U> base {@link WStatusBarUI} type
* @param <P> {@link IStatusBarPainter} type
* @author Mikle Garin
* @see <a href="https://github.com/mgarin/weblaf/wiki/How-to-use-StyleManager">How to use StyleManager</a>
* @see com.alee.managers.style.StyleManager
* @see com.alee.managers.style.StyleManager#registerComponentDescriptor(com.alee.managers.style.ComponentDescriptor)
* @see com.alee.managers.style.StyleManager#unregisterComponentDescriptor(com.alee.managers.style.ComponentDescriptor)
*/
public abstract class AbstractStatusBarDescriptor<C extends WebStatusBar, U extends WStatusBarUI, P extends IStatusBarPainter>
extends AbstractComponentDescriptor<C, U, P>
{
/**
* Constructs new {@link AbstractStatusBarDescriptor}.
*
* @param id {@link WebStatusBar} identifier
* @param componentClass {@link WebStatusBar} {@link Class}
* @param uiClassId {@link WStatusBarUI} {@link Class} identifier
* @param baseUIClass base {@link WStatusBarUI} {@link Class} applicable to {@link WebStatusBar}
* @param uiClass {@link WStatusBarUI} {@link Class} used for {@link WebStatusBar} by default
* @param painterInterface {@link IStatusBarPainter} interface {@link Class}
* @param painterClass {@link IStatusBarPainter} implementation {@link Class}
* @param painterAdapterClass adapter for {@link IStatusBarPainter}
* @param defaultStyleId {@link WebStatusBar} default {@link StyleId}
*/
public AbstractStatusBarDescriptor ( @NotNull final String id, @NotNull final Class<C> componentClass, @NotNull final String uiClassId,
@NotNull final Class<U> baseUIClass, @NotNull final Class<? extends U> uiClass,
@NotNull final Class<P> painterInterface, @NotNull final Class<? extends P> painterClass,
@NotNull final Class<? extends P> painterAdapterClass, @NotNull final StyleId defaultStyleId )
{
super ( id, componentClass, uiClassId, baseUIClass, uiClass, painterInterface, painterClass, painterAdapterClass, defaultStyleId );
}
} | {
"pile_set_name": "Github"
} |
config BR2_PACKAGE_FLAC
bool "flac"
depends on BR2_USE_WCHAR
help
FLAC is an Open Source lossless audio codec.
http://flac.sourceforge.net/
comment "flac needs a toolchain w/ wchar"
depends on !BR2_USE_WCHAR
| {
"pile_set_name": "Github"
} |
# LICR TFBS wrangler: Venkat)
# Notes:
# - Track Long Label:Histone Modificiations by ChIP-seq from ENCODE/LICR
# - Track Short Label: LICR Histone
# - View Long Labels: [cell] [factor] Histone Modifications by ChIP-seq [view] from ENCODE/LICR
# - cellType Order: Ordering is alphabetical
# - Short Labels:
# Template: [cell] [factor] [view]
# - Cell: Abbreviations for cells
# - Cerebellum = Crbellum
# - Bone Marrow = BM
# - Factor: Abbreviations for factor
# - Views: For consistency sake view will be two letters (Optional if there is room.)
# - Peaks = Pk
# - Signal = Sg
# - Default Tracks on: All factors and Cell Types except inputs
# - Display matrix:
# - Dimension Y - Factor
# - factor Order: Ordering is based on Histone Number then numerically and alphabetaclly. Numerically 09 before 12.
# - Dimension X - Cell Type
# - cellType Order: Ordering is based on tier and alphabetical within a tier.
# - View default settings:
# - Peaks: dense
# - Signal: full
track wgEncodeLicrHistone
compositeTrack on
shortLabel LICR Histone
longLabel Histone Modifications by ChIP-seq from ENCODE/LICR
group regulation
subGroup1 view Views Peaks=Peaks Signal=Signal
subGroup2 cellType Cell_Line 1BMARROW=Bone_Marrow 1BMDM=Bone_Marrow_Derived_Macrophage BAT=Brown_Adipose_Tissue CBELLUM=Cerebellum CORTEX=Cortex ESB4=ES-Bruce4 HEART=Heart KIDNEY=Kidney LIMB=Limb LIVER=Liver LUNG=Lung MEF=MEF MEL=MEL OLFACT=Olfactory_Bulb PLAC=Placenta SMINT=Small_Intestine SPLEEN=Spleen TESTIS=Testis THYMUS=Thymus WBRAIN=Whole_Brain
subGroup3 factor Factor H3K04ME1=H3K4me1 H3K04ME3=H3K4me3 H3K27ME3=H3K27me3 H3K36ME3=H3K36me3 H3K79ME2=H3K79me2 H3K09AC=H3K9ac H3K27AC=H3K27ac INPUT=Input
subGroup4 sex Sex M=M F=F U=U
subGroup5 age Age 1ADULT8WKS=Adult_8_weeks 2ADULT24WKS=Adult_24_weeks E0=Embryonic_day_0 E14HALF=Embryonic_day_14.5 IMMORTAL=Immortal_cells
subGroup6 strain Strain C57BL6=C57BL/6
subGroup7 control Control STD=std
dimensions dimensionX=cellType dimensionY=factor dimensionA=age
dimensionAchecked 1ADULT8WKS,IMMORTAL
filterComposite dimensionA=multi
sortOrder cellType=+ factor=+ view=+ age=+
fileSortOrder cell=Cell_Line antibody=Antibody<BR>Target sex=Sex age=Age replicate=Replicate view=View dccAccession=UCSC_Accession geoSeriesAccession=GEO_Accession fileSize=Size fileType=File_Type dateSubmitted=Submitted dateUnrestricted=RESTRICTED<BR>Until
controlledVocabulary encode/cv.ra cellType=cell factor=antibody sex=sex age=age strain=strain control=control:wq
dragAndDrop subTracks
visibilityViewDefaults Peaks=dense Signal=full
priority 0
type bed 3
wgEncode 1
noInherit on
html wgEncodeLicrHistone.release2
#####Peak Tracks###########
track wgEncodeLicrHistoneViewPeaks
shortLabel Peaks
view Peaks
visibility pack
#viewUi on
subTrack wgEncodeLicrHistone
signalFilter 0
signalFilterLimits 0:125
scoreFilterLimits 1:1000
scoreFilter 0
scoreMin 0
track wgEncodeLicrHistoneBmarrowH3k4me1MAdult8wksC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks off
shortLabel BM 8w H3K4m1
longLabel BoneMarrow 8w H3K4me1 Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=1ADULT8WKS factor=H3K04ME1 cellType=1BMARROW control=STD sex=M strain=C57BL6
type broadPeak
color 86,180,233
# subId=3387 dateSubmitted=2011-01-19
track wgEncodeLicrHistoneBmarrowH3k4me3MAdult8wksC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks off
shortLabel BM 8w H3K4m3
longLabel BoneMarrow 8w H3K4me3 Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=1ADULT8WKS factor=H3K04ME3 cellType=1BMARROW control=STD sex=M strain=C57BL6
type broadPeak
color 86,180,233
# subId=3388 dateSubmitted=2011-01-19
track wgEncodeLicrHistoneCbellumH3k4me3MAdult8wksC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks
shortLabel Cb 8w H3K4m3
longLabel Cerebellum 8w H3K4me3 Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=1ADULT8WKS factor=H3K04ME3 cellType=CBELLUM control=STD sex=M strain=C57BL6
type broadPeak
color 105,105,105
# subId=3394 dateSubmitted=2011-01-20
track wgEncodeLicrHistoneCortexH3k4me1MAdult8wksC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks off
shortLabel Crx 8w H3K4m1
longLabel Cortex 8w H3K4me1 Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=1ADULT8WKS factor=H3K04ME1 cellType=CORTEX control=STD sex=M strain=C57BL6
type broadPeak
color 105,105,105
# subId=3396 dateSubmitted=2011-01-19
track wgEncodeLicrHistoneCortexH3k4me3MAdult8wksC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks off
shortLabel Crx 8w H3K4m3
longLabel Cortex 8w H3K4me3 Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=1ADULT8WKS factor=H3K04ME3 cellType=CORTEX control=STD sex=M strain=C57BL6
type broadPeak
color 105,105,105
# subId=3397 dateSubmitted=2011-01-19
track wgEncodeLicrHistoneCbellumH3k4me1MAdult8wksC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks
shortLabel Cb 8w H3K4m1
longLabel Cerebellum 8w H3K4me1 Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=1ADULT8WKS factor=H3K04ME1 cellType=CBELLUM control=STD sex=M strain=C57BL6
type broadPeak
color 105,105,105
# subId=3812 dateSubmitted=2011-03-08
track wgEncodeLicrHistoneHeartH3k4me1MAdult8wksC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks
shortLabel Ht 8w H3K4m1
longLabel Heart 8w H3K4me1 Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=1ADULT8WKS factor=H3K04ME1 cellType=HEART control=STD sex=M strain=C57BL6
type broadPeak
color 153,38,0
# subId=3885 dateSubmitted=2011-04-12
track wgEncodeLicrHistoneKidneyH3k4me1MAdult8wksC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks off
shortLabel Kdy 8w H3K4m1
longLabel Kidney 8w H3K4me1 Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=1ADULT8WKS factor=H3K04ME1 cellType=KIDNEY control=STD sex=M strain=C57BL6
type broadPeak
color 204,121,167
# subId=3879 dateSubmitted=2011-04-07
track wgEncodeLicrHistoneLiverH3k4me1MAdult8wksC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks
shortLabel Lv 8w H3K4m1
longLabel Liver 8w H3K4me1 Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=1ADULT8WKS factor=H3K04ME1 cellType=LIVER control=STD sex=M strain=C57BL6
type broadPeak
color 230,159,0
# subId=3881 dateSubmitted=2011-04-12
track wgEncodeLicrHistoneLiverH3k4me3MAdult8wksC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks
shortLabel Lv 8w H3K4m3
longLabel Liver 8w H3K4me3 Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=1ADULT8WKS factor=H3K04ME3 cellType=LIVER control=STD sex=M strain=C57BL6
type broadPeak
color 230,159,0
# subId=3882 dateSubmitted=2011-04-12
track wgEncodeLicrHistoneKidneyH3k4me3MAdult8wksC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks off
shortLabel Kdy 8w H3K4m3
longLabel Kidney 8w H3K4me3 Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=1ADULT8WKS factor=H3K04ME3 cellType=KIDNEY control=STD sex=M strain=C57BL6
type broadPeak
color 204,121,167
# subId=3003 dateSubmitted=2011-04-12
track wgEncodeLicrHistoneHeartH3k4me3MAdult8wksC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks
shortLabel Ht 8w H3K4m3
longLabel Heart 8w H3K4me3 Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=1ADULT8WKS factor=H3K04ME3 cellType=HEART control=STD sex=M strain=C57BL6
type broadPeak
color 153,38,0
# subId=2790 dateSubmitted=2011-04-12
track wgEncodeLicrHistoneLungH3k4me3MAdult8wksC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks off
shortLabel Ln 8w H3K4m3
longLabel Lung 8w H3K4me3 Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=1ADULT8WKS factor=H3K04ME3 cellType=LUNG control=STD sex=M strain=C57BL6
type broadPeak
# subId=3887 dateSubmitted=2011-04-15
track wgEncodeLicrHistoneLungH3k4me1MAdult8wksC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks off
shortLabel Ln 8w H3K4m1
longLabel Lung 8w H3K4me1 Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=1ADULT8WKS factor=H3K04ME1 cellType=LUNG control=STD sex=M strain=C57BL6
type broadPeak
# subId=3886 dateSubmitted=2011-04-15
track wgEncodeLicrHistoneMefH3k4me3MAdult8wksC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks off
shortLabel MEF 8w H3K4m3
longLabel MEF 8w H3K4me3 Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=1ADULT8WKS factor=H3K04ME3 cellType=MEF control=STD sex=M strain=C57BL6
type broadPeak
color 65,105,225
# subId=4005 dateSubmitted=2011-04-29
track wgEncodeLicrHistoneMefH3k4me1MAdult8wksC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks off
shortLabel MEF 8w H3K4m1
longLabel MEF 8w H3K4me1 Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=1ADULT8WKS factor=H3K04ME1 cellType=MEF control=STD sex=M strain=C57BL6
type broadPeak
color 65,105,225
# subId=4001 dateSubmitted=2011-04-28
track wgEncodeLicrHistoneSpleenH3k4me3MAdult8wksC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks off
shortLabel Sp 8w H3K4m3
longLabel Spleen 8w H3K4me3 Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=1ADULT8WKS factor=H3K04ME3 cellType=SPLEEN control=STD sex=M strain=C57BL6
type broadPeak
color 86,180,233
# subId=4034 dateSubmitted=2011-05-02
track wgEncodeLicrHistoneSpleenH3k4me1MAdult8wksC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks off
shortLabel Sp 8w H3K4m1
longLabel Spleen 8w H3K4me1 Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=1ADULT8WKS factor=H3K04ME1 cellType=SPLEEN control=STD sex=M strain=C57BL6
type broadPeak
color 86,180,233
# subId=4033 dateSubmitted=2011-05-02
track wgEncodeLicrHistoneEsb4H3k4me3ME0C57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks off
shortLabel ESB4 E0 H3K4m3
longLabel ES-Bruce4 E0 H3K4me3 Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=E0 factor=H3K04ME3 cellType=ESB4 control=STD sex=M strain=C57BL6
type broadPeak
color 65,105,225
# subId=4045 dateSubmitted=2011-05-06
track wgEncodeLicrHistoneEsb4H3k4me1ME0C57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks off
shortLabel ESB4 E0 H3K4m1
longLabel ES-Bruce4 E0 H3K4me1 Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=E0 factor=H3K04ME1 cellType=ESB4 control=STD sex=M strain=C57BL6
type broadPeak
color 65,105,225
# subId=4044 dateSubmitted=2011-05-06
track wgEncodeLicrHistoneThymusH3k04me1MAdult8wksC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks off
shortLabel Thm 8w H3K4m1
longLabel Thymus 8w H3K4me1 Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=1ADULT8WKS factor=H3K04ME1 cellType=THYMUS control=STD sex=M strain=C57BL6
type broadPeak
color 86,180,233
# subId=5755 dateSubmitted=2012-02-16
track wgEncodeLicrHistoneThymusH3k04me3MAdult8wksC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks off
shortLabel Thm 8w H3K4m3
longLabel Thymus 8w H3K4me3 Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=1ADULT8WKS factor=H3K04ME3 cellType=THYMUS control=STD sex=M strain=C57BL6
type broadPeak
color 86,180,233
# subId=5756 dateSubmitted=2012-02-16
track wgEncodeLicrHistoneThymusH3k27acMAdult8wksC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks off
shortLabel Thm 8w H3K27a
longLabel Thymus 8w H3K27ac Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=1ADULT8WKS factor=H3K27AC cellType=THYMUS control=STD sex=M strain=C57BL6
type broadPeak
color 86,180,233
# subId=5754 dateSubmitted=2012-02-16
track wgEncodeLicrHistonePlacH3k04me3FAdult8wksC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks off
shortLabel Pt 8w H3K4m3
longLabel Placenta 8w H3K4me3 Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=1ADULT8WKS factor=H3K04ME3 cellType=PLAC control=STD sex=F strain=C57BL6
type broadPeak
color 153,38,0
# subId=5752 dateSubmitted=2012-02-16
track wgEncodeLicrHistonePlacH3k04me1FAdult8wksC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks off
shortLabel Pt 8w H3K4m1
longLabel Placenta 8w H3K4me1 Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=1ADULT8WKS factor=H3K04ME1 cellType=PLAC control=STD sex=F strain=C57BL6
type broadPeak
color 153,38,0
# subId=5751 dateSubmitted=2012-02-16
track wgEncodeLicrHistonePlacH3k27acFAdult8wksC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks off
shortLabel Pt 8w H3K27a
longLabel Placenta 8w H3K27ac Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=1ADULT8WKS factor=H3K27AC cellType=PLAC control=STD sex=F strain=C57BL6
type broadPeak
color 153,38,0
# subId=5750 dateSubmitted=2012-02-16
track wgEncodeLicrHistoneTestisH3k04me3MAdult8wksC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks off
shortLabel Ts 8w H3K4m3
longLabel Testis 8w H3K4me3 Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=1ADULT8WKS factor=H3K04ME3 cellType=TESTIS control=STD sex=M strain=C57BL6
type broadPeak
color 0,158,115
# subId=5739 dateSubmitted=2012-02-15
track wgEncodeLicrHistoneTestisH3k04me1MAdult8wksC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks off
shortLabel Ts 8w H3K4m1
longLabel Testis 8w H3K4me1 Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=1ADULT8WKS factor=H3K04ME1 cellType=TESTIS control=STD sex=M strain=C57BL6
type broadPeak
color 0,158,115
# subId=5738 dateSubmitted=2012-02-15
track wgEncodeLicrHistoneTestisH3k27acMAdult8wksC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks off
shortLabel Ts 8w H3K27a
longLabel Testis 8w H3K27ac Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=1ADULT8WKS factor=H3K27AC cellType=TESTIS control=STD sex=M strain=C57BL6
type broadPeak
color 0,158,115
# subId=5737 dateSubmitted=2012-02-15
track wgEncodeLicrHistoneSpleenH3k27acMAdult8wksC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks off
shortLabel Sp 8w H3K27a
longLabel Spleen 8w H3K27ac Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=1ADULT8WKS factor=H3K27AC cellType=SPLEEN control=STD sex=M strain=C57BL6
type broadPeak
color 86,180,233
# subId=5735 dateSubmitted=2012-02-15
track wgEncodeLicrHistoneOlfactH3k04me3MAdult8wksC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks off
shortLabel OB 8w H3K4m3
longLabel OlfactBulb 8w H3K4me3 Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=1ADULT8WKS factor=H3K04ME3 cellType=OLFACT control=STD sex=M strain=C57BL6
type broadPeak
color 105,105,105
# subId=5733 dateSubmitted=2012-02-15
track wgEncodeLicrHistoneOlfactH3k04me1MAdult8wksC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks off
shortLabel OB 8w H3K4m1
longLabel OlfactBulb 8w H3K4me1 Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=1ADULT8WKS factor=H3K04ME1 cellType=OLFACT control=STD sex=M strain=C57BL6
type broadPeak
color 105,105,105
# subId=5732 dateSubmitted=2012-02-15
track wgEncodeLicrHistoneOlfactH3k27acMAdult8wksC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks off
shortLabel OB 8w H3K27a
longLabel OlfactBulb 8w H3K27ac Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=1ADULT8WKS factor=H3K27AC cellType=OLFACT control=STD sex=M strain=C57BL6
type broadPeak
color 105,105,105
# subId=5731 dateSubmitted=2012-02-15
track wgEncodeLicrHistoneEsb4H3k27acME0C57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks off
shortLabel ESB4 E0 H3K27a
longLabel ES-Bruce4 E0 H3K27ac Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=E0 factor=H3K27AC cellType=ESB4 control=STD sex=M strain=C57BL6
type broadPeak
color 65,105,225
# subId=5729 dateSubmitted=2012-02-15
track wgEncodeLicrHistoneMefH3k27acMAdult8wksC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks off
shortLabel MEF 8w H3K27a
longLabel MEF 8w H3K27ac Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=1ADULT8WKS factor=H3K27AC cellType=MEF control=STD sex=M strain=C57BL6
type broadPeak
color 65,105,225
# subId=5728 dateSubmitted=2012-02-15
track wgEncodeLicrHistoneLiverH3k27acMAdult8wksC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks
shortLabel Lv 8w H3K27a
longLabel Liver 8w H3K27ac Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=1ADULT8WKS factor=H3K27AC cellType=LIVER control=STD sex=M strain=C57BL6
type broadPeak
color 230,159,0
# subId=5727 dateSubmitted=2012-02-15
track wgEncodeLicrHistoneKidneyH3k27acMAdult8wksC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks off
shortLabel Kdy 8w H3K27a
longLabel Kidney 8w H3K27ac Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=1ADULT8WKS factor=H3K27AC cellType=KIDNEY control=STD sex=M strain=C57BL6
type broadPeak
color 204,121,167
# subId=5726 dateSubmitted=2012-02-15
track wgEncodeLicrHistoneSmintH3k04me3MAdult8wksC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks off
shortLabel SI 8w H3K4m3
longLabel SIntestine 8w H3K4me3 Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=1ADULT8WKS factor=H3K04ME3 cellType=SMINT control=STD sex=M strain=C57BL6
type broadPeak
color 230,159,0
# subId=5723 dateSubmitted=2012-02-15
track wgEncodeLicrHistoneSmintH3k04me1MAdult8wksC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks off
shortLabel SI 8w H3K4m1
longLabel SIntestine 8w H3K4me1 Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=1ADULT8WKS factor=H3K04ME1 cellType=SMINT control=STD sex=M strain=C57BL6
type broadPeak
color 230,159,0
# subId=5722 dateSubmitted=2012-02-15
track wgEncodeLicrHistoneSmintH3k27acMAdult8wksC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks off
shortLabel SI 8w H3K27a
longLabel SIntestine 8w H3K27ac Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=1ADULT8WKS factor=H3K27AC cellType=SMINT control=STD sex=M strain=C57BL6
type broadPeak
color 230,159,0
# subId=5721 dateSubmitted=2012-02-15
track wgEncodeLicrHistoneHeartH3k27acMAdult8wksC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks
shortLabel Ht 8w H3K27a
longLabel Heart 8w H3K27ac Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=1ADULT8WKS factor=H3K27AC cellType=HEART control=STD sex=M strain=C57BL6
type broadPeak
color 153,38,0
# subId=5719 dateSubmitted=2012-02-15
track wgEncodeLicrHistoneLimbH3k04me1UE14halfC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks off
shortLabel Lb 14.5 H3K4m1
longLabel Limb E14.5 H3K4me1 Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=E14HALF factor=H3K04ME1 cellType=LIMB control=STD sex=U strain=C57BL6
type broadPeak
color 102,50,200
# subId=5667 dateSubmitted=2012-02-14
track wgEncodeLicrHistoneLimbH3k04me3UE14halfC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks off
shortLabel Lb 14.5 H3K4m3
longLabel Limb E14.5 H3K4me3 Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=E14HALF factor=H3K04ME3 cellType=LIMB control=STD sex=U strain=C57BL6
type broadPeak
color 102,50,200
# subId=5668 dateSubmitted=2012-02-14
track wgEncodeLicrHistoneLimbH3k27acUE14halfC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks off
shortLabel Lb 14.5 H3K27a
longLabel Limb E14.5 H3K27ac Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=E14HALF factor=H3K27AC cellType=LIMB control=STD sex=U strain=C57BL6
type broadPeak
color 102,50,200
# subId=5666 dateSubmitted=2012-02-14
track wgEncodeLicrHistoneHeartH3k04me1UE14halfC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks off
shortLabel Ht 14.5 H3K4m1
longLabel Heart E14.5 H3K4me1 Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=E14HALF factor=H3K04ME1 cellType=HEART control=STD sex=U strain=C57BL6
type broadPeak
color 153,38,0
# subId=5663 dateSubmitted=2012-02-14
track wgEncodeLicrHistoneHeartH3k04me3UE14halfC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks off
shortLabel Ht 14.5 H3K4m3
longLabel Heart E14.5 H3K4me3 Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=E14HALF factor=H3K04ME3 cellType=HEART control=STD sex=U strain=C57BL6
type broadPeak
color 153,38,0
# subId=5664 dateSubmitted=2012-02-14
track wgEncodeLicrHistoneHeartH3k27acUE14halfC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks off
shortLabel Ht 14.5 H3K27a
longLabel Heart E14.5 H3K27ac Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=E14HALF factor=H3K27AC cellType=HEART control=STD sex=U strain=C57BL6
type broadPeak
color 153,38,0
# subId=5662 dateSubmitted=2012-02-14
track wgEncodeLicrHistoneWbrainH3k04me3UE14halfC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks off
shortLabel Bn 14.5 H3K4m3
longLabel WBrain E14.5 H3K4me3 Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=E14HALF factor=H3K04ME3 cellType=WBRAIN control=STD sex=U strain=C57BL6
type broadPeak
color 105,105,105
# subId=5660 dateSubmitted=2012-02-14
track wgEncodeLicrHistoneWbrainH3k04me1UE14halfC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks off
shortLabel Bn 14.5 H3K4m1
longLabel WBrain E14.5 H3K4me1 Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=E14HALF factor=H3K04ME1 cellType=WBRAIN control=STD sex=U strain=C57BL6
type broadPeak
color 105,105,105
# subId=5659 dateSubmitted=2012-02-14
track wgEncodeLicrHistoneWbrainH3k27acUE14halfC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks off
shortLabel Bn 14.5 H3K27a
longLabel WBrain E14.5 H3K27ac Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=E14HALF factor=H3K27AC cellType=WBRAIN control=STD sex=U strain=C57BL6
type broadPeak
color 105,105,105
# subId=5658 dateSubmitted=2012-02-14
track wgEncodeLicrHistoneCortexH3k27acMAdult8wksC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks off
shortLabel Crx 8w H3K27a
longLabel Cortex 8w H3K27ac Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=1ADULT8WKS factor=H3K27AC cellType=CORTEX control=STD sex=M strain=C57BL6
type broadPeak
color 105,105,105
# subId=5656 dateSubmitted=2012-02-14
track wgEncodeLicrHistoneCbellumH3k27acMAdult8wksC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks
shortLabel Cb 8w H3K27a
longLabel Cerebellum 8w H3K27ac Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=1ADULT8WKS factor=H3K27AC cellType=CBELLUM control=STD sex=M strain=C57BL6
type broadPeak
color 105,105,105
# subId=5655 dateSubmitted=2012-02-14
track wgEncodeLicrHistoneBmarrowH3k27acMAdult8wksC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks off
shortLabel BM 8w H3K27a
longLabel BoneMarrow 8w H3K27ac Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=1ADULT8WKS factor=H3K27AC cellType=1BMARROW control=STD sex=M strain=C57BL6
type broadPeak
color 86,180,233
# subId=5629 dateSubmitted=2012-02-13
track wgEncodeLicrHistoneLiverH3k27acUE14halfC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks off
shortLabel Lv 14.5 H3K27a
longLabel Liver E14.5 H3K27ac Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=E14HALF factor=H3K27AC cellType=LIVER control=STD sex=U strain=C57BL6
type broadPeak
color 230,159,0
# subId=5670 dateSubmitted=2012-02-14
track wgEncodeLicrHistoneLiverH3k04me1UE14halfC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks off
shortLabel Lv 14.5 H3K4m1
longLabel Liver E14.5 H3K4me1 Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=E14HALF factor=H3K04ME1 cellType=LIVER control=STD sex=U strain=C57BL6
type broadPeak
color 230,159,0
# subId=5671 dateSubmitted=2012-02-15
track wgEncodeLicrHistoneLiverH3k04me3UE14halfC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks off
shortLabel Lv 14.5 H3K4m3
longLabel Liver E14.5 H3K4me3 Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=E14HALF factor=H3K04ME3 cellType=LIVER control=STD sex=U strain=C57BL6
type broadPeak
color 230,159,0
# subId=5672 dateSubmitted=2012-02-14
track wgEncodeLicrHistoneBatH3k04me1MAdult24wksC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks off
shortLabel BAT 24w H3K4m1
longLabel BAT 24w H3K4me1 Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=2ADULT24WKS factor=H3K04ME1 cellType=BAT control=STD sex=M strain=C57BL6
type broadPeak
color 189,0,157
# subId=5970 dateSubmitted=2012-03-01
track wgEncodeLicrHistoneBatH3k04me3MAdult24wksC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks off
shortLabel BAT 24w H3K4m3
longLabel BAT 24w H3K4me3 Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=2ADULT24WKS factor=H3K04ME3 cellType=BAT control=STD sex=M strain=C57BL6
type broadPeak
color 189,0,157
# subId=5971 dateSubmitted=2012-03-01
track wgEncodeLicrHistoneBatH3k27acMAdult24wksC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks off
shortLabel BAT 24w H3K27a
longLabel BAT 24w H3K27ac Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=2ADULT24WKS factor=H3K27AC cellType=BAT control=STD sex=M strain=C57BL6
type broadPeak
color 189,0,157
# subId=5972 dateSubmitted=2012-03-01
track wgEncodeLicrHistoneLiverH3k79me2MAdult8wksC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks
shortLabel Lv 8w H3K79m2
longLabel Liver 8w H3K79me2 Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=1ADULT8WKS factor=H3K79ME2 cellType=LIVER control=STD sex=M strain=C57BL6
type broadPeak
color 230,159,0
# subId=5911 dateSubmitted=2012-02-28
track wgEncodeLicrHistoneLiverH3k36me3MAdult8wksC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks
shortLabel Lv 8w H3K36m3
longLabel Liver 8w H3K36me3 Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=1ADULT8WKS factor=H3K36ME3 cellType=LIVER control=STD sex=M strain=C57BL6
type broadPeak
color 230,159,0
# subId=5908 dateSubmitted=2012-02-28
track wgEncodeLicrHistoneLiverH3k27me3MAdult8wksC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks
shortLabel Lv 8w H3K27m3
longLabel Liver 8w H3K27me3 Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=1ADULT8WKS factor=H3K27ME3 cellType=LIVER control=STD sex=M strain=C57BL6
type broadPeak
color 230,159,0
# subId=5907 dateSubmitted=2012-02-28
track wgEncodeLicrHistoneLiverH3k09acMAdult8wksC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks
shortLabel Lv 8w H3K9a
longLabel Liver 8w H3K9ac Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=1ADULT8WKS factor=H3K09AC cellType=LIVER control=STD sex=M strain=C57BL6
type broadPeak
color 230,159,0
# subId=5905 dateSubmitted=2012-02-28
track wgEncodeLicrHistoneHeartH3k79me2MAdult8wksC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks
shortLabel Ht 8w H3K79m2
longLabel Heart 8w H3K79me2 Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=1ADULT8WKS factor=H3K79ME2 cellType=HEART control=STD sex=M strain=C57BL6
type broadPeak
color 153,38,0
# subId=5903 dateSubmitted=2012-02-28
track wgEncodeLicrHistoneHeartH3k36me3MAdult8wksC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks
shortLabel Ht 8w H3K36m3
longLabel Heart 8w H3K36me3 Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=1ADULT8WKS factor=H3K36ME3 cellType=HEART control=STD sex=M strain=C57BL6
type broadPeak
color 153,38,0
# subId=5902 dateSubmitted=2012-02-28
track wgEncodeLicrHistoneHeartH3k27me3MAdult8wksC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks
shortLabel Ht 8w H3K27m3
longLabel Heart 8w H3K27me3 Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=1ADULT8WKS factor=H3K27ME3 cellType=HEART control=STD sex=M strain=C57BL6
type broadPeak
color 153,38,0
# subId=5900 dateSubmitted=2012-02-28
track wgEncodeLicrHistoneHeartH3k09acMAdult8wksC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks
shortLabel Ht 8w H3K9a
longLabel Heart 8w H3K9ac Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=1ADULT8WKS factor=H3K09AC cellType=HEART control=STD sex=M strain=C57BL6
type broadPeak
color 153,38,0
# subId=5899 dateSubmitted=2012-02-28
track wgEncodeLicrHistoneMelH3k04me3MImmortalC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks
shortLabel MEL H3K4m3
longLabel MEL H3K4me3 Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=IMMORTAL factor=H3K04ME3 cellType=MEL control=STD sex=M strain=C57BL6
type broadPeak
color 86,180,233
# subId=5916 dateSubmitted=2012-02-29
track wgEncodeLicrHistoneMelH3k27acMImmortalC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks
shortLabel MEL H3K27a
longLabel MEL H3K27ac Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=IMMORTAL factor=H3K27AC cellType=MEL control=STD sex=M strain=C57BL6
type broadPeak
color 86,180,233
# subId=5915 dateSubmitted=2012-02-29
track wgEncodeLicrHistoneMelH3k04me1MImmortalC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks
shortLabel MEL H3K4m1
longLabel MEL H3K4me1 Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=IMMORTAL factor=H3K04ME1 cellType=MEL control=STD sex=M strain=C57BL6
type broadPeak
color 86,180,233
# subId=5914 dateSubmitted=2012-02-29
track wgEncodeLicrHistoneMelH3k09acMImmortalC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks
shortLabel MEL H3K9a
longLabel MEL H3K9ac Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=IMMORTAL factor=H3K09AC cellType=MEL control=STD sex=M strain=C57BL6
type broadPeak
color 86,180,233
# subId=5912 dateSubmitted=2012-02-28
track wgEncodeLicrHistoneMelH3k79me2MImmortalC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks
shortLabel MEL H3K79m2
longLabel MEL H3K79me2 Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=IMMORTAL factor=H3K79ME2 cellType=MEL control=STD sex=M strain=C57BL6
type broadPeak
color 86,180,233
# subId=5910 dateSubmitted=2012-02-28
track wgEncodeLicrHistoneMelH3k36me3MImmortalC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks
shortLabel MEL H3K36m3
longLabel MEL H3K36me3 Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=IMMORTAL factor=H3K36ME3 cellType=MEL control=STD sex=M strain=C57BL6
type broadPeak
color 86,180,233
# subId=5909 dateSubmitted=2012-02-28
track wgEncodeLicrHistoneMelH3k27me3MImmortalC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks
shortLabel MEL H3K27m3
longLabel MEL H3K27me3 Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=IMMORTAL factor=H3K27ME3 cellType=MEL control=STD sex=M strain=C57BL6
type broadPeak
color 86,180,233
# subId=5906 dateSubmitted=2012-02-28
track wgEncodeLicrHistoneBmdmH3k04me3FAdult8wksC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks off
shortLabel BMDM 8w H3K4m3
longLabel BMDM 8w H3K4me3 Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=1ADULT8WKS factor=H3K04ME3 cellType=1BMDM control=STD sex=F strain=C57BL6
type broadPeak
color 86,180,233
# subId=5963 dateSubmitted=2012-03-10
track wgEncodeLicrHistoneBmdmH3k27acFAdult8wksC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks off
shortLabel BMDM 8w H3K27a
longLabel BMDM 8w H3K27ac Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=1ADULT8WKS factor=H3K27AC cellType=1BMDM control=STD sex=F strain=C57BL6
type broadPeak
color 86,180,233
# subId=5964 dateSubmitted=2012-03-10
track wgEncodeLicrHistoneBmdmH3k04me1FAdult8wksC57bl6StdPk
parent wgEncodeLicrHistoneViewPeaks off
shortLabel BMDM 8w H3K4m1
longLabel BMDM 8w H3K4me1 Histone Modifications by ChIP-seq Peaks from ENCODE/LICR
subGroups view=Peaks age=1ADULT8WKS factor=H3K04ME1 cellType=1BMDM control=STD sex=F strain=C57BL6
type broadPeak
color 86,180,233
# subId=5965 dateSubmitted=2012-03-10
####### Signal Tracks###########
track wgEncodeLicrHistoneViewSignal
shortLabel Signal
view Signal
visibility full
#viewUi on
subTrack wgEncodeLicrHistone
viewLimits 0.2:15
autoScale off
maxHeightPixels 100:32:0
configurable on
windowingFunction mean+whiskers
track wgEncodeLicrHistoneBmarrowH3k4me1MAdult8wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel BM 8w H3K4m1
longLabel BoneMarrow 8w H3K4me1 Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=1ADULT8WKS factor=H3K04ME1 cellType=1BMARROW control=STD sex=M strain=C57BL6
type bigWig 0.120000 20.459999
color 86,180,233
viewLimits 0.2:3
# subId=3387 dateSubmitted=2011-01-19
track wgEncodeLicrHistoneBmarrowH3k4me3MAdult8wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel BM 8w H3K4m3
longLabel BoneMarrow 8w H3K4me3 Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=1ADULT8WKS factor=H3K04ME3 cellType=1BMARROW control=STD sex=M strain=C57BL6
type bigWig 0.120000 50.509998
color 86,180,233
viewLimits 0.2:10
# subId=3388 dateSubmitted=2011-01-19
track wgEncodeLicrHistoneCbellumH3k4me3MAdult8wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal
shortLabel Cb 8w H3K4m3
longLabel Cerebellum 8w H3K4me3 Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=1ADULT8WKS factor=H3K04ME3 cellType=CBELLUM control=STD sex=M strain=C57BL6
type bigWig 0.140000 49.660000
color 105,105,105
viewLimits 0.2:10
# subId=3394 dateSubmitted=2011-01-20
track wgEncodeLicrHistoneCortexH3k4me1MAdult8wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel Crx 8w H3K4m1
longLabel Cortex 8w H3K4me1 Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=1ADULT8WKS factor=H3K04ME1 cellType=CORTEX control=STD sex=M strain=C57BL6
type bigWig 0.110000 8.410000
color 105,105,105
viewLimits 0.2:3
# subId=3396 dateSubmitted=2011-01-19
track wgEncodeLicrHistoneCortexH3k4me3MAdult8wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel Crx 8w H3K4m3
longLabel Cortex 8w H3K4me3 Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=1ADULT8WKS factor=H3K04ME3 cellType=CORTEX control=STD sex=M strain=C57BL6
type bigWig 0.110000 44.410000
color 105,105,105
viewLimits 0.2:10
# subId=3397 dateSubmitted=2011-01-19
track wgEncodeLicrHistoneCbellumH3k4me1MAdult8wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal
shortLabel Cb 8w H3K4m1
longLabel Cerebellum 8w H3K4me1 Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=1ADULT8WKS factor=H3K04ME1 cellType=CBELLUM control=STD sex=M strain=C57BL6
type bigWig 0.120000 18.879999
color 105,105,105
viewLimits 0.2:3
# subId=3812 dateSubmitted=2011-03-08
track wgEncodeLicrHistoneHeartH3k4me1MAdult8wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal
shortLabel Ht 8w H3K4m1
longLabel Heart 8w H3K4me1 Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=1ADULT8WKS factor=H3K04ME1 cellType=HEART control=STD sex=M strain=C57BL6
type bigWig 0.130000 15.600000
color 153,38,0
viewLimits 0.2:3
# subId=3885 dateSubmitted=2011-04-12
track wgEncodeLicrHistoneKidneyH3k4me1MAdult8wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel Kdy 8w H3K4m1
longLabel Kidney 8w H3K4me1 Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=1ADULT8WKS factor=H3K04ME1 cellType=KIDNEY control=STD sex=M strain=C57BL6
type bigWig 0.130000 16.070000
color 204,121,167
viewLimits 0.2:3
# subId=3879 dateSubmitted=2011-04-07
track wgEncodeLicrHistoneLiverH3k4me1MAdult8wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal
shortLabel Lv 8w H3K4m1
longLabel Liver 8w H3K4me1 Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=1ADULT8WKS factor=H3K04ME1 cellType=LIVER control=STD sex=M strain=C57BL6
type bigWig 0.140000 31.250000
color 230,159,0
viewLimits 0.2:3
# subId=3881 dateSubmitted=2011-04-12
track wgEncodeLicrHistoneLiverH3k4me3MAdult8wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal
shortLabel Lv 8w H3K4m3
longLabel Liver 8w H3K4me3 Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=1ADULT8WKS factor=H3K04ME3 cellType=LIVER control=STD sex=M strain=C57BL6
type bigWig 0.140000 72.970001
color 230,159,0
viewLimits 0.2:10
# subId=3882 dateSubmitted=2011-04-12
track wgEncodeLicrHistoneKidneyH3k4me3MAdult8wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel Kdy 8w H3K4m3
longLabel Kidney 8w H3K4me3 Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=1ADULT8WKS factor=H3K04ME3 cellType=KIDNEY control=STD sex=M strain=C57BL6
type bigWig 0.110000 57.959999
color 204,121,167
viewLimits 0.2:10
# subId=3003 dateSubmitted=2011-04-12
track wgEncodeLicrHistoneHeartH3k4me3MAdult8wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal
shortLabel Ht 8w H3K4m3
longLabel Heart 8w H3K4me3 Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=1ADULT8WKS factor=H3K04ME3 cellType=HEART control=STD sex=M strain=C57BL6
type bigWig 0.130000 67.910004
color 153,38,0
viewLimits 0.2:10
# subId=2790 dateSubmitted=2011-04-12
track wgEncodeLicrHistoneLungH3k4me3MAdult8wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel Ln 8w H3K4m3
longLabel Lung 8w H3K4me3 Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=1ADULT8WKS factor=H3K04ME3 cellType=LUNG control=STD sex=M strain=C57BL6
type bigWig 0.120000 55.680000
viewLimits 0.2:10
# subId=3887 dateSubmitted=2011-04-15
track wgEncodeLicrHistoneLungH3k4me1MAdult8wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel Ln 8w H3K4m1
longLabel Lung 8w H3K4me1 Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=1ADULT8WKS factor=H3K04ME1 cellType=LUNG control=STD sex=M strain=C57BL6
type bigWig 0.130000 25.240000
viewLimits 0.2:3
# subId=3886 dateSubmitted=2011-04-15
track wgEncodeLicrHistoneBmarrowInputMAdult8wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel BM 8w Input
longLabel BoneMarrow 8w Input Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=1ADULT8WKS factor=INPUT cellType=1BMARROW control=STD sex=M strain=C57BL6
type bigWig 0.150000 34.869999
color 86,180,233
# subId=3928 dateSubmitted=2011-04-27
track wgEncodeLicrHistoneCbellumInputMAdult8wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel Cb 8w Input
longLabel Cerebellum 8w Input Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=1ADULT8WKS factor=INPUT cellType=CBELLUM control=STD sex=M strain=C57BL6
type bigWig 0.140000 41.009998
color 105,105,105
# subId=3929 dateSubmitted=2011-04-27
track wgEncodeLicrHistoneCortexInputMAdult8wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel Crx 8w Input
longLabel Cortex 8w Input Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=1ADULT8WKS factor=INPUT cellType=CORTEX control=STD sex=M strain=C57BL6
type bigWig 0.130000 61.080002
color 105,105,105
# subId=3930 dateSubmitted=2011-04-27
track wgEncodeLicrHistoneHeartInputMAdult8wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel Ht 8w Input
longLabel Heart 8w Input Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=1ADULT8WKS factor=INPUT cellType=HEART control=STD sex=M strain=C57BL6
type bigWig 0.140000 73.459999
color 153,38,0
# subId=3931 dateSubmitted=2011-04-27
track wgEncodeLicrHistoneKidneyInputMAdult8wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel Kdy 8w Input
longLabel Kidney 8w Input Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=1ADULT8WKS factor=INPUT cellType=KIDNEY control=STD sex=M strain=C57BL6
type bigWig 0.140000 51.650002
color 204,121,167
# subId=3932 dateSubmitted=2011-04-27
track wgEncodeLicrHistoneLiverInputMAdult8wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel Lv 8w Input
longLabel Liver 8w Input Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=1ADULT8WKS factor=INPUT cellType=LIVER control=STD sex=M strain=C57BL6
type bigWig 0.130000 65.070000
color 230,159,0
# subId=3933 dateSubmitted=2011-04-27
track wgEncodeLicrHistoneLungInputMAdult8wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel Ln 8w Input
longLabel Lung 8w Input Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=1ADULT8WKS factor=INPUT cellType=LUNG control=STD sex=M strain=C57BL6
type bigWig 0.150000 39.330002
# subId=3934 dateSubmitted=2011-04-27
track wgEncodeLicrHistoneMefInputMAdult8wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel MEF 8w Input
longLabel MEF 8w Input Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=1ADULT8WKS factor=INPUT cellType=MEF control=STD sex=M strain=C57BL6
type bigWig 0.140000 50.770000
color 65,105,225
# subId=4008 dateSubmitted=2011-04-29
track wgEncodeLicrHistoneMefH3k4me3MAdult8wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel MEF 8w H3K4m3
longLabel MEF 8w H3K4me3 Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=1ADULT8WKS factor=H3K04ME3 cellType=MEF control=STD sex=M strain=C57BL6
type bigWig 0.130000 71.599998
color 65,105,225
viewLimits 0.2:10
# subId=4005 dateSubmitted=2011-04-29
track wgEncodeLicrHistoneMefH3k4me1MAdult8wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel MEF 8w H3K4m1
longLabel MEF 8w H3K4me1 Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=1ADULT8WKS factor=H3K04ME1 cellType=MEF control=STD sex=M strain=C57BL6
type bigWig 0.110000 21.290001
color 65,105,225
viewLimits 0.2:3
# subId=4001 dateSubmitted=2011-04-28
track wgEncodeLicrHistoneSpleenInputMAdult8wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel Sp 8w Input
longLabel Spleen 8w Input Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=1ADULT8WKS factor=INPUT cellType=SPLEEN control=STD sex=M strain=C57BL6
type bigWig 0.130000 31.219999
color 86,180,233
# subId=4035 dateSubmitted=2011-05-02
track wgEncodeLicrHistoneSpleenH3k4me3MAdult8wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel Sp 8w H3K4m3
longLabel Spleen 8w H3K4me3 Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=1ADULT8WKS factor=H3K04ME3 cellType=SPLEEN control=STD sex=M strain=C57BL6
type bigWig 0.160000 65.190002
color 86,180,233
viewLimits 0.2:10
# subId=4034 dateSubmitted=2011-05-02
track wgEncodeLicrHistoneSpleenH3k4me1MAdult8wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel Sp 8w H3K4m1
longLabel Spleen 8w H3K4me1 Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=1ADULT8WKS factor=H3K04ME1 cellType=SPLEEN control=STD sex=M strain=C57BL6
type bigWig 0.140000 55.639999
color 86,180,233
viewLimits 0.2:3
# subId=4033 dateSubmitted=2011-05-02
track wgEncodeLicrHistoneEsb4H3k4me3ME0C57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel ESB4 E0 H3K4m3
longLabel ES-Bruce4 E0 H3K4me3 Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=E0 factor=H3K04ME3 cellType=ESB4 control=STD sex=M strain=C57BL6
type bigWig 0.120000 46.810001
color 65,105,225
viewLimits 0.2:10
# subId=4045 dateSubmitted=2011-05-06
track wgEncodeLicrHistoneEsb4InputME0C57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel ESB4 E0 Input
longLabel ES-Bruce4 E0 Input Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=E0 factor=INPUT cellType=ESB4 control=STD sex=M strain=C57BL6
type bigWig 0.130000 64.720001
color 65,105,225
# subId=4046 dateSubmitted=2011-05-06
track wgEncodeLicrHistoneEsb4H3k4me1ME0C57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel ESB4 E0 H3K4m1
longLabel ES-Bruce4 E0 H3K4me1 Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=E0 factor=H3K04ME1 cellType=ESB4 control=STD sex=M strain=C57BL6
type bigWig 0.130000 38.650002
color 65,105,225
viewLimits 0.2:3
# subId=4044 dateSubmitted=2011-05-06
track wgEncodeLicrHistoneThymusH3k04me1MAdult8wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel Thm 8w H3K4m1
longLabel Thymus 8w H3K4me1 Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=1ADULT8WKS factor=H3K04ME1 cellType=THYMUS control=STD sex=M strain=C57BL6
type bigWig 0.116118 35.880478
color 86,180,233
viewLimits 0.2:3
# subId=5315 dateSubmitted=2011-12-22
track wgEncodeLicrHistoneOlfactH3k04me1MAdult8wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel OB 8w H3K4m1
longLabel OlfactBulb 8w H3K4me1 Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=1ADULT8WKS factor=H3K04ME1 cellType=OLFACT control=STD sex=M strain=C57BL6
type bigWig 0.133084 34.513157
color 105,105,105
viewLimits 0.2:3
# subId=5314 dateSubmitted=2011-12-22
track wgEncodeLicrHistoneThymusH3k04me3MAdult8wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel Thm 8w H3K4m3
longLabel Thymus 8w H3K4me3 Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=1ADULT8WKS factor=H3K04ME3 cellType=THYMUS control=STD sex=M strain=C57BL6
type bigWig 0.121863 86.035187
color 86,180,233
viewLimits 0.2:10
# subId=5316 dateSubmitted=2011-12-22
track wgEncodeLicrHistoneThymusInputMAdult8wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel Thm 8w Input
longLabel Thymus 8w Input Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=1ADULT8WKS factor=INPUT cellType=THYMUS control=STD sex=M strain=C57BL6
type bigWig 0.122860 69.354546
color 86,180,233
# subId=5320 dateSubmitted=2011-12-22
track wgEncodeLicrHistoneOlfactH3k27acMAdult8wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel OB 8w H3K27a
longLabel OlfactBulb 8w H3K27ac Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=1ADULT8WKS factor=H3K27AC cellType=OLFACT control=STD sex=M strain=C57BL6
type bigWig 0.117609 27.520395
color 105,105,105
viewLimits 0.2:5
# subId=5342 dateSubmitted=2011-12-22
track wgEncodeLicrHistoneThymusH3k27acMAdult8wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel Thm 8w H3K27a
longLabel Thymus 8w H3K27ac Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=1ADULT8WKS factor=H3K27AC cellType=THYMUS control=STD sex=M strain=C57BL6
type bigWig 0.103252 37.652710
color 86,180,233
viewLimits 0.2:5
# subId=5343 dateSubmitted=2011-12-22
track wgEncodeLicrHistoneOlfactInputMAdult8wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel OB 8w Input
longLabel OlfactBulb 8w Input Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=1ADULT8WKS factor=INPUT cellType=OLFACT control=STD sex=M strain=C57BL6
type bigWig 0.102227 41.708450
color 105,105,105
# subId=5344 dateSubmitted=2011-12-22
track wgEncodeLicrHistoneSmintH3k04me1MAdult8wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel SI 8w H3K4m1
longLabel SIntestine 8w H3K4me1 Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=1ADULT8WKS factor=H3K04ME1 cellType=SMINT control=STD sex=M strain=C57BL6
type bigWig 0.150000 54.160000
color 230,159,0
viewLimits 0.2:3
# subId=5347 dateSubmitted=2011-12-23
track wgEncodeLicrHistoneSmintH3k04me3MAdult8wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel SI 8w H3K4m3
longLabel SIntestine 8w H3K4me3 Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=1ADULT8WKS factor=H3K04ME3 cellType=SMINT control=STD sex=M strain=C57BL6
type bigWig 0.130000 74.949997
color 230,159,0
viewLimits 0.2:10
# subId=5348 dateSubmitted=2011-12-23
track wgEncodeLicrHistoneSmintH3k27acMAdult8wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel SI 8w H3K27a
longLabel SIntestine 8w H3K27ac Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=1ADULT8WKS factor=H3K27AC cellType=SMINT control=STD sex=M strain=C57BL6
type bigWig 0.120000 35.220001
color 230,159,0
viewLimits 0.2:5
# subId=5350 dateSubmitted=2011-12-23
track wgEncodeLicrHistoneTestisH3k27acMAdult8wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel Ts 8w H3K27a
longLabel Testis 8w H3K27ac Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=1ADULT8WKS factor=H3K27AC cellType=TESTIS control=STD sex=M strain=C57BL6
type bigWig 0.130000 55.549999
color 0,158,115
viewLimits 0.2:5
# subId=5351 dateSubmitted=2011-12-23
track wgEncodeLicrHistoneTestisH3k04me1MAdult8wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel Ts 8w H3K4m1
longLabel Testis 8w H3K4me1 Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=1ADULT8WKS factor=H3K04ME1 cellType=TESTIS control=STD sex=M strain=C57BL6
type bigWig 0.120000 62.349998
color 0,158,115
viewLimits 0.2:3
# subId=5352 dateSubmitted=2011-12-23
track wgEncodeLicrHistoneTestisH3k04me3MAdult8wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel Ts 8w H3K4m3
longLabel Testis 8w H3K4me3 Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=1ADULT8WKS factor=H3K04ME3 cellType=TESTIS control=STD sex=M strain=C57BL6
type bigWig 0.130000 48.570000
color 0,158,115
viewLimits 0.2:10
# subId=5353 dateSubmitted=2011-12-23
track wgEncodeLicrHistoneTestisInputMAdult8wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel Ts 8w Input
longLabel Testis 8w Input Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=1ADULT8WKS factor=INPUT cellType=TESTIS control=STD sex=M strain=C57BL6
type bigWig 0.130000 59.860001
color 0,158,115
# subId=5354 dateSubmitted=2011-12-23
track wgEncodeLicrHistoneSmintInputMAdult8wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel SI 8w Input
longLabel SIntestine 8w Input Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=1ADULT8WKS factor=INPUT cellType=SMINT control=STD sex=M strain=C57BL6
type bigWig 0.110000 33.189999
color 230,159,0
# subId=5361 dateSubmitted=2011-12-23
track wgEncodeLicrHistoneWbrainH3k27acUE14halfC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel Bn 14.5 H3K27a
longLabel WBrain E14.5 H3K27ac Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=E14HALF factor=H3K27AC cellType=WBRAIN control=STD sex=U strain=C57BL6
type bigWig 0.110000 47.540001
color 105,105,105
viewLimits 0.2:5
# subId=5366 dateSubmitted=2011-12-23
# was wgEncodeLicrHistoneWholebrainH3k27acUE14halfC57bl6StdSig vsmalladi Tue Jan 10 15:20:48 2012
track wgEncodeLicrHistoneWbrainInputUE14halfC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel Bn 14.5 Input
longLabel WBrain E14.5 Input Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=E14HALF factor=INPUT cellType=WBRAIN control=STD sex=U strain=C57BL6
type bigWig 0.130000 22.879999
color 105,105,105
# subId=5367 dateSubmitted=2011-12-23
# was wgEncodeLicrHistoneWholebrainInputUE14halfC57bl6StdSig vsmalladi Tue Jan 10 15:20:48 2012
track wgEncodeLicrHistoneLimbH3k27acUE14halfC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel Lb 14.5 H3K27a
longLabel Limb E14.5 H3K27ac Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=E14HALF factor=H3K27AC cellType=LIMB control=STD sex=U strain=C57BL6
type bigWig 0.120000 48.669998
color 102,50,20
viewLimits 0.2:5
# subId=5370 dateSubmitted=2011-12-23
track wgEncodeLicrHistoneLimbH3k04me1UE14halfC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel Lb 14.5 H3K4m1
longLabel Limb E14.5 H3K4me1 Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=E14HALF factor=H3K04ME1 cellType=LIMB control=STD sex=U strain=C57BL6
type bigWig 0.130000 25.370001
color 102,50,200
viewLimits 0.2:3
# subId=5371 dateSubmitted=2011-12-23
track wgEncodeLicrHistoneLimbH3k04me3UE14halfC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel Lb 14.5 H3K4m3
longLabel Limb E14.5 H3K4me3 Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=E14HALF factor=H3K04ME3 cellType=LIMB control=STD sex=U strain=C57BL6
type bigWig 0.130000 47.400002
color 102,50,200
viewLimits 0.2:10
# subId=5372 dateSubmitted=2011-12-23
track wgEncodeLicrHistoneLimbInputUE14halfC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel Lb 14.5 Input
longLabel Limb E14.5 Input Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=E14HALF factor=INPUT cellType=LIMB control=STD sex=U strain=C57BL6
type bigWig 0.150000 46.419998
color 102,50,200
# subId=5373 dateSubmitted=2011-12-23
track wgEncodeLicrHistoneBmarrowH3k27acMAdult8wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel BM 8w H3K27a
longLabel BoneMarrow 8w H3K27ac Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=1ADULT8WKS factor=H3K27AC cellType=1BMARROW control=STD sex=M strain=C57BL6
type bigWig 0.110000 49.990002
color 86,180,233
viewLimits 0.2:5
# subId=5374 dateSubmitted=2011-12-23
track wgEncodeLicrHistoneCbellumH3k27acMAdult8wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal
shortLabel Cb 8w H3K27a
longLabel Cerebellum 8w H3K27ac Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=1ADULT8WKS factor=H3K27AC cellType=CBELLUM control=STD sex=M strain=C57BL6
type bigWig 0.110000 27.700001
color 105,105,105
viewLimits 0.2:5
# subId=5375 dateSubmitted=2011-12-24
track wgEncodeLicrHistoneHeartH3k27acMAdult8wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal
shortLabel Ht 8w H3K27a
longLabel Heart 8w H3K27ac Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=1ADULT8WKS factor=H3K27AC cellType=HEART control=STD sex=M strain=C57BL6
type bigWig 0.100000 33.759998
color 153,38,0
viewLimits 0.2:5
# subId=5377 dateSubmitted=2011-12-24
track wgEncodeLicrHistoneKidneyH3k27acMAdult8wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel Kdy 8w H3K27a
longLabel Kidney 8w H3K27ac Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=1ADULT8WKS factor=H3K27AC cellType=KIDNEY control=STD sex=M strain=C57BL6
type bigWig 0.110000 37.259998
color 204,121,16
viewLimits 0.2:5
# subId=5378 dateSubmitted=2011-12-24
track wgEncodeLicrHistoneLiverH3k27acMAdult8wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal
shortLabel Lv 8w H3K27a
longLabel Liver 8w H3K27ac Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=1ADULT8WKS factor=H3K27AC cellType=LIVER control=STD sex=M strain=C57BL6
type bigWig 0.140000 42.110001
color 230,159,0
viewLimits 0.2:5
# subId=5379 dateSubmitted=2011-12-24
track wgEncodeLicrHistoneMefH3k27acMAdult8wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel MEF 8w H3K27a
longLabel MEF 8w H3K27ac Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=1ADULT8WKS factor=H3K27AC cellType=MEF control=STD sex=M strain=C57BL6
type bigWig 0.130000 43.160000
color 65,105,225
viewLimits 0.2:5
# subId=5380 dateSubmitted=2011-12-24
track wgEncodeLicrHistoneEsb4H3k27acME0C57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel ESB4 E0 H3K27a
longLabel ES-Bruce4 E0 H3K27ac Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=E0 factor=H3K27AC cellType=ESB4 control=STD sex=M strain=C57BL6
type bigWig 0.140000 42.669998
color 65,105,225
viewLimits 0.2:5
# subId=5381 dateSubmitted=2011-12-24
track wgEncodeLicrHistoneSpleenH3k27acMAdult8wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel Sp 8w H3K27a
longLabel Spleen 8w H3K27ac Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=1ADULT8WKS factor=H3K27AC cellType=SPLEEN control=STD sex=M strain=C57BL6
type bigWig 0.120000 46.990002
color 86,180,233
viewLimits 0.2:5
# subId=5382 dateSubmitted=2011-12-24
track wgEncodeLicrHistoneCortexH3k27acMAdult8wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel Crx 8w H3K27a
longLabel Cortex 8w H3K27ac Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=1ADULT8WKS factor=H3K27AC cellType=CORTEX control=STD sex=M strain=C57BL6
type bigWig 0.140000 26.379999
color 105,105,105
viewLimits 0.2:5
# subId=5376 dateSubmitted=2011-12-24
track wgEncodeLicrHistoneHeartH3k04me1UE14halfC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel Ht 14.5 H3K4m1
longLabel Heart E14.5 H3K4me1 Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=E14HALF factor=H3K04ME1 cellType=HEART control=STD sex=U strain=C57BL6
type bigWig 0.100000 18.980000
color 153,38,0
viewLimits 0.2:3
# subId=5415 dateSubmitted=2012-01-04
track wgEncodeLicrHistoneHeartH3k04me3UE14halfC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel Ht 14.5 H3K4m3
longLabel Heart E14.5 H3K4me3 Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=E14HALF factor=H3K04ME3 cellType=HEART control=STD sex=U strain=C57BL6
type bigWig 0.110000 72.550003
color 153,38,0
viewLimits 0.2:10
# subId=5414 dateSubmitted=2012-01-04
track wgEncodeLicrHistoneHeartH3k27acUE14halfC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel Ht 14.5 H3K27a
longLabel Heart E14.5 H3K27ac Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=E14HALF factor=H3K27AC cellType=HEART control=STD sex=U strain=C57BL6
type bigWig 0.110000 38.139999
color 153,38,0
viewLimits 0.2:5
# subId=5416 dateSubmitted=2012-01-04
track wgEncodeLicrHistoneHeartInputUE14halfC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel Ht 14.5 Input
longLabel Heart E14.5 Input Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=E14HALF factor=INPUT cellType=HEART control=STD sex=U strain=C57BL6
type bigWig 0.140000 48.220001
color 153,38,0
# subId=5417 dateSubmitted=2012-01-05
track wgEncodeLicrHistoneOlfactH3k04me3MAdult8wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel OB 8w H3K4m3
longLabel OlfactBulb 8w H3K4me3 Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=1ADULT8WKS factor=H3K04ME3 cellType=OLFACT control=STD sex=M strain=C57BL6
type bigWig 0.121283 73.194351
color 105,105,105
viewLimits 0.2:10
# subId=5446 dateSubmitted=2012-01-07
track wgEncodeLicrHistonePlacH3k27acFAdult8wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel Pt 8w H3K27a
longLabel Placenta 8w H3K27ac Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=1ADULT8WKS factor=H3K27AC cellType=PLAC control=STD sex=F strain=C57BL6
type bigWig 0.130000 51.709999
color 153,38,0
viewLimits 0.2:5
# subId=5441 dateSubmitted=2012-01-05
track wgEncodeLicrHistonePlacH3k04me1FAdult8wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel Pt 8w H3K4m1
longLabel Placenta 8w H3K4me1 Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=1ADULT8WKS factor=H3K04ME1 cellType=PLAC control=STD sex=F strain=C57BL6
type bigWig 0.150000 46.540001
color 153,38,0
viewLimits 0.2:3
# subId=5442 dateSubmitted=2012-01-05
track wgEncodeLicrHistonePlacH3k04me3FAdult8wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel Pt 8w H3K4m3
longLabel Placenta 8w H3K4me3 Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=1ADULT8WKS factor=H3K04ME3 cellType=PLAC control=STD sex=F strain=C57BL6
type bigWig 0.180000 128.720001
color 153,38,0
viewLimits 0.2:10
# subId=5443 dateSubmitted=2012-01-05
track wgEncodeLicrHistonePlacInputFAdult8wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel Pt 8w Input
longLabel Placenta 8w Input Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=1ADULT8WKS factor=INPUT cellType=PLAC control=STD sex=F strain=C57BL6
type bigWig 0.120000 60.020000
color 153,38,0
# subId=5444 dateSubmitted=2012-01-05
track wgEncodeLicrHistoneWbrainH3k04me3UE14halfC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel Bn 14.5 H3K4m3
longLabel WBrain E14.5 H3K4me3 Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=E14HALF factor=H3K04ME3 cellType=WBRAIN control=STD sex=U strain=C57BL6
type bigWig 0.120000 50.209999
color 105,105,105
viewLimits 0.2:10
# subId=5365 dateSubmitted=2011-12-23
track wgEncodeLicrHistoneWbrainH3k04me1UE14halfC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel Bn 14.5 H3K4m1 off
longLabel WBrain E14.5 H3K4me1 Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=E14HALF factor=H3K04ME1 cellType=WBRAIN control=STD sex=U strain=C57BL6
type bigWig 0.110000 18.080000
color 105,105,105
viewLimits 0.2:3
# subId=5364 dateSubmitted=2011-12-23
track wgEncodeLicrHistoneLiverInputUE14halfC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel Lv 14.5 Input
longLabel Liver E14.5 Input Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=E14HALF factor=INPUT cellType=LIVER control=STD sex=U strain=C57BL6
type bigWig 0.130000 48.360001
color 230,159,0
# subId=5627 dateSubmitted=2012-02-13
track wgEncodeLicrHistoneLiverH3k27acUE14halfC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel Lv 14.5 H3K27a
longLabel Liver E14.5 H3K27ac Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=E14HALF factor=H3K27AC cellType=LIVER control=STD sex=U strain=C57BL6
type bigWig 0.100000 59.410000
color 230,159,0
viewLimits 0.2:5
# subId=5670 dateSubmitted=2012-02-14
track wgEncodeLicrHistoneLiverH3k04me1UE14halfC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel Lv 14.5 H3K4m1
longLabel Liver E14.5 H3K4me1 Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=E14HALF factor=H3K04ME1 cellType=LIVER control=STD sex=U strain=C57BL6
type bigWig 0.120000 12.900000
color 230,159,0
viewLimits 0.2:3
# subId=5671 dateSubmitted=2012-02-15
track wgEncodeLicrHistoneLiverH3k04me3UE14halfC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel Lv 14.5 H3K4m3
longLabel Liver E14.5 H3K4me3 Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=E14HALF factor=H3K04ME3 cellType=LIVER control=STD sex=U strain=C57BL6
type bigWig 0.140000 58.919998
color 230,159,0
viewLimits 0.2:10
# subId=5672 dateSubmitted=2012-02-14
track wgEncodeLicrHistoneBatInputMAdult24wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel BAT 24w Input
longLabel BAT 24w Input Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=2ADULT24WKS factor=INPUT cellType=BAT control=STD sex=M strain=C57BL6
type bigWig 0.100000 50.900002
color 189,0,157
# subId=5974 dateSubmitted=2012-03-01
track wgEncodeLicrHistoneBatH3k04me1MAdult24wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel BAT 24w H3K4m1
longLabel BAT 24w H3K4me1 Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=2ADULT24WKS factor=H3K04ME1 cellType=BAT control=STD sex=M strain=C57BL6
type bigWig 0.130000 14.560000
color 189,0,157
viewLimits 0.2:3
# subId=5970 dateSubmitted=2012-03-01
track wgEncodeLicrHistoneBatH3k04me3MAdult24wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel BAT 24w H3K4m3
longLabel BAT 24w H3K4me3 Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=2ADULT24WKS factor=H3K04ME3 cellType=BAT control=STD sex=M strain=C57BL6
type bigWig 0.160000 60.709999
color 189,0,157
viewLimits 0.2:10
# subId=5971 dateSubmitted=2012-03-01
track wgEncodeLicrHistoneBatH3k27acMAdult24wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel BAT 24w H3K27a
longLabel BAT 24w H3K27ac Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=2ADULT24WKS factor=H3K27AC cellType=BAT control=STD sex=M strain=C57BL6
type bigWig 0.110000 46.150002
color 189,0,157
viewLimits 0.2:5
# subId=5972 dateSubmitted=2012-03-01
track wgEncodeLicrHistoneLiverH3k79me2MAdult8wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal
shortLabel Lv 8w H3K79m2
longLabel Liver 8w H3K79me2 Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=1ADULT8WKS factor=H3K79ME2 cellType=LIVER control=STD sex=M strain=C57BL6
type bigWig 0.120000 51.799999
color 230,159,0
viewLimits 0.2:3
# subId=5911 dateSubmitted=2012-02-28
track wgEncodeLicrHistoneLiverH3k36me3MAdult8wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal
shortLabel Lv 8w H3K36m3
longLabel Liver 8w H3K36me3 Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=1ADULT8WKS factor=H3K36ME3 cellType=LIVER control=STD sex=M strain=C57BL6
type bigWig 0.120000 21.610001
color 230,159,0
viewLimits 0.2:3
# subId=5908 dateSubmitted=2012-02-28
track wgEncodeLicrHistoneLiverH3k27me3MAdult8wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal
shortLabel Lv 8w H3K27m3
longLabel Liver 8w H3K27me3 Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=1ADULT8WKS factor=H3K27ME3 cellType=LIVER control=STD sex=M strain=C57BL6
type bigWig 0.130000 64.220001
color 230,159,0
viewLimits 0.2:2
# subId=5907 dateSubmitted=2012-02-28
track wgEncodeLicrHistoneLiverH3k09acMAdult8wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal
shortLabel Lv 8w H3K9a
longLabel Liver 8w H3K9ac Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=1ADULT8WKS factor=H3K09AC cellType=LIVER control=STD sex=M strain=C57BL6
type bigWig 0.110000 42.980000
color 230,159,0
viewLimits 0.2:5
# subId=5905 dateSubmitted=2012-02-28
track wgEncodeLicrHistoneHeartH3k79me2MAdult8wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal
shortLabel Ht 8w H3K79m2
longLabel Heart 8w H3K79me2 Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=1ADULT8WKS factor=H3K79ME2 cellType=HEART control=STD sex=M strain=C57BL6
type bigWig 0.110000 40.750000
color 153,38,0
viewLimits 0.2:3
# subId=5903 dateSubmitted=2012-02-28
track wgEncodeLicrHistoneHeartH3k36me3MAdult8wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal
shortLabel Ht 8w H3K36m3
longLabel Heart 8w H3K36me3 Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=1ADULT8WKS factor=H3K36ME3 cellType=HEART control=STD sex=M strain=C57BL6
type bigWig 0.110000 18.590000
color 153,38,0
viewLimits 0.2:3
# subId=5902 dateSubmitted=2012-02-28
track wgEncodeLicrHistoneHeartH3k27me3MAdult8wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal
shortLabel Ht 8w H3K27m3
longLabel Heart 8w H3K27me3 Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=1ADULT8WKS factor=H3K27ME3 cellType=HEART control=STD sex=M strain=C57BL6
type bigWig 0.140000 52.110001
color 153,38,0
viewLimits 0.2:2
# subId=5900 dateSubmitted=2012-02-28
track wgEncodeLicrHistoneHeartH3k09acMAdult8wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal
shortLabel Ht 8w H3K9a
longLabel Heart 8w H3K9ac Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=1ADULT8WKS factor=H3K09AC cellType=HEART control=STD sex=M strain=C57BL6
type bigWig 0.130000 32.660000
color 153,38,0
viewLimits 0.2:5
# subId=5899 dateSubmitted=2012-02-28
track wgEncodeLicrHistoneMelInputMImmortalC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel MEL Input
longLabel MEL Input Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=IMMORTAL factor=INPUT cellType=MEL control=STD sex=M strain=C57BL6
type bigWig 0.150000 92.559998
color 86,180,233
# subId=5957 dateSubmitted=2012-02-29
track wgEncodeLicrHistoneMelH3k04me3MImmortalC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal
shortLabel MEL H3K4m3
longLabel MEL H3K4me3 Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=IMMORTAL factor=H3K04ME3 cellType=MEL control=STD sex=M strain=C57BL6
type bigWig 0.110000 82.040001
color 86,180,233
viewLimits 0.2:10
# subId=5916 dateSubmitted=2012-02-29
track wgEncodeLicrHistoneMelH3k27acMImmortalC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal
shortLabel MEL H3K27a
longLabel MEL H3K27ac Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=IMMORTAL factor=H3K27AC cellType=MEL control=STD sex=M strain=C57BL6
type bigWig 0.150000 73.129997
color 86,180,233
viewLimits 0.2:5
# subId=5915 dateSubmitted=2012-02-29
track wgEncodeLicrHistoneMelH3k04me1MImmortalC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal
shortLabel MEL H3K4m1
longLabel MEL H3K4me1 Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=IMMORTAL factor=H3K04ME1 cellType=MEL control=STD sex=M strain=C57BL6
type bigWig 0.150000 33.680000
color 86,180,233
viewLimits 0.2:3
# subId=5914 dateSubmitted=2012-02-29
track wgEncodeLicrHistoneMelH3k09acMImmortalC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal
shortLabel MEL H3K9a
longLabel MEL H3K9ac Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=IMMORTAL factor=H3K09AC cellType=MEL control=STD sex=M strain=C57BL6
type bigWig 0.130000 69.959999
color 86,180,233
viewLimits 0.2:5
# subId=5912 dateSubmitted=2012-02-28
track wgEncodeLicrHistoneMelH3k79me2MImmortalC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal
shortLabel MEL H3K79m2
longLabel MEL H3K79me2 Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=IMMORTAL factor=H3K79ME2 cellType=MEL control=STD sex=M strain=C57BL6
type bigWig 0.110000 44.459999
color 86,180,233
viewLimits 0.2:3
# subId=5910 dateSubmitted=2012-02-28
track wgEncodeLicrHistoneMelH3k36me3MImmortalC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal
shortLabel MEL H3K36m3
longLabel MEL H3K36me3 Histone Modifications by H3K36me3 ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=IMMORTAL factor=H3K36ME3 cellType=MEL control=STD sex=M strain=C57BL6
type bigWig 0.110000 21.510000
color 86,180,233
viewLimits 0.2:3
# subId=5909 dateSubmitted=2012-02-28
track wgEncodeLicrHistoneMelH3k27me3MImmortalC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal
shortLabel MEL H3K27m3
longLabel MEL Histone Modifications by H3K27me3 ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=IMMORTAL factor=H3K27ME3 cellType=MEL control=STD sex=M strain=C57BL6
type bigWig 0.110000 35.549999
color 86,180,233
viewLimits 0.2:2
# subId=5906 dateSubmitted=2012-02-28
track wgEncodeLicrHistoneBmdmH3k04me3FAdult8wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel BMDM 8w H3K4m3
longLabel BMDM 8w H3K4me3 Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=1ADULT8WKS factor=H3K04ME3 cellType=1BMDM control=STD sex=F strain=C57BL6
type bigWig 0.110000 77.830002
color 86,180,233
viewLimits 0.2:10
# subId=5963 dateSubmitted=2012-03-10
track wgEncodeLicrHistoneBmdmH3k27acFAdult8wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel BMDM 8w H3K27a
longLabel BMDM 8w H3K27ac Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=1ADULT8WKS factor=H3K27AC cellType=1BMDM control=STD sex=F strain=C57BL6
type bigWig 0.110000 57.849998
color 86,180,233
viewLimits 0.2:5
# subId=5964 dateSubmitted=2012-03-10
track wgEncodeLicrHistoneBmdmH3k04me1FAdult8wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel BMDM 8w H3K4m1
longLabel BMDM 8w H3K4me1 Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=1ADULT8WKS factor=H3K04ME1 cellType=1BMDM control=STD sex=F strain=C57BL6
type bigWig 0.110000 9.030000
color 86,180,233
viewLimits 0.2:3
# subId=5965 dateSubmitted=2012-03-10
track wgEncodeLicrHistoneBmdmInputFAdult8wksC57bl6StdSig
parent wgEncodeLicrHistoneViewSignal off
shortLabel BMDM 8w Input
longLabel BMDM 8w Input Histone Modifications by ChIP-seq Signal from ENCODE/LICR
subGroups view=Signal age=1ADULT8WKS factor=INPUT cellType=1BMDM control=STD sex=F strain=C57BL6
type bigWig 0.140000 48.919998
color 86,180,233
# subId=5968 dateSubmitted=2012-03-10
| {
"pile_set_name": "Github"
} |
/*
* SPEAr6xx machines clock framework source file
*
* Copyright (C) 2012 ST Microelectronics
* Viresh Kumar <[email protected]>
*
* This file is licensed under the terms of the GNU General Public
* License version 2. This program is licensed "as is" without any
* warranty of any kind, whether express or implied.
*/
#include <linux/clk.h>
#include <linux/clkdev.h>
#include <linux/io.h>
#include <linux/spinlock_types.h>
#include "clk.h"
static DEFINE_SPINLOCK(_lock);
#define PLL1_CTR (misc_base + 0x008)
#define PLL1_FRQ (misc_base + 0x00C)
#define PLL2_CTR (misc_base + 0x014)
#define PLL2_FRQ (misc_base + 0x018)
#define PLL_CLK_CFG (misc_base + 0x020)
/* PLL_CLK_CFG register masks */
#define MCTR_CLK_SHIFT 28
#define MCTR_CLK_MASK 3
#define CORE_CLK_CFG (misc_base + 0x024)
/* CORE CLK CFG register masks */
#define HCLK_RATIO_SHIFT 10
#define HCLK_RATIO_MASK 2
#define PCLK_RATIO_SHIFT 8
#define PCLK_RATIO_MASK 2
#define PERIP_CLK_CFG (misc_base + 0x028)
/* PERIP_CLK_CFG register masks */
#define CLCD_CLK_SHIFT 2
#define CLCD_CLK_MASK 2
#define UART_CLK_SHIFT 4
#define UART_CLK_MASK 1
#define FIRDA_CLK_SHIFT 5
#define FIRDA_CLK_MASK 2
#define GPT0_CLK_SHIFT 8
#define GPT1_CLK_SHIFT 10
#define GPT2_CLK_SHIFT 11
#define GPT3_CLK_SHIFT 12
#define GPT_CLK_MASK 1
#define PERIP1_CLK_ENB (misc_base + 0x02C)
/* PERIP1_CLK_ENB register masks */
#define UART0_CLK_ENB 3
#define UART1_CLK_ENB 4
#define SSP0_CLK_ENB 5
#define SSP1_CLK_ENB 6
#define I2C_CLK_ENB 7
#define JPEG_CLK_ENB 8
#define FSMC_CLK_ENB 9
#define FIRDA_CLK_ENB 10
#define GPT2_CLK_ENB 11
#define GPT3_CLK_ENB 12
#define GPIO2_CLK_ENB 13
#define SSP2_CLK_ENB 14
#define ADC_CLK_ENB 15
#define GPT1_CLK_ENB 11
#define RTC_CLK_ENB 17
#define GPIO1_CLK_ENB 18
#define DMA_CLK_ENB 19
#define SMI_CLK_ENB 21
#define CLCD_CLK_ENB 22
#define GMAC_CLK_ENB 23
#define USBD_CLK_ENB 24
#define USBH0_CLK_ENB 25
#define USBH1_CLK_ENB 26
#define PRSC0_CLK_CFG (misc_base + 0x044)
#define PRSC1_CLK_CFG (misc_base + 0x048)
#define PRSC2_CLK_CFG (misc_base + 0x04C)
#define CLCD_CLK_SYNT (misc_base + 0x05C)
#define FIRDA_CLK_SYNT (misc_base + 0x060)
#define UART_CLK_SYNT (misc_base + 0x064)
/* vco rate configuration table, in ascending order of rates */
static struct pll_rate_tbl pll_rtbl[] = {
{.mode = 0, .m = 0x53, .n = 0x0F, .p = 0x1}, /* vco 332 & pll 166 MHz */
{.mode = 0, .m = 0x85, .n = 0x0F, .p = 0x1}, /* vco 532 & pll 266 MHz */
{.mode = 0, .m = 0xA6, .n = 0x0F, .p = 0x1}, /* vco 664 & pll 332 MHz */
};
/* aux rate configuration table, in ascending order of rates */
static struct aux_rate_tbl aux_rtbl[] = {
/* For PLL1 = 332 MHz */
{.xscale = 2, .yscale = 27, .eq = 0}, /* 12.296 MHz */
{.xscale = 2, .yscale = 8, .eq = 0}, /* 41.5 MHz */
{.xscale = 2, .yscale = 4, .eq = 0}, /* 83 MHz */
{.xscale = 1, .yscale = 2, .eq = 1}, /* 166 MHz */
};
static const char *clcd_parents[] = { "pll3_clk", "clcd_syn_gclk", };
static const char *firda_parents[] = { "pll3_clk", "firda_syn_gclk", };
static const char *uart_parents[] = { "pll3_clk", "uart_syn_gclk", };
static const char *gpt0_1_parents[] = { "pll3_clk", "gpt0_1_syn_clk", };
static const char *gpt2_parents[] = { "pll3_clk", "gpt2_syn_clk", };
static const char *gpt3_parents[] = { "pll3_clk", "gpt3_syn_clk", };
static const char *ddr_parents[] = { "ahb_clk", "ahbmult2_clk", "none",
"pll2_clk", };
/* gpt rate configuration table, in ascending order of rates */
static struct gpt_rate_tbl gpt_rtbl[] = {
/* For pll1 = 332 MHz */
{.mscale = 4, .nscale = 0}, /* 41.5 MHz */
{.mscale = 2, .nscale = 0}, /* 55.3 MHz */
{.mscale = 1, .nscale = 0}, /* 83 MHz */
};
void __init spear6xx_clk_init(void __iomem *misc_base)
{
struct clk *clk, *clk1;
clk = clk_register_fixed_rate(NULL, "osc_32k_clk", NULL, CLK_IS_ROOT,
32000);
clk_register_clkdev(clk, "osc_32k_clk", NULL);
clk = clk_register_fixed_rate(NULL, "osc_30m_clk", NULL, CLK_IS_ROOT,
30000000);
clk_register_clkdev(clk, "osc_30m_clk", NULL);
/* clock derived from 32 KHz osc clk */
clk = clk_register_gate(NULL, "rtc_spear", "osc_32k_clk", 0,
PERIP1_CLK_ENB, RTC_CLK_ENB, 0, &_lock);
clk_register_clkdev(clk, NULL, "rtc-spear");
/* clock derived from 30 MHz osc clk */
clk = clk_register_fixed_rate(NULL, "pll3_clk", "osc_24m_clk", 0,
48000000);
clk_register_clkdev(clk, "pll3_clk", NULL);
clk = clk_register_vco_pll("vco1_clk", "pll1_clk", NULL, "osc_30m_clk",
0, PLL1_CTR, PLL1_FRQ, pll_rtbl, ARRAY_SIZE(pll_rtbl),
&_lock, &clk1, NULL);
clk_register_clkdev(clk, "vco1_clk", NULL);
clk_register_clkdev(clk1, "pll1_clk", NULL);
clk = clk_register_vco_pll("vco2_clk", "pll2_clk", NULL, "osc_30m_clk",
0, PLL2_CTR, PLL2_FRQ, pll_rtbl, ARRAY_SIZE(pll_rtbl),
&_lock, &clk1, NULL);
clk_register_clkdev(clk, "vco2_clk", NULL);
clk_register_clkdev(clk1, "pll2_clk", NULL);
clk = clk_register_fixed_factor(NULL, "wdt_clk", "osc_30m_clk", 0, 1,
1);
clk_register_clkdev(clk, NULL, "wdt");
/* clock derived from pll1 clk */
clk = clk_register_fixed_factor(NULL, "cpu_clk", "pll1_clk",
CLK_SET_RATE_PARENT, 1, 1);
clk_register_clkdev(clk, "cpu_clk", NULL);
clk = clk_register_divider(NULL, "ahb_clk", "pll1_clk",
CLK_SET_RATE_PARENT, CORE_CLK_CFG, HCLK_RATIO_SHIFT,
HCLK_RATIO_MASK, 0, &_lock);
clk_register_clkdev(clk, "ahb_clk", NULL);
clk = clk_register_aux("uart_syn_clk", "uart_syn_gclk", "pll1_clk", 0,
UART_CLK_SYNT, NULL, aux_rtbl, ARRAY_SIZE(aux_rtbl),
&_lock, &clk1);
clk_register_clkdev(clk, "uart_syn_clk", NULL);
clk_register_clkdev(clk1, "uart_syn_gclk", NULL);
clk = clk_register_mux(NULL, "uart_mclk", uart_parents,
ARRAY_SIZE(uart_parents), CLK_SET_RATE_NO_REPARENT,
PERIP_CLK_CFG, UART_CLK_SHIFT, UART_CLK_MASK, 0,
&_lock);
clk_register_clkdev(clk, "uart_mclk", NULL);
clk = clk_register_gate(NULL, "uart0", "uart_mclk", 0, PERIP1_CLK_ENB,
UART0_CLK_ENB, 0, &_lock);
clk_register_clkdev(clk, NULL, "d0000000.serial");
clk = clk_register_gate(NULL, "uart1", "uart_mclk", 0, PERIP1_CLK_ENB,
UART1_CLK_ENB, 0, &_lock);
clk_register_clkdev(clk, NULL, "d0080000.serial");
clk = clk_register_aux("firda_syn_clk", "firda_syn_gclk", "pll1_clk",
0, FIRDA_CLK_SYNT, NULL, aux_rtbl, ARRAY_SIZE(aux_rtbl),
&_lock, &clk1);
clk_register_clkdev(clk, "firda_syn_clk", NULL);
clk_register_clkdev(clk1, "firda_syn_gclk", NULL);
clk = clk_register_mux(NULL, "firda_mclk", firda_parents,
ARRAY_SIZE(firda_parents), CLK_SET_RATE_NO_REPARENT,
PERIP_CLK_CFG, FIRDA_CLK_SHIFT, FIRDA_CLK_MASK, 0,
&_lock);
clk_register_clkdev(clk, "firda_mclk", NULL);
clk = clk_register_gate(NULL, "firda_clk", "firda_mclk", 0,
PERIP1_CLK_ENB, FIRDA_CLK_ENB, 0, &_lock);
clk_register_clkdev(clk, NULL, "firda");
clk = clk_register_aux("clcd_syn_clk", "clcd_syn_gclk", "pll1_clk",
0, CLCD_CLK_SYNT, NULL, aux_rtbl, ARRAY_SIZE(aux_rtbl),
&_lock, &clk1);
clk_register_clkdev(clk, "clcd_syn_clk", NULL);
clk_register_clkdev(clk1, "clcd_syn_gclk", NULL);
clk = clk_register_mux(NULL, "clcd_mclk", clcd_parents,
ARRAY_SIZE(clcd_parents), CLK_SET_RATE_NO_REPARENT,
PERIP_CLK_CFG, CLCD_CLK_SHIFT, CLCD_CLK_MASK, 0,
&_lock);
clk_register_clkdev(clk, "clcd_mclk", NULL);
clk = clk_register_gate(NULL, "clcd_clk", "clcd_mclk", 0,
PERIP1_CLK_ENB, CLCD_CLK_ENB, 0, &_lock);
clk_register_clkdev(clk, NULL, "clcd");
/* gpt clocks */
clk = clk_register_gpt("gpt0_1_syn_clk", "pll1_clk", 0, PRSC0_CLK_CFG,
gpt_rtbl, ARRAY_SIZE(gpt_rtbl), &_lock);
clk_register_clkdev(clk, "gpt0_1_syn_clk", NULL);
clk = clk_register_mux(NULL, "gpt0_mclk", gpt0_1_parents,
ARRAY_SIZE(gpt0_1_parents), CLK_SET_RATE_NO_REPARENT,
PERIP_CLK_CFG, GPT0_CLK_SHIFT, GPT_CLK_MASK, 0, &_lock);
clk_register_clkdev(clk, NULL, "gpt0");
clk = clk_register_mux(NULL, "gpt1_mclk", gpt0_1_parents,
ARRAY_SIZE(gpt0_1_parents), CLK_SET_RATE_NO_REPARENT,
PERIP_CLK_CFG, GPT1_CLK_SHIFT, GPT_CLK_MASK, 0, &_lock);
clk_register_clkdev(clk, "gpt1_mclk", NULL);
clk = clk_register_gate(NULL, "gpt1_clk", "gpt1_mclk", 0,
PERIP1_CLK_ENB, GPT1_CLK_ENB, 0, &_lock);
clk_register_clkdev(clk, NULL, "gpt1");
clk = clk_register_gpt("gpt2_syn_clk", "pll1_clk", 0, PRSC1_CLK_CFG,
gpt_rtbl, ARRAY_SIZE(gpt_rtbl), &_lock);
clk_register_clkdev(clk, "gpt2_syn_clk", NULL);
clk = clk_register_mux(NULL, "gpt2_mclk", gpt2_parents,
ARRAY_SIZE(gpt2_parents), CLK_SET_RATE_NO_REPARENT,
PERIP_CLK_CFG, GPT2_CLK_SHIFT, GPT_CLK_MASK, 0, &_lock);
clk_register_clkdev(clk, "gpt2_mclk", NULL);
clk = clk_register_gate(NULL, "gpt2_clk", "gpt2_mclk", 0,
PERIP1_CLK_ENB, GPT2_CLK_ENB, 0, &_lock);
clk_register_clkdev(clk, NULL, "gpt2");
clk = clk_register_gpt("gpt3_syn_clk", "pll1_clk", 0, PRSC2_CLK_CFG,
gpt_rtbl, ARRAY_SIZE(gpt_rtbl), &_lock);
clk_register_clkdev(clk, "gpt3_syn_clk", NULL);
clk = clk_register_mux(NULL, "gpt3_mclk", gpt3_parents,
ARRAY_SIZE(gpt3_parents), CLK_SET_RATE_NO_REPARENT,
PERIP_CLK_CFG, GPT3_CLK_SHIFT, GPT_CLK_MASK, 0, &_lock);
clk_register_clkdev(clk, "gpt3_mclk", NULL);
clk = clk_register_gate(NULL, "gpt3_clk", "gpt3_mclk", 0,
PERIP1_CLK_ENB, GPT3_CLK_ENB, 0, &_lock);
clk_register_clkdev(clk, NULL, "gpt3");
/* clock derived from pll3 clk */
clk = clk_register_gate(NULL, "usbh0_clk", "pll3_clk", 0,
PERIP1_CLK_ENB, USBH0_CLK_ENB, 0, &_lock);
clk_register_clkdev(clk, NULL, "e1800000.ehci");
clk_register_clkdev(clk, NULL, "e1900000.ohci");
clk = clk_register_gate(NULL, "usbh1_clk", "pll3_clk", 0,
PERIP1_CLK_ENB, USBH1_CLK_ENB, 0, &_lock);
clk_register_clkdev(clk, NULL, "e2000000.ehci");
clk_register_clkdev(clk, NULL, "e2100000.ohci");
clk = clk_register_gate(NULL, "usbd_clk", "pll3_clk", 0, PERIP1_CLK_ENB,
USBD_CLK_ENB, 0, &_lock);
clk_register_clkdev(clk, NULL, "designware_udc");
/* clock derived from ahb clk */
clk = clk_register_fixed_factor(NULL, "ahbmult2_clk", "ahb_clk", 0, 2,
1);
clk_register_clkdev(clk, "ahbmult2_clk", NULL);
clk = clk_register_mux(NULL, "ddr_clk", ddr_parents,
ARRAY_SIZE(ddr_parents), CLK_SET_RATE_NO_REPARENT,
PLL_CLK_CFG, MCTR_CLK_SHIFT, MCTR_CLK_MASK, 0, &_lock);
clk_register_clkdev(clk, "ddr_clk", NULL);
clk = clk_register_divider(NULL, "apb_clk", "ahb_clk",
CLK_SET_RATE_PARENT, CORE_CLK_CFG, PCLK_RATIO_SHIFT,
PCLK_RATIO_MASK, 0, &_lock);
clk_register_clkdev(clk, "apb_clk", NULL);
clk = clk_register_gate(NULL, "dma_clk", "ahb_clk", 0, PERIP1_CLK_ENB,
DMA_CLK_ENB, 0, &_lock);
clk_register_clkdev(clk, NULL, "fc400000.dma");
clk = clk_register_gate(NULL, "fsmc_clk", "ahb_clk", 0, PERIP1_CLK_ENB,
FSMC_CLK_ENB, 0, &_lock);
clk_register_clkdev(clk, NULL, "d1800000.flash");
clk = clk_register_gate(NULL, "gmac_clk", "ahb_clk", 0, PERIP1_CLK_ENB,
GMAC_CLK_ENB, 0, &_lock);
clk_register_clkdev(clk, NULL, "e0800000.ethernet");
clk = clk_register_gate(NULL, "i2c_clk", "ahb_clk", 0, PERIP1_CLK_ENB,
I2C_CLK_ENB, 0, &_lock);
clk_register_clkdev(clk, NULL, "d0200000.i2c");
clk = clk_register_gate(NULL, "jpeg_clk", "ahb_clk", 0, PERIP1_CLK_ENB,
JPEG_CLK_ENB, 0, &_lock);
clk_register_clkdev(clk, NULL, "jpeg");
clk = clk_register_gate(NULL, "smi_clk", "ahb_clk", 0, PERIP1_CLK_ENB,
SMI_CLK_ENB, 0, &_lock);
clk_register_clkdev(clk, NULL, "fc000000.flash");
/* clock derived from apb clk */
clk = clk_register_gate(NULL, "adc_clk", "apb_clk", 0, PERIP1_CLK_ENB,
ADC_CLK_ENB, 0, &_lock);
clk_register_clkdev(clk, NULL, "adc");
clk = clk_register_fixed_factor(NULL, "gpio0_clk", "apb_clk", 0, 1, 1);
clk_register_clkdev(clk, NULL, "f0100000.gpio");
clk = clk_register_gate(NULL, "gpio1_clk", "apb_clk", 0, PERIP1_CLK_ENB,
GPIO1_CLK_ENB, 0, &_lock);
clk_register_clkdev(clk, NULL, "fc980000.gpio");
clk = clk_register_gate(NULL, "gpio2_clk", "apb_clk", 0, PERIP1_CLK_ENB,
GPIO2_CLK_ENB, 0, &_lock);
clk_register_clkdev(clk, NULL, "d8100000.gpio");
clk = clk_register_gate(NULL, "ssp0_clk", "apb_clk", 0, PERIP1_CLK_ENB,
SSP0_CLK_ENB, 0, &_lock);
clk_register_clkdev(clk, NULL, "ssp-pl022.0");
clk = clk_register_gate(NULL, "ssp1_clk", "apb_clk", 0, PERIP1_CLK_ENB,
SSP1_CLK_ENB, 0, &_lock);
clk_register_clkdev(clk, NULL, "ssp-pl022.1");
clk = clk_register_gate(NULL, "ssp2_clk", "apb_clk", 0, PERIP1_CLK_ENB,
SSP2_CLK_ENB, 0, &_lock);
clk_register_clkdev(clk, NULL, "ssp-pl022.2");
}
| {
"pile_set_name": "Github"
} |
require('../../modules/es6.regexp.search');
var SEARCH = require('../../modules/_wks')('search');
module.exports = function(it, str){
return RegExp.prototype[SEARCH].call(it, str);
}; | {
"pile_set_name": "Github"
} |
/*
* Licensed to GraphHopper GmbH under one or more contributor
* license agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
*
* GraphHopper GmbH licenses this file to you 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 writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.graphhopper.coll;
import com.carrotsearch.hppc.HashOrderMixingStrategy;
import com.carrotsearch.hppc.LongObjectHashMap;
import static com.graphhopper.coll.GHIntObjectHashMap.DETERMINISTIC;
/**
* @author Peter Karich
*/
public class GHLongObjectHashMap<T> extends LongObjectHashMap<T> {
public GHLongObjectHashMap() {
super(10, 0.75, DETERMINISTIC);
}
public GHLongObjectHashMap(int capacity) {
super(capacity, 0.75, DETERMINISTIC);
}
public GHLongObjectHashMap(int capacity, double loadFactor) {
super(capacity, loadFactor, DETERMINISTIC);
}
public GHLongObjectHashMap(int capacity, double loadFactor, HashOrderMixingStrategy hashOrderMixer) {
super(capacity, loadFactor, hashOrderMixer);
}
}
| {
"pile_set_name": "Github"
} |
<html>
<head>
<meta HTTP-EQUIV="Content-Type" Content="text/html; charset=Windows-1252">
<title ID=titletext></title>
</head>
<body bgcolor=white>
</body>
</html>
| {
"pile_set_name": "Github"
} |
//===----------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
// <complex>
// template<class T>
// complex<T>
// exp(const complex<T>& x);
#include <complex>
#include <cassert>
#include "../cases.h"
template <class T>
void
test(const std::complex<T>& c, std::complex<T> x)
{
assert(exp(c) == x);
}
template <class T>
void
test()
{
test(std::complex<T>(0, 0), std::complex<T>(1, 0));
}
void test_edges()
{
const unsigned N = sizeof(testcases) / sizeof(testcases[0]);
for (unsigned i = 0; i < N; ++i)
{
std::complex<double> r = exp(testcases[i]);
if (testcases[i].real() == 0 && testcases[i].imag() == 0)
{
assert(r.real() == 1.0);
assert(r.imag() == 0);
assert(std::signbit(testcases[i].imag()) == std::signbit(r.imag()));
}
else if (std::isfinite(testcases[i].real()) && std::isinf(testcases[i].imag()))
{
assert(std::isnan(r.real()));
assert(std::isnan(r.imag()));
}
else if (std::isfinite(testcases[i].real()) && std::isnan(testcases[i].imag()))
{
assert(std::isnan(r.real()));
assert(std::isnan(r.imag()));
}
else if (std::isinf(testcases[i].real()) && testcases[i].real() > 0 && testcases[i].imag() == 0)
{
assert(std::isinf(r.real()));
assert(r.real() > 0);
assert(r.imag() == 0);
assert(std::signbit(testcases[i].imag()) == std::signbit(r.imag()));
}
else if (std::isinf(testcases[i].real()) && testcases[i].real() < 0 && std::isinf(testcases[i].imag()))
{
assert(r.real() == 0);
assert(r.imag() == 0);
}
else if (std::isinf(testcases[i].real()) && testcases[i].real() > 0 && std::isinf(testcases[i].imag()))
{
assert(std::isinf(r.real()));
assert(std::isnan(r.imag()));
}
else if (std::isinf(testcases[i].real()) && testcases[i].real() < 0 && std::isnan(testcases[i].imag()))
{
assert(r.real() == 0);
assert(r.imag() == 0);
}
else if (std::isinf(testcases[i].real()) && testcases[i].real() > 0 && std::isnan(testcases[i].imag()))
{
assert(std::isinf(r.real()));
assert(std::isnan(r.imag()));
}
else if (std::isnan(testcases[i].real()) && testcases[i].imag() == 0)
{
assert(std::isnan(r.real()));
assert(r.imag() == 0);
assert(std::signbit(testcases[i].imag()) == std::signbit(r.imag()));
}
else if (std::isnan(testcases[i].real()) && testcases[i].imag() != 0)
{
assert(std::isnan(r.real()));
assert(std::isnan(r.imag()));
}
else if (std::isnan(testcases[i].real()) && std::isnan(testcases[i].imag()))
{
assert(std::isnan(r.real()));
assert(std::isnan(r.imag()));
}
else if (std::isfinite(testcases[i].imag()) && std::abs(testcases[i].imag()) <= 1)
{
assert(!std::signbit(r.real()));
assert(std::signbit(r.imag()) == std::signbit(testcases[i].imag()));
}
}
}
int main(int, char**)
{
test<float>();
test<double>();
test<long double>();
test_edges();
return 0;
}
| {
"pile_set_name": "Github"
} |
#
# A simple Makefile
#
######
PATSHOMEQ="$(PATSHOME)"
######
PATSCC=$(PATSHOMEQ)/bin/patscc
PATSOPT=$(PATSHOMEQ)/bin/patsopt
######
INCLUDES=-I$(PATSHOME) -I$(PATSHOME)/ccomp/runtime
######
CCFLAGS=-O2
ATSCCFLAGS=-D_GNU_SOURCE -DATS_MEMALLOC_LIBC
######
all:: misc
all:: brauntest
all:: insort
all:: counter
all:: permord
all:: montecarlo
all:: hello
all:: echoline
######
misc: misc_dats.c ; \
$(PATSCC) $(ATSCCFLAGS) $(INCLUDES) $(CCFLAGS) -o $@ $< || echo $@ ": ERROR!!!"
regress:: misc ; ./misc
cleanall:: ; $(RMF) misc
######
brauntest: \
brauntest_dats.c ; \
$(PATSCC) $(ATSCCFLAGS) $(INCLUDES) $(CCFLAGS) -o $@ $< || echo $@ ": ERROR!!!"
regress:: brauntest ; ./brauntest
cleanall:: ; $(RMF) brauntest
######
counter: counter_dats.c ; \
$(PATSCC) $(ATSCCFLAGS) $(INCLUDES) $(CCFLAGS) -o $@ $< || echo $@ ": ERROR!!!"
regress:: counter ; ./counter
cleanall:: ; $(RMF) counter
######
insort: insort_dats.c ; \
$(PATSCC) $(ATSCCFLAGS) $(INCLUDES) $(CCFLAGS) -o $@ $< || echo $@ ": ERROR!!!"
regress:: insort ; ./insort
cleanall:: ; $(RMF) insort
######
permord: permord_dats.c ; \
$(PATSCC) $(ATSCCFLAGS) $(INCLUDES) $(CCFLAGS) -o $@ $< || echo $@ ": ERROR!!!"
regress:: permord ; ./permord
cleanall:: ; $(RMF) permord
######
montecarlo: \
montecarlo_dats.c ; \
$(PATSCC) $(ATSCCFLAGS) $(INCLUDES) $(CCFLAGS) -o $@ $< -lm || echo $@ ": ERROR!!!"
regress:: montecarlo ; ./montecarlo
cleanall:: ; $(RMF) montecarlo
######
hello: hello_dats.c ; \
$(PATSCC) $(ATSCCFLAGS) $(INCLUDES) $(CCFLAGS) -o $@ $< || echo $@ ": ERROR!!!"
regress:: hello ; ./hello
cleanall:: ; $(RMF) hello hello.txt
######
echoline: \
echoline_dats.c ; \
$(PATSCC) $(ATSCCFLAGS) $(INCLUDES) $(CCFLAGS) -o $@ $< -latslib || echo $@ ": ERROR!!!"
regress:: echoline ; $(CAT) echoline.dats | ./echoline > /dev/null
cleanall:: ; $(RMF) echoline
######
%_dats.c: %.dats ; $(PATSOPT) -o $@ --dynamic $< || echo $@ ": ERROR!!!"
#####
CAT=cat
RMF=rm -f
RMRF=rm -rf
######
clean:: ; $(RMF) *~
clean:: ; $(RMF) *_?ats.c
######
cleanall:: clean
######
###### end of [Makefile] ######
| {
"pile_set_name": "Github"
} |
adaptec-storage-manager-linux-32bit (7.31.18856-2) unstable; urgency=medium
* Use lsb-release to generate unique distribution tag in pkgs version.
* Add alternative for JRE for newer distributions.
-- Adam Cecile <[email protected]> Tue, 02 Jul 2019 21:38:02 +0200
adaptec-storage-manager-linux-32bit (7.31.18856-1) unstable; urgency=low
* New upstream release.
* Rewrite debian/copyright to use new machine readable format.
-- Adam Cรฉcile (Le_Vert) <[email protected]> Tue, 21 Aug 2012 23:28:47 +0200
adaptec-storage-manager-linux-32bit (7.30.18837-1) unstable; urgency=low
* New upstream release (Closes: #91).
* Fix SNMP mib and its README.Debian (Closes: #95).
-- Adam Cรฉcile (Le_Vert) <[email protected]> Sat, 28 Jan 2012 16:43:27 +0100
adaptec-storage-manager-linux-32bit (7.00.18781-1) unstable; urgency=low
* New upstream release (Closes: #28, #29).
* Fix SNMP agent packaging.
-- Adam Cรฉcile (Le_Vert) <[email protected]> Sat, 10 Sep 2011 23:20:24 +0200
adaptec-storage-manager-linux-32bit (6.50.18570-1) unstable; urgency=low
* New upstream release.
* Rewrite most of the packaging to fit current standards.
* Drop Sarge compatibility.
* Force IPV4, IPV6 support is broken.
-- Adam Cรฉcile (Le_Vert) <[email protected]> Wed, 18 Aug 2010 11:37:48 +0200
adaptec-storage-manager-linux-32bit (6.10.18451-1) unstable; urgency=low
* New upstream release.
* Update download link and homepage.
* Update my own copyright statement.
* Bump Standards-Version to 3.8.2.
-- Adam Cรฉcile (Le_Vert) <[email protected]> Fri, 10 Jul 2009 15:08:49 +0200
adaptec-storage-manager-linux-32bit (6.10.18359-1) unstable; urgency=low
* New upstream release.
* New repack target in debian/rules.
* Add libstdc++5 build-dep (required for Lenny build).
* Add libwrap0 build-dep (was missing).
* Two new awesome packages added:
- adaptec-universal-storage-snmpd: contains a connector between SNMP
daemon and Adaptec Storage Manager
- adaptec-universal-storage-mibs: the associated MIB
-- Adam Cรฉcile (Le_Vert) <[email protected]> Fri, 13 Feb 2009 23:54:46 +0100
adaptec-storage-manager-linux-32bit (6.10.18350-1) unstable; urgency=low
* New upstream release.
* Replace libstdc++5-3.3-dev bdep by libstdc++5 rdep (dev packages doesn't
exist anymore in Debian Lenny).
-- Adam Cรฉcile (Le_Vert) <[email protected]> Mon, 22 Dec 2008 21:16:50 +0100
adaptec-storage-manager-linux-32bit (5.20.17414-1) unstable; urgency=low
* Initial release.
-- Adam Cรฉcile (Le_Vert) <[email protected]> Wed, 13 Feb 2008 13:48:34 +0100
| {
"pile_set_name": "Github"
} |
(**************************************************************************)
(* *)
(* OCaml *)
(* *)
(* Xavier Leroy, projet Cristal, INRIA Rocquencourt *)
(* *)
(* Copyright 1996 Institut National de Recherche en Informatique et *)
(* en Automatique. *)
(* *)
(* All rights reserved. This file is distributed under the terms of *)
(* the GNU Lesser General Public License version 2.1, with the *)
(* special exception on linking described in the file LICENSE. *)
(* *)
(**************************************************************************)
(* Compute constructor and label descriptions from type declarations,
determining their representation. *)
open Asttypes
open Types
open Btype
(* Simplified version of Ctype.free_vars *)
let free_vars ?(param=false) ty =
let ret = ref TypeSet.empty in
let rec loop ty =
let ty = repr ty in
if ty.level >= lowest_level then begin
ty.level <- pivot_level - ty.level;
match ty.desc with
| Tvar _ ->
ret := TypeSet.add ty !ret
| Tvariant row ->
let row = row_repr row in
iter_row loop row;
if not (static_row row) then begin
match row.row_more.desc with
| Tvar _ when param -> ret := TypeSet.add ty !ret
| _ -> loop row.row_more
end
(* XXX: What about Tobject ? *)
| _ ->
iter_type_expr loop ty
end
in
loop ty;
unmark_type ty;
!ret
let newgenconstr path tyl = newgenty (Tconstr (path, tyl, ref Mnil))
let constructor_existentials cd_args cd_res =
let tyl =
match cd_args with
| Cstr_tuple l -> l
| Cstr_record l -> List.map (fun l -> l.ld_type) l
in
let existentials =
match cd_res with
| None -> []
| Some type_ret ->
let arg_vars_set = free_vars (newgenty (Ttuple tyl)) in
let res_vars = free_vars type_ret in
TypeSet.elements (TypeSet.diff arg_vars_set res_vars)
in
(tyl, existentials)
let constructor_args priv cd_args cd_res path rep =
let tyl, existentials = constructor_existentials cd_args cd_res in
match cd_args with
| Cstr_tuple l -> existentials, l, None
| Cstr_record lbls ->
let arg_vars_set = free_vars ~param:true (newgenty (Ttuple tyl)) in
let type_params = TypeSet.elements arg_vars_set in
let type_unboxed =
match rep with
| Record_unboxed _ -> unboxed_true_default_false
| _ -> unboxed_false_default_false
in
let tdecl =
{
type_params;
type_arity = List.length type_params;
type_kind = Type_record (lbls, rep);
type_private = priv;
type_manifest = None;
type_variance = List.map (fun _ -> Variance.full) type_params;
type_newtype_level = None;
type_loc = Location.none;
type_attributes = [];
type_immediate = false;
type_unboxed;
}
in
existentials,
[ newgenconstr path type_params ],
Some tdecl
let constructor_descrs ty_path decl cstrs =
let ty_res = newgenconstr ty_path decl.type_params in
let num_consts = ref 0 and num_nonconsts = ref 0 and num_normal = ref 0 in
List.iter
(fun {cd_args; cd_res; _} ->
if cd_args = Cstr_tuple [] then incr num_consts else incr num_nonconsts;
if cd_res = None then incr num_normal)
cstrs;
let rec describe_constructors idx_const idx_nonconst = function
[] -> []
| {cd_id; cd_args; cd_res; cd_loc; cd_attributes} :: rem ->
let ty_res =
match cd_res with
| Some ty_res' -> ty_res'
| None -> ty_res
in
let (tag, descr_rem) =
match cd_args with
| _ when decl.type_unboxed.unboxed ->
assert (rem = []);
(Cstr_unboxed, [])
| Cstr_tuple [] -> (Cstr_constant idx_const,
describe_constructors (idx_const+1) idx_nonconst rem)
| _ -> (Cstr_block idx_nonconst,
describe_constructors idx_const (idx_nonconst+1) rem) in
let cstr_name = Ident.name cd_id in
let existentials, cstr_args, cstr_inlined =
let representation =
if decl.type_unboxed.unboxed
then Record_unboxed true
else Record_inlined idx_nonconst
in
constructor_args decl.type_private cd_args cd_res
(Path.Pdot (ty_path, cstr_name, Path.nopos)) representation
in
let cstr =
{ cstr_name;
cstr_res = ty_res;
cstr_existentials = existentials;
cstr_args;
cstr_arity = List.length cstr_args;
cstr_tag = tag;
cstr_consts = !num_consts;
cstr_nonconsts = !num_nonconsts;
cstr_normal = !num_normal;
cstr_private = decl.type_private;
cstr_generalized = cd_res <> None;
cstr_loc = cd_loc;
cstr_attributes = cd_attributes;
cstr_inlined;
} in
(cd_id, cstr) :: descr_rem in
describe_constructors 0 0 cstrs
let extension_descr path_ext ext =
let ty_res =
match ext.ext_ret_type with
Some type_ret -> type_ret
| None -> newgenconstr ext.ext_type_path ext.ext_type_params
in
let existentials, cstr_args, cstr_inlined =
constructor_args ext.ext_private ext.ext_args ext.ext_ret_type
path_ext Record_extension
in
{ cstr_name = Path.last path_ext;
cstr_res = ty_res;
cstr_existentials = existentials;
cstr_args;
cstr_arity = List.length cstr_args;
cstr_tag = Cstr_extension(path_ext, cstr_args = []);
cstr_consts = -1;
cstr_nonconsts = -1;
cstr_private = ext.ext_private;
cstr_normal = -1;
cstr_generalized = ext.ext_ret_type <> None;
cstr_loc = ext.ext_loc;
cstr_attributes = ext.ext_attributes;
cstr_inlined;
}
let none = {desc = Ttuple []; level = -1; id = -1}
(* Clearly ill-formed type *)
let dummy_label =
{ lbl_name = ""; lbl_res = none; lbl_arg = none; lbl_mut = Immutable;
lbl_pos = (-1); lbl_all = [||]; lbl_repres = Record_regular;
lbl_private = Public;
lbl_loc = Location.none;
lbl_attributes = [];
}
let label_descrs ty_res lbls repres priv =
let all_labels = Array.make (List.length lbls) dummy_label in
let rec describe_labels num = function
[] -> []
| l :: rest ->
let lbl =
{ lbl_name = Ident.name l.ld_id;
lbl_res = ty_res;
lbl_arg = l.ld_type;
lbl_mut = l.ld_mutable;
lbl_pos = num;
lbl_all = all_labels;
lbl_repres = repres;
lbl_private = priv;
lbl_loc = l.ld_loc;
lbl_attributes = l.ld_attributes;
} in
all_labels.(num) <- lbl;
(l.ld_id, lbl) :: describe_labels (num+1) rest in
describe_labels 0 lbls
exception Constr_not_found
let rec find_constr tag num_const num_nonconst = function
[] ->
raise Constr_not_found
| {cd_args = Cstr_tuple []; _} as c :: rem ->
if tag = Cstr_constant num_const
then c
else find_constr tag (num_const + 1) num_nonconst rem
| c :: rem ->
if tag = Cstr_block num_nonconst || tag = Cstr_unboxed
then c
else find_constr tag num_const (num_nonconst + 1) rem
let find_constr_by_tag tag cstrlist =
find_constr tag 0 0 cstrlist
let constructors_of_type ty_path decl =
match decl.type_kind with
| Type_variant cstrs -> constructor_descrs ty_path decl cstrs
| Type_record _ | Type_abstract | Type_open -> []
let labels_of_type ty_path decl =
match decl.type_kind with
| Type_record(labels, rep) ->
label_descrs (newgenconstr ty_path decl.type_params)
labels rep decl.type_private
| Type_variant _ | Type_abstract | Type_open -> []
| {
"pile_set_name": "Github"
} |
// CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: https://codemirror.net/LICENSE
/*
For extra ASP classic objects, initialize CodeMirror instance with this option:
isASP: true
E.G.:
var editor = CodeMirror.fromTextArea(document.getElementById("code"), {
lineNumbers: true,
isASP: true
});
*/
(function(mod) {
if (typeof exports == "object" && typeof module == "object") // CommonJS
mod(require("../../lib/codemirror"));
else if (typeof define == "function" && define.amd) // AMD
define(["../../lib/codemirror"], mod);
else // Plain browser env
mod(CodeMirror);
})(function(CodeMirror) {
"use strict";
CodeMirror.defineMode("vbscript", function(conf, parserConf) {
var ERRORCLASS = 'error';
function wordRegexp(words) {
return new RegExp("^((" + words.join(")|(") + "))\\b", "i");
}
var singleOperators = new RegExp("^[\\+\\-\\*/&\\\\\\^<>=]");
var doubleOperators = new RegExp("^((<>)|(<=)|(>=))");
var singleDelimiters = new RegExp('^[\\.,]');
var brakets = new RegExp('^[\\(\\)]');
var identifiers = new RegExp("^[A-Za-z][_A-Za-z0-9]*");
var openingKeywords = ['class','sub','select','while','if','function', 'property', 'with', 'for'];
var middleKeywords = ['else','elseif','case'];
var endKeywords = ['next','loop','wend'];
var wordOperators = wordRegexp(['and', 'or', 'not', 'xor', 'is', 'mod', 'eqv', 'imp']);
var commonkeywords = ['dim', 'redim', 'then', 'until', 'randomize',
'byval','byref','new','property', 'exit', 'in',
'const','private', 'public',
'get','set','let', 'stop', 'on error resume next', 'on error goto 0', 'option explicit', 'call', 'me'];
//This list was from: http://msdn.microsoft.com/en-us/library/f8tbc79x(v=vs.84).aspx
var atomWords = ['true', 'false', 'nothing', 'empty', 'null'];
//This list was from: http://msdn.microsoft.com/en-us/library/3ca8tfek(v=vs.84).aspx
var builtinFuncsWords = ['abs', 'array', 'asc', 'atn', 'cbool', 'cbyte', 'ccur', 'cdate', 'cdbl', 'chr', 'cint', 'clng', 'cos', 'csng', 'cstr', 'date', 'dateadd', 'datediff', 'datepart',
'dateserial', 'datevalue', 'day', 'escape', 'eval', 'execute', 'exp', 'filter', 'formatcurrency', 'formatdatetime', 'formatnumber', 'formatpercent', 'getlocale', 'getobject',
'getref', 'hex', 'hour', 'inputbox', 'instr', 'instrrev', 'int', 'fix', 'isarray', 'isdate', 'isempty', 'isnull', 'isnumeric', 'isobject', 'join', 'lbound', 'lcase', 'left',
'len', 'loadpicture', 'log', 'ltrim', 'rtrim', 'trim', 'maths', 'mid', 'minute', 'month', 'monthname', 'msgbox', 'now', 'oct', 'replace', 'rgb', 'right', 'rnd', 'round',
'scriptengine', 'scriptenginebuildversion', 'scriptenginemajorversion', 'scriptengineminorversion', 'second', 'setlocale', 'sgn', 'sin', 'space', 'split', 'sqr', 'strcomp',
'string', 'strreverse', 'tan', 'time', 'timer', 'timeserial', 'timevalue', 'typename', 'ubound', 'ucase', 'unescape', 'vartype', 'weekday', 'weekdayname', 'year'];
//This list was from: http://msdn.microsoft.com/en-us/library/ydz4cfk3(v=vs.84).aspx
var builtinConsts = ['vbBlack', 'vbRed', 'vbGreen', 'vbYellow', 'vbBlue', 'vbMagenta', 'vbCyan', 'vbWhite', 'vbBinaryCompare', 'vbTextCompare',
'vbSunday', 'vbMonday', 'vbTuesday', 'vbWednesday', 'vbThursday', 'vbFriday', 'vbSaturday', 'vbUseSystemDayOfWeek', 'vbFirstJan1', 'vbFirstFourDays', 'vbFirstFullWeek',
'vbGeneralDate', 'vbLongDate', 'vbShortDate', 'vbLongTime', 'vbShortTime', 'vbObjectError',
'vbOKOnly', 'vbOKCancel', 'vbAbortRetryIgnore', 'vbYesNoCancel', 'vbYesNo', 'vbRetryCancel', 'vbCritical', 'vbQuestion', 'vbExclamation', 'vbInformation', 'vbDefaultButton1', 'vbDefaultButton2',
'vbDefaultButton3', 'vbDefaultButton4', 'vbApplicationModal', 'vbSystemModal', 'vbOK', 'vbCancel', 'vbAbort', 'vbRetry', 'vbIgnore', 'vbYes', 'vbNo',
'vbCr', 'VbCrLf', 'vbFormFeed', 'vbLf', 'vbNewLine', 'vbNullChar', 'vbNullString', 'vbTab', 'vbVerticalTab', 'vbUseDefault', 'vbTrue', 'vbFalse',
'vbEmpty', 'vbNull', 'vbInteger', 'vbLong', 'vbSingle', 'vbDouble', 'vbCurrency', 'vbDate', 'vbString', 'vbObject', 'vbError', 'vbBoolean', 'vbVariant', 'vbDataObject', 'vbDecimal', 'vbByte', 'vbArray'];
//This list was from: http://msdn.microsoft.com/en-us/library/hkc375ea(v=vs.84).aspx
var builtinObjsWords = ['WScript', 'err', 'debug', 'RegExp'];
var knownProperties = ['description', 'firstindex', 'global', 'helpcontext', 'helpfile', 'ignorecase', 'length', 'number', 'pattern', 'source', 'value', 'count'];
var knownMethods = ['clear', 'execute', 'raise', 'replace', 'test', 'write', 'writeline', 'close', 'open', 'state', 'eof', 'update', 'addnew', 'end', 'createobject', 'quit'];
var aspBuiltinObjsWords = ['server', 'response', 'request', 'session', 'application'];
var aspKnownProperties = ['buffer', 'cachecontrol', 'charset', 'contenttype', 'expires', 'expiresabsolute', 'isclientconnected', 'pics', 'status', //response
'clientcertificate', 'cookies', 'form', 'querystring', 'servervariables', 'totalbytes', //request
'contents', 'staticobjects', //application
'codepage', 'lcid', 'sessionid', 'timeout', //session
'scripttimeout']; //server
var aspKnownMethods = ['addheader', 'appendtolog', 'binarywrite', 'end', 'flush', 'redirect', //response
'binaryread', //request
'remove', 'removeall', 'lock', 'unlock', //application
'abandon', //session
'getlasterror', 'htmlencode', 'mappath', 'transfer', 'urlencode']; //server
var knownWords = knownMethods.concat(knownProperties);
builtinObjsWords = builtinObjsWords.concat(builtinConsts);
if (conf.isASP){
builtinObjsWords = builtinObjsWords.concat(aspBuiltinObjsWords);
knownWords = knownWords.concat(aspKnownMethods, aspKnownProperties);
};
var keywords = wordRegexp(commonkeywords);
var atoms = wordRegexp(atomWords);
var builtinFuncs = wordRegexp(builtinFuncsWords);
var builtinObjs = wordRegexp(builtinObjsWords);
var known = wordRegexp(knownWords);
var stringPrefixes = '"';
var opening = wordRegexp(openingKeywords);
var middle = wordRegexp(middleKeywords);
var closing = wordRegexp(endKeywords);
var doubleClosing = wordRegexp(['end']);
var doOpening = wordRegexp(['do']);
var noIndentWords = wordRegexp(['on error resume next', 'exit']);
var comment = wordRegexp(['rem']);
function indent(_stream, state) {
state.currentIndent++;
}
function dedent(_stream, state) {
state.currentIndent--;
}
// tokenizers
function tokenBase(stream, state) {
if (stream.eatSpace()) {
return 'space';
//return null;
}
var ch = stream.peek();
// Handle Comments
if (ch === "'") {
stream.skipToEnd();
return 'comment';
}
if (stream.match(comment)){
stream.skipToEnd();
return 'comment';
}
// Handle Number Literals
if (stream.match(/^((&H)|(&O))?[0-9\.]/i, false) && !stream.match(/^((&H)|(&O))?[0-9\.]+[a-z_]/i, false)) {
var floatLiteral = false;
// Floats
if (stream.match(/^\d*\.\d+/i)) { floatLiteral = true; }
else if (stream.match(/^\d+\.\d*/)) { floatLiteral = true; }
else if (stream.match(/^\.\d+/)) { floatLiteral = true; }
if (floatLiteral) {
// Float literals may be "imaginary"
stream.eat(/J/i);
return 'number';
}
// Integers
var intLiteral = false;
// Hex
if (stream.match(/^&H[0-9a-f]+/i)) { intLiteral = true; }
// Octal
else if (stream.match(/^&O[0-7]+/i)) { intLiteral = true; }
// Decimal
else if (stream.match(/^[1-9]\d*F?/)) {
// Decimal literals may be "imaginary"
stream.eat(/J/i);
// TODO - Can you have imaginary longs?
intLiteral = true;
}
// Zero by itself with no other piece of number.
else if (stream.match(/^0(?![\dx])/i)) { intLiteral = true; }
if (intLiteral) {
// Integer literals may be "long"
stream.eat(/L/i);
return 'number';
}
}
// Handle Strings
if (stream.match(stringPrefixes)) {
state.tokenize = tokenStringFactory(stream.current());
return state.tokenize(stream, state);
}
// Handle operators and Delimiters
if (stream.match(doubleOperators)
|| stream.match(singleOperators)
|| stream.match(wordOperators)) {
return 'operator';
}
if (stream.match(singleDelimiters)) {
return null;
}
if (stream.match(brakets)) {
return "bracket";
}
if (stream.match(noIndentWords)) {
state.doInCurrentLine = true;
return 'keyword';
}
if (stream.match(doOpening)) {
indent(stream,state);
state.doInCurrentLine = true;
return 'keyword';
}
if (stream.match(opening)) {
if (! state.doInCurrentLine)
indent(stream,state);
else
state.doInCurrentLine = false;
return 'keyword';
}
if (stream.match(middle)) {
return 'keyword';
}
if (stream.match(doubleClosing)) {
dedent(stream,state);
dedent(stream,state);
return 'keyword';
}
if (stream.match(closing)) {
if (! state.doInCurrentLine)
dedent(stream,state);
else
state.doInCurrentLine = false;
return 'keyword';
}
if (stream.match(keywords)) {
return 'keyword';
}
if (stream.match(atoms)) {
return 'atom';
}
if (stream.match(known)) {
return 'variable-2';
}
if (stream.match(builtinFuncs)) {
return 'builtin';
}
if (stream.match(builtinObjs)){
return 'variable-2';
}
if (stream.match(identifiers)) {
return 'variable';
}
// Handle non-detected items
stream.next();
return ERRORCLASS;
}
function tokenStringFactory(delimiter) {
var singleline = delimiter.length == 1;
var OUTCLASS = 'string';
return function(stream, state) {
while (!stream.eol()) {
stream.eatWhile(/[^'"]/);
if (stream.match(delimiter)) {
state.tokenize = tokenBase;
return OUTCLASS;
} else {
stream.eat(/['"]/);
}
}
if (singleline) {
if (parserConf.singleLineStringErrors) {
return ERRORCLASS;
} else {
state.tokenize = tokenBase;
}
}
return OUTCLASS;
};
}
function tokenLexer(stream, state) {
var style = state.tokenize(stream, state);
var current = stream.current();
// Handle '.' connected identifiers
if (current === '.') {
style = state.tokenize(stream, state);
current = stream.current();
if (style && (style.substr(0, 8) === 'variable' || style==='builtin' || style==='keyword')){//|| knownWords.indexOf(current.substring(1)) > -1) {
if (style === 'builtin' || style === 'keyword') style='variable';
if (knownWords.indexOf(current.substr(1)) > -1) style='variable-2';
return style;
} else {
return ERRORCLASS;
}
}
return style;
}
var external = {
electricChars:"dDpPtTfFeE ",
startState: function() {
return {
tokenize: tokenBase,
lastToken: null,
currentIndent: 0,
nextLineIndent: 0,
doInCurrentLine: false,
ignoreKeyword: false
};
},
token: function(stream, state) {
if (stream.sol()) {
state.currentIndent += state.nextLineIndent;
state.nextLineIndent = 0;
state.doInCurrentLine = 0;
}
var style = tokenLexer(stream, state);
state.lastToken = {style:style, content: stream.current()};
if (style==='space') style=null;
return style;
},
indent: function(state, textAfter) {
var trueText = textAfter.replace(/^\s+|\s+$/g, '') ;
if (trueText.match(closing) || trueText.match(doubleClosing) || trueText.match(middle)) return conf.indentUnit*(state.currentIndent-1);
if(state.currentIndent < 0) return 0;
return state.currentIndent * conf.indentUnit;
}
};
return external;
});
CodeMirror.defineMIME("text/vbscript", "vbscript");
});
| {
"pile_set_name": "Github"
} |
define( [
"./arr"
], function( arr ) {
"use strict";
return arr.slice;
} );
| {
"pile_set_name": "Github"
} |
title: Monitor Network Interfaces Including the ifAdminStatus
agents: snmp
catalog: hw/network/generic
license: GPL
distribution: check_mk
description:
This check does the same is {if64}, but it additionally monitors the administrative
status ({ifAdminStatus}) of the interface. This check has to be specifically
activated using the rule "SNMP Interface check: Monitor ifAdminStatus (use 'if64adm'
instead of 'if64')". Consult the manpage of {if64} for further information.
item:
There are three allowed ways to specify an interface: its index {ifIndex}, its
description {ifDescr} and its alias {ifAlias}.
inventory:
One service is created for each interface that fulfills configurable conditions
(rule "Network interface and switch port discovery").
By default, these are interfaces which are currently found {up} and are of type 6, 32,
62, 117, 127, 128, 129, 180, 181, 182, 205 or 229.
{Grouping:} In some situations, you do not want to monitor a single
interface but a group of interfaces that together form a pool.
This check supports such pools by defining groups. The data of all members is
accumulated and put together in a single grouped interface service.
cluster:
In the case where single (ungrouped) interfaces are clustered, the corresponding
services report only the results from the node with the highest outgoing traffic,
since this node is likely the active node.
In the case where interface groups are clustered, the grouping is applied across
all nodes, potentially combining interfaces from different nodes. Note that the
rules defining the interface groups must be configured to apply to the nodes, not
to the cluster host (the latter has no effect). In case the grouping configurations
vary across the nodes, the last node wins.
| {
"pile_set_name": "Github"
} |
<html><body>
<p>
Interface and classes for a router and client
within the same JVM to directly pass I2CP messages using Queues
instead of serialized messages over socket streams.
</p>
</body></html>
| {
"pile_set_name": "Github"
} |
/*
* File: condvar3_3.c
*
*
* --------------------------------------------------------------------------
*
* Pthreads-win32 - POSIX Threads Library for Win32
* Copyright(C) 1998 John E. Bossom
* Copyright(C) 1999,2005 Pthreads-win32 contributors
*
* Contact Email: [email protected]
*
* The current list of contributors is contained
* in the file CONTRIBUTORS included with the source
* code distribution. The list can also be seen at the
* following World Wide Web location:
* http://sources.redhat.com/pthreads-win32/contributors.html
*
* 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; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library in the file COPYING.LIB;
* if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*
* --------------------------------------------------------------------------
*
* Test Synopsis:
* - Test timeouts and lost signals on a CV.
*
* Test Method (Validation or Falsification):
* - Validation
*
* Requirements Tested:
* -
*
* Features Tested:
* -
*
* Cases Tested:
* -
*
* Description:
* -
*
* Environment:
* -
*
* Input:
* - None.
*
* Output:
* - File name, Line number, and failed expression on failure.
* - No output on success.
*
* Assumptions:
* -
*
* Pass Criteria:
* - pthread_cond_timedwait returns ETIMEDOUT.
* - Process returns zero exit status.
*
* Fail Criteria:
* - pthread_cond_timedwait does not return ETIMEDOUT.
* - Process returns non-zero exit status.
*/
/* Timur Aydin ([email protected]) */
#include "test.h"
#include <sys/timeb.h>
pthread_cond_t cnd;
pthread_mutex_t mtx;
int main()
{
int rc;
struct timespec abstime = { 0, 0 };
PTW32_STRUCT_TIMEB currSysTime;
const DWORD NANOSEC_PER_MILLISEC = 1000000;
assert(pthread_cond_init(&cnd, 0) == 0);
assert(pthread_mutex_init(&mtx, 0) == 0);
/* get current system time */
PTW32_FTIME(&currSysTime);
abstime.tv_sec = (long)currSysTime.time;
abstime.tv_nsec = NANOSEC_PER_MILLISEC * currSysTime.millitm;
abstime.tv_sec += 1;
/* Here pthread_cond_timedwait should time out after one second. */
assert(pthread_mutex_lock(&mtx) == 0);
assert((rc = pthread_cond_timedwait(&cnd, &mtx, &abstime)) == ETIMEDOUT);
assert(pthread_mutex_unlock(&mtx) == 0);
/* Here, the condition variable is signaled, but there are no
threads waiting on it. The signal should be lost and
the next pthread_cond_timedwait should time out too. */
// assert(pthread_mutex_lock(&mtx) == 0);
assert((rc = pthread_cond_signal(&cnd)) == 0);
// assert(pthread_mutex_unlock(&mtx) == 0);
assert(pthread_mutex_lock(&mtx) == 0);
abstime.tv_sec = (long)currSysTime.time;
abstime.tv_nsec = NANOSEC_PER_MILLISEC * currSysTime.millitm;
abstime.tv_sec += 1;
assert((rc = pthread_cond_timedwait(&cnd, &mtx, &abstime)) == ETIMEDOUT);
assert(pthread_mutex_unlock(&mtx) == 0);
return 0;
}
| {
"pile_set_name": "Github"
} |
1000 30 50
0 41
19 49
7 27
2 9
29 27
6 10
4 34
6 39
3 29
10 34
21 47
23 3
20 65
8 59
22 100
17 8
6 99
13 100
9 65
11 49
25 29
4 74
13 17
15 96
14 86
8 92
8 57
9 71
3 21
3 82
4 46
22 92
8 67
29 28
29 57
8 60
16 13
9 88
25 83
19 42
18 69
20 96
2 52
5 86
29 95
7 92
8 31
3 89
6 75
28 91
27 59
23 37
8 59
28 67
2 12
10 26
20 37
0 64
21 49
26 37
21 62
3 15
14 62
3 87
8 67
23 93
25 38
24 66
12 26
15 76
29 52
14 55
17 81
26 53
11 95
2 71
17 80
18 89
0 63
27 43
18 72
17 7
14 41
22 51
8 35
17 41
20 91
4 80
6 64
29 30
16 72
5 88
17 33
17 84
5 68
28 48
7 48
27 78
5 30
7 88
21 26
18 58
23 29
11 19
0 57
27 46
19 30
14 56
7 14
17 95
29 78
15 38
4 57
11 8
6 79
6 39
9 52
28 91
26 78
7 35
2 46
0 2
6 76
6 69
24 97
23 51
21 72
21 92
17 85
9 46
0 49
27 83
5 18
5 60
5 56
29 41
6 54
13 77
12 13
6 95
27 90
14 14
13 19
27 30
18 30
16 27
26 19
12 3
23 31
29 47
11 37
3 84
6 2
2 39
15 64
19 56
14 61
16 80
2 33
11 31
24 36
29 21
25 68
16 47
14 41
9 2
8 87
6 19
5 60
1 27
14 96
8 60
26 52
26 14
4 86
0 79
8 20
6 59
8 78
23 37
28 27
29 73
6 90
8 75
18 12
17 11
28 28
8 35
28 88
21 89
13 23
28 24
10 88
14 3
26 63
28 65
3 100
11 38
26 98
18 65
16 35
19 88
12 52
6 41
16 59
12 55
28 70
24 29
6 10
22 63
12 98
1 62
6 94
13 18
1 67
12 57
22 21
9 32
13 41
28 88
3 99
4 83
20 17
0 68
8 81
3 7
5 9
22 71
5 16
17 60
1 19
16 86
21 46
22 14
5 43
27 52
7 51
29 60
19 49
13 30
7 94
10 91
27 63
24 29
18 53
5 76
27 88
14 84
26 9
1 27
29 78
2 37
9 53
2 83
10 84
16 11
14 69
15 5
5 33
15 74
2 90
25 60
12 10
16 83
25 100
1 70
1 59
26 57
19 67
0 46
10 63
16 82
2 17
2 89
12 27
8 99
8 86
2 14
4 46
25 97
15 87
4 68
10 53
15 42
14 90
20 56
6 98
12 9
23 85
0 2
2 51
26 11
3 25
14 36
28 68
3 48
6 47
2 64
1 96
23 74
10 30
7 25
6 88
14 26
27 55
16 82
29 72
20 94
24 99
1 66
16 43
7 21
3 67
27 53
19 44
5 12
21 13
20 75
5 77
6 2
12 52
19 28
11 93
6 66
12 86
7 84
5 45
25 78
21 73
6 19
1 20
8 91
9 29
28 73
14 30
19 51
21 37
5 92
24 18
21 85
24 21
14 58
6 70
6 54
22 40
16 60
1 45
2 96
19 26
13 97
6 40
7 64
19 100
0 43
21 37
6 100
25 58
15 48
27 40
4 54
24 9
21 51
2 61
6 32
2 65
6 22
22 64
2 52
12 71
4 81
20 95
12 28
12 37
4 61
11 44
19 27
26 65
21 42
24 64
1 11
22 67
0 20
10 36
11 59
0 63
15 32
29 11
7 68
16 7
10 43
5 88
7 90
21 9
26 52
12 51
15 75
4 42
18 53
1 87
16 43
0 12
19 76
5 71
8 89
22 76
23 59
8 19
18 45
3 47
6 16
7 80
26 95
11 19
7 6
12 3
18 53
23 74
26 45
20 78
24 89
11 26
28 2
11 47
2 45
4 84
0 47
18 14
5 82
11 77
16 91
28 29
18 24
5 51
28 64
28 56
10 80
28 37
22 28
16 79
19 61
19 95
13 46
6 10
9 71
22 35
16 59
4 66
21 14
22 63
0 8
11 26
2 39
22 32
1 48
18 5
17 22
17 49
27 36
19 85
10 72
16 70
21 88
10 85
0 18
21 12
27 47
6 17
19 68
12 64
2 25
17 9
8 51
18 79
10 68
14 52
9 16
7 63
12 78
5 81
20 64
21 25
21 76
21 16
15 60
10 86
1 35
7 83
25 1
9 83
10 95
7 16
21 32
21 4
16 28
28 45
13 14
9 11
8 49
22 28
16 9
16 85
13 66
1 70
22 27
22 20
21 20
1 71
3 60
10 67
16 11
20 4
20 31
14 91
21 82
4 36
5 69
7 97
24 27
15 14
23 27
21 33
18 83
12 22
3 66
20 11
9 83
2 21
13 89
29 39
2 78
5 86
10 75
9 12
22 63
3 84
16 88
5 71
12 43
22 75
27 3
29 98
15 30
28 53
15 55
4 88
13 88
27 45
15 83
12 44
4 33
19 38
21 51
5 24
23 52
19 6
14 71
23 36
25 42
15 1
18 53
20 30
16 64
28 66
19 45
23 20
22 91
9 74
4 35
20 49
27 64
8 64
11 48
10 84
1 52
22 68
29 6
21 25
6 32
19 45
17 36
16 50
25 93
8 68
21 75
18 67
24 62
24 47
2 72
11 12
5 3
29 27
19 60
1 1
7 38
16 29
11 16
14 18
3 84
26 58
6 6
25 57
5 17
10 62
11 16
20 70
3 6
23 97
1 97
17 61
6 64
29 94
29 87
15 59
11 3
1 58
25 6
18 38
8 38
14 94
9 55
0 31
21 10
13 53
12 62
28 87
12 5
16 28
3 2
0 27
21 3
1 44
12 76
0 94
13 66
9 13
1 85
27 84
0 70
14 28
17 87
8 23
26 82
12 7
28 63
17 92
19 58
14 84
3 2
19 60
29 1
6 41
26 37
1 88
26 2
1 88
1 63
9 69
11 67
12 57
9 60
11 42
18 76
5 80
25 22
7 9
16 37
23 58
28 18
8 38
22 74
12 8
18 28
6 81
15 23
7 6
10 26
19 40
4 80
24 48
14 43
23 24
25 15
21 53
26 74
3 75
3 77
16 78
17 89
8 28
18 20
29 53
27 11
7 63
26 37
19 54
20 40
20 33
22 63
13 55
27 60
24 72
22 87
4 89
2 71
27 60
1 74
3 22
24 77
4 38
3 50
0 78
21 47
8 17
7 2
20 55
29 75
0 17
4 64
23 16
4 72
15 63
9 21
3 37
24 47
18 96
7 33
7 12
21 17
28 29
0 46
1 25
0 67
5 28
0 97
28 30
13 39
9 30
26 47
13 24
6 17
10 59
18 34
27 88
8 95
14 80
28 4
28 9
15 53
6 74
15 18
28 99
14 6
7 1
17 88
20 79
22 49
27 44
11 6
12 40
8 70
16 43
4 74
22 27
7 8
21 63
19 60
13 2
0 54
28 46
25 2
1 42
4 86
28 88
21 68
26 37
17 27
20 96
27 81
18 56
24 20
7 51
1 8
20 29
26 11
9 55
13 19
9 66
15 47
26 77
14 61
24 1
5 7
0 36
6 22
12 77
25 42
2 50
6 74
24 77
9 67
17 92
3 57
28 75
25 58
12 76
25 87
20 3
7 69
20 70
4 62
19 72
4 63
9 19
3 78
17 88
2 44
23 85
0 73
1 64
0 96
7 60
26 12
26 77
19 36
25 69
26 85
16 83
18 13
26 28
9 96
10 21
16 52
20 40
25 41
24 36
5 64
0 40
27 71
16 25
14 48
23 53
8 100
25 11
2 19
1 33
18 2
6 26
15 28
22 34
12 2
20 59
8 15
22 46
11 87
12 93
14 74
1 17
7 59
5 9
12 54
10 99
4 49
18 9
4 52
22 36
24 65
5 56
18 85
28 31
18 59
26 68
2 29
12 78
26 63
7 65
9 28
24 82
12 66
25 87
13 74
14 77
3 88
17 66
21 48
19 14
23 55
11 68
2 1
12 55
23 48
29 11
14 80
29 68
20 33
15 84
10 62
4 83
6 84
0 90
11 6
22 63
12 39
1 98
4 46
23 29
10 27
8 87
19 37
24 82
25 99
11 6
22 62
19 21
24 24
6 49
23 38
28 81
16 34
24 4
6 53
12 22
20 3
17 52
6 45
19 84
27 58
8 86
17 14
16 77
19 11
22 6
27 48
12 49
27 55
9 93
22 20
10 19
27 15
27 15
14 56
6 34
11 76
29 5
17 44
23 55
16 46
27 53
16 68
11 76
9 34
17 19
0 20
27 11
1 68
15 65
6 92
17 34
17 62
7 92
27 13
10 19
6 73
23 57
22 35
14 54
5 18
29 21
20 24
26 29
7 61
13 50
15 38
20 41
16 84
20 18
2 91
24 86
18 55
5 46
28 38
0 12
17 78
7 13
3 75
19 58
25 99
26 64
3 95
11 49
16 28
13 88
6 12
23 84
8 9
26 89
28 11
28 5
0 62
7 22
27 86
| {
"pile_set_name": "Github"
} |
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xslo="http://www.w3.org/1999/XSL/TransformAlias"
xmlns:fo="http://www.w3.org/1999/XSL/Format"
exclude-result-prefixes="fo"
version="1.0">
<xsl:include href="../lib/lib.xsl"/>
<xsl:output method="xml" encoding="US-ASCII"/>
<xsl:namespace-alias stylesheet-prefix="xslo" result-prefix="xsl"/>
<xsl:preserve-space elements="*"/>
<xsl:template match="/">
<xsl:text> </xsl:text>
<xsl:comment>This file was created automatically by xml2profile</xsl:comment>
<xsl:text> </xsl:text>
<xsl:comment>from the DocBook XSL stylesheets. Do not edit this file.</xsl:comment>
<xsl:text> </xsl:text>
<xsl:apply-templates/>
<xsl:text> </xsl:text>
</xsl:template>
<!-- Make sure we override some templates and parameters appropriately for XHTML -->
<xsl:template match="xsl:stylesheet">
<xsl:copy>
<xsl:attribute name="exslt:dummy" xmlns:exslt="http://exslt.org/common">dummy</xsl:attribute>
<xsl:if test="not(@extension-element-prefixes)">
<xsl:attribute name="extension-element-prefixes">exslt</xsl:attribute>
</xsl:if>
<xsl:if test="not(@exclude-result-prefixes)">
<xsl:attribute name="exclude-result-prefixes">exslt</xsl:attribute>
</xsl:if>
<xsl:for-each select="@*">
<xsl:choose>
<xsl:when test="local-name(.) = 'extension-element-prefixes' or
local-name(.) = 'exclude-result-prefixes'">
<xsl:attribute name="{local-name(.)}"><xsl:value-of select="concat(., ' exslt')"/></xsl:attribute>
</xsl:when>
<xsl:otherwise>
<xsl:attribute name="{local-name(.)}"><xsl:value-of select="."/></xsl:attribute>
</xsl:otherwise>
</xsl:choose>
</xsl:for-each>
<xsl:apply-templates/>
</xsl:copy>
</xsl:template>
<xsl:template match="*">
<xsl:copy>
<xsl:copy-of select="@*"/>
<xsl:apply-templates/>
</xsl:copy>
</xsl:template>
<xsl:template match="comment()|processing-instruction()|text()">
<xsl:copy/>
</xsl:template>
<xsl:template match="xsl:template[@match='/' or @name='hhc-main' or @name='hhp-main']">
<xsl:if test="@match='/'">
<xslo:include href="../profiling/profile-mode.xsl"/>
</xsl:if>
<xsl:copy>
<xsl:copy-of select="@*"/>
<xslo:variable name="profiled-content">
<xslo:apply-templates select="." mode="profile"/>
</xslo:variable>
<xslo:variable name="profiled-nodes" select="exslt:node-set($profiled-content)"/>
<xsl:apply-templates mode="correct"/>
</xsl:copy>
</xsl:template>
<xsl:template match="*[@select='/']" mode="correct">
<xsl:copy>
<xsl:for-each select="@*">
<xsl:choose>
<xsl:when test="local-name(.) = 'select' and string(.) = '/'">
<xsl:attribute name="{local-name(.)}">$profiled-nodes</xsl:attribute>
</xsl:when>
<xsl:otherwise>
<xsl:attribute name="{local-name(.)}"><xsl:value-of select="."/></xsl:attribute>
</xsl:otherwise>
</xsl:choose>
</xsl:for-each>
<xsl:apply-templates mode="correct"/>
</xsl:copy>
</xsl:template>
<xsl:template match='*[contains(@*, "key('id',$rootid)")]' mode="correct" priority="2">
<xsl:copy>
<xsl:for-each select="@*">
<xsl:choose>
<xsl:when test='contains(., "key('id',$rootid)")'>
<xsl:attribute name="{local-name(.)}">
<xsl:call-template name="string.subst">
<xsl:with-param name="string" select="."/>
<xsl:with-param name="target">key('id',$rootid)</xsl:with-param>
<xsl:with-param name="replacement">$profiled-nodes//*[@id=$rootid]</xsl:with-param>
</xsl:call-template>
</xsl:attribute>
</xsl:when>
<xsl:otherwise>
<xsl:attribute name="{local-name(.)}"><xsl:value-of select="."/></xsl:attribute>
</xsl:otherwise>
</xsl:choose>
</xsl:for-each>
<xsl:apply-templates mode="correct"/>
</xsl:copy>
</xsl:template>
<!-- FO stylesheet has apply-templates without select, we must detect it by context -->
<xsl:template match="fo:root//xsl:apply-templates" mode="correct">
<xsl:copy>
<xsl:copy-of select="@*"/>
<xsl:attribute name="select">$profiled-nodes</xsl:attribute>
<xsl:apply-templates mode="correct"/>
</xsl:copy>
</xsl:template>
<xsl:template match="*" mode="correct">
<xsl:copy>
<xsl:copy-of select="@*"/>
<xsl:apply-templates mode="correct"/>
</xsl:copy>
</xsl:template>
<xsl:template match="comment()|processing-instruction()|text()" mode="correct">
<xsl:copy/>
</xsl:template>
</xsl:stylesheet>
| {
"pile_set_name": "Github"
} |
import ast
from typing import Union
_VarDefinition = Union[ast.AST, ast.expr]
def _is_valid_single(node: _VarDefinition) -> bool:
if isinstance(node, ast.Name):
return True
if isinstance(node, ast.Starred) and isinstance(node.value, ast.Name):
return True
return False
def is_valid_block_variable_definition(node: _VarDefinition) -> bool:
"""Is used to check either block variables are correctly defined."""
if isinstance(node, ast.Tuple):
return all(
_is_valid_single(var_definition)
for var_definition in node.elts
)
return _is_valid_single(node)
| {
"pile_set_name": "Github"
} |
<?php
/*
* Copyright 2005 - 2020 Centreon (https://www.centreon.com/)
*
* 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 writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* For more information : [email protected]
*
*/
declare(strict_types=1);
namespace Centreon\Domain\Configuration\Icon\Interfaces;
use Centreon\Domain\Configuration\Icon\Icon;
interface IconRepositoryInterface
{
/**
* Retrieve icons using request parameters (search, sort, pagination)
*
* @return Icon[]
*/
public function getIconsWithRequestParameters(): array;
/**
* Retrieve icons without request parameters (no search, no sort, no pagination)
*
* @return Icon[]
*/
public function getIconsWithoutRequestParameters(): array;
}
| {
"pile_set_name": "Github"
} |
package com.kickstarter.libs.rx.transformers;
import android.util.Pair;
import androidx.annotation.NonNull;
import rx.Observable;
public final class CombineLatestPairTransformer<S, T> implements Observable.Transformer<S, Pair<S, T>> {
@NonNull private final Observable<T> second;
public CombineLatestPairTransformer(final @NonNull Observable<T> second) {
this.second = second;
}
@Override
@NonNull public Observable<Pair<S, T>> call(final @NonNull Observable<S> first) {
return Observable.combineLatest(first, this.second, Pair::new);
}
}
| {
"pile_set_name": "Github"
} |
# Contributing to Survey
๐๐ First off, thanks for the interest in contributing to `survey`! ๐๐
The following is a set of guidelines to follow when contributing to this package. These are not hard rules, please use common sense and feel free to propose changes to this document in a pull request.
## Table of Contents
1. [Code of Conduct](#code-of-conduct)
1. [Getting Help](#getting-help)
1. [Filing a Bug Report](#how-to-file-a-bug-report)
1. [Suggesting an API change](#suggesting-an-api-change)
1. [Submitting a Contribution](#submitting-a-contribution)
1. [Writing and Running Tests](#writing-and-running-tests)
## Code of Conduct
This project and its contibutors are expected to uphold the [Go Community Code of Conduct](https://golang.org/conduct). By participating, you are expected to follow these guidelines.
## Getting help
Feel free to [open up an issue](https://github.com/AlecAivazis/survey/issues/new) on GitHub when asking a question so others will be able to find it. Please remember to tag the issue with the `Question` label so the maintainers can get to your question as soon as possible. If the question is urgent, feel free to reach out to `@AlecAivazis` directly in the gophers slack channel.
## How to file a bug report
Bugs are tracked using the Github Issue tracker. When filing a bug, please remember to label the issue as a `Bug` and answer/provide the following:
1. What operating system and terminal are you using?
1. An example that showcases the bug.
1. What did you expect to see?
1. What did you see instead?
## Suggesting an API change
If you have an idea, I'm more than happy to discuss it. Please open an issue labeled `Discussion` and we can work through it. In order to maintain some sense of stability, additions to the top-level API are taken just as seriously as changes that break it. Adding stuff is much easier than removing it.
## Submitting a contribution
In order to maintain stability, most features get fully integrated in more than one PR. This allows for more opportunity to think through each API change without amassing large amounts of tech debt and API changes at once. If your feature can be broken into separate chunks, it will be able to be reviewed much quicker. For example, if the PR that implemented the `Validate` field was submitted in a PR separately from one that included `survey.Required`, it would be able to get merge without having to decide how many different `Validators` we want to provide as part of `survey`'s API.
When submitting a contribution,
* Provide a description of the feature or change
* Reference the ticket addressed by the PR if there is one
* Following community standards, add comments for all exported members so that all necessary information is available on godocs
* Remember to update the project README.md with changes to the high-level API
* Include both positive and negative unit tests (when applicable)
* Contributions with visual ramifications or interaction changes should be accompanied with the appropriate `go-expect` tests. For more information on writing these tests, see [Writing and Running Tests](#writing-and-running-tests)
## Writing and running tests
When submitting features, please add as many units tests as necessary to test both positive and negative cases.
Integration tests for survey uses [go-expect](https://github.com/Netflix/go-expect) to expect a match on stdout and respond on stdin. Since `os.Stdout` in a `go test` process is not a TTY, you need a way to interpret terminal / ANSI escape sequences for things like `CursorLocation`. The stdin/stdout handled by `go-expect` is also multiplexed to a [virtual terminal](https://github.com/hinshun/vt10x).
For example, you can extend the tests for Input by specifying the following test case:
```go
{
"Test Input prompt interaction", // Name of the test.
&Input{ // An implementation of the survey.Prompt interface.
Message: "What is your name?",
},
func(c *expect.Console) { // An expect procedure. You can expect strings / regexps and
c.ExpectString("What is your name?") // write back strings / bytes to its psuedoterminal for survey.
c.SendLine("Johnny Appleseed")
c.ExpectEOF() // Nothing is read from the tty without an expect, and once an
// expectation is met, no further bytes are read. End your
// procedure with `c.ExpectEOF()` to read until survey finishes.
},
"Johnny Appleseed", // The expected result.
}
```
If you want to write your own `go-expect` test from scratch, you'll need to instantiate a virtual terminal,
multiplex it into an `*expect.Console`, and hook up its tty with survey's optional stdio. Please see `go-expect`
[documentation](https://godoc.org/github.com/Netflix/go-expect) for more detail.
| {
"pile_set_name": "Github"
} |
^{:start [1 1 0], :end [9 2 154]}
[^{:start [1 1 0], :end [3 2 97]}
{:tag :query-definition
:name ^{:start [1 7 6], :end [1 29 28]} hasConditionalFragment
:selection-set
[^{:start [2 3 54], :end [2 44 95]}
{:tag :fragment-spread
:name ^{:start [2 6 57], :end [2 19 70]} maybeFragment
:directives
^{:start [2 20 71], :end [2 44 95]}
[^{:start [2 20 71], :end [2 44 95]}
{:tag :directive
:name ^{:start [2 21 72], :end [2 28 79]} include
:arguments
[^{:start [2 29 80], :end [2 43 94]}
{:tag :argument
:name ^{:start [2 29 80], :end [2 31 82]} if
:value
^{:start [2 33 84], :end [2 43 94]}
{:tag :variable-reference
:name ^{:start [2 34 85], :end [2 43 94]} condition}}]}]}]
:variable-definitions
[^{:start [1 30 29], :end [1 49 48]}
{:tag :variable-definition
:name ^{:start [1 31 30], :end [1 40 39]} condition
:type
^{:start [1 42 41], :end [1 49 48]}
{:tag :basic-type
:name ^{:start [1 42 41], :end [1 49 48]} Boolean}}]}
^{:start [5 1 99], :end [9 2 154]}
{:tag :fragment-definition
:name ^{:start [5 10 108], :end [5 23 121]} maybeFragment
:on
^{:start [5 24 122], :end [5 32 130]}
{:tag :basic-type
:name ^{:start [5 27 125], :end [5 32 130]} Query}
:selection-set
[^{:start [6 3 135], :end [8 4 152]}
{:tag :selection-field
:name ^{:start [6 3 135], :end [6 5 137]} me
:selection-set
[^{:start [7 5 144], :end [7 9 148]}
{:tag :selection-field
:name ^{:start [7 5 144], :end [7 9 148]} name}]}]}] | {
"pile_set_name": "Github"
} |
package soot.JastAddJ;
import java.util.HashSet;
import java.io.File;
import java.util.*;
import beaver.*;
import java.util.ArrayList;
import java.util.zip.*;
import java.io.*;
import java.io.FileNotFoundException;
import java.util.Collection;
import soot.*;
import soot.util.*;
import soot.jimple.*;
import soot.coffi.ClassFile;
import soot.coffi.method_info;
import soot.coffi.CONSTANT_Utf8_info;
import soot.tagkit.SourceFileTag;
import soot.coffi.CoffiMethodSource;
/**
* @ast class
*
*/
public class CONSTANT_Double_Info extends CONSTANT_Info {
public double value;
public CONSTANT_Double_Info(BytecodeParser parser) {
super(parser);
value = this.p.readDouble();
}
public String toString() {
return "DoubleInfo: " + Double.toString(value);
}
public Expr expr() {
return Literal.buildDoubleLiteral(value);
}
}
| {
"pile_set_name": "Github"
} |
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" >
<!--
~ Copyright (c) 2018, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
~
~ WSO2 Inc. licenses this file to you 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 writing,
~ software distributed under the License is distributed on an
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
~ KIND, either express or implied. See the License for the
~ specific language governing permissions and limitations
~ under the License.
-->
<suite name="ESBTestSuite" parallel="false">
<listeners>
<!-- TestPrepExecutionListener : TestNG execution listener for perform test execution preparation -->
<listener class-name="org.wso2.carbon.esb.scenario.test.common.testng.listeners.TestPrepExecutionListener"/>
<!-- TestLoggingListener : Test listener to log test execution events -->
<listener class-name="org.wso2.carbon.esb.scenario.test.common.testng.listeners.TestLoggingListener"/>
</listeners>
<test name="ProxyService-Test" preserve-order="true" verbose="2" parallel="false">
<classes>
<class name="org.wso2.carbon.ei.scenario.test.ReplaceElementsTest"/>
</classes>
</test>
</suite>
| {
"pile_set_name": "Github"
} |
The `Http API Tutorial` demonstrates the usage of Http API. If you have more tips or questions, please feel free to tell or ask in Issue.
* Issues: https://github.com/alibaba/arthas/issues
* Documentation: https://arthas.aliyun.com/doc/en
If you are using Arthas, please let us know that. Your use is very important to us: [View](https://github.com/alibaba/arthas/issues/111)
| {
"pile_set_name": "Github"
} |
# CSDN
> ไปฃ็ ๅทฒๅๆถๅ
ผๅฎน Surge & QuanX, ไฝฟ็จๅไธไปฝ็ญพๅฐ่ๆฌๅณๅฏ
## ้
็ฝฎ (Surge)
```properties
[MITM]
*.csdn.net
[Script]
# ๆณจๆ่ทๅCookieๆไธคๆก่ๆฌ
http-request ^https:\/\/passport.csdn.net\/v1\/api\/app\/login\/checkToken script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/csdn/csdn.cookie.js
http-request ^https:\/\/gw.csdn.net\/mini-app\/v2\/lucky_draw\/login\/sign_in\? script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/csdn/csdn.cookie.js
cron "10 0 0 * * *" script-path=https://raw.githubusercontent.com/chavyleung/scripts/master/csdn/csdn.js
```
## ้
็ฝฎ (QuanX)
```properties
[MITM]
*.csdn.net
[rewrite_local]
# ๆณจๆ่ทๅCookieๆไธคๆก่ๆฌ
^https:\/\/passport.csdn.net\/v1\/api\/app\/login\/checkToken url script-request-header csdn.cookie.js
^https:\/\/gw.csdn.net\/mini-app\/v2\/lucky_draw\/login\/sign_in\? url script-request-header csdn.cookie.js
[task_local]
1 0 * * * csdn.js
```
## ่ฏดๆ
1. ๅ
ๆ`*.csdn.net`ๅ ๅฐ`[MITM]`
2. ๅ้
็ฝฎ้ๅ่งๅ:
- Surge: ๆไธคๆก่ฟ็จ่ๆฌๆพๅฐ`[Script]`
- QuanX: ๆ`csdn.cookie.js`ๅ`csdn.js`ไผ ๅฐ`On My iPhone - Quantumult X - Scripts` (ไผ ๅฐ iCloud ็ธๅ็ฎๅฝไนๅฏ, ๆณจๆ่ฆๆๅผ quanx ็ iCloud ๅผๅ
ณ)
3. ๆๅผ APP , ็ณป็ปๆ็คบ: `่ทๅๅทๆฐ้พๆฅ: ๆๅ`
4. ็ถๅๆๅจ็ญพๅฐ 1 ๆฌก, ็ณป็ปๆ็คบ: `่ทๅCookie: ๆๅ`
5. ๆๅๅฐฑๅฏไปฅๆไธคๆก่ๆฌๆณจ้ๆไบ
6. ่ฟ่กไธๆฌก่ๆฌ, ๅฆๆๆ็คบ้ๅค็ญพๅฐ, ้ฃๅฐฑ็ฎๆๅไบ!
> ็ฌฌ 1 ๆก่ๆฌๆฏ็จๆฅ่ทๅ cookie ็, ็จๆต่งๅจ่ฎฟ้ฎไธๆฌก่ทๅ cookie ๆๅๅๅฐฑๅฏไปฅๅ ๆๆๆณจ้ๆไบ, ไฝ่ฏท็กฎไฟๅจ`็ปๅฝๆๅ`ๅๅ่ทๅ cookie.
> ็ฌฌ 2 ๆก่ๆฌๆฏ็ญพๅฐ่ๆฌ, ๆฏๅคฉ`00:00:10`ๆง่กไธๆฌก.
## ๅธธ่ง้ฎ้ข
1. ๆ ๆณๅๅ
ฅ Cookie
- ๆฃๆฅ Surge ็ณป็ป้็ฅๆ้ๆพๅผไบๆฒก
- ๅฆๆไฝ ็จ็ๆฏ Safari, ่ฏทๅฐ่ฏๅจๆต่งๅฐๅๆ `ๆๅจ่พๅ
ฅ็ฝๅ`(ไธ่ฆ็จๅคๅถ็ฒ่ดด)
2. ๅๅ
ฅ Cookie ๆๅ, ไฝ็ญพๅฐไธๆๅ
- ็็ๆฏไธๆฏๅจ็ปๅฝๅๅฐฑๅๅ
ฅ Cookie ไบ
- ๅฆๆๆฏ๏ผ่ฏท็กฎไฟๅจ็ปๅฝๆๅๅ๏ผๅๅฐ่ฏๅๅ
ฅ Cookie
3. ไธบไปไนๆๆถๆๅๆๆถๅคฑ่ดฅ
- ๅพๆญฃๅธธ๏ผ็ฝ็ป้ฎ้ข๏ผๅชๆไฝ ๆฏๆๅทฅ็ญพๅฐไนๅฏ่ฝๅคฑ่ดฅ๏ผๅๆจ็ญพๅฐๅฎนๆๆฅๅ ตๅฐฑๅฎนๆๅคฑ่ดฅ๏ผ
- ๆๆถไธ่่ไปฃ็ ็บง็้่ฏๆบๅถ๏ผไฝๅฑๆ้
็ฝฎ็บง็๏ผๆดๅ็พๅญฆ๏ผ๏ผ
- `Surge`้
็ฝฎ:
```properties
# ๆฒกๆไปไนๆฏไธ้กฟ้ฅญ่งฃๅณไธไบ็:
cron "10 0 0 * * *" script-path=xxx.js # ๆฏๅคฉ00:00:10ๆง่กไธๆฌก
# ๅฆๆๆ๏ผ้ฃๅฐฑไธค้กฟ:
cron "20 0 0 * * *" script-path=xxx.js # ๆฏๅคฉ00:00:20ๆง่กไธๆฌก
# ๅฎๅจไธ่ก๏ผไธ้กฟไน่ฝๆฅๅ:
cron "30 0 0 * * *" script-path=xxx.js # ๆฏๅคฉ00:00:30ๆง่กไธๆฌก
# ๅ็ฒๆด็น๏ผ็ดๆฅ:
cron "* */60 * * * *" script-path=xxx.js # ๆฏ60ๅๆง่กไธๆฌก
```
- `QuanX`้
็ฝฎ:
```properties
[task_local]
1 0 * * * xxx.js # ๆฏๅคฉ00:01ๆง่กไธๆฌก
2 0 * * * xxx.js # ๆฏๅคฉ00:02ๆง่กไธๆฌก
3 0 * * * xxx.js # ๆฏๅคฉ00:03ๆง่กไธๆฌก
*/60 * * * * xxx.js # ๆฏ60ๅๆง่กไธๆฌก
```
## ๆ่ฐข
[@NobyDa](https://github.com/NobyDa)
[@lhie1](https://github.com/lhie1)
[@ConnersHua](https://github.com/ConnersHua)
| {
"pile_set_name": "Github"
} |
# uncompyle6 version 2.9.10
# Python bytecode 2.7 (62211)
# Decompiled from: Python 3.6.0b2 (default, Oct 11 2016, 05:27:10)
# [GCC 6.2.0 20161005]
# Embedded file name: tasking.py
import mcl_platform.tasking
from tasking_dsz import *
_fw = mcl_platform.tasking.GetFramework()
if _fw == 'dsz':
RPC_INFO_QUERY = dsz.RPC_INFO_QUERY
else:
raise RuntimeError('Unsupported framework (%s)' % _fw) | {
"pile_set_name": "Github"
} |
/**
* Copyright (c) 2017 - 2018, Nordic Semiconductor ASA
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this
* list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form, except as embedded into a Nordic
* Semiconductor ASA integrated circuit in a product or a software update for
* such product, must reproduce the above copyright notice, this list of
* conditions and the following disclaimer in the documentation and/or other
* materials provided with the distribution.
*
* 3. Neither the name of Nordic Semiconductor ASA nor the names of its
* contributors may be used to endorse or promote products derived from this
* software without specific prior written permission.
*
* 4. This software, with or without modification, must only be used with a
* Nordic Semiconductor ASA integrated circuit.
*
* 5. Any software provided in binary form under this license must not be reverse
* engineered, decompiled, modified and/or disassembled.
*
* THIS SOFTWARE IS PROVIDED BY NORDIC SEMICONDUCTOR ASA "AS IS" AND ANY EXPRESS
* OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
* OF MERCHANTABILITY, NONINFRINGEMENT, AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL NORDIC SEMICONDUCTOR ASA OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
* GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
*/
#ifndef NRFX_IRQS_NRF52832_H__
#define NRFX_IRQS_NRF52832_H__
#ifdef __cplusplus
extern "C" {
#endif
// POWER_CLOCK_IRQn
#define nrfx_power_clock_irq_handler POWER_CLOCK_IRQHandler
// RADIO_IRQn
// UARTE0_IRQn
#define nrfx_uarte_0_irq_handler UARTE0_IRQHandler
// TWIM0_TWIS0_IRQn
#if NRFX_CHECK(NRFX_PRS_BOX_0_ENABLED)
#define nrfx_prs_box_0_irq_handler TWIM0_TWIS0_IRQHandler
#else
#define nrfx_twim_0_irq_handler TWIM0_TWIS0_IRQHandler
#define nrfx_twis_0_irq_handler TWIM0_TWIS0_IRQHandler
#endif
// SPIM1_SPIS1_IRQn
#if NRFX_CHECK(NRFX_PRS_BOX_1_ENABLED)
#define nrfx_prs_box_1_irq_handler SPIM1_SPIS1_IRQHandler
#else
#define nrfx_spim_1_irq_handler SPIM1_SPIS1_IRQHandler
#define nrfx_spis_1_irq_handler SPIM1_SPIS1_IRQHandler
#endif
// GPIOTE_IRQn
#define nrfx_gpiote_irq_handler GPIOTE_IRQHandler
// SAADC_IRQn
#define nrfx_saadc_irq_handler SAADC_IRQHandler
// TIMER0_IRQn
#define nrfx_timer_0_irq_handler TIMER0_IRQHandler
// TIMER1_IRQn
#define nrfx_timer_1_irq_handler TIMER1_IRQHandler
// TIMER2_IRQn
#define nrfx_timer_2_irq_handler TIMER2_IRQHandler
// RTC0_IRQn
#define nrfx_rtc_0_irq_handler RTC0_IRQHandler
// TEMP_IRQn
// RNG_IRQn
#define nrfx_rng_irq_handler RNG_IRQHandler
// ECB_IRQn
// CCM_AAR_IRQn
// WDT_IRQn
#define nrfx_wdt_irq_handler WDT_IRQHandler
// RTC1_IRQn
#define nrfx_rtc_1_irq_handler RTC1_IRQHandler
// QDEC_IRQn
#define nrfx_qdec_irq_handler QDEC_IRQHandler
// COMP_IRQn
#define nrfx_comp_irq_handler COMP_IRQHandler
// SWI0_EGU0_IRQn
#define nrfx_swi_0_irq_handler SWI0_EGU0_IRQHandler
// SWI1_EGU1_IRQn
#define nrfx_swi_1_irq_handler SWI1_EGU1_IRQHandler
// SWI2_IRQn
#define nrfx_swi_2_irq_handler SWI2_IRQHandler
// SWI3_IRQn
#define nrfx_swi_3_irq_handler SWI3_IRQHandler
// SWI4_IRQn
#define nrfx_swi_4_irq_handler SWI4_IRQHandler
// SWI5_IRQn
#define nrfx_swi_5_irq_handler SWI5_IRQHandler
// PWM0_IRQn
#define nrfx_pwm_0_irq_handler PWM0_IRQHandler
// PDM_IRQn
#define nrfx_pdm_irq_handler PDM_IRQHandler
#ifdef __cplusplus
}
#endif
#endif // NRFX_IRQS_NRF52832_H__
| {
"pile_set_name": "Github"
} |
// Copyright 2016 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package gensupport
import (
"bytes"
"fmt"
"io"
"io/ioutil"
"mime"
"mime/multipart"
"net/http"
"net/textproto"
"strings"
"sync"
"google.golang.org/api/googleapi"
)
const sniffBuffSize = 512
func newContentSniffer(r io.Reader) *contentSniffer {
return &contentSniffer{r: r}
}
// contentSniffer wraps a Reader, and reports the content type determined by sniffing up to 512 bytes from the Reader.
type contentSniffer struct {
r io.Reader
start []byte // buffer for the sniffed bytes.
err error // set to any error encountered while reading bytes to be sniffed.
ctype string // set on first sniff.
sniffed bool // set to true on first sniff.
}
func (cs *contentSniffer) Read(p []byte) (n int, err error) {
// Ensure that the content type is sniffed before any data is consumed from Reader.
_, _ = cs.ContentType()
if len(cs.start) > 0 {
n := copy(p, cs.start)
cs.start = cs.start[n:]
return n, nil
}
// We may have read some bytes into start while sniffing, even if the read ended in an error.
// We should first return those bytes, then the error.
if cs.err != nil {
return 0, cs.err
}
// Now we have handled all bytes that were buffered while sniffing. Now just delegate to the underlying reader.
return cs.r.Read(p)
}
// ContentType returns the sniffed content type, and whether the content type was succesfully sniffed.
func (cs *contentSniffer) ContentType() (string, bool) {
if cs.sniffed {
return cs.ctype, cs.ctype != ""
}
cs.sniffed = true
// If ReadAll hits EOF, it returns err==nil.
cs.start, cs.err = ioutil.ReadAll(io.LimitReader(cs.r, sniffBuffSize))
// Don't try to detect the content type based on possibly incomplete data.
if cs.err != nil {
return "", false
}
cs.ctype = http.DetectContentType(cs.start)
return cs.ctype, true
}
// DetermineContentType determines the content type of the supplied reader.
// If the content type is already known, it can be specified via ctype.
// Otherwise, the content of media will be sniffed to determine the content type.
// If media implements googleapi.ContentTyper (deprecated), this will be used
// instead of sniffing the content.
// After calling DetectContentType the caller must not perform further reads on
// media, but rather read from the Reader that is returned.
func DetermineContentType(media io.Reader, ctype string) (io.Reader, string) {
// Note: callers could avoid calling DetectContentType if ctype != "",
// but doing the check inside this function reduces the amount of
// generated code.
if ctype != "" {
return media, ctype
}
// For backwards compatability, allow clients to set content
// type by providing a ContentTyper for media.
if typer, ok := media.(googleapi.ContentTyper); ok {
return media, typer.ContentType()
}
sniffer := newContentSniffer(media)
if ctype, ok := sniffer.ContentType(); ok {
return sniffer, ctype
}
// If content type could not be sniffed, reads from sniffer will eventually fail with an error.
return sniffer, ""
}
type typeReader struct {
io.Reader
typ string
}
// multipartReader combines the contents of multiple readers to create a multipart/related HTTP body.
// Close must be called if reads from the multipartReader are abandoned before reaching EOF.
type multipartReader struct {
pr *io.PipeReader
ctype string
mu sync.Mutex
pipeOpen bool
}
// boundary optionally specifies the MIME boundary
func newMultipartReader(parts []typeReader, boundary string) *multipartReader {
mp := &multipartReader{pipeOpen: true}
var pw *io.PipeWriter
mp.pr, pw = io.Pipe()
mpw := multipart.NewWriter(pw)
if boundary != "" {
mpw.SetBoundary(boundary)
}
mp.ctype = "multipart/related; boundary=" + mpw.Boundary()
go func() {
for _, part := range parts {
w, err := mpw.CreatePart(typeHeader(part.typ))
if err != nil {
mpw.Close()
pw.CloseWithError(fmt.Errorf("googleapi: CreatePart failed: %v", err))
return
}
_, err = io.Copy(w, part.Reader)
if err != nil {
mpw.Close()
pw.CloseWithError(fmt.Errorf("googleapi: Copy failed: %v", err))
return
}
}
mpw.Close()
pw.Close()
}()
return mp
}
func (mp *multipartReader) Read(data []byte) (n int, err error) {
return mp.pr.Read(data)
}
func (mp *multipartReader) Close() error {
mp.mu.Lock()
if !mp.pipeOpen {
mp.mu.Unlock()
return nil
}
mp.pipeOpen = false
mp.mu.Unlock()
return mp.pr.Close()
}
// CombineBodyMedia combines a json body with media content to create a multipart/related HTTP body.
// It returns a ReadCloser containing the combined body, and the overall "multipart/related" content type, with random boundary.
//
// The caller must call Close on the returned ReadCloser if reads are abandoned before reaching EOF.
func CombineBodyMedia(body io.Reader, bodyContentType string, media io.Reader, mediaContentType string) (io.ReadCloser, string) {
return combineBodyMedia(body, bodyContentType, media, mediaContentType, "")
}
// combineBodyMedia is CombineBodyMedia but with an optional mimeBoundary field.
func combineBodyMedia(body io.Reader, bodyContentType string, media io.Reader, mediaContentType, mimeBoundary string) (io.ReadCloser, string) {
mp := newMultipartReader([]typeReader{
{body, bodyContentType},
{media, mediaContentType},
}, mimeBoundary)
return mp, mp.ctype
}
func typeHeader(contentType string) textproto.MIMEHeader {
h := make(textproto.MIMEHeader)
if contentType != "" {
h.Set("Content-Type", contentType)
}
return h
}
// PrepareUpload determines whether the data in the supplied reader should be
// uploaded in a single request, or in sequential chunks.
// chunkSize is the size of the chunk that media should be split into.
//
// If chunkSize is zero, media is returned as the first value, and the other
// two return values are nil, true.
//
// Otherwise, a MediaBuffer is returned, along with a bool indicating whether the
// contents of media fit in a single chunk.
//
// After PrepareUpload has been called, media should no longer be used: the
// media content should be accessed via one of the return values.
func PrepareUpload(media io.Reader, chunkSize int) (r io.Reader, mb *MediaBuffer, singleChunk bool) {
if chunkSize == 0 { // do not chunk
return media, nil, true
}
mb = NewMediaBuffer(media, chunkSize)
_, _, _, err := mb.Chunk()
// If err is io.EOF, we can upload this in a single request. Otherwise, err is
// either nil or a non-EOF error. If it is the latter, then the next call to
// mb.Chunk will return the same error. Returning a MediaBuffer ensures that this
// error will be handled at some point.
return nil, mb, err == io.EOF
}
// MediaInfo holds information for media uploads. It is intended for use by generated
// code only.
type MediaInfo struct {
// At most one of Media and MediaBuffer will be set.
media io.Reader
buffer *MediaBuffer
singleChunk bool
mType string
size int64 // mediaSize, if known. Used only for calls to progressUpdater_.
progressUpdater googleapi.ProgressUpdater
}
// NewInfoFromMedia should be invoked from the Media method of a call. It returns a
// MediaInfo populated with chunk size and content type, and a reader or MediaBuffer
// if needed.
func NewInfoFromMedia(r io.Reader, options []googleapi.MediaOption) *MediaInfo {
mi := &MediaInfo{}
opts := googleapi.ProcessMediaOptions(options)
if !opts.ForceEmptyContentType {
r, mi.mType = DetermineContentType(r, opts.ContentType)
}
mi.media, mi.buffer, mi.singleChunk = PrepareUpload(r, opts.ChunkSize)
return mi
}
// NewInfoFromResumableMedia should be invoked from the ResumableMedia method of a
// call. It returns a MediaInfo using the given reader, size and media type.
func NewInfoFromResumableMedia(r io.ReaderAt, size int64, mediaType string) *MediaInfo {
rdr := ReaderAtToReader(r, size)
rdr, mType := DetermineContentType(rdr, mediaType)
return &MediaInfo{
size: size,
mType: mType,
buffer: NewMediaBuffer(rdr, googleapi.DefaultUploadChunkSize),
media: nil,
singleChunk: false,
}
}
// SetProgressUpdater sets the progress updater for the media info.
func (mi *MediaInfo) SetProgressUpdater(pu googleapi.ProgressUpdater) {
if mi != nil {
mi.progressUpdater = pu
}
}
// UploadType determines the type of upload: a single request, or a resumable
// series of requests.
func (mi *MediaInfo) UploadType() string {
if mi.singleChunk {
return "multipart"
}
return "resumable"
}
// UploadRequest sets up an HTTP request for media upload. It adds headers
// as necessary, and returns a replacement for the body and a function for http.Request.GetBody.
func (mi *MediaInfo) UploadRequest(reqHeaders http.Header, body io.Reader) (newBody io.Reader, getBody func() (io.ReadCloser, error), cleanup func()) {
cleanup = func() {}
if mi == nil {
return body, nil, cleanup
}
var media io.Reader
if mi.media != nil {
// This only happens when the caller has turned off chunking. In that
// case, we write all of media in a single non-retryable request.
media = mi.media
} else if mi.singleChunk {
// The data fits in a single chunk, which has now been read into the MediaBuffer.
// We obtain that chunk so we can write it in a single request. The request can
// be retried because the data is stored in the MediaBuffer.
media, _, _, _ = mi.buffer.Chunk()
}
if media != nil {
fb := readerFunc(body)
fm := readerFunc(media)
combined, ctype := CombineBodyMedia(body, "application/json", media, mi.mType)
toCleanup := []io.Closer{
combined,
}
if fb != nil && fm != nil {
getBody = func() (io.ReadCloser, error) {
rb := ioutil.NopCloser(fb())
rm := ioutil.NopCloser(fm())
var mimeBoundary string
if _, params, err := mime.ParseMediaType(ctype); err == nil {
mimeBoundary = params["boundary"]
}
r, _ := combineBodyMedia(rb, "application/json", rm, mi.mType, mimeBoundary)
toCleanup = append(toCleanup, r)
return r, nil
}
}
cleanup = func() {
for _, closer := range toCleanup {
_ = closer.Close()
}
}
reqHeaders.Set("Content-Type", ctype)
body = combined
}
if mi.buffer != nil && mi.mType != "" && !mi.singleChunk {
reqHeaders.Set("X-Upload-Content-Type", mi.mType)
}
return body, getBody, cleanup
}
// readerFunc returns a function that always returns an io.Reader that has the same
// contents as r, provided that can be done without consuming r. Otherwise, it
// returns nil.
// See http.NewRequest (in net/http/request.go).
func readerFunc(r io.Reader) func() io.Reader {
switch r := r.(type) {
case *bytes.Buffer:
buf := r.Bytes()
return func() io.Reader { return bytes.NewReader(buf) }
case *bytes.Reader:
snapshot := *r
return func() io.Reader { r := snapshot; return &r }
case *strings.Reader:
snapshot := *r
return func() io.Reader { r := snapshot; return &r }
default:
return nil
}
}
// ResumableUpload returns an appropriately configured ResumableUpload value if the
// upload is resumable, or nil otherwise.
func (mi *MediaInfo) ResumableUpload(locURI string) *ResumableUpload {
if mi == nil || mi.singleChunk {
return nil
}
return &ResumableUpload{
URI: locURI,
Media: mi.buffer,
MediaType: mi.mType,
Callback: func(curr int64) {
if mi.progressUpdater != nil {
mi.progressUpdater(curr, mi.size)
}
},
}
}
// SetGetBody sets the GetBody field of req to f. This was once needed
// to gracefully support Go 1.7 and earlier which didn't have that
// field.
//
// Deprecated: the code generator no longer uses this as of
// 2019-02-19. Nothing else should be calling this anyway, but we
// won't delete this immediately; it will be deleted in as early as 6
// months.
func SetGetBody(req *http.Request, f func() (io.ReadCloser, error)) {
req.GetBody = f
}
| {
"pile_set_name": "Github"
} |
///////////////////////////////////////////////////////////////////////////////
//
// AutobahnJava - http://crossbar.io/autobahn
//
// Copyright (c) Crossbar.io Technologies GmbH and contributors
//
// Licensed under the MIT License.
// http://www.opensource.org/licenses/mit-license.php
//
///////////////////////////////////////////////////////////////////////////////
package io.crossbar.autobahn.websocket;
import java.io.ByteArrayOutputStream;
import java.io.UnsupportedEncodingException;
import java.util.Random;
import io.crossbar.autobahn.websocket.exceptions.ParseFailed;
public class FrameProtocol {
private static final int MAX_PAYLOAD_NORMAL = 125;
private static final int MAX_PAYLOAD_TWO_BYTE = 0xffff; // 2^16 - 1;
private final Random mRng = new Random();
public byte[] ping(byte[] payload) throws ParseFailed {
if (payload != null && payload.length > 125) {
throw new ParseFailed("ping payload exceeds 125 octets");
}
return serializeFrame(9, payload, true, true);
}
public byte[] pong(byte[] payload) throws ParseFailed {
if (payload != null && payload.length > 125) {
throw new ParseFailed("ping payload exceeds 125 octets");
}
return serializeFrame(10, payload, true, true);
}
public byte[] close(int code, String reason) throws ParseFailed {
if (code > 0) {
byte[] payload;
if (reason != null && !reason.equals("")) {
try {
byte[] pReason = reason.getBytes("UTF-8");
payload = new byte[2 + pReason.length];
System.arraycopy(pReason, 0, payload, 2, pReason.length);
} catch (UnsupportedEncodingException e) {
throw new ParseFailed("reason is an invalid utf-8 string");
}
} else {
payload = new byte[2];
}
payload[0] = (byte) ((code >> 8) & 0xff);
payload[1] = (byte) (code & 0xff);
return serializeFrame(8, payload, true, true);
} else {
return serializeFrame(8, null, true, true);
}
}
public byte[] sendBinary(byte[] payload) {
return serializeFrame(2, payload, true, true);
}
public byte[] sendText(byte[] payload) {
return serializeFrame(1, payload, true, true);
}
private byte[] serializeFrame(int opcode, byte[] payload, boolean fin, boolean maskFrames) {
ByteArrayOutputStream buffer = new ByteArrayOutputStream();
// first octet
byte b0 = 0;
if (fin) {
b0 |= (byte) (1 << 7);
}
b0 |= (byte) opcode;
buffer.write(b0);
// second octet
byte b1 = 0;
if (maskFrames) {
b1 = (byte) (1 << 7);
}
long len = 0;
if (payload != null) {
len = payload.length;
}
// extended payload length
if (len <= MAX_PAYLOAD_NORMAL) {
b1 |= (byte) len;
buffer.write(b1);
} else if (len <= MAX_PAYLOAD_TWO_BYTE) {
b1 |= (byte) (126 & 0xff);
buffer.write(b1);
byte[] payloadLength = new byte[]{(byte) ((len >> 8) & 0xff), (byte) (len & 0xff)};
buffer.write(payloadLength, 0, payloadLength.length);
} else {
b1 |= (byte) (127 & 0xff);
buffer.write(b1);
byte[] payloadLength = new byte[]{
(byte) ((len >> 56) & 0xff),
(byte) ((len >> 48) & 0xff),
(byte) ((len >> 40) & 0xff),
(byte) ((len >> 32) & 0xff),
(byte) ((len >> 24) & 0xff),
(byte) ((len >> 16) & 0xff),
(byte) ((len >> 8) & 0xff),
(byte) (len & 0xff)};
buffer.write(payloadLength, 0, payloadLength.length);
}
byte[] mask = null;
if (maskFrames) {
// a mask is always needed, even without payload
mask = newFrameMask();
buffer.write(mask[0]);
buffer.write(mask[1]);
buffer.write(mask[2]);
buffer.write(mask[3]);
}
if (len > 0) {
if (maskFrames) {
/// \todo optimize masking
/// \todo masking within buffer of output stream
for (int i = 0; i < len; ++i) {
payload[i] ^= mask[i % 4];
}
}
buffer.write(payload, 0, payload.length);
}
return buffer.toByteArray();
}
private byte[] newFrameMask() {
final byte[] ba = new byte[4];
mRng.nextBytes(ba);
return ba;
}
}
| {
"pile_set_name": "Github"
} |
//
// 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 NSString;
@protocol WCShareCardBaseCardHeaderDelegate <NSObject>
@optional
- (_Bool)isItemFromOutAppScene;
- (void)onNeedOpenUrlStr:(NSString *)arg1;
- (void)onClickShareCardBtn;
- (void)onClickAcceptCardBtn:(NSString *)arg1;
@end
| {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>16G29</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>NvidiaGraphicsFixup</string>
<key>CFBundleIdentifier</key>
<string>as.lvs1974.NvidiaGraphicsFixup</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>NvidiaGraphicsFixup</string>
<key>CFBundlePackageType</key>
<string>KEXT</string>
<key>CFBundleShortVersionString</key>
<string>1.2.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>MacOSX</string>
</array>
<key>CFBundleVersion</key>
<string>1.2.1</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
<string>9A1004</string>
<key>DTPlatformVersion</key>
<string>GM</string>
<key>DTSDKBuild</key>
<string>17A360</string>
<key>DTSDKName</key>
<string>macosx10.13</string>
<key>DTXcode</key>
<string>0901</string>
<key>DTXcodeBuild</key>
<string>9A1004</string>
<key>IOKitPersonalities</key>
<dict>
<key>as.lvs1974.NvidiaAudio</key>
<dict>
<key>CFBundleIdentifier</key>
<string>as.lvs1974.NvidiaGraphicsFixup</string>
<key>IOClass</key>
<string>NVidiaAudio</string>
<key>IOMatchCategory</key>
<string>IOService</string>
<key>IOPCIClassMatch</key>
<string>0x04030000&0xffff0000</string>
<key>IOPCIMatch</key>
<string>0x000010de&0x0000ffff</string>
<key>IOProbeScore</key>
<integer>60000</integer>
<key>IOProviderClass</key>
<string>IOPCIDevice</string>
</dict>
<key>as.lvs1974.NvidiaGraphicsFixup</key>
<dict>
<key>CFBundleIdentifier</key>
<string>as.lvs1974.NvidiaGraphicsFixup</string>
<key>IOClass</key>
<string>NvidiaGraphicsFixup</string>
<key>IOMatchCategory</key>
<string>NvidiaGraphicsFixup</string>
<key>IOProviderClass</key>
<string>IOResources</string>
<key>IOResourceMatch</key>
<string>IOKit</string>
</dict>
</dict>
<key>NSHumanReadableCopyright</key>
<string>Copyright ยฉ 2017 lvs1974. All rights reserved.</string>
<key>OSBundleCompatibleVersion</key>
<string>1.0</string>
<key>OSBundleLibraries</key>
<dict>
<key>as.vit9696.Lilu</key>
<string>1.2.0</string>
<key>com.apple.kpi.bsd</key>
<string>12.0.0</string>
<key>com.apple.kpi.dsep</key>
<string>12.0.0</string>
<key>com.apple.kpi.iokit</key>
<string>12.0.0</string>
<key>com.apple.kpi.libkern</key>
<string>12.0.0</string>
<key>com.apple.kpi.mach</key>
<string>12.0.0</string>
<key>com.apple.kpi.unsupported</key>
<string>12.0.0</string>
</dict>
<key>OSBundleRequired</key>
<string>Root</string>
</dict>
</plist>
| {
"pile_set_name": "Github"
} |
FORMATTING(1)
This is nested formatting text.
SECOND HEADING
Some text at second level.
Third heading
Some text at third level.
Fourth heading
Some text at fourth level.
QUOTES AND BLOCKS.
Here are some quotes and blocks.
This is a block quote. Ambidextrously koala apart that prudent
blindly alas far amid dear goodness turgid so exact inside oh and
alas much fanciful that dark on spoon-fed adequately insolent walking
crud.
This is a code block. Groundhog watchfully sudden firefly some self-consciously hotly jeepers satanic after that this parrot this at virtuous
some mocking the leaned jeez nightingale as much mallard so because jeez
turned dear crud grizzly strenuously.
Indented and should be unmodified.
This is an indented code block. Egregiously yikes animatedly since outside beseechingly a badger hey shakily giraffe a one wow one this
goodness regarding reindeer so astride before.
Doubly indented
LISTS
1. Ordered list
o Unordered list
With a second paragraph inside it
1. Inner ordered list
2. Another
o Eggs
o Milk
5. Don't start at one.
6. tamarind
2. Second element
3. Third element
BREAKS
This has a
hard break in it and a soft one.
HORIZONTAL RULE
This should contain a line:
_________________________________________________________________
Nice!
STRANGE CHARACTERS
Handles escaping for characters
.dot at the start of a line.
\fBnot really troff
Various characters \ - โ โ โ โ โ โ
tree
โโโ example
โโโ salamander
โ โโโ honey
โ โโโ some
โโโ fancifully
โโโ trout
ย ย ย ย non-breaking space.
| {
"pile_set_name": "Github"
} |
package terraform
import (
"fmt"
"github.com/hashicorp/terraform-plugin-sdk/internal/addrs"
"github.com/hashicorp/terraform-plugin-sdk/internal/dag"
"github.com/hashicorp/terraform-plugin-sdk/internal/plans"
"github.com/hashicorp/terraform-plugin-sdk/internal/providers"
"github.com/hashicorp/terraform-plugin-sdk/internal/states"
)
// ConcreteResourceInstanceDeposedNodeFunc is a callback type used to convert
// an abstract resource instance to a concrete one of some type that has
// an associated deposed object key.
type ConcreteResourceInstanceDeposedNodeFunc func(*NodeAbstractResourceInstance, states.DeposedKey) dag.Vertex
type GraphNodeDeposedResourceInstanceObject interface {
DeposedInstanceObjectKey() states.DeposedKey
}
// NodePlanDeposedResourceInstanceObject represents deposed resource
// instance objects during plan. These are distinct from the primary object
// for each resource instance since the only valid operation to do with them
// is to destroy them.
//
// This node type is also used during the refresh walk to ensure that the
// record of a deposed object is up-to-date before we plan to destroy it.
type NodePlanDeposedResourceInstanceObject struct {
*NodeAbstractResourceInstance
DeposedKey states.DeposedKey
}
var (
_ GraphNodeDeposedResourceInstanceObject = (*NodePlanDeposedResourceInstanceObject)(nil)
_ GraphNodeResource = (*NodePlanDeposedResourceInstanceObject)(nil)
_ GraphNodeResourceInstance = (*NodePlanDeposedResourceInstanceObject)(nil)
_ GraphNodeReferenceable = (*NodePlanDeposedResourceInstanceObject)(nil)
_ GraphNodeReferencer = (*NodePlanDeposedResourceInstanceObject)(nil)
_ GraphNodeEvalable = (*NodePlanDeposedResourceInstanceObject)(nil)
_ GraphNodeProviderConsumer = (*NodePlanDeposedResourceInstanceObject)(nil)
_ GraphNodeProvisionerConsumer = (*NodePlanDeposedResourceInstanceObject)(nil)
)
func (n *NodePlanDeposedResourceInstanceObject) Name() string {
return fmt.Sprintf("%s (deposed %s)", n.ResourceInstanceAddr().String(), n.DeposedKey)
}
func (n *NodePlanDeposedResourceInstanceObject) DeposedInstanceObjectKey() states.DeposedKey {
return n.DeposedKey
}
// GraphNodeReferenceable implementation, overriding the one from NodeAbstractResourceInstance
func (n *NodePlanDeposedResourceInstanceObject) ReferenceableAddrs() []addrs.Referenceable {
// Deposed objects don't participate in references.
return nil
}
// GraphNodeReferencer implementation, overriding the one from NodeAbstractResourceInstance
func (n *NodePlanDeposedResourceInstanceObject) References() []*addrs.Reference {
// We don't evaluate configuration for deposed objects, so they effectively
// make no references.
return nil
}
// GraphNodeEvalable impl.
func (n *NodePlanDeposedResourceInstanceObject) EvalTree() EvalNode {
addr := n.ResourceInstanceAddr()
var provider providers.Interface
var providerSchema *ProviderSchema
var state *states.ResourceInstanceObject
seq := &EvalSequence{Nodes: make([]EvalNode, 0, 5)}
// During the refresh walk we will ensure that our record of the deposed
// object is up-to-date. If it was already deleted outside of Terraform
// then this will remove it from state and thus avoid us planning a
// destroy for it during the subsequent plan walk.
seq.Nodes = append(seq.Nodes, &EvalOpFilter{
Ops: []walkOperation{walkRefresh},
Node: &EvalSequence{
Nodes: []EvalNode{
&EvalGetProvider{
Addr: n.ResolvedProvider,
Output: &provider,
Schema: &providerSchema,
},
&EvalReadStateDeposed{
Addr: addr.Resource,
Provider: &provider,
ProviderSchema: &providerSchema,
Key: n.DeposedKey,
Output: &state,
},
&EvalRefresh{
Addr: addr.Resource,
ProviderAddr: n.ResolvedProvider,
Provider: &provider,
ProviderSchema: &providerSchema,
State: &state,
Output: &state,
},
&EvalWriteStateDeposed{
Addr: addr.Resource,
Key: n.DeposedKey,
ProviderAddr: n.ResolvedProvider,
ProviderSchema: &providerSchema,
State: &state,
},
},
},
})
// During the plan walk we always produce a planned destroy change, because
// destroying is the only supported action for deposed objects.
var change *plans.ResourceInstanceChange
seq.Nodes = append(seq.Nodes, &EvalOpFilter{
Ops: []walkOperation{walkPlan, walkPlanDestroy},
Node: &EvalSequence{
Nodes: []EvalNode{
&EvalGetProvider{
Addr: n.ResolvedProvider,
Output: &provider,
Schema: &providerSchema,
},
&EvalReadStateDeposed{
Addr: addr.Resource,
Output: &state,
Key: n.DeposedKey,
Provider: &provider,
ProviderSchema: &providerSchema,
},
&EvalDiffDestroy{
Addr: addr.Resource,
ProviderAddr: n.ResolvedProvider,
DeposedKey: n.DeposedKey,
State: &state,
Output: &change,
},
&EvalWriteDiff{
Addr: addr.Resource,
DeposedKey: n.DeposedKey,
ProviderSchema: &providerSchema,
Change: &change,
},
// Since deposed objects cannot be referenced by expressions
// elsewhere, we don't need to also record the planned new
// state in this case.
},
},
})
return seq
}
// NodeDestroyDeposedResourceInstanceObject represents deposed resource
// instance objects during apply. Nodes of this type are inserted by
// DiffTransformer when the planned changeset contains "delete" changes for
// deposed instance objects, and its only supported operation is to destroy
// and then forget the associated object.
type NodeDestroyDeposedResourceInstanceObject struct {
*NodeAbstractResourceInstance
DeposedKey states.DeposedKey
}
var (
_ GraphNodeDeposedResourceInstanceObject = (*NodeDestroyDeposedResourceInstanceObject)(nil)
_ GraphNodeResource = (*NodeDestroyDeposedResourceInstanceObject)(nil)
_ GraphNodeResourceInstance = (*NodeDestroyDeposedResourceInstanceObject)(nil)
_ GraphNodeDestroyer = (*NodeDestroyDeposedResourceInstanceObject)(nil)
_ GraphNodeDestroyerCBD = (*NodeDestroyDeposedResourceInstanceObject)(nil)
_ GraphNodeReferenceable = (*NodeDestroyDeposedResourceInstanceObject)(nil)
_ GraphNodeReferencer = (*NodeDestroyDeposedResourceInstanceObject)(nil)
_ GraphNodeEvalable = (*NodeDestroyDeposedResourceInstanceObject)(nil)
_ GraphNodeProviderConsumer = (*NodeDestroyDeposedResourceInstanceObject)(nil)
_ GraphNodeProvisionerConsumer = (*NodeDestroyDeposedResourceInstanceObject)(nil)
)
func (n *NodeDestroyDeposedResourceInstanceObject) Name() string {
return fmt.Sprintf("%s (destroy deposed %s)", n.Addr.String(), n.DeposedKey)
}
func (n *NodeDestroyDeposedResourceInstanceObject) DeposedInstanceObjectKey() states.DeposedKey {
return n.DeposedKey
}
// GraphNodeReferenceable implementation, overriding the one from NodeAbstractResourceInstance
func (n *NodeDestroyDeposedResourceInstanceObject) ReferenceableAddrs() []addrs.Referenceable {
// Deposed objects don't participate in references.
return nil
}
// GraphNodeReferencer implementation, overriding the one from NodeAbstractResourceInstance
func (n *NodeDestroyDeposedResourceInstanceObject) References() []*addrs.Reference {
// We don't evaluate configuration for deposed objects, so they effectively
// make no references.
return nil
}
// GraphNodeDestroyer
func (n *NodeDestroyDeposedResourceInstanceObject) DestroyAddr() *addrs.AbsResourceInstance {
addr := n.ResourceInstanceAddr()
return &addr
}
// GraphNodeDestroyerCBD
func (n *NodeDestroyDeposedResourceInstanceObject) CreateBeforeDestroy() bool {
// A deposed instance is always CreateBeforeDestroy by definition, since
// we use deposed only to handle create-before-destroy.
return true
}
// GraphNodeDestroyerCBD
func (n *NodeDestroyDeposedResourceInstanceObject) ModifyCreateBeforeDestroy(v bool) error {
if !v {
// Should never happen: deposed instances are _always_ create_before_destroy.
return fmt.Errorf("can't deactivate create_before_destroy for a deposed instance")
}
return nil
}
// GraphNodeEvalable impl.
func (n *NodeDestroyDeposedResourceInstanceObject) EvalTree() EvalNode {
addr := n.ResourceInstanceAddr()
var provider providers.Interface
var providerSchema *ProviderSchema
var state *states.ResourceInstanceObject
var change *plans.ResourceInstanceChange
var err error
return &EvalSequence{
Nodes: []EvalNode{
&EvalGetProvider{
Addr: n.ResolvedProvider,
Output: &provider,
Schema: &providerSchema,
},
&EvalReadStateDeposed{
Addr: addr.Resource,
Output: &state,
Key: n.DeposedKey,
Provider: &provider,
ProviderSchema: &providerSchema,
},
&EvalDiffDestroy{
Addr: addr.Resource,
ProviderAddr: n.ResolvedProvider,
State: &state,
Output: &change,
},
// Call pre-apply hook
&EvalApplyPre{
Addr: addr.Resource,
State: &state,
Change: &change,
},
&EvalApply{
Addr: addr.Resource,
Config: nil, // No configuration because we are destroying
State: &state,
Change: &change,
Provider: &provider,
ProviderAddr: n.ResolvedProvider,
ProviderSchema: &providerSchema,
Output: &state,
Error: &err,
},
// Always write the resource back to the state deposed... if it
// was successfully destroyed it will be pruned. If it was not, it will
// be caught on the next run.
&EvalWriteStateDeposed{
Addr: addr.Resource,
Key: n.DeposedKey,
ProviderAddr: n.ResolvedProvider,
ProviderSchema: &providerSchema,
State: &state,
},
&EvalApplyPost{
Addr: addr.Resource,
State: &state,
Error: &err,
},
&EvalReturnError{
Error: &err,
},
&EvalUpdateStateHook{},
},
}
}
// GraphNodeDeposer is an optional interface implemented by graph nodes that
// might create a single new deposed object for a specific associated resource
// instance, allowing a caller to optionally pre-allocate a DeposedKey for
// it.
type GraphNodeDeposer interface {
// SetPreallocatedDeposedKey will be called during graph construction
// if a particular node must use a pre-allocated deposed key if/when it
// "deposes" the current object of its associated resource instance.
SetPreallocatedDeposedKey(key states.DeposedKey)
}
// graphNodeDeposer is an embeddable implementation of GraphNodeDeposer.
// Embed it in a node type to get automatic support for it, and then access
// the field PreallocatedDeposedKey to access any pre-allocated key.
type graphNodeDeposer struct {
PreallocatedDeposedKey states.DeposedKey
}
func (n *graphNodeDeposer) SetPreallocatedDeposedKey(key states.DeposedKey) {
n.PreallocatedDeposedKey = key
}
| {
"pile_set_name": "Github"
} |
<?php
/**
* Variable product add to cart
*
* This template can be overridden by copying it to yourtheme/woocommerce/single-product/add-to-cart/variable.php.
*
* HOWEVER, on occasion WooCommerce will need to update template files and you
* (the theme developer) will need to copy the new files to your theme to
* maintain compatibility. We try to do this as little as possible, but it does
* happen. When this occurs the version of the template file will be bumped and
* the readme will list any important changes.
*
* @see https://docs.woocommerce.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.5.0
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
global $product;
$attribute_keys = array_keys( $attributes );
do_action( 'woocommerce_before_add_to_cart_form' ); ?>
<form class="variations_form cart" method="post" enctype='multipart/form-data' data-product_id="<?php echo absint( $product->id ); ?>" data-product_variations="<?php echo htmlspecialchars( json_encode( $available_variations ) ) ?>">
<?php do_action( 'woocommerce_before_variations_form' ); ?>
<?php if ( empty( $available_variations ) && false !== $available_variations ) : ?>
<p class="stock out-of-stock"><?php _e( 'This product is currently out of stock and unavailable.', 'woocommerce' ); ?></p>
<?php else : ?>
<table class="variations" cellspacing="0">
<tbody>
<?php foreach ( $attributes as $attribute_name => $options ) : ?>
<tr>
<td class="label"><label for="<?php echo sanitize_title( $attribute_name ); ?>"><?php echo wc_attribute_label( $attribute_name ); ?></label></td>
<td class="value">
<?php
$selected = isset( $_REQUEST[ 'attribute_' . sanitize_title( $attribute_name ) ] ) ? wc_clean( urldecode( $_REQUEST[ 'attribute_' . sanitize_title( $attribute_name ) ] ) ) : $product->get_variation_default_attribute( $attribute_name );
wc_dropdown_variation_attribute_options( array( 'options' => $options, 'attribute' => $attribute_name, 'product' => $product, 'selected' => $selected ) );
echo end( $attribute_keys ) === $attribute_name ? apply_filters( 'woocommerce_reset_variations_link', '<a class="reset_variations" href="#">' . __( 'Clear', 'woocommerce' ) . '</a>' ) : '';
?>
</td>
</tr>
<?php endforeach;?>
</tbody>
</table>
<?php do_action( 'woocommerce_before_add_to_cart_button' ); ?>
<div class="single_variation_wrap">
<?php
/**
* woocommerce_before_single_variation Hook.
*/
do_action( 'woocommerce_before_single_variation' );
/**
* woocommerce_single_variation hook. Used to output the cart button and placeholder for variation data.
* @since 2.4.0
* @hooked woocommerce_single_variation - 10 Empty div for variation data.
* @hooked woocommerce_single_variation_add_to_cart_button - 20 Qty and cart button.
*/
do_action( 'woocommerce_single_variation' );
/**
* woocommerce_after_single_variation Hook.
*/
do_action( 'woocommerce_after_single_variation' );
?>
</div>
<?php do_action( 'woocommerce_after_add_to_cart_button' ); ?>
<?php endif; ?>
<?php do_action( 'woocommerce_after_variations_form' ); ?>
</form>
<?php
do_action( 'woocommerce_after_add_to_cart_form' );
| {
"pile_set_name": "Github"
} |
Certificate:
Data:
Version: 3 (0x2)
Serial Number: 36 (0x24)
Signature Algorithm: sha1WithRSAEncryption
Issuer: C=US, ST=NC, L=Raleigh, O=Fedora Project, OU=fedmsg, CN=fedmsg/name=fedmsg/[email protected]
Validity
Not Before: Jul 15 21:18:54 2012 GMT
Not After : Jul 13 21:18:54 2022 GMT
Subject: C=US, ST=NC, L=Raleigh, O=Fedora Project, OU=fedmsg, CN=mediawiki-app01.stg.phx2.fedoraproject.org/name=mediawiki-app01.stg.phx2.fedoraproject.org/[email protected]
Subject Public Key Info:
Public Key Algorithm: rsaEncryption
Public-Key: (1024 bit)
Modulus:
00:af:f8:46:1b:09:86:56:1f:02:e4:e6:8f:0a:01:
0e:af:5c:d5:e2:9f:2b:96:b4:32:73:da:d5:3f:c8:
07:24:7b:5e:cc:b2:a6:43:24:eb:c8:b8:42:38:2c:
a6:0b:32:c0:bc:ac:3d:f7:3a:e3:7c:56:52:c6:c6:
a1:2d:b7:53:9e:d4:75:c7:63:21:56:20:fa:c6:46:
77:c7:e8:96:4a:d1:49:b6:89:14:d1:18:0e:af:19:
4c:5b:da:bd:f8:3b:80:be:e0:5b:81:14:da:cc:e6:
c5:99:1d:42:a6:3b:0b:93:30:14:d2:6f:83:d8:99:
a1:49:1e:7b:e6:ea:60:c8:29
Exponent: 65537 (0x10001)
X509v3 extensions:
X509v3 Basic Constraints:
CA:FALSE
Netscape Comment:
Easy-RSA Generated Certificate
X509v3 Subject Key Identifier:
E1:66:08:F7:79:4A:8D:3A:85:0E:FD:04:C6:12:3C:44:91:D4:ED:91
X509v3 Authority Key Identifier:
keyid:00:98:A5:D5:E7:C4:55:0E:84:A3:67:FE:66:4A:16:E0:04:15:DD:21
DirName:/C=US/ST=NC/L=Raleigh/O=Fedora Project/OU=fedmsg/CN=fedmsg/name=fedmsg/[email protected]
serial:8E:EB:28:D8:A9:13:9D:7C
X509v3 Extended Key Usage:
TLS Web Client Authentication
X509v3 Key Usage:
Digital Signature
Signature Algorithm: sha1WithRSAEncryption
5e:95:9d:35:70:32:7b:25:01:3a:2d:36:3c:a4:86:5b:00:a5:
c9:4a:ec:fb:9d:50:1d:22:02:1f:46:95:da:3f:97:3c:01:83:
41:b8:a0:2e:26:ee:7e:75:c9:39:9c:23:bf:ab:4e:a8:c9:5d:
40:be:e5:34:73:3c:e8:62:3c:bf:ea:a9:01:94:60:41:cc:45:
e6:fa:eb:54:ca:f4:d0:0f:7c:02:a6:06:7d:16:77:8e:0e:7e:
af:70:a1:2c:a4:32:9b:ab:b1:3c:2d:86:16:2b:bb:64:b9:2e:
db:fe:32:24:75:2a:74:15:33:5d:0b:07:e3:0f:97:5d:a0:03:
58:4a
-----BEGIN CERTIFICATE-----
MIIEWTCCA8KgAwIBAgIBJDANBgkqhkiG9w0BAQUFADCBoDELMAkGA1UEBhMCVVMx
CzAJBgNVBAgTAk5DMRAwDgYDVQQHEwdSYWxlaWdoMRcwFQYDVQQKEw5GZWRvcmEg
UHJvamVjdDEPMA0GA1UECxMGZmVkbXNnMQ8wDQYDVQQDEwZmZWRtc2cxDzANBgNV
BCkTBmZlZG1zZzEmMCQGCSqGSIb3DQEJARYXYWRtaW5AZmVkb3JhcHJvamVjdC5v
cmcwHhcNMTIwNzE1MjExODU0WhcNMjIwNzEzMjExODU0WjCB6DELMAkGA1UEBhMC
VVMxCzAJBgNVBAgTAk5DMRAwDgYDVQQHEwdSYWxlaWdoMRcwFQYDVQQKEw5GZWRv
cmEgUHJvamVjdDEPMA0GA1UECxMGZmVkbXNnMTMwMQYDVQQDEyptZWRpYXdpa2kt
YXBwMDEuc3RnLnBoeDIuZmVkb3JhcHJvamVjdC5vcmcxMzAxBgNVBCkTKm1lZGlh
d2lraS1hcHAwMS5zdGcucGh4Mi5mZWRvcmFwcm9qZWN0Lm9yZzEmMCQGCSqGSIb3
DQEJARYXYWRtaW5AZmVkb3JhcHJvamVjdC5vcmcwgZ8wDQYJKoZIhvcNAQEBBQAD
gY0AMIGJAoGBAK/4RhsJhlYfAuTmjwoBDq9c1eKfK5a0MnPa1T/IByR7XsyypkMk
68i4QjgspgsywLysPfc643xWUsbGoS23U57UdcdjIVYg+sZGd8folkrRSbaJFNEY
Dq8ZTFvavfg7gL7gW4EU2szmxZkdQqY7C5MwFNJvg9iZoUkee+bqYMgpAgMBAAGj
ggFXMIIBUzAJBgNVHRMEAjAAMC0GCWCGSAGG+EIBDQQgFh5FYXN5LVJTQSBHZW5l
cmF0ZWQgQ2VydGlmaWNhdGUwHQYDVR0OBBYEFOFmCPd5So06hQ79BMYSPESR1O2R
MIHVBgNVHSMEgc0wgcqAFACYpdXnxFUOhKNn/mZKFuAEFd0hoYGmpIGjMIGgMQsw
CQYDVQQGEwJVUzELMAkGA1UECBMCTkMxEDAOBgNVBAcTB1JhbGVpZ2gxFzAVBgNV
BAoTDkZlZG9yYSBQcm9qZWN0MQ8wDQYDVQQLEwZmZWRtc2cxDzANBgNVBAMTBmZl
ZG1zZzEPMA0GA1UEKRMGZmVkbXNnMSYwJAYJKoZIhvcNAQkBFhdhZG1pbkBmZWRv
cmFwcm9qZWN0Lm9yZ4IJAI7rKNipE518MBMGA1UdJQQMMAoGCCsGAQUFBwMCMAsG
A1UdDwQEAwIHgDANBgkqhkiG9w0BAQUFAAOBgQBelZ01cDJ7JQE6LTY8pIZbAKXJ
Suz7nVAdIgIfRpXaP5c8AYNBuKAuJu5+dck5nCO/q06oyV1AvuU0czzoYjy/6qkB
lGBBzEXm+utUyvTQD3wCpgZ9FneODn6vcKEspDKbq7E8LYYWK7tkuS7b/jIkdSp0
FTNdCwfjD5ddoANYSg==
-----END CERTIFICATE-----
| {
"pile_set_name": "Github"
} |
package com.anarchy.classifyview.sample.layoutmanager;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.anarchy.classify.simple.SimpleAdapter;
import com.anarchy.classify.simple.widget.InsertAbleGridView;
import com.anarchy.classifyview.R;
import com.anarchy.classifyview.core.Bean;
import java.util.List;
/**
* Version 2.1.1
* <p>
* Date: 16/12/26 12:00
* Author: [email protected]
*/
public class HHAdapter extends SimpleAdapter<Bean,HHAdapter.ViewHolder>{
public HHAdapter(List<List<Bean>> data) {
super(data);
}
@Override
protected ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
View view = LayoutInflater.from(parent.getContext()).inflate(R.layout.item_sample_horizontal,parent,false);
return new ViewHolder(view);
}
/**
* ็จไบๆพ็คบ{@link InsertAbleGridView} ็itemๅธๅฑ
*
* @param parent ็ถView
* @param convertView ็ผๅญ็View ๅฏ่ฝไธบnull
* @param mainPosition ไธปๅฑ็บงไฝ็ฝฎ
* @param subPosition ๅฏๅฑ็บงไฝ็ฝฎ
* @return
*/
@Override
public View getView(ViewGroup parent, View convertView, int mainPosition, int subPosition) {
if (convertView == null) {
convertView = LayoutInflater.from(parent.getContext()).inflate(R.layout.item_inner, parent, false);
}
return convertView;
}
static class ViewHolder extends SimpleAdapter.ViewHolder{
public ViewHolder(View itemView) {
super(itemView);
}
}
}
| {
"pile_set_name": "Github"
} |
:107E000001C0B6C0112484B790E89093610010922D
:107E10006100882361F0982F9A70923041F081FFC1
:107E200002C097EF94BF282E80E0C5D0E9C085E05E
:107E30008093810082E08093C80088E18093C9002C
:107E40001092CC0086E08093CA008EE0B4D0209AD5
:107E500084E020E93FEF91E0309385002093840097
:107E600096BBB09BFECF189AA8954091C80047FDDD
:107E700002C0815089F793D0813479F490D0182FC3
:107E8000A0D0123811F480E004C088E0113809F065
:107E900083E07ED080E17CD0EECF823419F484E19F
:107EA00098D0F8CF853411F485E0FACF853541F4C8
:107EB00076D0C82F74D0D82FCC0FDD1F82D0EACF58
:107EC000863519F484E085D0DECF843691F567D00D
:107ED00066D0F82E64D0D82E00E011E058018FEF64
:107EE000A81AB80A5CD0F80180838501FA10F6CF91
:107EF00068D0F5E4DF1201C0FFCF50E040E063E05E
:107F0000CE0136D08E01E0E0F1E06F0182E0C80ED4
:107F1000D11C4081518161E0C8012AD00E5F1F4F02
:107F2000F601FC10F2CF50E040E065E0CE0120D039
:107F3000B1CF843771F433D032D0F82E30D041D065
:107F40008E01F80185918F0123D0FA94F110F9CFB9
:107F5000A1CF853739F435D08EE11AD085E918D014
:107F600085E197CF813509F0A9CF88E024D0A6CF4D
:107F7000FC010A0167BFE895112407B600FCFDCF9C
:107F8000667029F0452B19F481E187BFE8950895C3
:107F90009091C80095FFFCCF8093CE00089580910A
:107FA000C80087FFFCCF8091C80084FD01C0A89560
:107FB0008091CE000895E0E6F0E098E19083808320
:107FC0000895EDDF803219F088E0F5DFFFCF84E11E
:107FD000DFCFCF93C82FE3DFC150E9F7CF91F1CFC7
:027FFE00000879
:0400000300007E007B
:00000001FF
| {
"pile_set_name": "Github"
} |
<% content_for :single_space_quota do %>
{
"guid": "f919ef8a-e333-472a-8172-baaf2c30d301",
"created_at": "2016-05-04T17:00:41Z",
"updated_at": "2016-05-04T17:00:41Z",
"name": "don-quixote",
"apps": {
"total_memory_in_mb": 5120,
"per_process_memory_in_mb": 1024,
"total_instances": 10,
"per_app_tasks": null
},
"services": {
"paid_services_allowed": true,
"total_service_instances": 10,
"total_service_keys": 20
},
"routes": {
"total_routes": 8,
"total_reserved_ports": 20
},
"relationships": {
"organization": {
"data": {
"guid": "9b370018-c38e-44c9-86d6-155c76801104"
}
},
"spaces": {
"data": [
{
"guid": "45bb0018-c38e-44c9-86d6-155c76803600"
}
]
}
},
"links": {
"self": {
"href": "https://api.example.org/v3/space_quotas/f919ef8a-e333-472a-8172-baaf2c30d301"
},
"organization": {
"href": "https://api.example.org/v3/organizations/9b370018-c38e-44c9-86d6-155c76801104"
}
}
}
<% end %>
<% content_for :list_space_quotas do %>
{
"pagination": {
"total_results": 2,
"total_pages": 1,
"first": {
"href": "https://api.example.org/v3/space_quotas?page=1&per_page=50"
},
"last": {
"href": "https://api.example.org/v3/space_quotas?page=1&per_page=50"
},
"next": null,
"previous": null
},
"resources": [
{
"guid": "f919ef8a-e333-472a-8172-baaf2c30d301",
"created_at": "2016-05-04T17:00:41Z",
"updated_at": "2016-05-04T17:00:41Z",
"name": "don-quixote",
"apps": {
"total_memory_in_mb": 5120,
"per_process_memory_in_mb": 1024,
"total_instances": 10,
"per_app_tasks": null
},
"services": {
"paid_services_allowed": true,
"total_service_instances": 10,
"total_service_keys": 20
},
"routes": {
"total_routes": 8,
"total_reserved_ports": 20
},
"relationships": {
"organizations": {
"data": {
"guid": "9b370018-c38e-44c9-86d6-155c76801104"
}
},
"spaces": {
"data": [
{
"guid": "45bb0018-c38e-44c9-86d6-155c76803600"
}
]
}
},
"links": {
"self": {
"href": "https://api.example.org/v3/space_quotas/f919ef8a-e333-472a-8172-baaf2c30d301"
},
"organization": {
"href": "https://api.example.org/v3/organizations/9b370018-c38e-44c9-86d6-155c76801104"
}
}
},
{
"guid": "554bcf32-7032-4cb0-92bc-738f9d2089d3",
"created_at": "2017-05-04T17:00:41Z",
"updated_at": "2017-05-04T17:00:41Z",
"name": "sancho-panza",
"apps": {
"total_memory_in_mb": 2048,
"per_process_memory_in_mb": 1024,
"total_instances": 5,
"per_app_tasks": 2
},
"services": {
"paid_services_allowed": true,
"total_service_instances": 10,
"total_service_keys": 20
},
"routes": {
"total_routes": 8,
"total_reserved_ports": 4
},
"relationships": {
"organizations": {
"data": {
"guid": "9b370018-c38e-44c9-86d6-155c76801104"
}
},
"spaces": {
"data": []
}
},
"links": {
"self": {
"href": "https://api.example.org/v3/space_quotas/554bcf32-7032-4cb0-92bc-738f9d2089d3"
},
"organization": {
"href": "https://api.example.org/v3/organizations/9b370018-c38e-44c9-86d6-155c76801104"
}
}
}
]
}
<% end %>
<% content_for :apply_space_quota do %>
{
"data": [
{ "guid": "space-guid1" },
{ "guid": "space-guid2" },
{ "guid": "previous-space-guid" }
],
"links": {
"self": { "href": "https://api.example.org/v3/space_quotas/quota-guid/relationships/spaces" }
}
}
<% end %>
| {
"pile_set_name": "Github"
} |
<?xml version="1.0" encoding="UTF-8" ?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you 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 writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<Form version="1.5" maxVersion="1.7" type="org.netbeans.modules.form.forminfo.JPanelFormInfo">
<NonVisualComponents>
<Component class="javax.swing.ButtonGroup" name="buttonGroupRunAs">
</Component>
</NonVisualComponents>
<AuxValues>
<AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="1"/>
<AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/>
<AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/>
<AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/>
<AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="true"/>
<AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="2"/>
<AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>
<AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>
<AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>
<AuxValue name="designerSize" type="java.awt.Dimension" value="-84,-19,0,5,115,114,0,18,106,97,118,97,46,97,119,116,46,68,105,109,101,110,115,105,111,110,65,-114,-39,-41,-84,95,68,20,2,0,2,73,0,6,104,101,105,103,104,116,73,0,5,119,105,100,116,104,120,112,0,0,1,-37,0,0,2,104"/>
</AuxValues>
<Layout class="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout"/>
<SubComponents>
<Container class="javax.swing.JPanel" name="configPanel">
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
<GridBagConstraints gridX="0" gridY="0" gridWidth="1" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="10" insetsRight="0" anchor="1280" weightX="0.1" weightY="0.0"/>
</Constraint>
</Constraints>
<Layout class="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout"/>
<SubComponents>
<Component class="javax.swing.JLabel" name="labelConfig">
<Properties>
<Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor">
<ComponentRef name="comboConfig"/>
</Property>
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.labelConfig.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
</Properties>
<AccessibilityProperties>
<Property name="AccessibleContext.accessibleName" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.labelConfig.AccessibleContext.accessibleName" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
<Property name="AccessibleContext.accessibleDescription" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.labelConfig.AccessibleContext.accessibleDescription" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
</AccessibilityProperties>
<AuxValues>
<AuxValue name="generateMnemonicsCode" type="java.lang.Boolean" value="true"/>
</AuxValues>
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
<GridBagConstraints gridX="0" gridY="0" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="5" anchor="512" weightX="0.0" weightY="0.0"/>
</Constraint>
</Constraints>
</Component>
<Component class="javax.swing.JComboBox" name="comboConfig">
<Properties>
<Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
<Connection code="new javax.swing.DefaultComboBoxModel(new String[] { JFXProjectProperties.DEFAULT_CONFIG })" type="code"/>
</Property>
</Properties>
<AccessibilityProperties>
<Property name="AccessibleContext.accessibleDescription" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.comboConfig.AccessibleContext.accessibleDescription" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
</AccessibilityProperties>
<Events>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="comboConfigActionPerformed"/>
</Events>
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
<GridBagConstraints gridX="1" gridY="0" gridWidth="1" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="5" anchor="512" weightX="0.1" weightY="0.0"/>
</Constraint>
</Constraints>
</Component>
<Component class="javax.swing.JButton" name="buttonNew">
<Properties>
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.buttonNew.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
</Properties>
<AccessibilityProperties>
<Property name="AccessibleContext.accessibleName" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.buttonNew.AccessibleContext.accessibleName" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
<Property name="AccessibleContext.accessibleDescription" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.buttonNew.AccessibleContext.accessibleDescription" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
</AccessibilityProperties>
<Events>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="buttonNewActionPerformed"/>
</Events>
<AuxValues>
<AuxValue name="generateMnemonicsCode" type="java.lang.Boolean" value="true"/>
</AuxValues>
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
<GridBagConstraints gridX="2" gridY="0" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="5" anchor="768" weightX="0.0" weightY="0.0"/>
</Constraint>
</Constraints>
</Component>
<Component class="javax.swing.JButton" name="buttonDelete">
<Properties>
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.buttonDelete.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
</Properties>
<AccessibilityProperties>
<Property name="AccessibleContext.accessibleName" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.buttonDelete.AccessibleContext.accessibleName" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
<Property name="AccessibleContext.accessibleDescription" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.buttonDelete.AccessibleContext.accessibleDescription" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
</AccessibilityProperties>
<Events>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="buttonDeleteActionPerformed"/>
</Events>
<AuxValues>
<AuxValue name="generateMnemonicsCode" type="java.lang.Boolean" value="true"/>
</AuxValues>
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
<GridBagConstraints gridX="3" gridY="0" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="768" weightX="0.0" weightY="0.0"/>
</Constraint>
</Constraints>
</Component>
</SubComponents>
</Container>
<Component class="javax.swing.JSeparator" name="jSeparator1">
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
<GridBagConstraints gridX="0" gridY="1" gridWidth="1" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="10" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/>
</Constraint>
</Constraints>
</Component>
<Container class="javax.swing.JPanel" name="mainPanel">
<AccessibilityProperties>
<Property name="AccessibleContext.accessibleName" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.mainPanel.AccessibleContext.accessibleName" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
<Property name="AccessibleContext.accessibleDescription" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.mainPanel.AccessibleContext.accessibleDescription" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
</AccessibilityProperties>
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
<GridBagConstraints gridX="0" gridY="2" gridWidth="1" gridHeight="3" fill="2" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="19" weightX="0.0" weightY="0.0"/>
</Constraint>
</Constraints>
<Layout class="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout"/>
<SubComponents>
<Component class="javax.swing.JLabel" name="labelAppClass">
<Properties>
<Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor">
<ComponentRef name="textFieldAppClass"/>
</Property>
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.labelAppClass.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
</Properties>
<AccessibilityProperties>
<Property name="AccessibleContext.accessibleName" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.labelAppClass.AccessibleContext.accessibleName" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
<Property name="AccessibleContext.accessibleDescription" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.labelAppClass.AccessibleContext.accessibleDescription" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
</AccessibilityProperties>
<AuxValues>
<AuxValue name="generateMnemonicsCode" type="java.lang.Boolean" value="true"/>
</AuxValues>
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
<GridBagConstraints gridX="0" gridY="1" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="512" weightX="0.0" weightY="0.0"/>
</Constraint>
</Constraints>
</Component>
<Component class="javax.swing.JTextField" name="textFieldAppClass">
<Events>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="textFieldAppClassActionPerformed"/>
</Events>
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
<GridBagConstraints gridX="1" gridY="1" gridWidth="3" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="5" insetsBottom="15" insetsRight="0" anchor="512" weightX="0.1" weightY="0.0"/>
</Constraint>
</Constraints>
</Component>
<Component class="javax.swing.JButton" name="buttonAppClass">
<Properties>
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.buttonAppClass.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
</Properties>
<AccessibilityProperties>
<Property name="AccessibleContext.accessibleName" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.buttonAppClass.AccessibleContext.accessibleName" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
<Property name="AccessibleContext.accessibleDescription" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.buttonAppClass.AccessibleContext.accessibleDescription" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
</AccessibilityProperties>
<AuxValues>
<AuxValue name="generateMnemonicsCode" type="java.lang.Boolean" value="true"/>
</AuxValues>
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
<GridBagConstraints gridX="4" gridY="1" gridWidth="1" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="5" insetsBottom="0" insetsRight="0" anchor="512" weightX="0.0" weightY="0.0"/>
</Constraint>
</Constraints>
</Component>
<Component class="javax.swing.JLabel" name="labelParams">
<Properties>
<Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor">
<ComponentRef name="textFieldParams"/>
</Property>
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.labelParams.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
</Properties>
<AccessibilityProperties>
<Property name="AccessibleContext.accessibleName" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.labelParams.AccessibleContext.accessibleName" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
<Property name="AccessibleContext.accessibleDescription" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.labelParams.AccessibleContext.accessibleDescription" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
</AccessibilityProperties>
<AuxValues>
<AuxValue name="generateMnemonicsCode" type="java.lang.Boolean" value="true"/>
</AuxValues>
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
<GridBagConstraints gridX="0" gridY="2" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="512" weightX="0.0" weightY="0.0"/>
</Constraint>
</Constraints>
</Component>
<Component class="javax.swing.JTextField" name="textFieldParams">
<Properties>
<Property name="editable" type="boolean" value="false"/>
</Properties>
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
<GridBagConstraints gridX="1" gridY="2" gridWidth="3" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="5" insetsBottom="5" insetsRight="0" anchor="512" weightX="0.1" weightY="0.0"/>
</Constraint>
</Constraints>
</Component>
<Component class="javax.swing.JButton" name="buttonParams">
<Properties>
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.buttonParams.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
</Properties>
<AccessibilityProperties>
<Property name="AccessibleContext.accessibleName" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.buttonParams.AccessibleContext.accessibleName" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
<Property name="AccessibleContext.accessibleDescription" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.buttonParams.AccessibleContext.accessibleDescription" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
</AccessibilityProperties>
<Events>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="buttonParamsActionPerformed"/>
</Events>
<AuxValues>
<AuxValue name="generateMnemonicsCode" type="java.lang.Boolean" value="true"/>
</AuxValues>
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
<GridBagConstraints gridX="4" gridY="2" gridWidth="1" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="5" insetsBottom="0" insetsRight="0" anchor="512" weightX="0.0" weightY="0.0"/>
</Constraint>
</Constraints>
</Component>
<Component class="javax.swing.JLabel" name="labelVMOptions">
<Properties>
<Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor">
<ComponentRef name="textFieldVMOptions"/>
</Property>
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.labelVMOptions.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
</Properties>
<AccessibilityProperties>
<Property name="AccessibleContext.accessibleName" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.labelVMOptions.AccessibleContext.accessibleName" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
<Property name="AccessibleContext.accessibleDescription" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.labelVMOptions.AccessibleContext.accessibleDescription" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
</AccessibilityProperties>
<AuxValues>
<AuxValue name="generateMnemonicsCode" type="java.lang.Boolean" value="true"/>
</AuxValues>
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
<GridBagConstraints gridX="0" gridY="3" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="512" weightX="0.0" weightY="0.0"/>
</Constraint>
</Constraints>
</Component>
<Component class="javax.swing.JTextField" name="textFieldVMOptions">
<AccessibilityProperties>
<Property name="AccessibleContext.accessibleName" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.textFieldVMOptions.AccessibleContext.accessibleName" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
<Property name="AccessibleContext.accessibleDescription" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.textFieldVMOptions.AccessibleContext.accessibleDescription" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
</AccessibilityProperties>
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
<GridBagConstraints gridX="1" gridY="3" gridWidth="3" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="5" insetsBottom="0" insetsRight="0" anchor="256" weightX="0.1" weightY="0.0"/>
</Constraint>
</Constraints>
</Component>
<Component class="javax.swing.JLabel" name="labelVMOptionsRemark">
<Properties>
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.labelVMOptionsRemark.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
</Properties>
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
<GridBagConstraints gridX="1" gridY="4" gridWidth="4" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="5" insetsBottom="8" insetsRight="0" anchor="512" weightX="0.0" weightY="0.0"/>
</Constraint>
</Constraints>
</Component>
<Component class="javax.swing.JCheckBox" name="checkBoxPreloader">
<Properties>
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.checkBoxPreloader.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
<Property name="enabled" type="boolean" value="false"/>
</Properties>
<AccessibilityProperties>
<Property name="AccessibleContext.accessibleName" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.checkBoxPreloader.AccessibleContext.accessibleName" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
<Property name="AccessibleContext.accessibleDescription" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.checkBoxPreloader.AccessibleContext.accessibleDescription" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
</AccessibilityProperties>
<Events>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="checkBoxPreloaderActionPerformed"/>
</Events>
<AuxValues>
<AuxValue name="generateMnemonicsCode" type="java.lang.Boolean" value="true"/>
</AuxValues>
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
<GridBagConstraints gridX="0" gridY="5" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="512" weightX="0.0" weightY="0.0"/>
</Constraint>
</Constraints>
</Component>
<Component class="javax.swing.JTextField" name="textFieldPreloader">
<Properties>
<Property name="editable" type="boolean" value="false"/>
<Property name="enabled" type="boolean" value="false"/>
</Properties>
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
<GridBagConstraints gridX="1" gridY="5" gridWidth="3" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="5" insetsBottom="5" insetsRight="0" anchor="256" weightX="0.1" weightY="0.0"/>
</Constraint>
</Constraints>
</Component>
<Component class="javax.swing.JButton" name="buttonPreloader">
<Properties>
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.buttonPreloader.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
</Properties>
<AccessibilityProperties>
<Property name="AccessibleContext.accessibleName" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.buttonPreloader.AccessibleContext.accessibleName" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
<Property name="AccessibleContext.accessibleDescription" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.buttonPreloader.AccessibleContext.accessibleDescription" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
</AccessibilityProperties>
<Events>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="buttonPreloaderActionPerformed"/>
</Events>
<AuxValues>
<AuxValue name="generateMnemonicsCode" type="java.lang.Boolean" value="true"/>
</AuxValues>
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
<GridBagConstraints gridX="4" gridY="5" gridWidth="1" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="5" insetsBottom="0" insetsRight="0" anchor="256" weightX="0.0" weightY="0.0"/>
</Constraint>
</Constraints>
</Component>
<Component class="javax.swing.JLabel" name="labelPreloaderClass">
<Properties>
<Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor">
<ComponentRef name="comboBoxPreloaderClass"/>
</Property>
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.labelPreloaderClass.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
<Property name="enabled" type="boolean" value="false"/>
</Properties>
<AccessibilityProperties>
<Property name="AccessibleContext.accessibleName" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.labelPreloaderClass.AccessibleContext.accessibleName" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
<Property name="AccessibleContext.accessibleDescription" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.labelPreloaderClass.AccessibleContext.accessibleDescription" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
</AccessibilityProperties>
<AuxValues>
<AuxValue name="generateMnemonicsCode" type="java.lang.Boolean" value="true"/>
</AuxValues>
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
<GridBagConstraints gridX="0" gridY="6" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="768" weightX="0.0" weightY="0.0"/>
</Constraint>
</Constraints>
</Component>
<Component class="javax.swing.JComboBox" name="comboBoxPreloaderClass">
<Properties>
<Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor">
<StringArray count="0"/>
</Property>
<Property name="enabled" type="boolean" value="false"/>
</Properties>
<Events>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="comboBoxPreloaderClassActionPerformed"/>
</Events>
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
<GridBagConstraints gridX="1" gridY="6" gridWidth="3" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="5" insetsBottom="0" insetsRight="0" anchor="256" weightX="0.1" weightY="0.0"/>
</Constraint>
</Constraints>
</Component>
<Component class="javax.swing.JSeparator" name="jSeparator2">
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
<GridBagConstraints gridX="0" gridY="7" gridWidth="5" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="6" insetsLeft="0" insetsBottom="6" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/>
</Constraint>
</Constraints>
</Component>
<Component class="javax.swing.JLabel" name="labelRunAs">
<Properties>
<Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor">
<ComponentRef name="radioButtonSA"/>
</Property>
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.labelRunAs.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
</Properties>
<AccessibilityProperties>
<Property name="AccessibleContext.accessibleName" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.labelRunAs.AccessibleContext.accessibleName" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
<Property name="AccessibleContext.accessibleDescription" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.labelRunAs.AccessibleContext.accessibleDescription" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
</AccessibilityProperties>
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
<GridBagConstraints gridX="0" gridY="8" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="15" insetsRight="0" anchor="21" weightX="0.0" weightY="0.0"/>
</Constraint>
</Constraints>
</Component>
<Container class="javax.swing.JPanel" name="panelRunAsChoices">
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
<GridBagConstraints gridX="1" gridY="8" gridWidth="0" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="15" insetsRight="0" anchor="21" weightX="0.1" weightY="0.0"/>
</Constraint>
</Constraints>
<Layout class="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout"/>
<SubComponents>
<Component class="javax.swing.JRadioButton" name="radioButtonSA">
<Properties>
<Property name="buttonGroup" type="javax.swing.ButtonGroup" editor="org.netbeans.modules.form.RADComponent$ButtonGroupPropertyEditor">
<ComponentRef name="buttonGroupRunAs"/>
</Property>
<Property name="font" type="java.awt.Font" editor="org.netbeans.modules.form.editors2.FontEditor">
<FontInfo relative="true">
<Font bold="true" component="radioButtonSA" property="font" relativeSize="true" size="0"/>
</FontInfo>
</Property>
<Property name="selected" type="boolean" value="true"/>
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.radioButtonSA.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
</Properties>
<AccessibilityProperties>
<Property name="AccessibleContext.accessibleName" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.radioButtonSA.AccessibleContext.accessibleName" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
<Property name="AccessibleContext.accessibleDescription" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.radioButtonSA.AccessibleContext.accessibleDescription" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
</AccessibilityProperties>
<Events>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="radioButtonSAActionPerformed"/>
</Events>
<AuxValues>
<AuxValue name="generateMnemonicsCode" type="java.lang.Boolean" value="true"/>
</AuxValues>
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
<GridBagConstraints gridX="0" gridY="1" gridWidth="1" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="10" anchor="512" weightX="0.0" weightY="0.0"/>
</Constraint>
</Constraints>
</Component>
<Component class="javax.swing.Box$Filler" name="filler2">
<Properties>
<Property name="maximumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
<Dimension value="[99, 32767]"/>
</Property>
<Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
<Dimension value="[99, 0]"/>
</Property>
<Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
<Dimension value="[99, 0]"/>
</Property>
</Properties>
<AuxValues>
<AuxValue name="classDetails" type="java.lang.String" value="Box.Filler.HorizontalStrut"/>
</AuxValues>
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
<GridBagConstraints gridX="0" gridY="0" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/>
</Constraint>
</Constraints>
</Component>
<Component class="javax.swing.JRadioButton" name="radioButtonWS">
<Properties>
<Property name="buttonGroup" type="javax.swing.ButtonGroup" editor="org.netbeans.modules.form.RADComponent$ButtonGroupPropertyEditor">
<ComponentRef name="buttonGroupRunAs"/>
</Property>
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.radioButtonWS.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
</Properties>
<AccessibilityProperties>
<Property name="AccessibleContext.accessibleName" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.radioButtonWS.AccessibleContext.accessibleName" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
<Property name="AccessibleContext.accessibleDescription" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.radioButtonWS.AccessibleContext.accessibleDescription" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
</AccessibilityProperties>
<Events>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="radioButtonWSActionPerformed"/>
</Events>
<AuxValues>
<AuxValue name="generateMnemonicsCode" type="java.lang.Boolean" value="true"/>
</AuxValues>
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
<GridBagConstraints gridX="1" gridY="1" gridWidth="1" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="10" anchor="512" weightX="0.0" weightY="0.0"/>
</Constraint>
</Constraints>
</Component>
<Component class="javax.swing.Box$Filler" name="filler3">
<Properties>
<Property name="maximumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
<Dimension value="[109, 32767]"/>
</Property>
<Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
<Dimension value="[109, 0]"/>
</Property>
<Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
<Dimension value="[109, 0]"/>
</Property>
</Properties>
<AuxValues>
<AuxValue name="classDetails" type="java.lang.String" value="Box.Filler.HorizontalStrut"/>
</AuxValues>
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
<GridBagConstraints gridX="1" gridY="0" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/>
</Constraint>
</Constraints>
</Component>
<Component class="javax.swing.JRadioButton" name="radioButtonBE">
<Properties>
<Property name="buttonGroup" type="javax.swing.ButtonGroup" editor="org.netbeans.modules.form.RADComponent$ButtonGroupPropertyEditor">
<ComponentRef name="buttonGroupRunAs"/>
</Property>
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.radioButtonBE.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
</Properties>
<AccessibilityProperties>
<Property name="AccessibleContext.accessibleName" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.radioButtonBE.AccessibleContext.accessibleName" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
<Property name="AccessibleContext.accessibleDescription" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.radioButtonBE.AccessibleContext.accessibleDescription" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
</AccessibilityProperties>
<Events>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="radioButtonBEActionPerformed"/>
</Events>
<AuxValues>
<AuxValue name="generateMnemonicsCode" type="java.lang.Boolean" value="true"/>
</AuxValues>
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
<GridBagConstraints gridX="2" gridY="1" gridWidth="1" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="512" weightX="0.0" weightY="0.0"/>
</Constraint>
</Constraints>
</Component>
<Component class="javax.swing.Box$Filler" name="filler4">
<Properties>
<Property name="maximumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
<Dimension value="[95, 32767]"/>
</Property>
<Property name="minimumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
<Dimension value="[95, 0]"/>
</Property>
<Property name="preferredSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
<Dimension value="[95, 0]"/>
</Property>
</Properties>
<AuxValues>
<AuxValue name="classDetails" type="java.lang.String" value="Box.Filler.HorizontalStrut"/>
</AuxValues>
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
<GridBagConstraints gridX="2" gridY="0" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0" weightY="0.0"/>
</Constraint>
</Constraints>
</Component>
</SubComponents>
</Container>
<Component class="javax.swing.JLabel" name="labelSAProps">
<Properties>
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.labelSAProps.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
</Properties>
<AccessibilityProperties>
<Property name="AccessibleContext.accessibleName" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.labelSAProps.AccessibleContext.accessibleName" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
<Property name="AccessibleContext.accessibleDescription" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.labelSAProps.AccessibleContext.accessibleDescription" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
</AccessibilityProperties>
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
<GridBagConstraints gridX="0" gridY="9" gridWidth="5" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="5" insetsRight="0" anchor="512" weightX="0.0" weightY="0.0"/>
</Constraint>
</Constraints>
</Component>
<Component class="javax.swing.JLabel" name="labelWorkDir">
<Properties>
<Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor">
<ComponentRef name="textFieldWorkDir"/>
</Property>
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.labelWorkDir.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
</Properties>
<AccessibilityProperties>
<Property name="AccessibleContext.accessibleName" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.labelWorkDir.AccessibleContext.accessibleName" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
<Property name="AccessibleContext.accessibleDescription" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.labelWorkDir.AccessibleContext.accessibleDescription" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
</AccessibilityProperties>
<AuxValues>
<AuxValue name="generateMnemonicsCode" type="java.lang.Boolean" value="true"/>
</AuxValues>
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
<GridBagConstraints gridX="0" gridY="10" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="7" insetsBottom="0" insetsRight="0" anchor="768" weightX="0.0" weightY="0.0"/>
</Constraint>
</Constraints>
</Component>
<Component class="javax.swing.JTextField" name="textFieldWorkDir">
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
<GridBagConstraints gridX="1" gridY="10" gridWidth="3" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="5" insetsBottom="16" insetsRight="0" anchor="256" weightX="0.1" weightY="0.0"/>
</Constraint>
</Constraints>
</Component>
<Component class="javax.swing.JButton" name="buttonWorkDir">
<Properties>
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.buttonWorkDir.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
</Properties>
<AccessibilityProperties>
<Property name="AccessibleContext.accessibleName" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.buttonWorkDir.AccessibleContext.accessibleName" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
<Property name="AccessibleContext.accessibleDescription" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.buttonWorkDir.AccessibleContext.accessibleDescription" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
</AccessibilityProperties>
<Events>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="buttonWorkDirActionPerformed"/>
</Events>
<AuxValues>
<AuxValue name="generateMnemonicsCode" type="java.lang.Boolean" value="true"/>
</AuxValues>
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
<GridBagConstraints gridX="4" gridY="10" gridWidth="1" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="5" insetsBottom="0" insetsRight="0" anchor="256" weightX="0.0" weightY="0.0"/>
</Constraint>
</Constraints>
</Component>
<Component class="javax.swing.JLabel" name="labelWSBAProps">
<Properties>
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.labelWSBAProps.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
</Properties>
<AccessibilityProperties>
<Property name="AccessibleContext.accessibleName" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.labelWSBAProps.AccessibleContext.accessibleName" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
<Property name="AccessibleContext.accessibleDescription" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.labelWSBAProps.AccessibleContext.accessibleDescription" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
</AccessibilityProperties>
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
<GridBagConstraints gridX="0" gridY="11" gridWidth="5" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="5" insetsRight="0" anchor="512" weightX="0.0" weightY="0.0"/>
</Constraint>
</Constraints>
</Component>
<Component class="javax.swing.JLabel" name="labelWidth">
<Properties>
<Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor">
<ComponentRef name="textFieldWidth"/>
</Property>
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.labelWidth.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
</Properties>
<AccessibilityProperties>
<Property name="AccessibleContext.accessibleName" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.labelWidth.AccessibleContext.accessibleName" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
<Property name="AccessibleContext.accessibleDescription" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.labelWidth.AccessibleContext.accessibleDescription" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
</AccessibilityProperties>
<AuxValues>
<AuxValue name="generateMnemonicsCode" type="java.lang.Boolean" value="true"/>
</AuxValues>
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
<GridBagConstraints gridX="0" gridY="12" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="15" insetsBottom="0" insetsRight="0" anchor="512" weightX="0.0" weightY="0.0"/>
</Constraint>
</Constraints>
</Component>
<Component class="javax.swing.JTextField" name="textFieldWidth">
<Properties>
<Property name="columns" type="int" value="8"/>
</Properties>
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
<GridBagConstraints gridX="1" gridY="12" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="5" insetsBottom="5" insetsRight="0" anchor="512" weightX="0.0" weightY="0.0"/>
</Constraint>
</Constraints>
</Component>
<Component class="javax.swing.JLabel" name="labelHeight">
<Properties>
<Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor">
<ComponentRef name="textFieldHeight"/>
</Property>
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.labelHeight.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
</Properties>
<AccessibilityProperties>
<Property name="AccessibleContext.accessibleName" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.labelHeight.AccessibleContext.accessibleName" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
<Property name="AccessibleContext.accessibleDescription" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.labelHeight.AccessibleContext.accessibleDescription" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
</AccessibilityProperties>
<AuxValues>
<AuxValue name="generateMnemonicsCode" type="java.lang.Boolean" value="true"/>
</AuxValues>
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
<GridBagConstraints gridX="2" gridY="12" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="20" insetsBottom="0" insetsRight="0" anchor="512" weightX="0.0" weightY="0.0"/>
</Constraint>
</Constraints>
</Component>
<Component class="javax.swing.JTextField" name="textFieldHeight">
<Properties>
<Property name="columns" type="int" value="8"/>
</Properties>
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
<GridBagConstraints gridX="3" gridY="12" gridWidth="2" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="5" insetsBottom="5" insetsRight="0" anchor="512" weightX="0.0" weightY="0.0"/>
</Constraint>
</Constraints>
</Component>
<Component class="javax.swing.JLabel" name="labelWebPage">
<Properties>
<Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor">
<ComponentRef name="textFieldWebPage"/>
</Property>
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.labelWebPage.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
</Properties>
<AccessibilityProperties>
<Property name="AccessibleContext.accessibleName" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.labelWebPage.AccessibleContext.accessibleName" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
<Property name="AccessibleContext.accessibleDescription" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.labelWebPage.AccessibleContext.accessibleDescription" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
</AccessibilityProperties>
<AuxValues>
<AuxValue name="generateMnemonicsCode" type="java.lang.Boolean" value="true"/>
</AuxValues>
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
<GridBagConstraints gridX="0" gridY="13" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="15" insetsBottom="0" insetsRight="0" anchor="512" weightX="0.0" weightY="0.0"/>
</Constraint>
</Constraints>
</Component>
<Component class="javax.swing.JTextField" name="textFieldWebPage">
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
<GridBagConstraints gridX="1" gridY="13" gridWidth="3" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="5" insetsBottom="0" insetsRight="0" anchor="256" weightX="0.1" weightY="0.0"/>
</Constraint>
</Constraints>
</Component>
<Component class="javax.swing.JButton" name="buttonWebPage">
<Properties>
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.buttonWebPage.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
</Properties>
<AccessibilityProperties>
<Property name="AccessibleContext.accessibleName" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.buttonWebPage.AccessibleContext.accessibleName" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
<Property name="AccessibleContext.accessibleDescription" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.buttonWebPage.AccessibleContext.accessibleDescription" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
</AccessibilityProperties>
<Events>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="buttonWebPageActionPerformed"/>
</Events>
<AuxValues>
<AuxValue name="generateMnemonicsCode" type="java.lang.Boolean" value="true"/>
</AuxValues>
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
<GridBagConstraints gridX="4" gridY="13" gridWidth="1" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="5" insetsBottom="0" insetsRight="0" anchor="256" weightX="0.0" weightY="0.0"/>
</Constraint>
</Constraints>
</Component>
<Component class="javax.swing.JLabel" name="labelWebPageRemark">
<Properties>
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.labelWebPageRemark.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
</Properties>
<AccessibilityProperties>
<Property name="AccessibleContext.accessibleName" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.labelWebPageRemark.AccessibleContext.accessibleName" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
<Property name="AccessibleContext.accessibleDescription" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.labelWebPageRemark.AccessibleContext.accessibleDescription" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
</AccessibilityProperties>
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
<GridBagConstraints gridX="1" gridY="14" gridWidth="4" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="5" insetsBottom="8" insetsRight="0" anchor="512" weightX="0.0" weightY="0.0"/>
</Constraint>
</Constraints>
</Component>
<Component class="javax.swing.JLabel" name="labelWebBrowser">
<Properties>
<Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor">
<ComponentRef name="comboBoxWebBrowser"/>
</Property>
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.labelWebBrowser.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
</Properties>
<AccessibilityProperties>
<Property name="AccessibleContext.accessibleName" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.labelWebBrowser.AccessibleContext.accessibleName" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
<Property name="AccessibleContext.accessibleDescription" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.labelWebBrowser.AccessibleContext.accessibleDescription" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
</AccessibilityProperties>
<AuxValues>
<AuxValue name="generateMnemonicsCode" type="java.lang.Boolean" value="true"/>
</AuxValues>
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
<GridBagConstraints gridX="0" gridY="15" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="15" insetsBottom="0" insetsRight="0" anchor="512" weightX="0.0" weightY="0.0"/>
</Constraint>
</Constraints>
</Component>
<Component class="javax.swing.JComboBox" name="comboBoxWebBrowser">
<AccessibilityProperties>
<Property name="AccessibleContext.accessibleName" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.comboBoxWebBrowser.AccessibleContext.accessibleName" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
<Property name="AccessibleContext.accessibleDescription" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.comboBoxWebBrowser.AccessibleContext.accessibleDescription" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
</AccessibilityProperties>
<Events>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="comboBoxWebBrowserActionPerformed"/>
</Events>
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
<GridBagConstraints gridX="1" gridY="15" gridWidth="3" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="5" insetsBottom="5" insetsRight="0" anchor="256" weightX="0.1" weightY="0.0"/>
</Constraint>
</Constraints>
</Component>
<Component class="javax.swing.JButton" name="buttonWebBrowser">
<Properties>
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.buttonWebBrowser.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
</Properties>
<AccessibilityProperties>
<Property name="AccessibleContext.accessibleName" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.buttonWebBrowser.AccessibleContext.accessibleName" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
<Property name="AccessibleContext.accessibleDescription" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.buttonWebBrowser.AccessibleContext.accessibleDescription" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
</AccessibilityProperties>
<Events>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="buttonWebBrowserActionPerformed"/>
</Events>
<AuxValues>
<AuxValue name="generateMnemonicsCode" type="java.lang.Boolean" value="true"/>
</AuxValues>
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
<GridBagConstraints gridX="4" gridY="15" gridWidth="1" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="5" insetsBottom="0" insetsRight="0" anchor="256" weightX="0.0" weightY="0.0"/>
</Constraint>
</Constraints>
</Component>
<Component class="javax.swing.JButton" name="buttonPreloaderDefault">
<Properties>
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.buttonPreloaderDefault.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
<Property name="enabled" type="boolean" value="false"/>
</Properties>
<AccessibilityProperties>
<Property name="AccessibleContext.accessibleName" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.buttonPreloaderDefault.AccessibleContext.accessibleName" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
<Property name="AccessibleContext.accessibleDescription" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.buttonPreloaderDefault.AccessibleContext.accessibleDescription" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
</AccessibilityProperties>
<Events>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="buttonPreloaderDefaultActionPerformed"/>
</Events>
<AuxValues>
<AuxValue name="generateMnemonicsCode" type="java.lang.Boolean" value="true"/>
</AuxValues>
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
<GridBagConstraints gridX="4" gridY="6" gridWidth="1" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="5" insetsBottom="0" insetsRight="0" anchor="256" weightX="0.0" weightY="0.0"/>
</Constraint>
</Constraints>
</Component>
<Component class="javax.swing.JLabel" name="labelRuntimePlatform">
<Properties>
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.labelRuntimePlatform.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
</Properties>
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
<GridBagConstraints gridX="0" gridY="0" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="512" weightX="0.0" weightY="0.0"/>
</Constraint>
</Constraints>
</Component>
<Component class="javax.swing.JComboBox" name="comboBoxRuntimePlatform">
<Properties>
<Property name="model" type="javax.swing.ComboBoxModel" editor="org.netbeans.modules.form.editors2.ComboBoxModelEditor">
<StringArray count="4">
<StringItem index="0" value="Item 1"/>
<StringItem index="1" value="Item 2"/>
<StringItem index="2" value="Item 3"/>
<StringItem index="3" value="Item 4"/>
</StringArray>
</Property>
</Properties>
<Events>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="comboBoxRuntimePlatformActionPerformed"/>
</Events>
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
<GridBagConstraints gridX="1" gridY="0" gridWidth="3" gridHeight="1" fill="2" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="5" insetsBottom="5" insetsRight="0" anchor="512" weightX="0.0" weightY="0.0"/>
</Constraint>
</Constraints>
</Component>
<Component class="javax.swing.JButton" name="buttonManagePlatforms">
<Properties>
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
<ResourceString bundle="org/netbeans/modules/javafx2/project/ui/Bundle.properties" key="JFXRunPanel.buttonManagePlatforms.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
</Property>
</Properties>
<Events>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="buttonManagePlatformsActionPerformed"/>
</Events>
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
<GridBagConstraints gridX="4" gridY="0" gridWidth="1" gridHeight="1" fill="0" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="5" insetsBottom="0" insetsRight="0" anchor="512" weightX="0.0" weightY="0.0"/>
</Constraint>
</Constraints>
</Component>
</SubComponents>
</Container>
<Component class="javax.swing.Box$Filler" name="filler1">
<Properties>
<Property name="maximumSize" type="java.awt.Dimension" editor="org.netbeans.beaninfo.editors.DimensionEditor">
<Dimension value="[32767, 32767]"/>
</Property>
</Properties>
<AuxValues>
<AuxValue name="classDetails" type="java.lang.String" value="Box.Filler.Glue"/>
</AuxValues>
<Constraints>
<Constraint layoutClass="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout" value="org.netbeans.modules.form.compat2.layouts.DesignGridBagLayout$GridBagConstraintsDescription">
<GridBagConstraints gridX="0" gridY="4" gridWidth="1" gridHeight="0" fill="3" ipadX="0" ipadY="0" insetsTop="0" insetsLeft="0" insetsBottom="0" insetsRight="0" anchor="10" weightX="0.0" weightY="0.1"/>
</Constraint>
</Constraints>
</Component>
</SubComponents>
</Form>
| {
"pile_set_name": "Github"
} |
/* mbed Microcontroller Library
* Copyright (c) 2006-2013 ARM Limited
*
* 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 writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef MBED_TICKER_H
#define MBED_TICKER_H
#include "TimerEvent.h"
#include "FunctionPointer.h"
namespace mbed {
/** A Ticker is used to call a function at a recurring interval
*
* You can use as many seperate Ticker objects as you require.
*
* Example:
* @code
* // Toggle the blinking led after 5 seconds
*
* #include "mbed.h"
*
* Ticker timer;
* DigitalOut led1(LED1);
* DigitalOut led2(LED2);
*
* int flip = 0;
*
* void attime() {
* flip = !flip;
* }
*
* int main() {
* timer.attach(&attime, 5);
* while(1) {
* if(flip == 0) {
* led1 = !led1;
* } else {
* led2 = !led2;
* }
* wait(0.2);
* }
* }
* @endcode
*/
class Ticker : public TimerEvent {
public:
/** Attach a function to be called by the Ticker, specifiying the interval in seconds
*
* @param fptr pointer to the function to be called
* @param t the time between calls in seconds
*/
void attach(void (*fptr)(void), float t) {
attach_us(fptr, t * 1000000.0f);
}
/** Attach a member function to be called by the Ticker, specifiying the interval in seconds
*
* @param tptr pointer to the object to call the member function on
* @param mptr pointer to the member function to be called
* @param t the time between calls in seconds
*/
template<typename T>
void attach(T* tptr, void (T::*mptr)(void), float t) {
attach_us(tptr, mptr, t * 1000000.0f);
}
/** Attach a function to be called by the Ticker, specifiying the interval in micro-seconds
*
* @param fptr pointer to the function to be called
* @param t the time between calls in micro-seconds
*/
void attach_us(void (*fptr)(void), timestamp_t t) {
_function.attach(fptr);
setup(t);
}
/** Attach a member function to be called by the Ticker, specifiying the interval in micro-seconds
*
* @param tptr pointer to the object to call the member function on
* @param mptr pointer to the member function to be called
* @param t the time between calls in micro-seconds
*/
template<typename T>
void attach_us(T* tptr, void (T::*mptr)(void), timestamp_t t) {
_function.attach(tptr, mptr);
setup(t);
}
virtual ~Ticker() {
detach();
}
/** Detach the function
*/
void detach();
protected:
void setup(timestamp_t t);
virtual void handler();
protected:
timestamp_t _delay; /**< Time delay (in microseconds) for re-setting the multi-shot callback. */
FunctionPointer _function; /**< Callback. */
};
} // namespace mbed
#endif
| {
"pile_set_name": "Github"
} |
<!-- EditorConfig -->
# mrm-task-editorconfig
[Mrm](https://github.com/sapegin/mrm) task that adds [EditorConfig](http://editorconfig.org/).
## What it does
- Creates `.editorconfig`.
## Usage
```
npm install -g mrm mrm-task-editorconfig
mrm editorconfig
```
## Options
See [Mrm docs](../../docs/Getting_started.md) for more details.
### `indent` (default: `tab`)
Indentation, `tab` or number of spaces.
## Changelog
The changelog can be found in [CHANGELOG.md](CHANGELOG.md).
## Contributing
Everyone is welcome to contribute. Please take a moment to review the [contributing guidelines](../../Contributing.md).
## Authors and license
[Artem Sapegin](https://sapegin.me) and [contributors](https://github.com/sapegin/mrm/graphs/contributors).
MIT License, see the included [License.md](License.md) file.
| {
"pile_set_name": "Github"
} |
๏ปฟ<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{66190530-B4E3-4BF0-94B4-DFE52D15E50F}</ProjectGuid>
<OutputType>Exe</OutputType>
<NoStandardLibraries>false</NoStandardLibraries>
<AssemblyName>Client</AssemblyName>
<RootNamespace>Microsoft.WCF.Documentation</RootNamespace>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileUpgradeFlags>
</FileUpgradeFlags>
<UpgradeBackupLocation>
</UpgradeBackupLocation>
<OldToolsVersion>2.0</OldToolsVersion>
<PublishUrl>publish\</PublishUrl>
<Install>true</Install>
<InstallFrom>Disk</InstallFrom>
<UpdateEnabled>false</UpdateEnabled>
<UpdateMode>Foreground</UpdateMode>
<UpdateInterval>7</UpdateInterval>
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
<UpdatePeriodically>false</UpdatePeriodically>
<UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<IsWebBootstrapper>false</IsWebBootstrapper>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>.\bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>.\bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Configuration" />
<Reference Include="System.Data" />
<Reference Include="System.Runtime.Serialization" />
<Reference Include="System.ServiceModel" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Client.cs" />
<Compile Include="ProxyCode.cs" />
</ItemGroup>
<ItemGroup>
<None Include="app.config" />
<None Include="Client.exe.config">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>
<ItemGroup>
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
<Install>false</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1</ProductName>
<Install>true</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
<Visible>False</Visible>
<ProductName>Windows Installer 3.1</ProductName>
<Install>true</Install>
</BootstrapperPackage>
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" />
<ProjectExtensions>
<VisualStudio AllowExistingFolder="true" />
</ProjectExtensions>
<PropertyGroup>
<PreBuildEvent>
</PreBuildEvent>
</PropertyGroup>
</Project> | {
"pile_set_name": "Github"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.